var mejs=mejs||{};mejs.version="2.22.0",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"]}],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/dailymotion","video/x-dailymotion","application/x-mpegURL"]}],youtube:[{version:null,types:["video/youtube","video/x-youtube","audio/youtube","audio/x-youtube"]}],vimeo:[{version:null,types:["video/vimeo","video/x-vimeo"]}]},mejs.Utility={encodeUrl:function(e){return encodeURIComponent(e)},escapeHTML:function(e){return e.toString().split("&").join("&").split("<").join("<").split('"').join(""")},absolutizeUrl:function(e){var t=document.createElement("div");return t.innerHTML='x',t.firstChild.href},getScriptPath:function(e){for(var t,i,n,o,s,a=0,r="",l="",u=document.getElementsByTagName("script"),d=u.length,c=e.length;at[0]||i[0]==t[0]&&i[1]>t[1]||i[0]==t[0]&&i[1]==t[1]&&i[2]>=t[2]},nav:window.navigator,ua:window.navigator.userAgent.toLowerCase(),plugins:[],addPlugin:function(e,t,i,n,o){this.plugins[e]=this.detectPlugin(t,i,n,o)},detectPlugin:function(e,t,i,n){var o,s,a,r=[0,0,0];if(void 0!==this.nav.plugins&&"object"==typeof this.nav.plugins[e]){if((o=this.nav.plugins[e].description)&&(void 0===this.nav.mimeTypes||!this.nav.mimeTypes[t]||this.nav.mimeTypes[t].enabledPlugin))for(r=o.replace(e,"").replace(/^\s+/,"").replace(/\sr/gi,".").split("."),s=0;s',""!==i&&(s+=''),s+=""+mejs.i18n.t("Download File")+""),o.innerHTML=s,n.parentNode.insertBefore(o,n),n.style.display="none",t.error(n)},createPlugin:function(e,t,i,n,o,s){var a,r,l,u=e.htmlMediaElement,d=1,c=1,h="me_"+e.method+"_"+mejs.meIndex++,p=new mejs.PluginMediaElement(h,e.method,e.url),m=document.createElement("div");p.tagName=u.tagName;for(var f,g,y=0;y';break;case"flash":mejs.MediaFeatures.isIE?(a=document.createElement("div"),m.appendChild(a),a.outerHTML=''):m.innerHTML='';break;case"youtube":-1!=e.url.lastIndexOf("youtu.be")?-1!=(f=e.url.substr(e.url.lastIndexOf("/")+1)).indexOf("?")&&(f=f.substr(0,f.indexOf("?"))):(g=e.url.match(/[?&]v=([^&#]+)|&|#|$/))&&(f=g[1]),youtubeSettings={container:m,containerId:m.id,pluginMediaElement:p,pluginId:h,videoId:f,height:c,width:d,scheme:e.scheme},window.postMessage?mejs.YouTubeApi.enqueueIframe(youtubeSettings):mejs.PluginDetector.hasPluginVersion("flash",[10,0,0])&&mejs.YouTubeApi.createFlash(youtubeSettings,t);break;case"vimeo":var b,w,T=h+"_player";p.vimeoid=e.url.substr(e.url.lastIndexOf("/")+1),m.innerHTML='',"function"==typeof $f?(b=$f(m.childNodes[0]),w=-1,b.addEvent("ready",function(){function t(e,t,i,n){var o={type:i,target:t};"timeupdate"==i&&(t.currentTime=o.currentTime=n.seconds,t.duration=o.duration=n.duration),t.dispatchEvent(o)}b.playVideo=function(){b.api("play")},b.stopVideo=function(){b.api("unload")},b.pauseVideo=function(){b.api("pause")},b.seekTo=function(e){b.api("seekTo",e)},b.setVolume=function(e){b.api("setVolume",e)},b.setMuted=function(e){e?(b.lastVolume=b.api("getVolume"),b.api("setVolume",0)):(b.api("setVolume",b.lastVolume),delete b.lastVolume)},b.getPlayerState=function(){return w},b.addEvent("play",function(){w=1,t(0,p,"play"),t(0,p,"playing")}),b.addEvent("pause",function(){w=2,t(0,p,"pause")}),b.addEvent("finish",function(){t(w=0,p,"ended")}),b.addEvent("playProgress",function(e){t(0,p,"timeupdate",e)}),b.addEvent("seek",function(e){w=3,t(0,p,"seeked",e)}),b.addEvent("loadProgress",function(e){w=3,t(0,p,"progress",e)}),p.pluginElement=m,p.pluginApi=b,p.success(p,p.pluginElement)})):console.warn("You need to include froogaloop for vimeo to work")}return u.style.display="none",u.removeAttribute("autoplay"),p},updateNative:function(e,t,i,n){var o,s=e.htmlMediaElement;for(o in mejs.HtmlMediaElement)s[o]=mejs.HtmlMediaElement[o];return t.success(s,s),s}},mejs.YouTubeApi={isIframeStarted:!1,isIframeLoaded:!1,loadIframeApi:function(e){var t,i;this.isIframeStarted||((t=document.createElement("script")).src=e.scheme+"www.youtube.com/player_api",(i=document.getElementsByTagName("script")[0]).parentNode.insertBefore(t,i),this.isIframeStarted=!0)},iframeQueue:[],enqueueIframe:function(e){this.isLoaded?this.createIframe(e):(this.loadIframeApi(e),this.iframeQueue.push(e))},createIframe:function(e){var t=e.pluginMediaElement,i=new YT.Player(e.containerId,{height:e.height,width:e.width,videoId:e.videoId,playerVars:{controls:0,wmode:"transparent"},events:{onReady:function(){i.setVideoSize=function(e,t){i.setSize(e,t)},e.pluginMediaElement.pluginApi=i,e.pluginMediaElement.pluginElement=document.getElementById(e.containerId),t.success(t,t.pluginElement),setInterval(function(){mejs.YouTubeApi.createEvent(i,t,"timeupdate")},250)},onStateChange:function(e){mejs.YouTubeApi.handleStateChange(e.data,i,t)}}})},createEvent:function(e,t,i){var n,o={type:i,target:t};e&&e.getDuration&&(t.currentTime=o.currentTime=e.getCurrentTime(),t.duration=o.duration=e.getDuration(),o.paused=t.paused,o.ended=t.ended,o.muted=e.isMuted(),o.volume=e.getVolume()/100,o.bytesTotal=e.getVideoBytesTotal(),o.bufferedBytes=e.getVideoBytesLoaded(),n=o.bufferedBytes/o.bytesTotal*o.duration,o.target.buffered=o.buffered={start:function(e){return 0},end:function(e){return n},length:1}),t.dispatchEvent(o)},iFrameReady:function(){for(this.isLoaded=!0,this.isIframeLoaded=!0;0'):e.container.innerHTML=''},flashReady:function(e){var t=this.flashPlayers[e],i=document.getElementById(e),n=t.pluginMediaElement;n.pluginApi=n.pluginElement=i,t.success(n,n.pluginElement),i.cueVideoById(t.videoId);var o=t.containerId+"_callback";window[o]=function(e){mejs.YouTubeApi.handleStateChange(e,i,n)},i.addEventListener("onStateChange",o),setInterval(function(){mejs.YouTubeApi.createEvent(i,n,"timeupdate")},250),mejs.YouTubeApi.createEvent(i,n,"canplay")},handleStateChange:function(e,t,i){switch(e){case-1:i.paused=!0,i.ended=!0,mejs.YouTubeApi.createEvent(t,i,"loadedmetadata");break;case 0:i.paused=!1,i.ended=!0,mejs.YouTubeApi.createEvent(t,i,"ended");break;case 1:i.paused=!1,i.ended=!1,mejs.YouTubeApi.createEvent(t,i,"play"),mejs.YouTubeApi.createEvent(t,i,"playing");break;case 2:i.paused=!0,i.ended=!1,mejs.YouTubeApi.createEvent(t,i,"pause");break;case 3:mejs.YouTubeApi.createEvent(t,i,"progress")}}},window.onYouTubePlayerAPIReady=function(){mejs.YouTubeApi.iFrameReady()},window.onYouTubePlayerReady=function(e){mejs.YouTubeApi.flashReady(e)},window.mejs=mejs,window.MediaElement=mejs.MediaElement,function(e){"use strict";var n={locale:{language:e.i18n&&e.i18n.locale.language||"",strings:e.i18n&&e.i18n.locale.strings||{}},ietf_lang_regex:/^(x\-)?[a-z]{2,}(\-\w{2,})?(\-\w{2,})?$/,methods:{},getLanguage:function(){var e=n.locale.language||window.navigator.userLanguage||window.navigator.language;return n.ietf_lang_regex.exec(e)?e:null}};"undefined"!=typeof mejsL10n&&(n.locale.language=mejsL10n.language),n.methods.checkPlain=function(e){var t,i,n={"&":"&",'"':""","<":"<",">":">"};for(t in e=String(e),n)n.hasOwnProperty(t)&&(i=new RegExp(t,"g"),e=e.replace(i,n[t]));return e},n.methods.t=function(e,t){return n.locale.strings&&n.locale.strings[t.context]&&n.locale.strings[t.context][e]&&(e=n.locale.strings[t.context][e]),n.methods.checkPlain(e)},n.t=function(e,t){if("string"==typeof e&&0'+e+"").insertBefore(n.$media),n.container=u('
').addClass(n.$media[0].className).insertBefore(n.$media).focus(function(e){n.controlsAreVisible||n.hasFocus||(n.showControls(!0),n.hasMsNativeFullScreen)||n.container.find(".mejs-playpause-button > button").focus()}),"fill"!==n.options.stretching||n.container.parent("mejs-fill-container").length||(n.outerContainer=n.$media.parent(),n.container.wrap('
')),n.container.addClass((o.isAndroid?"mejs-android ":"")+(o.isiOS?"mejs-ios ":"")+(o.isiPad?"mejs-ipad ":"")+(o.isiPhone?"mejs-iphone ":"")+(n.isVideo?"mejs-video ":"mejs-audio ")),n.container.find(".mejs-mediaelement").append(n.$media),(n.node.player=n).controls=n.container.find(".mejs-controls"),n.layers=n.container.find(".mejs-layers"),i=(t=n.isVideo?"video":"audio").substring(0,1).toUpperCase()+t.substring(1),0
').appendTo(i),s=e.$media.attr("poster");""!==e.options.poster&&(s=e.options.poster),s?this.setPoster(s):o.hide(),n.addEventListener("play",function(){o.hide()},!1),e.options.showPosterWhenEnded&&e.options.autoRewind&&n.addEventListener("ended",function(){o.show()},!1)},setPoster:function(e){var t=this.container.find(".mejs-poster"),i=t.find("img");0===i.length&&(i=u('').appendTo(t)),i.attr("src",e),t.css({"background-image":"url("+e+")"})},buildoverlays:function(t,e,i,n){var o,s,a,r=this;t.isVideo&&(o=u('
').hide().appendTo(i),s=u('
').hide().appendTo(i),a=u('
').appendTo(i).bind("click",function(){r.options.clickToPlayPause&&n.paused&&n.play()}),n.addEventListener("play",function(){a.hide(),o.hide(),e.find(".mejs-time-buffering").hide(),s.hide()},!1),n.addEventListener("playing",function(){a.hide(),o.hide(),e.find(".mejs-time-buffering").hide(),s.hide()},!1),n.addEventListener("seeking",function(){o.show(),e.find(".mejs-time-buffering").show()},!1),n.addEventListener("seeked",function(){o.hide(),e.find(".mejs-time-buffering").hide()},!1),n.addEventListener("pause",function(){mejs.MediaFeatures.isiPhone||a.show()},!1),n.addEventListener("waiting",function(){o.show(),e.find(".mejs-time-buffering").show()},!1),n.addEventListener("loadeddata",function(){o.show(),e.find(".mejs-time-buffering").show(),mejs.MediaFeatures.isAndroid&&(n.canplayTimeout=window.setTimeout(function(){if(document.createEvent){var e=document.createEvent("HTMLEvents");return e.initEvent("canplay",!0,!0),n.dispatchEvent(e)}},300))},!1),n.addEventListener("canplay",function(){o.hide(),e.find(".mejs-time-buffering").hide(),clearTimeout(n.canplayTimeout)},!1),n.addEventListener("error",function(e){r.handleError(e),o.hide(),a.hide(),s.show(),s.find(".mejs-overlay-error").html("Error loading this resource")},!1),n.addEventListener("keydown",function(e){r.onkeydown(t,n,e)},!1))},buildkeyboard:function(t,e,i,n){var o=this;o.container.keydown(function(){o.keyboardAction=!0}),o.globalBind("keydown",function(e){return t.hasFocus=0!==u(e.target).closest(".mejs-container").length&&u(e.target).closest(".mejs-container").attr("id")===t.$media.closest(".mejs-container").attr("id"),o.onkeydown(t,n,e)}),o.globalBind("click",function(e){t.hasFocus=0!==u(e.target).closest(".mejs-container").length})},onkeydown:function(e,t,i){if(e.hasFocus&&e.options.enableKeyboard)for(var n=0,o=e.options.keyActions.length;n').appendTo(t).click(function(e){return e.preventDefault(),n.paused?n.play():n.pause(),!1}),r=a.find("button");o("pse"),n.addEventListener("play",function(){o("play")},!1),n.addEventListener("playing",function(){o("play")},!1),n.addEventListener("pause",function(){o("pse")},!1),n.addEventListener("paused",function(){o("pse")},!1)}})}(mejs.$),function(o){o.extend(mejs.MepDefaults,{stopText:"Stop"}),o.extend(MediaElementPlayer.prototype,{buildstop:function(e,t,i,n){o('
').appendTo(t).click(function(){n.paused||n.pause(),000:00').appendTo(e),e.find(".mejs-time-buffering").hide();function i(e){var t=u.offset(),i=u.width(),n=0,o=0,s=0,a=e.originalEvent&&e.originalEvent.changedTouches?e.originalEvent.changedTouches[0].pageX:e.changedTouches?e.changedTouches[0].pageX:e.pageX;l.duration&&(ai+t.left&&(a=i+t.left),o=(n=(s=a-t.left)/i)<=.02?0:n*l.duration,m&&o!==l.currentTime&&l.setCurrentTime(o),mejs.MediaFeatures.hasTouch||(c.css("left",s),h.html(mejs.Utility.secondsToTimeCode(o,r.options)),c.show()))}function a(){1e3<=new Date-f&&l.play()}var n=this,u=e.find(".mejs-time-total"),o=e.find(".mejs-time-loaded"),s=e.find(".mejs-time-current"),d=e.find(".mejs-time-handle"),c=e.find(".mejs-time-float"),h=e.find(".mejs-time-float-current"),p=e.find(".mejs-time-slider"),m=!1,f=0,g=!1,y=r.options.autoRewind;p.bind("focus",function(e){r.options.autoRewind=!1}),p.bind("blur",function(e){r.options.autoRewind=y}),p.bind("keydown",function(e){1e3<=new Date-f&&(g=l.paused);var t=e.keyCode,i=l.duration,n=l.currentTime,o=r.options.defaultSeekForwardInterval(i),s=r.options.defaultSeekBackwardInterval(i);switch(t){case 37:case 40:n-=s;break;case 39:case 38:n+=o;break;case 36:n=0;break;case 35:n=i;break;case 32:case 13:return void(l.paused?l.play():l.pause());default:return}return n=n<0?0:i<=n?i:Math.floor(n),f=new Date,g||l.pause(),n | "}),s.extend(MediaElementPlayer.prototype,{buildcurrent:function(e,t,i,n){s('
'+mejs.Utility.secondsToTimeCode(0,e.options)+"
").appendTo(t),this.currenttime=this.controls.find(".mejs-currenttime"),n.addEventListener("timeupdate",function(){e.updateCurrent()},!1)},buildduration:function(e,t,i,n){var o=this;0'+mejs.Utility.secondsToTimeCode(o.options.duration,o.options)+"").appendTo(t.find(".mejs-time")):(t.find(".mejs-currenttime").parent().addClass("mejs-currenttime-container"),s('
'+mejs.Utility.secondsToTimeCode(o.options.duration,o.options)+"
").appendTo(t)),o.durationD=o.controls.find(".mejs-duration"),n.addEventListener("timeupdate",function(){e.updateDuration()},!1)},updateCurrent:function(){var e=this.media.currentTime;isNaN(e)&&(e=0),this.currenttime&&this.currenttime.html(mejs.Utility.secondsToTimeCode(e,this.options))},updateDuration:function(){var e=this,t=e.media.duration;0'+n.options.allyVolumeControlText+'
').appendTo(t):f('').appendTo(t),l=n.container.find(".mejs-volume-slider, .mejs-horizontal-volume-slider"),u=n.container.find(".mejs-volume-total, .mejs-horizontal-volume-total"),d=n.container.find(".mejs-volume-current, .mejs-horizontal-volume-current"),c=n.container.find(".mejs-volume-handle, .mejs-horizontal-volume-handle"),h=function(e,t){if(!l.is(":visible")&&void 0===t)return l.show(),h(e,!0),void l.hide();e=Math.max(0,e),0===(e=Math.min(e,1))?(r.removeClass("mejs-mute").addClass("mejs-unmute"),r.children("button").attr("title",mejs.i18n.t("Unmute")).attr("aria-label",mejs.i18n.t("Unmute"))):(r.removeClass("mejs-unmute").addClass("mejs-mute"),r.children("button").attr("title",mejs.i18n.t("Mute")).attr("aria-label",mejs.i18n.t("Mute")));var i,n,o,s=u.position();"vertical"==a?(n=(i=u.height())-i*e,c.css("top",Math.round(s.top+n-c.height()/2)),d.height(i-n),d.css("top",s.top+n)):(o=u.width()*e,c.css("left",Math.round(s.left+o-c.width()/2)),d.width(Math.round(o)))},m=p=!(o=function(e){var t=null,i=u.offset();if("vertical"===a){var n=u.height(),t=(n-(e.pageY-i.top))/n;if(0===i.top||0===i.left)return}else{var o=u.width();t=(e.pageX-i.left)/o}t=Math.max(0,t),t=Math.min(t,1),h(t),0===t?s.setMuted(!0):s.setMuted(!1),s.setVolume(t)}),r.hover(function(){l.show(),m=!0},function(){m=!1,p||"vertical"!=a||l.hide()}),l.bind("mouseover",function(){m=!0}).bind("mousedown",function(e){return o(e),n.globalBind("mousemove.vol",function(e){o(e)}),n.globalBind("mouseup.vol",function(){p=!1,n.globalUnbind(".vol"),m||"vertical"!=a||l.hide()}),!(p=!0)}).bind("keydown",function(e){var t=e.keyCode,i=s.volume;switch(t){case 38:i=Math.min(i+.1,1);break;case 40:i=Math.max(0,i-.1);break;default:return!0}return p=!1,h(i),s.setVolume(i),!1}),r.find("button").click(function(){s.setMuted(!s.muted)}),r.find("button").bind("focus",function(){l.show()}),s.addEventListener("volumechange",function(e){var t;p||(s.muted?(h(0),r.removeClass("mejs-mute").addClass("mejs-unmute")):(h(s.volume),r.removeClass("mejs-unmute").addClass("mejs-mute"))),t=Math.floor(100*s.volume),l.attr({"aria-label":mejs.i18n.t("Volume Slider"),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":t,"aria-valuetext":t+"%",role:"slider",tabindex:0})},!1),0===e.options.startVolume&&s.setMuted(!0),"native"===s.pluginType&&s.setVolume(e.options.startVolume),n.container.on("controlsresize",function(){h(s.volume)}))}})}(mejs.$),function(u){u.extend(mejs.MepDefaults,{usePluginFullScreen:!0,newWindowCallback:function(){return""},fullscreenText:mejs.i18n.t("Fullscreen")}),u.extend(MediaElementPlayer.prototype,{isFullScreen:!1,isNativeFullScreen:!1,isInIframe:!1,fullscreenMode:"",buildfullscreen:function(i,e,t,n){var o,s,a;i.isVideo&&(i.isInIframe=window.location!=window.parent.location,n.addEventListener("play",function(){i.detectFullscreenMode()}),s=null,a=u('
').appendTo(e).on("click",function(){mejs.MediaFeatures.hasTrueNativeFullScreen&&mejs.MediaFeatures.isFullScreen()||i.isFullScreen?i.exitFullScreen():i.enterFullScreen()}).on("mouseover",function(){var e,t;"plugin-hover"==o.fullscreenMode&&(null!==s&&(clearTimeout(s),delete s),e=a.offset(),t=i.container.offset(),n.positionFullscreenButton(e.left-t.left,e.top-t.top,!0))}).on("mouseout",function(){"plugin-hover"==o.fullscreenMode&&(null!==s&&(clearTimeout(s),delete s),s=setTimeout(function(){n.hideFullscreenButton()},1500))}),i.fullscreenBtn=a,o.globalBind("keydown",function(e){27==e.keyCode&&(mejs.MediaFeatures.hasTrueNativeFullScreen&&mejs.MediaFeatures.isFullScreen()||o.isFullScreen)&&i.exitFullScreen()}),o.normalHeight=0,o.normalWidth=0,mejs.MediaFeatures.hasTrueNativeFullScreen&&i.globalBind(mejs.MediaFeatures.fullScreenEventName,function(e){i.isFullScreen&&(mejs.MediaFeatures.isFullScreen()?(i.isNativeFullScreen=!0,i.setControlsSize()):(i.isNativeFullScreen=!1,i.exitFullScreen()))}))},detectFullscreenMode:function(){var e=this,t="",i=mejs.MediaFeatures;return i.hasTrueNativeFullScreen&&"native"===e.media.pluginType?t="native-native":i.hasTrueNativeFullScreen&&"native"!==e.media.pluginType&&!i.hasFirefoxPluginMovingProblem?t="plugin-native":e.usePluginFullScreen?mejs.MediaFeatures.supportsPointerEvents?(t="plugin-click",e.createPluginClickThrough()):t="plugin-hover":t="fullwindow",e.fullscreenMode=t},isPluginClickThroughCreated:!1,createPluginClickThrough:function(){var a=this;if(!a.isPluginClickThroughCreated){function t(){if(n){for(var e in l)l[e].hide();a.fullscreenBtn.css("pointer-events",""),a.controls.css("pointer-events",""),a.media.removeEventListener("click",a.clickToPlayPauseCallback),n=!1}}function i(){var e=fullscreenBtn.offset().left-a.container.offset().left,t=fullscreenBtn.offset().top-a.container.offset().top,i=fullscreenBtn.outerWidth(!0),n=fullscreenBtn.outerHeight(!0),o=a.container.width(),s=a.container.height();for(r in l)l[r].css({position:"absolute",top:0,left:0});l.top.width(o).height(t),l.left.width(e).height(n).css({top:t}),l.right.width(o-e-i).height(n).css({top:t,left:e+i}),l.bottom.width(o).height(s-n-t).css({top:t+n})}var r,e,n=!1,l={},o=["top","left","right","bottom"];for(a.globalBind("resize",function(){i()}),r=0,e=o.length;r').appendTo(a.container).mouseover(t).hide();fullscreenBtn.on("mouseover",function(){if(!a.isFullScreen){var e=fullscreenBtn.offset(),t=player.container.offset();for(r in media.positionFullscreenButton(e.left-t.left,e.top-t.top,!1),a.fullscreenBtn.css("pointer-events","none"),a.controls.css("pointer-events","none"),a.media.addEventListener("click",a.clickToPlayPauseCallback),l)l[r].show();i(),n=!0}}),media.addEventListener("fullscreenchange",function(e){a.isFullScreen=!a.isFullScreen,a.isFullScreen?a.media.removeEventListener("click",a.clickToPlayPauseCallback):a.media.addEventListener("click",a.clickToPlayPauseCallback),t()}),a.globalBind("mousemove",function(e){var t;n&&(t=fullscreenBtn.offset(),(e.pageYt.top+fullscreenBtn.outerHeight(!0)||e.pageXt.left+fullscreenBtn.outerWidth(!0))&&(fullscreenBtn.css("pointer-events",""),a.controls.css("pointer-events",""),n=!1))}),a.isPluginClickThroughCreated=!0}},cleanfullscreen:function(e){e.exitFullScreen()},containerSizeTimeout:null,enterFullScreen:function(){var n=this;return mejs.MediaFeatures.hasiOSFullScreen?void n.media.webkitEnterFullscreen():(u(document.documentElement).addClass("mejs-fullscreen"),n.normalHeight=n.container.height(),n.normalWidth=n.container.width(),"native-native"===n.fullscreenMode||"plugin-native"===n.fullscreenMode?(mejs.MediaFeatures.requestFullScreen(n.container[0]),n.isInIframe&&setTimeout(function e(){var t,i;n.isNativeFullScreen&&(t=u(window).width(),.002*(i=screen.width)
    ',c=0;for(il=u.length;c";s=g(f+="
").appendTo(t),a=s.find(".mejs-speed-selector"),r=o.options.defaultSpeed,n.addEventListener("loadedmetadata",function(e){r&&(n.playbackRate=parseFloat(r))},!0),a.on("click",'input[type="radio"]',function(){var e=g(this).attr("value");r=e,n.playbackRate=parseFloat(e),s.find("button").html(m(e)),s.find(".mejs-speed-selected").removeClass("mejs-speed-selected"),s.find('input[type="radio"]:checked').next().addClass("mejs-speed-selected")}),s.one("mouseenter focusin",function(){a.height(s.find(".mejs-speed-selector ul").outerHeight(!0)+s.find(".mejs-speed-translations").outerHeight(!0)).css("top",-1*a.height()+"px")})}}})}(mejs.$),function(h){h.extend(mejs.MepDefaults,{startLanguage:"",tracksText:mejs.i18n.t("Captions/Subtitles"),tracksAriaLive:!1,hideCaptionsButtonWhenEmpty:!0,toggleCaptionsButtonWhenOnlyOne:!1,slidesSelector:""}),h.extend(MediaElementPlayer.prototype,{hasChapters:!1,cleartracks:function(e,t,i,n){e&&(e.captions&&e.captions.remove(),e.chapters&&e.chapters.remove(),e.captionsText&&e.captionsText.remove(),e.captionsButton&&e.captionsButton.remove())},buildtracks:function(t,e,i,n){if(0!==t.tracks.length){var o=this,s=o.options.tracksAriaLive?'role="log" aria-live="assertive" aria-atomic="false"':"";if(o.domNode.textTracks)for(r=o.domNode.textTracks.length-1;0<=r;r--)o.domNode.textTracks[r].mode="hidden";o.cleartracks(t,e,i,n),t.chapters=h('
').prependTo(i).hide(),t.captions=h('
').prependTo(i).hide(),t.captionsText=t.captions.find(".mejs-captions-text"),t.captionsButton=h('
").appendTo(e);for(var a=0,r=0;r")),i.adjustLanguageBox(),i.container.find(".mejs-captions-translations option[value="+e+"]").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))},checkForTracks:function(){var e=this,t=!1;if(e.options.hideCaptionsButtonWhenEmpty){for(i=0;i=i.entries.times[e].start&&t.media.currentTime<=i.entries.times[e].stop)return t.captionsText.html(i.entries.text[e]).attr("class","mejs-captions-text "+(i.entries.times[e].identifier||"")),void t.captions.show().height(0);t.captions.hide()}else t.captions.hide()}},setupSlides:function(e){this.slides=e,this.slides.entries.imgs=[this.slides.entries.text.length],this.showSlide(0)},showSlide:function(e){var t,i,n;void 0!==this.tracks&&void 0!==this.slidesContainer&&(i=(t=this).slides.entries.text[e],void 0===(n=t.slides.entries.imgs[e])||void 0===n.fadeIn?t.slides.entries.imgs[e]=n=h('').on("load",function(){n.appendTo(t.slidesContainer).hide().fadeIn().siblings(":visible").fadeOut()}):n.is(":visible")||n.is(":animated")||n.fadeIn().siblings(":visible").fadeOut())},displaySlides:function(){if(void 0!==this.slides)for(var e=this.slides,t=0;t=e.entries.times[t].start&&this.media.currentTime<=e.entries.times[t].stop)return void this.showSlide(t)},displayChapters:function(){for(var e=this,t=0;t
'+e.entries.text[t]+''+mejs.Utility.secondsToTimeCode(e.entries.times[t].start,n.options)+"–"+mejs.Utility.secondsToTimeCode(e.entries.times[t].stop,n.options)+"
")),s+=o;n.chapters.find("div.mejs-chapter").click(function(){n.media.setCurrentTime(parseFloat(h(this).attr("rel"))),n.media.paused&&n.media.play()}),n.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",fl:"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={webvtt:{pattern_timecode:/^((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{1,3})?) --\> ((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)$/,parse:function(e){for(var t,i,n,o=0,s=mejs.TrackFormatParser.split2(e,/\r?\n/),a={text:[],times:[]};o$1"),a.text.push(i),a.times.push({identifier:n,start:0===mejs.Utility.convertSMPTEtoSeconds(t[1])?.2:mejs.Utility.convertSMPTEtoSeconds(t[1]),stop:mejs.Utility.convertSMPTEtoSeconds(t[3]),settings:t[5]})}n=""}return a}},dfxp:{parse:function(e){var t,i,n=0,o=(e=h(e).filter("tt")).children("div").eq(0),s=o.find("p"),a=e.find("#"+o.attr("style")),r={text:[],times:[]};if(a.length){var l=a.removeAttr("id").get(0).attributes;if(l.length)for(t={},n=0;n$1"),r.text.push(i),0===r.times.start&&(r.times.start=2)}return r}},split2:function(e,t){return e.split(t)}},3!="x\n\ny".split(/\n/gi).length&&(mejs.TrackFormatParser.split2=function(e,t){for(var i=[],n="",o=0;o').appendTo(l("body")).hide(),t.container.bind("contextmenu",function(e){return t.isContextMenuEnabled?(e.preventDefault(),t.renderContextMenu(e.clientX-1,e.clientY-1),!1):void 0}),t.container.bind("click",function(){t.contextMenu.hide()}),t.contextMenu.bind("mouseleave",function(){t.startContextMenuTimer()})},cleancontextmenu:function(e){e.contextMenu.remove()},isContextMenuEnabled:!0,enableContextMenu:function(){this.isContextMenuEnabled=!0},disableContextMenu:function(){this.isContextMenuEnabled=!1},contextMenuTimeout:null,startContextMenuTimer:function(){var e=this;e.killContextMenuTimer(),e.contextMenuTimer=setTimeout(function(){e.hideContextMenu(),e.killContextMenuTimer()},750)},killContextMenuTimer:function(){var e=this.contextMenuTimer;null!=e&&(clearTimeout(e),delete e,e=null)},hideContextMenu:function(){this.contextMenu.hide()},renderContextMenu:function(e,t){for(var i,n=this,o="",s=n.options.contextMenuItems,a=0,r=s.length;a':null!=(i=s[a].render(n))&&(o+='
'+i+"
")}n.contextMenu.empty().append(l(o)).css({top:t,left:e}).show(),n.contextMenu.find(".mejs-contextmenu-item").each(function(){var e=l(this),t=parseInt(e.data("itemindex"),10),i=n.options.contextMenuItems[t];void 0!==i.show&&i.show(e,n),e.click(function(){void 0!==i.click&&i.click(n),n.contextMenu.hide()})}),setTimeout(function(){n.killControlsTimer("rev3")},100)}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{skipBackInterval:30,skipBackText:mejs.i18n.t("Skip back %1 seconds")}),a.extend(MediaElementPlayer.prototype,{buildskipback:function(e,t,i,n){var o=this,s=o.options.skipBackText.replace("%1",o.options.skipBackInterval);a('
").appendTo(t).click(function(){n.setCurrentTime(Math.max(n.currentTime-o.options.skipBackInterval,0)),a(this).find("button").blur()})}})}(mejs.$),function(s){s.extend(mejs.MepDefaults,{postrollCloseText:mejs.i18n.t("Close")}),s.extend(MediaElementPlayer.prototype,{buildpostroll:function(t,e,i,n){var o=this.container.find('link[rel="postroll"]').attr("href");void 0!==o&&(t.postroll=s('').prependTo(i).hide(),this.media.addEventListener("ended",function(e){s.ajax({dataType:"html",url:o,success:function(e,t){i.find(".mejs-postroll-layer-content").html(e)}}),t.postroll.show()},!1))}})}(mejs.$);var tg_global_var={url:"https://theme-one.com/the-grid/wp-admin/admin-ajax.php",nonce:"cb9ac66177",is_mobile:null,mediaelement:"1",mediaelement_ex:"1",lightbox_autoplay:"",debounce:"1",meta_data:null,main_query:{page:0,pagename:"brasilia",error:"",m:"",p:0,post_parent:"",subpost:"",subpost_id:"",attachment:"",attachment_id:0,name:"brasilia",static:"",page_id:0,second:"",minute:"",hour:"",day:0,monthnum:0,year:0,w:0,category_name:"",tag:"",cat:"",tag_id:"",author:"",author_name:"",feed:"",tb:"",paged:0,meta_key:"",meta_value:"",preview:"",s:"",sentence:"",title:"",fields:"",menu_order:"",embed:"",category__in:[],category__not_in:[],category__and:[],post__in:[],post__not_in:[],post_name__in:[],tag__in:[],tag__not_in:[],tag__and:[],tag_slug__in:[],tag_slug__and:[],post_parent__in:[],post_parent__not_in:[],author__in:[],author__not_in:[],ignore_sticky_posts:!1,suppress_filters:!1,cache_results:!0,update_post_term_cache:!0,lazy_load_term_meta:!0,update_post_meta_cache:!0,post_type:"",posts_per_page:9,nopaging:!1,comments_per_page:"50",no_found_rows:!1,order:"DESC"}};function throttle(t,i){var n=0;return function(){var e=Date.now();if(n+i