PageSourceSearch

https://westhartfordchiropractic.com/storage/opt/a1e27c82274dc6b16737957d2f530f35.opt-min.co.js

js westhartfordchiropractic.com collected 2026-09-26 19:02:50 UTC 705,074 bytes, 33 lines download raw bytes

1!function(tt){function ti(){tt[tc].glbl||(tl={$wndw:tt(window),$docu:tt(document),$html:tt("html"),$body:tt("body")},tn={},ts={},ta={},tt.each([tn,ts,ta],function(tt,ti){ti.add=function(tt){tt=tt.split(" ");for(var tn=0,ts=tt.length;ts>tn;tn++)ti[tt[tn]]=ti.mm(tt[tn])}}),tn.mm=function(tt){return"mm-"+tt},tn.add("wrapper menu panels panel nopanel current highest opened subopened navbar hasnavbar title btn prev next listview nolistview inset vertical selected divider spacer hidden fullsubopen"),tn.umm=function(tt){return"mm-"==tt.slice(0,3)&&(tt=tt.slice(3)),tt},ts.mm=function(tt){return"mm-"+tt},ts.add("parent sub"),ta.mm=function(tt){return tt+".mm"},ta.add("transitionend webkitTransitionEnd click scroll keydown mousedown mouseup touchstart touchmove touchend orientationchange"),tt[tc]._c=tn,tt[tc]._d=ts,tt[tc]._e=ta,tt[tc].glbl=tl)}var tn,ts,ta,tl,tc="mmenu",tu="5.6.4";tt[tc]&&tt[tc].version>tu||(tt[tc]=function(tt,ti,tn){this.$menu=tt,this._api=["bind","init","update","setSelected","getInstance","openPanel","closePanel","closeAllPanels"],this.opts=ti,this.conf=tn,this.vars={},this.cbck={},"function"==typeof this.___deprecated&&this.___deprecated(),this._initMenu(),this._initAnchors();var ts=this.$pnls.children();return this._initAddons(),this.init(ts),"function"==typeof this.___debug&&this.___debug(),this},tt[tc].version=tu,tt[tc].addons={},tt[tc].uniqueId=0,tt[tc].defaults={extensions:[],navbar:{add:!0,title:"Menu",titleLink:"panel"},onClick:{setSelected:!0},slidingSubmenus:!0},tt[tc].configuration={classNames:{divider:"Divider",inset:"Inset",panel:"Panel",selected:"Selected",spacer:"Spacer",vertical:"Vertical"},clone:!1,openingInterval:25,panelNodetype:"ul, ol, div",transitionDuration:400},tt[tc].prototype={init:function(tt){tt=tt.not("."+tn.nopanel),tt=this._initPanels(tt),this.trigger("init",tt),this.trigger("update")},update:function(){this.trigger("update")},setSelected:function(tt){this.$menu.find("."+tn.listview).children().removeClass(tn.selected),tt.addClass(tn.selected),this.trigger("setSelected",tt)},openPanel:function(ti){var ts=ti.parent(),ta=this;if(ts.hasClass(tn.vertical)){var tl=ts.parents("."+tn.subopened);if(tl.length)return void this.openPanel(tl.first());ts.addClass(tn.opened),this.trigger("openPanel",ti),this.trigger("openingPanel",ti),this.trigger("openedPanel",ti)}else{if(ti.hasClass(tn.current))return;var tu=this.$pnls.children("."+tn.panel),td=tu.filter("."+tn.current);tu.removeClass(tn.highest).removeClass(tn.current).not(ti).not(td).not("."+tn.vertical).addClass(tn.hidden),tt[tc].support.csstransitions||td.addClass(tn.hidden),ti.hasClass(tn.opened)?ti.nextAll("."+tn.opened).addClass(tn.highest).removeClass(tn.opened).removeClass(tn.subopened):(ti.addClass(tn.highest),td.addClass(tn.subopened)),ti.removeClass(tn.hidden).addClass(tn.current),ta.trigger("openPanel",ti),setTimeout(function(){ti.removeClass(tn.subopened).addClass(tn.opened),ta.trigger("openingPanel",ti),ta.__transitionend(ti,function(){ta.trigger("openedPanel",ti)},ta.conf.transitionDuration)},this.conf.openingInterval)}},closePanel:function(tt){var ti=tt.parent();ti.hasClass(tn.vertical)&&(ti.removeClass(tn.opened),this.trigger("closePanel",tt),this.trigger("closingPanel",tt),this.trigger("closedPanel",tt))},closeAllPanels:function(){this.$menu.find("."+tn.listview).children().removeClass(tn.selected).filter("."+tn.vertical).removeClass(tn.opened);var tt=this.$pnls.children("."+tn.panel).first();this.$pnls.children("."+tn.panel).not(tt).removeClass(tn.subopened).removeClass(tn.opened).removeClass(tn.current).removeClass(tn.highest).addClass(tn.hidden),this.openPanel(tt)},togglePanel:function(tt){var ti=tt.parent();ti.hasClass(tn.vertical)&&this[ti.hasClass(tn.opened)?"closePanel":"openPanel"](tt)},getInstance:function(){return this},bind:function(tt,ti){this.cbck[tt]=this.cbck[tt]||[],this.cbck[tt].push(ti)},trigger:function(){var tt=this,ti=Array.prototype.slice.call(arguments),tn=ti.shift();if(this.cbck[tn])for(var ts=0,ta=this.cbck[tn].length;ta>ts;ts++)this.cbck[tn][ts].apply(tt,ti)},_initMenu:function(){this.$menu.attr("id",this.$menu.attr("id")||this.__getUniqueId()),this.conf.clone&&(this.$menu=this.$menu.clone(!0),this.$menu.add(this.$menu.find("[id]")).filter("[id]").each(function(){tt(this).attr("id",tn.mm(tt(this).attr("id")))})),this.$menu.contents().each(function(){3==tt(this)[0].nodeType&&tt(this).remove()}),this.$pnls=tt('<div class="'+tn.panels+'" />').append(this.$menu.children(this.conf.panelNodetype)).prependTo(this.$menu),this.$menu.parent().addClass(tn.wrapper);var ti=[tn.menu];this.opts.slidingSubmenus||ti.push(tn.vertical),this.opts.extensions=this.opts.extensions.length?"mm-"+this.opts.extensions.join(" mm-"):"",this.opts.extensions&&ti.push(this.opts.extensions),this.$menu.addClass(ti.join(" "))},_initPanels:function(ti){var ta=this,tl=this.__findAddBack(ti,"ul, ol");this.__refactorClass(tl,this.conf.classNames.inset,"inset").addClass(tn.nolistview+" "+tn.nopanel),tl.not("."+tn.nolistview).addClass(tn.listview);var tc=this.__findAddBack(ti,"."+tn.listview).children();this.__refactorClass(tc,this.conf.classNames.selected,"selected"),this.__refactorClass(tc,this.conf.classNames.divider,"divider"),this.__refactorClass(tc,this.conf.classNames.spacer,"spacer"),this.__refactorClass(this.__findAddBack(ti,"."+this.conf.classNames.panel),this.conf.classNames.panel,"panel");var tu=tt(),td=ti.add(ti.find("."+tn.panel)).add(this.__findAddBack(ti,"."+tn.listview).children().children(this.conf.panelNodetype)).not("."+tn.nopanel);this.__refactorClass(td,this.conf.classNames.vertical,"vertical"),this.opts.slidingSubmenus||td.addClass(tn.vertical),td.each(function(){var ti=tt(this),ts=ti;ti.is("ul, ol")?(ti.wrap('<div class="'+tn.panel+'" />'),ts=ti.parent()):ts.addClass(tn.panel);var tl=ti.attr("id");ti.removeAttr("id"),ts.attr("id",tl||ta.__getUniqueId()),ti.hasClass(tn.vertical)&&(ti.removeClass(ta.conf.classNames.vertical),ts.add(ts.parent()).addClass(tn.vertical)),tu=tu.add(ts)});var th=tt("."+tn.panel,this.$menu);tu.each(function(ti){var tl,tc,tu=tt(this),td=tu.parent(),th=td.children("a, span").first();if(td.is("."+tn.panels)||(td.data(ts.sub,tu),tu.data(ts.parent,td)),td.children("."+tn.next).length||td.parent().is("."+tn.listview)&&(tl=tu.attr("id"),tc=tt('<a class="'+tn.next+'" href="#'+tl+'" data-target="#'+tl+'" />').insertBefore(th),th.is("span")&&tc.addClass(tn.fullsubopen)),!tu.children("."+tn.navbar).length&&!td.hasClass(tn.vertical)){td=td.parent().is("."+tn.listview)?td.closest("."+tn.panel):(th=td.closest("."+tn.panel).find('a[href="#'+tu.attr("id")+'"]').first()).closest("."+tn.panel);var tp=!1,tf=tt('<div class="'+tn.navbar+'" />');if(td.length){switch(tl=td.attr("id"),ta.opts.navbar.titleLink){case"anchor":tp=th.attr("href");break;case"panel":case"parent":tp="#"+tl;break;default:tp=!1}
1tf.append('<a class="'+tn.btn+" "+tn.prev+'" href="#'+tl+'" data-target="#'+tl+'" />').append(tt('<a class="'+tn.title+'"'+(tp?' href="'+tp+'"':"")+" />").text(th.text())).prependTo(tu),ta.opts.navbar.add&&tu.addClass(tn.hasnavbar)}else ta.opts.navbar.title&&(tf.append('<a class="'+tn.title+'">'+ta.opts.navbar.title+"</a>").prependTo(tu),ta.opts.navbar.add&&tu.addClass(tn.hasnavbar))}});var tp=this.__findAddBack(ti,"."+tn.listview).children("."+tn.selected).removeClass(tn.selected).last().addClass(tn.selected);tp.add(tp.parentsUntil("."+tn.menu,"li")).filter("."+tn.vertical).addClass(tn.opened).end().each(function(){tt(this).parentsUntil("."+tn.menu,"."+tn.panel).not("."+tn.vertical).first().addClass(tn.opened).parentsUntil("."+tn.menu,"."+tn.panel).not("."+tn.vertical).first().addClass(tn.opened).addClass(tn.subopened)}),tp.children("."+tn.panel).not("."+tn.vertical).addClass(tn.opened).parentsUntil("."+tn.menu,"."+tn.panel).not("."+tn.vertical).first().addClass(tn.opened).addClass(tn.subopened);var tf=th.filter("."+tn.opened);return tf.length||(tf=tu.first()),tf.addClass(tn.opened).last().addClass(tn.current),tu.not("."+tn.vertical).not(tf.last()).addClass(tn.hidden).end().filter(function(){return!tt(this).parent().hasClass(tn.panels)}).appendTo(this.$pnls),tu},_initAnchors:function(){var ti=this;tl.$body.on(ta.click+"-oncanvas","a[href]",function(ts){var ta=tt(this),tl=!1,tu=ti.$menu.find(ta).length;for(var td in tt[tc].addons)if(tt[tc].addons[td].clickAnchor.call(ti,ta,tu)){tl=!0;break}var th=ta.attr("href");if(!tl&&tu&&th.length>1&&"#"==th.slice(0,1))try{var tp=tt(th,ti.$menu);tp.is("."+tn.panel)&&(tl=!0,ti[ta.parent().hasClass(tn.vertical)?"togglePanel":"openPanel"](tp))}catch(tt){}if(tl&&ts.preventDefault(),!tl&&tu&&ta.is("."+tn.listview+" > li > a")&&!ta.is('[rel="external"]')&&!ta.is('[target="_blank"]')){ti.__valueOrFn(ti.opts.onClick.setSelected,ta)&&ti.setSelected(tt(ts.target).parent());var tf=ti.__valueOrFn(ti.opts.onClick.preventDefault,ta,"#"==th.slice(0,1));tf&&ts.preventDefault(),ti.__valueOrFn(ti.opts.onClick.close,ta,tf)&&ti.close()}})},_initAddons:function(){var ti;for(ti in tt[tc].addons)tt[tc].addons[ti].add.call(this),tt[tc].addons[ti].add=function(){};for(ti in tt[tc].addons)tt[tc].addons[ti].setup.call(this)},_getOriginalMenuId:function(){var tt=this.$menu.attr("id");return tt&&tt.length&&this.conf.clone&&(tt=tn.umm(tt)),tt},__api:function(){var ti=this,tn={};return tt.each(this._api,function(tt){var ts=this;tn[ts]=function(){var tt=ti[ts].apply(ti,arguments);return void 0===tt?tn:tt}}),tn},__valueOrFn:function(tt,ti,tn){return"function"==typeof tt?tt.call(ti[0]):void 0===tt&&void 0!==tn?tn:tt},__refactorClass:function(tt,ti,ts){return tt.filter("."+ti).removeClass(ti).addClass(tn[ts])},__findAddBack:function(tt,ti){return tt.find(ti).add(tt.filter(ti))},__filterListItems:function(tt){return tt.not("."+tn.divider).not("."+tn.hidden)},__transitionend:function(tt,ti,tn){var ts=!1,tl=function(){ts||ti.call(tt[0]),ts=!0};tt.one(ta.transitionend,tl),tt.one(ta.webkitTransitionEnd,tl),setTimeout(tl,1.1*tn)},__getUniqueId:function(){return tn.mm(tt[tc].uniqueId++)}},tt.fn[tc]=function(tn,ts){return ti(),tn=tt.extend(!0,{},tt[tc].defaults,tn),ts=tt.extend(!0,{},tt[tc].configuration,ts),this.each(function(){var ti=tt(this);if(!ti.data(tc)){var ta=new tt[tc](ti,tn,ts);ta.$menu.data(tc,ta.__api())}})},tt[tc].support={touch:"ontouchstart"in window||navigator.msMaxTouchPoints||!1,csstransitions:function(){if("undefined"!=typeof Modernizr&&void 0!==Modernizr.csstransitions)return Modernizr.csstransitions;var tt=(document.body||document.documentElement).style,ti="transition";if("string"==typeof tt[ti])return!0;var tn=["Moz","webkit","Webkit","Khtml","O","ms"];ti=ti.charAt(0).toUpperCase()+ti.substr(1);for(var ts=0;ts<tn.length;ts++)if("string"==typeof tt[tn[ts]+ti])return!0;return!1}()})}(jQuery),function(tt){var ti,tn,ts,ta,tl="mmenu",tc="offCanvas";tt[tl].addons[tc]={setup:function(){if(this.opts[tc]){var tn=this.opts[tc],ts=this.conf[tc];ta=tt[tl].glbl,this._api=tt.merge(this._api,["open","close","setPage"]),("top"==tn.position||"bottom"==tn.position)&&(tn.zposition="front"),"string"!=typeof ts.pageSelector&&(ts.pageSelector="> "+ts.pageNodetype),ta.$allMenus=(ta.$allMenus||tt()).add(this.$menu),this.vars.opened=!1;var tu=[ti.offcanvas];"left"!=tn.position&&tu.push(ti.mm(tn.position)),"back"!=tn.zposition&&tu.push(ti.mm(tn.zposition)),this.$menu.addClass(tu.join(" ")).parent().removeClass(ti.wrapper),this.setPage(ta.$page),this._initBlocker(),this["_initWindow_"+tc](),this.$menu[ts.menuInjectMethod+"To"](ts.menuWrapperSelector);var td=window.location.hash;if(td){var th=this._getOriginalMenuId();th&&th==td.slice(1)&&this.open()}}},add:function(){ti=tt[tl]._c,tn=tt[tl]._d,ts=tt[tl]._e,ti.add("offcanvas slideout blocking modal background opening blocker page"),tn.add("style"),ts.add("resize")},clickAnchor:function(tt,ti){if(!this.opts[tc])return!1;var tn=this._getOriginalMenuId();return tn&&tt.is('[href="#'+tn+'"]')?(this.open(),!0):ta.$page?!!((tn=ta.$page.first().attr("id"))&&tt.is('[href="#'+tn+'"]'))&&(this.close(),!0):void 0}},tt[tl].defaults[tc]={position:"left",zposition:"back",blockUI:!0,moveBackgroun
1d:!0},tt[tl].configuration[tc]={pageNodetype:"div",pageSelector:null,noPageSelector:[],wrapPageIfNeeded:!0,menuWrapperSelector:"body",menuInjectMethod:"prepend"},tt[tl].prototype.open=function(){if(!this.vars.opened){var tt=this;this._openSetup(),setTimeout(function(){tt._openFinish()},this.conf.openingInterval),this.trigger("open")}},tt[tl].prototype._openSetup=function(){var tl=this,tu=this.opts[tc];this.closeAllOthers(),ta.$page.each(function(){tt(this).data(tn.style,tt(this).attr("style")||"")}),ta.$wndw.trigger(ts.resize+"-"+tc,[!0]);var td=[ti.opened];tu.blockUI&&td.push(ti.blocking),"modal"==tu.blockUI&&td.push(ti.modal),tu.moveBackground&&td.push(ti.background),"left"!=tu.position&&td.push(ti.mm(this.opts[tc].position)),"back"!=tu.zposition&&td.push(ti.mm(this.opts[tc].zposition)),this.opts.extensions&&td.push(this.opts.extensions),ta.$html.addClass(td.join(" ")),setTimeout(function(){tl.vars.opened=!0},this.conf.openingInterval),this.$menu.addClass(ti.current+" "+ti.opened)},tt[tl].prototype._openFinish=function(){var tt=this;this.__transitionend(ta.$page.first(),function(){tt.trigger("opened")},this.conf.transitionDuration),ta.$html.addClass(ti.opening),this.trigger("opening")},tt[tl].prototype.close=function(){if(this.vars.opened){var ts=this;this.__transitionend(ta.$page.first(),function(){ts.$menu.removeClass(ti.current).removeClass(ti.opened),ta.$html.removeClass(ti.opened).removeClass(ti.blocking).removeClass(ti.modal).removeClass(ti.background).removeClass(ti.mm(ts.opts[tc].position)).removeClass(ti.mm(ts.opts[tc].zposition)),ts.opts.extensions&&ta.$html.removeClass(ts.opts.extensions),ta.$page.each(function(){tt(this).attr("style",tt(this).data(tn.style))}),ts.vars.opened=!1,ts.trigger("closed")},this.conf.transitionDuration),ta.$html.removeClass(ti.opening),this.trigger("close"),this.trigger("closing")}},tt[tl].prototype.closeAllOthers=function(){ta.$allMenus.not(this.$menu).each(function(){var ti=tt(this).data(tl);ti&&ti.close&&ti.close()})},tt[tl].prototype.setPage=function(tn){var ts=this,tl=this.conf[tc];tn&&tn.length||(tn=ta.$body.find(tl.pageSelector),tl.noPageSelector.length&&(tn=tn.not(tl.noPageSelector.join(", "))),tn.length>1&&tl.wrapPageIfNeeded&&(tn=tn.wrapAll("<"+this.conf[tc].pageNodetype+" />").parent())),tn.each(function(){tt(this).attr("id",tt(this).attr("id")||ts.__getUniqueId())}),tn.addClass(ti.page+" "+ti.slideout),ta.$page=tn,this.trigger("setPage",tn)},tt[tl].prototype["_initWindow_"+tc]=function(){ta.$wndw.off(ts.keydown+"-"+tc).on(ts.keydown+"-"+tc,function(tt){return ta.$html.hasClass(ti.opened)&&9==tt.keyCode?(tt.preventDefault(),!1):void 0});var tt=0;ta.$wndw.off(ts.resize+"-"+tc).on(ts.resize+"-"+tc,function(tn,ts){if(1==ta.$page.length&&(ts||ta.$html.hasClass(ti.opened))){var tl=ta.$wndw.height();(ts||tl!=tt)&&(tt=tl,ta.$page.css("minHeight",tl))}})},tt[tl].prototype._initBlocker=function(){var tn=this;this.opts[tc].blockUI&&(ta.$blck||(ta.$blck=tt('<div id="'+ti.blocker+'" class="'+ti.slideout+'" />')),ta.$blck.appendTo(ta.$body).off(ts.touchstart+"-"+tc+" "+ts.touchmove+"-"+tc).on(ts.touchstart+"-"+tc+" "+ts.touchmove+"-"+tc,function(tt){tt.preventDefault(),tt.stopPropagation(),ta.$blck.trigger(ts.mousedown+"-"+tc)}).off(ts.mousedown+"-"+tc).on(ts.mousedown+"-"+tc,function(tt){tt.preventDefault(),ta.$html.hasClass(ti.modal)||(tn.closeAllOthers(),tn.close())}))}}(jQuery),function(tt){var ti,tn,ts,ta,tl="mmenu",tc="scrollBugFix";tt[tl].addons[tc]={setup:function(){var tn=this,tu=this.opts[tc];if(this.conf[tc],ta=tt[tl].glbl,tt[tl].support.touch&&this.opts.offCanvas&&this.opts.offCanvas.blockUI&&("boolean"==typeof tu&&(tu={fix:tu}),"object"!=typeof tu&&(tu={}),(tu=this.opts[tc]=tt.extend(!0,{},tt[tl].defaults[tc],tu)).fix)){var td=this.$menu.attr("id"),th=!1;this.bind("opening",function(){this.$pnls.children("."+ti.current).scrollTop(0)}),ta.$docu.on(ts.touchmove,function(tt){tn.vars.opened&&tt.preventDefault()}),ta.$body.on(ts.touchstart,"#"+td+"> ."+ti.panels+"> ."+ti.current,function(tt){tn.vars.opened&&(th||(th=!0,0===tt.currentTarget.scrollTop?tt.currentTarget.scrollTop=1:tt.currentTarget.scrollHeight===tt.currentTarget.scrollTop+tt.currentTarget.offsetHeight&&(tt.currentTarget.scrollTop-=1),th=!1))}).on(ts.touchmove,"#"+td+"> ."+ti.panels+"> ."+ti.current,function(ti){tn.vars.opened&&tt(this)[0].scrollHeight>tt(this).innerHeight()&&ti.stopPropagation()}),ta.$wndw.on(ts.orientationchange,function(){tn.$pnls.children("."+ti.current).scrollTop(0).css({"-webkit-overflow-scrolling":"auto"}).css({"-webkit-overflow-scrolling":"touch"})})}},add:function(){ti=tt[tl]._c,tn=tt[tl]._d,ts=tt[tl]._e},clickAnchor:function(tt,ti){}},tt[tl].defaults[tc]={fix:!0}}(jQuery),function(tt){var ti,tn,ts,ta,tl="mmenu",tc="autoHeight";tt[tl].addons[tc]={setup:function(){if(this.opts.offCanvas){var tn=this.opts[tc];if(this.conf[tc],ta=tt[tl].glbl,"boolean"==typeof tn&&tn&&(tn={height:"auto"}),"string"==typeof tn&&(tn={height:tn}),"object"!=typeof tn&&(tn={}),"auto"==(tn=this.opts[tc]=tt.extend(!0,{},tt[tl].defaults[tc],tn)).height||"highest"==tn.height){this.$menu.addClass(ti.autoheight);var ts=function(ts){if(this.vars.opened){var ta=parseInt(this.$pnls.css("top"),10)||0,tl=parseInt(this.$pnls.css("bottom"),10)||0,tc=0;this.$menu.addClass(ti.measureheight),"auto"==tn.height?((ts=ts||this.$pnls.children("."+ti.current)).is("."+ti.vertical)&&(ts=ts.parents("."+ti.panel).not("."+ti.vertical).first()),tc=ts.outerHeight()):"highest"==tn.height&&this.$pnls.children().each(function(){var tn=tt(this);tn.is("."+ti.vertical)&&(tn=tn.parents("."+ti.panel).not("."+ti.vertical).first()),tc=Math.max(tc,tn.outerHeight())}),this.$menu.height(tc+ta+tl).removeClass(ti.measureheight)}};this.bind("opening",ts),"highest"==tn.height&&this.bind("init",ts),"auto"==tn.height&&(this.bind("update",ts),this.bind("openPanel",ts),this.bind("closePanel",t
1s))}}},add:function(){ti=tt[tl]._c,tn=tt[tl]._d,ts=tt[tl]._e,ti.add("autoheight measureheight"),ts.add("resize")},clickAnchor:function(tt,ti){}},tt[tl].defaults[tc]={height:"default"}}(jQuery),function(tt){var ti,tn,ts,ta,tl="mmenu",tc="backButton";tt[tl].addons[tc]={setup:function(){if(this.opts.offCanvas){var tn=this,ts=this.opts[tc];if(this.conf[tc],ta=tt[tl].glbl,"boolean"==typeof ts&&(ts={close:ts}),"object"!=typeof ts&&(ts={}),(ts=tt.extend(!0,{},tt[tl].defaults[tc],ts)).close){var tu="#"+tn.$menu.attr("id");this.bind("opened",function(tt){location.hash!=tu&&history.pushState(null,document.title,tu)}),tt(window).on("popstate",function(tt){ta.$html.hasClass(ti.opened)?(tt.stopPropagation(),tn.close()):location.hash==tu&&(tt.stopPropagation(),tn.open())})}}},add:function(){return window.history&&window.history.pushState?(ti=tt[tl]._c,tn=tt[tl]._d,void(ts=tt[tl]._e)):void(tt[tl].addons[tc].setup=function(){})},clickAnchor:function(tt,ti){}},tt[tl].defaults[tc]={close:!1}}(jQuery),function(tt){var ti,tn,ts,ta,tl="mmenu",tc="columns";tt[tl].addons[tc]={setup:function(){var tn=this.opts[tc];if(this.conf[tc],ta=tt[tl].glbl,"boolean"==typeof tn&&(tn={add:tn}),"number"==typeof tn&&(tn={add:!0,visible:tn}),"object"!=typeof tn&&(tn={}),"number"==typeof tn.visible&&(tn.visible={min:tn.visible,max:tn.visible}),(tn=this.opts[tc]=tt.extend(!0,{},tt[tl].defaults[tc],tn)).add){tn.visible.min=Math.max(1,Math.min(6,tn.visible.min)),tn.visible.max=Math.max(tn.visible.min,Math.min(6,tn.visible.max)),this.$menu.addClass(ti.columns);for(var ts=this.opts.offCanvas?this.$menu.add(ta.$html):this.$menu,tu=[],td=0;td<=tn.visible.max;td++)tu.push(ti.columns+"-"+td);tu=tu.join(" ");var th=function(tt){tm.call(this,this.$pnls.children("."+ti.current)),tn.hideNavbars&&tt.removeClass(ti.hasnavbar)},tp=function(){var tt=this.$pnls.children("."+ti.panel).filter("."+ti.opened).length;tt=Math.min(tn.visible.max,Math.max(tn.visible.min,tt)),ts.removeClass(tu).addClass(ti.columns+"-"+tt)},tf=function(){this.opts.offCanvas&&ta.$html.removeClass(tu)},tm=function(ts){this.$pnls.children("."+ti.panel).removeClass(tu).filter("."+ti.subopened).removeClass(ti.hidden).add(ts).slice(-tn.visible.max).each(function(tn){tt(this).addClass(ti.columns+"-"+tn)})};this.bind("open",tp),this.bind("close",tf),this.bind("init",th),this.bind("openPanel",tm),this.bind("openingPanel",tp),this.bind("openedPanel",tp),this.opts.offCanvas||tp.call(this)}},add:function(){ti=tt[tl]._c,tn=tt[tl]._d,ts=tt[tl]._e,ti.add("columns")},clickAnchor:function(tn,ts){if(!this.opts[tc].add)return!1;if(ts){var ta=tn.attr("href");if(ta.length>1&&"#"==ta.slice(0,1))try{if(tt(ta,this.$menu).is("."+ti.panel))for(var tl=parseInt(tn.closest("."+ti.panel).attr("class").split(ti.columns+"-")[1].split(" ")[0],10)+1;!1!==tl;){var tu=this.$pnls.children("."+ti.columns+"-"+tl);if(!tu.length){tl=!1;break}tl++,tu.removeClass(ti.subopened).removeClass(ti.opened).removeClass(ti.current).removeClass(ti.highest).addClass(ti.hidden)}}catch(tt){}}}},tt[tl].defaults[tc]={add:!1,visible:{min:1,max:3},hideNavbars:!1}}(jQuery),function(tt){var ti,tn,ts,ta,tl="mmenu",tc="counters";tt[tl].addons[tc]={setup:function(){var ts=this,tu=this.opts[tc];this.conf[tc],ta=tt[tl].glbl,"boolean"==typeof tu&&(tu={add:tu,update:tu}),"object"!=typeof tu&&(tu={}),tu=this.opts[tc]=tt.extend(!0,{},tt[tl].defaults[tc],tu),this.bind("init",function(ti){this.__refactorClass(tt("em",ti),this.conf.classNames[tc].counter,"counter")}),tu.add&&this.bind("init",function(ts){var ta;(ta="panels"===tu.addTo?ts:ts.filter(tu.addTo)).each(function(){var ts=tt(this).data(tn.parent);ts&&(ts.children("em."+ti.counter).length||ts.prepend(tt('<em class="'+ti.counter+'" />')))})}),tu.update&&this.bind("update",function(){this.$pnls.children("."+ti.panel).each(function(){var ta=tt(this),tl=ta.data(tn.parent);if(tl){var tc=tl.children("em."+ti.counter);tc.length&&(ta=ta.children("."+ti.listview)).length&&tc.html(ts.__filterListItems(ta.children()).length)}})})},add:function(){ti=tt[tl]._c,tn=tt[tl]._d,ts=tt[tl]._e,ti.add("counter search noresultsmsg")},clickAnchor:function(tt,ti){}},tt[tl].defaults[tc]={add:!1,addTo:"panels",update:!1},tt[tl].configuration.classNames[tc]={counter:"Counter"}}(jQuery),function(tt){var ti,tn,ts,ta,tl="mmenu",tc="dividers";tt[tl].addons[tc]={setup:function(){var tn=this,tu=this.opts[tc];if(this.conf[tc],ta=tt[tl].glbl,"boolean"==typeof tu&&(tu={add:tu,fixed:tu}),"object"!=typeof tu&&(tu={}),tu=this.opts[tc]=tt.extend(!0,{},tt[tl].defaults[tc],tu),this.bind("init",function(ti){this.__refactorClass(tt("li",this.$menu),this.conf.classNames[tc].collapsed,"collapsed")}),tu.add&&this.bind("init",function(ts){var ta;ta="panels"===tu.addTo?ts:ts.filter(tu.addTo),tt("."+ti.divider,ta).remove(),ta.find("."+ti.listview).not("."+ti.vertical).each(function(){var ts="";tn.__filterListItems(tt(this).children()).each(function(){var tn=tt.trim(tt(this).children("a, span").text()).slice(0,1).toLowerCase();tn!=ts&&tn.length&&(ts=tn,tt('<li class="'+ti.divider+'">'+tn+"</li>").insertBefore(this))})})}),tu.collapse&&this.bind("init",function(tn){tt("."+ti.divider,tn).each(function(){var tn=tt(this);tn.nextUntil("."+ti.divider,"."+ti.collapsed).length&&(tn.children("."+ti.subopen).length||(tn.wrapInner("<span />"),tn.prepend('<a href="#" class="'+ti.subopen+" "+ti.fullsubopen+'" />')))})}),tu.fixed){var td=function(tn){if((tn=tn||this.$pnls.children("."+ti.current)).find("."+ti.divider).not("."+ti.hidden).length){this.$menu.addClass(ti.hasdividers);var ts=tn.scrollTop()||0,ta="";tn.is(":visible")&&tn.find("."+ti.divider).not("."+ti.hidden).each(function(){tt(this).position().top+ts<ts+1&&(ta=tt(this).text())}),this.$fixeddivider.text(ta)}else this.$menu.removeClass(ti.hasdividers)};this.$fixeddivider=tt('<ul class="'+ti.listview+" "+ti.fixeddivider+'"><li class="'+ti.divider+'"></li></ul>').prependTo(this.$pnls).children(),this.bind("openPanel",td),this.bind("update",td),this.bind("init",function(ti){ti.off(ts.scroll+"-dividers "+ts.touchmove+"-dividers").on(ts.scroll+"-dividers "+ts.touchmove+"-dividers",function(ti){td.call(tn,tt(this))})})}},add:function(){ti=tt[tl]._c,tn=tt[tl]._d,ts=tt[tl]._e,ti.add("collapsed uncollapsed fixeddivider hasdividers"),ts.add("scroll")},clickAnchor:function(tt,tn){if(this.opts[tc].collapse&&tn){var ts=tt.parent();if(ts.is("."+ti.divider)){var ta=ts.nextUntil("."+ti.divider,"."+ti.collapsed);return ts.toggleClass(ti.opened),ta[ts.hasClass(ti.opened)?"addClass":"removeClass"](ti.uncollapsed),!0}}return!1}},tt[tl].defaults[tc]={add:!1,addTo:"panels",fixed:!1,collapse:!1},tt[tl].configuration.classNames[tc]={collapsed:"Collapsed"}}(jQuery),function(tt){function ti(tt,ti,tn){return ti>tt&&(tt=ti),tt>tn&&(tt=tn),tt}var tn,ts,ta,tl,tc="mmenu",tu="dragOpen";tt[tc].addons[tu]={setup:function(){if(this.opts.offCanvas){var ts=this,ta=this.opts[tu],td=this.conf[tu];if(tl=tt[tc].glbl,"boolean"==typeof ta&&(ta={open:ta}),"object"!=typeof ta&&(ta={}),(ta=this.opts[tu]=tt.extend(!0,{},tt[tc].defaults[tu],ta)).open){var th,tp,tf,tm,tg,tv={},ty=0,tb=!1,tw=!1,tx=0,t_=0;switch(this.opts.offCanvas.position){case"left":case"right":tv.events="panleft panright",tv.typeLower="x",tv.typeUpper="X",tw="width";break;case"top":case"bottom":tv.events="panup pandown",tv.typeLower="y",tv.typeUpper="Y",tw="height"}switch(this.opts.offCanvas.position){case"right":case"bottom":tv.negative=!0,tm=function(tt){tt>=tl.$wndw[tw]()-ta.maxStartPos&&(ty=1)};break;default:tv.negative=!1,tm=function(tt){tt<=ta.maxStartPos&&(ty=1)}}switch(this.opts.offCanvas.position){case"left":tv.open_dir="right",tv.close_dir="left";break;case"right":tv.open_dir="left",tv.close_dir="right";break;case"top":tv.open_dir="down",tv.close_dir="up";break;case"bottom":tv.open_dir="up",tv.close_dir="down"}tg="front"===this.opts.offCanvas.zposition?function(){return this.$menu}:function(){return tt("."+tn.slideout)};var tT=this.__valueOrFn(ta.pageNode,this.$menu,tl.$page);"string"==typeof tT&&(tT=tt(tT)),new Hammer(tT[0],ta.vendors.hammer).on("panstart",function(tt){tm(tt.center[tv.typeLower]),tl.$slideOutNodes=tg(),tb=tv.open_dir}).on(tv.events+" panend",function(tt){ty>0&&tt.preventDefault()}).on(tv.events,function(tt){if(th=tt["delta"+tv.typeUpper],tv.negative&&(th=-th),th!=tx&&(tb=th>=tx?tv.open_dir:tv.close_dir),(tx=th)>
1ta.threshold&&1==ty){if(tl.$html.hasClass(tn.opened))return;ty=2,ts._openSetup(),ts.trigger("opening"),tl.$html.addClass(tn.dragging),t_=ti(tl.$wndw[tw]()*td[tw].perc,td[tw].min,td[tw].max)}2==ty&&(tp=ti(tx,10,t_)-("front"==ts.opts.offCanvas.zposition?t_:0),tv.negative&&(tp=-tp),tf="translate"+tv.typeUpper+"("+tp+"px )",tl.$slideOutNodes.css({"-webkit-transform":"-webkit-"+tf,transform:tf}))}).on("panend",function(tt){2==ty&&(tl.$html.removeClass(tn.dragging),tl.$slideOutNodes.css("transform",""),ts[tb==tv.open_dir?"_openFinish":"close"]()),ty=0})}}},add:function(){return"function"!=typeof Hammer||Hammer.VERSION<2?void(tt[tc].addons[tu].setup=function(){}):(tn=tt[tc]._c,ts=tt[tc]._d,ta=tt[tc]._e,void tn.add("dragging"))},clickAnchor:function(tt,ti){}},tt[tc].defaults[tu]={open:!1,maxStartPos:100,threshold:50,vendors:{hammer:{}}},tt[tc].configuration[tu]={width:{perc:.8,min:140,max:440},height:{perc:.8,min:140,max:880}}}(jQuery),function(tt){var ti,tn,ts,ta,tl="mmenu",tc="dropdown";tt[tl].addons[tc]={setup:function(){if(this.opts.offCanvas){var tu=this,td=this.opts[tc],th=this.conf[tc];if(ta=tt[tl].glbl,"boolean"==typeof td&&td&&(td={drop:td}),"object"!=typeof td&&(td={}),"string"==typeof td.position&&(td.position={of:td.position}),(td=this.opts[tc]=tt.extend(!0,{},tt[tl].defaults[tc],td)).drop){if("string"!=typeof td.position.of){var tp=this.$menu.attr("id");tp&&tp.length&&(this.conf.clone&&(tp=ti.umm(tp)),td.position.of='[href="#'+tp+'"]')}if("string"==typeof td.position.of){var tf=tt(td.position.of);if(tf.length){this.$menu.addClass(ti.dropdown),td.tip&&this.$menu.addClass(ti.tip),td.event=td.event.split(" "),1==td.event.length&&(td.event[1]=td.event[0]),"hover"==td.event[0]&&tf.on(ts.mouseenter+"-dropdown",function(){tu.open()}),"hover"==td.event[1]&&this.$menu.on(ts.mouseleave+"-dropdown",function(){tu.close()}),this.bind("opening",function(){this.$menu.data(tn.style,this.$menu.attr("style")||""),ta.$html.addClass(ti.dropdown)}),this.bind("closed",function(){this.$menu.attr("style",this.$menu.data(tn.style)),ta.$html.removeClass(ti.dropdown)});var tm=function(tn,ts){var tu,tp,tm=ts[0],tg=ts[1],tv="x"==tn?"scrollLeft":"scrollTop",ty="x"==tn?"outerWidth":"outerHeight",tb="x"==tn?"left":"top",tw="x"==tn?"right":"bottom",tx="x"==tn?"width":"height",t_="x"==tn?"maxWidth":"maxHeight",tT=null,tk=ta.$wndw[tv](),tj=tf.offset()[tb]-=tk,tC=tj+tf[ty](),tS=ta.$wndw[tx](),tE=th.offset.button[tn]+th.offset.viewport[tn];if(td.position[tn])switch(td.position[tn]){case"left":case"bottom":tT="after";break;case"right":case"top":tT="before"}return null===tT&&(tT=tS/2>tj+(tC-tj)/2?"after":"before"),"after"==tT?(tp=tS-((tu="x"==tn?tj:tC)+tE),tm[tb]=tu+th.offset.button[tn],tm[tw]="auto",tg.push(ti["x"==tn?"tipleft":"tiptop"])):(tp=(tu="x"==tn?tC:tj)-tE,tm[tw]="calc( 100% - "+(tu-th.offset.button[tn])+"px )",tm[tb]="auto",tg.push(ti["x"==tn?"tipright":"tipbottom"])),tm[t_]=Math.min(tt[tl].configuration[tc][tx].max,tp),[tm,tg]},tg=function(tt){if(this.vars.opened){this.$menu.attr("style",this.$menu.data(tn.style));var ts=[{},[]];ts=tm.call(this,"y",ts),ts=tm.call(this,"x",ts),this.$menu.css(ts[0]),td.tip&&this.$menu.removeClass(ti.tipleft+" "+ti.tipright+" "+ti.tiptop+" "+ti.tipbottom).addClass(ts[1].join(" "))}};this.bind("opening",tg),ta.$wndw.on(ts.resize+"-dropdown",function(tt){tg.call(tu)}),this.opts.offCanvas.blockUI||ta.$wndw.on(ts.scroll+"-dropdown",function(tt){tg.call(tu)})}}}}},add:function(){ti=tt[tl]._c,tn=tt[tl]._d,ts=tt[tl]._e,ti.add("dropdown tip tipleft tipright tiptop tipbottom"),ts.add("mouseenter mouseleave resize scroll")},clickAnchor:function(tt,ti){}},tt[tl].defaults[tc]={drop:!1,event:"click",position:{},tip:!0},tt[tl].configuration[tc]={offset:{button:{x:-10,y:10},viewport:{x:20,y:20}},height:{max:880},width:{max:440}}}(jQuery),function(tt){var ti,tn,ts,ta,tl="mmenu",tc="fixedElements";tt[tl].addons[tc]={setup:function(){if(this.opts.offCanvas){var ti=this.opts[tc];this.conf[tc],ta=tt[tl].glbl,ti=this.opts[tc]=tt.extend(!0,{},tt[tl].defaults[tc],ti);var tn=function(tt){var ti=this.conf.classNames[tc].fixed;this.__refactorClass(tt.find("."+ti),ti,"slideout").appendTo(ta.$body)};
1tn.call(this,ta.$page),this.bind("setPage",tn)}},add:function(){ti=tt[tl]._c,tn=tt[tl]._d,ts=tt[tl]._e,ti.add("fixed")},clickAnchor:function(tt,ti){}},tt[tl].configuration.classNames[tc]={fixed:"Fixed"}}(jQuery),function(tt){var ti,tn,ts,ta,tl="mmenu",tc="iconPanels";tt[tl].addons[tc]={setup:function(){var tn=this,ts=this.opts[tc];if(this.conf[tc],ta=tt[tl].glbl,"boolean"==typeof ts&&(ts={add:ts}),"number"==typeof ts&&(ts={add:!0,visible:ts}),"object"!=typeof ts&&(ts={}),ts=this.opts[tc]=tt.extend(!0,{},tt[tl].defaults[tc],ts),ts.visible++,ts.add){this.$menu.addClass(ti.iconpanel);for(var tu=[],td=0;td<=ts.visible;td++)tu.push(ti.iconpanel+"-"+td);tu=tu.join(" ");var th=function(ta){ta.hasClass(ti.vertical)||tn.$pnls.children("."+ti.panel).removeClass(tu).filter("."+ti.subopened).removeClass(ti.hidden).add(ta).not("."+ti.vertical).slice(-ts.visible).each(function(tn){tt(this).addClass(ti.iconpanel+"-"+tn)})};this.bind("openPanel",th),this.bind("init",function(ta){th.call(tn,tn.$pnls.children("."+ti.current)),ts.hideNavbars&&ta.removeClass(ti.hasnavbar),ta.not("."+ti.vertical).each(function(){tt(this).children("."+ti.subblocker).length||tt(this).prepend('<a href="#'+tt(this).closest("."+ti.panel).attr("id")+'" class="'+ti.subblocker+'" />')})})}},add:function(){ti=tt[tl]._c,tn=tt[tl]._d,ts=tt[tl]._e,ti.add("iconpanel subblocker")},clickAnchor:function(tt,ti){}},tt[tl].defaults[tc]={add:!1,visible:3,hideNavbars:!1}}(jQuery),function(tt){var ti,tn,ts,ta,tl="mmenu",tc="navbars";tt[tl].addons[tc]={setup:function(){var tn=this,ts=this.opts[tc],tu=this.conf[tc];if(ta=tt[tl].glbl,void 0!==ts){ts instanceof Array||(ts=[ts]);var td={};for(var th in tt.each(ts,function(ta){var th=ts[ta];"boolean"==typeof th&&th&&(th={}),"object"!=typeof th&&(th={}),void 0===th.content&&(th.content=["prev","title"]),th.content instanceof Array||(th.content=[th.content]);var tp=(th=tt.extend(!0,{},tn.opts.navbar,th)).position,tf=th.height;"number"!=typeof tf&&(tf=1),tf=Math.min(4,Math.max(1,tf)),"bottom"!=tp&&(tp="top"),td[tp]||(td[tp]=0),td[tp]++;var tm=tt("<div />").addClass(ti.navbar+" "+ti.navbar+"-"+tp+" "+ti.navbar+"-"+tp+"-"+td[tp]+" "+ti.navbar+"-size-"+tf);td[tp]+=tf-1;for(var tg=0,tv=0,ty=th.content.length;ty>tv;tv++){var tb=tt[tl].addons[tc][th.content[tv]]||!1;tb?tg+=tb.call(tn,tm,th,tu):((tb=th.content[tv])instanceof tt||(tb=tt(th.content[tv])),tm.append(tb))}(tg+=Math.ceil(tm.children().not("."+ti.btn).not("."+ti.title+"-prev").length/tf))>1&&tm.addClass(ti.navbar+"-content-"+tg),tm.children("."+ti.btn).length&&tm.addClass(ti.hasbtns),tm.prependTo(tn.$menu)}),td)tn.$menu.addClass(ti.hasnavbar+"-"+th+"-"+td[th])}},add:function(){ti=tt[tl]._c,tn=tt[tl]._d,ts=tt[tl]._e,ti.add("close hasbtns")},clickAnchor:function(tt,ti){}},tt[tl].configuration[tc]={breadcrumbSeparator:"/"},tt[tl].configuration.classNames[tc]={}}(jQuery),function(tt){var ti="mmenu",tn="navbars",ts="breadcrumbs";tt[ti].addons[tn][ts]=function(tn,ts,ta){var tl=tt[ti]._c,tc=tt[ti]._d;tl.add("breadcrumbs separator");var tu=tt('<span class="'+tl.breadcrumbs+'" />').appendTo(tn);this.bind("init",function(ti){ti.removeClass(tl.hasnavbar).each(function(){for(var ti=[],tn=tt(this),ts=tt('<span class="'+tl.breadcrumbs+'"></span>'),tu=tt(this).children().first(),td=!0;tu&&tu.length;){tu.is("."+tl.panel)||(tu=tu.closest("."+tl.panel));var th=tu.children("."+tl.navbar).children("."+tl.title).text();ti.unshift(td?"<span>"+th+"</span>":'<a href="#'+tu.attr("id")+'">'+th+"</a>"),td=!1,tu=tu.data(tc.parent)}ts.append(ti.join('<span class="'+tl.separator+'">'+ta.breadcrumbSeparator+"</span>")).appendTo(tn.children("."+tl.navbar))})});var td=function(){tu.html(this.$pnls.children("."+tl.current).children("."+tl.navbar).children("."+tl.breadcrumbs).html())};return this.bind("openPanel",td),this.bind("init",td),0}}(jQuery),function(tt){var ti="mmenu",tn="navbars",ts="close";tt[ti].addons[tn][ts]=function(tn,ts){var ta=tt[ti]._c,tl=tt[ti].glbl,tc=tt('<a class="'+ta.close+" "+ta.btn+'" href="#" />').appendTo(tn),tu=function(tt){tc.attr("href","#"+tt.attr("id"))};return tu.call(this,tl.$page),this.bind("setPage",tu),-1}}(jQuery),function(tt){var ti="mmenu",tn="navbars",ts="next";tt[ti].addons[tn][ts]=function(ts,ta){var tl,tc,tu=tt[ti]._c,td=tt('<a class="'+tu.next+" "+tu.btn+'" href="#" />').appendTo(ts),th=function(tt){var ti=(tt=tt||this.$pnls.children("."+tu.current)).find("."+this.conf.classNames[tn].panelNext);tl=ti.attr("href"),tc=ti.html(),td[tl?"attr":"removeAttr"]("href",tl),td[tl||tc?"removeClass":"addClass"](tu.hidden),td.html(tc)};return this.bind("openPanel",th),this.bind("init",function(){th.call(this)}),-1},tt[ti].configuration.classNames[tn].panelNext="Next"}(jQuery),function(tt){var ti="mmenu",tn="navbars",ts="prev";tt[ti].addons[tn][ts]=function(ts,ta){var tl=tt[ti]._c,tc=tt('<a class="'+tl.prev+" "+tl.btn+'" href="#" />').appendTo(ts);this.bind("init",function(tt){tt.removeClass(tl.hasnavbar).children("."+tl.navbar).addClass(tl.hidden)});var tu,td,th=function(tt){if(!(tt=tt||this.$pnls.children("."+tl.current)).hasClass(tl.vertical)){var ti=tt.find("."+this.conf.classNames[tn].panelPrev);
1ti.length||(ti=tt.children("."+tl.navbar).children("."+tl.prev)),tu=ti.attr("href"),td=ti.html(),tc[tu?"attr":"removeAttr"]("href",tu),tc[tu||td?"removeClass":"addClass"](tl.hidden),tc.html(td)}};return this.bind("openPanel",th),this.bind("init",function(){th.call(this)}),-1},tt[ti].configuration.classNames[tn].panelPrev="Prev"}(jQuery),function(tt){var ti="mmenu",tn="navbars",ts="searchfield";tt[ti].addons[tn][ts]=function(tn,ts){var ta=tt[ti]._c,tl=tt('<div class="'+ta.search+'" />').appendTo(tn);return"object"!=typeof this.opts.searchfield&&(this.opts.searchfield={}),this.opts.searchfield.add=!0,this.opts.searchfield.addTo=tl,0}}(jQuery),function(tt){var ti="mmenu",tn="navbars",ts="title";tt[ti].addons[tn][ts]=function(ts,ta){var tl,tc,tu=tt[ti]._c,td=tt('<a class="'+tu.title+'" />').appendTo(ts),th=function(tt){if(!(tt=tt||this.$pnls.children("."+tu.current)).hasClass(tu.vertical)){var ti=tt.find("."+this.conf.classNames[tn].panelTitle);ti.length||(ti=tt.children("."+tu.navbar).children("."+tu.title)),tl=ti.attr("href"),tc=ti.html()||ta.title,td[tl?"attr":"removeAttr"]("href",tl),td[tl||tc?"removeClass":"addClass"](tu.hidden),td.html(tc)}};return this.bind("openPanel",th),this.bind("init",function(tt){th.call(this)}),0},tt[ti].configuration.classNames[tn].panelTitle="Title"}(jQuery),function(tt){function ti(tt,ti,tn){tt.prop("aria-"+ti,tn)[tn?"attr":"removeAttr"]("aria-"+ti,"true")}function tn(tt){return'<span class="'+ts.sronly+'">'+tt+"</span>"}var ts,ta,tl,tc,tu="mmenu",td="screenReader";tt[tu].addons[td]={setup:function(){var ta=this.opts[td],tl=this.conf[td];if(tc=tt[tu].glbl,"boolean"==typeof ta&&(ta={aria:ta,text:ta}),"object"!=typeof ta&&(ta={}),(ta=this.opts[td]=tt.extend(!0,{},tt[tu].defaults[td],ta)).aria){if(this.opts.offCanvas){var th=function(){ti(this.$menu,"hidden",!1)},tp=function(){ti(this.$menu,"hidden",!0)};this.bind("open",th),this.bind("close",tp),tp.call(this)}var tf=function(){ti(this.$menu.find("."+ts.hidden),"hidden",!0),ti(this.$menu.find('[aria-hidden="true"]').not("."+ts.hidden),"hidden",!1)},tm=function(tt){ti(this.$pnls.children("."+ts.panel).not(tt).not("."+ts.hidden),"hidden",!0),ti(tt,"hidden",!1)};this.bind("update",tf),this.bind("openPanel",tf),this.bind("openPanel",tm);var tg=function(tt){ti(tt.find("."+ts.prev+", ."+ts.next),"haspopup",!0)};this.bind("init",tg),tg.call(this,this.$menu.children("."+ts.navbar))}if(ta.text){var tv=function(ti){ti.children("."+ts.navbar).children("."+ts.prev).html(tn(tl.text.closeSubmenu)).end().children("."+ts.next).html(tn(tl.text.openSubmenu)).end().children("."+ts.close).html(tn(tl.text.closeMenu)),ti.is("."+ts.panel)&&ti.find("."+ts.listview).find("."+ts.next).each(function(){tt(this).html(tn(tl.text[tt(this).parent().is("."+ts.vertical)?"toggleSubmenu":"openSubmenu"]))})};this.bind("init",tv),tv.call(this,this.$menu)}},add:function(){ts=tt[tu]._c,ta=tt[tu]._d,tl=tt[tu]._e,ts.add("sronly")},clickAnchor:function(tt,ti){}},tt[tu].defaults[td]={aria:!1,text:!1},tt[tu].configuration[td]={text:{closeMenu:"Close menu",closeSubmenu:"Close submenu",openSubmenu:"Open submenu",toggleSubmenu:"Toggle submenu"}}}(jQuery),function(tt){function ti(tt){switch(tt){case 9:case 16:case 17:case 18:case 37:case 38:case 39:case 40:return!0}return!1}var tn,ts,ta,tl,tc="mmenu",tu="searchfield";tt[tc].addons[tu]={setup:function(){var td=this,th=this.opts[tu],tp=this.conf[tu];tl=tt[tc].glbl,"boolean"==typeof th&&(th={add:th}),"object"!=typeof th&&(th={}),"boolean"==typeof th.resultsPanel&&(th.resultsPanel={add:th.resultsPanel}),th=this.opts[tu]=tt.extend(!0,{},tt[tc].defaults[tu],th),tp=this.conf[tu]=tt.extend(!0,{},tt[tc].configuration[tu],tp),this.bind("close",function(){this.$menu.find("."+tn.search).find("input").blur()}),this.bind("init",function(tl){if(th.add){var tc;if((tc="panels"===th.addTo?tl:this.$menu.find(th.addTo)).each(function(){var ti=tt(this);if(!ti.is("."+tn.panel)||!ti.is("."+tn.vertical)){if(!ti.children("."+tn.search).length){var ts,tl=td.__valueOrFn(tp.clear,ti),tc=td.__valueOrFn(tp.form,ti),tu=td.__valueOrFn(tp.input,ti),tf=td.__valueOrFn(tp.submit,ti),tm=tt("<"+(tc?"form":"div")+' class="'+tn.search+'" />'),tg=tt('<input placeholder="'+th.placeholder+'" type="text" autocomplete="off" />');if(tm.append(tg),tu)for(ts in tu)tg.attr(ts,tu[ts]);
1if(tl&&tt('<a class="'+tn.btn+" "+tn.clear+'" href="#" />').appendTo(tm).on(ta.click+"-searchfield",function(tt){tt.preventDefault(),tg.val("").trigger(ta.keyup+"-searchfield")}),tc){for(ts in tc)tm.attr(ts,tc[ts]);tf&&!tl&&tt('<a class="'+tn.btn+" "+tn.next+'" href="#" />').appendTo(tm).on(ta.click+"-searchfield",function(tt){tt.preventDefault(),tm.submit()})}ti.hasClass(tn.search)?ti.replaceWith(tm):ti.prepend(tm).addClass(tn.hassearch)}if(th.noResults&&(ti.closest("."+tn.panel).length||(ti=td.$pnls.children("."+tn.panel).first()),!ti.children("."+tn.noresultsmsg).length)){var tv=ti.children("."+tn.listview).first();tt('<div class="'+tn.noresultsmsg+" "+tn.hidden+'" />').append(th.noResults)[tv.length?"insertAfter":"prependTo"](tv.length?tv:ti)}}}),th.search){if(th.resultsPanel.add){th.showSubPanels=!1;var tf=this.$pnls.children("."+tn.resultspanel);tf.length||(tf=tt('<div class="'+tn.panel+" "+tn.resultspanel+" "+tn.hidden+'" />').appendTo(this.$pnls).append('<div class="'+tn.navbar+" "+tn.hidden+'"><a class="'+tn.title+'">'+th.resultsPanel.title+"</a></div>").append('<ul class="'+tn.listview+'" />').append(this.$pnls.find("."+tn.noresultsmsg).first().clone()),this.init(tf))}this.$menu.find("."+tn.search).each(function(){var tl,tc,tp=tt(this),tm=tp.closest("."+tn.panel).length;tm?tc=tl=tp.closest("."+tn.panel):(tl=tt("."+tn.panel,td.$menu),tc=td.$menu),th.resultsPanel.add&&(tl=tl.not(tf));var tg=tp.children("input"),tv=td.__findAddBack(tl,"."+tn.listview).children("li"),ty=tv.filter("."+tn.divider),tb=td.__filterListItems(tv),tw="a",tx=tw+", span",t_="",tT=function(){var ti=tg.val().toLowerCase();if(ti!=t_){if(t_=ti,th.resultsPanel.add&&tf.children("."+tn.listview).empty(),tl.scrollTop(0),tb.add(ty).addClass(tn.hidden).find("."+tn.fullsubopensearch).removeClass(tn.fullsubopen+" "+tn.fullsubopensearch),tb.each(function(){var ti=tt(this),ta=tw;(th.showTextItems||th.showSubPanels&&ti.find("."+tn.next))&&(ta=tx),(ti.data(ts.searchtext)||ti.children(ta).text()).toLowerCase().indexOf(t_)>-1&&ti.add(ti.prevAll("."+tn.divider).first()).removeClass(tn.hidden)}),th.showSubPanels&&tl.each(function(ti){var ta=tt(this);td.__filterListItems(ta.find("."+tn.listview).children()).each(function(){var ti=tt(this),ta=ti.data(ts.sub);ti.removeClass(tn.nosubresults),ta&&ta.find("."+tn.listview).children().removeClass(tn.hidden)})}),th.resultsPanel.add){if(""===t_)this.closeAllPanels(),this.openPanel(this.$pnls.children("."+tn.subopened).last());else{var ta=tt();tl.each(function(){var ti=td.__filterListItems(tt(this).find("."+tn.listview).children()).not("."+tn.hidden).clone(!0);ti.length&&(th.resultsPanel.dividers&&(ta=ta.add('<li class="'+tn.divider+'">'+tt(this).children("."+tn.navbar).text()+"</li>")),ta=ta.add(ti))}),ta.find("."+tn.next).remove(),tf.children("."+tn.listview).append(ta),this.openPanel(tf)}}else tt(tl.get().reverse()).each(function(ti){var ta=tt(this),tl=ta.data(ts.parent);tl&&(td.__filterListItems(ta.find("."+tn.listview).children()).length?(tl.hasClass(tn.hidden)&&tl.children("."+tn.next).not("."+tn.fullsubopen).addClass(tn.fullsubopen).addClass(tn.fullsubopensearch),tl.removeClass(tn.hidden).removeClass(tn.nosubresults).prevAll("."+tn.divider).first().removeClass(tn.hidden)):tm||(ta.hasClass(tn.opened)&&setTimeout(function(){td.openPanel(tl.closest("."+tn.panel))},(ti+1)*(1.5*td.conf.openingInterval)),tl.addClass(tn.nosubresults)))});tc.find("."+tn.noresultsmsg)[tb.not("."+tn.hidden).length?"addClass":"removeClass"](tn.hidden),this.update()}};tg.off(ta.keyup+"-"+tu+" "+ta.change+"-"+tu).on(ta.keyup+"-"+tu,function(tt){ti(tt.keyCode)||tT.call(td)}).on(ta.change+"-"+tu,function(tt){tT.call(td)});var tk=tp.children("."+tn.btn);tk.length&&tg.on(ta.keyup+"-"+tu,function(tt){tk[tg.val().length?"removeClass":"addClass"](tn.hidden)}),tg.trigger(ta.keyup+"-"+tu)})}}})},add:function(){tn=tt[tc]._c,ts=tt[tc]._d,ta=tt[tc]._e,tn.add("clear search hassearch resultspanel noresultsmsg noresults nosubresults fullsubopensearch"),ts.add("searchtext"),ta.add("change keyup")},clickAnchor:function(tt,ti){}},tt[tc].defaults[tu]={add:!1,addTo:"panels",placeholder:"Search",noResults:"No results found.",resultsPanel:{add:!1,dividers:!0,title:"Search results"},search:!0,showTextItems:!1,showSubPanels:!0},tt[tc].configuration[tu]={clear:!1,form:!1,input:!1,submit:!1}}(jQuery),function(tt){var ti,tn,ts,ta,tl="mmenu",tc="sectionIndexer";tt[tl].addons[tc]={setup:function(){var tn=this,tu=this.opts[tc];this.conf[tc],ta=tt[tl].glbl,"boolean"==typeof tu&&(tu={add:tu}),"object"!=typeof tu&&(tu={}),tu=this.opts[tc]=tt.extend(!0,{},tt[tl].defaults[tc],tu),this.bind("init",function(ta){if(tu.add){var tl;(tl="panels"===tu.addTo?ta:tt(tu.addTo,this.$menu).filter("."+ti.panel)).find("."+ti.divider).closest("."+ti.panel).addClass(ti.hasindexer)}if(!this.$indexer&&this.$pnls.children("."+ti.hasindexer).length){this.$indexer=tt('<div class="'+ti.indexer+'" />').prependTo(this.$pnls).append('<a href="#a">a</a><a href="#b">b</a><a href="#c">c</a><a href="#d">d</a><a href="#e">e</a><a href="#f">f</a><a href="#g">g</a><a href="#h">h</a><a href="#i">i</a><a href="#j">j</a><a href="#k">k</a><a href="#l">l</a><a href="#m">m</a><a href="#n">n</a><a href="#o">o</a><a href="#p">p</a><a href="#q">q</a><a href="#r">r</a><a href="#s">s</a><a href="#t">t</a><a href="#u">u</a><a href="#v">v</a><a href="#w">w</a><a href="#x">x</a><a href="#y">y</a><a href="#z">z</a>'),this.$indexer.children().on(ts.mouseover+"-sectionindexer "+ti.touchstart+"-sectionindexer",function(ts){var ta=tt(this).attr("href").slice(1),tl=tn.$pnls.children("."+ti.current),tc=tl.find("."+ti.listview),tu=!1,td=tl.scrollTop();tl.scrollTop(0),tc.children("."+ti.divider).not("."+ti.hidden).each(function(){!1===tu&&ta==tt(this).text().slice(0,1).toLowerCase()&&(tu=tt(this).position().top)}),tl.scrollTop(!1!==tu?tu:td)});var tc=function(tt){tn.$menu[(tt.hasClass(ti.hasindexer)?"add":"remove")+"Class"](ti.hasindexer)};this.bind("openPanel",tc),tc.call(this,this.$pnls.children("."+ti.current))}})},add:function(){ti=tt[tl]._c,tn=tt[tl]._d,ts=tt[tl]._e,ti.add("indexer hasindexer"),ts.add("mouseover touchstart")},clickAnchor:function(tt,tn){return!!tt.parent().is("."+ti.indexer)||void 0}},tt[tl].defaults[tc]={add:!1,addTo:"panels"}}(jQuery),function(tt){var ti,tn,ts,ta,tl="mmenu",tc="setSelected";tt[tl].addons[tc]={setup:function(){var ts=this.opts[tc];if(this.conf[tc],ta=tt[tl].glbl,"boolean"==typeof ts&&(ts={hover:ts,parent:ts}),"object"!=typeof ts&&(ts={}),(ts=this.opts[tc]=tt.extend(!0,{},tt[tl].defaults[tc],ts)).current||this.bind("init",function(tt){tt.find("."+ti.listview).children("."+ti.selected).removeClass(ti.selected)}),ts.hover&&this.$menu.addClass(ti.hoverselected),ts.parent){this.$menu.addClass(ti.parentselected);var tu=function(tt){this.$pnls.find("."+ti.listview).find("."+ti.next).removeClass(ti.selected);for(var ts=tt.data(tn.parent);ts&&ts.length;)ts=ts.children("."+ti.next).addClass(ti.selected).closest("."+ti.panel).data(tn.parent)};this.bind("openedPanel",tu),this.bind("init",function(tt){tu.call(this,this.$pnls.children("."+ti.current))})}},add:function(){ti=tt[tl]._c,tn=tt[tl]._d,ts=tt[tl]._e,ti.add("hoverselected parentselected")},clickAnchor:function(tt,ti){}},tt[tl].defaults[tc]={current:!0,hover:!1,parent:!1}}(jQuery),function(tt){var ti,tn,ts,ta,tl="mmenu",tc="toggles";tt[tl].addons[tc]={setup:function(){var tn=this;this.opts[tc],this.conf[tc],ta=tt[tl].glbl,this.bind("init",function(ts){this.__refactorClass(tt("input",ts),this.conf.classNames[tc].toggle,"toggle"),this.__refactorClass(tt("input",ts),this.conf.classNames[tc].check,"check"),tt("input."+ti.toggle+", input."+ti.check,ts).each(function(){var ts=tt(this),ta=ts.closest("li"),tl=ts.hasClass(ti.toggle)?"toggle":"check",tc=ts.attr("id")||tn.__getUniqueId();ta.children('label[for="'+tc+'"]').length||(ts.attr("id",tc),ta.prepend(ts),tt('<label for="'+tc+'" class="'+ti[tl]+'"></label>').insertBefore(ta.children("a, span").last()))})})},add:function(){ti=tt[tl]._c,tn=tt[tl]._d,ts=tt[tl]._e,ti.add("toggle check")},clickAnchor:function(tt,ti){}},tt[tl].configuration.classNames[tc]={toggle:"Toggle",check:"Check"}}(jQuery),function(tt){"function"==typeof define&&define.amd?define(["jquery"],tt):"object"==typeof module&&module.exports?module.exports=tt(require("jquery")):tt(jQuery)}(function(tt){var ti=Array.prototype.slice,tn=Array.prototype.splice,ts={topSpacing:0,bottomSpacing:0,className:"is-sticky",wrapperClassName:"sticky-wrapper",center:!1,getWidthFrom:"",widthFromWrapper:!0,responsiveWidth:!1,zIndex:1e3},ta=tt(window),tl=tt(document),tc=[],tu=ta.height(),td=function(){for(var ti=ta.scrollTop(),tn=tl.height(),ts=tn-tu,td=ti>ts?ts-ti:0,th=0,tp=tc.length;th<tp;th++){var tf=tc[th],tm=tf.stickyWrapper.offset().top-tf.topSpacing-td;if(tf.stickyWrapper.css("height",tf.stickyElement.outerHeight()),ti<=tm)null!==tf.currentTop&&(tf.stickyElement.css({width:"",position:"",top:"","z-index":""}),tf.stickyElement.parent().removeClass(tf.className),tf.stickyElement.trigger("sticky-end",[tf]),tf.currentTop=null);else{var tg,tv=tn-tf.stickyElement.outerHeight()-tf.topSpacing-tf.bottomSpacing-ti-td;tv<0?tv+=tf.topSpacing:tv=tf.topSpacing,tf.currentTop!==tv&&(tf.getWidthFrom?tg=tt(tf.getWidthFrom).width()||null:tf.widthFromWrapper&&(tg=tf.stickyWrapper.width()),null==tg&&(tg=tf.stickyElement.width()),tf.stickyElement.css("width",tg).css("position","fixed").css("top",tv).css("z-index",tf.zIndex),tf.stickyElement.parent().addClass(tf.className),null===tf.currentTop?tf.stickyElement.trigger("sticky-start",[tf]):tf.stickyElement.trigger("sticky-update",[tf]),tf.currentTop===tf.topSpacing&&tf.currentTop>tv||null===tf.currentTop&&tv<tf.topSpacing?tf.stickyElement.trigger("sticky-bottom-reached",[tf]):null!==tf.currentTop&&tv===tf.topSpacing&&tf.currentTop<tv&&tf.stickyElement.trigger("sticky-bottom-unreached",[tf]),tf.currentTop=tv);var ty=tf.stickyWrapper.parent();tf.stickyElement.offset().top+tf.stickyElement.outerHeight()>=ty.offset().top+ty.outerHeight()&&tf.stickyElement.offset().top<=tf.topSpacing?tf.stickyElement.css("position","absolute").css("top","").css("bottom",0).css("z-index",""):tf.stickyElement.css("position","fixed").css("top",tv).css("bottom","").css("z-index",tf.zIndex)}}},th=function(){tu=ta.height();for(var ti=0,tn=tc.length;ti<tn;ti++){var ts=tc[ti],tl=null;ts.getWidthFrom?ts.responsiveWidth&&(tl=tt(ts.getWidthFrom).width()):ts.widthFromWrapper&&(tl=ts.stickyWrapper.width()),null!=tl&&ts.stickyElement.css("width",tl)}},tp={init:function(ti){var tn=tt.extend({},ts,ti);return this.each(function(){var ti=tt(this),ta=ti.attr("id"),tl=ta?ta+"-"+ts.wrapperClassName:ts.wrapperClassName,tu=tt("<div></div>").attr("id",tl).addClass(tn.wrapperClassName);ti.wrapAll(function(){if(0==tt(this).parent("#"+tl).length)return tu});var td=ti.parent();tn.center&&td.css({width:ti.outerWidth(),marginLeft:"auto",marginRight:"auto"}),"right"===ti.css("float")&&ti.css({float:"none"}).parent().css({float:"right"}),tn.stickyElement=ti,tn.stickyWrapper=td,tn.currentTop=null,tc.push(tn),tp.setWrapperHeight(this),tp.setupChangeListeners(this)})},setWrapperHeight:function(ti){var tn=tt(ti),ts=tn.parent();ts&&ts.css("height",tn.outerHeight())},setupChangeListeners:function(tt){window.MutationObserver?new window.MutationObserver(function(ti){(ti[0].addedNodes.length||ti[0].removedNodes.length)&&tp.setWrapperHeight(tt)}).observe(tt,{subtree:!0,childList:!0}):window.addEventListener?(tt.addEventListener("DOMNodeInserted",function(){tp.setWrapperHeight(tt)},!1),tt.addEventListener("DOMNodeRemoved",function(){tp.setWrapperHeight(tt)},!1)):window.attachEvent&&(tt.attachEvent("onDOMNodeInserted",function(){tp.setWrapperHeight(tt)}),tt.attachEvent("onDOMNodeRemoved",function(){tp.setWrapperHeight(tt)}))},update:td,unstick:function(ti){return this.each(function(){for(var ti=this,ts=tt(ti),ta=-1,tl=tc.length;tl-- >0;
1)tc[tl].stickyElement.get(0)===ti&&(tn.call(tc,tl,1),ta=tl);-1!==ta&&(ts.unwrap(),ts.css({width:"",position:"",top:"",float:"","z-index":""}))})}};window.addEventListener?(window.addEventListener("scroll",td,!1),window.addEventListener("resize",th,!1)):window.attachEvent&&(window.attachEvent("onscroll",td),window.attachEvent("onresize",th)),tt.fn.sticky=function(tn){return tp[tn]?tp[tn].apply(this,ti.call(arguments,1)):"object"!=typeof tn&&tn?void tt.error("Method "+tn+" does not exist on jQuery.sticky"):tp.init.apply(this,arguments)},tt.fn.unstick=function(tn){return tp[tn]?tp[tn].apply(this,ti.call(arguments,1)):"object"!=typeof tn&&tn?void tt.error("Method "+tn+" does not exist on jQuery.sticky"):tp.unstick.apply(this,arguments)},tt(function(){setTimeout(td,0)})}),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(tt,ti,tn,ts,ta){return jQuery.easing[jQuery.easing.def](tt,ti,tn,ts,ta)},easeInQuad:function(tt,ti,tn,ts,ta){return ts*(ti/=ta)*ti+tn},easeOutQuad:function(tt,ti,tn,ts,ta){return-ts*(ti/=ta)*(ti-2)+tn},easeInOutQuad:function(tt,ti,tn,ts,ta){return(ti/=ta/2)<1?ts/2*ti*ti+tn:-ts/2*(--ti*(ti-2)-1)+tn},easeInCubic:function(tt,ti,tn,ts,ta){return ts*(ti/=ta)*ti*ti+tn},easeOutCubic:function(tt,ti,tn,ts,ta){return ts*((ti=ti/ta-1)*ti*ti+1)+tn},easeInOutCubic:function(tt,ti,tn,ts,ta){return(ti/=ta/2)<1?ts/2*ti*ti*ti+tn:ts/2*((ti-=2)*ti*ti+2)+tn},easeInQuart:function(tt,ti,tn,ts,ta){return ts*(ti/=ta)*ti*ti*ti+tn},easeOutQuart:function(tt,ti,tn,ts,ta){return-ts*((ti=ti/ta-1)*ti*ti*ti-1)+tn},easeInOutQuart:function(tt,ti,tn,ts,ta){return(ti/=ta/2)<1?ts/2*ti*ti*ti*ti+tn:-ts/2*((ti-=2)*ti*ti*ti-2)+tn},easeInQuint:function(tt,ti,tn,ts,ta){return ts*(ti/=ta)*ti*ti*ti*ti+tn},easeOutQuint:function(tt,ti,tn,ts,ta){return ts*((ti=ti/ta-1)*ti*ti*ti*ti+1)+tn},easeInOutQuint:function(tt,ti,tn,ts,ta){return(ti/=ta/2)<1?ts/2*ti*ti*ti*ti*ti+tn:ts/2*((ti-=2)*ti*ti*ti*ti+2)+tn},easeInSine:function(tt,ti,tn,ts,ta){return-ts*Math.cos(ti/ta*(Math.PI/2))+ts+tn},easeOutSine:function(tt,ti,tn,ts,ta){return ts*Math.sin(ti/ta*(Math.PI/2))+tn},easeInOutSine:function(tt,ti,tn,ts,ta){return-ts/2*(Math.cos(Math.PI*ti/ta)-1)+tn},easeInExpo:function(tt,ti,tn,ts,ta){return 0==ti?tn:ts*Math.pow(2,10*(ti/ta-1))+tn},easeOutExpo:function(tt,ti,tn,ts,ta){return ti==ta?tn+ts:ts*(-Math.pow(2,-10*ti/ta)+1)+tn},easeInOutExpo:function(tt,ti,tn,ts,ta){return 0==ti?tn:ti==ta?tn+ts:(ti/=ta/2)<1?ts/2*Math.pow(2,10*(ti-1))+tn:ts/2*(-Math.pow(2,-10*--ti)+2)+tn},easeInCirc:function(tt,ti,tn,ts,ta){return-ts*(Math.sqrt(1-(ti/=ta)*ti)-1)+tn},easeOutCirc:function(tt,ti,tn,ts,ta){return ts*Math.sqrt(1-(ti=ti/ta-1)*ti)+tn},easeInOutCirc:function(tt,ti,tn,ts,ta){return(ti/=ta/2)<1?-ts/2*(Math.sqrt(1-ti*ti)-1)+tn:ts/2*(Math.sqrt(1-(ti-=2)*ti)+1)+tn},easeInElastic:function(tt,ti,tn,ts,ta){var tl=1.70158,tc=0,tu=ts;if(0==ti)return tn;if(1==(ti/=ta))return tn+ts;if(tc||(tc=.3*ta),tu<Math.abs(ts)){tu=ts;var tl=tc/4}else var tl=tc/(2*Math.PI)*Math.asin(ts/tu);return-(tu*Math.pow(2,10*(ti-=1))*Math.sin((ti*ta-tl)*(2*Math.PI)/tc))+tn},easeOutElastic:function(tt,ti,tn,ts,ta){var tl=1.70158,tc=0,tu=ts;if(0==ti)return tn;if(1==(ti/=ta))return tn+ts;if(tc||(tc=.3*ta),tu<Math.abs(ts)){tu=ts;var tl=tc/4}else var tl=tc/(2*Math.PI)*Math.asin(ts/tu);return tu*Math.pow(2,-10*ti)*Math.sin((ti*ta-tl)*(2*Math.PI)/tc)+ts+tn},easeInOutElastic:function(tt,ti,tn,ts,ta){var tl=1.70158,tc=0,tu=ts;if(0==ti)return tn;if(2==(ti/=ta/2))return tn+ts;if(tc||(tc=ta*(.3*1.5)),tu<Math.abs(ts)){tu=ts;var tl=tc/4}else var tl=tc/(2*Math.PI)*Math.asin(ts/tu);return ti<1?-.5*(tu*Math.pow(2,10*(ti-=1))*Math.sin((ti*ta-tl)*(2*Math.PI)/tc))+tn:tu*Math.pow(2,-10*(ti-=1))*Math.sin((ti*ta-tl)*(2*Math.PI)/tc)*.5+ts+tn},easeInBack:function(tt,ti,tn,ts,ta,tl){return void 0==tl&&(tl=1.70158),ts*(ti/=ta)*ti*((tl+1)*ti-tl)+tn},easeOutBack:function(tt,ti,tn,ts,ta,tl){return void 0==tl&&(tl=1.70158),ts*((ti=ti/ta-1)*ti*((tl+1)*ti+tl)+1)+tn},easeInOutBack:function(tt,ti,tn,ts,ta,tl){return(void 0==tl&&(tl=1.70158),(ti/=ta/2)<1)?ts/2*(ti*ti*(((tl*=1.525)+1)*ti-tl))+tn:ts/2*((ti-=2)*ti*(((tl*=1.525)+1)*ti+tl)+2)+tn},easeInBounce:function(tt,ti,tn,ts,ta){return ts-jQuery.easing.easeOutBounce(tt,ta-ti,0,ts,ta)+tn},easeOutBounce:function(tt,ti,tn,ts,ta){return(ti/=ta)<1/2.75?ts*(7.5625*ti*ti)+tn:ti<2/2.75?ts*(7.5625*(ti-=1.5/2.75)*ti+.75)+tn:ti<2.5/2.75?ts*(7.5625*(ti-=2.25/2.75)*ti+.9375)+tn:ts*(7.5625*(ti-=2.625/2.75)*ti+.984375)+tn},easeInOutBounce:function(tt,ti,tn,ts,ta){return ti<ta/2?.5*jQuery.easing.easeInBounce(tt,2*ti,0,ts,ta)+tn:.5*jQuery.easing.easeOutBounce(tt,2*ti-ta,0,ts,ta)+.5*ts+tn}}),function(tt){var ti={},tn={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,wrapperClass:"bx-wrapper",touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,autoSlideForOnePage:!1,minSli
1des:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){},onSliderResize:function(){}};tt.fn.bxSlider=function(ts){if(0==this.length)return this;if(this.length>1)return this.each(function(){tt(this).bxSlider(ts)}),this;var ta={},tl=this;ti.el=this;var tc=tt(window).width(),tu=tt(window).height(),td=function(){ta.settings=tt.extend({},tn,ts),ta.settings.slideWidth=parseInt(ta.settings.slideWidth),ta.children=tl.children(ta.settings.slideSelector),ta.children.length<ta.settings.minSlides&&(ta.settings.minSlides=ta.children.length),ta.children.length<ta.settings.maxSlides&&(ta.settings.maxSlides=ta.children.length),ta.settings.randomStart&&(ta.settings.startSlide=Math.floor(Math.random()*ta.children.length)),ta.active={index:ta.settings.startSlide},ta.carousel=ta.settings.minSlides>1||ta.settings.maxSlides>1,ta.carousel&&(ta.settings.preloadImages="all"),ta.minThreshold=ta.settings.minSlides*ta.settings.slideWidth+(ta.settings.minSlides-1)*ta.settings.slideMargin,ta.maxThreshold=ta.settings.maxSlides*ta.settings.slideWidth+(ta.settings.maxSlides-1)*ta.settings.slideMargin,ta.working=!1,ta.controls={},ta.interval=null,ta.animProp="vertical"==ta.settings.mode?"top":"left",ta.usingCSS=ta.settings.useCSS&&"fade"!=ta.settings.mode&&function(){var tt=document.createElement("div"),ti=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var tn in ti)if(void 0!==tt.style[ti[tn]])return ta.cssPrefix=ti[tn].replace("Perspective","").toLowerCase(),ta.animProp="-"+ta.cssPrefix+"-transform",!0;return!1}(),"vertical"==ta.settings.mode&&(ta.settings.maxSlides=ta.settings.minSlides),tl.data("origStyle",tl.attr("style")),tl.children(ta.settings.slideSelector).each(function(){tt(this).data("origStyle",tt(this).attr("style"))}),th()},th=function(){tl.wrap('<div class="'+ta.settings.wrapperClass+'"><div class="bx-viewport"></div></div>'),ta.viewport=tl.parent(),ta.loader=tt('<div class="bx-loading" />'),ta.viewport.prepend(ta.loader),tl.css({width:"horizontal"==ta.settings.mode?100*ta.children.length+215+"%":"auto",position:"relative"}),ta.usingCSS&&ta.settings.easing?tl.css("-"+ta.cssPrefix+"-transition-timing-function",ta.settings.easing):ta.settings.easing||(ta.settings.easing="swing"),ty(),ta.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),ta.viewport.parent().css({maxWidth:tg()}),ta.settings.pager||ta.viewport.parent().css({margin:"0 auto 0px"}),ta.children.css({float:"horizontal"==ta.settings.mode?"left":"none",listStyle:"none",position:"relative"}),ta.children.css("width",tv()),"horizontal"==ta.settings.mode&&ta.settings.slideMargin>0&&ta.children.css("marginRight",ta.settings.slideMargin),"vertical"==ta.settings.mode&&ta.settings.slideMargin>0&&ta.children.css("marginBottom",ta.settings.slideMargin),"fade"==ta.settings.mode&&(ta.children.css({position:"absolute",zIndex:0,display:"none"}),ta.children.eq(ta.settings.startSlide).css({zIndex:ta.settings.slideZIndex,display:"block"})),ta.controls.el=tt('<div class="bx-controls" />'),ta.settings.captions&&tS(),ta.active.last=ta.settings.startSlide==tb()-1,ta.settings.video&&tl.fitVids();var ti=ta.children.eq(ta.settings.startSlide);"all"==ta.settings.preloadImages&&(ti=ta.children),ta.settings.ticker?ta.settings.pager=!1:(ta.settings.pager&&tk(),ta.settings.controls&&tj(),ta.settings.auto&&ta.settings.autoControls&&tC(),(ta.settings.controls||ta.settings.autoControls||ta.settings.pager)&&ta.viewport.after(ta.controls.el)),tp(ti,tf)},tp=function(ti,tn){var ts=ti.find("img, iframe").length;if(0==ts){tn();return}var ta=0;ti.find("img, iframe").each(function(){tt(this).one("load",function(){++ta==ts&&tn()}).each(function(){this.complete&&tt(this).load()})})},tf=function(){if(ta.settings.infiniteLoop&&"fade"!=ta.settings.mode&&!ta.settings.ticker){var ti="vertical"==ta.settings.mode?ta.settings.minSlides:ta.settings.maxSlides,tn=ta.children.slice(0,ti).clone().addClass("bx-clone"),ts=ta.children.slice(-ti).clone().addClass("bx-clone");tl.append(tn).prepend(ts)}ta.loader.remove(),tx(),"vertical"==ta.settings.mode&&(ta.settings.adaptiveHeight=!0),ta.viewport.height(tm()),tl.redrawSlider(),ta.settings.onSliderLoad(ta.active.index),ta.initialized=!0,ta.settings.responsive&&tt(window).bind("resize",tV),ta.settings.auto&&ta.settings.autoStart&&(tb()>1||ta.settings.autoSlideForOnePage)&&tz(),ta.settings.ticker&&tN(),ta.settings.pager&&tA(ta.settings.startSlide),ta.settings.controls&&tD(),ta.settings.touchEnabled&&!ta.settings.ticker&&tR()},tm=function(){var ti=0,tn=tt();if("vertical"==ta.settings.mode||ta.settings.adaptiveHeight){if(ta.carousel){var ts=1==ta.settings.moveSlides?ta.active.index:ta.active.index*tw();for(i=1,tn=ta.children.eq(ts);i<=ta.settings.maxSlides-1;i++)tn=ts+i>=ta.children.length?tn.add(ta.children.eq(i-1)):tn.add(ta.children.eq(ts+i))}else tn=ta.children.eq(ta.active.index)}else tn=ta.children;return"vertical"==ta.settings.mode?(tn.each(function(tn){ti+=tt(this).outerHeight()}),ta.settings.slideMargin>0&&(ti+=ta.settings.slideMargin*(ta.settings.minSlides-1))):ti=Math.max.apply(Math,tn.map(function(){return tt(this).outerHeight(!1)}).get()),"border-box"==ta.viewport.css("box-sizing")?ti+=parseFloat(ta.viewport.css("padding-top"))+parseFloat(ta.viewport.css("padding-bottom"))+parseFloat(ta.viewport.css("border-top-width"))+parseFloat(ta.viewport.css("border-bottom-width")):"padding-box"==ta.viewport.css("box-sizing")&&(ti+=parseFloat(ta.viewport.css("padding-top"))+parseFloat(ta.viewport.css("padding-bottom"))),ti},tg=function(){var tt="100%";return ta.settings.slideWidth>0&&(tt="horizontal"==ta.settings.mode?ta.settings.maxSlides*ta.settings.slideWidth+(ta.settings.maxSlides-1)*ta.settings.slideMargin:ta.settings.slideWidth),tt},tv=function(){var tt=ta.settings.slideWidth,ti=ta.viewport.width();return 0==ta.settings.slideWidth||ta.settings.slideWidth>ti&&!ta.carousel||"vertical"==ta.settings.mode?tt=ti:ta.settings.maxSlides>1&&"horizontal"==ta.settings.mode&&(ti>ta.maxThreshold||ti<ta.minThreshold&&(tt=(ti-ta.settings.slideMargin*(ta.settings.minSlides-1))/ta.settings.minSlides)),tt},ty=function(){var tt=1;if("horizontal"==ta.settings.mode&&ta.settings.slideWidth>0){if(ta.viewport.width()<ta.minThreshold)tt=ta.settings.minSlides;else if(ta.viewport.width()>ta.maxThreshold)tt=ta.settings.maxSlides;else{var ti=ta.children.first().width()+ta.settings.slideMargin;tt=Math.floor((ta.viewport.width()+ta.settings.slideMargin)/ti)}}else"vertical"==ta.settings.mode&&(tt=ta.settings.minSlides);return tt},tb=function(){var tt=0;if(ta.settings.moveSlides>0){if(ta.settings.infiniteLoop)tt=Math.ceil(ta.children.length/tw());else for(var ti=0,tn=0;ti<ta.children.length;)++tt,ti=tn+ty(),tn+=ta.settings.moveSlides<=ty()?ta.settings.moveSlides:ty()}else tt=Math.ceil(ta.children.length/ty());return tt},tw=function(){return ta.settings.moveSlides>0&&ta.settings.moveSlides<=ty()?ta.settings.moveSlides:ty()},tx=function(){if(ta.children.length>ta.settings.maxSlides&&ta.active.last&&!ta.settings.infiniteLoop){if("horizontal"==ta.settings.mode){var tt=ta.children.last(
1),ti=tt.position();t_(-(ti.left-(ta.viewport.width()-tt.outerWidth())),"reset",0)}else if("vertical"==ta.settings.mode){var tn=ta.children.length-ta.settings.minSlides,ti=ta.children.eq(tn).position();t_(-ti.top,"reset",0)}}else{var ti=ta.children.eq(ta.active.index*tw()).position();ta.active.index==tb()-1&&(ta.active.last=!0),void 0!=ti&&("horizontal"==ta.settings.mode?t_(-ti.left,"reset",0):"vertical"==ta.settings.mode&&t_(-ti.top,"reset",0))}},t_=function(tt,ti,tn,ts){if(ta.usingCSS){var tc="vertical"==ta.settings.mode?"translate3d(0, "+tt+"px, 0)":"translate3d("+tt+"px, 0, 0)";tl.css("-"+ta.cssPrefix+"-transition-duration",tn/1e3+"s"),"slide"==ti?(tl.css(ta.animProp,tc),tl.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){tl.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),tL()})):"reset"==ti?tl.css(ta.animProp,tc):"ticker"==ti&&(tl.css("-"+ta.cssPrefix+"-transition-timing-function","linear"),tl.css(ta.animProp,tc),tl.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){tl.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),t_(ts.resetValue,"reset",0),tH()}))}else{var tu={};tu[ta.animProp]=tt,"slide"==ti?tl.animate(tu,tn,ta.settings.easing,function(){tL()}):"reset"==ti?tl.css(ta.animProp,tt):"ticker"==ti&&tl.animate(tu,speed,"linear",function(){t_(ts.resetValue,"reset",0),tH()})}},tT=function(){for(var ti="",tn=tb(),ts=0;ts<tn;ts++){var tl="";ta.settings.buildPager&&tt.isFunction(ta.settings.buildPager)?(tl=ta.settings.buildPager(ts),ta.pagerEl.addClass("bx-custom-pager")):(tl=ts+1,ta.pagerEl.addClass("bx-default-pager")),ti+='<div class="bx-pager-item"><a href="" data-slide-index="'+ts+'" class="bx-pager-link">'+tl+"</a></div>"}ta.pagerEl.html(ti)},tk=function(){ta.settings.pagerCustom?ta.pagerEl=tt(ta.settings.pagerCustom):(ta.pagerEl=tt('<div class="bx-pager" />'),ta.settings.pagerSelector?tt(ta.settings.pagerSelector).html(ta.pagerEl):ta.controls.el.addClass("bx-has-pager").append(ta.pagerEl),tT()),ta.pagerEl.on("click","a",tM)},tj=function(){ta.controls.next=tt('<a class="bx-next" href="">'+ta.settings.nextText+"</a>"),ta.controls.prev=tt('<a class="bx-prev" href="">'+ta.settings.prevText+"</a>"),ta.controls.next.bind("click",tE),ta.controls.prev.bind("click",tO),ta.settings.nextSelector&&tt(ta.settings.nextSelector).append(ta.controls.next),ta.settings.prevSelector&&tt(ta.settings.prevSelector).append(ta.controls.prev),ta.settings.nextSelector||ta.settings.prevSelector||(ta.controls.directionEl=tt('<div class="bx-controls-direction" />'),ta.controls.directionEl.append(ta.controls.prev).append(ta.controls.next),ta.controls.el.addClass("bx-has-controls-direction").append(ta.controls.directionEl))},tC=function(){ta.controls.start=tt('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+ta.settings.startText+"</a></div>"),ta.controls.stop=tt('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+ta.settings.stopText+"</a></div>"),ta.controls.autoEl=tt('<div class="bx-controls-auto" />'),ta.controls.autoEl.on("click",".bx-start",tP),ta.controls.autoEl.on("click",".bx-stop",tI),ta.settings.autoControlsCombine?ta.controls.autoEl.append(ta.controls.start):ta.controls.autoEl.append(ta.controls.start).append(ta.controls.stop),ta.settings.autoControlsSelector?tt(ta.settings.autoControlsSelector).html(ta.controls.autoEl):ta.controls.el.addClass("bx-has-controls-auto").append(ta.controls.autoEl),t$(ta.settings.autoStart?"stop":"start")},tS=function(){ta.children.each(function(ti){var tn=tt(this).find("img:first").attr("title");void 0!=tn&&(""+tn).length&&tt(this).append('<div class="bx-caption"><span>'+tn+"</span></div>")})},tE=function(tt){ta.settings.auto&&tl.stopAuto(),tl.goToNextSlide(),tt.preventDefault()},tO=function(tt){ta.settings.auto&&tl.stopAuto(),tl.goToPrevSlide(),tt.preventDefault()},tP=function(tt){tl.startAuto(),tt.preventDefault()},tI=function(tt){tl.stopAuto(),tt.preventDefault()},tM=function(ti){ta.settings.auto&&tl.stopAuto();var tn=tt(ti.currentTarget);
1if(void 0!==tn.attr("data-slide-index")){var ts=parseInt(tn.attr("data-slide-index"));ts!=ta.active.index&&tl.goToSlide(ts),ti.preventDefault()}},tA=function(ti){var tn=ta.children.length;if("short"==ta.settings.pagerType){ta.settings.maxSlides>1&&(tn=Math.ceil(ta.children.length/ta.settings.maxSlides)),ta.pagerEl.html(ti+1+ta.settings.pagerShortSeparator+tn);return}ta.pagerEl.find("a").removeClass("active"),ta.pagerEl.each(function(tn,ts){tt(ts).find("a").eq(ti).addClass("active")})},tL=function(){if(ta.settings.infiniteLoop){var tt="";0==ta.active.index?tt=ta.children.eq(0).position():ta.active.index==tb()-1&&ta.carousel?tt=ta.children.eq((tb()-1)*tw()).position():ta.active.index==ta.children.length-1&&(tt=ta.children.eq(ta.children.length-1).position()),tt&&("horizontal"==ta.settings.mode?t_(-tt.left,"reset",0):"vertical"==ta.settings.mode&&t_(-tt.top,"reset",0))}ta.working=!1,ta.settings.onSlideAfter(ta.children.eq(ta.active.index),ta.oldIndex,ta.active.index)},t$=function(tt){ta.settings.autoControlsCombine?ta.controls.autoEl.html(ta.controls[tt]):(ta.controls.autoEl.find("a").removeClass("active"),ta.controls.autoEl.find("a:not(.bx-"+tt+")").addClass("active"))},tD=function(){1==tb()?(ta.controls.prev.addClass("disabled"),ta.controls.next.addClass("disabled")):!ta.settings.infiniteLoop&&ta.settings.hideControlOnEnd&&(0==ta.active.index?(ta.controls.prev.addClass("disabled"),ta.controls.next.removeClass("disabled")):ta.active.index==tb()-1?(ta.controls.next.addClass("disabled"),ta.controls.prev.removeClass("disabled")):(ta.controls.prev.removeClass("disabled"),ta.controls.next.removeClass("disabled")))},tz=function(){ta.settings.autoDelay>0?setTimeout(tl.startAuto,ta.settings.autoDelay):tl.startAuto(),ta.settings.autoHover&&tl.hover(function(){ta.interval&&(tl.stopAuto(!0),ta.autoPaused=!0)},function(){ta.autoPaused&&(tl.startAuto(!0),ta.autoPaused=null)})},tN=function(){var ti=0;if("next"==ta.settings.autoDirection)tl.append(ta.children.clone().addClass("bx-clone"));
1else{tl.prepend(ta.children.clone().addClass("bx-clone"));var tn=ta.children.first().position();ti="horizontal"==ta.settings.mode?-tn.left:-tn.top}t_(ti,"reset",0),ta.settings.pager=!1,ta.settings.controls=!1,ta.settings.autoControls=!1,ta.settings.tickerHover&&!ta.usingCSS&&ta.viewport.hover(function(){tl.stop()},function(){var ti=0;ta.children.each(function(tn){ti+="horizontal"==ta.settings.mode?tt(this).outerWidth(!0):tt(this).outerHeight(!0)});var tn=ta.settings.speed/ti,ts="horizontal"==ta.settings.mode?"left":"top",tc=tn*(ti-Math.abs(parseInt(tl.css(ts))));tH(tc)}),tH()},tH=function(tt){speed=tt||ta.settings.speed;var ti={left:0,top:0},tn={left:0,top:0};"next"==ta.settings.autoDirection?ti=tl.find(".bx-clone").first().position():tn=ta.children.first().position();var ts="horizontal"==ta.settings.mode?-ti.left:-ti.top,tc={resetValue:"horizontal"==ta.settings.mode?-tn.left:-tn.top};t_(ts,"ticker",speed,tc)},tR=function(){ta.touch={start:{x:0,y:0},end:{x:0,y:0}},ta.viewport.bind("touchstart",tB)},tB=function(tt){if(ta.working)tt.preventDefault();else{ta.touch.originalPos=tl.position();var ti=tt.originalEvent;ta.touch.start.x=ti.changedTouches[0].pageX,ta.touch.start.y=ti.changedTouches[0].pageY,ta.viewport.bind("touchmove",tF),ta.viewport.bind("touchend",tW)}},tF=function(tt){var ti=tt.originalEvent,tn=Math.abs(ti.changedTouches[0].pageX-ta.touch.start.x),ts=Math.abs(ti.changedTouches[0].pageY-ta.touch.start.y);if(3*tn>ts&&ta.settings.preventDefaultSwipeX?tt.preventDefault():3*ts>tn&&ta.settings.preventDefaultSwipeY&&tt.preventDefault(),"fade"!=ta.settings.mode&&ta.settings.oneToOneTouch){var tl=0;if("horizontal"==ta.settings.mode){var tc=ti.changedTouches[0].pageX-ta.touch.start.x;tl=ta.touch.originalPos.left+tc}else{var tc=ti.changedTouches[0].pageY-ta.touch.start.y;tl=ta.touch.originalPos.top+tc}t_(tl,"reset",0)}},tW=function(tt){ta.viewport.unbind("touchmove",tF);var ti=tt.originalEvent,tn=0;if(ta.touch.end.x=ti.changedTouches[0].pageX,ta.touch.end.y=ti.changedTouches[0].pageY,"fade"==ta.settings.mode){var ts=Math.abs(ta.touch.start.x-ta.touch.end.x);ts>=ta.settings.swipeThreshold&&(ta.touch.start.x>ta.touch.end.x?tl.goToNextSlide():tl.goToPrevSlide(),tl.stopAuto())}else{var ts=0;"horizontal"==ta.settings.mode?(ts=ta.touch.end.x-ta.touch.start.x,tn=ta.touch.originalPos.left):(ts=ta.touch.end.y-ta.touch.start.y,tn=ta.touch.originalPos.top),!ta.settings.infiniteLoop&&(0==ta.active.index&&ts>0||ta.active.last&&ts<0)?t_(tn,"reset",200):Math.abs(ts)>=ta.settings.swipeThreshold?(ts<0?tl.goToNextSlide():tl.goToPrevSlide(),tl.stopAuto()):t_(tn,"reset",200)}ta.viewport.unbind("touchend",tW)},tV=function(ti){if(ta.initialized){var tn=tt(window).width(),ts=tt(window).height();(tc!=tn||tu!=ts)&&(tc=tn,tu=ts,tl.redrawSlider(),ta.settings.onSliderResize.call(tl,ta.active.index))}};return tl.goToSlide=function(ti,tn){if(!ta.working&&ta.active.index!=ti){if(ta.working=!0,ta.oldIndex=ta.active.index,ti<0?ta.active.index=tb()-1:ti>=tb()?ta.active.index=0:ta.active.index=ti,ta.settings.onSlideBefore(ta.children.eq(ta.active.index),ta.oldIndex,ta.active.index),"next"==tn?ta.settings.onSlideNext(ta.children.eq(ta.active.index),ta.oldIndex,ta.active.index):"prev"==tn&&ta.settings.onSlidePrev(ta.children.eq(ta.active.index),ta.oldIndex,ta.active.index),ta.active.last=ta.active.index>=tb()-1,ta.settings.pager&&tA(ta.active.index),ta.settings.controls&&tD(),"fade"==ta.settings.mode)ta.settings.adaptiveHeight&&ta.viewport.height()!=tm()&&ta.viewport.animate({height:tm()},ta.settings.adaptiveHeightSpeed),ta.children.filter(":visible").fadeOut(ta.settings.speed).css({zIndex:0}),ta.children.eq(ta.active.index).css("zIndex",ta.settings.slideZIndex+1).fadeIn(ta.settings.speed,function(){tt(this).css("zIndex",ta.settings.slideZIndex),tL()});else{ta.settings.adaptiveHeight&&ta.viewport.height()!=tm()&&ta.viewport.animate({height:tm()},ta.settings.adaptiveHeightSpeed);var ts=0,tc={left:0,top:0};if(!ta.settings.infiniteLoop&&ta.carousel&&ta.active.last){if("horizontal"==ta.settings.mode){var tu=ta.children.eq(ta.children.length-1);tc=tu.position(),ts=ta.viewport.width()-tu.outerWidth()}else{var td=ta.children.length-ta.settings.minSlides;tc=ta.children.eq(td).position()}}else if(ta.carousel&&ta.active.last&&"prev"==tn){var th=1==ta.settings.moveSlides?ta.settings.maxSlides-tw():(tb()-1)*tw()-(ta.children.length-ta.settings.maxSlides),tu=tl.children(".bx-clone").eq(th);tc=tu.position()}else if("next"==tn&&0==ta.active.index)tc=tl.find("> .bx-clone").eq(ta.settings.maxSlides).position(),ta.active.last=!1;else if(ti>=0){var tp=ti*tw();tc=ta.children.eq(tp).position()}void 0!==tc&&t_("horizontal"==ta.settings.mode?-(tc.left-ts):-tc.top,"slide",ta.settings.speed)}}},tl.goToNextSlide=function(){if(ta.settings.infiniteLoop||!ta.active.last){var tt=parseInt(ta.active.index)+1;tl.goToSlide(tt,"next")}},tl.goToPrevSlide=function(){if(ta.settings.infiniteLoop||0!=ta.active.index){var tt=parseInt(ta.active.index)-1;tl.goToSlide(tt,"prev")}},tl.startAuto=function(tt){!ta.interval&&(ta.interval=setInterval(function(){"next"==ta.settings.autoDirection?tl.goToNextSlide():tl.goToPrevSlide()},ta.settings.pause),ta.settings.autoControls&&!0!=tt&&t$("stop"))},tl.stopAuto=function(tt){ta.interval&&(clearInterval(ta.interval),ta.interval=null,ta.settings.autoControls&&!0!=tt&&t$("start"))},tl.getCurrentSlide=function(){return ta.active.index},tl.getCurrentSlideElement=function(){return ta.children.eq(ta.active.index)},tl.getSlideCount=function(){return ta.children.length},tl.redrawSlider=function(){ta.children.add(tl.find(".bx-clone")).width(tv()),ta.viewport.css("height",tm()),ta.settings.ticker||tx(),ta.active.last&&(ta.active.index=tb()-1),ta.active.index>=tb()&&(ta.active.last=!0),ta.settings.pager&&!ta.settings.pagerCustom&&(tT(),tA(ta.active.index))},tl.destroySlider=function(){ta.initialized&&(ta.initialized=!1,tt(".bx-clone",this).remove(),ta.children.each(function(){void 0!=tt(this).data("origStyle")?tt(this).attr("style",tt(this).data("origStyle")):tt(this).removeAttr("style")}),void 0!=tt(this).data("origStyle")?this.attr("style",tt(this).data("origStyle")):tt(this).removeAttr("style"),tt(this).unwrap().unwrap(),ta.controls.el&&ta.controls.el.remove(),ta.controls.next&&ta.controls.next.remove(),ta.controls.prev&&ta.controls.prev.remove(),ta.pagerEl&&ta.settings.controls&&ta.pagerEl.remove(),tt(".bx-caption",this).remove(),ta.controls.autoEl&&ta.controls.autoEl.remove(),clearInterval(ta.interval),ta.settings.responsive&&tt(window).unbind("resize",tV))},tl.reloadSlider=function(tt){void 0!=tt&&(ts=tt),tl.destroySlider(),td()},td(),this}}(jQuery),/*!
2* FitVids 1.0
3*
4* Copyright 2011, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
5* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
6* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
7*
8* Date: Thu Sept 01 18:00:00 2011 -0500
9*/function(tt){"use strict";tt.fn.fitVids=function(ti){var tn={customSelector:null},ts=document.createElement("div"),ta=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];return ts.className="fit-vids-style",ts.innerHTML="&shy;<style>               .fluid-width-video-wrapper {                 width: 100%;                              position: relative;                       padding: 0;                            }                                                                                   .fluid-width-video-wrapper iframe,        .fluid-width-video-wrapper object,        .fluid-width-video-wrapper embed {           position: absolute;                       top: 0;                                   left: 0;                                  width: 100%;                              height: 100%;                          }                                       </style>",ta.parentNode.insertBefore(ts,ta),ti&&tt.extend(tn,ti),this.each(function(){var ti=["iframe[src*='player.vimeo.com']","iframe[src*='www.youtube.com']","iframe[src*='www.kickstarter.com']","object","embed"];tn.customSelector&&ti.push(tn.customSelector),tt(this).find(ti.join(",")).each(function(){var ti=tt(this);if(("embed"!==this.tagName.toLowerCase()||!ti.parent("object").length)&&!ti.parent(".fluid-width-video-wrapper").length){var tn=("object"===this.tagName.toLowerCase()||ti.attr("height")&&!isNaN(parseInt(ti.attr("height"),10))?parseInt(ti.attr("height"),10):ti.height())/(isNaN(parseInt(ti.attr("width"),10))?ti.width():parseInt(ti.attr("width"),10));if(!ti.attr("id")){var ts="fitvid"+Math.floor(999999*Math.random());ti.attr("id",ts)}ti.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*tn+"%"),ti.removeAttr("height").removeAttr("width")}})})}}(jQuery),function(tt,ti,tn,ts){"use strict";var ta=tn("html"),tl=tn(tt),tc=tn(ti),tu=tn.fancybox=function(){tu.open.apply(this,arguments)},td=navigator.userAgent.match(/msie/i),th=null,tp=ts!==ti.createTouch,tf=function(tt){return tt&&tt.hasOwnProperty&&tt instanceof tn},tm=function(tt){return tt&&"string"===tn.type(tt)},tg=function(tt){return tm(tt)&&tt.indexOf("%")>0},tv=function(tt){return tt&&!(tt.style.overflow&&"hidden"===tt.style.overflow)&&(tt.clientWidth&&tt.scrollWidth>tt.clientWidth||tt.clientHeight&&tt.scrollHeight>tt.clientHeight)},ty=function(tt,ti){var tn=parseInt(tt,10)||0;return ti&&tg(tt)&&(tn=tu.getViewport()[ti]/100*tn),Math.ceil(tn)},tb=function(tt,ti){return ty(tt,ti)+"px"};tn.extend(tu,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!tp,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(td?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:tn.noop,beforeLoad:tn.noop,afterLoad:tn.noop,beforeShow:tn.noop,afterShow:tn.noop,beforeChange:tn.noop,beforeClose:tn.noop,afterClose:tn.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,
9skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(tt,ti){if(tt&&(tn.isPlainObject(ti)||(ti={}),!1!==tu.close(!0)))return tn.isArray(tt)||(tt=tf(tt)?tn(tt).get():[tt]),tn.each(tt,function(ta,tl){var tc,td,th,tp,tg,tv,ty,tb={};"object"===tn.type(tl)&&(tl.nodeType&&(tl=tn(tl)),tf(tl)?(tb={href:tl.data("fancybox-href")||tl.attr("href"),title:tl.data("fancybox-title")||tl.attr("title"),isDom:!0,element:tl},tn.metadata&&tn.extend(!0,tb,tl.metadata())):tb=tl),tc=ti.href||tb.href||(tm(tl)?tl:null),td=ts!==ti.title?ti.title:tb.title||"",(tp=(th=ti.content||tb.content)?"html":ti.type||tb.type)||!tb.isDom||(tp=tl.data("fancybox-type"))||(tp=(tg=tl.prop("class").match(/fancybox\.(\w+)/))?tg[1]:null),tm(tc)&&(!tp&&(tu.isImage(tc)?tp="image":tu.isSWF(tc)?tp="swf":"#"===tc.charAt(0)?tp="inline":tm(tl)&&(tp="html",th=tl)),"ajax"===tp&&(tc=(tv=tc.split(/\s+/,2)).shift(),ty=tv.shift())),th||("inline"===tp?tc?th=tn(tm(tc)?tc.replace(/.*(?=#[^\s]+$)/,""):tc):tb.isDom&&(th=tl):"html"===tp?th=tc:tp||tc||!tb.isDom||(tp="inline",th=tl)),tn.extend(tb,{href:tc,type:tp,content:th,title:td,selector:ty}),tt[ta]=tb}),tu.opts=tn.extend(!0,{},tu.defaults,ti),ts!==ti.keys&&(tu.opts.keys=!!ti.keys&&tn.extend({},tu.defaults.keys,ti.keys)),tu.group=tt,tu._start(tu.opts.index)},cancel:function(){var tt=tu.coming;tt&&!1!==tu.trigger("onCancel")&&(tu.hideLoading(),tu.ajaxLoad&&tu.ajaxLoad.abort(),tu.ajaxLoad=null,tu.imgPreload&&(tu.imgPreload.onload=tu.imgPreload.onerror=null),tt.wrap&&tt.wrap.stop(!0,!0).trigger("onReset").remove(),tu.coming=null,tu.current||tu._afterZoomOut(tt))},close:function(tt){tu.cancel(),!1!==tu.trigger("beforeClose")&&(tu.unbindEvents(),tu.isActive&&(tu.isOpen&&!0!==tt?(tu.isOpen=tu.isOpened=!1,tu.isClosing=!0,tn(".fancybox-item, .fancybox-nav").remove(),tu.wrap.stop(!0,!0).removeClass("fancybox-opened"),tu.transitions[tu.current.closeMethod]()):(tn(".fancybox-wrap").stop(!0).trigger("onReset").remove(),tu._afterZoomOut())))},play:function(tt){var ti=function(){clearTimeout(tu.player.timer)},tn=function(){ti(),tu.current&&tu.player.isActive&&(tu.player.timer=setTimeout(tu.next,tu.current.playSpeed))},ts=function(){ti(),tc.unbind(".player"),tu.player.isActive=!1,tu.trigger("onPlayEnd")},ta=function(){tu.current&&(tu.current.loop||tu.current.index<tu.group.length-1)&&(tu.player.isActive=!0,tc.bind({"onCancel.player beforeClose.player":ts,"onUpdate.player":tn,"beforeLoad.player":ti}),tn(),tu.trigger("onPlayStart"))};!0!==tt&&(tu.player.isActive||!1===tt)?ts():ta()},next:function(tt){var ti=tu.current;ti&&(tm(tt)||(tt=ti.direction.next),tu.jumpto(ti.index+1,tt,"next"))},prev:function(tt){var ti=tu.current;ti&&(tm(tt)||(tt=ti.direction.prev),tu.jumpto(ti.index-1,tt,"prev"))},jumpto:function(tt,ti,tn){var ta=tu.current;ta&&(tt=ty(tt),tu.direction=ti||ta.direction[tt>=ta.index?"next":"prev"],tu.router=tn||"jumpto",ta.loop&&(tt<0&&(tt=ta.group.length+tt%ta.group.length),tt%=ta.group.length),ts!==ta.group[tt]&&(tu.cancel(),tu._start(tt)))},reposition:function(tt,ti){var ts,ta=tu.current,tl=ta?ta.wrap:null;tl&&(ts=tu._getPosition(ti),tt&&"scroll"===tt.type?(delete ts.position,tl.stop(!0,!0).animate(ts,200)):(tl.css(ts),ta.pos=tn.extend({},ta.dim,ts)))},update:function(tt){var ti=tt&&tt.type,tn=!ti||"orientationchange"===ti;tn&&(clearTimeout(th),th=null),tu.isOpen&&!th&&(th=setTimeout(function(){var ts=tu.current;ts&&!tu.isClosing&&(tu.wrap.removeClass("fancybox-tmp"),(tn||"load"===ti||"resize"===ti&&ts.autoResize)&&tu._setDimension(),"scroll"===ti&&ts.canShrink||tu.reposition(tt),tu.trigger("onUpdate"),th=null)},tn&&!tp?0:300))},toggle:function(tt){tu.isOpen&&(tu.current.fitToView="boolean"===tn.type(tt)?tt:!tu.current.fitToView,tp&&(tu.wrap.removeAttr("style").addClass("fancybox-tmp"),tu.trigger("onUpdate")),tu.update())},hideLoading:function(){tc.unbind(".loading"),tn("#fancybox-loading").remove()},showLoading:function(){var tt,ti;tu.hideLoading(),tt=tn('<div id="fancybox-loading"><div></div></div>').click(tu.cancel).appendTo("body"),tc.bind("keydown.loading",function(tt){27===(tt.which||tt.keyCode)&&(tt.preventDefault(),tu.cancel())}),tu.defaults.fixed||(ti=tu.getViewport(),tt.css({position:"absolute",top:.5*ti.h+ti.y,left:.5*ti.w+ti.x}))},getViewport:function(){var ti=tu.current&&tu.current.locked||!1,tn={x:tl.scrollLeft(),y:tl.scrollTop()};return ti?(tn.w=ti[0].clientWidth,tn.h=ti[0].clientHeight):(tn.w=tp&&tt.innerWidth?tt.innerWidth:tl.width(),tn.h=tp&&tt.innerHe
9ight?tt.innerHeight:tl.height()),tn},unbindEvents:function(){tu.wrap&&tf(tu.wrap)&&tu.wrap.unbind(".fb"),tc.unbind(".fb"),tl.unbind(".fb")},bindEvents:function(){var tt,ti=tu.current;ti&&(tl.bind("orientationchange.fb"+(tp?"":" resize.fb")+(ti.autoCenter&&!ti.locked?" scroll.fb":""),tu.update),(tt=ti.keys)&&tc.bind("keydown.fb",function(ta){var tl=ta.which||ta.keyCode,tc=ta.target||ta.srcElement;if(27===tl&&tu.coming)return!1;ta.ctrlKey||ta.altKey||ta.shiftKey||ta.metaKey||tc&&(tc.type||tn(tc).is("[contenteditable]"))||tn.each(tt,function(tt,tc){return ti.group.length>1&&ts!==tc[tl]?(tu[tt](tc[tl]),ta.preventDefault(),!1):tn.inArray(tl,tc)>-1?(tu[tt](),ta.preventDefault(),!1):void 0})}),tn.fn.mousewheel&&ti.mouseWheel&&tu.wrap.bind("mousewheel.fb",function(tt,ts,ta,tl){for(var tc=tn(tt.target||null),td=!1;tc.length&&!(td||tc.is(".fancybox-skin")||tc.is(".fancybox-wrap"));)td=tv(tc[0]),tc=tn(tc).parent();0===ts||td||!(tu.group.length>1)||ti.canShrink||(tl>0||ta>0?tu.prev(tl>0?"down":"left"):(tl<0||ta<0)&&tu.next(tl<0?"up":"right"),tt.preventDefault())}))},trigger:function(tt,ti){var ts,ta=ti||tu.coming||tu.current;if(ta){if(tn.isFunction(ta[tt])&&(ts=ta[tt].apply(ta,Array.prototype.slice.call(arguments,1))),!1===ts)return!1;ta.helpers&&tn.each(ta.helpers,function(ti,ts){ts&&tu.helpers[ti]&&tn.isFunction(tu.helpers[ti][tt])&&tu.helpers[ti][tt](tn.extend(!0,{},tu.helpers[ti].defaults,ts),ta)}),tc.trigger(tt)}},isImage:function(tt){return tm(tt)&&tt.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(tt){return tm(tt)&&tt.match(/\.(swf)((\?|#).*)?$/i)},_start:function(tt){var ti,ts,ta,tl,tc,td={};if(tt=ty(tt),!(ti=tu.group[tt]||null))return!1;if(tl=(td=tn.extend(!0,{},tu.opts,ti)).margin,tc=td.padding,"number"===tn.type(tl)&&(td.margin=[tl,tl,tl,tl]),"number"===tn.type(tc)&&(td.padding=[tc,tc,tc,tc]),td.modal&&tn.extend(!0,td,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),td.autoSize&&(td.autoWidth=td.autoHeight=!0),"auto"===td.width&&(td.autoWidth=!0),"auto"===td.height&&(td.autoHeight=!0),td.group=tu.group,td.index=tt,tu.coming=td,!1===tu.trigger("beforeLoad")){tu.coming=null;return}if(ta=td.type,ts=td.href,!ta)return tu.coming=null,!!tu.current&&!!tu.router&&"jumpto"!==tu.router&&(tu.current.index=tt,tu[tu.router](tu.direction));if(tu.isActive=!0,("image"===ta||"swf"===ta)&&(td.autoHeight=td.autoWidth=!1,td.scrolling="visible"),"image"===ta&&(td.aspectRatio=!0),"iframe"===ta&&tp&&(td.scrolling="scroll"),td.wrap=tn(td.tpl.wrap).addClass("fancybox-"+(tp?"mobile":"desktop")+" fancybox-type-"+ta+" fancybox-tmp "+td.wrapCSS).appendTo(td.parent||"body"),tn.extend(td,{skin:tn(".fancybox-skin",td.wrap),outer:tn(".fancybox-outer",td.wrap),inner:tn(".fancybox-inner",td.wrap)}),tn.each(["Top","Right","Bottom","Left"],function(tt,ti){td.skin.css("padding"+ti,tb(td.padding[tt]))}),tu.trigger("onReady"),"inline"===ta||"html"===ta){if(!td.content||!td.content.length)return tu._error("content")}else if(!ts)return tu._error("href");"image"===ta?tu._loadImage():"ajax"===ta?tu._loadAjax():"iframe"===ta?tu._loadIframe():tu._afterLoad()},_error:function(tt){tn.extend(tu.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:tt,content:tu.coming.tpl.error}),tu._afterLoad()},_loadImage:function(){var tt=tu.imgPreload=new Image;tt.onload=function(){this.onload=this.onerror=null,tu.coming.width=this.width/tu.opts.pixelRatio,tu.coming.height=this.height/tu.opts.pixelRatio,tu._afterLoad()},tt.onerror=function(){this.onload=this.onerror=null,tu._error("image")},tt.src=tu.coming.href,!0!==tt.complete&&tu.showLoading()},_loadAjax:function(){var tt=tu.coming;tu.showLoading(),tu.ajaxLoad=tn.ajax(tn.extend({},tt.ajax,{url:tt.href,error:function(tt,ti){tu.coming&&"abort"!==ti?tu._error("ajax",tt):tu.hideLoading()},success:function(ti,tn){"success"===tn&&(tt.content=ti,tu._afterLoad())}}))},_loadIframe:function(){var tt=tu.coming,ti=tn(tt.tpl.iframe.replace(/\{rnd\}
9/g,new Date().getTime())).attr("scrolling",tp?"auto":tt.iframe.scrolling).attr("src",tt.href);tn(tt.wrap).bind("onReset",function(){try{tn(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(tt){}}),tt.iframe.preload&&(tu.showLoading(),ti.one("load",function(){tn(this).data("ready",1),tp||tn(this).bind("load.fb",tu.update),tn(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),tu._afterLoad()})),tt.content=ti.appendTo(tt.inner),tt.iframe.preload||tu._afterLoad()},_preloadImages:function(){var tt,ti,tn=tu.group,ts=tu.current,ta=tn.length,tl=ts.preload?Math.min(ts.preload,ta-1):0;for(ti=1;ti<=tl;ti+=1)"image"===(tt=tn[(ts.index+ti)%ta]).type&&tt.href&&(new Image().src=tt.href)},_afterLoad:function(){var tt,ti,ts,ta,tl,tc,td=tu.coming,th=tu.current,tp="fancybox-placeholder";if(tu.hideLoading(),td&&!1!==tu.isActive){if(!1===tu.trigger("afterLoad",td,th)){td.wrap.stop(!0).trigger("onReset").remove(),tu.coming=null;return}switch(th&&(tu.trigger("beforeChange",th),th.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),tu.unbindEvents(),tt=td,ti=td.content,ts=td.type,ta=td.scrolling,tn.extend(tu,{wrap:tt.wrap,skin:tt.skin,outer:tt.outer,inner:tt.inner,current:tt,previous:th}),tl=tt.href,ts){case"inline":case"ajax":case"html":tt.selector?ti=tn("<div>").html(ti).find(tt.selector):tf(ti)&&(ti.data(tp)||ti.data(tp,tn('<div class="'+tp+'"></div>').insertAfter(ti).hide()),ti=ti.show().detach(),tt.wrap.bind("onReset",function(){tn(this).find(ti).length&&ti.hide().replaceAll(ti.data(tp)).data(tp,!1)}));break;case"image":ti=tt.tpl.image.replace("{href}",tl);break;case"swf":ti='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+tl+'"></param>',tc="",tn.each(tt.swf,function(tt,tn){ti+='<param name="'+tt+'" value="'+tn+'"></param>',tc+=" "+tt+'="'+tn+'"'}),ti+='<embed src="'+tl+'" type="application/x-shockwave-flash" width="100%" height="100%"'+tc+"></embed></object>"}tf(ti)&&ti.parent().is(tt.inner)||tt.inner.append(ti),tu.trigger("beforeShow"),tt.inner.css("overflow","yes"===ta?"scroll":"no"===ta?"hidden":ta),tu._setDimension(),tu.reposition(),tu.isOpen=!1,tu.coming=null,tu.bindEvents(),tu.isOpened?th.prevMethod&&tu.transitions[th.prevMethod]():tn(".fancybox-wrap").not(tt.wrap).stop(!0).trigger("onReset").remove(),tu.transitions[tu.isOpened?tt.nextMethod:tt.openMethod](),tu._preloadImages()}},_setDimension:function(){var tt,ti,ts,ta,tl,tc,td,th,tp,tf,tm,tv,tw,tx,t_,tT=tu.getViewport(),tk=0,tj=!1,tC=!1,tS=tu.wrap,tE=tu.skin,tO=tu.inner,tP=tu.current,tI=tP.width,tM=tP.height,tA=tP.minWidth,tL=tP.minHeight,t$=tP.maxWidth,tD=tP.maxHeight,tz=tP.scrolling,tN=tP.scrollOutside?tP.scrollbarWidth:0,tH=tP.margin,tR=ty(tH[1]+tH[3]),tB=ty(tH[0]+tH[2]);if(tS.add(tE).add(tO).width("auto").height("auto").removeClass("fancybox-tmp"),tt=ty(tE.outerWidth(!0)-tE.width()),ti=ty(tE.outerHeight(!0)-tE.height()),ts=tR+tt,ta=tB+ti,tl=tg(tI)?(tT.w-ts)*ty(tI)/100:tI,tc=tg(tM)?(tT.h-ta)*ty(tM)/100:tM,"iframe"===tP.type){if(tx=tP.content,tP.autoHeight&&1===tx.data("ready"))try{tx[0].contentWindow.document.location&&(tO.width(tl).height(9999),t_=tx.contents().find("body"),tN&&t_.css("overflow-x","hidden"),tc=t_.outerHeight(!0))}catch(tt){}}else(tP.autoWidth||tP.autoHeight)&&(tO.addClass("fancybox-tmp"),tP.autoWidth||tO.width(tl),tP.autoHeight||tO.height(tc),tP.autoWidth&&(tl=tO.width()),tP.autoHeight&&(tc=tO.height()),tO.removeClass("fancybox-tmp"));if(tI=ty(tl),tM=ty(tc),tp=tl/tc,tA=ty(tg(tA)?ty(tA,"w")-ts:tA),t$=ty(tg(t$)?ty(t$,"w")-ts:t$),tL=ty(tg(tL)?ty(tL,"h")-ta:tL),tD=ty(tg(tD)?ty(tD,"h")-ta:tD),td=t$,th=tD,tP.fitToView&&(t$=Math.min(tT.w-ts,t$),tD=Math.min(tT.h-ta,tD)),tv=tT.w-tR,tw=tT.h-tB,tP.aspectRatio?(tI>t$&&(tM=ty((tI=t$)/tp)),tM>tD&&(tI=ty((tM=tD)*tp)),tI<tA&&(tM=ty((tI=tA)/tp)),tM<tL&&(tI=ty((tM=tL)*tp))):(tI=Math.max(tA,Math.min(tI,t$)),tP.autoHeight&&"iframe"!==tP.type&&(tO.width(tI),tM=tO.height()),tM=Math.max(tL,Math.min(tM,tD))),tP.fitToView){if(tO.width(tI).height(tM),tS.width(tI+tt),tf=tS.width(),tm=tS.height(),tP.aspectRatio)for(;(tf>tv||tm>tw)&&tI>tA&&tM>tL&&!(tk++>19);)(tI=ty((tM=Math.max(tL,Math.min(tD,tM-10)))*tp))<tA&&(tM=ty((tI=tA)/tp)),tI>t$&&(tM=ty((tI=t$)/tp)),tO.width(tI).height(tM),tS.width(tI+tt),tf=tS.width(),tm=tS.height();else tI=Math.max(tA,Math.min(tI,tI-(tf-tv))),tM=Math.max(tL,Math.min(tM,tM-(tm-tw)))}tN&&"auto"===tz&&tM<tc&&tI+tt+tN<tv&&(tI+=tN),tO.width(tI).height(tM),tS.width(tI+tt),tf=tS.width(),tm=tS.height(),tj=(tf>tv||tm>tw)&&tI>tA&&tM>tL,tC=tP.aspectRatio?tI<td&&tM<th&&tI<tl&&tM<tc:(tI<td||tM<th)&&(tI<tl||tM<tc
9),tn.extend(tP,{dim:{width:tb(tf),height:tb(tm)},origWidth:tl,origHeight:tc,canShrink:tj,canExpand:tC,wPadding:tt,hPadding:ti,wrapSpace:tm-tE.outerHeight(!0),skinSpace:tE.height()-tM}),!tx&&tP.autoHeight&&tM>tL&&tM<tD&&!tC&&tO.height("auto")},_getPosition:function(tt){var ti=tu.current,tn=tu.getViewport(),ts=ti.margin,ta=tu.wrap.width()+ts[1]+ts[3],tl=tu.wrap.height()+ts[0]+ts[2],tc={position:"absolute",top:ts[0],left:ts[3]};return ti.autoCenter&&ti.fixed&&!tt&&tl<=tn.h&&ta<=tn.w?tc.position="fixed":ti.locked||(tc.top+=tn.y,tc.left+=tn.x),tc.top=tb(Math.max(tc.top,tc.top+(tn.h-tl)*ti.topRatio)),tc.left=tb(Math.max(tc.left,tc.left+(tn.w-ta)*ti.leftRatio)),tc},_afterZoomIn:function(){var tt=tu.current;tt&&(tu.isOpen=tu.isOpened=!0,tu.wrap.css("overflow","visible").addClass("fancybox-opened"),tu.update(),(tt.closeClick||tt.nextClick&&tu.group.length>1)&&tu.inner.css("cursor","pointer").bind("click.fb",function(ti){tn(ti.target).is("a")||tn(ti.target).parent().is("a")||(ti.preventDefault(),tu[tt.closeClick?"close":"next"]())}),tt.closeBtn&&tn(tt.tpl.closeBtn).appendTo(tu.skin).bind("click.fb",function(tt){tt.preventDefault(),tu.close()}),tt.arrows&&tu.group.length>1&&((tt.loop||tt.index>0)&&tn(tt.tpl.prev).appendTo(tu.outer).bind("click.fb",tu.prev),(tt.loop||tt.index<tu.group.length-1)&&tn(tt.tpl.next).appendTo(tu.outer).bind("click.fb",tu.next)),tu.trigger("afterShow"),tt.loop||tt.index!==tt.group.length-1?tu.opts.autoPlay&&!tu.player.isActive&&(tu.opts.autoPlay=!1,tu.play()):tu.play(!1))},_afterZoomOut:function(tt){tt=tt||tu.current,tn(".fancybox-wrap").trigger("onReset").remove(),tn.extend(tu,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null}),tu.trigger("afterClose",tt)}}),tu.transitions={getOrigPosition:function(){var tt=tu.current,ti=tt.element,tn=tt.orig,ts={},ta=50,tl=50,tc=tt.hPadding,td=tt.wPadding,th=tu.getViewport();return!tn&&tt.isDom&&ti.is(":visible")&&!(tn=ti.find("img:first")).length&&(tn=ti),tf(tn)?(ts=tn.offset(),tn.is("img")&&(ta=tn.outerWidth(),tl=tn.outerHeight())):(ts.top=th.y+(th.h-tl)*tt.topRatio,ts.left=th.x+(th.w-ta)*tt.leftRatio),("fixed"===tu.wrap.css("position")||tt.locked)&&(ts.top-=th.y,ts.left-=th.x),ts={top:tb(ts.top-tc*tt.topRatio),left:tb(ts.left-td*tt.leftRatio),width:tb(ta+td),height:tb(tl+tc)}},step:function(tt,ti){var tn,ts,ta=ti.prop,tl=tu.current,tc=tl.wrapSpace,td=tl.skinSpace;("width"===ta||"height"===ta)&&(tn=ti.end===ti.start?1:(tt-ti.start)/(ti.end-ti.start),tu.isClosing&&(tn=1-tn),ts=tt-("width"===ta?tl.wPadding:tl.hPadding),tu.skin[ta](ty("width"===ta?ts:ts-tc*tn)),tu.inner[ta](ty("width"===ta?ts:ts-tc*tn-td*tn)))},zoomIn:function(){var tt=tu.current,ti=tt.pos,ts=tt.openEffect,ta="elastic"===ts,tl=tn.extend({opacity:1},ti);delete tl.position,ta?(ti=this.getOrigPosition(),tt.openOpacity&&(ti.opacity=.1)):"fade"===ts&&(ti.opacity=.1),tu.wrap.css(ti).animate(tl,{duration:"none"===ts?0:tt.openSpeed,easing:tt.openEasing,step:ta?this.step:null,complete:tu._afterZoomIn})},zoomOut:function(){var tt=tu.current,ti=tt.closeEffect,tn="elastic"===ti,ts={opacity:.1};tn&&(ts=this.getOrigPosition(),tt.closeOpacity&&(ts.opacity=.1)),tu.wrap.animate(ts,{duration:"none"===ti?0:tt.closeSpeed,easing:tt.closeEasing,step:tn?this.step:null,complete:tu._afterZoomOut})},changeIn:function(){var tt,ti=tu.current,tn=ti.nextEffect,ts=ti.pos,ta={opacity:1},tl=tu.direction,tc=200;ts.opacity=.1,"elastic"===tn&&(tt="down"===tl||"up"===tl?"top":"left","down"===tl||"right"===tl?(ts[tt]=tb(ty(ts[tt])-tc),ta[tt]="+="+tc+"px"):(ts[tt]=tb(ty(ts[tt])+tc),ta[tt]="-="+tc+"px")),"none"===tn?tu._afterZoomIn():tu.wrap.css(ts).animate(ta,{duration:ti.nextSpeed,easing:ti.nextEasing,complete:tu._afterZoomIn})},changeOut:function(){var tt=tu.previous,ti=tt.prevEffect,ts={opacity:.1},ta=tu.direction,tl=200;"elastic"===ti&&(ts["down"===ta||"up"===ta?"top":"left"]=("up"===ta||"left"===ta?"-":"+")+"="+tl+"px"),tt.wrap.animate(ts,{duration:"none"===ti?0:tt.prevSpeed,easing:tt.prevEasing,complete:function(){tn(this).trigger("onReset").remove()}})}},tu.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!tp,fixed:!0},overlay:null,fixed:!1,el:tn("html"),create:function(tt){tt=tn.extend({},this.defaults,tt),this.overlay&&this.close(),this.overlay=tn('<div class="fancybox-overlay"></div>').appendTo(tu.coming?tu.coming.parent:tt.parent),this.fixed=!1,tt.fixed&&tu.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(tt){var ti=this;tt=tn.extend({},this.defaults,tt),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(tt),this.fixed||(tl.bind("resize.overlay",tn.proxy(this.update,this)),this.update()),tt.closeClick&&this.overlay.bind("click.overlay",function(tt){if(tn(tt.target).hasClass("fancybox-overlay"))return tu.isActive?tu.close():ti.close(),!1}),this.overlay.css(tt.css).show()},close:function(){var tt,ti;tl.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(tn(".fancybox-margin").removeClass("fancybox-margin"),tt=tl.scrollTop(),ti=tl.scrollLeft(),this.el.removeClass("fancybox-lock"),tl.scrollTop(tt).scrollLeft(ti)),tn(".fancybox-overlay").remove().hide(),tn.extend(this,{overlay:null,fixed:!1})},update:function(){var tt,tn="100%";this.overlay.width(tn).height("100%"),td?(tt=Math.max(ti.documentElement.offsetWidth,ti.body.offsetWidth),tc.width()>tt&&(tn=tc.width())):tc.width()>tl.width()&&(tn=tc.width()),this.overlay.width(tn).height(tc.height())},onReady:function(tt,ti){var ts=this.overlay;tn(".fancybox-overlay").stop(!0,!0),ts||this.create(tt),tt.locked&&this.fixed&&ti.fixed&&(ts||(this.margin=tc.height()>tl.height()&&tn("html").css("margin-right").replace("px","")),ti.locked=this.overlay.append(ti.wrap),ti.fixed=!1),!0===tt.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(tt,ti){var ts,ta;ti.locked&&(!1!==this.margin&&(tn("*").filter(function(){return"fixed"===tn(this).css("position")&&!tn(this).hasClass("fancybox-overlay")&&!tn(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),ts=tl.scrollTop(),ta=tl.scrollLeft(),this.el.addClass("fancybox-lock"),tl.scrollTop(ts).scrollLeft(ta)),this.open(tt)}
9,onUpdate:function(){this.fixed||this.update()},afterClose:function(tt){this.overlay&&!tu.coming&&this.overlay.fadeOut(tt.speedOut,tn.proxy(this.close,this))}},tu.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(tt){var ti,ts,ta=tu.current,tl=ta.title,tc=tt.type;if(tn.isFunction(tl)&&(tl=tl.call(ta.element,ta)),tm(tl)&&""!==tn.trim(tl)){switch(ti=tn('<div class="fancybox-title fancybox-title-'+tc+'-wrap">'+tl+"</div>"),tc){case"inside":ts=tu.skin;break;case"outside":ts=tu.wrap;break;case"over":ts=tu.inner;break;default:ts=tu.skin,ti.appendTo("body"),td&&ti.width(ti.width()),ti.wrapInner('<span class="child"></span>'),tu.current.margin[2]+=Math.abs(ty(ti.css("margin-bottom")))}ti["top"===tt.position?"prependTo":"appendTo"](ts)}}},tn.fn.fancybox=function(tt){var ti,ts=tn(this),ta=this.selector||"",tl=function(tl){var tc,td,th=tn(this).blur(),tp=ti;tl.ctrlKey||tl.altKey||tl.shiftKey||tl.metaKey||th.is(".fancybox-wrap")||(tc=tt.groupAttr||"data-fancybox-group",(td=th.attr(tc))||(tc="rel",td=th.get(0)[tc]),td&&""!==td&&"nofollow"!==td&&(tp=(th=(th=ta.length?tn(ta):ts).filter("["+tc+'="'+td+'"]')).index(this)),tt.index=tp,!1!==tu.open(th,tt)&&tl.preventDefault())};return ti=(tt=tt||{}).index||0,ta&&!1!==tt.live?tc.undelegate(ta,"click.fb-start").delegate(ta+":not('.fancybox-item, .fancybox-nav')","click.fb-start",tl):ts.unbind("click.fb-start").bind("click.fb-start",tl),this.filter("[data-fancybox-start=1]").trigger("click"),this},tc.ready(function(){var ti,tl;ts===tn.scrollbarWidth&&(tn.scrollbarWidth=function(){var tt=tn('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),ti=tt.children(),ts=ti.innerWidth()-ti.height(99).innerWidth();return tt.remove(),ts}),ts===tn.support.fixedPosition&&(tn.support.fixedPosition=function(){var tt=tn('<div style="position:fixed;top:20px;"></div>').appendTo("body"),ti=20===tt[0].offsetTop||15===tt[0].offsetTop;return tt.remove(),ti}()),tn.extend(tu.defaults,{scrollbarWidth:tn.scrollbarWidth(),fixed:tn.support.fixedPosition,parent:tn("body")}),ti=tn(tt).width(),ta.addClass("fancybox-lock-test"),tl=tn(tt).width(),ta.removeClass("fancybox-lock-test"),tn("<style type='text/css'>.fancybox-margin{margin-right:"+(tl-ti)+"px;}</style>").appendTo("head")})}(window,document,jQuery),function(tt){tt.fn.desktopDropNav=function(ti){var tn=tt.extend({openCloseClass:"open-close",openerClass:"opener",slideClass:"slide"},ti);return this.each(function(){tt(this).find("ul").length&&tt(this).find("ul").each(function(){var ti=tt(this).closest("li");ti.addClass(tn.openCloseClass).children("div").addClass(tn.slideClass),ts("<span>",tn.openerClass,ti.children("a"))})});function ts(ti,tn,ts){tt(ti).addClass(tn).appendTo(ts)}}}(jQuery),function(tt){function ti(ti){this.options=tt.extend({dropDown:">li>ul",fitClass:"set-right"},ti),this.init()}ti.prototype={init:function(){this.findElements(),this.detectOffset()},findElements:function(){this.holder=tt(this.options.holder),this.dropdown=this.holder.find(this.options.dropDown),this.dropdownParent=this.dropdown.parents("li")},detectOffset:function(){var ti=this,tn=ti.holder.width(),ts=ti.holder.offset().left;ti.dropdownParent.each(function(){Math.round(tt(this).offset().left)>=ts&&tn<=Math.round(tt(this).offset().left)-ts+ti.dropdown.width()&&tt(this).addClass(ti.options.fitClass)})},destroy:function(){this.dropdownParent.removeClass(this.options.fitClass),this.holder.removeData("dropdownFit")}},tt.fn.dropdownFit=function(tn){return this.each(function(){tt(this).data("dropdownFit",new ti(tt.extend(tn,{holder:this})))})}}(jQuery),function(tt,ti){"use strict";var tn="ontouchstart"in ti||ti.DocumentTouch&&document instanceof DocumentTouch||/Windows Phone/.test(navigator.userAgent);function ts(ti){this.options=tt.extend({fixedActiveClass:"fixed-position",slideBlock:"[data-scroll-block]",positionType:"auto",fixedOnlyIfFits:!0,container:null,animDelay:100,animSpeed:200,extraBottom:0,extraTop:0},ti),this.initStructure(),this.attachEvents()}ts.prototype={initStructure:function(){this.win=tt(ti),this.container=tt(this.options.container),this.slideBlock=this.container.find(this.options.slideBlock),"auto"===this.options.positionType&&(this.options.positionType=tn?"absolute":"fixed")},attachEvents:function(){var tt=this;this.onResize=function(){tt.resizeHandler()},this.onScroll=function(){tt.scrollHandler()},this.win.on({resize:this.onResize,scroll:this.onScroll}),this.resizeHandler()},recalculateOffsets:function(){var tt=this.slideBlock.offset(),ti=this.slideBlock.position(),tn=this.container.offset();this.win.height(),this.data={windowHeight:this.win.height(),windowWidth:this.win.width(),blockPositionLeft:ti.left,blockPositionTop:ti.top,blockOffsetLeft:tt.left,blockOffsetTop:tt.top,blockHeight:this.slideBlock.innerHeight(),holderOffsetLeft:tn.left,holderOffsetTop:tn.top,holderHeight:this.container.innerHe
9ight()}},isVisible:function(){return this.slideBlock.prop("offsetHeight")},fitsInViewport:function(){return!this.options.fixedOnlyIfFits||!this.data||this.data.blockHeight+this.options.extraTop<=this.data.windowHeight},resizeHandler:function(){!this.destroyed&&this.isVisible()&&(ts.stickyMethods[this.options.positionType].onResize.apply(this,arguments),this.scrollHandler())},scrollHandler:function(){if(!this.destroyed&&this.isVisible()){if(!this.data){this.resizeHandler();return}this.currentScrollTop=this.win.scrollTop(),this.currentScrollLeft=this.win.scrollLeft(),ts.stickyMethods[this.options.positionType].onScroll.apply(this,arguments)}},refresh:function(){this.data&&(this.data.holderHeight=this.container.innerHeight(),this.data.blockHeight=this.slideBlock.innerHeight(),this.scrollHandler())},destroy:function(){this.destroyed=!0,this.slideBlock.removeAttr("style").removeClass(this.options.fixedActiveClass),this.win.off({resize:this.onResize,scroll:this.onScroll})}},ts.stickyMethods={fixed:{onResize:function(){this.slideBlock.removeAttr("style"),this.recalculateOffsets()},onScroll:function(){this.fitsInViewport()&&this.currentScrollTop+this.options.extraTop>this.data.blockOffsetTop?(this.currentScrollTop+this.options.extraTop+this.data.blockHeight>this.data.holderOffsetTop+this.data.holderHeight-this.options.extraBottom?this.slideBlock.css({position:"absolute",top:this.data.blockPositionTop+this.data.holderHeight-this.data.blockHeight-this.options.extraBottom-(this.data.blockOffsetTop-this.data.holderOffsetTop),left:this.data.blockPositionLeft}):this.slideBlock.css({position:"fixed",top:this.options.extraTop,left:this.data.blockOffsetLeft-this.currentScrollLeft}),this.slideBlock.addClass(this.options.fixedActiveClass)):this.slideBlock.removeClass(this.options.fixedActiveClass).removeAttr("style")}},absolute:{onResize:function(){this.slideBlock.removeAttr("style"),this.recalculateOffsets(),this.slideBlock.css({position:"absolute",top:this.data.blockPositionTop,left:this.data.blockPositionLeft}),this.slideBlock.addClass(this.options.fixedActiveClass)},onScroll:function(){var tt=this;clearTimeout(this.animTimer),this.animTimer=setTimeout(function(){var ti=tt.currentScrollTop+tt.options.extraTop,tn=tt.data.blockPositionTop-(tt.data.blockOffsetTop-tt.data.holderOffsetTop),ts=tt.data.holderHeight-tt.data.blockHeight-tt.options.extraBottom,ta=tn+Math.min(ti-tt.data.holderOffsetTop,ts),tl=tt.fitsInViewport()&&ti>tt.data.blockOffsetTop?ta:tt.data.blockPositionTop;tt.slideBlock.stop().animate({top:tl},tt.options.animSpeed)},this.options.animDelay)}}},tt.fn.fixedScrollBlock=function(ti){return this.each(function(){var tn=tt.extend({},ti,{container:this}),ta=new ts(tn);tt.data(this,"FixedScrollBlock",ta)})},ti.FixedScrollBlock=ts}(jQuery,this),function(tt){function ti(ti){this.options=tt.extend({commentClass:".form-input-comments",commonLayoutWrapper:'<div class="contact-form-columns">',inputHolder:".form__group"},ti),this.init()}ti.prototype={init:function(){this.findElements(),this.wrapElements()},findElements:function(){this.holder=tt(this.options.holder),this.comments=this.holder.find(this.options.commentClass),this.inputHolder=this.holder.find(this.options.inputHolder)},wrapElements:function(){var tt=this;tt.comments.length&&(tt.inputHolder.wrapAll(tt.options.commonLayoutWrapper),tt.comments.find("textarea").css({width:"",height:""}))},destroy:function(){this.comments.length&&this.inputHolder.unwrap(this.options.commonLayoutWrapper),this.holder.removeData("layoutContactForm")}},tt.fn.layoutContactForm=function(tn){return this.each(function(){void 0===tt(this).data("layoutContactForm")&&tt(this).data("layoutContactForm",new ti(tt.extend(tn,{holder:this})))})}}(jQuery);var mql=window.matchMedia("(orientation: portrait)");function moreNav(){var tt=$(".navigation").find("ul"),ti="sublevel-";if(tt.length&&tt.children(".more").find("ul").parent().is("div")){var tn=tt.children(".more").find("ul");tn.parent("div").children().unwrap(),tn.each(function(){var tt=$(this),tn=tt.parents("ul").length;tn>0&&tt.wrap(function(){return'<div class="'+ti+tn+'"></div>'})})}else tt.length&&!tt.children(".more").find("ul").parent().is("div")&&tt.children(".more").find("ul").each(function(){var tt=$(this),tn=tt.parents("ul").length;tn>0&&tt.wrap(function(){return'<div class="'+ti+tn+'"></div>'})});tt.children(".more").on("click","> a",function(tt){tt.preventDefault()})}function navigationSublevelWrap(tt,ti){tt.each(function(){var tt=$(this),tn=tt.parents("ul").length;tn>0&&tt.wrap(function(){return'<div class="'+ti+tn+'"></div>'})})}if(mql&&mql.addListener(function(tt){$(window).trigger("resize")}),!function(tt){function ti(ti){this.options=tt.extend({place:"",move:"inside",setClass:!1}
9,ti),this.init()}ti.prototype={init:function(){this.options.holder&&(this.findElements(),this.setAnchor(),this.move(),this.setClass())},findElements:function(){this.elements={holder:tt(this.options.holder),place:tt(this.options.place)}},setAnchor:function(){this.anchorElem=tt("<span>"),this.anchorElem.attr("data-anchor-id",this.elements.holder.data("moved-id")).insertBefore(this.elements.holder).css("display","none")},move:function(){var tt=this,ti={after:function(){tt.elements.holder.insertAfter(tt.elements.place)},before:function(){tt.elements.holder.insertBefore(tt.elements.place)},inside:function(){tt.elements.place.prepend(tt.elements.holder)}};void 0!==ti[this.options.move]?ti[this.options.move]():ti.inside()},setClass:function(){this.options.setClass&&this.elements.holder.addClass(this.options.setClass)},destroy:function(){var tt=this;tt.elements.holder.insertAfter(tt.anchorElem).removeClass(tt.options.setClass).removeData("moveElement"),tt.anchorElem.remove(),tn=[]}},tt.fn.moveElement=function(tn){return this.each(function(){ts(this),tt(this).data("moveElement",new ti(tt.extend(tn,{holder:this})))})};var tn=[];function ts(ti){tn.push(ti),tt.each(tn,function(ti,ts){ti===tn.length-1&&tt(ts).attr("data-moved-id",ti+1)})}}(jQuery),ResponsiveHelper=function(tt){var ti,tn=[],ts=tt(window),ta=!1;function tl(){var ta=ts.width();ta!==ti&&(ti=ta,tt.each(tn,function(ti,tn){tt.each(tn.data,function(tt,ti){ti.currentActive&&!tc(ti.range[0],ti.range[1])&&(ti.currentActive=!1,"function"==typeof ti.disableCallback&&ti.disableCallback())}),tt.each(tn.data,function(tt,ti){!ti.currentActive&&tc(ti.range[0],ti.range[1])&&(ti.currentActive=!0,"function"==typeof ti.enableCallback&&ti.enableCallback())})}))}function tc(tt,ti){var tn="";return tt>0&&(tn+="(min-width: "+tt+"px)"),ti<1/0&&(tn+=(tn?" and ":"")+"(max-width: "+ti+"px)"),tu(tn,tt,ti)}function tu(tt,tn,ts){return window.matchMedia&&ta?matchMedia(tt).matches:window.styleMedia?styleMedia.matchMedium(tt):window.media?media.matchMedium(tt):ti>=tn&&ti<=ts}function td(tt){var ti=tt.split("..");return[parseInt(ti[0],10)||-1/0,parseInt(ti[1],10)||1/0].sort(function(tt,ti){return tt-ti})}return window.matchMedia&&(window.Window&&window.matchMedia===Window.prototype.matchMedia?ta=!0:window.matchMedia.toString().indexOf("native")>-1&&(ta=!0)),ts.bind("load resize orientationchange",tl),{addRange:function(ts){var ta={data:{}};tt.each(ts,function(tt,ti){ta.data[tt]={range:td(tt),enableCallback:ti.on,disableCallback:ti.off}}),tn.push(ta),ti=null,tl()}}}(jQuery),!function(tt){var ti=/Windows Phone/.test(navigator.userAgent)||"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch;function tn(ti){this.options=tt.extend({heightProp:"height",recalcOnPageScroll:!1,setScrollTo:"",extraSpacing:0},ti),this.init()}tn.prototype={init:function(){for(var tt,ti=this,tn=["height","max-height","maxHeight"],ts=0;ts<tn.length;ts++)tn[ts]===ti.options.heightProp&&(tt=!0);this.options.holder&&void 0!==tt&&(this.findElements(),this.attachEvents(),this.setHeight())},findElements:function(){this.scrollAreaWrapper=tt(this.options.holder),this.scrollArea=this.options.setScrollTo?this.scrollAreaWrapper.find(this.options.setScrollTo):this.scrollAreaWrapper},attachEvents:function(){if(!this.destroyed){var tn=this,ts=2e3,ta=null;this.onResize=function(){tn.setHeight()},this.onScroll=function(){clearTimeout(ta),ta=setTimeout(function(){tn.setHeight()},ts)},ti?(tt(window).on("orientationchange",this.onResize),tt(window).on("touchend",this.onScroll)):(tt(window).on("resize",this.onResize),this.options.recalcOnPageScroll&&tt(window).on("scroll",this.onScroll))}},calcHeight:function(){var ti=tt(window),tn=Math.round(this.scrollAreaWrapper.offset().top),ts=(window.innerHeight,window.innerHeight),ta=ti.scrollTop();this.scrollAreaWrapperHeight=0,tn>=ta?this.scrollAreaWrapperHeight=ts-(tn-ta)-this.options.extraSpacing:this.scrollAreaWrapperHeight=ts-(tn-this.options.extraSpacing)},setHeight:function(){this.destroyed||(this.calcHeight(),this.scrollArea.css(this.options.heightProp,this.scrollAreaWrapperHeight),this.scrollArea.css("overflow","auto"))},destroy:function(){var tn=this;tn.destroyed=!0,ti?(tt(window).off("orientationchange",this.onResize),tt(window).off("touchend",this.onScroll)):(tt(window).off("resize",this.onResize),this.options.recalcOnPageScroll&&tt(window).off("scroll",this.onScroll)),this.scrollArea.css(this.options.heightProp,""),this.scrollArea.css("overflow",""),this.scrollAreaWrapper.removeData("scrollArea")}},tt.fn.scrollArea=function(ti){return this.each(function(){tt(this).data("scrollArea",new tn(tt.extend(ti,{holder:this})))})}}(jQuery),!function(tt){tt.fn.slideAccordion=function(ts){var ta=tt.extend({addClassBeforeAnimation:!1,allowClickWhenExpanded:!1,activeClass:"active",opener:".opener",slider:".slide",animSpeed:300,collapsible:!0,closeInactive:!1,event:"click"},ts);return this.each(function(){tt(this).find(":has("+ta.slider+")").each(function(){var ts=tt(this),tl=ts.find(ta.opener),tc=ts.find(ta.slider);tl.bind(ta.event,function(tt){if(!tc.is(":animated")){if(ts.hasClass(ta.activeClass)){if(ta.allowClickWhenExpanded)return;ta.collapsible&&tc.slideUp(ta.animSpeed,function(){tn(tc),ts.removeClass(ta.activeClass)})}else{var tl=ts.siblings("."+ta.activeClass),tu=tl.find(ta.slider);ts.addClass(ta.activeClass),ti(tc).hide().slideDown(ta.animSpeed),ta.closeInactive&&tu.slideUp(ta.animSpeed,function(){tl.removeClass(ta.activeClass),tn(tu)})}}tt.preventDefault()}),ts.hasClass(ta.activeClass)?ti(tc):tn(tc)})})};var ti=function(tt){return tt.css({position:"",top:"",left:"",width:""})},tn=function(tt){return tt.show().css({position:"absolute",top:-9999,left:-9999,width:tt.width()})}}(jQuery),!function(tt){function ti(ti){this.options=tt.extend({takeSizeFrom:".element",takeSize:"height",spacingProp:"padding-top",flexible:!0},ti),this.init()}ti.prototype={init:function(){for(var tt,ti=this,tn=["left","right","top","bottom","margin","margin-top","margin-bottom","margin-left","margin-right","padding","padding-top","padding-bottom","padding-left","padding-right"],ts=0;ts<tn.length;ts++)tn[ts]===ti.options.spacingProp&&(tt=!0);if(this.options.holder&&void 0!==tt&&(this.findElements(),this.setElemSpacing(),this.options.flexible))return ti.attachEvents()},findElements:function(){this.elements={holder:tt(this.options.holder),takeSizeFrom:tt(this.options.takeSizeFrom)}},attachEvents:function(){this.bindHandlers(["onWindowResize"]),tt(window).bind("resize orientationchange",this.onWindowResize)},onWindowResize:function(){this.destroyed||this.setElemSpacing()},bindHandlers:function(ti){var tn=this;tt.each(ti,function(tt,ti){var ts=tn[ti];tn[ti]=function(){return ts.apply(tn,arguments)}})},setElemSpacing:function(){"width"===this.options.takeSize?this.elements.holder.css(this.options.spacingProp,this.elements.takeSizeFrom.outerWidth()):"height"===this.options.takeSize&&this.elements.holder.css(this.options.spacingProp,this.elements.takeSizeFrom.outerHeight())},destroy:function(){var ti=this;ti.options.flexible&&(ti.destroyed=!0,tt(window).unbind("resize orientationchange",ti.onWindowResize)),ti.elements.holder.css(this.options.spacingProp,""),ti.elements.holder.removeData("setSpacing")}},tt.fn.setSpacing=function(tn){return this.each(function(){tt(this).data("setSpacing",new ti(tt.extend(tn,{holder:this})))})}}(jQuery),!function(tt,ti,tn,ts){"use strict";var ta=tn("html"),tl=tn(tt),tc=tn(ti),tu=tn.fancybox=function(){tu.open.apply(this,arguments)},td=navigator.userAgent.match(/msie/i),th=null,tp=ts!==ti.createTouch,tf=function(tt){return tt&&tt.hasOwnProperty&&tt instanceof tn},tm=function(tt){return tt&&"string"===tn.type(tt)},tg=function(tt){return tm(tt)&&tt.indexOf("%")>0},tv=function(tt){return tt&&!(tt.style.overflow&&"hidden"===tt.style.overflow)&&(tt.clientWidth&&tt.scrollWidth>tt.clientWidth||tt.clientHeight&&tt.scrollHeight>tt.clientHeight)},ty=function(tt,ti){var tn=parseInt(tt,10)||0;return ti&&tg(tt)&&(tn=tu.getViewport()[ti]/100*tn),Math.ceil(tn)},tb=function(tt,ti){return ty(tt,ti)+"px"};tn.extend(tu,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!tp,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(td?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:tn.noop,beforeLoad:tn.noop,afterLoad:tn.noop,beforeShow:tn.noop,afterShow:tn.noop,beforeChange:tn.noop,beforeClose:tn.noop,afterClose:tn.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,
9skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(tt,ti){if(tt&&(tn.isPlainObject(ti)||(ti={}),!1!==tu.close(!0)))return tn.isArray(tt)||(tt=tf(tt)?tn(tt).get():[tt]),tn.each(tt,function(ta,tl){var tc,td,th,tp,tg,tv,ty,tb={};"object"===tn.type(tl)&&(tl.nodeType&&(tl=tn(tl)),tf(tl)?(tb={href:tl.data("fancybox-href")||tl.attr("href"),title:tl.data("fancybox-title")||tl.attr("title"),isDom:!0,element:tl},tn.metadata&&tn.extend(!0,tb,tl.metadata())):tb=tl),tc=ti.href||tb.href||(tm(tl)?tl:null),td=ts!==ti.title?ti.title:tb.title||"",(tp=(th=ti.content||tb.content)?"html":ti.type||tb.type)||!tb.isDom||(tp=tl.data("fancybox-type"))||(tp=(tg=tl.prop("class").match(/fancybox\.(\w+)/))?tg[1]:null),tm(tc)&&(!tp&&(tu.isImage(tc)?tp="image":tu.isSWF(tc)?tp="swf":"#"===tc.charAt(0)?tp="inline":tm(tl)&&(tp="html",th=tl)),"ajax"===tp&&(tc=(tv=tc.split(/\s+/,2)).shift(),ty=tv.shift())),th||("inline"===tp?tc?th=tn(tm(tc)?tc.replace(/.*(?=#[^\s]+$)/,""):tc):tb.isDom&&(th=tl):"html"===tp?th=tc:tp||tc||!tb.isDom||(tp="inline",th=tl)),tn.extend(tb,{href:tc,type:tp,content:th,title:td,selector:ty}),tt[ta]=tb}),tu.opts=tn.extend(!0,{},tu.defaults,ti),ts!==ti.keys&&(tu.opts.keys=!!ti.keys&&tn.extend({},tu.defaults.keys,ti.keys)),tu.group=tt,tu._start(tu.opts.index)},cancel:function(){var tt=tu.coming;tt&&!1!==tu.trigger("onCancel")&&(tu.hideLoading(),tu.ajaxLoad&&tu.ajaxLoad.abort(),tu.ajaxLoad=null,tu.imgPreload&&(tu.imgPreload.onload=tu.imgPreload.onerror=null),tt.wrap&&tt.wrap.stop(!0,!0).trigger("onReset").remove(),tu.coming=null,tu.current||tu._afterZoomOut(tt))},close:function(tt){tu.cancel(),!1!==tu.trigger("beforeClose")&&(tu.unbindEvents(),tu.isActive&&(tu.isOpen&&!0!==tt?(tu.isOpen=tu.isOpened=!1,tu.isClosing=!0,tn(".fancybox-item, .fancybox-nav").remove(),tu.wrap.stop(!0,!0).removeClass("fancybox-opened"),tu.transitions[tu.current.closeMethod]()):(tn(".fancybox-wrap").stop(!0).trigger("onReset").remove(),tu._afterZoomOut())))},play:function(tt){var ti=function(){clearTimeout(tu.player.timer)},tn=function(){ti(),tu.current&&tu.player.isActive&&(tu.player.timer=setTimeout(tu.next,tu.current.playSpeed))},ts=function(){ti(),tc.unbind(".player"),tu.player.isActive=!1,tu.trigger("onPlayEnd")},ta=function(){tu.current&&(tu.current.loop||tu.current.index<tu.group.length-1)&&(tu.player.isActive=!0,tc.bind({"onCancel.player beforeClose.player":ts,"onUpdate.player":tn,"beforeLoad.player":ti}),tn(),tu.trigger("onPlayStart"))};!0!==tt&&(tu.player.isActive||!1===tt)?ts():ta()},next:function(tt){var ti=tu.current;ti&&(tm(tt)||(tt=ti.direction.next),tu.jumpto(ti.index+1,tt,"next"))},prev:function(tt){var ti=tu.current;ti&&(tm(tt)||(tt=ti.direction.prev),tu.jumpto(ti.index-1,tt,"prev"))},jumpto:function(tt,ti,tn){var ta=tu.current;ta&&(tt=ty(tt),tu.direction=ti||ta.direction[tt>=ta.index?"next":"prev"],tu.router=tn||"jumpto",ta.loop&&(tt<0&&(tt=ta.group.length+tt%ta.group.length),tt%=ta.group.length),ts!==ta.group[tt]&&(tu.cancel(),tu._start(tt)))},reposition:function(tt,ti){var ts,ta=tu.current,tl=ta?ta.wrap:null;tl&&(ts=tu._getPosition(ti),tt&&"scroll"===tt.type?(delete ts.position,tl.stop(!0,!0).animate(ts,200)):(tl.css(ts),ta.pos=tn.extend({},ta.dim,ts)))},update:function(tt){var ti=tt&&tt.type,tn=!ti||"orientationchange"===ti;tn&&(clearTimeout(th),th=null),tu.isOpen&&!th&&(th=setTimeout(function(){var ts=tu.current;ts&&!tu.isClosing&&(tu.wrap.removeClass("fancybox-tmp"),(tn||"load"===ti||"resize"===ti&&ts.autoResize)&&tu._setDimension(),"scroll"===ti&&ts.canShrink||tu.reposition(tt),tu.trigger("onUpdate"),th=null)},tn&&!tp?0:300))},toggle:function(tt){tu.isOpen&&(tu.current.fitToView="boolean"===tn.type(tt)?tt:!tu.current.fitToView,tp&&(tu.wrap.removeAttr("style").addClass("fancybox-tmp"),tu.trigger("onUpdate")),tu.update())},hideLoading:function(){tc.unbind(".loading"),tn("#fancybox-loading").remove()},showLoading:function(){var tt,ti;tu.hideLoading(),tt=tn('<div id="fancybox-loading"><div></div></div>').click(tu.cancel).appendTo("body"),tc.bind("keydown.loading",function(tt){27===(tt.which||tt.keyCode)&&(tt.preventDefault(),tu.cancel())}),tu.defaults.fixed||(ti=tu.getViewport(),tt.css({position:"absolute",top:.5*ti.h+ti.y,left:.5*ti.w+ti.x}))},getViewport:function(){var ti=tu.current&&tu.current.locked||!1,tn={x:tl.scrollLeft(),y:tl.scrollTop()};return ti?(tn.w=ti[0].clientWidth,tn.h=ti[0].clientHeight):(tn.w=tp&&tt.innerWidth?tt.innerWidth:tl.width(),tn.h=tp&&tt.innerHe
9ight?tt.innerHeight:tl.height()),tn},unbindEvents:function(){tu.wrap&&tf(tu.wrap)&&tu.wrap.unbind(".fb"),tc.unbind(".fb"),tl.unbind(".fb")},bindEvents:function(){var tt,ti=tu.current;ti&&(tl.bind("orientationchange.fb"+(tp?"":" resize.fb")+(ti.autoCenter&&!ti.locked?" scroll.fb":""),tu.update),(tt=ti.keys)&&tc.bind("keydown.fb",function(ta){var tl=ta.which||ta.keyCode,tc=ta.target||ta.srcElement;if(27===tl&&tu.coming)return!1;ta.ctrlKey||ta.altKey||ta.shiftKey||ta.metaKey||tc&&(tc.type||tn(tc).is("[contenteditable]"))||tn.each(tt,function(tt,tc){return ti.group.length>1&&ts!==tc[tl]?(tu[tt](tc[tl]),ta.preventDefault(),!1):tn.inArray(tl,tc)>-1?(tu[tt](),ta.preventDefault(),!1):void 0})}),tn.fn.mousewheel&&ti.mouseWheel&&tu.wrap.bind("mousewheel.fb",function(tt,ts,ta,tl){for(var tc=tn(tt.target||null),td=!1;tc.length&&!(td||tc.is(".fancybox-skin")||tc.is(".fancybox-wrap"));)td=tv(tc[0]),tc=tn(tc).parent();0===ts||td||!(tu.group.length>1)||ti.canShrink||(tl>0||ta>0?tu.prev(tl>0?"down":"left"):(tl<0||ta<0)&&tu.next(tl<0?"up":"right"),tt.preventDefault())}))},trigger:function(tt,ti){var ts,ta=ti||tu.coming||tu.current;if(ta){if(tn.isFunction(ta[tt])&&(ts=ta[tt].apply(ta,Array.prototype.slice.call(arguments,1))),!1===ts)return!1;ta.helpers&&tn.each(ta.helpers,function(ti,ts){ts&&tu.helpers[ti]&&tn.isFunction(tu.helpers[ti][tt])&&tu.helpers[ti][tt](tn.extend(!0,{},tu.helpers[ti].defaults,ts),ta)}),tc.trigger(tt)}},isImage:function(tt){return tm(tt)&&tt.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(tt){return tm(tt)&&tt.match(/\.(swf)((\?|#).*)?$/i)},_start:function(tt){var ti,ts,ta,tl,tc,td={};if(tt=ty(tt),!(ti=tu.group[tt]||null))return!1;if(tl=(td=tn.extend(!0,{},tu.opts,ti)).margin,tc=td.padding,"number"===tn.type(tl)&&(td.margin=[tl,tl,tl,tl]),"number"===tn.type(tc)&&(td.padding=[tc,tc,tc,tc]),td.modal&&tn.extend(!0,td,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),td.autoSize&&(td.autoWidth=td.autoHeight=!0),"auto"===td.width&&(td.autoWidth=!0),"auto"===td.height&&(td.autoHeight=!0),td.group=tu.group,td.index=tt,tu.coming=td,!1===tu.trigger("beforeLoad")){tu.coming=null;return}if(ta=td.type,ts=td.href,!ta)return tu.coming=null,!!tu.current&&!!tu.router&&"jumpto"!==tu.router&&(tu.current.index=tt,tu[tu.router](tu.direction));if(tu.isActive=!0,("image"===ta||"swf"===ta)&&(td.autoHeight=td.autoWidth=!1,td.scrolling="visible"),"image"===ta&&(td.aspectRatio=!0),"iframe"===ta&&tp&&(td.scrolling="scroll"),td.wrap=tn(td.tpl.wrap).addClass("fancybox-"+(tp?"mobile":"desktop")+" fancybox-type-"+ta+" fancybox-tmp "+td.wrapCSS).appendTo(td.parent||"body"),tn.extend(td,{skin:tn(".fancybox-skin",td.wrap),outer:tn(".fancybox-outer",td.wrap),inner:tn(".fancybox-inner",td.wrap)}),tn.each(["Top","Right","Bottom","Left"],function(tt,ti){td.skin.css("padding"+ti,tb(td.padding[tt]))}),tu.trigger("onReady"),"inline"===ta||"html"===ta){if(!td.content||!td.content.length)return tu._error("content")}else if(!ts)return tu._error("href");"image"===ta?tu._loadImage():"ajax"===ta?tu._loadAjax():"iframe"===ta?tu._loadIframe():tu._afterLoad()},_error:function(tt){tn.extend(tu.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:tt,content:tu.coming.tpl.error}),tu._afterLoad()},_loadImage:function(){var tt=tu.imgPreload=new Image;tt.onload=function(){this.onload=this.onerror=null,tu.coming.width=this.width/tu.opts.pixelRatio,tu.coming.height=this.height/tu.opts.pixelRatio,tu._afterLoad()},tt.onerror=function(){this.onload=this.onerror=null,tu._error("image")},tt.src=tu.coming.href,!0!==tt.complete&&tu.showLoading()},_loadAjax:function(){var tt=tu.coming;tu.showLoading(),tu.ajaxLoad=tn.ajax(tn.extend({},tt.ajax,{url:tt.href,error:function(tt,ti){tu.coming&&"abort"!==ti?tu._error("ajax",tt):tu.hideLoading()},success:function(ti,tn){"success"===tn&&(tt.content=ti,tu._afterLoad())}}))},_loadIframe:function(){var tt=tu.coming,ti=tn(tt.tpl.iframe.replace(/\{rnd\}
9/g,new Date().getTime())).attr("scrolling",tp?"auto":tt.iframe.scrolling).attr("src",tt.href);tn(tt.wrap).bind("onReset",function(){try{tn(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(tt){}}),tt.iframe.preload&&(tu.showLoading(),ti.one("load",function(){tn(this).data("ready",1),tp||tn(this).bind("load.fb",tu.update),tn(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),tu._afterLoad()})),tt.content=ti.appendTo(tt.inner),tt.iframe.preload||tu._afterLoad()},_preloadImages:function(){var tt,ti,tn=tu.group,ts=tu.current,ta=tn.length,tl=ts.preload?Math.min(ts.preload,ta-1):0;for(ti=1;ti<=tl;ti+=1)"image"===(tt=tn[(ts.index+ti)%ta]).type&&tt.href&&(new Image().src=tt.href)},_afterLoad:function(){var tt,ti,ts,ta,tl,tc,td=tu.coming,th=tu.current,tp="fancybox-placeholder";if(tu.hideLoading(),td&&!1!==tu.isActive){if(!1===tu.trigger("afterLoad",td,th)){td.wrap.stop(!0).trigger("onReset").remove(),tu.coming=null;return}switch(th&&(tu.trigger("beforeChange",th),th.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),tu.unbindEvents(),tt=td,ti=td.content,ts=td.type,ta=td.scrolling,tn.extend(tu,{wrap:tt.wrap,skin:tt.skin,outer:tt.outer,inner:tt.inner,current:tt,previous:th}),tl=tt.href,ts){case"inline":case"ajax":case"html":tt.selector?ti=tn("<div>").html(ti).find(tt.selector):tf(ti)&&(ti.data(tp)||ti.data(tp,tn('<div class="'+tp+'"></div>').insertAfter(ti).hide()),ti=ti.show().detach(),tt.wrap.bind("onReset",function(){tn(this).find(ti).length&&ti.hide().replaceAll(ti.data(tp)).data(tp,!1)}));break;case"image":ti=tt.tpl.image.replace("{href}",tl);break;case"swf":ti='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+tl+'"></param>',tc="",tn.each(tt.swf,function(tt,tn){ti+='<param name="'+tt+'" value="'+tn+'"></param>',tc+=" "+tt+'="'+tn+'"'}),ti+='<embed src="'+tl+'" type="application/x-shockwave-flash" width="100%" height="100%"'+tc+"></embed></object>"}tf(ti)&&ti.parent().is(tt.inner)||tt.inner.append(ti),tu.trigger("beforeShow"),tt.inner.css("overflow","yes"===ta?"scroll":"no"===ta?"hidden":ta),tu._setDimension(),tu.reposition(),tu.isOpen=!1,tu.coming=null,tu.bindEvents(),tu.isOpened?th.prevMethod&&tu.transitions[th.prevMethod]():tn(".fancybox-wrap").not(tt.wrap).stop(!0).trigger("onReset").remove(),tu.transitions[tu.isOpened?tt.nextMethod:tt.openMethod](),tu._preloadImages()}},_setDimension:function(){var tt,ti,ts,ta,tl,tc,td,th,tp,tf,tm,tv,tw,tx,t_,tT=tu.getViewport(),tk=0,tj=!1,tC=!1,tS=tu.wrap,tE=tu.skin,tO=tu.inner,tP=tu.current,tI=tP.width,tM=tP.height,tA=tP.minWidth,tL=tP.minHeight,t$=tP.maxWidth,tD=tP.maxHeight,tz=tP.scrolling,tN=tP.scrollOutside?tP.scrollbarWidth:0,tH=tP.margin,tR=ty(tH[1]+tH[3]),tB=ty(tH[0]+tH[2]);if(tS.add(tE).add(tO).width("auto").height("auto").removeClass("fancybox-tmp"),tt=ty(tE.outerWidth(!0)-tE.width()),ti=ty(tE.outerHeight(!0)-tE.height()),ts=tR+tt,ta=tB+ti,tl=tg(tI)?(tT.w-ts)*ty(tI)/100:tI,tc=tg(tM)?(tT.h-ta)*ty(tM)/100:tM,"iframe"===tP.type){if(tx=tP.content,tP.autoHeight&&1===tx.data("ready"))try{tx[0].contentWindow.document.location&&(tO.width(tl).height(9999),t_=tx.contents().find("body"),tN&&t_.css("overflow-x","hidden"),tc=t_.outerHeight(!0))}catch(tt){}}else(tP.autoWidth||tP.autoHeight)&&(tO.addClass("fancybox-tmp"),tP.autoWidth||tO.width(tl),tP.autoHeight||tO.height(tc),tP.autoWidth&&(tl=tO.width()),tP.autoHeight&&(tc=tO.height()),tO.removeClass("fancybox-tmp"));if(tI=ty(tl),tM=ty(tc),tp=tl/tc,tA=ty(tg(tA)?ty(tA,"w")-ts:tA),t$=ty(tg(t$)?ty(t$,"w")-ts:t$),tL=ty(tg(tL)?ty(tL,"h")-ta:tL),tD=ty(tg(tD)?ty(tD,"h")-ta:tD),td=t$,th=tD,tP.fitToView&&(t$=Math.min(tT.w-ts,t$),tD=Math.min(tT.h-ta,tD)),tv=tT.w-tR,tw=tT.h-tB,tP.aspectRatio?(tI>t$&&(tM=ty((tI=t$)/tp)),tM>tD&&(tI=ty((tM=tD)*tp)),tI<tA&&(tM=ty((tI=tA)/tp)),tM<tL&&(tI=ty((tM=tL)*tp))):(tI=Math.max(tA,Math.min(tI,t$)),tP.autoHeight&&"iframe"!==tP.type&&(tO.width(tI),tM=tO.height()),tM=Math.max(tL,Math.min(tM,tD))),tP.fitToView){if(tO.width(tI).height(tM),tS.width(tI+tt),tf=tS.width(),tm=tS.height(),tP.aspectRatio)for(;(tf>tv||tm>tw)&&tI>tA&&tM>tL&&!(tk++>19);)(tI=ty((tM=Math.max(tL,Math.min(tD,tM-10)))*tp))<tA&&(tM=ty((tI=tA)/tp)),tI>t$&&(tM=ty((tI=t$)/tp)),tO.width(tI).height(tM),tS.width(tI+tt),tf=tS.width(),tm=tS.height();else tI=Math.max(tA,Math.min(tI,tI-(tf-tv))),tM=Math.max(tL,Math.min(tM,tM-(tm-tw)))}tN&&"auto"===tz&&tM<tc&&tI+tt+tN<tv&&(tI+=tN),tO.width(tI).height(tM),tS.width(tI+tt),tf=tS.width(),tm=tS.height(),tj=(tf>tv||tm>tw)&&tI>tA&&tM>tL,tC=tP.aspectRatio?tI<td&&tM<th&&tI<tl&&tM<tc:(tI<td||tM<th)&&(tI<tl||tM<tc
9),tn.extend(tP,{dim:{width:tb(tf),height:tb(tm)},origWidth:tl,origHeight:tc,canShrink:tj,canExpand:tC,wPadding:tt,hPadding:ti,wrapSpace:tm-tE.outerHeight(!0),skinSpace:tE.height()-tM}),!tx&&tP.autoHeight&&tM>tL&&tM<tD&&!tC&&tO.height("auto")},_getPosition:function(tt){var ti=tu.current,tn=tu.getViewport(),ts=ti.margin,ta=tu.wrap.width()+ts[1]+ts[3],tl=tu.wrap.height()+ts[0]+ts[2],tc={position:"absolute",top:ts[0],left:ts[3]};return ti.autoCenter&&ti.fixed&&!tt&&tl<=tn.h&&ta<=tn.w?tc.position="fixed":ti.locked||(tc.top+=tn.y,tc.left+=tn.x),tc.top=tb(Math.max(tc.top,tc.top+(tn.h-tl)*ti.topRatio)),tc.left=tb(Math.max(tc.left,tc.left+(tn.w-ta)*ti.leftRatio)),tc},_afterZoomIn:function(){var tt=tu.current;tt&&(tu.isOpen=tu.isOpened=!0,tu.wrap.css("overflow","visible").addClass("fancybox-opened"),tu.update(),(tt.closeClick||tt.nextClick&&tu.group.length>1)&&tu.inner.css("cursor","pointer").bind("click.fb",function(ti){tn(ti.target).is("a")||tn(ti.target).parent().is("a")||(ti.preventDefault(),tu[tt.closeClick?"close":"next"]())}),tt.closeBtn&&tn(tt.tpl.closeBtn).appendTo(tu.skin).bind("click.fb",function(tt){tt.preventDefault(),tu.close()}),tt.arrows&&tu.group.length>1&&((tt.loop||tt.index>0)&&tn(tt.tpl.prev).appendTo(tu.outer).bind("click.fb",tu.prev),(tt.loop||tt.index<tu.group.length-1)&&tn(tt.tpl.next).appendTo(tu.outer).bind("click.fb",tu.next)),tu.trigger("afterShow"),tt.loop||tt.index!==tt.group.length-1?tu.opts.autoPlay&&!tu.player.isActive&&(tu.opts.autoPlay=!1,tu.play()):tu.play(!1))},_afterZoomOut:function(tt){tt=tt||tu.current,tn(".fancybox-wrap").trigger("onReset").remove(),tn.extend(tu,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null}),tu.trigger("afterClose",tt)}}),tu.transitions={getOrigPosition:function(){var tt=tu.current,ti=tt.element,tn=tt.orig,ts={},ta=50,tl=50,tc=tt.hPadding,td=tt.wPadding,th=tu.getViewport();return!tn&&tt.isDom&&ti.is(":visible")&&!(tn=ti.find("img:first")).length&&(tn=ti),tf(tn)?(ts=tn.offset(),tn.is("img")&&(ta=tn.outerWidth(),tl=tn.outerHeight())):(ts.top=th.y+(th.h-tl)*tt.topRatio,ts.left=th.x+(th.w-ta)*tt.leftRatio),("fixed"===tu.wrap.css("position")||tt.locked)&&(ts.top-=th.y,ts.left-=th.x),ts={top:tb(ts.top-tc*tt.topRatio),left:tb(ts.left-td*tt.leftRatio),width:tb(ta+td),height:tb(tl+tc)}},step:function(tt,ti){var tn,ts,ta=ti.prop,tl=tu.current,tc=tl.wrapSpace,td=tl.skinSpace;("width"===ta||"height"===ta)&&(tn=ti.end===ti.start?1:(tt-ti.start)/(ti.end-ti.start),tu.isClosing&&(tn=1-tn),ts=tt-("width"===ta?tl.wPadding:tl.hPadding),tu.skin[ta](ty("width"===ta?ts:ts-tc*tn)),tu.inner[ta](ty("width"===ta?ts:ts-tc*tn-td*tn)))},zoomIn:function(){var tt=tu.current,ti=tt.pos,ts=tt.openEffect,ta="elastic"===ts,tl=tn.extend({opacity:1},ti);delete tl.position,ta?(ti=this.getOrigPosition(),tt.openOpacity&&(ti.opacity=.1)):"fade"===ts&&(ti.opacity=.1),tu.wrap.css(ti).animate(tl,{duration:"none"===ts?0:tt.openSpeed,easing:tt.openEasing,step:ta?this.step:null,complete:tu._afterZoomIn})},zoomOut:function(){var tt=tu.current,ti=tt.closeEffect,tn="elastic"===ti,ts={opacity:.1};tn&&(ts=this.getOrigPosition(),tt.closeOpacity&&(ts.opacity=.1)),tu.wrap.animate(ts,{duration:"none"===ti?0:tt.closeSpeed,easing:tt.closeEasing,step:tn?this.step:null,complete:tu._afterZoomOut})},changeIn:function(){var tt,ti=tu.current,tn=ti.nextEffect,ts=ti.pos,ta={opacity:1},tl=tu.direction,tc=200;ts.opacity=.1,"elastic"===tn&&(tt="down"===tl||"up"===tl?"top":"left","down"===tl||"right"===tl?(ts[tt]=tb(ty(ts[tt])-tc),ta[tt]="+="+tc+"px"):(ts[tt]=tb(ty(ts[tt])+tc),ta[tt]="-="+tc+"px")),"none"===tn?tu._afterZoomIn():tu.wrap.css(ts).animate(ta,{duration:ti.nextSpeed,easing:ti.nextEasing,complete:tu._afterZoomIn})},changeOut:function(){var tt=tu.previous,ti=tt.prevEffect,ts={opacity:.1},ta=tu.direction,tl=200;"elastic"===ti&&(ts["down"===ta||"up"===ta?"top":"left"]=("up"===ta||"left"===ta?"-":"+")+"="+tl+"px"),tt.wrap.animate(ts,{duration:"none"===ti?0:tt.prevSpeed,easing:tt.prevEasing,complete:function(){tn(this).trigger("onReset").remove()}})}},tu.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!tp,fixed:!0},overlay:null,fixed:!1,el:tn("html"),create:function(tt){tt=tn.extend({},this.defaults,tt),this.overlay&&this.close(),this.overlay=tn('<div class="fancybox-overlay"></div>').appendTo(tu.coming?tu.coming.parent:tt.parent),this.fixed=!1,tt.fixed&&tu.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(tt){var ti=this;tt=tn.extend({},this.defaults,tt),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(tt),this.fixed||(tl.bind("resize.overlay",tn.proxy(this.update,this)),this.update()),tt.closeClick&&this.overlay.bind("click.overlay",function(tt){if(tn(tt.target).hasClass("fancybox-overlay"))return tu.isActive?tu.close():ti.close(),!1}),this.overlay.css(tt.css).show()},close:function(){var tt,ti;tl.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(tn(".fancybox-margin").removeClass("fancybox-margin"),tt=tl.scrollTop(),ti=tl.scrollLeft(),this.el.removeClass("fancybox-lock"),tl.scrollTop(tt).scrollLeft(ti)),tn(".fancybox-overlay").remove().hide(),tn.extend(this,{overlay:null,fixed:!1})},update:function(){var tt,tn="100%";this.overlay.width(tn).height("100%"),td?(tt=Math.max(ti.documentElement.offsetWidth,ti.body.offsetWidth),tc.width()>tt&&(tn=tc.width())):tc.width()>tl.width()&&(tn=tc.width()),this.overlay.width(tn).height(tc.height())},onReady:function(tt,ti){var ts=this.overlay;tn(".fancybox-overlay").stop(!0,!0),ts||this.create(tt),tt.locked&&this.fixed&&ti.fixed&&(ts||(this.margin=tc.height()>tl.height()&&tn("html").css("margin-right").replace("px","")),ti.locked=this.overlay.append(ti.wrap),ti.fixed=!1),!0===tt.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(tt,ti){var ts,ta;ti.locked&&(!1!==this.margin&&(tn("*").filter(function(){return"fixed"===tn(this).css("position")&&!tn(this).hasClass("fancybox-overlay")&&!tn(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),ts=tl.scrollTop(),ta=tl.scrollLeft(),this.el.addClass("fancybox-lock"),tl.scrollTop(ts).scrollLeft(ta)),this.open(tt)}
9,onUpdate:function(){this.fixed||this.update()},afterClose:function(tt){this.overlay&&!tu.coming&&this.overlay.fadeOut(tt.speedOut,tn.proxy(this.close,this))}},tu.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(tt){var ti,ts,ta=tu.current,tl=ta.title,tc=tt.type;if(tn.isFunction(tl)&&(tl=tl.call(ta.element,ta)),tm(tl)&&""!==tn.trim(tl)){switch(ti=tn('<div class="fancybox-title fancybox-title-'+tc+'-wrap">'+tl+"</div>"),tc){case"inside":ts=tu.skin;break;case"outside":ts=tu.wrap;break;case"over":ts=tu.inner;break;default:ts=tu.skin,ti.appendTo("body"),td&&ti.width(ti.width()),ti.wrapInner('<span class="child"></span>'),tu.current.margin[2]+=Math.abs(ty(ti.css("margin-bottom")))}ti["top"===tt.position?"prependTo":"appendTo"](ts)}}},tn.fn.fancybox=function(tt){var ti,ts=tn(this),ta=this.selector||"",tl=function(tl){var tc,td,th=tn(this).blur(),tp=ti;tl.ctrlKey||tl.altKey||tl.shiftKey||tl.metaKey||th.is(".fancybox-wrap")||(tc=tt.groupAttr||"data-fancybox-group",(td=th.attr(tc))||(tc="rel",td=th.get(0)[tc]),td&&""!==td&&"nofollow"!==td&&(tp=(th=(th=ta.length?tn(ta):ts).filter("["+tc+'="'+td+'"]')).index(this)),tt.index=tp,!1!==tu.open(th,tt)&&tl.preventDefault())};return ti=(tt=tt||{}).index||0,ta&&!1!==tt.live?tc.undelegate(ta,"click.fb-start").delegate(ta+":not('.fancybox-item, .fancybox-nav')","click.fb-start",tl):ts.unbind("click.fb-start").bind("click.fb-start",tl),this.filter("[data-fancybox-start=1]").trigger("click"),this},tc.ready(function(){var ti,tl;ts===tn.scrollbarWidth&&(tn.scrollbarWidth=function(){var tt=tn('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),ti=tt.children(),ts=ti.innerWidth()-ti.height(99).innerWidth();return tt.remove(),ts}),ts===tn.support.fixedPosition&&(tn.support.fixedPosition=function(){var tt=tn('<div style="position:fixed;top:20px;"></div>').appendTo("body"),ti=20===tt[0].offsetTop||15===tt[0].offsetTop;return tt.remove(),ti}()),tn.extend(tu.defaults,{scrollbarWidth:tn.scrollbarWidth(),fixed:tn.support.fixedPosition,parent:tn("body")}),ti=tn(tt).width(),ta.addClass("fancybox-lock-test"),tl=tn(tt).width(),ta.removeClass("fancybox-lock-test"),tn("<style type='text/css'>.fancybox-margin{margin-right:"+(tl-ti)+"px;}</style>").appendTo("head")})}(window,document,jQuery),!/*!
10  Colorbox 1.6.4
11  license: MIT
12  http://www.jacklmoore.com/colorbox
13*/function(tt,ti,tn){function ts(tn,ts,ta){var tl=ti.createElement(tn);return ts&&(tl.id=t6+ts),ta&&(tl.style.cssText=ta),tt(tl)}function ta(){return tn.innerHeight?tn.innerHeight:tt(tn).height()}function tl(ti,tn){tn!==Object(tn)&&(tn={}),this.cache={},this.el=ti,this.value=function(ti){var ts;return void 0===this.cache[ti]&&(void 0!==(ts=tt(this.el).attr("data-cbox-"+ti))?this.cache[ti]=ts:void 0!==tn[ti]?this.cache[ti]=tn[ti]:void 0!==t0[ti]&&(this.cache[ti]=t0[ti])),this.cache[ti]},this.get=function(ti){var tn=this.value(ti);return tt.isFunction(tn)?tn.call(this.el,this):tn}}function tc(tt){var ti=tO.length,tn=(tq+tt)%ti;return 0>tn?ti+tn:tn}function tu(tt,ti){return Math.round((/%/.test(tt)?("x"===ti?tP.width():ta())/100:1)*parseInt(tt,10))}function td(tt,ti){return tt.get("photo")||tt.get("photoRegex").test(ti)}function th(tt,ti){return tt.get("retinaUrl")&&tn.devicePixelRatio>1?ti.replace(tt.get("photoRegex"),tt.get("retinaSuffix")):ti}function tp(tt){"contains"in t_[0]&&!t_[0].contains(tt.target)&&tt.target!==tx[0]&&(tt.stopPropagation(),t_.focus())}function tf(tt){tf.str!==tt&&(t_.add(tx).removeClass(tf.str).addClass(tt),tf.str=tt)}function tm(ti){tq=0,ti&&!1!==ti&&"nofollow"!==ti?-1===(tq=(tO=tt("."+t4).filter(function(){var tn=tt.data(this,t1);return new tl(this,tn).get("rel")===ti})).index(tB.el))&&(tq=(tO=tO.add(tB.el)).length-1):tO=tt(tB.el)}function tg(tn){tt(ti).trigger(tn),et.triggerHandler(tn)}function tv(tn){var ta;if(!tX){if(ta=tt(tn).data(t1),tm((tB=new tl(tn,ta)).get("rel")),!tQ){tQ=tY=!0,tf(tB.get("className")),t_.css({visibility:"hidden",display:"block",opacity:""}),tI=ts(ei,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),tk.css({width:"",height:""}).append(tI),tF=tj.height()+tE.height()+tk.outerHeight(!0)-tk.height(),tW=tC.width()+tS.width()+tk.outerWidth(!0)-tk.width(),tV=tI.outerHeight(!0),tU=tI.outerWidth(!0);var tc=tu(tB.get("initialWidth"),"x"),td=tu(tB.get("initialHeight"),"y"),th=tB.get("maxWidth"),tv=tB.get("maxHeight");tB.w=Math.max((!1!==th?Math.min(tc,tu(th,"x")):tc)-tU-tW,0),tB.h=Math.max((!1!==tv?Math.min(td,tu(tv,"y")):td)-tV-tF,0),tI.css({width:"",height:tB.h}),tJ.position(),tg(t2),tB.get("onOpen"),tR.add(tL).hide(),t_.focus(),tB.get("trapFocus")&&ti.addEventListener&&(ti.addEventListener("focus",tp,!0),et.one(t3,function(){ti.removeEventListener("focus",tp,!0)})),tB.get("returnFocus")&&et.one(t3,function(){tt(tB.el).focus()})}var ty=parseFloat(tB.get("opacity"));tx.css({opacity:ty==ty?ty:"",cursor:tB.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),tB.get("closeButton")?tH.html(tB.get("close")).appendTo(tk):tH.appendTo("<div/>"),tw()}}function ty(){t_||(tZ=!1,tP=tt(tn),t_=ts(ei).attr({id:t1,class:!1===tt.support.opacity?t6+"IE":"",role:"dialog",tabindex:"-1"}).hide(),tx=ts(ei,"Overlay").hide(),tA=tt([ts(ei,"LoadingOverlay")[0],ts(ei,"LoadingGraphic")[0]]),tT=ts(ei,"Wrapper"),tk=ts(ei,"Content").append(tL=ts(ei,"Title"),t$=ts(ei,"Current"),tN=tt('<button type="button"/>').attr({id:t6+"Previous"}),tz=tt('<button type="button"/>').attr({id:t6+"Next"}),tD=tt('<button type="button"/>').attr({id:t6+"Slideshow"}),tA),tH=tt('<button type="button"/>').attr({id:t6+"Close"}),tT.append(ts(ei).append(ts(ei,"TopLeft"),tj=ts(ei,"TopCenter"),ts(ei,"TopRight")),ts(ei,!1,"clear:left").append(tC=ts(ei,"MiddleLeft"),tk,tS=ts(ei,"MiddleRight")),ts(ei,!1,"clear:left").append(ts(ei,"BottomLeft"),tE=ts(ei,"BottomCenter"),ts(ei,"BottomRight"))).find("div div").css({float:"left"}),tM=ts(ei,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),tR=tz.add(tN).add(t$).add(tD)),ti.body&&!t_.parent().length&&tt(ti.body).append(tx,t_.append(tT,tM))}function tb(){function tn(tt){tt.which>1||tt.shiftKey||tt.altKey||tt.metaKey||tt.ctrlKey||(tt.preventDefault(),tv(this))}return!!t_&&(tZ||(tZ=!0,tz.click(function(){tJ.next()}),tN.click(function(){tJ.prev()}),tH.click(function(){tJ.close()}),tx.click(function(){tB.get("overlayClose")&&tJ.close()}),tt(ti).bind("keydown."+t6,function(tt){var ti=tt.keyCode;tQ&&tB.get("escKey")&&27===ti&&(tt.preventDefault(),tJ.close()),tQ&&tB.get("arrowKey")&&tO[1]&&!tt.altKey&&
vendor: 5,517 bytes, line 13
13(37===ti?(tt.preventDefault(),tN.click()):39===ti&&(tt.preventDefault(),tz.click()))}),tt.isFunction(tt.fn.on)?tt(ti).on("click."+t6,"."+t4,tn):tt("."+t4).live("click."+t6,tn)),!0)}function tw(){var ti,ta,tl,tc=tJ.prep,tp=++en;if(tY=!0,tG=!1,tg(t9),tg(t5),tB.get("onLoad"),tB.h=tB.get("height")?tu(tB.get("height"),"y")-tV-tF:tB.get("innerHeight")&&tu(tB.get("innerHeight"),"y"),tB.w=tB.get("width")?tu(tB.get("width"),"x")-tU-tW:tB.get("innerWidth")&&tu(tB.get("innerWidth"),"x"),tB.mw=tB.w,tB.mh=tB.h,tB.get("maxWidth")&&(tB.mw=tu(tB.get("maxWidth"),"x")-tU-tW,tB.mw=tB.w&&tB.w<tB.mw?tB.w:tB.mw),tB.get("maxHeight")&&(tB.mh=tu(tB.get("maxHeight"),"y")-tV-tF,tB.mh=tB.h&&tB.h<tB.mh?tB.h:tB.mh),ti=tB.get("href"),tK=setTimeout(function(){tA.show()},100),tB.get("inline")){var tf=tt(ti).eq(0);tl=tt("<div>").hide().insertBefore(tf),et.one(t9,function(){tl.replaceWith(tf)}),tc(tf)}else tB.get("iframe")?tc(" "):tB.get("html")?tc(tB.get("html")):td(tB,ti)?(ti=th(tB,ti),tt(tG=tB.get("createImg")).addClass(t6+"Photo").bind("error."+t6,function(){tc(ts(ei,"Error").html(tB.get("imgError")))}).one("load",function(){tp===en&&setTimeout(function(){var ti;tB.get("retinaImage")&&tn.devicePixelRatio>1&&(tG.height=tG.height/tn.devicePixelRatio,tG.width=tG.width/tn.devicePixelRatio),tB.get("scalePhotos")&&(ta=function(){tG.height-=tG.height*ti,tG.width-=tG.width*ti},tB.mw&&tG.width>tB.mw&&(ti=(tG.width-tB.mw)/tG.width,ta()),tB.mh&&tG.height>tB.mh&&(ti=(tG.height-tB.mh)/tG.height,ta())),tB.h&&(tG.style.marginTop=Math.max(tB.mh-tG.height,0)/2+"px"),tO[1]&&(tB.get("loop")||tO[tq+1])&&(tG.style.cursor="pointer",tt(tG).bind("click."+t6,function(){tJ.next()})),tG.style.width=tG.width+"px",tG.style.height=tG.height+"px",tc(tG)},1)}),tG.src=ti):ti&&tM.load(ti,tB.get("data"),function(ti,tn){tp===en&&tc("error"===tn?ts(ei,"Error").html(tB.get("xhrError")):tt(this).contents())})}var tx,t_,tT,tk,tj,tC,tS,tE,tO,tP,tI,tM,tA,tL,t$,tD,tz,tN,tH,tR,tB,tF,tW,tV,tU,tq,tG,tQ,tY,tX,tK,tJ,tZ,t0={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return tt(this).attr("href")},title:function(){return this.title},createImg:function(){var ti=new Image,tn=tt(this).data("cbox-img-attrs");return"object"==typeof tn&&tt.each(tn,function(tt,tn){ti[tt]=tn}),ti},createIframe:function(){var tn=ti.createElement("iframe"),ts=tt(this).data("cbox-iframe-attrs");return"object"==typeof ts&&tt.each(ts,function(tt,ti){tn[tt]=ti}),"frameBorder"in tn&&(tn.frameBorder=0),"allowTransparency"in tn&&(tn.allowTransparency="true"),tn.name=(new Date).getTime(),tn.allowFullscreen=!0,tn}},t1="colorbox",t6="cbox",t4=t6+"Element",t2=t6+"_open",t5=t6+"_load",t8=t6+"_complete",t7=t6+"_cleanup",t3=t6+"_closed",t9=t6+"_purge",et=tt("<a/>"),ei="div",en=0,eo={},er=function(){function tt(){clearTimeout(tc)}function ti(){(tB.get("loop")||tO[tq+1])&&(tt(),tc=setTimeout(tJ.next,tB.get("slideshowSpeed")))}function tn(){tD.html(tB.get("slideshowStop")).unbind(td).one(td,ts),et.bind(t8,ti).bind(t5,tt),t_.removeClass(tu+"off").addClass(tu+"on")}function ts(){tt(),et.unbind(t8,ti).unbind(t5,tt),tD.html(tB.get("slideshowStart")).unbind(td).one(td,function(){tJ.next(),tn()}),t_.removeClass(tu+"on").addClass(tu+"off")}function ta(){tl=!1,tD.hide(),tt(),et.unbind(t8,ti).unbind(t5,tt),t_.removeClass(tu+"off "+tu+"on")}var tl,tc,tu=t6+"Slideshow_",td="click."+t6;return function(){tl?tB.get("slideshow")||(et.unbind(t7,ta),ta()):tB.get("slideshow")&&tO[1]&&(tl=!0,et.one(t7,ta),tB.get("slideshowAuto")?tn():ts(),tD.show())}}();tt[t1]||(tt(ty),(tJ=tt.fn[t1]=tt[t1]=function(ti,tn){var ts=this;return ti=ti||{},tt.isFunction(ts)&&(ts=tt("<a/>"),ti.open=!0),ts[0]&&(ty(),tb()&&(tn&&(ti.onComplete=tn),ts.each(function(){var tn=tt.data(this,t1)||{};tt.data(this,t1,tt.extend(tn,ti))}).addClass(t4),new tl(ts[0],ti).get("open")&&tv(ts[0]))),ts}).position=function(ti,tn){function ts(){tj[0].style.width=tE[0].style.width=tk[0].style.width=parseInt(t_[0].style.width,10)-tW+"px",tk[0].style.height=tC[0].style.height=tS[0].style.height=parseInt(t_[0].style.height,10)-tF+"px"}var tl,tc,td,th=0,tp=0,tf=t_.offset();if(tP.unbind("resize."+t6),t_.css({top:-9e4,left:-9e4}),tc=tP.scrollTop(),td=tP.scrollLeft(),tB.get("fixed")?(tf.top-=tc,tf.left-=td,t_.css({position:"fixed"})):(th=tc,tp=td,t_.css({position:"absolute"})),tp+=!1!==tB.get("right")?Math.max(tP.width()-tB.w-tU-tW-tu(tB.get("right"),"x"),0):!1!==tB.get("left")?tu(tB.get("left"),"x"):Math.round(Math.max(tP.width()-tB.w-tU-tW,0)/2),th+=!1!==tB.get("bottom")?Math.max(ta()-tB.h-tV-tF-tu(tB.get("bottom"),"y"),0):!1!==tB.get("top")?tu(tB.get("top"),"y"):Math.round(Math.max(ta()-tB.h-tV-tF,0)/2),t_.css({top:tf.top,left
13:tf.left,visibility:"visible"}),tT[0].style.width=tT[0].style.height="9999px",tl={width:tB.w+tU+tW,height:tB.h+tV+tF,top:th,left:tp},ti){var tm=0;tt.each(tl,function(tt){return tl[tt]!==eo[tt]?void(tm=ti):void 0}),ti=tm}eo=tl,ti||t_.css(tl),t_.dequeue().animate(tl,{duration:ti||0,complete:function(){ts(),tY=!1,tT[0].style.width=tB.w+tU+tW+"px",tT[0].style.height=tB.h+tV+tF+"px",tB.get("reposition")&&setTimeout(function(){tP.bind("resize."+t6,tJ.position)},1),tt.isFunction(tn)&&tn()},step:ts})},tJ.resize=function(tt){var ti;tQ&&((tt=tt||{}).width&&(tB.w=tu(tt.width,"x")-tU-tW),tt.innerWidth&&(tB.w=tu(tt.innerWidth,"x")),tI.css({width:tB.w}),tt.height&&(tB.h=tu(tt.height,"y")-tV-tF),tt.innerHeight&&(tB.h=tu(tt.innerHeight,"y")),tt.innerHeight||tt.height||(ti=tI.scrollTop(),tI.css({height:"auto"}),tB.h=tI.height()),tI.css({height:tB.h}),ti&&tI.scrollTop(ti),tJ.position("none"===tB.get("transition")?0:tB.get("speed")))},tJ.prep=function(tn){function ta(){return tB.w=tB.w||tI.width(),tB.w=tB.mw&&tB.mw<tB.w?tB.mw:tB.w,tB.w}function tu(){return tB.h=tB.h||tI.height(),tB.h=tB.mh&&tB.mh<tB.h?tB.mh:tB.h,tB.h}if(tQ){var tp,tm="none"===tB.get("transition")?0:tB.get("speed");tI.remove(),(tI=ts(ei,"LoadedContent").append(tn)).hide().appendTo(tM.show()).css({width:ta(),overflow:tB.get("scrolling")?"auto":"hidden"}).css({height:tu()}).prependTo(tk),tM.hide(),tt(tG).css({float:"none"}),tf(tB.get("className")),tp=function(){function tn(){!1===tt.support.opacity&&t_[0].style.removeAttribute("filter")}var ts,ta,tu=tO.length;tQ&&(ta=function(){clearTimeout(tK),tA.hide(),tg(t8),tB.get("onComplete")},tL.html(tB.get("title")).show(),tI.show(),tu>1?("string"==typeof tB.get("current")&&t$.html(tB.get("current").replace("{current}",tq+1).replace("{total}",tu)).show(),tz[tB.get("loop")||tu-1>tq?"show":"hide"]().html(tB.get("next")),tN[tB.get("loop")||tq?"show":"hide"]().html(tB.get("previous")),er(),tB.get("preloading")&&tt.each([tc(-1),tc(1)],function(){var tn=tO[this],ts=new tl(tn,tt.data(tn,t1)),ta=ts.get("href");ta&&td(ts,ta)&&(ta=th(ts,ta),ti.createElement("img").src=ta)})):tR.hide(),tB.get("iframe")?(ts=tB.get("createIframe"),tB.get("scrolling")||(ts.scrolling="no"),tt(ts).attr({src:tB.get("href"),class:t6+"Iframe"}).one("load",ta).appendTo(tI),et.one(t9,function(){ts.src="//about:blank"}),tB.get("fastIframe")&&tt(ts).trigger("load")):ta(),"fade"===tB.get("transition")?t_.fadeTo(tm,1,tn):tn())},"fade"===tB.get("transition")?t_.fadeTo(tm,0,function(){tJ.position(0,tp)}):tJ.position(tm,tp)}},tJ.next=function(){!tY&&tO[1]&&(tB.get("loop")||tO[tq+1])&&tv(tO[tq=tc(1)])},tJ.prev=function(){!tY&&tO[1]&&(tB.get("loop")||tq)&&tv(tO[tq=tc(-1)])},tJ.close=function(){tQ&&!tX&&(tX=!0,tQ=!1,tg(t7),tB.get("onCleanup"),tP.unbind("."+t6),tx.fadeTo(tB.get("fadeOut")||0,0),t_.stop().fadeTo(tB.get("fadeOut")||0,0,function(){t_.hide(),tx.hide(),tg(t9),tI.remove(),setTimeout(function(){tX=!1,tg(t3),tB.get("onClosed")},1)}))},tJ.remove=function(){t_&&(t_.stop(),tt[t1].close(),t_.stop(!1,!0).remove(),tx.remove(),tX=!1,t_=null,tt("."+t4).removeData(t1).removeClass(t4),tt(ti).unbind("click."+t6).unbind("keydown."+t6))},tJ.element=function(){return tt(tB.el)},tJ.settings=t0)}(jQuery,document,window),!function(tt){"use strict";let ti=tt('<style type="text/css">.mm-menu.mm-offcanvas { display: none; }</style>');function tn(){tt("nav.mm-menu a.mm-prev").each(function(){let ti=tt(this).parent().find("a.mm-title").text();tt(this).attr("title",ti)}),tt("nav.mm-menu a.mm-next").each(function(){let ti=tt("> a[data-title]",tt(this).parent()).data("title");tt(this).attr("title",ti)}),tt("nav.mm-menu a.mm-close").length>0&&tt("nav.mm-menu a.mm-close").attr("title","Close"),ts()}function ts(){let ti=tt(".navigation-a");ti.length&&tt(".navigation-a > .navigation__list > .navigation__item.has-drop-down").on("mouseenter mouseleave",function(ti){let tn=tt(this),ts=tn.find("> .navigation__list--sub"),ta=ts.find("> .navigation__item.has-drop-down > .navigation__list--sub"),tl=ta.find("> .navigation__item.has-drop-down > .navigation__list--sub"),tc=ts.outerWidth(!0),tu=tn.offset().left,td=60,th=0,tp=0;tt(ta).each(function(){let ti=tt(this).outerWidth(!0);ti>tp&&(tp=ti)});let tf=0;tt(tl).each(function(){let ti=tt(this).outerWidth(!0);ti>tf&&(tf=ti)}),th=tc+tp+tf-tn.outerWidth(!0);let tm=tt(document).width()-(tu+tn.outerWidth(!0)+td),tg=tm>th;tg?tn.removeClass("near-edge"):tn.addClass("near-edge")})}tt("html > head").append(ti),tt(document).ready(function(){tt("[data-sticky-header]").closest(".
13js-sticky-nav").sticky({topSpacing:0}),tt(".navigation__item.more").click(function(tt){tt.preventDefault()}),tt(".more_nav--loading").removeClass("more_nav--loading"),tn()}),tt(window).load(function(){tn()})}(window.jQuery),!function(tt){var ti=function(ti,tn){this.$el=tt(ti),this.inputAttributes=tn.attributes,this.options=tn||{},this.config={fail:'<span class="error"><i class="la-cicon-exclamation" aria-hidden="true"></i>Oops! Upload failed</span>',notSupported:'<span class="error"><i class="la-cicon-exclamation" aria-hidden="true"></i>File type not supported</span>',maxSize:'<span class="error"><i class="la-cicon-exclamation" aria-hidden="true"></i>File exceeds max size</span>',fileSize:10485760,fileTypes:tn.fileTypes,defaultLabel:""==this.options.label?this.options.label:this.options.helpText},this.itemInfo={},this.insertHTML(this.inputAttributes),this.$uploadFieldInput=this.$el.find(":file"),this.$label=this.$el.find(".labelHolder"),this.$close=this.$el.find(".la-cicon-close"),this.init(this.$el)};ti.prototype.init=function(tt){var ti=this;ti.attachEvents()},ti.prototype.attachEvents=function(){var ti=this;ti.$el.on("change",":file",function(){var ti=tt(this),tn=ti.get(0).files?ti.get(0).files.length:1,ts=ti.val().replace(/\\/g,"/").replace(/.*\//,""),ta=document.getElementById(ti.attr("id")).files[0];ta&&ti.trigger("fileselect",[tn,ts,ta])}),ti.$uploadFieldInput.on("fileselect",function(tt,tn,ts,ta){ti.validateFiles(tt,tn,ts,ta)}),ti.$uploadFieldInput.on("focus",function(){ti.$uploadFieldInput.addClass("has-focus")}).on("blur",function(){ti.$uploadFieldInput.removeClass("has-focus")}),ti.$close.on("click",function(tt){tt.preventDefault(),ti.toggleInputState("reset"),ti.uploadItems("removeLastUploaded"),ti.$uploadFieldInput.val("")})},ti.prototype.uploadItems=function(tt){var ti=this;"object"!=typeof tt?ti.$uploadFieldInput.data("item",""):(ti.$uploadFieldInput.data("item",JSON.stringify(tt)),ti.toggleInputState("close"))},ti.prototype.toggleInputState=function(tt){var ti=this;"reset"===tt&&(tt="upload",ti.$label.html(ti.config.defaultLabel)),this.$el.find(".la-cicon-"+tt).show(),this.$el.find(".la-cicon-"+tt).siblings("i").hide(),"upload"===tt?this.$el.find(".status-label").show():this.$el.find(".status-label").hide()},ti.prototype.encodeBaseSF=function(tt,ti,tn){var ts=this,ta=new FileReader,tl={};ta.readAsDataURL(tt),ta.onload=function(){return tl.id=ti,tl.string=ta.result,tl.size=tt.size,tl.extension=ts.itemInfo.extension,tl.icon=ts.itemInfo.icon,tn(tl)},ta.onerror=function(tt){}},ti.prototype.insertHTML=function(ti){this.options.required;var tn='<label for="'+ti.id+'"><span class="labelHolder">'+this.config.defaultLabel+'</span><span class="btnS"><span class=""><i class="la-cicon-spinner icon-pulse icon-fw icon-load" style="display:none;"></i><i class="la-cicon-upload"></i><i class="la-cicon-close" style="display:none;"></i><span class="status-label"> Browse</span></span></span></label><span class="form-input-info">Maximum file size allowed: 10MB</label>',ts=tt("<input>",ti).addClass("fileUpload");this.$el.append(ts).append(tn)},ti.prototype.validateFiles=function(ti,tn,ts,ta){var tl=this,tc=tl.$label.html(),tu="",td=!1;tt("label",tl.$el).removeClass("has-error"),tt(".error_container",tl.$el.parent().parent()).remove(),tl.itemInfo.extension=ta.name.split(".").pop().toUpperCase(),tl.itemInfo.icon="other",tt.each(tl.options.fileTypes,function(tt,ti){ti.ext===tl.itemInfo.extension&&(td=!0,tl.itemInfo.icon=ti.icon)}),ti.target.value&&(tu=ti.target.value.split("\\").pop());var th='<span class="success"><i class="la-cicon-file-'+tl.itemInfo.icon+'"></i>'+tu+"</span>";tu?(ta.size>tl.config.fileSize?tl.updateLabel(tl.config.maxSize):td?tl.encodeBaseSF(ta,tu,function(tt){tl.uploadItems(tt),tl.updateLabel(th)}):tl.updateLabel(tl.config.notSupported),tl.toggleInputState("close")):(tl.$label.html(tc),tl.toggleInputState("load"))},ti.prototype.updateLabel=function(tt){var ti=this;void 0!==tt&&ti.$label.html(tt)};var tn=tt.fn.uploadField;tt.fn.uploadField=function(tn){tn=tt.extend({},tt(this).data(),"object"==typeof tn&&tn),new ti(this,tn)},tt.fn.uploadField.Constructor=ti,tt.fn.uploadField.noConflict=function(){return tt.fn.uploadField=tn,this}}(jQuery),function(tt){"use strict";tt(document).ready(function(){tt("body").on("SMBLeadsFormReady",function(){var ti=tt('[data-control
13="form"]');if(ti.length){ti.each(function(){""!=tt(this).data("mhorgid")&&(tt("<input>").attr({type:"hidden",name:"mh_orgId",value:tt(this).data("mhorgid")}).appendTo(tt("form",tt(this))),tt("<input>").attr({type:"hidden",name:"mh_template_id",value:tt(this).data("templateId")}).appendTo(tt("form",tt(this))))});var tn=ti.find("form");tn.find("input[type=submit]").on("click",function(ti){var ta=tn.serializeArray(),tl={};tt.each(ta,function(tt,ti){tl[ti.name]=ti.value});let tc=document.getElementById("error-form-dialog"),tu=document.getElementById("p-error-message"),td=document.getElementById("close-dialog");if(td.addEventListener("click",()=>{tc.close(),document.body.style.overflow="auto"}),ts(tl)){var th="Error: Your message could not be delivered because it contains a link to an external website. Please review your message and try again.";tu.innerHTML=th,tc.showModal(),document.body.style.overflow="hidden",tc.style.display="block",ti.preventDefault()}})}tt(".leadForm .hasDatepicker").each(function(){tt(this).attr({type:"text",readonly:"readonly"})})});var ti=tt(".form.isPleForm");ti.length&&ti.each(function(){var ti=tt(this).closest(".section");ti.hasClass("section-form")||ti.addClass("section-form")});var tn=tt(".section-form:not(.newsletter-2-fields):not(.newsletter-3-fields):not(.contact-us-im):not(.appointment-request):not(.exclusive-offer):not(.pet-memorial):not(.form-default)");function ts(tt){if(!("comments"in tt))return!1;var ti=function(){var tt="((https?|ftp):\\/\\/)?";return RegExp(tt+="([a-z0-9+!*(),;?&=$_.-]+(:[a-z0-9+!*(),;?&=$_.-]+)?@)?([a-z0-9-.]*)\\.([a-z]{2,3})(:[0-9]{2,5})?(\\/([a-z0-9+$_-]\\.?)+)*\\/?(\\?[a-z+&$_.-][a-z0-9;:@&%=+\\/$_.-]*)?(#[a-z_.-][a-z0-9+$_.-]*)?","i")}();return!!tt.comments.match(ti)}tn.length&&ti.length&&tn.each(function(){tt(this).find(ti).addClass("form-themeExtras"),tt("body").on("SMBLeadsFormReady",function(){var tn=tt(".forms--2col-textarea:not(.newsletter-2-fields):not(.newsletter-3-fields):not(.contact-us-im):not(.appointment-request):not(.exclusive-offer):not(.pet-memorial):not(.form-default)"),ts=tt(".forms-option--b .leadForm .form__group:not(.checkbox__group):not(.radio__group)");tn.find(ti).each(function(){tt(this).find(".form__group").not(".form-input-comments").wrapAll("<div class='groupWrap' />")}),ts.each(function(){tt(this).hasClass("hasLabel")&&tt(this).addClass("optionB-enabled")})})})})}(window.jQuery),function(tt){"use strict";var ti=function(tt,ti){this.$el=tt,this.$parent=tt.closest(".cta"),this.options=ti,this.ctaVideo="",this.initColorbox()};ti.prototype.initColorbox=function(){var tn=this;tn.$parent.find(".lb-class").each(function(){tt(this).colorbox(tt.extend(ti.defaults,tt(tt(this).attr("href")).data()))}),tt(document).bind("cbox_complete",{context:this},this.cboxOpenCallBack),tt(document).bind("cbox_closed",{context:this},this.cboxClosedCallBack)},ti.prototype.cboxOpenCallBack=function(tt){tt.data.context.formSizeHandler(tt),tt.data.context.videoLoadHandler(tt)},ti.prototype.cboxClosedCallBack=function(ti){var tn=tt.colorbox.element().attr("href");tt(tn+" [data-setup-run]").each(function(){tt(this).remove()})},ti.prototype.formSizeHandler=function(ti){var tn=tt.colorbox.element().attr("href"),ts=tt(tn).find("form"),ta=new MutationObserver(function(ti){tt.colorbox.resize()}),tl=document.querySelector(ts.selector);null!=tl&&ta.observe(tl,{attributes:!0})},ti.prototype.videoLoadHandler=function(ti){var tn=tt.colorbox.element().attr("href");if(tt(tn+" [data-setup-run]").length&&(ti.data.context.ctaVideo=tt(tn+" [data-setup-run]")[0].outerHTML,tt(tn+" [data-setup-run]").remove()),ti.data.context.ctaVideo){tt(tn+" .video").append(tt(ti.data.context.ctaVideo));var ts=tt(tn+" [data-setup-run]");videojs(ts[0],ts.data("setupRun"),function(){})}},ti.defaults={inline:!0,width:"50%",transition:"fade",returnFocus:!1,className:"ctaColorBox"},tt.fn.colorBoxModal=function(tn){var ts;return arguments,this.each(function(){var ta=tt(this),tl=tt.extend({},ta.data(),"object"==typeof tn&&tn),tc="";if(ta.data("ColorBoxModal",tc=new ti(ta,tl)),void 0!==ts)return!1}),ts||this},tt.fn.colorBoxModal.Constructor=ti,tt.fn.colorBoxModal.noConflict=function(){return tt.fn.colorBoxModal=old,this}
13,tt(document).ready(function(){tt('[data-control="colorbox-modal"]').colorBoxModal({})})}(window.jQuery),/**
14 * @license
15 * Video.js 5.10.2 <http://videojs.com/>
16 * Copyright Brightcove, Inc. <https://www.brightcove.com/>
17 * Available under Apache License Version 2.0
18 * <https://github.com/videojs/video.js/blob/master/LICENSE>
19 *
20 * Includes vtt.js <https://github.com/mozilla/vtt.js>
21 * Available under Apache License Version 2.0
22 * <https://github.com/mozilla/vtt.js/blob/master/LICENSE>
23 */!function(tt){"object"==typeof exports&&"undefined"!=typeof module?module.exports=tt():"function"==typeof define&&define.amd?define([],tt):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).videojs=tt()}(function(){var tt;return(function tt(ti,tn,ts){function ta(tc,tu){if(!tn[tc]){if(!ti[tc]){var td="function"==typeof require&&require;if(!tu&&td)return td(tc,!0);if(tl)return tl(tc,!0);var th=Error("Cannot find module '"+tc+"'");throw th.code="MODULE_NOT_FOUND",th}var tp=tn[tc]={exports:{}};ti[tc][0].call(tp.exports,function(tt){return ta(ti[tc][1][tt]||tt)},tp,tp.exports,tt,ti,tn,ts)}return tn[tc].exports}for(var tl="function"==typeof require&&require,tc=0;tc<ts.length;tc++)ta(ts[tc]);return ta})({1:[function(tt,ti){(function(tn){var ts=void 0!==tn?tn:"undefined"!=typeof window?window:{},ta=tt("min-document");if("undefined"!=typeof document)ti.exports=document;else{var tl=ts["__GLOBAL_DOCUMENT_CACHE@4"];tl||(tl=ts["__GLOBAL_DOCUMENT_CACHE@4"]=ta),ti.exports=tl}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"min-document":3}],2:[function(tt,ti){(function(tt){ti.exports="undefined"!=typeof window?window:void 0!==tt?tt:"undefined"!=typeof self?self:{}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(){},{}],4:[function(tt,ti){var tn=tt("../internal/getNative")(Date,"now")||function(){return(new Date).getTime()};ti.exports=tn},{"../internal/getNative":20}],5:[function(tt,ti){function tn(tt,ti,tn){function tu(){tw&&clearTimeout(tw),tg&&clearTimeout(tg),t_=0,tg=tw=tx=void 0}function td(ti,tn){tn&&clearTimeout(tn),tg=tw=tx=void 0,ti&&(t_=ta(),tv=tt.apply(tb,tm),tw||tg||(tm=tb=void 0))}function th(){var tt=ti-(ta()-ty);0>=tt||tt>ti?td(tx,tg):tw=setTimeout(th,tt)}function tp(){td(tk,tw)}function tf(){if(tm=arguments,ty=ta(),tb=this,tx=tk&&(tw||!tj),!1===tT)var tn=tj&&!tw;else{tg||tj||(t_=ty);var ts=tT-(ty-t_),tl=0>=ts||ts>tT;tl?(tg&&(tg=clearTimeout(tg)),t_=ty,tv=tt.apply(tb,tm)):tg||(tg=setTimeout(tp,ts))}return tl&&tw?tw=clearTimeout(tw):tw||ti===tT||(tw=setTimeout(th,ti)),tn&&(tl=!0,tv=tt.apply(tb,tm)),!tl||tw||tg||(tm=tb=void 0),tv}var tm,tg,tv,ty,tb,tw,tx,t_=0,tT=!1,tk=!0;if("function"!=typeof tt)throw TypeError(tl);if(ti=0>ti?0:+ti||0,!0===tn){var tj=!0;tk=!1}else ts(tn)&&(tj=!!tn.leading,tT="maxWait"in tn&&tc(+tn.maxWait||0,ti),tk="trailing"in tn?!!tn.trailing:tk);return tf.cancel=tu,tf}var ts=tt("../lang/isObject"),ta=tt("../date/now"),tl="Expected a function",tc=Math.max;ti.exports=tn},{"../date/now":4,"../lang/isObject":33}],6:[function(tt,ti){function tn(tt,ti){if("function"!=typeof tt)throw TypeError(ts);return ti=ta(void 0===ti?tt.length-1:+ti||0,0),function(){for(var tn=arguments,ts=-1,tl=ta(tn.length-ti,0),tc=Array(tl);++ts<tl;)tc[ts]=tn[ti+ts];switch(ti){case 0:return tt.call(this,tc);case 1:return tt.call(this,tn[0],tc);case 2:return tt.call(this,tn[0],tn[1],tc)}var tu=Array(ti+1);for(ts=-1;++ts<ti;)tu[ts]=tn[ts];return tu[ti]=tc,tt.apply(this,tu)}}var ts="Expected a function",ta=Math.max;ti.exports=tn},{}],7:[function(tt,ti){function tn(tt,ti,tn){var tc=!0,tu=!0;if("function"!=typeof tt)throw TypeError(tl);return!1===tn?tc=!1:ta(tn)&&(tc="leading"in tn?!!tn.leading:tc,tu="trailing"in tn?!!tn.trailing:tu),ts(tt,ti,{leading:tc,maxWait:+ti,trailing:tu})}var ts=tt("./debounce"),ta=tt("../lang/isObject"),tl="Expected a function";ti.exports=tn},{"../lang/isObject":33,"./debounce":5}],8:[function(tt,ti){function tn(tt,ti){var tn=-1,ts=tt.length;for(ti||(ti=Array(ts));++tn<ts;)ti[tn]=tt[tn];return ti}ti.exports=tn},{}],9:[function(tt,ti){function tn(tt,ti){for(var tn=-1,ts=tt.length;++tn<ts&&!1!==ti(tt[tn],tn,tt););return tt}ti.exports=tn},{}],10:[function(tt,ti){function tn(tt,ti,tn){tn||(tn={});for(var ts=-1,ta=ti.length;++ts<ta;){var tl=ti[ts];tn[tl]=tt[tl]}return tn}ti.exports=tn},{}],11:[function(tt,ti){var tn=tt("./createBaseFor")();ti.exports=tn},{"./createBaseFor":18}],12:[function(tt,ti){function tn(tt,ti){return ts(tt,ti,ta)}var ts=tt("./baseFor"),ta=tt("../object/keysIn");ti.exports=tn},{"../object/keysIn":39,"./baseFor":11}],13:[function(tt,ti){function tn(tt,ti,tf,tm,tg){if(!tu(tt))return tt;var tv=tc(ti)&&(tl(ti)||th(ti)),ty=tv?void 0:tp(ti);return ts(ty||ti,function(ts,tl){if(ty&&(ts=ti[tl=ts]),td(ts))tm||(tm=[]),tg||(tg=[]),ta(tt,ti,tl,tn,tf,tm,tg);else{var tc=tt[tl],tu=tf?tf(tc,ts,tl,tt,ti):void 0,th=void 0===tu;th&&(tu=ts),void 0===tu&&(!tv||tl in tt)||!th&&(tu==tu?tu===tc:tc!=tc)||(tt[tl]=tu)}}),tt}var ts=tt("./arrayEach"),ta=tt("./baseMergeDeep"),tl=tt("../lang/isArray"),tc=tt("./isArrayLike"),tu=tt("../lang/isObject"),td=tt("./isObjectLike"),th=tt("../lang/isTypedArray"),tp=tt("../object/keys");ti.exports=tn},{"../lang/isArray":30,"../lang/isObject":33,"../lang/isTypedArray":36,"../object/keys":38,"./arrayEach":9,"./baseMergeDeep":14,"./isArrayLike":21,"./isObjectLike":26}],14:[function(tt,ti){function tn(tt,ti,tn,tp,tf,tm,tg){for(var tv=tm.length,ty=ti[tn];tv--;)if(tm[tv]==ty)return void(tt[tn]=tg[tv]);var tb=tt[tn],tw=tf?tf(tb,ty,tn,tt,ti):void 0,tx=void 0===tw;tx&&(tw=ty,tc(ty)&&(tl(ty)||td(ty))?tw=tl(tb)?tb:tc(tb)?ts(tb):[]:tu(ty)||ta(ty)?tw=ta(tb)?th(tb):tu(tb)?tb:{}:tx=!1),tm.push(ty),tg.push(tw),tx?tt[tn]=tp(tw,ty,tf,tm,tg):(tw==tw?tw!==tb:tb==tb)&&(tt[tn]=tw)}var ts=tt("./arrayCopy"),ta=tt("../lang/isArguments"),tl=tt("../lang/isArray"),tc=tt("./isArrayLike"),tu=tt("../lang/isPlainObject"),td=tt("../lang/isTypedArray"),th=tt("../lang/toPlainObject");ti.exports=tn},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isPlainObject":34,"../lang/isTypedArray":36,"../lang/toPlainObject":37,"./arrayCopy":8,"./isArrayLike":21}],15:[function(tt,ti){function tn(tt){return function(ti){return null==ti?void 0:ts(ti)[tt]}}var ts=tt("./toObject");ti.exports=tn},{"./toObject":28}],16:[function(tt,ti){function tn(tt,ti,tn){if("function"!=typeof tt)return ts;if(void 0===ti)return tt;switch(tn){case 1:return function(tn){return tt.call(ti,tn)};case 3:return function(tn,ts,ta){return tt.call(ti,tn,ts,ta)};case 4:return function(tn,ts,ta,tl){return tt.call(ti,tn,ts,ta,tl)};case 5:return function(tn,ts,ta,tl,tc){return tt.call(ti,tn,ts,ta,tl,tc)}}return function(){return tt.apply(ti,arguments)}}var ts=tt("../utility/identity");ti.exports=tn},{"../utility/identity":42}],17:[function(tt,ti){function tn(tt){return tl(function(ti,tn){var tl=-1,tc=null==ti?0:tn.length,tu=tc>2?tn[tc-2]:void 0,td=tc>2?tn[2]:void 0,th=tc>1?tn[tc-1]:void 0;for("function"==typeof tu?(tu=ts(tu,th,5),tc-=2):tc-=(tu="function"==typeof th?th:void 0)?1:0,td&&ta(tn[0],tn[1],td)&&(tu=3>tc?void 0:tu,tc=1);++tl<tc;){var tp=tn[tl];tp&&tt(ti,tp,tu)}return ti})}var ts=tt("./bindCallback"),ta=tt("./isIterateeCall"),tl=tt("../function/restParam");ti.exports=tn},{"../function/restParam":6,"./bindCallback":16,"./isIterateeCall":24}],18:[function(tt,ti){function tn(tt){return function(ti,tn,ta){for(var tl=ts(ti),tc=ta(ti),tu=tc.length,td=tt?tu:-1;tt?td--:++td<tu;){var th=tc[td];if(!1===tn(tl[th],th,tl))break}return ti}}var ts=tt("./toObject");ti.exports=tn},{"./toObject":28}],19:[function(tt,ti){var tn=tt("./baseProperty")("length");ti.exports=tn},{"./baseProperty":15}],20:[function(tt,ti){function tn(tt,ti){var tn=null==tt?void 0:tt[ti];return ts(tn)?tn:void 0}var ts=tt("../lang/isNative");ti.exports=tn},{"../lang/isNative":32}],21:[function(tt,ti){function tn(tt){return null!=tt&&ta(ts(tt))}var ts=tt("./getLength"),ta=tt("./isLength");ti.exports=tn},{"./getLength":19,"./isLength":25}],22:[function(tt,ti){var tn=function(){return function(tt){return"function"!=typeof tt.toString&&"string"==typeof(tt+"")}}();ti.exports=tn},{}],23:[function(tt,ti){function tn(tt,ti){return tt="number"==typeof tt||ts.test(tt)?+tt:-1,ti=null==ti?ta:ti,tt>-1&&tt%1==0&&ti>tt}var ts=/^\d+$/,ta=9007199254740991;ti.exports=tn},{}],24:[function(tt,ti){function tn(tt,ti,tn){if(!tl(tn))return!1;var tc=typeof ti;if("number"==tc?ts(tn)&&ta(ti,tn.length):"string"==tc&&ti in tn){var tu=tn[ti];return tt==tt?tt===tu:tu!=tu}return!1}var ts=tt("./isArrayLike"),ta=tt("./isIndex"),tl=tt("../lang/isObject");ti.exports=tn},{"../lang/isObject":33,"./isArrayLike":21,"./isIndex":23}],25:[function(tt,ti){function tn(tt){return"number"==typeof tt&&tt>-1&&tt%1==0&&ts>=tt}var ts=9007199254740991;ti.exports=tn},{}],26:[function(tt,ti){function tn(tt){return!!tt&&"object"==typeof tt}ti.exports=tn},{}],27:[function(tt,ti){function tn(tt){for(var ti=td(tt),tn=ti.length,tp=tn&&tt.length,tf=!!tp&&tc(tp)&&(ta(tt)||ts(tt)||tu(tt)),tm=-1,tg=[];++tm<tn;){var tv=ti[tm];(tf&&tl(tv,tp)||th.call(tt,tv))&&tg.push(tv)}return tg}var ts=tt("../lang/isArguments"),ta=tt("../lang/isArray"),tl=tt("./isIndex"),tc=tt("./isLength"),tu=tt("../lang/isString"),td=tt("../object/keysIn"),th=Object.prototype.hasOwnProperty;ti.exports=tn},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isString":35,"../object/keysIn":39,"./isIndex":23,"./isLength":25}],28:[function(tt,ti){function tn(tt){if(tl.unindexedChars&&ta(tt)){for(var ti=-1,tn=tt.length,tc=Object(tt);++ti<tn;)tc[ti]=tt.charAt(ti);return tc}return ts(tt)?tt:Object(tt)}var ts=tt("../lang/isObject"),ta=tt("../lang/isString"),tl=tt("../support");ti.exports=tn},{"../lang/isObject":33,"../lang/isString":35,"../support":41}],29:[function(tt,ti){function tn(tt){return ta(tt)&&ts(tt)&&tc.call(tt,"callee")&&!tu.call(tt,"callee")}var ts=tt("../internal/isArrayLike"),ta=tt("../internal/isObjectLike"),tl=Object.prototype,tc=tl.hasOwnProperty,tu=tl.propertyIsEnumerable;ti.exports=tn},{"../internal/isArrayLike":21,"../internal/isObjectLike":26}],30:[function(tt,ti){var tn=tt("../internal/getNative"),ts=tt("../internal/isLength"),ta=tt("../internal/isObjectLike"),tl="[object Array]",tc=Object.prototype.toString,tu=tn(Array,"isArray")||function(tt){return ta(tt)&&ts(tt.length)&&tc.call(tt)==tl};ti.exports=tu},{"../internal/getNative":20,"../internal/isLength":25,"../internal/isObjectLike":26}],31:[function(tt,ti){function tn(tt){return ts(tt)&&tl.call(tt)==ta}var ts=tt("./isObject"),ta="[object Function]",tl=Object.prototype.toString;ti.exports=tn},{"./isObject":33}],32:[function(tt,ti){function tn(tt){return null!=tt&&(ts(tt)?tp.test(td.call(tt)):tl(tt)&&(ta(tt)?tp:tc).test(tt))}
23var ts=tt("./isFunction"),ta=tt("../internal/isHostObject"),tl=tt("../internal/isObjectLike"),tc=/^\[object .+?Constructor\]$/,tu=Object.prototype,td=Function.prototype.toString,th=tu.hasOwnProperty,tp=RegExp("^"+td.call(th).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");ti.exports=tn},{"../internal/isHostObject":22,"../internal/isObjectLike":26,"./isFunction":31}],33:[function(tt,ti){function tn(tt){var ti=typeof tt;return!!tt&&("object"==ti||"function"==ti)}ti.exports=tn},{}],34:[function(tt,ti){function tn(tt){var ti,tn;return!(!tc(tt)||tf.call(tt)!=td||tl(tt)||ta(tt))&&(!!tp.call(tt,"constructor")||"function"!=typeof(ti=tt.constructor)||ti instanceof ti)&&(tu.ownLast?(ts(tt,function(tt,ti,ts){return tn=tp.call(ts,ti),!1}),!1!==tn):(ts(tt,function(tt,ti){tn=ti}),void 0===tn||tp.call(tt,tn)))}var ts=tt("../internal/baseForIn"),ta=tt("./isArguments"),tl=tt("../internal/isHostObject"),tc=tt("../internal/isObjectLike"),tu=tt("../support"),td="[object Object]",th=Object.prototype,tp=th.hasOwnProperty,tf=th.toString;ti.exports=tn},{"../internal/baseForIn":12,"../internal/isHostObject":22,"../internal/isObjectLike":26,"../support":41,"./isArguments":29}],35:[function(tt,ti){function tn(tt){return"string"==typeof tt||ts(tt)&&tl.call(tt)==ta}var ts=tt("../internal/isObjectLike"),ta="[object String]",tl=Object.prototype.toString;ti.exports=tn},{"../internal/isObjectLike":26}],36:[function(tt,ti){function tn(tt){return ta(tt)&&ts(tt.length)&&!!tP[tI.call(tt)]}var ts=tt("../internal/isLength"),ta=tt("../internal/isObjectLike"),tl="[object Arguments]",tc="[object Array]",tu="[object Boolean]",td="[object Date]",th="[object Error]",tp="[object Function]",tf="[object Map]",tm="[object Number]",tg="[object Object]",tv="[object RegExp]",ty="[object Set]",tb="[object String]",tw="[object WeakMap]",tx="[object ArrayBuffer]",t_="[object Float64Array]",tT="[object Int8Array]",tk="[object Int16Array]",tj="[object Int32Array]",tC="[object Uint8Array]",tS="[object Uint8ClampedArray]",tE="[object Uint16Array]",tO="[object Uint32Array]",tP={};tP["[object Float32Array]"]=tP[t_]=tP[tT]=tP[tk]=tP[tj]=tP[tC]=tP[tS]=tP[tE]=tP[tO]=!0,tP[tl]=tP[tc]=tP[tx]=tP[tu]=tP[td]=tP[th]=tP[tp]=tP[tf]=tP[tm]=tP[tg]=tP[tv]=tP[ty]=tP[tb]=tP[tw]=!1;var tI=Object.prototype.toString;ti.exports=tn},{"../internal/isLength":25,"../internal/isObjectLike":26}],37:[function(tt,ti){function tn(tt){return ts(tt,ta(tt))}var ts=tt("../internal/baseCopy"),ta=tt("../object/keysIn");ti.exports=tn},{"../internal/baseCopy":10,"../object/keysIn":39}],38:[function(tt,ti){var tn=tt("../internal/getNative"),ts=tt("../internal/isArrayLike"),ta=tt("../lang/isObject"),tl=tt("../internal/shimKeys"),tc=tt("../support"),tu=tn(Object,"keys"),td=tu?function(tt){var ti=null==tt?void 0:tt.constructor;return"function"==typeof ti&&ti.prototype===tt||("function"==typeof tt?tc.enumPrototypes:ts(tt))?tl(tt):ta(tt)?tu(tt):[]}:tl;ti.exports=td},{"../internal/getNative":20,"../internal/isArrayLike":21,"../internal/shimKeys":27,"../lang/isObject":33,"../support":41}],39:[function(tt,ti){function tn(tt){if(null==tt)return[];th(tt)||(tt=Object(tt));var ti=tt.length;ti=ti&&td(ti)&&(tl(tt)||ta(tt)||tp(tt))&&ti||0;for(var tn=tt.constructor,ts=-1,tm=tc(tn)&&tn.prototype||tC,tg=tm===tt,tv=Array(ti),tb=ti>0,tw=tf.enumErrorProps&&(tt===tj||tt instanceof Error),t_=tf.enumPrototypes&&tc(tt);++ts<ti;)tv[ts]=ts+"";for(var tI in tt)t_&&"prototype"==tI||tw&&("message"==tI||"name"==tI)||tb&&tu(tI,ti)||"constructor"==tI&&(tg||!tE.call(tt,tI))||tv.push(tI);if(tf.nonEnumShadows&&tt!==tC){var tM=tt===tS?tT:tt===tj?ty:tO.call(tt),tA=tP[tM]||tP[tx];for(tM==tx&&(tm=tC),ti=tk.length;ti--;){var tL=tA[tI=tk[ti]];tg&&tL||(tL?!tE.call(tt,tI):tt[tI]===tm[tI])||tv.push(tI)}}return tv}var ts=tt("../internal/arrayEach"),ta=tt("../lang/isArguments"),tl=tt("../lang/isArray"),tc=tt("../lang/isFunction"),tu=tt("../internal/isIndex"),td=tt("../internal/isLength"),th=tt("../lang/isObject"),tp=tt("../lang/isString"),tf=tt("../support"),tm="[object Array]",tg="[object Boolean]",tv="[object Date]",ty="[object Error]",tb="[object Function]",tw="[object Number]",tx="[object Object]",t_="[object RegExp]",tT="[object String]",tk=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
23ing","toString","valueOf"],tj=Error.prototype,tC=Object.prototype,tS=String.prototype,tE=tC.hasOwnProperty,tO=tC.toString,tP={};tP[tm]=tP[tv]=tP[tw]={constructor:!0,toLocaleString:!0,toString:!0,valueOf:!0},tP[tg]=tP[tT]={constructor:!0,toString:!0,valueOf:!0},tP[ty]=tP[tb]=tP[t_]={constructor:!0,toString:!0},tP[tx]={constructor:!0},ts(tk,function(tt){for(var ti in tP)if(tE.call(tP,ti)){var tn=tP[ti];tn[tt]=tE.call(tn,tt)}}),ti.exports=tn},{"../internal/arrayEach":9,"../internal/isIndex":23,"../internal/isLength":25,"../lang/isArguments":29,"../lang/isArray":30,"../lang/isFunction":31,"../lang/isObject":33,"../lang/isString":35,"../support":41}],40:[function(tt,ti){var tn=tt("../internal/baseMerge"),ts=tt("../internal/createAssigner")(tn);ti.exports=ts},{"../internal/baseMerge":13,"../internal/createAssigner":17}],41:[function(tt,ti){var tn=Array.prototype,ts=Error.prototype,ta=Object.prototype.propertyIsEnumerable,tl=tn.splice,tc={};(function(tt){var ti=function(){this.x=tt},tn={0:tt,length:tt},tu=[];for(var td in ti.prototype={valueOf:tt,y:tt},new ti)tu.push(td);tc.enumErrorProps=ta.call(ts,"message")||ta.call(ts,"name"),tc.enumPrototypes=ta.call(ti,"prototype"),tc.nonEnumShadows=!/valueOf/.test(tu),tc.ownLast="x"!=tu[0],tc.spliceObjects=(tl.call(tn,0,1),!tn[0]),tc.unindexedChars="x"+Object("x")[0]!="xx"})(1,0),ti.exports=tc},{}],42:[function(tt,ti){function tn(tt){return tt}ti.exports=tn},{}],43:[function(tt,ti){"use strict";var tn=tt("object-keys");ti.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var tt={},ti=Symbol("test");if("string"==typeof ti)return!1;var ts=42;for(ti in tt[ti]=ts,tt)return!1;if(0!==tn(tt).length||"function"==typeof Object.keys&&0!==Object.keys(tt).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(tt).length)return!1;var ta=Object.getOwnPropertySymbols(tt);if(1!==ta.length||ta[0]!==ti||!Object.prototype.propertyIsEnumerable.call(tt,ti))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var tl=Object.getOwnPropertyDescriptor(tt,ti);if(tl.value!==ts||!0!==tl.enumerable)return!1}return!0}},{"object-keys":50}],44:[function(tt,ti){"use strict";var tn=tt("object-keys"),ts=tt("function-bind"),ta=function(tt){return null!=tt},tl=tt("./hasSymbols")(),tc=Object,tu=ts.call(Function.call,Array.prototype.push),td=ts.call(Function.call,Object.prototype.propertyIsEnumerable);ti.exports=function(tt){if(!ta(tt))throw TypeError("target must be an object");var ti,ts,th,tp,tf,tm,tg,tv=tc(tt);for(ti=1;ti<arguments.length;++ti){if(ts=tc(arguments[ti]),tp=tn(ts),tl&&Object.getOwnPropertySymbols)for(tf=Object.getOwnPropertySymbols(ts),th=0;th<tf.length;++th)tg=tf[th],td(ts,tg)&&tu(tp,tg);for(th=0;th<tp.length;++th)tm=ts[tg=tp[th]],td(ts,tg)&&(tv[tg]=tm)}return tv}},{"./hasSymbols":43,"function-bind":49,"object-keys":50}],45:[function(tt,ti){"use strict";var tn=tt("define-properties"),ts=tt("./implementation");tn(ts,{implementation:ts,getPolyfill:tt("./polyfill"),shim:tt("./shim")}),ti.exports=ts},{"./implementation":44,"./polyfill":52,"./shim":53,"define-properties":46}],46:[function(tt,ti){"use strict";var tn=tt("object-keys"),ts=tt("foreach"),ta="function"==typeof Symbol&&"symbol"==typeof Symbol(),tl=Object.prototype.toString,tc=function(tt){return"function"==typeof tt&&"[object Function]"===tl.call(tt)},tu=function(){var tt={};try{for(var ti in Object.defineProperty(tt,"x",{enumerable:!1,value:tt}),tt)return!1;return tt.x===tt}catch(tt){return!1}},td=Object.defineProperty&&tu(),th=function(tt,ti,tn,ts){(!(ti in tt)||tc(ts)&&ts())&&(td?Object.defineProperty(tt,ti,{configurable:!0,enumerable:!1,value:tn,writable:!0}):tt[ti]=tn)},tp=function(tt,ti){var tl=arguments.length>2?arguments[2]:{},tc=tn(ti);ta&&(tc=tc.concat(Object.getOwnPropertySymbols(ti))),ts(tc,function(tn){th(tt,tn,ti[tn],tl[tn])})};tp.supportsDescriptors=!!td,ti.exports=tp},{foreach:47,"object-keys":50}],47:[function(tt,ti){var tn=Object.prototype.hasOwnProperty,ts=Object.prototype.toString;ti.exports=function(tt,ti,ta){if("[object Function]"!==ts.call(ti))throw TypeError("iterator must be a function");var tl=tt.length;if(tl===+tl)for(var tc=0;tl>tc;tc++)ti.call(ta,tt[tc],tc,tt);else for(var tu in tt)tn.call(tt,tu)&&ti.call(ta,tt[tu],tu,tt)}},{}],48:[function(tt,ti){var tn="Function.prototype.bind called on incompatible ",ts=Array.prototype.slice,ta=Object.prototype.toString,tl="[object Function]";ti.exports=function(tt){var ti=this;if("function"!=typeof ti||ta.call(ti)!==tl)throw TypeError(tn+ti);
23for(var tc,tu=ts.call(arguments,1),td=function(){if(this instanceof tc){var tn=ti.apply(this,tu.concat(ts.call(arguments)));return Object(tn)===tn?tn:this}return ti.apply(tt,tu.concat(ts.call(arguments)))},th=Math.max(0,ti.length-tu.length),tp=[],tf=0;th>tf;tf++)tp.push("$"+tf);if(tc=Function("binder","return function ("+tp.join(",")+"){ return binder.apply(this,arguments); }")(td),ti.prototype){var tm=function(){};tm.prototype=ti.prototype,tc.prototype=new tm,tm.prototype=null}return tc}},{}],49:[function(tt,ti){var tn=tt("./implementation");ti.exports=Function.prototype.bind||tn},{"./implementation":48}],50:[function(tt,ti){"use strict";var tn=Object.prototype.hasOwnProperty,ts=Object.prototype.toString,ta=Array.prototype.slice,tl=tt("./isArguments"),tc=!({toString:null}).propertyIsEnumerable("toString"),tu=(function(){}).propertyIsEnumerable("prototype"),td=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],th=function(tt){var ti=tt.constructor;return ti&&ti.prototype===tt},tp={$console:!0,$frame:!0,$frameElement:!0,$frames:!0,$parent:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},tf=function(){if("undefined"==typeof window)return!1;for(var tt in window)try{if(!tp["$"+tt]&&tn.call(window,tt)&&null!==window[tt]&&"object"==typeof window[tt])try{th(window[tt])}catch(tt){return!0}}catch(tt){return!0}return!1}(),tm=function(tt){if("undefined"==typeof window||!tf)return th(tt);try{return th(tt)}catch(tt){return!1}},tg=function(tt){var ti=null!==tt&&"object"==typeof tt,ta="[object Function]"===ts.call(tt),th=tl(tt),tp=ti&&"[object String]"===ts.call(tt),tf=[];if(!ti&&!ta&&!th)throw TypeError("Object.keys called on a non-object");var tg=tu&&ta;if(tp&&tt.length>0&&!tn.call(tt,0))for(var tv=0;tv<tt.length;++tv)tf.push(String(tv));if(th&&tt.length>0)for(var ty=0;ty<tt.length;++ty)tf.push(String(ty));else for(var tb in tt)tg&&"prototype"===tb||!tn.call(tt,tb)||tf.push(String(tb));if(tc)for(var tw=tm(tt),tx=0;tx<td.length;++tx)tw&&"constructor"===td[tx]||!tn.call(tt,td[tx])||tf.push(td[tx]);return tf};tg.shim=function(){if(Object.keys){if(!function(){return 2===(Object.keys(arguments)||"").length}(1,2)){var tt=Object.keys;Object.keys=function(ti){return tt(tl(ti)?ta.call(ti):ti)}}}else Object.keys=tg;return Object.keys||tg},ti.exports=tg},{"./isArguments":51}],51:[function(tt,ti){"use strict";var tn=Object.prototype.toString;ti.exports=function(tt){var ti=tn.call(tt),ts="[object Arguments]"===ti;return ts||(ts="[object Array]"!==ti&&null!==tt&&"object"==typeof tt&&"number"==typeof tt.length&&tt.length>=0&&"[object Function]"===tn.call(tt.callee)),ts}},{}],52:[function(tt,ti){"use strict";var tn=tt("./implementation"),ts=function(){if(!Object.assign)return!1;for(var tt="abcdefghijklmnopqrst",ti=tt.split(""),tn={},ts=0;ts<ti.length;++ts)tn[ti[ts]]=ti[ts];var ta=Object.assign({},tn),tl="";for(var tc in ta)tl+=tc;return tt!==tl},ta=function(){if(!Object.assign||!Object.preventExtensions)return!1;var tt=Object.preventExtensions({1:2});try{Object.assign(tt,"xy")}catch(ti){return"y"===tt[1]}};ti.exports=function(){return Object.assign?ts()?tn:ta()?tn:Object.assign:tn}},{"./implementation":44}],53:[function(tt,ti){"use strict";var tn=tt("define-properties"),ts=tt("./polyfill");ti.exports=function(){var tt=ts();return tn(Object,{assign:tt},{assign:function(){return Object.assign!==tt}}),tt}},{"./polyfill":52,"define-properties":46}],54:[function(tt,ti){function tn(tt,ti){var tn,ts=null;try{tn=JSON.parse(tt,ti)}catch(tt){ts=tt}return[ts,tn]}ti.exports=tn},{}],55:[function(tt,ti){function tn(tt){return tt.replace(/\n\r?\s*/g,"")}ti.exports=function(tt){for(var ti="",ts=0;ts<arguments.length;ts++)ti+=tn(tt[ts])+(arguments[ts+1]||"");return ti}},{}],56:[function(tt,ti){"use strict";function tn(tt,ti){for(var tn=0;tn<tt.length;tn++)ti(tt[tn])}function ts(tt){for(var ti in tt)if(tt.hasOwnProperty(ti))return!1;return!0}function ta(tt,ti,tn){var ts=tt;return tp(ti)?(tn=ti,"string"==typeof tt&&(ts={uri:tt})):ts=tm(ti,{uri:tt}),ts.callback=tn,ts}function tl(tt,ti,tn){return tc(ti=ta(tt,ti,tn))}function tc(tt){function ti(){4===tp.readyState&&tc()}function tn(){var tt=void 0;if(tp.response?tt=tp.response:"text"!==tp.responseType&&tp.responseType||(tt=tp.responseText||tp.responseXML),tT)try{tt=JSON.parse(tt)}catch(tt){}return tt}function ta(tt){clearTimeout(tv),tt instanceof Error||(tt=Error(""+(tt||"Unknown XMLHttpRequest Error"))),tt.statusCode=0,tu(tt,td)}function tc(){if(!tg){clearTimeout(tv);var ti,ts=td,ta=null;0!==(ti=tt.useXDR&&void 0===tp.status?200:1223===tp.status?204:tp.status)?(ts={body:tn(),statusCode:ti,method:tb,headers:{},url:ty,rawRequest:tp},tp.getAllResponseHeaders&&(ts.headers=tf(tp.getAllResponseHeaders()))):ta=Error("Internal XMLHttpRequest Error"),tu(ta,ts,ts.body)}}var tu=tt.callback;if(void 0===tu)throw Error("callback argument missing");tu=th(tu);var td={body:void 0,headers:{},statusCode:0,method:tb,url:ty,rawRequest:tp},tp=tt.xhr||null;tp||(tp=tt.cors||tt.useXDR?new tl.XDomainRequest:new tl.XMLHttpRequest);var tm,tg,tv,ty=tp.url=tt.uri||tt.url,tb=tp.method=tt.method||"GET",tw=tt.body||tt.data||null,tx=tp.headers=tt.headers||{},t_=!!tt.sync,tT=!1;if("json"in tt&&(tT=!0,tx.accept||tx.Accept||(tx.Accept="application/json"),"GET"!==tb&&"HEAD"!==tb&&(tx["content-type"]||tx["Content-Type"]||(tx["Content-Type"]="application/json"),tw=JSON.stringify(tt.json))),tp.onreadystatechange=ti,tp.onload=tc,tp.onerror=ta,tp.onprogress=function(){},tp.ontimeout=ta,tp.open(tb,ty,!t_,tt.username,tt.password),t_||(tp.withCredentials=!!tt.withCredentials),!t_&&tt.timeout>0&&(tv=setTimeout(function(){tg=!0,tp.abort("timeout");var tt=Error("XMLHttpRequest timeout");tt.code="ETIMEDOUT",ta(tt)},tt.timeout)),tp.setRequestHeader)for(tm in tx)tx.hasOwnProperty(tm)&&tp.setRequestHeader(tm,tx[tm]);else if(tt.headers&&!ts(tt.headers))throw Error("Headers cannot be set on an XDomainRequest object");return"responseType"in tt&&(tp.responseType=tt.responseType),"beforeSend"in tt&&"function"==typeof tt.beforeSend&&tt.beforeSend(tp),tp.send(tw),tp}function tu(){}var td=tt("global/window"),th=tt("once"),tp=tt("is-function"),tf=tt("parse-headers"),tm=tt("xtend");ti.exports=tl,tl.XMLHttpRequest=td.XMLHttpRequest||tu,tl.XDomainRequest="withCredentials"in new tl.XMLHttpRequest?tl.XMLHttpRequest:td.XDomainRequest,tn(["get","put","post","patch","head","delete"],function(tt){tl["delete"===tt?"del":tt]=function(ti,tn,ts){return(tn=ta(ti,tn,ts)).method=tt.toUpperCase(),tc(tn)}})},{"global/window":2,"is-function":57,once:58,"parse-headers":61,xtend:62}],57:[function(tt,ti){function tn(tt){var ti=ts.call(tt);return"[object Function]"===ti||"function"==typeof tt&&"[object RegExp]"!==ti||"undefined"!=typeof window&&(tt===window.setTimeout||tt===window.alert||tt===window.confirm||tt===window.prompt)}ti.exports=tn;var ts=Object.prototype.toString},{}],58:[function(tt,ti){function tn(tt){var ti=!1;return function(){return ti?void 0:(ti=!0,tt.apply(this,arguments))}}ti.exports=tn,tn.proto=tn(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return tn(this)},configurable:!0})})},{}],59:[function(tt,ti){function tn(tt,ti,tn){if(!tc(ti))throw TypeError("iterator must be a function");arguments.length<3&&(tn=this),"[object Array]"===tu.call(tt)?ts(tt,ti,tn):"string"==typeof tt?ta(tt,ti,tn):tl(tt,ti,tn)}function ts(tt,ti,tn){for(var ts=0,ta=tt.length;ta>ts;ts++)td.call(tt,ts)&&ti.call(tn,tt[ts],ts,tt)}function ta(tt,ti,tn){for(var ts=0,ta=tt.length;ta>ts;ts++)ti.call(tn,tt.charAt(ts),ts,tt)}function tl(tt,ti,tn){for(var ts in tt)td.call(tt,ts)&&ti.call(tn,tt[ts],ts,tt)}var tc=tt("is-function");ti.exports=tn;var tu=Object.prototype.toString,td=Object.prototype.hasOwnProperty},{"is-function":57}],60:[function(tt,ti,tn){function ts(tt){return tt.replace(/^\s*|\s*$/g,"")}(tn=ti.exports=ts).left=function(tt){return tt.replace(/^\s*/,"")},tn.right=function(tt){return tt.replace(/\s*$/,"")}},{}],61:[function(tt,ti){var tn=tt("trim"),ts=tt("for-each"),ta=function(tt){return"[object Array]"===Object.prototype.toString.call(tt)};ti.exports=function(tt){if(!tt)return{};var ti={};return ts(tn(tt).split("\n"),function(tt){var ts=tt.indexOf(":"),tl=tn(tt.slice(0,ts)).toLowerCase(),tc=tn(tt.slice(ts+1));void 0===ti[tl]?ti[tl]=tc:ta(ti[tl])?ti[tl].push(tc):ti[tl]=[ti[tl],tc]}),ti}},{"for-each":59,trim:60}],62:[function(tt,ti){function tn(){for(var tt={},ti=0;ti<arguments.length;ti++){var tn=arguments[ti];for(var ta in tn)ts.call(tn,ta)&&(tt[ta]=tn[ta])}return tt}ti.exports=tn;var ts=Object.prototype.hasOwnProperty},{}],63:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("./button.js")),tu=ts(tt("./component.js")),td=function(tt){function ti(tn,ts){ta(this,ti),tt.call(this,tn,ts)}return tl(ti,tt),ti.prototype.buildCSSClass=function(){return"vjs-big-play-button"},ti.prototype.handleClick=function(){this.player_.play()},ti}(tc.default);td.prototype.controlText_="Play Video",tu.default.registerComponent("BigPlayButton",td),tn.default=td,ti.exports=tn.default},{"./button.js":64,"./component.js":67}],64:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("./clickable-component.js")),td=ta(tt("./component")),th=(ts(tt("./utils/events.js")),tt("./utils/fn.js")),tp=ta((ts(th),tt("./utils/log.js"))),tf=(ta(tt("global/document")),tt("object.assign")),tm=ta(tf),tg=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts)}return tc(ti,tt),ti.prototype.createEl=function(){var tt=arguments.length<=0||void 0===arguments[0]?"button":arguments[0],ti=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],tn=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];ti=tm.default({className:this.buildCSSClass()},ti),"button"!==tt&&(tp.default.warn("Creating a Button with an HTML element of "+tt+" is deprecated; use ClickableComponent instead."),ti=tm.default({tabIndex:0},ti),tn=tm.default({role:"button"},tn)),tn=tm.default({type:"button","aria-live":"polite"},tn);var ts=td.default.prototype.createEl.call(this,tt,ti,tn);return this.createControlTextEl(ts),ts},ti.prototype.addChild=function(tt){var ti=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],tn=this.constructor.name;return tp.default.warn("Adding an actionable (user controllable) child to a Button ("+tn+") is not supported; use a ClickableComponent instead."),td.default.prototype.addChild.call(this,tt,ti)},ti.prototype.handleKeyPress=function(ti){32===ti.which||13===ti.which||tt.prototype.handleKeyPress.call(this,ti)},ti}(tu.default);td.default.registerComponent("Button",tg),tn.default=tg,ti.exports=tn.default},{"./clickable-component.js":65,"./component":67,"./utils/events.js":144,"./utils/fn.js":145,"./utils/log.js":148,"global/document":1,"object.assign":45}],65:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("./component")),td=ts(tt("./utils/dom.js")),th=ts(tt("./utils/events.js")),tp=ts(tt("./utils/fn.js")),tf=ta(tt("./utils/log.js")),tm=ta(tt("global/document")),tg=ta(tt("object.assign")),tv=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.emitTapEvents(),this.on("tap",this.handleClick),this.on("click",this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur)}return tc(ti,tt),ti.prototype.createEl=function(){var ti=arguments.length<=0||void 0===arguments[0]?"div":arguments[0],tn=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],ts=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];tn=tg.default({className:this.buildCSSClass(),tabIndex:0},tn),"button"===ti&&tf.default.error("Creating a ClickableComponent with an HTML element of "+ti+" is not supported; use a Button instead."),ts=tg.default({role:"button","aria-live":"polite"},ts);var ta=tt.prototype.createEl.call(this,ti,tn,ts);return this.createControlTextEl(ta),ta},ti.prototype.createControlTextEl=function(tt){return this.controlTextEl_=td.createEl("span",{className:"vjs-control-text"}),tt&&tt.appendChild(this.controlTextEl_),this.controlText(this.controlText_),this.controlTextEl_},ti.prototype.controlText=function(tt){return tt?(this.controlText_=tt,this.controlTextEl_.innerHTML=this.localize(this.controlText_),this):this.controlText_||"Need Text"},ti.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+tt.prototype.buildCSSClass.call(this)},ti.prototype.addChild=function(ti){var tn=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return tt.prototype.addChild.call(this,ti,tn)},ti.prototype.enable=function(){return this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),this},ti.prototype.disable=function(){return this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),this},ti.prototype.handleClick=function(){},ti.prototype.handleFocus=function(){th.on(tm.default,"keydown",tp.bind(this,this.handleKeyPress))},ti.prototype.handleKeyPress=function(ti){32===ti.which||13===ti.which?(ti.preventDefault(),this.handleClick(ti)):tt.prototype.handleKeyPress&&tt.prototype.handleKeyPress.call(this,ti)},ti.prototype.handleBlur=function(){th.off(tm.default,"keydown",tp.bind(this,this.handleKeyPress))},ti}(tu.default);tu.default.registerComponent("ClickableComponent",tv),tn.default=tv,ti.exports=tn.default},{"./component":67,"./utils/dom.js":143,"./utils/events.js":144,"./ut
23ils/fn.js":145,"./utils/log.js":148,"global/document":1,"object.assign":45}],66:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("./button")),tu=ts(tt("./component")),td=function(tt){function ti(tn,ts){ta(this,ti),tt.call(this,tn,ts),this.controlText(ts&&ts.controlText||this.localize("Close"))}return tl(ti,tt),ti.prototype.buildCSSClass=function(){return"vjs-close-button "+tt.prototype.buildCSSClass.call(this)},ti.prototype.handleClick=function(){this.trigger({type:"close",bubbles:!1})},ti}(tc.default);tu.default.registerComponent("CloseButton",td),tn.default=td,ti.exports=tn.default},{"./button":64,"./component":67}],67:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}tn.__esModule=!0;var tc=ta(tt("global/window")),tu=ts(tt("./utils/dom.js")),td=ts(tt("./utils/fn.js")),th=ts(tt("./utils/guid.js")),tp=ts(tt("./utils/events.js")),tf=ta(tt("./utils/log.js")),tm=ta(tt("./utils/to-title-case.js")),tg=ta(tt("object.assign")),tv=ta(tt("./utils/merge-options.js")),ty=function(){function tt(ti,tn,ts){if(tl(this,tt),this.player_=!ti&&this.play?ti=this:ti,this.options_=tv.default({},this.options_),tn=this.options_=tv.default(this.options_,tn),this.id_=tn.id||tn.el&&tn.el.id,!this.id_){var ta=ti&&ti.id&&ti.id()||"no_player";this.id_=ta+"_component_"+th.newGUID()}this.name_=tn.name||null,tn.el?this.el_=tn.el:!1!==tn.createEl&&(this.el_=this.createEl()),this.children_=[],this.childIndex_={},this.childNameIndex_={},!1!==tn.initChildren&&this.initChildren(),this.ready(ts),!1!==tn.reportTouchActivity&&this.enableTouchActivity()}return tt.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var tt=this.children_.length-1;tt>=0;tt--)this.children_[tt].dispose&&this.children_[tt].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.off(),this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),tu.removeElData(this.el_),this.el_=null},tt.prototype.player=function(){return this.player_},tt.prototype.options=function(tt){return tf.default.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),tt&&(this.options_=tv.default(this.options_,tt)),this.options_},tt.prototype.el=function(){return this.el_},tt.prototype.createEl=function(tt,ti,tn){return tu.createEl(tt,ti,tn)},tt.prototype.localize=function(tt){var ti=this.player_.language&&this.player_.language(),tn=this.player_.languages&&this.player_.languages();if(!ti||!tn)return tt;var ts=tn[ti];if(ts&&ts[tt])return ts[tt];var ta=tn[ti.split("-")[0]];return ta&&ta[tt]?ta[tt]:tt},tt.prototype.contentEl=function(){return this.contentEl_||this.el_},tt.prototype.id=function(){return this.id_},tt.prototype.name=function(){return this.name_},tt.prototype.children=function(){return this.children_},tt.prototype.getChildById=function(tt){return this.childIndex_[tt]},tt.prototype.getChild=function(tt){return this.childNameIndex_[tt]},tt.prototype.addChild=function(ti){var tn=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],ts=arguments.length<=2||void 0===arguments[2]?this.children_.length:arguments[2],ta=void 0,tl=void 0;if("string"==typeof ti){tl=ti,tn||(tn={}),!0===tn&&(tf.default.warn("Initializing a child component with `true` is deprecated. Children should be defined in an array when possible, but if necessary use an object instead of `true`."),tn={});var tc=tn.componentClass||tm.default(tl);tn.name=tl;
23var tu=tt.getComponent(tc);if(!tu)throw Error("Component "+tc+" does not exist");if("function"!=typeof tu)return null;ta=new tu(this.player_||this,tn)}else ta=ti;if(this.children_.splice(ts,0,ta),"function"==typeof ta.id&&(this.childIndex_[ta.id()]=ta),(tl=tl||ta.name&&ta.name())&&(this.childNameIndex_[tl]=ta),"function"==typeof ta.el&&ta.el()){var td=this.contentEl().children[ts]||null;this.contentEl().insertBefore(ta.el(),td)}return ta},tt.prototype.removeChild=function(tt){if("string"==typeof tt&&(tt=this.getChild(tt)),tt&&this.children_){for(var ti=!1,tn=this.children_.length-1;tn>=0;tn--)if(this.children_[tn]===tt){ti=!0,this.children_.splice(tn,1);break}if(ti){this.childIndex_[tt.id()]=null,this.childNameIndex_[tt.name()]=null;var ts=tt.el();ts&&ts.parentNode===this.contentEl()&&this.contentEl().removeChild(tt.el())}}},tt.prototype.initChildren=function(){var ti=this,tn=this.options_.children;tn&&function(){var ts=ti.options_,ta=function(tt){var tn=tt.name,ta=tt.opts;if(void 0!==ts[tn]&&(ta=ts[tn]),!1!==ta){!0===ta&&(ta={}),ta.playerOptions=ti.options_.playerOptions;var tl=ti.addChild(tn,ta);tl&&(ti[tn]=tl)}},tl=void 0,tc=tt.getComponent("Tech");(tl=Array.isArray(tn)?tn:Object.keys(tn)).concat(Object.keys(ti.options_).filter(function(tt){return!tl.some(function(ti){return"string"==typeof ti?tt===ti:tt===ti.name})})).map(function(tt){var ts=void 0,ta=void 0;return"string"==typeof tt?ta=tn[ts=tt]||ti.options_[ts]||{}:(ts=tt.name,ta=tt),{name:ts,opts:ta}}).filter(function(ti){var tn=tt.getComponent(ti.opts.componentClass||tm.default(ti.name));return tn&&!tc.isTech(tn)}).forEach(ta)}()},tt.prototype.buildCSSClass=function(){return""},tt.prototype.on=function(tt,ti,tn){var ts=this;return"string"==typeof tt||Array.isArray(tt)?tp.on(this.el_,tt,td.bind(this,ti)):function(){var ta=tt,tl=ti,tc=td.bind(ts,tn),tu=function(){return ts.off(ta,tl,tc)};tu.guid=tc.guid,ts.on("dispose",tu);var th=function(){return ts.off("dispose",tu)};th.guid=tc.guid,tt.nodeName?(tp.on(ta,tl,tc),tp.on(ta,"dispose",th)):"function"==typeof tt.on&&(ta.on(tl,tc),ta.on("dispose",th))}(),this},tt.prototype.off=function(tt,ti,tn){if(!tt||"string"==typeof tt||Array.isArray(tt))tp.off(this.el_,tt,ti);else{var ts=tt,ta=ti,tl=td.bind(this,tn);this.off("dispose",tl),tt.nodeName?(tp.off(ts,ta,tl),tp.off(ts,"dispose",tl)):(ts.off(ta,tl),ts.off("dispose",tl))}return this},tt.prototype.one=function(tt,ti,tn){var ts=this,ta=arguments;return"string"==typeof tt||Array.isArray(tt)?tp.one(this.el_,tt,td.bind(this,ti)):function(){var tl=tt,tc=ti,tu=td.bind(ts,tn),th=function tt(){ts.off(tl,tc,tt),tu.apply(null,ta)};th.guid=tu.guid,ts.on(tl,tc,th)}(),this},tt.prototype.trigger=function(tt,ti){return tp.trigger(this.el_,tt,ti),this},tt.prototype.ready=function(tt){var ti=!(arguments.length<=1)&&void 0!==arguments[1]&&arguments[1];return tt&&(this.isReady_?ti?tt.call(this):this.setTimeout(tt,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(tt))),this},tt.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var tt=this.readyQueue_;this.readyQueue_=[],tt&&tt.length>0&&tt.forEach(function(tt){tt.call(this)},this),this.trigger("ready")},1)},tt.prototype.$=function(tt,ti){return tu.$(tt,ti||this.contentEl())},tt.prototype.$$=function(tt,ti){return tu.$$(tt,ti||this.contentEl())},tt.prototype.hasClass=function(tt){return tu.hasElClass(this.el_,tt)},tt.prototype.addClass=function(tt){return tu.addElClass(this.el_,tt),this},tt.prototype.removeClass=function(tt){return tu.removeElClass(this.el_,tt),this},tt.prototype.toggleClass=function(tt,ti){return tu.toggleElClass(this.el_,tt,ti),this},tt.prototype.show=function(){return this.removeClass("vjs-hidden"),this},tt.prototype.hide=function(){return this.addClass("vjs-hidden"),this},tt.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},tt.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},tt.prototype.width=function(tt,ti){return this.dimension("width",tt,ti)},tt.prototype.height=function(tt,ti){return this.dimension("height",tt,ti)},tt.prototype.dimensions=function(tt,ti){return this.width(tt,!0).height(ti)},tt.prototype.dimension=function(tt,ti,tn){if(void 0!==ti)return(null===ti||ti!=ti)&&(ti=0),this.el_.style[tt]=-1!==(""+ti).indexOf("%")||-1!==(""+ti).indexOf("px")?ti:"auto"===ti?"":ti+"px",tn||this.trigger("resize"),this;if(!this.el_)return 0;var ts=this.el_.style[tt],ta=ts.indexOf("px");return -1!==ta?parseInt(ts.slice(0,ta),10):parseInt(this.el_["offset"+tm.default(tt)],10)},tt.prototype.currentDimension=function(tt){var ti=0;if("width"!==tt&&"height"!==tt)throw Error("currentDimension only accepts width or height value");if("function"==typeof tc.default.getComputedStyle){var tn=tc.default.getComputedStyle(this.el_);ti=tn.getPropertyValue(tt)||tn[tt]}else if(this.el_.currentStyle){var ts="offset"+tm.default(tt);ti=this.el_[ts]}return parseFloat(ti)},tt.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},tt.prototype.currentWidth=function(){return this.currentDimension("width")},tt.prototype.currentHeight=function(){return this.currentDimension("height")},tt.prototype.emitTapEvents=function(){var tt=0,ti=null,tn=10,ts=200,ta=void 0;this.on("touchstart",function(tn){1===tn.touches.length&&(ti=tg.default({},tn.touches[0]),tt=(new Date).getTime(),ta=!0)}),this.on("touchmove",function(tt){if(tt.touches.length>1)ta=!1;else if(ti){var ts=tt.touches[0].pageX-ti.pageX,tl=tt.touches[0].pageY-ti.pageY;Math.sqrt(ts*ts+tl*tl)>tn&&(ta=!1)}});var tl=function(){ta=!1}
23;this.on("touchleave",tl),this.on("touchcancel",tl),this.on("touchend",function(tn){ti=null,!0===ta&&ts>(new Date).getTime()-tt&&(tn.preventDefault(),this.trigger("tap"))})},tt.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var tt=td.bind(this.player(),this.player().reportUserActivity),ti=void 0;this.on("touchstart",function(){tt(),this.clearInterval(ti),ti=this.setInterval(tt,250)});var tn=function(){tt(),this.clearInterval(ti)};this.on("touchmove",tt),this.on("touchend",tn),this.on("touchcancel",tn)}},tt.prototype.setTimeout=function(tt,ti){tt=td.bind(this,tt);var tn=tc.default.setTimeout(tt,ti),ts=function(){this.clearTimeout(tn)};return ts.guid="vjs-timeout-"+tn,this.on("dispose",ts),tn},tt.prototype.clearTimeout=function(tt){tc.default.clearTimeout(tt);var ti=function(){};return ti.guid="vjs-timeout-"+tt,this.off("dispose",ti),tt},tt.prototype.setInterval=function(tt,ti){tt=td.bind(this,tt);var tn=tc.default.setInterval(tt,ti),ts=function(){this.clearInterval(tn)};return ts.guid="vjs-interval-"+tn,this.on("dispose",ts),tn},tt.prototype.clearInterval=function(tt){tc.default.clearInterval(tt);var ti=function(){};return ti.guid="vjs-interval-"+tt,this.off("dispose",ti),tt},tt.registerComponent=function(ti,tn){return tt.components_||(tt.components_={}),tt.components_[ti]=tn,tn},tt.getComponent=function(ti){return tt.components_&&tt.components_[ti]?tt.components_[ti]:tc.default&&tc.default.videojs&&tc.default.videojs[ti]?(tf.default.warn("The "+ti+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),tc.default.videojs[ti]):void 0},tt.extend=function(ti){ti=ti||{},tf.default.warn("Component.extend({}) has been deprecated, use videojs.extend(Component, {}) instead");var tn=ti.init||ti.init||this.prototype.init||this.prototype.init||function(){},ts=function(){tn.apply(this,arguments)};for(var ta in ts.prototype=Object.create(this.prototype),ts.prototype.constructor=ts,ts.extend=tt.extend,ti)ti.hasOwnProperty(ta)&&(ts.prototype[ta]=ti[ta]);return ts},tt}();ty.registerComponent("Component",ty),tn.default=ty,ti.exports=tn.default},{"./utils/dom.js":143,"./utils/events.js":144,"./utils/fn.js":145,"./utils/guid.js":147,"./utils/log.js":148,"./utils/merge-options.js":149,"./utils/to-title-case.js":152,"global/window":2,"object.assign":45}],68:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../track-button.js")),td=ta(tt("../../component.js")),th=ta((ts(tt("../../utils/fn.js")),tt("./audio-track-menu-item.js"))),tp=function(tt){function ti(tn){var ts=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];tl(this,ti),ts.tracks=tn.audioTracks&&tn.audioTracks(),tt.call(this,tn,ts),this.el_.setAttribute("aria-label","Audio Menu")}return tc(ti,tt),ti.prototype.buildCSSClass=function(){return"vjs-audio-button "+tt.prototype.buildCSSClass.call(this)},ti.prototype.createItems=function(){var tt=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],ti=this.player_.audioTracks&&this.player_.audioTracks();if(!ti)return tt;for(var tn=0;tn<ti.length;tn++){var ts=ti[tn];tt.push(new th.default(this.player_,{selectable:!0,track:ts}))}return tt},ti}(tu.default);td.default.registerComponent("AudioTrackButton",tp),tn.default=tp,ti.exports=tn.default},{"../../component.js":67,"../../utils/fn.js":145,"../track-button.js":98,"./audio-track-menu-item.js":69}],69:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../../menu/menu-item.js")),td=ta(tt("../../component.js")),th=ts(tt("../../utils/fn.js")),tp=function(tt){function ti(tn,ts){var ta=this;tl(this,ti);var tc=ts.track,tu=tn.audioTracks();ts.label=tc.label||tc.language||"Unknown",ts.selected=tc.enabled,tt.call(this,tn,ts),this.track=tc,tu&&function(){var tt=th.bind(ta,ta.handleTracksChange);tu.addEventListener("change",tt),ta.on("dispose",function(){tu.removeEventListener("change",tt)})}()}return tc(ti,tt),ti.prototype.handleClick=function(ti){var tn=this.player_.audioTracks();if(tt.prototype.handleClick.call(this,ti),tn)for(var ts=0;ts<tn.length;ts++){var ta=tn[ts];ta===this.track&&(ta.enabled=!0)}},ti.prototype.handleTracksChange=function(){this.selected(this.track.enabled)},ti}(tu.default);td.default.registerComponent("AudioTrackMenuItem",tp),tn.default=tp,ti.exports=tn.default},{"../../component.js":67,"../../menu/menu-item.js":110,"../../utils/fn.js":145}],70:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("../component.js")),tu=(ts(tt("./play-toggle.js")),tt("./time-controls/current-time-display.js")),td=(ts(tu),tt("./time-controls/duration-display.js")),th=(ts(td),tt("./time-controls/time-divider.js")),tp=(ts(th),tt("./time-controls/remaining-time-display.js")),tf=(ts(tp),tt("./live-display.js")),tm=(ts(tf),tt("./progress-control/progress-control.js")),tg=(ts(tm),tt("./fullscreen-toggle.js")),tv=(ts(tg),tt("./volume-control/volume-control.js")),ty=(ts(tv),tt("./volume-menu-button.js")),tb=(ts(ty),tt("./mute-toggle.js")),tw=(ts(tb),tt("./text-track-controls/chapters-button.js")),tx=(ts(tw),tt("./text-track-controls/descriptions-button.js")),t_=(ts(tx),tt("./text-track-controls/subtitles-button.js")),tT=(ts(t_),tt("./text-track-controls/captions-button.js")),tk=(ts(tT),tt("./audio-track-controls/audio-track-button.js")),tj=(ts(tk),tt("./playback-rate-menu/playback-rate-menu-button.js")),tC=(ts(tj),tt("./spacer-controls/custom-control-spacer.js")),tS=(ts(tC),function(tt){function ti(){ta(this,ti),tt.apply(this,arguments)}return tl(ti,tt),ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},ti}(tc.default));tS.prototype.options_={loadEvent:"play",children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subtitlesButton","captionsButton","audioTrackButton","fullscreenToggle"]},tc.default.registerComponent("ControlBar",tS),tn.default=tS,ti.exports=tn.default},{"../component.js":67,"./audio-track-controls/audio-track-button.js":68,"./fullscreen-toggle.js":71,"./live-display.js":72,"./mute-toggle.js":73,"./play-toggle.js":74,"./playback-rate-menu/playback-rate-menu-button.js":75,"./progress-control/progress-control.js":80,"./spacer-controls/custom-control-spacer.js":83,"./text-track-controls/captions-button.js":86,"./text-track-controls/chapters-button.js":87,"./text-track-controls/descriptions-button.js":89,"./text-track-controls/subtitles-button.js":91,"./time-control
23s/current-time-display.js":94,"./time-controls/duration-display.js":95,"./time-controls/remaining-time-display.js":96,"./time-controls/time-divider.js":97,"./volume-control/volume-control.js":100,"./volume-menu-button.js":102}],71:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("../button.js")),tu=ts(tt("../component.js")),td=function(tt){function ti(){ta(this,ti),tt.apply(this,arguments)}return tl(ti,tt),ti.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+tt.prototype.buildCSSClass.call(this)},ti.prototype.handleClick=function(){this.player_.isFullscreen()?(this.player_.exitFullscreen(),this.controlText("Fullscreen")):(this.player_.requestFullscreen(),this.controlText("Non-Fullscreen"))},ti}(tc.default);td.prototype.controlText_="Fullscreen",tu.default.registerComponent("FullscreenToggle",td),tn.default=td,ti.exports=tn.default},{"../button.js":64,"../component.js":67}],72:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../component")),td=ts(tt("../utils/dom.js")),th=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.updateShowing(),this.on(this.player(),"durationchange",this.updateShowing)}return tc(ti,tt),ti.prototype.createEl=function(){var ti=tt.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=td.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"</span>"+this.localize("LIVE")},{"aria-live":"off"}),ti.appendChild(this.contentEl_),ti},ti.prototype.updateShowing=function(){this.player().duration()===1/0?this.show():this.hide()},ti}(tu.default);tu.default.registerComponent("LiveDisplay",th),tn.default=th,ti.exports=tn.default},{"../component":67,"../utils/dom.js":143}],73:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../button")),td=ta(tt("../component")),th=ts(tt("../utils/dom.js")),tp=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.on(tn,"volumechange",this.update),tn.tech_&&!1===tn.tech_.featuresVolumeControl&&this.addClass("vjs-hidden"),this.on(tn,"loadstart",function(){this.update(),!1===tn.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}return tc(ti,tt),ti.prototype.buildCSSClass=function(){return"vjs-mute-control "+tt.prototype.buildCSSClass.call(this)},ti.prototype.handleClick=function(){this.player_.muted(!this.player_.muted())},ti.prototype.update=function(){var tt=this.player_.volume(),ti=3;0===tt||this.player_.muted()?ti=0:.33>tt?ti=1:.67>tt&&(ti=2);var tn=this.player_.muted()?"Unmute":"Mute";this.controlText()!==tn&&this.controlText(tn);for(var ts=0;4>ts;ts++)th.removeElClass(this.el_,"vjs-vol-"+ts);th.addElClass(this.el_,"vjs-vol-"+ti)},ti}(tu.default);tp.prototype.controlText_="Mute",td.default.registerComponent("MuteToggle",tp),tn.default=tp,ti.exports=tn.default},{"../button":64,"../component":67,"../utils/dom.js":143}],74:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("../button.js")),tu=ts(tt("../component.js")),td=function(tt){function ti(tn,ts){ta(this,ti),tt.call(this,tn,ts),this.on(tn,"play",this.handlePlay),this.on(tn,"pause",this.handlePause)}return tl(ti,tt),ti.prototype.buildCSSClass=function(){return"vjs-play-control "+tt.prototype.buildCSSClass.call(this)},ti.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},ti.prototype.handlePlay=function(){this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},ti.prototype.handlePause=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},ti}(tc.default);td.prototype.controlText_="Play",tu.default.registerComponent("PlayToggle",td),tn.default=td,ti.exports=tn.default},{"../button.js":64,"../component.js":67}],75:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../../menu/menu-button.js")),td=ta(tt("../../menu/menu.js")),th=ta(tt("./playback-rate-menu-item.js")),tp=ta(tt("../../component.js")),tf=ts(tt("../../utils/dom.js")),tm=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.updateVisibility(),this.updateLabel(),this.on(tn,"loadstart",this.updateVisibility),this.on(tn,"ratechange",this.updateLabel)}return tc(ti,tt),ti.prototype.createEl=function(){var ti=tt.prototype.createEl.call(this);return this.labelEl_=tf.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1}),ti.appendChild(this.labelEl_),ti},ti.prototype.buildCSSClass=function(){return"vjs-playback-rate "+tt.prototype.buildCSSClass.call(this)},ti.prototype.createMenu=function(){var tt=new td.default(this.player()),ti=this.playbackRates();if(ti)for(var tn=ti.length-1;tn>=0;tn--)tt.addChild(new th.default(this.player(),{rate:ti[tn]+"x"}));return tt},ti.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},ti.prototype.handleClick=function(){for(var tt=this.player().playbackRate(),ti=this.playbackRates(),tn=ti[0],ts=0;ts<ti.length;ts++)if(ti[ts]>tt){tn=ti[ts];break}this.player().playbackRate(tn)},ti.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},ti.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},ti.prototype.updateVisibility=function(){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},ti.prototype.updateLabel=function(){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},ti}(tu.default);tm.prototype.controlText_="Playback Rate",tp.default.registerComponent("PlaybackRateMenuButton",tm),tn.default=tm,ti.exports=tn.default},{"../../component.js":67,"../../menu/menu-button.js":109,"../../menu/menu.js":111,"../../utils/dom.js":143,"./playback-rate-menu-item.js":76}],76:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("../../menu/menu-item.js")),tu=ts(tt("../../component.js")),td=function(tt){function ti(tn,ts){ta(this,ti);var tl=ts.rate,tc=parseFloat(tl,10);ts.label=tl,ts.selected=1===tc,tt.call(this,tn,ts),this.label=tl,this.rate=tc,this.on(tn,"ratechange",this.update)}return tl(ti,tt),ti.prototype.handleClick=function(){tt.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},ti.prototype.update=function(){this.selected(this.player().playbackRate()===this.rate)},ti}(tc.default);td.prototype.contentElType="button",tu.default.registerComponent("PlaybackRateMenuItem",td),tn.default=td,ti.exports=tn.default},{"../../component.js":67,"../../menu/menu-item.js":110}],77:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../../component.js")),td=ts(tt("../../utils/dom.js")),th=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.on(tn,"progress",this.update)}return tc(ti,tt),ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},ti.prototype.update=function(){var tt=this.player_.buffered(),ti=this.player_.duration(),tn=this.player_.bufferedEnd(),ts=this.el_.children,ta=function(tt,ti){var tn=tt/ti||0;return 100*(tn>=1?1:tn)+"%"};this.el_.style.width=ta(tn,ti);for(var tl=0;tl<tt.length;tl++){var tc=tt.start(tl),tu=tt.end(tl),th=ts[tl];th||(th=this.el_.appendChild(td.createEl())),th.style.left=ta(tc,tn),th.style.width=ta(tu-tc,tn)}for(var tl=ts.length;tl>tt.length;tl--)this.el_.removeChild(ts[tl-1])},ti}(tu.default);tu.default.registerComponent("LoadProgressBar",th),tn.default=th,ti.exports=tn.default},{"../../component.js":67,"../../utils/dom.js":143}],78:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("global/window")),td=ta(tt("../../component.js")),th=ts(tt("../../utils/dom.js")),tp=ts(tt("../../utils/fn.js")),tf=ta(tt("../../utils/format-time.js")),tm=ta(tt("lodash-compat/function/throttle")),tg=function(tt){function ti(tn,ts){var ta=this;tl(this,ti),tt.call(this,tn,ts),ts.playerOptions&&ts.playerOptions.controlBar&&ts.playerOptions.controlBar.progressControl&&ts.playerOptions.controlBar.progressControl.keepTooltipsInside&&(this.keepTooltipsInside=ts.playerOptions.controlBar.progressControl.keepTooltipsInside),this.keepTooltipsInside&&(this.tooltip=th.createEl("div",{className:"vjs-time-tooltip"}),this.el().appendChild(this.tooltip),this.addClass("vjs-keep-tooltips-inside")),this.update(0,0),tn.on("ready",function(){ta.on(tn.controlBar.progressControl.el(),"mousemove",tm.default(tp.bind(ta,ta.handleMouseMove),25))})}return tc(ti,tt),ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},ti.prototype.handleMouseMove=function(tt){var ti=this.player_.duration(),tn=this.calculateDistance(tt)*ti,ts=tt.pageX-th.findElPosition(this.el().parentNode).left;this.update(tn,ts)},ti.prototype.update=function(tt,ti){var tn=tf.default(tt,this.player_.duration());if(this.el().style.left=ti+"px",this.el().setAttribute("data-current-time",tn),this.keepTooltipsInside){var ts=this.clampPosition_(ti),ta=ti-ts+1,tl=parseFloat(tu.default.getComputedStyle(this.tooltip).width)/2;this.tooltip.innerHTML=tn,this.tooltip.style.right="-"+(tl-ta)+"px"}},ti.prototype.calculateDistance=function(tt){return th.getPointerPosition(this.el().parentNode,tt).x},ti.prototype.clampPosition_=function(tt){if(!this.keepTooltipsInside)return tt;var ti=parseFloat(tu.default.getComputedStyle(this.player().el()).width),tn=parseFloat(tu.default.getComputedStyle(this.tooltip).width)/2,ts=tt;return tn>tt?ts=Math.ceil(tn):tt>ti-tn&&(ts=Math.floor(ti-tn)),ts},ti}(td.default);td.default.registerComponent("MouseTimeDisplay",tg),tn.default=tg,ti.exports=tn.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/fn.js":145,"../../utils/format-time.js":146,"global/window":2,"lodash-compat/function/throttle":7}],79:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../../component.js")),td=ts(tt("../../utils/fn.js")),th=ta((ts(tt("../../utils/dom.js")),tt("../../utils/format-time.js"))),tp=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.updateDataAttr(),this.on(tn,"timeupdate",this.updateDataAttr),tn.ready(td.bind(this,this.updateDataAttr)),ts.playerOptions&&ts.playerOptions.controlBar&&ts.playerOptions.controlBar.progressControl&&ts.playerOptions.controlBar.progressControl.keepTooltipsInside&&(this.keepTooltipsInside=ts.playerOptions.controlBar.progressControl.keepTooltipsInside),this.keepTooltipsInside&&this.addClass("vjs-keep-tooltips-inside")}return tc(ti,tt),ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},ti.prototype.updateDataAttr=function(){var tt=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("data-current-time",th.default(tt,this.player_.duration()))},ti}(tu.default);tu.default.registerComponent("PlayProgressBar",tp),tn.default=tp,ti.exports=tn.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/fn.js":145,"../../utils/format-time.js":146}],80:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("../../component.js")),tu=(ts(tt("./seek-bar.js")),tt("./mouse-time-display.js")),td=(ts(tu),function(tt){function ti(){ta(this,ti),tt.apply(this,arguments)}return tl(ti,tt),ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},ti}(tc.default));td.prototype.options_={children:["seekBar"]},tc.default.registerComponent("ProgressControl",td),tn.default=td,ti.exports=tn.default},{"../../component.js":67,"./mouse-time-display.js":78,"./seek-bar.js":81}],81:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("global/window")),td=ta(tt("../../slider/slider.js")),th=ta(tt("../../component.js")),tp=(ta(tt("./load-progress-bar.js")),tt("./play-progress-bar.js")),tf=(ta(tp),tt("./tooltip-progress-bar.js")),tm=ts((ta(tf),tt("../../utils/fn.js"))),tg=ta(tt("../../utils/format-time.js")),tv=(ta(tt("object.assign")),function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.on(tn,"timeupdate",this.updateProgress),this.on(tn,"ended",this.updateProgress),tn.ready(tm.bind(this,this.updateProgress)),ts.playerOptions&&ts.playerOptions.controlBar&&ts.playerOptions.controlBar.progressControl&&ts.playerOptions.controlBar.progressControl.keepTooltipsInside&&(this.keepTooltipsInside=ts.playerOptions.controlBar.progressControl.keepTooltipsInside),this.keepTooltipsInside&&(this.tooltipProgressBar=this.addChild("TooltipProgressBar"))}return tc(ti,tt),ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"progress bar"})},ti.prototype.updateProgress=function(){if(this.updateAriaAttributes(this.el_),this.keepTooltipsInside){this.updateAriaAttributes(this.tooltipProgressBar.el_),this.tooltipProgressBar.el_.style.width=this.bar.el_.style.width;var tt=parseFloat(tu.default.getComputedStyle(this.player().el()).width),ti=parseFloat(tu.default.getComputedStyle(this.tooltipProgressBar.tooltip).width),tn=this.tooltipProgressBar.el().style;tn.maxWidth=Math.floor(tt-ti/2)+"px",tn.minWidth=Math.ceil(ti/2)+"px",tn.right="-"+ti/2+"px"}},ti.prototype.updateAriaAttributes=function(tt){var ti=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();tt.setAttribute("aria-valuenow",(100*this.getPercent()).toFixed(2)),tt.setAttribute("aria-valuetext",tg.default(ti,this.player_.duration()))},ti.prototype.getPercent=function(){var tt=this.player_.currentTime()/this.player_.duration();return tt>=1?1:tt},ti.prototype.handleMouseDown=function(ti){tt.prototype.handleMouseDown.call(this,ti),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause()},ti.prototype.handleMouseMove=function(tt){var ti=this.calculateDistance(tt)*this.player_.duration();ti===this.player_.duration()&&(ti-=.1),this.player_.currentTime(ti)},ti.prototype.handleMouseUp=function(ti){tt.prototype.handleMouseUp.call(this,ti),this.player_.scrubbing(!1),this.videoWasPlaying&&this.player_.play()},ti.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},ti.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},ti}(td.default));tv.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"},tv.prototype.playerEvent="timeupdate",th.default.registerComponent("SeekBar",tv),tn.default=tv,ti.exports=tn.default},{"../../component.js":67,"../../slider/slider.js":119,"../../utils/fn.js":145,"../../utils/format-time.js":146,"./load-progress-bar.js":77,"./play-progress-bar.js":79,"./tooltip-progress-bar.js":82,"global/window":2,"object.assign":45}],82:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../../component.js")),td=ts(tt("../../utils/fn.js")),th=ta((ts(tt("../../utils/dom.js")),tt("../../utils/format-time.js"))),tp=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.updateDataAttr(),this.on(tn,"timeupdate",this.updateDataAttr),tn.ready(td.bind(this,this.updateDataAttr))}return tc(ti,tt),ti.prototype.createEl=function(){var ti=tt.prototype.createEl.call(this,"div",{className:"vjs-tooltip-progress-bar vjs-slider-bar",innerHTML:'<div class="vjs-time-tooltip"></div>
23\n        <span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"});return this.tooltip=ti.querySelector(".vjs-time-tooltip"),ti},ti.prototype.updateDataAttr=function(){var tt=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),ti=th.default(tt,this.player_.duration());this.el_.setAttribute("data-current-time",ti),this.tooltip.innerHTML=ti},ti}(tu.default);tu.default.registerComponent("TooltipProgressBar",tp),tn.default=tp,ti.exports=tn.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/fn.js":145,"../../utils/format-time.js":146}],83:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("./spacer.js")),tu=ts(tt("../../component.js")),td=function(tt){function ti(){ta(this,ti),tt.apply(this,arguments)}return tl(ti,tt),ti.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+tt.prototype.buildCSSClass.call(this)},ti.prototype.createEl=function(){var ti=tt.prototype.createEl.call(this,{className:this.buildCSSClass()});return ti.innerHTML="&nbsp;",ti},ti}(tc.default);tu.default.registerComponent("CustomControlSpacer",td),tn.default=td,ti.exports=tn.default},{"../../component.js":67,"./spacer.js":84}],84:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("../../component.js")),tu=function(tt){function ti(){ta(this,ti),tt.apply(this,arguments)}return tl(ti,tt),ti.prototype.buildCSSClass=function(){return"vjs-spacer "+tt.prototype.buildCSSClass.call(this)},ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},ti}(tc.default);tc.default.registerComponent("Spacer",tu),tn.default=tu,ti.exports=tn.default},{"../../component.js":67}],85:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("./text-track-menu-item.js")),tu=ts(tt("../../component.js")),td=function(tt){function ti(tn,ts){ta(this,ti),ts.track={kind:ts.kind,player:tn,label:ts.kind+" settings",selectable:!1,default:!1,mode:"disabled"},ts.selectable=!1,tt.call(this,tn,ts),this.addClass("vjs-texttrack-settings"),this.controlText(", opens "+ts.kind+" settings dialog")}return tl(ti,tt),ti.prototype.handleClick=function(){this.player().getChild("textTrackSettings").show(),this.player().getChild("textTrackSettings").el_.focus()},ti}(tc.default);tu.default.registerComponent("CaptionSettingsMenuItem",td),tn.default=td,ti.exports=tn.default},{"../../component.js":67,"./text-track-menu-item.js":93}],86:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("./text-track-button.js")),tu=ts(tt("../../component.js")),td=ts(tt("./caption-settings-menu-item.js")),th=function(tt){function ti(tn,ts,tl){ta(this,ti),tt.call(this,tn,ts,tl),this.el_.setAttribute("aria-label","Captions Menu")}return tl(ti,tt),ti.prototype.buildCSSClass=function(){return"vjs-captions-button "+tt.prototype.buildCSSClass.call(this)},ti.prototype.update=function(){var ti=2;tt.prototype.update.call(this),this.player().tech_&&this.player().tech_.featuresNativeTextTracks&&(ti=1),this.items&&this.items.length>ti?this.show():this.hide()},ti.prototype.createItems=function(){var ti=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||ti.push(new td.default(this.player_,{kind:this.kind_})),tt.prototype.createItems.call(this,ti)},ti}(tc.default);th.prototype.kind_="captions",th.prototype.controlText_="Captions",tu.default.registerComponent("CaptionsButton",th),tn.default=th,ti.exports=tn.default},{"../../component.js":67,"./caption-settings-menu-item.js":85,"./text-track-button.js":92}],87:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("./text-track-button.js")),td=ta(tt("../../component.js")),th=ta(tt("./text-track-menu-item.js")),tp=ta(tt("./chapters-track-menu-item.js")),tf=ta(tt("../../menu/menu.js")),tm=ts(tt("../../utils/dom.js")),tg=ta((ts(tt("../../utils/fn.js")),tt("../../utils/to-title-case.js"))),tv=(ta(tt("global/window")),function(tt){function ti(tn,ts,ta){tl(this,ti),tt.call(this,tn,ts,ta),this.el_.setAttribute("aria-label","Chapters Menu")}return tc(ti,tt),ti.prototype.buildCSSClass=function(){return"vjs-chapters-button "+tt.prototype.buildCSSClass.call(this)},ti.prototype.createItems=function(){var tt=[],ti=this.player_.textTracks();if(!ti)return tt;for(var tn=0;tn<ti.length;tn++){var ts=ti[tn];ts.kind===this.kind_&&tt.push(new th.default(this.player_,{track:ts}))}return tt},ti.prototype.createMenu=function(){for(var tt=this,ti=this.player_.textTracks()||[],tn=void 0,ts=this.items=[],ta=0,tl=ti.length;tl>ta;ta++){var tc=ti[ta];if(tc.kind===this.kind_){tn=tc;break}}var tu=this.menu;if(void 0===tu){tu=new tf.default(this.player_);var td=tm.createEl("li",{className:"vjs-menu-title",innerHTML:tg.default(this.kind_),tabIndex:-1});tu.children_.unshift(td),tm.insertElFirst(td,tu.contentEl())}if(tn&&null==tn.cues){tn.mode="hidden";var th=this.player_.remoteTextTrackEls().getTrackElementByTrack_(tn);
23th&&th.addEventListener("load",function(){return tt.update()})}if(tn&&tn.cues&&tn.cues.length>0){for(var tv=tn.cues,ty=void 0,ta=0,tb=tv.length;tb>ta;ta++){ty=tv[ta];var tw=new tp.default(this.player_,{track:tn,cue:ty});ts.push(tw),tu.addChild(tw)}this.addChild(tu)}return this.items.length>0&&this.show(),tu},ti}(tu.default));tv.prototype.kind_="chapters",tv.prototype.controlText_="Chapters",td.default.registerComponent("ChaptersButton",tv),tn.default=tv,ti.exports=tn.default},{"../../component.js":67,"../../menu/menu.js":111,"../../utils/dom.js":143,"../../utils/fn.js":145,"../../utils/to-title-case.js":152,"./chapters-track-menu-item.js":88,"./text-track-button.js":92,"./text-track-menu-item.js":93,"global/window":2}],88:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../../menu/menu-item.js")),td=ta(tt("../../component.js")),th=ts(tt("../../utils/fn.js")),tp=function(tt){function ti(tn,ts){tl(this,ti);var ta=ts.track,tc=ts.cue,tu=tn.currentTime();ts.label=tc.text,ts.selected=tc.startTime<=tu&&tu<tc.endTime,tt.call(this,tn,ts),this.track=ta,this.cue=tc,ta.addEventListener("cuechange",th.bind(this,this.update))}return tc(ti,tt),ti.prototype.handleClick=function(){tt.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},ti.prototype.update=function(){var tt=this.cue,ti=this.player_.currentTime();this.selected(tt.startTime<=ti&&ti<tt.endTime)},ti}(tu.default);td.default.registerComponent("ChaptersTrackMenuItem",tp),tn.default=tp,ti.exports=tn.default},{"../../component.js":67,"../../menu/menu-item.js":110,"../../utils/fn.js":145}],89:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("./text-track-button.js")),td=ta(tt("../../component.js")),th=ts(tt("../../utils/fn.js")),tp=function(tt){function ti(tn,ts,ta){var tc=this;tl(this,ti),tt.call(this,tn,ts,ta),this.el_.setAttribute("aria-label","Descriptions Menu");var tu=tn.textTracks();tu&&function(){var tt=th.bind(tc,tc.handleTracksChange);tu.addEventListener("change",tt),tc.on("dispose",function(){tu.removeEventListener("change",tt)})}()}return tc(ti,tt),ti.prototype.handleTracksChange=function(){for(var tt=this.player().textTracks(),ti=!1,tn=0,ts=tt.length;ts>tn;tn++){var ta=tt[tn];if(ta.kind!==this.kind_&&"showing"===ta.mode){ti=!0;break}}ti?this.disable():this.enable()},ti.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+tt.prototype.buildCSSClass.call(this)},ti}(tu.default);tp.prototype.kind_="descriptions",tp.prototype.controlText_="Descriptions",td.default.registerComponent("DescriptionsButton",tp),tn.default=tp,ti.exports=tn.default},{"../../component.js":67,"../../utils/fn.js":145,"./text-track-button.js":92}],90:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("./text-track-menu-item.js")),tu=ts(tt("../../component.js")),td=function(tt){function ti(tn,ts){ta(this,ti),ts.track={kind:ts.kind,player:tn,label:ts.kind+" off",default:!1,mode:"disabled"},ts.selectable=!0,tt.call(this,tn,ts),this.selected(!0)}return tl(ti,tt),ti.prototype.handleTracksChange=function(){for(var tt=this.player().textTracks(),ti=!0,tn=0,ts=tt.length;ts>tn;tn++){var ta=tt[tn];if(ta.kind===this.track.kind&&"showing"===ta.mode){ti=!1;break}}this.selected(ti)},ti}(tc.default);tu.default.registerComponent("OffTextTrackMenuItem",td),tn.default=td,ti.exports=tn.default},{"../../component.js":67,"./text-track-menu-item.js":93}],91:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("./text-track-button.js")),tu=ts(tt("../../component.js")),td=function(tt){function ti(tn,ts,tl){ta(this,ti),tt.call(this,tn,ts,tl),this.el_.setAttribute("aria-label","Subtitles Menu")}return tl(ti,tt),ti.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+tt.prototype.buildCSSClass.call(this)},ti}(tc.default);td.prototype.kind_="subtitles",td.prototype.controlText_="Subtitles",tu.default.registerComponent("SubtitlesButton",td),tn.default=td,ti.exports=tn.default},{"../../component.js":67,"./text-track-button.js":92}],92:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../track-button.js")),td=ta(tt("../../component.js")),th=ta((ts(tt("../../utils/fn.js")),tt("./text-track-menu-item.js"))),tp=ta(tt("./off-text-track-menu-item.js")),tf=function(tt){function ti(tn){var ts=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];tl(this,ti),ts.tracks=tn.textTracks(),tt.call(this,tn,ts)}return tc(ti,tt),ti.prototype.createItems=function(){var tt=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];tt.push(new tp.default(this.player_,{kind:this.kind_}));var ti=this.player_.textTracks();if(!ti)return tt;for(var tn=0;tn<ti.length;tn++){var ts=ti[tn];ts.kind===this.kind_&&tt.push(new th.default(this.player_,{selectable:!0,track:ts}))}return tt},ti}(tu.default);td.default.registerComponent("TextTrackButton",tf),tn.default=tf,ti.exports=tn.default},{"../../component.js":67,"../../utils/fn.js":145,"../track-button.js":98,"./off-text-track-menu-item.js":90,"./text-track-menu-item.js":93}],93:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../../menu/menu-item.js")),td=ta(tt("../../component.js")),th=ts(tt("../../utils/fn.js")),tp=ta(tt("global/window")),tf=ta(tt("global/document")),tm=function(tt){function ti(tn,ts){var ta=this;tl(this,ti);var tc=ts.track,tu=tn.textTracks();ts.label=tc.label||tc.language||"Unknown",ts.selected=tc.default||"showing"===tc.mode,tt.call(this,tn,ts),this.track=tc,tu&&function(){var tt=th.bind(ta,ta.handleTracksChange);tu.addEventListener("change",tt),ta.on("dispose",function(){tu.removeEventListener("change",tt)})}(),tu&&void 0===tu.onchange&&function(){var tt=void 0;ta.on(["tap","click"],function(){if("object"!=typeof tp.default.Event)try{tt=new tp.default.Event("change")}catch(tt){}tt||(tt=tf.default.createEvent("Event")).initEvent("change",!0,!0),tu.dispatchEvent(tt)})}()}return tc(ti,tt),ti.prototype.handleClick=function(ti){var tn=this.track.kind,ts=this.player_.textTracks();if(tt.prototype.handleClick.call(this,ti),ts)for(var ta=0;ta<ts.length;ta++){var tl=ts[ta];tl.kind===tn&&(tl.mode=tl===this.track?"showing":"disabled")}},ti.prototype.handleTracksChange=function(){this.selected("showing"===this.track.mode)},ti}(tu.default);td.default.registerComponent("TextTrackMenuItem",tm),tn.default=tm,ti.exports=tn.default},{"../../component.js":67,"../../menu/menu-item.js":110,"../../utils/fn.js":145,"global/document":1,"global/window":2}],94:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../../component.js")),td=ts(tt("../../utils/dom.js")),th=ta(tt("../../utils/format-time.js")),tp=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.on(tn,"timeupdate",this.updateContent)}return tc(ti,tt),ti.prototype.createEl=function(){var ti=tt.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-control vjs-control"});return this.contentEl_=td.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00'},{"aria-live":"off"}),ti.appendChild(this.contentEl_),ti},ti.prototype.updateContent=function(){var tt=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),ti=this.localize("Current Time"),tn=th.default(tt,this.player_.duration());tn!==this.formattedTime_&&(this.formattedTime_=tn,this.contentEl_.innerHTML='<span class="vjs-control-text">'+ti+"</span> "+tn)},ti}(tu.default);tu.default.registerComponent("CurrentTimeDisplay",tp),tn.default=tp,ti.exports=tn.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/format-time.js":146}],95:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../../component.js")),td=ts(tt("../../utils/dom.js")),th=ta(tt("../../utils/format-time.js")),tp=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.on(tn,"timeupdate",this.updateContent),this.on(tn,"loadedmetadata",this.updateContent)}return tc(ti,tt),ti.prototype.createEl=function(){var ti=tt.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-control vjs-control"});return this.contentEl_=td.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"</span> 0:00"},{"aria-live":"off"}),ti.appendChild(this.contentEl_),ti},ti.prototype.updateContent=function(){var tt=this.player_.duration();if(tt&&this.duration_!==tt){this.duration_=tt;var ti=this.localize("Duration Time"),tn=th.default(tt);this.contentEl_.innerHTML='<span class="vjs-control-text">'+ti+"</span> "+tn}},ti}(tu.default);tu.default.registerComponent("DurationDisplay",tp),tn.default=tp,ti.exports=tn.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/format-time.js":146}],96:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../../component.js")),td=ts(tt("../../utils/dom.js")),th=ta(tt("../../utils/format-time.js")),tp=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.on(tn,"timeupdate",this.updateContent)}return tc(ti,tt),ti.prototype.createEl=function(){var ti=tt.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-control vjs-control"});return this.contentEl_=td.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"</span> -0:00"},{"aria-live":"off"}),ti.appendChild(this.contentEl_),ti},ti.prototype.updateContent=function(){if(this.player_.duration()){var tt=this.localize("Remaining Time"),ti=th.default(this.player_.remainingTime());ti!==this.formattedTime_&&(this.formattedTime_=ti,this.contentEl_.innerHTML='<span class="vjs-control-text">'+tt+"</span> -"+ti)}},ti}(tu.default);tu.default.registerComponent("RemainingTimeDisplay",tp),tn.default=tp,ti.exports=tn.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/format-time.js":146}],97:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("../../component.js")),tu=function(tt){function ti(){ta(this,ti),tt.apply(this,arguments)}return tl(ti,tt),ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},ti}(tc.default);tc.default.registerComponent("TimeDivider",tu),tn.default=tu,ti.exports=tn.default},{"../../component.js":67}],98:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../menu/menu-button.js")),td=ta(tt("../component.js")),th=ts(tt("../utils/fn.js")),tp=function(tt){function ti(tn,ts){tl(this,ti);var ta=ts.tracks;if(tt.call(this,tn,ts),this.items.length<=1&&this.hide(),ta){var tc=th.bind(this,this.update);ta.addEventListener("removetrack",tc),ta.addEventListener("addtrack",tc),this.player_.on("dispose",function(){ta.removeEventListener("removetrack",tc),ta.removeEventListener("addtrack",tc)})}}return tc(ti,tt),ti}(tu.default);td.default.registerComponent("TrackButton",tp),tn.default=tp,ti.exports=tn.default},{"../component.js":67,"../menu/menu-button.js":109,"../utils/fn.js":145}],99:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../../slider/slider.js")),td=ta(tt("../../component.js")),th=ts(tt("../../utils/fn.js")),tp=(ta(tt("./volume-level.js")),function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.on(tn,"volumechange",this.updateARIAAttributes),tn.ready(th.bind(this,this.updateARIAAttributes))}return tc(ti,tt),ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":"volume level"})},ti.prototype.handleMouseMove=function(tt){this.checkMuted(),this.player_.volume(this.calculateDistance(tt))},ti.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},ti.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},ti.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},ti.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},ti.prototype.updateARIAAttributes=function(){var tt=(100*this.player_.volume()).toFixed(2);this.el_.setAttribute("aria-valuenow",tt),this.el_.setAttribute("aria-valuetext",tt+"%")},ti}(tu.default));tp.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},tp.prototype.playerEvent="volumechange",td.default.registerComponent("VolumeBar",tp),tn.default=tp,ti.exports=tn.default},{"../../component.js":67,"../../slider/slider.js":119,"../../utils/fn.js":145,"./volume-level.js":101}],100:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("../../component.js")),tu=(ts(tt("./volume-bar.js")),function(tt){function ti(tn,ts){ta(this,ti),tt.call(this,tn,ts),tn.tech_&&!1===tn.tech_.featuresVolumeControl&&this.addClass("vjs-hidden"),this.on(tn,"loadstart",function(){!1===tn.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}return tl(ti,tt),ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},ti}(tc.default));tu.prototype.options_={children:["volumeBar"]}
23,tc.default.registerComponent("VolumeControl",tu),tn.default=tu,ti.exports=tn.default},{"../../component.js":67,"./volume-bar.js":99}],101:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("../../component.js")),tu=function(tt){function ti(){ta(this,ti),tt.apply(this,arguments)}return tl(ti,tt),ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},ti}(tc.default);tc.default.registerComponent("VolumeLevel",tu),tn.default=tu,ti.exports=tn.default},{"../../component.js":67}],102:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../utils/fn.js")),td=ts(tt("../component.js")),th=ts(tt("../popup/popup.js")),tp=ts(tt("../popup/popup-button.js")),tf=ts(tt("./mute-toggle.js")),tm=ts(tt("./volume-control/volume-bar.js")),tg=function(tt){function ti(tn){function ts(){tn.tech_&&!1===tn.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var ta=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];tl(this,ti),void 0===ta.inline&&(ta.inline=!0),void 0===ta.vertical&&(ta.vertical=!ta.inline),ta.volumeBar=ta.volumeBar||{},ta.volumeBar.vertical=!!ta.vertical,tt.call(this,tn,ta),this.on(tn,"volumechange",this.volumeUpdate),this.on(tn,"loadstart",this.volumeUpdate),ts.call(this),this.on(tn,"loadstart",ts),this.on(this.volumeBar,["slideractive","focus"],function(){this.addClass("vjs-slider-active")}),this.on(this.volumeBar,["sliderinactive","blur"],function(){this.removeClass("vjs-slider-active")}),this.on(this.volumeBar,["focus"],function(){this.addClass("vjs-lock-showing")}),this.on(this.volumeBar,["blur"],function(){this.removeClass("vjs-lock-showing")})}return tc(ti,tt),ti.prototype.buildCSSClass=function(){var ti="";return ti=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal","vjs-volume-menu-button "+tt.prototype.buildCSSClass.call(this)+" "+ti},ti.prototype.createPopup=function(){var tt=new th.default(this.player_,{contentElType:"div"}),ti=new tm.default(this.player_,this.options_.volumeBar);return tt.addChild(ti),this.menuContent=tt,this.volumeBar=ti,this.attachVolumeBarEvents(),tt},ti.prototype.handleClick=function(){tf.default.prototype.handleClick.call(this),tt.prototype.handleClick.call(this)},ti.prototype.attachVolumeBarEvents=function(){this.menuContent.on(["mousedown","touchdown"],tu.bind(this,this.handleMouseDown))},ti.prototype.handleMouseDown=function(){this.on(["mousemove","touchmove"],tu.bind(this.volumeBar,this.volumeBar.handleMouseMove)),this.on(this.el_.ownerDocument,["mouseup","touchend"],this.handleMouseUp)},ti.prototype.handleMouseUp=function(){this.off(["mousemove","touchmove"],tu.bind(this.volumeBar,this.volumeBar.handleMouseMove))},ti}(tp.default);tg.prototype.volumeUpdate=tf.default.prototype.update,tg.prototype.controlText_="Mute",td.default.registerComponent("VolumeMenuButton",tg),tn.default=tg,ti.exports=tn.default},{"../component.js":67,"../popup/popup-button.js":115,"../popup/popup.js":116,"../utils/fn.js":145,"./mute-toggle.js":73,"./volume-control/volume-bar.js":99}],103:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("./component")),td=ta(tt("./modal-dialog")),th=ta((ts(tt("./utils/dom")),tt("./utils/merge-options"))),tp=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.on(tn,"error",this.open)}return tc(ti,tt),ti.prototype.buildCSSClass=function(){return"vjs-error-display "+tt.prototype.buildCSSClass.call(this)},ti.prototype.content=function(){var tt=this.player().error();return tt?this.localize(tt.message):""},ti}(td.default);tp.prototype.options_=th.default(td.default.prototype.options_,{fillAlways:!0,temporary:!1,uncloseable:!0}),tu.default.registerComponent("ErrorDisplay",tp),tn.default=tp,ti.exports=tn.default},{"./component":67,"./modal-dialog":112,"./utils/dom":143,"./utils/merge-options":149}],104:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}tn.__esModule=!0;var ta=ts(tt("./utils/events.js")),tl=function(){};tl.prototype.allowedEvents_={},tl.prototype.on=function(tt,ti){var tn=this.addEventListener;this.addEventListener=function(){},ta.on(this,tt,ti),this.addEventListener=tn},tl.prototype.addEventListener=tl.prototype.on,tl.prototype.off=function(tt,ti){ta.off(this,tt,ti)},tl.prototype.removeEventListener=tl.prototype.off,tl.prototype.one=function(tt,ti){var tn=this.addEventListener;this.addEventListener=function(){},ta.one(this,tt,ti),this.addEventListener=tn},tl.prototype.trigger=function(tt){var ti=tt.type||tt;"string"==typeof tt&&(tt={type:ti}),tt=ta.fixEvent(tt),this.allowedEvents_[ti]&&this["on"+ti]&&this["on"+ti](tt),ta.trigger(this,tt)},tl.prototype.dispatchEvent=tl.prototype.trigger,tn.default=tl,ti.exports=tn.default},{"./utils/events.js":144}],105:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}tn.__esModule=!0;var ta=ts(tt("./utils/log")),tl=function(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(tt.super_=ti)},tc=function(tt){var ti=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],tn=function(){tt.apply(this,arguments)},ts={};for(var tc in"object"==typeof ti?("function"==typeof ti.init&&(ta.default.warn("Constructor logic via init() is deprecated; please use constructor() instead."),ti.constructor=ti.init),ti.constructor!==Object.prototype.constructor&&(tn=ti.constructor),ts=ti):"function"==typeof ti&&(tn=ti),tl(tn,tt),ts)ts.hasOwnProperty(tc)&&(tn.prototype[tc]=ts[tc]);return tn};tn.default=tc,ti.exports=tn.default},{"./utils/log":148}],106:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}tn.__esModule=!0;for(var ta=tt("global/document"),tl=ts(ta),tc={},tu=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],td=tu[0],th=void 0,tp=0;tp<tu.length;tp++)if(tu[tp][1]in tl.default){th=tu[tp];break}if(th)for(var tp=0;tp<th.length;tp++)tc[td[tp]]=th[tp];tn.default=tc,ti.exports=tn.default},{"global/document":1}],107:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("./component")),tu=function(tt){function ti(){ta(this,ti),tt.apply(this,arguments)}return tl(ti,tt),ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},ti}(tc.default);tc.default.registerComponent("LoadingSpinner",tu),tn.default=tu,ti.exports=tn.default},{"./component":67}],108:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}tn.__esModule=!0;var ta=ts(tt("object.assign")),tl=function tt(ti){"number"==typeof ti?this.co
23de=ti:"string"==typeof ti?this.message=ti:"object"==typeof ti&&ta.default(this,ti),this.message||(this.message=tt.defaultMessages[this.code]||"")};tl.prototype.code=0,tl.prototype.message="",tl.prototype.status=null,tl.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],tl.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var tc=0;tc<tl.errorTypes.length;tc++)tl[tl.errorTypes[tc]]=tc,tl.prototype[tl.errorTypes[tc]]=tc;tn.default=tl,ti.exports=tn.default},{"object.assign":45}],109:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../clickable-component.js")),td=ta(tt("../component.js")),th=ta(tt("./menu.js")),tp=ts(tt("../utils/dom.js")),tf=ts(tt("../utils/fn.js")),tm=ta(tt("../utils/to-title-case.js")),tg=function(tt){function ti(tn){var ts=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];tl(this,ti),tt.call(this,tn,ts),this.update(),this.enabled_=!0,this.el_.setAttribute("aria-haspopup","true"),this.el_.setAttribute("role","menuitem"),this.on("keydown",this.handleSubmenuKeyPress)}return tc(ti,tt),ti.prototype.update=function(){var tt=this.createMenu();this.menu&&this.removeChild(this.menu),this.menu=tt,this.addChild(tt),this.buttonPressed_=!1,this.el_.setAttribute("aria-expanded","false"),this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},ti.prototype.createMenu=function(){var tt=new th.default(this.player_);if(this.options_.title){var ti=tp.createEl("li",{className:"vjs-menu-title",innerHTML:tm.default(this.options_.title),tabIndex:-1});tt.children_.unshift(ti),tp.insertElFirst(ti,tt.contentEl())}if(this.items=this.createItems(),this.items)for(var tn=0;tn<this.items.length;tn++)tt.addItem(this.items[tn]);return tt},ti.prototype.createItems=function(){},ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},ti.prototype.buildCSSClass=function(){var ti="vjs-menu-button";return"vjs-menu-button "+(ti+=!0===this.options_.inline?"-inline":"-popup")+" "+tt.prototype.buildCSSClass.call(this)},ti.prototype.handleClick=function(){this.one("mouseout",tf.bind(this,function(){this.menu.unlockShowing(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},ti.prototype.handleKeyPress=function(ti){27===ti.which||9===ti.which?(this.buttonPressed_&&this.unpressButton(),9!==ti.which&&ti.preventDefault()):38===ti.which||40===ti.which?this.buttonPressed_||(this.pressButton(),ti.preventDefault()):tt.prototype.handleKeyPress.call(this,ti)},ti.prototype.handleSubmenuKeyPress=function(tt){(27===tt.which||9===tt.which)&&(this.buttonPressed_&&this.unpressButton(),9!==tt.which&&tt.preventDefault())},ti.prototype.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-expanded","true"),this.menu.focus())},ti.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","fal
23se"),this.el_.focus())},ti.prototype.disable=function(){return this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.enabled_=!1,tt.prototype.disable.call(this)},ti.prototype.enable=function(){return this.enabled_=!0,tt.prototype.enable.call(this)},ti}(tu.default);td.default.registerComponent("MenuButton",tg),tn.default=tg,ti.exports=tn.default},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":143,"../utils/fn.js":145,"../utils/to-title-case.js":152,"./menu.js":111}],110:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("../clickable-component.js")),tu=ts(tt("../component.js")),td=ts(tt("object.assign")),th=function(tt){function ti(tn,ts){ta(this,ti),tt.call(this,tn,ts),this.selectable=ts.selectable,this.selected(ts.selected),this.selectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitem")}return tl(ti,tt),ti.prototype.createEl=function(ti,tn,ts){return tt.prototype.createEl.call(this,"li",td.default({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label),tabIndex:-1},tn),ts)},ti.prototype.handleClick=function(){this.selected(!0)},ti.prototype.selected=function(tt){this.selectable&&(tt?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected")):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(" ")))},ti}(tc.default);tu.default.registerComponent("MenuItem",th),tn.default=th,ti.exports=tn.default},{"../clickable-component.js":65,"../component.js":67,"object.assign":45}],111:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../component.js")),td=ts(tt("../utils/dom.js")),th=ts(tt("../utils/fn.js")),tp=ts(tt("../utils/events.js")),tf=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.focusedChild_=-1,this.on("keydown",this.handleKeyPress)}return tc(ti,tt),ti.prototype.addItem=function(tt){this.addChild(tt),tt.on("click",th.bind(this,function(){this.unlockShowing()}))},ti.prototype.createEl=function(){var ti=this.options_.contentElType||"ul";this.contentEl_=td.createEl(ti,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var tn=tt.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return tn.setAttribute("role","presentation"),tn.appendChild(this.contentEl_),tp.on(tn,"click",function(tt){tt.preventDefault(),tt.stopImmediatePropagation()}),tn},ti.prototype.handleKeyPress=function(tt){37===tt.which||40===tt.which?(tt.preventDefault(),this.stepForward()):(38===tt.which||39===tt.which)&&(tt.preventDefault(),this.stepBack())},ti.prototype.stepForward=function(){var tt=0;void 0!==this.focusedChild_&&(tt=this.focusedChild_+1),this.focus(tt)},ti.prototype.stepBack=function(){var tt=0;void 0!==this.focusedChild_&&(tt=this.focusedChild_-1),this.focus(tt)},ti.prototype.focus=function(){var tt=arguments.length<=0||void 0===arguments[0]?0:arguments[0],ti=this.children().slice();ti.length&&ti[0].className&&/vjs-menu-title/.test(ti[0].className)&&ti.shift(),ti.length>0&&(0>tt?tt=0:tt>=ti.length&&(tt=ti.length-1),this.focusedChild_=tt,ti[tt].el_.focus())},ti}(tu.default);tu.default.registerComponent("Menu",tf),tn.default=tf,ti.exports=tn.default},{"../component.js":67,"../utils/dom.js":143,"../utils/events.js":144,"../utils/fn.js":145}],112:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("./utils/dom")),td=ta(tt("./utils/fn")),th=(ts(tt("./utils/log")),tt("./component")),tp=ts(th),tf=(ts(tt("./close-button")),"vjs-modal-dialog"),tm=27,tg=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1,this.closeable(!this.options_.uncloseable),this.content(this.options_.content),this.contentEl_=tu.createEl("div",{className:tf+"-content"},{role:"document"}),this.descEl_=tu.createEl("p",{className:tf+"-description vjs-offscreen",id:this.el().getAttribute("aria-describedby")}),tu.textContent(this.descEl_,this.description()),this.el_.appendChild(this.descEl_),this.el_.appendChild(this.contentEl_)}return tc(ti,tt),ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},ti.prototype.buildCSSClass=function(){return tf+" vjs-hidden "+tt.prototype.buildCSSClass.call(this)},ti.prototype.handleKeyPress=function(tt){tt.which===tm&&this.closeable()&&this.close()},ti.prototype.label=function(){return this.options_.label||this.localize("Modal Window")},ti.prototype.description=function(){var tt=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(tt+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),tt},ti.prototype.open=function(){if(!this.opened_){var tt=this.player();this.trigger("beforemodalopen"),this.opened_=!0,!this.options_.fillAlways&&(this.hasBeenOpened_||this.hasBeenFilled_)||this.fill(),this.wasPlaying_=!tt.paused(),this.wasPlaying_&&tt.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",td.bind(this,this.handleKeyPress)),tt.controls(!1),this.show(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}return this},ti.prototype.opened=function(tt){return"boolean"==typeof tt&&this[tt?"open":"close"](),this.opened_},ti.prototype.close=function(){if(this.opened_){var tt=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&tt.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",td.bind(this,this.handleKeyPress)),tt.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.options_.temporary&&this.dispose()}return this},ti.prototype.closeable=function(tt){if("boolean"==typeof tt){var ti=this.closeable_=!!tt,tn=this.getChild("closeButton");if(ti&&!tn){var ts=this.contentEl_;this.contentEl_=this.el_,tn=this.addChild("closeButton"),this.contentEl_=ts,this.on(tn,"close",this.close)}!ti&&tn&&(this.off(tn,"close",this.close),this.removeChild(tn),tn.dispose())}return this.closeable_},ti.prototype.fill=function(){return this.fillWith(this.content())},ti.prototype.fillWith=function(tt){var ti=this.contentEl(),tn=ti.parentNode,ts=ti.nextSibling;return this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,tn.removeChild(ti),this.empty(),tu.insertContent(ti,tt),this.trigger("modalfill"),ts?tn.insertBefore(ti,ts):tn.appendChild(ti),this},ti.prototype.empty=function(){return this.trigger("beforemodalempty"),tu.emptyEl(this.contentEl()),this.trigger("modalempty"),this},ti.prototype.content=function(tt){return void 0!==tt&&(this.content_=tt),this.content_},ti}(tp.default);tg.prototype.options_={temporary:!0},tp.default.registerComponent("ModalDialog",tg),tn.default=tg,ti.exports=tn.default},{"./close-button":66,"./component":67,"./utils/dom":143,"./utils/fn":145,"./utils/log":148}],113:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("./component.js")),td=ta(tt("global/document")),th=ta(tt("global/window")),tp=ts(tt("./utils/events.js")),tf=ts(tt("./utils/dom.js")),tm=ts(tt("./utils/fn.js")),tg=ts(tt("./utils/guid.js")),tv=ts(tt("./utils/browser.js")),ty=ta(tt("./utils/log.js")),tb=ta(tt("./utils/to-title-case.js")),tw=tt("./utils/time-ranges.js"),tx=tt("./utils/buffer.js"),t_=ts(tt("./utils/stylesheet.js")),tT=ta(tt("./fullscreen-api.js")),tk=ta(tt("./media-error.js")),tj=ta(tt("safe-json-parse/tuple")),tC=ta(tt("object.assign")),tS=ta(tt("./utils/merge-options.js")),tE=ta(tt("./tracks/text-track-list-converter.js")),tO=ta(tt("./tracks/audio-track-list.js")),tP=ta(tt("./tracks/video-track-list.js")),tI=(ta(tt("./tech/loader.js")),tt("./poster-image.js")),tM=(ta(tI),tt("./tracks/text-track-display.js")),tA=(ta(tM),tt("./loading-spinner.js")),tL=(ta(tA),tt("./big-play-button.js")),t$=(ta(tL),tt("./control-bar/control-bar.js")),tD=(ta(t$),tt("./error-display.js")),tz=(ta(tD),tt("./tracks/text-track-settings.js")),tN=(ta(tz),tt("./modal-dialog")),tH=ta(tN),tR=ta(tt("./tech/tech.js")),tB=(ta(tt("./tech/html5.js")),function(tt){function ti(tn,ts,ta){var tc=this;if(tl(this,ti),tn.id=tn.id||"vjs_video_"+tg.newGUID(),(ts=tC.default(ti.getTagSettings(tn),ts)).initChildren=!1,ts.createEl=!1,ts.reportTouchActivity=!1,tt.call(this,null,ts,ta),!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");this.tag=tn,this.tagAttributes=tn&&tf.getElAttributes(tn),this.language(this.options_.language),ts.languages?function(){var tt={};Object.getOwnPropertyNames(ts.languages).forEach(function(ti){tt[ti.toLowerCase()]=ts.languages[ti]}),tc.languages_=tt}():this.languages_=ti.prototype.options_.languages,this.cache_={},this.poster_=ts.poster||"",this.controls_=!!ts.controls,tn.controls=!1,this.scrubbing_=!1,this.el_=this.createEl();var tu=tS.default(this.options_);ts.plugins&&function(){var tt=ts.plugins;Object.getOwnPropertyNames(tt).forEach(function(ti){"function"==typeof this[ti]?this[ti](tt[ti]):ty.default.error("Unable to find plugin:",ti)},tc)}(),this.options_.playerOptions=tu,this.initChildren(),this.isAudio("audio"===tn.nodeName.toLowerCase()),this.addClass(this.controls()?"vjs-controls-enabled":"vjs-controls-disabled"),this.el_.setAttribute("role","region"),this.isAudio()?this.el_.setAttribute("aria-label","audio player"):this.el_.setAttribute("aria-label","video player"),this.isAudio()&&this.addClass("vjs-audio"),this.flexNotSupported_()&&this.addClass("vjs-no-flex"),tv.IS_IOS||this.addClass("vjs-workinghover"),ti.players[this.id_]=this,this.userActive(!0),this.reportUserActivity(),this.listenForUserActivity_(),this.on("fullscreenchange",this.handleFullscreenChange_),this.on("stageclick",this.handleStageClick_)}return tc(ti,tt),ti.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_),ti.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&this.tech_.dispose(),tt.prototype.dispose.call(this)},ti.prototype.createEl=function(){var ti=this.el_=tt.prototype.createEl.call(this,"div"),tn=this.tag;tn.removeAttribute("width"),tn.removeAttribute("height");var ts=tf.getElAttributes(tn);if(Object.getOwnPropertyNames(ts).forEach(function(tt){"class"===tt?ti.className=ts[tt]:ti.setAttribute(tt,ts[tt])}),tn.playerId=tn.id,tn.id+="_html5_api",tn.className="vjs-tech",tn.player=ti.player=this,this.addClass("vjs-paused"),!0!==th.default.VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=t_.createStyleElement("vjs-styles-dimensions");var ta=tf.$(".vjs-styles-defaults"),tl=tf.$("head");tl.insertBefore(this.styleEl_,ta?ta.nextSibling:tl.firstChild)}this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var tc=tn.getElementsByTagName("a"),tu=0;tu<tc.length;tu++){var td=tc.item(tu);tf.addElClass(td,"vjs-hidden"),td.setAttribute("hidden","hidden")}return tn.initNetworkState_=tn.networkState,tn.parentNode&&tn.parentNode.insertBefore(ti,tn),tf.insertElFirst(tn,ti),this.children_.unshift(tn),this.el_=ti,ti},ti.prototype.width=function(tt){return this.dimension("width",tt)},ti.prototype.height=function(tt){return this.dimension("height",tt)},ti.prototype.dimension=function(tt,ti){var tn=tt+"_";if(void 0===ti)return this[tn]||0;if(""===ti)this[tn]=void 0;
23else{var ts=parseFloat(ti);if(isNaN(ts))return ty.default.error('Improper value "'+ti+'" supplied for for '+tt),this;this[tn]=ts}return this.updateStyleEl_(),this},ti.prototype.fluid=function(tt){return void 0===tt?!!this.fluid_:(this.fluid_=!!tt,void(tt?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid")))},ti.prototype.aspectRatio=function(tt){if(void 0===tt)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(tt))throw Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=tt,this.fluid(!0),this.updateStyleEl_()},ti.prototype.updateStyleEl_=function(){if(!0===th.default.VIDEOJS_NO_DYNAMIC_STYLE){var tt="number"==typeof this.width_?this.width_:this.options_.width,ti="number"==typeof this.height_?this.height_:this.options_.height,tn=this.tech_&&this.tech_.el();return void(tn&&(tt>=0&&(tn.width=tt),ti>=0&&(tn.height=ti)))}var ts=void 0,ta=void 0,tl=void 0,tc=void 0,tu=(tl=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),td=tu[1]/tu[0];ts=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/td:this.videoWidth()||300,ta=void 0!==this.height_?this.height_:ts*td,tc=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(tc),t_.setTextContent(this.styleEl_,"\n      ."+tc+" {\n        width: "+ts+"px;\n        height: "+ta+"px;\n      }\n\n      ."+tc+".vjs-fluid {\n        padding-top: "+100*td+"%;\n      }\n    ")},ti.prototype.loadTech_=function(tt,ti){this.tech_&&this.unloadTech_(),"Html5"!==tt&&this.tag&&(tR.default.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=tt,this.isReady_=!1;var tn=tC.default({nativeControlsForTouch:this.options_.nativeControlsForTouch,source:ti,playerId:this.id(),techId:this.id()+"_"+tt+"_api",videoTracks:this.videoTracks_,textTracks:this.textTracks_,audioTracks:this.audioTracks_,autoplay:this.options_.autoplay,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),"vtt.js":this.options_["vtt.js"]},this.options_[tt.toLowerCase()]);this.tag&&(tn.tag=this.tag),ti&&(this.currentType_=ti.type,ti.src===this.cache_.src&&this.cache_.currentTime>0&&(tn.startTime=this.cache_.currentTime),this.cache_.src=ti.src);var ts=tR.default.getTech(tt);ts||(ts=tu.default.getComponent(tt)),this.tech_=new ts(tn),this.tech_.ready(tm.bind(this,this.handleTechReady_),!0),tE.default.jsonToTextTracks(this.textTracksJson_||[],this.tech_),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"canplay",this.handleTechCanPlay_),this.on(this.tech_,"canplaythrough",this.handleTechCanPlayThrough_),this.on(this.tech_,"playing",this.handleTechPlaying_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"seeked",this.handleTechSeeked_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"progress",this.handleTechProgress_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"suspend",this.handleTechSuspend_),this.on(this.tech_,"abort",this.handleTechAbort_),this.on(this.tech_,"emptied",this.handleTechEmptied_),this.on(this.tech_,"stalled",this.handleTechStalled_),this.on(this.tech_,"loadedmetadata",this.handleTechLoadedMetaData_),this.on(this.tech_,"loadeddata",this.handleTechLoadedData_),this.on(this.tech_,"timeupdate",this.handleTechTimeUpdate_),this.on(this.tech_,"ratechange",this.handleTechRateChange_),this.on(this.tech_,"volumechange",this.handleTechVolumeChange_),this.on(this.tech_,"texttrackchange",this.handleTechTextTrackChange_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControl
23sListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===tt&&this.tag||tf.insertElFirst(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},ti.prototype.unloadTech_=function(){this.videoTracks_=this.videoTracks(),this.textTracks_=this.textTracks(),this.audioTracks_=this.audioTracks(),this.textTracksJson_=tE.default.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1},ti.prototype.tech=function(tt){if(tt&&tt.IWillNotUseThisInPlugins)return this.tech_;var ti="\n      Please make sure that you are not using this inside of a plugin.\n      To disable this alert and error, please pass in an object with\n      `IWillNotUseThisInPlugins` to the `tech` method. See\n      https://github.com/videojs/video.js/issues/2617 for more info.\n    ";throw th.default.alert(ti),Error(ti)},ti.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},ti.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},ti.prototype.handleTechReady_=function(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),this.src()&&this.tag&&this.options_.autoplay&&this.paused()&&(delete this.tag.poster,this.play())},ti.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},ti.prototype.hasStarted=function(tt){return void 0!==tt?(this.hasStarted_!==tt&&(this.hasStarted_=tt,tt?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_},ti.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},ti.prototype.handleTechWaiting_=function(){var tt=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return tt.removeClass("vjs-waiting")})},ti.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},ti.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},ti.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},ti.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},ti.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},ti.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&this.currentTime(this.options_.starttime),this.addClass("vjs-has-started"),this.trigger("firstplay")},ti.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},ti.prototype.handleTechProgress_=function(){this.trigger("progress")},ti.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},ti.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},ti.prototype.handleTechClick_=function(tt){0===tt.button&&this.controls()&&(this.paused()?this.play():this.pause())},ti.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},ti.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},ti.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},ti.prototype.handleTechTouchEnd_=function(tt){tt.preventDefault()},ti.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},ti.prototype.handleStageClick_=function(){this.reportUserActivity()},ti.prototype.handleTechFullscreenChange_=function(tt,ti){ti&&this.isFullscreen(ti.isFullscreen),this.trigger("fullscreenchange")},ti.prototype.handleTechError_=function(){var tt=this.tech_.error();this.error(tt&&tt.code)},ti.prototype.handleTechSuspend_=function(){this.trigger("suspend")},ti.prototype.handleTechAbort_=function(){this.trigger("abort")},ti.prototype.handleTechEmptied_=function(){this.trigger("emptied")},ti.prototype.handleTechStalled_=function(){this.trigger("stalled")},ti.prototype.handleTechLoadedMetaData_=function(){this.trigger("loadedmetadata")},ti.prototype.handleTechLoadedData_=function(){this.trigger("loadeddata")},ti.prototype.handleTechTimeUpdate_=function(){this.trigger("timeupdate")},ti.prototype.handleTechRateChange_=function(){this.trigger("ratechange")},ti.prototype.handleTechVolumeChange_=function(){this.trigger("volumechange")},ti.prototype.handleTechTextTrackChange_=function(){this.trigger("texttrackchange")},ti.prototype.getCache=function(){return this.cache_},ti.prototype.techCall_=function(tt,ti){if(this.tech_&&!this.tech_.isReady_)this.tech_.ready(function(){this[tt](ti)},!0);else try{this.tech_[tt](ti)}catch(tt){throw ty.default(tt),tt}},ti.prototype.techGet_=function(tt){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[tt]()}catch(ti){throw void 0===this.tech_[tt]?ty.default("Video.js: "+tt+" method not defined for "+this.techName_+" playback technology.",ti):"TypeError"===ti.name?(ty.default("Video.js: "+tt+" unavailable on "+this.techName_+" playback technology element.",ti),this.tech_.isReady_=!1):ty.default(ti),ti}},ti.prototype.play=function(){return this.techCall_("play"),this},ti.prototype.pause=function(){return this.techCall_("pause"),this},ti.prototype.paused=function(){return!1!==this.techGet_("paused")},ti.prototype.scrubbing=function(tt){return void 0!==tt?(this.scrubbing_=!!tt,tt?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing"),this):this.scrubbing_},ti.prototype.currentTime=function(tt){return void 0!==tt?(this.techCall_("setCurrentTime",tt),this):this.cache_.currentTime=this.techGet_("currentTime")||0},ti.prototype.duration=function(tt){return void 0===tt?this.cache_.duration||0:(0>
23(tt=parseFloat(tt)||0)&&(tt=1/0),tt!==this.cache_.duration&&(this.cache_.duration=tt,tt===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange")),this)},ti.prototype.remainingTime=function(){return this.duration()-this.currentTime()},ti.prototype.buffered=function(){var tt=this.techGet_("buffered");return tt&&tt.length||(tt=tw.createTimeRange(0,0)),tt},ti.prototype.bufferedPercent=function(){return tx.bufferedPercent(this.buffered(),this.duration())},ti.prototype.bufferedEnd=function(){var tt=this.buffered(),ti=this.duration(),tn=tt.end(tt.length-1);return tn>ti&&(tn=ti),tn},ti.prototype.volume=function(tt){var ti=void 0;return void 0!==tt?(ti=Math.max(0,Math.min(1,parseFloat(tt))),this.cache_.volume=ti,this.techCall_("setVolume",ti),this):isNaN(ti=parseFloat(this.techGet_("volume")))?1:ti},ti.prototype.muted=function(tt){return void 0!==tt?(this.techCall_("setMuted",tt),this):this.techGet_("muted")||!1},ti.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},ti.prototype.isFullscreen=function(tt){return void 0!==tt?(this.isFullscreen_=!!tt,this):!!this.isFullscreen_},ti.prototype.requestFullscreen=function(){var tt=tT.default;return this.isFullscreen(!0),tt.requestFullscreen?(tp.on(td.default,tt.fullscreenchange,tm.bind(this,function ti(){this.isFullscreen(td.default[tt.fullscreenElement]),!1===this.isFullscreen()&&tp.off(td.default,tt.fullscreenchange,ti),this.trigger("fullscreenchange")})),this.el_[tt.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},ti.prototype.exitFullscreen=function(){var tt=tT.default;return this.isFullscreen(!1),tt.requestFullscreen?td.default[tt.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},ti.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=td.default.documentElement.style.overflow,tp.on(td.default,"keydown",tm.bind(this,this.fullWindowOnEscKey)),td.default.documentElement.style.overflow="hidden",tf.addElClass(td.default.body,"vjs-full-window"),this.trigger("enterFullWindow")},ti.prototype.fullWindowOnEscKey=function(tt){27===tt.keyCode&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},ti.prototype.exitFullWindow=function(){this.isFullWindow=!1,tp.off(td.default,"keydown",this.fullWindowOnEscKey),td.default.documentElement.style.overflow=this.docOrigOverflow,tf.removeElClass(td.default.body,"vjs-full-window"),this.trigger("exitFullWindow")},ti.prototype.canPlayType=function(tt){for(var ti=void 0,tn=0,ts=this.options_.techOrder;tn<ts.length;tn++){var ta=tb.default(ts[tn]),tl=tR.default.getTech(ta);if(tl||(tl=tu.default.getComponent(ta)),tl){if(tl.isSupported()&&(ti=tl.canPlayType(tt)))return ti}else ty.default.error('The "'+ta+'" tech is undefined. Skipped browser support check for that tech.')}return""},ti.prototype.selectSource=function(tt){var ti=this.options_.techOrder.map(tb.default).map(function(tt){return[tt,tR.default.getTech(tt)||tu.default.getComponent(tt)]}).filter(function(tt){var ti=tt[0],tn=tt[1];return tn?tn.isSupported():(ty.default.error('The "'+ti+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),tn=function(tt,ti,tn){var ts=void 0;return tt.some(function(tt){return ti.some(function(ti){return!!(ts=tn(tt,ti))||void 0})}),ts},ts=void 0,ta=function(tt){return function(ti,tn){return tt(tn,ti)}},tl=function(tt,ti){var tn=tt[0];return tt[1].canPlaySource(ti)?{source:ti,tech:tn}:void 0};return(ts=this.options_.sourceOrder?tn(tt,ti,ta(tl)):tn(ti,tt,tl))||!1},ti.prototype.src=function(tt){if(void 0===tt)return this.techGet_("src");var ti=tR.default.getTech(this.techName_);return ti||(ti=tu.default.getComponent(this.techName_)),Array.isArray(tt)?this.sourceList_(tt):"string"==typeof tt?this.src({src:tt}):tt instanceof Object&&(tt.type&&!ti.canPlaySource(tt)?this.sourceList_([tt]):(this.cache_.src=tt.src,this.currentType_=tt.type||"",this.ready(function(){ti.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",tt):this.techCall_("src",tt.src),"auto"===this.options_.preload&&this.load(),this.options_.autoplay&&this.play()},!0))),this},ti.prototype.sourceList_=function(tt){var ti=this.selectSource(tt);ti?ti.tech===this.techName_?this.src(ti.source):this.loadTech_(ti.tech,ti.source):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),this.triggerReady())},ti.prototype.load=function(){return this.techCall_("load"),this},ti.prototype.reset=function(){return this.loadTech_(tb.default(this.options_.techOrder[0]),null),this.techCall_("reset"),this},ti.prototype.currentSrc=function(){return this.techGet_("currentSrc")||this.cache_.src||""},ti.prototype.currentType=function(){return this.currentType_||""},ti.prototype.preload=function(tt){return void 0!==tt?(this.techCall_("setPreload",tt),this.options_.preload=tt,this):this.techGet_("preload")},ti.prototype.autoplay=function(tt){return void 0!==tt?(this.techCall_("setAutoplay",tt),this.options_.autoplay=tt,this):this.techGet_("autoplay",tt)},ti.prototype.loop=function(tt){return void 0!==tt?(this.techCall_("setLoop",tt),this.options_.loop=tt,this):this.techGet_("loop")},ti.prototype.poster=function(tt){return void 0===tt?this.poster_:(tt||(tt=""),this.poster_=tt,this.techCall_("setPoster",tt),this.trigger("posterchange"),this)},ti.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},ti.prototype.controls=function(tt){return void 0!==tt?(tt=!!tt,this.controls_!==tt&&(this.controls_=tt,this.usingNativeControls()&&this.techCall_("setControls",tt),tt?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControl
23sListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_())),this):!!this.controls_},ti.prototype.usingNativeControls=function(tt){return void 0!==tt?(tt=!!tt,this.usingNativeControls_!==tt&&(this.usingNativeControls_=tt,tt?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols"))),this):!!this.usingNativeControls_},ti.prototype.error=function(tt){return void 0===tt?this.error_||null:null===tt?(this.error_=tt,this.removeClass("vjs-error"),this.errorDisplay.close(),this):(this.error_=tt instanceof tk.default?tt:new tk.default(tt),this.addClass("vjs-error"),ty.default.error("(CODE:"+this.error_.code+" "+tk.default.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),this)},ti.prototype.ended=function(){return this.techGet_("ended")},ti.prototype.seeking=function(){return this.techGet_("seeking")},ti.prototype.seekable=function(){return this.techGet_("seekable")},ti.prototype.reportUserActivity=function(){this.userActivity_=!0},ti.prototype.userActive=function(tt){return void 0!==tt?((tt=!!tt)!==this.userActive_&&(this.userActive_=tt,tt?(this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive")):(this.userActivity_=!1,this.tech_&&this.tech_.one("mousemove",function(tt){tt.stopPropagation(),tt.preventDefault()}),this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive"))),this):this.userActive_},ti.prototype.listenForUserActivity_=function(){var tt=void 0,ti=void 0,tn=void 0,ts=tm.bind(this,this.reportUserActivity),ta=function(tt){(tt.screenX!==ti||tt.screenY!==tn)&&(ti=tt.screenX,tn=tt.screenY,ts())},tl=function(){ts(),this.clearInterval(tt),tt=this.setInterval(ts,250)},tc=function(){ts(),this.clearInterval(tt)};this.on("mousedown",tl),this.on("mousemove",ta),this.on("mouseup",tc),this.on("keydown",ts),this.on("keyup",ts);var tu=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(tu);var tt=this.options_.inactivityTimeout;tt>0&&(tu=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},tt))}},250)},ti.prototype.playbackRate=function(tt){return void 0!==tt?(this.techCall_("setPlaybackRate",tt),this):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},ti.prototype.isAudio=function(tt){return void 0!==tt?(this.isAudio_=!!tt,this):!!this.isAudio_},ti.prototype.networkState=function(){return this.techGet_("networkState")},ti.prototype.readyState=function(){return this.techGet_("readyState")},ti.prototype.videoTracks=function(){return this.tech_?this.tech_.videoTracks():(this.videoTracks_=this.videoTracks_||new tP.default,this.videoTracks_)},ti.prototype.audioTracks=function(){return this.tech_?this.tech_.audioTracks():(this.audioTracks_=this.audioTracks_||new tO.default,this.audioTracks_)},ti.prototype.textTracks=function(){return this.tech_&&this.tech_.textTracks()},ti.prototype.remoteTextTracks=function(){return this.tech_&&this.tech_.remoteTextTracks()},ti.prototype.remoteTextTrackEls=function(){return this.tech_&&this.tech_.remoteTextTrackEls()},ti.prototype.addTextTrack=function(tt,ti,tn){return this.tech_&&this.tech_.addTextTrack(tt,ti,tn)},ti.prototype.addRemoteTextTrack=function(tt){return this.tech_&&this.tech_.addRemoteTextTrack(tt)},ti.prototype.removeRemoteTextTrack=function(){var tt=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],ti=tt.track,tn=void 0===ti?arguments[0]:ti;this.tech_&&this.tech_.removeRemoteTextTrack(tn)},ti.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},ti.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},ti.prototype.language=function(tt){return void 0===tt?this.language_:(this.language_=(""+tt).toLowerCase(),this)},ti.prototype.languages=function(){return tS.default(ti.prototype.options_.languages,this.languages_)},ti.prototype.toJSON=function(){var tt=tS.default(this.options_),ti=tt.tracks;tt.tracks=[];for(var tn=0;tn<ti.length;tn++){var ts=ti[tn];(ts=tS.default(ts)).player=void 0,tt.tracks[tn]=ts}return tt},ti.prototype.createModal=function(tt,ti){var tn=this;(ti=ti||{}).content=tt||"";var ts=new tH.default(tn,ti);return tn.addChild(ts),ts.on("dispose",function(){tn.removeChild(ts)}),ts.open()},ti.getTagSettings=function(tt){var ti={sources:[],tracks:[]},tn=tf.getElAttributes(tt),ts=tn["data-setup"];if(null!==ts){var ta=tj.default(ts||"{}"),tl=ta[0],tc=ta[1];tl&&ty.default.error(tl),tC.default(tn,tc)}if(tC.default(ti,tn),tt.hasChildNodes())for(var tu=tt.childNodes,td=0,th=tu.length;th>td;td++){var tp=tu[td],tm=tp.nodeName.toLowerCase();"source"===tm?ti.sources.push(tf.getElAttributes(tp)):"track"===tm&&ti.tracks.push(tf.getElAttributes(tp))}return ti},ti}(tu.default));tB.players={};var tF=th.default.navigator;tB.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:td.default.getElementsByTagName("html")[0].getAttribute("lang")||tF.languages&&tF.languages[0]||tF.userLanguage||tF.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."},tB.prototype.handleLoadedMetaData_,tB.prototype.handleLoadedData_,tB.prototype.handleUserActive_,tB.prototype.handleUserInactive_,tB.prototype.handleTimeUpdate_,tB.prototype.handleTechEnded_,tB.prototype.handleVolumeChange_,tB.prototype.handleError_,tB.prototype.flexNotSupported_=function(){var tt=td.default.createElement("i");return!("flexBasis"in tt.style||"webkitFlexBasis"in tt.style||"mozFlexBasis"in tt.style||"msFlexBasis"in tt.style||"msFlexOrder"in tt.style)}
23,tu.default.registerComponent("Player",tB),tn.default=tB,ti.exports=tn.default},{"./big-play-button.js":63,"./component.js":67,"./control-bar/control-bar.js":70,"./error-display.js":103,"./fullscreen-api.js":106,"./loading-spinner.js":107,"./media-error.js":108,"./modal-dialog":112,"./poster-image.js":117,"./tech/html5.js":122,"./tech/loader.js":123,"./tech/tech.js":124,"./tracks/audio-track-list.js":125,"./tracks/text-track-display.js":130,"./tracks/text-track-list-converter.js":131,"./tracks/text-track-settings.js":133,"./tracks/video-track-list.js":138,"./utils/browser.js":140,"./utils/buffer.js":141,"./utils/dom.js":143,"./utils/events.js":144,"./utils/fn.js":145,"./utils/guid.js":147,"./utils/log.js":148,"./utils/merge-options.js":149,"./utils/stylesheet.js":150,"./utils/time-ranges.js":151,"./utils/to-title-case.js":152,"global/document":1,"global/window":2,"object.assign":45,"safe-json-parse/tuple":54}],114:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}tn.__esModule=!0;var ta=ts(tt("./player.js")),tl=function(tt,ti){ta.default.prototype[tt]=ti};tn.default=tl,ti.exports=tn.default},{"./player.js":113}],115:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../clickable-component.js")),td=ta(tt("../component.js")),th=(ts((ta(tt("./popup.js")),tt("../utils/dom.js"))),tt("../utils/fn.js")),tp=(ta((ts(th),tt("../utils/to-title-case.js"))),function(tt){function ti(tn){var ts=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];tl(this,ti),tt.call(this,tn,ts),this.update()}return tc(ti,tt),ti.prototype.update=function(){var tt=this.createPopup();this.popup&&this.removeChild(this.popup),this.popup=tt,this.addChild(tt),this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},ti.prototype.createPopup=function(){},ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},ti.prototype.buildCSSClass=function(){var ti="vjs-menu-button";return"vjs-menu-button "+(ti+=!0===this.options_.inline?"-inline":"-popup")+" "+tt.prototype.buildCSSClass.call(this)},ti}(tu.default));td.default.registerComponent("PopupButton",tp),tn.default=tp,ti.exports=tn.default},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":143,"../utils/fn.js":145,"../utils/to-title-case.js":152,"./popup.js":116}],116:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../component.js")),td=ts(tt("../utils/dom.js")),th=ts(tt("../utils/fn.js")),tp=ts(tt("../utils/events.js")),tf=function(tt){function ti(){tl(this,ti),tt.apply(this,arguments)}return tc(ti,tt),ti.prototype.addItem=function(tt){this.addChild(tt),tt.on("click",th.bind(this,function(){this.unlockShowing()}))},ti.prototype.createEl=function(){var ti=this.options_.contentElType||"ul";this.contentEl_=td.createEl(ti,{className:"vjs-menu-content"});var tn=tt.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return tn.appendChild(this.contentEl_),tp.on(tn,"click",function(tt){tt.preventDefault(),tt.stopImmediatePropagation()}),tn},ti}(tu.default);tu.default.registerComponent("Popup",tf),tn.default=tf,ti.exports=tn.default},{"../component.js":67,"../utils/dom.js":143,"../utils/events.js":144,"../utils/fn.js":145}],117:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("./clickable-component.js")),td=ta(tt("./component.js")),th=ts(tt("./utils/fn.js")),tp=ts(tt("./utils/dom.js")),tf=ts(tt("./utils/browser.js")),tm=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.update(),tn.on("posterchange",th.bind(this,this.update))}return tc(ti,tt),ti.prototype.dispose=function(){this.player().off("posterchange",this.update),tt.prototype.dispose.call(this)},ti.prototype.createEl=function(){var tt=tp.createEl("div",{className:"vjs-poster",tabIndex:-1});return tf.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=tp.createEl("img"),tt.appendChild(this.fallbackImg_)),tt},ti.prototype.update=function(){var tt=this.player().poster();this.setSrc(tt),tt?this.show():this.hide()},ti.prototype.setSrc=function(tt){if(this.fallbackImg_)this.fallbackImg_.src=tt;else{var ti="";tt&&(ti='url("'+tt+'")'),this.el_.style.backgroundImage=ti}},ti.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},ti}(tu.default);td.default.registerComponent("PosterImage",tm),tn.default=tm,ti.exports=tn.default},{"./clickable-component.js":65,"./component.js":67,"./utils/browser.js":140,"./utils/dom.js":143,"./utils/fn.js":145}],118:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}tn.__esModule=!0;var tl=ta(tt("./utils/events.js")),tc=ts(tt("global/document")),tu=ts(tt("global/window")),td=!1,th=void 0,tp=function(){var tt=tc.default.getElementsByTagName("video"),ti=tc.default.getElementsByTagName("audio"),tn=[];if(tt&&tt.length>0)for(var ts=0,ta=tt.length;ta>ts;ts++)tn.push(tt[ts]);if(ti&&ti.length>0)for(var ts=0,ta=ti.length;ta>ts;ts++)tn.push(ti[ts]);if(tn&&tn.length>0)for(var ts=0,ta=tn.length;ta>ts;ts++){var tl=tn[ts];if(!tl||!tl.getAttribute){tf(1);break}void 0===tl.player&&null!==tl.getAttribute("data-setup")&&th(tl)}else td||tf(1)},tf=function(tt,ti){ti&&(th=ti),setTimeout(tp,tt)};"complete"===tc.default.readyState?td=!0:tl.one(tu.default,"load",function(){td=!0});var tm=function(){return td};tn.autoSetup=tp,tn.autoSetupTimeout=tf,tn.hasLoaded=tm},{"./utils/events.js":144,"global/document":1,"global/window":2}],119:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../component.js")),td=ts(tt("../utils/dom.js")),th=ta(tt("object.assign")),tp=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.bar=this.getChild(this.options_.barName),this.vertical(!!this.options_.vertical),this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this.on("click",this.handleClick),this.on(tn,"controlsvisible",this.update),this.on(tn,this.playerEvent,this.update)}return tc(ti,tt),ti.prototype.createEl=function(ti){var tn=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],ts=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];return tn.className=tn.className+" vjs-slider",tn=th.default({tabIndex:0},tn),ts=th.default({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},ts),tt.prototype.createEl.call(this,ti,tn,ts)},ti.prototype.handleMouseDown=function(tt){var ti=this.bar.el_.ownerDocument;tt.preventDefault(),td.blockTextSelection(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(ti,"mousemove",this.handleMouseMove),this.on(ti,"mouseup",this.handleMouseUp),this.on(ti,"touchmove",this.handleMouseMove),this.on(ti,"touchend",this.handleMouseUp),this.handleMouseMove(tt)},ti.prototype.handleMouseMove=function(){},ti.prototype.handleMouseUp=function(){var tt=this.bar.el_.ownerDocument;td.unblockTextSelection(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(tt,"mousemove",this.handleMouseMove),this.off(tt,"mouseup",this.handleMouseUp),this.off(tt,"touchmove",this.handleMouseMove),this.off(tt,"touchend",this.handleMouseUp),this.update()},ti.prototype.update=function(){if(this.el_){var tt=this.getPercent(),ti=this.bar;if(ti){("number"!=typeof tt||tt!=tt||0>tt||tt===1/0)&&(tt=0);var tn=(100*tt).toFixed(2)+"%";this.vertical()?ti.el().style.height=tn:ti.el().style.width=tn}}},ti.prototype.calculateDistance=function(tt){var ti=td.getPointerPosition(this.el_,tt);return this.vertical()?ti.y:ti.x},ti.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},ti.prototype.handleKeyPress=function(tt){37===tt.which||40===tt.which?(tt.preventDefault(),this.stepBack()):(38===tt.which||39===tt.which)&&(tt.preventDefault(),this.stepForward())},ti.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},ti.prototype.handleClick=function(tt){tt.stopImmediatePropagation(),tt.preventDefault()},ti.prototype.vertical=function(tt){return void 0===tt?this.vertical_||!1:(this.vertical_=!!tt,this.addClass(this.vertical_?"vjs-slider-vertical":"vjs-slider-horizontal"),this)},ti}(tu.default);tu.default.registerComponent("Slider",tp),tn.default=tp,ti.exports=tn.default},{"../component.js":67,"../utils/dom.js":143,"object.assign":45}],120:[function(tt,ti,tn){"use strict";function ts(tt){return tt.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},tt.streamFromParts=function(tt,ti){return tt+"&"+ti},tt.streamToParts=function(tt){var ti={connection:"",stream:""};if(!tt)return ti;var tn=tt.search(/&(?!\w+=)/),ts=void 0;return -1!==tn?ts=tn+1:0===(tn=ts=tt.lastIndexOf("/")+1)&&(tn=ts=tt.length),ti.connection=tt.substring(0,tn),ti.stream=tt.substring(ts,tt.length),ti},tt.isStreamingType=function(ti){return ti in tt.streamingFormats},tt.RTMP_RE=/^rtmp[set]?:\/\//i,tt.isStreamingSrc=function(ti){return tt.RTMP_RE.test(ti)},tt.rtmpSourceHandler={},tt.rtmpSourceHandler.canPlayType=function(ti){return tt.isStreamingType(ti)?"maybe":""},tt.rtmpSourceHandler.canHandleSource=function(ti){return tt.rtmpSourceHandler.canPlayType(ti.type)||(tt.isStreamingSrc(ti.src)?"maybe":"")},tt.rtmpSourceHandler.handleSource=function(ti,tn){var ts=tt.streamToParts(ti.src);tn.setRtmpConnection(ts.connection),tn.setRtmpStream(ts.stream)},tt.registerSourceHandler(tt.rtmpSourceHandler),tt}tn.__esModule=!0,tn.default=ts,ti.exports=tn.default},{}],121:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}function tu(tt){tO["set"+(tt.charAt(0).toUpperCase()+tt.slice(1))]=function(ti){return this.el_.vjs_setProperty(tt,ti)}}function td(tt){tO[tt]=function(){return this.el_.vjs_getProperty(tt)}}tn.__esModule=!0;for(var th=tt("./tech"),tp=ta(th),tf=tt("../utils/dom.js"),tm=ts(tf),tg=tt("../utils/url.js"),tv=ts(tg),ty=tt("../utils/time-ranges.js"),tb=tt("./flash-rtmp"),tw=ta(tb),tx=tt("../component"),t_=ta(tx),tT=tt("global/window"),tk=ta(tT),tj=tt("object.assign"),tC=ta(tj),tS=tk.default.navigator,tE=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),tn.source&&this.ready(function(){this.setSource(tn.source)},!0),tn.startTime&&this.ready(function(){this.load(),this.play(),this.currentTime(tn.startTime)},!0),tk.default.videojs=tk.default.videojs||{},tk.default.videojs.Flash=tk.default.videojs.Flash||{},tk.default.videojs.Flash.onReady=ti.onReady,tk.default.videojs.Flash.onEvent=ti.onEvent,tk.default.videojs.Flash.onError=ti.onError,this.on("seeked",function(){this.lastSeekTarget_=void 0})}return tc(ti,tt),ti.prototype.createEl=function(){var tt=this.options_;tt.swf||(tt.swf="//vjs.zencdn.net/swf/5.0.1/video-js.swf");var tn=tt.techId,ts=tC.default({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:tt.autoplay,preload:tt.preload,loop:tt.loop,muted:tt.muted},tt.flashVars),ta=tC.default({wmode:"opaque",bgcolor:"#000000"},tt.params),tl=tC.default({id:tn,name:tn,class:"vjs-tech"},tt.attributes);return this.el_=ti.embed(tt.swf,ts,ta,tl),this.el_.tech=this,this.el_},ti.prototype.play=function(){this.ended()&&this.setCurrentTime(0),this.el_.vjs_play()},ti.prototype.pause=function(){this.el_.vjs_pause()},ti.prototype.src=function(tt){return void 0===tt?this.currentSrc():this.setSrc(tt)},ti.prototype.setSrc=function(tt){if(tt=tv.getAbsoluteURL(tt),this.el_.vjs_src(tt),this.autoplay()){var ti=this;this.setTimeout(function(){ti.play()},0)}},ti.prototype.seeking=function(){return void 0!==this.lastSeekTarget_},ti.prototype.setCurrentTime=function(ti){var tn=this.seekable();tn.length&&(ti=(ti=ti>tn.start(0)?ti:tn.start(0))<tn.end(tn.length-1)?ti:tn.end(tn.length-1),this.lastSeekTarget_=ti,this.trigger("seeking"),this.el_.vjs_setProperty("currentTime",ti),tt.prototype.setCurrentTime.call(this))},ti.prototype.currentTime=function(){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")},ti.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")},ti.prototype.load=function(){this.el_.vjs_load()},ti.prototype.poster=function(){this.el_.vjs_getProperty("poster")},ti.prototype.setPoster=function(){},ti.prototype.seekable=function(){var tt=this.duration();return 0===tt?ty.createTimeRange():ty.createTimeRange(0,tt)},ti.prototype.buffered=function(){var tt=this.el_.vjs_getProperty("buffered");return 0===tt.length?ty.createTimeRange():ty.createTimeRange(tt[0][0],tt[0][1])},ti.prototype.supportsFullScreen=function(){return!1},ti.prototype.enterFullScreen=function(){return!1},ti}(tp.default),tO=tE.prototype,tP="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),tI="networkState,readyState,initialTime,duration,startOffsetTime,paused,ended,videoWidth,videoHeight".split(","),tM=0;tM<tP.length;
23tM++)td(tP[tM]),tu(tP[tM]);for(var tM=0;tM<tI.length;tM++)td(tI[tM]);tE.isSupported=function(){return tE.version()[0]>=10},tp.default.withSourceHandlers(tE),tE.nativeSourceHandler={},tE.nativeSourceHandler.canPlayType=function(tt){return tt in tE.formats?"maybe":""},tE.nativeSourceHandler.canHandleSource=function(tt){var ti;function tn(tt){var ti=tv.getFileExtension(tt);return ti?"video/"+ti:""}return ti=tt.type?tt.type.replace(/;.*/,"").toLowerCase():tn(tt.src),tE.nativeSourceHandler.canPlayType(ti)},tE.nativeSourceHandler.handleSource=function(tt,ti){ti.setSrc(tt.src)},tE.nativeSourceHandler.dispose=function(){},tE.registerSourceHandler(tE.nativeSourceHandler),tE.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},tE.onReady=function(tt){var ti=tm.getEl(tt),tn=ti&&ti.tech;tn&&tn.el()&&tE.checkReady(tn)},tE.checkReady=function(tt){tt.el()&&(tt.el().vjs_getProperty?tt.triggerReady():this.setTimeout(function(){tE.checkReady(tt)},50))},tE.onEvent=function(tt,ti){tm.getEl(tt).tech.trigger(ti)},tE.onError=function(tt,ti){var tn=tm.getEl(tt).tech;return"srcnotfound"===ti?tn.error(4):void tn.error("FLASH: "+ti)},tE.version=function(){var tt="0,0,0";try{tt=new tk.default.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(ti){try{tS.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(tt=(tS.plugins["Shockwave Flash 2.0"]||tS.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(tt){}}return tt.split(",")},tE.embed=function(tt,ti,tn,ts){var ta=tE.getEmbedCode(tt,ti,tn,ts);return tm.createEl("div",{innerHTML:ta}).childNodes[0]},tE.getEmbedCode=function(tt,ti,tn,ts){var ta='<object type="application/x-shockwave-flash" ',tl="",tc="",tu="";return ti&&Object.getOwnPropertyNames(ti).forEach(function(tt){tl+=tt+"="+ti[tt]+"&amp;"}),Object.getOwnPropertyNames(tn=tC.default({movie:tt,flashvars:tl,allowScriptAccess:"always",allowNetworking:"all"},tn)).forEach(function(tt){tc+='<param name="'+tt+'" value="'+tn[tt]+'" />'}),Object.getOwnPropertyNames(ts=tC.default({data:tt,width:"100%",height:"100%"},ts)).forEach(function(tt){tu+=tt+'="'+ts[tt]+'" '}),""+ta+tu+">"+tc+"</object>"},tw.default(tE),t_.default.registerComponent("Flash",tE),tp.default.registerTech("Flash",tE),tn.default=tE,ti.exports=tn.default},{"../component":67,"../utils/dom.js":143,"../utils/time-ranges.js":151,"../utils/url.js":153,"./flash-rtmp":120,"./tech":124,"global/window":2,"object.assign":45}],122:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}function tu(tt,ti){return tt.raw=ti,tt}tn.__esModule=!0;var td=tu(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used. \n            This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used. \n            This may prevent text tracks from loading."]),th=ta(tt("./tech.js")),tp=ta(tt("../component")),tf=ts(tt("../utils/dom.js")),tm=ts(tt("../utils/url.js")),tg=ts(tt("../utils/fn.js")),tv=ta(tt("../utils/log.js")),ty=ta(tt("tsml")),tb=ts((ta(tt("../../../src/js/tracks/text-track.js")),tt("../utils/browser.js"))),tw=ta(tt("global/document")),tx=ta(tt("global/window")),t_=ta(tt("object.assign")),tT=ta(tt("../utils/merge-options.js")),tk=ta(tt("../utils/to-title-case.js")),tj=function(tt){function ti(tn,ts){var ta=this;tl(this,ti),tt.call(this,tn,ts);var tc=tn.source,tu=!1;if(tc&&(this.el_.currentSrc!==tc.src||tn.tag&&3===tn.tag.initNetworkState_)?this.setSource(tc):this.handleLateInit_(this.el_),this.el_.hasChildNodes()){for(var th=this.el_.childNodes,tp=th.length,tf=[];tp--;){var tw=th[tp];"track"===tw.nodeName.toLowerCase()&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(tw),this.remoteTextTracks().addTrack_(tw.track),tu||this.el_.hasAttribute("crossorigin")||!tm.isCrossOrigin(tw.src)||(tu=!0)):tf.push(tw))}for(var tx=0;tx<tf.length;tx++)this.el_.removeChild(tf[tx])}["audio","video"].forEach(function(tt){var ti=tk.default(tt);if(ta["featuresNative"+ti+"Tracks"]){var tn=ta.el()[tt+"Tracks"];tn&&tn.addEventListener&&(tn.addEventListener("change",tg.bind(ta,ta["handle"+ti+"TrackChange_"])),tn.addEventListener("addtrack",tg.bind(ta,ta["handle"+ti+"TrackAdd_"])),tn.addEventListener("removetrack",tg.bind(ta,ta["handle"+ti+"TrackRemove_"])))}}),this.featuresNativeTextTracks&&(tu&&tv.default.warn(ty.default(td)),this.handleTextTrackChange_=tg.bind(this,this.handleTextTrackChange),this.handleTextTrackAdd_=tg.bind(this,this.handleTextTrackAdd),this.handleTextTrackRemove_=tg.bind(this,this.handleTextTrackRemove),this.proxyNativeTextTracks_()
23),(tb.TOUCH_ENABLED&&!0===tn.nativeControlsForTouch||tb.IS_IPHONE||tb.IS_NATIVE_ANDROID)&&this.setControls(!0),this.triggerReady()}return tc(ti,tt),ti.prototype.dispose=function(){var tn=this;["audio","video","text"].forEach(function(tt){var ti=tk.default(tt),ts=tn.el_[tt+"Tracks"];ts&&ts.removeEventListener&&(ts.removeEventListener("change",tn["handle"+ti+"TrackChange_"]),ts.removeEventListener("addtrack",tn["handle"+ti+"TrackAdd_"]),ts.removeEventListener("removetrack",tn["handle"+ti+"TrackRemove_"]))}),ti.disposeMediaElement(this.el_),tt.prototype.dispose.call(this)},ti.prototype.createEl=function(){var tt=this.options_.tag;if(!tt||!1===this.movingMediaElementInDOM){if(tt){var tn=tt.cloneNode(!0);tt.parentNode.insertBefore(tn,tt),ti.disposeMediaElement(tt),tt=tn}else{tt=tw.default.createElement("video");var ts=this.options_.tag&&tf.getElAttributes(this.options_.tag),ta=tT.default({},ts);tb.TOUCH_ENABLED&&!0===this.options_.nativeControlsForTouch||delete ta.controls,tf.setElAttributes(tt,t_.default(ta,{id:this.options_.techId,class:"vjs-tech"}))}}for(var tl=["autoplay","preload","loop","muted"],tc=tl.length-1;tc>=0;tc--){var tu=tl[tc],td={};void 0!==this.options_[tu]&&(td[tu]=this.options_[tu]),tf.setElAttributes(tt,td)}return tt},ti.prototype.handleLateInit_=function(tt){var ti=this;if(0!==tt.networkState&&3!==tt.networkState){if(0===tt.readyState){var tn=function(){var tt=!1,tn=function(){tt=!0};ti.on("loadstart",tn);var ts=function(){tt||this.trigger("loadstart")};return ti.on("loadedmetadata",ts),ti.ready(function(){this.off("loadstart",tn),this.off("loadedmetadata",ts),tt||this.trigger("loadstart")}),{v:void 0}}();if("object"==typeof tn)return tn.v}var ts=["loadstart"];ts.push("loadedmetadata"),tt.readyState>=2&&ts.push("loadeddata"),tt.readyState>=3&&ts.push("canplay"),tt.readyState>=4&&ts.push("canplaythrough"),this.ready(function(){ts.forEach(function(tt){this.trigger(tt)},this)})}},ti.prototype.proxyNativeTextTracks_=function(){var tt=this.el().textTracks;if(tt){for(var ti=0;ti<tt.length;ti++)this.textTracks().addTrack_(tt[ti]);tt.addEventListener&&(tt.addEventListener("change",this.handleTextTrackChange_),tt.addEventListener("addtrack",this.handleTextTrackAdd_),tt.addEventListener("removetrack",this.handleTextTrackRemove_))}},ti.prototype.handleTextTrackChange=function(){var tt=this.textTracks();this.textTracks().trigger({type:"change",target:tt,currentTarget:tt,srcElement:tt})},ti.prototype.handleTextTrackAdd=function(tt){this.textTracks().addTrack_(tt.track)},ti.prototype.handleTextTrackRemove=function(tt){this.textTracks().removeTrack_(tt.track)},ti.prototype.handleVideoTrackChange_=function(){var tt=this.videoTracks();this.videoTracks().trigger({type:"change",target:tt,currentTarget:tt,srcElement:tt})},ti.prototype.handleVideoTrackAdd_=function(tt){this.videoTracks().addTrack_(tt.track)},ti.prototype.handleVideoTrackRemove_=function(tt){this.videoTracks().removeTrack_(tt.track)},ti.prototype.handleAudioTrackChange_=function(){var tt=this.audioTracks();this.audioTracks().trigger({type:"change",target:tt,currentTarget:tt,srcElement:tt})},ti.prototype.handleAudioTrackAdd_=function(tt){this.audioTracks().addTrack_(tt.track)},ti.prototype.handleAudioTrackRemove_=function(tt){this.audioTracks().removeTrack_(tt.track)},ti.prototype.play=function(){this.el_.play()},ti.prototype.pause=function(){this.el_.pause()},ti.prototype.paused=function(){return this.el_.paused},ti.prototype.currentTime=function(){return this.el_.currentTime},ti.prototype.setCurrentTime=function(tt){try{this.el_.currentTime=tt}catch(tt){tv.default(tt,"Video is not ready. (Video.js)")}},ti.prototype.duration=function(){return this.el_.duration||0},ti.prototype.buffered=function(){return this.el_.buffered},ti.prototype.volume=function(){return this.el_.volume},ti.prototype.setVolume=function(tt){this.el_.volume=tt},ti.prototype.muted=function(){return this.el_.muted},ti.prototype.setMuted=function(tt){this.el_.muted=tt},ti.prototype.width=function(){return this.el_.offsetWidth},ti.prototype.height=function(){return this.el_.offsetHeight},ti.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var tt=tx.default.navigator.userAgent;if(/Android/.test(tt)||!/Chrome|Mac OS X 10.5/.test(tt))return!0}return!1},ti.prototype.enterFullScreen=function(){var tt=this.el_;"webkitDisplayingFullscreen"in tt&&this.one("webkitbeginfullscreen",function(){this.one("webkitendfullscreen",function(){this.trigger("fullscreenchange",{isFullscreen:!1})}),this.trigger("fullscreenchange",{isFullscreen:!0})}),tt.paused&&tt.networkState<=tt.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){tt.pause(),tt.webkitEnterFullScreen()},0)):tt.webkitEnterFullScreen()},ti.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},ti.prototype.src=function(tt){return void 0===tt?this.el_.src:void this.setSrc(tt)},ti.prototype.setSrc=function(tt){this.el_.src=tt},ti.prototype.load=function(){this.el_.load()},ti.prototype.reset=function(){ti.resetMediaElement(this.el_)},ti.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},ti.prototype.poster=function(){return this.el_.poster},ti.prototype.setPoster=function(tt){this.el_.poster=tt},ti.prototype.preload=function(){return this.el_.preload},ti.prototype.setPreload=function(tt){this.el_.preload=tt},ti.prototype.autoplay=function(){return this.el_.autoplay},ti.prototype.setAutoplay=function(tt){this.el_.autoplay=tt},ti.prototype.controls=function(){return this.el_.controls},ti.prototype.setControls=function(tt){this.el_.controls=!!tt},ti.prototype.loop=function(){return this.el_.loop},ti.prototype.setLoop=function(tt){this.el_.loop=tt},ti.prototype.error=function(){return this.el_.error},ti.prototype.seeking=function(){return this.el_.seeking},ti.prototype.seekable=function(){return this.el_.seekable},ti.prototype.ended=function(){return this.el_.ended},ti.prototype.defaultMuted=function(){return this.el_.defaultMuted},ti.prototype.playbackRate=function(){return this.el_.playbackRate},ti.prototype.played=function(){return this.el_.played},ti.prototype.setPlaybackRate=function(tt){this.el_.playbackRate=tt},ti.prototype.networkState=function(){return this.el_.networkState},ti.prototype.readyState=function(){return this.el_.readyState},ti.prototype.videoWidth=function(){return this.el_.videoWidth},ti.prototype.videoHeight=function(){return this.el_.videoHeight},ti.prototype.textTracks=function(){return tt.prototype.textTracks.call(this)},ti.prototype.addTextTrack=function(ti,tn,ts){return this.featuresNativeTextTracks?this.el_.addTextTrack(ti,tn,ts):tt.prototype.addTextTrack.call(this,ti,tn,ts)},ti.prototype.addRemoteTextTrack=function(){var ti=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];if(!this.featuresNativeTextTracks)return tt.prototype.addRemoteTextTrack.call(this,ti);var tn=tw.default.createElement("track");return ti.kind&&(tn.kind=ti.kind),ti.label&&(tn.label=ti.label),(ti.language||ti.srclang)&&(tn.srclang=ti.language||ti.srclang),ti.default&&(tn.default=ti.default),ti.id&&(tn.id=ti.id),ti.src&&(tn.src=ti.src),this.el().appendChild(tn),this.remoteTextTrackEls().addTrackElement_(tn),this.remoteTextTracks().addTrack_(tn.track),tn},ti.prototype.removeRemoteTextTrack=function(ti){if(!this.featuresNativeTextTracks)return tt.prototype.removeRemoteTextTrack.call(this,ti);var tn=void 0,ts=void 0,ta=this.remoteTextTrackEls().getTrackElementByTrack_(ti);for(this.remoteTextTrackEls().removeTrackElement_(ta),this.remoteTextTracks().removeTrack_(ti),ts=(tn=this.$$("track")).length;ts--;)(ti===tn[ts]||ti===tn[ts].track)&&this.el().removeChild(tn[ts])},ti}(th.default);tj.TEST_VID=tw.default.createElement("video");var tC=tw.default.createElement("track");tC.kind="captions",tC.srclang="en",tC.label="English",tj.TEST_VID.appendChild(tC),tj.isSupported=function(){try{tj.TEST_VID.volume=.5}catch(tt){return!1}return!!tj.TEST_VID.canPlayType},th.default.withSourceHandlers(tj),tj.nativeSourceHandler={},tj.nativeSourceHandler.canPlayType=function(tt){try{return tj.TEST_VID.canPlayType(tt)}catch(tt){return""}},tj.nativeSourceHandler.canHandleSource=function(tt){var ti;return tt.type?tj.nativeSourceHandler.canPlayType(tt.type):tt.src?(ti=tm.getFileExtension(tt.src),tj.nativeSourceHandler.canPlayType("video/"+ti)):""},tj.nativeSourceHandler.handleSource=function(tt,ti){ti.setSrc(tt.src)},tj.nativeSourceHandler.dispose=function(){},tj.registerSourceHandler(tj.nativeSourceHandler),tj.canControlVolume=function(){var tt=tj.TEST_VID.volume;return tj.TEST_VID.volume=tt/2+.1,tt!==tj.TEST_VID.volume},tj.canControlPlaybackRate=function(){if(tb.IS_ANDROID&&tb.IS_CHROME)return!1;var tt=tj.TEST_VID.playbackRate;return tj.TEST_VID.playbackRate=tt/2+.1,tt!==tj.TEST_VID.playbackRate},tj.supportsNativeTextTracks=function(){var tt;return(tt=!!tj.TEST_VID.textTracks)&&tj.TEST_VID.textTracks.length>0&&(tt="number"!=typeof tj.TEST_VID.textTracks[0].mode),tt&&tb.IS_FIREFOX&&(tt=!1),!tt||"onremovetrack"in tj.TEST_VID.textTracks||(tt=!1),tt},tj.supportsNativeVideoTracks=function(){return!!tj.TEST_VID.videoTracks},tj.supportsNativeAudioTracks=function(){return!!tj.TEST_VID.audioTracks},tj.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","volumechange"],tj.prototype.featuresVolumeControl=tj.canControlVolume(),tj.prototype.featuresPlaybackRate=tj.canControlPlaybackRate(),tj.prototype.movingMediaElementInDOM=!tb.IS_IOS,tj.prototype.featuresFullscreenResize=!0,tj.prototype.featuresProgressEvents=!0,tj.prototype.featuresNativeTextTracks=tj.supportsNativeTextTracks(),tj.prototype.featuresNativeVideoTracks=tj.supportsNativeVideoTracks(),tj.prototype.featuresNativeAudioTracks=tj.supportsNativeAudioTracks();var tS=void 0,tE=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,tO=/^video\/mp4/i;tj.patchCanPlayType=function(){tb.ANDROID_VERSION>=4&&(tS||(tS=tj.TEST_VID.constructor.prototype.canPlayType),tj.TEST_VID.constructor.prototype.canPlayType=function(tt){return tt&&tE.test(tt)?"maybe":tS.call(this,tt)}),tb.IS_OLD_ANDROID&&(tS||(tS=tj.TEST_VID.constructor.prototype.canPlayType),tj.TEST_VID.constructor.prototype.canPlayType=function(tt){return tt&&tO.test(tt)?"maybe":tS.call(this,tt)})},tj.unpatchCanPlayType=function(){var tt=tj.TEST_VID.constructor.prototype.canPlayType;return tj.TEST_VID.constructor.prototype.canPlayType=tS,tS=null,tt},tj.patchCanPlayType(),tj.disposeMediaElement=function(tt){if(tt){for(tt.parentNode&&tt.parentNode.removeChild(tt);tt.hasChildNodes();)tt.removeChild(tt.firstChild);tt.removeAttribute("src"),"function"==typeof tt.load&&function(){try{tt.load()}catch(tt){}}()}},tj.resetMediaElement=function(tt){if(tt){for(var ti=tt.querySelectorAll("source"),tn=ti.length;tn--;)tt.removeChild(ti[tn]);tt.removeAttribute("src"),"function"==typeof tt.load&&function(){try{tt.load()}catch(tt){}}()}},tp.default.registerComponent("Html5",tj),th.default.registerTech("Html5",tj),tn.default=tj,ti.exports=tn.default},{"../../../src/js/tracks/text-track.js":134,"../component":67,"../utils/browser.js":140,"../utils/dom.js":143,"../utils/fn.js":145,"../utils/log.js":148,"../utils/merge-options.js":149,"../utils/to-title-case.js":152,"../utils/url.js":153,"./tech.js":124,"global/document":1,"global/window":2,"object.assign":45,tsml:55}],123:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tl(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tc=ts(tt("../component.js")),tu=ts(tt("./tech.js")),td=(ts(tt("global/window")),tt("../utils/to-title-case.js")),th=ts(td),tp=function(tt){function ti(tn,ts,tl){if(ta(this,ti),tt.call(this,tn,ts,tl),ts.playerOptions.sources&&0!==ts.playerOptions.sources.length)tn.src(ts.playerOptions.sources);else for(var td=0,tp=ts.playerOptions.techOrder;td<tp.length;td++){var tf=th.default(tp[td]),tm=tu.default.getTech(tf);if(tf||(tm=tc.default.getComponent(tf)),tm&&tm.isSupported()){tn.loadTech_(tf);break}}}return tl(ti,tt),ti}(tc.default);tc.default.registerComponent("MediaLoader",tp),tn.default=tp,ti.exports=tn.default},{"../component.js":67,"../utils/to-title-case.js":152,"./tech.js":124,"global/window":2}],124:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../component")),td=ta(tt("../tracks/html-track-element")),th=ta(tt("../tracks/html-track-element-list")),tp=ta(tt("../utils/merge-options.js")),tf=ta(tt("../tracks/text-track")),tm=ta(tt("../tracks/text-track-list")),tg=(ta(tt("../tracks/video-track")),tt("../tracks/video-track-list")),tv=ta(tg),ty=ta(tt("../tracks/audio-track-list")),tb=ts((ta(tt("../tracks/audio-track")),tt("../utils/fn.js"))),tw=ta(tt("../utils/log.js")),tx=tt("../utils/time-ranges.js"),t_=tt("../utils/buffer.js"),tT=ta(tt("../media-error.js")),tk=ta(tt("global/window")),tj=ta(tt("global/document")),tC=function(tt){function ti(){var tn=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],ts=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1];tl(this,ti),tn.reportTouchActivity=!1,tt.call(this,null,tn,ts),this.hasStarted_=!1,this.on("playing",function(){this.hasStarted_=!0}),this.on("loadstart",function(){this.hasStarted_=!1}),this.textTracks_=tn.textTracks,this.videoTracks_=tn.videoTracks,this.audioTracks_=tn.audioTracks,this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),(!1===tn.nativeCaptions||!1===tn.nativeTextTracks)&&(this.featuresNativeTextTracks=!1),this.featuresNativeTextTracks||this.on("ready",this.emulateTextTracks),this.initTextTrackListeners(),this.initTrackListeners(),this.emitTapEvents()}/*! Time Tracking -------------------------------------------------------------- */return tc(ti,tt),ti.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},ti.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},ti.prototype.trackProgress=function(){this.stopTrackingProgress(),this.progressInterval=this.setInterval(tb.bind(this,function(){var tt=this.bufferedPercent();this.bufferedPercent_!==tt&&this.trigger("progress"),this.bufferedPercent_=tt,1===tt&&this.stopTrackingProgress()}),500)},ti.prototype.onDurationChange=function(){this.duration_=this.duration()},ti.prototype.buffered=function(){return tx.createTimeRange(0,0)},ti.prototype.bufferedPercent=function(){return t_.bufferedPercent(this.buffered(),this.duration_)},ti.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},ti.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},ti.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},ti.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},ti.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},ti.prototype.dispose=function(){this.clearTracks(["audio","video","text"]),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),tt.prototype.dispose.call(this)},ti.prototype.clearTracks=function(tt){var ti=this;(tt=[].concat(tt)).forEach(function(tt){for(var tn=ti[tt+"Tracks"]()||[],ts=tn.length;ts--;){var ta=tn[ts];"text"===tt&&ti.removeRemoteTextTrack(ta),tn.removeTrack_(ta)}})},ti.prototype.reset=function(){},ti.prototype.error=function(tt){return void 0!==tt&&(this.error_=tt instanceof tT.default?tt:new tT.default(tt),this.trigger("error")),this.error_},ti.prototype.played=function(){return this.hasStarted_?tx.createTimeRange(0,0):tx.createTimeRange()},ti.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},ti.prototype.initTextTrackListeners=function(){var tt=tb.bind(this,function(){this.trigger("texttrackchange")}),ti=this.textTracks();ti&&(ti.addEventListener("removetrack",tt),ti.addEventListener("addtrack",tt),this.on("dispose",tb.bind(this,function(){ti.removeEventListener("removetrack",tt),ti.removeEventListener("addtrack",tt)})))},ti.prototype.initTrackListeners=function(){var tt=this;["video","audio"].forEach(function(ti){var tn=function(){tt.trigger(ti+"trackchange")},ts=tt[ti+"Tracks"]();ts.addEventListener("removetrack",tn),ts.addEventListener("addtrack",tn),tt.on("dispose",function(){ts.removeEventListener("removetrack",tn),ts.removeEventListener("addtrack",tn)})})},ti.prototype.emulateTextTracks=function(){var tt=this,ti=this.textTracks();if(ti){tk.default.WebVTT||null==this.el().parentNode||function(){var ti=tj.default.createElement("script");ti.src=tt.options_["vtt.js"]||"https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js",ti.onload=function(){tt.trigger("vttjsloaded")},ti.onerror=function(){tt.trigger("vttjserror")},tt.on("dispose",function(){ti.onload=null,ti.onerror=null}),tk.default.WebVTT=!0,tt.el().parentNode.appendChild(ti)}();var tn=function(){return tt.trigger("texttrackchange")},ts=function(){tn();for(var tt=0;tt<ti.length;tt++){var ts=ti[tt];ts.removeEventListener("cuechange",tn),"showing"===ts.mode&&ts.addEventListener("cuechange",tn)}};ts(),ti.addEventListener("change",ts),this.on("dispose",function(){ti.removeEventListener("change",ts)})}},ti.prototype.videoTracks=function(){return this.videoTracks_=this.videoTracks_||new tv.default,this.videoTracks_},ti.prototype.audioTracks=function(){return this.audioTracks_=this.audioTracks_||new ty.default,this.audioTracks_},ti.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new tm.default,this.textTracks_},ti.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new tm.default,this.remoteTextTracks_},ti.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new th.default,this.remoteTextTrackEls_},ti.prototype.addTextTrack=function(tt,ti,tn){if(!tt)throw Error("TextTrack kind is required but was not provided");return tS(this,tt,ti,tn)},ti.prototype.addRemoteTextTrack=function(tt){var ti=tp.default(tt,{tech:this}),tn=new td.default(ti);return this.remoteTextTrackEls().addTrackElement_(tn),this.remoteTextTracks().addTrack_(tn.track),this.textTracks().addTrack_(tn.track),tn},ti.prototype.removeRemoteTextTrack=function(tt){this.textTracks().removeTrack_(tt);var ti=this.remoteTextTrackEls().getTrackElementByTrack_(tt);this.remoteTextTrackEls().removeTrackElement_(ti),this.remoteTextTracks().removeTrack_(tt)},ti.prototype.setPoster=function(){},ti.prototype.canPlayType=function(){return""},ti.isTech=function(tt){return tt.prototype instanceof ti||tt instanceof ti||tt===ti}
23,ti.registerTech=function(tt,tn){if(ti.techs_||(ti.techs_={}),!ti.isTech(tn))throw Error("Tech "+tt+" must be a Tech");return ti.techs_[tt]=tn,tn},ti.getTech=function(tt){return ti.techs_&&ti.techs_[tt]?ti.techs_[tt]:tk.default&&tk.default.videojs&&tk.default.videojs[tt]?(tw.default.warn("The "+tt+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),tk.default.videojs[tt]):void 0},ti}(tu.default);tC.prototype.textTracks_,tC.prototype.audioTracks_,tC.prototype.videoTracks_;var tS=function(tt,ti,tn,ts){var ta=arguments.length<=4||void 0===arguments[4]?{}:arguments[4],tl=tt.textTracks();ta.kind=ti,tn&&(ta.label=tn),ts&&(ta.language=ts),ta.tech=tt;var tc=new tf.default(ta);return tl.addTrack_(tc),tc};tC.prototype.featuresVolumeControl=!0,tC.prototype.featuresFullscreenResize=!1,tC.prototype.featuresPlaybackRate=!1,tC.prototype.featuresProgressEvents=!1,tC.prototype.featuresTimeupdateEvents=!1,tC.prototype.featuresNativeTextTracks=!1,tC.withSourceHandlers=function(tt){tt.registerSourceHandler=function(ti,tn){var ts=tt.sourceHandlers;ts||(ts=tt.sourceHandlers=[]),void 0===tn&&(tn=ts.length),ts.splice(tn,0,ti)},tt.canPlayType=function(ti){for(var tn=tt.sourceHandlers||[],ts=void 0,ta=0;ta<tn.length;ta++)if(ts=tn[ta].canPlayType(ti))return ts;return""},tt.selectSourceHandler=function(ti){for(var tn=tt.sourceHandlers||[],ts=void 0,ta=0;ta<tn.length;ta++)if(ts=tn[ta].canHandleSource(ti))return tn[ta];return null},tt.canPlaySource=function(ti){var tn=tt.selectSourceHandler(ti);return tn?tn.canHandleSource(ti):""},["seekable","duration"].forEach(function(tt){var ti=this[tt];"function"==typeof ti&&(this[tt]=function(){return this.sourceHandler_&&this.sourceHandler_[tt]?this.sourceHandler_[tt].apply(this.sourceHandler_,arguments):ti.apply(this,arguments)})},tt.prototype),tt.prototype.setSource=function(ti){var tn=tt.selectSourceHandler(ti);return tn||(tt.nativeSourceHandler?tn=tt.nativeSourceHandler:tw.default.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),tn!==tt.nativeSourceHandler&&(this.currentSource_=ti,this.off(this.el_,"loadstart",tt.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",tt.prototype.successiveLoadStartListener_),this.one(this.el_,"loadstart",tt.prototype.firstLoadStartListener_)),this.sourceHandler_=tn.handleSource(ti,this,this.options_),this.on("dispose",this.disposeSourceHandler),this},tt.prototype.firstLoadStartListener_=function(){this.one(this.el_,"loadstart",tt.prototype.successiveLoadStartListener_)},tt.prototype.successiveLoadStartListener_=function(){this.currentSource_=null,this.disposeSourceHandler(),this.one(this.el_,"loadstart",tt.prototype.successiveLoadStartListener_)},tt.prototype.disposeSourceHandler=function(){this.sourceHandler_&&this.sourceHandler_.dispose&&(this.off(this.el_,"loadstart",tt.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",tt.prototype.successiveLoadStartListener_),this.sourceHandler_.dispose())}},tu.default.registerComponent("Tech",tC),tu.default.registerComponent("MediaTechController",tC),tC.registerTech("Tech",tC),tn.default=tC,ti.exports=tn.default},{"../component":67,"../media-error.js":108,"../tracks/audio-track":126,"../tracks/audio-track-list":125,"../tracks/html-track-element":128,"../tracks/html-track-element-list":127,"../tracks/text-track":134,"../tracks/text-track-list":132,"../tracks/video-track":139,"../tracks/video-track-list":138,"../utils/buffer.js":141,"../utils/fn.js":145,"../utils/log.js":148,"../utils/merge-options.js":149,"../utils/time-ranges.js":151,"global/document":1,"global/window":2}],125:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("./track-list")),td=ts(tt("../utils/browser.js")),th=ta(tt("global/document")),tp=function(tt,ti){for(var tn=0;tn<tt.length;tn++)ti.id!==tt[tn].id&&(tt[tn].enabled=!1)},tf=function(tt){function ti(){var tn=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];tl(this,ti);for(var ts=void 0,ta=tn.length-1;ta>=0;ta--)if(tn[ta].enabled){tp(tn,tn[ta]);break}if(td.IS_IE8){for(var tc in ts=th.default.createElement("custom"),tu.default.prototype)"constructor"!==tc&&(ts[tc]=tu.default.prototype[tc]);for(var tc in ti.prototype)"constructor"!==tc&&(ts[tc]=ti.prototype[tc])}return(ts=tt.call(this,tn,ts)).changing_=!1,ts}return tc(ti,tt),ti.prototype.addTrack_=function(ti){var tn=this;ti.enabled&&tp(this,ti),tt.prototype.addTrack_.call(this,ti),ti.addEventListener&&ti.addEventListener("enabledchange",function(){tn.changing_||(tn.changing_=!0,tp(tn,ti),tn.changing_=!1,tn.trigger("change"))})},ti.prototype.addTrack=function(tt){this.addTrack_(tt)},ti.prototype.removeTrack=function(ti){tt.prototype.removeTrack_.call(this,ti)},ti}(tu.default);tn.default=tf,ti.exports=tn.default},{"../utils/browser.js":140,"./track-list":136,"global/document":1}],126:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=tt("./track-enums"),td=ta(tt("./track")),th=ta(tt("../utils/merge-options")),tp=ts(tt("../utils/browser.js")),tf=function(tt){function ti(){var tn=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];tl(this,ti);var ts=th.default(tn,{kind:tu.AudioTrackKind[tn.kind]||""}),ta=tt.call(this,ts),tc=!1;if(tp.IS_IE8)for(var td in ti.prototype)"constructor"!==td&&(ta[td]=ti.prototype[td]);return Object.defineProperty(ta,"enabled",{get:function(){return tc},set:function(tt){"boolean"==typeof tt&&tt!==tc&&(tc=tt,this.trigger("enabledchange"))}}),ts.enabled&&(ta.enabled=ts.enabled),ta.loaded_=!0,ta}return tc(ti,tt),ti}(td.default);tn.default=tf,ti.exports=tn.default},{"../utils/browser.js":140,"../utils/merge-options":149,"./track":137,"./track-enums":135}],127:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}tn.__esModule=!0;var tc=ta(tt("../utils/browser.js")),tu=ts(tt("global/document")),td=function(){function tt(){var ti=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];tl(this,tt);var tn=this;if(tc.IS_IE8)for(var ts in tn=tu.default.createElement("custom"),tt.prototype)"constructor"!==ts&&(tn[ts]=tt.prototype[ts]);tn.trackElements_=[],Object.defineProperty(tn,"length",{get:function(){return this.trackElements_.length}});for(var ta=0,td=ti.length;td>ta;ta++)tn.addTrackElement_(ti[ta]);return tc.IS_IE8?tn:void 0}return tt.prototype.addTrackElement_=function(tt){this.trackElements_.push(tt)},tt.prototype.getTrackElementByTrack_=function(tt){for(var ti=void 0,tn=0,ts=this.trackElements_.length;ts>tn;tn++)if(tt===this.trackElements_[tn].track){ti=this.trackElements_[tn];break}return ti},tt.prototype.removeTrackElement_=function(tt){for(var ti=0,tn=this.trackElements_.length;tn>ti;ti++)if(tt===this.trackElements_[ti]){this.trackElements_.splice(ti,1);break}},tt}();tn.default=td,ti.exports=tn.default},{"../utils/browser.js":140,"global/document":1}],128:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../utils/browser.js")),td=ts(tt("global/document")),th=ts(tt("../event-target")),tp=ts(tt("../tracks/text-track")),tf=0,tm=1,tg=2,tv=3,ty=function(tt){function ti(){var tn=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];tl(this,ti),tt.call(this);var ts=void 0,ta=this;if(tu.IS_IE8)for(var tc in ta=td.default.createElement("custom"),ti.prototype)"constructor"!==tc&&(ta[tc]=ti.prototype[tc]);var th=new tp.default(tn);return ta.kind=th.kind,ta.src=th.src,ta.srclang=th.language,ta.label=th.label,ta.default=th.default,Object.defineProperty(ta,"readyState",{get:function(){return ts}}),Object.defineProperty(ta,"track",{get:function(){return th}}),ts=tf,th.addEventListener("loadeddata",function(){ts=tg,ta.trigger({type:"load",target:ta}
23)}),tu.IS_IE8?ta:void 0}return tc(ti,tt),ti}(th.default);ty.prototype.allowedEvents_={load:"load"},ty.NONE=tf,ty.LOADING=tm,ty.LOADED=tg,ty.ERROR=tv,tn.default=ty,ti.exports=tn.default},{"../event-target":104,"../tracks/text-track":134,"../utils/browser.js":140,"global/document":1}],129:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}tn.__esModule=!0;var tc=ta(tt("../utils/browser.js")),tu=ts(tt("global/document")),td=function(){function tt(ti){tl(this,tt);var tn=this;if(tc.IS_IE8)for(var ts in tn=tu.default.createElement("custom"),tt.prototype)"constructor"!==ts&&(tn[ts]=tt.prototype[ts]);return tt.prototype.setCues_.call(tn,ti),Object.defineProperty(tn,"length",{get:function(){return this.length_}}),tc.IS_IE8?tn:void 0}return tt.prototype.setCues_=function(tt){var ti=this.length||0,tn=0,ts=tt.length;this.cues_=tt,this.length_=tt.length;var ta=function(tt){""+tt in this||Object.defineProperty(this,""+tt,{get:function(){return this.cues_[tt]}})};if(ts>ti)for(tn=ti;ts>tn;tn++)ta.call(this,tn)},tt.prototype.getCueById=function(tt){for(var ti=null,tn=0,ts=this.length;ts>tn;tn++){var ta=this[tn];if(ta.id===tt){ti=ta;break}}return ti},tt}();tn.default=td,ti.exports=tn.default},{"../utils/browser.js":140,"global/document":1}],130:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}function tu(tt,ti){return"rgba("+parseInt(tt[1]+tt[1],16)+","+parseInt(tt[2]+tt[2],16)+","+parseInt(tt[3]+tt[3],16)+","+ti+")"}function td(tt,ti,tn){try{tt.style[ti]=tn}catch(tt){}}tn.__esModule=!0;var th=ta(tt("../component")),tp=(ta(tt("../menu/menu.js")),tt("../menu/menu-item.js")),tf=(ta(tp),tt("../menu/menu-button.js")),tm=ts((ta(tf),tt("../utils/fn.js"))),tg=(ta(tt("global/document")),tt("global/window")),tv=ta(tg),ty="#222",tb="#ccc",tw={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'},tx=function(tt){function ti(tn,ts,ta){tl(this,ti),tt.call(this,tn,ts,ta),tn.on("loadstart",tm.bind(this,this.toggleDisplay)),tn.on("texttrackchange",tm.bind(this,this.updateDisplay)),tn.ready(tm.bind(this,function(){if(tn.tech_&&tn.tech_.featuresNativeTextTracks)return void this.hide();tn.on("fullscreenchange",tm.bind(this,this.updateDisplay));for(var tt=this.options_.playerOptions.tracks||[],ti=0;ti<tt.length;ti++){var ts=tt[ti];this.player_.addRemoteTextTrack(ts)}var ta={captions:1,subtitles:1},tl=this.player_.textTracks(),tc=void 0,tu=void 0;if(tl){for(var ti=0;ti<tl.length;ti++){var ts=tl[ti];ts.default&&("descriptions"!==ts.kind||tc?ts.kind in ta&&!tu&&(tu=ts):tc=ts)}tu?tu.mode="showing":tc&&(tc.mode="showing")}}))}return tc(ti,tt),ti.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"assertive","aria-atomic":"true"})},ti.prototype.clearDisplay=function(){"function"==typeof tv.default.WebVTT&&tv.default.WebVTT.processCues(tv.default,[],this.el_)},ti.prototype.updateDisplay=function(){var tt=this.player_.textTracks();if(this.clearDisplay(),tt){for(var ti=null,tn=null,ts=tt.length;ts--;){var ta=tt[ts];"showing"===ta.mode&&("descriptions"===ta.kind?ti=ta:tn=ta)}tn?this.updateForTrack(tn):ti&&this.updateForTrack(ti)}},ti.prototype.updateForTrack=function(tt){if("function"==typeof tv.default.WebVTT&&tt.activeCues){for(var ti=this.player_.textTrackSettings.getValues(),tn=[],ts=0;ts<tt.activeCues.length;ts++)tn.push(tt.activeCues[ts]);tv.default.WebVTT.processCues(tv.default,tn,this.el_);for(var ta=tn.length;ta--;){var tl=tn[ta];if(tl){var tc=tl.displayState;if(ti.color&&(tc.firstChild.style.color=ti.color),ti.textOpacity&&td(tc.firstChild,"color",tu(ti.color||"#fff",ti.textOpacity)),ti.backgroundColor&&(tc.firstChild.style.backgroundColor=ti.backgroundColor),ti.backgroundOpacity&&td(tc.firstChild,"backgroundColor",tu(ti.backgroundColor||"#000",ti.backgroundOpacity)),ti.windowColor&&(ti.windowOpacity?td(tc,"backgroundColor",tu(ti.windowColor,ti.windowOpacity)):tc.style.backgroundColor=ti.windowColor),ti.edgeStyle&&("dropshadow"===ti.edgeStyle?tc.firstChild.style.textShadow="2px 2px 3px "+ty+", 2px 2px 4px "+ty+", 2px 2px 5px "+ty:"raised"===ti.edgeStyle?tc.firstChild.style.textShadow="1px 1px "+ty+", 2px 2px "+ty+", 3px 3px "+ty:"depressed"===ti.edgeStyle?tc.firstChild.style.textShadow="1px 1px "+tb+", 0 1px "+tb+", -1px -1px "+ty+", 0 -1px "+ty:"uniform"===ti.edgeStyle&&(tc.firstChild.style.textShadow="0 0 4px "+ty+", 0 0 4px "+ty+", 0 0 4px "+ty+", 0 0 4px "+ty)),ti.fontPercent&&1!==ti.fontPercent){var th=tv.default.parseFloat(tc.style.fontSize);tc.style.fontSize=th*ti.fontPercent+"px",tc.style.height="auto",tc.style.top="auto",tc.style.bottom="2px"}
23ti.fontFamily&&"default"!==ti.fontFamily&&("small-caps"===ti.fontFamily?tc.firstChild.style.fontVariant="small-caps":tc.firstChild.style.fontFamily=tw[ti.fontFamily])}}}},ti}(th.default);th.default.registerComponent("TextTrackDisplay",tx),tn.default=tx,ti.exports=tn.default},{"../component":67,"../menu/menu-button.js":109,"../menu/menu-item.js":110,"../menu/menu.js":111,"../utils/fn.js":145,"global/document":1,"global/window":2}],131:[function(tt,ti,tn){"use strict";tn.__esModule=!0;var ts=function(tt){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(ti,tn){return tt[tn]&&(ti[tn]=tt[tn]),ti},{cues:tt.cues&&Array.prototype.map.call(tt.cues,function(tt){return{startTime:tt.startTime,endTime:tt.endTime,text:tt.text,id:tt.id}})})},ta=function(tt){var ti=tt.$$("track"),tn=Array.prototype.map.call(ti,function(tt){return tt.track});return Array.prototype.map.call(ti,function(tt){var ti=ts(tt.track);return tt.src&&(ti.src=tt.src),ti}).concat(Array.prototype.filter.call(tt.textTracks(),function(tt){return -1===tn.indexOf(tt)}).map(ts))},tl=function(tt,ti){return tt.forEach(function(tt){var tn=ti.addRemoteTextTrack(tt).track;!tt.src&&tt.cues&&tt.cues.forEach(function(tt){return tn.addCue(tt)})}),ti.textTracks()};tn.default={textTracksToJson:ta,jsonToTextTracks:tl,trackToJson_:ts},ti.exports=tn.default},{}
23],132:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("./track-list")),td=ts(tt("../utils/fn.js")),th=ts(tt("../utils/browser.js")),tp=ta(tt("global/document")),tf=function(tt){function ti(){var tn=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];tl(this,ti);var ts=void 0;if(th.IS_IE8){for(var ta in ts=tp.default.createElement("custom"),tu.default.prototype)"constructor"!==ta&&(ts[ta]=tu.default.prototype[ta]);for(var ta in ti.prototype)"constructor"!==ta&&(ts[ta]=ti.prototype[ta])}return tt.call(this,tn,ts)}return tc(ti,tt),ti.prototype.addTrack_=function(ti){tt.prototype.addTrack_.call(this,ti),ti.addEventListener("modechange",td.bind(this,function(){this.trigger("change")}))},ti.prototype.removeTrack_=function(tt){for(var ti=void 0,tn=0,ts=this.length;ts>tn;tn++)if(this[tn]===tt){(ti=this[tn]).off&&ti.off(),this.tracks_.splice(tn,1);break}ti&&this.trigger({track:ti,type:"removetrack"})},ti.prototype.getTrackById=function(tt){for(var ti=null,tn=0,ts=this.length;ts>tn;tn++){var ta=this[tn];if(ta.id===tt){ti=ta;break}}return ti},ti}(tu.default);tn.default=tf,ti.exports=tn.default},{"../utils/browser.js":140,"../utils/fn.js":145,"./track-list":136,"global/document":1}],133:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}function tu(tt){var ti=void 0;return tt.selectedOptions?ti=tt.selectedOptions[0]:tt.options&&(ti=tt.options[tt.options.selectedIndex]),ti.value}function td(tt,ti){if(ti){var tn=void 0;for(tn=0;tn<tt.options.length&&tt.options[tn].value!==ti;tn++);tt.selectedIndex=tn}}function th(){return'<div class="vjs-tracksettings">\n      <div class="vjs-tracksettings-colors">\n        <div class="vjs-fg-color vjs-tracksetting">\n            <label class="vjs-label">Foreground</label>\n            <select>\n              <option value="">---</option>\n              <option value="#FFF">White</option>\n              <option value="#000">Black</option>\n              <option value="#F00">Red</option>\n              <option value="#0F0">Green</option>\n              <option value="#00F">Blue</option>\n              <option value="#FF0">Yellow</option>\n              <option value="#F0F">Magenta</option>\n              <option value="#0FF">Cyan</option>\n            </select>\n            <span class="vjs-text-opacity vjs-opacity">\n              <select>\n                <option value="">---</option>\n                <option value="1">Opaque</option>\n                <option value="0.5">Semi-Opaque</option>\n              </select>\n            </span>\n        </div> <!-- vjs-fg-color -->\n        <div class="vjs-bg-color vjs-tracksetting">\n            <label class="vjs-label">Background</label>\n            <select>\n              <option value="">---</option>\n              <option value="#FFF">White</option>\n              <option value="#000">Black</option>\n              <option value="#F00">Red</option>\n              <option value="#0F0">Green</option>\n              <option value="#00F">Blue</option>\n              <option value="#FF0">Yellow</option>\n              <option value="#F0F">Magenta</option>\n              <option value="#0FF">Cyan</option>\n            </select>
23\n            <span class="vjs-bg-opacity vjs-opacity">\n                <select>\n                  <option value="">---</option>\n                  <option value="1">Opaque</option>\n                  <option value="0.5">Semi-Transparent</option>\n                  <option value="0">Transparent</option>\n                </select>\n            </span>\n        </div> <!-- vjs-bg-color -->\n        <div class="window-color vjs-tracksetting">\n            <label class="vjs-label">Window</label>\n            <select>\n              <option value="">---</option>\n              <option value="#FFF">White</option>\n              <option value="#000">Black</option>\n              <option value="#F00">Red</option>\n              <option value="#0F0">Green</option>\n              <option value="#00F">Blue</option>\n              <option value="#FF0">Yellow</option>\n              <option value="#F0F">Magenta</option>\n              <option value="#0FF">Cyan</option>\n            </select>\n            <span class="vjs-window-opacity vjs-opacity">\n                <select>\n                  <option value="">---</option>\n                  <option value="1">Opaque</option>\n                  <option value="0.5">Semi-Transparent</option>\n                  <option value="0">Transparent</option>\n                </select>\n            </span>\n        </div> <!-- vjs-window-color -->\n      </div> <!-- vjs-tracksettings -->\n      <div class="vjs-tracksettings-font">\n        <div class="vjs-font-percent vjs-tracksetting">\n          <label class="vjs-label">Font Size</label>\n          <select>\n            <option value="0.50">50%</option>\n            <option value="0.75">75%</option>\n            <option value="1.00" selected>100%</option>\n            <option value="1.25">125%</option>\n            <option value="1.50">150%</option>\n            <option value="1.75">175%</option>\n            <option value="2.00">200%</option>\n            <option value="3.00">300%</option>\n            <option value="4.00">400%</option>\n          </select>\n        </div> <!-- vjs-font-percent -->\n        <div class="vjs-edge-style vjs-tracksetting">\n          <label class="vjs-label">Text Edge Style</label>\n          <select>\n            <option value="none">None</option>\n            <option value="raised">Raised</option>\n            <option value="depressed">Depressed</option>\n            <option value="uniform">Uniform</option>\n            <option value="dropshadow">Dropshadow</option>\n          </select>\n        </div> <!-- vjs-edge-style -->\n        <div class="vjs-font-family vjs-tracksetting">\n          <label class="vjs-label">Font Family</label>\n          <select>\n            <option value="">Default</option>\n            <option value="monospaceSerif">Monospace Serif</option>\n            <option value="proportionalSerif">Proportional Serif</option>\n            <option value="monospaceSansSerif">Monospace Sans-Serif</option>\n            <option value="proportionalSansSerif">Proportional Sans-Serif</option>\n            <option value="casual">Casual</option>\n            <option value="script">Script</option>\n            <option value="small-caps">Small Caps</option>\n          </select>\n        </div> <!-- vjs-font-family -->\n      </div>\n    </div>\n    <div class="vjs-tracksettings-controls">\n      <button class="vjs-default-button">Defaults</button>\n      <button class="vjs-done-button">Done</button>\n    </div>'}tn.__esModule=!0;var tp=ta(tt("../component")),tf=ts(tt("../utils/events.js")),tm=ts(tt("../utils/fn.js")),tg=ta(tt("../utils/log.js")),tv=ta(tt("safe-json-parse/tuple")),ty=ta(tt("global/window")),tb=function(tt){function ti(tn,ts){tl(this,ti),tt.call(this,tn,ts),this.hide(),void 0===ts.persistTextTrackSettings&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings),tf.on(this.$(".vjs-done-button"),"click",tm.bind(this,function(){this.saveSettings(),this.hide()})),tf.on(this.$(".vjs-default-button"),"click",tm.bind(this,function(){this.$(".vjs-fg-color > select").selectedIndex=0,this.$(".vjs-bg-color > select").selectedIndex=0,this.$(".window-color > select").selectedIndex=0,this.$(".vjs-text-opacity > select").selectedIndex=0,this.$(".vjs-bg-opacity > select").selectedIndex=0,this.$(".vjs-window-opacity > select").selectedIndex=0,this.$(".vjs-edge-style select").selectedIndex=0,this.$(".vjs-font-family select").selectedIndex=0,this.$(".vjs-font-percent select").selectedIndex=2,this.updateDisplay()})),tf.on(this.$(".vjs-fg-color > select"),"change",tm.bind(this,this.updateDisplay)),tf.on(this.$(".vjs-bg-color > select"),"change",tm.bind(this,this.updateDisplay)),tf.on(this.$(".window-color > select"),"change",tm.bind(this,this.updateDisplay)),tf.on(this.$(".vjs-text-opacity > select"),"change",tm.bind(this,this.updateDisplay)),tf.on(this.$(".vjs-bg-opacity > select"),"change",tm.bind(this,this.updateDisplay)),tf.on(this.$(".vjs-window-opacity > select"),"change",tm.bind(this,this.updateDisplay)),tf.on(this.$(".vjs-font-percent select"),"change",tm.bind(this,this.updateDisplay)),tf.on(this.$(".vjs-edge-style select"),"change",tm.bind(this,this.updateDisplay)),tf.on(this.$(".vjs-font-family select"),"change",tm.bind(this,this.updateDisplay)),this.options_.persistTextTrackSettings&&this.restoreSettings()}return tc(ti,tt),ti.prototype.createEl=function(){return tt.prototype.createEl.call(this,"div",{className:"vjs-caption-settings vjs-modal-overlay",innerHTML:th()})},ti.prototype.getValues=function(){var tt=tu(this.$(".vjs-edge-style select")),ti=tu(this.$(".vjs-font-family select")),tn=tu(this.$(".vjs-fg-color > select")),ts=tu(this.$(".vjs-text-opacity > select")),ta=tu(this.$(".vjs-bg-color > select")),tl=tu(this.$(".vjs-bg-opacity > select")),tc=tu(this.$(".window-color > select")),td={backgroundOpacity:tl,textOpacity:ts,windowOpacity:tu(this.$(".vjs-window-opacity > select")),edgeStyle:tt,fontFamily:ti,color:tn,backgroundColor:ta,windowColor:tc,fontPercent:ty.default.parseFloat(tu(this.$(".vjs-font-percent > select")))};for(var th in td)(""===td[th]||"none"===td[th]||"fontPercent"===th&&1===td[th])&&delete td[th];return td},ti.prototype.setValues=function(tt){td(this.$(".vjs-edge-style select"),tt.edgeStyle),td(this.$(".vjs-font-family select"),tt.fontFamily),td(this.$(".vjs-fg-color > select"),tt.color),td(this.$(".vjs-text-opacity > select"),tt.textOpacity),td(this.$(".vjs-bg-color > select"),tt.backgroundColor),td(this.$(".vjs-bg-opacity > select"),tt.backgroundOpacity),td(this.$(".window-color > select"),tt.windowColor),td(this.$(".vjs-window-opacity > select"),tt.windowOpacity);var ti=tt.fontPercent;ti&&(ti=ti.toFixed(2)),td(this.$(".vjs-font-percent > select"),ti)},ti.prototype.restoreSettings=function(){var tt=void 0,ti=void 0;try{var tn=tv.default(ty.default.localStorage.getItem("vjs-text-track-settings"));tt=tn[0],ti=tn[1],tt&&tg.default.error(tt)}catch(tt){tg.default.warn(tt)}ti&&this.setValues(ti)},ti.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var tt=this.getValues();try{Object.getOwnPropertyNames(tt).length>0?ty.default.localStorage.setItem("vjs-text-track-settings",JSON.stringify(tt)):ty.default.localStorage.removeItem("vjs-text-track-settings")}catch(tt){tg.default.warn(tt)}}},ti.prototype.updateDisplay=function(){var tt=this.player_.getChild("textTrackDisplay");tt&&tt.updateDisplay()},ti}(tp.default);tp.default.registerComponent("TextTrackSettings",tb),tn.default=tb,ti.exports=tn.default},{"../component":67,"../utils/events.js":144,"../utils/fn.js":145,"../utils/log.js":148,"global/window":2,"safe-json-parse/tuple":54}],134:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("./text-track-cue-list")),td=ts(tt("../utils/fn.js")),th=tt("./track-enums"),tp=ta(tt("../utils/log.js")),tf=(ta(tt("global/document")),tt("global/window")),tm=ta(tf),tg=ta(tt("./track.js")),tv=tt("../utils/url.js"),ty=ta(tt("xhr")),tb=ta(tt("../utils/merge-options")),tw=ts(tt("../utils/browser.js")),tx=function(tt,ti){var tn=new tm.default.WebVTT.Parser(tm.default,tm.default.vttjs,tm.default.WebVTT.StringDecoder()),ts=[];tn.oncue=function(tt){ti.addCue(tt)},tn.onparsingerror=function(tt){ts.push(tt)},tn.onflush=function(){ti.trigger({type:"loadeddata",target:ti})},tn.parse(tt),ts.length>0&&ts.forEach(function(tt){return tp.default.error(tt)}),tn.flush()},t_=function(tt,ti){var tn={uri:tt},ts=tv.isCrossOrigin(tt);ts&&(tn.cors=ts),ty.default(tn,td.bind(this,function(tt,tn,ts){return tt?tp.default.error(tt,tn):(ti.loaded_=!0,void("function"!=typeof tm.default.WebVTT?ti.tech_&&function(){var tt=function(){return tx(ts,ti)};ti.tech_.on("vttjsloaded",tt),ti.tech_.on("vttjserror",function(){tp.default.error("vttjs failed to load, stopping trying to process "+ti.src),ti.tech_.off("vttjsloaded",tt)})}():tx(ts,ti)))}))},tT=function(tt){function ti(){var tn=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];if(tl(this,ti),!tn.tech)throw Error("A tech was not provided.");var ts=tb.default(tn,{kind:th.TextTrackKind[tn.kind]||"subtitles",language:tn.language||tn.srclang||""}),ta=th.TextTrackMode[ts.mode]||"disabled",tc=ts.default;("metadata"===ts.kind||"chapters"===ts.kind)&&(ta="hidden");var tp=tt.call(this,ts);if(tp.tech_=ts.tech,tw.IS_IE8)for(var tf in ti.prototype)"constructor"!==tf&&(tp[tf]=ti.prototype[tf]);tp.cues_=[],tp.activeCues_=[];var tm=new tu.default(tp.cues_),tg=new tu.default(tp.activeCues_),tv=!1,ty=td.bind(tp,function(){this.activeCues,tv&&(this.trigger("cuechange"),tv=!1)});return"disabled"!==ta&&tp.tech_.on("timeupdate",ty),Object.defineProperty(tp,"default",{get:function(){return tc},set:function(){}}),Object.defineProperty(tp,"mode",{get:function(){return ta},set:function(tt){th.TextTrackMode[tt]&&("showing"===(ta=tt)&&this.tech_.on("timeupdate",ty),this.trigger("modechange"))}}),Object.defineProperty(tp,"cues",{get:function(){return this.loaded_?tm:null},set:function(){}}),Object.defineProperty(tp,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return tg;for(var tt=this.tech_.currentTime(),ti=[],tn=0,ts=this.cues.length;ts>tn;tn++){var ta=this.cues[tn];ta.startTime<=tt&&ta.endTime>=tt?ti.push(ta):ta.startTime===ta.endTime&&ta.startTime<=tt&&ta.startTime+.5>=tt&&ti.push(ta)}if(tv=!1,ti.length!==this.activeCues_.length)tv=!0;else for(var tn=0;tn<ti.length;tn++)-1===this.activeCues_.indexOf(ti[tn])&&(tv=!0);return this.activeCues_=ti,tg.setCues_(this.activeCues_),tg},set:function(){}}),ts.src?(tp.src=ts.src,t_(ts.src,tp)):tp.loaded_=!0,tp}return tc(ti,tt),ti.prototype.addCue=function(tt){var ti=this.tech_.textTracks();if(ti)for(var tn=0;tn<ti.length;tn++)ti[tn]!==this&&ti[tn].removeCue(tt);this.cues_.push(tt),this.cues.setCues_(this.cues_)},ti.prototype.removeCue=function(tt){for(var ti=!1,tn=0,ts=this.cues_.length;ts>tn;tn++)this.cues_[tn]===tt&&(this.cues_.splice(tn,1),ti=!0);ti&&this.cues.setCues_(this.cues_)},ti}(tg.default);tT.prototype.allowedEvents_={cuechange:"cuechange"},tn.default=tT,ti.exports=tn.default},{"../utils/browser.js":140,"../utils/fn.js":145,"../utils/log.js":148,"../utils/merge-options":149,"../utils/url.js":153,"./text-track-cue-list":129,"./track-enums":135,"./track.js":137,"global/document":1,"global/window":2,xhr:56}],135:[function(tt,ti,tn){"use strict";tn.__esModule=!0;var ts={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},ta={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},tl={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},tc={disabled:"disabled",hidden:"hidden",showing:"showing"};tn.default={VideoTrackKind:ts,AudioTrackKind:ta,TextTrackKind:tl,TextTrackMode:tc},ti.exports=tn.default},{}],136:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../event-target")),td=(ts(tt("../utils/fn.js")),tt("../utils/browser.js")),th=ts(td),tp=ta(tt("global/document")),tf=function(tt){function ti(){var tn=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],ts=arguments.length<=1||void 0===arguments[1]?null:arguments[1];if(tl(this,ti),tt.call(this),!ts&&(ts=this,th.IS_IE8))for(var ta in ts=tp.default.createElement("custom"),ti.prototype)"constructor"!==ta&&(ts[ta]=ti.prototype[ta]);ts.tracks_=[],Object.defineProperty(ts,"length",{get:function(){return this.tracks_.length}});for(var tc=0;tc<tn.length;tc++)ts.addTrack_(tn[tc]);return ts}return tc(ti,tt),ti.prototype.addTrack_=function(tt){var ti=this.tracks_.length;""+ti in this||Object.defineProperty(this,ti,{get:function(){return this.tracks_[ti]}}),-1===this.tracks_.indexOf(tt)&&(this.tracks_.push(tt),this.trigger({track:tt,type:"addtrack"}))},ti.prototype.removeTrack_=function(tt){for(var ti=void 0,tn=0,ts=this.length;ts>tn;tn++)if(this[tn]===tt){(ti=this[tn]).off&&ti.off(),this.tracks_.splice(tn,1);break}ti&&this.trigger({track:ti,type:"removetrack"})},ti.prototype.getTrackById=function(tt){for(var ti=null,tn=0,ts=this.length;ts>tn;tn++){var ta=this[tn];if(ta.id===tt){ti=ta;break}}return ti},ti}(tu.default);for(var tm in tf.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},tf.prototype.allowedEvents_)tf.prototype["on"+tm]=null;tn.default=tf,ti.exports=tn.default},{"../event-target":104,"../utils/browser.js":140,"../utils/fn.js":145,"global/document":1}],137:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("../utils/browser.js")),td=ts(tt("global/document")),th=ta(tt("../utils/guid.js")),tp=function(tt){function ti(){var tn=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];tl(this,ti),tt.call(this);var ts=this;if(tu.IS_IE8)for(var ta in ts=td.default.createElement("custom"),ti.prototype)"constructor"!==ta&&(ts[ta]=ti.prototype[ta]);var tc={id:tn.id||"vjs_track_"+th.newGUID(),kind:tn.kind||"",label:tn.label||"",language:tn.language||""},tp=function(tt){Object.defineProperty(ts,tt,{get:function(){return tc[tt]},set:function(){}})};for(var tf in tc)tp(tf);return ts}return tc(ti,tt),ti}(ts(tt("../event-target")).default);tn.default=tp,ti.exports=tn.default},{"../event-target":104,"../utils/browser.js":140,"../utils/guid.js":147,"global/document":1}],138:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=ta(tt("./track-list")),td=ts(tt("../utils/browser.js")),th=ta(tt("global/document")),tp=function(tt,ti){for(var tn=0;tn<tt.length;tn++)ti.id!==tt[tn].id&&(tt[tn].selected=!1)},tf=function(tt){function ti(){var tn=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];tl(this,ti);for(var ts=void 0,ta=tn.length-1;ta>=0;ta--)if(tn[ta].selected){tp(tn,tn[ta]);break}if(td.IS_IE8){for(var tc in ts=th.default.createElement("custom"),tu.default.prototype)"constructor"!==tc&&(ts[tc]=tu.default.prototype[tc]);for(var tc in ti.prototype)"constructor"!==tc&&(ts[tc]=ti.prototype[tc])}return(ts=tt.call(this,tn,ts)).changing_=!1,Object.defineProperty(ts,"selectedIndex",{get:function(){for(var tt=0;tt<this.length;tt++)if(this[tt].selected)return tt;return -1},set:function(){}}),ts}return tc(ti,tt),ti.prototype.addTrack_=function(ti){var tn=this;ti.selected&&tp(this,ti),tt.prototype.addTrack_.call(this,ti),ti.addEventListener&&ti.addEventListener("selectedchange",function(){tn.changing_||(tn.changing_=!0,tp(tn,ti),tn.changing_=!1,tn.trigger("change"))})},ti.prototype.addTrack=function(tt){this.addTrack_(tt)},ti.prototype.removeTrack=function(ti){tt.prototype.removeTrack_.call(this,ti)},ti}(tu.default);tn.default=tf,ti.exports=tn.default},{"../utils/browser.js":140,"./track-list":136,"global/document":1}],139:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){if(!(tt instanceof ti))throw TypeError("Cannot call a class as a function")}function tc(tt,ti){if("function"!=typeof ti&&null!==ti)throw TypeError("Super expression must either be null or a function, not "+typeof ti);tt.prototype=Object.create(ti&&ti.prototype,{constructor:{value:tt,enumerable:!1,writable:!0,configurable:!0}}),ti&&(Object.setPrototypeOf?Object.setPrototypeOf(tt,ti):tt.__proto__=ti)}tn.__esModule=!0;var tu=tt("./track-enums"),td=ta(tt("./track")),th=ta(tt("../utils/merge-options")),tp=ts(tt("../utils/browser.js")),tf=function(tt){function ti(){var tn=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];tl(this,ti);var ts=th.default(tn,{kind:tu.VideoTrackKind[tn.kind]||""}),ta=tt.call(this,ts),tc=!1;if(tp.IS_IE8)for(var td in ti.prototype)"constructor"!==td&&(ta[td]=ti.prototype[td]);return Object.defineProperty(ta,"selected",{get:function(){return tc},set:function(tt){"boolean"==typeof tt&&tt!==tc&&(tc=tt,this.trigger("selectedchange"))}}),ts.selected&&(ta.selected=ts.selected),ta}return tc(ti,tt),ti}(td.default);tn.default=tf,ti.exports=tn.default},{"../utils/browser.js":140,"../utils/merge-options":149,"./track":137,"./track-enums":135}],140:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}tn.__esModule=!0;var ta=ts(tt("global/document")),tl=ts(tt("global/window")),tc=tl.default.navigator.userAgent,tu=/AppleWebKit\/([\d.]+)/i.exec(tc),td=tu?parseFloat(tu.pop()):null,th=/iPad/i.test(tc);tn.IS_IPAD=th;var tp=/iPhone/i.test(tc)&&!th;tn.IS_IPHONE=tp;var tf=/iPod/i.test(tc);tn.IS_IPOD=tf;var tm=tp||th||tf;tn.IS_IOS=tm;var tg=function(){var tt=tc.match(/OS (\d+)_/i);return tt&&tt[1]?tt[1]:void 0}();tn.IOS_VERSION=tg;var tv=/Android/i.test(tc);tn.IS_ANDROID=tv;var ty=function(){var tt,ti,tn=tc.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);return tn?(tt=tn[1]&&parseFloat(tn[1]),ti=tn[2]&&parseFloat(tn[2]),tt&&ti?parseFloat(tn[1]+"."+tn[2]):tt||null):null}();tn.ANDROID_VERSION=ty;var tb=tv&&/webkit/i.test(tc)&&2.3>ty;tn.IS_OLD_ANDROID=tb;var tw=tv&&5>ty&&537>td;tn.IS_NATIVE_ANDROID=tw;var tx=/Firefox/i.test(tc);tn.IS_FIREFOX=tx;var t_=/Edge/i.test(tc);tn.IS_EDGE=t_;var tT=!t_&&/Chrome/i.test(tc);tn.IS_CHROME=tT;var tk=/MSIE\s8\.0/.test(tc);tn.IS_IE8=tk;var tj=!!("ontouchstart"in tl.default||tl.default.DocumentTouch&&ta.default instanceof tl.default.DocumentTouch);tn.TOUCH_ENABLED=tj;var tC="backgroundSize"in ta.default.createElement("video").style;tn.BACKGROUND_SIZE_SUPPORTED=tC},{"global/document":1,"global/window":2}],141:[function(tt,ti,tn){"use strict";function ts(tt,ti){var tn,ts,tl=0;if(!ti)return 0;tt&&tt.length||(tt=ta.createTimeRange(0,0));for(var tc=0;tc<tt.length;tc++)tn=tt.start(tc),(ts=tt.end(tc))>ti&&(ts=ti),tl+=ts-tn;return tl/ti}tn.__esModule=!0,tn.bufferedPercent=ts;var ta=tt("./time-ranges.js")},{"./time-ranges.js":151}],142:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}tn.__esModule=!0;var ta=ts(tt("./log.js")),tl={get:function(tt,ti){return tt[ti]},set:function(tt,ti,tn){return tt[ti]=tn,!0}};tn.default=function(tt){var ti=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if("function"==typeof Proxy){var tn=function(){var tn={};return Object.keys(ti).forEach(function(tt){tl.hasOwnProperty(tt)&&(tn[tt]=function(){return ta.default.warn(ti[tt]),tl[tt].apply(this,arguments)})}),{v:new Proxy(tt,tn)}}();if("object"==typeof tn)return tn.v}return tt},ti.exports=tn.default},{"./log.js":148}],143:[function(tt,ti,tn){"use strict";function ts(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function ta(tt){return tt&&tt.__esModule?tt:{default:tt}}function tl(tt,ti){return tt.raw=ti,tt}function tc(tt){return"string"==typeof tt&&/\S/.test(tt)}function tu(tt){if(/\s/.test(tt))throw Error("class has illegal whitespace characters")}function td(tt){return RegExp("(^|\\s)"+tt+"($|\\s)")}function th(tt){return function(ti,tn){return tc(ti)?(tc(tn)&&(tn=tz.default.querySelector(tn)),(tP(tn)?tn:tz.default)[tt](ti)):tz.default[tt](null)}}function tp(tt){return 0===tt.indexOf("#")&&(tt=tt.slice(1)),tz.default.getElementById(tt)}function tf(){var tt=arguments.length<=0||void 0===arguments[0]?"div":arguments[0],ti=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],tn=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],ts=tz.default.createElement(tt);
23return Object.getOwnPropertyNames(ti).forEach(function(tt){var tn=ti[tt];-1!==tt.indexOf("aria-")||"role"===tt||"type"===tt?(tR.default.warn(tB.default(tD,tt,tn)),ts.setAttribute(tt,tn)):ts[tt]=tn}),Object.getOwnPropertyNames(tn).forEach(function(tt){tn[tt],ts.setAttribute(tt,tn[tt])}),ts}function tm(tt,ti){void 0===tt.textContent?tt.innerText=ti:tt.textContent=ti}function tg(tt,ti){ti.firstChild?ti.insertBefore(tt,ti.firstChild):ti.appendChild(tt)}function tv(tt){var ti=tt[tW];return ti||(ti=tt[tW]=tH.newGUID()),tF[ti]||(tF[ti]={}),tF[ti]}function ty(tt){var ti=tt[tW];return!!ti&&!!Object.getOwnPropertyNames(tF[ti]).length}function tb(tt){var ti=tt[tW];if(ti){delete tF[ti];try{delete tt[tW]}catch(ti){tt.removeAttribute?tt.removeAttribute(tW):tt[tW]=null}}}function tw(tt,ti){return tt.classList?tt.classList.contains(ti):(tu(ti),td(ti).test(tt.className))}function tx(tt,ti){return tt.classList?tt.classList.add(ti):tw(tt,ti)||(tt.className=(tt.className+" "+ti).trim()),tt}function t_(tt,ti){return tt.classList?tt.classList.remove(ti):(tu(ti),tt.className=tt.className.split(/\s+/).filter(function(tt){return tt!==ti}).join(" ")),tt}function tT(tt,ti,tn){var ts=tw(tt,ti);return"function"==typeof tn&&(tn=tn(tt,ti)),"boolean"!=typeof tn&&(tn=!ts),tn!==ts?(tn?tx(tt,ti):t_(tt,ti),tt):void 0}function tk(tt,ti){Object.getOwnPropertyNames(ti).forEach(function(tn){var ts=ti[tn];null==ts||!1===ts?tt.removeAttribute(tn):tt.setAttribute(tn,!0===ts?"":ts)})}function tj(tt){var ti,tn,ts,ta,tl;if(ti={},tn=",autoplay,controls,loop,muted,default,",tt&&tt.attributes&&tt.attributes.length>0){ts=tt.attributes;for(var tc=ts.length-1;tc>=0;tc--)ta=ts[tc].name,tl=ts[tc].value,("boolean"==typeof tt[ta]||-1!==tn.indexOf(","+ta+","))&&(tl=null!==tl),ti[ta]=tl}return ti}function tC(){tz.default.body.focus(),tz.default.onselectstart=function(){return!1}}function tS(){tz.default.onselectstart=function(){return!0}}function tE(tt){var ti=void 0;if(tt.getBoundingClientRect&&tt.parentNode&&(ti=tt.getBoundingClientRect()),!ti)return{left:0,top:0};var tn=tz.default.documentElement,ts=tz.default.body,ta=tn.clientLeft||ts.clientLeft||0,tl=tN.default.pageXOffset||ts.scrollLeft,tc=ti.left+tl-ta,tu=tn.clientTop||ts.clientTop||0,td=tN.default.pageYOffset||ts.scrollTop;return{left:Math.round(tc),top:Math.round(ti.top+td-tu)}}function tO(tt,ti){var tn={},ts=tE(tt),ta=tt.offsetWidth,tl=tt.offsetHeight,tc=ts.top,tu=ts.left,td=ti.pageY,th=ti.pageX;return ti.changedTouches&&(th=ti.changedTouches[0].pageX,td=ti.changedTouches[0].pageY),tn.y=Math.max(0,Math.min(1,(tc-td+tl)/tl)),tn.x=Math.max(0,Math.min(1,(th-tu)/ta)),tn}function tP(tt){return!!tt&&"object"==typeof tt&&1===tt.nodeType}function tI(tt){return!!tt&&"object"==typeof tt&&3===tt.nodeType}function tM(tt){for(;tt.firstChild;)tt.removeChild(tt.firstChild);return tt}function tA(tt){return"function"==typeof tt&&(tt=tt()),(Array.isArray(tt)?tt:[tt]).map(function(tt){return"function"==typeof tt&&(tt=tt()),tP(tt)||tI(tt)?tt:"string"==typeof tt&&/\S/.test(tt)?tz.default.createTextNode(tt):void 0}).filter(function(tt){return tt})}function tL(tt,ti){return tA(ti).forEach(function(ti){return tt.appendChild(ti)}),tt}function t$(tt,ti){return tL(tM(tt),ti)}tn.__esModule=!0,tn.getEl=tp,tn.createEl=tf,tn.textContent=tm,tn.insertElFirst=tg,tn.getElData=tv,tn.hasElData=ty,tn.removeElData=tb,tn.hasElClass=tw,tn.addElClass=tx,tn.removeElClass=t_,tn.toggleElClass=tT,tn.setElAttributes=tk,tn.getElAttributes=tj,tn.blockTextSelection=tC,tn.unblockTextSelection=tS,tn.findElPosition=tE,tn.getPointerPosition=tO,tn.isEl=tP,tn.isTextNode=tI,tn.emptyEl=tM,tn.normalizeContent=tA,tn.appendContent=tL,tn.insertContent=t$;var tD=tl(["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."]),tz=ta(tt("global/document")),tN=ta(tt("global/window")),tH=ts(tt("./guid.js")),tR=ta(tt("./log.js")),tB=ta(tt("tsml")),tF={},tW="vdata"+(new Date).getTime(),tV=th("querySelector");tn.$=tV;var tU=th("querySelectorAll");tn.$$=tU},{"./guid.js":147,"./log.js":148,"global/document":1,"global/window":2,tsml:55}],144:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&
23(ti[tn]=tt[tn]);return ti.default=tt,ti}function tl(tt,ti,tn){if(Array.isArray(ti))return tf(tl,tt,ti,tn);var ts=tm.getElData(tt);ts.handlers||(ts.handlers={}),ts.handlers[ti]||(ts.handlers[ti]=[]),tn.guid||(tn.guid=tg.newGUID()),ts.handlers[ti].push(tn),ts.dispatcher||(ts.disabled=!1,ts.dispatcher=function(ti,tn){if(!ts.disabled){ti=th(ti);var ta=ts.handlers[ti.type];if(ta)for(var tl=ta.slice(0),tc=0,tu=tl.length;tu>tc&&!ti.isImmediatePropagationStopped();tc++)tl[tc].call(tt,ti,tn)}}),1===ts.handlers[ti].length&&(tt.addEventListener?tt.addEventListener(ti,ts.dispatcher,!1):tt.attachEvent&&tt.attachEvent("on"+ti,ts.dispatcher))}function tc(tt,ti,tn){if(tm.hasElData(tt)){var ts=tm.getElData(tt);if(ts.handlers){if(Array.isArray(ti))return tf(tc,tt,ti,tn);var ta=function(ti){ts.handlers[ti]=[],tp(tt,ti)};if(ti){var tl=ts.handlers[ti];if(tl){if(!tn)return void ta(ti);if(tn.guid)for(var tu=0;tu<tl.length;tu++)tl[tu].guid===tn.guid&&tl.splice(tu--,1);tp(tt,ti)}}else for(var td in ts.handlers)ta(td)}}}function tu(tt,ti,tn){var ts=tm.hasElData(tt)?tm.getElData(tt):{},ta=tt.parentNode||tt.ownerDocument;if("string"==typeof ti&&(ti={type:ti,target:tt}),ti=th(ti),ts.dispatcher&&ts.dispatcher.call(tt,ti,tn),ta&&!ti.isPropagationStopped()&&!0===ti.bubbles)tu.call(null,ta,ti,tn);else if(!ta&&!ti.defaultPrevented){var tl=tm.getElData(ti.target);ti.target[ti.type]&&(tl.disabled=!0,"function"==typeof ti.target[ti.type]&&ti.target[ti.type](),tl.disabled=!1)}return!ti.defaultPrevented}function td(tt,ti,tn){if(Array.isArray(ti))return tf(td,tt,ti,tn);var ts=function ts(){tc(tt,ti,ts),tn.apply(this,arguments)};ts.guid=tn.guid=tn.guid||tg.newGUID(),tl(tt,ti,ts)}function th(tt){function ti(){return!0}function tn(){return!1}if(!tt||!tt.isPropagationStopped){var ts=tt||tv.default.event;for(var ta in tt={},ts)"layerX"!==ta&&"layerY"!==ta&&"keyLocation"!==ta&&"webkitMovementX"!==ta&&"webkitMovementY"!==ta&&("returnValue"===ta&&ts.preventDefault||(tt[ta]=ts[ta]));if(tt.target||(tt.target=tt.srcElement||ty.default),tt.relatedTarget||(tt.relatedTarget=tt.fromElement===tt.target?tt.toElement:tt.fromElement),tt.preventDefault=function(){ts.preventDefault&&ts.preventDefault(),tt.returnValue=!1,ts.returnValue=!1,tt.defaultPrevented=!0},tt.defaultPrevented=!1,tt.stopPropagation=function(){ts.stopPropagation&&ts.stopPropagation(),tt.cancelBubble=!0,ts.cancelBubble=!0,tt.isPropagationStopped=ti},tt.isPropagationStopped=tn,tt.stopImmediatePropagation=function(){ts.stopImmediatePropagation&&ts.stopImmediatePropagation(),tt.isImmediatePropagationStopped=ti,tt.stopPropagation()},tt.isImmediatePropagationStopped=tn,null!=tt.clientX){var tl=ty.default.documentElement,tc=ty.default.body;tt.pageX=tt.clientX+(tl&&tl.scrollLeft||tc&&tc.scrollLeft||0)-(tl&&tl.clientLeft||tc&&tc.clientLeft||0),tt.pageY=tt.clientY+(tl&&tl.scrollTop||tc&&tc.scrollTop||0)-(tl&&tl.clientTop||tc&&tc.clientTop||0)}tt.which=tt.charCode||tt.keyCode,null!=tt.button&&(tt.button=1&tt.button?0:4&tt.button?1:2&tt.button?2:0)}return tt}function tp(tt,ti){var tn=tm.getElData(tt);0===tn.handlers[ti].length&&(delete tn.handlers[ti],tt.removeEventListener?tt.removeEventListener(ti,tn.dispatcher,!1):tt.detachEvent&&tt.detachEvent("on"+ti,tn.dispatcher)),Object.getOwnPropertyNames(tn.handlers).length<=0&&(delete tn.handlers,delete tn.dispatcher,delete tn.disabled),0===Object.getOwnPropertyNames(tn).length&&tm.removeElData(tt)}function tf(tt,ti,tn,ts){tn.forEach(function(tn){tt(ti,tn,ts)})}tn.__esModule=!0,tn.on=tl,tn.off=tc,tn.trigger=tu,tn.one=td,tn.fixEvent=th;var tm=ta(tt("./dom.js")),tg=ta(tt("./guid.js")),tv=ts(tt("global/window")),ty=ts(tt("global/document"))},{"./dom.js":143,"./guid.js":147,"global/document":1,"global/window":2}],145:[function(tt,ti,tn){"use strict";tn.__esModule=!0;var ts=tt("./guid.js"),ta=function(tt,ti,tn){ti.guid||(ti.guid=ts.newGUID());var ta=function(){return ti.apply(tt,arguments)};return ta.guid=tn?tn+"_"+ti.guid:ti.guid,ta};tn.bind=ta},{"./guid.js":147}],146:[function(tt,ti,tn){"use strict";function ts(tt){var ti=arguments.length<=1||void 0===arguments[1]?tt:arguments[1];return function(){var tn=Math.floor((tt=0>tt?0:tt)%60),ts=Math.floor(tt/60%60),ta=Math.floor(tt/3600),tl=Math.floor(ti/60%60),tc=Math.floor(ti/3600);
23return(isNaN(tt)||tt===1/0)&&(ta=ts=tn="-"),ts=(((ta=ta>0||tc>0?ta+":":"")||tl>=10)&&10>ts?"0"+ts:ts)+":",ta+ts+(tn=10>tn?"0"+tn:tn)}()}tn.__esModule=!0,tn.default=ts,ti.exports=tn.default},{}],147:[function(tt,ti,tn){"use strict";function ts(){return ta++}tn.__esModule=!0,tn.newGUID=ts;var ta=1},{}],148:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){var tn=Array.prototype.slice.call(ti),ts=function(){},ta=tl.default.console||{log:ts,warn:ts,error:ts};tt?tn.unshift(tt.toUpperCase()+":"):tt="log",tc.history.push(tn),tn.unshift("VIDEOJS:"),ta[tt].apply?ta[tt].apply(ta,tn):ta[tt](tn.join(" "))}tn.__esModule=!0;var tl=ts(tt("global/window")),tc=function(){ta(null,arguments)};tc.history=[],tc.error=function(){ta("error",arguments)},tc.warn=function(){ta("warn",arguments)},tn.default=tc,ti.exports=tn.default},{"global/window":2}],149:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt){return!!tt&&"object"==typeof tt&&"[object Object]"===tt.toString()&&tt.constructor===Object}function tl(){var tt=Array.prototype.slice.call(arguments);return tt.unshift({}),tt.push(tu),tc.default.apply(null,tt),tt[0]}tn.__esModule=!0,tn.default=tl;var tc=ts(tt("lodash-compat/object/merge")),tu=function(tt,ti){return ta(ti)?ta(tt)?void 0:tl(ti):ti};ti.exports=tn.default},{"lodash-compat/object/merge":40}],150:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}tn.__esModule=!0;var ta=ts(tt("global/document")),tl=function(tt){var ti=ta.default.createElement("style");return ti.className=tt,ti};tn.createStyleElement=tl;var tc=function(tt,ti){tt.styleSheet?tt.styleSheet.cssText=ti:tt.textContent=ti};
23tn.setTextContent=tc},{"global/document":1}],151:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}function ta(tt,ti){return Array.isArray(tt)?tl(tt):void 0===tt||void 0===ti?tl():tl([[tt,ti]])}function tl(tt){return void 0===tt||0===tt.length?{length:0,start:function(){throw Error("This TimeRanges object is empty")},end:function(){throw Error("This TimeRanges object is empty")}}:{length:tt.length,start:tc.bind(null,"start",0,tt),end:tc.bind(null,"end",1,tt)}}function tc(tt,ti,tn,ts){return void 0===ts&&(td.default.warn("DEPRECATED: Function '"+tt+"' on 'TimeRanges' called without an index argument."),ts=0),tu(tt,ts,tn.length-1),tn[ts][ti]}function tu(tt,ti,tn){if(0>ti||ti>tn)throw Error("Failed to execute '"+tt+"' on 'TimeRanges': The index provided ("+ti+") is greater than or equal to the maximum bound ("+tn+").")}tn.__esModule=!0,tn.createTimeRanges=ta;var td=ts(tt("./log.js"));tn.createTimeRange=ta},{"./log.js":148}],152:[function(tt,ti,tn){"use strict";function ts(tt){return tt.charAt(0).toUpperCase()+tt.slice(1)}tn.__esModule=!0,tn.default=ts,ti.exports=tn.default},{}],153:[function(tt,ti,tn){"use strict";function ts(tt){return tt&&tt.__esModule?tt:{default:tt}}tn.__esModule=!0;var ta=ts(tt("global/document")),tl=ts(tt("global/window")),tc=function(tt){var ti=["protocol","hostname","port","pathname","search","hash","host"],tn=ta.default.createElement("a");tn.href=tt;var ts=""===tn.host&&"file:"!==tn.protocol,tl=void 0;ts&&((tl=ta.default.createElement("div")).innerHTML='<a href="'+tt+'"></a>',tn=tl.firstChild,tl.setAttribute("style","display:none; position:absolute;"),ta.default.body.appendChild(tl));for(var tc={},tu=0;tu<ti.length;tu++)tc[ti[tu]]=tn[ti[tu]];return"http:"===tc.protocol&&(tc.host=tc.host.replace(/:80$/,"")),"https:"===tc.protocol&&(tc.host=tc.host.replace(/:443$/,"")),ts&&ta.default.body.removeChild(tl),tc};tn.parseUrl=tc;var tu=function(tt){if(!tt.match(/^https?:\/\//)){var ti=ta.default.createElement("div");ti.innerHTML='<a href="'+tt+'">x</a>',tt=ti.firstChild.href}return tt};tn.getAbsoluteURL=tu;var td=function(tt){if("string"==typeof tt){var ti=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(tt);if(ti)return ti.pop().toLowerCase()}return""};tn.getFileExtension=td;var th=function(tt){var ti=tl.default.location,tn=tc(tt);return(":"===tn.protocol?ti.protocol:tn.protocol)+tn.host!==ti.protocol+ti.host};tn.isCrossOrigin=th},{"global/document":1,"global/window":2}],154:[function(ti,tn,ts){"use strict";function ta(tt){if(tt&&tt.__esModule)return tt;var ti={};if(null!=tt)for(var tn in tt)Object.prototype.hasOwnProperty.call(tt,tn)&&(ti[tn]=tt[tn]);return ti.default=tt,ti}function tl(tt){return tt&&tt.__esModule?tt:{default:tt}}ts.__esModule=!0;var tc=tl(ti("global/window")),tu=tl(ti("global/document")),td=ta(ti("./setup")),th=ta(ti("./utils/stylesheet.js")),tp=tl(ti("./component")),tf=tl(ti("./event-target")),tm=ta(ti("./utils/events.js")),tg=tl(ti("./player")),tv=tl(ti("./plugins.js")),ty=tl(ti("../../src/js/utils/merge-options.js")),tb=ta(ti("./utils/fn.js")),tw=tl(ti("./tracks/text-track.js")),tx=tl(ti("./tracks/audio-track.js")),t_=tl(ti("./tracks/video-track.js")),tT=(tl(ti("object.assign")),ti("./utils/time-ranges.js")),tk=tl(ti("./utils/format-time.js")),tj=tl(ti("./utils/log.js")),tC=ta(ti("./utils/dom.js")),tS=ta(ti("./utils/browser.js")),tE=ta(ti("./utils/url.js")),tO=tl(ti("./extend.js")),tP=tl(ti("lodash-compat/object/merge")),tI=tl(ti("./utils/create-deprecation-proxy.js")),tM=tl(ti("xhr")),tA=tl(ti("./tech/tech.js")),tL=(tl(ti("./tech/html5.js")),ti("./tech/flash.js"));tl(tL),"undefined"==typeof HTMLVideoElement&&(tu.default.createElement("video"),tu.default.createElement("audio"),tu.default.createElement("track"));var t$=function tt(ti,tn,ts){var ta=void 0;if("string"==typeof ti){if(0===ti.indexOf("#")&&(ti=ti.slice(1)),tt.getPlayers()[ti])return tn&&tj.default.warn('Player "'+ti+'" is already initialised. Options will not be applied.'),ts&&tt.getPlayers()[ti].ready(ts),tt.getPlayers()[ti];ta=tC.getEl(ti)}else ta=ti;if(!ta||!ta.nodeName)throw TypeError("The element or ID supplied is not val
23id. (videojs)");return ta.player||tg.default.players[ta.playerId]||new tg.default(ta,tn,ts)};if(!0!==tc.default.VIDEOJS_NO_DYNAMIC_STYLE){var tD=tC.$(".vjs-styles-defaults");if(!tD){tD=th.createStyleElement("vjs-styles-defaults");var tz=tC.$("head");tz.insertBefore(tD,tz.firstChild),th.setTextContent(tD,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")}}td.autoSetupTimeout(1,t$),t$.VERSION="5.10.2",t$.options=tg.default.prototype.options_,t$.getPlayers=function(){return tg.default.players},t$.players=tI.default(tg.default.players,{get:"Access to videojs.players is deprecated; use videojs.getPlayers instead",set:"Modification of videojs.players is deprecated"}),t$.getComponent=tp.default.getComponent,t$.registerComponent=function(tt,ti){tA.default.isTech(ti)&&tj.default.warn("The "+tt+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),tp.default.registerComponent.call(tp.default,tt,ti)},t$.getTech=tA.default.getTech,t$.registerTech=tA.default.registerTech,t$.browser=tS,t$.TOUCH_ENABLED=tS.TOUCH_ENABLED,t$.extend=tO.default,t$.mergeOptions=ty.default,t$.bind=tb.bind,t$.plugin=tv.default,t$.addLanguage=function(tt,ti){var tn;return tt=(""+tt).toLowerCase(),tP.default(t$.options.languages,((tn={})[tt]=ti,tn))[tt]},t$.log=tj.default,t$.createTimeRange=t$.createTimeRanges=tT.createTimeRanges,t$.formatTime=tk.default,t$.parseUrl=tE.parseUrl,t$.isCrossOrigin=tE.isCrossOrigin,t$.EventTarget=tf.default,t$.on=tm.on,t$.one=tm.one,t$.off=tm.off,t$.trigger=tm.trigger,t$.xhr=tM.default,t$.TextTrack=tw.default,t$.AudioTrack=tx.default,t$.VideoTrack=t_.default,t$.isEl=tC.isEl,t$.isTextNode=tC.isTextNode,t$.createEl=tC.createEl,t$.hasClass=tC.hasElClass,t$.addClass=tC.addElClass,t$.removeClass=tC.removeElClass,t$.toggleClass=tC.toggleElClass,t$.setAttributes=tC.setElAttributes,t$.getAttributes=tC.getElAttributes,t$.emptyEl=tC.emptyEl,t$.appendContent=tC.appendContent,t$.insertContent=tC.insertContent,"function"==typeof tt&&tt.amd?tt("videojs",[],function(){return t$}):"object"==typeof ts&&"object"==typeof tn&&(tn.exports=t$),ts.default=t$,tn.exports=ts.default},{"../../src/js/utils/merge-options.js":149,"./component":67,"./event-target":104,"./extend.js":105,"./player":113,"./plugins.js":114,"./setup":118,"./tech/flash.js":121,"./tech/html5.js":122,"./tech/tech.js":124,"./tracks/audio-track.js":126,"./tracks/text-track.js":134,"./tracks/video-track.js":139,"./utils/browser.js":140,"./utils/create-deprecation-proxy.js":142,"./utils/dom.js":143,"./utils/events.js":144,"./utils/fn.js":145,"./utils/format-time.js":146,"./utils/log.js":148,"./utils/stylesheet.js":150,"./utils/time-ranges.js":151,"./utils/url.js":153,"global/document":1,"global/window":2,"lodash-compat/object/merge":40,"object.assign":45,xhr:56}]},{},[154])(154)}),function(tt){var ti=tt.vttjs={},tn=ti.VTTCue,ts=ti.VTTRegion,ta=tt.VTTCue,tl=tt.VTTRegion;ti.shim=function(){ti.VTTCue=tn,ti.VTTRegion=ts},ti.restore=function(){ti.VTTCue=ta,ti.VTTRegion=tl}}(this),function(tt,ti){function tn(tt){return"string"==typeof tt&&!!tu[tt.toLowerCase()]&&tt.toLowerCase()}function ts(tt){return"string"==typeof tt&&!!td[tt.toLowerCase()]&&tt.toLowerCase()}function ta(tt){for(var ti=1;ti<arguments.length;ti++){var tn=arguments[ti];for(var ts in tn)tt[ts]=tn[ts]}return tt}function tl(tt,ti,tl){var tu=this,td=/MSIE\s8\.0/.test(navigator.userAgent),th={};td?tu=document.createElement("custom"):th.enumerable=!0,tu.hasBeenReset=!1;var tp="",tf=!1,tm=tt,tg=ti,tv=tl,ty=null,tb="",tw=!0,tx="auto",t_="start",tT=50,tk="middle",tj=50,tC="middle";return Object.defineProperty(tu,"id",ta({},th,{get:function(){return tp},set:function(tt){tp=""+tt}})),Object.defineProperty(tu,"pauseOnExit",ta({},th,{get:function(){return tf},set:function(tt){tf=!!tt}})),Object.defineProperty(tu,"startTime",ta({},th,{get:function(){return tm},set:function(tt){if("number"!=typeof tt)throw TypeError("Start time must be set to a number.");tm=tt,this.hasBeenReset=!0}})),Object.defineProperty(tu,"endTime",ta({},th,{get:function(){return tg},set:function(tt){if("number"!=typeof tt)throw TypeError("End time must be set to a number.");tg=tt,this.hasBeenReset=!0}})),Object.defineProperty(tu,"text",ta({},th,{get:function(){return tv},set:function(tt){tv=""+tt,this.hasBeenReset=!0}})),Object.defineProperty(tu,"region",ta({},th,{get:function(){return ty},set:function(tt){ty=tt,this.hasBeenReset=!0}})),Object.defineProperty(tu,"vertical",ta({},th,{get:function(){return tb},set:function(tt){var ti=tn(tt);if(!1===ti)throw SyntaxError("An invalid or illegal string was specified.");tb=ti,this.hasBeenReset=!0}})),Object.defineProperty(tu,"snapToLines",ta({},th,{get:function(){return tw},set:function(tt){tw=!!tt,this.hasBeenReset=!0}})),Object.defineProperty(tu,"line",ta({},th,{get:function(){return tx}
23,set:function(tt){if("number"!=typeof tt&&tt!==tc)throw SyntaxError("An invalid number or illegal string was specified.");tx=tt,this.hasBeenReset=!0}})),Object.defineProperty(tu,"lineAlign",ta({},th,{get:function(){return t_},set:function(tt){var ti=ts(tt);if(!ti)throw SyntaxError("An invalid or illegal string was specified.");t_=ti,this.hasBeenReset=!0}})),Object.defineProperty(tu,"position",ta({},th,{get:function(){return tT},set:function(tt){if(0>tt||tt>100)throw Error("Position must be between 0 and 100.");tT=tt,this.hasBeenReset=!0}})),Object.defineProperty(tu,"positionAlign",ta({},th,{get:function(){return tk},set:function(tt){var ti=ts(tt);if(!ti)throw SyntaxError("An invalid or illegal string was specified.");tk=ti,this.hasBeenReset=!0}})),Object.defineProperty(tu,"size",ta({},th,{get:function(){return tj},set:function(tt){if(0>tt||tt>100)throw Error("Size must be between 0 and 100.");tj=tt,this.hasBeenReset=!0}})),Object.defineProperty(tu,"align",ta({},th,{get:function(){return tC},set:function(tt){var ti=ts(tt);if(!ti)throw SyntaxError("An invalid or illegal string was specified.");tC=ti,this.hasBeenReset=!0}})),tu.displayState=void 0,td?tu:void 0}var tc="auto",tu={"":!0,lr:!0,rl:!0},td={start:!0,middle:!0,end:!0,left:!0,right:!0};tl.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},tt.VTTCue=tt.VTTCue||tl,ti.VTTCue=tl}(this,this.vttjs||{}),function(tt,ti){function tn(tt){return"string"==typeof tt&&!!tl[tt.toLowerCase()]&&tt.toLowerCase()}function ts(tt){return"number"==typeof tt&&tt>=0&&100>=tt}function ta(){var tt=100,ti=3,ta=0,tl=100,tc=0,tu=100,td="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return tt},set:function(ti){if(!ts(ti))throw Error("Width must be between 0 and 100.");tt=ti}},lines:{enumerable:!0,get:function(){return ti},set:function(tt){if("number"!=typeof tt)throw TypeError("Lines must be set to a number.");ti=tt}},regionAnchorY:{enumerable:!0,get:function(){return tl},set:function(tt){if(!ts(tt))throw Error("RegionAnchorX must be between 0 and 100.");tl=tt}},regionAnchorX:{enumerable:!0,get:function(){return ta},set:function(tt){if(!ts(tt))throw Error("RegionAnchorY must be between 0 and 100.");ta=tt}},viewportAnchorY:{enumerable:!0,get:function(){return tu},set:function(tt){if(!ts(tt))throw Error("ViewportAnchorY must be between 0 and 100.");tu=tt}},viewportAnchorX:{enumerable:!0,get:function(){return tc},set:function(tt){if(!ts(tt))throw Error("ViewportAnchorX must be between 0 and 100.");tc=tt}},scroll:{enumerable:!0,get:function(){return td},set:function(tt){var ti=tn(tt);if(!1===ti)throw SyntaxError("An invalid or illegal string was specified.");td=ti}}})}var tl={"":!0,up:!0};tt.VTTRegion=tt.VTTRegion||ta,ti.VTTRegion=ta}(this,this.vttjs||{}),function(tt){function ti(tt,ti){this.name="ParsingError",this.code=tt.code,this.message=ti||tt.message}function tn(tt){function ti(tt,ti,tn,ts){return 3600*(0|tt)+60*(0|ti)+(0|tn)+(0|ts)/1e3}var tn=tt.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return tn?tn[3]?ti(tn[1],tn[2],tn[3].replace(":",""),tn[4]):tn[1]>59?ti(tn[1],tn[2],0,tn[4]):ti(0,tn[1],tn[2],tn[4]):null}function ts(){this.values=tv(null)}function ta(tt,ti,tn,ts){var ta=ts?tt.split(ts):[tt];for(var tl in ta)if("string"==typeof ta[tl]){var tc=ta[tl].split(tn);2===tc.length&&ti(tc[0],tc[1])}}function tl(tt,tl,tc){function tu(){var ts=tn(tt);if(null===ts)throw new ti(ti.Errors.BadTimeStamp,"Malformed timestamp: "+tp);return tt=tt.replace(/^[^\sa-zA-Z-]+/,""),ts}function td(tt,ti){var tn=new ts;ta(tt,function(tt,ti){switch(tt){case"region":for(var ts=tc.length-1;ts>=0;ts--)if(tc[ts].id===ti){tn.set(tt,tc[ts].region);break}break;case"vertical":tn.alt(tt,ti,["rl","lr"]);break;case"line":var ta=ti.split(","),tl=ta[0];tn.integer(tt,tl),tn.percent(tt,tl)&&tn.set("snapToLines",!1),tn.alt(tt,tl,["auto"]),2===ta.length&&tn.alt("lineAlign",ta[1],["start","middle","end"]);break;case"position":ta=ti.split(","),tn.percent(tt,ta[0]),2===ta.length&&tn.alt("positionAlign",ta[1],["start","middle","end"]);break;case"size":tn.percent(tt,ti);break;case"align":tn.alt(tt,ti,["start","middle","end","left","right"])}},/:/,/\s/),ti.region=tn.get("region",null),ti.vertical=tn.get("vertical",""),ti.line=tn.get("line","auto"),ti.lineAlign=tn.get("lineAlign","start"),ti.snapToLines=tn.get("snapToLines",!0),ti.size=tn.get("size",100),ti.align=tn.get("align","middle"),ti.position=tn.get("position",{start:0,left:0,middle:50,end:100,right:100}
vendor: 6,638 bytes, line 23
23,ti.align),ti.positionAlign=tn.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},ti.align)}function th(){tt=tt.replace(/^\s+/,"")}var tp=tt;if(th(),tl.startTime=tu(),th(),"-->"!==tt.substr(0,3))throw new ti(ti.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+tp);tt=tt.substr(3),th(),tl.endTime=tu(),th(),td(tt,tl)}function tc(tt,ti){function ts(){function tt(tt){return ti=ti.substr(tt.length),tt}if(!ti)return null;var tn=ti.match(/^([^<]*)(<[^>]+>?)?/);return tt(tn[1]?tn[1]:tn[2])}function ta(tt){return ty[tt]}function tl(tt){for(;tv=tt.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)tt=tt.replace(tv[0],ta);return tt}function tc(tt,ti){return!tx[ti.localName]||tx[ti.localName]===tt.localName}function tu(ti,tn){var ts=tb[ti];if(!ts)return null;var ta=tt.document.createElement(ts);ta.localName=ts;var tl=tw[ti];return tl&&tn&&(ta[tl]=tn.trim()),ta}for(var td,th=tt.document.createElement("div"),tp=th,tf=[];null!==(td=ts());)if("<"!==td[0])tp.appendChild(tt.document.createTextNode(tl(td)));else{if("/"===td[1]){tf.length&&tf[tf.length-1]===td.substr(2).replace(">","")&&(tf.pop(),tp=tp.parentNode);continue}var tm,tg=tn(td.substr(1,td.length-2));if(tg){tm=tt.document.createProcessingInstruction("timestamp",tg),tp.appendChild(tm);continue}var tv=td.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!tv||!(tm=tu(tv[1],tv[3]))||!tc(tp,tm))continue;tv[2]&&(tm.className=tv[2].substr(1).replace("."," ")),tf.push(tv[1]),tp.appendChild(tm),tp=tm}return th}function tu(tt){function ti(tt,ti){for(var tn=ti.childNodes.length-1;tn>=0;tn--)tt.push(ti.childNodes[tn])}function tn(tt){if(!tt||!tt.length)return null;var ts=tt.pop(),ta=ts.textContent||ts.innerText;if(ta){var tl=ta.match(/^.*(\n|\r)/);return tl?(tt.length=0,tl[0]):ta}return"ruby"===ts.tagName?tn(tt):ts.childNodes?(ti(tt,ts),tn(tt)):void 0}var ts,ta=[],tl="";if(!tt||!tt.childNodes)return"ltr";for(ti(ta,tt);tl=tn(ta);)for(var tc=0;tc<tl.length;tc++){ts=tl.charCodeAt(tc);for(var tu=0;tu<t_.length;tu++)if(t_[tu]===ts)return"rtl"}return"ltr"}function td(tt){if("number"==typeof tt.line&&(tt.snapToLines||tt.line>=0&&tt.line<=100))return tt.line;if(!tt.track||!tt.track.textTrackList||!tt.track.textTrackList.mediaElement)return -1;for(var ti=tt.track,tn=ti.textTrackList,ts=0,ta=0;ta<tn.length&&tn[ta]!==ti;ta++)"showing"===tn[ta].mode&&ts++;return -1*++ts}function th(){}function tp(tt,ti,tn){var ts=/MSIE\s8\.0/.test(navigator.userAgent),ta="rgba(255, 255, 255, 1)",tl="rgba(0, 0, 0, 0.8)";ts&&(ta="rgb(255, 255, 255)",tl="rgb(0, 0, 0)"),th.call(this),this.cue=ti,this.cueDiv=tc(tt,ti.text);var td={color:ta,backgroundColor:tl,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};ts||(td.writingMode=""===ti.vertical?"horizontal-tb":"lr"===ti.vertical?"vertical-lr":"vertical-rl",td.unicodeBidi="plaintext"),this.applyStyles(td,this.cueDiv),this.div=tt.document.createElement("div"),td={textAlign:"middle"===ti.align?"center":ti.align,font:tn.font,whiteSpace:"pre-line",position:"absolute"},ts||(td.direction=tu(this.cueDiv),td.writingMode=""===ti.vertical?"horizontal-tb":"lr"===ti.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(td),this.div.appendChild(this.cueDiv);var tp=0;switch(ti.positionAlign){case"start":tp=ti.position;break;case"middle":tp=ti.position-ti.size/2;break;case"end":tp=ti.position-ti.size}this.applyStyles(""===ti.vertical?{left:this.formatStyle(tp,"%"),width:this.formatStyle(ti.size,"%")}:{top:this.formatStyle(tp,"%"),height:this.formatStyle(ti.size,"%")}),this.move=function(tt){this.applyStyles({top:this.formatStyle(tt.top,"px"),bottom:this.formatStyle(tt.bottom,"px"),left:this.formatStyle(tt.left,"px"),right:this.formatStyle(tt.right,"px"),height:this.formatStyle(tt.height,"px"),width:this.formatStyle(tt.width,"px")})}}function tf(tt){var ti,tn,ts,ta,tl=/MSIE\s8\.0/.test(navigator.userAgent);if(tt.div){tn=tt.div.offsetHeight,ts=tt.div.offsetWidth,ta=tt.div.offsetTop;var tc=(tc=tt.div.childNodes)&&(tc=tc[0])&&tc.getClientRects&&tc.getClientRects();tt=tt.div.getBoundingClientRect(),ti=tc?Math.max(tc[0]&&tc[0].height||0,tt.height/tc.length):0}this.left=tt.left,this.right=tt.right,this.top=tt.top||ta,this.height=tt.height||tn,this.bottom=tt.bottom||ta+(tt.height||tn),this.width=tt.width||ts,this.lineHeight=void 0!==ti?ti:tt.lineHeight,tl&&!this.lineHeight&&(this.lineHeight=13)}function tm(tt,ti,tn,ts){function ta(tt,ti){for(var ta,tl=new tf(tt),tc=1,tu=0;tu<ti.length;tu++){for(;tt.overlapsOppositeAxis(tn,ti[tu])||tt.within(tn)&&tt.overlapsAny(ts);)tt.move(ti[tu]);if(tt.within(tn))return tt;var td=tt.intersectPercentage(tn);tc>td&&(ta=new tf(tt),tc=td),tt=new tf(tl)}return ta||tl}var tl=new tf(ti),tc=ti.cue,tu=td(tc),th=[];if(tc.snapToLines){switch(tc.vertical){case"":th=["+y","-y"],tp="height";break;case"rl":th=["+x","-x"],tp="width";break;case"lr":th=["-x","+x"],tp="width"}var tp,tm=tl.lineHeight,tg=tm*Math.round(tu),tv=tn[tp]+tm,ty=th[0];Math.abs(tg)>tv&&(tg=(0>tg?-1:1)*(Math.ceil(tv/tm)*tm)),0>tu&&(tg+=""===tc.vertical?tn.height:tn.width,th=th.reverse()),tl.move(ty,tg)}else{var tb=tl.lineHeight/tn.height*100;switch(tc.lineAlign){case"middle":tu-=tb/2;break;case"end":tu-=tb}switch(tc.vertical){case"":ti.applyStyles({top:ti.formatStyle(tu,"%")});break;case"rl":ti.applyStyles({left:ti.formatStyle(tu,"%")});break;case"lr":ti.applyStyles({right:ti.formatStyle(tu,"%")})}th=["+y","-x","+x","-y"],tl=new tf(ti)}var tw=ta(tl,th);ti.move(tw.toCSSCompatValues(tn))}function tg(){}var tv=Object.create||function(){function tt(){}return function(ti){if(1!=arguments.length)throw Error("Object.create shim only accepts one parameter.");return tt.prototype=ti,new tt}}();ti.prototype=tv(Error.prototype),ti.prototype.constructor=ti,ti.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},ts.prototype={set:function(tt,ti){this.get(tt)||""===ti||(this.values[tt]=ti)},get:function(tt,ti,tn){return tn?this.has(tt)?this.values[tt]:ti[tn]:this.has(tt)?this.values[tt]:ti},has:function(tt){return tt in this.values},alt:function(tt,ti,tn){for(var ts=0;ts<tn.length;++ts)if(ti===tn[ts]){this.set(tt,ti);break}},integer:function(tt,ti){/^-?\d+$/.test(ti)&&this.set(tt,parseInt(ti,10))},percent:function(tt,ti){var tn;return!!(tn=ti.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(ti=parseFloat(ti))>=0&&100>=ti&&(this.set(tt,ti),!0)}};var ty={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"‎","&rlm;":"‏","&nbsp;":"\xa0"},tb={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},tw={v:"title",lang:"lang"},tx={rt:"ruby"},t_
vendor: 10,850 bytes, line 23
23=[1470,1472,1475,1478,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1520,1521,1522,1523,1524,1544,1547,1549,1563,1566,1567,1568,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1645,1646,1647,1649,1650,1651,1652,1653,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1681,1682,1683,1684,1685,1686,1687,1688,1689,1690,1691,1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1765,1766,1774,1775,1786,1787,1788,1789,1790,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801,1802,1803,1804,1805,1807,1808,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1869,1870,1871,1872,1873,1874,1875,1876,1877,1878,1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1893,1894,1895,1896,1897,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1969,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2e3,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2036,2037,2042,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2074,2084,2088,2096,2097,2098,2099,2100,2101,2102,2103,2104,2105,2106,2107,2108,2109,2110,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2142,2208,2210,2211,2212,2213,2214,2215,2216,2217,2218,2219,2220,8207,64285,64287,64288,64289,64290,64291,64292,64293,64294,64295,64296,64298,64299,64300,64301,64302,64303,64304,64305,64306,64307,64308,64309,64310,64312,64313,64314,64315,64316,64318,64320,64321,64323,64324,64326,64327,64328,64329,64330,64331,64332,64333,64334,64335,64336,64337,64338,64339,64340,64341,64342,64343,64344,64345,64346,64347,64348,64349,64350,64351,64352,64353,64354,64355,64356,64357,64358,64359,64360,64361,64362,64363,64364,64365,64366,64367,64368,64369,64370,64371,64372,64373,64374,64375,64376,64377,64378,64379,64380,64381,64382,64383,64384,64385,64386,64387,64388,64389,64390,64391,64392,64393,64394,64395,64396,64397,64398,64399,64400,64401,64402,64403,64404,64405,64406,64407,64408,64409,64410,64411,64412,64413,64414,64415,64416,64417,64418,64419,64420,64421,64422,64423,64424,64425,64426,64427,64428,64429,64430,64431,64432,64433,64434,64435,64436,64437,64438,64439,64440,64441,64442,64443,64444,64445,64446,64447,64448,64449,64467,64468,64469,64470,64471,64472,64473,64474,64475,64476,64477,64478,64479,64480,64481,64482,64483,64484,64485,64486,64487,64488,64489,64490,64491,64492,64493,64494,64495,64496,64497,64498,64499,64500,64501,64502,64503,64504,64505,64506,64507,64508,64509,64510,64511,64512,64513,64514,64515,64516,64517,64518,64519,64520,64521,64522,64523,64524,64525,64526,64527,64528,64529,64530,64531,64532,64533,64534,64535,64536,64537,64538,64539,64540,64541,64542,64543,64544,64545,64546,64547,64548,64549,64550,64551,64552,64553,64554,64555,64556,64557,64558,64559,64560,64561,64562,64563,64564,64565,64566,64567,64568,64569,64570,64571,64572,64573,64574,64575,64576,64577,64578,64579,64580,64581,64582,64583,64584,64585,64586,64587,64588,64589,64590,64591,64592,64593,64594,64595,64596,64597,64598,64599,64600,64601,64602,64603,64604,64605,64606,64607,64608,64609,64610,64611,64612,64613,64614,64615,64616,64617,64618,64619,64620,64621,64622,64623,64624,64625,64626,64627,64628,64629,64630,64631,64632,64633,64634,64635,64636,64637,64638,64639,64640,64641,64642,64643,64644,64645,64646,64647,64648,64649,64650,64651,64652,64653,64654,64655,64656,64657,64658,64659,64660,64661,64662,64663,64664,64665,64666,64667,64668,64669,64670,64671,64672,64673,64674,64675,64676,64677,64678,64679,64680,64681,64682,64683,64684,64685,64686,64687,64688,64689,64690,64691,64692,64693,64694,64695,64696,64697,64698,64699,64700,64701,64702,64703,64704,64705,64706,64707,64708,64709,64710,64711,64712,64713,64714,64715,64716,64717,64718,64719,64720,64721,64722,64723,64724,64725,64726,64727,64728,64729,64730,64731,64732,64733,64734,64735,64736,64737,64738,64739,64740,64741,64742,64743,64744,64745,64746,64747,64748,64749,64750,64751,64752,64753,64754,64755,64756,64757,64758,64759,64760,64761,64762,64763,64764,64765,64766,64767,64768,64769,64770,64771,64772,64773,64774,64775,64776,64777,64778,64779,64780,64781,64782,64783,64784,64785,64786,64787,64788,64789,64790,64791,64792,64793,64794,64795,64796,64797,64798,64799,64800,64801,64802,64803,64804,64805,64806,64807,64808,64809,64810,64811,64812,64813,64814,64815,64816,64817,64818,64819,64820,64821,64822,64823,64824,64825,64826,64827,64828,64829,64848,64849,64850,64851,64852,64853,64854,64855,64856,64857,64858,64859,64860,64861,64862,64863,64864,64865,64866,64867,64868,64869,64870,64871,64872,64873,64874,64875,64876,64877,64878,64879,64880,64881,64882,64883,64884,64885,64886,64887,64888,64889,64890,64891,64892,64893,64894,64895,64896,64897,64898,64899,64900,64901,64902,64903,64904,64905,64906,64907,64908,64909,64910,64911,64914,64915,64916,64917,64918,64919,64920,64921,64922,64923,64924,64925,64926,64927,64928,64929,64930,64931,64932,64933,64934,64935,64936,64937,64938,64939,64940,64941,64942,64943,64944,64945,64946,64947,64948,64949,64950,64951,64952,64953,64954,64955,64956,64957,64958,64959,64960,64961,64962,64963,64964,64965,64966,64967,65008,65009,65010,65011,65012,65013,65014,65015,65016,65017,65018,65019,65020,65136,65137,65138,65139,65140,65142,65143,65144,65145,65146,65147,65148,65149,65150,65151,65152,65153,65154,65155,65156,65157,65158,65159,65160,65161,65162,65163,65164,65165,65166,65167,65168,65169,65170,65171,65172,65173,65174,65175,65176,65177,65178,65179,65180,65181,65182,65183,65184,65185,65186,65187,65188,65189,65190,65191,65192,65193,65194,65195,65196,65197,65198,65199,65200,65201,65202,65203,65204,65205,65206,65207,65208,65209,65210,65211,65212,65213,65214,65215,65216,65217,65218,65219,65220,65221,65222,65223,65224,65225,65226,65227,65228,65229,65230,65231,65232,65233,65234,65235,65236,65237,65238,65239,65240,65241,65242,65243,65244,65245,65246,65247,65248,65249,65250,65251,65252,65253,65254,65255,65256,65257,65258,65259,65260,65261,65262,65263,65264,65265,65266,65267,65268,65269,65270,65271,65272,65273,65274,65275,65276,67584,67585,67586,67587,67588,67589,67592,67594,67595,67596,67597,67598,67599,67600,67601,67602,67603,67604,67605,67606,67607,67608,67609,67610,67611,67612,67613,67614,67615,67616,67617,67618,67619,67620,67621,67622,67623,67624,67625,67626,67627,67628,67629,67630,67631,67632,67633,67634,67635,67636,67637,67639,67640,67644,67647,67648,67649,67650,67651,67652,67653,67654,67655,67656,67657,67658,67659,67660,67661,67662,67663,67664,67665,67666,67667,67668,67669,67671,67672,67673,67674,67675,67676,67677,67678,67679,67840,67841,67842,67843,67844,67845,67846,67847,67848,67849,67850,67851,67852,67853,67854,67855,67856,67857,67858,67859,67860,67861,67862,67863,67864,67865,67866,67867,67872,67873,67874,67875,67876,67877,67878,67879,67880,67881,67882,67883,67884,67885,67886,67887,67888,67889,67890,67891,67892,67893,67894,67895,67896,67897,67903,67968,67969,67970,67971,67972,67973,67974,67975,67976,67977,67978,67979,67980,67981,67982,67983,67984,67985,67986,67987,67988,67989,67990,67991,67992,67993,67994,67995,67996,67997,67998,67999,68e3,68001,68002,68003,68004,68005,68006,68007,68008,68009,68010,68011,68012,68013,68014,68015,68016,68017,68018,68019,68020,68021,68022,68023,68030,68031,68096,68112,68113,68114,68115,68117,68118,68119,68121,68122,68123,68124,68125,68126,68127,68128,68129,68130,68131,68132,68133,68134,68135,68136,68137,68138,68139,68140,68141,68142,68143,68144,68145,68146,68147,68160,68161,68162,68163,68164,68165,68166,68167,68176,68177,68178,68179,68180,68181,68182,68183,68184,68192,68193,68194,68195,68196,68197,68198,68199,68200,68201,68202,68203,68204,68205,68206,68207,68208,68209,68210,68211,68212,68213,68214,68215,68216,68217,68218,68219,68220,68221,68222,68223,68352,68353,68354,68355,68356,68357,68358,68359,68360,68361,68362,68363,68364,68365,68366,68367,68368,68369,68370,68371,68372,68373,68374,68375,68376,68377,68378,68379,68380,68381,68382,68383,68384,68385,68386,68387,68388,68389,68390,68391,68392,68393,68394,68395,68396,68397,68398,68399,68400,68401,68402,68403,68404,68405,68416,68417,68418,68419,68420,68421,68422,68423,68424,68425,68426,68427,68428,68429,68430,68431,68432,68433,68434,68435,68436,68437,68440,68441,68442,68443,68444,68445,68446,68447,68448,68449,68450,68451,68452,68453,68454,68455,68456,68457,68458,68459,68460,68461,68462,68463,68464,68465,68466,68472,68473,68474,68475,68476,68477,68478,68479,68608,68609,68610,68611,68612,68613,68614,68615,68616,68617,68618,68619,68620,68621,68622,68623,68624,68625,68626,68627,68628,68629,68630,68631,68632,68633,68634,68635,68636,68637,68638,68639,68640,68641,68642,68643,68644,68645,68646,68647,68648,68649,68650,68651,68652,68653,68654,68655,68656,68657,68658,68659,68660,68661,68662,68663,68664,68665,68666,68667,68668,68669,68670,68671,68672,68673,68674,68675,68676,68677,68678,68679,68680,126464,126465,126466,126467,126469,126470,126471,126472,126473,126474,126475,126476,126477,126478,126479,126480,126481,126482,126483,126484,126485,126486,126487,126488,126489,126490,126491,126492,126493,126494,126495,126497,126498,126500,126503,126505,126506,126507,126508,126509,126510,126511,126512,126513,126514,126516,126517,126518,126519,126521,126523,126530,126535,126537,126539,126541,126542,126543,126545,126546,126548,126551,126553,126555,126557,126559,126561,126562,126564,126567,126568,126569,126570,126572,126573,126574,126575,126576,126577,126578,126580,126581,126582,126583,126585,126586,126587,126588,126590,126592,126593,126594,126595,126596,126597,126598,126599,126600,126601,126603,126604,126605,126606,126607,126608,126609,126610,126611,126612,126613,126614,126615,126616,126617,126618,126619,126625,126626,126627,126629,126630,126631,126632,126633,126635,126636,126637,126638,126639,126640,126641,126642,126643,126644,126645,126646,126647,126648,126649,126650,126651,1114109];
23th.prototype.applyStyles=function(tt,ti){for(var tn in ti=ti||this.div,tt)tt.hasOwnProperty(tn)&&(ti.style[tn]=tt[tn])},th.prototype.formatStyle=function(tt,ti){return 0===tt?0:tt+ti},tp.prototype=tv(th.prototype),tp.prototype.constructor=tp,tf.prototype.move=function(tt,ti){
vendor: 2,710 bytes, line 23
23switch(ti=void 0!==ti?ti:this.lineHeight,tt){case"+x":this.left+=ti,this.right+=ti;break;case"-x":this.left-=ti,this.right-=ti;break;case"+y":this.top+=ti,this.bottom+=ti;break;case"-y":this.top-=ti,this.bottom-=ti}},tf.prototype.overlaps=function(tt){return this.left<tt.right&&this.right>tt.left&&this.top<tt.bottom&&this.bottom>tt.top},tf.prototype.overlapsAny=function(tt){for(var ti=0;ti<tt.length;ti++)if(this.overlaps(tt[ti]))return!0;return!1},tf.prototype.within=function(tt){return this.top>=tt.top&&this.bottom<=tt.bottom&&this.left>=tt.left&&this.right<=tt.right},tf.prototype.overlapsOppositeAxis=function(tt,ti){switch(ti){case"+x":return this.left<tt.left;case"-x":return this.right>tt.right;case"+y":return this.top<tt.top;case"-y":return this.bottom>tt.bottom}},tf.prototype.intersectPercentage=function(tt){return Math.max(0,Math.min(this.right,tt.right)-Math.max(this.left,tt.left))*Math.max(0,Math.min(this.bottom,tt.bottom)-Math.max(this.top,tt.top))/(this.height*this.width)},tf.prototype.toCSSCompatValues=function(tt){return{top:this.top-tt.top,bottom:tt.bottom-this.bottom,left:this.left-tt.left,right:tt.right-this.right,height:this.height,width:this.width}},tf.getSimpleBoxPosition=function(tt){var ti=tt.div?tt.div.offsetHeight:tt.tagName?tt.offsetHeight:0,tn=tt.div?tt.div.offsetWidth:tt.tagName?tt.offsetWidth:0,ts=tt.div?tt.div.offsetTop:tt.tagName?tt.offsetTop:0;return{left:(tt=tt.div?tt.div.getBoundingClientRect():tt.tagName?tt.getBoundingClientRect():tt).left,right:tt.right,top:tt.top||ts,height:tt.height||ti,bottom:tt.bottom||ts+(tt.height||ti),width:tt.width||tn}},tg.StringDecoder=function(){return{decode:function(tt){if(!tt)return"";if("string"!=typeof tt)throw Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(tt))}}},tg.convertCueToDOMTree=function(tt,ti){return tt&&ti?tc(tt,ti):null};var tT=.05,tk="sans-serif",tj="1.5%";tg.processCues=function(tt,ti,tn){function ts(tt){for(var ti=0;ti<tt.length;ti++)if(tt[ti].hasBeenReset||!tt[ti].displayState)return!0;return!1}if(!tt||!ti||!tn)return null;for(;tn.firstChild;)tn.removeChild(tn.firstChild);var ta=tt.document.createElement("div");if(ta.style.position="absolute",ta.style.left="0",ta.style.right="0",ta.style.top="0",ta.style.bottom="0",ta.style.margin=tj,tn.appendChild(ta),ts(ti)){var tl=[],tc=tf.getSimpleBoxPosition(ta),tu={font:Math.round(tc.height*tT*100)/100+"px "+tk};!function(){for(var tn,ts,td=0;td<ti.length;td++)ts=ti[td],tn=new tp(tt,ts,tu),ta.appendChild(tn.div),tm(tt,tn,tc,tl),ts.displayState=tn.div,tl.push(tf.getSimpleBoxPosition(tn))}()}else for(var td=0;td<ti.length;td++)ta.appendChild(ti[td].displayState)},tg.Parser=function(tt,ti,tn){tn||(tn=ti,ti={}
23),ti||(ti={}),this.window=tt,this.vttjs=ti,this.state="INITIAL",this.buffer="",this.decoder=tn||new TextDecoder("utf8"),this.regionList=[]},tg.Parser.prototype={reportOrThrowError:function(tt){if(!(tt instanceof ti))throw tt;this.onparsingerror&&this.onparsingerror(tt)},parse:function(tt){function tn(){for(var tt=th.buffer,ti=0;ti<tt.length&&"\r"!==tt[ti]&&"\n"!==tt[ti];)++ti;var tn=tt.substr(0,ti);return"\r"===tt[ti]&&++ti,"\n"===tt[ti]&&++ti,th.buffer=tt.substr(ti),tn}function tc(tt){var ti=new ts;if(ta(tt,function(tt,tn){switch(tt){case"id":ti.set(tt,tn);break;case"width":ti.percent(tt,tn);break;case"lines":ti.integer(tt,tn);break;case"regionanchor":case"viewportanchor":var ta=tn.split(",");if(2!==ta.length)break;var tl=new ts;if(tl.percent("x",ta[0]),tl.percent("y",ta[1]),!tl.has("x")||!tl.has("y"))break;ti.set(tt+"X",tl.get("x")),ti.set(tt+"Y",tl.get("y"));break;case"scroll":ti.alt(tt,tn,["up"])}},/=/,/\s/),ti.has("id")){var tn=new(th.vttjs.VTTRegion||th.window.VTTRegion);tn.width=ti.get("width",100),tn.lines=ti.get("lines",3),tn.regionAnchorX=ti.get("regionanchorX",0),tn.regionAnchorY=ti.get("regionanchorY",100),tn.viewportAnchorX=ti.get("viewportanchorX",0),tn.viewportAnchorY=ti.get("viewportanchorY",100),tn.scroll=ti.get("scroll",""),th.onregion&&th.onregion(tn),th.regionList.push({id:ti.get("id"),region:tn})}}function tu(tt){ta(tt,function(tt,ti){"Region"===tt&&tc(ti)},/:/)}var td,th=this;tt&&(th.buffer+=th.decoder.decode(tt,{stream:!0}));try{if("INITIAL"===th.state){if(!/\r\n|\n/.test(th.buffer))return this;var tp=(td=tn()).match(/^WEBVTT([ \t].*)?$/);if(!tp||!tp[0])throw new ti(ti.Errors.BadSignature);th.state="HEADER"}for(var tf=!1;th.buffer&&/\r\n|\n/.test(th.buffer);)switch(tf?tf=!1:td=tn(),th.state){case"HEADER":/:/.test(td)?tu(td):td||(th.state="ID");continue;case"NOTE":td||(th.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(td)){th.state="NOTE";break}if(!td)continue;if(th.cue=new(th.vttjs.VTTCue||th.window.VTTCue)(0,0,""),th.state="CUE",-1===td.indexOf("-->")){th.cue.id=td;continue}case"CUE":try{tl(td,th.cue,th.regionList)}catch(tt){th.reportOrThrowError(tt),th.cue=null,th.state="BADCUE";continue}th.state="CUETEXT";continue;case"CUETEXT":var tm=-1!==td.indexOf("-->");if(!td||tm&&(tf=!0)){th.oncue&&th.oncue(th.cue),th.cue=null,th.state="ID";continue}th.cue.text&&(th.cue.text+="\n"),th.cue.text+=td;continue;case"BADCUE":td||(th.state="ID");continue}}catch(tt){th.reportOrThrowError(tt),"CUETEXT"===th.state&&th.cue&&th.oncue&&th.oncue(th.cue),th.cue=null,th.state="INITIAL"===th.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var tt=this;try{if(tt.buffer+=tt.decoder.decode(),(tt.cue||"HEADER"===tt.state)&&(tt.buffer+="\n\n",tt.parse()),"INITIAL"===tt.state)throw new ti(ti.Errors.BadSignature)}catch(ti){tt.reportOrThrowError(ti)}return tt.onflush&&tt.onflush(),this}},tt.WebVTT=tg}(this,this.vttjs||{}),!function(tt,ti){"function"==typeof define&&define.amd?define(["video.js"],function(tn){return tt.Youtube=ti(tn)}):"object"==typeof module&&module.exports?module.exports=tt.Youtube=ti(require("video.js")):tt.Youtube=ti(tt.videojs)}(this,function(tt){"use strict";var ti=tt.getComponent("Tech"),tn=tt.extend(ti,{constructor:function(tt,ta){ti.call(this,tt,ta),this.setPoster(tt.poster),this.setSrc(this.options_.source,!0),setTimeout((function(){this.el_.parentNode.className+=" vjs-youtube",ts&&(this.el_.parentNode.className+=" vjs-youtube-mobile"),tn.isApiReady?this.initYTPlayer():tn.apiReadyQueue.push(this)}).bind(this))},dispose:function(){this.el_.parentNode.className=this.el_.parentNode.className.replace(" vjs-youtube","").replace(" vjs-youtube-mobile","")},createEl:function(){var tt=document.createElement("div");tt.setAttribute("id",this.options_.techId),tt.setAttribute("style","width:100%;height:100%;top:0;left:0;position:absolute");var ti=document.createElement("div");if(ti.appendChild(tt),!ts&&!this.options_.ytControls){var tn=document.createElement("div");tn.setAttribute("class","vjs-iframe-blocker"),tn.setAttribute("style","position:absolute;top:0;left:0;width:100%;height:100%"),tn.onclick=(function(){this.pause()}).bind(this),ti.appendChild(tn)}return ti},initYTPlayer:function(){var tt={controls:0,modestbranding:1,rel:0,showinfo:0,loop:this.options_.loop?1:0};void 0!==this.options_.autohide&&(tt.autohide=this.options_.autohide),void 0!==this.options_.cc_load_policy&&(tt.cc_load_policy=this.options_.cc_load_policy),void 0!==this.options_.ytControls&&(tt.controls=this.options_.ytControls),void 0!==this.options_.disablekb&&(tt.disablekb=this.options_.disablekb),void 0!==this.options_.end&&(tt.end=this.options_.end),void 0!==this.options_.color&&(tt.color=this.options_.color),tt.controls?void 0!==this.options_.fs&&
23(tt.fs=this.options_.fs):tt.fs=0,void 0!==this.options_.end&&(tt.end=this.options_.end),void 0!==this.options_.hl?tt.hl=this.options_.hl:void 0!==this.options_.language&&(tt.hl=this.options_.language.substr(0,2)),void 0!==this.options_.iv_load_policy&&(tt.iv_load_policy=this.options_.iv_load_policy),void 0!==this.options_.list?tt.list=this.options_.list:this.url&&void 0!==this.url.listId&&(tt.list=this.url.listId),void 0!==this.options_.listType&&(tt.listType=this.options_.listType),void 0!==this.options_.modestbranding&&(tt.modestbranding=this.options_.modestbranding),void 0!==this.options_.playlist&&(tt.playlist=this.options_.playlist),void 0!==this.options_.playsinline&&(tt.playsinline=this.options_.playsinline),void 0!==this.options_.rel&&(tt.rel=this.options_.rel),void 0!==this.options_.showinfo&&(tt.showinfo=this.options_.showinfo),void 0!==this.options_.start&&(tt.start=this.options_.start),void 0!==this.options_.theme&&(tt.theme=this.options_.theme),this.activeVideoId=this.url?this.url.videoId:null,this.activeList=tt.list,this.ytPlayer=new YT.Player(this.options_.techId,{videoId:this.activeVideoId,playerVars:tt,events:{onReady:this.onPlayerReady.bind(this),onPlaybackQualityChange:this.onPlayerPlaybackQualityChange.bind(this),onStateChange:this.onPlayerStateChange.bind(this),onError:this.onPlayerError.bind(this)}})},onPlayerReady:function(){this.playerReady_=!0,this.triggerReady(),this.playOnReady&&this.play()},onPlayerPlaybackQualityChange:function(){},onPlayerStateChange:function(tt){var ti=tt.data;if(ti!==this.lastState){switch(ti){case -1:this.trigger("loadedmetadata"),this.trigger("durationchange");break;case YT.PlayerState.ENDED:this.trigger("ended");break;case YT.PlayerState.PLAYING:this.trigger("timeupdate"),this.trigger("durationchange"),this.trigger("playing"),this.trigger("play"),this.isSeeking&&this.onSeeked();break;case YT.PlayerState.PAUSED:this.trigger("canplay"),this.isSeeking?this.onSeeked():this.trigger("pause");break;case YT.PlayerState.BUFFERING:this.player_.trigger("timeupdate"),this.player_.trigger("waiting")}this.lastState=ti}},onPlayerError:function(tt){this.errorNumber=tt.data,this.trigger("error"),this.ytPlayer.stopVideo(),this.ytPlayer.destroy(),this.ytPlayer=null},error:function(){switch(this.errorNumber){case 2:case 100:return{code:"Unable to find the video"};case 5:return{code:"Error while trying to play the video"};case 101:case 150:return{code:"Playback on other Websites has been disabled by the video owner."}}return{code:"YouTube unknown error ("+this.errorNumber+")"}},src:function(tt){return tt&&(this.setSrc({src:tt}),this.play()),this.source},poster:function(){return ts?null:this.poster_},setPoster:function(tt){this.poster_=tt},setSrc:function(tt){tt&&tt.src&&(this.source=tt,this.url=tn.parseUrl(tt.src),!this.options_.poster&&this.url.videoId&&(this.poster_="https://img.youtube.com/vi/"+this.url.videoId+"/0.jpg",this.checkHighResPoster()),this.options_.autoplay&&!ts&&(this.isReady_?this.play():this.playOnReady=!0))},play:function(){this.url&&this.url.videoId&&(this.isReady_?(this.url.listId&&(this.activeList===this.url.listId?this.ytPlayer.playVideo():(this.ytPlayer.loadPlaylist(this.url.listId),this.activeList=this.url.listId)),this.activeVideoId===this.url.videoId?this.ytPlayer.playVideo():(this.ytPlayer.loadVideoById(this.url.videoId),this.activeVideoId=this.url.videoId)):(this.trigger("waiting"),this.playOnReady=!0))},pause:function(){this.ytPlayer&&this.ytPlayer.pauseVideo()},paused:function(){return!this.ytPlayer||this.lastState!==YT.PlayerState.PLAYING&&this.lastState!==YT.PlayerState.BUFFERING},currentTime:function(){return this.ytPlayer?this.ytPlayer.getCurrentTime():0},setCurrentTime:function(tt){this.lastState===YT.PlayerState.PAUSED&&(this.timeBeforeSeek=this.currentTime()),this.isSeeking||(this.wasPausedBeforeSeek=this.paused()),this.ytPlayer.seekTo(tt,!0),this.trigger("timeupdate"),this.trigger("seeking"),this.isSeeking=!0,this.lastState===YT.PlayerState.PAUSED&&this.timeBeforeSeek!==tt&&(clearInterval(this.checkSeekedInPauseInterval),this.checkSeekedInPauseInterval=setInterval((function(){this.lastState===YT.PlayerState.PAUSED&&this.isSeeking?this.currentTime()!==this.timeBeforeSeek&&(this.trigger("timeupdate"),this.onSeeked()):clearInterval(this.checkSeekedInPauseInterval)}).bind(this),250))},onSeeked:function(){clearInterval(this.checkSeekedInPauseInterval),this.trigger("seeked"),this.isSeeking=!1,this.wasPausedBeforeSeek&&this.pause()},playbackRate:function(){return this.ytPlayer?this.ytPlayer.getPlaybackRate():1},setPlaybackRate:function(tt){this.ytPlayer&&(this.ytPlayer.setPlaybackRate(tt),this.trigger("ratechange"))},duration:function(){return this.ytPlayer?this.ytPlayer.getDuration():0},currentSrc:function(){return this.source},ended:function(){return!!this.ytPlayer&&this.lastState===YT.PlayerState.ENDED},volume:function(){return this.ytPlayer?this.ytPlayer.getVolume()/100:1},setVolume:function(tt){this.ytPlayer&&(this.ytPlayer.setVolume(100*tt),this.setTimeout(function(){this.trigger("volumechange")},50))},muted:function(){return!!this.ytPlayer&&this.ytPlayer.isMuted()},setMuted:function(tt){this.ytPlayer&&(this.muted(!0),tt?this.ytPlayer.mute():this.ytPlayer.unMute(),this.setTimeout(function(){this.trigger("volumechange")},50))},buffered:function(){if(!this.ytPlayer||!this.ytPlayer.getVideoLoadedFraction)return{length:0,start:function(){throw Error("This TimeRanges object is empty")},end:function(){throw Error("This TimeRanges object is empty")}};var tt=this.ytPlayer.getVideoLoadedFraction()*this.ytPlayer.getDuration();return{length:1,start:function(){return 0},end:function(){return tt}}},supportsFullScreen:function(){return!0},checkHighResPoster:function(){var tt="https://img.youtube.com/vi/"+this.url.videoId+"/maxresdefault.jpg";try{var ti=new Image;ti.onload=(function(){if("naturalHeight"in ti){if(ti.naturalHeight<=90||ti.naturalWi
23dth<=120){"function"==typeof this.onerror&&this.onerror();return}}else if(ti.height<=90||ti.width<=120){this.onerror();return}this.poster_=tt,this.trigger("posterchange")}).bind(this),ti.onerror=function(){},ti.src=tt}catch(tt){}}});tn.isSupported=function(){return!0},tn.canPlaySource=function(tt){return"video/youtube"===tt.type};var ts=/(iPad|iPhone|iPod|Android)/g.test(navigator.userAgent);function ta(){var tt=document.createElement("script");tt.src="https://www.youtube.com/iframe_api";var ti=document.getElementsByTagName("script")[0];ti.parentNode.insertBefore(tt,ti)}function tl(){var tt=".vjs-youtube .vjs-iframe-blocker { display: none; }.vjs-youtube.vjs-user-inactive .vjs-iframe-blocker { display: block; }.vjs-youtube .vjs-poster { background-size: cover; }.vjs-youtube-mobile .vjs-big-play-button { display: none; }",ti=document.head||document.getElementsByTagName("head")[0],tn=document.createElement("style");tn.type="text/css",tn.styleSheet?tn.styleSheet.cssText=tt:tn.appendChild(document.createTextNode(tt)),ti.appendChild(tn)}tn.parseUrl=function(tt){var ti={videoId:null},tn=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/,ts=tt.match(tn);ts&&11===ts[2].length&&(ti.videoId=ts[2]);var ta=/[?&]list=([^#\&\?]+)/;return(ts=tt.match(ta))&&ts[1]&&(ti.listId=ts[1]),ti},tn.apiReadyQueue=[],window.onYouTubeIframeAPIReady=function(){tn.isApiReady=!0;for(var tt=0;tt<tn.apiReadyQueue.length;++tt)tn.apiReadyQueue[tt].initYTPlayer();"function"==typeof onYouTubeIframeAPIReadyFullscreenBackground&&onYouTubeIframeAPIReadyFullscreenBackground()},window.onYouTubeIframeAPIReadyYoutube=function(){tn.isApiReady=!0;for(var tt=0;tt<tn.apiReadyQueue.length;++tt)tn.apiReadyQueue[tt].initYTPlayer()},ta(),tl(),tt.registerTech("Youtube",tn)}),!function(){"use strict";var tt={UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3},ti=videojs.getComponent("Tech"),tn=videojs.extend(ti,{constructor:function(tt,ts){ti.call(this,tt,ts),""!=tt.poster&&this.setPoster(tt.poster),this.setSrc(this.options_.source.src,!0),setTimeout((function(){this.el_.parentNode.className+=" vjs-vimeo",tn.isApiReady?this.initPlayer():tn.apiReadyQueue.push(this)}).bind(this))},dispose:function(){this.el_.parentNode.className=this.el_.parentNode.className.replace(" vjs-vimeo","")},createEl:function(){this.vimeo={},this.vimeoInfo={},this.baseUrl="https://player.vimeo.com/video/",this.baseApiUrl="https://www.vimeo.com/api/v2/video/",this.videoId=tn.parseUrl(this.options_.source.src).videoId,this.iframe=document.createElement("iframe"),this.iframe.setAttribute("id",this.options_.techId),this.iframe.setAttribute("title","Vimeo Video Player"),this.iframe.setAttribute("class","vimeoplayer"),this.iframe.setAttribute("src",this.baseUrl+this.videoId+"?api=1&player_id="+this.options_.techId),this.iframe.setAttribute("frameborder","0"),this.iframe.setAttribute("scrolling","no"),this.iframe.setAttribute("marginWidth","0"),this.iframe.setAttribute("marginHeight","0"),this.iframe.setAttribute("webkitAllowFullScreen","0"),this.iframe.setAttribute("mozallowfullscreen","0"),this.iframe.setAttribute("allowFullScreen","0"),this.options_.autoplay&&this.iframe.setAttribute("autoplay","true");var tt=document.createElement("div");if(tt.setAttribute("style","margin:0 auto;padding-bottom:56.25%;width:100%;height:0;position:relative;overflow:hidden;"),tt.setAttribute("class","vimeoFrame"),tt.appendChild(this.iframe),!ts&&!this.options_.ytControls){var ti=document.createElement("div");ti.setAttribute("class","vjs-iframe-blocker"),ti.setAttribute("style","position:absolute;top:0;left:0;width:100%;height:100%"),ti.onclick=(function(){this.onPause()}).bind(this),tt.appendChild(ti)}return""==this.options_.poster&&null!=this.videoId&&$.getJSON(this.baseApiUrl+this.videoId+".json?callback=?",{format:"json"},function(tt){return function(ti){tt.setPoster(ti[0].thumbnail_large)}}(this)),tt},initPlayer:function(){var ti=this;$(ti.iframe).load(function(){tn.parseUrl(ti.options_.source.src).videoId,ti.vimeo&&ti.vimeo.api&&(ti.vimeo.api("unload"),delete ti.vimeo),ti.vimeo=$f(ti.iframe),ti.vimeoInfo={state:tt.UNSTARTED,volume:1,muted:!1,muteVolume:1,time:0,duration:0,buffered:0,url:ti.baseUrl+ti.videoId,error:null},ti.vimeo.addEvent("ready",function(tt){ti.onReady(),ti.vimeo.addEvent("loadProgress",function(tt,tn){ti.onLoadProgress(tt)}),ti.vimeo.addEvent("playProgress",function(tt,tn){ti.onPlayProgress(tt)}),ti.vimeo.addEvent("play",function(tt){ti.onPlay()}),ti.vimeo.addEvent("pause",function(tt){ti.onPause()}),ti.vimeo.addEvent("finish",function(tt){ti.onFinish()}),ti.vimeo.addEvent("seek",function(tt,tn){ti.onSeek(tt)})})})},onReady:function(){this.playerReady_=!0,this.triggerReady(),this.trigger("loadedmetadata"),this.startMuted&&(this.setMuted(!0),this.startMuted=!1)},onLoadProgress:function(tt){var ti=!this.vimeoInfo.duration;this.vimeoInfo.duration=tt.duration,this.vimeoInfo.buffered=tt.percent,this.trigger("progress"),ti&&this.trigger("durationchange")},onPlayProgress:function(tt){this.vimeoInfo.time=tt.seconds,this.trigger("timeupdate")},onPlay:function(){this.vimeoInfo.state=tt.PLAYING,this.trigger("play")},onPause:function(){this.vimeoInfo.state=tt.PAUSED,this.trigger("pause")},onFinish:function(){this.vimeoInfo.state=tt.ENDED,this.trigger("ended")},onSeek:function(tt){this.trigger("seeking"),this.vimeoInfo.time=tt.seconds,this.trigger("timeupdate"),this.trigger("seeked")},onError:function(tt){this.error=tt,this.trigger("error")},error:function(){switch(this.errorNumber){case 2:case 100:return{code:"Unable to find the video"};case 5:return{code:"Error while trying to play the video"};case 101:case 150:return{code:"Playback on other Websites has been disabled by the video owner."}}return{code:"Vimeo unknown error ("+this.errorNumber+")"}},src:function(){return this.source},poster:function(){return this.poster_},setPoster:function(tt){this.poster_=tt},setSrc:function(tt){tt&&tt.src&&(this.source=tt,this.url=tn.parseUrl(tt.src),this.options_.poster||null==this.url.videoId||($.getJSON(this.baseApiUrl+this.videoId+".json?callback=?",{format:"json"},function(tt){return function(ti){tt.poster_=ti[0].thumbnail_small}}(this)),this.checkHighResPoster()),this.options_.autoplay&&!ts&&(this.isReady_?this.play():this.playOnReady=!0))},supportsFullScreen:function(){return!0},load:function(){},play:function(){this.vimeo.api("play")},pause:function(){this.vimeo.api("pause")},paused:function(){return this.vimeoInfo.state!==tt.PLAYING&&this.vimeoInfo.state!==tt.BUFFERING},currentTime:function(){return this.vimeoInfo.time||0},setCurrentTime:function(tt){this.vimeo.api("seekTo",tt),this.player_.trigger("timeupdate")},duration:function(){return this.vimeoInfo.duration||0},buffered:function(){return videojs.createTimeRange(0,this.vimeoInfo.buffered*this.vimeoInfo.duration||0)},volume:function(){return this.vimeoInfo.muted?this.vimeoInfo.muteVolume:this.vimeoInfo.volume},setVolume:function(tt){this.vimeo.api("setvolume",tt),this.vimeoInfo.volume=tt,this.player_.trigger("volumechange")},currentSrc:function(){return this.el_.src},muted:function(){return this.vimeoInfo.muted||!1},setMuted:function(tt){tt?(this.vimeoInfo.muteVolume=this.vimeoInfo.volume,this.setVolume(0)):this.setVolume(this.vimeoInfo.muteVolume),this.vimeoInfo.muted=tt,this.player_.trigger("volumechange")},checkHighResPoster:function(){var tt="";try{if(null!=this.url.videoId){$.getJSON(this.baseApiUrl+this.videoId+".json?callback=?",{format:"json"},function(tt){return function(ti){tt=ti[0].thumbnail_large}}(tt));var ti=new Image;ti.onload=(function(){if("naturalHeight"in this){if(this.naturalHeight<=90||this.naturalWi
23dth<=120){this.onerror();return}}else if(this.height<=90||this.width<=120){this.onerror();return}this.poster_=tt,this.trigger("posterchange")}).bind(this),ti.onerror=function(){},ti.src=tt}}catch(tt){}}});tn.isSupported=function(){return!0},tn.canPlaySource=function(tt){return"video/vimeo"===tt.type};var ts=/(iPad|iPhone|iPod|Android)/g.test(navigator.userAgent);function ta(){var tt=".vjs-vimeo .vjs-iframe-blocker { display: none; }.vjs-vimeo.vjs-user-inactive .vjs-iframe-blocker { display: block; }.vjs-vimeo .vjs-poster { background-size: cover; }.vjs-vimeo { height:100%; }.vimeoplayer { width:100%; height:180%; position:absolute; left:0; top:-40%; }",ti=document.head||document.getElementsByTagName("head")[0],tn=document.createElement("style");tn.type="text/css",tn.styleSheet?tn.styleSheet.cssText=tt:tn.appendChild(document.createTextNode(tt)),ti.appendChild(tn)}tn.parseUrl=function(tt){var ti={videoId:null},tn=/^.*(vimeo\.com\/)((channels\/[A-z]+\/)|(groups\/[A-z]+\/videos\/))?([0-9]+)/,ts=tt.match(tn);return ts&&(ti.videoId=ts[5]),ti},tn.apiReadyQueue=[],function(){tn.isApiReady=!0,ta();for(var tt=0;tt<tn.apiReadyQueue.length;++tt)tn.apiReadyQueue[tt].initPlayer()}(),videojs.registerTech("Vimeo",tn),function(){function tt(ti){return new tt.fn.init(ti)}var ti={},tn=!1,ts=(Array.prototype.slice,"*");function ta(tt,ti,tn){if(null==tn.contentWindow||!tn.contentWindow.postMessage)return!1;var ta=JSON.stringify({method:tt,value:ti});tn.contentWindow.postMessage(ta,ts)}function tl(tt){try{ta=(ti=JSON.parse(tt.data)).event||ti.method}catch(tt){}if("ready"!=ta||tn||(tn=!0),!/^https?:\/\/player.vimeo.com/.test(tt.origin))return!1;"*"===ts&&(ts=tt.origin);var ti,ta,tl=ti.value,tc=ti.data,td=""===td?null:ti.player_id,th=tu(ta,td),tp=[];return!!th&&(void 0!==tl&&tp.push(tl),tc&&tp.push(tc),td&&tp.push(td),tp.length>0?th.apply(null,tp):th.call())}function tc(tt,tn,ts){ts?(ti[ts]||(ti[ts]={}),ti[ts][tt]=tn):ti[tt]=tn}function tu(tt,tn){return tn&&ti[tn]?ti[tn][tt]:ti[tt]?ti[tt]:void 0}function td(tt,tn){if(tn&&ti[tn]){if(!ti[tn][tt])return!1;ti[tn][tt]=null}else{if(!ti[tt])return!1;ti[tt]=null}return!0}function th(tt){return!!(tt&&tt.constructor&&tt.call&&tt.apply)}tt.fn=tt.prototype={element:null,init:function(tt){return"string"==typeof tt&&(tt=document.getElementById(tt)),this.element=tt,this},api:function(tt,ti){if(!this.element||!tt)return!1;var tn=this,ts=tn.element,tl=""!==ts.id?ts.id:null,tu=th(ti)?null:ti,td=th(ti)?ti:null;return td&&tc(tt,td,tl),ta(tt,tu,ts),tn},addEvent:function(tt,ti){if(!this.element)return!1;var ts=this,tl=ts.element,tu=""!==tl.id?tl.id:null;return tc(tt,ti,tu),"ready"!=tt?ta("addEventListener",tt,tl):"ready"==tt&&tn&&ti.call(null,tu),ts},removeEvent:function(tt){if(!this.element)return!1;var ti=this,tn=ti.element,ts=td(tt,""!==tn.id?tn.id:null);"ready"!=tt&&ts&&ta("removeEventListener",tt,tn)}},tt.fn.init.prototype=tt.fn,window.addEventListener?window.addEventListener("message",tl,!1):window.attachEvent("onmessage",tl),window.Froogaloop=window.$f=tt}()}(),function(tt){"use strict";tt(document).ready(function(){tt(".youtubevid-item__media").each(function(){var ti=tn=tt(this).find(".youtubevid-item__thumbnail"),tn=tt(this).find(".icon"),ts=tt(this).find("iframe");tn.click(function(tt){ti.fadeOut(2e3).add().toggleClass("clicked"),ts[0].src+="&autoplay=1"})})})}(window.jQuery),function(tt){"use strict";var ti=function(ti,tn){var ts=!1;function ta(){setTimeout(function(){tt(window).trigger("scroll")},100)}ts=!!tt(".lazyLoadImg").length,this.$element=tt(ti),this.options=this.parseTrueFalseOptions(tn);var tl=this;tl.options.autoplay=tl.options.auto,tl.options.auto=!1;var tc={onSlideAfter:function(){tl.options.auto&&(tl.$element.stopAuto(),tl.$element.startAuto()),ts&&ta()},onSliderLoad:function(){if(""==tl.options.easing&&(tl.options.easing=null),tl.options.controlsHover){var ti=tl.$element.closest(".bx-wrapper");tt(".bx-controls-direction",ti).hide(),ti.hover(function(){tt(".bx-controls-direction",tt(this)).fadeIn(300)},function(){tt(".bx-controls-direction",tt(this)).fadeOut(300)})}if(tl.options.autoHover){var ti=tl.$element.closest(".bx-wrapper");ti.hover(function(){tl.options.auto&&tl.$element.stopAuto()},function(){console.log(tl.options.auto),tl.options.auto&&tl.$element.startAuto()})}
23null!=tl.options.easing&&(tl.options.useCSS=!1),tl.options.autoplay&&(tl.makePauseSlideshowButton(),setTimeout(function(){tl.$element.startAuto(),tl.options.auto=!0},tl.options.autoDelay)),tl.$element.closest(".bx-wrapper").find(".bx-controls").wrapAll("<div class='wrap__bx-controls' />"),tl.$element.closest(".bx-wrapper").find(".wrap_on-off, .wrap_pause-play, .bx-pager ").wrapAll("<div class='bx-controls-buttons' />"),tl.attachEvents()},onSlideNext:function(){ts&&ta()},onSlidePrev:function(){ts&&ta()}};tt.extend(this.options,tc),this.run()};ti.prototype.attachEvents=function(){var ti=this,tn=ti.$element.closest(".bx-wrapper").find(".bx-controls");tn.on("click",".pause-slideshow",function(ts,ta){tt(this).hide(),ti.$element.stopAuto(),ti.options.auto=!1,tn.find(".play-slideshow").fadeIn("slow",function(){void 0!==ta&&tt(this).focus()})}),tn.on("click",".play-slideshow",function(ts,ta){tt(this).hide(),ti.$element.startAuto(),ti.options.auto=!0,tn.find(".pause-slideshow").fadeIn("slow",function(){void 0!==ta&&tt(this).focus()})}),tt("body").keypress(function(tt){13==tt.which&&(tn.find(".play-slideshow").is(":focus")&&tn.find(".play-slideshow").trigger("click",{kb:!0}),tn.find(".pause-slideshow").is(":focus")&&tn.find(".pause-slideshow").trigger("click",{kb:!0}))})},ti.prototype.makePauseSlideshowButton=function(){var tt=this,ti=['<div class="wrap_pause-play">','<div class="pause-slideshow" aria-label="icon pause" title="Pause slideshow" tabindex="0">','<span class="icon icon-pause"></span>',"</div>",'<div class="play-slideshow" aria-label="icon play" style="display: none" title="Play slideshow" tabindex="0">','<span class="icon icon-play"></span>',"</div>","</div>"];tt.$element.closest(".bx-wrapper").find(".bx-controls").append(ti.join(""))},ti.prototype.parseTrueFalseOptions=function(tt,tn){for(var ts in tt)tt.hasOwnProperty(ts)&&-1!=ti.BOOLEANS.indexOf(ts)&&(tt[ts]=!!tt[ts]);return tt},ti.prototype.run=function(){var ti=this;tt(window).load(function(){ti.$bxSlider=ti.$element.bxSlider(ti.options),ti.$bxSlider.redrawSlider()})},ti.DEFAULTS={pager:!0,controls:!0,autoControls:!1,auto:!0,infiniteLoop:!0,randomStart:!1,controlsHover:!1,responsive:!1,mode:"horizontal",speed:500,pause:4e3,autoDelay:0,easing:null,useCSS:!1},ti.BOOLEANS=["pager","controls","autoControls","auto","infiniteLoop","randomStart","controlsHover","responsive"];var tn=tt.fn.BXSlider;tt.fn.BXSlider=function(tn){var ts;return arguments,this.each(function(){var ta=tt(this),tl=tt.extend({},ti.DEFAULTS,ta.data(),"object"==typeof tn&&tn),tc="";if(ta.data("bxslider",tc=new ti(this,tl)),void 0!==ts)return!1}),ts||this},tt.fn.BXSlider.Constructor=ti,tt.fn.BXSlider.noConflict=function(){return tt.fn.BXSlider=tn,this},tt(function(){tt('[data-control="bx-slider"]').BXSlider()})}(window.jQuery),!function(tt){"function"==typeof define&&define.amd?define(["jquery"],tt):"object"==typeof module&&module.exports?module.exports=function(ti,tn){return void 0===tn&&(tn="undefined"!=typeof window?require("jquery"):require("jquery")(ti)),tt(tn),tn}:tt(jQuery)}(function(tt){"use strict";tt.fn.imageScale=function(tn){return this.each(function(){var ts=this,ta=tt(this),tl=ta.data("imageScale"),tc="IMG"===this.tagName?ta:ta.find("img");if(tl)"string"==typeof tn?tl[tn]():"object"==typeof tn?tl[tn.method||"scale"](!1,tn):tl.scale();else{var tu=tc[0].complete,td=tt.extend({},tt.fn.imageScale.defaults,"object"==typeof tn&&tn),th=function(){ta.data("imageScale",tl=new ti(ts,td)),tl.scale(!0,td)};tu?th.apply(ta[0]):tc.on("load",th).attr("src",tc.attr("src"))}})},tt.fn.imageScale.defaults={scale:"best-fill",align:"center",parent:null,hideParentOverflow:!0,fadeInDuration:0,rescaleOnResize:!1,didScale:function(tt,ti){},logLevel:0};var ti=function(ti,tn){var ts=this;ts.options=tn,ts.element=ti;var ta=ts.$element=tt(ti),tl=ts.$img="IMG"===ti.tagName?ta:ta.find("img"),tc=ts.img=tl[0];ts.src=tl.attr("src"),ts.imgWidth=tc.naturalWidth||tc.width,ts.imgHeight=tc.naturalHeight||tc.height;var tu=ts.$parent=tn.parent?tn.parent:tt(ta.parent()[0]);ts.parent=tu[0],"static"===tu.css("position")&&tu.css("position","relative"),tn.rescaleOnResize&&tt(window).resize(function(tt){ts.scheduleScale()})};tt.fn.imageScale.Constructor=ti,ti.prototype={NONE:"none",FILL:"fill",BEST_FILL:"best-fill",BEST_FIT:"best-fit",BEST_FIT_DOWN_ONLY:"best-fit-down",ALIGN_LEFT:"left",ALIGN_RIGHT:"right",ALIGN_CENTER:"center",ALIGN_TOP:"top",ALIGN_BOTTOM:"bottom",ALIGN_TOP_LEFT:"top-left",ALIGN_TOP_RIGHT:"top-right",ALIGN_BOTTOM_LEFT:"bottom-left",ALIGN_BOTTOM_RIGHT:"bottom-right",constructor:ti,element:null,options:null,scale:function(tt,ti){if(!this._isDestroyed&&!1!==this._canScale){var tn=this,ts=this.options,ta=this.$parent,tl=this.element,tc=this.$element,tu=this.img,td=this.$img;if(tt)ts.hideParentOverflow&&ta.css({overflow:"hidden"});else if(this.src!==td.attr("src")){this.destroy(),tc.data("imageScale",null),tc.imageScale(ts);return}if(this._didScheduleScale=!1,!ts.rescaleOnResize||ti||this._needUpdate(this.parent)){ti=ti||{};var th=ti.transition;th&&(this._canScale=!1,tc.css("transition","all "+th+"ms"),setTimeout(function(){tn._c
23anScale=null,tc.css("transition","null")},th));var tp=ti.destWidth?ti.destWidth:ta.outerWidth(),tf=ti.destHeight?ti.destHeight:ta.outerHeight(),tm=ti.destWidth?ti.destWidth:ta.innerWidth(),tg=ti.destHeight?ti.destHeight:ta.innerHeight(),tv=tp-tm,ty=tf-tg,tb=tc.attr("data-scale"),tw=tc.attr("data-align"),tx=tb||ts.scale,t_=tw||ts.align,tT=ts.fadeInDuration;if(!tx){ts.logLevel>2&&console.log("imageScale - DEBUG NOTICE: The scale property is null.",tl);return}this._cacheDestWidth===tp&&this._cacheDestHeight===tf&&ts.logLevel>2&&console.log("imageScale - DEBUG NOTICE: The parent size hasn't changed: dest width: '"+tp+"' - dest height: '"+tf+"'.",tl);var tk=this.imgWidth,tj=this.imgHeight;if(!(tp&&tf&&tk&&tj)){ts.logLevel>0&&console.error("imageScale - DEBUG ERROR: The dimensions are incorrect: source width: '"+tk+"' - source height: '"+tj+"' - dest width: '"+tp+"' - dest height: '"+tf+"'.",tl);return}this._cacheDestWidth=tp,this._cacheDestHeight=tf;var tC=this._innerFrameForSize(tx,t_,tk,tj,tp,tf);tv&&(tC.x-=tv/2),ty&&(tC.y-=ty/2),tc.css({position:"absolute",top:tC.y+"px",left:tC.x+"px",width:tC.width+"px",height:tC.height+"px","max-width":"none"}),tt&&tT&&(tc.css({display:"none"}),tc.fadeIn(tT)),ts.didScale.call(this,tt,ti)}}},destroy:function(){this._isDestroyed=!0,this.$element.removeData("imageScale")},_innerFrameForSize:function(tt,ti,tn,ts,ta,tl){var tc,tu,td;if(td={x:0,y:0,width:ta,height:tl},tt===this.FILL)return td;switch(tc=ta/tn,tu=tl/ts,tt){case this.BEST_FIT_DOWN_ONLY:tt!==this.BEST_FIT_DOWN_ONLY&&this.options.logLevel>1&&console.warn("imageScale - DEBUG WARNING: The scale '"+tt+"' was not understood."),tt=tn>ta||ts>tl?tc<tu?tc:tu:1;break;case this.BEST_FIT:tt=tc<tu?tc:tu;break;case this.NONE:tt=1;break;default:tt=tc>tu?tc:tu}switch(tn*=tt,ts*=tt,td.width=Math.round(tn),td.height=Math.round(ts),ti){case this.ALIGN_LEFT:td.x=0,td.y=tl/2-ts/2;break;case this.ALIGN_RIGHT:td.x=ta-tn,td.y=tl/2-ts/2;break;case this.ALIGN_TOP:td.x=ta/2-tn/2,td.y=0;break;case this.ALIGN_BOTTOM:td.x=ta/2-tn/2,td.y=tl-ts;break;case this.ALIGN_TOP_LEFT:td.x=0,td.y=0;break;case this.ALIGN_TOP_RIGHT:td.x=ta-tn,td.y=0;break;case this.ALIGN_BOTTOM_LEFT:td.x=0,td.y=tl-ts;break;case this.ALIGN_BOTTOM_RIGHT:td.x=ta-tn,td.y=tl-ts;break;default:ti!==this.ALIGN_CENTER&&this.options.logLevel>1&&console.warn("imageScale - DEBUG WARNING: The align '"+ti+"' was not understood."),td.x=ta/2-tn/2,td.y=tl/2-ts/2}return td},_needUpdate:function(tt){var ti=tt.clientHeight+" "+tt.clientWidth;return this._lastParentSize!==ti&&(this._lastParentSize=ti,!0)},scheduleScale:function(){if(!this._didScheduleScale){if(window.requestAnimationFrame){var tt=this;this._didScheduleScale=!0,requestAnimationFrame(function(){setTimeout(function(){tt.scale()},0)})}else this.scale()}}}}),$("document").ready(function(){$(".gallery").on("html_restructured",function(){var tt=$(".gallery").data("ratio");$(".gallery [data-setup-run]").each(function(){"square"==tt?$(this).height($(this).width()):"rectangle"==tt&&$(this).height(.75*$(this).width());var ti=videojs(this,$(this).data("setupRun"));if(ti){var tn=ti.options();if(ti.on("pause",function(){ti.bigPlayButton.hide(),ti.posterImage.hide()}),"vimeo"==tn.techOrder[0]){var ts=$(ti.posterImage.el_),ta=$(ti.el_).find("iframe");void 0==ts.attr("style")&&ts.addClass("noVimeoPoster"),ts.bind("click touchstart",function(){ta.addClass("vimeoStarted"),ts.removeClass("noVimeoPoster"),ta[0].src+="&muted=1&autoplay=1"})}}})})}),function(tt){"use strict";var ti=function(ti,tn){var ts=this;this.$element=tt(ti),this.$topWrapper=tt(ti).closest(".gallery"),this.options=this.parseTrueFalseOptions(tn),this.options.muted=!1,1==this.options.count&&(this.options.infiniteLoop=!1),this.auto=this.options.auto,this.options.auto=!1;var ta={onSlideAfter:function(){ts.options.auto&&(ts.$element.stopAuto(),ts.$element.startAuto())},onSliderLoad:function(){ts.$element.css("visibility","visible"),ts.$wrapper=ts.$element.closest(".bx-wrapper"),ts.$viewport=ts.$wrapper.find(".bx-viewport"),ts.$element.getSlideCount()>1?(ts.options.pager=!0,tt(".bx-pager").show()):(ts.options.pager=!1,tt(".bx-pager").hide()),""==ts.options.easing&&(ts.options.easing=null),ts.options.controlsHover&&ts.$element.getSlideCount()>1&&(tt(".bx-controls-direction",ts.$wrapper).add(".bx-pager").hide(),ts.$wrapper.hover(function(){tt(".bx-controls-direction",tt(this)).add(".bx-pager").fadeIn(300)},function(){tt(".bx-controls-direction",tt(this)).add(".bx-pager").fadeOut(300)})),ts.options.autoHover&&ts.$wrapper.hover(function(){ts.options.auto&&ts.$element.stopAuto()},function(){ts.options.auto&&ts.$element.startAuto()}),null!=ts.options.easing&&(ts.options.useCSS=!1),ts.auto&&(ts.options.auto=!0,ts.$element.startAuto(),ts.makePauseSlideshowButton()),ts.removeHighsli
23deInClones(),ts.addWrappers()},onSlideNext:function(){},onSlidePrev:function(){}};return tt.extend(this.options,ta),this.attachEvents(),this.initializeSlider(),this};ti.prototype.attachEvents=function(){var ti=this;ti.$topWrapper.find(".gallery-slider").on("click",".gallery-pause-slideshow",function(tn,ts){tt(this).hide(),ti.$element.stopAuto(),ti.options.auto=!1,ti.$topWrapper.find(".gallery-slider .gallery-play-slideshow").fadeIn("slow",function(){void 0!==ts&&tt(this).focus()})}),ti.$topWrapper.find(".gallery-slider").on("click",".gallery-play-slideshow",function(tn,ts){tt(this).hide(),ti.$element.startAuto(),ti.options.auto=!0,ti.$topWrapper.find(".gallery-slider .gallery-pause-slideshow").fadeIn("slow",function(){void 0!==ts&&tt(this).focus()})}),ti.$topWrapper.find(".gallery-slider").on("click",".sound-off",function(tn,ts){tt(this).hide(),ti.options.muted=!0,ti.$element.stopAuto(),ti.$topWrapper.find(".gallery-slider .sound-on").fadeIn("slow",function(){void 0!==ts&&tt(this).focus()})}),ti.$topWrapper.find(".gallery-slider").on("click",".sound-on",function(tn,ts){tt(this).hide(),ti.options.muted=!1,ti.$element.startAuto(),ti.$topWrapper.find(".gallery-slider .sound-off").fadeIn("slow",function(){void 0!==ts&&tt(this).focus()})}),tt("body").keypress(function(tt){13==tt.which&&(ti.$topWrapper.find(".gallery-slider .play-slideshow").is(":focus")&&ti.$topWrapper.find(".gallery-slider .play-slideshow").trigger("click",{kb:!0}),ti.$topWrapper.find(".gallery-slider .pause-slideshow").is(":focus")&&ti.$topWrapper.find(".gallery-slider .pause-slideshow").trigger("click",{kb:!0}),ti.$topWrapper.find(".gallery-slider .sound-off").is(":focus")&&ti.$topWrapper.find(".gallery-slider .sound-off").trigger("click",{kb:!0}),ti.$topWrapper.find(".gallery-slider .sound-on").is(":focus")&&ti.$topWrapper.find(".gallery-slider .sound-on").trigger("click",{kb:!0}))})},ti.prototype.parseTrueFalseOptions=function(tt,tn){for(var ts in tt)tt.hasOwnProperty(ts)&&-1!=ti.BOOLEANS.indexOf(ts)&&(tt[ts]=!!tt[ts]);return tt},ti.prototype.addWrappers=function(){var tt=this;tt.$element.closest(".bx-wrapper").find(".bx-controls").wrapAll("<div class='wrap__bx-controls' />"),tt.$element.closest(".bx-wrapper").find(".bx-pager, .wrap_pause-play").wrapAll("<div class='bx-controls-buttons' />")},ti.prototype.initializeSlider=function(){this.$bxSlider=this.$element.bxSlider(this.options)},ti.prototype.destSlider=function(){this.$bxSlider.length&&(this.$bxSlider.destroySlider(),this.$topWrapper.find(".gallery-slider .wrap__bx-controls").remove())},ti.prototype.makePauseSlideshowButton=function(){var tt=this,ti=['<div class="wrap_pause-play">','<div class="pause-slideshow gallery-pause-slideshow" aria-label="icon pause" title="Pause slideshow" tabindex="0">','<span class="icon icon-pause"></span>',"</div>",'<div class="play-slideshow gallery-play-slideshow" aria-label="icon play" style="display: none" title="Play slideshow" tabindex="0">','<span class="icon icon-play"></span>',"</div>","</div>"];tt.$topWrapper.find(".gallery-slider .bx-wrapper .bx-controls").append(ti.join(""))},ti.prototype.removeHighslideInClones=function(){var ti=this;ti.$element.find(".bx-clone").each(function(ti){var tn=tt(this).find(".highslide");
23tn.removeClass("highslide"),tn.removeAttr("onclick")})},ti.DEFAULTS={pager:!0,controls:!0,autoControls:!1,autoHoverModified:!1,autoHover:!1,auto:!0,infiniteLoop:!0,randomStart:!1,controlsHover:!1,responsive:!1,mode:"horizontal",speed:500,pause:4e3,autoDelay:0,easing:null,useCSS:!1,autoPlayVideo:!0},ti.BOOLEANS=["pager","controls","autoControls","auto","infiniteLoop","randomStart","controlsHover","responsive","autoHoverModified"];var tn=tt.fn.slideshow;tt.fn.slideshow=function(tn){arguments;var ts=tt(this),ta=tt.extend({},ti.DEFAULTS,ts.data(),"object"==typeof tn&&tn);return new ti(this,ta)},tt.fn.slideshow.Constructor=ti,tt.fn.slideshow.noConflict=function(){tt.fn.slideshow=tn}}(window.jQuery),function(tt){"use strict";var ti=function(ti,tn){this.$el=tt(ti),this.options=tn,this.init()};ti.prototype.init=function(){var ti=this;ti.$el.find("img.scale").imageScale({parent:tt(".img-holder-container")}),ti.$el.find("img.scale").imageScale({parent:tt(".img-holder-container")})},ti.DEFAULTS={nextEffect:"fade",prevEffect:"fade",type:"iframe"};var tn=tt.fn.imgScale;tt.fn.imgScale=function(tn){var ts=Array.prototype.slice.call(arguments,1),ta=void 0;return this.each(function(){var tl=tt(this),tc=tt.extend({},ti.DEFAULTS,tl.data(),"object"==typeof tn&&tn),tu=new ti(this,tc);if("string"==typeof tn&&(ta=tu[tn].apply(tu,ts)),void 0!==ta)return!1}),ta||this},tt.fn.imgScale.Constructor=ti,tt.fn.imgScale.noConflict=function(){return tt.fn.imgScale=tn,this}}(window.jQuery),/*!
24 * imagesLoaded PACKAGED v4.1.1
25 * JavaScript is all like "You images are done yet or what?"
26 * MIT License
27 */!function(tt,ti){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",ti):"object"==typeof module&&module.exports?module.exports=ti():tt.EvEmitter=ti()}("undefined"!=typeof window?window:this,function(){function tt(){}var ti=tt.prototype;return ti.on=function(tt,ti){if(tt&&ti){var tn=this._events=this._events||{},ts=tn[tt]=tn[tt]||[];return -1==ts.indexOf(ti)&&ts.push(ti),this}},ti.once=function(tt,ti){if(tt&&ti){this.on(tt,ti);var tn=this._onceEvents=this._onceEvents||{};return(tn[tt]=tn[tt]||{})[ti]=!0,this}},ti.off=function(tt,ti){var tn=this._events&&this._events[tt];if(tn&&tn.length){var ts=tn.indexOf(ti);return -1!=ts&&tn.splice(ts,1),this}},ti.emitEvent=function(tt,ti){var tn=this._events&&this._events[tt];if(tn&&tn.length){var ts=0,ta=tn[0];ti=ti||[];for(var tl=this._onceEvents&&this._onceEvents[tt];ta;){var tc=tl&&tl[ta];tc&&(this.off(tt,ta),delete tl[ta]),ta.apply(this,ti),ts+=tc?0:1,ta=tn[ts]}return this}},tt}),function(tt,ti){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(tn){return ti(tt,tn)}):"object"==typeof module&&module.exports?module.exports=ti(tt,require("ev-emitter")):tt.imagesLoaded=ti(tt,tt.EvEmitter)}(window,function(tt,ti){function tn(tt,ti){for(var tn in ti)tt[tn]=ti[tn];return tt}function ts(tt){var ti=[];if(Array.isArray(tt))ti=tt;else if("number"==typeof tt.length)for(var tn=0;tn<tt.length;tn++)ti.push(tt[tn]);else ti.push(tt);return ti}function ta(tt,ti,tl){return this instanceof ta?("string"==typeof tt&&(tt=document.querySelectorAll(tt)),this.elements=ts(tt),this.options=tn({},this.options),"function"==typeof ti?tl=ti:tn(this.options,ti),tl&&this.on("always",tl),this.getImages(),tu&&(this.jqDeferred=new tu.Deferred),void setTimeout((function(){this.check()}).bind(this))):new ta(tt,ti,tl)}function tl(tt){this.img=tt}function tc(tt,ti){this.url=tt,this.element=ti,this.img=new Image}var tu=tt.jQuery,td=tt.console;ta.prototype=Object.create(ti.prototype),ta.prototype.options={},ta.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},ta.prototype.addElementImages=function(tt){"IMG"==tt.nodeName&&this.addImage(tt),!0===this.options.background&&this.addElementBackgroundImages(tt);var ti=tt.nodeType;if(ti&&th[ti]){for(var tn=tt.querySelectorAll("img"),ts=0;ts<tn.length;ts++){var ta=tn[ts];this.addImage(ta)}if("string"==typeof this.options.background){var tl=tt.querySelectorAll(this.options.background);for(ts=0;ts<tl.length;ts++){var tc=tl[ts];
vendor: 4,221 bytes, lines 27-33
27this.addElementBackgroundImages(tc)}}}};var th={1:!0,9:!0,11:!0};return ta.prototype.addElementBackgroundImages=function(tt){var ti=getComputedStyle(tt);if(ti)for(var tn=/url\((['"])?(.*?)\1\)/gi,ts=tn.exec(ti.backgroundImage);null!==ts;){var ta=ts&&ts[2];ta&&this.addBackground(ta,tt),ts=tn.exec(ti.backgroundImage)}},ta.prototype.addImage=function(tt){var ti=new tl(tt);this.images.push(ti)},ta.prototype.addBackground=function(tt,ti){var tn=new tc(tt,ti);this.images.push(tn)},ta.prototype.check=function(){function tt(tt,tn,ts){setTimeout(function(){ti.progress(tt,tn,ts)})}var ti=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(ti){ti.once("progress",tt),ti.check()}):void this.complete()},ta.prototype.progress=function(tt,ti,tn){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!tt.isLoaded,this.emitEvent("progress",[this,tt,ti]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,tt),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&td&&td.log("progress: "+tn,tt,ti)},ta.prototype.complete=function(){var tt=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(tt,[this]),this.emitEvent("always",[this]),this.jqDeferred){var ti=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[ti](this)}},tl.prototype=Object.create(ti.prototype),tl.prototype.check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},tl.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},tl.prototype.confirm=function(tt,ti){this.isLoaded=tt,this.emitEvent("progress",[this,this.img,ti])},tl.prototype.handleEvent=function(tt){var ti="on"+tt.type;this[ti]&&this[ti](tt)},tl.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},tl.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},tl.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},tc.prototype=Object.create(tl.prototype),tc.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},tc.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},tc.prototype.confirm=function(tt,ti){this.isLoaded=tt,this.emitEvent("progress",[this,this.element,ti])},ta.makeJQueryPlugin=function(ti){(ti=ti||tt.jQuery)&&((tu=ti).fn.imagesLoaded=function(tt,ti){return new ta(this,tt,ti).jqDeferred.promise(tu(this))})},ta.makeJQueryPlugin(),ta}),/*!
28 * Masonry PACKAGED v4.1.1
29 * Cascading grid layout library
30 * http://masonry.desandro.com
31 * MIT License
32 * by David DeSandro
33 */!function(tt,ti){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(tn){return ti(tt,tn)}):"object"==typeof module&&module.exports?module.exports=ti(tt,require("jquery")):tt.jQueryBridget=ti(tt,tt.jQuery)}(window,function(tt,ti){"use strict";function tn(tn,tl,tu){function td(tt,ti,ts){var ta,tl="$()."+tn+'("'+ti+'")';return tt.each(function(tt,td){var th=tu.data(td,tn);if(!th)return void tc(tn+" not initialized. Cannot call methods, i.e. "+tl);var tp=th[ti];if(!tp||"_"==ti.charAt(0))return void tc(tl+" is not a valid method");var tf=tp.apply(th,ts);ta=void 0===ta?tf:ta}),void 0!==ta?ta:tt}function th(tt,ti){tt.each(function(tt,ts){var ta=tu.data(ts,tn);ta?(ta.option(ti),ta._init()):(ta=new tl(ts,ti),tu.data(ts,tn,ta))})}(tu=tu||ti||tt.jQuery)&&(tl.prototype.option||(tl.prototype.option=function(tt){tu.isPlainObject(tt)&&(this.options=tu.extend(!0,this.options,tt))}),tu.fn[tn]=function(tt){if("string"==typeof tt){var ti=ta.call(arguments,1
33);return td(this,tt,ti)}return th(this,tt),this},ts(tu))}function ts(tt){!tt||tt&&tt.bridget||(tt.bridget=tn)}var ta=Array.prototype.slice,tl=tt.console,tc=void 0===tl?function(){}:function(tt){tl.error(tt)};return ts(ti||tt.jQuery),tn}),function(tt,ti){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",ti):"object"==typeof module&&module.exports?module.exports=ti():tt.EvEmitter=ti()}("undefined"!=typeof window?window:this,function(){function tt(){}var ti=tt.prototype;return ti.on=function(tt,ti){if(tt&&ti){var tn=this._events=this._events||{},ts=tn[tt]=tn[tt]||[];return -1==ts.indexOf(ti)&&ts.push(ti),this}},ti.once=function(tt,ti){if(tt&&ti){this.on(tt,ti);var tn=this._onceEvents=this._onceEvents||{};return(tn[tt]=tn[tt]||{})[ti]=!0,this}},ti.off=function(tt,ti){var tn=this._events&&this._events[tt];if(tn&&tn.length){var ts=tn.indexOf(ti);return -1!=ts&&tn.splice(ts,1),this}},ti.emitEvent=function(tt,ti){var tn=this._events&&this._events[tt];if(tn&&tn.length){var ts=0,ta=tn[0];ti=ti||[];for(var tl=this._onceEvents&&this._onceEvents[tt];ta;){var tc=tl&&tl[ta];tc&&(this.off(tt,ta),delete tl[ta]),ta.apply(this,ti),ts+=tc?0:1,ta=tn[ts]}return this}},tt}),function(tt,ti){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return ti()}):"object"==typeof module&&module.exports?module.exports=ti():tt.getSize=ti()}(window,function(){"use strict";function tt(tt){var ti=parseFloat(tt);return -1==tt.indexOf("%")&&!isNaN(ti)&&ti}function ti(){}function tn(){for(var tt={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},ti=0;th>ti;ti++)tt[td[ti]]=0;return tt}function ts(tt){var ti=getComputedStyle(tt);return ti||tu("Style returned "+ti+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),ti}function ta(){if(!tp){tp=!0;var ti=document.createElement("div");ti.style.width="200px",ti.style.padding="1px 2px 3px 4px",ti.style.borderStyle="solid",ti.style.borderWidth="1px 2px 3px 4px",ti.style.boxSizing="border-box";var tn=document.body||document.documentElement;tn.appendChild(ti);var ta=ts(ti);tl.isBoxSizeOuter=tc=200==tt(ta.width),tn.removeChild(ti)}}function tl(ti){if(ta(),"string"==typeof ti&&(ti=document.querySelector(ti)),ti&&"object"==typeof ti&&ti.nodeType){var tl=ts(ti);if("none"==tl.display)return tn();var tu={};tu.width=ti.offsetWidth,tu.height=ti.offsetHeight;for(var tp=tu.isBorderBox="border-box"==tl.boxSizing,tf=0;th>tf;tf++){var tm=td[tf],tg=parseFloat(tl[tm]);tu[tm]=isNaN(tg)?0:tg}var tv=tu.paddingLeft+tu.paddingRight,ty=tu.paddingTop+tu.paddingBottom,tb=tu.marginLeft+tu.marginRight,tw=tu.marginTop+tu.marginBottom,tx=tu.borderLeftWidth+tu.borderRightWidth,t_=tu.borderTopWidth+tu.borderBottomWidth,tT=tp&&tc,tk=tt(tl.width);!1!==tk&&(tu.width=tk+(tT?0:tv+tx));var tj=tt(tl.height);return!1!==tj&&(tu.height=tj+(tT?0:ty+t_)),tu.innerWidth=tu.width-(tv
33+tx),tu.innerHeight=tu.height-(ty+t_),tu.outerWidth=tu.width+tb,tu.outerHeight=tu.height+tw,tu}}var tc,tu="undefined"==typeof console?ti:function(tt){console.error(tt)},td=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],th=td.length,tp=!1;return tl}),function(tt,ti){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",ti):"object"==typeof module&&module.exports?module.exports=ti():tt.matchesSelector=ti()}(window,function(){"use strict";var tt=function(){var tt=Element.prototype;if(tt.matches)return"matches";if(tt.matchesSelector)return"matchesSelector";for(var ti=["webkit","moz","ms","o"],tn=0;tn<ti.length;tn++){var ts=ti[tn]+"MatchesSelector";if(tt[ts])return ts}}();return function(ti,tn){return ti[tt](tn)}}),function(tt,ti){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(tn){return ti(tt,tn)}):"object"==typeof module&&module.exports?module.exports=ti(tt,require("desandro-matches-selector")):tt.fizzyUIUtils=ti(tt,tt.matchesSelector)}(window,function(tt,ti){var tn={};tn.extend=function(tt,ti){for(var tn in ti)tt[tn]=ti[tn];return tt},tn.modulo=function(tt,ti){return(tt%ti+ti)%ti},tn.makeArray=function(tt){var ti=[];if(Array.isArray(tt))ti=tt;else if(tt&&"number"==typeof tt.length)for(var tn=0;tn<tt.length;tn++)ti.push(tt[tn]);else ti.push(tt);return ti},tn.removeFrom=function(tt,ti){var tn=tt.indexOf(ti);-1!=tn&&tt.splice(tn,1)},tn.getParent=function(tt,tn){for(;tt!=document.body;)if(ti(tt=tt.parentNode,tn))return tt},tn.getQueryElement=function(tt){return"string"==typeof tt?document.querySelector(tt):tt},tn.handleEvent=function(tt){var ti="on"+tt.type;this[ti]&&this[ti](tt)},tn.filterFindElements=function(tt,ts){tt=tn.makeArray(tt);var ta=[];return tt.forEach(function(tt){if(tt instanceof HTMLElement){if(!ts)return void ta.push(tt);ti(tt,ts)&&ta.push(tt);for(var tn=tt.querySelectorAll(ts),tl=0;tl<tn.length;tl++)ta.push(tn[tl])}}),ta},tn.debounceMethod=function(tt,ti,tn){var ts=tt.prototype[ti],ta=ti+"Timeout";tt.prototype[ti]=function(){var tt=this[ta];tt&&clearTimeout(tt);var ti=arguments,tl=this;this[ta]=setTimeout(function(){ts.apply(tl,ti),delete tl[ta]},tn||100)}},tn.docReady=function(tt){var ti=document.readyState;"complete"==ti||"interactive"==ti?tt():document.addEventListener("DOMContentLoaded",tt)},tn.toDashed=function(tt){return tt.replace(/(.)([A-Z])/g,function(tt,ti,tn){return ti+"-"+tn}).toLowerCase()};var ts=tt.console;return tn.htmlInit=function(ti,ta){tn.docReady(function(){var tl=tn.toDashed(ta),tc="data-"+tl,tu=document.querySelectorAll("["+tc+"]"),td=document.querySelectorAll(".js-"+tl),th=tn.makeArray(tu).concat(tn.makeArray(td)),tp=tc+"-options",tf=tt.jQuery;th.forEach(function(tt){var tn,tl=tt.getAttribute(tc)||tt.getAttribute(tp);try{tn=tl&&JSON.parse(tl)}catch(ti){return void(ts&&ts.error("Error parsing "+tc+" on "+tt.className+": "+ti))}var tu=new ti(tt,tn);tf&&tf.data(tt,ta,tu)})})},tn}),function(tt,ti){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],ti):"object"==typeof module&&module.exports?module.exports=ti(require("ev-emitter"),require("get-size")):(tt.Outlayer={},tt.Outlayer.Item=ti(tt.EvEmitter,tt.getSize))}(window,function(tt,ti){"use strict";function tn(tt){for(var ti in tt)return!1;return!0}function ts(tt,ti){tt&&(this.element=tt,this.layout=ti,this.position={x:0,y:0},this._create())}function ta(tt){return tt.replace(/([A-Z])/g,function(tt){return"-"+tt.toLowerCase()})}var tl=document.documentElement.style,tc="string"==typeof tl.transition?"transition":"WebkitTransition",tu="string"==typeof tl.transform?"transform":"WebkitTransform",td={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[tc],th={transform:tu,transition:tc,transitionDuration:tc+"Duration",transitionProperty:tc+"Property",transitionDelay:tc+"Delay"},tp=ts.prototype=Object.create(tt.prototype);tp.constructor=ts,tp._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},tp.handleEvent=function(tt){var ti="on"+tt.type;this[ti]&&this[ti](tt)},tp.getSize=function(){this.size=ti(this.element)},tp.css=function(tt){var ti=this.element.style;for(var tn in tt)ti[th[tn]||tn]=tt[tn]},tp.getPosition=function(){var tt=getComputedStyle(this.element),ti=this.layout._getOption("originLeft"),tn=this.layout._getOption("originTop"),ts=tt[ti?"left":"right"],ta=tt[tn?"to
33p":"bottom"],tl=this.layout.size,tc=-1!=ts.indexOf("%")?parseFloat(ts)/100*tl.width:parseInt(ts,10),tu=-1!=ta.indexOf("%")?parseFloat(ta)/100*tl.height:parseInt(ta,10);tc=isNaN(tc)?0:tc,tu=isNaN(tu)?0:tu,tc-=ti?tl.paddingLeft:tl.paddingRight,tu-=tn?tl.paddingTop:tl.paddingBottom,this.position.x=tc,this.position.y=tu},tp.layoutPosition=function(){var tt=this.layout.size,ti={},tn=this.layout._getOption("originLeft"),ts=this.layout._getOption("originTop"),ta=tn?"paddingLeft":"paddingRight",tl=tn?"left":"right",tc=tn?"right":"left",tu=this.position.x+tt[ta];ti[tl]=this.getXValue(tu),ti[tc]="";var td=ts?"paddingTop":"paddingBottom",th=ts?"top":"bottom",tp=ts?"bottom":"top",tf=this.position.y+tt[td];ti[th]=this.getYValue(tf),ti[tp]="",this.css(ti),this.emitEvent("layout",[this])},tp.getXValue=function(tt){var ti=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!ti?tt/this.layout.size.width*100+"%":tt+"px"},tp.getYValue=function(tt){var ti=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&ti?tt/this.layout.size.height*100+"%":tt+"px"},tp._transitionTo=function(tt,ti){this.getPosition();var tn=this.position.x,ts=this.position.y,ta=parseInt(tt,10),tl=parseInt(ti,10),tc=ta===this.position.x&&tl===this.position.y;if(this.setPosition(tt,ti),tc&&!this.isTransitioning)return void this.layoutPosition();var tu=tt-tn,td=ti-ts,th={};th.transform=this.getTranslate(tu,td),this.transition({to:th,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},tp.getTranslate=function(tt,ti){var tn=this.layout._getOption("originLeft"),ts=this.layout._getOption("originTop");return"translate3d("+(tt=tn?tt:-tt)+"px, "+(ti=ts?ti:-ti)+"px, 0)"},tp.goTo=function(tt,ti){this.setPosition(tt,ti),this.layoutPosition()},tp.moveTo=tp._transitionTo,tp.setPosition=function(tt,ti){this.position.x=parseInt(tt,10),this.position.y=parseInt(ti,10)},tp._nonTransition=function(tt){for(var ti in this.css(tt.to),tt.isCleaning&&this._removeStyles(tt.to),tt.onTransitionEnd)tt.onTransitionEnd[ti].call(this)},tp.transition=function(tt){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(tt);var ti=this._transn;for(var tn in tt.onTransitionEnd)ti.onEnd[tn]=tt.onTransitionEnd[tn];for(tn in tt.to)ti.ingProperties[tn]=!0,tt.isCleaning&&(ti.clean[tn]=!0);if(tt.from){this.css(tt.from);var ts=this.element.offsetHeight;ts=null}this.enableTransition(tt.to),this.css(tt.to),this.isTransitioning=!0};var tf="opacity,"+ta(tu);tp.enableTransition=function(){if(!this.isTransitioning){var tt=this.layout.options.transitionDuration;tt="number"==typeof tt?tt+"ms":tt,this.css({transitionProperty:tf,transitionDuration:tt,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(td,this,!1)}},tp.onwebkitTransitionEnd=function(tt){this.ontransitionend(tt)},tp.onotransitionend=function(tt){this.ontransitionend(tt)};var tm={"-webkit-transform":"transform"};tp.ontransitionend=function(tt){if(tt.target===this.element){var ti=this._transn,ts=tm[tt.propertyName]||tt.propertyName;delete ti.ingProperties[ts],tn(ti.ingProperties)&&this.disableTransition(),ts in ti.clean&&(this.element.style[tt.propertyName]="",delete ti.clean[ts]),ts in ti.onEnd&&(ti.onEnd[ts].call(this),delete ti.onEnd[ts]),this.emitEvent("transitionEnd",[this])}},tp.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(td,this,!1),this.isTransitioning=!1},tp._removeStyles=function(tt){var ti={};for(var tn in tt)ti[tn]="";this.css(ti)};var tg={transitionProperty:"",transitionDuration:"",transitionDelay:""};return tp.removeTransitionStyles=function(){this.css(tg)},tp.stagger=function(tt){tt=isNaN(tt)?0:tt,this.staggerDelay=tt+"ms"},tp.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},tp.remove=function(){return tc&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},tp.reveal=function(){delete this.isHidden,this.css({display:""});var tt=this.layout.options,ti={};ti[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:tt.hiddenStyle,to:tt.visibleStyle,isCleaning:!0,onTransitionEnd:ti})},tp.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},tp.getHideRevealTransitionEndProperty=function(tt){var ti=this.layout.options[tt];if(ti.opacity)return"opacity";for(var tn in ti)return tn},tp.hide=function(){this.isHidden=!0,this.css({display:""});var tt=this.layout.options,ti={};ti[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:tt.visibleStyle,to:tt.hiddenStyle,isCleaning:!0,onTransitionEnd:ti})},tp.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},tp.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},ts}),function(tt,ti){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(tn,ts,ta,tl){return ti(tt,tn,ts,ta,tl)}):"object"==typeof module&&module.exports?module.exports=ti(tt,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):tt.Outlayer=ti(tt,tt.EvEmitter,tt.getSize,tt.fizzyUIUtils,tt.Outlayer.Item)}(window,function(tt,ti,tn,ts,ta){"use strict";function tl(tt,ti){var tn=ts.getQueryElement(tt);if(!tn)return void(td&&td.error("Bad element for "+this.constructor.namespace+": "+(tn||tt)));this.element=tn,th&&(this.$element=th(this.element)),this.options=ts.extend({},this.constructor.defaults),this.option(ti);var ta=++tf;this.element.outlayerGUID=ta,tm[ta]=this,this._create(),this._getOption("initLayout")&&this.layout()}function tc(tt){function ti(){tt.apply(this,arguments)}return ti.prototype=Object.create(tt.prototype),ti.prototype.constructor=ti,ti}function tu(tt){if("number"==typeof tt)return tt;var ti=tt.match(/(^\d*\.?\d*)(\w*)/),tn=ti&&ti[1],ts=ti&&ti[2];return tn.length?(tn=parseFloat(tn))*(tv[ts]||1):0}var td=tt.console,th=tt.jQuery,tp=function(){},tf=0,tm={};tl.namespace="outlayer",tl.Item=ta,tl.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var tg=tl.prototype;ts.extend(tg,ti.prototype),tg.option=function(tt){ts.extend(this.options,tt)},tg._getOption=function(tt){var ti=this.constructor.compatOptions[tt];return ti&&void 0!==this.options[ti]?this.options[ti]:this.options[tt]},tl.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},tg._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),ts.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},tg.reloadItems=function(){this.items=this._itemize(this.element.children)},tg._itemize=function(tt){for(var ti=this._filterFindItemElements(tt),tn=this.constructor.Item,ts=[],ta=0;ta<ti.length;ta++){var tl=ti[ta],tc=new tn(tl,this);ts.push(tc)}return ts},tg._filterFindItemElements=function(tt){return ts.filterFindElements(tt,this.options.itemSelector)},tg.getItemElements=function(){return this.items.map(function(tt){return tt.element})},tg.layout=function(){this._resetLayout(),this._manageStamps();var tt=this._getOption("layoutInstant"),ti=void 0!==tt?tt:!this._isLayoutInited;this.layoutItems(this.items,ti),this._isLayoutInited=!0}
vendor: 5,147 bytes, line 33
33,tg._init=tg.layout,tg._resetLayout=function(){this.getSize()},tg.getSize=function(){this.size=tn(this.element)},tg._getMeasurement=function(tt,ti){var ts,ta=this.options[tt];ta?("string"==typeof ta?ts=this.element.querySelector(ta):ta instanceof HTMLElement&&(ts=ta),this[tt]=ts?tn(ts)[ti]:ta):this[tt]=0},tg.layoutItems=function(tt,ti){tt=this._getItemsForLayout(tt),this._layoutItems(tt,ti),this._postLayout()},tg._getItemsForLayout=function(tt){return tt.filter(function(tt){return!tt.isIgnored})},tg._layoutItems=function(tt,ti){if(this._emitCompleteOnItems("layout",tt),tt&&tt.length){var tn=[];tt.forEach(function(tt){var ts=this._getItemLayoutPosition(tt);ts.item=tt,ts.isInstant=ti||tt.isLayoutInstant,tn.push(ts)},this),this._processLayoutQueue(tn)}},tg._getItemLayoutPosition=function(){return{x:0,y:0}},tg._processLayoutQueue=function(tt){this.updateStagger(),tt.forEach(function(tt,ti){this._positionItem(tt.item,tt.x,tt.y,tt.isInstant,ti)},this)},tg.updateStagger=function(){var tt=this.options.stagger;return null==tt?void(this.stagger=0):(this.stagger=tu(tt),this.stagger)},tg._positionItem=function(tt,ti,tn,ts,ta){ts?tt.goTo(ti,tn):(tt.stagger(ta*this.stagger),tt.moveTo(ti,tn))},tg._postLayout=function(){this.resizeContainer()},tg.resizeContainer=function(){if(this._getOption("resizeContainer")){var tt=this._getContainerSize();tt&&(this._setContainerMeasure(tt.width,!0),this._setContainerMeasure(tt.height,!1))}},tg._getContainerSize=tp,tg._setContainerMeasure=function(tt,ti){if(void 0!==tt){var tn=this.size;tn.isBorderBox&&(tt+=ti?tn.paddingLeft+tn.paddingRight+tn.borderLeftWidth+tn.borderRightWidth:tn.paddingBottom+tn.paddingTop+tn.borderTopWidth+tn.borderBottomWidth),tt=Math.max(tt,0),this.element.style[ti?"width":"height"]=tt+"px"}},tg._emitCompleteOnItems=function(tt,ti){function tn(){ta.dispatchEvent(tt+"Complete",null,[ti])}function ts(){++tc==tl&&tn()}var ta=this,tl=ti.length;if(!ti||!tl)return void tn();var tc=0;ti.forEach(function(ti){ti.once(tt,ts)})},tg.dispatchEvent=function(tt,ti,tn){var ts=ti?[ti].concat(tn):tn;if(this.emitEvent(tt,ts),th){if(this.$element=this.$element||th(this.element),ti){var ta=th.Event(ti);ta.type=tt,this.$element.trigger(ta,tn)}else this.$element.trigger(tt,tn)}},tg.ignore=function(tt){var ti=this.getItem(tt);ti&&(ti.isIgnored=!0)},tg.unignore=function(tt){var ti=this.getItem(tt);ti&&delete ti.isIgnored},tg.stamp=function(tt){(tt=this._find(tt))&&(this.stamps=this.stamps.concat(tt),tt.forEach(this.ignore,this))},tg.unstamp=function(tt){(tt=this._find(tt))&&tt.forEach(function(tt){ts.removeFrom(this.stamps,tt),this.unignore(tt)},this)},tg._find=function(tt){return tt?("string"==typeof tt&&(tt=this.element.querySelectorAll(tt)),tt=ts.makeArray(tt)):void 0},tg._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},tg._getBoundingRect=function(){var tt=this.element.getBoundingClientRect(),ti=this.size;this._boundingRect={left:tt.left+ti.paddingLeft+ti.borderLeftWidth,top:tt.top+ti.paddingTop+ti.borderTopWidth,right:tt.right-(ti.paddingRight+ti.borderRightWidth),bottom:tt.bottom-(ti.paddingBottom+ti.borderBottomWidth)}},tg._manageStamp=tp,tg._getElementOffset=function(tt){var ti=tt.getBoundingClientRect(),ts=this._boundingRect,ta=tn(tt);return{left:ti.left-ts.left-ta.marginLeft,top:ti.top-ts.top-ta.marginTop,right:ts.right-ti.right-ta.marginRight,bottom:ts.bottom-ti.bottom-ta.marginBottom}},tg.handleEvent=ts.handleEvent,tg.bindResize=function(){tt.addEventListener("resize",this),this.isResizeBound=!0},tg.unbindResize=function(){tt.removeEventListener("resize",this),this.isResizeBound=!1},tg.onresize=function(){this.resize()},ts.debounceMethod(tl,"onresize",100),tg.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},tg.needsResizeLayout=function(){var tt=tn(this.element);return this.size&&tt&&tt.innerWidth!==this.size.innerWidth},tg.addItems=function(tt){var ti=this._itemize(tt);return ti.length&&(this.items=this.items.concat(ti)),ti},tg.appended=function(tt){var ti=this.addItems(tt);ti.length&&(this.layoutItems(ti,!0),this.reveal(ti))},tg.prepended=function(tt){var ti=this._itemize(tt);if(ti.length){var tn=this.items.slice(0);this.items=ti.concat(tn),this._resetLayout(),this._manageStamps(),this.layoutItems(ti,!0),this.reveal(ti),this.layoutItems(tn)}},tg.reveal=function(tt){if(this._emitCompleteOnItems("reveal",tt),tt&&tt.length){var ti=this.updateStagger();tt.forEach(function(tt,tn){tt.stagger(tn*ti),tt.reveal()})}},tg.hide=function(tt){if(this._emitCompleteOnItems("hide",tt),tt&&tt.length){var ti=this.updateStagger();tt.forEach(function(tt,tn){tt.stagger(tn*ti),tt.hide()})}},tg.revealItemElements=function(tt){var ti=this.getItems(tt);this.reveal(ti)},tg.hideItemElements=function(tt){var ti=this.getItems(tt);this.hide(ti)},tg.getItem=function(tt){for(var ti=0;ti<this.items.length;ti++){var tn=this.items[ti];if(tn.element==tt)return tn}},tg.getItems=function(tt){tt=ts.makeArray(tt);var ti=[];return tt.forEach(function(tt){var tn=this.getItem(tt);tn&&ti.push(tn)},this),ti},tg.remove=function(tt){var ti=this.getItems(tt);
33this._emitCompleteOnItems("remove",ti),ti&&ti.length&&ti.forEach(function(tt){tt.remove(),ts.removeFrom(this.items,tt)},this)},tg.destroy=function(){var tt=this.element.style;tt.height="",tt.position="",tt.width="",this.items.forEach(function(tt){tt.destroy()}),this.unbindResize();var ti=this.element.outlayerGUID;delete tm[ti],delete this.element.outlayerGUID,th&&th.removeData(this.element,this.constructor.namespace)},tl.data=function(tt){var ti=(tt=ts.getQueryElement(tt))&&tt.outlayerGUID;return ti&&tm[ti]},tl.create=function(tt,ti){var tn=tc(tl);return tn.defaults=ts.extend({},tl.defaults),ts.extend(tn.defaults,ti),tn.compatOptions=ts.extend({},tl.compatOptions),tn.namespace=tt,tn.data=tl.data,tn.Item=tc(ta),ts.htmlInit(tn,tt),th&&th.bridget&&th.bridget(tt,tn),tn};var tv={ms:1,s:1e3};return tl.Item=ta,tl}),function(tt,ti){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],ti):"object"==typeof module&&module.exports?module.exports=ti(require("outlayer"),require("get-size")):tt.Masonry=ti(tt.Outlayer,tt.getSize)}(window,function(tt,ti){var tn=tt.create("masonry");return tn.compatOptions.fitWidth="isFitWidth",tn.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var tt=0;tt<this.cols;tt++)this.colYs.push(0);this.maxY=0},tn.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var tt=this.items[0],tn=tt&&tt.element;this.columnWidth=tn&&ti(tn).outerWidth||this.containerWidth}var ts=this.columnWidth+=this.gutter,ta=this.containerWidth+this.gutter,tl=ta/ts,tc=ts-ta%ts;tl=Math[tc&&1>tc?"round":"floor"](tl),this.cols=Math.max(tl,1)},tn.prototype.getContainerWidth=function(){var tt=ti(this._getOption("fitWidth")?this.element.parentNode:this.element);this.containerWidth=tt&&tt.innerWidth},tn.prototype._getItemLayoutPosition=function(tt){tt.getSize();var ti=tt.size.outerWidth%this.columnWidth,tn=Math[ti&&1>ti?"round":"ceil"](tt.size.outerWidth/this.columnWidth);tn=Math.min(tn,this.cols);for(var ts=this._getColGroup(tn),ta=Math.min.apply(Math,ts),tl=ts.indexOf(ta),tc={x:this.columnWidth*tl,y:ta},tu=ta+tt.size.outerHeight,td=this.cols+1-ts.length,th=0;td>th;th++)this.colYs[tl+th]=tu;return tc},tn.prototype._getColGroup=function(tt){if(2>tt)return this.colYs;for(var ti=[],tn=this.cols+1-tt,ts=0;tn>ts;ts++){var ta=this.colYs.slice(ts,ts+tt);ti[ts]=Math.max.apply(Math,ta)}return ti},tn.prototype._manageStamp=function(tt){var tn=ti(tt),ts=this._getElementOffset(tt),ta=this._getOption("originLeft")?ts.left:ts.right,tl=ta+tn.outerWidth,tc=Math.floor(ta/this.columnWidth);tc=Math.max(0,tc);var tu=Math.floor(tl/this.columnWidth);tu-=tl%this.columnWidth?0:1,tu=Math.min(this.cols-1,tu);for(var td=this._getOption("originTop"),th=(td?ts.top:ts.bottom)+tn.outerHeight,tp=tc;tu>=tp;tp++)this.colYs[tp]=Math.max(th,this.colYs[tp])},tn.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var tt={height:this.maxY};return this._getOption("fitWidth")&&(tt.width=this._getContainerFitWidth()),tt},tn.prototype._getContainerFitWidth=function(){for(var tt=0,ti=this.cols;--ti&&0===this.colYs[ti];)tt++;return(this.cols-tt)*this.columnWidth-this.gutter},tn.prototype.needsResizeLayout=function(){var tt=this.containerWidth;return this.getContainerWidth(),tt!=this.containerWidth},tn}),function(tt){"use strict";var ti=function(ti,tn){this.$el=tt(ti),this.options=tn,this.init()};ti.prototype.init=function(){var tt=this.$el.masonry(this.options);tt.imagesLoaded().progress(function(){tt.masonry("layout")})},ti.DEFAULTS={itemSelector:".grid-item",percentPosition:!0};var tn=tt.fn.masonryFunction;tt.fn.masonryFunction=function(tn){var ts=Array.prototype.slice.call(arguments,1),ta=void 0;return this.each(function(){var tl=tt(this),tc=tt.extend({},ti.DEFAULTS,tl.data(),"object"==typeof tn&&tn),tu=new ti(this,tc);if("string"==typeof tn&&(ta=tu[tn].apply(tu,ts)),void 0!==ta)return!1}),ta||this},tt.fn.masonryFunction.Constructor=ti,tt.fn.masonryFunction.noConflict=function(){return tt.fn.masonryFunction=tn,this}}(window.jQuery),!hs){var hs={lang:{cssDirection:"ltr",loadingText:"Loading...",loadingTitle:"Click to cancel",focusTitle:"Click to bring to front",fullExpandTitle:"Expand to actual size (f)",creditsText:"Powered by <i>Highslide JS</i>
33",creditsTitle:"Go to the Highslide JS homepage",previousText:"Previous",nextText:"Next",moveText:"Move",closeText:"Close",closeTitle:"Close (esc)",resizeTitle:"Resize",playText:"Play",playTitle:"Play slideshow (spacebar)",pauseText:"Pause",pauseTitle:"Pause slideshow (spacebar)",previousTitle:"Previous (arrow left)",nextTitle:"Next (arrow right)",moveTitle:"Move",fullExpandText:"1:1",number:"Image %1 of %2",restoreTitle:"Click to close image, click and drag to move. Use arrow keys for next and previous."},graphicsDir:"highslide/graphics/",expandCursor:"zoomin.cur",restoreCursor:"zoomout.cur",expandDuration:250,restoreDuration:250,marginLeft:15,marginRight:15,marginTop:15,marginBottom:15,zIndexCounter:1001,loadingOpacity:.75,allowMultipleInstances:!0,numberOfImagesToPreload:5,outlineWhileAnimating:2,outlineStartOffset:3,padToMinWidth:!1,fullExpandPosition:"bottom right",fullExpandOpacity:1,showCredits:!0,creditsHref:"http://highslide.com/",creditsTarget:"_self",enableKeyListener:!0,openerTagNames:["a","area"],transitions:[],transitionDuration:250,dimmingOpacity:0,dimmingDuration:50,allowWidthReduction:!1,allowHeightReduction:!0,preserveContent:!0,objectLoadTime:"before",cacheAjax:!0,anchor:"auto",align:"auto",targetX:null,targetY:null,dragByHeading:!0,minWidth:200,minHeight:200,allowSizeReduction:!0,outlineType:"drop-shadow",skin:{controls:'<div class="highslide-controls"><ul><li class="highslide-previous"><a href="#" title="{hs.lang.previousTitle}"><span>{hs.lang.previousText}</span></a></li><li class="highslide-play"><a href="#" title="{hs.lang.playTitle}"><span>{hs.lang.playText}</span></a></li><li class="highslide-pause"><a href="#" title="{hs.lang.pauseTitle}"><span>{hs.lang.pauseText}</span></a></li><li class="highslide-next"><a href="#" title="{hs.lang.nextTitle}"><span>{hs.lang.nextText}</span></a></li><li class="highslide-move"><a href="#" title="{hs.lang.moveTitle}"><span>{hs.lang.moveText}</span></a></li><li class="highslide-full-expand"><a href="#" title="{hs.lang.fullExpandTitle}"><span>{hs.lang.fullExpandText}</span></a></li><li class="highslide-close"><a href="#" title="{hs.lang.closeTitle}" ><span>{hs.lang.closeText}</span></a></li></ul></div>',contentWrapper:'<div class="highslide-header"><ul><li class="highslide-previous"><a href="#" title="{hs.lang.previousTitle}" onclick="return hs.previous(this)"><span>{hs.lang.previousText}</span></a></li><li class="highslide-next"><a href="#" title="{hs.lang.nextTitle}" onclick="return hs.next(this)"><span>{hs.lang.nextText}</span></a></li><li class="highslide-move"><a href="#" title="{hs.lang.moveTitle}" onclick="return false"><span>{hs.lang.moveText}</span></a></li><li class="highslide-close"><a href="#" title="{hs.lang.closeTitle}" onclick="return hs.close(this)"><span>{hs.lang.closeText}</span></a></li></ul></div><div class="highslide-body"></div><div class="highslide-footer"><div><span class="highslide-resize" title="{hs.lang.resizeTitle}"><span></span></span></div></div>'},preloadTheseImages:[],continuePreloading:!0,expanders:[],overrides:["allowSizeReduction","useBox","anchor","align","targetX","targetY","outlineType","outlineWhileAnimating","captionId","captionText","captionEval","captionOverlay","headingId","headingText","headingEval","headingOverlay","creditsPosition","dragByHeading","autoplay","numberPosition","transitions","dimmingOpacity","width","height","contentId","allowWidthReduction","allowHeightReduction","preserveContent","maincontentId","maincontentText","maincontentEval","objectType","cacheAjax","objectWidth","objectHeight","objectLoadTime","swfOptions","wrapperClassName","minWidth","minHeight","maxWidth","maxHeight","pageOrigin","slideshowGroup","easing","easingClose","fadeInOut","src"],overlays:[],idCounter:0,oPos:{x:["leftpanel","left","center","right","rightpanel"],y:["above","top","middle","bottom","below"]},mouse:{},headingOverlay:{},captionOverlay:{},swfOptions:{flashvars:{},params:{},attributes:{}},timers:[],slideshows:[],tabbables:[],pendingOutlines:{},sleeping:[],preloadTheseAjax:[],cacheBindings:[],cachedGets:{},clones:{},onReady:[],nextActive:0,uaVersion:document.documentMode||parseFloat((navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1]),ie:document.all&&!window.opera,safari:/Safari/.test(navigator.userAgent),geckoMac:/Macintosh.+rv:1\.[0-8].+Gecko/.test(navigator.userAgent),$:function(tt){if(tt)return document.getElementById(tt)},push:function(tt,ti){tt[tt.length]=ti},createElement:function(tt,ti,tn,ts,ta){var tl=document.createElement(tt);return ti&&hs.extend(tl,ti),ta&&hs.setStyles(tl,{padding:0,border:"none",margin:0}),tn&&hs.setStyles(tl,tn),ts&&ts.appendChild(tl),tl},extend:function(tt,ti){for(var tn in ti)tt[tn]=ti[tn];return tt},setStyles:function(tt,ti){for(var tn in ti)hs.ieLt9&&"opacity"==tn?ti[tn]>.99?tt.style.removeAttribute("filter"):tt.style.filter="alpha(opacity="+100*ti[tn]+")":tt.style[tn]=ti[tn]},animate:function(tt,ti,tn){var ts,ta,tl;if("object"!=typeof tn||null===tn){var tc=arguments;tn={duration:tc[2],easing:tc[3],complete:tc[4]}}for(var tu in"number"!=typeof tn.duration&&(tn.duration=250),tn.easing=Math[tn.easing]||Math.easeInQuad,tn.curAnim=hs.extend({},ti),ti){var td=new hs.fx(tt,tn,tu);ts=parseFloat(hs.css(tt,tu))||0,ta=parseFloat(ti[tu]),tl="opacity"!=tu?"px":"",td.custom(ts,ta,tl)}},css:function(tt,ti){if(tt.style[ti])return tt.style[ti];if(document.defaultView)return document.defaultView.getComputedStyle(tt,null).getPropertyValue(ti);"opacity"==ti&&(ti="filter");var tn=tt.currentStyle[ti.replace(/\-(\w)/g,function(tt,ti){return ti.toUpperCase()})];return"filter"==ti&&(tn=tn.replace(/alpha\(opacity=([0-9]+)\)/,function(tt,ti){return ti/100})),""===tn?1:tn},getPageSize:function(){var tt=document,ti=(window,tt.compatMode&&"BackCompat"!=tt.compatMode?tt.documentElement:tt.body),tn=hs.ie&&(hs.uaVersion<9||"undefined"==typeof pageXOffset),ts=tn?ti.clientWidth:tt.documentElement.clientWidth||self.innerWidth,ta=tn?ti.clientHeight:self.innerHe
33ight;return hs.page={width:ts,height:ta,scrollLeft:tn?ti.scrollLeft:pageXOffset,scrollTop:tn?ti.scrollTop:pageYOffset},hs.page},getPosition:function(tt){if(/area/i.test(tt.tagName))for(var ti=document.getElementsByTagName("img"),tn=0;tn<ti.length;tn++){var ts=ti[tn].useMap;if(ts&&ts.replace(/^.*?#/,"")==tt.parentNode.name){tt=ti[tn];break}}for(var ta={x:tt.offsetLeft,y:tt.offsetTop};tt.offsetParent;)tt=tt.offsetParent,ta.x+=tt.offsetLeft,ta.y+=tt.offsetTop,tt!=document.body&&tt!=document.documentElement&&(ta.x-=tt.scrollLeft,ta.y-=tt.scrollTop);return ta},expand:function(tt,ti,tn,ts){if(hs.params=ti,tt||(tt=hs.createElement("a",null,{display:"none"},hs.container)),"function"==typeof tt.getParams)return ti;if("html"==ts){for(var ta=0;ta<hs.sleeping.length;ta++)if(hs.sleeping[ta]&&hs.sleeping[ta].a==tt)return hs.sleeping[ta].awake(),hs.sleeping[ta]=null,!1;hs.hasHtmlExpanders=!0}try{return new hs.Expander(tt,ti,tn,ts),!1}catch(tt){return!0}},makeVideoId:function(){return"vidid"+Math.floor(Date.now()/1e3)},createVideoHtml:function(tt){var ti,tn;return tn=(ti=$(window).width()/2)/(16/9),'<video id="'+tt+'" class="video-js vjs-default-skin vjs-big-play-centered" controls preload="auto" width=" '+ti+'" height=" '+tn+'"></video>'},loadVideo:function(tt,ti){var tn={};tn.src=tt.videoUrl,"youtube"==tt.host&&(tn.techOrder=["youtube"],tn.sources=[{type:"video/youtube",src:tt.videoUrl}]),"vimeo"==tt.host&&(tn.techOrder=["vimeo"],tn.sources=[{type:"video/vimeo",src:tt.videoUrl}]),"local"==tt.host&&(tn.sources=[{src:tt.videoUrl}]),videojs($("#"+ti)[0],tn,function(){})},htmlExpand:function(tt,ti,tn){return hs.expand(tt,ti,tn,"html")},getSelfRendered:function(){return hs.createElement("div",{className:"highslide-html-content",innerHTML:hs.replaceLang(hs.skin.contentWrapper)})},getElementByClass:function(tt,ti,tn){for(var ts=tt.getElementsByTagName(ti),ta=0;ta<ts.length;ta++)if(new RegExp(tn).test(ts[ta].className))return ts[ta];return null},replaceLang:function(tt){tt=tt.replace(/\s/g," ");var ti,tn=/{hs\.lang\.([^}]+)\}/g,ts=tt.match(tn);if(ts)for(var ta=0;ta<ts.length;ta++)ti=ts[ta].replace(tn,"$1"),void 0!==hs.lang[ti]&&(tt=tt.replace(ts[ta],hs.lang[ti]));return tt},setClickEvents:function(){for(var tt=document.getElementsByTagName("a"),ti=0;ti<tt.length;ti++){var tn=hs.isUnobtrusiveAnchor(tt[ti]);tn&&!tt[ti].hsHasSetClick&&(!function(){var ts=tn;hs.fireEvent(hs,"onSetClickEvent",{element:tt[ti],type:ts})&&(tt[ti].onclick="image"==tn?function(){return hs.expand(this)}:function(){return hs.htmlExpand(this,{objectType:ts})})}(),tt[ti].hsHasSetClick=!0)}hs.getAnchors()},isUnobtrusiveAnchor:function(tt){return"highslide"==tt.rel?"image":"highslide-ajax"==tt.rel?"ajax":"highslide-iframe"==tt.rel?"iframe":"highslide-swf"==tt.rel?"swf":void 0},getCacheBinding:function(tt){for(var ti=0;ti<hs.cacheBindings.length;ti++)if(hs.cacheBindings[ti][0]==tt){var tn=hs.cacheBindings[ti][1];return hs.cacheBindings[ti][1]=tn.cloneNode(1),tn}return null},preloadAjax:function(tt){for(var ti=hs.getAnchors(),tn=0;tn<ti.htmls.length;tn++){var ts=ti.htmls[tn];"ajax"==hs.getParam(ts,"objectType")&&hs.getParam(ts,"cacheAjax")&&hs.push(hs.preloadTheseAjax,ts)}hs.preloadAjaxElement(0)},preloadAjaxElement:function(tt){if(hs.preloadTheseAjax[tt]){var ti=hs.preloadTheseAjax[tt],tn=hs.getNode(hs.getParam(ti,"contentId"));tn||(tn=hs.getSelfRendered());var ts=new hs.Ajax(ti,tn,1);ts.onError=function(){},ts.onLoad=function(){hs.push(hs.cacheBindings,[ti,tn]),hs.preloadAjaxElement(tt+1)},ts.run()}},focusTopmost:function(){for(var tt,ti,tn=0,ts=-1,ta=hs.expanders,tl=0;tl<ta.length;tl++)(tt=ta[tl])&&(ti=tt.wrapper.style.zIndex)&&ti>tn&&(tn=ti,ts=tl);-1==ts?hs.focusKey=-1:ta[ts].focus()},getParam:function(tt,ti){tt.getParams=tt.onclick;var tn=tt.getParams?tt.getParams():null;return tt.getParams=null,tn&&void 0!==tn[ti]?tn[ti]:void 0!==hs[ti]?hs[ti]:null},getSrc:function(tt){return hs.getParam(tt,"src")||tt.href},getNode:function(tt){var ti=hs.$(tt),tn=hs.clones[tt];return ti||tn?tn?tn.cloneNode(!0):((tn=ti.cloneNode(!0)).id="",hs.clones[tt]=tn,ti):null},discardElement:function(tt){tt&&hs.garbageBin.appendChild(tt),hs.garbageBin.innerHTML=""},dim:function(tt){if(!hs.dimmer&&(ts=!0,hs.dimmer=hs.createElement("div",{className:"highsli
33de-dimming highslide-viewport-size",owner:"",onclick:function(){hs.fireEvent(hs,"onDimmerClick")&&hs.close()}},{visibility:"visible",opacity:0},hs.container,!0),/(Android|iPad|iPhone|iPod)/.test(navigator.userAgent))){var ti=document.body;function tn(){hs.setStyles(hs.dimmer,{width:ti.scrollWidth+"px",height:ti.scrollHeight+"px"})}tn(),hs.addEventListener(window,"resize",tn)}hs.dimmer.style.display="";var ts=""==hs.dimmer.owner;hs.dimmer.owner+="|"+tt.key,ts&&(hs.geckoMac&&hs.dimmingGeckoFix?hs.setStyles(hs.dimmer,{background:"url("+hs.graphicsDir+"geckodimmer.png)",opacity:1}):hs.animate(hs.dimmer,{opacity:tt.dimmingOpacity},hs.dimmingDuration))},undim:function(tt){hs.dimmer&&(void 0!==tt&&(hs.dimmer.owner=hs.dimmer.owner.replace("|"+tt,"")),void 0!==tt&&""!=hs.dimmer.owner||hs.upcoming&&hs.getParam(hs.upcoming,"dimmingOpacity")||(hs.geckoMac&&hs.dimmingGeckoFix?hs.dimmer.style.display="none":hs.animate(hs.dimmer,{opacity:0},hs.dimmingDuration,null,function(){hs.dimmer.style.display="none"})))},transit:function(tt,ti){var tn=ti||hs.getExpander();if(ti=tn,hs.upcoming)return!1;hs.last=tn,hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);try{hs.upcoming=tt,tt.onclick()}catch(tt){hs.last=hs.upcoming=null}try{tt&&"crossfade"==ti.transitions[1]||ti.close()}catch(tt){}return!1},previousOrNext:function(tt,ti){var tn=hs.getExpander(tt);return!!tn&&hs.transit(tn.getAdjacentAnchor(ti),tn)},previous:function(tt){return hs.previousOrNext(tt,-1)},next:function(tt){return hs.previousOrNext(tt,1)},keyHandler:function(tt){if(tt||(tt=window.event),tt.target||(tt.target=tt.srcElement),void 0!==tt.target.form||!hs.fireEvent(hs,"onKeyDown",tt))return!0;var ti=hs.getExpander(),tn=null;switch(tt.keyCode){case 70:return ti&&ti.doFullExpand(),!0;case 32:tn=2;break;case 34:case 39:case 40:tn=1;break;case 8:case 33:case 37:case 38:tn=-1;break;case 27:ti.close();case 13:tn=0}if(null!==tn){if(2!=tn&&hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler),!hs.enableKeyListener)return!0;if(tt.preventDefault?tt.preventDefault():tt.returnValue=!1,ti)return 0==tn?$(":focus").click():2==tn?ti.slideshow&&ti.slideshow.hitSpace():(ti.slideshow&&ti.slideshow.pause(),hs.previousOrNext(ti.key,tn)),!1}return!0},registerOverlay:function(tt){hs.push(hs.overlays,hs.extend(tt,{hsId:"hsId"+hs.idCounter++}))},addSlideshow:function(tt){var ti=tt.slideshowGroup;if("object"==typeof ti)for(var tn=0;tn<ti.length;tn++){var ts={};for(var ta in tt)ts[ta]=tt[ta];ts.slideshowGroup=ti[tn],hs.push(hs.slideshows,ts)}else hs.push(hs.slideshows,tt)},getWrapperKey:function(tt,ti){var tn,ts=/^highslide-wrapper-([0-9]+)$/;for(tn=tt;tn.parentNode;){if(void 0!==tn.hsKey)return tn.hsKey;if(tn.id&&ts.test(tn.id))return tn.id.replace(ts,"$1");tn=tn.parentNode}if(!ti)for(tn=tt;tn.parentNode;){if(tn.tagName&&hs.isHsAnchor(tn))for(var ta=0;ta<hs.expanders.length;ta++){var tl=hs.expanders[ta];if(tl&&tl.a==tn)return ta}tn=tn.parentNode}return null},getExpander:function(tt,ti){return void 0===tt?hs.expanders[hs.focusKey]||null:"number"==typeof tt?hs.expanders[tt]||null:("string"==typeof tt&&(tt=hs.$(tt)),hs.expanders[hs.getWrapperKey(tt,ti)]||null)},isHsAnchor:function(tt){return tt.onclick&&tt.onclick.toString().replace(/\s/g," ").match(/hs.(htmlE|e)xpand/)},reOrder:function(){for(var tt=0;tt<hs.expanders.length;tt++)hs.expanders[tt]&&hs.expanders[tt].isExpanded&&hs.focusTopmost()},fireEvent:function(tt,ti,tn){return!tt||!tt[ti]||!1!==tt[ti](tt,tn)},mouseClickHandler:function(tt){if(tt||(tt=window.event),tt.button>1)return!0;tt.target||(tt.target=tt.srcElement);for(var ti=tt.target;ti.parentNode&&!/highslide-(image|move|html|resize)/.test(ti.className);)ti=ti.parentNode;var tn=hs.getExpander(ti);if(tn&&(tn.isClosing||!tn.isExpanded))return!0;if(tn&&"mousedown"==tt.type){if(tt.target.form)return!0;var ts=ti.className.match(/highslide-(image|move|resize)/);ts?(hs.dragArgs={exp:tn,type:ts[1],left:tn.x.pos,width:tn.x.size,top:tn.y.pos,height:tn.y.size,clickX:tt.clientX,clickY:tt.clientY},hs.addEventListener(document,"mousemove",hs.dragHandler),tt.preventDefault&&tt.preventDefault(),/highslide-(image|html)-blur/.test(tn.c
33ontent.className)&&(tn.focus(),hs.hasFocused=!0)):/highslide-html/.test(ti.className)&&hs.focusKey!=tn.key&&(tn.focus(),tn.doShowHide("hidden"))}else if("mouseup"==tt.type){if(hs.removeEventListener(document,"mousemove",hs.dragHandler),hs.dragArgs){hs.styleRestoreCursor&&"image"==hs.dragArgs.type&&(hs.dragArgs.exp.content.style.cursor=hs.styleRestoreCursor);var ta=hs.dragArgs.hasDragged;ta||hs.hasFocused||/(move|resize)/.test(hs.dragArgs.type)?(ta||!ta&&hs.hasHtmlExpanders)&&hs.dragArgs.exp.doShowHide("hidden"):hs.fireEvent(tn,"onImageClick")&&tn.close(),hs.dragArgs.exp.releaseMask&&(hs.dragArgs.exp.releaseMask.style.display="none"),ta&&hs.fireEvent(hs.dragArgs.exp,"onDrop",hs.dragArgs),hs.hasFocused=!1,hs.dragArgs=null}else/highslide-image-blur/.test(ti.className)&&(ti.style.cursor=hs.styleRestoreCursor)}return!1},dragHandler:function(tt){if(!hs.dragArgs)return!0;tt||(tt=window.event);var ti=hs.dragArgs,tn=ti.exp;tn.iframe&&(tn.releaseMask||(tn.releaseMask=hs.createElement("div",null,{position:"absolute",width:tn.x.size+"px",height:tn.y.size+"px",left:tn.x.cb+"px",top:tn.y.cb+"px",zIndex:4,background:hs.ieLt9?"white":"none",opacity:.01},tn.wrapper,!0)),"none"==tn.releaseMask.style.display&&(tn.releaseMask.style.display="")),ti.dX=tt.clientX-ti.clickX,ti.dY=tt.clientY-ti.clickY;var ts=Math.sqrt(Math.pow(ti.dX,2)+Math.pow(ti.dY,2));if(ti.hasDragged||(ti.hasDragged="image"!=ti.type&&ts>0||ts>(hs.dragSensitivity||5)),ti.hasDragged&&tt.clientX>5&&tt.clientY>5){if(!hs.fireEvent(tn,"onDrag",ti))return!1;"resize"==ti.type?tn.resize(ti):(tn.moveTo(ti.left+ti.dX,ti.top+ti.dY),"image"==ti.type&&(tn.content.style.cursor="move"))}return!1},wrapperMouseHandler:function(tt){try{tt||(tt=window.event);var ti=/mouseover/i.test(tt.type);tt.target||(tt.target=tt.srcElement),tt.relatedTarget||(tt.relatedTarget=ti?tt.fromElement:tt.toElement);var tn=hs.getExpander(tt.target);if(!tn.isExpanded||!tn||!tt.relatedTarget||hs.getExpander(tt.relatedTarget,!0)==tn||hs.dragArgs)return;hs.fireEvent(tn,ti?"onMouseOver":"onMouseOut",tt);for(var ts=0;ts<tn.overlays.length;ts++)!function(){var tt=hs.$("hsId"+tn.overlays[ts]);tt&&tt.hideOnMouseOut&&(ti&&hs.setStyles(tt,{visibility:"visible",display:""}),hs.animate(tt,{opacity:ti?tt.opacity:0},tt.dur))}()}catch(tt){}},addEventListener:function(tt,ti,tn){tt==document&&"ready"==ti&&hs.push(hs.onReady,tn);try{tt.addEventListener(ti,tn,!1)}catch(ts){try{tt.detachEvent("on"+ti,tn),tt.attachEvent("on"+ti,tn)}catch(ts){tt["on"+ti]=tn}}},removeEventListener:function(tt,ti,tn){try{tt.removeEventListener(ti,tn,!1)}catch(ts){try{tt.detachEvent("on"+ti,tn)}catch(tn){tt["on"+ti]=null}}},preloadFullImage:function(tt){if(hs.continuePreloading&&hs.preloadTheseImages[tt]&&"undefined"!=hs.preloadTheseImages[tt]){var ti=document.createElement("img");ti.onload=function(){ti=null,hs.preloadFullImage(tt+1)},ti.src=hs.preloadTheseImages[tt]}},preloadImages:function(tt){tt&&"object"!=typeof tt&&(hs.numberOfImagesToPreload=tt);for(var ti=hs.getAnchors(),tn=0;tn<ti.images.length&&tn<hs.numberOfImagesToPreload;tn++)hs.push(hs.preloadTheseImages,hs.getSrc(ti.images[tn]));hs.outlineType?new hs.Outline(hs.outlineType,function(){hs.preloadFullImage(0)}):hs.preloadFullImage(0),hs.restoreCursor&&hs.createElement("img",{src:hs.graphicsDir+hs.restoreCursor})},init:function(){if(!hs.container){for(var tt in hs.ieLt7=hs.ie&&hs.uaVersion<7,hs.ieLt9=hs.ie&&hs.uaVersion<9,hs.getPageSize(),hs.ie6SSL=hs.ieLt7&&"https:"==location.protocol,hs.langDefaults)void 0!==hs[tt]?hs.lang[tt]=hs[tt]:void 0===hs.lang[tt]&&void 0!==hs.langDefaults[tt]&&(hs.lang[tt]=hs.langDefaults[tt]);hs.container=hs.createElement("div",{className:"highslide-container"},{position:"absolute",left:0,top:0,width:"100%",zIndex:hs.zIndexCounter,direction:"ltr"},document.body,!0),hs.loading=hs.createElement("a",{className:"highslide-loading",title:hs.lang.loadingTitle,innerHTML:hs.lang.loadingText,href:"javascript:;"},{position:"absolute",top:"-9999px",opacity:hs.loadingOpacity,zIndex:1},hs.container),hs.garbageBin=hs.createElement("div",null,{display:"none"},hs.container),hs.viewport=hs.createElement("div",{className:"highsli
33de-viewport highslide-viewport-size"},{visibility:hs.safari&&hs.uaVersion<525?"visible":"hidden"},hs.container,1),hs.clearing=hs.createElement("div",null,{clear:"both",paddingTop:"1px"},null,!0),Math.linearTween=function(tt,ti,tn,ts){return tn*tt/ts+ti},Math.easeInQuad=function(tt,ti,tn,ts){return tn*(tt/=ts)*tt+ti},Math.easeOutQuad=function(tt,ti,tn,ts){return-tn*(tt/=ts)*(tt-2)+ti},hs.hideSelects=hs.ieLt7,hs.hideIframes=window.opera&&hs.uaVersion<9||"KDE"==navigator.vendor||hs.ieLt7&&hs.uaVersion<5.5,hs.fireEvent(this,"onActivate")}},ready:function(){if(!hs.isReady){hs.isReady=!0;for(var tt=0;tt<hs.onReady.length;tt++)hs.onReady[tt]()}},updateAnchors:function(){for(var tt,ti,tn,ts=[],ta=[],tl=[],tc={},tu=0;tu<hs.openerTagNames.length;tu++){ti=document.getElementsByTagName(hs.openerTagNames[tu]);for(var td=0;td<ti.length;td++)if(tt=ti[td],tn=hs.isHsAnchor(tt)){hs.push(ts,tt),"hs.expand"==tn[0]?hs.push(ta,tt):"hs.htmlExpand"==tn[0]&&hs.push(tl,tt);var th=hs.getParam(tt,"slideshowGroup")||"none";tc[th]||(tc[th]=[]),hs.push(tc[th],tt)}}return hs.anchors={all:ts,groups:tc,images:ta,htmls:tl},hs.anchors},getAnchors:function(){return hs.anchors||hs.updateAnchors()},close:function(tt){$("body").unbind("keydown");var ti=hs.getExpander(tt);return ti&&ti.close(),!1}};hs.fx=function(tt,ti,tn){this.options=ti,this.elem=tt,this.prop=tn,ti.orig||(ti.orig={})},hs.fx.prototype={update:function(){(hs.fx.step[this.prop]||hs.fx.step._default)(this),this.options.step&&this.options.step.call(this.elem,this.now,this)},custom:function(tt,ti,tn){this.startTime=new Date().getTime(),this.start=tt,this.end=ti,this.unit=tn,this.now=this.start,this.pos=this.state=0;var ts=this;function ta(tt){return ts.step(tt)}ta.elem=this.elem,ta()&&1==hs.timers.push(ta)&&(hs.timerId=setInterval(function(){for(var tt=hs.timers,ti=0;ti<tt.length;ti++)tt[ti]()||tt.splice(ti--,1);tt.length||clearInterval(hs.timerId)},13))},step:function(tt){var ti=new Date().getTime();if(tt||ti>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;var tn=!0;for(var ts in this.options.curAnim)!0!==this.options.curAnim[ts]&&(tn=!1);return tn&&this.options.complete&&this.options.complete.call(this.elem),!1}var ta=ti-this.startTime;return this.state=ta/this.options.duration,this.pos=this.options.easing(ta,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update(),!0}},hs.extend(hs.fx,{step:{opacity:function(tt){hs.setStyles(tt.elem,{opacity:tt.now})},_default:function(tt){try{tt.elem.style&&null!=tt.elem.style[tt.prop]?tt.elem.style[tt.prop]=tt.now+tt.unit:tt.elem[tt.prop]=tt.now}catch(tt){}}}}),hs.Outline=function(tt,ti){if(this.onLoad=ti,this.outlineType=tt,hs.uaVersion,this.hasAlphaImageLoader=hs.ie&&hs.uaVersion<7,!tt){ti&&ti();return}hs.init(),this.table=hs.createElement("table",{cellSpacing:0},{visibility:"hidden",position:"absolute",borderCollapse:"collapse",width:0},hs.container,!0);var tn,ts=hs.createElement("tbody",null,null,this.table,1);this.td=[];for(var ta=0;ta<=8;ta++){ta%3==0&&(tn=hs.createElement("tr",null,{height:"auto"},ts,!0)),this.td[ta]=hs.createElement("td",null,null,tn,!0);var tl=4!=ta?{lineHeight:0,fontSize:0}:{position:"relative"};hs.setStyles(this.td[ta],tl)}this.td[4].className=tt+" highslide-outline",this.preloadGraphic()},hs.Outline.prototype={preloadGraphic:function(){var tt=hs.graphicsDir+(hs.outlinesDir||"outlines/")+this.outlineType+".png",ti=hs.safari&&hs.uaVersion<525?hs.container:null;this.graphic=hs.createElement("img",null,{position:"absolute",top:"-9999px"},ti,!0);var tn=this;this.graphic.onload=function(){tn.onGraphicLoad()},this.graphic.src=tt},onGraphicLoad:function(){for(var tt=this.offset=this.graphic.width/4,ti=[[0,0],[0,-4],[-2,0],[0,-8],0,[-2,-8],[0,-2],[0,-6],[-2,-2]],tn={height:2*tt+"px",width:2*tt+"px"},ts=0;ts<=8;ts++)if(ti[ts]){if(this.hasAlphaImageLoader){var ta=1==ts||7==ts?"100%":this.graphic.width+"px",tl=hs.createElement("div",null,{width:"100%",height:"100%",position:"relative",overflow:"hidden"},this.td[ts],!0);hs.createElement("div",null,{filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale, src='"+this.graphic.src+"')",position:"absolute",width:ta,height:this.graphic.height+"px",left:ti[ts][0]*tt+"px",to
33p:ti[ts][1]*tt+"px"},tl,!0)}else hs.setStyles(this.td[ts],{background:"url("+this.graphic.src+") "+ti[ts][0]*tt+"px "+ti[ts][1]*tt+"px"});window.opera&&(3==ts||5==ts)&&hs.createElement("div",null,tn,this.td[ts],!0),hs.setStyles(this.td[ts],tn)}this.graphic=null,hs.pendingOutlines[this.outlineType]&&hs.pendingOutlines[this.outlineType].destroy(),hs.pendingOutlines[this.outlineType]=this,this.onLoad&&this.onLoad()},setPosition:function(tt,ti,tn,ts,ta){var tl=this.exp,ti=(tl.wrapper.style,ti||0),tt=tt||{x:tl.x.pos+ti,y:tl.y.pos+ti,w:tl.x.get("wsize")-2*ti,h:tl.y.get("wsize")-2*ti};tn&&(this.table.style.visibility=tt.h>=4*this.offset?"visible":"hidden"),hs.setStyles(this.table,{left:tt.x-this.offset+"px",top:tt.y-this.offset+"px",width:tt.w+2*this.offset+"px"}),tt.w-=2*this.offset,tt.h-=2*this.offset,hs.setStyles(this.td[4],{width:tt.w>=0?tt.w+"px":0,height:tt.h>=0?tt.h+"px":0}),this.hasAlphaImageLoader&&(this.td[3].style.height=this.td[5].style.height=this.td[4].style.height)},destroy:function(tt){tt?this.table.style.visibility="hidden":hs.discardElement(this.table)}},hs.Dimension=function(tt,ti){this.exp=tt,this.dim=ti,this.ucwh="x"==ti?"Width":"Height",this.wh=this.ucwh.toLowerCase(),this.uclt="x"==ti?"Left":"Top",this.lt=this.uclt.toLowerCase(),this.ucrb="x"==ti?"Right":"Bottom",this.rb=this.ucrb.toLowerCase(),this.p1=this.p2=0},hs.Dimension.prototype={get:function(tt){switch(tt){case"loadingPos":return this.tpos+this.tb+(this.t-hs.loading["offset"+this.ucwh])/2;case"loadingPosXfade":return this.pos+this.cb+this.p1+(this.size-hs.loading["offset"+this.ucwh])/2;case"wsize":return this.size+2*this.cb+this.p1+this.p2;case"fitsize":return this.clientSize-this.marginMin-this.marginMax;case"maxsize":return this.get("fitsize")-2*this.cb-this.p1-this.p2;case"opos":return this.pos-(this.exp.outline?this.exp.outline.offset:0);case"osize":return this.get("wsize")+(this.exp.outline?2*this.exp.outline.offset:0);case"imgPad":return this.imgSize?Math.round((this.size-this.imgSize)/2):0}},calcBorders:function(){this.cb=(this.exp.content["offset"+this.ucwh]-this.t)/2,this.marginMax=hs["margin"+this.ucrb]},calcThumb:function(){this.t=this.exp.el[this.wh]?parseInt(this.exp.el[this.wh]):this.exp.el["offset"+this.ucwh],this.tpos=this.exp.tpos[this.dim],this.tb=(this.exp.el["offset"+this.ucwh]-this.t)/2,(0==this.tpos||-1==this.tpos)&&(this.tpos=hs.page[this.wh]/2+hs.page["scroll"+this.uclt])},calcExpanded:function(){var tt=this.exp;this.justify="auto","center"==tt.align?this.justify="center":new RegExp(this.lt).test(tt.anchor)?this.justify=null:new RegExp(this.rb).test(tt.anchor)&&(this.justify="max"),this.pos=this.tpos-this.cb+this.tb,this.maxHeight&&"x"==this.dim&&(tt.maxWidth=Math.min(tt.maxWidth||this.full,tt.maxHeight*this.full/tt.y.full)),this.size=Math.min(this.full,tt["max"+this.ucwh]||this.full),this.minSize=tt.allowSizeReduction?Math.min(tt["min"+this.ucwh],this.full):this.full,tt.isImage&&tt.useBox&&(this.size=tt[this.wh],this.imgSize=this.full),"x"==this.dim&&hs.padToMinWidth&&(this.minSize=tt.minWidth),this.target=tt["target"+this.dim.toUpperCase()],this.marginMin=hs["margin"+this.uclt],this.scroll=hs.page["scroll"+this.uclt],this.clientSize=hs.page[this.wh]},setSize:function(tt){var ti=this.exp;if(ti.isImage&&(ti.useBox||hs.padToMinWidth)?(this.imgSize=tt,this.size=Math.max(this.size,this.imgSize),ti.content.style[this.lt]=this.get("imgPad")+"px"):this.size=tt,ti.content.style[this.wh]=tt+"px",ti.wrapper.style[this.wh]=this.get("wsize")+"px",ti.outline&&ti.outline.setPosition(),ti.releaseMask&&(ti.releaseMask.style[this.wh]=tt+"px"),"y"==this.dim&&ti.iDoc&&"auto"!=ti.body.style.height)try{ti.iDoc.body.style.overflow="auto"}catch(tt){}if(ti.isHtml){var tn=ti.scrollerDiv;void 0===this.sizeDiff&&(this.sizeDiff=ti.innerContent["offset"+this.ucwh]-tn["offset"+this.ucwh]),tn.style[this.wh]=this.size-this.sizeDiff+"px","x"==this.dim&&(ti.mediumContent.style.width="auto"),ti.body&&(ti.body.style[this.wh]="auto")}"x"==this.dim&&ti.overlayBox&&ti.sizeOverlayBox(!0),"x"==this.dim&&ti.slideshow&&ti.isImage&&(tt==this.full?ti.slideshow.disable("full-expand"):ti.slideshow.enable("full-expand"))},setPos:function(tt){this.pos=tt,this.exp.wrapper.style[this.lt]=tt+"px",this.exp.outline&&this.exp.outline.setPosition()}},hs.Expander=function(tt,ti,tn,ts){if(document.readyState&&hs.ie&&!hs.isReady){hs.addEventListener(document,"ready",function(){new hs.Expander(tt,ti,tn,ts)});return}this.a=tt,this.custom=tn,this.contentType=ts||"image",this.isHtml="html"==ts,this.isImage=!this.isHtml,hs.prms=ti,hs.continuePreloading=!1,this.overlays=[],this.last=hs.last,hs.last=null,hs.init();for(var ta=this.key=hs.expanders.length,tl=0;tl<hs.overrides.length;tl++){var tc=hs.overrides[tl];this[tc]=ti&&void 0!==ti[tc]?ti[tc]:hs[tc]}this.src||(this.src=tt.href);var tu=ti&&ti.thumbnailId?hs.$(ti.thumbnailId):tt;if(tu=this.thumb=tu.getElementsByTagName("img")[0]||tu,this.thumbsUserSetId=tu.id||tt.id,!hs.fireEvent(this,"onInit"))return!0;for(var tl=0;
33tl<hs.expanders.length;tl++)if(hs.expanders[tl]&&hs.expanders[tl].a==tt&&!(this.last&&"crossfade"==this.transitions[1]))return hs.expanders[tl].focus(),!1;if(!hs.allowSimultaneousLoading)for(var tl=0;tl<hs.expanders.length;tl++)hs.expanders[tl]&&hs.expanders[tl].thumb!=tu&&!hs.expanders[tl].onLoadStarted&&hs.expanders[tl].cancelLoading();if(hs.expanders[ta]=this,hs.allowMultipleInstances||hs.upcoming||(hs.expanders[ta-1]&&hs.expanders[ta-1].close(),void 0!==hs.focusKey&&hs.expanders[hs.focusKey]&&hs.expanders[hs.focusKey].close()),this.el=tu,this.tpos=this.pageOrigin||hs.getPosition(tu),hs.getPageSize(),(this.x=new hs.Dimension(this,"x")).calcThumb(),(this.y=new hs.Dimension(this,"y")).calcThumb(),/area/i.test(tu.tagName)&&this.getImageMapAreaCorrection(tu),this.wrapper=hs.createElement("div",{id:"highslide-wrapper-"+this.key,className:"highslide-wrapper"},{visibility:"hidden",position:"absolute",zIndex:hs.zIndexCounter+=2},null,!0),this.wrapper.onmouseover=this.wrapper.onmouseout=hs.wrapperMouseHandler,"image"==this.contentType&&2==this.outlineWhileAnimating&&(this.outlineWhileAnimating=0),!this.outlineType||this.last&&this.isImage&&"crossfade"==this.transitions[1])this[this.contentType+"Create"]();else if(hs.pendingOutlines[this.outlineType])this.connectOutline(),this[this.contentType+"Create"]();else{this.showLoading();var td=this;new hs.Outline(this.outlineType,function(){td.connectOutline(),td[td.contentType+"Create"]()})}return!0},hs.Expander.prototype={error:function(tt){hs.debug?alert("Line "+tt.lineNumber+": "+tt.message):window.location.href=this.src},connectOutline:function(){var tt=this.outline=hs.pendingOutlines[this.outlineType];tt.exp=this,tt.table.style.zIndex=this.wrapper.style.zIndex-1,hs.pendingOutlines[this.outlineType]=null},showLoading:function(){if(!this.onLoadStarted&&!this.loading){this.loading=hs.loading;var tt=this;if(this.loading.onclick=function(){tt.cancelLoading()},hs.fireEvent(this,"onShowLoading")){var tt=this,ti=this.x.get("loadingPos")+"px",tn=this.y.get("loadingPos")+"px";if(!ts&&this.last&&"crossfade"==this.transitions[1])var ts=this.last;ts&&(ti=ts.x.get("loadingPosXfade")+"px",tn=ts.y.get("loadingPosXfade")+"px",this.loading.style.zIndex=hs.zIndexCounter++),setTimeout(function(){tt.loading&&hs.setStyles(tt.loading,{left:ti,top:tn,zIndex:hs.zIndexCounter++})},100)}}},imageCreate:function(){var tt=this,ti=document.createElement("img");this.content=ti,ti.onload=function(){hs.expanders[tt.key]&&tt.contentLoaded()},hs.blockRightClick&&(ti.oncontextmenu=function(){return!1}),ti.className="highslide-image",hs.setStyles(ti,{visibility:"hidden",display:"block",position:"absolute",maxWidth:"9999px",zIndex:3}),ti.title=hs.lang.restoreTitle,hs.safari&&hs.uaVersion<525&&hs.container.appendChild(ti),hs.ie&&hs.flushImgSize&&(ti.src=null),ti.src=this.src,this.showLoading()},htmlCreate:function(){if(hs.fireEvent(this,"onBeforeGetContent")){if(this.content=hs.getCacheBinding(this.a),this.content||(this.content=hs.getNode(this.contentId)),this.content||(this.content=hs.getSelfRendered()),this.getInline(["maincontent"]),this.maincontent){var tt=hs.getElementByClass(this.content,"div","highslide-body");tt&&tt.appendChild(this.maincontent),this.maincontent.style.display="block"}hs.fireEvent(this,"onAfterGetContent");var ti=this.innerContent=this.content;/(swf|iframe)/.test(this.objectType)&&this.setObjContainerSize(ti),hs.container.appendChild(this.wrapper),hs.setStyles(this.wrapper,{position:"static",padding:"0 "+hs.marginRight+"px 0 "+hs.marginLeft+"px"}),this.content=hs.createElement("div",{className:"highslide-html"},{position:"relative",zIndex:3,height:0,overflow:"hidden"},this.wrapper);var tn=hs.makeVideoId(),ts=hs.createVideoHtml(tn);if(ti.innerHTML=ts,this.mediumContent=hs.createElement("div",null,null,this.content,1),this.mediumContent.appendChild(ti),hs.loadVideo(hs.params,tn),hs.setStyles(ti,{position:"relative",display:"block",direction:hs.lang.cssDirection||""}),this.width=$(window).width()/2,this.height=this.width/(16/9),this.width&&(ti.style.width=this.width+"px"),this.height&&hs.setStyles(ti,{height:this.height+"px",overflow:"hidden"}),ti.offsetWidth<this.minWidth&&(ti.style.width=this.minWidth+"px"),"ajax"!=this.objectType||hs.getCacheBinding(this.a))"iframe"==this.objectType&&"before"==this.objectLoadTime?this.writeE
33xtendedContent():this.contentLoaded();else{this.showLoading();var ta=this,tl=new hs.Ajax(this.a,ti);tl.src=this.src,tl.onLoad=function(){hs.expanders[ta.key]&&ta.contentLoaded()},tl.onError=function(){location.href=ta.src},tl.run()}}},contentLoaded:function(){try{if(!this.content||(this.content.onload=null,this.onLoadStarted))return;this.onLoadStarted=!0;var tt=this.x,ti=this.y;if(this.loading&&(hs.setStyles(this.loading,{top:"-9999px"}),this.loading=null,hs.fireEvent(this,"onHideLoading")),this.isImage?(tt.full=this.content.width,ti.full=this.content.height,hs.setStyles(this.content,{width:tt.t+"px",height:ti.t+"px"}),this.wrapper.appendChild(this.content),hs.container.appendChild(this.wrapper)):this.htmlGetSize&&this.htmlGetSize(),tt.calcBorders(),ti.calcBorders(),hs.setStyles(this.wrapper,{left:tt.tpos+tt.tb-tt.cb+"px",top:ti.tpos+tt.tb-ti.cb+"px"}),this.isHtml){var tn={marginTop:"0",marginRight:"auto",marginBottom:"0",marginLeft:"auto"};$(this.wrapper).find("> div > div, .video-js, vjs-default-skin").css(tn)}this.initSlideshow(),this.getOverlays();var ts=tt.full/ti.full;if(tt.calcExpanded(),this.justify(tt),ti.calcExpanded(),this.justify(ti),this.isHtml&&this.htmlSizeOperations(),this.overlayBox&&this.sizeOverlayBox(0,1),this.allowSizeReduction){this.isImage?this.correctRatio(ts):this.fitOverlayBox();var ta=this.slideshow;if(ta&&this.last&&ta.controls&&ta.fixedControls){var tl,tc=ta.overlayOptions.position||"";for(var tu in hs.oPos)for(var td=0;td<5;td++)tl=this[tu],tc.match(hs.oPos[tu][td])&&(tl.pos=this.last[tu].pos+(this.last[tu].p1-tl.p1)+(this.last[tu].size-tl.size)*[0,0,.5,1,1][td],"fit"==ta.fixedControls&&(tl.pos+tl.size+tl.p1+tl.p2>tl.scroll+tl.clientSize-tl.marginMax&&(tl.pos=tl.scroll+tl.clientSize-tl.size-tl.marginMin-tl.marginMax-tl.p1-tl.p2),tl.pos<tl.scroll+tl.marginMin&&(tl.pos=tl.scroll+tl.marginMin)))}this.isImage&&this.x.full>(this.x.imgSize||this.x.size)&&(this.createFullExpand(),1==this.overlays.length&&this.sizeOverlayBox())}this.show()}catch(tt){this.error(tt)}},setObjContainerSize:function(tt,ti){var tn=hs.getElementByClass(tt,"DIV","highslide-body");/(iframe|swf)/.test(this.objectType)&&(this.objectWidth&&(tn.style.width=this.objectWidth+"px"),this.objectHeight&&(tn.style.height=this.objectHeight+"px"))},writeExtendedContent:function(){if(!this.hasExtendedContent){if(this.body=hs.getElementByClass(this.innerContent,"DIV","highslide-body"),"iframe"==this.objectType){this.showLoading();var tt=hs.clearing.cloneNode(1);this.body.appendChild(tt),this.newWidth=this.innerContent.offsetWidth,this.objectWidth||(this.objectWidth=tt.offsetWidth);var ti=this.innerContent.offsetHeight-this.body.offsetHeight,tn=this.objectHeight||hs.page.height-ti-hs.marginTop-hs.marginBottom,ts="before"==this.objectLoadTime?' onload="if (hs.expanders['+this.key+"]) hs.expanders["+this.key+'].contentLoaded()" ':"";this.body.innerHTML+='<iframe name="hs'+new Date().getTime()+'" frameborder="0" key="'+this.key+'"  style="width:'+this.objectWidth+"px; height:"+tn+'px" '+ts+' src="'+this.src+'" allowfullscreen></iframe>',this.ruler=this.body.getElementsByTagName("div")[0],this.iframe=this.body.getElementsByTagName("iframe")[0],"after"==this.objectLoadTime&&this.correctIframeSize()}if("swf"==this.objectType){this.body.id=this.body.id||"hs-flash-id-"+this.key;var ta=this.swfOptions;ta.params||(ta.params={}),void 0===ta.params.wmode&&(ta.params.wmode="transparent"),swfobject&&swfobject.embedSWF(this.src,this.body.id,this.objectWidth,this.objectHeight,ta.version||"7",ta.expressInstallSwfurl,ta.flashvars,ta.params,ta.attributes)}this.hasExtendedContent=!0}},htmlGetSize:function(){this.iframe&&!this.objectHeight&&(this.iframe.style.height=this.body.style.height=this.getIframePageHeight()+"px"),this.innerContent.appendChild(hs.clearing),this.x.full||(this.x.full=this.innerContent.offsetWidth),this.y.full=this.innerContent.offsetHeight,this.innerContent.removeChild(hs.clearing),hs.ie&&this.newHeight>parseInt(this.innerContent.currentStyle.height)&&(this.newHeight=parseInt(this.innerContent.currentStyle.height)),hs.setStyles(this.wrapper,{position:"absolute",padding:"0"}),hs.setStyles(this.content,{width:this.x.t+"px",height:this.y.t+"px"})},getIframePageHeight:function(){var tt;try{var ti=this.iDoc=this.iframe.contentDocument||this.iframe.contentWindow.document,tn=ti.createElement("div");tn.style.clear="both",ti.body.appendChild(tn),tt=tn.offsetTop,hs.ie&&(tt+=parseInt(ti.body.currentStyle.marginTop)+parseInt(ti.body.currentStyle.marginBottom)-1)}catch(ti){tt=300}return tt},correctIframeSize:function(){var tt=this.innerContent.offsetWidth-this.ruler.offsetWidth;hs.discardElement(this.ruler),tt<0&&(tt=0);var ti=this.innerContent.offsetHeight-this.iframe.offsetHeight;if(this.iDoc&&!this.objectHeight&&!this.height&&this.y.size==this.y.full)try{this.iDoc.body.style.overflow="hidden"}catch(tt){}hs.setStyles(this.iframe,{width:Math.abs(this.x.size-tt)+"px",height:Math.abs(this.y.size-ti)+"px"}),hs.setStyles(this.body,{width:this.iframe.style.width,height:this.iframe.style.height}),this.scrollingContent=this.iframe,this.scrollerDiv=this.scrollingContent},htmlSizeOperations:function(){this.setObjContainerSize(this.innerContent),"swf"==this.objectType&&"before"==this.objectLoadTime&&this.writeE
33xtendedContent(),this.x.size<this.x.full&&!this.allowWidthReduction&&(this.x.size=this.x.full),this.y.size<this.y.full&&!this.allowHeightReduction&&(this.y.size=this.y.full),this.scrollerDiv=this.innerContent,hs.setStyles(this.mediumContent,{position:"relative",width:this.x.size+"px"}),hs.setStyles(this.innerContent,{border:"none",width:"auto",height:"auto"});var tt=hs.getElementByClass(this.innerContent,"DIV","highslide-body");if(tt&&!/(iframe|swf)/.test(this.objectType)){var ti=tt;tt=hs.createElement(ti.nodeName,null,{overflow:"hidden"},null,!0),ti.parentNode.insertBefore(tt,ti),tt.appendChild(hs.clearing),tt.appendChild(ti);var tn=this.innerContent.offsetWidth-tt.offsetWidth,ts=this.innerContent.offsetHeight-tt.offsetHeight;tt.removeChild(hs.clearing);var ta=hs.safari||"KDE"==navigator.vendor?1:0;hs.setStyles(tt,{width:this.x.size-tn-ta+"px",height:this.y.size-ts+"px",overflow:"auto",position:"relative"}),ta&&ti.offsetHeight>tt.offsetHeight&&(tt.style.width=parseInt(tt.style.width)+ta+"px"),this.scrollingContent=tt,this.scrollerDiv=this.scrollingContent}this.iframe&&"before"==this.objectLoadTime&&this.correctIframeSize(),!this.scrollingContent&&this.y.size<this.mediumContent.offsetHeight&&(this.scrollerDiv=this.content),this.scrollerDiv!=this.content||this.allowWidthReduction||/(iframe|swf)/.test(this.objectType)||(this.x.size+=17),this.scrollerDiv&&this.scrollerDiv.offsetHeight>this.scrollerDiv.parentNode.offsetHeight&&setTimeout("try { hs.expanders["+this.key+"].scrollerDiv.style.overflow = 'auto'; } catch(e) {}",hs.expandDuration)},getImageMapAreaCorrection:function(tt){for(var ti=tt.coords.split(","),tn=0;tn<ti.length;tn++)ti[tn]=parseInt(ti[tn]);if("circle"==tt.shape.toLowerCase())this.x.tpos+=ti[0]-ti[2],this.y.tpos+=ti[1]-ti[2],this.x.t=this.y.t=2*ti[2];else{for(var ts,ta,tl=ts=ti[0],tc=ta=ti[1],tn=0;tn<ti.length;tn++)tn%2==0?(tl=Math.min(tl,ti[tn]),ts=Math.max(ts,ti[tn])):(tc=Math.min(tc,ti[tn]),ta=Math.max(ta,ti[tn]));this.x.tpos+=tl,this.x.t=ts-tl,this.y.tpos+=tc,this.y.t=ta-tc}},justify:function(tt,ti){var tn,ts=tt.target,ta=tt==this.x?"x":"y";if(ts&&ts.match(/ /)&&(ts=(tn=ts.split(" "))[0]),ts&&hs.$(ts))tt.pos=hs.getPosition(hs.$(ts))[ta],tn&&tn[1]&&tn[1].match(/^[-]?[0-9]+px$/)&&(tt.pos+=parseInt(tn[1])),tt.size<tt.minSize&&(tt.size=tt.minSize);else if("auto"==tt.justify||"center"==tt.justify){var tl=!1,tc=tt.exp.allowSizeReduction;"center"==tt.justify?tt.pos=Math.round(tt.scroll+(tt.clientSize+tt.marginMin-tt.marginMax-tt.get("wsize"))/2):tt.pos=Math.round(tt.pos-(tt.get("wsize")-tt.t)/2),tt.pos<tt.scroll+tt.marginMin&&(tt.pos=tt.scroll+tt.marginMin,tl=!0),!ti&&tt.size<tt.minSize&&(tt.size=tt.minSize,tc=!1),tt.pos+tt.get("wsize")>tt.scroll+tt.clientSize-tt.marginMax&&(!ti&&tl&&tc?tt.size=Math.min(tt.size,tt.get("y"==ta?"fitsize":"maxsize")):tt.get("wsize")<tt.get("fitsize")?tt.pos=tt.scroll+tt.clientSize-tt.marginMax-tt.get("wsize"):(tt.pos=tt.scroll+tt.marginMin,!ti&&tc&&(tt.size=tt.get("y"==ta?"fitsize":"maxsize")))),!ti&&tt.size<tt.minSize&&(tt.size=tt.minSize,tc=!1)}else"max"==tt.justify&&(tt.pos=Math.floor(tt.pos-tt.size+tt.t));if(tt.pos<tt.marginMin){var tu=tt.pos;tt.pos=tt.marginMin,tc&&!ti&&(tt.size=tt.size-(tt.pos-tu))}},correctRatio:function(tt){var ti=this.x,tn=this.y,ts=!1,ta=Math.min(ti.full,ti.size),tl=Math.min(tn.full,tn.size),tc=this.useBox||hs.padToMinWidth;ta/tl>tt?((ta=tl*tt)<ti.minSize&&(tl=(ta=ti.minSize)/tt),ts=!0):ta/tl<tt&&(tl=ta/tt,ts=!0),hs.padToMinWidth&&ti.full<ti.minSize?(ti.imgSize=ti.full,tn.size=tn.imgSize=tn.full):this.useBox?(ti.imgSize=ta,tn.imgSize=tl):(ti.size=ta,tn.size=tl),ts=this.fitOverlayBox(this.useBox?null:tt,ts),tc&&tn.size<tn.imgSize&&(tn.imgSize=tn.size,ti.imgSize=tn.size*tt),(ts||tc)&&(ti.pos=ti.tpos-ti.cb+ti.tb,ti.minSize=ti.size,this.justify(ti,!0),tn.pos=tn.tpos-tn.cb+tn.tb,tn.minSize=tn.size,this.justify(tn,!0),this.overlayBox&&this.sizeOverlayBox())},fitOverlayBox:function(tt,ti){var tn=this.x,ts=this.y;if(this.overlayBox&&(this.isImage||this.allowHeightReduction))for(;ts.size>this.minHeight&&tn.size>this.minWidth&&ts.get("wsize")>ts.get("fitsize");)ts.size-=10,tt&&(tn.size=ts.size*tt),this.sizeOverlayBox(0,1),ti=!0;return ti},reflow:function(){if(this.scrollerDiv){var tt=/iframe/i.test(this.scrollerDiv.tagName)?this.getIframePageHeight()+1+"px":"auto";this.body&&(this.body.style.height=tt),this.scrollerDiv.style.height=tt,this.y.setSize(this.innerContent.offsetHeight)}},show:function(){var tt=this.x,ti=this.y;this.doShowHide("hidden"),hs.fireEvent(this,"onBeforeExpand"),this.slideshow&&this.slideshow.thumbstrip&&this.slideshow.thumbstrip.selectThumb(),this.changeSize(1,{wrapper:{width:tt.get("wsize"),height:ti.get("wsize"),left:tt.pos,top:ti.pos},content:{left:tt.p1+tt.get("imgPad"),top:ti.p1+ti.get("imgPad"),width:tt.imgSize||tt.size,height:ti.imgSize||ti.size}},hs.expandDuration)},changeSize:function(tt,ti,tn){var ts=this.transitions,ta=tt?this.last?this.last.a:null:hs.upcoming,tl=ts[1]&&ta&&hs.getParam(ta,"transitions")[1]==ts[1]?ts[1]:ts[0];if(this[tl]&&"expand"!=tl){this[tl](tt,ti);return}this.outline&&!this.outlineWhileAnimating&&(tt?this.outline.setPosition():this.outline.destroy(this.isHtml&&this.preserveContent)),tt||this.destroyOverlays();var tc=this,tu=tc.x,td=tc.y,th=this.easing;tt||(th=this.easingClose||th);var tp=tt?function(){tc.outline&&(tc.outline.table.style.visibility="visible"),setTimeout(function(){tc.afterExpand()},50)}:function(){tc.afterClose()};tt&&hs.setStyles(this.wrapper,{width:tu.t+"px",height:td.t+"px"}
33),tt&&this.isHtml&&hs.setStyles(this.wrapper,{left:tu.tpos-tu.cb+tu.tb+"px",top:td.tpos-td.cb+td.tb+"px"}),this.fadeInOut&&(hs.setStyles(this.wrapper,{opacity:tt?0:1}),hs.extend(ti.wrapper,{opacity:tt})),hs.animate(this.wrapper,ti.wrapper,{duration:tn,easing:th,step:function(ti,tn){if(tc.outline&&tc.outlineWhileAnimating&&"top"==tn.prop){var ts=tt?tn.pos:1-tn.pos,ta={w:tu.t+(tu.get("wsize")-tu.t)*ts,h:td.t+(td.get("wsize")-td.t)*ts,x:tu.tpos+(tu.pos-tu.tpos)*ts,y:td.tpos+(td.pos-td.tpos)*ts};tc.outline.setPosition(ta,0,1)}tc.isHtml&&("left"==tn.prop&&(tc.mediumContent.style.left=tu.pos-ti+"px"),"top"==tn.prop&&(tc.mediumContent.style.top=td.pos-ti+"px"))}}),hs.animate(this.content,ti.content,tn,th,tp),tt&&(this.wrapper.style.visibility="visible",this.content.style.visibility="visible",this.isHtml&&(this.innerContent.style.visibility="visible"),this.a.className+=" highslide-active-anchor")},fade:function(tt,ti){this.outlineWhileAnimating=!1;var tn=this,ts=tt?hs.expandDuration:0;if(tt&&(hs.animate(this.wrapper,ti.wrapper,0),hs.setStyles(this.wrapper,{opacity:0,visibility:"visible"}),hs.animate(this.content,ti.content,0),this.content.style.visibility="visible",hs.animate(this.wrapper,{opacity:1},ts,null,function(){tn.afterExpand()})),this.outline){this.outline.table.style.zIndex=this.wrapper.style.zIndex;for(var ta=tt||-1,tl=this.outline.offset,tc=tt?3:tl,tu=tt?tl:3,td=tc;ta*td<=ta*tu;td+=ta,ts+=25)!function(){var ti=tt?tu-td:tc-td;setTimeout(function(){tn.outline.setPosition(0,ti,1)},ts)}()}tt||setTimeout(function(){tn.outline&&tn.outline.destroy(tn.preserveContent),tn.destroyOverlays(),hs.animate(tn.wrapper,{opacity:0},hs.restoreDuration,null,function(){tn.afterClose()})},ts)},crossfade:function(tt,ti,tn){if(tt){var ts=this,ta=this.last,tl=this.x,tc=this.y,tu=ta.x,td=ta.y,th=this.wrapper,tp=this.content,tf=this.overlayBox;hs.removeEventListener(document,"mousemove",hs.dragHandler),$(".close.close-modal").hide(),hs.setStyles(tp,{width:(tl.imgSize||tl.size)+"px",height:(tc.imgSize||tc.size)+"px"}),tf&&(tf.style.overflow="visible"),this.outline=ta.outline,this.outline&&(this.outline.exp=ts),ta.outline=null;var tm=hs.createElement("div",{className:"highslide-"+this.contentType},{position:"absolute",zIndex:4,overflow:"hidden",display:"none"}),tg={oldImg:ta,newImg:this};for(var tv in tg)this[tv]=tg[tv].content.cloneNode(!tg[tv].iframe),hs.setStyles(this[tv],{position:"absolute",border:0,visibility:"visible"}),tm.appendChild(this[tv]);th.appendChild(tm),this.isHtml&&hs.setStyles(this.mediumContent,{left:0,top:0}),tf&&(tf.className="",th.appendChild(tf)),tm.style.display="",ta.content.style.display="none",hs.safari&&hs.uaVersion<525&&(this.wrapper.style.visibility="visible"),hs.animate(th,{width:tl.size},{duration:hs.transitionDuration,step:function(tt,ti){var tn,tg=ti.pos,tv=1-tg,ty={},tb=["pos","size","p1","p2"];for(var tw in tb)ty["x"+(tn=tb[tw])]=Math.round(tv*tu[tn]+tg*tl[tn]),ty["y"+tn]=Math.round(tv*td[tn]+tg*tc[tn]),ty.ximgSize=Math.round(tv*(tu.imgSize||tu.size)+tg*(tl.imgSize||tl.size)),ty.ximgPad=Math.round(tv*tu.get("imgPad")+tg*tl.get("imgPad")),ty.yimgSize=Math.round(tv*(td.imgSize||td.size)+tg*(tc.imgSize||tc.size)),ty.yimgPad=Math.round(tv*td.get("imgPad")+tg*tc.get("imgPad"));ts.outline&&ts.outline.setPosition({x:ty.xpos,y:ty.ypos,w:ty.xsize+ty.xp1+ty.xp2+2*tl.cb,h:ty.ysize+ty.yp1+ty.yp2+2*tc.cb}),ta.wrapper.style.clip="rect("+(ty.ypos-td.pos)+"px, "+(ty.xsize+ty.xp1+ty.xp2+ty.xpos+2*tu.cb-tu.pos)+"px, "+(ty.ysize+ty.yp1+ty.yp2+ty.ypos+2*td.cb-td.pos)+"px, "+(ty.xpos-tu.pos)+"px)",hs.setStyles(tp,{top:ty.yp1+tc.get("imgPad")+"px",left:ty.xp1+tl.get("imgPad")+"px",marginTop:tc.pos-ty.ypos+"px",marginLeft:tl.pos-ty.xpos+"px"}),hs.setStyles(th,{top:ty.ypos+"px",left:ty.xpos+"px",width:ty.xp1+ty.xp2+ty.xsize+2*tl.cb+"px",height:ty.yp1+ty.yp2+ty.ysize+2*tc.cb+"px"}),hs.setStyles(tm,{width:(ty.ximgSize||ty.xsize)+"px",height:(ty.yimgSize||ty.ysize)+"px",left:ty.xp1+ty.ximgPad+"px",top:ty.yp1+ty.yimgPad+"px",visibility:"visible"}),hs.setStyles(ts.oldImg,{top:td.pos-ty.ypos+td.p1-ty.yp1+td.get("imgPad")-ty.yimgPad+"px",left:tu.pos-ty.xpos+tu.p1-ty.xp1+tu.get("imgPad")-ty.ximgPad+"px"}),hs.setStyles(ts.newImg,{opacity:tg,top:tc.pos-ty.ypos+tc.p1-ty.yp1+tc.get("imgPad")-ty.yimgPad+"px",left:tl.pos-ty.xpos+tl.p1-ty.xp1+tl.get("imgPad")-ty.ximgPad+"px"}),tf&&hs.setStyles(tf,{width:ty.xsize+"px",height:ty.ysize+"px",left:ty.xp1+tl.cb+"px",to
33p:ty.yp1+tc.cb+"px"})},complete:function(){th.style.visibility=tp.style.visibility="visible",tp.style.display="block",hs.discardElement(tm),ts.afterExpand(),ta.isHtml&&ta.htmlPrepareClose(),ta.afterClose(),ts.last=null}})}},reuseOverlay:function(tt,ti){if(!this.last)return!1;for(var tn=0;tn<this.last.overlays.length;tn++){var ts=hs.$("hsId"+this.last.overlays[tn]);if(ts&&ts.hsId==tt.hsId)return this.genOverlayBox(),ts.reuse=this.key,hs.push(this.overlays,this.last.overlays[tn]),!0}return!1},afterExpand:function(){if(this.isExpanded=!0,this.focus(),this.isHtml&&"after"==this.objectLoadTime&&this.writeExtendedContent(),this.iframe){try{var tt=this,ti=this.iframe.contentDocument||this.iframe.contentWindow.document;hs.addEventListener(ti,"mousedown",function(){hs.focusKey!=tt.key&&tt.focus()})}catch(tt){}hs.ie&&"boolean"!=typeof this.isClosing&&(this.iframe.style.width=this.objectWidth-1+"px")}this.dimmingOpacity&&hs.dim(this),hs.upcoming&&hs.upcoming==this.a&&(hs.upcoming=null),this.prepareNextOutline();var tn=hs.page,ts=hs.mouse.x+tn.scrollLeft,ta=hs.mouse.y+tn.scrollTop;this.mouseIsOver=this.x.pos<ts&&ts<this.x.pos+this.x.get("wsize")&&this.y.pos<ta&&ta<this.y.pos+this.y.get("wsize"),this.overlayBox&&this.showOverlays(),hs.fireEvent(this,"onAfterExpand"),$('<a onclick="return hs.close(this)" title="Close" class="close close-modal" tabindex="0"></a>').css({position:"absolute",top:"-15px",right:"-15px",height:"30px",width:"30px",cursor:"pointer",background:"url("+hs.graphicsDir+"close.png)",zIndex:20}).appendTo(".highslide-wrapper"),hs.prms&&(hs.prms.first||hs.prms.last?hs.prms.first&&!hs.prms.last?$('<div class="nav-arrows"><a href="#" class="next-item" onclick="return hs.next(this)" title="Next (right arrow key)" role="link"></a></div>').appendTo(".highslide-wrapper"):$('<div class="nav-arrows"><a href="#" class="prev-item" onclick="return hs.previous(this)" title="Previous (left arrow key)" role="link"></a></div>').appendTo(".highslide-wrapper"):$('<div class="nav-arrows"><a href="#" class="prev-item" onclick="return hs.previous(this)" title="Previous (left arrow key)" role="link"></a><a href="#" class="next-item" onclick="return hs.next(this)" title="Next (right arrow key)" role="link"></a></div>').appendTo(".highslide-wrapper")),this.addTabbable(!1),$("body").on("keydown",(function(tt){this.tabbable(tt,hs.tabbables)}).bind(this)),$(".gallery-item--spacer").on("keyup",function(tt){if(13!==tt.keyCode&&32!==tt.keyCode)return!1;tt.preventDefault(),$(this).find("a").trigger("click")})},prepareNextOutline:function(){var tt=this.key,ti=this.outlineType;new hs.Outline(ti,function(){try{hs.expanders[tt].preloadNext()}catch(tt){}})},preloadNext:function(){var tt=this.getAdjacentAnchor(1);tt&&tt.onclick.toString().match(/hs\.expand/)&&hs.createElement("img",{src:hs.getSrc(tt)})},getAdjacentAnchor:function(tt){var ti=this.getAnchorIndex(),tn=hs.anchors.groups[this.slideshowGroup||"none"];if(tn&&!tn[ti+tt]&&this.slideshow&&this.slideshow.repeat){if(1==tt)return tn[0];if(-1==tt)return tn[tn.length-1]}return tn&&tn[ti+tt]||null},getAnchorIndex:function(){var tt=hs.getAnchors().groups[this.slideshowGroup||"none"];if(tt){for(var ti=0;ti<tt.length;ti++)if(tt[ti].getAttribute("id")==this.a.getAttribute("id"))return ti}return null},getNumber:function(){if(this[this.numberPosition]){var tt=hs.anchors.groups[this.slideshowGroup||"none"];if(tt){var ti=hs.lang.number.replace("%1",this.getAnchorIndex()+1).replace("%2",tt.length);this[this.numberPosition].innerHTML='<div class="highslide-number">'+ti+"</div>"+this[this.numberPosition].innerHTML}}},initSlideshow:function(){if(this.last)this.slideshow=this.last.slideshow;else for(var tt=0;tt<hs.slideshows.length;tt++){var ti=hs.slideshows[tt],tn=ti.slideshowGroup;(null==tn||tn===this.slideshowGroup)&&(this.slideshow=new hs.Slideshow(this.key,ti))}var ti=this.slideshow;if(ti){var ts=ti.expKey=this.key;ti.checkFirstAndLast(),ti.disable("full-expand"),ti.controls&&this.createOverlay(hs.extend(ti.overlayOptions||{},{overlayId:ti.controls,hsId:"controls",zIndex:5})),ti.thumbstrip&&ti.thumbstrip.add(this),!this.last&&this.autoplay&&ti.play(!0),ti.autoplay&&(ti.autoplay=setTimeout(function(){hs.next(ts)},ti.interval||500))}},cancelLoading:function(){hs.discardElement(this.wrapper),hs.expanders[this.key]=null,hs.upcoming==this.a&&(hs.upcoming=null),hs.undim(this.key),this.loading&&(hs.loading.style.left="-9999px"),hs.fireEvent(this,"onHideLoading")},writeCredits:function(){this.credits||(this.credits=hs.createElement("a",{href:hs.creditsHref,target:hs.creditsTarget,className:"highsli
33de-credits",innerHTML:hs.lang.creditsText,title:hs.lang.creditsTitle}),this.createOverlay({overlayId:this.credits,position:this.creditsPosition||"top left",hsId:"credits"}))},getInline:function(types,addOverlay){for(var i=0;i<types.length;i++){var type=types[i],s=null;if("caption"==type&&!hs.fireEvent(this,"onBeforeGetCaption")||"heading"==type&&!hs.fireEvent(this,"onBeforeGetHeading"))return;if(!this[type+"Id"]&&this.thumbsUserSetId&&(this[type+"Id"]=type+"-for-"+this.thumbsUserSetId),this[type+"Id"]&&(this[type]=hs.getNode(this[type+"Id"])),!this[type]&&!this[type+"Text"]&&this[type+"Eval"])try{s=eval(this[type+"Eval"])}catch(e){}if(!this[type]&&this[type+"Text"]&&(s=this[type+"Text"]),!this[type]&&!s&&(this[type]=hs.getNode(this.a["_"+type+"Id"]),!this[type]))for(var next=this.a.nextSibling;next&&!hs.isHsAnchor(next);){if(RegExp("highslide-"+type).test(next.className||null)){next.id||(this.a["_"+type+"Id"]=next.id="hsId"+hs.idCounter++),this[type]=hs.getNode(next.id);break}next=next.nextSibling}if(this[type]||s||this.numberPosition!=type||(s="\n"),!this[type]&&s&&(this[type]=hs.createElement("div",{className:"highslide-"+type,innerHTML:s})),addOverlay&&this[type]){var o={position:"heading"==type?"above":"below"};for(var x in this[type+"Overlay"])o[x]=this[type+"Overlay"][x];o.overlayId=this[type],this.createOverlay(o)}}},doShowHide:function(tt){hs.hideSelects&&this.showHideElements("SELECT",tt),hs.hideIframes&&this.showHideElements("IFRAME",tt),hs.geckoMac&&this.showHideElements("*",tt)},showHideElements:function(tt,ti){for(var tn=document.getElementsByTagName(tt),ts="*"==tt?"overflow":"visibility",ta=0;ta<tn.length;ta++)if("visibility"==ts||"auto"==document.defaultView.getComputedStyle(tn[ta],"").getPropertyValue("overflow")||null!=tn[ta].getAttribute("hidden-by")){var tl=tn[ta].getAttribute("hidden-by");if("visible"==ti&&tl)tl=tl.replace("["+this.key+"]",""),tn[ta].setAttribute("hidden-by",tl),tl||(tn[ta].style[ts]=tn[ta].origProp);else if("hidden"==ti){var tc=hs.getPosition(tn[ta]);if(tc.w=tn[ta].offsetWidth,tc.h=tn[ta].offsetHeight,!this.dimmingOpacity)var tu=tc.x+tc.w<this.x.get("opos")||tc.x>this.x.get("opos")+this.x.get("osize"),td=tc.y+tc.h<this.y.get("opos")||tc.y>this.y.get("opos")+this.y.get("osize");var th=hs.getWrapperKey(tn[ta]);tu||td||th==this.key?(tl=="["+this.key+"]"||hs.focusKey==th)&&th!=this.key?(tn[ta].setAttribute("hidden-by",""),tn[ta].style[ts]=tn[ta].origProp||""):tl&&tl.indexOf("["+this.key+"]")>-1&&tn[ta].setAttribute("hidden-by",tl.replace("["+this.key+"]","")):tl?-1==tl.indexOf("["+this.key+"]")&&tn[ta].setAttribute("hidden-by",tl+"["+this.key+"]"):(tn[ta].setAttribute("hidden-by","["+this.key+"]"),tn[ta].origProp=tn[ta].style[ts],tn[ta].style[ts]="hidden")}}},focus:function(){this.wrapper.style.zIndex=hs.zIndexCounter+=2;for(var tt=0;tt<hs.expanders.length;tt++)if(hs.expanders[tt]&&tt==hs.focusKey){var ti=hs.expanders[tt];ti.content.className+=" highslide-"+ti.contentType+"-blur",ti.isImage&&(ti.content.style.cursor=hs.ieLt7?"hand":"pointer",ti.content.title=hs.lang.focusTitle),hs.fireEvent(ti,"onBlur")}this.outline&&(this.outline.table.style.zIndex=this.wrapper.style.zIndex-1),this.content.className="highslide-"+this.contentType,this.isImage&&(this.content.title=hs.lang.restoreTitle,hs.restoreCursor&&(hs.styleRestoreCursor=window.opera?"pointer":"url("+hs.graphicsDir+hs.restoreCursor+"), pointer",hs.ieLt7&&hs.uaVersion<6&&(hs.styleRestoreCursor="hand"),this.content.style.cursor=hs.styleRestoreCursor)),hs.focusKey=this.key,hs.addEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler),hs.fireEvent(this,"onFocus")},moveTo:function(tt,ti){this.x.setPos(tt),this.y.setPos(ti)},resize:function(tt){var ti,tn,ts=tt.width/tt.height;ti=Math.max(tt.width+tt.dX,Math.min(this.minWidth,this.x.full)),this.isImage&&12>Math.abs(ti-this.x.full)&&(ti=this.x.full),(tn=this.isHtml?tt.height+tt.dY:ti/ts)<Math.min(this.minHeight,this.y.full)&&(tn=Math.min(this.minHeight,this.y.full),this.isImage&&(ti=tn*ts)),this.resizeTo(ti,tn)},resizeTo:function(tt,ti){this.y.setSize(ti),this.x.setSize(tt),this.wrapper.style.height=this.y.get("wsize")+"px"},close:function(){if(!this.isClosing&&this.isExpanded&&("crossfade"==this.transitions[1]&&hs.upcoming&&(hs.getExpander(hs.upcoming).cancelLoading(),hs.upcoming=null),hs.fireEvent(this,"onBeforeClose"))){this.isClosing=!0,this.slideshow&&!hs.upcoming&&this.slideshow.pause(),hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);try{this.isHtml&&this.htmlPrepareClose(),this.content.style.cursor="default",this.changeSize(0,{wrapper:{width:this.x.t,he
33ight:this.y.t,left:this.x.tpos-this.x.cb+this.x.tb,top:this.y.tpos-this.y.cb+this.y.tb},content:{left:0,top:0,width:this.x.t,height:this.y.t}},hs.restoreDuration)}catch(tt){this.afterClose()}}},htmlPrepareClose:function(){if(hs.geckoMac&&(hs.mask||(hs.mask=hs.createElement("div",null,{position:"absolute"},hs.container)),hs.setStyles(hs.mask,{width:this.x.size+"px",height:this.y.size+"px",left:this.x.pos+"px",top:this.y.pos+"px",display:"block"})),"swf"==this.objectType)try{hs.$(this.body.id).StopPlay()}catch(tt){}"after"!=this.objectLoadTime||this.preserveContent||this.destroyObject(),this.scrollerDiv&&this.scrollerDiv!=this.scrollingContent&&(this.scrollerDiv.style.overflow="hidden")},destroyObject:function(){if(hs.ie&&this.iframe)try{this.iframe.contentWindow.document.body.innerHTML=""}catch(tt){this.iframe.src=""}"swf"==this.objectType&&swfobject.removeSWF(this.body.id),this.body.innerHTML=""},sleep:function(){this.outline&&(this.outline.table.style.display="none"),this.releaseMask=null,this.wrapper.style.display="none",this.isExpanded=!1,hs.push(hs.sleeping,this)},awake:function(){try{if(hs.expanders[this.key]=this,!hs.allowMultipleInstances&&hs.focusKey!=this.key)try{hs.expanders[hs.focusKey].close()}catch(tt){}var tt=hs.zIndexCounter++,ti={display:"",zIndex:tt};hs.setStyles(this.wrapper,ti),this.isClosing=!1;var tn=this.outline||0;tn&&(this.outlineWhileAnimating||(ti.visibility="hidden"),hs.setStyles(tn.table,ti)),this.slideshow&&this.initSlideshow(),this.show()}catch(tt){}},createOverlay:function(tt){var ti=tt.overlayId,tn="viewport"==tt.relativeTo&&!/panel$/.test(tt.position);if("string"==typeof ti&&(ti=hs.getNode(ti)),tt.html&&(ti=hs.createElement("div",{innerHTML:tt.html})),ti&&"string"!=typeof ti&&hs.fireEvent(this,"onCreateOverlay",{overlay:ti})&&(ti.style.display="block",tt.hsId=tt.hsId||tt.overlayId,!("crossfade"==this.transitions[1]&&this.reuseOverlay(tt,ti)))){this.genOverlayBox();var ts=tt.width&&/^[0-9]+(px|%)$/.test(tt.width)?tt.width:"auto";/^(left|right)panel$/.test(tt.position)&&!/^[0-9]+px$/.test(tt.width)&&(ts="200px");var ta=hs.createElement("div",{id:"hsId"+hs.idCounter++,hsId:tt.hsId},{position:"absolute",visibility:"hidden",width:ts,direction:hs.lang.cssDirection||"",opacity:0},tn?hs.viewport:this.overlayBox,!0);tn&&(ta.hsKey=this.key),ta.appendChild(ti),hs.extend(ta,{opacity:1,offsetX:0,offsetY:0,dur:0===tt.fade||!1===tt.fade||2==tt.fade&&hs.ie?0:250}),hs.extend(ta,tt),this.gotOverlays&&(this.positionOverlay(ta),(!ta.hideOnMouseOut||this.mouseIsOver)&&hs.animate(ta,{opacity:ta.opacity},ta.dur)),hs.push(this.overlays,hs.idCounter-1)}},positionOverlay:function(tt){var ti=tt.position||"middle center",tn="viewport"==tt.relativeTo,ts=tt.offsetX,ta=tt.offsetY;tn?(hs.viewport.style.display="block",tt.hsKey=this.key,tt.offsetWidth>tt.parentNode.offsetWidth&&(tt.style.width="100%")):tt.parentNode!=this.overlayBox&&this.overlayBox.appendChild(tt),/left$/.test(ti)&&(tt.style.left=ts+"px"),/center$/.test(ti)&&hs.setStyles(tt,{left:"50%",marginLeft:ts-Math.round(tt.offsetWidth/2)+"px"}),/right$/.test(ti)&&(tt.style.right=-ts+"px"),/^leftpanel$/.test(ti)?(hs.setStyles(tt,{right:"100%",marginRight:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"}),this.x.p1=tt.offsetWidth):/^rightpanel$/.test(ti)&&(hs.setStyles(tt,{left:"100%",marginLeft:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"}),this.x.p2=tt.offsetWidth);var tl=tt.parentNode.offsetHeight;tt.style.height="auto",tn&&tt.offsetHeight>tl&&(tt.style.height=hs.ieLt7?tl+"px":"100%"),/^top/.test(ti)&&(tt.style.top=ta+"px"),/^middle/.test(ti)&&hs.setStyles(tt,{top:"50%",marginTop:ta-Math.round(tt.offsetHeight/2)+"px"}),/^bottom/.test(ti)&&(tt.style.bottom=-ta+"px"),/^above$/.test(ti)?(hs.setStyles(tt,{left:-this.x.p1-this.x.cb+"px",right:-this.x.p2-this.x.cb+"px",bottom:"100%",marginBottom:this.y.cb+"px",width:"auto"}),this.y.p1=tt.offsetHeight):/^below$/.test(ti)&&(hs.setStyles(tt,{position:"relative",left:-this.x.p1-this.x.cb+"px",right:-this.x.p2-this.x.cb+"px",top:"100%",marginTop:this.y.cb+"px",width:"auto"}),this.y.p2=tt.offsetHeight,tt.style.position="absolute")},getOverlays:function(){this.getInline(["heading","caption"],!0),this.getNumber(),this.caption&&hs.fireEvent(this,"onAfterGetCaption"),this.heading&&hs.fireEvent(this,"onAfterGetHeading"),this.heading&&this.dragByHeading&&(this.heading.className+=" highsli
33de-move"),hs.showCredits&&this.writeCredits();for(var tt=0;tt<hs.overlays.length;tt++){var ti=hs.overlays[tt],tn=ti.thumbnailId,ts=ti.slideshowGroup;(!tn&&!ts||tn&&tn==this.thumbsUserSetId||ts&&ts===this.slideshowGroup)&&(this.isImage||this.isHtml&&ti.useOnHtml)&&this.createOverlay(ti)}for(var ta=[],tt=0;tt<this.overlays.length;tt++){var ti=hs.$("hsId"+this.overlays[tt]);/panel$/.test(ti.position)?this.positionOverlay(ti):hs.push(ta,ti)}for(var tt=0;tt<ta.length;tt++)this.positionOverlay(ta[tt]);this.gotOverlays=!0},genOverlayBox:function(){this.overlayBox||(this.overlayBox=hs.createElement("div",{className:this.wrapperClassName},{position:"absolute",width:(this.x.size||(this.useBox?this.width:null)||this.x.full)+"px",height:(this.y.size||this.y.full)+"px",visibility:"hidden",overflow:"hidden",zIndex:hs.ie?4:"auto"},hs.container,!0))},sizeOverlayBox:function(tt,ti){var tn=this.overlayBox,ts=this.x,ta=this.y;if(hs.setStyles(tn,{width:ts.size+"px",height:ta.size+"px"}),tt||ti)for(var tl=0;tl<this.overlays.length;tl++){var tc=hs.$("hsId"+this.overlays[tl]),tu=hs.ieLt7||"BackCompat"==document.compatMode;tc&&/^(above|below)$/.test(tc.position)&&(tu&&(tc.style.width=tn.offsetWidth+2*ts.cb+ts.p1+ts.p2+"px"),ta["above"==tc.position?"p1":"p2"]=tc.offsetHeight),tc&&tu&&/^(left|right)panel$/.test(tc.position)&&(tc.style.height=tn.offsetHeight+2*ta.cb+"px")}tt&&(hs.setStyles(this.content,{top:ta.p1+"px"}),hs.setStyles(tn,{top:ta.p1+ta.cb+"px"}))},showOverlays:function(){var tt=this.overlayBox;tt.className="",hs.setStyles(tt,{top:this.y.p1+this.y.cb+"px",left:this.x.p1+this.x.cb+"px",overflow:"visible"}),hs.safari&&(tt.style.visibility="visible"),this.wrapper.appendChild(tt);for(var ti=0;ti<this.overlays.length;ti++){var tn=hs.$("hsId"+this.overlays[ti]);tn.style.zIndex=tn.zIndex||4,(!tn.hideOnMouseOut||this.mouseIsOver)&&(tn.style.visibility="visible",hs.setStyles(tn,{visibility:"visible",display:""}),hs.animate(tn,{opacity:tn.opacity},tn.dur))}},destroyOverlays:function(){if(this.overlays.length){if(this.slideshow){var tt=this.slideshow.controls;tt&&hs.getExpander(tt)==this&&tt.parentNode.removeChild(tt)}for(var ti=0;ti<this.overlays.length;ti++){var tn=hs.$("hsId"+this.overlays[ti]);tn&&tn.parentNode==hs.viewport&&hs.getExpander(tn)==this&&hs.discardElement(tn)}this.isHtml&&this.preserveContent?(this.overlayBox.style.top="-9999px",hs.container.appendChild(this.overlayBox)):hs.discardElement(this.overlayBox)}},createFullExpand:function(){if(this.slideshow&&this.slideshow.controls){this.slideshow.enable("full-expand");return}this.fullExpandLabel=hs.createElement("a",{href:"javascript:hs.expanders["+this.key+"].doFullExpand();",title:hs.lang.fullExpandTitle,className:"highslide-full-expand"}),hs.fireEvent(this,"onCreateFullExpand")&&this.createOverlay({overlayId:this.fullExpandLabel,position:hs.fullExpandPosition,hideOnMouseOut:!0,opacity:hs.fullExpandOpacity})},doFullExpand:function(){try{if(!hs.fireEvent(this,"onDoFullExpand"))return;this.fullExpandLabel&&hs.discardElement(this.fullExpandLabel),this.focus();var tt=this.x.size,ti=this.y.size;this.resizeTo(this.x.full,this.y.full);var tn=this.x.pos-(this.x.size-tt)/2;tn<hs.marginLeft&&(tn=hs.marginLeft);var ts=this.y.pos-(this.y.size-ti)/2;ts<hs.marginTop&&(ts=hs.marginTop),this.moveTo(tn,ts),this.doShowHide("hidden")}catch(tt){this.error(tt)}},afterClose:function(){this.a.className=this.a.className.replace("highslide-active-anchor",""),$(".gallery-item--spacer").unbind("keydown"),this.doShowHide("visible"),this.isHtml&&this.preserveContent&&"crossfade"!=this.transitions[1]?this.sleep():(this.outline&&this.outlineWhileAnimating&&this.outline.destroy(),this.iframe&&"after"!=this.objectLoadTime&&this.destroyObject(),hs.discardElement(this.wrapper)),hs.mask&&(hs.mask.style.display="none"),this.destroyOverlays(),hs.viewport.childNodes.length||(hs.viewport.style.display="none"),this.dimmingOpacity&&hs.undim(this.key),hs.fireEvent(this,"onAfterClose"),hs.expanders[this.key]=null,hs.reOrder()},tabbable:function(tt,ti){9==(tt.keyCode||tt.which)&&(tt.preventDefault(),ti[hs.nextActive].focus(),hs.nextActive++,hs.nextActive==ti.length&&(hs.nextActive=0))},addTabbable:function(tt){if(tt)return hs.tabbables=[],$(".highslide-thumbstrip img").each(function(){$(this).removeAttr("tabindex")}),!1;hs.tabbables=[],$(".highslide-wrapper .gallery-item--highslide-link a").length&&hs.tabbables.push($(".highslide-wrapper .gallery-item--highslide-link a")),hs.tabbables.push($(".highslide-wrapper .prev-item")),hs.tabbables.push($(".highslide-wrapper .next-item")),hs.tabbables.push($(".close-modal")),hs.tabbables.push($(".highslide-wrapper .highslide-full-expand")),$(".highslide-thumbstrip img").each(function(){$(this).attr("tabindex",0),hs.tabbables.push($(this))})}},hs.Ajax=function(tt,ti,tn){this.a=tt,this.content=ti,this.pre=tn},hs.Ajax.prototype={run:function(){if(this.src||(this.src=hs.getSrc(this.a)),this.src.match("#")){var tt,ti=this.src.split("#");this.src=ti[0],this.id=ti[1]}if(hs.cachedGets[this.src]){this.cachedGet=hs.cachedGets[this.src],this.id?this.getElementContent():this.loadHTML();return}try{tt=new XMLHttpRequest}catch(ti){try{tt=new ActiveXObject("Msxml2.XMLHTTP")}catch(ti){try{tt=new ActiveXObject("Microsoft.XMLHTTP")}catch(tt){this.onError()}}}var tn=this;tt.onreadystatechange=function(){4==tn.xhr.readyState&&(tn.id?tn.getElementContent():tn.loadHTML())};var ts=this.src;this.xhr=tt,hs.forceAjaxReload&&(ts=ts.replace(/$/,(/\?/.test(ts)?"&":"?")+"dummy="+new Date().getTime())),tt.open("GET",ts,!0),tt.setRequestHeader("X-Requested-With","XMLHttpRequest"),tt.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),tt.send(null)},getElementContent:function(){hs.init();var tt=window.opera||hs.ie6SSL?{src:"about:blank"}:null;this.iframe=hs.createElement("iframe",tt,{position:"absolute",top:"-9999px"},hs.container),this.loadHTML()},loadHTML:function(){var tt,ti=this.cachedGet||this.xhr.responseText;if(this.pre&&(hs.cachedGets[this.src]=ti),!hs.ie||hs.uaVersion>=5.5){if(ti=ti.replace(RegExp("<link[^>]*>","gi"),"").replace(RegExp("<script[^>]*>.*?</script>","gi"),""),this.iframe){var tn=this.iframe.contentDocument;if(!tn&&this.iframe.contentWindow&&(tn=this.iframe.contentWindow.document),!tn){var ts=this;setTimeout(function(){ts.loadHTML()},25);return}tn.open(),tn.write(ti),tn.close();try{ti=tn.getElementById(this.id).innerHTML}catch(tt){try{ti=this.iframe.document.getElementById(this.id).innerHTML}catch(tt){}}hs.discardElement(this.iframe)}else(tt=/(<body[^>]*>|<\/body>)/ig).test(ti)&&(ti=ti.split(tt)[hs.ieLt9?1:2])}for(var ta in hs.getElementByClass(this.content,"DIV","highslide-body").innerHTML=ti,this.onLoad(),this)this[ta]=null}},hs.Slideshow=function(tt,ti){for(var tn in!1!==hs.dynamicallyUpdateAnchors&&hs.updateAnchors(),this.expKey=tt,ti)this[tn]=ti[tn];this.useControls&&this.getControls(),this.thumbstrip&&(this.thumbstrip=hs.Thumbstrip(this))},hs.Slideshow.prototype={getControls:function(){this.controls=hs.createElement("div",{innerHTML:hs.replaceLang(hs.skin.controls)}
33,null,hs.container);var tt=["play","pause","previous","next","move","full-expand","close"];this.btn={};for(var ti=0;ti<tt.length;ti++)this.btn[tt[ti]]=hs.getElementByClass(this.controls,"li","highslide-"+tt[ti]),this.enable(tt[ti]);this.btn.pause.style.display="none"},checkFirstAndLast:function(){if(!this.repeat&&this.controls){var tt=hs.expanders[this.expKey],ti=tt.getAnchorIndex(),tn=/disabled$/;0==ti?this.disable("previous"):tn.test(this.btn.previous.getElementsByTagName("a")[0].className)&&this.enable("previous"),ti+1==hs.anchors.groups[tt.slideshowGroup||"none"].length?(this.disable("next"),this.disable("play")):tn.test(this.btn.next.getElementsByTagName("a")[0].className)&&(this.enable("next"),this.enable("play"))}},enable:function(tt){if(this.btn){var ti=this,tn=this.btn[tt].getElementsByTagName("a")[0],ts=/disabled$/;tn.onclick=function(){return ti[tt](),!1},ts.test(tn.className)&&(tn.className=tn.className.replace(ts,""))}},disable:function(tt){if(this.btn){var ti=this.btn[tt].getElementsByTagName("a")[0];ti.onclick=function(){return!1},/disabled$/.test(ti.className)||(ti.className+=" disabled")}},hitSpace:function(){this.autoplay?this.pause():this.play()},play:function(tt){this.btn&&(this.btn.play.style.display="none",this.btn.pause.style.display=""),this.autoplay=!0,tt||hs.next(this.expKey)},pause:function(){this.btn&&(this.btn.pause.style.display="none",this.btn.play.style.display=""),clearTimeout(this.autoplay),this.autoplay=null},previous:function(){this.pause(),hs.addTabbable(!1),hs.previous(this.btn.previous)},next:function(){this.pause(),hs.next(this.btn.next),hs.addTabbable(!1)},move:function(){},"full-expand":function(){hs.getExpander().doFullExpand()},close:function(){hs.close(this.btn.close)}},hs.Thumbstrip=function(tt){function ti(tt){hs.extend(tc||{},{overlayId:tf,hsId:"thumbstrip",className:"highslide-thumbstrip-"+tu+"-overlay "+(tc.className||"")}),hs.ieLt7&&(tc.fade=0),tt.createOverlay(tc),hs.setStyles(tf.parentNode,{overflow:"hidden"})}function tn(tt){ts(void 0,Math.round(tt*tf[tp?"offsetWidth":"offsetHeight"]*.7))}function ts(ti,tn){if(void 0===ti){for(var ts=0;ts<tl.length;ts++)if(tl[ts]==hs.expanders[tt.expKey].a){ti=ts;break}}if(void 0!==ti){var ta=tf.getElementsByTagName("a"),tc=ta[ti],tu=tc.parentNode,td=tp?"Left":"Top",th=tp?"Width":"Height",tm="offset"+td,tx="offset"+th,t_=tg.parentNode.parentNode[tx],tT=t_-tw[tx],tk=parseInt(tw.style[tp?"left":"top"])||0,tj=tk;if(void 0!==tn)tT>0&&(tT=0),(tj=tk-tn)>0&&(tj=0),tj<tT&&(tj=tT);else{for(var ts=0;ts<ta.length;ts++)ta[ts].className="";tc.className="highslide-active-anchor";var tC=ti>0?ta[ti-1].parentNode[tm]:tu[tm],tS=tu[tm]+tu[tx]+(ta[ti+1]?ta[ti+1].parentNode[tx]:0);tS>t_-tk?tj=t_-tS:tC<-tk&&(tj=-tC)}var tE=tu[tm]+(tu[tx]-tb[tx])/2+tj;hs.animate(tw,tp?{left:tj}:{top:tj},null,"easeOutQuad"),hs.animate(tb,tp?{left:tE}:{top:tE},null,"easeOutQuad"),tv.style.display=tj<0?"block":"none",ty.style.display=tj>tT?"block":"none"}}for(var ta,tl=hs.anchors.groups[hs.expanders[tt.expKey].slideshowGroup||"none"],tc=tt.thumbstrip,tu=tc.mode||"horizontal",td="float"==tu,th=td?["div","ul","li","span"]:["table","tbody","tr","td"],tp="horizontal"==tu,tf=hs.createElement("div",{className:"highslide-thumbstrip highslide-thumbstrip-"+tu,innerHTML:'<div class="highslide-thumbstrip-inner"><'+th[0]+"><"+th[1]+"></"+th[1]+"></"+th[0]+'></div><div class="highslide-scroll-up"><div></div></div><div class="highslide-scroll-down"><div></div></div><div class="highslide-marker"><div></div></div>'},{display:"none"},hs.container),tm=tf.childNodes,tg=tm[0],tv=tm[1],ty=tm[2],tb=tm[3],tw=tg.firstChild,tx=tf.getElementsByTagName(th[1])[0],t_=0;t_<tl.length;t_++)0!=t_&&tp||(ta=hs.createElement(th[2],null,null,tx)),function(){var tt=tl[t_],ti=hs.createElement(th[3],null,null,ta);hs.createElement("a",{href:tt.href,title:tt.title,onclick:function(){return!/highslide-active-anchor/.test(this.className)&&(hs.getExpander(this).focus(),hs.transit(tt))},innerHTML:hs.stripItemFormatter?hs.stripItemFormatter(tt):tt.innerHTML.replace("style","data-style")},null,ti)}();return td||(tv.onclick=function(){tn(-1)},ty.onclick=function(){tn(1)},hs.addEventListener(tx,void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll",function(tt){var ti=0;(tt=tt||window.event).wheelDelta?(ti=tt.wheelDelta/120,hs.opera&&(ti=-ti)):tt.detail&&(ti=-tt.detail/3),ti&&tn(-(.2*ti)
33),tt.preventDefault&&tt.preventDefault(),tt.returnValue=!1})),{add:ti,selectThumb:ts}},hs.langDefaults=hs.lang;var HsExpander=hs.Expander;hs.ie&&window==window.top&&function(){try{document.documentElement.doScroll("left")}catch(tt){setTimeout(arguments.callee,50);return}hs.ready()}(),hs.addEventListener(document,"DOMContentLoaded",hs.ready),hs.addEventListener(window,"load",hs.ready),hs.addEventListener(document,"ready",function(){if(hs.expandCursor||hs.dimmingOpacity){var tt=hs.createElement("style",{type:"text/css"},null,document.getElementsByTagName("HEAD")[0]),ti="BackCompat"==document.compatMode;function tn(tn,ts){if(hs.ie&&(hs.uaVersion<9||ti)){var ta=document.styleSheets[document.styleSheets.length-1];"object"==typeof ta.addRule&&ta.addRule(tn,ts)}else tt.appendChild(document.createTextNode(tn+" {"+ts+"}"))}function ts(tt){return"expression( ( ( ignoreMe = document.documentElement."+tt+" ? document.documentElement."+tt+" : document.body."+tt+" ) ) + 'px' );"}hs.expandCursor&&tn(".highslide img","cursor: url("+hs.graphicsDir+hs.expandCursor+"), pointer !important;"),tn(".highslide-viewport-size",hs.ie&&(hs.uaVersion<7||ti)?"position: absolute; left:"+ts("scrollLeft")+"top:"+ts("scrollTop")+"width:"+ts("clientWidth")+"height:"+ts("clientHeight"):"position: fixed; width: 100%; height: 100%; left: 0; top: 0")}}),hs.addEventListener(window,"resize",function(){if(hs.getPageSize(),hs.viewport)for(var tt=0;tt<hs.viewport.childNodes.length;tt++){var ti=hs.viewport.childNodes[tt],tn=hs.getExpander(ti);tn.positionOverlay(ti),"thumbstrip"==ti.hsId&&tn.slideshow.thumbstrip.selectThumb()}}),hs.addEventListener(document,"mousemove",function(tt){hs.mouse={x:tt.clientX,y:tt.clientY}}),hs.addEventListener(document,"mousedown",hs.mouseClickHandler),hs.addEventListener(document,"mouseup",hs.mouseClickHandler),hs.addEventListener(document,"ready",hs.setClickEvents),hs.addEventListener(window,"load",hs.preloadAjax)}function menuPrepare(){origMenuContent.length||(origMenuContent=menu.html()),menuHolder.css("width",menuHolderMaxWidth),allMenus.push([currentMenu.html(),Math.round(calcTotalMenuItemsWidth())]);for(var tt=0;tt<=menuChildrenCount;tt++){moreButton.length&&moreButton.remove();var ti=currentMenu.children("li:last").remove();currentMenu.append(moreButton);var tn=calcTotalMenuItemsWidth();moreButton.children("ul").prepend($(ti)),allMenus.push([currentMenu.html(),Math.round(tn)])}menuHolder.css("width","")}function calcTotalMenuItemsWidth(){var tt=0;return currentMenu.children().each(function(){tt+=$(this)[0].getBoundingClientRect().width}),tt}function addMoreButton(){for(var tt=0;tt<=menuChildrenCount;tt++){if(currentMenuWidth<=allMenus[0][1]&&currentMenuWidth>=allMenus[tt][1]){currentMenu.empty(),currentMenu.append(allMenus[tt][0]);return}if(currentMenuWidth>allMenus[0][1]){currentMenu.empty(),currentMenu.append(origMenuContent);return}}}function styleInnerPageStaff(){var tt=$(".staff-layout .wrap__main");tt.append('<div class="staff-member-extended-wrapper"><div class="wrap-staff--inner"></div></div>');var ti=tt.find(".staff-member-extended-wrapper");ti.insertAfter($(".wrap__container")),tt.find(".staff-member--extended").appendTo(ti.children(".wrap-staff--inner"))}function disableLinks(tt){$(tt).each(function(){("#"===$(this).attr("href")||"javascript.void(0)"===$(this).attr("href"))&&$(this).click(function(tt){tt.preventDefault()})})}!function(tt){"use strict";var ti=function(ti,tn){var ts=this;this.$el=tt(ti),this.options=tn,this.init(),tt(window).resize(function(){ts.contentPosition(),null!==hs.getExpander()&&hs.getExpander().reflow()})};ti.prototype.init=function(){var ti=this;function tn(){setTimeout(function(){var ti=tt(".highslide-thumbstrip-inner .highslide-active-anchor"),tn=tt(".highslide-marker");if(ti.length&&tn.length){var ts=ti.parent().position().left+ti.parent().outerWidth()/2-tn.outerWidth()/2;tn.css("left",ts+"px")}},30)}hs.graphicsDir=this.options.graphicsDir+"/",hs.align="center",hs.transitions=["expand","crossfade"],hs.fadeInOut=!0,hs.dimmingOpacity=.8,hs.captionEval=null,hs.marginBottom=105,hs.allowSizeReduction=!0,hs.expandCursor=null,hs.restoreCursor=null,hs.showCredits=!1,hs.onDrag=!1,hs.preserveContent=!1,hs.cacheAjax=!1,this.contentPosition(),this.options.showBorder?hs.outlineType="rounded-white":hs.outlineType=null,hs.Expander.prototype.onAfterExpand=function(){tn()},this.slideshowGroup="gallery-"+Math.random().toString(36).slice(2,11),this.$el.find("a.highsli
33de").each(function(){let tn=tt(this),ts=tn.attr("onclick")?.includes("hs.htmlExpand");if(tn.attr("data-slideshow-group",ti.slideshowGroup),ts){let tt=tn.attr("onclick"),ts=tt.replace(/\{\s*/,`{ slideshowGroup: '${ti.slideshowGroup}', `);tn.attr("onclick",ts)}else tn.attr("onclick",`return hs.expand(this, { align: 'center', slideshowGroup: '${ti.slideshowGroup}' })`)}),this.options.showThumbnails&&hs.addSlideshow({slideshowGroup:this.slideshowGroup,interval:5e3,repeat:!0,useControls:!1,overlayOptions:{className:"text-controls",position:"bottom center",relativeTo:"viewport",offsetY:-60},thumbstrip:{position:"bottom center",mode:"horizontal",relativeTo:"viewport"}})},ti.prototype.contentPosition=function(){"rightText"==this.options.layout&&"desktop"==this.getDevice()?(hs.captionOverlay.position="rightpanel",hs.captionOverlay.width="220px"):hs.captionOverlay.position="below"},ti.DEFAULTS={},ti.prototype.getDevice=function(){var ti=tt(window).width();return ti<768?"mobile":ti<1025?"tablet":"desktop"};var tn=tt.fn.highSlide;tt.fn.highSlide=function(tn){var ts=Array.prototype.slice.call(arguments,1),ta=void 0;return this.each(function(){var tl=tt(this),tc=tt.extend({},ti.DEFAULTS,tl.data(),"object"==typeof tn&&tn),tu=new ti(this,tc);if("string"==typeof tn&&(ta=tu[tn].apply(tu,ts)),void 0!==ta)return!1}),ta||this},tt.fn.highSlide.Constructor=ti,tt.fn.highSlide.noConflict=function(){return tt.fn.highSlide=tn,this},tt(document).on("ready",function(){tt("[data-control=highslide]").each(function(){tt(this).highSlide()})})}(window.jQuery),function(tt){"use strict";var ti=function(tt,ti){this.$el=tt,this.$gridContainer=this.$el.find(".grid-container"),this.$sliderContainer=this.$el.find("#gallery-bx-slider"),this.options=ti,this.prevDevice=null,this.$items=this.$el.find(".gallery-grid--item").clone(),this.processDeviceColumns(),this.attachEvents()};ti.prototype.attachEvents=function(){var ti=this;tt(window).resize(function(){ti.processDeviceColumns()})},ti.prototype.processDeviceColumns=function(){"grid_2"==this.options.layoutType?this.doGrid():"grid_1"==this.options.layoutType?this.doMasonry():"slider_1"==this.options.layoutType&&this.doSlideshow()},ti.prototype.doMasonry=function(){var ti=this.getDevice();if(this.prevDevice!=ti){this.prevDevice=ti;var tn=this.options[ti+"Columns"],ts=this.$el.find(".gallery-grid--item");ts.each(function(){tt(this).removeClass(function(tt,ti){return(ti.match(/\bgallery-grid--columns\S+/g)||[]).join(" ")})}),ts.each(function(){tt(this).addClass("gallery-grid--columns-"+tn)}),ts.find("[data-setup-run]").each(function(){videojs(this,tt(this).data("setupRun"),function(){var tt=this;tt.options()})}),this.$el.find('[data-control="masonry"]').masonryFunction(),this.$gridContainer.length?this.$gridContainer.trigger("html_restructured"):this.$el.trigger("html_restructured")}},ti.prototype.doGrid=function(){var ti=this.getDevice();if(this.prevDevice==ti){"none"!=this.options.ratio&&this.$el.imgScale();return}this.prevDevice=ti;var tn=this.options[ti+"Columns"];this.resetGridHTML(),this.$items.each(function(){tt(this).removeClass(function(tt,ti){return(ti.match(/\bgallery-grid--columns\S+/g)||[]).join(" ")})}),this.$items.each(function(){tt(this).addClass("gallery-grid--columns-"+tn)});for(var ts=Math.ceil(this.$items.length/tn),ta=1;ta<=ts;ta++){var tl=tt('<div class="gallery-row"></div>');this.$gridContainer.append(tl);for(var tc=(ta-1)*tn;tc<ta*tn;tc++)if(void 0!==this.$items[tc]){var tu=tt(this.$items[tc]);if(0==tu.find(".highslide-caption").length){var td=tu.find("a.highslide");if(td.data("hasCaption")){var th=tt("#caption-"+td.attr("id").split("-")[1]).html();void 0!=th&&(th=(th=th.replace("display: none","")).replace("highslide-caption-helper","highslide-caption"),td.after(th))}}tl.append(tt(this.$items[tc]).clone())}}"none"!=this.options.ratio&&this.$el.imgScale(),this.$gridContainer.trigger("html_restructured")},ti.prototype.doSlideshow=function(){var ti=this.getDevice();if(this.prevDevice==ti){"none"!=this.options.ratio&&this.$el.imgScale();return}this.prevDevice=ti;var tn=this.options[ti+"Columns"];
33void 0!=this.Slider&&(tt(this.$el.find("#gallery-bx-slider > li")).each(function(){tt(this).hasClass("bx-clone")&&tt(this).remove()}),this.Slider.destSlider()),this.resetSlideshowHTML(),this.$items.each(function(){tt(this).removeClass(function(tt,ti){return(ti.match(/\bgallery-grid--columns\S+/g)||[]).join(" ")})}),this.$items.each(function(){tt(this).addClass("gallery-grid--columns-"+tn)});for(var ts=Math.ceil(this.$items.length/tn),ta=1;ta<=ts;ta++){var tl=tt('<li class="items-container"></li>'),tc=tt('<div class="gallery-items-wrap"></div>');this.$sliderContainer.append(tl),tl.append(tc);for(var tu=(ta-1)*tn;tu<ta*tn;tu++)if(void 0!==this.$items[tu]){var td=tt(this.$items[tu]);if(0==td.find(".highslide-caption").length){var th=td.find("a.highslide");if(th.data("hasCaption")){var tp=tt("#caption-"+th.attr("id").split("-")[1]).html();void 0!=tp&&(tp=(tp=tp.replace("display: none","")).replace("highslide-caption-helper","highslide-caption"),th.after(tp))}}tc.append(tt(this.$items[tu]).clone())}}"none"!=this.options.ratio&&this.$el.imgScale(),window.gallerySlider=this.Slider=this.$sliderContainer.slideshow(),window.gallerySliderArr.push(this.Slider.$bxSlider),this.$sliderContainer.trigger("html_restructured")},ti.prototype.resetGridHTML=function(){var tt=this;tt.$gridContainer.html("")},ti.prototype.resetSlideshowHTML=function(){var tt=this;tt.$sliderContainer.html("")},ti.prototype.getDevice=function(){var ti=tt(window).width();return ti<752?"mobile":ti<1025?"tablet":"desktop"};var tn=tt.fn.DevicePreview;tt.fn.devicePreview=function(tn){var ts;return arguments,this.each(function(){var ta=tt(this),tl=tt.extend({},ta.data(),"object"==typeof tn&&tn),tc="";if(ta.data("DevicePreview",tc=new ti(ta,tl)),void 0!==ts)return!1}),ts||this},tt.fn.devicePreview.Constructor=ti,tt.fn.devicePreview.noConflict=function(){return tt.fn.devicePreview=tn,this},tt(window).on("load",function(){var ti=tt('[data-ctrl="device-preview"]');window.gallerySliderArr=[],ti.length&&ti.each(function(){tt(this).devicePreview()})})}(window.jQuery),$(document).ready(function(){var tt=$(".editable__container");tt.length&&tt.each(function(){var tt=$(this),ti=tt.find(".contentExpandWrap"),tn=tt.find("#readMoreLink");if(tn.length){function ts(tt,ti){$(tt).each(function(){var tt=$(ti,{html:$(this).html()});$.each(this.attributes,function(){tt.attr(this.name,this.value)}),$(this).replaceWith(tt)})}"SPAN"==tn[0].nodeName&&(tn.attr("href","#editableAnimateShowLess"),ts(tn,"<a></a>")),ti.add(tn).removeClass("expand"),ti.hide(),tn.text("Show More"),tt.on("click","#readMoreLink",function(tn){tn.preventDefault();var ts=$(this),ta=$("body .redactor-link-tooltip .redactor-link-tooltip-action:first-child");ta.length&&ta.parent().css("visibility","hidden"),"Show More"===ts.text()?(tt.removeAttr("id"),ts.text("Show Less")):(tt.attr("id","editableAnimateShowLess"),ts.text("Show More")),ti.add(ts).toggleClass("expand")})}})}),(tt=>{"use strict";class ti{constructor(tt){this.$el=tt,this.init()}init(){this.bindToOffsetToAnchors()}bindToOffsetToAnchors(){this.$el.on("click",'a[href^="#"]',ti=>{let tn=ti.target;if(!tn)return;let ts=decodeURI(tn.hash).slice(1);if(!ts)return;let ta=document.getElementById(ts);ta&&this.animateToAnchor(tt(ta))})}animateToAnchor(ti,tn){tn??=this.getStickySectionsHeight(),tt("html, body").animate({scrollTop:ti.offset().top-tn},"slow")}getStickySectionsHeight(){return PLEStickyState?.getStickySectionsHeight()??0}static dataAttribute="linkToSection"}tt(()=>{for(let tn of document.querySelectorAll(".editable__container")){let ts=tt(tn);ts.data(ti.dataAttribute,new ti(ts))}})})(window.jQuery),function(tt){"use strict";function ti(ti){ti.each(function(){tt(this).find(".expander").each(function(){tt(this).click(function(){"true"==tt(this).attr("aria-expanded")?tt(this).attr("aria-expanded","false"):tt(this).attr("aria-expanded","true"),tt(this).closest(".featuredblock__wrap").find("ul").slideToggle()})})})}tt(document).ready(function(){tt(".fbF_ShowMoreLess").click(function(){tt(this).fadeOut(0).toggleClass("showMore").fadeIn(800),tt(this).parent().find(".featuredblock.row").toggleClass("showMore")}),tt(".featuredblock__description.nonPle p").addClass("featuredblock__description")}),tt(window).load(function(){ti(tt(".featuredblocks-flyup-a")),ti(tt(".featuredblocks-flyup-b")),ti(tt(".featuredblocks-flyup-c"))})}(window.jQuery),function(tt,ti){function tn(tt){if(1/tt==-1/0&&(tt=0),tt>4294967295)throw RangeError("Invalid array length");var ti=[];return ti.length=tt,ti}function ts(tt,ti){var tn=arguments.length>2?arguments[2]:[];if(!1===td(tt))throw TypeError(Object.prototype.toString.call(tt)+"is not a function.");return tt.apply(ti,tn)}function ta(tt,ti){return tt[ti]}function tl(tt,ti){return Object.prototype.hasOwnProperty.call(tt,ti)}function tc(tt,ti){return ti in tt}function tu(tt){return"[object Array]"===Object.prototype.toString.call(tt)}function td(tt){return"function"==typeof tt}function th(tt,ti){return tt===ti}function tp(tt){return!!tt}function tf(tt){if(null==tt)throw TypeError();return Object(tt)}function tm(tt,ti){return tf(tt)[ti]}function tg(tt,ti){var tn=tm(tt,ti);if(null!=tn){if(!1===td(tn))throw TypeError("Method not callable: "+ti);return tn}}function tv(ti){switch(typeof ti){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";default:return null===ti?"null":"Symbol"in tt&&(ti instanceof tt.Symbol||ti.constructor===tt.Symbol)?"symbol":"object"}}function ty(tt,ti){var tn=ta(tt,"prototype");return"object"!==tv(tn)&&(tn=ti),tn}function tb(tt){return"object"===tv(tt)&&"function"==typeof tt&&!!tt.prototype}function tw(tt,ti){if("string"===ti)var tn=["toString","valueOf"];else tn=["valueOf","toString"];for(var tl=0;tl<tn.length;++tl){var tc=ta(tt,tn[tl]);if(td(tc)){var tu=ts(tc,tt);if("object"!==tv(tu))return tu}}throw TypeError("Cannot convert to primitive.")}function tx(tt,ti){return tv(tt)===tv(ti)&&("number"===tv(tt)?!(!isNaN(tt)||!isNaN(ti))||1/tt==1/0&&1/ti==-1/0||1/tt==-1/0&&1/ti==1/0||tt
33===ti:th(tt,ti))}function t_(tt){if("symbol"===tv(tt))throw TypeError("Cannot convert a Symbol value to a number");var ti=Number(tt);return isNaN(ti)?0:1/ti==1/0||1/ti==-1/0||ti===1/0||ti===-1/0?ti:(ti<0?-1:1)*Math.floor(Math.abs(ti))}function tT(tt){var ti=t_(tt);return ti<=0?0:Math.min(ti,9007199254740991)}function tk(tn){var ta=arguments.length>1?arguments[1]:ti;if("object"===tv(tn)){if(arguments.length<2)var tl="default";else ta===String?tl="string":ta===Number&&(tl="number");var tc="function"==typeof tt.Symbol&&"symbol"==typeof tt.Symbol.toPrimitive?tg(tn,tt.Symbol.toPrimitive):ti;if(ti!==tc){var tu=ts(tc,tn,[tl]);if("object"!==tv(tu))return tu;throw TypeError("Cannot convert exotic object to primitive.")}return"default"===tl&&(tl="number"),tw(tn,tl)}return tn}function tj(tt){switch(tv(tt)){case"symbol":throw TypeError("Cannot convert a Symbol value to a string");case"object":return tj(tk(tt,String));default:return String(tt)}}function tC(tt){var ti=tk(tt,String);return"symbol"===tv(ti)?ti:tj(ti)}function tS(tt,ti,tn){var ts={value:tn,writable:!0,enumerable:!0,configurable:!0};try{return Object.defineProperty(tt,ti,ts),!0}catch(tt){return!1}}function tE(tt,ti,tn){var ts=tS(tt,ti,tn);if(!ts)throw TypeError("Cannot assign value `"+Object.prototype.toString.call(tn)+"` to property `"+Object.prototype.toString.call(ti)+"` on object `"+Object.prototype.toString.call(tt)+"`");return ts}function tO(tt,ti,tn){Object.defineProperty(tt,ti,{value:tn,writable:!0,enumerable:!1,configurable:!0})}function tP(tt,ti){var tn=arguments[2]||{},ts=Object.create(ty(tt,ti));for(var ta in tn)Object.prototype.hasOwnProperty.call(tn,ta)&&Object.defineProperty(ts,ta,{configurable:!0,enumerable:!1,writable:!0,value:tn[ta]});return ts}function tI(tt){var ti=arguments.length>2?arguments[2]:tt,tn=arguments.length>1?arguments[1]:[];if(!tb(tt))throw TypeError("F must be a constructor.");if(!tb(ti))throw TypeError("newTarget must be a constructor.");if(ti===tt)return new(Function.prototype.bind.apply(tt,[null].concat(tn)));var ta=tP(ti,Object.prototype);return ts(tt,ta,tn)}function tM(ts,tl){if(0===tl&&1/tl==-1/0&&(tl=0),!1===tu(ts))return tn(tl);var tc=ta(ts,"constructor");if("object"===tv(tc)&&null===(tc="Symbol"in tt&&"species"in tt.Symbol?ta(tc,tt.Symbol.species):ti)&&(tc=ti),ti===tc)return tn(tl);if(!tb(tc))throw TypeError("C must be a constructor");return tI(tc,[tl])}"Date"in tt&&"now"in tt.Date&&"getTime"in tt.Date.prototype||(Date.now=function(){return(new Date).getTime()}),"document"in tt||"undefined"!=typeof WorkerGlobalScope||"function"==typeof importScripts||(tt.HTMLDocument?tt.Document=tt.HTMLDocument:(tt.Document=tt.HTMLDocument=document.constructor=Function("return function Document() {}")(),tt.Document.prototype=document)),"Element"in tt&&"HTMLElement"in tt||function(){function ti(){return tp--||clearTimeout(tn),!(!document.body||document.body.prototype||!/(complete|interactive)/.test(document.readyState))&&(tu(document,!0),tn&&document.body.prototype&&clearTimeout(tn),!!document.body.prototype)}if(!("Element"in tt&&"HTMLElement"in tt)){if(window.Element&&!window.HTMLElement)return void(window.HTMLElement=window.Element);window.Element=window.HTMLElement=Function("return function Element() {}")();var tn,ts=document.appendChild(document.createElement("body")),ta=ts.appendChild(document.createElement("iframe")).contentWindow.document,tl=Element.prototype=ta.appendChild(ta.createElement("*")),tc={},tu=function(tt,ti){var tn,ts,ta,tl=tt.childNodes||[],td=-1;if(1===tt.nodeType&&tt.constructor!==Element)for(tn in tt.constructor=Element,tc)ts=tc[tn],tt[tn]=ts;for(;ta=ti&&tl[++td];)tu(ta,ti);return tt},td=document.getElementsByTagName("*"),th=document.createElement,tp=100;tl.attachEvent("onpropertychange",function(tt){for(var ti,tn=tt.propertyName,ts=!Object.prototype.hasOwnProperty.call(tc,tn),ta=tl[tn],tu=tc[tn],th=-1;ti=td[++th];)1===ti.nodeType&&(ts||ti[tn]===tu)&&(ti[tn]=ta);tc[tn]=ta}),tl.constructor=Element,tl.hasAttribute||(tl.hasAttribute=function(tt){return null!==this.getAttribute(tt)}),ti()||(document.onreadystatechange=ti,tn=setInterval(ti,25)),document.createElement=function(tt){return tu(th(String(tt).toLowerCase()))},document.removeChild(ts)}}(),"defineProperty"in Object&&function(){try{var tt={};return Object.defineProperty(tt,"test",{value:42}),!0}catch(tt){return!1}}()||function(tt){var tn=Object.prototype.hasOwnProperty.call(Object.prototype,"__defineGetter__"),ts="A property cannot both have accessors and be writable or have a value";Object.defineProperty=function(ta,tl,tc){if(tt&&(ta===window||ta===document||ta===Element.prototype||ta instanceof Element))return tt(ta,tl,tc);if(null===ta||!(ta instanceof Object||"object"==typeof ta))throw TypeError("Object.defineProperty called on non-object");
33if(!(tc instanceof Object))throw TypeError("Property description must be an object");var tu=String(tl),td="value"in tc||"writable"in tc,th="get"in tc&&typeof tc.get,tp="set"in tc&&typeof tc.set;if(th){if(ti===th)return ta;if("function"!==th)throw TypeError("Getter must be a function");if(!tn)throw TypeError("Getters & setters cannot be defined on this javascript engine");if(td)throw TypeError(ts);Object.__defineGetter__.call(ta,tu,tc.get)}else ta[tu]=tc.value;if(tp){if(ti===tp)return ta;if("function"!==tp)throw TypeError("Setter must be a function");if(!tn)throw TypeError("Getters & setters cannot be defined on this javascript engine");if(td)throw TypeError(ts);Object.__defineSetter__.call(ta,tu,tc.set)}return"value"in tc&&(ta[tu]=tc.value),ta}}(Object.defineProperty),"isArray"in Array||tO(Array,"isArray",function(tt){return tu(tt)}),"forEach"in Array.prototype||tO(Array.prototype,"forEach",function(tt){var tn=tf(this),tl=tn instanceof String?tn.split(""):tn,tu=tT(ta(tn,"length"));if(!1===td(tt))throw TypeError(tt+" is not a function");for(var th=arguments.length>1?arguments[1]:ti,tp=0;tp<tu;){var tm=tj(tp);tc(tl,tm)&&ts(tt,th,[ta(tl,tm),tp,tn]),tp+=1}}),"includes"in Array.prototype||tO(Array.prototype,"includes",function(tt){"use strict";var ti=tf(this),tn=tT(ta(ti,"length"));if(0===tn)return!1;var ts=t_(arguments[1]);if(ts>=0)var tl=ts;else(tl=tn+ts)<0&&(tl=0);for(;tl<tn;){if(tx(tt,ta(ti,tj(tl))))return!0;tl+=1}return!1}),"indexOf"in Array.prototype||tO(Array.prototype,"indexOf",function(tt){var ti=tf(this),tn=tT(ta(ti,"length"));if(0===tn)return -1;var ts=t_(arguments[1]);if(ts>=tn)return -1;if(ts>=0)var tl=1/ts==-1/0?0:ts;else(tl=tn+ts)<0&&(tl=0);for(;tl<tn;){if(tc(ti,tj(tl))&&tt===ta(ti,tj(tl)))return tl;tl+=1}return -1}),"some"in Array.prototype||tO(Array.prototype,"some",function(tt){var tn=tf(this),tl=tT(ta(tn,"length"));if(!1===td(tt))throw TypeError(tt+" is not a function");for(var tu=arguments.length>1?arguments[1]:ti,th=0;th<tl;){var tm=tj(th);if(tc(tn,tm)&&tp(ts(tt,tu,[ta(tn,tm),th,tn])))return!0;th+=1}return!1}),"bind"in Function.prototype||tO(Function.prototype,"bind",function(tt){var ti=Object,tn=Array.prototype,ts=function(){},ta=tn.slice,tl=tn.concat,tc=tn.push,tu=Math.max,th=this;if(!td(th))throw TypeError("Function.prototype.bind called on incompatible "+th);for(var tp,tf=ta.call(arguments,1),tm=function(){if(this instanceof tp){var tn=th.apply(this,tl.call(tf,ta.call(arguments)));return ti(tn)===tn?tn:this}return th.apply(tt,tl.call(tf,ta.call(arguments)))},tg=tu(0,th.length-tf.length),tv=[],ty=0;ty<tg;ty++)tc.call(tv,"$"+ty);return tp=Function("binder","return function ("+tv.join(",")+"){ return binder.apply(this, arguments); }")(tm),th.prototype&&(ts.prototype=th.prototype,tp.prototype=new ts,ts.prototype=null),tp}),"getOwnPropertyDescriptor"in Object&&"function"==typeof Object.getOwnPropertyDescriptor&&function(){try{return"3"===Object.getOwnPropertyDescriptor("13.7",1).value}catch(tt){return!1}}()||function(){var tt=Object.getOwnPropertyDescriptor,ti=function(){try{return 1===Object.defineProperty(document.createElement("div"),"one",{get:function(){return 1}}).one}catch(tt){return!1}},tn={}.toString,ts="".split;tO(Object,"getOwnPropertyDescriptor",function(ta,tc){var tu=tf(ta);tu=("string"===tv(tu)||tu instanceof String)&&"[object String]"==tn.call(ta)?ts.call(ta,""):Object(ta);var td=tC(tc);if(ti)try{return tt(tu,td)}catch(tt){}if(tl(tu,td))return{enumerable:!0,configurable:!0,writable:!0,value:tu[td]}})}(),"getPrototypeOf"in Object||tO(Object,"getPrototypeOf",function(tt){if(tt!==Object(tt))throw TypeError("Object.getPrototypeOf called on non-object");var ti=tt.__proto__;return ti||null===ti?ti:"function"==typeof tt.constructor&&tt instanceof tt.constructor?tt.constructor.prototype:tt instanceof Object?Object.prototype:null}),"keys"in Object&&function(){return 2===Object.keys(arguments).length}(1,2)&&function(){try{return Object.keys(""),!0}catch(tt){return!1}}()||tO(Object,"keys",function(){"use strict";function tt(){var tt;try{tt=Object.create({})}catch(tt){return!0}return ta.call(tt,"__proto__")}function ti(tt){var ti=ts.call(tt),tn="[object Arguments]"===ti;return tn||(tn="[object Array]"!==ti&&null!==tt&&"object"==typeof tt&&"number"==typeof tt.length&&tt.length>=0&&"[object Function]"===ts.call(tt.callee)),tn}var tn=Object.prototype.hasOwnProperty,ts=Object.prototype.toString,ta=Object.prototype.propertyIsEnumerable,tl=!ta.call({toString:null},"toString"),tc=ta.call(function(){}
33,"prototype"),tu=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],td=function(tt){var ti=tt.constructor;return ti&&ti.prototype===tt},th={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},tp=function(){if("undefined"==typeof window)return!1;for(var tt in window)try{if(!th["$"+tt]&&tn.call(window,tt)&&null!==window[tt]&&"object"==typeof window[tt])try{td(window[tt])}catch(tt){return!0}}catch(tt){return!0}return!1}(),tf=function(tt){if("undefined"==typeof window||!tp)return td(tt);try{return td(tt)}catch(tt){return!1}};return function(ta){var td="[object Function]"===ts.call(ta),th=ti(ta),tp="[object String]"===ts.call(ta),tm=[];if(null==ta)throw TypeError("Cannot convert undefined or null to object");var tg=tc&&td;if(tp&&ta.length>0&&!tn.call(ta,0))for(var tv=0;tv<ta.length;++tv)tm.push(String(tv));if(th&&ta.length>0)for(var ty=0;ty<ta.length;++ty)tm.push(String(ty));else for(var tb in ta)tt()&&"__proto__"===tb||tg&&"prototype"===tb||!tn.call(ta,tb)||tm.push(String(tb));if(tl)for(var tw=tf(ta),tx=0;tx<tu.length;++tx)tw&&"constructor"===tu[tx]||!tn.call(ta,tu[tx])||tm.push(tu[tx]);return tm}}()),"defineProperties"in Object||tO(Object,"defineProperties",function(tt,tn){if("object"!==tv(tt))throw TypeError("Object.defineProperties called on non-object");for(var ts=tf(tn),tl=Object.keys(ts),tc=[],tu=0;tu<tl.length;tu++){var td=tl[tu],th=Object.getOwnPropertyDescriptor(ts,td);if(ti!==th&&th.enumerable){var tp=ta(ts,td);tc.push([td,tp])}}for(var tm=0;tm<tc.length;tm++)Object.defineProperty(tt,tc[tm][0],tp=tc[tm][1]);return tt}),"create"in Object||function(){var tt;function ti(){}tt=function(){var ti=document.createElement("iframe");ti.style.display="none";var tn=document.body||document.documentElement;tn.appendChild(ti),ti.src="javascript:";var ts=ti.contentWindow.Object.prototype;tn.removeChild(ti),ti=null,delete ts.constructor,delete ts.hasOwnProperty,delete ts.propertyIsEnumerable,delete ts.isPrototypeOf,delete ts.toLocaleString,delete ts.toString,delete ts.valueOf;var ta=function(){};return ta.prototype=ts,tt=function(){return new ta},new ta},tO(Object,"create",function(tn,ts){if("object"!==tv(tn)&&"null"!==tv(tn))throw TypeError("Object prototype may only be an Object or null");if("null"===tv(tn))var ta=tt();else ti.prototype=tn,(ta=new ti).__proto__=tn,ta.constructor.prototype=tn,ta.__proto__=tn;return 1 in arguments?Object.defineProperties(ta,ts):ta})}(),"filter"in Array.prototype||tO(Array.prototype,"filter",function(tt){var tn=tf(this),tl=tT(ta(tn,"length"));if(!1===td(tt))throw TypeError(tt+" is not a function");for(var tu=arguments.length>1?arguments[1]:ti,th=tM(tn,0),tm=0,tg=0;tm<tl;){var tv=tj(tm);if(tc(tn,tv)){var ty=ta(tn,tv);tp(ts(tt,tu,[ty,tm,tn]))&&(tE(th,tj(tg),ty),tg+=1)}tm+=1}return th}),"map"in Array.prototype||tO(Array.prototype,"map",function(tt){var tn=tf(this),tl=tT(ta(tn,"length"));if(!1===td(tt))throw TypeError(tt+" is not a function");for(var tu=arguments.length>1?arguments[1]:ti,th=tM(tn,tl),tp=0;tp<tl;){var tm=tj(tp);if(tc(tn,tm)){var tg=ts(tt,tu,[ta(tn,tm),tp,tn]);tE(th,tm,tg)}tp+=1}return th}),"performance"in tt&&"now"in tt.performance||function(tt){var ti=Date.now();tt.performance||(tt.performance={}),tt.performance.now=function(){return Date.now()-ti}}(tt),"Window"in tt||"undefined"!=typeof WorkerGlobalScope||"function"==typeof importScripts||function(ti){ti.constructor?ti.Window=ti.constructor:(ti.Window=ti.constructor=Function("return function Window() {}")()).prototype=tt}(tt),!function(tt){if(!("Event"in tt))return!1;try{return new Event("click"),!0}catch(tt){return!1}}(tt)&&function(){function tt(tt,tn){if(!tt)throw Error("Not enough arguments");if("createEvent"in document){ts=document.createEvent("Event");var ts,ta=!(!tn||ti===tn.bubbles)&&tn.bubbles,tl=!(!tn||ti===tn.cancelable)&&tn.cancelable;return ts.initEvent(tt,ta,tl),ts}return(ts=document.createEventObject()).type=tt,ts.bubbles=!(!tn||ti===tn.bubbles)&&tn.bubbles,ts.cancelable=!(!tn||ti===tn.cancelable)&&tn.cancelable,ts}
33var tn={click:1,dblclick:1,keyup:1,keypress:1,keydown:1,mousedown:1,mouseup:1,mousemove:1,mouseover:1,mouseenter:1,mouseleave:1,mouseout:1,storage:1,storagecommit:1,textinput:1};if("undefined"!=typeof document&&"undefined"!=typeof window){var ts=window.Event&&window.Event.prototype||null;tt.NONE=0,tt.CAPTURING_PHASE=1,tt.AT_TARGET=2,tt.BUBBLING_PHASE=3,window.Event=Window.prototype.Event=tt,ts&&Object.defineProperty(window.Event,"prototype",{configurable:!1,enumerable:!1,writable:!0,value:ts}),"createEvent"in document||(window.addEventListener=Window.prototype.addEventListener=Document.prototype.addEventListener=Element.prototype.addEventListener=function(){var tt=this,ti=arguments[0],ts=arguments[1];if(tt===window&&ti in tn)throw Error("In IE8 the event: "+ti+" is not available on the window object. Please see https://github.com/Financial-Times/polyfill-service/issues/317 for more information.");tt._events||(tt._events={}),tt._events[ti]||(tt._events[ti]=function(ti){var tn,ts=tt._events[ti.type].list,ta=ts.slice(),tl=-1,tc=ta.length;for(ti.preventDefault=function(){!1!==ti.cancelable&&(ti.returnValue=!1)},ti.stopPropagation=function(){ti.cancelBubble=!0},ti.stopImmediatePropagation=function(){ti.cancelBubble=!0,ti.cancelImmediate=!0},ti.currentTarget=tt,ti.relatedTarget=ti.fromElement||null,ti.target=ti.target||ti.srcElement||tt,ti.timeStamp=(new Date).getTime(),ti.clientX&&(ti.pageX=ti.clientX+document.documentElement.scrollLeft,ti.pageY=ti.clientY+document.documentElement.scrollTop);++tl<tc&&!ti.cancelImmediate;)tl in ta&&(tn=ta[tl],ts.includes(tn)&&"function"==typeof tn&&tn.call(tt,ti))},tt._events[ti].list=[],tt.attachEvent&&tt.attachEvent("on"+ti,tt._events[ti])),tt._events[ti].list.push(ts)},window.removeEventListener=Window.prototype.removeEventListener=Document.prototype.removeEventListener=Element.prototype.removeEventListener=function(){var tt,ti=this,tn=arguments[0],ts=arguments[1];ti._events&&ti._events[tn]&&ti._events[tn].list&&-1!==(tt=ti._events[tn].list.indexOf(ts))&&(ti._events[tn].list.splice(tt,1),ti._events[tn].list.length||(ti.detachEvent&&ti.detachEvent("on"+tn,ti._events[tn]),delete ti._events[tn]))},window.dispatchEvent=Window.prototype.dispatchEvent=Document.prototype.dispatchEvent=Element.prototype.dispatchEvent=function(tt){if(!arguments.length)throw Error("Not enough arguments");if(!tt||"string"!=typeof tt.type)throw Error("DOM Events Exception 0");var ti=this,tn=tt.type;try{if(!tt.bubbles){tt.cancelBubble=!0;var ts=function(tt){tt.cancelBubble=!0,(ti||window).detachEvent("on"+tn,ts)};this.attachEvent("on"+tn,ts)}this.fireEvent("on"+tn,tt)}catch(ts){tt.target=ti;do tt.currentTarget=ti,"_events"in ti&&"function"==typeof ti._events[tn]&&ti._events[tn].call(ti,tt),"function"==typeof ti["on"+tn]&&ti["on"+tn].call(ti,tt),ti=9===ti.nodeType?ti.parentWindow:ti.parentNode;while(ti&&!tt.cancelBubble)}return!0},document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&document.dispatchEvent(new tt("DOMContentLoaded",{bubbles:!0}))}))}}(),"getComputedStyle"in tt||function(tt){function ti(tt,tn,ts){var ta,tl=tt.document&&tt.currentStyle[tn].match(/([\d.]+)(%|cm|em|in|mm|pc|pt|)/)||[0,0,""],tc=tl[1],tu=tl[2];return ts=ts?/%|em/.test(tu)&&tt.parentElement?ti(tt.parentElement,"fontSize",null):16:ts,ta="fontSize"==tn?ts:/width/i.test(tn)?tt.clientWidth:tt.clientHeight,"%"==tu?tc/100*ta:"cm"==tu?.3937*tc*96:"em"==tu?tc*ts:"in"==tu?96*tc:"mm"==tu?.3937*tc*96/10:"pc"==tu?12*tc*96/72:"pt"==tu?96*tc/72:tc}function tn(tt,ti){var tn="border"==ti?"Width":"",ts=ti+"Top"+tn,ta=ti+"Right"+tn,tl=ti+"Bottom"+tn,tc=ti+"Left"+tn;tt[ti]=(tt[ts]==tt[ta]&&tt[ts]==tt[tl]&&tt[ts]==tt[tc]?[tt[ts]]:tt[ts]==tt[tl]&&tt[tc]==tt[ta]?[tt[ts],tt[ta]]:tt[tc]==tt[ta]?[tt[ts],tt[ta],tt[tl]]:[tt[ts],tt[ta],tt[tl],tt[tc]]).join(" ")}function ts(tt){var ts,ta=this,tl=tt.currentStyle,tc=ti(tt,"fontSize"),tu=function(tt){return"-"+tt.toLowerCase()};for(ts in tl)if(Array.prototype.push.call(ta,"styleFloat"==ts?"float":ts.replace(/[A-Z]/,tu)),"width"==ts)ta[ts]=tt.offsetWidth+"px";else if("height"==ts)ta[ts]=tt.offsetHeight+"px";else if("styleFloat"==ts)ta.float=tl[ts];else if(/margin.|padding.|border.+W/.test(ts)&&"auto"!=ta[ts])ta[ts]=Math.round(ti(tt,ts,tc))+"px";else if(/^outline/.test(ts))try{ta[ts]=tl[ts]}catch(tt){ta.outlineColor=tl.color,ta.outlineStyle=ta.outlineStyle||"none",ta.outlineWidth=ta.outlineWidth||"0px",ta.outline=[ta.outlineColor,ta.outlineWidth,ta.outlineStyle].join(" ")}else ta[ts]=tl[ts];tn(ta,"margin"),tn(ta,"padding"),tn(ta,"border"),ta.fontSize=Math.round(tc)+"px"}ts.prototype={constructor:ts,getPropertyPriority:function(){throw Error("NotSupportedError: DOM Exception 9")},getPropertyValue:function(tt){return this[tt.replace(/-\w/g,function(tt){return tt[1].toUpperCase()})]},item:function(tt){return this[tt]},removeProperty:function(){throw Error("NoModificationAllowedError: DOM Exception 7")},setProperty:function(){throw Error("NoModificationAllowedError: DOM Exception 7")},getPropertyCSSValue:function(){throw Error("NotSupportedError: DOM Exception 9")}},tt.getComputedStyle=function(tt){return new ts(tt)}}(tt),"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype||function(tt,ti){"use strict";function tn(tt){this.time=tt.time,this.target=tt.target,this.rootBounds=tt.rootBounds,this.boundingClientRect=tt.boundingClientRect,this.intersectionRect=tt.intersectionRect||tp();try{this.isIntersecting=!!tt.intersectionRect}catch(tt){}var ti=this.boundingClientRect,tn=ti.width*ti.height,ts=this.intersectionRect,ta=ts.width*ts.height;this.intersectionRatio=tn?Number((ta/tn).toFixed(4)):this.isIntersecting?1:0}function ts(tt,ti){var tn=ti||{};if("function"!=typeof tt)throw Error("callback must be a function");if(tn.root&&1!=tn.root.nodeType)throw Error("root must be an Element");this._checkForIntersections=tl(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=tt,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(tn.rootMargin),this.thresholds=this._initThresholds(tn.threshold),this.root=tn.root||null,this.rootMargin=this._rootMarginValues.map(function(tt){return tt.value+tt.unit}).join(" ")}function ta(){return tt.performance&&performance.now&&performance.now()}function tl(tt,ti){var tn=null;return function(){tn||(tn=setTimeout(function(){tt(),tn=null},ti))}}function tc(tt,ti,tn,ts){"function"==typeof tt.addEventListener?tt.addEventListener(ti,tn,ts||!1):"function"==typeof tt.attachEvent&&tt.attachEvent("on"+ti,tn)}function tu(tt,ti,tn,ts){"function"==typeof tt.removeEventListener?tt.removeEventListener(ti,tn,ts||!1):"function"==typeof tt.detatchEvent&&tt.detatchEvent("on"+ti,tn)}function td(tt,ti){var tn=Math.max(tt.top,ti.top),ts=Math.min(tt.bottom,ti.bottom),ta=Math.max(tt.left,ti.left),tl=Math.min(tt.right,ti.right),tc=tl-ta,tu=ts-tn;return tc>=0&&tu>=0&&{top:tn,bottom:ts,left:ta,right:tl,width:tc,height:tu}}function th(tt){var ti;try{ti=tt.getBoundingClientRect()}catch(tt){}return ti?(ti.width&&ti.height||(ti={top:ti.top,right:ti.right,bottom:ti.bottom,left:ti.left,width:ti.right-ti.left,height:ti.bottom-ti.top}),ti):tp()}function tp(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function tf(tt,ti){for(var tn=ti;tn;){if(tn==tt)return!0;tn=tm(tn)}return!1}function tm(tt){var ti=tt.parentNode;return ti&&11==ti.nodeType&&ti.host?ti.host:ti&&ti.assignedSlot?ti.assignedSlot.parentNode:ti}var tg=[];ts.prototype.THROTTLE_TIMEOUT=100,ts.prototype.POLL_INTERVAL=null,ts.prototype.USE_MUTATION_OBSERVER=!0,ts.prototype.observe=function(tt){if(!this._observationTargets.some(function(ti){return ti.element==tt}
33)){if(!tt||1!=tt.nodeType)throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:tt,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},ts.prototype.unobserve=function(tt){this._observationTargets=this._observationTargets.filter(function(ti){return ti.element!=tt}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},ts.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},ts.prototype.takeRecords=function(){var tt=this._queuedEntries.slice();return this._queuedEntries=[],tt},ts.prototype._initThresholds=function(tt){var ti=tt||[0];return Array.isArray(ti)||(ti=[ti]),ti.sort().filter(function(tt,ti,tn){if("number"!=typeof tt||isNaN(tt)||tt<0||tt>1)throw Error("threshold must be a number between 0 and 1 inclusively");return tt!==tn[ti-1]})},ts.prototype._parseRootMargin=function(tt){var ti=(tt||"0px").split(/\s+/).map(function(tt){var ti=/^(-?\d*\.?\d+)(px|%)$/.exec(tt);if(!ti)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(ti[1]),unit:ti[2]}});return ti[1]=ti[1]||ti[0],ti[2]=ti[2]||ti[0],ti[3]=ti[3]||ti[1],ti},ts.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(tc(tt,"resize",this._checkForIntersections,!0),tc(ti,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in tt&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(ti,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},ts.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,tu(tt,"resize",this._checkForIntersections,!0),tu(ti,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},ts.prototype._checkForIntersections=function(){var tt=this._rootIsInDom(),ti=tt?this._getRootRect():tp();this._observationTargets.forEach(function(ts){var tl=ts.element,tc=th(tl),tu=this._rootContainsTarget(tl),td=ts.entry,tp=tt&&tu&&this._computeTargetAndRootIntersection(tl,ti),tf=ts.entry=new tn({time:ta(),target:tl,boundingClientRect:tc,rootBounds:ti,intersectionRect:tp});td?tt&&tu?this._hasCrossedThreshold(td,tf)&&this._queuedEntries.push(tf):td&&td.isIntersecting&&this._queuedEntries.push(tf):this._queuedEntries.push(tf)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},ts.prototype._computeTargetAndRootIntersection=function(tn,ts){if("none"!=tt.getComputedStyle(tn).display){for(var ta=th(tn),tl=ta,tc=tm(tn),tu=!1;!tu;){var tp=null,tf=1==tc.nodeType?tt.getComputedStyle(tc):{};if("none"==tf.display)return;if(tc==this.root||tc==ti?(tu=!0,tp=ts):tc!=ti.body&&tc!=ti.documentElement&&"visible"!=tf.overflow&&(tp=th(tc)),tp&&!(tl=td(tp,tl)))break;tc=tm(tc)}return tl}},ts.prototype._getRootRect=function(){var tt;if(this.root)tt=th(this.root);else{var tn=ti.documentElement,ts=ti.body;tt={top:0,left:0,right:tn.clientWidth||ts.clientWidth,width:tn.clientWidth||ts.clientWidth,bottom:tn.clientHeight||ts.clientHeight,height:tn.clientHeight||ts.clientHeight}}return this._expandRectByRootMargin(tt)},ts.prototype._expandRectByRootMargin=function(tt){var ti=this._rootMarginValues.map(function(ti,tn){return"px"==ti.unit?ti.value:ti.value*(tn%2?tt.width:tt.height)/100}),tn={top:tt.top-ti[0],right:tt.right+ti[1],bottom:tt.bottom+ti[2],left:tt.left-ti[3]};return tn.width=tn.right-tn.left,tn.height=tn.bottom-tn.top,tn},ts.prototype._hasCrossedThreshold=function(tt,ti){var tn=tt&&tt.isIntersecting?tt.intersectionRatio||0:-1,ts=ti.isIntersecting?ti.intersectionRatio||0:-1;if(tn!==ts)for(var ta=0;ta<this.thresholds.length;ta++){var tl=this.thresholds[ta];if(tl==tn||tl==ts||tl<tn!=tl<ts)return!0}},ts.prototype._rootIsInDom=function(){return!this.root||tf(ti,this.root)},ts.prototype._rootContainsTarget=function(tt){return tf(this.root||ti,tt)},ts.prototype._registerInstance=function(){0>tg.indexOf(this)&&tg.push(this)},ts.prototype._unregisterInstance=function(){var tt=tg.indexOf(this);-1!=tt&&tg.splice(tt,1)},tt.IntersectionObserver=ts,tt.IntersectionObserverEntry=tn}(window,document)}("object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof global&&global||{}),function(tt){"use strict";var ti=function(){this.confData={},this.counters=[],this.mapCenter={},this.mapMarkers={},this.initialize()};ti.prototype.initialize=function(){var ti=this;new google.maps.LatLng(0,0),tt(".js-mapComponent").each(function(){var tn=tt(this).closest("[data-component-name]").data("c
33omponentName"),ts=JSON.parse(tt(this).closest("[data-component-name]").find("input[type=hidden]").val()),ta=ts.locations;ti.confData=ts,ti.mapSize(this,ts),ti.counters[tn]=0,ti.mapMarkers[tn]=[];var tl=new google.maps.Map(this,{zoom:parseInt(ts.zoom),center:ti.latlng,mapTypeId:google.maps.MapTypeId.ROADMAP,scaleControl:!0,zoomControl:ts.zoomControl,scrollwheel:ts.zoomControl,streetViewControl:ts.streetViewControl,mapTypeControl:ts.mapTypeControl,mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DEFAULT,mapTypeIds:[google.maps.MapTypeId.ROADMAP,google.maps.MapTypeId.SATELLITE,"map_style"]}});ti.applyMapStyle(tl,ts),ti.geoCodeMap(tl,ta,tn),ti.attachEvents(tl,ts,tn)})},ti.prototype.mapSize=function(ti,tn){var ts=tt(ti).parent();if(tn.autoFit){var ta=ts.children(".component__title-caption-wrap").outerHeight(!0),tl=ts.height();ts.css("height","100%"),null!==ta&&(tl-=ta),tt(ti).css({width:ts.width(),height:tl}),tt(ti).trigger("map.resize"),tt(window).resize(function(){tt(ti).css({width:ts.width(),height:tl}),tt(ti).trigger("map.resize")})}else tt(ti).css({width:tn.width,height:tn.height})},ti.prototype.geoCodeMap=function(tt,ti,tn){var ts=this,ta=new google.maps.Geocoder;if(ts.counters[tn]>=ti.length)return ts.confData.alwaysShowInfoWindow&&ts.openLastWindow(tn),ts.centerMap(tt,tn),!0;var tl=null;if(null!=ti[ts.counters[tn]].latitude&&null!=ti[ts.counters[tn]].longitude)tl=new google.maps.LatLng(ti[ts.counters[tn]].latitude,ti[ts.counters[tn]].longitude),ts.setMarker(tt,ti,tn,tl);else{var tc={address:ti[ts.counters[tn]].address};ta.geocode(tc,function(ta,tu){tu==google.maps.GeocoderStatus.OK?(tl=void 0!=tc.latLng?tc.latLng:ta[0].geometry.location,ts.setMarker(tt,ti,tn,tl)):tu==google.maps.GeocoderStatus.OVER_QUERY_LIMIT&&(console.error("ERROR GMAPS"),setTimeout(this.geoCodeMap(tt,ti,tn),500))})}},ti.prototype.setMarker=function(tt,ti,tn,ts){var ta=this;ta.mapCenter[tn]=ts;var tl={scaledSize:new google.maps.Size(20,27),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(0,0)};""!==ta.confData.iconUrl?tl.url=ta.confData.iconUrl:tl="";var tc={map:tt,position:ts,icon:tl};ta.confData.showAddressOnHover&&(tc.title=ti[ta.counters[tn]].title);var tu=new google.maps.Marker(tc);ta.mapMarkers[tn].push(tu);var td=new google.maps.InfoWindow({content:ta.getInfoWindowContent(ti,ta.counters[tn])});ta.confData.showAddressOnHover?tu.addListener("click",function(){td.open(tt,tu)}):ta.confData.alwaysShowInfoWindow&&td.open(tt,tu),ta.counters[tn]++,setTimeout(ta.geoCodeMap(tt,ti,tn),500)},ti.prototype.applyMapStyle=function(tt,ti){var tn=[ti.hue],ts=new google.maps.StyledMapType(tn,{name:"Styled Map"});tt.mapTypes.set("map_style",ts),tt.setMapTypeId("map_style")},ti.prototype.attachEvents=function(ti,tn,ts){var ta,tl=this,tc=tt(".js-mapComponent");setTimeout(function(){tc.children().css({"pointer-events":"none"})},500),tc.on("mouseleave",function(){tt(this).children().css({"pointer-events":"none"})}),tc.on("click touchstart",function(){tt(this).children().css({"pointer-events":"auto"})}),google.maps.event.addDomListener(window,"resize",function(){clearTimeout(ta),ta=setTimeout(function(){tl.centerMap(ti,ts),tl.confData.alwaysShowInfoWindow&&1==tl.mapMarkers[ts].length&&tl.openLastWindow(ts)},250)}),google.maps.event.addListener(ti,"tilesloaded",function(ti){tt(this.getDiv()).find("img").each(function(tt,ti){ti.alt&&""!==ti.alt||(ti.alt="Google Maps Image")})}),google.maps.event.addListenerOnce(ti,"idle",function(){tl.confData.alwaysShowInfoWindow&&1==tl.mapMarkers[ts].length&&tl.openLastWindow(ts)})},ti.prototype.getInfoWindowContent=function(tt,ti){return"<h2>"+tt[ti].address+"</h2>"},ti.prototype.openLastWindow=function(tt){var ti=this;if(void 0!=tt){var tn=ti.mapMarkers[tt].length;google.maps.event.trigger(ti.mapMarkers[tt][tn-1],"click")}},ti.prototype.centerMap=function(ti,tn){if(1==this.mapMarkers[tn].length)ti.setCenter(this.mapCenter[tn]);else{var ts=new google.maps.LatLngBounds;tt.each(this.mapMarkers[tn],function(tt,ti){ts.extend(ti.position)}),ti.fitBounds(ts)}},tt(window).on("load",function(){var tt,tn;function ts(tt){window.googleMaps=new ti}null!=(tn=document.getElementById("gmap"))&&(tt=tn.offsetParent?tn.offsetParent:tn),null!=tt&&(IntersectionObserver?new IntersectionObserver(function(tt,ti){tt.forEach(function(tt){(tt.isIntersecting||0!==tt.intersectionRatio)&&(ti.unobserve(tt.target),ts(tt.target))})},{rootMargin:"0px 0px 100%  0px"}).observe(tt):ts(tt))})}(window.jQuery),function(tt,ti){"function"==typeof define&&define.amd?define(ti):"object"==typeof exports?module.exports=ti(require,exports,module):tt.ScrollReveal=ti()}(this,function(tt,ti,tn){return(function(){this.ScrollReveal=function(){function ts(ti){return window==this?new ts(ti):(tt=this,tt.tools=new tn,tt.tools.extend(tt.defaults,ti||{}),(!tt.tools.isMobile()||!!tt.defaults.mobile)&&(tt.tools.isSupported("transform")&&tt.tools.isSupported("transition")?(tt.store={elements:{},containers:[]},tt.history=[],tt.counter=0,tt.running=!1,tt.initialized=!1,tt):console.warn("ScrollReveal is not supported in this browser.")))}return ts.prototype.defaults={origin:"bottom",distance:"20px",duration:500,delay:0,rotate:{x:0,y:0,z:0},opacity:0,scale:.9,easing:"cubic-bezier( 0.6, 0.2, 0.1, 1 )",container:null,mobile:!0,reset:!1,useDelay:"always",viewFactor:.2,viewOffset:{top:0,right:0,bottom:0,left:0},afterReveal:function(tt){},afterReset:function(tt){}},ts.prototype.reveal=function(ti,tn,ts){var ta,tl,tc,tu;if(tl=tn&&tn.container?tn.container:tt.defaults.container?tt.defaults.container:window.document.documentElement,!(ta=Array.prototype.slice.call(tl.querySelectorAll(ti))).length)return console.warn("reveal('"+ti+"') failed: no elements found."),tt;for(var td=0;td<ta.length;td++)tc={},(tu=ta[td].getAttribute("data-sr-id"))?tc=tt.store.elements[tu]:(tc={id:++tt.counter,domEl:ta[td],seen:!1,revealed:!1}).domEl.setAttribute("data-sr-id",tc.id),tt.configure(tc,tn||{}),tt.style(tc),tt.updateStore(tc),tc.revealed||tc.domEl.setAttribute("style",tc.styles.inline+tc.styles.transform.initial);return ts||(tt.record(ti,tn),tt.initTimeout&&window.clearTimeout(tt.initTimeout),tt.initTimeout=window.setTimeout(tt.init,0)),tt},ts.prototype.configure=function(ti,tn){ti.config?ti.config=tt.tools.extendClone(ti.config,tn):ti.config=tt.tools.extendClone(tt.defaults,tn),"top"===ti.config.origin||"bottom"===ti.config.origin?ti.config.axis="Y":ti.config.axis="X",("top"===ti.config.origin||"left"===ti.config.origin)&&(ti.config.distance="-"+ti.config.distance)},ts.prototype.style=function(tt){function ti(ti){parseInt(tn.distance)&&(ti.initial+=" translate"+tn.axis+"("+tn.distance+")",ti.target+=" translate"+tn.axis+"(0)"),tn.scale&&(ti.initial+=" scale("+tn.scale+")",ti.target+=" scale(1)"),tn.rotate.x&&(ti.initial+=" rotateX("+tn.rotate.x+"deg)",ti.target+=" rotateX(0)"),tn.rotate.y&&(ti.initial+=" rotateY("+tn.rotate.y+"deg)",ti.target+=" rotateY(0)"),tn.rotate.z&&(ti.initial+=" rotateZ("+tn.rotate.z+"deg)",ti.target+=" rotateZ(0)"),ti.initial+="; opacity: "+tn.opacity+";",ti.target+=";
33 opacity: "+tt.styles.computed.opacity+";"}var tn=tt.config,ts=window.getComputedStyle(tt.domEl);tt.styles||(tt.styles={transition:{},transform:{},computed:{}},tt.styles.inline=tt.domEl.getAttribute("style")||"",tt.styles.inline+="; visibility: visible; ",tt.styles.computed.opacity=ts.opacity,ts.transition&&"all 0s ease 0s"!=ts.transition?tt.styles.computed.transition=ts.transition+", ":tt.styles.computed.transition=""),tt.styles.transition.instant="-webkit-transition: "+tt.styles.computed.transition+"-webkit-transform "+tn.duration/1e3+"s "+tn.easing+" 0s, opacity "+tn.duration/1e3+"s "+tn.easing+" 0s; transition: "+tt.styles.computed.transition+"transform "+tn.duration/1e3+"s "+tn.easing+" 0s, opacity "+tn.duration/1e3+"s "+tn.easing+" 0s; ",tt.styles.transition.delayed="-webkit-transition: "+tt.styles.computed.transition+"-webkit-transform "+tn.duration/1e3+"s "+tn.easing+" "+tn.delay/1e3+"s, opacity "+tn.duration/1e3+"s "+tn.easing+" "+tn.delay/1e3+"s; transition: "+tt.styles.computed.transition+"transform "+tn.duration/1e3+"s "+tn.easing+" "+tn.delay/1e3+"s, opacity "+tn.duration/1e3+"s "+tn.easing+" "+tn.delay/1e3+"s; ",tt.styles.transform.initial=" -webkit-transform:",tt.styles.transform.target=" -webkit-transform:",ti(tt.styles.transform),tt.styles.transform.initial+="transform:",tt.styles.transform.target+="transform:",ti(tt.styles.transform)},ts.prototype.updateStore=function(ti){var tn=ti.config.container;tn&&-1==tt.store.containers.indexOf(tn)&&tt.store.containers.push(ti.config.container),tt.store.elements[ti.id]=ti},ts.prototype.record=function(ti,tn){var ts={selector:ti,config:tn};tt.history.push(ts)},ts.prototype.init=function(){tt.animate();for(var ti=0;ti<tt.store.containers.length;ti++)tt.store.containers[ti].addEventListener("scroll",tt.handler),tt.store.containers[ti].addEventListener("resize",tt.handler);return tt.initialized||(window.addEventListener("scroll",tt.handler),window.addEventListener("resize",tt.handler),tt.initialized=!0),tt},ts.prototype.handler=function(){tt.running||ti(function(){tt.running=!0,tt.animate()})},ts.prototype.animate=function(){var ti,tn;function ts(tt,ti){var tn=0,ts=0,ta="after";switch(tt){case"reveal":ts=ti.config.duration+ti.config.delay,ta+="Reveal";break;case"reset":ts=ti.config.duration,ta+="Reset"}return ti.timer&&(tn=Math.abs(ti.timer.started-new Date),window.clearTimeout(ti.timer.clock)),ti.timer={started:new Date},ti.timer.clock=window.setTimeout(function(){ti.config[ta](ti.domEl),ti.timer=null},ts-tn),"reveal"===tt?ti.revealed=!0:ti.revealed=!1}tt.tools.forOwn(tt.store.elements,function(ta){ti=tt.store.elements[ta],(tn=tt.isElemVisible(ti))&&!ti.revealed?("always"!==ti.config.useDelay&&("onload"!==ti.config.useDelay||tt.initialized)&&("once"!==ti.config.useDelay||ti.seen)?ti.domEl.setAttribute("style",ti.styles.inline+ti.styles.transform.target+ti.styles.transition.instant):ti.domEl.setAttribute("style",ti.styles.inline+ti.styles.transform.target+ti.styles.transition.delayed),ti.seen=!0,ts("reveal",ti)):!tn&&ti.config.reset&&ti.revealed&&(ti.domEl.setAttribute("style",ti.styles.inline+ti.styles.transform.initial+ti.styles.transition.instant),ts("reset",ti))}),tt.running=!1},ts.prototype.getContainer=function(tt){return tt||(tt=window.document.documentElement),{width:tt.clientWidth,height:tt.clientHeight}},ts.prototype.getScrolled=function(ti){if(ti){var tn=tt.getOffset(ti);return{x:ti.scrollLeft+tn.left,y:ti.scrollTop+tn.top}}return{x:window.pageXOffset,y:window.pageYOffset}},ts.prototype.getOffset=function(tt){var ti=0,tn=0,ts=tt.offsetHeight,ta=tt.offsetWidth;do isNaN(tt.offsetTop)||(ti+=tt.offsetTop),isNaN(tt.offsetLeft)||(tn+=tt.offsetLeft);while(tt=tt.offsetParent);return{top:ti,left:tn,height:ts,width:ta}},ts.prototype.isElemVisible=function(ti){function tn(){var tt=tp+td*tu,tn=tf+th*tu,ts=tm-td*tu,ta=tg-th*tu,tv=tc.y+ti.config.viewOffset.top,ty=tc.x+ti.config.viewOffset.left,tb
33=tc.y-ti.config.viewOffset.bottom+tl.height,tw=tc.x-ti.config.viewOffset.right+tl.width;return tb>tt&&ts>tv&&tn>ty&&tw>ta}function ts(){return"fixed"===window.getComputedStyle(ti.domEl).position}var ta=tt.getOffset(ti.domEl),tl=tt.getContainer(ti.config.container),tc=tt.getScrolled(ti.config.container),tu=ti.config.viewFactor,td=ta.height,th=ta.width,tp=ta.top,tf=ta.left,tm=tp+td,tg=tf+th;return tn()||ts()},ts.prototype.sync=function(){if(tt.history.length){for(var ti=0;ti<tt.history.length;ti++){var tn=tt.history[ti];tt.reveal(tn.selector,tn.config,!0)}tt.init()}else console.warn("sync() failed: no reveals found.");return tt},ts}();var tt,ti,tn=function(){function tt(){}return tt.prototype.isObject=function(tt){return null!==tt&&"object"==typeof tt&&tt.constructor==Object},tt.prototype.forOwn=function(tt,ti){if(!this.isObject(tt))throw TypeError("Expected 'object', but received '"+typeof tt+"'.");for(var tn in tt)tt.hasOwnProperty(tn)&&ti(tn)},tt.prototype.extend=function(tt,ti){return this.forOwn(ti,(function(tn){this.isObject(ti[tn])?(tt[tn]&&this.isObject(tt[tn])||(tt[tn]={}),this.extend(tt[tn],ti[tn])):tt[tn]=ti[tn]}).bind(this)),tt},tt.prototype.extendClone=function(tt,ti){return this.extend(this.extend({},tt),ti)},tt.prototype.isMobile=function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},tt.prototype.isSupported=function(tt){for(var ti=document.createElement("sensor"),tn="Webkit,Moz,O,".split(","),ts=(tt+tn.join(tt+",")).split(","),ta=0;ta<ts.length;ta++)ti.style[ts[ta]];return!0},tt}(),ti=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame}).call(this),this.ScrollReveal}),window.sr=new ScrollReveal,function(tt){"use strict";var ti=function(ti,tn){var ts=this;this.$element=tt(ti),this.options=this.parseTrueFalseOptions(tn),this.options.muted=!1,this.auto=this.options.auto,this.options.auto=!1,1==this.options.numSlides&&(this.auto=!1,this.options.infiniteLoop=!1),1==ts.options.autoHover&&(ts.options.autoHoverModified=!0);var ta={onSlideAfter:function(){ts.options.auto&&(ts.$element.stopAuto(),ts.$element.startAuto())},onSliderLoad:function(){ts.$element.css("visibility","visible"),ts.$wrapper=ts.$element.closest(".bx-wrapper"),ts.$viewport=ts.$wrapper.find(".bx-viewport"),""==ts.options.easing&&(ts.options.easing=null),ts.options.controlsHover&&(tt(".bx-controls-direction",ts.$wrapper).hide(),ts.$wrapper.hover(function(){tt(".bx-controls-direction",tt(this)).fadeIn(300)},function(){tt(".bx-controls-direction",tt(this)).fadeOut(300)})),ts.options.autoHoverModified&&ts.$wrapper.hover(function(){ts.$element.stopAuto()},function(){ts.$element.startAuto()}),null!=ts.options.easing&&(ts.options.useCSS=!1),ts.auto&&(ts.options.auto=!0,ts.$element.startAuto(),ts.makePauseTestimonialsSlideshowButton()),ts.$element.closest(".bx-wrapper").find(".bx-controls").wrapAll("<div class='wrap__bx-controls' />"),ts.$element.closest(".bx-wrapper").find(".wrap_pause-play, .wrap_on-off, .bx-pager ").wrapAll("<div class='bx-controls-buttons' />")}};return tt.extend(this.options,ta),this.attachEvents(),this.initializeSlider(),this.maxHeightListItem(this.$element),this};ti.prototype.attachEvents=function(){var ti,tn=this;tt(".js-testimonials-layout-settings").on("click",".testimonials-pause-slideshow",function(ti,ts){tt(this).hide(),tn.$element.stopAuto(),tn.options.auto=!1,tt(".js-testimonials-layout-settings .testimonials-play-slideshow").fadeIn("slow",function(){void 0!==ts&&tt(this).focus()})}),tt(".js-testimonials-layout-settings").on("click",".testimonials-play-slideshow",function(ti,ts){tt(this).hide(),tn.$element.startAuto(),tn.options.auto=!0,tt(".js-testimonials-layout-settings .testimonials-pause-slideshow").fadeIn("slow",function(){void 0!==ts&&tt(this).focus()})}),tt("body").keypress(function(ti){13==ti.which&&(tt(".js-testimonials-layout-settings").find(".play-slideshow").is(":focus")&&tt(".js-testimonials-layout-settings").find(".play-slideshow").trigger("click",{kb:!0}),tt(".js-testimonials-layout-settings").find(".pause-slideshow").is(":focus")&&tt(".js-testimonials-layout-sett
33ings").find(".pause-slideshow").trigger("click",{kb:!0}))}),tt(".testimonials-slider").off("click").on("click",".expand",function(ti){var ts=tt(this).closest(".testimonials-slider");ts.closest(".bx-viewport").height(tn.maxHeightListItem(ts))}),tt(window).resize(function(){clearTimeout(ti),ti=setTimeout(function(){tn.maxHeightListItem(tn.$element)},250)})},ti.prototype.maxHeightListItem=function(ti){var tn,ts=this,ta=ts.$element,tl=0;ta.each(function(){tn=tt(this).find(".testimonials-item")}),tn.closest("li").height("auto"),"fade"==ts.options.mode?tn.each(function(){var ti,tn=tt(this).closest("li");"none"==tn.css("display")?(tn.css({display:"block"}),ti=tt(this).outerHeight(!0),tn.css({display:"none"})):ti=tt(this).outerHeight(!0),ti>tl&&(tl=ti)}):tl=ts.maxHeight(tn),tl+=ts.getElemOuterDistance(ta.find(".testimonials-items-wrap")).heightDistance,tn.closest("li").height(tl),ts.drawSlider();var tc=ta.find("li.items-container:not(.bx-clone)").width(),tu=ta.find("li.items-container:not(.bx-clone)").height(),td=ta.find("li.bx-clone");if(td.width(tc),td.height(tu),td.length>0)switch(ts.options.mode){case"horizontal":"0px"==ta.css("left")&&ta.css({left:-tc+"px"});break;case"vertical":"0px"==ta.css("top")&&ta.css({top:-tu+"px"})}return tl},ti.prototype.parseTrueFalseOptions=function(tt,tn){for(var ts in tt)tt.hasOwnProperty(ts)&&-1!=ti.BOOLEANS.indexOf(ts)&&(tt[ts]=!!tt[ts]);return tt},ti.prototype.initializeSlider=function(){this.$bxSlider=this.$element.bxSlider(this.options)},ti.prototype.drawSlider=function(){this.$bxSlider.redrawSlider()},ti.prototype.destSlider=function(){this.$bxSlider.length&&(this.$bxSlider.destroySlider(),tt(".js-testimonials-layout-settings .wrap__bx-controls").remove())},ti.prototype.maxHeight=function(ti){var tn=0;return ti.each(function(){tn<tt(this).outerHeight(!0)&&(tn=tt(this).outerHeight(!0))}),tn},ti.prototype.getElemOuterDistance=function(tt){return{heightDistance:tt.outerHeight(!0)-tt.height(),widthDistance:tt.outerWidth(!0)-tt.width()}},ti.prototype.makePauseTestimonialsSlideshowButton=function(){var ti=['<div class="wrap_pause-play">','<div class="pause-slideshow testimonials-pause-slideshow" aria-label="icon pause" title="Pause slideshow" tabindex="0">','<span class="icon icon-pause"></span>',"</div>",'<div class="play-slideshow testimonials-play-slideshow" aria-label="icon play" style="display: none" title="Play slideshow" tabindex="0">','<span class="icon icon-play"></span>',"</div>","</div>"];tt(".js-testimonials-layout-settings").find(".bx-wrapper .bx-controls").append(ti.join(""))},ti.DEFAULTS={pager:!0,controls:!0,autoControls:!1,autoHoverModified:!1,autoHover:!1,auto:!0,infiniteLoop:!0,randomStart:!1,controlsHover:!1,responsive:!1,mode:"horizontal",speed:500,pause:4e3,autoDelay:0,easing:null,useCSS:!1,autoPlayVideo:!0},ti.BOOLEANS=["pager","controls","autoControls","auto","infiniteLoop","randomStart","controlsHover","responsive","autoHoverModified"];var tn=tt.fn.testimonialSlideshow;tt.fn.testimonialSlideshow=function(tn){arguments;var ts=tt(this),ta=tt.extend({},ti.DEFAULTS,ts.data(),"object"==typeof tn&&tn);return new ti(this,ta)},tt.fn.testimonialSlideshow.Constructor=ti,tt.fn.testimonialSlideshow.noConflict=function(){tt.fn.testimonialSlideshow=tn}}(window.jQuery),function(tt){"use strict";var ti=function(ti,tn){var ts=this;ts.$element=tt(ti),ts.options=tn,"fade"===ts.options.animation&&1==ts.options.smoothHeight&&ts.$element.css({overflow:"hidden"}),1==ts.options.randomOrder&&(ts.options.randomize=!0);var ta={start:function(ti){"vertical"===ts.options.direction&&(ts.fixVerticalSlideHeight(),tt(ti).resize(),ts.fixVerticalSlideSmoothHeight(ti))},after:function(tt){ts.fixVerticalSlideSmoothHeight(tt)}};return tt.extend(ts.options,ta),ts.initializeSlider(),ts.attachEvents(),ts};ti.prototype.attachEvents=function(){var ti=this,tn=tt(window),ts=ti.$element;"vertical"===ti.options.direction&&tn.resize(ti.fixVerticalSlideHeight()),ts.off("click").on("click",".expand",function(){"slide"==ti.options.animation?("vertical"===ti.options.direction&&ti.fixSlideExpand(ts),ts.resize()):ti.fixFadeExpand(ts)})},ti.prototype.initializeSlider=function(){var tt=this;tt.$bxSlider=tt.$element.flexslider(tt.options),"vertical"===tt.options.direction&&tt.fixVerticalSlideHeight()},ti.prototype.fixVerticalSlideHeight=function(){var ti=this,tn=0,ts=ti.$element.find(".slides");ts.children().height("auto").each(function(){tn=Math.max(tn,tt(this).outerHeight(!0))}).height(tn),ts.height(tn)},ti.prototype.fixVerticalSlideSmoothHeight=function(ti){var tn=this;if("vertical"===tn.options.direction&&1==tn.options.smoothHeight){var ts=tt(ti).find(".flex-active-slide > div").outerHeight(!0);tt(ti).find(".flex-viewport").height(ts)}},ti.prototype.fixSlideExpand=function(tt){var ti=this,tn=tt;1!=ti.options.smoothHeight&&tn.find(".flex-viewport").css({transition:"none"}),ti.fixVerticalSlideHeight(tn)},ti.prototype.fixFadeExpand=function(tt){var ti=tt,tn=ti.find(".slides"),ts=ti.height();ti.css({transition:"all 1s ease","max-height":ts}),ti.resize();var ta=tn.height();ti.css({"max-height":ta})},ti.DEFAULTS={adaptiveHeight:!0,easing:null,useCSS:!1,randomize:!1};var tn=tt.fn.TestimonialsFlexSlide;tt.fn.TestimonialsFlexSlide=function(tn){arguments;var ts=tt(this),ta=tt.extend({},ti.DEFAULTS,ts.data(),"object"==typeof tn&&tn);return new ti(this,ta)},tt.fn.TestimonialsFlexSlide.Constructor=ti,tt.fn.TestimonialsFlexSlide.noConflict=function(){tt.fn.TestimonialsFlexSlide=tn},tt(window).load(function(){var ti=tt(".flexslider-d, .testimonials .flexslider");ti.length&&ti.each(function(){tt(this).TestimonialsFlexSlide()})})}(window.jQuery),function(tt){"use strict";var ti=function(tt,ti){this.$el=tt,this.$gridContainer=this.$el.find(".testimonials-grid"),this.$sliderContainer=this.$el.find(".testimonials-slider"),this.options=ti,this.prevDevice=null,this.$items=this.$el.find(".testimonials-item").
33clone(),this.processDeviceColumns(),this.attachEvents()};ti.prototype.attachEvents=function(){var ti=this,tn=ti.getDevice();if(tt(window).resize(function(){var tt=ti.getDevice();tn!=tt&&(ti.processDeviceColumns(),ti.readMoreExpand(),tn=tt)}),ti.options.readMore&&ti.readMoreExpand(),-1!==navigator.userAgent.indexOf("MSIE")||navigator.appVersion.indexOf("Trident/")>0){var ts=document.createEvent("UIEvents");ts.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(ts)}else window.dispatchEvent(new Event("resize"))},ti.prototype.readMoreExpand=function(){var ti=this;ti.$el.find(".testimonials__content").each(function(){ti.breakHtmlContent(tt(this))}),ti.options.readMore&&"lightbox"==ti.options.action&&this.$el.find(".lightbox").fancybox({titlePosition:"inside",transitionIn:"none",transitionOut:"none"}),ti.options.readMore&&"expand"==ti.options.action&&this.$el.off("click").on("click",".expand",function(){var ti=tt(this).attr("id"),tn=ti.replace("href_","span_"),ts=ti.replace("href_","fs_"),ta=tt("."+tn),tl=tt("."+ts),tc=tt("."+tn).closest(".bx-clone").find("#"+ti);ta.hasClass("hidden")?(tt(this).add(tc).html("Show Less").removeClass("closed").addClass("opened"),ta.removeClass("hidden"),tl.hide()):(tt(this).add(tc).html("Show More").removeClass("opened").addClass("closed"),ta.addClass("hidden"),tl.show())})},ti.prototype.breakHtmlContent=function(ti){var tn=ti;if(!(tn.find("iframe").length>0)){for(var ts,ta,tl=tn.html().trim().replace(/&nbsp;/gi," "),tc=/<(?:.|\n)*?>/gm,tu=tl.match(tc),td=this.options.readMoreLimit,th=0,tp='<span class="quotemark">"</span>',tf=[],tm=[],tg=[];ta=tc.exec(tl);)tf.push(ta.index);if(!tt.isEmptyObject(tu)){for(var tv=0;tv<tu.length;tv++)tm.push(tf[tv]+tu[tv].length);for(var tv=0;tv<tu.length;tv++)tg.push(tu[tv],tl.substring(tm[tv],tf[tv+1]))}if(this.options.readMore){for(var tv=0;tv<tg.length;tv++)if(null==tg[tv].match(tc)){var ty=tg[tv].length;if(th+ty>=td){var tb=td-th;tg[tv]=tg[tv].substring(0,tb)+"<span><!--breakPoint--></span>"+tg[tv].substring(tb,ty);break}th+=ty}}for(var tv=0;tv<tg.length;tv++)if(null==tg[tv].match(tc)&&tg[tv].length>0||-1!==tg[tv].indexOf("<!--breakPoint-->")||-1!==tg[tv].indexOf('class="quotemark"')){tg[tv]=tp+tg[tv];break}for(var tv=tg.length-1;tv>0;tv--)if(null==tg[tv].match(tc)&&tg[tv].length>0&&"..."!=tg[tv]||-1!==tg[tv].indexOf("<!--breakPoint-->")||-1!==tg[tv].indexOf('class="quotemark"')){tg[tv]=tg[tv]+tp;break}ts=tg.join(""),tn[0].innerHTML=ts;var tw=document.createNodeIterator(tn[0],NodeFilter.SHOW_COMMENT,null,!0).nextNode();if(null!=tw)for(var tx=tw.parentNode;tn[0]!=tx;tx=tT){for(var t_=tx.cloneNode(!1);tw.nextSibling;)t_.appendChild(tw.nextSibling);var tT=tx.parentNode;tT.insertBefore(t_,tx.nextSibling),tT.insertBefore(tw,t_)}var tk,tj=tn.find('[class^="span_testimonial"]');this.options.readMore&&(tn.contents().each(function(ti){"#comment"==tt(this).get(0).nodeName&&(tk=ti,tt(this).remove())}),tn.contents().each(function(ti,tn){ti>=tk&&!1==tt(tn).is('[class^="fs_testimonial"]')&&!1==tt(tn).hasClass("quotemark")&&!1==tt(tn).is('[class^="span_testimonial"]')&&tj.append(tn)}))}},ti.prototype.processDeviceColumns=function(){"grid_1"==this.options.layoutType||"grid_2"==this.options.layoutType||"grid_3"==this.options.layoutType?this.doGrid():("slider_1"==this.options.layoutType||"slider_2"==this.options.layoutType||"slider_3"==this.options.layoutType)&&this.doSlideshow()},ti.prototype.doGrid=function(){var ti=this.getDevice(),tn=this.options[ti+"Columns"];if(this.prevDevice&&this.options[this.prevDevice+"Columns"],this.prevDevice!=ti&&tn!=this.prevDeviceColumns){this.prevDevice=ti,this.resetGridHTML(),this.$items.each(function(){tt(this).removeClass(function(tt,ti){return(ti.match(/\btestimonials-grid--columns\S+/g)||[]).join(" ")})}),this.$items.each(function(){tt(this).addClass("testimonials-grid--columns-"+tn)}),this.$gridContainer.removeClass("initialBlockHide");for(var ts=Math.ceil(this.$items.length/tn),ta=1;ta<=ts;ta++){var tl=tt('<div class="testimonials-row"></div>');this.$gridContainer.append(tl);for(var tc=(ta-1)*tn;tc<ta*tn;tc++)void 0!==this.$items[tc]&&tl.append(tt(this.$items[tc]).clone())}}},ti.prototype.doSlideshow=function(){var ti=this.getDevice(),tn=this.options[ti+"Columns"];if(this.prevDevice&&this.options[this.prevDevice+"Columns"],"horizontal"!=this.options.mode||this.prevDevice!=ti&&tn!=this.prevDeviceColumns){this.prevDevice=ti,void 0!=this.Slider&&(tt(this.$el.find(".testimonials-slider > li")).each(function(){tt(this).hasClass("bx-clone")&&tt(this).remove()}),this.Slider.destSlider()),this.resetSlideshowHTML(),this.$items.each(function(){tt(this).removeClass(function(tt,ti){return(ti.match(/\btestimonials-grid--columns\S+/g)||[]).join(" ")})}),this.$items.each(function(){tt(this).addClass("testimonials-grid--columns-"+tn)}),this.$sliderContainer.removeClass("initialBlockHide");for(var ts=Math.ceil(this.$items.length/tn),ta=1;ta<=ts;ta++){var tl=tt('<li class="items-container"></li>'),tc=tt('<div class="testimonials-items-wrap"></div>');this.$sliderContainer.append(tl),tl.append(tc);for(var tu=(ta-1)*tn;tu<ta*tn;tu++)void 0!==this.$items[tu]&&(tt(this.$items[tu]),tc.append(tt(this.$items[tu]).clone()))}window.testimonialSlider=this.Slider=this.$sliderContainer.testimonialSlideshow({numSlides:ts})}},ti.prototype.resetGridHTML=function(){var tt=this;tt.$gridContainer.html("")},ti.prototype.resetSlideshowHTML=function(){var tt=this;tt.$sliderContainer.html("")},ti.prototype.getDevice=function(){var tt=window.innerWidth;return tt<768?"mobile":tt<1025?"tablet":"desktop"};var tn=tt.fn.TestimonialsComposer;tt.fn.testimonialsComposer=function(tn){var ts;return arguments,this.each(function(){var ta=tt(this),tl=tt.extend({},ta.data(),"object"==typeof tn&&tn),tc="";if(ta.data("TestimonialsComposer",tc=new ti(ta,tl)),void 0!==ts)return!1}),ts||this},tt.fn.testimonialsComposer.Constructor=ti,tt.fn.testimonialsComposer.noConflict=function(){return tt.fn.testimonialsComposer=tn,this}
33,tt(window).on("load",function(){tt('[data-control="testimonials-composer"]').testimonialsComposer()})}(window.jQuery),$(window).load(function(){var tt=$(".testimonials-grid-a .testimonial-grid");tt.length&&(tt.masonry({itemSelector:".testimonial-grid__item",gutter:30,transitionDuration:"0.2s"}),tt.off("click").on("click",".expand",function(){tt.masonry()}))}),function(tt){"use strict";var ti=window.requestAnimationFrame||function(tt){return setTimeout(tt,66)},tn=window.cancelAnimationFrame||function(tt){return clearTimeout(tt)};function ts(ti,tn){var ts=!1;function ta(){setTimeout(function(){tt(window).trigger("scroll")},100)}ts=!!tt(".lazyLoadImg").length;var tl=this;if(this.$element=tt(ti),this.options=this.parseTrueFalseOptions(tn),this.options.muted=!1,1==this.options.count&&(this.options.infiniteLoop=!1),this.auto=this.options.auto,this.options.auto=!1,"horizontal"!==tl.options.mode){var tc=tl.$element.last().find(".featuredarticles-item"),tu=tl.maxHeight(tc);tc.parent().height(tu||"auto")}1==this.options.numSlides&&(this.auto=!1,this.options.auto=!1);var td={onSlideAfter:function(tt,ti,tn){tl.options.auto&&(tl.$element.stopAuto(),tl.$element.startAuto(),tl.options.infinityLoop||tn+1!=tl.$bxSlider.getSlideCount()||(tl.$element.stopAuto(),tl.options.auto=!1)),ts&&ta()},onSliderLoad:function(){tl.$element.css("visibility","visible"),tl.$wrapper=tl.$element.closest(".bx-wrapper"),tl.$viewport=tl.$wrapper.find(".bx-viewport"),tl.options.easing||(tl.options.easing=null),tl.options.controlsHover&&(tt(".bx-controls-direction",tl.$wrapper).hide(),tl.$wrapper.hover(function(){tt(".bx-controls-direction",tt(this)).fadeIn(300)},function(){tt(".bx-controls-direction",tt(this)).fadeOut(300)})),tl.options.autoHover&&tl.$wrapper.hover(function(){tl.options.auto&&tl.$element.stopAuto()},function(){tl.options.auto&&tl.$element.startAuto()}),null!=tl.options.easing&&(tl.options.useCSS=!1),tl.auto&&(tl.options.auto=!0,tl.$element.startAuto(),tl.makePauseSlideshowButton()),tl.removeHighslideInClones(),tl.addWrappers()},onSlideNext:function(){ts&&ta()},onSlidePrev:function(){ts&&ta()}};return tt.extend(this.options,td),this.attachEvents(),this.initializeSlider(),this}function ta(ti,tn){var ts=tt(tn).outerHeight(!0);return ti<ts?ts:ti}function tl(){return"none"===this.style.display}function tc(tt,ti){var tn=ti.clientHeight;return tt<tn?tn:tt}ts.prototype.attachEvents=function(){var ts=this,ta=ts.$element.closest(".js-featuredarticles-layout-settings");function tl(){this.focus()}ta.on("click",".featuredarticles-pause-slideshow",function(ti,tn){tt(this).hide(),ts.$element.stopAuto(),ts.options.auto=!1,ts.$wrapper.find(".featuredarticles-play-slideshow").fadeIn("slow",tn?tl:void 0)}),ta.on("click",".featuredarticles-play-slideshow",function(ti,tn){tt(this).hide(),ts.$element.startAuto(),ts.options.auto=!0,ts.$wrapper.find(".featuredarticles-pause-slideshow").fadeIn("slow",tn?tl:void 0)}),ta.on("keyup",".featuredarticles-play-slideshow, .featuredarticles-pause-slideshow",function(ti){"Enter"===ti.key&&tt(this).trigger("click",{kb:!0})});var tc=0,tu=this.$element.get(0),td=tt(window);function th(){var ti=tt(this).closest(".featuredarticles-slider");ti.closest(".bx-viewport").height(ts.maxHeightListItem(ti)||"auto")}td.on("resize",function tt(){tn(tc),document.contains(tu)?td.off("resize",tt):tc=ti(th)})},ts.prototype.maxHeightListItem=function(tt){var ti=this,tn=0,ts=ti.$element.last().find(".featuredarticles-item"),tc=ts.closest("li");if(tc.height("auto"),"fade"===ti.options.mode){var tu=tc.filter(tl);tu.css("display","block"),tn=ts.toArray().reduce(ta,tn),tu.css("display","none")}else tn=ti.maxHeight(ts);return tc.height(tn||"auto"),this.$bxSlider.redrawSlider(),tn},ts.prototype.parseTrueFalseOptions=function(tt){return ts.BOOLEANS.forEach(function(ti){tt.hasOwnProperty(ti)&&(tt[ti]=!!tt[ti])}),tt},ts.prototype.addWrappers=function(){var tt=this;tt.$wrapper.find(".bx-controls").wrapAll("<div class='wrap__bx-controls' />"),tt.$wrapper.find(".bx-pager, .wrap_pause-play").wrapAll("<div class='bx-controls-buttons' />")},ts.prototype.initializeSlider=function(){this.$bxSlider=this.$element.bxSlider(this.options)},ts.prototype.destSlider=function(){this.$bxSlider.length&&(this.$bxSlider.destroySlider(),this.$element.closest(".
33js-featuredarticles-layout-settings").find(".wrap__bx-controls").remove())},ts.prototype.maxHeight=function(tt){return tt.toArray().reduce(tc,0)},ts.prototype.makePauseSlideshowButton=function(){var tt=this,ti=['<div class="wrap_pause-play">','<div class="pause-slideshow featuredarticles-pause-slideshow" aria-label="icon pause" title="Pause slideshow" tabindex="0">','<span class="icon icon-pause"></span>',"</div>",'<div class="play-slideshow featuredarticles-play-slideshow" aria-label="icon play" style="display: none" title="Play slideshow" tabindex="0">','<span class="icon icon-play"></span>',"</div>","</div>"];tt.$wrapper.find(".bx-controls").append(ti.join(""))},ts.prototype.removeHighslideInClones=function(){this.$element.find(".bx-clone .highslide").removeClass("highslide").removeAttr("onclick")},ts.DEFAULTS={pager:!0,controls:!0,autoControls:!1,autoHoverModified:!1,autoHover:!1,auto:!0,infiniteLoop:!0,randomStart:!1,controlsHover:!1,responsive:!1,mode:"horizontal",speed:500,pause:4e3,autoDelay:0,easing:null,useCSS:!1,autoPlayVideo:!0},ts.BOOLEANS=["pager","controls","autoControls","auto","infiniteLoop","randomStart","controlsHover","responsive","autoHoverModified"];var tu=tt.fn.featuredArticlesSlideshow;tt.fn.featuredArticlesSlideshow=function(ti){var tn=tt(this),ta=tt.extend({},ts.DEFAULTS,tn.data(),"object"==typeof ti&&ti);return new ts(this,ta)},tt.fn.featuredArticlesSlideshow.Constructor=ts,tt.fn.featuredArticlesSlideshow.noConflict=function(){tt.fn.featuredArticlesSlideshow=tu}}(window.jQuery),function(tt){"use strict";var ti=function(tt,ti){this.$el=tt,this.$gridContainer=this.$el.find(".featuredarticles-grid"),this.$sliderContainer=this.$el.find(".featuredarticles-slider"),this.options=ti,this.prevDevice=null,this.$items=this.$el.find(".featuredarticles-item").clone(),this.processDeviceColumns(),this.attachEvents()};ti.prototype.attachEvents=function(){var ti,tn=this;tt(window).resize(function(){clearTimeout(ti),ti=setTimeout(function(){tn.processDeviceColumns(),tt(".lazyLoadImg").length&&tt(".featuredarticle__image.lazy").lazy({effect:"fadeIn",effectTime:2e3,threshold:0})},200)})},ti.prototype.processDeviceColumns=function(){"grid_1"==this.options.layoutType||"grid_2"==this.options.layoutType?this.doGrid():("slider_1"==this.options.layoutType||"slider_2"==this.options.layoutType)&&this.doSlideshow()},ti.prototype.doGrid=function(){var ti=this.getDevice(),tn=this.options[ti+"Columns"];if(this.prevDevice&&this.options[this.prevDevice+"Columns"],this.prevDevice!=ti&&tn!=this.prevDeviceColumns){this.prevDevice=ti,this.resetGridHTML(),this.$items.each(function(){tt(this).removeClass(function(tt,ti){return(ti.match(/\bfeaturedarticles-grid--columns\S+/g)||[]).join(" ")})}),"desktop"==ti&&((this.$el.hasClass("layout--8")||this.$el.hasClass("layout--6"))&&(tn=1==this.options.desktopColumns?1:2),this.$el.hasClass("layout--4")&&(tn=1)),this.$items.each(function(){tt(this).addClass("featuredarticles-grid--columns-"+tn)});for(var ts=Math.ceil(this.$items.length/tn),ta=1;ta<=ts;ta++){var tl=tt('<div class="featuredarticles-row"></div>');this.$gridContainer.append(tl);for(var tc=(ta-1)*tn;tc<ta*tn;tc++)void 0!==this.$items[tc]&&tl.append(tt(this.$items[tc]).clone())}}},ti.prototype.doSlideshow=function(){var ti=this.getDevice(),tn=this.options[ti+"Columns"];if(this.prevDevice&&this.options[this.prevDevice+"Columns"],this.prevDevice!=ti&&tn!=this.prevDeviceColumns){this.prevDevice=ti,void 0!=this.Slider&&(tt(this.$el.find(".featuredarticles-slider > li")).each(function(){tt(this).hasClass("bx-clone")&&tt(this).remove()}),this.Slider.destSlider()),this.resetSlideshowHTML(),this.$items.each(function(){tt(this).removeClass(function(tt,ti){return(ti.match(/\bfeaturedarticles-grid--columns\S+/g)||[]).join(" ")})}),"desktop"==ti&&((this.$el.hasClass("layout--8")||this.$el.hasClass("layout--6"))&&(tn=1==this.options.desktopColumns?1:2),this.$el.hasClass("layout--4")&&(tn=1)),this.$items.each(function(){tt(this).addClass("featuredarticles-grid--columns-"+tn)});for(var ts=Math.ceil(this.$items.length/tn),ta=1;ta<=ts;ta++){var tl=tt('<li class="items-container"></li>'),tc=tt('<div class="featuredarticles-items-wrap"></div>');this.$sliderContainer.append(tl),tl.append(tc);for(var tu=(ta-1)*tn;tu<ta*tn;tu++)void 0!==this.$items[tu]&&tc.append(tt(this.$items[tu]).clone())}window.featuredarticlesSlider=this.Slider=this.$sliderContainer.featuredArticlesSlideshow({numSlides:ts})}},ti.prototype.resetGridHTML=function(){var tt=this;tt.$gridContainer.html("")},ti.prototype.resetSlideshowHTML=function(){var tt=this;tt.$sliderContainer.html("")},ti.prototype.getDevice=function(){var tt=window.innerWidth;return tt<768?"mobile":tt<1025?"tablet":"desktop"};var tn=tt.fn.FeaturedArticlesComposer;tt.fn.featuredarticlesComposer=function(tn){var ts;return arguments,this.each(function(){var ta=tt(this),tl=tt.extend({},ta.data(),"object"==typeof tn&&tn),tc="";if(ta.data("FeaturedArticlesComposer",tc=new ti(ta,tl)),void 0!==ts)return!1}),ts||this},tt.fn.featuredarticlesComposer.Constructor=ti,tt.fn.featuredarticlesComposer.noConflict=function(){return tt.fn.featuredarticlesComposer=tn,this}
33,tt(window).on("load",function(){tt('[data-control="featuredarticles-composer"]').featuredarticlesComposer();var ti=!1;(ti=!!tt(".lazyLoadImg").length)&&tt(".featuredarticle__image.lazy").lazy({effect:"fadeIn",effectTime:2e3,threshold:0})})}(window.jQuery),function(tt){"use strict";var ti=function(ti,tn){var ts=this;this.$element=tt(ti),this.$ul=this.$element,this.$videos=tt(".video-js-slider",ti),this.$videoOverlays=tt(".video-overlay",this.$element),this.players=[],this.clones=[],this.prevDevice=null,this.loaded=0,this.tempArrVidsPause=[],this.vidsPauseClicked=[],this.lastDevice="",this.hadInteraction=!1,this.firstPlayerRef=null,window.addEventListener("wm-defer-js",()=>{ts.hadInteraction=!0,ts.firstPlayerRef&&ts.firstPlayerRef.paused()&&(ts.$element.stopAuto(),ts.firstPlayerRef.muted(!0),ts.firstPlayerRef.play(),ts.firstPlayerRef=null)}),this.groupSlidesByDevice(),this.options=this.parseTrueFalseOptions(tn),this.auto=this.options.auto,this.muted=!1,this.options.autoplayvideo&&(this.muted=!0),this.startPaused=-1!==location.href.indexOf("slide_show_pause=1")||-1!==location.href.indexOf("screenshot_mode=1"),this.startPaused&&(this.options.auto=!1),this.options.auto&&this.options.firstSlideVideo&&this.options.autoplayvideo&&(this.change=!0,this.options.auto=!1),ts.attachEvents(),ts.runSlider()};ti.prototype.runSlider=function(){var ti,tn,ts=this,ta=ts.getDevice();if(""!=ts.lastDevice){if(ta==ts.lastDevice)return;if(JSON.stringify(ts[ta+"Items"])==JSON.stringify(ts[ts.lastDevice+"Items"])){ts.lastDevice=ta;return}}ts.lastDevice=ta,ts.destroySlider(),ti=ta+"Items",ts.options.count=ts[ti].length,0!=ts.options.count&&(ts[ti].forEach(function(tt){ts.$ul.append(tt)}),1==ts.options.count&&(ts.options.infiniteLoop=!1),tn=ts.generateBxSliderData(),tt.extend(tn,ts.options),ts.$bxSlider=ts.$ul.bxSlider(tn))},ti.prototype.generateBxSliderData=function(){var ti=this;return{onSlideAfter:function(tt,tn,ts){if(ti.players.forEach(function(tt){tt.paused()||(-1==ti.tempArrVidsPause.indexOf(tt.id_)&&ti.tempArrVidsPause.push(tt.id_),tt.pause())}),tt.hasClass("slider__video_type")){var ta=tt.find("[data-item-id]").data("itemId"),tl=ti.findPlayerByItemId(ta);tl||(tl=ti.returnPlayer(tt.find(".video-js"))),ti.options.autoplayvideo&&1>tl.currentTime()&&(ti.$element.stopAuto(),ti.hadInteraction?(tl.muted(!0),tl.play()):ti.firstPlayerRef=tl),ti.muted&&tl.muted(!0)}ti.options.stopSlideshowAfterOneLoop&&ti.options.count-1==ts&&ti.$element.stopAuto()},onSliderLoad:function(tn){ti.$element.css("visibility","visible"),ti.$wrapper=ti.$element.closest(".bx-wrapper"),""==ti.options.easing&&(ti.options.easing=null),ti.options.controlsHover&&(tt(".bx-controls-direction",ti.$wrapper).hide(),ti.$wrapper.hover(function(){tt(".bx-controls-direction",tt(this)).fadeIn(300)},function(){tt(".bx-controls-direction",tt(this)).fadeOut(300)})),ti.options.autoHoverModified&&ti.$wrapper.hover(function(){ti.options.auto&&ti.$element.stopAuto()},function(){ti.options.auto&&!ti.isVideoPlaying()&&(ti.$element.stopAuto(),ti.$element.startAuto())}),ti.change&&(ti.options.auto=!0),null!=ti.options.easing&&(ti.options.useCSS=!1),ti.auto&&ti.makePauseSlideshowButton(),ts=ti.options.count>1&&"fade"!=ti.options.mode?1:0;var ts,ta=tt("#slider").find(".bx-viewport").find("ul").children().eq(ts);if(ta.hasClass("slider__video_type")){var tl=ti.returnPlayer(ta.find(".video-js"));ti.options.autoplayvideo&&(ti.$element.stopAuto(),ti.hadInteraction?(tl.muted(!0),tl.play()):ti.firstPlayerRef=tl),ti.muted&&tl.muted(!0)}ti.initializeClones(),ti.initializeOverlays(),ti.$element.closest(".bx-wrapper").find(".bx-controls").wrapAll("<div class='wrap__bx-controls' />"),ti.$element.closest(".bx-wrapper").find(".wrap_on-off, .wrap_pause-play, .bx-pager ").wrapAll("<div class='bx-controls-buttons' />")}}},ti.prototype.destroySlider=function(){var tt=this;tt.$bxSlider&&tt.$bxSlider.destroySlider(),tt.$ul.html("")},ti.prototype.attachEvents=function(){var ti,tn,ts=this;tt("#slider").on("click",".pause-slideshow",function(tn,ta){tt(this).hide(),ts.$element.stopAuto(),ts.options.auto=!1,tt("#slider .play-slideshow").fadeIn("slow",function(){void 0!==ta&&tt(this).focus()}),(ti=ts.isVideoPlaying())&&ti.pause()}),tt("#slider").on("click",".play-slideshow",function(ti,tn){tt(this).hide(),ts.$element.startAuto(),ts.options.auto=!0,tt("#slider .pause-slideshow").fadeIn("slow",function(){void 0!==tn&&tt(this).focus()})}),tt("body").keypress(function(ti){13==ti.which&&(tt("#slider").find(".play-slideshow").is(":focus")&&tt("#slider").find(".play-slideshow").trigger("click",{kb:!0}),tt("#slider").find(".pause-slideshow").is(":focus")&&tt("#slider").find(".pause-slideshow").trigger("click",{kb:!0}),tt("#slider").find(".sound-off").is(":focus")&&tt("#slider").find(".sound-off").trigger("click",{kb:!0}),tt("#slider").find(".sound-on").is(":focus")&&tt("#slider").find(".sound-on").trigger("click",{kb:!0}))}),tt(window).resize(function(){clearTimeout(tn),tn=setTimeout(function(){ts.runSlider()},250)})},ti.prototype.returnPlayer=function(tt){var ti=this,tn=tt.data("setupRun");
33return void 0!=tn.techOrder&&"vimeo"==tn.techOrder[0]&&(tn.controls=!1),void 0!=tn.techOrder&&"youtube"==tn.techOrder[0]&&(tn.youtube={ytControls:2},tn.controls=!1),videojs(tt.attr("id"),tn,function(){var tt,tn=this;ti.players.push(tn),tn.on("play",function(){ti.showCaptionWhilePlay(this.id_,!1),ti.options.auto&&ti.$element.stopAuto()}),tn.on("pause",function(ts){ti.showCaptionWhilePlay(this.id_,!0),ti.options.auto&&(ti.$element.stopAuto(),ti.$element.startAuto()),(tt=ti.hasClone(tn))&&(tt.poster(""),tt.bigPlayButton.hide(),tt.currentTime(tn.currentTime()))}),tn.on("ended",function(){ti.showCaptionWhilePlay(this.id_,!0),ti.options.auto&&(ti.$element.stopAuto(),ti.$element.startAuto())})})},ti.prototype.parseTrueFalseOptions=function(tt,tn){for(var ts in tt)tt.hasOwnProperty(ts)&&-1!=ti.BOOLEANS.indexOf(ts)&&(tt[ts]=!!tt[ts]);return tt},ti.prototype.isVideoPlaying=function(){var tt=this,ti=!1;return tt.players.forEach(function(tt){tt.paused()||(ti=tt)}),ti},ti.prototype.initializeOverlays=function(){var ti=this;ti.$videoOverlays.length&&ti.$videoOverlays.on("click",function(){var tn=ti.findPlayerByItemId(tt(this).data("itemId"));tn.paused()?(tn.muted(!1),tn.play()):tn.pause()})},ti.prototype.findPlayerByItemId=function(ti){for(var tn=this,ts=0;ts<tn.players.length;ts++){var ta=tn.players[ts];if(tt(ta.el_).data("itemId")==ti)return ta}return!1},ti.prototype.groupSlidesByDevice=function(){var ti,tn=this;tn.desktopItems=[],tn.tabletItems=[],tn.mobileItems=[];var ts=navigator.userAgent.indexOf("Trident")>-1||navigator.userAgent.indexOf("MSIE")>-1;tn.$ul.find("li").each(function(){ti=ts?tt(this).clone(!0,!0):tt(this),tt(this).data("desktop")&&tn.desktopItems.push(ti),tt(this).data("tablet")&&tn.tabletItems.push(ti),tt(this).data("mobile")&&tn.mobileItems.push(ti)})},ti.prototype.makePauseSlideshowButton=function(){var ti=this,tn="",ts="";ti.options.auto?tn='style="display:none"':ts='style="display:none"';var ta='<div class="wrap_pause-play"><div class="pause-slideshow" aria-label="icon pause" '+ts+' title="Pause slideshow" tabindex="0"><span class="icon icon-pause"></span></div><div class="play-slideshow" aria-label="icon play" '+tn+' title="Play slideshow" tabindex="0"><span class="icon icon-play"></span></div></div>';tt("#slider").find(".bx-wrapper .bx-controls").prepend(ta)},ti.prototype.initializeClones=function(){var ti,tn=this;tn.$element.find(".bx-clone").each(function(ts){if((ti=tt(this).find("video")).attr("id",ti.attr("id")+"_clone"),ti.length){var ta=tt(ti[0]).data("setupRun")?tt(ti[0]).data("setupRun"):tt(ti[0]).data("setup");void 0!=ta.techOrder&&"vimeo"==ta.techOrder[0]&&(ta.controls=!1),void 0!=ta.techOrder&&"youtube"==ta.techOrder[0]&&(ta.youtube={ytControls:2},ta.controls=!1),videojs(ti[0],ta,function(){this.muted(!0),tn.clones.push(this)})}})},ti.prototype.hasClone=function(ti){for(var tn=this,ts=0;ts<tn.clones.length;ts++){var ta=tn.clones[ts];if(tt(ta.el_).attr("id")==tt(ti.el_).attr("id")+"_clone")return ta}return!1},ti.prototype.showCaptionWhilePlay=function(ti,tn){var ts=this,ta=tt("#"+ti).parents(".slider__item").find("[data-vidplay]"),tl=ta.data("vidplay");tn&&(tl=1),ts.$element.find(ta).css({opacity:tl})},ti.prototype.getDevice=function(){var tt=window.innerWidth;return tt<768?"mobile":tt<1025?"tablet":"desktop"},ti.DEFAULTS={video:!0,pager:!0,controls:!0,autoControls:!1,autoHoverModified:!1,autoHover:!1,auto:!0,infiniteLoop:!0,randomStart:!1,controlsHover:!1,responsive:!1,mode:"horizontal",speed:500,pause:4e3,autoDelay:0,easing:null,useCSS:!1,isEditor:!1},ti.BOOLEANS=["pager","controls","autoControls","auto","infiniteLoop","randomStart","controlsHover","responsive","autoHoverModified"];var tn=tt.fn.Slider;tt.fn.Slider=function(tn){var ts;return arguments,this.each(function(){var ta=tt(this),tl=tt.extend({},ti.DEFAULTS,ta.data(),"object"==typeof tn&&tn),tc="";if(ta.data("bxslider",tc=new ti(this,tl)),void 0!==ts)return!1}),ts||this},tt.fn.Slider.Constructor=ti,tt.fn.Slider.noConflict=function(){return tt.fn.Slider=tn,this},tt(function(){tt('[data-control="slider"]').Slider()})}(window.jQuery),function(tt){"use strict";
33String.prototype.endsWith||(String.prototype.endsWith=function(tt,ti){return(void 0===ti||ti>this.length)&&(ti=this.length),this.substring(ti-tt.length,ti)===tt}),tt(".searchbarform").submit(function(ti){var tn=tt(this).find('[name="query"]').val(),ts=tt(this).find('[name="baseUrl"]').val();if(!tt.trim(tn))return!1;var ta=(ts+=ts.endsWith("/")?"":"/")+tn;tt(this).attr("action",ta)})}(window.jQuery),function(tt){"use strict";var ti=!0,tn=10,ts="",ta=0,tl="",tc=null,tu="",td=!1,th={resize:1,click:1},tp=128,tf=!0,tm=1,tg="bodyOffset",tv=tg,ty=!0,tb="",tw={},tx=32,t_=null,tT=!1,tk="[iFrameSizer]",tj=tk.length,tC="",tS={max:1,min:1,bodyScroll:1,documentElementScroll:1},tE="child",tO=!0,tP=tt.parent,tI="*",tM=0,tA=!1,tL=null,t$=16,tD=1,tz="scroll",tN=tz,tH=tt,tR=function(){tY("MessageCallback function not defined")},tB=function(){},tF=function(){};function tW(ti,tn,ts){"addEventListener"in tt?ti.addEventListener(tn,ts,!1):"attachEvent"in tt&&ti.attachEvent("on"+tn,ts)}function tV(ti,tn,ts){"removeEventListener"in tt?ti.removeEventListener(tn,ts,!1):"detachEvent"in tt&&ti.detachEvent("on"+tn,ts)}function tU(tt){return tt.charAt(0).toUpperCase()+tt.slice(1)}var tq=Date.now||function(){return new Date().getTime()};function tG(tt){return tk+"["+tC+"] "+tt}function tQ(ti){tT&&"object"==typeof tt.console&&console.log(tG(ti))}function tY(ti){"object"==typeof tt.console&&console.warn(tG(ti))}function tX(){tK(),tQ("Initialising iFrame ("+location.href+")"),tJ(),t1(),t0("background",ts),t0("padding",tu),er(),t8(),t7(),t6(),ec(),t3(),tw=es(),e_("init","Init message from host page"),tB()}function tK(){function tt(tt){return"true"===tt}var tn=tb.substr(tj).split(":");tC=tn[0],ta=void 0!==tn[1]?Number(tn[1]):ta,td=void 0!==tn[2]?tt(tn[2]):td,tT=void 0!==tn[3]?tt(tn[3]):tT,tx=void 0!==tn[4]?Number(tn[4]):tx,ti=void 0!==tn[6]?tt(tn[6]):ti,tl=tn[7],tv=void 0!==tn[8]?tn[8]:tv,ts=tn[9],tu=tn[10],tM=void 0!==tn[11]?Number(tn[11]):tM,tw.enable=void 0!==tn[12]&&tt(tn[12]),tE=void 0!==tn[13]?tn[13]:tE,tN=void 0!==tn[14]?tn[14]:tN}function tJ(){function ti(){var ti=tt.iFrameResizer;tQ("Reading data from page: "+JSON.stringify(ti)),tR="messageCallback"in ti?ti.messageCallback:tR,tB="readyCallback"in ti?ti.readyCallback:tB,tI="targetOrigin"in ti?ti.targetOrigin:tI,tv="heightCalculationMethod"in ti?ti.heightCalculationMethod:tv,tN="widthCalculationMethod"in ti?ti.widthCalculationMethod:tN}"iFrameResizer"in tt&&Object===tt.iFrameResizer.constructor&&ti(),tQ("TargetOrigin for parent set to: "+tI)}function tZ(tt,ti){return -1!==ti.indexOf("-")&&(tY("Negative CSS value ignored for "+tt),ti=""),ti}function t0(tt,ti){void 0!==ti&&""!==ti&&"null"!==ti&&(document.body.style[tt]=ti,tQ("Body "+tt+' set to "'+ti+'"'))}function t1(){void 0===tl&&(tl=ta+"px"),t0("margin",tZ("margin",tl))}function t6(){document.documentElement.style.height="",document.body.style.height="",tQ('HTML & body height set to "auto"')}function t4(ti){function tn(){e_(ti.eventName,ti.eventType)}var ts={add:function(ti){tW(tt,ti,tn)},remove:function(ti){tV(tt,ti,tn)}};ti.eventNames&&Array.prototype.map?(ti.eventName=ti.eventNames[0],ti.eventNames.map(ts[ti.method])):ts[ti.method](ti.eventName),tQ(tU(ti.method)+" event listener: "+ti.eventType)}function t2(tt){t4({method:tt,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),t4({method:tt,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),t4({method:tt,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),t4({method:tt,eventType:"Input",eventName:"input"}),t4({method:tt,eventType:"Mouse Up",eventName:"mouseup"}),t4({method:tt,eventType:"Mouse Down",eventName:"mousedown"}),t4({method:tt,eventType:"Orientation Change",eventName:"orientationchange"}),t4({method:tt,eventType:"Print",eventName:["afterprint","beforeprint"]}),t4({method:tt,eventType:"Ready State Change",eventName:"readystatechange"}),t4({method:tt,eventType:"Touch Start",eventName:"touchstart"}),t4({method:tt,eventType:"Touch End",eventName:"touchend"}),t4({method:tt,eventType:"Touch Cancel",eventName:"touchcancel"}),t4({method:tt,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),t4({method:tt,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),t4({method:tt,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}
33),"child"===tE&&t4({method:tt,eventType:"IFrame Resized",eventName:"resize"})}function t5(tt,ti,tn,ts){return ti!==tt&&(tt in tn||(tY(tt+" is not a valid option for "+ts+"CalculationMethod."),tt=ti),tQ(ts+' calculation method set to "'+tt+'"')),tt}function t8(){tv=t5(tv,tg,eb,"height")}function t7(){tN=t5(tN,tz,ew,"width")}function t3(){!0===ti?(t2("add"),eh()):tQ("Auto Resize disabled")}function t9(){tQ("Disable outgoing messages"),tO=!1}function et(){tQ("Remove event listener: Message"),tV(tt,"message",eS)}function ei(){null!==tc&&tc.disconnect()}function en(){t2("remove"),ei(),clearInterval(t_)}function eo(){t9(),et(),!0===ti&&en()}function er(){var tt=document.createElement("div");tt.style.clear="both",tt.style.display="block",document.body.appendChild(tt)}function es(){function ti(){return{x:void 0!==tt.pageXOffset?tt.pageXOffset:document.documentElement.scrollLeft,y:void 0!==tt.pageYOffset?tt.pageYOffset:document.documentElement.scrollTop}}function tn(tt){var tn=tt.getBoundingClientRect(),ts=ti();return{x:parseInt(tn.left,10)+parseInt(ts.x,10),y:parseInt(tn.top,10)+parseInt(ts.y,10)}}function ts(tt){function ti(tt){var ti=tn(tt);tQ("Moving to in page link (#"+ts+") at x: "+ti.x+" y: "+ti.y),eC(ti.y,ti.x,"scrollToOffset")}var ts=tt.split("#")[1]||tt,ta=decodeURIComponent(ts),tl=document.getElementById(ta)||document.getElementsByName(ta)[0];void 0!==tl?ti(tl):(tQ("In page link (#"+ts+") not found in iFrame, so sending to parent"),eC(0,0,"inPageLink","#"+ts))}function ta(){""!==location.hash&&"#"!==location.hash&&ts(location.href)}function tl(){function tt(tt){function ti(tt){tt.preventDefault(),ts(this.getAttribute("href"))}"#"!==tt.getAttribute("href")&&tW(tt,"click",ti)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),tt)}function tc(){tW(tt,"hashchange",ta)}function tu(){setTimeout(ta,tp)}function td(){Array.prototype.forEach&&document.querySelectorAll?(tQ("Setting up location.hash handlers"),tl(),tc(),tu()):tY("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}return tw.enable?td():tQ("In page linking not enabled"),{findTarget:ts}}function ec(){tQ("Enable public methods"),tH.parentIFrame={autoResize:function(tt){return!0===tt&&!1===ti?(ti=!0,t3()):!1===tt&&!0===ti&&(ti=!1,en()),ti},close:function(){eC(0,0,"close"),eo()},getId:function(){return tC},getPageInfo:function(tt){"function"==typeof tt?(tF=tt,eC(0,0,"pageInfo")):(tF=function(){},eC(0,0,"pageInfoStop"))},moveToAnchor:function(tt){tw.findTarget(tt)},reset:function(){ej("parentIFrame.reset")},scrollTo:function(tt,ti){eC(ti,tt,"scrollTo")},scrollToOffset:function(tt,ti){eC(ti,tt,"scrollToOffset")},sendMessage:function(tt,ti){eC(0,0,"message",JSON.stringify(tt),ti)},setHeightCalculationMethod:function(tt){tv=tt,t8()},setWidthCalculationMethod:function(tt){tN=tt,t7()},setTargetOrigin:function(tt){tQ("Set targetOrigin: "+tt),tI=tt},size:function(tt,ti){e_("size","parentIFrame.size("+(tt||"")+(ti?","+ti:"")+")",tt,ti)}}}function eu(){0!==tx&&(tQ("setInterval: "+tx+"ms"),t_=setInterval(function(){e_("interval","setInterval: "+tx)},Math.abs(tx)))}function ed(){function ti(tt){function ti(tt){!1===tt.complete&&(tQ("Attach listeners to "+tt.src),tt.addEventListener("load",tl,!1),tt.addEventListener("error",tc,!1),th.push(tt))}"attributes"===tt.type&&"src"===tt.attributeName?ti(tt.target):"childList"===tt.type&&Array.prototype.forEach.call(tt.target.querySelectorAll("img"),ti)}function tn(tt){th.splice(th.indexOf(tt),1)}function ts(tt){tQ("Remove listeners from "+tt.src),tt.removeEventListener("load",tl,!1),tt.removeEventListener("error",tc,!1),tn(tt)}function ta(tt,ti,tn){ts(tt.target),e_(ti,tn+": "+tt.target.src,void 0,void 0)}function tl(tt){ta(tt,"imageLoad","Image loaded")}function tc(tt){ta(tt,"imageLoadFailed","Image load failed")}function tu(tt){e_("mutationObserver","mutationObserver: "+tt[0].target+" "+tt[0].type),tt.forEach(ti)}function td(){var tt=document.querySelector("body"),ti={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return tf=new tp(tu),tQ("Create body MutationObserver"),tf.observe(tt,ti),tf}var th=[],tp=tt.MutationObserver||tt.WebKitMutationObserver,tf=td();return{disconnect:function(){"disconnect"in tf&&(tQ("Disconnect body MutationObserver"),tf.disconnect(),th.forEach(ts))}}}function eh(){var ti=0>tx;tt.MutationObserver||tt.WebKitMutationObserver?ti?eu():tc=ed():(tQ("MutationObserver not supported in this browser!"),eu())}function ep(tt,ti){function ts(tt){if(/^\d+(px)?$/i.test(tt))return parseInt(tt,tn);var ts=ti.style.left,ta=ti.runtimeStyle.left;return ti.runtimeStyle.left=ti.currentStyle.left,ti.style.left=tt||0,tt=ti.style.pixelLeft,ti.style.left=ts,ti.runtimeStyle.left=ta,tt}var ta=0;return ti=ti||document.body,parseInt(ta="defaultView"in document&&"getComputedStyle"in document.defaultView?null!==(ta=document.defaultView.getComputedStyle(ti,null))?ta[tt]:0:ts(ti.currentStyle[tt]),tn)}function ef(tt){tt>t$/2&&tQ("Event throttle increased to "+(t$=2*tt)+"ms")}function em(tt,ti){for(var tn=ti.length,ts=0,ta=0,tl=tU(tt),tc=tq(),tu=0;tu<tn;tu++)(ts=ti[tu].getBoundingClientRect()[tt]+ep("margin"+tl,ti[tu]))>ta&&(ta=ts);return tc=tq()-tc,tQ("Parsed "+tn+" HTML elements"),tQ("Element position calculated in "+tc+"ms"),ef(tc),ta}function eg(tt){return[tt.bodyOffset(),tt.bodyScroll(),tt.documentElementOffset(),tt.documentElementScroll()]}function ev(tt,ti){function tn(){return tY("No tagged elements ("+ti+") found on page"),tm}var ts=document.querySelectorAll("["+ti+"]");return 0===ts.length?tn():em(tt,ts)}function ey(){return document.querySelectorAll("body *")}var eb={bodyOffset:function(){return document.body.offsetHeight+ep("marginTop")+ep("marginBottom")},offset:function(){return eb.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,eg(eb))},min:function(){return Math.min.apply(null,eg(eb))},grow:function(){return eb.max()},lowestElement:function(){return Math.max(eb.bodyOffset(),em("bottom",ey()))},taggedElement:function(){return ev("bottom","data-iframe-height")}},ew={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(ew.bodyScroll(),ew.documentElementScroll())}
33,max:function(){return Math.max.apply(null,eg(ew))},min:function(){return Math.min.apply(null,eg(ew))},rightMostElement:function(){return em("right",ey())},taggedElement:function(){return ev("right","data-iframe-width")}},ex=function(tt){var ti,tn,ts,ta=null,tl=0,tc=function(){tl=tq(),ta=null,ts=tt.apply(ti,tn),ta||(ti=tn=null)};return function(){var tu=tq();tl||(tl=tu);var td=t$-(tu-tl);return ti=this,tn=arguments,td<=0||td>t$?(ta&&(clearTimeout(ta),ta=null),tl=tu,ts=tt.apply(ti,tn),ta||(ti=tn=null)):ta||(ta=setTimeout(tc,td)),ts}}(function(tt,ti,tn,ts){var ta,tl;function tc(){eC(tm=ta,tD=tl,tt)}function tu(){return!(tt in{init:1,interval:1,size:1})}function th(){return tv in tS||td&&tN in tS}function tp(){tQ("No change in size detected")}function tf(){tu()&&th()?ej(ti):tt in{interval:1}||tp()}(function(){function tt(tt,ti){return!(Math.abs(tt-ti)<=tM)}return ta=void 0!==tn?tn:eb[tv](),tl=void 0!==ts?ts:ew[tN](),tt(tm,ta)||td&&tt(tD,tl)})()||"init"===tt?(eT(),tc()):tf()});function e_(tt,ti,tn,ts){function ta(){tt in{reset:1,resetPage:1,init:1}||tQ("Trigger event: "+ti)}(function(){return tA&&tt in th})()?tQ("Trigger event cancelled: "+tt):(ta(),ex(tt,ti,tn,ts))}function eT(){tA||(tA=!0,tQ("Trigger event lock on")),clearTimeout(tL),tL=setTimeout(function(){tA=!1,tQ("Trigger event lock off"),tQ("--")},tp)}function ek(tt){tm=eb[tv](),tD=ew[tN](),eC(tm,tD,tt)}function ej(tt){var ti=tv;tv=tg,tQ("Reset trigger event: "+tt),eT(),ek("reset"),tv=ti}function eC(tt,ti,tn,ts,ta){function tl(){void 0===ta?ta=tI:tQ("Message targetOrigin: "+ta)}function tc(){var tl=tC+":"+tt+":"+ti+":"+tn+(void 0!==ts?":"+ts:"");tQ("Sending message to host page ("+tl+")"),tP.postMessage(tk+tl,ta)}!0===tO&&(tl(),tc())}function eS(ti){function tn(){tb=ti.data,tP=ti.source,tX(),tf=!1,setTimeout(function(){ty=!1},tp)}function ts(){ty?tQ("Page reset ignored by init"):(tQ("Page size reset by host page"),ek("resetPage"))}function ta(){e_("resizeParent","Parent window requested size check")}function tl(){var tt=tu();tw.findTarget(tt)}function tc(){return ti.data.split("]")[1].split(":")[0]}function tu(){return ti.data.substr(ti.data.indexOf(":")+1)}function td(){return"iFrameResize"in tt}function th(){var tt=tu();tQ("MessageCallback called from parent: "+tt),tR(JSON.parse(tt)),tQ(" --")}function tm(){var tt=tu();tQ("PageInfoFromParent called from parent: "+tt),tF(JSON.parse(tt)),tQ(" --")}function tg(){return ti.data.split(":")[2]in{true:1,false:1}}function tv(){switch(tc()){case"reset":ts();break;case"resize":ta();break;case"moveToAnchor":tl();break;case"message":th();break;case"pageInfo":tm();break;default:td()||tg()||tY("Unexpected message ("+ti.data+")")}}function tx(){!1===tf?tv():tg()?tn():tQ('Ignored message of type "'+tc()+'". Received before initialization.')}(function(){return tk===(""+ti.data).substr(0,tj)})()&&tx()}function eE(){"loading"!==document.readyState&&tt.parent.postMessage("[iFrameResizerChild]Ready","*")}tW(tt,"message",eS),eE()}(window||{}),$(document).ready(function(){window.menuHolder=$(".navigation").not(".mm-menu"),window.menuHolderMaxWidth=100,window.menu=$(".more_nav").not(".mm-listview"),window.currentMenu=menu,window.currentMenuWidth=window.menuHolder.outerWidth(),window.menuChildrenCount=currentMenu.children().length,window.origMenuContent="",window.moreButton=$('<li class="navigation__item has-child more"> <a href="#">More</a> <ul class="navigation__list--sub"></ul> </li>'),window.allMenus=[]}),function(tt){var ti=!1;if("function"==typeof define&&define.amd&&(define(tt),ti=!0),"object"==typeof exports&&(module.exports=tt(),ti=!0),!ti){var tn=window.Cookies,ts=window.Cookies=tt();ts.noConflict=function(){return window.Cookies=tn,ts}}}(function(){function tt(){for(var tt=0,ti={};tt<arguments.length;tt++){var tn=arguments[tt];for(var ts in tn)ti[ts]=tn[ts]}return ti}function ti(tn){function ts(ti,ta,tl){if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(tl=tt({path:"/"},ts.defaults,tl)).expires){var tc,tu=new Date;tu.setMilliseconds(tu.getMilliseconds()+864e5*tl.expires),tl.expires=tu}
33try{tc=JSON.stringify(ta),/^[\{\[]/.test(tc)&&(ta=tc)}catch(tt){}return ta=tn.write?tn.write(ta,ti):encodeURIComponent(String(ta)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),ti=(ti=(ti=encodeURIComponent(String(ti))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape),document.cookie=[ti,"=",ta,tl.expires?"; expires="+tl.expires.toUTCString():"",tl.path?"; path="+tl.path:"",tl.domain?"; domain="+tl.domain:"",tl.secure?"; secure":""].join("")}ti||(tc={});for(var td=document.cookie?document.cookie.split("; "):[],th=/(%[0-9A-Z]{2})+/g,tp=0;tp<td.length;tp++){var tf=td[tp].split("="),tm=tf.slice(1).join("=");'"'===tm.charAt(0)&&(tm=tm.slice(1,-1));try{var tg=tf[0].replace(th,decodeURIComponent);if(tm=tn.read?tn.read(tm,tg):tn(tm,tg)||tm.replace(th,decodeURIComponent),this.json)try{tm=JSON.parse(tm)}catch(tt){}if(ti===tg){tc=tm;break}ti||(tc[tg]=tm)}catch(tt){}}return tc}}return ts.set=ts,ts.get=function(tt){return ts.call(ts,tt)},ts.getJSON=function(){return ts.apply({json:!0},[].slice.call(arguments))},ts.defaults={},ts.remove=function(ti,tn){ts(ti,"",tt(tn,{expires:-1}))},ts.withConverter=ti,ts}return ti(function(){})}),$(()=>{"use strict";let tt=document.querySelectorAll("#shapePnl a"),ti=({currentTarget:tt})=>{let ti=tt.classList.item(0),tn=tt.parentElement.querySelectorAll(":scope > .selected");for(let tt of tn)tt.classList.remove("selected");tt.classList.add("selected");let ts=document.querySelectorAll("#facePnl");for(let tt of ts)tt.setAttribute("class",ti);let ta=document.querySelectorAll(`#infoPnl div.${ti}`);for(let tt of ta)for(let ti of tt.parentElement.children)ti.style.display=ti===tt?"block":"none"};for(let tn of tt)tn.addEventListener("click",ti);let tn=document.querySelectorAll('#framePnl span[class*="frm"]'),ts=({currentTarget:tt})=>{let ti=tt.getAttribute("class"),tn=document.querySelectorAll("#framePnl a.selected");for(let tt of tn)tt.classList.remove("selected");tt.parentElement.classList.add("selected");let ts=document.querySelectorAll("#lrgFrame");for(let tt of ts)tt.setAttribute("class",ti)};for(let tt of tn)tt.addEventListener("click",ts);let ta=720,tl=1,tc=document.querySelectorAll("ul#frameSets li").length,tu=document.querySelectorAll("a.prvSet"),td=tt=>{tt.stopPropagation(),tt.preventDefault();let ti=$("ul#frameSets li");if(tl>1){ti.animate({left:`+=${ta}px`},500),tl-=1;return}ti.animate({left:`-${(tc-1)*ta}px`},500),tl=tc};for(let tt of tu)tt.addEventListener("click",td);let th=document.querySelectorAll("a.nxtSet"),tp=tt=>{tt.stopPropagation(),tt.preventDefault();let ti=$("ul#frameSets li");if(tl<tc){ti.animate({left:`-=${ta}px`},500),tl+=1;return}ti.animate({left:"0px"},500),tl=1};for(let tt of th)tt.addEventListener("click",tp);let tf=document.querySelectorAll("a.lnchFrmSlctr"),tm=tt=>{tt.preventDefault(),tt.stopPropagation(),$.fancybox({autoSize:!1,speedIn:600,speedOut:200,transitionIn:"elastic",type:"inline",href:"#frameSelector",width:"815",height:"508"})};for(let tt of tf)tt.addEventListener("click",tm);let tg=document.querySelectorAll("button.lnch3dspine"),tv=tt=>{tt.stopPropagation(),tt.preventDefault(),$.fancybox({autoSize:!1,speedIn:600,speedOut:200,transitionIn:"elastic",type:"inline",href:"#frameSelector",width:"902",height:"833"})};for(let tt of tg)tt.addEventListener("click",tv);let ty=document.querySelectorAll("button.lnchpetselector"),tb=tt=>{tt.preventDefault(),tt.stopPropagation(),$.fancybox({autoSize:!1,speedIn:600,speedOut:200,transitionIn:"elastic",type:"inline",href:"#frameSelector",width:"940",height:"750"})};for(let tt of ty)tt.addEventListener("click",tb)}),$(document).ready(function(){$(".preview_iframe").height($(window).height());var tt=$("#navigation_header"),ti=tt.parent(),tn=tt.find("ul"),ts="sublevel-";if(navigationSublevelWrap(tn,ts),tt.clone().attr("id","navigation--mobile").mmenu({extensions:["multiline","border-full","pagedim-black"],offCanvas:{zposition:"front"}}),$("#hamburger").moveElement({place:ti}),1===$(".navigation").not(".mm-menu").data("more-button")){var ta=$(".navigation").not(".mm-menu").find(".navigation__list").eq(0),tl="more_nav--active";ta.hasClass(tl)?ta.removeClass(tl):ta.addClass(tl)}function tc(){window.currentMenuWidth=window.menuHolder.outerWidth(),addMoreButton(),moreNav(),$(".navigation:not(.mm-menu) .navigation__list>li>div>ul").desktopDropNav(),$(".navigation:not(.mm-menu)").slideAccordion({activeClass:"open-close--active",opener:">a span.opener",slider:">div.slide",animSpeed:300}),$(".navigation:not(.mm-menu) > ul").dropdownFit({dropDown:">li>div>ul"}),$(".navigation:not(.mm-menu) .sublevel-1").each(function(){$(this).scrollArea({heightProp:"maxHeight",setScrollTo:"> .navigation__list--sub",extraSpacing:parseInt($(".navigation:not(.mm-menu) .sublevel-1").css("padding-top"))})})}$(".wrap__image .image, .wrap__layout_form .image, .wrap__container-alt .image, .wrap__side_image_content .image").each(function(){var tt=$(this),ti=tt.find("img"),tn=ti.attr("src");tt.length&&ti.length&&tn&&(tt.css({backgroundImage:"url("+tn+")",backgroundSize:"cover",backgroundPosition:"50% 50%",backgroundRepeat:"no-repeat"}),ti.remove())}),ResponsiveHelper.addRange({"1025..":{on:function(){1===$(".navigation").not(".mm-menu").data("more-button")&&(menuPrepare(),window.currentMenuWidth=window.menuHolder.outerWidth(),addMoreButton(),moreNav(),$(window).on("resize orientationchange",tc)),$(".wrap__layout").setSpacing({takeSizeFrom:".wrap__header--inner",flexible:!1}),$("body").fixedScrollBlock({fixedActiveClass:"fixed-on-scroll",slideBlock:".wrap__header",fixedOnlyIfFits:!1,positionType:"fixed"}),$(".wrap__header--inner").length&&$(".wrap__header--inner").addClass("positioned"),$(".navigation:not(.mm-menu) .navigation__list>li>div>ul").desktopDropNav(),$(".navigation:not(.mm-menu)").slideAccordion({activeClass:"open-close--active",opener:">a span.opener",slider:">div.slide",animSpeed:300}),$(".navigation:not(.mm-menu) > ul").dropdownFit({dropDown:">li>div>ul"}),$(".navigation:not(.mm-menu) .sublevel-1").each(function(){$(this).scrollArea({heightProp:"maxHeight",setScrollTo:"> .navigation__list--sub",extraSpacing:parseInt($(".navigation:not(.mm-menu) .sublevel-1").css("padding-top"))})}),void 0!==$("#navigation--mobile").data("mmenu")&&$("#navigation--mobile").data("mmenu").close(),$(".map__display").setSpacing({takeSizeFrom:".map .component__title-caption-wrap",takeSize:"height",spacingProp:"top"}),$(".form").length&&($("body").on("SMBLeadsFormReady",function(){$(".wrap__form.contact .leadForm, .wrap__form.appointment .leadForm").layoutContactForm()}),$(".wrap__form.contact .leadForm, .wrap__form.appointment .leadForm").layoutContactForm())},off:function(){1===$(".navigation").not(".mm-menu").data("more-button")&&$(window).off("resize orientationchange",tc),void 0!==$(".wrap__layout").data("setSpacing")&&$(".wrap__layout").data("setSpacing").destroy(),$("body").data("FixedScrollBlock").destroy(),$(".wrap__header--inner").removeClass("positioned"),$(".navigation:not(.mm-menu) > ul").data("dropdownFit").destroy(),setTimeout(function(){$(".navigation:not(.mm-menu) .sublevel-1").each(function(){void 0!==$(this).data("scrollArea")&&$(this).data("scrollArea").destroy()})},100),void 0!==$(".map__display").data("setSpacing")&&$(".map__display").data("setSpacing").destroy(),$(".wrap__form.contact .leadForm, .wrap__form.appointment .leadForm").each(function(){void 0!==$(this).data("layoutContactForm")&&$(this).data("layoutContactForm").destroy()})}},"..1024":{on:function(){$(".wrap__additional-components .location").makeAddressMapLink()},off:function(){$(".wrap__additional-components .location").each(function(){void 0!==$(this).data("makeAddressMapLink")&&$(this).data("makeAddressMapLink").destroy()})}}}),styleInnerPageStaff()}),function(tt){function ti(ti){this.options=tt.extend({addressItemHolder:".location__address"},ti),this.init()}ti.prototype={init:function(){this.findElements(),this.makeAddress()},findElements:function(){this.addressHolder=tt(this.options.holder),this.addressItem=this.addressHolder.find(tt(this.options.addressItemHolder))},makeAddress:function(){this.addressItem.wrapInner("<a class='mapLink' href='http://maps.google.com/maps?q="+encodeURIComponent(this.addressItem.text())+"' target='_blank'></a>")},destroy:function(){tt(".mapLink").contents().unwrap(),this.addressItem.removeData("makeAddressMapLink")}},tt.fn.makeAddressMapLink=function(tn){return this.each(function(){tt(this).data("makeAddressMapLink",new ti(tt.extend(tn,{holder:this})))})}}(jQuery),$(document).ready(function(){disableLinks(".wrap__page-content a, .wrap__editable-content a"),$(".form").length&&$("body").on("SMBLeadsFormReady",function(){void 0!==$("body").data("FixedScrollBlock")&&$("body").data("FixedScrollBlock").refresh()}),setTimeout(function(){$("body").removeClass("mm-slideout mm-page")},1e3),$("a.dd-lightbox").fancybox()});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.