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