autoinsurancej.com Open in urlscan Pro
45.33.51.151  Public Scan

Submitted URL: http://autoinsurancej.com/wp-content/plugins/widgetkit/widgets/mediaplayer/mediaelement/mediaelement-and-player.js?_=17304...
Effective URL: https://autoinsurancej.com/wp-content/plugins/widgetkit/widgets/mediaplayer/mediaelement/mediaelement-and-player.js?_=17304...
Submission: On November 08 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

var mejs=mejs||{};mejs.version="2.10.3";mejs.meIndex=0;
mejs.plugins={silverlight:[{version:[3,0],types:"video/mp4 video/m4v video/mov video/wmv audio/wma audio/m4a audio/mp3 audio/wav audio/mpeg".split(" ")}],flash:[{version:[9,0,124],types:"video/mp4 video/m4v video/mov video/flv video/rtmp video/x-flv audio/flv audio/x-flv audio/mp3 audio/m4a audio/mpeg video/youtube video/x-youtube".split(" ")}],youtube:[{version:null,types:["video/youtube","video/x-youtube"]}],vimeo:[{version:null,types:["video/vimeo","video/x-vimeo"]}]};
mejs.Utility={encodeUrl:function(b){return encodeURIComponent(b)},escapeHTML:function(b){return b.toString().split("&").join("&amp;").split("<").join("&lt;").split('"').join("&quot;")},absolutizeUrl:function(b){var a=document.createElement("div");a.innerHTML='<a href="'+this.escapeHTML(b)+'">x</a>';return a.firstChild.href},getScriptPath:function(b){for(var a=0,c,d="",e="",f,g=document.getElementsByTagName("script"),h=g.length,j=b.length;a<h;a++){f=g[a].src;for(c=0;c<j;c++)if(e=b[c],-1<f.indexOf(e)){d=
f.substring(0,f.indexOf(e));break}if(""!==d)break}return d},secondsToTimeCode:function(b,a,c,d){"undefined"==typeof c?c=!1:"undefined"==typeof d&&(d=25);var e=Math.floor(b/3600)%24,f=Math.floor(b/60)%60,g=Math.floor(b%60);b=Math.floor((b%1*d).toFixed(3));return(a||0<e?(10>e?"0"+e:e)+":":"")+(10>f?"0"+f:f)+":"+(10>g?"0"+g:g)+(c?":"+(10>b?"0"+b:b):"")},timeCodeToSeconds:function(b,a,c,d){"undefined"==typeof c?c=!1:"undefined"==typeof d&&(d=25);b=b.split(":");a=parseInt(b[0],10);var e=parseInt(b[1],
10),f=parseInt(b[2],10),g=0;c&&(g=parseInt(b[3])/d);return 3600*a+60*e+f+g},convertSMPTEtoSeconds:function(b){if("string"!=typeof b)return!1;b=b.replace(",",".");var a=0,c=-1!=b.indexOf(".")?b.split(".")[1].length:0,d=1;b=b.split(":").reverse();for(var e=0;e<b.length;e++)d=1,0<e&&(d=Math.pow(60,e)),a+=Number(b[e])*d;return Number(a.toFixed(c))},removeSwf:function(b){var a=document.getElementById(b);a&&"OBJECT"==a.nodeName&&(mejs.MediaFeatures.isIE?(a.style.display="none",function(){4==a.readyState?
mejs.Utility.removeObjectInIE(b):setTimeout(arguments.callee,10)}()):a.parentNode.removeChild(a))},removeObjectInIE:function(b){if(b=document.getElementById(b)){for(var a in b)"function"==typeof b[a]&&(b[a]=null);b.parentNode.removeChild(b)}}};
mejs.PluginDetector={hasPluginVersion:function(b,a){var c=this.plugins[b];a[1]=a[1]||0;a[2]=a[2]||0;return c[0]>a[0]||c[0]==a[0]&&c[1]>a[1]||c[0]==a[0]&&c[1]==a[1]&&c[2]>=a[2]?!0:!1},nav:window.navigator,ua:window.navigator.userAgent.toLowerCase(),plugins:[],addPlugin:function(b,a,c,d,e){this.plugins[b]=this.detectPlugin(a,c,d,e)},detectPlugin:function(b,a,c,d){var e=[0,0,0],f;if("undefined"!=typeof this.nav.plugins&&"object"==typeof this.nav.plugins[b]){if((c=this.nav.plugins[b].description)&&!("undefined"!=
typeof this.nav.mimeTypes&&this.nav.mimeTypes[a]&&!this.nav.mimeTypes[a].enabledPlugin)){e=c.replace(b,"").replace(/^\s+/,"").replace(/\sr/gi,".").split(".");for(b=0;b<e.length;b++)e[b]=parseInt(e[b].match(/\d+/),10)}}else if("undefined"!=typeof window.ActiveXObject)try{(f=new ActiveXObject(c))&&(e=d(f))}catch(g){}return e}};
mejs.PluginDetector.addPlugin("flash","Shockwave Flash","application/x-shockwave-flash","ShockwaveFlash.ShockwaveFlash",function(b){var a=[];if(b=b.GetVariable("$version"))b=b.split(" ")[1].split(","),a=[parseInt(b[0],10),parseInt(b[1],10),parseInt(b[2],10)];return a});
mejs.PluginDetector.addPlugin("silverlight","Silverlight Plug-In","application/x-silverlight-2","AgControl.AgControl",function(b){var a=[0,0,0,0],c=function(a,c,b,g){for(;a.isVersionSupported(c[0]+"."+c[1]+"."+c[2]+"."+c[3]);)c[b]+=g;c[b]-=g};c(b,a,0,1);c(b,a,1,1);c(b,a,2,1E4);c(b,a,2,1E3);c(b,a,2,100);c(b,a,2,10);c(b,a,2,1);c(b,a,3,1);return a});
mejs.MediaFeatures={init:function(){var b=this,a=document,c=mejs.PluginDetector.nav,d=mejs.PluginDetector.ua.toLowerCase(),e,f=["source","track","audio","video"];b.isiPad=null!==d.match(/ipad/i);b.isiPhone=null!==d.match(/iphone/i);b.isiOS=b.isiPhone||b.isiPad;b.isAndroid=null!==d.match(/android/i);b.isBustedAndroid=null!==d.match(/android 2\.[12]/);b.isIE=-1!=c.appName.toLowerCase().indexOf("microsoft");b.isChrome=null!==d.match(/chrome/gi);b.isFirefox=null!==d.match(/firefox/gi);b.isWebkit=null!==
d.match(/webkit/gi);b.isGecko=null!==d.match(/gecko/gi)&&!b.isWebkit;b.isOpera=null!==d.match(/opera/gi);b.hasTouch="ontouchstart"in window;b.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect;for(c=0;c<f.length;c++)e=document.createElement(f[c]);b.supportsMediaTag="undefined"!==typeof e.canPlayType||b.isBustedAndroid;b.hasSemiNativeFullScreen="undefined"!==typeof e.webkitEnterFullscreen;b.hasWebkitNativeFullScreen="undefined"!==typeof e.webkitRequestFullScreen;
b.hasMozNativeFullScreen="undefined"!==typeof e.mozRequestFullScreen;b.hasTrueNativeFullScreen=b.hasWebkitNativeFullScreen||b.hasMozNativeFullScreen;b.nativeFullScreenEnabled=b.hasTrueNativeFullScreen;b.hasMozNativeFullScreen&&(b.nativeFullScreenEnabled=e.mozFullScreenEnabled);this.isChrome&&(b.hasSemiNativeFullScreen=!1);b.hasTrueNativeFullScreen&&(b.fullScreenEventName=b.hasWebkitNativeFullScreen?"webkitfullscreenchange":"mozfullscreenchange",b.isFullScreen=function(){if(e.mozRequestFullScreen)return a.mozFullScreen;
if(e.webkitRequestFullScreen)return a.webkitIsFullScreen},b.requestFullScreen=function(a){b.hasWebkitNativeFullScreen?a.webkitRequestFullScreen():b.hasMozNativeFullScreen&&a.mozRequestFullScreen()},b.cancelFullScreen=function(){b.hasWebkitNativeFullScreen?document.webkitCancelFullScreen():b.hasMozNativeFullScreen&&document.mozCancelFullScreen()});b.hasSemiNativeFullScreen&&d.match(/mac os x 10_5/i)&&(b.hasNativeFullScreen=!1,b.hasSemiNativeFullScreen=!1)}};mejs.MediaFeatures.init();
mejs.HtmlMediaElement={pluginType:"native",isFullScreen:!1,setCurrentTime:function(b){this.currentTime=b},setMuted:function(b){this.muted=b},setVolume:function(b){this.volume=b},stop:function(){this.pause()},setSrc:function(b){for(var a=this.getElementsByTagName("source");0<a.length;)this.removeChild(a[0]);if("string"==typeof b)this.src=b;else for(var c,a=0;a<b.length;a++)if(c=b[a],this.canPlayType(c.type)){this.src=c.src;break}},setVideoSize:function(b,a){this.width=b;this.height=a}};
mejs.PluginMediaElement=function(b,a,c){this.id=b;this.pluginType=a;this.src=c;this.events={};this.attributes={}};
mejs.PluginMediaElement.prototype={pluginElement:null,pluginType:"",isFullScreen:!1,playbackRate:-1,defaultPlaybackRate:-1,seekable:[],played:[],paused:!0,ended:!1,seeking:!1,duration:0,error:null,tagName:"",muted:!1,volume:1,currentTime:0,play:function(){null!=this.pluginApi&&("youtube"==this.pluginType?this.pluginApi.playVideo():this.pluginApi.playMedia(),this.paused=!1)},load:function(){null!=this.pluginApi&&("youtube"!=this.pluginType&&this.pluginApi.loadMedia(),this.paused=!1)},pause:function(){null!=
this.pluginApi&&("youtube"==this.pluginType?this.pluginApi.pauseVideo():this.pluginApi.pauseMedia(),this.paused=!0)},stop:function(){null!=this.pluginApi&&("youtube"==this.pluginType?this.pluginApi.stopVideo():this.pluginApi.stopMedia(),this.paused=!0)},canPlayType:function(b){var a,c,d,e=mejs.plugins[this.pluginType];for(a=0;a<e.length;a++)if(d=e[a],mejs.PluginDetector.hasPluginVersion(this.pluginType,d.version))for(c=0;c<d.types.length;c++)if(b==d.types[c])return!0;return!1},positionFullscreenButton:function(b,
a,c){null!=this.pluginApi&&this.pluginApi.positionFullscreenButton&&this.pluginApi.positionFullscreenButton(b,a,c)},hideFullscreenButton:function(){null!=this.pluginApi&&this.pluginApi.hideFullscreenButton&&this.pluginApi.hideFullscreenButton()},setSrc:function(b){if("string"==typeof b)this.pluginApi.setSrc(mejs.Utility.absolutizeUrl(b)),this.src=mejs.Utility.absolutizeUrl(b);else{var a,c;for(a=0;a<b.length;a++)if(c=b[a],this.canPlayType(c.type)){this.pluginApi.setSrc(mejs.Utility.absolutizeUrl(c.src));
this.src=mejs.Utility.absolutizeUrl(b);break}}},setCurrentTime:function(b){null!=this.pluginApi&&("youtube"==this.pluginType?this.pluginApi.seekTo(b):this.pluginApi.setCurrentTime(b),this.currentTime=b)},setVolume:function(b){null!=this.pluginApi&&("youtube"==this.pluginType?this.pluginApi.setVolume(100*b):this.pluginApi.setVolume(b),this.volume=b)},setMuted:function(b){null!=this.pluginApi&&("youtube"==this.pluginType?(b?this.pluginApi.mute():this.pluginApi.unMute(),this.muted=b,this.dispatchEvent("volumechange")):
this.pluginApi.setMuted(b),this.muted=b)},setVideoSize:function(b,a){this.pluginElement.style&&(this.pluginElement.style.width=b+"px",this.pluginElement.style.height=a+"px");null!=this.pluginApi&&this.pluginApi.setVideoSize&&this.pluginApi.setVideoSize(b,a)},setFullscreen:function(b){null!=this.pluginApi&&this.pluginApi.setFullscreen&&this.pluginApi.setFullscreen(b)},enterFullScreen:function(){null!=this.pluginApi&&this.pluginApi.setFullscreen&&this.setFullscreen(!0)},exitFullScreen:function(){null!=
this.pluginApi&&this.pluginApi.setFullscreen&&this.setFullscreen(!1)},addEventListener:function(b,a){this.events[b]=this.events[b]||[];this.events[b].push(a)},removeEventListener:function(b,a){if(!b)return this.events={},!0;var c=this.events[b];if(!c)return!0;if(!a)return this.events[b]=[],!0;for(i=0;i<c.length;i++)if(c[i]===a)return this.events[b].splice(i,1),!0;return!1},dispatchEvent:function(b){var a,c,d=this.events[b];if(d){c=Array.prototype.slice.call(arguments,1);for(a=0;a<d.length;a++)d[a].apply(null,
c)}},hasAttribute:function(b){return b in this.attributes},removeAttribute:function(b){delete this.attributes[b]},getAttribute:function(b){return this.hasAttribute(b)?this.attributes[b]:""},setAttribute:function(b,a){this.attributes[b]=a},remove:function(){mejs.Utility.removeSwf(this.pluginElement.id)}};
mejs.MediaPluginBridge={pluginMediaElements:{},htmlMediaElements:{},registerPluginElement:function(b,a,c){this.pluginMediaElements[b]=a;this.htmlMediaElements[b]=c},initPlugin:function(b){var a=this.pluginMediaElements[b],c=this.htmlMediaElements[b];if(a){switch(a.pluginType){case "flash":a.pluginElement=a.pluginApi=document.getElementById(b);break;case "silverlight":a.pluginElement=document.getElementById(a.id),a.pluginApi=a.pluginElement.Content.MediaElementJS}null!=a.pluginApi&&a.success&&a.success(a,
c)}},fireEvent:function(b,a,c){var d,e;b=this.pluginMediaElements[b];a={type:a,target:b};for(d in c)b[d]=c[d],a[d]=c[d];e=c.bufferedTime||0;a.target.buffered=a.buffered={start:function(){return 0},end:function(){return e},length:1};b.dispatchEvent(a.type,a)}};
mejs.MediaElementDefaults={mode:"auto",plugins:["flash","silverlight","youtube","vimeo"],enablePluginDebug:!1,type:"",pluginPath:mejs.Utility.getScriptPath(["mediaelement.js","mediaelement.min.js","mediaelement-and-player.js","mediaelement-and-player.min.js"]),flashName:"flashmediaelement.swf",flashStreamer:"",enablePluginSmoothing:!1,silverlightName:"silverlightmediaelement.xap",defaultVideoWidth:480,defaultVideoHeight:270,pluginWidth:-1,pluginHeight:-1,pluginVars:[],timerRate:250,startVolume:0.8,
success:function(){},error:function(){}};mejs.MediaElement=function(b,a){return mejs.HtmlMediaElementShim.create(b,a)};
mejs.HtmlMediaElementShim={create:function(b,a){var c=mejs.MediaElementDefaults,d="string"==typeof b?document.getElementById(b):b,e=d.tagName.toLowerCase(),f="audio"===e||"video"===e,g=f?d.getAttribute("src"):d.getAttribute("href"),e=d.getAttribute("poster"),h=d.getAttribute("autoplay"),j=d.getAttribute("preload"),k=d.getAttribute("controls"),l;for(l in a)c[l]=a[l];e="undefined"==typeof e||null===e?"":e;j="undefined"==typeof j||null===j||"false"===j?"none":j;h=!("undefined"==typeof h||null===h||"false"===
h);k=!("undefined"==typeof k||null===k||"false"===k);l=this.determinePlayback(d,c,mejs.MediaFeatures.supportsMediaTag,f,"undefined"==typeof g||null===g||""==g?null:g);l.url=null!==l.url?mejs.Utility.absolutizeUrl(l.url):"";if("native"==l.method)return mejs.MediaFeatures.isBustedAndroid&&(d.src=l.url,d.addEventListener("click",function(){d.play()},!1)),this.updateNative(l,c,h,j);if(""!==l.method)return this.createPlugin(l,c,e,h,j,k);this.createErrorMessage(l,c,e);return this},determinePlayback:function(b,
a,c,d,e){var f=[],g,h,j,k={method:"",url:"",htmlMediaElement:b,isVideo:"audio"!=b.tagName.toLowerCase()},l;if("undefined"!=typeof a.type&&""!==a.type)if("string"==typeof a.type)f.push({type:a.type,url:e});else for(g=0;g<a.type.length;g++)f.push({type:a.type[g],url:e});else if(null!==e)j=this.formatType(e,b.getAttribute("type")),f.push({type:j,url:e});else for(g=0;g<b.childNodes.length;g++)h=b.childNodes[g],1==h.nodeType&&"source"==h.tagName.toLowerCase()&&(e=h.getAttribute("src"),j=this.formatType(e,
h.getAttribute("type")),h=h.getAttribute("media"),(!h||!window.matchMedia||window.matchMedia&&window.matchMedia(h).matches)&&f.push({type:j,url:e}));!d&&(0<f.length&&null!==f[0].url&&-1<this.getTypeFromFile(f[0].url).indexOf("audio"))&&(k.isVideo=!1);mejs.MediaFeatures.isBustedAndroid&&(b.canPlayType=function(a){return null!==a.match(/video\/(mp4|m4v)/gi)?"maybe":""});if(c&&("auto"===a.mode||"auto_plugin"===a.mode||"native"===a.mode)){d||(g=document.createElement(k.isVideo?"video":"audio"),b.parentNode.insertBefore(g,
b),b.style.display="none",k.htmlMediaElement=b=g);for(g=0;g<f.length;g++)if(""!==b.canPlayType(f[g].type).replace(/no/,"")||""!==b.canPlayType(f[g].type.replace(/mp3/,"mpeg")).replace(/no/,"")){k.method="native";k.url=f[g].url;break}if("native"===k.method&&(null!==k.url&&(b.src=k.url),"auto_plugin"!==a.mode))return k}if("auto"===a.mode||"auto_plugin"===a.mode||"shim"===a.mode)for(g=0;g<f.length;g++){j=f[g].type;for(b=0;b<a.plugins.length;b++){e=a.plugins[b];h=mejs.plugins[e];for(c=0;c<h.length;c++)if(l=
h[c],null==l.version||mejs.PluginDetector.hasPluginVersion(e,l.version))for(d=0;d<l.types.length;d++)if(j==l.types[d])return k.method=e,k.url=f[g].url,k}}if("auto_plugin"===a.mode&&"native"===k.method)return k;""===k.method&&0<f.length&&(k.url=f[0].url);return k},formatType:function(b,a){return b&&!a?this.getTypeFromFile(b):a&&~a.indexOf(";")?a.substr(0,a.indexOf(";")):a},getTypeFromFile:function(b){b=b.split("?")[0];b=b.substring(b.lastIndexOf(".")+1);return(/(mp4|m4v|ogg|ogv|webm|webmv|flv|wmv|mpeg|mov)/gi.test(b)?
"video":"audio")+"/"+this.getTypeFromExtension(b)},getTypeFromExtension:function(b){switch(b){case "mp4":case "m4v":return"mp4";case "webm":case "webma":case "webmv":return"webm";case "ogg":case "oga":case "ogv":return"ogg";default:return b}},createErrorMessage:function(b,a,c){var d=b.htmlMediaElement,e=document.createElement("div");e.className="me-cannotplay";try{e.style.width=d.width+"px",e.style.height=d.height+"px"}catch(f){}e.innerHTML=""!==c?'<a href="'+b.url+'"><img src="'+c+'" width="100%" height="100%" /></a>':
'<a href="'+b.url+'"><span>'+mejs.i18n.t("Download File")+"</span></a>";d.parentNode.insertBefore(e,d);d.style.display="none";a.error(d)},createPlugin:function(b,a,c,d,e,f){c=b.htmlMediaElement;var g=1,h=1,j="me_"+b.method+"_"+mejs.meIndex++,k=new mejs.PluginMediaElement(j,b.method,b.url),l=document.createElement("div"),m;k.tagName=c.tagName;for(m=0;m<c.attributes.length;m++){var n=c.attributes[m];!0==n.specified&&k.setAttribute(n.name,n.value)}for(m=c.parentNode;null!==m&&"body"!=m.tagName.toLowerCase();){if("p"==
m.parentNode.tagName.toLowerCase()){m.parentNode.parentNode.insertBefore(m,m.parentNode);break}m=m.parentNode}b.isVideo?(g=0<a.videoWidth?a.videoWidth:null!==c.getAttribute("width")?c.getAttribute("width"):a.defaultVideoWidth,h=0<a.videoHeight?a.videoHeight:null!==c.getAttribute("height")?c.getAttribute("height"):a.defaultVideoHeight,g=mejs.Utility.encodeUrl(g),h=mejs.Utility.encodeUrl(h)):a.enablePluginDebug&&(g=320,h=240);k.success=a.success;mejs.MediaPluginBridge.registerPluginElement(j,k,c);l.className=
"me-plugin";l.id=j+"_container";b.isVideo?c.parentNode.insertBefore(l,c):document.body.insertBefore(l,document.body.childNodes[0]);d=["id="+j,"isvideo="+(b.isVideo?"true":"false"),"autoplay="+(d?"true":"false"),"preload="+e,"width="+g,"startvolume="+a.startVolume,"timerrate="+a.timerRate,"flashstreamer="+a.flashStreamer,"height="+h];null!==b.url&&("flash"==b.method?d.push("file="+mejs.Utility.encodeUrl(b.url)):d.push("file="+b.url));a.enablePluginDebug&&d.push("debug=true");a.enablePluginSmoothing&&
d.push("smoothing=true");f&&d.push("controls=true");a.pluginVars&&(d=d.concat(a.pluginVars));switch(b.method){case "silverlight":l.innerHTML='<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" id="'+j+'" name="'+j+'" width="'+g+'" height="'+h+'"><param name="initParams" value="'+d.join(",")+'" /><param name="windowless" value="true" /><param name="background" value="black" /><param name="minRuntimeVersion" value="3.0.0.0" /><param name="autoUpgrade" value="true" /><param name="source" value="'+
a.pluginPath+a.silverlightName+'" /></object>';break;case "flash":mejs.MediaFeatures.isIE?(b=document.createElement("div"),l.appendChild(b),b.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="'+j+'" width="'+g+'" height="'+h+'"><param name="movie" value="'+a.pluginPath+a.flashName+"?x="+new Date+'" /><param name="flashvars" value="'+d.join("&amp;")+'" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /></object>'):
l.innerHTML='<embed id="'+j+'" name="'+j+'" play="true" loop="false" quality="high" bgcolor="#000000" wmode="transparent" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="//www.macromedia.com/go/getflashplayer" src="'+a.pluginPath+a.flashName+'" flashvars="'+d.join("&")+'" width="'+g+'" height="'+h+'"></embed>';break;case "youtube":a=b.url.substr(b.url.lastIndexOf("=")+1);youtubeSettings={container:l,containerId:l.id,pluginMediaElement:k,pluginId:j,
videoId:a,height:h,width:g};mejs.PluginDetector.hasPluginVersion("flash",[10,0,0])?mejs.YouTubeApi.createFlash(youtubeSettings):mejs.YouTubeApi.enqueueIframe(youtubeSettings);break;case "vimeo":k.vimeoid=b.url.substr(b.url.lastIndexOf("/")+1),l.innerHTML='<iframe src="http://player.vimeo.com/video/'+k.vimeoid+'?portrait=0&byline=0&title=0" width="'+g+'" height="'+h+'" frameborder="0"></iframe>'}c.style.display="none";return k},updateNative:function(b,a){var c=b.htmlMediaElement,d;for(d in mejs.HtmlMediaElement)c[d]=
mejs.HtmlMediaElement[d];a.success(c,c);return c}};
mejs.YouTubeApi={isIframeStarted:!1,isIframeLoaded:!1,loadIframeApi:function(){if(!this.isIframeStarted){var b=document.createElement("script");b.src="http://www.youtube.com/player_api";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(b,a);this.isIframeStarted=!0}},iframeQueue:[],enqueueIframe:function(b){this.isLoaded?this.createIframe(b):(this.loadIframeApi(),this.iframeQueue.push(b))},createIframe:function(b){var a=b.pluginMediaElement,c=new YT.Player(b.containerId,{height:b.height,
width:b.width,videoId:b.videoId,playerVars:{controls:0},events:{onReady:function(){b.pluginMediaElement.pluginApi=c;mejs.MediaPluginBridge.initPlugin(b.pluginId);setInterval(function(){mejs.YouTubeApi.createEvent(c,a,"timeupdate")},250)},onStateChange:function(b){mejs.YouTubeApi.handleStateChange(b.data,c,a)}}})},createEvent:function(b,a,c){c={type:c,target:a};if(b&&b.getDuration){a.currentTime=c.currentTime=b.getCurrentTime();a.duration=c.duration=b.getDuration();c.paused=a.paused;c.ended=a.ended;
c.muted=b.isMuted();c.volume=b.getVolume()/100;c.bytesTotal=b.getVideoBytesTotal();c.bufferedBytes=b.getVideoBytesLoaded();var d=c.bufferedBytes/c.bytesTotal*c.duration;c.target.buffered=c.buffered={start:function(){return 0},end:function(){return d},length:1}}a.dispatchEvent(c.type,c)},iFrameReady:function(){for(this.isIframeLoaded=this.isLoaded=!0;0<this.iframeQueue.length;){var b=this.iframeQueue.pop();this.createIframe(b)}},flashPlayers:{},createFlash:function(b){this.flashPlayers[b.pluginId]=
b;var a,c="http://www.youtube.com/apiplayer?enablejsapi=1&amp;playerapiid="+b.pluginId+"&amp;version=3&amp;autoplay=0&amp;controls=0&amp;modestbranding=1&loop=0";mejs.MediaFeatures.isIE?(a=document.createElement("div"),b.container.appendChild(a),a.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="'+b.pluginId+'" width="'+b.width+'" height="'+b.height+'"><param name="movie" value="'+c+'" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /></object>'):
b.container.innerHTML='<object type="application/x-shockwave-flash" id="'+b.pluginId+'" data="'+c+'" width="'+b.width+'" height="'+b.height+'" style="visibility: visible; "><param name="allowScriptAccess" value="always"><param name="wmode" value="transparent"></object>'},flashReady:function(b){var a=this.flashPlayers[b],c=document.getElementById(b),d=a.pluginMediaElement;d.pluginApi=d.pluginElement=c;mejs.MediaPluginBridge.initPlugin(b);c.cueVideoById(a.videoId);b=a.containerId+"_callback";window[b]=
function(a){mejs.YouTubeApi.handleStateChange(a,c,d)};c.addEventListener("onStateChange",b);setInterval(function(){mejs.YouTubeApi.createEvent(c,d,"timeupdate")},250)},handleStateChange:function(b,a,c){switch(b){case -1:c.paused=!0;c.ended=!0;mejs.YouTubeApi.createEvent(a,c,"loadedmetadata");break;case 0:c.paused=!1;c.ended=!0;mejs.YouTubeApi.createEvent(a,c,"ended");break;case 1:c.paused=!1;c.ended=!1;mejs.YouTubeApi.createEvent(a,c,"play");mejs.YouTubeApi.createEvent(a,c,"playing");break;case 2:c.paused=
!0;c.ended=!1;mejs.YouTubeApi.createEvent(a,c,"pause");break;case 3:mejs.YouTubeApi.createEvent(a,c,"progress")}}};function onYouTubePlayerAPIReady(){mejs.YouTubeApi.iFrameReady()}function onYouTubePlayerReady(b){mejs.YouTubeApi.flashReady(b)}window.mejs=mejs;window.MediaElement=mejs.MediaElement;
(function(b,a,c){var d={locale:{strings:{}},methods:{}};d.locale.getLanguage=function(){return{language:navigator.language}};d.locale.INIT_LANGUAGE=d.locale.getLanguage();d.methods.checkPlain=function(a){var c,b,d={"&":"&amp;",'"':"&quot;","<":"&lt;",">":"&gt;"};a=String(a);for(c in d)d.hasOwnProperty(c)&&(b=RegExp(c,"g"),a=a.replace(b,d[c]));return a};d.methods.formatString=function(a,c){for(var b in c){switch(b.charAt(0)){case "@":c[b]=d.methods.checkPlain(c[b]);break;case "!":break;default:c[b]=
'<em class="placeholder">'+d.methods.checkPlain(c[b])+"</em>"}a=a.replace(b,c[b])}return a};d.methods.t=function(a,c,b){d.locale.strings&&(d.locale.strings[b.context]&&d.locale.strings[b.context][a])&&(a=d.locale.strings[b.context][a]);c&&(a=d.methods.formatString(a,c));return a};d.t=function(a,c,b){if("string"===typeof a&&0<a.length){var h=d.locale.getLanguage();b=b||{context:h.language};return d.methods.t(a,c,b)}throw{name:"InvalidArgumentException",message:"First argument is either not a string or empty."};
};c.i18n=d})(jQuery,document,mejs);(function(b){b.de={Fullscreen:"Vollbild","Go Fullscreen":"Vollbild an","Turn off Fullscreen":"Vollbild aus",Close:"Schlie\u00dfen"}})(mejs.i18n.locale.strings);"undefined"!=typeof jQuery?mejs.$=jQuery:"undefined"!=typeof ender&&(mejs.$=ender);
(function(b){mejs.MepDefaults={poster:"",defaultVideoWidth:480,defaultVideoHeight:270,videoWidth:-1,videoHeight:-1,defaultAudioWidth:400,defaultAudioHeight:30,defaultSeekBackwardInterval:function(a){return 0.05*a.duration},defaultSeekForwardInterval:function(a){return 0.05*a.duration},audioWidth:-1,audioHeight:-1,startVolume:0.8,loop:!1,autoRewind:!0,enableAutosize:!0,alwaysShowHours:!1,showTimecodeFrameCount:!1,framesPerSecond:25,autosizeProgress:!0,alwaysShowControls:!1,clickToPlayPause:!0,iPadUseNativeControls:!1,
iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1,features:"playpause current progress duration tracks volume fullscreen".split(" "),isVideo:!0,enableKeyboard:!0,pauseOtherPlayers:!0,keyActions:[{keys:[32,179],action:function(a,c){c.paused||c.ended?c.play():c.pause()}},{keys:[38],action:function(a,c){var b=Math.min(c.volume+0.1,1);c.setVolume(b)}},{keys:[40],action:function(a,c){var b=Math.max(c.volume-0.1,0);c.setVolume(b)}},{keys:[37,227],action:function(a,c){if(!isNaN(c.duration)&&0<c.duration){a.isVideo&&
(a.showControls(),a.startControlsTimer());var b=Math.max(c.currentTime-a.options.defaultSeekBackwardInterval(c),0);c.setCurrentTime(b)}}},{keys:[39,228],action:function(a,c){if(!isNaN(c.duration)&&0<c.duration){a.isVideo&&(a.showControls(),a.startControlsTimer());var b=Math.min(c.currentTime+a.options.defaultSeekForwardInterval(c),c.duration);c.setCurrentTime(b)}}},{keys:[70],action:function(a){"undefined"!=typeof a.enterFullScreen&&(a.isFullScreen?a.exitFullScreen():a.enterFullScreen())}}]};mejs.mepIndex=
0;mejs.players=[];mejs.MediaElementPlayer=function(a,c){if(!(this instanceof mejs.MediaElementPlayer))return new mejs.MediaElementPlayer(a,c);this.$media=this.$node=b(a);this.node=this.media=this.$media[0];if("undefined"!=typeof this.node.player)return this.node.player;this.node.player=this;"undefined"==typeof c&&(c=this.$node.data("mejsoptions"));this.options=b.extend({},mejs.MepDefaults,c);mejs.players.push(this);this.init();return this};mejs.MediaElementPlayer.prototype={hasFocus:!1,controlsAreVisible:!0,
init:function(){var a=this,c=mejs.MediaFeatures,d=b.extend(!0,{},a.options,{success:function(c,b){a.meReady(c,b)},error:function(c){a.handleError(c)}}),e=a.media.tagName.toLowerCase();a.isDynamic="audio"!==e&&"video"!==e;a.isVideo=a.isDynamic?a.options.isVideo:"audio"!==e&&a.options.isVideo;if(c.isiPad&&a.options.iPadUseNativeControls||c.isiPhone&&a.options.iPhoneUseNativeControls)a.$media.attr("controls","controls"),c.isiPad&&null!==a.media.getAttribute("autoplay")&&(a.media.load(),a.media.play());
else if(!c.isAndroid||!a.AndroidUseNativeControls)a.$media.removeAttr("controls"),a.id="mep_"+mejs.mepIndex++,a.container=b('<div id="'+a.id+'" class="mejs-container '+(mejs.MediaFeatures.svg?"svg":"no-svg")+'"><div class="mejs-inner"><div class="mejs-mediaelement"></div><div class="mejs-layers"></div><div class="mejs-controls"></div><div class="mejs-clear"></div></div></div>').addClass(a.$media[0].className).insertBefore(a.$media),a.container.addClass((c.isAndroid?"mejs-android ":"")+(c.isiOS?"mejs-ios ":
"")+(c.isiPad?"mejs-ipad ":"")+(c.isiPhone?"mejs-iphone ":"")+(a.isVideo?"mejs-video ":"mejs-audio ")),c.isiOS?(c=a.$media.clone(),a.container.find(".mejs-mediaelement").append(c),a.$media.remove(),a.$node=a.$media=c,a.node=a.media=c[0]):a.container.find(".mejs-mediaelement").append(a.$media),a.controls=a.container.find(".mejs-controls"),a.layers=a.container.find(".mejs-layers"),c=a.isVideo?"video":"audio",e=c.substring(0,1).toUpperCase()+c.substring(1),a.width=0<a.options[c+"Width"]||-1<a.options[c+
"Width"].toString().indexOf("%")?a.options[c+"Width"]:""!==a.media.style.width&&null!==a.media.style.width?a.media.style.width:null!==a.media.getAttribute("width")?a.$media.attr("width"):a.options["default"+e+"Width"],a.height=0<a.options[c+"Height"]||-1<a.options[c+"Height"].toString().indexOf("%")?a.options[c+"Height"]:""!==a.media.style.height&&null!==a.media.style.height?a.media.style.height:null!==a.$media[0].getAttribute("height")?a.$media.attr("height"):a.options["default"+e+"Height"],a.setPlayerSize(a.width,
a.height),d.pluginWidth=a.height,d.pluginHeight=a.width;mejs.MediaElement(a.$media[0],d);a.container.trigger("controlsshown")},showControls:function(a){var c=this;c.controlsAreVisible||("undefined"==typeof a||a?(c.controls.css("visibility","visible").stop(!0,!0).fadeIn(200,function(){c.controlsAreVisible=!0;c.container.trigger("controlsshown")}),c.container.find(".mejs-control").css("visibility","visible").stop(!0,!0).fadeIn(200,function(){c.controlsAreVisible=!0})):(c.controls.css("visibility","visible").css("display",
"block"),c.container.find(".mejs-control").css("visibility","visible").css("display","block"),c.controlsAreVisible=!0,c.container.trigger("controlsshown")),c.setControlsSize())},hideControls:function(a){var c=this;c.controlsAreVisible&&("undefined"==typeof a||a?(c.controls.stop(!0,!0).fadeOut(200,function(){b(this).css("visibility","hidden").css("display","block");c.controlsAreVisible=!1;c.container.trigger("controlshidden")}),c.container.find(".mejs-control").stop(!0,!0).fadeOut(200,function(){b(this).css("visibility",
"hidden").css("display","block")})):(c.controls.css("visibility","hidden").css("display","block"),c.container.find(".mejs-control").css("visibility","hidden").css("display","block"),c.controlsAreVisible=!1,c.container.trigger("controlshidden")))},controlsTimer:null,startControlsTimer:function(a){var c=this;a="undefined"!=typeof a?a:1500;c.killControlsTimer("start");c.controlsTimer=setTimeout(function(){c.hideControls();c.killControlsTimer("hide")},a)},killControlsTimer:function(){null!==this.controlsTimer&&
(clearTimeout(this.controlsTimer),delete this.controlsTimer,this.controlsTimer=null)},controlsEnabled:!0,disableControls:function(){this.killControlsTimer();this.hideControls(!1);this.controlsEnabled=!1},enableControls:function(){this.showControls(!1);this.controlsEnabled=!0},meReady:function(a,c){var d=this,e=mejs.MediaFeatures,f=c.getAttribute("autoplay"),f=!("undefined"==typeof f||null===f||"false"===f),g;if(!d.created){d.created=!0;d.media=a;d.domNode=c;if((!e.isAndroid||!d.options.AndroidUseNativeControls)&&
(!e.isiPad||!d.options.iPadUseNativeControls)&&(!e.isiPhone||!d.options.iPhoneUseNativeControls)){d.buildposter(d,d.controls,d.layers,d.media);d.buildkeyboard(d,d.controls,d.layers,d.media);d.buildoverlays(d,d.controls,d.layers,d.media);d.findTracks();for(g in d.options.features)if(e=d.options.features[g],d["build"+e])try{d["build"+e](d,d.controls,d.layers,d.media)}catch(h){}d.container.trigger("controlsready");d.setPlayerSize(d.width,d.height);d.setControlsSize();d.isVideo&&(mejs.MediaFeatures.hasTouch?
d.$media.bind("touchstart",function(){d.controlsAreVisible?d.hideControls(!1):d.controlsEnabled&&d.showControls(!1)}):(d.media.addEventListener("click",function(){d.options.clickToPlayPause&&(d.media.paused?d.media.play():d.media.pause())}),d.container.bind("mouseenter mouseover",function(){d.controlsEnabled&&!d.options.alwaysShowControls&&(d.killControlsTimer("enter"),d.showControls(),d.startControlsTimer(2500))}).bind("mousemove",function(){d.controlsEnabled&&(d.controlsAreVisible||d.showControls(),
d.options.alwaysShowControls||d.startControlsTimer(2500))}).bind("mouseleave",function(){d.controlsEnabled&&!d.media.paused&&!d.options.alwaysShowControls&&d.startControlsTimer(1E3)})),f&&!d.options.alwaysShowControls&&d.hideControls(),d.options.enableAutosize&&d.media.addEventListener("loadedmetadata",function(a){0>=d.options.videoHeight&&(null===d.domNode.getAttribute("height")&&!isNaN(a.target.videoHeight))&&(d.setPlayerSize(a.target.videoWidth,a.target.videoHeight),d.setControlsSize(),d.media.setVideoSize(a.target.videoWidth,
a.target.videoHeight))},!1));a.addEventListener("play",function(){for(var a=0,c=mejs.players.length;a<c;a++){var b=mejs.players[a];b.id!=d.id&&(d.options.pauseOtherPlayers&&!b.paused&&!b.ended)&&b.pause();b.hasFocus=!1}d.hasFocus=!0},!1);d.media.addEventListener("ended",function(){if(d.options.autoRewind)try{d.media.setCurrentTime(0)}catch(a){}d.media.pause();d.setProgressRail&&d.setProgressRail();d.setCurrentRail&&d.setCurrentRail();d.options.loop?d.media.play():!d.options.alwaysShowControls&&d.controlsEnabled&&
d.showControls()},!1);d.media.addEventListener("loadedmetadata",function(){d.updateDuration&&d.updateDuration();d.updateCurrent&&d.updateCurrent();d.isFullScreen||(d.setPlayerSize(d.width,d.height),d.setControlsSize())},!1);setTimeout(function(){d.setPlayerSize(d.width,d.height);d.setControlsSize()},50);b(window).resize(function(){d.isFullScreen||mejs.MediaFeatures.hasTrueNativeFullScreen&&document.webkitIsFullScreen||d.setPlayerSize(d.width,d.height);d.setControlsSize()});"youtube"==d.media.pluginType&&
d.container.find(".mejs-overlay-play").hide()}f&&"native"==a.pluginType&&(a.load(),a.play());if(d.options.success)if("string"==typeof d.options.success)window[d.options.success](d.media,d.domNode,d);else d.options.success(d.media,d.domNode,d)}},handleError:function(a){this.controls.hide();this.options.error&&this.options.error(a)},setPlayerSize:function(a,c){"undefined"!=typeof a&&(this.width=a);"undefined"!=typeof c&&(this.height=c);if(0<this.height.toString().indexOf("%")||"100%"===this.$node.css("max-width")||
this.$node[0].currentStyle&&"100%"===this.$node[0].currentStyle.maxWidth){var d=this.isVideo?this.media.videoWidth&&0<this.media.videoWidth?this.media.videoWidth:this.options.defaultVideoWidth:this.options.defaultAudioWidth,e=this.isVideo?this.media.videoHeight&&0<this.media.videoHeight?this.media.videoHeight:this.options.defaultVideoHeight:this.options.defaultAudioHeight,f=this.container.parent().closest(":visible").width(),d=this.isVideo||!this.options.autosizeProgress?parseInt(f*e/d,10):e;"body"===
this.container.parent()[0].tagName.toLowerCase()&&(f=b(window).width(),d=b(window).height());0!=d&&0!=f&&(this.container.width(f).height(d),this.$media.width("100%").height("100%"),this.container.find("object, embed, iframe").width("100%").height("100%"),this.isVideo&&this.media.setVideoSize&&this.media.setVideoSize(f,d),this.layers.children(".mejs-layer").width("100%").height("100%"))}else this.container.width(this.width).height(this.height),this.layers.children(".mejs-layer").width(this.width).height(this.height)},
setControlsSize:function(){var a=0,c=0,d=this.controls.find(".mejs-time-rail"),e=this.controls.find(".mejs-time-total");this.controls.find(".mejs-time-current");this.controls.find(".mejs-time-loaded");var f=d.siblings();this.options&&!this.options.autosizeProgress&&(c=parseInt(d.css("width")));if(0===c||!c)f.each(function(){"absolute"!=b(this).css("position")&&(a+=b(this).outerWidth(!0))}),c=this.controls.width()-a-(d.outerWidth(!0)-d.width());d.width(c);e.width(c-(e.outerWidth(!0)-e.width()));this.setProgressRail&&
this.setProgressRail();this.setCurrentRail&&this.setCurrentRail()},buildposter:function(a,c,d,e){var f=b('<div class="mejs-poster mejs-layer"></div>').appendTo(d);c=a.$media.attr("poster");""!==a.options.poster&&(c=a.options.poster);""!==c&&null!=c?this.setPoster(c):f.hide();e.addEventListener("play",function(){f.hide()},!1)},setPoster:function(a){var c=this.container.find(".mejs-poster"),d=c.find("img");0==d.length&&(d=b('<img width="100%" height="100%" />').appendTo(c));d.attr("src",a)},buildoverlays:function(a,
c,d,e){var f=this;if(a.isVideo){var g=b('<div class="mejs-overlay mejs-layer"><div class="mejs-overlay-loading"><span></span></div></div>').hide().appendTo(d),h=b('<div class="mejs-overlay mejs-layer"><div class="mejs-overlay-error"></div></div>').hide().appendTo(d),j=b('<div class="mejs-overlay mejs-layer mejs-overlay-play"><div class="mejs-overlay-button"></div></div>').appendTo(d).click(function(){f.options.clickToPlayPause&&(e.paused?e.play():e.pause())});e.addEventListener("play",function(){j.hide();
g.hide();c.find(".mejs-time-buffering").hide();h.hide()},!1);e.addEventListener("playing",function(){j.hide();g.hide();c.find(".mejs-time-buffering").hide();h.hide()},!1);e.addEventListener("seeking",function(){g.show();c.find(".mejs-time-buffering").show()},!1);e.addEventListener("seeked",function(){g.hide();c.find(".mejs-time-buffering").hide()},!1);e.addEventListener("pause",function(){mejs.MediaFeatures.isiPhone||j.show()},!1);e.addEventListener("waiting",function(){g.show();c.find(".mejs-time-buffering").show()},
!1);e.addEventListener("loadeddata",function(){g.show();c.find(".mejs-time-buffering").show()},!1);e.addEventListener("canplay",function(){g.hide();c.find(".mejs-time-buffering").hide()},!1);e.addEventListener("error",function(){g.hide();c.find(".mejs-time-buffering").hide();h.show();h.find("mejs-overlay-error").html("Error loading this resource")},!1)}},buildkeyboard:function(a,c,d,e){b(document).keydown(function(b){if(a.hasFocus&&a.options.enableKeyboard)for(var c=0,d=a.options.keyActions.length;c<
d;c++)for(var j=a.options.keyActions[c],k=0,l=j.keys.length;k<l;k++)if(b.keyCode==j.keys[k])return b.preventDefault(),j.action(a,e,b.keyCode),!1;return!0});b(document).click(function(c){0==b(c.target).closest(".mejs-container").length&&(a.hasFocus=!1)})},findTracks:function(){var a=this,c=a.$media.find("track");a.tracks=[];c.each(function(c,e){e=b(e);a.tracks.push({srclang:e.attr("srclang").toLowerCase(),src:e.attr("src"),kind:e.attr("kind"),label:e.attr("label")||"",entries:[],isLoaded:!1})})},changeSkin:function(a){this.container[0].className=
"mejs-container "+a;this.setPlayerSize(this.width,this.height);this.setControlsSize()},play:function(){this.media.play()},pause:function(){this.media.pause()},load:function(){this.media.load()},setMuted:function(a){this.media.setMuted(a)},setCurrentTime:function(a){this.media.setCurrentTime(a)},getCurrentTime:function(){return this.media.currentTime},setVolume:function(a){this.media.setVolume(a)},getVolume:function(){return this.media.volume},setSrc:function(a){this.media.setSrc(a)},remove:function(){"flash"===
this.media.pluginType?this.media.remove():"native"===this.media.pluginType&&this.$media.prop("controls",!0);this.isDynamic||this.$node.insertBefore(this.container);this.container.remove()}};"undefined"!=typeof jQuery&&(jQuery.fn.mediaelementplayer=function(a){return this.each(function(){new mejs.MediaElementPlayer(this,a)})});b(document).ready(function(){b(".mejs-player").mediaelementplayer()});window.MediaElementPlayer=mejs.MediaElementPlayer})(mejs.$);
(function(b){b.extend(mejs.MepDefaults,{playpauseText:"Play/Pause"});b.extend(MediaElementPlayer.prototype,{buildplaypause:function(a,c,d,e){var f=b('<div class="mejs-button mejs-playpause-button mejs-play" ><button type="button" aria-controls="'+this.id+'" title="'+this.options.playpauseText+'"></button></div>').appendTo(c).click(function(a){a.preventDefault();e.paused?e.play():e.pause();return!1});e.addEventListener("play",function(){f.removeClass("mejs-play").addClass("mejs-pause")},!1);e.addEventListener("playing",
function(){f.removeClass("mejs-play").addClass("mejs-pause")},!1);e.addEventListener("pause",function(){f.removeClass("mejs-pause").addClass("mejs-play")},!1);e.addEventListener("paused",function(){f.removeClass("mejs-pause").addClass("mejs-play")},!1)}})})(mejs.$);
(function(b){b.extend(mejs.MepDefaults,{stopText:"Stop"});b.extend(MediaElementPlayer.prototype,{buildstop:function(a,c,d,e){b('<div class="mejs-button mejs-stop-button mejs-stop"><button type="button" aria-controls="'+this.id+'" title="'+this.options.stopText+'"></button></div>').appendTo(c).click(function(){e.paused||e.pause();0<e.currentTime&&(e.setCurrentTime(0),e.pause(),c.find(".mejs-time-current").width("0px"),c.find(".mejs-time-handle").css("left","0px"),c.find(".mejs-time-float-current").html(mejs.Utility.secondsToTimeCode(0)),
c.find(".mejs-currenttime").html(mejs.Utility.secondsToTimeCode(0)),d.find(".mejs-poster").show())})}})})(mejs.$);
(function(b){b.extend(MediaElementPlayer.prototype,{buildprogress:function(a,c,d,e){b('<div class="mejs-time-rail"><span class="mejs-time-total"><span class="mejs-time-buffering"></span><span class="mejs-time-loaded"></span><span class="mejs-time-current"></span><span class="mejs-time-handle"></span><span class="mejs-time-float"><span class="mejs-time-float-current">00:00</span><span class="mejs-time-float-corner"></span></span></span></div>').appendTo(c);c.find(".mejs-time-buffering").hide();var f=
c.find(".mejs-time-total");d=c.find(".mejs-time-loaded");var g=c.find(".mejs-time-current"),h=c.find(".mejs-time-handle"),j=c.find(".mejs-time-float"),k=c.find(".mejs-time-float-current"),l=function(a){a=a.pageX;var c=f.offset(),b=f.outerWidth(!0),d=0,g=d=0;e.duration&&(a<c.left?a=c.left:a>b+c.left&&(a=b+c.left),g=a-c.left,d=g/b,d=0.02>=d?0:d*e.duration,m&&d!==e.currentTime&&e.setCurrentTime(d),mejs.MediaFeatures.hasTouch||(j.css("left",g),k.html(mejs.Utility.secondsToTimeCode(d)),j.show()))},m=!1;
f.bind("mousedown",function(a){if(1===a.which)return m=!0,l(a),b(document).bind("mousemove.dur",function(a){l(a)}).bind("mouseup.dur",function(){m=!1;j.hide();b(document).unbind(".dur")}),!1}).bind("mouseenter",function(){b(document).bind("mousemove.dur",function(a){l(a)});mejs.MediaFeatures.hasTouch||j.show()}).bind("mouseleave",function(){m||(b(document).unbind(".dur"),j.hide())});e.addEventListener("progress",function(c){a.setProgressRail(c);a.setCurrentRail(c)},!1);e.addEventListener("timeupdate",
function(c){a.setProgressRail(c);a.setCurrentRail(c)},!1);this.loaded=d;this.total=f;this.current=g;this.handle=h},setProgressRail:function(a){var c=void 0!=a?a.target:this.media,b=null;c&&c.buffered&&0<c.buffered.length&&c.buffered.end&&c.duration?b=c.buffered.end(0)/c.duration:c&&void 0!=c.bytesTotal&&0<c.bytesTotal&&void 0!=c.bufferedBytes?b=c.bufferedBytes/c.bytesTotal:a&&(a.lengthComputable&&0!=a.total)&&(b=a.loaded/a.total);null!==b&&(b=Math.min(1,Math.max(0,b)),this.loaded&&this.total&&this.loaded.width(this.total.width()*
b))},setCurrentRail:function(){if(void 0!=this.media.currentTime&&this.media.duration&&this.total&&this.handle){var a=this.total.width()*this.media.currentTime/this.media.duration,c=a-this.handle.outerWidth(!0)/2;this.current.width(a);this.handle.css("left",c)}}})})(mejs.$);
(function(b){b.extend(mejs.MepDefaults,{duration:-1,timeAndDurationSeparator:" <span> | </span> "});b.extend(MediaElementPlayer.prototype,{buildcurrent:function(a,c,d,e){b('<div class="mejs-time"><span class="mejs-currenttime">'+(a.options.alwaysShowHours?"00:":"")+(a.options.showTimecodeFrameCount?"00:00:00":"00:00")+"</span></div>").appendTo(c);this.currenttime=this.controls.find(".mejs-currenttime");e.addEventListener("timeupdate",function(){a.updateCurrent()},!1)},buildduration:function(a,c,d,
e){0<c.children().last().find(".mejs-currenttime").length?b(this.options.timeAndDurationSeparator+'<span class="mejs-duration">'+(0<this.options.duration?mejs.Utility.secondsToTimeCode(this.options.duration,this.options.alwaysShowHours||3600<this.media.duration,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25):(a.options.alwaysShowHours?"00:":"")+(a.options.showTimecodeFrameCount?"00:00:00":"00:00"))+"</span>").appendTo(c.find(".mejs-time")):(c.find(".mejs-currenttime").parent().addClass("mejs-currenttime-container"),
b('<div class="mejs-time mejs-duration-container"><span class="mejs-duration">'+(0<this.options.duration?mejs.Utility.secondsToTimeCode(this.options.duration,this.options.alwaysShowHours||3600<this.media.duration,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25):(a.options.alwaysShowHours?"00:":"")+(a.options.showTimecodeFrameCount?"00:00:00":"00:00"))+"</span></div>").appendTo(c));this.durationD=this.controls.find(".mejs-duration");e.addEventListener("timeupdate",function(){a.updateDuration()},
!1)},updateCurrent:function(){this.currenttime&&this.currenttime.html(mejs.Utility.secondsToTimeCode(this.media.currentTime,this.options.alwaysShowHours||3600<this.media.duration,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25))},updateDuration:function(){this.container.toggleClass("mejs-long-video",3600<this.media.duration);this.media.duration&&this.durationD&&this.durationD.html(mejs.Utility.secondsToTimeCode(this.media.duration,this.options.alwaysShowHours,this.options.showTimecodeFrameCount,
this.options.framesPerSecond||25))}})})(mejs.$);
(function(b){b.extend(mejs.MepDefaults,{muteText:"Mute Toggle",hideVolumeOnTouchDevices:!0,audioVolume:"horizontal",videoVolume:"vertical"});b.extend(MediaElementPlayer.prototype,{buildvolume:function(a,c,d,e){if(!mejs.MediaFeatures.hasTouch||!this.options.hideVolumeOnTouchDevices){var f=this.isVideo?this.options.videoVolume:this.options.audioVolume,g="horizontal"==f?b('<div class="mejs-button mejs-volume-button mejs-mute"><button type="button" aria-controls="'+this.id+'" title="'+this.options.muteText+
'"></button></div><div class="mejs-horizontal-volume-slider"><div class="mejs-horizontal-volume-total"></div><div class="mejs-horizontal-volume-current"></div><div class="mejs-horizontal-volume-handle"></div></div>').appendTo(c):b('<div class="mejs-button mejs-volume-button mejs-mute"><button type="button" aria-controls="'+this.id+'" title="'+this.options.muteText+'"></button><div class="mejs-volume-slider"><div class="mejs-volume-total"></div><div class="mejs-volume-current"></div><div class="mejs-volume-handle"></div></div></div>').appendTo(c),
h=this.container.find(".mejs-volume-slider, .mejs-horizontal-volume-slider"),j=this.container.find(".mejs-volume-total, .mejs-horizontal-volume-total"),k=this.container.find(".mejs-volume-current, .mejs-horizontal-volume-current"),l=this.container.find(".mejs-volume-handle, .mejs-horizontal-volume-handle"),m=function(a,c){if(!h.is(":visible")&&"undefined"==typeof c)h.show(),m(a,!0),h.hide();else if(a=Math.max(0,a),a=Math.min(a,1),0==a?g.removeClass("mejs-mute").addClass("mejs-unmute"):g.removeClass("mejs-unmute").addClass("mejs-mute"),
"vertical"==f){var b=j.height(),d=j.position(),e=b-b*a;l.css("top",Math.round(d.top+e-l.height()/2));k.height(b-e);k.css("top",d.top+e)}else b=j.width(),d=j.position(),b*=a,l.css("left",Math.round(d.left+b-l.width()/2)),k.width(Math.round(b))},n=function(a){var b=null,c=j.offset();if("vertical"==f){if(b=j.height(),parseInt(j.css("top").replace(/px/,""),10),b=(b-(a.pageY-c.top))/b,0==c.top||0==c.left)return}else b=j.width(),b=(a.pageX-c.left)/b;b=Math.max(0,b);b=Math.min(b,1);m(b);0==b?e.setMuted(!0):
e.setMuted(!1);e.setVolume(b)},p=!1,q=!1;g.hover(function(){h.show();q=!0},function(){q=!1;!p&&"vertical"==f&&h.hide()});h.bind("mouseover",function(){q=!0}).bind("mousedown",function(a){n(a);b(document).bind("mousemove.vol",function(a){n(a)}).bind("mouseup.vol",function(){p=!1;b(document).unbind(".vol");!q&&"vertical"==f&&h.hide()});p=!0;return!1});g.find("button").click(function(){e.setMuted(!e.muted)});e.addEventListener("volumechange",function(){p||(e.muted?(m(0),g.removeClass("mejs-mute").addClass("mejs-unmute")):
(m(e.volume),g.removeClass("mejs-unmute").addClass("mejs-mute")))},!1);this.container.is(":visible")&&(m(a.options.startVolume),"native"===e.pluginType&&e.setVolume(a.options.startVolume))}}})})(mejs.$);
(function(b){b.extend(mejs.MepDefaults,{usePluginFullScreen:!0,newWindowCallback:function(){return""},fullscreenText:mejs.i18n.t("Fullscreen")});b.extend(MediaElementPlayer.prototype,{isFullScreen:!1,isNativeFullScreen:!1,docStyleOverflow:null,isInIframe:!1,buildfullscreen:function(a,c,d,e){if(a.isVideo){a.isInIframe=window.location!=window.parent.location;mejs.MediaFeatures.hasTrueNativeFullScreen&&(d=null,d=mejs.MediaFeatures.hasMozNativeFullScreen?b(document):a.container,d.bind(mejs.MediaFeatures.fullScreenEventName,
function(){mejs.MediaFeatures.isFullScreen()?(a.isNativeFullScreen=!0,a.setControlsSize()):(a.isNativeFullScreen=!1,a.exitFullScreen())}));var f=this,g=b('<div class="mejs-button mejs-fullscreen-button"><button type="button" aria-controls="'+f.id+'" title="'+f.options.fullscreenText+'"></button></div>').appendTo(c);if("native"===f.media.pluginType||!f.options.usePluginFullScreen&&!mejs.MediaFeatures.isFirefox)g.click(function(){mejs.MediaFeatures.hasTrueNativeFullScreen&&mejs.MediaFeatures.isFullScreen()||
a.isFullScreen?a.exitFullScreen():a.enterFullScreen()});else{var h=null;c=document.createElement("x");d=document.documentElement;var j=window.getComputedStyle;"pointerEvents"in c.style?(c.style.pointerEvents="auto",c.style.pointerEvents="x",d.appendChild(c),j=j&&"auto"===j(c,"").pointerEvents,d.removeChild(c),c=!!j):c=!1;if(c&&!mejs.MediaFeatures.isOpera){var k=!1,l=function(){k&&(m.hide(),n.hide(),p.hide(),g.css("pointer-events",""),f.controls.css("pointer-events",""),k=!1)},m=b('<div class="mejs-fullscreen-hover" />').appendTo(f.container).mouseover(l),
n=b('<div class="mejs-fullscreen-hover"  />').appendTo(f.container).mouseover(l),p=b('<div class="mejs-fullscreen-hover"  />').appendTo(f.container).mouseover(l),q=function(){var a={position:"absolute",top:0,left:0};m.css(a);n.css(a);p.css(a);m.width(f.container.width()).height(f.container.height()-f.controls.height());a=g.offset().left-f.container.offset().left;fullScreenBtnWidth=g.outerWidth(!0);n.width(a).height(f.controls.height()).css({top:f.container.height()-f.controls.height()});p.width(f.container.width()-
a-fullScreenBtnWidth).height(f.controls.height()).css({top:f.container.height()-f.controls.height(),left:a+fullScreenBtnWidth})};b(document).resize(function(){q()});g.mouseover(function(){if(!f.isFullScreen){var b=g.offset(),c=a.container.offset();e.positionFullscreenButton(b.left-c.left,b.top-c.top,!1);g.css("pointer-events","none");f.controls.css("pointer-events","none");m.show();p.show();n.show();q();k=!0}});e.addEventListener("fullscreenchange",function(){l()})}else g.mouseover(function(){null!==
h&&(clearTimeout(h),delete h);var b=g.offset(),c=a.container.offset();e.positionFullscreenButton(b.left-c.left,b.top-c.top,!0)}).mouseout(function(){null!==h&&(clearTimeout(h),delete h);h=setTimeout(function(){e.hideFullscreenButton()},1500)})}a.fullscreenBtn=g;b(document).bind("keydown",function(b){(mejs.MediaFeatures.hasTrueNativeFullScreen&&mejs.MediaFeatures.isFullScreen()||f.isFullScreen)&&27==b.keyCode&&a.exitFullScreen()})}},enterFullScreen:function(){var a=this;if(!("native"!==a.media.pluginType&&
(mejs.MediaFeatures.isFirefox||a.options.usePluginFullScreen))){docStyleOverflow=document.documentElement.style.overflow;document.documentElement.style.overflow="hidden";normalHeight=a.container.height();normalWidth=a.container.width();if("native"===a.media.pluginType)if(mejs.MediaFeatures.hasTrueNativeFullScreen)mejs.MediaFeatures.requestFullScreen(a.container[0]),a.isInIframe&&setTimeout(function e(){a.isNativeFullScreen&&(b(window).width()!==screen.width?a.exitFullScreen():setTimeout(e,500))},
500);else if(mejs.MediaFeatures.hasSemiNativeFullScreen){a.media.webkitEnterFullscreen();return}if(a.isInIframe){var c=a.options.newWindowCallback(this);if(""!==c)if(mejs.MediaFeatures.hasTrueNativeFullScreen)setTimeout(function(){a.isNativeFullScreen||(a.pause(),window.open(c,a.id,"top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+",resizable=yes,scrollbars=no,status=no,toolbar=no"))},250);else{a.pause();window.open(c,a.id,"top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+
",resizable=yes,scrollbars=no,status=no,toolbar=no");return}}a.container.addClass("mejs-container-fullscreen").width("100%").height("100%");setTimeout(function(){a.container.css({width:"100%",height:"100%"});a.setControlsSize()},500);"native"===a.pluginType?a.$media.width("100%").height("100%"):(a.container.find("object, embed, iframe").width("100%").height("100%"),a.media.setVideoSize(b(window).width(),b(window).height()));a.layers.children("div").width("100%").height("100%");a.fullscreenBtn&&a.fullscreenBtn.removeClass("mejs-fullscreen").addClass("mejs-unfullscreen");
a.setControlsSize();a.isFullScreen=!0}},exitFullScreen:function(){"native"!==this.media.pluginType&&mejs.MediaFeatures.isFirefox?this.media.setFullscreen(!1):(mejs.MediaFeatures.hasTrueNativeFullScreen&&(mejs.MediaFeatures.isFullScreen()||this.isFullScreen)&&mejs.MediaFeatures.cancelFullScreen(),document.documentElement.style.overflow=docStyleOverflow,this.container.removeClass("mejs-container-fullscreen").width(normalWidth).height(normalHeight),"native"===this.pluginType?this.$media.width(normalWidth).height(normalHeight):
(this.container.find("object embed").width(normalWidth).height(normalHeight),this.media.setVideoSize(normalWidth,normalHeight)),this.layers.children("div").width(normalWidth).height(normalHeight),this.fullscreenBtn.removeClass("mejs-unfullscreen").addClass("mejs-fullscreen"),this.setControlsSize(),this.isFullScreen=!1)}})})(mejs.$);
(function(b){b.extend(mejs.MepDefaults,{startLanguage:"",tracksText:"Captions/Subtitles"});b.extend(MediaElementPlayer.prototype,{hasChapters:!1,buildtracks:function(a,c,d,e){if(a.isVideo&&0!=a.tracks.length){var f;a.chapters=b('<div class="mejs-chapters mejs-layer"></div>').prependTo(d).hide();a.captions=b('<div class="mejs-captions-layer mejs-layer"><div class="mejs-captions-position"><span class="mejs-captions-text"></span></div></div>').prependTo(d).hide();a.captionsText=a.captions.find(".mejs-captions-text");
a.captionsButton=b('<div class="mejs-button mejs-captions-button"><button type="button" aria-controls="'+this.id+'" title="'+this.options.tracksText+'"></button><div class="mejs-captions-selector"><ul><li><input type="radio" name="'+a.id+'_captions" id="'+a.id+'_captions_none" value="none" checked="checked" /><label for="'+a.id+'_captions_none">None</label></li></ul></div></div>').appendTo(c).hover(function(){b(this).find(".mejs-captions-selector").css("visibility","visible")},function(){b(this).find(".mejs-captions-selector").css("visibility",
"hidden")}).delegate("input[type=radio]","click",function(){lang=this.value;if("none"==lang)a.selectedTrack=null;else for(f=0;f<a.tracks.length;f++)if(a.tracks[f].srclang==lang){a.selectedTrack=a.tracks[f];a.captions.attr("lang",a.selectedTrack.srclang);a.displayCaptions();break}});a.options.alwaysShowControls?a.container.find(".mejs-captions-position").addClass("mejs-captions-position-hover"):a.container.bind("controlsshown",function(){a.container.find(".mejs-captions-position").addClass("mejs-captions-position-hover")}).bind("controlshidden",
function(){e.paused||a.container.find(".mejs-captions-position").removeClass("mejs-captions-position-hover")});a.trackToLoad=-1;a.selectedTrack=null;a.isLoadingTrack=!1;for(f=0;f<a.tracks.length;f++)"subtitles"==a.tracks[f].kind&&a.addTrackButton(a.tracks[f].srclang,a.tracks[f].label);a.loadNextTrack();e.addEventListener("timeupdate",function(){a.displayCaptions()},!1);e.addEventListener("loadedmetadata",function(){a.displayChapters()},!1);a.container.hover(function(){a.hasChapters&&(a.chapters.css("visibility",
"visible"),a.chapters.fadeIn(200).height(a.chapters.find(".mejs-chapter").outerHeight()))},function(){a.hasChapters&&!e.paused&&a.chapters.fadeOut(200,function(){b(this).css("visibility","hidden");b(this).css("display","block")})});null!==a.node.getAttribute("autoplay")&&a.chapters.css("visibility","hidden")}},loadNextTrack:function(){this.trackToLoad++;this.trackToLoad<this.tracks.length?(this.isLoadingTrack=!0,this.loadTrack(this.trackToLoad)):this.isLoadingTrack=!1},loadTrack:function(a){var c=
this,d=c.tracks[a];b.ajax({url:d.src,dataType:"text",success:function(a){d.entries="string"==typeof a&&/<tt\s+xml/ig.exec(a)?mejs.TrackFormatParser.dfxp.parse(a):mejs.TrackFormatParser.webvvt.parse(a);d.isLoaded=!0;c.enableTrackButton(d.srclang,d.label);c.loadNextTrack();"chapters"==d.kind&&c.media.addEventListener("play",function(){0<c.media.duration&&c.displayChapters(d)},!1)},error:function(){c.loadNextTrack()}})},enableTrackButton:function(a,c){""===c&&(c=mejs.language.codes[a]||a);this.captionsButton.find("input[value="+
a+"]").prop("disabled",!1).siblings("label").html(c);this.options.startLanguage==a&&b("#"+this.id+"_captions_"+a).click();this.adjustLanguageBox()},addTrackButton:function(a,c){""===c&&(c=mejs.language.codes[a]||a);this.captionsButton.find("ul").append(b('<li><input type="radio" name="'+this.id+'_captions" id="'+this.id+"_captions_"+a+'" value="'+a+'" disabled="disabled" /><label for="'+this.id+"_captions_"+a+'">'+c+" (loading)</label></li>"));this.adjustLanguageBox();this.container.find(".mejs-captions-translations option[value="+
a+"]").remove()},adjustLanguageBox:function(){this.captionsButton.find(".mejs-captions-selector").height(this.captionsButton.find(".mejs-captions-selector ul").outerHeight(!0)+this.captionsButton.find(".mejs-captions-translations").outerHeight(!0))},displayCaptions:function(){if("undefined"!=typeof this.tracks){var a,b=this.selectedTrack;if(null!=b&&b.isLoaded)for(a=0;a<b.entries.times.length;a++)if(this.media.currentTime>=b.entries.times[a].start&&this.media.currentTime<=b.entries.times[a].stop){this.captionsText.html(b.entries.text[a]);
this.captions.show().height(0);return}this.captions.hide()}},displayChapters:function(){var a;for(a=0;a<this.tracks.length;a++)if("chapters"==this.tracks[a].kind&&this.tracks[a].isLoaded){this.drawChapters(this.tracks[a]);this.hasChapters=!0;break}},drawChapters:function(a){var c=this,d,e,f=e=0;c.chapters.empty();for(d=0;d<a.entries.times.length;d++){e=a.entries.times[d].stop-a.entries.times[d].start;e=Math.floor(100*(e/c.media.duration));if(100<e+f||d==a.entries.times.length-1&&100>e+f)e=100-f;c.chapters.append(b('<div class="mejs-chapter" rel="'+
a.entries.times[d].start+'" style="left: '+f.toString()+"%;width: "+e.toString()+'%;"><div class="mejs-chapter-block'+(d==a.entries.times.length-1?" mejs-chapter-block-last":"")+'"><span class="ch-title">'+a.entries.text[d]+'</span><span class="ch-time">'+mejs.Utility.secondsToTimeCode(a.entries.times[d].start)+"&ndash;"+mejs.Utility.secondsToTimeCode(a.entries.times[d].stop)+"</span></div></div>"));f+=e}c.chapters.find("div.mejs-chapter").click(function(){c.media.setCurrentTime(parseFloat(b(this).attr("rel")));
c.media.paused&&c.media.play()});c.chapters.show()}});mejs.language={codes:{af:"Afrikaans",sq:"Albanian",ar:"Arabic",be:"Belarusian",bg:"Bulgarian",ca:"Catalan",zh:"Chinese","zh-cn":"Chinese Simplified","zh-tw":"Chinese Traditional",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch",en:"English",et:"Estonian",tl:"Filipino",fi:"Finnish",fr:"French",gl:"Galician",de:"German",el:"Greek",ht:"Haitian Creole",iw:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",ga:"Irish",it:"Italian",ja:"Japanese",
ko:"Korean",lv:"Latvian",lt:"Lithuanian",mk:"Macedonian",ms:"Malay",mt:"Maltese",no:"Norwegian",fa:"Persian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sr:"Serbian",sk:"Slovak",sl:"Slovenian",es:"Spanish",sw:"Swahili",sv:"Swedish",tl:"Tagalog",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",cy:"Welsh",yi:"Yiddish"}};mejs.TrackFormatParser={webvvt:{pattern_identifier:/^([a-zA-z]+-)?[0-9]+$/,pattern_timecode:/^([0-9]{2}:[0-9]{2}:[0-9]{2}([,.][0-9]{1,3})?) --\> ([0-9]{2}:[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)$/,
parse:function(a){var c=0;a=mejs.TrackFormatParser.split2(a,/\r?\n/);for(var d={text:[],times:[]},e,f;c<a.length;c++)if(this.pattern_identifier.exec(a[c])&&(c++,(e=this.pattern_timecode.exec(a[c]))&&c<a.length)){c++;f=a[c];for(c++;""!==a[c]&&c<a.length;)f=f+"\n"+a[c],c++;f=b.trim(f).replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig,"<a href='$1' target='_blank'>$1</a>");d.text.push(f);d.times.push({start:0==mejs.Utility.convertSMPTEtoSeconds(e[1])?0.2:mejs.Utility.convertSMPTEtoSeconds(e[1]),
stop:mejs.Utility.convertSMPTEtoSeconds(e[3]),settings:e[5]})}return d}},dfxp:{parse:function(a){a=b(a).filter("tt");var c=0,c=a.children("div").eq(0),d=c.find("p"),c=a.find("#"+c.attr("style")),e,f;a={text:[],times:[]};if(c.length&&(f=c.removeAttr("id").get(0).attributes,f.length)){e={};for(c=0;c<f.length;c++)e[f[c].name.split(":")[1]]=f[c].value}for(c=0;c<d.length;c++){var g;f={start:null,stop:null,style:null};d.eq(c).attr("begin")&&(f.start=mejs.Utility.convertSMPTEtoSeconds(d.eq(c).attr("begin")));
!f.start&&d.eq(c-1).attr("end")&&(f.start=mejs.Utility.convertSMPTEtoSeconds(d.eq(c-1).attr("end")));d.eq(c).attr("end")&&(f.stop=mejs.Utility.convertSMPTEtoSeconds(d.eq(c).attr("end")));!f.stop&&d.eq(c+1).attr("begin")&&(f.stop=mejs.Utility.convertSMPTEtoSeconds(d.eq(c+1).attr("begin")));if(e){g="";for(var h in e)g+=h+":"+e[h]+";"}g&&(f.style=g);0==f.start&&(f.start=0.2);a.times.push(f);f=b.trim(d.eq(c).html()).replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig,
"<a href='$1' target='_blank'>$1</a>");a.text.push(f);0==a.times.start&&(a.times.start=2)}return a}},split2:function(a,b){return a.split(b)}};3!="x\n\ny".split(/\n/gi).length&&(mejs.TrackFormatParser.split2=function(a,b){var d=[],e="",f;for(f=0;f<a.length;f++)e+=a.substring(f,f+1),b.test(e)&&(d.push(e.replace(b,"")),e="");d.push(e);return d})})(mejs.$);
(function(b){b.extend(mejs.MepDefaults,{contextMenuItems:[{render:function(a){return"undefined"==typeof a.enterFullScreen?null:a.isFullScreen?"Turn off Fullscreen":"Go Fullscreen"},click:function(a){a.isFullScreen?a.exitFullScreen():a.enterFullScreen()}},{render:function(a){return a.media.muted?"Unmute":"Mute"},click:function(a){a.media.muted?a.setMuted(!1):a.setMuted(!0)}},{isSeparator:!0},{render:function(){return"Download Video"},click:function(a){window.location.href=a.media.currentSrc}}]});b.extend(MediaElementPlayer.prototype,
{buildcontextmenu:function(a){a.contextMenu=b('<div class="mejs-contextmenu"></div>').appendTo(b("body")).hide();a.container.bind("contextmenu",function(b){if(a.isContextMenuEnabled)return b.preventDefault(),a.renderContextMenu(b.clientX-1,b.clientY-1),!1});a.container.bind("click",function(){a.contextMenu.hide()});a.contextMenu.bind("mouseleave",function(){a.startContextMenuTimer()})},isContextMenuEnabled:!0,enableContextMenu:function(){this.isContextMenuEnabled=!0},disableContextMenu:function(){this.isContextMenuEnabled=
!1},contextMenuTimeout:null,startContextMenuTimer:function(){var a=this;a.killContextMenuTimer();a.contextMenuTimer=setTimeout(function(){a.hideContextMenu();a.killContextMenuTimer()},750)},killContextMenuTimer:function(){var a=this.contextMenuTimer;null!=a&&(clearTimeout(a),delete a)},hideContextMenu:function(){this.contextMenu.hide()},renderContextMenu:function(a,c){for(var d=this,e="",f=d.options.contextMenuItems,g=0,h=f.length;g<h;g++)if(f[g].isSeparator)e+='<div class="mejs-contextmenu-separator"></div>';
else{var j=f[g].render(d);null!=j&&(e+='<div class="mejs-contextmenu-item" data-itemindex="'+g+'" id="element-'+1E6*Math.random()+'">'+j+"</div>")}d.contextMenu.empty().append(b(e)).css({top:c,left:a}).show();d.contextMenu.find(".mejs-contextmenu-item").each(function(){var a=b(this),c=parseInt(a.data("itemindex"),10),e=d.options.contextMenuItems[c];"undefined"!=typeof e.show&&e.show(a,d);a.click(function(){"undefined"!=typeof e.click&&e.click(d);d.contextMenu.hide()})});setTimeout(function(){d.killControlsTimer("rev3")},
100)}})})(mejs.$);
(function(b){b.extend(mejs.MepDefaults,{postrollCloseText:mejs.i18n.t("Close")});b.extend(MediaElementPlayer.prototype,{buildpostroll:function(a,c,d){var e=this.container.find('link[rel="postroll"]').attr("href");"undefined"!==typeof e&&(a.postroll=b('<div class="mejs-postroll-layer mejs-layer"><a class="mejs-postroll-close" onclick="$(this).parent().hide();return false;">'+this.options.postrollCloseText+'</a><div class="mejs-postroll-layer-content"></div></div>').prependTo(d).hide(),this.media.addEventListener("ended",
function(){b.ajax({dataType:"html",url:e,success:function(a){d.find(".mejs-postroll-layer-content").html(a)}});a.postroll.show()},!1))}})})(mejs.$);