(function(h){h.html5={};h.html5.version="6.10.4906";h=h.utils.css;h(".jwplayer ".slice(0,-1)+" div span a img ul li video".split(" ").join(", .jwplayer ")+", .jwclick",{margin:0,padding:0,border:0,color:"#000000","font-size":"100%",font:"inherit","vertical-align":"baseline","background-color":"transparent","text-align":"left",direction:"ltr","-webkit-tap-highlight-color":"rgba(255, 255, 255, 0)"});h(".jwplayer ul",{"list-style":"none"})})(jwplayer); (function(h){var k=document;h.parseDimension=function(b){return"string"==typeof b?""===b?0:-1e?"0":"")+e+":"+(10>b?"0":"")+b}return"00:00"};h.bounds=function(b){var a={left:0,right:0,width:0,height:0,top:0,bottom:0};if(!b||!k.body.contains(b))return a;if(b.getBoundingClientRect){b=b.getBoundingClientRect(b);var e=window.pageYOffset, g=window.pageXOffset;if(!b.width&&!b.height&&!b.left&&!b.top)return a;a.left=b.left+g;a.right=b.right+g;a.top=b.top+e;a.bottom=b.bottom+e;a.width=b.right-b.left;a.height=b.bottom-b.top}else{a.width=b.offsetWidth|0;a.height=b.offsetHeight|0;do a.left+=b.offsetLeft|0,a.top+=b.offsetTop|0;while(b=b.offsetParent);a.right=a.left+a.width;a.bottom=a.top+a.height}return a};h.empty=function(b){if(b)for(;0D?D=f:f=D;s=!0;break; case k.NONE:f=D=1;case k.EXACTFIT:s=!0;break;default:f>D?0.95I)&&xa(I);s()}},emptied:m,ended:function(){O&&x!=a.IDLE&&(e(W),Z=-1,ia=g,h(b.JWPLAYER_MEDIA_BEFORECOMPLETE),O&&(l(a.IDLE),ia=c,h(b.JWPLAYER_MEDIA_COMPLETE)))},error:function(){O&&(k.log("Error playing media: %o",d.error),h(b.JWPLAYER_MEDIA_ERROR,{message:"Error loading media: File could not be played"}), l(a.IDLE))},loadeddata:m,loadedmetadata:u,loadstart:m,pause:B,play:B,playing:B,progress:j,ratechange:m,readystatechange:m,seeked:function(){!P&&x!=a.PAUSED&&l(a.PLAYING)},seeking:q?y:m,stalled:m,suspend:m,timeupdate:s,volumechange:function(){h(b.JWPLAYER_MEDIA_VOLUME,{volume:Math.round(100*d.volume)});h(b.JWPLAYER_MEDIA_MUTE,{mute:d.muted})},waiting:y,webkitbeginfullscreen:function(a){ya=!0;z(a);k.isIOS()&&(d.controls=c)},webkitendfullscreen:function(a){ya=!1;z(a);k.isIOS()&&(d.controls=c)}},r,K, t,G,A=c,L,I=0,P=c,x=a.IDLE,Y,W=-1,X=-1,O=c,V,Z=-1,ha=k.isAndroidNative(),ja=k.isIOS(7),Ta=[],ia=c,ya=null,Q=k.extend(this,new b.eventdispatcher(f));Q.load=function(a){if(O){V=a.sources;0>Z&&(Z=0);if(V)for(var c=k.getCookies().qualityLabel,d=0;da)){Z=a;k.saveCookie("qualityLabel",V[a].label);h(b.JWPLAYER_MEDIA_LEVEL_CHANGED,{currentQuality:a,levels:p(V)});a=(10*d.currentTime|0)/10;var c=(10*d.duration|0)/10;0>=c&&(c=t);w(a,c)}};Q.getCurrentQuality=function(){return Z};Q.getQualityLevels=function(){return p(V)};d||(d=document.createElement("video"));k.foreach(C,function(a,b){d.addEventListener(a,b,c)});ja||(d.controls=g,d.controls=c);d.setAttribute("x-webkit-airplay", "allow");O=g}})(jwplayer); (function(h,k){function b(){return!1}function a(){}var e=h.jwplayer,g=e.utils,c=e.events,d=c.state,f=new g.scriptloader(h.location.protocol+"//www.youtube.com/iframe_api"),D=g.isMobile(),m=g.isSafari();h.onYouTubeIframeAPIReady=function(){f=null};e.html5.youtube=function(a){function b(a){h.YT&&h.YT.loaded?(K=h.YT,j(a)):setTimeout(b,100)}function u(){z()}function j(){var c;if(c=!!K)c=G.parentNode,c||(P||(e(a).onReady(j),P=!0),c=null),c=!!c;c&&x&&x.apply(r)}function n(b){var e={oldstate:L,newstate:b}; L=b;clearInterval(W);b!==d.IDLE&&(W=setInterval(B,250),b===d.PLAYING?g.css("#"+a+" .jwcontrols",{display:""}):b===d.BUFFERING&&y());r.sendEvent(c.JWPLAYER_PLAYER_STATE,e)}function B(){if(t&&t.getPlayerState){var a=t.getPlayerState();null!==a&&(void 0!==a&&a!==X)&&(X=a,l({data:a}));var b=K.PlayerState;a===b.PLAYING?(y(),a={position:(10*t.getCurrentTime()|0)/10,duration:t.getDuration()},r.sendEvent(c.JWPLAYER_MEDIA_TIME,a)):a===b.BUFFERING&&y()}}function y(){var a=0;t&&t.getVideoLoadedFraction&&(a= Math.round(100*t.getVideoLoadedFraction()));I!==a&&(I=a,r.sendEvent(c.JWPLAYER_MEDIA_BUFFER,{bufferPercent:a}))}function p(){var a={duration:t.getDuration(),width:G.clientWidth,height:G.clientHeight};r.sendEvent(c.JWPLAYER_MEDIA_META,a)}function w(){Y&&(Y.apply(r),Y=null)}function l(a){var b=K.PlayerState;switch(a.data){case b.ENDED:L!=d.IDLE&&(O=!0,r.sendEvent(c.JWPLAYER_MEDIA_BEFORECOMPLETE,void 0),n(d.IDLE),O=!1,r.sendEvent(c.JWPLAYER_MEDIA_COMPLETE,void 0));break;case b.PLAYING:V=!1;Z&&(Z=!1, p(),a={levels:r.getQualityLevels(),currentQuality:r.getCurrentQuality()},r.sendEvent(c.JWPLAYER_MEDIA_LEVELS,a));n(d.PLAYING);break;case b.PAUSED:n(d.PAUSED);break;case b.BUFFERING:n(d.BUFFERING);break;case b.CUED:n(d.IDLE)}}function E(){Z&&r.play()}function z(){r.sendEvent(c.JWPLAYER_MEDIA_ERROR,{message:"Error loading YouTube: Video could not be played"})}function q(){if(D||m)r.setVisibility(!0),g.css("#"+a+" .jwcontrols",{display:"none"})}function H(){clearInterval(W);if(t&&t.stopVideo)try{t.stopVideo(), t.clearVideo()}catch(a){}}function J(){H();G&&(A&&A===G.parentNode)&&A.removeChild(G);x=Y=t=null}function C(a){Y=null;var c=g.youTubeID(a.sources[0].file);a.image||(a.image="http://i.ytimg.com/vi/"+c+"/0.jpg");r.setVisibility(!0);if(t)if(t.getPlayerState)if(t.getVideoData().video_id!==c){V?(H(),t.cueVideoById(c)):t.loadVideoById(c);var b=t.getPlayerState(),d=K.PlayerState;(b===d.UNSTARTED||b===d.CUED)&&q()}else 0w||(a=f.replace(/xx/gi,Math.ceil(w-a)),u(a))}function s(a,c){if("number"==k.typeOf(z))w=z;else if("%"==z.slice(-1)){var b=parseFloat(z.slice(0,-1));c&&!isNaN(b)&&(w=c*b/100)}else"string"==k.typeOf(z)?w=k.seconds(z):isNaN(z)||(w=z)}function v(){l&&C.sendEvent(a.JWPLAYER_AD_SKIPPED)}function u(a){a=a||h;var c=p.getContext("2d");c.clearRect(0,0,e,g);n(c,0,0,e,g,5,!0,!1,!1);n(c,0,0,e,g,5,!1, !0,!1);c.fillStyle="#979797";c.globalAlpha=1;var b=p.height/2,d=p.width/2;c.textAlign="center";c.font="Bold 12px Sans-Serif";a===h&&(d-=q.width,c.drawImage(q,p.width-(p.width-c.measureText(h).width)/2-4,(g-q.height)/2));c.fillText(a,d,b+4)}function j(a){a=a||h;var c=p.getContext("2d");c.clearRect(0,0,e,g);n(c,0,0,e,g,5,!0,!1,!0);n(c,0,0,e,g,5,!1,!0,!0);c.fillStyle="#FFFFFF";c.globalAlpha=1;var b=p.height/2,d=p.width/2;c.textAlign="center";c.font="Bold 12px Sans-Serif";a===h&&(d-=q.width,c.drawImage(H, p.width-(p.width-c.measureText(h).width)/2-4,(g-q.height)/2));c.fillText(a,d,b+4)}function n(a,c,b,d,e,f,j,h,x){"undefined"==typeof h&&(h=!0);"undefined"===typeof f&&(f=5);a.beginPath();a.moveTo(c+f,b);a.lineTo(c+d-f,b);a.quadraticCurveTo(c+d,b,c+d,b+f);a.lineTo(c+d,b+e-f);a.quadraticCurveTo(c+d,b+e,c+d-f,b+e);a.lineTo(c+f,b+e);a.quadraticCurveTo(c,b+e,c,b+e-f);a.lineTo(c,b+f);a.quadraticCurveTo(c,b,c+f,b);a.closePath();h&&(a.strokeStyle="white",a.globalAlpha=x?1:0.25,a.stroke());j&&(a.fillStyle= "#000000",a.globalAlpha=0.5,a.fill())}function B(a,c){var b=document.createElement(a);c&&(b.className=c);return b}var y,p,w=-1,l=!1,E,z=0,q,H,J=!1,C=k.extend(this,new a.eventdispatcher);C.updateSkipTime=function(a,c){s(a,c);0<=w&&(b.style(y,{visibility:E?"visible":"hidden"}),0=t.length||(t[K].data?C.populate(t[K].data):G==t.length?(v("file not loaded: "+t[K].file),0!==L&&E(a.JWPLAYER_CAPTIONS_CHANGED,t,0),L=0):A=c,p(!1))):(L=0,p(!1))}function E(a,c,b){P.sendEvent(a,{type:a,tracks:c,track:b})}function z(){for(var a=[{label:"Off"}],c=0;c=j)){a=c;break}-1==a?h(""):a!=u&&(u=a,h(D[c].text))}function f(a,c,b){b=k.hexToRgba("#000000",b);"dropshadow"===a?c.textShadow="0 2px 1px "+b:"raised"===a?c.textShadow="0 0 5px "+b+", 0 1px 5px "+b+", 0 2px 5px "+b:"depressed"===a?c.textShadow="0 -2px 1px "+b:"uniform"===a&&(c.textShadow="-2px 0 1px "+b+",2px 0 1px "+b+",0 -2px 1px "+b+",0 2px 1px "+b+",-1px 1px 1px "+b+",1px 1px 1px "+b+",1px -1px 1px "+ b+",1px 1px 1px "+b)}var D,m,s,v,u,j,n="visible",B=-1;this.hide=function(){clearInterval(B);b(m,{display:"none"})};this.populate=function(a){u=-1;D=a;d()};this.resize=function(){c()};this.show=function(){b(m,{display:"block"});c();clearInterval(B);B=setInterval(c,250)};this.update=function(a){j=a;D&&d()};var y=a.fontOpacity,p=a.windowOpacity,w=a.edgeStyle,l=a.backgroundColor,E={display:"inline-block"},z={color:k.hexToRgba(k.rgbHex(a.color),y),display:"inline-block",fontFamily:a.fontFamily,fontStyle:a.fontStyle, fontWeight:a.fontWeight,textAlign:"center",textDecoration:a.textDecoration,wordWrap:"break-word"};p&&(E.backgroundColor=k.hexToRgba(k.rgbHex(a.windowColor),p));f(w,z,y);a.back?z.backgroundColor=k.hexToRgba(k.rgbHex(l),a.backgroundOpacity):null===w&&f("uniform",z);m=document.createElement("div");s=document.createElement("div");v=document.createElement("span");b(m,{display:"block",height:"auto",position:"absolute",bottom:"20px",textAlign:"center",width:"100%"});b(s,E);b(v,z);s.appendChild(v);m.appendChild(s); e.appendChild(m)}})(jwplayer); (function(h){function k(a){return a?parseInt(a.width,10)+"px "+parseInt(a.height,10)+"px":"0 0"}var b=h.html5,a=h.utils,e=h.events,g=e.state,c=a.css,d=a.transitionStyle,f=a.isMobile(),D=a.isAndroid(4,!0),m="button",s="text",v="slider",u="none",j="100%",n=!1,B=!0,y=null,p="",w={display:u},l={display:"block"},E={display:p},z="array",q=window,H=document;b.controlbar=function(d,C){function r(a,c,b){return{name:a,type:c,className:b}}function K(b){c.block(aa);var e=b.duration==Number.POSITIVE_INFINITY, j=0===b.duration&&0!==b.position&&a.isSafari()&&!f;e||j?(U.setText(d.jwGetPlaylist()[d.jwGetPlaylistIndex()].title||"Live broadcast"),ja(!1)):(F.elapsed&&(e=a.timeFormat(b.position),F.elapsed.innerHTML=e),F.duration&&(e=a.timeFormat(b.duration),F.duration.innerHTML=e),0a&&(a=0);0.9d+(la.margin|0)?c.style(R,{width:d}):c.style(R,{width:p}));wa&&c.style(wa.element(),{display:!ua&&!ma?"block":u});c.style(F.hd,{display:!ua&&!b&&!ma&&ga&&1j-Z?(h.jwSetFullscreen(),Z=void 0):Z=(new Date).getTime();var f=b.bounds(z.parentNode.querySelector(".jwcontrolbar")),g=b.bounds(z),j=f.left-10-g.left,B=f.left+30- g.left,t=g.bottom-40,r=g.bottom,q=f.right-30-g.left,f=f.right+10-g.left;if(c&&!(d.x>=j&&d.x<=B&&d.y>=t&&d.y<=r)){if(d.x>=q&&d.x<=f&&d.y>=t&&d.y<=r){h.jwSetFullscreen();return}O.sendEvent(a.JWPLAYER_DISPLAY_CLICK);if(I)return}switch(h.jwGetState()){case e.PLAYING:case e.BUFFERING:h.jwPause();break;default:h.jwPlay()}}}function j(a,b){X.showicons&&(a||b?(x.setRotation("buffer"==a?parseInt(X.bufferrotation,10):0,parseInt(X.bufferinterval,10)),x.setIcon(a),x.setText(b)):x.hide())}function n(a){C!=a?(C&& E(f,m),(C=a)?(a=new Image,a.addEventListener("load",p,m),a.src=C):(g("#"+z.id+" "+f,{"background-image":""}),E(f,m),r=K=0)):C&&!I&&E(f,D);y(h.jwGetState())}function B(a){clearTimeout(ha);ha=setTimeout(function(){y(a.newstate)},100)}function y(a){a=Y?Y:h?h.jwGetState():e.IDLE;if(a!=W)switch(W=a,x&&x.setRotation(0),a){case e.IDLE:!A&&!L&&(C&&!t&&E(f,D),a=!0,h._model&&!1===h._model.config.displaytitle&&(a=!1),j("play",J&&a?J.title:""));break;case e.BUFFERING:A=m;G.error&&G.error.setText();L=m;j("buffer"); break;case e.PLAYING:j();break;case e.PAUSED:j("play")}}function p(){r=this.width;K=this.height;y(h.jwGetState());l();C&&g("#"+z.id+" "+f,{"background-image":"url("+C+")"})}function w(a){A=D;j("error",a.message)}function l(){0d.left&&c.offsetX(j.left-d.left+8);n.show();b.foreach(z, function(a,b){a!=g&&b.hide()})},!1);t.addEventListener("mouseout",function(){m=setTimeout(n.hide,100)},!1);q.appendChild(n.element());z[g]=n}}l++;B()}};C.removeButton=function(a){if(E[a]){H.removeChild(E[a].element);H.removeChild(E[a].divider);var b=document.getElementById(""+p+"_"+a+"_tooltip");b&&q.removeChild(b);delete E[a];l--;B()}};C.numButtons=function(){return l};C.visible=!1;q=j("div","jwdock");H=j("div","jwdockbuttons");q.appendChild(H);q.id=p;var r=n("button"),K=n("buttonOver"),t=n("buttonActive"); r&&(a(u(),{height:r.height,padding:y.margin}),a(g,{height:r.height}),a(u("div.button"),b.extend(s(r),{width:r.width,cursor:"pointer",border:d})),a(u("div.button:hover"),s(K)),a(u("div.button:active"),s(t)),a(u("div.button\x3ediv"),{opacity:y.iconalpha}),a(u("div.button:hover\x3ediv"),{opacity:y.iconalphaover}),a(u("div.button:active\x3ediv"),{opacity:y.iconalphaactive}),a(u(".jwoverlay"),{top:y.margin+r.height}),v("capLeft",H),v("capRight",H),v("divider"));setTimeout(function(){e(q)})};a(".jwdock", {opacity:0,display:d});a(".jwdock \x3e *",{height:"100%","float":"left"});a(".jwdock \x3e .jwoverlay",{height:"auto","float":d,"z-index":99});a(g+" div.button",{position:"relative"});a(g+" \x3e *",{height:"100%","float":"left"});a(g+" .divider",{display:d});a(g+" div.button ~ .divider",{display:f});a(g+" .capLeft, "+g+" .capRight",{display:d});a(g+" .capRight",{"float":"right"});a(g+" div.button \x3e div",{left:0,right:0,top:0,bottom:0,margin:5,position:"absolute","background-position":"center","background-repeat":"no-repeat"}); b.transitionStyle(".jwdock","background .25s, opacity .25s");b.transitionStyle(".jwdock .jwoverlay","opacity .25s");b.transitionStyle(g+" div.button div","opacity .25s")})(jwplayer); (function(h){var k=h.html5,b=h.utils,a=h.events,e=a.state,g=h.playlist;k.instream=function(c,d,f,h){function m(a){B(a.type,a);I&&c.jwInstreamDestroy(!1,x)}function s(a){B(a.type,a);j()}function v(a){B(a.type,a)}function u(){A&&A.releaseState(x.jwGetState());t.play()}function j(){if(l&&E+1a&&x.jwInstreamSeek(a)}};x.jwSeekDrag=function(a){I.seekDrag(a)};x.jwGetPosition=function(){};x.jwGetDuration=function(){};x.jwGetWidth=c.jwGetWidth;x.jwGetHeight=c.jwGetHeight;x.jwGetFullscreen=c.jwGetFullscreen;x.jwSetFullscreen=c.jwSetFullscreen;x.jwGetVolume=function(){return d.volume};x.jwSetVolume=function(a){I.setVolume(a);c.jwSetVolume(a)};x.jwGetMute= function(){return d.mute};x.jwSetMute=function(a){I.setMute(a);c.jwSetMute(a)};x.jwGetState=function(){return!I?e.IDLE:I.state};x.jwGetPlaylist=function(){return[w]};x.jwGetPlaylistIndex=function(){return 0};x.jwGetStretching=function(){return d.config.stretching};x.jwAddEventListener=function(a,b){x.addEventListener(a,b)};x.jwRemoveEventListener=function(a,b){x.removeEventListener(a,b)};x.jwSetCurrentQuality=function(){};x.jwGetQualityLevels=function(){return[]};x.jwGetControls=function(){return c.jwGetControls()}; x.skin=c.skin;x.id=c.id+"_instream";return x}})(window.jwplayer); (function(h){var k=h.utils,b=k.css,a=h.events.state,e=h.html5.logo=function(g,c){function d(b){k.exists(b)&&b.stopPropagation&&b.stopPropagation();if(!u||!m.link)f.jwGetState()==a.IDLE||f.jwGetState()==a.PAUSED?f.jwPlay():f.jwPause();u&&m.link&&(f.jwPause(),f.jwSetFullscreen(!1),window.open(m.link,m.linktarget))}var f=g,D=f.id+"_logo",m,s,v=e.defaults,u=!1;this.resize=function(){};this.element=function(){return s};this.offset=function(a){b("#"+D+" ",{"margin-bottom":a})};this.position=function(){return m.position}; this.margin=function(){return parseInt(m.margin)};this.hide=function(a){if(m.hide||a)u=!1,s.style.visibility="hidden",s.style.opacity=0};this.show=function(){u=!0;s.style.visibility="visible";s.style.opacity=1};var j="o";f.edition&&(j=f.edition(),j="pro"==j?"p":"premium"==j?"r":"ads"==j?"a":"free"==j?"f":"o");if("o"==j||"f"==j)v.link="http://www.longtailvideo.com/jwpabout/?a\x3dl\x26v\x3d"+h.version+"\x26m\x3dh\x26e\x3d"+j;m=k.extend({},v,c);m.hide="true"==m.hide.toString();s=document.createElement("img"); s.className="jwlogo";s.id=D;if(m.file){var v=/(\w+)-(\w+)/.exec(m.position),j={},n=m.margin;3==v.length?(j[v[1]]=n,j[v[2]]=n):j.top=j.right=n;b("#"+D+" ",j);s.src=(m.prefix?m.prefix:"")+m.file;k.isMobile()?(new k.touch(s)).addEventListener(k.touchEvents.TAP,d):s.onclick=d}else s.style.display="none";return this};e.defaults={prefix:k.repo(),file:"logo.png",linktarget:"_top",margin:8,hide:!1,position:"top-right"};b(".jwlogo",{cursor:"pointer",position:"absolute"})})(jwplayer); (function(h){var k=h.html5,b=h.utils,a=b.css;k.menu=function(e,g,c,d){function f(a){return!a||!a.src?{}:{background:"url("+a.src+") no-repeat left","background-size":a.width+"px "+a.height+"px"}}function h(a,b){return function(){B(a);v&&v(b)}}function m(a,b){var c=document.createElement("div");a&&(c.className=a);b&&b.appendChild(c);return c}function s(a){return(a=c.getSkinElement("tooltip",a))?a:{width:0,height:0,src:void 0}}var v=d,u=new k.overlay(g+"_overlay",c);d=b.extend({fontcase:void 0,fontcolor:"#cccccc", fontsize:11,fontweight:void 0,activecolor:"#ffffff",overcolor:"#ffffff"},c.getComponentSettings("tooltip"));var j,n=[];this.element=function(){return u.element()};this.addOption=function(a,c){var d=m("jwoption",j);d.id=g+"_option_"+c;d.innerHTML=a;b.isMobile()?(new b.touch(d)).addEventListener(b.touchEvents.TAP,h(n.length,c)):d.addEventListener("click",h(n.length,c));n.push(d)};this.clearOptions=function(){for(;0c?(c=0,e=!0):c=-1==c||c>d.playlist.length?d.playlist.length-1:c;if(e||c!==d.item){d.item=c;d.sendEvent(a.JWPLAYER_PLAYLIST_ITEM,{index:d.item});e=d.playlist[c];c=D.html5;if(d.playlist.length){var j=e.sources[0];if("youtube"===j.type||b.isYouTube(j.file))c=D.youtube,c!==f&&(c&&c.destroy(),c=D.youtube=new k.youtube(d.id))}d.setVideo(c);c.init&&c.init(e)}};d.setVolume=function(e){d.mute&&0a.right?p.offsetX(a.right-d.right):d.lefta&&(a=0);1D[e].end;)e++;e===D.length&&e--;e=D[e].text;a:{var f=e;if(f&&f!==v){v=f;0>f.indexOf("://")&&(f=m?m+"/"+f:f);var g={display:"block",margin:"0 auto", "background-position":"0 0",width:0,height:0};if(0=a.keyCode){var c=(a.keyCode-48)/10*b.getDuration();b.seek(c)}}if(/13|32|37|38|39|40/.test(a.keyCode))return a.preventDefault(),!1}function H(){var a= !Ha;Ha=!1;a&&ka.sendEvent(e.JWPLAYER_VIEW_TAB_FOCUS,{hasFocus:!0});M.adMode()||(ia(),A())}function J(){Ha=!1;ka.sendEvent(e.JWPLAYER_VIEW_TAB_FOCUS,{hasFocus:!1})}function C(){var a=d(N),b=Math.round(a.width),c=Math.round(a.height);if(s.body.contains(N)){if(b&&c&&(b!==Za||c!==Ka))Za=b,Ka=c,S&&S.redraw(),clearTimeout(sa),sa=setTimeout(Z,50),ka.sendEvent(e.JWPLAYER_RESIZE,{width:b,height:c})}else h.removeEventListener("resize",C),f&&h.removeEventListener("orientationchange",C);return a}function r(a){a&& (a.element().addEventListener("mousemove",I,n),a.element().addEventListener("mouseout",P,n))}function K(){}function t(){clearTimeout(Ba);Ba=setTimeout(Ca,10)}function G(a,b){var c=s.createElement(a);b&&(c.className=b);return c}function A(){clearTimeout(Ba);Ba=setTimeout(Ca,$a)}function L(){clearTimeout(Ba);var a=w.jwGetState();if(a===g.PLAYING||a===g.PAUSED||T)Da(),ga||(Ba=setTimeout(Ca,$a))}function I(){clearTimeout(Ba);ga=j}function P(){ga=n}function x(a){ka.sendEvent(a.type,a)}function Y(){var a= k.cast;return a&&a.available&&a.available()}function W(a){if(a.done)X();else{if(!a.complete){M.adMode()||(M.instreamMode(!0),M.adMode(!0),M.show(!0));M.setText(a.message);var b=a.onClick;void 0!==b&&S.setAlternateClickHandler(function(){b(a)});void 0!==a.onSkipAd&&ca&&ca.setSkipoffset(a,a.onSkipAd)}ca&&ca.adChanged(a)}}function X(){M.setText("");M.adMode(!1);M.instreamMode(!1);M.show(!0);ca&&(ca.adsEnded(),ca.setState(w.jwGetState()));S.revertAlternateClickHandler()}function O(b,d,e){var f=N.className, g,h,k=w.id+"_view";c.block(k);if(e=!!e)f=f.replace(/\s*aspectMode/,""),N.className!==f&&(N.className=f),c.style(N,{display:p},e);a.exists(b)&&a.exists(d)&&(l.width=b,l.height=d);e={width:b};-1==f.indexOf(v)&&(e.height=d);c.style(N,e,!0);S&&S.redraw();M&&M.redraw(j);$&&($.offset(M&&0<=$.position().indexOf("bottom")?M.height()+M.margin():0),setTimeout(function(){ea&&ea.offset("top-left"==$.position()?$.element().clientWidth+$.margin():0)},500));V(d);g=l.playlistsize;h=l.playlistposition;if(la&&g&&("right"== h||"bottom"==h))la.redraw(),f={display:p},e={},f[h]=0,e[h]=g,"right"==h?f.width=g:f.height=g,c.style(Ra,f),c.style(Aa,e);Z(b,d);c.unblock(k)}function V(a){var b=d(N);da=0=b.height;M&&(da?(M.audioMode(j),Da(),S.hidePreview(j),S&&S.hide(),Ea(n)):(M.audioMode(n),Qa(w.jwGetState())));$&&da&&xa();N.style.backgroundColor=da?"transparent":"#000"}function Z(a,b){if(!a||isNaN(Number(a))){if(!ba)return;a= ba.clientWidth}if(!b||isNaN(Number(b))){if(!ba)return;b=ba.clientHeight}l.getVideo().resize(a,b,l.stretching)&&(clearTimeout(sa),sa=setTimeout(Z,250))}function ha(a){if(a.target===N||N.contains(a.target))void 0!==a.jwstate?a=a.jwstate:Ia?(a=s.currentFullScreenElement||s.webkitCurrentFullScreenElement||s.mozFullScreenElement||s.msFullscreenElement,a=!!(a&&a.id===w.id)):a=l.getVideo().getFullScreen(),Ia?ja(N,a):Ta(a)}function ja(b,d){a.removeClass(b,"jwfullscreen");d?(a.addClass(b,"jwfullscreen"),c.style(s.body, {"overflow-y":B}),A()):c.style(s.body,{"overflow-y":""});M&&M.redraw();S&&S.redraw();ea&&ea.redraw();Z();Ta(d)}function Ta(a){l.setFullscreen(a);a?(clearTimeout(sa),sa=setTimeout(Z,200)):D&&w.jwGetState()==g.PAUSED&&setTimeout(Fa,500)}function ia(){M&&l.controls&&(T?Na.show():M.show())}function ya(){R!==j&&M&&(!da&&!l.getVideo().audioMode())&&(T?Na.hide():M.hide())}function Q(){ea&&(!da&&l.controls)&&ea.show()}function Sa(){ea&&(!aa&&!l.getVideo().audioMode())&&ea.hide()}function xa(){$&&(!l.getVideo().audioMode()|| da)&&$.hide(da)}function Fa(){S&&l.controls&&!da&&(!m||w.jwGetState()==g.IDLE)&&S.show();(!f||!l.fullscreen)&&l.getVideo().setControls(n)}function Ca(){clearTimeout(Ba);if(R!==j){Ja=n;var b=w.jwGetState();(!l.controls||b!=g.PAUSED)&&ya();l.controls||Sa();b!=g.IDLE&&b!=g.PAUSED&&(Sa(),xa());a.addClass(N,"jw-user-inactive")}}function Da(){if(R!==n){Ja=j;if(l.controls||da)ia(),Q();rb.hide&&$&&!da&&$.show();a.removeClass(N,"jw-user-inactive")}}function Ea(a){a=a&&!da;l.getVideo().setVisibility(a)}function cb(){aa= j;wa(n);l.controls&&Q()}function vb(){ca&&ca.setState(w.jwGetState())}function kb(){}function Oa(a){aa=n;clearTimeout(eb);eb=setTimeout(function(){Qa(a.newstate)},100)}function wb(){ya()}function Qa(a){if(l.getVideo().isCaster)S&&(S.show(),S.hidePreview(n)),c.style(ba,{visibility:B,opacity:0}),M&&(M.show(),M.hideFullscreen(j));else{switch(a){case g.PLAYING:R=l.getVideo().isCaster!==j?null:j;(T?Ga:l).getVideo().audioMode()?(Ea(n),S.hidePreview(da),S.setHiding(j),M&&(Da(),M.hideFullscreen(j)),Q()): (Ea(j),Z(),S.hidePreview(j),M&&M.hideFullscreen(!l.getVideo().supportsFullscreen()));break;case g.IDLE:Ea(n);da||(S.hidePreview(n),Fa(),Q(),M&&M.hideFullscreen(n));break;case g.BUFFERING:Fa();Ca();f&&Ea(j);break;case g.PAUSED:Fa(),Da()}$&&!da&&$.show()}}function Wa(a){return"#"+w.id+(a?" ."+a:"")}function Xa(a,b){c(a,{display:b?p:y})}var N,Aa,qa,qb,Ra,Ba=-1,$a=f?4E3:2E3,ba,Za,Ka,va,Na,Ua,Ga,T=n,M,S,ca,ea,$,rb=a.extend({},l.componentConfig("logo")),ta,la,da,F=n,Ja=n,R=null,aa,ra,sa=-1,ga=n,Pa,fa,Ia= !1,Ha=!1,ka=a.extend(this,new e.eventdispatcher);this.getCurrentCaptions=function(){return ta.getCurrentCaptions()};this.setCurrentCaptions=function(a){ta.setCurrentCaptions(a)};this.getCaptionsList=function(){return ta.getCaptionsList()};this.setup=function(d){if(!F){w.skin=d;Aa=G("span","jwmain");Aa.id=w.id+"_view";ba=G("span","jwvideo");ba.id=w.id+"_media";qa=G("span","jwcontrols");va=G("span","jwinstream");Ra=G("span","jwplaylistcontainer");qb=G("span","jwaspect");d=l.height;var q=l.componentConfig("controlbar"), B=l.componentConfig("display");V(d);ta=new b.captions(w,l.captions);ta.addEventListener(e.JWPLAYER_CAPTIONS_LIST,x);ta.addEventListener(e.JWPLAYER_CAPTIONS_CHANGED,x);ta.addEventListener(e.JWPLAYER_CAPTIONS_LOADED,K);qa.appendChild(ta.element());S=new b.display(w,B);S.addEventListener(e.JWPLAYER_DISPLAY_CLICK,function(a){x(a);f?Ja?Ca():Da():Oa({newstate:w.jwGetState()});Ja&&A()});da&&S.hidePreview(j);qa.appendChild(S.element());$=new b.logo(w,rb);qa.appendChild($.element());ea=new b.dock(w,l.componentConfig("dock")); qa.appendChild(ea.element());w.edition&&!f?ra=new b.rightclick(w,{abouttext:l.abouttext,aboutlink:l.aboutlink}):f||(ra=new b.rightclick(w,{}));l.playlistsize&&(l.playlistposition&&l.playlistposition!=y)&&(la=new b.playlistcomponent(w,{}),Ra.appendChild(la.element()));M=new b.controlbar(w,q);M.addEventListener(e.JWPLAYER_USER_ACTION,A);qa.appendChild(M.element());m&&ya();Y()&&ka.forceControls(j);Aa.appendChild(ba);Aa.appendChild(qa);Aa.appendChild(va);N.appendChild(Aa);N.appendChild(qb);N.appendChild(Ra); l.getVideo().setContainer(ba);l.addEventListener("fullscreenchange",ha);for(d=u.length;d--;)s.addEventListener(u[d],ha,n);h.removeEventListener("resize",C);h.addEventListener("resize",C,n);f&&(h.removeEventListener("orientationchange",C),h.addEventListener("orientationchange",C,n));k(w.id).onAdPlay(function(){M.adMode(!0);Qa(g.PLAYING);A()});k(w.id).onAdSkipped(function(){M.adMode(!1)});k(w.id).onAdComplete(function(){M.adMode(!1)});k(w.id).onAdError(function(){M.adMode(!1)});w.jwAddEventListener(e.JWPLAYER_PLAYER_READY, kb);w.jwAddEventListener(e.JWPLAYER_PLAYER_STATE,Oa);w.jwAddEventListener(e.JWPLAYER_MEDIA_ERROR,wb);w.jwAddEventListener(e.JWPLAYER_PLAYLIST_COMPLETE,cb);w.jwAddEventListener(e.JWPLAYER_PLAYLIST_ITEM,vb);w.jwAddEventListener(e.JWPLAYER_CAST_AVAILABLE,function(){Y()?ka.forceControls(j):ka.releaseControls()});w.jwAddEventListener(e.JWPLAYER_CAST_SESSION,function(a){ca||(ca=new k.html5.castDisplay(w.id),ca.statusDelegate=function(a){ca.setState(a.newstate)});a.active?(c.style(ta.element(),{display:"none"}), ka.forceControls(j),ca.setState("connecting").setName(a.deviceName).show(),w.jwAddEventListener(e.JWPLAYER_PLAYER_STATE,ca.statusDelegate),w.jwAddEventListener(e.JWPLAYER_CAST_AD_CHANGED,W)):(w.jwRemoveEventListener(e.JWPLAYER_PLAYER_STATE,ca.statusDelegate),w.jwRemoveEventListener(e.JWPLAYER_CAST_AD_CHANGED,W),ca.hide(),M.adMode()&&X(),c.style(ta.element(),{display:null}),Oa({newstate:w.jwGetState()}),C())});Oa({newstate:g.IDLE});f||(qa.addEventListener("mouseout",t,n),qa.addEventListener("mousemove", L,n),a.isMSIE()&&(ba.addEventListener("mousemove",L,n),ba.addEventListener("click",S.clickHandler)));r(M);r(ea);r($);c("#"+N.id+"."+v+" .jwaspect",{"margin-top":l.aspectratio,display:p});d=a.exists(l.aspectratio)?parseFloat(l.aspectratio):100;q=l.playlistsize;c("#"+N.id+".playlist-right .jwaspect",{"margin-bottom":-1*q*(d/100)+"px"});c("#"+N.id+".playlist-right .jwplaylistcontainer",{width:q+"px",right:0,top:0,height:"100%"});c("#"+N.id+".playlist-bottom .jwaspect",{"padding-bottom":q+"px"});c("#"+ N.id+".playlist-bottom .jwplaylistcontainer",{width:"100%",height:q+"px",bottom:0});c("#"+N.id+".playlist-right .jwmain",{right:q+"px"});c("#"+N.id+".playlist-bottom .jwmain",{bottom:q+"px"});setTimeout(function(){O(l.width,l.height)},0)}};var wa=this.fullscreen=function(b){a.exists(b)||(b=!l.fullscreen);b=!!b;b!==l.fullscreen&&(Ia?(b?Pa.apply(N):fa.apply(s),ja(N,b)):l.getVideo().setFullScreen(b))};this.resize=function(a,b){O(a,b,j);C()};this.resizeMedia=Z;var La=this.completeSetup=function(){c.style(N, {opacity:1});h.onbeforeunload=function(){l.getVideo().isCaster||w.jwStop()}},eb;this.setupInstream=function(a,b,d,e){c.unblock();Xa(Wa("jwinstream"),j);Xa(Wa("jwcontrols"),n);va.appendChild(a);Na=b;Ua=d;Ga=e;Oa({newstate:g.PLAYING});T=j;va.addEventListener("mousemove",L);va.addEventListener("mouseout",t)};this.destroyInstream=function(){c.unblock();Xa(Wa("jwinstream"),n);Xa(Wa("jwcontrols"),j);va.innerHTML="";va.removeEventListener("mousemove",L);va.removeEventListener("mouseout",t);T=n};this.setupError= function(a){F=j;k.embed.errorScreen(N,a,l);La()};this.addButton=function(a,b,c,d){ea&&(ea.addButton(a,b,c,d),w.jwGetState()==g.IDLE&&Q())};this.removeButton=function(a){ea&&ea.removeButton(a)};this.setControls=function(a){var b=l.controls,c=!!a;l.controls=c;c!=b&&(T?a?(Na.show(),Ua.show()):(Na.hide(),Ua.hide()):c?Oa({newstate:w.jwGetState()}):(Ca(),S&&S.hide()),ka.sendEvent(e.JWPLAYER_CONTROLS,{controls:c}))};this.forceControls=function(a){R=!!a;a?Da():Ca()};this.releaseControls=function(){R=null; Qa(w.jwGetState())};this.addCues=function(a){M&&M.addCues(a)};this.forceState=function(a){S.forceState(a)};this.releaseState=function(){S.releaseState(w.jwGetState())};this.getSafeRegion=function(){var a={x:0,y:0,width:0,height:0};if(!l.controls)return a;M.showTemp();ea.showTemp();var b=d(Aa),c=b.top,e=T?d(s.getElementById(w.id+"_instream_controlbar")):d(M.element()),f=T?n:0e&&(h=c))}(b=h)?(null===L&&(L=a("div","companion"),g(l,L)),b.width/b.height> u?(c=316,d=b.height*c/b.width):(d=176,c=b.width*d/b.height),m.style(L,{"background-image":b.source,"background-size":c+"px "+d+"px"})):p()};this.adChanged=function(b){if(b.complete)A&&A.reset(-1),G=null;else{A&&(void 0===b.skipoffset?s():(b.position||b.duration)&&A.updateSkipTime(b.position|0,b.duration|0));var c=b.tag+b.sequence;c!==G&&(m(K+" .jwpreview",{opacity:0}),b.companions?this.setCompanions(b.companions):p(),b.clickthrough?null===I&&(I=a("div","click-label"),I.innerText="Click here to learn more \x3e", g(l,I)):y(),G=c,this.setState(b.newstate))}};this.adsEnded=function(){s();p();y();m(K+" .jwpreview",{opacity:0.6});G=null};this.destroy=function(){this.hide();l.parentNode&&l.parentNode.removeChild(l)}};var j=".jwcast button";m(j,{opacity:1});m(j+":hover",{opacity:0.75});j+=".off";m(j,{opacity:0.75});m(j+":hover",{opacity:1})})(jwplayer,document); (function(h){var k=jwplayer.utils.extend,b=h.logo;b.defaults.prefix="";b.defaults.file="data:image/png;base64,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";h.logo= function(a,e){"free"==a.edition()?e=null:(b.defaults.file="",b.defaults.prefix="");k(this,new b(a,e))}})(jwplayer.html5);(function(h){var k=h.html5,b=k.model;k.model=function(a,e){var g=new h.utils.key(a.key),c=new b(a,e),d=c.componentConfig;c.edition=function(){return g.edition()};c.componentConfig=function(a){return"logo"==a?c.logo:d(a)};return c}})(jwplayer); (function(h){var k=h.html5,b=k.player;k.player=function(a){a=new b(a);var e;e=a._model.edition();if("enterprise"===e||"ads"===e)e=new h.cast.controller(a,a._model),a.jwStartCasting=e.startCasting,a.jwStopCasting=e.stopCasting;return a};b.prototype.edition=function(){return this._model.edition()}})(jwplayer); (function(h){var k=jwplayer.utils.extend,b=h.rightclick;h.rightclick=function(a,e){if("free"==a.edition())e.aboutlink="http://www.longtailvideo.com/jwpabout/?a\x3dr\x26v\x3d"+h.version+"\x26m\x3dh\x26e\x3df",delete e.abouttext;else{if(!e.aboutlink){var g="http://www.longtailvideo.com/jwpabout/?a\x3dr\x26v\x3d"+h.version+"\x26m\x3dh\x26e\x3d",c=a.edition();e.aboutlink=g+("pro"==c?"p":"premium"==c?"r":"enterprise"==c?"e":"ads"==c?"a":"f")}e.abouttext?e.abouttext+=" ...":(g=a.edition(),g=g.charAt(0).toUpperCase()+ g.substr(1),e.abouttext="About JW Player "+h.version+" ("+g+" edition)")}k(this,new b(a,e))}})(jwplayer.html5);(function(h){var k=h.view;h.view=function(b,a){var e=new k(b,a),g=e.setup,c=a.edition();e.setup=function(a){g(a)};"invalid"==c&&e.setupError("Error setting up player: Invalid license key");return e}})(window.jwplayer.html5);