File "combine.min.js"
Full Path: /home/ycoalition/public_html/blog/wp-content/themes/woodmart/js/libs/combine.min.js
File size: 613.12 KB
MIME-type: text/plain
Charset: utf-8
!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,s=13,r=38,a=39,l=40;function c(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:c.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)}c.utils=i,(d.Autocomplete=c).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>")},c.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=c.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,s,r,a,l=this,c=d(l.suggestionsContainer),h=c.parent().get(0);h!==document.body&&!l.options.forceFixPosition||(s=l.options.orientation,t=c.outerHeight(),e=l.el.outerHeight(),i={top:(a=l.el.offset()).top,left:a.left},"auto"===s&&(r=d(window).height(),n=-(o=d(window).scrollTop())+a.top-t,o=o+r-(a.top+e+t),s=Math.max(n,o)===n?"top":"bottom"),i.top+="top"===s?-t:e,h!==document.body&&(r=c.css("opacity"),l.visible||c.css("opacity",0).show(),a=c.offsetParent().offset(),i.top-=a.top,i.left-=a.left,l.visible||c.css("opacity",r).hide()),"auto"===l.options.width&&(i.width=l.el.outerWidth()-2+"px"),c.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 s:if(-1===e.selectedIndex)return void e.hide();e.select(e.selectedIndex);break;case r: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 r: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,s=o.options,r=s.serviceUrl;s.params[s.paramName]=n,t=s.ignoreParams?null:s.params,!1!==s.onSearchStart.call(o.element,s.params)&&("function"==typeof s.lookup?s.lookup(n,function(t){o.suggestions=t.suggestions,o.suggest(),s.onSearchComplete.call(o.element,n,t.suggestions)}):(i=o.isLocal?o.getSuggestionsLocal(n):("function"==typeof r&&(r=r.call(o.element,n)),e=r+"?"+d.param(t||{}),o.cachedResponse[e]))&&Array.isArray(i.suggestions)?(o.suggestions=i.suggestions,o.suggest(),s.onSearchComplete.call(o.element,n,i.suggestions)):o.isBadQuery(n)?s.onSearchComplete.call(o.element,n,[]):(o.abortAjax(),i={url:r,data:t,type:s.type,dataType:s.dataType},d.extend(i,s.ajaxSettings),o.currentRequest=d.ajax(i).done(function(t){o.currentRequest=null,t=s.transformResult(t,n),o.processResponse(t,n,e),s.onSearchComplete.call(o.element,n,t.suggestions)}).fail(function(t,e,i){s.onSearchError.call(o.element,n,t,e,i)})))},isBadQuery:function(t){if(!this.options.preventBadQueries)return!1;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,s,r,a,l,c,h,u;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),s=t.classes.suggestion,r=t.classes.selected,a=d(t.suggestionsContainer),l=d(t.noSuggestionsContainer),c=e.beforeRender,h="",e.triggerSelectOnValidInput&&t.isExactMatch(o)?t.select(0):(d.each(t.suggestions,function(t,e){i&&(h+=function(t){t=t.data[i];return u===t?"":'<div class="autocomplete-group"><strong>'+(u=t)+"</strong></div>"}(e)),h+='<div class="'+s+'" data-index="'+t+'">'+n(e,o)+"</div>"}),this.adjustContainerWidth(),l.detach(),a.html(h),"function"==typeof c&&c.call(t.element,a),t.fixPosition(),a.show(),e.autoSelectFirst&&(t.selectedIndex=0,a.scrollTop(0),a.children("."+s).first().addClass(r)),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;if(-1!==t.selectedIndex)return 0===t.selectedIndex?(d(t.suggestionsContainer).children().first().removeClass(t.classes.selected),t.selectedIndex=-1,t.el.val(t.currentValue),void t.findBestHint()):void 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,s=o.activate(t);s&&(e=d(s).outerHeight(),s=s.offsetTop,n=(i=d(o.suggestionsContainer).scrollTop())+o.options.maxHeight-e,s<i?d(o.suggestionsContainer).scrollTop(s):n<s&&d(o.suggestionsContainer).scrollTop(s-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 c(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 s,r="";for(s in i)i[s]&&(r+="; "+s,!0!==i[s]&&(r+="="+i[s]));return document.cookie=t+"="+e+r}t||(n={});for(var a=document.cookie?document.cookie.split("; "):[],l=/(%[0-9A-Z]{2})+/g,c=0;c<a.length;c++){var h=a[c].split("=");'"'===(d=h.slice(1).join("=")).charAt(0)&&(d=d.slice(1,-1));try{var u=h[0].replace(l,decodeURIComponent),d=p.read?p.read(d,u):p(d,u)||d.replace(l,decodeURIComponent);if(this.json)try{d=JSON.parse(d)}catch(t){}if(t===u){n=d;break}t||(n[u]=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=[],s={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("|")),h={Y:"years",m:"months",n:"daysToMonth",w:"weeks",d:"daysToWeek",D:"totalDays",H:"hours",M:"minutes",S:"seconds"};function i(c){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})(:[^;]+;)?/),s=(s=(s=o[0]).toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),new RegExp(s)),r=o[1]||"",a=o[3]||"",l=null,o=o[2];h.hasOwnProperty(o)&&(l=h[o],l=Number(c[l])),null!==l&&("!"===r&&(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)),""===r&&l<10&&(l="0"+l.toString()),t=t.replace(s,l.toString()))}return t=t.replace(/%%/,"%")}}function r(t,e,i){this.el=t,this.$el=n(t),this.interval=null,this.offset={},this.options=n.extend({},s),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({},s,i)),this.setFinalDate(e),this.start()}n.extend(r.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],r.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 r(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?(h[t]&&(n=t),e&&(h[t]=e,n=t)):(e=t.name,h[e]=t,n=e),!i&&n&&(c=n),n||!i&&c):c}function r(t,e){return i(t)?t.clone():((e="object"==typeof e?e:{}).date=t,e.args=arguments,new b(e))}var s="millisecond",u="second",d="minute",p="hour",f="day",m="week",g="month",a="quarter",y="year",v="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){if(e.date()<i.date())return-t(i,e);var n=12*(i.year()-e.year())+(i.month()-e.month()),o=e.clone().add(n,g),s=i-o<0,e=e.clone().add(n+(s?-1:1),g);return+(-(n+(i-o)/(s?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:y,w:m,d:f,D:v,h:p,m:d,s:u,ms:s,Q:a}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},c="en",h={},w=(h[c]=t,e),b=(w.l=o,w.i=i,w.w=function(t,e){return r(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})},(t=T.prototype).parse=function(s){this.$d=function(){var t=s.date,e=s.utc;if(null===t)return new Date(NaN);if(w.u(t))return new Date;if(t instanceof Date)return new Date(t);if("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=s.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=r(t);return this.startOf(e)<=t&&t<=this.endOf(e)},t.isAfter=function(t,e){return r(t)<this.startOf(e)},t.isBefore=function(t,e){return this.endOf(e)<r(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),s?e:e.endOf(f)}function n(t,e){return w.w(o.toDate()[t].apply(o.toDate("s"),(s?[0,0,0,0]:[23,59,59,999]).slice(e)),o)}var o=this,s=!!w.u(e)||e,e=w.p(t),r=this.$W,a=this.$M,l=this.$D,c="set"+(this.$u?"UTC":"");switch(e){case y:return s?i(1,0):i(31,11);case g:return s?i(1,a):i(0,a+1);case m:var h=this.$locale().weekStart||0,h=(r<h?r+7:r)-h;return i(s?l-h:l+(6-h),a);case f:case v:return n(c+"Hours",0);case p:return n(c+"Minutes",1);case d:return n(c+"Seconds",2);case u:return n(c+"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[v]=i+"Date",n[g]=i+"Month",n[y]=i+"FullYear",n[p]=i+"Hours",n[d]=i+"Minutes",n[u]=i+"Seconds",n[s]=i+"Milliseconds",n[t]),n=t===f?this.$D+(e-this.$W):e;return t===g||t===y?((e=this.clone().set(v,1)).$d[i](n),e.init(),this.$d=e.set(v,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=r(n);return w.w(e.date(e.date()+Math.round(t*i)),n)}var n=this,t=(i=Number(i),w.p(t));if(t===g)return this.set(g,this.$M+i);if(t===y)return this.set(y,this.$y+i);if(t===f)return e(1);if(t===m)return e(7);(o={})[d]=6e4,o[p]=36e5,o[u]=1e3;var o=o[t]||1,t=this.$d.getTime()+i*o;return w.w(t,this)},t.subtract=function(t,e){return this.add(-1*t,e)},t.format=function(t){var o=this;if(!this.isValid())return"Invalid Date";function e(t,e,i,n){return t&&(t[e]||t(o,s))||i[e].substr(0,n)}function i(t){return w.s(r%12||12,t,"0")}var s=t||"YYYY-MM-DDTHH:mm:ssZ",n=w.z(this),t=this.$locale(),r=this.$H,a=this.$m,l=this.$M,c=t.weekdays,h=t.months,u=t.meridiem||function(t,e,i){t=t<12?"AM":"PM";return i?t.toLowerCase():t},d={YY:String(this.$y).slice(-2),YYYY:this.$y,M:l+1,MM:w.s(l+1,2,"0"),MMM:e(t.monthsShort,l,h,3),MMMM:e(h,l),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:e(t.weekdaysMin,this.$W,c,2),ddd:e(t.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(r),HH:w.s(r,2,"0"),h:i(1),hh:i(2),a:u(r,a,!0),A:u(r,a,!1),m:String(a),mm:w.s(a,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:n};return s.replace(_,function(t,e){return e||d[t]||n.replace(":","")})},t.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},t.diff=function(t,e,i){var e=w.p(e),t=r(t),n=6e4*(t.utcOffset()-this.utcOffset()),o=this-t,t=w.m(this,t),s={};return s[y]=t/12,s[g]=t,s[a]=t/3,s[m]=(o-n)/6048e5,s.day=(o-n)/864e5,s[p]=o/36e5,s[d]=o/6e4,s[u]=o/1e3,t=s[e]||o,i?t:w.a(t)},t.daysInMonth=function(){return this.endOf(g).$D},t.$locale=function(){return h[this.$L]},t.locale=function(t,e){if(!t)return this.$L;var i=this.clone(),t=o(t,e,!0);return t&&(i.$L=t),i},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 r.prototype=x,[["$ms",s],["$s",u],["$m",d],["$H",p],["$W",f],["$M",g],["$y",y],["$D",v]].forEach(function(e){x[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),r.extend=function(t,e){return t(e,b,r),r},r.locale=o,r.isDayjs=i,r.unix=function(t){return r(1e3*t)},r.en=h[c],r.Ls=h,r.p={},r}),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 u(t){return 96<t?t-87:64<t?t-29:t-48}function c(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,s=0,r=1;45===t.charCodeAt(0)&&(r=-(o=1));for(var a=o,l=e.length;a<l;++a)s=60*s+u(e.charCodeAt(a));for(var c=0,h=i.length;c<h;++c)s+=u(i.charCodeAt(c))*(n/=60);return s*r}(t[e])}function h(t,e){for(var i=[],n=0,o=e.length;n<o;++n)i[n]=t[e[n]];return i}var n,e,o,s,i,r;function d(t){var e=t.year,i=t.month,n=t.day,o=t.hours,s=t.minutes,r=t.seconds,t=t.milliseconds;return Date.UTC(e,i-1,n,void 0===o?0:o,void 0===s?0:s,void 0===r?0:r,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=(r={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,r=r.links,n={},e=i.map(function(t){var e=t.substr(0,t.indexOf("|"));return n[e]=t,e}),o=r.reduce(function(t,e){var e=e.split("|"),i=e[0];return t[e[1]]=i,t},{}),s={},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=t.epoch;if(void 0!==e)return new Date(e);var i,n,o,s,r,a,e=(t.zone||{}).offset;if(void 0===e)return l=t.year,i=t.month,n=t.day,o=t.hours,s=t.minutes,r=t.seconds,a=t.milliseconds,new Date(l,i-1,n,void 0===o?0:o,void 0===s?0:s,void 0===r?0:r,void 0===a?0:a);var l=d(t);return new Date(l+6e4*e)},t.findTimeZone=function(t){var t=o[t]||t,e=s[t];if(!e){var i=n[t];if(!i)throw new Error('Unknown time zone "'+t+'".');e=s[t]=function(t){for(var e=(t=t.split("|"))[2].split(" "),i=t[3].split(""),n=t[4].split(" "),o=(c(e),c(i),c(n),n),s=i.length,r=0;r<s;++r)o[r]=Math.round((o[r-1]||0)+6e4*o[r]);o[s-1]=1/0;var a=t[0],l=h(t[1].split(" "),i),t=0|t[5];return{name:a,abbreviations:l,offsets:h(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 h={year:0,month:1,day:2,hour:3,minute:4,second:5},u={};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=u[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}),u[n]=o),o.formatToParts(t)}function s(t,e){for(var i=l(t,e),n=[],o=0;o<i.length;o+=1){var s=i[o],r=s.type,s=s.value,r=h[r];0<=r&&(n[r]=parseInt(s,10))}return e=n[3],e=n[0]+"-"+n[1]+"-"+n[2]+" "+(24===e?0:e)+":"+n[4]+":"+n[5]+":000",t=+t,(a.utc(e).valueOf()-(t-t%1e3))/6e4}var r,c=a().utcOffset(),e=e.prototype;e.tz=function(t,e){void 0===t&&(t=r);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(c-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=i&&e,i=i||e||r,e=s(+a(),i);if("string"!=typeof t)return a(t).tz(i);t=function(t,e,i){var n=t-60*e*1e3,o=s(n,i);if(e===o)return[n,e];e=s(n-=60*(o-e)*1e3,i);return o===e?[n,o]:[t-60*Math.min(o,e)*1e3,Math.max(o,e)]}(a.utc(t,n).valueOf(),e,i),n=t[0],e=t[1],t=a(n).utcOffset(e);return t.$x.$timezone=i,t},a.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},a.tz.setDefault=function(t){r=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),s=(i.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),n.call(this,t)},i.init),r=(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()):s.call(this)},i.utcOffset),a=(i.utcOffset=function(t,e){var i=this.$utils().u;if(i(t))return this.$u?0:i(this.$offset)?r.call(this):this.$offset;var i=Math.abs(t)<=16?60*t:t,n=this;return e?(n.$offset=i,n.$u=0===t):0!==t?(e=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset(),(n=this.local().add(i+e,"minute")).$offset=i,n.$x.$localOffset=e):n=this.utc(),n},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),c=(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){if(this.$u===t.$u)return c.call(this,t,e,i);var n=this.local(),t=o(t).local();return c.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,s=navigator.appName,r=""+parseFloat(navigator.appVersion),a=parseInt(navigator.appVersion,10),l=(-1!=(l=o.indexOf("Opera"))&&(s="Opera",r=o.substring(l+6),-1!=(l=o.indexOf("Version"))&&(r=o.substring(l+8))),-1!=(l=o.indexOf("OPR"))?(s="Opera",r=o.substring(l+4)):-1!=(l=o.indexOf("Edge"))?(s="Edge",r=o.substring(l+5)):-1!=(l=o.indexOf("Edg"))?(s="Microsoft Edge",r=o.substring(l+4)):-1!=(l=o.indexOf("MSIE"))?(s="Internet",r=o.substring(l+5)):-1!=(l=o.indexOf("Chrome"))?(s="Chrome",r=o.substring(l+7)):-1!=(l=o.indexOf("Safari"))?(s="Safari",r=o.substring(l+7),-1!=(l=o.indexOf("Version"))&&(r=o.substring(l+8))):-1!=(l=o.indexOf("Firefox"))?(s="Firefox",r=o.substring(l+8)):-1!=o.indexOf("Trident/")?(s="Internet",r=o.substring(o.indexOf("rv:")+3)):(f=o.lastIndexOf(" ")+1)<(l=o.lastIndexOf("/"))&&(s=o.substring(f,l),r=o.substring(l+1),s.toLowerCase()==s.toUpperCase()&&(s=navigator.appName)),-1!=(f=(r=-1!=(f=(r=-1!=(f=r.indexOf(";"))?r.substring(0,f):r).indexOf(" "))?r.substring(0,f):r).indexOf(")"))&&(r=r.substring(0,f)),a=parseInt(""+r,10),isNaN(a)&&(r=""+parseFloat(navigator.appVersion),a=parseInt(navigator.appVersion,10)),/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(n)),c="-",h=[{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 h){var u=h[e];if(u.r.test(o)){c=u.s;break}}var d="-";switch(/Windows/.test(c)&&(d=/Windows (.*)/.exec(c)[1],c="Windows"),c){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:s,browserVersion:r,browserMajorVersion:a,mobile:l,os:c,osVersion:d,flashVersion:f}}(this),function(){var t=jQuery("html");t.addClass("browser-"+jscd.browser),t.addClass("platform-"+jscd.os)}(),function(e,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("jquery")):e.jQueryBridget=i(e,e.jQuery)}(window,function(t,e){"use strict";var i=Array.prototype.slice,n=t.console,u=void 0===n?function(){}:function(t){n.error(t)};function o(l,c,h){(h=h||e||t.jQuery)&&(c.prototype.option||(c.prototype.option=function(t){h.isPlainObject(t)&&(this.options=h.extend(!0,this.options,t))}),h.fn[l]=function(t){var e,n,o,s,r,a;return"string"==typeof t?(e=i.call(arguments,1),o=e,r="$()."+l+'("'+(n=t)+'")',(e=this).each(function(t,e){var i,e=h.data(e,l);e?(i=e[n])&&"_"!=n.charAt(0)?(i=i.apply(e,o),s=void 0===s?i:s):u(r+" is not a valid method"):u(l+" not initialized. Cannot call methods, i.e. "+r)}),void 0!==s?s:e):(a=t,this.each(function(t,e){var i=h.data(e,l);i?(i.option(a),i._init()):(i=new c(e,a),h.data(e,l,i))}),this)},s(h))}function s(t){t&&!t.bridget&&(t.bridget=o)}return s(e||t.jQuery),o}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){var i;if(t&&e)return i=this._events=this._events||{},i=i[t]=i[t]||[],-1==i.indexOf(e)&&i.push(e),this},e.once=function(t,e){var i;if(t&&e)return this.on(t,e),i=this._onceEvents=this._onceEvents||{},(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length)return e=t.indexOf(e),-1!=e&&t.splice(e,1),this},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var s=i[o];n&&n[s]&&(this.off(t,s),delete n[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function g(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},y=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],v=y.length;function _(t){t=getComputedStyle(t);return t||e("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}var w,b=!1;function x(t){if(b||(b=!0,(h=document.createElement("div")).style.width="200px",h.style.padding="1px 2px 3px 4px",h.style.borderStyle="solid",h.style.borderWidth="1px 2px 3px 4px",h.style.boxSizing="border-box",(c=document.body||document.documentElement).appendChild(h),s=_(h),w=200==Math.round(g(s.width)),x.isBoxSizeOuter=w,c.removeChild(h)),(t="string"==typeof t?document.querySelector(t):t)&&"object"==typeof t&&t.nodeType){var e=_(t);if("none"==e.display){for(var i={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},n=0;n<v;n++)i[y[n]]=0;return i}for(var o={},s=(o.width=t.offsetWidth,o.height=t.offsetHeight,o.isBorderBox="border-box"==e.boxSizing),r=0;r<v;r++){var a=y[r],l=e[a],l=parseFloat(l);o[a]=isNaN(l)?0:l}var c=o.paddingLeft+o.paddingRight,h=o.paddingTop+o.paddingBottom,t=o.marginLeft+o.marginRight,u=o.marginTop+o.marginBottom,d=o.borderLeftWidth+o.borderRightWidth,p=o.borderTopWidth+o.borderBottomWidth,f=s&&w,m=g(e.width),m=(!1!==m&&(o.width=m+(f?0:c+d)),g(e.height));return!1!==m&&(o.height=m+(f?0:h+p)),o.innerWidth=o.width-(c+d),o.innerHeight=o.height-(h+p),o.outerWidth=o.width+t,o.outerHeight=o.height+u,o}}return x}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var i=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(t,e){return t[i](e)}}),function(e,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("desandro-matches-selector")):e.fizzyUIUtils=i(e,e.matchesSelector)}(window,function(i,r){var l={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=Array.prototype.slice,c=(l.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?e.call(t):[t]},l.removeFrom=function(t,e){e=t.indexOf(e);-1!=e&&t.splice(e,1)},l.getParent=function(t,e){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,r(t,e))return t},l.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.filterFindElements=function(t,o){t=l.makeArray(t);var s=[];return t.forEach(function(t){var e;if(e=t,"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName)if(o){r(t,o)&&s.push(t);for(var i=t.querySelectorAll(o),n=0;n<i.length;n++)s.push(i[n])}else s.push(t)}),s},l.debounceMethod=function(t,e,n){n=n||100;var o=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s],e=(clearTimeout(t),arguments),i=this;this[s]=setTimeout(function(){o.apply(i,e),delete i[s]},n)}},l.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},l.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()},i.console);return l.htmlInit=function(r,a){l.docReady(function(){var t=l.toDashed(a),n="data-"+t,e=document.querySelectorAll("["+n+"]"),t=document.querySelectorAll(".js-"+t),e=l.makeArray(e).concat(l.makeArray(t)),o=n+"-options",s=i.jQuery;e.forEach(function(e){var t,i=e.getAttribute(n)||e.getAttribute(o);try{t=i&&JSON.parse(i)}catch(t){return void(c&&c.error("Error parsing "+n+" on "+e.className+": "+t))}i=new r(e,t);s&&s.data(e,a,i)})})},l}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/cell",["get-size/get-size"],function(t){return e(0,t)}):"object"==typeof module&&module.exports?module.exports=e(0,require("get-size")):(t.Flickity=t.Flickity||{},t.Flickity.Cell=e(0,t.getSize))}(window,function(t,e){function i(t,e){this.element=t,this.parent=e,this.create()}var n=i.prototype;return n.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0},n.destroy=function(){this.unselect(),this.element.style.position="";var t=this.parent.originSide;this.element.style[t]=""},n.getSize=function(){this.size=e(this.element)},n.setPosition=function(t){this.x=t,this.updateTarget(),this.renderPosition(t)},n.updateTarget=n.setDefaultTarget=function(){var t="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[t]+this.size.width*this.parent.cellAlign},n.renderPosition=function(t){var e=this.parent.originSide;this.element.style[e]=this.parent.getPositionValue(t)},n.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},n.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},n.wrapShift=function(t){this.shift=t,this.renderPosition(this.x+this.parent.slideableWidth*t)},n.remove=function(){this.element.parentNode.removeChild(this.element)},i}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/slide",e):"object"==typeof module&&module.exports?module.exports=e():(t.Flickity=t.Flickity||{},t.Flickity.Slide=e())}(window,function(){"use strict";function t(t){this.parent=t,this.isOriginLeft="left"==t.originSide,this.cells=[],this.outerWidth=0,this.height=0}var e=t.prototype;return e.addCell=function(t){var e;this.cells.push(t),this.outerWidth+=t.size.outerWidth,this.height=Math.max(t.size.outerHeight,this.height),1==this.cells.length&&(this.x=t.x,e=this.isOriginLeft?"marginLeft":"marginRight",this.firstMargin=t.size[e])},e.updateTarget=function(){var t=this.isOriginLeft?"marginRight":"marginLeft",e=this.getLastCell(),e=e?e.size[t]:0,t=this.outerWidth-(this.firstMargin+e);this.target=this.x+this.firstMargin+t*this.parent.cellAlign},e.getLastCell=function(){return this.cells[this.cells.length-1]},e.select=function(){this.cells.forEach(function(t){t.select()})},e.unselect=function(){this.cells.forEach(function(t){t.unselect()})},e.getCellElements=function(){return this.cells.map(function(t){return t.element})},t}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/animate",["fizzy-ui-utils/utils"],function(t){return e(0,t)}):"object"==typeof module&&module.exports?module.exports=e(0,require("fizzy-ui-utils")):(t.Flickity=t.Flickity||{},t.Flickity.animatePrototype=e(0,t.fizzyUIUtils))}(window,function(t,e){var i={startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();var t,e=this.x;this.integratePhysics(),this.positionSlider(),this.settle(e),this.isAnimating&&(t=this,requestAnimationFrame(function(){t.animate()}))},positionSlider:function(){var t=this.x;this.options.wrapAround&&1<this.cells.length&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,t=this.options.rightToLeft?-t:t;t=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+t+",0,0)":"translateX("+t+")"},dispatchScrollEvent:function(){var t,e=this.slides[0];e&&(t=(e=-this.x-e.target)/this.slidesWidth,this.dispatchEvent("scroll",null,[t,e]))},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){this.isPointerDown||Math.round(100*this.x)!=Math.round(100*t)||this.restingFrames++,2<this.restingFrames&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t,e=(this._shiftCells(this.beforeShiftCells,e,-1),this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition));this._shiftCells(this.afterShiftCells,e,1)},_shiftCells:function(t,e,i){for(var n=0;n<t.length;n++){var o=t[n];o.wrapShift(0<e?i:0),e-=o.size.outerWidth}},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e<t.length;e++)t[e].wrapShift(0)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(t){this.velocity+=t},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){var t;this.isDraggable&&this.isPointerDown&&(t=this.dragX-this.x-this.velocity,this.applyForce(t))},applySelectedAttraction:function(){var t;this.isDraggable&&this.isPointerDown||this.isFreeScrolling||!this.slides.length||(t=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction,this.applyForce(t))}};return i}),function(r,a){var t;"function"==typeof define&&define.amd?define("flickity/js/flickity",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./cell","./slide","./animate"],function(t,e,i,n,o,s){return a(r,t,e,i,n,o,s)}):"object"==typeof module&&module.exports?module.exports=a(r,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./cell"),require("./slide"),require("./animate")):(t=r.Flickity,r.Flickity=a(r,r.EvEmitter,r.getSize,r.fizzyUIUtils,t.Cell,t.Slide,t.animatePrototype))}(window,function(n,t,e,r,i,a,o){var s=n.jQuery,l=n.getComputedStyle,c=n.console;function h(t,e){for(t=r.makeArray(t);t.length;)e.appendChild(t.shift())}var u=0,d={};function p(t,e){var i,n=r.getQueryElement(t);if(n){if(this.element=n,this.element.flickityGUID)return(i=d[this.element.flickityGUID]).option(e),i;s&&(this.$element=s(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(e),this._create()}else c&&c.error("Bad element for Flickity: "+(n||t))}p.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},p.createMethods=[];var f=p.prototype,m=(r.extend(f,t.prototype),f._create=function(){var t,e=this.guid=++u;for(t in this.element.flickityGUID=e,(d[e]=this).selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&n.addEventListener("resize",this),this.options.on){var i=this.options.on[t];this.on(t,i)}p.createMethods.forEach(function(t){this[t]()},this),this.options.watchCSS?this.watchCSS():this.activate()},f.option=function(t){r.extend(this.options,t)},f.activate=function(){this.isActive||(this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize(),h(this._filterFindCellElements(this.element.children),this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready"))},f._createSlider=function(){var t=document.createElement("div");t.className="flickity-slider",t.style[this.originSide]=0,this.slider=t},f._filterFindCellElements=function(t){return r.filterFindElements(t,this.options.cellSelector)},f.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},f._makeCells=function(t){return this._filterFindCellElements(t).map(function(t){return new i(t,this)},this)},f.getLastCell=function(){return this.cells[this.cells.length-1]},f.getLastSlide=function(){return this.slides[this.slides.length-1]},f.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},f._positionCells=function(t){this.maxCellHeight=(t=t||0)&&this.maxCellHeight||0;for(var e,i=0,n=(0<t&&(i=(e=this.cells[t-1]).x+e.size.outerWidth),this.cells.length),o=t;o<n;o++){var s=this.cells[o];s.setPosition(i),i+=s.size.outerWidth,this.maxCellHeight=Math.max(s.size.outerHeight,this.maxCellHeight)}this.slideableWidth=i,this.updateSlides(),this._containSlides(),this.slidesWidth=n?this.getLastSlide().target-this.slides[0].target:0},f._sizeCells=function(t){t.forEach(function(t){t.getSize()})},f.updateSlides=function(){var n,o,s;this.slides=[],this.cells.length&&(n=new a(this),this.slides.push(n),o="left"==this.originSide?"marginRight":"marginLeft",s=this._getCanCellFit(),this.cells.forEach(function(t,e){var i;n.cells.length&&(i=n.outerWidth-n.firstMargin+(t.size.outerWidth-t.size[o]),s.call(this,e,i)||(n.updateTarget(),n=new a(this),this.slides.push(n))),n.addCell(t)},this),n.updateTarget(),this.updateSelectedSlide())},f._getCanCellFit=function(){var e,t=this.options.groupCells;if(!t)return function(){return!1};if("number"==typeof t)return e=parseInt(t,10),function(t){return t%e!=0};var t="string"==typeof t&&t.match(/^(\d+)%$/),i=t?parseInt(t[1],10)/100:1;return function(t,e){return e<=(this.size.innerWidth+1)*i}},f._init=f.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},f.getSize=function(){this.size=e(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign},{center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}});return f.setCellAlign=function(){var t=m[this.options.cellAlign];this.cellAlign=t?t[this.originSide]:this.options.cellAlign},f.setGallerySize=function(){var t;this.options.setGallerySize&&(t=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight,this.viewport.style.height=t+"px")},f._getWrapShiftCells=function(){var t,e;this.options.wrapAround&&(this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells),t=this.cursorPosition,e=this.cells.length-1,this.beforeShiftCells=this._getGapCells(t,e,-1),t=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(t,0,1))},f._getGapCells=function(t,e,i){for(var n=[];0<t;){var o=this.cells[e];if(!o)break;n.push(o),e+=i,t-=o.size.outerWidth}return n},f._containSlides=function(){var t,e,i,n,o,s;this.options.contain&&!this.options.wrapAround&&this.cells.length&&(t=(e=this.options.rightToLeft)?"marginRight":"marginLeft",e=e?"marginLeft":"marginRight",i=this.slideableWidth-this.getLastCell().size[e],n=i<this.size.innerWidth,o=this.cursorPosition+this.cells[0].size[t],s=i-this.size.innerWidth*(1-this.cellAlign),this.slides.forEach(function(t){n?t.target=i*this.cellAlign:(t.target=Math.max(t.target,o),t.target=Math.min(t.target,s))},this))},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;this.emitEvent(t,n),s&&this.$element&&(n=t+=this.options.namespaceJQueryEvents?".flickity":"",e&&((e=s.Event(e)).type=t,n=e),this.$element.trigger(n,i))},f.select=function(t,e,i){this.isActive&&(t=parseInt(t,10),this._wrapSelect(t),(this.options.wrapAround||e)&&(t=r.modulo(t,this.slides.length)),this.slides[t]&&(e=this.selectedIndex,this.selectedIndex=t,this.updateSelectedSlide(),i?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[t]),t!=e&&this.dispatchEvent("change",null,[t]),this.dispatchEvent("cellSelect")))},f._wrapSelect=function(t){var e=this.slides.length;if(!(this.options.wrapAround&&1<e))return t;var i=r.modulo(t,e),n=Math.abs(i-this.selectedIndex),o=Math.abs(i+e-this.selectedIndex),i=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&o<n?t+=e:!this.isDragSelect&&i<n&&(t-=e),t<0?this.x-=this.slideableWidth:e<=t&&(this.x+=this.slideableWidth)},f.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},f.next=function(t,e){this.select(this.selectedIndex+1,t,e)},f.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),(this.selectedSlide=t).select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},f.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},f.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(t&&"string"==typeof t)if(this.queryCell(t))return void this.selectCell(t,!1,!0);var e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)}},f.selectCell=function(t,e,i){var t=this.queryCell(t);t&&(t=this.getCellSlideIndex(t),this.select(t,e,i))},f.getCellSlideIndex=function(t){for(var e=0;e<this.slides.length;e++)if(-1!=this.slides[e].cells.indexOf(t))return e},f.getCell=function(t){for(var e=0;e<this.cells.length;e++){var i=this.cells[e];if(i.element==t)return i}},f.getCells=function(t){t=r.makeArray(t);var e=[];return t.forEach(function(t){t=this.getCell(t);t&&e.push(t)},this),e},f.getCellElements=function(){return this.cells.map(function(t){return t.element})},f.getParentCell=function(t){var e=this.getCell(t);return e||(t=r.getParent(t,".flickity-slider > *"),this.getCell(t))},f.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var i=this.slides.length;if(i<=1+2*t)return this.getCellElements();for(var n=[],o=e-t;o<=e+t;o++){var s=this.options.wrapAround?r.modulo(o,i):o,s=this.slides[s];s&&(n=n.concat(s.getCellElements()))}return n},f.queryCell=function(t){if("number"==typeof t)return this.cells[t];if("string"==typeof t){if(t.match(/^[#\.]?[\d\/]/))return;t=this.element.querySelector(t)}return this.getCell(t)},f.uiChange=function(){this.emitEvent("uiChange")},f.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},f.onresize=function(){this.watchCSS(),this.resize()},r.debounceMethod(p,"onresize",150),f.resize=function(){var t;this.isActive&&(this.getSize(),this.options.wrapAround&&(this.x=r.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize"),t=this.selectedElements&&this.selectedElements[0],this.selectCell(t,!1,!0))},f.watchCSS=function(){this.options.watchCSS&&(-1!=l(this.element,":after").content.indexOf("flickity")?this.activate():this.deactivate())},f.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;this.options.accessibility&&!e&&(e=p.keyboardHandlers[t.keyCode])&&e.call(this)},p.keyboardHandlers={37:function(){var t=this.options.rightToLeft?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=this.options.rightToLeft?"previous":"next";this.uiChange(),this[t]()}},f.focus=function(){var t=n.pageYOffset;this.element.focus({preventScroll:!0}),n.pageYOffset!=t&&n.scrollTo(n.pageXOffset,t)},f.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(t){t.destroy()}),this.element.removeChild(this.viewport),h(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},f.destroy=function(){this.deactivate(),n.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),s&&this.$element&&s.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete d[this.guid]},r.extend(f,o),p.data=function(t){t=(t=r.getQueryElement(t))&&t.flickityGUID;return t&&d[t]},r.htmlInit(p,"flickity"),s&&s.bridget&&s.bridget("flickity",p),p.setJQuery=function(t){s=t},p.Cell=i,p.Slide=a,p}),function(e,i){"function"==typeof define&&define.amd?define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("ev-emitter")):e.Unipointer=i(e,e.EvEmitter)}(window,function(n,t){function e(){}var t=e.prototype=Object.create(t.prototype),i=(t.bindStartEvent=function(t){this._bindStartEvent(t,!0)},t.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},t._bindStartEvent=function(t,e){var e=(e=void 0===e||e)?"addEventListener":"removeEventListener",i="mousedown";n.PointerEvent?i="pointerdown":"ontouchstart"in n&&(i="touchstart"),t[e](i,this)},t.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},t.getTouch=function(t){for(var e=0;e<t.length;e++){var i=t[e];if(i.identifier==this.pointerIdentifier)return i}},t.onmousedown=function(t){var e=t.button;e&&0!==e&&1!==e||this._pointerDown(t,t)},t.ontouchstart=function(t){this._pointerDown(t,t.changedTouches[0])},t.onpointerdown=function(t){this._pointerDown(t,t)},t._pointerDown=function(t,e){t.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==e.pointerId?e.pointerId:e.identifier,this.pointerDown(t,e))},t.pointerDown=function(t,e){this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e])},{mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]});return t._bindPostStartEvents=function(t){t&&((t=i[t.type]).forEach(function(t){n.addEventListener(t,this)},this),this._boundPointerEvents=t)},t._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach(function(t){n.removeEventListener(t,this)},this),delete this._boundPointerEvents)},t.onmousemove=function(t){this._pointerMove(t,t)},t.onpointermove=function(t){t.pointerId==this.pointerIdentifier&&this._pointerMove(t,t)},t.ontouchmove=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerMove(t,e)},t._pointerMove=function(t,e){this.pointerMove(t,e)},t.pointerMove=function(t,e){this.emitEvent("pointerMove",[t,e])},t.onmouseup=function(t){this._pointerUp(t,t)},t.onpointerup=function(t){t.pointerId==this.pointerIdentifier&&this._pointerUp(t,t)},t.ontouchend=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerUp(t,e)},t._pointerUp=function(t,e){this._pointerDone(),this.pointerUp(t,e)},t.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e])},t._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},t._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},t.pointerDone=function(){},t.onpointercancel=function(t){t.pointerId==this.pointerIdentifier&&this._pointerCancel(t,t)},t.ontouchcancel=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerCancel(t,e)},t._pointerCancel=function(t,e){this._pointerDone(),this.pointerCancel(t,e)},t.pointerCancel=function(t,e){this.emitEvent("pointerCancel",[t,e])},e.getPointerPoint=function(t){return{x:t.pageX,y:t.pageY}},e}),function(e,i){"function"==typeof define&&define.amd?define("unidragger/unidragger",["unipointer/unipointer"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("unipointer")):e.Unidragger=i(e,e.Unipointer)}(window,function(s,t){function e(){}var i=e.prototype=Object.create(t.prototype),n=(i.bindHandles=function(){this._bindHandles(!0)},i.unbindHandles=function(){this._bindHandles(!1)},i._bindHandles=function(t){for(var e=(t=void 0===t||t)?"addEventListener":"removeEventListener",i=t?this._touchActionValue:"",n=0;n<this.handles.length;n++){var o=this.handles[n];this._bindStartEvent(o,t),o[e]("click",this),s.PointerEvent&&(o.style.touchAction=i)}},i._touchActionValue="none",i.pointerDown=function(t,e){this.okayPointerDown(t)&&(this.pointerDownPointer=e,t.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e]))},{TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0}),o={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return i.okayPointerDown=function(t){var e=n[t.target.nodeName],t=o[t.target.type],e=!e||t;return e||this._pointerReset(),e},i.pointerDownBlur=function(){var t=document.activeElement;t&&t.blur&&t!=document.body&&t.blur()},i.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.emitEvent("pointerMove",[t,e,i]),this._dragMove(t,e,i)},i._dragPointerMove=function(t,e){var i={x:e.pageX-this.pointerDownPointer.pageX,y:e.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(i)&&this._dragStart(t,e),i},i.hasDragStarted=function(t){return 3<Math.abs(t.x)||3<Math.abs(t.y)},i.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},i._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},i._dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(t,e)},i.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},i._dragMove=function(t,e,i){this.isDragging&&this.dragMove(t,e,i)},i.dragMove=function(t,e,i){t.preventDefault(),this.emitEvent("dragMove",[t,e,i])},i._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},i.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},i.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},i._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},i.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},e.getPointerPoint=t.getPointerPoint,e}),function(n,o){"function"==typeof define&&define.amd?define("flickity/js/drag",["./flickity","unidragger/unidragger","fizzy-ui-utils/utils"],function(t,e,i){return o(n,t,e,i)}):"object"==typeof module&&module.exports?module.exports=o(n,require("./flickity"),require("unidragger"),require("fizzy-ui-utils")):n.Flickity=o(n,n.Flickity,n.Unidragger,n.fizzyUIUtils)}(window,function(i,t,e,s){s.extend(t.defaults,{draggable:">1",dragThreshold:3}),t.createMethods.push("_createDrag");var n=t.prototype,o=(s.extend(n,e.prototype),n._touchActionValue="pan-y","createTouch"in document),r=!1,a=(n._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),o&&!r&&(i.addEventListener("touchmove",function(){}),r=!0)},n.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},n.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},n.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=1<this.slides.length:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},n.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},n.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},n._uiChangeDrag=function(){delete this.isFreeScrolling},n.pointerDown=function(t,e){this.isDraggable?this.okayPointerDown(t)&&(this._pointerDownPreventDefault(t),this.pointerDownFocus(t),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=l(),i.addEventListener("scroll",this),this._pointerDownDefault(t,e)):this._pointerDownDefault(t,e)},n._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])},{INPUT:!0,TEXTAREA:!0,SELECT:!0});function l(){return{x:i.pageXOffset,y:i.pageYOffset}}return n.pointerDownFocus=function(t){a[t.target.nodeName]||this.focus()},n._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=a[t.target.nodeName];e||i||n||t.preventDefault()},n.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},n.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},n.pointerDone=function(){i.removeEventListener("scroll",this),delete this.pointerDownScroll},n.dragStart=function(t,e){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),i.removeEventListener("scroll",this),this.dispatchEvent("dragStart",t,[e]))},n.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]),this._dragMove(t,e,i)},n.dragMove=function(t,e,i){var n,o;this.isDraggable&&(t.preventDefault(),this.previousDragX=this.dragX,n=this.options.rightToLeft?-1:1,this.options.wrapAround&&(i.x=i.x%this.slideableWidth),n=this.dragStartPosition+i.x*n,!this.options.wrapAround&&this.slides.length&&(n=(n=(o=Math.max(-this.slides[0].target,this.dragStartPosition))<n?.5*(n+o):n)<(o=Math.min(-this.getLastSlide().target,this.dragStartPosition))?.5*(n+o):n),this.dragX=n,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",t,[e,i]))},n.dragEnd=function(t,e){var i,n;this.isDraggable&&(this.options.freeScroll&&(this.isFreeScrolling=!0),i=this.dragEndRestingSelect(),this.options.freeScroll&&!this.options.wrapAround?(n=this.getRestingPosition(),this.isFreeScrolling=-n>this.slides[0].target&&-n<this.getLastSlide().target):this.options.freeScroll||i!=this.selectedIndex||(i+=this.dragEndBoostSelect()),delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(i),delete this.isDragSelect,this.dispatchEvent("dragEnd",t,[e]))},n.dragEndRestingSelect=function(){var t=this.getRestingPosition(),e=Math.abs(this.getSlideDistance(-t,this.selectedIndex)),i=this._getClosestResting(t,e,1),t=this._getClosestResting(t,e,-1);return(i.distance<t.distance?i:t).index},n._getClosestResting=function(t,e,i){for(var n=this.selectedIndex,o=1/0,s=this.options.contain&&!this.options.wrapAround?function(t,e){return t<=e}:function(t,e){return t<e};s(e,o)&&(o=e,null!==(e=this.getSlideDistance(-t,n+=i)));)e=Math.abs(e);return{distance:o,index:n-i}},n.getSlideDistance=function(t,e){var i=this.slides.length,n=this.options.wrapAround&&1<i,o=n?s.modulo(e,i):e,o=this.slides[o];if(!o)return null;n=n?this.slideableWidth*Math.floor(e/i):0;return t-(o.target+n)},n.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||100<new Date-this.dragMoveTime)return 0;var t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return 0<t&&0<e?1:t<0&&e<0?-1:0},n.staticClick=function(t,e){var i=this.getParentCell(t.target),n=i&&i.element,i=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,i])},n.onscroll=function(){var t=l(),e=this.pointerDownScroll.x-t.x,t=this.pointerDownScroll.y-t.y;(3<Math.abs(e)||3<Math.abs(t))&&this._pointerDone()},t}),function(t,n){"function"==typeof define&&define.amd?define("flickity/js/prev-next-button",["./flickity","unipointer/unipointer","fizzy-ui-utils/utils"],function(t,e,i){return n(0,t,e,i)}):"object"==typeof module&&module.exports?module.exports=n(0,require("./flickity"),require("unipointer"),require("fizzy-ui-utils")):n(0,t.Flickity,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){"use strict";var o="http://www.w3.org/2000/svg";function s(t,e){this.direction=t,this.parent=e,this._create()}(s.prototype=Object.create(i.prototype))._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1,t=(this.isLeft=this.direction==t,this.element=document.createElement("button")),e=(t.className="flickity-button flickity-prev-next-button",t.className+=this.isPrevious?" previous":" next",t.setAttribute("type","button"),this.disable(),t.setAttribute("aria-label",this.isPrevious?"Previous":"Next"),this.createSVG());t.appendChild(e),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},s.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},s.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},s.prototype.createSVG=function(){var t=document.createElementNS(o,"svg"),e=(t.setAttribute("class","flickity-button-icon"),t.setAttribute("viewBox","0 0 100 100"),document.createElementNS(o,"path")),i="string"!=typeof(i=this.parent.options.arrowShape)?"M "+i.x0+",50 L "+i.x1+","+(i.y1+50)+" L "+i.x2+","+(i.y2+50)+" L "+i.x3+",50 L "+i.x2+","+(50-i.y2)+" L "+i.x1+","+(50-i.y1)+" Z":i;return e.setAttribute("d",i),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},s.prototype.handleEvent=n.handleEvent,s.prototype.onclick=function(){var t;this.isEnabled&&(this.parent.uiChange(),t=this.isPrevious?"previous":"next",this.parent[t]())},s.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},s.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},s.prototype.update=function(){var t=this.parent.slides;this.parent.options.wrapAround&&1<t.length?this.enable():(t=t.length?t.length-1:0,t=this.isPrevious?0:t,this[this.parent.selectedIndex==t?"disable":"enable"]())},s.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");i=e.prototype;return i._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new s(-1,this),this.nextButton=new s(1,this),this.on("activate",this.activatePrevNextButtons))},i.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},i.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=s,e}),function(t,n){"function"==typeof define&&define.amd?define("flickity/js/page-dots",["./flickity","unipointer/unipointer","fizzy-ui-utils/utils"],function(t,e,i){return n(0,t,e,i)}):"object"==typeof module&&module.exports?module.exports=n(0,require("./flickity"),require("unipointer"),require("fizzy-ui-utils")):n(0,t.Flickity,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(t){this.parent=t,this._create()}(o.prototype=Object.create(i.prototype))._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},o.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},o.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;0<t?this.addDots(t):t<0&&this.removeDots(-t)},o.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,o=n+t,s=n;s<o;s++){var r=document.createElement("li");r.className="dot",r.setAttribute("aria-label","Page dot "+(s+1)),e.appendChild(r),i.push(r)}this.holder.appendChild(e),this.dots=this.dots.concat(i)},o.prototype.removeDots=function(t){this.dots.splice(this.dots.length-t,t).forEach(function(t){this.holder.removeChild(t)},this)},o.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot",this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected",this.selectedDot.setAttribute("aria-current","step"))},o.prototype.onTap=o.prototype.onClick=function(t){var t=t.target;"LI"==t.nodeName&&(this.parent.uiChange(),t=this.dots.indexOf(t),this.parent.select(t))},o.prototype.destroy=function(){this.deactivate(),this.allOff()},e.PageDots=o,n.extend(e.defaults,{pageDots:!0}),e.createMethods.push("_createPageDots");i=e.prototype;return i._createPageDots=function(){this.options.pageDots&&(this.pageDots=new o(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},i.activatePageDots=function(){this.pageDots.activate()},i.updateSelectedPageDots=function(){this.pageDots.updateSelected()},i.updatePageDots=function(){this.pageDots.setDots()},i.deactivatePageDots=function(){this.pageDots.deactivate()},e.PageDots=o,e}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/player",["ev-emitter/ev-emitter","fizzy-ui-utils/utils","./flickity"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("fizzy-ui-utils"),require("./flickity")):e(t.EvEmitter,t.fizzyUIUtils,t.Flickity)}(window,function(t,e,i){function n(t){this.parent=t,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}(n.prototype=Object.create(t.prototype)).play=function(){"playing"!=this.state&&(document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()))},n.prototype.tick=function(){var t,e;"playing"==this.state&&(t="number"==typeof(t=this.parent.options.autoPlay)?t:3e3,(e=this).clear(),this.timeout=setTimeout(function(){e.parent.next(!0),e.tick()},t))},n.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},n.prototype.clear=function(){clearTimeout(this.timeout)},n.prototype.pause=function(){"playing"==this.state&&(this.state="paused",this.clear())},n.prototype.unpause=function(){"paused"==this.state&&this.play()},n.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},n.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},e.extend(i.defaults,{pauseAutoPlayOnHover:!0}),i.createMethods.push("_createPlayer");t=i.prototype;return t._createPlayer=function(){this.player=new n(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},t.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},t.playPlayer=function(){this.player.play()},t.stopPlayer=function(){this.player.stop()},t.pausePlayer=function(){this.player.pause()},t.unpausePlayer=function(){this.player.unpause()},t.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},t.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},t.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},i.Player=n,i}),function(t,i){"function"==typeof define&&define.amd?define("flickity/js/add-remove-cell",["./flickity","fizzy-ui-utils/utils"],function(t,e){return i(0,t,e)}):"object"==typeof module&&module.exports?module.exports=i(0,require("./flickity"),require("fizzy-ui-utils")):i(0,t.Flickity,t.fizzyUIUtils)}(window,function(t,e,n){var i=e.prototype;return i.insert=function(t,e){var i,n,o,s,r,t=this._makeCells(t);t&&t.length&&(i=this.cells.length,e=void 0===e?i:e,r=t,n=document.createDocumentFragment(),r.forEach(function(t){n.appendChild(t.element)}),r=n,(o=e==i)?this.slider.appendChild(r):(s=this.cells[e].element,this.slider.insertBefore(r,s)),0===e?this.cells=t.concat(this.cells):o?this.cells=this.cells.concat(t):(r=this.cells.splice(e,i-e),this.cells=this.cells.concat(t).concat(r)),this._sizeCells(t),this.cellChange(e,!0))},i.append=function(t){this.insert(t,this.cells.length)},i.prepend=function(t){this.insert(t,0)},i.remove=function(t){var i,t=this.getCells(t);t&&t.length&&(i=this.cells.length-1,t.forEach(function(t){t.remove();var e=this.cells.indexOf(t);i=Math.min(e,i),n.removeFrom(this.cells,t)},this),this.cellChange(i,!0))},i.cellSizeChange=function(t){var t=this.getCell(t);t&&(t.getSize(),t=this.cells.indexOf(t),this.cellChange(t))},i.cellChange=function(t,e){var i=this.selectedElement,i=(this._positionCells(t),this._getWrapShiftCells(),this.setGallerySize(),this.getCell(i));i&&(this.selectedIndex=this.getCellSlideIndex(i)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[t]),this.select(this.selectedIndex),e&&this.positionSliderAtSelected()},e}),function(t,i){"function"==typeof define&&define.amd?define("flickity/js/lazyload",["./flickity","fizzy-ui-utils/utils"],function(t,e){return i(0,t,e)}):"object"==typeof module&&module.exports?module.exports=i(0,require("./flickity"),require("fizzy-ui-utils")):i(0,t.Flickity,t.fizzyUIUtils)}(window,function(t,e,o){"use strict";e.createMethods.push("_createLazyload");var i=e.prototype;function n(t,e){this.img=t,this.flickity=e,this.load()}return i._createLazyload=function(){this.on("select",this.lazyLoad)},i.lazyLoad=function(){var e,t=this.options.lazyLoad;t&&(t=this.getAdjacentCellElements("number"==typeof t?t:0),e=[],t.forEach(function(t){t=function(t){if("IMG"==t.nodeName){var e=t.getAttribute("data-flickity-lazyload"),i=t.getAttribute("data-flickity-lazyload-src"),n=t.getAttribute("data-flickity-lazyload-srcset");if(e||i||n)return[t]}e=t.querySelectorAll("img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]");return o.makeArray(e)}(t);e=e.concat(t)}),e.forEach(function(t){new n(t,this)},this))},n.prototype.handleEvent=o.handleEvent,n.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var t=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),e=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=t,e&&this.img.setAttribute("srcset",e),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},n.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},n.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},n.prototype.complete=function(t,e){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var i=this.flickity.getParentCell(this.img),i=i&&i.element;this.flickity.cellSizeChange(i),this.img.classList.add(e),this.flickity.dispatchEvent("lazyLoad",t,i)},e.LazyLoader=n,e}),function(t){"function"==typeof define&&define.amd?define("flickity/js/index",["./flickity","./drag","./prev-next-button","./page-dots","./player","./add-remove-cell","./lazyload"],t):"object"==typeof module&&module.exports&&(module.exports=t(require("./flickity"),require("./drag"),require("./prev-next-button"),require("./page-dots"),require("./player"),require("./add-remove-cell"),require("./lazyload")))}((window,function(t){return t})),function(t,e){"function"==typeof define&&define.amd?define("flickity-as-nav-for/as-nav-for",["flickity/js/index","fizzy-ui-utils/utils"],e):"object"==typeof module&&module.exports?module.exports=e(require("flickity"),require("fizzy-ui-utils")):t.Flickity=e(t.Flickity,t.fizzyUIUtils)}(window,function(i,n){i.createMethods.push("_createAsNavFor");var t=i.prototype;return t._createAsNavFor=function(){this.on("activate",this.activateAsNavFor),this.on("deactivate",this.deactivateAsNavFor),this.on("destroy",this.destroyAsNavFor);var t,e=this.options.asNavFor;e&&(t=this,setTimeout(function(){t.setNavCompanion(e)}))},t.setNavCompanion=function(t){t=n.getQueryElement(t);var e,t=i.data(t);t&&t!=this&&(this.navCompanion=t,(e=this).onNavCompanionSelect=function(){e.navCompanionSelect()},t.on("select",this.onNavCompanionSelect),this.on("staticClick",this.onNavStaticClick),this.navCompanionSelect(!0))},t.navCompanionSelect=function(t){var e,i,n;this.navCompanion&&(e=this.navCompanion.selectedCells[0],e=this.navCompanion.cells.indexOf(e),i=e+this.navCompanion.selectedCells.length-1,n=Math.floor((n=this.navCompanion.cellAlign,(i-e)*n+e)),this.selectCell(n,!1,t),this.removeNavSelectedElements(),n>=this.cells.length||(t=this.cells.slice(e,1+i),this.navSelectedElements=t.map(function(t){return t.element}),this.changeNavSelectedClass("add")))},t.changeNavSelectedClass=function(e){this.navSelectedElements.forEach(function(t){t.classList[e]("is-nav-selected")})},t.activateAsNavFor=function(){this.navCompanionSelect(!0)},t.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},t.onNavStaticClick=function(t,e,i,n){"number"==typeof n&&this.navCompanion.selectCell(n)},t.deactivateAsNavFor=function(){this.removeNavSelectedElements()},t.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},i}),function(e,i){"use strict";"function"==typeof define&&define.amd?define("imagesloaded/imagesloaded",["ev-emitter/ev-emitter"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("ev-emitter")):e.imagesLoaded=i(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){var s=e.jQuery,r=e.console;function a(t,e){for(var i in e)t[i]=e[i];return t}var l=Array.prototype.slice;function c(t,e,i){if(!(this instanceof c))return new c(t,e,i);var n,o=t;(o="string"==typeof t?document.querySelectorAll(t):o)?(this.elements=(n=o,Array.isArray(n)?n:"object"==typeof n&&"number"==typeof n.length?l.call(n):[n]),this.options=a({},this.options),"function"==typeof e?i=e:a(this.options,e),i&&this.on("always",i),this.getImages(),s&&(this.jqDeferred=new s.Deferred),setTimeout(this.check.bind(this))):r.error("Bad element for imagesLoaded "+(o||t))}(c.prototype=Object.create(t.prototype)).options={},c.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},c.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&h[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background)for(var s=t.querySelectorAll(this.options.background),n=0;n<s.length;n++){var r=s[n];this.addElementBackgroundImages(r)}}};var h={1:!0,9:!0,11:!0};function i(t){this.img=t}function n(t,e){this.url=t,this.element=e,this.img=new Image}return c.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},c.prototype.addImage=function(t){t=new i(t);this.images.push(t)},c.prototype.addBackground=function(t,e){t=new n(t,e);this.images.push(t)},c.prototype.check=function(){var n=this;function e(t,e,i){setTimeout(function(){n.progress(t,e,i)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(t){t.once("progress",e),t.check()}):this.complete()},c.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+i,t,e)},c.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(t=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[t](this))},(i.prototype=Object.create(t.prototype)).check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},i.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},(c.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((s=t).fn.imagesLoaded=function(t,e){return new c(this,t,e).jqDeferred.promise(s(this))})})(),c}),function(t,i){"function"==typeof define&&define.amd?define(["flickity/js/index","imagesloaded/imagesloaded"],function(t,e){return i(0,t,e)}):"object"==typeof module&&module.exports?module.exports=i(0,require("flickity"),require("imagesloaded")):t.Flickity=i(0,t.Flickity,t.imagesLoaded)}(window,function(t,e,n){"use strict";e.createMethods.push("_createImagesLoaded");var i=e.prototype;return i._createImagesLoaded=function(){this.on("activate",this.imagesLoaded)},i.imagesLoaded=function(){var i;this.options.imagesLoaded&&n((i=this).slider).on("progress",function(t,e){e=i.getParentCell(e.img),i.cellSizeChange(e&&e.element),i.options.freeScroll||i.positionSliderAtSelected()})},e}),function(t,e){"function"==typeof define&&define.amd?define(["flickity/js/index","fizzy-ui-utils/utils"],e):"object"==typeof module&&module.exports?module.exports=e(require("flickity"),require("fizzy-ui-utils")):e(t.Flickity,t.fizzyUIUtils)}(this,function(t,n){var e=t.Slide,o=e.prototype.updateTarget,e=(e.prototype.updateTarget=function(){var i,n;o.apply(this,arguments),this.parent.options.fade&&(i=this.target-this.x,n=this.cells[0].x,this.cells.forEach(function(t){var e=t.x-n-i;t.renderPosition(e)}))},e.prototype.setOpacity=function(e){this.cells.forEach(function(t){t.element.style.opacity=e})},t.prototype),i=(t.createMethods.push("_createFade"),e._createFade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)},e.updateSlides),s=(e.updateSlides=function(){i.apply(this,arguments),this.options.fade&&this.slides.forEach(function(t,e){e=e==this.selectedIndex?1:0;t.setOpacity(e)},this)},e.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},e.onSettleFade=function(){delete this.didDragEnd,this.options.fade&&(this.selectedSlide.setOpacity(1),this.slides[this.fadeIndex]&&this.fadeIndex!=this.selectedIndex&&this.slides[this.fadeIndex].setOpacity(0))},e.onDragEndFade=function(){this.didDragEnd=!0},e.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},e.onDeactivateFade=function(){this.options.fade&&(this.element.classList.remove("is-fade"),this.slides.forEach(function(t){t.setOpacity("")}))},e.positionSlider),r=(e.positionSlider=function(){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):s.apply(this,arguments)},e.positionSliderAtSelected),a=(e.positionSliderAtSelected=function(){this.options.fade&&this.setTranslateX(0),r.apply(this,arguments)},e.fadeSlides=function(){var t,e,i,n,o;this.slides.length<2||(t=this.getFadeIndexes(),o=this.slides[t.a],e=this.slides[t.b],i=this.wrapDifference(o.target,e.target),n=this.wrapDifference(o.target,-this.x),o.setOpacity(1-(n/=i)),e.setOpacity(n),o=t.a,this.isDragging&&(o=.5<n?t.a:t.b),null!=this.fadeHideIndex&&this.fadeHideIndex!=o&&this.fadeHideIndex!=t.a&&this.fadeHideIndex!=t.b&&this.slides[this.fadeHideIndex].setOpacity(0),this.fadeHideIndex=o)},e.getFadeIndexes=function(){return this.isDragging||this.didDragEnd?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},e.getFadeDragWrapIndexes=function(){var t=this.slides.map(function(t,e){return this.getSlideDistance(-this.x,e)},this),e=t.map(function(t){return Math.abs(t)}),i=Math.min.apply(Math,e),e=e.indexOf(i),i=t[e],t=this.slides.length;return{a:e,b:n.modulo(e+(0<=i?1:-1),t)}},e.getFadeDragLimitIndexes=function(){for(var t=0,e=0;e<this.slides.length-1;e++){var i=this.slides[e];if(-this.x<i.target)break;t=e}return{a:t,b:t+1}},e.wrapDifference=function(t,e){e-=t;if(!this.options.wrapAround)return e;var t=e+this.slideableWidth,i=e-this.slideableWidth;return Math.abs(t)<Math.abs(e)&&(e=t),e=Math.abs(i)<Math.abs(e)?i:e},e._getWrapShiftCells),l=(e._getWrapShiftCells=function(){this.options.fade||a.apply(this,arguments)},e.shiftWrapCells);return e.shiftWrapCells=function(){this.options.fade||l.apply(this,arguments)},t}),function(t){var c=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,s,r;(i=e).prototype.option||(i.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),s=t,r=e,a.fn[s]=function(e){if("string"!=typeof e)return this.each(function(){var t=a.data(this,s);t?(t.option(e),t._init()):(t=new r(this,e),a.data(this,s,t))});for(var t=c.call(arguments,1),i=0,n=this.length;i<n;i++){var o=this[i],o=a.data(o,s);if(o)if("function"!=typeof o[e]||"_"===e.charAt(0))l("no such method '"+e+"' for "+s+" instance");else{o=o[e].apply(o,t);if(void 0!==o)return o}else l("cannot call methods on "+s+" 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 s(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===s(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=s(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,s=t?this.removeListener:this.addListener,r=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)s.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(o=e[n])&&("function"==typeof o?s:r).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,s=this.getListenersAsObject(t);for(o in s)if(s.hasOwnProperty(o))for(n=s[o].length;n--;)!0===(i=s[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(" "),s=document.documentElement.style;function e(t){if(t){if("string"==typeof s[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 s[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(C){function E(t){var e=parseFloat(t);return-1===t.indexOf("%")&&!isNaN(e)&&e}var k="undefined"==typeof console?function(){}:function(t){console.error(t)},P=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];function t(b){var x,T,A,S=!1;return function(t){var e,i;if(S||(S=!0,e=C.getComputedStyle,i=e?function(t){return e(t,null)}:function(t){return t.currentStyle},x=function(t){t=i(t);return t||k("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),t},(T=b("boxSizing"))&&((f=document.createElement("div")).style.width="200px",f.style.padding="1px 2px 3px 4px",f.style.borderStyle="solid",f.style.borderWidth="1px 2px 3px 4px",f.style[T]="border-box",(p=document.body||document.documentElement).appendChild(f),l=x(f),A=200===E(l.width),p.removeChild(f))),(t="string"==typeof t?document.querySelector(t):t)&&"object"==typeof t&&t.nodeType){var n=x(t);if("none"===n.display){for(var o={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},s=0,r=P.length;s<r;s++)o[P[s]]=0;return o}for(var a={},l=(a.width=t.offsetWidth,a.height=t.offsetHeight,a.isBorderBox=!(!T||!n[T]||"border-box"!==n[T])),c=0,h=P.length;c<h;c++){var u=P[c],d=function(t,e){if(C.getComputedStyle||-1===e.indexOf("%"))return e;var i=t.style,n=i.left,o=t.runtimeStyle,s=o&&o.left;s&&(o.left=t.currentStyle.left);i.left=e,e=i.pixelLeft,i.left=n,s&&(o.left=s);return e}(t,n[u]),d=parseFloat(d);a[u]=isNaN(d)?0:d}var p=a.paddingLeft+a.paddingRight,f=a.paddingTop+a.paddingBottom,m=a.marginLeft+a.marginRight,g=a.marginTop+a.marginBottom,y=a.borderLeftWidth+a.borderRightWidth,v=a.borderTopWidth+a.borderBottomWidth,_=l&&A,w=E(n.width),w=(!1!==w&&(a.width=w+(_?0:p+y)),E(n.height));return!1!==w&&(a.height=w+(_?0:f+v)),a.innerWidth=a.width-(p+y),a.innerHeight=a.height-(f+v),a.outerWidth=a.width+m,a.outerHeight=a.height+g,a}}}"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")):C.getSize=t(C.getStyleProperty)}(window),function(e){var i=e.document,n=[];function o(t){"function"==typeof t&&(o.isReady?t():n.push(t))}function s(t){t="readystatechange"===t.type&&"complete"!==i.readyState;o.isReady||t||r()}function r(){o.isReady=!0;for(var t=0,e=n.length;t<e;t++)(0,n[t])()}function t(t){return"complete"===i.readyState?r():(t.bind(i,"DOMContentLoaded",s),t.bind(i,"readystatechange",s),t.bind(e,"load",s)),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 s(t){t.parentNode||document.createDocumentFragment().appendChild(t)}t=i?n(document.createElement("div"),"div")?n:function(t,e){return s(t),n(t,e)}:function(t,e){s(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(u,t,c){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,c(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 s=t[n];if(d.isElement(s))if(e){c(s,e)&&i.push(s);for(var r=s.querySelectorAll(e),a=0,l=r.length;a<l;a++)i.push(r[a])}else i.push(s)}return i},d.debounceMethod=function(t,e,n){var o=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s],e=(t&&clearTimeout(t),arguments),i=this;this[s]=setTimeout(function(){o.apply(i,e),delete i[s]},n||100)}},d.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()},u.console);return d.htmlInit=function(c,h){t(function(){for(var t=d.toDashed(h),e=document.querySelectorAll(".js-"+t),i="data-"+t+"-options",n=0,o=e.length;n<o;n++){var s,r=e[n],a=r.getAttribute(i);try{s=a&&JSON.parse(a)}catch(t){p&&p.error("Error parsing "+i+" on "+r.nodeName.toLowerCase()+(r.id?"#"+r.id:"")+": "+t);continue}var a=new c(r,s),l=u.jQuery;l&&l.data(r,h,a)}})},d}),function(o,s){"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 s(o,t,e,i,n)}):"object"==typeof exports?module.exports=s(o,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils")):(o.Outlayer={},o.Outlayer.Item=s(o,o.EventEmitter,o.getSize,o.getStyleProperty,o.fizzyUIUtils))}(window,function(t,e,i,s,n){"use strict";var o=t.getComputedStyle,r=o?function(t){return o(t,null)}:function(t){return t.currentStyle};var a=s("transition"),t=s("transform"),t=a&&t,l=!!s("perspective"),c={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[a],h=["transform","transition","transitionDuration","transitionProperty"],u=function(){for(var t={},e=0,i=h.length;e<i;e++){var n=h[e],o=s(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[u[e]||e]=t[e]},d.prototype.getPosition=function(){var t=r(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",s=e.isOriginLeft?"right":"left",n=this.position.x+t[n],o=(i[o]=this.getXValue(n),i[s]="",e.isOriginTop?"paddingTop":"paddingBottom"),n=e.isOriginTop?"top":"bottom",s=e.isOriginTop?"bottom":"top",e=this.position.y+t[o];i[n]=this.getYValue(e),i[s]="",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),s=parseInt(e,10),o=o===this.position.x&&s===this.position.y;this.setPosition(t,e),o&&!this.isTransitioning?this.layoutPosition():((s={}).transform=this.getTranslate(t-i,e-n),this.transition({to:s,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,"+(u.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(c,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(c,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(s,r){"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 r(s,t,e,i,n,o)}):"object"==typeof exports?module.exports=r(s,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):s.Outlayer=r(s,s.eventie,s.EventEmitter,s.getSize,s.fizzyUIUtils,s.Outlayer.Item)}(window,function(t,e,i,o,s,n){"use strict";function r(){}var a=t.console,l=t.jQuery,c=0,h={};function u(t,e){var i=s.getQueryElement(t);i?(this.element=i,l&&(this.$element=l(this.element)),this.options=s.extend({},this.constructor.defaults),this.option(e),e=++c,this.element.outlayerGUID=e,(h[e]=this)._create(),this.options.isInitLayout&&this.layout()):a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||t))}return u.namespace="outlayer",u.Item=n,u.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)"}},s.extend(u.prototype,i.prototype),u.prototype.option=function(t){s.extend(this.options,t)},u.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),s.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},u.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},u.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0,s=e.length;o<s;o++){var r=new i(e[o],this);n.push(r)}return n},u.prototype._filterFindItemElements=function(t){return s.filterFindElements(t,this.options.itemSelector)},u.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;e<i;e++)t.push(this.items[e].element);return t},u.prototype._init=u.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},u.prototype._resetLayout=function(){this.getSize()},u.prototype.getSize=function(){this.size=o(this.element)},u.prototype._getMeasurement=function(t,e){var i,n=this.options[t];n?("string"==typeof n?i=this.element.querySelector(n):s.isElement(n)&&(i=n),this[t]=i?o(i)[e]:n):this[t]=0},u.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},u.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},u.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 s=t[n],r=this._getItemLayoutPosition(s);r.item=s,r.isInstant=e||s.isLayoutInstant,i.push(r)}this._processLayoutQueue(i)}},u.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},u.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)}},u.prototype._positionItem=function(t,e,i,n){n?t.goTo(e,i):t.moveTo(e,i)},u.prototype._postLayout=function(){this.resizeContainer()},u.prototype.resizeContainer=function(){var t;!this.options.isResizingContainer||(t=this._getContainerSize())&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))},u.prototype._getContainerSize=r,u.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")},u.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 s=0,r=0,a=e.length;r<a;r++)e[r].once(t,l);else n();function l(){++s===o&&n()}},u.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))},u.prototype.ignore=function(t){t=this.getItem(t);t&&(t.isIgnored=!0)},u.prototype.unignore=function(t){t=this.getItem(t);t&&delete t.isIgnored},u.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)}}},u.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;e<i;e++){var n=t[e];s.removeFrom(this.stamps,n),this.unignore(n)}},u.prototype._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=s.makeArray(t)},u.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)}}},u.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)}},u.prototype._manageStamp=r,u.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}},u.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.prototype.bindResize=function(){this.isResizeBound||(e.bind(t,"resize",this),this.isResizeBound=!0)},u.prototype.unbindResize=function(){this.isResizeBound&&e.unbind(t,"resize",this),this.isResizeBound=!1},u.prototype.onresize=function(){this.resizeTimeout&&clearTimeout(this.resizeTimeout);var t=this;this.resizeTimeout=setTimeout(function(){t.resize(),delete t.resizeTimeout},100)},u.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},u.prototype.needsResizeLayout=function(){var t=o(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},u.prototype.addItems=function(t){t=this._itemize(t);return t.length&&(this.items=this.items.concat(t)),t},u.prototype.appended=function(t){t=this.addItems(t);t.length&&(this.layoutItems(t,!0),this.reveal(t))},u.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))},u.prototype.reveal=function(t){this._emitCompleteOnItems("reveal",t);for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].reveal()},u.prototype.hide=function(t){this._emitCompleteOnItems("hide",t);for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].hide()},u.prototype.revealItemElements=function(t){t=this.getItems(t);this.reveal(t)},u.prototype.hideItemElements=function(t){t=this.getItems(t);this.hide(t)},u.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}},u.prototype.getItems=function(t){for(var e=[],i=0,n=(t=s.makeArray(t)).length;i<n;i++){var o=t[i],o=this.getItem(o);o&&e.push(o)}return e},u.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(),s.removeFrom(this.items,o)}},u.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 h[t],delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},u.data=function(t){t=(t=s.getQueryElement(t))&&t.outlayerGUID;return t&&h[t]},u.create=function(t,e){function i(){u.apply(this,arguments)}return Object.create?i.prototype=Object.create(u.prototype):s.extend(i.prototype,u.prototype),(i.prototype.constructor=i).defaults=s.extend({},u.defaults),s.extend(i.defaults,e),i.prototype.settings={},i.namespace=t,i.data=u.data,(i.Item=function(){n.apply(this,arguments)}).prototype=new n,s.htmlInit(i,t),l&&l.bridget&&l.bridget(t,i),i},u.Item=n,u}),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,s=t.length;o<s;o++){var r=t[o];n.prototype[r]=function(t){return function(){return i.prototype[t].apply(this.isotope,arguments)}}(r)}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},s=i+t.size.outerHeight,r=this.cols+1-e.length,a=0;a<r;a++)this.colYs[n+a]=s;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),s=(o-=n%this.columnWidth?0:1,o=Math.min(this.cols-1,o),(this.options.isOriginTop?t.top:t.bottom)+e.outerHeight),r=i;r<=o;r++)this.colYs[r]=Math.max(s,this.colYs[r])},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,s=t.prototype._getMeasurement,r=t.prototype,a=e.prototype;for(i in a)r[i]=a[i];t.prototype._getElementOffset=n,t.prototype.layout=o,t.prototype._getMeasurement=s;var l=t.prototype.measureColumns,c=(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,c.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(r,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,s){return a(r,t,0,i,n,o,s)}):"object"==typeof exports?module.exports=a(r,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")):r.Isotope=a(r,r.Outlayer,r.getSize,r.matchesSelector,r.fizzyUIUtils,r.Isotope.Item,r.Isotope.LayoutMode)}(window,function(t,n,e,i,s,o,r){var a=t.jQuery,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},c=document.documentElement.textContent?function(t){return t.textContent}:function(t){return t.innerText},h=n.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0}),u=(h.Item=o,h.LayoutMode=r,h.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"],r.modes)this._initLayoutMode(t)},h.prototype.reloadItems=function(){this.itemGUID=0,n.prototype.reloadItems.call(this)},h.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},h.prototype._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?s.extend(e.options,i):i,this.modes[t]=new e(this)},h.prototype.layout=function(){!this._isLayoutInited&&this.options.isInitLayout?this.arrange():this._layout()},h.prototype._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},h.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()},h.prototype._init=h.prototype.arrange,h.prototype._getIsInstant=function(){var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;return this._isInstant=t},h.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()})},h.prototype._filter=function(t){for(var e=this.options.filter,i=[],n=[],o=[],s=this._getFilterTest(e||"*"),r=0,a=t.length;r<a;r++){var l,c=t[r];c.isIgnored||((l=s(c))&&i.push(c),l&&c.isHidden?n.push(c):l||c.isHidden||o.push(c))}return{matches:i,needReveal:n,needHide:o}},h.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)}},h.prototype.updateSortData=function(t){t=t?(t=s.makeArray(t),this.getItems(t)):this.items;this._getSorters(),this._updateItemsSortData(t)},h.prototype._getSorters=function(){var t,e=this.options.getSortData;for(t in e){var i=e[t];this._sorters[t]=u(i)}},h.prototype._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].updateSortData()},function(t){if("string"!=typeof t)return t;var e=l(t).split(" "),i=e[0],n=i.match(/^\[(.+)\]$/),o=function(e,i){var t;t=e?function(t){return t.getAttribute(e)}:function(t){t=t.querySelector(i);return t&&c(t)};return t}(n&&n[1],i),s=h.sortDataParsers[e[1]];return t=s?function(t){return t&&s(o(t))}:function(t){return t&&o(t)}});h.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},h.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],s=t.sortData[o],r=e.sortData[o];if(r<s||s<r)return(r<s?1:-1)*((void 0!==l[o]?l[o]:l)?1:-1)}return 0}),e!=this.sortHistory[0]&&this.sortHistory.unshift(e))},h.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)},h.prototype._resetLayout=function(){n.prototype._resetLayout.call(this),this._mode()._resetLayout()},h.prototype._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},h.prototype._manageStamp=function(t){this._mode()._manageStamp(t)},h.prototype._getContainerSize=function(){return this._mode()._getContainerSize()},h.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()},h.prototype.appended=function(t){var t=this.addItems(t);t.length&&(t=this._filterRevealAdded(t),this.filteredItems=this.filteredItems.concat(t))},h.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))},h.prototype._filterRevealAdded=function(t){t=this._filter(t);return this.hide(t.needHide),this.reveal(t.matches),this.layoutItems(t.matches,!0),t.matches},h.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=h.prototype.remove;return h.prototype.remove=function(t){t=s.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];s.removeFrom(this.filteredItems,o)}},h.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()},h.prototype._noTransition=function(t){var e=this.options.transitionDuration,t=(this.options.transitionDuration=0,t.call(this));return this.options.transitionDuration=e,t},h.prototype.getFilteredItemElements=function(){for(var t=[],e=0,i=this.filteredItems.length;e<i;e++)t.push(this.filteredItems[e].element);return t},h}),function(t){function i(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}function e(t,e){(n(t,e)?s:o)(t,e)}var n,o,s="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)," ")}),r={hasClass:n,addClass:o,removeClass:s,toggleClass:e,has:n,add:o,remove:s,toggle:e};"function"==typeof define&&define.amd?define("classie/classie",r):"object"==typeof exports?module.exports=r:t.classie=r}(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){if(!this.overlaps(t))return!1;var e,i=[],n=this.x+this.width,o=this.y+this.height,s=t.x+t.width,r=t.y+t.height;return this.y<t.y&&(e=new a({x:this.x,y:this.y,width:this.width,height:t.y-this.y}),i.push(e)),s<n&&(e=new a({x:s,y:this.y,width:n-s,height:this.height}),i.push(e)),r<o&&(e=new a({x:this.x,y:r,width:this.width,height:o-r}),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],s=o.getMaximalFreeRects(t);s?e.push.apply(e,s):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 s=0,r=0,a=o.length;r<a;r++){var l=o[r],c=r<e?0:1;n.contains(l)&&(t.splice(r+c-s,1),s++)}}}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"),s=(n.prototype=new e.Item)._create;return n.prototype._create=function(){s.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],s=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=s?(s+=this.layout.gutter,n+=e?this.layout.gutter:0,t=Math.round(t/s),e=this.layout.options.isHorizontal?e?"ceil":"floor":e?"floor":"ceil",e=Math[e](n/s),e-=Math.ceil(o/s)):n-o,t=i?t:Math.min(t,e),t*=s||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(r,n,t,i,e,o){function s(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){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return Math[i&&i<1?"round":"ceil"](t/e)*e},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:s;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)?(r.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,s=this;return function(){return++n!==o||(e&&(r.remove(e.element,"is-positioning-post-drag"),e.isPlacing=!1,e.copyPlaceRectPosition()),s.unstamp(t),s.sortItemsByPosition(),i&&s.emitEvent("dragItemPositioned",[s,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,s=t.prototype._getMeasurement,r=t.prototype,a=e.prototype;for(i in a)r[i]=a[i];t.prototype._getElementOffset=o,t.prototype._getMeasurement=s;var l=t.prototype._resetLayout,c=(t.prototype._resetLayout=function(){this.packer=this.packer||new e.Packer,l.apply(this,arguments)},t.prototype._getItemLayoutPosition),h=(t.prototype._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,c.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,h.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 u(t,e,i,n){var o,s,r=t.match(n.settings.extension),r=null!=r?r[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}(s=t,n),t=s.substring(0,s.length-o.length),t+=(s=n,((n=(o=i)<(n=e)?n:o)<=100?s.settings.sizeRangeSuffixes.lt100:n<=240?s.settings.sizeRangeSuffixes.lt240:n<=320?s.settings.sizeRangeSuffixes.lt320:n<=500?s.settings.sizeRangeSuffixes.lt500:n<=640?s.settings.sizeRangeSuffixes.lt640:s.settings.sizeRangeSuffixes.lt1024)+r)}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 y(t){var e=t.find("> img");return e=0===e.length?t.find("> a > img"):e}function v(t){t.lastAnalyzedIndex=-1,t.buildingRow.entriesBuff=[],t.buildingRow.aspectRatio=0,t.buildingRow.width=0,t.offY=t.border}function h(t,e){var i,n,o=t.settings,s=t.border,r=function(t,e){var i,n,o,s,r,a=t.settings,l=!0,c=0,h=t.galleryWidth-2*t.border-(t.buildingRow.entriesBuff.length-1)*a.margins,u=h/t.buildingRow.aspectRatio,d=t.buildingRow.width/h>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++)r=(o=y(t.buildingRow.entriesBuff[i])).data("jg.imgw")/o.data("jg.imgh"),r=l?(s=i===t.buildingRow.entriesBuff.length-1?h:u*r,u):(s=a.rowHeight*r,a.rowHeight),h-=Math.round(s),o.data("jg.jimgw",Math.round(s)),o.data("jg.jimgh",Math.ceil(r)),(0===i||r<c)&&(c=r);return{minHeight:c=a.fixedHeight&&c>a.rowHeight?a.rowHeight:c,justify:l}}(t,e),a=r.minHeight;if(e&&"hide"===o.lastRow&&-1===a)return t.buildingRow.entriesBuff=[],t.buildingRow.aspectRatio=0,void(t.buildingRow.width=0);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=y(i=t.buildingRow.entriesBuff[l]),function(t,e,i,n,o,s,r){var a=y(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(s),t.css("top",i),t.css("left",e),a.attr("src")),c=u(l,n,o,r);function h(){l!==c&&a.attr("src",c)}a.one("error",function(){a.attr("src",a.data("jg.originalSrc"))}),"skipped"===a.data("jg.loaded")?b(l,function(){g(t,h,r),a.data("jg.loaded",!0)}):g(t,h,r),s=t.data("jg.captionMouseEvents"),!0===r.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&&(r.settings.cssAnimation||i.stop().fadeTo(r.settings.imagesAnimationDuration,r.settings.captionSettings.nonVisibleOpacity),void 0===s&&(t.on("mouseenter",void 0,r,(s={mouseenter:d,mouseleave:p}).mouseenter),t.on("mouseleave",void 0,r,s.mouseleave),t.data("jg.captionMouseEvents",s)))):void 0!==s&&(t.off("mouseenter",void 0,r,s.mouseenter),t.off("mouseleave",void 0,r,s.mouseleave),t.removeData("jg.captionMouseEvents"))}(i,s,t.offY,n.data("jg.jimgw"),n.data("jg.jimgh"),a,t),s+=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&&r.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 s=x(t.entries[o]),r=y(s);if(!0===r.data("jg.loaded")||"skipped"===r.data("jg.loaded")){var a=o>=t.entries.length-1,l=t.galleryWidth-2*t.border-(t.buildingRow.entriesBuff.length-1)*n.margins,c=r.data("jg.imgw")/r.data("jg.imgh");if(l/(t.buildingRow.aspectRatio+c)<n.rowHeight&&(h(t,a),++t.yield.flushed>=t.yield.every))return void w(t,e);t.buildingRow.entriesBuff.push(s),t.buildingRow.aspectRatio+=c,t.buildingRow.width+=c*n.rowHeight,t.lastAnalyzedIndex=o}else if("error"!==r.data("jg.loaded"))return}0<t.buildingRow.entriesBuff.length&&h(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,r,a,n,l=x(e);if(l.addClass("justified-gallery"),void 0===(c=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),s=0<=o.border?o.border:o.margins,c={settings:o,imgAnalyzerTimeout:null,entries:null,buildingRow:{entriesBuff:[],width:0,aspectRatio:0},lastAnalyzedIndex:-1,yield:{every:2,flushed:0},border:s,offY:s,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",c)}else if("norewind"===f)for(var h=0;h<c.buildingRow.entriesBuff.length;h++)i=c.buildingRow.entriesBuff[h],c.settings.cssAnimation?i.removeClass("entry-visible"):i.stop().fadeTo(0,0);else c.settings=x.extend({},c.settings,f),c.border=0<=c.settings.border?c.settings.border:c.settings.margins,v(c);var u=c.settings;function d(t){if("string"!=typeof u.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 u.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(u,"rowHeight"),p(u,"maxRowHeight"),0<u.maxRowHeight&&u.maxRowHeight<u.rowHeight&&(u.maxRowHeight=u.rowHeight),p(u,"margins"),p(u,"border"),"nojustify"!==u.lastRow&&"justify"!==u.lastRow&&"hide"!==u.lastRow)throw'lastRow must be "nojustify", "justify" or "hide"';if(p(u,"justifyThreshold"),u.justifyThreshold<0||1<u.justifyThreshold)throw"justifyThreshold must be in the interval [0,1]";if("boolean"!=typeof u.cssAnimation)throw"cssAnimation must be a boolean";if(p(u.captionSettings,"animationDuration"),p(u,"imagesAnimationDuration"),p(u.captionSettings,"visibleOpacity"),u.captionSettings.visibleOpacity<0||1<u.captionSettings.visibleOpacity)throw"captionSettings.visibleOpacity must be in the interval [0, 1]";if(p(u.captionSettings,"nonVisibleOpacity"),u.captionSettings.visibleOpacity<0||1<u.captionSettings.visibleOpacity)throw"captionSettings.nonVisibleOpacity must be in the interval [0, 1]";if("boolean"!=typeof u.fixedHeight)throw"fixedHeight must be a boolean";if("boolean"!=typeof u.captions)throw"captions must be a boolean";if(p(u,"refreshTime"),"boolean"!=typeof u.randomize)throw"randomize must be a boolean";c.entries=l.find("> a, > div:not(.spinner)").toArray(),0!==c.entries.length&&(c.settings.randomize&&(c.entries.sort(function(){return 2*Math.random()-1}),x.each(c.entries,function(){x(this).appendTo(l)})),a=r=!1,x.each(c.entries,function(t,e){var i,e=x(e),n=y(e);if(e.addClass("jg-entry"),!0!==n.data("jg.loaded")&&"skipped"!==n.data("jg.loaded")){null!==c.settings.rel&&e.attr("rel",c.settings.rel),null!==c.settings.target&&e.attr("target",c.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)),s=parseInt(n.attr("height"),10);if(!0!==c.settings.waitThumbnailsLoad&&!isNaN(o)&&!isNaN(s))return n.data("jg.imgw",o),n.data("jg.imgh",s),n.data("jg.loaded","skipped"),w(c,!(a=!0)),!0;n.data("jg.loaded",!1),!(r=!0)===c.spinner.active&&(c.spinner.active=!0,l.append(c.spinner.$el),l.height(c.offY+c.spinner.$el.innerHeight()),i=c.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(c,!1)},function(){n.data("jg.loaded","error"),w(c,!1)})}}),r||a||w(c,!1),(n=c).checkWidthIntervalId=setInterval(function(){var t=parseInt(n.$gallery.width(),10);n.galleryWidth!==t&&(n.galleryWidth=t,v(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 c(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 F=Object.create||function(t){return B.prototype=t,new B};function B(){}function a(t,e){var i=Array.prototype.slice;if(t.bind)return t.bind.apply(t,i.call(arguments,1));var n=i.call(arguments,2);return function(){return t.apply(e,n.length?n.concat(i.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,s=function(){n=!1,o&&(r.apply(i,o),o=!1)},r=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(s,e),n=!0)};return r}function $(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 h(){return!1}function i(t,e){if(!1===e)return t;e=Math.pow(10,void 0===e?6:e);return Math.round(t*e)/e}function W(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function H(t){return W(t).split(/\s+/)}function u(t,e){for(var i in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?F(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 Z=/\{ *([\w_ -]+) *\}/g;function U(t,i){return t.replace(Z,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 G(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}var V="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 r(t){t&&J.call(window,t)}var tt={__proto__:null,extend:c,create:F,bind:a,get lastId(){return N},stamp:l,throttle:j,wrapNum:$,falseFn:h,formatNum:i,trim:W,splitWords:H,setOptions:u,getParamString:q,template:U,isArray:d,indexOf:G,emptyImageUrl:V,requestFn:Q,cancelFn:J,requestAnimFrame:w,cancelAnimFrame:r};function et(){}et.extend=function(t){function e(){u(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var i,n=e.__super__=this.prototype,o=F(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&&c(e,t.statics),t.includes){var s=t.includes;if("undefined"!=typeof L&&L&&L.Mixin){s=d(s)?s:[s];for(var r=0;r<s.length;r++)s[r]===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)}c.apply(null,[o].concat(t.includes))}return c(o,t),delete o.statics,delete o.includes,o.options&&(o.options=n.options?F(n.options):{},c(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 c(this.prototype,t),t.options&&(this.prototype.options=e,this.mergeOptions(t.options)),this},et.mergeOptions=function(t){return c(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,s=(t=H(t)).length;o<s;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=H(t);for(var o=1===arguments.length,s=0,r=t.length;s<r;s++)o?this._off(t[s]):this._off(t[s],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,s=0,r=o.length;s<r;s++)if(o[s].fn===e&&o[s].ctx===i)return;o.push(t)}},_off:function(t,e,i){var n,o,s;if(this._events&&(n=this._events[t]))if(1===arguments.length){if(this._firingCount)for(o=0,s=n.length;o<s;o++)n[o].fn=h;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,s=n.length;o<s;o++){var r=n[o];if(r.ctx===i&&r.fn===e)return this._firingCount&&(r.fn=h,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))return this;var n=c({},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 s=0,r=o.length;s<r;s++){var a=o[s];a.fn.call(a.ctx||this,n)}this._firingCount--}}return i&&this._propagateEvent(n),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,c({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 s(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function y(t,e){return t instanceof s?t:new s(t,e)}function v(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 v?t:d(t)&&"object"!=typeof t[0]?3===t.length?new v(t[0],t[1],t[2]):2===t.length?new v(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new v(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new v(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)}},s.prototype={extend:function(t){var e,i,n=this._southWest,o=this._northEast;if(t instanceof v)i=e=t;else{if(!(t instanceof s))return t?this.extend(b(t)||y(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 v(e.lat,e.lng),this._northEast=new v(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 s(new v(e.lat-n,e.lng-t),new v(i.lat+n,i.lng+t))},getCenter:function(){return new v((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 v(this.getNorth(),this.getWest())},getSouthEast:function(){return new v(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 v||"lat"in t?b:y)(t);var e,i,n=this._southWest,o=this._northEast;return t instanceof s?(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=y(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=y(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=y(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){if(this.infinite)return null;var e=this.projection.bounds,t=this.scale(t);return new m(this.transformation.transform(e.min,t),this.transformation.transform(e.max,t))},infinite:!(v.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 st.distance(this,b(t))},wrap:function(){return st.wrapLatLng(this)},toBounds:function(t){var t=180*t/40075017,e=t/Math.cos(Math.PI/180*this.lat);return y([this.lat-t,this.lng-e],[this.lat+t,this.lng+e])},clone:function(){return new v(this.lat,this.lng,this.alt)}}),wrapLatLng:function(t){var e=this.wrapLng?$(t.lng,this.wrapLng,!0):t.lng;return new v(this.wrapLat?$(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;if(0==n&&0==e)return t;i=t.getSouthWest(),t=t.getNorthEast();return new s(new v(i.lat-n,i.lng-e),new v(t.lat-n,t.lng-e))}},st=c({},ot,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,s=Math.sin((e.lat-t.lat)*i/2),e=Math.sin((e.lng-t.lng)*i/2),t=s*s+Math.cos(n)*Math.cos(o)*e*e,i=2*Math.atan2(Math.sqrt(t),Math.sqrt(1-t));return this.R*i}}),rt={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 v((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:new m([-(rt=6378137*Math.PI),-rt],[rt,rt])};function at(t,e,i,n){if(d(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(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 ct=c({},st,{code:"EPSG:3857",projection:rt,transformation:lt(ct=.5/(Math.PI*rt.R),.5,-ct,.5)}),ht=c({},ct,{code:"EPSG:900913"});function ut(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function dt(t,e){for(var i,n,o,s,r="",a=0,l=t.length;a<l;a++){for(i=0,n=(o=t[a]).length;i<n;i++)r+=(i?"L":"M")+(s=o[i]).x+" "+s.y;r+=e?x.svg?"z":"x":""}return r||"M0 0"}var pt=document.documentElement.style,ft="ActiveXObject"in window,mt=ft&&!document.addEventListener,n="msLaunchUri"in navigator&&!("documentMode"in document),gt=_("webkit"),yt=_("android"),vt=_("android 2")||_("android 3"),_t=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),_t=yt&&_("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"),Ct=ft&&"transition"in pt,Et="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!vt,pt="MozPerspective"in pt,kt=!window.L_DISABLE_3D&&(Ct||Et||pt)&&!o&&!At,Pt="undefined"!=typeof orientation||_("mobile"),Mt=Pt&>,zt=Pt&&Et,Lt=!window.PointerEvent&&window.MSPointerEvent,It=!(!window.PointerEvent&&!Lt),Ot="ontouchstart"in window||!!window.TouchEvent,Dt=!window.L_NO_TOUCH&&(Ot||It),Rt=Pt&&wt,Ft=Pt&&xt,Bt=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",h,e),window.removeEventListener("testPassiveEventSupport",h,e)}catch(t){}return t}(),jt=!!document.createElement("canvas").getContext,$t=!(!document.createElementNS||!ut("svg").createSVGRect),Wt=!!$t&&((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:yt,android23:vt,androidStock:_t,opera:wt,chrome:bt,gecko:xt,safari:Tt,phantom:At,opera12:o,win:St,ie3d:Ct,webkit3d:Et,gecko3d:pt,any3d:kt,mobile:Pt,mobileWebkit:Mt,mobileWebkit3d:zt,msPointer:Lt,pointer:It,touch:Dt,touchNative:Ot,mobileOpera:Rt,mobileGecko:Ft,retina:Bt,passiveEvents:Nt,canvas:jt,svg:$t,vml:!$t&&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},Ht=x.msPointer?"MSPointerDown":"pointerdown",qt=x.msPointer?"MSPointerMove":"pointermove",Zt=x.msPointer?"MSPointerUp":"pointerup",Ut=x.msPointer?"MSPointerCancel":"pointercancel",Gt={touchstart:Ht,touchmove:qt,touchend:Zt,touchcancel:Ut},Vt={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(Ht,Qt,!0),document.addEventListener(qt,Jt,!0),document.addEventListener(Zt,te,!0),document.addEventListener(Ut,te,!0),Xt=!0),Vt[e]?(i=Vt[e].bind(this,i),t.addEventListener(Gt[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,se,re,ae,le,ce,he=be(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ue=be(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),de="webkitTransition"===ue||"OTransition"===ue?ue+"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 ye(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ve(t,e){if(void 0!==t.classList)return t.classList.contains(e);t=we(t);return 0<t.length&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t)}function S(t,e){var i;if(void 0!==t.classList)for(var n=H(e),o=0,s=n.length;o<s;o++)t.classList.add(n[o]);else ve(t,e)||_e(t,((i=we(t))?i+" ":"")+e)}function C(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 E(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[he]=(x.ie3d?"translate("+e.x+"px,"+e.y+"px)":"translate3d("+e.x+"px,"+e.y+"px,0)")+(i?" scale("+i+")":"")}function k(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(){z(window,"dragstart",I)}function Ce(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(Ee(),ce=(le=t).style.outline,t.style.outline="none",P(window,"keydown",Ee))}function Ee(){le&&(le.style.outline=ce,ce=le=void 0,z(window,"keydown",Ee))}function ke(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?(re=function(){P(window,"selectstart",I)},function(){z(window,"selectstart",I)}):(se=be(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]),re=function(){var t;se&&(t=document.documentElement.style,oe=t[se],t[se]="none")},function(){se&&(document.documentElement.style[se]=oe,oe=void 0)});ft={__proto__:null,TRANSFORM:he,TRANSITION:ue,TRANSITION_END:de,get:pe,getStyle:fe,create:T,remove:A,empty:me,toFront:ge,toBack:ye,hasClass:ve,addClass:S,removeClass:C,setClass:_e,getClass:we,setOpacity:E,testProp:be,setTransform:xe,setPosition:k,getPosition:Te,get disableTextSelection(){return re},get enableTextSelection(){return ae},disableImageDrag:Ae,enableImageDrag:Se,preventOutline:Ce,restoreOutline:Ee,getSizedParentNode:ke,getScale:Pe};function P(t,e,i,n){if(e&&"object"==typeof e)for(var o in e)Le(t,o,e[o],i);else for(var s=0,r=(e=H(e)).length;s<r;s++)Le(t,e[s],i,n);return this}var M="_leaflet_events";function z(t,e,i,n){if(1===arguments.length)Me(t),delete t[M];else if(e&&"object"==typeof e)for(var o in e)Ie(t,o,e[o],i);else if(e=H(e),2===arguments.length)Me(t,function(t){return-1!==G(e,t)});else for(var s=0,r=e.length;s<r;s++)Ie(t,e[s],i,n);return this}function Me(t,e){for(var i in t[M]){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 Le(e,t,i,n){var o,s,r=t+l(i)+(n?"_"+l(n):"");e[M]&&e[M][r]||(s=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,$e(e,t)&&s(t)},!1):e.addEventListener(t,s,!1):e.attachEvent("on"+t,o),e[M]=e[M]||{},e[M][r]=o)}function Ie(t,e,i,n,o){o=o||e+l(i)+(n?"_"+l(n):"");var s,r,i=t[M]&&t[M][o];i&&(!x.touchNative&&x.pointer&&0===e.indexOf("touch")?(n=t,r=i,Gt[s=e]?n.removeEventListener(Gt[s],r,!1):console.warn("wrong event specified:",s)):x.touch&&"dblclick"===e?(n=i,(r=t).removeEventListener("dblclick",n.dblclick),r.removeEventListener("click",n.simDblclick)):"removeEventListener"in t?t.removeEventListener(ze[e]||e,i,!1):t.detachEvent("on"+e,i),t[M][o]=null)}function Oe(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function De(t){return Le(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 Fe(t){return I(t),Oe(t),this}function Be(t,e){if(!e)return new f(t.clientX,t.clientY);var i=Pe(e),n=i.boundingClientRect;return new f((t.clientX-n.left)/i.x-e.clientLeft,(t.clientY-n.top)/i.y-e.clientTop)}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 $e(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:z,stopPropagation:Oe,disableScrollPropagation:De,disableClickPropagation:Re,preventDefault:I,stop:Fe,getMousePosition:Be,getWheelDelta:je,isExternalTarget:$e,addListener:P,removeListener:z},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(),k(this._el,t),this.fire("step")},_complete:function(){r(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),O=it.extend({options:{crs:ct,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=u(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=ue&&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=c({animate:i.animate},i.zoom),i.pan=c({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():y(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));if((o="number"==typeof e.maxZoom?Math.min(e.maxZoom,o):o)===1/0)return{center:t.getCenter(),zoom:o};e=n.subtract(i).divideBy(2),n=this.project(t.getSouthWest(),o),i=this.project(t.getNorthEast(),o);return{center:this.unproject(n.add(i).divideBy(2).add(e),o),zoom:o}},fitBounds:function(t,e){if(!(t=y(t)).isValid())throw new Error("Bounds are not valid.");t=this._getBoundsCenterZoom(t,e);return this.setView(t.center,t.zoom,e)},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){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");var i},flyTo:function(n,o,t){if(!1===(t=t||{}).animate||!x.any3d)return this.setView(n,o,t);this._stop();var s=this.project(this.getCenter()),r=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),c=r.distanceTo(s)||1,h=1.42,u=h*h;function d(t){t=(i*i-l*l+(t?-1:1)*u*u*c*c)/(2*(t?i:l)*u*c),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+h*t)/f(t))-p(m))/u}var y=Date.now(),v=(d(1)-m)/h,_=t.duration?1e3*t.duration:1e3*v*.8;return this._moveStart(!0,t.noMoveStart),function t(){var e=(Date.now()-y)/_,i=(1-Math.pow(1-e,1.5))*v;e<=1?(this._flyToFrame=w(t,this),this._move(this.unproject(s.add(r.subtract(s).multiplyBy(g(i)/c)),a),this.getScaleZoom(l/(e=i,l*(f(m)/f(m+h*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=y(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,y(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),s=this.getPixelBounds(),i=g([s.min.add(i),s.max.subtract(n)]),s=i.getSize();return i.contains(t)||(this._enforcingBounds=!0,n=t.subtract(i.getCenter()),i=i.extend(t).getSize().subtract(s),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=c({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){if(t=this._locateOptions=c({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=a(this._handleGeolocationResponse,this),i=a(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,i,t):navigator.geolocation.getCurrentPosition(e,i,t),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 v(t.coords.latitude,t.coords.longitude),o=n.toBounds(2*t.coords.accuracy),s=this._locateOptions,r=(s.setView&&(e=this.getBoundsZoom(o),this.setView(n,s.maxZoom?Math.min(e,s.maxZoom):e)),{latlng:n,bounds:o,timestamp:t.timestamp});for(i in t.coords)"number"==typeof t.coords[i]&&(r[i]=t.coords[i]);this.fire("locationfound",r)}},addHandler:function(t,e){if(!e)return this;e=this[t]=new e(this);return 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&&(r(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 s(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=y(t),i=p(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),t=t.getSouthEast(),i=this.getSize().subtract(i),t=g(this.project(t,n),this.project(r,n)).getSize(),r=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 r&&(n=Math.round(n/(r/100))*(r/100),n=e?Math.ceil(n/r)*r:Math.floor(n/r)*r),Math.max(o,Math.min(s,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(y(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 Be(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),k(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){k(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 r(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){k(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?z: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(){r(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,s=t.target||t.srcElement,r=!1;s;){if((i=this._targets[l(s)])&&("click"===e||"preclick"===e)&&this._draggableMoved(i)){r=!0;break}if(i&&i.listens(e,!0)){if(o&&!$e(s,t))break;if(n.push(i),o)break}if(s===this._container)break;s=s.parentNode}return n=n.length||r||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)&&Ce(i),this._fireDOMEvent(t,e))},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,i){"click"===t.type&&((a=c({},t)).type="preclick",this._fireDOMEvent(a,a.type,i));var n=this._findEventTargets(t,e);if(i){for(var o=[],s=0;s<i.length;s++)i[s].listens(e,!0)&&o.push(i[s]);n=o.concat(n)}if(n.length){"contextmenu"===e&&I(t);var r,a=n[0],l={originalEvent:t};for("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type&&(r=a.getLatLng&&(!a._radius||a._radius<=10),l.containerPoint=r?this.latLngToContainerPoint(a.getLatLng()):this.mouseEventToContainerPoint(t),l.layerPoint=this.containerPointToLayerPoint(l.containerPoint),l.latlng=r?a.getLatLng():this.layerPointToLatLng(l.layerPoint)),s=0;s<n.length;s++)if(n[s].fire(e,l,!0),l.originalEvent._stopped||!1===n[s].options.bubblingMouseEvents&&-1!==G(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){if(!i)return t;var 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);return o.round().equals([0,0])?t:this.unproject(n.add(o),e)},_limitOffset:function(t,e){if(!e)return t;var i=this.getPixelBounds(),i=new m(i.min.add(t),i.max.add(t));return t.add(this._getBoundsOffset(i,e))},_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(){C(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=he,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)return!0;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);return!(!0!==i.animate&&!this.getSize().contains(n))&&(w(function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)},this),!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&&C(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 He(t){return new D(t)}var qe,D=et.extend({options:{position:"topright"},initialize:function(t){u(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()}}),Ze=(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 u(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"):C(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return C(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(){z(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)return this;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;return this.options.hideSingleBase&&(this._baseLayersList.style.display=(t=t&&1<n)?"":"none"),this._separator.style.display=e&&t?"":"none",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 s=i.length-1;0<=s;s--)t=i[s],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(s=0;s<o.length;s++)this._map.hasLayer(o[s])&&this._map.removeLayer(o[s]);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])||this._map.addLayer(n[s]);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}})),Ue=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",Fe),P(i,"click",o,this),P(i,"click",this._refocusOnMap,this),i},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";C(this._zoomInButton,e),C(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"))}}),Ge=(O.mergeOptions({zoomControl:!0}),O.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Ue,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*(t=10<=t?10:5<=t?5:3<=t?3:2<=t?2:1)}})),Ve=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){u(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 Ve).addTo(this)}),D.Layers=Ze,D.Zoom=Ue,D.Scale=Ge,D.Attribution=Ve,He.layers=function(t,e,i){return new Ze(t,e,i)},He.zoom=function(t){return new Ue(t)},He.scale=function(t){return new Ge(t)},He.attribution=function(t){return new Ve(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){u(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),z(this._dragStartTarget,Ye,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){var e,i;this._enabled&&(this._moved=!1,ve(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&&Ce(this._element),Ae(),re(),this._moving||(this.fire("down"),i=t.touches?t.touches[0]:t,e=ke(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),k(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){C(document.body,"leaflet-dragging"),this._lastTarget&&(C(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),z(document,"mousemove touchmove",this._onMove,this),z(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)return t.slice();e*=e;return t=function(t,e){var i=t.length,n=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(i);n[0]=n[i-1]=1,function t(e,i,n,o,s){var r,a,l,c=0;for(a=o+1;a<=s-1;a++)l=ii(e[a],e[o],e[s],!0),c<l&&(r=a,c=l);n<c&&(i[r]=1,t(e,i,n,o,r),t(e,i,n,r,s))}(t,n,e,0,i-1);var o,s=[];for(o=0;o<i;o++)n[o]&&s.push(t[o]);return s}(t=function(t,e){for(var i=[t[0]],n=1,o=0,s=t.length;n<s;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<s-1&&i.push(t[s-1]);return i}(t,e),e)}function Qe(t,e,i){return Math.sqrt(ii(t,e,i,!0))}function Je(t,e,i,n,o){var s,r,a,l=n?qe:ei(t,i),c=ei(e,i);for(qe=c;;){if(!(l|c))return[t,e];if(l&c)return!1;a=ei(r=ti(t,e,s=l||c,i,o),i),s===l?(t=r,l=a):(e=r,c=a)}}function ti(t,e,i,n,o){var s,r,a=e.x-t.x,e=e.y-t.y,l=n.min,n=n.max;return 8&i?(s=t.x+a*(n.y-t.y)/e,r=n.y):4&i?(s=t.x+a*(l.y-t.y)/e,r=l.y):2&i?(s=n.x,r=t.y+e*(n.x-t.x)/a):1&i&&(s=l.x,r=t.y+e*(l.x-t.x)/a),new f(s,r,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,s=i.x-o,r=i.y-e,a=s*s+r*r;return 0<a&&(1<(a=((t.x-o)*s+(t.y-e)*r)/a)?(o=i.x,e=i.y):0<a&&(o+=s*a,e+=r*a)),s=t.x-o,r=t.y-e,n?s*s+r*r: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)}yt={__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 si(t,e,i){for(var n,o,s,r,a,l,c,h=[1,4,2,8],u=0,d=t.length;u<d;u++)t[u]._code=ei(t[u],e);for(s=0;s<4;s++){for(l=h[s],n=[],u=0,o=(d=t.length)-1;u<d;o=u++)r=t[u],a=t[o],r._code&l?a._code&l||((c=ti(a,r,l,e,i))._code=ei(c,e),n.push(c)):(a._code&l&&((c=ti(a,r,l,e,i))._code=ei(c,e),n.push(c)),n.push(r));t=n}return t}var vt={__proto__:null,clipPolygon:si},_t={project:function(t){return new f(t.lng,t.lat)},unproject:function(t){return new v(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),s=o*Math.sin(n),s=Math.tan(Math.PI/4-n/2)/Math.pow((1-s)/(1+s),o/2),n=-i*Math.log(Math.max(s,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,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(r),l=0,c=.1;l<15&&1e-7<Math.abs(c);l++)e=s*Math.sin(a),e=Math.pow((1-e)/(1+e),s/2),a+=c=Math.PI/2-2*Math.atan(r*e)-a;return new v(a*i,t.x*i/n)}},bt={__proto__:null,LonLat:_t,Mercator:wt,SphericalMercator:rt},Tt=c({},st,{code:"EPSG:3395",projection:wt,transformation:lt(xt=.5/(Math.PI*wt.R),.5,-xt,.5)}),ri=c({},st,{code:"EPSG:4326",projection:_t,transformation:lt(1/180,1,-1/180,.5)}),At=c({},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=st,ot.EPSG3395=Tt,ot.EPSG3857=ct,ot.EPSG900913=ht,ot.EPSG4326=ri,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){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=l(t);return this._layers[e]||((this._layers[e]=t)._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},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(u(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 s;for(t in this._layers){var i=this._layers[t];e.extend(i.getBounds?i.getBounds():i.getLatLng())}return e}}),ci=et.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){u(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){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}i=this._createImg(i,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(i,t),!this.options.crossOrigin&&""!==this.options.crossOrigin||(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i},_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 hi=ci.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 hi.imagePath&&(hi.imagePath=this._detectIconPath()),(this.options.imagePath||hi.imagePath)+ci.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");if(document.body.removeChild(t),e=this._stripUrl(e))return e;t=document.querySelector('link[href$="leaflet.css"]');return t?t.href.substring(0,t.href.length-"leaflet.css".length-1):""}}),ui=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&&C(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,s=Te(e._icon),r=i.getPixelBounds(),a=i.getPixelOrigin(),a=g(r.min._subtract(a).add(o),r.max._subtract(a).subtract(o));a.contains(s)||(o=p((Math.max(a.max.x,s.x)-a.max.x)/(r.max.x-a.max.x)-(Math.min(a.min.x,s.x)-a.min.x)/(r.min.x-a.min.x),(Math.max(a.max.y,s.y)-a.max.y)/(r.max.y-a.max.y)-(Math.min(a.min.y,s.y)-a.min.y)/(r.min.y-a.min.y)).multiplyBy(n),i.panBy(o,{animate:!1}),this._draggable._newPos._add(o),this._draggable._startPos._add(o),k(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&&(r(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&&k(i,n),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){r(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),di=o.extend({options:{icon:new hi,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){u(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&&z(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&&k(this._icon,t),this._shadow&&k(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),ui&&(t=this.options.draggable,this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new ui(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&&E(this._icon,t),this._shadow&&E(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 u(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){u(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(u(this,e="number"==typeof e?c({},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 s(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,s=this._latlng.lng,r=this._latlng.lat,a=this._map,l=a.options.crs;l.distance===st.distance?(n=Math.PI/180,o=this._mRadius/st.R/n,t=a.project([r+o,s]),e=a.project([r-o,s]),e=t.add(e).divideBy(2),i=a.unproject(e).lat,n=Math.acos((Math.cos(o*n)-Math.sin(r*n)*Math.sin(i*n))/(Math.cos(r*n)*Math.cos(i*n)))/n,!isNaN(n)&&0!==n||(n=o/Math.cos(Math.PI/180*r)),this._point=e.subtract(a.getPixelOrigin()),this._radius=isNaN(n)?0:e.x-a.project([i,s-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){u(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,s=this._parts.length;o<s;o++)for(var r=this._parts[o],a=1,l=r.length;a<l;a++){var c,h,u=n(t,c=r[a-1],h=r[a],!0);u<e&&(e=u,i=n(t,c,h))}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,s,r=this._rings[0],a=r.length;if(!a)return null;for(e=t=0;t<a-1;t++)e+=r[t].distanceTo(r[t+1])/2;if(0===e)return this._map.layerPointToLatLng(r[0]);for(i=t=0;t<a-1;t++)if(n=r[t],o=r[t+1],e<(i+=s=n.distanceTo(o)))return this._map.layerPointToLatLng([o.x-(s=(i-e)/s)*(o.x-n.x),o.y-s*(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 s,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,s=t[0]instanceof v,r=t.length;if(s){for(o=[],n=0;n<r;n++)o[n]=this._map.latLngToLayerPoint(t[n]),i.extend(o[n]);e.push(o)}else for(n=0;n<r;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,s=this._parts,r=0,a=0,l=this._rings.length;r<l;r++)for(e=0,i=(o=this._rings[r]).length;e<i-1;e++)(n=Je(o[e],o[e+1],t,e,!0))&&(s[a]=s[a]||[],s[a].push(n[0]),n[1]===o[e+1]&&e!==i-2||(s[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,s,r,a,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(i=0,s=this._parts.length;i<s;i++)for(n=0,o=(r=(a=this._parts[i]).length)-1;n<r;o=n++)if((e||0!==n)&&Qe(t,a[o],a[n])<=l)return!0;return!1}});gi._flat=oi;var yi=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,s,r,a,l,c=this._rings[0],h=c.length;if(!h)return null;for(t=s=r=a=0,e=h-1;t<h;e=t++)i=c[t],n=c[e],o=i.y*n.x-n.y*i.x,r+=(i.x+n.x)*o,a+=(i.y+n.y)*o,s+=3*o;return l=0===s?c[0]:[r/s,a/s],this._map.layerPointToLatLng(l)},_convertLatLngs:function(t){var t=gi.prototype._convertLatLngs.call(this,t),e=t.length;return 2<=e&&t[0]instanceof v&&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=si(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,s,r,a,l,c=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,a=this._parts.length;o<a;o++)for(s=0,r=(l=(e=this._parts[o]).length)-1;s<l;r=s++)i=e[s],n=e[r],i.y>t.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(c=!c);return c||gi.prototype._containsPoint.call(this,t,!0)}});var vi=li.extend({initialize:function(t,e){u(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 s=this.options;if(s.filter&&!s.filter(t))return this;var r=_i(t,s);return r?(r.feature=Ci(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=c({},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,s,r="Feature"===t.type?t.geometry:t,a=r?r.coordinates:null,l=[],c=e&&e.pointToLayer,h=e&&e.coordsToLatLng||bi;if(!a&&!r)return null;switch(r.type){case"Point":return wi(c,t,i=h(a),e);case"MultiPoint":for(o=0,s=a.length;o<s;o++)i=h(a[o]),l.push(wi(c,t,i,e));return new li(l);case"LineString":case"MultiLineString":return n=xi(a,"LineString"===r.type?0:1,h),new gi(n,e);case"Polygon":case"MultiPolygon":return n=xi(a,"Polygon"===r.type?1:2,h),new yi(n,e);case"GeometryCollection":for(o=0,s=r.geometries.length;o<s;o++){var u=_i({geometry:r.geometries[o],type:"Feature",properties:t.properties},e);u&&l.push(u)}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 v(t[1],t[0],t[2])}function xi(t,e,i){for(var n,o=[],s=0,r=t.length;s<r;s++)n=e?xi(t[s],e-1,i):(i||bi)(t[s]),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=[],s=0,r=t.length;s<r;s++)o.push(e?Ai(t[s],e-1,i,n):Ti(t[s],n));return!e&&i&&o.push(o[0]),o}function Si(t,e){return t.feature?c({},t.feature,{geometry:e}):Ci(e)}function Ci(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 Ei(t,e){return new vi(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)})}}),yi.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 t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint(e);var i="GeometryCollection"===t,n=[];return this.eachLayer(function(t){t.toGeoJSON&&(t=t.toGeoJSON(e),i?n.push(t.geometry):"FeatureCollection"===(t=Ci(t)).type?n.push.apply(n,t.features):n.push(t))}),i?Si(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var Ct=Ei,ki=o.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=y(e),u(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&&ye(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=y(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=h,e.onmousemove=h,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();k(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){E(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=ki.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=h,e.onmousemove=h,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 s=0;s<this._url.length;s++){var r=T("source");r.src=this._url[s],e.appendChild(r)}}}});var Mi=ki.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=h,t.onmousemove=h}});var R=o.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0},initialize:function(t,e){u(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&&E(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&E(this._container,1),this.bringToFront(),this.options.interactive&&(S(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(E(this._container,0),this._removeTimeout=setTimeout(a(A,void 0,this._container),200)):A(this._container),this.options.interactive&&(C(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&&ye(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?k(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?(u(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(t,o)):C(t,o),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),e=this._getAnchor();k(this._container,t.add(e))},_adjustPan:function(t){var e,i,n,o,s,r,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),s=p(this.options.autoPanPadding),o=p(this.options.autoPanPaddingTopLeft||s),s=p(this.options.autoPanPaddingBottomRight||s),r=e.getSize(),a=0,n.x+l+s.x>r.x&&(a=n.x+l-r.x+s.x),n.x-a-o.x<(l=0)&&(a=n.x-o.x),n.y+i+s.y>r.y&&(l=n.y+i-r.y+s.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])}})),Li=(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&&(Fe(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),s=this.options.direction,r=n.offsetWidth,a=n.offsetHeight,l=p(this.options.offset),c=this._getAnchor(),i="top"===s?(e=r/2,a):"bottom"===s?(e=r/2,0):(e="center"===s?r/2:"right"===s?0:"left"===s?r:i.x<o.x?(s="right",0):(s="left",r+2*(l.x+c.x)),a/2);t=t.subtract(p(e,i,!0)).add(l).add(c),C(n,"leaflet-tooltip-right"),C(n,"leaflet-tooltip-left"),C(n,"leaflet-tooltip-top"),C(n,"leaflet-tooltip-bottom"),S(n,"leaflet-tooltip-"+s),k(n,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&E(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(Li,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(Li,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)}}),ci.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}}));ci.Default=hi;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){u(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&&(ye(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,s=i.length;o<s;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){E(this._container,this.options.opacity);var t,e=+new Date,i=!1,n=!1;for(t in this._tiles){var o,s=this._tiles[t];s.current&&s.loaded&&(o=Math.min(1,(e-s.loaded)/200),E(s.el,o),o<1?i=!0:(s.active?n=!0:this._onOpaqueTile(s),s.active=!0))}n&&!this._noPrune&&this._pruneTiles(),i&&(r(this._fadeFrame),this._fadeFrame=w(this._updateOpacity,this))}},_onOpaqueTile:h,_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()),h(n.el.offsetWidth),this._onCreateLevel(n)),this._level=n}},_onUpdateLevel:h,_onRemoveLevel:h,_onCreateLevel:h,_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 s=2*e;s<2*e+2;s++){var r=new f(o,s),r=(r.z=i+1,this._tileCoordsToKey(r)),r=this._tiles[r];r&&r.active?r.retain=!0:(r&&r.loaded&&(r.retain=!0),i+1<n&&this._retainChildren(o,s,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),s=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!s||(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):k(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),s=o.getCenter(),r=[],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 c=o.min.y;c<=o.max.y;c++)for(var h=o.min.x;h<=o.max.x;h++){var u,d=new f(h,c);d.z=this._tileZoom,this._isValidTile(d)&&((u=this._tiles[this._tileCoordsToKey(d)])?u.current=!0:r.push(d))}if(r.sort(function(t,e){return t.distanceTo(s)-e.distanceTo(s)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));for(var p=document.createDocumentFragment(),h=0;h<r.length;h++)this._addTile(r[h],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}if(!this.options.bounds)return!0;e=this._tileCoordsToBounds(t);return y(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 s(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=h,t.onmousemove=h,x.ielt9&&this.options.opacity<1&&E(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)),k(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?(E(i.el,0),r(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?$(t.x,this._wrapX):t.x,this._wrapY?$(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=u(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),U(this._url,c(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=h,i.onerror=h,i.complete||(i.src=V,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",V),Oi.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==V))return Oi.prototype._tileReady.call(this,t,e,i)}});function Ri(t,e){return new Di(t,e)}var Fi=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=c({},this.defaultWmsParams);for(i in e)i in this.options||(n[i]=e[i]);var t=(e=u(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===ri?[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 c(this.wmsParams,t),e||this.redraw(),this}});Di.WMS=Fi,Ri.wms=function(t,e){return new Fi(t,e)};var Bi=o.extend({options:{padding:.1},initialize:function(t){u(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):k(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=Bi.extend({options:{tolerance:0},getEvents:function(){var t=Bi.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Bi.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(){r(this._redrawRequest),delete this._ctx,A(this._container),z(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||(Bi.prototype._update.call(this),t=this._bounds,e=this._container,i=t.getSize(),n=x.retina?2:1,k(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(){Bi.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,s,r=t._parts,a=r.length,l=this._ctx;if(a){for(l.beginPath(),i=0;i<a;i++){for(n=0,o=r[i].length;n<o;n++)s=r[i][n],l[n?"lineTo":"moveTo"](s.x,s.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&&(C(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 $i=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">')}}(),Et={_initContainer:function(){this._container=T("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Bi.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=$i("shape");S(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=$i("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=$i("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=$i("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){ye(t._container)}},Wi=x.vml?$i:ut,Hi=Bi.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),z(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){var t,e,i;this._map._animatingZoom&&this._bounds||(Bi.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)),k(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){ye(t._path)}});function qi(t){return x.svg||x.vml?new Hi(t):null}x.vml&&Hi.include(Et),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){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&ji(t)||qi(t)}});var Zi=yi.extend({initialize:function(t,e){yi.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=y(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});Hi.create=Wi,Hi.pointsToPath=dt,vi.geometryToLayer=_i,vi.coordsToLatLng=bi,vi.coordsToLatLngs=xi,vi.latLngToCoords=Ti,vi.latLngsToCoords=Ai,vi.getFeature=Si,vi.asFeature=Ci,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(){z(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(),re(),Ae(),this._startPoint=this._map.mouseEventToContainerPoint(t),P(document,{contextmenu:Fe,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();k(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),C(this._container,"leaflet-crosshair")),ae(),Se(),z(document,{contextmenu:Fe,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 s(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())}}),kt=(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",kt),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(){C(this._map._container,"leaflet-grab"),C(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=y(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,s=this._map,r=s.options,a=!r.inertia||t.noInertia||this._times.length<2;s.fire("dragend",t),a?s.fire("moveend"):(this._prunePositions(+new Date),t=this._lastPos.subtract(this._positions[0]),a=(this._lastTime-this._times[0])/1e3,e=r.easeLinearity,a=(t=t.multiplyBy(e/a)).distanceTo([0,0]),i=Math.min(r.inertiaMaxSpeed,a),t=t.multiplyBy(i/a),n=i/(r.inertiaDeceleration*e),(o=t.multiplyBy(-n/2).round()).x||o.y?(o=s._limitOffset(o,s.options.maxBounds),w(function(){s.panBy(o,{duration:n,easeLinearity:e,noMoveStart:!0,animate:!0})})):s.fire("moveend"))}})),Mt=(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(),z(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(){z(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()}Fe(t)}}})),zt=(O.addInitHook("addHandler","keyboard",Mt),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(){z(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),Fe(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))}})),Lt=(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(){z(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(){z(document,"touchend",I),z(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),z(document,"touchend touchcancel contextmenu",this._cancel,this),z(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",Lt),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(){C(this._map._container,"leaflet-touch-zoom"),z(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),r(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,r(this._animRequest),z(document,"touchmove",this._onTouchMove,this),z(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}})),Ui=(O.addInitHook("addHandler","touchZoom",It),O.BoxZoom=pt,O.DoubleClickZoom=kt,O.Drag=Pt,O.Keyboard=Mt,O.ScrollWheelZoom=zt,O.TapHold=Lt,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=vi,t.GridLayer=Oi,t.Handler=n,t.Icon=ci,t.ImageOverlay=ki,t.LatLng=v,t.LatLngBounds=s,t.Layer=o,t.LayerGroup=ai,t.LineUtil=yt,t.Map=O,t.Marker=di,t.Mixin=gt,t.Path=pi,t.Point=f,t.PolyUtil=vt,t.Polygon=yi,t.Polyline=gi,t.Popup=zi,t.PosAnimation=We,t.Projection=bt,t.Rectangle=Zi,t.Renderer=Bi,t.SVG=Hi,t.SVGOverlay=Mi,t.TileLayer=Di,t.Tooltip=Li,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=He,t.divIcon=function(t){return new Ii(t)},t.extend=c,t.featureGroup=function(t,e){return new li(t,e)},t.geoJSON=Ei,t.geoJson=Ct,t.gridLayer=function(t){return new Oi(t)},t.icon=function(t){return new ci(t)},t.imageOverlay=function(t,e,i){return new ki(t,e,i)},t.latLng=b,t.latLngBounds=y,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 yi(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 Zi(t,e)},t.setOptions=u,t.stamp=l,t.svg=qi,t.svgOverlay=function(t,e,i){return new Mi(t,e,i)},t.tileLayer=Ri,t.tooltip=function(t,e){return new Li(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=Ui,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(c){function t(){}function h(t,e){f.ev.on("mfp"+t+F,e)}function u(t,e,i,n){var o=document.createElement("div");return o.className="mfp-"+t,i&&(o.innerHTML=i),n?e&&e.appendChild(o):(o=c(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=c(f.st.closeMarkup.replace("%title%",f.st.tClose)),i=t),f.currTemplate.closeBtn}function s(){c.magnificPopup.instance||((f=new t).init(),c.magnificPopup.instance=f)}function r(){v&&(y.after(v.addClass(l)).detach(),v=null)}function o(){_&&c(document.body).removeClass(_)}function e(){o(),f.req&&f.req.abort()}var f,n,m,a,g,i,l,y,v,_,w="Close",R="BeforeClose",b="MarkupParse",F=".mfp",x="mfp-ready",B="mfp-removing",T="mfp-prevent-close",A=!!window.jQuery,S=c(window),C=(c.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=c(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=c.extend(!0,{},c.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=u("bg").on("click.mfp",function(){f.close()}),f.wrap=u("wrap").attr("tabindex",-1).on("click.mfp",function(t){f._checkIfClose(t.target)&&f.close()}),f.container=u("container",f.wrap)),f.contentContainer=u("content"),f.st.preloader&&(f.preloader=u("preloader",f.container,f.st.tLoading));var o=c.magnificPopup.modules;for(n=0;n<o.length;n++){var s=(s=o[n]).charAt(0).toUpperCase()+s.slice(1);f["init"+s].call(f)}d("BeforeOpen"),f.st.showCloseBtn&&(f.st.closeBtnInside?(h(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 r=f.wH=S.height(),a={},l=(f.fixedContentPos&&f._hasScrollBar(r)&&(l=f._getScrollbarSize())&&(a.marginRight=l),f.fixedContentPos&&(f.isIE7?c("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"),c("html").css(a),f.bgOverlay.add(f.wrap).prependTo(f.st.prependTo||c(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(r),d("Open"),t}f.updateItemHTML()},close:function(){f.isOpen&&(d(R),f.isOpen=!1,f.st.removalDelay&&!f.isLowIE&&f.supportsTransition?(f._addClassToMFP(B),setTimeout(function(){f._close()},f.st.removalDelay)):f._close())},_close:function(){d(w);var t=B+" "+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?c("body, html").css("overflow",""):t.overflow="",c("html").css(t)),m.off("keyup.mfp focusin.mfp"),f.ev.off(F),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||c(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:c(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:c.magnificPopup.defaults).midClick||2!==t.which&&!t.ctrlKey&&!t.metaKey){var n=(void 0!==i.disableOn?i:c.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=c(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(!c(t).hasClass(T)){var e=f.st.closeOnContentClick,i=f.st.closeOnBgClick;if(e&&i)return!0;if(!f.content||c(t).hasClass("mfp-close")||f.preloader&&t===f.preloader[0])return!0;if(t===f.content[0]||c.contains(f.content[0],t)){if(e)return!0}else if(i&&c.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]&&!c.contains(f.wrap[0],t.target))return f._setFocus(),!1},_parseMarkup:function(o,t,e){var s;e.data&&(t=c.extend(e.data,t)),d(b,[o,t,e]),c.each(t,function(t,e){if(void 0===e||!1===e)return!0;var i,n;1<(s=t.split("_")).length?0<(i=o.find(".mfp-"+s[0])).length&&("replaceWith"===(n=s[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(s[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 s(),(t=t?c.extend(!0,{},t):{}).isObj=!0,t.index=e||0,this.instance.open(t)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(t,e){e.options&&(c.magnificPopup.defaults[t]=e.options),c.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..."}},c.fn.magnificPopup=function(t){s();var e,i,n,o=c(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=c.extend(!0,{},t),A?o.data("magnificPopup",t):o[0].magnificPopup=t,f.addGroup(o,t)),o},"inline"),E=(c.magnificPopup.registerModule(C,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){f.types.push(C),h(w+"."+C,function(){r()})},getInline:function(t,e){var i,n,o;return r(),t.src?(i=f.st.inline,(n=c(t.src)).length?((o=n[0].parentNode)&&o.tagName&&(y||(l=i.hiddenClass,y=u(l),l="mfp-"+l),v=n.after(y).detach().removeClass(l)),f.updateStatus("ready")):(f.updateStatus("error",i.tNotFound),n=c("<div>")),t.inlineElement=n):(f.updateStatus("ready"),f._parseMarkup(e,{},t),e)}}}),"ajax");c.magnificPopup.registerModule(E,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){f.types.push(E),_=f.st.ajax.cursor,h(w+"."+E,e),h("BeforeChange.ajax",e)},getAjax:function(n){_&&c(document.body).addClass(_),f.updateStatus("loading");var t=c.extend({url:n.src,success:function(t,e,i){t={data:t,xhr:i};d("ParseAjax",t),f.appendContent(c(t.data),E),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=c.ajax(t),""}}});var k;c.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"),h("Open"+e,function(){"image"===f.currItem.type&&t.cursor&&c(document.body).addClass(t.cursor)}),h(w+e,function(){t.cursor&&c(document.body).removeClass(t.cursor),S.off("resize.mfp")}),h("Resize"+e,f.resizeImage),f.isLowIE&&h("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,k&&clearInterval(k),t.isCheckingImgSize=!1,d("ImageHasSize",t),t.imgHidden&&(f.content&&f.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(e){function i(t){k&&clearInterval(k),k=setInterval(function(){0<o.naturalWidth?f._onImageHasSize(e):(200<n&&clearInterval(k),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")):++s<200?setTimeout(i,100):n())}function n(){t&&(t.img.off(".mfploader"),t===f.currItem&&(f._onImageHasSize(t),f.updateStatus("error",r.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)}var o,s=0,r=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=c(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?(k&&clearInterval(k),t.loadError?(e.addClass("mfp-loading"),f.updateStatus("error",r.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 M(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)}c.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,s,r=f.st.zoom;r.enabled&&f.supportsTransition&&(e=r.duration,i=function(t){var t=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),e="all "+r.duration/1e3+"s "+r.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")},h("BuildControls.zoom",function(){f._allowZoom()&&(clearTimeout(o),f.content.css("visibility","hidden"),(t=f._getItemToZoom())?((s=i(t)).css(f._getOffset()),f.wrap.append(s),o=setTimeout(function(){s.css(f._getOffset(!0)),o=setTimeout(function(){n(),setTimeout(function(){s.remove(),t=s=null,d("ZoomAnimationEnded")},16)},e)},16)):n())}),h(R+".zoom",function(){if(f._allowZoom()){if(clearTimeout(o),f.st.removalDelay=e,!t){if(!(t=f._getItemToZoom()))return;s=i(t)}s.css(f._getOffset(!0)),f.wrap.append(s),f.content.css("visibility","hidden"),setTimeout(function(){s.css(f._getOffset())},16)}}),h(w+".zoom",function(){f._allowZoom()&&(n(),s&&s.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-=c(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,L,I,O="iframe",D=(c.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),h("BeforeChange",function(t,e,i){e!==i&&(e===O?P():i===O&&P(!0))}),h(w+"."+O,function(){P()})},getIframe:function(t,e){var i=t.src,n=f.st.iframe,o=(c.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}}}),c.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 s=f.st.gallery,t=".mfp-gallery",n=Boolean(c.fn.mfpFastClick);if(f.direction=!0,!s||!s.enabled)return!1;g+=" mfp-gallery",h("Open"+t,function(){s.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()})}),h("UpdateStatus"+t,function(t,e){e.text&&(e.text=N(e.text,f.currItem.index,f.items.length))}),h(b+t,function(t,e,i,n){var o=f.items.length;i.counter=1<o?N(s.tCounter,n.index,o):""}),h("BuildControls"+t,function(){var t,e,i;1<f.items.length&&s.arrows&&!f.arrowLeft&&(e=s.arrowMarkup,t=f.arrowLeft=c(e.replace(/%title%/gi,s.tPrev).replace(/%dir%/gi,"left")).addClass(T),e=f.arrowRight=c(e.replace(/%title%/gi,s.tNext).replace(/%dir%/gi,"right")).addClass(T),t[i=n?"mfpFastClick":"click"](function(){f.prev()}),e[i](function(){f.next()}),f.isIE7&&(u("b",t[0],!1,!0),u("a",t[0],!1,!0),u("b",e[0],!1,!0),u("a",e[0],!1,!0)),f.container.append(t.add(e)))}),h("Change"+t,function(){f._preloadTimeout&&clearTimeout(f._preloadTimeout),f._preloadTimeout=setTimeout(function(){f.preloadNearbyImages(),f._preloadTimeout=null},16)}),h(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=M(f.index+1),f.updateItemHTML()},prev:function(){f.direction=!1,f.index=M(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=M(t),f.items[t].preloaded||((e=f.items[t]).parsed||(e=f.parseEl(t)),d("LazyLoad",e),"image"===e.type&&(e.img=c('<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)}c.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)&&(h("ImageHasSize."+D,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/n,width:"100%"})}),h("ElementParse."+D,function(t,e){e.src=i.replaceSrc(e,n)})))}}}),L="ontouchstart"in window,I=".mfpFastClick",c.fn.mfpFastClick=function(l){return c(this).each(function(){var e,i,n,o,s,r,a,t=c(this);L&&t.on("touchstart"+I,function(t){s=!1,a=1,r=(t.originalEvent||t).touches[0],n=r.clientX,o=r.clientY,S.on("touchmove"+I,function(t){r=(t.originalEvent||t).touches,a=r.length,r=r[0],(10<Math.abs(r.clientX-n)||10<Math.abs(r.clientY-o))&&(s=!0,j())}).on("touchend"+I,function(t){j(),s||1<a||(e=!0,t.preventDefault(),clearTimeout(i),i=setTimeout(function(){e=!1},1e3),l())})}),t.on("click"+I,function(){e||l()})})},c.fn.destroyMfpFastClick=function(){c(this).off("touchstart"+I+" click"+I),L&&S.off("touchmove"+I+" touchend"+I)},s()}),function(l,i,n,s){function c(t,e){this.settings=null,this.options=l.extend({},c.Defaults,e),this.$element=l(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},l.each(["onResize","onThrottledResize"],l.proxy(function(t,e){this._handlers[e]=l.proxy(this[e],this)},this)),l.each(c.Plugins,l.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),l.each(c.Workers,l.proxy(function(t,e){this._pipe.push({filter:e.filter,run:l.proxy(e.run,this)})},this)),this.setup(),this.initialize()}c.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:i,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},c.Width={Default:"default",Inner:"inner",Outer:"outer"},c.Type={Event:"event",State:"state"},c.Plugins={},c.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,n={width:"auto","margin-left":n?e:"","margin-right":n?"":e};i||this.$stage.children().css(n),t.css=n}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,o=!this.settings.autoWidth,s=[];for(t.items={merge:!1,width:e};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=1<i||t.items.merge,s[n]=o?e*i:this._items[n].width();this._widths=s}},{filter:["items","settings"],run:function(){var t=[],e=this._items,i=this.settings,n=Math.max(2*i.items,4),o=2*Math.ceil(e.length/2),s=i.loop&&e.length?i.rewind?n:Math.max(n,o):0,r="",a="";for(s/=2;s--;)t.push(this.normalize(t.length/2,!0)),r+=e[t[t.length-1]][0].outerHTML,t.push(this.normalize(e.length-1-(t.length-1)/2,!0)),a=e[t[t.length-1]][0].outerHTML+a;this._clones=t,l(r).addClass("cloned").appendTo(this.$stage),l(a).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t,e,i=this.settings.rtl?1:-1,n=this._clones.length+this._items.length,o=-1,s=[];++o<n;)t=s[o-1]||0,e=this._widths[this.relative(o)]+this.settings.margin,s.push(t+e*i);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,e={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(e)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,n=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],n.eq(e).css(t.css);else i&&(t.css.width=t.items.width,n.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){for(var t,e,i=this.settings.rtl?1:-1,n=2*this.settings.stagePadding,o=this.coordinates(this.current())+n,s=o+this.width()*i,r=[],a=0,l=this._coordinates.length;a<l;a++)t=this._coordinates[a-1]||0,e=Math.abs(this._coordinates[a])+n*i,(this.op(t,"<=",o)&&this.op(t,">",s)||this.op(e,"<",o)&&this.op(e,">",s))&&r.push(a);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+r.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],c.prototype.initialize=function(){var t,e;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:s,e=this.$element.children(e).width(),t.length&&e<=0&&this.preloadAutoWidthImages(t)),this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},c.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,i=-1,n=null;t?(l.each(t,function(t){t<=e&&i<t&&(i=Number(t))}),"function"==typeof(n=l.extend({},this.options,t[i])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):n=l.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=i,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},c.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},c.prototype.prepare=function(t){var e=this.trigger("prepare",{content:t});return e.data||(e.data=l("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},c.prototype.update=function(){for(var t=0,e=this._pipe.length,i=l.proxy(function(t){return this[t]},this._invalidated),n={};t<e;)(this._invalidated.all||0<l.grep(this._pipe[t].filter,i).length)&&this._pipe[t].run(n),t++;this._invalidated={},this.is("valid")||this.enter("valid")},c.prototype.width=function(t){switch(t=t||c.Width.Default){case c.Width.Inner:case c.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},c.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},c.prototype.onThrottledResize=function(){i.clearTimeout(this.resizeTimer),this.resizeTimer=i.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},c.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},c.prototype.registerEventHandlers=function(){l.support.transition&&this.$stage.on(l.support.transition.end+".owl.core",l.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(i,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",l.proxy(this.onDragEnd,this)))},c.prototype.onDragStart=function(t){var e=null;3!==t.which&&(e=l.support.transform?{x:(e=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===e.length?12:4],y:e[16===e.length?13:5]}:(e=this.$stage.position(),{x:this.settings.rtl?e.left+this.$stage.width()-this.width()+this.settings.margin:e.left,y:e.top}),this.is("animating")&&(l.support.transform?this.animate(e.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=l(t.target),this._drag.stage.start=e,this._drag.stage.current=e,this._drag.pointer=this.pointer(t),l(n).on("mouseup.owl.core touchend.owl.core",l.proxy(this.onDragEnd,this)),l(n).one("mousemove.owl.core touchmove.owl.core",l.proxy(function(t){var e=this.difference(this._drag.pointer,this.pointer(t));l(n).on("mousemove.owl.core touchmove.owl.core",l.proxy(this.onDragMove,this)),Math.abs(e.x)<Math.abs(e.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},c.prototype.onDragMove=function(t){var e=null,i=null,n=this.difference(this._drag.pointer,this.pointer(t)),o=this.difference(this._drag.stage.start,n);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,o.x=((o.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),t=this.settings.pullDrag?-1*n.x/5:0,o.x=Math.max(Math.min(o.x,e+t),i+t)),this._drag.stage.current=o,this.animate(o.x))},c.prototype.onDragEnd=function(t){var t=this.difference(this._drag.pointer,this.pointer(t)),e=this._drag.stage.current,i=0<t.x^this.settings.rtl?"left":"right";l(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==t.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(e.x,0!==t.x?i:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=i,(3<Math.abs(t.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},c.prototype.closest=function(i,n){var o=-1,s=this.width(),r=this.coordinates();return this.settings.freeDrag||l.each(r,l.proxy(function(t,e){return"left"===n&&e-30<i&&i<e+30?o=t:"right"===n&&e-s-30<i&&i<e-s+30?o=t+1:this.op(i,"<",e)&&this.op(i,">",r[t+1]||e-s)&&(o="left"===n?t+1:t),-1===o},this)),this.settings.loop||(this.op(i,">=",r[this.minimum()])?o=i=this.minimum():this.op(i,"<",r[this.maximum()])&&(o=i=this.maximum())),o},c.prototype.animate=function(t){var e=0<this.speed();this.is("animating")&&this.onTransitionEnd(),e&&(this.enter("animating"),this.trigger("translate")),l.support.transform3d&&l.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"}):e?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,l.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},c.prototype.is=function(t){return this._states.current[t]&&0<this._states.current[t]},c.prototype.current=function(t){return t===s?this._current:0===this._items.length?s:(t=this.normalize(t),this._current!==t&&((e=this.trigger("change",{property:{name:"position",value:t}})).data!==s&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})),this._current);var e},c.prototype.invalidate=function(t){return"string"==typeof t&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),l.map(this._invalidated,function(t,e){return e})},c.prototype.reset=function(t){(t=this.normalize(t))!==s&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},c.prototype.normalize=function(t,e){var i=this._items.length,e=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=s:(t<0||i+e<=t)&&(t=((t-e/2)%i+i)%i+e/2),t},c.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},c.prototype.maximum=function(t){var e,i,n,o=this.settings,s=this._coordinates.length;if(o.loop)s=this._clones.length/2+this._items.length-1;else if(o.autoWidth||o.merge){for(e=this._items.length,i=this._items[--e].width(),n=this.$element.width();e--&&!(n<(i+=this._items[e].width()+this.settings.margin)););s=e+1}else s=o.center?this._items.length-1:this._items.length-o.items;return t&&(s-=this._clones.length/2),Math.max(s,0)},c.prototype.minimum=function(t){return t?0:this._clones.length/2},c.prototype.items=function(t){return t===s?this._items.slice():(t=this.normalize(t,!0),this._items[t])},c.prototype.mergers=function(t){return t===s?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},c.prototype.clones=function(i){function n(t){return t%2==0?o+t/2:e-(t+1)/2}var e=this._clones.length/2,o=e+this._items.length;return i===s?l.map(this._clones,function(t,e){return n(e)}):l.map(this._clones,function(t,e){return t===i?n(e):null})},c.prototype.speed=function(t){return t!==s&&(this._speed=t),this._speed},c.prototype.coordinates=function(t){var e,i=1,n=t-1;return t===s?l.map(this._coordinates,l.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(i=-1,n=t+1),e=this._coordinates[t],t=this.settings.rtl?this._coordinates[0]+this._coordinates[this._coordinates.length-1]:0,e+=(this.width()-e+(this._coordinates[n]||t))/2*i):e=this._coordinates[n]||0,Math.ceil(e))},c.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},c.prototype.to=function(t,e){var i=this.current(),n=t-this.relative(i),o=(0<n)-(n<0),s=this._items.length,r=this.minimum(),a=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(n)>s/2&&(n+=-1*o*s),(o=(((t=i+n)-r)%s+s)%s+r)!==t&&o-n<=a&&0<o-n&&this.reset(i=(t=o)-n)):t=this.settings.rewind?(t%(a+=1)+a)%a:Math.max(r,Math.min(a,t)),this.speed(this.duration(i,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},c.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},c.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},c.prototype.onTransitionEnd=function(t){if(t!==s&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},c.prototype.viewport=function(){var t;if(this.options.responsiveBaseElement!==i)t=l(this.options.responsiveBaseElement).width();else if(i.innerWidth)t=i.innerWidth;else{if(!n.documentElement||!n.documentElement.clientWidth)throw"Can not detect viewport width.";t=n.documentElement.clientWidth}return t},c.prototype.replace=function(t){this.$stage.empty(),this._items=[],t=t&&(t instanceof jQuery?t:l(t)),(t=this.settings.nestedItemSelector?t.find("."+this.settings.nestedItemSelector):t).filter(function(){return 1===this.nodeType}).each(l.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(+e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},c.prototype.add=function(t,e){var i=this.relative(this._current);e=e===s?this._items.length:this.normalize(e,!0),t=t instanceof jQuery?t:l(t),this.trigger("add",{content:t,position:e}),t=this.prepare(t),0===this._items.length||e===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[e-1].after(t),this._items.push(t),this._mergers.push(+t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[e].before(t),this._items.splice(e,0,t),this._mergers.splice(e,0,+t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[i]&&this.reset(this._items[i].index()),this.invalidate("items"),this.trigger("added",{content:t,position:e})},c.prototype.remove=function(t){(t=this.normalize(t,!0))!==s&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},c.prototype.preloadAutoWidthImages=function(t){t.each(l.proxy(function(t,e){this.enter("pre-loading"),e=l(e),l(new Image).one("load",l.proxy(function(t){e.attr("src",t.target.src),e.css("opacity",1),this.leave("pre-loading"),this.is("pre-loading")||this.is("initializing")||this.refresh()},this)).attr("src",e.attr("src")||e.attr("data-src")||e.attr("data-src-retina"))},this))},c.prototype.destroy=function(){for(var t in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),l(n).off(".owl.core"),!1!==this.settings.responsive&&(i.clearTimeout(this.resizeTimer),this.off(i,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[t].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},c.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?i<t:t<i;case">":return n?t<i:i<t;case">=":return n?t<=i:i<=t;case"<=":return n?i<=t:t<=i}},c.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},c.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},c.prototype.trigger=function(t,e,i,n,o){var s={item:{count:this._items.length,index:this.current()}},r=l.camelCase(l.grep(["on",t,i],function(t){return t}).join("-").toLowerCase()),a=l.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},s,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:c.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[r]&&this.settings[r].call(this,a)),a},c.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===s&&(this._states.current[e]=0),this._states.current[e]++},this))},c.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},c.prototype.register=function(i){var e;i.type===c.Type.Event?(l.event.special[i.name]||(l.event.special[i.name]={}),l.event.special[i.name].owl||(e=l.event.special[i.name]._default,l.event.special[i.name]._default=function(t){return!e||!e.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1<t.namespace.indexOf("owl"):e.apply(this,arguments)},l.event.special[i.name].owl=!0)):i.type===c.Type.State&&(this._states.tags[i.name]?this._states.tags[i.name]=this._states.tags[i.name].concat(i.tags):this._states.tags[i.name]=i.tags,this._states.tags[i.name]=l.grep(this._states.tags[i.name],l.proxy(function(t,e){return l.inArray(t,this._states.tags[i.name])===e},this)))},c.prototype.suppress=function(t){l.each(t,l.proxy(function(t,e){this._supress[e]=!0},this))},c.prototype.release=function(t){l.each(t,l.proxy(function(t,e){delete this._supress[e]},this))},c.prototype.pointer=function(t){var e={x:null,y:null};return(t=(t=t.originalEvent||t||i.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(e.x=t.pageX,e.y=t.pageY):(e.x=t.clientX,e.y=t.clientY),e},c.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},c.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},l.fn.owlCarousel=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=l(this),i=t.data("owl.carousel");i||(i=new c(this,"object"==typeof e&&e),t.data("owl.carousel",i),l.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,e){i.register({type:c.Type.Event,name:e}),i.$element.on(e+".owl.carousel.core",l.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([e]),i[e].apply(this,[].slice.call(arguments,1)),this.release([e]))},i))})),"string"==typeof e&&"_"!==e.charAt(0)&&i[e].apply(i,n)})},l.fn.owlCarousel.Constructor=c}(window.Zepto||window.jQuery,window,document),function(e,i){function n(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)}n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=i.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var t,e;for(t in i.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=n}(window.Zepto||window.jQuery,window,document),function(a,o){function e(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type))for(var e=this._core.settings,i=e.center&&Math.ceil(e.items/2)||e.items,n=e.center&&-1*i||0,o=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+n,s=this._core.clones().length,r=a.proxy(function(t,e){this.load(e)},this);n++<i;)this.load(s/2+this._core.relative(o)),s&&a.each(this._core.clones(this._core.relative(o)),r),o++},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)}e.Defaults={lazyLoad:!1},e.prototype.load=function(t){var t=this._core.$stage.children().eq(t),e=t&&t.find(".owl-lazy");!e||-1<a.inArray(t.get(0),this._loaded)||(e.each(a.proxy(function(t,e){var i=a(e),n=1<o.devicePixelRatio&&i.attr("data-src-retina")||i.attr("data-src");this._core.trigger("load",{element:i,url:n},"lazy"),i.is("img")?i.one("load.owl.lazy",a.proxy(function(){i.css("opacity",1),this._core.trigger("loaded",{element:i,url:n},"lazy")},this)).attr("src",n):((e=new Image).onload=a.proxy(function(){i.css({"background-image":"url("+n+")",opacity:"1"}),this._core.trigger("loaded",{element:i,url:n},"lazy")},this),e.src=n)},this)),this._loaded.push(t.get(0)))},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(n){function e(t){this._core=t,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":n.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":n.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"==t.property.name&&this.update()},this),"loaded.owl.lazy":n.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=n.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)}e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var t=this._core._current,e=t+this._core.settings.items,t=this._core.$stage.children().toArray().slice(t,e),i=[];n.each(t,function(t,e){i.push(n(e).height())}),e=Math.max.apply(null,i),this._core.$stage.parent().height(e).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},n.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,(window,document)),function(h,e){function i(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":h.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":h.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":h.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":h.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":h.proxy(function(t){var e;!t.namespace||(e=h(t.content).find(".owl-video")).length&&(e.css("display","none"),this.fetch(e,h(t.content)))},this)},this._core.options=h.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",h.proxy(function(t){this.play(t)},this))}i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",n=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),o=t.attr("data-width")||this._core.settings.videoWidth,s=t.attr("data-height")||this._core.settings.videoHeight,r=t.attr("href");if(!r)throw new Error("Missing video URL.");if(-1<(n=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))i="youtube";else if(-1<n[3].indexOf("vimeo"))i="vimeo";else{if(!(-1<n[3].indexOf("vzaar")))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[r]={type:i,id:n,width:o,height:s},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},i.prototype.thumbnail=function(e,t){function i(t){n=c.lazyLoad?'<div class="owl-video-tn '+l+'" '+a+'="'+t+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(n),e.after('<div class="owl-video-play-icon"></div>')}var n,o,s=t.width&&t.height?'style="width:'+t.width+"px;height:"+t.height+'px;"':"",r=e.find("img"),a="src",l="",c=this._core.settings;if(e.wrap('<div class="owl-video-wrapper"'+s+"></div>"),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),r.length)return i(r.attr(a)),r.remove(),!1;"youtube"===t.type?(o="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",i(o)):"vimeo"===t.type?h.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t[0].thumbnail_large,i(o)}}):"vzaar"===t.type&&h.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t.framegrab_url,i(o)}})},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(t){var e,t=h(t.target).closest("."+this._core.settings.itemClass),i=this._videos[t.attr("data-video")],n=i.width||"100%",o=i.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),t=this._core.items(this._core.relative(t.index())),this._core.reset(t.index()),"youtube"===i.type?e='<iframe width="'+n+'" height="'+o+'" src="//www.youtube.com/embed/'+i.id+"?autoplay=1&v="+i.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===i.type?e='<iframe src="//player.vimeo.com/video/'+i.id+'?autoplay=1" width="'+n+'" height="'+o+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===i.type&&(e='<iframe frameborder="0"height="'+o+'"width="'+n+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+i.id+'/player?autoplay=true"></iframe>'),h('<div class="owl-video-frame">'+e+"</div>").insertAfter(t.find(".owl-video")),this._playing=t.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&h(t).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},h.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,(window,document)),function(r){function e(t){this.core=t,this.core.options=r.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":r.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":r.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":r.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)}e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){var t,e,i,n,o,s;1===this.core.settings.items&&r.support.animation&&r.support.transition&&(this.core.speed(0),e=r.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,s=this.core.settings.animateOut,this.core.current()!==this.previous&&(s&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(r.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(s)),o&&n.one(r.support.animation.end,e).addClass("animated owl-animated-in").addClass(o)))},e.prototype.clear=function(t){r(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},r.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,(window,document)),function(i,n,o){function e(t){this._core=t,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":i.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":i.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":i.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":i.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=i.extend({},e.Defaults,this._core.options)}e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},e.prototype._getNextTimeout=function(t,e){return this._timeout&&n.clearTimeout(this._timeout),n.setTimeout(i.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||o.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},this),t||this._core.settings.autoplayTimeout)},e.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},e.prototype.stop=function(){this._core.is("rotating")&&(n.clearTimeout(this._timeout),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},e.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(o){"use strict";function e(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+o(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":o.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":o.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":o.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=o.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)}e.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var t,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?o(i.navContainer):o("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=o("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",o.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=o("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",o.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[o("<div>").addClass(i.dotClass).append(o("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?o(i.dotsContainer):o("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",o.proxy(function(t){var e=(o(t.target).parent().is(this._controls.$absolute)?o(t.target):o(t.target).parent()).index();t.preventDefault(),this.to(e,i.dotsSpeed)},this)),this._overrides)this._core[t]=o.proxy(this[t],this)},e.prototype.destroy=function(){var t,e,i,n;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},e.prototype.update=function(){var t,e,i=this._core.clones().length/2,n=i+this._core.items().length,o=this._core.maximum(!0),s=this._core.settings,r=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],t=i,e=0;t<n;t++){if(r<=e||0===e){if(this._pages.push({start:Math.min(o,t-i),end:t-i+r-1}),Math.min(o,t-i)===o)break;e=0,0}e+=this._core.mergers(this._core.relative(t))}},e.prototype.draw=function(){var t=this._core.settings,e=this._core.items().length<=t.items,i=this._core.relative(this._core.current()),n=t.loop||t.rewind;this._controls.$relative.toggleClass("disabled",!t.nav||e),t.nav&&(this._controls.$previous.toggleClass("disabled",!n&&i<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!n&&i>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!t.dots||e),t.dots&&(n=this._pages.length-this._controls.$absolute.children().length,t.dotsData&&0!=n?this._controls.$absolute.html(this._templates.join("")):0<n?this._controls.$absolute.append(new Array(1+n).join(this._templates[0])):n<0&&this._controls.$absolute.children().slice(n).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(o.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(t){var e=this._core.settings;t.page={index:o.inArray(this.current(),this._pages),count:this._pages.length,size:e&&(e.center||e.autoWidth||e.dotsData?1:e.dotsEach||e.items)}},e.prototype.current=function(){var i=this._core.relative(this._core.current());return o.grep(this._pages,o.proxy(function(t,e){return t.start<=i&&t.end>=i},this)).pop()},e.prototype.getPosition=function(t){var e,i,n=this._core.settings;return"page"==n.slideBy?(e=o.inArray(this.current(),this._pages),i=this._pages.length,t?++e:--e,e=this._pages[(e%i+i)%i].start):(e=this._core.relative(this._core.current()),i=this._core.items().length,t?e+=n.slideBy:e-=n.slideBy),e},e.prototype.next=function(t){o.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},e.prototype.prev=function(t){o.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},e.prototype.to=function(t,e,i){!i&&this._pages.length?(i=this._pages.length,o.proxy(this._overrides.to,this._core)(this._pages[(t%i+i)%i].start,e)):o.proxy(this._overrides.to,this._core)(t,e)},o.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,(window,document)),function(n,o){"use strict";function e(t){this._core=t,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":n.proxy(function(t){t.namespace&&"URLHash"===this._core.settings.startPosition&&n(o).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":n.proxy(function(t){var e;t.namespace&&(e=n(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash"))&&(this._hashes[e]=t.content)},this),"changed.owl.carousel":n.proxy(function(t){var i;t.namespace&&"position"===t.property.name&&(i=this._core.items(this._core.relative(this._core.current())),(t=n.map(this._hashes,function(t,e){return t===i?e:null}).join())&&o.location.hash.slice(1)!==t&&(o.location.hash=t))},this)},this._core.options=n.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),n(o).on("hashchange.owl.navigation",n.proxy(function(t){var e=o.location.hash.substring(1),i=this._core.$stage.children(),i=this._hashes[e]&&i.index(this._hashes[e]);void 0!==i&&i!==this._core.current()&&this._core.to(this._core.relative(i),!1,!0)},this))}e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var t,e;for(t in n(o).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},n.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(o){var s=o("<support>").get(0).style,r="Webkit Moz O ms".split(" "),t={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},e=function(){return!!a("transform")},i=function(){return!!a("perspective")},n=function(){return!!a("animation")};function a(t,i){var n=!1,e=t.charAt(0).toUpperCase()+t.slice(1);return o.each((t+" "+r.join(e+" ")+e).split(" "),function(t,e){if(void 0!==s[e])return n=!i||e,!1}),n}function l(t){return a(t,!0)}!function(){return!!a("transition")}()||(o.support.transition=new String(l("transition")),o.support.transition.end=t.transition.end[o.support.transition]),n()&&(o.support.animation=new String(l("animation")),o.support.animation.end=t.animation.end[o.support.animation]),e()&&(o.support.transform=new String(l("transform")),o.support.transform3d=i())}(window.Zepto||window.jQuery,(window,document)),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 E(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B(t){return"string"==typeof t}function u(t){return"function"==typeof t}function k(t){return"number"==typeof t}function s(t){return void 0===t}function P(t){return"object"==typeof t}function l(){return"undefined"!=typeof window}function X(t){return u(t)||B(t)}function m(t){return(qt=Rt(t,a))&&h}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 y(){return 0}function J(t){var e,i,n=t[0];if(P(n)||u(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(i=ke.length;i--&&!ke[i].targetTest(n););e=ke[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(L(t))[0]._gsap}function v(t,e,i){return(i=t[e])&&u(i)?t[e]():s(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 M(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:B(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||F,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 s,r=t[n=void 0===n?"_last":n];if(o)for(s=e[o];r&&r[o]>s;)r=r._prev;r?(e._next=r._next,r._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[n]=e,e._prev=r,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,s=e._next;o?o._next=s:t[i]===e&&(t[i]=s),s?s._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 C(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 st(t){return t._repeat?Ft(t._tTime,t=t.duration()+t._rDelay)*t:0}function rt(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function at(t){t._end=M(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=M(i._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),at(t),i._dirty||C(i,t))}function ct(t,e){var i;if((e._time||e._initted&&!e._dur)&&(i=rt(t.rawTime(),e),(!e._dur||Nt(0,e.totalDuration(),i)-e._tTime>W)&&e.render(i,!0)),C(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=M((k(i)?i:i||t!==F?c(t,i,e):t._time)+e._delay),e._end=M(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),A(t,e,"_first","_last",t._sort?"_start":0),Bt(e)||(t._recent=e),n||ct(t,e),t}function ht(t,e){(a.ScrollTrigger||K("scrollTrigger",e))&&a.ScrollTrigger.create(e,t)}function ut(t,e,i,n){return Ve(t,e),!t._initted||!i&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&Ut!==f.frame&&(Ae.push(t),t._lazy=[e,n])}function dt(t,e,i,n){var o=t._repeat,e=M(e)||0,s=t._tTime/t._tDur;return s&&!n&&(t._time*=e/t._dur),t._dur=e,t._tDur=o?o<0?1e10:M(e*(o+1)+t._rDelay*o):e,0<s&&!n?lt(t,t._tTime=t._tDur*s):t.parent&&at(t),i||C(t.parent,t),t}function pt(t){return t instanceof Z?C(t):dt(t,t._dur)}function ft(t,e,i){var n,o,s=k(e[1]),r=(s?2:1)+(t<2?0:1),a=e[r];if(s&&(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[r-1]}return new U(e[0],a,e[1+r])}function mt(t,e){return t||0===t?e(t):e}function N(t,e){return B(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 yt(t){return t.sort(function(){return.5-Math.random()})}function vt(t){if(u(t))return t;var p=P(t)?t:{each:t},f=Ne(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},t=0<m&&m<1,v=isNaN(m)||t,_=p.axis,w=m,b=m;return B(m)?w=b={center:.5,edges:.5,end:1}[m]||0:!t&&v&&(w=m[0],b=m[1]),function(t,e,i){var n,o,s,r,a,l,c,h,u=(i||p).length,d=y[u];if(!d){if(!(h="auto"===p.grid?0:(p.grid||[1,$])[1])){for(l=-$;l<(l=i[h++].getBoundingClientRect().left)&&h<u;);h--}for(d=y[u]=[],n=v?Math.min(h,u)*w-.5:m%h,o=h===$?0:v?u*b/h-.5:m/h|0,c=$,a=l=0;a<u;a++)r=a%h-n,s=o-(a/h|0),d[a]=r=_?Math.abs("y"===_?s:r):de(r*r+s*s),l<r&&(l=r),r<c&&(c=r);"random"===m&&yt(d),d.max=l-c,d.min=c,d.v=u=(parseFloat(p.amount)||parseFloat(p.each)*(u<h?u-1:_?"y"===_?u/h:h:Math.max(h,u/h))||0)*("edges"===m?-1:1),d.b=u<0?g-u:g,d.u=N(p.amount||p.each)||0,f=f&&u<0?Be(f):f}return u=(d[t]-d.min)/d.max||0,M(d.b+(f?f(u):u)*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+(k(t)?0:N(t))}}function wt(l,t){var c,h,e=I(l);return!e&&P(l)&&(c=e=l.radius||$,l.values?(l=L(l.values),(h=!k(l[0]))&&(c*=c)):l=_t(l.increment)),mt(t,e?u(l)?function(t){return h=l(t),Math.abs(h-t)<=c?h:t}:function(t){for(var e,i,n=parseFloat(h?t.x:t),o=parseFloat(h?t.y:0),s=$,r=0,a=l.length;a--;)(e=h?(e=l[a].x-n)*e+(i=l[a].y-o)*i:Math.abs(l[a]-n))<s&&(s=e,r=a);return r=!c||s<=c?l[r]:t,h||r===t||k(t)?r:r+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,s=0,r="";~(e=t.indexOf("random(",s));)n=t.indexOf(")",e),o="["===t.charAt(e+7),i=t.substr(e+7,n-e-7).match(o?be:ge),r+=t.substr(s,e-s)+bt(o?i:+i[0],o?0:+i[1],+i[2]||1e-5),s=n+1;return r+t.substr(s,t.length-s)}function At(t,e,i){var n,o,s,r=t.labels,a=$;for(n in r)(o=r[n]-e)<0==!!i&&o&&a>(o=Math.abs(o))&&(s=n,a=o);return s}function St(t){return R(t),t.scrollTrigger&&t.scrollTrigger.kill(!1),t.progress()<1&&b(t,"onInterrupt"),t}function Ct(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 Et(t,e,i){var n,o,s,r,a,l,c,h=t?k(t)?[t>>16,t>>8&d,t&d]:0:Le.black;if(!h){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Le[t])h=Le[t];else if("#"===t.charAt(0)){if(9===(t=t.length<6?"#"+(n=t.charAt(1))+n+(o=t.charAt(2))+o+(s=t.charAt(3))+s+(5===t.length?t.charAt(4)+t.charAt(4):""):t).length)return[(h=parseInt(t.substr(1,6),16))>>16,h>>8&d,h&d,parseInt(t.substr(7),16)/255];h=[(t=parseInt(t.substr(1),16))>>16,t>>8&d,t&d]}else if("hsl"===t.substr(0,3))if(h=c=t.match(ge),e){if(~t.indexOf("="))return h=t.match(ye),i&&h.length<4&&(h[3]=1),h}else r=+h[0]%360/360,a=h[1]/100,n=2*(l=h[2]/100)-(o=l<=.5?l*(a+1):l+a-l*a),3<h.length&&(h[3]*=1),h[0]=Ct(r+1/3,n,o),h[1]=Ct(r,n,o),h[2]=Ct(r-1/3,n,o);else h=t.match(ge)||Le.transparent;h=h.map(Number)}return e&&!c&&(n=h[0]/d,o=h[1]/d,s=h[2]/d,l=((t=Math.max(n,o,s))+(e=Math.min(n,o,s)))/2,t===e?r=a=0:(c=t-e,a=.5<l?c/(2-t-e):c/(t+e),r=t===n?(o-s)/c+(o<s?6:0):t===o?(s-n)/c+2:(n-o)/c+4,r*=60),h[0]=~~(r+.5),h[1]=~~(100*a+.5),h[2]=~~(100*l+.5)),i&&h.length<4&&(h[3]=1),h}function kt(t){var e=[],i=[],n=-1;return t.split(Ie).forEach(function(t){t=t.match(ve)||[];e.push.apply(e,t),i.push(n+=t.length+1)}),e.c=i,e}function Pt(t,e,i){var n,o,s,r,a="",l=(t+a).match(Ie),c=e?"hsla(":"rgba(",h=0;if(!l)return t;if(l=l.map(function(t){return(t=Et(t,e,1))&&c+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),i&&(s=kt(t),(n=i.c).join(a)!==s.c.join(a)))for(r=(o=t.replace(Ie,"1").split(ve)).length-1;h<r;h++)a+=o[h]+(~n.indexOf(h)?l.shift()||c+"0,0,0,0)":(s.length?s:l.length?l:i).shift());if(!o)for(r=(o=t.split(Ie)).length-1;h<r;h++)a+=o[h]+l[h];return a+o[r]}function Mt(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,kt(t[1])),!0}function zt(t,e){for(var i,n=t._first;n;)n instanceof Z?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 Lt(t,e,i,n){var o,s={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]=s,q[o=t.toLowerCase()]=i,s)q[o+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=q[t+"."+e]=s[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-s)*r)+1}var o=1<=t?t:1,s=(r=(e||(i?.3:.45))/(t<1?t:1))/ce*(Math.asin(1/o)||0),e="out"===i?n:"in"===i?function(t){return 1-n(1-t)}:It(n),r=ce/r;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 Ft(t,e){return e=Math.floor(t/=e),t&&e===t?e-1:e}function Bt(t){return"isFromStart"===(t=t.data)||"isStart"===t}function c(t,e,i){var n,o,s,r=t.labels,a=t._recent||Me,l=t.duration()>=$?a.endTime(!1):t._dur;return B(e)&&(isNaN(e)||e in r)?(o=e.charAt(0),s="%"===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)*(s?(n<0?a:i).totalDuration()/100:1)):n<0?(e in r||(r[e]=l),r[e]):(o=parseFloat(e.charAt(n-1)+e.substr(n+1)),s&&i&&(o=o/100*(I(i)?i[0]:i).totalDuration()),1<n?c(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 L(t,e,i){return!B(t)||i||!Wt&&De()?I(t)?(n=i,void 0===o&&(o=[]),t.forEach(function(t){return B(t)&&!n||gt(t,1)?o.push.apply(o,L(t)):o.push(t)})||o):gt(t)?ze.call(t,0):t?[t]:[]:ze.call((e||Ht).querySelectorAll(t),0);var n,o}function jt(e,t,i,n,o){var s=t-e,r=n-i;return mt(o,function(t){return i+((t-e)/s*r||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 $t,F,i,Wt,Ht,qt,Zt,Ut,Gt,Vt,Yt,Xt,r,Kt,Qt,Jt,te,ee,ie,ne,oe,se,re,ae,j={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},le={duration:.5,overwrite:!1,delay:0},$=1e8,W=1/$,ce=2*Math.PI,he=ce/4,ue=0,de=Math.sqrt,pe=Math.cos,fe=Math.sin,me="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},I=Array.isArray,ge=/(?:-?\.?\d|\.)+/gi,ye=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ve=/[-+=.]*\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={},H={},Ce={},Ee=30,ke=[],Pe="",Me={_start:0,endTime:y,totalDuration:y},ze=[].slice,d=255,Le={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 Le)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Oe=/hsl[a]?\(/,f=(Jt=Date.now,te=500,ee=33,ie=Jt(),ne=ie,se=oe=1e3/240,r={time:0,frame:0,tick:function(){je(!0)},deltaRatio:function(t){return Kt/(1e3/(t||60))},wake:function(){Zt&&(!Wt&&l()&&(i=Wt=window,Ht=i.document||{},a.gsap=h,(i.gsapVersions||(i.gsapVersions=[])).push(h.version),m(qt||i.GreenSockGlobals||!i.gsap&&i||{}),Xt=i.requestAnimationFrame),Vt&&r.sleep(),Yt=Xt||function(t){return setTimeout(t,se-1e3*r.time+1|0)},Gt=1,je(2))},sleep:function(){(Xt?i.cancelAnimationFrame:clearTimeout)(Vt),Gt=0,Yt=y},lagSmoothing:function(t,e){te=t||1e8,ee=Math.min(e,te,0)},fps:function(t){oe=1e3/(t||240),se=1e3*r.time+oe},add:function(o,t,e){var s=t?function(t,e,i,n){o(t,e,i,n),r.remove(s)}:o;return r.remove(o),re[e?"unshift":"push"](s),De(),s},remove:function(t,e){~(e=re.indexOf(t))&&re.splice(e,1)&&e<=Qt&&Qt--},_listeners:re=[]}),De=function(){return!Gt&&f.wake()},q={},Re=/^[\d.\-M][\d.\-,\s]/,Fe=/["']/g,Be=function(e){return function(t){return 1-e(1-t)}},Ne=function(t,e){return t&&(u(t)?t:q[t]||(s=((t=t)+"").split("("),(r=q[s[0]])&&1<s.length&&r.config?r.config.apply(null,~t.indexOf("{")?[function(t){for(var e,i,n,o={},s=t.substr(1,t.length-3).split(":"),r=s[0],a=1,l=s.length;a<l;a++)i=s[a],e=a!==l-1?i.lastIndexOf(","):i.length,n=i.substr(0,e),o[r]=isNaN(n)?n.replace(Fe,"").trim():+n,r=i.substr(e+1).trim();return o}(s[1])]:(i=(s=t).indexOf("(")+1,n=s.indexOf(")"),o=s.indexOf("(",i),s.substring(i,~o&&o<n?s.indexOf(")",n+1):n).split(",").map(w))):q._CE&&Re.test(t)?q._CE("",t):r))||e;var i,n,o,s,r};function je(t){var e,i,n,o=Jt()-ne,s=!0===t;if(te<o&&(ie+=o-ee),(0<(o=(i=(ne+=o)-ie)-se)||s)&&(n=++r.frame,Kt=i-1e3*r.time,r.time=i/=1e3,se+=o+(oe<=o?4:oe-o),e=1),s||(Vt=Yt(je)),e)for(Qt=0;Qt<re.length;Qt++)re[Qt](i,Kt,n,t)}function $e(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;Lt(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,Lt("Elastic",Ot("in"),Ot("out"),Ot()),ae=7.5625,Lt("Bounce",function(t){return 1-$e(1-t)},$e),Lt("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),Lt("Circ",function(t){return-(de(1-t*t)-1)}),Lt("Sine",function(t){return 1===t?1:1-pe(t*he)}),Lt("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=ue++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:v,this.set=e?e.getSetter:pi},He=((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&&ct(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+st(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)+st(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?Ft(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?rt(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?rt(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(c(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,u(i)&&(i=i(o))&&(i.then||i===o)&&(o.then=t),e(i),o.then=t}var i=u(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,Gt||f.wake()}D(He.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(Ue,Ze=He),(e=Ue.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 U(t,e,c(this,i),1),this},e.call=function(t,e,i){return z(this,U.delayedCall(0,t,e),i)},e.staggerTo=function(t,e,i,n,o,s,r){return i.duration=e,i.stagger=i.stagger||n,i.onComplete=s,i.onCompleteParams=r,i.parent=this,new U(t,i,c(this,o)),this},e.staggerFrom=function(t,e,i,n,o,s,r){return i.runBackwards=1,ot(i).immediateRender=!1!==i.immediateRender,this.staggerTo(t,e,i,n,o,s,r)},e.staggerFromTo=function(t,e,i,n,o,s,r,a){return n.startAt=i,ot(n).immediateRender=!1!==n.immediateRender,this.staggerTo(t,e,n,o,s,r,a)},e.render=function(t,e,i){var n,o,s,r,a,l,c,h,u,d,p=this._time,f=this._dirty?this.totalDuration():this._tDur,m=this._dur,g=t<=0?0:M(t),y=this._zTime<0!=t<0&&(this._initted||!m);if((g=this!==F&&f<g&&0<=t?f:g)!==this._tTime||i||y){if(p!==this._time&&m&&(g+=this._time-p,t+=this._time-p),n=g,h=this._start,a=!(c=this._ts),y&&(m||(p=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(y=this._yoyo,r=m+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*r+t,e,i);if(n=M(g%r),g===f?(s=this._repeat,n=m):((s=~~(g/r))&&s===g/r&&(n=m,s--),m<n&&(n=m)),u=Ft(this._tTime,r),y&&1&s&&(n=m-n,d=1),s!==(u=!p&&this._tTime&&u!==s?s:u)&&!this._lock){var v=y&&1&u,y=v===(y&&1&s),p=(v=s<u?!v:v)?0:m;if(this._lock=1,this.render(p||(d?0:M(s*r)),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,y&&(this._lock=2,this.render(p=v?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,M(p),M(n)))&&(g-=n-(n=l._start)),this._tTime=g,this._time=n,this._act=!c,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=h,at(this),this.render(t,e,i);this._onUpdate&&!e&&b(this,"onUpdate",!0),!(g===f&&this._tTime>=this.totalDuration()||!g&&p)||h!==this._start&&Math.abs(c)===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(k(e)||(e=c(this,e,t)),!(t instanceof He)){if(I(t))return t.forEach(function(t){return i.add(t,e)}),this;if(B(t))return this.addLabel(t,e);if(!u(t))return this;t=U.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=-$);for(var o=[],s=this._first;s;)s._start>=n&&(s instanceof U?e&&o.push(s):(i&&o.push(s),t&&o.push.apply(o,s.getChildren(!0,e,i)))),s=s._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 B(t)?this.removeLabel(t):u(t)?this.killTweensOf(t):(S(this,t),t===this._recent&&(this._recent=this._last),C(this))},e.totalTime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=M(f.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),Ze.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function(t,e){return this.labels[t]=c(this,e),this},e.removeLabel=function(t){return delete this.labels[t],this},e.addPause=function(t,e,i){e=U.delayedCall(0,e||y,i);return e.data="isPause",this._hasPause=1,z(this,e,c(this,t))},e.removePause=function(t){var e=this._first;for(t=c(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=L(t),s=this._first,r=k(e);s;)s instanceof U?function(t,e){for(var i=e.length,n=0;t.indexOf(e[n])<0&&++n<i;);return n<i}(s._targets,o)&&(r?(!Xe||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&n.push(s):(i=s.getTweensOf(o,e)).length&&n.push.apply(n,i),s=s._next;return n},e.tweenTo=function(t,e){e=e||{};var i,n=this,o=c(n,t),s=e.startAt,r=e.onStart,a=e.onStartParams,t=e.immediateRender,l=U.to(n,D({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:e.duration||Math.abs((o-(s&&"time"in s?s.time:n._time))/n.timeScale())||W,onStart:function(){var t;n.pause(),i||(t=e.duration||Math.abs((o-(s&&"time"in s?s.time:n._time))/n.timeScale()),l._dur!==t&&dt(l,t,0,1).render(l._time,!0,!0),i=1),r&&r.apply(l,a||[])}},e));return t?l.render(0):l},e.tweenFromTo=function(t,e,i){return this.tweenTo(e,D({startAt:{time:c(this,t)}},i))},e.recent=function(){return this._recent},e.nextLabel=function(t){return void 0===t&&(t=this._time),At(this,c(this,t))},e.previousLabel=function(t){return void 0===t&&(t=this._time),At(this,c(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,s=this.labels;o;)o._start>=i&&(o._start+=t,o._end+=t),o=o._next;if(e)for(n in s)s[n]>=i&&(s[n]+=t);return C(this)},e.invalidate=function(){var t=this._first;for(this._lock=0;t;)t.invalidate(),t=t._next;return Ze.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={}),C(this)},e.totalDuration=function(t){var e,i,n,o=0,s=this,r=s._last,a=$;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(n=s.parent;r;)e=r._prev,r._dirty&&r.totalDuration(),a<(i=r._start)&&s._sort&&r._ts&&!s._lock?(s._lock=1,z(s,r,i-r._delay,1)._lock=0):a=i,i<0&&r._ts&&(o-=i,(!n&&!s._dp||n&&n.smoothChildTiming)&&(s._start+=i/s._ts,s._time-=i,s._tTime-=i),s.shiftChildren(-i,!1,-1/0),a=0),r._end>o&&r._ts&&(o=r._end),r=e;dt(s,s===F&&s._time>o?s._time:o,1,1),s._dirty=0}return s._tDur},Ue.updateRoot=function(t){if(F._ts&&(_(F,rt(t,F)),Ut=f.frame),f.frame>=Ee){Ee+=j.autoSleep||120;var e=F._first;if((!e||!e._ts)&&j.autoSleep&&f._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||f.sleep()}}};var Ze,Z=Ue;function Ue(t,e){var i;return(i=Ze.call(this,t=void 0===t?{}:t)||this).labels={},i.smoothChildTiming=!!t.smoothChildTiming,i.autoRemoveChildren=!!t.autoRemoveChildren,i._sort=!1!==t.sortChildren,F&&z(t.parent||F,E(i),e),t.reversed&&i.reverse(),t.paused&&i.paused(!0),t.scrollTrigger&&ht(E(i),t.scrollTrigger),i}function Ge(t,e,i,n,o,s){var r,a,l,c;if(H[t]&&!1!==(r=new H[t]).init(o,r.rawVars?e[t]:function(t,e,i,n,o){if(!P(t=u(t)?Ye(t,o,e,i,n):t)||t.style&&t.nodeType||I(t)||me(t))return B(t)?Ye(t,o,e,i,n):t;var s,r={};for(s in t)r[s]=Ye(t[s],o,e,i,n);return r}(e[t],n,o,s,i),i,n,s)&&(i._pt=a=new G(i._pt,o,t,0,1,r.render,r,0,r.priority),i!==vi))for(l=i._ptLookup[i._targets.indexOf(o)],c=r._props.length;c--;)l[r._props[c]]=a;return r}D(Z.prototype,{_lock:0,_hasPause:0,_forcing:0});function Ve(t,e){var i,n,o,s,r,a,l,c,h,u,d,p,f,m=t.vars,g=m.ease,y=m.startAt,v=m.immediateRender,_=m.lazy,w=m.onUpdate,b=m.onUpdateParams,x=m.callbackScope,T=m.runBackwards,A=m.yoyoEase,S=m.keyframes,C=m.autoRevert,E=t._dur,k=t._startAt,P=t._targets,M=t.parent,z=M&&"nested"===M.data?M.parent._targets:P,L="auto"===t._overwrite&&!$t,I=t.timeline;if(t._ease=Ne(g=!I||S&&g?g:"none",le.ease),t._yEase=A?Be(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=(c=P[0]?tt(P[0]).harness:0)&&m[c.prop],i=nt(m,Te),k&&(R(k.render(-1,!0)),k._lazy=0),y)if(R(t._startAt=U.set(P,D({data:"isStart",overwrite:!1,parent:M,immediateRender:!0,lazy:!1!==_,startAt:null,delay:0,onUpdate:w,onUpdateParams:b,callbackScope:x,stagger:0},y))),e<0&&!v&&!C&&t._startAt.render(-1,!0),v){if(0<e&&!C&&(t._startAt=0),E&&e<=0)return void(e&&(t._zTime=e))}else!1===C&&(t._startAt=0);else if(T&&E)if(k)C||(t._startAt=0);else if(o=D({overwrite:!1,data:"isFromStart",lazy:(v=e?!1:v)&&!1!==_,immediateRender:v,stagger:0,parent:M},i),p&&(o[c.prop]=p),R(t._startAt=U.set(P,o)),e<0&&t._startAt.render(-1,!0),t._zTime=e,v){if(!e)return}else Ve(t._startAt,W);for(_=E&&!1!==_||_&&!E,n=t._pt=t._ptCache=0;n<P.length;n++){if(l=(r=P[n])._gsap||J(P)[n]._gsap,t._ptLookup[n]=u={},Se[l.id]&&Ae.length&&it(),d=z===P?n:z.indexOf(r),c&&!1!==(h=new c).init(r,p||i,t,d,z)&&(t._pt=s=new G(t._pt,r,h.name,0,1,h.render,h,0,h.priority),h._props.forEach(function(t){u[t]=s}),h.priority&&(a=1)),!c||p)for(o in i)H[o]&&(h=Ge(o,i,t,d,r,z))?h.priority&&(a=1):u[o]=s=Je.call(t,r,o,"get",i[o],d,z,0,m.stringFilter);t._op&&t._op[n]&&t.kill(r,t._op[n]),L&&t._pt&&(Xe=t,F.killTweensOf(r,u,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($,!0,!0)}function Ye(t,e,i,n,o){return u(t)?t.call(e,i,n,o):B(t)&&~t.indexOf("random(")?Tt(t):t}var Xe,Ke,Qe,Je=function(t,e,i,n,o,s,r,a,l){u(n)&&(n=n(o||0,t,s));var c,o=t[e],s="get"!==i?i:u(o)?l?t[e.indexOf("set")||!u(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():o,i=u(o)?l?ri:si:oi;if(B(n)&&("="!==(n=~n.indexOf("random(")?Tt(n):n).charAt(1)||!(c=et(s,n)+(N(s)||0))&&0!==c||(n=c)),s!==n||Ke)return isNaN(s*n)||""===n?(o||e in t||K(e,n),function(t,e,i,n,o,s,r){var a,l,c,h,u,d=new G(this._pt,t,e,0,1,ci,null,o),p=0,f=0;for(d.b=i,d.e=n,i+="",(o=~(n+="").indexOf("random("))&&(n=Tt(n)),s&&(s(s=[i,n],t,e),i=s[0],n=s[1]),a=i.match(_e)||[];h=_e.exec(n);)c=h[0],h=n.substring(p,h.index),l?l=(l+1)%5:"rgba("===h.substr(-5)&&(l=1),c!==a[f++]&&(u=parseFloat(a[f-1])||0,d._pt={_next:d._pt,p:h||1===f?h:",",s:u,c:"="===c.charAt(1)?et(u,c)-u:parseFloat(c)-u,m:l&&l<4?Math.round:0},p=_e.lastIndex);return d.c=p<n.length?n.substring(p,n.length):"",d.fp=r,(we.test(n)||o)&&(d.e=0),this._pt=d}.call(this,t,e,s,n,i,a||j.stringFilter,l)):(c=new G(this._pt,t,e,+s||0,n-(s||0),"boolean"==typeof o?li:ai,0,i),l&&(c.fp=l),r&&c.modifier(r,this,t),this._pt=c)},ti=Pe+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ei={},U=(p(ti+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return ei[t]=1}),n(o,Qe=He),(e=o.prototype).render=function(t,e,i){var n,o,s=this._time,r=this._tDur,a=this._dur,l=r-W<t&&0<=t?r: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(c=a+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*c+t,e,i);if(m=M(l%c),l===r?(y=this._repeat,m=a):((y=~~(l/c))&&y===l/c&&(m=a,y--),a<m&&(m=a)),(u=this._yoyo&&1&y)&&(h=this._yEase,m=a-m),v=Ft(this._tTime,c),m===s&&!i&&this._initted)return this._tTime=l,this;y!==v&&(d&&this._yEase&&zt(d,u),!this.vars.repeatRefresh||u||this._lock||(this._lock=i=1,this.render(M(c*y),!0).invalidate()._lock=0))}if(!this._initted){if(ut(this,t<0?t:m,i,e))return this._tTime=0,this;if(s!==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=(h||this._ease)(m/a),this._from&&(this.ratio=o=1-o),m&&!s&&!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&&u?-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&&y!==v&&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&&!s||!l&&!s||(b(this,l===r?"onComplete":"onReverseComplete",!0),!this._prom||l<r&&0<this.timeScale()||this._prom()))}}else{var c=this;var h=t;var u=e;var d=i;var p,f,m=c.ratio,g=h<0||!h&&(!c._start&&function t(e){e=e.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||t(e))}(c)&&(c._initted||!Bt(c))||(c._ts<0||c._dp._ts<0)&&!Bt(c))?0:1,y=c._rDelay,v=0;if(y&&c._repeat&&(v=Nt(0,c._tDur,h),f=Ft(v,y),c._yoyo&&1&f&&(g=1-g),f!==Ft(c._tTime,y)&&(m=1-g,c.vars.repeatRefresh&&c._initted&&c.invalidate())),g!==m||d||c._zTime===W||!h&&c._zTime){if(c._initted||!ut(c,h,d,u)){for(f=c._zTime,c._zTime=h||(u?W:0),u=u||h&&!f,c.ratio=g,c._from&&(g=1-g),c._time=0,c._tTime=v,p=c._pt;p;)p.r(g,p.d),p=p._next;c._startAt&&h<0&&c._startAt.render(h,!0,!0),c._onUpdate&&!u&&b(c,"onUpdate"),v&&c._repeat&&!u&&c.parent&&b(c,"onRepeat"),(h>=c._tDur||h<0)&&c.ratio===g&&(g&&R(c,1),u||(b(c,g?"onComplete":"onReverseComplete",!0),c._prom&&c._prom()))}}else c._zTime||(c._zTime=h)}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){Gt||f.wake(),this._ts||this.play();var o,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Ve(this,s),o=this._ease(s/this._dur),function(t,e,i,n,o,s,r){var a,l,c,h=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!h)for(h=t._ptCache[e]=[],l=t._ptLookup,c=t._targets.length;c--;){if((a=l[c][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",Ve(t,r),Ke=0,1;h.push(a)}for(c=h.length;c--;)(a=h[c]).s=!n&&0!==n||o?a.s+(n||0)+s*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,s)?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)return 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),this;var i,n,o,s,r,a,l,c=this._targets,h=t?L(t):c,u=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}(c,h))return"all"===e&&(this._pt=0),St(this);for(i=this._op=this._op||[],"all"!==e&&(B(e)&&(r={},p(e,function(t){return r[t]=1}),e=r),e=function(t,e){var i,n,o,s,t=t[0]?tt(t[0]).harness:0,r=t&&t.aliases;if(!r)return e;for(n in i=Rt({},e),r)if(n in i)for(o=(s=r[n].split(",")).length;o--;)i[s[o]]=i[n];return i}(c,e)),l=c.length;l--;)if(~h.indexOf(c[l]))for(r in n=u[l],"all"===e?(i[l]=e,s=n,o={}):(o=i[l]=i[l]||{},s=e),s)(a=n&&n[r])&&("kill"in a.d&&!0!==a.d.kill(r)||S(this,a,"_pt"),delete n[r]),"all"!==o&&(o[r]=1);return this._initted&&!this._pt&&d&&St(this),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 F.killTweensOf(t,e,i)},o);function o(t,e,i,n){var o;"number"==typeof e&&(i.duration=e,e=i,i=null);var s,r,a,l,c,h,u,d,n=(o=Qe.call(this,n?e:ot(e))||this).vars,p=n.duration,f=n.delay,m=n.immediateRender,g=n.stagger,y=n.overwrite,v=n.keyframes,_=n.defaults,w=n.scrollTrigger,b=n.yoyoEase,n=e.parent||F,x=(I(t)||me(t)?k(t[0]):"length"in e)?[t]:L(t);if(o._targets=x.length?J(x):Q("GSAP target "+t+" not found. https://greensock.com",!j.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=y,v||g||X(p)||X(f)){if(e=o.vars,(s=o.timeline=new Z({data:"nested",defaults:_||{}})).kill(),s.parent=s._dp=E(o),s._start=0,g||X(p)||X(f)){if(l=x.length,u=g&&vt(g),P(g))for(c in g)~ti.indexOf(c)&&((d=d||{})[c]=g[c]);for(r=0;r<l;r++)(a=nt(e,ei)).stagger=0,b&&(a.yoyoEase=b),d&&Rt(a,d),h=x[r],a.duration=+Ye(p,E(o),r,h,x),a.delay=(+Ye(f,E(o),r,h,x)||0)-o._delay,!g&&1===l&&a.delay&&(o._delay=f=a.delay,o._start+=f,a.delay=0),s.to(h,a,u?u(r,h,x):0),s._ease=q.none;s.duration()?p=f=0:o.timeline=0}else if(v){ot(D(s.vars.defaults,{ease:"none"})),s._ease=Ne(v.ease||e.ease||"none");var T,A,S,C=0;if(I(v))v.forEach(function(t){return s.to(x,t,">")});else{for(c in a={},v)"ease"!==c&&"easeEach"!==c&&function(t,i,e,n){var o,s,r=i.ease||n||"power1.inOut";if(I(i))s=e[t]||(e[t]=[]),i.forEach(function(t,e){return s.push({t:e/(i.length-1)*100,v:t,e:r})});else for(o in i)s=e[o]||(e[o]=[]),"ease"!==o&&s.push({t:parseFloat(t),v:i[o],e:r})}(c,v[c],a,v.easeEach);for(c in a)for(T=a[c].sort(function(t,e){return t.t-e.t}),r=C=0;r<T.length;r++)(S={ease:(A=T[r]).e,duration:(A.t-(r?T[r-1].t:0))/100*p})[c]=A.v,s.to(x,S,C),C+=S.duration;s.duration()<p&&s.to({},{duration:p-s.duration()})}}p||o.duration(p=s.duration())}else o.timeline=0;return!0!==y||$t||(Xe=E(o),F.killTweensOf(x),Xe=0),z(n,E(o),i),e.reversed&&o.reverse(),e.paused&&o.paused(!0),(m||!p&&!v&&o._start===M(n._time)&&!1!==m&&function t(e){return!e||e._ts&&t(e.parent)}(E(o))&&"nested"!==n.data)&&(o._tTime=-W,o.render(Math.max(0,-f))),w&&ht(E(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(U.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),p("staggerTo,staggerFrom,staggerFromTo",function(i){U[i]=function(){var t=new Z,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 si(t,e,i){return t[e](i)}function ri(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 ci(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 hi(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next}function ui(t,e,i,n){for(var o,s=this._pt;s;)o=s._next,s.p===n&&s.modifier(t,e,i),s=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 u(t[e])?si:s(t[e])&&t.setAttribute?ii:oi},fi=function(t){for(var e,i,n,o,s=t._pt;s;){for(e=s._next,i=n;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:o)?s._prev._next=s:n=s,(s._next=i)?i._prev=s:o=s,s=e}t._pt=n},G=(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,s,r,a,l){this.t=e,this.s=n,this.c=o,this.p=i,this.r=s||ai,this.d=r||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=U,a.TimelineLite=a.TimelineMax=Z,F=new Z({sortChildren:!1,defaults:le,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),j.stringFilter=Mt;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=u(t),i=e&&!i&&t.init?function(){this._props=[]}:t,n={init:y,render:hi,add:Je,kill:di,modifier:ui,rawVars:0},o={targetTest:0,get:0,getSetter:pi,aliases:{},register:0};if(De(),t!==i){if(H[e])return;D(i,D(nt(t,n),o)),Rt(i.prototype,Rt(n,nt(t,o))),H[i.prop=e]=i,t.targetTest&&(ke.push(i),Te[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}g(e,i),t.register&&t.register(h,i,G)})},timeline:function(t){return new Z(t)},getTweensOf:function(t,e){return F.getTweensOf(t,e)},getProperty:function(n,t,e,i){var o=tt((n=B(n)?L(n)[0]:n)||{}).get,s=e?x:w;return"native"===e&&(e=""),n&&(t?s((H[t]&&H[t].get||o)(n,t,e,i)):function(t,e,i){return s((H[t]&&H[t].get||o)(n,t,e,i))})},quickSetter:function(i,e,n){var o,s;if(1<(i=L(i)).length)return o=i.map(function(t){return h.quickSetter(t,e,n)}),s=o.length,function(t){for(var e=s;e--;)o[e](t)};i=i[0]||{};var r=H[e],a=tt(i),l=a.harness&&(a.harness.aliases||{})[e]||e,c=r?function(t){var e=new r;vi._pt=0,e.init(i,n?t+n:t,vi,0,[i]),e.render(1,e),vi._pt&&hi(1,vi)}:a.set(i,l);return r?c:function(t){return c(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=h.to(t,Rt(((t={})[n]="+=0.1",t.paused=!0,t),e||{}));return i.tween=o,i},isTweening:function(t){return 0<F.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,s=t.defaults,t=t.extendTimeline;(e||"").split(",").forEach(function(t){return t&&!H[t]&&!a[t]&&Q(n+" effect requires "+t+" plugin.")}),Ce[n]=function(t,e,i){return o(L(t),D(e||{},s),i)},t&&(Z.prototype[n]=function(t,e,i){return this.add(Ce[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 F.getById(t)},exportRoot:function(t,e){var i,n,o=new Z(t=void 0===t?{}:t);for(o.smoothChildTiming=!1!==t.smoothChildTiming,F.remove(o),o._dp=0,o._time=o._tTime=F._time,i=F._first;i;)n=i._next,!e&&!i._dur&&i instanceof U&&i.vars.onComplete===i._targets[0]||z(o,i,i._start-i._delay),i=n;return z(F,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,s=2*o;return I(e)?xt(e,t(0,e.length-1),i):mt(n,function(t){return e+(o<(t=(s+(t-e)%s)%s||0)?s-t:t)})},distribute:vt,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:Et,toArray:L,selector:function(i){return i=L(i)[0]||Q("Invalid scope")||{},function(t){var e=i.current||i.nativeElement||i;return L(t,e.querySelectorAll?e:e===i?Q("Invalid scope")||Ht.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 s=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!s){var r,a,l,c,h,u=B(e),d={};if(!0===n&&(o=1)&&(n=null),u)e={p:e},i={p:i};else if(I(e)&&!I(i)){for(l=[],c=e.length,h=c-2,a=1;a<c;a++)l.push(t(e[a-1],e[a]));c--,s=function(t){t*=c;var e=Math.min(h,~~t);return l[e](t-e)},n=i}else o||(e=Rt(I(e)?[]:{},e));if(!l){for(r in i)Je.call(d,e,r,"get",i[r]);s=function(t){return hi(t,d),u?e.p:e}}}return mt(n,s)},shuffle:yt},install:m,effects:Ce,ticker:f,updateRoot:Z.updateRoot,plugins:H,globalTimeline:F,core:{PropTween:G,globals:g,Tween:U,Timeline:Z,Animation:He,getCache:tt,_removeLinkedListItem:S,suppressOverwrites:function(t){return $t=t}}};function yi(t,h){return{name:t,rawVars:1,init:function(t,c,e){e._onInit=function(t){var e,i;if(B(c)&&(e={},p(c,function(t){return e[t]=1}),c=e),h){for(i in e={},c)e[i]=h(c[i]);c=e}var n,o,s,r=t,a=c,l=r._targets;for(n in a)for(o=l.length;o--;)(s=(s=r._ptLookup[o][n])&&s.d)&&(s._pt&&(s=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i}(s,n)),s&&s.modifier&&s.modifier(a[n],r,l[o],n))}}}}p("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return gi[t]=U[t]}),f.add(Z.updateRoot);var vi=gi.to({},{duration:0}),h=gi.registerPlugin({name:"attr",init:function(t,e,i,n,o){var s,r;for(s in e)(r=this.add(t,"setAttribute",(t.getAttribute(s)||0)+"",e[s],n,o,0,0,s))&&(r.op=s),this._props.push(s)}},{name:"endArray",init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i])}},yi("roundProps",_t),yi("modifiers"),yi("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 Ci(t,e,i){return t.style.setProperty(e,i)}function Ei(t,e,i){return t._gsap[e]=i}function ki(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 Mi(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 V(t,e,i){var n=getComputedStyle(t);return n[e]||n.getPropertyValue(e.replace(Tn,"-$1").toLowerCase())||n.getPropertyValue(e)||!i&&V(t,Pn(e)||e,1)||""}function Li(){"undefined"!=typeof window&&window.document&&(Xi=(Yi=window.document).documentElement,Qi=zi("div")||{style:{}},zi("div"),Y=Pn(Y),En=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,s=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=s,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 Fi(t,e){e&&(t=t.style,e in _n&&e!==En&&(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 Bi(t,e,i,n,o,s){e=new G(t._pt,e,i,0,1,s?Ai:Ti);(t._pt=e).b=n,e.e=o,t._props.push(i)}function Ni(t,e,i,n){var o,s=parseFloat(i)||0,r=(i+"").trim().substr((s+"").length)||"px",a=Qi.style,l=An.test(e),c="svg"===t.tagName.toLowerCase(),h=(c?"client":"offset")+(l?"Width":"Height"),u="px"===n,d="%"===n;return n===r||!s||Mn[n]||Mn[r]?s:("px"===r||u||(s=Ni(t,e,i,"px")),i=t.getCTM&&Ri(t),!d&&"%"!==r||!_n[e]&&!~e.indexOf("adius")?(a[l?"width":"height"]=100+(u?r:n),e=~e.indexOf("adius")||"em"===n&&t.appendChild&&!c?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(s/n.width*100):(!d&&"%"!==r||(a.position=V(t,"position")),e===t&&(a.position="static"),e.appendChild(Qi),o=Qi[h],e.removeChild(Qi),a.position="absolute",l&&d&&((n=tt(e)).time=f.time,n.width=e[h]),O(u?o*s/100:o&&s?100/o*s:0))):(o=i?t.getBBox()[l?"width":"height"]:t[h],O(d?s/o*100:s/100*o)))}function ji(t,e,i,n){var o;return Ki||Li(),e in Cn&&"transform"!==e&&~(e=Cn[e]).indexOf(",")&&(e=e.split(",")[0]),_n[e]&&"transform"!==e?(o=Dn(t,n),o="transformOrigin"!==e?o[e]:o.svg?o.origin:Rn(V(t,En))+" "+o.zOrigin+"px"):(o=t.style[e])&&"auto"!==o&&!n&&!~(o+"").indexOf("calc(")||(o=Ln[e]&&Ln[e](t,e,i)||V(t,e)||v(t,e)||("opacity"===e?1:0)),i&&!~(o+"").trim().indexOf(" ")?Ni(t,e,o,i)+i:o}function $i(t,e,i,n){var o;i&&"none"!==i||((o=(s=Pn(e,t,1))&&V(t,s,1))&&o!==i?(e=s,i=o):"borderColor"===e&&(i=V(t,"borderTopColor")));var s,r,a,l,c,h,u,d,p,f=new G(this._pt,t.style,e,0,1,ci),m=0,g=0;if(f.b=i,f.e=n,i+="","auto"==(n+="")&&(t.style[e]=n,n=V(t,e)||n,t.style[e]=i),Mt(s=[i,n]),n=s[1],r=(i=s[0]).match(ve)||[],(n.match(ve)||[]).length){for(;u=ve.exec(n);)d=u[0],u=n.substring(m,u.index),l?l=(l+1)%5:"rgba("!==u.substr(-5)&&"hsla("!==u.substr(-5)||(l=1),d!==(c=r[g++]||"")&&(a=parseFloat(c)||0,p=c.substr((a+"").length),"="===d.charAt(1)&&(d=et(a,d)+p),h=parseFloat(d),d=d.substr((h+"").length),m=ve.lastIndex-d.length,d||(d=d||j.units[e]||p,m===n.length&&(n+=d,f.e+=d)),p!==d&&(a=Ni(t,e,c,d)||0),f._pt={_next:f._pt,p:u||1===g?u:",",s:a,c:h-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,s=e.t,r=s.style,a=e.u,e=s._gsap;if("all"===a||!0===a)r.cssText="",n=1;else for(o=(a=a.split(",")).length;-1<--o;)i=a[o],_n[i]&&(n=1,i="transformOrigin"===i?En:Y),Fi(s,i);n&&(Fi(s,Y),e&&(e.svg&&s.removeAttribute("transform"),Dn(s,1),e.uncache=1))}}function Hi(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t}function qi(t){t=V(t,Y);return Hi(t)?In:t.substr(7).match(ye).map(O)}function Zi(t,e){var i,n,o,s=t._gsap||tt(t),r=t.style,a=qi(t);return s.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||s.svg||(n=r.display,r.display="block",(s=t.parentNode)&&t.offsetParent||(o=1,i=t.nextSibling,Xi.appendChild(t)),a=qi(t),n?r.display=n:Fi(t,"display"),o&&(i?s.insertBefore(t,i):s?s.appendChild(t):Xi.removeChild(t))),e&&6<a.length?[a[0],a[1],a[4],a[5],a[12],a[13]]:a)}function Ui(t,e,i,n,o,s){var r,a=t._gsap,o=o||Zi(t,!0),l=a.xOrigin||0,c=a.yOrigin||0,h=a.xOffset||0,u=a.yOffset||0,d=o[0],p=o[1],f=o[2],m=o[3],g=o[4],y=o[5],v=e.split(" "),_=parseFloat(v[0])||0,w=parseFloat(v[1])||0;i?o!==In&&(o=d*m-p*f)&&(r=_*(-p/o)+w*(d/o)-(d*y-p*g)/o,_=_*(m/o)+w*(-f/o)+(f*y-m*g)/o,w=r):(_=(o=Di(t)).x+(~v[0].indexOf("%")?_/100*o.width:_),w=o.y+(~(v[1]||v[0]).indexOf("%")?w/100*o.height:w)),n||!1!==n&&a.smooth?(a.xOffset=h+((g=_-l)*d+(y=w-c)*f)-g,a.yOffset=u+(g*p+y*m)-y):a.xOffset=a.yOffset=0,a.xOrigin=_,a.yOrigin=w,a.smooth=!!n,a.origin=e,a.originIsAbsolute=!!i,t.style[En]="0px 0px",s&&(Bi(s,a,"xOrigin",l,_),Bi(s,a,"yOrigin",c,w),Bi(s,a,"xOffset",h,a.xOffset),Bi(s,a,"yOffset",u,a.yOffset)),t.setAttribute("data-svg-origin",_+" "+w)}function Gi(t,e,i){var n=N(e);return O(parseFloat(e)+parseFloat(Ni(t,"x",i+"px",n)))+n}function Vi(t,e){for(var i in e)t[i]=e[i];return t}U.version=Z.version=h.version="3.10.4",Zt=1,l()&&De();var Yi,Xi,Ki,Qi,Ji,tn,e=q.Power0,en=q.Power1,nn=q.Power2,on=q.Power3,sn=q.Power4,rn=q.Linear,an=q.Quad,ln=q.Cubic,cn=q.Quart,hn=q.Quint,un=q.Strong,dn=q.Elastic,pn=q.Back,fn=q.SteppedEase,mn=q.Bounce,gn=q.Sine,yn=q.Expo,vn=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/,Cn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Y="transform",En=Y+"Origin",kn="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--&&!(kn[o]+t in n););return o<0?null:(3===o?"ms":0<=o?kn[o]:"")+t},Mn={deg:1,rad:1,turn:1},zn={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ln={clearProps:function(t,e,i,n,o){if("isFromStart"!==o.data)return(e=t._pt=new G(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=t._gsap||new We(t);if("x"in i&&!e&&!i.uncache)return i;var n,o,s,r,a,l,c,h,u,d,p,f,m,g,y,v,_,w,b,x,T,A,S,C,E,k,P=t.style,M=i.scaleX<0,z=V(t,En)||"0",L=n=o=r=a=l=c=h=0,I=s=1;return i.svg=!(!t.getCTM||!Ri(t)),u=Zi(t,i.svg),i.svg&&(w=(!i.uncache||"0px 0px"===z)&&!e&&t.getAttribute("data-svg-origin"),Ui(t,w||z,!!w||i.originIsAbsolute,!1!==i.smooth,u)),k=i.xOrigin||0,C=i.yOrigin||0,u!==In&&(f=u[0],m=u[1],g=u[2],y=u[3],L=v=u[4],n=_=u[5],6===u.length?(I=Math.sqrt(f*f+m*m),s=Math.sqrt(y*y+g*g),r=f||m?xn(m,f)*wn:0,(c=g||y?xn(g,y)*wn+r:0)&&(s*=Math.abs(Math.cos(c*bn))),i.svg&&(L-=k-(k*f+C*g),n-=C-(k*m+C*y))):(k=u[6],C=u[7],T=u[8],A=u[9],S=u[10],E=u[11],L=u[12],n=u[13],o=u[14],a=(u=xn(k,S))*wn,u&&(w=v*(d=Math.cos(-u))+T*(p=Math.sin(-u)),b=_*d+A*p,x=k*d+S*p,T=v*-p+T*d,A=_*-p+A*d,S=k*-p+S*d,E=C*-p+E*d,v=w,_=b,k=x),l=(u=xn(-g,S))*wn,u&&(d=Math.cos(-u),E=y*(p=Math.sin(-u))+E*d,f=w=f*d-T*p,m=b=m*d-A*p,g=x=g*d-S*p),r=(u=xn(m,f))*wn,u&&(w=f*(d=Math.cos(u))+m*(p=Math.sin(u)),b=v*d+_*p,m=m*d-f*p,_=_*d-v*p,f=w,v=b),a&&359.9<Math.abs(a)+Math.abs(r)&&(a=r=0,l=180-l),I=O(Math.sqrt(f*f+m*m+g*g)),s=O(Math.sqrt(_*_+k*k)),u=xn(v,_),c=2e-4<Math.abs(u)?u*wn:0,h=E?1/(E<0?-E:E):0),i.svg&&(w=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Hi(V(t,Y)),w&&t.setAttribute("transform",w))),90<Math.abs(c)&&Math.abs(c)<270&&(M?(I*=-1,c+=r<=0?180:-180,r+=r<=0?180:-180):(s*=-1,c+=c<=0?180:-180)),e=e||i.uncache,i.x=L-((i.xPercent=L&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-L)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+"px",i.y=n-((i.yPercent=n&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+"px",i.z=o+"px",i.scaleX=O(I),i.scaleY=O(s),i.rotation=O(r)+"deg",i.rotationX=O(a)+"deg",i.rotationY=O(l)+"deg",i.skewX=c+"deg",i.skewY="0deg",i.transformPerspective=h+"px",(i.zOrigin=parseFloat(z.split(" ")[2])||0)&&(P[En]=Rn(z)),i.xOffset=i.yOffset=0,i.force3D=j.force3D,i.renderTransform=i.svg?jn:tn?Nn:Fn,i.uncache=0,i},Rn=function(t){return(t=t.split(" "))[0]+" "+t[1]},Fn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Nn(t,e)},Bn="0deg",Nn=function(t,e){var i,n,e=e||this,o=e.xPercent,s=e.yPercent,r=e.x,a=e.y,l=e.z,c=e.rotation,h=e.rotationY,u=e.rotationX,d=e.skewX,p=e.skewY,f=e.scaleX,m=e.scaleY,g=e.transformPerspective,y=e.force3D,v=e.target,e=e.zOrigin,_="",t="auto"===y&&t&&1!==t||!0===y;!e||u===Bn&&h===Bn||(y=parseFloat(h)*bn,n=Math.sin(y),i=Math.cos(y),y=parseFloat(u)*bn,r=Gi(v,r,n*(n=Math.cos(y))*-e),a=Gi(v,a,-Math.sin(y)*-e),l=Gi(v,l,i*n*-e+e)),"0px"!==g&&(_+="perspective("+g+") "),(o||s)&&(_+="translate("+o+"%, "+s+"%) "),!t&&"0px"===r&&"0px"===a&&"0px"===l||(_+="0px"!==l||t?"translate3d("+r+", "+a+", "+l+") ":"translate("+r+", "+a+") "),c!==Bn&&(_+="rotate("+c+") "),h!==Bn&&(_+="rotateY("+h+") "),u!==Bn&&(_+="rotateX("+u+") "),d===Bn&&p===Bn||(_+="skew("+d+", "+p+") "),1===f&&1===m||(_+="scale("+f+", "+m+") "),v.style[Y]=_||"translate(0, 0)"},jn=function(t,e){var i,n,o,s,r,e=e||this,a=e.xPercent,l=e.yPercent,c=e.x,h=e.y,u=e.rotation,d=e.skewX,p=e.skewY,f=e.scaleX,m=e.scaleY,g=e.target,y=e.xOrigin,v=e.yOrigin,_=e.xOffset,w=e.yOffset,e=e.forceCSS,b=parseFloat(c),x=parseFloat(h),u=parseFloat(u),d=parseFloat(d);(p=parseFloat(p))&&(d+=p=parseFloat(p),u+=p),u||d?(u*=bn,d*=bn,i=Math.cos(u)*f,n=Math.sin(u)*f,o=Math.sin(u-d)*-m,s=Math.cos(u-d)*m,d&&(p*=bn,r=Math.tan(d-p),o*=r=Math.sqrt(1+r*r),s*=r,p&&(r=Math.tan(p),i*=r=Math.sqrt(1+r*r),n*=r)),i=O(i),n=O(n),o=O(o),s=O(s)):(i=f,s=m,n=o=0),(b&&!~(c+"").indexOf("px")||x&&!~(h+"").indexOf("px"))&&(b=Ni(g,"x",c,"px"),x=Ni(g,"y",h,"px")),(y||v||_||w)&&(b=O(b+y-(y*i+v*o)+_),x=O(x+v-(y*n+v*s)+w)),(a||l)&&(b=O(b+a/100*(r=g.getBBox()).width),x=O(x+l/100*r.height)),g.setAttribute("transform",r="matrix("+i+","+n+","+o+","+s+","+b+","+x+")"),e&&(g.style[Y]=r)};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});Ln[1<i?"border"+e:e]=function(e,t,i,n,o){var s,r;if(arguments.length<4)return s=a.map(function(t){return ji(e,t,i)}),5===(r=s.join(" ")).split(s[0]).length?s[0]:r;s=(n+"").split(" "),r={},a.forEach(function(t,e){return r[t]=s[e]=s[e]||s[(e-1)/2|0]}),e.init(t,r,o)}});var $n,Wn={name:"css",register:Li,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,n,o){var s,r,a,l,c,h,u,d,p,R,f,m,F,g,y,v,_,w,b,x=this._props,T=t.style,A=i.vars.startAt;for(c in Ki||Li(),e)if("autoRound"!==c&&(r=e[c],!H[c]||!Ge(c,e,i,n,t,o)))if(d=typeof r,l=Ln[c],"function"===d&&(d=typeof(r=r.call(i,n,t,o))),"string"===d&&~r.indexOf("random(")&&(r=Tt(r)),l)l(this,t,c,r,i)&&(F=1);else if("--"===c.substr(0,2))s=(getComputedStyle(t).getPropertyValue(c)+"").trim(),r+="",Ie.lastIndex=0,Ie.test(s)||(h=N(s),u=N(r)),u?h!==u&&(s=Ni(t,c,s,u)+u):h&&(r+=h),this.add(T,"setProperty",s,r,n,o,0,0,c),x.push(c);else if("undefined"!==d){if(A&&c in A?(N((s=B(s="function"==typeof A[c]?A[c].call(i,n,t,o):A[c])&&~s.indexOf("random(")?Tt(s):s)+"")||(s+=j.units[c]||N(ji(t,c))||""),"="===(s+"").charAt(1)&&(s=ji(t,c))):s=ji(t,c),l=parseFloat(s),(d="string"===d&&"="===r.charAt(1)&&r.substr(0,2))&&(r=r.substr(2)),a=parseFloat(r),c in Cn&&("autoAlpha"===c&&Bi(this,T,"visibility",(l=1===l&&"hidden"===ji(t,"visibility")&&a?0:l)?"inherit":"hidden",a?"inherit":"hidden",!a),"scale"!==c&&"transform"!==c&&~(c=Cn[c]).indexOf(",")&&(c=c.split(",")[0])),p=c in _n)if(R||((f=t._gsap).renderTransform&&!e.parseTransform||Dn(t,e.parseTransform),m=!1!==e.smoothOrigin&&f.smooth,(R=this._pt=new G(this._pt,T,Y,0,1,f.renderTransform,f,0,-1)).dep=1),"scale"===c)this._pt=new G(this._pt,f,"scaleY",f.scaleY,(d?et(f.scaleY,d+a):a)-f.scaleY||0),x.push("scaleY",c),c+="X";else{if("transformOrigin"===c){b=w=_=void 0,_=(v=r).split(" "),w=_[0],b=_[1]||"50%","top"!==w&&"bottom"!==w&&"left"!==b&&"right"!==b||(v=w,w=b,b=v),_[0]=zn[w]||w,_[1]=zn[b]||b,r=_.join(" "),f.svg?Ui(t,r,0,m,0,this):((u=parseFloat(r.split(" ")[2])||0)!==f.zOrigin&&Bi(this,f,"zOrigin",f.zOrigin,u),Bi(this,T,c,Rn(s),Rn(r)));continue}if("svgOrigin"===c){Ui(t,r,1,m,0,this);continue}if(c in On){v=this,w=f,b=c,_=l,g=d?et(l,d+r):r,y=D=L=void 0,L=B(g),D=parseFloat(g)*(L&&~g.indexOf("rad")?wn:1)-_,y=_+D+"deg",L&&("short"===(L=g.split("_")[1])&&(D%=360)!=D%180&&(D+=D<0?360:-360),"cw"===L&&D<0?D=(D+36e9)%360-360*~~(D/360):"ccw"===L&&0<D&&(D=(D-36e9)%360-360*~~(D/360))),v._pt=g=new G(v._pt,w,b,_,D,wi),g.e=y,g.u="deg",v._props.push(b);continue}if("smoothOrigin"===c){Bi(this,f,"smooth",f.smooth,r);continue}if("force3D"===c){f[c]=r;continue}if("transform"===c){D=O=M=P=k=P=E=C=S=I=L=z=void 0;var S,C,E,k,P,M,z=this,L=r,I=t,O=Vi({},I._gsap),D=I.style;for(C in O.svg?(E=I.getAttribute("transform"),I.setAttribute("transform",""),D[Y]=L,S=Dn(I,1),Fi(I,Y),I.setAttribute("transform",E)):(E=getComputedStyle(I)[Y],D[Y]=L,S=Dn(I,1),D[Y]=E),_n)(E=O[C])!==(P=S[C])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(C)<0&&(k=N(E)!==(M=N(P))?Ni(I,C,E,M):parseFloat(E),P=parseFloat(P),z._pt=new G(z._pt,S,C,k,P-k,_i),z._pt.u=M||0,z._props.push(C));Vi(S,O);continue}}else c in T||(c=Pn(c)||c);if(p||(a||0===a)&&(l||0===l)&&!Sn.test(r)&&c in T)a=a||0,(h=(s+"").substr((l+"").length))!==(u=N(r)||(c in j.units?j.units[c]:h))&&(l=Ni(t,c,s,u)),this._pt=new G(this._pt,p?f:T,c,l,(d?et(l,d+a):a)-l,p||"px"!==u&&"zIndex"!==c||!1===e.autoRound?_i:xi),this._pt.u=u||0,h!==u&&"%"!==u&&(this._pt.b=s,this._pt.r=bi);else if(c in T)$i.call(this,t,c,s,d?d+r:r);else{if(!(c in t)){K(c,r);continue}this.add(t,c,s||t[c],d?d+r:r,n,o)}x.push(c)}F&&fi(this)},get:ji,aliases:Cn,getSetter:function(t,e,i){var n=Cn[e];return(e=n&&n.indexOf(",")<0?n:e)in _n&&e!==En&&(t._gsap.x||ji(t,"x"))?i&&Ji===i?"scale"===e?ki:Ei:(Ji=i||{})&&("scale"===e?Pi:Mi):t.style&&!s(t.style[e])?Si:~e.indexOf("-")?Ci:pi(t,e)},core:{_removeProperty:Fi,_getMatrix:Zi}},Hn=(h.utils.checkPrefix=Pn,$n=p("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(Hn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){_n[t]=1}),p(Hn,function(t){j.units[t]="deg",On[t]=1}),Cn[$n[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+Hn,p("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){t=t.split(":");Cn[t[1]]=$n[t[0]]}),p("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){j.units[t]="px"}),h.registerPlugin(Wn),h.registerPlugin(Wn)||h),qn=Hn.core.Tween;t.Back=pn,t.Bounce=mn,t.CSSPlugin=Wn,t.Circ=vn,t.Cubic=ln,t.Elastic=dn,t.Expo=yn,t.Linear=rn,t.Power0=e,t.Power1=en,t.Power2=nn,t.Power3=on,t.Power4=sn,t.Quad=an,t.Quart=cn,t.Quint=hn,t.Sine=gn,t.SteppedEase=fn,t.Strong=un,t.TimelineLite=Z,t.TimelineMax=Z,t.TweenLite=U,t.TweenMax=qn,t.default=Hn,t.gsap=Hn,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),function(h){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=h.extend({},n,e),this._defaults=n,this._name=i,this.init()}e.prototype={init:function(){var e,i,n,o,s,r=this.settings,a=h(this.element),t=a.width(),l=(a.height(),a.width()-r.sensitivity),c=(t-l)/l;(r.scale||!r.scaleOnHover&&r.scale)&&TweenMax.set(a.find("img"),{scale:r.scaleTo}),"string"===jQuery.type(r.moveTarget)&&(r.moveTarget=h(this.element).parent(r.moveTarget)),r.moveTarget||(r.moveTarget=h(this.element)),r.moveTarget.on("mousemove",function(t){i=t.pageX-a.offset().left,e=t.pageY-a.offset().top,r.panX&&(n={x:-c*i}),r.panY&&(o={y:-c*e}),i=h.extend({},n,o),TweenMax.to(a.find("img"),r.panDuration,i)}),r.moveTarget.on("mouseenter",function(t){r.scaleOnHover&&TweenMax.to(a.find("img"),r.scaleDuration,{scale:r.scaleTo}),r.onEnter(a)}),r.scale&&(r.scaleOnHover||r.scale)?r.resetPanOnMouseLeave&&(s={x:0,y:0}):s={scale:1,x:0,y:0},r.moveTarget.on("mouseleave",function(t){var e=r.scaleDuration+.2;TweenMax.to(a.find("img"),e,s),r.onLeave(a)})}},h.fn.panr=function(t){return this.each(function(){h.data(this,"plugin_panr")||h.data(this,"plugin_panr",new e(this,t))})}}(jQuery,(window,document)),function(C){C(function(){C(window).width()<=1024||!C("body").hasClass("elementor-editor-active")&&0===C(".wd-parallax-on-scroll").length&&0===C("[data-parallax]").length||t.init()});var t={showLogs:!1,round:1e3,init:function(){if(this._log("init"),this._inited)return this._log("Already Inited"),void(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=C(document).scrollTop(),S=C(window).height();this._log("onScroll "+A),C("[data-parallax], .wd-parallax-on-scroll").each(C.proxy(function(t,e){var r=C(e),a=[],l=!1,i=r.data("style");if(null==i&&(i=r.attr("style")||"",r.data("style",i)),r.hasClass("wd-parallax-on-scroll"))for(var n=r.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=[r.data("parallax")];for(u=2;r.data("parallax"+u);u++)o.push(r.data("parallax-"+u));for(var s,c,h=o.length,u=0;u<h;u++){var d,p,f,m,g=(d=o[u])["from-scroll"],y=(null==g&&(g=Math.max(0,C(e).offset().top-S)),g|=0,d.distance),v=d["to-scroll"],_=(null==y&&null==v&&(y=S),y=Math.max(0|y,1),d.easing),w=d["easing-return"],b=(null!=_&&C.easing&&C.easing[_]||(_=null),null!=w&&C.easing&&C.easing[w]||(w=_),_&&(null==(p=d.duration)&&(p=y),p=Math.max(0|p,1),null==(f=d["duration-return"])&&(f=p),y=1,null==(m=r.data("current-time"))&&(m=0)),null==v&&(v=g+y),v|=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,v),_&&(null==r.data("sens")&&r.data("sens","back"),g<x&&("back"==r.data("sens")?(m=1,r.data("sens","go")):m++),x<v&&("go"==r.data("sens")?(m=1,r.data("sens","back")):m++),T&&(m=p),r.data("current-time",m)),this._properties.map(C.proxy(function(t){var e,i,n,o=0,s=d[t];null!=s&&("scale"==t||"scaleX"==t||"scaleY"==t||"scaleZ"==t?o=1:s|=0,n=(e=null==(e=r.data("_"+t))?o:e)+((i=(x-g)/(v-g)*(s-o)+o)-e)/b,_&&0<m&&m<=p&&(o=o,"back"==r.data("sens")&&(s=-(o=s),_=w,p=f),n=C.easing[_](null,m,o,s,p)),(n=Math.ceil(n*this.round)/this.round)==e&&i==s&&(n=s),a[t]||(a[t]=0),a[t]+=n,e!=a[t]&&(r.data("_"+t,a[t]),l=!0))},this))}l&&(null!=a.z&&(null==(c=d.perspective)&&(c=800),(s=r.parent()).data("style")||s.data("style",s.attr("style")||""),s.attr("style","perspective:"+c+"px; -webkit-perspective:"+c+"px; "+s.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),c="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+")")+";",this._log(c),r.attr("style","transform:"+c+" -webkit-transform:"+c+" "+i))},this)),window.requestAnimationFrame?window.requestAnimationFrame(C.proxy(this._onScroll,this,!1)):this._requestAnimationFrame(C.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 s=1.70158,r=0,a=n;return 0==e?i:1==(e/=o)?i+n:(r=r||.3*o,s=a<Math.abs(n)?(a=n,r/4):r/(2*Math.PI)*Math.asin(n/a),-(a*Math.pow(2,10*--e)*Math.sin((e*o-s)*(2*Math.PI)/r))+i)},easeOutElastic:function(t,e,i,n,o){var s=1.70158,r=0,a=n;return 0==e?i:1==(e/=o)?i+n:(r=r||.3*o,s=a<Math.abs(n)?(a=n,r/4):r/(2*Math.PI)*Math.asin(n/a),a*Math.pow(2,-10*e)*Math.sin((e*o-s)*(2*Math.PI)/r)+n+i)},easeInOutElastic:function(t,e,i,n,o){var s=1.70158,r=0,a=n;return 0==e?i:2==(e/=o/2)?i+n:(r=r||o*(.3*1.5),s=a<Math.abs(n)?(a=n,r/4):r/(2*Math.PI)*Math.asin(n/a),e<1?a*Math.pow(2,10*--e)*Math.sin((e*o-s)*(2*Math.PI)/r)*-.5+i:a*Math.pow(2,-10*--e)*Math.sin((e*o-s)*(2*Math.PI)/r)*.5+n+i)},easeInBack:function(t,e,i,n,o,s){return n*(e/=o)*e*(((s=null==s?1.70158:s)+1)*e-s)+i},easeOutBack:function(t,e,i,n,o,s){return n*((e=e/o-1)*e*(((s=null==s?1.70158:s)+1)*e+s)+1)+i},easeInOutBack:function(t,e,i,n,o,s){return null==s&&(s=1.70158),(e/=o/2)<1?n/2*(e*e*((1+(s*=1.525))*e-s))+i:n/2*((e-=2)*e*((1+(s*=1.525))*e+s)+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 c=l(window),h=c.height();c.on("resize",function(){h=c.height()}),l.fn.parallax=function(n,o,t){var s,r,a=l(this);function e(){var i=c.scrollTop();a.hasClass("wd-parallax")&&a.each(function(){var t=l(this),e=t.offset().top;e+s(t)<i||i+h<e||a.attr("style","background-position: "+n+" "+Math.round((r-i)*o)+"px !important")})}a.each(function(){r=a.offset().top}),s=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),c.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,B){function t(){return{x:0,y:0}}function N(t,e){g.extend(y,e.publicMethods),qt.push(t)}function j(t){var e=I();return e-1<t?t-e:t<0?e+t:t}function s(t,e){return Gt[t]||(Gt[t]=[]),Gt[t].push(e)}function $(t,e,i,n){n===y.currItem.initialZoomLevel?i[t]=y.currItem.initialPosition[t]:(i[t]=Qt(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="";v.escKey&&27===t.keyCode?e="close":v.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,y[e]())}function H(t){t&&(Et||Ct||m||Tt)&&(t.preventDefault(),t.stopPropagation())}function q(){y.setScrollOffset(0,g.getScrollY())}function Z(t){var e;"mousedown"===t.type&&0<t.button||(Qe?t.preventDefault():At&&"mousedown"===t.type||(Me(t,!0)&&t.preventDefault(),T("pointerDown"),dt&&((e=g.arraySearch(fe,t.pointerId,"id"))<0&&(e=fe.length),fe[e]={x:t.pageX,y:t.pageY,id:t.pointerId}),t=(e=Be(t)).length,c=null,le(),l&&1!==t||(l=It=!0,g.bind(window,J,y),xt=Rt=Ot=Tt=Pt=Et=St=Ct=!1,Lt=null,T("firstTouchStart",e),E(jt,_),Nt.x=Nt.y=0,E(z,e[0]),E(pe,z),me.x=b.x*$t,ge=[{x:z.x,y:z.y}],wt=_t=A(),ie(f,!0),Se(),Ce()),!h&&1<t&&!m&&!Pt&&(et=f,h=St=!(Ct=!1),Nt.y=Nt.x=0,E(jt,_),E(P,e[0]),E(de,e[1]),Le(P,de,xe),be.x=Math.abs(xe.x)-_.x,be.y=Math.abs(xe.y)-_.y,Mt=Ae(P,de))))}function U(t){var e;t.preventDefault(),dt&&-1<(e=g.arraySearch(fe,t.pointerId,"id"))&&((e=fe[e]).x=t.pageX,e.y=t.pageY),l&&(e=Be(t),Lt||Et||h?c=e:L.x!==b.x*$t?Lt="h":(t=Math.abs(e[0].x-z.x)-Math.abs(e[0].y-z.y),Math.abs(t)>=ue&&(Lt=0<t?"h":"v",c=e)))}function G(t){if(a.isOldAndroid){if(At&&"mouseup"===t.type)return;-1<t.type.indexOf("touch")&&(clearTimeout(At),At=setTimeout(function(){At=0},600))}T("pointerUp"),Me(t,!1)&&t.preventDefault(),dt&&-1<(s=g.arraySearch(fe,t.pointerId,"id"))&&(e=fe.splice(s,1)[0],navigator.pointerEnabled?e.type=t.pointerType||"mouse":(e.type={4:"mouse",2:"touch",3:"pen"}[t.pointerType],e.type||(e.type=t.pointerType||"mouse")));var e,i=(s=Be(t)).length;if(2===(i="mouseup"===t.type?0:i))return!(c=null);1===i&&E(pe,s[0]),0!==i||Lt||m||(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"})),T("touchRelease",t,e));var n,o,s=-1;if(0===i&&(l=!1,g.unbind(window,J,y),Se(),h?s=0:-1!==we&&(s=A()-we)),we=1===i?A():-1,t=-1!==s&&s<150?"zoom":"swipe",h&&i<2&&(h=!1,1===i&&(t="zoomPointerUp"),T("zoomGestureEnded")),c=null,Et||Ct||m||Tt)if(le(),(bt=bt||$e()).calculateSwipeSpeed("x"),Tt)Oe()<v.verticalDragRange?y.close():(n=_.y,o=Dt,ce("verticalDrag",0,1,300,g.easing.cubic.out,function(t){_.y=(y.currItem.initialPosition.y-n)*t+n,S((1-o)*t+o),C()}),T("onVerticalDrag",1));else{if((Pt||m)&&0===i){if(He(t,bt))return;t="zoomPointerUp"}m||("swipe"!==t?Ze():!Pt&&f>y.currItem.fitRatio&&We(bt))}}var V,Y,X,p,K,Q,J,tt,i,f,et,it,nt,ot,st,r,rt,at,lt,ct,ht,ut,dt,n,pt,ft,mt,gt,yt,vt,a,_t,wt,bt,xt,Tt,At,l,St,Ct,Et,kt,Pt,c,h,Mt,u,zt,m,Lt,It,Ot,Dt,Rt,Ft,g={features:null,bind:function(t,e,i,n){var o=(n?"remove":"add")+"EventListener";e=e.split(" ");for(var s=0;s<e.length;s++)e[s]&&t[o](e[s],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){g.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){g.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(g.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(g.features)return g.features;for(var t,e,i,n,o,s=g.createEl().style,r="",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"]),c=["","webkit","Moz","ms","O"],h=0;h<4;h++){for(var r=c[h],u=0;u<3;u++)i=l[u],n=r+(r?i.charAt(0).toUpperCase()+i.slice(1):i),!a[i]&&n in s&&(a[i]=n);r&&!a.raf&&(r=r.toLowerCase(),a.raf=window[r+"RequestAnimationFrame"],a.raf&&(a.caf=window[r+"CancelAnimationFrame"]||window[r+"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,g.features=a}},y=(g.detectFeatures(),g.features.oldIE&&(g.bind=function(t,e,i,n){e=e.split(" ");for(var o,s=(n?"detach":"attach")+"Event",r=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]=r;t[s]("on"+o,i["oldIE"+o])}else t[s]("on"+o,i)}),this),Bt=25,v={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"},Nt=(g.extend(v,B),t()),jt=t(),_=t(),w={},$t=0,Wt={},b=t(),x=0,Ht=!0,qt=[],Zt={},Ut=!1,Gt={},T=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(y,i)}},A=function(){return(new Date).getTime()},S=function(t){Dt=t,y.bg.style.opacity=t*v.bgOpacity},Vt=function(t,e,i,n,o){(!Ut||o&&o!==y.currItem)&&(n/=(o||y.currItem).fitRatio),t[ut]=it+e+"px, "+i+"px"+nt+" scale("+n+")"},C=function(t){zt&&(t&&(f>y.currItem.fitRatio?Ut||(ai(y.currItem,!1,!0),Ut=!0):Ut&&(ai(y.currItem),Ut=!1)),Vt(zt,_.x,_.y,f))},Yt=function(t){t.container&&Vt(t.container.style,t.initialPosition.x,t.initialPosition.y,t.initialZoomLevel,t)},Xt=function(t,e){e[ut]=it+t+"px, 0px"+nt},Kt=function(t,e){var i;!v.loop&&e&&(e=p+(b.x*$t-t)/b.x,i=Math.round(t-L.x),(e<0&&0<i||e>=I()-1&&i<0)&&(t=L.x+i*v.mainScrollEndFriction)),L.x=t,Xt(t,K)},Qt=function(t,e){var i=be[t]-Wt[t];return jt[t]+Nt[t]+i-e/et*i},E=function(t,e){t.x=e.x,t.y=e.y,e.id&&(t.id=e.id)},Jt=function(t){t.x=Math.round(t.x),t.y=Math.round(t.y)},te=null,ee=function(){te&&(g.unbind(document,"mousemove",ee),g.addClass(d,"pswp--has_mouse"),v.mouseUsed=!0,T("mouseUsed")),te=setTimeout(function(){te=null},100)},ie=function(t,e){t=si(y.currItem,w,t);return e&&(u=t),t},ne=function(t){return(t=t||y.currItem).initialZoomLevel},oe=function(t){return 0<(t=t||y.currItem).w?v.maxSpreadZoom:1},k={},se=0,re=function(t){k[t]&&(k[t].raf&&ft(k[t].raf),se--,delete k[t])},ae=function(t){k[t]&&re(t),k[t]||(se++,k[t]={})},le=function(){for(var t in k)k.hasOwnProperty(t)&&re(t)},ce=function(t,e,i,n,o,s,r){function a(){if(k[t]){if(l=A()-c,n<=l)return re(t),s(i),void(r&&r());s((i-e)*o(l/n)+e),k[t].raf=pt(a)}}var l,c=A();ae(t);a()},B={shout:T,listen:s,viewportSize:w,options:v,isMainScrollAnimating:function(){return m},getZoomLevel:function(){return f},getCurrentIndex:function(){return p},isDragging:function(){return l},isZooming:function(){return h},setScrollOffset:function(t,e){Wt.x=t,vt=Wt.y=e,T("updateScrollOffset",Wt)},applyZoomPan:function(t,e,i,n){_.x=e,_.y=i,f=t,C(n)},init:function(){if(!V&&!Y){y.framework=g,y.template=d,y.bg=g.getChildByClass(d,"pswp__bg"),mt=d.className,V=!0,a=g.detectFeatures(),pt=a.raf,ft=a.caf,ut=a.transform,yt=a.oldIE,y.scrollWrap=g.getChildByClass(d,"pswp__scroll-wrap"),y.container=g.getChildByClass(y.scrollWrap,"pswp__container"),K=y.container.style,y.itemHolders=r=[{el:y.container.children[0],wrap:0,index:-1},{el:y.container.children[1],wrap:0,index:-1},{el:y.container.children[2],wrap:0,index:-1}],r[0].el.style.display=r[2].el.style.display="none",!function(){var t;if(ut)return t=a.perspective&&!n,it="translate"+(t?"3d(":"("),nt=a.perspective?", 0px)":")";ut="left",g.addClass(d,"pswp--ie"),Xt=function(t,e){e.left=t+"px"},Yt=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;zt&&(t=zt,i=(n=1<(e=y.currItem).fitRatio?1:e.fitRatio)*e.w,n=n*e.h,t.width=i+"px",t.height=n+"px",t.left=_.x+"px",t.top=_.y+"px")}}(),i={resize:y.updateSize,scroll:q,keydown:W,click:H};var t,e=a.isOldIOSPhone||a.isOldAndroid||a.isMobileOpera;for(a.animationName&&a.transform&&!e||(v.showAnimationDuration=v.hideAnimationDuration=0),t=0;t<qt.length;t++)y["init"+qt[t]]();F&&(y.ui=new F(y,g)).init(),T("firstUpdate"),p=p||v.index||0,(isNaN(p)||p<0||p>=I())&&(p=0),y.currItem=Je(p),(a.isOldIOSPhone||a.isOldAndroid)&&(Ht=!1),d.setAttribute("aria-hidden","false"),v.modal&&(Ht?d.style.position="fixed":(d.style.position="absolute",d.style.top=g.getScrollY()+"px")),void 0===vt&&(T("initialLayout"),vt=gt=g.getScrollY());e="pswp--open ";for(v.mainClass&&(e+=v.mainClass+" "),v.showHideOpacity&&(e+="pswp--animate_opacity "),e=(e=(e+=n?"pswp--touch":"pswp--notouch")+(a.animationName?" pswp--css_animation":""))+(a.svg?" pswp--svg":""),g.addClass(d,e),y.updateSize(),Q=-1,x=null,t=0;t<3;t++)Xt((t+Q)*b.x,r[t].el.style);yt||g.bind(y.scrollWrap,tt,y),s("initialZoomInEnd",function(){y.setContent(r[0],p-1),y.setContent(r[2],p+1),r[0].el.style.display=r[2].el.style.display="block",v.focus&&d.focus(),g.bind(document,"keydown",y),a.transform&&g.bind(y.scrollWrap,"click",y),v.mouseUsed||g.bind(document,"mousemove",ee),g.bind(window,"resize scroll",y),T("bindEvents")}),y.setContent(r[1],p),y.updateCurrItem(),T("afterInit"),Ht||(ot=setInterval(function(){se||l||h||f!==y.currItem.initialZoomLevel||y.updateSize()},1e3)),g.addClass(d,"pswp--visible")}},close:function(){V&&(Y=!(V=!1),T("close"),g.unbind(window,"resize",y),g.unbind(window,"scroll",i.scroll),g.unbind(document,"keydown",y),g.unbind(document,"mousemove",ee),a.transform&&g.unbind(y.scrollWrap,"click",y),l&&g.unbind(window,J,y),T("unbindEvents"),ti(y.currItem,null,!0,y.destroy))},destroy:function(){T("destroy"),Ye&&clearTimeout(Ye),d.setAttribute("aria-hidden","true"),d.className=mt,ot&&clearInterval(ot),g.unbind(y.scrollWrap,tt,y),g.unbind(window,"scroll",y),Se(),le(),Gt=null},panTo:function(t,e,i){i||(t>u.min.x?t=u.min.x:t<u.max.x&&(t=u.max.x),e>u.min.y?e=u.min.y:e<u.max.y&&(e=u.max.y)),_.x=t,_.y=e,C()},handleEvent:function(t){t=t||window.event,i[t.type]&&i[t.type](t)},goTo:function(t){var e=(t=j(t))-p;x=e,p=t,y.currItem=Je(p),$t-=e,Kt(b.x*$t),le(),m=!1,y.updateCurrItem()},next:function(){y.goTo(p+1)},prev:function(){y.goTo(p-1)},updateCurrZoomItem:function(t){var e;t&&T("beforeChange",0),zt=r[1].el.children.length?(e=r[1].el.children[0],g.hasClass(e,"pswp__zoom-wrap")?e.style:null):null,u=y.currItem.bounds,et=f=y.currItem.initialZoomLevel,_.x=u.center.x,_.y=u.center.y,t&&T("afterChange")},invalidateCurrItems:function(){st=!0;for(var t=0;t<3;t++)r[t].item&&(r[t].item.needsUpdate=!0)},updateCurrItem:function(t){if(0!==x){var e,i=Math.abs(x);if(!(t&&i<2)){y.currItem=Je(p),Ut=!1,T("beforeChange",x),3<=i&&(Q+=x+(0<x?-3:3),i=3);for(var n=0;n<i;n++)0<x?(e=r.shift(),r[2]=e,Xt((++Q+2)*b.x,e.el.style),y.setContent(e,p-i+n+1+1)):(e=r.pop(),r.unshift(e),Xt(--Q*b.x,e.el.style),y.setContent(e,p+i-n-1-1));!zt||1!==Math.abs(x)||(t=Je(rt)).initialZoomLevel!==f&&(si(t,w),ai(t),Yt(t)),x=0,y.updateCurrZoomItem(),rt=p,T("afterChange")}}},updateSize:function(t){if(!Ht&&v.modal){var e=g.getScrollY();if(vt!==e&&(d.style.top=e+"px",vt=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(w.x=y.scrollWrap.clientWidth,w.y=y.scrollWrap.clientHeight,q(),b.x=w.x+Math.round(w.x*v.spacing),b.y=w.y,Kt(b.x*$t),T("beforeResize"),void 0!==Q){for(var i,n,o,s=0;s<3;s++)i=r[s],Xt((s+Q)*b.x,i.el.style),o=p+s-1,v.loop&&2<I()&&(o=j(o)),(n=Je(o))&&(st||n.needsUpdate||!n.bounds)?(y.cleanSlide(n),y.setContent(i,o),1===s&&(y.currItem=n,y.updateCurrZoomItem(!0)),n.needsUpdate=!1):-1===i.index&&0<=o&&y.setContent(i,o),n&&n.container&&(si(n,w),ai(n),Yt(n));st=!1}et=f=y.currItem.initialZoomLevel,(u=y.currItem.bounds)&&(_.x=u.center.x,_.y=u.center.y,C(!0)),T("resize")},zoomTo:function(e,t,i,n,o){t&&(et=f,be.x=Math.abs(t.x)-_.x,be.y=Math.abs(t.y)-_.y,E(jt,_));function s(t){1===t?(f=e,_.x=r.x,_.y=r.y):(f=(e-a)*t+a,_.x=(r.x-l.x)*t+l.x,_.y=(r.y-l.y)*t+l.y),o&&o(t),C(1===t)}var t=ie(e,!1),r={},a=($("x",t,r,e),$("y",t,r,e),f),l={x:_.x,y:_.y};Jt(r);i?ce("customZoomTo",0,1,i,n||g.easing.sine.inOut,s):s(1)}},he=30,ue=10,P={},de={},M={},z={},pe={},fe=[],me={},ge=[],ye={},ve=0,_e=t(),we=0,L=t(),be=t(),xe=t(),Te=function(t,e){return t.x===e.x&&t.y===e.y},Ae=function(t,e){return ye.x=Math.abs(t.x-e.x),ye.y=Math.abs(t.y-e.y),Math.sqrt(ye.x*ye.x+ye.y*ye.y)},Se=function(){kt&&(ft(kt),kt=null)},Ce=function(){l&&(kt=pt(Ce),je())},Ee=function(){return!("fit"===v.scaleMode&&f===y.currItem.initialZoomLevel)},ke=function(t,e){return!!t&&(!(t.className&&-1<t.className.indexOf("pswp__scroll-wrap"))&&(e(t)?t:ke(t.parentNode,e)))},Pe={},Me=function(t,e){return Pe.prevent=!ke(t.target,v.isClickableElement),T("preventDragEvent",t,e,Pe),Pe.prevent},ze=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)},Ie=function(t,e,i){var n;50<t-wt&&((n=2<ge.length?ge.shift():{}).x=e,n.y=i,ge.push(n),wt=t)},Oe=function(){var t=_.y-y.currItem.initialPosition.y;return 1-Math.abs(t/(w.y/2))},De={},Re={},Fe=[],Be=function(t){for(;0<Fe.length;)Fe.pop();return dt?(Ft=0,fe.forEach(function(t){0===Ft?Fe[0]=t:1===Ft&&(Fe[1]=t),Ft++})):-1<t.type.indexOf("touch")?t.touches&&0<t.touches.length&&(Fe[0]=ze(t.touches[0],De),1<t.touches.length&&(Fe[1]=ze(t.touches[1],Re))):(De.x=t.pageX,De.y=t.pageY,De.id="",Fe[0]=De),Fe},Ne=function(t,e){var i,n,o,s=_[t]+e[t],r=0<e[t],a=L.x+e.x,l=L.x-me.x,c=s>u.min[t]||s<u.max[t]?v.panEndFriction:1,s=_[t]+e[t]*c;if((v.allowPanToNext||f===y.currItem.initialZoomLevel)&&(zt?"h"!==Lt||"x"!==t||Ct||(r?(s>u.min[t]&&(c=v.panEndFriction,u.min[t],i=u.min[t]-jt[t]),(i<=0||l<0)&&1<I()?(o=a,l<0&&a>me.x&&(o=me.x)):u.min.x!==u.max.x&&(n=s)):(s<u.max[t]&&(c=v.panEndFriction,u.max[t],i=jt[t]-u.max[t]),(i<=0||0<l)&&1<I()?(o=a,0<l&&a<me.x&&(o=me.x)):u.min.x!==u.max.x&&(n=s))):o=a,"x"===t))return void 0!==o&&(Kt(o,!0),Pt=o!==me.x),u.min.x!==u.max.x&&(void 0!==n?_.x=n:Pt||(_.x+=e.x*c)),void 0!==o;m||Pt||f>y.currItem.fitRatio&&(_[t]+=e[t]*c)},je=function(){if(c){var t,e,i,n,o,s=c.length;if(0!==s)if(E(P,c[0]),M.x=P.x-z.x,M.y=P.y-z.y,h&&1<s)z.x=P.x,z.y=P.y,!M.x&&!M.y&&Te(c[1],de)||(E(de,c[1]),Ct||(Ct=!0,T("zoomGestureStarted")),s=Ae(P,de),(t=qe(s))>y.currItem.initialZoomLevel+y.currItem.initialZoomLevel/15&&(Rt=!0),e=1,i=ne(),n=oe(),t<i?v.pinchToClose&&!Rt&&et<=y.currItem.initialZoomLevel?(S(o=1-(i-t)/(i/1.2)),T("onPinchClose",o),Ot=!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(P,de,_e),Nt.x+=_e.x-xe.x,Nt.y+=_e.y-xe.y,E(xe,_e),_.x=Qt("x",t),_.y=Qt("y",t),xt=f<t,f=t,C());else if(Lt&&(It&&(It=!1,Math.abs(M.x)>=ue&&(M.x-=c[0].x-pe.x),Math.abs(M.y)>=ue&&(M.y-=c[0].y-pe.y)),z.x=P.x,z.y=P.y,0!==M.x||0!==M.y)){if("v"===Lt&&v.closeOnVerticalDrag)if(!Ee())return Nt.y+=M.y,_.y+=M.y,o=Oe(),Tt=!0,T("onVerticalDrag",o),S(o),void C();Ie(A(),P.x,P.y),Et=!0,u=y.currItem.bounds,Ne("x",M)||(Ne("y",M),Jt(_),C())}}},$e=function(){var e,i,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(t){i=1<ge.length?(e=A()-wt+50,ge[ge.length-2][t]):(e=A()-_t,pe[t]),n.lastFlickOffset[t]=z[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]||(_[e]>u.min[e]?n.backAnimDestination[e]=u.min[e]:_[e]<u.max[e]&&(n.backAnimDestination[e]=u.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,ce("bounceZoomPan"+e,_[e],n.backAnimDestination[e],t||300,g.easing.sine.out,function(t){_[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,_[t]+=n.distanceOffset[t])},panAnimLoop:function(){k.zoomPan&&(k.zoomPan.raf=pt(n.panAnimLoop),n.now=A(),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&&(_.x=Math.round(_.x),_.y=Math.round(_.y),C(),re("zoomPan")))}};return n},We=function(t){if(t.calculateSwipeSpeed("y"),u=y.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;ae("zoomPan"),t.lastNow=A(),t.panAnimLoop()},He=function(t,e){m||(ve=p),"swipe"===t&&(t=z.x-pe.x,s=e.lastFlickDist.x<10,he<t&&(s||20<e.lastFlickOffset.x)?n=-1:t<-he&&(s||e.lastFlickOffset.x<-20)&&(n=1)),n&&((p+=n)<0?(p=v.loop?I()-1:0,o=!0):p>=I()&&(p=v.loop?0:I()-1,o=!0),o&&!v.loop||(x+=n,$t-=n,i=!0));var i,n,o,t=b.x*$t,s=Math.abs(t-L.x),r=i||t>L.x==0<e.lastFlickSpeed.x?(r=0<Math.abs(e.lastFlickSpeed.x)?s/Math.abs(e.lastFlickSpeed.x):333,r=Math.min(r,400),Math.max(r,250)):333;return ve===p&&(i=!1),m=!0,T("mainScrollAnimStart"),ce("mainScroll",L.x,t,r,g.easing.cubic.out,Kt,function(){le(),m=!1,ve=-1,!i&&ve===p||y.updateCurrItem(),T("mainScrollAnimComplete")}),i&&y.updateCurrItem(!0),i},qe=function(t){return 1/Mt*t*et},Ze=function(){var t,e=f,i=ne(),n=oe(),o=(f<i?e=i:n<f&&(e=n),Dt);return Ot&&!xt&&!Rt&&f<i?y.close():(Ot&&(t=function(t){S((1-o)*t+o)}),y.zoomTo(e,0,200,g.easing.cubic.out,t)),!0};N("Gestures",{publicMethods:{initGestures:function(){function t(t,e,i,n,o){at=t+e,lt=t+i,ct=t+n,ht=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"),n=!0):t("mouse","down","move","up"),J=lt+" "+ct+" "+ht,tt=at,dt&&!n&&(n=1<navigator.maxTouchPoints||1<navigator.msMaxTouchPoints),y.likelyTouchDevice=n,i[at]=Z,i[lt]=U,i[ct]=G,ht&&(i[ht]=i[ct]),a.touch&&(tt+=" mousedown",J+=" mousemove mouseup",i.mousedown=i[at],i.mousemove=i[lt],i.mouseup=i[ct]),n||(v.allowPanToNext=!1)}}});function Ue(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=g.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=v.errorMsg.replace("%url%",t.src),1)}function Ve(){if(ei.length){for(var t,e=0;e<ei.length;e++)(t=ei[e]).holder.index===t.index&&ri(t.index,t.item,t.baseDiv,t.img,!1,t.clearPlaceholder);ei=[]}}var Ye,Xe,Ke,Qe,Je,I,ti=function(s,t,r,e){function a(){re("initialZoom"),r?(y.template.removeAttribute("style"),y.bg.removeAttribute("style")):(S(1),t&&(t.style.display="block"),g.addClass(d,"pswp--animated-in"),T("initialZoom"+(r?"OutEnd":"InEnd"))),e&&e(),Qe=!1}Ye&&clearTimeout(Ye),Ke=Qe=!0,s.initialLayout?(l=s.initialLayout,s.initialLayout=null):l=v.getThumbBoundsFn&&v.getThumbBoundsFn(p);var l,c=r?v.hideAnimationDuration:v.showAnimationDuration;if(!c||!l||void 0===l.x)return T("initialZoom"+(r?"Out":"In")),f=s.initialZoomLevel,E(_,s.initialPosition),C(),d.style.opacity=r?0:1,S(1),void(c?setTimeout(function(){a()},c):a());var h,u;h=X,u=!y.currItem.src||y.currItem.loadError||v.showHideOpacity,s.miniImg&&(s.miniImg.style.webkitBackfaceVisibility="hidden"),r||(f=l.w/s.w,_.x=l.x,_.y=l.y-gt,y[u?"template":"bg"].style.opacity=.001,C()),ae("initialZoom"),r&&!h&&g.removeClass(d,"pswp--animated-in"),u&&(r?g[(h?"remove":"add")+"Class"](d,"pswp--animate_opacity"):setTimeout(function(){g.addClass(d,"pswp--animate_opacity")},30)),Ye=setTimeout(function(){var e,i,n,o,t;T("initialZoom"+(r?"Out":"In")),r?(e=l.w/s.w,i={x:_.x,y:_.y},n=f,o=Dt,t=function(t){1===t?(f=e,_.x=l.x,_.y=l.y-vt):(f=(e-n)*t+n,_.x=(l.x-i.x)*t+i.x,_.y=(l.y-vt-i.y)*t+i.y),C(),u?d.style.opacity=1-t:S(o-t*o)},h?ce("initialZoom",0,1,c,g.easing.cubic.out,t,a):(t(1),Ye=setTimeout(a,c+20))):(f=s.initialZoomLevel,E(_,s.initialPosition),C(),S(1),u?d.style.opacity=1:S(1),Ye=setTimeout(a,c+20))},r?25:90)},O={},ei=[],ii={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 Xe.length}},ni=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},oi=function(t,e,i){var n=t.bounds;n.center.x=Math.round((O.x-e)/2),n.center.y=Math.round((O.y-i)/2)+t.vGap.top,n.max.x=e>O.x?Math.round(O.x-e):n.center.x,n.max.y=i>O.y?Math.round(O.y-i)+t.vGap.top:n.center.y,n.min.x=e>O.x?0:n.center.x,n.min.y=i>O.y?t.vGap.top:n.center.y},si=function(t,e,i){var n,o;return t.src&&!t.loadError?((n=!i)&&(t.vGap||(t.vGap={top:0,bottom:0}),T("parseVerticalMargin",t)),O.x=e.x,O.y=e.y-t.vGap.top-t.vGap.bottom,n&&(e=O.x/t.w,o=O.y/t.h,t.fitRatio=e<o?e:o,"orig"===(e=v.scaleMode)?i=1:"fit"===e&&(i=t.fitRatio),t.initialZoomLevel=i=1<i?1:i,t.bounds||(t.bounds=ni())),i?(oi(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=ni(),t.initialPosition=t.bounds.center,t.bounds)},ri=function(t,e,i,n,o,s){e.loadError||n&&(e.imageAppended=!0,ai(e,n),i.appendChild(n),s&&setTimeout(function(){e&&e.loaded&&e.placeholder&&(e.placeholder.style.display="none",e.placeholder=null)},500))},ai=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=Je(t);e&&(!e.loaded&&!e.loading||st)&&(T("gettingData",t,e),e.src&&Ue(e))},initController:function(){g.extend(v,ii,!0),y.items=Xe=e,Je=y.getItemAt,I=v.getNumItemsFn,v.loop,I()<3&&(v.loop=!1),s("beforeChange",function(t){for(var e=v.preload,i=null===t||0<=t,n=Math.min(e[0],I()),o=Math.min(e[1],I()),s=1;s<=(i?o:n);s++)y.lazyLoadItem(p+s);for(s=1;s<=(i?n:o);s++)y.lazyLoadItem(p-s)}),s("initialLayout",function(){y.currItem.initialLayout=v.getThumbBoundsFn&&v.getThumbBoundsFn(p)}),s("mainScrollAnimComplete",Ve),s("initialZoomInEnd",Ve),s("destroy",function(){for(var t,e=0;e<Xe.length;e++)(t=Xe[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);ei=null})},getItemAt:function(t){return 0<=t&&(void 0!==Xe[t]&&Xe[t])},allowProgressiveImg:function(){return v.forceProgressiveLoading||!n||v.mouseUsed||1200<screen.width},setContent:function(e,i){v.loop&&(i=j(i));var t,n,o,s=y.getItemAt(e.index),s=(s&&(s.container=null),y.getItemAt(i));s?(T("gettingData",i,s),e.index=i,n=(e.item=s).container=g.createEl("pswp__zoom-wrap"),!s.src&&s.html&&(s.html.tagName?n.appendChild(s.html):n.innerHTML=s.html),Ge(s),si(s,w),!s.src||s.loadError||s.loaded?s.src&&!s.loadError&&((t=g.createEl("pswp__img","img")).style.opacity=1,t.src=s.src,ai(s,t),ri(i,s,n,t,!0)):(s.loadComplete=function(t){if(V){if(e&&e.index===i){if(Ge(t,!0))return t.loadComplete=t.img=null,si(t,w),Yt(t),void(e.index===p&&y.updateCurrZoomItem());t.imageAppended?!Qe&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null):a.transform&&(m||Qe)?ei.push({item:t,baseDiv:n,img:t.img,index:i,holder:e,clearPlaceholder:!0}):ri(i,t,n,t.img,m||Qe,!0)}t.loadComplete=null,t.img=null,T("imageLoadComplete",i,t)}},g.features.transform&&(o="pswp__img pswp__img--placeholder",o+=s.msrc?"":" pswp__img--placeholder--blank",o=g.createEl(o,s.msrc?"img":""),s.msrc&&(o.src=s.msrc),ai(s,o),n.appendChild(o),s.placeholder=o),s.loading||Ue(s),y.allowProgressiveImg()&&(!Ke&&a.transform?ei.push({item:s,baseDiv:n,img:s.img,index:i,holder:e}):ri(i,s,n,s.img,!0,!0))),Ke||i!==p?Yt(s):(zt=n.style,ti(s,t||s.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 li(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)}function ci(){di&&clearTimeout(di),fi&&clearTimeout(fi)}function hi(){var t=Ai(),e={};if(t.length<5)return e;var i,n=t.split("&");for(s=0;s<n.length;s++)n[s]&&((i=n[s].split("=")).length<2||(e[i[0]]=i[1]));if(v.galleryPIDs){for(var o=e.pid,s=e.pid=0;s<Xe.length;s++)if(Xe[s].pid===o){e.pid=s;break}}else e.pid=parseInt(e.pid,10)-1;return e.pid<0&&(e.pid=0),e}var ui,D,di,pi,fi,mi,gi,yi,o,vi,_i,wi,R,bi,xi={},Ti=(N("Tap",{publicMethods:{initTap:function(){s("firstTouchStart",y.onTapStart),s("touchRelease",y.onTapRelease),s("destroy",function(){xi={},ui=null})},onTapStart:function(t){1<t.length&&(clearTimeout(ui),ui=null)},onTapRelease:function(t,e){var i,n,o;!e||Et||St||se||(i=e,ui&&(clearTimeout(ui),ui=null,n=i,o=xi,Math.abs(n.x-o.x)<Bt&&Math.abs(n.y-o.y)<Bt)?T("doubleTap",i):"mouse"===e.type?li(t,e,"mouse"):"BUTTON"===t.target.tagName.toUpperCase()||g.hasClass(t.target,"pswp__single-tap")?li(t,e):(E(xi,i),ui=setTimeout(function(){li(t,e),ui=null},300)))}}}),N("DesktopZoom",{publicMethods:{initDesktopZoom:function(){yt||(n?s("mouseUsed",function(){y.setupDesktopZoom()}):y.setupDesktopZoom(!0))},setupDesktopZoom:function(t){D={};var e="wheel mousewheel DOMMouseScroll";s("bindEvents",function(){g.bind(d,e,y.handleMouseWheel)}),s("unbindEvents",function(){D&&g.unbind(d,e,y.handleMouseWheel)}),y.mouseZoomedIn=!1;function i(){y.mouseZoomedIn&&(g.removeClass(d,"pswp--zoomed-in"),y.mouseZoomedIn=!1),f<1?g.addClass(d,"pswp--zoom-allowed"):g.removeClass(d,"pswp--zoom-allowed"),o()}var n,o=function(){n&&(g.removeClass(d,"pswp--dragging"),n=!1)};s("resize",i),s("afterChange",i),s("pointerDown",function(){y.mouseZoomedIn&&(n=!0,g.addClass(d,"pswp--dragging"))}),s("pointerUp",o),t||i()},handleMouseWheel:function(t){if(f<=y.currItem.fitRatio)return v.modal&&(!v.closeOnScroll||se||l?t.preventDefault():ut&&2<Math.abs(t.deltaY)&&(X=!0,y.close())),!0;if(t.stopPropagation(),D.x=0,"deltaX"in t)1===t.deltaMode?(D.x=18*t.deltaX,D.y=18*t.deltaY):(D.x=t.deltaX,D.y=t.deltaY);else if("wheelDelta"in t)t.wheelDeltaX&&(D.x=-.16*t.wheelDeltaX),t.wheelDeltaY?D.y=-.16*t.wheelDeltaY:D.y=-.16*t.wheelDelta;else{if(!("detail"in t))return;D.y=t.detail}ie(f,!0);var e=_.x-D.x,i=_.y-D.y;(v.modal||e<=u.min.x&&e>=u.max.x&&i<=u.min.y&&i>=u.max.y)&&t.preventDefault(),y.panTo(e,i)},toggleDesktopZoom:function(t){t=t||{x:w.x/2+Wt.x,y:w.y/2+Wt.y};var e=v.getDoubleTapZoom(!0,y.currItem),i=f===e;y.mouseZoomedIn=!i,y.zoomTo(i?y.currItem.initialZoomLevel:e,t,333),g[(i?"remove":"add")+"Class"](d,"pswp--zoomed-in")}}}),{history:!0,galleryUID:1}),Ai=function(){return R.hash.substring(1)},Si=function(){var t,e;fi&&clearTimeout(fi),se||l?fi=setTimeout(Si,500):(mi?clearTimeout(pi):mi=!0,e=p+1,(t=Je(p)).hasOwnProperty("pid")&&(e=t.pid),t=o+"&gid="+v.galleryUID+"&pid="+e,vi||-1===R.hash.indexOf(t)&&(wi=!0),e=R.href.split("#")[0]+"#"+t,bi?"#"+t!==window.location.hash&&history[vi?"replaceState":"pushState"]("",document.title,e):vi?R.replace(e):R.hash=t,vi=!0,pi=setTimeout(function(){mi=!1},60))};N("History",{publicMethods:{initHistory:function(){var t,e;g.extend(v,Ti,!0),v.history&&(R=window.location,vi=_i=wi=!1,o=Ai(),bi="pushState"in history,-1<o.indexOf("gid=")&&(o=(o=o.split("&gid=")[0]).split("?gid=")[0]),s("afterChange",y.updateURL),s("unbindEvents",function(){g.unbind(window,"hashchange",y.onHashChange)}),t=function(){yi=!0,_i||(wi?history.back():o?R.hash=o:bi?history.pushState("",document.title,R.pathname+R.search):R.hash=""),ci()},s("unbindEvents",function(){X&&t()}),s("destroy",function(){yi||t()}),s("firstUpdate",function(){p=hi().pid}),-1<(e=o.indexOf("pid="))&&"&"===(o=o.substring(0,e)).slice(-1)&&(o=o.slice(0,-1)),setTimeout(function(){V&&g.bind(window,"hashchange",y.onHashChange)},40))},onHashChange:function(){if(Ai()===o)return _i=!0,void y.close();mi||(gi=!0,y.goTo(hi().pid),gi=!1)},updateURL:function(){ci(),gi||(vi?di=setTimeout(Si,800):Si())}}}),g.extend(y,B)}}),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(C)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(),C=!0,t=a.features.isOldAndroid?600:30,setTimeout(function(){C=!1},t))}function i(){var t=1===S.getNumItemsFn();t!==A&&(I(p,"ui--one-slide",t),A=t)}function r(){I(y,"share-modal--hidden",L)}function o(){if((L=!L)?(a.removeClass(y,"pswp__share-modal--fade-in"),setTimeout(function(){L&&r()},300)):(r(),setTimeout(function(){L||a.addClass(y,"pswp__share-modal--fade-in")},30)),!L){for(var t,e,i,n,o="",s=0;s<S.shareButtons.length;s++){t=S.shareButtons[s];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)}y.children[0].innerHTML=o,y.children[0].onclick=B}}function s(t){for(var e=0;e<S.closeElClasses.length;e++)if(a.hasClass(t,"pswp__"+S.closeElClasses[e]))return!0}function l(){clearTimeout(k),O=0,_&&P.setIdle(!1)}function c(t){(t=(t=t||window.event).relatedTarget||t.toElement)&&"HTML"!==t.nodeName||(clearTimeout(k),k=setTimeout(function(){P.setIdle(!0)},S.timeToIdleOutside))}function h(t){x!==t&&(I(b,"preloader--active",!t),x=t)}function u(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],s=o.className;for(var n=0;n<D.length;n++)r=D[n],-1<s.indexOf("pswp__"+r.name)&&(S[r.option]?(a.removeClass(o,"pswp__element--disabled"),r.onInit&&r.onInit(o)):a.addClass(o,"pswp__element--disabled"))}}t(p.children);var o,s,r,e=a.getChildByClass(p,"pswp__top-bar");e&&t(e.children)}var d,p,f,m,e,g,y,v,_,w,b,x,T,A,S,C,E,k,P=this,M=!1,z=!0,L=!0,F={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://twitter.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)},B=function(t){var e=(t=t||window.event).target||t.srcElement;return n.shout("shareLinkClick",t,e),!!e.href&&(!!e.hasAttribute("download")||(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)),L||o(),!1))},O=0,D=[{name:"caption",option:"captionEl",onInit:function(t){f=t}},{name:"share-modal",option:"shareEl",onInit:function(t){y=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,F,!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(){L||o(),E&&clearInterval(E),a.unbind(document,"mouseout",c),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")),y&&(y.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",u),R(),S.shareEl&&g&&y&&(L=!0),i(),S.timeToIdle&&w("mouseUsed",function(){a.bind(document,"mousemove",l),a.bind(document,"mouseout",c),E=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&&(h(!0),w("beforeChange",function(){clearTimeout(T),T=setTimeout(function(){n.currItem&&n.currItem.loading?n.allowProgressiveImg()&&(!n.currItem.img||n.currItem.img.naturalWidth)||h(!1):h(!0)},S.loadingIndicatorDelay)}),w("imageLoadComplete",function(t,e){n.currItem===e&&h(!0)}))},P.setIdle=function(t){I(p,"ui--idle",_=t)},P.update=function(){M=!(!z||!n.currItem)&&(P.updateIndexIndicator(),S.captionEl&&(S.addCaptionHTMLFn(n.currItem,f),I(f,"caption--empty",!n.currItem.title)),!0),L||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;C||(t.detail&&"mouse"===t.detail.pointerType?s(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")||s(e))&&n.close()))},P.onMouseOver=function(t){t=(t=t||window.event).target||t.srcElement;I(p,"ui--over-close",s(t))},P.hideControls=function(){a.addClass(p,"pswp__ui--hidden"),z=!1},P.showControls=function(){z=!0,M||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(v=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=v,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}}}),function(p){function t(t,e,i){return i=c(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=c(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=c(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(c){"function"==typeof(c=p.extend(!0,{},p.ajaxSettings,f.defaults,c)).url&&(c.url=c.url());var h=_(c.url).hash,t=typeof c.container;if("string"!=t)throw"expected string value for 'container' option; got "+t;var i,u=c.context=p(c.container);if(!u.length)throw"the container selector '"+c.container+"' did not match anything";function d(t,e,i){(i=i||{}).relatedTarget=c.target;t=p.Event(t,i);return u.trigger(t,e),!t.isDefaultPrevented()}c.data||(c.data={}),Array.isArray(c.data)?c.data.push({name:"_pjax",value:c.container}):c.data._pjax=c.container,c.beforeSend=function(t,e){if("GET"!==e.type&&(e.timeout=0),t.setRequestHeader("X-PJAX","true"),t.setRequestHeader("X-PJAX-Container",c.container),!d("pjax:beforeSend",[t,e]))return!1;0<e.timeout&&(i=setTimeout(function(){d("pjax:timeout",[t,c])&&t.abort("timeout")},e.timeout),e.timeout=0);e=_(e.url);h&&(e.hash=h),c.requestUrl=a(e)},c.complete=function(t,e){i&&clearTimeout(i),d("pjax:complete",[t,e,c]),d("pjax:end",[t,c])},c.error=function(t,e,i){var n=b("",t,c),t=d("pjax:error",[t,e,i,c]);"GET"==c.type&&"abort"!==e&&t&&m(n.url)},c.success=function(i,o,s){var t=f.state,e="function"==typeof p.pjax.defaults.version?p.pjax.defaults.version():p.pjax.defaults.version,n=s.getResponseHeader("X-PJAX-Version"),r=b(i,s,c),a=_(r.url);if(h&&(a.hash=h,r.url=a.href),e&&n&&e!==n)m(r.url);else if(r.contents){if(f.state={id:c.id||y(),url:r.url,title:r.title,container:c.container,fragment:c.fragment,timeout:c.timeout},(c.push||c.replace)&&window.history.replaceState(f.state,r.title,r.url),p.contains(u,document.activeElement))try{document.activeElement.blur()}catch(t){}r.title&&(document.title=r.title),d("pjax:beforeReplace",[r.contents,c],{state:f.state,previousState:t}),"function"==typeof c.renderCallback?c.renderCallback(u,r.contents,l):(u.html(r.contents),l())}else m(r.url);function l(){var n,t,e=u.find("input[autofocus], textarea[autofocus]").last()[0],e=(e&&document.activeElement!==e&&e.trigger("focus"),(e=r.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))})),c.scrollTo);h&&(t=decodeURIComponent(h.slice(1)),(t=document.getElementById(t)||document.getElementsByName(t)[0])&&(e=p(t).offset().top)),"number"==typeof e&&p(window).scrollTop(e),d("pjax:success",[i,o,s,c])}},f.state||(f.state={id:y(),url:window.location.href,title:document.title,container:c.container,fragment:c.fragment,timeout:c.timeout},window.history.replaceState(f.state,document.title)),g(f.xhr),f.options=c;var e,n,t=f.xhr=p.ajax(c);return 0<t.readyState&&(c.push&&!c.replace&&(e=f.state.id,n=[c.container,v(u)],x[e]=n,A.push(e),S(T,0),S(A,f.defaults.maxCacheLength),window.history.pushState(null,"",c.requestUrl)),d("pjax:start",[t,c]),d("pjax:send",[t,c])),f.xhr}function i(t,e){var i={url:window.location.href,push:!1,replace:!0,scrollTo:!1};return f(p.extend(i,c(t,e)))}function m(t){window.history.replaceState(null,"",f.state.url),window.location.replace(t)}var h=!0,u=window.location.href,o=window.history.state;function s(t){h||g(f.xhr);var e,i=f.state,t=t.state;if(t&&t.container){if(h&&u==t.url)return;if(i){if(i.id===t.id)return;e=i.id<t.id?"forward":"back"}var n,o,s,r,a=x[t.id]||[],l=a[0]||t.container,c=p(l),a=a[1];c.length?(i&&(o=e,r=i.id,s=[l,v(c)],x[r]=s,s="forward"===o?(n=A,T):(n=T,A),n.push(r),(r=s.pop())&&delete x[r],S(n,f.defaults.maxCacheLength)),o=p.Event("pjax:popstate",{state:t,direction:e}),c.trigger(o),s={id:t.id,url:t.url,container:l,push:!1,fragment:t.fragment,timeout:t.timeout,scrollTo:!1},a?(c.trigger("pjax:start",[null,s]),(f.state=t).title&&(document.title=t.title),r=p.Event("pjax:beforeReplace",{state:t,previousState:i}),c.trigger(r,[a,s]),c.html(a),c.trigger("pjax:end",[null,s])):f(s),c[0].offsetHeight):m(location.href)}h=!1}function r(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"}),s=("GET"!==n&&"POST"!==n&&o.append(p("<input>",{type:"hidden",name:"_method",value:n.toLowerCase()})),t.data);if("string"==typeof s)p.each(s.split("&"),function(t,e){e=e.split("=");o.append(p("<input>",{type:"hidden",name:e[0],value:e[1]}))});else if(Array.isArray(s))p.each(s,function(t,e){o.append(p("<input>",{type:"hidden",name:e.name,value:e.value}))});else if("object"==typeof s)for(e in s)o.append(p("<input>",{type:"hidden",name:e,value:s[e]}));p(document.body).append(o),o.submit()}function g(t){t&&t.readyState<4&&(t.onreadystatechange=p.noop,t.abort())}function y(){return(new Date).getTime()}function v(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 c(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={},s=/<html/i.test(t),e=e.getResponseHeader("X-PJAX-URL");return o.url=e?a(_(e)):i.requestUrl,e=s?(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")))):s||(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&&(h=!1);var x={},T=[],A=[];function S(t,e){for(;t.length>e;)delete x[t.shift()]}function C(){return p("meta").filter(function(){var t=p(this).attr("http-equiv");return t&&"X-PJAX-VERSION"===t.toUpperCase()}).attr("content")}function E(){p.fn.pjax=t,p.pjax=f,p.pjax.enable=p.noop,p.pjax.disable=k,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:C},p(window).on("popstate.pjax",s)}function k(){p.fn.pjax=function(){return this},p.pjax=r,p.pjax.enable=E,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",s)}"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?E:k)()}(jQuery),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(c){"use strict";var n,s=window.Slick||{};n=0,(s=function(t,e){var i=this;i.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:c(t),appendDots:c(t),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return c('<button type="button" data-role="none" role="button" tabindex="0" />').text(e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},i.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},c.extend(i,i.initials),i.activeBreakpoint=null,i.animType=null,i.animProp=null,i.breakpoints=[],i.breakpointSettings=[],i.cssTransitions=!1,i.focussed=!1,i.interrupted=!1,i.hidden="hidden",i.paused=!0,i.positionProp=null,i.respondTo=null,i.rowCount=1,i.shouldClick=!0,i.$slider=c(t),i.$slidesCache=null,i.transformType=null,i.transitionType=null,i.visibilityChange="visibilitychange",i.windowWidth=0,i.windowTimer=null,t=c(t).data("slick")||{},i.options=c.extend({},i.defaults,e,t),i.currentSlide=i.options.initialSlide,i.originalSettings=i.options,void 0!==document.mozHidden?(i.hidden="mozHidden",i.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(i.hidden="webkitHidden",i.visibilityChange="webkitvisibilitychange"),i.autoPlay=c.proxy(i.autoPlay,i),i.autoPlayClear=c.proxy(i.autoPlayClear,i),i.autoPlayIterator=c.proxy(i.autoPlayIterator,i),i.changeSlide=c.proxy(i.changeSlide,i),i.clickHandler=c.proxy(i.clickHandler,i),i.selectHandler=c.proxy(i.selectHandler,i),i.setPosition=c.proxy(i.setPosition,i),i.swipeHandler=c.proxy(i.swipeHandler,i),i.dragHandler=c.proxy(i.dragHandler,i),i.keyHandler=c.proxy(i.keyHandler,i),i.instanceUid=n++,i.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,i.registerBreakpoints(),i.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},s.prototype.addSlide=s.prototype.slickAdd=function(t,e,i){var n=this;if("boolean"==typeof e)i=e,e=null;else if(e<0||e>=n.slideCount)return!1;n.unload(),"number"==typeof e?0===e&&0===n.$slides.length?c(t).appendTo(n.$slideTrack):i?c(t).insertBefore(n.$slides.eq(e)):c(t).insertAfter(n.$slides.eq(e)):!0===i?c(t).prependTo(n.$slideTrack):c(t).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each(function(t,e){c(e).attr("data-slick-index",t)}),n.$slidesCache=n.$slides,n.reinit()},s.prototype.animateHeight=function(){var t;1===this.options.slidesToShow&&!0===this.options.adaptiveHeight&&!1===this.options.vertical&&(t=this.$slides.eq(this.currentSlide).outerHeight(!0),this.$list.animate({height:t},this.options.speed))},s.prototype.animateSlide=function(t,e){var i={},n=this;n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(t=-t),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:t},n.options.speed,n.options.easing,e):n.$slideTrack.animate({top:t},n.options.speed,n.options.easing,e):!1===n.cssTransitions?(!0===n.options.rtl&&(n.currentLeft=-n.currentLeft),c({animStart:n.currentLeft}).animate({animStart:t},{duration:n.options.speed,easing:n.options.easing,step:function(t){t=Math.ceil(t),!1===n.options.vertical?i[n.animType]="translate("+t+"px, 0px)":i[n.animType]="translate(0px,"+t+"px)",n.$slideTrack.css(i)},complete:function(){e&&e.call()}})):(n.applyTransition(),t=Math.ceil(t),!1===n.options.vertical?i[n.animType]="translate3d("+t+"px, 0px, 0px)":i[n.animType]="translate3d(0px,"+t+"px, 0px)",n.$slideTrack.css(i),e&&setTimeout(function(){n.disableTransition(),e.call()},n.options.speed))},s.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t=t&&null!==t?c(t).not(this.$slider):t},s.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=c(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},s.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,(!1===e.options.fade?e.$slideTrack:e.$slides.eq(t)).css(i)},s.prototype.autoPlay=function(){this.autoPlayClear(),this.slideCount>this.options.slidesToShow&&(this.autoPlayTimer=setInterval(this.autoPlayIterator,this.options.autoplaySpeed))},s.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},s.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},s.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=c(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=c(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},s.prototype.buildDots=function(){var t,e,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(i.$slider.addClass("slick-dotted"),e=c("<ul />").addClass(i.options.dotsClass),t=0;t<=i.getDotCount();t+=1)e.append(c("<li />").append(i.options.customPaging.call(this,i,t)));i.$dots=e.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},s.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,e){c(e).attr("data-slick-index",t).data("originalStyling",c(e).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?c('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),c("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},s.prototype.buildRows=function(){var t,e,i,n=this,o=document.createDocumentFragment(),s=n.$slider.children();if(1<n.options.rows){for(i=n.options.slidesPerRow*n.options.rows,e=Math.ceil(s.length/i),t=0;t<e;t++){for(var r=document.createElement("div"),a=0;a<n.options.rows;a++){for(var l=document.createElement("div"),c=0;c<n.options.slidesPerRow;c++){var h=t*i+(a*n.options.slidesPerRow+c);s.get(h)&&l.appendChild(s.get(h))}r.appendChild(l)}o.appendChild(r)}n.$slider.empty().append(o),n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}},s.prototype.checkResponsive=function(t,e){var i,n,o,s=this,r=!1,a=s.$slider.width(),l=window.innerWidth||c(window).width();if("window"===s.respondTo?o=l:"slider"===s.respondTo?o=a:"min"===s.respondTo&&(o=Math.min(l,a)),s.options.responsive&&s.options.responsive.length&&null!==s.options.responsive){for(i in n=null,s.breakpoints)s.breakpoints.hasOwnProperty(i)&&(!1===s.originalSettings.mobileFirst?o<s.breakpoints[i]&&(n=s.breakpoints[i]):o>s.breakpoints[i]&&(n=s.breakpoints[i]));null!==n?null!==s.activeBreakpoint&&n===s.activeBreakpoint&&!e||(s.activeBreakpoint=n,"unslick"===s.breakpointSettings[n]?s.unslick(n):(s.options=c.extend({},s.originalSettings,s.breakpointSettings[n]),!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t)),r=n):null!==s.activeBreakpoint&&(s.activeBreakpoint=null,s.options=s.originalSettings,!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t),r=n),t||!1===r||s.$slider.trigger("breakpoint",[s,r])}},s.prototype.changeSlide=function(t,e){var i,n=this,o=c(t.currentTarget);switch(o.is("a")&&t.preventDefault(),o.is("li")||(o=o.closest("li")),i=n.slideCount%n.options.slidesToScroll!=0?0:(n.slideCount-n.currentSlide)%n.options.slidesToScroll,t.data.message){case"previous":s=0==i?n.options.slidesToScroll:n.options.slidesToShow-i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide-s,!1,e);break;case"next":s=0==i?n.options.slidesToScroll:i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide+s,!1,e);break;case"index":var s=0===t.data.index?0:t.data.index||o.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(s),!1,e),o.children().trigger("focus");break;default:return}},s.prototype.checkNavigable=function(t){var e=this.getNavigableIndexes(),i=0;if(t>e[e.length-1])t=e[e.length-1];else for(var n in e){if(t<e[n]){t=i;break}i=e[n]}return t},s.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&c("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",c.proxy(t.interrupt,t,!0)).off("mouseleave.slick",c.proxy(t.interrupt,t,!1)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide)),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),c(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().off("click.slick",t.selectHandler),c(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),c(window).off("resize.slick.slick-"+t.instanceUid,t.resize),c("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),c(window).off("load.slick.slick-"+t.instanceUid,t.setPosition),c(document).off("ready.slick.slick-"+t.instanceUid,t.setPosition)},s.prototype.cleanUpSlideEvents=function(){this.$list.off("mouseenter.slick",c.proxy(this.interrupt,this,!0)),this.$list.off("mouseleave.slick",c.proxy(this.interrupt,this,!1))},s.prototype.cleanUpRows=function(){var t;1<this.options.rows&&((t=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(t))},s.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},s.prototype.destroy=function(t){var e=this;e.autoPlayClear(),e.touchObject={},e.cleanUpEvents(),c(".slick-cloned",e.$slider).detach(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.$prevArrow.length&&(e.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove()),e.$nextArrow&&e.$nextArrow.length&&(e.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove()),e.$slides&&(e.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){c(this).attr("style",c(this).data("originalStyling"))}),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.detach(),e.$list.detach(),e.$slider.append(e.$slides)),e.cleanUpRows(),e.$slider.removeClass("slick-slider"),e.$slider.removeClass("slick-initialized"),e.$slider.removeClass("slick-dotted"),e.unslicked=!0,t||e.$slider.trigger("destroy",[e])},s.prototype.disableTransition=function(t){var e={};e[this.transitionType]="",(!1===this.options.fade?this.$slideTrack:this.$slides.eq(t)).css(e)},s.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},s.prototype.fadeSlideOut=function(t){!1===this.cssTransitions?this.$slides.eq(t).animate({opacity:0,zIndex:this.options.zIndex-2},this.options.speed,this.options.easing):(this.applyTransition(t),this.$slides.eq(t).css({opacity:0,zIndex:this.options.zIndex-2}))},s.prototype.filterSlides=s.prototype.slickFilter=function(t){null!==t&&(this.$slidesCache=this.$slides,this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.filter(t).appendTo(this.$slideTrack),this.reinit())},s.prototype.focusHandler=function(){var i=this;i.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(t){t.stopImmediatePropagation();var e=c(this);setTimeout(function(){i.options.pauseOnFocus&&(i.focussed=e.is(":focus"),i.autoPlay())},0)})},s.prototype.getCurrent=s.prototype.slickCurrentSlide=function(){return this.currentSlide},s.prototype.getDotCount=function(){var t=this,e=0,i=0,n=0;if(!0===t.options.infinite)for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)n=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else n=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return n-1},s.prototype.getLeft=function(t){var e,i=this,n=0;return i.slideOffset=0,e=i.$slides.first().outerHeight(!0),!0===i.options.infinite?(i.slideCount>i.options.slidesToShow&&(i.slideOffset=i.slideWidth*i.options.slidesToShow*-1,n=e*i.options.slidesToShow*-1),i.slideCount%i.options.slidesToScroll!=0&&t+i.options.slidesToScroll>i.slideCount&&i.slideCount>i.options.slidesToShow&&(n=t>i.slideCount?(i.slideOffset=(i.options.slidesToShow-(t-i.slideCount))*i.slideWidth*-1,(i.options.slidesToShow-(t-i.slideCount))*e*-1):(i.slideOffset=i.slideCount%i.options.slidesToScroll*i.slideWidth*-1,i.slideCount%i.options.slidesToScroll*e*-1))):t+i.options.slidesToShow>i.slideCount&&(i.slideOffset=(t+i.options.slidesToShow-i.slideCount)*i.slideWidth,n=(t+i.options.slidesToShow-i.slideCount)*e),i.slideCount<=i.options.slidesToShow&&(n=i.slideOffset=0),!0===i.options.centerMode&&!0===i.options.infinite?i.slideOffset+=i.slideWidth*Math.floor(i.options.slidesToShow/2)-i.slideWidth:!0===i.options.centerMode&&(i.slideOffset=0,i.slideOffset+=i.slideWidth*Math.floor(i.options.slidesToShow/2)),e=!1===i.options.vertical?t*i.slideWidth*-1+i.slideOffset:t*e*-1+n,!0===i.options.variableWidth&&(n=i.slideCount<=i.options.slidesToShow||!1===i.options.infinite?i.$slideTrack.children(".slick-slide").eq(t):i.$slideTrack.children(".slick-slide").eq(t+i.options.slidesToShow),e=!0===i.options.rtl?n[0]?-1*(i.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===i.options.centerMode&&(n=i.slideCount<=i.options.slidesToShow||!1===i.options.infinite?i.$slideTrack.children(".slick-slide").eq(t):i.$slideTrack.children(".slick-slide").eq(t+i.options.slidesToShow+1),e=!0===i.options.rtl?n[0]?-1*(i.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,e+=(i.$list.width()-n.outerWidth())/2)),e},s.prototype.getOption=s.prototype.slickGetOption=function(t){return this.options[t]},s.prototype.getNavigableIndexes=function(){for(var t=this,e=0,i=0,n=[],o=!1===t.options.infinite?t.slideCount:(e=-1*t.options.slidesToScroll,i=-1*t.options.slidesToScroll,2*t.slideCount);e<o;)n.push(e),e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return n},s.prototype.getSlick=function(){return this},s.prototype.getSlideCount=function(){var i,n=this,o=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0;return!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each(function(t,e){if(e.offsetLeft-o+c(e).outerWidth()/2>-1*n.swipeLeft)return i=e,!1}),Math.abs(c(i).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},s.prototype.goTo=s.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:parseInt(t)}},e)},s.prototype.init=function(t){var e=this;c(e.$slider).hasClass("slick-initialized")||(c(e.$slider).addClass("slick-initialized"),e.buildRows(),e.buildOut(),e.setProps(),e.startLoad(),e.loadSlider(),e.initializeEvents(),e.updateArrows(),e.updateDots(),e.checkResponsive(!0),e.focusHandler()),t&&e.$slider.trigger("init",[e]),!0===e.options.accessibility&&e.initADA(),e.options.autoplay&&(e.paused=!1,e.autoPlay())},s.prototype.initADA=function(){var e=this;e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),e.$slideTrack.attr("role","listbox"),e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t){c(this).attr("role","option"),!0===e.options.dots&&c(this).attr({"aria-describedby":"slick-slide"+e.instanceUid+t})}),null!==e.$dots&&e.$dots.attr("role","tablist").find("li").each(function(t){c(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+e.instanceUid+t,id:"slick-slide"+e.instanceUid+t})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),e.activateADA()},s.prototype.initArrowEvents=function(){!0===this.options.arrows&&this.slideCount>this.options.slidesToShow&&(this.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},this.changeSlide),this.$nextArrow.off("click.slick").on("click.slick",{message:"next"},this.changeSlide))},s.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&c("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&c("li",t.$dots).on("mouseenter.slick",c.proxy(t.interrupt,t,!0)).on("mouseleave.slick",c.proxy(t.interrupt,t,!1))},s.prototype.initSlideEvents=function(){this.options.pauseOnHover&&(this.$list.on("mouseenter.slick",c.proxy(this.interrupt,this,!0)),this.$list.on("mouseleave.slick",c.proxy(this.interrupt,this,!1)))},s.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),c(document).on(t.visibilityChange,c.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().on("click.slick",t.selectHandler),c(window).on("orientationchange.slick.slick-"+t.instanceUid,c.proxy(t.orientationChange,t)),c(window).on("resize.slick.slick-"+t.instanceUid,c.proxy(t.resize,t)),c("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),c(window).on("load.slick.slick-"+t.instanceUid,t.setPosition)},s.prototype.initUI=function(){!0===this.options.arrows&&this.slideCount>this.options.slidesToShow&&(this.$prevArrow.show(),this.$nextArrow.show()),!0===this.options.dots&&this.slideCount>this.options.slidesToShow&&this.$dots.show()},s.prototype.keyHandler=function(t){t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===this.options.accessibility?this.changeSlide({data:{message:!0===this.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===this.options.accessibility&&this.changeSlide({data:{message:!0===this.options.rtl?"previous":"next"}}))},s.prototype.lazyLoad=function(){var t,e,n=this;function i(t){c("img[data-lazy]",t).each(function(){var t=c(this),e=c(this).attr("data-lazy"),i=document.createElement("img");i.onload=function(){t.animate({opacity:0},100,function(){t.attr("src",e).animate({opacity:1},200,function(){t.removeAttr("data-lazy").removeClass("slick-loading")}),n.$slider.trigger("lazyLoaded",[n,t,e])})},i.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,t,e])},i.src=e})}!0===n.options.centerMode?e=!0===n.options.infinite?(t=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(t=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),n.options.slidesToShow/2+1+2+n.currentSlide):(t=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,e=Math.ceil(t+n.options.slidesToShow),!0===n.options.fade&&(0<t&&t--,e<=n.slideCount&&e++)),i(n.$slider.find(".slick-slide").slice(t,e)),n.slideCount<=n.options.slidesToShow?i(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?i(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&i(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},s.prototype.loadSlider=function(){this.setPosition(),this.$slideTrack.css({opacity:1}),this.$slider.removeClass("slick-loading"),this.initUI(),"progressive"===this.options.lazyLoad&&this.progressiveLazyLoad()},s.prototype.next=s.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},s.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},s.prototype.pause=s.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},s.prototype.play=s.prototype.slickPlay=function(){this.autoPlay(),this.options.autoplay=!0,this.paused=!1,this.focussed=!1,this.interrupted=!1},s.prototype.postSlide=function(t){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),!0===e.options.accessibility&&e.initADA())},s.prototype.prev=s.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},s.prototype.preventDefault=function(t){t.preventDefault()},s.prototype.progressiveLazyLoad=function(t){t=t||1;var e,i,n=this,o=c("img[data-lazy]",n.$slider);o.length?(e=o.first(),i=e.attr("data-lazy"),(o=document.createElement("img")).onload=function(){e.attr("src",i).removeAttr("data-lazy").removeClass("slick-loading"),!0===n.options.adaptiveHeight&&n.setPosition(),n.$slider.trigger("lazyLoaded",[n,e,i]),n.progressiveLazyLoad()},o.onerror=function(){t<3?setTimeout(function(){n.progressiveLazyLoad(t+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,e,i]),n.progressiveLazyLoad())},o.src=i):n.$slider.trigger("allImagesLoaded",[n])},s.prototype.refresh=function(t){var e=this,i=e.slideCount-e.options.slidesToShow;!e.options.infinite&&e.currentSlide>i&&(e.currentSlide=i),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),i=e.currentSlide,e.destroy(!0),c.extend(e,e.initials,{currentSlide:i}),e.init(),t||e.changeSlide({data:{message:"index",index:i}},!1)},s.prototype.registerBreakpoints=function(){var t,e,i,n=this,o=n.options.responsive||null;if("array"==typeof o&&o.length){for(t in n.respondTo=n.options.respondTo||"window",o)if(i=n.breakpoints.length-1,e=o[t].breakpoint,o.hasOwnProperty(t)){for(;0<=i;)n.breakpoints[i]&&n.breakpoints[i]===e&&n.breakpoints.splice(i,1),i--;n.breakpoints.push(e),n.breakpointSettings[e]=o[t].settings}n.breakpoints.sort(function(t,e){return n.options.mobileFirst?t-e:e-t})}},s.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},s.prototype.resize=function(){var t=this;c(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=c(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},s.prototype.removeSlide=s.prototype.slickRemove=function(t,e,i){var n=this;if(t="boolean"==typeof t?!0===(e=t)?0:n.slideCount-1:!0===e?--t:t,n.slideCount<1||t<0||t>n.slideCount-1)return!1;n.unload(),(!0===i?n.$slideTrack.children():n.$slideTrack.children(this.options.slide).eq(t)).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,n.reinit()},s.prototype.setCSS=function(t){var e,i,n=this,o={};!0===n.options.rtl&&(t=-t),e="left"==n.positionProp?Math.ceil(t)+"px":"0px",i="top"==n.positionProp?Math.ceil(t)+"px":"0px",o[n.positionProp]=t,!1!==n.transformsEnabled&&(!(o={})===n.cssTransitions?o[n.animType]="translate("+e+", "+i+")":o[n.animType]="translate3d("+e+", "+i+", 0px)"),n.$slideTrack.css(o)},s.prototype.setDimensions=function(){var t=this,e=(!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length))),t.$slides.first().outerWidth(!0)-t.$slides.first().width());!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},s.prototype.setFade=function(){var i,n=this;n.$slides.each(function(t,e){i=n.slideWidth*t*-1,!0===n.options.rtl?c(e).css({position:"relative",right:i,top:0,zIndex:n.options.zIndex-2,opacity:0}):c(e).css({position:"relative",left:i,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},s.prototype.setHeight=function(){var t;1===this.options.slidesToShow&&!0===this.options.adaptiveHeight&&!1===this.options.vertical&&(t=this.$slides.eq(this.currentSlide).outerHeight(!0),this.$list.css("height",t))},s.prototype.setOption=s.prototype.slickSetOption=function(){var t,e,i,n,o,s=this,r=!1;if("object"==typeof arguments[0]?(i=arguments[0],r=arguments[1],o="multiple"):"string"==typeof arguments[0]&&(i=arguments[0],n=arguments[1],r=arguments[2],"responsive"===arguments[0]&&"array"==typeof arguments[1]?o="responsive":void 0!==arguments[1]&&(o="single")),"single"===o)s.options[i]=n;else if("multiple"===o)c.each(i,function(t,e){s.options[t]=e});else if("responsive"===o)for(e in n)if("array"!=typeof s.options.responsive)s.options.responsive=[n[e]];else{for(t=s.options.responsive.length-1;0<=t;)s.options.responsive[t].breakpoint===n[e].breakpoint&&s.options.responsive.splice(t,1),t--;s.options.responsive.push(n[e])}r&&(s.unload(),s.reinit())},s.prototype.setPosition=function(){this.setDimensions(),this.setHeight(),!1===this.options.fade?this.setCSS(this.getLeft(this.currentSlide)):this.setFade(),this.$slider.trigger("setPosition",[this])},s.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},s.prototype.setSlideClasses=function(t){var e,i,n=this,o=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");n.$slides.eq(t).addClass("slick-current"),!0===n.options.centerMode?(i=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&(i<=t&&t<=n.slideCount-1-i?n.$slides.slice(t-i,t+i+1).addClass("slick-active").attr("aria-hidden","false"):(e=n.options.slidesToShow+t,o.slice(e-i+1,e+i+2).addClass("slick-active").attr("aria-hidden","false")),0===t?o.eq(o.length-1-n.options.slidesToShow).addClass("slick-center"):t===n.slideCount-1&&o.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(t).addClass("slick-center")):0<=t&&t<=n.slideCount-n.options.slidesToShow?n.$slides.slice(t,t+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):o.length<=n.options.slidesToShow?o.addClass("slick-active").attr("aria-hidden","false"):(i=n.slideCount%n.options.slidesToShow,e=!0===n.options.infinite?n.options.slidesToShow+t:t,(n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-t<n.options.slidesToShow?o.slice(e-(n.options.slidesToShow-i),e+i):o.slice(e,e+n.options.slidesToShow)).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===n.options.lazyLoad&&n.lazyLoad()},s.prototype.setupInfinite=function(){var t,e,i,n=this;if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(e=null,n.slideCount>n.options.slidesToShow)){for(i=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,t=n.slideCount;t>n.slideCount-i;--t)c(n.$slides[e=t-1]).clone(!0).attr("id","").attr("data-slick-index",e-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(t=0;t<i;t+=1)e=t,c(n.$slides[e]).clone(!0).attr("id","").attr("data-slick-index",e+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each(function(){c(this).attr("id","")})}},s.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},s.prototype.selectHandler=function(t){t=c(t.target).is(".slick-slide")?c(t.target):c(t.target).parents(".slick-slide"),t=parseInt(t.attr("data-slick-index"))||0;if(this.slideCount<=this.options.slidesToShow)return this.setSlideClasses(t),void this.asNavFor(t);this.slideHandler(t)},s.prototype.slideHandler=function(t,e,i){var n,o,s,r=this;if(e=e||!1,(!0!==r.animating||!0!==r.options.waitForAnimate)&&!(!0===r.options.fade&&r.currentSlide===t||r.slideCount<=r.options.slidesToShow))if(!1===e&&r.asNavFor(t),n=t,e=r.getLeft(n),s=r.getLeft(r.currentSlide),r.currentLeft=null===r.swipeLeft?s:r.swipeLeft,!1===r.options.infinite&&!1===r.options.centerMode&&(t<0||t>r.getDotCount()*r.options.slidesToScroll))!1===r.options.fade&&(n=r.currentSlide,!0!==i?r.animateSlide(s,function(){r.postSlide(n)}):r.postSlide(n));else if(!1===r.options.infinite&&!0===r.options.centerMode&&(t<0||t>r.slideCount-r.options.slidesToScroll))!1===r.options.fade&&(n=r.currentSlide,!0!==i?r.animateSlide(s,function(){r.postSlide(n)}):r.postSlide(n));else{if(r.options.autoplay&&clearInterval(r.autoPlayTimer),o=n<0?r.slideCount%r.options.slidesToScroll!=0?r.slideCount-r.slideCount%r.options.slidesToScroll:r.slideCount+n:n>=r.slideCount?r.slideCount%r.options.slidesToScroll!=0?0:n-r.slideCount:n,r.animating=!0,r.$slider.trigger("beforeChange",[r,r.currentSlide,o]),t=r.currentSlide,r.currentSlide=o,r.setSlideClasses(r.currentSlide),r.options.asNavFor&&(s=(s=r.getNavTarget()).slick("getSlick")).slideCount<=s.options.slidesToShow&&s.setSlideClasses(r.currentSlide),r.updateDots(),r.updateArrows(),!0===r.options.fade)return!0!==i?(r.fadeSlideOut(t),r.fadeSlide(o,function(){r.postSlide(o)})):r.postSlide(o),void r.animateHeight();!0!==i?r.animateSlide(e,function(){r.postSlide(o)}):r.postSlide(o)}},s.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},s.prototype.swipeDirection=function(){var t=this.touchObject.startX-this.touchObject.curX,e=this.touchObject.startY-this.touchObject.curY,e=Math.atan2(e,t),t=Math.round(180*e/Math.PI);return(t=t<0?360-Math.abs(t):t)<=45&&0<=t||t<=360&&315<=t?!1===this.options.rtl?"left":"right":135<=t&&t<=225?!1===this.options.rtl?"right":"left":!0===this.options.verticalSwiping?35<=t&&t<=135?"down":"up":"vertical"},s.prototype.swipeEnd=function(t){var e,i,n=this;if(n.dragging=!1,n.interrupted=!1,n.shouldClick=!(10<n.touchObject.swipeLength),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(e),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},s.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},s.prototype.swipeMove=function(t){var e,i,n=this,o=void 0!==t.originalEvent?t.originalEvent.touches:null;return!(!n.dragging||o&&1!==o.length)&&(e=n.getLeft(n.currentSlide),n.touchObject.curX=void 0!==o?o[0].pageX:t.clientX,n.touchObject.curY=void 0!==o?o[0].pageY:t.clientY,n.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(n.touchObject.curX-n.touchObject.startX,2))),!0===n.options.verticalSwiping&&(n.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(n.touchObject.curY-n.touchObject.startY,2)))),"vertical"!==(o=n.swipeDirection())?(void 0!==t.originalEvent&&4<n.touchObject.swipeLength&&t.preventDefault(),t=(!1===n.options.rtl?1:-1)*(n.touchObject.curX>n.touchObject.startX?1:-1),!0===n.options.verticalSwiping&&(t=n.touchObject.curY>n.touchObject.startY?1:-1),i=n.touchObject.swipeLength,(n.touchObject.edgeHit=!1)===n.options.infinite&&(0===n.currentSlide&&"right"===o||n.currentSlide>=n.getDotCount()&&"left"===o)&&(i=n.touchObject.swipeLength*n.options.edgeFriction,n.touchObject.edgeHit=!0),!1===n.options.vertical?n.swipeLeft=e+i*t:n.swipeLeft=e+i*(n.$list.height()/n.listWidth)*t,!0===n.options.verticalSwiping&&(n.swipeLeft=e+i*t),!0!==n.options.fade&&!1!==n.options.touchMove&&(!0===n.animating?(n.swipeLeft=null,!1):void n.setCSS(n.swipeLeft))):void 0)},s.prototype.swipeStart=function(t){var e,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return!(i.touchObject={});void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,i.dragging=!0},s.prototype.unfilterSlides=s.prototype.slickUnfilter=function(){null!==this.$slidesCache&&(this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.appendTo(this.$slideTrack),this.reinit())},s.prototype.unload=function(){var t=this;c(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},s.prototype.unslick=function(t){this.$slider.trigger("unslick",[this,t]),this.destroy()},s.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2);!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode||t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode)&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},s.prototype.updateDots=function(){null!==this.$dots&&(this.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),this.$dots.find("li").eq(Math.floor(this.currentSlide/this.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},s.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},c.fn.slick=function(){for(var t,e=arguments[0],i=Array.prototype.slice.call(arguments,1),n=this.length,o=0;o<n;o++)if("object"==typeof e||void 0===e?this[o].slick=new s(this[o],e):t=this[o].slick[e].apply(this[o].slick,i),void 0!==t)return t;return this}}),function(){var z=window.jQuery,L=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,C=t.recalc_every,E=t.parent,k=t.offset_top,P=t.spacer,M=t.bottoming;for(null==k&&(k=0),null==E&&(E=void 0),null==S&&(S=!0),null==A&&(A="is_stuck"),x=z(document),null==M&&(M=!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(s,r,a,l,c,h,u,d){var p,t,f,m,g,y,v,_,e,w,b,n;if(!s.data("sticky_kit")){if(s.data("sticky_kit",!0),g=x.height(),v=s.parent(),!(v=null!=E?v.closest(E):v).length)throw"failed to find stick parent";if(p=f=!1,(b=null!=P?P&&s.closest(P):z("<div />"))&&b.css("position",s.css("position")),(_=function(){var t,e,i;if(!d)return g=x.height(),t=parseInt(v.css("border-top-width"),10),e=parseInt(v.css("padding-top"),10),r=parseInt(v.css("padding-bottom"),10),a=v.offset().top+t+e,l=v.height(),f&&(p=f=!1,null==P&&(s.insertAfter(b),b.detach()),s.css({position:"",top:"",width:"",bottom:""}).removeClass(A),i=!0),c=s.offset().top-(parseInt(s.css("margin-top"),10)||0)-k,h=s.outerHeight(!0),u=s.css("float"),b&&b.css({width:T(s),height:h,display:s.css("display"),"vertical-align":s.css("vertical-align"),float:u}),i?n():void 0})(),h!==l)return m=void 0,y=k,w=C,n=function(){var t,e,i,n,o;if(!d)return i=!1,null!=w&&--w<=0&&(w=C,_(),i=!0),i||x.height()===g||(_(),i=!0),i=L.scrollTop(),null!=m&&(e=i-m),m=i,f?(M&&(n=l+a<i+h+y,p&&!n&&(p=!1,s.css({position:"fixed",bottom:"",top:y}).trigger("sticky_kit:unbottom"))),i<c&&(f=!1,y=k,null==P&&("left"!==u&&"right"!==u||s.insertAfter(b),b.detach()),s.css(t={position:"",width:"",top:""}).removeClass(A).trigger("sticky_kit:unstick")),S&&(o=L.height())<h+k&&(p||(y-=e,y=Math.max(o-h,y),y=Math.min(k,y),f&&s.css({top:y+"px"})))):c<i&&(f=!0,(t={position:"fixed",top:y}).width="border-box"===s.css("box-sizing")?s.outerWidth()+"px":s.width()+"px",s.css(t).addClass(A),null==P&&(s.after(b),"left"!==u&&"right"!==u||b.append(s)),s.trigger("sticky_kit:stick")),f&&M&&(null==n&&(n=l+a<i+h+y),!p&&n)?(p=!0,"static"===v.css("position")&&v.css({position:"relative"}),s.css({position:"absolute",bottom:r,top:"auto"}).trigger("sticky_kit:bottom")):void 0},e=function(){return _(),n()},t=function(){if(d=!0,L.off("touchmove",n),L.off("scroll",n),L.off("resize",e),z(document.body).off("sticky_kit:recalc",e),s.off("sticky_kit:detach",t),s.removeData("sticky_kit"),s.css({position:"",bottom:"",top:"",width:""}),v.position("position",""),f)return null==P&&("left"!==u&&"right"!==u||s.insertAfter(b),b.remove()),s.removeClass(A)},L.on("touchmove",n),L.on("scroll",n),L.on("resize",e),z(document.body).on("sticky_kit:recalc",e),s.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),function(r){"use strict";r.ThreeSixty=function(t,e){var o,s=this,i=[];s.$el=r(t),s.el=t,s.$el.data("ThreeSixty",s),s.init=function(){(o=r.extend({},r.ThreeSixty.defaultOptions,e)).disableSpin&&(o.currentFrame=1,o.endFrame=1),s.initProgress(),s.loadImages()},s.resize=function(){},s.initProgress=function(){s.$el.css({width:o.width+"px",height:o.height+"px","background-image":"none !important"}),o.styles&&s.$el.css(o.styles),s.responsive(),s.$el.find(o.progress).css({marginTop:o.height/2-15+"px"}),s.$el.find(o.progress).fadeIn("slow"),s.$el.find(o.imgList).hide()},s.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+s.zeroPad(o.loadedImages+e)+o.ext+(s.browser.isIE()?"?"+(new Date).getTime():""),e=r("<img>").attr("src",e).addClass("previous-image").appendTo(t);i.push(e),s.$el.find(o.imgList).append(t),r(e).load(function(){s.imageLoaded()})},s.imageLoaded=function(){o.loadedImages+=1,r(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"),r(o.progress).fadeOut("slow",function(){r(this).hide(),s.showImages(),s.showNavigation()})):s.loadImages()},s.showImages=function(){s.$el.find(".txtC").fadeIn(),s.$el.find(o.imgList).fadeIn(),s.ready=!0,o.ready=!0,o.drag&&s.initEvents(),s.refresh(),s.initPlugins(),o.onReady(),setTimeout(function(){s.responsive()},50)},s.initPlugins=function(){r.each(o.plugins,function(t,e){if("function"!=typeof r[e])throw new Error(e+" not available.");r[e].call(s,s.$el,o)})},s.showNavigation=function(){var t,e,i,n;o.navigation&&!o.navigation_init&&(t=r("<div/>").attr("class","nav_bar"),e=r("<a/>").attr({href:"#",class:"nav_bar_next"}).html("next"),i=r("<a/>").attr({href:"#",class:"nav_bar_previous"}).html("previous"),n=r("<a/>").attr({href:"#",class:"nav_bar_play"}).html("play"),t.append(i),t.append(n),t.append(e),s.$el.prepend(t),e.bind("mousedown touchstart",s.next),i.bind("mousedown touchstart",s.previous),n.bind("mousedown touchstart",s.play_stop),o.navigation_init=!0)},s.play_stop=function(t){t.preventDefault(),o.autoplay?(o.autoplay=!1,r(t.currentTarget).removeClass("nav_bar_stop").addClass("nav_bar_play"),clearInterval(o.play),o.play=null):(o.autoplay=!0,o.play=setInterval(s.moveToNextFrame,o.playSpeed),r(t.currentTarget).removeClass("nav_bar_play").addClass("nav_bar_stop"))},s.next=function(t){t&&t.preventDefault(),o.endFrame-=parseInt(o.prevNextFrames),s.refresh()},s.previous=function(t){t&&t.preventDefault(),o.endFrame+=parseInt(o.prevNextFrames),s.refresh()},s.play=function(t,e){t=t||o.playSpeed,e=e||o.autoplayDirection;o.autoplayDirection=e,o.autoplay||(o.autoplay=!0,o.play=setInterval(s.moveToNextFrame,t))},s.stop=function(){o.autoplay&&(o.autoplay=!1,clearInterval(o.play),o.play=null)},s.moveToNextFrame=function(){1===o.autoplayDirection?--o.endFrame:o.endFrame+=1,s.refresh()},s.gotoAndPlay=function(t){var e,i,n;o.disableWrap?(o.endFrame=t,s.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,s.refresh()))},s.initEvents=function(){s.$el.bind("mousedown touchstart touchmove touchend mousemove click",function(t){t.preventDefault(),"mousedown"===t.type&&1===t.which||"touchstart"===t.type?(o.pointerStartPosX=s.getPointerEvent(t).pageX,o.dragging=!0,o.onDragStart(o.currentFrame)):"touchmove"===t.type?s.trackPointer(t):"touchend"===t.type&&(o.dragging=!1,o.onDragStop(o.endFrame))}),r(document).bind("mouseup",function(t){o.dragging=!1,o.onDragStop(o.endFrame),r(this).css("cursor","none")}),r(window).bind("resize",function(t){s.responsive()}),r(document).bind("mousemove",function(t){o.dragging?(t.preventDefault(),!s.browser.isIE&&o.showCursor&&s.$el.css("cursor","url(assets/images/hand_closed.png), auto")):!s.browser.isIE&&o.showCursor&&s.$el.css("cursor","url(assets/images/hand_open.png), auto"),s.trackPointer(t)}),r(window).resize(function(){s.resize()})},s.getPointerEvent=function(t){return t.originalEvent.targetTouches?t.originalEvent.targetTouches[0]:t},s.trackPointer=function(t){o.ready&&o.dragging&&(o.pointerEndPosX=s.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/s.$el.width())):o.endFrame=o.currentFrame+Math.floor((o.totalFrames-1)*o.speedMultiplier*(o.pointerDistance/s.$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)),s.refresh(),o.monitorStartTime=(new Date).getTime(),o.pointerStartPosX=s.getPointerEvent(t).pageX))},s.refresh=function(){0===o.ticker&&(o.ticker=setInterval(s.render,Math.round(1e3/o.framerate)))},s.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)),s.hidePreviousFrame(),o.currentFrame+=t,s.showCurrentFrame(),s.$el.trigger("frameIndexChanged",[s.getNormalizedCurrentFrame(),o.totalFrames])):(window.clearInterval(o.ticker),o.ticker=0)},s.hidePreviousFrame=function(){i[s.getNormalizedCurrentFrame()].removeClass("current-image").addClass("previous-image")},s.showCurrentFrame=function(){i[s.getNormalizedCurrentFrame()].removeClass("previous-image").addClass("current-image")},s.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},s.getCurrentFrame=function(){return o.currentFrame},s.responsive=function(){o.responsive&&s.$el.css({height:s.$el.find(".current-image").first().css("height"),width:"100%"})},s.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},s.browser={},s.browser.isIE=function(){var t,e=-1;return"Microsoft Internet Explorer"===navigator.appName&&(t=navigator.userAgent,null!==new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})").exec(t)&&(e=parseFloat(RegExp.$1))),-1!==e},s.getConfig=function(){return o},r.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},s.init()},r.fn.ThreeSixty=function(t){return Object.create(new r.ThreeSixty(this,t))}}(jQuery),"function"!=typeof Object.create&&(Object.create=function(t){"use strict";function e(){}return e.prototype=t,new e}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e(t.bootstrap={},t.jQuery)}(this,function(t,e){"use strict";function A(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)}}function S(){return(S=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i,n=arguments[e];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}e=e&&e.hasOwnProperty("default")?e.default:e;n=e,i=!1,r={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");"#"===(e=e&&"#"!==e?e:t.getAttribute("href")||"").charAt(0)&&(t=e,e=t="function"==typeof n.escapeSelector?n.escapeSelector(t).substr(1):t.replace(/(:|\.|\[|\]|,|=|@)/g,"\\$1"));try{return 0<n(document).find(e).length?e:null}catch(t){return null}},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){n(t).trigger(i.end)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var o=i[n],s=e[n],s=s&&r.isElement(s)?"element":{}.toString.call(s).match(/\s([a-zA-Z]+)/)[1].toLowerCase();if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+n+'" provided type "'+s+'" but expected type "'+o+'".')}}},i=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},n.fn.emulateTransitionEnd=R,r.supportsTransitionEnd()&&(n.event.special[r.TRANSITION_END]={bindType:i.end,delegateType:i.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}});var n,i,r,C=r;function R(t){var e=this,i=!1;return n(this).one(r.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||r.triggerTransitionEnd(e)},t),this}for(var o="undefined"!=typeof window&&"undefined"!=typeof document,s=["Edge","Trident","Firefox"],a=0,l=0;l<s.length;l+=1)if(o&&0<=navigator.userAgent.indexOf(s[l])){a=1;break}var F=o&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},a))}};function B(t){return t&&"[object Function]"==={}.toString.call(t)}function u(t,e){if(1!==t.nodeType)return[];t=getComputedStyle(t,null);return e?t[e]:t}function d(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function p(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=u(t),i=e.overflow,n=e.overflowX,e=e.overflowY;return/(auto|scroll)/.test(i+e+n)?t:p(d(t))}function h(t){var e=t&&t.offsetParent,i=e&&e.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(e.nodeName)&&"static"===u(e,"position")?h(e):e:(t?t.ownerDocument:document).documentElement}function c(t){return null!==t.parentNode?c(t.parentNode):t}function f(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,i=i?e:t,o=document.createRange(),o=(o.setStart(n,0),o.setEnd(i,0),o.commonAncestorContainer);if(t!==o&&e!==o||n.contains(i))return"BODY"===(i=(n=o).nodeName)||"HTML"!==i&&h(n.firstElementChild)!==n?h(o):o;i=c(t);return i.host?f(i.host,e):f(t,c(e).host)}function m(t,e){var e="top"===(1<arguments.length&&void 0!==e?e:"top")?"scrollTop":"scrollLeft",i=t.nodeName;return"BODY"===i||"HTML"===i?(i=t.ownerDocument.documentElement,(t.ownerDocument.scrollingElement||i)[e]):t[e]}function N(t,e){var e="x"===e?"Left":"Top",i="Left"==e?"Right":"Bottom";return parseFloat(t["border"+e+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}var g=void 0,y=function(){return g=void 0===g?-1!==navigator.appVersion.indexOf("MSIE 10"):g};function j(t,e,i,n){return Math.max(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],y()?i["offset"+t]+n["margin"+("Height"===t?"Top":"Left")]+n["margin"+("Height"===t?"Bottom":"Right")]:0)}function $(){var t=document.body,e=document.documentElement,i=y()&&getComputedStyle(e);return{height:j("Height",t,e,i),width:j("Width",t,e,i)}}var v=function(t,e,i){return e&&W(t.prototype,e),i&&W(t,i),t};function W(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)}}function _(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i,n=arguments[e];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function b(t){return w({},t,{right:t.left+t.width,bottom:t.top+t.height})}function x(t){var e={};if(y())try{var e=t.getBoundingClientRect(),i=m(t,"top"),n=m(t,"left");e.top+=i,e.left+=n,e.bottom+=i,e.right+=n}catch(t){}else e=t.getBoundingClientRect();i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},n="HTML"===t.nodeName?$():{},e=n.width||t.clientWidth||i.right-i.left,n=n.height||t.clientHeight||i.bottom-i.top,e=t.offsetWidth-e,n=t.offsetHeight-n;return(e||n)&&(e-=N(t=u(t),"x"),n-=N(t,"y"),i.width-=e,i.height-=n),b(i)}function T(t,e){var i=y(),n="HTML"===e.nodeName,o=x(t),s=x(e),t=p(t),r=u(e),a=parseFloat(r.borderTopWidth,10),l=parseFloat(r.borderLeftWidth,10),s=b({top:o.top-s.top-a,left:o.left-s.left-l,width:o.width,height:o.height});return s.marginTop=0,s.marginLeft=0,!i&&n&&(o=parseFloat(r.marginTop,10),n=parseFloat(r.marginLeft,10),s.top-=a-o,s.bottom-=a-o,s.left-=l-n,s.right-=l-n,s.marginTop=o,s.marginLeft=n),s=(i?e.contains(t):e===t&&"BODY"!==t.nodeName)?function(t,e,i){var i=2<arguments.length&&void 0!==i&&i,n=m(e,"top"),e=m(e,"left"),i=i?-1:1;return t.top+=n*i,t.bottom+=n*i,t.left+=e*i,t.right+=e*i,t}(s,e):s}function E(t,e,i,n){var o,s,r,a,l,c={top:0,left:0},h=f(t,e);return"viewport"===n?(s=(o=h).ownerDocument.documentElement,o=T(o,s),r=Math.max(s.clientWidth,window.innerWidth||0),a=Math.max(s.clientHeight,window.innerHeight||0),l=m(s),s=m(s,"left"),c=b({top:l-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:r,height:a})):(l=void 0,"scrollParent"===n?"BODY"===(l=p(d(e))).nodeName&&(l=t.ownerDocument.documentElement):l="window"===n?t.ownerDocument.documentElement:n,s=T(l,h),"HTML"!==l.nodeName||function t(e){var i=e.nodeName;return"BODY"!==i&&"HTML"!==i&&("fixed"===u(e,"position")||t(d(e)))}(h)?c=s:(r=(o=$()).height,a=o.width,c.top+=s.top-s.marginTop,c.bottom=r+s.top,c.left+=s.left-s.marginLeft,c.right=a+s.left)),c.left+=i,c.top+=i,c.right-=i,c.bottom-=i,c}function H(t,e,i,n,o,s){s=5<arguments.length&&void 0!==s?s:0;if(-1===t.indexOf("auto"))return t;var n=E(i,n,s,o),r={top:{width:n.width,height:e.top-n.top},right:{width:n.right-e.right,height:n.height},bottom:{width:n.width,height:n.bottom-e.bottom},left:{width:e.left-n.left,height:n.height}},s=Object.keys(r).map(function(t){return w({key:t},r[t],{area:(t=r[t]).width*t.height})}).sort(function(t,e){return e.area-t.area}),o=s.filter(function(t){var e=t.width,t=t.height;return e>=i.clientWidth&&t>=i.clientHeight}),e=(0<o.length?o:s)[0].key,n=t.split("-")[1];return e+(n?"-"+n:"")}function q(t,e,i){return T(i,f(e,i))}function Z(t){var e=getComputedStyle(t),i=parseFloat(e.marginTop)+parseFloat(e.marginBottom),e=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+e,height:t.offsetHeight+i}}function k(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function U(t,e,i){i=i.split("-")[0];var t=Z(t),n={width:t.width,height:t.height},o=-1!==["right","left"].indexOf(i),s=o?"top":"left",r=o?"left":"top",a=o?"height":"width",o=o?"width":"height";return n[s]=e[s]+e[a]/2-t[a]/2,n[r]=i===r?e[r]-t[o]:e[k(r)],n}function P(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function G(t,i,e){return(void 0===e?t:t.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===i});var n=P(t,function(t){return t[e]===i});return t.indexOf(n)}(t,"name",e))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var e=t.function||t.fn;t.enabled&&B(e)&&(i.offsets.popper=b(i.offsets.popper),i.offsets.reference=b(i.offsets.reference),i=e(i,t))}),i}function V(t,i){return t.some(function(t){var e=t.name;return t.enabled&&e===i})}function Y(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length-1;n++){var o=e[n],o=o?""+o+i:t;if(void 0!==document.body.style[o])return o}return null}function X(t){t=t.ownerDocument;return t?t.defaultView:window}function K(t,e,i,n){i.updateBound=n,X(t).addEventListener("resize",i.updateBound,{passive:!0});n=p(t);return function t(e,i,n,o){var s="BODY"===e.nodeName,e=s?e.ownerDocument.defaultView:e;e.addEventListener(i,n,{passive:!0}),s||t(p(e.parentNode),i,n,o),o.push(e)}(n,"scroll",i.updateBound,i.scrollParents),i.scrollElement=n,i.eventsEnabled=!0,i}function Q(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,X(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function M(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function z(i,n){Object.keys(n).forEach(function(t){var e="";-1!==["width","height","top","right","bottom","left"].indexOf(t)&&M(n[t])&&(e="px"),i.style[t]=n[t]+e})}function J(t,e,i){var n,o=P(t,function(t){return t.name===e}),t=!!o&&t.some(function(t){return t.name===i&&t.enabled&&t.order<o.order});return t||(n="`"+e+"`",console.warn("`"+i+"`"+" modifier is required by "+n+" modifier in order to work, be sure to include it before "+n+"!")),t}var L=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],I=L.slice(3);function tt(t,e){e=1<arguments.length&&void 0!==e&&e,t=I.indexOf(t),t=I.slice(t+1).concat(I.slice(0,t));return e?t.reverse():t}var et="flip",it="clockwise",nt="counterclockwise";function ot(t,a,l,e){var o=[0,0],n=-1!==["right","left"].indexOf(e),e=t.split(/(\+|\-)/).map(function(t){return t.trim()}),t=e.indexOf(P(e,function(t){return-1!==t.search(/,|\s/)})),i=(e[t]&&-1===e[t].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),/\s*,\s*|\s+/);return(-1!==t?[e.slice(0,t).concat([e[t].split(i)[0]]),[e[t].split(i)[1]].concat(e.slice(t+1))]:[e]).map(function(t,e){var r=(1===e?!n:n)?"height":"width",i=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,i=!0,t):i?(t[t.length-1]+=e,i=!1,t):t.concat(e)},[]).map(function(t){return e=r,i=a,n=l,o=+(s=(t=t).match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1],s=s[2],o?0===s.indexOf("%")?b("%p"===s?i:n)[e]/100*o:"vh"===s||"vw"===s?("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o:t;var e,i,n,o,s})}).forEach(function(i,n){i.forEach(function(t,e){M(t)&&(o[n]+=t*("-"===i[e-1]?-1:1))})}),o}var st={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e,i,n,o=t.placement,s=o.split("-")[0];return(o=o.split("-")[1])&&(e=(i=t.offsets).reference,i=i.popper,n=(s=-1!==["bottom","top"].indexOf(s))?"width":"height",s={start:_({},s=s?"left":"top",e[s]),end:_({},s,e[s]+e[n]-i[n])},t.offsets.popper=w({},i,s[o])),t}},offset:{order:200,enabled:!0,fn:function(t,e){var e=e.offset,i=t.placement,n=(o=t.offsets).popper,o=o.reference,i=i.split("-")[0],s=void 0,s=M(+e)?[+e,0]:ot(e,n,o,i);return"left"===i?(n.top+=s[0],n.left-=s[1]):"right"===i?(n.top+=s[0],n.left+=s[1]):"top"===i?(n.left+=s[0],n.top-=s[1]):"bottom"===i&&(n.left+=s[0],n.top+=s[1]),t.popper=n,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,n){var e=n.boundariesElement||h(t.instance.popper),o=(t.instance.reference===e&&(e=h(e)),E(t.instance.popper,t.instance.reference,n.padding,e)),e=(n.boundaries=o,n.priority),s=t.offsets.popper,i={primary:function(t){var e=s[t];return s[t]<o[t]&&!n.escapeWithReference&&(e=Math.max(s[t],o[t])),_({},t,e)},secondary:function(t){var e="right"===t?"left":"top",i=s[e];return s[t]>o[t]&&!n.escapeWithReference&&(i=Math.min(s[e],o[t]-("right"===t?s.width:s.height))),_({},e,i)}};return e.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";s=w({},s,i[e](t))}),t.offsets.popper=s,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=(i=t.offsets).popper,i=i.reference,n=t.placement.split("-")[0],o=Math.floor,s=(n=-1!==["top","bottom"].indexOf(n))?"right":"bottom",r=n?"left":"top",n=n?"width":"height";return e[s]<o(i[r])&&(t.offsets.popper[r]=o(i[r])-e[n]),e[r]>o(i[s])&&(t.offsets.popper[r]=o(i[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){if(!J(t.instance.modifiers,"arrow","keepTogether"))return t;if("string"==typeof(e=e.element)){if(!(e=t.instance.popper.querySelector(e)))return t}else if(!t.instance.popper.contains(e))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],n=(o=t.offsets).popper,o=o.reference,s=(i=-1!==["left","right"].indexOf(i))?"height":"width",r=(h=i?"Top":"Left").toLowerCase(),a=i?"left":"top",i=i?"bottom":"right",l=Z(e)[s],i=(o[i]-l<n[r]&&(t.offsets.popper[r]-=n[r]-(o[i]-l)),o[r]+l>n[i]&&(t.offsets.popper[r]+=o[r]+l-n[i]),t.offsets.popper=b(t.offsets.popper),o[r]+o[s]/2-l/2),o=u(t.instance.popper),c=parseFloat(o["margin"+h],10),o=parseFloat(o["border"+h+"Width"],10),h=i-t.offsets.popper[r]-c-o,h=Math.max(Math.min(n[s]-l,h),0);return t.arrowElement=e,t.offsets.arrow=(_(i={},r,Math.round(h)),_(i,a,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(l,c){if(V(l.instance.modifiers,"inner"))return l;if(l.flipped&&l.placement===l.originalPlacement)return l;var h=E(l.instance.popper,l.instance.reference,c.padding,c.boundariesElement),u=l.placement.split("-")[0],d=k(u),p=l.placement.split("-")[1]||"",f=[];switch(c.behavior){case et:f=[u,d];break;case it:f=tt(u);break;case nt:f=tt(u,!0);break;default:f=c.behavior}return f.forEach(function(t,e){if(u!==t||f.length===e+1)return l;u=l.placement.split("-")[0],d=k(u);var t=l.offsets.popper,i=l.offsets.reference,n=Math.floor,i="left"===u&&n(t.right)>n(i.left)||"right"===u&&n(t.left)<n(i.right)||"top"===u&&n(t.bottom)>n(i.top)||"bottom"===u&&n(t.top)<n(i.bottom),o=n(t.left)<n(h.left),s=n(t.right)>n(h.right),r=n(t.top)<n(h.top),t=n(t.bottom)>n(h.bottom),n="left"===u&&o||"right"===u&&s||"top"===u&&r||"bottom"===u&&t,a=-1!==["top","bottom"].indexOf(u),o=!!c.flipVariations&&(a&&"start"===p&&o||a&&"end"===p&&s||!a&&"start"===p&&r||!a&&"end"===p&&t);(i||n||o)&&(l.flipped=!0,(i||n)&&(u=f[e+1]),o&&(p="end"===(s=p)?"start":"start"===s?"end":s),l.placement=u+(p?"-"+p:""),l.offsets.popper=w({},l.offsets.popper,U(l.instance.popper,l.offsets.reference,l.placement)),l=G(l.instance.modifiers,l,"flip"))}),l},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=(o=t.offsets).popper,o=o.reference,s=-1!==["left","right"].indexOf(i),r=-1===["top","left"].indexOf(i);return n[s?"left":"top"]=o[i]-(r?n[s?"width":"height"]:0),t.placement=k(e),t.offsets.popper=b(n),t}},hide:{order:800,enabled:!0,fn:function(t){if(!J(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=P(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var i=e.x,n=e.y,o=t.offsets.popper,s=(void 0!==(s=P(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration)&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!"),void 0!==s?s:e.gpuAcceleration),e=x(h(t.instance.popper)),r={position:o.position},o={left:Math.floor(o.left),top:Math.floor(o.top),bottom:Math.floor(o.bottom),right:Math.floor(o.right)},i="bottom"===i?"top":"bottom",n="right"===n?"left":"right",a=Y("transform"),l=void 0,c=void 0,c="bottom"==i?-e.height+o.bottom:o.top,l="right"==n?-e.width+o.right:o.left,o=(s&&a?(r[a]="translate3d("+l+"px, "+c+"px, 0)",r[i]=0,r[n]=0,r.willChange="transform"):(e="right"==n?-1:1,r[i]=c*("bottom"==i?-1:1),r[n]=l*e,r.willChange=i+", "+n),{"x-placement":t.placement});return t.attributes=w({},o,t.attributes),t.styles=w({},r,t.styles),t.arrowStyles=w({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,i;return z(t.instance.popper,t.styles),e=t.instance.popper,i=t.attributes,Object.keys(i).forEach(function(t){!1!==i[t]?e.setAttribute(t,i[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&z(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,o){var s=q(0,e,t),s=H(i.placement,s,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",s),z(e,{position:"absolute"}),i},gpuAcceleration:void 0}}},O=(v(D,[{key:"update",value:function(){return function(){var t;this.state.isDestroyed||((t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}}).offsets.reference=q(this.state,this.popper,this.reference),t.placement=H(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=U(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=G(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t)))}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,V(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[Y("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=K(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return Q.call(this)}}]),D);function D(t,e){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=this,s=D;if(!(o instanceof s))throw new TypeError("Cannot call a class as a function");this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=F(this.update.bind(this)),this.options=w({},D.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(w({},D.Defaults.modifiers,n.modifiers)).forEach(function(t){i.options.modifiers[t]=w({},D.Defaults.modifiers[t]||{},n.modifiers?n.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return w({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&B(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}O.Utils=("undefined"!=typeof window?window:global).PopperUtils,O.placements=L,O.Defaults=st;v=function(s){var n="tooltip",r="bs.tooltip",a="."+r,t=s.fn[n],l="bs-tooltip",c=new RegExp("(^|\\s)"+l+"\\S+","g"),h={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},u={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},d={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},p="show",f="out",m={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,INSERTED:"inserted"+a,CLICK:"click"+a,FOCUSIN:"focusin"+a,FOCUSOUT:"focusout"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a},g="fade",y="show",v=".tooltip-inner",_=".arrow",w="hover",b="focus",x="click",T="manual",e=function(){function o(t,e){if(void 0===O)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var t,e,i=o.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(t){var e,i;this._isEnabled&&(t?(e=this.constructor.DATA_KEY,(i=s(t.currentTarget).data(e))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),s(t.currentTarget).data(e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)):s(this.getTipElement()).hasClass(y)?this._leave(null,this):this._enter(null,this))},i.dispose=function(){clearTimeout(this._timeout),s.removeData(this.element,this.constructor.DATA_KEY),s(this.element).off(this.constructor.EVENT_KEY),s(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&s(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},i.show=function(){var e=this;if("none"===s(this.element).css("display"))throw new Error("Please use show on visible elements");var t,i,n=s.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(s(this.element).trigger(n),t=s.contains(this.element.ownerDocument.documentElement,this.element),!n.isDefaultPrevented()&&t&&(n=this.getTipElement(),t=C.getUID(this.constructor.NAME),n.setAttribute("id",t),this.element.setAttribute("aria-describedby",t),this.setContent(),this.config.animation&&s(n).addClass(g),t="function"==typeof this.config.placement?this.config.placement.call(this,n,this.element):this.config.placement,t=this._getAttachment(t),this.addAttachmentClass(t),i=!1===this.config.container?document.body:s(this.config.container),s(n).data(this.constructor.DATA_KEY,this),s.contains(this.element.ownerDocument.documentElement,this.tip)||s(n).appendTo(i),s(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new O(this.element,n,{placement:t,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:_},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),s(n).addClass(y),"ontouchstart"in document.documentElement&&s("body").children().on("mouseover",null,s.noop),i=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,s(e.element).trigger(e.constructor.Event.SHOWN),t===f&&e._leave(null,e)},C.supportsTransitionEnd()&&s(this.tip).hasClass(g)?s(this.tip).one(C.TRANSITION_END,i).emulateTransitionEnd(o._TRANSITION_DURATION):i()))},i.hide=function(t){function e(){i._hoverState!==p&&n.parentNode&&n.parentNode.removeChild(n),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),s(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),t&&t()}var i=this,n=this.getTipElement(),o=s.Event(this.constructor.Event.HIDE);s(this.element).trigger(o),o.isDefaultPrevented()||(s(n).removeClass(y),"ontouchstart"in document.documentElement&&s("body").children().off("mouseover",null,s.noop),this._activeTrigger[x]=!1,this._activeTrigger[b]=!1,this._activeTrigger[w]=!1,C.supportsTransitionEnd()&&s(this.tip).hasClass(g)?s(n).one(C.TRANSITION_END,e).emulateTransitionEnd(150):e(),this._hoverState="")},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.addAttachmentClass=function(t){s(this.getTipElement()).addClass(l+"-"+t)},i.getTipElement=function(){return this.tip=this.tip||s(this.config.template)[0],this.tip},i.setContent=function(){var t=s(this.getTipElement());this.setElementContent(t.find(v),this.getTitle()),t.removeClass(g+" "+y)},i.setElementContent=function(t,e){var i=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?i?s(e).parent().is(t)||t.empty().append(e):t.text(s(e).text()):t[i?"html":"text"](e)},i.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},i._getAttachment=function(t){return u[t.toUpperCase()]},i._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(t){var e;"click"===t?s(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(t){return i.toggle(t)}):t!==T&&(e=t===w?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,t=t===w?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT,s(i.element).on(e,i.config.selector,function(t){return i._enter(t)}).on(t,i.config.selector,function(t){return i._leave(t)})),s(i.element).closest(".modal").on("hide.bs.modal",function(){return i.hide()})}),this.config.selector?this.config=S({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==t||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},i._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||s(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),s(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusin"===t.type?b:w]=!0),s(e.getTipElement()).hasClass(y)||e._hoverState===p?e._hoverState=p:(clearTimeout(e._timeout),e._hoverState=p,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===p&&e.show()},e.config.delay.show):e.show())},i._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||s(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),s(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusout"===t.type?b:w]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=f,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===f&&e.hide()},e.config.delay.hide):e.hide())},i._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},i._getConfig=function(t){return"number"==typeof(t=S({},this.constructor.Default,s(this.element).data(),t)).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),C.typeCheckConfig(n,t,this.constructor.DefaultType),t},i._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},i._cleanTipClass=function(){var t=s(this.getTipElement()),e=t.attr("class").match(c);null!==e&&0<e.length&&t.removeClass(e.join(""))},i._handlePopperPlacementChange=function(t){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},i._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(s(t).removeClass(g),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},o._jQueryInterface=function(i){return this.each(function(){var t=s(this).data(r),e="object"==typeof i&&i;if((t||!/dispose|hide/.test(i))&&(t||(t=new o(this,e),s(this).data(r,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},i=o,e=[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return d}},{key:"NAME",get:function(){return n}},{key:"DATA_KEY",get:function(){return r}},{key:"Event",get:function(){return m}},{key:"EVENT_KEY",get:function(){return a}},{key:"DefaultType",get:function(){return h}}],(t=null)&&A(i.prototype,t),e&&A(i,e),o}();return s.fn[n]=e._jQueryInterface,s.fn[n].Constructor=e,s.fn[n].noConflict=function(){return s.fn[n]=t,e._jQueryInterface},e}(e),L=e;if(void 0===L)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");if((L=L.fn.jquery.split(" ")[0].split("."))[0]<2&&L[1]<9||1===L[0]&&9===L[1]&&L[2]<1||4<=L[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");t.Util=C,t.Tooltip=v,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="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 s(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 c(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,r,h,u="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(h(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:u).WeakMap||(o=Object.prototype.hasOwnProperty,r=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(t){}}(),e.WeakMap=((h=function(t,e,i){r?Object.defineProperty(t,e,{configurable:!0,writable:!0,value:i}):t[e]=i})(d.prototype,"delete",function(t){if(p(this,"delete"),!m(t))return!1;var e=t[this._id];return!(!e||e[0]!==t)&&(delete t[this._id],!0)}),h(d.prototype,"get",function(t){var e;if(p(this,"get"),m(t))return e=t[this._id],e&&e[0]===t?e[1]:void 0}),h(d.prototype,"has",function(t){if(p(this,"has"),!m(t))return!1;var e=t[this._id];return!(!e||e[0]!==t)}),h(d.prototype,"set",function(t,e){if(p(this,"set"),!m(t))throw new TypeError("Invalid value used as weak map key");var i=t[this._id];return i&&i[0]===t?i[1]=e:h(t,this._id,[t,e]),this}),h(d,"_polyfill",!0),d));(function(t){var e,i,n;n=function(){var e,i,n,o,s,t=Object.prototype.toString,r="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){y.add(t,e),i=i||r(y.drain)}function c(t){var e,i=typeof t;return"function"==typeof(e=null==t||"object"!=i&&"function"!=i?e:t.then)&&e}function h(){for(var t=0;t<this.chain.length;t++){i=e=s=o=n=void 0;var e,i,n=this,o=1===this.state?this.chain[t].success:this.chain[t].failure,s=this.chain[t];try{!1===o?s.reject(n.msg):(e=!0===o?n.msg:o.call(void 0,n.msg))===s.promise?s.reject(TypeError("Promise-chain cycle")):(i=c(e))?i.call(e,s.resolve,s.reject):s.resolve(e)}catch(t){s.reject(t)}}this.chain.length=0}function u(t){var i,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(i=c(t))?l(function(){var e=new f(n);try{i.call(t,function(){u.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(h,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(h,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(h,n),i.promise},this.catch=function(t){return this.then(void 0,t)};try{t.call(void 0,function(t){u.call(n,t)},function(t){d.call(n,t)})}catch(t){d.call(n,t)}}var y={add:function(t,e){s=new a(t,e),o?o.next=s:n=s,o=s,s=void 0},drain:function(){var t=n;for(n=o=i=void 0;t;)t.fn.call(t.self),t=t.next}},v=e({},"constructor",g,!1);return e(g.prototype=v,"__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 r=this;return"[object Array]"!=t.call(e)?r.reject(TypeError("Not an array")):0===e.length?r.resolve([]):new r(function(i,t){if("function"!=typeof i||"function"!=typeof t)throw TypeError("Not a function");var n=e.length,o=Array(n),s=0;p(r,e,function(t,e){o[t]=e,++s===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=u)[e="Promise"]=i[e]||n(),t.exports&&(t.exports=i[e])})(i={exports:{}});var g=i.exports,y=new WeakMap;function v(t,e,i){var n=y.get(t.element)||{};e in n||(n[e]=[]),n[e].push(i),y.set(t.element,n)}function _(t,e){return(y.get(t.element)||{})[e]||[]}function w(t,e,i){var n=y.get(t.element)||{};if(!n[e])return!0;if(!i)return n[e]=[],y.set(t.element,n),!0;i=n[e].indexOf(i);return-1!==i&&n[e].splice(i,1),y.set(t.element,n),n[e]&&0===n[e].length}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,s,r=[];(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)}),r=_(i,"event:".concat(n.event)),e=n.data):n.method&&(t=i,o=n.method,(t=!((s=_(t,o)).length<1)&&(s=s.shift(),w(t,o,s),s))&&(r.push(t),e=n.value)),r.forEach(function(t){try{if("function"==typeof t)return void 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 C(t,e){t=t.html;if(!e)throw new TypeError("An element must be provided");if(null!==e.getAttribute("data-vimeo-initialized"))return e.querySelector("iframe");var i=document.createElement("div");return i.innerHTML=t,e.appendChild(i.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function E(s,t,e){var r=1<arguments.length&&void 0!==t?t:{},a=2<arguments.length?e:void 0;return new Promise(function(e,i){if(!l(s))throw new TypeError("“".concat(s,"” is not a vimeo.com url."));var t,n="https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(s));for(t in r)r.hasOwnProperty(t)&&(n+="&".concat(t,"=").concat(encodeURIComponent(r[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(s,"” was not found.")));else if(403===o.status)i(new Error("“".concat(s,"” is not embeddable.")));else try{var t=JSON.parse(o.responseText);if(403===t.domain_status_code)return C(t,a),void i(new Error("“".concat(s,"” 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 k(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{if(null!==e.getAttribute("data-vimeo-defer"))return;var t=S(e);E(a(t),t,e).then(function(t){return C(t,e)}).catch(i)}catch(t){i(t)}})}var P,M,z,L=new WeakMap,I=new WeakMap,O={},D=function(){function o(s){var r=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&&s instanceof jQuery&&(1<s.length&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),s=s[0]),"undefined"!=typeof document&&"string"==typeof s&&(s=document.getElementById(s)),t=s,!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"===s.nodeName||(i=s.querySelector("iframe"))&&(s=i),"IFRAME"===s.nodeName&&!l(s.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(L.has(s))return L.get(s);this._window=s.ownerDocument.defaultView,this.element=s,this.origin="*";var n,t=new g(function(n,o){var t;r._onMessage=function(t){var e,i;if(l(t.origin)&&r.element.contentWindow===t.source)return"*"===r.origin&&(r.origin=t.origin),t=b(t.data),t&&"error"===t.event&&t.data&&"ready"===t.data.method?((e=new Error(t.data.message)).name=t.data.name,void o(e)):(e=t&&"ready"===t.event,i=t&&"ping"===t.method,e||i?(r.element.setAttribute("data-ready","true"),void n()):void T(r,t))},r._window.addEventListener("message",r._onMessage),"IFRAME"!==r.element.nodeName&&E(a(t=S(s,e)),t,s).then(function(t){var e,i,n=C(t,s);return r.element=n,r._originalElement=s,e=s,n=n,i=y.get(e),y.set(n,i),y.delete(e),L.set(r.element,r),t}).catch(o)});return I.set(this,t),L.set(this.element,this),"IFRAME"===this.element.nodeName&&x(this,"ping"),O.isEnabled&&(n=function(){return O.exit()},this.fullscreenchangeHandler=function(){(O.isFullscreen?v:w)(r,"event:exitFullscreen",n),r.ready().then(function(){x(r,"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(){v(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=s(i,"get"),n.ready().then(function(){v(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=s(i,"set"),null==n)throw new TypeError("There must be a value to set.");return o.ready().then(function(){v(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(){}),v(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),L.delete(i.element),i._originalElement&&(L.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}(),M={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=M[t];t&&document.addEventListener(t,e)},off:function(t,e){t=M[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,k(),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 r=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=r.querySelectorAll("iframe"),n=0;n<i.length;n++){var o=i[n],s=o.contentWindow===t.source;c(o.src)&&s&&new D(o).callMethod("appendVideoMetadata",window.location.href)}}}))}(),function(t){var r,a=0<arguments.length&&void 0!==t?t:document;window.VimeoCheckedUrlTimeParam||(window.VimeoCheckedUrlTimeParam=!0,r=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],s=o.contentWindow===t.source;c(o.src)&&s&&!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(r)}()}}}))}()),D}),function(l,s){"use strict";function e(t){if(void 0===t)throw new Error('Pathformer [constructor]: "element" parameter is required');if(t.constructor===String&&!(t=s.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,c;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=[],s=0;s<n.length;s+=2)o.push(n[s]+","+n[s+1]);n=o}for(e="M"+n[0],s=1;s<n.length;s++)-1!==n[s].indexOf(",")&&(e+="L"+n[s]);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,s=o-i,r=t,o=parseFloat(o)+parseFloat(i);return e.d="M"+s+","+r+"A"+i+","+n+" 0,1,1 "+o+","+t+"A"+i+","+n+" 0,1,1 "+s+","+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,s=t,n=parseFloat(n)+parseFloat(i);return e.d="M"+o+","+s+"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=s.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=s.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=s.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=c(t.duration,120),this.delay=c(t.delay,null),this.dashGap=c(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,s=n=o=0,r=this.el.querySelectorAll("path"),a=0;a<r.length;a++)t=r[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<r.length?r.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=s+(c(e["data-delay"],this.delayUnit)||0),i.duration=c(e["data-duration"],this.duration),s=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=c(e["data-start"],this.delayUnit)||0,i.duration=c(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)},c=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,s={};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),s[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 s[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 s)i.push(s[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(),s)s[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,s=n[t],r=s.newScroll>s.oldScroll?s.forward:s.backward;for(o in this.waypoints[t]){var a,l,c=this.waypoints[t][o];null!==c.triggerPoint&&(a=s.oldScroll<c.triggerPoint,l=s.newScroll>=c.triggerPoint,(a&&l||!a&&!l)&&(c.queueTrigger(r),i[c.group.id]=c.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 s,r=t[e];for(s in this.waypoints[e]){var a,l=this.waypoints[e][s],c=l.options.offset,h=l.triggerPoint,u=0,d=null==h;l.element!==l.element.window&&(u=l.adapter.offset()[r.offsetProp]),"function"==typeof c?c=c.apply(l):"string"==typeof c&&(c=parseFloat(c),-1<l.options.offset.indexOf("%")&&(c=Math.ceil(r.contextDimension*c/100))),a=r.contextScroll-r.contextOffset,l.triggerPoint=Math.floor(u+a-c),u=h<r.oldScroll,a=l.triggerPoint>=r.oldScroll,c=!u&&!a,!d&&(u&&a)?(l.queueTrigger(r.backward),o[l.group.id]=l.group):(!d&&c||d&&r.oldScroll>=l.triggerPoint)&&(l.queueTrigger(r.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 s(t,e){return t.triggerPoint-e.triggerPoint}function r(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?r:s);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(s);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(s);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))}();