1function navigationSublevelWrap(ti,tn){ti.each(function(){var ti=$(this),ts=ti.parents("ul").length;ts>0&&ti.wrap(function(){return'<div class="'+tn+ts+'"></div>'})})}if(!function(ti){function tn(){ti[th].glbl||(tc={$wndw:ti(window),$docu:ti(document),$html:ti("html"),$body:ti("body")},ts={},ta={},tl={},ti.each([ts,ta,tl],function(ti,tn){tn.add=function(ti){ti=ti.split(" ");for(var ts=0,ta=ti.length;ta>ts;ts++)tn[ti[ts]]=tn.mm(ti[ts])}}),ts.mm=function(ti){return"mm-"+ti},ts.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"),ts.umm=function(ti){return"mm-"==ti.slice(0,3)&&(ti=ti.slice(3)),ti},ta.mm=function(ti){return"mm-"+ti},ta.add("parent sub"),tl.mm=function(ti){return ti+".mm"},tl.add("transitionend webkitTransitionEnd click scroll keydown mousedown mouseup touchstart touchmove touchend orientationchange"),ti[th]._c=ts,ti[th]._d=ta,ti[th]._e=tl,ti[th].glbl=tc)}var ts,ta,tl,tc,th="mmenu",tu="5.6.4";ti[th]&&ti[th].version>tu||(ti[th]=function(ti,tn,ts){this.$menu=ti,this._api=["bind","init","update","setSelected","getInstance","openPanel","closePanel","closeAllPanels"],this.opts=tn,this.conf=ts,this.vars={},this.cbck={},"function"==typeof this.___deprecated&&this.___deprecated(),this._initMenu(),this._initAnchors();var ta=this.$pnls.children();return this._initAddons(),this.init(ta),"function"==typeof this.___debug&&this.___debug(),this},ti[th].version=tu,ti[th].addons={},ti[th].uniqueId=0,ti[th].defaults={extensions:[],navbar:{add:!0,title:"Menu",titleLink:"panel"},onClick:{setSelected:!0},slidingSubmenus:!0},ti[th].configuration={classNames:{divider:"Divider",inset:"Inset",panel:"Panel",selected:"Selected",spacer:"Spacer",vertical:"Vertical"},clone:!1,openingInterval:25,panelNodetype:"ul, ol, div",transitionDuration:400},ti[th].prototype={init:function(ti){ti=ti.not("."+ts.nopanel),ti=this._initPanels(ti),this.trigger("init",ti),this.trigger("update")},update:function(){this.trigger("update")},setSelected:function(ti){this.$menu.find("."+ts.listview).children().removeClass(ts.selected),ti.addClass(ts.selected),this.trigger("setSelected",ti)},openPanel:function(tn){var ta=tn.parent(),tl=this;if(ta.hasClass(ts.vertical)){var tc=ta.parents("."+ts.subopened);if(tc.length)return void this.openPanel(tc.first());ta.addClass(ts.opened),this.trigger("openPanel",tn),this.trigger("openingPanel",tn),this.trigger("openedPanel",tn)}else{if(tn.hasClass(ts.current))return;var tu=this.$pnls.children("."+ts.panel),td=tu.filter("."+ts.current);tu.removeClass(ts.highest).removeClass(ts.current).not(tn).not(td).not("."+ts.vertical).addClass(ts.hidden),ti[th].support.csstransitions||td.addClass(ts.hidden),tn.hasClass(ts.opened)?tn.nextAll("."+ts.opened).addClass(ts.highest).removeClass(ts.opened).removeClass(ts.subopened):(tn.addClass(ts.highest),td.addClass(ts.subopened)),tn.removeClass(ts.hidden).addClass(ts.current),tl.trigger("openPanel",tn),setTimeout(function(){tn.removeClass(ts.subopened).addClass(ts.opened),tl.trigger("openingPanel",tn),tl.__transitionend(tn,function(){tl.trigger("openedPanel",tn)},tl.conf.transitionDuration)},this.conf.openingInterval)}},closePanel:function(ti){var tn=ti.parent();tn.hasClass(ts.vertical)&&(tn.removeClass(ts.opened),this.trigger("closePanel",ti),this.trigger("closingPanel",ti),this.trigger("closedPanel",ti))},closeAllPanels:function(){this.$menu.find("."+ts.listview).children().removeClass(ts.selected).filter("."+ts.vertical).removeClass(ts.opened);var ti=this.$pnls.children("."+ts.panel).first();this.$pnls.children("."+ts.panel).not(ti).removeClass(ts.subopened).removeClass(ts.opened).removeClass(ts.current).removeClass(ts.highest).addClass(ts.hidden),this.openPanel(ti)},togglePanel:function(ti){var tn=ti.parent();tn.hasClass(ts.vertical)&&this[tn.hasClass(ts.opened)?"closePanel":"openPanel"](ti)},getInstance:function(){return this},bind:function(ti,tn){this.cbck[ti]=this.cbck[ti]||[],this.cbck[ti].push(tn)},trigger:function(){var ti=this,tn=Array.prototype.slice.call(arguments),ts=tn.shift();if(this.cbck[ts])for(var ta=0,tl=this.cbck[ts].length;tl>ta;ta++)this.cbck[ts][ta].apply(ti,tn)},_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(){ti(this).attr("id",ts.mm(ti(this).attr("id")))})),this.$menu.contents().each(function(){3==ti(this)[0].nodeType&&ti(this).remove()}),this.$pnls=ti('<div class="'+ts.panels+'" />').append(this.$menu.children(this.conf.panelNodetype)).prependTo(this.$menu),this.$menu.parent().addClass(ts.wrapper);var tn=[ts.menu];this.opts.slidingSubmenus||tn.push(ts.vertical),this.opts.extensions=this.opts.extensions.length?"mm-"+this.opts.extensions.join(" mm-"):"",this.opts.extensions&&tn.push(this.opts.extensions),this.$menu.addClass(tn.join(" "))},_initPanels:function(tn){var tl=this,tc=this.__findAddBack(tn,"ul, ol");this.__refactorClass(tc,this.conf.classNames.inset,"inset").addClass(ts.nolistview+" "+ts.nopanel),tc.not("."+ts.nolistview).addClass(ts.listview);var th=this.__findAddBack(tn,"."+ts.listview).children();this.__refactorClass(th,this.conf.classNames.selected,"selected"),this.__refactorClass(th,this.conf.classNames.divider,"divider"),this.__refactorClass(th,this.conf.classNames.spacer,"spacer"),this.__refactorClass(this.__findAddBack(tn,"."+this.conf.classNames.panel),this.conf.classNames.panel,"panel");var tu=ti(),td=tn.add(tn.find("."+ts.panel)).add(this.__findAddBack(tn,"."+ts.listview).children().children(this.conf.panelNodetype)).not("."+ts.nopanel);this.__refactorClass(td,this.conf.classNames.vertical,"vertical"),this.opts.slidingSubmenus||td.addClass(ts.vertical),td.each(function(){var tn=ti(this),ta=tn;tn.is("ul, ol")?(tn.wrap('<div class="'+ts.panel+'" />'),ta=tn.parent()):ta.addClass(ts.panel);var tc=tn.attr("id");tn.removeAttr("id"),ta.attr("id",tc||tl.__getUniqueId()),tn.hasClass(ts.vertical)&&(tn.removeClass(tl.conf.classNames.vertical),ta.add(ta.parent()).addClass(ts.vertical)),tu=tu.add(ta)});var tp=ti("."+ts.panel,this.$menu);tu.each(function(tn){var tc,th,tu=ti(this),td=tu.parent(),tp=td.children("a, span").first();if(td.is("."+ts.panels)||(td.data(ta.sub,tu),tu.data(ta.parent,td)),td.children("."+ts.next).length||td.parent().is("."+ts.listview)&&(tc=tu.attr("id"),th=ti('<a class="'+ts.next+'" href="#'+tc+'" data-target="#'+tc+'" />').insertBefore(tp),tp.is("span")&&th.addClass(ts.fullsubopen)),!tu.children("."+ts.navbar).length&&!td.hasClass(ts.vertical)){td=td.parent().is("."+ts.listview)?td.closest("."+ts.panel):(tp=td.closest("."+ts.panel).find('a[href="#'+tu.attr("id")+'"]').first()).closest("."+ts.panel);var tf=!1,tm=ti('<div class="'+ts.navbar+'" />');if(td.length){switch(tc=td.attr("id"),tl.opts.navbar.titleLink){case"anchor":tf=tp.attr("href");break;case"panel":case"parent":tf="#"+tc;break;default:tf=!1}
1tm.append('<a class="'+ts.btn+" "+ts.prev+'" href="#'+tc+'" data-target="#'+tc+'" />').append(ti('<a class="'+ts.title+'"'+(tf?' href="'+tf+'"':"")+" />").text(tp.text())).prependTo(tu),tl.opts.navbar.add&&tu.addClass(ts.hasnavbar)}else tl.opts.navbar.title&&(tm.append('<a class="'+ts.title+'">'+tl.opts.navbar.title+"</a>").prependTo(tu),tl.opts.navbar.add&&tu.addClass(ts.hasnavbar))}});var tf=this.__findAddBack(tn,"."+ts.listview).children("."+ts.selected).removeClass(ts.selected).last().addClass(ts.selected);tf.add(tf.parentsUntil("."+ts.menu,"li")).filter("."+ts.vertical).addClass(ts.opened).end().each(function(){ti(this).parentsUntil("."+ts.menu,"."+ts.panel).not("."+ts.vertical).first().addClass(ts.opened).parentsUntil("."+ts.menu,"."+ts.panel).not("."+ts.vertical).first().addClass(ts.opened).addClass(ts.subopened)}),tf.children("."+ts.panel).not("."+ts.vertical).addClass(ts.opened).parentsUntil("."+ts.menu,"."+ts.panel).not("."+ts.vertical).first().addClass(ts.opened).addClass(ts.subopened);var tm=tp.filter("."+ts.opened);return tm.length||(tm=tu.first()),tm.addClass(ts.opened).last().addClass(ts.current),tu.not("."+ts.vertical).not(tm.last()).addClass(ts.hidden).end().filter(function(){return!ti(this).parent().hasClass(ts.panels)}).appendTo(this.$pnls),tu},_initAnchors:function(){var tn=this;tc.$body.on(tl.click+"-oncanvas","a[href]",function(ta){var tl=ti(this),tc=!1,tu=tn.$menu.find(tl).length;for(var td in ti[th].addons)if(ti[th].addons[td].clickAnchor.call(tn,tl,tu)){tc=!0;break}var tp=tl.attr("href");if(!tc&&tu&&tp.length>1&&"#"==tp.slice(0,1))try{var tf=ti(tp,tn.$menu);tf.is("."+ts.panel)&&(tc=!0,tn[tl.parent().hasClass(ts.vertical)?"togglePanel":"openPanel"](tf))}catch(ti){}if(tc&&ta.preventDefault(),!tc&&tu&&tl.is("."+ts.listview+" > li > a")&&!tl.is('[rel="external"]')&&!tl.is('[target="_blank"]')){tn.__valueOrFn(tn.opts.onClick.setSelected,tl)&&tn.setSelected(ti(ta.target).parent());var tm=tn.__valueOrFn(tn.opts.onClick.preventDefault,tl,"#"==tp.slice(0,1));tm&&ta.preventDefault(),tn.__valueOrFn(tn.opts.onClick.close,tl,tm)&&tn.close()}})},_initAddons:function(){var tn;for(tn in ti[th].addons)ti[th].addons[tn].add.call(this),ti[th].addons[tn].add=function(){};for(tn in ti[th].addons)ti[th].addons[tn].setup.call(this)},_getOriginalMenuId:function(){var ti=this.$menu.attr("id");return ti&&ti.length&&this.conf.clone&&(ti=ts.umm(ti)),ti},__api:function(){var tn=this,ts={};return ti.each(this._api,function(ti){var ta=this;ts[ta]=function(){var ti=tn[ta].apply(tn,arguments);return void 0===ti?ts:ti}}),ts},__valueOrFn:function(ti,tn,ts){return"function"==typeof ti?ti.call(tn[0]):void 0===ti&&void 0!==ts?ts:ti},__refactorClass:function(ti,tn,ta){return ti.filter("."+tn).removeClass(tn).addClass(ts[ta])},__findAddBack:function(ti,tn){return ti.find(tn).add(ti.filter(tn))},__filterListItems:function(ti){return ti.not("."+ts.divider).not("."+ts.hidden)},__transitionend:function(ti,tn,ts){var ta=!1,tc=function(){ta||tn.call(ti[0]),ta=!0};ti.one(tl.transitionend,tc),ti.one(tl.webkitTransitionEnd,tc),setTimeout(tc,1.1*ts)},__getUniqueId:function(){return ts.mm(ti[th].uniqueId++)}},ti.fn[th]=function(ts,ta){return tn(),ts=ti.extend(!0,{},ti[th].defaults,ts),ta=ti.extend(!0,{},ti[th].configuration,ta),this.each(function(){var tn=ti(this);if(!tn.data(th)){var tl=new ti[th](tn,ts,ta);tl.$menu.data(th,tl.__api())}})},ti[th].support={touch:"ontouchstart"in window||navigator.msMaxTouchPoints||!1,csstransitions:function(){if("undefined"!=typeof Modernizr&&void 0!==Modernizr.csstransitions)return Modernizr.csstransitions;var ti=(document.body||document.documentElement).style,tn="transition";if("string"==typeof ti[tn])return!0;var ts=["Moz","webkit","Webkit","Khtml","O","ms"];tn=tn.charAt(0).toUpperCase()+tn.substr(1);for(var ta=0;ta<ts.length;ta++)if("string"==typeof ti[ts[ta]+tn])return!0;return!1}()})}(jQuery),function(ti){var tn,ts,ta,tl,tc="mmenu",th="offCanvas";ti[tc].addons[th]={setup:function(){if(this.opts[th]){var ts=this.opts[th],ta=this.conf[th];tl=ti[tc].glbl,this._api=ti.merge(this._api,["open","close","setPage"]),("top"==ts.position||"bottom"==ts.position)&&(ts.zposition="front"),"string"!=typeof ta.pageSelector&&(ta.pageSelector="> "+ta.pageNodetype),tl.$allMenus=(tl.$allMenus||ti()).add(this.$menu),this.vars.opened=!1;var tu=[tn.offcanvas];"left"!=ts.position&&tu.push(tn.mm(ts.position)),"back"!=ts.zposition&&tu.push(tn.mm(ts.zposition)),this.$menu.addClass(tu.join(" ")).parent().removeClass(tn.wrapper),this.setPage(tl.$page),this._initBlocker(),this["_initWindow_"+th](),this.$menu[ta.menuInjectMethod+"To"](ta.menuWrapperSelector);var td=window.location.hash;if(td){var tp=this._getOriginalMenuId();tp&&tp==td.slice(1)&&this.open()}}},add:function(){tn=ti[tc]._c,ts=ti[tc]._d,ta=ti[tc]._e,tn.add("offcanvas slideout blocking modal background opening blocker page"),ts.add("style"),ta.add("resize")},clickAnchor:function(ti,tn){if(!this.opts[th])return!1;var ts=this._getOriginalMenuId();return ts&&ti.is('[href="#'+ts+'"]')?(this.open(),!0):tl.$page?!!((ts=tl.$page.first().attr("id"))&&ti.is('[href="#'+ts+'"]'))&&(this.close(),!0):void 0}},ti[tc].defaults[th]={position:"left",zposition:"back",blockUI:!0,moveBackgroun
1d:!0},ti[tc].configuration[th]={pageNodetype:"div",pageSelector:null,noPageSelector:[],wrapPageIfNeeded:!0,menuWrapperSelector:"body",menuInjectMethod:"prepend"},ti[tc].prototype.open=function(){if(!this.vars.opened){var ti=this;this._openSetup(),setTimeout(function(){ti._openFinish()},this.conf.openingInterval),this.trigger("open")}},ti[tc].prototype._openSetup=function(){var tc=this,tu=this.opts[th];this.closeAllOthers(),tl.$page.each(function(){ti(this).data(ts.style,ti(this).attr("style")||"")}),tl.$wndw.trigger(ta.resize+"-"+th,[!0]);var td=[tn.opened];tu.blockUI&&td.push(tn.blocking),"modal"==tu.blockUI&&td.push(tn.modal),tu.moveBackground&&td.push(tn.background),"left"!=tu.position&&td.push(tn.mm(this.opts[th].position)),"back"!=tu.zposition&&td.push(tn.mm(this.opts[th].zposition)),this.opts.extensions&&td.push(this.opts.extensions),tl.$html.addClass(td.join(" ")),setTimeout(function(){tc.vars.opened=!0},this.conf.openingInterval),this.$menu.addClass(tn.current+" "+tn.opened)},ti[tc].prototype._openFinish=function(){var ti=this;this.__transitionend(tl.$page.first(),function(){ti.trigger("opened")},this.conf.transitionDuration),tl.$html.addClass(tn.opening),this.trigger("opening")},ti[tc].prototype.close=function(){if(this.vars.opened){var ta=this;this.__transitionend(tl.$page.first(),function(){ta.$menu.removeClass(tn.current).removeClass(tn.opened),tl.$html.removeClass(tn.opened).removeClass(tn.blocking).removeClass(tn.modal).removeClass(tn.background).removeClass(tn.mm(ta.opts[th].position)).removeClass(tn.mm(ta.opts[th].zposition)),ta.opts.extensions&&tl.$html.removeClass(ta.opts.extensions),tl.$page.each(function(){ti(this).attr("style",ti(this).data(ts.style))}),ta.vars.opened=!1,ta.trigger("closed")},this.conf.transitionDuration),tl.$html.removeClass(tn.opening),this.trigger("close"),this.trigger("closing")}},ti[tc].prototype.closeAllOthers=function(){tl.$allMenus.not(this.$menu).each(function(){var tn=ti(this).data(tc);tn&&tn.close&&tn.close()})},ti[tc].prototype.setPage=function(ts){var ta=this,tc=this.conf[th];ts&&ts.length||(ts=tl.$body.find(tc.pageSelector),tc.noPageSelector.length&&(ts=ts.not(tc.noPageSelector.join(", "))),ts.length>1&&tc.wrapPageIfNeeded&&(ts=ts.wrapAll("<"+this.conf[th].pageNodetype+" />").parent())),ts.each(function(){ti(this).attr("id",ti(this).attr("id")||ta.__getUniqueId())}),ts.addClass(tn.page+" "+tn.slideout),tl.$page=ts,this.trigger("setPage",ts)},ti[tc].prototype["_initWindow_"+th]=function(){tl.$wndw.off(ta.keydown+"-"+th).on(ta.keydown+"-"+th,function(ti){return tl.$html.hasClass(tn.opened)&&9==ti.keyCode?(ti.preventDefault(),!1):void 0});var ti=0;tl.$wndw.off(ta.resize+"-"+th).on(ta.resize+"-"+th,function(ts,ta){if(1==tl.$page.length&&(ta||tl.$html.hasClass(tn.opened))){var tc=tl.$wndw.height();(ta||tc!=ti)&&(ti=tc,tl.$page.css("minHeight",tc))}})},ti[tc].prototype._initBlocker=function(){var ts=this;this.opts[th].blockUI&&(tl.$blck||(tl.$blck=ti('<div id="'+tn.blocker+'" class="'+tn.slideout+'" />')),tl.$blck.appendTo(tl.$body).off(ta.touchstart+"-"+th+" "+ta.touchmove+"-"+th).on(ta.touchstart+"-"+th+" "+ta.touchmove+"-"+th,function(ti){ti.preventDefault(),ti.stopPropagation(),tl.$blck.trigger(ta.mousedown+"-"+th)}).off(ta.mousedown+"-"+th).on(ta.mousedown+"-"+th,function(ti){ti.preventDefault(),tl.$html.hasClass(tn.modal)||(ts.closeAllOthers(),ts.close())}))}}(jQuery),function(ti){var tn,ts,ta,tl,tc="mmenu",th="scrollBugFix";ti[tc].addons[th]={setup:function(){var ts=this,tu=this.opts[th];if(this.conf[th],tl=ti[tc].glbl,ti[tc].support.touch&&this.opts.offCanvas&&this.opts.offCanvas.blockUI&&("boolean"==typeof tu&&(tu={fix:tu}),"object"!=typeof tu&&(tu={}),(tu=this.opts[th]=ti.extend(!0,{},ti[tc].defaults[th],tu)).fix)){var td=this.$menu.attr("id"),tp=!1;this.bind("opening",function(){this.$pnls.children("."+tn.current).scrollTop(0)}),tl.$docu.on(ta.touchmove,function(ti){ts.vars.opened&&ti.preventDefault()}),tl.$body.on(ta.touchstart,"#"+td+"> ."+tn.panels+"> ."+tn.current,function(ti){ts.vars.opened&&(tp||(tp=!0,0===ti.currentTarget.scrollTop?ti.currentTarget.scrollTop=1:ti.currentTarget.scrollHeight===ti.currentTarget.scrollTop+ti.currentTarget.offsetHeight&&(ti.currentTarget.scrollTop-=1),tp=!1))}).on(ta.touchmove,"#"+td+"> ."+tn.panels+"> ."+tn.current,function(tn){ts.vars.opened&&ti(this)[0].scrollHeight>ti(this).innerHeight()&&tn.stopPropagation()}),tl.$wndw.on(ta.orientationchange,function(){ts.$pnls.children("."+tn.current).scrollTop(0).css({"-webkit-overflow-scrolling":"auto"}).css({"-webkit-overflow-scrolling":"touch"})})}},add:function(){tn=ti[tc]._c,ts=ti[tc]._d,ta=ti[tc]._e},clickAnchor:function(ti,tn){}},ti[tc].defaults[th]={fix:!0}}(jQuery),function(ti){var tn,ts,ta,tl,tc="mmenu",th="autoHeight";ti[tc].addons[th]={setup:function(){if(this.opts.offCanvas){var ts=this.opts[th];if(this.conf[th],tl=ti[tc].glbl,"boolean"==typeof ts&&ts&&(ts={height:"auto"}),"string"==typeof ts&&(ts={height:ts}),"object"!=typeof ts&&(ts={}),"auto"==(ts=this.opts[th]=ti.extend(!0,{},ti[tc].defaults[th],ts)).height||"highest"==ts.height){this.$menu.addClass(tn.autoheight);var ta=function(ta){if(this.vars.opened){var tl=parseInt(this.$pnls.css("top"),10)||0,tc=parseInt(this.$pnls.css("bottom"),10)||0,th=0;this.$menu.addClass(tn.measureheight),"auto"==ts.height?((ta=ta||this.$pnls.children("."+tn.current)).is("."+tn.vertical)&&(ta=ta.parents("."+tn.panel).not("."+tn.vertical).first()),th=ta.outerHeight()):"highest"==ts.height&&this.$pnls.children().each(function(){var ts=ti(this);
1ts.is("."+tn.vertical)&&(ts=ts.parents("."+tn.panel).not("."+tn.vertical).first()),th=Math.max(th,ts.outerHeight())}),this.$menu.height(th+tl+tc).removeClass(tn.measureheight)}};this.bind("opening",ta),"highest"==ts.height&&this.bind("init",ta),"auto"==ts.height&&(this.bind("update",ta),this.bind("openPanel",ta),this.bind("closePanel",ta))}}},add:function(){tn=ti[tc]._c,ts=ti[tc]._d,ta=ti[tc]._e,tn.add("autoheight measureheight"),ta.add("resize")},clickAnchor:function(ti,tn){}},ti[tc].defaults[th]={height:"default"}}(jQuery),function(ti){var tn,ts,ta,tl,tc="mmenu",th="backButton";ti[tc].addons[th]={setup:function(){if(this.opts.offCanvas){var ts=this,ta=this.opts[th];if(this.conf[th],tl=ti[tc].glbl,"boolean"==typeof ta&&(ta={close:ta}),"object"!=typeof ta&&(ta={}),(ta=ti.extend(!0,{},ti[tc].defaults[th],ta)).close){var tu="#"+ts.$menu.attr("id");this.bind("opened",function(ti){location.hash!=tu&&history.pushState(null,document.title,tu)}),ti(window).on("popstate",function(ti){tl.$html.hasClass(tn.opened)?(ti.stopPropagation(),ts.close()):location.hash==tu&&(ti.stopPropagation(),ts.open())})}}},add:function(){return window.history&&window.history.pushState?(tn=ti[tc]._c,ts=ti[tc]._d,void(ta=ti[tc]._e)):void(ti[tc].addons[th].setup=function(){})},clickAnchor:function(ti,tn){}},ti[tc].defaults[th]={close:!1}}(jQuery),function(ti){var tn,ts,ta,tl,tc="mmenu",th="columns";ti[tc].addons[th]={setup:function(){var ts=this.opts[th];if(this.conf[th],tl=ti[tc].glbl,"boolean"==typeof ts&&(ts={add:ts}),"number"==typeof ts&&(ts={add:!0,visible:ts}),"object"!=typeof ts&&(ts={}),"number"==typeof ts.visible&&(ts.visible={min:ts.visible,max:ts.visible}),(ts=this.opts[th]=ti.extend(!0,{},ti[tc].defaults[th],ts)).add){ts.visible.min=Math.max(1,Math.min(6,ts.visible.min)),ts.visible.max=Math.max(ts.visible.min,Math.min(6,ts.visible.max)),this.$menu.addClass(tn.columns);for(var ta=this.opts.offCanvas?this.$menu.add(tl.$html):this.$menu,tu=[],td=0;td<=ts.visible.max;td++)tu.push(tn.columns+"-"+td);tu=tu.join(" ");var tp=function(ti){tg.call(this,this.$pnls.children("."+tn.current)),ts.hideNavbars&&ti.removeClass(tn.hasnavbar)},tf=function(){var ti=this.$pnls.children("."+tn.panel).filter("."+tn.opened).length;ti=Math.min(ts.visible.max,Math.max(ts.visible.min,ti)),ta.removeClass(tu).addClass(tn.columns+"-"+ti)},tm=function(){this.opts.offCanvas&&tl.$html.removeClass(tu)},tg=function(ta){this.$pnls.children("."+tn.panel).removeClass(tu).filter("."+tn.subopened).removeClass(tn.hidden).add(ta).slice(-ts.visible.max).each(function(ts){ti(this).addClass(tn.columns+"-"+ts)})};this.bind("open",tf),this.bind("close",tm),this.bind("init",tp),this.bind("openPanel",tg),this.bind("openingPanel",tf),this.bind("openedPanel",tf),this.opts.offCanvas||tf.call(this)}},add:function(){tn=ti[tc]._c,ts=ti[tc]._d,ta=ti[tc]._e,tn.add("columns")},clickAnchor:function(ts,ta){if(!this.opts[th].add)return!1;if(ta){var tl=ts.attr("href");if(tl.length>1&&"#"==tl.slice(0,1))try{if(ti(tl,this.$menu).is("."+tn.panel))for(var tc=parseInt(ts.closest("."+tn.panel).attr("class").split(tn.columns+"-")[1].split(" ")[0],10)+1;!1!==tc;){var tu=this.$pnls.children("."+tn.columns+"-"+tc);if(!tu.length){tc=!1;break}tc++,tu.removeClass(tn.subopened).removeClass(tn.opened).removeClass(tn.current).removeClass(tn.highest).addClass(tn.hidden)}}catch(ti){}}}},ti[tc].defaults[th]={add:!1,visible:{min:1,max:3},hideNavbars:!1}}(jQuery),function(ti){var tn,ts,ta,tl,tc="mmenu",th="counters";ti[tc].addons[th]={setup:function(){var ta=this,tu=this.opts[th];this.conf[th],tl=ti[tc].glbl,"boolean"==typeof tu&&(tu={add:tu,update:tu}),"object"!=typeof tu&&(tu={}),tu=this.opts[th]=ti.extend(!0,{},ti[tc].defaults[th],tu),this.bind("init",function(tn){this.__refactorClass(ti("em",tn),this.conf.classNames[th].counter,"counter")}),tu.add&&this.bind("init",function(ta){var tl;(tl="panels"===tu.addTo?ta:ta.filter(tu.addTo)).each(function(){var ta=ti(this).data(ts.parent);ta&&(ta.children("em."+tn.counter).length||ta.prepend(ti('<em class="'+tn.counter+'" />')))})}),tu.update&&this.bind("update",function(){this.$pnls.children("."+tn.panel).each(function(){var tl=ti(this),tc=tl.data(ts.parent);if(tc){var th=tc.children("em."+tn.counter);th.length&&(tl=tl.children("."+tn.listview)).length&&th.html(ta.__filterListItems(tl.children()).length)}})})},add:function(){tn=ti[tc]._c,ts=ti[tc]._d,ta=ti[tc]._e,tn.add("counter search noresultsmsg")},clickAnchor:function(ti,tn){}},ti[tc].defaults[th]={add:!1,addTo:"panels",update:!1},ti[tc].configuration.classNames[th]={counter:"Counter"}}(jQuery),function(ti){var tn,ts,ta,tl,tc="mmenu",th="dividers";ti[tc].addons[th]={setup:function(){var ts=this,tu=this.opts[th];if(this.conf[th],tl=ti[tc].glbl,"boolean"==typeof tu&&(tu={add:tu,fixed:tu}),"object"!=typeof tu&&(tu={}),tu=this.opts[th]=ti.extend(!0,{},ti[tc].defaults[th],tu),this.bind("init",function(tn){this.__refactorClass(ti("li",this.$menu),this.conf.classNames[th].collapsed,"collapsed")}),tu.add&&this.bind("init",function(ta){var tl;tl="panels"===tu.addTo?ta:ta.filter(tu.addTo),ti("."+tn.divider,tl).remove(),tl.find("."+tn.listview).not("."+tn.vertical).each(function(){var ta="";ts.__filterListItems(ti(this).children()).each(function(){var ts=ti.trim(ti(this).children("a, span").text()).slice(0,1).toLowerCase();ts!=ta&&ts.length&&(ta=ts,ti('<li class="'+tn.divider+'">'+ts+"</li>").insertBefore(this))})})}),tu.collapse&&this.bind("init",function(ts){ti("."+tn.divider,ts).each(function(){var ts=ti(this);
1ts.nextUntil("."+tn.divider,"."+tn.collapsed).length&&(ts.children("."+tn.subopen).length||(ts.wrapInner("<span />"),ts.prepend('<a href="#" class="'+tn.subopen+" "+tn.fullsubopen+'" />')))})}),tu.fixed){var td=function(ts){if((ts=ts||this.$pnls.children("."+tn.current)).find("."+tn.divider).not("."+tn.hidden).length){this.$menu.addClass(tn.hasdividers);var ta=ts.scrollTop()||0,tl="";ts.is(":visible")&&ts.find("."+tn.divider).not("."+tn.hidden).each(function(){ti(this).position().top+ta<ta+1&&(tl=ti(this).text())}),this.$fixeddivider.text(tl)}else this.$menu.removeClass(tn.hasdividers)};this.$fixeddivider=ti('<ul class="'+tn.listview+" "+tn.fixeddivider+'"><li class="'+tn.divider+'"></li></ul>').prependTo(this.$pnls).children(),this.bind("openPanel",td),this.bind("update",td),this.bind("init",function(tn){tn.off(ta.scroll+"-dividers "+ta.touchmove+"-dividers").on(ta.scroll+"-dividers "+ta.touchmove+"-dividers",function(tn){td.call(ts,ti(this))})})}},add:function(){tn=ti[tc]._c,ts=ti[tc]._d,ta=ti[tc]._e,tn.add("collapsed uncollapsed fixeddivider hasdividers"),ta.add("scroll")},clickAnchor:function(ti,ts){if(this.opts[th].collapse&&ts){var ta=ti.parent();if(ta.is("."+tn.divider)){var tl=ta.nextUntil("."+tn.divider,"."+tn.collapsed);return ta.toggleClass(tn.opened),tl[ta.hasClass(tn.opened)?"addClass":"removeClass"](tn.uncollapsed),!0}}return!1}},ti[tc].defaults[th]={add:!1,addTo:"panels",fixed:!1,collapse:!1},ti[tc].configuration.classNames[th]={collapsed:"Collapsed"}}(jQuery),function(ti){function tn(ti,tn,ts){return tn>ti&&(ti=tn),ti>ts&&(ti=ts),ti}var ts,ta,tl,tc,th="mmenu",tu="dragOpen";ti[th].addons[tu]={setup:function(){if(this.opts.offCanvas){var ta=this,tl=this.opts[tu],td=this.conf[tu];if(tc=ti[th].glbl,"boolean"==typeof tl&&(tl={open:tl}),"object"!=typeof tl&&(tl={}),(tl=this.opts[tu]=ti.extend(!0,{},ti[th].defaults[tu],tl)).open){var tp,tf,tm,tg,tv,ty={},t_=0,tb=!1,tw=!1,tx=0,tT=0;switch(this.opts.offCanvas.position){case"left":case"right":ty.events="panleft panright",ty.typeLower="x",ty.typeUpper="X",tw="width";break;case"top":case"bottom":ty.events="panup pandown",ty.typeLower="y",ty.typeUpper="Y",tw="height"}switch(this.opts.offCanvas.position){case"right":case"bottom":ty.negative=!0,tg=function(ti){ti>=tc.$wndw[tw]()-tl.maxStartPos&&(t_=1)};break;default:ty.negative=!1,tg=function(ti){ti<=tl.maxStartPos&&(t_=1)}}switch(this.opts.offCanvas.position){case"left":ty.open_dir="right",ty.close_dir="left";break;case"right":ty.open_dir="left",ty.close_dir="right";break;case"top":ty.open_dir="down",ty.close_dir="up";break;case"bottom":ty.open_dir="up",ty.close_dir="down"}tv="front"===this.opts.offCanvas.zposition?function(){return this.$menu}:function(){return ti("."+ts.slideout)};var tk=this.__valueOrFn(tl.pageNode,this.$menu,tc.$page);"string"==typeof tk&&(tk=ti(tk)),new Hammer(tk[0],tl.vendors.hammer).on("panstart",function(ti){tg(ti.center[ty.typeLower]),tc.$slideOutNodes=tv(),tb=ty.open_dir}).on(ty.events+" panend",function(ti){t_>0&&ti.preventDefault()}).on(ty.events,function(ti){if(tp=ti["delta"+ty.typeUpper],ty.negative&&(tp=-tp),tp!=tx&&(tb=tp>=tx?ty.open_dir:ty.close_dir),(tx=tp)>tl.threshold&&1==t_){if(tc.$html.hasClass(ts.opened))return;t_=2,ta._openSetup(),ta.trigger("opening"),tc.$html.addClass(ts.dragging),tT=tn(tc.$wndw[tw]()*td[tw].perc,td[tw].min,td[tw].max)}2==t_&&(tf=tn(tx,10,tT)-("front"==ta.opts.offCanvas.zposition?tT:0),ty.negative&&(tf=-tf),tm="translate"+ty.typeUpper+"("+tf+"px )",tc.$slideOutNodes.css({"-webkit-transform":"-webkit-"+tm,transform:tm}))}).on("panend",function(ti){2==t_&&(tc.$html.removeClass(ts.dragging),tc.$slideOutNodes.css("transform",""),ta[tb==ty.open_dir?"_openFinish":"close"]()),t_=0})}}},add:function(){return"function"!=typeof Hammer||Hammer.VERSION<2?void(ti[th].addons[tu].setup=function(){}):(ts=ti[th]._c,ta=ti[th]._d,tl=ti[th]._e,void ts.add("dragging"))},clickAnchor:function(ti,tn){}},ti[th].defaults[tu]={open:!1,maxStartPos:100,threshold:50,vendors:{hammer:{}}},ti[th].configuration[tu]={width:{perc:.8,min:140,max:440},height:{perc:.8,min:140,max:880}}}(jQuery),function(ti){var tn,ts,ta,tl,tc="mmenu",th="dropdown";ti[tc].addons[th]={setup:function(){if(this.opts.offCanvas){var tu=this,td=this.opts[th],tp=this.conf[th];if(tl=ti[tc].glbl,"boolean"==typeof td&&td&&(td={drop:td}),"object"!=typeof td&&(td={}),"string"==typeof td.position&&(td.position={of:td.position}),(td=this.opts[th]=ti.extend(!0,{},ti[tc].defaults[th],td)).drop){if("string"!=typeof td.position.of){var tf=this.$menu.attr("id");tf&&tf.length&&(this.conf.clone&&(tf=tn.umm(tf)),td.position.of='[href="#'+tf+'"]')}if("string"==typeof td.position.of){var tm=ti(td.position.of);if(tm.length){this.$menu.addClass(tn.dropdown),td.tip&&this.$menu.addClass(tn.tip),td.event=td.event.split(" "),1==td.event.length&&(td.event[1]=td.event[0]),"hover"==td.event[0]&&tm.on(ta.mouseenter+"-dropdown",function(){tu.open()}),"hover"==td.event[1]&&this.$menu.on(ta.mouseleave+"-dropdown",function(){tu.close()}),this.bind("opening",function(){this.$menu.data(ts.style,this.$menu.attr("style")||""),tl.$html.addClass(tn.dropdown)}),this.bind("closed",function(){this.$menu.attr("style",this.$menu.data(ts.style)),tl.$html.removeClass(tn.dropdown)});var tg=function(ts,ta){var tu,tf,tg=ta[0],tv=ta[1],ty="x"==ts?"scrollLeft":"scrollTop",t_="x"==ts?"outerWidth":"outerHeight",tb="x"==ts?"left":"top",tw="x"==ts?"right":"bottom",tx="x"==ts?"width":"height",tT="x"==ts?"maxWidth":"maxHeight",tk=null,tC=tl.$wndw[ty](),tj=tm.offset()[tb]-=tC,tS=tj+tm[t_](),tE=tl.$wndw[tx](),tP=tp.offset.button[ts]+tp.offset.viewport[ts];if(td.position[ts])switch(td.position[ts]){case"left":case"bottom":tk="after";break;case"right":case"top":tk="before"}return null===tk&&(tk=tE/2>tj+(tS-tj)/2?"after":"before"),"after"==tk?(tf=tE-((tu="x"==ts?tj:tS)+tP),tg[tb]=tu+tp.offset.button[ts],tg[tw]="auto",tv.push(tn["x"==ts?"tipleft":"tiptop"])):(tf=(tu="x"==ts?tS:tj)-tP,tg[tw]="calc( 100% - "+(tu-tp.offset.button[ts])+"px )",tg[tb]="auto",tv.push(tn["x"==ts?"tipright":"tipbottom"])),tg[tT]=Math.min(ti[tc].configuration[th][tx].max,tf),[tg,tv]},tv=function(ti){if(this.vars.opened){this.$menu.attr("style",this.$menu.data(ts.style));var ta=[{},[]];ta=tg.call(this,"y",ta),ta=tg.call(this,"x",ta),this.$menu.css(ta[0]),td.tip&&this.$menu.removeClass(tn.tipleft+" "+tn.tipright+" "+tn.tiptop+" "+tn.tipbottom).addClass(ta[1].join(" "))}};this.bind("opening",tv),tl.$wndw.on(ta.resize+"-dropdown",function(ti){tv.call(tu)}),this.opts.offCanvas.blockUI||tl.$wndw.on(ta.scroll+"-dropdown",function(ti){tv.call(tu)})}}}}},add:function(){tn=ti[tc]._c,ts=ti[tc]._d,ta=ti[tc]._e,tn.add("dropdown tip tipleft tipright tiptop tipbottom"),ta.add("mouseenter mouseleave resize scroll")},clickAnchor:function(ti,tn){}},ti[tc].defaults[th]={drop:!1,event:"click",position:{},tip:!0},ti[tc].configuration[th]={offset:{button:{x:-10,y:10},viewport:{x:20,y:20}},height:{max:880},width:{max:440}}}(jQuery),function(ti){var tn,ts,ta,tl,tc="mmenu",th="fixedElements";ti[tc].addons[th]={setup:function(){if(this.opts.offCanvas){var tn=this.opts[th];this.conf[th],tl=ti[tc].glbl,tn=this.opts[th]=ti.extend(!0,{},ti[tc].defaults[th],tn);var ts=function(ti){var tn=this.conf.classNames[th].fixed;this.__refactorClass(ti.find("."+tn),tn,"slideout").appendTo(tl.$body)};ts.call(this,tl.$page),this.bind("setPage",ts)}},add:function(){tn=ti[tc]._c,ts=ti[tc]._d,ta=ti[tc]._e,tn.add("fixed")},clickAnchor:function(ti,tn){}},ti[tc].configuration.classNames[th]={fixed:"Fixed"}}(jQuery),function(ti){var tn,ts,ta,tl,tc="mmenu",th="iconPanels";ti[tc].addons[th]={setup:function(){var ts=this,ta=this.opts[th];if(this.conf[th],tl=ti[tc].glbl,"boolean"==typeof ta&&(ta={add:ta}),"number"==typeof ta&&(ta={add:!0,visible:ta}),"object"!=typeof ta&&(ta={}),ta=this.opts[th]=ti.extend(!0,{},ti[tc].defaults[th],ta),ta.visible++,ta.add){this.$menu.addClass(tn.iconpanel);for(var tu=[],td=0;td<=ta.visible;td++)tu.push(tn.iconpanel+"-"+td);tu=tu.join(" ");var tp=function(tl){tl.hasClass(tn.vertical)||ts.$pnls.children("."+tn.panel).removeClass(tu).filter("."+tn.subopened).removeClass(tn.hidden).add(tl).not("."+tn.vertical).slice(-ta.visible).each(function(ts){ti(this).addClass(tn.iconpanel+"-"+ts)})};this.bind("openPanel",tp),this.bind("init",function(tl){tp.call(ts,ts.$pnls.children("."+tn.current)),ta.hideNavbars&&tl.removeClass(tn.hasnavbar),tl.not("."+tn.vertical).each(function(){ti(this).children("."+tn.subblocker).length||ti(this).prepend('<a href="#'+ti(this).closest("."+tn.panel).attr("id")+'" class="'+tn.subblocker+'" />')})})}},add:function(){tn=ti[tc]._c,ts=ti[tc]._d,ta=ti[tc]._e,tn.add("iconpanel subblocker")},clickAnchor:function(ti,tn){}},ti[tc].defaults[th]={add:!1,visible:3,hideNavbars:!1}}(jQuery),function(ti){var tn,ts,ta,tl,tc="mmenu",th="navbars";ti[tc].addons[th]={setup:function(){var ts=this,ta=this.opts[th],tu=this.conf[th];if(tl=ti[tc].glbl,void 0!==ta){ta instanceof Array||(ta=[ta]);var td={};for(var tp in ti.each(ta,function(tl){var tp=ta[tl];"boolean"==typeof tp&&tp&&(tp={}),"object"!=typeof tp&&(tp={}),void 0===tp.content&&(tp.content=["prev","title"]),tp.content instanceof Array||(tp.content=[tp.content]);var tf=(tp=ti.extend(!0,{},ts.opts.navbar,tp)).position,tm=tp.height;"number"!=typeof tm&&(tm=1),tm=Math.min(4,Math.max(1,tm)),"bottom"!=tf&&(tf="top"),td[tf]||(td[tf]=0),td[tf]++;var tg=ti("<div />").addClass(tn.navbar+" "+tn.navbar+"-"+tf+" "+tn.navbar+"-"+tf+"-"+td[tf]+" "+tn.navbar+"-size-"+tm);td[tf]+=tm-1;for(var tv=0,ty=0,t_=tp.content.length;t_>ty;
1ty++){var tb=ti[tc].addons[th][tp.content[ty]]||!1;tb?tv+=tb.call(ts,tg,tp,tu):((tb=tp.content[ty])instanceof ti||(tb=ti(tp.content[ty])),tg.append(tb))}(tv+=Math.ceil(tg.children().not("."+tn.btn).not("."+tn.title+"-prev").length/tm))>1&&tg.addClass(tn.navbar+"-content-"+tv),tg.children("."+tn.btn).length&&tg.addClass(tn.hasbtns),tg.prependTo(ts.$menu)}),td)ts.$menu.addClass(tn.hasnavbar+"-"+tp+"-"+td[tp])}},add:function(){tn=ti[tc]._c,ts=ti[tc]._d,ta=ti[tc]._e,tn.add("close hasbtns")},clickAnchor:function(ti,tn){}},ti[tc].configuration[th]={breadcrumbSeparator:"/"},ti[tc].configuration.classNames[th]={}}(jQuery),function(ti){var tn="mmenu",ts="navbars",ta="breadcrumbs";ti[tn].addons[ts][ta]=function(ts,ta,tl){var tc=ti[tn]._c,th=ti[tn]._d;tc.add("breadcrumbs separator");var tu=ti('<span class="'+tc.breadcrumbs+'" />').appendTo(ts);this.bind("init",function(tn){tn.removeClass(tc.hasnavbar).each(function(){for(var tn=[],ts=ti(this),ta=ti('<span class="'+tc.breadcrumbs+'"></span>'),tu=ti(this).children().first(),td=!0;tu&&tu.length;){tu.is("."+tc.panel)||(tu=tu.closest("."+tc.panel));var tp=tu.children("."+tc.navbar).children("."+tc.title).text();tn.unshift(td?"<span>"+tp+"</span>":'<a href="#'+tu.attr("id")+'">'+tp+"</a>"),td=!1,tu=tu.data(th.parent)}ta.append(tn.join('<span class="'+tc.separator+'">'+tl.breadcrumbSeparator+"</span>")).appendTo(ts.children("."+tc.navbar))})});var td=function(){tu.html(this.$pnls.children("."+tc.current).children("."+tc.navbar).children("."+tc.breadcrumbs).html())};return this.bind("openPanel",td),this.bind("init",td),0}}(jQuery),function(ti){var tn="mmenu",ts="navbars",ta="close";ti[tn].addons[ts][ta]=function(ts,ta){var tl=ti[tn]._c,tc=ti[tn].glbl,th=ti('<a class="'+tl.close+" "+tl.btn+'" href="#" />').appendTo(ts),tu=function(ti){th.attr("href","#"+ti.attr("id"))};return tu.call(this,tc.$page),this.bind("setPage",tu),-1}}(jQuery),function(ti){var tn="mmenu",ts="navbars",ta="next";ti[tn].addons[ts][ta]=function(ta,tl){var tc,th,tu=ti[tn]._c,td=ti('<a class="'+tu.next+" "+tu.btn+'" href="#" />').appendTo(ta),tp=function(ti){var tn=(ti=ti||this.$pnls.children("."+tu.current)).find("."+this.conf.classNames[ts].panelNext);tc=tn.attr("href"),th=tn.html(),td[tc?"attr":"removeAttr"]("href",tc),td[tc||th?"removeClass":"addClass"](tu.hidden),td.html(th)};return this.bind("openPanel",tp),this.bind("init",function(){tp.call(this)}),-1},ti[tn].configuration.classNames[ts].panelNext="Next"}(jQuery),function(ti){var tn="mmenu",ts="navbars",ta="prev";ti[tn].addons[ts][ta]=function(ta,tl){var tc=ti[tn]._c,th=ti('<a class="'+tc.prev+" "+tc.btn+'" href="#" />').appendTo(ta);this.bind("init",function(ti){ti.removeClass(tc.hasnavbar).children("."+tc.navbar).addClass(tc.hidden)});var tu,td,tp=function(ti){if(!(ti=ti||this.$pnls.children("."+tc.current)).hasClass(tc.vertical)){var tn=ti.find("."+this.conf.classNames[ts].panelPrev);tn.length||(tn=ti.children("."+tc.navbar).children("."+tc.prev)),tu=tn.attr("href"),td=tn.html(),th[tu?"attr":"removeAttr"]("href",tu),th[tu||td?"removeClass":"addClass"](tc.hidden),th.html(td)}};return this.bind("openPanel",tp),this.bind("init",function(){tp.call(this)}),-1},ti[tn].configuration.classNames[ts].panelPrev="Prev"}(jQuery),function(ti){var tn="mmenu",ts="navbars",ta="searchfield";ti[tn].addons[ts][ta]=function(ts,ta){var tl=ti[tn]._c,tc=ti('<div class="'+tl.search+'" />').appendTo(ts);return"object"!=typeof this.opts.searchfield&&(this.opts.searchfield={}),this.opts.searchfield.add=!0,this.opts.searchfield.addTo=tc,0}}(jQuery),function(ti){var tn="mmenu",ts="navbars",ta="title";ti[tn].addons[ts][ta]=function(ta,tl){var tc,th,tu=ti[tn]._c,td=ti('<a class="'+tu.title+'" />').appendTo(ta),tp=function(ti){if(!(ti=ti||this.$pnls.children("."+tu.current)).hasClass(tu.vertical)){var tn=ti.find("."+this.conf.classNames[ts].panelTitle);tn.length||(tn=ti.children("."+tu.navbar).children("."+tu.title)),tc=tn.attr("href"),th=tn.html()||tl.title,td[tc?"attr":"removeAttr"]("href",tc),td[tc||th?"removeClass":"addClass"](tu.hidden),td.html(th)}};return this.bind("openPanel",tp),this.bind("init",function(ti){tp.call(this)}),0},ti[tn].configuration.classNames[ts].panelTitle="Title"}(jQuery),function(ti){function tn(ti,tn,ts){ti.prop("aria-"+tn,ts)[ts?"attr":"removeAttr"]("aria-"+tn,"true")}function ts(ti){return'<span class="'+ta.sronly+'">'+ti+"</span>"}var ta,tl,tc,th,tu="mmenu",td="screenReader";ti[tu].addons[td]={setup:function(){var tl=this.opts[td],tc=this.conf[td];if(th=ti[tu].glbl,"boolean"==typeof tl&&(tl={aria:tl,text:tl}),"object"!=typeof tl&&(tl={}),(tl=this.opts[td]=ti.extend(!0,{},ti[tu].defaults[td],tl)).aria){if(this.opts.offCanvas){var tp=function(){tn(this.$menu,"hidden",!1)},tf=function(){tn(this.$menu,"hidden",!0)};this.bind("open",tp),this.bind("close",tf),tf.call(this)}var tm=function(){tn(this.$menu.find("."+ta.hidden),"hidden",!0),tn(this.$menu.find('[aria-hidden="true"]').not("."+ta.hidden),"hidden",!1)},tg=function(ti){tn(this.$pnls.children("."+ta.panel).not(ti).not("."+ta.hidden),"hidden",!0),tn(ti,"hidden",!1)};this.bind("update",tm),this.bind("openPanel",tm),this.bind("openPanel",tg);var tv=function(ti){tn(ti.find("."+ta.prev+", ."+ta.next),"haspopup",!0)};this.bind("init",tv),tv.call(this,this.$menu.children("."+ta.navbar))}if(tl.text){var ty=function(tn){tn.children("."+ta.navbar).children("."+ta.prev).html(ts(tc.text.closeSubmenu)).end().children("."+ta.next).html(ts(tc.text.openSubmenu)).end().children("."+ta.close).html(ts(tc.text.closeMenu)),tn.is("."+ta.panel)&&tn.find("."+ta.listview).find("."+ta.next).each(function(){ti(this).html(ts(tc.text[ti(this).parent().is("."+ta.vertical)?"toggleSubmenu":"openSubmenu"]))})};this.bind("init",ty),ty.call(this,this.$menu)}},add:function(){ta=ti[tu]._c,tl=ti[tu]._d,tc=ti[tu]._e,ta.add("sronly")},clickAnchor:function(ti,tn){}},ti[tu].defaults[td]={aria:!1,text:!1},ti[tu].configuration[td]={text:{closeMenu:"Close menu",closeSubmenu:"Close submenu",openSubmenu:"Open submenu",toggleSubmenu:"Toggle submenu"}}}(jQuery),function(ti){function tn(ti){switch(ti){case 9:case 16:case 17:case 18:case 37:case 38:case 39:case 40:return!0}return!1}var ts,ta,tl,tc,th="mmenu",tu="searchfield";ti[th].addons[tu]={setup:function(){var td=this,tp=this.opts[tu],tf=this.conf[tu];tc=ti[th].glbl,"boolean"==typeof tp&&(tp={add:tp}),"object"!=typeof tp&&(tp={}),"boolean"==typeof tp.resultsPanel&&(tp.resultsPanel={add:tp.resultsPanel}),tp=this.opts[tu]=ti.extend(!0,{},ti[th].defaults[tu],tp),tf=this.conf[tu]=ti.extend(!0,{},ti[th].configuration[tu],tf),this.bind("close",function(){this.$menu.find("."+ts.search).find("input").blur()}),this.bind("init",function(tc){if(tp.add){var th;if((th="panels"===tp.addTo?tc:this.$menu.find(tp.addTo)).each(function(){var tn=ti(this);if(!tn.is("."+ts.panel)||!tn.is("."+ts.vertical)){if(!tn.children("."+ts.search).length){var ta,tc=td.__valueOrFn(tf.clear,tn),th=td.__valueOrFn(tf.form,tn),tu=td.__valueOrFn(tf.input,tn),tm=td.__valueOrFn(tf.submit,tn),tg=ti("<"+(th?"form":"div")+' class="'+ts.search+'" />'),tv=ti('<input placeholder="'+tp.placeholder+'" type="text" autocomplete="off" />');if(tg.append(tv),tu)for(ta in tu)tv.attr(ta,tu[ta]);
1if(tc&&ti('<a class="'+ts.btn+" "+ts.clear+'" href="#" />').appendTo(tg).on(tl.click+"-searchfield",function(ti){ti.preventDefault(),tv.val("").trigger(tl.keyup+"-searchfield")}),th){for(ta in th)tg.attr(ta,th[ta]);tm&&!tc&&ti('<a class="'+ts.btn+" "+ts.next+'" href="#" />').appendTo(tg).on(tl.click+"-searchfield",function(ti){ti.preventDefault(),tg.submit()})}tn.hasClass(ts.search)?tn.replaceWith(tg):tn.prepend(tg).addClass(ts.hassearch)}if(tp.noResults&&(tn.closest("."+ts.panel).length||(tn=td.$pnls.children("."+ts.panel).first()),!tn.children("."+ts.noresultsmsg).length)){var ty=tn.children("."+ts.listview).first();ti('<div class="'+ts.noresultsmsg+" "+ts.hidden+'" />').append(tp.noResults)[ty.length?"insertAfter":"prependTo"](ty.length?ty:tn)}}}),tp.search){if(tp.resultsPanel.add){tp.showSubPanels=!1;var tm=this.$pnls.children("."+ts.resultspanel);tm.length||(tm=ti('<div class="'+ts.panel+" "+ts.resultspanel+" "+ts.hidden+'" />').appendTo(this.$pnls).append('<div class="'+ts.navbar+" "+ts.hidden+'"><a class="'+ts.title+'">'+tp.resultsPanel.title+"</a></div>").append('<ul class="'+ts.listview+'" />').append(this.$pnls.find("."+ts.noresultsmsg).first().clone()),this.init(tm))}this.$menu.find("."+ts.search).each(function(){var tc,th,tf=ti(this),tg=tf.closest("."+ts.panel).length;tg?th=tc=tf.closest("."+ts.panel):(tc=ti("."+ts.panel,td.$menu),th=td.$menu),tp.resultsPanel.add&&(tc=tc.not(tm));var tv=tf.children("input"),ty=td.__findAddBack(tc,"."+ts.listview).children("li"),t_=ty.filter("."+ts.divider),tb=td.__filterListItems(ty),tw="a",tx=tw+", span",tT="",tk=function(){var tn=tv.val().toLowerCase();if(tn!=tT){if(tT=tn,tp.resultsPanel.add&&tm.children("."+ts.listview).empty(),tc.scrollTop(0),tb.add(t_).addClass(ts.hidden).find("."+ts.fullsubopensearch).removeClass(ts.fullsubopen+" "+ts.fullsubopensearch),tb.each(function(){var tn=ti(this),tl=tw;(tp.showTextItems||tp.showSubPanels&&tn.find("."+ts.next))&&(tl=tx),(tn.data(ta.searchtext)||tn.children(tl).text()).toLowerCase().indexOf(tT)>-1&&tn.add(tn.prevAll("."+ts.divider).first()).removeClass(ts.hidden)}),tp.showSubPanels&&tc.each(function(tn){var tl=ti(this);td.__filterListItems(tl.find("."+ts.listview).children()).each(function(){var tn=ti(this),tl=tn.data(ta.sub);tn.removeClass(ts.nosubresults),tl&&tl.find("."+ts.listview).children().removeClass(ts.hidden)})}),tp.resultsPanel.add){if(""===tT)this.closeAllPanels(),this.openPanel(this.$pnls.children("."+ts.subopened).last());else{var tl=ti();tc.each(function(){var tn=td.__filterListItems(ti(this).find("."+ts.listview).children()).not("."+ts.hidden).clone(!0);tn.length&&(tp.resultsPanel.dividers&&(tl=tl.add('<li class="'+ts.divider+'">'+ti(this).children("."+ts.navbar).text()+"</li>")),tl=tl.add(tn))}),tl.find("."+ts.next).remove(),tm.children("."+ts.listview).append(tl),this.openPanel(tm)}}else ti(tc.get().reverse()).each(function(tn){var tl=ti(this),tc=tl.data(ta.parent);tc&&(td.__filterListItems(tl.find("."+ts.listview).children()).length?(tc.hasClass(ts.hidden)&&tc.children("."+ts.next).not("."+ts.fullsubopen).addClass(ts.fullsubopen).addClass(ts.fullsubopensearch),tc.removeClass(ts.hidden).removeClass(ts.nosubresults).prevAll("."+ts.divider).first().removeClass(ts.hidden)):tg||(tl.hasClass(ts.opened)&&setTimeout(function(){td.openPanel(tc.closest("."+ts.panel))},(tn+1)*(1.5*td.conf.openingInterval)),tc.addClass(ts.nosubresults)))});th.find("."+ts.noresultsmsg)[tb.not("."+ts.hidden).length?"addClass":"removeClass"](ts.hidden),this.update()}};tv.off(tl.keyup+"-"+tu+" "+tl.change+"-"+tu).on(tl.keyup+"-"+tu,function(ti){tn(ti.keyCode)||tk.call(td)}).on(tl.change+"-"+tu,function(ti){tk.call(td)});var tC=tf.children("."+ts.btn);tC.length&&tv.on(tl.keyup+"-"+tu,function(ti){tC[tv.val().length?"removeClass":"addClass"](ts.hidden)}),tv.trigger(tl.keyup+"-"+tu)})}}})},add:function(){ts=ti[th]._c,ta=ti[th]._d,tl=ti[th]._e,ts.add("clear search hassearch resultspanel noresultsmsg noresults nosubresults fullsubopensearch"),ta.add("searchtext"),tl.add("change keyup")},clickAnchor:function(ti,tn){}},ti[th].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},ti[th].configuration[tu]={clear:!1,form:!1,input:!1,submit:!1}}(jQuery),function(ti){var tn,ts,ta,tl,tc="mmenu",th="sectionIndexer";ti[tc].addons[th]={setup:function(){var ts=this,tu=this.opts[th];this.conf[th],tl=ti[tc].glbl,"boolean"==typeof tu&&(tu={add:tu}),"object"!=typeof tu&&(tu={}),tu=this.opts[th]=ti.extend(!0,{},ti[tc].defaults[th],tu),this.bind("init",function(tl){if(tu.add){var tc;(tc="panels"===tu.addTo?tl:ti(tu.addTo,this.$menu).filter("."+tn.panel)).find("."+tn.divider).closest("."+tn.panel).addClass(tn.hasindexer)}if(!this.$indexer&&this.$pnls.children("."+tn.hasindexer).length){this.$indexer=ti('<div class="'+tn.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(ta.mouseover+"-sectionindexer "+tn.touchstart+"-sectionindexer",function(ta){var tl=ti(this).attr("href").slice(1),tc=ts.$pnls.children("."+tn.current),th=tc.find("."+tn.listview),tu=!1,td=tc.scrollTop();tc.scrollTop(0),th.children("."+tn.divider).not("."+tn.hidden).each(function(){!1===tu&&tl==ti(this).text().slice(0,1).toLowerCase()&&(tu=ti(this).position().top)}),tc.scrollTop(!1!==tu?tu:td)});var th=function(ti){ts.$menu[(ti.hasClass(tn.hasindexer)?"add":"remove")+"Class"](tn.hasindexer)};this.bind("openPanel",th),th.call(this,this.$pnls.children("."+tn.current))}})},add:function(){tn=ti[tc]._c,ts=ti[tc]._d,ta=ti[tc]._e,tn.add("indexer hasindexer"),ta.add("mouseover touchstart")},clickAnchor:function(ti,ts){return!!ti.parent().is("."+tn.indexer)||void 0}},ti[tc].defaults[th]={add:!1,addTo:"panels"}}(jQuery),function(ti){var tn,ts,ta,tl,tc="mmenu",th="setSelected";ti[tc].addons[th]={setup:function(){var ta=this.opts[th];if(this.conf[th],tl=ti[tc].glbl,"boolean"==typeof ta&&(ta={hover:ta,parent:ta}),"object"!=typeof ta&&(ta={}),(ta=this.opts[th]=ti.extend(!0,{},ti[tc].defaults[th],ta)).current||this.bind("init",function(ti){ti.find("."+tn.listview).children("."+tn.selected).removeClass(tn.selected)}),ta.hover&&this.$menu.addClass(tn.hoverselected),ta.parent){this.$menu.addClass(tn.parentselected);var tu=function(ti){this.$pnls.find("."+tn.listview).find("."+tn.next).removeClass(tn.selected);for(var ta=ti.data(ts.parent);ta&&ta.length;)ta=ta.children("."+tn.next).addClass(tn.selected).closest("."+tn.panel).data(ts.parent)};this.bind("openedPanel",tu),this.bind("init",function(ti){tu.call(this,this.$pnls.children("."+tn.current))})}},add:function(){tn=ti[tc]._c,ts=ti[tc]._d,ta=ti[tc]._e,tn.add("hoverselected parentselected")},clickAnchor:function(ti,tn){}},ti[tc].defaults[th]={current:!0,hover:!1,parent:!1}}(jQuery),function(ti){var tn,ts,ta,tl,tc="mmenu",th="toggles";ti[tc].addons[th]={setup:function(){var ts=this;this.opts[th],this.conf[th],tl=ti[tc].glbl,this.bind("init",function(ta){this.__refactorClass(ti("input",ta),this.conf.classNames[th].toggle,"toggle"),this.__refactorClass(ti("input",ta),this.conf.classNames[th].check,"check"),ti("input."+tn.toggle+", input."+tn.check,ta).each(function(){var ta=ti(this),tl=ta.closest("li"),tc=ta.hasClass(tn.toggle)?"toggle":"check",th=ta.attr("id")||ts.__getUniqueId();tl.children('label[for="'+th+'"]').length||(ta.attr("id",th),tl.prepe
1nd(ta),ti('<label for="'+th+'" class="'+tn[tc]+'"></label>').insertBefore(tl.children("a, span").last()))})})},add:function(){tn=ti[tc]._c,ts=ti[tc]._d,ta=ti[tc]._e,tn.add("toggle check")},clickAnchor:function(ti,tn){}},ti[tc].configuration.classNames[th]={toggle:"Toggle",check:"Check"}}(jQuery),!function(ti){"function"==typeof define&&define.amd?define(["jquery"],ti):"object"==typeof module&&module.exports?module.exports=ti(require("jquery")):ti(jQuery)}(function(ti){var tn=Array.prototype.slice,ts=Array.prototype.splice,ta={topSpacing:0,bottomSpacing:0,className:"is-sticky",wrapperClassName:"sticky-wrapper",center:!1,getWidthFrom:"",widthFromWrapper:!0,responsiveWidth:!1,zIndex:1e3},tl=ti(window),tc=ti(document),th=[],tu=tl.height(),td=function(){for(var tn=tl.scrollTop(),ts=tc.height(),ta=ts-tu,td=tn>ta?ta-tn:0,tp=0,tf=th.length;tp<tf;tp++){var tm=th[tp],tg=tm.stickyWrapper.offset().top-tm.topSpacing-td;if(tm.stickyWrapper.css("height",tm.stickyElement.outerHeight()),tn<=tg)null!==tm.currentTop&&(tm.stickyElement.css({width:"",position:"",top:"","z-index":""}),tm.stickyElement.parent().removeClass(tm.className),tm.stickyElement.trigger("sticky-end",[tm]),tm.currentTop=null);else{var tv,ty=ts-tm.stickyElement.outerHeight()-tm.topSpacing-tm.bottomSpacing-tn-td;ty<0?ty+=tm.topSpacing:ty=tm.topSpacing,tm.currentTop!==ty&&(tm.getWidthFrom?tv=ti(tm.getWidthFrom).width()||null:tm.widthFromWrapper&&(tv=tm.stickyWrapper.width()),null==tv&&(tv=tm.stickyElement.width()),tm.stickyElement.css("width",tv).css("position","fixed").css("top",ty).css("z-index",tm.zIndex),tm.stickyElement.parent().addClass(tm.className),null===tm.currentTop?tm.stickyElement.trigger("sticky-start",[tm]):tm.stickyElement.trigger("sticky-update",[tm]),tm.currentTop===tm.topSpacing&&tm.currentTop>ty||null===tm.currentTop&&ty<tm.topSpacing?tm.stickyElement.trigger("sticky-bottom-reached",[tm]):null!==tm.currentTop&&ty===tm.topSpacing&&tm.currentTop<ty&&tm.stickyElement.trigger("sticky-bottom-unreached",[tm]),tm.currentTop=ty);var t_=tm.stickyWrapper.parent();tm.stickyElement.offset().top+tm.stickyElement.outerHeight()>=t_.offset().top+t_.outerHeight()&&tm.stickyElement.offset().top<=tm.topSpacing?tm.stickyElement.css("position","absolute").css("top","").css("bottom",0).css("z-index",""):tm.stickyElement.css("position","fixed").css("top",ty).css("bottom","").css("z-index",tm.zIndex)}}},tp=function(){tu=tl.height();for(var tn=0,ts=th.length;tn<ts;tn++){var ta=th[tn],tc=null;ta.getWidthFrom?ta.responsiveWidth&&(tc=ti(ta.getWidthFrom).width()):ta.widthFromWrapper&&(tc=ta.stickyWrapper.width()),null!=tc&&ta.stickyElement.css("width",tc)}},tf={init:function(tn){var ts=ti.extend({},ta,tn);return this.each(function(){var tn=ti(this),tl=tn.attr("id"),tc=tl?tl+"-"+ta.wrapperClassName:ta.wrapperClassName,tu=ti("<div></div>").attr("id",tc).addClass(ts.wrapperClassName);tn.wrapAll(function(){if(0==ti(this).parent("#"+tc).length)return tu});var td=tn.parent();ts.center&&td.css({width:tn.outerWidth(),marginLeft:"auto",marginRight:"auto"}),"right"===tn.css("float")&&tn.css({float:"none"}).parent().css({float:"right"}),ts.stickyElement=tn,ts.stickyWrapper=td,ts.currentTop=null,th.push(ts),tf.setWrapperHeight(this),tf.setupChangeListeners(this)})},setWrapperHeight:function(tn){var ts=ti(tn),ta=ts.parent();ta&&ta.css("height",ts.outerHeight())},setupChangeListeners:function(ti){window.MutationObserver?new window.MutationObserver(function(tn){(tn[0].addedNodes.length||tn[0].removedNodes.length)&&tf.setWrapperHeight(ti)}).observe(ti,{subtree:!0,childList:!0}):window.addEventListener?(ti.addEventListener("DOMNodeInserted",function(){tf.setWrapperHeight(ti)},!1),ti.addEventListener("DOMNodeRemoved",function(){tf.setWrapperHeight(ti)},!1)):window.attachEvent&&(ti.attachEvent("onDOMNodeInserted",function(){tf.setWrapperHeight(ti)}),ti.attachEvent("onDOMNodeRemoved",function(){tf.setWrapperHeight(ti)}))},update:td,unstick:function(tn){return this.each(function(){for(var tn=this,ta=ti(tn),tl=-1,tc=th.length;tc-- >0;)th[tc].stickyElement.get(0)===tn&&(ts.call(th,tc,1),tl=tc);-1!==tl&&(ta.unwrap(),ta.css({width:"",position:"",top:"",float:"","z-index":""}))})}};window.addEventListener?(window.addEventListener("scroll",td,!1),window.addEventListener("resize",tp,!1)):window.attachEvent&&(window.attachEvent("onscroll",td),window.attachEvent("onresize",tp)),ti.fn.sticky=function(ts){return tf[ts]?tf[ts].apply(this,tn.call(arguments,1
1)):"object"!=typeof ts&&ts?void ti.error("Method "+ts+" does not exist on jQuery.sticky"):tf.init.apply(this,arguments)},ti.fn.unstick=function(ts){return tf[ts]?tf[ts].apply(this,tn.call(arguments,1)):"object"!=typeof ts&&ts?void ti.error("Method "+ts+" does not exist on jQuery.sticky"):tf.unstick.apply(this,arguments)},ti(function(){setTimeout(td,0)})}),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(ti,tn,ts,ta,tl){return jQuery.easing[jQuery.easing.def](ti,tn,ts,ta,tl)},easeInQuad:function(ti,tn,ts,ta,tl){return ta*(tn/=tl)*tn+ts},easeOutQuad:function(ti,tn,ts,ta,tl){return-ta*(tn/=tl)*(tn-2)+ts},easeInOutQuad:function(ti,tn,ts,ta,tl){return(tn/=tl/2)<1?ta/2*tn*tn+ts:-ta/2*(--tn*(tn-2)-1)+ts},easeInCubic:function(ti,tn,ts,ta,tl){return ta*(tn/=tl)*tn*tn+ts},easeOutCubic:function(ti,tn,ts,ta,tl){return ta*((tn=tn/tl-1)*tn*tn+1)+ts},easeInOutCubic:function(ti,tn,ts,ta,tl){return(tn/=tl/2)<1?ta/2*tn*tn*tn+ts:ta/2*((tn-=2)*tn*tn+2)+ts},easeInQuart:function(ti,tn,ts,ta,tl){return ta*(tn/=tl)*tn*tn*tn+ts},easeOutQuart:function(ti,tn,ts,ta,tl){return-ta*((tn=tn/tl-1)*tn*tn*tn-1)+ts},easeInOutQuart:function(ti,tn,ts,ta,tl){return(tn/=tl/2)<1?ta/2*tn*tn*tn*tn+ts:-ta/2*((tn-=2)*tn*tn*tn-2)+ts},easeInQuint:function(ti,tn,ts,ta,tl){return ta*(tn/=tl)*tn*tn*tn*tn+ts},easeOutQuint:function(ti,tn,ts,ta,tl){return ta*((tn=tn/tl-1)*tn*tn*tn*tn+1)+ts},easeInOutQuint:function(ti,tn,ts,ta,tl){return(tn/=tl/2)<1?ta/2*tn*tn*tn*tn*tn+ts:ta/2*((tn-=2)*tn*tn*tn*tn+2)+ts},easeInSine:function(ti,tn,ts,ta,tl){return-ta*Math.cos(tn/tl*(Math.PI/2))+ta+ts},easeOutSine:function(ti,tn,ts,ta,tl){return ta*Math.sin(tn/tl*(Math.PI/2))+ts},easeInOutSine:function(ti,tn,ts,ta,tl){return-ta/2*(Math.cos(Math.PI*tn/tl)-1)+ts},easeInExpo:function(ti,tn,ts,ta,tl){return 0==tn?ts:ta*Math.pow(2,10*(tn/tl-1))+ts},easeOutExpo:function(ti,tn,ts,ta,tl){return tn==tl?ts+ta:ta*(-Math.pow(2,-10*tn/tl)+1)+ts},easeInOutExpo:function(ti,tn,ts,ta,tl){return 0==tn?ts:tn==tl?ts+ta:(tn/=tl/2)<1?ta/2*Math.pow(2,10*(tn-1))+ts:ta/2*(-Math.pow(2,-10*--tn)+2)+ts},easeInCirc:function(ti,tn,ts,ta,tl){return-ta*(Math.sqrt(1-(tn/=tl)*tn)-1)+ts},easeOutCirc:function(ti,tn,ts,ta,tl){return ta*Math.sqrt(1-(tn=tn/tl-1)*tn)+ts},easeInOutCirc:function(ti,tn,ts,ta,tl){return(tn/=tl/2)<1?-ta/2*(Math.sqrt(1-tn*tn)-1)+ts:ta/2*(Math.sqrt(1-(tn-=2)*tn)+1)+ts},easeInElastic:function(ti,tn,ts,ta,tl){var tc=1.70158,th=0,tu=ta;if(0==tn)return ts;if(1==(tn/=tl))return ts+ta;if(th||(th=.3*tl),tu<Math.abs(ta)){tu=ta;var tc=th/4}else var tc=th/(2*Math.PI)*Math.asin(ta/tu);return-(tu*Math.pow(2,10*(tn-=1))*Math.sin((tn*tl-tc)*(2*Math.PI)/th))+ts},easeOutElastic:function(ti,tn,ts,ta,tl){var tc=1.70158,th=0,tu=ta;if(0==tn)return ts;if(1==(tn/=tl))return ts+ta;if(th||(th=.3*tl),tu<Math.abs(ta)){tu=ta;var tc=th/4}else var tc=th/(2*Math.PI)*Math.asin(ta/tu);return tu*Math.pow(2,-10*tn)*Math.sin((tn*tl-tc)*(2*Math.PI)/th)+ta+ts},easeInOutElastic:function(ti,tn,ts,ta,tl){var tc=1.70158,th=0,tu=ta;if(0==tn)return ts;if(2==(tn/=tl/2))return ts+ta;if(th||(th=tl*(.3*1.5)),tu<Math.abs(ta)){tu=ta;var tc=th/4}else var tc=th/(2*Math.PI)*Math.asin(ta/tu);return tn<1?-.5*(tu*Math.pow(2,10*(tn-=1))*Math.sin((tn*tl-tc)*(2*Math.PI)/th))+ts:tu*Math.pow(2,-10*(tn-=1))*Math.sin((tn*tl-tc)*(2*Math.PI)/th)*.5+ta+ts},easeInBack:function(ti,tn,ts,ta,tl,tc){return void 0==tc&&(tc=1.70158),ta*(tn/=tl)*tn*((tc+1)*tn-tc)+ts},easeOutBack:function(ti,tn,ts,ta,tl,tc){return void 0==tc&&(tc=1.70158),ta*((tn=tn/tl-1)*tn*((tc+1)*tn+tc)+1)+ts},easeInOutBack:function(ti,tn,ts,ta,tl,tc){return(void 0==tc&&(tc=1.70158),(tn/=tl/2)<1)?ta/2*(tn*tn*(((tc*=1.525)+1)*tn-tc))+ts:ta/2*((tn-=2)*tn*(((tc*=1.525)+1)*tn+tc)+2)+ts},easeInBounce:function(ti,tn,ts,ta,tl){return ta-jQuery.easing.easeOutBounce(ti,tl-tn,0,ta,tl)+ts},easeOutBounce:function(ti,tn,ts,ta,tl){return(tn/=tl)<1/2.75?ta*(7.5625*tn*tn)+ts:tn<2/2.75?ta*(7.5625*(tn-=1.5/2.75)*tn+.75)+ts:tn<2.5/2.75?ta*(7.5625*(tn-=2.25/2.75)*tn+.9375)+ts:ta*(7.5625*(tn-=2.625/2.75)*tn+.984375)+ts},easeInOutBounce:function(ti,tn,ts,ta,tl){return tn<tl/2?.5*jQuery.easing.easeInBounce(ti,2*tn,0,ta,tl)+ts:.5*jQuery.easing.easeOutBounce(ti,2*tn-tl,0,ta,tl)+.5*ta+ts}}),!function(ti){var tn={},ts={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(){}};ti.fn.bxSlider=function(ta){if(0==this.length)return this;if(this.length>1)return this.each(function(){ti(this).bxSlider(ta)}),this;var tl={},tc=this;tn.el=this;var th=ti(window).width(),tu=ti(window).height(),td=function(){tl.settings=ti.extend({},ts,ta),tl.settings.slideWidth=parseInt(tl.settings.slideWidth),tl.children=tc.children(tl.settings.slideSelector),tl.children.length<tl.settings.minSlides&&(tl.settings.minSlides=tl.children.length),tl.children.length<tl.settings.maxSlides&&(tl.settings.maxSlides=tl.children.length),tl.settings.randomStart&&(tl.settings.startSlide=Math.floor(Math.random()*tl.children.length)),tl.active={index:tl.settings.startSlide},tl.carousel=tl.settings.minSlides>1||tl.settings.maxSlides>1,tl.carousel&&(tl.settings.preloadImages="all"),tl.minThreshold=tl.settings.minSlides*tl.settings.slideWidth+(tl.settings.minSlides-1)*tl.settings.slideMargin,tl.maxThreshold=tl.settings.maxSlides*tl.settings.slideWidth+(tl.settings.maxSlides-1)*tl.settings.slideMargin,tl.working=!1,tl.controls={},tl.interval=null,tl.animProp="vertical"==tl.settings.mode?"top":"left",tl.usingCSS=tl.settings.useCSS&&"fade"!=tl.settings.mode&&function(){var ti=document.createElement("div"),tn=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var ts in tn)if(void 0!==ti.style[tn[ts]])return tl.cssPrefix=tn[ts].replace("Perspective","").toLowerCase(),tl.animProp="-"+tl.cssPrefix+"-transform",!0;return!1}(),"vertical"==tl.settings.mode&&(tl.settings.maxSlides=tl.settings.minSlides),tc.data("origStyle",tc.attr("style")),tc.children(tl.settings.slideSelector).each(function(){ti(this).data("origStyle",ti(this).attr("style"))}),tp()},tp=function(){tc.wrap('<div class="'+tl.settings.wrapperClass+'"><div class="bx-viewport"></div></div>'),tl.viewport=tc.parent(),tl.loader=ti('<div class="bx-loading" />'),tl.viewport.prepend(tl.loader),tc.css({width:"horizontal"==tl.settings.mode?100*tl.children.length+215+"%":"auto",position:"relative"}),tl.usingCSS&&tl.settings.easing?tc.css("-"+tl.cssPrefix+"-transition-timing-function",tl.settings.easing):tl.settings.easing||(tl.settings.easing="swing"),t_(),tl.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),tl.viewport.parent().css({maxWidth:tv()}),tl.settings.pager||tl.viewport.parent().css({margin:"0 auto 0px"}),tl.children.css({float:"horizontal"==tl.settings.mode?"left":"none",listStyle:"none",position:"relative"}),tl.children.css("width",ty()),"horizontal"==tl.settings.mode&&tl.settings.slideMargin>0&&tl.children.css("marginRight",tl.settings.slideMargin),"vertical"==tl.settings.mode&&tl.settings.slideMargin>0&&tl.children.css("marginBottom",tl.settings.slideMargin),"fade"==tl.settings.mode&&(tl.children.css({position:"absolute",zIndex:0,display:"none"}),tl.children.eq(tl.settings.startSlide).css({zIndex:tl.settings.slideZIndex,display:"block"})),tl.controls.el=ti('<div class="bx-controls" />'),tl.settings.captions&&tE(),tl.active.last=tl.settings.startSlide==tb()-1,tl.settings.video&&tc.fitVids();var tn=tl.children.eq(tl.settings.startSlide);"all"==tl.settings.preloadImages&&(tn=tl.children),tl.settings.ticker?tl.settings.pager=!1:(tl.settings.pager&&tC(),tl.settings.controls&&tj(),tl.settings.auto&&tl.settings.autoControls&&tS(),(tl.settings.controls||tl.settings.autoControls||tl.settings.pager)&&tl.viewport.after(tl.controls.el)),tf(tn,tm)},tf=function(tn,ts){var ta=tn.find("img, iframe").length;if(0==ta){ts();return}var tl=0;tn.find("img, iframe").each(function(){ti(this).one("load",function(){++tl==ta&&ts()}).each(function(){this.complete&&ti(this).load()})})},tm=function(){if(tl.settings.infiniteLoop&&"fade"!=tl.settings.mode&&!tl.settings.ticker){var tn="vertical"==tl.settings.mode?tl.settings.minSlides:tl.settings.maxSlides,ts=tl.children.slice(0,tn).clone().addClass("bx-clone"),ta=tl.children.slice(-tn).clone().addClass("bx-clone");tc.append(ts).prepend(ta)}tl.loader.remove(),tx(),"vertical"==tl.settings.mode&&(tl.settings.adaptiveHeight=!0),tl.viewport.height(tg()),tc.redrawSlider(),tl.settings.onSliderLoad(tl.active.index),tl.initialized=!0,tl.settings.responsive&&ti(window).bind("resize",tV),tl.settings.auto&&tl.settings.autoStart&&(tb()>1||tl.settings.autoSlideForOnePage)&&tB(),tl.settings.ticker&&t$(),tl.settings.pager&&tA(tl.settings.startSlide),tl.settings.controls&&tD(),tl.settings.touchEnabled&&!tl.settings.ticker&&tH()},tg=function(){var tn=0,ts=ti();if("vertical"==tl.settings.mode||tl.settings.adaptiveHeight){if(tl.carousel){var ta=1==tl.settings.moveSlides?tl.active.index:tl.active.index*tw();for(i=1,ts=tl.children.eq(ta);i<=tl.settings.maxSlides-1;i++)ts=ta+i>=tl.children.length?ts.add(tl.children.eq(i-1)):ts.add(tl.children.eq(ta+i))}else ts=tl.children.eq(tl.active.index)}else ts=tl.children;return"vertical"==tl.settings.mode?(ts.each(function(ts){tn+=ti(this).outerHeight()}),tl.settings.slideMargin>0&&(tn+=tl.settings.slideMargin*(tl.settings.minSlides-1))):tn=Math.max.apply(Math,ts.map(function(){return ti(this).outerHeight(!1)}).get()),"border-box"==tl.viewport.css("box-sizing")?tn+=parseFloat(tl.viewport.css("padding-top"))+parseFloat(tl.viewport.css("padding-bottom"))+parseFloat(tl.viewport.css("border-top-width"))+parseFloat(tl.viewport.css("border-bottom-width")):"padding-box"==tl.viewport.css("box-sizing")&&(tn+=parseFloat(tl.viewport.css("padding-top"))+parseFloat(tl.viewport.css("padding-bottom"))),tn},tv=function(){var ti="100%";return tl.settings.slideWidth>0&&(ti="horizontal"==tl.settings.mode?tl.settings.maxSlides*tl.settings.slideWidth+(tl.settings.maxSlides-1)*tl.settings.slideMargin:tl.settings.slideWidth),ti},ty=function(){var ti=tl.settings.slideWidth,tn=tl.viewport.width();return 0==tl.settings.slideWidth||tl.settings.slideWidth>tn&&!tl.carousel||"vertical"==tl.settings.mode?ti=tn:tl.settings.maxSlides>1&&"horizontal"==tl.settings.mode&&(tn>tl.maxThreshold||tn<tl.minThreshold&&(ti=(tn-tl.settings.slideMargin*(tl.settings.minSlides-1))/tl.settings.minSlides)),ti},t_=function(){var ti=1;if("horizontal"==tl.settings.mode&&tl.settings.slideWidth>0){if(tl.viewport.width()<tl.minThreshold)ti=tl.settings.minSlides;else if(tl.viewport.width()>tl.maxThreshold)ti=tl.settings.maxSlides;else{var tn=tl.children.first().width()+tl.settings.slideMargin;ti=Math.floor((tl.viewport.width()+tl.settings.slideMargin)/tn)}}else"vertical"==tl.settings.mode&&(ti=tl.settings.minSlides);return ti},tb=function(){var ti=0;if(tl.settings.moveSlides>0){if(tl.settings.infiniteLoop)ti=Math.ceil(tl.children.length/tw());else for(var tn=0,ts=0;tn<tl.children.length;)++ti,tn=ts+t_(),ts+=tl.settings.moveSlides<=t_()?tl.settings.moveSlides:t_()}else ti=Math.ceil(tl.children.length/t_());return ti},tw=function(){return tl.settings.moveSlides>0&&tl.settings.moveSlides<=t_()?tl.settings.moveSlides:t_()},tx=function(){if(tl.children.length>tl.settings.maxSlides&&tl.active.last&&!tl.settings.infiniteLoop){if("horizontal"==tl.settings.mode){var ti=tl.children.last(
1),tn=ti.position();tT(-(tn.left-(tl.viewport.width()-ti.outerWidth())),"reset",0)}else if("vertical"==tl.settings.mode){var ts=tl.children.length-tl.settings.minSlides,tn=tl.children.eq(ts).position();tT(-tn.top,"reset",0)}}else{var tn=tl.children.eq(tl.active.index*tw()).position();tl.active.index==tb()-1&&(tl.active.last=!0),void 0!=tn&&("horizontal"==tl.settings.mode?tT(-tn.left,"reset",0):"vertical"==tl.settings.mode&&tT(-tn.top,"reset",0))}},tT=function(ti,tn,ts,ta){if(tl.usingCSS){var th="vertical"==tl.settings.mode?"translate3d(0, "+ti+"px, 0)":"translate3d("+ti+"px, 0, 0)";tc.css("-"+tl.cssPrefix+"-transition-duration",ts/1e3+"s"),"slide"==tn?(tc.css(tl.animProp,th),tc.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){tc.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),tz()})):"reset"==tn?tc.css(tl.animProp,th):"ticker"==tn&&(tc.css("-"+tl.cssPrefix+"-transition-timing-function","linear"),tc.css(tl.animProp,th),tc.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){tc.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),tT(ta.resetValue,"reset",0),tR()}))}else{var tu={};tu[tl.animProp]=ti,"slide"==tn?tc.animate(tu,ts,tl.settings.easing,function(){tz()}):"reset"==tn?tc.css(tl.animProp,ti):"ticker"==tn&&tc.animate(tu,speed,"linear",function(){tT(ta.resetValue,"reset",0),tR()})}},tk=function(){for(var tn="",ts=tb(),ta=0;ta<ts;ta++){var tc="";tl.settings.buildPager&&ti.isFunction(tl.settings.buildPager)?(tc=tl.settings.buildPager(ta),tl.pagerEl.addClass("bx-custom-pager")):(tc=ta+1,tl.pagerEl.addClass("bx-default-pager")),tn+='<div class="bx-pager-item"><a href="" data-slide-index="'+ta+'" class="bx-pager-link">'+tc+"</a></div>"}tl.pagerEl.html(tn)},tC=function(){tl.settings.pagerCustom?tl.pagerEl=ti(tl.settings.pagerCustom):(tl.pagerEl=ti('<div class="bx-pager" />'),tl.settings.pagerSelector?ti(tl.settings.pagerSelector).html(tl.pagerEl):tl.controls.el.addClass("bx-has-pager").append(tl.pagerEl),tk()),tl.pagerEl.on("click","a",tI)},tj=function(){tl.controls.next=ti('<a class="bx-next" href="">'+tl.settings.nextText+"</a>"),tl.controls.prev=ti('<a class="bx-prev" href="">'+tl.settings.prevText+"</a>"),tl.controls.next.bind("click",tP),tl.controls.prev.bind("click",tO),tl.settings.nextSelector&&ti(tl.settings.nextSelector).append(tl.controls.next),tl.settings.prevSelector&&ti(tl.settings.prevSelector).append(tl.controls.prev),tl.settings.nextSelector||tl.settings.prevSelector||(tl.controls.directionEl=ti('<div class="bx-controls-direction" />'),tl.controls.directionEl.append(tl.controls.prev).append(tl.controls.next),tl.controls.el.addClass("bx-has-controls-direction").append(tl.controls.directionEl))},tS=function(){tl.controls.start=ti('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+tl.settings.startText+"</a></div>"),tl.controls.stop=ti('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+tl.settings.stopText+"</a></div>"),tl.controls.autoEl=ti('<div class="bx-controls-auto" />'),tl.controls.autoEl.on("click",".bx-start",tL),tl.controls.autoEl.on("click",".bx-stop",tM),tl.settings.autoControlsCombine?tl.controls.autoEl.append(tl.controls.start):tl.controls.autoEl.append(tl.controls.start).append(tl.controls.stop),tl.settings.autoControlsSelector?ti(tl.settings.autoControlsSelector).html(tl.controls.autoEl):tl.controls.el.addClass("bx-has-controls-auto").append(tl.controls.autoEl),tN(tl.settings.autoStart?"stop":"start")},tE=function(){tl.children.each(function(tn){var ts=ti(this).find("img:first").attr("title");void 0!=ts&&(""+ts).length&&ti(this).append('<div class="bx-caption"><span>'+ts+"</span></div>")})},tP=function(ti){tl.settings.auto&&tc.stopAuto(),tc.goToNextSlide(),ti.preventDefault()},tO=function(ti){tl.settings.auto&&tc.stopAuto(),tc.goToPrevSlide(),ti.preventDefault()},tL=function(ti){tc.startAuto(),ti.preventDefault()},tM=function(ti){tc.stopAuto(),ti.preventDefault()},tI=function(tn){tl.settings.auto&&tc.stopAuto();var ts=ti(tn.currentTarget);
1if(void 0!==ts.attr("data-slide-index")){var ta=parseInt(ts.attr("data-slide-index"));ta!=tl.active.index&&tc.goToSlide(ta),tn.preventDefault()}},tA=function(tn){var ts=tl.children.length;if("short"==tl.settings.pagerType){tl.settings.maxSlides>1&&(ts=Math.ceil(tl.children.length/tl.settings.maxSlides)),tl.pagerEl.html(tn+1+tl.settings.pagerShortSeparator+ts);return}tl.pagerEl.find("a").removeClass("active"),tl.pagerEl.each(function(ts,ta){ti(ta).find("a").eq(tn).addClass("active")})},tz=function(){if(tl.settings.infiniteLoop){var ti="";0==tl.active.index?ti=tl.children.eq(0).position():tl.active.index==tb()-1&&tl.carousel?ti=tl.children.eq((tb()-1)*tw()).position():tl.active.index==tl.children.length-1&&(ti=tl.children.eq(tl.children.length-1).position()),ti&&("horizontal"==tl.settings.mode?tT(-ti.left,"reset",0):"vertical"==tl.settings.mode&&tT(-ti.top,"reset",0))}tl.working=!1,tl.settings.onSlideAfter(tl.children.eq(tl.active.index),tl.oldIndex,tl.active.index)},tN=function(ti){tl.settings.autoControlsCombine?tl.controls.autoEl.html(tl.controls[ti]):(tl.controls.autoEl.find("a").removeClass("active"),tl.controls.autoEl.find("a:not(.bx-"+ti+")").addClass("active"))},tD=function(){1==tb()?(tl.controls.prev.addClass("disabled"),tl.controls.next.addClass("disabled")):!tl.settings.infiniteLoop&&tl.settings.hideControlOnEnd&&(0==tl.active.index?(tl.controls.prev.addClass("disabled"),tl.controls.next.removeClass("disabled")):tl.active.index==tb()-1?(tl.controls.next.addClass("disabled"),tl.controls.prev.removeClass("disabled")):(tl.controls.prev.removeClass("disabled"),tl.controls.next.removeClass("disabled")))},tB=function(){tl.settings.autoDelay>0?setTimeout(tc.startAuto,tl.settings.autoDelay):tc.startAuto(),tl.settings.autoHover&&tc.hover(function(){tl.interval&&(tc.stopAuto(!0),tl.autoPaused=!0)},function(){tl.autoPaused&&(tc.startAuto(!0),tl.autoPaused=null)})},t$=function(){var tn=0;if("next"==tl.settings.autoDirection)tc.append(tl.children.clone().addClass("bx-clone"));else{tc.prepend(tl.children.clone().addClass("bx-clone"));var ts=tl.children.first().position();tn="horizontal"==tl.settings.mode?-ts.left:-ts.top}tT(tn,"reset",0),tl.settings.pager=!1,tl.settings.controls=!1,tl.settings.autoControls=!1,tl.settings.tickerHover&&!tl.usingCSS&&tl.viewport.hover(function(){tc.stop()},function(){var tn=0;tl.children.each(function(ts){tn+="horizontal"==tl.settings.mode?ti(this).outerWidth(!0):ti(this).outerHeight(!0)});var ts=tl.settings.speed/tn,ta="horizontal"==tl.settings.mode?"left":"top",th=ts*(tn-Math.abs(parseInt(tc.css(ta))));tR(th)}),tR()},tR=function(ti){speed=ti||tl.settings.speed;var tn={left:0,top:0},ts={left:0,top:0};"next"==tl.settings.autoDirection?tn=tc.find(".bx-clone").first().position():ts=tl.children.first().position();var ta="horizontal"==tl.settings.mode?-tn.left:-tn.top,th={resetValue:"horizontal"==tl.settings.mode?-ts.left:-ts.top};tT(ta,"ticker",speed,th)},tH=function(){tl.touch={start:{x:0,y:0},end:{x:0,y:0}},tl.viewport.bind("touchstart",tF)},tF=function(ti){if(tl.working)ti.preventDefault();else{tl.touch.originalPos=tc.position();var tn=ti.originalEvent;tl.touch.start.x=tn.changedTouches[0].pageX,tl.touch.start.y=tn.changedTouches[0].pageY,tl.viewport.bind("touchmove",tW),tl.viewport.bind("touchend",tZ)}},tW=function(ti){var tn=ti.originalEvent,ts=Math.abs(tn.changedTouches[0].pageX-tl.touch.start.x),ta=Math.abs(tn.changedTouches[0].pageY-tl.touch.start.y);if(3*ts>ta&&tl.settings.preventDefaultSwipeX?ti.preventDefault():3*ta>ts&&tl.settings.preventDefaultSwipeY&&ti.preventDefault(),"fade"!=tl.settings.mode&&tl.settings.oneToOneTouch){var tc=0;if("horizontal"==tl.settings.mode){var th=tn.changedTouches[0].pageX-tl.touch.start.x;tc=tl.touch.originalPos.left+th}else{var th=tn.changedTouches[0].pageY-tl.touch.start.y;tc=tl.touch.originalPos.top+th}tT(tc,"reset",0)}},tZ=function(ti){tl.viewport.unbind("touchmove",tW);var tn=ti.originalEvent,ts=0;if(tl.touch.end.x=tn.changedTouches[0].pageX,tl.touch.end.y=tn.changedTouches[0].pageY,"fade"==tl.settings.mode){var ta=Math.abs(tl.touch.start.x-tl.touch.end.x);ta>=tl.settings.swipeThreshold&&(tl.touch.start.x>tl.touch.end.x?tc.goToNextSlide():tc.goToPrevSlide(),tc.stopAuto())}else{var ta=0;"horizontal"==tl.settings.mode?(ta=tl.touch.end.x-tl.touch.start.x,ts=tl.touch.originalPos.left):(ta=tl.touch.end.y-tl.touch.start.y,ts=tl.touch.originalPos.top),!tl.settings.infiniteLoop&&(0==tl.active.index&&ta>0||tl.active.last&&ta<0)?tT(ts,"reset",200):Math.abs(ta)>=tl.settings.swipeThreshold?(ta<0?tc.goToNextSlide():tc.goToPrevSlide(),tc.stopAuto()):tT(ts,"reset",200)}tl.viewport.unbind("touchend",tZ)},tV=function(tn){if(tl.initialized){var ts=ti(window).width(),ta=ti(window).height();(th!=ts||tu!=ta)&&(th=ts,tu=ta,tc.redrawSlider(),tl.settings.onSliderResize.call(tc,tl.active.index))}};return tc.goToSlide=function(tn,ts){if(!tl.working&&tl.active.index!=tn){if(tl.working=!0,tl.oldIndex=tl.active.index,tn<0?tl.active.index=tb()-1:tn>=tb()?tl.active.index=0:tl.active.index=tn,tl.settings.onSlideBefore(tl.children.eq(tl.active.index),tl.oldIndex,tl.active.index),"next"==ts?tl.settings.onSlideNext(tl.children.eq(tl.active.index),tl.oldIndex,tl.active.index):"prev"==ts&&tl.settings.onSlidePrev(tl.children.eq(tl.active.index),tl.oldIndex,tl.active.index),tl.active.last=tl.active.index>=tb()-1,tl.settings.pager&&tA(tl.active.index),tl.settings.controls&&tD(),"fade"==tl.settings.mode)tl.settings.adaptiveHeight&&tl.viewport.height()!=tg()&&tl.viewport.animate({height:tg()},tl.settings.adaptiveHeightSpeed),tl.children.filter(":visible").fadeOut(tl.settings.speed).css({zIndex:0}),tl.children.eq(tl.active.index).css("zIndex",tl.settings.slideZIndex+1).fadeIn(tl.settings.speed,function(){ti(this).css("zIndex",tl.settings.slideZIndex),tz()});else{tl.settings.adaptiveHeight&&tl.viewport.height()!=tg()&&tl.viewport.animate({height:tg()},tl.settings.adaptiveHeightSpeed);var ta=0,th={left:0,top:0};if(!tl.settings.infiniteLoop&&tl.carousel&&tl.active.last){if("horizontal"==tl.settings.mode){var tu=tl.children.eq(tl.children.length-1);th=tu.position(),ta=tl.viewport.width()-tu.outerWidth()}else{var td=tl.children.length-tl.settings.minSlides;th=tl.children.eq(td).position()}}else if(tl.carousel&&tl.active.last&&"prev"==ts){var tp=1==tl.settings.moveSlides?tl.settings.maxSlides-tw():(tb()-1)*tw()-(tl.children.length-tl.settings.maxSlides),tu=tc.children(".bx-clone").eq(tp);th=tu.position()}else if("next"==ts&&0==tl.active.index)th=tc.find("> .bx-clone").eq(tl.settings.maxSlides).position(),tl.active.last=!1;else if(tn>=0){var tf=tn*tw();th=tl.children.eq(tf).position()}void 0!==th&&tT("horizontal"==tl.settings.mode?-(th.left-ta):-th.top,"slide",tl.settings.speed)}}},tc.goToNextSlide=function(){if(tl.settings.infiniteLoop||!tl.active.last){var ti=parseInt(tl.active.index)+1;tc.goToSlide(ti,"next")}},tc.goToPrevSlide=function(){if(tl.settings.infiniteLoop||0!=tl.active.index){var ti=parseInt(tl.active.index)-1;tc.goToSlide(ti,"prev")}},tc.startAuto=function(ti){!tl.interval&&(tl.interval=setInterval(function(){"next"==tl.settings.autoDirection?tc.goToNextSlide():tc.goToPrevSlide()},tl.settings.pause),tl.settings.autoControls&&!0!=ti&&tN("stop"))},tc.stopAuto=function(ti){tl.interval&&(clearInterval(tl.interval),tl.interval=null,tl.settings.autoControls&&!0!=ti&&tN("start"))},tc.getCurrentSlide=function(){return tl.active.index},tc.getCurrentSlideElement=function(){return tl.children.eq(tl.active.index)},tc.getSlideCount=function(){return tl.children.length},tc.redrawSlider=function(){tl.children.add(tc.find(".bx-clone")).width(ty()),tl.viewport.css("height",tg()),tl.settings.ticker||tx(),tl.active.last&&(tl.active.index=tb()-1),tl.active.index>=tb()&&(tl.active.last=!0),tl.settings.pager&&!tl.settings.pagerCustom&&(tk(),tA(tl.active.index))},tc.destroySlider=function(){tl.initialized&&(tl.initialized=!1,ti(".bx-clone",this).remove(),tl.children.each(function(){void 0!=ti(this).data("origStyle")?ti(this).attr("style",ti(this).data("origStyle")):ti(this).removeAttr("style")}),void 0!=ti(this).data("origStyle")?this.attr("style",ti(this).data("origStyle")):ti(this).removeAttr("style"),ti(this).unwrap().unwrap(),tl.controls.el&&tl.controls.el.remove(),tl.controls.next&&tl.controls.next.remove(),tl.controls.prev&&tl.controls.prev.remove(),tl.pagerEl&&tl.settings.controls&&tl.pagerEl.remove(),ti(".bx-caption",this).remove(),tl.controls.autoEl&&tl.controls.autoEl.remove(),clearInterval(tl.interval),tl.settings.responsive&&ti(window).unbind("resize",tV))},tc.reloadSlider=function(ti){void 0!=ti&&(ta=ti),tc.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(ti){"use strict";ti.fn.fitVids=function(tn){var ts={customSelector:null},ta=document.createElement("div"),tl=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];return ta.className="fit-vids-style",ta.innerHTML="­<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>",tl.parentNode.insertBefore(ta,tl),tn&&ti.extend(ts,tn),this.each(function(){var tn=["iframe[src*='player.vimeo.com']","iframe[src*='www.youtube.com']","iframe[src*='www.kickstarter.com']","object","embed"];ts.customSelector&&tn.push(ts.customSelector),ti(this).find(tn.join(",")).each(function(){var tn=ti(this);if(("embed"!==this.tagName.toLowerCase()||!tn.parent("object").length)&&!tn.parent(".fluid-width-video-wrapper").length){var ts=("object"===this.tagName.toLowerCase()||tn.attr("height")&&!isNaN(parseInt(tn.attr("height"),10))?parseInt(tn.attr("height"),10):tn.height())/(isNaN(parseInt(tn.attr("width"),10))?tn.width():parseInt(tn.attr("width"),10));if(!tn.attr("id")){var ta="fitvid"+Math.floor(999999*Math.random());tn.attr("id",ta)}tn.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*ts+"%"),tn.removeAttr("height").removeAttr("width")}})})}}(jQuery),ResponsiveHelper=function(ti){var tn,ts=[],ta=ti(window),tl=!1;function tc(){var tl=ta.width();tl!==tn&&(tn=tl,ti.each(ts,function(tn,ts){ti.each(ts.data,function(ti,tn){tn.currentActive&&!th(tn.range[0],tn.range[1])&&(tn.currentActive=!1,"function"==typeof tn.disableCallback&&tn.disableCallback())}),ti.each(ts.data,function(ti,tn){!tn.currentActive&&th(tn.range[0],tn.range[1])&&(tn.currentActive=!0,"function"==typeof tn.enableCallback&&tn.enableCallback())})}))}function th(ti,tn){var ts="";return ti>0&&(ts+="(min-width: "+ti+"px)"),tn<1/0&&(ts+=(ts?" and ":"")+"(max-width: "+tn+"px)"),tu(ts,ti,tn)}function tu(ti,ts,ta){return window.matchMedia&&tl?matchMedia(ti).matches:window.styleMedia?styleMedia.matchMedium(ti):window.media?media.matchMedium(ti):tn>=ts&&tn<=ta}function td(ti){var tn=ti.split("..");return[parseInt(tn[0],10)||-1/0,parseInt(tn[1],10)||1/0].sort(function(ti,tn){return ti-tn})}return window.matchMedia&&(window.Window&&window.matchMedia===Window.prototype.matchMedia?tl=!0:window.matchMedia.toString().indexOf("native")>-1&&(tl=!0)),ta.bind("load resize orientationchange",tc),{addRange:function(ta){var tl={data:{}};ti.each(ta,function(ti,tn){tl.data[ti]={range:td(ti),enableCallback:tn.on,disableCallback:tn.off}}),ts.push(tl),tn=null,tc()}}}(jQuery),!function(ti,tn,ts,ta){"use strict";var tl=ts("html"),tc=ts(ti),th=ts(tn),tu=ts.fancybox=function(){tu.open.apply(this,arguments)},td=navigator.userAgent.match(/msie/i),tp=null,tf=ta!==tn.createTouch,tm=function(ti){return ti&&ti.hasOwnProperty&&ti instanceof ts},tg=function(ti){return ti&&"string"===ts.type(ti)},tv=function(ti){return tg(ti)&&ti.indexOf("%")>0},ty=function(ti){return ti&&!(ti.style.overflow&&"hidden"===ti.style.overflow)&&(ti.clientWidth&&ti.scrollWidth>ti.clientWidth||ti.clientHeight&&ti.scrollHeight>ti.clientHeight)},t_=function(ti,tn){var ts=parseInt(ti,10)||0;return tn&&tv(ti)&&(ts=tu.getViewport()[tn]/100*ts),Math.ceil(ts)},tb=function(ti,tn){return t_(ti,tn)+"px"};ts.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:!tf,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:ts.noop,beforeLoad:ts.noop,afterLoad:ts.noop,beforeShow:ts.noop,afterShow:ts.noop,beforeChange:ts.noop,beforeClose:ts.noop,afterClose:ts.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(ti,tn){if(ti&&(ts.isPlainObject(tn)||(tn={}),!1!==tu.close(!0)))return ts.isArray(ti)||(ti=tm(ti)?ts(ti).get():[ti]),ts.each(ti,function(tl,tc){var th,td,tp,tf,tv,ty,t_,tb={};"object"===ts.type(tc)&&(tc.nodeType&&(tc=ts(tc)),tm(tc)?(tb={href:tc.data("fancybox-href")||tc.attr("href"),title:tc.data("fancybox-title")||tc.attr("title"),isDom:!0,element:tc},ts.metadata&&ts.extend(!0,tb,tc.metadata())):tb=tc),th=tn.href||tb.href||(tg(tc)?tc:null),td=ta!==tn.title?tn.title:tb.title||"",(tf=(tp=tn.content||tb.content)?"html":tn.type||tb.type)||!tb.isDom||(tf=tc.data("fancybox-type"))||(tf=(tv=tc.prop("class").match(/fancybox\.(\w+)/))?tv[1]:null),tg(th)&&(!tf&&(tu.isImage(th)?tf="image":tu.isSWF(th)?tf="swf":"#"===th.charAt(0)?tf="inline":tg(tc)&&(tf="html",tp=tc)),"ajax"===tf&&(th=(ty=th.split(/\s+/,2)).shift(),t_=ty.shift())),tp||("inline"===tf?th?tp=ts(tg(th)?th.replace(/.*(?=#[^\s]+$)/,""):th):tb.isDom&&(tp=tc):"html"===tf?tp=th:tf||th||!tb.isDom||(tf="inline",tp=tc)),ts.extend(tb,{href:th,type:tf,content:tp,title:td,selector:t_}),ti[tl]=tb}),tu.opts=ts.extend(!0,{},tu.defaults,tn),ta!==tn.keys&&(tu.opts.keys=!!tn.keys&&ts.extend({},tu.defaults.keys,tn.keys)),tu.group=ti,tu._start(tu.opts.index)},cancel:function(){var ti=tu.coming;ti&&!1!==tu.trigger("onCancel")&&(tu.hideLoading(),tu.ajaxLoad&&tu.ajaxLoad.abort(),tu.ajaxLoad=null,tu.imgPreload&&(tu.imgPreload.onload=tu.imgPreload.onerror=null),ti.wrap&&ti.wrap.stop(!0,!0).trigger("onReset").remove(),tu.coming=null,tu.current||tu._afterZoomOut(ti))},close:function(ti){tu.cancel(),!1!==tu.trigger("beforeClose")&&(tu.unbindEvents(),tu.isActive&&(tu.isOpen&&!0!==ti?(tu.isOpen=tu.isOpened=!1,tu.isClosing=!0,ts(".fancybox-item, .fancybox-nav").remove(),tu.wrap.stop(!0,!0).removeClass("fancybox-opened"),tu.transitions[tu.current.closeMethod]()):(ts(".fancybox-wrap").stop(!0).trigger("onReset").remove(),tu._afterZoomOut())))},play:function(ti){var tn=function(){clearTimeout(tu.player.timer)},ts=function(){tn(),tu.current&&tu.player.isActive&&(tu.player.timer=setTimeout(tu.next,tu.current.playSpeed))},ta=function(){tn(),th.unbind(".player"),tu.player.isActive=!1,tu.trigger("onPlayEnd")},tl=function(){tu.current&&(tu.current.loop||tu.current.index<tu.group.length-1)&&(tu.player.isActive=!0,th.bind({"onCancel.player beforeClose.player":ta,"onUpdate.player":ts,"beforeLoad.player":tn}),ts(),tu.trigger("onPlayStart"))};!0!==ti&&(tu.player.isActive||!1===ti)?ta():tl()},next:function(ti){var tn=tu.current;tn&&(tg(ti)||(ti=tn.direction.next),tu.jumpto(tn.index+1,ti,"next"))},prev:function(ti){var tn=tu.current;tn&&(tg(ti)||(ti=tn.direction.prev),tu.jumpto(tn.index-1,ti,"prev"))},jumpto:function(ti,tn,ts){var tl=tu.current;tl&&(ti=t_(ti),tu.direction=tn||tl.direction[ti>=tl.index?"next":"prev"],tu.router=ts||"jumpto",tl.loop&&(ti<0&&(ti=tl.group.length+ti%tl.group.length),ti%=tl.group.length),ta!==tl.group[ti]&&(tu.cancel(),tu._start(ti)))},reposition:function(ti,tn){var ta,tl=tu.current,tc=tl?tl.wrap:null;tc&&(ta=tu._getPosition(tn),ti&&"scroll"===ti.type?(delete ta.position,tc.stop(!0,!0).animate(ta,200)):(tc.css(ta),tl.pos=ts.extend({},tl.dim,ta)))},update:function(ti){var tn=ti&&ti.type,ts=!tn||"orientationchange"===tn;ts&&(clearTimeout(tp),tp=null),tu.isOpen&&!tp&&(tp=setTimeout(function(){var ta=tu.current;ta&&!tu.isClosing&&(tu.wrap.removeClass("fancybox-tmp"),(ts||"load"===tn||"resize"===tn&&ta.autoResize)&&tu._setDimension(),"scroll"===tn&&ta.canShrink||tu.reposition(ti),tu.trigger("onUpdate"),tp=null)},ts&&!tf?0:300))},toggle:function(ti){tu.isOpen&&(tu.current.fitToView="boolean"===ts.type(ti)?ti:!tu.current.fitToView,tf&&(tu.wrap.removeAttr("style").addClass("fancybox-tmp"),tu.trigger("onUpdate")),tu.update())},hideLoading:function(){th.unbind(".loading"),ts("#fancybox-loading").remove()},showLoading:function(){var ti,tn;tu.hideLoading(),ti=ts('<div id="fancybox-loading"><div></div></div>').click(tu.cancel).appendTo("body"),th.bind("keydown.loading",function(ti){27===(ti.which||ti.keyCode)&&(ti.preventDefault(),tu.cancel())}),tu.defaults.fixed||(tn=tu.getViewport(),ti.css({position:"absolute",top:.5*tn.h+tn.y,left:.5*tn.w+tn.x}))},getViewport:function(){var tn=tu.current&&tu.current.locked||!1,ts={x:tc.scrollLeft(),y:tc.scrollTop()};return tn?(ts.w=tn[0].clientWidth,ts.h=tn[0].clientHeight):(ts.w=tf&&ti.innerWidth?ti.innerWidth:tc.width(),ts.h=tf&&ti.innerHeight?ti.innerHeight:tc.height()),ts}
9,unbindEvents:function(){tu.wrap&&tm(tu.wrap)&&tu.wrap.unbind(".fb"),th.unbind(".fb"),tc.unbind(".fb")},bindEvents:function(){var ti,tn=tu.current;tn&&(tc.bind("orientationchange.fb"+(tf?"":" resize.fb")+(tn.autoCenter&&!tn.locked?" scroll.fb":""),tu.update),(ti=tn.keys)&&th.bind("keydown.fb",function(tl){var tc=tl.which||tl.keyCode,th=tl.target||tl.srcElement;if(27===tc&&tu.coming)return!1;tl.ctrlKey||tl.altKey||tl.shiftKey||tl.metaKey||th&&(th.type||ts(th).is("[contenteditable]"))||ts.each(ti,function(ti,th){return tn.group.length>1&&ta!==th[tc]?(tu[ti](th[tc]),tl.preventDefault(),!1):ts.inArray(tc,th)>-1?(tu[ti](),tl.preventDefault(),!1):void 0})}),ts.fn.mousewheel&&tn.mouseWheel&&tu.wrap.bind("mousewheel.fb",function(ti,ta,tl,tc){for(var th=ts(ti.target||null),td=!1;th.length&&!(td||th.is(".fancybox-skin")||th.is(".fancybox-wrap"));)td=ty(th[0]),th=ts(th).parent();0===ta||td||!(tu.group.length>1)||tn.canShrink||(tc>0||tl>0?tu.prev(tc>0?"down":"left"):(tc<0||tl<0)&&tu.next(tc<0?"up":"right"),ti.preventDefault())}))},trigger:function(ti,tn){var ta,tl=tn||tu.coming||tu.current;if(tl){if(ts.isFunction(tl[ti])&&(ta=tl[ti].apply(tl,Array.prototype.slice.call(arguments,1))),!1===ta)return!1;tl.helpers&&ts.each(tl.helpers,function(tn,ta){ta&&tu.helpers[tn]&&ts.isFunction(tu.helpers[tn][ti])&&tu.helpers[tn][ti](ts.extend(!0,{},tu.helpers[tn].defaults,ta),tl)}),th.trigger(ti)}},isImage:function(ti){return tg(ti)&&ti.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(ti){return tg(ti)&&ti.match(/\.(swf)((\?|#).*)?$/i)},_start:function(ti){var tn,ta,tl,tc,th,td={};if(ti=t_(ti),!(tn=tu.group[ti]||null))return!1;if(tc=(td=ts.extend(!0,{},tu.opts,tn)).margin,th=td.padding,"number"===ts.type(tc)&&(td.margin=[tc,tc,tc,tc]),"number"===ts.type(th)&&(td.padding=[th,th,th,th]),td.modal&&ts.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=ti,tu.coming=td,!1===tu.trigger("beforeLoad")){tu.coming=null;return}if(tl=td.type,ta=td.href,!tl)return tu.coming=null,!!tu.current&&!!tu.router&&"jumpto"!==tu.router&&(tu.current.index=ti,tu[tu.router](tu.direction));if(tu.isActive=!0,("image"===tl||"swf"===tl)&&(td.autoHeight=td.autoWidth=!1,td.scrolling="visible"),"image"===tl&&(td.aspectRatio=!0),"iframe"===tl&&tf&&(td.scrolling="scroll"),td.wrap=ts(td.tpl.wrap).addClass("fancybox-"+(tf?"mobile":"desktop")+" fancybox-type-"+tl+" fancybox-tmp "+td.wrapCSS).appendTo(td.parent||"body"),ts.extend(td,{skin:ts(".fancybox-skin",td.wrap),outer:ts(".fancybox-outer",td.wrap),inner:ts(".fancybox-inner",td.wrap)}),ts.each(["Top","Right","Bottom","Left"],function(ti,tn){td.skin.css("padding"+tn,tb(td.padding[ti]))}),tu.trigger("onReady"),"inline"===tl||"html"===tl){if(!td.content||!td.content.length)return tu._error("content")}else if(!ta)return tu._error("href");"image"===tl?tu._loadImage():"ajax"===tl?tu._loadAjax():"iframe"===tl?tu._loadIframe():tu._afterLoad()},_error:function(ti){ts.extend(tu.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:ti,content:tu.coming.tpl.error}),tu._afterLoad()},_loadImage:function(){var ti=tu.imgPreload=new Image;ti.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()},ti.onerror=function(){this.onload=this.onerror=null,tu._error("image")},ti.src=tu.coming.href,!0!==ti.complete&&tu.showLoading()},_loadAjax:function(){var ti=tu.coming;tu.showLoading(),tu.ajaxLoad=ts.ajax(ts.extend({},ti.ajax,{url:ti.href,error:function(ti,tn){tu.coming&&"abort"!==tn?tu._error("ajax",ti):tu.hideLoading()},success:function(tn,ts){"success"===ts&&(ti.content=tn,tu._afterLoad())}}))},_loadIframe:function(){var ti=tu.coming,tn=ts(ti.tpl.iframe.replace(/\{rnd\}/g,new Date().getTime())).attr("scrolling",tf?"auto":ti.iframe.scrolling).attr("src",ti.href);ts(ti.wrap).bind("onReset",function(){try{ts(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(ti){}}),ti.iframe.preload&&(tu.showLoading(),tn.one("load",function(){ts(this).data("ready",1),tf||ts(this).bind("load.fb",tu.update),ts(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),tu._afterLoad()})),ti.content=tn.appendTo(ti.inner),ti.iframe.preload||tu._afterLoad()},_preloadImages:function(){var ti,tn,ts=tu.group,ta=tu.current,tl=ts.length,tc=ta.preload?Math.min(ta.preload,tl-1):0;for(tn=1;tn<=tc;tn+=1)"image"===(ti=ts[(ta.index+tn)%tl]).type&&ti.href&&(new Image().src=ti.href)},_afterLoad:function(){var ti,tn,ta,tl,tc,th,td=tu.coming,tp=tu.current,tf="fancybox-placeholder";if(tu.hideLoading(),td&&!1!==tu.isActive){if(!1===tu.trigger("afterLoad",td,tp)){td.wrap.stop(!0).trigger("onReset").remove(),tu.coming=null;return}switch(tp&&(tu.trigger("beforeChange",tp),tp.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),tu.unbindEvents(),ti=td,tn=td.content,ta=td.type,tl=td.scrolling,ts.extend(tu,{wrap:ti.wrap,skin:ti.skin,outer:ti.outer,inner:ti.inner,current:ti,previous:tp}),tc=ti.href,ta){case"inline":case"ajax":case"html":ti.selector?tn=ts("<div>").html(tn).find(ti.selector):tm(tn)&&(tn.data(tf)||tn.data(tf,ts('<div class="'+tf+'"></div>').insertAfter(tn).hide()),tn=tn.show().detach(),ti.wrap.bind("onReset",function(){ts(this).find(tn).length&&tn.hide().replaceAll(tn.data(tf)).data(tf,!1)}));break;case"image":tn=ti.tpl.image.replace("{href}",tc);break;case"swf":tn='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+tc+'"></param>',th="",ts.each(ti.swf,function(ti,ts){tn+='<param name="'+ti+'" value="'+ts+'"></param>',th+=" "+ti+'="'+ts+'"'}),tn+='<embed src="'+tc+'" type="application/x-shockwave-flash" width="100%" height="100%"'+th+"></embed></object>"}tm(tn)&&tn.parent().is(ti.inner)||ti.inner.append(tn),tu.trigger("beforeShow"),ti.inner.css("overflow","yes"===tl?"scroll":"no"===tl?"hidden":tl),tu._setDimension(),tu.reposition(),tu.isOpen=!1,tu.coming=null,tu.bindEvents(),tu.isOpened?tp.prevMethod&&tu.transitions[tp.prevMethod]():ts(".fancybox-wrap").not(ti.wrap).stop(!0).trigger("onReset").remove(),tu.transitions[tu.isOpened?ti.nextMethod:ti.openMethod](),tu._preloadImages()}},_setDimension:function(){var ti,tn,ta,tl,tc,th,td,tp,tf,tm,tg,ty,tw,tx,tT,tk=tu.getViewport(),tC=0,tj=!1,tS=!1,tE=tu.wrap,tP=tu.skin,tO=tu.inner,tL=tu.current,tM=tL.width,tI=tL.height,tA=tL.minWidth,tz=tL.minHeight,tN=tL.maxWidth,tD=tL.maxHeight,tB=tL.scrolling,t$=tL.scrollOutside?tL.scrollbarWidth:0,tR=tL.margin,tH=t_(tR[1]+tR[3]),tF=t_(tR[0]+tR[2]);if(tE.add(tP).add(tO).width("auto").height("auto").removeClass("fancybox-tmp"),ti=t_(tP.outerWidth(!0)-tP.width()),tn=t_(tP.outerHeight(!0)-tP.height()),ta=tH+ti,tl=tF+tn,tc=tv(tM)?(tk.w-ta)*t_(tM)/100:tM,th=tv(tI)?(tk.h-tl)*t_(tI)/100:tI,"iframe"===tL.type){if(tx=tL.content,tL.autoHeight&&1===tx.data("ready"))try{tx[0].contentWindow.document.location&&(tO.width(tc
vendor: 4,594 bytes, line 9
9).height(9999),tT=tx.contents().find("body"),t$&&tT.css("overflow-x","hidden"),th=tT.outerHeight(!0))}catch(ti){}}else(tL.autoWidth||tL.autoHeight)&&(tO.addClass("fancybox-tmp"),tL.autoWidth||tO.width(tc),tL.autoHeight||tO.height(th),tL.autoWidth&&(tc=tO.width()),tL.autoHeight&&(th=tO.height()),tO.removeClass("fancybox-tmp"));if(tM=t_(tc),tI=t_(th),tf=tc/th,tA=t_(tv(tA)?t_(tA,"w")-ta:tA),tN=t_(tv(tN)?t_(tN,"w")-ta:tN),tz=t_(tv(tz)?t_(tz,"h")-tl:tz),tD=t_(tv(tD)?t_(tD,"h")-tl:tD),td=tN,tp=tD,tL.fitToView&&(tN=Math.min(tk.w-ta,tN),tD=Math.min(tk.h-tl,tD)),ty=tk.w-tH,tw=tk.h-tF,tL.aspectRatio?(tM>tN&&(tI=t_((tM=tN)/tf)),tI>tD&&(tM=t_((tI=tD)*tf)),tM<tA&&(tI=t_((tM=tA)/tf)),tI<tz&&(tM=t_((tI=tz)*tf))):(tM=Math.max(tA,Math.min(tM,tN)),tL.autoHeight&&"iframe"!==tL.type&&(tO.width(tM),tI=tO.height()),tI=Math.max(tz,Math.min(tI,tD))),tL.fitToView){if(tO.width(tM).height(tI),tE.width(tM+ti),tm=tE.width(),tg=tE.height(),tL.aspectRatio)for(;(tm>ty||tg>tw)&&tM>tA&&tI>tz&&!(tC++>19);)(tM=t_((tI=Math.max(tz,Math.min(tD,tI-10)))*tf))<tA&&(tI=t_((tM=tA)/tf)),tM>tN&&(tI=t_((tM=tN)/tf)),tO.width(tM).height(tI),tE.width(tM+ti),tm=tE.width(),tg=tE.height();else tM=Math.max(tA,Math.min(tM,tM-(tm-ty))),tI=Math.max(tz,Math.min(tI,tI-(tg-tw)))}t$&&"auto"===tB&&tI<th&&tM+ti+t$<ty&&(tM+=t$),tO.width(tM).height(tI),tE.width(tM+ti),tm=tE.width(),tg=tE.height(),tj=(tm>ty||tg>tw)&&tM>tA&&tI>tz,tS=tL.aspectRatio?tM<td&&tI<tp&&tM<tc&&tI<th:(tM<td||tI<tp)&&(tM<tc||tI<th),ts.extend(tL,{dim:{width:tb(tm),height:tb(tg)},origWidth:tc,origHeight:th,canShrink:tj,canExpand:tS,wPadding:ti,hPadding:tn,wrapSpace:tg-tP.outerHeight(!0),skinSpace:tP.height()-tI}),!tx&&tL.autoHeight&&tI>tz&&tI<tD&&!tS&&tO.height("auto")},_getPosition:function(ti){var tn=tu.current,ts=tu.getViewport(),ta=tn.margin,tl=tu.wrap.width()+ta[1]+ta[3],tc=tu.wrap.height()+ta[0]+ta[2],th={position:"absolute",top:ta[0],left:ta[3]};return tn.autoCenter&&tn.fixed&&!ti&&tc<=ts.h&&tl<=ts.w?th.position="fixed":tn.locked||(th.top+=ts.y,th.left+=ts.x),th.top=tb(Math.max(th.top,th.top+(ts.h-tc)*tn.topRatio)),th.left=tb(Math.max(th.left,th.left+(ts.w-tl)*tn.leftRatio)),th},_afterZoomIn:function(){var ti=tu.current;ti&&(tu.isOpen=tu.isOpened=!0,tu.wrap.css("overflow","visible").addClass("fancybox-opened"),tu.update(),(ti.closeClick||ti.nextClick&&tu.group.length>1)&&tu.inner.css("cursor","pointer").bind("click.fb",function(tn){ts(tn.target).is("a")||ts(tn.target).parent().is("a")||(tn.preventDefault(),tu[ti.closeClick?"close":"next"]())}),ti.closeBtn&&ts(ti.tpl.closeBtn).appendTo(tu.skin).bind("click.fb",function(ti){ti.preventDefault(),tu.close()}),ti.arrows&&tu.group.length>1&&((ti.loop||ti.index>0)&&ts(ti.tpl.prev).appendTo(tu.outer).bind("click.fb",tu.prev),(ti.loop||ti.index<tu.group.length-1)&&ts(ti.tpl.next).appendTo(tu.outer).bind("click.fb",tu.next)),tu.trigger("afterShow"),ti.loop||ti.index!==ti.group.length-1?tu.opts.autoPlay&&!tu.player.isActive&&(tu.opts.autoPlay=!1,tu.play()):tu.play(!1))},_afterZoomOut:function(ti){ti=ti||tu.current,ts(".fancybox-wrap").trigger("onReset").remove(),ts.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",ti)}}),tu.transitions={getOrigPosition:function(){var ti=tu.current,tn=ti.element,ts=ti.orig,ta={},tl=50,tc=50,th=ti.hPadding,td=ti.wPadding,tp=tu.getViewport();return!ts&&ti.isDom&&tn.is(":visible")&&!(ts=tn.find("img:first")).length&&(ts=tn),tm(ts)?(ta=ts.offset(),ts.is("img")&&(tl=ts.outerWidth(),tc=ts.outerHeight())):(ta.top=tp.y+(tp.h-tc)*ti.topRatio,ta.left=tp.x+(tp.w-tl)*ti.leftRatio),("fixed"===tu.wrap.css("position")||ti.locked)&&(ta.top-=tp.y,ta.left-=tp.x),ta={top:tb(ta.top-th*ti.topRatio),left:tb(ta.left-td*ti.leftRatio),width:tb(tl+td),height:tb(tc+th)}},step:function(ti,tn){var ts,ta,tl=tn.prop,tc=tu.current,th=tc.wrapSpace,td=tc.skinSpace;("width"===tl||"height"===tl)&&(ts=tn.end===tn.start?1:(ti-tn.start)/(tn.end-tn.start),tu.isClosing&&(ts=1-ts),ta=ti-("width"===tl?tc.wPadding:tc.hPadding),tu.skin[tl](t_("width"===tl?ta:ta-th*ts)),tu.inner[tl](t_("width"===tl?ta:ta-th*ts-td*ts)))},zoomIn:function(){var ti=tu.current,tn=ti.pos,ta=ti.openEffect,tl="elastic"===ta,tc=ts.extend({opacity:1},tn);delete tc.position,tl?(tn=this.getOrigPosition(),ti.openOpacity&&(tn.opacity=.1)):"fade"===ta&&(tn.opacity=.1),tu.wrap.css(tn).animate(tc,{duration:"none"===ta?0:ti.openSpeed,easing:ti.openEasing,step:tl?this.step:null,complete:tu._afterZoomIn})},zoomOut:function(){var ti=tu.current,tn=ti.closeEffect,ts="elastic"===tn,ta={opacity:.1};
9ts&&(ta=this.getOrigPosition(),ti.closeOpacity&&(ta.opacity=.1)),tu.wrap.animate(ta,{duration:"none"===tn?0:ti.closeSpeed,easing:ti.closeEasing,step:ts?this.step:null,complete:tu._afterZoomOut})},changeIn:function(){var ti,tn=tu.current,ts=tn.nextEffect,ta=tn.pos,tl={opacity:1},tc=tu.direction,th=200;ta.opacity=.1,"elastic"===ts&&(ti="down"===tc||"up"===tc?"top":"left","down"===tc||"right"===tc?(ta[ti]=tb(t_(ta[ti])-th),tl[ti]="+="+th+"px"):(ta[ti]=tb(t_(ta[ti])+th),tl[ti]="-="+th+"px")),"none"===ts?tu._afterZoomIn():tu.wrap.css(ta).animate(tl,{duration:tn.nextSpeed,easing:tn.nextEasing,complete:tu._afterZoomIn})},changeOut:function(){var ti=tu.previous,tn=ti.prevEffect,ta={opacity:.1},tl=tu.direction,tc=200;"elastic"===tn&&(ta["down"===tl||"up"===tl?"top":"left"]=("up"===tl||"left"===tl?"-":"+")+"="+tc+"px"),ti.wrap.animate(ta,{duration:"none"===tn?0:ti.prevSpeed,easing:ti.prevEasing,complete:function(){ts(this).trigger("onReset").remove()}})}},tu.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!tf,fixed:!0},overlay:null,fixed:!1,el:ts("html"),create:function(ti){ti=ts.extend({},this.defaults,ti),this.overlay&&this.close(),this.overlay=ts('<div class="fancybox-overlay"></div>').appendTo(tu.coming?tu.coming.parent:ti.parent),this.fixed=!1,ti.fixed&&tu.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(ti){var tn=this;ti=ts.extend({},this.defaults,ti),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(ti),this.fixed||(tc.bind("resize.overlay",ts.proxy(this.update,this)),this.update()),ti.closeClick&&this.overlay.bind("click.overlay",function(ti){if(ts(ti.target).hasClass("fancybox-overlay"))return tu.isActive?tu.close():tn.close(),!1}),this.overlay.css(ti.css).show()},close:function(){var ti,tn;tc.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(ts(".fancybox-margin").removeClass("fancybox-margin"),ti=tc.scrollTop(),tn=tc.scrollLeft(),this.el.removeClass("fancybox-lock"),tc.scrollTop(ti).scrollLeft(tn)),ts(".fancybox-overlay").remove().hide(),ts.extend(this,{overlay:null,fixed:!1})},update:function(){var ti,ts="100%";this.overlay.width(ts).height("100%"),td?(ti=Math.max(tn.documentElement.offsetWidth,tn.body.offsetWidth),th.width()>ti&&(ts=th.width())):th.width()>tc.width()&&(ts=th.width()),this.overlay.width(ts).height(th.height())},onReady:function(ti,tn){var ta=this.overlay;ts(".fancybox-overlay").stop(!0,!0),ta||this.create(ti),ti.locked&&this.fixed&&tn.fixed&&(ta||(this.margin=th.height()>tc.height()&&ts("html").css("margin-right").replace("px","")),tn.locked=this.overlay.append(tn.wrap),tn.fixed=!1),!0===ti.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(ti,tn){var ta,tl;tn.locked&&(!1!==this.margin&&(ts("*").filter(function(){return"fixed"===ts(this).css("position")&&!ts(this).hasClass("fancybox-overlay")&&!ts(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),ta=tc.scrollTop(),tl=tc.scrollLeft(),this.el.addClass("fancybox-lock"),tc.scrollTop(ta).scrollLeft(tl)),this.open(ti)},onUpdate:function(){this.fixed||this.update()},afterClose:function(ti){this.overlay&&!tu.coming&&this.overlay.fadeOut(ti.speedOut,ts.proxy(this.close,this))}},tu.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(ti){var tn,ta,tl=tu.current,tc=tl.title,th=ti.type;if(ts.isFunction(tc)&&(tc=tc.call(tl.element,tl)),tg(tc)&&""!==ts.trim(tc)){switch(tn=ts('<div class="fancybox-title fancybox-title-'+th+'-wrap">'+tc+"</div>"),th){case"inside":ta=tu.skin;break;case"outside":ta=tu.wrap;break;case"over":ta=tu.inner;break;default:ta=tu.skin,tn.appendTo("body"),td&&tn.width(tn.width()),tn.wrapInner('<span class="child"></span>'),tu.current.margin[2]+=Math.abs(t_(tn.css("margin-bottom")))}tn["top"===ti.position?"prependTo":"appendTo"](ta)}}},ts.fn.fancybox=function(ti){var tn,ta=ts(this),tl=this.selector||"",tc=function(tc){var th,td,tp=ts(this).blur(),tf=tn;tc.ctrlKey||tc.altKey||tc.shiftKey||tc.metaKey||tp.is(".fancybox-wrap")||(th=ti.groupAttr||"data-fancybox-group",(td=tp.attr(th))||(th="rel",td=tp.get(0)[th]),td&&""!==td&&"nofollow"!==td&&(tf=(tp=(tp=tl.length?ts(tl):ta).filter("["+th+'="'+td+'"]')).index(this)),ti.index=tf,!1!==tu.open(tp,ti)&&tc.preventDefault())};return tn=(ti=ti||{}).index||0,tl&&!1!==ti.live?th.undelegate(tl,"click.fb-start").delegate(tl+":not('.fancybox-item, .fancybox-nav')","click.fb-start",tc):ta.unbind("click.fb-start").bind("click.fb-start",tc),this.filter("[data-fancybox-start=1]").trigger("click"),this},th.ready(function(){var tn,tc;ta===ts.scrollbarWidth&&(ts.scrollbarWidth=function(){var ti=ts('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),tn=ti.children(),ta=tn.innerWidth()-tn.height(99).innerWidth();return ti.remove(),ta}),ta===ts.support.fixedPosition&&(ts.support.fixedPosition=function(){var ti=ts('<div style="position:fixed;top:20px;"></div>').appendTo("body"),tn=20===ti[0].offsetTop||15===ti[0].offsetTop;return ti.remove(),tn}()),ts.extend(tu.defaults,{scrollbarWidth:ts.scrollbarWidth(),fixed:ts.support.fixedPosition,parent:ts("body")}),tn=ts(ti).width(),tl.addClass("fancybox-lock-test"),tc=ts(ti).width(),tl.removeClass("fancybox-lock-test"),ts("<style type='text/css'>.fancybox-margin{margin-right:"+(tc-tn)+"px;}</style>").appendTo("head")})}(window,document,jQuery),!function(ti){var tn=/Windows Phone/.test(navigator.userAgent)||"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch;function ts(tn){this.options=ti.extend({heightProp:"height",recalcOnPageScroll:!1,setScrollTo:"",extraSpacing:0},tn),this.init()}ts.prototype={init:function(){for(var ti,tn=this,ts=["height","max-height","maxHeight"],ta=0;ta<ts.length;ta++)ts[ta]===tn.options.heightProp&&(ti=!0);this.options.holder&&void 0!==ti&&(this.findElements(),this.attachEvents(),this.setHeight())},findElements:function(){this.scrollAreaWrapper=ti(this.options.holder),this.scrollArea=this.options.setScrollTo?this.scrollAreaWrapper.find(this.options.setScrollTo):this.scrollAreaWrapper},attachEvents:function(){if(!this.destroyed){var ts=this,ta=2e3,tl=null;this.onResize=function(){ts.setHeight()},this.onScroll=function(){clearTimeout(tl),tl=setTimeout(function(){ts.setHeight()},ta)},tn?(ti(window).on("orientationchange",this.onResize),ti(window).on("touchend",this.onScroll)):(ti(window).on("resize",this.onResize),this.options.recalcOnPageScroll&&ti(window).on("scroll",this.onScroll))}},calcHeight:function(){var tn=ti(window),ts=Math.round(this.scrollAreaWrapper.offset().top),ta=(window.innerHeight,window.innerHeight),tl=tn.scrollTop();this.scrollAreaWrapperHeight=0,ts>=tl?this.scrollAreaWrapperHeight=ta-(ts-tl)-this.options.extraSpacing:this.scrollAreaWrapperHeight=ta-(ts-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 ts=this;ts.destroyed=!0,tn?(ti(window).off("orientationchange",this.onResize),ti(window).off("touchend",this.onScroll)):(ti(window).off("resize",this.onResize),this.options.recalcOnPageScroll&&ti(window).off("scroll",this.onScroll)),this.scrollArea.css(this.options.heightProp,""),this.scrollArea.css("overflow",""),this.scrollAreaWrapper.removeData("scrollArea")}},ti.fn.scrollArea=function(tn){return this.each(function(){ti(this).data("scrollArea",new ts(ti.extend(tn,{holder:this})))})}}(jQuery),!/*! 10 Colorbox 1.6.4 11 license: MIT 12 http://www.jacklmoore.com/colorbox 13*/function(ti,tn,ts){function ta(ts,ta,tl){var tc=tn.createElement(ts);return ta&&(tc.id=t4+ta),tl&&(tc.style.cssText=tl),ti(tc)}function tl(){return ts.innerHeight?ts.innerHeight:ti(ts).height()}function tc(tn,ts){ts!==Object(ts)&&(ts={}),this.cache={},this.el=tn,this.value=function(tn){var ta;return void 0===this.cache[tn]&&(void 0!==(ta=ti(this.el).attr("data-cbox-"+tn))?this.cache[tn]=ta:void 0!==ts[tn]?this.cache[tn]=ts[tn]:void 0!==t1[tn]&&(this.cache[tn]=t1[tn])),this.cache[tn]},this.get=function(tn){var ts=this.value(tn);return ti.isFunction(ts)?ts.call(this.el,this):ts}}function th(ti){var tn=tO.length,ts=(tq+ti)%tn;return 0>ts?tn+ts:ts}function tu(ti,tn){return Math.round((/%/.test(ti)?("x"===tn?tL.width():tl())/100:1)*parseInt(ti,10))}function td(ti,tn){return ti.get("photo")||ti.get("photoRegex").test(tn)}function tp(ti,tn){return ti.get("retinaUrl")&&ts.devicePixelRatio>1?tn.replace(ti.get("photoRegex"),ti.get("retinaSuffix")):tn}function tf(ti){"contains"in tT[0]&&!tT[0].contains(ti.target)&&ti.target!==tx[0]&&(ti.stopPropagation(),tT.focus())}function tm(ti){tm.str!==ti&&(tT.add(tx).removeClass(tm.str).addClass(ti),tm.str=ti)}function tg(tn){tq=0,tn&&!1!==tn&&"nofollow"!==tn?-1===(tq=(tO=ti("."+t2).filter(function(){var ts=ti.data(this,t6);return new tc(this,ts).get("rel")===tn})).index(tF.el))&&(tq=(tO=tO.add(tF.el)).length-1):tO=ti(tF.el)}function tv(ts){ti(tn).trigger(ts),en.triggerHandler(ts)}function ty(ts){var tl;if(!tX){if(tl=ti(ts).data(t6),tg((tF=new tc(ts,tl)).get("rel")),!tY){tY=tK=!0,tm(tF.get("className")),tT.css({visibility:"hidden",display:"block",opacity:""}),tM=ta(eo,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),tC.css({width:"",height:""}).append(tM),tW=tj.height()+tP.height()+tC.outerHeight(!0)-tC.height(),tZ=tS.width()+tE.width()+tC.outerWidth(!0)-tC.width(),tV=tM.outerHeight(!0),tU=tM.outerWidth(!0);var th=tu(tF.get("initialWidth"),"x"),td=tu(tF.get("initialHeight"),"y"),tp=tF.get("maxWidth"),ty=tF.get("maxHeight");tF.w=Math.max((!1!==tp?Math.min(th,tu(tp,"x")):th)-tU-tZ,0),tF.h=Math.max((!1!==ty?Math.min(td,tu(ty,"y")):td)-tV-tW,0),tM.css({width:"",height:tF.h}),tJ.position(),tv(t5),tF.get("onOpen"),tH.add(tz).hide(),tT.focus(),tF.get("trapFocus")&&tn.addEventListener&&(tn.addEventListener("focus",tf,!0),en.one(t9,function(){tn.removeEventListener("focus",tf,!0)})),tF.get("returnFocus")&&en.one(t9,function(){ti(tF.el).focus()})}var t_=parseFloat(tF.get("opacity"));
vendor: 4,977 bytes, line 13
13tx.css({opacity:t_==t_?t_:"",cursor:tF.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),tF.get("closeButton")?tR.html(tF.get("close")).appendTo(tC):tR.appendTo("<div/>"),tw()}}function t_(){tT||(t0=!1,tL=ti(ts),tT=ta(eo).attr({id:t6,class:!1===ti.support.opacity?t4+"IE":"",role:"dialog",tabindex:"-1"}).hide(),tx=ta(eo,"Overlay").hide(),tA=ti([ta(eo,"LoadingOverlay")[0],ta(eo,"LoadingGraphic")[0]]),tk=ta(eo,"Wrapper"),tC=ta(eo,"Content").append(tz=ta(eo,"Title"),tN=ta(eo,"Current"),t$=ti('<button type="button"/>').attr({id:t4+"Previous"}),tB=ti('<button type="button"/>').attr({id:t4+"Next"}),tD=ti('<button type="button"/>').attr({id:t4+"Slideshow"}),tA),tR=ti('<button type="button"/>').attr({id:t4+"Close"}),tk.append(ta(eo).append(ta(eo,"TopLeft"),tj=ta(eo,"TopCenter"),ta(eo,"TopRight")),ta(eo,!1,"clear:left").append(tS=ta(eo,"MiddleLeft"),tC,tE=ta(eo,"MiddleRight")),ta(eo,!1,"clear:left").append(ta(eo,"BottomLeft"),tP=ta(eo,"BottomCenter"),ta(eo,"BottomRight"))).find("div div").css({float:"left"}),tI=ta(eo,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),tH=tB.add(t$).add(tN).add(tD)),tn.body&&!tT.parent().length&&ti(tn.body).append(tx,tT.append(tk,tI))}function tb(){function ts(ti){ti.which>1||ti.shiftKey||ti.altKey||ti.metaKey||ti.ctrlKey||(ti.preventDefault(),ty(this))}return!!tT&&(t0||(t0=!0,tB.click(function(){tJ.next()}),t$.click(function(){tJ.prev()}),tR.click(function(){tJ.close()}),tx.click(function(){tF.get("overlayClose")&&tJ.close()}),ti(tn).bind("keydown."+t4,function(ti){var tn=ti.keyCode;tY&&tF.get("escKey")&&27===tn&&(ti.preventDefault(),tJ.close()),tY&&tF.get("arrowKey")&&tO[1]&&!ti.altKey&&(37===tn?(ti.preventDefault(),t$.click()):39===tn&&(ti.preventDefault(),tB.click()))}),ti.isFunction(ti.fn.on)?ti(tn).on("click."+t4,"."+t2,ts):ti("."+t2).live("click."+t4,ts)),!0)}function tw(){var tn,tl,tc,th=tJ.prep,tf=++es;if(tK=!0,tG=!1,tv(ei),tv(t8),tF.get("onLoad"),tF.h=tF.get("height")?tu(tF.get("height"),"y")-tV-tW:tF.get("innerHeight")&&tu(tF.get("innerHeight"),"y"),tF.w=tF.get("width")?tu(tF.get("width"),"x")-tU-tZ:tF.get("innerWidth")&&tu(tF.get("innerWidth"),"x"),tF.mw=tF.w,tF.mh=tF.h,tF.get("maxWidth")&&(tF.mw=tu(tF.get("maxWidth"),"x")-tU-tZ,tF.mw=tF.w&&tF.w<tF.mw?tF.w:tF.mw),tF.get("maxHeight")&&(tF.mh=tu(tF.get("maxHeight"),"y")-tV-tW,tF.mh=tF.h&&tF.h<tF.mh?tF.h:tF.mh),tn=tF.get("href"),tQ=setTimeout(function(){tA.show()},100),tF.get("inline")){var tm=ti(tn).eq(0);tc=ti("<div>").hide().insertBefore(tm),en.one(ei,function(){tc.replaceWith(tm)}),th(tm)}else tF.get("iframe")?th(" "):tF.get("html")?th(tF.get("html")):td(tF,tn)?(tn=tp(tF,tn),ti(tG=tF.get("createImg")).addClass(t4+"Photo").bind("error."+t4,function(){th(ta(eo,"Error").html(tF.get("imgError")))}).one("load",function(){tf===es&&setTimeout(function(){var tn;tF.get("retinaImage")&&ts.devicePixelRatio>1&&(tG.height=tG.height/ts.devicePixelRatio,tG.width=tG.width/ts.devicePixelRatio),tF.get("scalePhotos")&&(tl=function(){tG.height-=tG.height*tn,tG.width-=tG.width*tn},tF.mw&&tG.width>tF.mw&&(tn=(tG.width-tF.mw)/tG.width,tl()),tF.mh&&tG.height>tF.mh&&(tn=(tG.height-tF.mh)/tG.height,tl())),tF.h&&(tG.style.marginTop=Math.max(tF.mh-tG.height,0)/2+"px"),tO[1]&&(tF.get("loop")||tO[tq+1])&&(tG.style.cursor="pointer",ti(tG).bind("click."+t4,function(){tJ.next()})),tG.style.width=tG.width+"px",tG.style.height=tG.height+"px",th(tG)},1)}),tG.src=tn):tn&&tI.load(tn,tF.get("data"),function(tn,ts){tf===es&&th("error"===ts?ta(eo,"Error").html(tF.get("xhrError")):ti(this).contents())})}var tx,tT,tk,tC,tj,tS,tE,tP,tO,tL,tM,tI,tA,tz,tN,tD,tB,t$,tR,tH,tF,tW,tZ,tV,tU,tq,tG,tY,tK,tX,tQ,tJ,t0,t1={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 ti(this).attr("href")},title:function(){return this.title},createImg:function(){var tn=new Image,ts=ti(this).data("cbox-img-attrs");return"object"==typeof ts&&ti.each(ts,function(ti,ts){tn[ti]=ts}),tn},createIframe:function(){var ts=tn.createElement("iframe"),ta=ti(this).data("cbox-iframe-attrs");return"object"==typeof ta&&ti.each(ta,function(ti,tn){ts[ti]=tn}
13),"frameBorder"in ts&&(ts.frameBorder=0),"allowTransparency"in ts&&(ts.allowTransparency="true"),ts.name=(new Date).getTime(),ts.allowFullscreen=!0,ts}},t6="colorbox",t4="cbox",t2=t4+"Element",t5=t4+"_open",t8=t4+"_load",t7=t4+"_complete",t3=t4+"_cleanup",t9=t4+"_closed",ei=t4+"_purge",en=ti("<a/>"),eo="div",es=0,er={},ec=function(){function ti(){clearTimeout(th)}function tn(){(tF.get("loop")||tO[tq+1])&&(ti(),th=setTimeout(tJ.next,tF.get("slideshowSpeed")))}function ts(){tD.html(tF.get("slideshowStop")).unbind(td).one(td,ta),en.bind(t7,tn).bind(t8,ti),tT.removeClass(tu+"off").addClass(tu+"on")}function ta(){ti(),en.unbind(t7,tn).unbind(t8,ti),tD.html(tF.get("slideshowStart")).unbind(td).one(td,function(){tJ.next(),ts()}),tT.removeClass(tu+"on").addClass(tu+"off")}function tl(){tc=!1,tD.hide(),ti(),en.unbind(t7,tn).unbind(t8,ti),tT.removeClass(tu+"off "+tu+"on")}var tc,th,tu=t4+"Slideshow_",td="click."+t4;return function(){tc?tF.get("slideshow")||(en.unbind(t3,tl),tl()):tF.get("slideshow")&&tO[1]&&(tc=!0,en.one(t3,tl),tF.get("slideshowAuto")?ts():ta(),tD.show())}}();ti[t6]||(ti(t_),(tJ=ti.fn[t6]=ti[t6]=function(tn,ts){var ta=this;return tn=tn||{},ti.isFunction(ta)&&(ta=ti("<a/>"),tn.open=!0),ta[0]&&(t_(),tb()&&(ts&&(tn.onComplete=ts),ta.each(function(){var ts=ti.data(this,t6)||{};ti.data(this,t6,ti.extend(ts,tn))}).addClass(t2),new tc(ta[0],tn).get("open")&&ty(ta[0]))),ta}).position=function(tn,ts){function ta(){tj[0].style.width=tP[0].style.width=tC[0].style.width=parseInt(tT[0].style.width,10)-tZ+"px",tC[0].style.height=tS[0].style.height=tE[0].style.height=parseInt(tT[0].style.height,10)-tW+"px"}var tc,th,td,tp=0,tf=0,tm=tT.offset();if(tL.unbind("resize."+t4),tT.css({top:-9e4,left:-9e4}),th=tL.scrollTop(),td=tL.scrollLeft(),tF.get("fixed")?(tm.top-=th,tm.left-=td,tT.css({position:"fixed"})):(tp=th,tf=td,tT.css({position:"absolute"})),tf+=!1!==tF.get("right")?Math.max(tL.width()-tF.w-tU-tZ-tu(tF.get("right"),"x"),0):!1!==tF.get("left")?tu(tF.get("left"),"x"):Math.round(Math.max(tL.width()-tF.w-tU-tZ,0)/2),tp+=!1!==tF.get("bottom")?Math.max(tl()-tF.h-tV-tW-tu(tF.get("bottom"),"y"),0):!1!==tF.get("top")?tu(tF.get("top"),"y"):Math.round(Math.max(tl()-tF.h-tV-tW,0)/2),tT.css({top:tm.top,left:tm.left,visibility:"visible"}),tk[0].style.width=tk[0].style.height="9999px",tc={width:tF.w+tU+tZ,height:tF.h+tV+tW,top:tp,left:tf},tn){var tg=0;ti.each(tc,function(ti){return tc[ti]!==er[ti]?void(tg=tn):void 0}),tn=tg}er=tc,tn||tT.css(tc),tT.dequeue().animate(tc,{duration:tn||0,complete:function(){ta(),tK=!1,tk[0].style.width=tF.w+tU+tZ+"px",tk[0].style.height=tF.h+tV+tW+"px",tF.get("reposition")&&setTimeout(function(){tL.bind("resize."+t4,tJ.position)},1),ti.isFunction(ts)&&ts()},step:ta})},tJ.resize=function(ti){var tn;tY&&((ti=ti||{}).width&&(tF.w=tu(ti.width,"x")-tU-tZ),ti.innerWidth&&(tF.w=tu(ti.innerWidth,"x")),tM.css({width:tF.w}),ti.height&&(tF.h=tu(ti.height,"y")-tV-tW),ti.innerHeight&&(tF.h=tu(ti.innerHeight,"y")),ti.innerHeight||ti.height||(tn=tM.scrollTop(),tM.css({height:"auto"}),tF.h=tM.height()),tM.css({height:tF.h}),tn&&tM.scrollTop(tn),tJ.position("none"===tF.get("transition")?0:tF.get("speed")))},tJ.prep=function(ts){function tl(){return tF.w=tF.w||tM.width(),tF.w=tF.mw&&tF.mw<tF.w?tF.mw:tF.w,tF.w}function tu(){return tF.h=tF.h||tM.height(),tF.h=tF.mh&&tF.mh<tF.h?tF.mh:tF.h,tF.h}if(tY){var tf,tg="none"===tF.get("transition")?0:tF.get("speed");tM.remove(),(tM=ta(eo,"LoadedContent").append(ts)).hide().appendTo(tI.show()).css({width:tl(),overflow:tF.get("scrolling")?"auto":"hidden"}).css({height:tu()}).prependTo(tC),tI.hide(),ti(tG).css({float:"none"}),tm(tF.get("className")),tf=function(){function ts(){!1===ti.support.opacity&&tT[0].style.removeAttribute("filter")}var ta,tl,tu=tO.length;tY&&(tl=function(){clearTimeout(tQ),tA.hide(),tv(t7),tF.get("onComplete")},tz.html(tF.get("title")).show(),tM.show(),tu>1?("string"==typeof tF.get("current")&&tN.html(tF.get("current").replace("{current}",tq+1).replace("{total}",tu)).show(),tB[tF.get("loop")||tu-1>tq?"show":"hide"]().html(tF.get("next")),t$[tF.get("loop")||tq?"show":"hide"]().html(tF.get("previous")),ec(),tF.get("preloading")&&ti.each([th(-1),th(1)],function(){var ts=tO[this],ta=new tc(ts,ti.data(ts,t6)),tl=ta.get("href");tl&&td(ta,tl)&&(tl=tp(ta,tl),tn.createElement("img").src=tl)})):tH.hide(),tF.get("iframe")?(ta=tF.get("createIframe"),tF.get("scrolling")||(ta.scrolling="no"),ti(ta).attr({src:tF.get("href"),class:t4+"Iframe"}).one("load",tl).appendTo(tM),en.one(ei,function(){ta.src="//about:blank"}),tF.get("fastIframe")&&ti(ta).trigger("load")):tl(),"fade"===tF.get("transition")?tT.fadeTo(tg,1,ts):ts())},"fade"===tF.get("transition")?tT.fadeTo(tg,0,function(){tJ.position(0,tf)}):tJ.position(tg,tf)}},tJ.next=function(){!tK&&tO[1]&&(tF.get("loop")||tO[tq+1])&&ty(tO[tq=th(1)])},tJ.prev=function(){!tK&&tO[1]&&(tF.get("loop")||tq)&&ty(tO[tq=th(-1)])},tJ.close=function(){tY&&!tX&&(tX=!0,tY=!1,tv(t3),tF.get("onCleanup"),tL.unbind("."+t4),tx.fadeTo(tF.get("fadeOut")||0,0),tT.stop().fadeTo(tF.get("fadeOut")||0,0,function(){tT.hide(),tx.hide(),tv(ei),tM.remove(),setTimeout(function(){tX=!1,tv(t9),tF.get("onClosed")},1)}))},tJ.remove=function(){tT&&(tT.stop(),ti[t6].close(),tT.stop(!1,!0).remove(),tx.remove(),tX=!1,tT=null,ti("."+t2).removeData(t6).removeClass(t2),ti(tn).unbind("click."+t4).unbind("
13keydown."+t4))},tJ.element=function(){return ti(tF.el)},tJ.settings=t1)}(jQuery,document,window),/** 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(ti){"object"==typeof exports&&"undefined"!=typeof module?module.exports=ti():"function"==typeof define&&define.amd?define([],ti):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).videojs=ti()}(function(){var ti;return(function ti(tn,ts,ta){function tl(th,tu){if(!ts[th]){if(!tn[th]){var td="function"==typeof require&&require;if(!tu&&td)return td(th,!0);if(tc)return tc(th,!0);var tp=Error("Cannot find module '"+th+"'");throw tp.code="MODULE_NOT_FOUND",tp}var tf=ts[th]={exports:{}};tn[th][0].call(tf.exports,function(ti){return tl(tn[th][1][ti]||ti)},tf,tf.exports,ti,tn,ts,ta)}return ts[th].exports}for(var tc="function"==typeof require&&require,th=0;th<ta.length;th++)tl(ta[th]);return tl})({1:[function(ti,tn){(function(ts){var ta=void 0!==ts?ts:"undefined"!=typeof window?window:{},tl=ti("min-document");if("undefined"!=typeof document)tn.exports=document;else{var tc=ta["__GLOBAL_DOCUMENT_CACHE@4"];tc||(tc=ta["__GLOBAL_DOCUMENT_CACHE@4"]=tl),tn.exports=tc}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"min-document":3}],2:[function(ti,tn){(function(ti){tn.exports="undefined"!=typeof window?window:void 0!==ti?ti:"undefined"!=typeof self?self:{}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(){},{}],4:[function(ti,tn){var ts=ti("../internal/getNative")(Date,"now")||function(){return(new Date).getTime()};tn.exports=ts},{"../internal/getNative":20}],5:[function(ti,tn){function ts(ti,tn,ts){function tu(){tw&&clearTimeout(tw),tv&&clearTimeout(tv),tT=0,tv=tw=tx=void 0}function td(tn,ts){ts&&clearTimeout(ts),tv=tw=tx=void 0,tn&&(tT=tl(),ty=ti.apply(tb,tg),tw||tv||(tg=tb=void 0))}function tp(){var ti=tn-(tl()-t_);0>=ti||ti>tn?td(tx,tv):tw=setTimeout(tp,ti)}function tf(){td(tC,tw)}function tm(){if(tg=arguments,t_=tl(),tb=this,tx=tC&&(tw||!tj),!1===tk)var ts=tj&&!tw;else{tv||tj||(tT=t_);var ta=tk-(t_-tT),tc=0>=ta||ta>tk;tc?(tv&&(tv=clearTimeout(tv)),tT=t_,ty=ti.apply(tb,tg)):tv||(tv=setTimeout(tf,ta))}return tc&&tw?tw=clearTimeout(tw):tw||tn===tk||(tw=setTimeout(tp,tn)),ts&&(tc=!0,ty=ti.apply(tb,tg)),!tc||tw||tv||(tg=tb=void 0),ty}var tg,tv,ty,t_,tb,tw,tx,tT=0,tk=!1,tC=!0;if("function"!=typeof ti)throw TypeError(tc);if(tn=0>tn?0:+tn||0,!0===ts){var tj=!0;tC=!1}else ta(ts)&&(tj=!!ts.leading,tk="maxWait"in ts&&th(+ts.maxWait||0,tn
23),tC="trailing"in ts?!!ts.trailing:tC);return tm.cancel=tu,tm}var ta=ti("../lang/isObject"),tl=ti("../date/now"),tc="Expected a function",th=Math.max;tn.exports=ts},{"../date/now":4,"../lang/isObject":33}],6:[function(ti,tn){function ts(ti,tn){if("function"!=typeof ti)throw TypeError(ta);return tn=tl(void 0===tn?ti.length-1:+tn||0,0),function(){for(var ts=arguments,ta=-1,tc=tl(ts.length-tn,0),th=Array(tc);++ta<tc;)th[ta]=ts[tn+ta];switch(tn){case 0:return ti.call(this,th);case 1:return ti.call(this,ts[0],th);case 2:return ti.call(this,ts[0],ts[1],th)}var tu=Array(tn+1);for(ta=-1;++ta<tn;)tu[ta]=ts[ta];return tu[tn]=th,ti.apply(this,tu)}}var ta="Expected a function",tl=Math.max;tn.exports=ts},{}],7:[function(ti,tn){function ts(ti,tn,ts){var th=!0,tu=!0;if("function"!=typeof ti)throw TypeError(tc);return!1===ts?th=!1:tl(ts)&&(th="leading"in ts?!!ts.leading:th,tu="trailing"in ts?!!ts.trailing:tu),ta(ti,tn,{leading:th,maxWait:+tn,trailing:tu})}var ta=ti("./debounce"),tl=ti("../lang/isObject"),tc="Expected a function";tn.exports=ts},{"../lang/isObject":33,"./debounce":5}],8:[function(ti,tn){function ts(ti,tn){var ts=-1,ta=ti.length;for(tn||(tn=Array(ta));++ts<ta;)tn[ts]=ti[ts];return tn}tn.exports=ts},{}],9:[function(ti,tn){function ts(ti,tn){for(var ts=-1,ta=ti.length;++ts<ta&&!1!==tn(ti[ts],ts,ti););return ti}tn.exports=ts},{}],10:[function(ti,tn){function ts(ti,tn,ts){ts||(ts={});for(var ta=-1,tl=tn.length;++ta<tl;){var tc=tn[ta];ts[tc]=ti[tc]}return ts}tn.exports=ts},{}],11:[function(ti,tn){var ts=ti("./createBaseFor")();tn.exports=ts},{"./createBaseFor":18}],12:[function(ti,tn){function ts(ti,tn){return ta(ti,tn,tl)}var ta=ti("./baseFor"),tl=ti("../object/keysIn");tn.exports=ts},{"../object/keysIn":39,"./baseFor":11}],13:[function(ti,tn){function ts(ti,tn,tm,tg,tv){if(!tu(ti))return ti;var ty=th(tn)&&(tc(tn)||tp(tn)),t_=ty?void 0:tf(tn);return ta(t_||tn,function(ta,tc){if(t_&&(ta=tn[tc=ta]),td(ta))tg||(tg=[]),tv||(tv=[]),tl(ti,tn,tc,ts,tm,tg,tv);else{var th=ti[tc],tu=tm?tm(th,ta,tc,ti,tn):void 0,tp=void 0===tu;tp&&(tu=ta),void 0===tu&&(!ty||tc in ti)||!tp&&(tu==tu?tu===th:th!=th)||(ti[tc]=tu)}}),ti}var ta=ti("./arrayEach"),tl=ti("./baseMergeDeep"),tc=ti("../lang/isArray"),th=ti("./isArrayLike"),tu=ti("../lang/isObject"),td=ti("./isObjectLike"),tp=ti("../lang/isTypedArray"),tf=ti("../object/keys");tn.exports=ts},{"../lang/isArray":30,"../lang/isObject":33,"../lang/isTypedArray":36,"../object/keys":38,"./arrayEach":9,"./baseMergeDeep":14,"./isArrayLike":21,"./isObjectLike":26}],14:[function(ti,tn){function ts(ti,tn,ts,tf,tm,tg,tv){for(var ty=tg.length,t_=tn[ts];ty--;)if(tg[ty]==t_)return void(ti[ts]=tv[ty]);var tb=ti[ts],tw=tm?tm(tb,t_,ts,ti,tn):void 0,tx=void 0===tw;tx&&(tw=t_,th(t_)&&(tc(t_)||td(t_))?tw=tc(tb)?tb:th(tb)?ta(tb):[]:tu(t_)||tl(t_)?tw=tl(tb)?tp(tb):tu(tb)?tb:{}:tx=!1),tg.push(t_),tv.push(tw),tx?ti[ts]=tf(tw,t_,tm,tg,tv):(tw==tw?tw!==tb:tb==tb)&&(ti[ts]=tw)}var ta=ti("./arrayCopy"),tl=ti("../lang/isArguments"),tc=ti("../lang/isArray"),th=ti("./isArrayLike"),tu=ti("../lang/isPlainObject"),td=ti("../lang/isTypedArray"),tp=ti("../lang/toPlainObject");tn.exports=ts},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isPlainObject":34,"../lang/isTypedArray":36,"../lang/toPlainObject":37,"./arrayCopy":8,"./isArrayLike":21}],15:[function(ti,tn){function ts(ti){return function(tn){return null==tn?void 0:ta(tn)[ti]}}var ta=ti("./toObject");tn.exports=ts},{"./toObject":28}],16:[function(ti,tn){function ts(ti,tn,ts){if("function"!=typeof ti)return ta;if(void 0===tn)return ti;switch(ts){case 1:return function(ts){return ti.call(tn,ts)};case 3:return function(ts,ta,tl){return ti.call(tn,ts,ta,tl)};case 4:return function(ts,ta,tl,tc){return ti.call(tn,ts,ta,tl,tc)};case 5:return function(ts,ta,tl,tc,th){return ti.call(tn,ts,ta,tl,tc,th)}}return function(){return ti.apply(tn,arguments)}}var ta=ti("../utility/identity");tn.exports=ts},{"../utility/identity":42}],17:[function(ti,tn){function ts(ti){return tc(function(tn,ts){var tc=-1,th=null==tn?0:ts.length,tu=th>2?ts[th-2]:void 0,td=th>2?ts[2]:void 0,tp=th>1?ts[th-1]:void 0;for("function"==typeof tu?(tu=ta(tu,tp,5),th-=2):th-=(tu="function"==typeof tp?tp:void 0)?1:0,td&&tl(ts[0],ts[1],td)&&(tu=3>th?void 0:tu,th=1);++tc<th;){var tf=ts[tc];tf&&ti(tn,tf,tu)}return tn})}var ta=ti("./bindCallback"),tl=ti("./isIterateeCall"),tc=ti("../function/restParam");tn.exports=ts},{"../function/restParam":6,"./bindCallback":16,"./isIterateeCall":24}],18:[function(ti,tn){function ts(ti){return function(tn,ts,tl){for(var tc=ta(tn),th=tl(tn),tu=th.length,td=ti?tu:-1;ti?td--:++td<tu;){var tp=th[td];if(!1===ts(tc[tp],tp,tc))break}return tn}}var ta=ti("./toObject");tn.exports=ts},{"./toObject":28}],19:[function(ti,tn){var ts=ti("./baseProperty")("length");tn.exports=ts},{"./baseProperty":15}],20:[function(ti,tn){function ts(ti,tn){var ts=null==ti?void 0:ti[tn];return ta(ts)?ts:void 0}var ta=ti("../lang/isNative");tn.exports=ts},{"../lang/isNative":32}],21:[function(ti,tn){function ts(ti){return null!=ti&&tl(ta(ti))}var ta=ti("./getLength"),tl=ti("./isLength");tn.exports=ts},{"./getLength":19,"./isLength":25}],22:[function(ti,tn){var ts=function(){return function(ti){return"function"!=typeof ti.toString&&"string"==typeof(ti+"")}}();tn.exports=ts},{}],23:[function(ti,tn){function ts(ti,tn){return ti="number"==typeof ti||ta.test(ti)?+ti:-1,tn=null==tn?tl:tn,ti>-1&&ti%1==0&&tn>ti}var ta=/^\d+$/,tl=9007199254740991;tn.exports=ts},{}],24:[function(ti,tn){function ts(ti,tn,ts){if(!tc(ts))return!1;var th=typeof tn;if("number"==th?ta(ts)&&tl(tn,ts.length):"string"==th&&tn in ts){var tu=ts[tn];return ti==ti?ti===tu:tu!=tu}return!1}var ta=ti("./isArrayLike"),tl=ti("./isIndex"),tc=ti("../lang/isObject");tn.exports=ts},{"../lang/isObject":33,"./isArrayLike":21,"./isIndex":23}],25:[function(ti,tn){function ts(ti){return"number"==typeof ti&&ti>-1&&ti%1==0&&ta>=ti}var ta=9007199254740991;tn.exports=ts},{}],26:[function(ti,tn){function ts(ti){return!!ti&&"object"==typeof ti}tn.exports=ts},{}],27:[function(ti,tn){function ts(ti){for(var tn=td(ti),ts=tn.length,tf=ts&&ti.length,tm=!!tf&&th(tf)&&(tl(ti)||ta(ti)||tu(ti)),tg=-1,tv=[];++tg<ts;){var ty=tn[tg];(tm&&tc(ty,tf)||tp.call(ti,ty))&&tv.push(ty)}return tv}var ta=ti("../lang/isArguments"),tl=ti("../lang/isArray"),tc=ti("./isIndex"),th=ti("./isLength"),tu=ti("../lang/isString"),td=ti("../object/keysIn"),tp=Object.prototype.hasOwnProperty;tn.exports=ts},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isString":35,"../object/keysIn":39,"./isIndex":23,"./isLength":25}],28:[function(ti,tn){function ts(ti){if(tc.unindexedChars&&tl(ti)){for(var tn=-1,ts=ti.length,th=Object(ti);++tn<ts;)th[tn]=ti.charAt(tn);return th}return ta(ti)?ti:Object(ti)}var ta=ti("../lang/isObject"),tl=ti("../lang/isString"),tc=ti("../support");tn.exports=ts},{"../lang/isObject":33,"../lang/isString":35,"../support":41}],29:[function(ti,tn){function ts(ti){return tl(ti)&&ta(ti)&&th.call(ti,"callee")&&!tu.call(ti,"callee")}var ta=ti("../internal/isArrayLike"),tl=ti("../internal/isObjectLike"),tc=Object.prototype,th=tc.hasOwnProperty,tu=tc.propertyIsEnumerable;tn.exports=ts},{"../internal/isArrayLike":21,"../internal/isObjectLike":26}],30:[function(ti,tn){var ts=ti("../internal/getNative"),ta=ti("../internal/isLength"),tl=ti("../internal/isObjectLike"),tc="[object Array]",th=Object.prototype.toString,tu=ts(Array,"isArray")||function(ti){return tl(ti)&&ta(ti.length)&&th.call(ti)==tc};tn.exports=tu},{"../internal/getNative":20,"../internal/isLength":25,"../internal/isObjectLike":26}],31:[function(ti,tn){function ts(ti){return ta(ti)&&tc.call(ti)==tl}var ta=ti("./isObject"),tl="[object Function]",tc=Object.prototype.toString;tn.exports=ts},{"./isObject":33}],32:[function(ti,tn){function ts(ti){return null!=ti&&(ta(ti)?tf.test(td.call(ti)):tc(ti)&&(tl(ti)?tf:th).test(ti))}
23var ta=ti("./isFunction"),tl=ti("../internal/isHostObject"),tc=ti("../internal/isObjectLike"),th=/^\[object .+?Constructor\]$/,tu=Object.prototype,td=Function.prototype.toString,tp=tu.hasOwnProperty,tf=RegExp("^"+td.call(tp).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");tn.exports=ts},{"../internal/isHostObject":22,"../internal/isObjectLike":26,"./isFunction":31}],33:[function(ti,tn){function ts(ti){var tn=typeof ti;return!!ti&&("object"==tn||"function"==tn)}tn.exports=ts},{}],34:[function(ti,tn){function ts(ti){var tn,ts;return!(!th(ti)||tm.call(ti)!=td||tc(ti)||tl(ti))&&(!!tf.call(ti,"constructor")||"function"!=typeof(tn=ti.constructor)||tn instanceof tn)&&(tu.ownLast?(ta(ti,function(ti,tn,ta){return ts=tf.call(ta,tn),!1}),!1!==ts):(ta(ti,function(ti,tn){ts=tn}),void 0===ts||tf.call(ti,ts)))}var ta=ti("../internal/baseForIn"),tl=ti("./isArguments"),tc=ti("../internal/isHostObject"),th=ti("../internal/isObjectLike"),tu=ti("../support"),td="[object Object]",tp=Object.prototype,tf=tp.hasOwnProperty,tm=tp.toString;tn.exports=ts},{"../internal/baseForIn":12,"../internal/isHostObject":22,"../internal/isObjectLike":26,"../support":41,"./isArguments":29}],35:[function(ti,tn){function ts(ti){return"string"==typeof ti||ta(ti)&&tc.call(ti)==tl}var ta=ti("../internal/isObjectLike"),tl="[object String]",tc=Object.prototype.toString;tn.exports=ts},{"../internal/isObjectLike":26}],36:[function(ti,tn){function ts(ti){return tl(ti)&&ta(ti.length)&&!!tL[tM.call(ti)]}var ta=ti("../internal/isLength"),tl=ti("../internal/isObjectLike"),tc="[object Arguments]",th="[object Array]",tu="[object Boolean]",td="[object Date]",tp="[object Error]",tf="[object Function]",tm="[object Map]",tg="[object Number]",tv="[object Object]",ty="[object RegExp]",t_="[object Set]",tb="[object String]",tw="[object WeakMap]",tx="[object ArrayBuffer]",tT="[object Float64Array]",tk="[object Int8Array]",tC="[object Int16Array]",tj="[object Int32Array]",tS="[object Uint8Array]",tE="[object Uint8ClampedArray]",tP="[object Uint16Array]",tO="[object Uint32Array]",tL={};tL["[object Float32Array]"]=tL[tT]=tL[tk]=tL[tC]=tL[tj]=tL[tS]=tL[tE]=tL[tP]=tL[tO]=!0,tL[tc]=tL[th]=tL[tx]=tL[tu]=tL[td]=tL[tp]=tL[tf]=tL[tm]=tL[tg]=tL[tv]=tL[ty]=tL[t_]=tL[tb]=tL[tw]=!1;var tM=Object.prototype.toString;tn.exports=ts},{"../internal/isLength":25,"../internal/isObjectLike":26}],37:[function(ti,tn){function ts(ti){return ta(ti,tl(ti))}var ta=ti("../internal/baseCopy"),tl=ti("../object/keysIn");tn.exports=ts},{"../internal/baseCopy":10,"../object/keysIn":39}],38:[function(ti,tn){var ts=ti("../internal/getNative"),ta=ti("../internal/isArrayLike"),tl=ti("../lang/isObject"),tc=ti("../internal/shimKeys"),th=ti("../support"),tu=ts(Object,"keys"),td=tu?function(ti){var tn=null==ti?void 0:ti.constructor;return"function"==typeof tn&&tn.prototype===ti||("function"==typeof ti?th.enumPrototypes:ta(ti))?tc(ti):tl(ti)?tu(ti):[]}:tc;tn.exports=td},{"../internal/getNative":20,"../internal/isArrayLike":21,"../internal/shimKeys":27,"../lang/isObject":33,"../support":41}],39:[function(ti,tn){function ts(ti){if(null==ti)return[];tp(ti)||(ti=Object(ti));var tn=ti.length;tn=tn&&td(tn)&&(tc(ti)||tl(ti)||tf(ti))&&tn||0;for(var ts=ti.constructor,ta=-1,tg=th(ts)&&ts.prototype||tS,tv=tg===ti,ty=Array(tn),tb=tn>0,tw=tm.enumErrorProps&&(ti===tj||ti instanceof Error),tT=tm.enumPrototypes&&th(ti);++ta<tn;)ty[ta]=ta+"";for(var tM in ti)tT&&"prototype"==tM||tw&&("message"==tM||"name"==tM)||tb&&tu(tM,tn)||"constructor"==tM&&(tv||!tP.call(ti,tM))||ty.push(tM);if(tm.nonEnumShadows&&ti!==tS){var tI=ti===tE?tk:ti===tj?t_:tO.call(ti),tA=tL[tI]||tL[tx];for(tI==tx&&(tg=tS),tn=tC.length;tn--;){var tz=tA[tM=tC[tn]];tv&&tz||(tz?!tP.call(ti,tM):ti[tM]===tg[tM])||ty.push(tM)}}return ty}var ta=ti("../internal/arrayEach"),tl=ti("../lang/isArguments"),tc=ti("../lang/isArray"),th=ti("../lang/isFunction"),tu=ti("../internal/isIndex"),td=ti("../internal/isLength"),tp=ti("../lang/isObject"),tf=ti("../lang/isString"),tm=ti("../support"),tg="[object Array]",tv="[object Boolean]",ty="[object Date]",t_="[object Error]",tb="[object Function]",tw="[object Number]",tx="[object Object]",tT="[object RegExp]",tk="[object String]",tC=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
23ing","toString","valueOf"],tj=Error.prototype,tS=Object.prototype,tE=String.prototype,tP=tS.hasOwnProperty,tO=tS.toString,tL={};tL[tg]=tL[ty]=tL[tw]={constructor:!0,toLocaleString:!0,toString:!0,valueOf:!0},tL[tv]=tL[tk]={constructor:!0,toString:!0,valueOf:!0},tL[t_]=tL[tb]=tL[tT]={constructor:!0,toString:!0},tL[tx]={constructor:!0},ta(tC,function(ti){for(var tn in tL)if(tP.call(tL,tn)){var ts=tL[tn];ts[ti]=tP.call(ts,ti)}}),tn.exports=ts},{"../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(ti,tn){var ts=ti("../internal/baseMerge"),ta=ti("../internal/createAssigner")(ts);tn.exports=ta},{"../internal/baseMerge":13,"../internal/createAssigner":17}],41:[function(ti,tn){var ts=Array.prototype,ta=Error.prototype,tl=Object.prototype.propertyIsEnumerable,tc=ts.splice,th={};(function(ti){var tn=function(){this.x=ti},ts={0:ti,length:ti},tu=[];for(var td in tn.prototype={valueOf:ti,y:ti},new tn)tu.push(td);th.enumErrorProps=tl.call(ta,"message")||tl.call(ta,"name"),th.enumPrototypes=tl.call(tn,"prototype"),th.nonEnumShadows=!/valueOf/.test(tu),th.ownLast="x"!=tu[0],th.spliceObjects=(tc.call(ts,0,1),!ts[0]),th.unindexedChars="x"+Object("x")[0]!="xx"})(1,0),tn.exports=th},{}],42:[function(ti,tn){function ts(ti){return ti}tn.exports=ts},{}],43:[function(ti,tn){"use strict";var ts=ti("object-keys");tn.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var ti={},tn=Symbol("test");if("string"==typeof tn)return!1;var ta=42;for(tn in ti[tn]=ta,ti)return!1;if(0!==ts(ti).length||"function"==typeof Object.keys&&0!==Object.keys(ti).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(ti).length)return!1;var tl=Object.getOwnPropertySymbols(ti);if(1!==tl.length||tl[0]!==tn||!Object.prototype.propertyIsEnumerable.call(ti,tn))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var tc=Object.getOwnPropertyDescriptor(ti,tn);if(tc.value!==ta||!0!==tc.enumerable)return!1}return!0}},{"object-keys":50}],44:[function(ti,tn){"use strict";var ts=ti("object-keys"),ta=ti("function-bind"),tl=function(ti){return null!=ti},tc=ti("./hasSymbols")(),th=Object,tu=ta.call(Function.call,Array.prototype.push),td=ta.call(Function.call,Object.prototype.propertyIsEnumerable);tn.exports=function(ti){if(!tl(ti))throw TypeError("target must be an object");var tn,ta,tp,tf,tm,tg,tv,ty=th(ti);for(tn=1;tn<arguments.length;++tn){if(ta=th(arguments[tn]),tf=ts(ta),tc&&Object.getOwnPropertySymbols)for(tm=Object.getOwnPropertySymbols(ta),tp=0;tp<tm.length;++tp)tv=tm[tp],td(ta,tv)&&tu(tf,tv);for(tp=0;tp<tf.length;++tp)tg=ta[tv=tf[tp]],td(ta,tv)&&(ty[tv]=tg)}return ty}},{"./hasSymbols":43,"function-bind":49,"object-keys":50}],45:[function(ti,tn){"use strict";var ts=ti("define-properties"),ta=ti("./implementation");ts(ta,{implementation:ta,getPolyfill:ti("./polyfill"),shim:ti("./shim")}),tn.exports=ta},{"./implementation":44,"./polyfill":52,"./shim":53,"define-properties":46}],46:[function(ti,tn){"use strict";var ts=ti("object-keys"),ta=ti("foreach"),tl="function"==typeof Symbol&&"symbol"==typeof Symbol(),tc=Object.prototype.toString,th=function(ti){return"function"==typeof ti&&"[object Function]"===tc.call(ti)},tu=function(){var ti={};try{for(var tn in Object.defineProperty(ti,"x",{enumerable:!1,value:ti}),ti)return!1;return ti.x===ti}catch(ti){return!1}},td=Object.defineProperty&&tu(),tp=function(ti,tn,ts,ta){(!(tn in ti)||th(ta)&&ta())&&(td?Object.defineProperty(ti,tn,{configurable:!0,enumerable:!1,value:ts,writable:!0}):ti[tn]=ts)},tf=function(ti,tn){var tc=arguments.length>2?arguments[2]:{},th=ts(tn);tl&&(th=th.concat(Object.getOwnPropertySymbols(tn))),ta(th,function(ts){tp(ti,ts,tn[ts],tc[ts])})};tf.supportsDescriptors=!!td,tn.exports=tf},{foreach:47,"object-keys":50}],47:[function(ti,tn){var ts=Object.prototype.hasOwnProperty,ta=Object.prototype.toString;tn.exports=function(ti,tn,tl){if("[object Function]"!==ta.call(tn))throw TypeError("iterator must be a function");var tc=ti.length;if(tc===+tc)for(var th=0;tc>th;th++)tn.call(tl,ti[th],th,ti);else for(var tu in ti)ts.call(ti,tu)&&tn.call(tl,ti[tu],tu,ti)}},{}],48:[function(ti,tn){var ts="Function.prototype.bind called on incompatible ",ta=Array.prototype.slice,tl=Object.prototype.toString,tc="[object Function]";tn.exports=function(ti){var tn=this;if("function"!=typeof tn||tl.call(tn)!==tc)throw TypeError(ts+tn);
23for(var th,tu=ta.call(arguments,1),td=function(){if(this instanceof th){var ts=tn.apply(this,tu.concat(ta.call(arguments)));return Object(ts)===ts?ts:this}return tn.apply(ti,tu.concat(ta.call(arguments)))},tp=Math.max(0,tn.length-tu.length),tf=[],tm=0;tp>tm;tm++)tf.push("$"+tm);if(th=Function("binder","return function ("+tf.join(",")+"){ return binder.apply(this,arguments); }")(td),tn.prototype){var tg=function(){};tg.prototype=tn.prototype,th.prototype=new tg,tg.prototype=null}return th}},{}],49:[function(ti,tn){var ts=ti("./implementation");tn.exports=Function.prototype.bind||ts},{"./implementation":48}],50:[function(ti,tn){"use strict";var ts=Object.prototype.hasOwnProperty,ta=Object.prototype.toString,tl=Array.prototype.slice,tc=ti("./isArguments"),th=!({toString:null}).propertyIsEnumerable("toString"),tu=(function(){}).propertyIsEnumerable("prototype"),td=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],tp=function(ti){var tn=ti.constructor;return tn&&tn.prototype===ti},tf={$console:!0,$frame:!0,$frameElement:!0,$frames:!0,$parent:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},tm=function(){if("undefined"==typeof window)return!1;for(var ti in window)try{if(!tf["$"+ti]&&ts.call(window,ti)&&null!==window[ti]&&"object"==typeof window[ti])try{tp(window[ti])}catch(ti){return!0}}catch(ti){return!0}return!1}(),tg=function(ti){if("undefined"==typeof window||!tm)return tp(ti);try{return tp(ti)}catch(ti){return!1}},tv=function(ti){var tn=null!==ti&&"object"==typeof ti,tl="[object Function]"===ta.call(ti),tp=tc(ti),tf=tn&&"[object String]"===ta.call(ti),tm=[];if(!tn&&!tl&&!tp)throw TypeError("Object.keys called on a non-object");var tv=tu&&tl;if(tf&&ti.length>0&&!ts.call(ti,0))for(var ty=0;ty<ti.length;++ty)tm.push(String(ty));if(tp&&ti.length>0)for(var t_=0;t_<ti.length;++t_)tm.push(String(t_));else for(var tb in ti)tv&&"prototype"===tb||!ts.call(ti,tb)||tm.push(String(tb));if(th)for(var tw=tg(ti),tx=0;tx<td.length;++tx)tw&&"constructor"===td[tx]||!ts.call(ti,td[tx])||tm.push(td[tx]);return tm};tv.shim=function(){if(Object.keys){if(!function(){return 2===(Object.keys(arguments)||"").length}(1,2)){var ti=Object.keys;Object.keys=function(tn){return ti(tc(tn)?tl.call(tn):tn)}}}else Object.keys=tv;return Object.keys||tv},tn.exports=tv},{"./isArguments":51}],51:[function(ti,tn){"use strict";var ts=Object.prototype.toString;tn.exports=function(ti){var tn=ts.call(ti),ta="[object Arguments]"===tn;return ta||(ta="[object Array]"!==tn&&null!==ti&&"object"==typeof ti&&"number"==typeof ti.length&&ti.length>=0&&"[object Function]"===ts.call(ti.callee)),ta}},{}],52:[function(ti,tn){"use strict";var ts=ti("./implementation"),ta=function(){if(!Object.assign)return!1;for(var ti="abcdefghijklmnopqrst",tn=ti.split(""),ts={},ta=0;ta<tn.length;++ta)ts[tn[ta]]=tn[ta];var tl=Object.assign({},ts),tc="";for(var th in tl)tc+=th;return ti!==tc},tl=function(){if(!Object.assign||!Object.preventExtensions)return!1;var ti=Object.preventExtensions({1:2});try{Object.assign(ti,"xy")}catch(tn){return"y"===ti[1]}};tn.exports=function(){return Object.assign?ta()?ts:tl()?ts:Object.assign:ts}},{"./implementation":44}],53:[function(ti,tn){"use strict";var ts=ti("define-properties"),ta=ti("./polyfill");tn.exports=function(){var ti=ta();return ts(Object,{assign:ti},{assign:function(){return Object.assign!==ti}}),ti}},{"./polyfill":52,"define-properties":46}],54:[function(ti,tn){function ts(ti,tn){var ts,ta=null;try{ts=JSON.parse(ti,tn)}catch(ti){ta=ti}return[ta,ts]}tn.exports=ts},{}],55:[function(ti,tn){function ts(ti){return ti.replace(/\n\r?\s*/g,"")}tn.exports=function(ti){for(var tn="",ta=0;ta<arguments.length;ta++)tn+=ts(ti[ta])+(arguments[ta+1]||"");return tn}},{}],56:[function(ti,tn){"use strict";function ts(ti,tn){for(var ts=0;ts<ti.length;ts++)tn(ti[ts])}function ta(ti){for(var tn in ti)if(ti.hasOwnProperty(tn))return!1;return!0}function tl(ti,tn,ts){var ta=ti;return tf(tn)?(ts=tn,"string"==typeof ti&&(ta={uri:ti})):ta=tg(tn,{uri:ti}),ta.callback=ts,ta}function tc(ti,tn,ts){return th(tn=tl(ti,tn,ts))}function th(ti){function tn(){4===tf.readyState&&th()}function ts(){var ti=void 0;if(tf.response?ti=tf.response:"text"!==tf.responseType&&tf.responseType||(ti=tf.responseText||tf.responseXML),tk)try{ti=JSON.parse(ti)}catch(ti){}return ti}function tl(ti){clearTimeout(ty),ti instanceof Error||(ti=Error(""+(ti||"Unknown XMLHttpRequest Error"))),ti.statusCode=0,tu(ti,td)}function th(){if(!tv){clearTimeout(ty);var tn,ta=td,tl=null;0!==(tn=ti.useXDR&&void 0===tf.status?200:1223===tf.status?204:tf.status)?(ta={body:ts(),statusCode:tn,method:tb,headers:{},url:t_,rawRequest:tf},tf.getAllResponseHeaders&&(ta.headers=tm(tf.getAllResponseHeaders()))):tl=Error("Internal XMLHttpRequest Error"),tu(tl,ta,ta.body)}}var tu=ti.callback;if(void 0===tu)throw Error("callback argument missing");tu=tp(tu);var td={body:void 0,headers:{},statusCode:0,method:tb,url:t_,rawRequest:tf},tf=ti.xhr||null;tf||(tf=ti.cors||ti.useXDR?new tc.XDomainRequest:new tc.XMLHttpRequest);var tg,tv,ty,t_=tf.url=ti.uri||ti.url,tb=tf.method=ti.method||"GET",tw=ti.body||ti.data||null,tx=tf.headers=ti.headers||{},tT=!!ti.sync,tk=!1;if("json"in ti&&(tk=!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(ti.json))),tf.onreadystatechange=tn,tf.onload=th,tf.onerror=tl,tf.onprogress=function(){},tf.ontimeout=tl,tf.open(tb,t_,!tT,ti.username,ti.password),tT||(tf.withCredentials=!!ti.withCredentials),!tT&&ti.timeout>0&&(ty=setTimeout(function(){tv=!0,tf.abort("timeout");var ti=Error("XMLHttpRequest timeout");
23ti.code="ETIMEDOUT",tl(ti)},ti.timeout)),tf.setRequestHeader)for(tg in tx)tx.hasOwnProperty(tg)&&tf.setRequestHeader(tg,tx[tg]);else if(ti.headers&&!ta(ti.headers))throw Error("Headers cannot be set on an XDomainRequest object");return"responseType"in ti&&(tf.responseType=ti.responseType),"beforeSend"in ti&&"function"==typeof ti.beforeSend&&ti.beforeSend(tf),tf.send(tw),tf}function tu(){}var td=ti("global/window"),tp=ti("once"),tf=ti("is-function"),tm=ti("parse-headers"),tg=ti("xtend");tn.exports=tc,tc.XMLHttpRequest=td.XMLHttpRequest||tu,tc.XDomainRequest="withCredentials"in new tc.XMLHttpRequest?tc.XMLHttpRequest:td.XDomainRequest,ts(["get","put","post","patch","head","delete"],function(ti){tc["delete"===ti?"del":ti]=function(tn,ts,ta){return(ts=tl(tn,ts,ta)).method=ti.toUpperCase(),th(ts)}})},{"global/window":2,"is-function":57,once:58,"parse-headers":61,xtend:62}],57:[function(ti,tn){function ts(ti){var tn=ta.call(ti);return"[object Function]"===tn||"function"==typeof ti&&"[object RegExp]"!==tn||"undefined"!=typeof window&&(ti===window.setTimeout||ti===window.alert||ti===window.confirm||ti===window.prompt)}tn.exports=ts;var ta=Object.prototype.toString},{}],58:[function(ti,tn){function ts(ti){var tn=!1;return function(){return tn?void 0:(tn=!0,ti.apply(this,arguments))}}tn.exports=ts,ts.proto=ts(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return ts(this)},configurable:!0})})},{}],59:[function(ti,tn){function ts(ti,tn,ts){if(!th(tn))throw TypeError("iterator must be a function");arguments.length<3&&(ts=this),"[object Array]"===tu.call(ti)?ta(ti,tn,ts):"string"==typeof ti?tl(ti,tn,ts):tc(ti,tn,ts)}function ta(ti,tn,ts){for(var ta=0,tl=ti.length;tl>ta;ta++)td.call(ti,ta)&&tn.call(ts,ti[ta],ta,ti)}function tl(ti,tn,ts){for(var ta=0,tl=ti.length;tl>ta;ta++)tn.call(ts,ti.charAt(ta),ta,ti)}function tc(ti,tn,ts){for(var ta in ti)td.call(ti,ta)&&tn.call(ts,ti[ta],ta,ti)}var th=ti("is-function");tn.exports=ts;var tu=Object.prototype.toString,td=Object.prototype.hasOwnProperty},{"is-function":57}],60:[function(ti,tn,ts){function ta(ti){return ti.replace(/^\s*|\s*$/g,"")}(ts=tn.exports=ta).left=function(ti){return ti.replace(/^\s*/,"")},ts.right=function(ti){return ti.replace(/\s*$/,"")}},{}],61:[function(ti,tn){var ts=ti("trim"),ta=ti("for-each"),tl=function(ti){return"[object Array]"===Object.prototype.toString.call(ti)};tn.exports=function(ti){if(!ti)return{};var tn={};return ta(ts(ti).split("\n"),function(ti){var ta=ti.indexOf(":"),tc=ts(ti.slice(0,ta)).toLowerCase(),th=ts(ti.slice(ta+1));void 0===tn[tc]?tn[tc]=th:tl(tn[tc])?tn[tc].push(th):tn[tc]=[tn[tc],th]}),tn}},{"for-each":59,trim:60}],62:[function(ti,tn){function ts(){for(var ti={},tn=0;tn<arguments.length;tn++){var ts=arguments[tn];for(var tl in ts)ta.call(ts,tl)&&(ti[tl]=ts[tl])}return ti}tn.exports=ts;var ta=Object.prototype.hasOwnProperty},{}],63:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("./button.js")),tu=ta(ti("./component.js")),td=function(ti){function tn(ts,ta){tl(this,tn),ti.call(this,ts,ta)}return tc(tn,ti),tn.prototype.buildCSSClass=function(){return"vjs-big-play-button"},tn.prototype.handleClick=function(){this.player_.play()},tn}(th.default);td.prototype.controlText_="Play Video",tu.default.registerComponent("BigPlayButton",td),ts.default=td,tn.exports=ts.default},{"./button.js":64,"./component.js":67}],64:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("./clickable-component.js")),td=tl(ti("./component")),tp=(ta(ti("./utils/events.js")),ti("./utils/fn.js")),tf=tl((ta(tp),ti("./utils/log.js"))),tm=(tl(ti("global/document")),ti("object.assign")),tg=tl(tm),tv=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta)}return th(tn,ti),tn.prototype.createEl=function(){var ti=arguments.length<=0||void 0===arguments[0]?"button":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()},tn),"button"!==ti&&(tf.default.warn("Creating a Button with an HTML element of "+ti+" is deprecated; use ClickableComponent instead."),tn=tg.default({tabIndex:0},tn),ts=tg.default({role:"button"},ts)),ts=tg.default({type:"button","aria-live":"polite"},ts);var ta=td.default.prototype.createEl.call(this,ti,tn,ts);return this.createControlTextEl(ta),ta},tn.prototype.addChild=function(ti){var tn=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],ts=this.constructor.name;return tf.default.warn("Adding an actionable (user controllable) child to a Button ("+ts+") is not supported; use a ClickableComponent instead."),td.default.prototype.addChild.call(this,ti,tn)},tn.prototype.handleKeyPress=function(tn){32===tn.which||13===tn.which||ti.prototype.handleKeyPress.call(this,tn)},tn}(tu.default);td.default.registerComponent("Button",tv),ts.default=tv,tn.exports=ts.default},{"./clickable-component.js":65,"./component":67,"./utils/events.js":144,"./ut
23ils/fn.js":145,"./utils/log.js":148,"global/document":1,"object.assign":45}],65:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("./component")),td=ta(ti("./utils/dom.js")),tp=ta(ti("./utils/events.js")),tf=ta(ti("./utils/fn.js")),tm=tl(ti("./utils/log.js")),tg=tl(ti("global/document")),tv=tl(ti("object.assign")),ty=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.emitTapEvents(),this.on("tap",this.handleClick),this.on("click",this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur)}return th(tn,ti),tn.prototype.createEl=function(){var tn=arguments.length<=0||void 0===arguments[0]?"div":arguments[0],ts=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],ta=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];ts=tv.default({className:this.buildCSSClass(),tabIndex:0},ts),"button"===tn&&tm.default.error("Creating a ClickableComponent with an HTML element of "+tn+" is not supported; use a Button instead."),ta=tv.default({role:"button","aria-live":"polite"},ta);var tl=ti.prototype.createEl.call(this,tn,ts,ta);return this.createControlTextEl(tl),tl},tn.prototype.createControlTextEl=function(ti){return this.controlTextEl_=td.createEl("span",{className:"vjs-control-text"}),ti&&ti.appendChild(this.controlTextEl_),this.controlText(this.controlText_),this.controlTextEl_},tn.prototype.controlText=function(ti){return ti?(this.controlText_=ti,this.controlTextEl_.innerHTML=this.localize(this.controlText_),this):this.controlText_||"Need Text"},tn.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+ti.prototype.buildCSSClass.call(this)},tn.prototype.addChild=function(tn){var ts=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return ti.prototype.addChild.call(this,tn,ts)},tn.prototype.enable=function(){return this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),this},tn.prototype.disable=function(){return this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),this},tn.prototype.handleClick=function(){},tn.prototype.handleFocus=function(){tp.on(tg.default,"keydown",tf.bind(this,this.handleKeyPress))},tn.prototype.handleKeyPress=function(tn){32===tn.which||13===tn.which?(tn.preventDefault(),this.handleClick(tn)):ti.prototype.handleKeyPress&&ti.prototype.handleKeyPress.call(this,tn)},tn.prototype.handleBlur=function(){tp.off(tg.default,"keydown",tf.bind(this,this.handleKeyPress))},tn}(tu.default);tu.default.registerComponent("ClickableComponent",ty),ts.default=ty,tn.exports=ts.default},{"./component":67,"./utils/dom.js":143,"./utils/events.js":144,"./utils/fn.js":145,"./utils/log.js":148,"global/document":1,"object.assign":45}],66:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("./button")),tu=ta(ti("./component")),td=function(ti){function tn(ts,ta){tl(this,tn),ti.call(this,ts,ta),this.controlText(ta&&ta.controlText||this.localize("Close"))}return tc(tn,ti),tn.prototype.buildCSSClass=function(){return"vjs-close-button "+ti.prototype.buildCSSClass.call(this)},tn.prototype.handleClick=function(){this.trigger({type:"close",bubbles:!1})},tn}(th.default);tu.default.registerComponent("CloseButton",td),ts.default=td,tn.exports=ts.default},{"./button":64,"./component":67}],67:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}ts.__esModule=!0;var th=tl(ti("global/window")),tu=ta(ti("./utils/dom.js")),td=ta(ti("./utils/fn.js")),tp=ta(ti("./utils/guid.js")),tf=ta(ti("./utils/events.js")),tm=tl(ti("./utils/log.js")),tg=tl(ti("./utils/to-title-case.js")),tv=tl(ti("object.assign")),ty=tl(ti("./utils/merge-options.js")),t_=function(){function ti(tn,ts,ta){if(tc(this,ti),this.player_=!tn&&this.play?tn=this:tn,this.options_=ty.default({},this.options_),ts=this.options_=ty.default(this.options_,ts),this.id_=ts.id||ts.el&&ts.el.id,!this.id_){var tl=tn&&tn.id&&tn.id()||"no_player";
23this.id_=tl+"_component_"+tp.newGUID()}this.name_=ts.name||null,ts.el?this.el_=ts.el:!1!==ts.createEl&&(this.el_=this.createEl()),this.children_=[],this.childIndex_={},this.childNameIndex_={},!1!==ts.initChildren&&this.initChildren(),this.ready(ta),!1!==ts.reportTouchActivity&&this.enableTouchActivity()}return ti.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var ti=this.children_.length-1;ti>=0;ti--)this.children_[ti].dispose&&this.children_[ti].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},ti.prototype.player=function(){return this.player_},ti.prototype.options=function(ti){return tm.default.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),ti&&(this.options_=ty.default(this.options_,ti)),this.options_},ti.prototype.el=function(){return this.el_},ti.prototype.createEl=function(ti,tn,ts){return tu.createEl(ti,tn,ts)},ti.prototype.localize=function(ti){var tn=this.player_.language&&this.player_.language(),ts=this.player_.languages&&this.player_.languages();if(!tn||!ts)return ti;var ta=ts[tn];if(ta&&ta[ti])return ta[ti];var tl=ts[tn.split("-")[0]];return tl&&tl[ti]?tl[ti]:ti},ti.prototype.contentEl=function(){return this.contentEl_||this.el_},ti.prototype.id=function(){return this.id_},ti.prototype.name=function(){return this.name_},ti.prototype.children=function(){return this.children_},ti.prototype.getChildById=function(ti){return this.childIndex_[ti]},ti.prototype.getChild=function(ti){return this.childNameIndex_[ti]},ti.prototype.addChild=function(tn){var ts=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],ta=arguments.length<=2||void 0===arguments[2]?this.children_.length:arguments[2],tl=void 0,tc=void 0;if("string"==typeof tn){tc=tn,ts||(ts={}),!0===ts&&(tm.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`."),ts={});var th=ts.componentClass||tg.default(tc);ts.name=tc;var tu=ti.getComponent(th);if(!tu)throw Error("Component "+th+" does not exist");if("function"!=typeof tu)return null;tl=new tu(this.player_||this,ts)}else tl=tn;if(this.children_.splice(ta,0,tl),"function"==typeof tl.id&&(this.childIndex_[tl.id()]=tl),(tc=tc||tl.name&&tl.name())&&(this.childNameIndex_[tc]=tl),"function"==typeof tl.el&&tl.el()){var td=this.contentEl().children[ta]||null;this.contentEl().insertBefore(tl.el(),td)}return tl},ti.prototype.removeChild=function(ti){if("string"==typeof ti&&(ti=this.getChild(ti)),ti&&this.children_){for(var tn=!1,ts=this.children_.length-1;ts>=0;ts--)if(this.children_[ts]===ti){tn=!0,this.children_.splice(ts,1);break}if(tn){this.childIndex_[ti.id()]=null,this.childNameIndex_[ti.name()]=null;var ta=ti.el();ta&&ta.parentNode===this.contentEl()&&this.contentEl().removeChild(ti.el())}}},ti.prototype.initChildren=function(){var tn=this,ts=this.options_.children;ts&&function(){var ta=tn.options_,tl=function(ti){var ts=ti.name,tl=ti.opts;if(void 0!==ta[ts]&&(tl=ta[ts]),!1!==tl){!0===tl&&(tl={}),tl.playerOptions=tn.options_.playerOptions;var tc=tn.addChild(ts,tl);tc&&(tn[ts]=tc)}},tc=void 0,th=ti.getComponent("Tech");(tc=Array.isArray(ts)?ts:Object.keys(ts)).concat(Object.keys(tn.options_).filter(function(ti){return!tc.some(function(tn){return"string"==typeof tn?ti===tn:ti===tn.name})})).map(function(ti){var ta=void 0,tl=void 0;return"string"==typeof ti?tl=ts[ta=ti]||tn.options_[ta]||{}:(ta=ti.name,tl=ti),{name:ta,opts:tl}}).filter(function(tn){var ts=ti.getComponent(tn.opts.componentClass||tg.default(tn.name));return ts&&!th.isTech(ts)}).forEach(tl)}()},ti.prototype.buildCSSClass=function(){return""},ti.prototype.on=function(ti,tn,ts){var ta=this;return"string"==typeof ti||Array.isArray(ti)?tf.on(this.el_,ti,td.bind(this,tn)):function(){var tl=ti,tc=tn,th=td.bind(ta,ts),tu=function(){return ta.off(tl,tc,th)};tu.guid=th.guid,ta.on("dispose",tu);var tp=function(){return ta.off("dispose",tu)};tp.guid=th.guid,ti.nodeName?(tf.on(tl,tc,th),tf.on(tl,"dispose",tp)):"function"==typeof ti.on&&(tl.on(tc,th),tl.on("dispose",tp))}(),this},ti.prototype.off=function(ti,tn,ts){if(!ti||"string"==typeof ti||Array.isArray(ti))tf.off(this.el_,ti,tn);else{var ta=ti,tl=tn,tc=td.bind(this,ts);this.off("dispose",tc),ti.nodeName?(tf.off(ta,tl,tc),tf.off(ta,"dispose",tc)):(ta.off(tl,tc),ta.off("dispose",tc))}return this},ti.prototype.one=function(ti,tn,ts){var ta=this,tl=arguments;return"string"==typeof ti||Array.isArray(ti)?tf.one(this.el_,ti,td.bind(this,tn)):function(){var tc=ti,th=tn,tu=td.bind(ta,ts),tp=function ti(){ta.off(tc,th,ti),tu.apply(null,tl)};tp.guid=tu.guid,ta.on(tc,th,tp)}(),this},ti.prototype.trigger=function(ti,tn){return tf.trigger(this.el_,ti,tn),this},ti.prototype.ready=function(ti){var tn=!(arguments.length<=1)&&void 0!==arguments[1]&&arguments[1];
23return ti&&(this.isReady_?tn?ti.call(this):this.setTimeout(ti,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(ti))),this},ti.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var ti=this.readyQueue_;this.readyQueue_=[],ti&&ti.length>0&&ti.forEach(function(ti){ti.call(this)},this),this.trigger("ready")},1)},ti.prototype.$=function(ti,tn){return tu.$(ti,tn||this.contentEl())},ti.prototype.$$=function(ti,tn){return tu.$$(ti,tn||this.contentEl())},ti.prototype.hasClass=function(ti){return tu.hasElClass(this.el_,ti)},ti.prototype.addClass=function(ti){return tu.addElClass(this.el_,ti),this},ti.prototype.removeClass=function(ti){return tu.removeElClass(this.el_,ti),this},ti.prototype.toggleClass=function(ti,tn){return tu.toggleElClass(this.el_,ti,tn),this},ti.prototype.show=function(){return this.removeClass("vjs-hidden"),this},ti.prototype.hide=function(){return this.addClass("vjs-hidden"),this},ti.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},ti.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},ti.prototype.width=function(ti,tn){return this.dimension("width",ti,tn)},ti.prototype.height=function(ti,tn){return this.dimension("height",ti,tn)},ti.prototype.dimensions=function(ti,tn){return this.width(ti,!0).height(tn)},ti.prototype.dimension=function(ti,tn,ts){if(void 0!==tn)return(null===tn||tn!=tn)&&(tn=0),this.el_.style[ti]=-1!==(""+tn).indexOf("%")||-1!==(""+tn).indexOf("px")?tn:"auto"===tn?"":tn+"px",ts||this.trigger("resize"),this;if(!this.el_)return 0;var ta=this.el_.style[ti],tl=ta.indexOf("px");return -1!==tl?parseInt(ta.slice(0,tl),10):parseInt(this.el_["offset"+tg.default(ti)],10)},ti.prototype.currentDimension=function(ti){var tn=0;if("width"!==ti&&"height"!==ti)throw Error("currentDimension only accepts width or height value");if("function"==typeof th.default.getComputedStyle){var ts=th.default.getComputedStyle(this.el_);tn=ts.getPropertyValue(ti)||ts[ti]}else if(this.el_.currentStyle){var ta="offset"+tg.default(ti);tn=this.el_[ta]}return parseFloat(tn)},ti.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},ti.prototype.currentWidth=function(){return this.currentDimension("width")},ti.prototype.currentHeight=function(){return this.currentDimension("height")},ti.prototype.emitTapEvents=function(){var ti=0,tn=null,ts=10,ta=200,tl=void 0;this.on("touchstart",function(ts){1===ts.touches.length&&(tn=tv.default({},ts.touches[0]),ti=(new Date).getTime(),tl=!0)}),this.on("touchmove",function(ti){if(ti.touches.length>1)tl=!1;else if(tn){var ta=ti.touches[0].pageX-tn.pageX,tc=ti.touches[0].pageY-tn.pageY;Math.sqrt(ta*ta+tc*tc)>ts&&(tl=!1)}});var tc=function(){tl=!1};this.on("touchleave",tc),this.on("touchcancel",tc),this.on("touchend",function(ts){tn=null,!0===tl&&ta>(new Date).getTime()-ti&&(ts.preventDefault(),this.trigger("tap"))})},ti.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var ti=td.bind(this.player(),this.player().reportUserActivity),tn=void 0;this.on("touchstart",function(){ti(),this.clearInterval(tn),tn=this.setInterval(ti,250)});var ts=function(){ti(),this.clearInterval(tn)};this.on("touchmove",ti),this.on("touchend",ts),this.on("touchcancel",ts)}},ti.prototype.setTimeout=function(ti,tn){ti=td.bind(this,ti);var ts=th.default.setTimeout(ti,tn),ta=function(){this.clearTimeout(ts)};return ta.guid="vjs-timeout-"+ts,this.on("dispose",ta),ts},ti.prototype.clearTimeout=function(ti){th.default.clearTimeout(ti);var tn=function(){};return tn.guid="vjs-timeout-"+ti,this.off("dispose",tn),ti},ti.prototype.setInterval=function(ti,tn){ti=td.bind(this,ti);var ts=th.default.setInterval(ti,tn),ta=function(){this.clearInterval(ts)};return ta.guid="vjs-interval-"+ts,this.on("dispose",ta),ts},ti.prototype.clearInterval=function(ti){th.default.clearInterval(ti);var tn=function(){};return tn.guid="vjs-interval-"+ti,this.off("dispose",tn),ti},ti.registerComponent=function(tn,ts){return ti.components_||(ti.components_={}),ti.components_[tn]=ts,ts},ti.getComponent=function(tn){return ti.components_&&ti.components_[tn]?ti.components_[tn]:th.default&&th.default.videojs&&th.default.videojs[tn]?(tm.default.warn("The "+tn+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),th.default.videojs[tn]):void 0},ti.extend=function(tn){tn=tn||{},tm.default.warn("Component.extend({}) has been deprecated, use videojs.extend(Component, {}) instead");var ts=tn.init||tn.init||this.prototype.init||this.prototype.init||function(){},ta=function(){ts.apply(this,arguments)};for(var tl in ta.prototype=Object.create(this.prototype),ta.prototype.constructor=ta,ta.extend=ti.extend,tn)tn.hasOwnProperty(tl)&&(ta.prototype[tl]=tn[tl]);return ta},ti}();t_.registerComponent("Component",t_),ts.default=t_,tn.exports=ts.default}
23,{"./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(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../track-button.js")),td=tl(ti("../../component.js")),tp=tl((ta(ti("../../utils/fn.js")),ti("./audio-track-menu-item.js"))),tf=function(ti){function tn(ts){var ta=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];tc(this,tn),ta.tracks=ts.audioTracks&&ts.audioTracks(),ti.call(this,ts,ta),this.el_.setAttribute("aria-label","Audio Menu")}return th(tn,ti),tn.prototype.buildCSSClass=function(){return"vjs-audio-button "+ti.prototype.buildCSSClass.call(this)},tn.prototype.createItems=function(){var ti=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],tn=this.player_.audioTracks&&this.player_.audioTracks();if(!tn)return ti;for(var ts=0;ts<tn.length;ts++){var ta=tn[ts];ti.push(new tp.default(this.player_,{selectable:!0,track:ta}))}return ti},tn}(tu.default);td.default.registerComponent("AudioTrackButton",tf),ts.default=tf,tn.exports=ts.default},{"../../component.js":67,"../../utils/fn.js":145,"../track-button.js":98,"./audio-track-menu-item.js":69}],69:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../../menu/menu-item.js")),td=tl(ti("../../component.js")),tp=ta(ti("../../utils/fn.js")),tf=function(ti){function tn(ts,ta){var tl=this;tc(this,tn);var th=ta.track,tu=ts.audioTracks();ta.label=th.label||th.language||"Unknown",ta.selected=th.enabled,ti.call(this,ts,ta),this.track=th,tu&&function(){var ti=tp.bind(tl,tl.handleTracksChange);tu.addEventListener("change",ti),tl.on("dispose",function(){tu.removeEventListener("change",ti)})}()}return th(tn,ti),tn.prototype.handleClick=function(tn){var ts=this.player_.audioTracks();if(ti.prototype.handleClick.call(this,tn),ts)for(var ta=0;ta<ts.length;ta++){var tl=ts[ta];tl===this.track&&(tl.enabled=!0)}},tn.prototype.handleTracksChange=function(){this.selected(this.track.enabled)},tn}(tu.default);td.default.registerComponent("AudioTrackMenuItem",tf),ts.default=tf,tn.exports=ts.default},{"../../component.js":67,"../../menu/menu-item.js":110,"../../utils/fn.js":145}],70:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("../component.js")),tu=(ta(ti("./play-toggle.js")),ti("./time-control
23s/current-time-display.js")),td=(ta(tu),ti("./time-controls/duration-display.js")),tp=(ta(td),ti("./time-controls/time-divider.js")),tf=(ta(tp),ti("./time-controls/remaining-time-display.js")),tm=(ta(tf),ti("./live-display.js")),tg=(ta(tm),ti("./progress-control/progress-control.js")),tv=(ta(tg),ti("./fullscreen-toggle.js")),ty=(ta(tv),ti("./volume-control/volume-control.js")),t_=(ta(ty),ti("./volume-menu-button.js")),tb=(ta(t_),ti("./mute-toggle.js")),tw=(ta(tb),ti("./text-track-controls/chapters-button.js")),tx=(ta(tw),ti("./text-track-controls/descriptions-button.js")),tT=(ta(tx),ti("./text-track-controls/subtitles-button.js")),tk=(ta(tT),ti("./text-track-controls/captions-button.js")),tC=(ta(tk),ti("./audio-track-controls/audio-track-button.js")),tj=(ta(tC),ti("./playback-rate-menu/playback-rate-menu-button.js")),tS=(ta(tj),ti("./spacer-controls/custom-control-spacer.js")),tE=(ta(tS),function(ti){function tn(){tl(this,tn),ti.apply(this,arguments)}return tc(tn,ti),tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},tn}(th.default));tE.prototype.options_={loadEvent:"play",children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subtitlesButton","captionsButton","audioTrackButton","fullscreenToggle"]},th.default.registerComponent("ControlBar",tE),ts.default=tE,tn.exports=ts.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-controls/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(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("../button.js")),tu=ta(ti("../component.js")),td=function(ti){function tn(){tl(this,tn),ti.apply(this,arguments)}return tc(tn,ti),tn.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+ti.prototype.buildCSSClass.call(this)},tn.prototype.handleClick=function(){this.player_.isFullscreen()?(this.player_.exitFullscreen(),this.controlText("Fullscreen")):(this.player_.requestFullscreen(),this.controlText("Non-Fullscreen"))},tn}(th.default);td.prototype.controlText_="Fullscreen",tu.default.registerComponent("FullscreenToggle",td),ts.default=td,tn.exports=ts.default},{"../button.js":64,"../component.js":67}],72:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../component")),td=ta(ti("../utils/dom.js")),tp=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.updateShowing(),this.on(this.player(),"durationchange",this.updateShowing)}return th(tn,ti),tn.prototype.createEl=function(){var tn=ti.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"}),tn.appendChild(this.contentEl_),tn},tn.prototype.updateShowing=function(){this.player().duration()===1/0?this.show():this.hide()},tn}(tu.default);tu.default.registerComponent("LiveDisplay",tp),ts.default=tp,tn.exports=ts.default},{"../component":67,"../utils/dom.js":143}],73:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../button")),td=tl(ti("../component")),tp=ta(ti("../utils/dom.js")),tf=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.on(ts,"volumechange",this.update),ts.tech_&&!1===ts.tech_.featuresVolumeControl&&this.addClass("vjs-hidden"),this.on(ts,"loadstart",function(){this.update(),!1===ts.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}return th(tn,ti),tn.prototype.buildCSSClass=function(){return"vjs-mute-control "+ti.prototype.buildCSSClass.call(this)},tn.prototype.handleClick=function(){this.player_.muted(!this.player_.muted())},tn.prototype.update=function(){var ti=this.player_.volume(),tn=3;0===ti||this.player_.muted()?tn=0:.33>ti?tn=1:.67>ti&&(tn=2);var ts=this.player_.muted()?"Unmute":"Mute";this.controlText()!==ts&&this.controlText(ts);for(var ta=0;4>ta;ta++)tp.removeElClass(this.el_,"vjs-vol-"+ta);tp.addElClass(this.el_,"vjs-vol-"+tn)},tn}(tu.default);tf.prototype.controlText_="Mute",td.default.registerComponent("MuteToggle",tf),ts.default=tf,tn.exports=ts.default},{"../button":64,"../component":67,"../utils/dom.js":143}],74:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("../button.js")),tu=ta(ti("../component.js")),td=function(ti){function tn(ts,ta){tl(this,tn),ti.call(this,ts,ta),this.on(ts,"play",this.handlePlay),this.on(ts,"pause",this.handlePause)}return tc(tn,ti),tn.prototype.buildCSSClass=function(){return"vjs-play-control "+ti.prototype.buildCSSClass.call(this)},tn.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},tn.prototype.handlePlay=function(){this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},tn.prototype.handlePause=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},tn}(th.default);td.prototype.controlText_="Play",tu.default.registerComponent("PlayToggle",td),ts.default=td,tn.exports=ts.default},{"../button.js":64,"../component.js":67}],75:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../../menu/menu-button.js")),td=tl(ti("../../menu/menu.js")),tp=tl(ti("./playback-rate-menu-item.js")),tf=tl(ti("../../component.js")),tm=ta(ti("../../utils/dom.js")),tg=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.updateVisibility(),this.updateLabel(),this.on(ts,"loadstart",this.updateVisibility),this.on(ts,"ratechange",this.updateLabel)}return th(tn,ti),tn.prototype.createEl=function(){var tn=ti.prototype.createEl.call(this);return this.labelEl_=tm.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1}),tn.appendChild(this.labelEl_),tn},tn.prototype.buildCSSClass=function(){return"vjs-playback-rate "+ti.prototype.buildCSSClass.call(this)},tn.prototype.createMenu=function(){var ti=new td.default(this.player()),tn=this.playbackRates();if(tn)for(var ts=tn.length-1;ts>=0;ts--)ti.addChild(new tp.default(this.player(),{rate:tn[ts]+"x"}));return ti},tn.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},tn.prototype.handleClick=function(){for(var ti=this.player().playbackRate(),tn=this.playbackRates(),ts=tn[0],ta=0;ta<tn.length;ta++)if(tn[ta]>ti){ts=tn[ta];break}this.player().playbackRate(ts)},tn.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},tn.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},tn.prototype.updateVisibility=function(){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},tn.prototype.updateLabel=function(){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},tn}(tu.default);tg.prototype.controlText_="Playback Rate",tf.default.registerComponent("PlaybackRateMenuButton",tg),ts.default=tg,tn.exports=ts.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(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("../../menu/menu-item.js")),tu=ta(ti("../../component.js")),td=function(ti){function tn(ts,ta){tl(this,tn);var tc=ta.rate,th=parseFloat(tc,10);ta.label=tc,ta.selected=1===th,ti.call(this,ts,ta),this.label=tc,this.rate=th,this.on(ts,"ratechange",this.update)}return tc(tn,ti),tn.prototype.handleClick=function(){ti.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},tn.prototype.update=function(){this.selected(this.player().playbackRate()===this.rate)},tn}(th.default);td.prototype.contentElType="button",tu.default.registerComponent("PlaybackRateMenuItem",td),ts.default=td,tn.exports=ts.default},{"../../component.js":67,"../../menu/menu-item.js":110}
23],77:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../../component.js")),td=ta(ti("../../utils/dom.js")),tp=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.on(ts,"progress",this.update)}return th(tn,ti),tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},tn.prototype.update=function(){var ti=this.player_.buffered(),tn=this.player_.duration(),ts=this.player_.bufferedEnd(),ta=this.el_.children,tl=function(ti,tn){var ts=ti/tn||0;return 100*(ts>=1?1:ts)+"%"};this.el_.style.width=tl(ts,tn);for(var tc=0;tc<ti.length;tc++){var th=ti.start(tc),tu=ti.end(tc),tp=ta[tc];tp||(tp=this.el_.appendChild(td.createEl())),tp.style.left=tl(th,ts),tp.style.width=tl(tu-th,ts)}for(var tc=ta.length;tc>ti.length;tc--)this.el_.removeChild(ta[tc-1])},tn}(tu.default);tu.default.registerComponent("LoadProgressBar",tp),ts.default=tp,tn.exports=ts.default},{"../../component.js":67,"../../utils/dom.js":143}],78:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("global/window")),td=tl(ti("../../component.js")),tp=ta(ti("../../utils/dom.js")),tf=ta(ti("../../utils/fn.js")),tm=tl(ti("../../utils/format-time.js")),tg=tl(ti("lodash-compat/function/throttle")),tv=function(ti){function tn(ts,ta){var tl=this;tc(this,tn),ti.call(this,ts,ta),ta.playerOptions&&ta.playerOptions.controlBar&&ta.playerOptions.controlBar.progressControl&&ta.playerOptions.controlBar.progressControl.keepTooltipsInside&&(this.keepTooltipsInside=ta.playerOptions.controlBar.progressControl.keepTooltipsInside),this.keepTooltipsInside&&(this.tooltip=tp.createEl("div",{className:"vjs-time-tooltip"}),this.el().appendChild(this.tooltip),this.addClass("vjs-keep-tooltips-inside")),this.update(0,0),ts.on("ready",function(){tl.on(ts.controlBar.progressControl.el(),"mousemove",tg.default(tf.bind(tl,tl.handleMouseMove),25))})}return th(tn,ti),tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},tn.prototype.handleMouseMove=function(ti){var tn=this.player_.duration(),ts=this.calculateDistance(ti)*tn,ta=ti.pageX-tp.findElPosition(this.el().parentNode).left;this.update(ts,ta)},tn.prototype.update=function(ti,tn){var ts=tm.default(ti,this.player_.duration());if(this.el().style.left=tn+"px",this.el().setAttribute("data-current-time",ts),this.keepTooltipsInside){var ta=this.clampPosition_(tn),tl=tn-ta+1,tc=parseFloat(tu.default.getComputedStyle(this.tooltip).width)/2;this.tooltip.innerHTML=ts,this.tooltip.style.right="-"+(tc-tl)+"px"}},tn.prototype.calculateDistance=function(ti){return tp.getPointerPosition(this.el().parentNode,ti).x},tn.prototype.clampPosition_=function(ti){if(!this.keepTooltipsInside)return ti;var tn=parseFloat(tu.default.getComputedStyle(this.player().el()).width),ts=parseFloat(tu.default.getComputedStyle(this.tooltip).width)/2,ta=ti;return ts>ti?ta=Math.ceil(ts):ti>tn-ts&&(ta=Math.floor(tn-ts)),ta},tn}(td.default);td.default.registerComponent("MouseTimeDisplay",tv),ts.default=tv,tn.exports=ts.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(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../../component.js")),td=ta(ti("../../utils/fn.js")),tp=tl((ta(ti("../../utils/dom.js")),ti("../../utils/format-time.js"))),tf=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.updateDataAttr(),this.on(ts,"timeupdate",this.updateDataAttr),ts.ready(td.bind(this,this.updateDataAttr)),ta.playerOptions&&ta.playerOptions.controlBar&&ta.playerOptions.controlBar.progressControl&&ta.playerOptions.controlBar.progressControl.keepTooltipsInside&&(this.keepTooltipsInside=ta.playerOptions.controlBar.progressControl.keepTooltipsInside),this.keepTooltipsInside&&this.addClass("vjs-keep-tooltips-inside")}return th(tn,ti),tn.prototype.createEl=function(){return ti.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>"})},tn.prototype.updateDataAttr=function(){var ti=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("data-current-time",tp.default(ti,this.player_.duration()))},tn}(tu.default);tu.default.registerComponent("PlayProgressBar",tf),ts.default=tf,tn.exports=ts.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/fn.js":145,"../../utils/format-time.js":146}],80:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("../../component.js")),tu=(ta(ti("./seek-bar.js")),ti("./mouse-time-display.js")),td=(ta(tu),function(ti){function tn(){tl(this,tn),ti.apply(this,arguments)}return tc(tn,ti),tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},tn}(th.default));td.prototype.options_={children:["seekBar"]},th.default.registerComponent("ProgressControl",td),ts.default=td,tn.exports=ts.default},{"../../component.js":67,"./mouse-time-display.js":78,"./seek-bar.js":81}],81:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("global/window")),td=tl(ti("../../slider/slider.js")),tp=tl(ti("../../component.js")),tf=(tl(ti("./load-progress-bar.js")),ti("./play-progress-bar.js")),tm=(tl(tf),ti("./tooltip-progress-bar.js")),tg=ta((tl(tm),ti("../../utils/fn.js"))),tv=tl(ti("../../utils/format-time.js")),ty=(tl(ti("object.assign")),function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.on(ts,"timeupdate",this.updateProgress),this.on(ts,"ended",this.updateProgress),ts.ready(tg.bind(this,this.updateProgress)),ta.playerOptions&&ta.playerOptions.controlBar&&ta.playerOptions.controlBar.progressControl&&ta.playerOptions.controlBar.progressControl.keepTooltipsInside&&(this.keepTooltipsInside=ta.playerOptions.controlBar.progressControl.keepTooltipsInside),this.keepTooltipsInside&&(this.tooltipProgressBar=this.addChild("TooltipProgressBar"))}return th(tn,ti),tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"progress bar"})},tn.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 ti=parseFloat(tu.default.getComputedStyle(this.player().el()).width),tn=parseFloat(tu.default.getComputedStyle(this.tooltipProgressBar.tooltip).width),ts=this.tooltipProgressBar.el().style;ts.maxWidth=Math.floor(ti-tn/2)+"px",ts.minWidth=Math.ceil(tn/2)+"px",ts.right="-"+tn/2+"px"}},tn.prototype.updateAriaAttributes=function(ti){var tn=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();ti.setAttribute("aria-valuenow",(100*this.getPercent()).toFixed(2)),ti.setAttribute("aria-valuetext",tv.default(tn,this.player_.duration()))},tn.prototype.getPercent=function(){var ti=this.player_.currentTime()/this.player_.duration();return ti>=1?1:ti},tn.prototype.handleMouseDown=function(tn){ti.prototype.handleMouseDown.call(this,tn),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause()},tn.prototype.handleMouseMove=function(ti){var tn=this.calculateDistance(ti)*this.player_.duration();tn===this.player_.duration()&&(tn-=.1),this.player_.currentTime(tn)},tn.prototype.handleMouseUp=function(tn){ti.prototype.handleMouseUp.call(this,tn),this.player_.scrubbing(!1),this.videoWasPlaying&&this.player_.play()},tn.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},tn.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},tn}(td.default));ty.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"},ty.prototype.playerEvent="timeupdate",tp.default.registerComponent("SeekBar",ty),ts.default=ty,tn.exports=ts.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(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../../component.js")),td=ta(ti("../../utils/fn.js")),tp=tl((ta(ti("../../utils/dom.js")),ti("../../utils/format-time.js"))),tf=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.updateDataAttr(),this.on(ts,"timeupdate",this.updateDataAttr),ts.ready(td.bind(this,this.updateDataAttr))}return th(tn,ti),tn.prototype.createEl=function(){var tn=ti.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=tn.querySelector(".vjs-time-tooltip"),tn},tn.prototype.updateDataAttr=function(){var ti=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),tn=tp.default(ti,this.player_.duration());this.el_.setAttribute("data-current-time",tn),this.tooltip.innerHTML=tn},tn}(tu.default);tu.default.registerComponent("TooltipProgressBar",tf),ts.default=tf,tn.exports=ts.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/fn.js":145,"../../utils/format-time.js":146}],83:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("./spacer.js")),tu=ta(ti("../../component.js")),td=function(ti){function tn(){tl(this,tn),ti.apply(this,arguments)}return tc(tn,ti),tn.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+ti.prototype.buildCSSClass.call(this)},tn.prototype.createEl=function(){var tn=ti.prototype.createEl.call(this,{className:this.buildCSSClass()});return tn.innerHTML=" ",tn},tn}(th.default);tu.default.registerComponent("CustomControlSpacer",td),ts.default=td,tn.exports=ts.default},{"../../component.js":67,"./spacer.js":84}],84:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("../../component.js")),tu=function(ti){function tn(){tl(this,tn),ti.apply(this,arguments)}return tc(tn,ti),tn.prototype.buildCSSClass=function(){return"vjs-spacer "+ti.prototype.buildCSSClass.call(this)},tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},tn}(th.default);th.default.registerComponent("Spacer",tu),ts.default=tu,tn.exports=ts.default},{"../../component.js":67}],85:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("./text-track-menu-item.js")),tu=ta(ti("../../component.js")),td=function(ti){function tn(ts,ta){tl(this,tn),ta.track={kind:ta.kind,player:ts,label:ta.kind+" settings",selectable:!1,default:!1,mode:"disabled"},ta.selectable=!1,ti.call(this,ts,ta),this.addClass("vjs-texttrack-settings"),this.controlText(", opens "+ta.kind+" settings dialog")}return tc(tn,ti),tn.prototype.handleClick=function(){this.player().getChild("textTrackSettings").show(),this.player().getChild("textTrackSettings").el_.focus()},tn}(th.default);tu.default.registerComponent("CaptionSettingsMenuItem",td),ts.default=td,tn.exports=ts.default},{"../../component.js":67,"./text-track-menu-item.js":93}],86:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("./text-track-button.js")),tu=ta(ti("../../component.js")),td=ta(ti("./caption-settings-menu-item.js")),tp=function(ti){function tn(ts,ta,tc){tl(this,tn),ti.call(this,ts,ta,tc),this.el_.setAttribute("aria-label","Captions Menu")}return tc(tn,ti),tn.prototype.buildCSSClass=function(){return"vjs-captions-button "+ti.prototype.buildCSSClass.call(this)},tn.prototype.update=function(){var tn=2;ti.prototype.update.call(this),this.player().tech_&&this.player().tech_.featuresNativeTextTracks&&(tn=1),this.items&&this.items.length>tn?this.show():this.hide()},tn.prototype.createItems=function(){var tn=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||tn.push(new td.default(this.player_,{kind:this.kind_})),ti.prototype.createItems.call(this,tn)},tn}(th.default);tp.prototype.kind_="captions",tp.prototype.controlText_="Captions",tu.default.registerComponent("CaptionsButton",tp),ts.default=tp,tn.exports=ts.default},{"../../component.js":67,"./caption-settings-menu-item.js":85,"./text-track-button.js":92}],87:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("./text-track-button.js")),td=tl(ti("../../component.js")),tp=tl(ti("./text-track-menu-item.js")),tf=tl(ti("./chapters-track-menu-item.js")),tm=tl(ti("../../menu/menu.js")),tg=ta(ti("../../utils/dom.js")),tv=tl((ta(ti("../../utils/fn.js")),ti("../../utils/to-title-case.js"))),ty=(tl(ti("global/window")),function(ti){function tn(ts,ta,tl){tc(this,tn),ti.call(this,ts,ta,tl),this.el_.setAttribute("aria-label","Chapters Menu")}return th(tn,ti),tn.prototype.buildCSSClass=function(){return"vjs-chapters-button "+ti.prototype.buildCSSClass.call(this)},tn.prototype.createItems=function(){var ti=[],tn=this.player_.textTracks();if(!tn)return ti;for(var ts=0;ts<tn.length;ts++){var ta=tn[ts];ta.kind===this.kind_&&ti.push(new tp.default(this.player_,{track:ta}))}return ti},tn.prototype.createMenu=function(){for(var ti=this,tn=this.player_.textTracks()||[],ts=void 0,ta=this.items=[],tl=0,tc=tn.length;tc>tl;tl++){var th=tn[tl];if(th.kind===this.kind_){ts=th;break}}var tu=this.menu;if(void 0===tu){tu=new tm.default(this.player_);var td=tg.createEl("li",{className:"vjs-menu-title",innerHTML:tv.default(this.kind_),tabIndex:-1});tu.children_.unshift(td),tg.insertElFirst(td,tu.contentEl())}if(ts&&null==ts.cues){ts.mode="hidden";var tp=this.player_.remoteTextTrackEls().getTrackElementByTrack_(ts);tp&&tp.addEventListener("load",function(){return ti.update()})}if(ts&&ts.cues&&ts.cues.length>0){for(var ty=ts.cues,t_=void 0,tl=0,tb=ty.length;tb>tl;tl++){t_=ty[tl];var tw=new tf.default(this.player_,{track:ts,cue:t_});ta.push(tw),tu.addChild(tw)}this.addChild(tu)}return this.items.length>0&&this.show(),tu},tn}(tu.default));ty.prototype.kind_="chapters",ty.prototype.controlText_="Chapters",td.default.registerComponent("ChaptersButton",ty),ts.default=ty,tn.exports=ts.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(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../../menu/menu-item.js")),td=tl(ti("../../component.js")),tp=ta(ti("../../utils/fn.js")),tf=function(ti){function tn(ts,ta){tc(this,tn);var tl=ta.track,th=ta.cue,tu=ts.currentTime();ta.label=th.text,ta.selected=th.startTime<=tu&&tu<th.endTime,ti.call(this,ts,ta),this.track=tl,this.cue=th,tl.addEventListener("cuechange",tp.bind(this,this.update))}return th(tn,ti),tn.prototype.handleClick=function(){ti.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},tn.prototype.update=function(){var ti=this.cue,tn=this.player_.currentTime();this.selected(ti.startTime<=tn&&tn<ti.endTime)},tn}(tu.default);td.default.registerComponent("ChaptersTrackMenuItem",tf),ts.default=tf,tn.exports=ts.default},{"../../component.js":67,"../../menu/menu-item.js":110,"../../utils/fn.js":145}],89:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("./text-track-button.js")),td=tl(ti("../../component.js")),tp=ta(ti("../../utils/fn.js")),tf=function(ti){function tn(ts,ta,tl){var th=this;tc(this,tn),ti.call(this,ts,ta,tl),this.el_.setAttribute("aria-label","Descriptions Menu");var tu=ts.textTracks();tu&&function(){var ti=tp.bind(th,th.handleTracksChange);tu.addEventListener("change",ti),th.on("dispose",function(){tu.removeEventListener("change",ti)})}()}return th(tn,ti),tn.prototype.handleTracksChange=function(){for(var ti=this.player().textTracks(),tn=!1,ts=0,ta=ti.length;ta>ts;ts++){var tl=ti[ts];if(tl.kind!==this.kind_&&"showing"===tl.mode){tn=!0;break}}tn?this.disable():this.enable()},tn.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+ti.prototype.buildCSSClass.call(this)},tn}(tu.default);tf.prototype.kind_="descriptions",tf.prototype.controlText_="Descriptions",td.default.registerComponent("DescriptionsButton",tf),ts.default=tf,tn.exports=ts.default},{"../../component.js":67,"../../utils/fn.js":145,"./text-track-button.js":92}],90:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("./text-track-menu-item.js")),tu=ta(ti("../../component.js")),td=function(ti){function tn(ts,ta){tl(this,tn),ta.track={kind:ta.kind,player:ts,label:ta.kind+" off",default:!1,mode:"disabled"},ta.selectable=!0,ti.call(this,ts,ta),this.selected(!0)}return tc(tn,ti),tn.prototype.handleTracksChange=function(){for(var ti=this.player().textTracks(),tn=!0,ts=0,ta=ti.length;ta>ts;ts++){var tl=ti[ts];if(tl.kind===this.track.kind&&"showing"===tl.mode){tn=!1;break}}this.selected(tn)},tn}(th.default);tu.default.registerComponent("OffTextTrackMenuItem",td),ts.default=td,tn.exports=ts.default},{"../../component.js":67,"./text-track-menu-item.js":93}],91:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("./text-track-button.js")),tu=ta(ti("../../component.js")),td=function(ti){function tn(ts,ta,tc){tl(this,tn),ti.call(this,ts,ta,tc),this.el_.setAttribute("aria-label","Subtitles Menu")}return tc(tn,ti),tn.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+ti.prototype.buildCSSClass.call(this)},tn}(th.default);td.prototype.kind_="subtitles",td.prototype.controlText_="Subtitles",tu.default.registerComponent("SubtitlesButton",td),ts.default=td,tn.exports=ts.default},{"../../component.js":67,"./text-track-button.js":92}],92:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../track-button.js")),td=tl(ti("../../component.js")),tp=tl((ta(ti("../../utils/fn.js")),ti("./text-track-menu-item.js"))),tf=tl(ti("./off-text-track-menu-item.js")),tm=function(ti){function tn(ts){var ta=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];tc(this,tn),ta.tracks=ts.textTracks(),ti.call(this,ts,ta)}return th(tn,ti),tn.prototype.createItems=function(){var ti=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];ti.push(new tf.default(this.player_,{kind:this.kind_}));var tn=this.player_.textTracks();if(!tn)return ti;for(var ts=0;ts<tn.length;ts++){var ta=tn[ts];ta.kind===this.kind_&&ti.push(new tp.default(this.player_,{selectable:!0,track:ta}))}return ti},tn}(tu.default);td.default.registerComponent("TextTrackButton",tm),ts.default=tm,tn.exports=ts.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(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../../menu/menu-item.js")),td=tl(ti("../../component.js")),tp=ta(ti("../../utils/fn.js")),tf=tl(ti("global/window")),tm=tl(ti("global/document")),tg=function(ti){function tn(ts,ta){var tl=this;tc(this,tn);var th=ta.track,tu=ts.textTracks();ta
23.label=th.label||th.language||"Unknown",ta.selected=th.default||"showing"===th.mode,ti.call(this,ts,ta),this.track=th,tu&&function(){var ti=tp.bind(tl,tl.handleTracksChange);tu.addEventListener("change",ti),tl.on("dispose",function(){tu.removeEventListener("change",ti)})}(),tu&&void 0===tu.onchange&&function(){var ti=void 0;tl.on(["tap","click"],function(){if("object"!=typeof tf.default.Event)try{ti=new tf.default.Event("change")}catch(ti){}ti||(ti=tm.default.createEvent("Event")).initEvent("change",!0,!0),tu.dispatchEvent(ti)})}()}return th(tn,ti),tn.prototype.handleClick=function(tn){var ts=this.track.kind,ta=this.player_.textTracks();if(ti.prototype.handleClick.call(this,tn),ta)for(var tl=0;tl<ta.length;tl++){var tc=ta[tl];tc.kind===ts&&(tc.mode=tc===this.track?"showing":"disabled")}},tn.prototype.handleTracksChange=function(){this.selected("showing"===this.track.mode)},tn}(tu.default);td.default.registerComponent("TextTrackMenuItem",tg),ts.default=tg,tn.exports=ts.default},{"../../component.js":67,"../../menu/menu-item.js":110,"../../utils/fn.js":145,"global/document":1,"global/window":2}],94:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../../component.js")),td=ta(ti("../../utils/dom.js")),tp=tl(ti("../../utils/format-time.js")),tf=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.on(ts,"timeupdate",this.updateContent)}return th(tn,ti),tn.prototype.createEl=function(){var tn=ti.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"}),tn.appendChild(this.contentEl_),tn},tn.prototype.updateContent=function(){var ti=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),tn=this.localize("Current Time"),ts=tp.default(ti,this.player_.duration());ts!==this.formattedTime_&&(this.formattedTime_=ts,this.contentEl_.innerHTML='<span class="vjs-control-text">'+tn+"</span> "+ts)},tn}(tu.default);tu.default.registerComponent("CurrentTimeDisplay",tf),ts.default=tf,tn.exports=ts.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/format-time.js":146}],95:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../../component.js")),td=ta(ti("../../utils/dom.js")),tp=tl(ti("../../utils/format-time.js")),tf=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.on(ts,"timeupdate",this.updateContent),this.on(ts,"loadedmetadata",this.updateContent)}return th(tn,ti),tn.prototype.createEl=function(){var tn=ti.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"}),tn.appendChild(this.contentEl_),tn},tn.prototype.updateContent=function(){var ti=this.player_.duration();if(ti&&this.duration_!==ti){this.duration_=ti;var tn=this.localize("Duration Time"),ts=tp.default(ti);this.contentEl_.innerHTML='<span class="vjs-control-text">'+tn+"</span> "+ts}},tn}(tu.default);tu.default.registerComponent("DurationDisplay",tf),ts.default=tf,tn.exports=ts.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/format-time.js":146}],96:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../../component.js")),td=ta(ti("../../utils/dom.js")),tp=tl(ti("../../utils/format-time.js")),tf=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.on(ts,"timeupdate",this.updateContent)}return th(tn,ti),tn.prototype.createEl=function(){var tn=ti.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"}),tn.appendChild(this.contentEl_),tn},tn.prototype.updateContent=function(){if(this.player_.duration()){var ti=this.localize("Remaining Time"),tn=tp.default(this.player_.remainingTime());tn!==this.formattedTime_&&(this.formattedTime_=tn,this.contentEl_.innerHTML='<span class="vjs-control-text">'+ti+"</span> -"+tn)}},tn}(tu.default);tu.default.registerComponent("RemainingTimeDisplay",tf),ts.default=tf,tn.exports=ts.default},{"../../component.js":67,"../../utils/dom.js":143,"../../utils/format-time.js":146}],97:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("../../component.js")),tu=function(ti){function tn(){tl(this,tn),ti.apply(this,arguments)}return tc(tn,ti),tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},tn}(th.default);th.default.registerComponent("TimeDivider",tu),ts.default=tu,tn.exports=ts.default},{"../../component.js":67}],98:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../menu/menu-button.js")),td=tl(ti("../component.js")),tp=ta(ti("../utils/fn.js")),tf=function(ti){function tn(ts,ta){tc(this,tn);var tl=ta.tracks;
23if(ti.call(this,ts,ta),this.items.length<=1&&this.hide(),tl){var th=tp.bind(this,this.update);tl.addEventListener("removetrack",th),tl.addEventListener("addtrack",th),this.player_.on("dispose",function(){tl.removeEventListener("removetrack",th),tl.removeEventListener("addtrack",th)})}}return th(tn,ti),tn}(tu.default);td.default.registerComponent("TrackButton",tf),ts.default=tf,tn.exports=ts.default},{"../component.js":67,"../menu/menu-button.js":109,"../utils/fn.js":145}],99:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../../slider/slider.js")),td=tl(ti("../../component.js")),tp=ta(ti("../../utils/fn.js")),tf=(tl(ti("./volume-level.js")),function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.on(ts,"volumechange",this.updateARIAAttributes),ts.ready(tp.bind(this,this.updateARIAAttributes))}return th(tn,ti),tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":"volume level"})},tn.prototype.handleMouseMove=function(ti){this.checkMuted(),this.player_.volume(this.calculateDistance(ti))},tn.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},tn.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},tn.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},tn.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},tn.prototype.updateARIAAttributes=function(){var ti=(100*this.player_.volume()).toFixed(2);this.el_.setAttribute("aria-valuenow",ti),this.el_.setAttribute("aria-valuetext",ti+"%")},tn}(tu.default));tf.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},tf.prototype.playerEvent="volumechange",td.default.registerComponent("VolumeBar",tf),ts.default=tf,tn.exports=ts.default},{"../../component.js":67,"../../slider/slider.js":119,"../../utils/fn.js":145,"./volume-level.js":101}],100:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("../../component.js")),tu=(ta(ti("./volume-bar.js")),function(ti){function tn(ts,ta){tl(this,tn),ti.call(this,ts,ta),ts.tech_&&!1===ts.tech_.featuresVolumeControl&&this.addClass("vjs-hidden"),this.on(ts,"loadstart",function(){!1===ts.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}return tc(tn,ti),tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},tn}(th.default));tu.prototype.options_={children:["volumeBar"]},th.default.registerComponent("VolumeControl",tu),ts.default=tu,tn.exports=ts.default},{"../../component.js":67,"./volume-bar.js":99}],101:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("../../component.js")),tu=function(ti){function tn(){tl(this,tn),ti.apply(this,arguments)}return tc(tn,ti),tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},tn}(th.default);
23th.default.registerComponent("VolumeLevel",tu),ts.default=tu,tn.exports=ts.default},{"../../component.js":67}],102:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../utils/fn.js")),td=ta(ti("../component.js")),tp=ta(ti("../popup/popup.js")),tf=ta(ti("../popup/popup-button.js")),tm=ta(ti("./mute-toggle.js")),tg=ta(ti("./volume-control/volume-bar.js")),tv=function(ti){function tn(ts){function ta(){ts.tech_&&!1===ts.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var tl=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];tc(this,tn),void 0===tl.inline&&(tl.inline=!0),void 0===tl.vertical&&(tl.vertical=!tl.inline),tl.volumeBar=tl.volumeBar||{},tl.volumeBar.vertical=!!tl.vertical,ti.call(this,ts,tl),this.on(ts,"volumechange",this.volumeUpdate),this.on(ts,"loadstart",this.volumeUpdate),ta.call(this),this.on(ts,"loadstart",ta),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 th(tn,ti),tn.prototype.buildCSSClass=function(){var tn="";return tn=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal","vjs-volume-menu-button "+ti.prototype.buildCSSClass.call(this)+" "+tn},tn.prototype.createPopup=function(){var ti=new tp.default(this.player_,{contentElType:"div"}),tn=new tg.default(this.player_,this.options_.volumeBar);return ti.addChild(tn),this.menuContent=ti,this.volumeBar=tn,this.attachVolumeBarEvents(),ti},tn.prototype.handleClick=function(){tm.default.prototype.handleClick.call(this),ti.prototype.handleClick.call(this)},tn.prototype.attachVolumeBarEvents=function(){this.menuContent.on(["mousedown","touchdown"],tu.bind(this,this.handleMouseDown))},tn.prototype.handleMouseDown=function(){this.on(["mousemove","touchmove"],tu.bind(this.volumeBar,this.volumeBar.handleMouseMove)),this.on(this.el_.ownerDocument,["mouseup","touchend"],this.handleMouseUp)},tn.prototype.handleMouseUp=function(){this.off(["mousemove","touchmove"],tu.bind(this.volumeBar,this.volumeBar.handleMouseMove))},tn}(tf.default);tv.prototype.volumeUpdate=tm.default.prototype.update,tv.prototype.controlText_="Mute",td.default.registerComponent("VolumeMenuButton",tv),ts.default=tv,tn.exports=ts.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(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("./component")),td=tl(ti("./modal-dialog")),tp=tl((ta(ti("./utils/dom")),ti("./utils/merge-options"))),tf=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.on(ts,"error",this.open)}return th(tn,ti),tn.prototype.buildCSSClass=function(){return"vjs-error-display "+ti.prototype.buildCSSClass.call(this)},tn.prototype.content=function(){var ti=this.player().error();return ti?this.localize(ti.message):""},tn}(td.default);tf.prototype.options_=tp.default(td.default.prototype.options_,{fillAlways:!0,temporary:!1,uncloseable:!0}),tu.default.registerComponent("ErrorDisplay",tf),ts.default=tf,tn.exports=ts.default},{"./component":67,"./modal-dialog":112,"./utils/dom":143,"./utils/merge-options":149}],104:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}ts.__esModule=!0;var tl=ta(ti("./utils/events.js")),tc=function(){};tc.prototype.allowedEvents_={},tc.prototype.on=function(ti,tn){var ts=this.addEventListener;this.addEventListener=function(){},tl.on(this,ti,tn),this.addEventListener=ts},tc.prototype.addEventListener=tc.prototype.on,tc.prototype.off=function(ti,tn){tl.off(this,ti,tn)},tc.prototype.removeEventListener=tc.prototype.off,tc.prototype.one=function(ti,tn){var ts=this.addEventListener;this.addEventListener=function(){},tl.one(this,ti,tn),this.addEventListener=ts},tc.prototype.trigger=function(ti){var tn=ti.type||ti;"string"==typeof ti&&(ti={type:tn}),ti=tl.fixEvent(ti),this.allowedEvents_[tn]&&this["on"+tn]&&this["on"+tn](ti),tl.trigger(this,ti)},tc.prototype.dispatchEvent=tc.prototype.trigger,ts.default=tc,tn.exports=ts.default},{"./utils/events.js":144}],105:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}ts.__esModule=!0;var tl=ta(ti("./utils/log")),tc=function(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(ti.super_=tn)},th=function(ti){var tn=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],ts=function(){ti.apply(this,arguments)},ta={};for(var th in"object"==typeof tn?("function"==typeof tn.init&&(tl.default.warn("Constructor logic via init() is deprecated; please use constructor() instead."),tn.constructor=tn.init),tn.constructor!==Object.prototype.constructor&&(ts=tn.constructor),ta=tn):"function"==typeof tn&&(ts=tn),tc(ts,ti),ta)ta.hasOwnProperty(th)&&(ts.prototype[th]=ta[th]);return ts};ts.default=th,tn.exports=ts.default},{"./utils/log":148}],106:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}ts.__esModule=!0;for(var tl=ti("global/document"),tc=ta(tl),th={},tu=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
23webkitRequestFullscreen","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],tp=void 0,tf=0;tf<tu.length;tf++)if(tu[tf][1]in tc.default){tp=tu[tf];break}if(tp)for(var tf=0;tf<tp.length;tf++)th[td[tf]]=tp[tf];ts.default=th,tn.exports=ts.default},{"global/document":1}],107:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("./component")),tu=function(ti){function tn(){tl(this,tn),ti.apply(this,arguments)}return tc(tn,ti),tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},tn}(th.default);th.default.registerComponent("LoadingSpinner",tu),ts.default=tu,tn.exports=ts.default},{"./component":67}],108:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}ts.__esModule=!0;var tl=ta(ti("object.assign")),tc=function ti(tn){"number"==typeof tn?this.code=tn:"string"==typeof tn?this.message=tn:"object"==typeof tn&&tl.default(this,tn),this.message||(this.message=ti.defaultMessages[this.code]||"")};tc.prototype.code=0,tc.prototype.message="",tc.prototype.status=null,tc.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],tc.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 th=0;th<tc.errorTypes.length;th++)tc[tc.errorTypes[th]]=th,tc.prototype[tc.errorTypes[th]]=th;ts.default=tc,tn.exports=ts.default},{"object.assign":45}],109:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../clickable-component.js")),td=tl(ti("../component.js")),tp=tl(ti("./menu.js")),tf=ta(ti("../utils/dom.js")),tm=ta(ti("../utils/fn.js")),tg=tl(ti("../utils/to-title-case.js")),tv=function(ti){function tn(ts){var ta=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];tc(this,tn),ti.call(this,ts,ta),this.update(),this.enabled_=!0,this.el_.setAttribute("aria-haspopup","true"),this.el_.setAttribute("role","menuitem"),this.on("keydown",this.handleSubmenuKeyPress)}return th(tn,ti),tn.prototype.update=function(){var ti=this.createMenu();this.menu&&this.removeChild(this.menu),this.menu=ti,this.addChild(ti),this.buttonPressed_=!1,this.el_.setAttribute("aria-expanded","fal
23se"),this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},tn.prototype.createMenu=function(){var ti=new tp.default(this.player_);if(this.options_.title){var tn=tf.createEl("li",{className:"vjs-menu-title",innerHTML:tg.default(this.options_.title),tabIndex:-1});ti.children_.unshift(tn),tf.insertElFirst(tn,ti.contentEl())}if(this.items=this.createItems(),this.items)for(var ts=0;ts<this.items.length;ts++)ti.addItem(this.items[ts]);return ti},tn.prototype.createItems=function(){},tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},tn.prototype.buildCSSClass=function(){var tn="vjs-menu-button";return"vjs-menu-button "+(tn+=!0===this.options_.inline?"-inline":"-popup")+" "+ti.prototype.buildCSSClass.call(this)},tn.prototype.handleClick=function(){this.one("mouseout",tm.bind(this,function(){this.menu.unlockShowing(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},tn.prototype.handleKeyPress=function(tn){27===tn.which||9===tn.which?(this.buttonPressed_&&this.unpressButton(),9!==tn.which&&tn.preventDefault()):38===tn.which||40===tn.which?this.buttonPressed_||(this.pressButton(),tn.preventDefault()):ti.prototype.handleKeyPress.call(this,tn)},tn.prototype.handleSubmenuKeyPress=function(ti){(27===ti.which||9===ti.which)&&(this.buttonPressed_&&this.unpressButton(),9!==ti.which&&ti.preventDefault())},tn.prototype.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-expanded","true"),this.menu.focus())},tn.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.el_.focus())},tn.prototype.disable=function(){return this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.enabled_=!1,ti.prototype.disable.call(this)},tn.prototype.enable=function(){return this.enabled_=!0,ti.prototype.enable.call(this)},tn}(tu.default);td.default.registerComponent("MenuButton",tv),ts.default=tv,tn.exports=ts.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(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("../clickable-component.js")),tu=ta(ti("../component.js")),td=ta(ti("object.assign")),tp=function(ti){function tn(ts,ta){tl(this,tn),ti.call(this,ts,ta),this.selectable=ta.selectable,this.selected(ta.selected),this.selectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitem")}return tc(tn,ti),tn.prototype.createEl=function(tn,ts,ta){return ti.prototype.createEl.call(this,"li",td.default({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label),tabIndex:-1},ts),ta)},tn.prototype.handleClick=function(){this.selected(!0)},tn.prototype.selected=function(ti){this.selectable&&(ti?(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(" ")))},tn}(th.default);tu.default.registerComponent("MenuItem",tp),ts.default=tp,tn.exports=ts.default},{"../clickable-component.js":65,"../component.js":67,"object.assign":45}],111:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../component.js")),td=ta(ti("../utils/dom.js")),tp=ta(ti("../utils/fn.js")),tf=ta(ti("../utils/events.js")),tm=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.focusedChild_=-1,this.on("keydown",this.handleKeyPress)}return th(tn,ti),tn.prototype.addItem=function(ti){this.addChild(ti),ti.on("click",tp.bind(this,function(){this.unlockShowing()}))},tn.prototype.createEl=function(){var tn=this.options_.contentElType||"ul";this.contentEl_=td.createEl(tn,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var ts=ti.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return ts.setAttribute("role","presentation"),ts.appendChild(this.contentEl_),tf.on(ts,"click",function(ti){ti.preventDefault(),ti.stopImmediatePropagation()}),ts},tn.prototype.handleKeyPress=function(ti){37===ti.which||40===ti.which?(ti.preventDefault(),this.stepForward()):(38===ti.which||39===ti.which)&&(ti.preventDefault(),this.stepBack())},tn.prototype.stepForward=function(){var ti=0;void 0!==this.focusedChild_&&(ti=this.focusedChild_+1),this.focus(ti)},tn.prototype.stepBack=function(){var ti=0;void 0!==this.focusedChild_&&(ti=this.focusedChild_-1),this.focus(ti)}
23,tn.prototype.focus=function(){var ti=arguments.length<=0||void 0===arguments[0]?0:arguments[0],tn=this.children().slice();tn.length&&tn[0].className&&/vjs-menu-title/.test(tn[0].className)&&tn.shift(),tn.length>0&&(0>ti?ti=0:ti>=tn.length&&(ti=tn.length-1),this.focusedChild_=ti,tn[ti].el_.focus())},tn}(tu.default);tu.default.registerComponent("Menu",tm),ts.default=tm,tn.exports=ts.default},{"../component.js":67,"../utils/dom.js":143,"../utils/events.js":144,"../utils/fn.js":145}],112:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("./utils/dom")),td=tl(ti("./utils/fn")),tp=(ta(ti("./utils/log")),ti("./component")),tf=ta(tp),tm=(ta(ti("./close-button")),"vjs-modal-dialog"),tg=27,tv=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1,this.closeable(!this.options_.uncloseable),this.content(this.options_.content),this.contentEl_=tu.createEl("div",{className:tm+"-content"},{role:"document"}),this.descEl_=tu.createEl("p",{className:tm+"-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 th(tn,ti),tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},tn.prototype.buildCSSClass=function(){return tm+" vjs-hidden "+ti.prototype.buildCSSClass.call(this)},tn.prototype.handleKeyPress=function(ti){ti.which===tg&&this.closeable()&&this.close()},tn.prototype.label=function(){return this.options_.label||this.localize("Modal Window")},tn.prototype.description=function(){var ti=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(ti+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),ti},tn.prototype.open=function(){if(!this.opened_){var ti=this.player();this.trigger("beforemodalopen"),this.opened_=!0,!this.options_.fillAlways&&(this.hasBeenOpened_||this.hasBeenFilled_)||this.fill(),this.wasPlaying_=!ti.paused(),this.wasPlaying_&&ti.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",td.bind(this,this.handleKeyPress)),ti.controls(!1),this.show(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}return this},tn.prototype.opened=function(ti){return"boolean"==typeof ti&&this[ti?"open":"close"](),this.opened_},tn.prototype.close=function(){if(this.opened_){var ti=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&ti.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",td.bind(this,this.handleKeyPress)),ti.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.options_.temporary&&this.dispose()}return this},tn.prototype.closeable=function(ti){if("boolean"==typeof ti){var tn=this.closeable_=!!ti,ts=this.getChild("closeButton");if(tn&&!ts){var ta=this.contentEl_;this.contentEl_=this.el_,ts=this.addChild("closeButton"),this.contentEl_=ta,this.on(ts,"close",this.close)}!tn&&ts&&(this.off(ts,"close",this.close),this.removeChild(ts),ts.dispose())}return this.closeable_},tn.prototype.fill=function(){return this.fillWith(this.content())},tn.prototype.fillWith=function(ti){var tn=this.contentEl(),ts=tn.parentNode,ta=tn.nextSibling;return this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,ts.removeChild(tn),this.empty(),tu.insertContent(tn,ti),this.trigger("modalfill"),ta?ts.insertBefore(tn,ta):ts.appendChild(tn),this},tn.prototype.empty=function(){return this.trigger("beforemodalempty"),tu.emptyEl(this.contentEl()),this.trigger("modalempty"),this},tn.prototype.content=function(ti){return void 0!==ti&&(this.content_=ti),this.content_},tn}(tf.default);tv.prototype.options_={temporary:!0}
23,tf.default.registerComponent("ModalDialog",tv),ts.default=tv,tn.exports=ts.default},{"./close-button":66,"./component":67,"./utils/dom":143,"./utils/fn":145,"./utils/log":148}],113:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("./component.js")),td=tl(ti("global/document")),tp=tl(ti("global/window")),tf=ta(ti("./utils/events.js")),tm=ta(ti("./utils/dom.js")),tg=ta(ti("./utils/fn.js")),tv=ta(ti("./utils/guid.js")),ty=ta(ti("./utils/browser.js")),t_=tl(ti("./utils/log.js")),tb=tl(ti("./utils/to-title-case.js")),tw=ti("./utils/time-ranges.js"),tx=ti("./utils/buffer.js"),tT=ta(ti("./utils/stylesheet.js")),tk=tl(ti("./fullscreen-api.js")),tC=tl(ti("./media-error.js")),tj=tl(ti("safe-json-parse/tuple")),tS=tl(ti("object.assign")),tE=tl(ti("./utils/merge-options.js")),tP=tl(ti("./tracks/text-track-list-converter.js")),tO=tl(ti("./tracks/audio-track-list.js")),tL=tl(ti("./tracks/video-track-list.js")),tM=(tl(ti("./tech/loader.js")),ti("./poster-image.js")),tI=(tl(tM),ti("./tracks/text-track-display.js")),tA=(tl(tI),ti("./loading-spinner.js")),tz=(tl(tA),ti("./big-play-button.js")),tN=(tl(tz),ti("./control-bar/control-bar.js")),tD=(tl(tN),ti("./error-display.js")),tB=(tl(tD),ti("./tracks/text-track-settings.js")),t$=(tl(tB),ti("./modal-dialog")),tR=tl(t$),tH=tl(ti("./tech/tech.js")),tF=(tl(ti("./tech/html5.js")),function(ti){function tn(ts,ta,tl){var th=this;if(tc(this,tn),ts.id=ts.id||"vjs_video_"+tv.newGUID(),(ta=tS.default(tn.getTagSettings(ts),ta)).initChildren=!1,ta.createEl=!1,ta.reportTouchActivity=!1,ti.call(this,null,ta,tl),!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=ts,this.tagAttributes=ts&&tm.getElAttributes(ts),this.language(this.options_.language),ta.languages?function(){var ti={};Object.getOwnPropertyNames(ta.languages).forEach(function(tn){ti[tn.toLowerCase()]=ta.languages[tn]}),th.languages_=ti}():this.languages_=tn.prototype.options_.languages,this.cache_={},this.poster_=ta.poster||"",this.controls_=!!ta.controls,ts.controls=!1,this.scrubbing_=!1,this.el_=this.createEl();var tu=tE.default(this.options_);ta.plugins&&function(){var ti=ta.plugins;Object.getOwnPropertyNames(ti).forEach(function(tn){"function"==typeof this[tn]?this[tn](ti[tn]):t_.default.error("Unable to find plugin:",tn)},th)}(),this.options_.playerOptions=tu,this.initChildren(),this.isAudio("audio"===ts.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"),ty.IS_IOS||this.addClass("vjs-workinghover"),tn.players[this.id_]=this,this.userActive(!0),this.reportUserActivity(),this.listenForUserActivity_(),this.on("fullscreenchange",this.handleFullscreenChange_),this.on("stageclick",this.handleStageClick_)}return th(tn,ti),tn.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_),tn.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(),ti.prototype.dispose.call(this)},tn.prototype.createEl=function(){var tn=this.el_=ti.prototype.createEl.call(this,"div"),ts=this.tag;ts.removeAttribute("width"),ts.removeAttribute("height");var ta=tm.getElAttributes(ts);
23if(Object.getOwnPropertyNames(ta).forEach(function(ti){"class"===ti?tn.className=ta[ti]:tn.setAttribute(ti,ta[ti])}),ts.playerId=ts.id,ts.id+="_html5_api",ts.className="vjs-tech",ts.player=tn.player=this,this.addClass("vjs-paused"),!0!==tp.default.VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=tT.createStyleElement("vjs-styles-dimensions");var tl=tm.$(".vjs-styles-defaults"),tc=tm.$("head");tc.insertBefore(this.styleEl_,tl?tl.nextSibling:tc.firstChild)}this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var th=ts.getElementsByTagName("a"),tu=0;tu<th.length;tu++){var td=th.item(tu);tm.addElClass(td,"vjs-hidden"),td.setAttribute("hidden","hidden")}return ts.initNetworkState_=ts.networkState,ts.parentNode&&ts.parentNode.insertBefore(tn,ts),tm.insertElFirst(ts,tn),this.children_.unshift(ts),this.el_=tn,tn},tn.prototype.width=function(ti){return this.dimension("width",ti)},tn.prototype.height=function(ti){return this.dimension("height",ti)},tn.prototype.dimension=function(ti,tn){var ts=ti+"_";if(void 0===tn)return this[ts]||0;if(""===tn)this[ts]=void 0;else{var ta=parseFloat(tn);if(isNaN(ta))return t_.default.error('Improper value "'+tn+'" supplied for for '+ti),this;this[ts]=ta}return this.updateStyleEl_(),this},tn.prototype.fluid=function(ti){return void 0===ti?!!this.fluid_:(this.fluid_=!!ti,void(ti?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid")))},tn.prototype.aspectRatio=function(ti){if(void 0===ti)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(ti))throw Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=ti,this.fluid(!0),this.updateStyleEl_()},tn.prototype.updateStyleEl_=function(){if(!0===tp.default.VIDEOJS_NO_DYNAMIC_STYLE){var ti="number"==typeof this.width_?this.width_:this.options_.width,tn="number"==typeof this.height_?this.height_:this.options_.height,ts=this.tech_&&this.tech_.el();return void(ts&&(ti>=0&&(ts.width=ti),tn>=0&&(ts.height=tn)))}var ta=void 0,tl=void 0,tc=void 0,th=void 0,tu=(tc=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),td=tu[1]/tu[0];ta=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/td:this.videoWidth()||300,tl=void 0!==this.height_?this.height_:ta*td,th=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(th),tT.setTextContent(this.styleEl_,"\n ."+th+" {\n width: "+ta+"px;\n height: "+tl+"px;\n }\n\n ."+th+".vjs-fluid {\n padding-top: "+100*td+"%;\n }\n ")},tn.prototype.loadTech_=function(ti,tn){this.tech_&&this.unloadTech_(),"Html5"!==ti&&this.tag&&(tH.default.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=ti,this.isReady_=!1;var ts=tS.default({nativeControlsForTouch:this.options_.nativeControlsForTouch,source:tn,playerId:this.id(),techId:this.id()+"_"+ti+"_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_[ti.toLowerCase()]);this.tag&&(ts.tag=this.tag),tn&&(this.currentType_=tn.type,tn.src===this.cache_.src&&this.cache_.currentTime>0&&(ts.startTime=this.cache_.currentTime),this.cache_.src=tn.src);var ta=tH.default.getTech(ti);ta||(ta=tu.default.getComponent(ti)),this.tech_=new ta(ts),this.tech_.ready(tg.bind(this,this.handleTechReady_),!0),tP.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"===ti&&this.tag||tm.insertElFirst(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},tn.prototype.unloadTech_=function(){this.videoTracks_=this.videoTracks(),this.textTracks_=this.textTracks(),this.audioTracks_=this.audioTracks(),this.textTracksJson_=tP.default.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1},tn.prototype.tech=function(ti){if(ti&&ti.IWillNotUseThisInPlugins)return this.tech_;var tn="\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 tp.default.alert(tn),Error(tn)},tn.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_)},tn.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_)},tn.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())},tn.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},tn.prototype.hasStarted=function(ti){return void 0!==ti?(this.hasStarted_!==ti&&(this.hasStarted_=ti,ti?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_},tn.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},tn.prototype.handleTechWaiting_=function(){var ti=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return ti.removeClass("vjs-waiting")})},tn.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},tn.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},tn.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},tn.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},tn.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},tn.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&this.currentTime(this.options_.starttime),this.addClass("vjs-has-started"),this.trigger("firstplay")},tn.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},tn.prototype.handleTechProgress_=function(){this.trigger("progress")},tn.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},tn.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},tn.prototype.handleTechClick_=function(ti){0===ti.button&&this.controls()&&(this.paused()?this.play():this.pause())},tn.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},tn.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},tn.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},tn.prototype.handleTechTouchEnd_=function(ti){ti.preventDefault()},tn.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},tn.prototype.handleStageClick_=function(){this.reportUserActivity()},tn.prototype.handleTechFullscreenChange_=function(ti,tn){tn&&this.isFullscreen(tn.isFullscreen),this.trigger("fullscreenchange")},tn.prototype.handleTechError_=function(){var ti=this.tech_.error();this.error(ti&&ti.code)},tn.prototype.handleTechSuspend_=function(){this.trigger("suspend")},tn.prototype.handleTechAbort_=function(){this.trigger("abort")},tn.prototype.handleTechEmptied_=function(){this.trigger("emptied")},tn.prototype.handleTechStalled_=function(){this.trigger("stalled")},tn.prototype.handleTechLoadedMetaData_=function(){this.trigger("loadedmetadata")},tn.prototype.handleTechLoadedData_=function(){this.trigger("loadeddata")},tn.prototype.handleTechTimeUpdate_=function(){this.trigger("timeupdate")},tn.prototype.handleTechRateChange_=function(){this.trigger("ratechange")},tn.prototype.handleTechVolumeChange_=function(){this.trigger("volumechange")},tn.prototype.handleTechTextTrackChange_=function(){this.trigger("texttrackchange")},tn.prototype.getCache=function(){return this.cache_},tn.prototype.techCall_=function(ti,tn){if(this.tech_&&!this.tech_.isReady_)this.tech_.ready(function(){this[ti](tn)},!0);else try{this.tech_[ti](tn)}catch(ti){throw t_.default(ti),ti}},tn.prototype.techGet_=function(ti){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[ti]()}catch(tn){throw void 0===this.tech_[ti]?t_.default("Video.js: "+ti+" method not defined for "+this.techName_+" playback technology.",tn):"TypeError"===tn.name?(t_.default("Video.js: "+ti+" unavailable on "+this.techName_+" playback technology element.",tn),this.tech_.isReady_=!1):t_.default(tn),tn}},tn.prototype.play=function(){return this.techCall_("play"),this},tn.prototype.pause=function(){return this.techCall_("pause"),this},tn.prototype.paused=function(){return!1!==this.techGet_("paused")},tn.prototype.scrubbing=function(ti){return void 0!==ti?(this.scrubbing_=!!ti,ti?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing"),this):this.scrubbing_},tn.prototype.currentTime=function(ti){return void 0!==ti?(this.techCall_("setCurrentTime",ti),this):this.cache_.currentTime=this.techGet_("currentTime")||0},tn.prototype.duration=function(ti){return void 0===ti?this.cache_.duration||0:(0>(ti=parseFloat(ti)||0)&&(ti=1/0),ti!==this.cache_.duration&&(this.cache_.duration=ti,ti===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange")),this)},tn.prototype.remainingTime=function(){return this.duration()-this.currentTime()},tn.prototype.buffered=function(){var ti=this.techGet_("buffered");return ti&&ti.length||(ti=tw.createTimeRange(0,0)),ti},tn.prototype.bufferedPercent=function(){return tx.bufferedPercent(this.buffered(),this.duration())},tn.prototype.bufferedEnd=function(){var ti=this.buffered(),tn=this.duration(),ts=ti.end(ti.length-1);return ts>tn&&(ts=tn),ts},tn.prototype.volume=function(ti){var tn=void 0;return void 0!==ti?(tn=Math.max(0,Math.min(1,parseFloat(ti))),this.cache_.volume=tn,this.techCall_("setVolume",t
23n),this):isNaN(tn=parseFloat(this.techGet_("volume")))?1:tn},tn.prototype.muted=function(ti){return void 0!==ti?(this.techCall_("setMuted",ti),this):this.techGet_("muted")||!1},tn.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},tn.prototype.isFullscreen=function(ti){return void 0!==ti?(this.isFullscreen_=!!ti,this):!!this.isFullscreen_},tn.prototype.requestFullscreen=function(){var ti=tk.default;return this.isFullscreen(!0),ti.requestFullscreen?(tf.on(td.default,ti.fullscreenchange,tg.bind(this,function tn(){this.isFullscreen(td.default[ti.fullscreenElement]),!1===this.isFullscreen()&&tf.off(td.default,ti.fullscreenchange,tn),this.trigger("fullscreenchange")})),this.el_[ti.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},tn.prototype.exitFullscreen=function(){var ti=tk.default;return this.isFullscreen(!1),ti.requestFullscreen?td.default[ti.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},tn.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=td.default.documentElement.style.overflow,tf.on(td.default,"keydown",tg.bind(this,this.fullWindowOnEscKey)),td.default.documentElement.style.overflow="hidden",tm.addElClass(td.default.body,"vjs-full-window"),this.trigger("enterFullWindow")},tn.prototype.fullWindowOnEscKey=function(ti){27===ti.keyCode&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},tn.prototype.exitFullWindow=function(){this.isFullWindow=!1,tf.off(td.default,"keydown",this.fullWindowOnEscKey),td.default.documentElement.style.overflow=this.docOrigOverflow,tm.removeElClass(td.default.body,"vjs-full-window"),this.trigger("exitFullWindow")},tn.prototype.canPlayType=function(ti){for(var tn=void 0,ts=0,ta=this.options_.techOrder;ts<ta.length;ts++){var tl=tb.default(ta[ts]),tc=tH.default.getTech(tl);if(tc||(tc=tu.default.getComponent(tl)),tc){if(tc.isSupported()&&(tn=tc.canPlayType(ti)))return tn}else t_.default.error('The "'+tl+'" tech is undefined. Skipped browser support check for that tech.')}return""},tn.prototype.selectSource=function(ti){var tn=this.options_.techOrder.map(tb.default).map(function(ti){return[ti,tH.default.getTech(ti)||tu.default.getComponent(ti)]}).filter(function(ti){var tn=ti[0],ts=ti[1];return ts?ts.isSupported():(t_.default.error('The "'+tn+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),ts=function(ti,tn,ts){var ta=void 0;return ti.some(function(ti){return tn.some(function(tn){return!!(ta=ts(ti,tn))||void 0})}),ta},ta=void 0,tl=function(ti){return function(tn,ts){return ti(ts,tn)}},tc=function(ti,tn){var ts=ti[0];return ti[1].canPlaySource(tn)?{source:tn,tech:ts}:void 0};return(ta=this.options_.sourceOrder?ts(ti,tn,tl(tc)):ts(tn,ti,tc))||!1},tn.prototype.src=function(ti){if(void 0===ti)return this.techGet_("src");var tn=tH.default.getTech(this.techName_);return tn||(tn=tu.default.getComponent(this.techName_)),Array.isArray(ti)?this.sourceList_(ti):"string"==typeof ti?this.src({src:ti}):ti instanceof Object&&(ti.type&&!tn.canPlaySource(ti)?this.sourceList_([ti]):(this.cache_.src=ti.src,this.currentType_=ti.type||"",this.ready(function(){tn.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",ti):this.techCall_("src",ti.src),"auto"===this.options_.preload&&this.load(),this.options_.autoplay&&this.play()},!0))),this},tn.prototype.sourceList_=function(ti){var tn=this.selectSource(ti);tn?tn.tech===this.techName_?this.src(tn.source):this.loadTech_(tn.tech,tn.source):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),this.triggerReady())},tn.prototype.load=function(){return this.techCall_("load"),this},tn.prototype.reset=function(){return this.loadTech_(tb.default(this.options_.techOrder[0]),null),this.techCall_("reset"),this},tn.prototype.currentSrc=function(){return this.techGet_("currentSrc")||this.cache_.src||""},tn.prototype.currentType=function(){return this.currentType_||""},tn.prototype.preload=function(ti){return void 0!==ti?(this.techCall_("setPreload",ti),this.options_.preload=ti,this):this.techGet_("preload")},tn.prototype.autoplay=function(ti){return void 0!==ti?(this.techCall_("setAutoplay",ti),this.options_.autoplay=ti,this):this.techGet_("autoplay",ti)},tn.prototype.loop=function(ti){return void 0!==ti?(this.techCall_("setLoop",ti),this.options_.loop=ti,this):this.techGet_("loop")},tn.prototype.poster=function(ti){return void 0===ti?this.poster_:(ti||(ti=""),this.poster_=ti,this.techCall_("setPoster",ti),this.trigger("posterchange"),this)},tn.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},tn.prototype.controls=function(ti){return void 0!==ti?(ti=!!ti,this.controls_!==ti&&(this.controls_=ti,this.usingNativeControls()&&this.techCall_("setControls",ti),ti?(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_},tn.prototype.usingNativeControls=function(ti){return void 0!==ti?(ti=!!ti,this.usingNativeControls_!==ti&&(this.usingNativeControls_=ti,ti?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols"))),this):!!this.usingNativeControls_},tn.prototype.error=function(ti){return void 0===ti?this.error_||null:null===ti?(this.error_=ti,this.removeClass("vjs-error"),this.errorDisplay.close(),this):(this.error_=ti instanceof tC.default?ti:new tC.default(ti),this.addClass("vjs-error"),t_.default.error("(CODE:"+this.error_.code+" "+tC.default.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),this)},tn.prototype.ended=function(){return this.techGet_("ended")},tn.prototype.seeking=function(){return this.techGet_("seeking")},tn.prototype.seekable=function(){return this.techGet_("seekable")},tn.prototype.reportUserActivity=function(){this.userActivity_=!0},tn.prototype.userActive=function(ti){return void 0!==ti?((ti=!!ti)!==this.userActive_&&(this.userActive_=ti,ti?(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(ti){ti.stopPropagation(),ti.preventDefault()}),this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive"))),this):this.userActive_},tn.prototype.listenForUserActivity_=function(){var ti=void 0,tn=void 0,ts=void 0,ta=tg.bind(this,this.reportUserActivity),tl=function(ti){(ti.screenX!==tn||ti.screenY!==ts)&&(tn=ti.screenX,ts=ti.screenY,ta())},tc=function(){ta(),this.clearInterval(ti),ti=this.setInterval(ta,250)},th=function(){ta(),this.clearInterval(ti)};this.on("mousedown",tc),this.on("mousemove",tl),this.on("mouseup",th),this.on("keydown",ta),this.on("keyup",ta);var tu=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(tu);var ti=this.options_.inactivityTimeout;ti>0&&(tu=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},ti))}},250)},tn.prototype.playbackRate=function(ti){return void 0!==ti?(this.techCall_("setPlaybackRate",ti),this):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},tn.prototype.isAudio=function(ti){return void 0!==ti?(this.isAudio_=!!ti,this):!!this.isAudio_},tn.prototype.networkState=function(){return this.techGet_("networkState")},tn.prototype.readyState=function(){return this.techGet_("readyState")},tn.prototype.videoTracks=function(){return this.tech_?this.tech_.videoTracks():(this.videoTracks_=this.videoTracks_||new tL.default,this.videoTracks_)},tn.prototype.audioTracks=function(){return this.tech_?this.tech_.audioTracks():(this.audioTracks_=this.audioTracks_||new tO.default,this.audioTracks_)},tn.prototype.textTracks=function(){return this.tech_&&this.tech_.textTracks()},tn.prototype.remoteTextTracks=function(){return this.tech_&&this.tech_.remoteTextTracks()},tn.prototype.remoteTextTrackEls=function(){return this.tech_&&this.tech_.remoteTextTrackEls()},tn.prototype.addTextTrack=function(ti,tn,ts){return this.tech_&&this.tech_.addTextTrack(ti,tn,ts)},tn.prototype.addRemoteTextTrack=function(ti){return this.tech_&&this.tech_.addRemoteTextTrack(ti)},tn.prototype.removeRemoteTextTrack=function(){var ti=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],tn=ti.track,ts=void 0===tn?arguments[0]:tn;this.tech_&&this.tech_.removeRemoteTextTrack(ts)},tn.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},tn.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},tn.prototype.language=function(ti){return void 0===ti?this.language_:(this.language_=(""+ti).toLowerCase(),this)},tn.prototype.languages=function(){return tE.default(tn.prototype.options_.languages,this.languages_)},tn.prototype.toJSON=function(){var ti=tE.default(this.options_),tn=ti.tracks;ti.tracks=[];for(var ts=0;ts<tn.length;ts++){var ta=tn[ts];(ta=tE.default(ta)).player=void 0,ti.tracks[ts]=ta}return ti},tn.prototype.createModal=function(ti,tn){var ts=this;(tn=tn||{}).content=ti||"";var ta=new tR.default(ts,tn);return ts.addChild(ta),ta.on("dispose",function(){ts.removeChild(ta)}),ta.open()},tn.getTagSettings=function(ti){var tn={sources:[],tracks:[]},ts=tm.getElAttributes(ti),ta=ts["data-setup"];if(null!==ta){var tl=tj.default(ta||"{}"),tc=tl[0],th=tl[1];tc&&t_.default.error(tc),tS.default(ts,th)}if(tS.default(tn,ts),ti.hasChildNodes())for(var tu=ti.childNodes,td=0,tp=tu.length;tp>td;td++){var tf=tu[td],tg=tf.nodeName.toLowerCase();"source"===tg?tn.sources.push(tm.getElAttributes(tf)):"track"===tg&&tn.tracks.push(tm.getElAttributes(tf))}return tn},tn}(tu.default));tF.players={};var tW=tp.default.navigator;tF.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")||tW.languages&&tW.languages[0]||tW.userLanguage||tW.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."},tF.prototype.handleLoadedMetaData_,tF.prototype.handleLoadedData_,tF.prototype.handleUserActive_,tF.prototype.handleUserInactive_,tF.prototype.handleTimeUpdate_,tF.prototype.handleTechEnded_,tF.prototype.handleVolumeChange_,tF.prototype.handleError_,tF.prototype.flexNotSupported_=function(){var ti=td.default.createElement("i");return!("flexBasis"in ti.style||"webkitFlexBasis"in ti.style||"mozFlexBasis"in ti.style||"msFlexBasis"in ti.style||"msFlexOrder"in ti.style)},tu.default.registerComponent("Player",tF),ts.default=tF,tn.exports=ts.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,"./ut
23ils/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(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}ts.__esModule=!0;var tl=ta(ti("./player.js")),tc=function(ti,tn){tl.default.prototype[ti]=tn};ts.default=tc,tn.exports=ts.default},{"./player.js":113}],115:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../clickable-component.js")),td=tl(ti("../component.js")),tp=(ta((tl(ti("./popup.js")),ti("../utils/dom.js"))),ti("../utils/fn.js")),tf=(tl((ta(tp),ti("../utils/to-title-case.js"))),function(ti){function tn(ts){var ta=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];tc(this,tn),ti.call(this,ts,ta),this.update()}return th(tn,ti),tn.prototype.update=function(){var ti=this.createPopup();this.popup&&this.removeChild(this.popup),this.popup=ti,this.addChild(ti),this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},tn.prototype.createPopup=function(){},tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},tn.prototype.buildCSSClass=function(){var tn="vjs-menu-button";return"vjs-menu-button "+(tn+=!0===this.options_.inline?"-inline":"-popup")+" "+ti.prototype.buildCSSClass.call(this)},tn}(tu.default));td.default.registerComponent("PopupButton",tf),ts.default=tf,tn.exports=ts.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(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../component.js")),td=ta(ti("../utils/dom.js")),tp=ta(ti("../utils/fn.js")),tf=ta(ti("../utils/events.js")),tm=function(ti){function tn(){tc(this,tn),ti.apply(this,arguments)}return th(tn,ti),tn.prototype.addItem=function(ti){this.addChild(ti),ti.on("click",tp.bind(this,function(){this.unlockShowing()}))},tn.prototype.createEl=function(){var tn=this.options_.contentElType||"ul";this.contentEl_=td.createEl(tn,{className:"vjs-menu-content"});var ts=ti.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return ts.appendChild(this.contentEl_),tf.on(ts,"click",function(ti){ti.preventDefault(),ti.stopImmediatePropagation()}),ts},tn}(tu.default);tu.default.registerComponent("Popup",tm),ts.default=tm,tn.exports=ts.default},{"../component.js":67,"../utils/dom.js":143,"../utils/events.js":144,"../utils/fn.js":145}],117:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("./clickable-component.js")),td=tl(ti("./component.js")),tp=ta(ti("./utils/fn.js")),tf=ta(ti("./utils/dom.js")),tm=ta(ti("./utils/browser.js")),tg=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.update(),ts.on("posterchange",tp.bind(this,this.update))}return th(tn,ti),tn.prototype.dispose=function(){this.player().off("posterchange",this.update),ti.prototype.dispose.call(this)},tn.prototype.createEl=function(){var ti=tf.createEl("div",{className:"vjs-poster",tabIndex:-1});
23return tm.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=tf.createEl("img"),ti.appendChild(this.fallbackImg_)),ti},tn.prototype.update=function(){var ti=this.player().poster();this.setSrc(ti),ti?this.show():this.hide()},tn.prototype.setSrc=function(ti){if(this.fallbackImg_)this.fallbackImg_.src=ti;else{var tn="";ti&&(tn='url("'+ti+'")'),this.el_.style.backgroundImage=tn}},tn.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},tn}(tu.default);td.default.registerComponent("PosterImage",tg),ts.default=tg,tn.exports=ts.default},{"./clickable-component.js":65,"./component.js":67,"./utils/browser.js":140,"./utils/dom.js":143,"./utils/fn.js":145}],118:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}ts.__esModule=!0;var tc=tl(ti("./utils/events.js")),th=ta(ti("global/document")),tu=ta(ti("global/window")),td=!1,tp=void 0,tf=function(){var ti=th.default.getElementsByTagName("video"),tn=th.default.getElementsByTagName("audio"),ts=[];if(ti&&ti.length>0)for(var ta=0,tl=ti.length;tl>ta;ta++)ts.push(ti[ta]);if(tn&&tn.length>0)for(var ta=0,tl=tn.length;tl>ta;ta++)ts.push(tn[ta]);if(ts&&ts.length>0)for(var ta=0,tl=ts.length;tl>ta;ta++){var tc=ts[ta];if(!tc||!tc.getAttribute){tm(1);break}void 0===tc.player&&null!==tc.getAttribute("data-setup")&&tp(tc)}else td||tm(1)},tm=function(ti,tn){tn&&(tp=tn),setTimeout(tf,ti)};"complete"===th.default.readyState?td=!0:tc.one(tu.default,"load",function(){td=!0});var tg=function(){return td};ts.autoSetup=tf,ts.autoSetupTimeout=tm,ts.hasLoaded=tg},{"./utils/events.js":144,"global/document":1,"global/window":2}],119:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../component.js")),td=ta(ti("../utils/dom.js")),tp=tl(ti("object.assign")),tf=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),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(ts,"controlsvisible",this.update),this.on(ts,this.playerEvent,this.update)}return th(tn,ti),tn.prototype.createEl=function(tn){var ts=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],ta=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];return ts.className=ts.className+" vjs-slider",ts=tp.default({tabIndex:0},ts),ta=tp.default({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},ta),ti.prototype.createEl.call(this,tn,ts,ta)},tn.prototype.handleMouseDown=function(ti){var tn=this.bar.el_.ownerDocument;ti.preventDefault(),td.blockTextSelection(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(tn,"mousemove",this.handleMouseMove),this.on(tn,"mouseup",this.handleMouseUp),this.on(tn,"touchmove",this.handleMouseMove),this.on(tn,"touchend",this.handleMouseUp),this.handleMouseMove(ti)},tn.prototype.handleMouseMove=function(){},tn.prototype.handleMouseUp=function(){var ti=this.bar.el_.ownerDocument;td.unblockTextSelection(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(ti,"mousemove",this.handleMouseMove),this.off(ti,"mouseup",this.handleMouseUp),this.off(ti,"touchmove",this.handleMouseMove),this.off(ti,"touchend",this.handleMouseUp),this.update()},tn.prototype.update=function(){if(this.el_){var ti=this.getPercent(),tn=this.bar;if(tn){("number"!=typeof ti||ti!=ti||0>ti||ti===1/0)&&(ti=0);var ts=(100*ti).toFixed(2)+"%";this.vertical()?tn.el().style.height=ts:tn.el().style.width=ts}}},tn.prototype.calculateDistance=function(ti){var tn=td.getPointerPosition(this.el_,ti);return this.vertical()?tn.y:tn.x},tn.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},tn.prototype.handleKeyPress=function(ti){37===ti.which||40===ti.which?(ti.preventDefault(),this.stepBack()):(38===ti.which||39===ti.which)&&(ti.preventDefault(),this.stepForward())},tn.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},tn.prototype.handleClick=function(ti){ti.stopImmediatePropagation(),ti.preventDefault()},tn.prototype.vertical=function(ti){return void 0===ti?this.vertical_||!1:(this.vertical_=!!ti,this.addClass(this.vertical_?"vjs-slider-vertical":"vjs-slider-horizontal"),this)},tn}(tu.default);tu.default.registerComponent("Slider",tf),ts.default=tf,tn.exports=ts.default},{"../component.js":67,"../utils/dom.js":143,"object.assign":45}],120:[function(ti,tn,ts){"use strict";function ta(ti){return ti.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},ti.streamFromParts=function(ti,tn){return ti+"&"+tn},ti.streamToParts=function(ti){var tn={connection:"",stream:""};if(!ti)return tn;var ts=ti.search(/&(?!\w+=)/),ta=void 0;return -1!==ts?ta=ts+1:0===(ts=ta=ti.lastIndexOf("/")+1)&&(ts=ta=ti.length),tn.connection=ti.substring(0,ts),tn.stream=ti.substring(ta,ti.length),tn},ti.isStreamingType=function(tn){return tn in ti.streamingFormats},ti.RTMP_RE=/^rtmp[set]?:\/\//i,ti.isStreamingSrc=function(tn){return ti.RTMP_RE.test(tn)},ti.rtmpSourceHandler={},ti.rtmpSourceHandler.canPlayType=function(tn){return ti.isStreamingType(tn)?"maybe":""},ti.rtmpSourceHandler.canHandleSource=function(tn){return ti.rtmpSourceHandler.canPlayType(tn.type)||(ti.isStreamingSrc(tn.src)?"maybe":"")},ti.rtmpSourceHandler.handleSource=function(tn,ts){var ta=ti.streamToParts(tn.src);ts.setRtmpConnection(ta.connection),ts.setRtmpStream(ta.stream)},ti.registerSourceHandler(ti.rtmpSourceHandler),ti}ts.__esModule=!0,ts.default=ta,tn.exports=ts.default},{}],121:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}function tu(ti){tO["set"+(ti.charAt(0).toUpperCase()+ti.slice(1))]=function(tn){return this.el_.vjs_setProperty(ti,tn)}}function td(ti){tO[ti]=function(){return this.el_.vjs_getProperty(ti)}}ts.__esModule=!0;for(var tp=ti("./tech"),tf=tl(tp),tm=ti("../utils/dom.js"),tg=ta(tm),tv=ti("../utils/url.js"),ty=ta(tv),t_=ti("../utils/time-ranges.js"),tb=ti("./flash-rtmp"),tw=tl(tb),tx=ti("../component"),tT=tl(tx),tk=ti("global/window"),tC=tl(tk),tj=ti("object.assign"),tS=tl(tj),tE=tC.default.navigator,tP=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),ts.source&&this.ready(function(){this.setSource(ts.source)},!0),ts.startTime&&this.ready(function(){this.load(),this.play(),this.currentTime(ts.startTime)},!0),tC.default.videojs=tC.default.videojs||{},tC.default.videojs.Flash=tC.default.videojs.Flash||{},tC.default.videojs.Flash.onReady=tn.onReady,tC.default.videojs.Flash.onEvent=tn.onEvent,tC.default.videojs.Flash.onError=tn.onError,this.on("seeked",function(){this.lastSeekTarget_=void 0})}return th(tn,ti),tn.prototype.createEl=function(){var ti=this.options_;ti.swf||(ti.swf="//vjs.zencdn.net/swf/5.0.1/video-js.swf");var ts=ti.techId,ta=tS.default({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:ti.autoplay,preload:ti.preload,loop:ti.loop,muted:ti.muted},ti.flashVars),tl=tS.default({wmode:"opaque",bgcolor:"#000000"},ti.params),tc=tS.default({id:ts,name:ts,class:"vjs-tech"},ti.attributes);return this.el_=tn.embed(ti.swf,ta,tl,tc),this.el_.tech=this,this.el_},tn.prototype.play=function(){this.ended()&&this.setCurrentTime(0),this.el_.vjs_play()},tn.prototype.pause=function(){this.el_.vjs_pause()},tn.prototype.src=function(ti){return void 0===ti?this.currentSrc():this.setSrc(ti)},tn.prototype.setSrc=function(ti){if(ti=ty.getAbsoluteURL(ti),this.el_.vjs_src(ti),this.autoplay()){var tn=this;this.setTimeout(function(){tn.play()},0)}},tn.prototype.seeking=function(){return void 0!==this.lastSeekTarget_},tn.prototype.setCurrentTime=function(tn){var ts=this.seekable();ts.length&&(tn=(tn=tn>ts.start(0)?tn:ts.start(0))<ts.end(ts.length-1)?tn:ts.end(ts.length-1),this.lastSeekTarget_=tn,this.trigger("seeking"),this.el_.vjs_setProperty("currentTime",tn),ti.prototype.setCurrentTime.call(this))},tn.prototype.currentTime=function(){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")},tn.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")},tn.prototype.load=function(){this.el_.vjs_load()},tn.prototype.poster=function(){this.el_.vjs_getProperty("poster")},tn.prototype.setPoster=function(){},tn.prototype.seekable=function(){var ti=this.duration();return 0===ti?t_.createTimeRange():t_.createTimeRange(0,ti)},tn.prototype.buffered=function(){var ti=this.el_.vjs_getProperty("buffered");return 0===ti.length?t_.createTimeRange():t_.createTimeRange(ti[0][0],ti[0][1])},tn.prototype.supportsFullScreen=function(){return!1},tn.prototype.enterFullScreen=function(){return!1},tn}(tf.default),tO=tP.prototype,tL="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),tM="networkState,readyState,initialTime,duration,startOffsetTime,paused,ended,videoWidth,videoHeight".split(","),tI=0;tI<tL.length;tI++)td(tL[tI]),tu(tL[tI]);for(var tI=0;tI<tM.length;tI++)td(tM[tI]);tP.isSupported=function(){return tP.version()[0]>=10},tf.default.withSourceHandlers(tP),tP.nativeSourceHandler={},tP.nativeSourceHandler.canPlayType=function(ti){return ti in tP.formats?"maybe":""},tP.nativeSourceHandler.canHandleSource=function(ti){var tn;function ts(ti){var tn=ty.getFileExtension(ti);return tn?"video/"+tn:""}return tn=ti.type?ti.type.replace(/;.*/,"").toLowerCase():ts(ti.src),tP.nativeSourceHandler.canPlayType(tn)},tP.nativeSourceHandler.handleSource=function(ti,tn){tn.setSrc(ti.src)},tP.nativeSourceHandler.dispose=function(){},tP.registerSourceHandler(tP.nativeSourceHandler),tP.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},tP.onReady=function(ti){var tn=tg.getEl(ti),ts=tn&&tn.tech;ts&&ts.el()&&tP.checkReady(ts)},tP.checkReady=function(ti){ti.el()&&(ti.el().vjs_getProperty?ti.triggerReady():this.setTimeout(function(){tP.checkReady(ti)},50))},tP.onEvent=function(ti,tn){tg.getEl(ti).tech.trigger(tn)},tP.onError=function(ti,tn){var ts=tg.getEl(ti).tech;return"srcnotfound"===tn?ts.error(4):void ts.error("FLASH: "+tn)},tP.version=function(){var ti="0,0,0";try{ti=new tC.default.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(tn){try{tE.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(ti=(tE.plugins["Shockwave Flash 2.0"]||tE.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(ti){}}return ti.split(",")},tP.embed=function(ti,tn,ts,ta){var tl=tP.getEmbedCode(ti,tn,ts,ta);return tg.createEl("div",{innerHTML:tl}).childNodes[0]},tP.getEmbedCode=function(ti,tn,ts,ta){var tl='<object type="application/x-shockwave-flash" ',tc="",th="",tu="";
23return tn&&Object.getOwnPropertyNames(tn).forEach(function(ti){tc+=ti+"="+tn[ti]+"&"}),Object.getOwnPropertyNames(ts=tS.default({movie:ti,flashvars:tc,allowScriptAccess:"always",allowNetworking:"all"},ts)).forEach(function(ti){th+='<param name="'+ti+'" value="'+ts[ti]+'" />'}),Object.getOwnPropertyNames(ta=tS.default({data:ti,width:"100%",height:"100%"},ta)).forEach(function(ti){tu+=ti+'="'+ta[ti]+'" '}),""+tl+tu+">"+th+"</object>"},tw.default(tP),tT.default.registerComponent("Flash",tP),tf.default.registerTech("Flash",tP),ts.default=tP,tn.exports=ts.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(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}function tu(ti,tn){return ti.raw=tn,ti}ts.__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."]),tp=tl(ti("./tech.js")),tf=tl(ti("../component")),tm=ta(ti("../utils/dom.js")),tg=ta(ti("../utils/url.js")),tv=ta(ti("../utils/fn.js")),ty=tl(ti("../utils/log.js")),t_=tl(ti("tsml")),tb=ta((tl(ti("../../../src/js/tracks/text-track.js")),ti("../utils/browser.js"))),tw=tl(ti("global/document")),tx=tl(ti("global/window")),tT=tl(ti("object.assign")),tk=tl(ti("../utils/merge-options.js")),tC=tl(ti("../utils/to-title-case.js")),tj=function(ti){function tn(ts,ta){var tl=this;tc(this,tn),ti.call(this,ts,ta);var th=ts.source,tu=!1;if(th&&(this.el_.currentSrc!==th.src||ts.tag&&3===ts.tag.initNetworkState_)?this.setSource(th):this.handleLateInit_(this.el_),this.el_.hasChildNodes()){for(var tp=this.el_.childNodes,tf=tp.length,tm=[];tf--;){var tw=tp[tf];"track"===tw.nodeName.toLowerCase()&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(tw),this.remoteTextTracks().addTrack_(tw.track),tu||this.el_.hasAttribute("crossorigin")||!tg.isCrossOrigin(tw.src)||(tu=!0)):tm.push(tw))}for(var tx=0;tx<tm.length;tx++)this.el_.removeChild(tm[tx])}["audio","video"].forEach(function(ti){var tn=tC.default(ti);if(tl["featuresNative"+tn+"Tracks"]){var ts=tl.el()[ti+"Tracks"];ts&&ts.addEventListener&&(ts.addEventListener("change",tv.bind(tl,tl["handle"+tn+"TrackChange_"])),ts.addEventListener("addtrack",tv.bind(tl,tl["handle"+tn+"TrackAdd_"])),ts.addEventListener("removetrack",tv.bind(tl,tl["handle"+tn+"TrackRemove_"])))}}),this.featuresNativeTextTracks&&(tu&&ty.default.warn(t_.default(td)),this.handleTextTrackChange_=tv.bind(this,this.handleTextTrackChange),this.handleTextTrackAdd_=tv.bind(this,this.handleTextTrackAdd),this.handleTextTrackRemove_=tv.bind(this,this.handleTextTrackRemove),this.proxyNativeTextTracks_()),(tb.TOUCH_ENABLED&&
23!0===ts.nativeControlsForTouch||tb.IS_IPHONE||tb.IS_NATIVE_ANDROID)&&this.setControls(!0),this.triggerReady()}return th(tn,ti),tn.prototype.dispose=function(){var ts=this;["audio","video","text"].forEach(function(ti){var tn=tC.default(ti),ta=ts.el_[ti+"Tracks"];ta&&ta.removeEventListener&&(ta.removeEventListener("change",ts["handle"+tn+"TrackChange_"]),ta.removeEventListener("addtrack",ts["handle"+tn+"TrackAdd_"]),ta.removeEventListener("removetrack",ts["handle"+tn+"TrackRemove_"]))}),tn.disposeMediaElement(this.el_),ti.prototype.dispose.call(this)},tn.prototype.createEl=function(){var ti=this.options_.tag;if(!ti||!1===this.movingMediaElementInDOM){if(ti){var ts=ti.cloneNode(!0);ti.parentNode.insertBefore(ts,ti),tn.disposeMediaElement(ti),ti=ts}else{ti=tw.default.createElement("video");var ta=this.options_.tag&&tm.getElAttributes(this.options_.tag),tl=tk.default({},ta);tb.TOUCH_ENABLED&&!0===this.options_.nativeControlsForTouch||delete tl.controls,tm.setElAttributes(ti,tT.default(tl,{id:this.options_.techId,class:"vjs-tech"}))}}for(var tc=["autoplay","preload","loop","muted"],th=tc.length-1;th>=0;th--){var tu=tc[th],td={};void 0!==this.options_[tu]&&(td[tu]=this.options_[tu]),tm.setElAttributes(ti,td)}return ti},tn.prototype.handleLateInit_=function(ti){var tn=this;if(0!==ti.networkState&&3!==ti.networkState){if(0===ti.readyState){var ts=function(){var ti=!1,ts=function(){ti=!0};tn.on("loadstart",ts);var ta=function(){ti||this.trigger("loadstart")};return tn.on("loadedmetadata",ta),tn.ready(function(){this.off("loadstart",ts),this.off("loadedmetadata",ta),ti||this.trigger("loadstart")}),{v:void 0}}();if("object"==typeof ts)return ts.v}var ta=["loadstart"];ta.push("loadedmetadata"),ti.readyState>=2&&ta.push("loadeddata"),ti.readyState>=3&&ta.push("canplay"),ti.readyState>=4&&ta.push("canplaythrough"),this.ready(function(){ta.forEach(function(ti){this.trigger(ti)},this)})}},tn.prototype.proxyNativeTextTracks_=function(){var ti=this.el().textTracks;if(ti){for(var tn=0;tn<ti.length;tn++)this.textTracks().addTrack_(ti[tn]);ti.addEventListener&&(ti.addEventListener("change",this.handleTextTrackChange_),ti.addEventListener("addtrack",this.handleTextTrackAdd_),ti.addEventListener("removetrack",this.handleTextTrackRemove_))}},tn.prototype.handleTextTrackChange=function(){var ti=this.textTracks();this.textTracks().trigger({type:"change",target:ti,currentTarget:ti,srcElement:ti})},tn.prototype.handleTextTrackAdd=function(ti){this.textTracks().addTrack_(ti.track)},tn.prototype.handleTextTrackRemove=function(ti){this.textTracks().removeTrack_(ti.track)},tn.prototype.handleVideoTrackChange_=function(){var ti=this.videoTracks();this.videoTracks().trigger({type:"change",target:ti,currentTarget:ti,srcElement:ti})},tn.prototype.handleVideoTrackAdd_=function(ti){this.videoTracks().addTrack_(ti.track)},tn.prototype.handleVideoTrackRemove_=function(ti){this.videoTracks().removeTrack_(ti.track)},tn.prototype.handleAudioTrackChange_=function(){var ti=this.audioTracks();this.audioTracks().trigger({type:"change",target:ti,currentTarget:ti,srcElement:ti})},tn.prototype.handleAudioTrackAdd_=function(ti){this.audioTracks().addTrack_(ti.track)},tn.prototype.handleAudioTrackRemove_=function(ti){this.audioTracks().removeTrack_(ti.track)},tn.prototype.play=function(){this.el_.play()},tn.prototype.pause=function(){this.el_.pause()},tn.prototype.paused=function(){return this.el_.paused},tn.prototype.currentTime=function(){return this.el_.currentTime},tn.prototype.setCurrentTime=function(ti){try{this.el_.currentTime=ti}catch(ti){ty.default(ti,"Video is not ready. (Video.js)")}},tn.prototype.duration=function(){return this.el_.duration||0},tn.prototype.buffered=function(){return this.el_.buffered},tn.prototype.volume=function(){return this.el_.volume},tn.prototype.setVolume=function(ti){this.el_.volume=ti},tn.prototype.muted=function(){return this.el_.muted},tn.prototype.setMuted=function(ti){this.el_.muted=ti},tn.prototype.width=function(){return this.el_.offsetWidth},tn.prototype.height=function(){return this.el_.offsetHeight},tn.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var ti=tx.default.navigator.userAgent;if(/Android/.test(ti)||!/Chrome|Mac OS X 10.5/.test(ti))return!0}return!1},tn.prototype.enterFullScreen=function(){var ti=this.el_;"webkitDisplayingFullscreen"in ti&&this.one("webkitbeginfullscreen",function(){this.one("webkitendfullscreen",function(){this.trigger("fullscreenchange",{isFullscreen:!1})}),this.trigger("fullscreenchange",{isFullscreen:!0})}),ti.paused&&ti.networkState<=ti.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){ti.pause(),ti.webkitEnterFullScreen()},0)):ti.webkitEnterFullScreen()},tn.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},tn.prototype.src=function(ti){return void 0===ti?this.el_.src:void this.setSrc(ti)},tn.prototype.setSrc=function(ti){this.el_.src=ti},tn.prototype.load=function(){this.el_.load()},tn.prototype.reset=function(){tn.resetMediaElement(this.el_)},tn.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},tn.prototype.poster=function(){return this.el_.poster},tn.prototype.setPoster=function(ti){this.el_.poster=ti},tn.prototype.preload=function(){return this.el_.preload},tn.prototype.setPreload=function(ti){this.el_.preload=ti},tn.prototype.autoplay=function(){return this.el_.autoplay},tn.prototype.setAutoplay=function(ti){this.el_.autoplay=ti},tn.prototype.controls=function(){return this.el_.controls},tn.prototype.setControls=function(ti){this.el_.controls=!!ti},tn.prototype.loop=function(){return this.el_.loop},tn.prototype.setLoop=function(ti){this.el_.loop=ti},tn.prototype.error=function(){return this.el_.error},tn.prototype.seeking=function(){return this.el_.seeking},tn.prototype.seekable=function(){return this.el_.seekable},tn.prototype.ended=function(){return this.el_.ended},tn.prototype.defaultMuted=function(){return this.el_.defaultMuted},tn.prototype.playbackRate=function(){return this.el_.playbackRate},tn.prototype.played=function(){return this.el_.played},tn.prototype.setPlaybackRate=function(ti){this.el_.playbackRate=ti},tn.prototype.networkState=function(){return this.el_.networkState},tn.prototype.readyState=function(){return this.el_.readyState},tn.prototype.videoWidth=function(){return this.el_.videoWidth},tn.prototype.videoHeight=function(){return this.el_.videoHeight},tn.prototype.textTracks=function(){return ti.prototype.textTracks.call(this)},tn.prototype.addTextTrack=function(tn,ts,ta){return this.featuresNativeTextTracks?this.el_.addTextTrack(tn,ts,ta):ti.prototype.addTextTrack.call(this,tn,ts,ta)},tn.prototype.addRemoteTextTrack=function(){var tn=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];if(!this.featuresNativeTextTracks)return ti.prototype.addRemoteTextTrack.call(this,tn);var ts=tw.default.createElement("track");return tn.kind&&(ts.kind=tn.kind),tn.label&&(ts.label=tn.label),(tn.language||tn.srclang)&&(ts.srclang=tn.language||tn.srclang),tn.default&&(ts.default=tn.default),tn.id&&(ts.id=tn.id),tn.src&&(ts.src=tn.src),this.el().appendChild(ts),this.remoteTextTrackEls().addTrackElement_(ts),this.remoteTextTracks().addTrack_(ts.track),ts},tn.prototype.removeRemoteTextTrack=function(tn){if(!this.featuresNativeTextTracks)return ti.prototype.removeRemoteTextTrack.call(this,tn);var ts=void 0,ta=void 0,tl=this.remoteTextTrackEls().getTrackElementByTrack_(tn);for(this.remoteTextTrackEls().removeTrackElement_(tl),this.remoteTextTracks().removeTrack_(tn),ta=(ts=this.$$("track")).length;ta--;)(tn===ts[ta]||tn===ts[ta].track)&&this.el().removeChild(ts[ta])},tn}(tp.default);tj.TEST_VID=tw.default.createElement("video");var tS=tw.default.createElement("track");tS.kind="captions",tS.srclang="en",tS.label="English",tj.TEST_VID.appendChild(tS),tj.isSupported=function(){try{tj.TEST_VID.volume=.5}catch(ti){return!1}return!!tj.TEST_VID.canPlayType},tp.default.withSourceHandlers(tj),tj.nativeSourceHandler={},tj.nativeSourceHandler.canPlayType=function(ti){try{return tj.TEST_VID.canPlayType(ti)}catch(ti){return""}},tj.nativeSourceHandler.canHandleSource=function(ti){var tn;return ti.type?tj.nativeSourceHandler.canPlayType(ti.type):ti.src?(tn=tg.getFileExtension(ti.src),tj.nativeSourceHandler.canPlayType("video/"+tn)):""},tj.nativeSourceHandler.handleSource=function(ti,tn){tn.setSrc(ti.src)},tj.nativeSourceHandler.dispose=function(){},tj.registerSourceHandler(tj.nativeSourceHandler),tj.canControlVolume=function(){var ti=tj.TEST_VID.volume;return tj.TEST_VID.volume=ti/2+.1,ti!==tj.TEST_VID.volume},tj.canControlPlaybackRate=function(){if(tb.IS_ANDROID&&tb.IS_CHROME)return!1;var ti=tj.TEST_VID.playbackRate;return tj.TEST_VID.playbackRate=ti/2+.1,ti!==tj.TEST_VID.playbackRate},tj.supportsNativeTextTracks=function(){var ti;return(ti=!!tj.TEST_VID.textTracks)&&tj.TEST_VID.textTracks.length>0&&(ti="number"!=typeof tj.TEST_VID.textTracks[0].mode),ti&&tb.IS_FIREFOX&&(ti=!1),!ti||"onremovetrack"in tj.TEST_VID.textTracks||(ti=!1),ti},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 tE=void 0,tP=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,tO=/^video\/mp4/i;tj.patchCanPlayType=function(){tb.ANDROID_VERSION>=4&&(tE||(tE=tj.TEST_VID.constructor.prototype.canPlayType),tj.TEST_VID.constructor.prototype.canPlayType=function(ti){return ti&&tP.test(ti)?"maybe":tE.call(this,ti)}),tb.IS_OLD_ANDROID&&(tE||(tE=tj.TEST_VID.constructor.prototype.canPlayType),tj.TEST_VID.constructor.prototype.canPlayType=function(ti){return ti&&tO.test(ti)?"maybe":tE.call(this,ti)})},tj.unpatchCanPlayType=function(){var ti=tj.TEST_VID.constructor.prototype.canPlayType;return tj.TEST_VID.constructor.prototype.canPlayType=tE,tE=null,ti},tj.patchCanPlayType(),tj.disposeMediaElement=function(ti){if(ti){for(ti.parentNode&&ti.parentNode.removeChild(ti);ti.hasChildNodes();)ti.removeChild(ti.firstChild);ti.removeAttribute("src"),"function"==typeof ti.load&&function(){try{ti.load()}catch(ti){}}()}},tj.resetMediaElement=function(ti){if(ti){for(var tn=ti.querySelectorAll("source"),ts=tn.length;ts--;)ti.removeChild(tn[ts]);ti.removeAttribute("src"),"function"==typeof ti.load&&function(){try{ti.load()}catch(ti){}}()}},tf.default.registerComponent("Html5",tj),tp.default.registerTech("Html5",tj),ts.default=tj,tn.exports=ts.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(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function tc(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var th=ta(ti("../component.js")),tu=ta(ti("./tech.js")),td=(ta(ti("global/window")),ti("../utils/to-title-case.js")),tp=ta(td),tf=function(ti){function tn(ts,ta,tc){if(tl(this,tn),ti.call(this,ts,ta,tc),ta.playerOptions.sources&&0!==ta.playerOptions.sources.length)ts.src(ta.playerOptions.sources);else for(var td=0,tf=ta.playerOptions.techOrder;td<tf.length;td++){var tm=tp.default(tf[td]),tg=tu.default.getTech(tm);if(tm||(tg=th.default.getComponent(tm)),tg&&tg.isSupported()){ts.loadTech_(tm);break}}}return tc(tn,ti),tn}(th.default);th.default.registerComponent("MediaLoader",tf),ts.default=tf,tn.exports=ts.default},{"../component.js":67,"../utils/to-title-case.js":152,"./tech.js":124,"global/window":2}],124:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../component")),td=tl(ti("../tracks/html-track-element")),tp=tl(ti("../tracks/html-track-element-list")),tf=tl(ti("../utils/merge-options.js")),tm=tl(ti("../tracks/text-track")),tg=tl(ti("../tracks/text-track-list")),tv=(tl(ti("../tracks/video-track")),ti("../tracks/video-track-list")),ty=tl(tv),t_=tl(ti("../tracks/audio-track-list")),tb=ta((tl(ti("../tracks/audio-track")),ti("../utils/fn.js"))),tw=tl(ti("../utils/log.js")),tx=ti("../utils/time-ranges.js"),tT=ti("../utils/buffer.js"),tk=tl(ti("../media-error.js")),tC=tl(ti("global/window")),tj=tl(ti("global/document")),tS=function(ti){function tn(){var ts=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],ta=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1];tc(this,tn),ts.reportTouchActivity=!1,ti.call(this,null,ts,ta),this.hasStarted_=!1,this.on("playing",function(){this.hasStarted_=!0}),this.on("loadstart",function(){this.hasStarted_=!1}),this.textTracks_=ts.textTracks,this.videoTracks_=ts.videoTracks,this.audioTracks_=ts.audioTracks,this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),(!1===ts.nativeCaptions||!1===ts.nativeTextTracks)&&(this.featuresNativeTextTracks=!1),this.featuresNativeTextTracks||this.on("ready",this.emulateTextTracks),this.initTextTrackListeners(),this.initTrackListeners(),this.emitTapEvents()}/*! Time Tracking -------------------------------------------------------------- */return th(tn,ti),tn.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},tn.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},tn.prototype.trackProgress=function(){this.stopTrackingProgress(),this.progressInterval=this.setInterval(tb.bind(this,function(){var ti=this.bufferedPercent();this.bufferedPercent_!==ti&&this.trigger("progress"),this.bufferedPercent_=ti,1===ti&&this.stopTrackingProgress()}),500)},tn.prototype.onDurationChange=function(){this.duration_=this.duration()},tn.prototype.buffered=function(){return tx.createTimeRange(0,0)},tn.prototype.bufferedPercent=function(){return tT.bufferedPercent(this.buffered(),this.duration_)},tn.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},tn.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},tn.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},tn.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},tn.prototype.sto
23pTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},tn.prototype.dispose=function(){this.clearTracks(["audio","video","text"]),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),ti.prototype.dispose.call(this)},tn.prototype.clearTracks=function(ti){var tn=this;(ti=[].concat(ti)).forEach(function(ti){for(var ts=tn[ti+"Tracks"]()||[],ta=ts.length;ta--;){var tl=ts[ta];"text"===ti&&tn.removeRemoteTextTrack(tl),ts.removeTrack_(tl)}})},tn.prototype.reset=function(){},tn.prototype.error=function(ti){return void 0!==ti&&(this.error_=ti instanceof tk.default?ti:new tk.default(ti),this.trigger("error")),this.error_},tn.prototype.played=function(){return this.hasStarted_?tx.createTimeRange(0,0):tx.createTimeRange()},tn.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},tn.prototype.initTextTrackListeners=function(){var ti=tb.bind(this,function(){this.trigger("texttrackchange")}),tn=this.textTracks();tn&&(tn.addEventListener("removetrack",ti),tn.addEventListener("addtrack",ti),this.on("dispose",tb.bind(this,function(){tn.removeEventListener("removetrack",ti),tn.removeEventListener("addtrack",ti)})))},tn.prototype.initTrackListeners=function(){var ti=this;["video","audio"].forEach(function(tn){var ts=function(){ti.trigger(tn+"trackchange")},ta=ti[tn+"Tracks"]();ta.addEventListener("removetrack",ts),ta.addEventListener("addtrack",ts),ti.on("dispose",function(){ta.removeEventListener("removetrack",ts),ta.removeEventListener("addtrack",ts)})})},tn.prototype.emulateTextTracks=function(){var ti=this,tn=this.textTracks();if(tn){tC.default.WebVTT||null==this.el().parentNode||function(){var tn=tj.default.createElement("script");tn.src=ti.options_["vtt.js"]||"https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js",tn.onload=function(){ti.trigger("vttjsloaded")},tn.onerror=function(){ti.trigger("vttjserror")},ti.on("dispose",function(){tn.onload=null,tn.onerror=null}),tC.default.WebVTT=!0,ti.el().parentNode.appendChild(tn)}();var ts=function(){return ti.trigger("texttrackchange")},ta=function(){ts();for(var ti=0;ti<tn.length;ti++){var ta=tn[ti];ta.removeEventListener("cuechange",ts),"showing"===ta.mode&&ta.addEventListener("cuechange",ts)}};ta(),tn.addEventListener("change",ta),this.on("dispose",function(){tn.removeEventListener("change",ta)})}},tn.prototype.videoTracks=function(){return this.videoTracks_=this.videoTracks_||new ty.default,this.videoTracks_},tn.prototype.audioTracks=function(){return this.audioTracks_=this.audioTracks_||new t_.default,this.audioTracks_},tn.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new tg.default,this.textTracks_},tn.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new tg.default,this.remoteTextTracks_},tn.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new tp.default,this.remoteTextTrackEls_},tn.prototype.addTextTrack=function(ti,tn,ts){if(!ti)throw Error("TextTrack kind is required but was not provided");return tE(this,ti,tn,ts)},tn.prototype.addRemoteTextTrack=function(ti){var tn=tf.default(ti,{tech:this}),ts=new td.default(tn);return this.remoteTextTrackEls().addTrackElement_(ts),this.remoteTextTracks().addTrack_(ts.track),this.textTracks().addTrack_(ts.track),ts},tn.prototype.removeRemoteTextTrack=function(ti){this.textTracks().removeTrack_(ti);var tn=this.remoteTextTrackEls().getTrackElementByTrack_(ti);this.remoteTextTrackEls().removeTrackElement_(tn),this.remoteTextTracks().removeTrack_(ti)},tn.prototype.setPoster=function(){},tn.prototype.canPlayType=function(){return""},tn.isTech=function(ti){return ti.prototype instanceof tn||ti instanceof tn||ti===tn},tn.registerTech=function(ti,ts){if(tn.techs_||(tn.techs_={}),!tn.isTech(ts))throw Error("Tech "+ti+" must be a Tech");return tn.techs_[ti]=ts,ts},tn.getTech=function(ti){return tn.techs_&&tn.techs_[ti]?tn.techs_[ti]:tC.default&&tC.default.videojs&&tC.default.videojs[ti]?(tw.default.warn("The "+ti+" tech w
23as added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),tC.default.videojs[ti]):void 0},tn}(tu.default);tS.prototype.textTracks_,tS.prototype.audioTracks_,tS.prototype.videoTracks_;var tE=function(ti,tn,ts,ta){var tl=arguments.length<=4||void 0===arguments[4]?{}:arguments[4],tc=ti.textTracks();tl.kind=tn,ts&&(tl.label=ts),ta&&(tl.language=ta),tl.tech=ti;var th=new tm.default(tl);return tc.addTrack_(th),th};tS.prototype.featuresVolumeControl=!0,tS.prototype.featuresFullscreenResize=!1,tS.prototype.featuresPlaybackRate=!1,tS.prototype.featuresProgressEvents=!1,tS.prototype.featuresTimeupdateEvents=!1,tS.prototype.featuresNativeTextTracks=!1,tS.withSourceHandlers=function(ti){ti.registerSourceHandler=function(tn,ts){var ta=ti.sourceHandlers;ta||(ta=ti.sourceHandlers=[]),void 0===ts&&(ts=ta.length),ta.splice(ts,0,tn)},ti.canPlayType=function(tn){for(var ts=ti.sourceHandlers||[],ta=void 0,tl=0;tl<ts.length;tl++)if(ta=ts[tl].canPlayType(tn))return ta;return""},ti.selectSourceHandler=function(tn){for(var ts=ti.sourceHandlers||[],ta=void 0,tl=0;tl<ts.length;tl++)if(ta=ts[tl].canHandleSource(tn))return ts[tl];return null},ti.canPlaySource=function(tn){var ts=ti.selectSourceHandler(tn);return ts?ts.canHandleSource(tn):""},["seekable","duration"].forEach(function(ti){var tn=this[ti];"function"==typeof tn&&(this[ti]=function(){return this.sourceHandler_&&this.sourceHandler_[ti]?this.sourceHandler_[ti].apply(this.sourceHandler_,arguments):tn.apply(this,arguments)})},ti.prototype),ti.prototype.setSource=function(tn){var ts=ti.selectSourceHandler(tn);return ts||(ti.nativeSourceHandler?ts=ti.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),ts!==ti.nativeSourceHandler&&(this.currentSource_=tn,this.off(this.el_,"loadstart",ti.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",ti.prototype.successiveLoadStartListener_),this.one(this.el_,"loadstart",ti.prototype.firstLoadStartListener_)),this.sourceHandler_=ts.handleSource(tn,this,this.options_),this.on("dispose",this.disposeSourceHandler),this},ti.prototype.firstLoadStartListener_=function(){this.one(this.el_,"loadstart",ti.prototype.successiveLoadStartListener_)},ti.prototype.successiveLoadStartListener_=function(){this.currentSource_=null,this.disposeSourceHandler(),this.one(this.el_,"loadstart",ti.prototype.successiveLoadStartListener_)},ti.prototype.disposeSourceHandler=function(){this.sourceHandler_&&this.sourceHandler_.dispose&&(this.off(this.el_,"loadstart",ti.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",ti.prototype.successiveLoadStartListener_),this.sourceHandler_.dispose())}},tu.default.registerComponent("Tech",tS),tu.default.registerComponent("MediaTechController",tS),tS.registerTech("Tech",tS),ts.default=tS,tn.exports=ts.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(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("./track-list")),td=ta(ti("../utils/browser.js")),tp=tl(ti("global/document")),tf=function(ti,tn){for(var ts=0;ts<ti.length;ts++)tn.id!==ti[ts].id&&(ti[ts].enabled=!1)},tm=function(ti){function tn(){var ts=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];tc(this,tn);for(var ta=void 0,tl=ts.length-1;tl>=0;tl--)if(ts[tl].enabled){tf(ts,ts[tl]);break}if(td.IS_IE8){for(var th in ta=tp.default.createElement("custom"),tu.default.prototype)"constructor"!==th&&(ta[th]=tu.default.prototype[th]);for(var th in tn.prototype)"constructor"!==th&&(ta[th]=tn.prototype[th])}return(ta=ti.call(this,ts,ta)).changing_=!1,ta}return th(tn,ti),tn.prototype.addTrack_=function(tn){var ts=this;tn.enabled&&tf(this,tn),ti.prototype.addTrack_.call(this,tn),tn.addEventListener&&tn.addEventListener("enabledchange",function(){ts.changing_||(ts.changing_=!0,tf(ts,tn),ts.changing_=!1,ts.trigger("change"))})},tn.prototype.addTrack=function(ti){this.addTrack_(ti)},tn.prototype.removeTrack=function(tn){ti.prototype.removeTrack_.call(this,tn)},tn}(tu.default);ts.default=tm,tn.exports=ts.default},{"../utils/browser.js":140,"./track-list":136,"global/document":1}],126:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=ti("./track-enums"),td=tl(ti("./track")),tp=tl(ti("../utils/merge-options")),tf=ta(ti("../utils/browser.js")),tm=function(ti){function tn(){var ts=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];tc(this,tn);var ta=tp.default(ts,{kind:tu.AudioTrackKind[ts.kind]||""}),tl=ti.call(this,ta),th=!1;if(tf.IS_IE8)for(var td in tn.prototype)"constructor"!==td&&(tl[td]=tn.prototype[td]);return Object.defineProperty(tl,"enabled",{get:function(){return th},set:function(ti){"boolean"==typeof ti&&ti!==th&&(th=ti,this.trigger("enabledchange"))}}),ta.enabled&&(tl.enabled=ta.enabled),tl.loaded_=!0,tl}return th(tn,ti),tn}(td.default);ts.default=tm,tn.exports=ts.default},{"../utils/browser.js":140,"../utils/merge-options":149,"./track":137,"./track-enums":135}],127:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}ts.__esModule=!0;var th=tl(ti("../utils/browser.js")),tu=ta(ti("global/document")),td=function(){function ti(){var tn=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];tc(this,ti);var ts=this;if(th.IS_IE8)for(var ta in ts=tu.default.createElement("custom"),ti.prototype)"constructor"!==ta&&(ts[ta]=ti.prototype[ta]);ts.trackElements_=[],Object.defineProperty(ts,"length",{get:function(){return this.trackElements_.length}});for(var tl=0,td=tn.length;td>tl;tl++)ts.addTrackElement_(tn[tl]);return th.IS_IE8?ts:void 0}return ti.prototype.addTrackElement_=function(ti){this.trackElements_.pu
23sh(ti)},ti.prototype.getTrackElementByTrack_=function(ti){for(var tn=void 0,ts=0,ta=this.trackElements_.length;ta>ts;ts++)if(ti===this.trackElements_[ts].track){tn=this.trackElements_[ts];break}return tn},ti.prototype.removeTrackElement_=function(ti){for(var tn=0,ts=this.trackElements_.length;ts>tn;tn++)if(ti===this.trackElements_[tn]){this.trackElements_.splice(tn,1);break}},ti}();ts.default=td,tn.exports=ts.default},{"../utils/browser.js":140,"global/document":1}],128:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../utils/browser.js")),td=ta(ti("global/document")),tp=ta(ti("../event-target")),tf=ta(ti("../tracks/text-track")),tm=0,tg=1,tv=2,ty=3,t_=function(ti){function tn(){var ts=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];tc(this,tn),ti.call(this);var ta=void 0,tl=this;if(tu.IS_IE8)for(var th in tl=td.default.createElement("custom"),tn.prototype)"constructor"!==th&&(tl[th]=tn.prototype[th]);var tp=new tf.default(ts);return tl.kind=tp.kind,tl.src=tp.src,tl.srclang=tp.language,tl.label=tp.label,tl.default=tp.default,Object.defineProperty(tl,"readyState",{get:function(){return ta}}),Object.defineProperty(tl,"track",{get:function(){return tp}}),ta=tm,tp.addEventListener("loadeddata",function(){ta=tv,tl.trigger({type:"load",target:tl})}),tu.IS_IE8?tl:void 0}return th(tn,ti),tn}(tp.default);t_.prototype.allowedEvents_={load:"load"},t_.NONE=tm,t_.LOADING=tg,t_.LOADED=tv,t_.ERROR=ty,ts.default=t_,tn.exports=ts.default},{"../event-target":104,"../tracks/text-track":134,"../utils/browser.js":140,"global/document":1}],129:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}ts.__esModule=!0;var th=tl(ti("../utils/browser.js")),tu=ta(ti("global/document")),td=function(){function ti(tn){tc(this,ti);var ts=this;if(th.IS_IE8)for(var ta in ts=tu.default.createElement("custom"),ti.prototype)"constructor"!==ta&&(ts[ta]=ti.prototype[ta]);return ti.prototype.setCues_.call(ts,tn),Object.defineProperty(ts,"length",{get:function(){return this.length_}}),th.IS_IE8?ts:void 0}return ti.prototype.setCues_=function(ti){var tn=this.length||0,ts=0,ta=ti.length;this.cues_=ti,this.length_=ti.length;var tl=function(ti){""+ti in this||Object.defineProperty(this,""+ti,{get:function(){return this.cues_[ti]}})};if(ta>tn)for(ts=tn;ta>ts;ts++)tl.call(this,ts)},ti.prototype.getCueById=function(ti){for(var tn=null,ts=0,ta=this.length;ta>ts;ts++){var tl=this[ts];if(tl.id===ti){tn=tl;break}}return tn},ti}();ts.default=td,tn.exports=ts.default},{"../utils/browser.js":140,"global/document":1}],130:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}function tu(ti,tn){return"rgba("+parseInt(ti[1]+ti[1],16)+","+parseInt(ti[2]+ti[2],16)+","+parseInt(ti[3]+ti[3],16)+","+tn+")"}function td(ti,tn,ts){try{ti.style[tn]=ts}catch(ti){}}ts.__esModule=!0;var tp=tl(ti("../component")),tf=(tl(ti("../menu/menu.js")),ti("../menu/menu-item.js")),tm=(tl(tf),ti("../menu/menu-button.js")),tg=ta((tl(tm),ti("../utils/fn.js"))),tv=(tl(ti("global/document")),ti("global/window")),ty=tl(tv),t_="#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',
23script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'},tx=function(ti){function tn(ts,ta,tl){tc(this,tn),ti.call(this,ts,ta,tl),ts.on("loadstart",tg.bind(this,this.toggleDisplay)),ts.on("texttrackchange",tg.bind(this,this.updateDisplay)),ts.ready(tg.bind(this,function(){if(ts.tech_&&ts.tech_.featuresNativeTextTracks)return void this.hide();ts.on("fullscreenchange",tg.bind(this,this.updateDisplay));for(var ti=this.options_.playerOptions.tracks||[],tn=0;tn<ti.length;tn++){var ta=ti[tn];this.player_.addRemoteTextTrack(ta)}var tl={captions:1,subtitles:1},tc=this.player_.textTracks(),th=void 0,tu=void 0;if(tc){for(var tn=0;tn<tc.length;tn++){var ta=tc[tn];ta.default&&("descriptions"!==ta.kind||th?ta.kind in tl&&!tu&&(tu=ta):th=ta)}tu?tu.mode="showing":th&&(th.mode="showing")}}))}return th(tn,ti),tn.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"assertive","aria-atomic":"true"})},tn.prototype.clearDisplay=function(){"function"==typeof ty.default.WebVTT&&ty.default.WebVTT.processCues(ty.default,[],this.el_)},tn.prototype.updateDisplay=function(){var ti=this.player_.textTracks();if(this.clearDisplay(),ti){for(var tn=null,ts=null,ta=ti.length;ta--;){var tl=ti[ta];"showing"===tl.mode&&("descriptions"===tl.kind?tn=tl:ts=tl)}ts?this.updateForTrack(ts):tn&&this.updateForTrack(tn)}},tn.prototype.updateForTrack=function(ti){if("function"==typeof ty.default.WebVTT&&ti.activeCues){for(var tn=this.player_.textTrackSettings.getValues(),ts=[],ta=0;ta<ti.activeCues.length;ta++)ts.push(ti.activeCues[ta]);ty.default.WebVTT.processCues(ty.default,ts,this.el_);for(var tl=ts.length;tl--;){var tc=ts[tl];if(tc){var th=tc.displayState;if(tn.color&&(th.firstChild.style.color=tn.color),tn.textOpacity&&td(th.firstChild,"color",tu(tn.color||"#fff",tn.textOpacity)),tn.backgroundColor&&(th.firstChild.style.backgroundColor=tn.backgroundColor),tn.backgroundOpacity&&td(th.firstChild,"backgroundColor",tu(tn.backgroundColor||"#000",tn.backgroundOpacity)),tn.windowColor&&(tn.windowOpacity?td(th,"backgroundColor",tu(tn.windowColor,tn.windowOpacity)):th.style.backgroundColor=tn.windowColor),tn.edgeStyle&&("dropshadow"===tn.edgeStyle?th.firstChild.style.textShadow="2px 2px 3px "+t_+", 2px 2px 4px "+t_+", 2px 2px 5px "+t_:"raised"===tn.edgeStyle?th.firstChild.style.textShadow="1px 1px "+t_+", 2px 2px "+t_+", 3px 3px "+t_:"depressed"===tn.edgeStyle?th.firstChild.style.textShadow="1px 1px "+tb+", 0 1px "+tb+", -1px -1px "+t_+", 0 -1px "+t_:"uniform"===tn.edgeStyle&&(th.firstChild.style.textShadow="0 0 4px "+t_+", 0 0 4px "+t_+", 0 0 4px "+t_+", 0 0 4px "+t_)),tn.fontPercent&&1!==tn.fontPercent){var tp=ty.default.parseFloat(th.style.fontSize);th.style.fontSize=tp*tn.fontPercent+"px",th.style.height="auto",th.style.top="auto",th.style.bottom="2px"}tn.fontFamily&&"default"!==tn.fontFamily&&("small-caps"===tn.fontFamily?th.firstChild.style.fontVariant="small-caps":th.firstChild.style.fontFamily=tw[tn.fontFamily])}}}},tn}(tp.default);tp.default.registerComponent("TextTrackDisplay",tx),ts.default=tx,tn.exports=ts.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(ti,tn,ts){"use strict";ts.__esModule=!0;var ta=function(ti){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(tn,ts){return ti[ts]&&(tn[ts]=ti[ts]),tn},{cues:ti.cues&&Array.prototype.map.call(ti.cues,function(ti){return{startTime:ti.startTime,endTime:ti.endTime,text:ti.text,id:ti.id}})})},tl=function(ti){var tn=ti.$$("track"),ts=Array.prototype.map.call(tn,function(ti){return ti.track});return Array.prototype.map.call(tn,function(ti){var tn=ta(ti.track);return ti.src&&(tn.src=ti.src),tn}).concat(Array.prototype.filter.call(ti.textTracks(),function(ti){return -1===ts.indexOf(ti)}).map(ta))}
23,tc=function(ti,tn){return ti.forEach(function(ti){var ts=tn.addRemoteTextTrack(ti).track;!ti.src&&ti.cues&&ti.cues.forEach(function(ti){return ts.addCue(ti)})}),tn.textTracks()};ts.default={textTracksToJson:tl,jsonToTextTracks:tc,trackToJson_:ta},tn.exports=ts.default},{}],132:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("./track-list")),td=ta(ti("../utils/fn.js")),tp=ta(ti("../utils/browser.js")),tf=tl(ti("global/document")),tm=function(ti){function tn(){var ts=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];tc(this,tn);var ta=void 0;if(tp.IS_IE8){for(var tl in ta=tf.default.createElement("custom"),tu.default.prototype)"constructor"!==tl&&(ta[tl]=tu.default.prototype[tl]);for(var tl in tn.prototype)"constructor"!==tl&&(ta[tl]=tn.prototype[tl])}return ti.call(this,ts,ta)}return th(tn,ti),tn.prototype.addTrack_=function(tn){ti.prototype.addTrack_.call(this,tn),tn.addEventListener("modechange",td.bind(this,function(){this.trigger("change")}))},tn.prototype.removeTrack_=function(ti){for(var tn=void 0,ts=0,ta=this.length;ta>ts;ts++)if(this[ts]===ti){(tn=this[ts]).off&&tn.off(),this.tracks_.splice(ts,1);break}tn&&this.trigger({track:tn,type:"removetrack"})},tn.prototype.getTrackById=function(ti){for(var tn=null,ts=0,ta=this.length;ta>ts;ts++){var tl=this[ts];if(tl.id===ti){tn=tl;break}}return tn},tn}(tu.default);ts.default=tm,tn.exports=ts.default},{"../utils/browser.js":140,"../utils/fn.js":145,"./track-list":136,"global/document":1}],133:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}function tu(ti){var tn=void 0;return ti.selectedOptions?tn=ti.selectedOptions[0]:ti.options&&(tn=ti.options[ti.options.selectedIndex]),tn.value}function td(ti,tn){if(tn){var ts=void 0;for(ts=0;ts<ti.options.length&&ti.options[ts].value!==tn;ts++);ti.selectedIndex=ts}}function tp(){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">
23Background</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-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>'}ts.__esModule=!0;var tf=tl(ti("../component")),tm=ta(ti("../utils/events.js")),tg=ta(ti("../utils/fn.js")),tv=tl(ti("../utils/log.js")),ty=tl(ti("safe-json-parse/tuple")),t_=tl(ti("global/window")),tb=function(ti){function tn(ts,ta){tc(this,tn),ti.call(this,ts,ta),this.hide(),void 0===ta.persistTextTrackSettings&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings),tm.on(this.$(".vjs-done-button"),"click",tg.bind(this,function(){this.saveSettings(),this.hide()})),tm.on(this.$(".vjs-default-button"),"click",tg.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()})),tm.on(this.$(".vjs-fg-color > select"),"change",tg.bind(this,this.updateDisplay)),tm.on(this.$(".vjs-bg-color > select"),"change",tg.bind(this,this.updateDisplay)),tm.on(this.$(".window-color > select"),"change",tg.bind(this,this.updateDisplay)),tm.on(this.$(".vjs-text-opacity > select"),"change",tg.bind(this,this.updateDisplay)),tm.on(this.$(".vjs-bg-opacity > select"),"change",tg.bind(this,this.updateDisplay)),tm.on(this.$(".vjs-window-opacity > select"),"change",tg.bind(this,this.updateDisplay)),tm.on(this.$(".vjs-font-percent select"),"change",tg.bind(this,this.updateDisplay)),tm.on(this.$(".vjs-edge-style select"),"change",tg.bind(this,this.updateDisplay)),tm.on(this.$(".vjs-font-family select"),"change",tg.bind(this,this.updateDisplay)),this.options_.persistTextTrackSettings&&this.restoreSettings()}return th(tn,ti),tn.prototype.createEl=function(){return ti.prototype.createEl.call(this,"div",{className:"vjs-caption-settings vjs-modal-overlay",innerHTML:tp()})},tn.prototype.getValues=function(){var ti=tu(this.$(".vjs-edge-style select")),tn=tu(this.$(".vjs-font-family select")),ts=tu(this.$(".vjs-fg-color > select")),ta=tu(this.$(".vjs-text-opacity > select")),tl=tu(this.$(".vjs-bg-color > select")),tc=tu(this.$(".vjs-bg-opacity > select")),th=tu(this.$(".window-color > select")),td={backgroundOpacity:tc,textOpacity:ta,windowOpacity:tu(this.$(".vjs-window-opacity > select")),edgeStyle:ti,fontFamily:tn,color:ts,backgroundColor:tl,windowColor:th,fontPercent:t_.default.parseFloat(tu(this.$(".vjs-font-percent > select")))};for(var tp in td)(""===td[tp]||"none"===td[tp]||"fontPercent"===tp&&1===td[tp])&&delete td[tp];return td},tn.prototype.setValues=function(ti){td(this.$(".vjs-edge-style select"),ti.edgeStyle),td(this.$(".vjs-font-family select"),ti.fontFamily),td(this.$(".vjs-fg-color > select"),ti.color),td(this.$(".vjs-text-opacity > select"),ti.textOpacity),td(this.$(".vjs-bg-color > select"),ti.backgroundColor),td(this.$(".vjs-bg-opacity > select"),ti.backgroundOpacity),td(this.$(".window-color > select"),ti.windowColor),td(this.$(".vjs-window-opacity > select"),ti.windowOpacity);var tn=ti.fontPercent;tn&&(tn=tn.toFixed(2)),td(this.$(".vjs-font-percent > select"),tn)},tn.prototype.restoreSettings=function(){var ti=void 0,tn=void 0;try{var ts=ty.default(t_.default.localStorage.getItem("vjs-text-track-settings"));ti=ts[0],tn=ts[1],ti&&tv.default.error(ti)}catch(ti){tv.default.warn(ti)}tn&&this.setValues(tn)},tn.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var ti=this.getValues();try{Object.getOwnPropertyNames(ti).length>0?t_.default.localStorage.setItem("vjs-text-track-settings",JSON.stringify(ti)):t_.default.localStorage.removeItem("vjs-text-track-settings")}catch(ti){tv.default.warn(ti)}}},tn.prototype.updateDisplay=function(){var ti=this.player_.getChild("textTrackDisplay");ti&&ti.updateDisplay()},tn}(tf.default);tf.default.registerComponent("TextTrackSettings",tb),ts.default=tb,tn.exports=ts.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(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("./text-track-cue-list")),td=ta(ti("../utils/fn.js")),tp=ti("./track-enums"),tf=tl(ti("../utils/log.js")),tm=(tl(ti("global/document")),ti("global/window")),tg=tl(tm),tv=tl(ti("./track.js")),ty=ti("../utils/url.js"),t_=tl(ti("xhr")),tb=tl(ti("../utils/merge-options")),tw=ta(ti("../utils/browser.js")),tx=function(ti,tn){var ts=new tg.default.WebVTT.Parser(tg.default,tg.default.vttjs,tg.default.WebVTT.StringDecoder()),ta=[];ts.oncue=function(ti){tn.addCue(ti)},ts.onparsingerror=function(ti){ta.push(ti)},ts.onflush=function(){tn.trigger({type:"loadeddata",target:tn})},ts.parse(ti),ta.length>0&&ta.forEach(function(ti){return tf.default.error(ti)}),ts.flush()},tT=function(ti,tn){var ts={uri:ti},ta=ty.isCrossOrigin(ti);
23ta&&(ts.cors=ta),t_.default(ts,td.bind(this,function(ti,ts,ta){return ti?tf.default.error(ti,ts):(tn.loaded_=!0,void("function"!=typeof tg.default.WebVTT?tn.tech_&&function(){var ti=function(){return tx(ta,tn)};tn.tech_.on("vttjsloaded",ti),tn.tech_.on("vttjserror",function(){tf.default.error("vttjs failed to load, stopping trying to process "+tn.src),tn.tech_.off("vttjsloaded",ti)})}():tx(ta,tn)))}))},tk=function(ti){function tn(){var ts=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];if(tc(this,tn),!ts.tech)throw Error("A tech was not provided.");var ta=tb.default(ts,{kind:tp.TextTrackKind[ts.kind]||"subtitles",language:ts.language||ts.srclang||""}),tl=tp.TextTrackMode[ta.mode]||"disabled",th=ta.default;("metadata"===ta.kind||"chapters"===ta.kind)&&(tl="hidden");var tf=ti.call(this,ta);if(tf.tech_=ta.tech,tw.IS_IE8)for(var tm in tn.prototype)"constructor"!==tm&&(tf[tm]=tn.prototype[tm]);tf.cues_=[],tf.activeCues_=[];var tg=new tu.default(tf.cues_),tv=new tu.default(tf.activeCues_),ty=!1,t_=td.bind(tf,function(){this.activeCues,ty&&(this.trigger("cuechange"),ty=!1)});return"disabled"!==tl&&tf.tech_.on("timeupdate",t_),Object.defineProperty(tf,"default",{get:function(){return th},set:function(){}}),Object.defineProperty(tf,"mode",{get:function(){return tl},set:function(ti){tp.TextTrackMode[ti]&&("showing"===(tl=ti)&&this.tech_.on("timeupdate",t_),this.trigger("modechange"))}}),Object.defineProperty(tf,"cues",{get:function(){return this.loaded_?tg:null},set:function(){}}),Object.defineProperty(tf,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return tv;for(var ti=this.tech_.currentTime(),tn=[],ts=0,ta=this.cues.length;ta>ts;ts++){var tl=this.cues[ts];tl.startTime<=ti&&tl.endTime>=ti?tn.push(tl):tl.startTime===tl.endTime&&tl.startTime<=ti&&tl.startTime+.5>=ti&&tn.push(tl)}if(ty=!1,tn.length!==this.activeCues_.length)ty=!0;else for(var ts=0;ts<tn.length;ts++)-1===this.activeCues_.indexOf(tn[ts])&&(ty=!0);return this.activeCues_=tn,tv.setCues_(this.activeCues_),tv},set:function(){}}),ta.src?(tf.src=ta.src,tT(ta.src,tf)):tf.loaded_=!0,tf}return th(tn,ti),tn.prototype.addCue=function(ti){var tn=this.tech_.textTracks();if(tn)for(var ts=0;ts<tn.length;ts++)tn[ts]!==this&&tn[ts].removeCue(ti);this.cues_.push(ti),this.cues.setCues_(this.cues_)},tn.prototype.removeCue=function(ti){for(var tn=!1,ts=0,ta=this.cues_.length;ta>ts;ts++)this.cues_[ts]===ti&&(this.cues_.splice(ts,1),tn=!0);tn&&this.cues.setCues_(this.cues_)},tn}(tv.default);tk.prototype.allowedEvents_={cuechange:"cuechange"},ts.default=tk,tn.exports=ts.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(ti,tn,ts){"use strict";ts.__esModule=!0;var ta={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},tl={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},tc={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},th={disabled:"disabled",hidden:"hidden",showing:"showing"};ts.default={VideoTrackKind:ta,AudioTrackKind:tl,TextTrackKind:tc,TextTrackMode:th},tn.exports=ts.default},{}],136:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../event-target")),td=(ta(ti("../utils/fn.js")),ti("../utils/browser.js")),tp=ta(td),tf=tl(ti("global/document")),tm=function(ti){function tn(){var ts=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],ta=arguments.length<=1||void 0===arguments[1]?null:arguments[1];if(tc(this,tn),ti.call(this),!ta&&(ta=this,tp.IS_IE8))for(var tl in ta=tf.default.createElement("custom"),tn.prototype)"constructor"!==tl&&(ta[tl]=tn.prototype[tl]);ta.tracks_=[],Object.defineProperty(ta,"length",{get:function(){return this.tracks_.length}});for(var th=0;th<ts.length;th++)ta.addTrack_(ts[th]);return ta}return th(tn,ti),tn.prototype.addTrack_=function(ti){var tn=this.tracks_.length;""+tn in this||Object.defineProperty(this,tn,{get:function(){return this.tracks_[tn]}}),-1===this.tracks_.indexOf(ti)&&(this.tracks_.push(ti),this.trigger({track:ti,type:"addtrack"}))},tn.prototype.removeTrack_=function(ti){for(var tn=void 0,ts=0,ta=this.length;ta>ts;ts++)if(this[ts]===ti){(tn=this[ts]).off&&tn.off(),this.tracks_.splice(ts,1
23);break}tn&&this.trigger({track:tn,type:"removetrack"})},tn.prototype.getTrackById=function(ti){for(var tn=null,ts=0,ta=this.length;ta>ts;ts++){var tl=this[ts];if(tl.id===ti){tn=tl;break}}return tn},tn}(tu.default);for(var tg in tm.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},tm.prototype.allowedEvents_)tm.prototype["on"+tg]=null;ts.default=tm,tn.exports=ts.default},{"../event-target":104,"../utils/browser.js":140,"../utils/fn.js":145,"global/document":1}],137:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("../utils/browser.js")),td=ta(ti("global/document")),tp=tl(ti("../utils/guid.js")),tf=function(ti){function tn(){var ts=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];tc(this,tn),ti.call(this);var ta=this;if(tu.IS_IE8)for(var tl in ta=td.default.createElement("custom"),tn.prototype)"constructor"!==tl&&(ta[tl]=tn.prototype[tl]);
23var th={id:ts.id||"vjs_track_"+tp.newGUID(),kind:ts.kind||"",label:ts.label||"",language:ts.language||""},tf=function(ti){Object.defineProperty(ta,ti,{get:function(){return th[ti]},set:function(){}})};for(var tm in th)tf(tm);return ta}return th(tn,ti),tn}(ta(ti("../event-target")).default);ts.default=tf,tn.exports=ts.default},{"../event-target":104,"../utils/browser.js":140,"../utils/guid.js":147,"global/document":1}],138:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=tl(ti("./track-list")),td=ta(ti("../utils/browser.js")),tp=tl(ti("global/document")),tf=function(ti,tn){for(var ts=0;ts<ti.length;ts++)tn.id!==ti[ts].id&&(ti[ts].selected=!1)},tm=function(ti){function tn(){var ts=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];tc(this,tn);for(var ta=void 0,tl=ts.length-1;tl>=0;tl--)if(ts[tl].selected){tf(ts,ts[tl]);break}if(td.IS_IE8){for(var th in ta=tp.default.createElement("custom"),tu.default.prototype)"constructor"!==th&&(ta[th]=tu.default.prototype[th]);for(var th in tn.prototype)"constructor"!==th&&(ta[th]=tn.prototype[th])}return(ta=ti.call(this,ts,ta)).changing_=!1,Object.defineProperty(ta,"selectedIndex",{get:function(){for(var ti=0;ti<this.length;ti++)if(this[ti].selected)return ti;return -1},set:function(){}}),ta}return th(tn,ti),tn.prototype.addTrack_=function(tn){var ts=this;tn.selected&&tf(this,tn),ti.prototype.addTrack_.call(this,tn),tn.addEventListener&&tn.addEventListener("selectedchange",function(){ts.changing_||(ts.changing_=!0,tf(ts,tn),ts.changing_=!1,ts.trigger("change"))})},tn.prototype.addTrack=function(ti){this.addTrack_(ti)},tn.prototype.removeTrack=function(tn){ti.prototype.removeTrack_.call(this,tn)},tn}(tu.default);ts.default=tm,tn.exports=ts.default},{"../utils/browser.js":140,"./track-list":136,"global/document":1}],139:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){if(!(ti instanceof tn))throw TypeError("Cannot call a class as a function")}function th(ti,tn){if("function"!=typeof tn&&null!==tn)throw TypeError("Super expression must either be null or a function, not "+typeof tn);ti.prototype=Object.create(tn&&tn.prototype,{constructor:{value:ti,enumerable:!1,writable:!0,configurable:!0}}),tn&&(Object.setPrototypeOf?Object.setPrototypeOf(ti,tn):ti.__proto__=tn)}ts.__esModule=!0;var tu=ti("./track-enums"),td=tl(ti("./track")),tp=tl(ti("../utils/merge-options")),tf=ta(ti("../utils/browser.js")),tm=function(ti){function tn(){var ts=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];tc(this,tn);var ta=tp.default(ts,{kind:tu.VideoTrackKind[ts.kind]||""}),tl=ti.call(this,ta),th=!1;if(tf.IS_IE8)for(var td in tn.prototype)"constructor"!==td&&(tl[td]=tn.prototype[td]);return Object.defineProperty(tl,"selected",{get:function(){return th},set:function(ti){"boolean"==typeof ti&&ti!==th&&(th=ti,this.trigger("selectedchange"))}}),ta.selected&&(tl.selected=ta.selected),tl}return th(tn,ti),tn}(td.default);ts.default=tm,tn.exports=ts.default},{"../utils/browser.js":140,"../utils/merge-options":149,"./track":137,"./track-enums":135}],140:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}ts.__esModule=!0;var tl=ta(ti("global/document")),tc=ta(ti("global/window")),th=tc.default.navigator.userAgent,tu=/AppleWeb
23Kit\/([\d.]+)/i.exec(th),td=tu?parseFloat(tu.pop()):null,tp=/iPad/i.test(th);ts.IS_IPAD=tp;var tf=/iPhone/i.test(th)&&!tp;ts.IS_IPHONE=tf;var tm=/iPod/i.test(th);ts.IS_IPOD=tm;var tg=tf||tp||tm;ts.IS_IOS=tg;var tv=function(){var ti=th.match(/OS (\d+)_/i);return ti&&ti[1]?ti[1]:void 0}();ts.IOS_VERSION=tv;var ty=/Android/i.test(th);ts.IS_ANDROID=ty;var t_=function(){var ti,tn,ts=th.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);return ts?(ti=ts[1]&&parseFloat(ts[1]),tn=ts[2]&&parseFloat(ts[2]),ti&&tn?parseFloat(ts[1]+"."+ts[2]):ti||null):null}();ts.ANDROID_VERSION=t_;var tb=ty&&/webkit/i.test(th)&&2.3>t_;ts.IS_OLD_ANDROID=tb;var tw=ty&&5>t_&&537>td;ts.IS_NATIVE_ANDROID=tw;var tx=/Firefox/i.test(th);ts.IS_FIREFOX=tx;var tT=/Edge/i.test(th);ts.IS_EDGE=tT;var tk=!tT&&/Chrome/i.test(th);ts.IS_CHROME=tk;var tC=/MSIE\s8\.0/.test(th);ts.IS_IE8=tC;var tj=!!("ontouchstart"in tc.default||tc.default.DocumentTouch&&tl.default instanceof tc.default.DocumentTouch);ts.TOUCH_ENABLED=tj;var tS="backgroundSize"in tl.default.createElement("video").style;ts.BACKGROUND_SIZE_SUPPORTED=tS},{"global/document":1,"global/window":2}],141:[function(ti,tn,ts){"use strict";function ta(ti,tn){var ts,ta,tc=0;if(!tn)return 0;ti&&ti.length||(ti=tl.createTimeRange(0,0));for(var th=0;th<ti.length;th++)ts=ti.start(th),(ta=ti.end(th))>tn&&(ta=tn),tc+=ta-ts;return tc/tn}ts.__esModule=!0,ts.bufferedPercent=ta;var tl=ti("./time-ranges.js")},{"./time-ranges.js":151}],142:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}ts.__esModule=!0;var tl=ta(ti("./log.js")),tc={get:function(ti,tn){return ti[tn]},set:function(ti,tn,ts){return ti[tn]=ts,!0}};ts.default=function(ti){var tn=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if("function"==typeof Proxy){var ts=function(){var ts={};return Object.keys(tn).forEach(function(ti){tc.hasOwnProperty(ti)&&(ts[ti]=function(){return tl.default.warn(tn[ti]),tc[ti].apply(this,arguments)})}),{v:new Proxy(ti,ts)}}();if("object"==typeof ts)return ts.v}return ti},tn.exports=ts.default},{"./log.js":148}],143:[function(ti,tn,ts){"use strict";function ta(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tl(ti){return ti&&ti.__esModule?ti:{default:ti}}function tc(ti,tn){return ti.raw=tn,ti}function th(ti){return"string"==typeof ti&&/\S/.test(ti)}function tu(ti){if(/\s/.test(ti))throw Error("class has illegal whitespace characters")}function td(ti){return RegExp("(^|\\s)"+ti+"($|\\s)")}function tp(ti){return function(tn,ts){return th(tn)?(th(ts)&&(ts=tB.default.querySelector(ts)),(tL(ts)?ts:tB.default)[ti](tn)):tB.default[ti](null)}}function tf(ti){return 0===ti.indexOf("#")&&(ti=ti.slice(1)),tB.default.getElementById(ti)}function tm(){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],ta=tB.default.createElement(ti);return Object.getOwnPropertyNames(tn).forEach(function(ti){var ts=tn[ti];-1!==ti.indexOf("aria-")||"role"===ti||"type"===ti?(tH.default.warn(tF.default(tD,ti,ts)),ta.setAttribute(ti,ts)):ta[ti]=ts}),Object.getOwnPropertyNames(ts).forEach(function(ti){ts[ti],ta.setAttribute(ti,ts[ti])}),ta}function tg(ti,tn){void 0===ti.textContent?ti.innerText=tn:ti.textContent=tn}function tv(ti,tn){tn.firstChild?tn.insertBefore(ti,tn.firstChild):tn.appendChild(ti)}function ty(ti){var tn=ti[tZ];return tn||(tn=ti[tZ]=tR.newGUID()),tW[tn]||(tW[tn]={}),tW[tn]}function t_(ti){var tn=ti[tZ];return!!tn&&!!Object.getOwnPropertyNames(tW[tn]).length}function tb(ti){var tn=ti[tZ];if(tn){delete tW[tn];try{delete ti[tZ]}catch(tn){ti.removeAttribute?ti.removeAttribute(tZ):ti[tZ]=null}}}function tw(ti,tn){return ti.classList?ti.classList.contains(tn):(tu(tn),td(tn).test(ti.className))}function tx(ti,tn){return ti.classList?ti.classList.add(tn):tw(ti,tn)||(ti.className=(ti.className+" "+tn).trim()),ti}function tT(ti,tn){return ti.classList?ti.classList.remove(tn):(tu(tn),ti.className=ti.className.split(/\s+/).filter(function(ti){return ti!==tn}).join(" ")),ti}function tk(ti,tn,ts){var ta=tw(ti,tn);return"function"==typeof ts&&(ts=ts(ti,tn)),"boolean"!=typeof ts&&(ts=!ta),ts!==ta?(ts?tx(ti,tn):tT(ti,tn),ti):void 0}
23function tC(ti,tn){Object.getOwnPropertyNames(tn).forEach(function(ts){var ta=tn[ts];null==ta||!1===ta?ti.removeAttribute(ts):ti.setAttribute(ts,!0===ta?"":ta)})}function tj(ti){var tn,ts,ta,tl,tc;if(tn={},ts=",autoplay,controls,loop,muted,default,",ti&&ti.attributes&&ti.attributes.length>0){ta=ti.attributes;for(var th=ta.length-1;th>=0;th--)tl=ta[th].name,tc=ta[th].value,("boolean"==typeof ti[tl]||-1!==ts.indexOf(","+tl+","))&&(tc=null!==tc),tn[tl]=tc}return tn}function tS(){tB.default.body.focus(),tB.default.onselectstart=function(){return!1}}function tE(){tB.default.onselectstart=function(){return!0}}function tP(ti){var tn=void 0;if(ti.getBoundingClientRect&&ti.parentNode&&(tn=ti.getBoundingClientRect()),!tn)return{left:0,top:0};var ts=tB.default.documentElement,ta=tB.default.body,tl=ts.clientLeft||ta.clientLeft||0,tc=t$.default.pageXOffset||ta.scrollLeft,th=tn.left+tc-tl,tu=ts.clientTop||ta.clientTop||0,td=t$.default.pageYOffset||ta.scrollTop;return{left:Math.round(th),top:Math.round(tn.top+td-tu)}}function tO(ti,tn){var ts={},ta=tP(ti),tl=ti.offsetWidth,tc=ti.offsetHeight,th=ta.top,tu=ta.left,td=tn.pageY,tp=tn.pageX;return tn.changedTouches&&(tp=tn.changedTouches[0].pageX,td=tn.changedTouches[0].pageY),ts.y=Math.max(0,Math.min(1,(th-td+tc)/tc)),ts.x=Math.max(0,Math.min(1,(tp-tu)/tl)),ts}function tL(ti){return!!ti&&"object"==typeof ti&&1===ti.nodeType}function tM(ti){return!!ti&&"object"==typeof ti&&3===ti.nodeType}function tI(ti){for(;ti.firstChild;)ti.removeChild(ti.firstChild);return ti}function tA(ti){return"function"==typeof ti&&(ti=ti()),(Array.isArray(ti)?ti:[ti]).map(function(ti){return"function"==typeof ti&&(ti=ti()),tL(ti)||tM(ti)?ti:"string"==typeof ti&&/\S/.test(ti)?tB.default.createTextNode(ti):void 0}).filter(function(ti){return ti})}function tz(ti,tn){return tA(tn).forEach(function(tn){return ti.appendChild(tn)}),ti}function tN(ti,tn){return tz(tI(ti),tn)}ts.__esModule=!0,ts.getEl=tf,ts.createEl=tm,ts.textContent=tg,ts.insertElFirst=tv,ts.getElData=ty,ts.hasElData=t_,ts.removeElData=tb,ts.hasElClass=tw,ts.addElClass=tx,ts.removeElClass=tT,ts.toggleElClass=tk,ts.setElAttributes=tC,ts.getElAttributes=tj,ts.blockTextSelection=tS,ts.unblockTextSelection=tE,ts.findElPosition=tP,ts.getPointerPosition=tO,ts.isEl=tL,ts.isTextNode=tM,ts.emptyEl=tI,ts.normalizeContent=tA,ts.appendContent=tz,ts.insertContent=tN;var tD=tc(["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 ","."]),tB=tl(ti("global/document")),t$=tl(ti("global/window")),tR=ta(ti("./guid.js")),tH=tl(ti("./log.js")),tF=tl(ti("tsml")),tW={},tZ="vdata"+(new Date).getTime(),tV=tp("querySelector");ts.$=tV;var tU=tp("querySelectorAll");ts.$$=tU},{"./guid.js":147,"./log.js":148,"global/document":1,"global/window":2,tsml:55}],144:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tc(ti,tn,ts){if(Array.isArray(tn))return tm(tc,ti,tn,ts);var ta=tg.getElData(ti);ta.handlers||(ta.handlers={}),ta.handlers[tn]||(ta.handlers[tn]=[]),ts.guid||(ts.guid=tv.newGUID()),ta.handlers[tn].push(ts),ta.dispatcher||(ta.disabled=!1,ta.dispatcher=function(tn,ts){if(!ta.disabled){tn=tp(tn);var tl=ta.handlers[tn.type];if(tl)for(var tc=tl.slice(0),th=0,tu=tc.length;tu>th&&!tn.isImmediatePropagationStopped();th++)tc[th].call(ti,tn,ts)}}),1===ta.handlers[tn].length&&(ti.addEventListener?ti.addEventListener(tn,ta.dispatcher,!1):ti.attachEvent&&ti.attachEvent("on"+tn,ta.dispatcher))}function th(ti,tn,ts){if(tg.hasElData(ti)){var ta=tg.getElData(ti);if(ta.handlers){if(Array.isArray(tn))return tm(th,ti,tn,ts);var tl=function(tn){ta.handlers[tn]=[],tf(ti,tn)};if(tn){var tc=ta.handlers[tn];if(tc){if(!ts)return void tl(tn);if(ts.guid)for(var tu=0;tu<tc.length;tu++)tc[tu].guid===ts.guid&&tc.splice(tu--,1);tf(ti,tn)}}else for(var td in ta.handlers)tl(td)}}}function tu(ti,tn,ts){var ta=tg.hasElData(ti)?tg.getElData(ti):{},tl=ti.parentNode||ti.ownerDocument;if("string"==typeof tn&&(tn={type:tn,target:ti}),tn=tp(tn),ta.dispatcher&&ta.dispatcher.call(ti,tn,ts),tl&&!tn.isPropagationStopped()&&!0===tn.bubbles)tu.call(null,tl,tn,ts);else if(!tl&&!tn.defaultPrevented){var tc=tg.getElData(tn.target);tn.target[tn.type]&&(tc.disabled=!0,"function"==typeof tn.target[tn.type]&&tn.target[tn.type](),tc.disabled=!1)}return!tn.defaultPrevented}function td(ti,tn,ts){if(Array.isArray(tn))return tm(td,ti,tn,ts);var ta=function ta(){th(ti,tn,ta),ts.apply(this,arguments)};ta.guid=ts.guid=ts.guid||tv.newGUID(),tc(ti,tn,ta)}function tp(ti){function tn(){return!0}function ts(){return!1}
23if(!ti||!ti.isPropagationStopped){var ta=ti||ty.default.event;for(var tl in ti={},ta)"layerX"!==tl&&"layerY"!==tl&&"keyLocation"!==tl&&"webkitMovementX"!==tl&&"webkitMovementY"!==tl&&("returnValue"===tl&&ta.preventDefault||(ti[tl]=ta[tl]));if(ti.target||(ti.target=ti.srcElement||t_.default),ti.relatedTarget||(ti.relatedTarget=ti.fromElement===ti.target?ti.toElement:ti.fromElement),ti.preventDefault=function(){ta.preventDefault&&ta.preventDefault(),ti.returnValue=!1,ta.returnValue=!1,ti.defaultPrevented=!0},ti.defaultPrevented=!1,ti.stopPropagation=function(){ta.stopPropagation&&ta.stopPropagation(),ti.cancelBubble=!0,ta.cancelBubble=!0,ti.isPropagationStopped=tn},ti.isPropagationStopped=ts,ti.stopImmediatePropagation=function(){ta.stopImmediatePropagation&&ta.stopImmediatePropagation(),ti.isImmediatePropagationStopped=tn,ti.stopPropagation()},ti.isImmediatePropagationStopped=ts,null!=ti.clientX){var tc=t_.default.documentElement,th=t_.default.body;ti.pageX=ti.clientX+(tc&&tc.scrollLeft||th&&th.scrollLeft||0)-(tc&&tc.clientLeft||th&&th.clientLeft||0),ti.pageY=ti.clientY+(tc&&tc.scrollTop||th&&th.scrollTop||0)-(tc&&tc.clientTop||th&&th.clientTop||0)}ti.which=ti.charCode||ti.keyCode,null!=ti.button&&(ti.button=1&ti.button?0:4&ti.button?1:2&ti.button?2:0)}return ti}function tf(ti,tn){var ts=tg.getElData(ti);0===ts.handlers[tn].length&&(delete ts.handlers[tn],ti.removeEventListener?ti.removeEventListener(tn,ts.dispatcher,!1):ti.detachEvent&&ti.detachEvent("on"+tn,ts.dispatcher)),Object.getOwnPropertyNames(ts.handlers).length<=0&&(delete ts.handlers,delete ts.dispatcher,delete ts.disabled),0===Object.getOwnPropertyNames(ts).length&&tg.removeElData(ti)}function tm(ti,tn,ts,ta){ts.forEach(function(ts){ti(tn,ts,ta)})}ts.__esModule=!0,ts.on=tc,ts.off=th,ts.trigger=tu,ts.one=td,ts.fixEvent=tp;var tg=tl(ti("./dom.js")),tv=tl(ti("./guid.js")),ty=ta(ti("global/window")),t_=ta(ti("global/document"))},{"./dom.js":143,"./guid.js":147,"global/document":1,"global/window":2}],145:[function(ti,tn,ts){"use strict";ts.__esModule=!0;var ta=ti("./guid.js"),tl=function(ti,tn,ts){tn.guid||(tn.guid=ta.newGUID());var tl=function(){return tn.apply(ti,arguments)};return tl.guid=ts?ts+"_"+tn.guid:tn.guid,tl};ts.bind=tl},{"./guid.js":147}],146:[function(ti,tn,ts){"use strict";function ta(ti){var tn=arguments.length<=1||void 0===arguments[1]?ti:arguments[1];return function(){var ts=Math.floor((ti=0>ti?0:ti)%60),ta=Math.floor(ti/60%60),tl=Math.floor(ti/3600),tc=Math.floor(tn/60%60),th=Math.floor(tn/3600);return(isNaN(ti)||ti===1/0)&&(tl=ta=ts="-"),ta=(((tl=tl>0||th>0?tl+":":"")||tc>=10)&&10>ta?"0"+ta:ta)+":",tl+ta+(ts=10>ts?"0"+ts:ts)}()}ts.__esModule=!0,ts.default=ta,tn.exports=ts.default},{}],147:[function(ti,tn,ts){"use strict";function ta(){return tl++}ts.__esModule=!0,ts.newGUID=ta;var tl=1},{}],148:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){var ts=Array.prototype.slice.call(tn),ta=function(){},tl=tc.default.console||{log:ta,warn:ta,error:ta};ti?ts.unshift(ti.toUpperCase()+":"):ti="log",th.history.push(ts),ts.unshift("VIDEOJS:"),tl[ti].apply?tl[ti].apply(tl,ts):tl[ti](ts.join(" "))}ts.__esModule=!0;var tc=ta(ti("global/window")),th=function(){tl(null,arguments)};th.history=[],th.error=function(){tl("error",arguments)},th.warn=function(){tl("warn",arguments)},ts.default=th,tn.exports=ts.default},{"global/window":2}],149:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti){return!!ti&&"object"==typeof ti&&"[object Object]"===ti.toString()&&ti.constructor===Object}function tc(){var ti=Array.prototype.slice.call(arguments);return ti.unshift({}),ti.push(tu),th.default.apply(null,ti),ti[0]}ts.__esModule=!0,ts.default=tc;var th=ta(ti("lodash-compat/object/merge")),tu=function(ti,tn){return tl(tn)?tl(ti)?void 0:tc(tn):tn};tn.exports=ts.default},{"lodash-compat/object/merge":40}],150:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}ts.__esModule=!0;var tl=ta(ti("global/document")),tc=function(ti){var tn=tl.default.createElement("style");return tn.className=ti,tn};ts.createStyleElement=tc;var th=function(ti,tn){ti.styleSheet?ti.styleSheet.cssText=tn:ti.textContent=tn};ts.setTextContent=th},{"global/document":1}],151:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}function tl(ti,tn){return Array.isArray(ti)?tc(ti):void 0===ti||void 0===tn?tc():tc([[ti,tn]])}function tc(ti){return void 0===ti||0===ti.length?{length:0,start:function(){throw Error("This TimeRanges object is empty")},end:function(){throw Error("This TimeRanges object is empty")}}:{length:ti.length,start:th.bind(null,"start",0,ti),end:th.bind(null,"end",1,ti)}}function th(ti,tn,ts,ta){return void 0===ta&&(td.default.warn("DEPRECATED: Function '"+ti+"' on 'TimeRanges' called without an index argument."),ta=0),tu(ti,ta,ts.length-1),ts[ta][tn]}function tu(ti,tn,ts){if(0>tn||tn>ts)throw Error("Failed to execute '"+ti+"' on 'TimeRanges': The index provided ("+tn+") is greater than or equal to the maximum bound ("+ts+").")}ts.__esModule=!0,ts.createTimeRanges=tl;var td=ta(ti("./log.js"));ts.createTimeRange=tl},{"./log.js":148}],152:[function(ti,tn,ts){"use strict";function ta(ti){return ti.charAt(0).toUpperCase()+ti.slice(1)}ts.__esModule=!0,ts.default=ta,tn.exports=ts.default},{}],153:[function(ti,tn,ts){"use strict";function ta(ti){return ti&&ti.__esModule?ti:{default:ti}}ts.__esModule=!0;var tl=ta(ti("global/document")),tc=ta(ti("global/window")),th=function(ti){var tn=["protocol","hostname","port","pathname","search","hash","host"],ts=tl.default.createElement("a");ts.href=ti;
23var ta=""===ts.host&&"file:"!==ts.protocol,tc=void 0;ta&&((tc=tl.default.createElement("div")).innerHTML='<a href="'+ti+'"></a>',ts=tc.firstChild,tc.setAttribute("style","display:none; position:absolute;"),tl.default.body.appendChild(tc));for(var th={},tu=0;tu<tn.length;tu++)th[tn[tu]]=ts[tn[tu]];return"http:"===th.protocol&&(th.host=th.host.replace(/:80$/,"")),"https:"===th.protocol&&(th.host=th.host.replace(/:443$/,"")),ta&&tl.default.body.removeChild(tc),th};ts.parseUrl=th;var tu=function(ti){if(!ti.match(/^https?:\/\//)){var tn=tl.default.createElement("div");tn.innerHTML='<a href="'+ti+'">x</a>',ti=tn.firstChild.href}return ti};ts.getAbsoluteURL=tu;var td=function(ti){if("string"==typeof ti){var tn=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(ti);if(tn)return tn.pop().toLowerCase()}return""};ts.getFileExtension=td;var tp=function(ti){var tn=tc.default.location,ts=th(ti);return(":"===ts.protocol?tn.protocol:ts.protocol)+ts.host!==tn.protocol+tn.host};ts.isCrossOrigin=tp},{"global/document":1,"global/window":2}],154:[function(tn,ts,ta){"use strict";function tl(ti){if(ti&&ti.__esModule)return ti;var tn={};if(null!=ti)for(var ts in ti)Object.prototype.hasOwnProperty.call(ti,ts)&&(tn[ts]=ti[ts]);return tn.default=ti,tn}function tc(ti){return ti&&ti.__esModule?ti:{default:ti}}ta.__esModule=!0;var th=tc(tn("global/window")),tu=tc(tn("global/document")),td=tl(tn("./setup")),tp=tl(tn("./utils/stylesheet.js")),tf=tc(tn("./component")),tm=tc(tn("./event-target")),tg=tl(tn("./utils/events.js")),tv=tc(tn("./player")),ty=tc(tn("./plugins.js")),t_=tc(tn("../../src/js/utils/merge-options.js")),tb=tl(tn("./utils/fn.js")),tw=tc(tn("./tracks/text-track.js")),tx=tc(tn("./tracks/audio-track.js")),tT=tc(tn("./tracks/video-track.js")),tk=(tc(tn("object.assign")),tn("./utils/time-ranges.js")),tC=tc(tn("./utils/format-time.js")),tj=tc(tn("./utils/log.js")),tS=tl(tn("./utils/dom.js")),tE=tl(tn("./utils/browser.js")),tP=tl(tn("./utils/url.js")),tO=tc(tn("./extend.js")),tL=tc(tn("lodash-compat/object/merge")),tM=tc(tn("./utils/create-deprecation-proxy.js")),tI=tc(tn("xhr")),tA=tc(tn("./tech/tech.js")),tz=(tc(tn("./tech/html5.js")),tn("./tech/flash.js"));tc(tz),"undefined"==typeof HTMLVideoElement&&(tu.default.createElement("video"),tu.default.createElement("audio"),tu.default.createElement("track"));var tN=function ti(tn,ts,ta){var tl=void 0;if("string"==typeof tn){if(0===tn.indexOf("#")&&(tn=tn.slice(1)),ti.getPlayers()[tn])return ts&&tj.default.warn('Player "'+tn+'" is already initialised. Options will not be applied.'),ta&&ti.getPlayers()[tn].ready(ta),ti.getPlayers()[tn];tl=tS.getEl(tn)}else tl=tn;if(!tl||!tl.nodeName)throw TypeError("The element or ID supplied is not valid. (videojs)");return tl.player||tv.default.players[tl.playerId]||new tv.default(tl,ts,ta)};if(!0!==th.default.VIDEOJS_NO_DYNAMIC_STYLE){var tD=tS.$(".vjs-styles-defaults");if(!tD){tD=tp.createStyleElement("vjs-styles-defaults");var tB=tS.$("head");tB.insertBefore(tD,tB.firstChild),tp.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,tN),tN.VERSION="5.10.2",tN.options=tv.default.prototype.options_,tN.getPlayers=function(){return tv.default.players},tN.players=tM.default(tv.default.players,{get:"Access to videojs.players is deprecated; use videojs.getPlayers instead",set:"Modification of videojs.players is deprecated"}),tN.getComponent=tf.default.getComponent,tN.registerComponent=function(ti,tn){tA.default.isTech(tn)&&tj.default.warn("The "+ti+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),tf.default.registerComponent.call(tf.default,ti,tn)},tN.getTech=tA.default.getTech,tN.registerTech=tA.default.registerTech,tN.browser=tE,tN.TOUCH_ENABLED=tE.TOUCH_ENABLED,tN.extend=tO.default,tN.mergeOptions=t_.default,tN.bind=tb.bind,tN.plugin=ty.default,tN.addLanguage=function(ti,tn){var ts;return ti=(""+ti).toLowerCase(),tL.default(tN.options.languages,((ts={})[ti]=tn,ts))[ti]},tN.log=tj.default,tN.createTimeRange=tN.createTimeRanges=tk.createTimeRanges,tN.formatTime=tC.default,tN.parseUrl=tP.parseUrl,tN.isCrossOrigin=tP.isCrossOrigin,tN.EventTarget=tm.default,tN.on=tg.on,tN.one=tg.one,tN.off=tg.off,tN.trigger=tg.trigger,tN.xhr=tI.default,tN.TextTrack=tw.default,tN.AudioTrack=tx.default,tN.VideoTrack=tT.default,tN.isEl=tS.isEl,tN.isTextNode=tS.isTextNode,tN.createEl=tS.createEl,tN.hasClass=tS.hasElClass,tN.addClass=tS.addElClass,tN.removeClass=tS.removeElClass,tN.toggleClass=tS.toggleElClass,tN.setAttributes=tS.setElAttributes,tN.getAttributes=tS.getElAttributes,tN.emptyEl=tS.emptyEl,tN.appendContent=tS.appendContent,tN.insertContent=tS.insertContent,"function"==typeof ti&&ti.amd?ti("videojs",[],function(){return tN}):"object"==typeof ta&&"object"==typeof ts&&(ts.exports=tN),ta.default=tN,ts.exports=ta.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,"./ut
23ils/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(ti){var tn=ti.vttjs={},ts=tn.VTTCue,ta=tn.VTTRegion,tl=ti.VTTCue,tc=ti.VTTRegion;tn.shim=function(){tn.VTTCue=ts,tn.VTTRegion=ta},tn.restore=function(){tn.VTTCue=tl,tn.VTTRegion=tc}}(this),function(ti,tn){function ts(ti){return"string"==typeof ti&&!!tu[ti.toLowerCase()]&&ti.toLowerCase()}function ta(ti){return"string"==typeof ti&&!!td[ti.toLowerCase()]&&ti.toLowerCase()}function tl(ti){for(var tn=1;tn<arguments.length;tn++){var ts=arguments[tn];for(var ta in ts)ti[ta]=ts[ta]}return ti}function tc(ti,tn,tc){var tu=this,td=/MSIE\s8\.0/.test(navigator.userAgent),tp={};td?tu=document.createElement("custom"):tp.enumerable=!0,tu.hasBeenReset=!1;var tf="",tm=!1,tg=ti,tv=tn,ty=tc,t_=null,tb="",tw=!0,tx="auto",tT="start",tk=50,tC="middle",tj=50,tS="middle";return Object.defineProperty(tu,"id",tl({},tp,{get:function(){return tf},set:function(ti){tf=""+ti}})),Object.defineProperty(tu,"pauseOnExit",tl({},tp,{get:function(){return tm},set:function(ti){tm=!!ti}})),Object.defineProperty(tu,"startTime",tl({},tp,{get:function(){return tg},set:function(ti){if("number"!=typeof ti)throw TypeError("Start time must be set to a number.");tg=ti,this.hasBeenReset=!0}})),Object.defineProperty(tu,"endTime",tl({},tp,{get:function(){return tv},set:function(ti){if("number"!=typeof ti)throw TypeError("End time must be set to a number.");tv=ti,this.hasBeenReset=!0}})),Object.defineProperty(tu,"text",tl({},tp,{get:function(){return ty},set:function(ti){ty=""+ti,this.hasBeenReset=!0}})),Object.defineProperty(tu,"region",tl({},tp,{get:function(){return t_},set:function(ti){t_=ti,this.hasBeenReset=!0}})),Object.defineProperty(tu,"vertical",tl({},tp,{get:function(){return tb},set:function(ti){var tn=ts(ti);if(!1===tn)throw SyntaxError("An invalid or illegal string was specified.");tb=tn,this.hasBeenReset=!0}})),Object.defineProperty(tu,"snapToLines",tl({},tp,{get:function(){return tw},set:function(ti){tw=!!ti,this.hasBeenReset=!0}})),Object.defineProperty(tu,"line",tl({},tp,{get:function(){return tx},set:function(ti){if("number"!=typeof ti&&ti!==th)throw SyntaxError("An invalid number or illegal string was specified.");tx=ti,this.hasBeenReset=!0}})),Object.defineProperty(tu,"lineAlign",tl({},tp,{get:function(){return tT},set:function(ti){var tn=ta(ti);if(!tn)throw SyntaxError("An invalid or illegal string was specified.");tT=tn,this.hasBeenReset=!0}})),Object.defineProperty(tu,"position",tl({},tp,{get:function(){return tk},set:function(ti){if(0>ti||ti>100)throw Error("Position must be between 0 and 100.");tk=ti,this.hasBeenReset=!0}})),Object.defineProperty(tu,"positionAlign",tl({},tp,{get:function(){return tC},set:function(ti){var tn=ta(ti);if(!tn)throw SyntaxError("An invalid or illegal string was specified.");tC=tn,this.hasBeenReset=!0}})),Object.defineProperty(tu,"size",tl({},tp,{get:function(){return tj},set:function(ti){if(0>ti||ti>100)throw Error("Size must be between 0 and 100.");tj=ti,this.hasBeenReset=!0}})),Object.defineProperty(tu,"align",tl({},tp,{get:function(){return tS},set:function(ti){var tn=ta(ti);if(!tn)throw SyntaxError("An invalid or illegal string was specified.");tS=tn,this.hasBeenReset=!0}})),tu.displayState=void 0,td?tu:void 0}var th="auto",tu={"":!0,lr:!0,rl:!0},td={start:!0,middle:!0,end:!0,left:!0,right:!0};tc.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},ti.VTTCue=ti.VTTCue||tc,tn.VTTCue=tc}(this,this.vttjs||{}),function(ti,tn){function ts(ti){return"string"==typeof ti&&!!tc[ti.toLowerCase()]&&ti.toLowerCase()}function ta(ti){return"number"==typeof ti&&ti>=0&&100>=ti}function tl(){var ti=100,tn=3,tl=0,tc=100,th=0,tu=100,td="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return ti},set:function(tn){if(!ta(tn))throw Error("Width must be between 0 and 100.");ti=tn}},lines:{enumerable:!0,get:function(){return tn},set:function(ti){if("number"!=typeof ti)throw TypeError("Lines must be set to a number.");tn=ti}},regionAnchorY:{enumerable:!0,get:function(){return tc},set:function(ti){if(!ta(ti))throw Error("RegionAnchorX must be between 0 and 100.");tc=ti}},regionAnchorX:{enumerable:!0,get:function(){return tl},set:function(ti){if(!ta(ti))throw Error("RegionAnchorY must be between 0 and 100.");tl=ti}},viewportAnchorY:{enumerable:!0,get:function(){return tu},set:function(ti){if(!ta(ti))throw Error("ViewportAnchorY must be between 0 and 100.");tu=ti}},viewportAnchorX:{enumerable:!0,get:function(){return th},set:function(ti){if(!ta(ti))throw Error("ViewportAnchorX must be between 0 and 100.");th=ti}},scroll:{enumerable:!0,get:function(){return td},set:function(ti){var tn=ts(ti);if(!1===tn)throw SyntaxError("An invalid or illegal string was specified.");td=tn}}})}var tc={"":!0,up:!0};ti.VTTRegion=ti.VTTRegion||tl,tn.VTTRegion=tl}(this,this.vttjs||{}),function(ti){function tn(ti,tn){this.name="ParsingError",this.co
vendor: 4,369 bytes, line 23
23de=ti.code,this.message=tn||ti.message}function ts(ti){function tn(ti,tn,ts,ta){return 3600*(0|ti)+60*(0|tn)+(0|ts)+(0|ta)/1e3}var ts=ti.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return ts?ts[3]?tn(ts[1],ts[2],ts[3].replace(":",""),ts[4]):ts[1]>59?tn(ts[1],ts[2],0,ts[4]):tn(0,ts[1],ts[2],ts[4]):null}function ta(){this.values=ty(null)}function tl(ti,tn,ts,ta){var tl=ta?ti.split(ta):[ti];for(var tc in tl)if("string"==typeof tl[tc]){var th=tl[tc].split(ts);2===th.length&&tn(th[0],th[1])}}function tc(ti,tc,th){function tu(){var ta=ts(ti);if(null===ta)throw new tn(tn.Errors.BadTimeStamp,"Malformed timestamp: "+tf);return ti=ti.replace(/^[^\sa-zA-Z-]+/,""),ta}function td(ti,tn){var ts=new ta;tl(ti,function(ti,tn){switch(ti){case"region":for(var ta=th.length-1;ta>=0;ta--)if(th[ta].id===tn){ts.set(ti,th[ta].region);break}break;case"vertical":ts.alt(ti,tn,["rl","lr"]);break;case"line":var tl=tn.split(","),tc=tl[0];ts.integer(ti,tc),ts.percent(ti,tc)&&ts.set("snapToLines",!1),ts.alt(ti,tc,["auto"]),2===tl.length&&ts.alt("lineAlign",tl[1],["start","middle","end"]);break;case"position":tl=tn.split(","),ts.percent(ti,tl[0]),2===tl.length&&ts.alt("positionAlign",tl[1],["start","middle","end"]);break;case"size":ts.percent(ti,tn);break;case"align":ts.alt(ti,tn,["start","middle","end","left","right"])}},/:/,/\s/),tn.region=ts.get("region",null),tn.vertical=ts.get("vertical",""),tn.line=ts.get("line","auto"),tn.lineAlign=ts.get("lineAlign","start"),tn.snapToLines=ts.get("snapToLines",!0),tn.size=ts.get("size",100),tn.align=ts.get("align","middle"),tn.position=ts.get("position",{start:0,left:0,middle:50,end:100,right:100},tn.align),tn.positionAlign=ts.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},tn.align)}function tp(){ti=ti.replace(/^\s+/,"")}var tf=ti;if(tp(),tc.startTime=tu(),tp(),"-->"!==ti.substr(0,3))throw new tn(tn.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+tf);ti=ti.substr(3),tp(),tc.endTime=tu(),tp(),td(ti,tc)}function th(ti,tn){function ta(){function ti(ti){return tn=tn.substr(ti.length),ti}if(!tn)return null;var ts=tn.match(/^([^<]*)(<[^>]+>?)?/);return ti(ts[1]?ts[1]:ts[2])}function tl(ti){return t_[ti]}function tc(ti){for(;ty=ti.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)ti=ti.replace(ty[0],tl);return ti}function th(ti,tn){return!tx[tn.localName]||tx[tn.localName]===ti.localName}function tu(tn,ts){var ta=tb[tn];if(!ta)return null;var tl=ti.document.createElement(ta);tl.localName=ta;var tc=tw[tn];return tc&&ts&&(tl[tc]=ts.trim()),tl}for(var td,tp=ti.document.createElement("div"),tf=tp,tm=[];null!==(td=ta());)if("<"!==td[0])tf.appendChild(ti.document.createTextNode(tc(td)));else{if("/"===td[1]){tm.length&&tm[tm.length-1]===td.substr(2).replace(">","")&&(tm.pop(),tf=tf.parentNode);continue}var tg,tv=ts(td.substr(1,td.length-2));if(tv){tg=ti.document.createProcessingInstruction("timestamp",tv),tf.appendChild(tg);continue}var ty=td.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!ty||!(tg=tu(ty[1],ty[3]))||!th(tf,tg))continue;ty[2]&&(tg.className=ty[2].substr(1).replace("."," ")),tm.push(ty[1]),tf.appendChild(tg),tf=tg}return tp}function tu(ti){function tn(ti,tn){for(var ts=tn.childNodes.length-1;ts>=0;ts--)ti.push(tn.childNodes[ts])}function ts(ti){if(!ti||!ti.length)return null;var ta=ti.pop(),tl=ta.textContent||ta.innerText;if(tl){var tc=tl.match(/^.*(\n|\r)/);return tc?(ti.length=0,tc[0]):tl}return"ruby"===ta.tagName?ts(ti):ta.childNodes?(tn(ti,ta),ts(ti)):void 0}var ta,tl=[],tc="";if(!ti||!ti.childNodes)return"ltr";for(tn(tl,ti);tc=ts(tl);)for(var th=0;th<tc.length;th++){ta=tc.charCodeAt(th);for(var tu=0;tu<tT.length;tu++)if(tT[tu]===ta)return"rtl"}return"ltr"}function td(ti){if("number"==typeof ti.line&&(ti.snapToLines||ti.line>=0&&ti.line<=100))return ti.line;if(!ti.track||!ti.track.textTrackList||!ti.track.textTrackList.mediaElement)return -1;for(var tn=ti.track,ts=tn.textTrackList,ta=0,tl=0;tl<ts.length&&ts[tl]!==tn;tl++)"showing"===ts[tl].mode&&ta++;return -1*++ta}function tp(){}function tf(ti,tn,ts){var ta=/MSIE\s8\.0/.test(navigator.userAgent),tl="rgba(255, 255, 255, 1)",tc="rgba(0, 0, 0, 0.8)";ta&&(tl="rgb(255, 255, 255)",tc="rgb(0, 0, 0)"),tp.call(this),this.cue=tn,this.cueDiv=th(ti,tn.text);var td={color:tl,backgroundColor:tc,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};
23ta||(td.writingMode=""===tn.vertical?"horizontal-tb":"lr"===tn.vertical?"vertical-lr":"vertical-rl",td.unicodeBidi="plaintext"),this.applyStyles(td,this.cueDiv),this.div=ti.document.createElement("div"),td={textAlign:"middle"===tn.align?"center":tn.align,font:ts.font,whiteSpace:"pre-line",position:"absolute"},ta||(td.direction=tu(this.cueDiv),td.writingMode=""===tn.vertical?"horizontal-tb":"lr"===tn.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(td),this.div.appendChild(this.cueDiv);var tf=0;switch(tn.positionAlign){case"start":tf=tn.position;break;case"middle":tf=tn.position-tn.size/2;break;case"end":tf=tn.position-tn.size}this.applyStyles(""===tn.vertical?{left:this.formatStyle(tf,"%"),width:this.formatStyle(tn.size,"%")}:{top:this.formatStyle(tf,"%"),height:this.formatStyle(tn.size,"%")}),this.move=function(ti){this.applyStyles({top:this.formatStyle(ti.top,"px"),bottom:this.formatStyle(ti.bottom,"px"),left:this.formatStyle(ti.left,"px"),right:this.formatStyle(ti.right,"px"),height:this.formatStyle(ti.height,"px"),width:this.formatStyle(ti.width,"px")})}}function tm(ti){var tn,ts,ta,tl,tc=/MSIE\s8\.0/.test(navigator.userAgent);if(ti.div){ts=ti.div.offsetHeight,ta=ti.div.offsetWidth,tl=ti.div.offsetTop;var th=(th=ti.div.childNodes)&&(th=th[0])&&th.getClientRects&&th.getClientRects();ti=ti.div.getBoundingClientRect(),tn=th?Math.max(th[0]&&th[0].height||0,ti.height/th.length):0}this.left=ti.left,this.right=ti.right,this.top=ti.top||tl,this.height=ti.height||ts,this.bottom=ti.bottom||tl+(ti.height||ts),this.width=ti.width||ta,this.lineHeight=void 0!==tn?tn:ti.lineHeight,tc&&!this.lineHeight&&(this.lineHeight=13)}function tg(ti,tn,ts,ta){function tl(ti,tn){for(var tl,tc=new tm(ti),th=1,tu=0;tu<tn.length;tu++){for(;ti.overlapsOppositeAxis(ts,tn[tu])||ti.within(ts)&&ti.overlapsAny(ta);)ti.move(tn[tu]);if(ti.within(ts))return ti;var td=ti.intersectPercentage(ts);th>td&&(tl=new tm(ti),th=td),ti=new tm(tc)}return tl||tc}var tc=new tm(tn),th=tn.cue,tu=td(th),tp=[];if(th.snapToLines){switch(th.vertical){case"":tp=["+y","-y"],tf="height";break;case"rl":tp=["+x","-x"],tf="width";break;case"lr":tp=["-x","+x"],tf="width"}var tf,tg=tc.lineHeight,tv=tg*Math.round(tu),ty=ts[tf]+tg,t_=tp[0];Math.abs(tv)>ty&&(tv=(0>tv?-1:1)*(Math.ceil(ty/tg)*tg)),0>tu&&(tv+=""===th.vertical?ts.height:ts.width,tp=tp.reverse()),tc.move(t_,tv)}else{var tb=tc.lineHeight/ts.height*100;switch(th.lineAlign){case"middle":tu-=tb/2;break;case"end":tu-=tb}switch(th.vertical){case"":tn.applyStyles({top:tn.formatStyle(tu,"%")});break;case"rl":tn.applyStyles({left:tn.formatStyle(tu,"%")});break;case"lr":tn.applyStyles({right:tn.formatStyle(tu,"%")})}tp=["+y","-x","+x","-y"],tc=new tm(tn)}var tw=tl(tc,tp);tn.move(tw.toCSSCompatValues(ts))}function tv(){}var ty=Object.create||function(){function ti(){}return function(tn){if(1!=arguments.length)throw Error("Object.create shim only accepts one parameter.");return ti.prototype=tn,new ti}}();tn.prototype=ty(Error.prototype),tn.prototype.constructor=tn,tn.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},ta.prototype={set:function(ti,tn){this.get(ti)||""===tn||(this.values[ti]=tn)},get:function(ti,tn,ts){return ts?this.has(ti)?this.values[ti]:tn[ts]:this.has(ti)?this.values[ti]:tn},has:function(ti){return ti in this.values},alt:function(ti,tn,ts){for(var ta=0;ta<ts.length;++ta)if(tn===ts[ta]){this.set(ti,tn);break}},integer:function(ti,tn){/^-?\d+$/.test(tn)&&this.set(ti,parseInt(tn,10))},percent:function(ti,tn){var ts;return!!(ts=tn.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(tn=parseFloat(tn))>=0&&100>=tn&&(this.set(ti,tn),!0)}};var t_={"&":"&","<":"<",">":">","‎":"â","‏":"â"," ":"\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"},tT
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];
vendor: 2,323 bytes, line 23
23tp.prototype.applyStyles=function(ti,tn){for(var ts in tn=tn||this.div,ti)ti.hasOwnProperty(ts)&&(tn.style[ts]=ti[ts])},tp.prototype.formatStyle=function(ti,tn){return 0===ti?0:ti+tn},tf.prototype=ty(tp.prototype),tf.prototype.constructor=tf,tm.prototype.move=function(ti,tn){switch(tn=void 0!==tn?tn:this.lineHeight,ti){case"+x":this.left+=tn,this.right+=tn;break;case"-x":this.left-=tn,this.right-=tn;break;case"+y":this.top+=tn,this.bottom+=tn;break;case"-y":this.top-=tn,this.bottom-=tn}},tm.prototype.overlaps=function(ti){return this.left<ti.right&&this.right>ti.left&&this.top<ti.bottom&&this.bottom>ti.top},tm.prototype.overlapsAny=function(ti){for(var tn=0;tn<ti.length;tn++)if(this.overlaps(ti[tn]))return!0;return!1},tm.prototype.within=function(ti){return this.top>=ti.top&&this.bottom<=ti.bottom&&this.left>=ti.left&&this.right<=ti.right},tm.prototype.overlapsOppositeAxis=function(ti,tn){switch(tn){case"+x":return this.left<ti.left;case"-x":return this.right>ti.right;case"+y":return this.top<ti.top;case"-y":return this.bottom>ti.bottom}},tm.prototype.intersectPercentage=function(ti){return Math.max(0,Math.min(this.right,ti.right)-Math.max(this.left,ti.left))*Math.max(0,Math.min(this.bottom,ti.bottom)-Math.max(this.top,ti.top))/(this.height*this.width)},tm.prototype.toCSSCompatValues=function(ti){return{top:this.top-ti.top,bottom:ti.bottom-this.bottom,left:this.left-ti.left,right:ti.right-this.right,height:this.height,width:this.width}},tm.getSimpleBoxPosition=function(ti){var tn=ti.div?ti.div.offsetHeight:ti.tagName?ti.offsetHeight:0,ts=ti.div?ti.div.offsetWidth:ti.tagName?ti.offsetWidth:0,ta=ti.div?ti.div.offsetTop:ti.tagName?ti.offsetTop:0;return{left:(ti=ti.div?ti.div.getBoundingClientRect():ti.tagName?ti.getBoundingClientRect():ti).left,right:ti.right,top:ti.top||ta,height:ti.height||tn,bottom:ti.bottom||ta+(ti.height||tn),width:ti.width||ts}},tv.StringDecoder=function(){return{decode:function(ti){if(!ti)return"";if("string"!=typeof ti)throw Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(ti))}}},tv.convertCueToDOMTree=function(ti,tn){return ti&&tn?th(ti,tn):null};var tk=.05,tC="sans-serif",tj="1.5%";tv.processCues=function(ti,tn,ts){function ta(ti){for(var tn=0;tn<ti.length;tn++)if(ti[tn].hasBeenReset||!ti[tn].displayState)return!0;return!1}
23if(!ti||!tn||!ts)return null;for(;ts.firstChild;)ts.removeChild(ts.firstChild);var tl=ti.document.createElement("div");if(tl.style.position="absolute",tl.style.left="0",tl.style.right="0",tl.style.top="0",tl.style.bottom="0",tl.style.margin=tj,ts.appendChild(tl),ta(tn)){var tc=[],th=tm.getSimpleBoxPosition(tl),tu={font:Math.round(th.height*tk*100)/100+"px "+tC};!function(){for(var ts,ta,td=0;td<tn.length;td++)ta=tn[td],ts=new tf(ti,ta,tu),tl.appendChild(ts.div),tg(ti,ts,th,tc),ta.displayState=ts.div,tc.push(tm.getSimpleBoxPosition(ts))}()}else for(var td=0;td<tn.length;td++)tl.appendChild(tn[td].displayState)},tv.Parser=function(ti,tn,ts){ts||(ts=tn,tn={}),tn||(tn={}),this.window=ti,this.vttjs=tn,this.state="INITIAL",this.buffer="",this.decoder=ts||new TextDecoder("utf8"),this.regionList=[]},tv.Parser.prototype={reportOrThrowError:function(ti){if(!(ti instanceof tn))throw ti;this.onparsingerror&&this.onparsingerror(ti)},parse:function(ti){function ts(){for(var ti=tp.buffer,tn=0;tn<ti.length&&"\r"!==ti[tn]&&"\n"!==ti[tn];)++tn;var ts=ti.substr(0,tn);return"\r"===ti[tn]&&++tn,"\n"===ti[tn]&&++tn,tp.buffer=ti.substr(tn),ts}function th(ti){var tn=new ta;if(tl(ti,function(ti,ts){switch(ti){case"id":tn.set(ti,ts);break;case"width":tn.percent(ti,ts);break;case"lines":tn.integer(ti,ts);break;case"regionanchor":case"viewportanchor":var tl=ts.split(",");if(2!==tl.length)break;var tc=new ta;if(tc.percent("x",tl[0]),tc.percent("y",tl[1]),!tc.has("x")||!tc.has("y"))break;tn.set(ti+"X",tc.get("x")),tn.set(ti+"Y",tc.get("y"));break;case"scroll":tn.alt(ti,ts,["up"])}},/=/,/\s/),tn.has("id")){var ts=new(tp.vttjs.VTTRegion||tp.window.VTTRegion);ts.width=tn.get("width",100),ts.lines=tn.get("lines",3),ts.regionAnchorX=tn.get("regionanchorX",0),ts.regionAnchorY=tn.get("regionanchorY",100),ts.viewportAnchorX=tn.get("viewportanchorX",0),ts.viewportAnchorY=tn.get("viewportanchorY",100),ts.scroll=tn.get("scroll",""),tp.onregion&&tp.onregion(ts),tp.regionList.push({id:tn.get("id"),region:ts})}}function tu(ti){tl(ti,function(ti,tn){"Region"===ti&&th(tn)},/:/)}var td,tp=this;ti&&(tp.buffer+=tp.decoder.decode(ti,{stream:!0}));try{if("INITIAL"===tp.state){if(!/\r\n|\n/.test(tp.buffer))return this;var tf=(td=ts()).match(/^WEBVTT([ \t].*)?$/);if(!tf||!tf[0])throw new tn(tn.Errors.BadSignature);tp.state="HEADER"}for(var tm=!1;tp.buffer&&/\r\n|\n/.test(tp.buffer);)switch(tm?tm=!1:td=ts(),tp.state){case"HEADER":/:/.test(td)?tu(td):td||(tp.state="ID");continue;case"NOTE":td||(tp.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(td)){tp.state="NOTE";break}if(!td)continue;if(tp.cue=new(tp.vttjs.VTTCue||tp.window.VTTCue)(0,0,""),tp.state="CUE",-1===td.indexOf("-->")){tp.cue.id=td;continue}case"CUE":try{tc(td,tp.cue,tp.regionList)}catch(ti){tp.reportOrThrowError(ti),tp.cue=null,tp.state="BADCUE";continue}tp.state="CUETEXT";continue;case"CUETEXT":var tg=-1!==td.indexOf("-->");if(!td||tg&&(tm=!0)){tp.oncue&&tp.oncue(tp.cue),tp.cue=null,tp.state="ID";continue}tp.cue.text&&(tp.cue.text+="\n"),tp.cue.text+=td;continue;case"BADCUE":td||(tp.state="ID");continue}}catch(ti){tp.reportOrThrowError(ti),"CUETEXT"===tp.state&&tp.cue&&tp.oncue&&tp.oncue(tp.cue),tp.cue=null,tp.state="INITIAL"===tp.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var ti=this;try{if(ti.buffer+=ti.decoder.decode(),(ti.cue||"HEADER"===ti.state)&&(ti.buffer+="\n\n",ti.parse()),"INITIAL"===ti.state)throw new tn(tn.Errors.BadSignature)}catch(tn){ti.reportOrThrowError(tn)}return ti.onflush&&ti.onflush(),this}},ti.WebVTT=tv}(this,this.vttjs||{}),!function(ti,tn){"function"==typeof define&&define.amd?define(["video.js"],function(ts){return ti.Youtube=tn(ts)}):"object"==typeof module&&module.exports?module.exports=ti.Youtube=tn(require("video.js")):ti.Youtube=tn(ti.videojs)}(this,function(ti){"use strict";var tn=ti.getComponent("Tech"),ts=ti.extend(tn,{constructor:function(ti,tl){tn.call(this,ti,tl),this.setPoster(ti.poster),this.setSrc(this.options_.source,!0),setTimeout((function(){this.el_.parentNode.className+=" vjs-youtube",ta&&(this.el_.parentNode.className+=" vjs-youtube-mobile"),ts.isApiReady?this.initYTPlayer():ts.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 ti=document.createElement("div");ti.setAttribute("id",this.options_.techId),ti.setAttribute("style","width:100%;height:100%;top:0;left:0;position:absolute");var tn=document.createElement("div");if(tn.appendChild(ti),!ta&&!this.options_.ytControls){var ts=document.createElement("div");ts.setAttribute("class","vjs-iframe-blocker"),ts.setAttribute("style","position:absolute;top:0;left:0;width:100%;height:100%"),ts.onclick=(function(){this.pause()}).bind(this),tn.appendChild(ts)}return tn},initYTPlayer:function(){var ti={controls:0,modestbranding:1,rel:0,showinfo:0,loop:this.options_.loop?1:0};void 0!==this.options_.autohide&&(ti.autohide=this.options_.autohide),void 0!==this.options_.cc_load_policy&&(ti.cc_load_policy=this.options_.cc_load_policy),void 0!==this.options_.ytControls&&(ti.controls=this.options_.ytControls),void 0!==this.options_.disablekb&&(ti.disablekb=this.options_.disablekb),void 0!==this.options_.end&&(ti.end=this.options_.end),void 0!==this.options_.color&&(ti.color=this.options_.color),ti.controls?void 0!==this.options_.fs&&
23(ti.fs=this.options_.fs):ti.fs=0,void 0!==this.options_.end&&(ti.end=this.options_.end),void 0!==this.options_.hl?ti.hl=this.options_.hl:void 0!==this.options_.language&&(ti.hl=this.options_.language.substr(0,2)),void 0!==this.options_.iv_load_policy&&(ti.iv_load_policy=this.options_.iv_load_policy),void 0!==this.options_.list?ti.list=this.options_.list:this.url&&void 0!==this.url.listId&&(ti.list=this.url.listId),void 0!==this.options_.listType&&(ti.listType=this.options_.listType),void 0!==this.options_.modestbranding&&(ti.modestbranding=this.options_.modestbranding),void 0!==this.options_.playlist&&(ti.playlist=this.options_.playlist),void 0!==this.options_.playsinline&&(ti.playsinline=this.options_.playsinline),void 0!==this.options_.rel&&(ti.rel=this.options_.rel),void 0!==this.options_.showinfo&&(ti.showinfo=this.options_.showinfo),void 0!==this.options_.start&&(ti.start=this.options_.start),void 0!==this.options_.theme&&(ti.theme=this.options_.theme),this.activeVideoId=this.url?this.url.videoId:null,this.activeList=ti.list,this.ytPlayer=new YT.Player(this.options_.techId,{videoId:this.activeVideoId,playerVars:ti,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(ti){var tn=ti.data;if(tn!==this.lastState){switch(tn){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=tn}},onPlayerError:function(ti){this.errorNumber=ti.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(ti){return ti&&(this.setSrc({src:ti}),this.play()),this.source},poster:function(){return ta?null:this.poster_},setPoster:function(ti){this.poster_=ti},setSrc:function(ti){ti&&ti.src&&(this.source=ti,this.url=ts.parseUrl(ti.src),!this.options_.poster&&this.url.videoId&&(this.poster_="https://img.youtube.com/vi/"+this.url.videoId+"/0.jpg",this.checkHighResPoster()),this.options_.autoplay&&!ta&&(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(ti){this.lastState===YT.PlayerState.PAUSED&&(this.timeBeforeSeek=this.currentTime()),this.isSeeking||(this.wasPausedBeforeSeek=this.paused()),this.ytPlayer.seekTo(ti,!0),this.trigger("timeupdate"),this.trigger("seeking"),this.isSeeking=!0,this.lastState===YT.PlayerState.PAUSED&&this.timeBeforeSeek!==ti&&(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(ti){this.ytPlayer&&(this.ytPlayer.setPlaybackRate(ti),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(ti){this.ytPlayer&&(this.ytPlayer.setVolume(100*ti),this.setTimeout(function(){this.trigger("volumechange")},50))},muted:function(){return!!this.ytPlayer&&this.ytPlayer.isMuted()},setMuted:function(ti){this.ytPlayer&&(this.muted(!0),ti?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 ti=this.ytPlayer.getVideoLoadedFraction()*this.ytPlayer.getDuration();return{length:1,start:function(){return 0},end:function(){return ti}}},supportsFullScreen:function(){return!0},checkHighResPoster:function(){var ti="https://img.youtube.com/vi/"+this.url.videoId+"/maxresdefault.jpg";try{var tn=new Image;tn.onload=(function(){if("naturalHeight"in tn){if(tn.naturalHeight<=90||tn.naturalWi
23dth<=120){"function"==typeof this.onerror&&this.onerror();return}}else if(tn.height<=90||tn.width<=120){this.onerror();return}this.poster_=ti,this.trigger("posterchange")}).bind(this),tn.onerror=function(){},tn.src=ti}catch(ti){}}});ts.isSupported=function(){return!0},ts.canPlaySource=function(ti){return"video/youtube"===ti.type};var ta=/(iPad|iPhone|iPod|Android)/g.test(navigator.userAgent);function tl(){var ti=document.createElement("script");ti.src="https://www.youtube.com/iframe_api";var tn=document.getElementsByTagName("script")[0];tn.parentNode.insertBefore(ti,tn)}function tc(){var ti=".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; }",tn=document.head||document.getElementsByTagName("head")[0],ts=document.createElement("style");ts.type="text/css",ts.styleSheet?ts.styleSheet.cssText=ti:ts.appendChild(document.createTextNode(ti)),tn.appendChild(ts)}ts.parseUrl=function(ti){var tn={videoId:null},ts=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/,ta=ti.match(ts);ta&&11===ta[2].length&&(tn.videoId=ta[2]);var tl=/[?&]list=([^#\&\?]+)/;return(ta=ti.match(tl))&&ta[1]&&(tn.listId=ta[1]),tn},ts.apiReadyQueue=[],window.onYouTubeIframeAPIReady=function(){ts.isApiReady=!0;for(var ti=0;ti<ts.apiReadyQueue.length;++ti)ts.apiReadyQueue[ti].initYTPlayer();"function"==typeof onYouTubeIframeAPIReadyFullscreenBackground&&onYouTubeIframeAPIReadyFullscreenBackground()},window.onYouTubeIframeAPIReadyYoutube=function(){ts.isApiReady=!0;for(var ti=0;ti<ts.apiReadyQueue.length;++ti)ts.apiReadyQueue[ti].initYTPlayer()},tl(),tc(),ti.registerTech("Youtube",ts)}),!function(){"use strict";var ti={UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3},tn=videojs.getComponent("Tech"),ts=videojs.extend(tn,{constructor:function(ti,ta){tn.call(this,ti,ta),""!=ti.poster&&this.setPoster(ti.poster),this.setSrc(this.options_.source.src,!0),setTimeout((function(){this.el_.parentNode.className+=" vjs-vimeo",ts.isApiReady?this.initPlayer():ts.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=ts.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 ti=document.createElement("div");if(ti.setAttribute("style","margin:0 auto;padding-bottom:56.25%;width:100%;height:0;position:relative;overflow:hidden;"),ti.setAttribute("class","vimeoFrame"),ti.appendChild(this.iframe),!ta&&!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.onPause()}).bind(this),ti.appendChild(tn)}return""==this.options_.poster&&null!=this.videoId&&$.getJSON(this.baseApiUrl+this.videoId+".json?callback=?",{format:"json"},function(ti){return function(tn){ti.setPoster(tn[0].thumbnail_large)}}(this)),ti},initPlayer:function(){var tn=this;$(tn.iframe).load(function(){ts.parseUrl(tn.options_.source.src).videoId,tn.vimeo&&tn.vimeo.api&&(tn.vimeo.api("unload"),delete tn.vimeo),tn.vimeo=$f(tn.iframe),tn.vimeoInfo={state:ti.UNSTARTED,volume:1,muted:!1,muteVolume:1,time:0,duration:0,buffered:0,url:tn.baseUrl+tn.videoId,error:null},tn.vimeo.addEvent("ready",function(ti){tn.onReady(),tn.vimeo.addEvent("loadProgress",function(ti,ts){tn.onLoadProgress(ti)}),tn.vimeo.addEvent("playProgress",function(ti,ts){tn.onPlayProgress(ti)}),tn.vimeo.addEvent("play",function(ti){tn.onPlay()}),tn.vimeo.addEvent("pause",function(ti){tn.onPause()}),tn.vimeo.addEvent("finish",function(ti){tn.onFinish()}),tn.vimeo.addEvent("seek",function(ti,ts){tn.onSeek(ti)})})})},onReady:function(){this.playerReady_=!0,this.triggerReady(),this.trigger("loadedmetadata"),this.startMuted&&(this.setMuted(!0),this.startMuted=!1)},onLoadProgress:function(ti){var tn=!this.vimeoInfo.duration;this.vimeoInfo.duration=ti.duration,this.vimeoInfo.buffered=ti.percent,this.trigger("progress"),tn&&this.trigger("durationchange")},onPlayProgress:function(ti){this.vimeoInfo.time=ti.seconds,this.trigger("timeupdate")},onPlay:function(){this.vimeoInfo.state=ti.PLAYING,this.trigger("play")},onPause:function(){this.vimeoInfo.state=ti.PAUSED,this.trigger("pause")},onFinish:function(){this.vimeoInfo.state=ti.ENDED,this.trigger("ended")},onSeek:function(ti){this.trigger("seeking"),this.vimeoInfo.time=ti.seconds,this.trigger("timeupdate"),this.trigger("seeked")},onError:function(ti){this.error=ti,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(ti){this.poster_=ti},setSrc:function(ti){ti&&ti.src&&(this.source=ti,this.url=ts.parseUrl(ti.src),this.options_.poster||null==this.url.videoId||($.getJSON(this.baseApiUrl+this.videoId+".json?callback=?",{format:"json"},function(ti){return function(tn){ti.poster_=tn[0].thumbnail_small}}(this)),this.checkHighResPoster()),this.options_.autoplay&&!ta&&(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!==ti.PLAYING&&this.vimeoInfo.state!==ti.BUFFERING},currentTime:function(){return this.vimeoInfo.time||0},setCurrentTime:function(ti){this.vimeo.api("seekTo",ti),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(ti){this.vimeo.api("setvolume",ti),this.vimeoInfo.volume=ti,this.player_.trigger("volumechange")},currentSrc:function(){return this.el_.src},muted:function(){return this.vimeoInfo.muted||!1},setMuted:function(ti){ti?(this.vimeoInfo.muteVolume=this.vimeoInfo.volume,this.setVolume(0)):this.setVolume(this.vimeoInfo.muteVolume),this.vimeoInfo.muted=ti,this.player_.trigger("volumechange")},checkHighResPoster:function(){var ti="";try{if(null!=this.url.videoId){$.getJSON(this.baseApiUrl+this.videoId+".json?callback=?",{format:"json"},function(ti){return function(tn){ti=tn[0].thumbnail_large}}(ti));var tn=new Image;tn.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_=ti,this.trigger("posterchange")}).bind(this),tn.onerror=function(){},tn.src=ti}}catch(ti){}}});ts.isSupported=function(){return!0},ts.canPlaySource=function(ti){return"video/vimeo"===ti.type};var ta=/(iPad|iPhone|iPod|Android)/g.test(navigator.userAgent);function tl(){var ti=".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%; }",tn=document.head||document.getElementsByTagName("head")[0],ts=document.createElement("style");ts.type="text/css",ts.styleSheet?ts.styleSheet.cssText=ti:ts.appendChild(document.createTextNode(ti)),tn.appendChild(ts)}ts.parseUrl=function(ti){var tn={videoId:null},ts=/^.*(vimeo\.com\/)((channels\/[A-z]+\/)|(groups\/[A-z]+\/videos\/))?([0-9]+)/,ta=ti.match(ts);return ta&&(tn.videoId=ta[5]),tn},ts.apiReadyQueue=[],function(){ts.isApiReady=!0,tl();for(var ti=0;ti<ts.apiReadyQueue.length;++ti)ts.apiReadyQueue[ti].initPlayer()}(),videojs.registerTech("Vimeo",ts),function(){function ti(tn){return new ti.fn.init(tn)}var tn={},ts=!1,ta=(Array.prototype.slice,"*");function tl(ti,tn,ts){if(null==ts.contentWindow||!ts.contentWindow.postMessage)return!1;var tl=JSON.stringify({method:ti,value:tn});ts.contentWindow.postMessage(tl,ta)}function tc(ti){try{tl=(tn=JSON.parse(ti.data)).event||tn.method}catch(ti){}if("ready"!=tl||ts||(ts=!0),!/^https?:\/\/player.vimeo.com/.test(ti.origin))return!1;"*"===ta&&(ta=ti.origin);var tn,tl,tc=tn.value,th=tn.data,td=""===td?null:tn.player_id,tp=tu(tl,td),tf=[];return!!tp&&(void 0!==tc&&tf.push(tc),th&&tf.push(th),td&&tf.push(td),tf.length>0?tp.apply(null,tf):tp.call())}function th(ti,ts,ta){ta?(tn[ta]||(tn[ta]={}),tn[ta][ti]=ts):tn[ti]=ts}function tu(ti,ts){return ts&&tn[ts]?tn[ts][ti]:tn[ti]?tn[ti]:void 0}function td(ti,ts){if(ts&&tn[ts]){if(!tn[ts][ti])return!1;tn[ts][ti]=null}else{if(!tn[ti])return!1;tn[ti]=null}return!0}function tp(ti){return!!(ti&&ti.constructor&&ti.call&&ti.apply)}ti.fn=ti.prototype={element:null,init:function(ti){return"string"==typeof ti&&(ti=document.getElementById(ti)),this.element=ti,this},api:function(ti,tn){if(!this.element||!ti)return!1;var ts=this,ta=ts.element,tc=""!==ta.id?ta.id:null,tu=tp(tn)?null:tn,td=tp(tn)?tn:null;return td&&th(ti,td,tc),tl(ti,tu,ta),ts},addEvent:function(ti,tn){if(!this.element)return!1;var ta=this,tc=ta.element,tu=""!==tc.id?tc.id:null;return th(ti,tn,tu),"ready"!=ti?tl("addEventListener",ti,tc):"ready"==ti&&ts&&tn.call(null,tu),ta},removeEvent:function(ti){if(!this.element)return!1;var tn=this,ts=tn.element,ta=td(ti,""!==ts.id?ts.id:null);"ready"!=ti&&ta&&tl("removeEventListener",ti,ts)}},ti.fn.init.prototype=ti.fn,window.addEventListener?window.addEventListener("message",tc,!1):window.attachEvent("onmessage",tc),window.Froogaloop=window.$f=ti}()}(),function(ti){"use strict";ti(document).ready(function(){ti(".youtubevid-item__media").each(function(){var tn=ts=ti(this).find(".youtubevid-item__thumbnail"),ts=ti(this).find(".icon"),ta=ti(this).find("iframe");ts.click(function(ti){tn.fadeOut(2e3).add().toggleClass("clicked"),ta[0].src+="&autoplay=1"})})})}(window.jQuery),!function(ti){var tn=function(tn,ts){this.$el=ti(tn),this.inputAttributes=ts.attributes,this.options=ts||{},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:ts.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)};tn.prototype.init=function(ti){var tn=this;tn.attachEvents()},tn.prototype.attachEvents=function(){var tn=this;tn.$el.on("change",":file",function(){var tn=ti(this),ts=tn.get(0).files?tn.get(0).files.length:1,ta=tn.val().replace(/\\/g,"/").replace(/.*\//,""),tl=document.getElementById(tn.attr("id")).files[0];tl&&tn.trigger("fileselect",[ts,ta,tl])}),tn.$uploadFieldInput.on("fileselect",function(ti,ts,ta,tl){tn.validateFiles(ti,ts,ta,tl)}),tn.$uploadFieldInput.on("focus",function(){tn.$uploadFieldInput.addClass("has-focus")}).on("blur",function(){tn.$uploadFieldInput.removeClass("has-focus")}),tn.$close.on("click",function(ti){ti.preventDefault(),tn.toggleInputState("reset"),tn.uploadItems("removeLastUploaded"),tn.$uploadFieldInput.val("")}
23)},tn.prototype.uploadItems=function(ti){var tn=this;"object"!=typeof ti?tn.$uploadFieldInput.data("item",""):(tn.$uploadFieldInput.data("item",JSON.stringify(ti)),tn.toggleInputState("close"))},tn.prototype.toggleInputState=function(ti){var tn=this;"reset"===ti&&(ti="upload",tn.$label.html(tn.config.defaultLabel)),this.$el.find(".la-cicon-"+ti).show(),this.$el.find(".la-cicon-"+ti).siblings("i").hide(),"upload"===ti?this.$el.find(".status-label").show():this.$el.find(".status-label").hide()},tn.prototype.encodeBaseSF=function(ti,tn,ts){var ta=this,tl=new FileReader,tc={};tl.readAsDataURL(ti),tl.onload=function(){return tc.id=tn,tc.string=tl.result,tc.size=ti.size,tc.extension=ta.itemInfo.extension,tc.icon=ta.itemInfo.icon,ts(tc)},tl.onerror=function(ti){}},tn.prototype.insertHTML=function(tn){this.options.required;var ts='<label for="'+tn.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>',ta=ti("<input>",tn).addClass("fileUpload");this.$el.append(ta).append(ts)},tn.prototype.validateFiles=function(tn,ts,ta,tl){var tc=this,th=tc.$label.html(),tu="",td=!1;ti("label",tc.$el).removeClass("has-error"),ti(".error_container",tc.$el.parent().parent()).remove(),tc.itemInfo.extension=tl.name.split(".").pop().toUpperCase(),tc.itemInfo.icon="other",ti.each(tc.options.fileTypes,function(ti,tn){tn.ext===tc.itemInfo.extension&&(td=!0,tc.itemInfo.icon=tn.icon)}),tn.target.value&&(tu=tn.target.value.split("\\").pop());var tp='<span class="success"><i class="la-cicon-file-'+tc.itemInfo.icon+'"></i>'+tu+"</span>";tu?(tl.size>tc.config.fileSize?tc.updateLabel(tc.config.maxSize):td?tc.encodeBaseSF(tl,tu,function(ti){tc.uploadItems(ti),tc.updateLabel(tp)}):tc.updateLabel(tc.config.notSupported),tc.toggleInputState("close")):(tc.$label.html(th),tc.toggleInputState("load"))},tn.prototype.updateLabel=function(ti){var tn=this;void 0!==ti&&tn.$label.html(ti)};var ts=ti.fn.uploadField;ti.fn.uploadField=function(ts){ts=ti.extend({},ti(this).data(),"object"==typeof ts&&ts),new tn(this,ts)},ti.fn.uploadField.Constructor=tn,ti.fn.uploadField.noConflict=function(){return ti.fn.uploadField=ts,this}}(jQuery),function(ti){"use strict";ti(document).ready(function(){ti("body").on("SMBLeadsFormReady",function(){var tn=ti('[data-control="form"]');if(tn.length){tn.each(function(){""!=ti(this).data("mhorgid")&&(ti("<input>").attr({type:"hidden",name:"mh_orgId",value:ti(this).data("mhorgid")}).appendTo(ti("form",ti(this))),ti("<input>").attr({type:"hidden",name:"mh_template_id",value:ti(this).data("templateId")}).appendTo(ti("form",ti(this))))});var ts=tn.find("form");ts.find("input[type=submit]").on("click",function(tn){var tl=ts.serializeArray(),tc={};ti.each(tl,function(ti,tn){tc[tn.name]=tn.value});let th=document.getElementById("error-form-dialog"),tu=document.getElementById("p-error-message"),td=document.getElementById("close-dialog");if(td.addEventListener("click",()=>{th.close(),document.body.style.overflow="auto"}),ta(tc)){var tp="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=tp,th.showModal(),document.body.style.overflow="hidden",th.style.display="block",tn.preventDefault()}})}ti(".leadForm .hasDatepicker").each(function(){ti(this).attr({type:"text",readonly:"readonly"})})});var tn=ti(".form.isPleForm");tn.length&&tn.each(function(){var tn=ti(this).closest(".section");tn.hasClass("section-form")||tn.addClass("section-form")});var ts=ti(".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 ta(ti){if(!("comments"in ti))return!1;var tn=function(){var ti="((https?|ftp):\\/\\/)?";return RegExp(ti+="([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!!ti.comments.match(tn)}ts.length&&tn.length&&ts.each(function(){ti(this).find(tn).addClass("form-themeExtras"),ti("body").on("SMBLeadsFormReady",function(){var ts=ti(".forms--2col-textarea:not(.newsletter-2-fields):not(.newsletter-3
23-fields):not(.contact-us-im):not(.appointment-request):not(.exclusive-offer):not(.pet-memorial):not(.form-default)"),ta=ti(".forms-option--b .leadForm .form__group:not(.checkbox__group):not(.radio__group)");ts.find(tn).each(function(){ti(this).find(".form__group").not(".form-input-comments").wrapAll("<div class='groupWrap' />")}),ta.each(function(){ti(this).hasClass("hasLabel")&&ti(this).addClass("optionB-enabled")})})})})}(window.jQuery),!function(ti){"use strict";let tn=ti('<style type="text/css">.mm-menu.mm-offcanvas { display: none; }</style>');function ts(){ti("nav.mm-menu a.mm-prev").each(function(){let tn=ti(this).parent().find("a.mm-title").text();ti(this).attr("title",tn)}),ti("nav.mm-menu a.mm-next").each(function(){let tn=ti("> a[data-title]",ti(this).parent()).data("title");ti(this).attr("title",tn)}),ti("nav.mm-menu a.mm-close").length>0&&ti("nav.mm-menu a.mm-close").attr("title","Close"),ta()}function ta(){let tn=ti(".navigation-a");tn.length&&ti(".navigation-a > .navigation__list > .navigation__item.has-drop-down").on("mouseenter mouseleave",function(tn){let ts=ti(this),ta=ts.find("> .navigation__list--sub"),tl=ta.find("> .navigation__item.has-drop-down > .navigation__list--sub"),tc=tl.find("> .navigation__item.has-drop-down > .navigation__list--sub"),th=ta.outerWidth(!0),tu=ts.offset().left,td=60,tp=0,tf=0;ti(tl).each(function(){let tn=ti(this).outerWidth(!0);tn>tf&&(tf=tn)});let tm=0;ti(tc).each(function(){let tn=ti(this).outerWidth(!0);tn>tm&&(tm=tn)}),tp=th+tf+tm-ts.outerWidth(!0);let tg=ti(document).width()-(tu+ts.outerWidth(!0)+td),tv=tg>tp;tv?ts.removeClass("near-edge"):ts.addClass("near-edge")})}ti("html > head").append(tn),ti(document).ready(function(){ti("[data-sticky-header]").closest(".js-sticky-nav").sticky({topSpacing:0}),ti(".navigation__item.more").click(function(ti){ti.preventDefault()}),ti(".more_nav--loading").removeClass("more_nav--loading"),ts()}),ti(window).load(function(){ts()})}(window.jQuery),function(ti){"use strict";var tn=function(tn,ts){var ta=!1;function tl(){setTimeout(function(){ti(window).trigger("scroll")},100)}ta=!!ti(".lazyLoadImg").length,this.$element=ti(tn),this.options=this.parseTrueFalseOptions(ts);var tc=this;tc.options.autoplay=tc.options.auto,tc.options.auto=!1;var th={onSlideAfter:function(){tc.options.auto&&(tc.$element.stopAuto(),tc.$element.startAuto()),ta&&tl()},onSliderLoad:function(){if(""==tc.options.easing&&(tc.options.easing=null),tc.options.controlsHover){var tn=tc.$element.closest(".bx-wrapper");ti(".bx-controls-direction",tn).hide(),tn.hover(function(){ti(".bx-controls-direction",ti(this)).fadeIn(300)},function(){ti(".bx-controls-direction",ti(this)).fadeOut(300)})}if(tc.options.autoHover){var tn=tc.$element.closest(".bx-wrapper");tn.hover(function(){tc.options.auto&&tc.$element.stopAuto()},function(){console.log(tc.options.auto),tc.options.auto&&tc.$element.startAuto()})}null!=tc.options.easing&&(tc.options.useCSS=!1),tc.options.autoplay&&(tc.makePauseSlideshowButton(),setTimeout(function(){tc.$element.startAuto(),tc.options.auto=!0},tc.options.autoDelay)),tc.$element.closest(".bx-wrapper").find(".bx-controls").wrapAll("<div class='wrap__bx-controls' />"),tc.$element.closest(".bx-wrapper").find(".wrap_on-off, .wrap_pause-play, .bx-pager ").wrapAll("<div class='bx-controls-buttons' />"),tc.attachEvents()},onSlideNext:function(){ta&&tl()},onSlidePrev:function(){ta&&tl()}};ti.extend(this.options,th),this.run()};tn.prototype.attachEvents=function(){var tn=this,ts=tn.$element.closest(".bx-wrapper").find(".bx-controls");ts.on("click",".pause-slideshow",function(ta,tl){ti(this).hide(),tn.$element.stopAuto(),tn.options.auto=!1,ts.find(".play-slideshow").fadeIn("slow",function(){void 0!==tl&&ti(this).focus()})}),ts.on("click",".play-slideshow",function(ta,tl){ti(this).hide(),tn.$element.startAuto(),tn.options.auto=!0,ts.find(".pause-slideshow").fadeIn("slow",function(){void 0!==tl&&ti(this).focus()})}),ti("body").keypress(function(ti){13==ti.which&&(ts.find(".play-slideshow").is(":focus")&&ts.find(".play-slideshow").trigger("click",{kb:!0}),ts.find(".pause-slideshow").is(":focus")&&ts.find(".pause-slideshow").trigger("click",{kb:!0}))})},tn.prototype.makePauseSlideshowButton=function(){var ti=this,tn=['<div class="wrap_pause-play">
23','<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>"];ti.$element.closest(".bx-wrapper").find(".bx-controls").append(tn.join(""))},tn.prototype.parseTrueFalseOptions=function(ti,ts){for(var ta in ti)ti.hasOwnProperty(ta)&&-1!=tn.BOOLEANS.indexOf(ta)&&(ti[ta]=!!ti[ta]);return ti},tn.prototype.run=function(){var tn=this;ti(window).load(function(){tn.$bxSlider=tn.$element.bxSlider(tn.options),tn.$bxSlider.redrawSlider()})},tn.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},tn.BOOLEANS=["pager","controls","autoControls","auto","infiniteLoop","randomStart","controlsHover","responsive"];var ts=ti.fn.BXSlider;ti.fn.BXSlider=function(ts){var ta;return arguments,this.each(function(){var tl=ti(this),tc=ti.extend({},tn.DEFAULTS,tl.data(),"object"==typeof ts&&ts),th="";if(tl.data("bxslider",th=new tn(this,tc)),void 0!==ta)return!1}),ta||this},ti.fn.BXSlider.Constructor=tn,ti.fn.BXSlider.noConflict=function(){return ti.fn.BXSlider=ts,this},ti(function(){ti('[data-control="bx-slider"]').BXSlider()})}(window.jQuery),!function(ti){"function"==typeof define&&define.amd?define(["jquery"],ti):"object"==typeof module&&module.exports?module.exports=function(tn,ts){return void 0===ts&&(ts="undefined"!=typeof window?require("jquery"):require("jquery")(tn)),ti(ts),ts}:ti(jQuery)}(function(ti){"use strict";ti.fn.imageScale=function(ts){return this.each(function(){var ta=this,tl=ti(this),tc=tl.data("imageScale"),th="IMG"===this.tagName?tl:tl.find("img");if(tc)"string"==typeof ts?tc[ts]():"object"==typeof ts?tc[ts.method||"scale"](!1,ts):tc.scale();else{var tu=th[0].complete,td=ti.extend({},ti.fn.imageScale.defaults,"object"==typeof ts&&ts),tp=function(){tl.data("imageScale",tc=new tn(ta,td)),tc.scale(!0,td)};tu?tp.apply(tl[0]):th.on("load",tp).attr("src",th.attr("src"))}})},ti.fn.imageScale.defaults={scale:"best-fill",align:"center",parent:null,hideParentOverflow:!0,fadeInDuration:0,rescaleOnResize:!1,didScale:function(ti,tn){},logLevel:0};var tn=function(tn,ts){var ta=this;ta.options=ts,ta.element=tn;var tl=ta.$element=ti(tn),tc=ta.$img="IMG"===tn.tagName?tl:tl.find("img"),th=ta.img=tc[0];ta.src=tc.attr("src"),ta.imgWidth=th.naturalWidth||th.width,ta.imgHeight=th.naturalHeight||th.height;var tu=ta.$parent=ts.parent?ts.parent:ti(tl.parent()[0]);ta.parent=tu[0],"static"===tu.css("position")&&tu.css("position","relative"),ts.rescaleOnResize&&ti(window).resize(function(ti){ta.scheduleScale()})};ti.fn.imageScale.Constructor=tn,tn.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:tn,element:null,options:null,scale:function(ti,tn){if(!this._isDestroyed&&!1!==this._canScale){var ts=this,ta=this.options,tl=this.$parent,tc=this.element,th=this.$element,tu=this.img,td=this.$img;if(ti)ta.hideParentOverflow&&tl.css({overflow:"hidden"});else if(this.src!==td.attr("src")){this.destroy(),th.data("imageScale",null),th.imageScale(ta);return}if(this._didScheduleScale=!1,!ta.rescaleOnResize||tn||this._needUpdate(this.parent)){tn=tn||{};var tp=tn.transition;tp&&(this._canScale=!1,th.css("transition","all "+tp+"ms"),setTimeout(function(){ts._canScale=null,th.css("transition","null")},tp));var tf=tn.destWidth?tn.destWidth:tl.outerWidth(),tm=tn.destHeight?tn.destHeight:tl.outerHeight(),tg=tn.destWidth?tn.destWidth:tl.innerWidth(),tv=tn.destHeight?tn.destHeight:tl.innerHeight(),ty=tf-tg,t_=tm-tv,tb=th.attr("data-scale"),tw=th.attr("data-align"),tx=tb||ta.scale,tT=tw||ta.align,tk=ta.fadeInDuration;if(!tx){ta.logLevel>2&&console.log("imageScale - DEBUG NOTICE: The scale property is null.",tc);return}this._cacheDestWidth===tf&&this._cacheDestHeight===tm&&ta.logLevel>2&&console.log("imageScale - DEBUG NOTICE: The parent size hasn't changed: dest width: '"+tf+"' - dest height: '"+tm+"'.",tc);var tC=this.imgWidth,tj=this.imgHeight;if(!(tf&&tm&&tC&&tj)){ta.logLevel>
230&&console.error("imageScale - DEBUG ERROR: The dimensions are incorrect: source width: '"+tC+"' - source height: '"+tj+"' - dest width: '"+tf+"' - dest height: '"+tm+"'.",tc);return}this._cacheDestWidth=tf,this._cacheDestHeight=tm;var tS=this._innerFrameForSize(tx,tT,tC,tj,tf,tm);ty&&(tS.x-=ty/2),t_&&(tS.y-=t_/2),th.css({position:"absolute",top:tS.y+"px",left:tS.x+"px",width:tS.width+"px",height:tS.height+"px","max-width":"none"}),ti&&tk&&(th.css({display:"none"}),th.fadeIn(tk)),ta.didScale.call(this,ti,tn)}}},destroy:function(){this._isDestroyed=!0,this.$element.removeData("imageScale")},_innerFrameForSize:function(ti,tn,ts,ta,tl,tc){var th,tu,td;if(td={x:0,y:0,width:tl,height:tc},ti===this.FILL)return td;switch(th=tl/ts,tu=tc/ta,ti){case this.BEST_FIT_DOWN_ONLY:ti!==this.BEST_FIT_DOWN_ONLY&&this.options.logLevel>1&&console.warn("imageScale - DEBUG WARNING: The scale '"+ti+"' was not understood."),ti=ts>tl||ta>tc?th<tu?th:tu:1;break;case this.BEST_FIT:ti=th<tu?th:tu;break;case this.NONE:ti=1;break;default:ti=th>tu?th:tu}switch(ts*=ti,ta*=ti,td.width=Math.round(ts),td.height=Math.round(ta),tn){case this.ALIGN_LEFT:td.x=0,td.y=tc/2-ta/2;break;case this.ALIGN_RIGHT:td.x=tl-ts,td.y=tc/2-ta/2;break;case this.ALIGN_TOP:td.x=tl/2-ts/2,td.y=0;break;case this.ALIGN_BOTTOM:td.x=tl/2-ts/2,td.y=tc-ta;break;case this.ALIGN_TOP_LEFT:td.x=0,td.y=0;break;case this.ALIGN_TOP_RIGHT:td.x=tl-ts,td.y=0;break;case this.ALIGN_BOTTOM_LEFT:td.x=0,td.y=tc-ta;break;case this.ALIGN_BOTTOM_RIGHT:td.x=tl-ts,td.y=tc-ta;break;default:tn!==this.ALIGN_CENTER&&this.options.logLevel>1&&console.warn("imageScale - DEBUG WARNING: The align '"+tn+"' was not understood."),td.x=tl/2-ts/2,td.y=tc/2-ta/2}return td},_needUpdate:function(ti){var tn=ti.clientHeight+" "+ti.clientWidth;return this._lastParentSize!==tn&&(this._lastParentSize=tn,!0)},scheduleScale:function(){if(!this._didScheduleScale){if(window.requestAnimationFrame){var ti=this;this._didScheduleScale=!0,requestAnimationFrame(function(){setTimeout(function(){ti.scale()},0)})}else this.scale()}}}}),$("document").ready(function(){$(".gallery").on("html_restructured",function(){var ti=$(".gallery").data("ratio");$(".gallery [data-setup-run]").each(function(){"square"==ti?$(this).height($(this).width()):"rectangle"==ti&&$(this).height(.75*$(this).width());var tn=videojs(this,$(this).data("setupRun"));if(tn){var ts=tn.options();if(tn.on("pause",function(){tn.bigPlayButton.hide(),tn.posterImage.hide()}),"vimeo"==ts.techOrder[0]){var ta=$(tn.posterImage.el_),tl=$(tn.el_).find("iframe");void 0==ta.attr("style")&&ta.addClass("noVimeoPoster"),ta.bind("click touchstart",function(){tl.addClass("vimeoStarted"),ta.removeClass("noVimeoPoster"),tl[0].src+="&muted=1&autoplay=1"})}}})})}),function(ti){"use strict";var tn=function(tn,ts){var ta=this;this.$element=ti(tn),this.$topWrapper=ti(tn).closest(".gallery"),this.options=this.parseTrueFalseOptions(ts),this.options.muted=!1,1==this.options.count&&(this.options.infiniteLoop=!1),this.auto=this.options.auto,this.options.auto=!1;var tl={onSlideAfter:function(){ta.options.auto&&(ta.$element.stopAuto(),ta.$element.startAuto())},onSliderLoad:function(){ta.$element.css("visibility","visible"),ta.$wrapper=ta.$element.closest(".bx-wrapper"),ta.$viewport=ta.$wrapper.find(".bx-viewport"),ta.$element.getSlideCount()>1?(ta.options.pager=!0,ti(".bx-pager").show()):(ta.options.pager=!1,ti(".bx-pager").hide()),""==ta.options.easing&&(ta.options.easing=null),ta.options.controlsHover&&ta.$element.getSlideCount()>1&&(ti(".bx-controls-direction",ta.$wrapper).add(".bx-pager").hide(),ta.$wrapper.hover(function(){ti(".bx-controls-direction",ti(this)).add(".bx-pager").fadeIn(300)},function(){ti(".bx-controls-direction",ti(this)).add(".bx-pager").fadeOut(300)})),ta.options.autoHover&&ta.$wrapper.hover(function(){ta.options.auto&&ta.$element.stopAuto()},function(){ta.options.auto&&ta.$element.startAuto()}),null!=ta.options.easing&&(ta.options.useCSS=!1),ta.auto&&(ta.options.auto=!0,ta.$element.startAuto(),ta.makePauseSlideshowButton()),ta.removeHighslideInClones(),ta.addWrappers()},onSlideNext:function(){},onSlidePrev:function(){}};return ti.extend(this.options,tl),this.attachEvents(),this.initializeSlider(),this};tn.prototype.attachEvents=function(){var tn=this;tn.$topWrapper.find(".gallery-slider").on("click",".gallery-pause-slideshow",function(ts,ta){ti(this).hide(),tn.$element.stopAuto(),tn.options.auto=!1,tn.$topWrapper.find(".gallery-slider .gallery-play-slideshow").fadeIn("slow",function(){void 0!==ta&&ti(this).focus()})}),tn.$topWrapper.find(".gallery-slider").on("click",".gallery-play-slideshow",function(ts,ta){ti(this).hide(),tn.$element.startAuto(),tn.options.auto=!0,tn.$topWrapper.find(".gallery-slider .gallery-pause-slideshow").fadeIn("slow",function(){void 0!==ta&&ti(this).focus()})}
23),tn.$topWrapper.find(".gallery-slider").on("click",".sound-off",function(ts,ta){ti(this).hide(),tn.options.muted=!0,tn.$element.stopAuto(),tn.$topWrapper.find(".gallery-slider .sound-on").fadeIn("slow",function(){void 0!==ta&&ti(this).focus()})}),tn.$topWrapper.find(".gallery-slider").on("click",".sound-on",function(ts,ta){ti(this).hide(),tn.options.muted=!1,tn.$element.startAuto(),tn.$topWrapper.find(".gallery-slider .sound-off").fadeIn("slow",function(){void 0!==ta&&ti(this).focus()})}),ti("body").keypress(function(ti){13==ti.which&&(tn.$topWrapper.find(".gallery-slider .play-slideshow").is(":focus")&&tn.$topWrapper.find(".gallery-slider .play-slideshow").trigger("click",{kb:!0}),tn.$topWrapper.find(".gallery-slider .pause-slideshow").is(":focus")&&tn.$topWrapper.find(".gallery-slider .pause-slideshow").trigger("click",{kb:!0}),tn.$topWrapper.find(".gallery-slider .sound-off").is(":focus")&&tn.$topWrapper.find(".gallery-slider .sound-off").trigger("click",{kb:!0}),tn.$topWrapper.find(".gallery-slider .sound-on").is(":focus")&&tn.$topWrapper.find(".gallery-slider .sound-on").trigger("click",{kb:!0}))})},tn.prototype.parseTrueFalseOptions=function(ti,ts){for(var ta in ti)ti.hasOwnProperty(ta)&&-1!=tn.BOOLEANS.indexOf(ta)&&(ti[ta]=!!ti[ta]);return ti},tn.prototype.addWrappers=function(){var ti=this;ti.$element.closest(".bx-wrapper").find(".bx-controls").wrapAll("<div class='wrap__bx-controls' />"),ti.$element.closest(".bx-wrapper").find(".bx-pager, .wrap_pause-play").wrapAll("<div class='bx-controls-buttons' />")},tn.prototype.initializeSlider=function(){this.$bxSlider=this.$element.bxSlider(this.options)},tn.prototype.destSlider=function(){this.$bxSlider.length&&(this.$bxSlider.destroySlider(),this.$topWrapper.find(".gallery-slider .wrap__bx-controls").remove())},tn.prototype.makePauseSlideshowButton=function(){var ti=this,tn=['<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>"];ti.$topWrapper.find(".gallery-slider .bx-wrapper .bx-controls").append(tn.join(""))},tn.prototype.removeHighslideInClones=function(){var tn=this;tn.$element.find(".bx-clone").each(function(tn){var ts=ti(this).find(".highslide");
23ts.removeClass("highslide"),ts.removeAttr("onclick")})},tn.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},tn.BOOLEANS=["pager","controls","autoControls","auto","infiniteLoop","randomStart","controlsHover","responsive","autoHoverModified"];var ts=ti.fn.slideshow;ti.fn.slideshow=function(ts){arguments;var ta=ti(this),tl=ti.extend({},tn.DEFAULTS,ta.data(),"object"==typeof ts&&ts);return new tn(this,tl)},ti.fn.slideshow.Constructor=tn,ti.fn.slideshow.noConflict=function(){ti.fn.slideshow=ts}}(window.jQuery),function(ti){"use strict";var tn=function(tn,ts){this.$el=ti(tn),this.options=ts,this.init()};tn.prototype.init=function(){var tn=this;tn.$el.find("img.scale").imageScale({parent:ti(".img-holder-container")}),tn.$el.find("img.scale").imageScale({parent:ti(".img-holder-container")})},tn.DEFAULTS={nextEffect:"fade",prevEffect:"fade",type:"iframe"};var ts=ti.fn.imgScale;ti.fn.imgScale=function(ts){var ta=Array.prototype.slice.call(arguments,1),tl=void 0;return this.each(function(){var tc=ti(this),th=ti.extend({},tn.DEFAULTS,tc.data(),"object"==typeof ts&&ts),tu=new tn(this,th);if("string"==typeof ts&&(tl=tu[ts].apply(tu,ta)),void 0!==tl)return!1}),tl||this},ti.fn.imgScale.Constructor=tn,ti.fn.imgScale.noConflict=function(){return ti.fn.imgScale=ts,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(ti,tn){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",tn):"object"==typeof module&&module.exports?module.exports=tn():ti.EvEmitter=tn()}("undefined"!=typeof window?window:this,function(){function ti(){}var tn=ti.prototype;return tn.on=function(ti,tn){if(ti&&tn){var ts=this._events=this._events||{},ta=ts[ti]=ts[ti]||[];return -1==ta.indexOf(tn)&&ta.push(tn),this}},tn.once=function(ti,tn){if(ti&&tn){this.on(ti,tn);var ts=this._onceEvents=this._onceEvents||{};return(ts[ti]=ts[ti]||{})[tn]=!0,this}},tn.off=function(ti,tn){var ts=this._events&&this._events[ti];if(ts&&ts.length){var ta=ts.indexOf(tn);return -1!=ta&&ts.splice(ta,1),this}},tn.emitEvent=function(ti,tn){var ts=this._events&&this._events[ti];if(ts&&ts.length){var ta=0,tl=ts[0];tn=tn||[];for(var tc=this._onceEvents&&this._onceEvents[ti];tl;){var th=tc&&tc[tl];th&&(this.off(ti,tl),delete tc[tl]),tl.apply(this,tn),ta+=th?0:1,tl=ts[ta]}return this}},ti}),function(ti,tn){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(ts){return tn(ti,ts)}):"object"==typeof module&&module.exports?module.exports=tn(ti,require("ev-emitter")):ti.imagesLoaded=tn(ti,ti.EvEmitter)}(window,function(ti,tn){function ts(ti,tn){for(var ts in tn)ti[ts]=tn[ts];return ti}function ta(ti){var tn=[];if(Array.isArray(ti))tn=ti;else if("number"==typeof ti.length)for(var ts=0;ts<ti.length;ts++)tn.push(ti[ts]);else tn.push(ti);return tn}function tl(ti,tn,tc){return this instanceof tl?("string"==typeof ti&&(ti=document.querySelectorAll(ti)),this.elements=ta(ti),this.options=ts({},this.options),"function"==typeof tn?tc=tn:ts(this.options,tn),tc&&this.on("always",tc),this.getImages(),tu&&(this.jqDeferred=new tu.Deferred),void setTimeout((function(){this.check()}).bind(this))):new tl(ti,tn,tc)}function tc(ti){this.img=ti}function th(ti,tn){this.url=ti,this.element=tn,this.img=new Image}var tu=ti.jQuery,td=ti.console;tl.prototype=Object.create(tn.prototype),tl.prototype.options={},tl.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},tl.prototype.addElementImages=function(ti){"IMG"==ti.nodeName&&this.addImage(ti),!0===this.options.background&&this.addElementBackgroundImages(ti);var tn=ti.nodeType;if(tn&&tp[tn]){for(var ts=ti.querySelectorAll("img"),ta=0;ta<ts.length;ta++){var tl=ts[ta];this.addImage(tl)}if("string"==typeof this.options.background){var tc=ti.querySelectorAll(this.options.background);for(ta=0;ta<tc.length;ta++){var th=tc[ta];
vendor: 4,221 bytes, lines 27-33
27this.addElementBackgroundImages(th)}}}};var tp={1:!0,9:!0,11:!0};return tl.prototype.addElementBackgroundImages=function(ti){var tn=getComputedStyle(ti);if(tn)for(var ts=/url\((['"])?(.*?)\1\)/gi,ta=ts.exec(tn.backgroundImage);null!==ta;){var tl=ta&&ta[2];tl&&this.addBackground(tl,ti),ta=ts.exec(tn.backgroundImage)}},tl.prototype.addImage=function(ti){var tn=new tc(ti);this.images.push(tn)},tl.prototype.addBackground=function(ti,tn){var ts=new th(ti,tn);this.images.push(ts)},tl.prototype.check=function(){function ti(ti,ts,ta){setTimeout(function(){tn.progress(ti,ts,ta)})}var tn=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(tn){tn.once("progress",ti),tn.check()}):void this.complete()},tl.prototype.progress=function(ti,tn,ts){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!ti.isLoaded,this.emitEvent("progress",[this,ti,tn]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,ti),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&td&&td.log("progress: "+ts,ti,tn)},tl.prototype.complete=function(){var ti=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(ti,[this]),this.emitEvent("always",[this]),this.jqDeferred){var tn=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[tn](this)}},tc.prototype=Object.create(tn.prototype),tc.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))},tc.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},tc.prototype.confirm=function(ti,tn){this.isLoaded=ti,this.emitEvent("progress",[this,this.img,tn])},tc.prototype.handleEvent=function(ti){var tn="on"+ti.type;this[tn]&&this[tn](ti)},tc.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},tc.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},tc.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},th.prototype=Object.create(tc.prototype),th.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())},th.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},th.prototype.confirm=function(ti,tn){this.isLoaded=ti,this.emitEvent("progress",[this,this.element,tn])},tl.makeJQueryPlugin=function(tn){(tn=tn||ti.jQuery)&&((tu=tn).fn.imagesLoaded=function(ti,tn){return new tl(this,ti,tn).jqDeferred.promise(tu(this))})},tl.makeJQueryPlugin(),tl}),/*! 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(ti,tn){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(ts){return tn(ti,ts)}):"object"==typeof module&&module.exports?module.exports=tn(ti,require("jquery")):ti.jQueryBridget=tn(ti,ti.jQuery)}(window,function(ti,tn){"use strict";function ts(ts,tc,tu){function td(ti,tn,ta){var tl,tc="$()."+ts+'("'+tn+'")';return ti.each(function(ti,td){var tp=tu.data(td,ts);if(!tp)return void th(ts+" not initialized. Cannot call methods, i.e. "+tc);var tf=tp[tn];if(!tf||"_"==tn.charAt(0))return void th(tc+" is not a valid method");var tm=tf.apply(tp,ta);tl=void 0===tl?tm:tl}),void 0!==tl?tl:ti}function tp(ti,tn){ti.each(function(ti,ta){var tl=tu.data(ta,ts);tl?(tl.option(tn),tl._init()):(tl=new tc(ta,tn),tu.data(ta,ts,tl))})}(tu=tu||tn||ti.jQuery)&&(tc.prototype.option||(tc.prototype.option=function(ti){tu.isPlainObject(ti)&&(this.options=tu.extend(!0,this.options,ti))}),tu.fn[ts]=function(ti){if("string"==typeof ti){var tn=tl.call(arguments,1
33);return td(this,ti,tn)}return tp(this,ti),this},ta(tu))}function ta(ti){!ti||ti&&ti.bridget||(ti.bridget=ts)}var tl=Array.prototype.slice,tc=ti.console,th=void 0===tc?function(){}:function(ti){tc.error(ti)};return ta(tn||ti.jQuery),ts}),function(ti,tn){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",tn):"object"==typeof module&&module.exports?module.exports=tn():ti.EvEmitter=tn()}("undefined"!=typeof window?window:this,function(){function ti(){}var tn=ti.prototype;return tn.on=function(ti,tn){if(ti&&tn){var ts=this._events=this._events||{},ta=ts[ti]=ts[ti]||[];return -1==ta.indexOf(tn)&&ta.push(tn),this}},tn.once=function(ti,tn){if(ti&&tn){this.on(ti,tn);var ts=this._onceEvents=this._onceEvents||{};return(ts[ti]=ts[ti]||{})[tn]=!0,this}},tn.off=function(ti,tn){var ts=this._events&&this._events[ti];if(ts&&ts.length){var ta=ts.indexOf(tn);return -1!=ta&&ts.splice(ta,1),this}},tn.emitEvent=function(ti,tn){var ts=this._events&&this._events[ti];if(ts&&ts.length){var ta=0,tl=ts[0];tn=tn||[];for(var tc=this._onceEvents&&this._onceEvents[ti];tl;){var th=tc&&tc[tl];th&&(this.off(ti,tl),delete tc[tl]),tl.apply(this,tn),ta+=th?0:1,tl=ts[ta]}return this}},ti}),function(ti,tn){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return tn()}):"object"==typeof module&&module.exports?module.exports=tn():ti.getSize=tn()}(window,function(){"use strict";function ti(ti){var tn=parseFloat(ti);return -1==ti.indexOf("%")&&!isNaN(tn)&&tn}function tn(){}function ts(){for(var ti={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},tn=0;tp>tn;tn++)ti[td[tn]]=0;return ti}function ta(ti){var tn=getComputedStyle(ti);return tn||tu("Style returned "+tn+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),tn}function tl(){if(!tf){tf=!0;var tn=document.createElement("div");tn.style.width="200px",tn.style.padding="1px 2px 3px 4px",tn.style.borderStyle="solid",tn.style.borderWidth="1px 2px 3px 4px",tn.style.boxSizing="border-box";var ts=document.body||document.documentElement;ts.appendChild(tn);var tl=ta(tn);tc.isBoxSizeOuter=th=200==ti(tl.width),ts.removeChild(tn)}}function tc(tn){if(tl(),"string"==typeof tn&&(tn=document.querySelector(tn)),tn&&"object"==typeof tn&&tn.nodeType){var tc=ta(tn);if("none"==tc.display)return ts();var tu={};tu.width=tn.offsetWidth,tu.height=tn.offsetHeight;for(var tf=tu.isBorderBox="border-box"==tc.boxSizing,tm=0;tp>tm;tm++){var tg=td[tm],tv=parseFloat(tc[tg]);tu[tg]=isNaN(tv)?0:tv}var ty=tu.paddingLeft+tu.paddingRight,t_=tu.paddingTop+tu.paddingBottom,tb=tu.marginLeft+tu.marginRight,tw=tu.marginTop+tu.marginBottom,tx=tu.borderLeftWidth+tu.borderRightWidth,tT=tu.borderTopWidth+tu.borderBottomWidth,tk=tf&&th,tC=ti(tc.width);!1!==tC&&(tu.width=tC+(tk?0:ty+tx));var tj=ti(tc.height);return!1!==tj&&(tu.height=tj+(tk?0:t_+tT)),tu.innerWidth=tu.width-(ty+tx),tu.innerHeight=tu.height-(t_+tT),tu.outerWidth=tu.width+tb,tu.outerHeight=tu.height+tw,tu}}var th,tu="undefined"==typeof console?tn:function(ti){console.error(ti)},td=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],tp=td.length,tf=!1;return tc}),function(ti,tn){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",tn):"object"==typeof module&&module.exports?module.exports=tn():ti.matchesSelector=tn()}(window,function(){"use strict";var ti=function(){var ti=Element.prototype;if(ti.matches)return"matches";if(ti.matchesSelector)return"matchesSelector";for(var tn=["webkit","moz","ms","o"],ts=0;ts<tn.length;ts++){var ta=tn[ts]+"MatchesSelector";if(ti[ta])return ta}}();return function(tn,ts){return tn[ti](ts)}}),function(ti,tn){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
33sandro-matches-selector/matches-selector"],function(ts){return tn(ti,ts)}):"object"==typeof module&&module.exports?module.exports=tn(ti,require("desandro-matches-selector")):ti.fizzyUIUtils=tn(ti,ti.matchesSelector)}(window,function(ti,tn){var ts={};ts.extend=function(ti,tn){for(var ts in tn)ti[ts]=tn[ts];return ti},ts.modulo=function(ti,tn){return(ti%tn+tn)%tn},ts.makeArray=function(ti){var tn=[];if(Array.isArray(ti))tn=ti;else if(ti&&"number"==typeof ti.length)for(var ts=0;ts<ti.length;ts++)tn.push(ti[ts]);else tn.push(ti);return tn},ts.removeFrom=function(ti,tn){var ts=ti.indexOf(tn);-1!=ts&&ti.splice(ts,1)},ts.getParent=function(ti,ts){for(;ti!=document.body;)if(tn(ti=ti.parentNode,ts))return ti},ts.getQueryElement=function(ti){return"string"==typeof ti?document.querySelector(ti):ti},ts.handleEvent=function(ti){var tn="on"+ti.type;this[tn]&&this[tn](ti)},ts.filterFindElements=function(ti,ta){ti=ts.makeArray(ti);var tl=[];return ti.forEach(function(ti){if(ti instanceof HTMLElement){if(!ta)return void tl.push(ti);tn(ti,ta)&&tl.push(ti);for(var ts=ti.querySelectorAll(ta),tc=0;tc<ts.length;tc++)tl.push(ts[tc])}}),tl},ts.debounceMethod=function(ti,tn,ts){var ta=ti.prototype[tn],tl=tn+"Timeout";ti.prototype[tn]=function(){var ti=this[tl];ti&&clearTimeout(ti);var tn=arguments,tc=this;
33this[tl]=setTimeout(function(){ta.apply(tc,tn),delete tc[tl]},ts||100)}},ts.docReady=function(ti){var tn=document.readyState;"complete"==tn||"interactive"==tn?ti():document.addEventListener("DOMContentLoaded",ti)},ts.toDashed=function(ti){return ti.replace(/(.)([A-Z])/g,function(ti,tn,ts){return tn+"-"+ts}).toLowerCase()};var ta=ti.console;return ts.htmlInit=function(tn,tl){ts.docReady(function(){var tc=ts.toDashed(tl),th="data-"+tc,tu=document.querySelectorAll("["+th+"]"),td=document.querySelectorAll(".js-"+tc),tp=ts.makeArray(tu).concat(ts.makeArray(td)),tf=th+"-options",tm=ti.jQuery;tp.forEach(function(ti){var ts,tc=ti.getAttribute(th)||ti.getAttribute(tf);try{ts=tc&&JSON.parse(tc)}catch(tn){return void(ta&&ta.error("Error parsing "+th+" on "+ti.className+": "+tn))}var tu=new tn(ti,ts);tm&&tm.data(ti,tl,tu)})})},ts}),function(ti,tn){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],tn):"object"==typeof module&&module.exports?module.exports=tn(require("ev-emitter"),require("get-size")):(ti.Outlayer={},ti.Outlayer.Item=tn(ti.EvEmitter,ti.getSize))}(window,function(ti,tn){"use strict";function ts(ti){for(var tn in ti)return!1;return!0}function ta(ti,tn){ti&&(this.element=ti,this.layout=tn,this.position={x:0,y:0},this._create())}function tl(ti){return ti.replace(/([A-Z])/g,function(ti){return"-"+ti.toLowerCase()})}var tc=document.documentElement.style,th="string"==typeof tc.transition?"transition":"WebkitTransition",tu="string"==typeof tc.transform?"transform":"WebkitTransform",td={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[th],tp={transform:tu,transition:th,transitionDuration:th+"Duration",transitionProperty:th+"Property",transitionDelay:th+"Delay"},tf=ta.prototype=Object.create(ti.prototype);tf.constructor=ta,tf._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},tf.handleEvent=function(ti){var tn="on"+ti.type;this[tn]&&this[tn](ti)},tf.getSize=function(){this.size=tn(this.element)},tf.css=function(ti){var tn=this.element.style;for(var ts in ti)tn[tp[ts]||ts]=ti[ts]},tf.getPosition=function(){var ti=getComputedStyle(this.element),tn=this.layout._getOption("originLeft"),ts=this.layout._getOption("originTop"),ta=ti[tn?"left":"right"],tl=ti[ts?"top":"bottom"],tc=this.layout.size,th=-1!=ta.indexOf("%")?parseFloat(ta)/100*tc.width:parseInt(ta,10),tu=-1!=tl.indexOf("%")?parseFloat(tl)/100*tc.height:parseInt(tl,10);th=isNaN(th)?0:th,tu=isNaN(tu)?0:tu,th-=tn?tc.paddingLeft:tc.paddingRight,tu-=ts?tc.paddingTop:tc.paddingBottom,this.position.x=th,this.position.y=tu},tf.layoutPosition=function(){var ti=this.layout.size,tn={},ts=this.layout._getOption("originLeft"),ta=this.layout._getOption("originTop"),tl=ts?"paddingLeft":"paddingRight",tc=ts?"left":"right",th=ts?"right":"left",tu=this.position.x+ti[tl];tn[tc]=this.getXValue(tu),tn[th]="";var td=ta?"paddingTop":"paddingBottom",tp=ta?"top":"bottom",tf=ta?"bottom":"top",tm=this.position.y+ti[td];tn[tp]=this.getYValue(tm),tn[tf]="",this.css(tn),this.emitEvent("layout",[this])},tf.getXValue=function(ti){var tn=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!tn?ti/this.layout.size.width*100+"%":ti+"px"},tf.getYValue=function(ti){var tn=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&tn?ti/this.layout.size.height*100+"%":ti+"px"},tf._transitionTo=function(ti,tn){this.getPosition();var ts=this.position.x,ta=this.position.y,tl=parseInt(ti,10),tc=parseInt(tn,10),th=tl===this.position.x&&tc===this.position.y;if(this.setPosition(ti,tn),th&&!this.isTransitioning)return void this.layoutPosition();var tu=ti-ts,td=tn-ta,tp={};tp.transform=this.getTranslate(tu,td),this.transition({to:tp,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},tf.getTranslate=function(ti,tn){var ts=this.layout._getOption("originLeft"),ta=this.layout._getOption("originTop");return"translate3d("+(ti=ts?ti:-ti)+"px, "+(tn=ta?tn:-tn)+"px, 0)"},tf.goTo=function(ti,tn){this.setPosition(ti,tn),this.layoutPosition()},tf.moveTo=tf._transitionTo,tf.setPosition=function(ti,tn){this.position.x=parseInt(ti,10),this.position.y=parseInt(tn,10)},tf._nonTransition=function(ti){for(var tn in this.css(ti.to),ti.isCleaning&&this._removeStyles(ti.to),ti.onTransitionEnd)ti.onTransitionEnd[tn].call(this)},tf.transition=function(ti){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(ti);var tn=this._transn;for(var ts in ti.onTransitionEnd)tn.onEnd[ts]=ti.onTransitionEnd[ts];for(ts in ti.to)tn.ingProperties[ts]=!0,ti.isCleaning&&(tn.clean[ts]=!0);if(ti.from){this.css(ti.from);var ta=this.element.offsetHeight;ta=null}this.enableTransition(ti.to),this.css(ti.to),this.isTransitioning=!0};var tm="opacity,"+tl(tu);tf.enableTransition=function(){if(!this.isTransitioning){var ti=this.layout.options.transitionDuration;ti="number"==typeof ti?ti+"ms":ti,this.css({transitionProperty:tm,transitionDuration:ti,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(td,this,!1)}},tf.onwebkitTransitionEnd=function(ti){this.ontransitionend(ti)},tf.onotransitionend=function(ti){this.ontransitionend(ti)};var tg={"-webkit-transform":"transform"};tf.ontransitionend=function(ti){if(ti.target===this.element){var tn=this._transn,ta=tg[ti.propertyName]||ti.propertyName;delete tn.ingProperties[ta],ts(tn.ingProperties)&&this.disableTransition(),ta in tn.clean&&(this.element.style[ti.propertyName]="",delete tn.clean[ta]),ta in tn.onEnd&&(tn.onEnd[ta].call(this),delete tn.onEnd[ta]),this.emitEvent("transitionEnd",[this])}},tf.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(td,this,!1),this.isTransitioning=!1},tf._removeStyles=function(ti){var tn={};for(var ts in ti)tn[ts]="";this.css(tn)};var tv={transitionProperty:"",transitionDuration:"",transitionDelay:""};return tf.removeTransitionStyles=function(){this.css(tv)},tf.stagger=function(ti){ti=isNaN(ti)?0:ti,this.staggerDelay=ti+"ms"},tf.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},tf.remove=function(){return th&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},tf.reveal=function(){delete this.isHidden,this.css({display:""});var ti=this.layout.options,tn={};tn[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:ti.hiddenStyle,to:ti.visibleStyle,isCleaning:!0,onTransitionEnd:tn})},tf.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},tf.getHideRevealTransitionEndProperty=function(ti){var tn=this.layout.options[ti];if(tn.opacity)return"opacity";for(var ts in tn)return ts},tf.hide=function(){this.isHidden=!0,this.css({display:""});var ti=this.layout.options,tn={};tn[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:ti.visibleStyle,to:ti.hiddenStyle,isCleaning:!0,onTransitionEnd:tn})},tf.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},tf.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},ta}),function(ti,tn){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(ts,ta,tl,tc){return tn(ti,ts,ta,tl,tc)}):"object"==typeof module&&module.exports?module.exports=tn(ti,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):ti.Outlayer=tn(ti,ti.EvEmitter,ti.getSize,ti.fizzyUIUtils,ti.Outlayer.Item)}(window,function(ti,tn,ts,ta,tl){"use strict";function tc(ti,tn){var ts=ta.getQueryElement(ti);if(!ts)return void(td&&td.error("Bad element for "+this.constructor.namespace+": "+(ts||ti)));this.element=ts,tp&&(this.$element=tp(this.element)),this.options=ta.extend({},this.constructor.defaults),this.option(tn);var tl=++tm;this.element.outlayerGUID=tl,tg[tl]=this,this._create(),this._getOption("initLayout")&&this.layout()}function th(ti){function tn(){ti.apply(this,arguments)}return tn.prototype=Object.create(ti.prototype),tn.prototype.constructor=tn,tn}function tu(ti){if("number"==typeof ti)return ti;var tn=ti.match(/(^\d*\.?\d*)(\w*)/),ts=tn&&tn[1],ta=tn&&tn[2];return ts.length?(ts=parseFloat(ts))*(ty[ta]||1):0}var td=ti.console,tp=ti.jQuery,tf=function(){},tm=0,tg={};tc.namespace="outlayer",tc.Item=tl,tc.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 tv=tc.prototype;ta.extend(tv,tn.prototype),tv.option=function(ti){ta.extend(this.options,ti)},tv._getOption=function(ti){var tn=this.constructor.compatOptions[ti];return tn&&void 0!==this.options[tn]?this.options[tn]:this.options[ti]},tc.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},tv._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),ta.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},tv.reloadItems=function(){this.items=this._itemize(this.element.children)},tv._itemize=function(ti){for(var tn=this._filterFindItemElements(ti),ts=this.constructor.Item,ta=[],tl=0;tl<tn.length;tl++){var tc=tn[tl],th=new ts(tc,this);ta.push(th)}return ta},tv._filterFindItemElements=function(ti){return ta.filterFindElements(ti,this.options.itemSelector)},tv.getItemElements=function(){return this.items.map(function(ti){return ti.element})},tv.layout=function(){this._resetLayout(),this._manageStamps();var ti=this._getOption("layoutInstant"),tn=void 0!==ti?ti:!this._isLayoutInited;this.layoutItems(this.items,tn),this._isLayoutInited=!0}
33,tv._init=tv.layout,tv._resetLayout=function(){this.getSize()},tv.getSize=function(){this.size=ts(this.element)},tv._getMeasurement=function(ti,tn){var ta,tl=this.options[ti];tl?("string"==typeof tl?ta=this.element.querySelector(tl):tl instanceof HTMLElement&&(ta=tl),this[ti]=ta?ts(ta)[tn]:tl):this[ti]=0},tv.layoutItems=function(ti,tn){ti=this._getItemsForLayout(ti),this._layoutItems(ti,tn),this._postLayout()},tv._getItemsForLayout=function(ti){return ti.filter(function(ti){return!ti.isIgnored})},tv._layoutItems=function(ti,tn){if(this._emitCompleteOnItems("layout",ti),ti&&ti.length){var ts=[];ti.forEach(function(ti){var ta=this._getItemLayoutPosition(ti);ta.item=ti,ta.isInstant=tn||ti.isLayoutInstant,ts.push(ta)},this),this._processLayoutQueue(ts)}},tv._getItemLayoutPosition=function(){return{x:0,y:0}},tv._processLayoutQueue=function(ti){this.updateStagger(),ti.forEach(function(ti,tn){this._positionItem(ti.item,ti.x,ti.y,ti.isInstant,tn)},this)},tv.updateStagger=function(){var ti=this.options.stagger;return null==ti?void(this.stagger=0):(this.stagger=tu(ti),this.stagger)},tv._positionItem=function(ti,tn,ts,ta,tl){ta?ti.goTo(tn,ts):(ti.stagger(tl*this.stagger),ti.moveTo(tn,ts))},tv._postLayout=function(){this.resizeContainer()},tv.resizeContainer=function(){if(this._getOption("resizeContainer")){var ti=this._getContainerSize();ti&&(this._setContainerMeasure(ti.width,!0),this._setContainerMeasure(ti.height,!1))}},tv._getContainerSize=tf,tv._setContainerMeasure=function(ti,tn){if(void 0!==ti){var ts=this.size;ts.isBorderBox&&(ti+=tn?ts.paddingLeft+ts.paddingRight+ts.borderLeftWidth+ts.borderRightWidth:ts.paddingBottom+ts.paddingTop+ts.borderTopWidth+ts.borderBottomWidth),ti=Math.max(ti,0),this.element.style[tn?"width":"height"]=ti+"px"}},tv._emitCompleteOnItems=function(ti,tn){function ts(){tl.dispatchEvent(ti+"Complete",null,[tn])}function ta(){++th==tc&&ts()}var tl=this,tc=tn.length;if(!tn||!tc)return void ts();var th=0;tn.forEach(function(tn){tn.once(ti,ta)})},tv.dispatchEvent=function(ti,tn,ts){var ta=tn?[tn].concat(ts):ts;if(this.emitEvent(ti,ta),tp){if(this.$element=this.$element||tp(this.element),tn){var tl=tp.Event(tn);tl.type=ti,this.$element.trigger(tl,ts)}else this.$element.trigger(ti,ts)}},tv.ignore=function(ti){var tn=this.getItem(ti);tn&&(tn.isIgnored=!0)},tv.unignore=function(ti){var tn=this.getItem(ti);tn&&delete tn.isIgnored},tv.stamp=function(ti){(ti=this._find(ti))&&(this.stamps=this.stamps.concat(ti),ti.forEach(this.ignore,this))},tv.unstamp=function(ti){(ti=this._find(ti))&&ti.forEach(function(ti){ta.removeFrom(this.stamps,ti),this.unignore(ti)},this)},tv._find=function(ti){return ti?("string"==typeof ti&&(ti=this.element.querySelectorAll(ti)),ti=ta.makeArray(ti)):void 0},tv._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},tv._getBoundingRect=function(){var ti=this.element.getBoundingClientRect(),tn=this.size;this._boundingRect={left:ti.left+tn.paddingLeft+tn.borderLeftWidth,top:ti.top+tn.paddingTop+tn.borderTopWidth,right:ti.right-(tn.paddingRight+tn.borderRightWidth),bottom:ti.bottom-(tn.paddingBottom+tn.borderBottomWidth)}},tv._manageStamp=tf,tv._getElementOffset=function(ti){var tn=ti.getBoundingClientRect(),ta=this._boundingRect,tl=ts(ti);return{left:tn.left-ta.left-tl.marginLeft,top:tn.top-ta.top-tl.marginTop,right:ta.right-tn.right-tl.marginRight,bottom:ta.bottom-tn.bottom-tl.marginBottom}},tv.handleEvent=ta.handleEvent,tv.bindResize=function(){ti.addEventListener("resize",this),this.isResizeBound=!0},tv.unbindResize=function(){ti.removeEventListener("resize",this),this.isResizeBound=!1},tv.onresize=function(){this.resize()},ta.debounceMethod(tc,"onresize",100),tv.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},tv.needsResizeLayout=function(){var ti=ts(this.element);return this.size&&ti&&ti.innerWidth!==this.size.innerWidth},tv.addItems=function(ti){var tn=this._itemize(ti);return tn.length&&(this.items=this.items.concat(tn)),tn},tv.appended=function(ti){var tn=this.addItems(ti);tn.length&&(this.layoutItems(tn,!0),this.reveal(tn))}
33,tv.prepended=function(ti){var tn=this._itemize(ti);if(tn.length){var ts=this.items.slice(0);this.items=tn.concat(ts),this._resetLayout(),this._manageStamps(),this.layoutItems(tn,!0),this.reveal(tn),this.layoutItems(ts)}},tv.reveal=function(ti){if(this._emitCompleteOnItems("reveal",ti),ti&&ti.length){var tn=this.updateStagger();ti.forEach(function(ti,ts){ti.stagger(ts*tn),ti.reveal()})}},tv.hide=function(ti){if(this._emitCompleteOnItems("hide",ti),ti&&ti.length){var tn=this.updateStagger();ti.forEach(function(ti,ts){ti.stagger(ts*tn),ti.hide()})}},tv.revealItemElements=function(ti){var tn=this.getItems(ti);this.reveal(tn)},tv.hideItemElements=function(ti){var tn=this.getItems(ti);this.hide(tn)},tv.getItem=function(ti){for(var tn=0;tn<this.items.length;tn++){var ts=this.items[tn];if(ts.element==ti)return ts}},tv.getItems=function(ti){ti=ta.makeArray(ti);var tn=[];return ti.forEach(function(ti){var ts=this.getItem(ti);ts&&tn.push(ts)},this),tn},tv.remove=function(ti){var tn=this.getItems(ti);this._emitCompleteOnItems("remove",tn),tn&&tn.length&&tn.forEach(function(ti){ti.remove(),ta.removeFrom(this.items,ti)},this)},tv.destroy=function(){var ti=this.element.style;ti.height="",ti.position="",ti.width="",this.items.forEach(function(ti){ti.destroy()}),this.unbindResize();var tn=this.element.outlayerGUID;delete tg[tn],delete this.element.outlayerGUID,tp&&tp.removeData(this.element,this.constructor.namespace)},tc.data=function(ti){var tn=(ti=ta.getQueryElement(ti))&&ti.outlayerGUID;return tn&&tg[tn]},tc.create=function(ti,tn){var ts=th(tc);return ts.defaults=ta.extend({},tc.defaults),ta.extend(ts.defaults,tn),ts.compatOptions=ta.extend({},tc.compatOptions),ts.namespace=ti,ts.data=tc.data,ts.Item=th(tl),ta.htmlInit(ts,ti),tp&&tp.bridget&&tp.bridget(ti,ts),ts};var ty={ms:1,s:1e3};return tc.Item=tl,tc}),function(ti,tn){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],tn):"object"==typeof module&&module.exports?module.exports=tn(require("outlayer"),require("get-size")):ti.Masonry=tn(ti.Outlayer,ti.getSize)}(window,function(ti,tn){var ts=ti.create("masonry");return ts.compatOptions.fitWidth="isFitWidth",ts.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var ti=0;ti<this.cols;ti++)this.colYs.push(0);this.maxY=0},ts.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var ti=this.items[0],ts=ti&&ti.element;this.columnWidth=ts&&tn(ts).outerWidth||this.containerWidth}var ta=this.columnWidth+=this.gutter,tl=this.containerWidth+this.gutter,tc=tl/ta,th=ta-tl%ta;tc=Math[th&&1>th?"round":"floor"](tc),this.cols=Math.max(tc,1)},ts.prototype.getContainerWidth=function(){var ti=tn(this._getOption("fitWidth")?this.element.parentNode:this.element);this.containerWidth=ti&&ti.innerWidth},ts.prototype._getItemLayoutPosition=function(ti){ti.getSize();var tn=ti.size.outerWidth%this.columnWidth,ts=Math[tn&&1>tn?"round":"ceil"](ti.size.outerWidth/this.columnWidth);ts=Math.min(ts,this.cols);for(var ta=this._getColGroup(ts),tl=Math.min.apply(Math,ta),tc=ta.indexOf(tl),th={x:this.columnWidth*tc,y:tl},tu=tl+ti.size.outerHeight,td=this.cols+1-ta.length,tp=0;td>tp;tp++)this.colYs[tc+tp]=tu;return th},ts.prototype._getColGroup=function(ti){if(2>ti)return this.colYs;for(var tn=[],ts=this.cols+1-ti,ta=0;ts>ta;ta++){var tl=this.colYs.slice(ta,ta+ti);tn[ta]=Math.max.apply(Math,tl)}return tn},ts.prototype._manageStamp=function(ti){var ts=tn(ti),ta=this._getElementOffset(ti),tl=this._getOption("originLeft")?ta.left:ta.right,tc=tl+ts.outerWidth,th=Math.floor(tl/this.columnWidth);th=Math.max(0,th);var tu=Math.floor(tc/this.columnWidth);tu-=tc%this.columnWidth?0:1,tu=Math.min(this.cols-1,tu);for(var td=this._getOption("originTop"),tp=(td?ta.top:ta.bottom)+ts.outerHeight,tf=th;tu>=tf;tf++)this.colYs[tf]=Math.max(tp,this.colYs[tf])},ts.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var ti={height:this.maxY};return this._getOption("fitWidth")&&(ti.width=this._getContainerFitWidth()),ti},ts.prototype._getContainerFitWidth=function(){for(var ti=0,tn=this.cols;--tn&&0===this.colYs[tn];)ti++;return(this.cols-ti)*this.columnWidth-this.gutter},ts.prototype.needsResizeLayout=function(){var ti=this.containerWidth;return this.getContainerWidth(),ti!=this.containerWidth},ts}),function(ti){"use strict";var tn=function(tn,ts){this.$el=ti(tn),this.options=ts,this.init()};tn.prototype.init=function(){var ti=this.$el.masonry(this.options);ti.imagesLoaded().progress(function(){ti.masonry("layout")})},tn.DEFAULTS={itemSelector:".grid-item",percentPosition:!0};var ts=ti.fn.masonryFunction;ti.fn.masonryFunction=function(ts){var ta=Array.prototype.slice.call(arguments,1
33),tl=void 0;return this.each(function(){var tc=ti(this),th=ti.extend({},tn.DEFAULTS,tc.data(),"object"==typeof ts&&ts),tu=new tn(this,th);if("string"==typeof ts&&(tl=tu[ts].apply(tu,ta)),void 0!==tl)return!1}),tl||this},ti.fn.masonryFunction.Constructor=tn,ti.fn.masonryFunction.noConflict=function(){return ti.fn.masonryFunction=ts,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>",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(ti){if(ti)return document.getElementById(ti)},push:function(ti,tn){ti[ti.length]=tn},createElement:function(ti,tn,ts,ta,tl){var tc=document.createElement(ti);
33return tn&&hs.extend(tc,tn),tl&&hs.setStyles(tc,{padding:0,border:"none",margin:0}),ts&&hs.setStyles(tc,ts),ta&&ta.appendChild(tc),tc},extend:function(ti,tn){for(var ts in tn)ti[ts]=tn[ts];return ti},setStyles:function(ti,tn){for(var ts in tn)hs.ieLt9&&"opacity"==ts?tn[ts]>.99?ti.style.removeAttribute("filter"):ti.style.filter="alpha(opacity="+100*tn[ts]+")":ti.style[ts]=tn[ts]},animate:function(ti,tn,ts){var ta,tl,tc;if("object"!=typeof ts||null===ts){var th=arguments;ts={duration:th[2],easing:th[3],complete:th[4]}}for(var tu in"number"!=typeof ts.duration&&(ts.duration=250),ts.easing=Math[ts.easing]||Math.easeInQuad,ts.curAnim=hs.extend({},tn),tn){var td=new hs.fx(ti,ts,tu);ta=parseFloat(hs.css(ti,tu))||0,tl=parseFloat(tn[tu]),tc="opacity"!=tu?"px":"",td.custom(ta,tl,tc)}},css:function(ti,tn){if(ti.style[tn])return ti.style[tn];if(document.defaultView)return document.defaultView.getComputedStyle(ti,null).getPropertyValue(tn);"opacity"==tn&&(tn="filter");var ts=ti.currentStyle[tn.replace(/\-(\w)/g,function(ti,tn){return tn.toUpperCase()})];return"filter"==tn&&(ts=ts.replace(/alpha\(opacity=([0-9]+)\)/,function(ti,tn){return tn/100})),""===ts?1:ts},getPageSize:function(){var ti=document,tn=(window,ti.compatMode&&"BackCompat"!=ti.compatMode?ti.documentElement:ti.body),ts=hs.ie&&(hs.uaVersion<9||"undefined"==typeof pageXOffset),ta=ts?tn.clientWidth:ti.documentElement.clientWidth||self.innerWidth,tl=ts?tn.clientHeight:self.innerHeight;return hs.page={width:ta,height:tl,scrollLeft:ts?tn.scrollLeft:pageXOffset,scrollTop:ts?tn.scrollTop:pageYOffset},hs.page},getPosition:function(ti){if(/area/i.test(ti.tagName))for(var tn=document.getElementsByTagName("img"),ts=0;ts<tn.length;ts++){var ta=tn[ts].useMap;if(ta&&ta.replace(/^.*?#/,"")==ti.parentNode.name){ti=tn[ts];break}}for(var tl={x:ti.offsetLeft,y:ti.offsetTop};ti.offsetParent;)ti=ti.offsetParent,tl.x+=ti.offsetLeft,tl.y+=ti.offsetTop,ti!=document.body&&ti!=document.documentElement&&(tl.x-=ti.scrollLeft,tl.y-=ti.scrollTop);return tl},expand:function(ti,tn,ts,ta){if(hs.params=tn,ti||(ti=hs.createElement("a",null,{display:"none"},hs.container)),"function"==typeof ti.getParams)return tn;if("html"==ta){for(var tl=0;tl<hs.sleeping.length;tl++)if(hs.sleeping[tl]&&hs.sleeping[tl].a==ti)return hs.sleeping[tl].awake(),hs.sleeping[tl]=null,!1;hs.hasHtmlExpanders=!0}try{return new hs.Expander(ti,tn,ts,ta),!1}catch(ti){return!0}},makeVideoId:function(){return"vidid"+Math.floor(Date.now()/1e3)},createVideoHtml:function(ti){var tn,ts;return ts=(tn=$(window).width()/2)/(16/9),'<video id="'+ti+'" class="video-js vjs-default-skin vjs-big-play-centered" controls preload="auto" width=" '+tn+'" height=" '+ts+'"></video>'},loadVideo:function(ti,tn){var ts={};ts.src=ti.videoUrl,"youtube"==ti.host&&(ts.techOrder=["youtube"],ts.sources=[{type:"video/youtube",src:ti.videoUrl}]),"vimeo"==ti.host&&(ts.techOrder=["vimeo"],ts.sources=[{type:"video/vimeo",src:ti.videoUrl}]),"local"==ti.host&&(ts.sources=[{src:ti.videoUrl}]),videojs($("#"+tn)[0],ts,function(){})},htmlExpand:function(ti,tn,ts){return hs.expand(ti,tn,ts,"html")},getSelfRendered:function(){return hs.createElement("div",{className:"highslide-html-content",innerHTML:hs.replaceLang(hs.skin.contentWrapper)})},getElementByClass:function(ti,tn,ts){for(var ta=ti.getElementsByTagName(tn),tl=0;tl<ta.length;tl++)if(new RegExp(ts).test(ta[tl].className))return ta[tl];return null},replaceLang:function(ti){ti=ti.replace(/\s/g," ");var tn,ts=/{hs\.lang\.([^}]+)\}/g,ta=ti.match(ts);if(ta)for(var tl=0;tl<ta.length;tl++)tn=ta[tl].replace(ts,"$1"),void 0!==hs.lang[tn]&&(ti=ti.replace(ta[tl],hs.lang[tn]));return ti},setClickEvents:function(){for(var ti=document.getElementsByTagName("a"),tn=0;tn<ti.length;tn++){var ts=hs.isUnobtrusiveAnchor(ti[tn]);ts&&!ti[tn].hsHasSetClick&&(!function(){var ta=ts;hs.fireEvent(hs,"onSetClickEvent",{element:ti[tn],type:ta})&&(ti[tn].onclick="image"==ts?function(){return hs.expand(this)}:function(){return hs.htmlExpand(this,{objectType:ta}
33)})}(),ti[tn].hsHasSetClick=!0)}hs.getAnchors()},isUnobtrusiveAnchor:function(ti){return"highslide"==ti.rel?"image":"highslide-ajax"==ti.rel?"ajax":"highslide-iframe"==ti.rel?"iframe":"highslide-swf"==ti.rel?"swf":void 0},getCacheBinding:function(ti){for(var tn=0;tn<hs.cacheBindings.length;tn++)if(hs.cacheBindings[tn][0]==ti){var ts=hs.cacheBindings[tn][1];return hs.cacheBindings[tn][1]=ts.cloneNode(1),ts}return null},preloadAjax:function(ti){for(var tn=hs.getAnchors(),ts=0;ts<tn.htmls.length;ts++){var ta=tn.htmls[ts];"ajax"==hs.getParam(ta,"objectType")&&hs.getParam(ta,"cacheAjax")&&hs.push(hs.preloadTheseAjax,ta)}hs.preloadAjaxElement(0)},preloadAjaxElement:function(ti){if(hs.preloadTheseAjax[ti]){var tn=hs.preloadTheseAjax[ti],ts=hs.getNode(hs.getParam(tn,"contentId"));ts||(ts=hs.getSelfRendered());var ta=new hs.Ajax(tn,ts,1);ta.onError=function(){},ta.onLoad=function(){hs.push(hs.cacheBindings,[tn,ts]),hs.preloadAjaxElement(ti+1)},ta.run()}},focusTopmost:function(){for(var ti,tn,ts=0,ta=-1,tl=hs.expanders,tc=0;tc<tl.length;tc++)(ti=tl[tc])&&(tn=ti.wrapper.style.zIndex)&&tn>ts&&(ts=tn,ta=tc);-1==ta?hs.focusKey=-1:tl[ta].focus()},getParam:function(ti,tn){ti.getParams=ti.onclick;var ts=ti.getParams?ti.getParams():null;return ti.getParams=null,ts&&void 0!==ts[tn]?ts[tn]:void 0!==hs[tn]?hs[tn]:null},getSrc:function(ti){return hs.getParam(ti,"src")||ti.href},getNode:function(ti){var tn=hs.$(ti),ts=hs.clones[ti];return tn||ts?ts?ts.cloneNode(!0):((ts=tn.cloneNode(!0)).id="",hs.clones[ti]=ts,tn):null},discardElement:function(ti){ti&&hs.garbageBin.appendChild(ti),hs.garbageBin.innerHTML=""},dim:function(ti){if(!hs.dimmer&&(ta=!0,hs.dimmer=hs.createElement("div",{className:"highslide-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 tn=document.body;function ts(){hs.setStyles(hs.dimmer,{width:tn.scrollWidth+"px",height:tn.scrollHeight+"px"})}ts(),hs.addEventListener(window,"resize",ts)}hs.dimmer.style.display="";var ta=""==hs.dimmer.owner;hs.dimmer.owner+="|"+ti.key,ta&&(hs.geckoMac&&hs.dimmingGeckoFix?hs.setStyles(hs.dimmer,{background:"url("+hs.graphicsDir+"geckodimmer.png)",opacity:1}):hs.animate(hs.dimmer,{opacity:ti.dimmingOpacity},hs.dimmingDuration))},undim:function(ti){hs.dimmer&&(void 0!==ti&&(hs.dimmer.owner=hs.dimmer.owner.replace("|"+ti,"")),void 0!==ti&&""!=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(ti,tn){var ts=tn||hs.getExpander();if(tn=ts,hs.upcoming)return!1;hs.last=ts,hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);try{hs.upcoming=ti,ti.onclick()}catch(ti){hs.last=hs.upcoming=null}try{ti&&"crossfade"==tn.transitions[1]||tn.close()}catch(ti){}return!1},previousOrNext:function(ti,tn){var ts=hs.getExpander(ti);return!!ts&&hs.transit(ts.getAdjacentAnchor(tn),ts)},previous:function(ti){return hs.previousOrNext(ti,-1)},next:function(ti){return hs.previousOrNext(ti,1)},keyHandler:function(ti){if(ti||(ti=window.event),ti.target||(ti.target=ti.srcElement),void 0!==ti.target.form||!hs.fireEvent(hs,"onKeyDown",ti))return!0;var tn=hs.getExpander(),ts=null;switch(ti.keyCode){case 70:return tn&&tn.doFullExpand(),!0;case 32:ts=2;break;case 34:case 39:case 40:ts=1;break;case 8:case 33:case 37:case 38:ts=-1;break;case 27:tn.close();case 13:ts=0}if(null!==ts){if(2!=ts&&hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler),!hs.enableKeyListener)return!0;if(ti.preventDefault?ti.preventDefault():ti.returnValue=!1,tn)return 0==ts?$(":focus").click():2==ts?tn.slideshow&&tn.slideshow.hitSpace():(tn.slideshow&&tn.slideshow.pause(),hs.previousOrNext(tn.key,ts)),!1}return!0},registerOverlay:function(ti){hs.push(hs.overlays,hs.extend(ti,{hsId:"hsId"+hs.idCounter++}))},addSlideshow:function(ti){var tn=ti.slideshowGroup;if("object"==typeof tn)for(var ts=0;ts<tn.length;ts++){var ta={};for(var tl in ti)ta[tl]=ti[tl];ta.slideshowGroup=tn[ts],hs.push(hs.slideshows,ta)}else hs.push(hs.slideshows,ti)},getWrapperKey:function(ti,tn){var ts,ta=/^highslide-wrapper-([0-9]+)$/;for(ts=ti;ts.parentNode;){if(void 0!==ts.hsKey)return ts.hsKey;if(ts.id&&ta.test(ts.id))return ts.id.replace(ta,"$1");ts=ts.parentNode}if(!tn)for(ts=ti;ts.parentNode;){if(ts.tagName&&hs.isHsAnchor(ts))for(var tl=0;
33tl<hs.expanders.length;tl++){var tc=hs.expanders[tl];if(tc&&tc.a==ts)return tl}ts=ts.parentNode}return null},getExpander:function(ti,tn){return void 0===ti?hs.expanders[hs.focusKey]||null:"number"==typeof ti?hs.expanders[ti]||null:("string"==typeof ti&&(ti=hs.$(ti)),hs.expanders[hs.getWrapperKey(ti,tn)]||null)},isHsAnchor:function(ti){return ti.onclick&&ti.onclick.toString().replace(/\s/g," ").match(/hs.(htmlE|e)xpand/)},reOrder:function(){for(var ti=0;ti<hs.expanders.length;ti++)hs.expanders[ti]&&hs.expanders[ti].isExpanded&&hs.focusTopmost()},fireEvent:function(ti,tn,ts){return!ti||!ti[tn]||!1!==ti[tn](ti,ts)},mouseClickHandler:function(ti){if(ti||(ti=window.event),ti.button>1)return!0;ti.target||(ti.target=ti.srcElement);for(var tn=ti.target;tn.parentNode&&!/highslide-(image|move|html|resize)/.test(tn.className);)tn=tn.parentNode;var ts=hs.getExpander(tn);if(ts&&(ts.isClosing||!ts.isExpanded))return!0;if(ts&&"mousedown"==ti.type){if(ti.target.form)return!0;var ta=tn.className.match(/highslide-(image|move|resize)/);ta?(hs.dragArgs={exp:ts,type:ta[1],left:ts.x.pos,width:ts.x.size,top:ts.y.pos,height:ts.y.size,clickX:ti.clientX,clickY:ti.clientY},hs.addEventListener(document,"mousemove",hs.dragHandler),ti.preventDefault&&ti.preventDefault(),/highslide-(image|html)-blur/.test(ts.content.className)&&(ts.focus(),hs.hasFocused=!0)):/highslide-html/.test(tn.className)&&hs.focusKey!=ts.key&&(ts.focus(),ts.doShowHide("hidden"))}else if("mouseup"==ti.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 tl=hs.dragArgs.hasDragged;tl||hs.hasFocused||/(move|resize)/.test(hs.dragArgs.type)?(tl||!tl&&hs.hasHtmlExpanders)&&hs.dragArgs.exp.doShowHide("hidden"):hs.fireEvent(ts,"onImageClick")&&ts.close(),hs.dragArgs.exp.releaseMask&&(hs.dragArgs.exp.releaseMask.style.display="none"),tl&&hs.fireEvent(hs.dragArgs.exp,"onDrop",hs.dragArgs),hs.hasFocused=!1,hs.dragArgs=null}else/highslide-image-blur/.test(tn.className)&&(tn.style.cursor=hs.styleRestoreCursor)}return!1},dragHandler:function(ti){if(!hs.dragArgs)return!0;ti||(ti=window.event);var tn=hs.dragArgs,ts=tn.exp;ts.iframe&&(ts.releaseMask||(ts.releaseMask=hs.createElement("div",null,{position:"absolute",width:ts.x.size+"px",height:ts.y.size+"px",left:ts.x.cb+"px",top:ts.y.cb+"px",zIndex:4,background:hs.ieLt9?"white":"none",opacity:.01},ts.wrapper,!0)),"none"==ts.releaseMask.style.display&&(ts.releaseMask.style.display="")),tn.dX=ti.clientX-tn.clickX,tn.dY=ti.clientY-tn.clickY;var ta=Math.sqrt(Math.pow(tn.dX,2)+Math.pow(tn.dY,2));if(tn.hasDragged||(tn.hasDragged="image"!=tn.type&&ta>0||ta>(hs.dragSensitivity||5)),tn.hasDragged&&ti.clientX>5&&ti.clientY>5){if(!hs.fireEvent(ts,"onDrag",tn))return!1;"resize"==tn.type?ts.resize(tn):(ts.moveTo(tn.left+tn.dX,tn.top+tn.dY),"image"==tn.type&&(ts.content.style.cursor="move"))}return!1},wrapperMouseHandler:function(ti){try{ti||(ti=window.event);var tn=/mouseover/i.test(ti.type);ti.target||(ti.target=ti.srcElement),ti.relatedTarget||(ti.relatedTarget=tn?ti.fromElement:ti.toElement);var ts=hs.getExpander(ti.target);if(!ts.isExpanded||!ts||!ti.relatedTarget||hs.getExpander(ti.relatedTarget,!0)==ts||hs.dragArgs)return;hs.fireEvent(ts,tn?"onMouseOver":"onMouseOut",ti);for(var ta=0;ta<ts.overlays.length;ta++)!function(){var ti=hs.$("hsId"+ts.overlays[ta]);ti&&ti.hideOnMouseOut&&(tn&&hs.setStyles(ti,{visibility:"visible",display:""}),hs.animate(ti,{opacity:tn?ti.opacity:0},ti.dur))}()}catch(ti){}},addEventListener:function(ti,tn,ts){ti==document&&"ready"==tn&&hs.push(hs.onReady,ts);try{ti.addEventListener(tn,ts,!1)}catch(ta){try{ti.detachEvent("on"+tn,ts),ti.attachEvent("on"+tn,ts)}catch(ta){ti["on"+tn]=ts}}},removeEventListener:function(ti,tn,ts){try{ti.removeEventListener(tn,ts,!1)}catch(ta){try{ti.detachEvent("on"+tn,ts)}catch(ts){ti["on"+tn]=null}}},preloadFullImage:function(ti){if(hs.continuePreloading&&hs.preloadTheseImages[ti]&&"undefined"!=hs.preloadTheseImages[ti]){var tn=document.createElement("img");tn.onload=function(){tn=null,hs.preloadFullImage(ti+1)},tn.src=hs.preloadTheseImages[ti]}},preloadImages:function(ti){ti&&"object"!=typeof ti&&(hs.numberOfImagesToPreload=ti);for(var tn=hs.getAnchors(),ts=0;ts<tn.images.length&&ts<hs.numberOfImagesToPreload;ts++)hs.push(hs.preloadTheseImages,hs.getSrc(tn.images[ts]));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 ti 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[ti]?hs.lang[ti]=hs[ti]:void 0===hs.lang[ti]&&void 0!==hs.langDefaults[ti]&&(hs.lang[ti]=hs.langDefaults[ti]);
33hs.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:"highslide-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(ti,tn,ts,ta){return ts*ti/ta+tn},Math.easeInQuad=function(ti,tn,ts,ta){return ts*(ti/=ta)*ti+tn},Math.easeOutQuad=function(ti,tn,ts,ta){return-ts*(ti/=ta)*(ti-2)+tn},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 ti=0;ti<hs.onReady.length;ti++)hs.onReady[ti]()}},updateAnchors:function(){for(var ti,tn,ts,ta=[],tl=[],tc=[],th={},tu=0;tu<hs.openerTagNames.length;tu++){tn=document.getElementsByTagName(hs.openerTagNames[tu]);for(var td=0;td<tn.length;td++)if(ti=tn[td],ts=hs.isHsAnchor(ti)){hs.push(ta,ti),"hs.expand"==ts[0]?hs.push(tl,ti):"hs.htmlExpand"==ts[0]&&hs.push(tc,ti);var tp=hs.getParam(ti,"slideshowGroup")||"none";th[tp]||(th[tp]=[]),hs.push(th[tp],ti)}}return hs.anchors={all:ta,groups:th,images:tl,htmls:tc},hs.anchors},getAnchors:function(){return hs.anchors||hs.updateAnchors()},close:function(ti){$("body").unbind("keydown");var tn=hs.getExpander(ti);return tn&&tn.close(),!1}};hs.fx=function(ti,tn,ts){this.options=tn,this.elem=ti,this.prop=ts,tn.orig||(tn.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(ti,tn,ts){this.startTime=new Date().getTime(),this.start=ti,this.end=tn,this.unit=ts,this.now=this.start,this.pos=this.state=0;var ta=this;function tl(ti){return ta.step(ti)}tl.elem=this.elem,tl()&&1==hs.timers.push(tl)&&(hs.timerId=setInterval(function(){for(var ti=hs.timers,tn=0;tn<ti.length;tn++)ti[tn]()||ti.splice(tn--,1);ti.length||clearInterval(hs.timerId)},13))},step:function(ti){var tn=new Date().getTime();if(ti||tn>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;var ts=!0;for(var ta in this.options.curAnim)!0!==this.options.curAnim[ta]&&(ts=!1);return ts&&this.options.complete&&this.options.complete.call(this.elem),!1}var tl=tn-this.startTime;return this.state=tl/this.options.duration,this.pos=this.options.easing(tl,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(ti){hs.setStyles(ti.elem,{opacity:ti.now})},_default:function(ti){try{ti.elem.style&&null!=ti.elem.style[ti.prop]?ti.elem.style[ti.prop]=ti.now+ti.unit:ti.elem[ti.prop]=ti.now}catch(ti){}}}}),hs.Outline=function(ti,tn){if(this.onLoad=tn,this.outlineType=ti,hs.uaVersion,this.hasAlphaImageLoader=hs.ie&&hs.uaVersion<7,!ti){tn&&tn();return}hs.init(),this.table=hs.createElement("table",{cellSpacing:0},{visibility:"hidden",position:"absolute",borderCollapse:"collapse",width:0},hs.container,!0);var ts,ta=hs.createElement("tbody",null,null,this.table,1);this.td=[];for(var tl=0;tl<=8;tl++){tl%3==0&&(ts=hs.createElement("tr",null,{height:"auto"},ta,!0)),this.td[tl]=hs.createElement("td",null,null,ts,!0);var tc=4!=tl?{lineHeight:0,fontSize:0}:{position:"relative"};hs.setStyles(this.td[tl],tc)}this.td[4].className=ti+" highslide-outline",this.preloadGraphic()},hs.Outline.prototype={preloadGraphic:function(){var ti=hs.graphicsDir+(hs.outlinesDir||"outlines/")+this.outlineType+".png",tn=hs.safari&&hs.uaVersion<525?hs.container:null;this.graphic=hs.createElement("img",null,{position:"absolute",top:"-9999px"},tn,!0);var ts=this;this.graphic.onload=function(){ts.onGraphicLoad()},this.graphic.src=ti},onGraphicLoad:function(){for(var ti=this.offset=this.graphic.width/4,tn=[[0,0],[0,-4],[-2,0],[0,-8],0,[-2,-8],[0,-2],[0,-6],[-2,-2]],ts={height:2*ti+"px",width:2*ti+"px"},ta=0;ta<=8;ta++)if(tn[ta]){if(this.hasAlphaImageLoader){var tl=1==ta||7==ta?"100%":this.graphic.width+"px",tc=hs.createElement("div",null,{width:"100%",height:"100%",position:"relative",overflow:"hidden"},this.td[ta],!0);hs.createElement("div",null,{filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale, src='"+this.graphic.src+"')",position:"absolute",width:tl,height:this.graphic.height+"px",left:tn[ta][0]*ti+"px",top:tn[ta][1]*ti+"px"},tc,!0)}else hs.setStyles(this.td[ta],{background:"url("+this.graphic.src+") "+tn[ta][0]*ti+"px "+tn[ta][1]*ti+"px"});window.opera&&(3==ta||5==ta)&&hs.createElement("div",null,ts,this.td[ta],!0),hs.setStyles(this.td[ta],ts
33)}this.graphic=null,hs.pendingOutlines[this.outlineType]&&hs.pendingOutlines[this.outlineType].destroy(),hs.pendingOutlines[this.outlineType]=this,this.onLoad&&this.onLoad()},setPosition:function(ti,tn,ts,ta,tl){var tc=this.exp,tn=(tc.wrapper.style,tn||0),ti=ti||{x:tc.x.pos+tn,y:tc.y.pos+tn,w:tc.x.get("wsize")-2*tn,h:tc.y.get("wsize")-2*tn};ts&&(this.table.style.visibility=ti.h>=4*this.offset?"visible":"hidden"),hs.setStyles(this.table,{left:ti.x-this.offset+"px",top:ti.y-this.offset+"px",width:ti.w+2*this.offset+"px"}),ti.w-=2*this.offset,ti.h-=2*this.offset,hs.setStyles(this.td[4],{width:ti.w>=0?ti.w+"px":0,height:ti.h>=0?ti.h+"px":0}),this.hasAlphaImageLoader&&(this.td[3].style.height=this.td[5].style.height=this.td[4].style.height)},destroy:function(ti){ti?this.table.style.visibility="hidden":hs.discardElement(this.table)}},hs.Dimension=function(ti,tn){this.exp=ti,this.dim=tn,this.ucwh="x"==tn?"Width":"Height",this.wh=this.ucwh.toLowerCase(),this.uclt="x"==tn?"Left":"Top",this.lt=this.uclt.toLowerCase(),this.ucrb="x"==tn?"Right":"Bottom",this.rb=this.ucrb.toLowerCase(),this.p1=this.p2=0},hs.Dimension.prototype={get:function(ti){switch(ti){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 ti=this.exp;this.justify="auto","center"==ti.align?this.justify="center":new RegExp(this.lt).test(ti.anchor)?this.justify=null:new RegExp(this.rb).test(ti.anchor)&&(this.justify="max"),this.pos=this.tpos-this.cb+this.tb,this.maxHeight&&"x"==this.dim&&(ti.maxWidth=Math.min(ti.maxWidth||this.full,ti.maxHeight*this.full/ti.y.full)),this.size=Math.min(this.full,ti["max"+this.ucwh]||this.full),this.minSize=ti.allowSizeReduction?Math.min(ti["min"+this.ucwh],this.full):this.full,ti.isImage&&ti.useBox&&(this.size=ti[this.wh],this.imgSize=this.full),"x"==this.dim&&hs.padToMinWidth&&(this.minSize=ti.minWidth),this.target=ti["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(ti){var tn=this.exp;if(tn.isImage&&(tn.useBox||hs.padToMinWidth)?(this.imgSize=ti,this.size=Math.max(this.size,this.imgSize),tn.content.style[this.lt]=this.get("imgPad")+"px"):this.size=ti,tn.content.style[this.wh]=ti+"px",tn.wrapper.style[this.wh]=this.get("wsize")+"px",tn.outline&&tn.outline.setPosition(),tn.releaseMask&&(tn.releaseMask.style[this.wh]=ti+"px"),"y"==this.dim&&tn.iDoc&&"auto"!=tn.body.style.height)try{tn.iDoc.body.style.overflow="auto"}catch(ti){}if(tn.isHtml){var ts=tn.scrollerDiv;void 0===this.sizeDiff&&(this.sizeDiff=tn.innerContent["offset"+this.ucwh]-ts["offset"+this.ucwh]),ts.style[this.wh]=this.size-this.sizeDiff+"px","x"==this.dim&&(tn.mediumContent.style.width="auto"),tn.body&&(tn.body.style[this.wh]="auto")}"x"==this.dim&&tn.overlayBox&&tn.sizeOverlayBox(!0),"x"==this.dim&&tn.slideshow&&tn.isImage&&(ti==this.full?tn.slideshow.disable("full-expand"):tn.slideshow.enable("full-expand"))},setPos:function(ti){this.pos=ti,this.exp.wrapper.style[this.lt]=ti+"px",this.exp.outline&&this.exp.outline.setPosition()}},hs.Expander=function(ti,tn,ts,ta){if(document.readyState&&hs.ie&&!hs.isReady){hs.addEventListener(document,"ready",function(){new hs.Expander(ti,tn,ts,ta)});return}this.a=ti,this.custom=ts,this.contentType=ta||"image",this.isHtml="html"==ta,this.isImage=!this.isHtml,hs.prms=tn,hs.continuePreloading=!1,this.overlays=[],this.last=hs.last,hs.last=null,hs.init();for(var tl=this.key=hs.expanders.length,tc=0;tc<hs.overrides.length;tc++){var th=hs.overrides[tc];this[th]=tn&&void 0!==tn[th]?tn[th]:hs[th]}this.src||(this.src=ti.href);var tu=tn&&tn.thumbnailId?hs.$(tn.thumbnailId):ti;if(tu=this.thumb=tu.getElementsByTagName("img")[0]||tu,this.thumbsUserSetId=tu.id||ti.id,!hs.fireEvent(this,"onInit"))return!0;for(var tc=0;tc<hs.expanders.length;
33tc++)if(hs.expanders[tc]&&hs.expanders[tc].a==ti&&!(this.last&&"crossfade"==this.transitions[1]))return hs.expanders[tc].focus(),!1;if(!hs.allowSimultaneousLoading)for(var tc=0;tc<hs.expanders.length;tc++)hs.expanders[tc]&&hs.expanders[tc].thumb!=tu&&!hs.expanders[tc].onLoadStarted&&hs.expanders[tc].cancelLoading();if(hs.expanders[tl]=this,hs.allowMultipleInstances||hs.upcoming||(hs.expanders[tl-1]&&hs.expanders[tl-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(ti){hs.debug?alert("Line "+ti.lineNumber+": "+ti.message):window.location.href=this.src},connectOutline:function(){var ti=this.outline=hs.pendingOutlines[this.outlineType];ti.exp=this,ti.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 ti=this;if(this.loading.onclick=function(){ti.cancelLoading()},hs.fireEvent(this,"onShowLoading")){var ti=this,tn=this.x.get("loadingPos")+"px",ts=this.y.get("loadingPos")+"px";if(!ta&&this.last&&"crossfade"==this.transitions[1])var ta=this.last;ta&&(tn=ta.x.get("loadingPosXfade")+"px",ts=ta.y.get("loadingPosXfade")+"px",this.loading.style.zIndex=hs.zIndexCounter++),setTimeout(function(){ti.loading&&hs.setStyles(ti.loading,{left:tn,top:ts,zIndex:hs.zIndexCounter++})},100)}}},imageCreate:function(){var ti=this,tn=document.createElement("img");this.content=tn,tn.onload=function(){hs.expanders[ti.key]&&ti.contentLoaded()},hs.blockRightClick&&(tn.oncontextmenu=function(){return!1}),tn.className="highslide-image",hs.setStyles(tn,{visibility:"hidden",display:"block",position:"absolute",maxWidth:"9999px",zIndex:3}),tn.title=hs.lang.restoreTitle,hs.safari&&hs.uaVersion<525&&hs.container.appendChild(tn),hs.ie&&hs.flushImgSize&&(tn.src=null),tn.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 ti=hs.getElementByClass(this.content,"div","highslide-body");ti&&ti.appendChild(this.maincontent),this.maincontent.style.display="block"}hs.fireEvent(this,"onAfterGetContent");var tn=this.innerContent=this.content;/(swf|iframe)/.test(this.objectType)&&this.setObjContainerSize(tn),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 ts=hs.makeVideoId(),ta=hs.createVideoHtml(ts);if(tn.innerHTML=ta,this.mediumContent=hs.createElement("div",null,null,this.content,1),this.mediumContent.appendChild(tn),hs.loadVideo(hs.params,ts),hs.setStyles(tn,{position:"relative",display:"block",direction:hs.lang.cssDirection||""}),this.width=$(window).width()/2,this.height=this.width/(16/9),this.width&&(tn.style.width=this.width+"px"),this.height&&hs.setStyles(tn,{height:this.height+"px",overflow:"hidden"}),tn.offsetWidth<this.minWidth&&(tn.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 tl=this,tc=new hs.Ajax(this.a,tn);tc.src=this.src,tc.onLoad=function(){hs.expanders[tl.key]&&tl.contentLoaded()},tc.onError=function(){location.href=tl.src},tc.run()}}},contentLoaded:function(){try{if(!this.content||(this.content.onload=null,this.onLoadStarted))return;this.onLoadStarted=!0;var ti=this.x,tn=this.y;if(this.loading&&(hs.setStyles(this.loading,{top:"-9999px"}),this.loading=null,hs.fireEvent(this,"onHideLoading")),this.isImage?(ti.full=this.content.width,tn.full=this.content.height,hs.setStyles(this.content,{width:ti.t+"px",height:tn.t+"px"}),this.wrapper.appendChild(this.content),hs.container.appendChild(this.wrapper)):this.htmlGetSize&&this.htmlGetSize(),ti.calcBorders(),tn.calcBorders(),hs.setStyles(this.wrapper,{left:ti.tpos+ti.tb-ti.cb+"px",top:tn.tpos+ti.tb-tn.cb+"px"}),this.isHtml){var ts={marginTop:"0",marginRight:"auto",marginBottom:"0",marginLeft:"auto"};$(this.wrapper).find("> div > div, .video-js, vjs-default-skin").css(ts)}this.initSlideshow(),this.getOverlays();var ta=ti.full/tn.full;if(ti.calcExpanded(),this.justify(ti),tn.calcExpanded(),this.justify(tn),this.isHtml&&this.htmlSizeOperations(),this.overlayBox&&this.sizeOverlayBox(0,1),this.allowSizeReduction){this.isImage?this.correctRatio(ta):this.fitOverlayBox();var tl=this.slideshow;if(tl&&this.last&&tl.controls&&tl.fixedControls){var tc,th=tl.overlayOptions.position||"";for(var tu in hs.oPos)for(var td=0;td<5;td++)tc=this[tu],th.match(hs.oPos[tu][td])&&(tc.pos=this.last[tu].pos+(this.last[tu].p1-tc.p1)+(this.last[tu].size-tc.size)*[0,0,.5,1,1][td],"fit"==tl.fixedControls&&(tc.pos+tc.size+tc.p1+tc.p2>tc.scroll+tc.clientSize-tc.marginMax&&(tc.pos=tc.scroll+tc.clientSize-tc.size-tc.marginMin-tc.marginMax-tc.p1-tc.p2),tc.pos<tc.scroll+tc.marginMin&&(tc.pos=tc.scroll+tc.marginMin)))}this.isImage&&this.x.full>(this.x.imgSize||this.x.size)&&(this.createFullExpand(),1==this.overlays.length&&this.sizeOverlayBox())}this.show()}catch(ti){this.error(ti)}},setObjContainerSize:function(ti,tn){var ts=hs.getElementByClass(ti,"DIV","highslide-body");/(iframe|swf)/.test(this.objectType)&&(this.objectWidth&&(ts.style.width=this.objectWidth+"px"),this.objectHeight&&(ts.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 ti=hs.clearing.cloneNode(1);this.body.appendChild(ti),this.newWidth=this.innerContent.offsetWidth,this.objectWidth||(this.objectWidth=ti.offsetWidth);var tn=this.innerContent.offsetHeight-this.body.offsetHeight,ts=this.objectHeight||hs.page.height-tn-hs.marginTop-hs.marginBottom,ta="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:"+ts+'px" '+ta+' 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 tl=this.swfOptions;tl.params||(tl.params={}),void 0===tl.params.wmode&&(tl.params.wmode="transparent"),swfobject&&swfobject.embedSWF(this.src,this.body.id,this.objectWidth,this.objectHeight,tl.version||"7",tl.expressInstallSwfurl,tl.flashvars,tl.params,tl.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 ti;try{var tn=this.iDoc=this.iframe.contentDocument||this.iframe.contentWindow.document,ts=tn.createElement("div");ts.style.clear="both",tn.body.appendChild(ts),ti=ts.offsetTop,hs.ie&&(ti+=parseInt(tn.body.currentStyle.marginTop)+parseInt(tn.body.currentStyle.marginBottom)-1)}catch(tn){ti=300}return ti},correctIframeSize:function(){var ti=this.innerContent.offsetWidth-this.ruler.offsetWidth;hs.discardElement(this.ruler),ti<0&&(ti=0);var tn=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(ti){}hs.setStyles(this.iframe,{width:Math.abs(this.x.size-ti)+"px",height:Math.abs(this.y.size-tn)+"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 ti=hs.getElementByClass(this.innerContent,"DIV","highslide-body");if(ti&&!/(iframe|swf)/.test(this.objectType)){var tn=ti;ti=hs.createElement(tn.nodeName,null,{overflow:"hidden"},null,!0),tn.parentNode.insertBefore(ti,tn),ti.appendChild(hs.clearing),ti.appendChild(tn);var ts=this.innerContent.offsetWidth-ti.offsetWidth,ta=this.innerContent.offsetHeight-ti.offsetHeight;ti.removeChild(hs.clearing);var tl=hs.safari||"KDE"==navigator.vendor?1:0;hs.setStyles(ti,{width:this.x.size-ts-tl+"px",height:this.y.size-ta+"px",overflow:"auto",position:"relative"}),tl&&tn.offsetHeight>ti.offsetHeight&&(ti.style.width=parseInt(ti.style.width)+tl+"px"),this.scrollingContent=ti,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(ti){for(var tn=ti.coords.split(","),ts=0;ts<tn.length;ts++)tn[ts]=parseInt(tn[ts]);if("circle"==ti.shape.toLowerCase())this.x.tpos+=tn[0]-tn[2],this.y.tpos+=tn[1]-tn[2],this.x.t=this.y.t=2*tn[2];else{for(var ta,tl,tc=ta=tn[0],th=tl=tn[1],ts=0;ts<tn.length;ts++)ts%2==0?(tc=Math.min(tc,tn[ts]),ta=Math.max(ta,tn[ts])):(th=Math.min(th,tn[ts]),tl=Math.max(tl,tn[ts]));this.x.tpos+=tc,this.x.t=ta-tc,this.y.tpos+=th,this.y.t=tl-th}},justify:function(ti,tn){var ts,ta=ti.target,tl=ti==this.x?"x":"y";if(ta&&ta.match(/ /)&&(ta=(ts=ta.split(" "))[0]),ta&&hs.$(ta))ti.pos=hs.getPosition(hs.$(ta))[tl],ts&&ts[1]&&ts[1].match(/^[-]?[0-9]+px$/)&&(ti.pos+=parseInt(ts[1])),ti.size<ti.minSize&&(ti.size=ti.minSize);else if("auto"==ti.justify||"center"==ti.justify){var tc=!1,th=ti.exp.allowSizeReduction;"center"==ti.justify?ti.pos=Math.round(ti.scroll+(ti.clientSize+ti.marginMin-ti.marginMax-ti.get("wsize"))/2):ti.pos=Math.round(ti.pos-(ti.get("wsize")-ti.t)/2),ti.pos<ti.scroll+ti.marginMin&&(ti.pos=ti.scroll+ti.marginMin,tc=!0),!tn&&ti.size<ti.minSize&&(ti.size=ti.minSize,th=!1),ti.pos+ti.get("wsize")>ti.scroll+ti.clientSize-ti.marginMax&&(!tn&&tc&&th?ti.size=Math.min(ti.size,ti.get("y"==tl?"fitsize":"maxsize")):ti.get("wsize")<ti.get("fitsize")?ti.pos=ti.scroll+ti.clientSize-ti.marginMax-ti.get("wsize"):(ti.pos=ti.scroll+ti.marginMin,!tn&&th&&(ti.size=ti.get("y"==tl?"fitsize":"maxsize")))),!tn&&ti.size<ti.minSize&&(ti.size=ti.minSize,th=!1)}else"max"==ti.justify&&(ti.pos=Math.floor(ti.pos-ti.size+ti.t));if(ti.pos<ti.marginMin){var tu=ti.pos;ti.pos=ti.marginMin,th&&!tn&&(ti.size=ti.size-(ti.pos-tu))}},correctRatio:function(ti){var tn=this.x,ts=this.y,ta=!1,tl=Math.min(tn.full,tn.size),tc=Math.min(ts.full,ts.size),th=this.useBox||hs.padToMinWidth;tl/tc>ti?((tl=tc*ti)<tn.minSize&&(tc=(tl=tn.minSize)/ti),ta=!0):tl/tc<ti&&(tc=tl/ti,ta=!0),hs.padToMinWidth&&tn.full<tn.minSize?(tn.imgSize=tn.full,ts.size=ts.imgSize=ts.full):this.useBox?(tn.imgSize=tl,ts.imgSize=tc):(tn.size=tl,ts.size=tc),ta=this.fitOverlayBox(this.useBox?null:ti,ta),th&&ts.size<ts.imgSize&&(ts.imgSize=ts.size,tn.imgSize=ts.size*ti),(ta||th)&&(tn.pos=tn.tpos-tn.cb+tn.tb,tn.minSize=tn.size,this.justify(tn,!0),ts.pos=ts.tpos-ts.cb+ts.tb,ts.minSize=ts.size,this.justify(ts,!0),this.overlayBox&&this.sizeOverlayBox())},fitOverlayBox:function(ti,tn){var ts=this.x,ta=this.y;if(this.overlayBox&&(this.isImage||this.allowHeightReduction))for(;ta.size>this.minHeight&&ts.size>this.minWidth&&ta.get("wsize")>ta.get("fitsize");)ta.size-=10,ti&&(ts.size=ta.size*ti),this.sizeOverlayBox(0,1),tn=!0;return tn},reflow:function(){if(this.scrollerDiv){var ti=/iframe/i.test(this.scrollerDiv.tagName)?this.getIframePageHeight()+1+"px":"auto";this.body&&(this.body.style.height=ti),this.scrollerDiv.style.height=ti,this.y.setSize(this.innerContent.offsetHeight)}},show:function(){var ti=this.x,tn=this.y;this.doShowHide("hidden"),hs.fireEvent(this,"onBeforeExpand"),this.slideshow&&this.slideshow.thumbstrip&&this.slideshow.thumbstrip.selectThumb(),this.changeSize(1,{wrapper:{width:ti.get("wsize"),height:tn.get("wsize"),left:ti.pos,top:tn.pos},content:{left:ti.p1+ti.get("imgPad"),top:tn.p1+tn.get("imgPad"),width:ti.imgSize||ti.size,height:tn.imgSize||tn.size}},hs.expandDuration)},changeSize:function(ti,tn,ts){var ta=this.transitions,tl=ti?this.last?this.last.a:null:hs.upcoming,tc=ta[1]&&tl&&hs.getParam(tl,"transitions")[1]==ta[1]?ta[1]:ta[0];if(this[tc]&&"expand"!=tc){this[tc](ti,tn);return}this.outline&&!this.outlineWhileAnimating&&(ti?this.outline.setPosition():this.outline.destroy(this.isHtml&&this.preserveContent)),ti||this.destroyOverlays();var th=this,tu=th.x,td=th.y,tp=this.easing;
33ti||(tp=this.easingClose||tp);var tf=ti?function(){th.outline&&(th.outline.table.style.visibility="visible"),setTimeout(function(){th.afterExpand()},50)}:function(){th.afterClose()};ti&&hs.setStyles(this.wrapper,{width:tu.t+"px",height:td.t+"px"}),ti&&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:ti?0:1}),hs.extend(tn.wrapper,{opacity:ti})),hs.animate(this.wrapper,tn.wrapper,{duration:ts,easing:tp,step:function(tn,ts){if(th.outline&&th.outlineWhileAnimating&&"top"==ts.prop){var ta=ti?ts.pos:1-ts.pos,tl={w:tu.t+(tu.get("wsize")-tu.t)*ta,h:td.t+(td.get("wsize")-td.t)*ta,x:tu.tpos+(tu.pos-tu.tpos)*ta,y:td.tpos+(td.pos-td.tpos)*ta};th.outline.setPosition(tl,0,1)}th.isHtml&&("left"==ts.prop&&(th.mediumContent.style.left=tu.pos-tn+"px"),"top"==ts.prop&&(th.mediumContent.style.top=td.pos-tn+"px"))}}),hs.animate(this.content,tn.content,ts,tp,tf),ti&&(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(ti,tn){this.outlineWhileAnimating=!1;var ts=this,ta=ti?hs.expandDuration:0;if(ti&&(hs.animate(this.wrapper,tn.wrapper,0),hs.setStyles(this.wrapper,{opacity:0,visibility:"visible"}),hs.animate(this.content,tn.content,0),this.content.style.visibility="visible",hs.animate(this.wrapper,{opacity:1},ta,null,function(){ts.afterExpand()})),this.outline){this.outline.table.style.zIndex=this.wrapper.style.zIndex;for(var tl=ti||-1,tc=this.outline.offset,th=ti?3:tc,tu=ti?tc:3,td=th;tl*td<=tl*tu;td+=tl,ta+=25)!function(){var tn=ti?tu-td:th-td;setTimeout(function(){ts.outline.setPosition(0,tn,1)},ta)}()}ti||setTimeout(function(){ts.outline&&ts.outline.destroy(ts.preserveContent),ts.destroyOverlays(),hs.animate(ts.wrapper,{opacity:0},hs.restoreDuration,null,function(){ts.afterClose()})},ta)},crossfade:function(ti,tn,ts){if(ti){var ta=this,tl=this.last,tc=this.x,th=this.y,tu=tl.x,td=tl.y,tp=this.wrapper,tf=this.content,tm=this.overlayBox;hs.removeEventListener(document,"mousemove",hs.dragHandler),$(".close.close-modal").hide(),hs.setStyles(tf,{width:(tc.imgSize||tc.size)+"px",height:(th.imgSize||th.size)+"px"}),tm&&(tm.style.overflow="visible"),this.outline=tl.outline,this.outline&&(this.outline.exp=ta),tl.outline=null;var tg=hs.createElement("div",{className:"highslide-"+this.contentType},{position:"absolute",zIndex:4,overflow:"hidden",display:"none"}),tv={oldImg:tl,newImg:this};for(var ty in tv)this[ty]=tv[ty].content.cloneNode(!tv[ty].iframe),hs.setStyles(this[ty],{position:"absolute",border:0,visibility:"visible"}),tg.appendChild(this[ty]);tp.appendChild(tg),this.isHtml&&hs.setStyles(this.mediumContent,{left:0,top:0}),tm&&(tm.className="",tp.appendChild(tm)),tg.style.display="",tl.content.style.display="none",hs.safari&&hs.uaVersion<525&&(this.wrapper.style.visibility="visible"),hs.animate(tp,{width:tc.size},{duration:hs.transitionDuration,step:function(ti,tn){var ts,tv=tn.pos,ty=1-tv,t_={},tb=["pos","size","p1","p2"];for(var tw in tb)t_["x"+(ts=tb[tw])]=Math.round(ty*tu[ts]+tv*tc[ts]),t_["y"+ts]=Math.round(ty*td[ts]+tv*th[ts]),t_.ximgSize=Math.round(ty*(tu.imgSize||tu.size)+tv*(tc.imgSize||tc.size)),t_.ximgPad=Math.round(ty*tu.get("imgPad")+tv*tc.get("imgPad")),t_.yimgSize=Math.round(ty*(td.imgSize||td.size)+tv*(th.imgSize||th.size)),t_.yimgPad=Math.round(ty*td.get("imgPad")+tv*th.get("imgPad"));ta.outline&&ta.outline.setPosition({x:t_.xpos,y:t_.ypos,w:t_.xsize+t_.xp1+t_.xp2+2*tc.cb,h:t_.ysize+t_.yp1+t_.yp2+2*th.cb}),tl.wrapper.style.clip="rect("+(t_.ypos-td.pos)+"px, "+(t_.xsize+t_.xp1+t_.xp2+t_.xpos+2*tu.cb-tu.pos)+"px, "+(t_.ysize+t_.yp1+t_.yp2+t_.ypos+2*td.cb-td.pos)+"px, "+(t_.xpos-tu.pos)+"px)",hs.setStyles(tf,{top:t_.yp1+th.get("imgPad")+"px",left:t_.xp1+tc.get("imgPad")+"px",marginTop:th.pos-t_.ypos+"px",marginLeft:tc.pos-t_.xpos+"px"}),hs.setStyles(tp,{top:t_.ypos+"px",left:t_.xpos+"px",width:t_.xp1+t_.xp2+t_.xsize+2*tc.cb+"px",height:t_.yp1+t_.yp2+t_.ysize+2*th.cb+"px"}),hs.setStyles(tg,{width:(t_.ximgSize||t_.xsize)+"px",height:(t_.yimgSize||t_.ysize)+"px",left:t_.xp1+t_.ximgPad+"px",top:t_.yp1+t_.yimgPad+"px",visibility:"visible"}),hs.setStyles(ta.oldImg,{top:td.pos-t_.ypos+td.p1-t_.yp1+td.get("imgPad")-t_.yimgPad+"px",left:tu.pos-t_.xpos+tu.p1-t_.xp1+tu.get("imgPad")-t_.ximgPad+"px"}),hs.setStyles(ta.newImg,{opacity:tv,top:th.pos-t_.ypos+th.p1-t_.yp1+th.get("imgPad")-t_.yimgPad+"px",left:tc.pos-t_.xpos+tc.p1-t_.xp1+tc.get("imgPad")-t_.ximgPad+"px"}),tm&&hs.setStyles(tm,{width:t_.xsize+"px",height:t_.ysize+"px",left:t_.xp1+tc.cb+"px",to
33p:t_.yp1+th.cb+"px"})},complete:function(){tp.style.visibility=tf.style.visibility="visible",tf.style.display="block",hs.discardElement(tg),ta.afterExpand(),tl.isHtml&&tl.htmlPrepareClose(),tl.afterClose(),ta.last=null}})}},reuseOverlay:function(ti,tn){if(!this.last)return!1;for(var ts=0;ts<this.last.overlays.length;ts++){var ta=hs.$("hsId"+this.last.overlays[ts]);if(ta&&ta.hsId==ti.hsId)return this.genOverlayBox(),ta.reuse=this.key,hs.push(this.overlays,this.last.overlays[ts]),!0}return!1},afterExpand:function(){if(this.isExpanded=!0,this.focus(),this.isHtml&&"after"==this.objectLoadTime&&this.writeExtendedContent(),this.iframe){try{var ti=this,tn=this.iframe.contentDocument||this.iframe.contentWindow.document;hs.addEventListener(tn,"mousedown",function(){hs.focusKey!=ti.key&&ti.focus()})}catch(ti){}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 ts=hs.page,ta=hs.mouse.x+ts.scrollLeft,tl=hs.mouse.y+ts.scrollTop;this.mouseIsOver=this.x.pos<ta&&ta<this.x.pos+this.x.get("wsize")&&this.y.pos<tl&&tl<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(ti){this.tabbable(ti,hs.tabbables)}).bind(this)),$(".gallery-item--spacer").on("keyup",function(ti){if(13!==ti.keyCode&&32!==ti.keyCode)return!1;ti.preventDefault(),$(this).find("a").trigger("click")})},prepareNextOutline:function(){var ti=this.key,tn=this.outlineType;new hs.Outline(tn,function(){try{hs.expanders[ti].preloadNext()}catch(ti){}})},preloadNext:function(){var ti=this.getAdjacentAnchor(1);ti&&ti.onclick.toString().match(/hs\.expand/)&&hs.createElement("img",{src:hs.getSrc(ti)})},getAdjacentAnchor:function(ti){var tn=this.getAnchorIndex(),ts=hs.anchors.groups[this.slideshowGroup||"none"];if(ts&&!ts[tn+ti]&&this.slideshow&&this.slideshow.repeat){if(1==ti)return ts[0];if(-1==ti)return ts[ts.length-1]}return ts&&ts[tn+ti]||null},getAnchorIndex:function(){var ti=hs.getAnchors().groups[this.slideshowGroup||"none"];if(ti){for(var tn=0;tn<ti.length;tn++)if(ti[tn].getAttribute("id")==this.a.getAttribute("id"))return tn}return null},getNumber:function(){if(this[this.numberPosition]){var ti=hs.anchors.groups[this.slideshowGroup||"none"];if(ti){var tn=hs.lang.number.replace("%1",this.getAnchorIndex()+1).replace("%2",ti.length);this[this.numberPosition].innerHTML='<div class="highslide-number">'+tn+"</div>"+this[this.numberPosition].innerHTML}}},initSlideshow:function(){if(this.last)this.slideshow=this.last.slideshow;else for(var ti=0;ti<hs.slideshows.length;ti++){var tn=hs.slideshows[ti],ts=tn.slideshowGroup;(null==ts||ts===this.slideshowGroup)&&(this.slideshow=new hs.Slideshow(this.key,tn))}var tn=this.slideshow;if(tn){var ta=tn.expKey=this.key;tn.checkFirstAndLast(),tn.disable("full-expand"),tn.controls&&this.createOverlay(hs.extend(tn.overlayOptions||{},{overlayId:tn.controls,hsId:"controls",zIndex:5})),tn.thumbstrip&&tn.thumbstrip.add(this),!this.last&&this.autoplay&&tn.play(!0),tn.autoplay&&(tn.autoplay=setTimeout(function(){hs.next(ta)},tn.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(ti){hs.hideSelects&&this.showHideElements("SELECT",ti),hs.hideIframes&&this.showHideElements("IFRAME",ti),hs.geckoMac&&this.showHideElements("*",ti)},showHideElements:function(ti,tn){for(var ts=document.getElementsByTagName(ti),ta="*"==ti?"overflow":"visibility",tl=0;tl<ts.length;tl++)if("visibility"==ta||"auto"==document.defaultView.getComputedStyle(ts[tl],"").getPropertyValue("overflow")||null!=ts[tl].getAttribute("hidden-by")){var tc=ts[tl].getAttribute("hidden-by");if("visible"==tn&&tc)tc=tc.replace("["+this.key+"]",""),ts[tl].setAttribute("hidden-by",tc),tc||(ts[tl].style[ta]=ts[tl].origProp);else if("hidden"==tn){var th=hs.getPosition(ts[tl]);if(th.w=ts[tl].offsetWidth,th.h=ts[tl].offsetHeight,!this.dimmingOpacity)var tu=th.x+th.w<this.x.get("opos")||th.x>this.x.get("opos")+this.x.get("osize"),td=th.y+th.h<this.y.get("opos")||th.y>this.y.get("opos")+this.y.get("osize");var tp=hs.getWrapperKey(ts[tl]);tu||td||tp==this.key?(tc=="["+this.key+"]"||hs.focusKey==tp)&&tp!=this.key?(ts[tl].setAttribute("hidden-by",""),ts[tl].style[ta]=ts[tl].origProp||""):tc&&tc.indexOf("["+this.key+"]")>-1&&ts[tl].setAttribute("hidden-by",tc.replace("["+this.key+"]","")):tc?-1==tc.indexOf("["+this.key+"]")&&ts[tl].setAttribute("hidden-by",tc+"["+this.key+"]"):(ts[tl].setAttribute("hidden-by","["+this.key+"]"),ts[tl].origProp=ts[tl].style[ta],ts[tl].style[ta]="hidden")}}},focus:function(){this.wrapper.style.zIndex=hs.zIndexCounter+=2;for(var ti=0;ti<hs.expanders.length;ti++)if(hs.expanders[ti]&&ti==hs.focusKey){var tn=hs.expanders[ti];tn.content.className+=" highslide-"+tn.contentType+"-blur",tn.isImage&&(tn.content.style.cursor=hs.ieLt7?"hand":"pointer",tn.content.title=hs.lang.focusTitle),hs.fireEvent(tn,"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(ti,tn){this.x.setPos(ti),this.y.setPos(tn)},resize:function(ti){var tn,ts,ta=ti.width/ti.height;tn=Math.max(ti.width+ti.dX,Math.min(this.minWidth,this.x.full)),this.isImage&&12>Math.abs(tn-this.x.full)&&(tn=this.x.full),(ts=this.isHtml?ti.height+ti.dY:tn/ta)<Math.min(this.minHeight,this.y.full)&&(ts=Math.min(this.minHeight,this.y.full),this.isImage&&(tn=ts*ta)),this.resizeTo(tn,ts)},resizeTo:function(ti,tn){this.y.setSize(tn),this.x.setSize(ti),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(ti){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(ti){}"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(ti){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(ti){}var ti=hs.zIndexCounter++,tn={display:"",zIndex:ti};hs.setStyles(this.wrapper,tn),this.isClosing=!1;var ts=this.outline||0;ts&&(this.outlineWhileAnimating||(tn.visibility="hidden"),hs.setStyles(ts.table,tn)),this.slideshow&&this.initSlideshow(),this.show()}catch(ti){}},createOverlay:function(ti){var tn=ti.overlayId,ts="viewport"==ti.relativeTo&&!/panel$/.test(ti.position);if("string"==typeof tn&&(tn=hs.getNode(tn)),ti.html&&(tn=hs.createElement("div",{innerHTML:ti.html})),tn&&"string"!=typeof tn&&hs.fireEvent(this,"onCreateOverlay",{overlay:tn})&&(tn.style.display="block",ti.hsId=ti.hsId||ti.overlayId,!("crossfade"==this.transitions[1]&&this.reuseOverlay(ti,tn)))){this.genOverlayBox();var ta=ti.width&&/^[0-9]+(px|%)$/.test(ti.width)?ti.width:"auto";/^(left|right)panel$/.test(ti.position)&&!/^[0-9]+px$/.test(ti.width)&&(ta="200px");var tl=hs.createElement("div",{id:"hsId"+hs.idCounter++,hsId:ti.hsId},{position:"absolute",visibility:"hidden",width:ta,direction:hs.lang.cssDirection||"",opacity:0},ts?hs.viewport:this.overlayBox,!0);ts&&(tl.hsKey=this.key),tl.appendChild(tn),hs.extend(tl,{opacity:1,offsetX:0,offsetY:0,dur:0===ti.fade||!1===ti.fade||2==ti.fade&&hs.ie?0:250}),hs.extend(tl,ti),this.gotOverlays&&(this.positionOverlay(tl),(!tl.hideOnMouseOut||this.mouseIsOver)&&hs.animate(tl,{opacity:tl.opacity},tl.dur)),hs.push(this.overlays,hs.idCounter-1)}},positionOverlay:function(ti){var tn=ti.position||"middle center",ts="viewport"==ti.relativeTo,ta=ti.offsetX,tl=ti.offsetY;ts?(hs.viewport.style.display="block",ti.hsKey=this.key,ti.offsetWidth>ti.parentNode.offsetWidth&&(ti.style.width="100%")):ti.parentNode!=this.overlayBox&&this.overlayBox.appendChild(ti),/left$/.test(tn)&&(ti.style.left=ta+"px"),/center$/.test(tn)&&hs.setStyles(ti,{left:"50%",marginLeft:ta-Math.round(ti.offsetWidth/2)+"px"}),/right$/.test(tn)&&(ti.style.right=-ta+"px"),/^leftpanel$/.test(tn)?(hs.setStyles(ti,{right:"100%",marginRight:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"}),this.x.p1=ti.offsetWidth):/^rightpanel$/.test(tn)&&(hs.setStyles(ti,{left:"100%",marginLeft:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"}),this.x.p2=ti.offsetWidth);var tc=ti.parentNode.offsetHeight;ti.style.height="auto",ts&&ti.offsetHeight>tc&&(ti.style.height=hs.ieLt7?tc+"px":"100%"),/^top/.test(tn)&&(ti.style.top=tl+"px"),/^middle/.test(tn)&&hs.setStyles(ti,{top:"50%",marginTop:tl-Math.round(ti.offsetHeight/2)+"px"}),/^bottom/.test(tn)&&(ti.style.bottom=-tl+"px"),/^above$/.test(tn)?(hs.setStyles(ti,{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=ti.offsetHeight):/^below$/.test(tn)&&(hs.setStyles(ti,{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=ti.offsetHeight,ti.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 ti=0;ti<hs.overlays.length;ti++){var tn=hs.overlays[ti],ts=tn.thumbnailId,ta=tn.slideshowGroup;(!ts&&!ta||ts&&ts==this.thumbsUserSetId||ta&&ta===this.slideshowGroup)&&(this.isImage||this.isHtml&&tn.useOnHtml)&&this.createOverlay(tn)}for(var tl=[],ti=0;ti<this.overlays.length;ti++){var tn=hs.$("hsId"+this.overlays[ti]);/panel$/.test(tn.position)?this.positionOverlay(tn):hs.push(tl,tn)}for(var ti=0;ti<tl.length;ti++)this.positionOverlay(tl[ti]);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(ti,tn){var ts=this.overlayBox,ta=this.x,tl=this.y;if(hs.setStyles(ts,{width:ta.size+"px",height:tl.size+"px"}),ti||tn)for(var tc=0;tc<this.overlays.length;tc++){var th=hs.$("hsId"+this.overlays[tc]),tu=hs.ieLt7||"BackCompat"==document.compatMode;th&&/^(above|below)$/.test(th.position)&&(tu&&(th.style.width=ts.offsetWidth+2*ta.cb+ta.p1+ta.p2+"px"),tl["above"==th.position?"p1":"p2"]=th.offsetHeight),th&&tu&&/^(left|right)panel$/.test(th.position)&&(th.style.height=ts.offsetHeight+2*tl.cb+"px")}ti&&(hs.setStyles(this.content,{top:tl.p1+"px"}),hs.setStyles(ts,{top:tl.p1+tl.cb+"px"}))},showOverlays:function(){var ti=this.overlayBox;ti.className="",hs.setStyles(ti,{top:this.y.p1+this.y.cb+"px",left:this.x.p1+this.x.cb+"px",overflow:"visible"}),hs.safari&&(ti.style.visibility="visible"),this.wrapper.appendChild(ti);for(var tn=0;tn<this.overlays.length;tn++){var ts=hs.$("hsId"+this.overlays[tn]);ts.style.zIndex=ts.zIndex||4,(!ts.hideOnMouseOut||this.mouseIsOver)&&(ts.style.visibility="visible",hs.setStyles(ts,{visibility:"visible",display:""}),hs.animate(ts,{opacity:ts.opacity},ts.dur))}},destroyOverlays:function(){if(this.overlays.length){if(this.slideshow){var ti=this.slideshow.controls;ti&&hs.getExpander(ti)==this&&ti.parentNode.removeChild(ti)}for(var tn=0;tn<this.overlays.length;tn++){var ts=hs.$("hsId"+this.overlays[tn]);ts&&ts.parentNode==hs.viewport&&hs.getExpander(ts)==this&&hs.discardElement(ts)}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 ti=this.x.size,tn=this.y.size;this.resizeTo(this.x.full,this.y.full);var ts=this.x.pos-(this.x.size-ti)/2;ts<hs.marginLeft&&(ts=hs.marginLeft);var ta=this.y.pos-(this.y.size-tn)/2;ta<hs.marginTop&&(ta=hs.marginTop),this.moveTo(ts,ta),this.doShowHide("hidden")}catch(ti){this.error(ti)}},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(ti,tn){9==(ti.keyCode||ti.which)&&(ti.preventDefault(),tn[hs.nextActive].focus(),hs.nextActive++,hs.nextActive==tn.length&&(hs.nextActive=0))},addTabbable:function(ti){if(ti)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(ti,tn,ts){this.a=ti,this.content=tn,this.pre=ts},hs.Ajax.prototype={run:function(){if(this.src||(this.src=hs.getSrc(this.a)),this.src.match("#")){var ti,tn=this.src.split("#");this.src=tn[0],this.id=tn[1]}if(hs.cachedGets[this.src]){this.cachedGet=hs.cachedGets[this.src],this.id?this.getElementContent():this.loadHTML();return}try{ti=new XMLHttpRequest}catch(tn){try{ti=new ActiveXObject("Msxml2.XMLHTTP")}catch(tn){try{ti=new ActiveXObject("Microsoft.XMLHTTP")}catch(ti){this.onError()}}}var ts=this;ti.onreadystatechange=function(){4==ts.xhr.readyState&&(ts.id?ts.getElementContent():ts.loadHTML())};var ta=this.src;this.xhr=ti,hs.forceAjaxReload&&(ta=ta.replace(/$/,(/\?/.test(ta)?"&":"?")+"dummy="+new Date().getTime())),ti.open("GET",ta,!0),ti.setRequestHeader("X-Requested-With","XMLHttpRequest"),ti.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),ti.send(null)},getElementContent:function(){hs.init();var ti=window.opera||hs.ie6SSL?{src:"about:blank"}:null;this.iframe=hs.createElement("iframe",ti,{position:"absolute",top:"-9999px"},hs.container),this.loadHTML()},loadHTML:function(){var ti,tn=this.cachedGet||this.xhr.responseText;if(this.pre&&(hs.cachedGets[this.src]=tn),!hs.ie||hs.uaVersion>=5.5){if(tn=tn.replace(RegExp("<link[^>]*>","gi"),"").replace(RegExp("<script[^>]*>.*?</script>","gi"),""),this.iframe){var ts=this.iframe.contentDocument;if(!ts&&this.iframe.contentWindow&&(ts=this.iframe.contentWindow.document),!ts){var ta=this;setTimeout(function(){ta.loadHTML()},25);return}ts.open(),ts.write(tn),ts.close();try{tn=ts.getElementById(this.id).innerHTML}catch(ti){try{tn=this.iframe.document.getElementById(this.id).innerHTML}catch(ti){}}hs.discardElement(this.iframe)}else(ti=/(<body[^>]*>|<\/body>)/ig).test(tn)&&(tn=tn.split(ti)[hs.ieLt9?1:2])}for(var tl in hs.getElementByClass(this.content,"DIV","highslide-body").innerHTML=tn,this.onLoad(),this)this[tl]=null}},hs.Slideshow=function(ti,tn){for(var ts in!1!==hs.dynamicallyUpdateAnchors&&hs.updateAnchors(),this.expKey=ti,tn)this[ts]=tn[ts];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 ti=["play","pause","previous","next","move","full-expand","close"];this.btn={};for(var tn=0;tn<ti.length;tn++)this.btn[ti[tn]]=hs.getElementByClass(this.controls,"li","highslide-"+ti[tn]),this.enable(ti[tn]);this.btn.pause.style.display="none"},checkFirstAndLast:function(){if(!this.repeat&&this.controls){var ti=hs.expanders[this.expKey],tn=ti.getAnchorIndex(),ts=/disabled$/;0==tn?this.disable("previous"):ts.test(this.btn.previous.getElementsByTagName("a")[0].className)&&this.enable("previous"),tn+1==hs.anchors.groups[ti.slideshowGroup||"none"].length?(this.disable("next"),this.disable("play")):ts.test(this.btn.next.getElementsByTagName("a")[0].className)&&(this.enable("next"),this.enable("play"))}},enable:function(ti){if(this.btn){var tn=this,ts=this.btn[ti].getElementsByTagName("a")[0],ta=/disabled$/;ts.onclick=function(){return tn[ti](),!1},ta.test(ts.className)&&(ts.className=ts.className.replace(ta,""))}},disable:function(ti){if(this.btn){var tn=this.btn[ti].getElementsByTagName("a")[0];tn.onclick=function(){return!1},/disabled$/.test(tn.className)||(tn.className+=" disabled")}},hitSpace:function(){this.autoplay?this.pause():this.play()},play:function(ti){this.btn&&(this.btn.play.style.display="none",this.btn.pause.style.display=""),this.autoplay=!0,ti||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(ti){function tn(ti){hs.extend(th||{},{overlayId:tm,hsId:"thumbstrip",className:"highslide-thumbstrip-"+tu+"-overlay "+(th.className||"")}),hs.ieLt7&&(th.fade=0),ti.createOverlay(th),hs.setStyles(tm.parentNode,{overflow:"hidden"})}function ts(ti){ta(void 0,Math.round(ti*tm[tf?"offsetWidth":"offsetHeight"]*.7))}function ta(tn,ts){if(void 0===tn){for(var ta=0;ta<tc.length;ta++)if(tc[ta]==hs.expanders[ti.expKey].a){tn=ta;break}}if(void 0!==tn){var tl=tm.getElementsByTagName("a"),th=tl[tn],tu=th.parentNode,td=tf?"Left":"Top",tp=tf?"Width":"Height",tg="offset"+td,tx="offset"+tp,tT=tv.parentNode.parentNode[tx],tk=tT-tw[tx],tC=parseInt(tw.style[tf?"left"
33:"top"])||0,tj=tC;if(void 0!==ts)tk>0&&(tk=0),(tj=tC-ts)>0&&(tj=0),tj<tk&&(tj=tk);else{for(var ta=0;ta<tl.length;ta++)tl[ta].className="";th.className="highslide-active-anchor";var tS=tn>0?tl[tn-1].parentNode[tg]:tu[tg],tE=tu[tg]+tu[tx]+(tl[tn+1]?tl[tn+1].parentNode[tx]:0);tE>tT-tC?tj=tT-tE:tS<-tC&&(tj=-tS)}var tP=tu[tg]+(tu[tx]-tb[tx])/2+tj;hs.animate(tw,tf?{left:tj}:{top:tj},null,"easeOutQuad"),hs.animate(tb,tf?{left:tP}:{top:tP},null,"easeOutQuad"),ty.style.display=tj<0?"block":"none",t_.style.display=tj>tk?"block":"none"}}for(var tl,tc=hs.anchors.groups[hs.expanders[ti.expKey].slideshowGroup||"none"],th=ti.thumbstrip,tu=th.mode||"horizontal",td="float"==tu,tp=td?["div","ul","li","span"]:["table","tbody","tr","td"],tf="horizontal"==tu,tm=hs.createElement("div",{className:"highslide-thumbstrip highslide-thumbstrip-"+tu,innerHTML:'<div class="highslide-thumbstrip-inner"><'+tp[0]+"><"+tp[1]+"></"+tp[1]+"></"+tp[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),tg=tm.childNodes,tv=tg[0],ty=tg[1],t_=tg[2],tb=tg[3],tw=tv.firstChild,tx=tm.getElementsByTagName(tp[1])[0],tT=0;tT<tc.length;tT++)0!=tT&&tf||(tl=hs.createElement(tp[2],null,null,tx)),function(){var ti=tc[tT],tn=hs.createElement(tp[3],null,null,tl);hs.createElement("a",{href:ti.href,title:ti.title,onclick:function(){return!/highslide-active-anchor/.test(this.className)&&(hs.getExpander(this).focus(),hs.transit(ti))},innerHTML:hs.stripItemFormatter?hs.stripItemFormatter(ti):ti.innerHTML.replace("style","data-style")},null,tn)}();return td||(ty.onclick=function(){ts(-1)},t_.onclick=function(){ts(1)},hs.addEventListener(tx,void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll",function(ti){var tn=0;(ti=ti||window.event).wheelDelta?(tn=ti.wheelDelta/120,hs.opera&&(tn=-tn)):ti.detail&&(tn=-ti.detail/3),tn&&ts(-(.2*tn)),ti.preventDefault&&ti.preventDefault(),ti.returnValue=!1})),{add:tn,selectThumb:ta}},hs.langDefaults=hs.lang;var HsExpander=hs.Expander;hs.ie&&window==window.top&&function(){try{document.documentElement.doScroll("left")}catch(ti){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 ti=hs.createElement("style",{type:"text/css"},null,document.getElementsByTagName("HEAD")[0]),tn="BackCompat"==document.compatMode;function ts(ts,ta){if(hs.ie&&(hs.uaVersion<9||tn)){var tl=document.styleSheets[document.styleSheets.length-1];"object"==typeof tl.addRule&&tl.addRule(ts,ta)}else ti.appendChild(document.createTextNode(ts+" {"+ta+"}"))}function ta(ti){return"expression( ( ( ignoreMe = document.documentElement."+ti+" ? document.documentElement."+ti+" : document.body."+ti+" ) ) + 'px' );"}hs.expandCursor&&ts(".highslide img","cursor: url("+hs.graphicsDir+hs.expandCursor+"), pointer !important;"),ts(".highslide-viewport-size",hs.ie&&(hs.uaVersion<7||tn)?"position: absolute; left:"+ta("scrollLeft")+"top:"+ta("scrollTop")+"width:"+ta("clientWidth")+"height:"+ta("clientHeight"):"position: fixed; width: 100%; height: 100%; left: 0; top: 0")}}),hs.addEventListener(window,"resize",function(){if(hs.getPageSize(),hs.viewport)for(var ti=0;ti<hs.viewport.childNodes.length;ti++){var tn=hs.viewport.childNodes[ti],ts=hs.getExpander(tn);ts.positionOverlay(tn),"thumbstrip"==tn.hsId&&ts.slideshow.thumbstrip.selectThumb()}}),hs.addEventListener(document,"mousemove",function(ti){hs.mouse={x:ti.clientX,y:ti.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 ti=0;ti<=menuChildrenCount;ti++){moreButton.length&&moreButton.remove();var tn=currentMenu.children("li:last").remove();currentMenu.append(moreButton);var ts=calcTotalMenuItemsWidth();moreButton.children("ul").prepend($(tn)),allMenus.push([currentMenu.html(),Math.round(ts)])}menuHolder.css("width","")}function calcTotalMenuItemsWidth(){var ti=0;return currentMenu.children().each(function(){ti+=$(this)[0].getBoundingClientRect().width}),ti}function addMoreButton(){for(var ti=0;ti<=menuChildrenCount;ti++){if(currentMenuWidth<=allMenus[0][1]&¤tMenuWidth>=allMenus[ti][1]){currentMenu.empty(),currentMenu.append(allMenus[ti][0]);return}if(currentMenuWidth>allMenus[0][1]){currentMenu.empty(),currentMenu.append(origMenuContent);return}}}function equalizeMapHoursHeight(){var ti=$(".js-mapComponent"),tn=0;window.innerWidth>1140?($(".hours__wrapper").each(function(){tn+=$(this).outerHeight(!0)}),tn+=recalculateMapHours(),ti.height(tn),ti.on("map.resize",function(){tn=0,$(".hours__wrapper").each(function(){tn+=$(this).outerHeight(!0)}),tn+=recalculateMapHours(),$(this).height(tn)})):(ti.height(420),ti.on("map.resize",function(){$(this).height(420)}))}function recalculateMapHours(){var ti=0,tn=$(".map .component__title-caption-wrap"),ts=$(".hours .component__title-caption-wrap"),ta=tn.children(".map__title"),tl=tn.children(".map__caption"),tc=ts.children(".hours__title"),th=ts.children(".hours__caption"),tu=tn.length,td=ts.length;return window.innerWidth>1140?(tu&&td&&(ta.outerHeight()>tc.outerHeight()?tc.outerHeight(ta.outerHeight()):ta.outerHeight(tc.outerHeight()),tl.outerHeight()>th.outerHeight()?th.outerHeight(tl.outerHeight()):tl.outerHeight(th.outerHeight()),tn.outerHeight()>ts.outerHeight()?ts.outerHeight(tn.outerHeight()):tn.outerHeight(ts.outerHeight())),tu||(ti+=ts.outerHeight(!0)),td||(ti-=tn.outerHeight(!0))):(ta.css("height",""),tc.css("height",""),tl.css("height",""),th.css("height",""),tn.css("height",""),ts.css("height","")),ti}function accordionMenu(){var ti=$(".navigation__list--sub .navigation__item.has-child > a");ti.append("<span></span>"),ti.children("span").click(function(ti){ti.stopPropagation(),ti.preventDefault(),$(this).parent().parent().children('[class^="sublevel"]').children("ul").toggle()})}function setTabs(){$(".wrap__cta__location-tab").find("a").attr("href",""),$(".wrap__cta__featured-articles-tab").find("a").attr("href",""),$(".wrap__cta__testimonials-tab").find("a").attr("href","")}function manageTabs(){$(".tabs-nav").find(".tablinks a").each(function(){$(this).click(function(ti){var tn=$(this).closest(".tablinks").attr("data-tab");localStorage.content=tn,ti.preventDefault(),toggleTabs(tn),window.innerWidth<1140&&$("html").animate({scrollTop:$(".tabs-nav").children(".tablinks[data-tab="+tn+"]").offset().top})})})}function toggleTabs(ti){var tn=$(".tabs-nav").children(".tablinks[data-tab="+ti+"]"),ts=$(".tabs-nav").children(".tab-wrapper[data-tab="+ti+"]");$(".tabs-nav").children(".tablinks").removeClass("active"),$(tn).addClass("active"),$(".tabs-nav").children(".tab-wrapper").addClass("hide"),$(ts).removeClass("hide")}function setFeaturedBlocksHeight(){var ti=0,tn=$(".featuredblocks__list").find(".featuredblock__container");tn.each(function(){$(this).css("height","auto"),$(this).height()>=ti&&(ti=$(this).height())}),tn.each(function(){$(this).height(ti)})}function resetFeaturedBlocksHeight(){$(".featuredblocks__list").find(".featuredblock__container").each(function(){$(this).css("height","auto")})}function setPagersArrows(ti){var tn=0,ts=$(ti).find(".bx-controls").outerWidth(!0),ta=$(ti).find(".bx-pager").outerWidth(!0),tl=$(ti).find(".wrap_pause-play").outerWidth(!0);null===ts&&(ts=0),null===ta&&(ta=0),null===tl&&(tl=0);var tc=30;".slider"===ti&&(tc=50);var th=(tn=Math.ceil((ts-ta-tl)/2-tc))+"px";$(ti).find(".bx-prev").css("left",th),$(ti).find(".bx-next").css("right",th)}
33function hideStaffTitle(){var ti=$(".staff--single");ti.closest(".wrap--inner").children(".page__title").hide(),ti.closest(".wrap__staff--inner").children(".wrap__editable").hide(),ti.css("padding-top","30px")}function stickyNav(){var ti=$(window).scrollTop();ti>window.stickyNavTop&&!1===window.navNotSticky&&(window.navNotSticky=!0,$(".js-sticky-nav").addClass("sticky"),$(".js-sticky-nav").wrap('<div class="sticky-wrap"></div>'),$(".sticky-wrap").height($(".js-sticky-nav").height())),ti<=window.stickyNavTop&&!0===window.navNotSticky&&(window.navNotSticky=!1,$(".js-sticky-nav").removeClass("sticky"),$(".js-sticky-nav").unwrap())}function disableLinks(ti){$(ti).each(function(){("#"===$(this).attr("href")||"javascript.void(0)"===$(this).attr("href"))&&$(this).click(function(ti){ti.preventDefault()})})}!function(ti){"use strict";var tn=function(tn,ts){var ta=this;this.$el=ti(tn),this.options=ts,this.init(),ti(window).resize(function(){ta.contentPosition(),null!==hs.getExpander()&&hs.getExpander().reflow()})};tn.prototype.init=function(){var tn=this;function ts(){setTimeout(function(){var tn=ti(".highslide-thumbstrip-inner .highslide-active-anchor"),ts=ti(".highslide-marker");if(tn.length&&ts.length){var ta=tn.parent().position().left+tn.parent().outerWidth()/2-ts.outerWidth()/2;ts.css("left",ta+"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(){ts()},this.slideshowGroup="gallery-"+Math.random().toString(36).slice(2,11),this.$el.find("a.highslide").each(function(){let ts=ti(this),ta=ts.attr("onclick")?.includes("hs.htmlExpand");if(ts.attr("data-slideshow-group",tn.slideshowGroup),ta){let ti=ts.attr("onclick"),ta=ti.replace(/\{\s*/,`{ slideshowGroup: '${tn.slideshowGroup}', `);ts.attr("onclick",ta)}else ts.attr("onclick",`return hs.expand(this, { align: 'center', slideshowGroup: '${tn.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"}})},tn.prototype.contentPosition=function(){"rightText"==this.options.layout&&"desktop"==this.getDevice()?(hs.captionOverlay.position="rightpanel",hs.captionOverlay.width="220px"):hs.captionOverlay.position="below"},tn.DEFAULTS={},tn.prototype.getDevice=function(){var tn=ti(window).width();return tn<768?"mobile":tn<1025?"tablet":"desktop"};var ts=ti.fn.highSlide;ti.fn.highSlide=function(ts){var ta=Array.prototype.slice.call(arguments,1),tl=void 0;return this.each(function(){var tc=ti(this),th=ti.extend({},tn.DEFAULTS,tc.data(),"object"==typeof ts&&ts),tu=new tn(this,th);if("string"==typeof ts&&(tl=tu[ts].apply(tu,ta)),void 0!==tl)return!1}),tl||this},ti.fn.highSlide.Constructor=tn,ti.fn.highSlide.noConflict=function(){return ti.fn.highSlide=ts,this},ti(document).on("ready",function(){ti("[data-control=highslide]").each(function(){ti(this).highSlide()})})}(window.jQuery),function(ti){"use strict";var tn=function(ti,tn){this.$el=ti,this.$gridContainer=this.$el.find(".grid-container"),this.$sliderContainer=this.$el.find("#gallery-bx-slider"),this.options=tn,this.prevDevice=null,this.$items=this.$el.find(".gallery-grid--item").clone(),this.processDeviceColumns(),this.attachEvents()};tn.prototype.attachEvents=function(){var tn=this;ti(window).resize(function(){tn.processDeviceColumns()})},tn.prototype.processDeviceColumns=function(){"grid_2"==this.options.layoutType?this.doGrid():"grid_1"==this.options.layoutType?this.doMasonry():"slider_1"==this.options.layoutType&&this.doSlideshow()},tn.prototype.doMasonry=function(){var tn=this.getDevice();if(this.prevDevice!=tn){this.prevDevice=tn;var ts=this.options[tn+"Columns"],ta=this.$el.find(".gallery-grid--item");ta.each(function(){ti(this).removeClass(function(ti,tn){return(tn.match(/\bgallery-grid--columns\S+/g)||[]).join(" ")})}),ta.each(function(){ti(this).addClass("gallery-grid--columns-"+ts)}),ta.find("[data-setup-run]").each(function(){videojs(this,ti(this).data("setupRun"),function(){var ti=this;ti.options()})}
33),this.$el.find('[data-control="masonry"]').masonryFunction(),this.$gridContainer.length?this.$gridContainer.trigger("html_restructured"):this.$el.trigger("html_restructured")}},tn.prototype.doGrid=function(){var tn=this.getDevice();if(this.prevDevice==tn){"none"!=this.options.ratio&&this.$el.imgScale();return}this.prevDevice=tn;var ts=this.options[tn+"Columns"];this.resetGridHTML(),this.$items.each(function(){ti(this).removeClass(function(ti,tn){return(tn.match(/\bgallery-grid--columns\S+/g)||[]).join(" ")})}),this.$items.each(function(){ti(this).addClass("gallery-grid--columns-"+ts)});for(var ta=Math.ceil(this.$items.length/ts),tl=1;tl<=ta;tl++){var tc=ti('<div class="gallery-row"></div>');this.$gridContainer.append(tc);for(var th=(tl-1)*ts;th<tl*ts;th++)if(void 0!==this.$items[th]){var tu=ti(this.$items[th]);if(0==tu.find(".highslide-caption").length){var td=tu.find("a.highslide");if(td.data("hasCaption")){var tp=ti("#caption-"+td.attr("id").split("-")[1]).html();void 0!=tp&&(tp=(tp=tp.replace("display: none","")).replace("highslide-caption-helper","highslide-caption"),td.after(tp))}}tc.append(ti(this.$items[th]).clone())}}"none"!=this.options.ratio&&this.$el.imgScale(),this.$gridContainer.trigger("html_restructured")},tn.prototype.doSlideshow=function(){var tn=this.getDevice();if(this.prevDevice==tn){"none"!=this.options.ratio&&this.$el.imgScale();return}this.prevDevice=tn;var ts=this.options[tn+"Columns"];void 0!=this.Slider&&(ti(this.$el.find("#gallery-bx-slider > li")).each(function(){ti(this).hasClass("bx-clone")&&ti(this).remove()}),this.Slider.destSlider()),this.resetSlideshowHTML(),this.$items.each(function(){ti(this).removeClass(function(ti,tn){return(tn.match(/\bgallery-grid--columns\S+/g)||[]).join(" ")})}),this.$items.each(function(){ti(this).addClass("gallery-grid--columns-"+ts)});for(var ta=Math.ceil(this.$items.length/ts),tl=1;tl<=ta;tl++){var tc=ti('<li class="items-container"></li>'),th=ti('<div class="gallery-items-wrap"></div>');this.$sliderContainer.append(tc),tc.append(th);for(var tu=(tl-1)*ts;tu<tl*ts;tu++)if(void 0!==this.$items[tu]){var td=ti(this.$items[tu]);if(0==td.find(".highslide-caption").length){var tp=td.find("a.highslide");if(tp.data("hasCaption")){var tf=ti("#caption-"+tp.attr("id").split("-")[1]).html();void 0!=tf&&(tf=(tf=tf.replace("display: none","")).replace("highslide-caption-helper","highslide-caption"),tp.after(tf))}}th.append(ti(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")},tn.prototype.resetGridHTML=function(){var ti=this;ti.$gridContainer.html("")},tn.prototype.resetSlideshowHTML=function(){var ti=this;ti.$sliderContainer.html("")},tn.prototype.getDevice=function(){var tn=ti(window).width();return tn<752?"mobile":tn<1025?"tablet":"desktop"};var ts=ti.fn.DevicePreview;ti.fn.devicePreview=function(ts){var ta;return arguments,this.each(function(){var tl=ti(this),tc=ti.extend({},tl.data(),"object"==typeof ts&&ts),th="";if(tl.data("DevicePreview",th=new tn(tl,tc)),void 0!==ta)return!1}),ta||this},ti.fn.devicePreview.Constructor=tn,ti.fn.devicePreview.noConflict=function(){return ti.fn.devicePreview=ts,this},ti(window).on("load",function(){var tn=ti('[data-ctrl="device-preview"]');window.gallerySliderArr=[],tn.length&&tn.each(function(){ti(this).devicePreview()})})}(window.jQuery),$(document).ready(function(){var ti=$(".editable__container");ti.length&&ti.each(function(){var ti=$(this),tn=ti.find(".contentExpandWrap"),ts=ti.find("#readMoreLink");if(ts.length){function ta(ti,tn){$(ti).each(function(){var ti=$(tn,{html:$(this).html()});$.each(this.attributes,function(){ti.attr(this.name,this.value)}),$(this).replaceWith(ti)})}"SPAN"==ts[0].nodeName&&(ts.attr("href","#editableAnimateShowLess"),ta(ts,"<a></a>")),tn.add(ts).removeClass("expand"),tn.hide(),ts.text("Show More"),ti.on("click","#readMoreLink",function(ts){ts.preventDefault();var ta=$(this),tl=$("body .redactor-link-tooltip .redactor-link-tooltip-action:first-child");tl.length&&tl.parent().css("visibility","hidden"),"Show More"===ta.text()?(ti.removeAttr("id"),ta.text("Show Less")):(ti.attr("id","editableAnimateShowLess"),ta.text("Show More")),tn.add(ta).toggleClass("expand")})}})}),(ti=>{"use strict";class tn{constructor(ti){this.$el=ti,this.init()}init(){this.bindToOffsetToAnchors()}bindToOffsetToAnchors(){this.$el.on("click",'a[href^="#"]',tn=>{let ts=tn.target;if(!ts)return;let ta=decodeURI(ts.hash).slice(1);if(!ta)return;let tl=document.getElementById(ta);
33tl&&this.animateToAnchor(ti(tl))})}animateToAnchor(tn,ts){ts??=this.getStickySectionsHeight(),ti("html, body").animate({scrollTop:tn.offset().top-ts},"slow")}getStickySectionsHeight(){return PLEStickyState?.getStickySectionsHeight()??0}static dataAttribute="linkToSection"}ti(()=>{for(let ts of document.querySelectorAll(".editable__container")){let ta=ti(ts);ta.data(tn.dataAttribute,new tn(ta))}})})(window.jQuery),function(ti){"use strict";function tn(tn){tn.each(function(){ti(this).find(".expander").each(function(){ti(this).click(function(){"true"==ti(this).attr("aria-expanded")?ti(this).attr("aria-expanded","false"):ti(this).attr("aria-expanded","true"),ti(this).closest(".featuredblock__wrap").find("ul").slideToggle()})})})}ti(document).ready(function(){ti(".fbF_ShowMoreLess").click(function(){ti(this).fadeOut(0).toggleClass("showMore").fadeIn(800),ti(this).parent().find(".featuredblock.row").toggleClass("showMore")}),ti(".featuredblock__description.nonPle p").addClass("featuredblock__description")}),ti(window).load(function(){tn(ti(".featuredblocks-flyup-a")),tn(ti(".featuredblocks-flyup-b")),tn(ti(".featuredblocks-flyup-c"))})}(window.jQuery),function(ti){"use strict";var tn=function(tn,ts){var ta=this;this.$element=ti(tn),this.$ul=this.$element,this.$videos=ti(".video-js-slider",tn),this.$videoOverlays=ti(".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",()=>{ta.hadInteraction=!0,ta.firstPlayerRef&&ta.firstPlayerRef.paused()&&(ta.$element.stopAuto(),ta.firstPlayerRef.muted(!0),ta.firstPlayerRef.play(),ta.firstPlayerRef=null)}),this.groupSlidesByDevice(),this.options=this.parseTrueFalseOptions(ts),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),ta.attachEvents(),ta.runSlider()};tn.prototype.runSlider=function(){var tn,ts,ta=this,tl=ta.getDevice();if(""!=ta.lastDevice){if(tl==ta.lastDevice)return;if(JSON.stringify(ta[tl+"Items"])==JSON.stringify(ta[ta.lastDevice+"Items"])){ta.lastDevice=tl;return}}ta.lastDevice=tl,ta.destroySlider(),tn=tl+"Items",ta.options.count=ta[tn].length,0!=ta.options.count&&(ta[tn].forEach(function(ti){ta.$ul.append(ti)}),1==ta.options.count&&(ta.options.infiniteLoop=!1),ts=ta.generateBxSliderData(),ti.extend(ts,ta.options),ta.$bxSlider=ta.$ul.bxSlider(ts))},tn.prototype.generateBxSliderData=function(){var tn=this;return{onSlideAfter:function(ti,ts,ta){if(tn.players.forEach(function(ti){ti.paused()||(-1==tn.tempArrVidsPause.indexOf(ti.id_)&&tn.tempArrVidsPause.push(ti.id_),ti.pause())}),ti.hasClass("slider__video_type")){var tl=ti.find("[data-item-id]").data("itemId"),tc=tn.findPlayerByItemId(tl);tc||(tc=tn.returnPlayer(ti.find(".video-js"))),tn.options.autoplayvideo&&1>tc.currentTime()&&(tn.$element.stopAuto(),tn.hadInteraction?(tc.muted(!0),tc.play()):tn.firstPlayerRef=tc),tn.muted&&tc.muted(!0)}tn.options.stopSlideshowAfterOneLoop&&tn.options.count-1==ta&&tn.$element.stopAuto()},onSliderLoad:function(ts){tn.$element.css("visibility","visible"),tn.$wrapper=tn.$element.closest(".bx-wrapper"),""==tn.options.easing&&(tn.options.easing=null),tn.options.controlsHover&&(ti(".bx-controls-direction",tn.$wrapper).hide(),tn.$wrapper.hover(function(){ti(".bx-controls-direction",ti(this)).fadeIn(300)},function(){ti(".bx-controls-direction",ti(this)).fadeOut(300)})),tn.options.autoHoverModified&&tn.$wrapper.hover(function(){tn.options.auto&&tn.$element.stopAuto()},function(){tn.options.auto&&!tn.isVideoPlaying()&&(tn.$element.stopAuto(),tn.$element.startAuto())}),tn.change&&(tn.options.auto=!0),null!=tn.options.easing&&(tn.options.useCSS=!1),tn.auto&&tn.makePauseSlideshowButton(),ta=tn.options.count>1&&"fade"!=tn.options.mode?1:0;var ta,tl=ti("#slider").find(".bx-viewport").find("ul").children().eq(ta);if(tl.hasClass("slider__video_type")){var tc=tn.returnPlayer(tl.find(".video-js"));tn.options.autoplayvideo&&(tn.$element.stopAuto(),tn.hadInteraction?(tc.muted(!0),tc.play()):tn.firstPlayerRef
33=tc),tn.muted&&tc.muted(!0)}tn.initializeClones(),tn.initializeOverlays(),tn.$element.closest(".bx-wrapper").find(".bx-controls").wrapAll("<div class='wrap__bx-controls' />"),tn.$element.closest(".bx-wrapper").find(".wrap_on-off, .wrap_pause-play, .bx-pager ").wrapAll("<div class='bx-controls-buttons' />")}}},tn.prototype.destroySlider=function(){var ti=this;ti.$bxSlider&&ti.$bxSlider.destroySlider(),ti.$ul.html("")},tn.prototype.attachEvents=function(){var tn,ts,ta=this;ti("#slider").on("click",".pause-slideshow",function(ts,tl){ti(this).hide(),ta.$element.stopAuto(),ta.options.auto=!1,ti("#slider .play-slideshow").fadeIn("slow",function(){void 0!==tl&&ti(this).focus()}),(tn=ta.isVideoPlaying())&&tn.pause()}),ti("#slider").on("click",".play-slideshow",function(tn,ts){ti(this).hide(),ta.$element.startAuto(),ta.options.auto=!0,ti("#slider .pause-slideshow").fadeIn("slow",function(){void 0!==ts&&ti(this).focus()})}),ti("body").keypress(function(tn){13==tn.which&&(ti("#slider").find(".play-slideshow").is(":focus")&&ti("#slider").find(".play-slideshow").trigger("click",{kb:!0}),ti("#slider").find(".pause-slideshow").is(":focus")&&ti("#slider").find(".pause-slideshow").trigger("click",{kb:!0}),ti("#slider").find(".sound-off").is(":focus")&&ti("#slider").find(".sound-off").trigger("click",{kb:!0}),ti("#slider").find(".sound-on").is(":focus")&&ti("#slider").find(".sound-on").trigger("click",{kb:!0}))}),ti(window).resize(function(){clearTimeout(ts),ts=setTimeout(function(){ta.runSlider()},250)})},tn.prototype.returnPlayer=function(ti){var tn=this,ts=ti.data("setupRun");return void 0!=ts.techOrder&&"vimeo"==ts.techOrder[0]&&(ts.controls=!1),void 0!=ts.techOrder&&"youtube"==ts.techOrder[0]&&(ts.youtube={ytControls:2},ts.controls=!1),videojs(ti.attr("id"),ts,function(){var ti,ts=this;tn.players.push(ts),ts.on("play",function(){tn.showCaptionWhilePlay(this.id_,!1),tn.options.auto&&tn.$element.stopAuto()}),ts.on("pause",function(ta){tn.showCaptionWhilePlay(this.id_,!0),tn.options.auto&&(tn.$element.stopAuto(),tn.$element.startAuto()),(ti=tn.hasClone(ts))&&(ti.poster(""),ti.bigPlayButton.hide(),ti.currentTime(ts.currentTime()))}),ts.on("ended",function(){tn.showCaptionWhilePlay(this.id_,!0),tn.options.auto&&(tn.$element.stopAuto(),tn.$element.startAuto())})})},tn.prototype.parseTrueFalseOptions=function(ti,ts){for(var ta in ti)ti.hasOwnProperty(ta)&&-1!=tn.BOOLEANS.indexOf(ta)&&(ti[ta]=!!ti[ta]);return ti},tn.prototype.isVideoPlaying=function(){var ti=this,tn=!1;return ti.players.forEach(function(ti){ti.paused()||(tn=ti)}),tn},tn.prototype.initializeOverlays=function(){var tn=this;tn.$videoOverlays.length&&tn.$videoOverlays.on("click",function(){var ts=tn.findPlayerByItemId(ti(this).data("itemId"));ts.paused()?(ts.muted(!1),ts.play()):ts.pause()})},tn.prototype.findPlayerByItemId=function(tn){for(var ts=this,ta=0;ta<ts.players.length;ta++){var tl=ts.players[ta];if(ti(tl.el_).data("itemId")==tn)return tl}return!1},tn.prototype.groupSlidesByDevice=function(){var tn,ts=this;ts.desktopItems=[],ts.tabletItems=[],ts.mobileItems=[];var ta=navigator.userAgent.indexOf("Trident")>-1||navigator.userAgent.indexOf("MSIE")>-1;ts.$ul.find("li").each(function(){tn=ta?ti(this).clone(!0,!0):ti(this),ti(this).data("desktop")&&ts.desktopItems.push(tn),ti(this).data("tablet")&&ts.tabletItems.push(tn),ti(this).data("mobile")&&ts.mobileItems.push(tn)})},tn.prototype.makePauseSlideshowButton=function(){var tn=this,ts="",ta="";tn.options.auto?ts='style="display:none"':ta='style="display:none"';var tl='<div class="wrap_pause-play"><div class="pause-slideshow" aria-label="icon pause" '+ta+' title="Pause slideshow" tabindex="0"><span class="icon icon-pause"></span></div><div class="play-slideshow" aria-label="icon play" '+ts+' title="Play slideshow" tabindex="0"><span class="icon icon-play"></span></div></div>';ti("#slider").find(".bx-wrapper .bx-controls").prepend(tl)},tn.prototype.initializeClones=function(){var tn,ts=this;ts.$element.find(".bx-clone").each(function(ta){if((tn=ti(this).find("video")).attr("id",tn.attr("id")+"_clone"),tn.length){var tl=ti(tn[0]).data("setupRun")?ti(tn[0]).data("setupRun"):ti(tn[0]).data("setup");void 0!=tl.techOrder&&"vimeo"==tl.techOrder[0]&&(tl.controls=!1),void 0!=tl.techOrder&&"youtube"==tl.techOrder[0]&&(tl.youtube={ytControls:2},tl.controls=!1),videojs(tn[0],tl,function(){this.muted(!0),ts.clones.push(this)})}})},tn.prototype.hasClone=function(tn){for(var ts=this,ta=0;ta<ts.clones.length;ta++){var tl=ts.clones[ta];if(ti(tl.el_).attr("id")==ti(tn.el_).attr("id")+"_clone")return tl}return!1},tn.prototype.showCaptionWhilePlay=function(tn,ts){var ta=this,tl=ti("#"+tn).parents(".slider__item").find("[data-vi
33dplay]"),tc=tl.data("vidplay");ts&&(tc=1),ta.$element.find(tl).css({opacity:tc})},tn.prototype.getDevice=function(){var ti=window.innerWidth;return ti<768?"mobile":ti<1025?"tablet":"desktop"},tn.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},tn.BOOLEANS=["pager","controls","autoControls","auto","infiniteLoop","randomStart","controlsHover","responsive","autoHoverModified"];var ts=ti.fn.Slider;ti.fn.Slider=function(ts){var ta;return arguments,this.each(function(){var tl=ti(this),tc=ti.extend({},tn.DEFAULTS,tl.data(),"object"==typeof ts&&ts),th="";if(tl.data("bxslider",th=new tn(this,tc)),void 0!==ta)return!1}),ta||this},ti.fn.Slider.Constructor=tn,ti.fn.Slider.noConflict=function(){return ti.fn.Slider=ts,this},ti(function(){ti('[data-control="slider"]').Slider()})}(window.jQuery),function(ti){"use strict";var tn=function(ti,tn){this.$el=ti,this.$parent=ti.closest(".cta"),this.options=tn,this.ctaVideo="",this.initColorbox()};tn.prototype.initColorbox=function(){var ts=this;ts.$parent.find(".lb-class").each(function(){ti(this).colorbox(ti.extend(tn.defaults,ti(ti(this).attr("href")).data()))}),ti(document).bind("cbox_complete",{context:this},this.cboxOpenCallBack),ti(document).bind("cbox_closed",{context:this},this.cboxClosedCallBack)},tn.prototype.cboxOpenCallBack=function(ti){ti.data.context.formSizeHandler(ti),ti.data.context.videoLoadHandler(ti)},tn.prototype.cboxClosedCallBack=function(tn){var ts=ti.colorbox.element().attr("href");ti(ts+" [data-setup-run]").each(function(){ti(this).remove()})},tn.prototype.formSizeHandler=function(tn){var ts=ti.colorbox.element().attr("href"),ta=ti(ts).find("form"),tl=new MutationObserver(function(tn){ti.colorbox.resize()}),tc=document.querySelector(ta.selector);null!=tc&&tl.observe(tc,{attributes:!0})},tn.prototype.videoLoadHandler=function(tn){var ts=ti.colorbox.element().attr("href");if(ti(ts+" [data-setup-run]").length&&(tn.data.context.ctaVideo=ti(ts+" [data-setup-run]")[0].outerHTML,ti(ts+" [data-setup-run]").remove()),tn.data.context.ctaVideo){ti(ts+" .video").append(ti(tn.data.context.ctaVideo));var ta=ti(ts+" [data-setup-run]");videojs(ta[0],ta.data("setupRun"),function(){})}},tn.defaults={inline:!0,width:"50%",transition:"fade",returnFocus:!1,className:"ctaColorBox"},ti.fn.colorBoxModal=function(ts){var ta;return arguments,this.each(function(){var tl=ti(this),tc=ti.extend({},tl.data(),"object"==typeof ts&&ts),th="";if(tl.data("ColorBoxModal",th=new tn(tl,tc)),void 0!==ta)return!1}),ta||this},ti.fn.colorBoxModal.Constructor=tn,ti.fn.colorBoxModal.noConflict=function(){return ti.fn.colorBoxModal=old,this},ti(document).ready(function(){ti('[data-control="colorbox-modal"]').colorBoxModal({})})}(window.jQuery),function(ti,tn){"function"==typeof define&&define.amd?define(tn):"object"==typeof exports?module.exports=tn(require,exports,module):ti.ScrollReveal=tn()}(this,function(ti,tn,ts){return(function(){this.ScrollReveal=function(){function ta(tn){return window==this?new ta(tn):(ti=this,ti.tools=new ts,ti.tools.extend(ti.defaults,tn||{}),(!ti.tools.isMobile()||!!ti.defaults.mobile)&&(ti.tools.isSupported("transform")&&ti.tools.isSupported("transition")?(ti.store={elements:{},containers:[]},ti.history=[],ti.counter=0,ti.running=!1,ti.initialized=!1,ti):console.warn("ScrollReveal is not supported in this browser.")))}return ta.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(ti){},afterReset:function(ti){}},ta.prototype.reveal=function(tn,ts,ta){var tl,tc,th,tu;if(tc=ts&&ts.container?ts.container:ti.defaults.container?ti.defaults.container:window.document.documentElement,!(tl=Array.prototype.slice.call(tc.querySelectorAll(tn))).length)return console.warn("reveal('"+tn+"') failed: no elements found."),ti;for(var td=0;td<tl.length;td++)th={},(tu=tl[td].getAttribute("data-sr-id"))?th=ti.store.elements[tu]:(th={id:++ti.counter,domEl:tl[td],seen:!1,revealed:!1}).domEl.setAttribute("data-sr-id",th.id),ti.configure(th,ts||{}),ti.style(th),ti.updateStore(th),th.revealed||th.domEl.setAttribute("style",th.styles.inline+th.styles.transform.initial);return ta||(ti.record(tn,ts),ti.initTimeout&&window.clearTimeout(ti.initTimeout),ti.initTimeout=window.setTimeout(ti.init,0)),ti},ta.prototype.configure=function(tn,ts){tn.config?tn.config=ti.tools.extendClone(tn.config,ts):tn.config=ti.tools.extendClone(ti.defaults,ts),"top"===tn.config.origin||"bottom"===tn.config.origin?tn.config.axis="Y":tn.config.axis="X",("top"===tn.config.origin||"left"===tn.config.origin)&&(tn.c
33onfig.distance="-"+tn.config.distance)},ta.prototype.style=function(ti){function tn(tn){parseInt(ts.distance)&&(tn.initial+=" translate"+ts.axis+"("+ts.distance+")",tn.target+=" translate"+ts.axis+"(0)"),ts.scale&&(tn.initial+=" scale("+ts.scale+")",tn.target+=" scale(1)"),ts.rotate.x&&(tn.initial+=" rotateX("+ts.rotate.x+"deg)",tn.target+=" rotateX(0)"),ts.rotate.y&&(tn.initial+=" rotateY("+ts.rotate.y+"deg)",tn.target+=" rotateY(0)"),ts.rotate.z&&(tn.initial+=" rotateZ("+ts.rotate.z+"deg)",tn.target+=" rotateZ(0)"),tn.initial+="; opacity: "+ts.opacity+";",tn.target+="; opacity: "+ti.styles.computed.opacity+";"}var ts=ti.config,ta=window.getComputedStyle(ti.domEl);ti.styles||(ti.styles={transition:{},transform:{},computed:{}},ti.styles.inline=ti.domEl.getAttribute("style")||"",ti.styles.inline+="; visibility: visible; ",ti.styles.computed.opacity=ta.opacity,ta.transition&&"all 0s ease 0s"!=ta.transition?ti.styles.computed.transition=ta.transition+", ":ti.styles.computed.transition=""),ti.styles.transition.instant="-webkit-transition: "+ti.styles.computed.transition+"-webkit-transform "+ts.duration/1e3+"s "+ts.easing+" 0s, opacity "+ts.duration/1e3+"s "+ts.easing+" 0s; transition: "+ti.styles.computed.transition+"transform "+ts.duration/1e3+"s "+ts.easing+" 0s, opacity "+ts.duration/1e3+"s "+ts.easing+" 0s; ",ti.styles.transition.delayed="-webkit-transition: "+ti.styles.computed.transition+"-webkit-transform "+ts.duration/1e3+"s "+ts.easing+" "+ts.delay/1e3+"s, opacity "+ts.duration/1e3+"s "+ts.easing+" "+ts.delay/1e3+"s; transition: "+ti.styles.computed.transition+"transform "+ts.duration/1e3+"s "+ts.easing+" "+ts.delay/1e3+"s, opacity "+ts.duration/1e3+"s "+ts.easing+" "+ts.delay/1e3+"s; ",ti.styles.transform.initial=" -webkit-transform:",ti.styles.transform.target=" -webkit-transform:",tn(ti.styles.transform),ti.styles.transform.initial+="transform:",ti.styles.transform.target+="transform:",tn(ti.styles.transform)},ta.prototype.updateStore=function(tn){var ts=tn.config.container;ts&&-1==ti.store.containers.indexOf(ts)&&ti.store.containers.push(tn.config.container),ti.store.elements[tn.id]=tn},ta.prototype.record=function(tn,ts){var ta={selector:tn,config:ts};ti.history.push(ta)},ta.prototype.init=function(){ti.animate();for(var tn=0;tn<ti.store.containers.length;tn++)ti.store.containers[tn].addEventListener("scroll",ti.handler),ti.store.containers[tn].addEventListener("resize",ti.handler);return ti.initialized||(window.addEventListener("scroll",ti.handler),window.addEventListener("resize",ti.handler),ti.initialized=!0),ti},ta.prototype.handler=function(){ti.running||tn(function(){ti.running=!0,ti.animate()})},ta.prototype.animate=function(){var tn,ts;function ta(ti,tn){var ts=0,ta=0,tl="after";switch(ti){case"reveal":ta=tn.config.duration+tn.config.delay,tl+="Reveal";break;case"reset":ta=tn.config.duration,tl+="Reset"}return tn.timer&&(ts=Math.abs(tn.timer.started-new Date),window.clearTimeout(tn.timer.clock)),tn.timer={started:new Date},tn.timer.clock=window.setTimeout(function(){tn.config[tl](tn.domEl),tn.timer=null},ta-ts),"reveal"===ti?tn.revealed=!0:tn.revealed=!1}ti.tools.forOwn(ti.store.elements,function(tl){tn=ti.store.elements[tl],(ts=ti.isElemVisible(tn))&&!tn.revealed?("always"!==tn.config.useDelay&&("onload"!==tn.config.useDelay||ti.initialized)&&("once"!==tn.config.useDelay||tn.seen)?tn.domEl.setAttribute("style",tn.styles.inline+tn.styles.transform.target+tn.styles.transition.instant):tn.domEl.setAttribute("style",tn.styles.inline+tn.styles.transform.target+tn.styles.transition.delayed),tn.seen=!0,ta("reveal",tn)):!ts&&tn.config.reset&&tn.revealed&&(tn.domEl.setAttribute("style",tn.styles.inline+tn.styles.transform.initial+tn.styles.transition.instant),ta("reset",tn))}),ti.running=!1},ta.prototype.getContainer=function(ti){return ti||(ti=window.document.documentElement),{width:ti.clientWidth,height:ti.clientHeight}},ta.prototype.getScrolled=function(tn){if(tn){var ts=ti.getOffset(tn);return{x:tn.scrollLeft+ts.left,y:tn.scrollTop+ts.top}}return{x:window.pageXOffset,y:window.pageYOffset}},ta.prototype.getOffset=function(ti){var tn=0,ts=0,ta=ti.offsetHeight,tl=ti.offsetWidth;do isNaN(ti.offsetTop)||(tn+=ti.offsetTop),isNaN(ti.offsetLeft)||(ts+=ti.offsetLeft);while(ti=ti.offsetParent);return{top:tn,left:ts,height:ta,width:tl}},ta.prototype.isElemVisible=function(tn){function ts(){var ti=tf+td*tu,ts=tm+tp*tu,ta=tg-td*tu,tl=tv-tp*tu,ty=th.y+tn.config.viewOffset.top,t_=th.x+tn.config.viewOffset.left,tb
33=th.y-tn.config.viewOffset.bottom+tc.height,tw=th.x-tn.config.viewOffset.right+tc.width;return tb>ti&&ta>ty&&ts>t_&&tw>tl}function ta(){return"fixed"===window.getComputedStyle(tn.domEl).position}var tl=ti.getOffset(tn.domEl),tc=ti.getContainer(tn.config.container),th=ti.getScrolled(tn.config.container),tu=tn.config.viewFactor,td=tl.height,tp=tl.width,tf=tl.top,tm=tl.left,tg=tf+td,tv=tm+tp;return ts()||ta()},ta.prototype.sync=function(){if(ti.history.length){for(var tn=0;tn<ti.history.length;tn++){var ts=ti.history[tn];ti.reveal(ts.selector,ts.config,!0)}ti.init()}else console.warn("sync() failed: no reveals found.");return ti},ta}();var ti,tn,ts=function(){function ti(){}return ti.prototype.isObject=function(ti){return null!==ti&&"object"==typeof ti&&ti.constructor==Object},ti.prototype.forOwn=function(ti,tn){if(!this.isObject(ti))throw TypeError("Expected 'object', but received '"+typeof ti+"'.");for(var ts in ti)ti.hasOwnProperty(ts)&&tn(ts)},ti.prototype.extend=function(ti,tn){return this.forOwn(tn,(function(ts){this.isObject(tn[ts])?(ti[ts]&&this.isObject(ti[ts])||(ti[ts]={}),this.extend(ti[ts],tn[ts])):ti[ts]=tn[ts]}).bind(this)),ti},ti.prototype.extendClone=function(ti,tn){return this.extend(this.extend({},ti),tn)},ti.prototype.isMobile=function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},ti.prototype.isSupported=function(ti){for(var tn=document.createElement("sensor"),ts="Webkit,Moz,O,".split(","),ta=(ti+ts.join(ti+",")).split(","),tl=0;tl<ta.length;tl++)tn.style[ta[tl]];return!0},ti}(),tn=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame}).call(this),this.ScrollReveal}),window.sr=new ScrollReveal,function(ti){"use strict";ti(document).ready(function(){ti(".js-testimonials-layout-settings").each(function(){var tn=this;"list"===ti(tn).data("layout-type")&&sr.reveal(".testimonials__item")})})}(window.jQuery),function(ti){"use strict";ti(document).ready(function(){"list"===ti(".js-featuredarticles-layout-settings").data("layout-type")&&sr.reveal(".featuredarticles__item");var tn=!1;(tn=!!ti(".lazyLoadImg").length)&&ti(".featuredarticle .lazy").lazy({effect:"fadeIn",effectTime:2e3,threshold:0})})}(window.jQuery),function(ti){"use strict";var tn=function(tn,ts){var ta=this;this.$element=ti(tn),this.options=this.parseTrueFalseOptions(ts),this.options.muted=!1,this.auto=this.options.auto,this.options.auto=!1;var tl=!1;function tc(){setTimeout(function(){ti(window).trigger("scroll")},100)}tl=!!ti(".lazyLoadImg").length;var th={onSlideAfter:function(ti,tn,ts){ta.options.auto&&(ta.$element.stopAuto(),ta.$element.startAuto(),ta.options.infinityLoop||ts+1!=ta.$bxSlider.getSlideCount()||(ta.$element.stopAuto(),ta.options.auto=!1),tl&&tc())},onSliderLoad:function(){ta.$element.css("visibility","visible"),ta.$wrapper=ta.$element.closest(".bx-wrapper"),ta.$viewport=ta.$wrapper.find(".bx-viewport"),""==ta.options.easing&&(ta.options.easing=null),ta.options.controlsHover&&(ti(".bx-controls-direction",ta.$wrapper).hide(),ta.$wrapper.hover(function(){ti(".bx-controls-direction",ti(this)).fadeIn(300)},function(){ti(".bx-controls-direction",ti(this)).fadeOut(300)})),ta.options.autoHoverModified&&ta.$wrapper.hover(function(){ta.$element.stopAuto()},function(){}),null!=ta.options.easing&&(ta.options.useCSS=!1),ta.auto&&(ta.options.auto=!0,ta.$element.startAuto(),ta.makePauseFeaturedArticlesSlideshowButton()),ta.$element.closest(".bx-wrapper").find(".bx-controls").wrapAll("<div class='wrap__bx-controls' />"),ta.$element.closest(".bx-wrapper").find(".wrap_pause-play, .wrap_on-off, .bx-pager ").wrapAll("<div class='bx-controls-buttons' />")},onSlideNext:function(){tl&&tc()},onSlidePrev:function(){tl&&tc()}};return ti.extend(this.options,th),this.attachEvents(),this.initializeSlider(),this};tn.prototype.attachEvents=function(){var tn=this,ts=tn.$element.closest(".js-featuredarticles-layout-settings");ts.on("click",".featuredarticles-pause-slideshow",function(ta,tl){ti(this).hide(),tn.$element.stopAuto(),tn.options.auto=!1,ts.find(".featuredarticles-play-slideshow").fadeIn("slow",function(){void 0!==tl&&ti(this).focus()})}),ts.on("click",".featuredarticles-play-slideshow",function(ta,tl){ti(this).hide(),tn.$element.startAuto(),tn.options.auto=!0,ts.find(".featuredarticles-pause-slideshow").fadeIn("slow",function(){void 0!==tl&&ti(this).focus()})}),ti("body").keypress(function(ti){13==ti.which&&(ts.find(".play-slideshow").is(":focus")&&ts.find(".play-slideshow").trigger("click",{kb:!0}),ts.find(".pause-slideshow").is(":focus")&&ts.find(".pause-slideshow").trigger("click",{kb:!0}))})},tn.prototype.parseTrueFalseOptions=function(ti,ts){for(var ta in ti)ti.hasOwnProperty(ta)&&-1!=tn.BOOLEANS.indexOf(ta)&&(ti[ta]=!!ti[ta]);return ti},tn.prototype.initializeSlider=function(){this.$bxSlider=this.$element.bxSlider(this.options)},tn.prototype.destSlider=function(){this.$bxSlider.length&&(this.$bxSlider.destroySlider(),this.$element.closest(".
33js-featuredarticles-layout-settings").find(".wrap__bx-controls").remove())},tn.prototype.maxHeight=function(tn){var ts=0;return tn.each(function(){ts<ti(this).height()&&(ts=ti(this).height())}),ts},tn.prototype.makePauseFeaturedArticlesSlideshowButton=function(){var ti=this,tn=['<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>"];ti.$element.closest(".js-featuredarticles-layout-settings").find(".bx-wrapper .bx-controls").append(tn.join(""))},tn.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},tn.BOOLEANS=["pager","controls","autoControls","auto","infiniteLoop","randomStart","controlsHover","responsive","autoHoverModified"];var ts=ti.fn.featuredArticlesSlideshow;ti.fn.featuredArticlesSlideshow=function(ts){arguments;var ta=ti(this),tl=ti.extend({},tn.DEFAULTS,ta.data(),"object"==typeof ts&&ts);return new tn(this,tl)},ti.fn.featuredArticlesSlideshow.Constructor=tn,ti.fn.featuredArticlesSlideshow.noConflict=function(){ti.fn.featuredArticlesSlideshow=ts},ti(document).ready(function(){var tn=ti('[data-control="featuredarticles-slider"]');tn.length&&tn.each(function(){ti(this).featuredArticlesSlideshow()})})}(window.jQuery),((ti,tn)=>{"object"==typeof exports&&"undefined"!=typeof module?tn(exports):"function"==typeof define&&define.amd?define(["exports"],tn):tn((ti="undefined"!=typeof globalThis?globalThis:ti||self).leaflet={})})(this,function(ti){let tn,ts,ta,tl=0;function tc(ti){return"_leaflet_id"in ti||(ti._leaflet_id=++tl),ti._leaflet_id}function th(ti,tn,ts){let ta,tl;function tc(){ta=!1,tl&&(th.apply(ts,tl),tl=!1)}function th(...tu){ta?tl=tu:(ti.apply(ts,tu),setTimeout(tc,tn),ta=!0)}return th}function tu(ti,tn,ts){var ta=tn[1],tn=tn[0],tl=ta-tn;return ti===ta&&ts?ti:((ti-tn)%tl+tl)%tl+tn}function td(){return!1}function tp(ti,tn){return!1===tn?ti:Math.round(ti*(tn=10**(void 0===tn?6:tn)))/tn}function tf(ti){return ti.trim().split(/\s+/)}function tm(ti,tn){for(var ts in Object.hasOwn(ti,"options")||(ti.options=ti.options?Object.create(ti.options):{}),tn)Object.hasOwn(tn,ts)&&(ti.options[ts]=tn[ts]);return ti.options}let tg=/\{ *([\w_ -]+) *\}/g;function tv(ti,tn){return ti.replace(tg,(ti,ts)=>{let ta=tn[ts];if(void 0===ta)throw Error("No value provided for variable "+ti);return"function"==typeof ta?ta(tn):ta})}let ty="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",t_={__proto__:null,emptyImageUrl:ty,falseFn:td,formatNum:tp,get lastId(){return tl},setOptions:tm,splitWords:tf,stamp:tc,template:tv,throttle:th,wrapNum:tu};class tb{static extend({statics:ti,includes:tn,...ts}){var ta=class extends this{},tl=(Object.setPrototypeOf(ta,this),this.prototype),tc=ta.prototype;if(ti&&Object.assign(ta,ti),Array.isArray(tn))for(var th of tn)Object.assign(tc,th);else tn&&Object.assign(tc,tn);return Object.assign(tc,ts),tc.options&&(tc.options=tl.options?Object.create(tl.options):{},Object.assign(tc.options,ts.options)),tc._initHooks=[],ta}static include(ti){var tn=this.prototype.options;return Object.assign(this.prototype,ti),ti.options&&(this.prototype.options=tn,this.mergeOptions(ti.options)),this}static mergeOptions(ti){return this.prototype.options??={},Object.assign(this.prototype.options,ti),this}static addInitHook(ti,...tn){var ts="function"==typeof ti?ti:function(){this[ti].apply(this,tn)};return this.prototype._initHooks??=[],this.prototype._initHooks.push(ts),this}constructor(...ti){this._initHooksCalled=!1,tm(this),this.initialize&&this.initialize(...ti),this.callInitHooks()}callInitHooks(){if(!this._initHooksCalled){var ti,tn=[];let ta=this;for(;null!==(ta=Object.getPrototypeOf(ta));)tn.push(ta);
33for(ti of(tn.reverse(),tn))for(var ts of ti._initHooks??[])ts.call(this);this._initHooksCalled=!0}}}var tw={on(ti,tn,ts){if("object"==typeof ti)for(var[ta,tl]of Object.entries(ti))this._on(ta,tl,tn);else for(var tc of tf(ti))this._on(tc,tn,ts);return this},off(ti,tn,ts){if(arguments.length){if("object"==typeof ti)for(var[ta,tl]of Object.entries(ti))this._off(ta,tl,tn);else{var tc,th=1==arguments.length;for(tc of tf(ti))th?this._off(tc):this._off(tc,tn,ts)}}else delete this._events;return this},_on(ti,tn,ts,ta){"function"!=typeof tn?console.warn("wrong listener type: "+typeof tn):!1===this._listens(ti,tn,ts)&&(tn={fn:tn,ctx:ts=ts===this?void 0:ts},ta&&(tn.once=!0),this._events??={},this._events[ti]??=[],this._events[ti].push(tn))},_off(ti,tn,ts){if(this._events){let tl=this._events[ti];if(tl){if(1==arguments.length){if(this._firingCount)for(var ta of tl)ta.fn=td;delete this._events[ti]}else"function"!=typeof tn?console.warn("wrong listener type: "+typeof tn):!1!==(tn=this._listens(ti,tn,ts))&&(ts=tl[tn],this._firingCount&&(ts.fn=td,this._events[ti]=tl=tl.slice()),tl.splice(tn,1))}}},fire(ti,tn,ts){if(this.listens(ti,ts)){var ta={...tn,type:ti,target:this,sourceTarget:tn?.sourceTarget||this};if(this._events&&(tn=this._events[ti])){for(var tl of(this._firingCount=this._firingCount+1||1,tn)){var tc=tl.fn;tl.once&&this.off(ti,tc,tl.ctx),tc.call(tl.ctx||this,ta)}this._firingCount--}ts&&this._propagateEvent(ta)}return this},listens(ti,tn,ts,ta){"string"!=typeof ti&&console.warn('"string" type argument expected');let tl=tn;if("function"!=typeof tn&&(ta=!!tn,ts=tl=void 0),this._events?.[ti]?.length&&!1!==this._listens(ti,tl,ts))return!0;if(ta){for(var tc of Object.values(this._eventParents??{}))if(tc.listens(ti,tn,ts,ta))return!0}return!1},_listens(ti,tn,ts){return!!this._events&&((ti=this._events[ti]??[],tn)?(ts===this&&(ts=void 0),-1!==(ti=ti.findIndex(ti=>ti.fn===tn&&ti.ctx===ts))&&ti):!!ti.length)},once(ti,tn,ts){if("object"==typeof ti)for(var[ta,tl]of Object.entries(ti)
33)this._on(ta,tl,tn,!0);else for(var tc of tf(ti))this._on(tc,tn,ts,!0);return this},addEventParent(ti){return this._eventParents??={},this._eventParents[tc(ti)]=ti,this},removeEventParent(ti){return this._eventParents&&delete this._eventParents[tc(ti)],this},_propagateEvent(ti){for(var tn of Object.values(this._eventParents??{}))tn.fire(ti.type,{propagatedFrom:ti.target,...ti},!0)}},tw=(tw.addEventListener=tw.on,tw.removeEventListener=tw.clearAllEventListeners=tw.off,tw.addOneTimeEventListener=tw.once,tw.fireEvent=tw.fire,tw.hasEventListeners=tw.listens,tb.extend(tw));class tx{constructor(ti,tn,ts){let ta,tl;if(!tx.validate(ti,tn))throw Error(`Invalid Point object: (${ti}, ${tn})`);if(ti instanceof tx)return ti;tl=Array.isArray(ti)?(ta=ti[0],ti[1]):"object"==typeof ti&&"x"in ti&&"y"in ti?(ta=ti.x,ti.y):(ta=ti,tn),this.x=ts?Math.round(ta):ta,this.y=ts?Math.round(tl):tl}static validate(ti,tn){return!!(ti instanceof tx||Array.isArray(ti))||!!(ti&&"object"==typeof ti&&"x"in ti&&"y"in ti)||!(!ti&&0!==ti||!tn&&0!==tn)}clone(){var ti=new tx(0,0);return ti.x=this.x,ti.y=this.y,ti}add(ti){return this.clone()._add(new tx(ti))}_add(ti){return this.x+=ti.x,this.y+=ti.y,this}subtract(ti){return this.clone()._subtract(new tx(ti))}_subtract(ti){return this.x-=ti.x,this.y-=ti.y,this}divideBy(ti){return this.clone()._divideBy(ti)}_divideBy(ti){return this.x/=ti,this.y/=ti,this}multiplyBy(ti){return this.clone()._multiplyBy(ti)}_multiplyBy(ti){return this.x*=ti,this.y*=ti,this}scaleBy(ti){return new tx(this.x*ti.x,this.y*ti.y)}unscaleBy(ti){return new tx(this.x/ti.x,this.y/ti.y)}round(){return this.clone()._round()}_round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}floor(){return this.clone()._floor()}_floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.clone()._ceil()}_ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}trunc(){return this.clone()._trunc()}_trunc(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}distanceTo(ti){var tn=(ti=new tx(ti)).x-this.x,ti=ti.y-this.y;return Math.sqrt(tn*tn+ti*ti)}equals(ti){return(ti=new tx(ti)).x===this.x&&ti.y===this.y}contains(ti){return Math.abs((ti=new tx(ti)).x)<=Math.abs(this.x)&&Math.abs(ti.y)<=Math.abs(this.y)}toString(){return`Point(${tp(this.x)}, ${tp(this.y)})`}}class tT{constructor(ti,tn){if(ti){var ts;if(ti instanceof tT)return ti;for(ts of tn?[ti,tn]:ti)this.extend(ts)}}extend(ti){let tn,ts;if(ti){if(ti instanceof tx||"number"==typeof ti[0]||"x"in ti)tn=ts=new tx(ti);else if(tn=(ti=new tT(ti)).min,ts=ti.max,!tn||!ts)return this;this.min||this.max?(this.min.x=Math.min(tn.x,this.min.x),this.max.x=Math.max(ts.x,this.max.x),this.min.y=Math.min(tn.y,this.min.y),this.max.y=Math.max(ts.y,this.max.y)):(this.min=tn.clone(),this.max=ts.clone())}return this}getCenter(ti){return new tx((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,ti)}getBottomLeft(){return new tx(this.min.x,this.max.y)}getTopRight(){return new tx(this.max.x,this.min.y)}getTopLeft(){return this.min}getBottomRight(){return this.max}getSize(){return this.max.subtract(this.min)}contains(ti){let tn,ts;return(ti=new("number"==typeof ti[0]||ti instanceof tx?tx:tT)(ti))instanceof tT?(tn=ti.min,ts=ti.max):tn=ts=ti,tn.x>=this.min.x&&ts.x<=this.max.x&&tn.y>=this.min.y&&ts.y<=this.max.y}intersects(ti){ti=new tT(ti);var tn=this.min,ts=this.max,ta=ti.min,ti=ti.max,tl=ti.x>=tn.x&&ta.x<=ts.x,tn=tn.y<=ti.y&&ta.y<=ts.y;return tl&&tn}overlaps(ti){ti=new tT(ti);var tn=this.min,ts=this.max,ta=ti.min,ti=ti.max,tl=ti.x>tn.x&&ta.x<ts.x,tn=tn.y<ti.y&&ta.y<ts.y;return tl&&tn}isValid(){return!(!this.min||!this.max)}pad(ti){var tn=this.min,ts=this.max,ta=Math.abs(tn.x-ts.x)*ti,ti=Math.abs(tn.y-ts.y)*ti;
33return new tT(new tx(tn.x-ta,tn.y-ti),new tx(ts.x+ta,ts.y+ti))}equals(ti){return!!ti&&(ti=new tT(ti),this.min.equals(ti.getTopLeft()))&&this.max.equals(ti.getBottomRight())}}class tk{constructor(ti,tn){if(ti){var ts;if(ti instanceof tk)return ti;for(ts of tn?[ti,tn]:ti)this.extend(ts)}}extend(ti){let tn,ts;var ta=this._southWest,tl=this._northEast;if(ti instanceof tC)tn=ti,ts=ti;else{if(!(ti instanceof tk))return ti?tC.validate(ti)?this.extend(new tC(ti)):this.extend(new tk(ti)):this;if(tn=ti._southWest,ts=ti._northEast,!tn||!ts)return this}return ta||tl?(ta.lat=Math.min(tn.lat,ta.lat),ta.lng=Math.min(tn.lng,ta.lng),tl.lat=Math.max(ts.lat,tl.lat),tl.lng=Math.max(ts.lng,tl.lng)):(this._southWest=new tC(tn.lat,tn.lng),this._northEast=new tC(ts.lat,ts.lng)),this}pad(ti){var tn=this._southWest,ts=this._northEast,ta=Math.abs(tn.lat-ts.lat)*ti,ti=Math.abs(tn.lng-ts.lng)*ti;return new tk(new tC(tn.lat-ta,tn.lng-ti),new tC(ts.lat+ta,ts.lng+ti))}getCenter(){return new tC((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)}getSouthWest(){return this._southWest}getNorthEast(){return this._northEast}getNorthWest(){return new tC(this.getNorth(),this.getWest())}getSouthEast(){return new tC(this.getSouth(),this.getEast())}getWest(){return this._southWest.lng}getSouth(){return this._southWest.lat}getEast(){return this._northEast.lng}getNorth(){return this._northEast.lat}contains(ti){let tn,ts;ti=new(tC.validate(ti)?tC:tk)(ti);var ta=this._southWest,tl=this._northEast;
33return ti instanceof tk?(tn=ti.getSouthWest(),ts=ti.getNorthEast()):tn=ts=ti,tn.lat>=ta.lat&&ts.lat<=tl.lat&&tn.lng>=ta.lng&&ts.lng<=tl.lng}intersects(ti){ti=new tk(ti);var tn=this._southWest,ts=this._northEast,ta=ti.getSouthWest(),ti=ti.getNorthEast(),tl=ti.lat>=tn.lat&&ta.lat<=ts.lat,ti=ti.lng>=tn.lng&&ta.lng<=ts.lng;return tl&&ti}overlaps(ti){ti=new tk(ti);var tn=this._southWest,ts=this._northEast,ta=ti.getSouthWest(),ti=ti.getNorthEast(),tl=ti.lat>tn.lat&&ta.lat<ts.lat,ti=ti.lng>tn.lng&&ta.lng<ts.lng;return tl&&ti}toBBoxString(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")}equals(ti,tn){return!!ti&&(ti=new tk(ti),this._southWest.equals(ti.getSouthWest(),tn))&&this._northEast.equals(ti.getNorthEast(),tn)}isValid(){return!(!this._southWest||!this._northEast)}}class tC{constructor(ti,tn,ts){let ta,tl,tc;if(!tC.validate(ti,tn,ts))throw Error(`Invalid LatLng object: (${ti}, ${tn})`);if(ti instanceof tC)return ti;Array.isArray(ti)&&"object"!=typeof ti[0]?3===ti.length?(ta=ti[0],tl=ti[1],tc=ti[2]):2===ti.length&&(ta=ti[0],tl=ti[1]):tc="object"==typeof ti&&"lat"in ti?(ta=ti.lat,tl="lng"in ti?ti.lng:ti.lon,ti.alt):(ta=ti,tl=tn,ts),this.lat=+ta,this.lng=+tl,void 0!==tc&&(this.alt=+tc)}static validate(ti,tn,ts){return ti instanceof tC||"object"==typeof ti&&"lat"in ti||(ti&&Array.isArray(ti)&&"object"!=typeof ti[0]?3===ti.length||2===ti.length:!(!ti&&0!==ti||!tn&&0!==tn))}equals(ti,tn){return!!ti&&(ti=new tC(ti),Math.max(Math.abs(this.lat-ti.lat),Math.abs(this.lng-ti.lng))<=(tn??1e-9))}toString(ti){return`LatLng(${tp(this.lat,ti)}, ${tp(this.lng,ti)})`}distanceTo(ti){return tS.distance(this,new tC(ti))}wrap(){return tS.wrapLatLng(this)}toBounds(ti){var ti=180*ti/40075017,tn=ti/Math.cos(Math.PI/180*this.lat);return new tk([this.lat-ti,this.lng-tn],[this.lat+ti,this.lng+tn])}clone(){var ti=new tC(0,0);return ti.lat=this.lat,ti.lng=this.lng,ti.alt=this.alt,ti}}class tj{static projection=void 0;static transformation=void 0;static latLngToPoint(ti,tn){return ti=this.projection.project(ti),tn=this.scale(tn),this.transformation._transform(ti,tn)}static pointToLatLng(ti,tn){return tn=this.scale(tn),ti=this.transformation.untransform(ti,tn),this.projection.unproject(ti)}static project(ti){return this.projection.project(ti)}static unproject(ti){return this.projection.unproject(ti)}static scale(ti){return 256*2**ti}static zoom(ti){return Math.log(ti/256)/Math.LN2}static getProjectedBounds(ti){var tn,ts;return this.infinite?null:(ts=this.projection.bounds,ti=this.scale(ti),tn=this.transformation.transform(ts.min,ti),ts=this.transformation.transform(ts.max,ti),new tT(tn,ts))}static infinite=!1;static wrapLatLng(ti){var tn=this.wrapLng?tu(ti.lng,this.wrapLng,!0):ti.lng,ts=this.wrapLat?tu(ti.lat,this.wrapLat,!0):ti.lat,ti=ti.alt;return new tC(ts,tn,ti)}static wrapLatLngBounds(ti){var tn=ti.getCenter(),ts=this.wrapLatLng(tn),ta=tn.lat-ts.lat,tn=tn.lng-ts.lng;
33return 0==ta&&0==tn?ti:(ts=ti.getSouthWest(),ti=ti.getNorthEast(),ts=new tC(ts.lat-ta,ts.lng-tn),ta=new tC(ti.lat-ta,ti.lng-tn),new tk(ts,ta))}}class tS extends tj{static wrapLng=[-180,180];static R=6371e3;static distance(ti,tn){var ts=Math.PI/180,ta=ti.lat*ts,tl=tn.lat*ts,tc=Math.sin((tn.lat-ti.lat)*ts/2),tn=Math.sin((tn.lng-ti.lng)*ts/2),ti=tc*tc+Math.cos(ta)*Math.cos(tl)*tn*tn,ts=2*Math.atan2(Math.sqrt(ti),Math.sqrt(1-ti));return this.R*ts}}let tE={R:6378137,MAX_LATITUDE:85.0511287798,project(ti){var tn=Math.PI/180,ts=this.MAX_LATITUDE,ts=Math.max(Math.min(ts,ti.lat),-ts),ts=Math.sin(ts*tn);return new tx(this.R*ti.lng*tn,this.R*Math.log((1+ts)/(1-ts))/2)},unproject(ti){var tn=180/Math.PI;return new tC((2*Math.atan(Math.exp(ti.y/this.R))-Math.PI/2)*tn,ti.x*tn/this.R)},bounds:(tM=6378137*Math.PI,new tT([-tM,-tM],[tM,tM]))};class tP{constructor(ti,tn,ts,ta){Array.isArray(ti)?(this._a=ti[0],this._b=ti[1],this._c=ti[2],this._d=ti[3]):(this._a=ti,this._b=tn,this._c=ts,this._d=ta)}transform(ti,tn){return this._transform(ti.clone(),tn)}_transform(ti,tn){return ti.x=(tn||=1)*(this._a*ti.x+this._b),ti.y=tn*(this._c*ti.y+this._d),ti}untransform(ti,tn){return tn||=1,new tx((ti.x/tn-this._b)/this._a,(ti.y/tn-this._d)/this._c)}}class tO extends tS{static code="EPSG:3857";static projection=tE;static transformation=(tM=.5/(Math.PI*tE.R),new tP(tM,.5,-tM,.5))}class tL extends tO{static code="EPSG:900913"}var tM=tD("chrome"),tI=!tM&&tD("safari"),tA="undefined"!=typeof orientation||tD("mobile"),tz="undefined"!=typeof window&&!!window.PointerEvent,tN="undefined"!=typeof window&&("ontouchstart"in window||!!window.TouchEvent);function tD(ti){return"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&navigator.userAgent.toLowerCase().includes(ti)}var tB={chrome:tM,safari:tI,mobile:tA,pointer:tz,touch:tN||tz,touchNative:tN,retina:"undefined"!=typeof window&&void 0!==window.devicePixelRatio&&1<window.devicePixelRatio,mac:"undefined"!=typeof navigator&&void 0!==navigator.platform&&navigator.platform.startsWith("Mac"),linux:"undefined"!=typeof navigator&&void 0!==navigator.platform&&navigator.platform.startsWith("Linux")};let t$=200;function tR(ti,tn){ti.addEventListener("dblclick",tn);let ts=0,ta;function tl(ti){var tn;1!==ti.detail?ta=ti.detail:"mouse"===ti.pointerType||ti.sourceCapabilities&&!ti.sourceCapabilities.firesTouchEvents||(tn=eb(ti)).some(ti=>ti instanceof HTMLLabelElement&&ti.attributes.for)&&!tn.some(ti=>ti instanceof HTMLInputElement||ti instanceof HTMLSelectElement)||((tn=Date.now())-ts<=t$?2==++ta&&ti.target.dispatchEvent((ti=>{let tn={bubbles:ti.bubbles,cancelable:ti.cancelable,composed:ti.composed,detail:2,view:ti.view,screenX:ti.screenX,screenY:ti.screenY,clientX:ti.clientX,clientY:ti.clientY,ctrlKey:ti.ctrlKey,shiftKey:ti.shiftKey,altKey:ti.altKey,metaKey:ti.metaKey,button:ti.button,buttons:ti.buttons,relatedTarget:ti.relatedTarget,region:ti.region};return new(ti instanceof PointerEvent?(tn={...tn,pointerId:ti.pointerId,width:ti.width,height:ti.height,pressure:ti.pressure,tangentialPressure:ti.tangentialPressure,tiltX:ti.tiltX,tiltY:ti.tiltY,twist:ti.twist,pointerType:ti.pointerType,isPrimary:ti.isPrimary},PointerEvent):MouseEvent)("dblclick",tn)})(ti)):ta=1,ts=tn)}return ti.addEventListener("click",tl),{dblclick:tn,simDblclick:tl}}function tH(ti){return"string"==typeof ti?document.getElementById(ti):ti}function tF(ti,tn,ts){return(ti=document.createElement(ti)).className=tn??"",ts&&ts.appendChild(ti),ti}function tW(ti){var tn=ti.parentNode;tn&&tn.lastChild!==ti&&tn.appendChild(ti)}function tZ(ti){var tn=ti.parentNode;tn&&tn.firstChild!==ti&&tn.insertBefore(ti,tn.firstChild)}function tV(ti,tn,ts){tn=tn??new tx(0,0),ti.style.transform=`translate3d(${tn.x}px,${tn.y}px,0)`+(ts?` scale(${ts})`:"")}let tU=new WeakMap;function tq(ti,tn){tU.set(ti,tn),tV(ti,tn)}function tG(ti){return tU.get(ti)??new tx(0,0)}let tY="undefined"==typeof document?{}:document.documentElement.style,tK=["userSelect","WebkitUserSelect"].find(ti=>ti in tY),tX;function tQ(){var ti=tY[tK];"none"!==ti&&(tX=ti,tY[tK]="none")}function tJ(){void 0!==tX&&(tY[tK]=tX,tX=void 0)}function t0(){er(window,"dragstart",ey)}function t1(){eh(window,"dragstart",ey)}function t6(ti){for(;-1===ti.tabIndex;)ti=ti.parentNode;ti.style&&(t4(),tn=ti,ts=ti.style.outlineStyle,ti.style.outlineStyle="none",er(window,"keydown",t4))}function t4(){tn&&(tn.style.outlineStyle=ts,tn=void 0,ts=void 0,eh(window,"keydown",t4))}function t2(ti){for(;!((ti=ti.parentNode).offsetWidth&&ti.offsetHeight||ti===document.body););return ti}function t5(ti){var tn=ti.getBoundingClientRect();return{x:tn.width/ti.offsetWidth||1,y:tn.height/ti.offsetHeight||1,boundingClientRect:tn}}let t8={__proto__:null,create:tF,disableImageDrag:t0,disableTextSelection:tQ,enableImageDrag:t1,enableTextSelection:tJ,get:tH,getPosition:tG,getScale:t5,getSizedParentNode:t2,preventOutline:t6,restoreOutline:t4,setPosition:tq,setTransform:tV,toBack:tZ,toFront:tW},t7=new Map,t3=!1;function t9(){t3||(t3=!0,document.addEventListener("pointerdown",ei,{capture:!0}),document.addEventListener("pointermove",en,{capture:!0}),document.addEventListener("pointerup",eo,{capture:!0}),document.addEventListener("pointercancel",eo,{capture:!0}),t7=new Map)}function ei(ti){t7.set(ti.pointerId,ti)}function en(ti){t7.has(ti.pointerId)&&t7.set(ti.pointerId,ti)}function eo(ti){t7.delete(ti.pointerId)}function es(){return[...t7.values()]}function er(ti,tn,ts,ta){if(tn&&"object"==typeof tn)for(var[tl,tc]of Object.entries(tn))ep(ti,tl,tc,ts);else for(var th of tf(tn))ep(ti,th,ts,ta);return this}tM={__proto__:null,cleanupPointers:function(){t7.clear()},disablePointerDetection:function(){document.removeEventListener("pointerdown",ei,{capture:!0}),document.removeEventListener("pointermove",en,{capture:!0}),document.removeEventListener("pointerup",eo,{capture:!0}),document.removeEventListener("pointercancel",eo,{capture:!0}),t3=!1},enablePointerDetection:t9,getPointers:es};let ec="_leaflet_events";function eh(ti,tn,ts,ta){if(1==arguments.length)eu(ti),delete ti[ec];else if(tn&&"object"==typeof tn)for(var[tl,tc]of Object.entries(tn))ef(ti,tl,tc,ts);else if(tn=tf(tn),2==arguments.length)eu(ti,ti=>tn.includes(ti));else for(var th of tn)ef(ti,th,ts,ta);return this}function eu(ti,tn){for(var ts of Object.keys(ti[ec]??{})){var ta=ts.split(/\d/)[0];tn&&!tn(ta)||ef(ti,ta,null,null,ts)}}let ed={pointerenter:"pointerover",pointerleave:"pointerout",wheel:"undefined"!=typeof window&&!("onwheel"in window)&&"mousewheel"};function ep(ti,tn,ts,ta){var tl=tn+tc(ts)+(ta?"_"+tc(ta):"");if(!ti[ec]||!ti[ec][tl]){let tc=function(tn){return ts.call(ta||ti,tn||window.event)},th=tc;tB.touch&&"dblclick"===tn?tc=tR(ti,tc):"addEventListener"in ti?"wheel"===tn||"mousewheel"===tn?ti.addEventListener(ed[tn]||tn,tc,{passive:!1}):"pointerenter"===tn||"pointerleave"===tn?(tc=function(tn){ek(ti,tn??=window.event)&&th(tn)},ti.addEventListener(ed[tn],tc,!1)):ti.addEventListener(tn,th,!1):ti.attachEvent("on"+tn,tc),ti[ec]??={},ti[ec][tl]=tc}}function ef(ti,tn,ts,ta,tl){tl??=tn+tc(ts)+(ta?"_"+tc(ta):"");var th,ts=ti[ec]&&ti[ec][tl];ts&&(tB.touch&&"dblclick"===tn?(ta=ts,(th=ti).removeEventListener("dblclick",ta.dblclick),th.removeEventListener("click",ta.simDblclick)):"removeEventListener"in ti?ti.removeEventListener(ed[tn]||tn,ts,!1):ti.detachEvent("on"+tn,ts),ti[ec][tl]=null)}function em(ti){return ti.stopPropagation?ti.stopPropagation():ti.originalEvent?ti.originalEvent._stopped=!0:ti.cancelBubble=!0,this}function eg(ti){return ep(ti,"wheel",em),this}function ev(ti){return er(ti,"pointerdown dblclick contextmenu",em),ti._leaflet_disable_click=!0,this}function ey(ti){return ti.preventDefault?ti.preventDefault():ti.returnValue=!1,this}function e_(ti){return ey(ti),em(ti),this}function eb(ti){return ti.composedPath()}function ew(ti,tn){var ts,ta;return tn?(ta=(ts=t5(tn)).boundingClientRect,new tx((ti.clientX-ta.left)/ts.x-tn.clientLeft,(ti.clientY-ta.top)/ts.y-tn.clientTop)):new tx(ti.clientX,ti.clientY)}function ex(){var ti=window.devicePixelRatio;return tB.linux&&tB.chrome?ti:tB.mac?3*ti:0<ti?2*ti:1}function eT(ti){return ti.deltaY&&0===ti.deltaMode?-ti.deltaY/ex():ti.deltaY&&1===ti.deltaMode?-(20*ti.deltaY):ti.deltaY&&2===ti.deltaMode?-(60*ti.deltaY):(ti.deltaX||ti.deltaZ,0)}function ek(ti,tn){let ts=tn.relatedTarget;if(!ts)return!0;try{for(;ts&&ts!==ti;)ts=ts.parentNode}catch(ti){return!1}return ts!==ti}var eC={__proto__:null,PointerEvents:tM,addListener:er,disableClickPropagation:ev,disableScrollPropagation:eg,getPointerPosition:ew,getPropagationPath:eb,getWheelDelta:eT,getWheelPxFactor:ex,isExternalTarget:ek,off:eh,on:er,preventDefault:ey,removeListener:eh,stop:e_,stopPropagation:em};let ej=tw.extend({run(ti,tn,ts,ta){this.stop(),this._el=ti,this._inProgress=!0,this._duration=ts??.25,this._easeOutPower=1/Math.max(ta??.5,.2),this._startPos=tG(ti),this._offset=tn.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop(){this._inProgress&&(this._step(!0),this._complete())},_animate(){this._animId=requestAnimationFrame(this._animate.bind(this)),this._step()},_step(ti){var tn=+new Date-this._startTime,ts=1e3*this._duration;tn<ts?this._runFrame(this._easeOut(tn/ts),ti):(this._runFrame(1),this._complete())},_runFrame(ti,tn){ti=this._startPos.add(this._offset.multiplyBy(ti)),tn&&ti._round(),tq(this._el,ti),this.fire("step")},_complete(){cancelAnimationFrame(this._animId),this._inProgress=!1,this.fire("end")},_easeOut(ti){return 1-(1-ti)**this._easeOutPower}});tI=tw.extend({options:{crs:tO,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize(ti,tn){tn=tm(this,tn),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(ti),this._initLayout(),this._initEvents(),tn.maxBounds&&this.setMaxBounds(tn.maxBounds),void 0!==tn.zoom&&(this._zoom=this._limitZoom(tn.zoom)),tn.center&&void 0!==tn.zoom&&this.setView(new tC(tn.center),tn.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=this.options.zoomAnimation,this._zoomAnimated&&this._createAnimProxy(),this._addLayers(this.options.layers)}
33,setView(ti,tn,ts){return(tn=void 0===tn?this._zoom:this._limitZoom(tn),ti=this._limitCenter(new tC(ti),tn,this.options.maxBounds),ts??={},this._stop(),this._loaded&&!ts.reset&&!0!==ts&&(void 0!==ts.animate&&(ts.zoom={animate:ts.animate,...ts.zoom},ts.pan={animate:ts.animate,duration:ts.duration,...ts.pan}),this._zoom!==tn?this._tryAnimatedZoom&&this._tryAnimatedZoom(ti,tn,ts.zoom):this._tryAnimatedPan(ti,ts.pan)))?(clearTimeout(this._sizeTimer),this):(this._resetView(ti,tn,ts.pan?.noMoveStart),this)},setZoom(ti,tn){return this._loaded?this.setView(this.getCenter(),ti,{zoom:tn}):(this._zoom=ti,this)},zoomIn(ti,tn){return ti??=this.options.zoomDelta,this.setZoom(this._zoom+ti,tn)},zoomOut(ti,tn){return ti??=this.options.zoomDelta,this.setZoom(this._zoom-ti,tn)},setZoomAround(ti,tn,ts){var ta=this.getZoomScale(tn),tl=this.getSize().divideBy(2),ti=(ti instanceof tx?ti:this.latLngToContainerPoint(ti)).subtract(tl).multiplyBy(1-1/ta),ta=this.containerPointToLatLng(tl.add(ti));return this.setView(ta,tn,{zoom:ts})},_getBoundsCenterZoom(ti,tn){tn??={},ti=ti.getBounds?ti.getBounds():new tk(ti);var ts=new tx(tn.paddingTopLeft||tn.padding||[0,0]),ta=new tx(tn.paddingBottomRight||tn.padding||[0,0]),tl=this.getBoundsZoom(ti,!1,ts.add(ta));return(tl="number"==typeof tn.maxZoom?Math.min(tn.maxZoom,tl):tl)===1/0?{center:ti.getCenter(),zoom:tl}:(tn=ta.subtract(ts).divideBy(2),ta=this.project(ti.getSouthWest
33(),tl),ts=this.project(ti.getNorthEast(),tl),{center:this.unproject(ta.add(ts).divideBy(2).add(tn),tl),zoom:tl})},fitBounds(ti,tn){if((ti=new tk(ti)).isValid())return ti=this._getBoundsCenterZoom(ti,tn),this.setView(ti.center,ti.zoom,tn);throw Error("Bounds are not valid.")},fitWorld(ti){return this.fitBounds([[-90,-180],[90,180]],ti)},panTo(ti,tn){return this.setView(ti,this._zoom,{pan:tn})},panBy(ti,tn){var ts;return tn??={},(ti=new tx(ti).round()).x||ti.y?(!0===tn.animate||this.getSize().contains(ti)?(this._panAnim||(this._panAnim=new ej,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),tn.noMoveStart||this.fire("movestart"),!1!==tn.animate?(this._mapPane.classList.add("leaflet-pan-anim"),ts=this._getMapPanePos().subtract(ti).round(),this._panAnim.run(this._mapPane,ts,tn.duration||.25,tn.easeLinearity)):(this._rawPanBy(ti),this.fire("move").fire("moveend"))):this._resetView(this.unproject(this.project(this.getCenter()).add(ti)),this.getZoom()),this):this.fire("moveend")},flyTo(ti,tn,ts){if(!1===(ts??={}).animate)return this.setView(ti,tn,ts);this._stop();let ta=this.project(this.getCenter()),tl=this.project(ti),tc=this.getSize(),th=this._zoom,tu=(ti=new tC(ti),tn=void 0===tn?th:this._limitZoom(tn),Math.max(tc.x,tc.y)),td=tu*this.getZoomScale(th,tn),tp=tl.distanceTo(ta)||1,tf=1.42,tm=2.0164;function tg(ti){var tn=ti?-1:1,ti=ti?td:tu,tn=(td*td-tu*tu+tn*tm*tm*tp*tp)/(2*ti*tm*tp),ti=Math.sqrt(tn*tn+1)-tn;return ti<1e-9?-18:Math.log(ti)}function tv(ti){return(Math.exp(ti)-Math.exp(-ti))/2}function ty(ti){return(Math.exp(ti)+Math.exp(-ti))/2}let t_=tg(0);function tb(ti){return tu*(ty(t_)*(tv(ti=t_+tf*ti)/ty(ti))-tv(t_))/tm}let tw=Date.now(),tx=(tg(1)-t_)/tf,tT=ts.duration?1e3*ts.duration:1e3*tx*.8;function tk(){var ts=(Date.now()-tw)/tT,tc=(1-(1-ts)**1.5)*tx;ts<=1?(this._flyToFrame=requestAnimationFrame(tk.bind(this)),this._move(this.unproject(ta.add(tl.subtract(ta).multiplyBy(tb(tc)/tp)),th),this.get
33ScaleZoom(tu/(ts=tc,tu*(ty(t_)/ty(t_+tf*ts))),th),{flyTo:!0})):this._move(ti,tn)._moveEnd(!0)}return this._moveStart(!0,ts.noMoveStart),tk.call(this),this},flyToBounds(ti,tn){return ti=this._getBoundsCenterZoom(ti,tn),this.flyTo(ti.center,ti.zoom,tn)},setMaxBounds(ti){return ti=new tk(ti),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),ti.isValid()?(this.options.maxBounds=ti,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom(ti){var tn=this.options.minZoom;return this.options.minZoom=ti,this._loaded&&tn!==ti&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(ti):this},setMaxZoom(ti){var tn=this.options.maxZoom;return this.options.maxZoom=ti,this._loaded&&tn!==ti&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(ti):this},panInsideBounds(ti,tn){this._enforcingBounds=!0;var ts=this.getCenter(),ti=this._limitCenter(ts,this._zoom,new tk(ti));return ts.equals(ti)||this.panTo(ti,tn),this._enforcingBounds=!1,this},panInside(ti,tn){tn??={};var ts=new tx(tn.paddingTopLeft||tn.padding||[0,0]),ta=new tx(tn.paddingBottomRight||tn.padding||[0,0]),tl=this.project(this.getCenter()),ti=this.project(ti),tc=this.getPixelBounds(),ts=new tT([tc.min.add(ts),tc.max.subtract(ta)]),tc=ts.getSize();return ts.contains(ti)||(this._enforcingBounds=!0,ta=ti.subtract(ts.getCenter()),ts=ts.extend(ti).getSize().subtract(tc),tl.x+=ta.x<0?-ts.x:ts.x,tl.y+=ta.y<0?-ts.y:ts.y,this.panTo(this.unproject(tl),tn),this._enforcingBounds=!1),this},invalidateSize(ti){if(!this._loaded)return this;ti={animate:!1,pan:!0,...!0===ti?{animate:!0}:ti};var tn=this.getSize(),ts=(this._sizeChanged=!0,this._lastCenter=null,this.getSize()),ta=tn.divideBy(2).round(),tl=ts.divideBy(2).round(),ta=ta.subtract(tl);return ta.x||ta.y?(ti.animate&&ti.pan?this.panBy(ta):(ti.pan&&this._rawPanBy(ta),this.fire("move"),ti.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(this.fire.bind(this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:tn,newSize:ts})):this},stop(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate(ti){var tn,ts;return ti=this._locateOptions={timeout:1e4,watch:!1,...ti},"geolocation"in navigator?(tn=this._handleGeolocationResponse.bind(this),ts=this._handleGeolocationError.bind(this),ti.watch?this._locationWatchId=navigator.geolocation.watchPosition(tn,ts,ti):navigator.geolocation.getCurrentPosition(tn,ts,ti)):this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this},stopLocate(){return navigator.geolocation?.clearWatch?.(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError(ti){var tn;this._container._leaflet_id&&(tn=ti.code,ti=ti.message||(1===tn?"permission denied":2===tn?"position unavailable":"timeout"),this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:tn,message:`Geolocation error: ${ti}.`}))},_handleGeolocationResponse(ti){if(this._container._leaflet_id){var tn,ts,ta=ti.coords.latitude,tl=ti.coords.longitude,ta=new tC(ta,tl),tl=ta.toBounds(2*ti.coords.accuracy),tc=this._locateOptions,th=(tc.setView&&(tn=this.getBoundsZoom(tl),this.setView(ta,tc.maxZoom?Math.min(tn,tc.maxZoom):tn)),{latlng:ta,bounds:tl,timestamp:ti.timestamp});for(ts of Object.keys(ti.coords))"number"==typeof ti.coords[ts]&&(th[ts]=ti.coords[ts]);this.fire("locationfound",th)}},addHandler(ti,tn){return tn&&(tn=this[ti]=new tn(this),this._handlers.push(tn),this.options[ti])&&tn.enable(),this},remove(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(ti){this._container._leaflet_id=void 0,this._containerId=void 0}for(var ti of(void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),this._mapPane.remove(),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(cancelAnimationFrame(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),clearTimeout(this._transitionEndTimer),clearTimeout(this._sizeTimer),this._loaded&&this.fire("unload"),this._destroyAnimProxy(),Object.values(this._layers)))ti.remove();for(var tn of Object.values(this._panes))tn.remove();return this._layers={},this._panes={},delete this._mapPane,delete this._renderer,this},createPane(ti,tn){return tn=tF("div","leaflet-pane"+(ti?` leaflet-${ti.replace("Pane","")}-pane`:""),tn||this._mapPane),ti&&(this._panes[ti]=tn),tn},getCenter(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom(){return this._zoom},getBounds(){var ti=this.getPixelBounds(),tn=this.unproject(ti.getBottomLeft()),ti=this.unproject(ti.getTopRight());return new tk(tn,ti)},getMinZoom(){return this.options.minZoom??this._layersMinZoom??0}
33,getMaxZoom(){return this.options.maxZoom??this._layersMaxZoom??1/0},getBoundsZoom(ti,tn,ts){ti=new tk(ti),ts=new tx(ts??[0,0]);let ta=this.getZoom()??0;var tl=this.getMinZoom(),tc=this.getMaxZoom(),th=ti.getNorthWest(),ti=ti.getSouthEast(),ts=this.getSize().subtract(ts),ti=new tT(this.project(ti,ta),this.project(th,ta)).getSize(),th=this.options.zoomSnap,tu=ts.x/ti.x,ts=ts.y/ti.y,ti=tn?Math.max(tu,ts):Math.min(tu,ts);return ta=this.getScaleZoom(ti,ta),th&&(ta=Math.round(ta/(th/100))*(th/100),ta=tn?Math.ceil(ta/th)*th:Math.floor(ta/th)*th),Math.max(tl,Math.min(tc,ta))},getSize(){return this._size&&!this._sizeChanged||(this._size=new tx(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds(ti,tn){return ti=this._getTopLeftPoint(ti,tn),new tT(ti,ti.add(this.getSize()))},getPixelOrigin(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds(ti){return this.options.crs.getProjectedBounds(ti??this.getZoom())},getPane(ti){return"string"==typeof ti?this._panes[ti]:ti},getPanes(){return this._panes},getContainer(){return this._container},getZoomScale(ti,tn){var ts=this.options.crs;return tn??=this._zoom,ts.scale(ti)/ts.scale(tn)},getScaleZoom(ti,tn){var ts=this.options.crs,ti=(tn??=this._zoom,ts.zoom(ti*ts.scale(tn)));return isNaN(ti)?1/0:ti},project(ti,tn){return tn??=this._zoom,this.options.crs.latLngToPoint(new tC(ti),tn)},unproject(ti,tn){return tn??=this._zoom,this.options.crs.pointToLatLng(new tx(ti),tn)},layerPointToLatLng(ti){return ti=new tx(ti).add(this.getPixelOrigin()),this.unproject(ti)},latLngToLayerPoint(ti){return this.project(new tC(ti))._round()._subtract(this.getPixelOrigin())},wrapLatLng(ti){return this.options.crs.wrapLatLng(new tC(ti))},wrapLatLngBounds(ti){return this.options.crs.wrapLatLngBounds(new tk(ti))},distance(ti,tn){return this.options.crs.distance(new tC(ti),new tC(tn))},containerPointToLayerPoint(ti){return new tx(ti).subtract(this._getMapPanePos())},layerPointToContainerPoint(ti){return new tx(ti).add(this._getMapPanePos())},containerPointToLatLng(ti){return ti=this.containerPointToLayerPoint(new tx(ti)),this.layerPointToLatLng(ti)},latLngToContainerPoint(ti){return this.layerPointToContainerPoint(this.latLngToLayerPoint(new tC(ti)))},pointerEventToContainerPoint(ti){return ew(ti,this._container)},pointerEventToLayerPoint(ti){return this.containerPointToLayerPoint(this.pointerEventToContainerPoint(ti))},pointerEventToLatLng(ti){return this.layerPointToLatLng(this.pointerEventToLayerPoint(ti))},_initContainer(ti){if(!(ti=this._container=tH(ti)))throw Error("Map container not found.");if(ti._leaflet_id)throw Error("Map container is already initialized.");er(ti,"scroll",this._onScroll,this),this._containerId=tc(ti),t9()},_initLayout(){var ti=this._container,tn=(this._fadeAnimated=this.options.fadeAnimation,["leaflet-container"]),tn=(tB.touch&&tn.push("leaflet-touch"),tB.retina&&tn.push("leaflet-retina"),tB.safari&&tn.push("leaflet-safari"),this._fadeAnimated&&tn.push("leaflet-fade-anim"),ti.classList.add(...tn),getComputedStyle(ti)).position;"absolute"!==tn&&"relative"!==tn&&"fixed"!==tn&&"sticky"!==tn&&(ti.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes(){var ti=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),tq(this._mapPane,new tx(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(ti.markerPane.classList.add("leaflet-zoom-hide"),ti.shadowPane.classList.add("leaflet-zoom-hide"))},_resetView(ti,tn,ts){tq(this._mapPane,new tx(0,0));var ta=!this._loaded,tl=(this._loaded=!0,tn=this._limitZoom(tn),this.fire("viewprereset"),this._zoom!==tn);this._moveStart(tl,ts)._move(ti,tn)._moveEnd(tl),this.fire("viewreset"),ta&&this.fire("load")},_moveStart(ti,tn){return ti&&this.fire("zoomstart"),tn||this.fire("movestart"),this},_move(ti,tn,ts,ta){void 0===tn&&(tn=this._zoom);var tl=this._zoom!==tn;return this._zoom=tn,this._lastCenter=ti,this._pixelOrigin=this._getNewPixelOrigin(ti),ta?ts?.pinch&&this.fire("zoom",ts):((tl||ts?.pinch)&&this.fire("zoom",ts),this.fire("move",ts)),this},_moveEnd(ti){return ti&&this.fire("zoomend"),this.fire("moveend")},_stop(){return cancelAnimationFrame(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy(ti){tq(this._mapPane,this._getMapPanePos().subtract(ti))},_getZoomSpan(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded(){if(!this._loaded)throw Error("Set map center and zoom first.")},_initEvents(ti){this._targets={},(ti?eh:er)((this._targets[tc(this._container)]=this)._container,"click dblclick pointerdown pointerup pointerover pointerout pointermove c
33ontextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&(ti?this._resizeObserver.disconnect():(this._resizeObserver||(this._resizeObserver=new ResizeObserver(this._onResize.bind(this))),this._resizeObserver.observe(this._container))),this.options.transform3DLimit&&(ti?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize(){cancelAnimationFrame(this._resizeRequest),this._resizeRequest=requestAnimationFrame(()=>{this.invalidateSize({debounceMoveend:!0})})},_onScroll(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd(){var ti=this._getMapPanePos();Math.max(Math.abs(ti.x),Math.abs(ti.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets(ti,tn){let ts=[],ta,tl=ti.target||ti.srcElement,th=!1;for(var tu="pointerout"===tn||"pointerover"===tn;tl;){if((ta=this._targets[tc(tl)])&&("click"===tn||"preclick"===tn)&&this._draggableMoved(ta)){th=!0;break}if(ta&&ta.listens(tn,!0)&&(tu&&!ek(tl,ti)||(ts.push(ta),tu))||tl===this._container)break;tl=tl.parentNode}return ts.length||th||tu||!this.listens(tn,!0)?ts:[this]},_isClickDisabled(ti){for(;ti&&ti!==this._container;){if(ti._leaflet_disable_click||!ti.parentNode)return!0;ti=ti.parentNode}},_handleDOMEvent(ti){var tn,ts=ti.target??ti.srcElement;!this._loaded||ts._leaflet_disable_events||"click"===ti.type&&this._isClickDisabled(ts)||("pointerdown"===(tn=ti.type)&&t6(ts),this._fireDOMEvent(ti,tn))},_pointerEvents:["click","dblclick","pointerover","pointerout","contextmenu"],_fireDOMEvent(ti,tn,ts){"click"===tn&&this._fireDOMEvent(ti,"preclick",ts);let ta=this._findEventTargets(ti,tn);if(ts&&(ta=(ts=ts.filter(ti=>ti.listens(tn,!0))).concat(ta)),ta.length){"contextmenu"===tn&&ey(ti);var tl,tc,ts=ta[0],th={originalEvent:ti};for(tc of("keypress"!==ti.type&&"keydown"!==ti.type&&"keyup"!==ti.type&&(tl=ts.getLatLng&&(!ts._radius||ts._radius<=10),th.containerPoint=tl?this.latLngToContainerPoint(ts.getLatLng()):this.pointerEventToContainerPoint(ti),th.layerPoint=this.containerPointToLayerPoint(th.containerPoint),th.latlng=tl?ts.getLatLng():this.layerPointToLatLng(th.layerPoint)),ta))if(tc.fire(tn,th,!0),th.originalEvent._stopped||!1===tc.options.bubblingPointerEvents&&this._pointerEvents.includes(tn))return}},_draggableMoved(ti){return(ti=ti.dragging&&ti.dragging.enabled()?ti:this).dragging&&ti.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers(){for(var ti of this._handlers)ti.disable()},whenReady(ti,tn){return this._loaded?ti.call(tn||this,{target:this}):this.on("load",ti,tn),this},_getMapPanePos(){return tG(this._mapPane)},_moved(){var ti=this._getMapPanePos();return ti&&!ti.equals([0,0])},_getTopLeftPoint(ti,tn){return(ti&&void 0!==tn?this._getNewPixelOrigin(ti,tn):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin(ti,tn){var ts=this.getSize()._divideBy(2);return this.project(ti,tn)._subtract(ts)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint(ti,tn,ts){return ts=this._getNewPixelOrigin(ts,tn),this.project(ti,tn)._subtract(ts)},_latLngBoundsToNewLayerBounds(ti,tn,ts){return ts=this._getNewPixelOrigin(ts,tn),new tT([this.project(ti.getSouthWest
33(),tn)._subtract(ts),this.project(ti.getNorthWest(),tn)._subtract(ts),this.project(ti.getSouthEast(),tn)._subtract(ts),this.project(ti.getNorthEast(),tn)._subtract(ts)])},_getCenterLayerPoint(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset(ti){return this.latLngToLayerPoint(ti).subtract(this._getCenterLayerPoint())},_limitCenter(ti,tn,ts){var ta,tl;return!ts||(ta=this.project(ti,tn),tl=this.getSize().divideBy(2),tl=new tT(ta.subtract(tl),ta.add(tl)),1>=Math.abs((tl=this._getBoundsOffset(tl,ts,tn)).x)&&1>=Math.abs(tl.y))?ti:this.unproject(ta.add(tl),tn)},_limitOffset(ti,tn){var ts;return tn?(ts=this.getPixelBounds(),ts=new tT(ts.min.add(ti),ts.max.add(ti)),ti.add(this._getBoundsOffset(ts,tn))):ti},_getBoundsOffset(ti,tn,ts){return ts=(tn=new tT(this.project(tn.getNorthEast(),ts),this.project(tn.getSouthWest(),ts))).min.subtract(ti.min),tn=tn.max.subtract(ti.max),ti=this._rebound(ts.x,-tn.x),ts=this._rebound(ts.y,-tn.y),new tx(ti,ts)},_rebound:(ti,tn)=>0<ti+tn?Math.round(ti-tn)/2:Math.max(0,Math.ceil(ti))-Math.max(0,Math.floor(tn)),_limitZoom(ti){var tn=this.getMinZoom(),ts=this.getMaxZoom(),ta=this.options.zoomSnap;return ta&&(ti=Math.round(ti/ta)*ta),Math.max(tn,Math.min(ts,ti))},_onPanTransitionStep(){this.fire("move")},_onPanTransitionEnd(){this._mapPane.classList.remove("leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan(ti,tn){return ti=this._getCenterOffset(ti)._trunc(),!(!0!==tn?.animate&&!this.getSize().contains(ti)||(this.panBy(ti,tn),0))},_createAnimProxy(){this._proxy=tF("div","leaflet-proxy leaflet-zoom-animated"),this._panes.mapPane.appendChild(this._proxy),this.on("zoomanim",this._animateProxyZoom,this),this.on("load moveend",this._animMoveEnd,this),er(this._proxy,"transitionend",this._catchTransitionEnd,this)},_animateProxyZoom(ti){var tn=this._proxy.style.transform;tV(this._proxy,this.project(ti.center,ti.zoom),this.getZoomScale(ti.zoom,1)),tn===this._proxy.style.transform&&this._animatingZoom&&this._onZoomTransitionEnd()},_animMoveEnd(){var ti=this.getCenter(),tn=this.getZoom();tV(this._proxy,this.project(ti,tn),this.getZoomScale(tn,1))},_destroyAnimProxy(){this._proxy&&(eh(this._proxy,"transitionend",this._catchTransitionEnd,this),this._proxy.remove(),this.off("zoomanim",this._animateProxyZoom,this),this.off("load moveend",this._animMoveEnd,this),delete this._proxy)},_catchTransitionEnd(ti){this._animatingZoom&&ti.propertyName.includes("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom(ti,tn,ts){if(!this._animatingZoom){if(ts??={},!this._zoomAnimated||!1===ts.animate||this._nothingToAnimate()||Math.abs(tn-this._zoom)>this.options.zoomAnimationThreshold)return!1;var ta=this.getZoomScale(tn),ta=this._getCenterOffset(ti)._divideBy(1-1/ta);if(!0!==ts.animate&&!this.getSize().contains(ta))return!1;requestAnimationFrame(()=>{this._moveStart(!0,ts.noMoveStart??!1)._animateZoom(ti,tn,!0)})}return!0},_animateZoom(ti,tn,ts,ta){this._mapPane&&(ts&&(this._animatingZoom=!0,this._animateToCenter=ti,this._animateToZoom=tn,this._mapPane.classList.add("leaflet-zoom-anim")),this.fire("zoomanim",{center:ti,zoom:tn,noUpdate:ta}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._transitionEndTimer=setTimeout(this._onZoomTransitionEnd.bind(this),250))},_onZoomTransitionEnd(){this._animatingZoom&&(this._mapPane&&this._mapPane.classList.remove("leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});let eS=tb.extend({options:{position:"topright"},initialize(ti){tm(this,ti)},getPosition(){return this.options.position},setPosition(ti){var tn=this._map;return tn&&tn.removeControl(this),this.options.position=ti,tn&&tn.addControl(this),this},getContainer(){return this._container},addTo(ti){this.remove(),this._map=ti;var tn=this._container=this.onAdd(ti),ts=this.getPosition(),ti=ti._controlCorners[ts];return tn.classList.add("leaflet-control"),ts.includes("bottom")?ti.insertBefore(tn,ti.firstChild):ti.appendChild(tn),this._map.on("unload",this.remove,this),this},remove(){return this._map&&(this._container.remove(),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap(ti){this._map&&ti&&(0!==ti.screenX||0!==ti.screenY)&&this._map.getContainer().focus()}});tI.include({addControl(ti){return ti.addTo(this),this},removeControl(ti){return ti.remove(),this}
33,_initControlPos(){let ti=this._controlCorners={},tn="leaflet-",ts=this._controlContainer=tF("div",tn+"control-container",this._container);function ta(ta,tl){var tc=tn+ta+" "+tn+tl;ti[ta+tl]=tF("div",tc,ts)}ta("top","left"),ta("top","right"),ta("bottom","left"),ta("bottom","right")},_clearControlPos(){for(var ti of Object.values(this._controlCorners))ti.remove();this._controlContainer.remove(),delete this._controlCorners,delete this._controlContainer}}),tA=eS.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:(ti,tn,ts,ta)=>ts<ta?-1:ta<ts?1:0},initialize(ti,tn,ts){for(var[ta,tl]of(tm(this,ts),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,Object.entries(ti??{})))this._addLayer(tl,ta);for(var[tc,th]of Object.entries(tn??{}))this._addLayer(th,tc,!0)},onAdd(ti){for(var tn of(this._initLayout(),this._update(),(this._map=ti).on("zoomend",this._checkDisabledLayers,this),this._layers))tn.layer.on("add remove",this._onLayerChange,this);return this.options.collapsed||ti.on("resize",this._expandIfNotCollapsed,this),this._container},addTo(ti){return eS.prototype.addTo.call(this,ti),this._expandIfNotCollapsed()},onRemove(){for(var ti of(this._map.off("zoomend",this._checkDisabledLayers,this),this._layers))ti.layer.off("add remove",this._onLayerChange,this);this._map.off("resize",this._expandIfNotCollapsed,this)},addBaseLayer(ti,tn){return this._addLayer(ti,tn),this._map?this._update():this},addOverlay(ti,tn){return this._addLayer(ti,tn,!0),this._map?this._update():this},removeLayer(ti){return ti.off("add remove",this._onLayerChange,this),(ti=this._getLayer(tc(ti)))&&this._layers.splice(this._layers.indexOf(ti),1),this._map?this._update():this},expand(){this._container.classList.add("leaflet-control-layers-expanded"),this._section.style.height=null;var ti=this._map.getSize().y-(this._container.offsetTop+50);return ti<this._section.clientHeight?(this._section.classList.add("leaflet-control-layers-scrollbar"),this._section.style.height=ti+"px"):this._section.classList.remove("leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse(ti){return ti&&("pointerleave"===ti.type||"pointerout"===ti.type)&&"touch"===ti.pointerType||this._container.classList.remove("leaflet-control-layers-expanded"),this},_initLayout(){var ti="leaflet-control-layers",tn=this._container=tF("div",ti),ts=this.options.collapsed,ta=(ev(tn),eg(tn),this._section=tF("fieldset",ti+"-list")),tl=(ts&&(this._map.on("click",this.collapse,this),er(tn,{pointerenter:this._expandSafely,pointerleave:this.collapse},this)),this._layersLink=tF("a",ti+"-toggle",tn));tl.href="#",tl.title="Layers",tl.setAttribute("role","button"),er(tl,{keydown(ti){"Enter"===ti.code&&this._expandSafely()},click(ti){ey(ti),this._expandSafely()}},this),ts||this.expand(),this._baseLayersList=tF("div",ti+"-base",ta),this._separator=tF("div",ti+"-separator",ta),this._overlaysList=tF("div",ti+"-overlays",ta),tn.appendChild(ta)},_getLayer(ti){for(var tn of this._layers)if(tn&&tc(tn.layer)===ti)return tn},_addLayer(ti,tn,ts){this._map&&ti.on("add remove",this._onLayerChange,this),this._layers.push({layer:ti,name:tn,overlay:ts}),this.options.sortLayers&&this._layers.sort((ti,tn)=>this.options.sortFunction(ti.layer,tn.layer,ti.name,tn.name)),this.options.autoZIndex&&ti.setZIndex&&(this._lastZIndex++,ti.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update(){if(this._container){this._baseLayersList.replaceChildren(),this._overlaysList.replaceChildren(),this._layerControlInputs=[];let tn,ts,ta=0;for(var ti of this._layers)this._addItem(ti),ts||=ti.overlay,tn||=!ti.overlay,ta+=ti.overlay?0:1;this.options.hideSingleBase&&(tn=tn&&1<ta,this._baseLayersList.style.display=tn?"":"none"),this._separator.style.display=ts&&tn?"":"none"}return this},_onLayerChange(ti){this._handlingClick||this._update();var tn=this._getLayer(tc(ti.target)),ti=tn.overlay?"add"===ti.type?"overlayadd":"overlayremove":"add"===ti.type?"baselayerchange":null;ti&&this._map.fire(ti,tn)},_createRadioElement:(ti,tn)=>(ti=`<input type="radio" class="leaflet-control-layers-selector" name="${ti}"${tn?' checked="checked"':""}/>`,(tn=document.createElement("div")).innerHTML=ti,tn.firstChild),_addItem(ti){let tn;var ts=document.createElement("label"),ta=this._map.hasLayer(ti.layer);ti.overlay?((tn=document.createElement("input")).type="checkbox",tn.className="leaflet-control-layers-selector",tn.defaultChecked=ta):tn=this._createRadioElement("leaflet-base-layers_"+tc(this),ta),this._layerControlInputs.push(tn),tn.layerId=tc(ti.layer),er(tn,"click",this._onInputClick,this);var ta=document.createElement("span"),tl=(ta.innerHTML=" "+ti.name,document.createElement("span"));return ts.appendChild(tl),tl.appendChild(tn),tl.appendChild(ta),(ti.overlay?this._overlaysList:this._baseLayersList).appendChild(ts),this._checkDisabledLayers(),ts},_onInputClick(ti){if(!this._preventClick){var tn,ts,ta,tl=this._layerControlInputs,tc=[],th=[];for(tn of(this._handlingClick=!0,tl)){var tu=this._getLayer(tn.layerId).layer;(tn.checked?tc:(tn.checked,th)).push(tu)}for(ts of th)this._map.hasLayer(ts)&&this._map.removeLayer(ts);for(ta of tc)this._map.hasLayer(ta)||this._map.addLayer(ta);this._handlingClick=!1,this._refocusOnMap(ti)}},_checkDisabledLayers(){var ti,tn=this._layerControlInputs,ts=this._map.getZoom();for(ti of tn){var ta=this._getLayer(ti.layerId).layer;ti.disabled=void 0!==ta.options.minZoom&&ts<ta.options.minZoom||void 0!==ta.options.maxZoom&&ts>ta.options.maxZoom}},_expandIfNotCollapsed(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely(){let ti=this._section;this._preventClick=!0,er(ti,"click",ey),this.expand(),setTimeout(()=>{eh(ti,"click",ey),this._preventClick=!1})}});let eE=eS.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">−</span>',zoomOutTitle:"Zoom out"},onAdd(ti){var tn="leaflet-control-zoom",ts=tF("div",tn+" leaflet-bar"),ta=this.options;return this._zoomInButton=this._createButton(ta.zoomInText,ta.zoomInTitle,tn+"-in",ts,this._zoomIn),this._zoomOutButton=this._createButton(ta.zoomOutText,ta.zoomOutTitle,tn+"-out",ts,this._zoomOut),this._updateDisabled(),ti.on("zoomend zoomlevelschange",this._updateDisabled,this),ts},onRemove(ti){ti.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable(){return this._disabled=!0,this._updateDisabled(),this},enable(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn(ti){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(ti.shiftKey?3:1))},_zoomOut(ti){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(ti.shiftKey?3:1))},_createButton(ti,tn,ts,ta,tl){return(ts=tF("a",ts,ta)).innerHTML=ti,ts.href="#",ts.title=tn,ts.setAttribute("role","button"),ts.setAttribute("aria-label",tn),ev(ts),er(ts,"click",e_),er(ts,"click",tl,this),er(ts,"click",this._refocusOnMap,this),ts},_updateDisabled(){var ti=this._map,tn="leaflet-disabled";this._zoomInButton.classList.remove(tn),this._zoomOutButton.classList.remove(tn),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||ti._zoom===ti.getMinZoom())&&(this._zoomOutButton.classList.add(tn),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||ti._zoom===ti.getMaxZoom())&&(this._zoomInButton.classList.add(tn),this._zoomInButton.setAttribute("aria-disabled","true"))}});tI.mergeOptions({zoomControl:!0}),tI.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new eE,this.addControl(this.zoomControl))}),tz=eS.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd(ti){var tn="leaflet-control-scale",ts=tF("div",tn),ta=this.options;return this._addScales(ta,tn+"-line",ts),ti.on(ta.updateWhenIdle?"moveend":"move",this._update,this),ti.whenReady(this._update,this),ts},onRemove(ti){ti.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales(ti,tn,ts){ti.metric&&(this._mScale=tF("div",tn,ts)),ti.imperial&&(this._iScale=tF("div",tn,ts))},_update(){var ti=this._map,tn=ti.getSize().y/2,ti=ti.distance(ti.c
33ontainerPointToLatLng([0,tn]),ti.containerPointToLatLng([this.options.maxWidth,tn]));this._updateScales(ti)},_updateScales(ti){this.options.metric&&ti&&this._updateMetric(ti),this.options.imperial&&ti&&this._updateImperial(ti)},_updateMetric(ti){var tn=this._getRoundNum(ti);this._updateScale(this._mScale,tn<1e3?tn+" m":tn/1e3+" km",tn/ti)},_updateImperial(ti){var tn,ts,ti=3.2808399*ti;5280<ti?(ts=this._getRoundNum(tn=ti/5280),this._updateScale(this._iScale,ts+" mi",ts/tn)):(ts=this._getRoundNum(ti),this._updateScale(this._iScale,ts+" ft",ts/ti))},_updateScale(ti,tn,ts){ti.style.width=Math.round(this.options.maxWidth*ts)+"px",ti.innerHTML=tn},_getRoundNum(ti){var tn=10**((""+Math.floor(ti)).length-1),ti=ti/tn;return tn*(10<=ti?10:5<=ti?5:3<=ti?3:2<=ti?2:1)}});let eP=eS.extend({options:{position:"bottomright",prefix:'<a target="_blank" href="https://leafletjs.com" title="A JavaScript library for interactive maps"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>Leaflet</a>'},initialize(ti){tm(this,ti),this._attributions={}},onAdd(ti){for(var tn of((ti.attributionControl=this)._container=tF("div","leaflet-control-attribution"),ev(this._container),Object.values(ti._layers)))tn.getAttribution&&this.addAttribution(tn.getAttribution());return this._update(),ti.on("layeradd",this._addAttribution,this),this._container},onRemove(ti){ti.off("layeradd",this._addAttribution,this)},_addAttribution(ti){ti.layer.getAttribution&&(this.addAttribution(ti.layer.getAttribution()),ti.layer.once("remove",()=>this.removeAttribution(ti.layer.getAttribution())))},setPrefix(ti){return this.options.prefix=ti,this._update(),this},addAttribution(ti){return ti&&(this._attributions[ti]||(this._attributions[ti]=0),this._attributions[ti]++,this._update()),this},removeAttribution(ti){return ti&&this._attributions[ti]&&(this._attributions[ti]--,this._update()),this},_update(){var ti,tn;this._map&&(ti=Object.keys(this._attributions).filter(ti=>this._attributions[ti]),tn=[],this.options.prefix&&tn.push(this.options.prefix),ti.length&&tn.push(ti.join(", ")),this._container.innerHTML=tn.join(' <span aria-hidden="true">|</span> '))}});tI.mergeOptions({attributionControl:!0}),tI.addInitHook(function(){this.options.attributionControl&&(new eP).addTo(this)}),eS.Layers=tA,eS.Zoom=eE,eS.Scale=tz,eS.Attribution=eP,(tN=tb.extend({initialize(ti){this._map=ti},enable(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled(){return!!this._enabled}})).addTo=function(ti,tn){return ti.addHandler(tn,this),this};let eO=tw.extend({options:{clickTolerance:3},initialize(ti,tn,ts,ta){tm(this,ta),this._element=ti,this._dragStartTarget=tn??ti,this._preventOutline=ts},enable(){this._enabled||(er(this._dragStartTarget,"pointerdown",this._onDown,this),this._enabled=!0)},disable(){this._enabled&&(eO._dragging===this&&this.finishDrag(!0),eh(this._dragStartTarget,"pointerdown",this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown(ti){var tn;this._enabled&&(this._moved=!1,this._element.classList.contains("leaflet-zoom-anim")||(1!==es().length?eO._dragging===this&&this.finishDrag():eO._dragging||ti.shiftKey||0!==ti.button&&"touch"!==ti.pointerType||((eO._dragging=this)._preventOutline&&t6(this._element),t0(),tQ(),this._moving)||(this.fire("down"),tn=t2(this._element),this._startPoint=new tx(ti.clientX,ti.clientY),this._startPos=tG(this._element),this._parentScale=t5(tn),er(document,"pointermove",this._onMove,this),er(document,"pointerup pointercancel",this._onUp,this))))},_onMove(ti){var tn;this._enabled&&(1<es().length?this._moved=!0:!(tn=new tx(ti.clientX,ti.clientY)._subtract(this._startPoint)).x&&!tn.y||Math.abs(tn.x)+Math.abs(tn.y)<this.options.clickTolerance||(tn.x/=this._parentScale.x,tn.y/=this._parentScale.y,ti.cancelable&&ey(ti),this._moved||(this.fire("dragstart"),this._moved=!0,document.body.classList.add("leaflet-dragging"),this._lastTarget=ti.target??ti.srcElement,this._lastTarget.classList.add("leaflet-drag-target")),this._newPos=this._startPos.add(tn),this._moving=!0,this._lastEvent=ti,this._updatePosition()))},_updatePosition(){var ti={originalEvent:this._lastEvent};this.fire("predrag",ti),tq(this._element,this._newPos),this.fire("drag",ti)},_onUp(){this._enabled&&this.finishDrag()},finishDrag(ti){document.body.classList.remove("leaflet-dragging"),this._lastTarget&&(this._lastTarget.classList.remove("leaflet-drag-target"),this._lastTarget=null),eh(document,"pointermove",this._onMove,this),eh(document,"pointerup pointercancel",this._onUp,this),t1(),tJ();var tn=this._moved&&this._moving;this._moving=!1,eO._dragging=!1,tn&&this.fire("dragend",{noInertia:ti,distance:this._newPos.distanceTo(this._startPos)})}});function eL(ti,tn,ts){let ta,tl,tc,th,tu,td,tp,tf,tm;var tg=[1,4,2,8];for(tl=0,tp=ti.length;tl<tp;tl++)ti[tl]._code=eB(ti[tl],tn);for(th=0;th<4;th++){for(tf=tg[th],ta=[],tl=0,tc=(tp=ti.length)-1;tl<tp;tc=tl++)tu=ti[tl],td=ti[tc],tu._code&tf?td._code&tf||((tm=eD(td,tu,tf,tn,ts))._code=eB(tm,tn),ta.push(tm)):(td._code&tf&&((tm=eD(td,tu,tf,tn,ts))._code=eB(tm,tn),ta.push(tm)),ta.push(tu));ti=ta}return ti}function eM(ti,tn){let ts,ta,tl,tc,th,tu,td,tp,tf;if(!ti||0===ti.length)throw Error("latlngs not passed");eR(ti)||(console.warn("latlngs are not flat! Only the first ring will be used"),ti=ti[0]);let tm=new tC([0,0]);var tg=new tk(ti),tv=(tg.getNorthWest().distanceTo(tg.getSouthWest
33())*tg.getNorthEast().distanceTo(tg.getNorthWest())<1700&&(tm=eI(ti)),ti.length),ty=[];for(ts=0;ts<tv;ts++){var t_=new tC(ti[ts]);ty.push(tn.project(new tC([t_.lat-tm.lat,t_.lng-tm.lng])))}for(tu=td=tp=0,ts=0,ta=tv-1;ts<tv;ta=ts++)tl=ty[ts],tc=ty[ta],th=tl.y*tc.x-tc.y*tl.x,td+=(tl.x+tc.x)*th,tp+=(tl.y+tc.y)*th,tu+=3*th;return tf=0===tu?ty[0]:[td/tu,tp/tu],tg=tn.unproject(new tx(tf)),new tC([tg.lat+tm.lat,tg.lng+tm.lng])}function eI(ti){let tn=0,ts=0,ta=0;for(var tl of ti)tn+=(tl=new tC(tl)).lat,ts+=tl.lng,ta++;return new tC([tn/ta,ts/ta])}function eA(ti,tn){if(tn&&ti.length){tn*=tn;{var ts=ti=((ti,tn)=>{let ts=[ti[0]],ta=0;for(let tl=1;tl<ti.length;tl++)((ti,tn)=>{var ts=tn.x-ti.x;return ts*ts+(tn=tn.y-ti.y)*tn})(ti[tl],ti[ta])>tn&&(ts.push(ti[tl]),ta=tl);return ta<ti.length-1&&ts.push(ti[ti.length-1]),ts})(ti,tn),ta=ts.length,tl=new("undefined"!=typeof Uint8Array?Uint8Array:Array)(ta);tl[0]=tl[ta-1]=1,function ti(tn,ts,ta,tl,tc){let th=0,tu,td,tp;for(td=tl+1;td<=tc-1;td++)(tp=e$(tn[td],tn[tl],tn[tc],!0))>th&&(tu=td,th=tp);th>ta&&(ts[tu]=1,ti(tn,ts,ta,tl,tu),ti(tn,ts,ta,tu,tc))}(ts,tl,tn,0,ta-1);let tc,th=[];for(tc=0;tc<ta;tc++)tl[tc]&&th.push(ts[tc]);return th}}return ti.slice()}function ez(ti,tn,ts){return Math.sqrt(e$(ti,tn,ts,!0))}function eN(ti,tn,ts,tl,tc){let th=tl?ta:eB(ti,ts),tu=eB(tn,ts),td,tp,tf;for(ta=tu;;){if(!(th|tu))return[ti,tn];if(th&tu)return!1;tf=eB(tp=eD(ti,tn,td=th||tu,ts,tc),ts),td===th?(ti=tp,th=tf):(tn=tp,tu=tf)}}function eD(ti,tn,ts,ta,tl){let tc,th;var tu=tn.x-ti.x,tn=tn.y-ti.y,td=ta.min,ta=ta.max;return 8&ts?(tc=ti.x+tu*(ta.y-ti.y)/tn,th=ta.y):4&ts?(tc=ti.x+tu*(td.y-ti.y)/tn,th=td.y):2&ts?(tc=ta.x,th=ti.y+tn*(ta.x-ti.x)/tu):1&ts&&(tc=td.x,th=ti.y+tn*(td.x-ti.x)/tu),new tx(tc,th,tl)}function eB(ti,tn){let ts=0;return ti.x<tn.min.x?ts|=1:ti.x>tn.max.x&&(ts|=2),ti.y<tn.min.y?ts|=4:ti.y>tn.max.y&&(ts|=8),ts}function e$(ti,tn,ts,ta){let tl=tn.x,tc=tn.y,th=ts.x-tl,tu=ts.y-tc,td;return 0<(tn=th*th+tu*tu)&&(1<(td=((ti.x-tl)*th+(ti.y-tc)*tu)/tn)?(tl=ts.x,tc=ts.y):0<td&&(tl+=th*td,tc+=tu*td)),th=ti.x-tl,tu=ti.y-tc,ta?th*th+tu*tu:new tx(tl,tc)}function eR(ti){return!Array.isArray(ti[0])||"object"!=typeof ti[0][0]&&void 0!==ti[0][0]}function eH(ti,tn){let ts,ta,tl,tc,th,tu,td,tp;if(!ti||0===ti.length)throw Error("latlngs not passed");eR(ti)||(console.warn("latlngs are not flat! Only the first ring will be used"),ti=ti[0]);let tf=new tC([0,0]);var tm=new tk(ti),tg=(tm.getNorthWest().distanceTo(tm.getSouthWest
33())*tm.getNorthEast().distanceTo(tm.getNorthWest())<1700&&(tf=eI(ti)),ti.length),tv=[];for(ts=0;ts<tg;ts++){var ty=new tC(ti[ts]);tv.push(tn.project(new tC([ty.lat-tf.lat,ty.lng-tf.lng])))}for(ts=0,ta=0;ts<tg-1;ts++)ta+=tv[ts].distanceTo(tv[ts+1])/2;if(0===ta)tp=tv[0];else for(ts=0,tc=0;ts<tg-1;ts++)if(th=tv[ts],tu=tv[ts+1],(tc+=tl=th.distanceTo(tu))>ta){td=(tc-ta)/tl,tp=[tu.x-td*(tu.x-th.x),tu.y-td*(tu.y-th.y)];break}return tm=tn.unproject(new tx(tp)),new tC([tm.lat+tf.lat,tm.lng+tf.lng])}tM={__proto__:null,centroid:eI,clipPolygon:eL,polygonCenter:eM},tA={__proto__:null,_getBitCode:eB,_getEdgeIntersection:eD,_sqClosestPointOnSegment:e$,clipSegment:eN,closestPointOnSegment:function(ti,tn,ts){return e$(ti,tn,ts)},isFlat:eR,pointToSegmentDistance:ez,polylineCenter:eH,simplify:eA},tz={project:ti=>new tx(ti.lng,ti.lat),unproject:ti=>new tC(ti.y,ti.x),bounds:new tT([-180,-90],[180,90])};let eF={R:6378137,R_MINOR:6356752.314245179,bounds:new tT([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project(ti){var tn=Math.PI/180,ts=this.R,ta=this.R_MINOR/ts,ta=Math.sqrt(1-ta*ta),tl=ti.lat*tn,tc=ta*Math.sin(tl),tc=Math.tan(Math.PI/4-tl/2)/((1-tc)/(1+tc))**(ta/2),tl=-ts*Math.log(Math.max(tc,1e-10));return new tx(ti.lng*tn*ts,tl)},unproject(ti){var tn=180/Math.PI,ts=this.R,ta=this.R_MINOR/ts,tl=Math.sqrt(1-ta*ta),tc=Math.exp(-ti.y/ts);let th=Math.PI/2-2*Math.atan(tc);for(let ti=0,tn=.1,ts;ti<15&&1e-7<Math.abs(tn);ti++)ts=tl*Math.sin(th),tn=Math.PI/2-2*Math.atan(tc*((1-ts)/(1+ts))**(tl/2))-th,th+=tn;return new tC(th*tn,ti.x*tn/ts)}},eW={__proto__:null,LonLat:tz,Mercator:eF,SphericalMercator:tE};class eZ extends tS{static code="EPSG:3395";static projection=eF;static transformation=(eG=.5/(Math.PI*eF.R),new tP(eG,.5,-eG,.5))}class eV extends tS{static code="EPSG:4326";static projection=tz;static transformation=new tP(1/180,1,-1/180,.5)}class eU extends tj{static projection=tz;static transformation=new tP(1,0,-1,0);static scale(ti){return 2**ti}static zoom(ti){return Math.log(ti)/Math.LN2}static distance(ti,tn){var ts=tn.lng-ti.lng,tn=tn.lat-ti.lat;return Math.sqrt(ts*ts+tn*tn)}static infinite=!0}tj.Earth=tS,tj.EPSG3395=eZ,tj.EPSG3857=tO,tj.EPSG900913=tL,tj.EPSG4326=eV,tj.Simple=eU;var eG=tw.extend({options:{pane:"overlayPane",attribution:null,bubblingPointerEvents:!0},addTo(ti){return ti.addLayer(this),this},remove(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom(ti){return ti&&ti.removeLayer(this),this},getPane(ti){return this._map.getPane(ti?this.options[ti]||ti:this.options.pane)},addInteractiveTarget(ti){return this._map._targets[tc(ti)]=this},removeInteractiveTarget(ti){return delete this._map._targets[tc(ti)],this},getAttribution(){return this.options.attribution},_layerAdd(ti){let tn=ti.target;if(tn.hasLayer(this)){if(this._map=tn,this._zoomAnimated=tn._zoomAnimated,this.getEvents){let ti=this.getEvents();tn.on(ti,this),this.once("remove",()=>tn.off(ti,this))}this.onAdd(tn),this.fire("add"),tn.fire("layeradd",{layer:this})}}});tI.include({addLayer(ti){var tn;if(ti._layerAdd)return tn=tc(ti),this._layers[tn]||((this._layers[tn]=ti)._mapToAdd=this,ti.beforeAdd&&ti.beforeAdd(this),this.whenReady(ti._layerAdd,ti)),this;throw Error("The provided object is not a Layer.")},removeLayer(ti){var tn=tc(ti);return this._layers[tn]&&(this._loaded&&ti.onRemove(this),delete this._layers[tn],this._loaded&&(this.fire("layerremove",{layer:ti}),ti.fire("remove")),ti._map=ti._mapToAdd=null),this},hasLayer(ti){return tc(ti) in this._layers},eachLayer(ti,tn){for(var ts of Object.values(this._layers))ti.call(tn,ts);return this},_addLayers(ti){for(var tn of ti=ti?Array.isArray(ti)?ti:[ti]:[])this.addLayer(tn)},_addZoomLimit(ti){isNaN(ti.options.maxZoom)&&isNaN(ti.options.minZoom)||(this._zoomBoundLayers[tc(ti)]=ti,this._updateZoomLevels())},_removeZoomLimit(ti){ti=tc(ti),this._zoomBoundLayers[ti]&&(delete this._zoomBoundLayers[ti],this._updateZoomLevels())},_updateZoomLevels(){let ti=1/0,tn=-1/0;var ts,ta=this._getZoomSpan();for(ts of Object.values(this._zoomBoundLayers)){var tl=ts.options;ti=Math.min(ti,tl.minZoom??1/0),tn=Math.max(tn,tl.maxZoom??-1/0)}
33this._layersMaxZoom=tn===-1/0?void 0:tn,this._layersMinZoom=ti===1/0?void 0:ti,ta!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});let eY=eG.extend({initialize(ti,tn){for(var ts of(tm(this,tn),this._layers={},ti??[]))this.addLayer(ts)},addLayer(ti){var tn=this.getLayerId(ti);return this._layers[tn]=ti,this._map&&this._map.addLayer(ti),this},removeLayer(ti){return ti=ti in this._layers?ti:this.getLayerId(ti),this._map&&this._layers[ti]&&this._map.removeLayer(this._layers[ti]),delete this._layers[ti],this},hasLayer(ti){return("number"==typeof ti?ti:this.getLayerId(ti))in this._layers},clearLayers(){return this.eachLayer(this.removeLayer,this)},invoke(ti,...tn){for(var ts of Object.values(this._layers))ts[ti]&&ts[ti].apply(ts,tn);return this},onAdd(ti){this.eachLayer(ti.addLayer,ti)},onRemove(ti){this.eachLayer(ti.removeLayer,ti)},eachLayer(ti,tn){for(var ts of Object.values(this._layers))ti.call(tn,ts);return this},getLayer(ti){return this._layers[ti]},getLayers(){var ti=[];return this.eachLayer(ti.push,ti),ti},setZIndex(ti){return this.invoke("setZIndex",ti)},getLayerId:ti=>tc(ti)}),eK=eY.extend({addLayer(ti){return this.hasLayer(ti)?this:(ti.addEventParent(this),eY.prototype.addLayer.call(this,ti),this.fire("layeradd",{layer:ti}))},removeLayer(ti){return this.hasLayer(ti)?((ti=ti in this._layers?this._layers[ti]:ti).removeEventParent(this),eY.prototype.removeLayer.call(this,ti),this.fire("layerremove",{layer:ti})):this},setStyle(ti){return this.invoke("setStyle",ti)},bringToFront(){return this.invoke("bringToFront")},bringToBack(){return this.invoke("bringToBack")},getBounds(){var ti,tn=new tk;for(ti of Object.values(this._layers))tn.extend(ti.getBounds?ti.getBounds():ti.getLatLng());return tn}}),eX=tb.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize(ti){tm(this,ti)},createIcon(ti){return this._createIcon("icon",ti)},createShadow(ti){return this._createIcon("shadow",ti)},_createIcon(ti,tn){var ts=this._getIconUrl(ti);if(ts)return ts=this._createImg(ts,tn&&"IMG"===tn.tagName?tn:null),this._setIconStyles(ts,ti),(this.options.crossOrigin||""===this.options.crossOrigin)&&(ts.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),ts;if("icon"===ti)throw Error("iconUrl not set in Icon options (see the docs).");return null},_setIconStyles(ti,tn){var ts=this.options;let ta=ts[tn+"Size"];"number"==typeof ta&&(ta=[ta,ta]);var tl=tx.validate(ta)&&new tx(ta),tc="shadow"===tn&&ts.shadowAnchor||ts.iconAnchor||tl&&tl.divideBy(2,!0),tc=tx.validate(tc)&&new tx(tc);ti.className=`leaflet-marker-${tn} `+(ts.className||""),tc&&(ti.style.marginLeft=-tc.x+"px",ti.style.marginTop=-tc.y+"px"),tl&&(ti.style.width=tl.x+"px",ti.style.height=tl.y+"px")},_createImg:(ti,tn)=>((tn??=document.createElement("img")).src=ti,tn),_getIconUrl(ti){return tB.retina&&this.options[ti+"RetinaUrl"]||this.options[ti+"Url"]}}),eQ=eX.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl(ti){return eQ.imagePath||(eQ.imagePath=this._detectIconPath()),(ti=eX.prototype._getIconUrl.call(this,ti))?(this.options.imagePath||eQ.imagePath)+ti:null},_stripUrl(ti){function tn(ti,tn,ts){return(tn=tn.exec(ti))&&tn[ts]}return(ti=tn(ti,/^url\((['"])?(.+)\1\)$/,2))&&tn(ti,/^(.*)marker-icon\.png$/,1)},_detectIconPath(){var ti=tF("div","leaflet-default-icon-path",document.body),tn=this._stripUrl(getComputedStyle(ti).backgroundImage);return document.body.removeChild(ti),tn||((ti=document.querySelector('link[href$="leaflet.css"]'))?ti.href.substring(0,ti.href.length-11-1):"")}}),eJ=tN.extend({initialize(ti){this._marker=ti},addHooks(){var ti=this._marker._icon;this._draggable||(this._draggable=new eO(ti,ti,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),ti.classList.add("leaflet-marker-draggable")},removeHooks(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&this._marker._icon.classList.remove("leaflet-marker-draggable")},moved(){return this._draggable?._moved},_adjustPan(ti){var tn=this._marker,ts=tn._map,ta=this._marker.options.autoPanSpeed,tl=this._marker.options.autoPanPadding,tc=tG(tn._icon),th=ts.getPixelBounds(),tu=ts.getPixelOrigin(),tu=ne
33w tT(th.min._subtract(tu).add(tl),th.max._subtract(tu).subtract(tl));tu.contains(tc)||(tl=new tx((Math.max(tu.max.x,tc.x)-tu.max.x)/(th.max.x-tu.max.x)-(Math.min(tu.min.x,tc.x)-tu.min.x)/(th.min.x-tu.min.x),(Math.max(tu.max.y,tc.y)-tu.max.y)/(th.max.y-tu.max.y)-(Math.min(tu.min.y,tc.y)-tu.min.y)/(th.min.y-tu.min.y)).multiplyBy(ta),ts.panBy(tl,{animate:!1}),this._draggable._newPos._add(tl),this._draggable._startPos._add(tl),tq(tn._icon,this._draggable._newPos),this._onDrag(ti),this._panRequest=requestAnimationFrame(this._adjustPan.bind(this,ti)))},_onDragStart(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag(ti){this._marker.options.autoPan&&(cancelAnimationFrame(this._panRequest),this._panRequest=requestAnimationFrame(this._adjustPan.bind(this,ti)))},_onDrag(ti){var tn=this._marker,ts=tn._shadow,ta=tG(tn._icon),tl=tn._map.layerPointToLatLng(ta);ts&&tq(ts,ta),tn._latlng=tl,ti.latlng=tl,ti.oldLatLng=this._oldLatLng,tn.fire("move",ti).fire("drag",ti)},_onDragEnd(ti){cancelAnimationFrame(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",ti)}}),e0=eG.extend({options:{icon:new eQ,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingPointerEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize(ti,tn){tm(this,tn),this._latlng=new tC(ti)},onAdd(ti){this._zoomAnimated=this._zoomAnimated&&ti.options.markerZoomAnimation,this._zoomAnimated&&ti.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove(ti){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&ti.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents(){return{zoom:this.update,viewreset:this.update}},getLatLng(){return this._latlng},setLatLng(ti){var tn=this._latlng;return this._latlng=new tC(ti),this.update(),this.fire("move",{oldLatLng:tn,latlng:this._latlng})},setZIndexOffset(ti){return this.options.zIndexOffset=ti,this.update()},getIcon(){return this.options.icon},setIcon(ti){return this.options.icon=ti,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement(){return this._icon},update(){var ti;return this._icon&&this._map&&(ti=this._map.latLngToLayerPoint(this._latlng).round(),this._setPos(ti)),this},_initIcon(){var ti=this.options,tn="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),ts=ti.icon.createIcon(this._icon);let ta=!1;ts!==this._icon&&(this._icon&&this._removeIcon(),ta=!0,ti.title&&(ts.title=ti.title),"IMG"===ts.tagName)&&(ts.alt=ti.alt??""),ts.classList.add(tn),ti.keyboard&&(ts.tabIndex="0",ts.setAttribute("role","button")),this._icon=ts,ti.riseOnHover&&this.on({pointerover:this._bringToFront,pointerout:this._resetZIndex}),this.options.autoPanOnFocus&&er(ts,"focus",this._panOnFocus,this);let tl=!1;(ts=ti.icon.createShadow(this._shadow))!==this._shadow&&(this._removeShadow(),tl=!0),ts&&(ts.classList.add(tn),ts.alt=""),this._shadow=ts,ti.opacity<1&&this._updateOpacity(),ta&&this.getPane().appendChild(this._icon),this._initInteraction(),ts&&tl&&this.getPane(ti.shadowPane).appendChild(this._shadow)},_removeIcon(){this.options.riseOnHover&&this.off({pointerover:this._bringToFront,pointerout:this._resetZIndex}),this.options.autoPanOnFocus&&eh(this._icon,"focus",this._panOnFocus,this),this._icon.remove(),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow(){this._shadow&&this._shadow.remove(),this._shadow=null},_setPos(ti){this._icon&&tq(this._icon,ti),this._shadow&&tq(this._shadow,ti),this._zIndex=ti.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex(ti){this._icon&&(this._icon.style.zIndex=this._zIndex+ti)},_animateZoom(ti){ti=this._map._latLngToNewLayerPoint(this._latlng,ti.zoom,ti.center).round(),this._setPos(ti)},_initInteraction(){if(this.options.interactive&&(this._icon.classList.add("leaflet-interactive"),this.addInteractiveTarget(this._icon),eJ)){let ti=this.options.draggable;this.dragging&&(ti=this.dragging.enabled(),this.dragging.disable()),this.dragging=new eJ(this),ti&&this.dragging.enable()}},setOpacity(ti){return this.options.opacity=ti,this._map&&this._updateOpacity(),this},_updateOpacity(){var ti=this.options.opacity;this._icon&&(this._icon.style.opacity=ti),this._shadow&&(this._shadow.style.opacity=ti)},_bringToFront(){this._updateZIndex(this.options.riseOffset)},_resetZIndex(){this._updateZIndex(0)},_panOnFocus(){var ti,tn,ts=this._map;ts&&(ti=(tn=this.options.icon.options).iconSize?new tx(tn.iconSize):new tx(0,0),tn=tn.iconAnchor?new tx(tn.iconAnchor):new tx(0,0),ts.panInside(this._latlng,{paddingTopLeft:tn,paddingBottomRight:ti.subtract(tn)}))},_getPopupAnchor(){return this.options.icon.options.popupAnchor},_getTooltipAnchor(){return this.options.icon.options.tooltipAnchor}}),e1=eG.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,f
33illRule:"evenodd",interactive:!0,bubblingPointerEvents:!0},beforeAdd(ti){this._renderer=ti.getRenderer(this)},onAdd(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove(){this._renderer._removePath(this)},redraw(){return this._map&&this._renderer._updatePath(this),this},setStyle(ti){return tm(this,ti),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke)&&ti&&Object.hasOwn(ti,"weight")&&this._updateBounds(),this},bringToFront(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack(){return this._renderer&&this._renderer._bringToBack(this),this},getElement(){return this._path},_reset(){this._project(),this._update()},_clickTolerance(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}});var tz=e1.extend({options:{fill:!0,radius:10},initialize(ti,tn){tm(this,tn),this._latlng=new tC(ti),this._radius=this.options.radius},setLatLng(ti){var tn=this._latlng;return this._latlng=new tC(ti),this.redraw(),this.fire("move",{oldLatLng:tn,latlng:this._latlng})},getLatLng(){return this._latlng},setRadius(ti){return this.options.radius=this._radius=ti,this.redraw()},getRadius(){return this._radius},setStyle(ti){var tn=ti?.radius??this._radius;return e1.prototype.setStyle.call(this,ti),this.setRadius(tn),this},_project(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds(){var ti=this._radius,tn=this._radiusY??ti,ts=this._clickTolerance(),ti=[ti+ts,tn+ts];this._pxBounds=new tT(this._point.subtract(ti),this._point.add(ti))},_update(){this._map&&this._updatePath()},_updatePath(){this._renderer._updateCircle(this)},_empty(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint(ti){return ti.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),e6=tz.extend({initialize(ti,tn){if(tm(this,tn),this._latlng=new tC(ti),isNaN(this.options.radius))throw Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius(ti){return this._mRadius=ti,this.redraw()},getRadius(){return this._mRadius},getBounds(){var ti=[this._radius,this._radiusY??this._radius];return new tk(this._map.layerPointToLatLng(this._point.subtract(ti)),this._map.layerPointToLatLng(this._point.add(ti)))},setStyle:e1.prototype.setStyle,_project(){var ti=this._latlng.lng,tn=this._latlng.lat,ts=this._map,ta=ts.options.crs;if(ta.distance===tS.distance){var tl=Math.PI/180,tc=this._mRadius/tS.R/tl,th=ts.project([tn+tc,ti]),tu=ts.project([tn-tc,ti]),tu=th.add(tu).divideBy(2),td=ts.unproject(tu).lat;let ta=Math.acos((Math.cos(tc*tl)-Math.sin(tn*tl)*Math.sin(td*tl))/(Math.cos(tn*tl)*Math.cos(td*tl)))/tl;(isNaN(ta)||0===ta)&&(ta=tc/Math.cos(Math.PI/180*tn)),this._point=tu.subtract(ts.getPixelOrigin()),this._radius=isNaN(ta)?0:tu.x-ts.project([td,ti-ta]).x,this._radiusY=tu.y-th.y}else tl=ta.unproject(ta.project(this._latlng).subtract([this._mRadius,0])),this._point=ts.latLngToLayerPoint(this._latlng),this._radius=Math.abs(this._point.x-ts.latLngToLayerPoint(tl).x);this._updateBounds()}});let e4=e1.extend({options:{smoothFactor:1,noClip:!1},initialize(ti,tn){tm(this,tn),this._setLatLngs(ti)},getLatLngs(){return this._latlngs},setLatLngs(ti){return this._setLatLngs(ti),this.redraw()},isEmpty(){return!this._latlngs.length},closestLayerPoint(ti){let tn=1/0,ts=null,ta,tl;var tc,th=e$;for(tc of this._parts)for(let td=1,tp=tc.length;td<tp;td++){var tu=th(ti,ta=tc[td-1],tl=tc[td],!0);tu<tn&&(tn=tu,ts=th(ti,ta,tl))}return ts&&(ts.distance=Math.sqrt(tn)),ts},getCenter(){if(this._map)return eH(this._defaultShape(),this._map.options.crs);throw Error("Must add layer to map before using getCenter()")},getBounds(){return this._bounds},addLatLng(ti,tn){return tn??=this._defaultShape(),ti=new tC(ti),tn.push(ti),this._bounds.extend(ti),this.redraw()},_setLatLngs(ti){this._bounds=new tk,this._latlngs=this._convertLatLngs(ti)},_defaultShape(){return eR(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs(ti){var tn=[],ts=eR(ti);for(let ta=0,tl=ti.length;ta<tl;ta++)ts?(tn[ta]=new tC(ti[ta]),this._bounds.extend(tn[ta])):tn[ta]=this._convertLatLngs(ti[ta]);return tn},_project(){var ti=new tT;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,ti),this._bounds.isValid()&&ti.isValid()&&(this._rawPxBounds=ti,this._updateBounds())},_updateBounds(){var ti=this._clickTolerance(),ti=new tx(ti,ti);this._rawPxBounds&&(this._pxBounds=new tT([this._rawPxBounds.min.subtract(ti),this._rawPxBounds.max.add(ti)]))},_projectLatlngs(ti,tn,ts){var ta;ti[0]instanceof tC?((ta=ti.map(ti=>
33this._map.latLngToLayerPoint(ti))).forEach(ti=>ts.extend(ti)),tn.push(ta)):ti.forEach(ti=>this._projectLatlngs(ti,tn,ts))},_clipPoints(){var ti=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(ti)){if(this.options.noClip)this._parts=this._rings;else{let ts,ta,tl,tc,th,tu,td;var tn=this._parts;for(ts=0,tl=0,tc=this._rings.length;ts<tc;ts++)for(td=this._rings[ts],ta=0,th=td.length;ta<th-1;ta++)(tu=eN(td[ta],td[ta+1],ti,ta,!0))&&(tn[tl]??=[],tn[tl].push(tu[0]),tu[1]===td[ta+1]&&ta!==th-2||(tn[tl].push(tu[1]),tl++))}}},_simplifyPoints(){var ti=this._parts,tn=this.options.smoothFactor;for(let ts=0,ta=ti.length;ts<ta;ts++)ti[ts]=eA(ti[ts],tn)},_update(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath(){this._renderer._updatePoly(this)},_containsPoint(ti,tn){let ts,ta,tl,tc,th,tu;var td=this._clickTolerance();if(this._pxBounds&&this._pxBounds.contains(ti)){for(ts=0,tc=this._parts.length;ts<tc;ts++)for(tu=this._parts[ts],ta=0,tl=(th=tu.length)-1;ta<th;tl=ta++)if((tn||0!==ta)&&ez(ti,tu[tl],tu[ta])<=td)return!0}return!1}}),e2=e4.extend({options:{fill:!0},isEmpty(){return!this._latlngs.length||!this._latlngs[0].length},getCenter(){if(this._map)return eM(this._defaultShape(),this._map.options.crs);throw Error("Must add layer to map before using getCenter()")},_convertLatLngs(ti){var ti=e4.prototype._convertLatLngs.call(this,ti),tn=ti.length;return 2<=tn&&ti[0]instanceof tC&&ti[0].equals(ti[tn-1])&&ti.pop(),ti},_setLatLngs(ti){e4.prototype._setLatLngs.call(this,ti),eR(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape(){return(eR(this._latlngs[0])?this._latlngs:this._latlngs[0])[0]},_clipPoints(){let ti=this._renderer._bounds;var tn=this.options.weight,tn=new tx(tn,tn);if(ti=new tT(ti.min.subtract(tn),ti.max.add(tn)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(ti)){if(this.options.noClip)this._parts=this._rings;else for(var ts of this._rings)(ts=eL(ts,ti,!0)).length&&this._parts.push(ts)}},_updatePath(){this._renderer._updatePoly(this,!0)},_containsPoint(ti){let tn=!1,ts,ta,tl,tc,th,tu,td,tp;if(!this._pxBounds||!this._pxBounds.contains(ti))return!1;for(tc=0,td=this._parts.length;tc<td;tc++)for(ts=this._parts[tc],th=0,tu=(tp=ts.length)-1;th<tp;tu=th++)ta=ts[th],tl=ts[tu],ta.y>ti.y!=tl.y>ti.y&&ti.x<(tl.x-ta.x)*(ti.y-ta.y)/(tl.y-ta.y)+ta.x&&(tn=!tn);return tn||e4.prototype._containsPoint.call(this,ti,!0)}});var e5=eK.extend({initialize(ti,tn){tm(this,tn),this._layers={},ti&&this.addData(ti)},addData(ti){var tn=Array.isArray(ti)?ti:ti.features;if(tn){for(var ts of tn)(ts.geometries||ts.geometry||ts.features||ts.coordinates)&&this.addData(ts);return this}var ta,tn=this.options;return(!tn.filter||tn.filter(ti))&&(ta=e8(ti,tn))?(ta.feature=ir(ti),ta.defaultOptions=ta.options,this.resetStyle(ta),tn.onEachFeature&&tn.onEachFeature(ti,ta),this.addLayer(ta)):this},resetStyle(ti){return void 0===ti?this.eachLayer(this.resetStyle,this):(ti.options=Object.create(ti.defaultOptions),this._setLayerStyle(ti,this.options.style),this)},setStyle(ti){return this.eachLayer(tn=>this._setLayerStyle(tn,ti))},_setLayerStyle(ti,tn){ti.setStyle&&("function"==typeof tn&&(tn=tn(ti.feature)),ti.setStyle(tn))}});function e8(ti,tn){let ts,ta;var tl="Feature"===ti.type?ti.geometry:ti,tc=tl?.coordinates,th=[],tu=tn?.pointToLayer,td=tn?.coordsToLatLng??e3;if(!tc&&!tl)return null;switch(tl.type){case"Point":return e7(tu,ti,ts=td(tc),tn);case"MultiPoint":for(var tp of tc)ts=td(tp),th.push(e7(tu,ti,ts,tn));return new eK(th);case"LineString":case"MultiLineString":return ta=e9(tc,"LineString"===tl.type?0:1,td),new e4(ta,tn);case"Polygon":case"MultiPolygon":return ta=e9(tc,"Polygon"===tl.type?1:2,td),new e2(ta,tn);case"GeometryCollection":for(var tf of tl.geometries)(tf=e8({geometry:tf,type:"Feature",properties:ti.properties},tn))&&th.push(tf);return new eK(th);case"FeatureCollection":for(var tm of tl.features)(tm=e8(tm,tn))&&th.push(tm);return new eK(th);default:throw Error("Invalid GeoJSON object.")}}function e7(ti,tn,ts,ta){return ti?ti(tn,ts):new e0(ts,ta?.markersInheritOptions&&ta)}function e3(ti){return new tC(ti[1],ti[0],ti[2])}function e9(ti,tn,ts){return ti.map(ti=>tn?e9(ti,tn-1,ts):(ts||e3)(ti))}function ii(ti,tn){return void 0!==(ti=new tC(ti)).alt?[tp(ti.lng,tn),tp(ti.lat,tn),tp(ti.alt,tn)]:[tp(ti.lng,tn),tp(ti.lat,tn)]}function io(ti,tn,ts,ta){return ti=ti.map(ti=>tn?io(ti,eR(ti)?0:tn-1,ts,ta):ii(ti,ta)),!tn&&ts&&0<ti.length&&ti.push(ti[0].slice()),ti}function is(ti,tn){return ti.feature?{...ti.feature,geometry:tn}:ir(tn)}function ir(ti){return"Feature"===ti.type||"FeatureCollection"===ti.type?ti:{type:"Feature",properties:{},geometry:ti}}var ia={toGeoJSON(ti){return is(this,{type:"Point",coordinates:ii(this.getLatLng(),ti)})}};e0.include(ia),e6.include(ia),tz.include(ia),e4.include({toGeoJSON(ti){var tn=!eR(this._latlngs);return is(this,{type:`${tn?"Multi":""}LineString`,coordinates:io(this._latlngs,tn?1:0,!1,ti)})}}),e2.include({toGeoJSON(ti){var tn=!eR(this._latlngs),ts=tn&&!eR(this._latlngs[0]);
33let ta=io(this._latlngs,ts?2:tn?1:0,!0,ti);return is(this,{type:`${ts?"Multi":""}Polygon`,coordinates:ta=tn?ta:[ta]})}}),eY.include({toMultiPoint(ti){let tn=[];return this.eachLayer(ts=>{tn.push(ts.toGeoJSON(ti).geometry.coordinates)}),is(this,{type:"MultiPoint",coordinates:tn})},toGeoJSON(ti){var tn=this.feature?.geometry?.type;if("MultiPoint"===tn)return this.toMultiPoint(ti);let ts="GeometryCollection"===tn,ta=[];return this.eachLayer(tn=>{tn.toGeoJSON&&(tn=tn.toGeoJSON(ti),ts?ta.push(tn.geometry):"FeatureCollection"===(tn=ir(tn)).type?ta.push.apply(ta,tn.features):ta.push(tn))}),ts?is(this,{geometries:ta,type:"GeometryCollection"}):{type:"FeatureCollection",features:ta}}});let il=eG.extend({options:{padding:.1,continuous:!1},initialize(ti){tm(this,ti)},onAdd(){this._container||(this._initContainer(),this._container.classList.add("leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._resizeContainer(),this._onMoveEnd()},onRemove(){this._destroyContainer()},getEvents(){var ti={viewreset:this._reset,zoom:this._onZoom,moveend:this._onMoveEnd,zoomend:this._onZoomEnd,resize:this._resizeContainer};return this._zoomAnimated&&(ti.zoomanim=this._onAnimZoom),this.options.continuous&&(ti.move=this._onMoveEnd),ti},_onAnimZoom(ti){this._updateTransform(ti.center,ti.zoom)},_onZoom(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform(ti,tn){var ts=this._map.getZoomScale(tn,this._zoom),ta=this._map.getSize().multiplyBy(.5+this.options.padding),tl=this._map.project(this._center,tn),ta=ta.multiplyBy(-ts).add(tl).subtract(this._map._getNewPixelOrigin(ti,tn));tV(this._container,ta,ts)},_onMoveEnd(ti){var tn=this.options.padding,ts=this._map.getSize(),ta=this._map.containerPointToLayerPoint(ts.multiplyBy(-tn)).round();this._bounds=new tT(ta,ta.add(ts.multiplyBy(1+2*tn)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom(),this._updateTransform(this._center,this._zoom),this._onSettled(ti)},_reset(){this._onSettled(),this._updateTransform(this._center,this._zoom),this._onViewReset()},_initContainer(){this._container=tF("div")},_destroyContainer(){eh(this._container),this._container.remove(),delete this._container},_resizeContainer(){var ti=this.options.padding,ti=this._map.getSize().multiplyBy(1+2*ti).round();return this._container.style.width=ti.x+"px",this._container.style.height=ti.y+"px",ti},_onZoomEnd:td,_onViewReset:td,_onSettled:td});var ia=eG.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:"",decoding:"auto"},initialize(ti,tn,ts){this._url=ti,this._bounds=new tk(tn),tm(this,ts)},onAdd(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(this._image.classList.add("leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove(){this._image.remove(),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity(ti){return this.options.opacity=ti,this._image&&this._updateOpacity(),this},setStyle(ti){return ti.opacity&&this.setOpacity(ti.opacity),this},bringToFront(){return this._map&&tW(this._image),this},bringToBack(){return this._map&&tZ(this._image),this},setUrl(ti){return this._url=ti,this._image&&(this._image.src=ti),this},setBounds(ti){return this._bounds=new tk(ti),this._map&&this._reset(),this},getEvents(){var ti={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(ti.zoomanim=this._animateZoom),ti},setZIndex(ti){return this.options.zIndex=ti,this._updateZIndex(),this},getBounds(){return this._bounds},getElement(){return this._image},_initImage(){var ti="IMG"===this._url.tagName,tn=this._image=ti?this._url:tF("img");tn.classList.add("leaflet-image-layer"),this._zoomAnimated&&tn.classList.add("leaflet-zoom-animated"),this.options.className&&tn.classList.add(...tf(this.options.className)),tn.onselectstart=td,tn.onpointermove=td,tn.onload=this.fire.bind(this,"load"),tn.onerror=this._overlayOnError.bind(this),(this.options.crossOrigin||""===this.options.crossOrigin)&&(tn.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),tn.decoding=this.options.decoding,this.options.zIndex&&this._updateZIndex(),ti?this._url=tn.src:(tn.src=this._url,tn.alt=this.options.alt)},_animateZoom(ti){var tn=this._map.getZoomScale(ti.zoom),ti=this._map._latLngBoundsToNewLayerBounds(this._bounds,ti.zoom,ti.center).min;tV(this._image,ti,tn)},_reset(){var ti=this._image,tn=new tT(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),ts=tn.getSize();tq(ti,tn.min),ti.style.width=ts.x+"px",ti.style.height=ts.y+"px"},_updateOpacity(){this._image.style.opacity=this.options.opacity},_updateZIndex(){this._image&&null!=this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError(){this.fire("error");var ti=this.options.errorOverlayUrl;ti&&this._url!==ti&&(this._url=ti,this._image.src=ti)},getCenter(){return this._bounds.getCenter()}}),ic=ia.extend({options:{autoplay:!0,controls:!1,loop:!0,keepAspectRatio:!0,muted:!1,playsInl
33ine:!0},_initImage(){var ti,tn="VIDEO"===this._url.tagName;let ts=this._image=tn?this._url:tF("video");if(ts.classList.add("leaflet-image-layer"),this._zoomAnimated&&ts.classList.add("leaflet-zoom-animated"),this.options.className&&ts.classList.add(...tf(this.options.className)),er(ts,"pointerdown",ti=>{ts.controls&&em(ti)}),ts.onloadeddata=this.fire.bind(this,"load"),tn)ti=(tn=ts.getElementsByTagName("source")).map(ti=>ti.src),this._url=0<tn.length?ti:[ts.src];else for(var ta of(Array.isArray(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.hasOwn(ts.style,"objectFit")&&(ts.style.objectFit="fill"),ts.autoplay=!!this.options.autoplay,ts.controls=!!this.options.controls,ts.loop=!!this.options.loop,ts.muted=!!this.options.muted,ts.playsInline=!!this.options.playsInline,this._url)){var tl=tF("source");tl.src=ta,ts.appendChild(tl)}}}),ih=ia.extend({_initImage(){var ti=this._image=this._url;ti.classList.add("leaflet-image-layer"),this._zoomAnimated&&ti.classList.add("leaflet-zoom-animated"),this.options.className&&ti.classList.add(...tf(this.options.className)),ti.onselectstart=td,ti.onpointermove=td}});let iu=eG.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize(ti,tn){ti instanceof tC||Array.isArray(ti)?(this._latlng=new tC(ti),tm(this,tn)):(tm(this,ti),this._source=tn),this.options.content&&(this._content=this.options.content)},openOn(ti){return(ti=arguments.length?ti:this._source._map).hasLayer(this)||ti.addLayer(this),this},close(){return this._map&&this._map.removeLayer(this),this},toggle(ti){return this._map?this.close():(arguments.length?this._source=ti:ti=this._source,this._prepareOpen(),this.openOn(ti._map)),this},onAdd(ti){this._zoomAnimated=ti._zoomAnimated,this._container||this._initLayout(),ti._fadeAnimated&&(this._container.style.opacity=0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),ti._fadeAnimated&&(this._container.style.opacity=1),this.bringToFront(),this.options.interactive&&(this._container.classList.add("leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove(ti){ti._fadeAnimated?(this._container.style.opacity=0,this._removeTimeout=setTimeout(()=>this._container.remove(),200)):this._container.remove(),this.options.interactive&&(this._container.classList.remove("leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng(){return this._latlng},setLatLng(ti){return this._latlng=new tC(ti),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent(){return this._content},setContent(ti){return this._content=ti,this.update(),this},getElement(){return this._container},update(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents(){var ti={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(ti.zoomanim=this._animateZoom),ti},isOpen(){return!!this._map&&this._map.hasLayer(this)},bringToFront(){return this._map&&tW(this._container),this},bringToBack(){return this._map&&tZ(this._container),this},_prepareOpen(ti){let tn=this._source;if(!tn._map)return!1;if(tn instanceof eK){for(var ts of(tn=null,Object.values(this._source._layers)))if(ts._map){tn=ts;break}if(!tn)return!1;this._source=tn}if(!ti){if(tn.getCenter)ti=tn.getCenter();else if(tn.getLatLng)ti=tn.getLatLng();else{if(!tn.getBounds)throw Error("Unable to get source layer LatLng.");ti=tn.getBounds().getCenter()}}return this.setLatLng(ti),this._map&&this.update(),!0},_updateContent(){if(this._content){var ti=this._contentNode,tn="function"==typeof this._content?this._content(this._source??this):this._content;if("string"==typeof tn)ti.innerHTML=tn;else{for(;ti.hasChildNodes();)ti.removeChild(ti.firstChild);ti.appendChild(tn)}this.fire("contentupdate")}},_updatePosition(){if(this._map){var ti=this._map.latLngToLayerPoint(this._latlng),tn=this._getAnchor();let ts=new tx(this.options.offset);this._zoomAnimated?tq(this._container,ti.add(tn)):ts=ts.add(ti).add(tn),ti=this._containerBottom=-ts.y,tn=this._containerLeft=-Math.round(this._containerWidth/2)+ts.x,this._container.style.bottom=ti+"px",this._container.style.left=tn+"px"}},_getAnchor:()=>[0,0]}),ip=(tI.include({_initOverlay(ti,tn,ts,ta){let tl=tn;
33return tl instanceof ti||(tl=new ti(ta).setContent(tn)),ts&&tl.setLatLng(ts),tl}}),eG.include({_initOverlay(ti,tn,ts,ta){let tl=ts;return tl instanceof ti?(tm(tl,ta),tl._source=this):(tl=tn&&!ta?tn:new ti(ta,this)).setContent(ts),tl}}),iu.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,closeButtonLabel:"Close popup",autoClose:!0,closeOnEscapeKey:!0,className:"",trackResize:!0},openOn(ti){return!(ti=arguments.length?ti:this._source._map).hasLayer(this)&&ti._popup&&ti._popup.options.autoClose&&ti.removeLayer(ti._popup),ti._popup=this,iu.prototype.openOn.call(this,ti)},onAdd(ti){iu.prototype.onAdd.call(this,ti),ti.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof e1||this._source.on("preclick",em))},onRemove(ti){iu.prototype.onRemove.call(this,ti),ti.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof e1||this._source.off("preclick",em))},getEvents(){var ti=iu.prototype.getEvents.call(this);return(this.options.closeOnClick??this._map.options.closePopupOnClick)&&(ti.preclick=this.close),this.options.keepInView&&(ti.moveend=this._adjustPan),ti},_initLayout(){var ti="leaflet-popup",tn=this._container=tF("div",ti+` ${this.options.className||""} leaflet-zoom-animated`),ts=this._wrapper=tF("div",ti+"-content-wrapper",tn);this._contentNode=tF("div",ti+"-content",ts),ev(tn),eg(this._contentNode),er(tn,"contextmenu",em),this._tipContainer=tF("div",ti+"-tip-container",tn),this._tip=tF("div",ti+"-tip",this._tipContainer),this.options.closeButton&&((ts=this._closeButton=tF("a",ti+"-close-button",tn)).setAttribute("role","button"),ts.setAttribute("aria-label",this.options.closeButtonLabel),ts.href="#close",ts.innerHTML='<span aria-hidden="true">×</span>',er(ts,"click",ti=>{ey(ti),this.close()})),this.options.trackResize&&(this._resizeObserver=new ResizeObserver(ti=>{this._map&&(this._containerWidth=ti[0]?.contentRect?.width,this._containerHeight=ti[0]?.contentRect?.height,this._updateLayout(),this._updatePosition(),this._adjustPan())}),this._resizeObserver.observe(this._contentNode))},_updateLayout(){var ti=this._contentNode,tn=ti.style,ts=(tn.width="",tn.whiteSpace="nowrap",tn.maxWidth=this.options.maxWidth+"px",tn.minWidth=this.options.minWidth+"px",tn.whiteSpace="",tn.height="",this._containerHeight??ti.offsetHeight),ta=this.options.maxHeight,tl="leaflet-popup-scrolled";ta&&ta<ts?(tn.height=ta+"px",ti.classList.add(tl)):ti.classList.remove(tl),this._containerWidth=this._container.offsetWidth,this._containerHeight=this._container.offsetHeight},_animateZoom(ti){var ti=this._map._latLngToNewLayerPoint(this._latlng,ti.zoom,ti.center),tn=this._getAnchor();tq(this._container,ti.add(tn))},_adjustPan(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var ti=this._map,tn=parseInt(getComputedStyle(this._container).marginBottom,10)||0,tn=this._containerHeight+tn,ts=this._containerWidth,ta=new tx(this._containerLeft,-tn-this._containerBottom),ta=(ta._add(tG(this._container)),ti.layerPointToContainerPoint(ta)),tl=new tx(this.options.autoPanPadding),tc=new tx(this.options.autoPanPaddingTopLeft??tl),tl=new tx(this.options.autoPanPaddingBottomRight??tl),th=ti.getSize();let tu=0,td=0;ta.x+ts+tl.x>th.x&&(tu=ta.x+ts-th.x+tl.x),ta.x-tu-tc.x<0&&(tu=ta.x-tc.x),ta.y+tn+tl.y>th.y&&(td=ta.y+tn-th.y+tl.y),ta.y-td-tc.y<0&&(td=ta.y-tc.y),(tu||td)&&(this.options.keepInView&&(this._autopanning=!0),ti.fire("autopanstart").panBy([tu,td]))}}},_getAnchor(){return new tx(this._source?._getPopupAnchor?this._source._getPopupAnchor():[0,0])}})),im=(tI.mergeOptions({closePopupOnClick:!0}),tI.include({openPopup(ti,tn,ts){return this._initOverlay(ip,ti,tn,ts).openOn(this),this},closePopup(ti){return(ti=arguments.length?ti:this._popup)&&ti.close(),this}}),eG.include({bindPopup(ti,tn){return this._popup=this._initOverlay(ip,this._popup,ti,tn),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup(ti){return this._popup&&(this instanceof eK||(this._popup._source=this),this._popup._prepareOpen(ti||this._latlng))&&this._popup.openOn(this._map),this},closePopup(){return this._popup&&this._popup.close(),this},togglePopup(){return this._popup&&this._popup.toggle(this),this},isPopupOpen(){return!!this._popup&&this._popup.isOpen()},setPopupContent(ti){return this._popup&&this._popup.setContent(ti),this},getPopup(){return this._popup},_openPopup(ti){var tn;this._popup&&this._map&&(e_(ti),tn=ti.propagatedFrom??ti.target,this._popup._source!==tn||tn instanceof e1?(this._popup._source=tn,this.openPopup(ti.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(ti.latlng))},_movePopup(ti){this._popup.setLatLng(ti.latlng)},_onKeyPress(ti){"Enter"===ti.originalEvent.code&&this._openPopup(ti)}}),iu.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd(ti){iu.prototype.onAdd.call(this,ti),this.setOpacity(this.options.opacity),ti.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove(ti){iu.prototype.onRemove.call(this,ti),ti.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents(){var ti=iu.prototype.getEvents.call(this);return this.options.permanent||(ti.preclick=this.close),ti},_initLayout(){var ti=`leaflet-tooltip ${this.options.className||""} leaflet-zoom-`+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=tF("div",ti),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+tc(this))},_updateLayout(){},_adjustPan(){},_setPosition(ti){let tn,ts,ta=this.options.direction;var tl=this._map,tc=this._container,th=tl.latLngToContainerPoint(tl.getCenter()),tl=tl.layerPointToContainerPoint(ti),tu=tc.offsetWidth,td=tc.offsetHeight,tp=new tx(this.options.offset),tf=this._getAnchor();ts="top"===ta?(tn=tu/2,td):"bottom"===ta?(tn=tu/2,0):(tn="center"===ta?tu/2:"right"===ta?0:"left"===ta?tu:tl.x<th.x?(ta="right",0):(ta="left",tu+2*(tp.x+tf.x)),td/2),ti=ti.subtract(new tx(tn,ts,!0)).add(tp).add(tf),tc.classList.remove("leaflet-tooltip-right","leaflet-tooltip-left","leaflet-tooltip-top","leaflet-tooltip-bottom"),tc.classList.add("leaflet-tooltip-"+ta),tq(tc,ti)},_updatePosition(){var ti=this._map.latLngToLayerPoint(this._latlng);this._setPosition(ti)},setOpacity(ti){this.options.opacity=ti,this._container&&(this._container.style.opacity=ti)},_animateZoom(ti){ti=this._map._latLngToNewLayerPoint(this._latlng,ti.zoom,ti.center),this._setPosition(ti)},_getAnchor(){return new tx(this._source?._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}));tI.include({openTooltip(ti,tn,ts){return this._initOverlay(im,ti,tn,ts).openOn(this),this},closeTooltip(ti){return ti.close(),this}}),eG.include({bindTooltip(ti,tn){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(im,this._tooltip,ti,tn),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions(ti){var tn,ts;!ti&&this._tooltipHandlersAdded||(tn=ti?"off":"on",ts={remove:this.closeTooltip,move:this._moveTooltip},this._tooltip.options.permanent?ts.add=this._openTooltip:(ts.pointerover=this._openTooltip,ts.pointerout=this.closeTooltip,ts.click=this._openTooltip,this._map?this._addFocusListeners(ti):ts.add=()=>this._addFocusListeners(ti)),this._tooltip.options.sticky&&(ts.pointermove=this._moveTooltip),this[tn](ts),this._tooltipHandlersAdded=!ti)},openTooltip(ti){return this._tooltip&&(this instanceof eK||(this._tooltip._source=this),this._tooltip._prepareOpen(ti))&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this)),this},closeTooltip(){if(this._tooltip)return this._tooltip.close()},toggleTooltip(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen(){return this._tooltip.isOpen()},setTooltipContent(ti){return this._tooltip&&this._tooltip.setContent(ti),this},getTooltip(){return this._tooltip},_addFocusListeners(ti){this.getElement?this._addFocusListenersOnLayer(this,ti):this.eachLayer&&this.eachLayer(tn=>this._addFocusListenersOnLayer(tn,ti),this)},_addFocusListenersOnLayer(ti,tn){var ts,ta="function"==typeof ti.getElement&&ti.getElement();ta&&(ts=tn?"off":"on",tn||(ta._leaflet_focus_handler&&eh(ta,"focu
33s",ta._leaflet_focus_handler,this),ta._leaflet_focus_handler=()=>{this._tooltip&&(this._tooltip._source=ti,this.openTooltip())}),ta._leaflet_focus_handler&&eC[ts](ta,"focus",ta._leaflet_focus_handler,this),eC[ts](ta,"blur",this.closeTooltip,this),tn)&&delete ta._leaflet_focus_handler},_setAriaDescribedByOnLayer(ti){(ti="function"==typeof ti.getElement&&ti.getElement())&&ti.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip(ti){this._tooltip&&this._map&&(this._map.dragging&&this._map.dragging.moving()?"add"!==ti.type||this._moveEndOpensTooltip||(this._moveEndOpensTooltip=!0,this._map.once("moveend",()=>{this._moveEndOpensTooltip=!1,this._openTooltip(ti)})):(this._tooltip._source=ti.propagatedFrom??ti.target,this.openTooltip(this._tooltip.options.sticky?ti.latlng:void 0)))},_moveTooltip(ti){let tn=ti.latlng,ts,ta;this._tooltip.options.sticky&&ti.originalEvent&&(ts=this._map.pointerEventToContainerPoint(ti.originalEvent),ta=this._map.containerPointToLayerPoint(ts),tn=this._map.layerPointToLatLng(ta)),this._tooltip.setLatLng(tn)}});var ig=eX.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon(ti){var ti=ti&&"DIV"===ti.tagName?ti:document.createElement("div"),tn=this.options;return tn.html instanceof Element?(ti.replaceChildren(),ti.appendChild(tn.html)):ti.innerHTML=!1!==tn.html?tn.html:"",tn.bgPos&&(tn=new tx(tn.bgPos),ti.style.backgroundPosition=-tn.x+`px ${-tn.y}px`),this._setIconStyles(ti,"icon"),ti},createShadow:()=>null});eX.Default=eQ;let iv=eG.extend({options:{tileSize:256,opacity:1,updateWhenIdle:tB.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize(ti){tm(this,ti)},onAdd(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd(ti){ti._addZoomLimit(this)},onRemove(ti){this._removeAllTiles(),this._container.remove(),ti._removeZoomLimit(this),this._container=null,this._tileZoom=void 0,clearTimeout(this._pruneTimeout)},bringToFront(){return this._map&&(tW(this._container),this._setAutoZIndex(Math.max)),this},bringToBack(){return this._map&&(tZ(this._container),this._setAutoZIndex(Math.min)),this},getContainer(){return this._container},setOpacity(ti){return this.options.opacity=ti,this._updateOpacity(),this},setZIndex(ti){return this.options.zIndex=ti,this._updateZIndex(),this},isLoading(){return this._loading},redraw(){var ti;return this._map&&(this._removeAllTiles(),(ti=this._clampZoom(this._map.getZoom()))!==this._tileZoom&&(this._tileZoom=ti,this._updateLevels()),this._update()),this},getEvents(){var ti={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=th(this._onMoveEnd,this.options.updateInterval,this)),ti.move=this._onMove),this._zoomAnimated&&(ti.zoomanim=this._animateZoom),ti},createTile:()=>document.createElement("div"),getTileSize(){var ti=this.options.tileSize;return ti instanceof tx?ti:new tx(ti,ti)},_updateZIndex(){this._container&&null!=this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex(ti){var tn,ts=this.getPane().children;let ta=-ti(-1/0,1/0);for(tn of ts){var tl=tn.style.zIndex;tn!==this._container&&tl&&(ta=ti(ta,+tl))}isFinite(ta)&&(this.options.zIndex=ta+ti(-1,1),this._updateZIndex())},_updateOpacity(){if(this._map){this._container.style.opacity=this.options.opacity;var ti,tn,ts=+new Date;let ta=!1,tl=!1;for(ti of Object.values(this._tiles??{}))ti.current&&ti.loaded&&(tn=Math.min(1,(ts-ti.loaded)/200),(ti.el.style.opacity=tn)<1?ta=!0:(ti.active?tl=!0:this._onOpaqueTile(ti),ti.active=!0));tl&&!this._noPrune&&this._pruneTiles(),ta&&(cancelAnimationFrame(this._fadeFrame),this._fadeFrame=requestAnimationFrame(this._updateOpacity.bind(this)))}},_onOpaqueTile:td,_initContainer(){this._container||(this._container=tF("div","leaflet-layer "+(this.options.className??"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels(){var ti=this._tileZoom,tn=this.options.maxZoom;if(void 0!==ti){for(var ts of Object.keys(this._levels))ts=Number(ts),this._levels[ts].el.children.length||ts===ti?(this._levels[ts].el.style.zIndex=tn-Math.abs(ti-ts),this._onUpdateLevel(ts)):(this._levels[ts].el.remove(),this._removeTilesAtZoom(ts),this._onRemoveLevel(ts),delete this._levels[ts]);let tl=this._levels[ti];var ta=this._map;return tl||((tl=this._levels[ti]={}).el=tF("div","leaflet-tile-container leaflet-zoom-animated",this._container),tl.el.style.zIndex=tn,tl.origin=ta.project(ta.unproject(ta.getPixelOrigin()),ti).round(),tl.zoom=ti,this._setZoomTransform(tl,ta.getCenter(),ta.getZoom()),td(tl.el.offsetWidth),this._onCreateLevel(tl)),this._level=tl}},_onUpdateLevel:td,_onRemoveLevel:td,_onCreateLevel:td,_pruneTiles(){if(this._map){var ti=this._map.getZoom();if(ti>this.options.maxZoom||ti<this.options.minZoom)this._removeAllTiles();else{for(var tn of Object.values(this._tiles))tn.retain=tn.current;for(var ts of Object.values(this._tiles))ts.current&&!ts.active&&(ts=ts.coords,this._retainParent(ts.x,ts.y,ts.z,ts.z-5)||this._retainChildren(ts.x,ts.y,ts.z,ts.z+2));for(var[ta,tl]of Object.entries(this._tiles))tl.retain||this._removeTile(ta)}}},_removeTilesAtZoom(ti){for(var[tn,ts]of Object.entries(this._tiles))ts.coords.z===ti&&this._removeTile(tn)},_removeAllTiles(){for(var ti of Object.keys(this._tiles))this._removeTile(ti)},_invalidateAll(){for(var ti of Object.keys(this._levels))this._levels[ti].el.remove(),this._onRemoveLevel(Number(ti)),delete this._levels[ti];this._removeAllTiles(),this._tileZoom=void 0},_retainParent(ti,tn,ts,ta){var ti=Math.floor(ti/2),tn=Math.floor(tn/2),ts=ts-1,tl=new tx(+ti,+tn),tl=(tl.z=ts,this._tileCoordsToKey(tl)),tl=this._tiles[tl];return tl?.active?tl.retain=!0:(tl?.loaded&&(tl.retain=!0),ta<ts&&this._retainParent(ti,tn,ts,ta))},_retainChildren(ti,tn,ts,ta){for(let tc=2*ti;tc<2*ti+2;tc++)for(let ti=2*tn;ti<2*tn+2;ti++){var tl=new tx(tc,ti),tl=(tl.z=ts+1,this._tileCoordsToKey(tl)),tl=this._tiles[tl];tl?.active?tl.retain=!0:(tl?.loaded&&(tl.retain=!0),ts+1<ta&&this._retainChildren(tc,ti,ts+1,ta))}}
33,_resetView(ti){ti=ti&&(ti.pinch||ti.flyTo),this._setView(this._map.getCenter(),this._map.getZoom(),ti,ti)},_animateZoom(ti){this._setView(ti.center,ti.zoom,!0,ti.noUpdate)},_clampZoom(ti){var tn=this.options;return void 0!==tn.minNativeZoom&&ti<tn.minNativeZoom?tn.minNativeZoom:void 0!==tn.maxNativeZoom&&tn.maxNativeZoom<ti?tn.maxNativeZoom:ti},_setView(ti,tn,ts,ta){let tl=Math.round(tn);tl=void 0!==this.options.maxZoom&&tl>this.options.maxZoom||void 0!==this.options.minZoom&&tl<this.options.minZoom?void 0:this._clampZoom(tl);var tc=this.options.updateWhenZooming&&tl!==this._tileZoom;ta&&!tc||(this._tileZoom=tl,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==tl&&this._update(ti),ts||this._pruneTiles(),this._noPrune=!!ts),this._setZoomTransforms(ti,tn)},_setZoomTransforms(ti,tn){for(var ts of Object.values(this._levels))this._setZoomTransform(ts,ti,tn)},_setZoomTransform(ti,tn,ts){var ta=this._map.getZoomScale(ts,ti.zoom),tn=ti.origin.multiplyBy(ta).subtract(this._map._getNewPixelOrigin(tn,ts)).round();tV(ti.el,tn,ta)},_resetGrid(){var ti=this._map,tn=ti.options.crs,ts=this._tileSize=this.getTileSize(),ta=this._tileZoom,tl=this._map.getPixelWorldBounds(this._tileZoom);tl&&(this._globalTileRange=this._pxBoundsToTileRange(tl)),this._wrapX=tn.wrapLng&&!this.options.noWrap&&[Math.floor(ti.project([0,tn.wrapLng[0]],ta).x/ts.x),Math.ceil(ti.project([0,tn.wrapLng[1]],ta).x/ts.y)],this._wrapY=tn.wrapLat&&!this.options.noWrap&&[Math.floor(ti.project([tn.wrapLat[0],0],ta).y/ts.x),Math.ceil(ti.project([tn.wrapLat[1],0],ta).y/ts.y)]},_onMoveEnd(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds(ti){var tn=this._map,ts=tn._animatingZoom?Math.max(tn._animateToZoom,tn.getZoom()):tn.getZoom(),ts=tn.getZoomScale(ts,this._tileZoom),ti=tn.project(ti,this._tileZoom).floor(),tn=tn.getSize().divideBy(2*ts);return new tT(ti.subtract(tn),ti.add(tn))},_update(ti){var tn=this._map;if(tn){var ts=this._clampZoom(tn.getZoom());if(void 0===ti&&(ti=tn.getCenter()),void 0!==this._tileZoom){let tn=this._getTiledPixelBounds(ti),tp=this._pxBoundsToTileRange(tn),tf=tp.getCenter(),tm=[],tg=this.options.keepBuffer,tv=new tT(tp.getBottomLeft().subtract([tg,-tg]),tp.getTopRight().add([tg,-tg]));if(!(isFinite(tp.min.x)&&isFinite(tp.min.y)&&isFinite(tp.max.x)&&isFinite(tp.max.y)))throw Error("Attempted to load an infinite number of tiles");for(var ta of Object.values(this._tiles)){var tl=ta.coords;tl.z===this._tileZoom&&tv.contains(new tx(tl.x,tl.y))||(ta.current=!1)}if(1<Math.abs(ts-this._tileZoom))this._setView(ti,ts);else{for(let ti=tp.min.y;ti<=tp.max.y;ti++)for(let tn=tp.min.x;tn<=tp.max.x;tn++){var tc,th=new tx(tn,ti);th.z=this._tileZoom,this._isValidTile(th)&&((tc=this._tiles[this._tileCoordsToKey(th)])?tc.current=!0:tm.push(th))}if(tm.sort((ti,tn)=>ti.distanceTo(tf)-tn.distanceTo(tf)),0!==tm.length){this._loading||(this._loading=!0,this.fire("loading"));var tu,td=document.createDocumentFragment();for(tu of tm)this._addTile(tu,td);this._level.el.appendChild(td)}}}}},_isValidTile(ti){var tn=this._map.options.crs;if(!tn.infinite){var ts=this._globalTileRange;if(!tn.wrapLng&&(ti.x<ts.min.x||ti.x>ts.max.x)||!tn.wrapLat&&(ti.y<ts.min.y||ti.y>ts.max.y))return!1}return!this.options.bounds||(tn=this._tileCoordsToBounds(ti),new tk(this.options.bounds).overlaps(tn))},_keyToBounds(ti){return this._tileCoordsToBounds(this._keyToTileCoords(ti))},_tileCoordsToNwSe(ti){var tn=this._map,ts=this.getTileSize(),ta=ti.scaleBy(ts),ts=ta.add(ts);return[tn.unproject(ta,ti.z),tn.unproject(ts,ti.z)]},_tileCoordsToBounds(ti){ti=this._tileCoordsToNwSe(ti);let tn=new tk(ti[0],ti[1]);return this.options.noWrap?tn:this._map.wrapLatLngBounds(tn)},_tileCoordsToKey:ti=>ti.x+`:${ti.y}:`+ti.z,_keyToTileCoords(ti){var ti=ti.split(":"),tn=new tx(+ti[0],+ti[1]);return tn.z=+ti[2],tn},_removeTile(ti){var tn=this._tiles[ti];tn&&(tn.el.remove(),delete this._tiles[ti],this.fire("tileunload",{tile:tn.el,coords:this._keyToTileCoords(ti)}))},_initTile(ti){ti.classList.add("leaflet-tile");var tn=this.getTileSize();ti.style.width=tn.x+"px",ti.style.height=tn.y+"px",ti.onselectstart=td,ti.onpointermove=td},_addTile(ti,tn){var ts=this._getTilePos(ti),ta=this._tileCoordsToKey(ti),tl=this.createTile(this._wrapCoords(ti),this._tileReady.bind(this,ti));this._initTile(tl),this.createTile.length<2&&requestAnimationFrame(this._tileReady.bind(this,ti,null,tl)),tq(tl,ts),this._tiles[ta]={el:tl,coords:ti,current:!0},tn.appendChild(tl),this.fire("tileloadstart",{tile:tl,coords:ti})},_tileReady(ti,tn,ts){tn&&this.fire("tileerror",{error:tn,tile:ts,coords:ti});var ta=this._tileCoordsToKey(ti);(ts=this._tiles[ta])&&(ts.loaded=+new Date,this._map._fadeAnimated?(ts.el.style.opacity=0,cancelAnimationFrame(this._fadeFrame),this._fadeFrame=requestAnimationFrame(this._updateOpacity.bind(this))):(ts.active=!0,this._pruneTiles()),tn||(ts.el.classList.add("leaflet-tile-loaded"),this.fire("tileload",{tile:ts.el,coords:ti})),this._noTilesToLoad())&&(this._loading=!1,this.fire("load"),this._map._fadeAnimated?this._pruneTimeout=setTimeout(this._pruneTiles.bind(this),250):requestAnimationFrame(this._pruneTiles.bind(this)))},_getTilePos(ti){return ti.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords(ti){var tn=new tx(this._wrapX?tu(ti.x,this._wrapX):ti.x,this._wrapY?tu(ti.y,this._wrapY):ti.y);return tn.z=ti.z,tn},_pxBoundsToTileRange(ti){var tn=this.getTileSize();return new tT(ti.min.unscaleBy(tn).floor(),ti.max.unscaleBy(tn).ceil().subtract([1,1]))},_noTilesToLoad(){return Object.values(this._tiles).every(ti=>ti.loaded)}}),iy=iv.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize(ti,tn){if(this._url=ti,null===(tn=tm(this,tn)).attribution&&URL.canParse(ti)){let ts=new URL(ti).hostname;["tile.openstreetmap.org","tile.osm.org"].some(ti=>ts.endsWith(ti))&&(tn.attribution='© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors')}tn.detectRetina&&tB.retina&&0<tn.maxZoom?(tn.tileSize=Math.floor(tn.tileSize/2),tn.zoomReverse?(tn.zoomOffset--,tn.minZoom=Math.min(tn.maxZoom,tn.minZoom+1)):(tn.zoomOffset++,tn.maxZoom=Math.max(tn.minZoom,tn.maxZoom-1)),tn.minZoom=Math.max(0,tn.minZoom)):tn.zoomReverse?tn.minZoom=Math.min(tn.maxZoom,tn.minZoom):tn.maxZoom=Math.max(tn.minZoom,tn.maxZoom),"string"==typeof tn.subdomains&&(tn.subdomains=tn.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl(ti,tn){return this._url===ti&&void 0===tn&&(tn=!0),this._url=ti,tn||this.redraw(),this},createTile(ti,tn){var ts=document.createElement("img");return er(ts,"load",this._tileOnLoad.bind(this,tn,ts)),er(ts,"error",this._tileOnError.bind(this,tn,ts)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(ts.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(ts.referrerPolicy=this.options.referrerPolicy),ts.alt="",t
33s.src=this.getTileUrl(ti),ts},getTileUrl(ti){var tn={...this.options,r:tB.retina?"@2x":"",s:this._getSubdomain(ti),x:ti.x,y:ti.y,z:this._getZoomForUrl()};return this._map&&!this._map.options.crs.infinite&&(ti=this._globalTileRange.max.y-ti.y,this.options.tms&&(tn.y=ti),tn["-y"]=ti),tv(this._url,tn)},_tileOnLoad(ti,tn){ti(null,tn)},_tileOnError(ti,tn,ts){var ta=this.options.errorTileUrl;ta&&tn.getAttribute("src")!==ta&&(tn.src=ta),ti(ts,tn)},_onTileRemove(ti){ti.tile.onload=null},_getZoomForUrl(){let ti=this._tileZoom;var tn=this.options.maxZoom,ts=this.options.zoomReverse,ta=this.options.zoomOffset;return(ti=ts?tn-ti:ti)+ta},_getSubdomain(ti){return ti=Math.abs(ti.x+ti.y)%this.options.subdomains.length,this.options.subdomains[ti]},_abortLoading(){let ti,tn;for(ti of Object.keys(this._tiles)){var ts;this._tiles[ti].coords.z!==this._tileZoom&&((tn=this._tiles[ti].el).onload=td,tn.onerror=td,tn.complete||(tn.src=ty,ts=this._tiles[ti].coords,tn.remove(),delete this._tiles[ti],this.fire("tileabort",{tile:tn,coords:ts})))}},_removeTile(ti){var tn=this._tiles[ti];if(tn)return tn.el.setAttribute("src",ty),iv.prototype._removeTile.call(this,ti)},_tileReady(ti,tn,ts){if(this._map&&(!ts||ts.getAttribute("src")!==ty))return iv.prototype._tileReady.call(this,ti,tn,ts)},_clampZoom(ti){return Math.round(iv.prototype._clampZoom.call(this,ti))}});var i_=iy.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize(ti,tn){this._url=ti;var ts,ta={...this.defaultWmsParams};for(ts of Object.keys(tn))ts in this.options||(ta[ts]=tn[ts]);var ti=(tn=tm(this,tn)).detectRetina&&tB.retina?2:1,tl=this.getTileSize();ta.width=tl.x*ti,ta.height=tl.y*ti,this.wmsParams=ta},onAdd(ti){this._crs=this.options.crs??ti.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var tn=1.3<=this._wmsVersion?"crs":"srs";this.wmsParams[tn]=this._crs.code,iy.prototype.onAdd.call(this,ti)},getTileUrl(ti){var tn,ts,ta=this._tileCoordsToNwSe(ti),tl=this._crs,tl=new tT(tl.project(ta[0]),tl.project(ta[1])),ta=tl.min,tl=tl.max,ta=(1.3<=this._wmsVersion&&this._crs===eV?[ta.y,ta.x,tl.y,tl.x]:[ta.x,ta.y,tl.x,tl.y]).join(","),tc=new URL(iy.prototype.getTileUrl.call(this,ti));for([tn,ts]of Object.entries({...this.wmsParams,bbox:ta}))tc.searchParams.append(this.options.uppercase?tn.toUpperCase():tn,ts);return tc.toString()},setParams(ti,tn){return Object.assign(this.wmsParams,ti),tn||this.redraw(),this}});iy.WMS=i_;let ib=il.extend({initialize(ti){tm(this,{...ti,continuous:!1}),tc(this),this._layers??={}},onAdd(ti){il.prototype.onAdd.call(this,ti),this.on("update",this._updatePaths,this)},onRemove(){il.prototype.onRemove.call(this),this.off("update",this._updatePaths,this)},_onZoomEnd(){for(var ti of Object.values(this._layers))ti._project()},_updatePaths(){for(var ti of Object.values(this._layers))ti._update()},_onViewReset(){for(var ti of Object.values(this._layers))ti._reset()},_onSettled(){this._update()},_update:td}),iw=ib.extend({options:{tolerance:0},getEvents(){var ti=ib.prototype.getEvents.call(this);return ti.viewprereset=this._onViewPreReset,ti},_onViewPreReset(){this._postponeUpdatePaths=!0},onAdd(ti){ib.prototype.onAdd.call(this,ti),this._draw()},onRemove(){ib.prototype.onRemove.call(this),clearTimeout(this._pointerHoverThrottleTimeout)}
33,_initContainer(){var ti=this._container=document.createElement("canvas");er(ti,"pointermove",this._onPointerMove,this),er(ti,"click dblclick pointerdown pointerup contextmenu",this._onClick,this),er(ti,"pointerout",this._handlePointerOut,this),ti._leaflet_disable_events=!0,this._ctx=ti.getContext("2d")},_destroyContainer(){cancelAnimationFrame(this._redrawRequest),this._redrawRequest=null,delete this._ctx,ib.prototype._destroyContainer.call(this)},_resizeContainer(){var ti=ib.prototype._resizeContainer.call(this),tn=this._ctxScale=window.devicePixelRatio;this._container.width=tn*ti.x,this._container.height=tn*ti.y},_updatePaths(){if(!this._postponeUpdatePaths){for(var ti of(this._redrawBounds=null,Object.values(this._layers)))ti._update();this._redraw()}},_update(){var ti,tn;this._map._animatingZoom&&this._bounds||(ti=this._bounds,tn=this._ctxScale,this._ctx.setTransform(tn,0,0,tn,-ti.min.x*tn,-ti.min.y*tn),this.fire("update"))},_reset(){ib.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath(ti){this._updateDashArray(ti),ti=(this._layers[tc(ti)]=ti)._order={layer:ti,prev:this._drawLast,next:null},this._drawLast&&(this._drawLast.next=ti),this._drawLast=ti,this._drawFirst??=this._drawLast},_addPath(ti){this._requestRedraw(ti)},_removePath(ti){var tn=ti._order,ts=tn.next,tn=tn.prev;ts?ts.prev=tn:this._drawLast=tn,tn?tn.next=ts:this._drawFirst=ts,delete ti._order,delete this._layers[tc(ti)],this._requestRedraw(ti)},_updatePath(ti){this._extendRedrawBounds(ti),ti._project(),ti._update(),this._requestRedraw(ti)},_updateStyle(ti){this._updateDashArray(ti),this._requestRedraw(ti)},_updateDashArray(ti){var tn;"string"==typeof ti.options.dashArray?(tn=ti.options.dashArray.split(/[, ]+/),ti.options._dashArray=tn.map(ti=>Number(ti)).filter(ti=>!isNaN(ti))):ti.options._dashArray=ti.options.dashArray},_requestRedraw(ti){this._map&&(this._extendRedrawBounds(ti),this._redrawRequest??=requestAnimationFrame(this._redraw.bind(this)))},_extendRedrawBounds(ti){var tn;ti._pxBounds&&(tn=(ti.options.weight??0)+1,this._redrawBounds??=new tT,this._redrawBounds.extend(ti._pxBounds.min.subtract([tn,tn])),this._redrawBounds.extend(ti._pxBounds.max.add([tn,tn])))},_redraw(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear(){var ti,tn=this._redrawBounds;tn?(ti=tn.getSize(),this._ctx.clearRect(tn.min.x,tn.min.y,ti.x,ti.y)):(this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore())},_draw(){var ti,tn,ts=this._redrawBounds;this._ctx.save(),ts&&(tn=ts.getSize(),this._ctx.beginPath(),this._ctx.rect(ts.min.x,ts.min.y,tn.x,tn.y),this._ctx.clip()),this._drawing=!0;for(let tn=this._drawFirst;tn;tn=tn.next)ti=tn.layer,(!ts||ti._pxBounds&&ti._pxBounds.intersects(ts))&&ti._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly(ti,tn){if(this._drawing){let ts=ti._parts,ta=this._ctx;ts.length&&(ta.beginPath(),ts.forEach(ti=>{ti.forEach((ti,tn)=>{ta[tn?"lineTo":"moveTo"](ti.x,ti.y)}),tn&&ta.closePath()}),this._fillStroke(ta,ti))}},_updateCircle(ti){var tn,ts,ta,tl;this._drawing&&!ti._empty()&&(tn=ti._point,ts=this._ctx,ta=Math.max(Math.round(ti._radius),1),1!=(tl=(Math.max(Math.round(ti._radiusY),1)||ta)/ta)&&(ts.save(),ts.scale(1,tl)),ts.beginPath(),ts.arc(tn.x,tn.y/tl,ta,0,2*Math.PI,!1),1!=tl&&ts.restore(),this._fillStroke(ts,ti))},_fillStroke(ti,tn){(tn=tn.options).fill&&(ti.globalAlpha=tn.fillOpacity,ti.fillStyle=tn.fillColor??tn.color,ti.fill(tn.fillRule||"evenodd")),tn.stroke&&0!==tn.weight&&(ti.setLineDash&&(ti.lineDashOffset=Number(tn.dashOffset??0),ti.setLineDash(tn._dashArray??[])),ti.globalAlpha=tn.opacity,ti.lineWidth=tn.weight,ti.strokeStyle=tn.color,ti.lineCap=tn.lineCap,ti.lineJoin=tn.lineJoin,ti.stroke())},_onClick(ti){let tn,ts;var ta=this._map.pointerEventToLayerPoint(ti);for(let tl=this._drawFirst;tl;tl=tl.next)(tn=tl.layer).options.interactive&&tn._containsPoint(ta)&&(("click"===ti.type||"preclick"===ti.type)&&this._map._draggableMoved(tn)||(ts=tn));this._fireEvent(!!ts&&[ts],ti)},_onPointerMove(ti){var tn;!this._map||this._map.dragging.moving()||this._map._animatingZoom||(tn=this._map.pointerEventToLayerPoint(ti),this._handlePointerHover(ti,tn))},_handlePointerOut(ti){var tn=this._hoveredLayer;tn&&(this._container.classList.remove("leaflet-interactive"),this._fireEvent([tn],ti,"pointerout"),this._hoveredLayer=null,this._pointerHoverThrottled=!1)},_handlePointerHover(ti,tn){if(!this._pointerHoverThrottled){let ts,ta;for(let ti=this._drawFirst;ti;ti=ti.next)(ts=ti.layer).options.interactive&&ts._containsPoint(tn)&&(ta=ts);ta!==this._hoveredLayer&&(this._handlePointerOut(ti),ta)&&(this._container.classList.add("leaflet-interactive"),this._fireEvent([ta],ti,"pointerover"),this._hoveredLayer=ta),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],ti),this._pointerHoverThrottled=!0,this._pointerHoverThrottleTimeout=setTimeout(()=>{this._pointerHoverThrottled=!1},32)}},_fireEvent(ti,tn,ts){this._map._fireDOMEvent(tn,ts||tn.type,ti)},_bringToFront(ti){var tn,ts,ta=ti._order;ta&&(tn=ta.next,ts=ta.prev,tn)&&((tn.prev=ts)?ts.next=tn:tn&&(this._drawFirst=tn),ta.prev=this._drawLast,(this._drawLast.next=ta).next=null,this._drawLast=ta,this._requestRedraw(ti))},_bringToBack(ti){var tn,ts,ta=ti._order;ta&&(tn=ta.next,ts=ta.prev)&&((ts.next=tn)?tn.prev=ts:ts&&(this._drawLast=ts),ta.prev=null,ta.next=this._drawFirst,this._drawFirst.prev=ta,this._drawFirst=ta,this._requestRedraw(ti))}});function ix(ti,tn){return ti.flatMap(ti=>[...ti.map((ti,tn)=>(tn?"L":"M")+ti.x+" "+ti.y),tn?"z":""]).join("")||"M0 0"}let iT=function(ti){return document.createElementNS("http://www.w3.org/2000/svg",ti)},ik=ib.extend({_initContainer(){this._container=iT("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=iT("g"),this._container.appendChild(this._rootGroup)},_destroyContainer(){ib.prototype._destroyContainer.call(this),delete this._rootGroup,delete this._svgSize},_resizeContainer(){var ti=ib.prototype._resizeContainer.call(this);this._svgSize&&this._svgSize.equals(ti)||(this._svgSize=ti,this._container.setAttribute("width",ti.x),this._container.setAttribute("height",ti.y))},_update(){var ti,tn;this._map._animatingZoom&&this._bounds||(tn=(ti=this._bounds).getSize(),this._container.setAttribute("viewBox",[ti.min.x,ti.min.y,tn.x,tn.y].join(" ")),this.fire("update"))},_initPath(ti){var tn=ti._path=iT("path");ti.options.className&&tn.classList.add(...tf(ti.options.className)),ti.options.interactive&&tn.classList.add("leaflet-interactive"),this._updateStyle(ti),this._layers[tc(ti)]=ti},_addPath(ti){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(ti._path),ti.addInteractiveTarget(ti._path)},_removePath(ti){ti._path.remove(),ti.removeInteractiveTarget(ti._path),delete this._layers[tc(ti)]},_updatePath(ti){ti._project(),ti._update()},_updateStyle(ti){var tn=ti._path,ti=ti.options;tn&&(ti.stroke?(tn.setAttribute("stroke",ti.color),tn.setAttribute("stroke-opacity",ti.opacity),tn.setAttribute("stroke-width",ti.weight),tn.setAttribute("stroke-linecap",ti.lineCap),tn.setAttribute("stroke-linejoin",ti.lineJoin),ti.dashArray?tn.setAttribute("stroke-dasharray",ti.dashArray):tn.removeAttribute("stroke-dasharray"),ti.dashOffset?tn.setAttribute("stroke-dashoffset",ti.dashOffset):tn.removeAttribute("stroke-dashoffset")):tn.setAttribute("stroke","none"),ti.fill?(tn.setAttribute("fill",ti.fillColor||ti.color),tn.setAttribute("fill-opacity",ti.fillOpacity),tn.setAttribute("fill-rule",ti.fillRule||"evenodd")):tn.setAttribute("fill","none"))},_updatePoly(ti,tn){this._setPath(ti,ix(ti._parts,tn))},_updateCircle(ti){var tn=ti._point,ts=Math.max(Math.round(ti._radius),1),ta=`a${ts},${Math.max(Math.round(ti._radiusY),1)||ts} 0 1,0 `,tn=ti._empty()?"M0 0":`M${tn.x-ts},${tn.y}${ta}${2*ts},0 ${ta}${-(2*ts)},0 `;this._setPath(ti,tn)},_setPath(ti,tn){ti._path.setAttribute("d",tn)},_bringToFront(ti){tW(ti._path)},_bringToBack(ti){tZ(ti._path)}});tI.include({getRenderer(ti){let tn=ti.options.renderer??this._getPaneRenderer(ti.options.pane)??this.options.renderer??this._renderer;return tn=tn||(this._renderer=this._createRenderer()),this.hasLayer(tn)||this.addLayer(tn),tn}
33,_getPaneRenderer(ti){if("overlayPane"!==ti&&void 0!==ti){let tn=this._paneRenderers[ti];return void 0===tn&&(tn=this._createRenderer({pane:ti}),this._paneRenderers[ti]=tn),tn}},_createRenderer(ti){return this.options.preferCanvas&&new iw(ti)||new ik(ti)}});var i_=e2.extend({initialize(ti,tn){e2.prototype.initialize.call(this,this._boundsToLatLngs(ti),tn)},setBounds(ti){return this.setLatLngs(this._boundsToLatLngs(ti))},_boundsToLatLngs:ti=>[(ti=new tk(ti)).getSouthWest(),ti.getNorthWest(),ti.getNorthEast(),ti.getSouthEast()]}),iC=(ik.create=iT,ik.pointsToPath=ix,e5.geometryToLayer=e8,e5.coordsToLatLng=e3,e5.coordsToLatLngs=e9,e5.latLngToCoords=ii,e5.latLngsToCoords=io,e5.getFeature=is,e5.asFeature=ir,tI.mergeOptions({boxZoom:!0}),tN.extend({initialize(ti){this._map=ti,this._container=ti._container,this._pane=ti._panes.overlayPane,this._resetStateTimeout=0,ti.on("unload",this._destroy,this)},addHooks(){er(this._container,"pointerdown",this._onPointerDown,this)},removeHooks(){eh(this._container,"pointerdown",this._onPointerDown,this)},moved(){return this._moved},_destroy(){this._pane.remove(),delete this._pane},_resetState(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onPointerDown(ti){if(!ti.shiftKey||0!==ti.button)return!1;this._clearDeferredResetState(),this._resetState(),tQ(),t0(),this._startPoint=this._map.pointerEventToContainerPoint(ti),er(document,{contextmenu:e_,pointermove:this._onPointerMove,pointerup:this._onPointerUp,keydown:this._onKeyDown},this)},_onPointerMove(ti){this._moved||(this._moved=!0,this._box=tF("div","leaflet-zoom-box",this._container),this._container.classList.add("leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.pointerEventToContainerPoint(ti);var ti=new tT(this._point,this._startPoint),tn=ti.getSize();tq(this._box,ti.min),this._box.style.width=tn.x+"px",this._box.style.height=tn.y+"px"},_finish(){this._moved&&(this._box.remove(),this._container.classList.remove("leaflet-crosshair")),tJ(),t1(),eh(document,{contextmenu:e_,pointermove:this._onPointerMove,pointerup:this._onPointerUp,keydown:this._onKeyDown},this)},_onPointerUp(ti){0===ti.button&&(this._finish(),this._moved)&&(this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(this._resetState.bind(this),0),ti=new tk(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point)),this._map.fitBounds(ti).fire("boxzoomend",{boxZoomBounds:ti}))},_onKeyDown(ti){"Escape"===ti.code&&(this._finish(),this._clearDeferredResetState(),this._resetState())}})),ij=(tI.addInitHook("addHandler","boxZoom",iC),tI.mergeOptions({doubleClickZoom:!0}),tN.extend({addHooks(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick(ti){var tn=this._map,ts=tn.getZoom(),ta=tn.options.zoomDelta,ts=ti.originalEvent.shiftKey?ts-ta:ts+ta;"center"===tn.options.doubleClickZoom?tn.setZoom(ts):tn.setZoomAround(ti.containerPoint,ts)}})),iS=(tI.addInitHook("addHandler","doubleClickZoom",ij),tI.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0}),tN.extend({addHooks(){var ti;this._draggable||(ti=this._map,this._draggable=new eO(ti._mapPane,ti._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),ti.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),ti.on("zoomend",this._onZoomEnd,this),ti.whenReady(this._onZoomEnd,this))),this._map._container.classList.add("leaflet-grab","leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks(){this._map._container.classList.remove("leaflet-grab","leaflet-touch-drag"),this._draggable.disable()},moved(){return this._draggable?._moved},moving(){return this._draggable?._moving},_onDragStart(){var ti,tn=this._map;tn._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity?(ti=new tk(this._map.options.maxBounds),this._offsetLimit=new tT(this._map.latLngToContainerPoint(ti.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(ti.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))):this._offsetLimit=null,tn.fire("movestart").fire("dragstart"),tn.options.inertia&&(this._positions=[],this._times=[])},_onDrag(ti){var tn,ts;this._map.options.inertia&&(tn=this._lastTime=+new Date,ts=this._lastPos=this._draggable._absPos||this._draggable._newPos,this._positions.push(ts),this._times.push(tn),this._prunePositions(tn)),this._map.fire("move",ti).fire("drag",ti)},_prunePositions(ti){for(;1<this._positions.length&&50<ti-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd(){var ti=this._map.getSize().divideBy(2),tn=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=tn.subtract(ti).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit(ti,tn){return ti-(ti-tn)*this._viscosity},_onPreDragLimit(){var ti,tn;this._viscosity&&this._offsetLimit&&(ti=this._draggable._newPos.subtract(this._draggable._startPos),tn=this._offsetLimit,ti.x<tn.min.x&&(ti.x=this._viscousLimit(ti.x,tn.min.x)),ti.y<tn.min.y&&(ti.y=this._viscousLimit(ti.y,tn.min.y)),ti.x>tn.max.x&&(ti.x=this._viscousLimit(ti.x,tn.max.x)),ti.y>tn.max.y&&(ti.y=this._viscousLimit(ti.y,tn.max.y)),this._draggable._newPos=this._draggable._startPos.add(ti)
33)},_onPreDragWrap(){var ti=this._worldWidth,tn=Math.round(ti/2),ts=this._initialWorldOffset,ta=this._draggable._newPos.x,tl=(ta-tn+ts)%ti+tn-ts,ta=(ta+tn+ts)%ti-tn-ts,ti=Math.abs(tl+ts)<Math.abs(ta+ts)?tl:ta;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=ti},_onDragEnd(ti){let tn=this._map,ts=tn.options,ta=!ts.inertia||ti.noInertia||this._times.length<2;if(tn.fire("dragend",ti),ta)tn.fire("moveend");else{this._prunePositions(+new Date);let ti=this._lastPos.subtract(this._positions[0]),ta=(this._lastTime-this._times[0])/1e3,tl=ts.easeLinearity,tc=ti.multiplyBy(tl/ta),th=tc.distanceTo([0,0]),tu=Math.min(ts.inertiaMaxSpeed,th),td=tc.multiplyBy(tu/th),tp=tu/(ts.inertiaDeceleration*tl),tf=td.multiplyBy(-tp/2).round();tf.x||tf.y?(tf=tn._limitOffset(tf,tn.options.maxBounds),requestAnimationFrame(()=>{tn.panBy(tf,{duration:tp,easeLinearity:tl,noMoveStart:!0,animate:!0})})):tn.fire("moveend")}}})),iE=(tI.addInitHook("addHandler","dragging",iS),tI.mergeOptions({keyboard:!0,keyboardPanDelta:80}),tN.extend({keyCodes:{left:["ArrowLeft"],right:["ArrowRight"],down:["ArrowDown"],up:["ArrowUp"],zoomIn:["Equal","NumpadAdd","BracketRight"],zoomOut:["Minus","NumpadSubtract","Digit6","Slash"]},initialize(ti){this._map=ti,this._setPanDelta(ti.options.keyboardPanDelta),this._setZoomDelta(ti.options.zoomDelta)},addHooks(){var ti=this._map._container;ti.tabIndex<=0&&(ti.tabIndex="0"),ti.ariaKeyShortcuts=Object.values(this.keyCodes).flat().join(" "),er(ti,{focus:this._onFocus,blur:this._onBlur,pointerdown:this._onPointerDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks(){this._removeHooks(),eh(this._map._container,{focus:this._onFocus,blur:this._onBlur,pointerdown:this._onPointerDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onPointerDown(){var ti,tn,ts;this._focused||(ts=document.body,ti=document.documentElement,tn=ts.scrollTop||ti.scrollTop,ts=ts.scrollLeft||ti.scrollLeft,this._map._container.focus(),window.scrollTo(ts,tn))},_onFocus(){this._focused=!0,this._map.fire("focus")},_onBlur(){this._focused=!1,this._map.fire("blur")},_setPanDelta(ti){var tn,ts,ta,tl,tc=this._panKeys={},th=this.keyCodes;for(tn of th.left)tc[tn]=[-1*ti,0];for(ts of th.right)tc[ts]=[ti,0];for(ta of th.down)tc[ta]=[0,ti];for(tl of th.up)tc[tl]=[0,-1*ti]},_setZoomDelta(ti){var tn,ts,ta=this._zoomKeys={},tl=this.keyCodes;for(tn of tl.zoomIn)ta[tn]=ti;for(ts of tl.zoomOut)ta[ts]=-ti},_addHooks(){er(document,"keydown",this._onKeyDown,this)},_removeHooks(){eh(document,"keydown",this._onKeyDown,this)},_onKeyDown(ti){if(!(ti.altKey||ti.ctrlKey||ti.metaKey)){let tl;var tn,ts=ti.code,ta=this._map;if(ts in this._panKeys)ta._panAnim&&ta._panAnim._inProgress||(tl=this._panKeys[ts],ti.shiftKey&&(tl=new tx(tl).multiplyBy(3)),ta.options.maxBounds&&(tl=ta._limitOffset(new tx(tl),ta.options.maxBounds)),ta.options.worldCopyJump?(tn=ta.wrapLatLng(ta.unproject(ta.project(ta.getCenter()).add(tl))),ta.panTo(tn)):ta.panBy(tl));else if(ts in this._zoomKeys)ta.setZoom(ta.getZoom()+(ti.shiftKey?3:1)*this._zoomKeys[ts]);else{if("Escape"!==ts||!ta._popup||!ta._popup.options.closeOnEscapeKey)return;ta.closePopup()}e_(ti)}}})),iP=(tI.addInitHook("addHandler","keyboard",iE),tI.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60}),tN.extend({addHooks(){er(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks(){eh(this._map._container,"wheel",this._onWheelScroll,this),clearTimeout(this._timer)},_onWheelScroll(ti){var tn=eT(ti),ts=this._map.options.wheelDebounceTime,tn=(this._delta+=tn,this._lastMousePos=this._map.pointerEventToContainerPoint(ti),this._startTime||(this._startTime=+new Date),Math.max(ts-(+new Date-this._startTime),0));clearTimeout(this._timer),this._timer=setTimeout(this._performZoom.bind(this),tn),e_(ti)},_performZoom(){var ti=this._map,tn=ti.getZoom(),ts=this._map.options.zoomSnap??0,ta=(ti._stop(),this._delta/(4*this._map.options.wheelPxPerZoomLevel)),ta=4*Math.log(2/(1+Math.exp(-Math.abs(ta))))/Math.LN2,ts=ts?Math.ceil(ta/ts)*ts:ta,ta=ti._limitZoom(tn+(0<this._delta?ts:-ts))-tn;this._delta=0,this._startTime=null,ta&&("center"===ti.options.scrollWheelZoom?ti.setZoom(tn+ta):ti.setZoomAround(this._lastMousePos,tn+ta))}}));tI.addInitHook("addHandler","scrollWheelZoom",iP),tI.mergeOptions({tapHold:tB.touchNative&&tB.safari&&tB.mobile,tapTolerance:15});var iO=tN.extend({addHooks(){er(this._map._container,"pointerdown",this._onDown,this)},removeHooks(){eh(this._map._container,"pointerdown",this._onDown,this),clearTimeout(this._holdTimeout)},_onDown(ti){clearTimeout(this._holdTimeout),1===es().length&&"mouse"!==ti.pointerType&&(this._startPos=this._newPos=new tx(ti.clientX,ti.clientY),this._holdTimeout=setTimeout(()=>{this._cancel(),this._isTapValid()&&(er(document,"pointerup",ey),er(document,"pointerup pointercancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",ti))},600),er(document,"pointerup pointercancel contextmenu",this._cancel,this),er(document,"pointermove",this._onMove,this))},_cancelClickPrevent:function ti(){eh(document,"pointerup",ey),eh(document,"pointerup pointercancel",ti)},_cancel(){clearTimeout(this._holdTimeout),eh(document,"pointerup pointercancel contextmenu",this._cancel,this),eh(document,"pointermove",this._onMove,this)},_onMove(ti){this._newPos=new tx(ti.clientX,ti.clientY)},_isTapValid(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent(ti,tn){(ti=new MouseEvent(ti,{bubbles:!0,cancelable:!0,view:window,screenX:tn.screenX,screenY:tn.screenY,clientX:tn.clientX,clientY:tn.clientY}))._simulated=!0,tn.target.dispatchEvent(ti)}}),iL=(tI.addInitHook("addHandler","tapHold",iO),tI.mergeOptions({pinchZoom:tB.touch,bounceAtZoomLimits:!0}),tN.extend({addHooks(){this._map._container.classList.add("leaflet-touch-zoom"),er(this._map._container,"pointerdown",this._onPointerStart,this)},removeHooks(){this._map._container.classList.remove("leaflet-touch-zoom"),eh(this._map._container,"pointerdown",this._onPointerStart,this)},_onPointerStart(ti){var tn,ts=this._map,ta=es();2!==ta.length||ts._animatingZoom||this._zooming||(tn=ts.pointerEventToContainerPoint(ta[0]),ta=ts.pointerEventToContainerPoint(ta[1]),this._centerPoint=ts.getSize()._divideBy(2),this._startLatLng=ts.containerPointToLatLng(this._centerPoint),"center"!==ts.options.pinchZoom&&(this._pinchStartLatLng=ts.containerPointToLatLng(tn.add(ta)._divideBy(2))),this._startDist=tn.distanceTo(ta),this._startZoom=ts.getZoom(),this._moved=!1,this._zooming=!0,ts._stop(),er(document,"pointermove",this._onPointerMove,this),er(document,"pointerup pointercancel",this._onPointerEnd,this),ey(ti))},_onPointerMove(ti){var tn=es();if(2===tn.length&&this._zooming){var ts=this._map,ta=ts.pointerEventToContainerPoint(tn[0]),tn=ts.pointerEventToContainerPoint(tn[1]),tl=ta.distanceTo(tn)/this._startDist;if(this._zoom=ts.getScaleZoom(tl,this._startZoom),!ts.options.bounceAtZoomLimits&&(this._zoom<ts.getMinZoom()&&tl<1||this._zoom>ts.getMaxZoom()&&1<tl)&&(this._zoom=ts._limitZoom(this._zoom)),"center"===ts.options.pinchZoom){if(this._center=this._startLatLng,1==tl)return}else{if(ta=ta._add(tn)._divideBy(2)._subtract(this._centerPoint),1==tl&&0===ta.x&&0===ta.y)return;this._center=ts.unproject(ts.project(this._pinchStartLatLng,this._zoom).subtract(ta),this._zoom)}this._moved||(ts._moveStart(!0,!1),this._moved=!0),cancelAnimationFrame(this._animRequest),tn=ts._move.bind(ts,this._center,this._zoom,{pinch:!0,round:!1},void 0),this._animRequest=requestAnimationFrame(tn.bind(this)),ey(ti)}},_onPointerEnd(){this._moved&&this._zooming?(this._zooming=!1,cancelAnimationFrame(this._animRequest),eh(document,"pointermove",this._onPointerMove,this),eh(document,"pointerup pointercancel",this._onPointerEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}})),iC=(tI.addInitHook("addHandler","pinchZoom",iL),tI.addInitHook(function(){this.touchZoom=this.pinchZoom,void 0!==this.options.touchZoom&&(console.warn("Map: touchZoom option is deprecated and will be removed in future versions. Use pinchZoom instead."),this.options.pinchZoom=this.options.touchZoom,delete this.options.touchZoom),this.options.pinchZoom?this.pinchZoom.enable():this.pinchZoom.disable()}),tI.BoxZoom=iC,tI.DoubleClickZoom=ij,tI.Drag=iS,tI.Keyboard=iE,tI.ScrollWheelZoom=iP,tI.TapHold=iO,tI.PinchZoom=iL,tI.TouchZoom=iL,"2.0.0-alpha"),ij={__proto__:null,BlanketOverlay:il,Bounds:tT,Browser:tB,CRS:tj,Canvas:iw,Circle:e6,CircleMarker:tz,Class:tb,Control:eS,DivIcon:ig,DivOverlay:iu,DomEvent:eC,DomUtil:t8,Draggable:eO,Evented:tw,FeatureGroup:eK,GeoJSON:e5,GridLayer:iv,Handler:tN,Icon:eX,ImageOverlay:ia,LatLng:tC,LatLngBounds:tk,Layer:eG,LayerGroup:eY,LineUtil:tA,Map:tI,Marker:e0,Path:e1,Point:tx,PolyUtil:tM,Polygon:e2,Polyline:e4,Popup:ip,PosAnimation:ej,Projection:eW,Rectangle:i_,Renderer:ib,SVG:ik,SVGOverlay:ih,TileLayer:iy,Tooltip:im,Transformation:tP,Util:t_,VideoOverlay:ic,version:iC};let iM=iI().L;function iI(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("Unable to locate global object.")}iI().L=ij,iI().L.noConflict=function(){return iI().L=iM,this},ti.BlanketOverlay=il,ti.Bounds=tT,ti.Browser=tB,ti.CRS=tj,ti.Canvas=iw,ti.Circle=e6,ti.CircleMarker=tz,ti.Class=tb,ti.Control=eS,ti.DivIcon=ig,ti.DivOverlay=iu,ti.DomEvent=eC,ti.DomUtil=t8,ti.Draggable=eO,ti.Evented=tw,ti.FeatureGroup=eK,ti.GeoJSON=e5,ti.GridLayer=iv,ti.Handler=tN,ti.Icon=eX,ti.ImageOverlay=ia,ti.LatLng=tC,ti.LatLngBounds=tk,ti.Layer=eG,ti.LayerGroup=eY,ti.LineUtil=tA,ti.Map=tI,ti.Marker=e0,ti.Path=e1,ti.Point=tx,ti.PolyUtil=tM,ti.Polygon=e2,ti.Polyline=e4,ti.Popup=ip,ti.PosAnimation=ej,ti.Projection=eW,ti.Rectangle=i_,ti.Renderer=ib,ti.SVG=ik,ti.SVGOverlay=ih,ti.TileLayer=iy,ti.Tooltip=im,ti.Transformation=tP,ti.Util=t_,ti.VideoOverlay=ic,ti.default=ij,ti.version=iC}),function(ti){"use strict";var tn=function(){this.confData={},this.selfCount={},this.mapInstance={},this.mapMarkers={},this.activeMap=null,ti(".js-mapComponent").length&&this.initialize()};function ts(){var tn=[{selector:".map-search__location-distance h3 b",property:"title",type:"text"},{selector:".map-search__location-address p",property:"address_format",type:"text"},{selector:".map-search__location-phone",property:"phone",type:"text"},{selector:".map-search__location-phone2",property:"phone2",type:"text"},{selector:".map-search__location-fax",property:"fax",type:"text"},{selector:".map-search__location-directions a",property:["cta","buttonText"],type:"text"},{selector:".map-search__location-directions a",property:["cta","linkPage"],type:"href"},{selector:".map-search__email",property:"email",type:"text"}];ti("#gmap-location-list").on("click",".gmap-location a",function(ts,ta){ts.preventDefault();
33var tl=ti(this).closest("[data-component-name]").data("componentName"),tc=window.webManagerMap.confData[tl].locations,th=ti(this).parent().attr("id"),tu=tc.find(function(ti){return ti.ID===th}),td=window.webManagerMap.mapMarkers[tl].find(function(ti){return ti._latlng.lat==tu.latitude&&ti._latlng.lng==tu.longitude}),tp=window.webManagerMap.mapInstance[tl],tf=window.webManagerMap.confData[tl];void 0===ta&&(tp.setView([tu.latitude,tu.longitude],tf.zoom,{animation:!0}),void 0!==td&&td.openPopup());var tm=ti(this).closest(".gmap-location").data("distanceMiles"),tg=ti(".map-search__location-distance > b");void 0!==tm?(tg.show(),tm=tm.toLocaleString(),tg[0].innerHTML=tm+" mi"):tg[0].innerHTML=" -- mi",tn.forEach(function(tn,ts){var ta={},tl=tn.property;if(".map-search__location-directions a"==tn.selector){for(var tc="",ts=0;ts<=3;ts++)if(tu.cta.buttonStyle==ts){switch(tu.cta.buttonStyle){case"0":tc="cta__link component__link--";break;case"1":tc="cta__button component__button--";break;case"2":tc="cta__link--icon ";break;case"3":tc="cta__button--icon component__button--"}2==tu.cta.buttonStyle||3==tu.cta.buttonStyle?ti(tn.selector).html(tu.cta.iconHtm):ti(tn.selector).text(tu.cta.buttonText),ti(tn.selector).removeClass().addClass(tc+tu.cta.displayStyle),2==tu.cta.linkType?ti(tn.selector).attr("href","#"):1==tu.cta.linkType?ti(tn.selector).attr("href",tu.cta.linkUrl):ti(tn.selector).attr("href",tu.cta.linkPage),tu.cta.openInNew?ti(tn.selector).attr("target","_blank"):ti(tn.selector).attr("target",""),tu.cta.openInNew&&1==tu.cta.linkType?ti(tn.selector).attr("rel","noopener"):ti(tn.selector).attr("rel","")}}else{if("string"==typeof tl||tl instanceof String)ta=tu[tl];else{var th=tu;tl.forEach(function(ti){th=th[ti]}),ta=th}if("string"==typeof ta||ta instanceof String)"text"===tn.type?(ti(tn.selector).text(ta),(".map-search__location-phone"==tn.selector||".map-search__location-phone2"==tn.selector)&&ti(tn.selector).attr("href","tel:"+ta)):"href"===tn.type&&ti(tn.selector).attr("href",ta),ta.length>0?ti(tn.selector).show():ti(tn.selector).hide();else{var td=Object.values(Object.keys(tu[tl]).map(function(ti){return tu[tl][ti]}));ti(tn.selector).html(td.join("<br>"))}}})})}tn.prototype.getAddressForPostcode=function(ti,tn,ts){for(var ta="",tl=this.confData[ti].locations,tc=0;tc<tl.length;tc++)if(-1!==tl[tc].address.indexOf(tn)){if(null!==ts){if(-1!==tl[tc].address.indexOf(ts)){ta=tl[tc].address;break}}else{ta=tl[tc].address;break}}return ta},tn.prototype.initialize=function(){var tn=this;"undefined"!=typeof L&&L&&(!L.map&&L.Map&&(L.map=(ti,tn)=>new L.Map(ti,tn)),!L.tileLayer&&L.TileLayer&&(L.tileLayer=(ti,tn)=>new L.TileLayer(ti,tn)),!L.marker&&L.Marker&&(L.marker=(ti,tn)=>new L.Marker(ti,tn)),!L.polygon&&L.Polygon&&(L.polygon=(ti,tn)=>new L.Polygon(ti,tn)),!L.polyline&&L.Polyline&&(L.polyline=(ti,tn)=>new L.Polyline(ti,tn)),!L.circle&&L.Circle&&(L.circle=(ti,tn,ts)=>new L.Circle(ti,tn,ts)),!L.circleMarker&&L.CircleMarker&&(L.circleMarker=(ti,tn)=>new L.CircleMarker(ti,tn)),!L.rectangle&&L.Rectangle&&(L.rectangle=(ti,tn)=>new L.Rectangle(ti,tn)),!L.featureGroup&&L.FeatureGroup&&(L.featureGroup=ti=>new L.FeatureGroup(ti)),!L.layerGroup&&L.LayerGroup&&(L.layerGroup=ti=>new L.LayerGroup(ti)),!L.geoJSON&&L.GeoJSON&&(L.geoJSON=(ti,tn)=>new L.GeoJSON(ti,tn)),!L.imageOverlay&&L.ImageOverlay&&(L.imageOverlay=(ti,tn,ts)=>new L.ImageOverlay(ti,tn,ts)),!L.videoOverlay&&L.VideoOverlay&&(L.videoOverlay=(ti,tn,ts)=>new L.VideoOverlay(ti,tn,ts)),!L.svgOverlay&&L.SVGOverlay&&(L.svgOverlay=(ti,tn,ts)=>new L.SVGOverlay(ti,tn,ts)),!L.icon&&L.Icon&&(L.icon=ti=>new L.Icon(ti)),!L.divIcon&&L.DivIcon&&(L.divIcon=ti=>new L.DivIcon(ti)),L.control=L.control||{},!L.control.zoom&&L.Control?.Zoom&&(L.control.zoom=ti=>new L.Control.Zoom(ti)),!L.control.layers&&L.Control?.Layers&&(L.control.layers=(ti,tn,ts)=>new L.Control.Layers(ti,tn,ts)),!L.control.scale&&L.Control?.Scale&&(L.control.scale=ti=>new L.Control.Scale(ti)),!L.control.attribution&&L.Control?.Attribution&&(L.control.attribution=ti=>new L.Control.Attribution(ti)),!L.popup&&L.Popup&&(L.popup=(ti,tn)=>new L.Popup(ti,tn)),!L.tooltip&&L.Tooltip&&(L.tooltip=(ti,tn)=>new L.Tooltip(ti,tn)),!L.latLng&&L.LatLng&&(L.latLng=(ti,tn)=>Array.isArray(ti)?new L.LatLng(ti[0],ti[1],ti[2]):new L.LatLng(ti,tn)),!L.latLngBounds&&L.LatLngBounds&&(L.latLngBounds=(ti,tn)=>Array.isArray(ti)?new L.LatLngBounds(ti[0],ti[1]??ti[0]):new L.LatLngBounds(ti,tn)),!L.point&&L.Point&&(L.point=(ti,tn,ts)=>Array.isArray(ti)?new L.Point(ti[0],ti[1],tn):new L.Point(ti,tn,ts)),!L.bounds&&L.Bounds&&(L.bounds=(ti,tn)=>Array.isArray(ti)?new L.Bounds(ti[0],ti[1]??ti[0]):new L.Bounds(ti,tn)));var ts=ti(".js-mapComponent"),ta="//smbmaps.ibsrv.net/world_tiles/{z}/{x}/{y}.png";window.mapPopupTriggered=!1,ts.each(function(){var ts=ti(this).closest("[data-component-name]").data("c
33omponentName");tn.mapInstance[ts]=L.map(this),L.tileLayer(ta,{attribution:'Map data provided by <a href="http://www.internetbrands.com/">Internet Brands</a>',maxZoom:18}).addTo(tn.mapInstance[ts]),tn.mapInstance[ts].scrollWheelZoom.disable(),tn.confData[ts]=JSON.parse(ti(this).closest("[data-component-name]").find("input[type=hidden]").val()),tn.setupMap(tn.mapInstance[ts],tn.confData[ts]),tn.mapSize(this,tn.confData[ts],ts),tn.attachEvents(this,tn.confData[ts],ts);var tl=!1;tn.searchByZipCode(this,tn.confData[ts],tn.mapInstance[ts],ts,tl);var tc=tn.confData[ts].locations;tc.length>1&&!tn.confData[ts].fitBounds&&(tc=tc.reverse());for(var th=0;th<tc.length;th++)if(null!=tc[th].cta&&(2==tc[th].cta.buttonStyle&&(tc[th].cta.iconHtm='\n<span aria-label="'+tc[th].cta.iconClass.replace(/-/g," ")+'">\n<span class="'+tc[th].cta.iconClass+' icon" aria-hidden="true"></span>\n</span>\n'),3==tc[th].cta.buttonStyle&&(tc[th].cta.iconHtm='\n<span class="'+tc[th].cta.iconClass+' icon" aria-hidden="true"></span>\n'+tc[th].cta.buttonText+"\n")),null!=tc[th].latitude&&null!=tc[th].longitude){var tu=[{lat:tc[th].latitude,lon:tc[th].longitude,address:{name:tc[th].address}}];tn.applyData(tu,ts,this,th)}else tn.geolocateLocation(tc[th],ts,this);var td=tn.confData[ts].xaxis,tp=tn.confData[ts].yaxis;ti(window).width()>768&&(0!=td||0!=tp)&&tn.mapInstance[ts].panBy([td,tp])}),ti("body").click(function(ts){if(ti(ts.target).hasClass("js-mapComponent")){var ta=ti(ts.target).closest("[data-component-name]").data("componentName");null!==tn.activeMap&&tn.mapInstance[tn.activeMap].scrollWheelZoom.disable(),tn.activeMap=ta,tn.confData[ta].zoomControl&&tn.mapInstance[ta].scrollWheelZoom.enable()}else null!==tn.activeMap&&(tn.mapInstance[tn.activeMap].scrollWheelZoom.disable(),tn.activeMap=null)})},tn.prototype.attachEvents=function(tn,ts,ta){var tl,tc=this;ti(window).resize(function(){tc.mapSize(tn,ts,ta),clearTimeout(tl),tl=setTimeout(function(){if(tc.mapMarkers[ta].length>1&&tc.confData[ta].fitBounds){var ti=L.featureGroup(tc.mapMarkers[ta]);tc.mapCenter(ta,ti)}},250)})},tn.prototype.setupMap=function(tn,ts){ts.zoomControl||(tn.boxZoom.disable(),tn.doubleClickZoom.disable(),tn.keyboard.disable(),tn.scrollWheelZoom.disable(),tn.tap&&tn.tap.disable(),tn.touchZoom.disable(),ti(".leaflet-control-zoom").css("visibility","hidden"))},tn.prototype.mapCenter=function(ti,tn){var ts=this;ts.mapInstance[ti].fitBounds(tn.getBounds().pad(.5)),ts.confData[ti].alwaysShowInfoWindow&&ts.mapMarkers[ti][ts.mapMarkers[ti].length-1].isPopupOpen()&&!window.mapPopupTriggered&&(ts.mapMarkers[ti][ts.mapMarkers[ti].length-1].closePopup(),ts.mapMarkers[ti][ts.mapMarkers[ti].length-1].openPopup(),window.mapPopupTriggered=!0)},tn.prototype.mapSize=function(tn,ts,ta){var tl=this,tc=ti(tn).parent();if(ts.autoFit){tl.confData[ta].isPle?tu=tc.find(".map__wrap").outerHeight(!0):th=tc.children(".component__title-caption-wrap").outerHeight(!0),tc.css("height","100%");var th,tu,td=tc.height();tl.confData[ta].isPle||null===th?768>=ti(window).width()&&null!==tu&&(td-=tu):td-=th,ti(tn).css({width:tc.width(),height:td}),ti(tn).trigger("map.resize")}else ti(tn).css({width:ts.width,height:ts.height})},tn.prototype.geocodeURL="https://nominatim.openstreetmap.org/search?[QUERY]&format=json&polygon=1&addressdetails=1&limit=1",tn.prototype.geolocateLocation=function(tn,ts,ta){var tl=this,tc=this.geocodeURL;tc=tc.replace("[QUERY]",tn.query),ti.ajax({url:tc,dataType:"jsonp",jsonp:"json_callback",success:function(ti){tl.applyData(ti,ts,ta)}})},tn.prototype.searchByZipCode=function(tn,ts,ta,tl,tc){var th=this,tu=this.geocodeURL;ti("#location-zip").submit(function(tn){tn.preventDefault();var td=ti("#location-search").val();if(!td||"Enter your zip code and state"==td){alert("Please enter your current city or ZIP code.");return}tu="https://nominatim.openstreetmap.org/search?q="+td+"&format=json",ti.ajax({url:tu,dataType:"jsonp",jsonp:"json_callback",success:function(ti){th.getDistance(ti,ts,ta,tl,tc)}})})},tn.prototype.getDistance=function(tn,ts,ta,tl,tc){var th=this;if(th.markerTemp,0!==Object.keys(tn).length){var tu=ts.locations,td=tn[0].lat,tp=tn[0].lon,tf=new L.Icon({iconUrl:ts.assetsPath+"css/images/marker-icon-green.png",shadowUrl:ts.assetsPath+"images/marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],shadowSize:[41,41]}),tm=L.marker([td,tp],{icon:tf});tm.addTo(ta),void 0!==th.markerTemp&&(th.markerTemp.removeFrom(ta),this.mapMarkers[tl].pop(tm)),null!=tm&&(th.markerTemp=tm),this.mapMarkers[tl].push(tm),ta.closePopup();var tg=L.featureGroup(this.mapMarkers[tl]).addTo(ta);ta.fitBounds(tg.getBounds().pad(.5));for(var tv=0;tv<tu.length;tv++)if(null!=tu[tv].latitude&&null!=tu[tv].longitude)for(var ty=Math.round(621371e-9*L.latLng([tu[tv].latitude,tu[tv].longitude]).distanceTo([td,tp])),t_=ti(".gmap-location b"),tb=ti(".gmap-location .gmap-distance"),tw=0;
33tw<t_.length;tw++)-1!==t_[tw].innerText.indexOf(tu[tv].title)&&(ti(t_[tw]).closest(".gmap-location").data("distanceMiles",ty),ty=ty.toLocaleString(),tb.show(),tb[tw].innerHTML=ty+" mi");ti(".gmap-location-list li").sort(function(tn,ts){return ti(ts).data("distanceMiles")<ti(tn).data("distanceMiles")?1:-1}).appendTo(".gmap-location-list"),tc=!0,ti(".gmap-location-list li").first().children().trigger("click",[tc])}else{for(var t_=ti(".gmap-location b"),tx=ti(".map-search__location-distance > b"),tb=ti(".gmap-location .gmap-distance"),tv=0;tv<tb.length;tv++)tb.show(),tb[tv].innerHTML=" -- mi";for(var tv=0;tv<tx.length;tv++)tx.show(),tx[tv].innerHTML=" -- mi";for(var tv=0;tv<t_.length;tv++)ti(t_[tv]).closest(".gmap-location").data("distanceMiles","--")}},tn.prototype.applyData=function(tn,ts,ta,tl){var tc=this;if(tn.length>0){tc.selfCount[ts]=tc.selfCount[ts]||0;var th=tn[0],tu=th.lat,td=th.lon;tc.mapInstance[ts].setView([tu,td],tc.confData[ts].zoom,{animation:!0}),tc.selfCount[ts]++;var tp=[];tp.alt="Map Marker";var tf=tc.confData[ts].assetsPath;if(tc.confData[ts].iconUrl){var tm=tc.confData[ts].iconUrl,tg=new L.Icon({iconUrl:tm,shadowUrl:tf+"images/marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],shadowSize:[41,41]});tp.icon=tg}var tv=L.marker([tu,td],tp);if(tc.confData[ts].alwaysShowInfoWindow||tc.confData[ts].showAddressOnHover){var ty=th.display_name||null,t_=null;if("postcode"in th.address){var tb="house_number"in th.address?th.address.house_number:null;ty=""!=(t_=tc.getAddressForPostcode(ts,th.address.postcode,tb))?t_:ty}else th.address.name&&(ty=th.address.name);ty&&tv.bindPopup(ty)}if(tc.mapMarkers[ts]=tc.mapMarkers[ts]||[],tc.mapMarkers[ts].push(tv),tc.confData[ts].hue){var tw=tc.confData[ts].hue.stylers,tx=(tw[0].gama,tw[1].lightness,tw[2].hue);"none"!==tx&&(ti(ta).css("background-color",tx),ti("div.leaflet-tile-pane",ta).css("opacity","0.9"))}if(tc.selfCount[ts]>=tc.confData[ts].locations.length){var tT=L.featureGroup(tc.mapMarkers[ts]).addTo(tc.mapInstance[ts]);tc.mapMarkers[ts].length>1&&tc.confData[ts].fitBounds&&tc.mapCenter(ts,tT),tc.confData[ts].alwaysShowInfoWindow&&(tc.mapMarkers[ts][tc.mapMarkers[ts].length-1].closePopup(),tc.mapMarkers[ts][tc.mapMarkers[ts].length-1].openPopup())}}else console.log("No data found.")},ti(document).ready(function(){window.webManagerMap=new tn,ti(".map-a").length>0&&ts()})}(window.jQuery),function(ti){"use strict";var tn=!0,ts=10,ta="",tl=0,tc="",th=null,tu="",td=!1,tp={resize:1,click:1},tf=128,tm=!0,tg=1,tv="bodyOffset",ty=tv,t_=!0,tb="",tw={},tx=32,tT=null,tk=!1,tC="[iFrameSizer]",tj=tC.length,tS="",tE={max:1,min:1,bodyScroll:1,documentElementScroll:1},tP="child",tO=!0,tL=ti.parent,tM="*",tI=0,tA=!1,tz=null,tN=16,tD=1,tB="scroll",t$=tB,tR=ti,tH=function(){tK("MessageCallback function not defined")},tF=function(){},tW=function(){};function tZ(tn,ts,ta){"addEventListener"in ti?tn.addEventListener(ts,ta,!1):"attachEvent"in ti&&tn.attachEvent("on"+ts,ta)}function tV(tn,ts,ta){"removeEventListener"in ti?tn.removeEventListener(ts,ta,!1):"detachEvent"in ti&&tn.detachEvent("on"+ts,ta)}function tU(ti){return ti.charAt(0).toUpperCase()+ti.slice(1)}var tq=Date.now||function(){return new Date().getTime()};function tG(ti){return tC+"["+tS+"] "+ti}function tY(tn){tk&&"object"==typeof ti.console&&console.log(tG(tn))}function tK(tn){"object"==typeof ti.console&&console.warn(tG(tn))}function tX(){tQ(),tY("Initialising iFrame ("+location.href+")"),tJ(),t6(),t1("background",ta),t1("padding",tu),ec(),t7(),t3(),t4(),eu(),t9(),tw=eh(),ek("init","Init message from host page"),tF()}function tQ(){function ti(ti){return"true"===ti}var ts=tb.substr(tj).split(":");tS=ts[0],tl=void 0!==ts[1]?Number(ts[1]):tl,td=void 0!==ts[2]?ti(ts[2]):td,tk=void 0!==ts[3]?ti(ts[3]):tk,tx=void 0!==ts[4]?Number(ts[4]):tx,tn=void 0!==ts[6]?ti(ts[6]):tn,tc=ts[7],ty=void 0!==ts[8]?ts[8]:ty,ta=ts[9],tu=ts[10],tI=void 0!==ts[11]?Number(ts[11]):tI,tw.enable=void 0!==ts[12]&&ti(ts[12]),tP=void 0!==ts[13]?ts[13]:tP,t$=void 0!==ts[14]?ts[14]:t$}function tJ(){function tn(){var tn=ti.iFrameResizer;tY("Reading data from page: "+JSON.stringify(tn)),tH="messageCallback"in tn?tn.messageCallback:tH,tF="readyCallback"in tn?tn.readyCallback:tF,tM="targetOrigin"in tn?tn.targetOrigin:tM,ty="heightCalculationMethod"in tn?tn.heightCalculationMethod:ty,t$="widthCalculationMethod"in tn?tn.widthCalculationMethod:t$}"iFrameResizer"in ti&&Object===ti.iFrameResizer.constructor&&tn(),tY("TargetOrigin for parent set to: "+tM)}function t0(ti,tn){return -1!==tn.indexOf("-")&&(tK("Negative CSS value ignored for "+ti),tn=""),tn}function t1(ti,tn){void 0!==tn&&""!==tn&&"null"!==tn&&(document.body.style[ti]=tn,tY("Body "+ti+' set to "'+tn+'"'))}function t6(){void 0===tc&&(tc=tl+"px"),t1("margin",t0("margin",tc))}function t4(){document.documentElement.style.height="",document.body.style.height="",tY('HTML & body height set to "auto"')}function t2(tn){function ts(){ek(tn.eventName,tn.eventType)}var ta={add:function(tn){tZ(ti,tn,ts)},remove:function(tn){tV(ti,tn,ts)}};tn.eventNames&&Array.prototype.map?(tn.eventName=tn.eventNames[0],tn.eventNames.map(ta[tn.method])):ta[tn.method](tn.eventName),tY(tU(tn.method)+" event listener: "+tn.eventType)}function t5(ti){t2({method:ti,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),t2({method:ti,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),t2({method:ti,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),t2({method:ti,eventType:"Input",eventName:"input"}),t2({method:ti,eventType:"Mouse Up",eventName:"mouseup"}),t2({method:ti,eventType:"Mouse Down",eventName:"mousedown"}),t2({method:ti,eventType:"Orientation Change",eventName:"orientationchange"}),t2({method:ti,eventType:"Print",eventName:["afterprint","beforeprint"]}),t2({method:ti,eventType:"Ready State Change",eventName:"readystatechange"}),t2({method:ti,eventType:"Touch Start",eventName:"touchstart"}),t2({method:ti,eventType:"Touch End",eventName:"touchend"}),t2({method:ti,eventType:"Touch Cancel",eventName:"touchcancel"}),t2({method:ti,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),t2({method:ti,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),t2({method:ti,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}
33),"child"===tP&&t2({method:ti,eventType:"IFrame Resized",eventName:"resize"})}function t8(ti,tn,ts,ta){return tn!==ti&&(ti in ts||(tK(ti+" is not a valid option for "+ta+"CalculationMethod."),ti=tn),tY(ta+' calculation method set to "'+ti+'"')),ti}function t7(){ty=t8(ty,tv,ew,"height")}function t3(){t$=t8(t$,tB,ex,"width")}function t9(){!0===tn?(t5("add"),ef()):tY("Auto Resize disabled")}function ei(){tY("Disable outgoing messages"),tO=!1}function en(){tY("Remove event listener: Message"),tV(ti,"message",eP)}function eo(){null!==th&&th.disconnect()}function es(){t5("remove"),eo(),clearInterval(tT)}function er(){ei(),en(),!0===tn&&es()}function ec(){var ti=document.createElement("div");ti.style.clear="both",ti.style.display="block",document.body.appendChild(ti)}function eh(){function tn(){return{x:void 0!==ti.pageXOffset?ti.pageXOffset:document.documentElement.scrollLeft,y:void 0!==ti.pageYOffset?ti.pageYOffset:document.documentElement.scrollTop}}function ts(ti){var ts=ti.getBoundingClientRect(),ta=tn();return{x:parseInt(ts.left,10)+parseInt(ta.x,10),y:parseInt(ts.top,10)+parseInt(ta.y,10)}}function ta(ti){function tn(ti){var tn=ts(ti);tY("Moving to in page link (#"+ta+") at x: "+tn.x+" y: "+tn.y),eE(tn.y,tn.x,"scrollToOffset")}var ta=ti.split("#")[1]||ti,tl=decodeURIComponent(ta),tc=document.getElementById(tl)||document.getElementsByName(tl)[0];void 0!==tc?tn(tc):(tY("In page link (#"+ta+") not found in iFrame, so sending to parent"),eE(0,0,"inPageLink","#"+ta))}function tl(){""!==location.hash&&"#"!==location.hash&&ta(location.href)}function tc(){function ti(ti){function tn(ti){ti.preventDefault(),ta(this.getAttribute("href"))}"#"!==ti.getAttribute("href")&&tZ(ti,"click",tn)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),ti)}function th(){tZ(ti,"hashchange",tl)}function tu(){setTimeout(tl,tf)}function td(){Array.prototype.forEach&&document.querySelectorAll?(tY("Setting up location.hash handlers"),tc(),th(),tu()):tK("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}return tw.enable?td():tY("In page linking not enabled"),{findTarget:ta}}function eu(){tY("Enable public methods"),tR.parentIFrame={autoResize:function(ti){return!0===ti&&!1===tn?(tn=!0,t9()):!1===ti&&!0===tn&&(tn=!1,es()),tn},close:function(){eE(0,0,"close"),er()},getId:function(){return tS},getPageInfo:function(ti){"function"==typeof ti?(tW=ti,eE(0,0,"pageInfo")):(tW=function(){},eE(0,0,"pageInfoStop"))},moveToAnchor:function(ti){tw.findTarget(ti)},reset:function(){eS("parentIFrame.reset")},scrollTo:function(ti,tn){eE(tn,ti,"scrollTo")},scrollToOffset:function(ti,tn){eE(tn,ti,"scrollToOffset")},sendMessage:function(ti,tn){eE(0,0,"message",JSON.stringify(ti),tn)},setHeightCalculationMethod:function(ti){ty=ti,t7()},setWidthCalculationMethod:function(ti){t$=ti,t3()},setTargetOrigin:function(ti){tY("Set targetOrigin: "+ti),tM=ti},size:function(ti,tn){ek("size","parentIFrame.size("+(ti||"")+(tn?","+tn:"")+")",ti,tn)}}}function ed(){0!==tx&&(tY("setInterval: "+tx+"ms"),tT=setInterval(function(){ek("interval","setInterval: "+tx)},Math.abs(tx)))}function ep(){function tn(ti){function tn(ti){!1===ti.complete&&(tY("Attach listeners to "+ti.src),ti.addEventListener("load",tc,!1),ti.addEventListener("error",th,!1),tp.push(ti))}"attributes"===ti.type&&"src"===ti.attributeName?tn(ti.target):"childList"===ti.type&&Array.prototype.forEach.call(ti.target.querySelectorAll("img"),tn)}function ts(ti){tp.splice(tp.indexOf(ti),1)}function ta(ti){tY("Remove listeners from "+ti.src),ti.removeEventListener("load",tc,!1),ti.removeEventListener("error",th,!1),ts(ti)}function tl(ti,tn,ts){ta(ti.target),ek(tn,ts+": "+ti.target.src,void 0,void 0)}function tc(ti){tl(ti,"imageLoad","Image loaded")}function th(ti){tl(ti,"imageLoadFailed","Image load failed")}function tu(ti){ek("mutationObserver","mutationObserver: "+ti[0].target+" "+ti[0].type),ti.forEach(tn)}function td(){var ti=document.querySelector("body"),tn={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return tm=new tf(tu),tY("Create body MutationObserver"),tm.observe(ti,tn),tm}var tp=[],tf=ti.MutationObserver||ti.WebKitMutationObserver,tm=td();return{disconnect:function(){"disconnect"in tm&&(tY("Disconnect body MutationObserver"),tm.disconnect(),tp.forEach(ta))}}}function ef(){var tn=0>tx;ti.MutationObserver||ti.WebKitMutationObserver?tn?ed():th=ep():(tY("MutationObserver not supported in this browser!"),ed())}function em(ti,tn){function ta(ti){if(/^\d+(px)?$/i.test(ti))return parseInt(ti,ts);var ta=tn.style.left,tl=tn.runtimeStyle.left;return tn.runtimeStyle.left=tn.currentStyle.left,tn.style.left=ti||0,ti=tn.style.pixelLeft,tn.style.left=ta,tn.runtimeStyle.left=tl,ti}var tl=0;return tn=tn||document.body,parseInt(tl="defaultView"in document&&"getComputedStyle"in document.defaultView?null!==(tl=document.defaultView.getComputedStyle(tn,null))?tl[ti]:0:ta(tn.currentStyle[ti]),ts)}function eg(ti){ti>tN/2&&tY("Event throttle increased to "+(tN=2*ti)+"ms")}function ev(ti,tn){for(var ts=tn.length,ta=0,tl=0,tc=tU(ti),th=tq(),tu=0;tu<ts;tu++)(ta=tn[tu].getBoundingClientRect()[ti]+em("margin"+tc,tn[tu]))>tl&&(tl=ta);return th=tq()-th,tY("Parsed "+ts+" HTML elements"),tY("Element position calculated in "+th+"ms"),eg(th),tl}function ey(ti){return[ti.bodyOffset(),ti.bodyScroll(),ti.documentElementOffset(),ti.documentElementScroll()]}function e_(ti,tn){function ts(){return tK("No tagged elements ("+tn+") found on page"),tg}var ta=document.querySelectorAll("["+tn+"]");return 0===ta.length?ts():ev(ti,ta)}function eb(){return document.querySelectorAll("body *")}var ew={bodyOffset:function(){return document.body.offsetHeight+em("marginTop")+em("marginBottom")},offset:function(){return ew.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,ey(ew))},min:function(){return Math.min.apply(null,ey(ew))},grow:function(){return ew.max()},lowestElement:function(){return Math.max(ew.bodyOffset(),ev("bottom",eb()))},taggedElement:function(){return e_("bottom","data-iframe-height")}},ex={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(ex.bodyScroll(),ex.documentElementScroll())},max:function(){return Math.max.apply(null,ey(ex))},min:function(){return Math.min.apply(null,ey(ex))},rightMostElement:function(){return ev("right",eb())},taggedElement:function(){return e_("right","data-iframe-width")}},eT=function(ti){var tn,ts,ta,tl=null,tc=0,th=function(){tc=tq(),tl=null,ta=ti.apply(tn,ts),tl||(tn=ts=null)};return function(){var tu=tq();tc||(tc=tu);var td=tN-(tu-tc);return tn=this,ts=arguments,td<=0||td>tN?(tl&&(clearTimeout(tl),tl=null),tc=tu,ta=ti.apply(tn,ts),tl||(tn=ts=null)):tl||(tl=setTimeout(th,td)),ta}}(function(ti,tn,ts,ta){var tl,tc;function th(){eE(tg=tl,tD=tc,ti)}function tu(){return!(ti in{init:1,interval:1,size:1})}function tp(){return ty in tE||td&&t$ in tE}function tf(){tY("No change in size detected")}function tm(){tu()&&tp()?eS(tn):ti in{interval:1}||tf()}(function(){function ti(ti,tn){return!(Math.abs(ti-tn)<=tI)}return tl=void 0!==ts?ts:ew[ty](),tc=void 0!==ta?ta:ex[t$](),ti(tg,tl)||td&&ti(tD,tc)})()||"init"===ti?(eC(),th()):tm()});function ek(ti,tn,ts,ta){function tl(){ti in{reset:1,resetPage:1,init:1}||tY("Trigger event: "+tn)}(function(){return tA&&ti in tp})()?tY("Trigger event cancelled: "+ti):(tl(),eT(ti,tn,ts,ta))}function eC(){tA||(tA=!0,tY("Trigger event lock on")),clearTimeout(tz),tz=setTimeout(function(){tA=!1,tY("Trigger event lock off"),tY("--")},tf)}function ej(ti){tg=ew[ty](),tD=ex[t$](),eE(tg,tD,ti)}function eS(ti){var tn=ty;ty=tv,tY("Reset trigger event: "+ti),eC(),ej("reset"),ty=tn}function eE(ti,tn,ts,ta,tl){function tc(){void 0===tl?tl=tM:tY("Message targetOrigin: "+tl)}function th(){var tc=tS+":"+ti+":"+tn+":"+ts+(void 0!==ta?":"+ta:"");tY("Sending message to host page ("+tc+")"),tL.postMessage(tC+tc,tl)}!0===tO&&(tc(),th())}function eP(tn){function ts(){tb=tn.data,tL=tn.source,tX(),tm=!1,setTimeout(function(){t_=!1},tf)}function ta(){t_?tY("Page reset ignored by init"):(tY("Page size reset by host page"),ej("resetPage"))}function tl(){ek("resizeParent","Parent window requested size check")}function tc(){var ti=tu();tw.findTarget(ti)}function th(){return tn.data.split("]")[1].split(":")[0]}function tu(){return tn.data.substr(tn.data.indexOf(":")+1)}function td(){return"iFrameResize"in ti}function tp(){var ti=tu();tY("MessageCallback called from parent: "+ti),tH(JSON.parse(ti)),tY(" --")}function tg(){var ti=tu();tY("PageInfoFromParent called from parent: "+ti),tW(JSON.parse(ti)),tY(" --")}function tv(){return tn.data.split(":")[2]in{true:1,false:1}}function ty(){switch(th()){case"reset":ta();break;case"resize":tl();break;case"moveToAnchor":tc();break;case"message":tp();break;case"pageInfo":tg();break;default:td()||tv()||tK("Unexpected message ("+tn.data+")")}}function tx(){!1===tm?ty():tv()?ts():tY('Ignored message of type "'+th()+'". Received before initialization.')}(function(){return tC===(""+tn.data).substr(0,tj)})()&&tx()}function eO(){"loading"!==document.readyState&&ti.parent.postMessage("[iFrameResizerChild]Ready","*")}tZ(ti,"message",eP),eO()}(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=$('
33<li class="navigation__item has-child more"> <a href="#">More</a> <ul class="navigation__list--sub"></ul> </li>'),window.allMenus=[]}),function(ti){var tn=!1;if("function"==typeof define&&define.amd&&(define(ti),tn=!0),"object"==typeof exports&&(module.exports=ti(),tn=!0),!tn){var ts=window.Cookies,ta=window.Cookies=ti();ta.noConflict=function(){return window.Cookies=ts,ta}}}(function(){function ti(){for(var ti=0,tn={};ti<arguments.length;ti++){var ts=arguments[ti];for(var ta in ts)tn[ta]=ts[ta]}return tn}function tn(ts){function ta(tn,tl,tc){if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(tc=ti({path:"/"},ta.defaults,tc)).expires){var th,tu=new Date;tu.setMilliseconds(tu.getMilliseconds()+864e5*tc.expires),tc.expires=tu}try{th=JSON.stringify(tl),/^[\{\[]/.test(th)&&(tl=th)}catch(ti){}return tl=ts.write?ts.write(tl,tn):encodeURIComponent(String(tl)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),tn=(tn=(tn=encodeURIComponent(String(tn))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape),document.cookie=[tn,"=",tl,tc.expires?"; expires="+tc.expires.toUTCString():"",tc.path?"; path="+tc.path:"",tc.domain?"; domain="+tc.domain:"",tc.secure?"; secure":""].join("")}tn||(th={});for(var td=document.cookie?document.cookie.split("; "):[],tp=/(%[0-9A-Z]{2})+/g,tf=0;tf<td.length;tf++){var tm=td[tf].split("="),tg=tm.slice(1).join("=");'"'===tg.charAt(0)&&(tg=tg.slice(1,-1));try{var tv=tm[0].replace(tp,decodeURIComponent);if(tg=ts.read?ts.read(tg,tv):ts(tg,tv)||tg.replace(tp,decodeURIComponent),this.json)try{tg=JSON.parse(tg)}catch(ti){}if(tn===tv){th=tg;break}tn||(th[tv]=tg)}catch(ti){}}return th}}return ta.set=ta,ta.get=function(ti){return ta.call(ta,ti)},ta.getJSON=function(){return ta.apply({json:!0},[].slice.call(arguments))},ta.defaults={},ta.remove=function(tn,ts){ta(tn,"",ti(ts,{expires:-1}))},ta.withConverter=tn,ta}return tn(function(){})}),$(()=>{"use strict";let ti=document.querySelectorAll("#shapePnl a"),tn=({currentTarget:ti})=>{let tn=ti.classList.item(0),ts=ti.parentElement.querySelectorAll(":scope > .selected");for(let ti of ts)ti.classList.remove("selected");ti.classList.add("selected");let ta=document.querySelectorAll("#facePnl");for(let ti of ta)ti.setAttribute("class",tn);let tl=document.querySelectorAll(`#infoPnl div.${tn}`);for(let ti of tl)for(let tn of ti.parentElement.children)tn.style.display=tn===ti?"block":"none"};for(let ts of ti)ts.addEventListener("click",tn);let ts=document.querySelectorAll('#framePnl span[class*="frm"]'),ta=({currentTarget:ti})=>{let tn=ti.getAttribute("class"),ts=document.querySelectorAll("#framePnl a.selected");for(let ti of ts)ti.classList.remove("selected");ti.parentElement.classList.add("selected");let ta=document.querySelectorAll("#lrgFrame");for(let ti of ta)ti.setAttribute("class",tn)};for(let ti of ts)ti.addEventListener("click",ta);let tl=720,tc=1,th=document.querySelectorAll("ul#frameSets li").length,tu=document.querySelectorAll("a.prvSet"),td=ti=>{ti.stopPropagation(),ti.preventDefault();let tn=$("ul#frameSets li");if(tc>1){tn.animate({left:`+=${tl}px`},500),tc-=1;return}tn.animate({left:`-${(th-1)*tl}px`},500),tc=th};for(let ti of tu)ti.addEventListener("click",td);let tp=document.querySelectorAll("a.nxtSet"),tf=ti=>{ti.stopPropagation(),ti.preventDefault();let tn=$("ul#frameSets li");if(tc<th){tn.animate({left:`-=${tl}px`},500),tc+=1;return}tn.animate({left:"0px"},500),tc=1};for(let ti of tp)ti.addEventListener("click",tf);let tm=document.querySelectorAll("a.lnchFrmSlctr"),tg=ti=>{ti.preventDefault(),ti.stopPropagation(),$.fancybox({autoSize:!1,speedIn:600,speedOut:200,transitionIn:"elastic",type:"inline",href:"#frameSelector",width:"815",height:"508"})};for(let ti of tm)ti.addEventListener("click",tg);let tv=document.querySelectorAll("button.lnch3dspine"),ty=ti=>{ti.stopPropagation(),ti.preventDefault(),$.fancybox({autoSize:!1,speedIn:600,speedOut:200,transitionIn:"elastic",type:"inline",href:"#frameSelector",width:"902",height:"833"})};for(let ti of tv)ti.addEventListener("click",ty);let t_=document.querySelectorAll("button.lnchpetselector"),tb=ti=>{ti.preventDefault(),ti.stopPropagation(),$.fancybox({autoSize:!1,speedIn:600,speedOut:200,transitionIn:"elastic",type:"inline",href:"#frameSelector",width:"940",height:"750"})};for(let ti of t_)ti.addEventListener("click",tb)}
33),$(document).ready(function(){window.navNotSticky=!0,window.stickyNavTop=$(".js-sticky-nav").offset().top,stickyNav(),$(window).scroll(function(){stickyNav()}),hideStaffTitle(),$("[id^=navigation_header] > ul").addClass("menu_parent_list"),$("[id^=navigation_header] > ul > li > ul").addClass("menu_child_list"),$("[id^=navigation_header] > ul > li > ul > li > ul").addClass("menu_grandchid_list");var ti=$("[id^=navigation_header]"),tn=(ti.parent(),ti.find("ul")),ts="sublevel-";$("[id^=navigation_header]").mmenu({extensions:["multiline"],slidingSubmenus:!1},{clone:!0}),equalizeMapHoursHeight();var ta=setInterval(function(){$("aside .mm-menu ").length&&($("aside").css("opacity","1"),clearInterval(ta))},100);function tl(){window.currentMenuWidth=window.menuHolder.outerWidth(),addMoreButton(),$("[id^=navigation_header] > ul").addClass("menu_parent_list"),$("[id^=navigation_header] > ul > li > ul").addClass("menu_child_list"),$("[id^=navigation_header] > ul > li > ul > li > ul").addClass("menu_grandchid_list"),tn=ti.find("ul"),navigationSublevelWrap(tn,ts),$(".navigation:not(.mm-menu) .sublevel-1").each(function(){$(this).scrollArea({heightProp:"maxHeight",setScrollTo:"> .navigation__list--sub"})})}jQuery(".preview_iframe").height(jQuery(window).height()),$(".articles__categories-wrap").height($("aside .mm-navbar").outerHeight(!0)+$("aside .articles__categories-list").outerHeight(!0)+40),1===$(".navigation").not(".mm-menu").data("more-button")&&(window.moreButton=$('<li class="navigation__item has-child more"><a href="#" class="">More</a><ul class="navigation__list--sub"></ul></li>')),!$(".wrap__slider").hasClass("text-only")&&$(".slider__image").length&&$(".slider__image").css("background-image").length&&($(".slider__image--fixed").length||$(".slider__image").each(function(){var ti=$(this),tn=ti.css("background-image").replace(/(url\(|\)|'|")/gi,"");$(this).css("background-image","none"),ti.append('<div class="slider__image--fixed" style="background-image: url('+tn+')">')}),$(".slider__text").each(function(){$(this).children().length||$(this).addClass("empty")})),ResponsiveHelper.addRange({"992..":{on:function(){1===$(".navigation").not(".mm-menu").data("more-button")&&(menuPrepare(),window.currentMenuWidth=window.menuHolder.outerWidth(),addMoreButton(),$(window).on("resize orientationchange",tl)),tn=ti.find("ul"),navigationSublevelWrap(tn,ts),$(".navigation:not(.mm-menu) .sublevel-1").each(function(){$(this).scrollArea({heightProp:"maxHeight",setScrollTo:"> .navigation__list--sub"})})},off:function(){1===$(".navigation").not(".mm-menu").data("more-button")&&$(window).off("resize orientationchange",tl),setTimeout(function(){$(".navigation:not(.mm-menu) .sublevel-1").each(function(){void 0!==$(this).data("scrollArea")&&$(this).data("scrollArea").destroy()})},100)}}})}),$(window).load(function(){switch($(".fancybox").fancybox(),window.innerWidth>=768?setFeaturedBlocksHeight():resetFeaturedBlocksHeight(),setTabs(),manageTabs(),$(".blog__item").each(function(){$(this).children(".blog__post-info").prepend($(this).children(".blog__post-category").detach())}),localStorage.content){case"tab__featured-articles":toggleTabs("tab__featured-articles");break;case"tab__our-locations":default:toggleTabs("tab__our-locations");break;case"tab__testimonials":toggleTabs("tab__testimonials")}window.dispatchEvent(new Event("resize")),accordionMenu()}),$(window).resize(function(){equalizeMapHoursHeight(),window.innerWidth>=768?setFeaturedBlocksHeight():resetFeaturedBlocksHeight(),manageTabs(),stickyNav(),accordionMenu()}),$(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.