Server IP : 162.213.251.212 / Your IP : 3.17.61.124 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/allssztx/bestvalleywater.com/wp-content/themes/woodmart/js/libs/ |
Upload File : |
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports&&"function"==typeof require?t(require("jquery")):t(jQuery)}(function(d){"use strict";var i={escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},createNode:function(t){var e=document.createElement("div");return e.className=t,e.style.position="absolute",e.style.display="none",e}},n=27,o=9,r=13,s=38,a=39,l=40;function u(t,e){function i(){}var n=this,o={ajaxSettings:{},autoSelectFirst:!1,appendTo:document.body,serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:u.formatResult,delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:i,onSearchComplete:i,onSearchError:i,preserveInput:!1,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:function(t,e,i){return-1!==t.value.toLowerCase().indexOf(i)},paramName:"query",transformResult:function(t){return"string"==typeof t?JSON.parse(t):t},showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1};n.element=t,n.el=d(t),n.suggestions=[],n.badQueries=[],n.selectedIndex=-1,n.currentValue=n.element.value,n.intervalId=0,n.cachedResponse={},n.onChangeInterval=null,n.onChange=null,n.isLocal=!1,n.suggestionsContainer=null,n.noSuggestionsContainer=null,n.options=d.extend({},o,e),n.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"},n.hint=null,n.hintValue="",n.selection=null,n.initialize(),n.setOptions(e)}u.utils=i,(d.Autocomplete=u).formatResult=function(t,e){e="("+i.escapeRegExChars(e)+")";return t.value.replace(new RegExp(e,"gi"),"<strong>$1</strong>").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/<(\/?strong)>/g,"<$1>")},u.prototype={killerFn:null,initialize:function(){var t,e=this,i="."+e.classes.suggestion,n=e.classes.selected,o=e.options;e.element.setAttribute("autocomplete","off"),e.killerFn=function(t){0===d(t.target).closest("."+e.options.containerClass).length&&(e.killSuggestions(),e.disableKillerFn())},e.noSuggestionsContainer=d('<div class="autocomplete-no-suggestion"></div>').html(this.options.noSuggestionNotice).get(0),e.suggestionsContainer=u.utils.createNode(o.containerClass),(t=d(e.suggestionsContainer)).appendTo(o.appendTo),"auto"!==o.width&&t.width(o.width),t.on("mouseover.autocomplete",i,function(){e.activate(d(this).data("index"))}),t.on("mouseout.autocomplete",function(){e.selectedIndex=-1,t.children("."+n).removeClass(n)}),t.on("click.autocomplete",i,function(){e.select(d(this).data("index"))}),e.fixPositionCapture=function(){e.visible&&e.fixPosition()},d(window).on("resize.autocomplete",e.fixPositionCapture),e.el.on("keydown.autocomplete",function(t){e.onKeyPress(t)}),e.el.on("keyup.autocomplete",function(t){e.onKeyUp(t)}),e.el.on("blur.autocomplete",function(){e.onBlur()}),e.el.on("focus.autocomplete",function(){e.onFocus()}),e.el.on("change.autocomplete",function(t){e.onKeyUp(t)}),e.el.on("input.autocomplete",function(t){e.onKeyUp(t)})},onFocus:function(){var t=this;t.fixPosition(),0===t.options.minChars&&0===t.el.val().length&&t.onValueChange()},onBlur:function(){this.enableKillerFn()},abortAjax:function(){var t=this;t.currentRequest&&(t.currentRequest.abort(),t.currentRequest=null)},setOptions:function(t){var e=this,i=e.options;d.extend(i,t),e.isLocal=Array.isArray(i.lookup),e.isLocal&&(i.lookup=e.verifySuggestionsFormat(i.lookup)),i.orientation=e.validateOrientation(i.orientation,"bottom"),d(e.suggestionsContainer).css({"max-height":i.maxHeight+"px",width:i.width+"px","z-index":i.zIndex})},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){var t=this;t.disabled=!0,clearInterval(t.onChangeInterval),t.abortAjax()},enable:function(){this.disabled=!1},fixPosition:function(){var t,e,i,n,o,r,s,a,l=this,u=d(l.suggestionsContainer),c=u.parent().get(0);c!==document.body&&!l.options.forceFixPosition||(r=l.options.orientation,t=u.outerHeight(),e=l.el.outerHeight(),i={top:(a=l.el.offset()).top,left:a.left},"auto"===r&&(s=d(window).height(),n=-(o=d(window).scrollTop())+a.top-t,o=o+s-(a.top+e+t),r=Math.max(n,o)===n?"top":"bottom"),i.top+="top"===r?-t:e,c!==document.body&&(s=u.css("opacity"),l.visible||u.css("opacity",0).show(),a=u.offsetParent().offset(),i.top-=a.top,i.left-=a.left,l.visible||u.css("opacity",s).hide()),"auto"===l.options.width&&(i.width=l.el.outerWidth()-2+"px"),u.css(i))},enableKillerFn:function(){d(document).on("click.autocomplete",this.killerFn)},disableKillerFn:function(){d(document).off("click.autocomplete",this.killerFn)},killSuggestions:function(){var t=this;t.stopKillSuggestions(),t.intervalId=window.setInterval(function(){t.visible&&(t.el.val(t.currentValue),t.hide()),t.stopKillSuggestions()},50)},stopKillSuggestions:function(){window.clearInterval(this.intervalId)},isCursorAtEnd:function(){var t=this.el.val().length,e=this.element.selectionStart;return"number"==typeof e?e===t:!document.selection||((e=document.selection.createRange()).moveStart("character",-t),t===e.text.length)},onKeyPress:function(t){var e=this;if(e.disabled||e.visible||t.which!==l||!e.currentValue){if(!e.disabled&&e.visible){switch(t.which){case n:e.el.val(e.currentValue),e.hide();break;case a:if(e.hint&&e.options.onHint&&e.isCursorAtEnd()){e.selectHint();break}return;case o:if(e.hint&&e.options.onHint)return void e.selectHint();if(-1===e.selectedIndex)return void e.hide();if(e.select(e.selectedIndex),!1===e.options.tabDisabled)return;break;case r:if(-1===e.selectedIndex)return void e.hide();e.select(e.selectedIndex);break;case s:e.moveUp();break;case l:e.moveDown();break;default:return}t.stopImmediatePropagation(),t.preventDefault()}}else e.suggest()},onKeyUp:function(t){var e=this;if(!e.disabled){switch(t.which){case s:case l:return}clearInterval(e.onChangeInterval),e.currentValue!==e.el.val()&&(e.findBestHint(),0<e.options.deferRequestBy?e.onChangeInterval=setInterval(function(){e.onValueChange()},e.options.deferRequestBy):e.onValueChange())}},onValueChange:function(){var t=this,e=t.options,i=t.el.val(),n=t.getQuery(i);t.selection&&t.currentValue!==n&&(t.selection=null,(e.onInvalidateSelection||d.noop).call(t.element)),clearInterval(t.onChangeInterval),t.currentValue=i,t.selectedIndex=-1,e.triggerSelectOnValidInput&&t.isExactMatch(n)?t.select(0):n.length<e.minChars?t.hide():t.getSuggestions(n)},isExactMatch:function(t){var e=this.suggestions;return 1===e.length&&e[0].value.toLowerCase()===t.toLowerCase()},getQuery:function(t){var e=this.options.delimiter;return e?(e=t.split(e),null==(e=e[e.length-1])?"":"string"==typeof e?e.trim():(e+"").replace("/^[\\s\ufeff ]+|[\\s\ufeff ]+$/g","")):t},getSuggestionsLocal:function(e){var t=this.options,i=e.toLowerCase(),n=t.lookupFilter,o=parseInt(t.lookupLimit,10),t={suggestions:d.grep(t.lookup,function(t){return n(t,e,i)})};return o&&t.suggestions.length>o&&(t.suggestions=t.suggestions.slice(0,o)),t},getSuggestions:function(n){var t,e,i,o=this,r=o.options,s=r.serviceUrl;r.params[r.paramName]=n,t=r.ignoreParams?null:r.params,!1!==r.onSearchStart.call(o.element,r.params)&&("function"==typeof r.lookup?r.lookup(n,function(t){o.suggestions=t.suggestions,o.suggest(),r.onSearchComplete.call(o.element,n,t.suggestions)}):(i=o.isLocal?o.getSuggestionsLocal(n):("function"==typeof s&&(s=s.call(o.element,n)),e=s+"?"+d.param(t||{}),o.cachedResponse[e]))&&Array.isArray(i.suggestions)?(o.suggestions=i.suggestions,o.suggest(),r.onSearchComplete.call(o.element,n,i.suggestions)):o.isBadQuery(n)?r.onSearchComplete.call(o.element,n,[]):(o.abortAjax(),i={url:s,data:t,type:r.type,dataType:r.dataType},d.extend(i,r.ajaxSettings),o.currentRequest=d.ajax(i).done(function(t){o.currentRequest=null,t=r.transformResult(t,n),o.processResponse(t,n,e),r.onSearchComplete.call(o.element,n,t.suggestions)}).fail(function(t,e,i){r.onSearchError.call(o.element,n,t,e,i)})))},isBadQuery:function(t){if(this.options.preventBadQueries)for(var e=this.badQueries,i=e.length;i--;)if(0===t.indexOf(e[i]))return!0;return!1},hide:function(){var t=this,e=d(t.suggestionsContainer);"function"==typeof t.options.onHide&&t.visible&&t.options.onHide.call(t.element,e),t.visible=!1,t.selectedIndex=-1,clearInterval(t.onChangeInterval),d(t.suggestionsContainer).hide(),t.signalHint(null)},suggest:function(){var t,e,i,n,o,r,s,a,l,u,c,h;0===this.suggestions.length?this.options.showNoSuggestionNotice?this.noSuggestions():this.hide():(e=(t=this).options,i=e.groupBy,n=e.formatResult,o=t.getQuery(t.currentValue),r=t.classes.suggestion,s=t.classes.selected,a=d(t.suggestionsContainer),l=d(t.noSuggestionsContainer),u=e.beforeRender,c="",e.triggerSelectOnValidInput&&t.isExactMatch(o)?t.select(0):(d.each(t.suggestions,function(t,e){i&&(c+=function(t){t=t.data[i];return h===t?"":'<div class="autocomplete-group"><strong>'+(h=t)+"</strong></div>"}(e)),c+='<div class="'+r+'" data-index="'+t+'">'+n(e,o)+"</div>"}),this.adjustContainerWidth(),l.detach(),a.html(c),"function"==typeof u&&u.call(t.element,a),t.fixPosition(),a.show(),e.autoSelectFirst&&(t.selectedIndex=0,a.scrollTop(0),a.children("."+r).first().addClass(s)),t.visible=!0,t.findBestHint()))},noSuggestions:function(){var t=d(this.suggestionsContainer),e=d(this.noSuggestionsContainer);this.adjustContainerWidth(),e.detach(),t.empty(),t.append(e),this.fixPosition(),t.show(),this.visible=!0},adjustContainerWidth:function(){var t=this.options,e=d(this.suggestionsContainer);"auto"===t.width&&(t=this.el.outerWidth()-2,e.width(0<t?t:300))},findBestHint:function(){var n=this.el.val().toLowerCase(),o=null;n&&(d.each(this.suggestions,function(t,e){var i=0===e.value.toLowerCase().indexOf(n);return i&&(o=e),!i}),this.signalHint(o))},signalHint:function(t){var e="",i=this;t&&(e=i.currentValue+t.value.substr(i.currentValue.length)),i.hintValue!==e&&(i.hintValue=e,i.hint=t,(this.options.onHint||d.noop)(e))},verifySuggestionsFormat:function(t){return t.length&&"string"==typeof t[0]?d.map(t,function(t){return{value:t,data:null}}):t},validateOrientation:function(t,e){return t=d.trim(t||"").toLowerCase(),t=-1===d.inArray(t,["auto","bottom","top"])?e:t},processResponse:function(t,e,i){var n=this,o=n.options;t.suggestions=n.verifySuggestionsFormat(t.suggestions),o.noCache||(n.cachedResponse[i]=t,o.preventBadQueries&&0===t.suggestions.length&&n.badQueries.push(e)),e===n.getQuery(n.currentValue)&&(n.suggestions=t.suggestions,n.suggest())},activate:function(t){var e=this,i=e.classes.selected,n=d(e.suggestionsContainer),o=n.find("."+e.classes.suggestion);return n.find("."+i).removeClass(i),e.selectedIndex=t,-1!==e.selectedIndex&&o.length>e.selectedIndex?(n=o.get(e.selectedIndex),d(n).addClass(i),n):null},selectHint:function(){var t=d.inArray(this.hint,this.suggestions);this.select(t)},select:function(t){this.hide(),this.onSelect(t)},moveUp:function(){var t=this;-1!==t.selectedIndex&&(0===t.selectedIndex?(d(t.suggestionsContainer).children().first().removeClass(t.classes.selected),t.selectedIndex=-1,t.el.val(t.currentValue),t.findBestHint()):t.adjustScroll(t.selectedIndex-1))},moveDown:function(){this.selectedIndex!==this.suggestions.length-1&&this.adjustScroll(this.selectedIndex+1)},adjustScroll:function(t){var e,i,n,o=this,r=o.activate(t);r&&(e=d(r).outerHeight(),r=r.offsetTop,n=(i=d(o.suggestionsContainer).scrollTop())+o.options.maxHeight-e,r<i?d(o.suggestionsContainer).scrollTop(r):n<r&&d(o.suggestionsContainer).scrollTop(r-o.options.maxHeight+e),o.options.preserveInput||o.el.val(o.getValue(o.suggestions[t].value)),o.signalHint(null))},onSelect:function(t){var e=this,i=e.options.onSelect,t=e.suggestions[t];e.currentValue=e.getValue(t.value),e.currentValue===e.el.val()||e.options.preserveInput||e.el.val(e.currentValue),e.signalHint(null),e.suggestions=[],e.selection=t,"function"==typeof i&&i.call(e.element,t)},getValue:function(t){var e,i=this.options.delimiter;return!i||1===(i=(e=this.currentValue).split(i)).length?t:e.substr(0,e.length-i[i.length-1].length)+t},dispose:function(){this.el.off(".autocomplete").removeData("autocomplete"),this.disableKillerFn(),d(window).off("resize.autocomplete",this.fixPositionCapture),d(this.suggestionsContainer).remove()}},d.fn.devbridgeAutocomplete=function(i,n){var o="autocomplete";return 0===arguments.length?this.first().data(o):this.each(function(){var t=d(this),e=t.data(o);"string"==typeof i?e&&"function"==typeof e[i]&&e[i](n):(e&&e.dispose&&e.dispose(),e=new u(this,i),t.data(o,e))})}}),function(t){var e,i,n=!1;"function"==typeof define&&define.amd&&(define(t),n=!0),"object"==typeof exports&&(module.exports=t(),n=!0),n||(e=window.Cookies,(i=window.Cookies=t()).noConflict=function(){return window.Cookies=e,i})}(function(){function m(){for(var t=0,e={};t<arguments.length;t++){var i,n=arguments[t];for(i in n)e[i]=n[i]}return e}return function t(p){function f(t,e,i){var n,o;if("undefined"!=typeof document){if(1<arguments.length){"number"==typeof(i=m({path:"/"},f.defaults,i)).expires&&((o=new Date).setMilliseconds(o.getMilliseconds()+864e5*i.expires),i.expires=o),i.expires=i.expires?i.expires.toUTCString():"";try{n=JSON.stringify(e),/^[\{\[]/.test(n)&&(e=n)}catch(t){}e=p.write?p.write(e,t):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=(t=(t=encodeURIComponent(String(t))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var r,s="";for(r in i)i[r]&&(s+="; "+r,!0!==i[r])&&(s+="="+i[r]);return document.cookie=t+"="+e+s}t||(n={});for(var a=document.cookie?document.cookie.split("; "):[],l=/(%[0-9A-Z]{2})+/g,u=0;u<a.length;u++){var c=a[u].split("=");'"'===(d=c.slice(1).join("=")).charAt(0)&&(d=d.slice(1,-1));try{var h=c[0].replace(l,decodeURIComponent),d=p.read?p.read(d,h):p(d,h)||d.replace(l,decodeURIComponent);if(this.json)try{d=JSON.parse(d)}catch(t){}if(t===h){n=d;break}t||(n[h]=d)}catch(t){}}return n}}return(f.set=f).get=function(t){return f.call(f,t)},f.getJSON=function(){return f.apply({json:!0},[].slice.call(arguments))},f.defaults={},f.remove=function(t,e){f(t,"",m(e,{expires:-1}))},f.withConverter=t,f}(function(){})}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(n){"use strict";var o=[],r={precision:100,elapse:!1};(e=[]).push(/^[0-9]*$/.source),e.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),e.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source);var e=new RegExp(e.join("|")),c={Y:"years",m:"months",n:"daysToMonth",w:"weeks",d:"daysToWeek",D:"totalDays",H:"hours",M:"minutes",S:"seconds"};function i(u){return function(t){var e=t.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(e)for(var i=0,n=e.length;i<n;++i){var o=e[i].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),r=(r=(r=o[0]).toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),new RegExp(r)),s=o[1]||"",a=o[3]||"",l=null,o=o[2];c.hasOwnProperty(o)&&(l=c[o],l=Number(u[l])),null!==l&&("!"===s&&(l=function(t,e){var i="s",n="";t&&(t=t.replace(/(:|;|\s)/gi,"").split(/\,/),i=1===t.length?t[0]:(n=t[0],t[1]));return 1===Math.abs(e)?n:i}(a,l)),""===s&&l<10&&(l="0"+l.toString()),t=t.replace(r,l.toString()))}return t=t.replace(/%%/,"%")}}function s(t,e,i){this.el=t,this.$el=n(t),this.interval=null,this.offset={},this.options=n.extend({},r),this.instanceNumber=o.length,o.push(this),this.$el.data("countdown-instance",this.instanceNumber),i&&("function"==typeof i?(this.$el.on("update.countdown",i),this.$el.on("stoped.countdown",i),this.$el.on("finish.countdown",i)):this.options=n.extend({},r,i)),this.setFinalDate(e),this.start()}n.extend(s.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var t=this;this.update(),this.interval=setInterval(function(){t.update.call(t)},this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),o[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(t){this.finalDate=function(t){if(t instanceof Date)return t;if(String(t).match(e))return String(t).match(/^[0-9]*$/)&&(t=Number(t)),String(t).match(/\-/)&&(t=String(t).replace(/\-/g,"/")),new Date(t);throw new Error("Couldn't cast `"+t+"` to a date object.")}(t)},update:function(){var t,e,i;0===this.$el.closest("html").length?this.remove():(t=void 0!==n._data(this.el,"events"),e=new Date,i=this.finalDate.getTime()-e.getTime(),i=Math.ceil(i/1e3),i=!this.options.elapse&&i<0?0:Math.abs(i),this.totalSecsLeft!==i&&t&&(this.totalSecsLeft=i,this.elapsed=e>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),totalDays:Math.floor(this.totalSecsLeft/60/60/24),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-e.getFullYear())},this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish"))))},dispatchEvent:function(t){t=n.Event(t+".countdown");t.finalDate=this.finalDate,t.elapsed=this.elapsed,t.offset=n.extend({},this.offset),t.strftime=i(this.offset),this.$el.trigger(t)}}),n.fn.countdown=function(){var i=Array.prototype.slice.call(arguments,0);return this.each(function(){var t,e=n(this).data("countdown-instance");void 0!==e?(e=o[e],t=i[0],s.prototype.hasOwnProperty(t)?e[t].apply(e,i.slice(1)):null===String(t).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(e.setFinalDate.call(e,t),e.start()):n.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,t))):new s(this,i[0],i[1])})}}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.dayjs=e()}(this,function(){"use strict";function n(t,e,i){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(i)+t}function i(t){return t instanceof b}function o(t,e,i){var n;return t?("string"==typeof t?(c[t]&&(n=t),e&&(c[t]=e,n=t)):(e=t.name,c[e]=t,n=e),!i&&n&&(u=n),n||!i&&u):u}function s(t,e){return i(t)?t.clone():((e="object"==typeof e?e:{}).date=t,e.args=arguments,new b(e))}var r="millisecond",h="second",d="minute",p="hour",f="day",m="week",g="month",a="quarter",v="year",y="date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,_=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,t={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},e={s:n,z:function(t){var t=-t.utcOffset(),e=Math.abs(t),i=Math.floor(e/60),e=e%60;return(t<=0?"+":"-")+n(i,2,"0")+":"+n(e,2,"0")},m:function t(e,i){var n,o,r;return e.date()<i.date()?-t(i,e):(n=12*(i.year()-e.year())+(i.month()-e.month()),r=i-(o=e.clone().add(n,g))<0,e=e.clone().add(n+(r?-1:1),g),+(-(n+(i-o)/(r?o-e:e-o))||0))},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:g,y:v,w:m,d:f,D:y,h:p,m:d,s:h,ms:r,Q:a}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},u="en",c={},w=(c[u]=t,e),b=(w.l=o,w.i=i,w.w=function(t,e){return s(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})},(t=T.prototype).parse=function(r){this.$d=function(){var t=r.date,e=r.utc;if(null===t)return new Date(NaN);if(w.u(t))return new Date;if(!(t instanceof Date||"string"!=typeof t||/Z$/i.test(t))){var i,n,o=t.match(l);if(o)return i=o[2]-1||0,n=(o[7]||"0").substring(0,3),e?new Date(Date.UTC(o[1],i,o[3]||1,o[4]||0,o[5]||0,o[6]||0,n)):new Date(o[1],i,o[3]||1,o[4]||0,o[5]||0,o[6]||0,n)}return new Date(t)}(),this.$x=r.x||{},this.init()},t.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},t.$utils=function(){return w},t.isValid=function(){return!("Invalid Date"===this.$d.toString())},t.isSame=function(t,e){t=s(t);return this.startOf(e)<=t&&t<=this.endOf(e)},t.isAfter=function(t,e){return s(t)<this.startOf(e)},t.isBefore=function(t,e){return this.endOf(e)<s(t)},t.$g=function(t,e,i){return w.u(t)?this[e]:this.set(i,t)},t.unix=function(){return Math.floor(this.valueOf()/1e3)},t.valueOf=function(){return this.$d.getTime()},t.startOf=function(t,e){function i(t,e){return e=w.w(o.$u?Date.UTC(o.$y,e,t):new Date(o.$y,e,t),o),r?e:e.endOf(f)}function n(t,e){return w.w(o.toDate()[t].apply(o.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),o)}var o=this,r=!!w.u(e)||e,e=w.p(t),s=this.$W,a=this.$M,l=this.$D,u="set"+(this.$u?"UTC":"");switch(e){case v:return r?i(1,0):i(31,11);case g:return r?i(1,a):i(0,a+1);case m:var c=this.$locale().weekStart||0,c=(s<c?s+7:s)-c;return i(r?l-c:l+(6-c),a);case f:case y:return n(u+"Hours",0);case p:return n(u+"Minutes",1);case d:return n(u+"Seconds",2);case h:return n(u+"Milliseconds",3);default:return this.clone()}},t.endOf=function(t){return this.startOf(t,!1)},t.$set=function(t,e){var t=w.p(t),i="set"+(this.$u?"UTC":""),i=((n={}).day=i+"Date",n[y]=i+"Date",n[g]=i+"Month",n[v]=i+"FullYear",n[p]=i+"Hours",n[d]=i+"Minutes",n[h]=i+"Seconds",n[r]=i+"Milliseconds",n[t]),n=t===f?this.$D+(e-this.$W):e;return t===g||t===v?((e=this.clone().set(y,1)).$d[i](n),e.init(),this.$d=e.set(y,Math.min(this.$D,e.daysInMonth())).$d):i&&this.$d[i](n),this.init(),this},t.set=function(t,e){return this.clone().$set(t,e)},t.get=function(t){return this[w.p(t)]()},t.add=function(i,t){function e(t){var e=s(n);return w.w(e.date(e.date()+Math.round(t*i)),n)}var n=this,t=(i=Number(i),w.p(t));return t===g?this.set(g,this.$M+i):t===v?this.set(v,this.$y+i):t===f?e(1):t===m?e(7):(t={minute:6e4,hour:36e5,second:1e3}[t]||1,t=this.$d.getTime()+i*t,w.w(t,this))},t.subtract=function(t,e){return this.add(-1*t,e)},t.format=function(t){var o,i,e,n,r,s,a,l,u,c,h,d=this;return this.isValid()?(o=t||"YYYY-MM-DDTHH:mm:ssZ",i=w.z(this),t=this.$locale(),e=this.$H,n=this.$m,r=this.$M,s=t.weekdays,a=t.months,l=function(t,e,i,n){return t&&(t[e]||t(d,o))||i[e].substr(0,n)},u=function(t){return w.s(e%12||12,t,"0")},c=t.meridiem||function(t,e,i){t=t<12?"AM":"PM";return i?t.toLowerCase():t},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:r+1,MM:w.s(r+1,2,"0"),MMM:l(t.monthsShort,r,a,3),MMMM:l(a,r),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:l(t.weekdaysMin,this.$W,s,2),ddd:l(t.weekdaysShort,this.$W,s,3),dddd:s[this.$W],H:String(e),HH:w.s(e,2,"0"),h:u(1),hh:u(2),a:c(e,n,!0),A:c(e,n,!1),m:String(n),mm:w.s(n,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:i},o.replace(_,function(t,e){return e||h[t]||i.replace(":","")})):"Invalid Date"},t.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},t.diff=function(t,e,i){var e=w.p(e),t=s(t),n=6e4*(t.utcOffset()-this.utcOffset()),o=this-t,t=w.m(this,t),r={};return r[v]=t/12,r[g]=t,r[a]=t/3,r[m]=(o-n)/6048e5,r.day=(o-n)/864e5,r[p]=o/36e5,r[d]=o/6e4,r[h]=o/1e3,t=r[e]||o,i?t:w.a(t)},t.daysInMonth=function(){return this.endOf(g).$D},t.$locale=function(){return c[this.$L]},t.locale=function(t,e){var i;return t?(i=this.clone(),(t=o(t,e,!0))&&(i.$L=t),i):this.$L},t.clone=function(){return w.w(this.$d,this)},t.toDate=function(){return new Date(this.valueOf())},t.toJSON=function(){return this.isValid()?this.toISOString():null},t.toISOString=function(){return this.$d.toISOString()},t.toString=function(){return this.$d.toUTCString()},T),x=b.prototype;function T(t){this.$L=o(t.locale,null,!0),this.parse(t)}return s.prototype=x,[["$ms",r],["$s",h],["$m",d],["$H",p],["$W",f],["$M",g],["$y",v],["$D",y]].forEach(function(e){x[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),s.extend=function(t,e){return t(e,b,s),s},s.locale=o,s.isDayjs=i,s.unix=function(t){return s(1e3*t)},s.en=c[u],s.Ls=c,s.p={},s}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).timezoneSupport={})}(this,function(t){"use strict";function h(t){return 96<t?t-87:64<t?t-29:t-48}function u(t){for(var e=0,i=t.length;e<i;++e)t[e]=function(t){var e=(o=t.split("."))[0],i=o[1]||"",n=1,o=0,r=0,s=1;45===t.charCodeAt(0)&&(s=-(o=1));for(var a=o,l=e.length;a<l;++a)r=60*r+h(e.charCodeAt(a));for(var u=0,c=i.length;u<c;++u)r+=h(i.charCodeAt(u))*(n/=60);return r*s}(t[e])}function c(t,e){for(var i=[],n=0,o=e.length;n<o;++n)i[n]=t[e[n]];return i}var n,e,o,r,i,s;function d(t){var e=t.year,i=t.month,n=t.day,o=t.hours,r=t.minutes,s=t.seconds,t=t.milliseconds;return Date.UTC(e,i-1,n,void 0===o?0:o,void 0===r?0:r,void 0===s?0:s,void 0===t?0:t)}function a(t){return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate(),dayOfWeek:t.getUTCDay(),hours:t.getUTCHours(),minutes:t.getUTCMinutes(),seconds:t.getUTCSeconds()||0,milliseconds:t.getUTCMilliseconds()||0}}function l(t){return{year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate(),dayOfWeek:t.getDay(),hours:t.getHours(),minutes:t.getMinutes(),seconds:t.getSeconds()||0,milliseconds:t.getMilliseconds()||0}}function p(t,o){t=function(t){for(var e=o.untils,i=0,n=e.length;i<n;++i)if(t<e[i])return i}(t);return{abbreviation:o.abbreviations[t],offset:o.offsets[t]}}function f(t,e){Object.defineProperty(t,"epoch",{value:e})}i=(s={version:"2019a",zones:["Africa/Abidjan|GMT|0|0||48e5","Africa/Nairobi|EAT|-30|0||47e5","Africa/Algiers|CET|-10|0||26e5","Africa/Lagos|WAT|-10|0||17e6","Africa/Maputo|CAT|-20|0||26e5","Africa/Cairo|EET EEST|-20 -30|01010|1M2m0 gL0 e10 mn0|15e6","Africa/Casablanca|+00 +01|0 -10|010101010101010101010101010101010101|1H3C0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0|32e5","Europe/Paris|CET CEST|-10 -20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|11e6","Africa/Johannesburg|SAST|-20|0||84e5","Africa/Khartoum|EAT CAT|-30 -20|01|1Usl0|51e5","Africa/Sao_Tome|GMT WAT|0 -10|010|1UQN0 2q00","Africa/Tripoli|EET CET CEST|-20 -10 -20|0120|1IlA0 TA0 1o00|11e5","Africa/Windhoek|CAT WAT|-20 -10|0101010101010|1GQo0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|HST HDT|a0 90|01010101010101010101010|1GIc0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|326","America/Anchorage|AKST AKDT|90 80|01010101010101010101010|1GIb0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|30e4","America/Santo_Domingo|AST|40|0||29e5","America/Araguaina|-03 -02|30 20|010|1IdD0 Lz0|14e4","America/Fortaleza|-03|30|0||34e5","America/Asuncion|-03 -04|30 40|01010101010101010101010|1GTf0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0|28e5","America/Panama|EST|50|0||15e5","America/Mexico_City|CST CDT|60 50|01010101010101010101010|1GQw0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|20e6","America/Bahia|-02 -03|20 30|01|1GCq0|27e5","America/Managua|CST|60|0||22e5","America/La_Paz|-04|40|0||19e5","America/Lima|-05|50|0||11e6","America/Denver|MST MDT|70 60|01010101010101010101010|1GI90 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|26e5","America/Campo_Grande|-03 -04|30 40|01010101010101010101010|1GCr0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0 1HB0 FX0 1HB0 IL0 1HB0 FX0 1HB0|77e4","America/Cancun|CST CDT EST|60 50 50|01010102|1GQw0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|-0430 -04|4u 40|01|1QMT0|29e5","America/Chicago|CST CDT|60 50|01010101010101010101010|1GI80 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|92e5","America/Chihuahua|MST MDT|70 60|01010101010101010101010|1GQx0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|81e4","America/Phoenix|MST|70|0||42e5","America/Los_Angeles|PST PDT|80 70|01010101010101010101010|1GIa0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|15e6","America/New_York|EST EDT|50 40|01010101010101010101010|1GI70 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|21e6","America/Rio_Branco|-04 -05|40 50|01|1KLE0|31e4","America/Fort_Nelson|PST PDT MST|80 70 70|01010102|1GIa0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Halifax|AST ADT|40 30|01010101010101010101010|1GI60 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|39e4","America/Godthab|-03 -02|30 20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|17e3","America/Grand_Turk|EST EDT AST|50 40 40|0101010121010101010|1GI70 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|37e2","America/Havana|CST CDT|50 40|01010101010101010101010|1GQt0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0|21e5","America/Metlakatla|PST AKST AKDT|80 90 80|01212120121212121|1PAa0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|14e2","America/Miquelon|-03 -02|30 20|01010101010101010101010|1GI50 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|61e2","America/Montevideo|-02 -03|20 30|01010101|1GI40 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Noronha|-02|20|0||30e2","America/Port-au-Prince|EST EDT|50 40|010101010101010101010|1GI70 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|23e5","Antarctica/Palmer|-03 -04|30 40|010101010|1H3D0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","America/Santiago|-03 -04|30 40|010101010101010101010|1H3D0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|62e5","America/Sao_Paulo|-02 -03|20 30|01010101010101010101010|1GCq0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0 1HB0 FX0 1HB0 IL0 1HB0 FX0 1HB0|20e6","Atlantic/Azores|-01 +00|10 0|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e4","America/St_Johns|NST NDT|3u 2u|01010101010101010101010|1GI5u 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|11e4","Antarctica/Casey|+11 +08|-b0 -80|0101|1GAF0 blz0 3m10|10","Antarctica/Davis|+05 +07|-50 -70|01|1GAI0|70","Pacific/Port_Moresby|+10|-a0|0||25e4","Pacific/Guadalcanal|+11|-b0|0||11e4","Asia/Tashkent|+05|-50|0||23e5","Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|1GQe0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|14e5","Asia/Baghdad|+03|-30|0||66e5","Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|40","Asia/Dhaka|+06|-60|0||16e6","Asia/Amman|EET EEST|-20 -30|010101010101010101010|1GPy0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00|25e5","Asia/Kamchatka|+12|-c0|0||18e4","Asia/Baku|+04 +05|-40 -50|010101010|1GNA0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|+07|-70|0||15e6","Asia/Barnaul|+07 +06|-70 -60|010|1N7v0 3rd0","Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|1GNy0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|22e5","Asia/Kuala_Lumpur|+08|-80|0||71e5","Asia/Kolkata|IST|-5u|0||15e6","Asia/Chita|+10 +08 +09|-a0 -80 -90|012|1N7s0 3re0|33e4","Asia/Ulaanbaatar|+08 +09|-80 -90|01010|1O8G0 1cJ0 1cP0 1cJ0|12e5","Asia/Shanghai|CST|-80|0||23e6","Asia/Colombo|+0530|-5u|0||22e5","Asia/Damascus|EET EEST|-20 -30|01010101010101010101010|1GPy0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|26e5","Asia/Dili|+09|-90|0||19e4","Asia/Dubai|+04|-40|0||39e5","Asia/Famagusta|EET EEST +03|-20 -30 -30|0101010101201010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0","Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|1GPy0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|18e5","Asia/Hong_Kong|HKT|-80|0||73e5","Asia/Hovd|+07 +08|-70 -80|01010|1O8H0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|+09 +08|-90 -80|01|1N7t0|60e4","Europe/Istanbul|EET EEST +03|-20 -30 -30|01010101012|1GNB0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|WIB|-70|0||31e6","Asia/Jayapura|WIT|-90|0||26e4","Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|1GPA0 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0|81e4","Asia/Kabul|+0430|-4u|0||46e5","Asia/Karachi|PKT|-50|0||24e6","Asia/Kathmandu|+0545|-5J|0||12e5","Asia/Yakutsk|+10 +09|-a0 -90|01|1N7s0|28e4","Asia/Krasnoyarsk|+08 +07|-80 -70|01|1N7u0|10e5","Asia/Magadan|+12 +10 +11|-c0 -a0 -b0|012|1N7q0 3Cq0|95e3","Asia/Makassar|WITA|-80|0||15e5","Asia/Manila|PST|-80|0||24e6","Europe/Athens|EET EEST|-20 -30|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|35e5","Asia/Novosibirsk|+07 +06|-70 -60|010|1N7v0 4eN0|15e5","Asia/Omsk|+07 +06|-70 -60|01|1N7v0|12e5","Asia/Pyongyang|KST KST|-90 -8u|010|1P4D0 6BA0|29e5","Asia/Qyzylorda|+06 +05|-60 -50|01|1Xei0|73e4","Asia/Rangoon|+0630|-6u|0||48e5","Asia/Sakhalin|+11 +10|-b0 -a0|010|1N7r0 3rd0|58e4","Asia/Seoul|KST|-90|0||23e6","Asia/Srednekolymsk|+12 +11|-c0 -b0|01|1N7q0|35e2","Asia/Tehran|+0330 +0430|-3u -4u|01010101010101010101010|1GLUu 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0|14e6","Asia/Tokyo|JST|-90|0||38e6","Asia/Tomsk|+07 +06|-70 -60|010|1N7v0 3Qp0|10e5","Asia/Vladivostok|+11 +10|-b0 -a0|01|1N7r0|60e4","Asia/Yekaterinburg|+06 +05|-60 -50|01|1N7w0|14e5","Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|27e5","Atlantic/Cape_Verde|-01|10|0||50e4","Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|1GQg0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|1GQgu 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST|-a0|0||20e5","Australia/Darwin|ACST|-9u|0||12e4","Australia/Eucla|+0845|-8J|0||368","Australia/Lord_Howe|+11 +1030|-b0 -au|01010101010101010101010|1GQf0 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu|347","Australia/Perth|AWST|-80|0||18e5","Pacific/Easter|-05 -06|50 60|010101010101010101010|1H3D0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|30e2","Europe/Dublin|GMT IST|0 -10|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|12e5","Etc/GMT-1|+01|-10|0|","Pacific/Fakaofo|+13|-d0|0||483","Pacific/Kiritimati|+14|-e0|0||51e2","Etc/GMT-2|+02|-20|0|","Pacific/Tahiti|-10|a0|0||18e4","Pacific/Niue|-11|b0|0||12e2","Etc/GMT+12|-12|c0|0|","Pacific/Galapagos|-06|60|0||25e3","Etc/GMT+7|-07|70|0|","Pacific/Pitcairn|-08|80|0||56","Pacific/Gambier|-09|90|0||125","Etc/UTC|UTC|0|0|","Europe/Ulyanovsk|+04 +03|-40 -30|010|1N7y0 3rd0|13e5","Europe/London|GMT BST|0 -10|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|10e6","Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|1GNA0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|67e4","Europe/Kaliningrad|+03 EET|-30 -20|01|1N7z0|44e4","Europe/Kirov|+04 +03|-40 -30|01|1N7y0|48e4","Europe/Moscow|MSK MSK|-40 -30|01|1N7y0|16e6","Europe/Saratov|+04 +03|-40 -30|010|1N7y0 5810","Europe/Simferopol|EET EEST MSK MSK|-20 -30 -40 -30|0101023|1GNB0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Volgograd|+04 +03|-40 -30|010|1N7y0 9Jd0|10e5","Pacific/Honolulu|HST|a0|0||37e4","MET|MET MEST|-10 -20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0","Pacific/Chatham|+1345 +1245|-dJ -cJ|01010101010101010101010|1GQe0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|+14 +13|-e0 -d0|01010101010101010101010|1GQe0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|37e3","Pacific/Bougainville|+10 +11|-a0 -b0|01|1NwE0|18e4","Pacific/Fiji|+13 +12|-d0 -c0|01010101010101010101010|1Goe0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1VA0 s00 1VA0|88e4","Pacific/Guam|ChST|-a0|0||17e4","Pacific/Marquesas|-0930|9u|0||86e2","Pacific/Pago_Pago|SST|b0|0||37e2","Pacific/Norfolk|+1130 +11|-bu -b0|01|1PoCu|25e4","Pacific/Tongatapu|+13 +14|-d0 -e0|010|1S4d0 s00|75e3"],links:["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Bissau","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Monrovia","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|America/Danmarkshavn","Africa/Abidjan|Atlantic/Reykjavik","Africa/Abidjan|Atlantic/St_Helena","Africa/Abidjan|Etc/GMT","Africa/Abidjan|Etc/GMT+0","Africa/Abidjan|Etc/GMT-0","Africa/Abidjan|Etc/GMT0","Africa/Abidjan|Etc/Greenwich","Africa/Abidjan|GMT","Africa/Abidjan|GMT+0","Africa/Abidjan|GMT-0","Africa/Abidjan|GMT0","Africa/Abidjan|Greenwich","Africa/Abidjan|Iceland","Africa/Algiers|Africa/Tunis","Africa/Cairo|Egypt","Africa/Casablanca|Africa/El_Aaiun","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Ndjamena","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Juba","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|America/Juneau","America/Anchorage|America/Nome","America/Anchorage|America/Sitka","America/Anchorage|America/Yakutat","America/Anchorage|US/Alaska","America/Campo_Grande|America/Cuiaba","America/Chicago|America/Indiana/Knox","America/Chicago|America/Indiana/Tell_City","America/Chicago|America/Knox_IN","America/Chicago|America/Matamoros","America/Chicago|America/Menominee","America/Chicago|America/North_Dakota/Beulah","America/Chicago|America/North_Dakota/Center","America/Chicago|America/North_Dakota/New_Salem","America/Chicago|America/Rainy_River","America/Chicago|America/Rankin_Inlet","America/Chicago|America/Resolute","America/Chicago|America/Winnipeg","America/Chicago|CST6CDT","America/Chicago|Canada/Central","America/Chicago|US/Central","America/Chicago|US/Indiana-Starke","America/Chihuahua|America/Mazatlan","America/Chihuahua|Mexico/BajaSur","America/Denver|America/Boise","America/Denver|America/Cambridge_Bay","America/Denver|America/Edmonton","America/Denver|America/Inuvik","America/Denver|America/Ojinaga","America/Denver|America/Shiprock","America/Denver|America/Yellowknife","America/Denver|Canada/Mountain","America/Denver|MST7MDT","America/Denver|Navajo","America/Denver|US/Mountain","America/Fortaleza|America/Argentina/Buenos_Aires","America/Fortaleza|America/Argentina/Catamarca","America/Fortaleza|America/Argentina/ComodRivadavia","America/Fortaleza|America/Argentina/Cordoba","America/Fortaleza|America/Argentina/Jujuy","America/Fortaleza|America/Argentina/La_Rioja","America/Fortaleza|America/Argentina/Mendoza","America/Fortaleza|America/Argentina/Rio_Gallegos","America/Fortaleza|America/Argentina/Salta","America/Fortaleza|America/Argentina/San_Juan","America/Fortaleza|America/Argentina/San_Luis","America/Fortaleza|America/Argentina/Tucuman","America/Fortaleza|America/Argentina/Ushuaia","America/Fortaleza|America/Belem","America/Fortaleza|America/Buenos_Aires","America/Fortaleza|America/Catamarca","America/Fortaleza|America/Cayenne","America/Fortaleza|America/Cordoba","America/Fortaleza|America/Jujuy","America/Fortaleza|America/Maceio","America/Fortaleza|America/Mendoza","America/Fortaleza|America/Paramaribo","America/Fortaleza|America/Recife","America/Fortaleza|America/Rosario","America/Fortaleza|America/Santarem","America/Fortaleza|Antarctica/Rothera","America/Fortaleza|Atlantic/Stanley","America/Fortaleza|Etc/GMT+3","America/Halifax|America/Glace_Bay","America/Halifax|America/Goose_Bay","America/Halifax|America/Moncton","America/Halifax|America/Thule","America/Halifax|Atlantic/Bermuda","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/La_Paz|America/Boa_Vista","America/La_Paz|America/Guyana","America/La_Paz|America/Manaus","America/La_Paz|America/Porto_Velho","America/La_Paz|Brazil/West","America/La_Paz|Etc/GMT+4","America/Lima|America/Bogota","America/Lima|America/Guayaquil","America/Lima|Etc/GMT+5","America/Los_Angeles|America/Dawson","America/Los_Angeles|America/Ensenada","America/Los_Angeles|America/Santa_Isabel","America/Los_Angeles|America/Tijuana","America/Los_Angeles|America/Vancouver","America/Los_Angeles|America/Whitehorse","America/Los_Angeles|Canada/Pacific","America/Los_Angeles|Canada/Yukon","America/Los_Angeles|Mexico/BajaNorte","America/Los_Angeles|PST8PDT","America/Los_Angeles|US/Pacific","America/Los_Angeles|US/Pacific-New","America/Managua|America/Belize","America/Managua|America/Costa_Rica","America/Managua|America/El_Salvador","America/Managua|America/Guatemala","America/Managua|America/Regina","America/Managua|America/Swift_Current","America/Managua|America/Tegucigalpa","America/Managua|Canada/Saskatchewan","America/Mexico_City|America/Bahia_Banderas","America/Mexico_City|America/Merida","America/Mexico_City|America/Monterrey","America/Mexico_City|Mexico/General","America/New_York|America/Detroit","America/New_York|America/Fort_Wayne","America/New_York|America/Indiana/Indianapolis","America/New_York|America/Indiana/Marengo","America/New_York|America/Indiana/Petersburg","America/New_York|America/Indiana/Vevay","America/New_York|America/Indiana/Vincennes","America/New_York|America/Indiana/Winamac","America/New_York|America/Indianapolis","America/New_York|America/Iqaluit","America/New_York|America/Kentucky/Louisville","America/New_York|America/Kentucky/Monticello","America/New_York|America/Louisville","America/New_York|America/Montreal","America/New_York|America/Nassau","America/New_York|America/Nipigon","America/New_York|America/Pangnirtung","America/New_York|America/Thunder_Bay","America/New_York|America/Toronto","America/New_York|Canada/Eastern","America/New_York|EST5EDT","America/New_York|US/East-Indiana","America/New_York|US/Eastern","America/New_York|US/Michigan","America/Noronha|Atlantic/South_Georgia","America/Noronha|Brazil/DeNoronha","America/Noronha|Etc/GMT+2","America/Panama|America/Atikokan","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Panama|America/Jamaica","America/Panama|EST","America/Panama|Jamaica","America/Phoenix|America/Creston","America/Phoenix|America/Dawson_Creek","America/Phoenix|America/Hermosillo","America/Phoenix|MST","America/Phoenix|US/Arizona","America/Rio_Branco|America/Eirunepe","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Santo_Domingo|America/Anguilla","America/Santo_Domingo|America/Antigua","America/Santo_Domingo|America/Aruba","America/Santo_Domingo|America/Barbados","America/Santo_Domingo|America/Blanc-Sablon","America/Santo_Domingo|America/Curacao","America/Santo_Domingo|America/Dominica","America/Santo_Domingo|America/Grenada","America/Santo_Domingo|America/Guadeloupe","America/Santo_Domingo|America/Kralendijk","America/Santo_Domingo|America/Lower_Princes","America/Santo_Domingo|America/Marigot","America/Santo_Domingo|America/Martinique","America/Santo_Domingo|America/Montserrat","America/Santo_Domingo|America/Port_of_Spain","America/Santo_Domingo|America/Puerto_Rico","America/Santo_Domingo|America/St_Barthelemy","America/Santo_Domingo|America/St_Kitts","America/Santo_Domingo|America/St_Lucia","America/Santo_Domingo|America/St_Thomas","America/Santo_Domingo|America/St_Vincent","America/Santo_Domingo|America/Tortola","America/Santo_Domingo|America/Virgin","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","Antarctica/Palmer|America/Punta_Arenas","Asia/Baghdad|Antarctica/Syowa","Asia/Baghdad|Asia/Aden","Asia/Baghdad|Asia/Bahrain","Asia/Baghdad|Asia/Kuwait","Asia/Baghdad|Asia/Qatar","Asia/Baghdad|Asia/Riyadh","Asia/Baghdad|Etc/GMT-3","Asia/Baghdad|Europe/Minsk","Asia/Bangkok|Asia/Ho_Chi_Minh","Asia/Bangkok|Asia/Novokuznetsk","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Saigon","Asia/Bangkok|Asia/Vientiane","Asia/Bangkok|Etc/GMT-7","Asia/Bangkok|Indian/Christmas","Asia/Dhaka|Antarctica/Vostok","Asia/Dhaka|Asia/Almaty","Asia/Dhaka|Asia/Bishkek","Asia/Dhaka|Asia/Dacca","Asia/Dhaka|Asia/Kashgar","Asia/Dhaka|Asia/Qostanay","Asia/Dhaka|Asia/Thimbu","Asia/Dhaka|Asia/Thimphu","Asia/Dhaka|Asia/Urumqi","Asia/Dhaka|Etc/GMT-6","Asia/Dhaka|Indian/Chagos","Asia/Dili|Etc/GMT-9","Asia/Dili|Pacific/Palau","Asia/Dubai|Asia/Muscat","Asia/Dubai|Asia/Tbilisi","Asia/Dubai|Asia/Yerevan","Asia/Dubai|Etc/GMT-4","Asia/Dubai|Europe/Samara","Asia/Dubai|Indian/Mahe","Asia/Dubai|Indian/Mauritius","Asia/Dubai|Indian/Reunion","Asia/Gaza|Asia/Hebron","Asia/Hong_Kong|Hongkong","Asia/Jakarta|Asia/Pontianak","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kamchatka|Asia/Anadyr","Asia/Kamchatka|Etc/GMT-12","Asia/Kamchatka|Kwajalein","Asia/Kamchatka|Pacific/Funafuti","Asia/Kamchatka|Pacific/Kwajalein","Asia/Kamchatka|Pacific/Majuro","Asia/Kamchatka|Pacific/Nauru","Asia/Kamchatka|Pacific/Tarawa","Asia/Kamchatka|Pacific/Wake","Asia/Kamchatka|Pacific/Wallis","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Brunei","Asia/Kuala_Lumpur|Asia/Kuching","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Etc/GMT-8","Asia/Kuala_Lumpur|Singapore","Asia/Makassar|Asia/Ujung_Pandang","Asia/Rangoon|Asia/Yangon","Asia/Rangoon|Indian/Cocos","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|Asia/Macao","Asia/Shanghai|Asia/Macau","Asia/Shanghai|Asia/Taipei","Asia/Shanghai|PRC","Asia/Shanghai|ROC","Asia/Tashkent|Antarctica/Mawson","Asia/Tashkent|Asia/Aqtau","Asia/Tashkent|Asia/Aqtobe","Asia/Tashkent|Asia/Ashgabat","Asia/Tashkent|Asia/Ashkhabad","Asia/Tashkent|Asia/Atyrau","Asia/Tashkent|Asia/Dushanbe","Asia/Tashkent|Asia/Oral","Asia/Tashkent|Asia/Samarkand","Asia/Tashkent|Etc/GMT-5","Asia/Tashkent|Indian/Kerguelen","Asia/Tashkent|Indian/Maldives","Asia/Tehran|Iran","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Choibalsan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Vladivostok|Asia/Ust-Nera","Asia/Yakutsk|Asia/Khandyga","Atlantic/Azores|America/Scoresbysund","Atlantic/Cape_Verde|Etc/GMT+1","Australia/Adelaide|Australia/Broken_Hill","Australia/Adelaide|Australia/South","Australia/Adelaide|Australia/Yancowinna","Australia/Brisbane|Australia/Lindeman","Australia/Brisbane|Australia/Queensland","Australia/Darwin|Australia/North","Australia/Lord_Howe|Australia/LHI","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/Currie","Australia/Sydney|Australia/Hobart","Australia/Sydney|Australia/Melbourne","Australia/Sydney|Australia/NSW","Australia/Sydney|Australia/Tasmania","Australia/Sydney|Australia/Victoria","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Athens|Asia/Nicosia","Europe/Athens|EET","Europe/Athens|Europe/Bucharest","Europe/Athens|Europe/Helsinki","Europe/Athens|Europe/Kiev","Europe/Athens|Europe/Mariehamn","Europe/Athens|Europe/Nicosia","Europe/Athens|Europe/Riga","Europe/Athens|Europe/Sofia","Europe/Athens|Europe/Tallinn","Europe/Athens|Europe/Uzhgorod","Europe/Athens|Europe/Vilnius","Europe/Athens|Europe/Zaporozhye","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Atlantic/Canary","Europe/Lisbon|Atlantic/Faeroe","Europe/Lisbon|Atlantic/Faroe","Europe/Lisbon|Atlantic/Madeira","Europe/Lisbon|Portugal","Europe/Lisbon|WET","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Paris|Africa/Ceuta","Europe/Paris|Arctic/Longyearbyen","Europe/Paris|Atlantic/Jan_Mayen","Europe/Paris|CET","Europe/Paris|Europe/Amsterdam","Europe/Paris|Europe/Andorra","Europe/Paris|Europe/Belgrade","Europe/Paris|Europe/Berlin","Europe/Paris|Europe/Bratislava","Europe/Paris|Europe/Brussels","Europe/Paris|Europe/Budapest","Europe/Paris|Europe/Busingen","Europe/Paris|Europe/Copenhagen","Europe/Paris|Europe/Gibraltar","Europe/Paris|Europe/Ljubljana","Europe/Paris|Europe/Luxembourg","Europe/Paris|Europe/Madrid","Europe/Paris|Europe/Malta","Europe/Paris|Europe/Monaco","Europe/Paris|Europe/Oslo","Europe/Paris|Europe/Podgorica","Europe/Paris|Europe/Prague","Europe/Paris|Europe/Rome","Europe/Paris|Europe/San_Marino","Europe/Paris|Europe/Sarajevo","Europe/Paris|Europe/Skopje","Europe/Paris|Europe/Stockholm","Europe/Paris|Europe/Tirane","Europe/Paris|Europe/Vaduz","Europe/Paris|Europe/Vatican","Europe/Paris|Europe/Vienna","Europe/Paris|Europe/Warsaw","Europe/Paris|Europe/Zagreb","Europe/Paris|Europe/Zurich","Europe/Paris|Poland","Europe/Ulyanovsk|Europe/Astrakhan","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Easter|Chile/EasterIsland","Pacific/Fakaofo|Etc/GMT-13","Pacific/Fakaofo|Pacific/Enderbury","Pacific/Galapagos|Etc/GMT+6","Pacific/Gambier|Etc/GMT+9","Pacific/Guadalcanal|Antarctica/Macquarie","Pacific/Guadalcanal|Etc/GMT-11","Pacific/Guadalcanal|Pacific/Efate","Pacific/Guadalcanal|Pacific/Kosrae","Pacific/Guadalcanal|Pacific/Noumea","Pacific/Guadalcanal|Pacific/Pohnpei","Pacific/Guadalcanal|Pacific/Ponape","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|HST","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kiritimati|Etc/GMT-14","Pacific/Niue|Etc/GMT+11","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Pitcairn|Etc/GMT+8","Pacific/Port_Moresby|Antarctica/DumontDUrville","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Port_Moresby|Pacific/Chuuk","Pacific/Port_Moresby|Pacific/Truk","Pacific/Port_Moresby|Pacific/Yap","Pacific/Tahiti|Etc/GMT+10","Pacific/Tahiti|Pacific/Rarotonga"]}).zones,s=s.links,n={},e=i.map(function(t){var e=t.substr(0,t.indexOf("|"));return n[e]=t,e}),o=s.reduce(function(t,e){var e=e.split("|"),i=e[0];return t[e[1]]=i,t},{}),r={},t.convertDateToTime=function(t){var e=l(t),i=/\(([^)]+)\)$/.exec(t.toTimeString());return e.zone={abbreviation:i?i[1]:"???",offset:t.getTimezoneOffset()},f(e,t.getTime()),e},t.convertTimeToDate=function(t){var e,i,n,o,r,s,a,l=t.epoch;return void 0!==l?new Date(l):void 0===(l=(t.zone||{}).offset)?(a=t.year,e=t.month,i=t.day,n=t.hours,o=t.minutes,r=t.seconds,s=t.milliseconds,new Date(a,e-1,i,void 0===n?0:n,void 0===o?0:o,void 0===r?0:r,void 0===s?0:s)):(a=d(t),new Date(a+6e4*l))},t.findTimeZone=function(t){var t=o[t]||t,e=r[t];if(!e){var i=n[t];if(!i)throw new Error('Unknown time zone "'+t+'".');e=r[t]=function(t){for(var e=(t=t.split("|"))[2].split(" "),i=t[3].split(""),n=t[4].split(" "),o=(u(e),u(i),u(n),n),r=i.length,s=0;s<r;++s)o[s]=Math.round((o[s-1]||0)+6e4*o[s]);o[r-1]=1/0;var a=t[0],l=c(t[1].split(" "),i),t=0|t[5];return{name:a,abbreviations:l,offsets:c(e,i),untils:n,population:t}}(i)}return e},t.getUTCOffset=function(t,e){t=p("number"==typeof t?t:t.getTime(),e);return{abbreviation:t.abbreviation,offset:t.offset}},t.getUnixTime=function(t,e){var i=t.zone,n=t.epoch;if(n){if(e)throw new Error("Both epoch and other time zone specified. Omit the other one.");return n}n=d(t);if(i){if(e)throw new Error("Both own and other time zones specified. Omit the other one.")}else{if(!e)throw new Error("Missing other time zone.");i=p(n,e)}return n+6e4*i.offset},t.getZonedTime=function(t,e){var i="number"==typeof t,n=i?t:t.getTime(),e=p(n,e),o=e.abbreviation,e=e.offset,i=a(t=i||e?new Date(n-6e4*e):t);return i.zone={abbreviation:o,offset:e},f(i,n),i},t.listTimeZones=function(){return e.slice()},t.setTimeZone=function(t,e,n){var i=d(t=t instanceof Date?function(t){var e,i=(n||{}).useUTC;if(!0===i)e=a;else{if(!1!==i)throw new Error("Extract local or UTC date? Set useUTC option.");e=l}return e(t)}(t):{year:(i=t).year,month:i.month,day:i.day,hours:i.hours,minutes:i.minutes,seconds:void 0===(o=i.seconds)?0:o,milliseconds:void 0===(o=i.milliseconds)?0:o}),o=new Date(i),o=(t.dayOfWeek=o.getUTCDay(),p(i,e)),e=o.abbreviation,o=o.offset;return t.zone={abbreviation:e,offset:o},f(t,i+6e4*o),t},Object.defineProperty(t,"__esModule",{value:!0})}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.dayjs_plugin_timezone=e()}(this,function(){"use strict";var c={year:0,month:1,day:2,hour:3,minute:4,second:5},h={};return function(t,e,a){function l(t,e,i){void 0===i&&(i={});var n,o,t=new Date(t);return i=(void 0===i?{}:i).timeZoneName||"short",(o=h[n=e+"|"+i])||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),h[n]=o),o.formatToParts(t)}function s(t,e){for(var i=l(t,e),n=[],o=0;o<i.length;o+=1){var r=i[o],s=r.type,r=r.value,s=c[s];0<=s&&(n[s]=parseInt(r,10))}return e=n[3],t=+t,(a.utc(n[0]+"-"+n[1]+"-"+n[2]+" "+(24===e?0:e)+":"+n[4]+":"+n[5]+":000").valueOf()-(t-t%1e3))/6e4}var u,r=a().utcOffset(),e=e.prototype;e.tz=function(t,e){void 0===t&&(t=u);var i=this.utcOffset(),n=this.toDate().toLocaleString("en-US",{timeZone:t}),o=Math.round((this.toDate()-new Date(n))/1e3/60),n=a(n).$set("millisecond",this.$ms).utcOffset(r-o,!0);return e&&(o=n.utcOffset(),n=n.add(i-o,"minute")),n.$x.$timezone=t,n},e.offsetName=function(t){var e=this.$x.$timezone||a.tz.guess(),e=l(this.valueOf(),e,{timeZoneName:t}).find(function(t){return"timezonename"===t.type.toLowerCase()});return e&&e.value},a.tz=function(t,e,i){var n,o,r=i&&e,i=i||e||u,e=s(+a(),i);return"string"!=typeof t?a(t).tz(i):(t=a.utc(t,r).valueOf(),o=s(e=t-60*(r=e)*1e3,n=i),e=(n=r===o?[e,r]:o===(r=s(e-=60*(o-r)*1e3,n))?[e,o]:[t-60*Math.min(o,r)*1e3,Math.max(o,r)])[1],(t=a(n[0]).utcOffset(e)).$x.$timezone=i,t)},a.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},a.tz.setDefault=function(t){u=t}}}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.dayjs_plugin_utc=e()}(this,function(){"use strict";return function(t,e,o){var i=e.prototype,n=(o.utc=function(t){return new e({date:t,utc:!0,args:arguments})},i.utc=function(t){var e=o(this.toDate(),{locale:this.$L,utc:!0});return t?e.add(this.utcOffset(),"minute"):e},i.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})},i.parse),r=(i.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),n.call(this,t)},i.init),s=(i.init=function(){var t;this.$u?(t=this.$d,this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()):r.call(this)},i.utcOffset),a=(i.utcOffset=function(t,e){var i,n=this.$utils().u;return n(t)?this.$u?0:n(this.$offset)?s.call(this):this.$offset:(n=Math.abs(t)<=16?60*t:t,i=this,e?(i.$offset=n,i.$u=0===t):0!==t?(e=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset(),(i=this.local().add(n+e,"minute")).$offset=n,i.$x.$localOffset=e):i=this.utc(),i)},i.format),l=(i.format=function(t){t=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return a.call(this,t)},i.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*t},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()},i.toDate),u=(i.toDate=function(t){return"s"===t&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)},i.diff);i.diff=function(t,e,i){var n;return this.$u===t.$u?u.call(this,t,e,i):(n=this.local(),t=o(t).local(),u.call(n,t,e,i))}}}),function(t){var e,i="",n=(screen.width&&(width=screen.width||"",height=screen.height||"",i+=width+" x "+height),navigator.appVersion),o=navigator.userAgent,r=navigator.appName,s=""+parseFloat(navigator.appVersion),a=parseInt(navigator.appVersion,10),l=(-1!=(l=o.indexOf("Opera"))&&(r="Opera",s=o.substring(l+6),-1!=(l=o.indexOf("Version")))&&(s=o.substring(l+8)),-1!=(l=o.indexOf("OPR"))?(r="Opera",s=o.substring(l+4)):-1!=(l=o.indexOf("Edge"))?(r="Edge",s=o.substring(l+5)):-1!=(l=o.indexOf("Edg"))?(r="Microsoft Edge",s=o.substring(l+4)):-1!=(l=o.indexOf("MSIE"))?(r="Internet",s=o.substring(l+5)):-1!=(l=o.indexOf("Chrome"))?(r="Chrome",s=o.substring(l+7)):-1!=(l=o.indexOf("Safari"))?(r="Safari",s=o.substring(l+7),-1!=(l=o.indexOf("Version"))&&(s=o.substring(l+8))):-1!=(l=o.indexOf("Firefox"))?(r="Firefox",s=o.substring(l+8)):-1!=o.indexOf("Trident/")?(r="Internet",s=o.substring(o.indexOf("rv:")+3)):(f=o.lastIndexOf(" ")+1)<(l=o.lastIndexOf("/"))&&(r=o.substring(f,l),s=o.substring(l+1),r.toLowerCase()==r.toUpperCase())&&(r=navigator.appName),-1!=(f=(s=-1!=(f=(s=-1!=(f=s.indexOf(";"))?s.substring(0,f):s).indexOf(" "))?s.substring(0,f):s).indexOf(")"))&&(s=s.substring(0,f)),a=parseInt(""+s,10),isNaN(a)&&(s=""+parseFloat(navigator.appVersion),a=parseInt(navigator.appVersion,10)),/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(n)),u="-",c=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Chrome OS",r:/CrOS/},{s:"Linux",r:/(Linux|X11(?!.*CrOS))/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(Mac OS|MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}];for(e in c){var h=c[e];if(h.r.test(o)){u=h.s;break}}var d="-";switch(/Windows/.test(u)&&(d=/Windows (.*)/.exec(u)[1],u="Windows"),u){case"Mac OS":case"Mac OS X":case"Android":d=/(?:Android|Mac OS|Mac OS X|MacPPC|MacIntel|Mac_PowerPC|Macintosh) ([\.\_\d]+)/.exec(o)[1];break;case"iOS":d=(d=/OS (\d+)_(\d+)_?(\d+)?/.exec(n))[1]+"."+d[2]+"."+(0|d[3])}var p,f="no check";"undefined"!=typeof swfobject&&(f=0<(p=swfobject.getFlashPlayerVersion()).major?p.major+"."+p.minor+" r"+p.release:"-"),t.jscd={screen:i,browser:r,browserVersion:s,browserMajorVersion:a,mobile:l,os:u,osVersion:d,flashVersion:f}}(this),function(){var t=jQuery("html");t.addClass("browser-"+jscd.browser.replaceAll(" ","-")),t.addClass("platform-"+jscd.os)}(),function(t){var u=Array.prototype.slice;function e(){}function i(a){var l;if(a)return l="undefined"==typeof console?e:function(t){console.error(t)},a.bridget=function(t,e){var i,r,s;(i=e).prototype.option||(i.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),r=t,s=e,a.fn[r]=function(e){if("string"!=typeof e)return this.each(function(){var t=a.data(this,r);t?(t.option(e),t._init()):(t=new s(this,e),a.data(this,r,t))});for(var t=u.call(arguments,1),i=0,n=this.length;i<n;i++){var o=this[i],o=a.data(o,r);if(o)if("function"!=typeof o[e]||"_"===e.charAt(0))l("no such method '"+e+"' for "+r+" instance");else{o=o[e].apply(o,t);if(void 0!==o)return o}else l("cannot call methods on "+r+" prior to initialization; attempted to call '"+e+"'")}return this}},a.bridget}"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):"object"==typeof exports?i(require("jquery")):i(t.jQuery)}(window),function(i){var t=document.documentElement,e=function(){};function n(t){var e=i.event;return e.target=e.target||e.srcElement||t,e}t.addEventListener?e=function(t,e,i){t.addEventListener(e,i,!1)}:t.attachEvent&&(e=function(e,t,i){e[t+i]=i.handleEvent?function(){var t=n(e);i.handleEvent.call(i,t)}:function(){var t=n(e);i.call(e,t)},e.attachEvent("on"+t,e[t+i])});var o=function(){},t=(t.removeEventListener?o=function(t,e,i){t.removeEventListener(e,i,!1)}:t.detachEvent&&(o=function(e,i,n){e.detachEvent("on"+i,e[i+n]);try{delete e[i+n]}catch(t){e[i+n]=void 0}}),{bind:e,unbind:o});"function"==typeof define&&define.amd?define("eventie/eventie",t):"object"==typeof exports?module.exports=t:i.eventie=t}(window),function(){"use strict";function t(){}var e=t.prototype,i=this,n=i.EventEmitter;function r(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function o(t){return function(){return this[t].apply(this,arguments)}}e.getListeners=function(t){var e,i,n=this._getEvents();if(t instanceof RegExp)for(i in e={},n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i]);else e=n[t]||(n[t]=[]);return e},e.flattenListeners=function(t){for(var e=[],i=0;i<t.length;i+=1)e.push(t[i].listener);return e},e.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&((e={})[t]=i),e||i},e.addListener=function(t,e){var i,n=this.getListenersAsObject(t),o="object"==typeof e;for(i in n)n.hasOwnProperty(i)&&-1===r(n[i],e)&&n[i].push(o?e:{listener:e,once:!1});return this},e.on=o("addListener"),e.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},e.once=o("addOnceListener"),e.defineEvent=function(t){return this.getListeners(t),this},e.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},e.removeListener=function(t,e){var i,n,o=this.getListenersAsObject(t);for(n in o)o.hasOwnProperty(n)&&-1!==(i=r(o[n],e))&&o[n].splice(i,1);return this},e.off=o("removeListener"),e.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},e.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},e.manipulateListeners=function(t,e,i){var n,o,r=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)r.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(o=e[n])&&("function"==typeof o?r:s).call(this,n,o);return this},e.removeEvent=function(t){var e,i=typeof t,n=this._getEvents();if("string"==i)delete n[t];else if(t instanceof RegExp)for(e in n)n.hasOwnProperty(e)&&t.test(e)&&delete n[e];else delete this._events;return this},e.removeAllListeners=o("removeEvent"),e.emitEvent=function(t,e){var i,n,o,r=this.getListenersAsObject(t);for(o in r)if(r.hasOwnProperty(o))for(n=r[o].length;n--;)!0===(i=r[o][n]).once&&this.removeListener(t,i.listener),i.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},e.trigger=o("emitEvent"),e.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},e.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},e._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},e._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return i.EventEmitter=n,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:i.EventEmitter=t}.call(this),function(t){var o="Webkit Moz ms Ms O".split(" "),r=document.documentElement.style;function e(t){if(t){if("string"==typeof r[t])return t;var e;t=t.charAt(0).toUpperCase()+t.slice(1);for(var i=0,n=o.length;i<n;i++)if(e=o[i]+t,"string"==typeof r[e])return e}}"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return e}):"object"==typeof exports?module.exports=e:t.getStyleProperty=e}(window),function(z){function k(t){var e=parseFloat(t);return-1===t.indexOf("%")&&!isNaN(e)&&e}var I="undefined"==typeof console?function(){}:function(t){console.error(t)},O=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];function t(E){var M,C,P,L=!1;return function(t){var e,i;if(!L&&(L=!0,e=z.getComputedStyle,i=e?function(t){return e(t,null)}:function(t){return t.currentStyle},M=function(t){t=i(t);return t||I("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),t},C=E("boxSizing"))&&((_=document.createElement("div")).style.width="200px",_.style.padding="1px 2px 3px 4px",_.style.borderStyle="solid",_.style.borderWidth="1px 2px 3px 4px",_.style[C]="border-box",(y=document.body||document.documentElement).appendChild(_),d=M(_),P=200===k(d.width),y.removeChild(_)),(t="string"==typeof t?document.querySelector(t):t)&&"object"==typeof t&&t.nodeType){var n=M(t);if("none"===n.display){for(var o={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},r=0,s=O.length;r<s;r++)o[O[r]]=0;return o}for(var a,l,u,c,h={},d=(h.width=t.offsetWidth,h.height=t.offsetHeight,h.isBorderBox=!(!C||!n[C]||"border-box"!==n[C])),p=0,f=O.length;p<f;p++){var m=O[p],g=n[m],v=(v=t,g=g,c=u=l=a=void 0,z.getComputedStyle||-1===g.indexOf("%")||(a=v.style,l=a.left,u=v.runtimeStyle,(c=u&&u.left)&&(u.left=v.currentStyle.left),a.left=g,g=a.pixelLeft,a.left=l,c&&(u.left=c)),parseFloat(g));h[m]=isNaN(v)?0:v}var y=h.paddingLeft+h.paddingRight,_=h.paddingTop+h.paddingBottom,w=h.marginLeft+h.marginRight,b=h.marginTop+h.marginBottom,x=h.borderLeftWidth+h.borderRightWidth,T=h.borderTopWidth+h.borderBottomWidth,A=d&&P,S=k(n.width),S=(!1!==S&&(h.width=S+(A?0:y+x)),k(n.height));return!1!==S&&(h.height=S+(A?0:_+T)),h.innerWidth=h.width-(y+x),h.innerHeight=h.height-(_+T),h.outerWidth=h.width+w,h.outerHeight=h.height+b,h}}}"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],t):"object"==typeof exports?module.exports=t(require("desandro-get-style-property")):z.getSize=t(z.getStyleProperty)}(window),function(e){var i=e.document,n=[];function o(t){"function"==typeof t&&(o.isReady?t():n.push(t))}function r(t){t="readystatechange"===t.type&&"complete"!==i.readyState;o.isReady||t||s()}function s(){o.isReady=!0;for(var t=0,e=n.length;t<e;t++)(0,n[t])()}function t(t){return"complete"===i.readyState?s():(t.bind(i,"DOMContentLoaded",r),t.bind(i,"readystatechange",r),t.bind(e,"load",r)),o}o.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],t):"object"==typeof exports?module.exports=t(require("eventie")):e.docReady=t(e.eventie)}(window),function(o){"use strict";var t,i=function(){if(o.matches)return"matches";if(o.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],e=0,i=t.length;e<i;e++){var n=t[e]+"MatchesSelector";if(o[n])return n}}();function n(t,e){return t[i](e)}function r(t){t.parentNode||document.createDocumentFragment().appendChild(t)}t=i?n(document.createElement("div"),"div")?n:function(t,e){return r(t),n(t,e)}:function(t,e){r(t);for(var i=t.parentNode.querySelectorAll(e),n=0,o=i.length;n<o;n++)if(i[n]===t)return!0;return!1},"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return t}):"object"==typeof exports?module.exports=t:window.matchesSelector=t}(Element.prototype),function(i,n){"use strict";"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["doc-ready/doc-ready","matches-selector/matches-selector"],function(t,e){return n(i,t,e)}):"object"==typeof exports?module.exports=n(i,require("doc-ready"),require("desandro-matches-selector")):i.fizzyUIUtils=n(i,i.docReady,i.matchesSelector)}(window,function(h,t,u){var i,d={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},e=Object.prototype.toString,p=(d.isArray=function(t){return"[object Array]"==e.call(t)},d.makeArray=function(t){var e=[];if(d.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0,n=t.length;i<n;i++)e.push(t[i]);else e.push(t);return e},d.indexOf=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},d.removeFrom=function(t,e){e=d.indexOf(t,e);-1!=e&&t.splice(e,1)},d.isElement="object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&null!==t&&1==t.nodeType&&"string"==typeof t.nodeName},d.setText=function(t,e){t[i=i||(void 0!==document.documentElement.textContent?"textContent":"innerText")]=e},d.getParent=function(t,e){for(;t!=document.body;)if(t=t.parentNode,u(t,e))return t},d.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},d.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.filterFindElements=function(t,e){for(var i=[],n=0,o=(t=d.makeArray(t)).length;n<o;n++){var r=t[n];if(d.isElement(r))if(e){u(r,e)&&i.push(r);for(var s=r.querySelectorAll(e),a=0,l=s.length;a<l;a++)i.push(s[a])}else i.push(r)}return i},d.debounceMethod=function(t,e,n){var o=t.prototype[e],r=e+"Timeout";t.prototype[e]=function(){var t=this[r],e=(t&&clearTimeout(t),arguments),i=this;this[r]=setTimeout(function(){o.apply(i,e),delete i[r]},n||100)}},d.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()},h.console);return d.htmlInit=function(u,c){t(function(){for(var t=d.toDashed(c),e=document.querySelectorAll(".js-"+t),i="data-"+t+"-options",n=0,o=e.length;n<o;n++){var r,s=e[n],a=s.getAttribute(i);try{r=a&&JSON.parse(a)}catch(t){p&&p.error("Error parsing "+i+" on "+s.nodeName.toLowerCase()+(s.id?"#"+s.id:"")+": "+t);continue}var a=new u(s,r),l=h.jQuery;l&&l.data(s,c,a)}})},d}),function(o,r){"use strict";"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],function(t,e,i,n){return r(o,t,e,i,n)}):"object"==typeof exports?module.exports=r(o,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils")):(o.Outlayer={},o.Outlayer.Item=r(o,o.EventEmitter,o.getSize,o.getStyleProperty,o.fizzyUIUtils))}(window,function(t,e,i,r,n){"use strict";var o=t.getComputedStyle,s=o?function(t){return o(t,null)}:function(t){return t.currentStyle};var a=r("transition"),t=r("transform"),t=a&&t,l=!!r("perspective"),u={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[a],c=["transform","transition","transitionDuration","transitionProperty"],h=function(){for(var t={},e=0,i=c.length;e<i;e++){var n=c[e],o=r(n);o&&o!==n&&(t[n]=o)}return t}();function d(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}n.extend(d.prototype,e.prototype),d.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.prototype.getSize=function(){this.size=i(this.element)},d.prototype.css=function(t){var e,i=this.element.style;for(e in t)i[h[e]||e]=t[e]},d.prototype.getPosition=function(){var t=s(this.element),e=this.layout.options,i=e.isOriginLeft,e=e.isOriginTop,n=t[i?"left":"right"],t=t[e?"top":"bottom"],o=this.layout.size,n=-1!=n.indexOf("%")?parseFloat(n)/100*o.width:parseInt(n,10),t=-1!=t.indexOf("%")?parseFloat(t)/100*o.height:parseInt(t,10),n=isNaN(n)?0:n,t=isNaN(t)?0:t;n-=i?o.paddingLeft:o.paddingRight,t-=e?o.paddingTop:o.paddingBottom,this.position.x=n,this.position.y=t},d.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={},n=e.isOriginLeft?"paddingLeft":"paddingRight",o=e.isOriginLeft?"left":"right",r=e.isOriginLeft?"right":"left",n=this.position.x+t[n],o=(i[o]=this.getXValue(n),i[r]="",e.isOriginTop?"paddingTop":"paddingBottom"),n=e.isOriginTop?"top":"bottom",r=e.isOriginTop?"bottom":"top",e=this.position.y+t[o];i[n]=this.getYValue(e),i[r]="",this.css(i),this.emitEvent("layout",[this])},d.prototype.getXValue=function(t){var e=this.layout.options;return e.percentPosition&&!e.isHorizontal?t/this.layout.size.width*100+"%":t+"px"},d.prototype.getYValue=function(t){var e=this.layout.options;return e.percentPosition&&e.isHorizontal?t/this.layout.size.height*100+"%":t+"px"},d.prototype._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=parseInt(t,10),r=parseInt(e,10),o=o===this.position.x&&r===this.position.y;this.setPosition(t,e),o&&!this.isTransitioning?this.layoutPosition():((r={}).transform=this.getTranslate(t-i,e-n),this.transition({to:r,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0}))},d.prototype.getTranslate=function(t,e){var i=this.layout.options;return t=i.isOriginLeft?t:-t,e=i.isOriginTop?e:-e,l?"translate3d("+t+"px, "+e+"px, 0)":"translate("+t+"px, "+e+"px)"},d.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.prototype.moveTo=t?d.prototype._transitionTo:d.prototype.goTo,d.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},d.prototype._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.prototype._transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e,i=this._transn;for(e in t.onTransitionEnd)i.onEnd[e]=t.onTransitionEnd[e];for(e in t.to)i.ingProperties[e]=!0,t.isCleaning&&(i.clean[e]=!0);t.from&&(this.css(t.from),this.element.offsetHeight,0),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var p="opacity,"+(h.transform||"transform").replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()}),f=(d.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:p,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(u,this,!1))},d.prototype.transition=d.prototype[a?"_transition":"_nonTransition"],d.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.prototype.onotransitionend=function(t){this.ontransitionend(t)},{"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"}),m=(d.prototype.ontransitionend=function(t){var e,i;t.target===this.element&&(e=this._transn,i=f[t.propertyName]||t.propertyName,delete e.ingProperties[i],function(t){for(var e in t)return;return 1}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd&&(e.onEnd[i].call(this),delete e.onEnd[i]),this.emitEvent("transitionEnd",[this]))},d.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(u,this,!1),this.isTransitioning=!1},d.prototype._removeStyles=function(t){var e,i={};for(e in t)i[e]="";this.css(i)},{transitionProperty:"",transitionDuration:""});return d.prototype.removeTransitionStyles=function(){this.css(m)},d.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.prototype.remove=function(){var t;a&&parseFloat(this.layout.options.transitionDuration)?((t=this).once("transitionEnd",function(){t.removeElem()}),this.hide()):this.removeElem()},d.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.prototype.getHideRevealTransitionEndProperty=function(t){var e,t=this.layout.options[t];if(t.opacity)return"opacity";for(e in t)return e},d.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},d}),function(r,s){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,i,n,o){return s(r,t,e,i,n,o)}):"object"==typeof exports?module.exports=s(r,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):r.Outlayer=s(r,r.eventie,r.EventEmitter,r.getSize,r.fizzyUIUtils,r.Outlayer.Item)}(window,function(t,e,i,o,r,n){"use strict";function s(){}var a=t.console,l=t.jQuery,u=0,c={};function h(t,e){var i=r.getQueryElement(t);i?(this.element=i,l&&(this.$element=l(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(e),e=++u,this.element.outlayerGUID=e,(c[e]=this)._create(),this.options.isInitLayout&&this.layout()):a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||t))}return h.namespace="outlayer",h.Item=n,h.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},r.extend(h.prototype,i.prototype),h.prototype.option=function(t){r.extend(this.options,t)},h.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),r.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},h.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},h.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0,r=e.length;o<r;o++){var s=new i(e[o],this);n.push(s)}return n},h.prototype._filterFindItemElements=function(t){return r.filterFindElements(t,this.options.itemSelector)},h.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;e<i;e++)t.push(this.items[e].element);return t},h.prototype._init=h.prototype.layout=function(){this._resetLayout(),this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},h.prototype._resetLayout=function(){this.getSize()},h.prototype.getSize=function(){this.size=o(this.element)},h.prototype._getMeasurement=function(t,e){var i,n=this.options[t];n?("string"==typeof n?i=this.element.querySelector(n):r.isElement(n)&&(i=n),this[t]=i?o(i)[e]:n):this[t]=0},h.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},h.prototype._getItemsForLayout=function(t){for(var e=[],i=0,n=t.length;i<n;i++){var o=t[i];o.isIgnored||e.push(o)}return e},h.prototype._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){for(var i=[],n=0,o=t.length;n<o;n++){var r=t[n],s=this._getItemLayoutPosition(r);s.item=r,s.isInstant=e||r.isLayoutInstant,i.push(s)}this._processLayoutQueue(i)}},h.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},h.prototype._processLayoutQueue=function(t){for(var e=0,i=t.length;e<i;e++){var n=t[e];this._positionItem(n.item,n.x,n.y,n.isInstant)}},h.prototype._positionItem=function(t,e,i,n){n?t.goTo(e,i):t.moveTo(e,i)},h.prototype._postLayout=function(){this.resizeContainer()},h.prototype.resizeContainer=function(){var t;this.options.isResizingContainer&&(t=this._getContainerSize())&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))},h.prototype._getContainerSize=s,h.prototype._setContainerMeasure=function(t,e){var i;void 0!==t&&((i=this.size).isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px")},h.prototype._emitCompleteOnItems=function(t,e){var i=this;function n(){i.dispatchEvent(t+"Complete",null,[e])}var o=e.length;if(e&&o)for(var r=0,s=0,a=e.length;s<a;s++)e[s].once(t,l);else n();function l(){++r===o&&n()}},h.prototype.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;this.emitEvent(t,n),l&&(this.$element=this.$element||l(this.element),e?((n=l.Event(e)).type=t,this.$element.trigger(n,i)):this.$element.trigger(t,i))},h.prototype.ignore=function(t){t=this.getItem(t);t&&(t.isIgnored=!0)},h.prototype.unignore=function(t){t=this.getItem(t);t&&delete t.isIgnored},h.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,i=t.length;e<i;e++){var n=t[e];this.ignore(n)}}},h.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;e<i;e++){var n=t[e];r.removeFrom(this.stamps,n),this.unignore(n)}},h.prototype._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=r.makeArray(t)},h.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;t<e;t++){var i=this.stamps[t];this._manageStamp(i)}}},h.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},h.prototype._manageStamp=s,h.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,t=o(t);return{left:e.left-i.left-t.marginLeft,top:e.top-i.top-t.marginTop,right:i.right-e.right-t.marginRight,bottom:i.bottom-e.bottom-t.marginBottom}},h.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},h.prototype.bindResize=function(){this.isResizeBound||(e.bind(t,"resize",this),this.isResizeBound=!0)},h.prototype.unbindResize=function(){this.isResizeBound&&e.unbind(t,"resize",this),this.isResizeBound=!1},h.prototype.onresize=function(){this.resizeTimeout&&clearTimeout(this.resizeTimeout);var t=this;this.resizeTimeout=setTimeout(function(){t.resize(),delete t.resizeTimeout},100)},h.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.prototype.needsResizeLayout=function(){var t=o(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},h.prototype.addItems=function(t){t=this._itemize(t);return t.length&&(this.items=this.items.concat(t)),t},h.prototype.appended=function(t){t=this.addItems(t);t.length&&(this.layoutItems(t,!0),this.reveal(t))},h.prototype.prepended=function(t){var e,t=this._itemize(t);t.length&&(e=this.items.slice(0),this.items=t.concat(e),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(e))},h.prototype.reveal=function(t){this._emitCompleteOnItems("reveal",t);for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].reveal()},h.prototype.hide=function(t){this._emitCompleteOnItems("hide",t);for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].hide()},h.prototype.revealItemElements=function(t){t=this.getItems(t);this.reveal(t)},h.prototype.hideItemElements=function(t){t=this.getItems(t);this.hide(t)},h.prototype.getItem=function(t){for(var e=0,i=this.items.length;e<i;e++){var n=this.items[e];if(n.element===t)return n}},h.prototype.getItems=function(t){for(var e=[],i=0,n=(t=r.makeArray(t)).length;i<n;i++){var o=t[i],o=this.getItem(o);o&&e.push(o)}return e},h.prototype.remove=function(t){var e=this.getItems(t);if(this._emitCompleteOnItems("remove",e),e&&e.length)for(var i=0,n=e.length;i<n;i++){var o=e[i];o.remove(),r.removeFrom(this.items,o)}},h.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,i=this.items.length;e<i;e++)this.items[e].destroy();this.unbindResize();t=this.element.outlayerGUID;delete c[t],delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},h.data=function(t){t=(t=r.getQueryElement(t))&&t.outlayerGUID;return t&&c[t]},h.create=function(t,e){function i(){h.apply(this,arguments)}return Object.create?i.prototype=Object.create(h.prototype):r.extend(i.prototype,h.prototype),(i.prototype.constructor=i).defaults=r.extend({},h.defaults),r.extend(i.defaults,e),i.prototype.settings={},i.namespace=t,i.data=h.data,(i.Item=function(){n.apply(this,arguments)}).prototype=new n,r.htmlInit(i,t),l&&l.bridget&&l.bridget(t,i),i},h.Item=n,h}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],e):"object"==typeof exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}(e.prototype=new t.Item)._create=function(){this.id=this.layout.itemGUID++,t.Item.prototype._create.call(this),this.sortData={}},e.prototype.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t,e=this.layout.options.getSortData,i=this.layout._sorters;for(t in e){var n=i[t];this.sortData[t]=n(this.element,this)}}};var i=e.prototype.destroy;return e.prototype.destroy=function(){i.apply(this,arguments),this.css({display:""})},e}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(e,i){"use strict";function n(t){(this.isotope=t)&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}for(var t=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"],o=0,r=t.length;o<r;o++){var s=t[o];n.prototype[s]=function(t){return function(){return i.prototype[t].apply(this.isotope,arguments)}}(s)}return n.prototype.needsVerticalResizeLayout=function(){var t=e(this.isotope.element);return this.isotope.size&&t&&t.innerHeight!=this.isotope.size.innerHeight},n.prototype._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},n.prototype.getColumnWidth=function(){this.getSegmentSize("column","Width")},n.prototype.getRowHeight=function(){this.getSegmentSize("row","Height")},n.prototype.getSegmentSize=function(t,e){var i,t=t+e,n="outer"+e;this._getMeasurement(t,n),this[t]||(i=this.getFirstItemSize(),this[t]=i&&i[n]||this.isotope.size["inner"+e])},n.prototype.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&e(t.element)},n.prototype.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},n.prototype.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},n.modes={},n.create=function(t,e){function i(){n.apply(this,arguments)}return i.prototype=new n,e&&(i.options=e),n.modes[i.prototype.namespace=t]=i},n}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size","fizzy-ui-utils/utils"],e):"object"==typeof exports?module.exports=e(require("outlayer"),require("get-size"),require("fizzy-ui-utils")):t.Masonry=e(t.Outlayer,t.getSize,t.fizzyUIUtils)}(window,function(t,a,l){t=t.create("masonry");return t.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0);this.maxY=0},t.prototype.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(t=(t=this.items[0])&&t.element,this.columnWidth=t&&a(t).outerWidth||this.containerWidth);var t=this.columnWidth+=this.gutter,e=this.containerWidth+this.gutter,i=e/t,e=t-e%t,i=Math[e&&e<1?"round":"floor"](i);this.cols=Math.max(i,1)},t.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,t=a(t);this.containerWidth=t&&t.innerWidth},t.prototype._getItemLayoutPosition=function(t){t.getSize();for(var e=t.size.outerWidth%this.columnWidth,e=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth),e=Math.min(e,this.cols),e=this._getColGroup(e),i=Math.min.apply(Math,e),n=l.indexOf(e,i),o={x:this.columnWidth*n,y:i},r=i+t.size.outerHeight,s=this.cols+1-e.length,a=0;a<s;a++)this.colYs[n+a]=r;return o},t.prototype._getColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++){var o=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,o)}return e},t.prototype._manageStamp=function(t){for(var e=a(t),t=this._getElementOffset(t),i=this.options.isOriginLeft?t.left:t.right,n=i+e.outerWidth,i=Math.floor(i/this.columnWidth),i=Math.max(0,i),o=Math.floor(n/this.columnWidth),r=(o-=n%this.columnWidth?0:1,o=Math.min(this.cols-1,o),(this.options.isOriginTop?t.top:t.bottom)+e.outerHeight),s=i;s<=o;s++)this.colYs[s]=Math.max(r,this.colYs[s])},t.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this.options.isFitWidth&&(t.width=this._getContainerFitWidth()),t},t.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},t.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],e):"object"==typeof exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i,t=t.create("masonry"),n=t.prototype._getElementOffset,o=t.prototype.layout,r=t.prototype._getMeasurement,s=t.prototype,a=e.prototype;for(i in a)s[i]=a[i];t.prototype._getElementOffset=n,t.prototype.layout=o,t.prototype._getMeasurement=r;var l=t.prototype.measureColumns,u=(t.prototype.measureColumns=function(){this.items=this.isotope.filteredItems,l.call(this)},t.prototype._manageStamp);return t.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,u.apply(this,arguments)},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";t=t.create("fitRows");return t.prototype._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},t.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter,i=(0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY),{x:this.x,y:this.y});return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,i},t.prototype._getContainerSize=function(){return{height:this.maxY}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";t=t.create("vertical",{horizontalAlignment:0});return t.prototype._resetLayout=function(){this.y=0},t.prototype._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},t.prototype._getContainerSize=function(){return{height:this.y}},t}),function(s,a){"use strict";"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","matches-selector/matches-selector","fizzy-ui-utils/utils","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],function(t,e,i,n,o,r){return a(s,t,0,i,n,o,r)}):"object"==typeof exports?module.exports=a(s,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("./item"),require("./layout-mode"),require("./layout-modes/masonry"),require("./layout-modes/fit-rows"),require("./layout-modes/vertical")):s.Isotope=a(s,s.Outlayer,s.getSize,s.matchesSelector,s.fizzyUIUtils,s.Isotope.Item,s.Isotope.LayoutMode)}(window,function(t,n,e,i,r,o,s){var a=t.jQuery,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},u=document.documentElement.textContent?function(t){return t.textContent}:function(t){return t.innerText},c=n.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0}),h=(c.Item=o,c.LayoutMode=s,c.prototype._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),n.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],s.modes)this._initLayoutMode(t)},c.prototype.reloadItems=function(){this.itemGUID=0,n.prototype.reloadItems.call(this)},c.prototype._itemize=function(){for(var t=n.prototype._itemize.apply(this,arguments),e=0,i=t.length;e<i;e++)t[e].id=this.itemGUID++;return this._updateItemsSortData(t),t},c.prototype._initLayoutMode=function(t){var e=s.modes[t],i=this.options[t]||{};this.options[t]=e.options?r.extend(e.options,i):i,this.modes[t]=new e(this)},c.prototype.layout=function(){!this._isLayoutInited&&this.options.isInitLayout?this.arrange():this._layout()},c.prototype._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},c.prototype.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items),i=(this.filteredItems=e.matches,this);function n(){i.reveal(e.needReveal),i.hide(e.needHide)}this._bindArrangeComplete(),this._isInstant?this._noTransition(n):n(),this._sort(),this._layout()},c.prototype._init=c.prototype.arrange,c.prototype._getIsInstant=function(){var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;return this._isInstant=t},c.prototype._bindArrangeComplete=function(){var t,e,i,n=this;function o(){t&&e&&i&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}this.once("layoutComplete",function(){t=!0,o()}),this.once("hideComplete",function(){e=!0,o()}),this.once("revealComplete",function(){i=!0,o()})},c.prototype._filter=function(t){for(var e=this.options.filter,i=[],n=[],o=[],r=this._getFilterTest(e||"*"),s=0,a=t.length;s<a;s++){var l,u=t[s];u.isIgnored||((l=r(u))&&i.push(u),l&&u.isHidden?n.push(u):l||u.isHidden||o.push(u))}return{matches:i,needReveal:n,needHide:o}},c.prototype._getFilterTest=function(e){return a&&this.options.isJQueryFiltering?function(t){return a(t.element).is(e)}:"function"==typeof e?function(t){return e(t.element)}:function(t){return i(t.element,e)}},c.prototype.updateSortData=function(t){t=t?(t=r.makeArray(t),this.getItems(t)):this.items;this._getSorters(),this._updateItemsSortData(t)},c.prototype._getSorters=function(){var t,e=this.options.getSortData;for(t in e){var i=e[t];this._sorters[t]=h(i)}},c.prototype._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].updateSortData()},function(t){var e,i,n,o,r;return"string"==typeof t&&(n=(i=(e=l(t).split(" "))[0]).match(/^\[(.+)\]$/),o=function(e,i){var t;t=e?function(t){return t.getAttribute(e)}:function(t){t=t.querySelector(i);return t&&u(t)};return t}(n&&n[1],i),t=(r=c.sortDataParsers[e[1]])?function(t){return t&&r(o(t))}:function(t){return t&&o(t)}),t});c.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},c.prototype._sort=function(){var t,a,l,e=this.options.sortBy;e&&(t=[].concat.apply(e,this.sortHistory),a=t,l=this.options.sortAscending,this.filteredItems.sort(function(t,e){for(var i=0,n=a.length;i<n;i++){var o=a[i],r=t.sortData[o],s=e.sortData[o];if(s<r||r<s)return(s<r?1:-1)*((void 0!==l[o]?l[o]:l)?1:-1)}return 0}),e!=this.sortHistory[0])&&this.sortHistory.unshift(e)},c.prototype._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(e)return e.options=this.options[t],e;throw new Error("No layout mode: "+t)},c.prototype._resetLayout=function(){n.prototype._resetLayout.call(this),this._mode()._resetLayout()},c.prototype._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},c.prototype._manageStamp=function(t){this._mode()._manageStamp(t)},c.prototype._getContainerSize=function(){return this._mode()._getContainerSize()},c.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()},c.prototype.appended=function(t){var t=this.addItems(t);t.length&&(t=this._filterRevealAdded(t),this.filteredItems=this.filteredItems.concat(t))},c.prototype.prepended=function(t){var e,t=this._itemize(t);t.length&&(this._resetLayout(),this._manageStamps(),e=this._filterRevealAdded(t),this.layoutItems(this.filteredItems),this.filteredItems=e.concat(this.filteredItems),this.items=t.concat(this.items))},c.prototype._filterRevealAdded=function(t){t=this._filter(t);return this.hide(t.needHide),this.reveal(t.matches),this.layoutItems(t.matches,!0),t.matches},c.prototype.insert=function(t){var e=this.addItems(t);if(e.length){for(var i,n=e.length,o=0;o<n;o++)i=e[o],this.element.appendChild(i.element);t=this._filter(e).matches;for(o=0;o<n;o++)e[o].isLayoutInstant=!0;for(this.arrange(),o=0;o<n;o++)delete e[o].isLayoutInstant;this.reveal(t)}};var d=c.prototype.remove;return c.prototype.remove=function(t){t=r.makeArray(t);var e=this.getItems(t),i=(d.call(this,t),e&&e.length);if(i)for(var n=0;n<i;n++){var o=e[n];r.removeFrom(this.filteredItems,o)}},c.prototype.shuffle=function(){for(var t=0,e=this.items.length;t<e;t++)this.items[t].sortData.random=Math.random();this.options.sortBy="random",this._sort(),this._layout()},c.prototype._noTransition=function(t){var e=this.options.transitionDuration,t=(this.options.transitionDuration=0,t.call(this));return this.options.transitionDuration=e,t},c.prototype.getFilteredItemElements=function(){for(var t=[],e=0,i=this.filteredItems.length;e<i;e++)t.push(this.filteredItems[e].element);return t},c}),function(t){function i(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}function e(t,e){(n(t,e)?r:o)(t,e)}var n,o,r="classList"in document.documentElement?(n=function(t,e){return t.classList.contains(e)},o=function(t,e){t.classList.add(e)},function(t,e){t.classList.remove(e)}):(n=function(t,e){return i(e).test(t.className)},o=function(t,e){n(t,e)||(t.className=t.className+" "+e)},function(t,e){t.className=t.className.replace(i(e)," ")}),s={hasClass:n,addClass:o,removeClass:r,toggleClass:e,has:n,add:o,remove:r,toggle:e};"function"==typeof define&&define.amd?define("classie/classie",s):"object"==typeof exports?module.exports=s:t.classie=s}(window),function(t){function e(){function a(t){for(var e in a.defaults)this[e]=a.defaults[e];for(e in t)this[e]=t[e]}return(i.Rect=a).defaults={x:0,y:0,width:0,height:0},a.prototype.contains=function(t){var e=t.width||0,i=t.height||0;return this.x<=t.x&&this.y<=t.y&&this.x+this.width>=t.x+e&&this.y+this.height>=t.y+i},a.prototype.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,n=t.x+t.width,o=t.y+t.height;return this.x<n&&e>t.x&&this.y<o&&i>t.y},a.prototype.getMaximalFreeRects=function(t){var e,i,n,o,r,s;return!!this.overlaps(t)&&(i=[],n=this.x+this.width,o=this.y+this.height,r=t.x+t.width,s=t.y+t.height,this.y<t.y&&(e=new a({x:this.x,y:this.y,width:this.width,height:t.y-this.y}),i.push(e)),r<n&&(e=new a({x:r,y:this.y,width:n-r,height:this.height}),i.push(e)),s<o&&(e=new a({x:this.x,y:s,width:this.width,height:o-s}),i.push(e)),this.x<t.x&&(e=new a({x:this.x,y:this.y,width:t.x-this.x,height:this.height}),i.push(e)),i)},a.prototype.canFit=function(t){return this.width>=t.width&&this.height>=t.height},a}var i=t.Packery=function(){};"function"==typeof define&&define.amd?define("packery/js/rect",e):"object"==typeof exports?module.exports=e():(t.Packery=t.Packery||{},t.Packery.Rect=e())}(window),function(t){function e(e){function t(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}t.prototype.reset=function(){this.spaces=[],this.newSpaces=[];var t=new e({x:0,y:0,width:this.width,height:this.height});this.spaces.push(t),this.sorter=i[this.sortDirection]||i.downwardLeftToRight},t.prototype.pack=function(t){for(var e=0,i=this.spaces.length;e<i;e++){var n=this.spaces[e];if(n.canFit(t)){this.placeInSpace(t,n);break}}},t.prototype.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},t.prototype.placed=function(t){for(var e=[],i=0,n=this.spaces.length;i<n;i++){var o=this.spaces[i],r=o.getMaximalFreeRects(t);r?e.push.apply(e,r):e.push(o)}this.spaces=e,this.mergeSortSpaces()},t.prototype.mergeSortSpaces=function(){t.mergeRects(this.spaces),this.spaces.sort(this.sorter)},t.prototype.addSpace=function(t){this.spaces.push(t),this.mergeSortSpaces()},t.mergeRects=function(t){for(var e=0,i=t.length;e<i;e++){var n=t[e];if(n){var o=t.slice(0);o.splice(e,1);for(var r=0,s=0,a=o.length;s<a;s++){var l=o[s],u=s<e?0:1;n.contains(l)&&(t.splice(s+u-r,1),r++)}}}return t};var i={downwardLeftToRight:function(t,e){return t.y-e.y||t.x-e.x},rightwardTopToBottom:function(t,e){return t.x-e.x||t.y-e.y}};return t}"function"==typeof define&&define.amd?define("packery/js/packer",["./rect"],e):"object"==typeof exports?module.exports=e(require("./rect")):(t=t.Packery=t.Packery||{}).Packer=e(t.Rect)}(window),function(t){function e(t,e,i){function n(){e.Item.apply(this,arguments)}var o=t("transform"),r=(n.prototype=new e.Item)._create;return n.prototype._create=function(){r.call(this),this.rect=new i,this.placeRect=new i},n.prototype.dragStart=function(){this.getPosition(),this.removeTransitionStyles(),this.isTransitioning&&o&&(this.element.style[o]="none"),this.getSize(),this.isPlacing=!0,this.needsPositioning=!1,this.positionPlaceRect(this.position.x,this.position.y),this.isTransitioning=!1,this.didDrag=!1},n.prototype.dragMove=function(t,e){this.didDrag=!0;var i=this.layout.size;t-=i.paddingLeft,e-=i.paddingTop,this.positionPlaceRect(t,e)},n.prototype.dragStop=function(){this.getPosition();var t=this.position.x!==this.placeRect.x,e=this.position.y!==this.placeRect.y;this.needsPositioning=t||e,this.didDrag=!1},n.prototype.positionPlaceRect=function(t,e,i){this.placeRect.x=this.getPlaceRectCoord(t,!0),this.placeRect.y=this.getPlaceRectCoord(e,!1,i)},n.prototype.getPlaceRectCoord=function(t,e,i){var n=e?"Width":"Height",o=this.size["outer"+n],r=this.layout[e?"columnWidth":"rowHeight"],n=this.layout.size["inner"+n];return e||(n=Math.max(n,this.layout.maxY),this.layout.rowHeight)||(n-=this.layout.gutter),e=r?(r+=this.layout.gutter,n+=e?this.layout.gutter:0,t=Math.round(t/r),e=this.layout.options.isHorizontal?e?"ceil":"floor":e?"floor":"ceil",e=Math[e](n/r),e-=Math.ceil(o/r)):n-o,t=i?t:Math.min(t,e),t*=r||1,Math.max(0,t)},n.prototype.copyPlaceRectPosition=function(){this.rect.x=this.placeRect.x,this.rect.y=this.placeRect.y},n.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},n}"function"==typeof define&&define.amd?define("packery/js/item",["get-style-property/get-style-property","outlayer/outlayer","./rect"],e):"object"==typeof exports?module.exports=e(require("desandro-get-style-property"),require("outlayer"),require("./rect")):t.Packery.Item=e(t.getStyleProperty,t.Outlayer,t.Packery.Rect)}(window),function(t){function e(s,n,t,i,e,o){function r(t,e){return t.position.y-e.position.y||t.position.x-e.position.x}function a(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}i.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var l=t.create("packery");return l.Item=o,l.prototype._create=function(){t.prototype._create.call(this),this.packer=new e,this.stamp(this.options.stamped);var i=this;this.handleDraggabilly={dragStart:function(t){i.itemDragStart(t.element)},dragMove:function(t){i.itemDragMove(t.element,t.position.x,t.position.y)},dragEnd:function(t){i.itemDragEnd(t.element)}},this.handleUIDraggable={start:function(t){i.itemDragStart(t.currentTarget)},drag:function(t,e){i.itemDragMove(t.currentTarget,e.position.left,e.position.top)},stop:function(t){i.itemDragEnd(t.currentTarget)}}},l.prototype._resetLayout=function(){this.getSize(),this._getMeasurements();var t=this.packer;this.options.isHorizontal?(t.width=Number.POSITIVE_INFINITY,t.height=this.size.innerHeight+this.gutter,t.sortDirection="rightwardTopToBottom"):(t.width=this.size.innerWidth+this.gutter,t.height=Number.POSITIVE_INFINITY,t.sortDirection="downwardLeftToRight"),t.reset(),this.maxY=0,this.maxX=0},l.prototype._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},l.prototype._getItemLayoutPosition=function(t){return this._packItem(t),t.rect},l.prototype._packItem=function(t){this._setRectSize(t.element,t.rect),this.packer.pack(t.rect),this._setMaxXY(t.rect)},l.prototype._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},l.prototype._setRectSize=function(t,e){var t=n(t),i=t.outerWidth,t=t.outerHeight;(i||t)&&(i=this._applyGridGutter(i,this.columnWidth),t=this._applyGridGutter(t,this.rowHeight)),e.width=Math.min(i,this.packer.width),e.height=Math.min(t,this.packer.height)},l.prototype._applyGridGutter=function(t,e){var i;return e?(i=t%(e+=this.gutter),Math[i&&i<1?"round":"ceil"](t/e)*e):t+this.gutter},l.prototype._getContainerSize=function(){return this.options.isHorizontal?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},l.prototype._manageStamp=function(t){var e=this.getItem(t);e=e&&e.isPlacing?e.placeRect:(e=this._getElementOffset(t),new i({x:this.options.isOriginLeft?e.left:e.right,y:this.options.isOriginTop?e.top:e.bottom})),this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},l.prototype.sortItemsByPosition=function(){var t=this.options.isHorizontal?a:r;this.items.sort(t)},l.prototype.fit=function(t,e,i){t=this.getItem(t);t&&(this._getMeasurements(),this.stamp(t.element),t.getSize(),t.isPlacing=!0,e=void 0===e?t.rect.x:e,i=void 0===i?t.rect.y:i,t.positionPlaceRect(e,i,!0),this._bindFitEvents(t),t.moveTo(t.placeRect.x,t.placeRect.y),this.layout(),this.unstamp(t.element),this.sortItemsByPosition(),t.isPlacing=!1,t.copyPlaceRectPosition())},l.prototype._bindFitEvents=function(t){function e(){2===++n&&i.emitEvent("fitComplete",[i,t])}var i=this,n=0;t.on("layout",function(){return e(),!0}),this.on("layoutComplete",function(){return e(),!0})},l.prototype.resize=function(){var t=n(this.element),e=this.size&&t,i=this.options.isHorizontal?"innerHeight":"innerWidth";e&&t[i]===this.size[i]||this.layout()},l.prototype.itemDragStart=function(t){this.stamp(t);t=this.getItem(t);t&&t.dragStart()},l.prototype.itemDragMove=function(t,e,i){var t=this.getItem(t),n=(t&&t.dragMove(e,i),this);this.clearDragTimeout(),this.dragTimeout=setTimeout(function(){n.layout(),delete n.dragTimeout},40)},l.prototype.clearDragTimeout=function(){this.dragTimeout&&clearTimeout(this.dragTimeout)},l.prototype.itemDragEnd=function(t){var e,i=this.getItem(t);i&&(e=i.didDrag,i.dragStop()),i&&(e||i.needsPositioning)?(s.add(i.element,"is-positioning-post-drag"),e=this._getDragEndLayoutComplete(t,i),i.needsPositioning?(i.on("layout",e),i.moveTo(i.placeRect.x,i.placeRect.y)):i&&i.copyPlaceRectPosition(),this.clearDragTimeout(),this.on("layoutComplete",e),this.layout()):this.unstamp(t)},l.prototype._getDragEndLayoutComplete=function(t,e){var i=e&&e.needsPositioning,n=0,o=i?2:1,r=this;return function(){return++n!==o||(e&&(s.remove(e.element,"is-positioning-post-drag"),e.isPlacing=!1,e.copyPlaceRectPosition()),r.unstamp(t),r.sortItemsByPosition(),i&&r.emitEvent("dragItemPositioned",[r,e])),!0}},l.prototype.bindDraggabillyEvents=function(t){t.on("dragStart",this.handleDraggabilly.dragStart),t.on("dragMove",this.handleDraggabilly.dragMove),t.on("dragEnd",this.handleDraggabilly.dragEnd)},l.prototype.bindUIDraggableEvents=function(t){t.on("dragstart",this.handleUIDraggable.start).on("drag",this.handleUIDraggable.drag).on("dragstop",this.handleUIDraggable.stop)},l.Rect=i,l.Packer=e,l}"function"==typeof define&&define.amd?define("packery/js/packery",["classie/classie","get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof exports?module.exports=e(require("desandro-classie"),require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.classie,t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window),function(t){function e(t,e,n){var i,t=t.create("packery"),o=t.prototype._getElementOffset,r=t.prototype._getMeasurement,s=t.prototype,a=e.prototype;for(i in a)s[i]=a[i];t.prototype._getElementOffset=o,t.prototype._getMeasurement=r;var l=t.prototype._resetLayout,u=(t.prototype._resetLayout=function(){this.packer=this.packer||new e.Packer,l.apply(this,arguments)},t.prototype._getItemLayoutPosition),c=(t.prototype._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,u.call(this,t)},t.prototype._manageStamp);return t.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,c.apply(this,arguments)},t.prototype.needsResizeLayout=function(){var t=n(this.element),e=this.size&&t,i=this.options.isHorizontal?"innerHeight":"innerWidth";return e&&t[i]!==this.size[i]},t}"function"==typeof define&&define.amd?define(["isotope/js/layout-mode","packery/js/packery","get-size/get-size"],e):"object"==typeof exports?module.exports=e(require("isotope-layout/js/layout-mode"),require("packery"),require("get-size")):e(t.Isotope.LayoutMode,t.Packery,t.getSize)}(window),function(x){x.fn.justifiedGallery=function(f){var m={sizeRangeSuffixes:{lt100:"",lt240:"",lt320:"",lt500:"",lt640:"",lt1024:""},rowHeight:120,maxRowHeight:0,margins:1,border:-1,lastRow:"nojustify",justifyThreshold:.75,fixedHeight:!1,waitThumbnailsLoad:!0,captions:!0,cssAnimation:!1,imagesAnimationDuration:500,captionSettings:{animationDuration:500,visibleOpacity:.7,nonVisibleOpacity:0},rel:null,target:null,extension:/\.[^.\\/]+$/,refreshTime:100,randomize:!1};function h(t,e,i,n){var o,r,s=t.match(n.settings.extension),s=null!=s?s[0]:"",t=t.replace(n.settings.extension,"");return o=function(t,e){var i,n,o=!1;for(i in e.settings.sizeRangeSuffixes)if(0===e.settings.sizeRangeSuffixes[i].length)o=!0;else if(n=e.settings.sizeRangeSuffixes[i],-1!==t.indexOf(n,t.length-n.length))return e.settings.sizeRangeSuffixes[i];if(o)return"";throw"unknown suffix for "+t}(r=t,n),t=r.substring(0,r.length-o.length),t+=(r=n,((n=(o=i)<(n=e)?n:o)<=100?r.settings.sizeRangeSuffixes.lt100:n<=240?r.settings.sizeRangeSuffixes.lt240:n<=320?r.settings.sizeRangeSuffixes.lt320:n<=500?r.settings.sizeRangeSuffixes.lt500:n<=640?r.settings.sizeRangeSuffixes.lt640:r.settings.sizeRangeSuffixes.lt1024)+s)}function d(t){var e=x(t.currentTarget).find(".caption");t.data.settings.cssAnimation?e.addClass("caption-visible").removeClass("caption-hidden"):e.stop().fadeTo(t.data.settings.captionSettings.animationDuration,t.data.settings.captionSettings.visibleOpacity)}function p(t){var e=x(t.currentTarget).find(".caption");t.data.settings.cssAnimation?e.removeClass("caption-visible").removeClass("caption-hidden"):e.stop().fadeTo(t.data.settings.captionSettings.animationDuration,t.data.settings.captionSettings.nonVisibleOpacity)}function g(t,e,i){i.settings.cssAnimation?(t.addClass("entry-visible"),e()):t.stop().fadeTo(i.settings.imagesAnimationDuration,1,e)}function v(t){var e=t.find("> img");return e=0===e.length?t.find("> a > img"):e}function y(t){t.lastAnalyzedIndex=-1,t.buildingRow.entriesBuff=[],t.buildingRow.aspectRatio=0,t.buildingRow.width=0,t.offY=t.border}function c(t,e){var i,n,o=t.settings,r=t.border,s=function(t,e){var i,n,o,r,s,a=t.settings,l=!0,u=0,c=t.galleryWidth-2*t.border-(t.buildingRow.entriesBuff.length-1)*a.margins,h=c/t.buildingRow.aspectRatio,d=t.buildingRow.width/c>a.justifyThreshold;if(e&&"hide"===a.lastRow&&!d){for(i=0;i<t.buildingRow.entriesBuff.length;i++)n=t.buildingRow.entriesBuff[i],a.cssAnimation?n.removeClass("entry-visible"):n.stop().fadeTo(0,0);return-1}for(e&&!d&&"nojustify"===a.lastRow&&(l=!1),i=0;i<t.buildingRow.entriesBuff.length;i++)s=(o=v(t.buildingRow.entriesBuff[i])).data("jg.imgw")/o.data("jg.imgh"),s=l?(r=i===t.buildingRow.entriesBuff.length-1?c:h*s,h):(r=a.rowHeight*s,a.rowHeight),c-=Math.round(r),o.data("jg.jimgw",Math.round(r)),o.data("jg.jimgh",Math.ceil(s)),(0===i||s<u)&&(u=s);return{minHeight:u=a.fixedHeight&&u>a.rowHeight?a.rowHeight:u,justify:l}}(t,e),a=s.minHeight;if(e&&"hide"===o.lastRow&&-1===a)t.buildingRow.entriesBuff=[],t.buildingRow.aspectRatio=0,t.buildingRow.width=0;else{0<o.maxRowHeight&&o.maxRowHeight<a?a=o.maxRowHeight:0===o.maxRowHeight&&1.5*o.rowHeight<a&&(a=1.5*o.rowHeight);for(var l=0;l<t.buildingRow.entriesBuff.length;l++)n=v(i=t.buildingRow.entriesBuff[l]),function(t,e,i,n,o,r,s){var a=v(t),l=(a.css("width",n),a.css("height",o),a.css("margin-left",-n/2),a.css("margin-top",-o/2),t.width(n),t.height(r),t.css("top",i),t.css("left",e),a.attr("src")),u=h(l,n,o,s);function c(){l!==u&&a.attr("src",u)}a.one("error",function(){a.attr("src",a.data("jg.originalSrc"))}),"skipped"===a.data("jg.loaded")?b(l,function(){g(t,c,s),a.data("jg.loaded",!0)}):g(t,c,s),r=t.data("jg.captionMouseEvents"),!0===s.settings.captions?(0===(i=t.find(".caption")).length&&void 0!==(e=void 0===(e=a.attr("alt"))?t.attr("title"):e)&&(i=x('<div class="caption">'+e+"</div>"),t.append(i)),0!==i.length&&(s.settings.cssAnimation||i.stop().fadeTo(s.settings.imagesAnimationDuration,s.settings.captionSettings.nonVisibleOpacity),void 0===r)&&(t.on("mouseenter",void 0,s,(r={mouseenter:d,mouseleave:p}).mouseenter),t.on("mouseleave",void 0,s,r.mouseleave),t.data("jg.captionMouseEvents",r))):void 0!==r&&(t.off("mouseenter",void 0,s,r.mouseenter),t.off("mouseleave",void 0,s,r.mouseleave),t.removeData("jg.captionMouseEvents"))}(i,r,t.offY,n.data("jg.jimgw"),n.data("jg.jimgh"),a,t),r+=n.data("jg.jimgw")+o.margins;t.$gallery.height(t.offY+a+t.border+(t.spinner.active?t.spinner.$el.innerHeight():0)),(!e||a<=t.settings.rowHeight&&s.justify)&&(t.offY+=a+t.settings.margins,t.buildingRow.entriesBuff=[],t.buildingRow.aspectRatio=0,t.buildingRow.width=0,t.$gallery.trigger("jg.rowflush"))}}function _(t){t.yield.flushed=0,null!==t.imgAnalyzerTimeout&&clearTimeout(t.imgAnalyzerTimeout)}function w(t,e){_(t),t.imgAnalyzerTimeout=setTimeout(function(){i(t,e)},.001),i(t,e)}function i(t,e){for(var i,n=t.settings,o=t.lastAnalyzedIndex+1;o<t.entries.length;o++){var r=x(t.entries[o]),s=v(r);if(!0===s.data("jg.loaded")||"skipped"===s.data("jg.loaded")){var a=o>=t.entries.length-1,l=t.galleryWidth-2*t.border-(t.buildingRow.entriesBuff.length-1)*n.margins,u=s.data("jg.imgw")/s.data("jg.imgh");if(l/(t.buildingRow.aspectRatio+u)<n.rowHeight&&(c(t,a),++t.yield.flushed>=t.yield.every))return void w(t,e);t.buildingRow.entriesBuff.push(r),t.buildingRow.aspectRatio+=u,t.buildingRow.width+=u*n.rowHeight,t.lastAnalyzedIndex=o}else if("error"!==s.data("jg.loaded"))return}0<t.buildingRow.entriesBuff.length&&c(t,!0),t.spinner.active&&(t.spinner.active=!1,t.$gallery.height(t.$gallery.height()-t.spinner.$el.innerHeight()),t.spinner.$el.detach(),i=t.spinner,clearInterval(i.intervalId),i.intervalId=null),_(t),e?t.$gallery.trigger("jg.resize"):t.$gallery.trigger("jg.complete")}function b(t,e,i){var n,o;(e||i)&&(n=new Image,o=x(n),e&&o.one("load",function(){o.off("load error"),e(n)}),i&&o.one("error",function(){o.off("load error"),i(n)}),n.src=t)}return this.each(function(t,e){var i,s,a,n,l=x(e);if(l.addClass("justified-gallery"),void 0===(u=l.data("jg.context"))){if(null!=f&&"object"!=typeof f)throw"The argument must be an object";var e=x('<div class="spinner"><span></span><span></span><span></span></div>'),o=x.extend({},m,f),r=0<=o.border?o.border:o.margins,u={settings:o,imgAnalyzerTimeout:null,entries:null,buildingRow:{entriesBuff:[],width:0,aspectRatio:0},lastAnalyzedIndex:-1,yield:{every:2,flushed:0},border:r,offY:r,spinner:{active:!1,phase:0,timeslot:150,$el:e,$points:e.find("span"),intervalId:null},checkWidthIntervalId:null,galleryWidth:l.width(),$gallery:l};l.data("jg.context",u)}else if("norewind"===f)for(var c=0;c<u.buildingRow.entriesBuff.length;c++)i=u.buildingRow.entriesBuff[c],u.settings.cssAnimation?i.removeClass("entry-visible"):i.stop().fadeTo(0,0);else u.settings=x.extend({},u.settings,f),u.border=0<=u.settings.border?u.settings.border:u.settings.margins,y(u);var h=u.settings;function d(t){if("string"!=typeof h.sizeRangeSuffixes[t])throw"sizeRangeSuffixes."+t+" must be a string"}function p(t,e){if("string"==typeof t[e]){if(t[e]=parseFloat(t[e],10),isNaN(t[e]))throw"invalid number for "+e}else{if("number"!=typeof t[e])throw e+" must be a number";if(isNaN(t[e]))throw"invalid number for "+e}}if("object"!=typeof h.sizeRangeSuffixes)throw"sizeRangeSuffixes must be defined and must be an object";if(d("lt100"),d("lt240"),d("lt320"),d("lt500"),d("lt640"),d("lt1024"),p(h,"rowHeight"),p(h,"maxRowHeight"),0<h.maxRowHeight&&h.maxRowHeight<h.rowHeight&&(h.maxRowHeight=h.rowHeight),p(h,"margins"),p(h,"border"),"nojustify"!==h.lastRow&&"justify"!==h.lastRow&&"hide"!==h.lastRow)throw'lastRow must be "nojustify", "justify" or "hide"';if(p(h,"justifyThreshold"),h.justifyThreshold<0||1<h.justifyThreshold)throw"justifyThreshold must be in the interval [0,1]";if("boolean"!=typeof h.cssAnimation)throw"cssAnimation must be a boolean";if(p(h.captionSettings,"animationDuration"),p(h,"imagesAnimationDuration"),p(h.captionSettings,"visibleOpacity"),h.captionSettings.visibleOpacity<0||1<h.captionSettings.visibleOpacity)throw"captionSettings.visibleOpacity must be in the interval [0, 1]";if(p(h.captionSettings,"nonVisibleOpacity"),h.captionSettings.visibleOpacity<0||1<h.captionSettings.visibleOpacity)throw"captionSettings.nonVisibleOpacity must be in the interval [0, 1]";if("boolean"!=typeof h.fixedHeight)throw"fixedHeight must be a boolean";if("boolean"!=typeof h.captions)throw"captions must be a boolean";if(p(h,"refreshTime"),"boolean"!=typeof h.randomize)throw"randomize must be a boolean";u.entries=l.find("> a, > div:not(.spinner)").toArray(),0!==u.entries.length&&(u.settings.randomize&&(u.entries.sort(function(){return 2*Math.random()-1}),x.each(u.entries,function(){x(this).appendTo(l)})),a=s=!1,x.each(u.entries,function(t,e){var i,e=x(e),n=v(e);if(e.addClass("jg-entry"),!0!==n.data("jg.loaded")&&"skipped"!==n.data("jg.loaded")){null!==u.settings.rel&&e.attr("rel",u.settings.rel),null!==u.settings.target&&e.attr("target",u.settings.target);var e=void 0!==n.data("safe-src")?n.data("safe-src"):n.attr("src"),o=(n.data("jg.originalSrc",e),n.attr("src",e),parseInt(n.attr("width"),10)),r=parseInt(n.attr("height"),10);if(!0!==u.settings.waitThumbnailsLoad&&!isNaN(o)&&!isNaN(r))return n.data("jg.imgw",o),n.data("jg.imgh",r),n.data("jg.loaded","skipped"),w(u,!(a=!0)),!0;n.data("jg.loaded",!1),!(s=!0)===u.spinner.active&&(u.spinner.active=!0,l.append(u.spinner.$el),l.height(u.offY+u.spinner.$el.innerHeight()),i=u.spinner,clearInterval(i.intervalId),i.intervalId=setInterval(function(){i.phase<i.$points.length?i.$points.eq(i.phase).fadeTo(i.timeslot,1):i.$points.eq(i.phase-i.$points.length).fadeTo(i.timeslot,0),i.phase=(i.phase+1)%(2*i.$points.length)},i.timeslot)),b(e,function(t){n.data("jg.imgw",t.width),n.data("jg.imgh",t.height),n.data("jg.loaded",!0),w(u,!1)},function(){n.data("jg.loaded","error"),w(u,!1)})}}),s||a||w(u,!1),(n=u).checkWidthIntervalId=setInterval(function(){var t=parseInt(n.$gallery.width(),10);n.galleryWidth!==t&&(n.galleryWidth=t,y(n),w(n,!0))},n.settings.refreshTime))})}}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).leaflet={})}(this,function(t){"use strict";function u(t){for(var e,i,n=1,o=arguments.length;n<o;n++)for(e in i=arguments[n])t[e]=i[e];return t}var B=Object.create||function(t){return F.prototype=t,new F};function F(){}function a(t,e){var i,n=Array.prototype.slice;return t.bind?t.bind.apply(t,n.call(arguments,1)):(i=n.call(arguments,2),function(){return t.apply(e,i.length?i.concat(n.call(arguments)):arguments)})}var N=0;function l(t){return"_leaflet_id"in t||(t._leaflet_id=++N),t._leaflet_id}function j(t,e,i){var n,o,r=function(){n=!1,o&&(s.apply(i,o),o=!1)},s=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(r,e),n=!0)};return s}function H(t,e,i){var n=e[1],e=e[0],o=n-e;return t===n&&i?t:((t-e)%o+o)%o+e}function c(){return!1}function i(t,e){return!1===e?t:(e=Math.pow(10,void 0===e?6:e),Math.round(t*e)/e)}function W(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function Z(t){return W(t).split(/\s+/)}function h(t,e){for(var i in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?B(t.options):{}),e)t.options[i]=e[i];return t.options}function q(t,e,i){var n,o=[];for(n in t)o.push(encodeURIComponent(i?n.toUpperCase():n)+"="+encodeURIComponent(t[n]));return(e&&-1!==e.indexOf("?")?"&":"?")+o.join("&")}var G=/\{ *([\w_ -]+) *\}/g;function V(t,i){return t.replace(G,function(t,e){e=i[e];if(void 0===e)throw new Error("No value provided for variable "+t);return e="function"==typeof e?e(i):e})}var d=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function $(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}var U="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function Y(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var X=0;function K(t){var e=+new Date,i=Math.max(0,16-(e-X));return X=e+i,window.setTimeout(t,i)}var Q=window.requestAnimationFrame||Y("RequestAnimationFrame")||K,J=window.cancelAnimationFrame||Y("CancelAnimationFrame")||Y("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function w(t,e,i){if(!i||Q!==K)return Q.call(window,a(t,e));t.call(e)}function s(t){t&&J.call(window,t)}var tt={__proto__:null,extend:u,create:B,bind:a,get lastId(){return N},stamp:l,throttle:j,wrapNum:H,falseFn:c,formatNum:i,trim:W,splitWords:Z,setOptions:h,getParamString:q,template:V,isArray:d,indexOf:$,emptyImageUrl:U,requestFn:Q,cancelFn:J,requestAnimFrame:w,cancelAnimFrame:s};function et(){}et.extend=function(t){function e(){h(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var i,n=e.__super__=this.prototype,o=B(n);for(i in(o.constructor=e).prototype=o,this)Object.prototype.hasOwnProperty.call(this,i)&&"prototype"!==i&&"__super__"!==i&&(e[i]=this[i]);if(t.statics&&u(e,t.statics),t.includes){var r=t.includes;if("undefined"!=typeof L&&L&&L.Mixin){r=d(r)?r:[r];for(var s=0;s<r.length;s++)r[s]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}u.apply(null,[o].concat(t.includes))}return u(o,t),delete o.statics,delete o.includes,o.options&&(o.options=n.options?B(n.options):{},u(o.options,t.options)),o._initHooks=[],o.callInitHooks=function(){if(!this._initHooksCalled){n.callInitHooks&&n.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=o._initHooks.length;t<e;t++)o._initHooks[t].call(this)}},e},et.include=function(t){var e=this.prototype.options;return u(this.prototype,t),t.options&&(this.prototype.options=e,this.mergeOptions(t.options)),this},et.mergeOptions=function(t){return u(this.prototype.options,t),this},et.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),i="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};var e={on:function(t,e,i){if("object"==typeof t)for(var n in t)this._on(n,t[n],e);else for(var o=0,r=(t=Z(t)).length;o<r;o++)this._on(t[o],e,i);return this},off:function(t,e,i){if(arguments.length)if("object"==typeof t)for(var n in t)this._off(n,t[n],e);else{t=Z(t);for(var o=1===arguments.length,r=0,s=t.length;r<s;r++)o?this._off(t[r]):this._off(t[r],e,i)}else delete this._events;return this},_on:function(t,e,i){if("function"!=typeof e)console.warn("wrong listener type: "+typeof e);else{this._events=this._events||{};for(var n=this._events[t],t=(n||(this._events[t]=n=[]),{fn:e,ctx:i=i===this?void 0:i}),o=n,r=0,s=o.length;r<s;r++)if(o[r].fn===e&&o[r].ctx===i)return;o.push(t)}},_off:function(t,e,i){var n,o,r;if(this._events&&(n=this._events[t]))if(1===arguments.length){if(this._firingCount)for(o=0,r=n.length;o<r;o++)n[o].fn=c;delete this._events[t]}else if(i===this&&(i=void 0),"function"!=typeof e)console.warn("wrong listener type: "+typeof e);else{for(o=0,r=n.length;o<r;o++){var s=n[o];if(s.ctx===i&&s.fn===e)return this._firingCount&&(s.fn=c,this._events[t]=n=n.slice()),void n.splice(o,1)}console.warn("listener not found")}},fire:function(t,e,i){if(this.listens(t,i)){var n=u({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var o=this._events[t];if(o){this._firingCount=this._firingCount+1||1;for(var r=0,s=o.length;r<s;r++){var a=o[r];a.fn.call(a.ctx||this,n)}this._firingCount--}}i&&this._propagateEvent(n)}return this},listens:function(t,e){"string"!=typeof t&&console.warn('"string" type argument expected');var i=this._events&&this._events[t];if(i&&i.length)return!0;if(e)for(var n in this._eventParents)if(this._eventParents[n].listens(t,e))return!0;return!1},once:function(t,e,i){if("object"==typeof t){for(var n in t)this.once(n,t[n],e);return this}var o=a(function(){this.off(t,e,i).off(t,o,i)},this);return this.on(t,e,i).on(t,o,i)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[l(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[l(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,u({layer:t.target,propagatedFrom:t.target},t),!0)}},it=(e.addEventListener=e.on,e.removeEventListener=e.clearAllEventListeners=e.off,e.addOneTimeEventListener=e.once,e.fireEvent=e.fire,e.hasEventListeners=e.listens,et.extend(e));function f(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e}var nt=Math.trunc||function(t){return 0<t?Math.floor(t):Math.ceil(t)};function p(t,e,i){return t instanceof f?t:d(t)?new f(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new f(t.x,t.y):new f(t,e,i)}function m(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function g(t,e){return!t||t instanceof m?t:new m(t,e)}function r(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function v(t,e){return t instanceof r?t:new r(t,e)}function y(t,e,i){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==i&&(this.alt=+i)}function b(t,e,i){return t instanceof y?t:d(t)&&"object"!=typeof t[0]?3===t.length?new y(t[0],t[1],t[2]):2===t.length?new y(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new y(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new y(t,e,i)}f.prototype={clone:function(){return new f(this.x,this.y)},add:function(t){return this.clone()._add(p(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(p(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new f(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new f(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=nt(this.x),this.y=nt(this.y),this},distanceTo:function(t){var e=(t=p(t)).x-this.x,t=t.y-this.y;return Math.sqrt(e*e+t*t)},equals:function(t){return(t=p(t)).x===this.x&&t.y===this.y},contains:function(t){return t=p(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+i(this.x)+", "+i(this.y)+")"}},m.prototype={extend:function(t){return t=p(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new f((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new f(this.min.x,this.max.y)},getTopRight:function(){return new f(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,i;return(t=("number"==typeof t[0]||t instanceof f?p:g)(t))instanceof m?(e=t.min,i=t.max):e=i=t,e.x>=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=g(t);var e=this.min,i=this.max,n=t.min,t=t.max,o=t.x>=e.x&&n.x<=i.x,t=t.y>=e.y&&n.y<=i.y;return o&&t},overlaps:function(t){t=g(t);var e=this.min,i=this.max,n=t.min,t=t.max,o=t.x>e.x&&n.x<i.x,t=t.y>e.y&&n.y<i.y;return o&&t},isValid:function(){return!(!this.min||!this.max)}},r.prototype={extend:function(t){var e,i,n=this._southWest,o=this._northEast;if(t instanceof y)i=e=t;else{if(!(t instanceof r))return t?this.extend(b(t)||v(t)):this;if(e=t._southWest,i=t._northEast,!e||!i)return this}return n||o?(n.lat=Math.min(e.lat,n.lat),n.lng=Math.min(e.lng,n.lng),o.lat=Math.max(i.lat,o.lat),o.lng=Math.max(i.lng,o.lng)):(this._southWest=new y(e.lat,e.lng),this._northEast=new y(i.lat,i.lng)),this},pad:function(t){var e=this._southWest,i=this._northEast,n=Math.abs(e.lat-i.lat)*t,t=Math.abs(e.lng-i.lng)*t;return new r(new y(e.lat-n,e.lng-t),new y(i.lat+n,i.lng+t))},getCenter:function(){return new y((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new y(this.getNorth(),this.getWest())},getSouthEast:function(){return new y(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t=("number"==typeof t[0]||t instanceof y||"lat"in t?b:v)(t);var e,i,n=this._southWest,o=this._northEast;return t instanceof r?(e=t.getSouthWest(),i=t.getNorthEast()):e=i=t,e.lat>=n.lat&&i.lat<=o.lat&&e.lng>=n.lng&&i.lng<=o.lng},intersects:function(t){t=v(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),t=t.getNorthEast(),o=t.lat>=e.lat&&n.lat<=i.lat,t=t.lng>=e.lng&&n.lng<=i.lng;return o&&t},overlaps:function(t){t=v(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),t=t.getNorthEast(),o=t.lat>e.lat&&n.lat<i.lat,t=t.lng>e.lng&&n.lng<i.lng;return o&&t},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=v(t),this._southWest.equals(t.getSouthWest(),e))&&this._northEast.equals(t.getNorthEast(),e)},isValid:function(){return!(!this._southWest||!this._northEast)}};var ot={latLngToPoint:function(t,e){t=this.projection.project(t),e=this.scale(e);return this.transformation._transform(t,e)},pointToLatLng:function(t,e){e=this.scale(e),t=this.transformation.untransform(t,e);return this.projection.unproject(t)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){var e;return this.infinite?null:(e=this.projection.bounds,t=this.scale(t),new m(this.transformation.transform(e.min,t),this.transformation.transform(e.max,t)))},infinite:!(y.prototype={equals:function(t,e){return!!t&&(t=b(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===e?1e-9:e))},toString:function(t){return"LatLng("+i(this.lat,t)+", "+i(this.lng,t)+")"},distanceTo:function(t){return rt.distance(this,b(t))},wrap:function(){return rt.wrapLatLng(this)},toBounds:function(t){var t=180*t/40075017,e=t/Math.cos(Math.PI/180*this.lat);return v([this.lat-t,this.lng-e],[this.lat+t,this.lng+e])},clone:function(){return new y(this.lat,this.lng,this.alt)}}),wrapLatLng:function(t){var e=this.wrapLng?H(t.lng,this.wrapLng,!0):t.lng;return new y(this.wrapLat?H(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),i=this.wrapLatLng(e),n=e.lat-i.lat,e=e.lng-i.lng;return 0==n&&0==e?t:(i=t.getSouthWest(),t=t.getNorthEast(),new r(new y(i.lat-n,i.lng-e),new y(t.lat-n,t.lng-e)))}},rt=u({},ot,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,r=Math.sin((e.lat-t.lat)*i/2),e=Math.sin((e.lng-t.lng)*i/2),t=r*r+Math.cos(n)*Math.cos(o)*e*e,i=2*Math.atan2(Math.sqrt(t),Math.sqrt(1-t));return this.R*i}}),st={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,i=this.MAX_LATITUDE,i=Math.max(Math.min(i,t.lat),-i),i=Math.sin(i*e);return new f(this.R*t.lng*e,this.R*Math.log((1+i)/(1-i))/2)},unproject:function(t){var e=180/Math.PI;return new y((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:new m([-(st=6378137*Math.PI),-st],[st,st])};function at(t,e,i,n){d(t)?(this._a=t[0],this._b=t[1],this._c=t[2],this._d=t[3]):(this._a=t,this._b=e,this._c=i,this._d=n)}function lt(t,e,i,n){return new at(t,e,i,n)}at.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return t.x=(e=e||1)*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return new f((t.x/(e=e||1)-this._b)/this._a,(t.y/e-this._d)/this._c)}};var ut=u({},rt,{code:"EPSG:3857",projection:st,transformation:lt(ut=.5/(Math.PI*st.R),.5,-ut,.5)}),ct=u({},ut,{code:"EPSG:900913"});function ht(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function dt(t,e){for(var i,n,o,r,s="",a=0,l=t.length;a<l;a++){for(i=0,n=(o=t[a]).length;i<n;i++)s+=(i?"L":"M")+(r=o[i]).x+" "+r.y;s+=e?x.svg?"z":"x":""}return s||"M0 0"}var pt=document.documentElement.style,ft="ActiveXObject"in window,mt=ft&&!document.addEventListener,n="msLaunchUri"in navigator&&!("documentMode"in document),gt=_("webkit"),vt=_("android"),yt=_("android 2")||_("android 3"),_t=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),_t=vt&&_("Google")&&_t<537&&!("AudioNode"in window),wt=!!window.opera,bt=!n&&_("chrome"),xt=_("gecko")&&!gt&&!wt&&!ft,Tt=!bt&&_("safari"),At=_("phantom"),o="OTransition"in pt,St=0===navigator.platform.indexOf("Win"),Et=ft&&"transition"in pt,Mt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!yt,pt="MozPerspective"in pt,Ct=!window.L_DISABLE_3D&&(Et||Mt||pt)&&!o&&!At,Pt="undefined"!=typeof orientation||_("mobile"),Lt=Pt&>,zt=Pt&&Mt,kt=!window.PointerEvent&&window.MSPointerEvent,It=!(!window.PointerEvent&&!kt),Ot="ontouchstart"in window||!!window.TouchEvent,Dt=!window.L_NO_TOUCH&&(Ot||It),Rt=Pt&&wt,Bt=Pt&&xt,Ft=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),Nt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",c,e),window.removeEventListener("testPassiveEventSupport",c,e)}catch(t){}return t}(),jt=!!document.createElement("canvas").getContext,Ht=!(!document.createElementNS||!ht("svg").createSVGRect),Wt=!!Ht&&((Wt=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===(Wt.firstChild&&Wt.firstChild.namespaceURI));function _(t){return 0<=navigator.userAgent.toLowerCase().indexOf(t)}var x={ie:ft,ielt9:mt,edge:n,webkit:gt,android:vt,android23:yt,androidStock:_t,opera:wt,chrome:bt,gecko:xt,safari:Tt,phantom:At,opera12:o,win:St,ie3d:Et,webkit3d:Mt,gecko3d:pt,any3d:Ct,mobile:Pt,mobileWebkit:Lt,mobileWebkit3d:zt,msPointer:kt,pointer:It,touch:Dt,touchNative:Ot,mobileOpera:Rt,mobileGecko:Bt,retina:Ft,passiveEvents:Nt,canvas:jt,svg:Ht,vml:!Ht&&function(){try{var t=document.createElement("div"),e=(t.innerHTML='<v:shape adj="1"/>',t.firstChild);return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}(),inlineSvg:Wt},Zt=x.msPointer?"MSPointerDown":"pointerdown",qt=x.msPointer?"MSPointerMove":"pointermove",Gt=x.msPointer?"MSPointerUp":"pointerup",Vt=x.msPointer?"MSPointerCancel":"pointercancel",$t={touchstart:Zt,touchmove:qt,touchend:Gt,touchcancel:Vt},Ut={touchstart:function(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&I(e);ee(t,e)},touchmove:ee,touchend:ee,touchcancel:ee},Yt={},Xt=!1;function Kt(t,e,i){return"touchstart"!==e||Xt||(document.addEventListener(Zt,Qt,!0),document.addEventListener(qt,Jt,!0),document.addEventListener(Gt,te,!0),document.addEventListener(Vt,te,!0),Xt=!0),Ut[e]?(i=Ut[e].bind(this,i),t.addEventListener($t[e],i,!1),i):(console.warn("wrong event specified:",e),L.Util.falseFn)}function Qt(t){Yt[t.pointerId]=t}function Jt(t){Yt[t.pointerId]&&(Yt[t.pointerId]=t)}function te(t){delete Yt[t.pointerId]}function ee(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var i in e.touches=[],Yt)e.touches.push(Yt[i]);e.changedTouches=[e],t(e)}}var ie=200;function ne(t,i){t.addEventListener("dblclick",i);var n,o=0;function e(t){var e;1!==t.detail?n=t.detail:"mouse"===t.pointerType||t.sourceCapabilities&&!t.sourceCapabilities.firesTouchEvents||((e=Date.now())-o<=ie?2===++n&&i(function(t){var e,i,n={};for(i in t)e=t[i],n[i]=e&&e.bind?e.bind(t):e;return(t=n).type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}(t)):n=1,o=e)}return t.addEventListener("click",e),{dblclick:i,simDblclick:e}}var oe,re,se,ae,le,ue,ce=be(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),he=be(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),de="webkitTransition"===he||"OTransition"===he?he+"End":"transitionend";function pe(t){return"string"==typeof t?document.getElementById(t):t}function fe(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];return"auto"===(i=i&&"auto"!==i||!document.defaultView?i:(t=document.defaultView.getComputedStyle(t,null))?t[e]:null)?null:i}function T(t,e,i){t=document.createElement(t);return t.className=e||"",i&&i.appendChild(t),t}function A(t){var e=t.parentNode;e&&e.removeChild(t)}function me(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function ge(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ve(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ye(t,e){return void 0!==t.classList?t.classList.contains(e):0<(t=we(t)).length&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t)}function S(t,e){var i;if(void 0!==t.classList)for(var n=Z(e),o=0,r=n.length;o<r;o++)t.classList.add(n[o]);else ye(t,e)||_e(t,((i=we(t))?i+" ":"")+e)}function E(t,e){void 0!==t.classList?t.classList.remove(e):_e(t,W((" "+we(t)+" ").replace(" "+e+" "," ")))}function _e(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function we(t){return void 0===(t=t.correspondingElement?t.correspondingElement:t).className.baseVal?t.className:t.className.baseVal}function M(t,e){if("opacity"in t.style)t.style.opacity=e;else if("filter"in t.style){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=t.filters.item(n)}catch(t){if(1===e)return}e=Math.round(100*e),i?(i.Enabled=100!==e,i.Opacity=e):t.style.filter+=" progid:"+n+"(opacity="+e+")"}}function be(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1}function xe(t,e,i){e=e||new f(0,0);t.style[ce]=(x.ie3d?"translate("+e.x+"px,"+e.y+"px)":"translate3d("+e.x+"px,"+e.y+"px,0)")+(i?" scale("+i+")":"")}function C(t,e){t._leaflet_pos=e,x.any3d?xe(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function Te(t){return t._leaflet_pos||new f(0,0)}function Ae(){P(window,"dragstart",I)}function Se(){k(window,"dragstart",I)}function Ee(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(Me(),ue=(le=t).style.outline,t.style.outline="none",P(window,"keydown",Me))}function Me(){le&&(le.style.outline=ue,ue=le=void 0,k(window,"keydown",Me))}function Ce(t){for(;!((t=t.parentNode).offsetWidth&&t.offsetHeight||t===document.body););return t}function Pe(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}ae="onselectstart"in document?(se=function(){P(window,"selectstart",I)},function(){k(window,"selectstart",I)}):(re=be(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]),se=function(){var t;re&&(t=document.documentElement.style,oe=t[re],t[re]="none")},function(){re&&(document.documentElement.style[re]=oe,oe=void 0)});ft={__proto__:null,TRANSFORM:ce,TRANSITION:he,TRANSITION_END:de,get:pe,getStyle:fe,create:T,remove:A,empty:me,toFront:ge,toBack:ve,hasClass:ye,addClass:S,removeClass:E,setClass:_e,getClass:we,setOpacity:M,testProp:be,setTransform:xe,setPosition:C,getPosition:Te,get disableTextSelection(){return se},get enableTextSelection(){return ae},disableImageDrag:Ae,enableImageDrag:Se,preventOutline:Ee,restoreOutline:Me,getSizedParentNode:Ce,getScale:Pe};function P(t,e,i,n){if(e&&"object"==typeof e)for(var o in e)ke(t,o,e[o],i);else for(var r=0,s=(e=Z(e)).length;r<s;r++)ke(t,e[r],i,n);return this}var z="_leaflet_events";function k(t,e,i,n){if(1===arguments.length)Le(t),delete t[z];else if(e&&"object"==typeof e)for(var o in e)Ie(t,o,e[o],i);else if(e=Z(e),2===arguments.length)Le(t,function(t){return-1!==$(e,t)});else for(var r=0,s=e.length;r<s;r++)Ie(t,e[r],i,n);return this}function Le(t,e){for(var i in t[z]){var n=i.split(/\d/)[0];e&&!e(n)||Ie(t,n,null,null,i)}}var ze={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function ke(e,t,i,n){var o,r,s=t+l(i)+(n?"_"+l(n):"");e[z]&&e[z][s]||(r=o=function(t){return i.call(n||e,t||window.event)},!x.touchNative&&x.pointer&&0===t.indexOf("touch")?o=Kt(e,t,o):x.touch&&"dblclick"===t?o=ne(e,o):"addEventListener"in e?"touchstart"===t||"touchmove"===t||"wheel"===t||"mousewheel"===t?e.addEventListener(ze[t]||t,o,!!x.passiveEvents&&{passive:!1}):"mouseenter"===t||"mouseleave"===t?e.addEventListener(ze[t],o=function(t){t=t||window.event,He(e,t)&&r(t)},!1):e.addEventListener(t,r,!1):e.attachEvent("on"+t,o),e[z]=e[z]||{},e[z][s]=o)}function Ie(t,e,i,n,o){o=o||e+l(i)+(n?"_"+l(n):"");var r,s,i=t[z]&&t[z][o];i&&(!x.touchNative&&x.pointer&&0===e.indexOf("touch")?(n=t,s=i,$t[r=e]?n.removeEventListener($t[r],s,!1):console.warn("wrong event specified:",r)):x.touch&&"dblclick"===e?(n=i,(s=t).removeEventListener("dblclick",n.dblclick),s.removeEventListener("click",n.simDblclick)):"removeEventListener"in t?t.removeEventListener(ze[e]||e,i,!1):t.detachEvent("on"+e,i),t[z][o]=null)}function Oe(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function De(t){return ke(t,"wheel",Oe),this}function Re(t){return P(t,"mousedown touchstart dblclick contextmenu",Oe),t._leaflet_disable_click=!0,this}function I(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Be(t){return I(t),Oe(t),this}function Fe(t,e){var i,n;return e?(n=(i=Pe(e)).boundingClientRect,new f((t.clientX-n.left)/i.x-e.clientLeft,(t.clientY-n.top)/i.y-e.clientTop)):new f(t.clientX,t.clientY)}var Ne=x.win&&x.chrome?2*window.devicePixelRatio:x.gecko?window.devicePixelRatio:1;function je(t){return x.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Ne:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function He(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(t){return!1}return i!==t}var mt={__proto__:null,on:P,off:k,stopPropagation:Oe,disableScrollPropagation:De,disableClickPropagation:Re,preventDefault:I,stop:Be,getMousePosition:Fe,getWheelDelta:je,isExternalTarget:He,addListener:P,removeListener:k},We=it.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=Te(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=w(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=1e3*this._duration;e<i?this._runFrame(this._easeOut(e/i),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){t=this._startPos.add(this._offset.multiplyBy(t));e&&t._round(),C(this._el,t),this.fire("step")},_complete:function(){s(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),O=it.extend({options:{crs:ut,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:function(t,e){e=h(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=a(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(b(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=he&&x.any3d&&!x.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),P(this._proxy,de,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,i){if((e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(b(t),e,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i)&&(void 0!==i.animate&&(i.zoom=u({animate:i.animate},i.zoom),i.pan=u({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,i.zoom):this._tryAnimatedPan(t,i.pan)))return clearTimeout(this._sizeTimer),this;return this._resetView(t,e),this},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(x.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(x.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,i){var n=this.getZoomScale(e),o=this.getSize().divideBy(2),t=(t instanceof f?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),n=this.containerPointToLatLng(o.add(t));return this.setView(n,e,{zoom:i})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():v(t);var i=p(e.paddingTopLeft||e.padding||[0,0]),n=p(e.paddingBottomRight||e.padding||[0,0]),o=this.getBoundsZoom(t,!1,i.add(n));return(o="number"==typeof e.maxZoom?Math.min(e.maxZoom,o):o)===1/0?{center:t.getCenter(),zoom:o}:(e=n.subtract(i).divideBy(2),n=this.project(t.getSouthWest(),o),i=this.project(t.getNorthEast(),o),{center:this.unproject(n.add(i).divideBy(2).add(e),o),zoom:o})},fitBounds:function(t,e){if((t=v(t)).isValid())return t=this._getBoundsCenterZoom(t,e),this.setView(t.center,t.zoom,e);throw new Error("Bounds are not valid.")},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){var i;return e=e||{},(t=p(t).round()).x||t.y?(!0===e.animate||this.getSize().contains(t)?(this._panAnim||(this._panAnim=new We,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate?(S(this._mapPane,"leaflet-pan-anim"),i=this._getMapPanePos().subtract(t).round(),this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)):(this._rawPanBy(t),this.fire("move").fire("moveend"))):this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this):this.fire("moveend")},flyTo:function(n,o,t){if(!1===(t=t||{}).animate||!x.any3d)return this.setView(n,o,t);this._stop();var r=this.project(this.getCenter()),s=this.project(n),e=this.getSize(),a=this._zoom,l=(n=b(n),o=void 0===o?a:o,Math.max(e.x,e.y)),i=l*this.getZoomScale(a,o),u=s.distanceTo(r)||1,c=1.42,h=c*c;function d(t){t=(i*i-l*l+(t?-1:1)*h*h*u*u)/(2*(t?i:l)*h*u),t=Math.sqrt(t*t+1)-t;return t<1e-9?-18:Math.log(t)}function p(t){return(Math.exp(t)-Math.exp(-t))/2}function f(t){return(Math.exp(t)+Math.exp(-t))/2}var m=d(0);function g(t){return l*(f(m)*(p(t=m+c*t)/f(t))-p(m))/h}var v=Date.now(),y=(d(1)-m)/c,_=t.duration?1e3*t.duration:1e3*y*.8;return this._moveStart(!0,t.noMoveStart),function t(){var e=(Date.now()-v)/_,i=(1-Math.pow(1-e,1.5))*y;e<=1?(this._flyToFrame=w(t,this),this._move(this.unproject(r.add(s.subtract(r).multiplyBy(g(i)/u)),a),this.getScaleZoom(l/(e=i,l*(f(m)/f(m+c*e))),a),{flyTo:!0})):this._move(n,o)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,e){t=this._getBoundsCenterZoom(t,e);return this.flyTo(t.center,t.zoom,e)},setMaxBounds:function(t){return(t=v(t)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),t=this._limitCenter(i,this._zoom,v(t));return i.equals(t)||this.panTo(t,e),this._enforcingBounds=!1,this},panInside:function(t,e){var i=p((e=e||{}).paddingTopLeft||e.padding||[0,0]),n=p(e.paddingBottomRight||e.padding||[0,0]),o=this.project(this.getCenter()),t=this.project(t),r=this.getPixelBounds(),i=g([r.min.add(i),r.max.subtract(n)]),r=i.getSize();return i.contains(t)||(this._enforcingBounds=!0,n=t.subtract(i.getCenter()),i=i.extend(t).getSize().subtract(r),o.x+=n.x<0?-i.x:i.x,o.y+=n.y<0?-i.y:i.y,this.panTo(this.unproject(o),e),this._enforcingBounds=!1),this},invalidateSize:function(t){if(!this._loaded)return this;t=u({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize(),i=(this._sizeChanged=!0,this._lastCenter=null,this.getSize()),n=e.divideBy(2).round(),o=i.divideBy(2).round(),n=n.subtract(o);return n.x||n.y?(t.animate&&t.pan?this.panBy(n):(t.pan&&this._rawPanBy(n),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(a(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){var e,i;return t=this._locateOptions=u({timeout:1e4,watch:!1},t),"geolocation"in navigator?(e=a(this._handleGeolocationResponse,this),i=a(this._handleGeolocationError,this),t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,i,t):navigator.geolocation.getCurrentPosition(e,i,t)):this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e;this._container._leaflet_id&&(e=t.code,t=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout"),this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+t+"."}))},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e,i,n=new y(t.coords.latitude,t.coords.longitude),o=n.toBounds(2*t.coords.accuracy),r=this._locateOptions,s=(r.setView&&(e=this.getBoundsZoom(o),this.setView(n,r.maxZoom?Math.min(e,r.maxZoom):e)),{latlng:n,bounds:o,timestamp:t.timestamp});for(i in t.coords)"number"==typeof t.coords[i]&&(s[i]=t.coords[i]);this.fire("locationfound",s)}},addHandler:function(t,e){return e&&(e=this[t]=new e(this),this._handlers.push(e),this.options[t])&&e.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}for(var t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),A(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(s(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)A(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){e=T("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=e),e},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new r(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=v(t),i=p(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),r=this.getMaxZoom(),s=t.getNorthWest(),t=t.getSouthEast(),i=this.getSize().subtract(i),t=g(this.project(t,n),this.project(s,n)).getSize(),s=x.any3d?this.options.zoomSnap:1,a=i.x/t.x,i=i.y/t.y,t=e?Math.max(a,i):Math.min(a,i),n=this.getScaleZoom(t,n);return s&&(n=Math.round(n/(s/100))*(s/100),n=e?Math.ceil(n/s)*s:Math.floor(n/s)*s),Math.max(o,Math.min(r,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new f(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){t=this._getTopLeftPoint(t,e);return new m(t,t.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var i=this.options.crs;return e=void 0===e?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs,t=(e=void 0===e?this._zoom:e,i.zoom(t*i.scale(e)));return isNaN(t)?1/0:t},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(b(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(p(t),e)},layerPointToLatLng:function(t){t=p(t).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(t){return this.project(b(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(b(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(v(t))},distance:function(t,e){return this.options.crs.distance(b(t),b(e))},containerPointToLayerPoint:function(t){return p(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return p(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){t=this.containerPointToLayerPoint(p(t));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(b(t)))},mouseEventToContainerPoint:function(t){return Fe(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){t=this._container=pe(t);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");P(t,"scroll",this._onScroll,this),this._containerId=l(t)},_initLayout:function(){var t=this._container,e=(this._fadeAnimated=this.options.fadeAnimation&&x.any3d,S(t,"leaflet-container"+(x.touch?" leaflet-touch":"")+(x.retina?" leaflet-retina":"")+(x.ielt9?" leaflet-oldie":"")+(x.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":"")),fe(t,"position"));"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),C(this._mapPane,new f(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(S(t.markerPane,"leaflet-zoom-hide"),S(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){C(this._mapPane,new f(0,0));var i=!this._loaded,n=(this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset"),this._zoom!==e);this._moveStart(n,!1)._move(t,e)._moveEnd(n),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,i,n){void 0===e&&(e=this._zoom);var o=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),n?i&&i.pinch&&this.fire("zoom",i):((o||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return s(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){C(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={};var e=t?k:P;e((this._targets[l(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),x.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){s(this._resizeRequest),this._resizeRequest=w(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i,n=[],o="mouseout"===e||"mouseover"===e,r=t.target||t.srcElement,s=!1;r;){if((i=this._targets[l(r)])&&("click"===e||"preclick"===e)&&this._draggableMoved(i)){s=!0;break}if(i&&i.listens(e,!0)){if(o&&!He(r,t))break;if(n.push(i),o)break}if(r===this._container)break;r=r.parentNode}return n=n.length||s||o||!this.listens(e,!0)?n:[this]},_isClickDisabled:function(t){for(;t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e,i=t.target||t.srcElement;!this._loaded||i._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(i)||("mousedown"===(e=t.type)&&Ee(i),this._fireDOMEvent(t,e))},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,i){"click"===t.type&&((a=u({},t)).type="preclick",this._fireDOMEvent(a,a.type,i));var n=this._findEventTargets(t,e);if(i){for(var o=[],r=0;r<i.length;r++)i[r].listens(e,!0)&&o.push(i[r]);n=o.concat(n)}if(n.length){"contextmenu"===e&&I(t);var s,a=n[0],l={originalEvent:t};for("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type&&(s=a.getLatLng&&(!a._radius||a._radius<=10),l.containerPoint=s?this.latLngToContainerPoint(a.getLatLng()):this.mouseEventToContainerPoint(t),l.layerPoint=this.containerPointToLayerPoint(l.containerPoint),l.latlng=s?a.getLatLng():this.layerPointToLatLng(l.layerPoint)),r=0;r<n.length;r++)if(n[r].fire(e,l,!0),l.originalEvent._stopped||!1===n[r].options.bubblingMouseEvents&&-1!==$(this._mouseEvents,e))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return Te(this._mapPane)||new f(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var i=this.getSize()._divideBy(2);return this.project(t,e)._subtract(i)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,i){i=this._getNewPixelOrigin(i,e);return this.project(t,e)._subtract(i)},_latLngBoundsToNewLayerBounds:function(t,e,i){i=this._getNewPixelOrigin(i,e);return g([this.project(t.getSouthWest(),e)._subtract(i),this.project(t.getNorthWest(),e)._subtract(i),this.project(t.getSouthEast(),e)._subtract(i),this.project(t.getNorthEast(),e)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,i){var n,o;return!i||(n=this.project(t,e),o=this.getSize().divideBy(2),o=new m(n.subtract(o),n.add(o)),(o=this._getBoundsOffset(o,i,e)).round().equals([0,0]))?t:this.unproject(n.add(o),e)},_limitOffset:function(t,e){var i;return e?(i=new m((i=this.getPixelBounds()).min.add(t),i.max.add(t)),t.add(this._getBoundsOffset(i,e))):t},_getBoundsOffset:function(t,e,i){e=g(this.project(e.getNorthEast(),i),this.project(e.getSouthWest(),i)),i=e.min.subtract(t.min),e=e.max.subtract(t.max);return new f(this._rebound(i.x,-e.x),this._rebound(i.y,-e.y))},_rebound:function(t,e){return 0<t+e?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=x.any3d?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){E(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){t=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(t)||(this.panBy(t,e),0))},_createAnimProxy:function(){var t=this._proxy=T("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=ce,i=this._proxy.style[e];xe(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),i===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){A(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();xe(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&0<=t.propertyName.indexOf("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(!this._animatingZoom){if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),n=this._getCenterOffset(t)._divideBy(1-1/n);if(!0!==i.animate&&!this.getSize().contains(n))return!1;w(function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)},this)}return!0},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,S(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(a(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&E(this._mapPane,"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))}});function Ze(t){return new D(t)}var qe,D=et.extend({options:{position:"topright"},initialize:function(t){h(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),t=t._controlCorners[i];return S(e,"leaflet-control"),-1!==i.indexOf("bottom")?t.insertBefore(e,t.firstChild):t.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(A(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&0<t.screenX&&0<t.screenY&&this._map.getContainer().focus()}}),Ge=(O.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var i=this._controlCorners={},n="leaflet-",o=this._controlContainer=T("div",n+"control-container",this._container);function t(t,e){i[t+e]=T("div",n+t+" "+n+e,o)}t("top","left"),t("top","right"),t("bottom","left"),t("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)A(this._controlCorners[t]);A(this._controlContainer),delete this._controlCorners,delete this._controlContainer}}),D.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i<n?-1:n<i?1:0}},initialize:function(t,e,i){for(var n in h(this,i),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,t)this._addLayer(t[n],n);for(n in e)this._addLayer(e[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),(this._map=t).on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return D.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);t=this._getLayer(l(t));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){S(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(S(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):E(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return E(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=T("div",t),i=this.options.collapsed,n=(e.setAttribute("aria-haspopup",!0),Re(e),De(e),this._section=T("section",t+"-list")),o=(i&&(this._map.on("click",this.collapse,this),P(e,{mouseenter:function(){P(n,"click",I),this.expand(),setTimeout(function(){k(n,"click",I)})},mouseleave:this.collapse},this)),this._layersLink=T("a",t+"-toggle",e));o.href="#",o.title="Layers",o.setAttribute("role","button"),P(o,"click",I),P(o,"focus",this.expand,this),i||this.expand(),this._baseLayersList=T("div",t+"-base",n),this._separator=T("div",t+"-separator",n),this._overlaysList=T("div",t+"-overlays",n),e.appendChild(n)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&l(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,i){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:i}),this.options.sortLayers&&this._layers.sort(a(function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(this._container){me(this._baseLayersList),me(this._overlaysList),this._layerControlInputs=[];for(var t,e,i,n=0,o=0;o<this._layers.length;o++)i=this._layers[o],this._addItem(i),e=e||i.overlay,t=t||!i.overlay,n+=i.overlay?0:1;this.options.hideSingleBase&&(this._baseLayersList.style.display=(t=t&&1<n)?"":"none"),this._separator.style.display=e&&t?"":"none"}return this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(l(t.target)),t=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;t&&this._map.fire(t,e)},_createRadioElement:function(t,e){t='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",e=document.createElement("div");return e.innerHTML=t,e.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer),n=(t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers_"+l(this),n),this._layerControlInputs.push(e),e.layerId=l(t.layer),P(e,"click",this._onInputClick,this),document.createElement("span")),o=(n.innerHTML=" "+t.name,document.createElement("span"));return i.appendChild(o),o.appendChild(e),o.appendChild(n),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){var t,e,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var r=i.length-1;0<=r;r--)t=i[r],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(r=0;r<o.length;r++)this._map.hasLayer(o[r])&&this._map.removeLayer(o[r]);for(r=0;r<n.length;r++)this._map.hasLayer(n[r])||this._map.addLayer(n[r]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,e,i=this._layerControlInputs,n=this._map.getZoom(),o=i.length-1;0<=o;o--)t=i[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&n<e.options.minZoom||void 0!==e.options.maxZoom&&n>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this}})),Ve=D.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">−</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=T("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,i,n,o){i=T("a",i,n);return i.innerHTML=t,i.href="#",i.title=e,i.setAttribute("role","button"),i.setAttribute("aria-label",e),Re(i),P(i,"click",Be),P(i,"click",o,this),P(i,"click",this._refocusOnMap,this),i},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";E(this._zoomInButton,e),E(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),!this._disabled&&t._zoom!==t.getMinZoom()||(S(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),!this._disabled&&t._zoom!==t.getMaxZoom()||(S(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}}),$e=(O.mergeOptions({zoomControl:!0}),O.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Ve,this.addControl(this.zoomControl))}),D.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=T("div",e),n=this.options;return this._addScales(n,e+"-line",i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=T("div",e,i)),t.imperial&&(this._iScale=T("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,t=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(t)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t);this._updateScale(this._mScale,e<1e3?e+" m":e/1e3+" km",e/t)},_updateImperial:function(t){var e,i,t=3.2808399*t;5280<t?(i=this._getRoundNum(e=t/5280),this._updateScale(this._iScale,i+" mi",i/e)):(i=this._getRoundNum(t),this._updateScale(this._iScale,i+" ft",i/t))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),t=t/e;return e*(10<=t?10:5<=t?5:3<=t?3:2<=t?2:1)}})),Ue=D.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(x.inlineSvg?'<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> ':"")+"Leaflet</a>"},initialize:function(t){h(this,t),this._attributions={}},onAdd:function(t){for(var e in(t.attributionControl=this)._container=T("div","leaflet-control-attribution"),Re(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t&&(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update()),this},removeAttribution:function(t){return t&&this._attributions[t]&&(this._attributions[t]--,this._update()),this},_update:function(){if(this._map){var t,e=[];for(t in this._attributions)this._attributions[t]&&e.push(t);var i=[];this.options.prefix&&i.push(this.options.prefix),e.length&&i.push(e.join(", ")),this._container.innerHTML=i.join(' <span aria-hidden="true">|</span> ')}}}),n=(O.mergeOptions({attributionControl:!0}),O.addInitHook(function(){this.options.attributionControl&&(new Ue).addTo(this)}),D.Layers=Ge,D.Zoom=Ve,D.Scale=$e,D.Attribution=Ue,Ze.layers=function(t,e,i){return new Ge(t,e,i)},Ze.zoom=function(t){return new Ve(t)},Ze.scale=function(t){return new $e(t)},Ze.attribution=function(t){return new Ue(t)},et.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}})),gt=(n.addTo=function(t,e){return t.addHandler(e,this),this},{Events:e}),Ye=x.touch?"touchstart mousedown":"mousedown",Xe=it.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){h(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(P(this._dragStartTarget,Ye,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Xe._dragging===this&&this.finishDrag(!0),k(this._dragStartTarget,Ye,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){var e,i;this._enabled&&(this._moved=!1,ye(this._element,"leaflet-zoom-anim")||(t.touches&&1!==t.touches.length?Xe._dragging===this&&this.finishDrag():Xe._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||((Xe._dragging=this)._preventOutline&&Ee(this._element),Ae(),se(),this._moving)||(this.fire("down"),i=t.touches?t.touches[0]:t,e=Ce(this._element),this._startPoint=new f(i.clientX,i.clientY),this._startPos=Te(this._element),this._parentScale=Pe(e),i="mousedown"===t.type,P(document,i?"mousemove":"touchmove",this._onMove,this),P(document,i?"mouseup":"touchend touchcancel",this._onUp,this))))},_onMove:function(t){var e;this._enabled&&(t.touches&&1<t.touches.length?this._moved=!0:!(e=new f((e=t.touches&&1===t.touches.length?t.touches[0]:t).clientX,e.clientY)._subtract(this._startPoint)).x&&!e.y||Math.abs(e.x)+Math.abs(e.y)<this.options.clickTolerance||(e.x/=this._parentScale.x,e.y/=this._parentScale.y,I(t),this._moved||(this.fire("dragstart"),this._moved=!0,S(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),S(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(e),this._moving=!0,this._lastEvent=t,this._updatePosition()))},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),C(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){E(document.body,"leaflet-dragging"),this._lastTarget&&(E(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),k(document,"mousemove touchmove",this._onMove,this),k(document,"mouseup touchend touchcancel",this._onUp,this),Se(),ae(),this._moved&&this._moving&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)}),this._moving=!1,Xe._dragging=!1}});function Ke(t,e){if(e&&t.length){var i=t=function(t,e){for(var i=[t[0]],n=1,o=0,r=t.length;n<r;n++)(function(t,e){var i=e.x-t.x,e=e.y-t.y;return i*i+e*e})(t[n],t[o])>e&&(i.push(t[n]),o=n);o<r-1&&i.push(t[r-1]);return i}(t,e=e*e),n=i.length,o=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(n);o[0]=o[n-1]=1,function t(e,i,n,o,r){var s,a,l,u=0;for(a=o+1;a<=r-1;a++)l=ii(e[a],e[o],e[r],!0),u<l&&(s=a,u=l);n<u&&(i[s]=1,t(e,i,n,o,s),t(e,i,n,s,r))}(i,o,e,0,n-1);var r,s=[];for(r=0;r<n;r++)o[r]&&s.push(i[r]);return s}return t.slice()}function Qe(t,e,i){return Math.sqrt(ii(t,e,i,!0))}function Je(t,e,i,n,o){var r,s,a,l=n?qe:ei(t,i),u=ei(e,i);for(qe=u;;){if(!(l|u))return[t,e];if(l&u)return!1;a=ei(s=ti(t,e,r=l||u,i,o),i),r===l?(t=s,l=a):(e=s,u=a)}}function ti(t,e,i,n,o){var r,s,a=e.x-t.x,e=e.y-t.y,l=n.min,n=n.max;return 8&i?(r=t.x+a*(n.y-t.y)/e,s=n.y):4&i?(r=t.x+a*(l.y-t.y)/e,s=l.y):2&i?(r=n.x,s=t.y+e*(n.x-t.x)/a):1&i&&(r=l.x,s=t.y+e*(l.x-t.x)/a),new f(r,s,o)}function ei(t,e){var i=0;return t.x<e.min.x?i|=1:t.x>e.max.x&&(i|=2),t.y<e.min.y?i|=4:t.y>e.max.y&&(i|=8),i}function ii(t,e,i,n){var o=e.x,e=e.y,r=i.x-o,s=i.y-e,a=r*r+s*s;return 0<a&&(1<(a=((t.x-o)*r+(t.y-e)*s)/a)?(o=i.x,e=i.y):0<a&&(o+=r*a,e+=s*a)),r=t.x-o,s=t.y-e,n?r*r+s*s:new f(o,e)}function ni(t){return!d(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function oi(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),ni(t)}vt={__proto__:null,simplify:Ke,pointToSegmentDistance:Qe,closestPointOnSegment:function(t,e,i){return ii(t,e,i)},clipSegment:Je,_getEdgeIntersection:ti,_getBitCode:ei,_sqClosestPointOnSegment:ii,isFlat:ni,_flat:oi};function ri(t,e,i){for(var n,o,r,s,a,l,u,c=[1,4,2,8],h=0,d=t.length;h<d;h++)t[h]._code=ei(t[h],e);for(r=0;r<4;r++){for(l=c[r],n=[],h=0,o=(d=t.length)-1;h<d;o=h++)s=t[h],a=t[o],s._code&l?a._code&l||((u=ti(a,s,l,e,i))._code=ei(u,e),n.push(u)):(a._code&l&&((u=ti(a,s,l,e,i))._code=ei(u,e),n.push(u)),n.push(s));t=n}return t}var yt={__proto__:null,clipPolygon:ri},_t={project:function(t){return new f(t.lng,t.lat)},unproject:function(t){return new y(t.y,t.x)},bounds:new m([-180,-90],[180,90])},wt={R:6378137,R_MINOR:6356752.314245179,bounds:new m([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,o=this.R_MINOR/i,o=Math.sqrt(1-o*o),r=o*Math.sin(n),r=Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),o/2),n=-i*Math.log(Math.max(r,1e-10));return new f(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,r=Math.sqrt(1-o*o),s=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(s),l=0,u=.1;l<15&&1e-7<Math.abs(u);l++)e=r*Math.sin(a),e=Math.pow((1-e)/(1+e),r/2),a+=u=Math.PI/2-2*Math.atan(s*e)-a;return new y(a*i,t.x*i/n)}},bt={__proto__:null,LonLat:_t,Mercator:wt,SphericalMercator:st},Tt=u({},rt,{code:"EPSG:3395",projection:wt,transformation:lt(xt=.5/(Math.PI*wt.R),.5,-xt,.5)}),si=u({},rt,{code:"EPSG:4326",projection:_t,transformation:lt(1/180,1,-1/180,.5)}),At=u({},ot,{projection:_t,transformation:lt(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,e=e.lat-t.lat;return Math.sqrt(i*i+e*e)},infinite:!0}),o=(ot.Earth=rt,ot.EPSG3395=Tt,ot.EPSG3857=ut,ot.EPSG900913=ct,ot.EPSG4326=si,ot.Simple=At,it.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[l(t)]=this},removeInteractiveTarget:function(t){return delete this._map._targets[l(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e,i=t.target;i.hasLayer(this)&&(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents&&(e=this.getEvents(),i.on(e,this),this.once("remove",function(){i.off(e,this)},this)),this.onAdd(i),this.fire("add"),i.fire("layeradd",{layer:this}))}})),ai=(O.include({addLayer:function(t){var e;if(t._layerAdd)return e=l(t),this._layers[e]||((this._layers[e]=t)._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this;throw new Error("The provided object is not a Layer.")},removeLayer:function(t){var e=l(t);return this._layers[e]&&(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return l(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){for(var e=0,i=(t=t?d(t)?t:[t]:[]).length;e<i;e++)this.addLayer(t[e])},_addZoomLimit:function(t){isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[l(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){t=l(t);this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var t,e=1/0,i=-1/0,n=this._getZoomSpan();for(t in this._zoomBoundLayers)var o=this._zoomBoundLayers[t].options,e=void 0===o.minZoom?e:Math.min(e,o.minZoom),i=void 0===o.maxZoom?i:Math.max(i,o.maxZoom);this._layersMaxZoom=i===-1/0?void 0:i,this._layersMinZoom=e===1/0?void 0:e,n!==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)}}),o.extend({initialize:function(t,e){var i,n;if(h(this,e),this._layers={},t)for(i=0,n=t.length;i<n;i++)this.addLayer(t[i])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){t=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(t){return("number"==typeof t?t:this.getLayerId(t))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,i,n=Array.prototype.slice.call(arguments,1);for(e in this._layers)(i=this._layers[e])[t]&&i[t].apply(i,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:l})),li=ai.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),ai.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?((t=t in this._layers?this._layers[t]:t).removeEventParent(this),ai.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t,e=new r;for(t in this._layers){var i=this._layers[t];e.extend(i.getBounds?i.getBounds():i.getLatLng())}return e}}),ui=et.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){h(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var i=this._getIconUrl(t);if(i)return i=this._createImg(i,e&&"IMG"===e.tagName?e:null),this._setIconStyles(i,t),!this.options.crossOrigin&&""!==this.options.crossOrigin||(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i;if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null},_setIconStyles:function(t,e){var i=this.options,n=i[e+"Size"],n=p(n="number"==typeof n?[n,n]:n),o=p("shadow"===e&&i.shadowAnchor||i.iconAnchor||n&&n.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(i.className||""),o&&(t.style.marginLeft=-o.x+"px",t.style.marginTop=-o.y+"px"),n&&(t.style.width=n.x+"px",t.style.height=n.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return x.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}});var ci=ui.extend({options:{iconUrl:"marker-icon.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return"string"!=typeof ci.imagePath&&(ci.imagePath=this._detectIconPath()),(this.options.imagePath||ci.imagePath)+ui.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){function e(t,e,i){return(e=e.exec(t))&&e[i]}return(t=e(t,/^url\((['"])?(.+)\1\)$/,2))&&e(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=T("div","leaflet-default-icon-path",document.body),e=fe(t,"background-image")||fe(t,"backgroundImage");return document.body.removeChild(t),(e=this._stripUrl(e))||((t=document.querySelector('link[href$="leaflet.css"]'))?t.href.substring(0,t.href.length-"leaflet.css".length-1):"")}}),hi=n.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new Xe(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),S(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&E(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,i=e._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,r=Te(e._icon),s=i.getPixelBounds(),a=i.getPixelOrigin(),a=g(s.min._subtract(a).add(o),s.max._subtract(a).subtract(o));a.contains(r)||(o=p((Math.max(a.max.x,r.x)-a.max.x)/(s.max.x-a.max.x)-(Math.min(a.min.x,r.x)-a.min.x)/(s.min.x-a.min.x),(Math.max(a.max.y,r.y)-a.max.y)/(s.max.y-a.max.y)-(Math.min(a.min.y,r.y)-a.min.y)/(s.min.y-a.min.y)).multiplyBy(n),i.panBy(o,{animate:!1}),this._draggable._newPos._add(o),this._draggable._startPos._add(o),C(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=w(this._adjustPan.bind(this,t)))},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(s(this._panRequest),this._panRequest=w(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,i=e._shadow,n=Te(e._icon),o=e._map.layerPointToLatLng(n);i&&C(i,n),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){s(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),di=o.extend({options:{icon:new ci,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){h(this,e),this._latlng=b(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=b(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){var t;return this._icon&&this._map&&(t=this._map.latLngToLayerPoint(this._latlng).round(),this._setPos(t)),this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=t.icon.createIcon(this._icon),n=!1,i=(i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(i.title=t.title),"IMG"===i.tagName)&&(i.alt=t.alt||""),S(i,e),t.keyboard&&(i.tabIndex="0",i.setAttribute("role","button")),this._icon=i,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&P(i,"focus",this._panOnFocus,this),t.icon.createShadow(this._shadow)),o=!1;i!==this._shadow&&(this._removeShadow(),o=!0),i&&(S(i,e),i.alt=""),this._shadow=i,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),i&&o&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&k(this._icon,"focus",this._panOnFocus,this),A(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&A(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&C(this._icon,t),this._shadow&&C(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(t)},_initInteraction:function(){var t;this.options.interactive&&(S(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),hi)&&(t=this.options.draggable,this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new hi(this),t)&&this.dragging.enable()},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&M(this._icon,t),this._shadow&&M(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t,e,i=this._map;i&&(t=(e=this.options.icon.options).iconSize?p(e.iconSize):p(0,0),e=e.iconAnchor?p(e.iconAnchor):p(0,0),i.panInside(this._latlng,{paddingTopLeft:e,paddingBottomRight:t.subtract(e)}))},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});var pi=o.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return h(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke)&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds(),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),fi=pi.extend({options:{fill:!0,radius:10},initialize:function(t,e){h(this,e),this._latlng=b(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=b(t),this.redraw(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return pi.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,i=this._clickTolerance(),t=[t+i,e+i];this._pxBounds=new m(this._point.subtract(t),this._point.add(t))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}});var mi=fi.extend({initialize:function(t,e,i){if(h(this,e="number"==typeof e?u({},i,{radius:e}):e),this._latlng=b(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new r(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:pi.prototype.setStyle,_project:function(){var t,e,i,n,o,r=this._latlng.lng,s=this._latlng.lat,a=this._map,l=a.options.crs;l.distance===rt.distance?(n=Math.PI/180,o=this._mRadius/rt.R/n,t=a.project([s+o,r]),e=a.project([s-o,r]),e=t.add(e).divideBy(2),i=a.unproject(e).lat,n=Math.acos((Math.cos(o*n)-Math.sin(s*n)*Math.sin(i*n))/(Math.cos(s*n)*Math.cos(i*n)))/n,!isNaN(n)&&0!==n||(n=o/Math.cos(Math.PI/180*s)),this._point=e.subtract(a.getPixelOrigin()),this._radius=isNaN(n)?0:e.x-a.project([i,r-n]).x,this._radiusY=e.y-t.y):(o=l.unproject(l.project(this._latlng).subtract([this._mRadius,0])),this._point=a.latLngToLayerPoint(this._latlng),this._radius=this._point.x-a.latLngToLayerPoint(o).x),this._updateBounds()}});var gi=pi.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){h(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e=1/0,i=null,n=ii,o=0,r=this._parts.length;o<r;o++)for(var s=this._parts[o],a=1,l=s.length;a<l;a++){var u,c,h=n(t,u=s[a-1],c=s[a],!0);h<e&&(e=h,i=n(t,u,c))}return i&&(i.distance=Math.sqrt(e)),i},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,r,s=this._rings[0],a=s.length;if(!a)return null;for(e=t=0;t<a-1;t++)e+=s[t].distanceTo(s[t+1])/2;if(0===e)return this._map.layerPointToLatLng(s[0]);for(i=t=0;t<a-1;t++)if(n=s[t],o=s[t+1],e<(i+=r=n.distanceTo(o)))return this._map.layerPointToLatLng([o.x-(r=(i-e)/r)*(o.x-n.x),o.y-r*(o.y-n.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=b(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new r,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return ni(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],i=ni(t),n=0,o=t.length;n<o;n++)i?(e[n]=b(t[n]),this._bounds.extend(e[n])):e[n]=this._convertLatLngs(t[n]);return e},_project:function(){var t=new m;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),t=new f(t,t);this._rawPxBounds&&(this._pxBounds=new m([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)]))},_projectLatlngs:function(t,e,i){var n,o,r=t[0]instanceof y,s=t.length;if(r){for(o=[],n=0;n<s;n++)o[n]=this._map.latLngToLayerPoint(t[n]),i.extend(o[n]);e.push(o)}else for(n=0;n<s;n++)this._projectLatlngs(t[n],e,i)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var e,i,n,o,r=this._parts,s=0,a=0,l=this._rings.length;s<l;s++)for(e=0,i=(o=this._rings[s]).length;e<i-1;e++)(n=Je(o[e],o[e+1],t,e,!0))&&(r[a]=r[a]||[],r[a].push(n[0]),n[1]===o[e+1]&&e!==i-2||(r[a].push(n[1]),a++))},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,i=0,n=t.length;i<n;i++)t[i]=Ke(t[i],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var i,n,o,r,s,a,l=this._clickTolerance();if(this._pxBounds&&this._pxBounds.contains(t))for(i=0,r=this._parts.length;i<r;i++)for(n=0,o=(s=(a=this._parts[i]).length)-1;n<s;o=n++)if((e||0!==n)&&Qe(t,a[o],a[n])<=l)return!0;return!1}});gi._flat=oi;var vi=gi.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,r,s,a,l,u=this._rings[0],c=u.length;if(!c)return null;for(t=r=s=a=0,e=c-1;t<c;e=t++)i=u[t],n=u[e],o=i.y*n.x-n.y*i.x,s+=(i.x+n.x)*o,a+=(i.y+n.y)*o,r+=3*o;return l=0===r?u[0]:[s/r,a/r],this._map.layerPointToLatLng(l)},_convertLatLngs:function(t){var t=gi.prototype._convertLatLngs.call(this,t),e=t.length;return 2<=e&&t[0]instanceof y&&t[0].equals(t[e-1])&&t.pop(),t},_setLatLngs:function(t){gi.prototype._setLatLngs.call(this,t),ni(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return(ni(this._latlngs[0])?this._latlngs:this._latlngs[0])[0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,e=new f(e,e),t=new m(t.min.subtract(e),t.max.add(e));if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,n=0,o=this._rings.length;n<o;n++)(i=ri(this._rings[n],t,!0)).length&&this._parts.push(i)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,i,n,o,r,s,a,l,u=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,a=this._parts.length;o<a;o++)for(r=0,s=(l=(e=this._parts[o]).length)-1;r<l;s=r++)i=e[r],n=e[s],i.y>t.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(u=!u);return u||gi.prototype._containsPoint.call(this,t,!0)}});var yi=li.extend({initialize:function(t,e){h(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=d(t)?t:t.features;if(o){for(e=0,i=o.length;e<i;e++)((n=o[e]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var r,s=this.options;return(!s.filter||s.filter(t))&&(r=_i(t,s))?(r.feature=Ei(t),r.defaultOptions=r.options,this.resetStyle(r),s.onEachFeature&&s.onEachFeature(t,r),this.addLayer(r)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=u({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(e){return this.eachLayer(function(t){this._setLayerStyle(t,e)},this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});function _i(t,e){var i,n,o,r,s="Feature"===t.type?t.geometry:t,a=s?s.coordinates:null,l=[],u=e&&e.pointToLayer,c=e&&e.coordsToLatLng||bi;if(!a&&!s)return null;switch(s.type){case"Point":return wi(u,t,i=c(a),e);case"MultiPoint":for(o=0,r=a.length;o<r;o++)i=c(a[o]),l.push(wi(u,t,i,e));return new li(l);case"LineString":case"MultiLineString":return n=xi(a,"LineString"===s.type?0:1,c),new gi(n,e);case"Polygon":case"MultiPolygon":return n=xi(a,"Polygon"===s.type?1:2,c),new vi(n,e);case"GeometryCollection":for(o=0,r=s.geometries.length;o<r;o++){var h=_i({geometry:s.geometries[o],type:"Feature",properties:t.properties},e);h&&l.push(h)}return new li(l);default:throw new Error("Invalid GeoJSON object.")}}function wi(t,e,i,n){return t?t(e,i):new di(i,n&&n.markersInheritOptions&&n)}function bi(t){return new y(t[1],t[0],t[2])}function xi(t,e,i){for(var n,o=[],r=0,s=t.length;r<s;r++)n=e?xi(t[r],e-1,i):(i||bi)(t[r]),o.push(n);return o}function Ti(t,e){return void 0!==(t=b(t)).alt?[i(t.lng,e),i(t.lat,e),i(t.alt,e)]:[i(t.lng,e),i(t.lat,e)]}function Ai(t,e,i,n){for(var o=[],r=0,s=t.length;r<s;r++)o.push(e?Ai(t[r],e-1,i,n):Ti(t[r],n));return!e&&i&&o.push(o[0]),o}function Si(t,e){return t.feature?u({},t.feature,{geometry:e}):Ei(e)}function Ei(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}St={toGeoJSON:function(t){return Si(this,{type:"Point",coordinates:Ti(this.getLatLng(),t)})}};function Mi(t,e){return new yi(t,e)}di.include(St),mi.include(St),fi.include(St),gi.include({toGeoJSON:function(t){var e=!ni(this._latlngs);return Si(this,{type:(e?"Multi":"")+"LineString",coordinates:Ai(this._latlngs,e?1:0,!1,t)})}}),vi.include({toGeoJSON:function(t){var e=!ni(this._latlngs),i=e&&!ni(this._latlngs[0]),t=Ai(this._latlngs,i?2:e?1:0,!0,t);return Si(this,{type:(i?"Multi":"")+"Polygon",coordinates:t=e?t:[t]})}}),ai.include({toMultiPoint:function(e){var i=[];return this.eachLayer(function(t){i.push(t.toGeoJSON(e).geometry.coordinates)}),Si(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(e){var i,n,t=this.feature&&this.feature.geometry&&this.feature.geometry.type;return"MultiPoint"===t?this.toMultiPoint(e):(i="GeometryCollection"===t,n=[],this.eachLayer(function(t){t.toGeoJSON&&(t=t.toGeoJSON(e),i?n.push(t.geometry):"FeatureCollection"===(t=Ei(t)).type?n.push.apply(n,t.features):n.push(t))}),i?Si(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n})}});var Et=Mi,Ci=o.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=v(e),h(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(S(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){A(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&ge(this._image),this},bringToBack:function(){return this._map&&ve(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=v(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:T("img");S(e,"leaflet-image-layer"),this._zoomAnimated&&S(e,"leaflet-zoom-animated"),this.options.className&&S(e,this.options.className),e.onselectstart=c,e.onmousemove=c,e.onload=a(this.fire,this,"load"),e.onerror=a(this._overlayOnError,this,"error"),!this.options.crossOrigin&&""!==this.options.crossOrigin||(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),t=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;xe(this._image,t,e)},_reset:function(){var t=this._image,e=new m(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();C(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){M(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),Pi=Ci.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:T("video");if(S(e,"leaflet-image-layer"),this._zoomAnimated&&S(e,"leaflet-zoom-animated"),this.options.className&&S(e,this.options.className),e.onselectstart=c,e.onmousemove=c,e.onloadeddata=a(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),n=[],o=0;o<i.length;o++)n.push(i[o].src);this._url=0<i.length?n:[e.src]}else{d(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var r=0;r<this._url.length;r++){var s=T("source");s.src=this._url[r],e.appendChild(s)}}}});var Li=Ci.extend({_initImage:function(){var t=this._image=this._url;S(t,"leaflet-image-layer"),this._zoomAnimated&&S(t,"leaflet-zoom-animated"),this.options.className&&S(t,this.options.className),t.onselectstart=c,t.onmousemove=c}});var R=o.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0},initialize:function(t,e){h(this,t),this._source=e},openOn:function(t){return(t=arguments.length?t:this._source._map).hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&M(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&M(this._container,1),this.bringToFront(),this.options.interactive&&(S(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(M(this._container,0),this._removeTimeout=setTimeout(a(A,void 0,this._container),200)):A(this._container),this.options.interactive&&(E(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=b(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ge(this._container),this},bringToBack:function(){return this._map&&ve(this._container),this},_prepareOpen:function(t){if(!(i=this._source)._map)return!1;if(i instanceof li){var e,i=null,n=this._source._layers;for(e in n)if(n[e]._map){i=n[e];break}if(!i)return!1;this._source=i}if(!t)if(i.getCenter)t=i.getCenter();else if(i.getLatLng)t=i.getLatLng();else{if(!i.getBounds)throw new Error("Unable to get source layer LatLng.");t=i.getBounds().getCenter()}return this.setLatLng(t),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){var t,e,i;this._map&&(e=this._map.latLngToLayerPoint(this._latlng),t=p(this.options.offset),i=this._getAnchor(),this._zoomAnimated?C(this._container,e.add(i)):t=t.add(e).add(i),e=this._containerBottom=-t.y,i=this._containerLeft=-Math.round(this._containerWidth/2)+t.x,this._container.style.bottom=e+"px",this._container.style.left=i+"px")},_getAnchor:function(){return[0,0]}}),zi=(O.include({_initOverlay:function(t,e,i,n){var o=e;return o instanceof t||(o=new t(n).setContent(e)),i&&o.setLatLng(i),o}}),o.include({_initOverlay:function(t,e,i,n){var o=i;return o instanceof t?(h(o,n),o._source=this):(o=e&&!n?e:new t(n,this)).setContent(i),o}}),R.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,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return!(t=arguments.length?t:this._source._map).hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,R.prototype.openOn.call(this,t)},onAdd:function(t){R.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof pi||this._source.on("preclick",Oe))},onRemove:function(t){R.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof pi||this._source.off("preclick",Oe))},getEvents:function(){var t=R.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this.close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_initLayout:function(){var t="leaflet-popup",e=this._container=T("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=T("div",t+"-content-wrapper",e);this._contentNode=T("div",t+"-content",i),Re(e),De(this._contentNode),P(e,"contextmenu",Oe),this._tipContainer=T("div",t+"-tip-container",e),this._tip=T("div",t+"-tip",this._tipContainer),this.options.closeButton&&((i=this._closeButton=T("a",t+"-close-button",e)).setAttribute("role","button"),i.setAttribute("aria-label","Close popup"),i.href="#close",i.innerHTML='<span aria-hidden="true">×</span>',P(i,"click",this.close,this))},_updateLayout:function(){var t=this._contentNode,e=t.style,i=(e.width="",e.whiteSpace="nowrap",t.offsetWidth),i=Math.min(i,this.options.maxWidth),i=(i=Math.max(i,this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="",t.offsetHeight),n=this.options.maxHeight,o="leaflet-popup-scrolled";(n&&n<i?(e.height=n+"px",S):E)(t,o),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),e=this._getAnchor();C(this._container,t.add(e))},_adjustPan:function(t){var e,i,n,o,r,s,a,l;this.options.autoPan&&(this._map._panAnim&&this._map._panAnim.stop(),e=this._map,i=parseInt(fe(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+i,l=this._containerWidth,(n=new f(this._containerLeft,-i-this._containerBottom))._add(Te(this._container)),n=e.layerPointToContainerPoint(n),r=p(this.options.autoPanPadding),o=p(this.options.autoPanPaddingTopLeft||r),r=p(this.options.autoPanPaddingBottomRight||r),s=e.getSize(),a=0,n.x+l+r.x>s.x&&(a=n.x+l-s.x+r.x),n.x-a-o.x<(l=0)&&(a=n.x-o.x),n.y+i+r.y>s.y&&(l=n.y+i-s.y+r.y),n.y-l-o.y<0&&(l=n.y-o.y),a||l)&&e.fire("autopanstart").panBy([a,l],{animate:t&&"moveend"===t.type})},_getAnchor:function(){return p(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}})),ki=(O.mergeOptions({closePopupOnClick:!0}),O.include({openPopup:function(t,e,i){return this._initOverlay(zi,t,e,i).openOn(this),this},closePopup:function(t){return(t=arguments.length?t:this._popup)&&t.close(),this}}),o.include({bindPopup:function(t,e){return this._popup=this._initOverlay(zi,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){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:function(t){return this._popup&&this._popup._prepareOpen(t)&&this._popup.openOn(this._map),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e;this._popup&&this._map&&(Be(t),e=t.layer||t.target,this._popup._source!==e||e instanceof pi?(this._popup._source=e,this.openPopup(t.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}}),R.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){R.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){R.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=R.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=T("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,i=this._map,n=this._container,o=i.latLngToContainerPoint(i.getCenter()),i=i.layerPointToContainerPoint(t),r=this.options.direction,s=n.offsetWidth,a=n.offsetHeight,l=p(this.options.offset),u=this._getAnchor(),i="top"===r?(e=s/2,a):"bottom"===r?(e=s/2,0):(e="center"===r?s/2:"right"===r?0:"left"===r?s:i.x<o.x?(r="right",0):(r="left",s+2*(l.x+u.x)),a/2);t=t.subtract(p(e,i,!0)).add(l).add(u),E(n,"leaflet-tooltip-right"),E(n,"leaflet-tooltip-left"),E(n,"leaflet-tooltip-top"),E(n,"leaflet-tooltip-bottom"),S(n,"leaflet-tooltip-"+r),C(n,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&M(this._container,t)},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(t)},_getAnchor:function(){return p(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}})),Ii=(O.include({openTooltip:function(t,e,i){return this._initOverlay(ki,t,e,i).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),o.include({bindTooltip:function(t,e){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(ki,this._tooltip,t,e),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){var e,i;!t&&this._tooltipHandlersAdded||(e=t?"off":"on",i={remove:this.closeTooltip,move:this._moveTooltip},this._tooltip.options.permanent?i.add=this._openTooltip:(i.mouseover=this._openTooltip,i.mouseout=this.closeTooltip,i.click=this._openTooltip),this._tooltip.options.sticky&&(i.mousemove=this._moveTooltip),this[e](i),this._tooltipHandlersAdded=!t)},openTooltip:function(t){return this._tooltip&&this._tooltip._prepareOpen(t)&&this._tooltip.openOn(this._map),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){!this._tooltip||!this._map||this._map.dragging&&this._map.dragging.moving()||(this._tooltip._source=t.layer||t.target,this.openTooltip(this._tooltip.options.sticky?t.latlng:void 0))},_moveTooltip:function(t){var e=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(t=this._map.mouseEventToContainerPoint(t.originalEvent),t=this._map.containerPointToLayerPoint(t),e=this._map.layerPointToLatLng(t)),this._tooltip.setLatLng(e)}}),ui.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var t=t&&"DIV"===t.tagName?t:document.createElement("div"),e=this.options;return e.html instanceof Element?(me(t),t.appendChild(e.html)):t.innerHTML=!1!==e.html?e.html:"",e.bgPos&&(e=p(e.bgPos),t.style.backgroundPosition=-e.x+"px "+-e.y+"px"),this._setIconStyles(t,"icon"),t},createShadow:function(){return null}}));ui.Default=ci;var Oi=o.extend({options:{tileSize:256,opacity:1,updateWhenIdle:x.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:function(t){h(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),A(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ge(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ve(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){var t;return this._map&&(this._removeAllTiles(),(t=this._clampZoom(this._map.getZoom()))!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=j(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof f?t:new f(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,i=this.getPane().children,n=-t(-1/0,1/0),o=0,r=i.length;o<r;o++)e=i[o].style.zIndex,i[o]!==this._container&&e&&(n=t(n,+e));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!x.ielt9){M(this._container,this.options.opacity);var t,e=+new Date,i=!1,n=!1;for(t in this._tiles){var o,r=this._tiles[t];r.current&&r.loaded&&(o=Math.min(1,(e-r.loaded)/200),M(r.el,o),o<1?i=!0:(r.active?n=!0:this._onOpaqueTile(r),r.active=!0))}n&&!this._noPrune&&this._pruneTiles(),i&&(s(this._fadeFrame),this._fadeFrame=w(this._updateOpacity,this))}},_onOpaqueTile:c,_initContainer:function(){this._container||(this._container=T("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var i in this._levels)i=Number(i),this._levels[i].el.children.length||i===t?(this._levels[i].el.style.zIndex=e-Math.abs(t-i),this._onUpdateLevel(i)):(A(this._levels[i].el),this._removeTilesAtZoom(i),this._onRemoveLevel(i),delete this._levels[i]);var n=this._levels[t],o=this._map;return n||((n=this._levels[t]={}).el=T("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=e,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),c(n.el.offsetWidth),this._onCreateLevel(n)),this._level=n}},_onUpdateLevel:c,_onRemoveLevel:c,_onCreateLevel:c,_pruneTiles:function(){if(this._map){var t,e,i,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(i=this._tiles[t]).retain=i.current;for(t in this._tiles)(i=this._tiles[t]).current&&!i.active&&(e=i.coords,this._retainParent(e.x,e.y,e.z,e.z-5)||this._retainChildren(e.x,e.y,e.z,e.z+2));for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)A(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,i,n){var t=Math.floor(t/2),e=Math.floor(e/2),i=i-1,o=new f(+t,+e),o=(o.z=i,this._tileCoordsToKey(o)),o=this._tiles[o];return o&&o.active?o.retain=!0:(o&&o.loaded&&(o.retain=!0),n<i&&this._retainParent(t,e,i,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var r=2*e;r<2*e+2;r++){var s=new f(o,r),s=(s.z=i+1,this._tileCoordsToKey(s)),s=this._tiles[s];s&&s.active?s.retain=!0:(s&&s.loaded&&(s.retain=!0),i+1<n&&this._retainChildren(o,r,i+1,n))}},_resetView:function(t){t=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,i,n){var o=Math.round(e),o=void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom?void 0:this._clampZoom(o),r=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!r||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var i in this._levels)this._setZoomTransform(this._levels[i],t,e)},_setZoomTransform:function(t,e,i){var n=this._map.getZoomScale(i,t.zoom),e=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e,i)).round();x.any3d?xe(t.el,e,n):C(t.el,e)},_resetGrid:function(){var t=this._map,e=t.options.crs,i=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],n).x/i.x),Math.ceil(t.project([0,e.wrapLng[1]],n).x/i.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],n).y/i.x),Math.ceil(t.project([e.wrapLat[1],0],n).y/i.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,i=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),i=e.getZoomScale(i,this._tileZoom),t=e.project(t,this._tileZoom).floor(),e=e.getSize().divideBy(2*i);return new m(t.subtract(e),t.add(e))},_update:function(t){var e=this._map;if(e){var i=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var n,e=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(e),r=o.getCenter(),s=[],e=this.options.keepBuffer,a=new m(o.getBottomLeft().subtract([e,-e]),o.getTopRight().add([e,-e]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(n in this._tiles){var l=this._tiles[n].coords;l.z===this._tileZoom&&a.contains(new f(l.x,l.y))||(this._tiles[n].current=!1)}if(1<Math.abs(i-this._tileZoom))this._setView(t,i);else{for(var u=o.min.y;u<=o.max.y;u++)for(var c=o.min.x;c<=o.max.x;c++){var h,d=new f(c,u);d.z=this._tileZoom,this._isValidTile(d)&&((h=this._tiles[this._tileCoordsToKey(d)])?h.current=!0:s.push(d))}if(s.sort(function(t,e){return t.distanceTo(r)-e.distanceTo(r)}),0!==s.length){this._loading||(this._loading=!0,this.fire("loading"));for(var p=document.createDocumentFragment(),c=0;c<s.length;c++)this._addTile(s[c],p);this._level.el.appendChild(p)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var i=this._globalTileRange;if(!e.wrapLng&&(t.x<i.min.x||t.x>i.max.x)||!e.wrapLat&&(t.y<i.min.y||t.y>i.max.y))return!1}return!this.options.bounds||(e=this._tileCoordsToBounds(t),v(this.options.bounds).overlaps(e))},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),i=n.add(i);return[e.unproject(n,t.z),e.unproject(i,t.z)]},_tileCoordsToBounds:function(t){t=this._tileCoordsToNwSe(t),t=new r(t[0],t[1]);return t=this.options.noWrap?t:this._map.wrapLatLngBounds(t)},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var t=t.split(":"),e=new f(+t[0],+t[1]);return e.z=+t[2],e},_removeTile:function(t){var e=this._tiles[t];e&&(A(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){S(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=c,t.onmousemove=c,x.ielt9&&this.options.opacity<1&&M(t,this.options.opacity)},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),a(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&w(a(this._tileReady,this,t,null,o)),C(o,i),this._tiles[n]={el:o,coords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(M(i.el,0),s(this._fadeFrame),this._fadeFrame=w(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(S(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad())&&(this._loading=!1,this.fire("load"),x.ielt9||!this._map._fadeAnimated?w(this._pruneTiles,this):setTimeout(a(this._pruneTiles,this),250))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new f(this._wrapX?H(t.x,this._wrapX):t.x,this._wrapY?H(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new m(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});var Di=Oi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,(e=h(this,e)).detectRetina&&x.retina&&0<e.maxZoom&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return P(i,"load",a(this._tileOnLoad,this,e,i)),P(i,"error",a(this._tileOnError,this,e,i)),!this.options.crossOrigin&&""!==this.options.crossOrigin||(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(i.referrerPolicy=this.options.referrerPolicy),i.alt="",i.setAttribute("role","presentation"),i.src=this.getTileUrl(t),i},getTileUrl:function(t){var e={r:x.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};return this._map&&!this._map.options.crs.infinite&&(t=this._globalTileRange.max.y-t.y,this.options.tms&&(e.y=t),e["-y"]=t),V(this._url,u(e,this.options))},_tileOnLoad:function(t,e){x.ielt9?setTimeout(a(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return(t=this.options.zoomReverse?e-t:t)+this.options.zoomOffset},_getSubdomain:function(t){t=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var t,e,i;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((i=this._tiles[t].el).onload=c,i.onerror=c,i.complete||(i.src=U,e=this._tiles[t].coords,A(i),delete this._tiles[t],this.fire("tileabort",{tile:i,coords:e})))},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",U),Oi.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==U))return Oi.prototype._tileReady.call(this,t,e,i)}});function Ri(t,e){return new Di(t,e)}var Bi=Di.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var i,n=u({},this.defaultWmsParams);for(i in e)i in this.options||(n[i]=e[i]);var t=(e=h(this,e)).detectRetina&&x.retina?2:1,o=this.getTileSize();n.width=o.x*t,n.height=o.y*t,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=1.3<=this._wmsVersion?"crs":"srs";this.wmsParams[e]=this._crs.code,Di.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,i=g(i.project(e[0]),i.project(e[1])),e=i.min,i=i.max,e=(1.3<=this._wmsVersion&&this._crs===si?[e.y,e.x,i.y,i.x]:[e.x,e.y,i.x,i.y]).join(","),i=Di.prototype.getTileUrl.call(this,t);return i+q(this.wmsParams,i,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+e},setParams:function(t,e){return u(this.wmsParams,t),e||this.redraw(),this}});Di.WMS=Bi,Ri.wms=function(t,e){return new Bi(t,e)};var Fi=o.extend({options:{padding:.1},initialize:function(t){h(this,t),l(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&S(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e),n=n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t,e));x.any3d?xe(this._container,n,i):C(this._container,n)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new m(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Ni=Fi.extend({options:{tolerance:0},getEvents:function(){var t=Fi.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Fi.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");P(t,"mousemove",this._onMouseMove,this),P(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),P(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){s(this._redrawRequest),delete this._ctx,A(this._container),k(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){var t,e,i,n;this._map._animatingZoom&&this._bounds||(Fi.prototype._update.call(this),t=this._bounds,e=this._container,i=t.getSize(),n=x.retina?2:1,C(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",x.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update"))},_reset:function(){Fi.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t);t=(this._layers[l(t)]=t)._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,e=e.prev;i?i.prev=e:this._drawLast=e,e?e.next=i:this._drawFirst=i,delete t._order,delete this._layers[l(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){for(var e,i=t.options.dashArray.split(/[, ]+/),n=[],o=0;o<i.length;o++){if(e=Number(i[o]),isNaN(e))return;n.push(e)}t.options._dashArray=n}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||w(this._redraw,this))},_extendRedrawBounds:function(t){var e;t._pxBounds&&(e=(t.options.weight||0)+1,this._redrawBounds=this._redrawBounds||new m,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e])))},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t,e=this._redrawBounds;e?(t=e.getSize(),this._ctx.clearRect(e.min.x,e.min.y,t.x,t.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:function(){var t,e,i=this._redrawBounds;this._ctx.save(),i&&(e=i.getSize(),this._ctx.beginPath(),this._ctx.rect(i.min.x,i.min.y,e.x,e.y),this._ctx.clip()),this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!i||t._pxBounds&&t._pxBounds.intersects(i))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var i,n,o,r,s=t._parts,a=s.length,l=this._ctx;if(a){for(l.beginPath(),i=0;i<a;i++){for(n=0,o=s[i].length;n<o;n++)r=s[i][n],l[n?"lineTo":"moveTo"](r.x,r.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){var e,i,n,o;this._drawing&&!t._empty()&&(e=t._point,i=this._ctx,n=Math.max(Math.round(t._radius),1),1!=(o=(Math.max(Math.round(t._radiusY),1)||n)/n)&&(i.save(),i.scale(1,o)),i.beginPath(),i.arc(e.x,e.y/o,n,0,2*Math.PI,!1),1!=o&&i.restore(),this._fillStroke(i,t))},_fillStroke:function(t,e){var i=e.options;i.fill&&(t.globalAlpha=i.fillOpacity,t.fillStyle=i.fillColor||i.color,t.fill(i.fillRule||"evenodd")),i.stroke&&0!==i.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=i.opacity,t.lineWidth=i.weight,t.strokeStyle=i.color,t.lineCap=i.lineCap,t.lineJoin=i.lineJoin,t.stroke())},_onClick:function(t){for(var e,i,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(n)&&(("click"===t.type||"preclick"===t.type)&&this._map._draggableMoved(e)||(i=e));this._fireEvent(!!i&&[i],t)},_onMouseMove:function(t){var e;!this._map||this._map.dragging.moving()||this._map._animatingZoom||(e=this._map.mouseEventToLayerPoint(t),this._handleMouseHover(t,e))},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(E(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var i,n,o=this._drawFirst;o;o=o.next)(i=o.layer).options.interactive&&i._containsPoint(e)&&(n=i);n!==this._hoveredLayer&&(this._handleMouseOut(t),n)&&(S(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(a(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(t,e,i){this._map._fireDOMEvent(e,i||e.type,t)},_bringToFront:function(t){var e,i,n=t._order;n&&(e=n.next,i=n.prev,e)&&((e.prev=i)?i.next=e:e&&(this._drawFirst=e),n.prev=this._drawLast,(this._drawLast.next=n).next=null,this._drawLast=n,this._requestRedraw(t))},_bringToBack:function(t){var e,i,n=t._order;n&&(e=n.next,i=n.prev)&&((i.next=e)?e.prev=i:i&&(this._drawLast=i),n.prev=null,n.next=this._drawFirst,this._drawFirst.prev=n,this._drawFirst=n,this._requestRedraw(t))}});function ji(t){return x.canvas?new Ni(t):null}var Hi=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Mt={_initContainer:function(){this._container=T("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Fi.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Hi("shape");S(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Hi("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[l(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;A(e),t.removeInteractiveTarget(e),delete this._layers[l(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e=e||(t._stroke=Hi("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=d(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i=i||(t._fill=Hi("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){ge(t._container)},_bringToBack:function(t){ve(t._container)}},Wi=x.vml?Hi:ht,Zi=Fi.extend({_initContainer:function(){this._container=Wi("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Wi("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){A(this._container),k(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){var t,e,i;this._map._animatingZoom&&this._bounds||(Fi.prototype._update.call(this),e=(t=this._bounds).getSize(),i=this._container,this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),C(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update"))},_initPath:function(t){var e=t._path=Wi("path");t.options.className&&S(e,t.options.className),t.options.interactive&&S(e,"leaflet-interactive"),this._updateStyle(t),this._layers[l(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){A(t._path),t.removeInteractiveTarget(t._path),delete this._layers[l(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,t=t.options;e&&(t.stroke?(e.setAttribute("stroke",t.color),e.setAttribute("stroke-opacity",t.opacity),e.setAttribute("stroke-width",t.weight),e.setAttribute("stroke-linecap",t.lineCap),e.setAttribute("stroke-linejoin",t.lineJoin),t.dashArray?e.setAttribute("stroke-dasharray",t.dashArray):e.removeAttribute("stroke-dasharray"),t.dashOffset?e.setAttribute("stroke-dashoffset",t.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),t.fill?(e.setAttribute("fill",t.fillColor||t.color),e.setAttribute("fill-opacity",t.fillOpacity),e.setAttribute("fill-rule",t.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,dt(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n="a"+i+","+(Math.max(Math.round(t._radiusY),1)||i)+" 0 1,0 ",e=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(t,e)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){ge(t._path)},_bringToBack:function(t){ve(t._path)}});function qi(t){return x.svg||x.vml?new Zi(t):null}x.vml&&Zi.include(Mt),O.include({getRenderer:function(t){t=(t=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer)||(this._renderer=this._createRenderer());return this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(t){var e;return"overlayPane"!==t&&void 0!==t&&(void 0===(e=this._paneRenderers[t])&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e)},_createRenderer:function(t){return this.options.preferCanvas&&ji(t)||qi(t)}});var Gi=vi.extend({initialize:function(t,e){vi.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=v(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});Zi.create=Wi,Zi.pointsToPath=dt,yi.geometryToLayer=_i,yi.coordsToLatLng=bi,yi.coordsToLatLngs=xi,yi.latLngToCoords=Ti,yi.latLngsToCoords=Ai,yi.getFeature=Si,yi.asFeature=Ei,O.mergeOptions({boxZoom:!0});var pt=n.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){P(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){k(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){A(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),se(),Ae(),this._startPoint=this._map.mouseEventToContainerPoint(t),P(document,{contextmenu:Be,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=T("div","leaflet-zoom-box",this._container),S(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var t=new m(this._point,this._startPoint),e=t.getSize();C(this._box,t.min),this._box.style.width=e.x+"px",this._box.style.height=e.y+"px"},_finish:function(){this._moved&&(A(this._box),E(this._container,"leaflet-crosshair")),ae(),Se(),k(document,{contextmenu:Be,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){1!==t.which&&1!==t.button||(this._finish(),this._moved&&(this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(a(this._resetState,this),0),t=new r(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point)),this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})))},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}}),Ct=(O.addInitHook("addHandler","boxZoom",pt),O.mergeOptions({doubleClickZoom:!0}),n.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,i=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(i):e.setZoomAround(t.containerPoint,i)}})),Pt=(O.addInitHook("addHandler","doubleClickZoom",Ct),O.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0}),n.extend({addHooks:function(){var t;this._draggable||(t=this._map,this._draggable=new Xe(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))),S(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){E(this._map._container,"leaflet-grab"),E(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t,e=this._map;e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity?(t=v(this._map.options.maxBounds),this._offsetLimit=g(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))):this._offsetLimit=null,e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){var e,i;this._map.options.inertia&&(e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos,this._positions.push(i),this._times.push(e),this._prunePositions(e)),this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;1<this._positions.length&&50<t-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){var t,e;this._viscosity&&this._offsetLimit&&(t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit,t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t))},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,n=(n+e+i)%t-e-i,t=Math.abs(o+i)<Math.abs(n+i)?o:n;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=t},_onDragEnd:function(t){var e,i,n,o,r=this._map,s=r.options,a=!s.inertia||t.noInertia||this._times.length<2;r.fire("dragend",t),!a&&(this._prunePositions(+new Date),t=this._lastPos.subtract(this._positions[0]),a=(this._lastTime-this._times[0])/1e3,e=s.easeLinearity,a=(t=t.multiplyBy(e/a)).distanceTo([0,0]),i=Math.min(s.inertiaMaxSpeed,a),t=t.multiplyBy(i/a),n=i/(s.inertiaDeceleration*e),(o=t.multiplyBy(-n/2).round()).x||o.y)?(o=r._limitOffset(o,r.options.maxBounds),w(function(){r.panBy(o,{duration:n,easeLinearity:e,noMoveStart:!0,animate:!0})})):r.fire("moveend")}})),Lt=(O.addInitHook("addHandler","dragging",Pt),O.mergeOptions({keyboard:!0,keyboardPanDelta:80}),n.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),P(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),k(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){var t,e,i;this._focused||(i=document.body,t=document.documentElement,e=i.scrollTop||t.scrollTop,i=i.scrollLeft||t.scrollLeft,this._map._container.focus(),window.scrollTo(i,e))},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){for(var e=this._panKeys={},i=this.keyCodes,n=0,o=i.left.length;n<o;n++)e[i.left[n]]=[-1*t,0];for(n=0,o=i.right.length;n<o;n++)e[i.right[n]]=[t,0];for(n=0,o=i.down.length;n<o;n++)e[i.down[n]]=[0,t];for(n=0,o=i.up.length;n<o;n++)e[i.up[n]]=[0,-1*t]},_setZoomDelta:function(t){for(var e=this._zoomKeys={},i=this.keyCodes,n=0,o=i.zoomIn.length;n<o;n++)e[i.zoomIn[n]]=t;for(n=0,o=i.zoomOut.length;n<o;n++)e[i.zoomOut[n]]=-t},_addHooks:function(){P(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){k(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,i=t.keyCode,n=this._map;if(i in this._panKeys)n._panAnim&&n._panAnim._inProgress||(e=this._panKeys[i],t.shiftKey&&(e=p(e).multiplyBy(3)),n.panBy(e),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds));else if(i in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[i]);else{if(27!==i||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}Be(t)}}})),zt=(O.addInitHook("addHandler","keyboard",Lt),O.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60}),n.extend({addHooks:function(){P(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){k(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=je(t),i=this._map.options.wheelDebounceTime,e=(this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date),Math.max(i-(+new Date-this._startTime),0));clearTimeout(this._timer),this._timer=setTimeout(a(this._performZoom,this),e),Be(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),i=this._map.options.zoomSnap||0,n=(t._stop(),this._delta/(4*this._map.options.wheelPxPerZoomLevel)),n=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,i=i?Math.ceil(n/i)*i:n,n=t._limitZoom(e+(0<this._delta?i:-i))-e;this._delta=0,this._startTime=null,n&&("center"===t.options.scrollWheelZoom?t.setZoom(e+n):t.setZoomAround(this._lastMousePos,e+n))}})),kt=(O.addInitHook("addHandler","scrollWheelZoom",zt),O.mergeOptions({tapHold:x.touchNative&&x.safari&&x.mobile,tapTolerance:15}),n.extend({addHooks:function(){P(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){k(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){var e;clearTimeout(this._holdTimeout),1===t.touches.length&&(e=t.touches[0],this._startPos=this._newPos=new f(e.clientX,e.clientY),this._holdTimeout=setTimeout(a(function(){this._cancel(),this._isTapValid()&&(P(document,"touchend",I),P(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))},this),600),P(document,"touchend touchcancel contextmenu",this._cancel,this),P(document,"touchmove",this._onMove,this))},_cancelClickPrevent:function t(){k(document,"touchend",I),k(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),k(document,"touchend touchcancel contextmenu",this._cancel,this),k(document,"touchmove",this._onMove,this)},_onMove:function(t){t=t.touches[0];this._newPos=new f(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){t=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});t._simulated=!0,e.target.dispatchEvent(t)}})),It=(O.addInitHook("addHandler","tapHold",kt),O.mergeOptions({touchZoom:x.touch,bounceAtZoomLimits:!0}),n.extend({addHooks:function(){S(this._map._container,"leaflet-touch-zoom"),P(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){E(this._map._container,"leaflet-touch-zoom"),k(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e,i,n=this._map;!t.touches||2!==t.touches.length||n._animatingZoom||this._zooming||(e=n.mouseEventToContainerPoint(t.touches[0]),i=n.mouseEventToContainerPoint(t.touches[1]),this._centerPoint=n.getSize()._divideBy(2),this._startLatLng=n.containerPointToLatLng(this._centerPoint),"center"!==n.options.touchZoom&&(this._pinchStartLatLng=n.containerPointToLatLng(e.add(i)._divideBy(2))),this._startDist=e.distanceTo(i),this._startZoom=n.getZoom(),this._moved=!1,this._zooming=!0,n._stop(),P(document,"touchmove",this._onTouchMove,this),P(document,"touchend touchcancel",this._onTouchEnd,this),I(t))},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),o=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&o<1||this._zoom>e.getMaxZoom()&&1<o)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1==o)return}else{i=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1==o&&0===i.x&&0===i.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(i),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),s(this._animRequest);n=a(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=w(n,this,!0),I(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,s(this._animRequest),k(document,"touchmove",this._onTouchMove,this),k(document,"touchend touchcancel",this._onTouchEnd,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}})),Vi=(O.addInitHook("addHandler","touchZoom",It),O.BoxZoom=pt,O.DoubleClickZoom=Ct,O.Drag=Pt,O.Keyboard=Lt,O.ScrollWheelZoom=zt,O.TapHold=kt,O.TouchZoom=It,t.Bounds=m,t.Browser=x,t.CRS=ot,t.Canvas=Ni,t.Circle=mi,t.CircleMarker=fi,t.Class=et,t.Control=D,t.DivIcon=Ii,t.DivOverlay=R,t.DomEvent=mt,t.DomUtil=ft,t.Draggable=Xe,t.Evented=it,t.FeatureGroup=li,t.GeoJSON=yi,t.GridLayer=Oi,t.Handler=n,t.Icon=ui,t.ImageOverlay=Ci,t.LatLng=y,t.LatLngBounds=r,t.Layer=o,t.LayerGroup=ai,t.LineUtil=vt,t.Map=O,t.Marker=di,t.Mixin=gt,t.Path=pi,t.Point=f,t.PolyUtil=yt,t.Polygon=vi,t.Polyline=gi,t.Popup=zi,t.PosAnimation=We,t.Projection=bt,t.Rectangle=Gi,t.Renderer=Fi,t.SVG=Zi,t.SVGOverlay=Li,t.TileLayer=Di,t.Tooltip=ki,t.Transformation=at,t.Util=tt,t.VideoOverlay=Pi,t.bind=a,t.bounds=g,t.canvas=ji,t.circle=function(t,e,i){return new mi(t,e,i)},t.circleMarker=function(t,e){return new fi(t,e)},t.control=Ze,t.divIcon=function(t){return new Ii(t)},t.extend=u,t.featureGroup=function(t,e){return new li(t,e)},t.geoJSON=Mi,t.geoJson=Et,t.gridLayer=function(t){return new Oi(t)},t.icon=function(t){return new ui(t)},t.imageOverlay=function(t,e,i){return new Ci(t,e,i)},t.latLng=b,t.latLngBounds=v,t.layerGroup=function(t,e){return new ai(t,e)},t.map=function(t,e){return new O(t,e)},t.marker=function(t,e){return new di(t,e)},t.point=p,t.polygon=function(t,e){return new vi(t,e)},t.polyline=function(t,e){return new gi(t,e)},t.popup=function(t,e){return new zi(t,e)},t.rectangle=function(t,e){return new Gi(t,e)},t.setOptions=h,t.stamp=l,t.svg=qi,t.svgOverlay=function(t,e,i){return new Li(t,e,i)},t.tileLayer=Ri,t.tooltip=function(t,e){return new ki(t,e)},t.transformation=lt,t.version="1.8.0",t.videoOverlay=function(t,e,i){return new Pi(t,e,i)},window.L);t.noConflict=function(){return window.L=Vi,this},window.L=t}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(window.jQuery||window.Zepto)}(function(u){function t(){}function c(t,e){f.ev.on("mfp"+t+B,e)}function h(t,e,i,n){var o=document.createElement("div");return o.className="mfp-"+t,i&&(o.innerHTML=i),n?e&&e.appendChild(o):(o=u(o),e&&o.appendTo(e)),o}function d(t,e){f.ev.triggerHandler("mfp"+t,e),f.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),f.st.callbacks[t])&&f.st.callbacks[t].apply(f,Array.isArray(e)?e:[e])}function p(t){return t===i&&f.currTemplate.closeBtn||(f.currTemplate.closeBtn=u(f.st.closeMarkup.replace("%title%",f.st.tClose)),i=t),f.currTemplate.closeBtn}function r(){u.magnificPopup.instance||((f=new t).init(),u.magnificPopup.instance=f)}function s(){y&&(v.after(y.addClass(l)).detach(),y=null)}function o(){_&&u(document.body).removeClass(_)}function e(){o(),f.req&&f.req.abort()}var f,n,m,a,g,i,l,v,y,_,w="Close",R="BeforeClose",b="MarkupParse",B=".mfp",x="mfp-ready",F="mfp-removing",T="mfp-prevent-close",A=!!window.jQuery,S=u(window),E=(u.magnificPopup={instance:null,proto:t.prototype={constructor:t,init:function(){var t=navigator.appVersion;f.isIE7=-1!==t.indexOf("MSIE 7."),f.isIE8=-1!==t.indexOf("MSIE 8."),f.isLowIE=f.isIE7||f.isIE8,f.isAndroid=/android/gi.test(t),f.isIOS=/iphone|ipad|ipod/gi.test(t),f.supportsTransition=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}(),f.probablyMobile=f.isAndroid||f.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),m=u(document),f.popupsCache={}},open:function(t){if(!1===t.isObj){f.items=t.items.toArray(),f.index=0;for(var e,i=t.items,n=0;n<i.length;n++)if((e=(e=i[n]).parsed?e.el[0]:e)===t.el[0]){f.index=n;break}}else f.items=Array.isArray(t.items)?t.items:[t.items],f.index=t.index||0;if(!f.isOpen){f.types=[],g="",t.mainEl&&t.mainEl.length?f.ev=t.mainEl.eq(0):f.ev=m,t.key?(f.popupsCache[t.key]||(f.popupsCache[t.key]={}),f.currTemplate=f.popupsCache[t.key]):f.currTemplate={},f.st=u.extend(!0,{},u.magnificPopup.defaults,t),f.fixedContentPos="auto"===f.st.fixedContentPos?!f.probablyMobile:f.st.fixedContentPos,f.st.modal&&(f.st.closeOnContentClick=!1,f.st.closeOnBgClick=!1,f.st.showCloseBtn=!1,f.st.enableEscapeKey=!1),f.bgOverlay||(f.bgOverlay=h("bg").on("click.mfp",function(){f.close()}),f.wrap=h("wrap").attr("tabindex",-1).on("click.mfp",function(t){f._checkIfClose(t.target)&&f.close()}),f.container=h("container",f.wrap)),f.contentContainer=h("content"),f.st.preloader&&(f.preloader=h("preloader",f.container,f.st.tLoading));var o=u.magnificPopup.modules;for(n=0;n<o.length;n++){var r=(r=o[n]).charAt(0).toUpperCase()+r.slice(1);f["init"+r].call(f)}d("BeforeOpen"),f.st.showCloseBtn&&(f.st.closeBtnInside?(c(b,function(t,e,i,n){i.close_replaceWith=p(n.type)}),g+=" mfp-close-btn-in"):f.wrap.append(p())),f.st.alignTop&&(g+=" mfp-align-top"),f.fixedContentPos?f.wrap.css({overflow:f.st.overflowY,overflowX:"hidden",overflowY:f.st.overflowY}):f.wrap.css({top:S.scrollTop(),position:"absolute"}),!1!==f.st.fixedBgPos&&("auto"!==f.st.fixedBgPos||f.fixedContentPos)||f.bgOverlay.css({height:m.height(),position:"absolute"}),f.st.enableEscapeKey&&m.on("keyup.mfp",function(t){27===t.keyCode&&f.close()}),S.on("resize.mfp",function(){f.updateSize()}),f.st.closeOnContentClick||(g+=" mfp-auto-cursor"),g&&f.wrap.addClass(g);var s=f.wH=S.height(),a={},l=(f.fixedContentPos&&f._hasScrollBar(s)&&(l=f._getScrollbarSize())&&(a.marginRight=l),f.fixedContentPos&&(f.isIE7?u("body, html").css("overflow","hidden"):a.overflow="hidden"),f.st.mainClass);return f.isIE7&&(l+=" mfp-ie7"),l&&f._addClassToMFP(l),f.updateItemHTML(),d("BuildControls"),u("html").css(a),f.bgOverlay.add(f.wrap).prependTo(f.st.prependTo||u(document.body)),f._lastFocusedEl=document.activeElement,setTimeout(function(){f.content?(f._addClassToMFP(x),f._setFocus()):f.bgOverlay.addClass(x),m.on("focusin.mfp",f._onFocusIn)},16),f.isOpen=!0,f.updateSize(s),d("Open"),t}f.updateItemHTML()},close:function(){f.isOpen&&(d(R),f.isOpen=!1,f.st.removalDelay&&!f.isLowIE&&f.supportsTransition?(f._addClassToMFP(F),setTimeout(function(){f._close()},f.st.removalDelay)):f._close())},_close:function(){d(w);var t=F+" "+x+" ";f.bgOverlay.detach(),f.wrap.detach(),f.container.empty(),f.st.mainClass&&(t+=f.st.mainClass+" "),f._removeClassFromMFP(t),f.fixedContentPos&&(t={marginRight:""},f.isIE7?u("body, html").css("overflow",""):t.overflow="",u("html").css(t)),m.off("keyup.mfp focusin.mfp"),f.ev.off(B),f.wrap.attr("class","mfp-wrap").removeAttr("style"),f.bgOverlay.attr("class","mfp-bg"),f.container.attr("class","mfp-container"),!f.st.showCloseBtn||f.st.closeBtnInside&&!0!==f.currTemplate[f.currItem.type]||f.currTemplate.closeBtn&&f.currTemplate.closeBtn.detach(),f.currItem=null,f.content=null,f.currTemplate=null,f.prevHeight=0,d("AfterClose")},updateSize:function(t){var e;f.isIOS?(e=document.documentElement.clientWidth/window.innerWidth,e=window.innerHeight*e,f.wrap.css("height",e),f.wH=e):f.wH=t||S.height(),f.fixedContentPos||f.wrap.css("height",f.wH),d("Resize")},updateItemHTML:function(){var t=f.items[f.index],e=(f.contentContainer.detach(),f.content&&f.content.detach(),(t=t.parsed?t:f.parseEl(f.index)).type),i=(d("BeforeChange",[f.currItem?f.currItem.type:"",e]),f.currItem=t,f.currTemplate[e]||(i=!!f.st[e]&&f.st[e].markup,d("FirstMarkupParse",i),f.currTemplate[e]=!i||u(i)),a&&a!==t.type&&f.container.removeClass("mfp-"+a+"-holder"),f["get"+e.charAt(0).toUpperCase()+e.slice(1)](t,f.currTemplate[e]));f.appendContent(i,e),t.preloaded=!0,d("Change",t),a=t.type,f.container.prepend(f.contentContainer),d("AfterChange")},appendContent:function(t,e){(f.content=t)?f.st.showCloseBtn&&f.st.closeBtnInside&&!0===f.currTemplate[e]?f.content.find(".mfp-close").length||f.content.append(p()):f.content=t:f.content="",d("BeforeAppend"),f.container.addClass("mfp-"+e+"-holder"),f.contentContainer.append(f.content)},parseEl:function(t){var e,i=f.items[t];if((i=i.tagName?{el:u(i)}:(e=i.type,{data:i,src:i.src})).el){for(var n=f.types,o=0;o<n.length;o++)if(i.el.hasClass("mfp-"+n[o])){e=n[o];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=e||f.st.type||"inline",i.index=t,i.parsed=!0,f.items[t]=i,d("ElementParse",i),f.items[t]},addGroup:function(e,i){function t(t){t.mfpEl=this,f._openClick(t,e,i)}var n="click.magnificPopup";(i=i||{}).mainEl=e,i.items?(i.isObj=!0,e.off(n).on(n,t)):(i.isObj=!1,i.delegate?e.off(n).on(n,i.delegate,t):(i.items=e).off(n).on(n,t))},_openClick:function(t,e,i){if((void 0!==i.midClick?i:u.magnificPopup.defaults).midClick||2!==t.which&&!t.ctrlKey&&!t.metaKey){var n=(void 0!==i.disableOn?i:u.magnificPopup.defaults).disableOn;if(n)if("function"==typeof n){if(!n.call(f))return!0}else if(S.width()<n)return!0;t.type&&(t.preventDefault(),f.isOpen)&&t.stopPropagation(),i.el=u(t.mfpEl),i.delegate&&(i.items=e.find(i.delegate)),f.open(i)}},updateStatus:function(t,e){var i;f.preloader&&(n!==t&&f.container.removeClass("mfp-s-"+n),i={status:t,text:e=e||"loading"!==t?e:f.st.tLoading},d("UpdateStatus",i),t=i.status,f.preloader.html(e=i.text),f.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),f.container.addClass("mfp-s-"+t),n=t)},_checkIfClose:function(t){if(!u(t).hasClass(T)){var e=f.st.closeOnContentClick,i=f.st.closeOnBgClick;if(e&&i)return!0;if(!f.content||u(t).hasClass("mfp-close")||f.preloader&&t===f.preloader[0])return!0;if(t===f.content[0]||u.contains(f.content[0],t)){if(e)return!0}else if(i&&u.contains(document,t))return!0;return!1}},_addClassToMFP:function(t){f.bgOverlay.addClass(t),f.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),f.wrap.removeClass(t)},_hasScrollBar:function(t){return(f.isIE7?m.height():document.body.scrollHeight)>(t||S.height())},_setFocus:function(){(f.st.focus?f.content.find(f.st.focus).eq(0):f.wrap).trigger("focus")},_onFocusIn:function(t){if(t.target!==f.wrap[0]&&!u.contains(f.wrap[0],t.target))return f._setFocus(),!1},_parseMarkup:function(o,t,e){var r;e.data&&(t=u.extend(e.data,t)),d(b,[o,t,e]),u.each(t,function(t,e){if(void 0===e||!1===e)return!0;var i,n;1<(r=t.split("_")).length?0<(i=o.find(".mfp-"+r[0])).length&&("replaceWith"===(n=r[1])?i[0]!==e[0]&&i.replaceWith(e):"img"===n?i.is("img")?i.attr("src",e):i.replaceWith('<img src="'+e+'" class="'+i.attr("class")+'" />'):i.attr(r[1],e)):o.find(".mfp-"+t).html(e)})},_getScrollbarSize:function(){var t;return void 0===f.scrollbarSize&&((t=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),f.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)),f.scrollbarSize}},modules:[],open:function(t,e){return r(),(t=t?u.extend(!0,{},t):{}).isObj=!0,t.index=e||0,this.instance.open(t)},close:function(){return u.magnificPopup.instance&&u.magnificPopup.instance.close()},registerModule:function(t,e){e.options&&(u.magnificPopup.defaults[t]=e.options),u.extend(this.proto,e.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},u.fn.magnificPopup=function(t){r();var e,i,n,o=u(this);return"string"==typeof t?"open"===t?(e=A?o.data("magnificPopup"):o[0].magnificPopup,i=parseInt(arguments[1],10)||0,n=e.items?e.items[i]:(n=o,(n=e.delegate?n.find(e.delegate):n).eq(i)),f._openClick({mfpEl:n},o,e)):f.isOpen&&f[t].apply(f,Array.prototype.slice.call(arguments,1)):(t=u.extend(!0,{},t),A?o.data("magnificPopup",t):o[0].magnificPopup=t,f.addGroup(o,t)),o},"inline"),M=(u.magnificPopup.registerModule(E,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){f.types.push(E),c(w+"."+E,function(){s()})},getInline:function(t,e){var i,n,o;return s(),t.src?(i=f.st.inline,(n=u(t.src)).length?((o=n[0].parentNode)&&o.tagName&&(v||(l=i.hiddenClass,v=h(l),l="mfp-"+l),y=n.after(v).detach().removeClass(l)),f.updateStatus("ready")):(f.updateStatus("error",i.tNotFound),n=u("<div>")),t.inlineElement=n):(f.updateStatus("ready"),f._parseMarkup(e,{},t),e)}}}),"ajax");u.magnificPopup.registerModule(M,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){f.types.push(M),_=f.st.ajax.cursor,c(w+"."+M,e),c("BeforeChange.ajax",e)},getAjax:function(n){_&&u(document.body).addClass(_),f.updateStatus("loading");var t=u.extend({url:n.src,success:function(t,e,i){t={data:t,xhr:i};d("ParseAjax",t),f.appendContent(u(t.data),M),n.finished=!0,o(),f._setFocus(),setTimeout(function(){f.wrap.addClass(x)},16),f.updateStatus("ready"),d("AjaxContentAdded")},error:function(){o(),n.finished=n.loadError=!0,f.updateStatus("error",f.st.ajax.tError.replace("%url%",n.src))}},f.st.ajax.settings);return f.req=u.ajax(t),""}}});var C;u.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var t=f.st.image,e=".image";f.types.push("image"),c("Open"+e,function(){"image"===f.currItem.type&&t.cursor&&u(document.body).addClass(t.cursor)}),c(w+e,function(){t.cursor&&u(document.body).removeClass(t.cursor),S.off("resize.mfp")}),c("Resize"+e,f.resizeImage),f.isLowIE&&c("AfterChange",f.resizeImage)},resizeImage:function(){var t,e=f.currItem;e&&e.img&&f.st.image.verticalFit&&(t=0,f.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",f.wH-t))},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,C&&clearInterval(C),t.isCheckingImgSize=!1,d("ImageHasSize",t),t.imgHidden)&&(f.content&&f.content.removeClass("mfp-loading"),t.imgHidden=!1)},findImageSize:function(e){function i(t){C&&clearInterval(C),C=setInterval(function(){0<o.naturalWidth?f._onImageHasSize(e):(200<n&&clearInterval(C),3===++n?i(10):40===n?i(50):100===n&&i(500))},t)}var n=0,o=e.img[0];i(1)},getImage:function(t,e){function i(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===f.currItem&&(f._onImageHasSize(t),f.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,d("ImageLoadComplete")):++r<200?setTimeout(i,100):n())}function n(){t&&(t.img.off(".mfploader"),t===f.currItem&&(f._onImageHasSize(t),f.updateStatus("error",s.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)}var o,r=0,s=f.st.image,a=e.find(".mfp-img");return a.length&&((o=document.createElement("img")).className="mfp-img",t.el&&t.el.find("img").length&&(o.alt=t.el.find("img").attr("alt")),t.img=u(o).on("load.mfploader",i).on("error.mfploader",n),o.src=t.src,a.is("img")&&(t.img=t.img.clone()),0<(o=t.img[0]).naturalWidth?t.hasSize=!0:o.width||(t.hasSize=!1)),f._parseMarkup(e,{title:function(t){if(t.data&&void 0!==t.data.title)return t.data.title;var e=f.st.image.titleSrc;if(e){if("function"==typeof e)return e.call(f,t);if(t.el)return t.el.attr(e)||""}return""}(t),img_replaceWith:t.img},t),f.resizeImage(),t.hasSize?(C&&clearInterval(C),t.loadError?(e.addClass("mfp-loading"),f.updateStatus("error",s.tError.replace("%url%",t.src))):(e.removeClass("mfp-loading"),f.updateStatus("ready"))):(f.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,e.addClass("mfp-loading"),f.findImageSize(t))),e}}});function P(t){var e;f.currTemplate[O]&&(e=f.currTemplate[O].find("iframe")).length&&(t||(e[0].src="//about:blank"),f.isIE8)&&e.css("display",t?"block":"none")}function L(t){var e=f.items.length;return e-1<t?t-e:t<0?e+t:t}function N(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)}u.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,e,i,n,o,r,s=f.st.zoom;s.enabled&&f.supportsTransition&&(e=s.duration,i=function(t){var t=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),e="all "+s.duration/1e3+"s "+s.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},n="transition";return i["-webkit-"+n]=i["-moz-"+n]=i["-o-"+n]=i[n]=e,t.css(i),t},n=function(){f.content.css("visibility","visible")},c("BuildControls.zoom",function(){f._allowZoom()&&(clearTimeout(o),f.content.css("visibility","hidden"),(t=f._getItemToZoom())?((r=i(t)).css(f._getOffset()),f.wrap.append(r),o=setTimeout(function(){r.css(f._getOffset(!0)),o=setTimeout(function(){n(),setTimeout(function(){r.remove(),t=r=null,d("ZoomAnimationEnded")},16)},e)},16)):n())}),c(R+".zoom",function(){if(f._allowZoom()){if(clearTimeout(o),f.st.removalDelay=e,!t){if(!(t=f._getItemToZoom()))return;r=i(t)}r.css(f._getOffset(!0)),f.wrap.append(r),f.content.css("visibility","hidden"),setTimeout(function(){r.css(f._getOffset())},16)}}),c(w+".zoom",function(){f._allowZoom()&&(n(),r&&r.remove(),t=null)}))},_allowZoom:function(){return"image"===f.currItem.type},_getItemToZoom:function(){return!!f.currItem.hasSize&&f.currItem.img},_getOffset:function(t){var t=t?f.currItem.img:f.st.zoom.opener(f.currItem.el||f.currItem),e=t.offset(),i=parseInt(t.css("padding-top"),10),n=parseInt(t.css("padding-bottom"),10),t=(e.top-=u(window).scrollTop()-i,{width:t.width(),height:(A?t.innerHeight():t[0].offsetHeight)-n-i});return(z=void 0===z?void 0!==document.createElement("p").style.MozTransform:z)?t["-moz-transform"]=t.transform="translate("+e.left+"px,"+e.top+"px)":(t.left=e.left,t.top=e.top),t}}});var z,k,I,O="iframe",D=(u.magnificPopup.registerModule(O,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){f.types.push(O),c("BeforeChange",function(t,e,i){e!==i&&(e===O?P():i===O&&P(!0))}),c(w+"."+O,function(){P()})},getIframe:function(t,e){var i=t.src,n=f.st.iframe,o=(u.each(n.patterns,function(){if(-1<i.indexOf(this.index))return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1}),{});return n.srcAction&&(o[n.srcAction]=i),f._parseMarkup(e,o,t),f.updateStatus("ready"),e}}}),u.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=f.st.gallery,t=".mfp-gallery",n=Boolean(u.fn.mfpFastClick);if(f.direction=!0,!r||!r.enabled)return!1;g+=" mfp-gallery",c("Open"+t,function(){r.navigateByImgClick&&f.wrap.on("click"+t,".mfp-img",function(){if(1<f.items.length)return f.next(),!1}),m.on("keydown"+t,function(t){37===t.keyCode?f.prev():39===t.keyCode&&f.next()})}),c("UpdateStatus"+t,function(t,e){e.text&&(e.text=N(e.text,f.currItem.index,f.items.length))}),c(b+t,function(t,e,i,n){var o=f.items.length;i.counter=1<o?N(r.tCounter,n.index,o):""}),c("BuildControls"+t,function(){var t,e,i;1<f.items.length&&r.arrows&&!f.arrowLeft&&(e=r.arrowMarkup,t=f.arrowLeft=u(e.replace(/%title%/gi,r.tPrev).replace(/%dir%/gi,"left")).addClass(T),e=f.arrowRight=u(e.replace(/%title%/gi,r.tNext).replace(/%dir%/gi,"right")).addClass(T),t[i=n?"mfpFastClick":"click"](function(){f.prev()}),e[i](function(){f.next()}),f.isIE7&&(h("b",t[0],!1,!0),h("a",t[0],!1,!0),h("b",e[0],!1,!0),h("a",e[0],!1,!0)),f.container.append(t.add(e)))}),c("Change"+t,function(){f._preloadTimeout&&clearTimeout(f._preloadTimeout),f._preloadTimeout=setTimeout(function(){f.preloadNearbyImages(),f._preloadTimeout=null},16)}),c(w+t,function(){m.off(t),f.wrap.off("click"+t),f.arrowLeft&&n&&f.arrowLeft.add(f.arrowRight).destroyMfpFastClick(),f.arrowRight=f.arrowLeft=null})},next:function(){f.direction=!0,f.index=L(f.index+1),f.updateItemHTML()},prev:function(){f.direction=!1,f.index=L(f.index-1),f.updateItemHTML()},goTo:function(t){f.direction=t>=f.index,f.index=t,f.updateItemHTML()},preloadNearbyImages:function(){for(var t=f.st.gallery.preload,e=Math.min(t[0],f.items.length),i=Math.min(t[1],f.items.length),n=1;n<=(f.direction?i:e);n++)f._preloadItem(f.index+n);for(n=1;n<=(f.direction?e:i);n++)f._preloadItem(f.index-n)},_preloadItem:function(t){var e;t=L(t),f.items[t].preloaded||((e=f.items[t]).parsed||(e=f.parseEl(t)),d("LazyLoad",e),"image"===e.type&&(e.img=u('<img class="mfp-img" />').on("load.mfploader",function(){e.hasSize=!0}).on("error.mfploader",function(){e.hasSize=!0,e.loadError=!0,d("LazyLoadError",e)}).attr("src",e.src)),e.preloaded=!0)}}}),"retina");function j(){S.off("touchmove"+I+" touchend"+I)}u.magnificPopup.registerModule(D,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){var i,n;1<window.devicePixelRatio&&(i=f.st.retina,n=i.ratio,1<(n=isNaN(n)?n():n))&&(c("ImageHasSize."+D,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/n,width:"100%"})}),c("ElementParse."+D,function(t,e){e.src=i.replaceSrc(e,n)}))}}}),k="ontouchstart"in window,I=".mfpFastClick",u.fn.mfpFastClick=function(l){return u(this).each(function(){var e,i,n,o,r,s,a,t=u(this);k&&t.on("touchstart"+I,function(t){r=!1,a=1,s=(t.originalEvent||t).touches[0],n=s.clientX,o=s.clientY,S.on("touchmove"+I,function(t){s=(t.originalEvent||t).touches,a=s.length,s=s[0],(10<Math.abs(s.clientX-n)||10<Math.abs(s.clientY-o))&&(r=!0,j())}).on("touchend"+I,function(t){j(),r||1<a||(e=!0,t.preventDefault(),clearTimeout(i),i=setTimeout(function(){e=!1},1e3),l())})}),t.on("click"+I,function(){e||l()})})},u.fn.destroyMfpFastClick=function(){u(this).off("touchstart"+I+" click"+I),k&&S.off("touchmove"+I+" touchend"+I)},r()}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function n(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function M(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function F(t){return"string"==typeof t}function h(t){return"function"==typeof t}function C(t){return"number"==typeof t}function r(t){return void 0===t}function P(t){return"object"==typeof t}function l(){return"undefined"!=typeof window}function X(t){return h(t)||F(t)}function m(t){return(qt=Rt(t,a))&&c}function K(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")}function Q(t,e){return!e&&console.warn(t)}function g(t,e){return t&&(a[t]=e)&&qt&&(qt[t]=e)||a}function v(){return 0}function J(t){var e,i,n=t[0];if(P(n)||h(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(i=Ce.length;i--&&!Ce[i].targetTest(n););e=Ce[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new We(t[i],e)))||t.splice(i,1);return t}function tt(t){return t._gsap||J(k(t))[0]._gsap}function y(t,e,i){return(i=t[e])&&h(i)?t[e]():r(i)&&t.getAttribute&&t.getAttribute(e)||i}function p(t,e){return(t=t.split(",")).forEach(e)||t}function O(t){return Math.round(1e5*t)/1e5||0}function L(t){return Math.round(1e7*t)/1e7||0}function et(t,e){var i=e.charAt(0),e=parseFloat(e.substr(2));return t=parseFloat(t),"+"===i?t+e:"-"===i?t-e:"*"===i?t*e:t/e}function it(){var t,e,i=Ae.length,n=Ae.slice(0);for(Se={},t=Ae.length=0;t<i;t++)(e=n[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function _(t,e,i,n){Ae.length&&it(),t.render(e,i,n),Ae.length&&it()}function w(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(be).length<2?e:F(t)?t.trim():t}function x(t){return t}function D(t,e){for(var i in e)i in t||(t[i]=e[i]);return t}function T(t,e){for(var i in e)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(t[i]=P(e[i])?T(t[i]||(t[i]={}),e[i]):e[i]);return t}function nt(t,e){var i,n={};for(i in t)i in e||(n[i]=t[i]);return n}function ot(t){var n,e=t.parent||B,i=t.keyframes?(n=I(t.keyframes),function(t,e){for(var i in e)i in t||"duration"===i&&n||"ease"===i||(t[i]=e[i])}):D;if(!1!==t.inherit)for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t}function A(t,e,i,n,o){void 0===i&&(i="_first");var r,s=t[n=void 0===n?"_last":n];if(o)for(r=e[o];s&&s[o]>r;)s=s._prev;s?(e._next=s._next,s._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[n]=e,e._prev=s,e.parent=e._dp=t}function S(t,e,i,n){void 0===i&&(i="_first"),void 0===n&&(n="_last");var o=e._prev,r=e._next;o?o._next=r:t[i]===e&&(t[i]=r),r?r._prev=o:t[n]===e&&(t[n]=o),e._next=e._prev=e.parent=null}function R(t,e){!t.parent||e&&!t.parent.autoRemoveChildren||t.parent.remove(t),t._act=0}function E(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t}function rt(t){return t._repeat?Bt(t._tTime,t=t.duration()+t._rDelay)*t:0}function st(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function at(t){t._end=L(t._start+(t._tDur/Math.abs(t._ts||t._rts||W)||0))}function lt(t,e){var i=t._dp;i&&i.smoothChildTiming&&t._ts&&(t._start=L(i._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),at(t),i._dirty||E(i,t))}function ut(t,e){var i;if((e._time||e._initted&&!e._dur)&&(i=st(t.rawTime(),e),!e._dur||Nt(0,e.totalDuration(),i)-e._tTime>W)&&e.render(i,!0),E(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)0<=i.rawTime()&&i.totalTime(i._tTime),i=i._dp;t._zTime=-W}}function z(t,e,i,n){return e.parent&&R(e),e._start=L((C(i)?i:i||t!==B?u(t,i,e):t._time)+e._delay),e._end=L(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),A(t,e,"_first","_last",t._sort?"_start":0),Ft(e)||(t._recent=e),n||ut(t,e),t}function ct(t,e){(a.ScrollTrigger||K("scrollTrigger",e))&&a.ScrollTrigger.create(e,t)}function ht(t,e,i,n){return Ue(t,e),!t._initted||!i&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&Vt!==f.frame&&(Ae.push(t),t._lazy=[e,n])}function dt(t,e,i,n){var o=t._repeat,e=L(e)||0,r=t._tTime/t._tDur;return r&&!n&&(t._time*=e/t._dur),t._dur=e,t._tDur=o?o<0?1e10:L(e*(o+1)+t._rDelay*o):e,0<r&&!n?lt(t,t._tTime=t._tDur*r):t.parent&&at(t),i||E(t.parent,t),t}function pt(t){return t instanceof G?E(t):dt(t,t._dur)}function ft(t,e,i){var n,o,r=C(e[1]),s=(r?2:1)+(t<2?0:1),a=e[s];if(r&&(a.duration=e[1]),a.parent=i,t){for(n=a,o=i;o&&!("immediateRender"in n);)n=o.vars.defaults||{},o=!1!==o.vars.inherit&&o.parent;a.immediateRender=!1!==n.immediateRender,t<2?a.runBackwards=1:a.startAt=e[s-1]}return new V(e[0],a,e[1+s])}function mt(t,e){return t||0===t?e(t):e}function N(t,e){return F(t)&&(e=xe.exec(t))?e[1]:""}function gt(t,e){return t&&P(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&P(t[0]))&&!t.nodeType&&t!==i}function vt(t){return t.sort(function(){return.5-Math.random()})}function yt(t){var p,f,m,g,v,y,_,w,b;return h(t)?t:(p=P(t)?t:{each:t},f=Ne(p.ease),m=p.from||0,g=parseFloat(p.base)||0,v={},t=0<m&&m<1,y=isNaN(m)||t,_=p.axis,F(b=w=m)?w=b={center:.5,edges:.5,end:1}[m]||0:!t&&y&&(w=m[0],b=m[1]),function(t,e,i){var n,o,r,s,a,l,u,c,h=(i||p).length,d=v[h];if(!d){if(!(c="auto"===p.grid?0:(p.grid||[1,H])[1])){for(l=-H;l<(l=i[c++].getBoundingClientRect().left)&&c<h;);c--}for(d=v[h]=[],n=y?Math.min(c,h)*w-.5:m%c,o=c===H?0:y?h*b/c-.5:m/c|0,u=H,a=l=0;a<h;a++)s=a%c-n,r=o-(a/c|0),d[a]=s=_?Math.abs("y"===_?r:s):de(s*s+r*r),l<s&&(l=s),s<u&&(u=s);"random"===m&&vt(d),d.max=l-u,d.min=u,d.v=h=(parseFloat(p.amount)||parseFloat(p.each)*(h<c?h-1:_?"y"===_?h/c:c:Math.max(c,h/c))||0)*("edges"===m?-1:1),d.b=h<0?g-h:g,d.u=N(p.amount||p.each)||0,f=f&&h<0?Fe(f):f}return h=(d[t]-d.min)/d.max||0,L(d.b+(f?f(h):h)*d.v)+d.u})}function _t(i){var n=Math.pow(10,((i+"").split(".")[1]||"").length);return function(t){var e=Math.round(parseFloat(t)/i)*i*n;return(e-e%1)/n+(C(t)?0:N(t))}}function wt(l,t){var u,c,e=I(l);return!e&&P(l)&&(u=e=l.radius||H,l.values?(l=k(l.values),(c=!C(l[0]))&&(u*=u)):l=_t(l.increment)),mt(t,e?h(l)?function(t){return c=l(t),Math.abs(c-t)<=u?c:t}:function(t){for(var e,i,n=parseFloat(c?t.x:t),o=parseFloat(c?t.y:0),r=H,s=0,a=l.length;a--;)(e=c?(e=l[a].x-n)*e+(i=l[a].y-o)*i:Math.abs(l[a]-n))<r&&(r=e,s=a);return s=!u||r<=u?l[s]:t,c||s===t||C(t)?s:s+N(t)}:_t(l))}function bt(t,e,i,n){return mt(I(t)?!e:!0===i?!!(i=0):!n,function(){return I(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(n=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+.99*i))/i)*i*n)/n})}function xt(e,i,t){return mt(t,function(t){return e[~~i(t)]})}function Tt(t){for(var e,i,n,o,r=0,s="";~(e=t.indexOf("random(",r));)n=t.indexOf(")",e),o="["===t.charAt(e+7),i=t.substr(e+7,n-e-7).match(o?be:ge),s+=t.substr(r,e-r)+bt(o?i:+i[0],o?0:+i[1],+i[2]||1e-5),r=n+1;return s+t.substr(r,t.length-r)}function At(t,e,i){var n,o,r,s=t.labels,a=H;for(n in s)(o=s[n]-e)<0==!!i&&o&&a>(o=Math.abs(o))&&(r=n,a=o);return r}function St(t){return R(t),t.scrollTrigger&&t.scrollTrigger.kill(!1),t.progress()<1&&b(t,"onInterrupt"),t}function Et(t,e,i){return(6*(t+=t<0?1:1<t?-1:0)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)*d+.5|0}function Mt(t,e,i){var n,o,r,s,a,l,u,c=t?C(t)?[t>>16,t>>8&d,t&d]:0:ke.black;if(!c){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),ke[t])c=ke[t];else if("#"===t.charAt(0)){if(9===(t=t.length<6?"#"+(n=t.charAt(1))+n+(o=t.charAt(2))+o+(r=t.charAt(3))+r+(5===t.length?t.charAt(4)+t.charAt(4):""):t).length)return[(c=parseInt(t.substr(1,6),16))>>16,c>>8&d,c&d,parseInt(t.substr(7),16)/255];c=[(t=parseInt(t.substr(1),16))>>16,t>>8&d,t&d]}else if("hsl"===t.substr(0,3))if(c=u=t.match(ge),e){if(~t.indexOf("="))return c=t.match(ve),i&&c.length<4&&(c[3]=1),c}else s=+c[0]%360/360,a=c[1]/100,n=2*(l=c[2]/100)-(o=l<=.5?l*(a+1):l+a-l*a),3<c.length&&(c[3]*=1),c[0]=Et(s+1/3,n,o),c[1]=Et(s,n,o),c[2]=Et(s-1/3,n,o);else c=t.match(ge)||ke.transparent;c=c.map(Number)}return e&&!u&&(n=c[0]/d,o=c[1]/d,r=c[2]/d,l=((t=Math.max(n,o,r))+(e=Math.min(n,o,r)))/2,t===e?s=a=0:(u=t-e,a=.5<l?u/(2-t-e):u/(t+e),s=t===n?(o-r)/u+(o<r?6:0):t===o?(r-n)/u+2:(n-o)/u+4,s*=60),c[0]=~~(s+.5),c[1]=~~(100*a+.5),c[2]=~~(100*l+.5)),i&&c.length<4&&(c[3]=1),c}function Ct(t){var e=[],i=[],n=-1;return t.split(Ie).forEach(function(t){t=t.match(ye)||[];e.push.apply(e,t),i.push(n+=t.length+1)}),e.c=i,e}function Pt(t,e,i){var n,o,r,s,a="",l=(t+a).match(Ie),u=e?"hsla(":"rgba(",c=0;if(!l)return t;if(l=l.map(function(t){return(t=Mt(t,e,1))&&u+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),i&&(r=Ct(t),(n=i.c).join(a)!==r.c.join(a)))for(s=(o=t.replace(Ie,"1").split(ye)).length-1;c<s;c++)a+=o[c]+(~n.indexOf(c)?l.shift()||u+"0,0,0,0)":(r.length?r:l.length?l:i).shift());if(!o)for(s=(o=t.split(Ie)).length-1;c<s;c++)a+=o[c]+l[c];return a+o[s]}function Lt(t){var e=t.join(" ");if(Ie.lastIndex=0,Ie.test(e))return e=Oe.test(e),t[1]=Pt(t[1],e),t[0]=Pt(t[0],e,Ct(t[1])),!0}function zt(t,e){for(var i,n=t._first;n;)n instanceof G?zt(n,e):!n.vars.yoyoEase||n._yoyo&&n._repeat||n._yoyo===e||(n.timeline?zt(n.timeline,e):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=e)),n=n._next}function kt(t,e,i,n){var o,r={easeIn:e,easeOut:i=void 0===i?function(t){return 1-e(1-t)}:i,easeInOut:n=void 0===n?function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2}:n};p(t,function(t){for(var e in q[t]=a[t]=r,q[o=t.toLowerCase()]=i,r)q[o+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=q[t+"."+e]=r[e]})}function It(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function Ot(i,t,e){function n(t){return 1===t?1:o*Math.pow(2,-10*t)*fe((t-r)*s)+1}var o=1<=t?t:1,r=(s=(e||(i?.3:.45))/(t<1?t:1))/ue*(Math.asin(1/o)||0),e="out"===i?n:"in"===i?function(t){return 1-n(1-t)}:It(n),s=ue/s;return e.config=function(t,e){return Ot(i,t,e)},e}function Dt(e,i){function n(t){return t?--t*t*((i+1)*t+i)+1:0}void 0===i&&(i=1.70158);var t="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:It(n);return t.config=function(t){return Dt(e,t)},t}function Rt(t,e){for(var i in e)t[i]=e[i];return t}function Bt(t,e){return e=Math.floor(t/=e),t&&e===t?e-1:e}function Ft(t){return"isFromStart"===(t=t.data)||"isStart"===t}function u(t,e,i){var n,o,r,s=t.labels,a=t._recent||Le,l=t.duration()>=H?a.endTime(!1):t._dur;return F(e)&&(isNaN(e)||e in s)?(o=e.charAt(0),r="%"===e.substr(-1),n=e.indexOf("="),"<"===o||">"===o?(0<=n&&(e=e.replace(/=/,"")),("<"===o?a._start:a.endTime(0<=a._repeat))+(parseFloat(e.substr(1))||0)*(r?(n<0?a:i).totalDuration()/100:1)):n<0?(e in s||(s[e]=l),s[e]):(o=parseFloat(e.charAt(n-1)+e.substr(n+1)),r&&i&&(o=o/100*(I(i)?i[0]:i).totalDuration()),1<n?u(t,e.substr(0,n-1),i)+o:l+o)):null==e?l:+e}function Nt(t,e,i){return i<t?t:e<i?e:i}function k(t,e,i){return!F(t)||i||!Wt&&De()?I(t)?(n=i,void 0===o&&(o=[]),t.forEach(function(t){return F(t)&&!n||gt(t,1)?o.push.apply(o,k(t)):o.push(t)})||o):gt(t)?ze.call(t,0):t?[t]:[]:ze.call((e||Zt).querySelectorAll(t),0);var n,o}function jt(e,t,i,n,o){var r=t-e,s=n-i;return mt(o,function(t){return i+((t-e)/r*s||0)})}function b(t,e,i){var n=t.vars,o=n[e];if(o)e=n[e+"Params"],n=n.callbackScope||t,i&&Ae.length&&it(),e?o.apply(n,e):o.call(n)}var Ht,B,i,Wt,Zt,qt,Gt,Vt,$t,Ut,Yt,Xt,s,Kt,Qt,Jt,te,ee,ie,ne,oe,re,se,ae,j={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},le={duration:.5,overwrite:!1,delay:0},H=1e8,W=1/H,ue=2*Math.PI,ce=ue/4,he=0,de=Math.sqrt,pe=Math.cos,fe=Math.sin,me="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},I=Array.isArray,ge=/(?:-?\.?\d|\.)+/gi,ve=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ye=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,_e=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,we=/[+-]=-?[.\d]+/,be=/[^,'"\[\]\s]+/gi,xe=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,a={},Te={},Ae=[],Se={},Z={},Ee={},Me=30,Ce=[],Pe="",Le={_start:0,endTime:v,totalDuration:v},ze=[].slice,d=255,ke={aqua:[0,d,d],lime:[0,d,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,d],navy:[0,0,128],white:[d,d,d],olive:[128,128,0],yellow:[d,d,0],orange:[d,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[d,0,0],pink:[d,192,203],cyan:[0,d,d],transparent:[d,d,d,0]},Ie=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in ke)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Oe=/hsl[a]?\(/,f=(Jt=Date.now,te=500,ee=33,ie=Jt(),ne=ie,re=oe=1e3/240,s={time:0,frame:0,tick:function(){je(!0)},deltaRatio:function(t){return Kt/(1e3/(t||60))},wake:function(){Gt&&(!Wt&&l()&&(i=Wt=window,Zt=i.document||{},a.gsap=c,(i.gsapVersions||(i.gsapVersions=[])).push(c.version),m(qt||i.GreenSockGlobals||!i.gsap&&i||{}),Xt=i.requestAnimationFrame),Ut&&s.sleep(),Yt=Xt||function(t){return setTimeout(t,re-1e3*s.time+1|0)},$t=1,je(2))},sleep:function(){(Xt?i.cancelAnimationFrame:clearTimeout)(Ut),$t=0,Yt=v},lagSmoothing:function(t,e){te=t||1e8,ee=Math.min(e,te,0)},fps:function(t){oe=1e3/(t||240),re=1e3*s.time+oe},add:function(o,t,e){var r=t?function(t,e,i,n){o(t,e,i,n),s.remove(r)}:o;return s.remove(o),se[e?"unshift":"push"](r),De(),r},remove:function(t,e){~(e=se.indexOf(t))&&se.splice(e,1)&&e<=Qt&&Qt--},_listeners:se=[]}),De=function(){return!$t&&f.wake()},q={},Re=/^[\d.\-M][\d.\-,\s]/,Be=/["']/g,Fe=function(e){return function(t){return 1-e(1-t)}},Ne=function(t,e){return t&&(h(t)?t:q[t]||(r=((t=t)+"").split("("),(s=q[r[0]])&&1<r.length&&s.config?s.config.apply(null,~t.indexOf("{")?[function(t){for(var e,i,n,o={},r=t.substr(1,t.length-3).split(":"),s=r[0],a=1,l=r.length;a<l;a++)i=r[a],e=a!==l-1?i.lastIndexOf(","):i.length,n=i.substr(0,e),o[s]=isNaN(n)?n.replace(Be,"").trim():+n,s=i.substr(e+1).trim();return o}(r[1])]:(i=(r=t).indexOf("(")+1,n=r.indexOf(")"),o=r.indexOf("(",i),r.substring(i,~o&&o<n?r.indexOf(")",n+1):n).split(",").map(w))):q._CE&&Re.test(t)?q._CE("",t):s))||e;var i,n,o,r,s};function je(t){var e,i,n,o=Jt()-ne,r=!0===t;if(te<o&&(ie+=o-ee),(0<(o=(i=(ne+=o)-ie)-re)||r)&&(n=++s.frame,Kt=i-1e3*s.time,s.time=i/=1e3,re+=o+(oe<=o?4:oe-o),e=1),r||(Ut=Yt(je)),e)for(Qt=0;Qt<se.length;Qt++)se[Qt](i,Kt,n,t)}function He(t){return t<1/2.75?ae*t*t:t<.7272727272727273?ae*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?ae*(t-=2.25/2.75)*t+.9375:ae*Math.pow(t-2.625/2.75,2)+.984375}p("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var i=e<5?e+1:e;kt(t+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},function(t){return 1-Math.pow(1-t,i)},function(t){return t<.5?Math.pow(2*t,i)/2:1-Math.pow(2*(1-t),i)/2})}),q.Linear.easeNone=q.none=q.Linear.easeIn,kt("Elastic",Ot("in"),Ot("out"),Ot()),ae=7.5625,kt("Bounce",function(t){return 1-He(1-t)},He),kt("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),kt("Circ",function(t){return-(de(1-t*t)-1)}),kt("Sine",function(t){return 1===t?1:1-pe(t*ce)}),kt("Back",Dt("in"),Dt("out"),Dt()),q.SteppedEase=q.steps=a.SteppedEase={config:function(t,e){var i=1/(t=void 0===t?1:t),n=t+(e?0:1),o=e?1:0;return function(t){return((n*Nt(0,.99999999,t)|0)+o)*i}}},le.ease=q["quad.out"],p("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Pe+=t+","+t+"Params,"});var We=function(t,e){this.id=he++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:y,this.set=e?e.getSetter:pi},Ze=((e=qe.prototype).delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,dt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(De(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(lt(this,t),i._dp&&!i.parent&&ut(i,this);i&&i.parent;)i.parent._time!==i._start+(0<=i._ts?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&z(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===W||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),_(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+rt(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+rt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*i,e):this._repeat?Bt(this._tTime,i)+1:1},e.timeScale=function(t){if(!arguments.length)return this._rts===-W?0:this._rts;if(this._rts===t)return this;for(var e=this.parent&&this._ts?st(this.parent._time,this):this._tTime,t=(this._rts=+t||0,this._ts=this._ps||t===-W?0:this._rts,this.totalTime(Nt(-this._delay,this._tDur,e),!0),at(this),this),i=t.parent;i&&i.parent;)i._dirty=1,i.totalDuration(),i=i.parent;return t},e.paused=function(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(De(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==W&&(this._tTime-=W)))),this):this._ps},e.startTime=function(t){var e;return arguments.length?(this._start=t,!(e=this.parent||this._dp)||!e._sort&&this.parent||z(e,this,t-this._delay),this):this._start},e.endTime=function(t){return this._start+(!1!==t?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?st(e.rawTime(t),this):this._tTime:this._tTime},e.globalTime=function(t){for(var e=this,i=arguments.length?t:e.rawTime();e;)i=e._start+i/(e._ts||1),e=e._dp;return i},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,pt(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){var e;return arguments.length?(e=this._time,this._rDelay=t,pt(this),e?this.time(e):this):this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(u(this,t),!1!==e)},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,!1!==e)},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-W:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-W,this},e.isActive=function(){var t=this.parent||this._dp,e=this._start;return!(t&&!(this._ts&&this._initted&&t.isActive()&&(t=t.rawTime(!0))>=e&&t<this.endTime(!0)-W))},e.eventCallback=function(t,e,i){var n=this.vars;return 1<arguments.length?(e?(n[t]=e,i&&(n[t+"Params"]=i),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},e.then=function(n){var o=this;return new Promise(function(e){function t(){var t=o.then;o.then=null,h(i)&&(i=i(o))&&(i.then||i===o)&&(o.then=t),e(i),o.then=t}var i=h(n)?n:x;o._initted&&1===o.totalProgress()&&0<=o._ts||!o._tTime&&o._ts<0?t():o._prom=t})},e.kill=function(){St(this)},qe);function qe(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,dt(this,+t.duration,1,1),this.data=t.data,$t||f.wake()}D(Ze.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-W,_prom:0,_ps:!1,_rts:1});n(Ve,Ge=Ze),(e=Ve.prototype).to=function(t,e,i){return ft(0,arguments,this),this},e.from=function(t,e,i){return ft(1,arguments,this),this},e.fromTo=function(t,e,i,n){return ft(2,arguments,this),this},e.set=function(t,e,i){return e.duration=0,e.parent=this,ot(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new V(t,e,u(this,i),1),this},e.call=function(t,e,i){return z(this,V.delayedCall(0,t,e),i)},e.staggerTo=function(t,e,i,n,o,r,s){return i.duration=e,i.stagger=i.stagger||n,i.onComplete=r,i.onCompleteParams=s,i.parent=this,new V(t,i,u(this,o)),this},e.staggerFrom=function(t,e,i,n,o,r,s){return i.runBackwards=1,ot(i).immediateRender=!1!==i.immediateRender,this.staggerTo(t,e,i,n,o,r,s)},e.staggerFromTo=function(t,e,i,n,o,r,s,a){return n.startAt=i,ot(n).immediateRender=!1!==n.immediateRender,this.staggerTo(t,e,n,o,r,s,a)},e.render=function(t,e,i){var n,o,r,s,a,l,u,c,h,d,p=this._time,f=this._dirty?this.totalDuration():this._tDur,m=this._dur,g=t<=0?0:L(t),v=this._zTime<0!=t<0&&(this._initted||!m);if((g=this!==B&&f<g&&0<=t?f:g)!==this._tTime||i||v){if(p!==this._time&&m&&(g+=this._time-p,t+=this._time-p),n=g,c=this._start,a=!(u=this._ts),v&&(m||(p=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(v=this._yoyo,s=m+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*s+t,e,i);if(n=L(g%s),g===f?(r=this._repeat,n=m):((r=~~(g/s))&&r===g/s&&(n=m,r--),m<n&&(n=m)),h=Bt(this._tTime,s),v&&1&r&&(n=m-n,d=1),r!==(h=!p&&this._tTime&&h!==r?r:h)&&!this._lock){var y=v&&1&h,v=y===(v&&1&r),p=(y=r<h?!y:y)?0:m;if(this._lock=1,this.render(p||(d?0:L(r*s)),e,!m)._lock=0,this._tTime=g,!e&&this.parent&&b(this,"onRepeat"),this.vars.repeatRefresh&&!d&&(this.invalidate()._lock=1),p&&p!==this._time||a!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(m=this._dur,f=this._tDur,v&&(this._lock=2,this.render(p=y?m:-1e-4,!0),this.vars.repeatRefresh)&&!d&&this.invalidate(),this._lock=0,!this._ts&&!a)return this;zt(this,d)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(l=function(t,e,i){var n;if(e<i)for(n=t._first;n&&n._start<=i;){if("isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=i;){if("isPause"===n.data&&n._start<e)return n;n=n._prev}}(this,L(p),L(n)))&&(g-=n-(n=l._start)),this._tTime=g,this._time=n,this._act=!u,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,p=0),!p&&n&&!e&&(b(this,"onStart"),this._tTime!==g))return this;if(p<=n&&0<=t)for(_=this._first;_;){if(o=_._next,(_._act||n>=_._start)&&_._ts&&l!==_){if(_.parent!==this)return this.render(t,e,i);if(_.render(0<_._ts?(n-_._start)*_._ts:(_._dirty?_.totalDuration():_._tDur)+(n-_._start)*_._ts,e,i),n!==this._time||!this._ts&&!a){l=0,o&&(g+=this._zTime=-W);break}}_=o}else for(var _=this._last,w=t<0?t:n;_;){if(o=_._prev,(_._act||w<=_._end)&&_._ts&&l!==_){if(_.parent!==this)return this.render(t,e,i);if(_.render(0<_._ts?(w-_._start)*_._ts:(_._dirty?_.totalDuration():_._tDur)+(w-_._start)*_._ts,e,i),n!==this._time||!this._ts&&!a){l=0,o&&(g+=this._zTime=w?-W:W);break}}_=o}if(l&&!e&&(this.pause(),l.render(p<=n?0:-W)._zTime=p<=n?1:-1,this._ts))return this._start=c,at(this),this.render(t,e,i);this._onUpdate&&!e&&b(this,"onUpdate",!0),!(g===f&&this._tTime>=this.totalDuration()||!g&&p)||c!==this._start&&Math.abs(u)===Math.abs(this._ts)||this._lock||(!t&&m||!(g===f&&0<this._ts||!g&&this._ts<0)||R(this,1),e)||t<0&&!p||!g&&!p&&f||(b(this,g===f&&0<=t?"onComplete":"onReverseComplete",!0),!this._prom)||g<f&&0<this.timeScale()||this._prom()}return this},e.add=function(t,e){var i=this;if(C(e)||(e=u(this,e,t)),!(t instanceof Ze)){if(I(t))return t.forEach(function(t){return i.add(t,e)}),this;if(F(t))return this.addLabel(t,e);if(!h(t))return this;t=V.delayedCall(0,t)}return this!==t?z(this,t,e):this},e.getChildren=function(t,e,i,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===i&&(i=!0),void 0===n&&(n=-H);for(var o=[],r=this._first;r;)r._start>=n&&(r instanceof V?e&&o.push(r):(i&&o.push(r),t&&o.push.apply(o,r.getChildren(!0,e,i)))),r=r._next;return o},e.getById=function(t){for(var e=this.getChildren(1,1,1),i=e.length;i--;)if(e[i].vars.id===t)return e[i]},e.remove=function(t){return F(t)?this.removeLabel(t):h(t)?this.killTweensOf(t):(S(this,t),t===this._recent&&(this._recent=this._last),E(this))},e.totalTime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=L(f.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),Ge.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function(t,e){return this.labels[t]=u(this,e),this},e.removeLabel=function(t){return delete this.labels[t],this},e.addPause=function(t,e,i){e=V.delayedCall(0,e||v,i);return e.data="isPause",this._hasPause=1,z(this,e,u(this,t))},e.removePause=function(t){var e=this._first;for(t=u(this,t);e;)e._start===t&&"isPause"===e.data&&R(e),e=e._next},e.killTweensOf=function(t,e,i){for(var n=this.getTweensOf(t,i),o=n.length;o--;)Xe!==n[o]&&n[o].kill(t,e);return this},e.getTweensOf=function(t,e){for(var i,n=[],o=k(t),r=this._first,s=C(e);r;)r instanceof V?function(t,e){for(var i=e.length,n=0;t.indexOf(e[n])<0&&++n<i;);return n<i}(r._targets,o)&&(s?(!Xe||r._initted&&r._ts)&&r.globalTime(0)<=e&&r.globalTime(r.totalDuration())>e:!e||r.isActive())&&n.push(r):(i=r.getTweensOf(o,e)).length&&n.push.apply(n,i),r=r._next;return n},e.tweenTo=function(t,e){e=e||{};var i,n=this,o=u(n,t),r=e.startAt,s=e.onStart,a=e.onStartParams,t=e.immediateRender,l=V.to(n,D({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:e.duration||Math.abs((o-(r&&"time"in r?r.time:n._time))/n.timeScale())||W,onStart:function(){var t;n.pause(),i||(t=e.duration||Math.abs((o-(r&&"time"in r?r.time:n._time))/n.timeScale()),l._dur!==t&&dt(l,t,0,1).render(l._time,!0,!0),i=1),s&&s.apply(l,a||[])}},e));return t?l.render(0):l},e.tweenFromTo=function(t,e,i){return this.tweenTo(e,D({startAt:{time:u(this,t)}},i))},e.recent=function(){return this._recent},e.nextLabel=function(t){return void 0===t&&(t=this._time),At(this,u(this,t))},e.previousLabel=function(t){return void 0===t&&(t=this._time),At(this,u(this,t),1)},e.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+W)},e.shiftChildren=function(t,e,i){void 0===i&&(i=0);for(var n,o=this._first,r=this.labels;o;)o._start>=i&&(o._start+=t,o._end+=t),o=o._next;if(e)for(n in r)r[n]>=i&&(r[n]+=t);return E(this)},e.invalidate=function(){var t=this._first;for(this._lock=0;t;)t.invalidate(),t=t._next;return Ge.prototype.invalidate.call(this)},e.clear=function(t){void 0===t&&(t=!0);for(var e,i=this._first;i;)e=i._next,this.remove(i),i=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),E(this)},e.totalDuration=function(t){var e,i,n,o=0,r=this,s=r._last,a=H;if(arguments.length)return r.timeScale((r._repeat<0?r.duration():r.totalDuration())/(r.reversed()?-t:t));if(r._dirty){for(n=r.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),a<(i=s._start)&&r._sort&&s._ts&&!r._lock?(r._lock=1,z(r,s,i-s._delay,1)._lock=0):a=i,i<0&&s._ts&&(o-=i,(!n&&!r._dp||n&&n.smoothChildTiming)&&(r._start+=i/r._ts,r._time-=i,r._tTime-=i),r.shiftChildren(-i,!1,-1/0),a=0),s._end>o&&s._ts&&(o=s._end),s=e;dt(r,r===B&&r._time>o?r._time:o,1,1),r._dirty=0}return r._tDur},Ve.updateRoot=function(t){if(B._ts&&(_(B,st(t,B)),Vt=f.frame),f.frame>=Me){Me+=j.autoSleep||120;var e=B._first;if((!e||!e._ts)&&j.autoSleep&&f._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||f.sleep()}}};var Ge,G=Ve;function Ve(t,e){var i;return(i=Ge.call(this,t=void 0===t?{}:t)||this).labels={},i.smoothChildTiming=!!t.smoothChildTiming,i.autoRemoveChildren=!!t.autoRemoveChildren,i._sort=!1!==t.sortChildren,B&&z(t.parent||B,M(i),e),t.reversed&&i.reverse(),t.paused&&i.paused(!0),t.scrollTrigger&&ct(M(i),t.scrollTrigger),i}function $e(t,e,i,n,o,r){var s,a,l,u;if(Z[t]&&!1!==(s=new Z[t]).init(o,s.rawVars?e[t]:function(t,e,i,n,o){if(!P(t=h(t)?Ye(t,o,e,i,n):t)||t.style&&t.nodeType||I(t)||me(t))return F(t)?Ye(t,o,e,i,n):t;var r,s={};for(r in t)s[r]=Ye(t[r],o,e,i,n);return s}(e[t],n,o,r,i),i,n,r)&&(i._pt=a=new $(i._pt,o,t,0,1,s.render,s,0,s.priority),i!==yi))for(l=i._ptLookup[i._targets.indexOf(o)],u=s._props.length;u--;)l[s._props[u]]=a;return s}D(G.prototype,{_lock:0,_hasPause:0,_forcing:0});function Ue(t,e){var i,n,o,r,s,a,l,u,c,h,d,p,f,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,_=m.lazy,w=m.onUpdate,b=m.onUpdateParams,x=m.callbackScope,T=m.runBackwards,A=m.yoyoEase,S=m.keyframes,E=m.autoRevert,M=t._dur,C=t._startAt,P=t._targets,L=t.parent,z=L&&"nested"===L.data?L.parent._targets:P,k="auto"===t._overwrite&&!Ht,I=t.timeline;if(t._ease=Ne(g=!I||S&&g?g:"none",le.ease),t._yEase=A?Fe(Ne(!0===A?g:A,le.ease)):0,A&&t._yoyo&&!t._repeat&&(A=t._yEase,t._yEase=t._ease,t._ease=A),t._from=!I&&!!m.runBackwards,!I||S&&!m.stagger){if(p=(u=P[0]?tt(P[0]).harness:0)&&m[u.prop],i=nt(m,Te),C&&(R(C.render(-1,!0)),C._lazy=0),v)if(R(t._startAt=V.set(P,D({data:"isStart",overwrite:!1,parent:L,immediateRender:!0,lazy:!1!==_,startAt:null,delay:0,onUpdate:w,onUpdateParams:b,callbackScope:x,stagger:0},v))),e<0&&!y&&!E&&t._startAt.render(-1,!0),y){if(0<e&&!E&&(t._startAt=0),M&&e<=0)return void(e&&(t._zTime=e))}else!1===E&&(t._startAt=0);else if(T&&M)if(C)E||(t._startAt=0);else if(o=D({overwrite:!1,data:"isFromStart",lazy:(y=e?!1:y)&&!1!==_,immediateRender:y,stagger:0,parent:L},i),p&&(o[u.prop]=p),R(t._startAt=V.set(P,o)),e<0&&t._startAt.render(-1,!0),t._zTime=e,y){if(!e)return}else Ue(t._startAt,W);for(_=M&&!1!==_||_&&!M,n=t._pt=t._ptCache=0;n<P.length;n++){if(l=(s=P[n])._gsap||J(P)[n]._gsap,t._ptLookup[n]=h={},Se[l.id]&&Ae.length&&it(),d=z===P?n:z.indexOf(s),u&&!1!==(c=new u).init(s,p||i,t,d,z)&&(t._pt=r=new $(t._pt,s,c.name,0,1,c.render,c,0,c.priority),c._props.forEach(function(t){h[t]=r}),c.priority)&&(a=1),!u||p)for(o in i)Z[o]&&(c=$e(o,i,t,d,s,z))?c.priority&&(a=1):h[o]=r=Je.call(t,s,o,"get",i[o],d,z,0,m.stringFilter);t._op&&t._op[n]&&t.kill(s,t._op[n]),k&&t._pt&&(Xe=t,B.killTweensOf(s,h,t.globalTime(e)),f=!t.parent,Xe=0),t._pt&&_&&(Se[l.id]=1)}a&&fi(t),t._onInit&&t._onInit(t)}t._onUpdate=w,t._initted=(!t._op||t._pt)&&!f,S&&e<=0&&I.render(H,!0,!0)}function Ye(t,e,i,n,o){return h(t)?t.call(e,i,n,o):F(t)&&~t.indexOf("random(")?Tt(t):t}var Xe,Ke,Qe,Je=function(t,e,i,n,o,r,s,a,l){h(n)&&(n=n(o||0,t,r));var u,o=t[e],r="get"!==i?i:h(o)?l?t[e.indexOf("set")||!h(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():o,i=h(o)?l?si:ri:oi;if(r!==(n=!F(n)||"="!==(n=~n.indexOf("random(")?Tt(n):n).charAt(1)||!(u=et(r,n)+(N(r)||0))&&0!==u?n:u)||Ke)return isNaN(r*n)||""===n?(o||e in t||K(e,n),function(t,e,i,n,o,r,s){var a,l,u,c,h,d=new $(this._pt,t,e,0,1,ui,null,o),p=0,f=0;for(d.b=i,d.e=n,i+="",(o=~(n+="").indexOf("random("))&&(n=Tt(n)),r&&(r(r=[i,n],t,e),i=r[0],n=r[1]),a=i.match(_e)||[];c=_e.exec(n);)u=c[0],c=n.substring(p,c.index),l?l=(l+1)%5:"rgba("===c.substr(-5)&&(l=1),u!==a[f++]&&(h=parseFloat(a[f-1])||0,d._pt={_next:d._pt,p:c||1===f?c:",",s:h,c:"="===u.charAt(1)?et(h,u)-h:parseFloat(u)-h,m:l&&l<4?Math.round:0},p=_e.lastIndex);return d.c=p<n.length?n.substring(p,n.length):"",d.fp=s,(we.test(n)||o)&&(d.e=0),this._pt=d}.call(this,t,e,r,n,i,a||j.stringFilter,l)):(u=new $(this._pt,t,e,+r||0,n-(r||0),"boolean"==typeof o?li:ai,0,i),l&&(u.fp=l),s&&u.modifier(s,this,t),this._pt=u)},ti=Pe+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ei={},V=(p(ti+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return ei[t]=1}),n(o,Qe=Ze),(e=o.prototype).render=function(t,e,i){var n,o,r=this._time,s=this._tDur,a=this._dur,l=s-W<t&&0<=t?s:t<W?0:t;if(a){if(l!==this._tTime||!t||i||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=t<0){if(m=l,d=this.timeline,this._repeat){if(u=a+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*u+t,e,i);if(m=L(l%u),l===s?(v=this._repeat,m=a):((v=~~(l/u))&&v===l/u&&(m=a,v--),a<m&&(m=a)),(h=this._yoyo&&1&v)&&(c=this._yEase,m=a-m),y=Bt(this._tTime,u),m===r&&!i&&this._initted)return this._tTime=l,this;v!==y&&(d&&this._yEase&&zt(d,h),!this.vars.repeatRefresh||h||this._lock||(this._lock=i=1,this.render(L(u*v),!0).invalidate()._lock=0))}if(!this._initted){if(ht(this,t<0?t:m,i,e))return this._tTime=0,this;if(r!==this._time)return this;if(a!==this._dur)return this.render(t,e,i)}if(this._tTime=l,this._time=m,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=o=(c||this._ease)(m/a),this._from&&(this.ratio=o=1-o),m&&!r&&!e&&(b(this,"onStart"),this._tTime!==l))return this;for(n=this._pt;n;)n.r(o,n.d),n=n._next;d&&d.render(t<0?t:!m&&h?-W:d._dur*d._ease(m/this._dur),e,i)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,i),b(this,"onUpdate")),this._repeat&&v!==y&&this.vars.onRepeat&&!e&&this.parent&&b(this,"onRepeat"),l!==this._tDur&&l||this._tTime!==l||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),!t&&a||!(l===this._tDur&&0<this._ts||!l&&this._ts<0)||R(this,1),e)||t<0&&!r||!l&&!r||(b(this,l===s?"onComplete":"onReverseComplete",!0),!this._prom)||l<s&&0<this.timeScale()||this._prom()}}else{var u=this;var c=t;var h=e;var d=i;var p,f,m=u.ratio,g=c<0||!c&&(!u._start&&function t(e){e=e.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||t(e))}(u)&&(u._initted||!Ft(u))||(u._ts<0||u._dp._ts<0)&&!Ft(u))?0:1,v=u._rDelay,y=0;if(v&&u._repeat&&(y=Nt(0,u._tDur,c),f=Bt(y,v),u._yoyo&&1&f&&(g=1-g),f!==Bt(u._tTime,v))&&(m=1-g,u.vars.repeatRefresh)&&u._initted&&u.invalidate(),g!==m||d||u._zTime===W||!c&&u._zTime){if(u._initted||!ht(u,c,d,h)){for(f=u._zTime,u._zTime=c||(h?W:0),h=h||c&&!f,u.ratio=g,u._from&&(g=1-g),u._time=0,u._tTime=y,p=u._pt;p;)p.r(g,p.d),p=p._next;u._startAt&&c<0&&u._startAt.render(c,!0,!0),u._onUpdate&&!h&&b(u,"onUpdate"),y&&u._repeat&&!h&&u.parent&&b(u,"onRepeat"),(c>=u._tDur||c<0)&&u.ratio===g&&(g&&R(u,1),h||(b(u,g?"onComplete":"onReverseComplete",!0),u._prom&&u._prom()))}}else u._zTime||(u._zTime=c)}return this},e.targets=function(){return this._targets},e.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),Qe.prototype.invalidate.call(this)},e.resetTo=function(t,e,i,n){$t||f.wake(),this._ts||this.play();var o,r=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Ue(this,r),o=this._ease(r/this._dur),function(t,e,i,n,o,r,s){var a,l,u,c=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!c)for(c=t._ptCache[e]=[],l=t._ptLookup,u=t._targets.length;u--;){if((a=l[u][e])&&a.d&&a.d._pt)for(a=a.d._pt;a&&a.p!==e;)a=a._next;if(!a)return Ke=1,t.vars[e]="+=0",Ue(t,s),Ke=0,1;c.push(a)}for(u=c.length;u--;)(a=c[u]).s=!n&&0!==n||o?a.s+(n||0)+r*a.c:n,a.c=i-a.s,a.e&&(a.e=O(i)+N(a.e)),a.b&&(a.b=a.s+N(a.b))}(this,t,e,i,n,o,r)?this.resetTo(t,e,i,n):(lt(this,0),this.parent||A(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?St(this):this;if(this.timeline)d=this.timeline.totalDuration(),this.timeline.killTweensOf(t,e,Xe&&!0!==Xe.vars.overwrite)._first||St(this),this.parent&&d!==this.timeline.totalDuration()&&dt(this,this._dur*this.timeline._tDur/d,0,1);else{var i,n,o,r,s,a,l,u=this._targets,c=t?k(t):u,h=this._ptLookup,d=this._pt;if((!e||"all"===e)&&function(t,e){for(var i=t.length,n=i===e.length;n&&i--&&t[i]===e[i];);return i<0}(u,c))return"all"===e&&(this._pt=0),St(this);for(i=this._op=this._op||[],"all"!==e&&(F(e)&&(s={},p(e,function(t){return s[t]=1}),e=s),e=function(t,e){var i,n,o,r,t=t[0]?tt(t[0]).harness:0,s=t&&t.aliases;if(!s)return e;for(n in i=Rt({},e),s)if(n in i)for(o=(r=s[n].split(",")).length;o--;)i[r[o]]=i[n];return i}(u,e)),l=u.length;l--;)if(~c.indexOf(u[l]))for(s in n=h[l],"all"===e?(i[l]=e,r=n,o={}):(o=i[l]=i[l]||{},r=e),r)(a=n&&n[s])&&("kill"in a.d&&!0!==a.d.kill(s)||S(this,a,"_pt"),delete n[s]),"all"!==o&&(o[s]=1);this._initted&&!this._pt&&d&&St(this)}return this},o.to=function(t,e,i){return new o(t,e,i)},o.from=function(t,e){return ft(1,arguments)},o.delayedCall=function(t,e,i,n){return new o(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},o.fromTo=function(t,e,i){return ft(2,arguments)},o.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new o(t,e)},o.killTweensOf=function(t,e,i){return B.killTweensOf(t,e,i)},o);function o(t,e,i,n){var o;"number"==typeof e&&(i.duration=e,e=i,i=null);var r,s,a,l,u,c,h,d,n=(o=Qe.call(this,n?e:ot(e))||this).vars,p=n.duration,f=n.delay,m=n.immediateRender,g=n.stagger,v=n.overwrite,y=n.keyframes,_=n.defaults,w=n.scrollTrigger,b=n.yoyoEase,n=e.parent||B,x=(I(t)||me(t)?C(t[0]):"length"in e)?[t]:k(t);if(o._targets=x.length?J(x):Q("GSAP target "+t+" not found. https://greensock.com",!j.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=v,y||g||X(p)||X(f)){if(e=o.vars,(r=o.timeline=new G({data:"nested",defaults:_||{}})).kill(),r.parent=r._dp=M(o),r._start=0,g||X(p)||X(f)){if(l=x.length,h=g&&yt(g),P(g))for(u in g)~ti.indexOf(u)&&((d=d||{})[u]=g[u]);for(s=0;s<l;s++)(a=nt(e,ei)).stagger=0,b&&(a.yoyoEase=b),d&&Rt(a,d),c=x[s],a.duration=+Ye(p,M(o),s,c,x),a.delay=(+Ye(f,M(o),s,c,x)||0)-o._delay,!g&&1===l&&a.delay&&(o._delay=f=a.delay,o._start+=f,a.delay=0),r.to(c,a,h?h(s,c,x):0),r._ease=q.none;r.duration()?p=f=0:o.timeline=0}else if(y){ot(D(r.vars.defaults,{ease:"none"})),r._ease=Ne(y.ease||e.ease||"none");var T,A,S,E=0;if(I(y))y.forEach(function(t){return r.to(x,t,">")});else{for(u in a={},y)"ease"!==u&&"easeEach"!==u&&function(t,i,e,n){var o,r,s=i.ease||n||"power1.inOut";if(I(i))r=e[t]||(e[t]=[]),i.forEach(function(t,e){return r.push({t:e/(i.length-1)*100,v:t,e:s})});else for(o in i)r=e[o]||(e[o]=[]),"ease"!==o&&r.push({t:parseFloat(t),v:i[o],e:s})}(u,y[u],a,y.easeEach);for(u in a)for(T=a[u].sort(function(t,e){return t.t-e.t}),s=E=0;s<T.length;s++)(S={ease:(A=T[s]).e,duration:(A.t-(s?T[s-1].t:0))/100*p})[u]=A.v,r.to(x,S,E),E+=S.duration;r.duration()<p&&r.to({},{duration:p-r.duration()})}}p||o.duration(p=r.duration())}else o.timeline=0;return!0!==v||Ht||(Xe=M(o),B.killTweensOf(x),Xe=0),z(n,M(o),i),e.reversed&&o.reverse(),e.paused&&o.paused(!0),(m||!p&&!y&&o._start===L(n._time)&&!1!==m&&function t(e){return!e||e._ts&&t(e.parent)}(M(o))&&"nested"!==n.data)&&(o._tTime=-W,o.render(Math.max(0,-f))),w&&ct(M(o),w),o}function ii(t,e,i){return t.setAttribute(e,i)}function ni(t,e,i,n){n.mSet(t,e,n.m.call(n.tween,i,n.mt),n)}D(V.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),p("staggerTo,staggerFrom,staggerFromTo",function(i){V[i]=function(){var t=new G,e=ze.call(arguments,0);return e.splice("staggerFromTo"===i?5:4,0,0),t[i].apply(t,e)}});function oi(t,e,i){return t[e]=i}function ri(t,e,i){return t[e](i)}function si(t,e,i,n){return t[e](n.fp,i)}function ai(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)}function li(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)}function ui(t,e){var i=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*t):Math.round(1e4*(i.s+i.c*t))/1e4)+n,i=i._next;n+=e.c}e.set(e.t,e.p,n,e)}function ci(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next}function hi(t,e,i,n){for(var o,r=this._pt;r;)o=r._next,r.p===n&&r.modifier(t,e,i),r=o}function di(t){for(var e,i,n=this._pt;n;)i=n._next,n.p===t&&!n.op||n.op===t?S(this,n,"_pt"):n.dep||(e=1),n=i;return!e}var pi=function(t,e){return h(t[e])?ri:r(t[e])&&t.setAttribute?ii:oi},fi=function(t){for(var e,i,n,o,r=t._pt;r;){for(e=r._next,i=n;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:o)?r._prev._next=r:n=r,(r._next=i)?i._prev=r:o=r,r=e}t._pt=n},$=(mi.prototype.modifier=function(t,e,i){this.mSet=this.mSet||this.set,this.set=ni,this.m=t,this.mt=i,this.tween=e},mi);function mi(t,e,i,n,o,r,s,a,l){this.t=e,this.s=n,this.c=o,this.p=i,this.r=r||ai,this.d=s||this,this.set=a||oi,this.pr=l||0,(this._next=t)&&(t._prev=this)}p(Pe+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return Te[t]=1}),a.TweenMax=a.TweenLite=V,a.TimelineLite=a.TimelineMax=G,B=new G({sortChildren:!1,defaults:le,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),j.stringFilter=Lt;var gi={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(t){var e=(t=!t.name&&t.default||t).name,i=h(t),i=e&&!i&&t.init?function(){this._props=[]}:t,n={init:v,render:ci,add:Je,kill:di,modifier:hi,rawVars:0},o={targetTest:0,get:0,getSetter:pi,aliases:{},register:0};if(De(),t!==i){if(Z[e])return;D(i,D(nt(t,n),o)),Rt(i.prototype,Rt(n,nt(t,o))),Z[i.prop=e]=i,t.targetTest&&(Ce.push(i),Te[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}g(e,i),t.register&&t.register(c,i,$)})},timeline:function(t){return new G(t)},getTweensOf:function(t,e){return B.getTweensOf(t,e)},getProperty:function(n,t,e,i){var o=tt((n=F(n)?k(n)[0]:n)||{}).get,r=e?x:w;return"native"===e&&(e=""),n&&(t?r((Z[t]&&Z[t].get||o)(n,t,e,i)):function(t,e,i){return r((Z[t]&&Z[t].get||o)(n,t,e,i))})},quickSetter:function(i,e,n){var o,r;if(1<(i=k(i)).length)return o=i.map(function(t){return c.quickSetter(t,e,n)}),r=o.length,function(t){for(var e=r;e--;)o[e](t)};i=i[0]||{};var s=Z[e],a=tt(i),l=a.harness&&(a.harness.aliases||{})[e]||e,u=s?function(t){var e=new s;yi._pt=0,e.init(i,n?t+n:t,yi,0,[i]),e.render(1,e),yi._pt&&ci(1,yi)}:a.set(i,l);return s?u:function(t){return u(i,l,n?t+n:t,a,1)}},quickTo:function(t,n,e){function i(t,e,i){return o.resetTo(n,t,e,i)}var o=c.to(t,Rt(((t={})[n]="+=0.1",t.paused=!0,t),e||{}));return i.tween=o,i},isTweening:function(t){return 0<B.getTweensOf(t,!0).length},defaults:function(t){return t&&t.ease&&(t.ease=Ne(t.ease,le.ease)),T(le,t||{})},config:function(t){return T(j,t||{})},registerEffect:function(t){var n=t.name,o=t.effect,e=t.plugins,r=t.defaults,t=t.extendTimeline;(e||"").split(",").forEach(function(t){return t&&!Z[t]&&!a[t]&&Q(n+" effect requires "+t+" plugin.")}),Ee[n]=function(t,e,i){return o(k(t),D(e||{},r),i)},t&&(G.prototype[n]=function(t,e,i){return this.add(Ee[n](t,P(e)?e:(i=e)&&{},this),i)})},registerEase:function(t,e){q[t]=Ne(e)},parseEase:function(t,e){return arguments.length?Ne(t,e):q},getById:function(t){return B.getById(t)},exportRoot:function(t,e){var i,n,o=new G(t=void 0===t?{}:t);for(o.smoothChildTiming=!1!==t.smoothChildTiming,B.remove(o),o._dp=0,o._time=o._tTime=B._time,i=B._first;i;)n=i._next,!e&&!i._dur&&i instanceof V&&i.vars.onComplete===i._targets[0]||z(o,i,i._start-i._delay),i=n;return z(B,o,0),o},utils:{wrap:function t(e,i,n){var o=i-e;return I(e)?xt(e,t(0,e.length),i):mt(n,function(t){return(o+(t-e)%o)%o+e})},wrapYoyo:function t(e,i,n){var o=i-e,r=2*o;return I(e)?xt(e,t(0,e.length-1),i):mt(n,function(t){return e+(o<(t=(r+(t-e)%r)%r||0)?r-t:t)})},distribute:yt,random:bt,snap:wt,normalize:function(t,e,i){return jt(t,e,0,1,i)},getUnit:N,clamp:function(e,i,t){return mt(t,function(t){return Nt(e,i,t)})},splitColor:Mt,toArray:k,selector:function(i){return i=k(i)[0]||Q("Invalid scope")||{},function(t){var e=i.current||i.nativeElement||i;return k(t,e.querySelectorAll?e:e===i?Q("Invalid scope")||Zt.createElement("div"):i)}},mapRange:jt,pipe:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function(e,i){return function(t){return e(parseFloat(t))+(i||N(t))}},interpolate:function t(e,i,n,o){var r=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!r){var s,a,l,u,c,h=F(e),d={};if(!0===n&&(o=1,n=null),h)e={p:e},i={p:i};else if(I(e)&&!I(i)){for(l=[],u=e.length,c=u-2,a=1;a<u;a++)l.push(t(e[a-1],e[a]));u--,r=function(t){t*=u;var e=Math.min(c,~~t);return l[e](t-e)},n=i}else o||(e=Rt(I(e)?[]:{},e));if(!l){for(s in i)Je.call(d,e,s,"get",i[s]);r=function(t){return ci(t,d),h?e.p:e}}}return mt(n,r)},shuffle:vt},install:m,effects:Ee,ticker:f,updateRoot:G.updateRoot,plugins:Z,globalTimeline:B,core:{PropTween:$,globals:g,Tween:V,Timeline:G,Animation:Ze,getCache:tt,_removeLinkedListItem:S,suppressOverwrites:function(t){return Ht=t}}};function vi(t,c){return{name:t,rawVars:1,init:function(t,u,e){e._onInit=function(t){var e,i;if(F(u)&&(e={},p(u,function(t){return e[t]=1}),u=e),c){for(i in e={},u)e[i]=c(u[i]);u=e}var n,o,r,s=t,a=u,l=s._targets;for(n in a)for(o=l.length;o--;)(r=(r=s._ptLookup[o][n])&&r.d)&&(r._pt&&(r=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i}(r,n)),r)&&r.modifier&&r.modifier(a[n],s,l[o],n)}}}}p("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return gi[t]=V[t]}),f.add(G.updateRoot);var yi=gi.to({},{duration:0}),c=gi.registerPlugin({name:"attr",init:function(t,e,i,n,o){var r,s;for(r in e)(s=this.add(t,"setAttribute",(t.getAttribute(r)||0)+"",e[r],n,o,0,0,r))&&(s.op=r),this._props.push(r)}},{name:"endArray",init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i])}},vi("roundProps",_t),vi("modifiers"),vi("snap",wt))||gi;function _i(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function wi(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function bi(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function xi(t,e){t=e.s+e.c*t;e.set(e.t,e.p,~~(t+(t<0?-.5:.5))+e.u,e)}function Ti(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function Ai(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function Si(t,e,i){return t.style[e]=i}function Ei(t,e,i){return t.style.setProperty(e,i)}function Mi(t,e,i){return t._gsap[e]=i}function Ci(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i}function Pi(t,e,i,n,o){t=t._gsap;t.scaleX=t.scaleY=i,t.renderTransform(o,t)}function Li(t,e,i,n,o){t=t._gsap;t[e]=i,t.renderTransform(o,t)}function zi(t,e){e=Yi.createElementNS?Yi.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Yi.createElement(t);return e.style?e:Yi.createElement(t)}function U(t,e,i){var n=getComputedStyle(t);return n[e]||n.getPropertyValue(e.replace(Tn,"-$1").toLowerCase())||n.getPropertyValue(e)||!i&&U(t,Pn(e)||e,1)||""}function ki(){"undefined"!=typeof window&&window.document&&(Xi=(Yi=window.document).documentElement,Qi=zi("div")||{style:{}},zi("div"),Y=Pn(Y),Mn=Y+"Origin",Qi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",tn=!!Pn("perspective"),Ki=1)}function Ii(t){var e,i=zi("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,o=this.nextSibling,r=this.style.cssText;if(Xi.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=Ii}catch(t){}else this._gsapBBox&&(e=this._gsapBBox());return n&&(o?n.insertBefore(this,o):n.appendChild(this)),Xi.removeChild(i),this.style.cssText=r,e}function Oi(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])}function Di(e){var i;try{i=e.getBBox()}catch(t){i=Ii.call(e,!0)}return!(i=i&&(i.width||i.height)||e.getBBox===Ii?i:Ii.call(e,!0))||i.width||i.x||i.y?i:{x:+Oi(e,["x","cx","x1"])||0,y:+Oi(e,["y","cy","y1"])||0,width:0,height:0}}function Ri(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Di(t))}function Bi(t,e){e&&(t=t.style,e in _n&&e!==Mn&&(e=Y),t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(Tn,"-$1").toLowerCase())):t.removeAttribute(e))}function Fi(t,e,i,n,o,r){e=new $(t._pt,e,i,0,1,r?Ai:Ti);(t._pt=e).b=n,e.e=o,t._props.push(i)}function Ni(t,e,i,n){var o,r=parseFloat(i)||0,s=(i+"").trim().substr((r+"").length)||"px",a=Qi.style,l=An.test(e),u="svg"===t.tagName.toLowerCase(),c=(u?"client":"offset")+(l?"Width":"Height"),h="px"===n,d="%"===n;return n===s||!r||Ln[n]||Ln[s]?r:("px"===s||h||(r=Ni(t,e,i,"px")),i=t.getCTM&&Ri(t),!d&&"%"!==s||!_n[e]&&!~e.indexOf("adius")?(a[l?"width":"height"]=100+(h?s:n),e=~e.indexOf("adius")||"em"===n&&t.appendChild&&!u?t:t.parentNode,(n=(e=(e=i?(t.ownerSVGElement||{}).parentNode:e)&&e!==Yi&&e.appendChild?e:Yi.body)._gsap)&&d&&n.width&&l&&n.time===f.time?O(r/n.width*100):(!d&&"%"!==s||(a.position=U(t,"position")),e===t&&(a.position="static"),e.appendChild(Qi),o=Qi[c],e.removeChild(Qi),a.position="absolute",l&&d&&((n=tt(e)).time=f.time,n.width=e[c]),O(h?o*r/100:o&&r?100/o*r:0))):(o=i?t.getBBox()[l?"width":"height"]:t[c],O(d?r/o*100:r/100*o)))}function ji(t,e,i,n){var o;return Ki||ki(),e in En&&"transform"!==e&&~(e=En[e]).indexOf(",")&&(e=e.split(",")[0]),_n[e]&&"transform"!==e?(o=Dn(t,n),o="transformOrigin"!==e?o[e]:o.svg?o.origin:Rn(U(t,Mn))+" "+o.zOrigin+"px"):(o=t.style[e])&&"auto"!==o&&!n&&!~(o+"").indexOf("calc(")||(o=kn[e]&&kn[e](t,e,i)||U(t,e)||y(t,e)||("opacity"===e?1:0)),i&&!~(o+"").trim().indexOf(" ")?Ni(t,e,o,i)+i:o}function Hi(t,e,i,n){var o;i&&"none"!==i||((o=(r=Pn(e,t,1))&&U(t,r,1))&&o!==i?(e=r,i=o):"borderColor"===e&&(i=U(t,"borderTopColor")));var r,s,a,l,u,c,h,d,p,f=new $(this._pt,t.style,e,0,1,ui),m=0,g=0;if(f.b=i,f.e=n,i+="","auto"==(n+="")&&(t.style[e]=n,n=U(t,e)||n,t.style[e]=i),Lt(r=[i,n]),n=r[1],s=(i=r[0]).match(ye)||[],(n.match(ye)||[]).length){for(;h=ye.exec(n);)d=h[0],h=n.substring(m,h.index),l?l=(l+1)%5:"rgba("!==h.substr(-5)&&"hsla("!==h.substr(-5)||(l=1),d!==(u=s[g++]||"")&&(a=parseFloat(u)||0,p=u.substr((a+"").length),"="===d.charAt(1)&&(d=et(a,d)+p),c=parseFloat(d),d=d.substr((c+"").length),m=ye.lastIndex-d.length,d||(d=d||j.units[e]||p,m===n.length&&(n+=d,f.e+=d)),p!==d&&(a=Ni(t,e,u,d)||0),f._pt={_next:f._pt,p:h||1===g?h:",",s:a,c:c-a,m:l&&l<4||"zIndex"===e?Math.round:0});f.c=m<n.length?n.substring(m,n.length):""}else f.r="display"===e&&"none"===n?Ai:Ti;return we.test(n)&&(f.e=0),this._pt=f}function Wi(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i,n,o,r=e.t,s=r.style,a=e.u,e=r._gsap;if("all"===a||!0===a)s.cssText="",n=1;else for(o=(a=a.split(",")).length;-1<--o;)i=a[o],_n[i]&&(n=1,i="transformOrigin"===i?Mn:Y),Bi(r,i);n&&(Bi(r,Y),e)&&(e.svg&&r.removeAttribute("transform"),Dn(r,1),e.uncache=1)}}function Zi(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t}function qi(t){t=U(t,Y);return Zi(t)?In:t.substr(7).match(ve).map(O)}function Gi(t,e){var i,n,o,r=t._gsap||tt(t),s=t.style,a=qi(t);return r.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(a=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?In:a:(a!==In||t.offsetParent||t===Xi||r.svg||(n=s.display,s.display="block",(r=t.parentNode)&&t.offsetParent||(o=1,i=t.nextSibling,Xi.appendChild(t)),a=qi(t),n?s.display=n:Bi(t,"display"),o&&(i?r.insertBefore(t,i):r?r.appendChild(t):Xi.removeChild(t))),e&&6<a.length?[a[0],a[1],a[4],a[5],a[12],a[13]]:a)}function Vi(t,e,i,n,o,r){var s,a=t._gsap,o=o||Gi(t,!0),l=a.xOrigin||0,u=a.yOrigin||0,c=a.xOffset||0,h=a.yOffset||0,d=o[0],p=o[1],f=o[2],m=o[3],g=o[4],v=o[5],y=e.split(" "),_=parseFloat(y[0])||0,w=parseFloat(y[1])||0;i?o!==In&&(o=d*m-p*f)&&(s=_*(-p/o)+w*(d/o)-(d*v-p*g)/o,_=_*(m/o)+w*(-f/o)+(f*v-m*g)/o,w=s):(_=(o=Di(t)).x+(~y[0].indexOf("%")?_/100*o.width:_),w=o.y+(~(y[1]||y[0]).indexOf("%")?w/100*o.height:w)),n||!1!==n&&a.smooth?(a.xOffset=c+((g=_-l)*d+(v=w-u)*f)-g,a.yOffset=h+(g*p+v*m)-v):a.xOffset=a.yOffset=0,a.xOrigin=_,a.yOrigin=w,a.smooth=!!n,a.origin=e,a.originIsAbsolute=!!i,t.style[Mn]="0px 0px",r&&(Fi(r,a,"xOrigin",l,_),Fi(r,a,"yOrigin",u,w),Fi(r,a,"xOffset",c,a.xOffset),Fi(r,a,"yOffset",h,a.yOffset)),t.setAttribute("data-svg-origin",_+" "+w)}function $i(t,e,i){var n=N(e);return O(parseFloat(e)+parseFloat(Ni(t,"x",i+"px",n)))+n}function Ui(t,e){for(var i in e)t[i]=e[i];return t}V.version=G.version=c.version="3.10.4",Gt=1,l()&&De();var Yi,Xi,Ki,Qi,Ji,tn,e=q.Power0,en=q.Power1,nn=q.Power2,on=q.Power3,rn=q.Power4,sn=q.Linear,an=q.Quad,ln=q.Cubic,un=q.Quart,cn=q.Quint,hn=q.Strong,dn=q.Elastic,pn=q.Back,fn=q.SteppedEase,mn=q.Bounce,gn=q.Sine,vn=q.Expo,yn=q.Circ,_n={},wn=180/Math.PI,bn=Math.PI/180,xn=Math.atan2,Tn=/([A-Z])/g,An=/(left|right|width|margin|padding|x)/i,Sn=/[\s,\(]\S/,En={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Y="transform",Mn=Y+"Origin",Cn="O,Moz,ms,Ms,Webkit".split(","),Pn=function(t,e,i){var n=(e||Qi).style,o=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);o--&&!(Cn[o]+t in n););return o<0?null:(3===o?"ms":0<=o?Cn[o]:"")+t},Ln={deg:1,rad:1,turn:1},zn={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},kn={clearProps:function(t,e,i,n,o){if("isFromStart"!==o.data)return(e=t._pt=new $(t._pt,e,i,0,0,Wi)).u=n,e.pr=-10,e.tween=o,t._props.push(i),1}},In=[1,0,0,1,0,0],On={},Dn=function(t,e){var i,n,o,r,s,a,l,u,c,h,d,p,f,m,g,v,y,_,w,b,x,T,A,S,E,M,C,P,L,z,k,I=t._gsap||new We(t);return"x"in I&&!e&&!I.uncache||(C=t.style,P=I.scaleX<0,L=U(t,Mn)||"0",z=i=n=r=s=a=l=u=0,k=o=1,I.svg=!(!t.getCTM||!Ri(t)),c=Gi(t,I.svg),I.svg&&(_=(!I.uncache||"0px 0px"===L)&&!e&&t.getAttribute("data-svg-origin"),Vi(t,_||L,!!_||I.originIsAbsolute,!1!==I.smooth,c)),M=I.xOrigin||0,S=I.yOrigin||0,c!==In&&(p=c[0],f=c[1],m=c[2],g=c[3],z=v=c[4],i=y=c[5],6===c.length?(k=Math.sqrt(p*p+f*f),o=Math.sqrt(g*g+m*m),r=p||f?xn(f,p)*wn:0,(l=m||g?xn(m,g)*wn+r:0)&&(o*=Math.abs(Math.cos(l*bn))),I.svg&&(z-=M-(M*p+S*m),i-=S-(M*f+S*g))):(M=c[6],S=c[7],x=c[8],T=c[9],A=c[10],E=c[11],z=c[12],i=c[13],n=c[14],s=(c=xn(M,A))*wn,c&&(_=v*(h=Math.cos(-c))+x*(d=Math.sin(-c)),w=y*h+T*d,b=M*h+A*d,x=v*-d+x*h,T=y*-d+T*h,A=M*-d+A*h,E=S*-d+E*h,v=_,y=w,M=b),a=(c=xn(-m,A))*wn,c&&(h=Math.cos(-c),E=g*(d=Math.sin(-c))+E*h,p=_=p*h-x*d,f=w=f*h-T*d,m=b=m*h-A*d),r=(c=xn(f,p))*wn,c&&(_=p*(h=Math.cos(c))+f*(d=Math.sin(c)),w=v*h+y*d,f=f*h-p*d,y=y*h-v*d,p=_,v=w),s&&359.9<Math.abs(s)+Math.abs(r)&&(s=r=0,a=180-a),k=O(Math.sqrt(p*p+f*f+m*m)),o=O(Math.sqrt(y*y+M*M)),c=xn(v,y),l=2e-4<Math.abs(c)?c*wn:0,u=E?1/(E<0?-E:E):0),I.svg)&&(_=t.getAttribute("transform"),I.forceCSS=t.setAttribute("transform","")||!Zi(U(t,Y)),_)&&t.setAttribute("transform",_),90<Math.abs(l)&&Math.abs(l)<270&&(P?(k*=-1,l+=r<=0?180:-180,r+=r<=0?180:-180):(o*=-1,l+=l<=0?180:-180)),e=e||I.uncache,I.x=z-((I.xPercent=z&&(!e&&I.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-z)?-50:0)))?t.offsetWidth*I.xPercent/100:0)+"px",I.y=i-((I.yPercent=i&&(!e&&I.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*I.yPercent/100:0)+"px",I.z=n+"px",I.scaleX=O(k),I.scaleY=O(o),I.rotation=O(r)+"deg",I.rotationX=O(s)+"deg",I.rotationY=O(a)+"deg",I.skewX=l+"deg",I.skewY="0deg",I.transformPerspective=u+"px",(I.zOrigin=parseFloat(L.split(" ")[2])||0)&&(C[Mn]=Rn(L)),I.xOffset=I.yOffset=0,I.force3D=j.force3D,I.renderTransform=I.svg?jn:tn?Nn:Bn,I.uncache=0),I},Rn=function(t){return(t=t.split(" "))[0]+" "+t[1]},Bn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Nn(t,e)},Fn="0deg",Nn=function(t,e){var i,n,e=e||this,o=e.xPercent,r=e.yPercent,s=e.x,a=e.y,l=e.z,u=e.rotation,c=e.rotationY,h=e.rotationX,d=e.skewX,p=e.skewY,f=e.scaleX,m=e.scaleY,g=e.transformPerspective,v=e.force3D,y=e.target,e=e.zOrigin,_="",t="auto"===v&&t&&1!==t||!0===v;!e||h===Fn&&c===Fn||(v=parseFloat(c)*bn,n=Math.sin(v),i=Math.cos(v),v=parseFloat(h)*bn,s=$i(y,s,n*(n=Math.cos(v))*-e),a=$i(y,a,-Math.sin(v)*-e),l=$i(y,l,i*n*-e+e)),"0px"!==g&&(_+="perspective("+g+") "),(o||r)&&(_+="translate("+o+"%, "+r+"%) "),!t&&"0px"===s&&"0px"===a&&"0px"===l||(_+="0px"!==l||t?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+") "),u!==Fn&&(_+="rotate("+u+") "),c!==Fn&&(_+="rotateY("+c+") "),h!==Fn&&(_+="rotateX("+h+") "),d===Fn&&p===Fn||(_+="skew("+d+", "+p+") "),1===f&&1===m||(_+="scale("+f+", "+m+") "),y.style[Y]=_||"translate(0, 0)"},jn=function(t,e){var i,n,o,r,s,e=e||this,a=e.xPercent,l=e.yPercent,u=e.x,c=e.y,h=e.rotation,d=e.skewX,p=e.skewY,f=e.scaleX,m=e.scaleY,g=e.target,v=e.xOrigin,y=e.yOrigin,_=e.xOffset,w=e.yOffset,e=e.forceCSS,b=parseFloat(u),x=parseFloat(c),h=parseFloat(h),d=parseFloat(d);(p=parseFloat(p))&&(d+=p=parseFloat(p),h+=p),h||d?(h*=bn,d*=bn,i=Math.cos(h)*f,n=Math.sin(h)*f,o=Math.sin(h-d)*-m,r=Math.cos(h-d)*m,d&&(p*=bn,s=Math.tan(d-p),o*=s=Math.sqrt(1+s*s),r*=s,p)&&(s=Math.tan(p),i*=s=Math.sqrt(1+s*s),n*=s),i=O(i),n=O(n),o=O(o),r=O(r)):(i=f,r=m,n=o=0),(b&&!~(u+"").indexOf("px")||x&&!~(c+"").indexOf("px"))&&(b=Ni(g,"x",u,"px"),x=Ni(g,"y",c,"px")),(v||y||_||w)&&(b=O(b+v-(v*i+y*o)+_),x=O(x+y-(v*n+y*r)+w)),(a||l)&&(b=O(b+a/100*(s=g.getBBox()).width),x=O(x+l/100*s.height)),g.setAttribute("transform",s="matrix("+i+","+n+","+o+","+r+","+b+","+x+")"),e&&(g.style[Y]=s)};p("padding,margin,Width,Radius",function(e,i){var t="Bottom",a=(i<3?["Top","Right",t,"Left"]:["TopLeft","TopRight",t+"Right",t+"Left"]).map(function(t){return i<2?e+t:"border"+t+e});kn[1<i?"border"+e:e]=function(e,t,i,n,o){var r,s;if(arguments.length<4)return r=a.map(function(t){return ji(e,t,i)}),5===(s=r.join(" ")).split(r[0]).length?r[0]:s;r=(n+"").split(" "),s={},a.forEach(function(t,e){return s[t]=r[e]=r[e]||r[(e-1)/2|0]}),e.init(t,s,o)}});var Hn,Wn={name:"css",register:ki,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,n,o){var r,s,a,l,u,c,h,d,p,R,f,m,B,g,v,y,_,w,b,x=this._props,T=t.style,A=i.vars.startAt;for(u in Ki||ki(),e)if("autoRound"!==u&&(s=e[u],!Z[u]||!$e(u,e,i,n,t,o)))if(d=typeof s,l=kn[u],"function"===d&&(d=typeof(s=s.call(i,n,t,o))),"string"===d&&~s.indexOf("random(")&&(s=Tt(s)),l)l(this,t,u,s,i)&&(B=1);else if("--"===u.substr(0,2))r=(getComputedStyle(t).getPropertyValue(u)+"").trim(),s+="",Ie.lastIndex=0,Ie.test(r)||(c=N(r),h=N(s)),h?c!==h&&(r=Ni(t,u,r,h)+h):c&&(s+=c),this.add(T,"setProperty",r,s,n,o,0,0,u),x.push(u);else if("undefined"!==d){if(A&&u in A&&(N((r=F(r="function"==typeof A[u]?A[u].call(i,n,t,o):A[u])&&~r.indexOf("random(")?Tt(r):r)+"")||(r+=j.units[u]||N(ji(t,u))||""),"="!==(r+"").charAt(1))||(r=ji(t,u)),l=parseFloat(r),(d="string"===d&&"="===s.charAt(1)&&s.substr(0,2))&&(s=s.substr(2)),a=parseFloat(s),p=(u=u in En&&("autoAlpha"===u&&Fi(this,T,"visibility",(l=1===l&&"hidden"===ji(t,"visibility")&&a?0:l)?"inherit":"hidden",a?"inherit":"hidden",!a),"scale"!==u)&&"transform"!==u&&~(u=En[u]).indexOf(",")?u.split(",")[0]:u)in _n)if(R||((f=t._gsap).renderTransform&&!e.parseTransform||Dn(t,e.parseTransform),m=!1!==e.smoothOrigin&&f.smooth,(R=this._pt=new $(this._pt,T,Y,0,1,f.renderTransform,f,0,-1)).dep=1),"scale"===u)this._pt=new $(this._pt,f,"scaleY",f.scaleY,(d?et(f.scaleY,d+a):a)-f.scaleY||0),x.push("scaleY",u),u+="X";else{if("transformOrigin"===u){b=w=_=void 0,_=(y=s).split(" "),w=_[0],b=_[1]||"50%","top"!==w&&"bottom"!==w&&"left"!==b&&"right"!==b||(y=w,w=b,b=y),_[0]=zn[w]||w,_[1]=zn[b]||b,s=_.join(" "),f.svg?Vi(t,s,0,m,0,this):((h=parseFloat(s.split(" ")[2])||0)!==f.zOrigin&&Fi(this,f,"zOrigin",f.zOrigin,h),Fi(this,T,u,Rn(r),Rn(s)));continue}if("svgOrigin"===u){Vi(t,s,1,m,0,this);continue}if(u in On){y=this,w=f,b=u,_=l,g=d?et(l,d+s):s,v=D=k=void 0,k=F(g),D=parseFloat(g)*(k&&~g.indexOf("rad")?wn:1)-_,v=_+D+"deg",k&&("short"===(k=g.split("_")[1])&&(D%=360)!=D%180&&(D+=D<0?360:-360),"cw"===k&&D<0?D=(D+36e9)%360-360*~~(D/360):"ccw"===k&&0<D&&(D=(D-36e9)%360-360*~~(D/360))),y._pt=g=new $(y._pt,w,b,_,D,wi),g.e=v,g.u="deg",y._props.push(b);continue}if("smoothOrigin"===u){Fi(this,f,"smooth",f.smooth,s);continue}if("force3D"===u){f[u]=s;continue}if("transform"===u){D=O=L=C=P=M=E=S=I=k=z=void 0;var S,E,M,C,P,L,z=this,k=s,I=t,O=Ui({},I._gsap),D=I.style;for(E in O.svg?(M=I.getAttribute("transform"),I.setAttribute("transform",""),D[Y]=k,S=Dn(I,1),Bi(I,Y),I.setAttribute("transform",M)):(M=getComputedStyle(I)[Y],D[Y]=k,S=Dn(I,1),D[Y]=M),_n)(M=O[E])!==(P=S[E])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(E)<0&&(C=N(M)!==(L=N(P))?Ni(I,E,M,L):parseFloat(M),P=parseFloat(P),z._pt=new $(z._pt,S,E,C,P-C,_i),z._pt.u=L||0,z._props.push(E));Ui(S,O);continue}}else u in T||(u=Pn(u)||u);if(p||(a||0===a)&&(l||0===l)&&!Sn.test(s)&&u in T)a=a||0,(c=(r+"").substr((l+"").length))!==(h=N(s)||(u in j.units?j.units[u]:c))&&(l=Ni(t,u,r,h)),this._pt=new $(this._pt,p?f:T,u,l,(d?et(l,d+a):a)-l,p||"px"!==h&&"zIndex"!==u||!1===e.autoRound?_i:xi),this._pt.u=h||0,c!==h&&"%"!==h&&(this._pt.b=r,this._pt.r=bi);else if(u in T)Hi.call(this,t,u,r,d?d+s:s);else{if(!(u in t)){K(u,s);continue}this.add(t,u,r||t[u],d?d+s:s,n,o)}x.push(u)}B&&fi(this)},get:ji,aliases:En,getSetter:function(t,e,i){var n=En[e];return(e=n&&n.indexOf(",")<0?n:e)in _n&&e!==Mn&&(t._gsap.x||ji(t,"x"))?i&&Ji===i?"scale"===e?Ci:Mi:(Ji=i||{})&&("scale"===e?Pi:Li):t.style&&!r(t.style[e])?Si:~e.indexOf("-")?Ei:pi(t,e)},core:{_removeProperty:Bi,_getMatrix:Gi}},Zn=(c.utils.checkPrefix=Pn,Hn=p("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(Zn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){_n[t]=1}),p(Zn,function(t){j.units[t]="deg",On[t]=1}),En[Hn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+Zn,p("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){t=t.split(":");En[t[1]]=Hn[t[0]]}),p("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){j.units[t]="px"}),c.registerPlugin(Wn),c.registerPlugin(Wn)||c),qn=Zn.core.Tween;t.Back=pn,t.Bounce=mn,t.CSSPlugin=Wn,t.Circ=yn,t.Cubic=ln,t.Elastic=dn,t.Expo=vn,t.Linear=sn,t.Power0=e,t.Power1=en,t.Power2=nn,t.Power3=on,t.Power4=rn,t.Quad=an,t.Quart=un,t.Quint=cn,t.Sine=gn,t.SteppedEase=fn,t.Strong=hn,t.TimelineLite=G,t.TimelineMax=G,t.TweenLite=V,t.TweenMax=qn,t.default=Zn,t.gsap=Zn,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),function(c){var i="panr",n={sensitivity:20,scale:!1,scaleOnHover:!0,scaleTo:1.1,scaleDuration:.25,panY:!0,panX:!0,panDuration:0,resetPanOnMouseLeave:!1,onEnter:function(){},onLeave:function(){}};function e(t,e){this.element=t,this.settings=c.extend({},n,e),this._defaults=n,this._name=i,this.init()}e.prototype={init:function(){var e,i,n,o,r,s=this.settings,a=c(this.element),t=a.width(),l=(a.height(),a.width()-s.sensitivity),u=(t-l)/l;(s.scale||!s.scaleOnHover&&s.scale)&&TweenMax.set(a.find("img, video"),{scale:s.scaleTo}),"string"===jQuery.type(s.moveTarget)&&(s.moveTarget=c(this.element).parent(s.moveTarget)),s.moveTarget||(s.moveTarget=c(this.element)),s.moveTarget.on("mousemove",function(t){i=t.pageX-a.offset().left,e=t.pageY-a.offset().top,s.panX&&(n={x:-u*i}),s.panY&&(o={y:-u*e}),i=c.extend({},n,o),TweenMax.to(a.find("img, video"),s.panDuration,i)}),s.moveTarget.on("mouseenter",function(t){s.scaleOnHover&&TweenMax.to(a.find("img, video"),s.scaleDuration,{scale:s.scaleTo}),s.onEnter(a)}),s.scale&&(s.scaleOnHover||s.scale)?s.resetPanOnMouseLeave&&(r={x:0,y:0}):r={scale:1,x:0,y:0},s.moveTarget.on("mouseleave",function(t){var e=s.scaleDuration+.2;TweenMax.to(a.find("img, video"),e,r),s.onLeave(a)})}},c.fn.panr=function(t){return this.each(function(){c.data(this,"plugin_panr")||c.data(this,"plugin_panr",new e(this,t))})}}(jQuery,(window,document)),function(E){E(function(){E(window).width()<=1024||!E("body").hasClass("elementor-editor-active")&&0===E(".wd-parallax-on-scroll").length&&0===E("[data-parallax]").length||t.init()});var t={showLogs:!1,round:1e3,init:function(){this._log("init"),this._inited?(this._log("Already Inited"),this._inited=!0):(this._requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t,e){window.setTimeout(t,1e3/60)},this._onScroll(!0))},_inited:!1,_properties:["x","y","z","rotateX","rotateY","rotateZ","scaleX","scaleY","scaleZ","scale"],_requestAnimationFrame:null,_log:function(t){this.showLogs&&console.log("Parallax Scroll / "+t)},_onScroll:function(T){var A=E(document).scrollTop(),S=E(window).height();this._log("onScroll "+A),E("[data-parallax], .wd-parallax-on-scroll").each(E.proxy(function(t,e){var s=E(e),a=[],l=!1,i=s.data("style");if(null==i&&(i=s.attr("style")||"",s.data("style",i)),s.hasClass("wd-parallax-on-scroll"))for(var n=s.attr("class").split(" "),o=[[]],t=0;t<n.length;t++)0<=n[t].indexOf("wd_scroll")&&(d=n[t].split("_"),o[0][d[2]]=d[3]);else o=[s.data("parallax")];for(h=2;s.data("parallax"+h);h++)o.push(s.data("parallax-"+h));for(var r,u,c=o.length,h=0;h<c;h++){var d,p,f,m,g=(d=o[h])["from-scroll"],v=(null==g&&(g=Math.max(0,E(e).offset().top-S)),g|=0,d.distance),y=d["to-scroll"],_=(null==v&&null==y&&(v=S),v=Math.max(0|v,1),d.easing),w=d["easing-return"],b=(null!=_&&E.easing&&E.easing[_]||(_=null),null!=w&&E.easing&&E.easing[w]||(w=_),_&&(null==(p=d.duration)&&(p=v),p=Math.max(0|p,1),null==(f=d["duration-return"])&&(f=p),v=1,null==(m=s.data("current-time")))&&(m=0),null==y&&(y=g+v),y|=0,d.smoothness),x=(null==b&&(b=30),b|=0,!T&&0!=b||(b=1),b|=0,A),x=Math.max(x,g);x=Math.min(x,y),_&&(null==s.data("sens")&&s.data("sens","back"),g<x&&("back"==s.data("sens")?(m=1,s.data("sens","go")):m++),x<y&&("go"==s.data("sens")?(m=1,s.data("sens","back")):m++),T&&(m=p),s.data("current-time",m)),this._properties.map(E.proxy(function(t){var e,i,n,o=0,r=d[t];null!=r&&("scale"==t||"scaleX"==t||"scaleY"==t||"scaleZ"==t?o=1:r|=0,n=(e=null==(e=s.data("_"+t))?o:e)+((i=(x-g)/(y-g)*(r-o)+o)-e)/b,_&&0<m&&m<=p&&(o=o,"back"==s.data("sens")&&(r=-(o=r),_=w,p=f),n=E.easing[_](null,m,o,r,p)),(n=Math.ceil(n*this.round)/this.round)==e&&i==r&&(n=r),a[t]||(a[t]=0),a[t]+=n,e!=a[t])&&(s.data("_"+t,a[t]),l=!0)},this))}l&&(null!=a.z&&(null==(u=d.perspective)&&(u=800),(r=s.parent()).data("style")||r.data("style",r.attr("style")||""),r.attr("style","perspective:"+u+"px; -webkit-perspective:"+u+"px; "+r.data("style"))),null==a.scaleX&&(a.scaleX=1),null==a.scaleY&&(a.scaleY=1),null==a.scaleZ&&(a.scaleZ=1),null!=a.scale&&(a.scaleX*=a.scale,a.scaleY*=a.scale,a.scaleZ*=a.scale),this._log(u="translate3d("+(a.x||0)+"px, "+(a.y||0)+"px, "+(a.z||0)+"px)"+" "+("rotateX("+(a.rotateX||0)+"deg) rotateY("+(a.rotateY||0)+"deg) rotateZ("+(a.rotateZ||0)+"deg)")+" "+("scaleX("+a.scaleX+") scaleY("+a.scaleY+") scaleZ("+a.scaleZ+")")+";"),s.attr("style","transform:"+u+" -webkit-transform:"+u+" "+i))},this)),window.requestAnimationFrame?window.requestAnimationFrame(E.proxy(this._onScroll,this,!1)):this._requestAnimationFrame(E.proxy(this._onScroll,this,!1))}}}(jQuery),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,i,n,o){return jQuery.easing[jQuery.easing.def](t,e,i,n,o)},easeInQuad:function(t,e,i,n,o){return n*(e/=o)*e+i},easeOutQuad:function(t,e,i,n,o){return-n*(e/=o)*(e-2)+i},easeInOutQuad:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},easeInCubic:function(t,e,i,n,o){return n*(e/=o)*e*e+i},easeOutCubic:function(t,e,i,n,o){return n*((e=e/o-1)*e*e+1)+i},easeInOutCubic:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e*e+i:n/2*((e-=2)*e*e+2)+i},easeInQuart:function(t,e,i,n,o){return n*(e/=o)*e*e*e+i},easeOutQuart:function(t,e,i,n,o){return-n*((e=e/o-1)*e*e*e-1)+i},easeInOutQuart:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e*e*e+i:-n/2*((e-=2)*e*e*e-2)+i},easeInQuint:function(t,e,i,n,o){return n*(e/=o)*e*e*e*e+i},easeOutQuint:function(t,e,i,n,o){return n*((e=e/o-1)*e*e*e*e+1)+i},easeInOutQuint:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e*e*e*e+i:n/2*((e-=2)*e*e*e*e+2)+i},easeInSine:function(t,e,i,n,o){return-n*Math.cos(e/o*(Math.PI/2))+n+i},easeOutSine:function(t,e,i,n,o){return n*Math.sin(e/o*(Math.PI/2))+i},easeInOutSine:function(t,e,i,n,o){return-n/2*(Math.cos(Math.PI*e/o)-1)+i},easeInExpo:function(t,e,i,n,o){return 0==e?i:n*Math.pow(2,10*(e/o-1))+i},easeOutExpo:function(t,e,i,n,o){return e==o?i+n:n*(1-Math.pow(2,-10*e/o))+i},easeInOutExpo:function(t,e,i,n,o){return 0==e?i:e==o?i+n:(e/=o/2)<1?n/2*Math.pow(2,10*(e-1))+i:n/2*(2-Math.pow(2,-10*--e))+i},easeInCirc:function(t,e,i,n,o){return-n*(Math.sqrt(1-(e/=o)*e)-1)+i},easeOutCirc:function(t,e,i,n,o){return n*Math.sqrt(1-(e=e/o-1)*e)+i},easeInOutCirc:function(t,e,i,n,o){return(e/=o/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+i:n/2*(Math.sqrt(1-(e-=2)*e)+1)+i},easeInElastic:function(t,e,i,n,o){var r=1.70158,s=0,a=n;return 0==e?i:1==(e/=o)?i+n:(s=s||.3*o,r=a<Math.abs(n)?(a=n,s/4):s/(2*Math.PI)*Math.asin(n/a),-(a*Math.pow(2,10*--e)*Math.sin((e*o-r)*(2*Math.PI)/s))+i)},easeOutElastic:function(t,e,i,n,o){var r=1.70158,s=0,a=n;return 0==e?i:1==(e/=o)?i+n:(s=s||.3*o,r=a<Math.abs(n)?(a=n,s/4):s/(2*Math.PI)*Math.asin(n/a),a*Math.pow(2,-10*e)*Math.sin((e*o-r)*(2*Math.PI)/s)+n+i)},easeInOutElastic:function(t,e,i,n,o){var r=1.70158,s=0,a=n;return 0==e?i:2==(e/=o/2)?i+n:(s=s||o*(.3*1.5),r=a<Math.abs(n)?(a=n,s/4):s/(2*Math.PI)*Math.asin(n/a),e<1?a*Math.pow(2,10*--e)*Math.sin((e*o-r)*(2*Math.PI)/s)*-.5+i:a*Math.pow(2,-10*--e)*Math.sin((e*o-r)*(2*Math.PI)/s)*.5+n+i)},easeInBack:function(t,e,i,n,o,r){return n*(e/=o)*e*(((r=null==r?1.70158:r)+1)*e-r)+i},easeOutBack:function(t,e,i,n,o,r){return n*((e=e/o-1)*e*(((r=null==r?1.70158:r)+1)*e+r)+1)+i},easeInOutBack:function(t,e,i,n,o,r){return null==r&&(r=1.70158),(e/=o/2)<1?n/2*(e*e*((1+(r*=1.525))*e-r))+i:n/2*((e-=2)*e*((1+(r*=1.525))*e+r)+2)+i},easeInBounce:function(t,e,i,n,o){return n-jQuery.easing.easeOutBounce(t,o-e,0,n,o)+i},easeOutBounce:function(t,e,i,n,o){return(e/=o)<1/2.75?n*(7.5625*e*e)+i:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+i:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+i:n*(7.5625*(e-=2.625/2.75)*e+.984375)+i},easeInOutBounce:function(t,e,i,n,o){return e<o/2?.5*jQuery.easing.easeInBounce(t,2*e,0,n,o)+i:.5*jQuery.easing.easeOutBounce(t,2*e-o,0,n,o)+.5*n+i}}),function(l){var u=l(window),c=u.height();u.on("resize",function(){c=u.height()}),l.fn.parallax=function(n,o,t){var r,s,a=l(this);function e(){var i=u.scrollTop();a.hasClass("wd-parallax")&&a.each(function(){var t=l(this),e=t.offset().top;e+r(t)<i||i+c<e||a.attr("style","background-position: "+n+" "+Math.round((s-i)*o)+"px !important")})}a.each(function(){s=a.offset().top}),r=t?function(t){return t.outerHeight(!0)}:function(t){return t.height()},(arguments.length<1||null===n)&&(n="50%"),(arguments.length<2||null===o)&&(o=.1),(arguments.length<3||null===t)&&(t=!0),u.bind("scroll",e).on("resize",e),e()}}(jQuery),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.PhotoSwipe=e()}(this,function(){"use strict";return function(d,F,e,i){function t(){return{x:0,y:0}}function N(t,e){y.extend(_,e.publicMethods),Wt.push(t)}function j(t){var e=D();return e-1<t?t-e:t<0?e+t:t}function r(t,e){return Gt[t]||(Gt[t]=[]),Gt[t].push(e)}function H(t,e,i,n){n===_.currItem.initialZoomLevel?i[t]=_.currItem.initialPosition[t]:(i[t]=Xt(t,n),i[t]>e.min[t]?i[t]=e.min[t]:i[t]<e.max[t]&&(i[t]=e.max[t]))}function W(t){var e="";w.escKey&&27===t.keyCode?e="close":w.arrowKeys&&(37===t.keyCode?e="prev":39===t.keyCode&&(e="next")),!e||t.ctrlKey||t.altKey||t.shiftKey||t.metaKey||(t.preventDefault?t.preventDefault():t.returnValue=!1,_[e]())}function Z(t){t&&(Mt||Et||g||Tt)&&(t.preventDefault(),t.stopPropagation())}function q(){_.setScrollOffset(0,y.getScrollY())}function G(t){var e;"mousedown"===t.type&&0<t.button||(Xe?t.preventDefault():At&&"mousedown"===t.type||(Ce(t,!0)&&t.preventDefault(),S("pointerDown"),dt&&((e=y.arraySearch(de,t.pointerId,"id"))<0&&(e=de.length),de[e]={x:t.pageX,y:t.pageY,id:t.pointerId}),t=(e=Re(t)).length,u=null,se(),l&&1!==t||(l=zt=!0,y.bind(window,J,_),xt=Ot=kt=Tt=Pt=Mt=St=Et=!1,v=null,S("firstTouchStart",e),P(Ft,b),Bt.x=Bt.y=0,P(I,e[0]),P(he,I),pe.x=T.x*Nt,fe=[{x:I.x,y:I.y}],wt=_t=E(),te(f,!0),Te(),Ae()),!c&&1<t&&!g&&!Pt&&(et=f,c=St=!(Et=!1),Bt.y=Bt.x=0,P(Ft,b),P(z,e[0]),P(ce,e[1]),Le(z,ce,we),_e.x=Math.abs(we.x)-b.x,_e.y=Math.abs(we.y)-b.y,Lt=xe(z,ce))))}function V(t){var e;t.preventDefault(),dt&&-1<(e=y.arraySearch(de,t.pointerId,"id"))&&((e=de[e]).x=t.pageX,e.y=t.pageY),l&&(e=Re(t),v||Mt||c?u=e:O.x!==T.x*Nt?v="h":(t=Math.abs(e[0].x-I.x)-Math.abs(e[0].y-I.y),Math.abs(t)>=ue&&(v=0<t?"h":"v",u=e)))}function $(t){if(a.isOldAndroid){if(At&&"mouseup"===t.type)return;-1<t.type.indexOf("touch")&&(clearTimeout(At),At=setTimeout(function(){At=0},600))}S("pointerUp"),Ce(t,!1)&&t.preventDefault(),dt&&-1<(r=y.arraySearch(de,t.pointerId,"id"))&&(e=de.splice(r,1)[0],!navigator.pointerEnabled&&(e.type={4:"mouse",2:"touch",3:"pen"}[t.pointerType],e.type)||(e.type=t.pointerType||"mouse"));var e,i=(r=Re(t)).length;if(2===(i="mouseup"===t.type?0:i))return!(u=null);1===i&&P(he,r[0]),0!==i||v||g||(e||("mouseup"===t.type?e={x:t.pageX,y:t.pageY,type:"mouse"}:t.changedTouches&&t.changedTouches[0]&&(e={x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY,type:"touch"})),S("touchRelease",t,e));var n,o,r=-1;if(0===i&&(l=!1,y.unbind(window,J,_),Te(),c?r=0:-1!==ye&&(r=E()-ye)),ye=1===i?E():-1,t=-1!==r&&r<150?"zoom":"swipe",c&&i<2&&(c=!1,1===i&&(t="zoomPointerUp"),S("zoomGestureEnded")),u=null,Mt||Et||g||Tt)if(se(),(bt=bt||Ne()).calculateSwipeSpeed("x"),Tt)ke()<w.verticalDragRange?_.close():(n=b.y,o=It,ae("verticalDrag",0,1,300,y.easing.cubic.out,function(t){b.y=(_.currItem.initialPosition.y-n)*t+n,M((1-o)*t+o),C()}),S("onVerticalDrag",1));else{if((Pt||g)&&0===i){if(He(t,bt))return;t="zoomPointerUp"}g||("swipe"!==t?Ze():!Pt&&f>_.currItem.fitRatio&&je(bt))}}var U,Y,X,p,K,Q,J,tt,n,f,et,it,nt,ot,rt,s,st,at,lt,ut,ct,ht,dt,o,pt,ft,mt,gt,vt,yt,a,_t,wt,bt,xt,Tt,At,l,St,Et,Mt,Ct,Pt,u,c,Lt,h,m,g,v,zt,kt,It,Ot,Dt,y={features:null,bind:function(t,e,i,n){var o=(n?"remove":"add")+"EventListener";e=e.split(" ");for(var r=0;r<e.length;r++)e[r]&&t[o](e[r],i,!1)},isArray:function(t){return t instanceof Array},createEl:function(t,e){e=document.createElement(e||"div");return t&&(e.className=t),e},getScrollY:function(){var t=window.pageYOffset;return void 0!==t?t:document.documentElement.scrollTop},unbind:function(t,e,i){y.bind(t,e,i,!0)},removeClass:function(t,e){e=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(e," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(t,e){y.hasClass(t,e)||(t.className+=(t.className?" ":"")+e)},hasClass:function(t,e){return t.className&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t.className)},getChildByClass:function(t,e){for(var i=t.firstChild;i;){if(y.hasClass(i,e))return i;i=i.nextSibling}},arraySearch:function(t,e,i){for(var n=t.length;n--;)if(t[n][i]===e)return n;return-1},extend:function(t,e,i){for(var n in e)!e.hasOwnProperty(n)||i&&t.hasOwnProperty(n)||(t[n]=e[n])},easing:{sine:{out:function(t){return Math.sin(t*(Math.PI/2))},inOut:function(t){return-(Math.cos(Math.PI*t)-1)/2}},cubic:{out:function(t){return--t*t*t+1}}},detectFeatures:function(){if(y.features)return y.features;for(var t,e,i,n,o,r=y.createEl().style,s="",a={},l=(a.oldIE=document.all&&!document.addEventListener,a.touch="ontouchstart"in window,window.requestAnimationFrame&&(a.raf=window.requestAnimationFrame,a.caf=window.cancelAnimationFrame),a.pointerEvent=navigator.pointerEnabled||navigator.msPointerEnabled,a.pointerEvent||(t=navigator.userAgent,/iP(hone|od)/.test(navigator.platform)&&(e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/))&&0<e.length&&1<=(e=parseInt(e[1],10))&&e<8&&(a.isOldIOSPhone=!0),e=(e=t.match(/Android\s([0-9\.]*)/))?e[1]:0,1<=(e=parseFloat(e))&&(e<4.4&&(a.isOldAndroid=!0),a.androidVersion=e),a.isMobileOpera=/opera mini|opera mobi/i.test(t)),["transform","perspective","animationName"]),u=["","webkit","Moz","ms","O"],c=0;c<4;c++){for(var s=u[c],h=0;h<3;h++)i=l[h],n=s+(s?i.charAt(0).toUpperCase()+i.slice(1):i),!a[i]&&n in r&&(a[i]=n);s&&!a.raf&&(s=s.toLowerCase(),a.raf=window[s+"RequestAnimationFrame"],a.raf)&&(a.caf=window[s+"CancelAnimationFrame"]||window[s+"CancelRequestAnimationFrame"])}return a.raf||(o=0,a.raf=function(t){var e=(new Date).getTime(),i=Math.max(0,16-(e-o)),n=window.setTimeout(function(){t(e+i)},i);return o=e+i,n},a.caf=function(t){clearTimeout(t)}),a.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,y.features=a}},_=(y.detectFeatures(),y.features.oldIE&&(y.bind=function(t,e,i,n){e=e.split(" ");for(var o,r=(n?"detach":"attach")+"Event",s=function(){i.handleEvent.call(i)},a=0;a<e.length;a++)if(o=e[a])if("object"==typeof i&&i.handleEvent){if(n){if(!i["oldIE"+o])return!1}else i["oldIE"+o]=s;t[r]("on"+o,i["oldIE"+o])}else t[r]("on"+o,i)}),this),Rt=25,w={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(t){return"A"===t.tagName},getDoubleTapZoom:function(t,e){return t||e.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"},Bt=(y.extend(w,i),t()),Ft=t(),b=t(),x={},Nt=0,jt={},T=t(),A=0,Ht=!0,Wt=[],Zt={},qt=!1,Gt={},S=function(t){var e=Gt[t];if(e){var i=Array.prototype.slice.call(arguments);i.shift();for(var n=0;n<e.length;n++)e[n].apply(_,i)}},E=function(){return(new Date).getTime()},M=function(t){It=t,_.bg.style.opacity=t*w.bgOpacity},Vt=function(t,e,i,n,o){(!qt||o&&o!==_.currItem)&&(n/=(o||_.currItem).fitRatio),t[ht]=it+e+"px, "+i+"px"+nt+" scale("+n+")"},C=function(t){m&&(t&&(f>_.currItem.fitRatio?qt||(ri(_.currItem,!1,!0),qt=!0):qt&&(ri(_.currItem),qt=!1)),Vt(m,b.x,b.y,f))},$t=function(t){t.container&&Vt(t.container.style,t.initialPosition.x,t.initialPosition.y,t.initialZoomLevel,t)},Ut=function(t,e){e[ht]=it+t+"px, 0px"+nt},Yt=function(t,e){var i;!w.loop&&e&&(e=p+(T.x*Nt-t)/T.x,i=Math.round(t-O.x),e<0&&0<i||e>=D()-1&&i<0)&&(t=O.x+i*w.mainScrollEndFriction),O.x=t,Ut(t,K)},Xt=function(t,e){var i=_e[t]-jt[t];return Ft[t]+Bt[t]+i-e/et*i},P=function(t,e){t.x=e.x,t.y=e.y,e.id&&(t.id=e.id)},Kt=function(t){t.x=Math.round(t.x),t.y=Math.round(t.y)},Qt=null,Jt=function(){Qt&&(y.unbind(document,"mousemove",Jt),y.addClass(d,"pswp--has_mouse"),w.mouseUsed=!0,S("mouseUsed")),Qt=setTimeout(function(){Qt=null},100)},te=function(t,e){t=ni(_.currItem,x,t);return e&&(h=t),t},ee=function(t){return(t=t||_.currItem).initialZoomLevel},ie=function(t){return 0<(t=t||_.currItem).w?w.maxSpreadZoom:1},L={},ne=0,oe=function(t){L[t]&&(L[t].raf&&ft(L[t].raf),ne--,delete L[t])},re=function(t){L[t]&&oe(t),L[t]||(ne++,L[t]={})},se=function(){for(var t in L)L.hasOwnProperty(t)&&oe(t)},ae=function(t,e,i,n,o,r,s){function a(){L[t]&&(l=E()-u,n<=l?(oe(t),r(i),s&&s()):(r((i-e)*o(l/n)+e),L[t].raf=pt(a)))}var l,u=E();re(t);a()},i={shout:S,listen:r,viewportSize:x,options:w,isMainScrollAnimating:function(){return g},getZoomLevel:function(){return f},getCurrentIndex:function(){return p},isDragging:function(){return l},isZooming:function(){return c},setScrollOffset:function(t,e){jt.x=t,yt=jt.y=e,S("updateScrollOffset",jt)},applyZoomPan:function(t,e,i,n){b.x=e,b.y=i,f=t,C(n)},init:function(){if(!U&&!Y){_.framework=y,_.template=d,_.bg=y.getChildByClass(d,"pswp__bg"),mt=d.className,U=!0,a=y.detectFeatures(),pt=a.raf,ft=a.caf,ht=a.transform,vt=a.oldIE,_.scrollWrap=y.getChildByClass(d,"pswp__scroll-wrap"),_.container=y.getChildByClass(_.scrollWrap,"pswp__container"),K=_.container.style,_.itemHolders=s=[{el:_.container.children[0],wrap:0,index:-1},{el:_.container.children[1],wrap:0,index:-1},{el:_.container.children[2],wrap:0,index:-1}],s[0].el.style.display=s[2].el.style.display="none",ht?(e=a.perspective&&!o,it="translate"+(e?"3d(":"("),nt=a.perspective?", 0px)":")"):(ht="left",y.addClass(d,"pswp--ie"),Ut=function(t,e){e.left=t+"px"},$t=function(t){var e=1<t.fitRatio?1:t.fitRatio,i=t.container.style,n=e*t.w,e=e*t.h;i.width=n+"px",i.height=e+"px",i.left=t.initialPosition.x+"px",i.top=t.initialPosition.y+"px"},C=function(){var t,e,i,n;m&&(t=m,i=(n=1<(e=_.currItem).fitRatio?1:e.fitRatio)*e.w,n=n*e.h,t.width=i+"px",t.height=n+"px",t.left=b.x+"px",t.top=b.y+"px")}),n={resize:_.updateSize,scroll:q,keydown:W,click:Z};var t,e=a.isOldIOSPhone||a.isOldAndroid||a.isMobileOpera;for(a.animationName&&a.transform&&!e||(w.showAnimationDuration=w.hideAnimationDuration=0),t=0;t<Wt.length;t++)_["init"+Wt[t]]();F&&(_.ui=new F(_,y)).init(),S("firstUpdate"),p=p||w.index||0,(isNaN(p)||p<0||p>=D())&&(p=0),_.currItem=Ke(p),(a.isOldIOSPhone||a.isOldAndroid)&&(Ht=!1),d.setAttribute("aria-hidden","false"),w.modal&&(Ht?d.style.position="fixed":(d.style.position="absolute",d.style.top=y.getScrollY()+"px")),void 0===yt&&(S("initialLayout"),yt=gt=y.getScrollY());var i="pswp--open ";for(w.mainClass&&(i+=w.mainClass+" "),w.showHideOpacity&&(i+="pswp--animate_opacity "),i=(i=(i+=o?"pswp--touch":"pswp--notouch")+(a.animationName?" pswp--css_animation":""))+(a.svg?" pswp--svg":""),y.addClass(d,i),_.updateSize(),Q=-1,A=null,t=0;t<3;t++)Ut((t+Q)*T.x,s[t].el.style);vt||y.bind(_.scrollWrap,tt,_),r("initialZoomInEnd",function(){_.setContent(s[0],p-1),_.setContent(s[2],p+1),s[0].el.style.display=s[2].el.style.display="block",w.focus&&d.focus(),y.bind(document,"keydown",_),a.transform&&y.bind(_.scrollWrap,"click",_),w.mouseUsed||y.bind(document,"mousemove",Jt),y.bind(window,"resize scroll",_),S("bindEvents")}),_.setContent(s[1],p),_.updateCurrItem(),S("afterInit"),Ht||(ot=setInterval(function(){ne||l||c||f!==_.currItem.initialZoomLevel||_.updateSize()},1e3)),y.addClass(d,"pswp--visible")}},close:function(){U&&(Y=!(U=!1),S("close"),y.unbind(window,"resize",_),y.unbind(window,"scroll",n.scroll),y.unbind(document,"keydown",_),y.unbind(document,"mousemove",Jt),a.transform&&y.unbind(_.scrollWrap,"click",_),l&&y.unbind(window,J,_),S("unbindEvents"),Qe(_.currItem,null,!0,_.destroy))},destroy:function(){S("destroy"),$e&&clearTimeout($e),d.setAttribute("aria-hidden","true"),d.className=mt,ot&&clearInterval(ot),y.unbind(_.scrollWrap,tt,_),y.unbind(window,"scroll",_),Te(),se(),Gt=null},panTo:function(t,e,i){i||(t>h.min.x?t=h.min.x:t<h.max.x&&(t=h.max.x),e>h.min.y?e=h.min.y:e<h.max.y&&(e=h.max.y)),b.x=t,b.y=e,C()},handleEvent:function(t){t=t||window.event,n[t.type]&&n[t.type](t)},goTo:function(t){var e=(t=j(t))-p;A=e,p=t,_.currItem=Ke(p),Nt-=e,Yt(T.x*Nt),se(),g=!1,_.updateCurrItem()},next:function(){_.goTo(p+1)},prev:function(){_.goTo(p-1)},updateCurrZoomItem:function(t){var e;t&&S("beforeChange",0),m=s[1].el.children.length&&(e=s[1].el.children[0],y.hasClass(e,"pswp__zoom-wrap"))?e.style:null,h=_.currItem.bounds,et=f=_.currItem.initialZoomLevel,b.x=h.center.x,b.y=h.center.y,t&&S("afterChange")},invalidateCurrItems:function(){rt=!0;for(var t=0;t<3;t++)s[t].item&&(s[t].item.needsUpdate=!0)},updateCurrItem:function(t){if(0!==A){var e,i=Math.abs(A);if(!(t&&i<2)){_.currItem=Ke(p),qt=!1,S("beforeChange",A),3<=i&&(Q+=A+(0<A?-3:3),i=3);for(var n=0;n<i;n++)0<A?(e=s.shift(),s[2]=e,Ut((++Q+2)*T.x,e.el.style),_.setContent(e,p-i+n+1+1)):(e=s.pop(),s.unshift(e),Ut(--Q*T.x,e.el.style),_.setContent(e,p+i-n-1-1));m&&1===Math.abs(A)&&(t=Ke(st)).initialZoomLevel!==f&&(ni(t,x),ri(t),$t(t)),A=0,_.updateCurrZoomItem(),st=p,S("afterChange")}}},updateSize:function(t){if(!Ht&&w.modal){var e=y.getScrollY();if(yt!==e&&(d.style.top=e+"px",yt=e),!t&&Zt.x===window.innerWidth&&Zt.y===window.innerHeight)return;Zt.x=window.innerWidth,Zt.y=window.innerHeight,d.style.height=Zt.y+"px"}if(x.x=_.scrollWrap.clientWidth,x.y=_.scrollWrap.clientHeight,q(),T.x=x.x+Math.round(x.x*w.spacing),T.y=x.y,Yt(T.x*Nt),S("beforeResize"),void 0!==Q){for(var i,n,o,r=0;r<3;r++)i=s[r],Ut((r+Q)*T.x,i.el.style),o=p+r-1,w.loop&&2<D()&&(o=j(o)),(n=Ke(o))&&(rt||n.needsUpdate||!n.bounds)?(_.cleanSlide(n),_.setContent(i,o),1===r&&(_.currItem=n,_.updateCurrZoomItem(!0)),n.needsUpdate=!1):-1===i.index&&0<=o&&_.setContent(i,o),n&&n.container&&(ni(n,x),ri(n),$t(n));rt=!1}et=f=_.currItem.initialZoomLevel,(h=_.currItem.bounds)&&(b.x=h.center.x,b.y=h.center.y,C(!0)),S("resize")},zoomTo:function(e,t,i,n,o){t&&(et=f,_e.x=Math.abs(t.x)-b.x,_e.y=Math.abs(t.y)-b.y,P(Ft,b));function r(t){1===t?(f=e,b.x=s.x,b.y=s.y):(f=(e-a)*t+a,b.x=(s.x-l.x)*t+l.x,b.y=(s.y-l.y)*t+l.y),o&&o(t),C(1===t)}var t=te(e,!1),s={},a=(H("x",t,s,e),H("y",t,s,e),f),l={x:b.x,y:b.y};Kt(s);i?ae("customZoomTo",0,1,i,n||y.easing.sine.inOut,r):r(1)}},le=30,ue=10,z={},ce={},k={},I={},he={},de=[],pe={},fe=[],me={},ge=0,ve=t(),ye=0,O=t(),_e=t(),we=t(),be=function(t,e){return t.x===e.x&&t.y===e.y},xe=function(t,e){return me.x=Math.abs(t.x-e.x),me.y=Math.abs(t.y-e.y),Math.sqrt(me.x*me.x+me.y*me.y)},Te=function(){Ct&&(ft(Ct),Ct=null)},Ae=function(){l&&(Ct=pt(Ae),Fe())},Se=function(){return!("fit"===w.scaleMode&&f===_.currItem.initialZoomLevel)},Ee=function(t,e){return!(!t||t.className&&-1<t.className.indexOf("pswp__scroll-wrap"))&&(e(t)?t:Ee(t.parentNode,e))},Me={},Ce=function(t,e){return Me.prevent=!Ee(t.target,w.isClickableElement),S("preventDragEvent",t,e,Me),Me.prevent},Pe=function(t,e){return e.x=t.pageX,e.y=t.pageY,e.id=t.identifier,e},Le=function(t,e,i){i.x=.5*(t.x+e.x),i.y=.5*(t.y+e.y)},ze=function(t,e,i){var n;50<t-wt&&((n=2<fe.length?fe.shift():{}).x=e,n.y=i,fe.push(n),wt=t)},ke=function(){var t=b.y-_.currItem.initialPosition.y;return 1-Math.abs(t/(x.y/2))},Ie={},Oe={},De=[],Re=function(t){for(;0<De.length;)De.pop();return dt?(Dt=0,de.forEach(function(t){0===Dt?De[0]=t:1===Dt&&(De[1]=t),Dt++})):-1<t.type.indexOf("touch")?t.touches&&0<t.touches.length&&(De[0]=Pe(t.touches[0],Ie),1<t.touches.length)&&(De[1]=Pe(t.touches[1],Oe)):(Ie.x=t.pageX,Ie.y=t.pageY,Ie.id="",De[0]=Ie),De},Be=function(t,e){var i,n,o,r=b[t]+e[t],s=0<e[t],a=O.x+e.x,l=O.x-pe.x,u=r>h.min[t]||r<h.max[t]?w.panEndFriction:1,r=b[t]+e[t]*u;if((w.allowPanToNext||f===_.currItem.initialZoomLevel)&&(m?"h"!==v||"x"!==t||Et||(s?(r>h.min[t]&&(u=w.panEndFriction,h.min[t],i=h.min[t]-Ft[t]),(i<=0||l<0)&&1<D()?(o=a,l<0&&a>pe.x&&(o=pe.x)):h.min.x!==h.max.x&&(n=r)):(r<h.max[t]&&(u=w.panEndFriction,h.max[t],i=Ft[t]-h.max[t]),(i<=0||0<l)&&1<D()?(o=a,0<l&&a<pe.x&&(o=pe.x)):h.min.x!==h.max.x&&(n=r))):o=a,"x"===t))return void 0!==o&&(Yt(o,!0),Pt=o!==pe.x),h.min.x!==h.max.x&&(void 0!==n?b.x=n:Pt||(b.x+=e.x*u)),void 0!==o;g||Pt||f>_.currItem.fitRatio&&(b[t]+=e[t]*u)},Fe=function(){if(u){var t,e,i,n,o,r=u.length;if(0!==r)if(P(z,u[0]),k.x=z.x-I.x,k.y=z.y-I.y,c&&1<r)I.x=z.x,I.y=z.y,!k.x&&!k.y&&be(u[1],ce)||(P(ce,u[1]),Et||(Et=!0,S("zoomGestureStarted")),r=xe(z,ce),(t=We(r))>_.currItem.initialZoomLevel+_.currItem.initialZoomLevel/15&&(Ot=!0),e=1,i=ee(),n=ie(),t<i?w.pinchToClose&&!Ot&&et<=_.currItem.initialZoomLevel?(M(o=1-(i-t)/(i/1.2)),S("onPinchClose",o),kt=!0):t=i-(e=1<(e=(i-t)/i)?1:e)*(i/3):n<t&&(t=n+(e=1<(e=(t-n)/(6*i))?1:e)*i),e<0&&(e=0),Le(z,ce,ve),Bt.x+=ve.x-we.x,Bt.y+=ve.y-we.y,P(we,ve),b.x=Xt("x",t),b.y=Xt("y",t),xt=f<t,f=t,C());else if(v&&(zt&&(zt=!1,Math.abs(k.x)>=ue&&(k.x-=u[0].x-he.x),Math.abs(k.y)>=ue)&&(k.y-=u[0].y-he.y),I.x=z.x,I.y=z.y,0!==k.x||0!==k.y)){if("v"===v&&w.closeOnVerticalDrag)if(!Se())return Bt.y+=k.y,b.y+=k.y,o=ke(),Tt=!0,S("onVerticalDrag",o),M(o),void C();ze(E(),z.x,z.y),Mt=!0,h=_.currItem.bounds,Be("x",k)||(Be("y",k),Kt(b),C())}}},Ne=function(){var e,i,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(t){i=(1<fe.length?(e=E()-wt+50,fe[fe.length-2]):(e=E()-_t,he))[t],n.lastFlickOffset[t]=I[t]-i,n.lastFlickDist[t]=Math.abs(n.lastFlickOffset[t]),20<n.lastFlickDist[t]?n.lastFlickSpeed[t]=n.lastFlickOffset[t]/e:n.lastFlickSpeed[t]=0,Math.abs(n.lastFlickSpeed[t])<.1&&(n.lastFlickSpeed[t]=0),n.slowDownRatio[t]=.95,n.slowDownRatioReverse[t]=1-n.slowDownRatio[t],n.speedDecelerationRatio[t]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(b[e]>h.min[e]?n.backAnimDestination[e]=h.min[e]:b[e]<h.max[e]&&(n.backAnimDestination[e]=h.max[e]),void 0!==n.backAnimDestination[e]&&(n.slowDownRatio[e]=.7,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatioAbs[e]<.05)&&(n.lastFlickSpeed[e]=0,n.backAnimStarted[e]=!0,ae("bounceZoomPan"+e,b[e],n.backAnimDestination[e],t||300,y.easing.sine.out,function(t){b[e]=t,C()})))},calculateAnimOffset:function(t){n.backAnimStarted[t]||(n.speedDecelerationRatio[t]=n.speedDecelerationRatio[t]*(n.slowDownRatio[t]+n.slowDownRatioReverse[t]-n.slowDownRatioReverse[t]*n.timeDiff/10),n.speedDecelerationRatioAbs[t]=Math.abs(n.lastFlickSpeed[t]*n.speedDecelerationRatio[t]),n.distanceOffset[t]=n.lastFlickSpeed[t]*n.speedDecelerationRatio[t]*n.timeDiff,b[t]+=n.distanceOffset[t])},panAnimLoop:function(){L.zoomPan&&(L.zoomPan.raf=pt(n.panAnimLoop),n.now=E(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),C(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05)&&n.speedDecelerationRatioAbs.y<.05&&(b.x=Math.round(b.x),b.y=Math.round(b.y),C(),oe("zoomPan"))}};return n},je=function(t){if(t.calculateSwipeSpeed("y"),h=_.currItem.bounds,t.backAnimDestination={},t.backAnimStarted={},Math.abs(t.lastFlickSpeed.x)<=.05&&Math.abs(t.lastFlickSpeed.y)<=.05)return t.speedDecelerationRatioAbs.x=t.speedDecelerationRatioAbs.y=0,t.calculateOverBoundsAnimOffset("x"),t.calculateOverBoundsAnimOffset("y"),!0;re("zoomPan"),t.lastNow=E(),t.panAnimLoop()},He=function(t,e){g||(ge=p),"swipe"===t&&(t=I.x-he.x,r=e.lastFlickDist.x<10,le<t&&(r||20<e.lastFlickOffset.x)?n=-1:t<-le&&(r||e.lastFlickOffset.x<-20)&&(n=1)),n&&((p+=n)<0?(p=w.loop?D()-1:0,o=!0):p>=D()&&(p=w.loop?0:D()-1,o=!0),o&&!w.loop||(A+=n,Nt-=n,i=!0));var i,n,o,t=T.x*Nt,r=Math.abs(t-O.x),s=i||t>O.x==0<e.lastFlickSpeed.x?(s=0<Math.abs(e.lastFlickSpeed.x)?r/Math.abs(e.lastFlickSpeed.x):333,s=Math.min(s,400),Math.max(s,250)):333;return ge===p&&(i=!1),g=!0,S("mainScrollAnimStart"),ae("mainScroll",O.x,t,s,y.easing.cubic.out,Yt,function(){se(),g=!1,ge=-1,!i&&ge===p||_.updateCurrItem(),S("mainScrollAnimComplete")}),i&&_.updateCurrItem(!0),i},We=function(t){return 1/Lt*t*et},Ze=function(){var t,e=f,i=ee(),n=ie(),o=(f<i?e=i:n<f&&(e=n),It);return kt&&!xt&&!Ot&&f<i?_.close():(kt&&(t=function(t){M((1-o)*t+o)}),_.zoomTo(e,0,200,y.easing.cubic.out,t)),!0};N("Gestures",{publicMethods:{initGestures:function(){function t(t,e,i,n,o){at=t+e,lt=t+i,ut=t+n,ct=o?t+o:""}(dt=a.pointerEvent)&&a.touch&&(a.touch=!1),dt?navigator.pointerEnabled?t("pointer","down","move","up","cancel"):t("MSPointer","Down","Move","Up","Cancel"):a.touch?(t("touch","start","move","end","cancel"),o=!0):t("mouse","down","move","up"),J=lt+" "+ut+" "+ct,tt=at,dt&&!o&&(o=1<navigator.maxTouchPoints||1<navigator.msMaxTouchPoints),_.likelyTouchDevice=o,n[at]=G,n[lt]=V,n[ut]=$,ct&&(n[ct]=n[ut]),a.touch&&(tt+=" mousedown",J+=" mousemove mouseup",n.mousedown=n[at],n.mousemove=n[lt],n.mouseup=n[ut]),o||(w.allowPanToNext=!1)}}});function qe(t){function e(){t.loading=!1,t.loaded=!0,t.loadComplete?t.loadComplete(t):t.img=null,i.onload=i.onerror=null,i=null}t.loading=!0,t.loaded=!1;var i=t.img=y.createEl("pswp__img","img");i.onload=e,i.onerror=function(){t.loadError=!0,e()},i.src=t.src}function Ge(t,e){return t.src&&t.loadError&&t.container&&(e&&(t.container.innerHTML=""),t.container.innerHTML=w.errorMsg.replace("%url%",t.src),1)}function Ve(){if(Je.length){for(var t,e=0;e<Je.length;e++)(t=Je[e]).holder.index===t.index&&oi(t.index,t.item,t.baseDiv,t.img,!1,t.clearPlaceholder);Je=[]}}var $e,Ue,Ye,Xe,Ke,D,Qe=function(r,t,s,e){function a(){oe("initialZoom"),s?(_.template.removeAttribute("style"),_.bg.removeAttribute("style")):(M(1),t&&(t.style.display="block"),y.addClass(d,"pswp--animated-in"),S("initialZoom"+(s?"OutEnd":"InEnd"))),e&&e(),Xe=!1}$e&&clearTimeout($e),Ye=Xe=!0,r.initialLayout?(l=r.initialLayout,r.initialLayout=null):l=w.getThumbBoundsFn&&w.getThumbBoundsFn(p);var l,u,c,h=s?w.hideAnimationDuration:w.showAnimationDuration;h&&l&&void 0!==l.x?(u=X,c=!_.currItem.src||_.currItem.loadError||w.showHideOpacity,r.miniImg&&(r.miniImg.style.webkitBackfaceVisibility="hidden"),s||(f=l.w/r.w,b.x=l.x,b.y=l.y-gt,_[c?"template":"bg"].style.opacity=.001,C()),re("initialZoom"),s&&!u&&y.removeClass(d,"pswp--animated-in"),c&&(s?y[(u?"remove":"add")+"Class"](d,"pswp--animate_opacity"):setTimeout(function(){y.addClass(d,"pswp--animate_opacity")},30)),$e=setTimeout(function(){var e,i,n,o,t;S("initialZoom"+(s?"Out":"In")),s?(e=l.w/r.w,i={x:b.x,y:b.y},n=f,o=It,t=function(t){1===t?(f=e,b.x=l.x,b.y=l.y-yt):(f=(e-n)*t+n,b.x=(l.x-i.x)*t+i.x,b.y=(l.y-yt-i.y)*t+i.y),C(),c?d.style.opacity=1-t:M(o-t*o)},u?ae("initialZoom",0,1,h,y.easing.cubic.out,t,a):(t(1),$e=setTimeout(a,h+20))):(f=r.initialZoomLevel,P(b,r.initialPosition),C(),M(1),c?d.style.opacity=1:M(1),$e=setTimeout(a,h+20))},s?25:90)):(S("initialZoom"+(s?"Out":"In")),f=r.initialZoomLevel,P(b,r.initialPosition),C(),d.style.opacity=s?0:1,M(1),h?setTimeout(function(){a()},h):a())},R={},Je=[],ti={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Ue.length}},ei=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},ii=function(t,e,i){var n=t.bounds;n.center.x=Math.round((R.x-e)/2),n.center.y=Math.round((R.y-i)/2)+t.vGap.top,n.max.x=e>R.x?Math.round(R.x-e):n.center.x,n.max.y=i>R.y?Math.round(R.y-i)+t.vGap.top:n.center.y,n.min.x=e>R.x?0:n.center.x,n.min.y=i>R.y?t.vGap.top:n.center.y},ni=function(t,e,i){var n,o;return t.src&&!t.loadError?((n=!i)&&(t.vGap||(t.vGap={top:0,bottom:0}),S("parseVerticalMargin",t)),R.x=e.x,R.y=e.y-t.vGap.top-t.vGap.bottom,n&&(e=R.x/t.w,o=R.y/t.h,t.fitRatio=e<o?e:o,"orig"===(e=w.scaleMode)?i=1:"fit"===e&&(i=t.fitRatio),t.initialZoomLevel=i=1<i?1:i,t.bounds||(t.bounds=ei())),i?(ii(t,t.w*i,t.h*i),n&&i===t.initialZoomLevel&&(t.initialPosition=t.bounds.center),t.bounds):void 0):(t.w=t.h=0,t.initialZoomLevel=t.fitRatio=1,t.bounds=ei(),t.initialPosition=t.bounds.center,t.bounds)},oi=function(t,e,i,n,o,r){e.loadError||n&&(e.imageAppended=!0,ri(e,n),i.appendChild(n),r)&&setTimeout(function(){e&&e.loaded&&e.placeholder&&(e.placeholder.style.display="none",e.placeholder=null)},500)},ri=function(t,e,i){var n;t.src&&(e=e||t.container.lastChild,n=i?t.w:Math.round(t.w*t.fitRatio),i=i?t.h:Math.round(t.h*t.fitRatio),t.placeholder&&!t.loaded&&(t.placeholder.style.width=n+"px",t.placeholder.style.height=i+"px"),e.style.width=n+"px",e.style.height=i+"px")};N("Controller",{publicMethods:{lazyLoadItem:function(t){t=j(t);var e=Ke(t);e&&(!e.loaded&&!e.loading||rt)&&(S("gettingData",t,e),e.src)&&qe(e)},initController:function(){y.extend(w,ti,!0),_.items=Ue=e,Ke=_.getItemAt,D=w.getNumItemsFn,w.loop,D()<3&&(w.loop=!1),r("beforeChange",function(t){for(var e=w.preload,i=null===t||0<=t,n=Math.min(e[0],D()),o=Math.min(e[1],D()),r=1;r<=(i?o:n);r++)_.lazyLoadItem(p+r);for(r=1;r<=(i?n:o);r++)_.lazyLoadItem(p-r)}),r("initialLayout",function(){_.currItem.initialLayout=w.getThumbBoundsFn&&w.getThumbBoundsFn(p)}),r("mainScrollAnimComplete",Ve),r("initialZoomInEnd",Ve),r("destroy",function(){for(var t,e=0;e<Ue.length;e++)(t=Ue[e]).container&&(t.container=null),t.placeholder&&(t.placeholder=null),t.img&&(t.img=null),t.preloader&&(t.preloader=null),t.loadError&&(t.loaded=t.loadError=!1);Je=null})},getItemAt:function(t){return 0<=t&&void 0!==Ue[t]&&Ue[t]},allowProgressiveImg:function(){return w.forceProgressiveLoading||!o||w.mouseUsed||1200<screen.width},setContent:function(e,i){w.loop&&(i=j(i));var t,n,o,r=_.getItemAt(e.index),r=(r&&(r.container=null),_.getItemAt(i));r?(S("gettingData",i,r),e.index=i,n=(e.item=r).container=y.createEl("pswp__zoom-wrap"),!r.src&&r.html&&(r.html.tagName?n.appendChild(r.html):n.innerHTML=r.html),Ge(r),ni(r,x),!r.src||r.loadError||r.loaded?r.src&&!r.loadError&&((t=y.createEl("pswp__img","img")).style.opacity=1,t.src=r.src,ri(r,t),oi(i,r,n,t,!0)):(r.loadComplete=function(t){if(U){if(e&&e.index===i){if(Ge(t,!0))return t.loadComplete=t.img=null,ni(t,x),$t(t),void(e.index===p&&_.updateCurrZoomItem());t.imageAppended?!Xe&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null):a.transform&&(g||Xe)?Je.push({item:t,baseDiv:n,img:t.img,index:i,holder:e,clearPlaceholder:!0}):oi(i,t,n,t.img,g||Xe,!0)}t.loadComplete=null,t.img=null,S("imageLoadComplete",i,t)}},y.features.transform&&(o="pswp__img pswp__img--placeholder",o+=r.msrc?"":" pswp__img--placeholder--blank",o=y.createEl(o,r.msrc?"img":""),r.msrc&&(o.src=r.msrc),ri(r,o),n.appendChild(o),r.placeholder=o),r.loading||qe(r),_.allowProgressiveImg()&&(!Ye&&a.transform?Je.push({item:r,baseDiv:n,img:r.img,index:i,holder:e}):oi(i,r,n,r.img,!0,!0))),Ye||i!==p?$t(r):(m=n.style,Qe(r,t||r.img)),e.el.innerHTML="",e.el.appendChild(n)):e.el.innerHTML=""},cleanSlide:function(t){t.img&&(t.img.onload=t.img.onerror=null),t.loaded=t.loading=t.img=t.imageAppended=!1}}});function si(t,e,i){var n=document.createEvent("CustomEvent"),e={origEvent:t,target:t.target,releasePoint:e,pointerType:i||"touch"};n.initCustomEvent("pswpTap",!0,!0,e),t.target.dispatchEvent(n)}var ai,B,li={};N("Tap",{publicMethods:{initTap:function(){r("firstTouchStart",_.onTapStart),r("touchRelease",_.onTapRelease),r("destroy",function(){li={},ai=null})},onTapStart:function(t){1<t.length&&(clearTimeout(ai),ai=null)},onTapRelease:function(t,e){var i,n,o;!e||Mt||St||ne||(i=e,ai&&(clearTimeout(ai),ai=null,n=i,o=li,Math.abs(n.x-o.x)<Rt)&&Math.abs(n.y-o.y)<Rt?S("doubleTap",i):"mouse"===e.type?si(t,e,"mouse"):"BUTTON"===t.target.tagName.toUpperCase()||y.hasClass(t.target,"pswp__single-tap")?si(t,e):(P(li,i),ai=setTimeout(function(){si(t,e),ai=null},300)))}}}),N("DesktopZoom",{publicMethods:{initDesktopZoom:function(){vt||(o?r("mouseUsed",function(){_.setupDesktopZoom()}):_.setupDesktopZoom(!0))},setupDesktopZoom:function(t){B={};var e="wheel mousewheel DOMMouseScroll";r("bindEvents",function(){y.bind(d,e,_.handleMouseWheel)}),r("unbindEvents",function(){B&&y.unbind(d,e,_.handleMouseWheel)}),_.mouseZoomedIn=!1;function i(){_.mouseZoomedIn&&(y.removeClass(d,"pswp--zoomed-in"),_.mouseZoomedIn=!1),f<1?y.addClass(d,"pswp--zoom-allowed"):y.removeClass(d,"pswp--zoom-allowed"),o()}var n,o=function(){n&&(y.removeClass(d,"pswp--dragging"),n=!1)};r("resize",i),r("afterChange",i),r("pointerDown",function(){_.mouseZoomedIn&&(n=!0,y.addClass(d,"pswp--dragging"))}),r("pointerUp",o),t||i()},handleMouseWheel:function(t){if(f<=_.currItem.fitRatio)return w.modal&&(!w.closeOnScroll||ne||l?t.preventDefault():ht&&2<Math.abs(t.deltaY)&&(X=!0,_.close())),!0;if(t.stopPropagation(),B.x=0,"deltaX"in t)1===t.deltaMode?(B.x=18*t.deltaX,B.y=18*t.deltaY):(B.x=t.deltaX,B.y=t.deltaY);else if("wheelDelta"in t)t.wheelDeltaX&&(B.x=-.16*t.wheelDeltaX),t.wheelDeltaY?B.y=-.16*t.wheelDeltaY:B.y=-.16*t.wheelDelta;else{if(!("detail"in t))return;B.y=t.detail}te(f,!0);var e=b.x-B.x,i=b.y-B.y;(w.modal||e<=h.min.x&&e>=h.max.x&&i<=h.min.y&&i>=h.max.y)&&t.preventDefault(),_.panTo(e,i)},toggleDesktopZoom:function(t){t=t||{x:x.x/2+jt.x,y:x.y/2+jt.y};var e=w.getDoubleTapZoom(!0,_.currItem),i=f===e;_.mouseZoomedIn=!i,_.zoomTo(i?_.currItem.initialZoomLevel:e,t,333),y[(i?"remove":"add")+"Class"](d,"pswp--zoomed-in")}}}),y.extend(_,i)}}),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.PhotoSwipeUI_Default=e()}(this,function(){"use strict";return function(n,a){function t(t){if(E)return!0;t=t||window.event,S.timeToIdle&&S.mouseUsed&&!_&&l();for(var e,i,n=(t.target||t.srcElement).className,o=0;o<D.length;o++)(e=D[o]).onTap&&-1<n.indexOf("pswp__"+e.name)&&(e.onTap(),i=!0);i&&(t.stopPropagation&&t.stopPropagation(),E=!0,t=a.features.isOldAndroid?600:30,setTimeout(function(){E=!1},t))}function i(){var t=1===S.getNumItemsFn();t!==A&&(I(p,"ui--one-slide",t),A=t)}function s(){I(v,"share-modal--hidden",k)}function o(){if((k=!k)?(a.removeClass(v,"pswp__share-modal--fade-in"),setTimeout(function(){k&&s()},300)):(s(),setTimeout(function(){k||a.addClass(v,"pswp__share-modal--fade-in")},30)),!k){for(var t,e,i,n,o="",r=0;r<S.shareButtons.length;r++){t=S.shareButtons[r];e=S.getImageURLForShare(t);i=S.getPageURLForShare(t);n=S.getTextForShare(t);i=t.url.replace("{{url}}",encodeURIComponent(i)).replace("{{image_url}}",encodeURIComponent(e)).replace("{{raw_image_url}}",e).replace("{{text}}",encodeURIComponent(n));o+='<a href="'+i+'" target="_blank" '+'class="pswp__share--'+t.id+'"'+(t.download?"download":"")+">"+t.label+"</a>";if(S.parseShareButtonOut)o=S.parseShareButtonOut(t,o)}v.children[0].innerHTML=o,v.children[0].onclick=F}}function r(t){for(var e=0;e<S.closeElClasses.length;e++)if(a.hasClass(t,"pswp__"+S.closeElClasses[e]))return!0}function l(){clearTimeout(C),O=0,_&&P.setIdle(!1)}function u(t){(t=(t=t||window.event).relatedTarget||t.toElement)&&"HTML"!==t.nodeName||(clearTimeout(C),C=setTimeout(function(){P.setIdle(!0)},S.timeToIdleOutside))}function c(t){x!==t&&(I(b,"preloader--active",!t),x=t)}function h(t){var e,i=t.vGap;!n.likelyTouchDevice||S.mouseUsed||1200<screen.width?(e=S.barsSize,S.captionEl&&"auto"===e.bottom?(m||((m=a.createEl("pswp__caption pswp__caption--fake")).appendChild(a.createEl("pswp__caption__center")),p.insertBefore(m,f),a.addClass(p,"pswp__ui--fit")),S.addCaptionHTMLFn(t,m,!0)?(t=m.clientHeight,i.bottom=parseInt(t,10)||44):i.bottom=e.top):i.bottom="auto"===e.bottom?0:e.bottom,i.top=e.top):i.top=i.bottom=0}function R(){function t(t){if(t)for(var e=t.length,i=0;i<e;i++){o=t[i],r=o.className;for(var n=0;n<D.length;n++)s=D[n],-1<r.indexOf("pswp__"+s.name)&&(S[s.option]?(a.removeClass(o,"pswp__element--disabled"),s.onInit&&s.onInit(o)):a.addClass(o,"pswp__element--disabled"))}}t(p.children);var o,r,s,e=a.getChildByClass(p,"pswp__top-bar");e&&t(e.children)}var d,p,f,m,e,g,v,y,_,w,b,x,T,A,S,E,M,C,P=this,L=!1,z=!0,k=!0,B={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(t,e){return t.title?(e.children[0].innerHTML=t.title,!0):(e.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://x.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return n.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return n.currItem.title||""},indexIndicatorSep:" / "},I=function(t,e,i){a[(i?"add":"remove")+"Class"](t,"pswp__"+e)},F=function(t){var e=(t=t||window.event).target||t.srcElement;if(n.shout("shareLinkClick",t,e),e.href){if(e.hasAttribute("download"))return!0;window.open(e.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),k||o()}return!1},O=0,D=[{name:"caption",option:"captionEl",onInit:function(t){f=t}},{name:"share-modal",option:"shareEl",onInit:function(t){v=t},onTap:function(){o()}},{name:"button--share",option:"shareEl",onInit:function(t){g=t},onTap:function(){o()}},{name:"button--zoom",option:"zoomEl",onTap:n.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(t){e=t}},{name:"button--close",option:"closeEl",onTap:n.close},{name:"button--arrow--left",option:"arrowEl",onTap:n.prev},{name:"button--arrow--right",option:"arrowEl",onTap:n.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){d.isFullscreen()?d.exit():d.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(t){b=t}}];P.init=function(){var e;a.extend(n.options,B,!0),S=n.options,p=a.getChildByClass(n.scrollWrap,"pswp__ui"),(w=n.listen)("onVerticalDrag",function(t){z&&t<.95?P.hideControls():!z&&.95<=t&&P.showControls()}),w("onPinchClose",function(t){z&&t<.9?(P.hideControls(),e=!0):e&&!z&&.9<t&&P.showControls()}),w("zoomGestureEnded",function(){(e=!1)&&!z&&P.showControls()}),w("beforeChange",P.update),w("doubleTap",function(t){var e=n.currItem.initialZoomLevel;n.getZoomLevel()!==e?n.zoomTo(e,t,333):n.zoomTo(S.getDoubleTapZoom(!1,n.currItem),t,333)}),w("preventDragEvent",function(t,e,i){var n=t.target||t.srcElement;n&&n.className&&-1<t.type.indexOf("mouse")&&(0<n.className.indexOf("__caption")||/(SMALL|STRONG|EM)/i.test(n.tagName))&&(i.prevent=!1)}),w("bindEvents",function(){a.bind(p,"pswpTap click",t),a.bind(n.scrollWrap,"pswpTap",P.onGlobalTap),n.likelyTouchDevice||a.bind(n.scrollWrap,"mouseover",P.onMouseOver)}),w("unbindEvents",function(){k||o(),M&&clearInterval(M),a.unbind(document,"mouseout",u),a.unbind(document,"mousemove",l),a.unbind(p,"pswpTap click",t),a.unbind(n.scrollWrap,"pswpTap",P.onGlobalTap),a.unbind(n.scrollWrap,"mouseover",P.onMouseOver),d&&(a.unbind(document,d.eventK,P.updateFullscreen),d.isFullscreen()&&(S.hideAnimationDuration=0,d.exit()),d=null)}),w("destroy",function(){S.captionEl&&(m&&p.removeChild(m),a.removeClass(f,"pswp__caption--empty")),v&&(v.children[0].onclick=null),a.removeClass(p,"pswp__ui--over-close"),a.addClass(p,"pswp__ui--hidden"),P.setIdle(!1)}),S.showAnimationDuration||a.removeClass(p,"pswp__ui--hidden"),w("initialZoomIn",function(){S.showAnimationDuration&&a.removeClass(p,"pswp__ui--hidden")}),w("initialZoomOut",function(){a.addClass(p,"pswp__ui--hidden")}),w("parseVerticalMargin",h),R(),S.shareEl&&g&&v&&(k=!0),i(),S.timeToIdle&&w("mouseUsed",function(){a.bind(document,"mousemove",l),a.bind(document,"mouseout",u),M=setInterval(function(){2===++O&&P.setIdle(!0)},S.timeToIdle/2)}),S.fullscreenEl&&((d=d||P.getFullscreenAPI())?(a.bind(document,d.eventK,P.updateFullscreen),P.updateFullscreen(),a.addClass(n.template,"pswp--supports-fs")):a.removeClass(n.template,"pswp--supports-fs")),S.preloaderEl&&(c(!0),w("beforeChange",function(){clearTimeout(T),T=setTimeout(function(){n.currItem&&n.currItem.loading?n.allowProgressiveImg()&&(!n.currItem.img||n.currItem.img.naturalWidth)||c(!1):c(!0)},S.loadingIndicatorDelay)}),w("imageLoadComplete",function(t,e){n.currItem===e&&c(!0)}))},P.setIdle=function(t){I(p,"ui--idle",_=t)},P.update=function(){L=!(!z||!n.currItem||(P.updateIndexIndicator(),S.captionEl&&(S.addCaptionHTMLFn(n.currItem,f),I(f,"caption--empty",!n.currItem.title)),0)),k||o(),i()},P.updateFullscreen=function(t){t&&setTimeout(function(){n.setScrollOffset(0,a.getScrollY())},50),a[(d.isFullscreen()?"add":"remove")+"Class"](n.template,"pswp--fs")},P.updateIndexIndicator=function(){S.counterEl&&(e.innerHTML=n.getCurrentIndex()+1+S.indexIndicatorSep+S.getNumItemsFn())},P.onGlobalTap=function(t){var e=(t=t||window.event).target||t.srcElement;E||(t.detail&&"mouse"===t.detail.pointerType?r(e)?n.close():a.hasClass(e,"pswp__img")&&(1===n.getZoomLevel()&&n.getZoomLevel()<=n.currItem.fitRatio?S.clickToCloseNonZoomable&&n.close():n.toggleDesktopZoom(t.detail.releasePoint)):(S.tapToToggleControls&&(z?P.hideControls():P.showControls()),S.tapToClose&&(a.hasClass(e,"pswp__img")||r(e))&&n.close()))},P.onMouseOver=function(t){t=(t=t||window.event).target||t.srcElement;I(p,"ui--over-close",r(t))},P.hideControls=function(){a.addClass(p,"pswp__ui--hidden"),z=!1},P.showControls=function(){z=!0,L||P.update(),a.removeClass(p,"pswp__ui--hidden")},P.supportsFullscreen=function(){var t=document;return!!(t.exitFullscreen||t.mozCancelFullScreen||t.webkitExitFullscreen||t.msExitFullscreen)},P.getFullscreenAPI=function(){var t,e=document.documentElement,i="fullscreenchange";return e.requestFullscreen?t={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:i}:e.mozRequestFullScreen?t={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+i}:e.webkitRequestFullscreen?t={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+i}:e.msRequestFullscreen&&(t={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),t&&(t.enter=function(){if(y=S.closeOnScroll,S.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return n.template[this.enterK]();n.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},t.exit=function(){return S.closeOnScroll=y,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}}}),function(p){function t(t,e,i){return i=u(e,i),this.on("click.pjax",t,function(t){var e=i;e.container||((e=p.extend({},i)).container=p(this).attr("data-pjax")),n(t,e)})}function n(t,e,i){i=u(e,i);var e=t.currentTarget,n=p(e);if("A"!==e.tagName.toUpperCase())throw"$.fn.pjax or $.pjax.click requires an anchor element";1<t.which||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||location.protocol!==e.protocol||location.hostname!==e.hostname||-1<e.href.indexOf("#")&&l(e)==l(location)||t.isDefaultPrevented()||(e={url:e.href,container:n.attr("data-pjax"),target:e},e=p.extend({},e,i),i=p.Event("pjax:click"),n.trigger(i,[e]),i.isDefaultPrevented())||(f(e),t.preventDefault(),n.trigger("pjax:clicked",[e]))}function e(t,e,i){i=u(e,i);var e=t.currentTarget,n=p(e);if("FORM"!==e.tagName.toUpperCase())throw"$.pjax.submit requires a form element";var o={type:(n.attr("method")||"GET").toUpperCase(),url:n.attr("action"),container:n.attr("data-pjax"),target:e};if("GET"!==o.type&&void 0!==window.FormData)o.data=new FormData(e),o.processData=!1,o.contentType=!1;else{if(n.find(":file").length)return;o.data=n.serializeArray()}f(p.extend({},o,i)),t.preventDefault()}function f(u){"function"==typeof(u=p.extend(!0,{},p.ajaxSettings,f.defaults,u)).url&&(u.url=u.url());var c=_(u.url).hash,t=typeof u.container;if("string"!=t)throw"expected string value for 'container' option; got "+t;var i,h=u.context=p(u.container);if(!h.length)throw"the container selector '"+u.container+"' did not match anything";function d(t,e,i){(i=i||{}).relatedTarget=u.target;t=p.Event(t,i);return h.trigger(t,e),!t.isDefaultPrevented()}u.data||(u.data={}),Array.isArray(u.data)?u.data.push({name:"_pjax",value:u.container}):u.data._pjax=u.container,u.beforeSend=function(t,e){if("GET"!==e.type&&(e.timeout=0),t.setRequestHeader("X-PJAX","true"),t.setRequestHeader("X-PJAX-Container",u.container),!d("pjax:beforeSend",[t,e]))return!1;0<e.timeout&&(i=setTimeout(function(){d("pjax:timeout",[t,u])&&t.abort("timeout")},e.timeout),e.timeout=0);e=_(e.url);c&&(e.hash=c),u.requestUrl=a(e)},u.complete=function(t,e){i&&clearTimeout(i),d("pjax:complete",[t,e,u]),d("pjax:end",[t,u])},u.error=function(t,e,i){var n=b("",t,u),t=d("pjax:error",[t,e,i,u]);"GET"==u.type&&"abort"!==e&&t&&m(n.url)},u.success=function(i,o,r){var t=f.state,e="function"==typeof p.pjax.defaults.version?p.pjax.defaults.version():p.pjax.defaults.version,n=r.getResponseHeader("X-PJAX-Version"),s=b(i,r,u),a=_(s.url);if(c&&(a.hash=c,s.url=a.href),e&&n&&e!==n)m(s.url);else if(s.contents){if(f.state={id:u.id||v(),url:s.url,title:s.title,container:u.container,fragment:u.fragment,timeout:u.timeout},(u.push||u.replace)&&window.history.replaceState(f.state,s.title,s.url),p.contains(h,document.activeElement))try{document.activeElement.blur()}catch(t){}s.title&&(document.title=s.title),d("pjax:beforeReplace",[s.contents,u],{state:f.state,previousState:t}),"function"==typeof u.renderCallback?u.renderCallback(h,s.contents,l):(h.html(s.contents),l())}else m(s.url);function l(){var n,t,e=h.find("input[autofocus], textarea[autofocus]").last()[0],e=(e&&document.activeElement!==e&&e.trigger("focus"),(e=s.scripts)&&(n=p("script[src]"),e.each(function(){var t,e,i=this.src;n.filter(function(){return this.src===i}).length||(t=document.createElement("script"),(e=p(this).attr("type"))&&(t.type=e),t.src=p(this).attr("src"),document.head.appendChild(t))})),u.scrollTo);"number"==typeof(e=c&&(t=decodeURIComponent(c.slice(1)),t=document.getElementById(t)||document.getElementsByName(t)[0])?p(t).offset().top:e)&&p(window).scrollTop(e),d("pjax:success",[i,o,r,u])}},f.state||(f.state={id:v(),url:window.location.href,title:document.title,container:u.container,fragment:u.fragment,timeout:u.timeout},window.history.replaceState(f.state,document.title)),g(f.xhr),f.options=u;var e,n,t=f.xhr=p.ajax(u);return 0<t.readyState&&(u.push&&!u.replace&&(e=f.state.id,n=[u.container,y(h)],x[e]=n,A.push(e),S(T,0),S(A,f.defaults.maxCacheLength),window.history.pushState(null,"",u.requestUrl)),d("pjax:start",[t,u]),d("pjax:send",[t,u])),f.xhr}function i(t,e){var i={url:window.location.href,push:!1,replace:!0,scrollTo:!1};return f(p.extend(i,u(t,e)))}function m(t){window.history.replaceState(null,"",f.state.url),window.location.replace(t)}var c=!0,h=window.location.href,o=window.history.state;function r(t){c||g(f.xhr);var e,i=f.state,t=t.state;if(t&&t.container){if(c&&h==t.url)return;if(i){if(i.id===t.id)return;e=i.id<t.id?"forward":"back"}var n,o,r,s,a=x[t.id]||[],l=a[0]||t.container,u=p(l),a=a[1];u.length?(i&&(o=e,s=i.id,r=[l,y(u)],x[s]=r,r="forward"===o?(n=A,T):(n=T,A),n.push(s),(s=r.pop())&&delete x[s],S(n,f.defaults.maxCacheLength)),o=p.Event("pjax:popstate",{state:t,direction:e}),u.trigger(o),r={id:t.id,url:t.url,container:l,push:!1,fragment:t.fragment,timeout:t.timeout,scrollTo:!1},a?(u.trigger("pjax:start",[null,r]),(f.state=t).title&&(document.title=t.title),s=p.Event("pjax:beforeReplace",{state:t,previousState:i}),u.trigger(s,[a,r]),u.html(a),u.trigger("pjax:end",[null,r])):f(r),u[0].offsetHeight):m(location.href)}c=!1}function s(t){var e,i="function"==typeof t.url?t.url():t.url,n=t.type?t.type.toUpperCase():"GET",o=p("<form>",{method:"GET"===n?"GET":"POST",action:i,style:"display:none"}),r=("GET"!==n&&"POST"!==n&&o.append(p("<input>",{type:"hidden",name:"_method",value:n.toLowerCase()})),t.data);if("string"==typeof r)p.each(r.split("&"),function(t,e){e=e.split("=");o.append(p("<input>",{type:"hidden",name:e[0],value:e[1]}))});else if(Array.isArray(r))p.each(r,function(t,e){o.append(p("<input>",{type:"hidden",name:e.name,value:e.value}))});else if("object"==typeof r)for(e in r)o.append(p("<input>",{type:"hidden",name:e,value:r[e]}));p(document.body).append(o),o.submit()}function g(t){t&&t.readyState<4&&(t.onreadystatechange=p.noop,t.abort())}function v(){return(new Date).getTime()}function y(t){t=t.clone();return t.find("script").each(function(){this.src||jQuery._data(this,"globalEval",!1)}),t.contents()}function a(t){return t.search=t.search.replace(/([?&])(_pjax|_)=[^&]*/g,"").replace(/^&/,""),t.href.replace(/\?($|#)/,"$1")}function _(t){var e=document.createElement("a");return e.href=t,e}function l(t){return t.href.replace(/#.*/,"")}function u(t,e){return t&&e?((e=p.extend({},e)).container=t,e):p.isPlainObject(t)?t:{container:t}}function d(t,e){return t.filter(e).add(t.find(e))}function w(t){return p.parseHTML(t,document,!0)}function b(t,e,i){var n,o={},r=/<html/i.test(t),e=e.getResponseHeader("X-PJAX-URL");return o.url=e?a(_(e)):i.requestUrl,e=r?(n=p(w(t.match(/<body[^>]*>([\s\S.]*)<\/body>/i)[0])),null!=(e=t.match(/<head[^>]*>([\s\S.]*)<\/head>/i))?p(w(e[0])):n):n=p(w(t)),0!==n.length&&(o.title=d(e,"title").last().text(),i.fragment?(t=n,(t="body"!==i.fragment?d(t,i.fragment).first():t).length&&(o.contents="body"===i.fragment?t:t.contents(),o.title||(o.title=t.attr("title")||t.data("title")))):r||(o.contents=n),o.contents&&(o.contents=o.contents.not(function(){return p(this).is("title")}),o.contents.find("title").remove(),o.scripts=d(o.contents,"script[src]").remove(),o.contents=o.contents.not(o.scripts)),o.title)&&(o.title=null==(e=o.title)?"":"string"==typeof e?e.trim():(e+"").replace("/^[\\s\ufeff ]+|[\\s\ufeff ]+$/g","")),o}o&&o.container&&(f.state=o),"state"in window.history&&(c=!1);var x={},T=[],A=[];function S(t,e){for(;t.length>e;)delete x[t.shift()]}function E(){return p("meta").filter(function(){var t=p(this).attr("http-equiv");return t&&"X-PJAX-VERSION"===t.toUpperCase()}).attr("content")}function M(){p.fn.pjax=t,p.pjax=f,p.pjax.enable=p.noop,p.pjax.disable=C,p.pjax.click=n,p.pjax.submit=e,p.pjax.reload=i,p.pjax.defaults={timeout:650,push:!0,replace:!1,type:"GET",dataType:"html",scrollTo:0,maxCacheLength:20,version:E},p(window).on("popstate.pjax",r)}function C(){p.fn.pjax=function(){return this},p.pjax=s,p.pjax.enable=M,p.pjax.disable=p.noop,p.pjax.click=p.noop,p.pjax.submit=p.noop,p.pjax.reload=function(){window.location.reload()},p(window).off("popstate.pjax",r)}"state"in p.Event.prototype||p.event.addProp("state"),p.support.pjax=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/),(p.support.pjax?M:C)()}(jQuery),function(){var z=window.jQuery,k=z(window);z.fn.stick_in_parent=function(t){var x,e,i,n,o,T,A=(t=null==t?{}:t).sticky_class,S=t.inner_scrolling,E=t.recalc_every,M=t.parent,C=t.offset_top,P=t.spacer,L=t.bottoming;for(null==C&&(C=0),null==M&&(M=void 0),null==S&&(S=!0),null==A&&(A="is_stuck"),x=z(document),null==L&&(L=!0),T=function(t){var e,i;return window.getComputedStyle?(t[0],e=window.getComputedStyle(t[0]),i=parseFloat(e.getPropertyValue("width"))+parseFloat(e.getPropertyValue("margin-left"))+parseFloat(e.getPropertyValue("margin-right")),"border-box"!==e.getPropertyValue("box-sizing")&&(i+=parseFloat(e.getPropertyValue("border-left-width"))+parseFloat(e.getPropertyValue("border-right-width"))+parseFloat(e.getPropertyValue("padding-left"))+parseFloat(e.getPropertyValue("padding-right"))),i):t.outerWidth(!0)},i=function(r,s,a,l,u,c,h,d){var p,t,f,m,g,v,y,_,e,w,b,n;if(!r.data("sticky_kit")){if(r.data("sticky_kit",!0),g=x.height(),y=r.parent(),!(y=null!=M?y.closest(M):y).length)throw"failed to find stick parent";if(p=f=!1,(b=null!=P?P&&r.closest(P):z("<div />"))&&b.css("position",r.css("position")),(_=function(){var t,e,i;if(!d)return g=x.height(),t=parseInt(y.css("border-top-width"),10),e=parseInt(y.css("padding-top"),10),s=parseInt(y.css("padding-bottom"),10),a=y.offset().top+t+e,l=y.height(),f&&(p=f=!1,null==P&&(r.insertAfter(b),b.detach()),r.css({position:"",top:"",width:"",bottom:""}).removeClass(A),i=!0),u=r.offset().top-(parseInt(r.css("margin-top"),10)||0)-C,c=r.outerHeight(!0),h=r.css("float"),b&&b.css({width:T(r),height:c,display:r.css("display"),"vertical-align":r.css("vertical-align"),float:h}),i?n():void 0})(),c!==l)return m=void 0,v=C,w=E,n=function(){var t,e,i,n,o;if(!d)return i=!1,null!=w&&--w<=0&&(w=E,_(),i=!0),i||x.height()===g||(_(),i=!0),i=k.scrollTop(),null!=m&&(e=i-m),m=i,f?(L&&(n=l+a<i+c+v,p)&&!n&&(p=!1,r.css({position:"fixed",bottom:"",top:v}).trigger("sticky_kit:unbottom")),i<u&&(f=!1,v=C,null==P&&("left"!==h&&"right"!==h||r.insertAfter(b),b.detach()),r.css(t={position:"",width:"",top:""}).removeClass(A).trigger("sticky_kit:unstick")),S&&(o=k.height())<c+C&&(p||(v-=e,v=Math.max(o-c,v),v=Math.min(C,v),f&&r.css({top:v+"px"})))):u<i&&(f=!0,(t={position:"fixed",top:v}).width="border-box"===r.css("box-sizing")?r.outerWidth()+"px":r.width()+"px",r.css(t).addClass(A),null==P&&(r.after(b),"left"!==h&&"right"!==h||b.append(r)),r.trigger("sticky_kit:stick")),f&&L&&(null==n&&(n=l+a<i+c+v),!p)&&n?(p=!0,"static"===y.css("position")&&y.css({position:"relative"}),r.css({position:"absolute",bottom:s,top:"auto"}).trigger("sticky_kit:bottom")):void 0},e=function(){return _(),n()},t=function(){if(d=!0,k.off("touchmove",n),k.off("scroll",n),k.off("resize",e),z(document.body).off("sticky_kit:recalc",e),r.off("sticky_kit:detach",t),r.removeData("sticky_kit"),r.css({position:"",bottom:"",top:"",width:""}),y.position("position",""),f)return null==P&&("left"!==h&&"right"!==h||r.insertAfter(b),b.remove()),r.removeClass(A)},k.on("touchmove",n),k.on("scroll",n),k.on("resize",e),z(document.body).on("sticky_kit:recalc",e),r.on("sticky_kit:detach",t),setTimeout(n,0)}},n=0,o=this.length;n<o;n++)e=this[n],i(z(e));return this}}.call(this);var wdSwiper=function(){"use strict";function n(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===Object}function o(e,i){void 0===e&&(e={}),void 0===i&&(i={}),Object.keys(i).forEach(t=>{void 0===e[t]?e[t]=i[t]:n(i[t])&&n(e[t])&&0<Object.keys(i[t]).length&&o(e[t],i[t])})}const e={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function L(){var t="undefined"!=typeof document?document:{};return o(t,e),t}const k={document:e,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){"undefined"!=typeof setTimeout&&clearTimeout(t)}};function A(){var t="undefined"!=typeof window?window:{};return o(t,k),t}function S(t){return(t=void 0===t?"":t).trim().split(" ").filter(t=>!!t.trim())}function E(t,e){return void 0===e&&(e=0),setTimeout(t,e)}function p(){return Date.now()}function I(t,e){void 0===e&&(e="x");var i=A();let n,o,r;t=function(t){var e=A();let i;return i=(i=!(i=e.getComputedStyle?e.getComputedStyle(t,null):i)&&t.currentStyle?t.currentStyle:i)||t.style}(t);return i.WebKitCSSMatrix?(6<(o=t.transform||t.webkitTransform).split(",").length&&(o=o.split(", ").map(t=>t.replace(",",".")).join(", ")),r=new i.WebKitCSSMatrix("none"===o?"":o)):(r=t.MozTransform||t.OTransform||t.MsTransform||t.msTransform||t.transform||t.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=r.toString().split(",")),"x"===e&&(o=i.WebKitCSSMatrix?r.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),(o="y"===e?i.WebKitCSSMatrix?r.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5]):o)||0}function l(t){return"object"==typeof t&&null!==t&&t.constructor&&"Object"===Object.prototype.toString.call(t).slice(8,-1)}function d(t){var e,i=Object(arguments.length<=0?void 0:t);const n=["__proto__","constructor","prototype"];for(let t=1;t<arguments.length;t+=1){var o=t<0||arguments.length<=t?void 0:arguments[t];if(null!=o&&(e=o,!("undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)))){var r=Object.keys(Object(o)).filter(t=>n.indexOf(t)<0);for(let t=0,e=r.length;t<e;t+=1){var s=r[t],a=Object.getOwnPropertyDescriptor(o,s);void 0!==a&&a.enumerable&&(l(i[s])&&l(o[s])?o[s].__swiper__?i[s]=o[s]:d(i[s],o[s]):l(i[s])||!l(o[s])||(i[s]={},o[s].__swiper__)?i[s]=o[s]:d(i[s],o[s]))}}}return i}function Z(t,e,i){t.style.setProperty(e,i)}function T(t){let{swiper:i,targetPosition:n,side:o}=t;const r=A(),s=-i.translate;let a=null,l;const u=i.params.speed,c=(i.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(i.cssModeFrameID),n>s?"next":"prev"),h=(t,e)=>"next"===c&&e<=t||"prev"===c&&t<=e,d=()=>{l=(new Date).getTime(),null===a&&(a=l);var t=Math.max(Math.min((l-a)/u,1),0),t=.5-Math.cos(t*Math.PI)/2;let e=s+t*(n-s);h(e,n)&&(e=n),i.wrapperEl.scrollTo({[o]:e}),h(e,n)?(i.wrapperEl.style.overflow="hidden",i.wrapperEl.style.scrollSnapType="",setTimeout(()=>{i.wrapperEl.style.overflow="",i.wrapperEl.scrollTo({[o]:e})}),r.cancelAnimationFrame(i.cssModeFrameID)):i.cssModeFrameID=r.requestAnimationFrame(d)};d()}function f(t){return t.querySelector(".swiper-slide-transform")||t.shadowRoot&&t.shadowRoot.querySelector(".swiper-slide-transform")||t}function q(t,e){return void 0===e&&(e=""),[...t.children].filter(t=>t.matches(e))}function z(t){try{console.warn(t)}catch(t){}}function M(t,e){void 0===e&&(e=[]);t=document.createElement(t);return t.classList.add(...Array.isArray(e)?e:S(e)),t}function G(t,e){return A().getComputedStyle(t,null).getPropertyValue(e)}function w(t){let e=t,i;if(e){for(i=0;null!==(e=e.previousSibling);)1===e.nodeType&&(i+=1);return i}}function c(t,e){var i=[];let n=t.parentElement;for(;n;)e&&!n.matches(e)||i.push(n),n=n.parentElement;return i}function O(i,n){n&&i.addEventListener("transitionend",function t(e){e.target===i&&(n.call(i,e),i.removeEventListener("transitionend",t))})}function V(t,e,i){var n=A();return i?t["width"===e?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue("width"===e?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue("width"===e?"margin-left":"margin-bottom")):t.offsetWidth}let i;function h(){var t,e;return i=i||(t=A(),{smoothScroll:(e=L()).documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)})}let r;function D(t){return void 0===t&&(t={}),r=r||function(t){var t=(void 0===t?{}:t)["userAgent"],e=h(),i=(r=A()).navigator.platform,t=t||r.navigator.userAgent,n={ios:!1,android:!1},o=r.screen.width,r=r.screen.height,s=t.match(/(Android);?[\s\/]+([\d.]+)?/);let a=t.match(/(iPad).*OS\s([\d_]+)/);var l=t.match(/(iPod)(.*OS\s([\d_]+))?/),u=!a&&t.match(/(iPhone\sOS|iOS)\s([\d_]+)/),c="Win32"===i,i="MacIntel"===i;return!a&&i&&e.touch&&0<=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(o+"x"+r)&&(a=(a=t.match(/(Version)\/([\d.]+)/))||[0,1,"13_0_0"]),s&&!c&&(n.os="android",n.android=!0),(a||u||l)&&(n.os="ios",n.ios=!0),n}(t)}let t;function R(){return t=t||function(){const e=A();let t=!1;function i(){var t=e.navigator.userAgent.toLowerCase();return 0<=t.indexOf("safari")&&t.indexOf("chrome")<0&&t.indexOf("android")<0}var n,o;return i()&&(n=String(e.navigator.userAgent)).includes("Version/")&&([n,o]=n.split("Version/")[1].split(" ")[0].split(".").map(t=>Number(t)),t=n<16||16===n&&o<2),{isSafari:t||i(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()}const s=(e,t)=>{if(e&&!e.destroyed&&e.params){const i=t.closest(e.isElement?"swiper-slide":"."+e.params.slideClass);if(i){let t=i.querySelector("."+e.params.lazyPreloaderClass);!t&&e.isElement&&(i.shadowRoot?t=i.shadowRoot.querySelector("."+e.params.lazyPreloaderClass):requestAnimationFrame(()=>{i.shadowRoot&&(t=i.shadowRoot.querySelector("."+e.params.lazyPreloaderClass))&&t.remove()})),t&&t.remove()}}},m=(t,e)=>{t.slides[e]&&(t=t.slides[e].querySelector('[loading="lazy"]'))&&t.removeAttribute("loading")},g=i=>{if(i&&!i.destroyed&&i.params){var e=i.params.lazyPreloadPrevNext,n=i.slides.length;if(n&&e&&!(e<0)){e=Math.min(e,n);const a="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():Math.ceil(i.params.slidesPerView);var o=i.activeIndex;if(i.params.grid&&1<i.params.grid.rows){const l=o,u=[l-e];u.push(...Array.from({length:e}).map((t,e)=>l+a+e)),void i.slides.forEach((t,e)=>{u.includes(t.column)&&m(i,e)})}else{var r=o+a-1;if(i.params.rewind||i.params.loop)for(let t=o-e;t<=r+e;t+=1){var s=(t%n+n)%n;(s<o||r<s)&&m(i,s)}else for(let t=Math.max(o-e,0);t<=Math.min(r+e,n-1);t+=1)t!==o&&(t>r||t<o)&&m(i,t)}}}};function a(t){var{swiper:t,runCallbacks:e,direction:i,step:n}=t,{activeIndex:o,previousIndex:r}=t;let s=i;s=s||(r<o?"next":o<r?"prev":"reset"),t.emit("transition"+n),e&&o!==r&&("reset"===s?t.emit("slideResetTransition"+n):(t.emit("slideChangeTransition"+n),"next"===s?t.emit("slideNextTransition"+n):t.emit("slidePrevTransition"+n)))}function B(n,t){return function t(e){var i;return e&&e!==L()&&e!==A()&&((i=(e=e.assignedSlot||e).closest(n))||e.getRootNode)?i||t(e.getRootNode().host):null}(t=void 0===t?this:t)}function v(t,e,i){var n=A(),t=t["params"],o=t.edgeSwipeDetection,t=t.edgeSwipeThreshold;return!o||!(i<=t||i>=n.innerWidth-t)||"prevent"===o&&(e.preventDefault(),1)}function u(){const t=this;var e,i,n,o,{params:r,el:s}=t;s&&0===s.offsetWidth||(r.breakpoints&&t.setBreakpoint(),{allowSlideNext:s,allowSlidePrev:e,snapGrid:i}=t,n=t.virtual&&t.params.virtual.enabled,t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses(),o=n&&r.loop,!("auto"===r.slidesPerView||1<r.slidesPerView)||!t.isEnd||t.isBeginning||t.params.centeredSlides||o?t.params.loop&&!n?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0):t.slideTo(t.slides.length-1,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=e,t.allowSlideNext=s,t.params.watchOverflow&&i!==t.snapGrid&&t.checkOverflow())}const y=(t,e)=>{var i=L(),{params:n,el:o,wrapperEl:r,device:s}=t,a=!!n.nested,l="on"===e?"addEventListener":"removeEventListener";i[l]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:a}),o[l]("touchstart",t.onTouchStart,{passive:!1}),o[l]("pointerdown",t.onTouchStart,{passive:!1}),i[l]("touchmove",t.onTouchMove,{passive:!1,capture:a}),i[l]("pointermove",t.onTouchMove,{passive:!1,capture:a}),i[l]("touchend",t.onTouchEnd,{passive:!0}),i[l]("pointerup",t.onTouchEnd,{passive:!0}),i[l]("pointercancel",t.onTouchEnd,{passive:!0}),i[l]("touchcancel",t.onTouchEnd,{passive:!0}),i[l]("pointerout",t.onTouchEnd,{passive:!0}),i[l]("pointerleave",t.onTouchEnd,{passive:!0}),i[l]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[l]("click",t.onClick,!0),n.cssMode&&r[l]("scroll",t.onScroll),n.updateOnWindowResize?t[e](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",u,!0):t[e]("observerUpdate",u,!0),o[l]("load",t.onLoad,{capture:!0})};const F=(t,e)=>t.grid&&e.grid&&1<e.grid.rows;var N={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};const _={eventsEmitter:{on(t,e,i){const n=this;if(n.eventsListeners&&!n.destroyed&&"function"==typeof e){const o=i?"unshift":"push";t.split(" ").forEach(t=>{n.eventsListeners[t]||(n.eventsListeners[t]=[]),n.eventsListeners[t][o](e)})}return n},once(n,o,t){const r=this;return!r.eventsListeners||r.destroyed||"function"!=typeof o?r:(s.__emitterProxy=o,r.on(n,s,t));function s(){r.off(n,s),s.__emitterProxy&&delete s.__emitterProxy;for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];o.apply(r,e)}},onAny(t,e){return this.eventsListeners&&!this.destroyed&&"function"==typeof t&&(e=e?"unshift":"push",this.eventsAnyListeners.indexOf(t)<0)&&this.eventsAnyListeners[e](t),this},offAny(t){return this.eventsListeners&&!this.destroyed&&this.eventsAnyListeners&&0<=(t=this.eventsAnyListeners.indexOf(t))&&this.eventsAnyListeners.splice(t,1),this},off(t,n){const o=this;return o.eventsListeners&&!o.destroyed&&o.eventsListeners&&t.split(" ").forEach(i=>{void 0===n?o.eventsListeners[i]=[]:o.eventsListeners[i]&&o.eventsListeners[i].forEach((t,e)=>{(t===n||t.__emitterProxy&&t.__emitterProxy===n)&&o.eventsListeners[i].splice(e,1)})}),o},emit(){const o=this;if(o.eventsListeners&&!o.destroyed&&o.eventsListeners){let t,i,n;for(var e=arguments.length,r=new Array(e),s=0;s<e;s++)r[s]=arguments[s];n="string"==typeof r[0]||Array.isArray(r[0])?(t=r[0],i=r.slice(1,r.length),o):(t=r[0].events,i=r[0].data,r[0].context||o),i.unshift(n),(Array.isArray(t)?t:t.split(" ")).forEach(e=>{o.eventsAnyListeners&&o.eventsAnyListeners.length&&o.eventsAnyListeners.forEach(t=>{t.apply(n,[e,...i])}),o.eventsListeners&&o.eventsListeners[e]&&o.eventsListeners[e].forEach(t=>{t.apply(n,i)})})}return o}},update:{updateSize:function(){var t=this;let e,i;var n=t.el;e=void 0!==t.params.width&&null!==t.params.width?t.params.width:n.clientWidth,i=void 0!==t.params.height&&null!==t.params.height?t.params.height:n.clientHeight,0===e&&t.isHorizontal()||0===i&&t.isVertical()||(e=e-parseInt(G(n,"padding-left")||0,10)-parseInt(G(n,"padding-right")||0,10),i=i-parseInt(G(n,"padding-top")||0,10)-parseInt(G(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))},updateSlides:function(){const n=this;function o(t,e){return parseFloat(t.getPropertyValue(n.getDirectionLabel(e))||0)}const r=n.params,{wrapperEl:t,slidesEl:i,size:s,rtlTranslate:e,wrongRTL:B}=n;var a=n.virtual&&r.virtual.enabled,l=(a?n.virtual:n).slides.length;const u=q(i,`.${n.params.slideClass}, swiper-slide`);var c=(a?n.virtual.slides:u).length;let h=[];const d=[];var p=[];let f=r.slidesOffsetBefore,m=("function"==typeof f&&(f=r.slidesOffsetBefore.call(n)),r.slidesOffsetAfter);"function"==typeof m&&(m=r.slidesOffsetAfter.call(n));var g=n.snapGrid.length,F=n.slidesGrid.length;let v=r.spaceBetween,y=-f,_=0,w=0;if(void 0!==s){"string"==typeof v&&0<=v.indexOf("%")?v=parseFloat(v.replace("%",""))/100*s:"string"==typeof v&&(v=parseFloat(v)),n.virtualSize=-v,u.forEach(t=>{e?t.style.marginLeft="":t.style.marginRight="",t.style.marginBottom="",t.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(Z(t,"--swiper-centered-offset-before",""),Z(t,"--swiper-centered-offset-after",""));var b=r.grid&&1<r.grid.rows&&n.grid;b?n.grid.initSlides(u):n.grid&&n.grid.unsetSlides();let i;var x,T,A,S,E,M,C,P,L,N="auto"===r.slidesPerView&&r.breakpoints&&0<Object.keys(r.breakpoints).filter(t=>void 0!==r.breakpoints[t].slidesPerView).length;for(let e=0;e<c;e+=1){i=0;let t;u[e]&&(t=u[e]),b&&n.grid.updateSlide(e,t,u),u[e]&&"none"===G(t,"display")||("auto"===r.slidesPerView?(N&&(u[e].style[n.getDirectionLabel("width")]=""),P=getComputedStyle(t),x=t.style.transform,T=t.style.webkitTransform,x&&(t.style.transform="none"),T&&(t.style.webkitTransform="none"),i=r.roundLengths?n.isHorizontal()?V(t,"width",!0):V(t,"height",!0):(A=o(P,"width"),S=o(P,"padding-left"),E=o(P,"padding-right"),M=o(P,"margin-left"),C=o(P,"margin-right"),(P=P.getPropertyValue("box-sizing"))&&"border-box"===P?A+M+C:({clientWidth:P,offsetWidth:L}=t,A+S+E+M+C+(L-P))),x&&(t.style.transform=x),T&&(t.style.webkitTransform=T),r.roundLengths&&(i=Math.floor(i))):(i=(s-(r.slidesPerView-1)*v)/r.slidesPerView,r.roundLengths&&(i=Math.floor(i)),u[e]&&(u[e].style[n.getDirectionLabel("width")]=i+"px")),u[e]&&(u[e].swiperSlideSize=i),p.push(i),r.centeredSlides?(y=y+i/2+_/2+v,0===_&&0!==e&&(y=y-s/2-v),0===e&&(y=y-s/2-v),Math.abs(y)<.001&&(y=0),r.roundLengths&&(y=Math.floor(y)),w%r.slidesPerGroup==0&&h.push(y),d.push(y)):(r.roundLengths&&(y=Math.floor(y)),(w-Math.min(n.params.slidesPerGroupSkip,w))%n.params.slidesPerGroup==0&&h.push(y),d.push(y),y=y+i+v),n.virtualSize+=i+v,_=i,w+=1)}if(n.virtualSize=Math.max(n.virtualSize,s)+m,e&&B&&("slide"===r.effect||"coverflow"===r.effect)&&(t.style.width=n.virtualSize+v+"px"),r.setWrapperSize&&(t.style[n.getDirectionLabel("width")]=n.virtualSize+v+"px"),b&&n.grid.updateWrapperSize(i,h),!r.centeredSlides){var z=[];for(let e=0;e<h.length;e+=1){let t=h[e];r.roundLengths&&(t=Math.floor(t)),h[e]<=n.virtualSize-s&&z.push(t)}h=z,1<Math.floor(n.virtualSize-s)-Math.floor(h[h.length-1])&&h.push(n.virtualSize-s)}if(a&&r.loop){var k=p[0]+v;if(1<r.slidesPerGroup){var j=Math.ceil((n.virtual.slidesBefore+n.virtual.slidesAfter)/r.slidesPerGroup),H=k*r.slidesPerGroup;for(let t=0;t<j;t+=1)h.push(h[h.length-1]+H)}for(let t=0;t<n.virtual.slidesBefore+n.virtual.slidesAfter;t+=1)1===r.slidesPerGroup&&h.push(h[h.length-1]+k),d.push(d[d.length-1]+k),n.virtualSize+=k}if(0===h.length&&(h=[0]),0!==v){const I=n.isHorizontal()&&e?"marginLeft":n.getDirectionLabel("marginRight");u.filter((t,e)=>!(r.cssMode&&!r.loop)||e!==u.length-1).forEach(t=>{t.style[I]=v+"px"})}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;p.forEach(t=>{e+=t+(v||0)});const O=(e-=v)-s;h=h.map(t=>t<=0?-f:t>O?O+m:t)}if(r.centerInsufficientSlides){let e=0;if(p.forEach(t=>{e+=t+(v||0)}),(e-=v)<s){const D=(s-e)/2;h.forEach((t,e)=>{h[e]=t-D}),d.forEach((t,e)=>{d[e]=t+D})}}if(Object.assign(n,{slides:u,snapGrid:h,slidesGrid:d,slidesSizesGrid:p}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){Z(t,"--swiper-centered-offset-before",-h[0]+"px"),Z(t,"--swiper-centered-offset-after",n.size/2-p[p.length-1]/2+"px");const R=-n.snapGrid[0],W=-n.slidesGrid[0];n.snapGrid=n.snapGrid.map(t=>t+R),n.slidesGrid=n.slidesGrid.map(t=>t+W)}c!==l&&n.emit("slidesLengthChange"),h.length!==g&&(n.params.watchOverflow&&n.checkOverflow(),n.emit("snapGridLengthChange")),d.length!==F&&n.emit("slidesGridLengthChange"),r.watchSlidesProgress&&n.updateSlidesOffset(),n.emit("slidesUpdated"),a||r.cssMode||"slide"!==r.effect&&"fade"!==r.effect||(l=r.containerModifierClass+"backface-hidden",g=n.el.classList.contains(l),c<=r.maxBackfaceHiddenSlides?g||n.el.classList.add(l):g&&n.el.classList.remove(l))}},updateAutoHeight:function(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,r;"number"==typeof t?e.setTransition(t):!0===t&&e.setTransition(e.params.speed);var s,a=t=>n?e.slides[e.getSlideIndexByData(t)]:e.slides[t];if("auto"!==e.params.slidesPerView&&1<e.params.slidesPerView)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(t=>{i.push(t)});else for(r=0;r<Math.ceil(e.params.slidesPerView);r+=1){var l=e.activeIndex+r;if(l>e.slides.length&&!n)break;i.push(a(l))}else i.push(a(e.activeIndex));for(r=0;r<i.length;r+=1)void 0!==i[r]&&(s=i[r].offsetHeight,o=s>o?s:o);!o&&0!==o||(e.wrapperEl.style.height=o+"px")},updateSlidesOffset:function(){var e=this.slides,i=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let t=0;t<e.length;t+=1)e[t].swiperSlideOffset=(this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop)-i-this.cssOverflowAdjustment()},updateSlidesProgress:function(t){void 0===t&&(t=this&&this.translate||0);var o=this;const r=o.params;var{slides:s,rtlTranslate:a,snapGrid:l}=o;if(0!==s.length){void 0===s[0].swiperSlideOffset&&o.updateSlidesOffset();let i=a?t:-t,n=(s.forEach(t=>{t.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass)}),o.visibleSlidesIndexes=[],o.visibleSlides=[],r.spaceBetween);"string"==typeof n&&0<=n.indexOf("%")?n=parseFloat(n.replace("%",""))/100*o.size:"string"==typeof n&&(n=parseFloat(n));for(let e=0;e<s.length;e+=1){var u=s[e];let t=u.swiperSlideOffset;r.cssMode&&r.centeredSlides&&(t-=s[0].swiperSlideOffset);var c=(i+(r.centeredSlides?o.minTranslate():0)-t)/(u.swiperSlideSize+n),h=(i-l[0]+(r.centeredSlides?o.minTranslate():0)-t)/(u.swiperSlideSize+n),d=-(i-t),p=d+o.slidesSizesGrid[e],f=0<=d&&d<=o.size-o.slidesSizesGrid[e];(0<=d&&d<o.size-1||1<p&&p<=o.size||d<=0&&p>=o.size)&&(o.visibleSlides.push(u),o.visibleSlidesIndexes.push(e),s[e].classList.add(r.slideVisibleClass)),f&&s[e].classList.add(r.slideFullyVisibleClass),u.progress=a?-c:c,u.originalProgress=a?-h:h}}},updateProgress:function(t){var e=this,i=(void 0===t&&(i=e.rtlTranslate?-1:1,t=e&&e.translate&&e.translate*i||0),e.params),n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:r,isEnd:s,progressLoop:a}=e;var l,u,c,h=r,d=s;0==n?(o=0,r=!0,s=!0):(o=(t-e.minTranslate())/n,n=Math.abs(t-e.minTranslate())<1,l=Math.abs(t-e.maxTranslate())<1,r=n||o<=0,s=l||1<=o,n&&(o=0),l&&(o=1)),i.loop&&(n=e.getSlideIndexByData(0),l=e.getSlideIndexByData(e.slides.length-1),n=e.slidesGrid[n],l=e.slidesGrid[l],u=e.slidesGrid[e.slidesGrid.length-1],c=Math.abs(t),1<(a=n<=c?(c-n)/u:(c+u-l)/u))&&--a,Object.assign(e,{progress:o,progressLoop:a,isBeginning:r,isEnd:s}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),r&&!h&&e.emit("reachBeginning toEdge"),s&&!d&&e.emit("reachEnd toEdge"),(h&&!r||d&&!s)&&e.emit("fromEdge"),e.emit("progress",o)},updateSlidesClasses:function(){const{slides:t,params:e,slidesEl:i,activeIndex:n}=this;var o=this.virtual&&e.virtual.enabled,r=this.grid&&e.grid&&1<e.grid.rows,s=t=>q(i,`.${e.slideClass}${t}, swiper-slide`+t)[0];t.forEach(t=>{t.classList.remove(e.slideActiveClass,e.slideNextClass,e.slidePrevClass)});let a,l,u;if(o)if(e.loop){let t=n-this.virtual.slidesBefore;(t=t<0?this.virtual.slides.length+t:t)>=this.virtual.slides.length&&(t-=this.virtual.slides.length),a=s(`[data-swiper-slide-index="${t}"]`)}else a=s(`[data-swiper-slide-index="${n}"]`);else r?(a=t.filter(t=>t.column===n)[0],u=t.filter(t=>t.column===n+1)[0],l=t.filter(t=>t.column===n-1)[0]):a=t[n];a&&(a.classList.add(e.slideActiveClass),r?(u&&u.classList.add(e.slideNextClass),l&&l.classList.add(e.slidePrevClass)):(u=function(t,e){for(var i=[];t.nextElementSibling;){var n=t.nextElementSibling;(!e||n.matches(e))&&i.push(n),t=n}return i}(a,`.${e.slideClass}, swiper-slide`)[0],(u=e.loop&&!u?t[0]:u)&&u.classList.add(e.slideNextClass),l=function(t,e){for(var i=[];t.previousElementSibling;){var n=t.previousElementSibling;(!e||n.matches(e))&&i.push(n),t=n}return i}(a,`.${e.slideClass}, swiper-slide`)[0],(l=e.loop&&0===!l?t[t.length-1]:l)&&l.classList.add(e.slidePrevClass))),this.emitSlidesClasses()},updateActiveIndex:function(t){const i=this;var n=i.rtlTranslate?i.translate:-i.translate,{snapGrid:o,params:r,activeIndex:s,realIndex:a,snapIndex:l}=i;let u=t,c;if(t=t=>{let e=t-i.virtual.slidesBefore;return(e=e<0?i.virtual.slides.length+e:e)>=i.virtual.slides.length&&(e-=i.virtual.slides.length),e},void 0===u&&(u=function(t){var{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let o;for(let t=0;t<e.length;t+=1)void 0!==e[t+1]?n>=e[t]&&n<e[t+1]-(e[t+1]-e[t])/2?o=t:n>=e[t]&&n<e[t+1]&&(o=t+1):n>=e[t]&&(o=t);return o=i.normalizeSlideIndex&&(o<0||void 0===o)?0:o}(i)),(c=0<=o.indexOf(n)?o.indexOf(n):(n=Math.min(r.slidesPerGroupSkip,u))+Math.floor((u-n)/r.slidesPerGroup))>=o.length&&(c=o.length-1),u!==s||i.params.loop)if(u===s&&i.params.loop&&i.virtual&&i.params.virtual.enabled)i.realIndex=t(u);else{n=i.grid&&r.grid&&1<r.grid.rows;let e;if(i.virtual&&r.virtual.enabled&&r.loop)e=t(u);else if(n){o=i.slides.filter(t=>t.column===u)[0];let t=parseInt(o.getAttribute("data-swiper-slide-index"),10);Number.isNaN(t)&&(t=Math.max(i.slides.indexOf(o),0)),e=Math.floor(t/r.grid.rows)}else e=i.slides[u]&&(t=i.slides[u].getAttribute("data-swiper-slide-index"),t)?parseInt(t,10):u;Object.assign(i,{previousSnapIndex:l,snapIndex:c,previousRealIndex:a,realIndex:e,previousIndex:s,activeIndex:u}),i.initialized&&g(i),i.emit("activeIndexChange"),i.emit("snapIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&(a!==e&&i.emit("realIndexChange"),i.emit("slideChange"))}else c!==l&&(i.snapIndex=c,i.emit("snapIndexChange"))},updateClickedSlide:function(t,e){var i=this;const n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`),r=(!o&&i.isElement&&e&&1<e.length&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(t=>{!o&&t.matches&&t.matches(`.${n.slideClass}, swiper-slide`)&&(o=t)}),!1),s;if(o)for(let t=0;t<i.slides.length;t+=1)if(i.slides[t]===o){r=!0,s=t;break}o&&r?(i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=s,n.slideToClickedSlide&&void 0!==i.clickedIndex&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()):(i.clickedSlide=void 0,i.clickedIndex=void 0)}},translate:{getTranslate:function(t){void 0===t&&(t=this.isHorizontal()?"x":"y");var{params:e,rtlTranslate:i,translate:n,wrapperEl:o}=this;if(e.virtualTranslate)return i?-n:n;if(e.cssMode)return n;let r=I(o,t);return r+=this.cssOverflowAdjustment(),(r=i?-r:r)||0},setTranslate:function(t,e){var i=this,{rtlTranslate:n,params:o,wrapperEl:r,progress:s}=i;let a=0,l=0;i.isHorizontal()?a=n?-t:t:l=t,o.roundLengths&&(a=Math.floor(a),l=Math.floor(l)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?a:l,o.cssMode?r[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-a:-l:o.virtualTranslate||(i.isHorizontal()?a-=i.cssOverflowAdjustment():l-=i.cssOverflowAdjustment(),r.style.transform=`translate3d(${a}px, ${l}px, 0px)`);let u;n=i.maxTranslate()-i.minTranslate(),(u=0==n?0:(t-i.minTranslate())/n)!==s&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(t,e,i,n,o){void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);const r=this;var{params:s,wrapperEl:a}=r;if(r.animating&&s.preventInteractionOnTransition)return!1;var l=r.minTranslate(),u=r.maxTranslate();let c;if(c=n&&l<t?l:n&&t<u?u:t,r.updateProgress(c),s.cssMode){l=r.isHorizontal();if(0===e)a[l?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return T({swiper:r,targetPosition:-c,side:l?"left":"top"}),!0;a.scrollTo({[l?"left":"top"]:-c,behavior:"smooth"})}}else 0===e?(r.setTransition(0),r.setTranslate(c),i&&(r.emit("beforeTransitionStart",e,o),r.emit("transitionEnd"))):(r.setTransition(e),r.setTranslate(c),i&&(r.emit("beforeTransitionStart",e,o),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(t){r&&!r.destroyed&&t.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,i)&&r.emit("transitionEnd")}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd)));return!0}},transition:{setTransition:function(t,e){this.params.cssMode||(this.wrapperEl.style.transitionDuration=t+"ms",this.wrapperEl.style.transitionDelay=0===t?"0ms":""),this.emit("setTransition",t,e)},transitionStart:function(t,e){void 0===t&&(t=!0);var i=this["params"];i.cssMode||(i.autoHeight&&this.updateAutoHeight(),a({swiper:this,runCallbacks:t,direction:e,step:"Start"}))},transitionEnd:function(t,e){void 0===t&&(t=!0);var i=this["params"];this.animating=!1,i.cssMode||(this.setTransition(0),a({swiper:this,runCallbacks:t,direction:e,step:"End"}))}},slide:{slideTo:function(t,e,i,n,o){void 0===e&&(e=this.params.speed),void 0===i&&(i=!0),"string"==typeof(t=void 0===t?0:t)&&(t=parseInt(t,10));const r=this;let s=t;s<0&&(s=0);const{params:a,snapGrid:l,slidesGrid:u,previousIndex:c,activeIndex:h,rtlTranslate:d,wrapperEl:p,enabled:f}=r;if(r.animating&&a.preventInteractionOnTransition||!f&&!n&&!o)return!1;let m=(t=Math.min(r.params.slidesPerGroupSkip,s))+Math.floor((s-t)/r.params.slidesPerGroup);var g=-l[m=m>=l.length?l.length-1:m];if(a.normalizeSlideIndex)for(let t=0;t<u.length;t+=1){var v=-Math.floor(100*g),y=Math.floor(100*u[t]),_=Math.floor(100*u[t+1]);void 0!==u[t+1]?y<=v&&v<_-(_-y)/2?s=t:y<=v&&v<_&&(s=t+1):y<=v&&(s=t)}if(r.initialized&&s!==h){if(!r.allowSlideNext&&(d?g>r.translate&&g>r.minTranslate():g<r.translate&&g<r.minTranslate()))return!1;if(!r.allowSlidePrev&&g>r.translate&&g>r.maxTranslate()&&(h||0)!==s)return!1}s!==(c||0)&&i&&r.emit("beforeSlideChangeStart"),r.updateProgress(g);let w;if(w=s>h?"next":s<h?"prev":"reset",d&&-g===r.translate||!d&&g===r.translate)return r.updateActiveIndex(s),a.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==a.effect&&r.setTranslate(g),"reset"!==w&&(r.transitionStart(i,w),r.transitionEnd(i,w)),!1;if(a.cssMode){const b=r.isHorizontal(),x=d?g:-g;if(0===e){o=r.virtual&&r.params.virtual.enabled;o&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),o&&!r._cssModeVirtualInitialSet&&0<r.params.initialSlide?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[b?"scrollLeft":"scrollTop"]=x})):p[b?"scrollLeft":"scrollTop"]=x,o&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1})}else{if(!r.support.smoothScroll)return T({swiper:r,targetPosition:x,side:b?"left":"top"}),!0;p.scrollTo({[b?"left":"top"]:x,behavior:"smooth"})}}else r.setTransition(e),r.setTranslate(g),r.updateActiveIndex(s),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,n),r.transitionStart(i,w),0===e?r.transitionEnd(i,w):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(t){r&&!r.destroyed&&t.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,w))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd));return!0},slideToLoop:function(n,t,e,i){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0),"string"==typeof(n=void 0===n?0:n)&&(n=parseInt(n,10));const o=this;var r=o.grid&&o.params.grid&&1<o.params.grid.rows;let s=n;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)s+=o.virtual.slidesBefore;else{let t;if(r){const l=s*o.params.grid.rows;t=o.slides.filter(t=>+t.getAttribute("data-swiper-slide-index")==l)[0].column}else t=o.getSlideIndexByData(s);var n=r?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,a=o.params["centeredSlides"];let e=o.params.slidesPerView,i=("auto"===e?e=o.slidesPerViewDynamic():(e=Math.ceil(parseFloat(o.params.slidesPerView,10)),a&&e%2==0&&(e+=1)),n-t<e);if((i=a?i||t<Math.ceil(e/2):i)&&(a=a?t<o.activeIndex?"prev":"next":t-o.activeIndex-1<o.params.slidesPerView?"next":"prev",o.loopFix({direction:a,slideTo:!0,activeSlideIndex:"next"==a?t+1:t-n+1,slideRealIndex:"next"==a?o.realIndex:void 0})),r){const u=s*o.params.grid.rows;s=o.slides.filter(t=>+t.getAttribute("data-swiper-slide-index")==u)[0].column}else s=o.getSlideIndexByData(s)}return requestAnimationFrame(()=>{o.slideTo(s,t,e,i)}),o},slideNext:function(t,e,i){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);const n=this;var{enabled:o,params:r,animating:s}=n;if(!o)return n;let a=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<r.slidesPerGroupSkip?1:a;if(o=n.virtual&&r.virtual.enabled,r.loop){if(s&&!o&&r.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+l,t,e,i)}),!0}return r.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+l,t,e,i)},slidePrev:function(t,e,i){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);const n=this;var{params:o,snapGrid:r,slidesGrid:s,rtlTranslate:a,enabled:l,animating:u}=n;if(!l)return n;if(l=n.virtual&&o.virtual.enabled,o.loop){if(u&&!l&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function c(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}const h=c(a?n.translate:-n.translate);u=r.map(t=>c(t));let d=r[u.indexOf(h)-1];if(void 0===d&&o.cssMode){let i;r.forEach((t,e)=>{h>=t&&(i=e)}),void 0!==i&&(d=r[0<i?i-1:i])}let p=0;return void 0!==d&&((p=s.indexOf(d))<0&&(p=n.activeIndex-1),"auto"===o.slidesPerView)&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(p=p-n.slidesPerViewDynamic("previous",!0)+1,p=Math.max(p,0)),o.rewind&&n.isBeginning?(l=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1,n.slideTo(l,t,e,i)):o.loop&&0===n.activeIndex&&o.cssMode?(requestAnimationFrame(()=>{n.slideTo(p,t,e,i)}),!0):n.slideTo(p,t,e,i)},slideReset:function(t,e,i){return void 0===t&&(t=this.params.speed),this.slideTo(this.activeIndex,t,e=void 0===e?!0:e,i)},slideToClosest:function(t,e,i,n){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0),void 0===n&&(n=.5);var o=this;let r=o.activeIndex;var s,a=(a=Math.min(o.params.slidesPerGroupSkip,r))+Math.floor((r-a)/o.params.slidesPerGroup),l=o.rtlTranslate?o.translate:-o.translate;return l>=o.snapGrid[a]?(s=o.snapGrid[a],(o.snapGrid[a+1]-s)*n<l-s&&(r+=o.params.slidesPerGroup)):l-(s=o.snapGrid[a-1])<=(o.snapGrid[a]-s)*n&&(r-=o.params.slidesPerGroup),r=Math.max(r,0),r=Math.min(r,o.slidesGrid.length-1),o.slideTo(r,t,e,i)},slideToClickedSlide:function(){const t=this;var e,{params:i,slidesEl:n}=t,o="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView;let r=t.clickedIndex;var s=t.isElement?"swiper-slide":"."+i.slideClass;i.loop?t.animating||(e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),i.centeredSlides?r<t.loopedSlides-o/2||r>t.slides.length-t.loopedSlides+o/2?(t.loopFix(),r=t.getSlideIndex(q(n,s+`[data-swiper-slide-index="${e}"]`)[0]),E(()=>{t.slideTo(r)})):t.slideTo(r):r>t.slides.length-o?(t.loopFix(),r=t.getSlideIndex(q(n,s+`[data-swiper-slide-index="${e}"]`)[0]),E(()=>{t.slideTo(r)})):t.slideTo(r)):t.slideTo(r)}},loop:{loopCreate:function(t){const n=this,{params:o,slidesEl:e}=n;var i,r,s,a,l;!o.loop||n.virtual&&n.params.virtual.enabled||(i=()=>{q(e,`.${o.slideClass}, swiper-slide`).forEach((t,e)=>{t.setAttribute("data-swiper-slide-index",e)})},a=n.grid&&o.grid&&1<o.grid.rows,r=o.slidesPerGroup*(a?o.grid.rows:1),s=n.slides.length%r!=0,a=a&&n.slides.length%o.grid.rows!=0,l=e=>{for(let t=0;t<e;t+=1){var i=n.isElement?M("swiper-slide",[o.slideBlankClass]):M("div",[o.slideClass,o.slideBlankClass]);n.slidesEl.append(i)}},s?o.loopAddBlankSlides?(l(r-n.slides.length%r),n.recalcSlides(),n.updateSlides()):z("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):a&&(o.loopAddBlankSlides?(l(o.grid.rows-n.slides.length%o.grid.rows),n.recalcSlides(),n.updateSlides()):z("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),i(),n.loopFix({slideRealIndex:t,direction:o.centeredSlides?void 0:"next"}))},loopFix:function(r){let{slideRealIndex:s,slideTo:a=!0,direction:l,setTranslate:u,activeSlideIndex:c,byController:h,byMousewheel:d}=void 0===r?{}:r;const p=this;if(p.params.loop){p.emit("beforeLoopFix");const{slides:T,allowSlidePrev:A,allowSlideNext:S,slidesEl:E,params:M}=p;r=M["centeredSlides"];if(p.allowSlidePrev=!0,p.allowSlideNext=!0,p.virtual&&M.virtual.enabled)a&&(M.centeredSlides||0!==p.snapIndex?M.centeredSlides&&p.snapIndex<M.slidesPerView?p.slideTo(p.virtual.slides.length+p.snapIndex,0,!1,!0):p.snapIndex===p.snapGrid.length-1&&p.slideTo(p.virtual.slidesBefore,0,!1,!0):p.slideTo(p.virtual.slides.length,0,!1,!0)),p.allowSlidePrev=A,p.allowSlideNext=S;else{let t=M.slidesPerView;"auto"===t?t=p.slidesPerViewDynamic():(t=Math.ceil(parseFloat(M.slidesPerView,10)),r&&t%2==0&&(t+=1));var f=M.slidesPerGroupAuto?t:M.slidesPerGroup;let e=f;e%f!=0&&(e+=f-e%f),e+=M.loopAdditionalSlides,p.loopedSlides=e;var m=p.grid&&M.grid&&1<M.grid.rows,g=(T.length<t+e?z("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):m&&"row"===M.grid.fill&&z("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`"),[]);const C=[];let i=p.activeIndex;void 0===c?c=p.getSlideIndex(T.filter(t=>t.classList.contains(M.slideActiveClass))[0]):i=c;var v="next"===l||!l,y="prev"===l||!l;let n=0,o=0;var _=m?Math.ceil(T.length/M.grid.rows):T.length,w=(m?T[c].column:c)+(r&&void 0===u?-t/2+.5:0);if(w<e){n=Math.max(e-w,f);for(let t=0;t<e-w;t+=1){var b=t-Math.floor(t/_)*_;if(m){var x=_-b-1;for(let t=T.length-1;0<=t;--t)T[t].column===x&&g.push(t)}else g.push(_-b-1)}}else if(w+t>_-e){o=Math.max(w-(_-2*e),f);for(let t=0;t<o;t+=1){const P=t-Math.floor(t/_)*_;m?T.forEach((t,e)=>{t.column===P&&C.push(e)}):C.push(P)}}if(p.__preventObserver__=!0,requestAnimationFrame(()=>{p.__preventObserver__=!1}),y&&g.forEach(t=>{T[t].swiperLoopMoveDOM=!0,E.prepend(T[t]),T[t].swiperLoopMoveDOM=!1}),v&&C.forEach(t=>{T[t].swiperLoopMoveDOM=!0,E.append(T[t]),T[t].swiperLoopMoveDOM=!1}),p.recalcSlides(),"auto"===M.slidesPerView?p.updateSlides():m&&(0<g.length&&y||0<C.length&&v)&&p.slides.forEach((t,e)=>{p.grid.updateSlide(e,t,p.slides)}),M.watchSlidesProgress&&p.updateSlidesOffset(),a&&(0<g.length&&y?void 0===s?(r=p.slidesGrid[i],f=p.slidesGrid[i+n]-r,d?p.setTranslate(p.translate-f):(p.slideTo(i+n,0,!1,!0),u&&(p.touchEventsData.startTranslate=p.touchEventsData.startTranslate-f,p.touchEventsData.currentTranslate=p.touchEventsData.currentTranslate-f))):u&&(y=m?g.length/M.grid.rows:g.length,p.slideTo(p.activeIndex+y,0,!1,!0),p.touchEventsData.currentTranslate=p.translate):0<C.length&&v&&(void 0===s?(r=p.slidesGrid[i],f=p.slidesGrid[i-o]-r,d?p.setTranslate(p.translate-f):(p.slideTo(i-o,0,!1,!0),u&&(p.touchEventsData.startTranslate=p.touchEventsData.startTranslate-f,p.touchEventsData.currentTranslate=p.touchEventsData.currentTranslate-f))):(y=m?C.length/M.grid.rows:C.length,p.slideTo(p.activeIndex-y,0,!1,!0)))),p.allowSlidePrev=A,p.allowSlideNext=S,p.controller&&p.controller.control&&!h){const L={slideRealIndex:s,direction:l,setTranslate:u,activeSlideIndex:c,byController:!0};Array.isArray(p.controller.control)?p.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...L,slideTo:t.params.slidesPerView===M.slidesPerView&&a})}):p.controller.control instanceof p.constructor&&p.controller.control.params.loop&&p.controller.control.loopFix({...L,slideTo:p.controller.control.params.slidesPerView===M.slidesPerView&&a})}}p.emit("loopFix")}},loopDestroy:function(){const{params:t,slidesEl:e}=this;if(!(!t.loop||this.virtual&&this.params.virtual.enabled)){this.recalcSlides();const i=[];this.slides.forEach(t=>{var e=void 0===t.swiperSlideIndex?+t.getAttribute("data-swiper-slide-index"):t.swiperSlideIndex;i[e]=t}),this.slides.forEach(t=>{t.removeAttribute("data-swiper-slide-index")}),i.forEach(t=>{e.append(t)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}}},grabCursor:{setGrabCursor:function(t){const e=this;var i;!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(i="container"===e.params.touchEventsTarget?e.el:e.wrapperEl,e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))},unsetGrabCursor:function(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t["container"===t.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}},events:{attachEvents:function(){var t=this,e=t["params"];t.onTouchStart=function(i){var n=this,o=L();let r=i;if(r.originalEvent&&(r=r.originalEvent),i=n.touchEventsData,"pointerdown"===r.type){if(null!==i.pointerId&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(i.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type)v(n,r,r.targetTouches[0].pageX);else{var{params:s,touches:a,enabled:l}=n;if(l&&(s.simulateTouch||"mouse"!==r.pointerType)&&(!n.animating||!s.preventInteractionOnTransition)){!n.animating&&s.cssMode&&s.loop&&n.loopFix();let e=r.target;if(("wrapper"!==s.touchEventsTarget||n.wrapperEl.contains(e))&&!("which"in r&&3===r.which||"button"in r&&0<r.button||i.isTouched&&i.isMoved)){var l=!!s.noSwipingClass&&""!==s.noSwipingClass,u=r.composedPath?r.composedPath():r.path,l=(l&&r.target&&r.target.shadowRoot&&u&&(e=u[0]),s.noSwipingSelector||"."+s.noSwipingClass),u=!(!r.target||!r.target.shadowRoot);if(s.noSwiping&&(u?B(l,e):e.closest(l)))n.allowClick=!0;else if(!s.swipeHandler||e.closest(s.swipeHandler)){a.currentX=r.pageX,a.currentY=r.pageY;u=a.currentX,l=a.currentY;if(v(n,r,u)){Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=u,a.startY=l,i.touchStartTime=p(),n.allowClick=!0,n.updateSize(),n.swipeDirection=void 0,0<s.threshold&&(i.allowThresholdMove=!1);let t=!0;e.matches(i.focusableElements)&&(t=!1,"SELECT"===e.nodeName)&&(i.isTouched=!1),o.activeElement&&o.activeElement.matches(i.focusableElements)&&o.activeElement!==e&&o.activeElement.blur();u=t&&n.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!u||e.isContentEditable||r.preventDefault(),s.freeMode&&s.freeMode.enabled&&n.freeMode&&n.animating&&!s.cssMode&&n.freeMode.onTouchStart(),n.emit("touchStart",r)}}}}}}.bind(t),t.onTouchMove=function(e){var o=L(),r=this;const s=r.touchEventsData;var{params:a,touches:l,rtlTranslate:u,enabled:c}=r;if(c&&(a.simulateTouch||"mouse"!==e.pointerType)){let n=e;if("pointermove"===(n=n.originalEvent?n.originalEvent:n).type){if(null!==s.touchId)return;if(n.pointerId!==s.pointerId)return}let t;if("touchmove"===n.type){if(!(t=[...n.changedTouches].filter(t=>t.identifier===s.touchId)[0])||t.identifier!==s.touchId)return}else t=n;if(s.isTouched){c=t.pageX,e=t.pageY;if(n.preventedByNestedSwiper)l.startX=c,l.startY=e;else if(r.allowTouchMove){if(a.touchReleaseOnEdges&&!a.loop)if(r.isVertical()){if(e<l.startY&&r.translate<=r.maxTranslate()||e>l.startY&&r.translate>=r.minTranslate())return s.isTouched=!1,void(s.isMoved=!1)}else if(c<l.startX&&r.translate<=r.maxTranslate()||c>l.startX&&r.translate>=r.minTranslate())return;if(o.activeElement&&n.target===o.activeElement&&n.target.matches(s.focusableElements))s.isMoved=!0,r.allowClick=!1;else{s.allowTouchCallbacks&&r.emit("touchMove",n),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=c,l.currentY=e;var o=l.currentX-l.startX,h=l.currentY-l.startY;if(!(r.params.threshold&&Math.sqrt(o**2+h**2)<r.params.threshold))if(void 0===s.isScrolling&&(r.isHorizontal()&&l.currentY===l.startY||r.isVertical()&&l.currentX===l.startX?s.isScrolling=!1:25<=o*o+h*h&&(d=180*Math.atan2(Math.abs(h),Math.abs(o))/Math.PI,s.isScrolling=r.isHorizontal()?d>a.touchAngle:90-d>a.touchAngle)),s.isScrolling&&r.emit("touchMoveOpposite",n),void 0!==s.startMoving||l.currentX===l.startX&&l.currentY===l.startY||(s.startMoving=!0),s.isScrolling)s.isTouched=!1;else if(s.startMoving){r.allowClick=!1,!a.cssMode&&n.cancelable&&n.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&n.stopPropagation();let i=r.isHorizontal()?o:h,t=r.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;a.oneWayMovement&&(i=Math.abs(i)*(u?1:-1),t=Math.abs(t)*(u?1:-1)),l.diff=i,i*=a.touchRatio,u&&(i=-i,t=-t);var d=r.touchesDirection,o=(r.swipeDirection=0<i?"prev":"next",r.touchesDirection=0<t?"prev":"next",r.params.loop&&!a.cssMode),h="next"===r.touchesDirection&&r.allowSlideNext||"prev"===r.touchesDirection&&r.allowSlidePrev;if(s.isMoved||(o&&h&&r.loopFix({direction:r.swipeDirection}),s.startTranslate=r.getTranslate(),r.setTransition(0),r.animating&&(u=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0}),r.wrapperEl.dispatchEvent(u)),s.allowMomentumBounce=!1,!a.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",n)),(new Date).getTime(),s.isMoved&&s.allowThresholdMove&&d!==r.touchesDirection&&o&&h&&1<=Math.abs(i))Object.assign(l,{startX:c,startY:e,currentX:c,currentY:e,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,s.startTranslate=s.currentTranslate;else{r.emit("sliderMove",n),s.isMoved=!0,s.currentTranslate=i+s.startTranslate;let t=!0,e=a.resistanceRatio;if(a.touchReleaseOnEdges&&(e=0),0<i?(o&&h&&s.allowThresholdMove&&s.currentTranslate>(a.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>r.minTranslate()&&(t=!1,a.resistance)&&(s.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+s.startTranslate+i)**e)):i<0&&(o&&h&&s.allowThresholdMove&&s.currentTranslate<(a.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-("auto"===a.slidesPerView?r.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),s.currentTranslate<r.maxTranslate())&&(t=!1,a.resistance)&&(s.currentTranslate=r.maxTranslate()+1-(r.maxTranslate()-s.startTranslate-i)**e),t&&(n.preventedByNestedSwiper=!0),!r.allowSlideNext&&"next"===r.swipeDirection&&s.currentTranslate<s.startTranslate&&(s.currentTranslate=s.startTranslate),!r.allowSlidePrev&&"prev"===r.swipeDirection&&s.currentTranslate>s.startTranslate&&(s.currentTranslate=s.startTranslate),r.allowSlidePrev||r.allowSlideNext||(s.currentTranslate=s.startTranslate),0<a.threshold){if(!(Math.abs(i)>a.threshold||s.allowThresholdMove))return void(s.currentTranslate=s.startTranslate);if(!s.allowThresholdMove)return s.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,s.currentTranslate=s.startTranslate,void(l.diff=r.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&r.freeMode||a.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(s.currentTranslate),r.setTranslate(s.currentTranslate))}}}}else n.target.matches(s.focusableElements)||(r.allowClick=!1),s.isTouched&&(Object.assign(l,{startX:c,startY:e,currentX:c,currentY:e}),s.touchStartTime=p())}else s.startMoving&&s.isScrolling&&r.emit("touchMoveOpposite",n)}}.bind(t),t.onTouchEnd=function(t){const r=this,e=r.touchEventsData;let s=t,i;if("touchend"===(s=s.originalEvent?s.originalEvent:s).type||"touchcancel"===s.type){if(!(i=[...s.changedTouches].filter(t=>t.identifier===e.touchId)[0])||i.identifier!==e.touchId)return}else{if(null!==e.touchId)return;if(s.pointerId!==e.pointerId)return;i=s}if(!["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)||["pointercancel","contextmenu"].includes(s.type)&&(r.browser.isSafari||r.browser.isWebView)){e.pointerId=null,e.touchId=null;var{params:a,touches:t,rtlTranslate:n,slidesGrid:l,enabled:o}=r;if(o&&(a.simulateTouch||"mouse"!==s.pointerType))if(e.allowTouchCallbacks&&r.emit("touchEnd",s),e.allowTouchCallbacks=!1,e.isTouched){a.grabCursor&&e.isMoved&&e.isTouched&&(!0===r.allowSlideNext||!0===r.allowSlidePrev)&&r.setGrabCursor(!1);var o=p(),u=o-e.touchStartTime;if(r.allowClick&&(h=s.path||s.composedPath&&s.composedPath(),r.updateClickedSlide(h&&h[0]||s.target,h),r.emit("tap click",s),u<300)&&o-e.lastClickTime<300&&r.emit("doubleTap doubleClick",s),e.lastClickTime=p(),E(()=>{r.destroyed||(r.allowClick=!0)}),e.isTouched&&e.isMoved&&r.swipeDirection&&(0!==t.diff||e.loopSwapReset)&&(e.currentTranslate!==e.startTranslate||e.loopSwapReset)){e.isTouched=!1,e.isMoved=!1,e.startMoving=!1;let o;if(o=a.followFinger?n?r.translate:-r.translate:-e.currentTranslate,!a.cssMode)if(a.freeMode&&a.freeMode.enabled)r.freeMode.onTouchEnd({currentPos:o});else{var c=o>=-r.maxTranslate()&&!r.params.loop;let e=0,i=r.slidesSizesGrid[0];for(let t=0;t<l.length;t+=t<a.slidesPerGroupSkip?1:a.slidesPerGroup){const d=t<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==l[t+d]?(c||o>=l[t]&&o<l[t+d])&&(e=t,i=l[t+d]-l[t]):(c||o>=l[t])&&(e=t,i=l[l.length-1]-l[l.length-2])}let t=null,n=null;a.rewind&&(r.isBeginning?n=a.virtual&&a.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1:r.isEnd&&(t=0));var h=(o-l[e])/i;const d=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;u>a.longSwipesMs?a.longSwipes?("next"===r.swipeDirection&&(h>=a.longSwipesRatio?r.slideTo(a.rewind&&r.isEnd?t:e+d):r.slideTo(e)),"prev"===r.swipeDirection&&(h>1-a.longSwipesRatio?r.slideTo(e+d):null!==n&&h<0&&Math.abs(h)>a.longSwipesRatio?r.slideTo(n):r.slideTo(e))):r.slideTo(r.activeIndex):a.shortSwipes?r.navigation&&(s.target===r.navigation.nextEl||s.target===r.navigation.prevEl)?s.target===r.navigation.nextEl?r.slideTo(e+d):r.slideTo(e):("next"===r.swipeDirection&&r.slideTo(null!==t?t:e+d),"prev"===r.swipeDirection&&r.slideTo(null!==n?n:e)):r.slideTo(r.activeIndex)}}else e.isTouched=!1,e.isMoved=!1,e.startMoving=!1}else e.isMoved&&a.grabCursor&&r.setGrabCursor(!1),e.isMoved=!1,e.startMoving=!1}}.bind(t),t.onDocumentTouchStart=function(){this.documentTouchHandlerProceeded||(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}.bind(t),e.cssMode&&(t.onScroll=function(){var e=this,{wrapperEl:i,rtlTranslate:n,enabled:o}=e;if(o){e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-i.scrollLeft:e.translate=-i.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let t;o=e.maxTranslate()-e.minTranslate();(t=0==o?0:(e.translate-e.minTranslate())/o)!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}.bind(t)),t.onClick=function(t){this.enabled&&!this.allowClick&&(this.params.preventClicks&&t.preventDefault(),this.params.preventClicksPropagation)&&this.animating&&(t.stopPropagation(),t.stopImmediatePropagation())}.bind(t),t.onLoad=function(t){s(this,t.target),this.params.cssMode||"auto"!==this.params.slidesPerView&&!this.params.autoHeight||this.update()}.bind(t),y(t,"on")},detachEvents:function(){y(this,"off")}},breakpoints:{setBreakpoint:function(){const n=this,{realIndex:t,initialized:e,params:o,el:i}=n;if((s=o.breakpoints)&&0!==Object.keys(s).length){var r=n.getBreakpoint(s,n.params.breakpointsBase,n.el);if(r&&n.currentBreakpoint!==r){const h=(r in s?s[r]:void 0)||n.originalParams;var s=F(n,o),a=F(n,h),l=o.enabled,s=(s&&!a?(i.classList.remove(o.containerModifierClass+"grid",o.containerModifierClass+"grid-column"),n.emitContainerClasses()):!s&&a&&(i.classList.add(o.containerModifierClass+"grid"),(h.grid.fill&&"column"===h.grid.fill||!h.grid.fill&&"column"===o.grid.fill)&&i.classList.add(o.containerModifierClass+"grid-column"),n.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(t=>{var e,i;void 0!==h[t]&&(e=o[t]&&o[t].enabled,i=h[t]&&h[t].enabled,e&&!i&&n[t].disable(),!e)&&i&&n[t].enable()}),h.direction&&h.direction!==o.direction),a=o.loop&&(h.slidesPerView!==o.slidesPerView||s),u=o.loop,s=(s&&e&&n.changeDirection(),d(n.params,h),n.params.enabled),c=n.params.loop;Object.assign(n,{allowTouchMove:n.params.allowTouchMove,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev}),l&&!s?n.disable():!l&&s&&n.enable(),n.currentBreakpoint=r,n.emit("_beforeBreakpoint",h),e&&(a?(n.loopDestroy(),n.loopCreate(t),n.updateSlides()):!u&&c?(n.loopCreate(t),n.updateSlides()):u&&!c&&n.loopDestroy()),n.emit("breakpoint",h)}}},getBreakpoint:function(t,i,n){if(void 0===i&&(i="window"),t&&("container"!==i||n)){let e=!1;var o=A();const l="window"===i?o.innerHeight:n.clientHeight;var r=Object.keys(t).map(t=>{var e;return"string"==typeof t&&0===t.indexOf("@")?(e=parseFloat(t.substr(1)),{value:l*e,point:t}):{value:t,point:t}});r.sort((t,e)=>parseInt(t.value,10)-parseInt(e.value,10));for(let t=0;t<r.length;t+=1){var{point:s,value:a}=r[t];"window"===i?o.matchMedia(`(min-width: ${a}px)`).matches&&(e=s):a<=n.clientWidth&&(e=s)}return e||"max"}}},checkOverflow:{checkOverflow:function(){var t,e=this,{isLocked:i,params:n}=e,o=n["slidesOffsetBefore"];o?(t=e.slides.length-1,t=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*o,e.isLocked=e.size>t):e.isLocked=1===e.snapGrid.length,!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),i&&i!==e.isLocked&&(e.isEnd=!1),i!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var{classNames:t,params:e,rtl:i,el:n,device:o}=this,i=function(t,i){const n=[];return t.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(t=>{e[t]&&n.push(i+t)}):"string"==typeof e&&n.push(i+e)}),n}(["initialized",e.direction,{"free-mode":this.params.freeMode&&e.freeMode.enabled},{autoheight:e.autoHeight},{rtl:i},{grid:e.grid&&1<e.grid.rows},{"grid-column":e.grid&&1<e.grid.rows&&"column"===e.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":e.cssMode},{centered:e.cssMode&&e.centeredSlides},{"watch-progress":e.watchSlidesProgress}],e.containerModifierClass);t.push(...i),n.classList.add(...t),this.emitContainerClasses()},removeClasses:function(){var{el:t,classNames:e}=this;t.classList.remove(...e),this.emitContainerClasses()}}},b={};class x{constructor(){let t,e;for(var i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?e=n[0]:[t,e]=n,e=d({},e=e||{}),t&&!e.el&&(e.el=t);var r=L();if(e.el&&"string"==typeof e.el&&1<r.querySelectorAll(e.el).length){const l=[];return r.querySelectorAll(e.el).forEach(t=>{t=d({},e,{el:t});l.push(new x(t))}),l}const s=this,a=(s.__swiper__=!0,s.support=h(),s.device=D({userAgent:e.userAgent}),s.browser=R(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],e.modules&&Array.isArray(e.modules)&&s.modules.push(...e.modules),{});s.modules.forEach(t=>{var n,o;t({params:e,swiper:s,extendParams:(n=e,o=a,function(t){void 0===t&&(t={});var e=Object.keys(t)[0],i=t[e];"object"==typeof i&&null!==i&&(!0===n[e]&&(n[e]={enabled:!0}),"navigation"===e&&n[e]&&n[e].enabled&&!n[e].prevEl&&!n[e].nextEl&&(n[e].auto=!0),0<=["pagination","scrollbar"].indexOf(e)&&n[e]&&n[e].enabled&&!n[e].el&&(n[e].auto=!0),e in n&&"enabled"in i)&&("object"!=typeof n[e]||"enabled"in n[e]||(n[e].enabled=!0),n[e]||(n[e]={enabled:!1})),d(o,t)}),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});r=d({},N,a);return s.params=d({},r,b,e),s.originalParams=d({},s.params),s.passedParams=d({},e),s.params&&s.params.on&&Object.keys(s.params.on).forEach(t=>{s.on(t,s.params.on[t])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===s.params.direction},isVertical(){return"vertical"===s.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){var{slidesEl:e,params:i}=this,e=w(q(e,`.${i.slideClass}, swiper-slide`)[0]);return w(t)-e}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>+t.getAttribute("data-swiper-slide-index")===e)[0])}recalcSlides(){var{slidesEl:t,params:e}=this;this.slides=q(t,`.${e.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(t,e){t=Math.min(Math.max(t,0),1);var i=this.minTranslate(),n=this.maxTranslate();this.translateTo((n-i)*t+i,void 0===e?0:e),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){const e=this;var t;e.params._emitClasses&&e.el&&(t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)),e.emit("_containerClasses",t.join(" ")))}getSlideClasses(t){const e=this;return e.destroyed?"":t.className.split(" ").filter(t=>0===t.indexOf("swiper-slide")||0===t.indexOf(e.params.slideClass)).join(" ")}emitSlidesClasses(){const i=this;if(i.params._emitClasses&&i.el){const n=[];i.slides.forEach(t=>{var e=i.getSlideClasses(t);n.push({slideEl:t,classNames:e}),i.emit("_slideClass",t,e)}),i.emit("_slideClasses",n)}}slidesPerViewDynamic(t,e){void 0===t&&(t="current"),void 0===e&&(e=!1);var{params:i,slides:n,slidesGrid:o,slidesSizesGrid:r,size:s,activeIndex:a}=this;let l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let e=n[a]?n[a].swiperSlideSize:0,i;for(let t=a+1;t<n.length;t+=1)n[t]&&!i&&(e+=n[t].swiperSlideSize,l+=1,e>s)&&(i=!0);for(let t=a-1;0<=t;--t)n[t]&&!i&&(e+=n[t].swiperSlideSize,l+=1,e>s)&&(i=!0)}else if("current"===t)for(let t=a+1;t<n.length;t+=1)(e?o[t]+r[t]-o[a]<s:o[t]-o[a]<s)&&(l+=1);else for(let t=a-1;0<=t;--t)o[a]-o[t]<s&&(l+=1);return l}update(){const e=this;if(e&&!e.destroyed){var i,{snapGrid:n,params:o}=e;o.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(t=>{t.complete&&s(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();let t;function r(){var t=e.rtlTranslate?-1*e.translate:e.translate,t=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(t),e.updateActiveIndex(),e.updateSlidesClasses()}o.freeMode&&o.freeMode.enabled&&!o.cssMode?(r(),o.autoHeight&&e.updateAutoHeight()):(t=("auto"===o.slidesPerView||1<o.slidesPerView)&&e.isEnd&&!o.centeredSlides?(i=(e.virtual&&o.virtual.enabled?e.virtual:e).slides,e.slideTo(i.length-1,0,!1,!0)):e.slideTo(e.activeIndex,0,!1,!0))||r(),o.watchOverflow&&n!==e.snapGrid&&e.checkOverflow(),e.emit("update")}}changeDirection(e,t){void 0===t&&(t=!0);var i=this,n=i.params.direction;return(e=e||("horizontal"===n?"vertical":"horizontal"))===n||"horizontal"!==e&&"vertical"!==e||(i.el.classList.remove(""+i.params.containerModifierClass+n),i.el.classList.add(""+i.params.containerModifierClass+e),i.emitContainerClasses(),i.params.direction=e,i.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),i.emit("changeDirection"),t&&i.update()),i}changeLanguageDirection(t){var e=this;e.rtl&&"rtl"===t||!e.rtl&&"ltr"===t||(e.rtl="rtl"===t,e.rtlTranslate="horizontal"===e.params.direction&&e.rtl,e.rtl?(e.el.classList.add(e.params.containerModifierClass+"rtl"),e.el.dir="rtl"):(e.el.classList.remove(e.params.containerModifierClass+"rtl"),e.el.dir="ltr"),e.update())}mount(i){const n=this;if(!n.mounted){let t=i||n.params.el;if(!(t="string"==typeof t?document.querySelector(t):t))return!1;t.swiper=n,t.parentNode&&t.parentNode.host&&"SWIPER-CONTAINER"===t.parentNode.host.nodeName&&(n.isElement=!0);const o=()=>"."+(n.params.wrapperClass||"").trim().split(" ").join(".");let e=t&&t.shadowRoot&&t.shadowRoot.querySelector?t.shadowRoot.querySelector(o()):q(t,o())[0];!e&&n.params.createElements&&(e=M("div",n.params.wrapperClass),t.append(e),q(t,"."+n.params.slideClass).forEach(t=>{e.append(t)})),Object.assign(n,{el:t,wrapperEl:e,slidesEl:n.isElement&&!t.parentNode.host.slideSlots?t.parentNode.host:e,hostEl:n.isElement?t.parentNode.host:t,mounted:!0,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===G(t,"direction"),rtlTranslate:"horizontal"===n.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===G(t,"direction")),wrongRTL:"-webkit-box"===G(e,"display")})}return!0}init(t){const e=this;return e.initialized||!1!==e.mount(t)&&(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.enabled&&e.setGrabCursor(),e.params.loop&&e.virtual&&e.params.virtual.enabled?e.slideTo(e.params.initialSlide+e.virtual.slidesBefore,0,e.params.runCallbacksOnInit,!1,!0):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit,!1,!0),e.params.loop&&e.loopCreate(),e.attachEvents(),t=[...e.el.querySelectorAll('[loading="lazy"]')],e.isElement&&t.push(...e.hostEl.querySelectorAll('[loading="lazy"]')),t.forEach(t=>{t.complete?s(e,t):t.addEventListener("load",t=>{s(e,t.target)})}),g(e),e.initialized=!0,g(e),e.emit("init"),e.emit("afterInit")),e}destroy(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0);const i=this,{params:n,el:o,wrapperEl:r,slides:s}=i;if(void 0!==i.params&&!i.destroyed){if(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),e&&(i.removeClasses(),o.removeAttribute("style"),r.removeAttribute("style"),s)&&s.length&&s.forEach(t=>{t.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),t.removeAttribute("style"),t.removeAttribute("data-swiper-slide-index")}),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(t=>{i.off(t)}),!1!==t){i.el.swiper=null;{e=i;const a=e;Object.keys(a).forEach(t=>{try{a[t]=null}catch(t){}try{delete a[t]}catch(t){}})}}i.destroyed=!0}return null}static extendDefaults(t){d(b,t)}static get extendedDefaults(){return b}static get defaults(){return N}static installModule(t){x.prototype.__modules__||(x.prototype.__modules__=[]);var e=x.prototype.__modules__;"function"==typeof t&&e.indexOf(t)<0&&e.push(t)}static use(t){return Array.isArray(t)?t.forEach(t=>x.installModule(t)):x.installModule(t),x}}function C(i,n,o,r){return i.params.createElements&&Object.keys(r).forEach(e=>{if(!o[e]&&!0===o.auto){let t=q(i.el,"."+r[e])[0];t||((t=M("div",r[e])).className=r[e],i.el.append(t)),o[e]=t,n[e]=t}}),o}function P(t){return"."+(t=void 0===t?"":t).trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}function j(t){let{swiper:i,duration:e,transformElements:n,allSlides:o}=t;const r=i["activeIndex"];if(i.params.virtualTranslate&&0!==e){let e=!1,t;(t=o?n:n.filter(t=>{var e,t=t.classList.contains("swiper-slide-transform")?(e=t).parentElement||i.slides.filter(t=>t.shadowRoot&&t.shadowRoot===e.parentNode)[0]:t;return i.getSlideIndex(t)===r})).forEach(t=>{O(t,()=>{var t;e||i&&!i.destroyed&&(e=!0,i.animating=!1,t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0}),i.wrapperEl.dispatchEvent(t))})})}}return Object.keys(_).forEach(e=>{Object.keys(_[e]).forEach(t=>{x.prototype[t]=_[e][t]})}),x.use([function(t){let{swiper:r,on:e,emit:i}=t;const n=A();let o=null,s=null;const a=()=>{r&&!r.destroyed&&r.initialized&&(i("beforeResize"),i("resize"))},l=()=>{r&&!r.destroyed&&r.initialized&&i("orientationchange")};e("init",()=>{r.params.resizeObserver&&void 0!==n.ResizeObserver?r&&!r.destroyed&&r.initialized&&(o=new ResizeObserver(i=>{s=n.requestAnimationFrame(()=>{var{width:t,height:e}=r;let n=t,o=e;i.forEach(t=>{var{contentBoxSize:t,contentRect:e,target:i}=t;i&&i!==r.el||(n=e?e.width:(t[0]||t).inlineSize,o=e?e.height:(t[0]||t).blockSize)}),n===t&&o===e||a()})})).observe(r.el):(n.addEventListener("resize",a),n.addEventListener("orientationchange",l))}),e("destroy",()=>{s&&n.cancelAnimationFrame(s),o&&o.unobserve&&r.el&&(o.unobserve(r.el),o=null),n.removeEventListener("resize",a),n.removeEventListener("orientationchange",l)})},function(t){let{swiper:n,extendParams:e,on:i,emit:o}=t;function r(t,e){void 0===e&&(e={});var i=new(a.MutationObserver||a.WebkitMutationObserver)(t=>{var e;n.__preventObserver__||(1===t.length?o("observerUpdate",t[0]):(e=function(){o("observerUpdate",t[0])},a.requestAnimationFrame?a.requestAnimationFrame(e):a.setTimeout(e,0)))});i.observe(t,{attributes:void 0===e.attributes||e.attributes,childList:void 0===e.childList||e.childList,characterData:void 0===e.characterData||e.characterData}),s.push(i)}const s=[],a=A();e({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(n.params.observer){if(n.params.observeParents){var e=c(n.hostEl);for(let t=0;t<e.length;t+=1)r(e[t])}r(n.hostEl,{childList:n.params.observeSlideChildren}),r(n.wrapperEl,{attributes:!1})}}),i("destroy",()=>{s.forEach(t=>{t.disconnect()}),s.splice(0,s.length)})}]),x.use([function(t){let{swiper:o,extendParams:e,on:i,emit:r}=t;e({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),o.navigation={nextEl:null,prevEl:null};const s=t=>(Array.isArray(t)?t:[t]).filter(t=>!!t);function a(t){let e;return!(t&&"string"==typeof t&&o.isElement&&(e=o.el.querySelector(t)))&&(t&&("string"==typeof t&&(e=[...document.querySelectorAll(t)]),o.params.uniqueNavElements)&&"string"==typeof t&&1<e.length&&1===o.el.querySelectorAll(t).length&&(e=o.el.querySelector(t)),t)&&!e?t:e}function n(t,e){const i=o.params.navigation;(t=s(t)).forEach(t=>{t&&(t.classList[e?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=e),o.params.watchOverflow)&&o.enabled&&t.classList[o.isLocked?"add":"remove"](i.lockClass)})}function l(){var{nextEl:t,prevEl:e}=o.navigation;o.params.loop?(n(e,!1),n(t,!1)):(n(e,o.isBeginning&&!o.params.rewind),n(t,o.isEnd&&!o.params.rewind))}function u(t){t.preventDefault(),o.isBeginning&&!o.params.loop&&!o.params.rewind||(o.slidePrev(),r("navigationPrev"))}function c(t){t.preventDefault(),o.isEnd&&!o.params.loop&&!o.params.rewind||(o.slideNext(),r("navigationNext"))}function h(){const i=o.params.navigation;if(o.params.navigation=C(o,o.originalParams.navigation,o.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),i.nextEl||i.prevEl){var t=a(i.nextEl),e=a(i.prevEl);Object.assign(o.navigation,{nextEl:t,prevEl:e}),t=s(t),e=s(e);const n=(t,e)=>{t&&t.addEventListener("click","next"===e?c:u),!o.enabled&&t&&t.classList.add(...i.lockClass.split(" "))};t.forEach(t=>n(t,"next")),e.forEach(t=>n(t,"prev"))}}function d(){var{nextEl:t,prevEl:e}=o.navigation,t=s(t),e=s(e);const i=(t,e)=>{t.removeEventListener("click","next"===e?c:u),t.classList.remove(...o.params.navigation.disabledClass.split(" "))};t.forEach(t=>i(t,"next")),e.forEach(t=>i(t,"prev"))}i("init",()=>{(!1===o.params.navigation.enabled?p:(h(),l))()}),i("toEdge fromEdge lock unlock",()=>{l()}),i("destroy",()=>{d()}),i("enable disable",()=>{var{nextEl:t,prevEl:e}=o.navigation,t=s(t),e=s(e);o.enabled?l():[...t,...e].filter(t=>!!t).forEach(t=>t.classList.add(o.params.navigation.lockClass))}),i("click",(t,e)=>{var{nextEl:i,prevEl:n}=o.navigation,i=s(i),n=s(n),e=e.target;if(o.params.navigation.hideOnClick&&!n.includes(e)&&!i.includes(e)&&(!(o.pagination&&o.params.pagination&&o.params.pagination.clickable)||o.pagination.el!==e&&!o.pagination.el.contains(e))){let t;i.length?t=i[0].classList.contains(o.params.navigation.hiddenClass):n.length&&(t=n[0].classList.contains(o.params.navigation.hiddenClass)),!0===t?r("navigationShow"):r("navigationHide"),[...i,...n].filter(t=>!!t).forEach(t=>t.classList.toggle(o.params.navigation.hiddenClass))}});const p=()=>{o.el.classList.add(...o.params.navigation.navigationDisabledClass.split(" ")),d()};Object.assign(o.navigation,{enable:()=>{o.el.classList.remove(...o.params.navigation.navigationDisabledClass.split(" ")),h(),l()},disable:p,update:l,init:h,destroy:d})},function(t){let{swiper:f,extendParams:e,on:i,emit:m}=t;t="swiper-pagination",e({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:t=>t,formatFractionTotal:t=>t,bulletClass:t+"-bullet",bulletActiveClass:t+"-bullet-active",modifierClass:t+"-",currentClass:t+"-current",totalClass:t+"-total",hiddenClass:t+"-hidden",progressbarFillClass:t+"-progressbar-fill",progressbarOppositeClass:t+"-progressbar-opposite",clickableClass:t+"-clickable",lockClass:t+"-lock",horizontalClass:t+"-horizontal",verticalClass:t+"-vertical",paginationDisabledClass:t+"-disabled"}}),f.pagination={el:null,bullets:[]};let g,v=0;const y=t=>(Array.isArray(t)?t:[t]).filter(t=>!!t);function r(){return!f.params.pagination.el||!f.pagination.el||Array.isArray(f.pagination.el)&&0===f.pagination.el.length}function _(t,e){var i=f.params.pagination["bulletActiveClass"];(t=t&&t[`${"prev"===e?"previous":"next"}ElementSibling`])&&(t.classList.add(i+"-"+e),t=t[`${"prev"===e?"previous":"next"}ElementSibling`])&&t.classList.add(i+`-${e}-`+e)}function n(t){var e=t.target.closest(P(f.params.pagination.bulletClass));e&&(t.preventDefault(),t=w(e)*f.params.slidesPerGroup,f.params.loop?f.realIndex!==t&&f.slideToLoop(t):f.slideTo(t))}function o(){var o=f.rtl;const s=f.params.pagination;if(!r()){var a=f.pagination.el,a=y(a);let r,e;var l=(f.virtual&&f.params.virtual.enabled?f.virtual:f).slides.length;const h=f.params.loop?Math.ceil(l/f.params.slidesPerGroup):f.snapGrid.length;if(f.params.loop?(e=f.previousRealIndex||0,r=1<f.params.slidesPerGroup?Math.floor(f.realIndex/f.params.slidesPerGroup):f.realIndex):void 0!==f.snapIndex?(r=f.snapIndex,e=f.previousSnapIndex):(e=f.previousIndex||0,r=f.activeIndex||0),"bullets"===s.type&&f.pagination.bullets&&0<f.pagination.bullets.length){var u=f.pagination.bullets;let i,n,t;if(s.dynamicBullets&&(g=V(u[0],f.isHorizontal()?"width":"height",!0),a.forEach(t=>{t.style[f.isHorizontal()?"width":"height"]=g*(s.dynamicMainBullets+4)+"px"}),1<s.dynamicMainBullets&&void 0!==e&&((v+=r-(e||0))>s.dynamicMainBullets-1?v=s.dynamicMainBullets-1:v<0&&(v=0)),i=Math.max(r-v,0),n=i+(Math.min(u.length,s.dynamicMainBullets)-1),t=(n+i)/2),u.forEach(t=>{var e=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(t=>""+s.bulletActiveClass+t)].map(t=>"string"==typeof t&&t.includes(" ")?t.split(" "):t).flat();t.classList.remove(...e)}),1<a.length)u.forEach(t=>{var e=w(t);e===r?t.classList.add(...s.bulletActiveClass.split(" ")):f.isElement&&t.setAttribute("part","bullet"),s.dynamicBullets&&(e>=i&&e<=n&&t.classList.add(...(s.bulletActiveClass+"-main").split(" ")),e===i&&_(t,"prev"),e===n)&&_(t,"next")});else{l=u[r];if(l&&l.classList.add(...s.bulletActiveClass.split(" ")),f.isElement&&u.forEach((t,e)=>{t.setAttribute("part",e===r?"bullet-active":"bullet")}),s.dynamicBullets){var l=u[i],c=u[n];for(let t=i;t<=n;t+=1)u[t]&&u[t].classList.add(...(s.bulletActiveClass+"-main").split(" "));_(l,"prev"),_(c,"next")}}if(s.dynamicBullets){l=Math.min(u.length,s.dynamicMainBullets+4);const d=(g*l-g)/2-t*g,p=o?"right":"left";u.forEach(t=>{t.style[f.isHorizontal()?p:"top"]=d+"px"})}}a.forEach((n,t)=>{if("fraction"===s.type&&(n.querySelectorAll(P(s.currentClass)).forEach(t=>{t.textContent=s.formatFractionCurrent(r+1)}),n.querySelectorAll(P(s.totalClass)).forEach(t=>{t.textContent=s.formatFractionTotal(h)})),"progressbar"===s.type){let t;t=s.progressbarOpposite?f.isHorizontal()?"vertical":"horizontal":f.isHorizontal()?"horizontal":"vertical";var o=(r+1)/h;let e=1,i=1;"horizontal"===t?e=o:i=o,n.querySelectorAll(P(s.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${e}) scaleY(${i})`,t.style.transitionDuration=f.params.speed+"ms"})}"custom"===s.type&&s.renderCustom?(n.innerHTML=s.renderCustom(f,r+1,h),0===t&&m("paginationRender",n)):(0===t&&m("paginationRender",n),m("paginationUpdate",n)),f.params.watchOverflow&&f.enabled&&n.classList[f.isLocked?"add":"remove"](s.lockClass)})}}function s(){const n=f.params.pagination;if(!r()){var t=f.virtual&&f.params.virtual.enabled?f.virtual.slides.length:f.grid&&1<f.params.grid.rows?f.slides.length/Math.ceil(f.params.grid.rows):f.slides.length,e=f.pagination.el,e=y(e);let i="";if("bullets"===n.type){let e=f.params.loop?Math.ceil(t/f.params.slidesPerGroup):f.snapGrid.length;f.params.freeMode&&f.params.freeMode.enabled&&e>t&&(e=t);for(let t=0;t<e;t+=1)n.renderBullet?i+=n.renderBullet.call(f,t,n.bulletClass):i+=`<${n.bulletElement} ${f.isElement?'part="bullet"':""} class="${n.bulletClass}"></${n.bulletElement}>`}"fraction"===n.type&&(i=n.renderFraction?n.renderFraction.call(f,n.currentClass,n.totalClass):`<span class="${n.currentClass}"></span>`+" / "+`<span class="${n.totalClass}"></span>`),"progressbar"===n.type&&(i=n.renderProgressbar?n.renderProgressbar.call(f,n.progressbarFillClass):`<span class="${n.progressbarFillClass}"></span>`),f.pagination.bullets=[],e.forEach(t=>{"custom"!==n.type&&(t.innerHTML=i||""),"bullets"===n.type&&f.pagination.bullets.push(...t.querySelectorAll(P(n.bulletClass)))}),"custom"!==n.type&&m("paginationRender",e[0])}}function a(){f.params.pagination=C(f,f.originalParams.pagination,f.params.pagination,{el:"swiper-pagination"});const e=f.params.pagination;if(e.el){let t;(t=(t=(t="string"==typeof e.el&&f.isElement?f.el.querySelector(e.el):t)||"string"!=typeof e.el?t:[...document.querySelectorAll(e.el)])||e.el)&&0!==t.length&&(f.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(t)&&1<t.length&&1<(t=[...f.el.querySelectorAll(e.el)]).length&&(t=t.filter(t=>c(t,".swiper")[0]===f.el)[0]),Array.isArray(t)&&1===t.length&&(t=t[0]),Object.assign(f.pagination,{el:t}),(t=y(t)).forEach(t=>{"bullets"===e.type&&e.clickable&&t.classList.add(...(e.clickableClass||"").split(" ")),t.classList.add(e.modifierClass+e.type),t.classList.add(f.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(t.classList.add(""+e.modifierClass+e.type+"-dynamic"),v=0,e.dynamicMainBullets<1)&&(e.dynamicMainBullets=1),"progressbar"===e.type&&e.progressbarOpposite&&t.classList.add(e.progressbarOppositeClass),e.clickable&&t.addEventListener("click",n),f.enabled||t.classList.add(e.lockClass)}))}}function l(){const e=f.params.pagination;var t;r()||((t=f.pagination.el)&&(t=y(t)).forEach(t=>{t.classList.remove(e.hiddenClass),t.classList.remove(e.modifierClass+e.type),t.classList.remove(f.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(t.classList.remove(...(e.clickableClass||"").split(" ")),t.removeEventListener("click",n))}),f.pagination.bullets&&f.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}i("changeDirection",()=>{if(f.pagination&&f.pagination.el){const e=f.params.pagination;var t=f.pagination["el"];(t=y(t)).forEach(t=>{t.classList.remove(e.horizontalClass,e.verticalClass),t.classList.add(f.isHorizontal()?e.horizontalClass:e.verticalClass)})}}),i("init",()=>{(!1===f.params.pagination.enabled?u:(a(),s(),o))()}),i("activeIndexChange",()=>{void 0===f.snapIndex&&o()}),i("snapIndexChange",()=>{o()}),i("snapGridLengthChange",()=>{s(),o()}),i("destroy",()=>{l()}),i("enable disable",()=>{var t=f.pagination["el"];t&&(t=y(t)).forEach(t=>t.classList[f.enabled?"remove":"add"](f.params.pagination.lockClass))}),i("lock unlock",()=>{o()}),i("click",(t,e)=>{var e=e.target,i=y(f.pagination.el);f.params.pagination.el&&f.params.pagination.hideOnClick&&i&&0<i.length&&!e.classList.contains(f.params.pagination.bulletClass)&&(f.navigation&&(f.navigation.nextEl&&e===f.navigation.nextEl||f.navigation.prevEl&&e===f.navigation.prevEl)||(!0===i[0].classList.contains(f.params.pagination.hiddenClass)?m("paginationShow"):m("paginationHide"),i.forEach(t=>t.classList.toggle(f.params.pagination.hiddenClass))))});const u=()=>{f.el.classList.add(f.params.pagination.paginationDisabledClass);var t=f.pagination["el"];t&&(t=y(t)).forEach(t=>t.classList.add(f.params.pagination.paginationDisabledClass)),l()};Object.assign(f.pagination,{enable:()=>{f.el.classList.remove(f.params.pagination.paginationDisabledClass);var t=f.pagination["el"];t&&(t=y(t)).forEach(t=>t.classList.remove(f.params.pagination.paginationDisabledClass)),a(),s(),o()},disable:u,render:s,update:o,init:a,destroy:l})},function(t){let{swiper:l,extendParams:e,on:i,emit:r}=t;const s=L();let a=!1,u=null,c=null,h,d,p,n;function o(){if(l.params.scrollbar.el&&l.scrollbar.el){var{scrollbar:i,rtlTranslate:n}=l;const{dragEl:r,el:s}=i;var i=l.params.scrollbar,o=l.params.loop?l.progressLoop:l.progress;let t=d,e=(p-d)*o;n?0<(e=-e)?(t=d-e,e=0):-e+d>p&&(t=p+e):e<0?(t=d+e,e=0):e+d>p&&(t=p-e),l.isHorizontal()?(r.style.transform=`translate3d(${e}px, 0, 0)`,r.style.width=t+"px"):(r.style.transform=`translate3d(0px, ${e}px, 0)`,r.style.height=t+"px"),i.hide&&(clearTimeout(u),s.style.opacity=1,u=setTimeout(()=>{s.style.opacity=0,s.style.transitionDuration="400ms"},1e3))}}function f(){var t,e,i;l.params.scrollbar.el&&l.scrollbar.el&&(t=l["scrollbar"],{dragEl:e,el:i}=t,e.style.width="",e.style.height="",p=l.isHorizontal()?i.offsetWidth:i.offsetHeight,n=l.size/(l.virtualSize+l.params.slidesOffsetBefore-(l.params.centeredSlides?l.snapGrid[0]:0)),d="auto"===l.params.scrollbar.dragSize?p*n:parseInt(l.params.scrollbar.dragSize,10),l.isHorizontal()?e.style.width=d+"px":e.style.height=d+"px",1<=n?i.style.display="none":i.style.display="",l.params.scrollbar.hide&&(i.style.opacity=0),l.params.watchOverflow)&&l.enabled&&t.el.classList[l.isLocked?"add":"remove"](l.params.scrollbar.lockClass)}function m(t){return l.isHorizontal()?t.clientX:t.clientY}function g(t){var e,i,n,o,{scrollbar:r,rtlTranslate:s}=l,r=r["el"];let a;a=(m(t)-(t=r,r=A(),e=L(),i=t.getBoundingClientRect(),e=e.body,n=t.clientTop||e.clientTop||0,e=t.clientLeft||e.clientLeft||0,o=t===r?r.scrollY:t.scrollTop,r=t===r?r.scrollX:t.scrollLeft,{top:i.top+o-n,left:i.left+r-e}[l.isHorizontal()?"left":"top"])-(null!==h?h:d/2))/(p-d),a=Math.max(Math.min(a,1),0),s&&(a=1-a);t=l.minTranslate()+(l.maxTranslate()-l.minTranslate())*a;l.updateProgress(t),l.setTranslate(t),l.updateActiveIndex(),l.updateSlidesClasses()}function v(t){var e=l.params.scrollbar,{scrollbar:i,wrapperEl:n}=l,{el:i,dragEl:o}=i;a=!0,h=t.target===o?m(t)-t.target.getBoundingClientRect()[l.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),n.style.transitionDuration="100ms",o.style.transitionDuration="100ms",g(t),clearTimeout(c),i.style.transitionDuration="0ms",e.hide&&(i.style.opacity=1),l.params.cssMode&&(l.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",t)}function y(t){var{scrollbar:e,wrapperEl:i}=l,{el:e,dragEl:n}=e;a&&(t.preventDefault?t.preventDefault():t.returnValue=!1,g(t),i.style.transitionDuration="0ms",e.style.transitionDuration="0ms",n.style.transitionDuration="0ms",r("scrollbarDragMove",t))}function _(t){var e=l.params.scrollbar,{scrollbar:i,wrapperEl:n}=l;const o=i["el"];a&&(a=!1,l.params.cssMode&&(l.wrapperEl.style["scroll-snap-type"]="",n.style.transitionDuration=""),e.hide&&(clearTimeout(c),c=E(()=>{o.style.opacity=0,o.style.transitionDuration="400ms"},1e3)),r("scrollbarDragEnd",t),e.snapOnRelease)&&l.slideToClosest()}function w(t){var e,{scrollbar:i,params:n}=l,i=i.el;i&&(e=!!n.passiveListeners&&{passive:!1,capture:!1},n=!!n.passiveListeners&&{passive:!0,capture:!1},i=i)&&(i[i="on"===t?"addEventListener":"removeEventListener"]("pointerdown",v,e),s[i]("pointermove",y,e),s[i]("pointerup",_,n))}function b(){var{scrollbar:i,el:n}=l,o=(l.params.scrollbar=C(l,l.originalParams.scrollbar,l.params.scrollbar,{el:"swiper-scrollbar"}),l.params.scrollbar);if(o.el){let t;if((t="string"==typeof o.el&&l.isElement?l.el.querySelector(o.el):t)||"string"!=typeof o.el)t=t||o.el;else if(!(t=s.querySelectorAll(o.el)).length)return;(t=0<(t=l.params.uniqueNavElements&&"string"==typeof o.el&&1<t.length&&1===n.querySelectorAll(o.el).length?n.querySelector(o.el):t).length?t[0]:t).classList.add(l.isHorizontal()?o.horizontalClass:o.verticalClass);let e;!t||(e=t.querySelector(P(l.params.scrollbar.dragClass)))||(e=M("div",l.params.scrollbar.dragClass),t.append(e)),Object.assign(i,{el:t,dragEl:e}),o.draggable&&l.params.scrollbar.el&&l.scrollbar.el&&w("on"),t&&t.classList[l.enabled?"remove":"add"](...S(l.params.scrollbar.lockClass))}}function x(){var t=l.params.scrollbar,e=l.scrollbar.el;e&&e.classList.remove(...S(l.isHorizontal()?t.horizontalClass:t.verticalClass)),l.params.scrollbar.el&&l.scrollbar.el&&w("off")}e({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),l.scrollbar={el:null,dragEl:null},i("init",()=>{(!1===l.params.scrollbar.enabled?T:(b(),f(),o))()}),i("update resize observerUpdate lock unlock",()=>{f()}),i("setTranslate",()=>{o()}),i("setTransition",(t,e)=>{e=e,l.params.scrollbar.el&&l.scrollbar.el&&(l.scrollbar.dragEl.style.transitionDuration=e+"ms")}),i("enable disable",()=>{var t=l.scrollbar["el"];t&&t.classList[l.enabled?"remove":"add"](...S(l.params.scrollbar.lockClass))}),i("destroy",()=>{x()});const T=()=>{l.el.classList.add(...S(l.params.scrollbar.scrollbarDisabledClass)),l.scrollbar.el&&l.scrollbar.el.classList.add(...S(l.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(l.scrollbar,{enable:()=>{l.el.classList.remove(...S(l.params.scrollbar.scrollbarDisabledClass)),l.scrollbar.el&&l.scrollbar.el.classList.remove(...S(l.params.scrollbar.scrollbarDisabledClass)),b(),f(),o()},disable:T,updateSize:f,setTranslate:o,init:b,destroy:x})},function(t){let{swiper:c,extendParams:e,on:i}=t;e({parallax:{enabled:!1}});const r="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",s=(t,e)=>{var i=c["rtl"],i=i?-1:1,n=t.getAttribute("data-swiper-parallax")||"0";let o=t.getAttribute("data-swiper-parallax-x"),r=t.getAttribute("data-swiper-parallax-y");var s=t.getAttribute("data-swiper-parallax-scale"),a=t.getAttribute("data-swiper-parallax-opacity"),l=t.getAttribute("data-swiper-parallax-rotate");o||r?(o=o||"0",r=r||"0"):c.isHorizontal()?(o=n,r="0"):(r=n,o="0"),o=0<=o.indexOf("%")?parseInt(o,10)*e*i+"%":o*e*i+"px",r=0<=r.indexOf("%")?parseInt(r,10)*e+"%":r*e+"px",null!=a&&(n=a-(a-1)*(1-Math.abs(e)),t.style.opacity=n);let u=`translate3d(${o}, ${r}, 0px)`;null!=s&&(i=s-(s-1)*(1-Math.abs(e)),u+=` scale(${i})`),l&&null!=l&&(u+=` rotate(${l*e*-1}deg)`),t.style.transform=u},n=()=>{const{el:t,slides:e,progress:n,snapGrid:o}=c;var i=q(t,r);c.isElement&&i.push(...q(c.hostEl,r)),i.forEach(t=>{s(t,n)}),e.forEach((t,e)=>{let i=t.progress;1<c.params.slidesPerGroup&&"auto"!==c.params.slidesPerView&&(i+=Math.ceil(e/2)-n*(o.length-1)),i=Math.min(Math.max(i,-1),1),t.querySelectorAll(r+", [data-swiper-parallax-rotate]").forEach(t=>{s(t,i)})})};i("beforeInit",()=>{c.params.parallax.enabled&&(c.params.watchSlidesProgress=!0,c.originalParams.watchSlidesProgress=!0)}),i("init",()=>{c.params.parallax.enabled&&n()}),i("setTranslate",()=>{c.params.parallax.enabled&&n()}),i("setTransition",(t,e)=>{var i,n;c.params.parallax.enabled&&({el:e,hostEl:n}=(void 0===(i=e)&&(i=c.params.speed),c),e=[...e.querySelectorAll(r)],c.isElement&&e.push(...n.querySelectorAll(r)),e.forEach(t=>{let e=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||i;0===i&&(e=0),t.style.transitionDuration=e+"ms"}))})},function(t){let{swiper:r,extendParams:e,on:i,emit:s,params:n}=t;r.autoplay={running:!1,paused:!1,timeLeft:0},e({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,l,u=n&&n.autoplay?n.autoplay.delay:3e3,c=n&&n.autoplay?n.autoplay.delay:3e3,h,d=(new Date).getTime(),o,p,f,m,g,v,y;function _(t){!r||r.destroyed||!r.wrapperEl||t.target!==r.wrapperEl||(r.wrapperEl.removeEventListener("transitionend",_),y)||E()}const w=()=>{var t;!r.destroyed&&r.autoplay.running&&(r.autoplay.paused?o=!0:o&&(c=h,o=!1),t=r.autoplay.paused?h:d+c-(new Date).getTime(),r.autoplay.timeLeft=t,s("autoplayTimeLeft",t,t/u),l=requestAnimationFrame(()=>{w()}))},b=()=>{let t;if(t=r.virtual&&r.params.virtual.enabled?r.slides.filter(t=>t.classList.contains("swiper-slide-active"))[0]:r.slides[r.activeIndex])return parseInt(t.getAttribute("data-swiper-autoplay"),10)},x=e=>{if(!r.destroyed&&r.autoplay.running){cancelAnimationFrame(l),w();let t=void 0===e?r.params.autoplay.delay:e;u=r.params.autoplay.delay,c=r.params.autoplay.delay;var i=b();!Number.isNaN(i)&&0<i&&void 0===e&&(t=i,u=i,c=i),h=t;const n=r.params.speed,o=()=>{r&&!r.destroyed&&(r.params.autoplay.reverseDirection?!r.isBeginning||r.params.loop||r.params.rewind?(r.slidePrev(n,!0,!0),s("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(r.slides.length-1,n,!0,!0),s("autoplay")):!r.isEnd||r.params.loop||r.params.rewind?(r.slideNext(n,!0,!0),s("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(0,n,!0,!0),s("autoplay")),r.params.cssMode)&&(d=(new Date).getTime(),requestAnimationFrame(()=>{x()}))};return 0<t?(clearTimeout(a),a=setTimeout(()=>{o()},t)):requestAnimationFrame(()=>{o()}),t}},T=()=>{d=(new Date).getTime(),r.autoplay.running=!0,x(),s("autoplayStart")},A=()=>{r.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(l),s("autoplayStop")},S=(t,e)=>{!r.destroyed&&r.autoplay.running&&(clearTimeout(a),t||(v=!0),t=()=>{s("autoplayPause"),r.params.autoplay.waitForTransition?r.wrapperEl.addEventListener("transitionend",_):E()},r.autoplay.paused=!0,e?(g&&(h=r.params.autoplay.delay),g=!1,t()):(e=h||r.params.autoplay.delay,h=e-((new Date).getTime()-d),r.isEnd&&h<0&&!r.params.loop||(h<0&&(h=0),t())))},E=()=>{r.isEnd&&h<0&&!r.params.loop||r.destroyed||!r.autoplay.running||(d=(new Date).getTime(),v?(v=!1,x(h)):x(),r.autoplay.paused=!1,s("autoplayResume"))},M=()=>{var t;!r.destroyed&&r.autoplay.running&&("hidden"===(t=L()).visibilityState&&(v=!0,S(!0)),"visible"===t.visibilityState)&&E()},C=t=>{"mouse"!==t.pointerType||(v=!0,y=!0,r.animating)||r.autoplay.paused||S(!0)},P=t=>{"mouse"===t.pointerType&&(y=!1,r.autoplay.paused)&&E()};i("init",()=>{r.params.autoplay.enabled&&(r.params.autoplay.pauseOnMouseEnter&&(r.el.addEventListener("pointerenter",C),r.el.addEventListener("pointerleave",P)),L().addEventListener("visibilitychange",M),T())}),i("destroy",()=>{r.el.removeEventListener("pointerenter",C),r.el.removeEventListener("pointerleave",P),L().removeEventListener("visibilitychange",M),r.autoplay.running&&A()}),i("_freeModeStaticRelease",()=>{(f||v)&&E()}),i("_freeModeNoMomentumRelease",()=>{r.params.autoplay.disableOnInteraction?A():S(!0,!0)}),i("beforeTransitionStart",(t,e,i)=>{!r.destroyed&&r.autoplay.running&&(i||!r.params.autoplay.disableOnInteraction?S(!0,!0):A())}),i("sliderFirstMove",()=>{!r.destroyed&&r.autoplay.running&&(r.params.autoplay.disableOnInteraction?A():(p=!0,f=!1,v=!1,m=setTimeout(()=>{v=!0,f=!0,S(!0)},200)))}),i("touchEnd",()=>{!r.destroyed&&r.autoplay.running&&p&&(clearTimeout(m),clearTimeout(a),p=(f=(r.params.autoplay.disableOnInteraction||f&&r.params.cssMode&&E(),!1),!1))}),i("slideChange",()=>{!r.destroyed&&r.autoplay.running&&(g=!0)}),Object.assign(r.autoplay,{start:T,stop:A,pause:S,resume:E})},function(t){let{swiper:c,extendParams:e,on:i}=t,n=(e({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}}),!1),o=!1;function r(){var e=c.thumbs.swiper;if(e&&!e.destroyed){var i=e.clickedIndex,t=e.clickedSlide;if(!(t&&t.classList.contains(c.params.thumbs.slideThumbActiveClass)||null==i)){let t;t=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):i,c.params.loop?c.slideToLoop(t):c.slideTo(t)}}}function s(){var t=c.params["thumbs"];if(n)return!1;n=!0;var e=c.constructor;return t.swiper instanceof e?(c.thumbs.swiper=t.swiper,Object.assign(c.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(c.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),c.thumbs.swiper.update()):l(t.swiper)&&(t=Object.assign({},t.swiper),Object.assign(t,{watchSlidesProgress:!0,slideToClickedSlide:!1}),c.thumbs.swiper=new e(t),o=!0),c.thumbs.swiper.el.classList.add(c.params.thumbs.thumbsContainerClass),c.thumbs.swiper.on("tap",r),!0}function a(i){var n=c.thumbs.swiper;if(n&&!n.destroyed){var o="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView;let e=1;const u=c.params.thumbs.slideThumbActiveClass;if(1<c.params.slidesPerView&&!c.params.centeredSlides&&(e=c.params.slidesPerView),c.params.thumbs.multipleActiveThumbs||(e=1),e=Math.floor(e),n.slides.forEach(t=>t.classList.remove(u)),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(let t=0;t<e;t+=1)q(n.slidesEl,`[data-swiper-slide-index="${c.realIndex+t}"]`).forEach(t=>{t.classList.add(u)});else for(let t=0;t<e;t+=1)n.slides[c.realIndex+t]&&n.slides[c.realIndex+t].classList.add(u);var r=c.params.thumbs.autoScrollOffset,s=r&&!n.params.loop;if(c.realIndex!==n.realIndex||s){var a,l=n.activeIndex;let t,e;e=n.params.loop?(a=n.slides.filter(t=>t.getAttribute("data-swiper-slide-index")===""+c.realIndex)[0],t=n.slides.indexOf(a),c.activeIndex>c.previousIndex?"next":"prev"):(t=c.realIndex)>c.previousIndex?"next":"prev",s&&(t+="next"===e?r:-1*r),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(t)<0&&(n.params.centeredSlides?t=t>l?t-Math.floor(o/2)+1:t+Math.floor(o/2)-1:t>l&&n.params.slidesPerGroup,n.slideTo(t,i?0:void 0))}}}c.thumbs={swiper:null},i("beforeInit",()=>{const n=c.params["thumbs"];if(n&&n.swiper)if("string"==typeof n.swiper||n.swiper instanceof HTMLElement){const t=L(),e=()=>{const e="string"==typeof n.swiper?t.querySelector(n.swiper):n.swiper;if(e&&e.swiper)n.swiper=e.swiper,s(),a(!0);else if(e){const i=t=>{n.swiper=t.detail[0],e.removeEventListener("init",i),s(),a(!0),n.swiper.update(),c.update()};e.addEventListener("init",i)}return e},i=()=>{c.destroyed||e()||requestAnimationFrame(i)};requestAnimationFrame(i)}else s(),a(!0)}),i("slideChange update resize observerUpdate",()=>{a()}),i("setTransition",(t,e)=>{var i=c.thumbs.swiper;i&&!i.destroyed&&i.setTransition(e)}),i("beforeDestroy",()=>{var t=c.thumbs.swiper;t&&!t.destroyed&&o&&t.destroy()}),Object.assign(c.thumbs,{init:s,update:a})},function(e){let{swiper:s,extendParams:t,on:i}=e;t({fadeEffect:{crossFade:!1}});{const{effect:n,swiper:o,on:r,setTranslate:a,setTransition:l,overwriteParams:u,perspective:c,recreateShadows:h,getEffectParams:d}=e={effect:"fade",swiper:s,on:i,setTranslate:()=>{var n,t=s["slides"];s.params.fadeEffect;for(let i=0;i<t.length;i+=1){var o=s.slides[i];let t=-o.swiperSlideOffset,e=(s.params.virtualTranslate||(t-=s.translate),0);s.isHorizontal()||(e=t,t=0);var r=s.params.fadeEffect.crossFade?Math.max(1-Math.abs(o.progress),0):1+Math.min(Math.max(o.progress,-1),0),o=(n=void 0,(n=f(o=o))!==o&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n);o.style.opacity=r,o.style.transform=`translate3d(${t}px, ${e}px, 0px)`}},setTransition:e=>{var t=s.slides.map(t=>f(t));t.forEach(t=>{t.style.transitionDuration=e+"ms"}),j({swiper:s,duration:e,transformElements:t,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!s.params.cssMode})};r("beforeInit",()=>{var t;o.params.effect===n&&(o.classNames.push(""+o.params.containerModifierClass+n),c&&c()&&o.classNames.push(o.params.containerModifierClass+"3d"),t=u?u():{},Object.assign(o.params,t),Object.assign(o.originalParams,t))}),r("setTranslate",()=>{o.params.effect===n&&a()}),r("setTransition",(t,e)=>{o.params.effect===n&&l(e)}),r("transitionEnd",()=>{o.params.effect===n&&h&&d&&d().slideShadows&&(o.slides.forEach(t=>{t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(t=>t.remove())}),h())});let t;r("virtualUpdate",()=>{o.params.effect===n&&(o.slides.length||(t=!0),requestAnimationFrame(()=>{t&&o.slides&&o.slides.length&&(a(),t=!1)}))})}}]),x}();if(!function(s){"use strict";s.ThreeSixty=function(t,e){var o,r=this,i=[];r.$el=s(t),r.el=t,r.$el.data("ThreeSixty",r),r.init=function(){(o=s.extend({},s.ThreeSixty.defaultOptions,e)).disableSpin&&(o.currentFrame=1,o.endFrame=1),r.initProgress(),r.loadImages()},r.resize=function(){},r.initProgress=function(){r.$el.css({width:o.width+"px",height:o.height+"px","background-image":"none !important"}),o.styles&&r.$el.css(o.styles),r.responsive(),r.$el.find(o.progress).css({marginTop:o.height/2-15+"px"}),r.$el.find(o.progress).fadeIn("slow"),r.$el.find(o.imgList).hide()},r.loadImages=function(){var t=document.createElement("li"),e=o.zeroBased?0:1,e=o.imgArray?o.imgArray[o.loadedImages]:o.domain+o.imagePath+o.filePrefix+r.zeroPad(o.loadedImages+e)+o.ext+(r.browser.isIE()?"?"+(new Date).getTime():""),e=s("<img>").attr("src",e).addClass("previous-image").appendTo(t);i.push(e),r.$el.find(o.imgList).append(t),s(e).on("load",function(){r.imageLoaded()})},r.imageLoaded=function(){o.loadedImages+=1,s(o.progress+" span").text(Math.floor(o.loadedImages/o.totalFrames*100)+"%"),o.loadedImages>=o.totalFrames?(o.disableSpin&&i[0].removeClass("previous-image").addClass("current-image"),s(o.progress).fadeOut("slow",function(){s(this).hide(),r.showImages(),r.showNavigation()})):r.loadImages()},r.showImages=function(){r.$el.find(".txtC").fadeIn(),r.$el.find(o.imgList).fadeIn(),r.ready=!0,o.ready=!0,o.drag&&r.initEvents(),r.refresh(),r.initPlugins(),o.onReady(),setTimeout(function(){r.responsive()},50)},r.initPlugins=function(){s.each(o.plugins,function(t,e){if("function"!=typeof s[e])throw new Error(e+" not available.");s[e].call(r,r.$el,o)})},r.showNavigation=function(){var t,e,i,n;o.navigation&&!o.navigation_init&&(t=s("<div/>").attr("class","nav_bar"),e=s("<a/>").attr({href:"#",class:"nav_bar_next"}).html("next"),i=s("<a/>").attr({href:"#",class:"nav_bar_previous"}).html("previous"),n=s("<a/>").attr({href:"#",class:"nav_bar_play"}).html("play"),t.append(i),t.append(n),t.append(e),r.$el.prepend(t),e.bind("mousedown touchstart",r.next),i.bind("mousedown touchstart",r.previous),n.bind("mousedown touchstart",r.play_stop),o.navigation_init=!0)},r.play_stop=function(t){t.preventDefault(),o.autoplay?(o.autoplay=!1,s(t.currentTarget).removeClass("nav_bar_stop").addClass("nav_bar_play"),clearInterval(o.play),o.play=null):(o.autoplay=!0,o.play=setInterval(r.moveToNextFrame,o.playSpeed),s(t.currentTarget).removeClass("nav_bar_play").addClass("nav_bar_stop"))},r.next=function(t){t&&t.preventDefault(),o.endFrame-=parseInt(o.prevNextFrames),r.refresh()},r.previous=function(t){t&&t.preventDefault(),o.endFrame+=parseInt(o.prevNextFrames),r.refresh()},r.play=function(t,e){t=t||o.playSpeed,e=e||o.autoplayDirection;o.autoplayDirection=e,o.autoplay||(o.autoplay=!0,o.play=setInterval(r.moveToNextFrame,t))},r.stop=function(){o.autoplay&&(o.autoplay=!1,clearInterval(o.play),o.play=null)},r.moveToNextFrame=function(){1===o.autoplayDirection?--o.endFrame:o.endFrame+=1,r.refresh()},r.gotoAndPlay=function(t){var e,i,n;o.disableWrap?(o.endFrame=t,r.refresh()):(e=1<(e=0===(e=Math.ceil(o.endFrame/o.totalFrames))?1:e)?o.endFrame-(e-1)*o.totalFrames:o.endFrame,i=o.totalFrames-e,n=(n=0)<t-e?t-e<e+(o.totalFrames-t)?o.endFrame+(t-e):o.endFrame-(e+(o.totalFrames-t)):e-t<i+t?o.endFrame-(e-t):o.endFrame+(i+t),e!==t&&(o.endFrame=n,r.refresh()))},r.initEvents=function(){r.$el.bind("mousedown touchstart touchmove touchend mousemove click",function(t){t.preventDefault(),"mousedown"===t.type&&1===t.which||"touchstart"===t.type?(o.pointerStartPosX=r.getPointerEvent(t).pageX,o.dragging=!0,o.onDragStart(o.currentFrame)):"touchmove"===t.type?r.trackPointer(t):"touchend"===t.type&&(o.dragging=!1,o.onDragStop(o.endFrame))}),s(document).bind("mouseup",function(t){o.dragging=!1,o.onDragStop(o.endFrame),s(this).css("cursor","none")}),s(window).bind("resize",function(t){r.responsive()}),s(document).bind("mousemove",function(t){o.dragging?(t.preventDefault(),!r.browser.isIE&&o.showCursor&&r.$el.css("cursor","url(assets/images/hand_closed.png), auto")):!r.browser.isIE&&o.showCursor&&r.$el.css("cursor","url(assets/images/hand_open.png), auto"),r.trackPointer(t)}),s(window).resize(function(){r.resize()})},r.getPointerEvent=function(t){return t.originalEvent.targetTouches?t.originalEvent.targetTouches[0]:t},r.trackPointer=function(t){o.ready&&o.dragging&&(o.pointerEndPosX=r.getPointerEvent(t).pageX,o.monitorStartTime<(new Date).getTime()-o.monitorInt)&&(o.pointerDistance=o.pointerEndPosX-o.pointerStartPosX,0<o.pointerDistance?o.endFrame=o.currentFrame+Math.ceil((o.totalFrames-1)*o.speedMultiplier*(o.pointerDistance/r.$el.width())):o.endFrame=o.currentFrame+Math.floor((o.totalFrames-1)*o.speedMultiplier*(o.pointerDistance/r.$el.width())),o.disableWrap&&(o.endFrame=Math.min(o.totalFrames-(o.zeroBased?1:0),o.endFrame),o.endFrame=Math.max(o.zeroBased?0:1,o.endFrame)),r.refresh(),o.monitorStartTime=(new Date).getTime(),o.pointerStartPosX=r.getPointerEvent(t).pageX)},r.refresh=function(){0===o.ticker&&(o.ticker=setInterval(r.render,Math.round(1e3/o.framerate)))},r.render=function(){var t;o.currentFrame!==o.endFrame?(t=o.endFrame<o.currentFrame?Math.floor(.1*(o.endFrame-o.currentFrame)):Math.ceil(.1*(o.endFrame-o.currentFrame)),r.hidePreviousFrame(),o.currentFrame+=t,r.showCurrentFrame(),r.$el.trigger("frameIndexChanged",[r.getNormalizedCurrentFrame(),o.totalFrames])):(window.clearInterval(o.ticker),o.ticker=0)},r.hidePreviousFrame=function(){i[r.getNormalizedCurrentFrame()].removeClass("current-image").addClass("previous-image")},r.showCurrentFrame=function(){i[r.getNormalizedCurrentFrame()].removeClass("previous-image").addClass("current-image")},r.getNormalizedCurrentFrame=function(){var t,e;return o.disableWrap?(t=Math.min(o.currentFrame,o.totalFrames-(o.zeroBased?1:0)),e=Math.min(o.endFrame,o.totalFrames-(o.zeroBased?1:0)),t=Math.max(t,o.zeroBased?0:1),e=Math.max(e,o.zeroBased?0:1),o.currentFrame=t,o.endFrame=e):(t=Math.ceil(o.currentFrame%o.totalFrames))<0&&(t+=o.totalFrames-(o.zeroBased?1:0)),t},r.getCurrentFrame=function(){return o.currentFrame},r.responsive=function(){o.responsive&&r.$el.css({height:r.$el.find(".current-image").first().css("height"),width:"100%"})},r.zeroPad=function(t){var e=Math.log(o.totalFrames)/Math.LN10,e=Math.round(1e3*e)/1e3,i=Math.floor(e)+1,n=t.toString();if(o.zeroPadding)for(;n.length<i;)n="0"+n;return n},r.browser={},r.browser.isIE=function(){var t,e=-1;return-1!==(e="Microsoft Internet Explorer"===navigator.appName&&(t=navigator.userAgent,null!==new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})").exec(t))?parseFloat(RegExp.$1):e)},r.getConfig=function(){return o},s.ThreeSixty.defaultOptions={dragging:!1,ready:!1,pointerStartPosX:0,pointerEndPosX:0,pointerDistance:0,monitorStartTime:0,monitorInt:10,ticker:0,speedMultiplier:7,totalFrames:180,currentFrame:0,endFrame:0,loadedImages:0,framerate:60,domains:null,domain:"",parallel:!1,queueAmount:8,idle:0,filePrefix:"",ext:"png",height:300,width:300,styles:{},navigation:!1,autoplay:!1,autoplayDirection:1,disableSpin:!1,disableWrap:!1,responsive:!1,zeroPadding:!1,zeroBased:!1,plugins:[],showCursor:!1,drag:!0,onReady:function(){},onDragStart:function(){},onDragStop:function(){},imgList:".threesixty_images",imgArray:null,playSpeed:100,prevNextFrames:5},r.init()},s.fn.ThreeSixty=function(t){return Object.create(new s.ThreeSixty(this,t))}}(jQuery),"function"!=typeof Object.create&&(Object.create=function(t){"use strict";function e(){}return e.prototype=t,new e}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||3<t[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(p){"use strict";var n=["sanitize","whiteList","sanitizeFn"],f=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],t={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},m=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,g=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function o(t,e,i){if(0===t.length)return t;if(i&&"function"==typeof i)return i(t);if(!document.implementation||!document.implementation.createHTMLDocument)return t;for(var i=document.implementation.createHTMLDocument("sanitization"),n=(i.body.innerHTML=t,p.map(e,function(t,e){return e})),o=p(i.body).find("*"),r=0,s=o.length;r<s;r++){var a=o[r],l=a.nodeName.toLowerCase();if(-1===p.inArray(l,n))a.parentNode.removeChild(a);else for(var u=p.map(a.attributes,function(t){return t}),c=[].concat(e["*"]||[],e[l]||[]),h=0,d=u.length;h<d;h++)!function(t,e){var i=t.nodeName.toLowerCase();if(-1!==p.inArray(i,e))return-1===p.inArray(i,f)||Boolean(t.nodeValue.match(m)||t.nodeValue.match(g));for(var n=p(e).filter(function(t,e){return e instanceof RegExp}),o=0,r=n.length;o<r;o++)if(i.match(n[o]))return 1}(u[h],c)&&a.removeAttribute(u[h].nodeName)}return i.body.innerHTML}function l(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)}l.VERSION="3.4.1",l.TRANSITION_DURATION=150,l.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:t},l.prototype.init=function(t,e,i){if(this.enabled=!0,this.type=t,this.$element=p(e),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&p(document).find(p.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),o=n.length;o--;){var r,s=n[o];"click"==s?this.$element.on("click."+this.type,this.options.selector,p.proxy(this.toggle,this)):"manual"!=s&&(r="hover"==s?"mouseleave":"focusout",this.$element.on(("hover"==s?"mouseenter":"focusin")+"."+this.type,this.options.selector,p.proxy(this.enter,this)),this.$element.on(r+"."+this.type,this.options.selector,p.proxy(this.leave,this)))}this.options.selector?this._options=p.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(t){var e,i=this.$element.data();for(e in i)i.hasOwnProperty(e)&&-1!==p.inArray(e,n)&&delete i[e];return(t=p.extend({},this.getDefaults(),i,t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t.sanitize&&(t.template=o(t.template,t.whiteList,t.sanitizeFn)),t},l.prototype.getDelegateOptions=function(){var i={},n=this.getDefaults();return this._options&&p.each(this._options,function(t,e){n[t]!=e&&(i[t]=e)}),i},l.prototype.enter=function(t){var e=t instanceof this.constructor?t:p(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),p(t.currentTarget).data("bs."+this.type,e)),t instanceof p.Event&&(e.inState["focusin"==t.type?"focus":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState)e.hoverState="in";else{if(clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)}},l.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},l.prototype.leave=function(t){var e=t instanceof this.constructor?t:p(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),p(t.currentTarget).data("bs."+this.type,e)),t instanceof p.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),!e.isInStateTrue()){if(clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)}},l.prototype.show=function(){var e,t,i,n,o,r,s,a=p.Event("show.bs."+this.type);this.hasContent()&&this.enabled&&(this.$element.trigger(a),o=p.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),!a.isDefaultPrevented())&&o&&(a=(e=this).tip(),o=this.getUID(this.type),this.setContent(),a.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&a.addClass("fade"),o="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,(s=(t=/\s?auto?\s?/i).test(o))&&(o=o.replace(t,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(o).data("bs."+this.type,this),this.options.container?a.appendTo(p(document).find(this.options.container)):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type),t=this.getPosition(),i=a[0].offsetWidth,n=a[0].offsetHeight,s&&(s=o,r=this.getPosition(this.$viewport),o="bottom"==o&&t.bottom+n>r.bottom?"top":"top"==o&&t.top-n<r.top?"bottom":"right"==o&&t.right+i>r.width?"left":"left"==o&&t.left-i<r.left?"right":o,a.removeClass(s).addClass(o)),r=this.getCalculatedOffset(o,t,i,n),this.applyPlacement(r,o),s=function(){var t=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==t&&e.leave(e)},p.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",s).emulateTransitionEnd(l.TRANSITION_DURATION):s())},l.prototype.applyPlacement=function(t,e){var i=this.tip(),n=i[0].offsetWidth,o=i[0].offsetHeight,r=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10),r=(isNaN(r)&&(r=0),isNaN(s)&&(s=0),t.top+=r,t.left+=s,p.offset.setOffset(i[0],p.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),i.addClass("in"),i[0].offsetWidth),s=i[0].offsetHeight,a=("top"==e&&s!=o&&(t.top=t.top+o-s),this.getViewportAdjustedDelta(e,t,r,s)),e=(a.left?t.left+=a.left:t.top+=a.top,/top|bottom/.test(e)),n=e?2*a.left-n+r:2*a.top-o+s,r=e?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(n,i[0][r],e)},l.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},l.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=o(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},l.prototype.hide=function(t){var e=this,i=p(this.$tip),n=p.Event("hide.bs."+this.type);function o(){"in"!=e.hoverState&&i.detach(),e.$element&&e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),t&&t()}if(this.$element.trigger(n),!n.isDefaultPrevented())return i.removeClass("in"),p.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",o).emulateTransitionEnd(l.TRANSITION_DURATION):o(),this.hoverState=null,this},l.prototype.fixTitle=function(){var t=this.$element;!t.attr("title")&&"string"==typeof t.attr("data-original-title")||t.attr("data-original-title",t.attr("title")||"").attr("title","")},l.prototype.hasContent=function(){return this.getTitle()},l.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],i="BODY"==e.tagName,n=e.getBoundingClientRect(),e=(null==n.width&&(n=p.extend({},n,{width:n.right-n.left,height:n.bottom-n.top})),window.SVGElement&&e instanceof window.SVGElement),e=i?{top:0,left:0}:e?null:t.offset(),t={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},i=i?{width:p(window).width(),height:p(window).height()}:null;return p.extend({},n,t,i,e)},l.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},l.prototype.getViewportAdjustedDelta=function(t,e,i,n){var o,r,s={top:0,left:0};return this.$viewport&&(o=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport),/right|left/.test(t)?(t=e.top-o-r.scroll,n=e.top+o-r.scroll+n,t<r.top?s.top=r.top-t:n>r.top+r.height&&(s.top=r.top+r.height-n)):(t=e.left-o,n=e.left+o+i,t<r.left?s.left=r.left-t:n>r.right&&(s.left=r.left+r.width-n))),s},l.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},l.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},l.prototype.tip=function(){if(this.$tip||(this.$tip=p(this.options.template),1==this.$tip.length))return this.$tip;throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!")},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(t){var e=this;t&&!(e=p(t.currentTarget).data("bs."+this.type))&&(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),p(t.currentTarget).data("bs."+this.type,e)),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},l.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})},l.prototype.sanitizeHtml=function(t){return o(t,this.options.whiteList,this.options.sanitizeFn)};var e=p.fn.tooltip;p.fn.tooltip=function(n){return this.each(function(){var t=p(this),e=t.data("bs.tooltip"),i="object"==typeof n&&n;!e&&/destroy|hide/.test(n)||(e||t.data("bs.tooltip",e=new l(this,i)),"string"==typeof n&&e[n]())})},p.fn.tooltip.Constructor=l,p.fn.tooltip.noConflict=function(){return p.fn.tooltip=e,this}}(jQuery),function(o){"use strict";function r(t,e){this.init("popover",t,e)}if(!o.fn.tooltip)throw new Error("Popover requires tooltip.js");r.VERSION="3.4.1",r.DEFAULTS=o.extend({},o.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),((r.prototype=o.extend({},o.fn.tooltip.Constructor.prototype)).constructor=r).prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.setContent=function(){var t,e=this.tip(),i=this.getTitle(),n=this.getContent();this.options.html?(t=typeof n,this.options.sanitize&&(i=this.sanitizeHtml(i),"string"==t)&&(n=this.sanitizeHtml(n)),e.find(".popover-title").html(i),e.find(".popover-content").children().detach().end()["string"==t?"html":"append"](n)):(e.find(".popover-title").text(i),e.find(".popover-content").children().detach().end().text(n)),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},r.prototype.hasContent=function(){return this.getTitle()||this.getContent()},r.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=o.fn.popover;o.fn.popover=function(n){return this.each(function(){var t=o(this),e=t.data("bs.popover"),i="object"==typeof n&&n;!e&&/destroy|hide/.test(n)||(e||t.data("bs.popover",e=new r(this,i)),"string"==typeof n&&e[n]())})},o.fn.popover.Constructor=r,o.fn.popover.noConflict=function(){return o.fn.popover=t,this}}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):((t="undefined"!=typeof globalThis?globalThis:t||self).Vimeo=t.Vimeo||{},t.Vimeo.Player=e())}(this,function(){"use strict";function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var t="undefined"!=typeof global&&"[object global]"==={}.toString.call(global);function r(t,e){return 0===t.indexOf(e.toLowerCase())?t:"".concat(e.toLowerCase()).concat(t.substr(0,1).toUpperCase()).concat(t.substr(1))}function l(t){return/^(https?:)?\/\/((player|www)\.)?vimeo\.com(?=$|\/)/.test(t)}function u(t){return/^https:\/\/player\.vimeo\.com\/video\/\d+/.test(t)}function a(t){var e,t=0<arguments.length&&void 0!==t?t:{},i=t.id,t=t.url,t=i||t;if(!t)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(e=t,!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e)return"https://vimeo.com/".concat(t);if(l(t))return t.replace("http:","https:");if(i)throw new TypeError("“".concat(i,"” is not a valid video id."));throw new TypeError("“".concat(t,"” is not a vimeo.com url."))}var e=void 0!==Array.prototype.indexOf,i="undefined"!=typeof window&&void 0!==window.postMessage;if(!(t||e&&i))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var o,s,c,h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(c(this,"_id","_WeakMap_"+f()+"."+f()),0<arguments.length)throw new TypeError("WeakMap iterable is not supported")}function p(t,e){if(!m(t)||!o.call(t,"_id"))throw new TypeError(e+" method called on incompatible receiver "+typeof t)}function f(){return Math.random().toString().substring(2)}function m(t){return Object(t)===t}(e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:h).WeakMap||(o=Object.prototype.hasOwnProperty,s=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(t){}}(),e.WeakMap=((c=function(t,e,i){s?Object.defineProperty(t,e,{configurable:!0,writable:!0,value:i}):t[e]=i})(d.prototype,"delete",function(t){var e;return p(this,"delete"),!!m(t)&&!(!(e=t[this._id])||e[0]!==t||(delete t[this._id],0))}),c(d.prototype,"get",function(t){var e;return p(this,"get"),m(t)&&(e=t[this._id])&&e[0]===t?e[1]:void 0}),c(d.prototype,"has",function(t){var e;return p(this,"has"),!!m(t)&&!(!(e=t[this._id])||e[0]!==t)}),c(d.prototype,"set",function(t,e){var i;if(p(this,"set"),m(t))return(i=t[this._id])&&i[0]===t?i[1]=e:c(t,this._id,[t,e]),this;throw new TypeError("Invalid value used as weak map key")}),c(d,"_polyfill",!0),d));(function(t){var e,i,n;n=function(){var e,i,n,o,r,t=Object.prototype.toString,s="undefined"!=typeof setImmediate?function(t){return setImmediate(t)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(t,e,i,n){return Object.defineProperty(t,e,{value:i,writable:!0,configurable:!1!==n})}}catch(t){e=function(t,e,i){return t[e]=i,t}}function a(t,e){this.fn=t,this.self=e,this.next=void 0}function l(t,e){v.add(t,e),i=i||s(v.drain)}function u(t){var e,i=typeof t;return"function"==typeof(e=null==t||"object"!=i&&"function"!=i?e:t.then)&&e}function c(){for(var t=0;t<this.chain.length;t++){i=e=r=o=n=void 0;var e,i,n=this,o=1===this.state?this.chain[t].success:this.chain[t].failure,r=this.chain[t];try{!1===o?r.reject(n.msg):(e=!0===o?n.msg:o.call(void 0,n.msg))===r.promise?r.reject(TypeError("Promise-chain cycle")):(i=u(e))?i.call(e,r.resolve,r.reject):r.resolve(e)}catch(t){r.reject(t)}}this.chain.length=0}function h(t){var i,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(i=u(t))?l(function(){var e=new f(n);try{i.call(t,function(){h.apply(e,arguments)},function(){d.apply(e,arguments)})}catch(t){d.call(e,t)}}):(n.msg=t,n.state=1,0<n.chain.length&&l(c,n))}catch(t){d.call(new f(n),t)}}}function d(t){var e=this;e.triggered||(e.triggered=!0,(e=e.def?e.def:e).msg=t,e.state=2,0<e.chain.length&&l(c,e))}function p(t,i,n,o){for(var e=0;e<i.length;e++)!function(e){t.resolve(i[e]).then(function(t){n(e,t)},o)}(e)}function f(t){this.def=t,this.triggered=!1}function m(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function g(t){if("function"!=typeof t)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var n=new m(this);this.then=function(t,e){var i={success:"function"!=typeof t||t,failure:"function"==typeof e&&e};return i.promise=new this.constructor(function(t,e){if("function"!=typeof t||"function"!=typeof e)throw TypeError("Not a function");i.resolve=t,i.reject=e}),n.chain.push(i),0!==n.state&&l(c,n),i.promise},this.catch=function(t){return this.then(void 0,t)};try{t.call(void 0,function(t){h.call(n,t)},function(t){d.call(n,t)})}catch(t){d.call(n,t)}}var v={add:function(t,e){r=new a(t,e),o?o.next=r:n=r,o=r},drain:function(){var t=n;for(n=o=i=void 0;t;)t.fn.call(t.self),t=t.next}},y=e({},"constructor",g,!1);return e(g.prototype=y,"__NPO__",0,!1),e(g,"resolve",function(i){return i&&"object"==typeof i&&1===i.__NPO__?i:new this(function(t,e){if("function"!=typeof t||"function"!=typeof e)throw TypeError("Not a function");t(i)})}),e(g,"reject",function(i){return new this(function(t,e){if("function"!=typeof t||"function"!=typeof e)throw TypeError("Not a function");e(i)})}),e(g,"all",function(e){var s=this;return"[object Array]"!=t.call(e)?s.reject(TypeError("Not an array")):0===e.length?s.resolve([]):new s(function(i,t){if("function"!=typeof i||"function"!=typeof t)throw TypeError("Not a function");var n=e.length,o=Array(n),r=0;p(s,e,function(t,e){o[t]=e,++r===n&&i(o)},t)})}),e(g,"race",function(e){var n=this;return"[object Array]"!=t.call(e)?n.reject(TypeError("Not an array")):new n(function(i,t){if("function"!=typeof i||"function"!=typeof t)throw TypeError("Not a function");p(n,e,function(t,e){i(e)},t)})}),g},(i=h)[e="Promise"]=i[e]||n(),t.exports&&(t.exports=i[e])})(i={exports:{}});var g=i.exports,v=new WeakMap;function y(t,e,i){var n=v.get(t.element)||{};e in n||(n[e]=[]),n[e].push(i),v.set(t.element,n)}function _(t,e){return(v.get(t.element)||{})[e]||[]}function w(t,e,i){var n=v.get(t.element)||{};return!n[e]||(i?(-1!==(i=n[e].indexOf(i))&&n[e].splice(i,1),v.set(t.element,n),n[e]&&0===n[e].length):(n[e]=[],v.set(t.element,n),!0))}function b(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){return console.warn(t),{}}return t}function x(t,e,i){t.element.contentWindow&&t.element.contentWindow.postMessage&&(e={method:e},void 0!==i&&(e.value=i),8<=(i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1")))&&i<10&&(e=JSON.stringify(e)),t.element.contentWindow.postMessage(e,t.origin))}function T(i,n){var e,t,o,r,s=[];(n=b(n)).event?("error"===n.event&&_(i,n.data.method).forEach(function(t){var e=new Error(n.data.message);e.name=n.data.name,t.reject(e),w(i,n.data.method,t)}),s=_(i,"event:".concat(n.event)),e=n.data):n.method&&(t=i,o=n.method,o=!((r=_(t,o)).length<1)&&(w(t,o,t=r.shift()),t))&&(s.push(o),e=n.value),s.forEach(function(t){try{"function"==typeof t?t.call(i,e):t.resolve(e)}catch(t){}})}var A=["autopause","autoplay","background","byline","color","controls","dnt","height","id","interactive_params","keyboard","loop","maxheight","maxwidth","muted","playsinline","portrait","responsive","speed","texttrack","title","transparent","url","width"];function S(n,t){return A.reduce(function(t,e){var i=n.getAttribute("data-vimeo-".concat(e));return!i&&""!==i||(t[e]=""===i?1:i),t},1<arguments.length&&void 0!==t?t:{})}function E(t,e){var i,t=t.html;if(e)return null===e.getAttribute("data-vimeo-initialized")&&((i=document.createElement("div")).innerHTML=t,e.appendChild(i.firstChild),e.setAttribute("data-vimeo-initialized","true")),e.querySelector("iframe");throw new TypeError("An element must be provided")}function M(r,t,e){var s=1<arguments.length&&void 0!==t?t:{},a=2<arguments.length?e:void 0;return new Promise(function(e,i){if(!l(r))throw new TypeError("“".concat(r,"” is not a vimeo.com url."));var t,n="https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(r));for(t in s)s.hasOwnProperty(t)&&(n+="&".concat(t,"=").concat(encodeURIComponent(s[t])));var o=new("XDomainRequest"in window?XDomainRequest:XMLHttpRequest);o.open("GET",n,!0),o.onload=function(){if(404===o.status)i(new Error("“".concat(r,"” was not found.")));else if(403===o.status)i(new Error("“".concat(r,"” is not embeddable.")));else try{var t=JSON.parse(o.responseText);403===t.domain_status_code?(E(t,a),i(new Error("“".concat(r,"” is not embeddable.")))):e(t)}catch(t){i(t)}},o.onerror=function(){var t=o.status?" (".concat(o.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(t,".")))},o.send()})}function C(t){function i(t){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(t))}t=0<arguments.length&&void 0!==t?t:document,t=[].slice.call(t.querySelectorAll("[data-vimeo-id], [data-vimeo-url]"));t.forEach(function(e){try{var t;null===e.getAttribute("data-vimeo-defer")&&M(a(t=S(e)),t,e).then(function(t){return E(t,e)}).catch(i)}catch(t){i(t)}})}var P,L,z,k=new WeakMap,I=new WeakMap,O={},D=function(){function o(r){var s=this,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},t=this,i=o;if(!(t instanceof i))throw new TypeError("Cannot call a class as a function");if(window.jQuery&&r instanceof jQuery&&(1<r.length&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),r=r[0]),"undefined"!=typeof document&&"string"==typeof r&&(r=document.getElementById(r)),t=r,!Boolean(t&&1===t.nodeType&&"nodeName"in t&&t.ownerDocument&&t.ownerDocument.defaultView))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"===(r="IFRAME"!==r.nodeName&&(i=r.querySelector("iframe"))?i:r).nodeName&&!l(r.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(k.has(r))return k.get(r);this._window=r.ownerDocument.defaultView,this.element=r,this.origin="*";var n,t=new g(function(n,o){var t;s._onMessage=function(t){var e,i;l(t.origin)&&s.element.contentWindow===t.source&&("*"===s.origin&&(s.origin=t.origin),(t=b(t.data))&&"error"===t.event&&t.data&&"ready"===t.data.method?((e=new Error(t.data.message)).name=t.data.name,o(e)):(e=t&&"ready"===t.event,i=t&&"ping"===t.method,e||i?(s.element.setAttribute("data-ready","true"),n()):T(s,t)))},s._window.addEventListener("message",s._onMessage),"IFRAME"!==s.element.nodeName&&M(a(t=S(r,e)),t,r).then(function(t){var e,i,n=E(t,r);return s.element=n,s._originalElement=r,e=r,n=n,i=v.get(e),v.set(n,i),v.delete(e),k.set(s.element,s),t}).catch(o)});return I.set(this,t),k.set(this.element,this),"IFRAME"===this.element.nodeName&&x(this,"ping"),O.isEnabled&&(n=function(){return O.exit()},this.fullscreenchangeHandler=function(){(O.isFullscreen?y:w)(s,"event:exitFullscreen",n),s.ready().then(function(){x(s,"fullscreenchange",O.isFullscreen)})},O.on("fullscreenchange",this.fullscreenchangeHandler)),this}var t,e,i;return t=o,(e=[{key:"callMethod",value:function(i){var n=this,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return new g(function(t,e){return n.ready().then(function(){y(n,i,{resolve:t,reject:e}),x(n,i,o)}).catch(e)})}},{key:"get",value:function(i){var n=this;return new g(function(t,e){return i=r(i,"get"),n.ready().then(function(){y(n,i,{resolve:t,reject:e}),x(n,i)}).catch(e)})}},{key:"set",value:function(i,n){var o=this;return new g(function(t,e){if(i=r(i,"set"),null==n)throw new TypeError("There must be a value to set.");return o.ready().then(function(){y(o,i,{resolve:t,reject:e}),x(o,i,n)}).catch(e)})}},{key:"on",value:function(t,e){if(!t)throw new TypeError("You must pass an event name.");if(!e)throw new TypeError("You must pass a callback function.");if("function"!=typeof e)throw new TypeError("The callback must be a function.");0===_(this,"event:".concat(t)).length&&this.callMethod("addEventListener",t).catch(function(){}),y(this,"event:".concat(t),e)}},{key:"off",value:function(t,e){if(!t)throw new TypeError("You must pass an event name.");if(e&&"function"!=typeof e)throw new TypeError("The callback must be a function.");w(this,"event:".concat(t),e)&&this.callMethod("removeEventListener",t).catch(function(t){})}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=I.get(this)||new g(function(t,e){e(new Error("Unknown player. Probably unloaded."))});return g.resolve(t)}},{key:"addCuePoint",value:function(t){return this.callMethod("addCuePoint",{time:t,data:1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,e){if(t)return this.callMethod("enableTextTrack",{language:t,kind:e});throw new TypeError("You must pass a language.")}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return O.isEnabled?O.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return O.isEnabled?O.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return O.isEnabled?g.resolve(O.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var i=this;return new g(function(t){var e;I.delete(i),k.delete(i.element),i._originalElement&&(k.delete(i._originalElement),i._originalElement.removeAttribute("data-vimeo-initialized")),i.element&&"IFRAME"===i.element.nodeName&&i.element.parentNode&&(i.element.parentNode.parentNode&&i._originalElement&&i._originalElement!==i.element.parentNode?i.element.parentNode.parentNode.removeChild(i.element.parentNode):i.element.parentNode.removeChild(i.element)),i.element&&"DIV"===i.element.nodeName&&i.element.parentNode&&(i.element.removeAttribute("data-vimeo-initialized"),e=i.element.querySelector("iframe"))&&e.parentNode&&(e.parentNode.parentNode&&i._originalElement&&i._originalElement!==e.parentNode?e.parentNode.parentNode.removeChild(e.parentNode):e.parentNode.removeChild(e)),i._window.removeEventListener("message",i._onMessage),O.isEnabled&&O.off("fullscreenchange",i.fullscreenchangeHandler),t()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(t){return this.set("autopause",t)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(t){return this.set("cameraProps",t)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"setColor",value:function(t){return this.set("color",t)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(t){return this.set("currentTime",t)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(t){return this.set("loop",t)}},{key:"setMuted",value:function(t){return this.set("muted",t)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(t){return this.set("playbackRate",t)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(t){return this.set("quality",t)}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(t){return this.set("volume",t)}}])&&n(t.prototype,e),i&&n(t,i),o}();return t||(P=function(){for(var t,e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=0,n=e.length,o={};i<n;i++)if((t=e[i])&&t[1]in document){for(i=0;i<t.length;i++)o[e[0][i]]=t[i];return o}return!1}(),L={fullscreenchange:P.fullscreenchange,fullscreenerror:P.fullscreenerror},z={request:function(o){return new Promise(function(t,e){function i(){z.off("fullscreenchange",i),t()}z.on("fullscreenchange",i);var n=(o=o||document.documentElement)[P.requestFullscreen]();n instanceof Promise&&n.then(i).catch(e)})},exit:function(){return new Promise(function(e,t){var i,n;z.isFullscreen?(z.on("fullscreenchange",i=function t(){z.off("fullscreenchange",t),e()}),(n=document[P.exitFullscreen]())instanceof Promise&&n.then(i).catch(t)):e()})},on:function(t,e){t=L[t];t&&document.addEventListener(t,e)},off:function(t,e){t=L[t];t&&document.removeEventListener(t,e)}},Object.defineProperties(z,{isFullscreen:{get:function(){return Boolean(document[P.fullscreenElement])}},element:{enumerable:!0,get:function(){return document[P.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(document[P.fullscreenEnabled])}}}),O=z,C(),function(t){var n=0<arguments.length&&void 0!==t?t:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",function(t){if(l(t.origin)&&t.data&&"spacechange"===t.data.event)for(var e=n.querySelectorAll("iframe"),i=0;i<e.length;i++)if(e[i].contentWindow===t.source){e[i].parentElement.style.paddingBottom="".concat(t.data.data[0].bottom,"px");break}}))}(),function(t){var s=0<arguments.length&&void 0!==t?t:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",function(t){if(l(t.origin)){var e=b(t.data);if(e&&"ready"===e.event)for(var i=s.querySelectorAll("iframe"),n=0;n<i.length;n++){var o=i[n],r=o.contentWindow===t.source;u(o.src)&&r&&new D(o).callMethod("appendVideoMetadata",window.location.href)}}}))}(),function(t){var s,a=0<arguments.length&&void 0!==t?t:document;window.VimeoCheckedUrlTimeParam||(window.VimeoCheckedUrlTimeParam=!0,s=function(t){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(t))},window.addEventListener("message",function(t){if(l(t.origin)){var e=b(t.data);if(e&&"ready"===e.event)for(var i=a.querySelectorAll("iframe"),n=0;n<i.length;n++){var o=i[n],r=o.contentWindow===t.source;u(o.src)&&r&&!function(){var e=new D(o);e.getVideoId().then(function(t){var t=new RegExp("[?&]vimeo_t_".concat(t,"=([^&#]*)")).exec(window.location.href);t&&t[1]&&(t=decodeURI(t[1]),e.setCurrentTime(t))}).catch(s)}()}}}))}()),D}),function(l,r){"use strict";function e(t){if(void 0===t)throw new Error('Pathformer [constructor]: "element" parameter is required');if(t.constructor===String&&!(t=r.getElementById(t)))throw new Error('Pathformer [constructor]: "element" parameter is not related to an existing ID');if(!(t.constructor instanceof l.SVGElement||/^svg$/i.test(t.nodeName)))throw new Error('Pathformer [constructor]: "element" parameter must be a string or a SVGelement');this.el=t,this.scan(t)}var i,t,u;function n(t,e,i){this.isReady=!1,this.setElement(t,e),this.setOptions(e),this.setCallback(i),this.isReady&&this.init()}e.prototype.TYPES=["line","ellipse","circle","polygon","polyline","rect"],e.prototype.ATTR_WATCH=["cx","cy","points","r","rx","ry","x","x1","x2","y","y1","y2"],e.prototype.scan=function(t){for(var e,i,n=t.querySelectorAll(this.TYPES.join(",")),o=0;o<n.length;o++)i=(0,this[(e=n[o]).tagName.toLowerCase()+"ToPath"])(this.parseAttr(e.attributes)),i=this.pathMaker(e,i),e.parentNode.replaceChild(i,e)},e.prototype.lineToPath=function(t){var e={},i=t.x1||0,n=t.y1||0,o=t.x2||0,t=t.y2||0;return e.d="M"+i+","+n+"L"+o+","+t,e},e.prototype.rectToPath=function(t){var e={},i=parseFloat(t.x)||0,n=parseFloat(t.y)||0,o=parseFloat(t.width)||0,t=parseFloat(t.height)||0;return e.d="M"+i+" "+n+" ",e.d+="L"+(i+o)+" "+n+" ",e.d+="L"+(i+o)+" "+(n+t)+" ",e.d+="L"+i+" "+(n+t)+" Z",e},e.prototype.polylineToPath=function(t){var e,i={},n=t.points.trim().split(" ");if(-1===t.points.indexOf(",")){for(var o=[],r=0;r<n.length;r+=2)o.push(n[r]+","+n[r+1]);n=o}for(e="M"+n[0],r=1;r<n.length;r++)-1!==n[r].indexOf(",")&&(e+="L"+n[r]);return i.d=e,i},e.prototype.polygonToPath=function(t){t=e.prototype.polylineToPath(t);return t.d+="Z",t},e.prototype.ellipseToPath=function(t){var e={},i=parseFloat(t.rx)||0,n=parseFloat(t.ry)||0,o=parseFloat(t.cx)||0,t=parseFloat(t.cy)||0,r=o-i,s=t,o=parseFloat(o)+parseFloat(i);return e.d="M"+r+","+s+"A"+i+","+n+" 0,1,1 "+o+","+t+"A"+i+","+n+" 0,1,1 "+r+","+t,e},e.prototype.circleToPath=function(t){var e={},i=parseFloat(t.r)||0,n=parseFloat(t.cx)||0,t=parseFloat(t.cy)||0,o=n-i,r=t,n=parseFloat(n)+parseFloat(i);return e.d="M"+o+","+r+"A"+i+","+i+" 0,1,1 "+n+","+t+"A"+i+","+i+" 0,1,1 "+o+","+t,e},e.prototype.pathMaker=function(t,e){for(var i,n=r.createElementNS("http://www.w3.org/2000/svg","path"),o=0;o<t.attributes.length;o++)i=t.attributes[o],-1===this.ATTR_WATCH.indexOf(i.name)&&n.setAttribute(i.name,i.value);for(o in e)n.setAttribute(o,e[o]);return n},e.prototype.parseAttr=function(t){for(var e,i={},n=0;n<t.length;n++){if(e=t[n],-1!==this.ATTR_WATCH.indexOf(e.name)&&-1!==e.value.indexOf("%"))throw new Error("Pathformer [parseAttr]: a SVG shape got values in percentage. This cannot be transformed into 'path' tags. Please use 'viewBox'.");i[e.name]=e.value}return i},n.LINEAR=function(t){return t},n.EASE=function(t){return-Math.cos(t*Math.PI)/2+.5},n.EASE_OUT=function(t){return 1-Math.pow(1-t,3)},n.EASE_IN=function(t){return Math.pow(t,3)},n.EASE_OUT_BOUNCE=function(t){var e=1-Math.cos(t*(.5*Math.PI)),e=Math.pow(e,1.5),t=Math.pow(1-t,2);return 1-t+(1-Math.abs(Math.cos(e*(2.5*Math.PI))))*t},n.prototype.setElement=function(e,t){if(void 0===e)throw new Error('Vivus [constructor]: "element" parameter is required');if(e.constructor===String&&!(e=r.getElementById(e)))throw new Error('Vivus [constructor]: "element" parameter is not related to an existing ID');var i;switch(this.parentEl=e,t&&t.file&&((i=r.createElement("object")).setAttribute("type","image/svg+xml"),i.setAttribute("data",t.file),i.setAttribute("built-by-vivus","true"),e.appendChild(i),e=i),e.constructor){case l.SVGSVGElement:case l.SVGElement:this.el=e,this.isReady=!0;break;case l.HTMLObjectElement:var n=this,o=function(t){if(!n.isReady){if(n.el=e.contentDocument&&e.contentDocument.querySelector("svg"),!n.el&&t)throw new Error("Vivus [constructor]: object loaded does not contain any SVG");return n.el?(e.getAttribute("built-by-vivus")&&(n.parentEl.insertBefore(n.el,e),n.parentEl.removeChild(e),n.el.setAttribute("width","100%"),n.el.setAttribute("height","100%")),n.isReady=!0,n.init(),!0):void 0}};o()||e.addEventListener("load",o);break;default:if(!e)throw new Error('Vivus [constructor]: "element" parameter is not valid (or miss the "file" attribute)')}},n.prototype.setOptions=function(t){var e=["delayed","sync","async","nsync","oneByOne","scenario","scenario-sync"],i=["inViewport","manual","autostart"];if(void 0!==t&&t.constructor!==Object)throw new Error('Vivus [constructor]: "options" parameter must be an object');if((t=t||{}).type&&-1===e.indexOf(t.type))throw new Error("Vivus [constructor]: "+t.type+" is not an existing animation `type`");if(this.type=t.type||e[0],t.start&&-1===i.indexOf(t.start))throw new Error("Vivus [constructor]: "+t.start+" is not an existing `start` option");if(this.start=t.start||i[0],this.isIE=-1!==l.navigator.userAgent.indexOf("MSIE")||-1!==l.navigator.userAgent.indexOf("Trident/")||-1!==l.navigator.userAgent.indexOf("Edge/"),this.duration=u(t.duration,120),this.delay=u(t.delay,null),this.dashGap=u(t.dashGap,1),this.forceRender=t.hasOwnProperty("forceRender")?!!t.forceRender:this.isIE,this.reverseStack=!!t.reverseStack,this.selfDestroy=!!t.selfDestroy,this.onReady=t.onReady,this.map=[],this.frameLength=this.currentFrame=this.delayUnit=this.speed=this.handle=null,this.ignoreInvisible=!!t.hasOwnProperty("ignoreInvisible")&&!!t.ignoreInvisible,this.animTimingFunction=t.animTimingFunction||n.LINEAR,this.pathTimingFunction=t.pathTimingFunction||n.LINEAR,this.delay>=this.duration)throw new Error("Vivus [constructor]: delay must be shorter than duration")},n.prototype.setCallback=function(t){if(t&&t.constructor!==Function)throw new Error('Vivus [constructor]: "callback" parameter must be a function');this.callback=t||function(){}},n.prototype.mapping=function(){for(var t,e,i,n,o,r=n=o=0,s=this.el.querySelectorAll("path"),a=0;a<s.length;a++)t=s[a],this.isInvisible(t)||(i={el:t,length:Math.ceil(t.getTotalLength())},isNaN(i.length)?l.console&&console.warn&&console.warn("Vivus [mapping]: cannot retrieve a path element length",t):(this.map.push(i),t.style.strokeDasharray=i.length+" "+(i.length+2*this.dashGap),t.style.strokeDashoffset=i.length+this.dashGap,i.length+=this.dashGap,n+=i.length,this.renderPath(a)));for(n=0===n?1:n,this.delay=null===this.delay?this.duration/3:this.delay,this.delayUnit=this.delay/(1<s.length?s.length-1:1),this.reverseStack&&this.map.reverse(),a=0;a<this.map.length;a++){switch(i=this.map[a],this.type){case"delayed":i.startAt=this.delayUnit*a,i.duration=this.duration-this.delay;break;case"oneByOne":i.startAt=o/n*this.duration,i.duration=i.length/n*this.duration;break;case"sync":case"async":case"nsync":i.startAt=0,i.duration=this.duration;break;case"scenario-sync":t=i.el,e=this.parseAttr(t),i.startAt=r+(u(e["data-delay"],this.delayUnit)||0),i.duration=u(e["data-duration"],this.duration),r=void 0!==e["data-async"]?i.startAt:i.startAt+i.duration,this.frameLength=Math.max(this.frameLength,i.startAt+i.duration);break;case"scenario":t=i.el,e=this.parseAttr(t),i.startAt=u(e["data-start"],this.delayUnit)||0,i.duration=u(e["data-duration"],this.duration),this.frameLength=Math.max(this.frameLength,i.startAt+i.duration)}o+=i.length,this.frameLength=this.frameLength||this.duration}},n.prototype.drawer=function(){var t=this;if(this.currentFrame+=this.speed,this.currentFrame<=0)this.stop(),this.reset();else{if(!(this.currentFrame>=this.frameLength))return this.trace(),void(this.handle=i(function(){t.drawer()}));this.stop(),this.currentFrame=this.frameLength,this.trace(),this.selfDestroy&&this.destroy()}this.callback(this),this.instanceCallback&&(this.instanceCallback(this),this.instanceCallback=null)},n.prototype.trace=function(){for(var t,e,i=this.animTimingFunction(this.currentFrame/this.frameLength)*this.frameLength,n=0;n<this.map.length;n++)t=(i-(e=this.map[n]).startAt)/e.duration,t=this.pathTimingFunction(Math.max(0,Math.min(1,t))),e.progress!==t&&(e.progress=t,e.el.style.strokeDashoffset=Math.floor(e.length*(1-t)),this.renderPath(n))},n.prototype.renderPath=function(t){var e;this.forceRender&&this.map&&this.map[t]&&(e=(t=this.map[t]).el.cloneNode(!0),t.el.parentNode.replaceChild(e,t.el),t.el=e)},n.prototype.init=function(){this.frameLength=0,this.currentFrame=0,this.map=[],new e(this.el),this.mapping(),this.starter(),this.onReady&&this.onReady(this)},n.prototype.starter=function(){switch(this.start){case"manual":return;case"autostart":this.play();break;case"inViewport":var t=this,e=function(){t.isInViewport(t.parentEl,1)&&(t.play(),l.removeEventListener("scroll",e))};l.addEventListener("scroll",e),e()}},n.prototype.getStatus=function(){return 0===this.currentFrame?"start":this.currentFrame===this.frameLength?"end":"progress"},n.prototype.reset=function(){return this.setFrameProgress(0)},n.prototype.finish=function(){return this.setFrameProgress(1)},n.prototype.setFrameProgress=function(t){return t=Math.min(1,Math.max(0,t)),this.currentFrame=Math.round(this.frameLength*t),this.trace(),this},n.prototype.play=function(t,e){if(this.instanceCallback=null,t&&"function"==typeof t)this.instanceCallback=t,t=null;else if(t&&"number"!=typeof t)throw new Error("Vivus [play]: invalid speed");return e&&"function"==typeof e&&!this.instanceCallback&&(this.instanceCallback=e),this.speed=t||1,this.handle||this.drawer(),this},n.prototype.stop=function(){return this.handle&&(t(this.handle),this.handle=null),this},n.prototype.destroy=function(){var t,e;for(this.stop(),t=0;t<this.map.length;t++)(e=this.map[t]).el.style.strokeDashoffset=null,e.el.style.strokeDasharray=null,this.renderPath(t)},n.prototype.isInvisible=function(t){var e=t.getAttribute("data-ignore");return null!==e?"false"!==e:!!this.ignoreInvisible&&!(e=t.getBoundingClientRect()).width&&!e.height},n.prototype.parseAttr=function(t){var e,i={};if(t&&t.attributes)for(var n=0;n<t.attributes.length;n++)i[(e=t.attributes[n]).name]=e.value;return i},n.prototype.isInViewport=function(t,e){var i=this.scrollY(),n=i+this.getViewportH(),t=t.getBoundingClientRect(),o=t.height,t=i+t.top;return t+o*(e=e||0)<=n&&i<=t+o},n.prototype.docElem=l.document.documentElement,n.prototype.getViewportH=function(){var t=this.docElem.clientHeight,e=l.innerHeight;return t<e?e:t},n.prototype.scrollY=function(){return l.pageYOffset||this.docElem.scrollTop},i=l.requestAnimationFrame||l.webkitRequestAnimationFrame||l.mozRequestAnimationFrame||l.oRequestAnimationFrame||l.msRequestAnimationFrame||function(t){return l.setTimeout(t,1e3/60)},t=l.cancelAnimationFrame||l.webkitCancelAnimationFrame||l.mozCancelAnimationFrame||l.oCancelAnimationFrame||l.msCancelAnimationFrame||function(t){return l.clearTimeout(t)},u=function(t,e){t=parseInt(t,10);return 0<=t?t:e},"function"==typeof define&&define.amd?define([],function(){return n}):"object"==typeof exports?module.exports=n:l.Vivus=n}(window,document),function(){"use strict";var e=0,r={};function i(t){if(!t)throw new Error("No options passed to Waypoint constructor");if(!t.element)throw new Error("No element option passed to Waypoint constructor");if(!t.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=i.Adapter.extend({},i.defaults,t),this.element=this.options.element,this.adapter=new i.Adapter(this.element),this.callback=t.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=i.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=i.Context.findOrCreateByElement(this.options.context),i.offsetAliases[this.options.offset]&&(this.options.offset=i.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),r[this.key]=this,e+=1}i.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},i.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},i.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete r[this.key]},i.prototype.disable=function(){return this.enabled=!1,this},i.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},i.prototype.next=function(){return this.group.next(this)},i.prototype.previous=function(){return this.group.previous(this)},i.invokeAll=function(t){var e,i=[];for(e in r)i.push(r[e]);for(var n=0,o=i.length;n<o;n++)i[n][t]()},i.destroyAll=function(){i.invokeAll("destroy")},i.disableAll=function(){i.invokeAll("disable")},i.enableAll=function(){for(var t in i.Context.refreshAll(),r)r[t].enabled=!0;return this},i.refreshAll=function(){i.Context.refreshAll()},i.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},i.viewportWidth=function(){return document.documentElement.clientWidth},i.adapters=[],i.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},i.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=i}(),function(){"use strict";function e(t){window.setTimeout(t,1e3/60)}var i=0,n={},p=window.Waypoint,t=window.onload;function o(t){this.element=t,this.Adapter=p.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,n[t.waypointContextKey]=this,i+=1,p.windowContext||(p.windowContext=!0,p.windowContext=new o(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}o.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},o.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete n[this.key])},o.prototype.createThrottledResizeHandler=function(){var t=this;function e(){t.handleResize(),t.didResize=!1}this.adapter.on("resize.waypoints",function(){t.didResize||(t.didResize=!0,p.requestAnimationFrame(e))})},o.prototype.createThrottledScrollHandler=function(){var t=this;function e(){t.handleScroll(),t.didScroll=!1}this.adapter.on("scroll.waypoints",function(){t.didScroll&&!p.isTouch||(t.didScroll=!0,p.requestAnimationFrame(e))})},o.prototype.handleResize=function(){p.Context.refreshAll()},o.prototype.handleScroll=function(){var t,e,i={},n={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(t in n){var o,r=n[t],s=r.newScroll>r.oldScroll?r.forward:r.backward;for(o in this.waypoints[t]){var a,l,u=this.waypoints[t][o];null!==u.triggerPoint&&(a=r.oldScroll<u.triggerPoint,l=r.newScroll>=u.triggerPoint,a&&l||!a&&!l)&&(u.queueTrigger(s),i[u.group.id]=u.group)}}for(e in i)i[e].flushTriggers();this.oldScroll={x:n.horizontal.newScroll,y:n.vertical.newScroll}},o.prototype.innerHeight=function(){return this.element==this.element.window?p.viewportHeight():this.adapter.innerHeight()},o.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},o.prototype.innerWidth=function(){return this.element==this.element.window?p.viewportWidth():this.adapter.innerWidth()},o.prototype.destroy=function(){var t,e=[];for(t in this.waypoints)for(var i in this.waypoints[t])e.push(this.waypoints[t][i]);for(var n=0,o=e.length;n<o;n++)e[n].destroy()},o.prototype.refresh=function(){var t,e,i=this.element==this.element.window,n=i?void 0:this.adapter.offset(),o={};for(e in this.handleScroll(),t={horizontal:{contextOffset:i?0:n.left,contextScroll:i?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:i?0:n.top,contextScroll:i?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var r,s=t[e];for(r in this.waypoints[e]){var a,l=this.waypoints[e][r],u=l.options.offset,c=l.triggerPoint,h=0,d=null==c;l.element!==l.element.window&&(h=l.adapter.offset()[s.offsetProp]),"function"==typeof u?u=u.apply(l):"string"==typeof u&&(u=parseFloat(u),-1<l.options.offset.indexOf("%"))&&(u=Math.ceil(s.contextDimension*u/100)),a=s.contextScroll-s.contextOffset,l.triggerPoint=Math.floor(h+a-u),h=c<s.oldScroll,a=l.triggerPoint>=s.oldScroll,u=!h&&!a,!d&&(h&&a)?(l.queueTrigger(s.backward),o[l.group.id]=l.group):(!d&&u||d&&s.oldScroll>=l.triggerPoint)&&(l.queueTrigger(s.forward),o[l.group.id]=l.group)}}return p.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},o.findOrCreateByElement=function(t){return o.findByElement(t)||new o(t)},o.refreshAll=function(){for(var t in n)n[t].refresh()},o.findByElement=function(t){return n[t.waypointContextKey]},window.onload=function(){t&&t(),o.refreshAll()},p.requestAnimationFrame=function(t){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},p.Context=o}(),function(){"use strict";function r(t,e){return t.triggerPoint-e.triggerPoint}function s(t,e){return e.triggerPoint-t.triggerPoint}var e={vertical:{},horizontal:{}},i=window.Waypoint;function n(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),e[this.axis][this.name]=this}n.prototype.add=function(t){this.waypoints.push(t)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var t in this.triggerQueues){var e=this.triggerQueues[t];e.sort("up"===t||"left"===t?s:r);for(var i=0,n=e.length;i<n;i+=1){var o=e[i];!o.options.continuous&&i!==e.length-1||o.trigger([t])}}this.clearTriggerQueues()},n.prototype.next=function(t){this.waypoints.sort(r);t=i.Adapter.inArray(t,this.waypoints);return t===this.waypoints.length-1?null:this.waypoints[t+1]},n.prototype.previous=function(t){this.waypoints.sort(r);t=i.Adapter.inArray(t,this.waypoints);return t?this.waypoints[t-1]:null},n.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},n.prototype.remove=function(t){t=i.Adapter.inArray(t,this.waypoints);-1<t&&this.waypoints.splice(t,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(t){return e[t.axis][t.name]||new n(t)},i.Group=n}(),function(){"use strict";var i=window.jQuery,t=window.Waypoint;function n(t){this.$element=i(t)}i.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(t,e){n.prototype[e]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[e].apply(this.$element,t)}}),i.each(["extend","inArray","isEmptyObject"],function(t,e){n[e]=i[e]}),t.adapters.push({name:"jquery",Adapter:n}),t.Adapter=n}(),function(){"use strict";var o=window.Waypoint;function t(n){return function(){var e=[],i=arguments[0];return"function"==typeof arguments[0]&&((i=n.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var t=n.extend({},i,{element:this});"string"==typeof t.context&&(t.context=n(this).closest(t.context)[0]),e.push(new o(t))}),e}}window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}();