jQuery(document).ready(function(e){function c(){u.toggleClass("in");setTimeout(function(){f.val("")},350)}e(".x-btn-navbar, .x-btn-navbar-search, .x-btn-widgetbar").click(function(e){e.preventDefault()});e(".x-slider-revolution-container.above .x-slider-scroll-bottom").click(function(t){t.preventDefault();e("html, body").animate({scrollTop:e(".x-slider-revolution-container.above").outerHeight()},850,"easeInOutExpo")});e(".x-slider-revolution-container.below .x-slider-scroll-bottom").click(function(t){t.preventDefault();var n=e(".masthead").outerHeight(),r=e(".x-navbar-fixed-top-active .x-navbar").outerHeight(),i=e(".x-slider-revolution-container.above").outerHeight(),s=e(".x-slider-revolution-container.below").outerHeight(),o=n+i+s-r;e("html, body").animate({scrollTop:o},850,"easeInOutExpo")});var t=e(window),n=e(this),r=e("body"),i=e(".x-navbar"),s=e(".x-navbar-fixed-top-active .x-navbar-wrap");!r.hasClass("page-template-template-blank-3-php")&&!r.hasClass("page-template-template-blank-6-php")&&!r.hasClass("page-template-template-blank-7-php")&&!r.hasClass("page-template-template-blank-8-php")&&(r.hasClass("x-boxed-layout-active")&&r.hasClass("x-navbar-fixed-top-active")&&r.hasClass("admin-bar")?t.scroll(function(){var t=e("#wpadminbar").outerHeight(),r=s.offset().top-t,o=n.scrollTop();o>=r?i.addClass("x-navbar-fixed-top x-container-fluid max width"):i.removeClass("x-navbar-fixed-top x-container-fluid max width")}):r.hasClass("x-navbar-fixed-top-active")&&r.hasClass("admin-bar")?t.scroll(function(){var t=e("#wpadminbar").outerHeight(),r=s.offset().top-t,o=n.scrollTop();o>=r?i.addClass("x-navbar-fixed-top"):i.removeClass("x-navbar-fixed-top")}):r.hasClass("x-boxed-layout-active")&&r.hasClass("x-navbar-fixed-top-active")?t.scroll(function(){var e=s.offset().top,t=n.scrollTop();t>=e?i.addClass("x-navbar-fixed-top x-container-fluid max width"):i.removeClass("x-navbar-fixed-top x-container-fluid max width")}):r.hasClass("x-navbar-fixed-top-active")&&t.scroll(function(){var e=s.offset().top,t=n.scrollTop();t>=e?i.addClass("x-navbar-fixed-top"):i.removeClass("x-navbar-fixed-top")}));e('iframe[src*="youtube.com"]').each(function(){var t=e(this).attr("src");e(this).attr("src").indexOf("?")>0?e(this).attr({src:t+"&wmode=transparent",wmode:"Opaque"}):e(this).attr({src:t+"?wmode=transparent",wmode:"Opaque"})});var o=e(".x-btn-navbar-search"),u=e(".x-searchform-overlay"),a=u.find(".form-search"),f=u.find(".search-query"),l=27;o.click(function(e){e.preventDefault();u.toggleClass("in");f.focus()});u.click(function(t){e(t.target).hasClass("search-query")||c()});e(document).keydown(function(e){e.which===l&&u.hasClass("in")&&c()});e.fn.scrollBottom=function(){return e(document).height()-this.scrollTop()-this.height()}});(function(e,t){typeof define=="function"&&define.amd?define(["jquery"],t):e.jQuery?t(e.jQuery):t(e.Zepto)})(this,function(e,t){e.fn.jPlayer=function(n){var r="jPlayer",i=typeof n=="string",s=Array.prototype.slice.call(arguments,1),o=this;n=!i&&s.length?e.extend.apply(null,[!0,n].concat(s)):n;if(i&&n.charAt(0)==="_")return o;i?this.each(function(){var i=e(this).data(r),u=i&&e.isFunction(i[n])?i[n].apply(i,s):i;if(u!==i&&u!==t){o=u;return!1}}):this.each(function(){var t=e(this).data(r);t?t.option(n||{}):e(this).data(r,new e.jPlayer(n,this))});return o};e.jPlayer=function(t,n){if(arguments.length){this.element=e(n);this.options=e.extend(!0,{},this.options,t);var r=this;this.element.bind("remove.jPlayer",function(){r.destroy()});this._init()}};typeof e.fn.stop!="function"&&(e.fn.stop=function(){});e.jPlayer.emulateMethods="load play pause";e.jPlayer.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate";e.jPlayer.emulateOptions="muted volume";e.jPlayer.reservedEvent="ready flashreset resize repeat error warning";e.jPlayer.event={};e.each(["ready","setmedia","flashreset","resize","repeat","click","error","warning","loadstart","progress","suspend","abort","emptied","stalled","play","pause","loadedmetadata","loadeddata","waiting","playing","canplay","canplaythrough","seeking","seeked","timeupdate","ended","ratechange","durationchange","volumechange"],function(){e.jPlayer.event[this]="jPlayer_"+this});e.jPlayer.htmlEvent=["loadstart","abort","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough"];e.jPlayer.pause=function(){e.each(e.jPlayer.prototype.instances,function(e,t){t.data("jPlayer").status.srcSet&&t.jPlayer("pause")})};e.jPlayer.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:":",sepMin:":",sepSec:""};var n=function(){this.init()};n.prototype={init:function(){this.options={timeFormat:e.jPlayer.timeFormat}},time:function(e){e=e&&typeof e=="number"?e:0;var t=new Date(e*1e3),n=t.getUTCHours(),r=this.options.timeFormat.showHour?t.getUTCMinutes():t.getUTCMinutes()+n*60,i=this.options.timeFormat.showMin?t.getUTCSeconds():t.getUTCSeconds()+r*60,s=this.options.timeFormat.padHour&&n<10?"0"+n:n,o=this.options.timeFormat.padMin&&r<10?"0"+r:r,u=this.options.timeFormat.padSec&&i<10?"0"+i:i,a="";a+=this.options.timeFormat.showHour?s+this.options.timeFormat.sepHour:"";a+=this.options.timeFormat.showMin?o+this.options.timeFormat.sepMin:"";a+=this.options.timeFormat.showSec?u+this.options.timeFormat.sepSec:"";return a}};var r=new n;e.jPlayer.convertTime=function(e){return r.time(e)};e.jPlayer.uaBrowser=function(e){var t=e.toLowerCase(),n=/(webkit)[ \/]([\w.]+)/,r=/(opera)(?:.*version)?[ \/]([\w.]+)/,i=/(msie) ([\w.]+)/,s=/(mozilla)(?:.*? rv:([\w.]+))?/,o=n.exec(t)||r.exec(t)||i.exec(t)||t.indexOf("compatible")<0&&s.exec(t)||[];return{browser:o[1]||"",version:o[2]||"0"}};e.jPlayer.uaPlatform=function(e){var t=e.toLowerCase(),n=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/,r=/(ipad|playbook)/,i=/(android)/,s=/(mobile)/,o=n.exec(t)||[],u=r.exec(t)||!s.exec(t)&&i.exec(t)||[];o[1]&&(o[1]=o[1].replace(/\s/g,"_"));return{platform:o[1]||"",tablet:u[1]||""}};e.jPlayer.browser={};e.jPlayer.platform={};var i=e.jPlayer.uaBrowser(navigator.userAgent);if(i.browser){e.jPlayer.browser[i.browser]=!0;e.jPlayer.browser.version=i.version}var s=e.jPlayer.uaPlatform(navigator.userAgent);if(s.platform){e.jPlayer.platform[s.platform]=!0;e.jPlayer.platform.mobile=!s.tablet;e.jPlayer.platform.tablet=!!s.tablet}e.jPlayer.getDocMode=function(){var t;if(e.jPlayer.browser.msie)if(document.documentMode)t=document.documentMode;else{t=5;document.compatMode&&document.compatMode==="CSS1Compat"&&(t=7)}return t};e.jPlayer.browser.documentMode=e.jPlayer.getDocMode();e.jPlayer.nativeFeatures={init:function(){var e=document,t=e.createElement("video"),n={w3c:["fullscreenEnabled","fullscreenElement","requestFullscreen","exitFullscreen","fullscreenchange","fullscreenerror"],moz:["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],webkit:["","webkitCurrentFullScreenElement","webkitRequestFullScreen","webkitCancelFullScreen","webkitfullscreenchange",""],webkitVideo:["webkitSupportsFullscreen","webkitDisplayingFullscreen","webkitEnterFullscreen","webkitExitFullscreen","",""]},r=["w3c","moz","webkit","webkitVideo"],i,s,o;this.fullscreen=i={support:{w3c:!!e[n.w3c[0]],moz:!!e[n.moz[0]],webkit:typeof e[n.webkit[3]]=="function",webkitVideo:typeof t[n.webkitVideo[2]]=="function"},used:{}};for(s=0,o=r.length;s',o=['','','','',''];r=document.createElement(s);for(var u=0;u0&&(r.internal.cmdsIgnored=!1);r.androidFix.setMedia=!1;if(r.androidFix.play){r.androidFix.play=!1;r.play(r.androidFix.time)}if(r.androidFix.pause){r.androidFix.pause=!1;r.pause(r.androidFix.time)}r._getHtmlStatus(t);r._updateInterface();r._trigger(e.jPlayer.event.progress)}},!1);t.addEventListener("timeupdate",function(){if(n.gate){r._getHtmlStatus(t);r._updateInterface();r._trigger(e.jPlayer.event.timeupdate)}},!1);t.addEventListener("durationchange",function(){if(n.gate){r._getHtmlStatus(t);r._updateInterface();r._trigger(e.jPlayer.event.durationchange)}},!1);t.addEventListener("play",function(){if(n.gate){r._updateButtons(!0);r._html_checkWaitForPlay();r._trigger(e.jPlayer.event.play)}},!1);t.addEventListener("playing",function(){if(n.gate){r._updateButtons(!0);r._seeked();r._trigger(e.jPlayer.event.playing)}},!1);t.addEventListener("pause",function(){if(n.gate){r._updateButtons(!1);r._trigger(e.jPlayer.event.pause)}},!1);t.addEventListener("waiting",function(){if(n.gate){r._seeking();r._trigger(e.jPlayer.event.waiting)}},!1);t.addEventListener("seeking",function(){if(n.gate){r._seeking();r._trigger(e.jPlayer.event.seeking)}},!1);t.addEventListener("seeked",function(){if(n.gate){r._seeked();r._trigger(e.jPlayer.event.seeked)}},!1);t.addEventListener("volumechange",function(){if(n.gate){r.options.volume=t.volume;r.options.muted=t.muted;r._updateMute();r._updateVolume();r._trigger(e.jPlayer.event.volumechange)}},!1);t.addEventListener("ratechange",function(){if(n.gate){r.options.defaultPlaybackRate=t.defaultPlaybackRate;r.options.playbackRate=t.playbackRate;r._updatePlaybackRate();r._trigger(e.jPlayer.event.ratechange)}},!1);t.addEventListener("suspend",function(){if(n.gate){r._seeked();r._trigger(e.jPlayer.event.suspend)}},!1);t.addEventListener("ended",function(){if(n.gate){e.jPlayer.browser.webkit||(r.htmlElement.media.currentTime=0);r.htmlElement.media.pause();r._updateButtons(!1);r._getHtmlStatus(t,!0);r._updateInterface();r._trigger(e.jPlayer.event.ended)}},!1);t.addEventListener("error",function(){if(n.gate){r._updateButtons(!1);r._seeked();if(r.status.srcSet){clearTimeout(r.internal.htmlDlyCmdId);r.status.waitForLoad=!0;r.status.waitForPlay=!0;r.status.video&&!r.status.nativeVideoControls&&r.internal.video.jq.css({width:"0px",height:"0px"});r._validString(r.status.media.poster)&&!r.status.nativeVideoControls&&r.internal.poster.jq.show();r.css.jq.videoPlay.length&&r.css.jq.videoPlay.show();r._error({type:e.jPlayer.error.URL,context:r.status.src,message:e.jPlayer.errorMsg.URL,hint:e.jPlayer.errorHint.URL})}}},!1);e.each(e.jPlayer.htmlEvent,function(i,s){t.addEventListener(this,function(){n.gate&&r._trigger(e.jPlayer.event[s])},!1)})},_getHtmlStatus:function(e,t){var n=0,r=0,i=0,s=0;isFinite(e.duration)&&(this.status.duration=e.duration);n=e.currentTime;r=this.status.duration>0?100*n/this.status.duration:0;if(typeof e.seekable=="object"&&e.seekable.length>0){i=this.status.duration>0?100*e.seekable.end(e.seekable.length-1)/this.status.duration:100;s=this.status.duration>0?100*e.currentTime/e.seekable.end(e.seekable.length-1):0}else{i=100;s=r}if(t){n=0;s=0;r=0}this.status.seekPercent=i;this.status.currentPercentRelative=s;this.status.currentPercentAbsolute=r;this.status.currentTime=n;this.status.remaining=this.status.duration-this.status.currentTime;this.status.videoWidth=e.videoWidth;this.status.videoHeight=e.videoHeight;this.status.readyState=e.readyState;this.status.networkState=e.networkState;this.status.playbackRate=e.playbackRate;this.status.ended=e.ended},_resetStatus:function(){this.status=e.extend({},this.status,e.jPlayer.prototype.status)},_trigger:function(t,n,r){var i=e.Event(t);i.jPlayer={};i.jPlayer.version=e.extend({},this.version);i.jPlayer.options=e.extend(!0,{},this.options);i.jPlayer.status=e.extend(!0,{},this.status);i.jPlayer.html=e.extend(!0,{},this.html);i.jPlayer.flash=e.extend(!0,{},this.flash);n&&(i.jPlayer.error=e.extend({},n));r&&(i.jPlayer.warning=e.extend({},r));this.element.trigger(i)},jPlayerFlashEvent:function(t,n){if(t===e.jPlayer.event.ready)if(!this.internal.ready){this.internal.ready=!0;this.internal.flash.jq.css({width:"0px",height:"0px"});this.version.flash=n.version;this.version.needFlash!==this.version.flash&&this._error({type:e.jPlayer.error.VERSION,context:this.version.flash,message:e.jPlayer.errorMsg.VERSION+this.version.flash,hint:e.jPlayer.errorHint.VERSION});this._trigger(e.jPlayer.event.repeat);this._trigger(t)}else if(this.flash.gate){if(this.status.srcSet){var r=this.status.currentTime,i=this.status.paused;this.setMedia(this.status.media);this.volumeWorker(this.options.volume);r>0&&(i?this.pause(r):this.play(r))}this._trigger(e.jPlayer.event.flashreset)}if(this.flash.gate)switch(t){case e.jPlayer.event.progress:this._getFlashStatus(n);this._updateInterface();this._trigger(t);break;case e.jPlayer.event.timeupdate:this._getFlashStatus(n);this._updateInterface();this._trigger(t);break;case e.jPlayer.event.play:this._seeked();this._updateButtons(!0);this._trigger(t);break;case e.jPlayer.event.pause:this._updateButtons(!1);this._trigger(t);break;case e.jPlayer.event.ended:this._updateButtons(!1);this._trigger(t);break;case e.jPlayer.event.click:this._trigger(t);break;case e.jPlayer.event.error:this.status.waitForLoad=!0;this.status.waitForPlay=!0;this.status.video&&this.internal.flash.jq.css({width:"0px",height:"0px"});this._validString(this.status.media.poster)&&this.internal.poster.jq.show();this.css.jq.videoPlay.length&&this.status.video&&this.css.jq.videoPlay.show();this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media);this._updateButtons(!1);this._error({type:e.jPlayer.error.URL,context:n.src,message:e.jPlayer.errorMsg.URL,hint:e.jPlayer.errorHint.URL});break;case e.jPlayer.event.seeking:this._seeking();this._trigger(t);break;case e.jPlayer.event.seeked:this._seeked();this._trigger(t);break;case e.jPlayer.event.ready:break;default:this._trigger(t)}return!1},_getFlashStatus:function(e){this.status.seekPercent=e.seekPercent;this.status.currentPercentRelative=e.currentPercentRelative;this.status.currentPercentAbsolute=e.currentPercentAbsolute;this.status.currentTime=e.currentTime;this.status.duration=e.duration;this.status.remaining=e.duration-e.currentTime;this.status.videoWidth=e.videoWidth;this.status.videoHeight=e.videoHeight;this.status.readyState=4;this.status.networkState=0;this.status.playbackRate=1;this.status.ended=!1},_updateButtons:function(e){e===t?e=!this.status.paused:this.status.paused=!e;if(this.css.jq.play.length&&this.css.jq.pause.length)if(e){this.css.jq.play.hide();this.css.jq.pause.show()}else{this.css.jq.play.show();this.css.jq.pause.hide()}if(this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length)if(this.status.noFullWindow){this.css.jq.fullScreen.hide();this.css.jq.restoreScreen.hide()}else if(this.options.fullWindow){this.css.jq.fullScreen.hide();this.css.jq.restoreScreen.show()}else{this.css.jq.fullScreen.show();this.css.jq.restoreScreen.hide()}if(this.css.jq.repeat.length&&this.css.jq.repeatOff.length)if(this.options.loop){this.css.jq.repeat.hide();this.css.jq.repeatOff.show()}else{this.css.jq.repeat.show();this.css.jq.repeatOff.hide()}},_updateInterface:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+"%");this.css.jq.playBar.length&&(this.options.smoothPlayBar?this.css.jq.playBar.stop().animate({width:this.status.currentPercentAbsolute+"%"},250,"linear"):this.css.jq.playBar.width(this.status.currentPercentRelative+"%"));var e="";if(this.css.jq.currentTime.length){e=this._convertTime(this.status.currentTime);e!==this.css.jq.currentTime.text()&&this.css.jq.currentTime.text(this._convertTime(this.status.currentTime))}var t="",n=this.status.duration,r=this.status.remaining;if(this.css.jq.duration.length){if(typeof this.status.media.duration=="string")t=this.status.media.duration;else{if(typeof this.status.media.duration=="number"){n=this.status.media.duration;r=n-this.status.currentTime}this.options.remainingDuration?t=(r>0?"-":"")+this._convertTime(r):t=this._convertTime(n)}t!==this.css.jq.duration.text()&&this.css.jq.duration.text(t)}},_convertTime:n.prototype.time,_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg")},_resetGate:function(){this.html.audio.gate=!1;this.html.video.gate=!1;this.flash.gate=!1},_resetActive:function(){this.html.active=!1;this.flash.active=!1},_escapeHtml:function(e){return e.split("&").join("&").split("<").join("<").split(">").join(">").split('"').join(""")},_qualifyURL:function(e){var t=document.createElement("div");t.innerHTML='x';return t.firstChild.href},_absoluteMediaUrls:function(t){var n=this;e.each(t,function(e,r){r&&n.format[e]&&(t[e]=n._qualifyURL(r))});return t},setMedia:function(t){var n=this,r=!1,i=this.status.media.poster!==t.poster;this._resetMedia();this._resetGate();this._resetActive();this.androidFix.setMedia=!1;this.androidFix.play=!1;this.androidFix.pause=!1;t=this._absoluteMediaUrls(t);e.each(this.formats,function(i,s){var o=n.format[s].media==="video";e.each(n.solutions,function(i,u){if(n[u].support[s]&&n._validString(t[s])){var a=u==="html";if(o){if(a){n.html.video.gate=!0;n._html_setVideo(t);n.html.active=!0}else{n.flash.gate=!0;n._flash_setVideo(t);n.flash.active=!0}n.css.jq.videoPlay.length&&n.css.jq.videoPlay.show();n.status.video=!0}else{if(a){n.html.audio.gate=!0;n._html_setAudio(t);n.html.active=!0;e.jPlayer.platform.android&&(n.androidFix.setMedia=!0)}else{n.flash.gate=!0;n._flash_setAudio(t);n.flash.active=!0}n.css.jq.videoPlay.length&&n.css.jq.videoPlay.hide();n.status.video=!1}r=!0;return!1}});if(r)return!1});if(r){(!this.status.nativeVideoControls||!this.html.video.gate)&&this._validString(t.poster)&&(i?this.htmlElement.poster.src=t.poster:this.internal.poster.jq.show());if(this.css.jq.title.length&&typeof t.title=="string"){this.css.jq.title.html(t.title);this.htmlElement.audio&&this.htmlElement.audio.setAttribute("title",t.title);this.htmlElement.video&&this.htmlElement.video.setAttribute("title" ,t.title)}this.status.srcSet=!0;this.status.media=e.extend({},t);this._updateButtons(!1);this._updateInterface();this._trigger(e.jPlayer.event.setmedia)}else this._error({type:e.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:e.jPlayer.errorMsg.NO_SUPPORT,hint:e.jPlayer.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus();this._updateButtons(!1);this._updateInterface();this._seeked();this.internal.poster.jq.hide();clearTimeout(this.internal.htmlDlyCmdId);this.html.active?this._html_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia();this.html.active?this._html_clearMedia():this.flash.active&&this._flash_clearMedia();this._resetGate();this._resetActive()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.flash.active&&this._flash_load():this._urlNotSetError("load")},focus:function(){this.options.keyEnabled&&(e.jPlayer.focus=this)},play:function(e){e=typeof e=="number"?e:NaN;if(this.status.srcSet){this.focus();this.html.active?this._html_play(e):this.flash.active&&this._flash_play(e)}else this._urlNotSetError("play")},videoPlay:function(){this.play()},pause:function(e){e=typeof e=="number"?e:NaN;this.status.srcSet?this.html.active?this._html_pause(e):this.flash.active&&this._flash_pause(e):this._urlNotSetError("pause")},tellOthers:function(t,n){var r=this,i=typeof n=="function",s=Array.prototype.slice.call(arguments);if(typeof t!="string")return;i&&s.splice(1,1);e.each(this.instances,function(){r.element!==this&&(!i||n.call(this.data("jPlayer"),r))&&this.jPlayer.apply(this,s)})},pauseOthers:function(e){this.tellOthers("pause",function(){return this.status.srcSet},e)},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(e){e=this._limitValue(e,0,100);this.status.srcSet?this.html.active?this._html_playHead(e):this.flash.active&&this._flash_playHead(e):this._urlNotSetError("playHead")},_muted:function(e){this.mutedWorker(e);this.options.globalVolume&&this.tellOthers("mutedWorker",function(){return this.options.globalVolume},e)},mutedWorker:function(t){this.options.muted=t;this.html.used&&this._html_setProperty("muted",t);this.flash.used&&this._flash_mute(t);if(!this.html.video.gate&&!this.html.audio.gate){this._updateMute(t);this._updateVolume(this.options.volume);this._trigger(e.jPlayer.event.volumechange)}},mute:function(e){e=e===t?!0:!!e;this._muted(e)},unmute:function(e){e=e===t?!0:!!e;this._muted(!e)},_updateMute:function(e){e===t&&(e=this.options.muted);if(this.css.jq.mute.length&&this.css.jq.unmute.length)if(this.status.noVolume){this.css.jq.mute.hide();this.css.jq.unmute.hide()}else if(e){this.css.jq.mute.hide();this.css.jq.unmute.show()}else{this.css.jq.mute.show();this.css.jq.unmute.hide()}},volume:function(e){this.volumeWorker(e);this.options.globalVolume&&this.tellOthers("volumeWorker",function(){return this.options.globalVolume},e)},volumeWorker:function(t){t=this._limitValue(t,0,1);this.options.volume=t;this.html.used&&this._html_setProperty("volume",t);this.flash.used&&this._flash_volume(t);if(!this.html.video.gate&&!this.html.audio.gate){this._updateVolume(t);this._trigger(e.jPlayer.event.volumechange)}},volumeBar:function(t){if(this.css.jq.volumeBar.length){var n=e(t.currentTarget),r=n.offset(),i=t.pageX-r.left,s=n.width(),o=n.height()-t.pageY+r.top,u=n.height();this.options.verticalVolume?this.volume(o/u):this.volume(i/s)}this.options.muted&&this._muted(!1)},_updateVolume:function(e){e===t&&(e=this.options.volume);e=this.options.muted?0:e;if(this.status.noVolume){this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide();this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide();this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()}else{this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show();if(this.css.jq.volumeBarValue.length){this.css.jq.volumeBarValue.show();this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](e*100+"%")}this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show()}},volumeMax:function(){this.volume(1);this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(t){var n=this;this.options.cssSelectorAncestor=t;this._removeUiClass();this.ancestorJq=t?e(t):[];t&&this.ancestorJq.length!==1&&this._warning({type:e.jPlayer.warning.CSS_SELECTOR_COUNT,context:t,message:e.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:e.jPlayer.warningHint.CSS_SELECTOR_COUNT});this._addUiClass();e.each(this.options.cssSelector,function(e,t){n._cssSelector(e,t)});this._updateInterface();this._updateButtons();this._updateAutohide();this._updateVolume();this._updateMute()},_cssSelector:function(t,n){var r=this;if(typeof n=="string")if(e.jPlayer.prototype.options.cssSelector[t]){this.css.jq[t]&&this.css.jq[t].length&&this.css.jq[t].unbind(".jPlayer");this.options.cssSelector[t]=n;this.css.cs[t]=this.options.cssSelectorAncestor+" "+n;n?this.css.jq[t]=e(this.css.cs[t]):this.css.jq[t]=[];if(this.css.jq[t].length&&this[t]){var i=function(n){n.preventDefault();r[t](n);e(this).blur()};this.css.jq[t].bind("click.jPlayer",i)}n&&this.css.jq[t].length!==1&&this._warning({type:e.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[t],message:e.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[t].length+" found for "+t+" method.",hint:e.jPlayer.warningHint.CSS_SELECTOR_COUNT})}else this._warning({type:e.jPlayer.warning.CSS_SELECTOR_METHOD,context:t,message:e.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:e.jPlayer.warningHint.CSS_SELECTOR_METHOD});else this._warning({type:e.jPlayer.warning.CSS_SELECTOR_STRING,context:n,message:e.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:e.jPlayer.warningHint.CSS_SELECTOR_STRING})},duration:function(e){this.options.toggleDuration&&this._setOption("remainingDuration",!this.options.remainingDuration)},seekBar:function(t){if(this.css.jq.seekBar.length){var n=e(t.currentTarget),r=n.offset(),i=t.pageX-r.left,s=n.width(),o=100*i/s;this.playHead(o)}},playbackRate:function(e){this._setOption("playbackRate",e)},playbackRateBar:function(t){if(this.css.jq.playbackRateBar.length){var n=e(t.currentTarget),r=n.offset(),i=t.pageX-r.left,s=n.width(),o=n.height()-t.pageY+r.top,u=n.height(),a,f;this.options.verticalPlaybackRate?a=o/u:a=i/s;f=a*(this.options.maxPlaybackRate-this.options.minPlaybackRate)+this.options.minPlaybackRate;this.playbackRate(f)}},_updatePlaybackRate:function(){var e=this.options.playbackRate,t=(e-this.options.minPlaybackRate)/(this.options.maxPlaybackRate-this.options.minPlaybackRate);if(this.status.playbackRateEnabled){this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.show();if(this.css.jq.playbackRateBarValue.length){this.css.jq.playbackRateBarValue.show();this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate?"height":"width"](t*100+"%")}}else{this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.hide();this.css.jq.playbackRateBarValue.length&&this.css.jq.playbackRateBarValue.hide()}},repeat:function(){this._loop(!0)},repeatOff:function(){this._loop(!1)},_loop:function(t){if(this.options.loop!==t){this.options.loop=t;this._updateButtons();this._trigger(e.jPlayer.event.repeat)}},option:function(n,r){var i=n;if(arguments.length===0)return e.extend(!0,{},this.options);if(typeof n=="string"){var s=n.split(".");if(r===t){var o=e.extend(!0,{},this.options);for(var u=0;u0))throw 1;n.currentTime=e;n.play()}catch(r){this.internal.htmlDlyCmdId=setTimeout(function(){t.play(e)},250);return}}else n.play();this._html_checkWaitForPlay()},_html_pause:function(e){var t=this,n=this.htmlElement.media;this.androidFix.play=!1;e>0?this._html_load():clearTimeout(this.internal.htmlDlyCmdId);n.pause();if(this.androidFix.setMedia){this.androidFix.pause=!0;this.androidFix.time=e}else if(!isNaN(e))try{if(!(!n.seekable||typeof n.seekable=="object"&&n.seekable.length>0))throw 1;n.currentTime=e}catch(r){this.internal.htmlDlyCmdId=setTimeout(function(){t.pause(e)},250);return}e>0&&this._html_checkWaitForPlay()},_html_playHead:function(e){var t=this,n=this.htmlElement.media;this._html_load();try{if(typeof n.seekable=="object"&&n.seekable.length>0)n.currentTime=e*n.seekable.end(n.seekable.length-1)/100;else{if(!(n.duration>0&&!isNaN(n.duration)))throw"e";n.currentTime=e*n.duration/100}}catch(r){this.internal.htmlDlyCmdId=setTimeout(function(){t.playHead(e)},250);return}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){if(this.status.waitForPlay){this.status.waitForPlay=!1;this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide();if(this.status.video){this.internal.poster.jq.hide();this.internal.video.jq.css({width:this.status.width,height:this.status.height})}}},_html_setProperty:function(e,t){this.html.audio.available&&(this.htmlElement.audio[e]=t);this.html.video.available&&(this.htmlElement.video[e]=t)},_flash_setAudio:function(t){var n=this;try{e.each(this.formats,function(e,r){if(n.flash.support[r]&&t[r]){switch(r){case"m4a":case"fla":n._getMovie().fl_setAudio_m4a(t[r]);break;case"mp3":n._getMovie().fl_setAudio_mp3(t[r]);break;case"rtmpa":n._getMovie().fl_setAudio_rtmp(t[r])}n.status.src=t[r];n.status.format[r]=!0;n.status.formatType=r;return!1}});if(this.options.preload==="auto"){this._flash_load();this.status.waitForLoad=!1}}catch(r){this._flashError(r)}},_flash_setVideo:function(t){var n=this;try{e.each(this.formats,function(e,r){if(n.flash.support[r]&&t[r]){switch(r){case"m4v":case"flv":n._getMovie().fl_setVideo_m4v(t[r]);break;case"rtmpv":n._getMovie().fl_setVideo_rtmp(t[r])}n.status.src=t[r];n.status.format[r]=!0;n.status.formatType=r;return!1}});if(this.options.preload==="auto"){this._flash_load();this.status.waitForLoad=!1}}catch(r){this._flashError(r)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"});this._flash_pause(NaN)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(e){this._flashError(e)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(e){this._flashError(e)}this.status.waitForLoad=!1},_flash_play:function(e){try{this._getMovie().fl_play(e)}catch(t){this._flashError(t)}this.status.waitForLoad=!1;this._flash_checkWaitForPlay()},_flash_pause:function(e){try{this._getMovie().fl_pause(e)}catch(t){this._flashError(t)}if(e>0){this.status.waitForLoad=!1;this._flash_checkWaitForPlay()}},_flash_playHead:function(e){try{this._getMovie().fl_play_head(e)}catch(t){this._flashError(t)}this.status.waitForLoad||this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){if(this.status.waitForPlay){this.status.waitForPlay=!1;this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide();if(this.status.video){this.internal.poster.jq.hide();this.internal.flash.jq.css({width:this.status.width,height:this.status.height})}}},_flash_volume:function(e){try{this._getMovie().fl_volume(e)}catch(t){this._flashError(t)}},_flash_mute:function(e){try{this._getMovie().fl_mute(e)}catch(t){this._flashError(t)}},_getMovie:function(){return document[this.internal.flash.id]},_getFlashPluginVersion:function(){var e=0,t;if(window.ActiveXObject)try{t=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(t){var n=t.GetVariable("$version");if(n){n=n.split(" ")[1].split(",");e=parseInt(n[0],10)+"."+parseInt(n[1],10)}}}catch(r){}else if(navigator.plugins&&navigator.mimeTypes.length>0){t=navigator.plugins["Shockwave Flash"];t&&(e=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1"))}return e*1},_checkForFlash:function(e){var t=!1;this._getFlashPluginVersion()>=e&&(t=!0);return t},_validString:function(e){return e&&typeof e=="string"},_limitValue:function(e,t,n){return en?n:e},_urlNotSetError:function(t){this._error({type:e.jPlayer.error.URL_NOT_SET,context:t,message:e.jPlayer.errorMsg.URL_NOT_SET,hint:e.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(t){var n;this.internal.ready?n="FLASH_DISABLED":n="FLASH";this._error({type:e.jPlayer.error[n],context:this.internal.flash.swf,message:e.jPlayer.errorMsg[n]+t.message,hint:e.jPlayer.errorHint[n]});this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(t){this._trigger(e.jPlayer.event.error,t);this.options.errorAlerts&&this._alert("Error!"+(t.message?"\n"+t.message:"")+(t.hint?"\n"+t.hint:"")+"\nContext: "+t.context)},_warning:function(n){this._trigger(e.jPlayer.event.warning,t,n);this.options.warningAlerts&&this._alert("Warning!"+(n.message?"\n"+n.message:"")+(n.hint?"\n"+n.hint:"")+"\nContext: "+n.context)},_alert:function(e){var t="jPlayer "+this.version.script+" : id='"+this.internal.self.id+"' : "+e;this.options.consoleAlerts?window.console&&window.console.log&&window.console.log(t):alert(t)},_emulateHtmlBridge:function(){var t=this;e.each(e.jPlayer.emulateMethods.split(/\s+/g),function(e,n){t.internal.domNode[n]=function(e){t[n](e)}});e.each(e.jPlayer.event,function(n,r){var i=!0;e.each(e.jPlayer.reservedEvent.split(/\s+/g),function(e,t){if(t===n){i=!1;return!1}});i&&t.element.bind(r+".jPlayer.jPlayerHtml",function(){t._emulateHtmlUpdate();var e=document.createEvent("Event");e.initEvent(n,!1,!0);t.internal.domNode.dispatchEvent(e)})})},_emulateHtmlUpdate:function(){var t=this;e.each(e.jPlayer.emulateStatus.split(/\s+/g),function(e,n){t.internal.domNode[n]=t.status[n]});e.each(e.jPlayer.emulateOptions.split(/\s+/g),function(e,n){t.internal.domNode[n]=t.options[n]})},_destroyHtmlBridge:function(){var t=this;this.element.unbind(".jPlayerHtml");var n=e.jPlayer.emulateMethods+" "+e.jPlayer.emulateStatus+" "+e.jPlayer.emulateOptions;e.each(n.split(/\s+/g),function(e,n){delete t.internal.domNode[n]})}};e.jPlayer.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"};e.jPlayer.errorMsg={FLASH:"jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ",FLASH_DISABLED:"jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",NO_SOLUTION:"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.",NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",URL:"Media URL could not be loaded.",URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"jPlayer "+e.jPlayer.prototype.version.script+" needs Jplayer.swf version "+e.jPlayer.prototype.version.needFlash+" but found "};e.jPlayer.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the jPlayer entity or any ancestor.",NO_SOLUTION:"Review the jPlayer options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",URL:"Check media URL is valid.",URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update jPlayer files."};e.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"};e.jPlayer.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",CSS_SELECTOR_METHOD:"The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",CSS_SELECTOR_STRING:"The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",OPTION_KEY:"The option requested in jPlayer('option') is undefined."};e.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}});(function(e,t){var n="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";e.fn.imagesLoaded=function(r){function i(){var t=e(h),n=e(p);u&&(p.length?u.reject(f,t,n):u.resolve(f));e.isFunction(r)&&r.call(o,f,t,n)}function s(t,r){t.src===n||-1!==e.inArray(t,l)||(l.push(t),r?p.push(t):h.push(t),e.data(t,"imagesLoaded",{isBroken:r,src:t.src}),a&&u.notifyWith(e(t),[r,f,e(h),e(p)]),f.length===l.length&&(setTimeout(i),f.unbind(".imagesLoaded")))}var o=this,u=e.isFunction(e.Deferred)?e.Deferred():0,a=e.isFunction(u.notify),f=o.find("img").add(o.filter("img")),l=[],h=[],p=[];f.length?f.bind("load.imagesLoaded error.imagesLoaded",function(e){s(e.target,"error"===e.type)}).each(function(r,i){var o=i.src,u=e.data(i,"imagesLoaded");if(u&&u.src===o)s(i,u.isBroken);else if(i.complete&&i.naturalWidth!==t)s(i,0===i.naturalWidth||0===i.naturalHeight);else if(i.readyState||i.complete)i.src=n,i.src=o}):i();return u?u.promise(o):o}})(jQuery);(function(){function m(){return function(){}}function p(e){return function(){return this[e]}}function r(e){return function(){return e}}function u(e,t,n){if("string"==typeof e){0===e.indexOf("#")&&(e=e.slice(1));if(u.va[e])return u.va[e];e=u.r(e)}if(!e||!e.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return e.player||new u.C(e,t,n)}function D(e,t,n,r){if(n!==b)return e.b.style[t]=-1!==(""+n).indexOf("%")||-1!==(""+n).indexOf("px")?n:"auto"===n?"":n+"px",r||e.k("resize"),e;if(!e.b)return 0;n=e.b.style[t];r=n.indexOf("px");return-1!==r?parseInt(n.slice(0,r),10):parseInt(e.b["offset"+u.Z(t)],10)}function E(e,t){var n,r,i,s;n=e.b;r=u.Qc(n);s=i=n.offsetWidth;n=e.handle;if(e.f.pd)return s=r.top,r=t.changedTouches?t.changedTouches[0].pageY:t.pageY,n&&(n=n.r().offsetHeight,s+=n/2,i-=n),Math.max(0,Math.min(1,(s-r+i)/i));i=r.left;r=t.changedTouches?t.changedTouches[0].pageX:t.pageX;n&&(n=n.r().offsetWidth,i+=n/2,s-=n);return Math.max(0,Math.min(1,(r-i)/s))}function ca(e,t){e.Y(t);t.d("click",u.bind(e,function(){this.Ua()}))}function G(e){e.na=f;e.ua.pc();e.b.setAttribute("aria-pressed",f);e.J&&0u.zc;u.Ac=/Firefox/i.test(u.G);u.ud=/Chrome/i.test(u.G);u.xb=function(e){var t={};if(e&&e.attributes&&0r?"0"+r:r)+":")+(10>n?"0"+n:n)};u.Ic=function(){document.body.focus();document.onselectstart=r(l)};u.od=function(){document.onselectstart=r(f)};u.trim=function(e){return e.toString().replace(/^\s+/,"").replace(/\s+$/,"")};u.round=function(e,t){t||(t=0);return Math.round(e*Math.pow(10,t))/Math.pow(10,t)};u.tb=function(e,t){return{length:1,start:function(){return e},end:function(){return t}}};u.get=function(e,t,n){var r=0===e.indexOf("file:")||0===window.location.href.indexOf("file:")&&-1===e.indexOf("http");"undefined"==typeof XMLHttpRequest&&(window.XMLHttpRequest=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(t){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(n){}throw Error("This browser does not support XMLHttpRequest.")});var i=new XMLHttpRequest;try{i.open("GET",e)}catch(s){n(s)}i.onreadystatechange=function(){4===i.readyState&&(200===i.status||r&&0===i.status?t(i.responseText):n&&n())};try{i.send()}catch(o){n&&n(o)}};u.gd=function(e){try{var t=window.localStorage||l;t&&(t.volume=e)}catch(n){22==n.code||1014==n.code?u.log("LocalStorage Full (VideoJS)",n):18==n.code?u.log("LocalStorage not allowed (VideoJS)",n):u.log("LocalStorage Error (VideoJS)",n)}};u.kc=function(e){e.match(/^https?:\/\//)||(e=u.e("div",{innerHTML:'x'}).firstChild.href);return e};u.log=function(){u.log.history=u.log.history||[];u.log.history.push(arguments);window.console&&window.console.log(Array.prototype.slice.call(arguments))};u.Qc=function(e){var t,n;e.getBoundingClientRect&&e.parentNode&&(t=e.getBoundingClientRect());if(!t)return{left:0,top:0};e=document.documentElement;n=document.body;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(e.clientLeft||n.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(e.clientTop||n.clientTop||0)}};u.c=u.ka.extend({g:function(e,t,n){this.a=e;this.f=u.i.copy(this.f);t=this.options(t);this.O=t.id||(t.el&&t.el.id?t.el.id:e.id()+"_component_"+u.u++);this.Vc=t.name||h;this.b=t.el||this.e();this.H=[];this.rb={};this.S={};if((e=this.f)&&e.children){var r=this;u.i.ra(e.children,function(e,t){t!==l&&!t.loadEvent&&(r[e]=r.Y(e,t))})}this.P(n)}});t=u.c.prototype;t.D=function(){if(this.H)for(var e=this.H.length-1;0<=e;e--)this.H[e].D&&this.H[e].D();this.S=this.rb=this.H=h;this.t();this.b.parentNode&&this.b.parentNode.removeChild(this.b);u.sc(this.b);this.b=h};t.bd=p("a");t.options=function(e){return e===b?this.f:this.f=u.i.gc(this.f,e)};t.e=function(e,t){return u.e(e,t)};t.r=p("b");t.id=p("O");t.name=p("Vc");t.children=p("H");t.Y=function(e,t){var n,r;"string"==typeof e?(r=e,t=t||{},n=t.componentClass||u.Z(r),t.name=r,n=new window.videojs[n](this.a||this,t)):n=e;this.H.push(n);"function"==typeof n.id&&(this.rb[n.id()]=n);(r=r||n.name&&n.name())&&(this.S[r]=n);"function"==typeof n.el&&n.el()&&(this.qa||this.b).appendChild(n.el());return n};t.removeChild=function(e){"string"==typeof e&&(e=this.S[e]);if(e&&this.H){for(var t=l,n=this.H.length-1;0<=n;n--)if(this.H[n]===e){t=f;this.H.splice(n,1);break}t&&(this.rb[e.id]=h,this.S[e.name]=h,(t=e.r())&&t.parentNode===(this.qa||this.b)&&(this.qa||this.b).removeChild(e.r()))}};t.Q=r("");t.d=function(e,t){u.d(this.b,e,u.bind(this,t));return this};t.t=function(e,t){u.t(this.b,e,t);return this};t.R=function(e,t){u.R(this.b,e,u.bind(this,t));return this};t.k=function(e,t){u.k(this.b,e,t);return this};t.P=function(e){e&&(this.aa?e.call(this):(this.Ra===b&&(this.Ra=[]),this.Ra.push(e)));return this};t.Ta=function(){this.aa=f;var e=this.Ra;if(e&&0'+(this.oa||"Need Text")+"",dd:"button","aria-live":"polite",tabIndex:0},t);return u.c.prototype.e.call(this,e,t)};t.Q=function(){return"vjs-control "+u.c.prototype.Q.call(this)};t.n=m();t.Na=function(){u.d(document,"keyup",u.bind(this,this.ba))};t.ba=function(e){if(32==e.which||13==e.which)e.preventDefault(),this.n()};t.Ma=function(){u.t(document,"keyup",u.bind(this,this.ba))};u.M=u.c.extend({g:function(e,t){u.c.call(this,e,t);this.Hc=this.S[this.f.barName];this.handle=this.S[this.f.handleName];e.d(this.qc,u.bind(this,this.update));this.d("mousedown",this.Oa);this.d("touchstart",this.Oa);this.d("focus",this.Na);this.d("blur",this.Ma);this.d("click",this.n);this.a.d("controlsvisible",u.bind(this,this.update));e.P(u.bind(this,this.update));this.N={}}});t=u.M.prototype;t.e=function(e,t){t=t||{};t.className+=" vjs-slider";t=u.i.B({dd:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},t);return u.c.prototype.e.call(this,e,t)};t.Oa=function(e){e.preventDefault();u.Ic();this.N.move=u.bind(this,this.Hb);this.N.end=u.bind(this,this.Ib);u.d(document,"mousemove",this.N.move);u.d(document,"mouseup",this.N.end);u.d(document,"touchmove",this.N.move);u.d(document,"touchend",this.N.end);this.Hb(e)};t.Ib=function(){u.od();u.t(document,"mousemove",this.N.move,l);u.t(document,"mouseup",this.N.end,l);u.t(document,"touchmove",this.N.move,l);u.t(document,"touchend",this.N.end,l);this.update()};t.update=function(){if(this.b){var e,t=this.yb(),n=this.handle,r=this.Hc;isNaN(t)&&(t=0);e=t;if(n){e=this.b.offsetWidth;var i=n.r().offsetWidth;e=i?i/e:0;t*=1-e;e=t+e/2;n.r().style.left=u.round(100*t,2)+"%"}r.r().style.width=u.round(100*e,2)+"%"}};t.Na=function(){u.d(document,"keyup",u.bind(this,this.ba))};t.ba=function(e){37==e.which?(e.preventDefault(),this.vc()):39==e.which&&(e.preventDefault(),this.wc())};t.Ma=function(){u.t(document,"keyup",u.bind(this,this.ba))};t.n=function(e){e.stopImmediatePropagation();e.preventDefault()};u.ga=u.c.extend();u.ga.prototype.defaultValue=0;u.ga.prototype.e=function(e,t){t=t||{};t.className+=" vjs-slider-handle";t=u.i.B({innerHTML:''+this.defaultValue+""},t);return u.c.prototype.e.call(this,"div",t)};u.la=u.c.extend();u.la.prototype.e=function(){var e=this.options().Kc||"ul";this.qa=u.e(e,{className:"vjs-menu-content"});e=u.c.prototype.e.call(this,"div",{append:this.qa,className:"vjs-menu"});e.appendChild(this.qa);u.d(e,"click",function(e){e.preventDefault();e.stopImmediatePropagation()});return e};u.L=u.o.extend({g:function(e,t){u.o.call(this,e,t);this.selected(t.selected)}});u.L.prototype.e=function(e,t){return u.o.prototype.e.call(this,"li",u.i.B({className:"vjs-menu-item",innerHTML:this.f.label},t))};u.L.prototype.n=function(){this.selected(f)};u.L.prototype.selected=function(e){e?(this.p("vjs-selected"),this.b.setAttribute("aria-selected",f)):(this.w("vjs-selected"),this.b.setAttribute("aria-selected",l))};u.ea=u.o.extend({g:function(e,t){u.o.call(this,e,t);this.ua=this.Ja();this.Y(this.ua);this.J&&0===this.J.length&&this.v();this.d("keyup",this.ba);this.b.setAttribute("aria-haspopup",f);this.b.setAttribute("role","button")}});t=u.ea.prototype;t.na=l;t.Ja=function(){var e=new u.la(this.a);this.options().title&&e.r().appendChild(u.e("li",{className:"vjs-menu-title",innerHTML:u.Z(this.A),md:-1}));if(this.J=this.sb())for(var t=0;tChrome or download the latest Adobe Flash Player.'}))}else e instanceof Object?window.videojs[this.ya].canPlaySource(e)?this.src(e.src):this.src([e]):(this.s.src=e,this.aa?(K(this,"src",e),"auto"==this.f.preload&&this.load(),this.f.autoplay&&this.play()):this.P(function(){this.src(e)}));return this};t.load=function(){K(this,"load");return this};t.currentSrc=function(){return J(this,"currentSrc")||this.s.src||""};t.Pa=function(e){return e!==b?(K(this,"setPreload",e),this.f.preload=e,this):J(this,"preload")};t.autoplay=function(e){return e!==b?(K(this,"setAutoplay",e),this.f.autoplay=e,this):J(this,"autoplay")};t.loop=function(e){return e!==b?(K(this,"setLoop",e),this.f.loop=e,this):J(this,"loop")};t.poster=function(e){e!==b&&(this.rc=e);return this.rc};t.controls=function(e){e!==b&&this.Ia!==e&&(this.Ia=!!e,this.k("controlschange"));return this.Ia};t.error=function(){return J(this,"error")};var M,N,O;O=document.createElement("div");N={};O.vd!==b?(N.tc="requestFullscreen",N.ob="exitFullscreen",N.vb="fullscreenchange",N.I="fullScreen"):(document.mozCancelFullScreen?(M="moz",N.I=M+"FullScreen"):(M="webkit",N.I=M+"IsFullScreen"),O[M+"RequestFullScreen"]&&(N.tc=M+"RequestFullScreen",N.ob=M+"CancelFullScreen"),N.vb=M+"fullscreenchange");document[N.ob]&&(u.Ob.wa=N);u.da=u.c.extend({g:function(e,t){u.c.call(this,e,t);e.controls()||this.disable();e.R("play",u.bind(this,function(){var e,t=u.bind(this,this.$),n=u.bind(this,this.ta);this.$();"ontouchstart"in window||(this.a.d("mouseover",t),this.a.d("mouseout",n),this.a.d("pause",u.bind(this,this.pc)),this.a.d("play",u.bind(this,this.Ua)));e=l;this.a.d("touchstart",function(){e=f});this.a.d("touchmove",function(){e=l});this.a.d("touchend",u.bind(this,function(t){var n;e&&(n=this.r().className.search("fade-in"),-1!==n?this.ta():this.$());e=l;this.a.paused()||t.preventDefault()}))}))}});u.da.prototype.f={Ad:"play",children:{playToggle:{},currentTimeDisplay:{},timeDivider:{},durationDisplay:{},remainingTimeDisplay:{},progressControl:{},fullscreenToggle:{},volumeControl:{},muteToggle:{}}};u.da.prototype.e=function(){return u.e("div",{className:"vjs-control-bar"})};u.da.prototype.$=function(){u.c.prototype.$.call(this);this.a.k("controlsvisible")};u.da.prototype.ta=function(){u.c.prototype.ta.call(this);this.a.k("controlshidden")};u.Xb=u.o.extend({g:function(e,t){u.o.call(this,e,t);e.d("play",u.bind(this,this.Kb));e.d("pause",u.bind(this,this.Jb))}});t=u.Xb.prototype;t.oa="Play";t.Q=function(){return"vjs-play-control "+u.o.prototype.Q.call(this)};t.n=function(){this.a.paused()?this.a.play():this.a.pause()};t.Kb=function(){u.w(this.b,"vjs-paused");u.p(this.b,"vjs-playing");this.b.children[0].children[0].innerHTML="Pause"};t.Jb=function(){u.w(this.b,"vjs-playing");u.p(this.b,"vjs-paused");this.b.children[0].children[0].innerHTML="Play"};u.Ya=u.c.extend({g:function(e,t){u.c.call(this,e,t);e.d("timeupdate",u.bind(this,this.Ba))}});u.Ya.prototype.e=function(){var e=u.c.prototype.e.call(this,"div",{className:"vjs-current-time vjs-time-controls vjs-control"});this.content=u.e("div",{className:"vjs-current-time-display",innerHTML:'Current Time 0:00',"aria-live":"off"});e.appendChild(u.e("div").appendChild(this.content));return e};u.Ya.prototype.Ba=function(){var e=this.a.Nb?this.a.s.currentTime:this.a.currentTime();this.content.innerHTML='Current Time '+u.Ka(e,this.a.duration())};u.Za=u.c.extend({g:function(e,t){u.c.call(this,e,t);e.d("timeupdate",u.bind(this,this.Ba))}});u.Za.prototype.e=function(){var e=u.c.prototype.e.call(this,"div",{className:"vjs-duration vjs-time-controls vjs-control"});this.content=u.e("div",{className:"vjs-duration-display",innerHTML:'Duration Time 0:00',"aria-live":"off"});e.appendChild(u.e("div").appendChild(this.content));return e};u.Za.prototype.Ba=function(){this.a.duration()&&(this.content.innerHTML='Duration Time '+u.Ka(this.a.duration()))};u.ac=u.c.extend({g:function(e,t){u.c.call(this,e,t)}});u.ac.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-time-divider",innerHTML:"
/
"})};u.gb=u.c.extend({g:function(e,t){u.c.call(this,e,t);e.d("timeupdate",u.bind(this,this.Ba))}});u.gb.prototype.e=function(){var e=u.c.prototype.e.call(this,"div",{className:"vjs-remaining-time vjs-time-controls vjs-control"});this.content=u.e("div",{className:"vjs-remaining-time-display",innerHTML:'Remaining Time -0:00',"aria-live":"off"});e.appendChild(u.e("div").appendChild(this.content));return e};u.gb.prototype.Ba=function(){this.a.duration()&&this.a.duration()&&(this.content.innerHTML='Remaining Time -'+u.Ka(this.a.duration()-this.a.currentTime()))};u.Da=u.o.extend({g:function(e,t){u.o.call(this,e,t)}});u.Da.prototype.oa="Fullscreen";u.Da.prototype.Q=function(){return"vjs-fullscreen-control "+u.o.prototype.Q.call(this)};u.Da.prototype.n=function(){this.a.I?(this.a.pb(),this.b.children[0].children[0].innerHTML="Fullscreen"):(this.a.wa(),this.b.children[0].children[0].innerHTML="Non-Fullscreen")};u.fb=u.c.extend({g:function(e,t){u.c.call(this,e,t)}});u.fb.prototype.f={children:{seekBar:{}}};u.fb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-progress-control vjs-control"})};u.Yb=u.M.extend({g:function(e,t){u.M.call(this,e,t);e.d("timeupdate",u.bind(this,this.Aa));e.P(u.bind(this,this.Aa))}});t=u.Yb.prototype;t.f={children:{loadProgressBar:{},playProgressBar:{},seekHandle:{}},barName:"playProgressBar",handleName:"seekHandle"};t.qc="timeupdate";t.e=function(){return u.M.prototype.e.call(this,"div",{className:"vjs-progress-holder","aria-label":"video progress bar"})};t.Aa=function(){var e=this.a.Nb?this.a.s.currentTime:this.a.currentTime();this.b.setAttribute("aria-valuenow",u.round(100*this.yb(),2));this.b.setAttribute("aria-valuetext",u.Ka(e,this.a.duration()))};t.yb=function(){return this.a.currentTime()/this.a.duration()};t.Oa=function(e){u.M.prototype.Oa.call(this,e);this.a.Nb=f;this.qd=!this.a.paused();this.a.pause()};t.Hb=function(e){e=E(this,e)*this.a.duration();e==this.a.duration()&&(e-=.1);this.a.currentTime(e)};t.Ib=function(e){u.M.prototype.Ib.call(this,e);this.a.Nb=l;this.qd&&this.a.play()};t.wc=function(){this.a.currentTime(this.a.currentTime()+5)};t.vc=function(){this.a.currentTime(this.a.currentTime()-5)};u.bb=u.c.extend({g:function(e,t){u.c.call(this,e,t);e.d("progress",u.bind(this,this.update))}});u.bb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-load-progress",innerHTML:'Loaded: 0%'})};u.bb.prototype.update=function(){this.b.style&&(this.b.style.width=u.round(100*this.a.Ha(),2)+"%")};u.Wb=u.c.extend({g:function(e,t){u.c.call(this,e,t)}});u.Wb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-play-progress",innerHTML:'Progress: 0%'})};u.hb=u.ga.extend();u.hb.prototype.defaultValue="00:00";u.hb.prototype.e=function(){return u.ga.prototype.e.call(this,"div",{className:"vjs-seek-handle"})};u.jb=u.c.extend({g:function(e,t){u.c.call(this,e,t);e.h&&e.h.j&&e.h.j.U===l&&this.p("vjs-hidden");e.d("loadstart",u.bind(this,function(){e.h.j&&e.h.j.U===l?this.p("vjs-hidden"):this.w("vjs-hidden")}))}});u.jb.prototype.f={children:{volumeBar:{}}};u.jb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-volume-control vjs-control"})};u.ib=u.M.extend({g:function(e,t){u.M.call(this,e,t);e.d("volumechange",u.bind(this,this.Aa));e.P(u.bind(this,this.Aa));setTimeout(u.bind(this,this.update),0)}});t=u.ib.prototype;t.Aa=function(){this.b.setAttribute("aria-valuenow",u.round(100*this.a.volume(),2));this.b.setAttribute("aria-valuetext",u.round(100*this.a.volume(),2)+"%")};t.f={children:{volumeLevel:{},volumeHandle:{}},barName:"volumeLevel",handleName:"volumeHandle"};t.qc="volumechange";t.e=function(){return u.M.prototype.e.call(this,"div",{className:"vjs-volume-bar","aria-label":"volume level"})};t.Hb=function(e){this.a.volume(E(this,e))};t.yb=function(){return this.a.muted()?0:this.a.volume()};t.wc=function(){this.a.volume(this.a.volume()+.1)};t.vc=function(){this.a.volume(this.a.volume()-.1)};u.bc=u.c.extend({g:function(e,t){u.c.call(this,e,t)}});u.bc.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-volume-level",innerHTML:''})};u.kb=u.ga.extend();u.kb.prototype.defaultValue="00:00";u.kb.prototype.e=function(){return u.ga.prototype.e.call(this,"div",{className:"vjs-volume-handle"})};u.fa=u.o.extend({g:function(e,t){u.o.call(this,e,t);e.d("volumechange",u.bind(this,this.update));e.h&&e.h.j&&e.h.j.U===l&&this.p("vjs-hidden");e.d("loadstart",u.bind(this,function(){e.h.j&&e.h.j.U===l?this.p("vjs-hidden"):this.w("vjs-hidden")}))}});u.fa.prototype.e=function(){return u.o.prototype.e.call(this,"div",{className:"vjs-mute-control vjs-control",innerHTML:'
Mute
'})};u.fa.prototype.n=function(){this.a.muted(this.a.muted()?l:f)};u.fa.prototype.update=function(){var e=this.a.volume(),t=3;0===e||this.a.muted()?t=0:.33>e?t=1:.67>e&&(t=2);this.a.muted()?"Unmute"!=this.b.children[0].children[0].innerHTML&&(this.b.children[0].children[0].innerHTML="Unmute"):"Mute"!=this.b.children[0].children[0].innerHTML&&(this.b.children[0].children[0].innerHTML="Mute");for(e=0;4>e;e++)u.w(this.b,"vjs-vol-"+e);u.p(this.b,"vjs-vol-"+t)};u.Fa=u.ea.extend({g:function(e,t){u.ea.call(this,e,t);e.d("volumechange",u.bind(this,this.update));e.h&&e.h.j&&e.h.j.U===l&&this.p("vjs-hidden");e.d("loadstart",u.bind(this,function(){e.h.j&&e.h.j.U===l?this.p("vjs-hidden"):this.w("vjs-hidden")}));this.p("vjs-menu-button")}});u.Fa.prototype.Ja=function(){var e=new u.la(this.a,{Kc:"div"}),t=new u.ib(this.a,u.i.B({pd:f},this.f.Dd));e.Y(t);return e};u.Fa.prototype.n=function(){u.fa.prototype.n.call(this);u.ea.prototype.n.call(this)};u.Fa.prototype.e=function(){return u.o.prototype.e.call(this,"div",{className:"vjs-volume-menu-button vjs-menu-button vjs-control",innerHTML:'
Mute
'})};u.Fa.prototype.update=u.fa.prototype.update;u.eb=u.o.extend({g:function(e,t){u.o.call(this,e,t);(!e.poster()||!e.controls())&&this.v();e.d("play",u.bind(this,this.v))}});u.eb.prototype.e=function(){var e=u.e("div",{className:"vjs-poster",tabIndex:-1}),t=this.a.poster();t&&("backgroundSize"in e.style?e.style.backgroundImage='url("'+t+'")':e.appendChild(u.e("img",{src:t})));return e};u.eb.prototype.n=function(){this.a.play()};u.Vb=u.c.extend({g:function(e,t){u.c.call(this,e,t);e.d("canplay",u.bind(this,this.v));e.d("canplaythrough",u.bind(this,this.v));e.d("playing",u.bind(this,this.v));e.d("seeked",u.bind(this,this.v));e.d("seeking",u.bind(this,this.show));e.d("seeked",u.bind(this,this.v));e.d("error",u.bind(this,this.show));e.d("waiting",u.bind(this,this.show))}});u.Vb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-loading-spinner"})};u.Wa=u.o.extend({g:function(e,t){u.o.call(this,e,t);e.controls()||this.v();e.d("play",u.bind(this,this.v))}});u.Wa.prototype.e=function(){return u.o.prototype.e.call(this,"div",{className:"vjs-big-play-button",innerHTML:"","aria-label":"play video"})};u.Wa.prototype.n=function(){this.a.play()};u.q=u.c.extend({g:function(e,t,n){u.c.call(this,e,t,n)}});u.q.prototype.n=u.ab?m():function(){this.a.controls()&&(this.a.paused()?this.a.play():this.a.pause())};u.q.prototype.j={U:f,jc:l,Mb:l,Pb:l};u.media={};u.media.Va="play pause paused currentTime setCurrentTime duration buffered volume setVolume muted setMuted width height supportsFullScreen enterFullScreen src load currentSrc preload setPreload autoplay setAutoplay loop setLoop error networkState readyState seeking initialTime startOffsetTime played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks defaultPlaybackRate playbackRate mediaGroup controller controls defaultMuted".split(" ");for(var i=u.media.Va.length-1;0<=i;i--)u.q.prototype[u.media.Va[i]]=ea();u.m=u.q.extend({g:function(e,t,n){this.j.U=u.m.Jc();this.j.Uc=!u.Ub;this.j.jc=f;u.q.call(this,e,t,n);(t=t.source)&&this.b.currentSrc==t.src?e.k("loadstart"):t&&(this.b.src=t.src);e.P(function(){this.F&&this.f.autoplay&&this.paused()&&(delete this.F.poster,this.play())});this.d("click",this.n);for(e=u.m.$a.length-1;0<=e;e--)u.d(this.b,u.m.$a[e],u.bind(this.a,this.Pc));this.Ta()}});t=u.m.prototype;t.D=function(){u.q.prototype.D.call(this)};t.e=function(){var e=this.a,t=e.F;if(!t||this.j.Uc===l)t?(t.player=h,e.F=h,e.r().removeChild(t),t=t.cloneNode(l)):t=u.e("video",{id:e.id()+"_html5_api",className:"vjs-tech"}),t.player=e,u.zb(t,e.r());for(var n=["autoplay","preload","loop","muted"],r=n.length-1;0<=r;r--){var i=n[r];e.f[i]!==h&&(t[i]=e.f[i])}return t};t.Pc=function(e){this.k(e);e.stopPropagation()};t.play=function(){this.b.play()};t.pause=function(){this.b.pause()};t.paused=function(){return this.b.paused};t.currentTime=function(){return this.b.currentTime};t.fd=function(e){try{this.b.currentTime=e}catch(t){u.log(t,"Video is not ready. (Video.js)")}};t.duration=function(){return this.b.duration||0};t.buffered=function(){return this.b.buffered};t.volume=function(){return this.b.volume};t.ld=function(e){this.b.volume=e};t.muted=function(){return this.b.muted};t.jd=function(e){this.b.muted=e};t.width=function(){return this.b.offsetWidth};t.height=function(){return this.b.offsetHeight};t.Sa=function(){return"function"==typeof this.b.webkitEnterFullScreen&&(/Android/.test(u.G)||!/Chrome|Mac OS X 10.5/.test(u.G))?f:l};t.src=function(e){this.b.src=e};t.load=function(){this.b.load()};t.currentSrc=function(){return this.b.currentSrc};t.Pa=function(){return this.b.Pa};t.kd=function(e){this.b.Pa=e};t.autoplay=function(){return this.b.autoplay};t.ed=function(e){this.b.autoplay=e};t.loop=function(){return this.b.loop};t.hd=function(e){this.b.loop=e};t.error=function(){return this.b.error};u.m.isSupported=function(){return!!u.ma.canPlayType};u.m.nb=function(e){try{return!!u.ma.canPlayType(e.type)}catch(t){return""}};u.m.Jc=function(){var e=u.ma.volume;u.ma.volume=e/2+.1;return e!==u.ma.volume};u.m.$a="loadstart suspend abort error emptied stalled loadedmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate progress play pause ratechange volumechange".split(" ");u.Ec&&(document.createElement("video").constructor.prototype.canPlayType=function(e){return e&&-1!=e.toLowerCase().indexOf("video/mp4")?"maybe":""});u.l=u.q.extend({g:function(e,t,n){u.q.call(this,e,t,n);n=t.source;var r=t.parentEl,i=this.b=u.e("div",{id:e.id()+"_temp_flash"}),s=e.id()+"_flash_api";e=e.f;var o=u.i.B({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:e.autoplay,preload:e.Pa,loop:e.loop,muted:e.muted},t.flashVars),a=u.i.B({wmode:"opaque",bgcolor:"#000000"},t.params),l=u.i.B({id:s,name:s,"class":"vjs-tech"},t.attributes);n&&(o.src=encodeURIComponent(u.kc(n.src)));u.zb(i,r);t.startTime&&this.P(function(){this.load();this.play();this.currentTime(t.startTime)});if(t.iFrameMode===f&&!u.Ac){var c=u.e("iframe",{id:s+"_iframe",name:s+"_iframe",className:"vjs-tech",scrolling:"no",marginWidth:0,marginHeight:0,frameBorder:0});o.readyFunction="ready";o.eventProxyFunction="events";o.errorEventProxyFunction="errors";u.d(c,"load",u.bind(this,function(){var e,n=c.contentWindow;e=c.contentDocument?c.contentDocument:c.contentWindow.document;e.write(u.l.lc(t.swf,o,a,l));n.player=this.a;n.ready=u.bind(this.a,function(t){t=e.getElementById(t);var n=this.h;n.b=t;u.d(t,"click",n.bind(n.n));u.l.qb(n)});n.events=u.bind(this.a,function(e,t){this&&"flash"===this.ya&&this.k(t)});n.errors=u.bind(this.a,function(e,t){u.log("Flash Error",t)})}));i.parentNode.replaceChild(c,i)}else u.l.Oc(t.swf,i,o,a,l)}});t=u.l.prototype;t.D=function(){u.q.prototype.D.call(this)};t.play=function(){this.b.vjs_play()};t.pause=function(){this.b.vjs_pause()};t.src=function(e){e=u.kc(e);this.b.vjs_src(e);if(this.a.autoplay()){var t=this;setTimeout(function(){t.play()},0)}};t.load=function(){this.b.vjs_load()};t.poster=function(){this.b.vjs_getProperty("poster")};t.buffered=function(){return u.tb(0,this.b.vjs_getProperty("buffered"))};t.Sa=r(l);var P=u.l.prototype,Q="preload currentTime defaultPlaybackRate playbackRate autoplay loop mediaGroup controller controls volume muted defaultMuted".split(" "),R="error currentSrc networkState readyState seeking initialTime duration startOffsetTime paused played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks".split(" "),S;for(S=0;S'});r=u.i.B({data:e,width:"100%",height:"100%"},r);u.i.ra(r,function(e,t){o+=e+'="'+t+'" '});return'"+s+""};u.Fc=u.c.extend({g:function(e,t,n){u.c.call(this,e,t,n);if(!e.f.sources||0===e.f.sources.length){t=0;for(n=e.f.techOrder;t")?(t=r,r=u.trim(e[++i])):t=this.ha.length;t={id:t,index:this.ha.length};n=r.split(" --> ");t.startTime=X(n[0]);t.sa=X(n[1]);for(n=[];e[++i]&&(r=u.trim(e[i]));)n.push(r);t.text=n.join("
");this.ha.push(t)}this.ja=2;this.k("loaded")};t.update=function(){if(0=this.La||this.La===b?c=this.wb!==b?this.wb:0:(i=f,c=this.Db!==b?this.Db:t.length-1);for(;;){a=t[c];if(a.sa<=e)r=Math.max(r,a.sa),a.Ga&&(a.Ga=l);else if(e'+e[n].text+"";this.b.innerHTML=t;this.k("cuechange")}}};t.reset=function(){this.La=0;this.Lb=this.a.duration();this.Db=this.wb=0};u.Rb=u.V.extend();u.Rb.prototype.A="captions";u.Zb=u.V.extend();u.Zb.prototype.A="subtitles";u.Tb=u.V.extend();u.Tb.prototype.A="chapters";u.$b=u.c.extend({g:function(e,t,n){u.c.call(this,e,t,n);if(e.f.tracks&&0=this.J.length&&this.v()}});u.W.prototype.sb=function(){var e=[],t;e.push(new u.cb(this.a,{kind:this.A}));for(var n=0;nr.readyState()){this.wd=r;r.d("loaded",u.bind(this,this.Ja));return}i=r;break}e=this.ua=new u.la(this.a);e.b.appendChild(u.e("li",{className:"vjs-menu-title",innerHTML:u.Z(this.A),md:-1}));if(i){r=i.ha;for(var o,t=0,n=r.length;t'),h=e(""),p=16/9,d=0,v=.8,m=!1,g=!1,y=!1,b=!1,w=!1,E=[],x,T,N=e.extend({},u,t);a.init=function(){if(!m){N.container.prepend(c);var t=N.forceAutoplay?"autoplay":"";f=e('");f.css("position","absolute");c.append(f);var s=["html5","flash"],o=navigator.userAgent.toLowerCase(),u=o.indexOf("firefox")!=-1;N.useFlashForFirefox&&u&&(s=["flash","html5"]);f=videojs(l.substr(1),{controls:!0,autoplay:!0,preload:"auto",techOrder:s});n();m=!0;y=!1;N.forceAutoplay&&e("body").on("click",r);e("#big-video-vid_flash_api").attr("scale","noborder").attr("width","100%").attr("height","100%");e(window).resize(function(){n()});f.on("loadedmetadata",function(t){document.getElementById("big-video-vid_flash_api")?p=document.getElementById("big-video-vid_flash_api").vjs_getProperty("videoWidth")/document.getElementById("big-video-vid_flash_api").vjs_getProperty("videoHeight"):p=e("#big-video-vid_html5_api").prop("videoWidth")/e("#big-video-vid_html5_api").prop("videoHeight");n();var r=Math.round(f.duration()),i=Math.floor(r/60),s=r-i*60;s<10&&(s="0"+s);d=i+":"+s});f.on("ended",function(){if(N.doLoop){f.currentTime(0);f.play()}b&&i()})}};a.show=function(e,t){t===undefined&&(t={});w=t.ambient===!0;if(w||t.doLoop)N.doLoop=!0;if(typeof e=="string"){var n=e.substring(e.lastIndexOf(".")+1);if(n==="jpg"||n==="gif"||n==="png")o(e);else{t.altSource&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&(e=t.altSource);s(e);b=!1}}else{E=e;x=0;s(E[x]);b=!0}};a.getPlayer=function(){return f};a.triggerPlayer=function(e){S(e)}}})(jQuery);