(function(n,t){function o(n){return!!(""===n||n&&n.charCodeAt&&n.substr)}function u(n){return v?v(n):"[object Array]"===y.call(n)}function s(n){return"[object Object]"===y.call(n)}function h(n,t){var i,n=n||{},t=t||{};for(i in t)t.hasOwnProperty(i)&&null==n[i]&&(n[i]=t[i]);return n}function r(n,t,i){var u=[],r,f;if(!n)return u;if(a&&n.map===a)return n.map(t,i);for(r=0,f=n.length;r<f;r++)u[r]=t.call(i,n[r],r,n);return u}function f(n,t){return n=Math.round(Math.abs(n)),isNaN(n)?t:n}function l(n){var t=i.settings.currency.format;return"function"==typeof n&&(n=n()),o(n)&&n.match("%v")?{pos:n,neg:n.replace("-","").replace("%v","-%v"),zero:n}:!n||!n.pos||!n.pos.match("%v")?o(t)?i.settings.currency.format={pos:t,neg:t.replace("%v","-%v"),zero:t}:t:n}var i={version:"0.3.2",settings:{currency:{symbol:"$",format:"%s%v",decimal:".",thousand:",",precision:2,grouping:3},number:{precision:0,grouping:3,thousand:",",decimal:"."}}},a=Array.prototype.map,v=Array.isArray,y=Object.prototype.toString,e=i.unformat=i.parse=function(n,t){if(u(n))return r(n,function(n){return e(n,t)});if(n=n||0,"number"==typeof n)return n;var t=t||".",i=RegExp("[^0-9-"+t+"]",["g"]),i=parseFloat((""+n).replace(/\((.*)\)/,"-$1").replace(i,"").replace(t,"."));return isNaN(i)?0:i},p=i.toFixed=function(n,t){var t=f(t,i.settings.number.precision),r=Math.pow(10,t);return(Math.round(i.unformat(n)*r)/r).toFixed(t)},c=i.formatNumber=function(n,t,o,l){if(u(n))return r(n,function(n){return c(n,t,o,l)});var n=e(n),a=h(s(t)?t:{precision:t,thousand:o,decimal:l},i.settings.number),y=f(a.precision),b=0>n?"-":"",v=parseInt(p(Math.abs(n||0),y),10)+"",w=3<v.length?v.length%3:0;return b+(w?v.substr(0,w)+a.thousand:"")+v.substr(w).replace(/(\d{3})(?=\d)/g,"$1"+a.thousand)+(y?a.decimal+p(Math.abs(n),y).split(".")[1]:"")},w=i.formatMoney=function(n,t,o,a,v,y){if(u(n))return r(n,function(n){return w(n,t,o,a,v,y)});var n=e(n),p=h(s(t)?t:{symbol:t,precision:o,thousand:a,decimal:v,format:y},i.settings.currency),b=l(p.format);return(0<n?b.pos:0>n?b.neg:b.zero).replace("%s",p.symbol).replace("%v",c(Math.abs(n),f(p.precision),p.thousand,p.decimal))};i.formatColumn=function(n,t,a,v,y,p){if(!n)return[];var w=h(s(t)?t:{symbol:t,precision:a,thousand:v,decimal:y,format:p},i.settings.currency),b=l(w.format),d=b.pos.indexOf("%s")<b.pos.indexOf("%v")?!0:!1,k=0,n=r(n,function(n){return u(n)?i.formatColumn(n,w):(n=e(n),n=(0<n?b.pos:0>n?b.neg:b.zero).replace("%s",w.symbol).replace("%v",c(Math.abs(n),f(w.precision),w.thousand,w.decimal)),n.length>k&&(k=n.length),n)});return r(n,function(n){return o(n)&&n.length<k?d?n.replace(w.symbol,w.symbol+Array(k-n.length+1).join(" ")):Array(k-n.length+1).join(" ")+n:n})};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=i),exports.accounting=i):"function"==typeof define&&define.amd?define([],function(){return i}):(i.noConflict=function(r){return function(){return n.accounting=r,i.noConflict=t,i}}(n.accounting),n.accounting=i)})(this);var _gaq=_gaq||[];_gaq.push(["_setAccount",appSettings.trackingID]);_gaq.push(["_gat._anonymizeIp"]);_gaq.push(["_trackPageview"]),function(){const n=document.createElement("script");n.type="text/javascript";n.async=!0;n.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";const t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(n,t)}();typeof jwplayer=="undefined"&&(jwplayer=function(n){if(jwplayer.api)return jwplayer.api.selectPlayer(n)},jwplayer.version="6.1.2972",jwplayer.vid=document.createElement("video"),jwplayer.audio=document.createElement("audio"),jwplayer.source=document.createElement("source"),function(n){function l(n){if(t.exists(n)){var i=n.indexOf("://"),r=n.indexOf("?");return i>0&&(r<0||r>i)}}function i(n){return function(){return e(n)}}var u=document,s=window,h=navigator,r="undefined",c="string",f="object",t=n.utils=function(){},e,o;t.exists=function(n){switch(typeof n){case c:return n.length>0;case f:return n!==null;case r:return!1}return!0};t.styleDimension=function(n){return n+(n.toString().indexOf("%")>0?"":"px")};t.getAbsolutePath=function(n,i){var e,h,r,o,s,f;if(t.exists(i)||(i=u.location.href),!t.exists(n))return undefined;if(l(n))return n;for(e=i.substring(0,i.indexOf("://")+3),h=i.substring(e.length,i.indexOf("/",e.length+1)),n.indexOf("/")===0?r=n.split("/"):(o=i.split("?")[0],o=o.substring(e.length+h.length+1,o.lastIndexOf("/")),r=o.split("/").concat(n.split("/"))),s=[],f=0;f<r.length;f++)if(r[f]&&t.exists(r[f])&&r[f]!=".")r[f]==".."?s.pop():s.push(r[f]);else continue;return e+h+"/"+s.join("/")};t.extend=function(){var n=t.extend.arguments,i,r;if(n.length>1){for(i=1;i<n.length;i++)for(r in n[i])try{t.exists(n[i][r])&&(n[0][r]=n[i][r])}catch(u){}return n[0]}return null};t.log=function(n,t){typeof console!=r&&typeof console.log!=r&&(t?console.log(n,t):console.log(n))};e=t.userAgentMatch=function(n){var t=h.userAgent.toLowerCase();return t.match(n)!==null};t.isIE=i(/msie/i);t.isFF=i(/firefox/i);t.isChrome=i(/chrome/i);t.isIOS=i(/iP(hone|ad|od)/i);t.isIPod=i(/iP(hone|od)/i);t.isIPad=i(/iPad/i);t.isAndroid=function(n){return n?e(new RegExp("android.*"+n,"i")):e(/android/i)};t.isMobile=function(){return t.isIOS()||t.isAndroid()};t.saveCookie=function(n,t){u.cookie="jwplayer."+n+"="+t+"; path=/"};t.getCookies=function(){for(var n,i={},r=u.cookie.split("; "),t=0;t<r.length;t++)n=r[t].split("="),n[0].indexOf("jwplayer.")==0&&(i[n[0].substring(9,n[0].length)]=n[1]);return i};t.typeOf=function(n){var t=typeof n;return t==="object"?n?n instanceof Array?"array":t:"null":t};t.translateEventResponse=function(i,r){var u=t.extend({},r),e,o;i!=n.events.JWPLAYER_FULLSCREEN||u.fullscreen?typeof u.data==f?(u=t.extend(u,u.data),delete u.data):typeof u.metadata==f&&t.deepReplaceKeyName(u.metadata,["__dot__","__spc__","__dsh__"],["."," ","-"]):(u.fullscreen=u.message=="true"?!0:!1,delete u.message);e=["position","duration","offset"];for(o in e)u[e[o]]&&(u[e[o]]=Math.round(u[e[o]]*1e3)/1e3);return u};t.flashVersion=function(){if(t.isAndroid())return 0;var i=h.plugins,n;if(i!=r&&(n=i["Shockwave Flash"],n))return parseInt(n.description.replace(/\D+(\d+)\..*/,"$1"));if(typeof s.ActiveXObject!=r)try{if(n=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),n)return parseInt(n.GetVariable("$version").split(" ")[1].split(",")[0])}catch(u){}return 0};t.getScriptPath=function(n){for(var t,r=u.getElementsByTagName("script"),i=0;i<r.length;i++)if(t=r[i].src,t&&t.indexOf(n)>=0)return t.substr(0,t.indexOf(n));return""};t.deepReplaceKeyName=function(t,i,r){var e,s,h,o,u;switch(n.utils.typeOf(t)){case"array":for(u=0;u<t.length;u++)t[u]=n.utils.deepReplaceKeyName(t[u],i,r);break;case f:for(e in t){if(i instanceof Array&&r instanceof Array)if(i.length!=r.length)continue;else s=i,h=r;else s=[i],h=[r];for(o=e,u=0;u<s.length;u++)o=o.replace(new RegExp(i[u],"g"),r[u]);t[o]=n.utils.deepReplaceKeyName(t[e],i,r);e!=o&&delete t[e]}}return t};o=t.pluginPathType={ABSOLUTE:0,RELATIVE:1,CDN:2};t.getPluginPathType=function(n){var i,u,r;if(typeof n==c)return(n=n.split("?")[0],i=n.indexOf("://"),i>0)?o.ABSOLUTE:(u=n.indexOf("/"),r=t.extension(n),i<0&&u<0&&(!r||!isNaN(r)))?o.CDN:o.RELATIVE};t.getPluginName=function(n){return n.replace(/^(.*\/)?([^-]*)-?.*\.(swf|js)$/,"$2")};t.getPluginVersion=function(n){return n.replace(/[^-]*-?([^\.]*).*$/,"$1")};t.isYouTube=function(n){return n.indexOf("youtube.com")>-1||n.indexOf("youtu.be")>-1};t.isRtmp=function(n,t){return n.indexOf("rtmp")==0||t=="rtmp"};t.foreach=function(n,t){for(var i in n)n.hasOwnProperty(i)&&t(i)};t.isHTTPS=function(){return s.location.href.indexOf("https")==0}}(jwplayer),function(n){var i="video/",e="audio/",f="mp4",c="webm",o="ogg",s="aac",l="vorbis",t={mp4:i+f,vorbis:e+o,ogg:i+o,webm:i+c,aac:e+f,mp3:e+"mpeg",hls:"application/vnd.apple.mpegurl"},h={mp4:t[f],f4v:t[f],m4v:t[f],mov:t[f],m4a:t[s],f4a:t[s],aac:t[s],mp3:t["mp3"],ogv:t[o],ogg:t[l],oga:t[l],webm:t[c],m3u8:t.hls},i="video",a={flv:i,f4v:i,mov:i,m4a:i,m4v:i,mp4:i,aac:i,f4a:i,mp3:"sound",smil:"rtmp",m3u8:"hls"},r=n.extensionmap={};for(var u in h)r[u]={html5:h[u]};for(u in a)r[u]||(r[u]={}),r[u].flash=a[u];r.types=t;r.mimeType=function(n){for(var i in t)if(t[i]==n)return i};r.extType=function(n){return r.mimeType(h[n])}}(jwplayer.utils),function(n){var t=n.loaderstatus={NEW:0,LOADING:1,ERROR:2,COMPLETE:3},i=document;n.scriptloader=function(r){function s(){u=t.ERROR;e.sendEvent(f.ERROR)}function o(){u=t.COMPLETE;e.sendEvent(f.COMPLETE)}var u=t.NEW,f=jwplayer.events,e=new f.eventdispatcher;n.extend(this,e);this.load=function(){var h=n.scriptloader.loaders[r],e;if(h&&(h.getStatus()==t.NEW||h.getStatus()==t.LOADING)){h.addEventListener(f.ERROR,s);h.addEventListener(f.COMPLETE,o);return}n.scriptloader.loaders[r]=this;u==t.NEW&&(u=t.LOADING,e=i.createElement("script"),e.addEventListener?(e.onload=o,e.onerror=s):e.readyState&&(e.onreadystatechange=function(){(e.readyState=="loaded"||e.readyState=="complete")&&o()}),i.getElementsByTagName("head")[0].appendChild(e),e.src=r)};this.getStatus=function(){return u}};n.scriptloader.loaders={}}(jwplayer.utils),function(n){n.trim=function(n){return n.replace(/^\s*/,"").replace(/\s*$/,"")};n.pad=function(n,t,i){for(i||(i="0");n.length<t;)n=i+n;return n};n.xmlAttribute=function(n,t){for(var i=0;i<n.attributes.length;i++)if(n.attributes[i].name&&n.attributes[i].name.toLowerCase()==t.toLowerCase())return n.attributes[i].value.toString();return""};n.extension=function(n){return!n||n.substr(0,4)=="rtmp"?"":(n=n.substring(n.lastIndexOf("/")+1,n.length).split("?")[0].split("#")[0],n.lastIndexOf(".")>-1?n.substr(n.lastIndexOf(".")+1,n.length).toLowerCase():void 0)};n.stringToColor=function(n){return n=n.replace(/(#|0x)?([0-9A-F]{3,6})$/gi,"$2"),n.length==3&&(n=n.charAt(0)+n.charAt(0)+n.charAt(1)+n.charAt(1)+n.charAt(2)+n.charAt(2)),parseInt(n,16)}}(jwplayer.utils),function(n){var t="invalid",i="36QXq4W@GSBV^teR";n.key=function(r){function o(i){n.exists(i)||(i="");try{i=s(i);var r=i.split("/");u=r[0];u?n.key.valid.indexOf(u)<0&&(u=t):u="free";e=r[1];r[2]&&parseInt(r[2])>0&&(f=new Date,f.setTime(String(r[2])))}catch(o){u=t}}function s(t){return n.tea.decrypt(t,i)}var u,e,f;this.edition=function(){return f&&f.getTime()<(new Date).getTime()?t:u};this.token=function(){return e};o(r)};n.key.valid=["free","pro"]}(jwplayer.utils),function(n){var t=n.tea={},r,i;t.encrypt=function(n,u){var f,e,v;if(n.length==0)return"";f=t.strToLongs(i.encode(n));f.length<=1&&(f[1]=0);for(var y=t.strToLongs(i.encode(u).slice(0,16)),o=f.length,s=f[o-1],h=f[0],l,a,p=Math.floor(6+52/o),c=0;p-->0;)for(c+=2654435769,a=c>>>2&3,e=0;e<o;e++)h=f[(e+1)%o],l=(s>>>5^h<<2)+(h>>>3^s<<4)^(c^h)+(y[e&3^a]^s),s=f[e]+=l;return v=t.longsToStr(f),r.encode(v)};t.decrypt=function(n,u){var f,l;if(n.length==0)return"";for(var e=t.strToLongs(r.decode(n)),p=t.strToLongs(i.encode(u).slice(0,16)),o=e.length,s=e[o-1],h=e[0],a=2654435769,v,y,w=Math.floor(6+52/o),c=w*a;c!=0;){for(y=c>>>2&3,f=o-1;f>=0;f--)s=e[f>0?f-1:o-1],v=(s>>>5^h<<2)+(h>>>3^s<<4)^(c^h)+(p[f&3^y]^s),h=e[f]-=v;c-=a}return l=t.longsToStr(e),l=l.replace(/\0+$/,""),i.decode(l)};t.strToLongs=function(n){for(var i=new Array(Math.ceil(n.length/4)),t=0;t<i.length;t++)i[t]=n.charCodeAt(t*4)+(n.charCodeAt(t*4+1)<<8)+(n.charCodeAt(t*4+2)<<16)+(n.charCodeAt(t*4+3)<<24);return i};t.longsToStr=function(n){for(var i=new Array(n.length),t=0;t<n.length;t++)i[t]=String.fromCharCode(n[t]&255,n[t]>>>8&255,n[t]>>>16&255,n[t]>>>24&255);return i.join("")};r={};r.code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(n,t){t=typeof t=="undefined"?!1:t;var c,l,a,e,v,y,p,w,b=[],s="",u,f,h,o=r.code;if(f=t?i.encode(n):n,u=f.length%3,u>0)while(u++<3)s+="=",f+="\0";for(u=0;u<f.length;u+=3)c=f.charCodeAt(u),l=f.charCodeAt(u+1),a=f.charCodeAt(u+2),e=c<<16|l<<8|a,v=e>>18&63,y=e>>12&63,p=e>>6&63,w=e&63,b[u/3]=o.charAt(v)+o.charAt(y)+o.charAt(p)+o.charAt(w);return h=b.join(""),h.slice(0,h.length-s.length)+s};r.decode=function(n,t){var s,c,y,p,w,l,a,h,e,v,f,o,u;for(t=typeof t=="undefined"?!1:t,e=[],o=r.code,f=t?i.decode(n):n,u=0;u<f.length;u+=4)p=o.indexOf(f.charAt(u)),w=o.indexOf(f.charAt(u+1)),l=o.indexOf(f.charAt(u+2)),a=o.indexOf(f.charAt(u+3)),h=p<<18|w<<12|l<<6|a,s=h>>>16&255,c=h>>>8&255,y=h&255,e[u/4]=String.fromCharCode(s,c,y),a==64&&(e[u/4]=String.fromCharCode(s,c)),l==64&&(e[u/4]=String.fromCharCode(s));return v=e.join(""),t?i.decode(v):v};i={};i.encode=function(n){var t=n.replace(/[\u0080-\u07ff]/g,function(n){var t=n.charCodeAt(0);return String.fromCharCode(192|t>>6,128|t&63)});return t.replace(/[\u0800-\uffff]/g,function(n){var t=n.charCodeAt(0);return String.fromCharCode(224|t>>12,128|t>>6&63,128|t&63)})};i.decode=function(n){var t=n.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(n){var t=(n.charCodeAt(0)&15)<<12|(n.charCodeAt(1)&63)<<6|n.charCodeAt(2)&63;return String.fromCharCode(t)});return t.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(n){var t=(n.charCodeAt(0)&31)<<6|n.charCodeAt(1)&63;return String.fromCharCode(t)})}}(jwplayer.utils),function(n){n.events={COMPLETE:"COMPLETE",ERROR:"ERROR",API_READY:"jwplayerAPIReady",JWPLAYER_READY:"jwplayerReady",JWPLAYER_FULLSCREEN:"jwplayerFullscreen",JWPLAYER_RESIZE:"jwplayerResize",JWPLAYER_ERROR:"jwplayerError",JWPLAYER_MEDIA_BEFOREPLAY:"jwplayerMediaBeforePlay",JWPLAYER_MEDIA_BEFORECOMPLETE:"jwplayerMediaBeforeComplete",JWPLAYER_COMPONENT_SHOW:"jwplayerComponentShow",JWPLAYER_COMPONENT_HIDE:"jwplayerComponentHide",JWPLAYER_MEDIA_BUFFER:"jwplayerMediaBuffer",JWPLAYER_MEDIA_BUFFER_FULL:"jwplayerMediaBufferFull",JWPLAYER_MEDIA_ERROR:"jwplayerMediaError",JWPLAYER_MEDIA_LOADED:"jwplayerMediaLoaded",JWPLAYER_MEDIA_COMPLETE:"jwplayerMediaComplete",JWPLAYER_MEDIA_SEEK:"jwplayerMediaSeek",JWPLAYER_MEDIA_TIME:"jwplayerMediaTime",JWPLAYER_MEDIA_VOLUME:"jwplayerMediaVolume",JWPLAYER_MEDIA_META:"jwplayerMediaMeta",JWPLAYER_MEDIA_MUTE:"jwplayerMediaMute",JWPLAYER_MEDIA_LEVELS:"jwplayerMediaLevels",JWPLAYER_MEDIA_LEVEL_CHANGED:"jwplayerMediaLevelChanged",JWPLAYER_CAPTIONS_CHANGED:"jwplayerCaptionsChanged",JWPLAYER_CAPTIONS_LIST:"jwplayerCaptionsList",JWPLAYER_PLAYER_STATE:"jwplayerPlayerState",state:{BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"},JWPLAYER_PLAYLIST_LOADED:"jwplayerPlaylistLoaded",JWPLAYER_PLAYLIST_ITEM:"jwplayerPlaylistItem",JWPLAYER_PLAYLIST_COMPLETE:"jwplayerPlaylistComplete",JWPLAYER_DISPLAY_CLICK:"jwplayerViewClick",JWPLAYER_CONTROLS:"jwplayerViewControls",JWPLAYER_INSTREAM_CLICK:"jwplayerInstreamClicked",JWPLAYER_INSTREAM_DESTROYED:"jwplayerInstreamDestroyed"}}(jwplayer),function(n){var t=jwplayer.utils;n.eventdispatcher=function(n,i){var f=n,e=i,r,u;this.resetEventListeners=function(){r={};u=[]};this.resetEventListeners();this.addEventListener=function(n,i,u){try{t.exists(r[n])||(r[n]=[]);t.typeOf(i)=="string"&&(i=new Function("return "+i)());r[n].push({listener:i,count:u})}catch(f){t.log("error",f)}return!1};this.removeEventListener=function(n,i){if(r[n]){try{for(var u=0;u<r[n].length;u++)if(r[n][u].listener.toString()==i.toString()){r[n].splice(u,1);break}}catch(f){t.log("error",f)}return!1}};this.addGlobalListener=function(n,i){try{t.typeOf(n)=="string"&&(n=new Function("return "+n)());u.push({listener:n,count:i})}catch(r){t.log("error",r)}return!1};this.removeGlobalListener=function(n){if(n){try{for(var i=0;i<u.length;i++)if(u[i].listener.toString()==n.toString()){u.splice(i,1);break}}catch(r){t.log("error",r)}return!1}};this.sendEvent=function(n,i){var o,s;if(t.exists(i)||(i={}),t.extend(i,{id:f,version:jwplayer.version,type:n}),e&&t.log(n,i),t.typeOf(r[n])!="undefined")for(o=0;o<r[n].length;o++){try{r[n][o].listener(i)}catch(h){t.log("There was an error while handling a listener: "+h.toString(),r[n][o].listener)}r[n][o]&&(r[n][o].count===1?delete r[n][o]:r[n][o].count>0&&(r[n][o].count=r[n][o].count-1))}for(s=0;s<u.length;s++){try{u[s].listener(i)}catch(h){t.log("There was an error while handling a listener: "+h.toString(),u[s].listener)}u[s]&&(u[s].count===1?delete u[s]:u[s].count>0&&(u[s].count=u[s].count-1))}}}}(jwplayer.events),function(n){var t={},i={};n.plugins=function(){};n.plugins.loadPlugins=function(r,u){return i[r]=new n.plugins.pluginloader(new n.plugins.model(t),u),i[r]};n.plugins.registerPlugin=function(i,r,u,f){var e=n.utils.getPluginName(i);t[e]||(t[e]=new n.plugins.plugin(i));t[e].registerPlugin(i,r,u,f)}}(jwplayer),function(n){n.plugins.model=function(t){this.addPlugin=function(i){var r=n.utils.getPluginName(i);return t[r]||(t[r]=new n.plugins.plugin(i)),t[r]};this.getPlugins=function(){return t}}}(jwplayer),function(n){var t=jwplayer.utils,i=jwplayer.events,r="undefined";n.pluginmodes={FLASH:0,JAVASCRIPT:1,HYBRID:2};n.plugin=function(u){function l(){switch(t.getPluginPathType(u)){case t.pluginPathType.ABSOLUTE:return u;case t.pluginPathType.RELATIVE:return t.getAbsolutePath(u,window.location.href)}}function a(){h=setTimeout(function(){e=t.loaderstatus.COMPLETE;s.sendEvent(i.COMPLETE)},1e3)}function v(){e=t.loaderstatus.ERROR;s.sendEvent(i.ERROR)}var e=t.loaderstatus.NEW,f,o,c,h,s=new i.eventdispatcher;t.extend(this,s);this.load=function(){if(e==t.loaderstatus.NEW){if(u.lastIndexOf(".swf")>0){f=u;e=t.loaderstatus.COMPLETE;s.sendEvent(i.COMPLETE);return}if(t.getPluginPathType(u)==t.pluginPathType.CDN){e=t.loaderstatus.COMPLETE;s.sendEvent(i.COMPLETE);return}e=t.loaderstatus.LOADING;var n=new t.scriptloader(l());n.addEventListener(i.COMPLETE,a);n.addEventListener(i.ERROR,v);n.load()}};this.registerPlugin=function(n,r,u,l){h&&(clearTimeout(h),h=undefined);c=r;u&&l?(f=l,o=u):typeof u=="string"?f=u:typeof u=="function"?o=u:u||l||(f=n);e=t.loaderstatus.COMPLETE;s.sendEvent(i.COMPLETE)};this.getStatus=function(){return e};this.getPluginName=function(){return t.getPluginName(u)};this.getFlashPath=function(){if(f)switch(t.getPluginPathType(f)){case t.pluginPathType.ABSOLUTE:return f;case t.pluginPathType.RELATIVE:return u.lastIndexOf(".swf")>0?t.getAbsolutePath(f,window.location.href):t.getAbsolutePath(f,l())}return null};this.getJS=function(){return o};this.getTarget=function(){return c};this.getPluginmode=function(){return typeof f!=r&&typeof o!=r?n.pluginmodes.HYBRID:typeof f!=r?n.pluginmodes.FLASH:typeof o!=r?n.pluginmodes.JAVASCRIPT:void 0};this.getNewInstance=function(n,t,i){return new o(n,t,i)};this.getURL=function(){return u}}}(jwplayer.plugins),function(n){var t=n.utils,i=n.events;n.plugins.pluginloader=function(r,u){function e(){f?c.sendEvent(i.ERROR,{message:h}):s||(s=!0,o=t.loaderstatus.COMPLETE,c.sendEvent(i.COMPLETE))}function l(){var i,o,c;if(v||e(),!s&&!f){i=0;o=r.getPlugins();for(c in v){var y=t.getPluginName(c),u=o[y],p=u.getJS(),l=u.getTarget(),a=u.getStatus();a==t.loaderstatus.LOADING||a==t.loaderstatus.NEW?i++:p&&(!l||parseFloat(l)>parseFloat(n.version))&&(f=!0,h="Incompatible player version",e())}i==0&&e()}}var o=t.loaderstatus.NEW,a=!1,s=!1,f=!1,h,v=u,c=new i.eventdispatcher,y;t.extend(this,c);this.setupPlugins=function(n,i,u){var h={length:0,plugins:{}},e={length:0,plugins:{}},v=r.getPlugins(),c,f;for(c in i.plugins){var o=t.getPluginName(c),s=v[o],l=s.getFlashPath(),y=s.getJS(),a=s.getURL();l&&(h.plugins[l]=t.extend({},i.plugins[c]),h.plugins[l].pluginmode=s.getPluginmode(),h.length++);try{if(y&&i.plugins&&i.plugins[a]){f=document.createElement("div");f.id=n.id+"_"+o;f.style.position="absolute";f.style.top=0;f.style.zIndex=e.length+10;e.plugins[o]=s.getNewInstance(n,t.extend({},i.plugins[a]),f);e.length++;n.onReady(u(e.plugins[o],f,!0));n.onResize(u(e.plugins[o],f))}}catch(p){console.log("ERROR: Failed to load "+o+".")}}return n.plugins=e.plugins,h};this.load=function(){var n,f,e;if(t.exists(u)&&t.typeOf(u)!="object"){l();return}o=t.loaderstatus.LOADING;a=!0;for(n in u)t.exists(n)&&(f=r.addPlugin(n),f.addEventListener(i.COMPLETE,l),f.addEventListener(i.ERROR,y));e=r.getPlugins();for(n in e)e[n].load();a=!1;l()};y=this.pluginFailed=function(){f||(f=!0,h="File not found",e())};this.getStatus=function(){return o}}}(jwplayer),function(n){n.playlist=function(t){var r=[],i;if(n.utils.typeOf(t)=="array")for(i=0;i<t.length;i++)r.push(new n.playlist.item(t[i]));else r.push(new n.playlist.item(t));return r}}(jwplayer),function(n){var t=n.item=function(i){var r=jwplayer.utils.extend({},t.defaults,i),u;for(r.sources.length==0&&(r.sources=[new n.source(r)]),u=0;u<r.sources.length;u++)r.sources[u]=new n.source(r.sources[u]);return r};t.defaults={description:"",image:"",mediaid:"",title:"",tags:"",duration:-1,sources:[]}}(jwplayer.playlist),function(n){var t=undefined,i=jwplayer.utils,r={file:t,label:t,bitrate:t,width:t,height:t,type:t};n.source=function(n){var t=i.extend({},r);for(var u in r)i.exists(n[u])&&(t[u]=n[u],delete n[u]);return t.type&&t.type.indexOf("/")>0&&(t.type=i.extensionmap.mimeType(t.type)),t}}(jwplayer.playlist),function(n){var t=n.utils,r=n.events,u=document,i=n.embed=function(f){function w(n,t){for(var i in t)typeof n[i]=="function"&&n[i].call(n,t[i])}function b(){var n,h,u;if(t.typeOf(e.playlist)=="array"&&e.playlist.length<2&&(e.playlist.length==0||!e.playlist[0].sources||e.playlist[0].sources.length==0)){p();return}if(s.getStatus()==t.loaderstatus.COMPLETE){for(n=0;n<e.modes.length;n++)if(e.modes[n].type&&i[e.modes[n].type]&&(h=t.extend({},e),u=new i[e.modes[n].type](o,e.modes[n],h,s,f),u.supportsConfig()))return u.addEventListener(r.ERROR,d),u.embed(),w(f,h.events),f;e.fallback?(t.log("No suitable players found and fallback enabled"),new i.download(o,e,p)):(t.log("No suitable players found and fallback disabled"),k())}}function k(){o.parentNode.replaceChild(v,o)}function d(n){c(o,y+n.message)}function g(n){c(o,"Could not load plugins: "+n.message)}function p(){c(o,y+"No playable sources found")}function c(n,i){var r,f,u;e.fallback&&(r=n.style,r.backgroundColor="#000",r.color="#FFF",r.width=t.styleDimension(e.width),r.height=t.styleDimension(e.height),r.display="table",r.opacity=1,f=document.createElement("p"),u=f.style,u.verticalAlign="middle",u.textAlign="center",u.display="table-cell",u.font="15px/20px Arial, Helvetica, sans-serif",f.innerHTML=i.replace(":",":<br>"),n.innerHTML="",n.appendChild(f))}var e=new i.config(f.config),o,h,v,l=e.width,a=e.height,y="Error loading player: ",s=n.plugins.loadPlugins(f.id,e.plugins);return e.fallbackDiv&&(v=e.fallbackDiv,delete e.fallbackDiv),e.id=f.id,h=u.getElementById(f.id),o=u.createElement("div"),o.id=h.id,o.style.width=l.toString().indexOf("%")>0?l:l+"px",o.style.height=a.toString().indexOf("%")>0?a:a+"px",h.parentNode.replaceChild(o,h),n.embed.errorScreen=c,s.addEventListener(r.COMPLETE,b),s.addEventListener(r.ERROR,g),s.load(),f}}(jwplayer),function(n){function u(n){var t,e,u,f;if(n.playlist)for(f=0;f<n.playlist.length;f++)n.playlist[f]=new r(n.playlist[f]);else{t={};for(e in r.defaults)i(n,t,e);t.sources||(n.levels?(t.sources=n.levels,delete n.levels):(u={},i(n,u,"file"),i(n,u,"type"),t.sources=u.file?[u]:[]));n.playlist=[t]}}function i(n,i,r){t.exists(n[r])&&(i[r]=n[r],delete n[r])}var t=n.utils,f=n.embed,r=n.playlist.item,o=undefined,e=f.config=function(n){var f={fallback:!0,height:270,primary:"html5",width:480,base:n.base?n.base:t.getScriptPath("jwplayer.js")},i=t.extend(f,n),r={html5:{type:"html5",src:i.base+"jwplayer.html5.js"},flash:{type:"flash",src:i.base+"jwplayer.flash.swf"}};return i.modes=i.primary=="flash"?[r.flash,r.html5]:[r.html5,r.flash],i.listbar&&(i.playlistsize=i.listbar.size,i.playlistposition=i.listbar.position),u(i),i};e.addConfig=function(n,i){return u(i),t.extend(n,i)}}(jwplayer),function(n){var u=n.embed,t=n.utils,i=document,f="none",e="block",r="100%",o="relative",s="absolute";u.download=function(u,h,c){function g(){var u,h,f,e=a.playlist,o,s,r,v=["mp4","aac","mp3"],i,y;if(e&&e.length){for(o=e[0],s=o.sources,r=0;r<s.length;r++)if(i=s[r],y=i.type?i.type:t.extensionmap.extType(t.extension(i.file)),i.file){for(r in v)y==v[r]?(u=i.file,h=o.image):t.isYouTube(i.file)&&(f=i.file);if(u||f)continue}}else return;u?(w=u,b=h,l.prefix&&(t.isHTTPS()&&(l.prefix=l.prefix.replace("http://","https://ssl.")),l.prefix+=n.version.split(/\W/).splice(0,2).join("/")),nt(),tt()):f?it(f):c()}function nt(){u&&(v=p("a","display",u),p("div","icon",v),p("div","logo",v),w&&v.setAttribute("href",t.getAbsolutePath(w)))}function y(n,t){for(var u,f=i.querySelectorAll(n),r=0;r<f.length;r++)for(u in t)f[r].style[u]=t[u]}function tt(){var n="#"+u.id+" .jwdownload";u.style.width="";u.style.height="";y(n+"display",{width:t.styleDimension(Math.max(320,k)),height:t.styleDimension(Math.max(180,d)),background:"black center no-repeat "+(b?"url("+b+")":""),backgroundSize:"contain",position:o,border:f,display:e});y(n+"display div",{position:s,width:r,height:r});y(n+"logo",{top:l.margin+"px",right:l.margin+"px",background:"top right no-repeat url("+l.prefix+l.file+")"});y(n+"icon",{background:"center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgNJREFUeNrs28lqwkAYB/CZqNVDDj2r6FN41QeIy8Fe+gj6BL275Q08u9FbT8ZdwVfotSBYEPUkxFOoks4EKiJdaDuTjMn3wWBO0V/+sySR8SNSqVRKIR8qaXHkzlqS9jCfzzWcTCYp9hF5o+59sVjsiRzcegSckFzcjT+ruN80TeSlAjCAAXzdJSGPFXRpAAMYwACGZQkSdhG4WCzehMNhqV6vG6vVSrirKVEw66YoSqDb7cqlUilE8JjHd/y1MQefVzqdDmiaJpfLZWHgXMHn8F6vJ1cqlVAkEsGuAn83J4gAd2RZymQygX6/L1erVQt+9ZPWb+CDwcCC2zXGJaewl/DhcHhK3DVj+KfKZrMWvFarcYNLomAv4aPRSFZVlTlcSPA5fDweW/BoNIqFnKV53JvncjkLns/n/cLdS+92O7RYLLgsKfv9/t8XlDn4eDyiw+HA9Jyz2eyt0+kY2+3WFC5hluej0Ha7zQQq9PPwdDq1Et1sNsx/nFBgCqWJ8oAK1aUptNVqcYWewE4nahfU0YQnk4ntUEfGMIU2m01HoLaCKbTRaDgKtaVLk9tBYaBcE/6Artdr4RZ5TB6/dC+9iIe/WgAMYADDpAUJAxjAAAYwgGFZgoS/AtNNTF7Z2bL0BYPBV3Jw5xFwwWcYxgtBP5OkE8i9G7aWGOOCruvauwADALMLMEbKf4SdAAAAAElFTkSuQmCC)"})}function p(n,t,r){var u=i.createElement(n);return t&&(u.className="jwdownload"+t),r&&r.appendChild(u),u}function it(n){var t=p("embed","",u);t.src="http://www.youtube.com/v/"+/v[=\/](\w*)|\/(\w+)$|^(\w+)$/i.exec(n).slice(1).join("");t.type="application/x-shockwave-flash";t.width=k;t.height=d}var a=t.extend({},h),v,k=a.width?a.width:480,d=a.height?a.height:320,w,b,l=h.logo?h.logo:{prefix:"http://p.jwpcdn.com/",file:"logo.png",margin:10};g()}}(jwplayer),function(n){var t=n.utils,r=n.events,i={},u=n.embed.flash=function(u,f,e,o,s){function h(n,t,i){var r=document.createElement("param");r.setAttribute("name",t);r.setAttribute("value",i);n.appendChild(r)}function a(n,t,i){return function(){try{i&&document.getElementById(s.id+"_wrapper").appendChild(t);var r=document.getElementById(s.id).getPluginConfig("display");typeof n.resize=="function"&&n.resize(r.width,r.height);t.style.left=r.x;t.style.top=r.h}catch(u){}}}function v(n){var i,u,r,o,f,e;if(!n)return{};i={};u=[];for(r in n){o=t.getPluginName(r);f=n[r];u.push(r);for(e in f)i[o+"."+e]=f[e]}return i.plugins=u.join(","),i}function y(n,i){if(t.isYouTube(n)||t.isRtmp(n,i)||i=="hls")return!0;var r=t.extensionmap[i?i:t.extension(n)];return r?!!r.flash:!1}var c=new n.events.eventdispatcher,l=t.flashVersion();t.extend(this,c);this.embed=function(){var w,n,nt,d,tt,g,b,p,y;if(e.id=s.id,l<10)return c.sendEvent(r.ERROR,{message:"Flash version must be 10.0 or greater"}),!1;n=t.extend({},e);u.id+"_wrapper"==u.parentNode.id?w=document.getElementById(u.id+"_wrapper"):(w=document.createElement("div"),w.id=u.id+"_wrapper",w.style.position="relative",w.style.width=t.styleDimension(n.width),w.style.height=t.styleDimension(n.height),u.parentNode.replaceChild(w,u),w.appendChild(u));nt=o.setupPlugins(s,n,a);nt.length>0?t.extend(n,v(nt.plugins)):delete n.plugins;typeof n["dock.position"]!="undefined"&&n["dock.position"].toString().toLowerCase()=="false"&&(n.dock=n["dock.position"],delete n["dock.position"]);var it="#000000",k,rt=n.wmode?n.wmode:n.height&&n.height<=40?"transparent":"opaque",ut=["height","width","modes","events","primary","base","fallback","volume"];for(d=0;d<ut.length;d++)delete n[ut[d]];tt=t.getCookies();for(g in tt)typeof n[g]=="undefined"&&(n[g]=tt[g]);b=window.location.pathname.split("/");b.splice(b.length-1,1);b=b.join("/");n.base=b+"/";i[u.id]=n;t.isIE()?(p='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" " width="100%" height="100%" id="'+u.id+'" name="'+u.id+'" tabindex=0"">',p+='<param name="movie" value="'+f.src+'">',p+='<param name="allowfullscreen" value="true">',p+='<param name="allowscriptaccess" value="always">',p+='<param name="seamlesstabbing" value="true">',p+='<param name="wmode" value="'+rt+'">',p+='<param name="bgcolor" value="'+it+'">',p+="<\/object>",u.outerHTML=p,k=document.getElementById(u.id)):(y=document.createElement("object"),y.setAttribute("type","application/x-shockwave-flash"),y.setAttribute("data",f.src),y.setAttribute("width","100%"),y.setAttribute("height","100%"),y.setAttribute("bgcolor",it),y.setAttribute("id",u.id),y.setAttribute("name",u.id),y.setAttribute("tabindex",0),h(y,"allowfullscreen","true"),h(y,"allowscriptaccess","always"),h(y,"seamlesstabbing","true"),h(y,"wmode",rt),u.parentNode.replaceChild(y,u),k=y);s.container=k;s.setPlayer(k,"flash")};this.supportsConfig=function(){var r,n,i;if(l)if(e){if(t.typeOf(e.playlist)=="string")return!0;try{if(r=e.playlist[0],n=r.sources,typeof n=="undefined")return!0;for(i=0;i<n.length;i++)if(n[i].file&&y(n[i].file,n[i].type))return!0}catch(u){return!1}}else return!0;return!1}};u.getVars=function(n){return i[n]}}(jwplayer),function(n){var t=n.utils,r=t.extensionmap,i=n.events;n.embed.html5=function(u,f,e,o,s){function l(n,t,i){return function(){try{var r=document.querySelector("#"+u.id+" .jwmain");i&&r.appendChild(t);typeof n.resize=="function"&&(n.resize(r.clientWidth,r.clientHeight),setTimeout(function(){n.resize(r.clientWidth,r.clientHeight)},400));t.left=r.style.left;t.top=r.style.top}catch(f){}}}function a(n){h.sendEvent(n.type,{message:"HTML5 player not found"})}function v(n,i){if(navigator.userAgent.match(/BlackBerry/i)!==null||t.isAndroid()&&(t.extension(n)=="m3u"||t.extension(n)=="m3u8")||t.isRtmp(n,i))return!1;var u=r[i?i:t.extension(n)];return u?u.flash&&!u.html5?!1:y(u.html5):!1}function y(t){var i=n.vid;if(!t)return!0;try{return i.canPlayType(t)?!0:!1}catch(r){return!1}}var h=this,c=new i.eventdispatcher;t.extend(h,c);h.embed=function(){var c,v,r;n.html5?(o.setupPlugins(s,e,l),u.innerHTML="",c=n.utils.extend({},e),delete c.volume,v=new n.html5.player(c),s.container=document.getElementById(s.id),s.setPlayer(v,"html5")):(r=new t.scriptloader(f.src),r.addEventListener(i.ERROR,a),r.addEventListener(i.COMPLETE,h.embed),r.load())};h.supportsConfig=function(){var r,i,u,f;if(!!n.vid.canPlayType)try{if(t.typeOf(e.playlist)=="string")return!0;for(r=e.playlist[0].sources,i=0;i<r.length;i++)if(u=r[i].file,f=r[i].type,v(u,f))return!0}catch(o){return!1}return!1}}}(jwplayer),function(n){var t=n.embed,i=n.utils,r=i.extend(function(r){var e=(i.isHTTPS()?"https://ssl.":"http://")+"p.jwpcdn.com/"+n.version.replace(/(\d+)\.(\d+).*/,"$1/$2/"),u=r.config,f=u.plugins,o=u.analytics,s=e+"jwpsrv.js",h=new n.utils.key(n.key);return h.edition()=="ads"&&u.advertising&&(u.plugins[e+u.advertising.client+(u.primary=="flash"?".swf":".js")]=u.advertising),delete u.advertising,u.key=n.key,delete u.analytics,f=f?f:{},f[s]=o?o:{},u.plugins=f,new t(r)},t);n.embed=r}(jwplayer),function(n){var r=[],i=n.utils,t=n.events,f=t.state,e=document,u=n.api=function(r){function nt(n,t){return function(i){return t(n,i)}}function tt(n){p=[];u.destroyPlayer(n.id)}function rt(n,i){return v[n]||(v[n]=[],a(t.JWPLAYER_PLAYER_STATE,ut(n))),v[n].push(i),o}function ut(n){return function(t){var u=t.newstate,f=t.oldstate,i,r;if(u==n&&(i=v[u],i))for(r=0;r<i.length;r++)typeof i[r]=="function"&&i[r].call(this,{oldstate:f,newstate:u})}}function it(n,t){try{n.jwAddEventListener(t,'function(dat) { jwplayer("'+o.id+'").dispatchEvent("'+t+'", dat); }')}catch(r){i.log("Could not add internal listener")}}function a(n,t){return c[n]||(c[n]=[],h&&y&&it(h,n)),c[n].push(t),o}function s(){var t,n,i;if(y){for(t=arguments[0],n=[],i=1;i<arguments.length;i++)n.push(arguments[i]);if(typeof h!="undefined"&&typeof h[t]=="function")switch(n.length){case 4:return h[t](n[0],n[1],n[2],n[3]);case 3:return h[t](n[0],n[1],n[2]);case 2:return h[t](n[0],n[1]);case 1:return h[t](n[0]);default:return h[t]()}return null}p.push(arguments)}var o=this,c={},v={},l={},h=undefined,y=!1,p=[],w=undefined,b={},k={},d,g;return o.container=r,o.id=r.id,o.getBuffer=function(){return s("jwGetBuffer")},o.getContainer=function(){return o.container},o.addButton=function(n,t,r,u){try{k[u]=r;var f="jwplayer('"+o.id+"').callback('"+u+"')";s("jwDockAddButton",n,t,f,u)}catch(e){i.log("Could not add dock button"+e.message)}},o.removeButton=function(n){s("jwDockRemoveButton",n)},o.callback=function(n){k[n]&&k[n]()},o.getDuration=function(){return s("jwGetDuration")},o.getFullscreen=function(){return s("jwGetFullscreen")},o.getStretching=function(){return s("jwGetStretching")},o.getHeight=function(){return s("jwGetHeight")},o.getLockState=function(){return s("jwGetLockState")},o.getMeta=function(){return o.getItemMeta()},o.getMute=function(){return s("jwGetMute")},o.getPlaylist=function(){var t=s("jwGetPlaylist"),n;for(o.renderingMode=="flash"&&i.deepReplaceKeyName(t,["__dot__","__spc__","__dsh__"],["."," ","-"]),n=0;n<t.length;n++)i.exists(t[n].index)||(t[n].index=n);return t},o.getPlaylistItem=function(n){return i.exists(n)||(n=o.getCurrentItem()),o.getPlaylist()[n]},o.getPosition=function(){return s("jwGetPosition")},o.getRenderingMode=function(){return o.renderingMode},o.getState=function(){return s("jwGetState")},o.getVolume=function(){return s("jwGetVolume")},o.getWidth=function(){return s("jwGetWidth")},o.setFullscreen=function(n){return i.exists(n)?s("jwSetFullscreen",n):s("jwSetFullscreen",!s("jwGetFullscreen")),o},o.setStretching=function(n){return s("jwSetStretching",n),o},o.setMute=function(n){return i.exists(n)?s("jwSetMute",n):s("jwSetMute",!s("jwGetMute")),o},o.lock=function(){return o},o.unlock=function(){return o},o.load=function(n){return s("jwLoad",n),o},o.playlistItem=function(n){return s("jwPlaylistItem",parseInt(n)),o},o.playlistPrev=function(){return s("jwPlaylistPrev"),o},o.playlistNext=function(){return s("jwPlaylistNext"),o},o.resize=function(n,t){if(o.renderingMode!="flash")s("jwResize",n,t);else{var r=e.getElementById(o.id+"_wrapper");r&&(r.style.width=i.styleDimension(n),r.style.height=i.styleDimension(t))}return o},o.play=function(n){return typeof n=="undefined"?(n=o.getState(),n==f.PLAYING||n==f.BUFFERING?s("jwPause"):s("jwPlay")):s("jwPlay",n),o},o.pause=function(n){return typeof n=="undefined"?(n=o.getState(),n==f.PLAYING||n==f.BUFFERING?s("jwPause"):s("jwPlay")):s("jwPause",n),o},o.stop=function(){return s("jwStop"),o},o.seek=function(n){return s("jwSeek",n),o},o.setVolume=function(n){return s("jwSetVolume",n),o},o.loadInstream=function(n,t){return w=new u.instream(this,h,n,t)},o.getQualityLevels=function(){return s("jwGetQualityLevels")},o.getCurrentQuality=function(){return s("jwGetCurrentQuality")},o.setCurrentQuality=function(n){s("jwSetCurrentQuality",n)},o.getCaptionsList=function(){return s("jwGetCaptionsList")},o.getCurrentCaptions=function(){return s("jwGetCurrentCaptions")},o.setCurrentCaptions=function(n){s("jwSetCurrentCaptions",n)},o.getControls=function(){return s("jwGetControls")},o.getSafeRegion=function(){return s("jwGetSafeRegion")},o.setControls=function(n){s("jwSetControls",n)},o.destroyPlayer=function(){s("jwPlayerDestroy")},d={onBufferChange:t.JWPLAYER_MEDIA_BUFFER,onBufferFull:t.JWPLAYER_MEDIA_BUFFER_FULL,onError:t.JWPLAYER_ERROR,onFullscreen:t.JWPLAYER_FULLSCREEN,onMeta:t.JWPLAYER_MEDIA_META,onMute:t.JWPLAYER_MEDIA_MUTE,onPlaylist:t.JWPLAYER_PLAYLIST_LOADED,onPlaylistItem:t.JWPLAYER_PLAYLIST_ITEM,onPlaylistComplete:t.JWPLAYER_PLAYLIST_COMPLETE,onReady:t.API_READY,onResize:t.JWPLAYER_RESIZE,onComplete:t.JWPLAYER_MEDIA_COMPLETE,onSeek:t.JWPLAYER_MEDIA_SEEK,onTime:t.JWPLAYER_MEDIA_TIME,onVolume:t.JWPLAYER_MEDIA_VOLUME,onBeforePlay:t.JWPLAYER_MEDIA_BEFOREPLAY,onBeforeComplete:t.JWPLAYER_MEDIA_BEFORECOMPLETE,onDisplayClick:t.JWPLAYER_DISPLAY_CLICK,onControls:t.JWPLAYER_CONTROLS,onQualityLevels:t.JWPLAYER_MEDIA_LEVELS,onQualityChange:t.JWPLAYER_MEDIA_LEVEL_CHANGED,onCaptionsList:t.JWPLAYER_CAPTIONS_LIST,onCaptionsChange:t.JWPLAYER_CAPTIONS_CHANGED},i.foreach(d,function(n){o[n]=nt(d[n],a)}),g={onBuffer:f.BUFFERING,onPause:f.PAUSED,onPlay:f.PLAYING,onIdle:f.IDLE},i.foreach(g,function(n){o[n]=nt(g[n],rt)}),o.remove=function(){if(!y)throw"Cannot call remove() before player is ready";tt(this)},o.setup=function(t){var i,r;return n.embed?(i=e.getElementById(o.id),i&&(t.fallbackDiv=i),tt(o),r=n(o.id),r.config=t,new n.embed(r)):o},o.registerPlugin=function(t,i,r,u){n.plugins.registerPlugin(t,i,r,u)},o.setPlayer=function(n,t){h=n;o.renderingMode=t},o.detachMedia=function(){if(o.renderingMode=="html5")return s("jwDetachMedia")},o.attachMedia=function(){if(o.renderingMode=="html5")return s("jwAttachMedia")},o.dispatchEvent=function(n){var r,t;if(c[n])for(r=i.translateEventResponse(n,arguments[1]),t=0;t<c[n].length;t++)typeof c[n][t]=="function"&&c[n][t].call(this,r)},o.dispatchInstreamEvent=function(n){w&&w.dispatchEvent(n,arguments)},o.playerReady=function(n){for(y=!0,h||o.setPlayer(e.getElementById(n.id)),o.container=e.getElementById(o.id),i.foreach(c,function(n){it(h,n)}),a(t.JWPLAYER_PLAYLIST_ITEM,function(){b={}}),a(t.JWPLAYER_MEDIA_META,function(n){i.extend(b,n.metadata)}),o.dispatchEvent(t.API_READY);p.length>0;)s.apply(this,p.shift())},o.getItemMeta=function(){return b},o.getCurrentItem=function(){return s("jwGetPlaylistIndex")},o};u.selectPlayer=function(n){var t,f;return(i.exists(n)||(n=0),n.nodeType?t=n:typeof n=="string"&&(t=e.getElementById(n)),t)?(f=u.playerById(t.id),f?f:u.addPlayer(new u(t))):typeof n=="number"?r[n]:null};u.playerById=function(n){for(var t=0;t<r.length;t++)if(r[t].id==n)return r[t];return null};u.addPlayer=function(n){for(var t=0;t<r.length;t++)if(r[t]==n)return n;return r.push(n),n};u.destroyPlayer=function(n){for(var f,o,h,s=-1,t,u=0;u<r.length;u++)if(r[u].id==n){s=u;t=r[u];continue}return s>=0&&(f=t.id,o=e.getElementById(f+(t.renderingMode=="flash"?"_wrapper":"")),i.clearCss&&i.clearCss("#"+f),o&&(t.renderingMode=="html5"&&t.destroyPlayer(),h=e.createElement("div"),h.id=f,o.parentNode.replaceChild(h,o)),r.splice(s,1)),null};n.playerReady=function(t){var i=n.api.playerById(t.id);i?i.playerReady(t):n.api.selectPlayer(t.id).playerReady(t)}}(jwplayer),function(n){var t=n.events,i=t.state;n.api.instream=function(n,r,u,f){function a(){l.callInternal("jwLoadInstream",u,f)}function v(n,t){o.jwInstreamAddEventListener(t,'function(dat) { jwplayer("'+l.id+'").dispatchInstreamEvent("'+t+'", dat); }')}function e(n,t){return s[n]||(s[n]=[],v(o,n)),s[n].push(t),this}function c(n,i){return h[n]||(h[n]=[],e(t.JWPLAYER_PLAYER_STATE,y(n))),h[n].push(i),this}function y(n){return function(t){var u=t.newstate,f=t.oldstate,i,r;if(u==n&&(i=h[u],i))for(r=0;r<i.length;r++)typeof i[r]=="function"&&i[r].call(this,{oldstate:f,newstate:u,type:t.type})}}var l=n,o=r,p=u,w=f,s={},h={};this.dispatchEvent=function(n,t){var r,i;if(s[n])for(r=_utils.translateEventResponse(n,t[1]),i=0;i<s[n].length;i++)typeof s[n][i]=="function"&&s[n][i].call(this,r)};this.onError=function(n){return e(t.JWPLAYER_ERROR,n)};this.onFullscreen=function(n){return e(t.JWPLAYER_FULLSCREEN,n)};this.onMeta=function(n){return e(t.JWPLAYER_MEDIA_META,n)};this.onMute=function(n){return e(t.JWPLAYER_MEDIA_MUTE,n)};this.onComplete=function(n){return e(t.JWPLAYER_MEDIA_COMPLETE,n)};this.onSeek=function(n){return e(t.JWPLAYER_MEDIA_SEEK,n)};this.onTime=function(n){return e(t.JWPLAYER_MEDIA_TIME,n)};this.onVolume=function(n){return e(t.JWPLAYER_MEDIA_VOLUME,n)};this.onBuffer=function(n){return c(i.BUFFERING,n)};this.onPause=function(n){return c(i.PAUSED,n)};this.onPlay=function(n){return c(i.PLAYING,n)};this.onIdle=function(n){return c(i.IDLE,n)};this.onInstreamClick=function(n){return e(t.JWPLAYER_INSTREAM_CLICK,n)};this.onInstreamDestroyed=function(n){return e(t.JWPLAYER_INSTREAM_DESTROYED,n)};this.play=function(n){o.jwInstreamPlay(n)};this.pause=function(n){o.jwInstreamPause(n)};this.seek=function(n){o.jwInstreamSeek(n)};this.destroy=function(){o.jwInstreamDestroy()};this.getState=function(){return o.jwInstreamGetState()};this.getDuration=function(){return o.jwInstreamGetDuration()};this.getPosition=function(){return o.jwInstreamGetPosition()};a()}}(jwplayer),function(n){var t=n.api,i=t.selectPlayer;t.selectPlayer=function(t){var r=i(t);return r?r:{registerPlugin:function(t,i,r){n.plugins.registerPlugin(t,i,r)}}}}(jwplayer));$(function(){function o(){const i=t.val();if($.trim(i)===""){n.hide();return}$.getJSON("/api/suggestsearchcategorized/"+i,function(n){s(n)})}function s(t){if(n.empty(),t.length===0){n.hide();return}$(t).each(function(t,i){const r=$(document.createElement("div"));r.addClass("box");r.append(u(i.NameTranslated,"Title","col",i));r.append(u("> Mehr "+i.NameTranslated,"Contents","col-2",i));n.append(r).show()})}function u(n,t,i,r){const u=$(document.createElement("div"));u.addClass(i);const o=$(document.createElement("h2")),e=$(document.createElement("a"));e.attr("href",h()).html(n).addClass("submit-search");u.append(o.append(e));var f=$(document.createElement("ul"));return f.addClass("list"),u.append(f),$(r.ResultItems).each(function(n,i){return f.append('<li><a href="'+i.Url+'">'+(i[t]===null?"":i[t])+"<\/a><\/li>"),n<5}),u}function h(){const n=i.attr("action"),r=t.val();return n+"?q="+r}function f(){const n=function(){const n=$(".investment-calculator"),t=n.find("input.investment-sum").val(),i=n.find("span.investment-period").html(),r=$(".calculator-box").data("charge"),u=$(".calculator-box").data("performance"),f=t*(1-r)*Math.pow(1+u,i);$("span.calculator-result").html(accounting.formatMoney(f,{symbol:"EUR",format:"%v %s",decimal:",",thousand:".",precision:0}))};n()}function e(n,t){function r(n){const t=n.prev();n.val().length==0?t.show():t.hide()}var u="span.input-placeholder-text";const i=$(t);i.each(function(){var t=$(this);t.on("click",n+", "+u,function(i){i.stopPropagation();const r=t.find(n);r.prev().hide();r.focus()}).find(n).on("blur",function(){r($(this))})});i.find(n).each(function(){r($(this))})}$(".tabControl a").on("click",function(){const n=$(this).data("url");return history.pushState?($("section.text-category").toggleClass("invisible"),$(".ajax-loader").toggleClass("invisible"),$("section.text-category").load(n,function(){f();$(".popup-buy").contentPopup({mode:"click"});initSlider();$(".ajax-loader").toggleClass("invisible");$("section.text-category").toggleClass("invisible");jcf.customForms.replaceAll()}),history.pushState({},document.title,$(this).attr("href")),document.title=$(this).data("pagetitle"),$(".category-nav a.active").toggleClass("active"),$(this).toggleClass("active"),!1):(window.location=$(this).attr("href"),!0)});$(".text-category")&&$(".text-category").text().replace(/\s/g,"").length==0&&$(".tabControl a.active").click();$("#print").on("click",function(){return window.print(),!1});var r,i=$(".search-form"),t=i.find("input[name=q]"),n=i.find("div.slide");t.click(function(){n.find(".box").size()>0&&n.show()});$(document).on("click",function(){n.hide()});t.keyup(function(){clearTimeout(r);r=setTimeout(o,500)});t.keydown(function(n){n.keyCode===13&&i.submit()});f(),function(){e("input[name=q]",".search-form, .sort-form");e("input[id=searchTextBox]",".search")}()});$(function(){function i(n){window.clearTimeout(t);r(1);t=window.setTimeout(function(){i(n)},n)}function r(n){var t=$(".NewsControl .NewsItem.active").index()+n;n>0?t>=$(".NewsControl .NewsItem").length&&(t=0):t<0&&(t=$(".NewsControl .NewsItem").length-1);u(t)}function u(n){$(".NewsControl .NewsItem.active").toggleClass("active");$(".NewsControl .pagination a.active").toggleClass("active");$($(".NewsControl .NewsItem").get(n)).toggleClass("active");$($(".NewsControl .pagination a").get(n)).toggleClass("active")}function e(n,t){var i=(new Date).getTime();return function(){const r=(new Date).getTime();r-i>=n&&(i=r,t.apply(null,arguments))}}function o(n){if(typeof n=="undefined")n=50;$(window).scroll(e(n,function(){const i=$("div.content-holder.productdetails div.title"),n=$("div.title-category"),t=$("nav.category-nav.tabControl");$(window).scrollTop()>257?i.addClass("sticky"):i.removeClass("sticky");$(window).scrollTop()>415?(t.addClass("sticky"),n.addClass("sticky"),t.css("z-index",799),n.css("z-index",799)):(t.removeClass("sticky"),n.removeClass("sticky"))}))}$(".remember").on("click",function(){return window.sidebar&&window.sidebar.addPanel?window.sidebar.addPanel(document.title,window.location.href,""):window.sidebar&&jQuery.browser.mozilla?alert($(".remember").data("errormessage")):window.external&&"AddFavorite"in window.external?window.external.AddFavorite(location.href,document.title):window.opera&&window.print?(this.title=document.title,this.href=window.location.href,this.rel="sidebar",this.click()):alert($(".remember").data("errormessage")),!1});var t,n;$(".NewsControl").length>0&&(n=$(".NewsControl").data("slide-speed"),n==0&&(n=5e3),t=window.setTimeout(function(){i(n)},n));$(".NewsControl").mouseenter(function(){clearTimeout(t)});$(".NewsControl").mouseleave(function(){clearTimeout(t);n=$(".NewsControl").data("slide-speed");n==0&&(n=5e3);t=window.setTimeout(function(){i(n)},n)});$(".NewsControl .navigateLeft").on("click",function(){return r(-1),!1});$(".NewsControl .navigateRight").on("click",function(){return r(1),!1});$(".NewsControl .pagination li").on("click",function(){return u($(this).index()),!1});const f=$("#nav").data("menu-url");$.ajax({dataType:"json",url:f,success:function(n){$(".image-detail.left").css("background-image","url("+n.FirstTab.ImageUrl+")");$(".image-detail.left .title").text(n.FirstTab.Title);$(".image-detail.left .description").text(n.FirstTab.Description);$(".image-detail.left .more").text(n.FirstTab.LinkName);$(".image-detail.left .more").attr("href",n.FirstTab.LinkUrl);$(".image-detail.right").css("background-image","url("+n.SecondTab.ImageUrl+")");$(".image-detail.right .title").text(n.SecondTab.Title);$(".image-detail.right .description").text(n.SecondTab.Description);$(".image-detail.right .more").text(n.SecondTab.LinkName);$(".image-detail.right .more").attr("href",n.SecondTab.LinkUrl)}});$("div.popup-buy div.popup table tr td.col3 a").on("click",function(){return confirm($("[name=brokerDisclaimerText]").val())?!0:!1});$(document).ready(function(){const n=$("a[href^='znvygb:']");n.length>0&&$.each(n,function(n,t){const r=$(t).attr("href"),u=$.rot13(r);$(t).attr("href",u);const f=$(t).html(),i=$(t).text(),e=$.rot13(i),o=f.replace(i,e);$(t).html(o)});$("a.benchmark-opener, strong.benchmark-opener").on("click",function(n){var i=n.target,t;$(i).is("a")?(i=n.target.parentNode,t=$(i).find("div.benchmarkPanel")):(i=n.target.parentNode,t=$(i).next("div.benchmarkPanel"));const r=t.attr("data-isin");return t.is(":hidden")&&r!=""&&t.load("/Product/ProductDetailsValueDevelopment?"+r),t.slideToggle(),!1})});o(30);window.setTimeout(function(){$(window).scroll()},150);$(document).ajaxError(function(n,t){t.status===401&&location.reload()})}),function(){function n(n){const t=/^true$/i.test(n);return!t&&!/^false$/i.test(n)?null:t}$.validator.addMethod("requiredboolean",function(t,i,r){const u=n(t);return u===r});$.validator.unobtrusive.adapters.add("requiredboolean",["requiredvalue"],function(t){t.rules.requiredboolean=n(t.params.requiredvalue);t.messages.requiredboolean=t.message})}();$(function(){(function(){function n(){document.location.href=$("#smallFundFinderForm").data("search-url")+"?q="+$("#searchTextBox").val().replace("&","%26").replace("+","%2B")}$("#searchTextBox").keypress(function(t){if(t.which==13){if($.trim($("#searchTextBox").val())===""){$("#smallFundFinderForm").submit();return}t.preventDefault();n()}});$("#searchTermSubmit").on("click",function(){if($.trim($("#searchTextBox").val())===""){$("#smallFundFinderForm").submit();return}n();e.preventDefault()})})()}),function(n,t){"use strict";function i(){return t}typeof define=="function"&&define.amd?define("tinysort",i):n.tinysort=t}(this,function(){"use strict";function p(s,a){function ht(){arguments.length===0?ft({}):u(arguments,function(n){ft(k(n)?{selector:n}:n)});c=b.length}function ft(n){var r=!!n.selector,u=r&&n.selector[0]===":",i=f(n||{},l);b.push(f({hasSelector:r,hasAttr:!(i.attr===t||i.attr===""),hasData:i.data!==t,hasFilter:u,sortReturnNumber:i.order==="asc"?1:-1},i))}function ct(){u(s,function(n,t){d?d!==n.parentNode&&(ut=!1):d=n.parentNode;var r=b[0],e=r.hasFilter,i=r.selector,o=!i||e&&n.matchesSelector(i)||i&&n.querySelector(i),u=o?p:ot,f={elm:n,pos:t,posn:u.length};rt.push(f);u.push(f)});w=p.slice(0)}function lt(){p.sort(at)}function at(t,f){var e=0,a,d,p,w,it,rt;for(r!==0&&(r=0);e===0&&r<c;){if(a=b[r],d=a.ignoreDashes?y:v,u(o,function(n){var t=n.prepare;t&&t(a)}),a.sortFunction)e=a.sortFunction(t,f);else if(a.order=="rand")e=Math.random()<.5?1:-1;else{var nt=n,s=et(t,a),l=et(f,a),g=s===""||s===i,tt=l===""||l===i;s===l?e=0:a.emptyEnd&&(g||tt)?e=g&&tt?0:g?1:-1:(a.forceStrings||(p=k(s)?s&&s.match(d):n,w=k(l)?l&&l.match(d):n,p&&w&&(it=s.substr(0,s.length-p[0].length),rt=l.substr(0,l.length-w[0].length),it==rt&&(nt=!n,s=h(p[0]),l=h(w[0])))),e=s===i||l===i?0:s<l?-1:s>l?1:0)}u(o,function(n){var t=n.sort;t&&(e=t(a,nt,s,l,e))});e*=a.sortReturnNumber;e===0&&r++}return e===0&&(e=t.pos>f.pos?1:-1),e}function vt(){var s=p.length===rt.length,o;if(ut&&s)st?p.forEach(function(n,t){n.elm.style.order=t}):d.appendChild(g());else{var h=b[0],t=h.place,c=t==="org",i=t==="start",u=t==="end",f=t==="first",l=t==="last";if(c)p.forEach(nt),p.forEach(function(n,t){tt(w[t],n.elm)});else if(i||u){var n=w[i?0:w.length-1],r=n.elm.parentNode,e=i?r.firstChild:r.lastChild;e!==n.elm&&(n={elm:e});nt(n);u&&r.appendChild(n.ghost);tt(n,g())}else(f||l)&&(o=w[f?0:w.length-1],tt(nt(o),g()))}}function g(){return p.forEach(function(n){it.appendChild(n.elm)}),it}function nt(n){var t=n.elm,i=e.createElement("div");return n.ghost=i,t.parentNode.insertBefore(i,t),n}function tt(n,t){var i=n.ghost,r=i.parentNode;r.insertBefore(t,i);r.removeChild(i);delete n.ghost}function et(n,i){var r,u=n.elm;return i.selector&&(i.hasFilter?u.matchesSelector(i.selector)||(u=t):u=u.querySelector(i.selector)),i.hasAttr?r=u.getAttribute(i.attr):i.useVal?r=u.value||u.getAttribute("value"):i.hasData?r=u.getAttribute("data-"+i.data):u&&(r=u.textContent),k(r)&&(i.cases||(r=r.toLowerCase()),r=r.replace(/\s+/g," ")),r}function k(n){return typeof n=="string"}k(s)&&(s=e.querySelectorAll(s));s.length===0&&console.warn("No elements to sort");var it=e.createDocumentFragment(),rt=[],p=[],ot=[],w,b=[],d,ut=!0,st=s.length&&(a===i||a.useFlex!==!1)&&getComputedStyle(s[0].parentNode,null).display.indexOf("flex")!==-1;return ht.apply(t,Array.prototype.slice.call(arguments,1)),ct(),lt(),vt(),p.map(function(n){return n.elm})}function u(n,t){for(var r=n.length,u=r,i;u--;)i=r-u-1,t(n[i],i)}function f(n,t,r){for(var u in t)(r||n[u]===i)&&(n[u]=t[u]);return n}function a(n,t,i){o.push({prepare:n,sort:t,sortBy:i})}var n=!1,i,t=null,s=window,e=s.document,h=parseFloat,v=/(-?\d+\.?\d*)\s*$/g,y=/(\d+\.?\d*)\s*$/g,o=[],c=0,r=0,l={selector:t,order:"asc",attr:t,data:t,useVal:n,place:"org",returns:n,cases:n,forceStrings:n,ignoreDashes:n,sortFunction:t,useFlex:n,emptyEnd:n};return i,s.Element&&function(n){n.matchesSelector=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(n){for(var t=this,i=(t.parentNode||t.document).querySelectorAll(n),r=-1;i[++r]&&i[r]!=t;);return!!i[r]}}(Element.prototype),f(a,{loop:u}),f(p,{plugin:a,defaults:l})}()),function(n){"use strict";typeof define=="function"&&define.amd?define(["jquery","tinysort"],n):jQuery&&!jQuery.fn.tsort&&n(jQuery,tinysort)}(function(n,t){"use strict";n.tinysort={defaults:t.defaults};n.fn.extend({tinysort:function(){var u=Array.prototype.slice.call(arguments),i,r,n,f;for(u.unshift(this),i=t.apply(null,u),r=i.length,n=0,f=this.length;n<f;n++)n<r?this[n]=i[n]:delete this[n];return this.length=r,this}});n.fn.tsort=n.fn.tinysort})