PATH:
home
/
thebhoeo
/
public_html
/
wp-content
/
themes
/
woodmart
/
js
/
libs
if(function(){"use strict";var t=0,e={};function i(n){if(!n)throw new Error("No options passed to Waypoint constructor");if(!n.element)throw new Error("No element option passed to Waypoint constructor");if(!n.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+t,this.options=i.Adapter.extend({},i.defaults,n),this.element=this.options.element,this.adapter=new i.Adapter(this.element),this.callback=n.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),e[this.key]=this,t+=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 e[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 i=[];for(var n in e)i.push(e[n]);for(var o=0,r=i.length;o<r;o++)i[o][t]()},i.destroyAll=function(){i.invokeAll("destroy")},i.disableAll=function(){i.invokeAll("disable")},i.enableAll=function(){for(var t in i.Context.refreshAll(),e)e[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 t(t){window.setTimeout(t,1e3/60)}var e=0,i={},n=window.Waypoint,o=window.onload;function r(t){this.element=t,this.Adapter=n.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+e,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,i[t.waypointContextKey]=this,e+=1,n.windowContext||(n.windowContext=!0,n.windowContext=new r(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}r.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},r.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),n=this.element==this.element.window;t&&e&&!n&&(this.adapter.off(".waypoints"),delete i[this.key])},r.prototype.createThrottledResizeHandler=function(){var t=this;function e(){t.handleResize(),t.didResize=!1}this.adapter.on("resize.waypoints",function(){t.didResize||(t.didResize=!0,n.requestAnimationFrame(e))})},r.prototype.createThrottledScrollHandler=function(){var t=this;function e(){t.handleScroll(),t.didScroll=!1}this.adapter.on("scroll.waypoints",function(){t.didScroll&&!n.isTouch||(t.didScroll=!0,n.requestAnimationFrame(e))})},r.prototype.handleResize=function(){n.Context.refreshAll()},r.prototype.handleScroll=function(){var t={},e={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(var i in e){var n=e[i],o=n.newScroll>n.oldScroll?n.forward:n.backward;for(var r in this.waypoints[i]){var s=this.waypoints[i][r];if(null!==s.triggerPoint){var a=n.oldScroll<s.triggerPoint,l=n.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(o),t[s.group.id]=s.group)}}}for(var u in t)t[u].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},r.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},r.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},r.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},r.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var n=0,o=t.length;n<o;n++)t[n].destroy()},r.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};for(var r in this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s=t[r];for(var a in this.waypoints[r]){var l,u,c,h,d=this.waypoints[r][a],p=d.options.offset,f=d.triggerPoint,m=0,g=null==f;d.element!==d.element.window&&(m=d.adapter.offset()[s.offsetProp]),"function"==typeof p?p=p.apply(d):"string"==typeof p&&(p=parseFloat(p),d.options.offset.indexOf("%")>-1&&(p=Math.ceil(s.contextDimension*p/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=Math.floor(m+l-p),u=f<s.oldScroll,c=d.triggerPoint>=s.oldScroll,h=!u&&!c,!g&&u&&c?(d.queueTrigger(s.backward),o[d.group.id]=d.group):(!g&&h||g&&s.oldScroll>=d.triggerPoint)&&(d.queueTrigger(s.forward),o[d.group.id]=d.group)}}return n.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},r.findOrCreateByElement=function(t){return r.findByElement(t)||new r(t)},r.refreshAll=function(){for(var t in i)i[t].refresh()},r.findByElement=function(t){return i[t.waypointContextKey]},window.onload=function(){o&&o(),r.refreshAll()},n.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},n.Context=r}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}var i={vertical:{},horizontal:{}},n=window.Waypoint;function o(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}o.prototype.add=function(t){this.waypoints.push(t)},o.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},o.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var n=this.triggerQueues[i],o="up"===i||"left"===i;n.sort(o?e:t);for(var r=0,s=n.length;r<s;r+=1){var a=n[r];(a.options.continuous||r===n.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},o.prototype.next=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i===this.waypoints.length-1?null:this.waypoints[i+1]},o.prototype.previous=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},o.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},o.prototype.remove=function(t){var e=n.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},o.prototype.first=function(){return this.waypoints[0]},o.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},o.findOrCreate=function(t){return i[t.axis][t.name]||new o(t)},n.Group=o}(),function(){"use strict";var t=window.jQuery,e=window.Waypoint;function i(e){this.$element=t(e)}t.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(t,e){i.prototype[e]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[e].apply(this.$element,t)}}),t.each(["extend","inArray","isEmptyObject"],function(e,n){i[n]=t[n]}),e.adapters.push({name:"jquery",Adapter:i}),e.Adapter=i}(),function(){"use strict";var t=window.Waypoint;function e(e){return function(){var i=[],n=arguments[0];return"function"==typeof arguments[0]&&((n=e.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var o=e.extend({},n,{element:this});"string"==typeof o.context&&(o.context=e(this).closest(o.context)[0]),i.push(new t(o))}),i}}window.jQuery&&(window.jQuery.fn.waypoint=e(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=e(window.Zepto))}(),function(t,e){"use strict";function i(i){if(void 0===i)throw new Error('Pathformer [constructor]: "element" parameter is required');if(i.constructor===String&&!(i=e.getElementById(i)))throw new Error('Pathformer [constructor]: "element" parameter is not related to an existing ID');if(!(i.constructor instanceof t.SVGElement||/^svg$/i.test(i.nodeName)))throw new Error('Pathformer [constructor]: "element" parameter must be a string or a SVGelement');this.el=i,this.scan(i)}var n,o,r;function s(t,e,i){this.isReady=!1,this.setElement(t,e),this.setOptions(e),this.setCallback(i),this.isReady&&this.init()}i.prototype.TYPES=["line","ellipse","circle","polygon","polyline","rect"],i.prototype.ATTR_WATCH=["cx","cy","points","r","rx","ry","x","x1","x2","y","y1","y2"],i.prototype.scan=function(t){for(var e,i,n,o=t.querySelectorAll(this.TYPES.join(",")),r=0;r<o.length;r++)i=(0,this[(e=o[r]).tagName.toLowerCase()+"ToPath"])(this.parseAttr(e.attributes)),n=this.pathMaker(e,i),e.parentNode.replaceChild(n,e)},i.prototype.lineToPath=function(t){var e={},i=t.x1||0,n=t.y1||0,o=t.x2||0,r=t.y2||0;return e.d="M"+i+","+n+"L"+o+","+r,e},i.prototype.rectToPath=function(t){var e={},i=parseFloat(t.x)||0,n=parseFloat(t.y)||0,o=parseFloat(t.width)||0,r=parseFloat(t.height)||0;return e.d="M"+i+" "+n+" ",e.d+="L"+(i+o)+" "+n+" ",e.d+="L"+(i+o)+" "+(n+r)+" ",e.d+="L"+i+" "+(n+r)+" Z",e},i.prototype.polylineToPath=function(t){var e,i,n={},o=t.points.trim().split(" ");if(-1===t.points.indexOf(",")){var r=[];for(e=0;e<o.length;e+=2)r.push(o[e]+","+o[e+1]);o=r}for(i="M"+o[0],e=1;e<o.length;e++)-1!==o[e].indexOf(",")&&(i+="L"+o[e]);return n.d=i,n},i.prototype.polygonToPath=function(t){var e=i.prototype.polylineToPath(t);return e.d+="Z",e},i.prototype.ellipseToPath=function(t){var e={},i=parseFloat(t.rx)||0,n=parseFloat(t.ry)||0,o=parseFloat(t.cx)||0,r=parseFloat(t.cy)||0,s=o-i,a=r,l=parseFloat(o)+parseFloat(i),u=r;return e.d="M"+s+","+a+"A"+i+","+n+" 0,1,1 "+l+","+u+"A"+i+","+n+" 0,1,1 "+s+","+u,e},i.prototype.circleToPath=function(t){var e={},i=parseFloat(t.r)||0,n=parseFloat(t.cx)||0,o=parseFloat(t.cy)||0,r=n-i,s=o,a=parseFloat(n)+parseFloat(i),l=o;return e.d="M"+r+","+s+"A"+i+","+i+" 0,1,1 "+a+","+l+"A"+i+","+i+" 0,1,1 "+r+","+l,e},i.prototype.pathMaker=function(t,i){var n,o,r=e.createElementNS("http://www.w3.org/2000/svg","path");for(n=0;n<t.attributes.length;n++)o=t.attributes[n],-1===this.ATTR_WATCH.indexOf(o.name)&&r.setAttribute(o.name,o.value);for(n in i)r.setAttribute(n,i[n]);return r},i.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},s.LINEAR=function(t){return t},s.EASE=function(t){return-Math.cos(t*Math.PI)/2+.5},s.EASE_OUT=function(t){return 1-Math.pow(1-t,3)},s.EASE_IN=function(t){return Math.pow(t,3)},s.EASE_OUT_BOUNCE=function(t){var e=1-Math.cos(t*(.5*Math.PI)),i=Math.pow(e,1.5),n=Math.pow(1-t,2);return 1-n+(1-Math.abs(Math.cos(i*(2.5*Math.PI))))*n},s.prototype.setElement=function(i,n){if(void 0===i)throw new Error('Vivus [constructor]: "element" parameter is required');if(i.constructor===String&&!(i=e.getElementById(i)))throw new Error('Vivus [constructor]: "element" parameter is not related to an existing ID');if(this.parentEl=i,n&&n.file){var o=e.createElement("object");o.setAttribute("type","image/svg+xml"),o.setAttribute("data",n.file),o.setAttribute("built-by-vivus","true"),i.appendChild(o),i=o}switch(i.constructor){case t.SVGSVGElement:case t.SVGElement:this.el=i,this.isReady=!0;break;case t.HTMLObjectElement:var r,s;s=this,(r=function(t){if(!s.isReady){if(s.el=i.contentDocument&&i.contentDocument.querySelector("svg"),!s.el&&t)throw new Error("Vivus [constructor]: object loaded does not contain any SVG");return s.el?(i.getAttribute("built-by-vivus")&&(s.parentEl.insertBefore(s.el,i),s.parentEl.removeChild(i),s.el.setAttribute("width","100%"),s.el.setAttribute("height","100%")),s.isReady=!0,s.init(),!0):void 0}})()||i.addEventListener("load",r);break;default:if(!i)throw new Error('Vivus [constructor]: "element" parameter is not valid (or miss the "file" attribute)')}},s.prototype.setOptions=function(e){var i=["delayed","sync","async","nsync","oneByOne","scenario","scenario-sync"],n=["inViewport","manual","autostart"];if(void 0!==e&&e.constructor!==Object)throw new Error('Vivus [constructor]: "options" parameter must be an object');if((e=e||{}).type&&-1===i.indexOf(e.type))throw new Error("Vivus [constructor]: "+e.type+" is not an existing animation `type`");if(this.type=e.type||i[0],e.start&&-1===n.indexOf(e.start))throw new Error("Vivus [constructor]: "+e.start+" is not an existing `start` option");if(this.start=e.start||n[0],this.isIE=-1!==t.navigator.userAgent.indexOf("MSIE")||-1!==t.navigator.userAgent.indexOf("Trident/")||-1!==t.navigator.userAgent.indexOf("Edge/"),this.duration=r(e.duration,120),this.delay=r(e.delay,null),this.dashGap=r(e.dashGap,1),this.forceRender=e.hasOwnProperty("forceRender")?!!e.forceRender:this.isIE,this.reverseStack=!!e.reverseStack,this.selfDestroy=!!e.selfDestroy,this.onReady=e.onReady,this.map=[],this.frameLength=this.currentFrame=this.delayUnit=this.speed=this.handle=null,this.ignoreInvisible=!!e.hasOwnProperty("ignoreInvisible")&&!!e.ignoreInvisible,this.animTimingFunction=e.animTimingFunction||s.LINEAR,this.pathTimingFunction=e.pathTimingFunction||s.LINEAR,this.delay>=this.duration)throw new Error("Vivus [constructor]: delay must be shorter than duration")},s.prototype.setCallback=function(t){if(t&&t.constructor!==Function)throw new Error('Vivus [constructor]: "callback" parameter must be a function');this.callback=t||function(){}},s.prototype.mapping=function(){var e,i,n,o,s,a,l,u;for(u=a=l=0,i=this.el.querySelectorAll("path"),e=0;e<i.length;e++)n=i[e],this.isInvisible(n)||(s={el:n,length:Math.ceil(n.getTotalLength())},isNaN(s.length)?t.console&&console.warn&&console.warn("Vivus [mapping]: cannot retrieve a path element length",n):(this.map.push(s),n.style.strokeDasharray=s.length+" "+(s.length+2*this.dashGap),n.style.strokeDashoffset=s.length+this.dashGap,s.length+=this.dashGap,a+=s.length,this.renderPath(e)));for(a=0===a?1:a,this.delay=null===this.delay?this.duration/3:this.delay,this.delayUnit=this.delay/(i.length>1?i.length-1:1),this.reverseStack&&this.map.reverse(),e=0;e<this.map.length;e++){switch(s=this.map[e],this.type){case"delayed":s.startAt=this.delayUnit*e,s.duration=this.duration-this.delay;break;case"oneByOne":s.startAt=l/a*this.duration,s.duration=s.length/a*this.duration;break;case"sync":case"async":case"nsync":s.startAt=0,s.duration=this.duration;break;case"scenario-sync":n=s.el,o=this.parseAttr(n),s.startAt=u+(r(o["data-delay"],this.delayUnit)||0),s.duration=r(o["data-duration"],this.duration),u=void 0!==o["data-async"]?s.startAt:s.startAt+s.duration,this.frameLength=Math.max(this.frameLength,s.startAt+s.duration);break;case"scenario":n=s.el,o=this.parseAttr(n),s.startAt=r(o["data-start"],this.delayUnit)||0,s.duration=r(o["data-duration"],this.duration),this.frameLength=Math.max(this.frameLength,s.startAt+s.duration)}l+=s.length,this.frameLength=this.frameLength||this.duration}},s.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=n(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)},s.prototype.trace=function(){var t,e,i,n;for(n=this.animTimingFunction(this.currentFrame/this.frameLength)*this.frameLength,t=0;t<this.map.length;t++)e=(n-(i=this.map[t]).startAt)/i.duration,e=this.pathTimingFunction(Math.max(0,Math.min(1,e))),i.progress!==e&&(i.progress=e,i.el.style.strokeDashoffset=Math.floor(i.length*(1-e)),this.renderPath(t))},s.prototype.renderPath=function(t){if(this.forceRender&&this.map&&this.map[t]){var e=this.map[t],i=e.el.cloneNode(!0);e.el.parentNode.replaceChild(i,e.el),e.el=i}},s.prototype.init=function(){this.frameLength=0,this.currentFrame=0,this.map=[],new i(this.el),this.mapping(),this.starter(),this.onReady&&this.onReady(this)},s.prototype.starter=function(){switch(this.start){case"manual":return;case"autostart":this.play();break;case"inViewport":var e=this,i=function(){e.isInViewport(e.parentEl,1)&&(e.play(),t.removeEventListener("scroll",i))};t.addEventListener("scroll",i),i()}},s.prototype.getStatus=function(){return 0===this.currentFrame?"start":this.currentFrame===this.frameLength?"end":"progress"},s.prototype.reset=function(){return this.setFrameProgress(0)},s.prototype.finish=function(){return this.setFrameProgress(1)},s.prototype.setFrameProgress=function(t){return t=Math.min(1,Math.max(0,t)),this.currentFrame=Math.round(this.frameLength*t),this.trace(),this},s.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},s.prototype.stop=function(){return this.handle&&(o(this.handle),this.handle=null),this},s.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)},s.prototype.isInvisible=function(t){var e,i=t.getAttribute("data-ignore");return null!==i?"false"!==i:!!this.ignoreInvisible&&!(e=t.getBoundingClientRect()).width&&!e.height},s.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},s.prototype.isInViewport=function(t,e){var i=this.scrollY(),n=i+this.getViewportH(),o=t.getBoundingClientRect(),r=o.height,s=i+o.top;return s+r*(e=e||0)<=n&&s+r>=i},s.prototype.docElem=t.document.documentElement,s.prototype.getViewportH=function(){var e=this.docElem.clientHeight,i=t.innerHeight;return e<i?i:e},s.prototype.scrollY=function(){return t.pageYOffset||this.docElem.scrollTop},n=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)},o=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||t.msCancelAnimationFrame||function(e){return t.clearTimeout(e)},r=function(t,e){var i=parseInt(t,10);return i>=0?i:e},"function"==typeof define&&define.amd?define([],function(){return s}):"object"==typeof exports?module.exports=s:t.Vivus=s}(window,document),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";const t="undefined"!=typeof global&&"[object global]"==={}.toString.call(global),e="undefined"!=typeof Bun,i="undefined"!=typeof Deno,n="function"==typeof WebSocketPair&&void 0!==caches?.default,o=t||e||i||n;function r(t,e){return 0===t.indexOf(e.toLowerCase())?t:`${e.toLowerCase()}${t.substr(0,1).toUpperCase()}${t.substr(1)}`}function s(t){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(t)}function a(t){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(t)}function l(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=t.id,i=t.url,n=e||i;if(!n)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(o=n,!isNaN(parseFloat(o))&&isFinite(o)&&Math.floor(o)==o)return`https://vimeo.com/${n}`;var o;if(s(n))return n.replace("http:","https:");if(e)throw new TypeError(`“${e}” is not a valid video id.`);throw new TypeError(`“${n}” is not a vimeo.com url.`)}const u=function(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener";const r="string"==typeof e?[e]:e;return r.forEach(e=>{t[n](e,i)}),{cancel:()=>r.forEach(e=>t[o](e,i))}};function c(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(!t||!e||"function"!=typeof e.querySelectorAll)return null;const i=e.querySelectorAll("iframe");for(let n=0;n<i.length;n++)if(i[n]&&i[n].contentWindow===t)return i[n];return null}const h=void 0!==Array.prototype.indexOf,d="undefined"!=typeof window&&void 0!==window.postMessage;if(!(o||h&&d))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(t){if(!t.WeakMap){var e=Object.prototype.hasOwnProperty,i=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(t){}}(),n=function(t,e,n){i?Object.defineProperty(t,e,{configurable:!0,writable:!0,value:n}):t[e]=n};t.WeakMap=function(){function t(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id","_WeakMap_"+r()+"."+r()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function i(t,i){if(!o(t)||!e.call(t,"_id"))throw new TypeError(i+" method called on incompatible receiver "+typeof t)}function r(){return Math.random().toString().substring(2)}return n(t.prototype,"delete",function(t){if(i(this,"delete"),!o(t))return!1;var e=t[this._id];return!(!e||e[0]!==t||(delete t[this._id],0))}),n(t.prototype,"get",function(t){if(i(this,"get"),o(t)){var e=t[this._id];return e&&e[0]===t?e[1]:void 0}}),n(t.prototype,"has",function(t){if(i(this,"has"),!o(t))return!1;var e=t[this._id];return!(!e||e[0]!==t)}),n(t.prototype,"set",function(t,e){if(i(this,"set"),!o(t))throw new TypeError("Invalid value used as weak map key");var r=t[this._id];return r&&r[0]===t?(r[1]=e,this):(n(t,this._id,[t,e]),this)}),n(t,"_polyfill",!0),t}()}function o(t){return Object(t)===t}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:p);var f=function(t,e){return function(t){var e,i,n;n=function(){var t,e,i,n=Object.prototype.toString,o="undefined"!=typeof setImmediate?function(t){return setImmediate(t)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(t,e,i,n){return Object.defineProperty(t,e,{value:i,writable:!0,configurable:!1!==n})}}catch(g){t=function(t,e,i){return t[e]=i,t}}function r(t,n){i.add(t,n),e||(e=o(i.drain))}function s(t){var e,i=typeof t;return null==t||"object"!=i&&"function"!=i||(e=t.then),"function"==typeof e&&e}function a(){for(var t=0;t<this.chain.length;t++)l(this,1===this.state?this.chain[t].success:this.chain[t].failure,this.chain[t]);this.chain.length=0}function l(t,e,i){var n,o;try{!1===e?i.reject(t.msg):(n=!0===e?t.msg:e.call(void 0,t.msg))===i.promise?i.reject(TypeError("Promise-chain cycle")):(o=s(n))?o.call(n,i.resolve,i.reject):i.resolve(n)}catch(g){i.reject(g)}}function u(t){var e,i=this;if(!i.triggered){i.triggered=!0,i.def&&(i=i.def);try{(e=s(t))?r(function(){var n=new d(i);try{e.call(t,function(){u.apply(n,arguments)},function(){c.apply(n,arguments)})}catch(g){c.call(n,g)}}):(i.msg=t,i.state=1,i.chain.length>0&&r(a,i))}catch(g){c.call(new d(i),g)}}}function c(t){var e=this;e.triggered||(e.triggered=!0,e.def&&(e=e.def),e.msg=t,e.state=2,e.chain.length>0&&r(a,e))}function h(t,e,i,n){for(var o=0;o<e.length;o++)(function(o){t.resolve(e[o]).then(function(t){i(o,t)},n)})(o)}function d(t){this.def=t,this.triggered=!1}function p(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function f(t){if("function"!=typeof t)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var e=new p(this);this.then=function(t,i){var n={success:"function"!=typeof t||t,failure:"function"==typeof i&&i};return n.promise=new this.constructor(function(t,e){if("function"!=typeof t||"function"!=typeof e)throw TypeError("Not a function");n.resolve=t,n.reject=e}),e.chain.push(n),0!==e.state&&r(a,e),n.promise},this.catch=function(t){return this.then(void 0,t)};try{t.call(void 0,function(t){u.call(e,t)},function(t){c.call(e,t)})}catch(g){c.call(e,g)}}i=function(){var t,i,n;function o(t,e){this.fn=t,this.self=e,this.next=void 0}return{add:function(e,r){n=new o(e,r),i?i.next=n:t=n,i=n,n=void 0},drain:function(){var n=t;for(t=i=e=void 0;n;)n.fn.call(n.self),n=n.next}}}();var m=t({},"constructor",f,!1);return f.prototype=m,t(m,"__NPO__",0,!1),t(f,"resolve",function(t){return t&&"object"==typeof t&&1===t.__NPO__?t:new this(function(e,i){if("function"!=typeof e||"function"!=typeof i)throw TypeError("Not a function");e(t)})}),t(f,"reject",function(t){return new this(function(e,i){if("function"!=typeof e||"function"!=typeof i)throw TypeError("Not a function");i(t)})}),t(f,"all",function(t){var e=this;return"[object Array]"!=n.call(t)?e.reject(TypeError("Not an array")):0===t.length?e.resolve([]):new e(function(i,n){if("function"!=typeof i||"function"!=typeof n)throw TypeError("Not a function");var o=t.length,r=Array(o),s=0;h(e,t,function(t,e){r[t]=e,++s===o&&i(r)},n)})}),t(f,"race",function(t){var e=this;return"[object Array]"!=n.call(t)?e.reject(TypeError("Not an array")):new e(function(i,n){if("function"!=typeof i||"function"!=typeof n)throw TypeError("Not a function");h(e,t,function(t,e){i(e)},n)})}),f},(i=p)[e="Promise"]=i[e]||n(),t.exports&&(t.exports=i[e])}(e={exports:{}}),e.exports}();const m=new WeakMap;function g(t,e,i){const n=m.get(t.element)||{};e in n||(n[e]=[]),n[e].push(i),m.set(t.element,n)}function v(t,e){return(m.get(t.element)||{})[e]||[]}function y(t,e,i){const n=m.get(t.element)||{};if(!n[e])return!0;if(!i)return n[e]=[],m.set(t.element,n),!0;const o=n[e].indexOf(i);return-1!==o&&n[e].splice(o,1),m.set(t.element,n),n[e]&&0===n[e].length}function _(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(e){return console.warn(e),{}}return t}function w(t,e,i){if(!t.element.contentWindow||!t.element.contentWindow.postMessage)return;let n={method:e};void 0!==i&&(n.value=i);const o=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));o>=8&&o<10&&(n=JSON.stringify(n)),t.element.contentWindow.postMessage(n,t.origin)}const b=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","disable_context_menu","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function x(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return b.reduce((e,i)=>{const n=t.getAttribute(`data-vimeo-${i}`);return(n||""===n)&&(e[i]=""===n?1:n),e},e)}function T(t,e){let{html:i}=t;if(!e)throw new TypeError("An element must be provided");if(null!==e.getAttribute("data-vimeo-initialized"))return e.querySelector("iframe");const n=document.createElement("div");return n.innerHTML=i,e.appendChild(n.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function A(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return new Promise((n,o)=>{if(!s(t))throw new TypeError(`“${t}” is not a vimeo.com url.`);const r=function(t){const e=(t||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),i=(e&&e[1]||"").replace("player.",""),n=[".videoji.hk",".vimeo.work",".videoji.cn"];for(const o of n)if(i.endsWith(o))return i;return"vimeo.com"}(t);let a=`https://${r}/api/oembed.json?url=${encodeURIComponent(t)}`;for(const t in e)e.hasOwnProperty(t)&&(a+=`&${t}=${encodeURIComponent(e[t])}`);const l="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;l.open("GET",a,!0),l.onload=function(){if(404!==l.status)if(403!==l.status)try{const e=JSON.parse(l.responseText);if(403===e.domain_status_code)return T(e,i),void o(new Error(`“${t}” is not embeddable.`));n(e)}catch(e){o(e)}else o(new Error(`“${t}” is not embeddable.`));else o(new Error(`“${t}” was not found.`))},l.onerror=function(){const t=l.status?` (${l.status})`:"";o(new Error(`There was an error fetching the embed code from Vimeo${t}.`))},l.send()})}const S={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1};class E extends EventTarget{logger;constructor(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;super(),this.logger=n,this.init(e,t,{...S,...i})}disconnect(){this.dispatchEvent(new Event("disconnect"))}async init(t,e,i){if(await this.waitForTOReadyState(t,"open"),"viewer"===i.role){await this.updatePlayer(t,e,i);const n=u(t,"change",()=>this.updatePlayer(t,e,i)),o=this.maintainPlaybackPosition(t,e,i);this.addEventListener("disconnect",()=>{o.cancel(),n.cancel()})}else{await this.updateTimingObject(t,e);const i=u(e,["seeked","play","pause","ratechange"],()=>this.updateTimingObject(t,e),"on","off");this.addEventListener("disconnect",()=>i.cancel())}}async updateTimingObject(t,e){const[i,n,o]=await Promise.all([e.getCurrentTime(),e.getPaused(),e.getPlaybackRate()]);t.update({position:i,velocity:n?0:o})}async updatePlayer(t,e,i){const{position:n,velocity:o}=t.query();"number"==typeof n&&e.setCurrentTime(n),"number"==typeof o&&(0===o?!1===await e.getPaused()&&e.pause():o>0&&(!0===await e.getPaused()&&(await e.play().catch(async t=>{"NotAllowedError"===t.name&&i.autoPlayMuted&&(await e.setMuted(!0),await e.play().catch(t=>console.error("Couldn't play the video from TimingSrcConnector. Error:",t)))}),this.updatePlayer(t,e,i)),await e.getPlaybackRate()!==o&&e.setPlaybackRate(o)))}maintainPlaybackPosition(t,e,i){const{allowedDrift:n,maxAllowedDrift:o,minCheckInterval:r,maxRateAdjustment:s,maxTimeToCatchUp:a}=i,l=1e3*Math.min(a,Math.max(r,o)),u=async()=>{if(0===t.query().velocity||!0===await e.getPaused())return;const i=t.query().position-await e.getCurrentTime(),r=Math.abs(i);if(this.log(`Drift: ${i}`),r>o)await this.adjustSpeed(e,0),e.setCurrentTime(t.query().position),this.log("Resync by currentTime");else if(r>n){const t=r/a,n=t<s?(s-t)/2:s;await this.adjustSpeed(e,n*Math.sign(i)),this.log("Resync by playbackRate")}},c=setInterval(()=>u(),l);return{cancel:()=>clearInterval(c)}}log(t){this.logger?.(`TimingSrcConnector: ${t}`)}speedAdjustment=0;adjustSpeed=async(t,e)=>{if(this.speedAdjustment===e)return;const i=await t.getPlaybackRate()-this.speedAdjustment+e;this.log(`New playbackRate: ${i}`),await t.setPlaybackRate(i),this.speedAdjustment=e};waitForTOReadyState(t,e){return new Promise(i=>{const n=()=>{t.readyState===e?i():t.addEventListener("readystatechange",n,{once:!0})};n()})}}const M=new WeakMap,C=new WeakMap;let P={};class L{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(window.jQuery&&t instanceof jQuery&&(t.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),t=t[0]),"undefined"!=typeof document&&"string"==typeof t&&(t=document.getElementById(t)),!function(t){return Boolean(t&&1===t.nodeType&&"nodeName"in t&&t.ownerDocument&&t.ownerDocument.defaultView)}(t))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==t.nodeName){const e=t.querySelector("iframe");e&&(t=e)}if("IFRAME"===t.nodeName&&!s(t.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(M.has(t))return M.get(t);this._window=t.ownerDocument.defaultView,this.element=t,this.origin="*";const i=new f((i,n)=>{if(this._onMessage=t=>{if(!s(t.origin)||this.element.contentWindow!==t.source)return;"*"===this.origin&&(this.origin=t.origin);const e=_(t.data);if(e&&"error"===e.event&&e.data&&"ready"===e.data.method){const t=new Error(e.data.message);return t.name=e.data.name,void n(t)}const o=e&&"ready"===e.event,r=e&&"ping"===e.method;if(o||r)return this.element.setAttribute("data-ready","true"),void i();!function(t,e){let i,n=[];if((e=_(e)).event)"error"===e.event&&v(t,e.data.method).forEach(i=>{const n=new Error(e.data.message);n.name=e.data.name,i.reject(n),y(t,e.data.method,i)}),n=v(t,`event:${e.event}`),i=e.data;else if(e.method){const o=function(t,e){const i=v(t,e);if(i.length<1)return!1;const n=i.shift();return y(t,e,n),n}(t,e.method);o&&(n.push(o),i=e.value)}n.forEach(e=>{try{if("function"==typeof e)return void e.call(t,i);e.resolve(i)}catch(n){}})}(this,e)},this._window.addEventListener("message",this._onMessage),"IFRAME"!==this.element.nodeName){const i=x(t,e);A(l(i),i,t).then(e=>{const i=T(e,t);return this.element=i,this._originalElement=t,function(t,e){const i=m.get(t);m.set(e,i),m.delete(t)}(t,i),M.set(this.element,this),e}).catch(n)}});if(C.set(this,i),M.set(this.element,this),"IFRAME"===this.element.nodeName&&w(this,"ping"),P.isEnabled){const t=()=>P.exit();this.fullscreenchangeHandler=()=>{P.isFullscreen?g(this,"event:exitFullscreen",t):y(this,"event:exitFullscreen",t),this.ready().then(()=>{w(this,"fullscreenchange",P.isFullscreen)})},P.on("fullscreenchange",this.fullscreenchangeHandler)}return this}static isVimeoUrl(t){return s(t)}callMethod(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];if(null==t)throw new TypeError("You must pass a method name.");return new f((e,n)=>this.ready().then(()=>{g(this,t,{resolve:e,reject:n}),0===i.length?i={}:1===i.length&&(i=i[0]),w(this,t,i)}).catch(n))}get(t){return new f((e,i)=>(t=r(t,"get"),this.ready().then(()=>{g(this,t,{resolve:e,reject:i}),w(this,t)}).catch(i)))}set(t,e){return new f((i,n)=>{if(t=r(t,"set"),null==e)throw new TypeError("There must be a value to set.");return this.ready().then(()=>{g(this,t,{resolve:i,reject:n}),w(this,t,e)}).catch(n)})}on(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===v(this,`event:${t}`).length&&this.callMethod("addEventListener",t).catch(()=>{}),g(this,`event:${t}`,e)}off(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.");y(this,`event:${t}`,e)&&this.callMethod("removeEventListener",t).catch(t=>{})}loadVideo(t){return this.callMethod("loadVideo",t)}ready(){const t=C.get(this)||new f((t,e)=>{e(new Error("Unknown player. Probably unloaded."))});return f.resolve(t)}addCuePoint(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:e})}removeCuePoint(t){return this.callMethod("removeCuePoint",t)}enableTextTrack(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:e,showing:i})}disableTextTrack(){return this.callMethod("disableTextTrack")}selectAudioTrack(t,e){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:t,kind:e})}selectDefaultAudioTrack(){return this.callMethod("selectDefaultAudioTrack")}pause(){return this.callMethod("pause")}play(){return this.callMethod("play")}requestFullscreen(){return P.isEnabled?P.request(this.element):this.callMethod("requestFullscreen")}exitFullscreen(){return P.isEnabled?P.exit():this.callMethod("exitFullscreen")}getFullscreen(){return P.isEnabled?f.resolve(P.isFullscreen):this.get("fullscreen")}requestPictureInPicture(){return this.callMethod("requestPictureInPicture")}exitPictureInPicture(){return this.callMethod("exitPictureInPicture")}getPictureInPicture(){return this.get("pictureInPicture")}remotePlaybackPrompt(){return this.callMethod("remotePlaybackPrompt")}unload(){return this.callMethod("unload")}destroy(){return new f(t=>{if(C.delete(this),M.delete(this.element),this._originalElement&&(M.delete(this._originalElement),this._originalElement.removeAttribute("data-vimeo-initialized")),this.element&&"IFRAME"===this.element.nodeName&&this.element.parentNode&&(this.element.parentNode.parentNode&&this._originalElement&&this._originalElement!==this.element.parentNode?this.element.parentNode.parentNode.removeChild(this.element.parentNode):this.element.parentNode.removeChild(this.element)),this.element&&"DIV"===this.element.nodeName&&this.element.parentNode){this.element.removeAttribute("data-vimeo-initialized");const t=this.element.querySelector("iframe");t&&t.parentNode&&(t.parentNode.parentNode&&this._originalElement&&this._originalElement!==t.parentNode?t.parentNode.parentNode.removeChild(t.parentNode):t.parentNode.removeChild(t))}this._window.removeEventListener("message",this._onMessage),P.isEnabled&&P.off("fullscreenchange",this.fullscreenchangeHandler),t()})}getAutopause(){return this.get("autopause")}setAutopause(t){return this.set("autopause",t)}getBuffered(){return this.get("buffered")}getCameraProps(){return this.get("cameraProps")}setCameraProps(t){return this.set("cameraProps",t)}getChapters(){return this.get("chapters")}getCurrentChapter(){return this.get("currentChapter")}getColor(){return this.get("color")}getColors(){return f.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}setColor(t){return this.set("color",t)}setColors(t){if(!Array.isArray(t))return new f((t,e)=>e(new TypeError("Argument must be an array.")));const e=new f(t=>t(null)),i=[t[0]?this.set("colorOne",t[0]):e,t[1]?this.set("colorTwo",t[1]):e,t[2]?this.set("colorThree",t[2]):e,t[3]?this.set("colorFour",t[3]):e];return f.all(i)}getCuePoints(){return this.get("cuePoints")}getCurrentTime(){return this.get("currentTime")}setCurrentTime(t){return this.set("currentTime",t)}getDuration(){return this.get("duration")}getEnded(){return this.get("ended")}getLoop(){return this.get("loop")}setLoop(t){return this.set("loop",t)}setMuted(t){return this.set("muted",t)}getMuted(){return this.get("muted")}getPaused(){return this.get("paused")}getPlaybackRate(){return this.get("playbackRate")}setPlaybackRate(t){return this.set("playbackRate",t)}getPlayed(){return this.get("played")}getQualities(){return this.get("qualities")}getQuality(){return this.get("quality")}setQuality(t){return this.set("quality",t)}getRemotePlaybackAvailability(){return this.get("remotePlaybackAvailability")}getRemotePlaybackState(){return this.get("remotePlaybackState")}getSeekable(){return this.get("seekable")}getSeeking(){return this.get("seeking")}getTextTracks(){return this.get("textTracks")}getAudioTracks(){return this.get("audioTracks")}getEnabledAudioTrack(){return this.get("enabledAudioTrack")}getDefaultAudioTrack(){return this.get("defaultAudioTrack")}getVideoEmbedCode(){return this.get("videoEmbedCode")}getVideoId(){return this.get("videoId")}getVideoTitle(){return this.get("videoTitle")}getVideoWidth(){return this.get("videoWidth")}getVideoHeight(){return this.get("videoHeight")}getVideoUrl(){return this.get("videoUrl")}getVolume(){return this.get("volume")}setVolume(t){return this.set("volume",t)}async setTimingSrc(t,e){if(!t)throw new TypeError("A Timing Object must be provided.");await this.ready();const i=new E(this,t,e);return w(this,"notifyTimingObjectConnect"),i.addEventListener("disconnect",()=>w(this,"notifyTimingObjectDisconnect")),i}}return o||(P=function(){const t=function(){let t;const 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"]];let i=0;const n=e.length,o={};for(;i<n;i++)if(t=e[i],t&&t[1]in document){for(i=0;i<t.length;i++)o[e[0][i]]=t[i];return o}return!1}(),e={fullscreenchange:t.fullscreenchange,fullscreenerror:t.fullscreenerror},i={request(e){return new Promise((n,o)=>{const r=function(){i.off("fullscreenchange",r),n()};i.on("fullscreenchange",r);const s=(e=e||document.documentElement)[t.requestFullscreen]();s instanceof Promise&&s.then(r).catch(o)})},exit(){return new Promise((e,n)=>{if(!i.isFullscreen)return void e();const o=function(){i.off("fullscreenchange",o),e()};i.on("fullscreenchange",o);const r=document[t.exitFullscreen]();r instanceof Promise&&r.then(o).catch(n)})},on(t,i){const n=e[t];n&&document.addEventListener(n,i)},off(t,i){const n=e[t];n&&document.removeEventListener(n,i)}};return Object.defineProperties(i,{isFullscreen:{get(){return Boolean(document[t.fullscreenElement])}},element:{enumerable:!0,get(){return document[t.fullscreenElement]}},isEnabled:{enumerable:!0,get(){return Boolean(document[t.fullscreenEnabled])}}}),i}(),function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;const e=[].slice.call(t.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),i=t=>{"console"in window&&console.error&&console.error(`There was an error creating an embed: ${t}`)};e.forEach(t=>{try{if(null!==t.getAttribute("data-vimeo-defer"))return;const e=x(t);A(l(e),e,t).then(e=>T(e,t)).catch(i)}catch(e){i(e)}})}(),function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",e=>{if(!s(e.origin))return;if(!e.data||"spacechange"!==e.data.event)return;const i=e.source?c(e.source,t):null;i&&(i.parentElement.style.paddingBottom=`${e.data.data[0].bottom}px`)}))}(),function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",e=>{if(!s(e.origin))return;const i=_(e.data);if(!i||"ready"!==i.event)return;const n=e.source?c(e.source,t):null;n&&a(n.src)&&new L(n).callMethod("appendVideoMetadata",window.location.href)}))}(),function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoCheckedUrlTimeParam)return;window.VimeoCheckedUrlTimeParam=!0;const e=t=>{"console"in window&&console.error&&console.error(`There was an error getting video Id: ${t}`)};window.addEventListener("message",i=>{if(!s(i.origin))return;const n=_(i.data);if(!n||"ready"!==n.event)return;const o=i.source?c(i.source,t):null;if(o&&a(o.src)){const t=new L(o);t.getVideoId().then(e=>{const i=new RegExp(`[?&]vimeo_t_${e}=([^&#]*)`).exec(window.location.href);if(i&&i[1]){const e=decodeURI(i[1]);t.setCurrentTime(e)}}).catch(e)}})}(),window.VimeoDRMEmbedsUpdated||(window.VimeoDRMEmbedsUpdated=!0,window.addEventListener("message",t=>{if(!s(t.origin))return;const e=_(t.data);if(!e||"drminitfailed"!==e.event)return;const i=t.source?c(t.source):null;if(!i)return;const n=i.getAttribute("allow")||"";if(!n.includes("encrypted-media")){i.setAttribute("allow",`${n}; encrypted-media`);const t=new URL(i.getAttribute("src"));return t.searchParams.set("forcereload","drm"),void i.setAttribute("src",t.toString())}}))),L}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||t[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(t){"use strict";var e=["sanitize","whiteList","sanitizeFn"],i=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],n=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,o=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function r(e,r){var s=e.nodeName.toLowerCase();if(-1!==t.inArray(s,r))return-1===t.inArray(s,i)||Boolean(e.nodeValue.match(n)||e.nodeValue.match(o));for(var a=t(r).filter(function(t,e){return e instanceof RegExp}),l=0,u=a.length;l<u;l++)if(s.match(a[l]))return!0;return!1}function s(e,i,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);if(!document.implementation||!document.implementation.createHTMLDocument)return e;var o=document.implementation.createHTMLDocument("sanitization");o.body.innerHTML=e;for(var s=t.map(i,function(t,e){return e}),a=t(o.body).find("*"),l=0,u=a.length;l<u;l++){var c=a[l],h=c.nodeName.toLowerCase();if(-1!==t.inArray(h,s))for(var d=t.map(c.attributes,function(t){return t}),p=[].concat(i["*"]||[],i[h]||[]),f=0,m=d.length;f<m;f++)r(d[f],p)||c.removeAttribute(d[f].nodeName);else c.parentNode.removeChild(c)}return o.body.innerHTML}var a=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},a.prototype.init=function(e,i,n){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&t(document).find("function"==typeof this.options.viewport?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),r=o.length;r--;){var s=o[r];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},a.prototype.getDefaults=function(){return a.DEFAULTS},a.prototype.getOptions=function(i){var n=this.$element.data();for(var o in n)n.hasOwnProperty(o)&&-1!==t.inArray(o,e)&&delete n[o];return(i=t.extend({},this.getDefaults(),n,i)).delay&&"number"==typeof i.delay&&(i.delay={show:i.delay,hide:i.delay}),i.sanitize&&(i.template=s(i.template,i.whiteList,i.sanitizeFn)),i},a.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,n){i[t]!=n&&(e[t]=n)}),e},a.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)}},a.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},a.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)}},a.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var n=this,o=this.tip(),r=this.getUID(this.type);this.setContent(),o.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&o.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,u=l.test(s);u&&(s=s.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(t(document).find(this.options.container)):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),h=o[0].offsetWidth,d=o[0].offsetHeight;if(u){var p=s,f=this.getPosition(this.$viewport);s="bottom"==s&&c.bottom+d>f.bottom?"top":"top"==s&&c.top-d<f.top?"bottom":"right"==s&&c.right+h>f.width?"left":"left"==s&&c.left-h<f.left?"right":s,o.removeClass(p).addClass(s)}var m=this.getCalculatedOffset(s,c,h,d);this.applyPlacement(m,s);var g=function(){var t=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==t&&n.leave(n)};t.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",g).emulateTransitionEnd(a.TRANSITION_DURATION):g()}},a.prototype.applyPlacement=function(e,i){var n=this.tip(),o=n[0].offsetWidth,r=n[0].offsetHeight,s=parseInt(n.css("margin-top"),10),a=parseInt(n.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),e.top+=s,e.left+=a,t.offset.setOffset(n[0],t.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),n.addClass("in");var l=n[0].offsetWidth,u=n[0].offsetHeight;"top"==i&&u!=r&&(e.top=e.top+r-u);var c=this.getViewportAdjustedDelta(i,e,l,u);c.left?e.left+=c.left:e.top+=c.top;var h=/top|bottom/.test(i),d=h?2*c.left-o+l:2*c.top-r+u,p=h?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(d,n[0][p],h)},a.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},a.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=s(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},a.prototype.hide=function(e){var i=this,n=t(this.$tip),o=t.Event("hide.bs."+this.type);function r(){"in"!=i.hoverState&&n.detach(),i.$element&&i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type),e&&e()}if(this.$element.trigger(o),!o.isDefaultPrevented())return n.removeClass("in"),t.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",r).emulateTransitionEnd(a.TRANSITION_DURATION):r(),this.hoverState=null,this},a.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},a.prototype.hasContent=function(){return this.getTitle()},a.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],n="BODY"==i.tagName,o=i.getBoundingClientRect();null==o.width&&(o=t.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var r=window.SVGElement&&i instanceof window.SVGElement,s=n?{top:0,left:0}:r?null:e.offset(),a={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},l=n?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},o,a,l,s)},a.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},a.prototype.getViewportAdjustedDelta=function(t,e,i,n){var o={top:0,left:0};if(!this.$viewport)return o;var r=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-r-s.scroll,l=e.top+r-s.scroll+n;a<s.top?o.top=s.top-a:l>s.top+s.height&&(o.top=s.top+s.height-l)}else{var u=e.left-r,c=e.left+r+i;u<s.left?o.left=s.left-u:c>s.right&&(o.left=s.left+s.width-c)}return o},a.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},a.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},a.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},a.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},a.prototype.enable=function(){this.enabled=!0},a.prototype.disable=function(){this.enabled=!1},a.prototype.toggleEnabled=function(){this.enabled=!this.enabled},a.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},a.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})},a.prototype.sanitizeHtml=function(t){return s(t,this.options.whiteList,this.options.sanitizeFn)};var l=t.fn.tooltip;t.fn.tooltip=function(e){return this.each(function(){var i=t(this),n=i.data("bs.tooltip"),o="object"==typeof e&&e;!n&&/destroy|hide/.test(e)||(n||i.data("bs.tooltip",n=new a(this,o)),"string"==typeof e&&n[e]())})},t.fn.tooltip.Constructor=a,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=l,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.4.1",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),(e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();if(this.options.html){var n=typeof i;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===n&&(i=this.sanitizeHtml(i))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===n?"html":"append"](i)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(i);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=function(i){return this.each(function(){var n=t(this),o=n.data("bs.popover"),r="object"==typeof i&&i;!o&&/destroy|hide/.test(i)||(o||n.data("bs.popover",o=new e(this,r)),"string"==typeof i&&o[i]())})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),function(t){"use strict";t.ThreeSixty=function(e,i){var n,o=this,r=[];o.$el=t(e),o.el=e,o.$el.data("ThreeSixty",o),o.init=function(){(n=t.extend({},t.ThreeSixty.defaultOptions,i)).disableSpin&&(n.currentFrame=1,n.endFrame=1),o.initProgress(),o.loadImages()},o.resize=function(){},o.initProgress=function(){o.$el.css({width:n.width+"px",height:n.height+"px","background-image":"none !important"}),n.styles&&o.$el.css(n.styles),o.responsive(),o.$el.find(n.progress).css({marginTop:n.height/2-15+"px"}),o.$el.find(n.progress).fadeIn("slow"),o.$el.find(n.imgList).hide()},o.loadImages=function(){var e,i,s,a;e=document.createElement("li"),a=n.zeroBased?0:1,i=n.imgArray?n.imgArray[n.loadedImages]:n.domain+n.imagePath+n.filePrefix+o.zeroPad(n.loadedImages+a)+n.ext+(o.browser.isIE()?"?"+(new Date).getTime():""),s=t("<img>").attr("src",i).addClass("previous-image").appendTo(e),r.push(s),o.$el.find(n.imgList).append(e),t(s).on("load",function(){o.imageLoaded()})},o.imageLoaded=function(){n.loadedImages+=1,t(n.progress+" span").text(Math.floor(n.loadedImages/n.totalFrames*100)+"%"),n.loadedImages>=n.totalFrames?(n.disableSpin&&r[0].removeClass("previous-image").addClass("current-image"),t(n.progress).fadeOut("slow",function(){t(this).hide(),o.showImages(),o.showNavigation()})):o.loadImages()},o.showImages=function(){o.$el.find(".txtC").fadeIn(),o.$el.find(n.imgList).fadeIn(),o.ready=!0,n.ready=!0,n.drag&&o.initEvents(),o.refresh(),o.initPlugins(),n.onReady(),setTimeout(function(){o.responsive()},50)},o.initPlugins=function(){t.each(n.plugins,function(e,i){if("function"!=typeof t[i])throw new Error(i+" not available.");t[i].call(o,o.$el,n)})},o.showNavigation=function(){var e,i,r,s;n.navigation&&!n.navigation_init&&(e=t("<div/>").attr("class","nav_bar"),i=t("<a/>").attr({href:"#",class:"nav_bar_next"}).html("next"),r=t("<a/>").attr({href:"#",class:"nav_bar_previous"}).html("previous"),s=t("<a/>").attr({href:"#",class:"nav_bar_play"}).html("play"),e.append(r),e.append(s),e.append(i),o.$el.prepend(e),i.bind("click touchstart",o.next),r.bind("click touchstart",o.previous),s.bind("click touchstart",o.play_stop),n.navigation_init=!0)},o.play_stop=function(e){e.preventDefault(),n.autoplay?(n.autoplay=!1,t(e.currentTarget).removeClass("nav_bar_stop").addClass("nav_bar_play"),clearInterval(n.play),n.play=null):(n.autoplay=!0,n.play=setInterval(o.moveToNextFrame,n.playSpeed),t(e.currentTarget).removeClass("nav_bar_play").addClass("nav_bar_stop"))},o.next=function(t){t&&t.preventDefault(),n.endFrame-=parseInt(n.prevNextFrames),o.refresh()},o.previous=function(t){t&&t.preventDefault(),n.endFrame+=parseInt(n.prevNextFrames),o.refresh()},o.play=function(t,e){var i=t||n.playSpeed,r=e||n.autoplayDirection;n.autoplayDirection=r,n.autoplay||(n.autoplay=!0,n.play=setInterval(o.moveToNextFrame,i))},o.stop=function(){n.autoplay&&(n.autoplay=!1,clearInterval(n.play),n.play=null)},o.moveToNextFrame=function(){1===n.autoplayDirection?n.endFrame-=1:n.endFrame+=1,o.refresh()},o.gotoAndPlay=function(t){if(n.disableWrap)n.endFrame=t,o.refresh();else{var e=Math.ceil(n.endFrame/n.totalFrames);0===e&&(e=1);var i,r=e>1?n.endFrame-(e-1)*n.totalFrames:n.endFrame,s=n.totalFrames-r;i=t-r>0?t-r<r+(n.totalFrames-t)?n.endFrame+(t-r):n.endFrame-(r+(n.totalFrames-t)):r-t<s+t?n.endFrame-(r-t):n.endFrame+(s+t),r!==t&&(n.endFrame=i,o.refresh())}},o.initEvents=function(){o.$el.bind("mousedown touchstart touchmove touchend mousemove click",function(t){t.preventDefault(),"mousedown"===t.type&&1===t.which||"touchstart"===t.type?(n.pointerStartPosX=o.getPointerEvent(t).pageX,n.dragging=!0,n.onDragStart(n.currentFrame)):"touchmove"===t.type?o.trackPointer(t):"touchend"===t.type&&(n.dragging=!1,n.onDragStop(n.endFrame))}),t(document).bind("mouseup",function(e){n.dragging=!1,n.onDragStop(n.endFrame),t(this).css("cursor","none")}),t(window).bind("resize",function(t){o.responsive()}),t(document).bind("mousemove",function(t){n.dragging?(t.preventDefault(),!o.browser.isIE&&n.showCursor&&o.$el.css("cursor","url(assets/images/hand_closed.png), auto")):!o.browser.isIE&&n.showCursor&&o.$el.css("cursor","url(assets/images/hand_open.png), auto"),o.trackPointer(t)}),t(window).resize(function(){o.resize()})},o.getPointerEvent=function(t){return t.originalEvent.targetTouches?t.originalEvent.targetTouches[0]:t},o.trackPointer=function(t){n.ready&&n.dragging&&(n.pointerEndPosX=o.getPointerEvent(t).pageX,n.monitorStartTime<(new Date).getTime()-n.monitorInt&&(n.pointerDistance=n.pointerEndPosX-n.pointerStartPosX,n.pointerDistance>0?n.endFrame=n.currentFrame+Math.ceil((n.totalFrames-1)*n.speedMultiplier*(n.pointerDistance/o.$el.width())):n.endFrame=n.currentFrame+Math.floor((n.totalFrames-1)*n.speedMultiplier*(n.pointerDistance/o.$el.width())),n.disableWrap&&(n.endFrame=Math.min(n.totalFrames-(n.zeroBased?1:0),n.endFrame),n.endFrame=Math.max(n.zeroBased?0:1,n.endFrame)),o.refresh(),n.monitorStartTime=(new Date).getTime(),n.pointerStartPosX=o.getPointerEvent(t).pageX))},o.refresh=function(){0===n.ticker&&(n.ticker=setInterval(o.render,Math.round(1e3/n.framerate)))},o.render=function(){var t;n.currentFrame!==n.endFrame?(t=n.endFrame<n.currentFrame?Math.floor(.1*(n.endFrame-n.currentFrame)):Math.ceil(.1*(n.endFrame-n.currentFrame)),o.hidePreviousFrame(),n.currentFrame+=t,o.showCurrentFrame(),o.$el.trigger("frameIndexChanged",[o.getNormalizedCurrentFrame(),n.totalFrames])):(window.clearInterval(n.ticker),n.ticker=0)},o.hidePreviousFrame=function(){r[o.getNormalizedCurrentFrame()].removeClass("current-image").addClass("previous-image")},o.showCurrentFrame=function(){r[o.getNormalizedCurrentFrame()].removeClass("previous-image").addClass("current-image")},o.getNormalizedCurrentFrame=function(){var t,e;return n.disableWrap?(t=Math.min(n.currentFrame,n.totalFrames-(n.zeroBased?1:0)),e=Math.min(n.endFrame,n.totalFrames-(n.zeroBased?1:0)),t=Math.max(t,n.zeroBased?0:1),e=Math.max(e,n.zeroBased?0:1),n.currentFrame=t,n.endFrame=e):(t=Math.ceil(n.currentFrame%n.totalFrames))<0&&(t+=n.totalFrames-(n.zeroBased?1:0)),t},o.getCurrentFrame=function(){return n.currentFrame},o.responsive=function(){n.responsive&&o.$el.css({height:o.$el.find(".current-image").first().css("height"),width:"100%"})},o.zeroPad=function(t){var e=Math.log(n.totalFrames)/Math.LN10,i=Math.round(1e3*e)/1e3;return function(t,e){var i=t.toString();if(n.zeroPadding)for(;i.length<e;)i="0"+i;return i}(t,Math.floor(i)+1)},o.browser={},o.browser.isIE=function(){var t=-1;if("Microsoft Internet Explorer"===navigator.appName){var e=navigator.userAgent;null!==new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})").exec(e)&&(t=parseFloat(RegExp.$1))}return-1!==t},o.getConfig=function(){return n},t.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},o.init()},t.fn.ThreeSixty=function(e){return Object.create(new t.ThreeSixty(this,e))}}(jQuery),"function"!=typeof Object.create&&(Object.create=function(t){"use strict";function e(){}return e.prototype=t,new e});var wdSwiper=function(){"use strict";function t(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===Object}function e(i={},n={}){const o=["__proto__","constructor","prototype"];Object.keys(n).filter(t=>o.indexOf(t)<0).forEach(o=>{void 0===i[o]?i[o]=n[o]:t(n[o])&&t(i[o])&&Object.keys(n[o]).length>0&&e(i[o],n[o])})}const i={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function n(){const t="undefined"!=typeof document?document:{};return e(t,i),t}const o={document:i,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){"undefined"!=typeof setTimeout&&clearTimeout(t)}};function r(){const t="undefined"!=typeof window?window:{};return e(t,o),t}function s(t=""){return t.trim().split(" ").filter(t=>!!t.trim())}function a(t,e=0){return setTimeout(t,e)}function l(){return Date.now()}function u(t){return"object"==typeof t&&null!==t&&t.constructor&&"Object"===Object.prototype.toString.call(t).slice(8,-1)}function c(t){return"undefined"!=typeof window&&void 0!==window.HTMLElement?t instanceof HTMLElement:t&&(1===t.nodeType||11===t.nodeType)}function h(...t){const e=Object(t[0]);for(let i=1;i<t.length;i+=1){const n=t[i];if(null!=n&&!c(n)){const t=Object.keys(Object(n)).filter(t=>"__proto__"!==t&&"constructor"!==t&&"prototype"!==t);for(let i=0,o=t.length;i<o;i+=1){const o=t[i],r=Object.getOwnPropertyDescriptor(n,o);void 0!==r&&r.enumerable&&(u(e[o])&&u(n[o])?n[o].__swiper__?e[o]=n[o]:h(e[o],n[o]):!u(e[o])&&u(n[o])?(e[o]={},n[o].__swiper__?e[o]=n[o]:h(e[o],n[o])):e[o]=n[o])}}}return e}function d(t,e,i){t.style.setProperty(e,i)}function p({swiper:t,targetPosition:e,side:i}){const n=r(),o=-t.translate;let s,a=null;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",n.cancelAnimationFrame(t.cssModeFrameID);const u=e>o?"next":"prev",c=(t,e)=>"next"===u&&t>=e||"prev"===u&&t<=e,h=()=>{s=(new Date).getTime(),null===a&&(a=s);const r=Math.max(Math.min((s-a)/l,1),0),u=.5-Math.cos(r*Math.PI)/2;let d=o+u*(e-o);if(c(d,e)&&(d=e),t.wrapperEl.scrollTo({[i]:d}),c(d,e))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:d})}),void n.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=n.requestAnimationFrame(h)};h()}function f(t){return t.querySelector(".swiper-slide-transform")||t.shadowRoot&&t.shadowRoot.querySelector(".swiper-slide-transform")||t}function m(t,e=""){const i=r(),n=[...t.children];return i.HTMLSlotElement&&t instanceof HTMLSlotElement&&n.push(...t.assignedElements()),e?n.filter(t=>t.matches(e)):n}function g(t){try{return void console.warn(t)}catch(e){}}function v(t,e=[]){const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:s(e)),i}function y(t,e){return r().getComputedStyle(t,null).getPropertyValue(e)}function _(t){let e,i=t;if(i){for(e=0;null!==(i=i.previousSibling);)1===i.nodeType&&(e+=1);return e}}function w(t,e){const i=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&i.push(n):i.push(n),n=n.parentElement;return i}function b(t,e){e&&t.addEventListener("transitionend",function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))})}function x(t,e,i){const n=r();return i?t["width"===e?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue("width"===e?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue("width"===e?"margin-left":"margin-bottom")):t.offsetWidth}function T(t){return(Array.isArray(t)?t:[t]).filter(t=>!!t)}function A(t,e=""){"undefined"!=typeof trustedTypes?t.innerHTML=trustedTypes.createPolicy("html",{createHTML:t=>t}).createHTML(e):t.innerHTML=e}let S,E,M;function C(){return S||(S=function(){const t=r(),e=n();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}()),S}function P(t={}){return E||(E=function({userAgent:t}={}){const e=C(),i=r(),n=i.navigator.platform,o=t||i.navigator.userAgent,s={ios:!1,android:!1},a=i.screen.width,l=i.screen.height,u=o.match(/(Android);?[\s\/]+([\d.]+)?/);let c=o.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const h=o.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===n;let f="MacIntel"===n;return!c&&f&&e.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${l}`)>=0&&(c=o.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),f=!1),u&&!p&&(s.os="android",s.android=!0),(c||d||h)&&(s.os="ios",s.ios=!0),s}(t)),E}function L(){return M||(M=function(){const t=r(),e=P();let i=!1;function n(){const e=t.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}if(n()){const e=String(t.navigator.userAgent);if(e.includes("Version/")){const[t,n]=e.split("Version/")[1].split(" ")[0].split(".").map(t=>Number(t));i=t<16||16===t&&n<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),s=n();return{isSafari:i||s,needPerspectiveFix:i,need3dFix:s||o&&e.ios,isWebView:o}}()),M}var z={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const o=i?"unshift":"push";return t.split(" ").forEach(t=>{n.eventsListeners[t]||(n.eventsListeners[t]=[]),n.eventsListeners[t][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;function o(...i){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy,e.apply(n,i)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed?i:i.eventsListeners?(t.split(" ").forEach(t=>{void 0===e?i.eventsListeners[t]=[]:i.eventsListeners[t]&&i.eventsListeners[t].forEach((n,o)=>{(n===e||n.__emitterProxy&&n.__emitterProxy===e)&&i.eventsListeners[t].splice(o,1)})}),i):i},emit(...t){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let i,n,o;return"string"==typeof t[0]||Array.isArray(t[0])?(i=t[0],n=t.slice(1,t.length),o=e):(i=t[0].events,n=t[0].data,o=t[0].context||e),n.unshift(o),(Array.isArray(i)?i:i.split(" ")).forEach(t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(o,[t,...n])}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(t=>{t.apply(o,n)})}),e}};const k=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)},I=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)},O=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=e.closest(t.isElement?"swiper-slide":`.${t.params.slideClass}`);if(i){let e=i.querySelector(`.${t.params.lazyPreloaderClass}`);!e&&t.isElement&&(i.shadowRoot?e=i.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(e=i.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),e&&!e.lazyPreloaderManaged&&e.remove())})),e&&!e.lazyPreloaderManaged&&e.remove()}},D=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},B=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const i=o,r=[i-e];return r.push(...Array.from({length:e}).map((t,e)=>i+n+e)),void t.slides.forEach((e,i)=>{r.includes(e.column)&&D(t,i)})}const r=o+n-1;if(t.params.rewind||t.params.loop)for(let s=o-e;s<=r+e;s+=1){const e=(s%i+i)%i;(e<o||e>r)&&D(t,e)}else for(let s=Math.max(o-e,0);s<=Math.min(r+e,i-1);s+=1)s!==o&&(s>r||s<o)&&D(t,s)};var R={updateSize:function(){const t=this;let e,i;const n=t.el;e=void 0!==t.params.width&&null!==t.params.width?t.params.width:n.clientWidth,i=void 0!==t.params.height&&null!==t.params.height?t.params.height:n.clientHeight,0===e&&t.isHorizontal()||0===i&&t.isVertical()||(e=e-parseInt(y(n,"padding-left")||0,10)-parseInt(y(n,"padding-right")||0,10),i=i-parseInt(y(n,"padding-top")||0,10)-parseInt(y(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))},updateSlides:function(){const t=this;function e(e,i){return parseFloat(e.getPropertyValue(t.getDirectionLabel(i))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,rtlTranslate:r,wrongRTL:s}=t,a=t.virtual&&i.virtual.enabled,l=a?t.virtual.slides.length:t.slides.length,u=m(o,`.${t.params.slideClass}, swiper-slide`),c=a?t.virtual.slides.length:u.length;let h=[];const p=[],f=[];let g=i.slidesOffsetBefore;"function"==typeof g&&(g=i.slidesOffsetBefore.call(t));let v=i.slidesOffsetAfter;"function"==typeof v&&(v=i.slidesOffsetAfter.call(t));const _=t.snapGrid.length,w=t.slidesGrid.length,b=t.size-g-v;let T=i.spaceBetween,A=-g,S=0,E=0;if(void 0===b)return;"string"==typeof T&&T.indexOf("%")>=0?T=parseFloat(T.replace("%",""))/100*b:"string"==typeof T&&(T=parseFloat(T)),t.virtualSize=-T-g-v,u.forEach(t=>{r?t.style.marginLeft="":t.style.marginRight="",t.style.marginBottom="",t.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(d(n,"--swiper-centered-offset-before",""),d(n,"--swiper-centered-offset-after","")),i.cssMode&&(d(n,"--swiper-slides-offset-before",`${g}px`),d(n,"--swiper-slides-offset-after",`${v}px`));const M=i.grid&&i.grid.rows>1&&t.grid;let C;M?t.grid.initSlides(u):t.grid&&t.grid.unsetSlides();const P="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter(t=>void 0!==i.breakpoints[t].slidesPerView).length>0;for(let d=0;d<c;d+=1){C=0;const n=u[d];if(!n||(M&&t.grid.updateSlide(d,n,u),"none"!==y(n,"display"))){if(a&&"auto"===i.slidesPerView)i.virtual.slidesPerViewAutoSlideSize&&(C=i.virtual.slidesPerViewAutoSlideSize),C&&n&&(i.roundLengths&&(C=Math.floor(C)),n.style[t.getDirectionLabel("width")]=`${C}px`);else if("auto"===i.slidesPerView){P&&(n.style[t.getDirectionLabel("width")]="");const o=getComputedStyle(n),r=n.style.transform,s=n.style.webkitTransform;if(r&&(n.style.transform="none"),s&&(n.style.webkitTransform="none"),i.roundLengths)C=t.isHorizontal()?x(n,"width",!0):x(n,"height",!0);else{const t=e(o,"width"),i=e(o,"padding-left"),r=e(o,"padding-right"),s=e(o,"margin-left"),a=e(o,"margin-right"),l=o.getPropertyValue("box-sizing");if(l&&"border-box"===l)C=t+s+a;else{const{clientWidth:e,offsetWidth:o}=n;C=t+i+r+s+a+(o-e)}}r&&(n.style.transform=r),s&&(n.style.webkitTransform=s),i.roundLengths&&(C=Math.floor(C))}else C=(b-(i.slidesPerView-1)*T)/i.slidesPerView,i.roundLengths&&(C=Math.floor(C)),n&&(n.style[t.getDirectionLabel("width")]=`${C}px`);n&&(n.swiperSlideSize=C),f.push(C),i.centeredSlides?(A=A+C/2+S/2+T,0===S&&0!==d&&(A=A-b/2-T),0===d&&(A=A-b/2-T),Math.abs(A)<.001&&(A=0),i.roundLengths&&(A=Math.floor(A)),E%i.slidesPerGroup===0&&h.push(A),p.push(A)):(i.roundLengths&&(A=Math.floor(A)),(E-Math.min(t.params.slidesPerGroupSkip,E))%t.params.slidesPerGroup===0&&h.push(A),p.push(A),A=A+C+T),t.virtualSize+=C+T,S=C,E+=1}}if(t.virtualSize=Math.max(t.virtualSize,b)+v,r&&s&&("slide"===i.effect||"coverflow"===i.effect)&&(n.style.width=`${t.virtualSize+T}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+T}px`),M&&t.grid.updateWrapperSize(C,h),!i.centeredSlides){const e="auto"!==i.slidesPerView&&i.slidesPerView%1!=0,n=i.snapToSlideEdge&&!i.loop&&("auto"===i.slidesPerView||e);let o=h.length;if(n){let t;if("auto"===i.slidesPerView){t=1;let e=0;for(let i=f.length-1;i>=0&&(e+=f[i]+(i<f.length-1?T:0),e<=b);i-=1)t=f.length-i}else t=Math.floor(i.slidesPerView);o=Math.max(c-t,0)}const r=[];for(let s=0;s<h.length;s+=1){let e=h[s];i.roundLengths&&(e=Math.floor(e)),n?s<=o&&r.push(e):h[s]<=t.virtualSize-b&&r.push(e)}h=r,Math.floor(t.virtualSize-b)-Math.floor(h[h.length-1])>1&&(n||h.push(t.virtualSize-b))}if(a&&i.loop){const e=f[0]+T;if(i.slidesPerGroup>1){const n=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),o=e*i.slidesPerGroup;for(let t=0;t<n;t+=1)h.push(h[h.length-1]+o)}for(let n=0;n<t.virtual.slidesBefore+t.virtual.slidesAfter;n+=1)1===i.slidesPerGroup&&h.push(h[h.length-1]+e),p.push(p[p.length-1]+e),t.virtualSize+=e}if(0===h.length&&(h=[0]),0!==T){const e=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");u.filter((t,e)=>!(i.cssMode&&!i.loop)||e!==u.length-1).forEach(t=>{t.style[e]=`${T}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let t=0;f.forEach(e=>{t+=e+(T||0)}),t-=T;const e=t>b?t-b:0;h=h.map(t=>t<=0?-g:t>e?e+v:t)}if(i.centerInsufficientSlides){let t=0;if(f.forEach(e=>{t+=e+(T||0)}),t-=T,t<b){const e=(b-t)/2;h.forEach((t,i)=>{h[i]=t-e}),p.forEach((t,i)=>{p[i]=t+e})}}if(Object.assign(t,{slides:u,snapGrid:h,slidesGrid:p,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){d(n,"--swiper-centered-offset-before",-h[0]+"px"),d(n,"--swiper-centered-offset-after",t.size/2-f[f.length-1]/2+"px");const e=-t.snapGrid[0],i=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(t=>t+i)}if(c!==l&&t.emit("slidesLengthChange"),h.length!==_&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==w&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!(a||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const e=`${i.containerModifierClass}backface-hidden`,n=t.el.classList.contains(e);c<=i.maxBackfaceHiddenSlides?n||t.el.classList.add(e):n&&t.el.classList.remove(e)}},updateAutoHeight:function(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o,r=0;"number"==typeof t?e.setTransition(t):!0===t&&e.setTransition(e.params.speed);const s=t=>n?e.slides[e.getSlideIndexByData(t)]:e.slides[t];if("auto"!==e.params.slidesPerView&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(t=>{i.push(t)});else for(o=0;o<Math.ceil(e.params.slidesPerView);o+=1){const t=e.activeIndex+o;if(t>e.slides.length&&!n)break;i.push(s(t))}else i.push(s(e.activeIndex));for(o=0;o<i.length;o+=1)if(void 0!==i[o]){const t=i[o].offsetHeight;r=t>r?t:r}(r||0===r)&&(e.wrapperEl.style.height=`${r}px`)},updateSlidesOffset:function(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()},updateSlidesProgress:function(t=this&&this.translate||0){const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:r}=e;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&e.updateSlidesOffset();let s=-t;o&&(s=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=i.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:"string"==typeof a&&(a=parseFloat(a));for(let l=0;l<n.length;l+=1){const t=n[l];let u=t.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(u-=n[0].swiperSlideOffset);const c=(s+(i.centeredSlides?e.minTranslate():0)-u)/(t.swiperSlideSize+a),h=(s-r[0]+(i.centeredSlides?e.minTranslate():0)-u)/(t.swiperSlideSize+a),d=-(s-u),p=d+e.slidesSizesGrid[l],f=d>=0&&d<=e.size-e.slidesSizesGrid[l],m=d>=0&&d<e.size-1||p>1&&p<=e.size||d<=0&&p>=e.size;m&&(e.visibleSlides.push(t),e.visibleSlidesIndexes.push(l)),k(t,m,i.slideVisibleClass),k(t,f,i.slideFullyVisibleClass),t.progress=o?-c:c,t.originalProgress=o?-h:h}},updateProgress:function(t){const e=this;if(void 0===t){const i=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*i||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:r,isEnd:s,progressLoop:a}=e;const l=r,u=s;if(0===n)o=0,r=!0,s=!0;else{o=(t-e.minTranslate())/n;const i=Math.abs(t-e.minTranslate())<1,a=Math.abs(t-e.maxTranslate())<1;r=i||o<=0,s=a||o>=1,i&&(o=0),a&&(o=1)}if(i.loop){const i=e.getSlideIndexByData(0),n=e.getSlideIndexByData(e.slides.length-1),o=e.slidesGrid[i],r=e.slidesGrid[n],s=e.slidesGrid[e.slidesGrid.length-1],l=Math.abs(t);a=l>=o?(l-o)/s:(l+s-r)/s,a>1&&(a-=1)}Object.assign(e,{progress:o,progressLoop:a,isBeginning:r,isEnd:s}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),r&&!l&&e.emit("reachBeginning toEdge"),s&&!u&&e.emit("reachEnd toEdge"),(l&&!r||u&&!s)&&e.emit("fromEdge"),e.emit("progress",o)},updateSlidesClasses:function(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,r=t.virtual&&i.virtual.enabled,s=t.grid&&i.grid&&i.grid.rows>1,a=t=>m(n,`.${i.slideClass}${t}, swiper-slide${t}`)[0];let l,u,c;if(r)if(i.loop){let e=o-t.virtual.slidesBefore;e<0&&(e=t.virtual.slides.length+e),e>=t.virtual.slides.length&&(e-=t.virtual.slides.length),l=a(`[data-swiper-slide-index="${e}"]`)}else l=a(`[data-swiper-slide-index="${o}"]`);else s?(l=e.find(t=>t.column===o),c=e.find(t=>t.column===o+1),u=e.find(t=>t.column===o-1)):l=e[o];l&&(s||(c=function(t,e){const i=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}(l,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),u=function(t,e){const i=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}(l,`.${i.slideClass}, swiper-slide`)[0],i.loop&&0===!u&&(u=e[e.length-1]))),e.forEach(t=>{I(t,t===l,i.slideActiveClass),I(t,t===c,i.slideNextClass),I(t,t===u,i.slidePrevClass)}),t.emitSlidesClasses()},updateActiveIndex:function(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:r,realIndex:s,snapIndex:a}=e;let l,u=t;const c=t=>{let i=t-e.virtual.slidesBefore;return i<0&&(i=e.virtual.slides.length+i),i>=e.virtual.slides.length&&(i-=e.virtual.slides.length),i};if(void 0===u&&(u=function(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let o;for(let r=0;r<e.length;r+=1)void 0!==e[r+1]?n>=e[r]&&n<e[r+1]-(e[r+1]-e[r])/2?o=r:n>=e[r]&&n<e[r+1]&&(o=r+1):n>=e[r]&&(o=r);return i.normalizeSlideIndex&&(o<0||void 0===o)&&(o=0),o}(e)),n.indexOf(i)>=0)l=n.indexOf(i);else{const t=Math.min(o.slidesPerGroupSkip,u);l=t+Math.floor((u-t)/o.slidesPerGroup)}if(l>=n.length&&(l=n.length-1),u===r&&!e.params.loop)return void(l!==a&&(e.snapIndex=l,e.emit("snapIndexChange")));if(u===r&&e.params.loop&&e.virtual&&e.params.virtual.enabled)return void(e.realIndex=c(u));const h=e.grid&&o.grid&&o.grid.rows>1;let d;if(e.virtual&&o.virtual.enabled)d=o.loop?c(u):u;else if(h){const t=e.slides.find(t=>t.column===u);let i=parseInt(t.getAttribute("data-swiper-slide-index"),10);Number.isNaN(i)&&(i=Math.max(e.slides.indexOf(t),0)),d=Math.floor(i/o.grid.rows)}else if(e.slides[u]){const t=e.slides[u].getAttribute("data-swiper-slide-index");d=t?parseInt(t,10):u}else d=u;Object.assign(e,{previousSnapIndex:a,snapIndex:l,previousRealIndex:s,realIndex:d,previousIndex:r,activeIndex:u}),e.initialized&&B(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(s!==d&&e.emit("realIndexChange"),e.emit("slideChange"))},updateClickedSlide:function(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(t=>{!o&&t.matches&&t.matches(`.${n.slideClass}, swiper-slide`)&&(o=t)});let r,s=!1;if(o)for(let a=0;a<i.slides.length;a+=1)if(i.slides[a]===o){s=!0,r=a;break}if(!o||!s)return i.clickedSlide=void 0,void(i.clickedIndex=void 0);i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r,n.slideToClickedSlide&&void 0!==i.clickedIndex&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}};function F({swiper:t,runCallbacks:e,direction:i,step:n}){const{activeIndex:o,previousIndex:r}=t;let s=i;s||(s=o>r?"next":o<r?"prev":"reset"),t.emit(`transition${n}`),e&&"reset"===s?t.emit(`slideResetTransition${n}`):e&&o!==r&&(t.emit(`slideChangeTransition${n}`),"next"===s?t.emit(`slideNextTransition${n}`):t.emit(`slidePrevTransition${n}`))}var N={slideTo:function(t=0,e,i=!0,n,o){"string"==typeof t&&(t=parseInt(t,10));const r=this;let s=t;s<0&&(s=0);const{params:a,snapGrid:l,slidesGrid:u,previousIndex:c,activeIndex:h,rtlTranslate:d,wrapperEl:f,enabled:m}=r;if(!m&&!n&&!o||r.destroyed||r.animating&&a.preventInteractionOnTransition)return!1;void 0===e&&(e=r.params.speed);const g=Math.min(r.params.slidesPerGroupSkip,s);let v=g+Math.floor((s-g)/r.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const y=-l[v];if(a.normalizeSlideIndex)for(let p=0;p<u.length;p+=1){const t=-Math.floor(100*y),e=Math.floor(100*u[p]),i=Math.floor(100*u[p+1]);void 0!==u[p+1]?t>=e&&t<i-(i-e)/2?s=p:t>=e&&t<i&&(s=p+1):t>=e&&(s=p)}if(r.initialized&&s!==h){if(!r.allowSlideNext&&(d?y>r.translate&&y>r.minTranslate():y<r.translate&&y<r.minTranslate()))return!1;if(!r.allowSlidePrev&&y>r.translate&&y>r.maxTranslate()&&(h||0)!==s)return!1}let _;s!==(c||0)&&i&&r.emit("beforeSlideChangeStart"),r.updateProgress(y),_=s>h?"next":s<h?"prev":"reset";const w=r.virtual&&r.params.virtual.enabled;if((!w||!o)&&(d&&-y===r.translate||!d&&y===r.translate))return r.updateActiveIndex(s),a.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==a.effect&&r.setTranslate(y),"reset"!==_&&(r.transitionStart(i,_),r.transitionEnd(i,_)),!1;if(a.cssMode){const t=r.isHorizontal(),i=d?y:-y;if(0===e)w&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),w&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[t?"scrollLeft":"scrollTop"]=i})):f[t?"scrollLeft":"scrollTop"]=i,w&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return p({swiper:r,targetPosition:i,side:t?"left":"top"}),!0;f.scrollTo({[t?"left":"top"]:i,behavior:"smooth"})}return!0}const b=L().isSafari;return w&&!o&&b&&r.isElement&&r.virtual.update(!1,!1,s),r.setTransition(e),r.setTranslate(y),r.updateActiveIndex(s),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,n),r.transitionStart(i,_),0===e?r.transitionEnd(i,_):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(t){r&&!r.destroyed&&t.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,_))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(t=0,e,i=!0,n){"string"==typeof t&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;void 0===e&&(e=o.params.speed);const r=o.grid&&o.params.grid&&o.params.grid.rows>1;let s=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)s+=o.virtual.slidesBefore;else{let t;if(r){const e=s*o.params.grid.rows;t=o.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e).column}else t=o.getSlideIndexByData(s);const e=r?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:i,slidesOffsetBefore:a,slidesOffsetAfter:l}=o.params,u=i||!!a||!!l;let c=o.params.slidesPerView;"auto"===c?c=o.slidesPerViewDynamic():(c=Math.ceil(parseFloat(o.params.slidesPerView,10)),u&&c%2==0&&(c+=1));let h=e-t<c;if(u&&(h=h||t<Math.ceil(c/2)),n&&u&&"auto"!==o.params.slidesPerView&&!r&&(h=!1),h){const i=u?t<o.activeIndex?"prev":"next":t-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?t+1:t-e+1,slideRealIndex:"next"===i?o.realIndex:void 0})}if(r){const t=s*o.params.grid.rows;s=o.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t).column}else s=o.getSlideIndexByData(s)}return requestAnimationFrame(()=>{o.slideTo(s,e,i,n)}),o},slideNext:function(t,e=!0,i){const n=this,{enabled:o,params:r,animating:s}=n;if(!o||n.destroyed)return n;void 0===t&&(t=n.params.speed);let a=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<r.slidesPerGroupSkip?1:a,u=n.virtual&&r.virtual.enabled;if(r.loop){if(s&&!u&&r.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+l,t,e,i)}),!0}return r.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+l,t,e,i)},slidePrev:function(t,e=!0,i){const n=this,{params:o,snapGrid:r,slidesGrid:s,rtlTranslate:a,enabled:l,animating:u}=n;if(!l||n.destroyed)return n;void 0===t&&(t=n.params.speed);const c=n.virtual&&o.virtual.enabled;if(o.loop){if(u&&!c&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function h(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}const d=h(a?n.translate:-n.translate),p=r.map(t=>h(t)),f=o.freeMode&&o.freeMode.enabled;let m=r[p.indexOf(d)-1];if(void 0===m&&(o.cssMode||f)){let t;r.forEach((e,i)=>{d>=e&&(t=i)}),void 0!==t&&(m=f?r[t]:r[t>0?t-1:t])}let g=0;if(void 0!==m&&(g=s.indexOf(m),g<0&&(g=n.activeIndex-1),"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(g=g-n.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),o.rewind&&n.isBeginning){const o=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(o,t,e,i)}return o.loop&&0===n.activeIndex&&o.cssMode?(requestAnimationFrame(()=>{n.slideTo(g,t,e,i)}),!0):n.slideTo(g,t,e,i)},slideReset:function(t,e=!0,i){const n=this;if(!n.destroyed)return void 0===t&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,i)},slideToClosest:function(t,e=!0,i,n=.5){const o=this;if(o.destroyed)return;void 0===t&&(t=o.params.speed);let r=o.activeIndex;const s=Math.min(o.params.slidesPerGroupSkip,r),a=s+Math.floor((r-s)/o.params.slidesPerGroup),l=o.rtlTranslate?o.translate:-o.translate;if(l>=o.snapGrid[a]){const t=o.snapGrid[a];l-t>(o.snapGrid[a+1]-t)*n&&(r+=o.params.slidesPerGroup)}else{const t=o.snapGrid[a-1];l-t<=(o.snapGrid[a]-t)*n&&(r-=o.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,o.slidesGrid.length-1),o.slideTo(r,t,e,i)},slideToClickedSlide:function(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n="auto"===e.slidesPerView?t.slidesPerViewDynamic():e.slidesPerView;let o,r=t.getSlideIndexWhenGrid(t.clickedIndex);const s=t.isElement?"swiper-slide":`.${e.slideClass}`,l=t.grid&&t.params.grid&&t.params.grid.rows>1;if(e.loop){if(t.animating)return;o=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?t.slideToLoop(o):r>(l?(t.slides.length-n)/2-(t.params.grid.rows-1):t.slides.length-n)?(t.loopFix(),r=t.getSlideIndex(m(i,`${s}[data-swiper-slide-index="${o}"]`)[0]),a(()=>{t.slideTo(r)})):t.slideTo(r)}else t.slideTo(r)}},j={loopCreate:function(t,e){const i=this,{params:n,slidesEl:o}=i;if(!n.loop||i.virtual&&i.params.virtual.enabled)return;const r=()=>{m(o,`.${n.slideClass}, swiper-slide`).forEach((t,e)=>{t.setAttribute("data-swiper-slide-index",e)})},s=i.grid&&n.grid&&n.grid.rows>1;n.loopAddBlankSlides&&(n.slidesPerGroup>1||s)&&(()=>{const t=m(o,`.${n.slideBlankClass}`);t.forEach(t=>{t.remove()}),t.length>0&&(i.recalcSlides(),i.updateSlides())})();const a=n.slidesPerGroup*(s?n.grid.rows:1),l=i.slides.length%a!==0,u=s&&i.slides.length%n.grid.rows!==0,c=t=>{for(let e=0;e<t;e+=1){const t=i.isElement?v("swiper-slide",[n.slideBlankClass]):v("div",[n.slideClass,n.slideBlankClass]);i.slidesEl.append(t)}};l?(n.loopAddBlankSlides?(c(a-i.slides.length%a),i.recalcSlides(),i.updateSlides()):g("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),r()):u?(n.loopAddBlankSlides?(c(n.grid.rows-i.slides.length%n.grid.rows),i.recalcSlides(),i.updateSlides()):g("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),r()):r();const h=n.centeredSlides||!!n.slidesOffsetBefore||!!n.slidesOffsetAfter;i.loopFix({slideRealIndex:t,direction:h?void 0:"next",initial:e})},loopFix:function({slideRealIndex:t,slideTo:e=!0,direction:i,setTranslate:n,activeSlideIndex:o,initial:r,byController:s,byMousewheel:a}={}){const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:h,slidesEl:d,params:p}=l,{centeredSlides:f,slidesOffsetBefore:m,slidesOffsetAfter:v,initialSlide:y}=p,_=f||!!m||!!v;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&p.virtual.enabled)return e&&(_||0!==l.snapIndex?_&&l.snapIndex<p.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=c,l.allowSlideNext=h,void l.emit("loopFix");let w=p.slidesPerView;"auto"===w?w=l.slidesPerViewDynamic():(w=Math.ceil(parseFloat(p.slidesPerView,10)),_&&w%2==0&&(w+=1));const b=p.slidesPerGroupAuto?w:p.slidesPerGroup;let x=_?Math.max(b,Math.ceil(w/2)):b;x%b!==0&&(x+=b-x%b),x+=p.loopAdditionalSlides,l.loopedSlides=x;const T=l.grid&&p.grid&&p.grid.rows>1;u.length<w+x||"cards"===l.params.effect&&u.length<w+2*x?g("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):T&&"row"===p.grid.fill&&g("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const A=[],S=[],E=T?Math.ceil(u.length/p.grid.rows):u.length,M=r&&E-y<w&&!_;let C=M?y:l.activeIndex;void 0===o?o=l.getSlideIndex(u.find(t=>t.classList.contains(p.slideActiveClass))):C=o;const P="next"===i||!i,L="prev"===i||!i;let z=0,k=0;const I=(T?u[o].column:o)+(_&&void 0===n?-w/2+.5:0);if(I<x){z=Math.max(x-I,b);for(let t=0;t<x-I;t+=1){const e=t-Math.floor(t/E)*E;if(T){const t=E-e-1;for(let e=u.length-1;e>=0;e-=1)u[e].column===t&&A.push(e)}else A.push(E-e-1)}}else if(I+w>E-x){k=Math.max(I-(E-2*x),b),M&&(k=Math.max(k,w-E+y+1));for(let t=0;t<k;t+=1){const e=t-Math.floor(t/E)*E;T?u.forEach((t,i)=>{t.column===e&&S.push(i)}):S.push(e)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),"cards"===l.params.effect&&u.length<w+2*x&&(S.includes(o)&&S.splice(S.indexOf(o),1),A.includes(o)&&A.splice(A.indexOf(o),1)),L&&A.forEach(t=>{u[t].swiperLoopMoveDOM=!0,d.prepend(u[t]),u[t].swiperLoopMoveDOM=!1}),P&&S.forEach(t=>{u[t].swiperLoopMoveDOM=!0,d.append(u[t]),u[t].swiperLoopMoveDOM=!1}),l.recalcSlides(),"auto"===p.slidesPerView?l.updateSlides():T&&(A.length>0&&L||S.length>0&&P)&&l.slides.forEach((t,e)=>{l.grid.updateSlide(e,t,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),e)if(A.length>0&&L){if(void 0===t){const t=l.slidesGrid[C],e=l.slidesGrid[C+z]-t;a?l.setTranslate(l.translate-e):(l.slideTo(C+Math.ceil(z),0,!1,!0),n&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-e,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-e))}else if(n){const t=T?A.length/p.grid.rows:A.length;l.slideTo(l.activeIndex+t,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(S.length>0&&P)if(void 0===t){const t=l.slidesGrid[C],e=l.slidesGrid[C-k]-t;a?l.setTranslate(l.translate-e):(l.slideTo(C-k,0,!1,!0),n&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-e,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-e))}else{const t=T?S.length/p.grid.rows:S.length;l.slideTo(l.activeIndex-t,0,!1,!0)}if(l.allowSlidePrev=c,l.allowSlideNext=h,l.controller&&l.controller.control&&!s){const r={slideRealIndex:t,direction:i,setTranslate:n,activeSlideIndex:o,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...r,slideTo:t.params.slidesPerView===p.slidesPerView&&e})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...r,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView&&e})}l.emit("loopFix")},loopDestroy:function(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||!i||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(t=>{const e=void 0===t.swiperSlideIndex?1*t.getAttribute("data-swiper-slide-index"):t.swiperSlideIndex;n[e]=t}),t.slides.forEach(t=>{t.removeAttribute("data-swiper-slide-index")}),n.forEach(t=>{i.append(t)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}};function H(t,e,i){const n=r(),{params:o}=t,s=o.edgeSwipeDetection,a=o.edgeSwipeThreshold;return!s||!(i<=a||i>=n.innerWidth-a)||"prevent"===s&&(e.preventDefault(),!0)}function W(t){const e=this,i=n();let o=t;o.originalEvent&&(o=o.originalEvent);const s=e.touchEventsData;if("pointerdown"===o.type){if(null!==s.pointerId&&s.pointerId!==o.pointerId)return;s.pointerId=o.pointerId}else"touchstart"===o.type&&1===o.targetTouches.length&&(s.touchId=o.targetTouches[0].identifier);if("touchstart"===o.type)return void H(e,o,o.targetTouches[0].pageX);const{params:a,touches:u,enabled:c}=e;if(!c)return;if(!a.simulateTouch&&"mouse"===o.pointerType)return;if(e.animating&&a.preventInteractionOnTransition)return;!e.animating&&a.cssMode&&a.loop&&e.loopFix();let h=o.target;if("wrapper"===a.touchEventsTarget&&!function(t,e){const i=r();let n=e.contains(t);return!n&&i.HTMLSlotElement&&e instanceof HTMLSlotElement&&(n=[...e.assignedElements()].includes(t),n||(n=function(t,e){const i=[e];for(;i.length>0;){const e=i.shift();if(t===e)return!0;i.push(...e.children,...e.shadowRoot?e.shadowRoot.children:[],...e.assignedElements?e.assignedElements():[])}}(t,e))),n}(h,e.wrapperEl))return;if("which"in o&&3===o.which)return;if("button"in o&&o.button>0)return;if(s.isTouched&&s.isMoved)return;const d=!!a.noSwipingClass&&""!==a.noSwipingClass,p=o.composedPath?o.composedPath():o.path;d&&o.target&&o.target.shadowRoot&&p&&(h=p[0]);const f=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,m=!(!o.target||!o.target.shadowRoot);if(a.noSwiping&&(m?function(t,e=this){return function e(i){if(!i||i===n()||i===r())return null;i.assignedSlot&&(i=i.assignedSlot);const o=i.closest(t);return o||i.getRootNode?o||e(i.getRootNode().host):null}(e)}(f,h):h.closest(f)))return void(e.allowClick=!0);if(a.swipeHandler&&!h.closest(a.swipeHandler))return;u.currentX=o.pageX,u.currentY=o.pageY;const g=u.currentX,v=u.currentY;if(!H(e,o,g))return;Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),u.startX=g,u.startY=v,s.touchStartTime=l(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,a.threshold>0&&(s.allowThresholdMove=!1);let y=!0;h.matches(s.focusableElements)&&(y=!1,"SELECT"===h.nodeName&&(s.isTouched=!1)),i.activeElement&&i.activeElement.matches(s.focusableElements)&&i.activeElement!==h&&("mouse"===o.pointerType||"mouse"!==o.pointerType&&!h.matches(s.focusableElements))&&i.activeElement.blur();const _=y&&e.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!_||h.isContentEditable||o.preventDefault(),a.freeMode&&a.freeMode.enabled&&e.freeMode&&e.animating&&!a.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",o)}function q(t){const e=n(),i=this,o=i.touchEventsData,{params:r,touches:s,rtlTranslate:a,enabled:u}=i;if(!u)return;if(!r.simulateTouch&&"mouse"===t.pointerType)return;let c,h=t;if(h.originalEvent&&(h=h.originalEvent),"pointermove"===h.type){if(null!==o.touchId)return;if(h.pointerId!==o.pointerId)return}if("touchmove"===h.type){if(c=[...h.changedTouches].find(t=>t.identifier===o.touchId),!c||c.identifier!==o.touchId)return}else c=h;if(!o.isTouched)return void(o.startMoving&&o.isScrolling&&i.emit("touchMoveOpposite",h));const d=c.pageX,p=c.pageY;if(h.preventedByNestedSwiper)return s.startX=d,void(s.startY=p);if(!i.allowTouchMove)return h.target.matches(o.focusableElements)||(i.allowClick=!1),void(o.isTouched&&(Object.assign(s,{startX:d,startY:p,currentX:d,currentY:p}),o.touchStartTime=l()));if(r.touchReleaseOnEdges&&!r.loop)if(i.isVertical()){if(p<s.startY&&i.translate<=i.maxTranslate()||p>s.startY&&i.translate>=i.minTranslate())return o.isTouched=!1,void(o.isMoved=!1)}else{if(a&&(d>s.startX&&-i.translate<=i.maxTranslate()||d<s.startX&&-i.translate>=i.minTranslate()))return;if(!a&&(d<s.startX&&i.translate<=i.maxTranslate()||d>s.startX&&i.translate>=i.minTranslate()))return}if(e.activeElement&&e.activeElement.matches(o.focusableElements)&&e.activeElement!==h.target&&"mouse"!==h.pointerType&&e.activeElement.blur(),e.activeElement&&h.target===e.activeElement&&h.target.matches(o.focusableElements))return o.isMoved=!0,void(i.allowClick=!1);o.allowTouchCallbacks&&i.emit("touchMove",h),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=d,s.currentY=p;const f=s.currentX-s.startX,m=s.currentY-s.startY;if(i.params.threshold&&Math.sqrt(f**2+m**2)<i.params.threshold)return;if(void 0===o.isScrolling){let t;i.isHorizontal()&&s.currentY===s.startY||i.isVertical()&&s.currentX===s.startX?o.isScrolling=!1:f*f+m*m>=25&&(t=180*Math.atan2(Math.abs(m),Math.abs(f))/Math.PI,o.isScrolling=i.isHorizontal()?t>r.touchAngle:90-t>r.touchAngle)}if(o.isScrolling&&i.emit("touchMoveOpposite",h),void 0===o.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(o.startMoving=!0)),o.isScrolling||"touchmove"===h.type&&o.preventTouchMoveFromPointerMove)return void(o.isTouched=!1);if(!o.startMoving)return;i.allowClick=!1,!r.cssMode&&h.cancelable&&h.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&h.stopPropagation();let g=i.isHorizontal()?f:m,v=i.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;r.oneWayMovement&&(g=Math.abs(g)*(a?1:-1),v=Math.abs(v)*(a?1:-1)),s.diff=g,g*=r.touchRatio,a&&(g=-g,v=-v);const y=i.touchesDirection;i.swipeDirection=g>0?"prev":"next",i.touchesDirection=v>0?"prev":"next";const _=i.params.loop&&!r.cssMode,w="next"===i.touchesDirection&&i.allowSlideNext||"prev"===i.touchesDirection&&i.allowSlidePrev;if(!o.isMoved){if(_&&w&&i.loopFix({direction:i.swipeDirection}),o.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(t)}o.allowMomentumBounce=!1,!r.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",h)}if((new Date).getTime(),!1!==r._loopSwapReset&&o.isMoved&&o.allowThresholdMove&&y!==i.touchesDirection&&_&&w&&Math.abs(g)>=1)return Object.assign(s,{startX:d,startY:p,currentX:d,currentY:p,startTranslate:o.currentTranslate}),o.loopSwapReset=!0,void(o.startTranslate=o.currentTranslate);i.emit("sliderMove",h),o.isMoved=!0,o.currentTranslate=g+o.startTranslate;let b=!0,x=r.resistanceRatio;if(r.touchReleaseOnEdges&&(x=0),g>0?(_&&w&&o.allowThresholdMove&&o.currentTranslate>(r.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]-("auto"!==r.slidesPerView&&i.slides.length-r.slidesPerView>=2?i.slidesSizesGrid[i.activeIndex+1]+i.params.spaceBetween:0)-i.params.spaceBetween:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),o.currentTranslate>i.minTranslate()&&(b=!1,r.resistance&&(o.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+o.startTranslate+g)**x))):g<0&&(_&&w&&o.allowThresholdMove&&o.currentTranslate<(r.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]+i.params.spaceBetween+("auto"!==r.slidesPerView&&i.slides.length-r.slidesPerView>=2?i.slidesSizesGrid[i.slidesSizesGrid.length-1]+i.params.spaceBetween:0):i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-("auto"===r.slidesPerView?i.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),o.currentTranslate<i.maxTranslate()&&(b=!1,r.resistance&&(o.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-o.startTranslate-g)**x))),b&&(h.preventedByNestedSwiper=!0),!i.allowSlideNext&&"next"===i.swipeDirection&&o.currentTranslate<o.startTranslate&&(o.currentTranslate=o.startTranslate),!i.allowSlidePrev&&"prev"===i.swipeDirection&&o.currentTranslate>o.startTranslate&&(o.currentTranslate=o.startTranslate),i.allowSlidePrev||i.allowSlideNext||(o.currentTranslate=o.startTranslate),r.threshold>0){if(!(Math.abs(g)>r.threshold||o.allowThresholdMove))return void(o.currentTranslate=o.startTranslate);if(!o.allowThresholdMove)return o.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,o.currentTranslate=o.startTranslate,void(s.diff=i.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&i.freeMode||r.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(o.currentTranslate),i.setTranslate(o.currentTranslate))}function Z(t){const e=this,i=e.touchEventsData;let n,o=t;if(o.originalEvent&&(o=o.originalEvent),"touchend"===o.type||"touchcancel"===o.type){if(n=[...o.changedTouches].find(t=>t.identifier===i.touchId),!n||n.identifier!==i.touchId)return}else{if(null!==i.touchId)return;if(o.pointerId!==i.pointerId)return;n=o}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(o.type)&&(!["pointercancel","contextmenu"].includes(o.type)||!e.browser.isSafari&&!e.browser.isWebView))return;i.pointerId=null,i.touchId=null;const{params:r,touches:s,rtlTranslate:u,slidesGrid:c,enabled:h}=e;if(!h)return;if(!r.simulateTouch&&"mouse"===o.pointerType)return;if(i.allowTouchCallbacks&&e.emit("touchEnd",o),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&r.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);r.grabCursor&&i.isMoved&&i.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);const d=l(),p=d-i.touchStartTime;if(e.allowClick){const t=o.path||o.composedPath&&o.composedPath();e.updateClickedSlide(t&&t[0]||o.target,t),e.emit("tap click",o),p<300&&d-i.lastClickTime<300&&e.emit("doubleTap doubleClick",o)}if(i.lastClickTime=l(),a(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||0===s.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let f;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,f=r.followFinger?u?e.translate:-e.translate:-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled)return void e.freeMode.onTouchEnd({currentPos:f});const m=f>=-e.maxTranslate()&&!e.params.loop;let g=0,v=e.slidesSizesGrid[0];for(let a=0;a<c.length;a+=a<r.slidesPerGroupSkip?1:r.slidesPerGroup){const t=a<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==c[a+t]?(m||f>=c[a]&&f<c[a+t])&&(g=a,v=c[a+t]-c[a]):(m||f>=c[a])&&(g=a,v=c[c.length-1]-c[c.length-2])}let y=null,_=null;r.rewind&&(e.isBeginning?_=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(y=0));const w=(f-c[g])/v,b=g<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(p>r.longSwipesMs){if(!r.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&(w>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?y:g+b):e.slideTo(g)),"prev"===e.swipeDirection&&(w>1-r.longSwipesRatio?e.slideTo(g+b):null!==_&&w<0&&Math.abs(w)>r.longSwipesRatio?e.slideTo(_):e.slideTo(g))}else{if(!r.shortSwipes)return void e.slideTo(e.activeIndex);!e.navigation||o.target!==e.navigation.nextEl&&o.target!==e.navigation.prevEl?("next"===e.swipeDirection&&e.slideTo(null!==y?y:g+b),"prev"===e.swipeDirection&&e.slideTo(null!==_?_:g)):o.target===e.navigation.nextEl?e.slideTo(g+b):e.slideTo(g)}}function $(){const t=this,{params:e,el:i}=t;if(i&&0===i.offsetWidth)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:r}=t,s=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const a=s&&e.loop;if(!("auto"===e.slidesPerView||e.slidesPerView>1)||!t.isEnd||t.isBeginning||t.params.centeredSlides||a)t.params.loop&&!s?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0);else{const e=s?t.virtual.slides:t.slides;t.slideTo(e.length-1,0,!1,!0)}t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&r!==t.snapGrid&&t.checkOverflow()}function G(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function V(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;let o;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();const r=t.maxTranslate()-t.minTranslate();o=0===r?0:(t.translate-t.minTranslate())/r,o!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function U(t){const e=this;O(e,t.target),e.params.cssMode||"auto"!==e.params.slidesPerView&&!e.params.autoHeight||e.update()}function Y(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const X=(t,e)=>{const i=n(),{params:o,el:r,wrapperEl:s,device:a}=t,l=!!o.nested,u="on"===e?"addEventListener":"removeEventListener",c=e;r&&"string"!=typeof r&&(i[u]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:l}),r[u]("touchstart",t.onTouchStart,{passive:!1}),r[u]("pointerdown",t.onTouchStart,{passive:!1}),i[u]("touchmove",t.onTouchMove,{passive:!1,capture:l}),i[u]("pointermove",t.onTouchMove,{passive:!1,capture:l}),i[u]("touchend",t.onTouchEnd,{passive:!0}),i[u]("pointerup",t.onTouchEnd,{passive:!0}),i[u]("pointercancel",t.onTouchEnd,{passive:!0}),i[u]("touchcancel",t.onTouchEnd,{passive:!0}),i[u]("pointerout",t.onTouchEnd,{passive:!0}),i[u]("pointerleave",t.onTouchEnd,{passive:!0}),i[u]("contextmenu",t.onTouchEnd,{passive:!0}),(o.preventClicks||o.preventClicksPropagation)&&r[u]("click",t.onClick,!0),o.cssMode&&s[u]("scroll",t.onScroll),o.updateOnWindowResize?t[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",$,!0):t[c]("observerUpdate",$,!0),r[u]("load",t.onLoad,{capture:!0}))},K=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;var Q={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function J(t,e){return function(i={}){const n=Object.keys(i)[0],o=i[n];"object"==typeof o&&null!==o?(!0===t[n]&&(t[n]={enabled:!0}),"navigation"===n&&t[n]&&t[n].enabled&&!t[n].prevEl&&!t[n].nextEl&&(t[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&t[n]&&t[n].enabled&&!t[n].el&&(t[n].auto=!0),n in t&&"enabled"in o?("object"!=typeof t[n]||"enabled"in t[n]||(t[n].enabled=!0),t[n]||(t[n]={enabled:!1}),h(e,i)):h(e,i)):h(e,i)}}const tt={eventsEmitter:z,update:R,translate:{getTranslate:function(t=(this.isHorizontal()?"x":"y")){const{params:e,rtlTranslate:i,translate:n,wrapperEl:o}=this;if(e.virtualTranslate)return i?-n:n;if(e.cssMode)return n;let s=function(t,e="x"){const i=r();let n,o,s;const a=function(t){const e=r();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}(t);return i.WebKitCSSMatrix?(o=a.transform||a.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(t=>t.replace(",",".")).join(", ")),s=new i.WebKitCSSMatrix("none"===o?"":o)):(s=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),"x"===e&&(o=i.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===e&&(o=i.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),o||0}(o,t);return s+=this.cssOverflowAdjustment(),i&&(s=-s),s||0},setTranslate:function(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:r,progress:s}=i;let a,l=0,u=0;i.isHorizontal()?l=n?-t:t:u=t,o.roundLengths&&(l=Math.floor(l),u=Math.floor(u)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:u,o.cssMode?r[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-l:-u:o.virtualTranslate||(i.isHorizontal()?l-=i.cssOverflowAdjustment():u-=i.cssOverflowAdjustment(),r.style.transform=`translate3d(${l}px, ${u}px, 0px)`);const c=i.maxTranslate()-i.minTranslate();a=0===c?0:(t-i.minTranslate())/c,a!==s&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(t=0,e=this.params.speed,i=!0,n=!0,o){const r=this,{params:s,wrapperEl:a}=r;if(r.animating&&s.preventInteractionOnTransition)return!1;const l=r.minTranslate(),u=r.maxTranslate();let c;if(c=n&&t>l?l:n&&t<u?u:t,r.updateProgress(c),s.cssMode){const t=r.isHorizontal();if(0===e)a[t?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return p({swiper:r,targetPosition:-c,side:t?"left":"top"}),!0;a.scrollTo({[t?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===e?(r.setTransition(0),r.setTranslate(c),i&&(r.emit("beforeTransitionStart",e,o),r.emit("transitionEnd"))):(r.setTransition(e),r.setTranslate(c),i&&(r.emit("beforeTransitionStart",e,o),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(t){r&&!r.destroyed&&t.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,i&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=0===t?"0ms":""),i.emit("setTransition",t,e)},transitionStart:function(t=!0,e){const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),F({swiper:i,runCallbacks:t,direction:e,step:"Start"}))},transitionEnd:function(t=!0,e){const i=this,{params:n}=i;i.animating=!1,n.cssMode||(i.setTransition(0),F({swiper:i,runCallbacks:t,direction:e,step:"End"}))}},slide:N,loop:j,grabCursor:{setGrabCursor:function(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i="container"===e.params.touchEventsTarget?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})},unsetGrabCursor:function(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t["container"===t.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}},events:{attachEvents:function(){const t=this,{params:e}=t;t.onTouchStart=W.bind(t),t.onTouchMove=q.bind(t),t.onTouchEnd=Z.bind(t),t.onDocumentTouchStart=Y.bind(t),e.cssMode&&(t.onScroll=V.bind(t)),t.onClick=G.bind(t),t.onLoad=U.bind(t),X(t,"on")},detachEvents:function(){X(this,"off")}},breakpoints:{setBreakpoint:function(){const t=this,{realIndex:e,initialized:i,params:o,el:r}=t,s=o.breakpoints;if(!s||s&&0===Object.keys(s).length)return;const a=n(),l="window"!==o.breakpointsBase&&o.breakpointsBase?"container":o.breakpointsBase,u=["window","container"].includes(o.breakpointsBase)||!o.breakpointsBase?t.el:a.querySelector(o.breakpointsBase),c=t.getBreakpoint(s,l,u);if(!c||t.currentBreakpoint===c)return;const d=(c in s?s[c]:void 0)||t.originalParams,p=K(t,o),f=K(t,d),m=t.params.grabCursor,g=d.grabCursor,v=o.enabled;p&&!f?(r.classList.remove(`${o.containerModifierClass}grid`,`${o.containerModifierClass}grid-column`),t.emitContainerClasses()):!p&&f&&(r.classList.add(`${o.containerModifierClass}grid`),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===o.grid.fill)&&r.classList.add(`${o.containerModifierClass}grid-column`),t.emitContainerClasses()),m&&!g?t.unsetGrabCursor():!m&&g&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(e=>{if(void 0===d[e])return;const i=o[e]&&o[e].enabled,n=d[e]&&d[e].enabled;i&&!n&&t[e].disable(),!i&&n&&t[e].enable()});const y=d.direction&&d.direction!==o.direction,_=o.loop&&(d.slidesPerView!==o.slidesPerView||y),w=o.loop;y&&i&&t.changeDirection(),h(t.params,d);const b=t.params.enabled,x=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),v&&!b?t.disable():!v&&b&&t.enable(),t.currentBreakpoint=c,t.emit("_beforeBreakpoint",d),i&&(_?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!w&&x?(t.loopCreate(e),t.updateSlides()):w&&!x&&t.loopDestroy()),t.emit("breakpoint",d)},getBreakpoint:function(t,e="window",i){if(!t||"container"===e&&!i)return;let n=!1;const o=r(),s="window"===e?o.innerHeight:i.clientHeight,a=Object.keys(t).map(t=>{if("string"==typeof t&&0===t.indexOf("@")){const e=parseFloat(t.substr(1));return{value:s*e,point:t}}return{value:t,point:t}});a.sort((t,e)=>parseInt(t.value,10)-parseInt(e.value,10));for(let r=0;r<a.length;r+=1){const{point:t,value:s}=a[r];"window"===e?o.matchMedia(`(min-width: ${s}px)`).matches&&(n=t):s<=i.clientWidth&&(n=t)}return n||"max"}},checkOverflow:{checkOverflow:function(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const e=t.slides.length-1,i=t.slidesGrid[e]+t.slidesSizesGrid[e]+2*n;t.isLocked=t.size>i}else t.isLocked=1===t.snapGrid.length;!0===i.allowSlideNext&&(t.allowSlideNext=!t.isLocked),!0===i.allowSlidePrev&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:r}=t,s=function(t,e){const i=[];return t.forEach(t=>{"object"==typeof t?Object.keys(t).forEach(n=>{t[n]&&i.push(e+n)}):"string"==typeof t&&i.push(e+t)}),i}(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...s),o.classList.add(...e),t.emitContainerClasses()},removeClasses:function(){const{el:t,classNames:e}=this;t&&"string"!=typeof t&&(t.classList.remove(...e),this.emitContainerClasses())}}},et={};class it{constructor(...t){let e,i;1===t.length&&t[0].constructor&&"Object"===Object.prototype.toString.call(t[0]).slice(8,-1)?i=t[0]:[e,i]=t,i||(i={}),i=h({},i),e&&!i.el&&(i.el=e);const o=n();if(i.el&&"string"==typeof i.el&&o.querySelectorAll(i.el).length>1){const t=[];return o.querySelectorAll(i.el).forEach(e=>{const n=h({},i,{el:e});t.push(new it(n))}),t}const r=this;r.__swiper__=!0,r.support=C(),r.device=P({userAgent:i.userAgent}),r.browser=L(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],i.modules&&Array.isArray(i.modules)&&i.modules.forEach(t=>{"function"==typeof t&&r.modules.indexOf(t)<0&&r.modules.push(t)});const s={};r.modules.forEach(t=>{t({params:i,swiper:r,extendParams:J(i,s),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});const a=h({},Q,s);return r.params=h({},a,et,i),r.originalParams=h({},r.params),r.passedParams=h({},i),r.params&&r.params.on&&Object.keys(r.params.on).forEach(t=>{r.on(t,r.params.on[t])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),Object.assign(r,{enabled:r.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===r.params.direction},isVertical(){return"vertical"===r.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:e,params:i}=this,n=_(m(e,`.${i.slideClass}, swiper-slide`)[0]);return _(t)-n}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t))}getSlideIndexWhenGrid(t){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?t=Math.floor(t/this.params.grid.rows):"row"===this.params.grid.fill&&(t%=Math.ceil(this.slides.length/this.params.grid.rows))),t}recalcSlides(){const{slidesEl:t,params:e}=this;this.slides=m(t,`.${e.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,e){const i=this;t=Math.min(Math.max(t,0),1);const n=i.minTranslate(),o=(i.maxTranslate()-n)*t+n;i.translateTo(o,void 0===e?0:e),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=t.el.className.split(" ").filter(e=>0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass));t.emit("_containerClasses",e.join(" "))}getSlideClasses(t){const e=this;return e.destroyed?"":t.className.split(" ").filter(t=>0===t.indexOf("swiper-slide")||0===t.indexOf(e.params.slideClass)).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=[];t.slides.forEach(i=>{const n=t.getSlideClasses(i);e.push({slideEl:i,classNames:n}),t.emit("_slideClass",i,n)}),t.emit("_slideClasses",e)}slidesPerViewDynamic(t="current",e=!1){const{params:i,slides:n,slidesGrid:o,slidesSizesGrid:r,size:s,activeIndex:a}=this;let l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let t,e=n[a]?Math.ceil(n[a].swiperSlideSize):0;for(let i=a+1;i<n.length;i+=1)n[i]&&!t&&(e+=Math.ceil(n[i].swiperSlideSize),l+=1,e>s&&(t=!0));for(let i=a-1;i>=0;i-=1)n[i]&&!t&&(e+=n[i].swiperSlideSize,l+=1,e>s&&(t=!0))}else if("current"===t)for(let u=a+1;u<n.length;u+=1)(e?o[u]+r[u]-o[a]<s:o[u]-o[a]<s)&&(l+=1);else for(let u=a-1;u>=0;u-=1)o[a]-o[u]<s&&(l+=1);return l}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:e,params:i}=t;function n(){const e=t.rtlTranslate?-1*t.translate:t.translate,i=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(i),t.updateActiveIndex(),t.updateSlidesClasses()}let o;if(i.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&O(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),i.freeMode&&i.freeMode.enabled&&!i.cssMode)n(),i.autoHeight&&t.updateAutoHeight();else{if(("auto"===i.slidesPerView||i.slidesPerView>1)&&t.isEnd&&!i.centeredSlides){const e=t.virtual&&i.virtual.enabled?t.virtual.slides:t.slides;o=t.slideTo(e.length-1,0,!1,!0)}else o=t.slideTo(t.activeIndex,0,!1,!0);o||n()}i.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,e=!0){const i=this,n=i.params.direction;return t||(t="horizontal"===n?"vertical":"horizontal"),t===n||"horizontal"!==t&&"vertical"!==t||(i.el.classList.remove(`${i.params.containerModifierClass}${n}`),i.el.classList.add(`${i.params.containerModifierClass}${t}`),i.emitContainerClasses(),i.params.direction=t,i.slides.forEach(e=>{"vertical"===t?e.style.width="":e.style.height=""}),i.emit("changeDirection"),e&&i.update()),i}changeLanguageDirection(t){const e=this;e.rtl&&"rtl"===t||!e.rtl&&"ltr"===t||(e.rtl="rtl"===t,e.rtlTranslate="horizontal"===e.params.direction&&e.rtl,e.rtl?(e.el.classList.add(`${e.params.containerModifierClass}rtl`),e.el.dir="rtl"):(e.el.classList.remove(`${e.params.containerModifierClass}rtl`),e.el.dir="ltr"),e.update())}mount(t){const e=this;if(e.mounted)return!0;let i=t||e.params.el;if("string"==typeof i&&(i=document.querySelector(i)),!i)return!1;i.swiper=e,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===e.params.swiperElementNodeName.toUpperCase()&&(e.isElement=!0);const n=()=>`.${(e.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(n()):m(i,n())[0];return!o&&e.params.createElements&&(o=v("div",e.params.wrapperClass),i.append(o),m(i,`.${e.params.slideClass}`).forEach(t=>{o.append(t)})),Object.assign(e,{el:i,wrapperEl:o,slidesEl:e.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:o,hostEl:e.isElement?i.parentNode.host:i,mounted:!0,rtl:"rtl"===i.dir.toLowerCase()||"rtl"===y(i,"direction"),rtlTranslate:"horizontal"===e.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===y(i,"direction")),wrongRTL:"-webkit-box"===y(o,"display")}),!0}init(t){const e=this;if(e.initialized)return e;if(!1===e.mount(t))return e;e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.enabled&&e.setGrabCursor(),e.params.loop&&e.virtual&&e.params.virtual.enabled?e.slideTo(e.params.initialSlide+e.virtual.slidesBefore,0,e.params.runCallbacksOnInit,!1,!0):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit,!1,!0),e.params.loop&&e.loopCreate(void 0,!0),e.attachEvents();const i=[...e.el.querySelectorAll('[loading="lazy"]')];return e.isElement&&i.push(...e.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(t=>{t.complete?O(e,t):t.addEventListener("load",t=>{O(e,t.target)})}),B(e),e.initialized=!0,B(e),e.emit("init"),e.emit("afterInit"),e}destroy(t=!0,e=!0){const i=this,{params:n,el:o,wrapperEl:r,slides:s}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),e&&(i.removeClasses(),o&&"string"!=typeof o&&o.removeAttribute("style"),r&&r.removeAttribute("style"),s&&s.length&&s.forEach(t=>{t.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),t.removeAttribute("style"),t.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(t=>{i.off(t)}),!1!==t&&(i.el&&"string"!=typeof i.el&&(i.el.swiper=null),function(t){const e=t;Object.keys(e).forEach(t=>{try{e[t]=null}catch(i){}try{delete e[t]}catch(i){}})}(i)),i.destroyed=!0),null}static extendDefaults(t){h(et,t)}static get extendedDefaults(){return et}static get defaults(){return Q}static installModule(t){it.prototype.__modules__||(it.prototype.__modules__=[]);const e=it.prototype.__modules__;"function"==typeof t&&e.indexOf(t)<0&&e.push(t)}static use(t){return Array.isArray(t)?(t.forEach(t=>it.installModule(t)),it):(it.installModule(t),it)}}function nt(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&!0===i.auto){let r=m(t.el,`.${n[o]}`)[0];r||(r=v("div",n[o]),r.className=n[o],t.el.append(r)),i[o]=r,e[o]=r}}),i}Object.keys(tt).forEach(t=>{Object.keys(tt[t]).forEach(e=>{it.prototype[e]=tt[t][e]})}),it.use([function({swiper:t,on:e,emit:i}){const n=r();let o=null,s=null;const a=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};e("init",()=>{t.params.resizeObserver&&void 0!==n.ResizeObserver?t&&!t.destroyed&&t.initialized&&(o=new ResizeObserver(e=>{s=n.requestAnimationFrame(()=>{const{width:i,height:n}=t;let o=i,r=n;e.forEach(({contentBoxSize:e,contentRect:i,target:n})=>{n&&n!==t.el||(o=i?i.width:(e[0]||e).inlineSize,r=i?i.height:(e[0]||e).blockSize)}),o===i&&r===n||a()})}),o.observe(t.el)):(n.addEventListener("resize",a),n.addEventListener("orientationchange",l))}),e("destroy",()=>{s&&n.cancelAnimationFrame(s),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null),n.removeEventListener("resize",a),n.removeEventListener("orientationchange",l)})},function({swiper:t,extendParams:e,on:i,emit:n}){const o=[],s=r(),a=(e,i={})=>{const r=new(s.MutationObserver||s.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length)return void n("observerUpdate",e[0]);const i=function(){n("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(i):s.setTimeout(i,0)});r.observe(e,{attributes:void 0===i.attributes||i.attributes,childList:t.isElement||(void 0===i.childList||i).childList,characterData:void 0===i.characterData||i.characterData}),o.push(r)};e({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(t.params.observer){if(t.params.observeParents){const e=w(t.hostEl);for(let t=0;t<e.length;t+=1)a(e[t])}a(t.hostEl,{childList:t.params.observeSlideChildren}),a(t.wrapperEl,{attributes:!1})}}),i("destroy",()=>{o.forEach(t=>{t.disconnect()}),o.splice(0,o.length)})}]);const ot='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function rt(t=""){return`.${t.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}function st(t,e){const i=f(e);return i!==e&&(i.style.backfaceVisibility="hidden",i.style["-webkit-backface-visibility"]="hidden"),i}const at=[function({swiper:t,extendParams:e,on:i,emit:n}){function o(e){let i;return e&&"string"==typeof e&&t.isElement&&(i=t.el.querySelector(e)||t.hostEl.querySelector(e),i)?i:(e&&("string"==typeof e&&(i=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&i&&i.length>1&&1===t.el.querySelectorAll(e).length?i=t.el.querySelector(e):i&&1===i.length&&(i=i[0])),e&&!i?e:i)}function r(e,i){const n=t.params.navigation;(e=T(e)).forEach(e=>{e&&(e.classList[i?"add":"remove"](...n.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=i),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass))})}function s(){const{nextEl:e,prevEl:i}=t.navigation;if(t.params.loop)return r(i,!1),void r(e,!1);r(i,t.isBeginning&&!t.params.rewind),r(e,t.isEnd&&!t.params.rewind)}function a(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),n("navigationPrev"))}function l(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),n("navigationNext"))}function u(){const e=t.params.navigation;if(t.params.navigation=nt(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let i=o(e.nextEl),n=o(e.prevEl);Object.assign(t.navigation,{nextEl:i,prevEl:n}),i=T(i),n=T(n);const r=(i,n)=>{if(i){if(e.addIcons&&i.matches(".swiper-button-next,.swiper-button-prev")&&!i.querySelector("svg")){const t=document.createElement("div");A(t,ot),i.appendChild(t.querySelector("svg")),t.remove()}i.addEventListener("click","next"===n?l:a)}!t.enabled&&i&&i.classList.add(...e.lockClass.split(" "))};i.forEach(t=>r(t,"next")),n.forEach(t=>r(t,"prev"))}function c(){let{nextEl:e,prevEl:i}=t.navigation;e=T(e),i=T(i);const n=(e,i)=>{e.removeEventListener("click","next"===i?l:a),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach(t=>n(t,"next")),i.forEach(t=>n(t,"prev"))}e({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null,arrowSvg:ot},i("init",()=>{!1===t.params.navigation.enabled?h():(u(),s())}),i("toEdge fromEdge lock unlock",()=>{s()}),i("destroy",()=>{c()}),i("enable disable",()=>{let{nextEl:e,prevEl:i}=t.navigation;e=T(e),i=T(i),t.enabled?s():[...e,...i].filter(t=>!!t).forEach(e=>e.classList.add(t.params.navigation.lockClass))}),i("click",(e,i)=>{let{nextEl:o,prevEl:r}=t.navigation;o=T(o),r=T(r);const s=i.target;let a=r.includes(s)||o.includes(s);if(t.isElement&&!a){const t=i.path||i.composedPath&&i.composedPath();t&&(a=t.find(t=>o.includes(t)||r.includes(t)))}if(t.params.navigation.hideOnClick&&!a){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===s||t.pagination.el.contains(s)))return;let e;o.length?e=o[0].classList.contains(t.params.navigation.hiddenClass):r.length&&(e=r[0].classList.contains(t.params.navigation.hiddenClass)),n(!0===e?"navigationShow":"navigationHide"),[...o,...r].filter(t=>!!t).forEach(e=>e.classList.toggle(t.params.navigation.hiddenClass))}});const h=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),c()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),u(),s()},disable:h,update:s,init:u,destroy:c})},function({swiper:t,extendParams:e,on:i,emit:n}){const o="swiper-pagination";let r;e({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:t=>t,formatFractionTotal:t=>t,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),t.pagination={el:null,bullets:[]};let s=0;function a(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function l(e,i){const{bulletActiveClass:n}=t.params.pagination;e&&(e=e[("prev"===i?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${n}-${i}`),(e=e[("prev"===i?"previous":"next")+"ElementSibling"])&&e.classList.add(`${n}-${i}-${i}`))}function u(e){const i=e.target.closest(rt(t.params.pagination.bulletClass));if(!i)return;e.preventDefault();const n=_(i)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===n)return;const e=(o=t.realIndex,r=n,(r%=s=t.slides.length)===1+(o%=s)?"next":r===o-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(n)}else t.slideTo(n);var o,r,s}function c(){const e=t.rtl,i=t.params.pagination;if(a())return;let o,u,c=t.pagination.el;c=T(c);const h=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,d=t.params.loop?Math.ceil(h/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(u=t.previousRealIndex||0,o=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(o=t.snapIndex,u=t.previousSnapIndex):(u=t.previousIndex||0,o=t.activeIndex||0),"bullets"===i.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const n=t.pagination.bullets;let a,h,d;if(i.dynamicBullets&&(r=x(n[0],t.isHorizontal()?"width":"height",!0),c.forEach(e=>{e.style[t.isHorizontal()?"width":"height"]=r*(i.dynamicMainBullets+4)+"px"}),i.dynamicMainBullets>1&&void 0!==u&&(s+=o-(u||0),s>i.dynamicMainBullets-1?s=i.dynamicMainBullets-1:s<0&&(s=0)),a=Math.max(o-s,0),h=a+(Math.min(n.length,i.dynamicMainBullets)-1),d=(h+a)/2),n.forEach(t=>{const e=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(t=>`${i.bulletActiveClass}${t}`)].map(t=>"string"==typeof t&&t.includes(" ")?t.split(" "):t).flat();t.classList.remove(...e)}),c.length>1)n.forEach(e=>{const n=_(e);n===o?e.classList.add(...i.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),i.dynamicBullets&&(n>=a&&n<=h&&e.classList.add(...`${i.bulletActiveClass}-main`.split(" ")),n===a&&l(e,"prev"),n===h&&l(e,"next"))});else{const e=n[o];if(e&&e.classList.add(...i.bulletActiveClass.split(" ")),t.isElement&&n.forEach((t,e)=>{t.setAttribute("part",e===o?"bullet-active":"bullet")}),i.dynamicBullets){const t=n[a],e=n[h];for(let o=a;o<=h;o+=1)n[o]&&n[o].classList.add(...`${i.bulletActiveClass}-main`.split(" "));l(t,"prev"),l(e,"next")}}if(i.dynamicBullets){const o=Math.min(n.length,i.dynamicMainBullets+4),s=(r*o-r)/2-d*r,a=e?"right":"left";n.forEach(e=>{e.style[t.isHorizontal()?a:"top"]=`${s}px`})}}c.forEach((e,r)=>{if("fraction"===i.type&&(e.querySelectorAll(rt(i.currentClass)).forEach(t=>{t.textContent=i.formatFractionCurrent(o+1)}),e.querySelectorAll(rt(i.totalClass)).forEach(t=>{t.textContent=i.formatFractionTotal(d)})),"progressbar"===i.type){let n;n=i.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const r=(o+1)/d;let s=1,a=1;"horizontal"===n?s=r:a=r,e.querySelectorAll(rt(i.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${s}) scaleY(${a})`,e.style.transitionDuration=`${t.params.speed}ms`})}"custom"===i.type&&i.renderCustom?(A(e,i.renderCustom(t,o+1,d)),0===r&&n("paginationRender",e)):(0===r&&n("paginationRender",e),n("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass)})}function h(){const e=t.params.pagination;if(a())return;const i=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let o=t.pagination.el;o=T(o);let r="";if("bullets"===e.type){let n=t.params.loop?Math.ceil(i/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&n>i&&(n=i);for(let i=0;i<n;i+=1)e.renderBullet?r+=e.renderBullet.call(t,i,e.bulletClass):r+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(r=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(r=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],o.forEach(i=>{"custom"!==e.type&&A(i,r||""),"bullets"===e.type&&t.pagination.bullets.push(...i.querySelectorAll(rt(e.bulletClass)))}),"custom"!==e.type&&n("paginationRender",o[0])}function d(){t.params.pagination=nt(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let i;"string"==typeof e.el&&t.isElement&&(i=t.el.querySelector(e.el)),i||"string"!=typeof e.el||(i=[...document.querySelectorAll(e.el)]),i||(i=e.el),i&&0!==i.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(i)&&i.length>1&&(i=[...t.el.querySelectorAll(e.el)],i.length>1&&(i=i.find(e=>w(e,".swiper")[0]===t.el))),Array.isArray(i)&&1===i.length&&(i=i[0]),Object.assign(t.pagination,{el:i}),i=T(i),i.forEach(i=>{"bullets"===e.type&&e.clickable&&i.classList.add(...(e.clickableClass||"").split(" ")),i.classList.add(e.modifierClass+e.type),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(i.classList.add(`${e.modifierClass}${e.type}-dynamic`),s=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&i.classList.add(e.progressbarOppositeClass),e.clickable&&i.addEventListener("click",u),t.enabled||i.classList.add(e.lockClass)}))}function p(){const e=t.params.pagination;if(a())return;let i=t.pagination.el;i&&(i=T(i),i.forEach(i=>{i.classList.remove(e.hiddenClass),i.classList.remove(e.modifierClass+e.type),i.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(i.classList.remove(...(e.clickableClass||"").split(" ")),i.removeEventListener("click",u))})),t.pagination.bullets&&t.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:i}=t.pagination;i=T(i),i.forEach(i=>{i.classList.remove(e.horizontalClass,e.verticalClass),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)})}),i("init",()=>{!1===t.params.pagination.enabled?f():(d(),h(),c())}),i("activeIndexChange",()=>{void 0===t.snapIndex&&c()}),i("snapIndexChange",()=>{c()}),i("snapGridLengthChange",()=>{h(),c()}),i("destroy",()=>{p()}),i("enable disable",()=>{let{el:e}=t.pagination;e&&(e=T(e),e.forEach(e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),i("lock unlock",()=>{c()}),i("click",(e,i)=>{const o=i.target,r=T(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&r&&r.length>0&&!o.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&o===t.navigation.nextEl||t.navigation.prevEl&&o===t.navigation.prevEl))return;const e=r[0].classList.contains(t.params.pagination.hiddenClass);n(!0===e?"paginationShow":"paginationHide"),r.forEach(e=>e.classList.toggle(t.params.pagination.hiddenClass))}});const f=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=T(e),e.forEach(e=>e.classList.add(t.params.pagination.paginationDisabledClass))),p()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=T(e),e.forEach(e=>e.classList.remove(t.params.pagination.paginationDisabledClass))),d(),h(),c()},disable:f,render:h,update:c,init:d,destroy:p})},function({swiper:t,extendParams:e,on:i,emit:o}){const l=n();let u,c,h,d,p=!1,f=null,m=null;function g(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:i}=t,{dragEl:n,el:o}=e,r=t.params.scrollbar,s=t.params.loop?t.progressLoop:t.progress;let a=c,l=(h-c)*s;i?(l=-l,l>0?(a=c-l,l=0):-l+c>h&&(a=h+l)):l<0?(a=c+l,l=0):l+c>h&&(a=h-l),t.isHorizontal()?(n.style.transform=`translate3d(${l}px, 0, 0)`,n.style.width=`${a}px`):(n.style.transform=`translate3d(0px, ${l}px, 0)`,n.style.height=`${a}px`),r.hide&&(clearTimeout(f),o.style.opacity=1,f=setTimeout(()=>{o.style.opacity=0,o.style.transitionDuration="400ms"},1e3))}function y(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:i,el:n}=e;i.style.width="",i.style.height="",h=t.isHorizontal()?n.offsetWidth:n.offsetHeight,d=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),c="auto"===t.params.scrollbar.dragSize?h*d:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?i.style.width=`${c}px`:i.style.height=`${c}px`,n.style.display=d>=1?"none":"",t.params.scrollbar.hide&&(n.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function _(e){return t.isHorizontal()?e.clientX:e.clientY}function w(e){const{scrollbar:i,rtlTranslate:o}=t,{el:s}=i;let a;a=(_(e)-function(t){const e=r(),i=n(),o=t.getBoundingClientRect(),s=i.body,a=t.clientTop||s.clientTop||0,l=t.clientLeft||s.clientLeft||0,u=t===e?e.scrollY:t.scrollTop,c=t===e?e.scrollX:t.scrollLeft;return{top:o.top+u-a,left:o.left+c-l}}(s)[t.isHorizontal()?"left":"top"]-(null!==u?u:c/2))/(h-c),a=Math.max(Math.min(a,1),0),o&&(a=1-a);const l=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*a;t.updateProgress(l),t.setTranslate(l),t.updateActiveIndex(),t.updateSlidesClasses()}function b(e){const i=t.params.scrollbar,{scrollbar:n,wrapperEl:r}=t,{el:s,dragEl:a}=n;p=!0,u=e.target===a?_(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),r.style.transitionDuration="100ms",a.style.transitionDuration="100ms",w(e),clearTimeout(m),s.style.transitionDuration="0ms",i.hide&&(s.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",e)}function x(e){const{scrollbar:i,wrapperEl:n}=t,{el:r,dragEl:s}=i;p&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,w(e),n.style.transitionDuration="0ms",r.style.transitionDuration="0ms",s.style.transitionDuration="0ms",o("scrollbarDragMove",e))}function A(e){const i=t.params.scrollbar,{scrollbar:n,wrapperEl:r}=t,{el:s}=n;p&&(p=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",r.style.transitionDuration=""),i.hide&&(clearTimeout(m),m=a(()=>{s.style.opacity=0,s.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",e),i.snapOnRelease&&t.slideToClosest())}function S(e){const{scrollbar:i,params:n}=t,o=i.el;if(!o)return;const r=o,s=!!n.passiveListeners&&{passive:!1,capture:!1},a=!!n.passiveListeners&&{passive:!0,capture:!1};if(!r)return;const u="on"===e?"addEventListener":"removeEventListener";r[u]("pointerdown",b,s),l[u]("pointermove",x,s),l[u]("pointerup",A,a)}function E(){const{scrollbar:e,el:i}=t;t.params.scrollbar=nt(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const n=t.params.scrollbar;if(!n.el)return;let o,r;if("string"==typeof n.el&&t.isElement&&(o=t.el.querySelector(n.el)),o||"string"!=typeof n.el)o||(o=n.el);else if(o=l.querySelectorAll(n.el),!o.length)return;t.params.uniqueNavElements&&"string"==typeof n.el&&o.length>1&&1===i.querySelectorAll(n.el).length&&(o=i.querySelector(n.el)),o.length>0&&(o=o[0]),o.classList.add(t.isHorizontal()?n.horizontalClass:n.verticalClass),o&&(r=o.querySelector(rt(t.params.scrollbar.dragClass)),r||(r=v("div",t.params.scrollbar.dragClass),o.append(r))),Object.assign(e,{el:o,dragEl:r}),n.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&S("on"),o&&o.classList[t.enabled?"remove":"add"](...s(t.params.scrollbar.lockClass))}function M(){const e=t.params.scrollbar,i=t.scrollbar.el;i&&i.classList.remove(...s(t.isHorizontal()?e.horizontalClass:e.verticalClass)),t.params.scrollbar.el&&t.scrollbar.el&&S("off")}e({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},i("changeDirection",()=>{if(!t.scrollbar||!t.scrollbar.el)return;const e=t.params.scrollbar;let{el:i}=t.scrollbar;i=T(i),i.forEach(i=>{i.classList.remove(e.horizontalClass,e.verticalClass),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)})}),i("init",()=>{!1===t.params.scrollbar.enabled?C():(E(),y(),g())}),i("update resize observerUpdate lock unlock changeDirection",()=>{y()}),i("setTranslate",()=>{g()}),i("setTransition",(e,i)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(i)}),i("enable disable",()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...s(t.params.scrollbar.lockClass))}),i("destroy",()=>{M()});const C=()=>{t.el.classList.add(...s(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...s(t.params.scrollbar.scrollbarDisabledClass)),M()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(...s(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...s(t.params.scrollbar.scrollbarDisabledClass)),E(),y(),g()},disable:C,updateSize:y,setTranslate:g,init:E,destroy:M})},function({swiper:t,extendParams:e,on:i}){e({parallax:{enabled:!1}});const n="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",o=(e,i)=>{const{rtl:n}=t,o=n?-1:1,r=e.getAttribute("data-swiper-parallax")||"0";let s=e.getAttribute("data-swiper-parallax-x"),a=e.getAttribute("data-swiper-parallax-y");const l=e.getAttribute("data-swiper-parallax-scale"),u=e.getAttribute("data-swiper-parallax-opacity"),c=e.getAttribute("data-swiper-parallax-rotate");if(s||a?(s=s||"0",a=a||"0"):t.isHorizontal()?(s=r,a="0"):(a=r,s="0"),s=s.indexOf("%")>=0?parseInt(s,10)*i*o+"%":s*i*o+"px",a=a.indexOf("%")>=0?parseInt(a,10)*i+"%":a*i+"px",null!=u){const t=u-(u-1)*(1-Math.abs(i));e.style.opacity=t}let h=`translate3d(${s}, ${a}, 0px)`;null!=l&&(h+=` scale(${l-(l-1)*(1-Math.abs(i))})`),c&&null!=c&&(h+=` rotate(${c*i*-1}deg)`),e.style.transform=h},r=()=>{const{el:e,slides:i,progress:r,snapGrid:s,isElement:a}=t,l=m(e,n);t.isElement&&l.push(...m(t.hostEl,n)),l.forEach(t=>{o(t,r)}),i.forEach((e,i)=>{let a=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(a+=Math.ceil(i/2)-r*(s.length-1)),a=Math.min(Math.max(a,-1),1),e.querySelectorAll(`${n}, [data-swiper-parallax-rotate]`).forEach(t=>{o(t,a)})})};i("beforeInit",()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)}),i("init",()=>{t.params.parallax.enabled&&r()}),i("setTranslate",()=>{t.params.parallax.enabled&&r()}),i("setTransition",(e,i)=>{t.params.parallax.enabled&&((e=t.params.speed)=>{const{el:i,hostEl:o}=t,r=[...i.querySelectorAll(n)];t.isElement&&r.push(...o.querySelectorAll(n)),r.forEach(t=>{let i=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(i=0),t.style.transitionDuration=`${i}ms`})})(i)})},function({swiper:t,extendParams:e,on:i}){function n(t,e){const i=function(){let t,e,i;return(n,o)=>{for(e=-1,t=n.length;t-e>1;)i=t+e>>1,n[i]<=o?e=i:t=i;return t}}();let n,o;return this.x=t,this.y=e,this.lastIndex=t.length-1,this.interpolate=function(t){return t?(o=i(this.x,t),n=o-1,(t-this.x[n])*(this.y[o]-this.y[n])/(this.x[o]-this.x[n])+this.y[n]):0},this}function o(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}e({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},i("beforeInit",()=>{"undefined"!=typeof window&&("string"==typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)?("string"==typeof t.params.controller.control?[...document.querySelectorAll(t.params.controller.control)]:[t.params.controller.control]).forEach(e=>{if(t.controller.control||(t.controller.control=[]),e&&e.swiper)t.controller.control.push(e.swiper);else if(e){const i=`${t.params.eventsPrefix}init`,n=o=>{t.controller.control.push(o.detail[0]),t.update(),e.removeEventListener(i,n)};e.addEventListener(i,n)}}):t.controller.control=t.params.controller.control}),i("update",()=>{o()}),i("resize",()=>{o()}),i("observerUpdate",()=>{o()}),i("setTranslate",(e,i,n)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(i,n)}),i("setTransition",(e,i,n)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(i,n)}),Object.assign(t.controller,{setTranslate:function(e,i){const o=t.controller.control;let r,s;const a=t.constructor;function l(e){if(e.destroyed)return;const i=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(function(e){t.controller.spline=t.params.loop?new n(t.slidesGrid,e.slidesGrid):new n(t.snapGrid,e.snapGrid)}(e),s=-t.controller.spline.interpolate(-i)),s&&"container"!==t.params.controller.by||(r=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),!Number.isNaN(r)&&Number.isFinite(r)||(r=1),s=(i-t.minTranslate())*r+e.minTranslate()),t.params.controller.inverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setTranslate(s,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(o))for(let t=0;t<o.length;t+=1)o[t]!==i&&o[t]instanceof a&&l(o[t]);else o instanceof a&&i!==o&&l(o)},setTransition:function(e,i){const n=t.constructor,o=t.controller.control;let r;function s(i){i.destroyed||(i.setTransition(e,t),0!==e&&(i.transitionStart(),i.params.autoHeight&&a(()=>{i.updateAutoHeight()}),b(i.wrapperEl,()=>{o&&i.transitionEnd()})))}if(Array.isArray(o))for(r=0;r<o.length;r+=1)o[r]!==i&&o[r]instanceof n&&s(o[r]);else o instanceof n&&i!==o&&s(o)}})},function({swiper:t,extendParams:e,on:i}){e({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),t.a11y={clicked:!1};let o,r,s=null,a=(new Date).getTime();function l(t){const e=s;0!==e.length&&A(e,t)}function u(t){(t=T(t)).forEach(t=>{t.setAttribute("tabIndex","0")})}function c(t){(t=T(t)).forEach(t=>{t.setAttribute("tabIndex","-1")})}function h(t,e){(t=T(t)).forEach(t=>{t.setAttribute("role",e)})}function d(t,e){(t=T(t)).forEach(t=>{t.setAttribute("aria-roledescription",e)})}function p(t,e){(t=T(t)).forEach(t=>{t.setAttribute("aria-label",e)})}function f(t){(t=T(t)).forEach(t=>{t.setAttribute("aria-disabled",!0)})}function m(t){(t=T(t)).forEach(t=>{t.setAttribute("aria-disabled",!1)})}function g(e){if(13!==e.keyCode&&32!==e.keyCode)return;const i=t.params.a11y,n=e.target;if(!t.pagination||!t.pagination.el||n!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(rt(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=T(t.navigation.prevEl);T(t.navigation.nextEl).includes(n)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?l(i.lastSlideMessage):l(i.nextSlideMessage)),e.includes(n)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?l(i.firstSlideMessage):l(i.prevSlideMessage))}t.pagination&&n.matches(rt(t.params.pagination.bulletClass))&&n.click()}}function y(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function w(){return y()&&t.params.pagination.clickable}const b=(t,e,i)=>{u(t),"BUTTON"!==t.tagName&&(h(t,"button"),t.addEventListener("keydown",g)),p(t,i),function(t,e){(t=T(t)).forEach(t=>{t.setAttribute("aria-controls",e)})}(t,e)},x=e=>{r&&r!==e.target&&!r.contains(e.target)&&(o=!0),t.a11y.clicked=!0},S=()=>{o=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.destroyed||(t.a11y.clicked=!1)})})},E=t=>{a=(new Date).getTime()},M=e=>{if(t.a11y.clicked||!t.params.a11y.scrollOnFocus)return;if((new Date).getTime()-a<100)return;const i=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!i||!t.slides.includes(i))return;r=i;const n=t.virtual&&t.params.virtual.enabled,s=(n?parseInt(i.getAttribute("data-swiper-slide-index"),10):t.slides.indexOf(i))===t.activeIndex,l=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(i);s||l||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame(()=>{o||(t.params.loop?t.slideToLoop(t.getSlideIndexWhenGrid(parseInt(i.getAttribute("data-swiper-slide-index"))),0):n?t.slideTo(t.getSlideIndexWhenGrid(parseInt(i.getAttribute("data-swiper-slide-index"),10)),0):t.slideTo(t.getSlideIndexWhenGrid(t.slides.indexOf(i)),0),o=!1)}))},C=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&d(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&h(t.slides,e.slideRole);const i=t.slides.length;e.slideLabelMessage&&t.slides.forEach((n,o)=>{const r=t.params.loop?parseInt(n.getAttribute("data-swiper-slide-index"),10):o;p(n,e.slideLabelMessage.replace(/\{\{index\}\}/,r+1).replace(/\{\{slidesLength\}\}/,i))})};i("beforeInit",()=>{s=v("span",t.params.a11y.notificationClass),s.setAttribute("aria-live","assertive"),s.setAttribute("aria-atomic","true")}),i("afterInit",()=>{t.params.a11y.enabled&&(()=>{const e=t.params.a11y;t.el.append(s);const i=t.el;e.containerRoleDescriptionMessage&&d(i,e.containerRoleDescriptionMessage),e.containerMessage&&p(i,e.containerMessage),e.containerRole&&h(i,e.containerRole);const o=t.wrapperEl,r=e.id||o.getAttribute("id")||`swiper-wrapper-${function(t=16){return"x".repeat(t).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`;var a,l,u;a=r,T(o).forEach(t=>{t.setAttribute("id",a)}),e.wrapperLiveRegion&&(l=o,u=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite",(l=T(l)).forEach(t=>{t.setAttribute("aria-live",u)})),C();let{nextEl:c,prevEl:f}=t.navigation?t.navigation:{};c=T(c),f=T(f),c&&c.forEach(t=>b(t,r,e.nextSlideMessage)),f&&f.forEach(t=>b(t,r,e.prevSlideMessage)),w()&&T(t.pagination.el).forEach(t=>{t.addEventListener("keydown",g)}),n().addEventListener("visibilitychange",E),t.el.addEventListener("focus",M,!0),t.el.addEventListener("pointerdown",x,!0),t.el.addEventListener("pointerup",S,!0)})()}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{t.params.a11y.enabled&&C()}),i("fromEdge toEdge afterInit lock unlock",()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:i}=t.navigation;i&&(t.isBeginning?(f(i),c(i)):(m(i),u(i))),e&&(t.isEnd?(f(e),c(e)):(m(e),u(e)))}()}),i("paginationUpdate",()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;y()&&t.pagination.bullets.forEach(i=>{t.params.pagination.clickable&&(u(i),t.params.pagination.renderBullet||(h(i,"button"),p(i,e.paginationBulletMessage.replace(/\{\{index\}\}/,_(i)+1)))),i.matches(rt(t.params.pagination.bulletActiveClass))?i.setAttribute("aria-current","true"):i.removeAttribute("aria-current")})}()}),i("destroy",()=>{t.params.a11y.enabled&&function(){s&&s.remove();let{nextEl:e,prevEl:i}=t.navigation?t.navigation:{};e=T(e),i=T(i),e&&e.forEach(t=>t.removeEventListener("keydown",g)),i&&i.forEach(t=>t.removeEventListener("keydown",g)),w()&&T(t.pagination.el).forEach(t=>{t.removeEventListener("keydown",g)}),n().removeEventListener("visibilitychange",E),t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("focus",M,!0),t.el.removeEventListener("pointerdown",x,!0),t.el.removeEventListener("pointerup",S,!0))}()})},function({swiper:t,extendParams:e,on:i,emit:o,params:r}){let s,a;t.autoplay={running:!1,paused:!1,timeLeft:0},e({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,u,c,h,d,p,f,m=r&&r.autoplay?r.autoplay.delay:3e3,g=r&&r.autoplay?r.autoplay.delay:3e3,v=(new Date).getTime();function y(e){t&&!t.destroyed&&t.wrapperEl&&e.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",y),f||e.detail&&e.detail.bySwiperTouchMove||S())}const _=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?u=!0:u&&(g=l,u=!1);const e=t.autoplay.paused?l:v+g-(new Date).getTime();t.autoplay.timeLeft=e,o("autoplayTimeLeft",e,e/m),a=requestAnimationFrame(()=>{_()})},w=()=>{let e=t.params.autoplay.delay;const i=(()=>{let e;if(e=t.virtual&&t.params.virtual.enabled?t.slides.find(t=>t.classList.contains("swiper-slide-active")):t.slides[t.activeIndex],e)return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();return!Number.isNaN(i)&&i>0&&(e=i),e},b=e=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(a),_();let i=e;void 0===i&&(i=w(),m=i,g=i),l=i;const n=t.params.speed,r=()=>{t&&!t.destroyed&&(t.params.autoplay.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(n,!0,!0),o("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(t.slides.length-1,n,!0,!0),o("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(n,!0,!0),o("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(0,n,!0,!0),o("autoplay")),t.params.cssMode&&(v=(new Date).getTime(),requestAnimationFrame(()=>{b()})))};return i>0?(clearTimeout(s),s=setTimeout(()=>{r()},i)):requestAnimationFrame(()=>{r()}),i},x=()=>{v=(new Date).getTime(),t.autoplay.running=!0,b(),o("autoplayStart")},T=()=>{t.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(a),o("autoplayStop")},A=(e,i)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(s),e||(p=!0);const n=()=>{o("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",y):S()};if(t.autoplay.paused=!0,i)return void n();const r=l||t.params.autoplay.delay;l=r-((new Date).getTime()-v),t.isEnd&&l<0&&!t.params.loop||(l<0&&(l=0),n())},S=()=>{t.isEnd&&l<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(v=(new Date).getTime(),p?(p=!1,b(l)):b(),t.autoplay.paused=!1,o("autoplayResume"))},E=()=>{if(t.destroyed||!t.autoplay.running)return;const e=n();"hidden"===e.visibilityState&&(p=!0,A(!0)),"visible"===e.visibilityState&&S()},M=e=>{"mouse"===e.pointerType&&(p=!0,f=!0,t.animating||t.autoplay.paused||A(!0))},C=e=>{"mouse"===e.pointerType&&(f=!1,t.autoplay.paused&&S())};i("init",()=>{t.params.autoplay.enabled&&(t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",M),t.el.addEventListener("pointerleave",C)),n().addEventListener("visibilitychange",E),x())}),i("destroy",()=>{t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("pointerenter",M),t.el.removeEventListener("pointerleave",C)),n().removeEventListener("visibilitychange",E),t.autoplay.running&&T()}),i("_freeModeStaticRelease",()=>{(h||p)&&S()}),i("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?T():A(!0,!0)}),i("beforeTransitionStart",(e,i,n)=>{!t.destroyed&&t.autoplay.running&&(n||!t.params.autoplay.disableOnInteraction?A(!0,!0):T())}),i("sliderFirstMove",()=>{!t.destroyed&&t.autoplay.running&&(t.params.autoplay.disableOnInteraction?T():(c=!0,h=!1,p=!1,d=setTimeout(()=>{p=!0,h=!0,A(!0)},200)))}),i("touchEnd",()=>{if(!t.destroyed&&t.autoplay.running&&c){if(clearTimeout(d),clearTimeout(s),t.params.autoplay.disableOnInteraction)return h=!1,void(c=!1);h&&t.params.cssMode&&S(),h=!1,c=!1}}),i("slideChange",()=>{!t.destroyed&&t.autoplay.running&&t.autoplay.paused&&(l=w(),m=w())}),Object.assign(t.autoplay,{start:x,stop:T,pause:A,resume:S})},function({swiper:t,extendParams:e,on:i}){e({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let o=!1,r=!1;function s(){const e=t.thumbs.swiper;return!(!e||e.destroyed)&&e.params.virtual&&e.params.virtual.enabled}function a(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const i=e.clickedIndex,n=e.clickedSlide;if(n&&n.classList.contains(t.params.thumbs.slideThumbActiveClass))return;if(null==i)return;let o;o=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):i,t.params.loop?t.slideToLoop(o):t.slideTo(o)}function l(){const{thumbs:e}=t.params;if(o)return!1;o=!0;const i=t.constructor;if(e.swiper instanceof i){if(e.swiper.destroyed)return o=!1,!1;t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper.update()}else if(u(e.swiper)){const n=Object.assign({},e.swiper);Object.assign(n,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new i(n),r=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",a),s()&&t.thumbs.swiper.on("virtualUpdate",()=>{c(!1,{autoScroll:!1})}),!0}function c(e,i){const n=t.thumbs.swiper;if(!n||n.destroyed)return;let o=1;const r=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(o=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(o=1),o=Math.floor(o),n.slides.forEach(t=>t.classList.remove(r)),n.params.loop||s())for(let s=0;s<o;s+=1)m(n.slidesEl,`[data-swiper-slide-index="${t.realIndex+s}"]`).forEach(t=>{t.classList.add(r)});else for(let s=0;s<o;s+=1)n.slides[t.realIndex+s]&&n.slides[t.realIndex+s].classList.add(r);(i?.autoScroll??1)&&function(e){const i=t.thumbs.swiper;if(!i||i.destroyed)return;const n="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():i.params.slidesPerView,o=t.params.thumbs.autoScrollOffset,r=o&&!i.params.loop;if(t.realIndex!==i.realIndex||r){const s=i.activeIndex;let a,l;if(i.params.loop){const e=i.slides.find(e=>e.getAttribute("data-swiper-slide-index")===`${t.realIndex}`);a=i.slides.indexOf(e),l=t.activeIndex>t.previousIndex?"next":"prev"}else a=t.realIndex,l=a>t.previousIndex?"next":"prev";r&&(a+="next"===l?o:-1*o),i.visibleSlidesIndexes&&i.visibleSlidesIndexes.indexOf(a)<0&&(i.params.centeredSlides?a=a>s?a-Math.floor(n/2)+1:a+Math.floor(n/2)-1:a>s&&i.params.slidesPerGroup,i.slideTo(a,e))}}(e?0:void 0)}t.thumbs={swiper:null},i("beforeInit",()=>{const{thumbs:e}=t.params;if(e&&e.swiper)if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){const i=n(),o=()=>{const n="string"==typeof e.swiper?i.querySelector(e.swiper):e.swiper;if(n&&n.swiper)e.swiper=n.swiper,l(),c(!0);else if(n){const i=`${t.params.eventsPrefix}init`,o=r=>{e.swiper=r.detail[0],n.removeEventListener(i,o),l(),c(!0),e.swiper.update(),t.update()};n.addEventListener(i,o)}return n},r=()=>{t.destroyed||o()||requestAnimationFrame(r)};requestAnimationFrame(r)}else l(),c(!0)}),i("slideChange update resize observerUpdate",()=>{c()}),i("setTransition",(e,i)=>{const n=t.thumbs.swiper;n&&!n.destroyed&&n.setTransition(i)}),i("beforeDestroy",()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&r&&e.destroy()}),Object.assign(t.thumbs,{init:l,update:c})},function({swiper:t,extendParams:e,on:i}){e({fadeEffect:{crossFade:!1}}),function(t){const{effect:e,swiper:i,on:n,setTranslate:o,setTransition:r,overwriteParams:s,perspective:a,recreateShadows:l,getEffectParams:u}=t;let c;n("beforeInit",()=>{if(i.params.effect!==e)return;i.classNames.push(`${i.params.containerModifierClass}${e}`),a&&a()&&i.classNames.push(`${i.params.containerModifierClass}3d`);const t=s?s():{};Object.assign(i.params,t),Object.assign(i.originalParams,t)}),n("setTranslate _virtualUpdated",()=>{i.params.effect===e&&o()}),n("setTransition",(t,n)=>{i.params.effect===e&&r(n)}),n("transitionEnd",()=>{if(i.params.effect===e&&l){if(!u||!u().slideShadows)return;i.slides.forEach(t=>{t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(t=>t.remove())}),l()}}),n("virtualUpdate",()=>{i.params.effect===e&&(i.slides.length||(c=!0),requestAnimationFrame(()=>{c&&i.slides&&i.slides.length&&(o(),c=!1)}))})}({effect:"fade",swiper:t,on:i,setTranslate:()=>{const{slides:e}=t;t.params.fadeEffect;for(let i=0;i<e.length;i+=1){const e=t.slides[i];let n=-e.swiperSlideOffset;t.params.virtualTranslate||(n-=t.translate);let o=0;t.isHorizontal()||(o=n,n=0);const r=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e.progress),0):1+Math.min(Math.max(e.progress,-1),0),s=st(0,e);s.style.opacity=r,s.style.transform=`translate3d(${n}px, ${o}px, 0px)`}},setTransition:e=>{const i=t.slides.map(t=>f(t));i.forEach(t=>{t.style.transitionDuration=`${e}ms`}),function({swiper:t,duration:e,transformElements:i,allSlides:n}){const{activeIndex:o}=t;if(t.params.virtualTranslate&&0!==e){let e,r=!1;e=n?i:i.filter(e=>{const i=e.classList.contains("swiper-slide-transform")?(e=>e.parentElement?e.parentElement:t.slides.find(t=>t.shadowRoot&&t.shadowRoot===e.parentNode))(e):e;return t.getSlideIndex(i)===o}),e.forEach(e=>{b(e,()=>{if(r)return;if(!t||t.destroyed)return;r=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)})})}}({swiper:t,duration:e,transformElements:i,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}];return it.use(at),it}();(function(){var t,e;t=window.jQuery,e=t(window),t.fn.stick_in_parent=function(i){var n,o,r,s,a,l,u,c,h,d,p,f;for(null==i&&(i={}),f=i.sticky_class,l=i.inner_scrolling,p=i.recalc_every,d=i.parent,h=i.offset_top,c=i.spacer,r=i.bottoming,null==h&&(h=0),null==d&&(d=void 0),null==l&&(l=!0),null==f&&(f="is_stuck"),n=t(document),null==r&&(r=!0),s=function(i,o,s,a,u,m,g,v){var y,_,w,b,x,T,A,S,E,M,C;if(!i.data("sticky_kit")){if(i.data("sticky_kit",!0),x=n.height(),A=i.parent(),null!=d&&(A=A.closest(d)),!A.length)throw"failed to find stick parent";if(w=!1,y=!1,null!=c?c&&i.closest(c):t("<div />"),(S=function(){var t,e,o;if(!v)return x=n.height(),t=parseInt(A.css("border-top-width"),10),e=parseInt(A.css("padding-top"),10),parseInt(A.css("padding-bottom"),10),s=A.offset().top+t+e,a=A.height(),w&&(w=!1,y=!1,i.css({position:"",top:"",width:"",bottom:""}).removeClass(f),o=!0),u=i.offset().top-(parseInt(i.css("margin-top"),10)||0)-h,m=i.outerHeight(!0),i.css("float"),o?C():void 0})(),m!==a)return b=void 0,T=h,M=p,C=function(){var t,o,c,d,g,_;v||(c=!1,null!=M&&(M-=1)<=0&&(M=p,S(),c=!0),c||n.height()===x||(S(),c=!0),d=e.scrollTop(),null!=b&&(o=d-b),b=d,w?(r&&(g=d+m+T>a+s,y&&!g&&(y=!1,i.css({position:"sticky",bottom:"",top:T}).trigger("sticky_kit:unbottom"))),d<u&&(w=!1,T=h,t={position:"",width:"",top:""},i.css(t).removeClass(f).trigger("sticky_kit:unstick")),l&&(_=e.height(),m+h>_&&(y||(T-=o,T=Math.max(_-m,T),T=Math.min(h,T),w&&i.css({top:T+"px"}))))):d>u&&(w=!0,t={position:"sticky",top:T},i.css(t).addClass(f),i.trigger("sticky_kit:stick")),w&&r&&(null==g&&(g=d+m+T>a+s),!y&&g&&(y=!0,"static"===A.css("position")&&A.css({position:"relative"}))))},E=function(){return S(),C()},_=function(){if(v=!0,e.off("touchmove",C),e.off("scroll",C),e.off("resize",E),t(document.body).off("sticky_kit:recalc",E),i.off("sticky_kit:detach",_),i.removeData("sticky_kit"),i.css({position:"",bottom:"",top:"",width:""}),A.position("position",""),w)return i.removeClass(f)},e.on("touchmove",C),e.on("scroll",C),e.on("resize",E),t(document.body).on("sticky_kit:recalc",E),i.on("sticky_kit:detach",_),setTimeout(C,0)}},a=0,u=this.length;a<u;a++)o=this[a],s(t(o));return this}}).call(this),function(t){function e(e,n,o){return o=y(n,o),this.on("click.pjax",e,function(e){var n=o;n.container||((n=t.extend({},o)).container=t(this).attr("data-pjax")),i(e,n)})}function i(e,i,n){n=y(i,n);var r=e.currentTarget,s=t(r);if("A"!==r.tagName.toUpperCase())throw"$.fn.pjax or $.pjax.click requires an anchor element";if(!(e.which>1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||location.protocol!==r.protocol||location.hostname!==r.hostname||r.href.indexOf("#")>-1&&v(r)==v(location)||e.isDefaultPrevented())){var a={url:r.href,container:s.attr("data-pjax"),target:r},l=t.extend({},a,n),u=t.Event("pjax:click");s.trigger(u,[l]),u.isDefaultPrevented()||(o(l),e.preventDefault(),s.trigger("pjax:clicked",[l]))}}function n(e,i,n){n=y(i,n);var r=e.currentTarget,s=t(r);if("FORM"!==r.tagName.toUpperCase())throw"$.pjax.submit requires a form element";var a={type:(s.attr("method")||"GET").toUpperCase(),url:s.attr("action"),container:s.attr("data-pjax"),target:r};if("GET"!==a.type&&void 0!==window.FormData)a.data=new FormData(r),a.processData=!1,a.contentType=!1;else{if(s.find(":file").length)return;a.data=s.serializeArray()}o(t.extend({},a,n)),e.preventDefault()}function o(e){"function"==typeof(e=t.extend(!0,{},t.ajaxSettings,o.defaults,e)).url&&(e.url=e.url());var i=g(e.url).hash,n=typeof e.container;if("string"!==n)throw"expected string value for 'container' option; got "+n;var r,a=e.context=t(e.container);if(!a.length)throw"the container selector '"+e.container+"' did not match anything";function l(i,n,o){o||(o={}),o.relatedTarget=e.target;var r=t.Event(i,o);return a.trigger(r,n),!r.isDefaultPrevented()}e.data||(e.data={}),Array.isArray(e.data)?e.data.push({name:"_pjax",value:e.container}):e.data._pjax=e.container,e.beforeSend=function(t,n){if("GET"!==n.type&&(n.timeout=0),t.setRequestHeader("X-PJAX","true"),t.setRequestHeader("X-PJAX-Container",e.container),!l("pjax:beforeSend",[t,n]))return!1;n.timeout>0&&(r=setTimeout(function(){l("pjax:timeout",[t,e])&&t.abort("timeout")},n.timeout),n.timeout=0);var o=g(n.url);i&&(o.hash=i),e.requestUrl=m(o)},e.complete=function(t,i){r&&clearTimeout(r),l("pjax:complete",[t,i,e]),l("pjax:end",[t,e])},e.error=function(t,i,n){var o=b("",t,e),r=l("pjax:error",[t,i,n,e]);"GET"==e.type&&"abort"!==i&&r&&s(o.url)},e.success=function(n,r,u){var c=o.state,h="function"==typeof t.pjax.defaults.version?t.pjax.defaults.version():t.pjax.defaults.version,d=u.getResponseHeader("X-PJAX-Version"),f=b(n,u,e),m=g(f.url);if(i&&(m.hash=i,f.url=m.href),h&&d&&h!==d)s(f.url);else if(f.contents){if(o.state={id:e.id||p(),url:f.url,title:f.title,container:e.container,fragment:e.fragment,timeout:e.timeout},(e.push||e.replace)&&window.history.replaceState(o.state,f.title,f.url),t.contains(a,document.activeElement))try{document.activeElement.blur()}catch(y){}f.title&&(document.title=f.title),l("pjax:beforeReplace",[f.contents,e],{state:o.state,previousState:c}),"function"==typeof e.renderCallback?e.renderCallback(a,f.contents,v):(a.html(f.contents),v())}else s(f.url);function v(){var o=a.find("input[autofocus], textarea[autofocus]").last()[0];o&&document.activeElement!==o&&o.trigger("focus"),function(e){if(e){var i=t("script[src]");e.each(function(){var e=this.src;if(!i.filter(function(){return this.src===e}).length){var n=document.createElement("script"),o=t(this).attr("type");o&&(n.type=o),n.src=t(this).attr("src"),document.head.appendChild(n)}})}}(f.scripts);var s=e.scrollTo;if(i){var c=decodeURIComponent(i.slice(1)),h=document.getElementById(c)||document.getElementsByName(c)[0];h&&(s=t(h).offset().top)}"number"==typeof s&&t(window).scrollTop(s),l("pjax:success",[n,r,u,e])}},o.state||(o.state={id:p(),url:window.location.href,title:document.title,container:e.container,fragment:e.fragment,timeout:e.timeout},window.history.replaceState(o.state,document.title)),d(o.xhr),o.options=e;var u,c,h=o.xhr=t.ajax(e);return h.readyState>0&&(e.push&&!e.replace&&(u=o.state.id,c=[e.container,f(a)],x[u]=c,A.push(u),S(T,0),S(A,o.defaults.maxCacheLength),window.history.pushState(null,"",e.requestUrl)),l("pjax:start",[h,e]),l("pjax:send",[h,e])),o.xhr}function r(e,i){var n={url:window.location.href,push:!1,replace:!0,scrollTo:!1};return o(t.extend(n,y(e,i)))}function s(t){window.history.replaceState(null,"",o.state.url),window.location.replace(t)}var a=!0,l=window.location.href,u=window.history.state;function c(e){a||d(o.xhr);var i,n=o.state,r=e.state;if(r&&r.container){if(a&&l==r.url)return;if(n){if(n.id===r.id)return;i=n.id<r.id?"forward":"back"}var u=x[r.id]||[],c=u[0]||r.container,h=t(c),p=u[1];if(h.length){n&&function(t,e,i){var n,r;x[e]=i,"forward"===t?(n=A,r=T):(n=T,r=A),n.push(e),(e=r.pop())&&delete x[e],S(n,o.defaults.maxCacheLength)}(i,n.id,[c,f(h)]);var m=t.Event("pjax:popstate",{state:r,direction:i});h.trigger(m);var g={id:r.id,url:r.url,container:c,push:!1,fragment:r.fragment,timeout:r.timeout,scrollTo:!1};if(p){h.trigger("pjax:start",[null,g]),o.state=r,r.title&&(document.title=r.title);var v=t.Event("pjax:beforeReplace",{state:r,previousState:n});h.trigger(v,[p,g]),h.html(p),h.trigger("pjax:end",[null,g])}else o(g);h[0].offsetHeight}else s(location.href)}a=!1}function h(e){var i="function"==typeof e.url?e.url():e.url,n=e.type?e.type.toUpperCase():"GET",o=t("<form>",{method:"GET"===n?"GET":"POST",action:i,style:"display:none"});"GET"!==n&&"POST"!==n&&o.append(t("<input>",{type:"hidden",name:"_method",value:n.toLowerCase()}));var r=e.data;if("string"==typeof r)t.each(r.split("&"),function(e,i){var n=i.split("=");o.append(t("<input>",{type:"hidden",name:n[0],value:n[1]}))});else if(Array.isArray(r))t.each(r,function(e,i){o.append(t("<input>",{type:"hidden",name:i.name,value:i.value}))});else if("object"==typeof r){var s;for(s in r)o.append(t("<input>",{type:"hidden",name:s,value:r[s]}))}t(document.body).append(o),o.submit()}function d(e){e&&e.readyState<4&&(e.onreadystatechange=t.noop,e.abort())}function p(){return(new Date).getTime()}function f(t){var e=t.clone();return e.find("script").each(function(){this.src||jQuery._data(this,"globalEval",!1)}),e.contents()}function m(t){return t.search=t.search.replace(/([?&])(_pjax|_)=[^&]*/g,"").replace(/^&/,""),t.href.replace(/\?($|#)/,"$1")}function g(t){var e=document.createElement("a");return e.href=t,e}function v(t){return t.href.replace(/#.*/,"")}function y(e,i){return e&&i?((i=t.extend({},i)).container=e,i):t.isPlainObject(e)?e:{container:e}}function _(t,e){return t.filter(e).add(t.find(e))}function w(e){return t.parseHTML(e,document,!0)}function b(e,i,n){var o,r,s={},a=/<html/i.test(e),l=i.getResponseHeader("X-PJAX-URL");if(s.url=l?m(g(l)):n.requestUrl,a){r=t(w(e.match(/<body[^>]*>([\s\S.]*)<\/body>/i)[0]));var u=e.match(/<head[^>]*>([\s\S.]*)<\/head>/i);o=null!=u?t(w(u[0])):r}else o=r=t(w(e));if(0===r.length)return s;if(s.title=_(o,"title").last().text(),n.fragment){var c=r;"body"!==n.fragment&&(c=_(c,n.fragment).first()),c.length&&(s.contents="body"===n.fragment?c:c.contents(),s.title||(s.title=c.attr("title")||c.data("title")))}else a||(s.contents=r);return s.contents&&(s.contents=s.contents.not(function(){return t(this).is("title")}),s.contents.find("title").remove(),s.scripts=_(s.contents,"script[src]").remove(),s.contents=s.contents.not(s.scripts)),s.title&&(s.title=function(t){return null==t?"":"string"==typeof t?t.trim():(t+"").replace("/^[\\s\ufeff ]+|[\\s\ufeff ]+$/g","")}(s.title)),s}u&&u.container&&(o.state=u),"state"in window.history&&(a=!1);var x={},T=[],A=[];function S(t,e){for(;t.length>e;)delete x[t.shift()]}function E(){return t("meta").filter(function(){var e=t(this).attr("http-equiv");return e&&"X-PJAX-VERSION"===e.toUpperCase()}).attr("content")}function M(){t.fn.pjax=e,t.pjax=o,t.pjax.enable=t.noop,t.pjax.disable=C,t.pjax.click=i,t.pjax.submit=n,t.pjax.reload=r,t.pjax.defaults={timeout:650,push:!0,replace:!1,type:"GET",dataType:"html",scrollTo:0,maxCacheLength:20,version:E},t(window).on("popstate.pjax",c)}function C(){t.fn.pjax=function(){return this},t.pjax=h,t.pjax.enable=M,t.pjax.disable=t.noop,t.pjax.click=t.noop,t.pjax.submit=t.noop,t.pjax.reload=function(){window.location.reload()},t(window).off("popstate.pjax",c)}"state"in t.Event.prototype||t.event.addProp("state"),t.support.pjax=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/),t.support.pjax?M():C()}(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(t,e,i,n){var o={features:null,bind:function(t,e,i,n){var o=(n?"remove":"add")+"EventListener";e=e.split(" ");for(var r=0;r<e.length;r++)e[r]&&t[o](e[r],i,!1)},isArray:function(t){return t instanceof Array},createEl:function(t,e){var i=document.createElement(e||"div");return t&&(i.className=t),i},getScrollY:function(){var t=window.pageYOffset;return void 0!==t?t:document.documentElement.scrollTop},unbind:function(t,e,i){o.bind(t,e,i,!0)},removeClass:function(t,e){var i=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(i," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(t,e){o.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(o.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)if(e.hasOwnProperty(n)){if(i&&t.hasOwnProperty(n))continue;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(o.features)return o.features;var t=o.createEl().style,e="",i={};if(i.oldIE=document.all&&!document.addEventListener,i.touch="ontouchstart"in window,window.requestAnimationFrame&&(i.raf=window.requestAnimationFrame,i.caf=window.cancelAnimationFrame),i.pointerEvent=navigator.pointerEnabled||navigator.msPointerEnabled,!i.pointerEvent){var n=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var r=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);r&&r.length>0&&(r=parseInt(r[1],10))>=1&&r<8&&(i.isOldIOSPhone=!0)}var s=n.match(/Android\s([0-9\.]*)/),a=s?s[1]:0;(a=parseFloat(a))>=1&&(a<4.4&&(i.isOldAndroid=!0),i.androidVersion=a),i.isMobileOpera=/opera mini|opera mobi/i.test(n)}for(var l,u,c=["transform","perspective","animationName"],h=["","webkit","Moz","ms","O"],d=0;d<4;d++){e=h[d];for(var p=0;p<3;p++)l=c[p],u=e+(e?l.charAt(0).toUpperCase()+l.slice(1):l),!i[l]&&u in t&&(i[l]=u);e&&!i.raf&&(e=e.toLowerCase(),i.raf=window[e+"RequestAnimationFrame"],i.raf&&(i.caf=window[e+"CancelAnimationFrame"]||window[e+"CancelRequestAnimationFrame"]))}if(!i.raf){var f=0;i.raf=function(t){var e=(new Date).getTime(),i=Math.max(0,16-(e-f)),n=window.setTimeout(function(){t(e+i)},i);return f=e+i,n},i.caf=function(t){clearTimeout(t)}}return i.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,o.features=i,i}};o.detectFeatures(),o.features.oldIE&&(o.bind=function(t,e,i,n){e=e.split(" ");for(var o,r=(n?"detach":"attach")+"Event",s=function(){i.handleEvent.call(i)},a=0;a<e.length;a++)if(o=e[a])if("object"==typeof i&&i.handleEvent){if(n){if(!i["oldIE"+o])return!1}else i["oldIE"+o]=s;t[r]("on"+o,i["oldIE"+o])}else t[r]("on"+o,i)});var r=this,s={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"};o.extend(s,n);var a,l,u,c,h,d,p,f,m,g,v,y,_,w,b,x,T,A,S,E,M,C,P,L,z,k,I,O,D,B,R,F,N,j,H,W,q,Z,$,G,V,U,Y,X,K,Q,J,tt,et,it,nt,ot,rt,st,at,lt={x:0,y:0},ut={x:0,y:0},ct={x:0,y:0},ht={},dt=0,pt={},ft={x:0,y:0},mt=0,gt=!0,vt=[],yt={},_t=!1,wt=function(t,e){o.extend(r,e.publicMethods),vt.push(t)},bt=function(t){var e=je();return t>e-1?t-e:t<0?e+t:t},xt={},Tt=function(t,e){return xt[t]||(xt[t]=[]),xt[t].push(e)},At=function(t){var e=xt[t];if(e){var i=Array.prototype.slice.call(arguments);i.shift();for(var n=0;n<e.length;n++)e[n].apply(r,i)}},St=function(){return(new Date).getTime()},Et=function(t){rt=t,r.bg.style.opacity=t*s.bgOpacity},Mt=function(t,e,i,n,o){(!_t||o&&o!==r.currItem)&&(n/=o?o.fitRatio:r.currItem.fitRatio),t[C]=y+e+"px, "+i+"px"+_+" scale("+n+")"},Ct=function(t){tt&&(t&&(g>r.currItem.fitRatio?_t||(Ye(r.currItem,!1,!0),_t=!0):_t&&(Ye(r.currItem),_t=!1)),Mt(tt,ct.x,ct.y,g))},Pt=function(t){t.container&&Mt(t.container.style,t.initialPosition.x,t.initialPosition.y,t.initialZoomLevel,t)},Lt=function(t,e){e[C]=y+t+"px, 0px"+_},zt=function(t,e){if(!s.loop&&e){var i=c+(ft.x*dt-t)/ft.x,n=Math.round(t-ue.x);(i<0&&n>0||i>=je()-1&&n<0)&&(t=ue.x+n*s.mainScrollEndFriction)}ue.x=t,Lt(t,h)},kt=function(t,e){var i=ce[t]-pt[t];return ut[t]+lt[t]+i-i*(e/v)},It=function(t,e){t.x=e.x,t.y=e.y,e.id&&(t.id=e.id)},Ot=function(t){t.x=Math.round(t.x),t.y=Math.round(t.y)},Dt=null,Bt=function(){Dt&&(o.unbind(document,"mousemove",Bt),o.addClass(t,"pswp--has_mouse"),s.mouseUsed=!0,At("mouseUsed")),Dt=setTimeout(function(){Dt=null},100)},Rt=function(t,e){var i=$e(r.currItem,ht,t);return e&&(J=i),i},Ft=function(t){return t||(t=r.currItem),t.initialZoomLevel},Nt=function(t){return t||(t=r.currItem),t.w>0?s.maxSpreadZoom:1},jt=function(t,e,i,n){return n===r.currItem.initialZoomLevel?(i[t]=r.currItem.initialPosition[t],!0):(i[t]=kt(t,n),i[t]>e.min[t]?(i[t]=e.min[t],!0):i[t]<e.max[t]&&(i[t]=e.max[t],!0))},Ht=function(t){var e="";s.escKey&&27===t.keyCode?e="close":s.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,r[e]()))},Wt=function(t){t&&(V||G||et||W)&&(t.preventDefault(),t.stopPropagation())},qt=function(){r.setScrollOffset(0,o.getScrollY())},Zt={},$t=0,Gt=function(t){Zt[t]&&(Zt[t].raf&&k(Zt[t].raf),$t--,delete Zt[t])},Vt=function(t){Zt[t]&&Gt(t),Zt[t]||($t++,Zt[t]={})},Ut=function(){for(var t in Zt)Zt.hasOwnProperty(t)&&Gt(t)},Yt=function(t,e,i,n,o,r,s){var a,l=St();Vt(t);var u=function(){if(Zt[t]){if((a=St()-l)>=n)return Gt(t),r(i),void(s&&s());r((i-e)*o(a/n)+e),Zt[t].raf=z(u)}};u()},Xt={shout:At,listen:Tt,viewportSize:ht,options:s,isMainScrollAnimating:function(){return et},getZoomLevel:function(){return g},getCurrentIndex:function(){return c},isDragging:function(){return Z},isZooming:function(){return K},setScrollOffset:function(t,e){pt.x=t,B=pt.y=e,At("updateScrollOffset",pt)},applyZoomPan:function(t,e,i,n){ct.x=e,ct.y=i,g=t,Ct(n)},init:function(){if(!a&&!l){var i;r.framework=o,r.template=t,r.bg=o.getChildByClass(t,"pswp__bg"),I=t.className,a=!0,R=o.detectFeatures(),z=R.raf,k=R.caf,C=R.transform,D=R.oldIE,r.scrollWrap=o.getChildByClass(t,"pswp__scroll-wrap"),r.container=o.getChildByClass(r.scrollWrap,"pswp__container"),h=r.container.style,r.itemHolders=x=[{el:r.container.children[0],wrap:0,index:-1},{el:r.container.children[1],wrap:0,index:-1},{el:r.container.children[2],wrap:0,index:-1}],x[0].el.style.display=x[2].el.style.display="none",function(){if(C){var e=R.perspective&&!L;return y="translate"+(e?"3d(":"("),void(_=R.perspective?", 0px)":")")}C="left",o.addClass(t,"pswp--ie"),Lt=function(t,e){e.left=t+"px"},Pt=function(t){var e=t.fitRatio>1?1:t.fitRatio,i=t.container.style,n=e*t.w,o=e*t.h;i.width=n+"px",i.height=o+"px",i.left=t.initialPosition.x+"px",i.top=t.initialPosition.y+"px"},Ct=function(){if(tt){var t=tt,e=r.currItem,i=e.fitRatio>1?1:e.fitRatio,n=i*e.w,o=i*e.h;t.width=n+"px",t.height=o+"px",t.left=ct.x+"px",t.top=ct.y+"px"}}}(),m={resize:r.updateSize,scroll:qt,keydown:Ht,click:Wt};var n=R.isOldIOSPhone||R.isOldAndroid||R.isMobileOpera;for(R.animationName&&R.transform&&!n||(s.showAnimationDuration=s.hideAnimationDuration=0),i=0;i<vt.length;i++)r["init"+vt[i]]();e&&(r.ui=new e(r,o)).init(),At("firstUpdate"),c=c||s.index||0,(isNaN(c)||c<0||c>=je())&&(c=0),r.currItem=Ne(c),(R.isOldIOSPhone||R.isOldAndroid)&&(gt=!1),t.setAttribute("aria-hidden","false"),s.modal&&(gt?t.style.position="fixed":(t.style.position="absolute",t.style.top=o.getScrollY()+"px")),void 0===B&&(At("initialLayout"),B=O=o.getScrollY());var u="pswp--open ";for(s.mainClass&&(u+=s.mainClass+" "),s.showHideOpacity&&(u+="pswp--animate_opacity "),u+=L?"pswp--touch":"pswp--notouch",u+=R.animationName?" pswp--css_animation":"",u+=R.svg?" pswp--svg":"",o.addClass(t,u),r.updateSize(),d=-1,mt=null,i=0;i<3;i++)Lt((i+d)*ft.x,x[i].el.style);D||o.bind(r.scrollWrap,f,r),Tt("initialZoomInEnd",function(){r.setContent(x[0],c-1),r.setContent(x[2],c+1),x[0].el.style.display=x[2].el.style.display="block",s.focus&&t.focus(),o.bind(document,"keydown",r),R.transform&&o.bind(r.scrollWrap,"click",r),s.mouseUsed||o.bind(document,"mousemove",Bt),o.bind(window,"resize scroll",r),At("bindEvents")}),r.setContent(x[1],c),r.updateCurrItem(),At("afterInit"),gt||(w=setInterval(function(){$t||Z||K||g!==r.currItem.initialZoomLevel||r.updateSize()},1e3)),o.addClass(t,"pswp--visible")}},close:function(){a&&(a=!1,l=!0,At("close"),o.unbind(window,"resize",r),o.unbind(window,"scroll",m.scroll),o.unbind(document,"keydown",r),o.unbind(document,"mousemove",Bt),R.transform&&o.unbind(r.scrollWrap,"click",r),Z&&o.unbind(window,p,r),At("unbindEvents"),He(r.currItem,null,!0,r.destroy))},destroy:function(){At("destroy"),De&&clearTimeout(De),t.setAttribute("aria-hidden","true"),t.className=I,w&&clearInterval(w),o.unbind(r.scrollWrap,f,r),o.unbind(window,"scroll",r),pe(),Ut(),xt=null},panTo:function(t,e,i){i||(t>J.min.x?t=J.min.x:t<J.max.x&&(t=J.max.x),e>J.min.y?e=J.min.y:e<J.max.y&&(e=J.max.y)),ct.x=t,ct.y=e,Ct()},handleEvent:function(t){t=t||window.event,m[t.type]&&m[t.type](t)},goTo:function(t){var e=(t=bt(t))-c;mt=e,c=t,r.currItem=Ne(c),dt-=e,zt(ft.x*dt),Ut(),et=!1,r.updateCurrItem()},next:function(){r.goTo(c+1)},prev:function(){r.goTo(c-1)},updateCurrZoomItem:function(t){if(t&&At("beforeChange",0),x[1].el.children.length){var e=x[1].el.children[0];tt=o.hasClass(e,"pswp__zoom-wrap")?e.style:null}else tt=null;J=r.currItem.bounds,v=g=r.currItem.initialZoomLevel,ct.x=J.center.x,ct.y=J.center.y,t&&At("afterChange")},invalidateCurrItems:function(){b=!0;for(var t=0;t<3;t++)x[t].item&&(x[t].item.needsUpdate=!0)},updateCurrItem:function(t){if(0!==mt){var e,i=Math.abs(mt);if(!(t&&i<2)){r.currItem=Ne(c),_t=!1,At("beforeChange",mt),i>=3&&(d+=mt+(mt>0?-3:3),i=3);for(var n=0;n<i;n++)mt>0?(e=x.shift(),x[2]=e,d++,Lt((d+2)*ft.x,e.el.style),r.setContent(e,c-i+n+1+1)):(e=x.pop(),x.unshift(e),d--,Lt(d*ft.x,e.el.style),r.setContent(e,c+i-n-1-1));if(tt&&1===Math.abs(mt)){var o=Ne(T);o.initialZoomLevel!==g&&($e(o,ht),Ye(o),Pt(o))}mt=0,r.updateCurrZoomItem(),T=c,At("afterChange")}}},updateSize:function(e){if(!gt&&s.modal){var i=o.getScrollY();if(B!==i&&(t.style.top=i+"px",B=i),!e&&yt.x===window.innerWidth&&yt.y===window.innerHeight)return;yt.x=window.innerWidth,yt.y=window.innerHeight,t.style.height=yt.y+"px"}if(ht.x=r.scrollWrap.clientWidth,ht.y=r.scrollWrap.clientHeight,qt(),ft.x=ht.x+Math.round(ht.x*s.spacing),ft.y=ht.y,zt(ft.x*dt),At("beforeResize"),void 0!==d){for(var n,a,l,u=0;u<3;u++)n=x[u],Lt((u+d)*ft.x,n.el.style),l=c+u-1,s.loop&&je()>2&&(l=bt(l)),(a=Ne(l))&&(b||a.needsUpdate||!a.bounds)?(r.cleanSlide(a),r.setContent(n,l),1===u&&(r.currItem=a,r.updateCurrZoomItem(!0)),a.needsUpdate=!1):-1===n.index&&l>=0&&r.setContent(n,l),a&&a.container&&($e(a,ht),Ye(a),Pt(a));b=!1}v=g=r.currItem.initialZoomLevel,(J=r.currItem.bounds)&&(ct.x=J.center.x,ct.y=J.center.y,Ct(!0)),At("resize")},zoomTo:function(t,e,i,n,r){e&&(v=g,ce.x=Math.abs(e.x)-ct.x,ce.y=Math.abs(e.y)-ct.y,It(ut,ct));var s=Rt(t,!1),a={};jt("x",s,a,t),jt("y",s,a,t);var l=g,u=ct.x,c=ct.y;Ot(a);var h=function(e){1===e?(g=t,ct.x=a.x,ct.y=a.y):(g=(t-l)*e+l,ct.x=(a.x-u)*e+u,ct.y=(a.y-c)*e+c),r&&r(e),Ct(1===e)};i?Yt("customZoomTo",0,1,i,n||o.easing.sine.inOut,h):h(1)}},Kt={},Qt={},Jt={},te={},ee={},ie=[],ne={},oe=[],re={},se=0,ae={x:0,y:0},le=0,ue={x:0,y:0},ce={x:0,y:0},he={x:0,y:0},de=function(t,e){return re.x=Math.abs(t.x-e.x),re.y=Math.abs(t.y-e.y),Math.sqrt(re.x*re.x+re.y*re.y)},pe=function(){U&&(k(U),U=null)},fe=function(){Z&&(U=z(fe),Ce())},me=function(t,e){return!!t&&!(t.className&&t.className.indexOf("pswp__scroll-wrap")>-1)&&(e(t)?t:me(t.parentNode,e))},ge={},ve=function(t,e){return ge.prevent=!me(t.target,s.isClickableElement),At("preventDragEvent",t,e,ge),ge.prevent},ye=function(t,e){return e.x=t.pageX,e.y=t.pageY,e.id=t.identifier,e},_e=function(t,e,i){i.x=.5*(t.x+e.x),i.y=.5*(t.y+e.y)},we=function(){var t=ct.y-r.currItem.initialPosition.y;return 1-Math.abs(t/(ht.y/2))},be={},xe={},Te=[],Ae=function(t){for(;Te.length>0;)Te.pop();return P?(at=0,ie.forEach(function(t){0===at?Te[0]=t:1===at&&(Te[1]=t),at++})):t.type.indexOf("touch")>-1?t.touches&&t.touches.length>0&&(Te[0]=ye(t.touches[0],be),t.touches.length>1&&(Te[1]=ye(t.touches[1],xe))):(be.x=t.pageX,be.y=t.pageY,be.id="",Te[0]=be),Te},Se=function(t,e){var i,n,o,a,l=ct[t]+e[t],u=e[t]>0,c=ue.x+e.x,h=ue.x-ne.x;if(i=l>J.min[t]||l<J.max[t]?s.panEndFriction:1,l=ct[t]+e[t]*i,(s.allowPanToNext||g===r.currItem.initialZoomLevel)&&(tt?"h"!==it||"x"!==t||G||(u?(l>J.min[t]&&(i=s.panEndFriction,J.min[t],n=J.min[t]-ut[t]),(n<=0||h<0)&&je()>1?(a=c,h<0&&c>ne.x&&(a=ne.x)):J.min.x!==J.max.x&&(o=l)):(l<J.max[t]&&(i=s.panEndFriction,J.max[t],n=ut[t]-J.max[t]),(n<=0||h>0)&&je()>1?(a=c,h>0&&c<ne.x&&(a=ne.x)):J.min.x!==J.max.x&&(o=l))):a=c,"x"===t))return void 0!==a&&(zt(a,!0),Y=a!==ne.x),J.min.x!==J.max.x&&(void 0!==o?ct.x=o:Y||(ct.x+=e.x*i)),void 0!==a;et||Y||g>r.currItem.fitRatio&&(ct[t]+=e[t]*i)},Ee=function(t){if(!("mousedown"===t.type&&t.button>0))if(Fe)t.preventDefault();else if(!q||"mousedown"!==t.type){if(ve(t,!0)&&t.preventDefault(),At("pointerDown"),P){var e=o.arraySearch(ie,t.pointerId,"id");e<0&&(e=ie.length),ie[e]={x:t.pageX,y:t.pageY,id:t.pointerId}}var i=Ae(t),n=i.length;X=null,Ut(),Z&&1!==n||(Z=nt=!0,o.bind(window,p,r),H=st=ot=W=Y=V=$=G=!1,it=null,At("firstTouchStart",i),It(ut,ct),lt.x=lt.y=0,It(te,i[0]),It(ee,te),ne.x=ft.x*dt,oe=[{x:te.x,y:te.y}],N=F=St(),Rt(g,!0),pe(),fe()),!K&&n>1&&!et&&!Y&&(v=g,G=!1,K=$=!0,lt.y=lt.x=0,It(ut,ct),It(Kt,i[0]),It(Qt,i[1]),_e(Kt,Qt,he),ce.x=Math.abs(he.x)-ct.x,ce.y=Math.abs(he.y)-ct.y,Q=de(Kt,Qt))}},Me=function(t){if(t.preventDefault(),P){var e=o.arraySearch(ie,t.pointerId,"id");if(e>-1){var i=ie[e];i.x=t.pageX,i.y=t.pageY}}if(Z){var n=Ae(t);if(it||V||K)X=n;else if(ue.x!==ft.x*dt)it="h";else{var r=Math.abs(n[0].x-te.x)-Math.abs(n[0].y-te.y);Math.abs(r)>=10&&(it=r>0?"h":"v",X=n)}}},Ce=function(){if(X){var t=X.length;if(0!==t)if(It(Kt,X[0]),Jt.x=Kt.x-te.x,Jt.y=Kt.y-te.y,K&&t>1){if(te.x=Kt.x,te.y=Kt.y,!Jt.x&&!Jt.y&&function(t,e){return t.x===e.x&&t.y===e.y}(X[1],Qt))return;It(Qt,X[1]),G||(G=!0,At("zoomGestureStarted"));var e=de(Kt,Qt),i=Ie(e);i>r.currItem.initialZoomLevel+r.currItem.initialZoomLevel/15&&(st=!0);var n=1,o=Ft(),a=Nt();if(i<o)if(s.pinchToClose&&!st&&v<=r.currItem.initialZoomLevel){var l=1-(o-i)/(o/1.2);Et(l),At("onPinchClose",l),ot=!0}else(n=(o-i)/o)>1&&(n=1),i=o-n*(o/3);else i>a&&((n=(i-a)/(6*o))>1&&(n=1),i=a+n*o);n<0&&(n=0),_e(Kt,Qt,ae),lt.x+=ae.x-he.x,lt.y+=ae.y-he.y,It(he,ae),ct.x=kt("x",i),ct.y=kt("y",i),H=i>g,g=i,Ct()}else{if(!it)return;if(nt&&(nt=!1,Math.abs(Jt.x)>=10&&(Jt.x-=X[0].x-ee.x),Math.abs(Jt.y)>=10&&(Jt.y-=X[0].y-ee.y)),te.x=Kt.x,te.y=Kt.y,0===Jt.x&&0===Jt.y)return;if("v"===it&&s.closeOnVerticalDrag&&"fit"===s.scaleMode&&g===r.currItem.initialZoomLevel){lt.y+=Jt.y,ct.y+=Jt.y;var u=we();return W=!0,At("onVerticalDrag",u),Et(u),void Ct()}!function(t,e,i){if(t-N>50){var n=oe.length>2?oe.shift():{};n.x=e,n.y=i,oe.push(n),N=t}}(St(),Kt.x,Kt.y),V=!0,J=r.currItem.bounds,Se("x",Jt)||(Se("y",Jt),Ot(ct),Ct())}}},Pe=function(t){if(R.isOldAndroid){if(q&&"mouseup"===t.type)return;t.type.indexOf("touch")>-1&&(clearTimeout(q),q=setTimeout(function(){q=0},600))}var e;if(At("pointerUp"),ve(t,!1)&&t.preventDefault(),P){var i=o.arraySearch(ie,t.pointerId,"id");i>-1&&(e=ie.splice(i,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 n,a=Ae(t),l=a.length;if("mouseup"===t.type&&(l=0),2===l)return X=null,!0;1===l&&It(ee,a[0]),0!==l||it||et||(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"})),At("touchRelease",t,e));var u=-1;if(0===l&&(Z=!1,o.unbind(window,p,r),pe(),K?u=0:-1!==le&&(u=St()-le)),le=1===l?St():-1,n=-1!==u&&u<150?"zoom":"swipe",K&&l<2&&(K=!1,1===l&&(n="zoomPointerUp"),At("zoomGestureEnded")),X=null,V||G||et||W)if(Ut(),j||(j=Le()),j.calculateSwipeSpeed("x"),W)if(we()<s.verticalDragRange)r.close();else{var c=ct.y,h=rt;Yt("verticalDrag",0,1,300,o.easing.cubic.out,function(t){ct.y=(r.currItem.initialPosition.y-c)*t+c,Et((1-h)*t+h),Ct()}),At("onVerticalDrag",1)}else{if((Y||et)&&0===l){if(ke(n,j))return;n="zoomPointerUp"}et||("swipe"===n?!Y&&g>r.currItem.fitRatio&&ze(j):Oe())}},Le=function(){var t,e,i={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(n){oe.length>1?(t=St()-N+50,e=oe[oe.length-2][n]):(t=St()-F,e=ee[n]),i.lastFlickOffset[n]=te[n]-e,i.lastFlickDist[n]=Math.abs(i.lastFlickOffset[n]),i.lastFlickDist[n]>20?i.lastFlickSpeed[n]=i.lastFlickOffset[n]/t:i.lastFlickSpeed[n]=0,Math.abs(i.lastFlickSpeed[n])<.1&&(i.lastFlickSpeed[n]=0),i.slowDownRatio[n]=.95,i.slowDownRatioReverse[n]=1-i.slowDownRatio[n],i.speedDecelerationRatio[n]=1},calculateOverBoundsAnimOffset:function(t,e){i.backAnimStarted[t]||(ct[t]>J.min[t]?i.backAnimDestination[t]=J.min[t]:ct[t]<J.max[t]&&(i.backAnimDestination[t]=J.max[t]),void 0!==i.backAnimDestination[t]&&(i.slowDownRatio[t]=.7,i.slowDownRatioReverse[t]=1-i.slowDownRatio[t],i.speedDecelerationRatioAbs[t]<.05&&(i.lastFlickSpeed[t]=0,i.backAnimStarted[t]=!0,Yt("bounceZoomPan"+t,ct[t],i.backAnimDestination[t],e||300,o.easing.sine.out,function(e){ct[t]=e,Ct()}))))},calculateAnimOffset:function(t){i.backAnimStarted[t]||(i.speedDecelerationRatio[t]=i.speedDecelerationRatio[t]*(i.slowDownRatio[t]+i.slowDownRatioReverse[t]-i.slowDownRatioReverse[t]*i.timeDiff/10),i.speedDecelerationRatioAbs[t]=Math.abs(i.lastFlickSpeed[t]*i.speedDecelerationRatio[t]),i.distanceOffset[t]=i.lastFlickSpeed[t]*i.speedDecelerationRatio[t]*i.timeDiff,ct[t]+=i.distanceOffset[t])},panAnimLoop:function(){if(Zt.zoomPan&&(Zt.zoomPan.raf=z(i.panAnimLoop),i.now=St(),i.timeDiff=i.now-i.lastNow,i.lastNow=i.now,i.calculateAnimOffset("x"),i.calculateAnimOffset("y"),Ct(),i.calculateOverBoundsAnimOffset("x"),i.calculateOverBoundsAnimOffset("y"),i.speedDecelerationRatioAbs.x<.05&&i.speedDecelerationRatioAbs.y<.05))return ct.x=Math.round(ct.x),ct.y=Math.round(ct.y),Ct(),void Gt("zoomPan")}};return i},ze=function(t){if(t.calculateSwipeSpeed("y"),J=r.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;Vt("zoomPan"),t.lastNow=St(),t.panAnimLoop()},ke=function(t,e){var i,n,a;if(et||(se=c),"swipe"===t){var l=te.x-ee.x,u=e.lastFlickDist.x<10;l>30&&(u||e.lastFlickOffset.x>20)?n=-1:l<-30&&(u||e.lastFlickOffset.x<-20)&&(n=1)}n&&((c+=n)<0?(c=s.loop?je()-1:0,a=!0):c>=je()&&(c=s.loop?0:je()-1,a=!0),a&&!s.loop||(mt+=n,dt-=n,i=!0));var h,d=ft.x*dt,p=Math.abs(d-ue.x);return i||d>ue.x==e.lastFlickSpeed.x>0?(h=Math.abs(e.lastFlickSpeed.x)>0?p/Math.abs(e.lastFlickSpeed.x):333,h=Math.min(h,400),h=Math.max(h,250)):h=333,se===c&&(i=!1),et=!0,At("mainScrollAnimStart"),Yt("mainScroll",ue.x,d,h,o.easing.cubic.out,zt,function(){Ut(),et=!1,se=-1,(i||se!==c)&&r.updateCurrItem(),At("mainScrollAnimComplete")}),i&&r.updateCurrItem(!0),i},Ie=function(t){return 1/Q*t*v},Oe=function(){var t=g,e=Ft(),i=Nt();g<e?t=e:g>i&&(t=i);var n,s=rt;return ot&&!H&&!st&&g<e?(r.close(),!0):(ot&&(n=function(t){Et((1-s)*t+s)}),r.zoomTo(t,0,200,o.easing.cubic.out,n),!0)};wt("Gestures",{publicMethods:{initGestures:function(){var t=function(t,e,i,n,o){A=t+e,S=t+i,E=t+n,M=o?t+o:""};(P=R.pointerEvent)&&R.touch&&(R.touch=!1),P?navigator.pointerEnabled?t("pointer","down","move","up","cancel"):t("MSPointer","Down","Move","Up","Cancel"):R.touch?(t("touch","start","move","end","cancel"),L=!0):t("mouse","down","move","up"),p=S+" "+E+" "+M,f=A,P&&!L&&(L=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),r.likelyTouchDevice=L,m[A]=Ee,m[S]=Me,m[E]=Pe,M&&(m[M]=m[E]),R.touch&&(f+=" mousedown",p+=" mousemove mouseup",m.mousedown=m[A],m.mousemove=m[S],m.mouseup=m[E]),L||(s.allowPanToNext=!1)}}});var De,Be,Re,Fe,Ne,je,He=function(e,i,n,a){var l;De&&clearTimeout(De),Fe=!0,Re=!0,e.initialLayout?(l=e.initialLayout,e.initialLayout=null):l=s.getThumbBoundsFn&&s.getThumbBoundsFn(c);var h,d,p=n?s.hideAnimationDuration:s.showAnimationDuration,f=function(){Gt("initialZoom"),n?(r.template.removeAttribute("style"),r.bg.removeAttribute("style")):(Et(1),i&&(i.style.display="block"),o.addClass(t,"pswp--animated-in"),At("initialZoom"+(n?"OutEnd":"InEnd"))),a&&a(),Fe=!1};if(!p||!l||void 0===l.x)return At("initialZoom"+(n?"Out":"In")),g=e.initialZoomLevel,It(ct,e.initialPosition),Ct(),t.style.opacity=n?0:1,Et(1),void(p?setTimeout(function(){f()},p):f());h=u,d=!r.currItem.src||r.currItem.loadError||s.showHideOpacity,e.miniImg&&(e.miniImg.style.webkitBackfaceVisibility="hidden"),n||(g=l.w/e.w,ct.x=l.x,ct.y=l.y-O,r[d?"template":"bg"].style.opacity=.001,Ct()),Vt("initialZoom"),n&&!h&&o.removeClass(t,"pswp--animated-in"),d&&(n?o[(h?"remove":"add")+"Class"](t,"pswp--animate_opacity"):setTimeout(function(){o.addClass(t,"pswp--animate_opacity")},30)),De=setTimeout(function(){if(At("initialZoom"+(n?"Out":"In")),n){var i=l.w/e.w,r={x:ct.x,y:ct.y},s=g,a=rt,u=function(e){1===e?(g=i,ct.x=l.x,ct.y=l.y-B):(g=(i-s)*e+s,ct.x=(l.x-r.x)*e+r.x,ct.y=(l.y-B-r.y)*e+r.y),Ct(),d?t.style.opacity=1-e:Et(a-e*a)};h?Yt("initialZoom",0,1,p,o.easing.cubic.out,u,f):(u(1),De=setTimeout(f,p+20))}else g=e.initialZoomLevel,It(ct,e.initialPosition),Ct(),Et(1),d?t.style.opacity=1:Et(1),De=setTimeout(f,p+20)},n?25:90)},We={},qe=[],Ze={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 Be.length}},$e=function(t,e,i){if(t.src&&!t.loadError){var n=!i;if(n&&(t.vGap||(t.vGap={top:0,bottom:0}),At("parseVerticalMargin",t)),We.x=e.x,We.y=e.y-t.vGap.top-t.vGap.bottom,n){var o=We.x/t.w,r=We.y/t.h;t.fitRatio=o<r?o:r;var a=s.scaleMode;"orig"===a?i=1:"fit"===a&&(i=t.fitRatio),i>1&&(i=1),t.initialZoomLevel=i,t.bounds||(t.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}})}if(!i)return;return function(t,e,i){var n=t.bounds;n.center.x=Math.round((We.x-e)/2),n.center.y=Math.round((We.y-i)/2)+t.vGap.top,n.max.x=e>We.x?Math.round(We.x-e):n.center.x,n.max.y=i>We.y?Math.round(We.y-i)+t.vGap.top:n.center.y,n.min.x=e>We.x?0:n.center.x,n.min.y=i>We.y?t.vGap.top:n.center.y}(t,t.w*i,t.h*i),n&&i===t.initialZoomLevel&&(t.initialPosition=t.bounds.center),t.bounds}return t.w=t.h=0,t.initialZoomLevel=t.fitRatio=1,t.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}},t.initialPosition=t.bounds.center,t.bounds},Ge=function(t,e,i,n,o,r){e.loadError||n&&(e.imageAppended=!0,Ye(e,n),i.appendChild(n),r&&setTimeout(function(){e&&e.loaded&&e.placeholder&&(e.placeholder.style.display="none",e.placeholder=null)},500))},Ve=function(t){t.loading=!0,t.loaded=!1;var e=t.img=o.createEl("pswp__img","img"),i=function(){t.loading=!1,t.loaded=!0,t.loadComplete?t.loadComplete(t):t.img=null,e.onload=e.onerror=null,e=null};return e.onload=i,e.onerror=function(){t.loadError=!0,i()},e.src=t.src,e},Ue=function(t,e){if(t.src&&t.loadError&&t.container)return e&&(t.container.innerHTML=""),t.container.innerHTML=s.errorMsg.replace("%url%",t.src),!0},Ye=function(t,e,i){if(t.src){e||(e=t.container.lastChild);var n=i?t.w:Math.round(t.w*t.fitRatio),o=i?t.h:Math.round(t.h*t.fitRatio);t.placeholder&&!t.loaded&&(t.placeholder.style.width=n+"px",t.placeholder.style.height=o+"px"),e.style.width=n+"px",e.style.height=o+"px"}},Xe=function(){if(qe.length){for(var t,e=0;e<qe.length;e++)(t=qe[e]).holder.index===t.index&&Ge(t.index,t.item,t.baseDiv,t.img,0,t.clearPlaceholder);qe=[]}};wt("Controller",{publicMethods:{lazyLoadItem:function(t){t=bt(t);var e=Ne(t);e&&(!e.loaded&&!e.loading||b)&&(At("gettingData",t,e),e.src&&Ve(e))},initController:function(){o.extend(s,Ze,!0),r.items=Be=i,Ne=r.getItemAt,je=s.getNumItemsFn,s.loop,je()<3&&(s.loop=!1),Tt("beforeChange",function(t){var e,i=s.preload,n=null===t||t>=0,o=Math.min(i[0],je()),a=Math.min(i[1],je());for(e=1;e<=(n?a:o);e++)r.lazyLoadItem(c+e);for(e=1;e<=(n?o:a);e++)r.lazyLoadItem(c-e)}),Tt("initialLayout",function(){r.currItem.initialLayout=s.getThumbBoundsFn&&s.getThumbBoundsFn(c)}),Tt("mainScrollAnimComplete",Xe),Tt("initialZoomInEnd",Xe),Tt("destroy",function(){for(var t,e=0;e<Be.length;e++)(t=Be[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);qe=null})},getItemAt:function(t){return t>=0&&void 0!==Be[t]&&Be[t]},allowProgressiveImg:function(){return s.forceProgressiveLoading||!L||s.mouseUsed||screen.width>1200},setContent:function(t,e){s.loop&&(e=bt(e));var i=r.getItemAt(t.index);i&&(i.container=null);var n,l=r.getItemAt(e);if(l){At("gettingData",e,l),t.index=e,t.item=l;var u=l.container=o.createEl("pswp__zoom-wrap");if(!l.src&&l.html&&(l.html.tagName?u.appendChild(l.html):u.innerHTML=l.html),Ue(l),$e(l,ht),!l.src||l.loadError||l.loaded)l.src&&!l.loadError&&((n=o.createEl("pswp__img","img")).style.opacity=1,n.src=l.src,Ye(l,n),Ge(0,l,u,n));else{if(l.loadComplete=function(i){if(a){if(t&&t.index===e){if(Ue(i,!0))return i.loadComplete=i.img=null,$e(i,ht),Pt(i),void(t.index===c&&r.updateCurrZoomItem());i.imageAppended?!Fe&&i.placeholder&&(i.placeholder.style.display="none",i.placeholder=null):R.transform&&(et||Fe)?qe.push({item:i,baseDiv:u,img:i.img,index:e,holder:t,clearPlaceholder:!0}):Ge(0,i,u,i.img,0,!0)}i.loadComplete=null,i.img=null,At("imageLoadComplete",e,i)}},o.features.transform){var h="pswp__img pswp__img--placeholder";h+=l.msrc?"":" pswp__img--placeholder--blank";var d=o.createEl(h,l.msrc?"img":"");l.msrc&&(d.src=l.msrc),Ye(l,d),u.appendChild(d),l.placeholder=d}l.loading||Ve(l),r.allowProgressiveImg()&&(!Re&&R.transform?qe.push({item:l,baseDiv:u,img:l.img,index:e,holder:t}):Ge(0,l,u,l.img,0,!0))}Re||e!==c?Pt(l):(tt=u.style,He(l,n||l.img)),t.el.innerHTML="",t.el.appendChild(u)}else t.el.innerHTML=""},cleanSlide:function(t){t.img&&(t.img.onload=t.img.onerror=null),t.loaded=t.loading=t.img=t.imageAppended=!1}}});var Ke,Qe,Je={},ti=function(t,e,i){var n=document.createEvent("CustomEvent"),o={origEvent:t,target:t.target,releasePoint:e,pointerType:i||"touch"};n.initCustomEvent("pswpTap",!0,!0,o),t.target.dispatchEvent(n)};wt("Tap",{publicMethods:{initTap:function(){Tt("firstTouchStart",r.onTapStart),Tt("touchRelease",r.onTapRelease),Tt("destroy",function(){Je={},Ke=null})},onTapStart:function(t){t.length>1&&(clearTimeout(Ke),Ke=null)},onTapRelease:function(t,e){var i,n;if(e&&!V&&!$&&!$t){var r=e;if(Ke&&(clearTimeout(Ke),Ke=null,i=r,n=Je,Math.abs(i.x-n.x)<25&&Math.abs(i.y-n.y)<25))return void At("doubleTap",r);if("mouse"===e.type)return void ti(t,e,"mouse");if("BUTTON"===t.target.tagName.toUpperCase()||o.hasClass(t.target,"pswp__single-tap"))return void ti(t,e);It(Je,r),Ke=setTimeout(function(){ti(t,e),Ke=null},300)}}}}),wt("DesktopZoom",{publicMethods:{initDesktopZoom:function(){D||(L?Tt("mouseUsed",function(){r.setupDesktopZoom()}):r.setupDesktopZoom(!0))},setupDesktopZoom:function(e){Qe={};var i="wheel mousewheel DOMMouseScroll";Tt("bindEvents",function(){o.bind(t,i,r.handleMouseWheel)}),Tt("unbindEvents",function(){Qe&&o.unbind(t,i,r.handleMouseWheel)}),r.mouseZoomedIn=!1;var n,s=function(){r.mouseZoomedIn&&(o.removeClass(t,"pswp--zoomed-in"),r.mouseZoomedIn=!1),g<1?o.addClass(t,"pswp--zoom-allowed"):o.removeClass(t,"pswp--zoom-allowed"),a()},a=function(){n&&(o.removeClass(t,"pswp--dragging"),n=!1)};Tt("resize",s),Tt("afterChange",s),Tt("pointerDown",function(){r.mouseZoomedIn&&(n=!0,o.addClass(t,"pswp--dragging"))}),Tt("pointerUp",a),e||s()},handleMouseWheel:function(t){if(g<=r.currItem.fitRatio)return s.modal&&(!s.closeOnScroll||$t||Z?t.preventDefault():C&&Math.abs(t.deltaY)>2&&(u=!0,r.close())),!0;if(t.stopPropagation(),Qe.x=0,"deltaX"in t)1===t.deltaMode?(Qe.x=18*t.deltaX,Qe.y=18*t.deltaY):(Qe.x=t.deltaX,Qe.y=t.deltaY);else if("wheelDelta"in t)t.wheelDeltaX&&(Qe.x=-.16*t.wheelDeltaX),t.wheelDeltaY?Qe.y=-.16*t.wheelDeltaY:Qe.y=-.16*t.wheelDelta;else{if(!("detail"in t))return;Qe.y=t.detail}Rt(g,!0);var e=ct.x-Qe.x,i=ct.y-Qe.y;(s.modal||e<=J.min.x&&e>=J.max.x&&i<=J.min.y&&i>=J.max.y)&&t.preventDefault(),r.panTo(e,i)},toggleDesktopZoom:function(e){e=e||{x:ht.x/2+pt.x,y:ht.y/2+pt.y};var i=s.getDoubleTapZoom(!0,r.currItem),n=g===i;r.mouseZoomedIn=!n,r.zoomTo(n?r.currItem.initialZoomLevel:i,e,333),o[(n?"remove":"add")+"Class"](t,"pswp--zoomed-in")}}}),o.extend(r,Xt)}}),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(t,e){var i,n,o,r,s,a,l,u,c,h,d,p,f,m,g,v,y,_,w=this,b=!1,x=!0,T=!0,A={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(t,e){return t.title?(e.children[0].innerHTML=t.title,!0):(e.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://x.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return t.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return t.currItem.title||""},indexIndicatorSep:" / "},S=function(t){if(v)return!0;t=t||window.event,g.timeToIdle&&g.mouseUsed&&!c&&O();for(var i,n,o=(t.target||t.srcElement).className,r=0;r<F.length;r++)(i=F[r]).onTap&&o.indexOf("pswp__"+i.name)>-1&&(i.onTap(),n=!0);if(n){t.stopPropagation&&t.stopPropagation(),v=!0;var s=e.features.isOldAndroid?600:30;setTimeout(function(){v=!1},s)}},E=function(t,i,n){e[(n?"add":"remove")+"Class"](t,"pswp__"+i)},M=function(){var t=1===g.getNumItemsFn();t!==m&&(E(n,"ui--one-slide",t),m=t)},C=function(){E(l,"share-modal--hidden",T)},P=function(){return(T=!T)?(e.removeClass(l,"pswp__share-modal--fade-in"),setTimeout(function(){T&&C()},300)):(C(),setTimeout(function(){T||e.addClass(l,"pswp__share-modal--fade-in")},30)),T||z(),!1},L=function(e){var i=(e=e||window.event).target||e.srcElement;return t.shout("shareLinkClick",e,i),!(!i.href||!i.hasAttribute("download")&&(window.open(i.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)),T||P(),1))},z=function(){for(var t,e,i,n,o="",r=0;r<g.shareButtons.length;r++)t=g.shareButtons[r],e=g.getImageURLForShare(t),i=g.getPageURLForShare(t),n=g.getTextForShare(t),o+='<a href="'+t.url.replace("{{url}}",encodeURIComponent(i)).replace("{{image_url}}",encodeURIComponent(e)).replace("{{raw_image_url}}",e).replace("{{text}}",encodeURIComponent(n))+'" target="_blank" class="pswp__share--'+t.id+'"'+(t.download?"download":"")+">"+t.label+"</a>",g.parseShareButtonOut&&(o=g.parseShareButtonOut(t,o));l.children[0].innerHTML=o,l.children[0].onclick=L},k=function(t){for(var i=0;i<g.closeElClasses.length;i++)if(e.hasClass(t,"pswp__"+g.closeElClasses[i]))return!0},I=0,O=function(){clearTimeout(_),I=0,c&&w.setIdle(!1)},D=function(t){var e=(t=t||window.event).relatedTarget||t.toElement;e&&"HTML"!==e.nodeName||(clearTimeout(_),_=setTimeout(function(){w.setIdle(!0)},g.timeToIdleOutside))},B=function(t){p!==t&&(E(d,"preloader--active",!t),p=t)},R=function(i){var s=i.vGap;if(!t.likelyTouchDevice||g.mouseUsed||screen.width>1200){var a=g.barsSize;if(g.captionEl&&"auto"===a.bottom)if(r||((r=e.createEl("pswp__caption pswp__caption--fake")).appendChild(e.createEl("pswp__caption__center")),n.insertBefore(r,o),e.addClass(n,"pswp__ui--fit")),g.addCaptionHTMLFn(i,r,!0)){var l=r.clientHeight;s.bottom=parseInt(l,10)||44}else s.bottom=a.top;else s.bottom="auto"===a.bottom?0:a.bottom;s.top=a.top}else s.top=s.bottom=0},F=[{name:"caption",option:"captionEl",onInit:function(t){o=t}},{name:"share-modal",option:"shareEl",onInit:function(t){l=t},onTap:function(){P()}},{name:"button--share",option:"shareEl",onInit:function(t){a=t},onTap:function(){P()}},{name:"button--zoom",option:"zoomEl",onTap:t.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(t){s=t}},{name:"button--close",option:"closeEl",onTap:t.close},{name:"button--arrow--left",option:"arrowEl",onTap:t.prev},{name:"button--arrow--right",option:"arrowEl",onTap:t.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){i.isFullscreen()?i.exit():i.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(t){d=t}}];w.init=function(){var s;e.extend(t.options,A,!0),g=t.options,n=e.getChildByClass(t.scrollWrap,"pswp__ui"),(h=t.listen)("onVerticalDrag",function(t){x&&t<.95?w.hideControls():!x&&t>=.95&&w.showControls()}),h("onPinchClose",function(t){x&&t<.9?(w.hideControls(),s=!0):s&&!x&&t>.9&&w.showControls()}),h("zoomGestureEnded",function(){(s=!1)&&!x&&w.showControls()}),h("beforeChange",w.update),h("doubleTap",function(e){var i=t.currItem.initialZoomLevel;t.getZoomLevel()!==i?t.zoomTo(i,e,333):t.zoomTo(g.getDoubleTapZoom(!1,t.currItem),e,333)}),h("preventDragEvent",function(t,e,i){var n=t.target||t.srcElement;n&&n.className&&t.type.indexOf("mouse")>-1&&(n.className.indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(n.tagName))&&(i.prevent=!1)}),h("bindEvents",function(){e.bind(n,"pswpTap click",S),e.bind(t.scrollWrap,"pswpTap",w.onGlobalTap),t.likelyTouchDevice||e.bind(t.scrollWrap,"mouseover",w.onMouseOver)}),h("unbindEvents",function(){T||P(),y&&clearInterval(y),e.unbind(document,"mouseout",D),e.unbind(document,"mousemove",O),e.unbind(n,"pswpTap click",S),e.unbind(t.scrollWrap,"pswpTap",w.onGlobalTap),e.unbind(t.scrollWrap,"mouseover",w.onMouseOver),i&&(e.unbind(document,i.eventK,w.updateFullscreen),i.isFullscreen()&&(g.hideAnimationDuration=0,i.exit()),i=null)}),h("destroy",function(){g.captionEl&&(r&&n.removeChild(r),e.removeClass(o,"pswp__caption--empty")),l&&(l.children[0].onclick=null),e.removeClass(n,"pswp__ui--over-close"),e.addClass(n,"pswp__ui--hidden"),w.setIdle(!1)}),g.showAnimationDuration||e.removeClass(n,"pswp__ui--hidden"),h("initialZoomIn",function(){g.showAnimationDuration&&e.removeClass(n,"pswp__ui--hidden")}),h("initialZoomOut",function(){e.addClass(n,"pswp__ui--hidden")}),h("parseVerticalMargin",R),function(){var t,i,o,r=function(n){if(n)for(var r=n.length,s=0;s<r;s++){t=n[s],i=t.className;for(var a=0;a<F.length;a++)o=F[a],i.indexOf("pswp__"+o.name)>-1&&(g[o.option]?(e.removeClass(t,"pswp__element--disabled"),o.onInit&&o.onInit(t)):e.addClass(t,"pswp__element--disabled"))}};r(n.children);var s=e.getChildByClass(n,"pswp__top-bar");s&&r(s.children)}(),g.shareEl&&a&&l&&(T=!0),M(),g.timeToIdle&&h("mouseUsed",function(){e.bind(document,"mousemove",O),e.bind(document,"mouseout",D),y=setInterval(function(){2===++I&&w.setIdle(!0)},g.timeToIdle/2)}),g.fullscreenEl&&(i||(i=w.getFullscreenAPI()),i?(e.bind(document,i.eventK,w.updateFullscreen),w.updateFullscreen(),e.addClass(t.template,"pswp--supports-fs")):e.removeClass(t.template,"pswp--supports-fs")),g.preloaderEl&&(B(!0),h("beforeChange",function(){clearTimeout(f),f=setTimeout(function(){t.currItem&&t.currItem.loading?(!t.allowProgressiveImg()||t.currItem.img&&!t.currItem.img.naturalWidth)&&B(!1):B(!0)},g.loadingIndicatorDelay)}),h("imageLoadComplete",function(e,i){t.currItem===i&&B(!0)}))},w.setIdle=function(t){c=t,E(n,"ui--idle",t)},w.update=function(){x&&t.currItem?(w.updateIndexIndicator(),g.captionEl&&(g.addCaptionHTMLFn(t.currItem,o),E(o,"caption--empty",!t.currItem.title)),b=!0):b=!1,T||P(),M()},w.updateFullscreen=function(n){n&&setTimeout(function(){t.setScrollOffset(0,e.getScrollY())},50),e[(i.isFullscreen()?"add":"remove")+"Class"](t.template,"pswp--fs")},w.updateIndexIndicator=function(){g.counterEl&&(s.innerHTML=t.getCurrentIndex()+1+g.indexIndicatorSep+g.getNumItemsFn())},w.onGlobalTap=function(i){var n=(i=i||window.event).target||i.srcElement;if(!v)if(i.detail&&"mouse"===i.detail.pointerType){if(k(n))return void t.close();e.hasClass(n,"pswp__img")&&(1===t.getZoomLevel()&&t.getZoomLevel()<=t.currItem.fitRatio?g.clickToCloseNonZoomable&&t.close():t.toggleDesktopZoom(i.detail.releasePoint))}else if(g.tapToToggleControls&&(x?w.hideControls():w.showControls()),g.tapToClose&&(e.hasClass(n,"pswp__img")||k(n)))return void t.close()},w.onMouseOver=function(t){var e=(t=t||window.event).target||t.srcElement;E(n,"ui--over-close",k(e))},w.hideControls=function(){e.addClass(n,"pswp__ui--hidden"),x=!1},w.showControls=function(){x=!0,b||w.update(),e.removeClass(n,"pswp__ui--hidden")},w.supportsFullscreen=function(){var t=document;return!!(t.exitFullscreen||t.mozCancelFullScreen||t.webkitExitFullscreen||t.msExitFullscreen)},w.getFullscreenAPI=function(){var e,i=document.documentElement,n="fullscreenchange";return i.requestFullscreen?e={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:n}:i.mozRequestFullScreen?e={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+n}:i.webkitRequestFullscreen?e={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+n}:i.msRequestFullscreen&&(e={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),e&&(e.enter=function(){if(u=g.closeOnScroll,g.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return t.template[this.enterK]();t.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},e.exit=function(){return g.closeOnScroll=u,document[this.exitK]()},e.isFullscreen=function(){return document[this.elementK]}),e}}}),function(t){var e=t(window),i=e.height();e.on("resize",function(){i=e.height()}),t.fn.parallax=function(n,o,r){var s,a,l=t(this);function u(){var r=e.scrollTop();l.hasClass("wd-parallax")&&l.each(function(){var e=t(this),u=e.offset().top;u+s(e)<r||u>r+i||l.attr("style","background-position: var(--wd-parallax-pos,"+n+" "+Math.round((a-r)*o)+"px) !important")})}l.each(function(){a=l.offset().top}),s=r?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===r)&&(r=!0),e.bind("scroll",u).on("resize",u),u()}}(jQuery),function(t){t(function(){t(window).width()<=1024||!t("body").hasClass("elementor-editor-active")&&0===t(".wd-parallax-on-scroll").length&&0===t("[data-parallax]").length||e.init()});var e={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(e){var i=t(document).scrollTop(),n=t(window).height();this._log("onScroll "+i),t("[data-parallax], .wd-parallax-on-scroll").each(t.proxy(function(o,r){var s,a,l=t(r),u=[],c=!1,h=l.data("style");if(null==h&&(h=l.attr("style")||"",l.data("style",h)),l.hasClass("wd-parallax-on-scroll")){var d=l.attr("class").split(" ");for(s=[[]],o=0;o<d.length;o++)if(d[o].indexOf("wd_scroll")>=0){var p=d[o].split("_");s[0][p[2]]=p[3]}}else s=[l.data("parallax")];for(a=2;l.data("parallax"+a);a++)s.push(l.data("parallax-"+a));var f=s.length;for(a=0;a<f;a++){var m=(p=s[a])["from-scroll"];null==m&&(m=Math.max(0,t(r).offset().top-n)),m|=0;var g=p.distance,v=p["to-scroll"];null==g&&null==v&&(g=n),g=Math.max(0|g,1);var y=p.easing,_=p["easing-return"];if(null!=y&&t.easing&&t.easing[y]||(y=null),null!=_&&t.easing&&t.easing[_]||(_=y),y){var w=p.duration;null==w&&(w=g),w=Math.max(0|w,1);var b=p["duration-return"];null==b&&(b=w),g=1;var x=l.data("current-time");null==x&&(x=0)}null==v&&(v=m+g),v|=0;var T=p.smoothness;null==T&&(T=30),T|=0,(e||0==T)&&(T=1),T|=0;var A=i;A=Math.max(A,m),A=Math.min(A,v),y&&(null==l.data("sens")&&l.data("sens","back"),A>m&&("back"==l.data("sens")?(x=1,l.data("sens","go")):x++),A<v&&("go"==l.data("sens")?(x=1,l.data("sens","back")):x++),e&&(x=w),l.data("current-time",x)),this._properties.map(t.proxy(function(e){var i=0,n=p[e];if(null!=n){"scale"==e||"scaleX"==e||"scaleY"==e||"scaleZ"==e?i=1:n|=0;var o=l.data("_"+e);null==o&&(o=i);var r=(A-m)/(v-m)*(n-i)+i,s=o+(r-o)/T;if(y&&x>0&&x<=w){var a=i;"back"==l.data("sens")&&(a=n,n=-n,y=_,w=b),s=t.easing[y](null,x,a,n,w)}(s=Math.ceil(s*this.round)/this.round)==o&&r==n&&(s=n),u[e]||(u[e]=0),u[e]+=s,o!=u[e]&&(l.data("_"+e,u[e]),c=!0)}},this))}if(c){if(null!=u.z){var S=p.perspective;null==S&&(S=800);var E=l.parent();E.data("style")||E.data("style",E.attr("style")||""),E.attr("style","perspective:"+S+"px; -webkit-perspective:"+S+"px; "+E.data("style"))}null==u.scaleX&&(u.scaleX=1),null==u.scaleY&&(u.scaleY=1),null==u.scaleZ&&(u.scaleZ=1),null!=u.scale&&(u.scaleX*=u.scale,u.scaleY*=u.scale,u.scaleZ*=u.scale);var M="translate3d("+(u.x?u.x:0)+"px, "+(u.y?u.y:0)+"px, "+(u.z?u.z:0)+"px) rotateX("+(u.rotateX?u.rotateX:0)+"deg) rotateY("+(u.rotateY?u.rotateY:0)+"deg) rotateZ("+(u.rotateZ?u.rotateZ:0)+"deg) scaleX("+u.scaleX+") scaleY("+u.scaleY+") scaleZ("+u.scaleZ+");";this._log(M),l.attr("style","transform:"+M+" -webkit-transform:"+M+" "+h)}},this)),window.requestAnimationFrame?window.requestAnimationFrame(t.proxy(this._onScroll,this,!1)):this._requestAnimationFrame(t.proxy(this._onScroll,this,!1))}}}(jQuery),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,i,n,o){return jQuery.easing[jQuery.easing.def](t,e,i,n,o)},easeInQuad:function(t,e,i,n,o){return n*(e/=o)*e+i},easeOutQuad:function(t,e,i,n,o){return-n*(e/=o)*(e-2)+i},easeInOutQuad:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},easeInCubic:function(t,e,i,n,o){return n*(e/=o)*e*e+i},easeOutCubic:function(t,e,i,n,o){return n*((e=e/o-1)*e*e+1)+i},easeInOutCubic:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e*e+i:n/2*((e-=2)*e*e+2)+i},easeInQuart:function(t,e,i,n,o){return n*(e/=o)*e*e*e+i},easeOutQuart:function(t,e,i,n,o){return-n*((e=e/o-1)*e*e*e-1)+i},easeInOutQuart:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e*e*e+i:-n/2*((e-=2)*e*e*e-2)+i},easeInQuint:function(t,e,i,n,o){return n*(e/=o)*e*e*e*e+i},easeOutQuint:function(t,e,i,n,o){return n*((e=e/o-1)*e*e*e*e+1)+i},easeInOutQuint:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e*e*e*e+i:n/2*((e-=2)*e*e*e*e+2)+i},easeInSine:function(t,e,i,n,o){return-n*Math.cos(e/o*(Math.PI/2))+n+i},easeOutSine:function(t,e,i,n,o){return n*Math.sin(e/o*(Math.PI/2))+i},easeInOutSine:function(t,e,i,n,o){return-n/2*(Math.cos(Math.PI*e/o)-1)+i},easeInExpo:function(t,e,i,n,o){return 0==e?i:n*Math.pow(2,10*(e/o-1))+i},easeOutExpo:function(t,e,i,n,o){return e==o?i+n:n*(1-Math.pow(2,-10*e/o))+i},easeInOutExpo:function(t,e,i,n,o){return 0==e?i:e==o?i+n:(e/=o/2)<1?n/2*Math.pow(2,10*(e-1))+i:n/2*(2-Math.pow(2,-10*--e))+i},easeInCirc:function(t,e,i,n,o){return-n*(Math.sqrt(1-(e/=o)*e)-1)+i},easeOutCirc:function(t,e,i,n,o){return n*Math.sqrt(1-(e=e/o-1)*e)+i},easeInOutCirc:function(t,e,i,n,o){return(e/=o/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+i:n/2*(Math.sqrt(1-(e-=2)*e)+1)+i},easeInElastic:function(t,e,i,n,o){var r=1.70158,s=0,a=n;return 0==e?i:1==(e/=o)?i+n:(s||(s=.3*o),a<Math.abs(n)?(a=n,r=s/4):r=s/(2*Math.PI)*Math.asin(n/a),-a*Math.pow(2,10*(e-=1))*Math.sin((e*o-r)*(2*Math.PI)/s)+i)},easeOutElastic:function(t,e,i,n,o){var r=1.70158,s=0,a=n;return 0==e?i:1==(e/=o)?i+n:(s||(s=.3*o),a<Math.abs(n)?(a=n,r=s/4):r=s/(2*Math.PI)*Math.asin(n/a),a*Math.pow(2,-10*e)*Math.sin((e*o-r)*(2*Math.PI)/s)+n+i)},easeInOutElastic:function(t,e,i,n,o){var r=1.70158,s=0,a=n;return 0==e?i:2==(e/=o/2)?i+n:(s||(s=o*(.3*1.5)),a<Math.abs(n)?(a=n,r=s/4):r=s/(2*Math.PI)*Math.asin(n/a),e<1?a*Math.pow(2,10*(e-=1))*Math.sin((e*o-r)*(2*Math.PI)/s)*-.5+i:a*Math.pow(2,-10*(e-=1))*Math.sin((e*o-r)*(2*Math.PI)/s)*.5+n+i)},easeInBack:function(t,e,i,n,o,r){return null==r&&(r=1.70158),n*(e/=o)*e*((r+1)*e-r)+i},easeOutBack:function(t,e,i,n,o,r){return null==r&&(r=1.70158),n*((e=e/o-1)*e*((r+1)*e+r)+1)+i},easeInOutBack:function(t,e,i,n,o,r){return null==r&&(r=1.70158),(e/=o/2)<1?n/2*(e*e*((1+(r*=1.525))*e-r))+i:n/2*((e-=2)*e*((1+(r*=1.525))*e+r)+2)+i},easeInBounce:function(t,e,i,n,o){return n-jQuery.easing.easeOutBounce(t,o-e,0,n,o)+i},easeOutBounce:function(t,e,i,n,o){return(e/=o)<1/2.75?n*(7.5625*e*e)+i:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+i:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+i:n*(7.5625*(e-=2.625/2.75)*e+.984375)+i},easeInOutBounce:function(t,e,i,n,o){return e<o/2?.5*jQuery.easing.easeInBounce(t,2*e,0,n,o)+i:.5*jQuery.easing.easeOutBounce(t,2*e-o,0,n,o)+.5*n+i}}),function(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 e(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function n(t){return"string"==typeof t}function o(t){return"function"==typeof t}function r(t){return"number"==typeof t}function s(t){return void 0===t}function a(t){return"object"==typeof t}function l(t){return!1!==t}function u(){return"undefined"!=typeof window}function c(t){return o(t)||n(t)}function h(t){return(wt=me(t,se))&&vi}function d(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")}function p(t,e){return!e&&console.warn(t)}function f(t,e){return t&&(se[t]=e)&&wt&&(wt[t]=e)||se}function m(){return 0}function g(t){var e,i,n=t[0];if(a(n)||o(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(i=pe.length;i--&&!pe[i].targetTest(n););e=pe[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new Ne(t[i],e)))||t.splice(i,1);return t}function v(t){return t._gsap||g(xe(t))[0]._gsap}function y(t,e,i){return(i=t[e])&&o(i)?t[e]():s(i)&&t.getAttribute&&t.getAttribute(e)||i}function _(t,e){return(t=t.split(",")).forEach(e)||t}function w(t){return Math.round(1e5*t)/1e5||0}function b(t){return Math.round(1e7*t)/1e7||0}function x(t,e){var i=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),"+"===i?t+n:"-"===i?t-n:"*"===i?t*n:t/n}function T(t,e){for(var i=e.length,n=0;t.indexOf(e[n])<0&&++n<i;);return n<i}function A(){var t,e,i=le.length,n=le.slice(0);for(ue={},t=le.length=0;t<i;t++)(e=n[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function S(t,e,i,n){le.length&&A(),t.render(e,i,n),le.length&&A()}function E(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(oe).length<2?e:n(t)?t.trim():t}function M(t){return t}function C(t,e){for(var i in e)i in t||(t[i]=e[i]);return t}function P(t,e){for(var i in e)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(t[i]=a(e[i])?P(t[i]||(t[i]={}),e[i]):e[i]);return t}function L(t,e){var i,n={};for(i in t)i in e||(n[i]=t[i]);return n}function z(t){var e=t.parent||gt,i=t.keyframes?function(t){return function(e,i){for(var n in i)n in e||"duration"===n&&t||"ease"===n||(e[n]=i[n])}}(Qt(t.keyframes)):C;if(l(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t}function k(t,e,i,n,o){void 0===i&&(i="_first"),void 0===n&&(n="_last");var r,s=t[n];if(o)for(r=e[o];s&&s[o]>r;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[n]=e,e._prev=s,e.parent=e._dp=t,e}function I(t,e,i,n){void 0===i&&(i="_first"),void 0===n&&(n="_last");var o=e._prev,r=e._next;o?o._next=r:t[i]===e&&(t[i]=r),r?r._prev=o:t[n]===e&&(t[n]=o),e._next=e._prev=e.parent=null}function O(t,e){!t.parent||e&&!t.parent.autoRemoveChildren||t.parent.remove(t),t._act=0}function D(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 B(t){return t._repeat?ge(t._tTime,t=t.duration()+t._rDelay)*t:0}function R(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function F(t){return t._end=b(t._start+(t._tDur/Math.abs(t._ts||t._rts||Zt)||0))}function N(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=b(i._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),F(t),i._dirty||D(i,t)),t}function j(t,e){var i;if((e._time||e._initted&&!e._dur)&&(i=R(t.rawTime(),e),(!e._dur||we(0,e.totalDuration(),i)-e._tTime>Zt)&&e.render(i,!0)),D(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=-Zt}}function H(t,e,i,n){return e.parent&&O(e),e._start=b((r(i)?i:i||t!==gt?_e(t,i,e):t._time)+e._delay),e._end=b(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),k(t,e,"_first","_last",t._sort?"_start":0),ve(e)||(t._recent=e),n||j(t,e),t}function W(t,e){return(se.ScrollTrigger||d("scrollTrigger",e))&&se.ScrollTrigger.create(e,t)}function q(t,e,i,n){return Ue(t,e),t._initted?!i&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&xt!==Pe.frame?(le.push(t),t._lazy=[e,n],1):void 0:1}function Z(t,e,i,n){var o=t._repeat,r=b(e)||0,s=t._tTime/t._tDur;return s&&!n&&(t._time*=r/t._dur),t._dur=r,t._tDur=o?o<0?1e10:b(r*(o+1)+t._rDelay*o):r,0<s&&!n?N(t,t._tTime=t._tDur*s):t.parent&&F(t),i||D(t.parent,t),t}function $(t){return t instanceof We?D(t):Z(t,t._dur)}function G(t,e,i){var n,o,s=r(e[1]),a=(s?2:1)+(t<2?0:1),u=e[a];if(s&&(u.duration=e[1]),u.parent=i,t){for(n=u,o=i;o&&!("immediateRender"in n);)n=o.vars.defaults||{},o=l(o.vars.inherit)&&o.parent;u.immediateRender=l(n.immediateRender),t<2?u.runBackwards=1:u.startAt=e[a-1]}return new Qe(e[0],u,e[1+a])}function V(t,e){return t||0===t?e(t):e}function U(t,e){return n(t)&&(e=re.exec(t))?e[1]:""}function Y(t,e){return t&&a(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&a(t[0]))&&!t.nodeType&&t!==vt}function X(t){return t.sort(function(){return.5-Math.random()})}function K(t){if(o(t))return t;var e=a(t)?t:{each:t},i=De(e.ease),r=e.from||0,s=parseFloat(e.base)||0,l={},u=0<r&&r<1,c=isNaN(r)||u,h=e.axis,d=r,p=r;return n(r)?d=p={center:.5,edges:.5,end:1}[r]||0:!u&&c&&(d=r[0],p=r[1]),function(t,n,o){var a,u,f,m,g,v,y,_,w,x=(o||e).length,T=l[x];if(!T){if(!(w="auto"===e.grid?0:(e.grid||[1,qt])[1])){for(y=-qt;y<(y=o[w++].getBoundingClientRect().left)&&w<x;);w--}for(T=l[x]=[],a=c?Math.min(w,x)*d-.5:r%w,u=w===qt?0:c?x*p/w-.5:r/w|0,_=qt,v=y=0;v<x;v++)f=v%w-a,m=u-(v/w|0),T[v]=g=h?Math.abs("y"===h?m:f):Ut(f*f+m*m),y<g&&(y=g),g<_&&(_=g);"random"===r&&X(T),T.max=y-_,T.min=_,T.v=x=(parseFloat(e.amount)||parseFloat(e.each)*(x<w?x-1:h?"y"===h?x/w:w:Math.max(w,x/w))||0)*("edges"===r?-1:1),T.b=x<0?s-x:s,T.u=U(e.amount||e.each)||0,i=i&&x<0?Oe(i):i}return x=(T[t]-T.min)/T.max||0,b(T.b+(i?i(x):x)*T.v)+T.u}}function Q(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var n=Math.round(parseFloat(i)/t)*t*e;return(n-n%1)/e+(r(i)?0:U(i))}}function J(t,e){var i,n,s=Qt(t);return!s&&a(t)&&(i=s=t.radius||qt,t.values?(t=xe(t.values),(n=!r(t[0]))&&(i*=i)):t=Q(t.increment)),V(e,s?o(t)?function(e){return n=t(e),Math.abs(n-e)<=i?n:e}:function(e){for(var o,s,a=parseFloat(n?e.x:e),l=parseFloat(n?e.y:0),u=qt,c=0,h=t.length;h--;)(o=n?(o=t[h].x-a)*o+(s=t[h].y-l)*s:Math.abs(t[h]-a))<u&&(u=o,c=h);return c=!i||u<=i?t[c]:e,n||c===e||r(e)?c:c+U(e)}:Q(t))}function tt(t,e,i,n){return V(Qt(t)?!e:!0===i?!!(i=0):!n,function(){return Qt(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 et(t,e,i){return V(i,function(i){return t[~~e(i)]})}function it(t){for(var e,i,n,o,r=0,s="";~(e=t.indexOf("random(",r));)n=t.indexOf(")",e),o="["===t.charAt(e+7),i=t.substr(e+7,n-e-7).match(o?oe:Jt),s+=t.substr(r,e-r)+tt(o?i:+i[0],o?0:+i[1],+i[2]||1e-5),r=n+1;return s+t.substr(r,t.length-r)}function nt(t,e,i){var n,o,r,s=t.labels,a=qt;for(n in s)(o=s[n]-e)<0==!!i&&o&&a>(o=Math.abs(o))&&(r=n,a=o);return r}function ot(t){return O(t),t.scrollTrigger&&t.scrollTrigger.kill(!1),t.progress()<1&&Ae(t,"onInterrupt"),t}function rt(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)*Se+.5|0}function st(t,e,i){var n,o,s,a,l,u,c,h,d,p,f=t?r(t)?[t>>16,t>>8&Se,t&Se]:0:Ee.black;if(!f){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Ee[t])f=Ee[t];else if("#"===t.charAt(0)){if(t.length<6&&(t="#"+(n=t.charAt(1))+n+(o=t.charAt(2))+o+(s=t.charAt(3))+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(f=parseInt(t.substr(1,6),16))>>16,f>>8&Se,f&Se,parseInt(t.substr(7),16)/255];f=[(t=parseInt(t.substr(1),16))>>16,t>>8&Se,t&Se]}else if("hsl"===t.substr(0,3))if(f=p=t.match(Jt),e){if(~t.indexOf("="))return f=t.match(te),i&&f.length<4&&(f[3]=1),f}else a=+f[0]%360/360,l=f[1]/100,n=2*(u=f[2]/100)-(o=u<=.5?u*(l+1):u+l-u*l),3<f.length&&(f[3]*=1),f[0]=rt(a+1/3,n,o),f[1]=rt(a,n,o),f[2]=rt(a-1/3,n,o);else f=t.match(Jt)||Ee.transparent;f=f.map(Number)}return e&&!p&&(n=f[0]/Se,o=f[1]/Se,s=f[2]/Se,u=((c=Math.max(n,o,s))+(h=Math.min(n,o,s)))/2,c===h?a=l=0:(d=c-h,l=.5<u?d/(2-c-h):d/(c+h),a=c===n?(o-s)/d+(o<s?6:0):c===o?(s-n)/d+2:(n-o)/d+4,a*=60),f[0]=~~(a+.5),f[1]=~~(100*l+.5),f[2]=~~(100*u+.5)),i&&f.length<4&&(f[3]=1),f}function at(t){var e=[],i=[],n=-1;return t.split(Me).forEach(function(t){var o=t.match(ee)||[];e.push.apply(e,o),i.push(n+=o.length+1)}),e.c=i,e}function lt(t,e,i){var n,o,r,s,a="",l=(t+a).match(Me),u=e?"hsla(":"rgba(",c=0;if(!l)return t;if(l=l.map(function(t){return(t=st(t,e,1))&&u+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),i&&(r=at(t),(n=i.c).join(a)!==r.c.join(a)))for(s=(o=t.replace(Me,"1").split(ee)).length-1;c<s;c++)a+=o[c]+(~n.indexOf(c)?l.shift()||u+"0,0,0,0)":(r.length?r:l.length?l:i).shift());if(!o)for(s=(o=t.split(Me)).length-1;c<s;c++)a+=o[c]+l[c];return a+o[s]}function ut(t){var e,i=t.join(" ");if(Me.lastIndex=0,Me.test(i))return e=Ce.test(i),t[1]=lt(t[1],e),t[0]=lt(t[0],e,at(t[1])),!0}function ct(t,e){for(var i,n=t._first;n;)n instanceof We?ct(n,e):!n.vars.yoyoEase||n._yoyo&&n._repeat||n._yoyo===e||(n.timeline?ct(n.timeline,e):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=e)),n=n._next}function ht(t,e,i,n){void 0===i&&(i=function(t){return 1-e(1-t)}),void 0===n&&(n=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var o,r={easeIn:e,easeOut:i,easeInOut:n};return _(t,function(t){for(var e in ze[t]=se[t]=r,ze[o=t.toLowerCase()]=i,r)ze[o+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=ze[t+"."+e]=r[e]}),r}function dt(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}}function pt(t,e,i){function n(t){return 1===t?1:o*Math.pow(2,-10*t)*Xt((t-s)*r)+1}var o=1<=e?e:1,r=(i||(t?.3:.45))/(e<1?e:1),s=r/$t*(Math.asin(1/o)||0),a="out"===t?n:"in"===t?function(t){return 1-n(1-t)}:dt(n);return r=$t/r,a.config=function(e,i){return pt(t,e,i)},a}function ft(t,e){function i(t){return t?--t*t*((e+1)*t+e)+1:0}void 0===e&&(e=1.70158);var n="out"===t?i:"in"===t?function(t){return 1-i(1-t)}:dt(i);return n.config=function(e){return ft(t,e)},n}var mt,gt,vt,yt,_t,wt,bt,xt,Tt,At,St,Et,Mt,Ct,Pt,Lt,zt,kt,It,Ot,Dt,Bt,Rt,Ft,Nt,jt,Ht={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Wt={duration:.5,overwrite:!1,delay:0},qt=1e8,Zt=1/qt,$t=2*Math.PI,Gt=$t/4,Vt=0,Ut=Math.sqrt,Yt=Math.cos,Xt=Math.sin,Kt="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Qt=Array.isArray,Jt=/(?:-?\.?\d|\.)+/gi,te=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ee=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ie=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ne=/[+-]=-?[.\d]+/,oe=/[^,'"\[\]\s]+/gi,re=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,se={},ae={},le=[],ue={},ce={},he={},de=30,pe=[],fe="",me=function(t,e){for(var i in e)t[i]=e[i];return t},ge=function(t,e){var i=Math.floor(t/=e);return t&&i===t?i-1:i},ve=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},ye={_start:0,endTime:m,totalDuration:m},_e=function t(e,i,o){var r,s,a,l=e.labels,u=e._recent||ye,c=e.duration()>=qt?u.endTime(!1):e._dur;return n(i)&&(isNaN(i)||i in l)?(s=i.charAt(0),a="%"===i.substr(-1),r=i.indexOf("="),"<"===s||">"===s?(0<=r&&(i=i.replace(/=/,"")),("<"===s?u._start:u.endTime(0<=u._repeat))+(parseFloat(i.substr(1))||0)*(a?(r<0?u:o).totalDuration()/100:1)):r<0?(i in l||(l[i]=c),l[i]):(s=parseFloat(i.charAt(r-1)+i.substr(r+1)),a&&o&&(s=s/100*(Qt(o)?o[0]:o).totalDuration()),1<r?t(e,i.substr(0,r-1),o)+s:c+s)):null==i?c:+i},we=function(t,e,i){return i<t?t:e<i?e:i},be=[].slice,xe=function(t,e,i){return!n(t)||i||!yt&&Le()?Qt(t)?function(t,e,i){return void 0===i&&(i=[]),t.forEach(function(t){return n(t)&&!e||Y(t,1)?i.push.apply(i,xe(t)):i.push(t)})||i}(t,i):Y(t)?be.call(t,0):t?[t]:[]:be.call((e||_t).querySelectorAll(t),0)},Te=function(t,e,i,n,o){var r=e-t,s=n-i;return V(o,function(e){return i+((e-t)/r*s||0)})},Ae=function(t,e,i){var n,o,r=t.vars,s=r[e];if(s)return n=r[e+"Params"],o=r.callbackScope||t,i&&le.length&&A(),n?s.apply(o,n):s.call(o)},Se=255,Ee={aqua:[0,Se,Se],lime:[0,Se,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Se],navy:[0,0,128],white:[Se,Se,Se],olive:[128,128,0],yellow:[Se,Se,0],orange:[Se,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Se,0,0],pink:[Se,192,203],cyan:[0,Se,Se],transparent:[Se,Se,Se,0]},Me=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in Ee)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Ce=/hsl[a]?\(/,Pe=(zt=Date.now,kt=500,It=33,Ot=zt(),Dt=Ot,Rt=Bt=1e3/240,Ct={time:0,frame:0,tick:function(){Be(!0)},deltaRatio:function(t){return Pt/(1e3/(t||60))},wake:function(){bt&&(!yt&&u()&&(vt=yt=window,_t=vt.document||{},se.gsap=vi,(vt.gsapVersions||(vt.gsapVersions=[])).push(vi.version),h(wt||vt.GreenSockGlobals||!vt.gsap&&vt||{}),Mt=vt.requestAnimationFrame),St&&Ct.sleep(),Et=Mt||function(t){return setTimeout(t,Rt-1e3*Ct.time+1|0)},At=1,Be(2))},sleep:function(){(Mt?vt.cancelAnimationFrame:clearTimeout)(St),At=0,Et=m},lagSmoothing:function(t,e){kt=t||1e8,It=Math.min(e,kt,0)},fps:function(t){Bt=1e3/(t||240),Rt=1e3*Ct.time+Bt},add:function(t,e,i){var n=e?function(e,i,o,r){t(e,i,o,r),Ct.remove(n)}:t;return Ct.remove(t),Ft[i?"unshift":"push"](n),Le(),n},remove:function(t,e){~(e=Ft.indexOf(t))&&Ft.splice(e,1)&&e<=Lt&&Lt--},_listeners:Ft=[]}),Le=function(){return!At&&Pe.wake()},ze={},ke=/^[\d.\-M][\d.\-,\s]/,Ie=/["']/g,Oe=function(t){return function(e){return 1-t(1-e)}},De=function(t,e){return t&&(o(t)?t:ze[t]||function(t){var e=(t+"").split("("),i=ze[e[0]];return i&&1<e.length&&i.config?i.config.apply(null,~t.indexOf("{")?[function(t){for(var e,i,n,o={},r=t.substr(1,t.length-3).split(":"),s=r[0],a=1,l=r.length;a<l;a++)i=r[a],e=a!==l-1?i.lastIndexOf(","):i.length,n=i.substr(0,e),o[s]=isNaN(n)?n.replace(Ie,"").trim():+n,s=i.substr(e+1).trim();return o}(e[1])]:function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),n=t.indexOf("(",e);return t.substring(e,~n&&n<i?t.indexOf(")",i+1):i)}(t).split(",").map(E)):ze._CE&&ke.test(t)?ze._CE("",t):i}(t))||e};function Be(t){var e,i,n,o,r=zt()-Dt,s=!0===t;if(kt<r&&(Ot+=r-It),(0<(e=(n=(Dt+=r)-Ot)-Rt)||s)&&(o=++Ct.frame,Pt=n-1e3*Ct.time,Ct.time=n/=1e3,Rt+=e+(Bt<=e?4:Bt-e),i=1),s||(St=Et(Be)),i)for(Lt=0;Lt<Ft.length;Lt++)Ft[Lt](n,Pt,o,t)}function Re(t){return t<jt?Nt*t*t:t<.7272727272727273?Nt*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?Nt*(t-=2.25/2.75)*t+.9375:Nt*Math.pow(t-2.625/2.75,2)+.984375}_("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var i=e<5?e+1:e;ht(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})}),ze.Linear.easeNone=ze.none=ze.Linear.easeIn,ht("Elastic",pt("in"),pt("out"),pt()),Nt=7.5625,jt=1/2.75,ht("Bounce",function(t){return 1-Re(1-t)},Re),ht("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),ht("Circ",function(t){return-(Ut(1-t*t)-1)}),ht("Sine",function(t){return 1===t?1:1-Yt(t*Gt)}),ht("Back",ft("in"),ft("out"),ft()),ze.SteppedEase=ze.steps=se.SteppedEase={config:function(t,e){void 0===t&&(t=1);var i=1/t,n=t+(e?0:1),o=e?1:0;return function(t){return((n*we(0,.99999999,t)|0)+o)*i}}},Wt.ease=ze["quad.out"],_("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return fe+=t+","+t+"Params,"});var Fe,Ne=function(t,e){this.id=Vt++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:y,this.set=e?e.getSetter:oi},je=((Fe=He.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},Fe.duration=function(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},Fe.totalDuration=function(t){return arguments.length?(this._dirty=0,Z(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Fe.totalTime=function(t,e){if(Le(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(N(this,t),!i._dp||i.parent||j(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)&&H(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===Zt||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),S(this,t,e)),this},Fe.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+B(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},Fe.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},Fe.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+B(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},Fe.iteration=function(t,e){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*i,e):this._repeat?ge(this._tTime,i)+1:1},Fe.timeScale=function(t){if(!arguments.length)return this._rts===-Zt?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?R(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-Zt?0:this._rts,this.totalTime(we(-this._delay,this._tDur,e),!0),F(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},Fe.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):(Le(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==Zt&&(this._tTime-=Zt)))),this):this._ps},Fe.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return!e||!e._sort&&this.parent||H(e,this,t-this._delay),this}return this._start},Fe.endTime=function(t){return this._start+(l(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},Fe.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?R(e.rawTime(t),this):this._tTime:this._tTime},Fe.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},Fe.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,$(this)):-2===this._repeat?1/0:this._repeat},Fe.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,$(this),e?this.time(e):this}return this._rDelay},Fe.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Fe.seek=function(t,e){return this.totalTime(_e(this,t),l(e))},Fe.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,l(e))},Fe.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Fe.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Fe.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Fe.resume=function(){return this.paused(!1)},Fe.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-Zt:0)),this):this._rts<0},Fe.invalidate=function(){return this._initted=this._act=0,this._zTime=-Zt,this},Fe.isActive=function(){var t,e=this.parent||this._dp,i=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<this.endTime(!0)-Zt))},Fe.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]},Fe.then=function(t){var e=this;return new Promise(function(i){function n(){var t=e.then;e.then=null,o(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=t),i(r),e.then=t}var r=o(t)?t:M;e._initted&&1===e.totalProgress()&&0<=e._ts||!e._tTime&&e._ts<0?n():e._prom=n})},Fe.kill=function(){ot(this)},He);function He(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,Z(this,+t.duration,1,1),this.data=t.data,At||Pe.wake()}C(je.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:-Zt,_prom:0,_ps:!1,_rts:1});var We=function(t){function s(e,n){var o;return void 0===e&&(e={}),(o=t.call(this,e)||this).labels={},o.smoothChildTiming=!!e.smoothChildTiming,o.autoRemoveChildren=!!e.autoRemoveChildren,o._sort=l(e.sortChildren),gt&&H(e.parent||gt,i(o),n),e.reversed&&o.reverse(),e.paused&&o.paused(!0),e.scrollTrigger&&W(i(o),e.scrollTrigger),o}e(s,t);var a=s.prototype;return a.to=function(t,e,i){return G(0,arguments,this),this},a.from=function(t,e,i){return G(1,arguments,this),this},a.fromTo=function(t,e,i,n){return G(2,arguments,this),this},a.set=function(t,e,i){return e.duration=0,e.parent=this,z(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Qe(t,e,_e(this,i),1),this},a.call=function(t,e,i){return H(this,Qe.delayedCall(0,t,e),i)},a.staggerTo=function(t,e,i,n,o,r,s){return i.duration=e,i.stagger=i.stagger||n,i.onComplete=r,i.onCompleteParams=s,i.parent=this,new Qe(t,i,_e(this,o)),this},a.staggerFrom=function(t,e,i,n,o,r,s){return i.runBackwards=1,z(i).immediateRender=l(i.immediateRender),this.staggerTo(t,e,i,n,o,r,s)},a.staggerFromTo=function(t,e,i,n,o,r,s,a){return n.startAt=i,z(n).immediateRender=l(n.immediateRender),this.staggerTo(t,e,n,o,r,s,a)},a.render=function(t,e,i){var n,o,r,s,a,l,u,c,h,d,p,f,m=this._time,g=this._dirty?this.totalDuration():this._tDur,v=this._dur,y=t<=0?0:b(t),_=this._zTime<0!=t<0&&(this._initted||!v);if(this!==gt&&g<y&&0<=t&&(y=g),y!==this._tTime||i||_){if(m!==this._time&&v&&(y+=this._time-m,t+=this._time-m),n=y,h=this._start,l=!(c=this._ts),_&&(v||(m=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(p=this._yoyo,a=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,i);if(n=b(y%a),y===g?(s=this._repeat,n=v):((s=~~(y/a))&&s===y/a&&(n=v,s--),v<n&&(n=v)),d=ge(this._tTime,a),!m&&this._tTime&&d!==s&&(d=s),p&&1&s&&(n=v-n,f=1),s!==d&&!this._lock){var w=p&&1&d,x=w===(p&&1&s);if(s<d&&(w=!w),m=w?0:v,this._lock=1,this.render(m||(f?0:b(s*a)),e,!v)._lock=0,this._tTime=y,!e&&this.parent&&Ae(this,"onRepeat"),this.vars.repeatRefresh&&!f&&(this.invalidate()._lock=1),m&&m!==this._time||l!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(v=this._dur,g=this._tDur,x&&(this._lock=2,m=w?v:-1e-4,this.render(m,!0),this.vars.repeatRefresh&&!f&&this.invalidate()),this._lock=0,!this._ts&&!l)return this;ct(this,f)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=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,b(m),b(n)))&&(y-=n-(n=u._start)),this._tTime=y,this._time=n,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,m=0),!m&&n&&!e&&(Ae(this,"onStart"),this._tTime!==y))return this;if(m<=n&&0<=t)for(o=this._first;o;){if(r=o._next,(o._act||n>=o._start)&&o._ts&&u!==o){if(o.parent!==this)return this.render(t,e,i);if(o.render(0<o._ts?(n-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(n-o._start)*o._ts,e,i),n!==this._time||!this._ts&&!l){u=0,r&&(y+=this._zTime=-Zt);break}}o=r}else{o=this._last;for(var T=t<0?t:n;o;){if(r=o._prev,(o._act||T<=o._end)&&o._ts&&u!==o){if(o.parent!==this)return this.render(t,e,i);if(o.render(0<o._ts?(T-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(T-o._start)*o._ts,e,i),n!==this._time||!this._ts&&!l){u=0,r&&(y+=this._zTime=T?-Zt:Zt);break}}o=r}}if(u&&!e&&(this.pause(),u.render(m<=n?0:-Zt)._zTime=m<=n?1:-1,this._ts))return this._start=h,F(this),this.render(t,e,i);this._onUpdate&&!e&&Ae(this,"onUpdate",!0),(y===g&&this._tTime>=this.totalDuration()||!y&&m)&&(h!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||(!t&&v||!(y===g&&0<this._ts||!y&&this._ts<0)||O(this,1),e||t<0&&!m||!y&&!m&&g||(Ae(this,y===g&&0<=t?"onComplete":"onReverseComplete",!0),!this._prom||y<g&&0<this.timeScale()||this._prom())))}return this},a.add=function(t,e){var i=this;if(r(e)||(e=_e(this,e,t)),!(t instanceof je)){if(Qt(t))return t.forEach(function(t){return i.add(t,e)}),this;if(n(t))return this.addLabel(t,e);if(!o(t))return this;t=Qe.delayedCall(0,t)}return this!==t?H(this,t,e):this},a.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=-qt);for(var o=[],r=this._first;r;)r._start>=n&&(r instanceof Qe?e&&o.push(r):(i&&o.push(r),t&&o.push.apply(o,r.getChildren(!0,e,i)))),r=r._next;return o},a.getById=function(t){for(var e=this.getChildren(1,1,1),i=e.length;i--;)if(e[i].vars.id===t)return e[i]},a.remove=function(t){return n(t)?this.removeLabel(t):o(t)?this.killTweensOf(t):(I(this,t),t===this._recent&&(this._recent=this._last),D(this))},a.totalTime=function(e,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=b(Pe.time-(0<this._ts?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,i),this._forcing=0,this):this._tTime},a.addLabel=function(t,e){return this.labels[t]=_e(this,e),this},a.removeLabel=function(t){return delete this.labels[t],this},a.addPause=function(t,e,i){var n=Qe.delayedCall(0,e||m,i);return n.data="isPause",this._hasPause=1,H(this,n,_e(this,t))},a.removePause=function(t){var e=this._first;for(t=_e(this,t);e;)e._start===t&&"isPause"===e.data&&O(e),e=e._next},a.killTweensOf=function(t,e,i){for(var n=this.getTweensOf(t,i),o=n.length;o--;)$e!==n[o]&&n[o].kill(t,e);return this},a.getTweensOf=function(t,e){for(var i,n=[],o=xe(t),s=this._first,a=r(e);s;)s instanceof Qe?T(s._targets,o)&&(a?(!$e||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},a.tweenTo=function(t,e){e=e||{};var i,n=this,o=_e(n,t),r=e.startAt,s=e.onStart,a=e.onStartParams,l=e.immediateRender,u=Qe.to(n,C({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:e.duration||Math.abs((o-(r&&"time"in r?r.time:n._time))/n.timeScale())||Zt,onStart:function(){if(n.pause(),!i){var t=e.duration||Math.abs((o-(r&&"time"in r?r.time:n._time))/n.timeScale());u._dur!==t&&Z(u,t,0,1).render(u._time,!0,!0),i=1}s&&s.apply(u,a||[])}},e));return l?u.render(0):u},a.tweenFromTo=function(t,e,i){return this.tweenTo(e,C({startAt:{time:_e(this,t)}},i))},a.recent=function(){return this._recent},a.nextLabel=function(t){return void 0===t&&(t=this._time),nt(this,_e(this,t))},a.previousLabel=function(t){return void 0===t&&(t=this._time),nt(this,_e(this,t),1)},a.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+Zt)},a.shiftChildren=function(t,e,i){void 0===i&&(i=0);for(var n,o=this._first,r=this.labels;o;)o._start>=i&&(o._start+=t,o._end+=t),o=o._next;if(e)for(n in r)r[n]>=i&&(r[n]+=t);return D(this)},a.invalidate=function(){var e=this._first;for(this._lock=0;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},a.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={}),D(this)},a.totalDuration=function(t){var e,i,n,o=0,r=this,s=r._last,a=qt;if(arguments.length)return r.timeScale((r._repeat<0?r.duration():r.totalDuration())/(r.reversed()?-t:t));if(r._dirty){for(n=r.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),a<(i=s._start)&&r._sort&&s._ts&&!r._lock?(r._lock=1,H(r,s,i-s._delay,1)._lock=0):a=i,i<0&&s._ts&&(o-=i,(!n&&!r._dp||n&&n.smoothChildTiming)&&(r._start+=i/r._ts,r._time-=i,r._tTime-=i),r.shiftChildren(-i,!1,-1/0),a=0),s._end>o&&s._ts&&(o=s._end),s=e;Z(r,r===gt&&r._time>o?r._time:o,1,1),r._dirty=0}return r._tDur},s.updateRoot=function(t){if(gt._ts&&(S(gt,R(t,gt)),xt=Pe.frame),Pe.frame>=de){de+=Ht.autoSleep||120;var e=gt._first;if((!e||!e._ts)&&Ht.autoSleep&&Pe._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Pe.sleep()}}},s}(je);function qe(t,e,i,r,s,l){var u,c,h,d;if(ce[t]&&!1!==(u=new ce[t]).init(s,u.rawVars?e[t]:function(t,e,i,r,s){if(o(t)&&(t=Ye(t,s,e,i,r)),!a(t)||t.style&&t.nodeType||Qt(t)||Kt(t))return n(t)?Ye(t,s,e,i,r):t;var l,u={};for(l in t)u[l]=Ye(t[l],s,e,i,r);return u}(e[t],r,s,l,i),i,r,l)&&(i._pt=c=new di(i._pt,s,t,0,1,u.render,u,0,u.priority),i!==Tt))for(h=i._ptLookup[i._targets.indexOf(s)],d=u._props.length;d--;)h[u._props[d]]=c;return u}function Ze(t,e,i,n){var o,r,s=e.ease||n||"power1.inOut";if(Qt(e))r=i[t]||(i[t]=[]),e.forEach(function(t,i){return r.push({t:i/(e.length-1)*100,v:t,e:s})});else for(o in e)r=i[o]||(i[o]=[]),"ease"===o||r.push({t:parseFloat(t),v:e[o],e:s})}C(We.prototype,{_lock:0,_hasPause:0,_forcing:0});var $e,Ge,Ve=function(t,e,i,r,s,a,l,u,c){o(r)&&(r=r(s||0,t,a));var h,p=t[e],f="get"!==i?i:o(p)?c?t[e.indexOf("set")||!o(t["get"+e.substr(3)])?e:"get"+e.substr(3)](c):t[e]():p,m=o(p)?c?ni:ii:ei;if(n(r)&&(~r.indexOf("random(")&&(r=it(r)),"="===r.charAt(1)&&(!(h=x(f,r)+(U(f)||0))&&0!==h||(r=h))),f!==r||Ge)return isNaN(f*r)||""===r?(p||e in t||d(e,r),function(t,e,i,n,o,r,s){var a,l,u,c,h,d,p,f,m=new di(this._pt,t,e,0,1,ai,null,o),g=0,v=0;for(m.b=i,m.e=n,i+="",(p=~(n+="").indexOf("random("))&&(n=it(n)),r&&(r(f=[i,n],t,e),i=f[0],n=f[1]),l=i.match(ie)||[];a=ie.exec(n);)c=a[0],h=n.substring(g,a.index),u?u=(u+1)%5:"rgba("===h.substr(-5)&&(u=1),c!==l[v++]&&(d=parseFloat(l[v-1])||0,m._pt={_next:m._pt,p:h||1===v?h:",",s:d,c:"="===c.charAt(1)?x(d,c)-d:parseFloat(c)-d,m:u&&u<4?Math.round:0},g=ie.lastIndex);return m.c=g<n.length?n.substring(g,n.length):"",m.fp=s,(ne.test(n)||p)&&(m.e=0),this._pt=m}.call(this,t,e,f,r,m,u||Ht.stringFilter,c)):(h=new di(this._pt,t,e,+f||0,r-(f||0),"boolean"==typeof p?si:ri,0,m),c&&(h.fp=c),l&&h.modifier(l,this,t),this._pt=h)},Ue=function t(e,i){var n,o,r,s,a,u,c,h,d,p,f,m,y,_=e.vars,w=_.ease,b=_.startAt,x=_.immediateRender,T=_.lazy,S=_.onUpdate,E=_.onUpdateParams,M=_.callbackScope,P=_.runBackwards,z=_.yoyoEase,k=_.keyframes,I=_.autoRevert,D=e._dur,B=e._startAt,R=e._targets,F=e.parent,N=F&&"nested"===F.data?F.parent._targets:R,j="auto"===e._overwrite&&!mt,H=e.timeline;if(!H||k&&w||(w="none"),e._ease=De(w,Wt.ease),e._yEase=z?Oe(De(!0===z?w:z,Wt.ease)):0,z&&e._yoyo&&!e._repeat&&(z=e._yEase,e._yEase=e._ease,e._ease=z),e._from=!H&&!!_.runBackwards,!H||k&&!_.stagger){if(m=(h=R[0]?v(R[0]).harness:0)&&_[h.prop],n=L(_,ae),B&&(O(B.render(-1,!0)),B._lazy=0),b)if(O(e._startAt=Qe.set(R,C({data:"isStart",overwrite:!1,parent:F,immediateRender:!0,lazy:l(T),startAt:null,delay:0,onUpdate:S,onUpdateParams:E,callbackScope:M,stagger:0},b))),i<0&&!x&&!I&&e._startAt.render(-1,!0),x){if(0<i&&!I&&(e._startAt=0),D&&i<=0)return void(i&&(e._zTime=i))}else!1===I&&(e._startAt=0);else if(P&&D)if(B)I||(e._startAt=0);else if(i&&(x=!1),r=C({overwrite:!1,data:"isFromStart",lazy:x&&l(T),immediateRender:x,stagger:0,parent:F},n),m&&(r[h.prop]=m),O(e._startAt=Qe.set(R,r)),i<0&&e._startAt.render(-1,!0),e._zTime=i,x){if(!i)return}else t(e._startAt,Zt);for(e._pt=e._ptCache=0,T=D&&l(T)||T&&!D,o=0;o<R.length;o++){if(c=(a=R[o])._gsap||g(R)[o]._gsap,e._ptLookup[o]=p={},ue[c.id]&&le.length&&A(),f=N===R?o:N.indexOf(a),h&&!1!==(d=new h).init(a,m||n,e,f,N)&&(e._pt=s=new di(e._pt,a,d.name,0,1,d.render,d,0,d.priority),d._props.forEach(function(t){p[t]=s}),d.priority&&(u=1)),!h||m)for(r in n)ce[r]&&(d=qe(r,n,e,f,a,N))?d.priority&&(u=1):p[r]=s=Ve.call(e,a,r,"get",n[r],f,N,0,_.stringFilter);e._op&&e._op[o]&&e.kill(a,e._op[o]),j&&e._pt&&($e=e,gt.killTweensOf(a,p,e.globalTime(i)),y=!e.parent,$e=0),e._pt&&T&&(ue[c.id]=1)}u&&hi(e),e._onInit&&e._onInit(e)}e._onUpdate=S,e._initted=(!e._op||e._pt)&&!y,k&&i<=0&&H.render(qt,!0,!0)},Ye=function(t,e,i,r,s){return o(t)?t.call(e,i,r,s):n(t)&&~t.indexOf("random(")?it(t):t},Xe=fe+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Ke={};_(Xe+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return Ke[t]=1});var Qe=function(t){function o(e,n,o,s){var u;"number"==typeof n&&(o.duration=n,n=o,o=null);var h,d,f,m,v,y,_,w,x=(u=t.call(this,s?n:z(n))||this).vars,T=x.duration,A=x.delay,S=x.immediateRender,E=x.stagger,M=x.overwrite,P=x.keyframes,k=x.defaults,I=x.scrollTrigger,O=x.yoyoEase,D=n.parent||gt,B=(Qt(e)||Kt(e)?r(e[0]):"length"in n)?[e]:xe(e);if(u._targets=B.length?g(B):p("GSAP target "+e+" not found. https://greensock.com",!Ht.nullTargetWarn)||[],u._ptLookup=[],u._overwrite=M,P||E||c(T)||c(A)){if(n=u.vars,(h=u.timeline=new We({data:"nested",defaults:k||{}})).kill(),h.parent=h._dp=i(u),h._start=0,E||c(T)||c(A)){if(m=B.length,_=E&&K(E),a(E))for(v in E)~Xe.indexOf(v)&&((w=w||{})[v]=E[v]);for(d=0;d<m;d++)(f=L(n,Ke)).stagger=0,O&&(f.yoyoEase=O),w&&me(f,w),y=B[d],f.duration=+Ye(T,i(u),d,y,B),f.delay=(+Ye(A,i(u),d,y,B)||0)-u._delay,!E&&1===m&&f.delay&&(u._delay=A=f.delay,u._start+=A,f.delay=0),h.to(y,f,_?_(d,y,B):0),h._ease=ze.none;h.duration()?T=A=0:u.timeline=0}else if(P){z(C(h.vars.defaults,{ease:"none"})),h._ease=De(P.ease||n.ease||"none");var R,F,N,j=0;if(Qt(P))P.forEach(function(t){return h.to(B,t,">")});else{for(v in f={},P)"ease"===v||"easeEach"===v||Ze(v,P[v],f,P.easeEach);for(v in f)for(R=f[v].sort(function(t,e){return t.t-e.t}),d=j=0;d<R.length;d++)(N={ease:(F=R[d]).e,duration:(F.t-(d?R[d-1].t:0))/100*T})[v]=F.v,h.to(B,N,j),j+=N.duration;h.duration()<T&&h.to({},{duration:T-h.duration()})}}T||u.duration(T=h.duration())}else u.timeline=0;return!0!==M||mt||($e=i(u),gt.killTweensOf(B),$e=0),H(D,i(u),o),n.reversed&&u.reverse(),n.paused&&u.paused(!0),(S||!T&&!P&&u._start===b(D._time)&&l(S)&&function t(e){return!e||e._ts&&t(e.parent)}(i(u))&&"nested"!==D.data)&&(u._tTime=-Zt,u.render(Math.max(0,-A))),I&&W(i(u),I),u}e(o,t);var s=o.prototype;return s.render=function(t,e,i){var n,o,r,s,a,l,u,c,h,d=this._time,p=this._tDur,f=this._dur,m=p-Zt<t&&0<=t?p:t<Zt?0:t;if(f){if(m!==this._tTime||!t||i||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=t<0){if(n=m,c=this.timeline,this._repeat){if(s=f+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*s+t,e,i);if(n=b(m%s),m===p?(r=this._repeat,n=f):((r=~~(m/s))&&r===m/s&&(n=f,r--),f<n&&(n=f)),(l=this._yoyo&&1&r)&&(h=this._yEase,n=f-n),a=ge(this._tTime,s),n===d&&!i&&this._initted)return this._tTime=m,this;r!==a&&(c&&this._yEase&&ct(c,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=i=1,this.render(b(s*r),!0).invalidate()._lock=0))}if(!this._initted){if(q(this,t<0?t:n,i,e))return this._tTime=0,this;if(d!==this._time)return this;if(f!==this._dur)return this.render(t,e,i)}if(this._tTime=m,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=u=(h||this._ease)(n/f),this._from&&(this.ratio=u=1-u),n&&!d&&!e&&(Ae(this,"onStart"),this._tTime!==m))return this;for(o=this._pt;o;)o.r(u,o.d),o=o._next;c&&c.render(t<0?t:!n&&l?-Zt:c._dur*c._ease(n/this._dur),e,i)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,i),Ae(this,"onUpdate")),this._repeat&&r!==a&&this.vars.onRepeat&&!e&&this.parent&&Ae(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),!t&&f||!(m===this._tDur&&0<this._ts||!m&&this._ts<0)||O(this,1),e||t<0&&!d||!m&&!d||(Ae(this,m===p?"onComplete":"onReverseComplete",!0),!this._prom||m<p&&0<this.timeScale()||this._prom()))}}else!function(t,e,i,n){var o,r,s,a=t.ratio,l=e<0||!e&&(!t._start&&function t(e){var i=e.parent;return i&&i._ts&&i._initted&&!i._lock&&(i.rawTime()<0||t(i))}(t)&&(t._initted||!ve(t))||(t._ts<0||t._dp._ts<0)&&!ve(t))?0:1,u=t._rDelay,c=0;if(u&&t._repeat&&(c=we(0,t._tDur,e),r=ge(c,u),t._yoyo&&1&r&&(l=1-l),r!==ge(t._tTime,u)&&(a=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==a||n||t._zTime===Zt||!e&&t._zTime){if(!t._initted&&q(t,e,n,i))return;for(s=t._zTime,t._zTime=e||(i?Zt:0),i=i||e&&!s,t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=c,o=t._pt;o;)o.r(l,o.d),o=o._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!i&&Ae(t,"onUpdate"),c&&t._repeat&&!i&&t.parent&&Ae(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&O(t,1),i||(Ae(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,i);return this},s.targets=function(){return this._targets},s.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),t.prototype.invalidate.call(this)},s.resetTo=function(t,e,i,n){At||Pe.wake(),this._ts||this.play();var o=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Ue(this,o),function(t,e,i,n,o,r,s){var a,l,u,c=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!c)for(c=t._ptCache[e]=[],l=t._ptLookup,u=t._targets.length;u--;){if((a=l[u][e])&&a.d&&a.d._pt)for(a=a.d._pt;a&&a.p!==e;)a=a._next;if(!a)return Ge=1,t.vars[e]="+=0",Ue(t,s),Ge=0,1;c.push(a)}for(u=c.length;u--;)(a=c[u]).s=!n&&0!==n||o?a.s+(n||0)+r*a.c:n,a.c=i-a.s,a.e&&(a.e=w(i)+U(a.e)),a.b&&(a.b=a.s+U(a.b))}(this,t,e,i,n,this._ease(o/this._dur),o)?this.resetTo(t,e,i,n):(N(this,0),this.parent||k(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},s.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?ot(this):this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,$e&&!0!==$e.vars.overwrite)._first||ot(this),this.parent&&i!==this.timeline.totalDuration()&&Z(this,this._dur*this.timeline._tDur/i,0,1),this}var o,r,s,a,l,u,c,h=this._targets,d=t?xe(t):h,p=this._ptLookup,f=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}(h,d))return"all"===e&&(this._pt=0),ot(this);for(o=this._op=this._op||[],"all"!==e&&(n(e)&&(l={},_(e,function(t){return l[t]=1}),e=l),e=function(t,e){var i,n,o,r,s=t[0]?v(t[0]).harness:0,a=s&&s.aliases;if(!a)return e;for(n in i=me({},e),a)if(n in i)for(o=(r=a[n].split(",")).length;o--;)i[r[o]]=i[n];return i}(h,e)),c=h.length;c--;)if(~d.indexOf(h[c]))for(l in r=p[c],"all"===e?(o[c]=e,a=r,s={}):(s=o[c]=o[c]||{},a=e),a)(u=r&&r[l])&&("kill"in u.d&&!0!==u.d.kill(l)||I(this,u,"_pt"),delete r[l]),"all"!==s&&(s[l]=1);return this._initted&&!this._pt&&f&&ot(this),this},o.to=function(t,e,i){return new o(t,e,i)},o.from=function(t,e){return G(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 G(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 gt.killTweensOf(t,e,i)},o}(je);function Je(t,e,i){return t.setAttribute(e,i)}function ti(t,e,i,n){n.mSet(t,e,n.m.call(n.tween,i,n.mt),n)}C(Qe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),_("staggerTo,staggerFrom,staggerFromTo",function(t){Qe[t]=function(){var e=new We,i=be.call(arguments,0);return i.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,i)}});var ei=function(t,e,i){return t[e]=i},ii=function(t,e,i){return t[e](i)},ni=function(t,e,i,n){return t[e](n.fp,i)},oi=function(t,e){return o(t[e])?ii:s(t[e])&&t.setAttribute?Je:ei},ri=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},si=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ai=function(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)},li=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},ui=function(t,e,i,n){for(var o,r=this._pt;r;)o=r._next,r.p===n&&r.modifier(t,e,i),r=o},ci=function(t){for(var e,i,n=this._pt;n;)i=n._next,n.p===t&&!n.op||n.op===t?I(this,n,"_pt"):n.dep||(e=1),n=i;return!e},hi=function(t){for(var e,i,n,o,r=t._pt;r;){for(e=r._next,i=n;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:o)?r._prev._next=r:n=r,(r._next=i)?i._prev=r:o=r,r=e}t._pt=n},di=(pi.prototype.modifier=function(t,e,i){this.mSet=this.mSet||this.set,this.set=ti,this.m=t,this.mt=i,this.tween=e},pi);function pi(t,e,i,n,o,r,s,a,l){this.t=e,this.s=n,this.c=o,this.p=i,this.r=r||ri,this.d=s||this,this.set=a||ei,this.pr=l||0,(this._next=t)&&(t._prev=this)}_(fe+"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 ae[t]=1}),se.TweenMax=se.TweenLite=Qe,se.TimelineLite=se.TimelineMax=We,gt=new We({sortChildren:!1,defaults:Wt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Ht.stringFilter=ut;var fi={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(t){return function(t){var e=(t=!t.name&&t.default||t).name,i=o(t),n=e&&!i&&t.init?function(){this._props=[]}:t,r={init:m,render:li,add:Ve,kill:ci,modifier:ui,rawVars:0},s={targetTest:0,get:0,getSetter:oi,aliases:{},register:0};if(Le(),t!==n){if(ce[e])return;C(n,C(L(t,r),s)),me(n.prototype,me(r,L(t,s))),ce[n.prop=e]=n,t.targetTest&&(pe.push(n),ae[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}f(e,n),t.register&&t.register(vi,n,di)}(t)})},timeline:function(t){return new We(t)},getTweensOf:function(t,e){return gt.getTweensOf(t,e)},getProperty:function(t,e,i,o){n(t)&&(t=xe(t)[0]);var r=v(t||{}).get,s=i?M:E;return"native"===i&&(i=""),t?e?s((ce[e]&&ce[e].get||r)(t,e,i,o)):function(e,i,n){return s((ce[e]&&ce[e].get||r)(t,e,i,n))}:t},quickSetter:function(t,e,i){if(1<(t=xe(t)).length){var n=t.map(function(t){return vi.quickSetter(t,e,i)}),o=n.length;return function(t){for(var e=o;e--;)n[e](t)}}t=t[0]||{};var r=ce[e],s=v(t),a=s.harness&&(s.harness.aliases||{})[e]||e,l=r?function(e){var n=new r;Tt._pt=0,n.init(t,i?e+i:e,Tt,0,[t]),n.render(1,n),Tt._pt&&li(1,Tt)}:s.set(t,a);return r?l:function(e){return l(t,a,i?e+i:e,s,1)}},quickTo:function(t,e,i){function n(t,i,n){return r.resetTo(e,t,i,n)}var o,r=vi.to(t,me(((o={})[e]="+=0.1",o.paused=!0,o),i||{}));return n.tween=r,n},isTweening:function(t){return 0<gt.getTweensOf(t,!0).length},defaults:function(t){return t&&t.ease&&(t.ease=De(t.ease,Wt.ease)),P(Wt,t||{})},config:function(t){return P(Ht,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,n=t.plugins,o=t.defaults,r=t.extendTimeline;(n||"").split(",").forEach(function(t){return t&&!ce[t]&&!se[t]&&p(e+" effect requires "+t+" plugin.")}),he[e]=function(t,e,n){return i(xe(t),C(e||{},o),n)},r&&(We.prototype[e]=function(t,i,n){return this.add(he[e](t,a(i)?i:(n=i)&&{},this),n)})},registerEase:function(t,e){ze[t]=De(e)},parseEase:function(t,e){return arguments.length?De(t,e):ze},getById:function(t){return gt.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var i,n,o=new We(t);for(o.smoothChildTiming=l(t.smoothChildTiming),gt.remove(o),o._dp=0,o._time=o._tTime=gt._time,i=gt._first;i;)n=i._next,!e&&!i._dur&&i instanceof Qe&&i.vars.onComplete===i._targets[0]||H(o,i,i._start-i._delay),i=n;return H(gt,o,0),o},utils:{wrap:function t(e,i,n){var o=i-e;return Qt(e)?et(e,t(0,e.length),i):V(n,function(t){return(o+(t-e)%o)%o+e})},wrapYoyo:function t(e,i,n){var o=i-e,r=2*o;return Qt(e)?et(e,t(0,e.length-1),i):V(n,function(t){return e+(o<(t=(r+(t-e)%r)%r||0)?r-t:t)})},distribute:K,random:tt,snap:J,normalize:function(t,e,i){return Te(t,e,0,1,i)},getUnit:U,clamp:function(t,e,i){return V(i,function(i){return we(t,e,i)})},splitColor:st,toArray:xe,selector:function(t){return t=xe(t)[0]||p("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return xe(e,i.querySelectorAll?i:i===t?p("Invalid scope")||_t.createElement("div"):t)}},mapRange:Te,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(t,e){return function(i){return t(parseFloat(i))+(e||U(i))}},interpolate:function t(e,i,o,r){var s=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!s){var a,l,u,c,h,d=n(e),p={};if(!0===o&&(r=1)&&(o=null),d)e={p:e},i={p:i};else if(Qt(e)&&!Qt(i)){for(u=[],c=e.length,h=c-2,l=1;l<c;l++)u.push(t(e[l-1],e[l]));c--,s=function(t){t*=c;var e=Math.min(h,~~t);return u[e](t-e)},o=i}else r||(e=me(Qt(e)?[]:{},e));if(!u){for(a in i)Ve.call(p,e,a,"get",i[a]);s=function(t){return li(t,p)||(d?e.p:e)}}}return V(o,s)},shuffle:X},install:h,effects:he,ticker:Pe,updateRoot:We.updateRoot,plugins:ce,globalTimeline:gt,core:{PropTween:di,globals:f,Tween:Qe,Timeline:We,Animation:je,getCache:v,_removeLinkedListItem:I,suppressOverwrites:function(t){return mt=t}}};function mi(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i}function gi(t,e){return{name:t,rawVars:1,init:function(t,i,o){o._onInit=function(t){var o,r;if(n(i)&&(o={},_(i,function(t){return o[t]=1}),i=o),e){for(r in o={},i)o[r]=e(i[r]);i=o}!function(t,e){var i,n,o,r=t._targets;for(i in e)for(n=r.length;n--;)(o=(o=t._ptLookup[n][i])&&o.d)&&(o._pt&&(o=mi(o,i)),o&&o.modifier&&o.modifier(e[i],t,r[n],i))}(t,i)}}}}_("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return fi[t]=Qe[t]}),Pe.add(We.updateRoot),Tt=fi.to({},{duration:0});var vi=fi.registerPlugin({name:"attr",init:function(t,e,i,n,o){var r,s;for(r in e)(s=this.add(t,"setAttribute",(t.getAttribute(r)||0)+"",e[r],n,o,0,0,r))&&(s.op=r),this._props.push(r)}},{name:"endArray",init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i])}},gi("roundProps",Q),gi("modifiers"),gi("snap",J))||fi;function yi(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function _i(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 wi(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 bi(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)}function xi(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function Ti(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function Ai(t,e,i){return t.style[e]=i}function Si(t,e,i){return t.style.setProperty(e,i)}function Ei(t,e,i){return t._gsap[e]=i}function Mi(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i}function Ci(t,e,i,n,o){var r=t._gsap;r.scaleX=r.scaleY=i,r.renderTransform(o,r)}function Pi(t,e,i,n,o){var r=t._gsap;r[e]=i,r.renderTransform(o,r)}function Li(t,e){var i=Ji.createElementNS?Ji.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ji.createElement(t);return i.style?i:Ji.createElement(t)}function zi(t,e,i){var n=getComputedStyle(t);return n[e]||n.getPropertyValue(e.replace(Cn,"-$1").toLowerCase())||n.getPropertyValue(e)||!i&&zi(t,Dn(e)||e,1)||""}function ki(){"undefined"!=typeof window&&window.document&&(Qi=window,Ji=Qi.document,tn=Ji.documentElement,nn=Li("div")||{style:{}},Li("div"),kn=Dn(kn),In=kn+"Origin",nn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",rn=!!Dn("perspective"),en=1)}function Ii(t){var e,i=Li("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,o=this.nextSibling,r=this.style.cssText;if(tn.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)),tn.removeChild(i),this.style.cssText=r,e}function Oi(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])}function Di(t){var e;try{e=t.getBBox()}catch(l){e=Ii.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Ii||(e=Ii.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+Oi(t,["x","cx","x1"])||0,y:+Oi(t,["y","cy","y1"])||0,width:0,height:0}}function Bi(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Di(t))}function Ri(t,e){if(e){var i=t.style;e in An&&e!==In&&(e=kn),i.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),i.removeProperty(e.replace(Cn,"-$1").toLowerCase())):i.removeAttribute(e)}}function Fi(t,e,i,n,o,r){var s=new di(t._pt,e,i,0,1,r?Ti:xi);return(t._pt=s).b=n,s.e=o,t._props.push(i),s}function Ni(t,e,i,n){var o,r,s,a,l=parseFloat(i)||0,u=(i+"").trim().substr((l+"").length)||"px",c=nn.style,h=Pn.test(e),d="svg"===t.tagName.toLowerCase(),p=(d?"client":"offset")+(h?"Width":"Height"),f="px"===n,m="%"===n;return n===u||!l||Bn[n]||Bn[u]?l:("px"===u||f||(l=Ni(t,e,i,"px")),a=t.getCTM&&Bi(t),!m&&"%"!==u||!An[e]&&!~e.indexOf("adius")?(c[h?"width":"height"]=100+(f?u:n),r=~e.indexOf("adius")||"em"===n&&t.appendChild&&!d?t:t.parentNode,a&&(r=(t.ownerSVGElement||{}).parentNode),r&&r!==Ji&&r.appendChild||(r=Ji.body),(s=r._gsap)&&m&&s.width&&h&&s.time===Pe.time?w(l/s.width*100):(!m&&"%"!==u||(c.position=zi(t,"position")),r===t&&(c.position="static"),r.appendChild(nn),o=nn[p],r.removeChild(nn),c.position="absolute",h&&m&&((s=v(r)).time=Pe.time,s.width=r[p]),w(f?o*l/100:o&&l?100/o*l:0))):(o=a?t.getBBox()[h?"width":"height"]:t[p],w(m?l/o*100:l/100*o)))}function ji(t,e,i,n){var o;return en||ki(),e in zn&&"transform"!==e&&~(e=zn[e]).indexOf(",")&&(e=e.split(",")[0]),An[e]&&"transform"!==e?(o=Hn(t,n),o="transformOrigin"!==e?o[e]:o.svg?o.origin:Wn(zi(t,In))+" "+o.zOrigin+"px"):(o=t.style[e])&&"auto"!==o&&!n&&!~(o+"").indexOf("calc(")||(o=Fn[e]&&Fn[e](t,e,i)||zi(t,e)||y(t,e)||("opacity"===e?1:0)),i&&!~(o+"").trim().indexOf(" ")?Ni(t,e,o,i)+i:o}function Hi(t,e,i,n){if(!i||"none"===i){var o=Dn(e,t,1),r=o&&zi(t,o,1);r&&r!==i?(e=o,i=r):"borderColor"===e&&(i=zi(t,"borderTopColor"))}var s,a,l,u,c,h,d,p,f,m,g,v=new di(this._pt,t.style,e,0,1,ai),y=0,_=0;if(v.b=i,v.e=n,i+="","auto"==(n+="")&&(t.style[e]=n,n=zi(t,e)||n,t.style[e]=i),ut(s=[i,n]),n=s[1],l=(i=s[0]).match(ee)||[],(n.match(ee)||[]).length){for(;a=ee.exec(n);)d=a[0],f=n.substring(y,a.index),c?c=(c+1)%5:"rgba("!==f.substr(-5)&&"hsla("!==f.substr(-5)||(c=1),d!==(h=l[_++]||"")&&(u=parseFloat(h)||0,g=h.substr((u+"").length),"="===d.charAt(1)&&(d=x(u,d)+g),p=parseFloat(d),m=d.substr((p+"").length),y=ee.lastIndex-m.length,m||(m=m||Ht.units[e]||g,y===n.length&&(n+=m,v.e+=m)),g!==m&&(u=Ni(t,e,h,m)||0),v._pt={_next:v._pt,p:f||1===_?f:",",s:u,c:p-u,m:c&&c<4||"zIndex"===e?Math.round:0});v.c=y<n.length?n.substring(y,n.length):""}else v.r="display"===e&&"none"===n?Ti:xi;return ne.test(n)&&(v.e=0),this._pt=v}function Wi(t){var e=t.split(" "),i=e[0],n=e[1]||"50%";return"top"!==i&&"bottom"!==i&&"left"!==n&&"right"!==n||(t=i,i=n,n=t),e[0]=Rn[i]||i,e[1]=Rn[n]||n,e.join(" ")}function qi(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i,n,o,r=e.t,s=r.style,a=e.u,l=r._gsap;if("all"===a||!0===a)s.cssText="",n=1;else for(o=(a=a.split(",")).length;-1<--o;)i=a[o],An[i]&&(n=1,i="transformOrigin"===i?In:kn),Ri(r,i);n&&(Ri(r,kn),l&&(l.svg&&r.removeAttribute("transform"),Hn(r,1),l.uncache=1))}}function Zi(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t}function $i(t){var e=zi(t,kn);return Zi(e)?Nn:e.substr(7).match(te).map(w)}function Gi(t,e){var i,n,o,r,s=t._gsap||v(t),a=t.style,l=$i(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(o=t.transform.baseVal.consolidate().matrix).a,o.b,o.c,o.d,o.e,o.f]).join(",")?Nn:l:(l!==Nn||t.offsetParent||t===tn||s.svg||(o=a.display,a.display="block",(i=t.parentNode)&&t.offsetParent||(r=1,n=t.nextSibling,tn.appendChild(t)),l=$i(t),o?a.display=o:Ri(t,"display"),r&&(n?i.insertBefore(t,n):i?i.appendChild(t):tn.removeChild(t))),e&&6<l.length?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)}function Vi(t,e,i,n,o,r){var s,a,l,u=t._gsap,c=o||Gi(t,!0),h=u.xOrigin||0,d=u.yOrigin||0,p=u.xOffset||0,f=u.yOffset||0,m=c[0],g=c[1],v=c[2],y=c[3],_=c[4],w=c[5],b=e.split(" "),x=parseFloat(b[0])||0,T=parseFloat(b[1])||0;i?c!==Nn&&(a=m*y-g*v)&&(l=x*(-g/a)+T*(m/a)-(m*w-g*_)/a,x=x*(y/a)+T*(-v/a)+(v*w-y*_)/a,T=l):(x=(s=Di(t)).x+(~b[0].indexOf("%")?x/100*s.width:x),T=s.y+(~(b[1]||b[0]).indexOf("%")?T/100*s.height:T)),n||!1!==n&&u.smooth?(_=x-h,w=T-d,u.xOffset=p+(_*m+w*v)-_,u.yOffset=f+(_*g+w*y)-w):u.xOffset=u.yOffset=0,u.xOrigin=x,u.yOrigin=T,u.smooth=!!n,u.origin=e,u.originIsAbsolute=!!i,t.style[In]="0px 0px",r&&(Fi(r,u,"xOrigin",h,x),Fi(r,u,"yOrigin",d,T),Fi(r,u,"xOffset",p,u.xOffset),Fi(r,u,"yOffset",f,u.yOffset)),t.setAttribute("data-svg-origin",x+" "+T)}function Ui(t,e,i){var n=U(e);return w(parseFloat(e)+parseFloat(Ni(t,"x",i+"px",n)))+n}function Yi(t,e,i,o,r){var s,a,l=360,u=n(r),c=parseFloat(r)*(u&&~r.indexOf("rad")?Sn:1)-o,h=o+c+"deg";return u&&("short"===(s=r.split("_")[1])&&(c%=l)!==c%180&&(c+=c<0?l:-l),"cw"===s&&c<0?c=(c+36e9)%l-~~(c/l)*l:"ccw"===s&&0<c&&(c=(c-36e9)%l-~~(c/l)*l)),t._pt=a=new di(t._pt,e,i,o,c,_i),a.e=h,a.u="deg",t._props.push(i),a}function Xi(t,e){for(var i in e)t[i]=e[i];return t}function Ki(t,e,i){var n,o,r,s,a,l,u,c=Xi({},i._gsap),h=i.style;for(o in c.svg?(r=i.getAttribute("transform"),i.setAttribute("transform",""),h[kn]=e,n=Hn(i,1),Ri(i,kn),i.setAttribute("transform",r)):(r=getComputedStyle(i)[kn],h[kn]=e,n=Hn(i,1),h[kn]=r),An)(r=c[o])!==(s=n[o])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(o)<0&&(a=U(r)!==(u=U(s))?Ni(i,o,r,u):parseFloat(r),l=parseFloat(s),t._pt=new di(t._pt,n,o,a,l-a,yi),t._pt.u=u||0,t._props.push(o));Xi(n,c)}Qe.version=We.version=vi.version="3.10.4",bt=1,u()&&Le();var Qi,Ji,tn,en,nn,on,rn,sn=ze.Power0,an=ze.Power1,ln=ze.Power2,un=ze.Power3,cn=ze.Power4,hn=ze.Linear,dn=ze.Quad,pn=ze.Cubic,fn=ze.Quart,mn=ze.Quint,gn=ze.Strong,vn=ze.Elastic,yn=ze.Back,_n=ze.SteppedEase,wn=ze.Bounce,bn=ze.Sine,xn=ze.Expo,Tn=ze.Circ,An={},Sn=180/Math.PI,En=Math.PI/180,Mn=Math.atan2,Cn=/([A-Z])/g,Pn=/(left|right|width|margin|padding|x)/i,Ln=/[\s,\(]\S/,zn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},kn="transform",In=kn+"Origin",On="O,Moz,ms,Ms,Webkit".split(","),Dn=function(t,e,i){var n=(e||nn).style,o=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);o--&&!(On[o]+t in n););return o<0?null:(3===o?"ms":0<=o?On[o]:"")+t},Bn={deg:1,rad:1,turn:1},Rn={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Fn={clearProps:function(t,e,i,n,o){if("isFromStart"!==o.data){var r=t._pt=new di(t._pt,e,i,0,0,qi);return r.u=n,r.pr=-10,r.tween=o,t._props.push(i),1}}},Nn=[1,0,0,1,0,0],jn={},Hn=function(t,e){var i=t._gsap||new Ne(t);if("x"in i&&!e&&!i.uncache)return i;var n,o,r,s,a,l,u,c,h,d,p,f,m,g,v,y,_,b,x,T,A,S,E,M,C,P,L,z,k,I,O,D,B=t.style,R=i.scaleX<0,F="deg",N=zi(t,In)||"0";return n=o=r=l=u=c=h=d=p=0,s=a=1,i.svg=!(!t.getCTM||!Bi(t)),g=Gi(t,i.svg),i.svg&&(M=(!i.uncache||"0px 0px"===N)&&!e&&t.getAttribute("data-svg-origin"),Vi(t,M||N,!!M||i.originIsAbsolute,!1!==i.smooth,g)),f=i.xOrigin||0,m=i.yOrigin||0,g!==Nn&&(b=g[0],x=g[1],T=g[2],A=g[3],n=S=g[4],o=E=g[5],6===g.length?(s=Math.sqrt(b*b+x*x),a=Math.sqrt(A*A+T*T),l=b||x?Mn(x,b)*Sn:0,(h=T||A?Mn(T,A)*Sn+l:0)&&(a*=Math.abs(Math.cos(h*En))),i.svg&&(n-=f-(f*b+m*T),o-=m-(f*x+m*A))):(D=g[6],I=g[7],L=g[8],z=g[9],k=g[10],O=g[11],n=g[12],o=g[13],r=g[14],u=(v=Mn(D,k))*Sn,v&&(M=S*(y=Math.cos(-v))+L*(_=Math.sin(-v)),C=E*y+z*_,P=D*y+k*_,L=S*-_+L*y,z=E*-_+z*y,k=D*-_+k*y,O=I*-_+O*y,S=M,E=C,D=P),c=(v=Mn(-T,k))*Sn,v&&(y=Math.cos(-v),O=A*(_=Math.sin(-v))+O*y,b=M=b*y-L*_,x=C=x*y-z*_,T=P=T*y-k*_),l=(v=Mn(x,b))*Sn,v&&(M=b*(y=Math.cos(v))+x*(_=Math.sin(v)),C=S*y+E*_,x=x*y-b*_,E=E*y-S*_,b=M,S=C),u&&359.9<Math.abs(u)+Math.abs(l)&&(u=l=0,c=180-c),s=w(Math.sqrt(b*b+x*x+T*T)),a=w(Math.sqrt(E*E+D*D)),v=Mn(S,E),h=2e-4<Math.abs(v)?v*Sn:0,p=O?1/(O<0?-O:O):0),i.svg&&(M=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Zi(zi(t,kn)),M&&t.setAttribute("transform",M))),90<Math.abs(h)&&Math.abs(h)<270&&(R?(s*=-1,h+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,h+=h<=0?180:-180)),e=e||i.uncache,i.x=n-((i.xPercent=n&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+"px",i.y=o-((i.yPercent=o&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-o)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+"px",i.z=r+"px",i.scaleX=w(s),i.scaleY=w(a),i.rotation=w(l)+F,i.rotationX=w(u)+F,i.rotationY=w(c)+F,i.skewX=h+F,i.skewY=d+F,i.transformPerspective=p+"px",(i.zOrigin=parseFloat(N.split(" ")[2])||0)&&(B[In]=Wn(N)),i.xOffset=i.yOffset=0,i.force3D=Ht.force3D,i.renderTransform=i.svg?Un:rn?Vn:qn,i.uncache=0,i},Wn=function(t){return(t=t.split(" "))[0]+" "+t[1]},qn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Vn(t,e)},Zn="0deg",$n="0px",Gn=") ",Vn=function(t,e){var i=e||this,n=i.xPercent,o=i.yPercent,r=i.x,s=i.y,a=i.z,l=i.rotation,u=i.rotationY,c=i.rotationX,h=i.skewX,d=i.skewY,p=i.scaleX,f=i.scaleY,m=i.transformPerspective,g=i.force3D,v=i.target,y=i.zOrigin,_="",w="auto"===g&&t&&1!==t||!0===g;if(y&&(c!==Zn||u!==Zn)){var b,x=parseFloat(u)*En,T=Math.sin(x),A=Math.cos(x);x=parseFloat(c)*En,r=Ui(v,r,T*(b=Math.cos(x))*-y),s=Ui(v,s,-Math.sin(x)*-y),a=Ui(v,a,A*b*-y+y)}m!==$n&&(_+="perspective("+m+Gn),(n||o)&&(_+="translate("+n+"%, "+o+"%) "),!w&&r===$n&&s===$n&&a===$n||(_+=a!==$n||w?"translate3d("+r+", "+s+", "+a+") ":"translate("+r+", "+s+Gn),l!==Zn&&(_+="rotate("+l+Gn),u!==Zn&&(_+="rotateY("+u+Gn),c!==Zn&&(_+="rotateX("+c+Gn),h===Zn&&d===Zn||(_+="skew("+h+", "+d+Gn),1===p&&1===f||(_+="scale("+p+", "+f+Gn),v.style[kn]=_||"translate(0, 0)"},Un=function(t,e){var i,n,o,r,s,a=e||this,l=a.xPercent,u=a.yPercent,c=a.x,h=a.y,d=a.rotation,p=a.skewX,f=a.skewY,m=a.scaleX,g=a.scaleY,v=a.target,y=a.xOrigin,_=a.yOrigin,b=a.xOffset,x=a.yOffset,T=a.forceCSS,A=parseFloat(c),S=parseFloat(h);d=parseFloat(d),p=parseFloat(p),(f=parseFloat(f))&&(p+=f=parseFloat(f),d+=f),d||p?(d*=En,p*=En,i=Math.cos(d)*m,n=Math.sin(d)*m,o=Math.sin(d-p)*-g,r=Math.cos(d-p)*g,p&&(f*=En,s=Math.tan(p-f),o*=s=Math.sqrt(1+s*s),r*=s,f&&(s=Math.tan(f),i*=s=Math.sqrt(1+s*s),n*=s)),i=w(i),n=w(n),o=w(o),r=w(r)):(i=m,r=g,n=o=0),(A&&!~(c+"").indexOf("px")||S&&!~(h+"").indexOf("px"))&&(A=Ni(v,"x",c,"px"),S=Ni(v,"y",h,"px")),(y||_||b||x)&&(A=w(A+y-(y*i+_*o)+b),S=w(S+_-(y*n+_*r)+x)),(l||u)&&(A=w(A+l/100*(s=v.getBBox()).width),S=w(S+u/100*s.height)),s="matrix("+i+","+n+","+o+","+r+","+A+","+S+")",v.setAttribute("transform",s),T&&(v.style[kn]=s)};_("padding,margin,Width,Radius",function(t,e){var i="Right",n="Bottom",o="Left",r=(e<3?["Top",i,n,o]:["Top"+o,"Top"+i,n+i,n+o]).map(function(i){return e<2?t+i:"border"+i+t});Fn[1<e?"border"+t:t]=function(t,e,i,n,o){var s,a;if(arguments.length<4)return s=r.map(function(e){return ji(t,e,i)}),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(n+"").split(" "),a={},r.forEach(function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]}),t.init(e,a,o)}});var Yn,Xn,Kn={name:"css",register:ki,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,o,r){var s,a,l,u,c,h,p,f,m,g,v,y,_,w,b,T=this._props,A=t.style,S=i.vars.startAt;for(p in en||ki(),e)if("autoRound"!==p&&(a=e[p],!ce[p]||!qe(p,e,i,o,t,r)))if(c=typeof a,h=Fn[p],"function"===c&&(c=typeof(a=a.call(i,o,t,r))),"string"===c&&~a.indexOf("random(")&&(a=it(a)),h)h(this,t,p,a,i)&&(b=1);else if("--"===p.substr(0,2))s=(getComputedStyle(t).getPropertyValue(p)+"").trim(),a+="",Me.lastIndex=0,Me.test(s)||(f=U(s),m=U(a)),m?f!==m&&(s=Ni(t,p,s,m)+m):f&&(a+=f),this.add(A,"setProperty",s,a,o,r,0,0,p),T.push(p);else if("undefined"!==c){if(S&&p in S?(n(s="function"==typeof S[p]?S[p].call(i,o,t,r):S[p])&&~s.indexOf("random(")&&(s=it(s)),U(s+"")||(s+=Ht.units[p]||U(ji(t,p))||""),"="===(s+"").charAt(1)&&(s=ji(t,p))):s=ji(t,p),u=parseFloat(s),(g="string"===c&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),l=parseFloat(a),p in zn&&("autoAlpha"===p&&(1===u&&"hidden"===ji(t,"visibility")&&l&&(u=0),Fi(this,A,"visibility",u?"inherit":"hidden",l?"inherit":"hidden",!l)),"scale"!==p&&"transform"!==p&&~(p=zn[p]).indexOf(",")&&(p=p.split(",")[0])),v=p in An)if(y||((_=t._gsap).renderTransform&&!e.parseTransform||Hn(t,e.parseTransform),w=!1!==e.smoothOrigin&&_.smooth,(y=this._pt=new di(this._pt,A,kn,0,1,_.renderTransform,_,0,-1)).dep=1),"scale"===p)this._pt=new di(this._pt,_,"scaleY",_.scaleY,(g?x(_.scaleY,g+l):l)-_.scaleY||0),T.push("scaleY",p),p+="X";else{if("transformOrigin"===p){a=Wi(a),_.svg?Vi(t,a,0,w,0,this):((m=parseFloat(a.split(" ")[2])||0)!==_.zOrigin&&Fi(this,_,"zOrigin",_.zOrigin,m),Fi(this,A,p,Wn(s),Wn(a)));continue}if("svgOrigin"===p){Vi(t,a,1,w,0,this);continue}if(p in jn){Yi(this,_,p,u,g?x(u,g+a):a);continue}if("smoothOrigin"===p){Fi(this,_,"smooth",_.smooth,a);continue}if("force3D"===p){_[p]=a;continue}if("transform"===p){Ki(this,a,t);continue}}else p in A||(p=Dn(p)||p);if(v||(l||0===l)&&(u||0===u)&&!Ln.test(a)&&p in A)l=l||0,(f=(s+"").substr((u+"").length))!==(m=U(a)||(p in Ht.units?Ht.units[p]:f))&&(u=Ni(t,p,s,m)),this._pt=new di(this._pt,v?_:A,p,u,(g?x(u,g+l):l)-u,v||"px"!==m&&"zIndex"!==p||!1===e.autoRound?yi:bi),this._pt.u=m||0,f!==m&&"%"!==m&&(this._pt.b=s,this._pt.r=wi);else if(p in A)Hi.call(this,t,p,s,g?g+a:a);else{if(!(p in t)){d(p,a);continue}this.add(t,p,s||t[p],g?g+a:a,o,r)}T.push(p)}b&&hi(this)},get:ji,aliases:zn,getSetter:function(t,e,i){var n=zn[e];return n&&n.indexOf(",")<0&&(e=n),e in An&&e!==In&&(t._gsap.x||ji(t,"x"))?i&&on===i?"scale"===e?Mi:Ei:(on=i||{})&&("scale"===e?Ci:Pi):t.style&&!s(t.style[e])?Ai:~e.indexOf("-")?Si:oi(t,e)},core:{_removeProperty:Ri,_getMatrix:Gi}};vi.utils.checkPrefix=Dn,Xn=_("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(Yn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){An[t]=1}),_(Yn,function(t){Ht.units[t]="deg",jn[t]=1}),zn[Xn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+Yn,_("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");zn[e[1]]=Xn[e[0]]}),_("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Ht.units[t]="px"}),vi.registerPlugin(Kn);var Qn=vi.registerPlugin(Kn)||vi,Jn=Qn.core.Tween;t.Back=yn,t.Bounce=wn,t.CSSPlugin=Kn,t.Circ=Tn,t.Cubic=pn,t.Elastic=vn,t.Expo=xn,t.Linear=hn,t.Power0=sn,t.Power1=an,t.Power2=ln,t.Power3=un,t.Power4=cn,t.Quad=dn,t.Quart=fn,t.Quint=mn,t.Sine=bn,t.SteppedEase=_n,t.Strong=gn,t.TimelineLite=We,t.TimelineMax=We,t.TweenLite=Qe,t.TweenMax=Jn,t.default=Qn,t.gsap=Qn,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),function(t){var e="panr",i={sensitivity:20,scale:!1,scaleOnHover:!0,scaleTo:1.1,scaleDuration:.25,panY:!0,panX:!0,panDuration:0,resetPanOnMouseLeave:!1,onEnter:function(){},onLeave:function(){}};function n(n,o){this.element=n,this.settings=t.extend({},i,o),this._defaults=i,this._name=e,this.init()}n.prototype={init:function(){var e,i,n,o,r,s,a=this.settings,l=t(this.element),u=l.width(),c=(l.height(),l.width()-a.sensitivity),h=(u-c)/c;(a.scale||!a.scaleOnHover&&a.scale)&&TweenMax.set(l.find("img, video, .wd-block-banner-img"),{scale:a.scaleTo}),"string"==typeof a.moveTarget&&(a.moveTarget=t(this.element).parent(a.moveTarget)),a.moveTarget||(a.moveTarget=t(this.element)),a.moveTarget.on("mousemove",function(s){e=s.pageX-l.offset().left,i=s.pageY-l.offset().top,a.panX&&(o={x:-h*e}),a.panY&&(r={y:-h*i}),n=t.extend({},o,r),TweenMax.to(l.find("img, video, .wd-block-banner-img"),a.panDuration,n)}),a.moveTarget.on("mouseenter",function(t){a.scaleOnHover&&TweenMax.to(l.find("img, video, .wd-block-banner-img"),a.scaleDuration,{scale:a.scaleTo}),a.onEnter(l)}),a.scale&&(a.scaleOnHover||a.scale)?a.resetPanOnMouseLeave&&(s={x:0,y:0}):s={scale:1,x:0,y:0},a.moveTarget.on("mouseleave",function(t){var e=a.scaleDuration+.2;TweenMax.to(l.find("img, .banner-image video, .wd-block-banner-img"),e,s),a.onLeave(l)})}},t.fn[e]=function(i){return this.each(function(){t.data(this,"plugin_"+e)||t.data(this,"plugin_"+e,new n(this,i))})}}(jQuery,window,document),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(window.jQuery||window.Zepto)}(function(t){var e,i,n,o,r,s,a="Close",l="BeforeClose",u="MarkupParse",c="Open",h="Change",d="mfp",p="."+d,f="mfp-ready",m="mfp-removing",g="mfp-prevent-close",v=function(){},y=!!window.jQuery,_=t(window),w=function(t,i){e.ev.on(d+t+p,i)},b=function(e,i,n,o){var r=document.createElement("div");return r.className="mfp-"+e,n&&(r.innerHTML=n),o?i&&i.appendChild(r):(r=t(r),i&&r.appendTo(i)),r},x=function(t,i){e.ev.triggerHandler(d+t,i),e.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),e.st.callbacks[t]&&e.st.callbacks[t].apply(e,Array.isArray(i)?i:[i]))},T=function(i){return i===s&&e.currTemplate.closeBtn||(e.currTemplate.closeBtn=t(e.st.closeMarkup.replace("%title%",e.st.tClose)),s=i),e.currTemplate.closeBtn},A=function(){t.magnificPopup.instance||((e=new v).init(),t.magnificPopup.instance=e)};v.prototype={constructor:v,init:function(){var i=navigator.appVersion;e.isIE7=-1!==i.indexOf("MSIE 7."),e.isIE8=-1!==i.indexOf("MSIE 8."),e.isLowIE=e.isIE7||e.isIE8,e.isAndroid=/android/gi.test(i),e.isIOS=/iphone|ipad|ipod/gi.test(i),e.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}(),e.probablyMobile=e.isAndroid||e.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),n=t(document),e.popupsCache={}},open:function(i){var o;if(!1===i.isObj){e.items=i.items.toArray(),e.index=0;var s,a=i.items;for(o=0;o<a.length;o++)if((s=a[o]).parsed&&(s=s.el[0]),s===i.el[0]){e.index=o;break}}else e.items=Array.isArray(i.items)?i.items:[i.items],e.index=i.index||0;if(!e.isOpen){e.types=[],r=" wd-scroll",i.mainEl&&i.mainEl.length?e.ev=i.mainEl.eq(0):e.ev=n,i.key?(e.popupsCache[i.key]||(e.popupsCache[i.key]={}),e.currTemplate=e.popupsCache[i.key]):e.currTemplate={},e.st=t.extend(!0,{},t.magnificPopup.defaults,i),e.fixedContentPos="auto"===e.st.fixedContentPos?!e.probablyMobile:e.st.fixedContentPos,e.st.modal&&(e.st.closeOnContentClick=!1,e.st.closeOnBgClick=!1,e.st.showCloseBtn=!1,e.st.enableEscapeKey=!1),e.bgOverlay||(e.bgOverlay=b("bg").on("click"+p,function(){e.close()}),e.wrap=b("wrap").attr("tabindex",-1).on("click"+p,function(t){e._checkIfClose(t.target)&&e.close()}).on("click"+p,".wd-popup-close",function(t){e.close(),t.preventDefault()}),e.container=b("container",e.wrap)),e.contentContainer=b("content"),e.st.preloader&&(e.preloader=b("preloader",e.container,e.st.tLoading));var l=t.magnificPopup.modules;for(o=0;o<l.length;o++){var h=l[o];h=h.charAt(0).toUpperCase()+h.slice(1),e["init"+h].call(e)}x("BeforeOpen"),e.st.showCloseBtn&&(e.st.closeBtnInside?(w(u,function(t,e,i,n){i.close_replaceWith=T(n.type)}),r+=" mfp-close-btn-in"):e.wrap.prepend(T())),e.st.alignTop&&(r+=" mfp-align-top"),e.fixedContentPos||e.wrap.css({top:_.scrollTop(),position:"absolute"}),(!1===e.st.fixedBgPos||"auto"===e.st.fixedBgPos&&!e.fixedContentPos)&&e.bgOverlay.css({height:n.height(),position:"absolute"}),e.st.enableEscapeKey&&n.on("keyup"+p,function(t){27===t.keyCode&&e.close()}),_.on("resize"+p,function(){e.updateSize()}),e.st.closeOnContentClick||(r+=" mfp-auto-cursor"),r&&e.wrap.addClass(r);var d=e.wH=_.height(),m={};e.fixedContentPos&&(e.isIE7?t("body, html").css("overflow","hidden"):m.overflow="hidden");var g=e.st.mainClass;return e.isIE7&&(g+=" mfp-ie7"),g&&e._addClassToMFP(g),e.updateItemHTML(),x("BuildControls"),t("html").css(m),e.bgOverlay.add(e.wrap).prependTo(e.st.prependTo||t(document.body)),e._lastFocusedEl=document.activeElement,setTimeout(function(){e.content?(e._addClassToMFP(f),e._setFocus()):e.bgOverlay.addClass(f),n.on("focusin"+p,e._onFocusIn)},16),setTimeout(function(){e.wrap.find(".wd-popup").length&&e.wrap.find(".wd-popup-wrap").addClass("wd-in wd-animated")},16),e.isOpen=!0,e.updateSize(d),x(c),i}e.updateItemHTML()},close:function(){e.isOpen&&(x(l),e.isOpen=!1,e.st.removalDelay&&!e.isLowIE&&e.supportsTransition?(e._addClassToMFP(m),e.wrap.find(".wd-popup").length&&(e.wrap.find(".wd-popup-wrap").removeClass("wd-in"),e.wrap.find(".wd-popup-wrap").addClass("wd-out")),setTimeout(function(){e.wrap.find(".wd-popup").length&&setTimeout(function(){e.wrap.find(".wd-popup-wrap").removeClass("wd-out")}),e._close()},e.st.removalDelay)):e._close())},_close:function(){x(a);var i=m+" "+f+" ";if(e.bgOverlay.detach(),e.wrap.detach(),e.container.empty(),e.st.mainClass&&(i+=e.st.mainClass+" "),e._removeClassFromMFP(i),e.fixedContentPos){var o={marginRight:""};e.isIE7?t("body, html").css("overflow",""):o.overflow="",t("html").css(o)}n.off("keyup.mfp focusin"+p),e.ev.off(p),e.wrap.attr("class","mfp-wrap").removeAttr("style"),e.bgOverlay.attr("class","mfp-bg"),e.container.attr("class","mfp-container"),!e.st.showCloseBtn||e.st.closeBtnInside&&!0!==e.currTemplate[e.currItem.type]||e.currTemplate.closeBtn&&e.currTemplate.closeBtn.detach(),e.currItem=null,e.content=null,e.currTemplate=null,e.prevHeight=0,x("AfterClose")},updateSize:function(t){if(e.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;e.wrap.css("height",n),e.wH=n}else e.wH=t||_.height();e.fixedContentPos||e.wrap.css("height",e.wH),x("Resize")},updateItemHTML:function(){var i=e.items[e.index];e.contentContainer.detach(),e.content&&e.content.detach(),i.parsed||(i=e.parseEl(e.index));var n=i.type;if(x("BeforeChange",[e.currItem?e.currItem.type:"",n]),e.currItem=i,!e.currTemplate[n]){var r=!!e.st[n]&&e.st[n].markup;x("FirstMarkupParse",r),e.currTemplate[n]=!r||t(r)}o&&o!==i.type&&e.container.removeClass("mfp-"+o+"-holder");var s=e["get"+n.charAt(0).toUpperCase()+n.slice(1)](i,e.currTemplate[n]);e.appendContent(s,n),i.preloaded=!0,x(h,i),o=i.type,e.container.prepend(e.contentContainer),x("AfterChange")},appendContent:function(i,n){if(e.content=i,i?e.st.showCloseBtn&&e.st.closeBtnInside&&!0===e.currTemplate[n]?e.contentContainer.find(".mfp-close, .wd-popup-close").length||e.contentContainer.prepend(T()):e.content=i:e.content="",x("BeforeAppend"),e.container.addClass("mfp-"+n+"-holder"),i){var o=i.hasClass("wd-popup")?i:i.find(".wd-popup");if(o.length){var r=t('<div class="wd-popup-wrap wd-animation wd-transform wd-animation-ready"></div>');o.hasClass("wd-popup-builder")||o.hasClass("wd-promo-popup")||r.addClass("wd-animation-default");var s=e.contentContainer.find(".wd-popup-close");return s.length||(s=i.find(".wd-popup-close")),e.contentContainer.empty(),s.length&&r.append(s),r.append(i),e.content=o,void e.contentContainer.append(r)}}e.contentContainer.append(e.content)},parseEl:function(i){var n,o=e.items[i];if(o.tagName?o={el:t(o)}:(n=o.type,o={data:o,src:o.src}),o.el){for(var r=e.types,s=0;s<r.length;s++)if(o.el.hasClass("mfp-"+r[s])){n=r[s];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=n||e.st.type||"inline",o.index=i,o.parsed=!0,e.items[i]=o,x("ElementParse",o),e.items[i]},addGroup:function(t,i){var n=function(n){n.mfpEl=this,e._openClick(n,t,i)};i||(i={});var o="click.magnificPopup";i.mainEl=t,i.items?(i.isObj=!0,t.off(o).on(o,n)):(i.isObj=!1,i.delegate?t.off(o).on(o,i.delegate,n):(i.items=t,t.off(o).on(o,n)))},_openClick:function(i,n,o){if((void 0!==o.midClick?o.midClick:t.magnificPopup.defaults.midClick)||2!==i.which&&!i.ctrlKey&&!i.metaKey){var r=void 0!==o.disableOn?o.disableOn:t.magnificPopup.defaults.disableOn;if(r)if("function"==typeof r){if(!r.call(e))return!0}else if(_.width()<r)return!0;i.type&&(i.preventDefault(),e.isOpen&&i.stopPropagation()),o.el=t(i.mfpEl),o.delegate&&(o.items=n.find(o.delegate)),e.open(o)}},updateStatus:function(t,n){if(e.preloader){i!==t&&e.container.removeClass("mfp-s-"+i),n||"loading"!==t||(n=e.st.tLoading);var o={status:t,text:n};x("UpdateStatus",o),t=o.status,n=o.text,e.preloader.html(n),e.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),e.container.addClass("mfp-s-"+t),i=t}},_checkIfClose:function(i){if(!t(i).hasClass(g)){var n=e.st.closeOnContentClick,o=e.st.closeOnBgClick;if(n&&o)return!0;if(!e.content||t(i).hasClass("mfp-close")||t(i).hasClass("wd-popup-close")||e.preloader&&i===e.preloader[0])return!0;if(i===e.content[0]||t.contains(e.content[0],i)){if(n)return!0}else if(o&&t.contains(document,i))return!0;return!1}},_addClassToMFP:function(t){e.bgOverlay.addClass(t),e.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),e.wrap.removeClass(t)},_hasScrollBar:function(t){return(e.isIE7?n.height():document.body.scrollHeight)>(t||_.height())},_setFocus:function(){(e.st.focus?e.content.find(e.st.focus).eq(0):e.wrap).trigger("focus")},_onFocusIn:function(i){if(i.target!==e.wrap[0]&&!t.contains(e.wrap[0],i.target))return e._setFocus(),!1},_parseMarkup:function(e,i,n){var o;n.data&&(i=t.extend(n.data,i)),x(u,[e,i,n]),t.each(i,function(t,i){if(void 0===i||!1===i)return!0;if((o=t.split("_")).length>1){var n=e.find(p+"-"+o[0]);if(n.length>0){var r=o[1];"replaceWith"===r?n[0]!==i[0]&&n.replaceWith(i):"img"===r?n.is("img")?n.attr("src",i):n.replaceWith('<img src="'+i+'" class="'+n.attr("class")+'" />'):n.attr(o[1],i)}}else e.find(p+"-"+t).html(i)})},_getScrollbarSize:function(){if(void 0===e.scrollbarSize){var t=document.createElement("div");t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),e.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return e.scrollbarSize}},t.magnificPopup={instance:null,proto:v.prototype,modules:[],open:function(e,i){return A(),(e=e?t.extend(!0,{},e):{}).isObj=!0,e.index=i||0,this.instance.open(e)},close:function(){return t.magnificPopup.instance&&t.magnificPopup.instance.close()},registerModule:function(e,i){i.options&&(t.magnificPopup.defaults[e]=i.options),t.extend(this.proto,i.proto),this.modules.push(e)},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..."}},t.fn.magnificPopup=function(i){A();var n=t(this);if("string"==typeof i)if("open"===i){var o,r=y?n.data("magnificPopup"):n[0].magnificPopup,s=parseInt(arguments[1],10)||0;r.items?o=r.items[s]:(o=n,r.delegate&&(o=o.find(r.delegate)),o=o.eq(s)),e._openClick({mfpEl:o},n,r)}else e.isOpen&&e[i].apply(e,Array.prototype.slice.call(arguments,1));else i=t.extend(!0,{},i),y?n.data("magnificPopup",i):n[0].magnificPopup=i,e.addGroup(n,i);return n};var S,E,M,C="inline",P=function(){M&&(E.after(M.addClass(S)).detach(),M=null)};t.magnificPopup.registerModule(C,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push(C),w(a+"."+C,function(){P()})},getInline:function(i,n){if(P(),i.src){var o=e.st.inline,r=t(i.src);if(r.length){var s=r[0].parentNode;s&&s.tagName&&(E||(S=o.hiddenClass,E=b(S),S="mfp-"+S),M=r.after(E).detach().removeClass(S)),e.updateStatus("ready")}else e.updateStatus("error",o.tNotFound),r=t("<div>");return i.inlineElement=r,r}return e.updateStatus("ready"),e._parseMarkup(n,{},i),n}}});var L,z="ajax",k=function(){L&&t(document.body).removeClass(L)},I=function(){k(),e.req&&e.req.abort()};t.magnificPopup.registerModule(z,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){e.types.push(z),L=e.st.ajax.cursor,w(a+"."+z,I),w("BeforeChange."+z,I)},getAjax:function(i){L&&t(document.body).addClass(L),e.updateStatus("loading");var n=t.extend({url:i.src,success:function(n,o,r){var s={data:n,xhr:r};x("ParseAjax",s),e.appendContent(t(s.data),z),i.finished=!0,k(),e._setFocus(),setTimeout(function(){e.wrap.addClass(f)},16),e.updateStatus("ready"),x("AjaxContentAdded")},error:function(){k(),i.finished=i.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",i.src))}},e.st.ajax.settings);return e.req=t.ajax(n),""}}});var O,D,B=function(t){if(t.data&&void 0!==t.data.title)return t.data.title;var i=e.st.image.titleSrc;if(i){if("function"==typeof i)return i.call(e,t);if(t.el)return t.el.attr(i)||""}return""};t.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 i=e.st.image,n=".image";e.types.push("image"),w(c+n,function(){"image"===e.currItem.type&&i.cursor&&t(document.body).addClass(i.cursor)}),w(a+n,function(){i.cursor&&t(document.body).removeClass(i.cursor),_.off("resize"+p)}),w("Resize"+n,e.resizeImage),e.isLowIE&&w("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var i=0;e.isLowIE&&(i=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-i)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,O&&clearInterval(O),t.isCheckingImgSize=!1,x("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var i=0,n=t.img[0],o=function(r){O&&clearInterval(O),O=setInterval(function(){n.naturalWidth>0?e._onImageHasSize(t):(i>200&&clearInterval(O),3===++i?o(10):40===i?o(50):100===i&&o(500))},r)};o(1)},getImage:function(i,n){var o=0,r=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,x("ImageLoadComplete")):++o<200?setTimeout(r,100):s())},s=function(){i&&(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("error",a.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},a=e.st.image,l=n.find(".mfp-img");if(l.length){var u=document.createElement("img");u.className="mfp-img",i.el&&i.el.find("img").length&&(u.alt=i.el.find("img").attr("alt")),i.img=t(u).on("load.mfploader",r).on("error.mfploader",s),u.src=i.src,l.is("img")&&(i.img=i.img.clone()),(u=i.img[0]).naturalWidth>0?i.hasSize=!0:u.width||(i.hasSize=!1)}return e._parseMarkup(n,{title:B(i),img_replaceWith:i.img},i),e.resizeImage(),i.hasSize?(O&&clearInterval(O),i.loadError?(n.addClass("mfp-loading"),e.updateStatus("error",a.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),e.updateStatus("ready")),n):(e.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),e.findImageSize(i)),n)}}}),t.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,i=e.st.zoom,n=".zoom";if(i.enabled&&e.supportsTransition){var o,r,s=i.duration,u=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},r="transition";return o["-webkit-"+r]=o["-moz-"+r]=o["-o-"+r]=o[r]=n,e.css(o),e},c=function(){e.content.css("visibility","visible")};w("BuildControls"+n,function(){if(e._allowZoom()){if(clearTimeout(o),e.content.css("visibility","hidden"),!(t=e._getItemToZoom()))return void c();(r=u(t)).css(e._getOffset()),e.wrap.append(r),o=setTimeout(function(){r.css(e._getOffset(!0)),o=setTimeout(function(){c(),setTimeout(function(){r.remove(),t=r=null,x("ZoomAnimationEnded")},16)},s)},16)}}),w(l+n,function(){if(e._allowZoom()){if(clearTimeout(o),e.st.removalDelay=s,!t){if(!(t=e._getItemToZoom()))return;r=u(t)}r.css(e._getOffset(!0)),e.wrap.append(r),e.content.css("visibility","hidden"),setTimeout(function(){r.css(e._getOffset())},16)}}),w(a+n,function(){e._allowZoom()&&(c(),r&&r.remove(),t=null)})}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return!!e.currItem.hasSize&&e.currItem.img},_getOffset:function(i){var n,o=(n=i?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem)).offset(),r=parseInt(n.css("padding-top"),10),s=parseInt(n.css("padding-bottom"),10);o.top-=t(window).scrollTop()-r;var a={width:n.width(),height:(y?n.innerHeight():n[0].offsetHeight)-s-r};return void 0===D&&(D=void 0!==document.createElement("p").style.MozTransform),D?a["-moz-transform"]=a.transform="translate("+o.left+"px,"+o.top+"px)":(a.left=o.left,a.top=o.top),a}}});var R="iframe",F=function(t){if(e.currTemplate[R]){var i=e.currTemplate[R].find("iframe");i.length&&(t||(i[0].src="//about:blank"),e.isIE8&&i.css("display",t?"block":"none"))}};t.magnificPopup.registerModule(R,{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(){e.types.push(R),w("BeforeChange",function(t,e,i){e!==i&&(e===R?F():i===R&&F(!0))}),w(a+"."+R,function(){F()})},getIframe:function(i,n){var o=i.src,r=e.st.iframe;t.each(r.patterns,function(){if(o.indexOf(this.index)>-1)return this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1});var s={};return r.srcAction&&(s[r.srcAction]=o),e._parseMarkup(n,s,i),e.updateStatus("ready"),n}}});var N=function(t){var i=e.items.length;return t>i-1?t-i:t<0?i+t:t},j=function(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)};t.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 i=e.st.gallery,o=".mfp-gallery",s=Boolean(t.fn.mfpFastClick);if(e.direction=!0,!i||!i.enabled)return!1;r+=" mfp-gallery",w(c+o,function(){i.navigateByImgClick&&e.wrap.on("click"+o,".mfp-img",function(){if(e.items.length>1)return e.next(),!1}),n.on("keydown"+o,function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()})}),w("UpdateStatus"+o,function(t,i){i.text&&(i.text=j(i.text,e.currItem.index,e.items.length))}),w(u+o,function(t,n,o,r){var s=e.items.length;o.counter=s>1?j(i.tCounter,r.index,s):""}),w("BuildControls"+o,function(){if(e.items.length>1&&i.arrows&&!e.arrowLeft){var n=i.arrowMarkup,o=e.arrowLeft=t(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass(g),r=e.arrowRight=t(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass(g),a=s?"mfpFastClick":"click";o[a](function(){e.prev()}),r[a](function(){e.next()}),e.isIE7&&(b("b",o[0],!1,!0),b("a",o[0],!1,!0),b("b",r[0],!1,!0),b("a",r[0],!1,!0)),e.container.append(o.add(r))}}),w(h+o,function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout(function(){e.preloadNearbyImages(),e._preloadTimeout=null},16)}),w(a+o,function(){n.off(o),e.wrap.off("click"+o),e.arrowLeft&&s&&e.arrowLeft.add(e.arrowRight).destroyMfpFastClick(),e.arrowRight=e.arrowLeft=null})},next:function(){e.direction=!0,e.index=N(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=N(e.index-1),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,i=e.st.gallery.preload,n=Math.min(i[0],e.items.length),o=Math.min(i[1],e.items.length);for(t=1;t<=(e.direction?o:n);t++)e._preloadItem(e.index+t);for(t=1;t<=(e.direction?n:o);t++)e._preloadItem(e.index-t)},_preloadItem:function(i){if(i=N(i),!e.items[i].preloaded){var n=e.items[i];n.parsed||(n=e.parseEl(i)),x("LazyLoad",n),"image"===n.type&&(n.img=t('<img class="mfp-img" />').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,x("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}}});var H,W,q,Z="retina";t.magnificPopup.registerModule(Z,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,i=t.ratio;(i=isNaN(i)?i():i)>1&&(w("ImageHasSize."+Z,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/i,width:"100%"})}),w("ElementParse."+Z,function(e,n){n.src=t.replaceSrc(n,i)}))}}}}),H="ontouchstart"in window,W=function(){_.off("touchmove"+q+" touchend"+q)},q=".mfpFastClick",t.fn.mfpFastClick=function(e){return t(this).each(function(){var i,n,o,r,s,a,l,u=t(this);H&&u.on("touchstart"+q,function(t){s=!1,l=1,a=t.originalEvent?t.originalEvent.touches[0]:t.touches[0],o=a.clientX,r=a.clientY,_.on("touchmove"+q,function(t){a=t.originalEvent?t.originalEvent.touches:t.touches,l=a.length,a=a[0],(Math.abs(a.clientX-o)>10||Math.abs(a.clientY-r)>10)&&(s=!0,W())}).on("touchend"+q,function(t){W(),s||l>1||(i=!0,t.preventDefault(),clearTimeout(n),n=setTimeout(function(){i=!1},1e3),e())})}),u.on("click"+q,function(){i||e()})})},t.fn.destroyMfpFastClick=function(){t(this).off("touchstart"+q+" click"+q),H&&_.off("touchmove"+q+" touchend"+q)},A()}),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 e(t){var e,i,n,o;for(i=1,n=arguments.length;i<n;i++)for(e in o=arguments[i])t[e]=o[e];return t}var i=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function n(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 o=0;function r(t){return"_leaflet_id"in t||(t._leaflet_id=++o),t._leaflet_id}function s(t,e,i){var n,o,r,s;return 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)},r}function a(t,e,i){var n=e[1],o=e[0],r=n-o;return t===n&&i?t:((t-o)%r+r)%r+o}function l(){return!1}function u(t,e){if(!1===e)return t;var i=Math.pow(10,void 0===e?6:e);return Math.round(t*i)/i}function c(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function h(t){return c(t).split(/\s+/)}function d(t,e){for(var n in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?i(t.options):{}),e)t.options[n]=e[n];return t.options}function p(t,e,i){var n=[];for(var o in t)n.push(encodeURIComponent(i?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(e&&-1!==e.indexOf("?")?"&":"?")+n.join("&")}var f=/\{ *([\w_ -]+) *\}/g;function m(t,e){return t.replace(f,function(t,i){var n=e[i];if(void 0===n)throw new Error("No value provided for variable "+t);return"function"==typeof n&&(n=n(e)),n})}var g=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function v(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}var y="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function _(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var w=0;function b(t){var e=+new Date,i=Math.max(0,16-(e-w));return w=e+i,window.setTimeout(t,i)}var x=window.requestAnimationFrame||_("RequestAnimationFrame")||b,T=window.cancelAnimationFrame||_("CancelAnimationFrame")||_("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function A(t,e,i){if(!i||x!==b)return x.call(window,n(t,e));t.call(e)}function S(t){t&&T.call(window,t)}var E={__proto__:null,extend:e,create:i,bind:n,get lastId(){return o},stamp:r,throttle:s,wrapNum:a,falseFn:l,formatNum:u,trim:c,splitWords:h,setOptions:d,getParamString:p,template:m,isArray:g,indexOf:v,emptyImageUrl:y,requestFn:x,cancelFn:T,requestAnimFrame:A,cancelAnimFrame:S};function M(){}M.extend=function(t){var n=function(){d(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},o=n.__super__=this.prototype,r=i(o);for(var s in r.constructor=n,n.prototype=r,this)Object.prototype.hasOwnProperty.call(this,s)&&"prototype"!==s&&"__super__"!==s&&(n[s]=this[s]);return t.statics&&e(n,t.statics),t.includes&&(function(t){if("undefined"!=typeof L&&L&&L.Mixin){t=g(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===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)}}(t.includes),e.apply(null,[r].concat(t.includes))),e(r,t),delete r.statics,delete r.includes,r.options&&(r.options=o.options?i(o.options):{},e(r.options,t.options)),r._initHooks=[],r.callInitHooks=function(){if(!this._initHooksCalled){o.callInitHooks&&o.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=r._initHooks.length;t<e;t++)r._initHooks[t].call(this)}},n},M.include=function(t){var i=this.prototype.options;return e(this.prototype,t),t.options&&(this.prototype.options=i,this.mergeOptions(t.options)),this},M.mergeOptions=function(t){return e(this.prototype.options,t),this},M.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 C={on:function(t,e,i){if("object"==typeof t)for(var n in t)this._on(n,t[n],e);else for(var o=0,r=(t=h(t)).length;o<r;o++)this._on(t[o],e,i);return this},off:function(t,e,i){if(arguments.length)if("object"==typeof t)for(var n in t)this._off(n,t[n],e);else{t=h(t);for(var o=1===arguments.length,r=0,s=t.length;r<s;r++)o?this._off(t[r]):this._off(t[r],e,i)}else delete this._events;return this},_on:function(t,e,i){if("function"==typeof e){this._events=this._events||{};var n=this._events[t];n||(n=[],this._events[t]=n),i===this&&(i=void 0);for(var o={fn:e,ctx:i},r=n,s=0,a=r.length;s<a;s++)if(r[s].fn===e&&r[s].ctx===i)return;r.push(o)}else console.warn("wrong listener type: "+typeof e)},_off:function(t,e,i){var n,o,r;if(this._events&&(n=this._events[t]))if(1!==arguments.length)if(i===this&&(i=void 0),"function"==typeof e){for(o=0,r=n.length;o<r;o++){var s=n[o];if(s.ctx===i&&s.fn===e)return this._firingCount&&(s.fn=l,this._events[t]=n=n.slice()),void n.splice(o,1)}console.warn("listener not found")}else console.warn("wrong listener type: "+typeof e);else{if(this._firingCount)for(o=0,r=n.length;o<r;o++)n[o].fn=l;delete this._events[t]}},fire:function(t,i,n){if(!this.listens(t,n))return this;var o=e({},i,{type:t,target:this,sourceTarget:i&&i.sourceTarget||this});if(this._events){var r=this._events[t];if(r){this._firingCount=this._firingCount+1||1;for(var s=0,a=r.length;s<a;s++){var l=r[s];l.fn.call(l.ctx||this,o)}this._firingCount--}}return n&&this._propagateEvent(o),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 o in t)this.once(o,t[o],e);return this}var r=n(function(){this.off(t,e,i).off(t,r,i)},this);return this.on(t,e,i).on(t,r,i)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[r(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[r(t)],this},_propagateEvent:function(t){for(var i in this._eventParents)this._eventParents[i].fire(t.type,e({layer:t.target,propagatedFrom:t.target},t),!0)}};C.addEventListener=C.on,C.removeEventListener=C.clearAllEventListeners=C.off,C.addOneTimeEventListener=C.once,C.fireEvent=C.fire,C.hasEventListeners=C.listens;var P=M.extend(C);function z(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e}var k=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};function I(t,e,i){return t instanceof z?t:g(t)?new z(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new z(t.x,t.y):new z(t,e,i)}function O(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function D(t,e){return!t||t instanceof O?t:new O(t,e)}function B(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function R(t,e){return t instanceof B?t:new B(t,e)}function F(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 N(t,e,i){return t instanceof F?t:g(t)&&"object"!=typeof t[0]?3===t.length?new F(t[0],t[1],t[2]):2===t.length?new F(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new F(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new F(t,e,i)}z.prototype={clone:function(){return new z(this.x,this.y)},add:function(t){return this.clone()._add(I(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(I(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 z(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new z(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=k(this.x),this.y=k(this.y),this},distanceTo:function(t){var e=(t=I(t)).x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},equals:function(t){return(t=I(t)).x===this.x&&t.y===this.y},contains:function(t){return t=I(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+u(this.x)+", "+u(this.y)+")"}},O.prototype={extend:function(t){return t=I(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 z((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new z(this.min.x,this.max.y)},getTopRight:function(){return new z(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 z?I(t):D(t))instanceof O?(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=D(t);var e=this.min,i=this.max,n=t.min,o=t.max,r=o.x>=e.x&&n.x<=i.x,s=o.y>=e.y&&n.y<=i.y;return r&&s},overlaps:function(t){t=D(t);var e=this.min,i=this.max,n=t.min,o=t.max,r=o.x>e.x&&n.x<i.x,s=o.y>e.y&&n.y<i.y;return r&&s},isValid:function(){return!(!this.min||!this.max)}},B.prototype={extend:function(t){var e,i,n=this._southWest,o=this._northEast;if(t instanceof F)e=t,i=t;else{if(!(t instanceof B))return t?this.extend(N(t)||R(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 F(e.lat,e.lng),this._northEast=new F(i.lat,i.lng)),this},pad:function(t){var e=this._southWest,i=this._northEast,n=Math.abs(e.lat-i.lat)*t,o=Math.abs(e.lng-i.lng)*t;return new B(new F(e.lat-n,e.lng-o),new F(i.lat+n,i.lng+o))},getCenter:function(){return new F((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 F(this.getNorth(),this.getWest())},getSouthEast:function(){return new F(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 F||"lat"in t?N(t):R(t);var e,i,n=this._southWest,o=this._northEast;return t instanceof B?(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=R(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),r=o.lat>=e.lat&&n.lat<=i.lat,s=o.lng>=e.lng&&n.lng<=i.lng;return r&&s},overlaps:function(t){t=R(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),r=o.lat>e.lat&&n.lat<i.lat,s=o.lng>e.lng&&n.lng<i.lng;return r&&s},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=R(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}},F.prototype={equals:function(t,e){return!!t&&(t=N(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("+u(this.lat,t)+", "+u(this.lng,t)+")"},distanceTo:function(t){return W.distance(this,N(t))},wrap:function(){return W.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,i=e/Math.cos(Math.PI/180*this.lat);return R([this.lat-e,this.lng-i],[this.lat+e,this.lng+i])},clone:function(){return new F(this.lat,this.lng,this.alt)}};var j,H={latLngToPoint:function(t,e){var i=this.projection.project(t),n=this.scale(e);return this.transformation._transform(i,n)},pointToLatLng:function(t,e){var i=this.scale(e),n=this.transformation.untransform(t,i);return this.projection.unproject(n)},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,i=this.scale(t);return new O(this.transformation.transform(e.min,i),this.transformation.transform(e.max,i))},infinite:!1,wrapLatLng:function(t){var e=this.wrapLng?a(t.lng,this.wrapLng,!0):t.lng;return new F(this.wrapLat?a(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,o=e.lng-i.lng;if(0===n&&0===o)return t;var r=t.getSouthWest(),s=t.getNorthEast();return new B(new F(r.lat-n,r.lng-o),new F(s.lat-n,s.lng-o))}},W=e({},H,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,r=Math.sin((e.lat-t.lat)*i/2),s=Math.sin((e.lng-t.lng)*i/2),a=r*r+Math.cos(n)*Math.cos(o)*s*s,l=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return this.R*l}}),q=6378137,Z={R:q,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,i=this.MAX_LATITUDE,n=Math.max(Math.min(i,t.lat),-i),o=Math.sin(n*e);return new z(this.R*t.lng*e,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(t){var e=180/Math.PI;return new F((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:(j=q*Math.PI,new O([-j,-j],[j,j]))};function $(t,e,i,n){if(g(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 G(t,e,i,n){return new $(t,e,i,n)}$.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new z((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}};var V,U=e({},W,{code:"EPSG:3857",projection:Z,transformation:(V=.5/(Math.PI*Z.R),G(V,.5,-V,.5))}),Y=e({},U,{code:"EPSG:900913"});function X(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function K(t,e){var i,n,o,r,s,a,l="";for(i=0,o=t.length;i<o;i++){for(n=0,r=(s=t[i]).length;n<r;n++)l+=(n?"L":"M")+(a=s[n]).x+" "+a.y;l+=e?Dt.svg?"z":"x":""}return l||"M0 0"}var Q,J=document.documentElement.style,tt="ActiveXObject"in window,et=tt&&!document.addEventListener,it="msLaunchUri"in navigator&&!("documentMode"in document),nt=Ot("webkit"),ot=Ot("android"),rt=Ot("android 2")||Ot("android 3"),st=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),at=ot&&Ot("Google")&&st<537&&!("AudioNode"in window),lt=!!window.opera,ut=!it&&Ot("chrome"),ct=Ot("gecko")&&!nt&&!lt&&!tt,ht=!ut&&Ot("safari"),dt=Ot("phantom"),pt="OTransition"in J,ft=0===navigator.platform.indexOf("Win"),mt=tt&&"transition"in J,gt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!rt,vt="MozPerspective"in J,yt=!window.L_DISABLE_3D&&(mt||gt||vt)&&!pt&&!dt,_t="undefined"!=typeof orientation||Ot("mobile"),wt=_t&&nt,bt=_t&>,xt=!window.PointerEvent&&window.MSPointerEvent,Tt=!(!window.PointerEvent&&!xt),At="ontouchstart"in window||!!window.TouchEvent,St=!window.L_NO_TOUCH&&(At||Tt),Et=_t&<,Mt=_t&&ct,Ct=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Pt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,e),window.removeEventListener("testPassiveEventSupport",l,e)}catch(i){}return t}(),Lt=!!document.createElement("canvas").getContext,zt=!(!document.createElementNS||!X("svg").createSVGRect),kt=!!zt&&((Q=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===(Q.firstChild&&Q.firstChild.namespaceURI)),It=!zt&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(i){return!1}}();function Ot(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Dt={ie:tt,ielt9:et,edge:it,webkit:nt,android:ot,android23:rt,androidStock:at,opera:lt,chrome:ut,gecko:ct,safari:ht,phantom:dt,opera12:pt,win:ft,ie3d:mt,webkit3d:gt,gecko3d:vt,any3d:yt,mobile:_t,mobileWebkit:wt,mobileWebkit3d:bt,msPointer:xt,pointer:Tt,touch:St,touchNative:At,mobileOpera:Et,mobileGecko:Mt,retina:Ct,passiveEvents:Pt,canvas:Lt,svg:zt,vml:It,inlineSvg:kt},Bt=Dt.msPointer?"MSPointerDown":"pointerdown",Rt=Dt.msPointer?"MSPointerMove":"pointermove",Ft=Dt.msPointer?"MSPointerUp":"pointerup",Nt=Dt.msPointer?"MSPointerCancel":"pointercancel",jt={touchstart:Bt,touchmove:Rt,touchend:Ft,touchcancel:Nt},Ht={touchstart:function(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&Re(e),Vt(t,e)},touchmove:Vt,touchend:Vt,touchcancel:Vt},Wt={},qt=!1;function Zt(t){Wt[t.pointerId]=t}function $t(t){Wt[t.pointerId]&&(Wt[t.pointerId]=t)}function Gt(t){delete Wt[t.pointerId]}function Vt(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var i in e.touches=[],Wt)e.touches.push(Wt[i]);e.changedTouches=[e],t(e)}}var Ut,Yt,Xt,Kt,Qt,Jt=me(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),te=me(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ee="webkitTransition"===te||"OTransition"===te?te+"End":"transitionend";function ie(t){return"string"==typeof t?document.getElementById(t):t}function ne(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!i||"auto"===i)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);i=n?n[e]:null}return"auto"===i?null:i}function oe(t,e,i){var n=document.createElement(t);return n.className=e||"",i&&i.appendChild(n),n}function re(t){var e=t.parentNode;e&&e.removeChild(t)}function se(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function ae(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function le(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ue(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=pe(t);return i.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(i)}function ce(t,e){if(void 0!==t.classList)for(var i=h(e),n=0,o=i.length;n<o;n++)t.classList.add(i[n]);else if(!ue(t,e)){var r=pe(t);de(t,(r?r+" ":"")+e)}}function he(t,e){void 0!==t.classList?t.classList.remove(e):de(t,c((" "+pe(t)+" ").replace(" "+e+" "," ")))}function de(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function pe(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function fe(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&function(t,e){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=t.filters.item(n)}catch(o){if(1===e)return}e=Math.round(100*e),i?(i.Enabled=100!==e,i.Opacity=e):t.style.filter+=" progid:"+n+"(opacity="+e+")"}(t,e)}function me(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1}function ge(t,e,i){var n=e||new z(0,0);t.style[Jt]=(Dt.ie3d?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(i?" scale("+i+")":"")}function ve(t,e){t._leaflet_pos=e,Dt.any3d?ge(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function ye(t){return t._leaflet_pos||new z(0,0)}if("onselectstart"in document)Ut=function(){Me(window,"selectstart",Re)},Yt=function(){Pe(window,"selectstart",Re)};else{var _e=me(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Ut=function(){if(_e){var t=document.documentElement.style;Xt=t[_e],t[_e]="none"}},Yt=function(){_e&&(document.documentElement.style[_e]=Xt,Xt=void 0)}}function we(){Me(window,"dragstart",Re)}function be(){Pe(window,"dragstart",Re)}function xe(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(Te(),Kt=t,Qt=t.style.outline,t.style.outline="none",Me(window,"keydown",Te))}function Te(){Kt&&(Kt.style.outline=Qt,Kt=void 0,Qt=void 0,Pe(window,"keydown",Te))}function Ae(t){do{t=t.parentNode}while(!(t.offsetWidth&&t.offsetHeight||t===document.body));return t}function Se(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}var Ee={__proto__:null,TRANSFORM:Jt,TRANSITION:te,TRANSITION_END:ee,get:ie,getStyle:ne,create:oe,remove:re,empty:se,toFront:ae,toBack:le,hasClass:ue,addClass:ce,removeClass:he,setClass:de,getClass:pe,setOpacity:fe,testProp:me,setTransform:ge,setPosition:ve,getPosition:ye,get disableTextSelection(){return Ut},get enableTextSelection(){return Yt},disableImageDrag:we,enableImageDrag:be,preventOutline:xe,restoreOutline:Te,getSizedParentNode:Ae,getScale:Se};function Me(t,e,i,n){if(e&&"object"==typeof e)for(var o in e)ke(t,o,e[o],i);else for(var r=0,s=(e=h(e)).length;r<s;r++)ke(t,e[r],i,n);return this}var Ce="_leaflet_events";function Pe(t,e,i,n){if(1===arguments.length)Le(t),delete t[Ce];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)Le(t,function(t){return-1!==v(e,t)});else for(var r=0,s=e.length;r<s;r++)Ie(t,e[r],i,n);return this}function Le(t,e){for(var i in t[Ce]){var n=i.split(/\d/)[0];e&&!e(n)||Ie(t,n,null,null,i)}}var ze={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function ke(t,e,i,n){var o=e+r(i)+(n?"_"+r(n):"");if(t[Ce]&&t[Ce][o])return this;var s=function(e){return i.call(n||t,e||window.event)},a=s;!Dt.touchNative&&Dt.pointer&&0===e.indexOf("touch")?s=function(t,e,i){return"touchstart"===e&&(qt||(document.addEventListener(Bt,Zt,!0),document.addEventListener(Rt,$t,!0),document.addEventListener(Ft,Gt,!0),document.addEventListener(Nt,Gt,!0),qt=!0)),Ht[e]?(i=Ht[e].bind(this,i),t.addEventListener(jt[e],i,!1),i):(console.warn("wrong event specified:",e),L.Util.falseFn)}(t,e,s):Dt.touch&&"dblclick"===e?s=function(t,e){t.addEventListener("dblclick",e);var i,n=0;function o(t){if(1===t.detail){if("mouse"!==t.pointerType&&(!t.sourceCapabilities||t.sourceCapabilities.firesTouchEvents)){var o=Date.now();o-n<=200?2===++i&&e(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,n.type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}(t)):i=1,n=o}}else i=t.detail}return t.addEventListener("click",o),{dblclick:e,simDblclick:o}}(t,s):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(ze[e]||e,s,!!Dt.passiveEvents&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(s=function(e){e=e||window.event,We(t,e)&&a(e)},t.addEventListener(ze[e],s,!1)):t.addEventListener(e,a,!1):t.attachEvent("on"+e,s),t[Ce]=t[Ce]||{},t[Ce][o]=s}function Ie(t,e,i,n,o){o=o||e+r(i)+(n?"_"+r(n):"");var s=t[Ce]&&t[Ce][o];if(!s)return this;!Dt.touchNative&&Dt.pointer&&0===e.indexOf("touch")?function(t,e,i){jt[e]?t.removeEventListener(jt[e],i,!1):console.warn("wrong event specified:",e)}(t,e,s):Dt.touch&&"dblclick"===e?function(t,e){t.removeEventListener("dblclick",e.dblclick),t.removeEventListener("click",e.simDblclick)}(t,s):"removeEventListener"in t?t.removeEventListener(ze[e]||e,s,!1):t.detachEvent("on"+e,s),t[Ce][o]=null}function Oe(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function De(t){return ke(t,"wheel",Oe),this}function Be(t){return Me(t,"mousedown touchstart dblclick contextmenu",Oe),t._leaflet_disable_click=!0,this}function Re(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Fe(t){return Re(t),Oe(t),this}function Ne(t,e){if(!e)return new z(t.clientX,t.clientY);var i=Se(e),n=i.boundingClientRect;return new z((t.clientX-n.left)/i.x-e.clientLeft,(t.clientY-n.top)/i.y-e.clientTop)}var je=Dt.win&&Dt.chrome?2*window.devicePixelRatio:Dt.gecko?window.devicePixelRatio:1;function He(t){return Dt.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/je: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 We(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(n){return!1}return i!==t}var qe={__proto__:null,on:Me,off:Pe,stopPropagation:Oe,disableScrollPropagation:De,disableClickPropagation:Be,preventDefault:Re,stop:Fe,getMousePosition:Ne,getWheelDelta:He,isExternalTarget:We,addListener:Me,removeListener:Pe},Ze=P.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=ye(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=A(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){var i=this._startPos.add(this._offset.multiplyBy(t));e&&i._round(),ve(this._el,i),this.fire("step")},_complete:function(){S(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),$e=P.extend({options:{crs:U,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=d(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=n(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(N(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=te&&Dt.any3d&&!Dt.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Me(this._proxy,ee,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,i,n){return i=void 0===i?this._zoom:this._limitZoom(i),t=this._limitCenter(N(t),i,this.options.maxBounds),n=n||{},this._stop(),this._loaded&&!n.reset&&!0!==n&&(void 0!==n.animate&&(n.zoom=e({animate:n.animate},n.zoom),n.pan=e({animate:n.animate,duration:n.duration},n.pan)),this._zoom!==i?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,i,n.zoom):this._tryAnimatedPan(t,n.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,i),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||(Dt.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(Dt.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),r=(t instanceof z?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),s=this.containerPointToLatLng(o.add(r));return this.setView(s,e,{zoom:i})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():R(t);var i=I(e.paddingTopLeft||e.padding||[0,0]),n=I(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};var r=n.subtract(i).divideBy(2),s=this.project(t.getSouthWest(),o),a=this.project(t.getNorthEast(),o);return{center:this.unproject(s.add(a).divideBy(2).add(r),o),zoom:o}},fitBounds:function(t,e){if(!(t=R(t)).isValid())throw new Error("Bounds are not valid.");var i=this._getBoundsCenterZoom(t,e);return this.setView(i.center,i.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){if(e=e||{},!(t=I(t).round()).x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Ze,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){ce(this._mapPane,"leaflet-pan-anim");var i=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,i){if(!1===(i=i||{}).animate||!Dt.any3d)return this.setView(t,e,i);this._stop();var n=this.project(this.getCenter()),o=this.project(t),r=this.getSize(),s=this._zoom;t=N(t),e=void 0===e?s:e;var a=Math.max(r.x,r.y),l=a*this.getZoomScale(s,e),u=o.distanceTo(n)||1,c=1.42,h=2.0164;function d(t){var e=(l*l-a*a+(t?-1:1)*h*h*u*u)/(2*(t?l:a)*h*u),i=Math.sqrt(e*e+1)-e;return i<1e-9?-18:Math.log(i)}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);var g=Date.now(),v=(d(1)-m)/c,y=i.duration?1e3*i.duration:1e3*v*.8;return this._moveStart(!0,i.noMoveStart),function i(){var r=(Date.now()-g)/y,l=function(t){return 1-Math.pow(1-t,1.5)}(r)*v;r<=1?(this._flyToFrame=A(i,this),this._move(this.unproject(n.add(o.subtract(n).multiplyBy(function(t){return a*(f(m)*(p(e=m+c*t)/f(e))-p(m))/h;var e}(l)/u)),s),this.getScaleZoom(a/function(t){return a*(f(m)/f(m+c*t))}(l),s),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,e){var i=this._getBoundsCenterZoom(t,e);return this.flyTo(i.center,i.zoom,e)},setMaxBounds:function(t){return(t=R(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(),n=this._limitCenter(i,this._zoom,R(t));return i.equals(n)||this.panTo(n,e),this._enforcingBounds=!1,this},panInside:function(t,e){var i=I((e=e||{}).paddingTopLeft||e.padding||[0,0]),n=I(e.paddingBottomRight||e.padding||[0,0]),o=this.project(this.getCenter()),r=this.project(t),s=this.getPixelBounds(),a=D([s.min.add(i),s.max.subtract(n)]),l=a.getSize();if(!a.contains(r)){this._enforcingBounds=!0;var u=r.subtract(a.getCenter()),c=a.extend(r).getSize().subtract(l);o.x+=u.x<0?-c.x:c.x,o.y+=u.y<0?-c.y:c.y,this.panTo(this.unproject(o),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var i=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),r=i.divideBy(2).round(),s=o.divideBy(2).round(),a=r.subtract(s);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(n(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:i,newSize:o})):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=e({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var i=n(this._handleGeolocationResponse,this),o=n(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(i,o,t):navigator.geolocation.getCurrentPosition(i,o,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){if(this._container._leaflet_id){var e=t.code,i=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: "+i+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e=new F(t.coords.latitude,t.coords.longitude),i=e.toBounds(2*t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(i);this.setView(e,n.maxZoom?Math.min(o,n.maxZoom):o)}var r={latlng:e,bounds:i,timestamp:t.timestamp};for(var s in t.coords)"number"==typeof t.coords[s]&&(r[s]=t.coords[s]);this.fire("locationfound",r)}},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.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(e){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),re(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(S(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)re(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var i=oe("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=i),i},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 B(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=R(t),i=I(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),r=this.getMaxZoom(),s=t.getNorthWest(),a=t.getSouthEast(),l=this.getSize().subtract(i),u=D(this.project(a,n),this.project(s,n)).getSize(),c=Dt.any3d?this.options.zoomSnap:1,h=l.x/u.x,d=l.y/u.y,p=e?Math.max(h,d):Math.min(h,d);return n=this.getScaleZoom(p,n),c&&(n=Math.round(n/(c/100))*(c/100),n=e?Math.ceil(n/c)*c:Math.floor(n/c)*c),Math.max(o,Math.min(r,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new z(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var i=this._getTopLeftPoint(t,e);return new O(i,i.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;e=void 0===e?this._zoom:e;var n=i.zoom(t*i.scale(e));return isNaN(n)?1/0:n},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(N(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(I(t),e)},layerPointToLatLng:function(t){var e=I(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(N(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(N(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(R(t))},distance:function(t,e){return this.options.crs.distance(N(t),N(e))},containerPointToLayerPoint:function(t){return I(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return I(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(I(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(N(t)))},mouseEventToContainerPoint:function(t){return Ne(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=ie(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Me(e,"scroll",this._onScroll,this),this._containerId=r(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&Dt.any3d,ce(t,"leaflet-container"+(Dt.touch?" leaflet-touch":"")+(Dt.retina?" leaflet-retina":"")+(Dt.ielt9?" leaflet-oldie":"")+(Dt.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=ne(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),ve(this._mapPane,new z(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(ce(t.markerPane,"leaflet-zoom-hide"),ce(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){ve(this._mapPane,new z(0,0));var i=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var n=this._zoom!==e;this._moveStart(n,!1)._move(t,e)._moveEnd(n),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,i,n){void 0===e&&(e=this._zoom);var o=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),n?i&&i.pinch&&this.fire("zoom",i):((o||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return S(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){ve(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={},this._targets[r(this._container)]=this;var e=t?Pe:Me;e(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),Dt.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){S(this._resizeRequest),this._resizeRequest=A(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,a=!1;s;){if((i=this._targets[r(s)])&&("click"===e||"preclick"===e)&&this._draggableMoved(i)){a=!0;break}if(i&&i.listens(e,!0)){if(o&&!We(s,t))break;if(n.push(i),o)break}if(s===this._container)break;s=s.parentNode}return n.length||a||o||!this.listens(e,!0)||(n=[this]),n},_isClickDisabled:function(t){for(;t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e=t.target||t.srcElement;if(!(!this._loaded||e._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(e))){var i=t.type;"mousedown"===i&&xe(e),this._fireDOMEvent(t,i)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,i,n){if("click"===t.type){var o=e({},t);o.type="preclick",this._fireDOMEvent(o,o.type,n)}var r=this._findEventTargets(t,i);if(n){for(var s=[],a=0;a<n.length;a++)n[a].listens(i,!0)&&s.push(n[a]);r=s.concat(r)}if(r.length){"contextmenu"===i&&Re(t);var l=r[0],u={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var c=l.getLatLng&&(!l._radius||l._radius<=10);u.containerPoint=c?this.latLngToContainerPoint(l.getLatLng()):this.mouseEventToContainerPoint(t),u.layerPoint=this.containerPointToLayerPoint(u.containerPoint),u.latlng=c?l.getLatLng():this.layerPointToLatLng(u.layerPoint)}for(a=0;a<r.length;a++)if(r[a].fire(i,u,!0),u.originalEvent._stopped||!1===r[a].options.bubblingMouseEvents&&-1!==v(this._mouseEvents,i))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 ye(this._mapPane)||new z(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){var n=this._getNewPixelOrigin(i,e);return this.project(t,e)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,e,i){var n=this._getNewPixelOrigin(i,e);return D([this.project(t.getSouthWest(),e)._subtract(n),this.project(t.getNorthWest(),e)._subtract(n),this.project(t.getSouthEast(),e)._subtract(n),this.project(t.getNorthEast(),e)._subtract(n)])},_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),r=new O(n.subtract(o),n.add(o)),s=this._getBoundsOffset(r,i,e);return s.round().equals([0,0])?t:this.unproject(n.add(s),e)},_limitOffset:function(t,e){if(!e)return t;var i=this.getPixelBounds(),n=new O(i.min.add(t),i.max.add(t));return t.add(this._getBoundsOffset(n,e))},_getBoundsOffset:function(t,e,i){var n=D(this.project(e.getNorthEast(),i),this.project(e.getSouthWest(),i)),o=n.min.subtract(t.min),r=n.max.subtract(t.max);return new z(this._rebound(o.x,-r.x),this._rebound(o.y,-r.y))},_rebound:function(t,e){return t+e>0?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=Dt.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(){he(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(i)||(this.panBy(i,e),0))},_createAnimProxy:function(){var t=this._proxy=oe("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=Jt,i=this._proxy.style[e];ge(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(){re(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();ge(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&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),o=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==i.animate&&!this.getSize().contains(o)||(A(function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)},this),0))},_animateZoom:function(t,e,i,o){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,ce(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:o}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(n(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&he(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))}}),Ge=M.extend({options:{position:"topright"},initialize:function(t){d(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(),n=t._controlCorners[i];return ce(e,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(e,n.firstChild):n.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(re(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),Ve=function(t){return new Ge(t)};$e.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",i=this._controlContainer=oe("div",e+"control-container",this._container);function n(n,o){var r=e+n+" "+e+o;t[n+o]=oe("div",r,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)re(this._controlCorners[t]);re(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Ue=Ge.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 d(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,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 Ge.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);var e=this._getLayer(r(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){ce(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?(ce(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):he(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return he(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=oe("div",t),i=this.options.collapsed;e.setAttribute("aria-haspopup",!0),Be(e),De(e);var n=this._section=oe("section",t+"-list");i&&(this._map.on("click",this.collapse,this),Me(e,{mouseenter:function(){Me(n,"click",Re),this.expand(),setTimeout(function(){Pe(n,"click",Re)})},mouseleave:this.collapse},this));var o=this._layersLink=oe("a",t+"-toggle",e);o.href="#",o.title="Layers",o.setAttribute("role","button"),Me(o,"click",Re),Me(o,"focus",this.expand,this),i||this.expand(),this._baseLayersList=oe("div",t+"-base",n),this._separator=oe("div",t+"-separator",n),this._overlaysList=oe("div",t+"-overlays",n),e.appendChild(n)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&r(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(n(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;se(this._baseLayersList),se(this._overlaysList),this._layerControlInputs=[];var t,e,i,n,o=0;for(i=0;i<this._layers.length;i++)n=this._layers[i],this._addItem(n),e=e||n.overlay,t=t||!n.overlay,o+=n.overlay?0:1;return this.options.hideSingleBase&&(t=t&&o>1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(r(t.target)),i=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;i&&this._map.fire(i,e)},_createRadioElement:function(t,e){var i='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",n=document.createElement("div");return n.innerHTML=i,n.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers_"+r(this),n),this._layerControlInputs.push(e),e.layerId=r(t.layer),Me(e,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var s=document.createElement("span");return i.appendChild(s),s.appendChild(e),s.appendChild(o),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){var t,e,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var r=i.length-1;r>=0;r--)t=i[r],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(r=0;r<o.length;r++)this._map.hasLayer(o[r])&&this._map.removeLayer(o[r]);for(r=0;r<n.length;r++)this._map.hasLayer(n[r])||this._map.addLayer(n[r]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,e,i=this._layerControlInputs,n=this._map.getZoom(),o=i.length-1;o>=0;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}}),Ye=Ge.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=oe("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){var r=oe("a",i,n);return r.innerHTML=t,r.href="#",r.title=e,r.setAttribute("role","button"),r.setAttribute("aria-label",e),Be(r),Me(r,"click",Fe),Me(r,"click",o,this),Me(r,"click",this._refocusOnMap,this),r},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";he(this._zoomInButton,e),he(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(ce(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(ce(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}});$e.mergeOptions({zoomControl:!0}),$e.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Ye,this.addControl(this.zoomControl))});var Xe=Ge.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=oe("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=oe("div",e,i)),t.imperial&&(this._iScale=oe("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,i=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(i)},_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),i=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,i,e/t)},_updateImperial:function(t){var e,i,n,o=3.2808399*t;o>5280?(e=o/5280,i=this._getRoundNum(e),this._updateScale(this._iScale,i+" mi",i/e)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_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),i=t/e;return e*(i>=10?10:i>=5?5:i>=3?3:i>=2?2:1)}}),Ke=Ge.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Dt.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){d(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=oe("div","leaflet-control-attribution"),Be(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):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(' <span aria-hidden="true">|</span> ')}}});$e.mergeOptions({attributionControl:!0}),$e.addInitHook(function(){this.options.attributionControl&&(new Ke).addTo(this)}),Ge.Layers=Ue,Ge.Zoom=Ye,Ge.Scale=Xe,Ge.Attribution=Ke,Ve.layers=function(t,e,i){return new Ue(t,e,i)},Ve.zoom=function(t){return new Ye(t)},Ve.scale=function(t){return new Xe(t)},Ve.attribution=function(t){return new Ke(t)};var Qe=M.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):this},enabled:function(){return!!this._enabled}});Qe.addTo=function(t,e){return t.addHandler(e,this),this};var Je,ti={Events:C},ei=Dt.touch?"touchstart mousedown":"mousedown",ii=P.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){d(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(Me(this._dragStartTarget,ei,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(ii._dragging===this&&this.finishDrag(!0),Pe(this._dragStartTarget,ei,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!ue(this._element,"leaflet-zoom-anim")))if(t.touches&&1!==t.touches.length)ii._dragging===this&&this.finishDrag();else if(!(ii._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(ii._dragging=this,this._preventOutline&&xe(this._element),we(),Ut(),this._moving))){this.fire("down");var e=t.touches?t.touches[0]:t,i=Ae(this._element);this._startPoint=new z(e.clientX,e.clientY),this._startPos=ye(this._element),this._parentScale=Se(i);var n="mousedown"===t.type;Me(document,n?"mousemove":"touchmove",this._onMove,this),Me(document,n?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(t){if(this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,i=new z(e.clientX,e.clientY)._subtract(this._startPoint);(i.x||i.y)&&(Math.abs(i.x)+Math.abs(i.y)<this.options.clickTolerance||(i.x/=this._parentScale.x,i.y/=this._parentScale.y,Re(t),this._moved||(this.fire("dragstart"),this._moved=!0,ce(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),ce(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(i),this._moving=!0,this._lastEvent=t,this._updatePosition()))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),ve(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){he(document.body,"leaflet-dragging"),this._lastTarget&&(he(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),Pe(document,"mousemove touchmove",this._onMove,this),Pe(document,"mouseup touchend touchcancel",this._onUp,this),be(),Yt(),this._moved&&this._moving&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)}),this._moving=!1,ii._dragging=!1}});function ni(t,e){if(!e||!t.length)return t.slice();var i=e*e;return t=function(t,e){for(var i=[t[0]],n=1,o=0,r=t.length;n<r;n++)ui(t[n],t[o])>e&&(i.push(t[n]),o=n);return o<r-1&&i.push(t[r-1]),i}(t,i),t=function(t,e){var i=t.length,n=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(i);n[0]=n[i-1]=1,ri(t,n,e,0,i-1);var o,r=[];for(o=0;o<i;o++)n[o]&&r.push(t[o]);return r}(t,i),t}function oi(t,e,i){return Math.sqrt(ci(t,e,i,!0))}function ri(t,e,i,n,o){var r,s,a,l=0;for(s=n+1;s<=o-1;s++)(a=ci(t[s],t[n],t[o],!0))>l&&(r=s,l=a);l>i&&(e[r]=1,ri(t,e,i,n,r),ri(t,e,i,r,o))}function si(t,e,i,n,o){var r,s,a,l=n?Je:li(t,i),u=li(e,i);for(Je=u;;){if(!(l|u))return[t,e];if(l&u)return!1;a=li(s=ai(t,e,r=l||u,i,o),i),r===l?(t=s,l=a):(e=s,u=a)}}function ai(t,e,i,n,o){var r,s,a=e.x-t.x,l=e.y-t.y,u=n.min,c=n.max;return 8&i?(r=t.x+a*(c.y-t.y)/l,s=c.y):4&i?(r=t.x+a*(u.y-t.y)/l,s=u.y):2&i?(r=c.x,s=t.y+l*(c.x-t.x)/a):1&i&&(r=u.x,s=t.y+l*(u.x-t.x)/a),new z(r,s,o)}function li(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 ui(t,e){var i=e.x-t.x,n=e.y-t.y;return i*i+n*n}function ci(t,e,i,n){var o,r=e.x,s=e.y,a=i.x-r,l=i.y-s,u=a*a+l*l;return u>0&&((o=((t.x-r)*a+(t.y-s)*l)/u)>1?(r=i.x,s=i.y):o>0&&(r+=a*o,s+=l*o)),a=t.x-r,l=t.y-s,n?a*a+l*l:new z(r,s)}function hi(t){return!g(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function di(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),hi(t)}var pi={__proto__:null,simplify:ni,pointToSegmentDistance:oi,closestPointOnSegment:function(t,e,i){return ci(t,e,i)},clipSegment:si,_getEdgeIntersection:ai,_getBitCode:li,_sqClosestPointOnSegment:ci,isFlat:hi,_flat:di};function fi(t,e,i){var n,o,r,s,a,l,u,c,h,d=[1,4,2,8];for(o=0,u=t.length;o<u;o++)t[o]._code=li(t[o],e);for(s=0;s<4;s++){for(c=d[s],n=[],o=0,r=(u=t.length)-1;o<u;r=o++)a=t[o],l=t[r],a._code&c?l._code&c||((h=ai(l,a,c,e,i))._code=li(h,e),n.push(h)):(l._code&c&&((h=ai(l,a,c,e,i))._code=li(h,e),n.push(h)),n.push(a));t=n}return t}var mi={__proto__:null,clipPolygon:fi},gi={project:function(t){return new z(t.lng,t.lat)},unproject:function(t){return new F(t.y,t.x)},bounds:new O([-180,-90],[180,90])},vi={R:6378137,R_MINOR:6356752.314245179,bounds:new O([-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,r=Math.sqrt(1-o*o),s=r*Math.sin(n),a=Math.tan(Math.PI/4-n/2)/Math.pow((1-s)/(1+s),r/2);return n=-i*Math.log(Math.max(a,1e-10)),new z(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,r=Math.sqrt(1-o*o),s=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(s),l=0,u=.1;l<15&&Math.abs(u)>1e-7;l++)e=r*Math.sin(a),e=Math.pow((1-e)/(1+e),r/2),a+=u=Math.PI/2-2*Math.atan(s*e)-a;return new F(a*i,t.x*i/n)}},yi={__proto__:null,LonLat:gi,Mercator:vi,SphericalMercator:Z},_i=e({},W,{code:"EPSG:3395",projection:vi,transformation:function(){var t=.5/(Math.PI*vi.R);return G(t,.5,-t,.5)}()}),wi=e({},W,{code:"EPSG:4326",projection:gi,transformation:G(1/180,1,-1/180,.5)}),bi=e({},H,{projection:gi,transformation:G(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,n=e.lat-t.lat;return Math.sqrt(i*i+n*n)},infinite:!0});H.Earth=W,H.EPSG3395=_i,H.EPSG3857=U,H.EPSG900913=Y,H.EPSG4326=wi,H.Simple=bi;var xi=P.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[r(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[r(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var i=this.getEvents();e.on(i,this),this.once("remove",function(){e.off(i,this)},this)}this.onAdd(e),this.fire("add"),e.fire("layeradd",{layer:this})}}});$e.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=r(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=r(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):this},hasLayer:function(t){return r(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?g(t)?t:[t]:[]).length;e<i;e++)this.addLayer(t[e])},_addZoomLimit:function(t){isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[r(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=r(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,i=this._getZoomSpan();for(var n in this._zoomBoundLayers){var o=this._zoomBoundLayers[n].options;t=void 0===o.minZoom?t:Math.min(t,o.minZoom),e=void 0===o.maxZoom?e:Math.max(e,o.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=t===1/0?void 0:t,i!==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)}});var Ti=xi.extend({initialize:function(t,e){var i,n;if(d(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){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],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:function(t){return r(t)}}),Ai=Ti.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Ti.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Ti.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=new B;for(var e in this._layers){var i=this._layers[e];t.extend(i.getBounds?i.getBounds():i.getLatLng())}return t}}),Si=M.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){d(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}var n=this._createImg(i,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(n,t),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n},_setIconStyles:function(t,e){var i=this.options,n=i[e+"Size"];"number"==typeof n&&(n=[n,n]);var o=I(n),r=I("shadow"===e&&i.shadowAnchor||i.iconAnchor||o&&o.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(i.className||""),r&&(t.style.marginLeft=-r.x+"px",t.style.marginTop=-r.y+"px"),o&&(t.style.width=o.x+"px",t.style.height=o.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return Dt.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),Ei=Si.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 Ei.imagePath&&(Ei.imagePath=this._detectIconPath()),(this.options.imagePath||Ei.imagePath)+Si.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){var e=function(t,e,i){var n=e.exec(t);return n&&n[i]};return(t=e(t,/^url\((['"])?(.+)\1\)$/,2))&&e(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=oe("div","leaflet-default-icon-path",document.body),e=ne(t,"background-image")||ne(t,"backgroundImage");if(document.body.removeChild(t),e=this._stripUrl(e))return e;var i=document.querySelector('link[href$="leaflet.css"]');return i?i.href.substring(0,i.href.length-11-1):""}}),Mi=Qe.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new ii(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),ce(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&&he(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,i=e._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,r=ye(e._icon),s=i.getPixelBounds(),a=i.getPixelOrigin(),l=D(s.min._subtract(a).add(o),s.max._subtract(a).subtract(o));if(!l.contains(r)){var u=I((Math.max(l.max.x,r.x)-l.max.x)/(s.max.x-l.max.x)-(Math.min(l.min.x,r.x)-l.min.x)/(s.min.x-l.min.x),(Math.max(l.max.y,r.y)-l.max.y)/(s.max.y-l.max.y)-(Math.min(l.min.y,r.y)-l.min.y)/(s.min.y-l.min.y)).multiplyBy(n);i.panBy(u,{animate:!1}),this._draggable._newPos._add(u),this._draggable._startPos._add(u),ve(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=A(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(S(this._panRequest),this._panRequest=A(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,i=e._shadow,n=ye(e._icon),o=e._map.layerPointToLatLng(n);i&&ve(i,n),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){S(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),Ci=xi.extend({options:{icon:new Ei,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){d(this,e),this._latlng=N(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=N(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(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=t.icon.createIcon(this._icon),n=!1;i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(i.title=t.title),"IMG"===i.tagName&&(i.alt=t.alt||"")),ce(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&&Me(i,"focus",this._panOnFocus,this);var o=t.icon.createShadow(this._shadow),r=!1;o!==this._shadow&&(this._removeShadow(),r=!0),o&&(ce(o,e),o.alt=""),this._shadow=o,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&r&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Pe(this._icon,"focus",this._panOnFocus,this),re(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&re(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&ve(this._icon,t),this._shadow&&ve(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){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(ce(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Mi)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Mi(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&&fe(this._icon,t),this._shadow&&fe(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t=this._map;if(t){var e=this.options.icon.options,i=e.iconSize?I(e.iconSize):I(0,0),n=e.iconAnchor?I(e.iconAnchor):I(0,0);t.panInside(this._latlng,{paddingTopLeft:n,paddingBottomRight:i.subtract(n)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),Pi=xi.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 d(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)}}),Li=Pi.extend({options:{fill:!0,radius:10},initialize:function(t,e){d(this,e),this._latlng=N(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=N(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(),n=[t+i,e+i];this._pxBounds=new O(this._point.subtract(n),this._point.add(n))},_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()}}),zi=Li.extend({initialize:function(t,i,n){if("number"==typeof i&&(i=e({},n,{radius:i})),d(this,i),this._latlng=N(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 B(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Pi.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,i=this._map,n=i.options.crs;if(n.distance===W.distance){var o=Math.PI/180,r=this._mRadius/W.R/o,s=i.project([e+r,t]),a=i.project([e-r,t]),l=s.add(a).divideBy(2),u=i.unproject(l).lat,c=Math.acos((Math.cos(r*o)-Math.sin(e*o)*Math.sin(u*o))/(Math.cos(e*o)*Math.cos(u*o)))/o;(isNaN(c)||0===c)&&(c=r/Math.cos(Math.PI/180*e)),this._point=l.subtract(i.getPixelOrigin()),this._radius=isNaN(c)?0:l.x-i.project([u,t-c]).x,this._radiusY=l.y-s.y}else{var h=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=i.latLngToLayerPoint(this._latlng),this._radius=this._point.x-i.latLngToLayerPoint(h).x}this._updateBounds()}}),ki=Pi.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){d(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,i,n=1/0,o=null,r=ci,s=0,a=this._parts.length;s<a;s++)for(var l=this._parts[s],u=1,c=l.length;u<c;u++){var h=r(t,e=l[u-1],i=l[u],!0);h<n&&(n=h,o=r(t,e,i))}return o&&(o.distance=Math.sqrt(n)),o},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,r,s,a=this._rings[0],l=a.length;if(!l)return null;for(t=0,e=0;t<l-1;t++)e+=a[t].distanceTo(a[t+1])/2;if(0===e)return this._map.layerPointToLatLng(a[0]);for(t=0,n=0;t<l-1;t++)if(o=a[t],r=a[t+1],(n+=i=o.distanceTo(r))>e)return s=(n-e)/i,this._map.layerPointToLatLng([r.x-s*(r.x-o.x),r.y-s*(r.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=N(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new B,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return hi(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],i=hi(t),n=0,o=t.length;n<o;n++)i?(e[n]=N(t[n]),this._bounds.extend(e[n])):e[n]=this._convertLatLngs(t[n]);return e},_project:function(){var t=new O;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(),e=new z(t,t);this._rawPxBounds&&(this._pxBounds=new O([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)]))},_projectLatlngs:function(t,e,i){var n,o,r=t[0]instanceof F,s=t.length;if(r){for(o=[],n=0;n<s;n++)o[n]=this._map.latLngToLayerPoint(t[n]),i.extend(o[n]);e.push(o)}else for(n=0;n<s;n++)this._projectLatlngs(t[n],e,i)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var e,i,n,o,r,s,a,l=this._parts;for(e=0,n=0,o=this._rings.length;e<o;e++)for(i=0,r=(a=this._rings[e]).length;i<r-1;i++)(s=si(a[i],a[i+1],t,i,!0))&&(l[n]=l[n]||[],l[n].push(s[0]),s[1]===a[i+1]&&i!==r-2||(l[n].push(s[1]),n++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,i=0,n=t.length;i<n;i++)t[i]=ni(t[i],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var i,n,o,r,s,a,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(i=0,r=this._parts.length;i<r;i++)for(n=0,o=(s=(a=this._parts[i]).length)-1;n<s;o=n++)if((e||0!==n)&&oi(t,a[o],a[n])<=l)return!0;return!1}});ki._flat=di;var Ii=ki.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,r,s,a,l,u=this._rings[0],c=u.length;if(!c)return null;for(r=s=a=0,t=0,e=c-1;t<c;e=t++)i=u[t],n=u[e],o=i.y*n.x-n.y*i.x,s+=(i.x+n.x)*o,a+=(i.y+n.y)*o,r+=3*o;return l=0===r?u[0]:[s/r,a/r],this._map.layerPointToLatLng(l)},_convertLatLngs:function(t){var e=ki.prototype._convertLatLngs.call(this,t),i=e.length;return i>=2&&e[0]instanceof F&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){ki.prototype._setLatLngs.call(this,t),hi(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return hi(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new z(e,e);if(t=new O(t.min.subtract(i),t.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,r=this._rings.length;o<r;o++)(n=fi(this._rings[o],t,!0)).length&&this._parts.push(n)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,i,n,o,r,s,a,l,u=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,a=this._parts.length;o<a;o++)for(r=0,s=(l=(e=this._parts[o]).length)-1;r<l;s=r++)i=e[r],n=e[s],i.y>t.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(u=!u);return u||ki.prototype._containsPoint.call(this,t,!0)}}),Oi=Ai.extend({initialize:function(t,e){d(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=g(t)?t:t.features;if(o){for(e=0,i=o.length;e<i;e++)((n=o[e]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var r=this.options;if(r.filter&&!r.filter(t))return this;var s=Di(t,r);return s?(s.feature=Wi(t),s.defaultOptions=s.options,this.resetStyle(s),r.onEachFeature&&r.onEachFeature(t,s),this.addLayer(s)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=e({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer(function(e){this._setLayerStyle(e,t)},this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});function Di(t,e){var i,n,o,r,s="Feature"===t.type?t.geometry:t,a=s?s.coordinates:null,l=[],u=e&&e.pointToLayer,c=e&&e.coordsToLatLng||Ri;if(!a&&!s)return null;switch(s.type){case"Point":return Bi(u,t,i=c(a),e);case"MultiPoint":for(o=0,r=a.length;o<r;o++)i=c(a[o]),l.push(Bi(u,t,i,e));return new Ai(l);case"LineString":case"MultiLineString":return n=Fi(a,"LineString"===s.type?0:1,c),new ki(n,e);case"Polygon":case"MultiPolygon":return n=Fi(a,"Polygon"===s.type?1:2,c),new Ii(n,e);case"GeometryCollection":for(o=0,r=s.geometries.length;o<r;o++){var h=Di({geometry:s.geometries[o],type:"Feature",properties:t.properties},e);h&&l.push(h)}return new Ai(l);default:throw new Error("Invalid GeoJSON object.")}}function Bi(t,e,i,n){return t?t(e,i):new Ci(i,n&&n.markersInheritOptions&&n)}function Ri(t){return new F(t[1],t[0],t[2])}function Fi(t,e,i){for(var n,o=[],r=0,s=t.length;r<s;r++)n=e?Fi(t[r],e-1,i):(i||Ri)(t[r]),o.push(n);return o}function Ni(t,e){return void 0!==(t=N(t)).alt?[u(t.lng,e),u(t.lat,e),u(t.alt,e)]:[u(t.lng,e),u(t.lat,e)]}function ji(t,e,i,n){for(var o=[],r=0,s=t.length;r<s;r++)o.push(e?ji(t[r],e-1,i,n):Ni(t[r],n));return!e&&i&&o.push(o[0]),o}function Hi(t,i){return t.feature?e({},t.feature,{geometry:i}):Wi(i)}function Wi(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var qi={toGeoJSON:function(t){return Hi(this,{type:"Point",coordinates:Ni(this.getLatLng(),t)})}};function Zi(t,e){return new Oi(t,e)}Ci.include(qi),zi.include(qi),Li.include(qi),ki.include({toGeoJSON:function(t){var e=!hi(this._latlngs);return Hi(this,{type:(e?"Multi":"")+"LineString",coordinates:ji(this._latlngs,e?1:0,!1,t)})}}),Ii.include({toGeoJSON:function(t){var e=!hi(this._latlngs),i=e&&!hi(this._latlngs[0]),n=ji(this._latlngs,i?2:e?1:0,!0,t);return e||(n=[n]),Hi(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),Ti.include({toMultiPoint:function(t){var e=[];return this.eachLayer(function(i){e.push(i.toGeoJSON(t).geometry.coordinates)}),Hi(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var i="GeometryCollection"===e,n=[];return this.eachLayer(function(e){if(e.toGeoJSON){var o=e.toGeoJSON(t);if(i)n.push(o.geometry);else{var r=Wi(o);"FeatureCollection"===r.type?n.push.apply(n,r.features):n.push(r)}}}),i?Hi(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var $i=Zi,Gi=xi.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=R(e),d(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(ce(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){re(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&&ae(this._image),this},bringToBack:function(){return this._map&&le(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=R(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:oe("img");ce(e,"leaflet-image-layer"),this._zoomAnimated&&ce(e,"leaflet-zoom-animated"),this.options.className&&ce(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onload=n(this.fire,this,"load"),e.onerror=n(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),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;ge(this._image,i,e)},_reset:function(){var t=this._image,e=new O(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();ve(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){fe(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()}}),Vi=Gi.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:oe("video");if(ce(e,"leaflet-image-layer"),this._zoomAnimated&&ce(e,"leaflet-zoom-animated"),this.options.className&&ce(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onloadeddata=n(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),o=[],r=0;r<i.length;r++)o.push(i[r].src);this._url=i.length>0?o:[e.src]}else{g(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 a=oe("source");a.src=this._url[s],e.appendChild(a)}}}}),Ui=Gi.extend({_initImage:function(){var t=this._image=this._url;ce(t,"leaflet-image-layer"),this._zoomAnimated&&ce(t,"leaflet-zoom-animated"),this.options.className&&ce(t,this.options.className),t.onselectstart=l,t.onmousemove=l}}),Yi=xi.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0},initialize:function(t,e){d(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&&fe(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&fe(this._container,1),this.bringToFront(),this.options.interactive&&(ce(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(fe(this._container,0),this._removeTimeout=setTimeout(n(re,void 0,this._container),200)):re(this._container),this.options.interactive&&(he(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=N(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&&ae(this._container),this},bringToBack:function(){return this._map&&le(this._container),this},_prepareOpen:function(t){var e=this._source;if(!e._map)return!1;if(e instanceof Ai){e=null;var i=this._source._layers;for(var n in i)if(i[n]._map){e=i[n];break}if(!e)return!1;this._source=e}if(!t)if(e.getCenter)t=e.getCenter();else if(e.getLatLng)t=e.getLatLng();else{if(!e.getBounds)throw new Error("Unable to get source layer LatLng.");t=e.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(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=I(this.options.offset),i=this._getAnchor();this._zoomAnimated?ve(this._container,t.add(i)):e=e.add(t).add(i);var n=this._containerBottom=-e.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=n+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}});$e.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}}),xi.include({_initOverlay:function(t,e,i,n){var o=i;return o instanceof t?(d(o,n),o._source=this):(o=e&&!n?e:new t(n,this)).setContent(i),o}});var Xi=Yi.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,Yi.prototype.openOn.call(this,t)},onAdd:function(t){Yi.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){Yi.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=Yi.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=oe("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=oe("div",t+"-content-wrapper",e);if(this._contentNode=oe("div",t+"-content",i),Be(e),De(this._contentNode),Me(e,"contextmenu",Oe),this._tipContainer=oe("div",t+"-tip-container",e),this._tip=oe("div",t+"-tip",this._tipContainer),this.options.closeButton){var n=this._closeButton=oe("a",t+"-close-button",e);n.setAttribute("role","button"),n.setAttribute("aria-label","Close popup"),n.href="#close",n.innerHTML='<span aria-hidden="true">×</span>',Me(n,"click",this.close,this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var i=t.offsetWidth;i=Math.min(i,this.options.maxWidth),i=Math.max(i,this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="";var n=t.offsetHeight,o=this.options.maxHeight,r="leaflet-popup-scrolled";o&&n>o?(e.height=o+"px",ce(t,r)):he(t,r),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();ve(this._container,e.add(i))},_adjustPan:function(t){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var e=this._map,i=parseInt(ne(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+i,o=this._containerWidth,r=new z(this._containerLeft,-n-this._containerBottom);r._add(ye(this._container));var s=e.layerPointToContainerPoint(r),a=I(this.options.autoPanPadding),l=I(this.options.autoPanPaddingTopLeft||a),u=I(this.options.autoPanPaddingBottomRight||a),c=e.getSize(),h=0,d=0;s.x+o+u.x>c.x&&(h=s.x+o-c.x+u.x),s.x-h-l.x<0&&(h=s.x-l.x),s.y+n+u.y>c.y&&(d=s.y+n-c.y+u.y),s.y-d-l.y<0&&(d=s.y-l.y),(h||d)&&e.fire("autopanstart").panBy([h,d],{animate:t&&"moveend"===t.type})}},_getAnchor:function(){return I(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});$e.mergeOptions({closePopupOnClick:!0}),$e.include({openPopup:function(t,e,i){return this._initOverlay(Xi,t,e,i).openOn(this),this},closePopup:function(t){return(t=arguments.length?t:this._popup)&&t.close(),this}}),xi.include({bindPopup:function(t,e){return this._popup=this._initOverlay(Xi,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){if(this._popup&&this._map){Fe(t);var 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)}});var Ki=Yi.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){Yi.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){Yi.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=Yi.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=oe("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,i,n=this._map,o=this._container,r=n.latLngToContainerPoint(n.getCenter()),s=n.layerPointToContainerPoint(t),a=this.options.direction,l=o.offsetWidth,u=o.offsetHeight,c=I(this.options.offset),h=this._getAnchor();"top"===a?(e=l/2,i=u):"bottom"===a?(e=l/2,i=0):"center"===a?(e=l/2,i=u/2):"right"===a?(e=0,i=u/2):"left"===a?(e=l,i=u/2):s.x<r.x?(a="right",e=0,i=u/2):(a="left",e=l+2*(c.x+h.x),i=u/2),t=t.subtract(I(e,i,!0)).add(c).add(h),he(o,"leaflet-tooltip-right"),he(o,"leaflet-tooltip-left"),he(o,"leaflet-tooltip-top"),he(o,"leaflet-tooltip-bottom"),ce(o,"leaflet-tooltip-"+a),ve(o,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&fe(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return I(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});$e.include({openTooltip:function(t,e,i){return this._initOverlay(Ki,t,e,i).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),xi.include({bindTooltip:function(t,e){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Ki,this._tooltip,t,e),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var 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,i,n=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),i=this._map.containerPointToLayerPoint(e),n=this._map.layerPointToLatLng(i)),this._tooltip.setLatLng(n)}});var Qi=Si.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var e=t&&"DIV"===t.tagName?t:document.createElement("div"),i=this.options;if(i.html instanceof Element?(se(e),e.appendChild(i.html)):e.innerHTML=!1!==i.html?i.html:"",i.bgPos){var n=I(i.bgPos);e.style.backgroundPosition=-n.x+"px "+-n.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});Si.Default=Ei;var Ji=xi.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Dt.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){d(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),re(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ae(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(le(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(){if(this._map){this._removeAllTiles();var t=this._clampZoom(this._map.getZoom());t!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()}return 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=s(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 z?t:new z(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,i=this.getPane().children,n=-t(-1/0,1/0),o=0,r=i.length;o<r;o++)e=i[o].style.zIndex,i[o]!==this._container&&e&&(n=t(n,+e));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Dt.ielt9){fe(this._container,this.options.opacity);var t=+new Date,e=!1,i=!1;for(var n in this._tiles){var o=this._tiles[n];if(o.current&&o.loaded){var r=Math.min(1,(t-o.loaded)/200);fe(o.el,r),r<1?e=!0:(o.active?i=!0:this._onOpaqueTile(o),o.active=!0)}}i&&!this._noPrune&&this._pruneTiles(),e&&(S(this._fadeFrame),this._fadeFrame=A(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=oe("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)):(re(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=oe("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()),n.el.offsetWidth,this._onCreateLevel(n)),this._level=n,n}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var t,e,i=this._map.getZoom();if(i>this.options.maxZoom||i<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(e=this._tiles[t]).retain=e.current;for(t in this._tiles)if((e=this._tiles[t]).current&&!e.active){var n=e.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.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)re(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 o=Math.floor(t/2),r=Math.floor(e/2),s=i-1,a=new z(+o,+r);a.z=+s;var l=this._tileCoordsToKey(a),u=this._tiles[l];return u&&u.active?(u.retain=!0,!0):(u&&u.loaded&&(u.retain=!0),s>n&&this._retainParent(o,r,s,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var r=2*e;r<2*e+2;r++){var s=new z(o,r);s.z=i+1;var a=this._tileCoordsToKey(s),l=this._tiles[a];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),i+1<n&&this._retainChildren(o,r,i+1,n))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_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);var r=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!r||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var i in this._levels)this._setZoomTransform(this._levels[i],t,e)},_setZoomTransform:function(t,e,i){var n=this._map.getZoomScale(i,t.zoom),o=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e,i)).round();Dt.any3d?ge(t.el,o,n):ve(t.el,o)},_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(),n=e.getZoomScale(i,this._tileZoom),o=e.project(t,this._tileZoom).floor(),r=e.getSize().divideBy(2*n);return new O(o.subtract(r),o.add(r))},_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=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(n),r=o.getCenter(),s=[],a=this.options.keepBuffer,l=new O(o.getBottomLeft().subtract([a,-a]),o.getTopRight().add([a,-a]));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(var u in this._tiles){var c=this._tiles[u].coords;c.z===this._tileZoom&&l.contains(new z(c.x,c.y))||(this._tiles[u].current=!1)}if(Math.abs(i-this._tileZoom)>1)this._setView(t,i);else{for(var h=o.min.y;h<=o.max.y;h++)for(var d=o.min.x;d<=o.max.x;d++){var p=new z(d,h);if(p.z=this._tileZoom,this._isValidTile(p)){var f=this._tiles[this._tileCoordsToKey(p)];f?f.current=!0:s.push(p)}}if(s.sort(function(t,e){return t.distanceTo(r)-e.distanceTo(r)}),0!==s.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;d<s.length;d++)this._addTile(s[d],m);this._level.el.appendChild(m)}}}}},_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;var n=this._tileCoordsToBounds(t);return R(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),o=n.add(i);return[e.unproject(n,t.z),e.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),i=new B(e[0],e[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),i=new z(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(re(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){ce(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=l,t.onmousemove=l,Dt.ielt9&&this.options.opacity<1&&fe(t,this.options.opacity)},_addTile:function(t,e){var i=this._getTilePos(t),o=this._tileCoordsToKey(t),r=this.createTile(this._wrapCoords(t),n(this._tileReady,this,t));this._initTile(r),this.createTile.length<2&&A(n(this._tileReady,this,t,null,r)),ve(r,i),this._tiles[o]={el:r,coords:t,current:!0},e.appendChild(r),this.fire("tileloadstart",{tile:r,coords:t})},_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var o=this._tileCoordsToKey(t);(i=this._tiles[o])&&(i.loaded=+new Date,this._map._fadeAnimated?(fe(i.el,0),S(this._fadeFrame),this._fadeFrame=A(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(ce(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Dt.ielt9||!this._map._fadeAnimated?A(this._pruneTiles,this):setTimeout(n(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new z(this._wrapX?a(t.x,this._wrapX):t.x,this._wrapY?a(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new O(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}}),tn=Ji.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=d(this,e)).detectRetina&&Dt.retina&&e.maxZoom>0&&(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 Me(i,"load",n(this._tileOnLoad,this,e,i)),Me(i,"error",n(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 i={r:Dt.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-t.y;this.options.tms&&(i.y=n),i["-y"]=n}return m(this._url,e(i,this.options))},_tileOnLoad:function(t,e){Dt.ielt9?setTimeout(n(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 this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=l,e.onerror=l,!e.complete)){e.src=y;var i=this._tiles[t].coords;re(e),delete this._tiles[t],this.fire("tileabort",{tile:e,coords:i})}},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",y),Ji.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==y))return Ji.prototype._tileReady.call(this,t,e,i)}});function en(t,e){return new tn(t,e)}var nn=tn.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,i){this._url=t;var n=e({},this.defaultWmsParams);for(var o in i)o in this.options||(n[o]=i[o]);var r=(i=d(this,i)).detectRetina&&Dt.retina?2:1,s=this.getTileSize();n.width=s.x*r,n.height=s.y*r,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,tn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,n=D(i.project(e[0]),i.project(e[1])),o=n.min,r=n.max,s=(this._wmsVersion>=1.3&&this._crs===wi?[o.y,o.x,r.y,r.x]:[o.x,o.y,r.x,r.y]).join(","),a=tn.prototype.getTileUrl.call(this,t);return a+p(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+s},setParams:function(t,i){return e(this.wmsParams,t),i||this.redraw(),this}});tn.WMS=nn,en.wms=function(t,e){return new nn(t,e)};var on=xi.extend({options:{padding:.1},initialize:function(t){d(this,t),r(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&ce(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),r=n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t,e));Dt.any3d?ge(this._container,r,i):ve(this._container,r)},_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 O(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),rn=on.extend({options:{tolerance:0},getEvents:function(){var t=on.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){on.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Me(t,"mousemove",this._onMouseMove,this),Me(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Me(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){S(this._redrawRequest),delete this._ctx,re(this._container),Pe(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(){if(!this._map._animatingZoom||!this._bounds){on.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),n=Dt.retina?2:1;ve(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",Dt.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){on.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[r(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,n=e.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete t._order,delete this._layers[r(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){var e,i,n=t.options.dashArray.split(/[, ]+/),o=[];for(i=0;i<n.length;i++){if(e=Number(n[i]),isNaN(e))return;o.push(e)}t.options._dashArray=o}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||A(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new O,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=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)}else 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=this._redrawBounds;if(this._ctx.save(),e){var i=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,i.x,i.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var i,n,o,r,s=t._parts,a=s.length,l=this._ctx;if(a){for(l.beginPath(),i=0;i<a;i++){for(n=0,o=s[i].length;n<o;n++)r=s[i][n],l[n?"lineTo":"moveTo"](r.x,r.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,i=this._ctx,n=Math.max(Math.round(t._radius),1),o=(Math.max(Math.round(t._radiusY),1)||n)/n;1!==o&&(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){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(he(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,o,r=this._drawFirst;r;r=r.next)(i=r.layer).options.interactive&&i._containsPoint(e)&&(o=i);o!==this._hoveredLayer&&(this._handleMouseOut(t),o&&(ce(this._container,"leaflet-interactive"),this._fireEvent([o],t,"mouseover"),this._hoveredLayer=o)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(n(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(t,e,i){this._map._fireDOMEvent(e,i||e.type,t)},_bringToFront:function(t){var e=t._order;if(e){var i=e.next,n=e.prev;i&&(i.prev=n,n?n.next=i:i&&(this._drawFirst=i),e.prev=this._drawLast,this._drawLast.next=e,e.next=null,this._drawLast=e,this._requestRedraw(t))}},_bringToBack:function(t){var e=t._order;if(e){var i=e.next,n=e.prev;n&&(n.next=i,i?i.prev=n:n&&(this._drawLast=n),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}});function sn(t){return Dt.canvas?new rn(t):null}var an=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">')}}(),ln={_initContainer:function(){this._container=oe("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(on.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=an("shape");ce(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=an("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[r(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;re(e),t.removeInteractiveTarget(e),delete this._layers[r(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=an("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=g(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=an("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){ae(t._container)},_bringToBack:function(t){le(t._container)}},un=Dt.vml?an:X,cn=on.extend({_initContainer:function(){this._container=un("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=un("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){re(this._container),Pe(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){on.prototype._update.call(this);var t=this._bounds,e=t.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),ve(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=un("path");t.options.className&&ce(e,t.options.className),t.options.interactive&&ce(e,"leaflet-interactive"),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){re(t._path),t.removeInteractiveTarget(t._path),delete this._layers[r(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,i=t.options;e&&(i.stroke?(e.setAttribute("stroke",i.color),e.setAttribute("stroke-opacity",i.opacity),e.setAttribute("stroke-width",i.weight),e.setAttribute("stroke-linecap",i.lineCap),e.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?e.setAttribute("stroke-dasharray",i.dashArray):e.removeAttribute("stroke-dasharray"),i.dashOffset?e.setAttribute("stroke-dashoffset",i.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),i.fill?(e.setAttribute("fill",i.fillColor||i.color),e.setAttribute("fill-opacity",i.fillOpacity),e.setAttribute("fill-rule",i.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,K(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 ",o=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(t,o)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){ae(t._path)},_bringToBack:function(t){le(t._path)}});function hn(t){return Dt.svg||Dt.vml?new cn(t):null}Dt.vml&&cn.include(ln),$e.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_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&&sn(t)||hn(t)}});var dn=Ii.extend({initialize:function(t,e){Ii.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=R(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});cn.create=un,cn.pointsToPath=K,Oi.geometryToLayer=Di,Oi.coordsToLatLng=Ri,Oi.coordsToLatLngs=Fi,Oi.latLngToCoords=Ni,Oi.latLngsToCoords=ji,Oi.getFeature=Hi,Oi.asFeature=Wi,$e.mergeOptions({boxZoom:!0});var pn=Qe.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(){Me(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Pe(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){re(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(),Ut(),we(),this._startPoint=this._map.mouseEventToContainerPoint(t),Me(document,{contextmenu:Fe,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=oe("div","leaflet-zoom-box",this._container),ce(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new O(this._point,this._startPoint),i=e.getSize();ve(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(re(this._box),he(this._container,"leaflet-crosshair")),Yt(),be(),Pe(document,{contextmenu:Fe,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(n(this._resetState,this),0);var e=new B(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});$e.addInitHook("addHandler","boxZoom",pn),$e.mergeOptions({doubleClickZoom:!0});var fn=Qe.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,o=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}});$e.addInitHook("addHandler","doubleClickZoom",fn),$e.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var mn=Qe.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new ii(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))}ce(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){he(this._map._container,"leaflet-grab"),he(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=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=R(this._map.options.maxBounds);this._offsetLimit=D(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var 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(;this._positions.length>1&&t-this._times[0]>50;)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(){if(this._viscosity&&this._offsetLimit){var 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,r=(n+e+i)%t-e-i,s=Math.abs(o+i)<Math.abs(r+i)?o:r;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=s},_onDragEnd:function(t){var e=this._map,i=e.options,n=!i.inertia||t.noInertia||this._times.length<2;if(e.fire("dragend",t),n)e.fire("moveend");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),r=(this._lastTime-this._times[0])/1e3,s=i.easeLinearity,a=o.multiplyBy(s/r),l=a.distanceTo([0,0]),u=Math.min(i.inertiaMaxSpeed,l),c=a.multiplyBy(u/l),h=u/(i.inertiaDeceleration*s),d=c.multiplyBy(-h/2).round();d.x||d.y?(d=e._limitOffset(d,e.options.maxBounds),A(function(){e.panBy(d,{duration:h,easeLinearity:s,noMoveStart:!0,animate:!0})})):e.fire("moveend")}}});$e.addInitHook("addHandler","dragging",mn),$e.mergeOptions({keyboard:!0,keyboardPanDelta:80});var gn=Qe.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"),Me(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(),Pe(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(){if(!this._focused){var t=document.body,e=document.documentElement,i=t.scrollTop||e.scrollTop,n=t.scrollLeft||e.scrollLeft;this._map._container.focus(),window.scrollTo(n,i)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e,i,n=this._panKeys={},o=this.keyCodes;for(e=0,i=o.left.length;e<i;e++)n[o.left[e]]=[-1*t,0];for(e=0,i=o.right.length;e<i;e++)n[o.right[e]]=[t,0];for(e=0,i=o.down.length;e<i;e++)n[o.down[e]]=[0,t];for(e=0,i=o.up.length;e<i;e++)n[o.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,i,n=this._zoomKeys={},o=this.keyCodes;for(e=0,i=o.zoomIn.length;e<i;e++)n[o.zoomIn[e]]=t;for(e=0,i=o.zoomOut.length;e<i;e++)n[o.zoomOut[e]]=-t},_addHooks:function(){Me(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Pe(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=I(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)}}});$e.addInitHook("addHandler","keyboard",gn),$e.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var vn=Qe.extend({addHooks:function(){Me(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Pe(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=He(t),i=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var o=Math.max(i-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(n(this._performZoom,this),o),Fe(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),i=this._map.options.zoomSnap||0;t._stop();var n=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,r=i?Math.ceil(o/i)*i:o,s=t._limitZoom(e+(this._delta>0?r:-r))-e;this._delta=0,this._startTime=null,s&&("center"===t.options.scrollWheelZoom?t.setZoom(e+s):t.setZoomAround(this._lastMousePos,e+s))}});$e.addInitHook("addHandler","scrollWheelZoom",vn),$e.mergeOptions({tapHold:Dt.touchNative&&Dt.safari&&Dt.mobile,tapTolerance:15});var yn=Qe.extend({addHooks:function(){Me(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Pe(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),1===t.touches.length){var e=t.touches[0];this._startPos=this._newPos=new z(e.clientX,e.clientY),this._holdTimeout=setTimeout(n(function(){this._cancel(),this._isTapValid()&&(Me(document,"touchend",Re),Me(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))},this),600),Me(document,"touchend touchcancel contextmenu",this._cancel,this),Me(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){Pe(document,"touchend",Re),Pe(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),Pe(document,"touchend touchcancel contextmenu",this._cancel,this),Pe(document,"touchmove",this._onMove,this)},_onMove:function(t){var e=t.touches[0];this._newPos=new z(e.clientX,e.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){var i=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});i._simulated=!0,e.target.dispatchEvent(i)}});$e.addInitHook("addHandler","tapHold",yn),$e.mergeOptions({touchZoom:Dt.touch,bounceAtZoomLimits:!0});var _n=Qe.extend({addHooks:function(){ce(this._map._container,"leaflet-touch-zoom"),Me(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){he(this._map._container,"leaflet-touch-zoom"),Pe(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Me(document,"touchmove",this._onTouchMove,this),Me(document,"touchend touchcancel",this._onTouchEnd,this),Re(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),o=e.mouseEventToContainerPoint(t.touches[1]),r=i.distanceTo(o)/this._startDist;if(this._zoom=e.getScaleZoom(r,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&r<1||this._zoom>e.getMaxZoom()&&r>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===r)return}else{var s=i._add(o)._divideBy(2)._subtract(this._centerPoint);if(1===r&&0===s.x&&0===s.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(s),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),S(this._animRequest);var a=n(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=A(a,this,!0),Re(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,S(this._animRequest),Pe(document,"touchmove",this._onTouchMove,this),Pe(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}});$e.addInitHook("addHandler","touchZoom",_n),$e.BoxZoom=pn,$e.DoubleClickZoom=fn,$e.Drag=mn,$e.Keyboard=gn,$e.ScrollWheelZoom=vn,$e.TapHold=yn,$e.TouchZoom=_n,t.Bounds=O,t.Browser=Dt,t.CRS=H,t.Canvas=rn,t.Circle=zi,t.CircleMarker=Li,t.Class=M,t.Control=Ge,t.DivIcon=Qi,t.DivOverlay=Yi,t.DomEvent=qe,t.DomUtil=Ee,t.Draggable=ii,t.Evented=P,t.FeatureGroup=Ai,t.GeoJSON=Oi,t.GridLayer=Ji,t.Handler=Qe,t.Icon=Si,t.ImageOverlay=Gi,t.LatLng=F,t.LatLngBounds=B,t.Layer=xi,t.LayerGroup=Ti,t.LineUtil=pi,t.Map=$e,t.Marker=Ci,t.Mixin=ti,t.Path=Pi,t.Point=z,t.PolyUtil=mi,t.Polygon=Ii,t.Polyline=ki,t.Popup=Xi,t.PosAnimation=Ze,t.Projection=yi,t.Rectangle=dn,t.Renderer=on,t.SVG=cn,t.SVGOverlay=Ui,t.TileLayer=tn,t.Tooltip=Ki,t.Transformation=$,t.Util=E,t.VideoOverlay=Vi,t.bind=n,t.bounds=D,t.canvas=sn,t.circle=function(t,e,i){return new zi(t,e,i)},t.circleMarker=function(t,e){return new Li(t,e)},t.control=Ve,t.divIcon=function(t){return new Qi(t)},t.extend=e,t.featureGroup=function(t,e){return new Ai(t,e)},t.geoJSON=Zi,t.geoJson=$i,t.gridLayer=function(t){return new Ji(t)},t.icon=function(t){return new Si(t)},t.imageOverlay=function(t,e,i){return new Gi(t,e,i)},t.latLng=N,t.latLngBounds=R,t.layerGroup=function(t,e){return new Ti(t,e)},t.map=function(t,e){return new $e(t,e)},t.marker=function(t,e){return new Ci(t,e)},t.point=I,t.polygon=function(t,e){return new Ii(t,e)},t.polyline=function(t,e){return new ki(t,e)},t.popup=function(t,e){return new Xi(t,e)},t.rectangle=function(t,e){return new dn(t,e)},t.setOptions=d,t.stamp=r,t.svg=hn,t.svgOverlay=function(t,e,i){return new Ui(t,e,i)},t.tileLayer=en,t.tooltip=function(t,e){return new Ki(t,e)},t.transformation=G,t.version="1.8.0",t.videoOverlay=function(t,e,i){return new Vi(t,e,i)};var wn=window.L;t.noConflict=function(){return window.L=wn,this},window.L=t}),function(t){t.fn.justifiedGallery=function(e){var i={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 n(t,e){return-1!==t.indexOf(e,t.length-e.length)}function o(e){var i=t(e.currentTarget).find(".caption");e.data.settings.cssAnimation?i.addClass("caption-visible").removeClass("caption-hidden"):i.stop().fadeTo(e.data.settings.captionSettings.animationDuration,e.data.settings.captionSettings.visibleOpacity)}function r(e){var i=t(e.currentTarget).find(".caption");e.data.settings.cssAnimation?i.removeClass("caption-visible").removeClass("caption-hidden"):i.stop().fadeTo(e.data.settings.captionSettings.animationDuration,e.data.settings.captionSettings.nonVisibleOpacity)}function s(t,e,i){i.settings.cssAnimation?(t.addClass("entry-visible"),e()):t.stop().fadeTo(i.settings.imagesAnimationDuration,1,e)}function a(t,e){e.settings.cssAnimation?t.removeClass("entry-visible"):t.stop().fadeTo(0,0)}function l(t){var e=t.find("> img");return 0===e.length&&(e=t.find("> a > img")),e}function u(e,i,a,u,c,h,d){var p=l(e);p.css("width",u),p.css("height",c),p.css("margin-left",-u/2),p.css("margin-top",-c/2),e.width(u),e.height(h),e.css("top",a),e.css("left",i);var f=p.attr("src"),g=function(t,e,i,o){var r,s,a=t.match(o.settings.extension),l=null!=a?a[0]:"",u=t.replace(o.settings.extension,"");return r=u,s=function(t,e){var i=!1;for(var o in e.settings.sizeRangeSuffixes)if(0!==e.settings.sizeRangeSuffixes[o].length){if(n(t,e.settings.sizeRangeSuffixes[o]))return e.settings.sizeRangeSuffixes[o]}else i=!0;if(i)return"";throw"unknown suffix for "+t}(u,o),u=r.substring(0,r.length-s.length),u+=function(t,e,i){var n;return(n=t>e?t:e)<=100?i.settings.sizeRangeSuffixes.lt100:n<=240?i.settings.sizeRangeSuffixes.lt240:n<=320?i.settings.sizeRangeSuffixes.lt320:n<=500?i.settings.sizeRangeSuffixes.lt500:n<=640?i.settings.sizeRangeSuffixes.lt640:i.settings.sizeRangeSuffixes.lt1024}(e,i,o)+l,u}(f,u,c,d);function v(){f!==g&&p.attr("src",g)}p.one("error",function(){p.attr("src",p.data("jg.originalSrc"))}),"skipped"===p.data("jg.loaded")?m(f,function(){s(e,v,d),p.data("jg.loaded",!0)}):s(e,v,d);var y=e.data("jg.captionMouseEvents");if(!0===d.settings.captions){var _=e.find(".caption");if(0===_.length){var w=p.attr("alt");void 0===w&&(w=e.attr("title")),void 0!==w&&(_=t('<div class="caption">'+w+"</div>"),e.append(_))}0!==_.length&&(d.settings.cssAnimation||_.stop().fadeTo(d.settings.imagesAnimationDuration,d.settings.captionSettings.nonVisibleOpacity),void 0===y&&(y={mouseenter:o,mouseleave:r},e.on("mouseenter",void 0,d,y.mouseenter),e.on("mouseleave",void 0,d,y.mouseleave),e.data("jg.captionMouseEvents",y)))}else void 0!==y&&(e.off("mouseenter",void 0,d,y.mouseenter),e.off("mouseleave",void 0,d,y.mouseleave),e.removeData("jg.captionMouseEvents"))}function c(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,r,s=t.settings,a=t.border;if(r=function(t,e){var i,n,o,r,s,a,u=t.settings,c=!0,h=0,d=t.galleryWidth-2*t.border-(t.buildingRow.entriesBuff.length-1)*u.margins,p=d/t.buildingRow.aspectRatio,f=t.buildingRow.width/d>u.justifyThreshold;if(e&&"hide"===u.lastRow&&!f){for(i=0;i<t.buildingRow.entriesBuff.length;i++)n=t.buildingRow.entriesBuff[i],u.cssAnimation?n.removeClass("entry-visible"):n.stop().fadeTo(0,0);return-1}for(e&&!f&&"nojustify"===u.lastRow&&(c=!1),i=0;i<t.buildingRow.entriesBuff.length;i++)r=(o=l(t.buildingRow.entriesBuff[i])).data("jg.imgw")/o.data("jg.imgh"),c?(s=i===t.buildingRow.entriesBuff.length-1?d:p*r,a=p):(s=u.rowHeight*r,a=u.rowHeight),d-=Math.round(s),o.data("jg.jimgw",Math.round(s)),o.data("jg.jimgh",Math.ceil(a)),(0===i||h>a)&&(h=a);return u.fixedHeight&&h>u.rowHeight&&(h=u.rowHeight),{minHeight:h,justify:c}}(t,e),o=r.minHeight,e&&"hide"===s.lastRow&&-1===o)return t.buildingRow.entriesBuff=[],t.buildingRow.aspectRatio=0,void(t.buildingRow.width=0);s.maxRowHeight>0&&s.maxRowHeight<o?o=s.maxRowHeight:0===s.maxRowHeight&&1.5*s.rowHeight<o&&(o=1.5*s.rowHeight);for(var c=0;c<t.buildingRow.entriesBuff.length;c++)n=l(i=t.buildingRow.entriesBuff[c]),u(i,a,t.offY,n.data("jg.jimgw"),n.data("jg.jimgh"),o,t),a+=n.data("jg.jimgw")+s.margins;t.$gallery.height(t.offY+o+t.border+(t.spinner.active?t.spinner.$el.innerHeight():0)),(!e||o<=t.settings.rowHeight&&r.justify)&&(t.offY+=o+t.settings.margins,t.buildingRow.entriesBuff=[],t.buildingRow.aspectRatio=0,t.buildingRow.width=0,t.$gallery.trigger("jg.rowflush"))}function d(t){t.yield.flushed=0,null!==t.imgAnalyzerTimeout&&clearTimeout(t.imgAnalyzerTimeout)}function p(t,e){d(t),t.imgAnalyzerTimeout=setTimeout(function(){f(t,e)},.001),f(t,e)}function f(e,i){for(var n,o,r=e.settings,s=e.lastAnalyzedIndex+1;s<e.entries.length;s++){var a=t(e.entries[s]),u=l(a);if(!0===u.data("jg.loaded")||"skipped"===u.data("jg.loaded")){n=s>=e.entries.length-1;var c=e.galleryWidth-2*e.border-(e.buildingRow.entriesBuff.length-1)*r.margins,f=u.data("jg.imgw")/u.data("jg.imgh");if(c/(e.buildingRow.aspectRatio+f)<r.rowHeight&&(h(e,n),++e.yield.flushed>=e.yield.every))return void p(e,i);e.buildingRow.entriesBuff.push(a),e.buildingRow.aspectRatio+=f,e.buildingRow.width+=f*r.rowHeight,e.lastAnalyzedIndex=s}else if("error"!==u.data("jg.loaded"))return}e.buildingRow.entriesBuff.length>0&&h(e,!0),e.spinner.active&&(e.spinner.active=!1,e.$gallery.height(e.$gallery.height()-e.spinner.$el.innerHeight()),e.spinner.$el.detach(),o=e.spinner,clearInterval(o.intervalId),o.intervalId=null),d(e),i?e.$gallery.trigger("jg.resize"):e.$gallery.trigger("jg.complete")}function m(e,i,n){if(i||n){var o=new Image,r=t(o);i&&r.one("load",function(){r.off("load error"),i(o)}),n&&r.one("error",function(){r.off("load error"),n(o)}),o.src=e}}return this.each(function(n,o){var r=t(o);r.addClass("justified-gallery");var s=r.data("jg.context");if(void 0===s){if(null!=e&&"object"!=typeof e)throw"The argument must be an object";var u=t('<div class="spinner"><span></span><span></span><span></span></div>'),h=t.extend({},i,e),d=h.border>=0?h.border:h.margins;s={settings:h,imgAnalyzerTimeout:null,entries:null,buildingRow:{entriesBuff:[],width:0,aspectRatio:0},lastAnalyzedIndex:-1,yield:{every:2,flushed:0},border:d,offY:d,spinner:{active:!1,phase:0,timeslot:150,$el:u,$points:u.find("span"),intervalId:null},checkWidthIntervalId:null,galleryWidth:r.width(),$gallery:r},r.data("jg.context",s)}else if("norewind"===e)for(var f=0;f<s.buildingRow.entriesBuff.length;f++)a(s.buildingRow.entriesBuff[f],s);else s.settings=t.extend({},s.settings,e),s.border=s.settings.border>=0?s.settings.border:s.settings.margins,c(s);if(function(t){var e=t.settings;function i(t){if("string"!=typeof e.sizeRangeSuffixes[t])throw"sizeRangeSuffixes."+t+" must be a string"}function n(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 e.sizeRangeSuffixes)throw"sizeRangeSuffixes must be defined and must be an object";if(i("lt100"),i("lt240"),i("lt320"),i("lt500"),i("lt640"),i("lt1024"),n(e,"rowHeight"),n(e,"maxRowHeight"),e.maxRowHeight>0&&e.maxRowHeight<e.rowHeight&&(e.maxRowHeight=e.rowHeight),n(e,"margins"),n(e,"border"),"nojustify"!==e.lastRow&&"justify"!==e.lastRow&&"hide"!==e.lastRow)throw'lastRow must be "nojustify", "justify" or "hide"';if(n(e,"justifyThreshold"),e.justifyThreshold<0||e.justifyThreshold>1)throw"justifyThreshold must be in the interval [0,1]";if("boolean"!=typeof e.cssAnimation)throw"cssAnimation must be a boolean";if(n(e.captionSettings,"animationDuration"),n(e,"imagesAnimationDuration"),n(e.captionSettings,"visibleOpacity"),e.captionSettings.visibleOpacity<0||e.captionSettings.visibleOpacity>1)throw"captionSettings.visibleOpacity must be in the interval [0, 1]";if(n(e.captionSettings,"nonVisibleOpacity"),e.captionSettings.visibleOpacity<0||e.captionSettings.visibleOpacity>1)throw"captionSettings.nonVisibleOpacity must be in the interval [0, 1]";if("boolean"!=typeof e.fixedHeight)throw"fixedHeight must be a boolean";if("boolean"!=typeof e.captions)throw"captions must be a boolean";if(n(e,"refreshTime"),"boolean"!=typeof e.randomize)throw"randomize must be a boolean"}(s),s.entries=r.find("> a, > div:not(.spinner)").toArray(),0!==s.entries.length){s.settings.randomize&&(s.entries.sort(function(){return 2*Math.random()-1}),t.each(s.entries,function(){t(this).appendTo(r)}));var g=!1,v=!1;t.each(s.entries,function(e,i){var n,o=t(i),a=l(o);if(o.addClass("jg-entry"),!0!==a.data("jg.loaded")&&"skipped"!==a.data("jg.loaded")){null!==s.settings.rel&&o.attr("rel",s.settings.rel),null!==s.settings.target&&o.attr("target",s.settings.target);var u=void 0!==a.data("safe-src")?a.data("safe-src"):a.attr("src");a.data("jg.originalSrc",u),a.attr("src",u);var c=parseInt(a.attr("width"),10),h=parseInt(a.attr("height"),10);if(!0!==s.settings.waitThumbnailsLoad&&!isNaN(c)&&!isNaN(h))return a.data("jg.imgw",c),a.data("jg.imgh",h),a.data("jg.loaded","skipped"),v=!0,p(s,!1),!0;a.data("jg.loaded",!1),g=!0,!1===s.spinner.active&&(s.spinner.active=!0,r.append(s.spinner.$el),r.height(s.offY+s.spinner.$el.innerHeight()),n=s.spinner,clearInterval(n.intervalId),n.intervalId=setInterval(function(){n.phase<n.$points.length?n.$points.eq(n.phase).fadeTo(n.timeslot,1):n.$points.eq(n.phase-n.$points.length).fadeTo(n.timeslot,0),n.phase=(n.phase+1)%(2*n.$points.length)},n.timeslot)),m(u,function(t){a.data("jg.imgw",t.width),a.data("jg.imgh",t.height),a.data("jg.loaded",!0),p(s,!1)},function(){a.data("jg.loaded","error"),p(s,!1)})}}),g||v||p(s,!1),function(t){t.checkWidthIntervalId=setInterval(function(){var e=parseInt(t.$gallery.width(),10);t.galleryWidth!==e&&(t.galleryWidth=e,c(t),p(t,!0))},t.settings.refreshTime)}(s)}})}}(jQuery),function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";var i=Array.prototype.slice,n=t.console,o=void 0===n?function(){}:function(t){n.error(t)};function r(n,r,a){(a=a||e||t.jQuery)&&(r.prototype.option||(r.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[n]=function(t){var e,s,l,u,c,h;return"string"==typeof t?(s=this,l=t,u=i.call(arguments,1),h="$()."+n+'("'+l+'")',s.each(function(t,e){var i=a.data(e,n);if(i){var r=i[l];if(r&&"_"!=l.charAt(0)){var s=r.apply(i,u);c=void 0===c?s:c}else o(h+" is not a valid method")}else o(n+" not initialized. Cannot call methods, i.e. "+h)}),void 0!==c?c:s):(e=t,this.each(function(t,i){var o=a.data(i,n);o?(o.option(e),o._init()):(o=new r(i,e),a.data(i,n,o))}),this)},s(a))}function s(t){!t||t&&t.bridget||(t.bridget=r)}return s(e||t.jQuery),r}),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){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,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 r=i[o];n&&n[r]&&(this.off(t,r),delete n[r]),r.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 t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],n=i.length;function o(t){var i=getComputedStyle(t);return i||e("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),i}var r,s=!1;return function e(a){if(function(){if(!s){s=!0;var i=document.createElement("div");i.style.width="200px",i.style.padding="1px 2px 3px 4px",i.style.borderStyle="solid",i.style.borderWidth="1px 2px 3px 4px",i.style.boxSizing="border-box";var n=document.body||document.documentElement;n.appendChild(i);var a=o(i);r=200==Math.round(t(a.width)),e.isBoxSizeOuter=r,n.removeChild(i)}}(),"string"==typeof a&&(a=document.querySelector(a)),a&&"object"==typeof a&&a.nodeType){var l=o(a);if("none"==l.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<n;e++)t[i[e]]=0;return t}();var u={};u.width=a.offsetWidth,u.height=a.offsetHeight;for(var c=u.isBorderBox="border-box"==l.boxSizing,h=0;h<n;h++){var d=i[h],p=l[d],f=parseFloat(p);u[d]=isNaN(f)?0:f}var m=u.paddingLeft+u.paddingRight,g=u.paddingTop+u.paddingBottom,v=u.marginLeft+u.marginRight,y=u.marginTop+u.marginBottom,_=u.borderLeftWidth+u.borderRightWidth,w=u.borderTopWidth+u.borderBottomWidth,b=c&&r,x=t(l.width);!1!==x&&(u.width=x+(b?0:m+_));var T=t(l.height);return!1!==T&&(u.height=T+(b?0:g+w)),u.innerWidth=u.width-(m+_),u.innerHeight=u.height-(g+w),u.outerWidth=u.width+v,u.outerHeight=u.height+y,u}}}),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 t=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(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},n=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(function(t){return"object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName}(t))if(n){e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}else o.push(t)}),o},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var r=i.toDashed(n),s="data-"+r,a=document.querySelectorAll("["+s+"]"),l=document.querySelectorAll(".js-"+r),u=i.makeArray(a).concat(i.makeArray(l)),c=s+"-options",h=t.jQuery;u.forEach(function(t){var i,r=t.getAttribute(s)||t.getAttribute(c);try{i=r&&JSON.parse(r)}catch(l){return void(o&&o.error("Error parsing "+s+" on "+t.className+": "+l))}var a=new e(t,i);h&&h.data(t,n,a)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";var i=document.documentElement.style,n="string"==typeof i.transition?"transition":"WebkitTransition",o="string"==typeof i.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],s={transform:o,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"};function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var l=a.prototype=Object.create(t.prototype);l.constructor=a,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.getSize=function(){this.size=e(this.element)},l.css=function(t){var e=this.element.style;for(var i in t)e[s[i]||i]=t[i]},l.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],r=parseFloat(n),s=parseFloat(o),a=this.layout.size;-1!=n.indexOf("%")&&(r=r/100*a.width),-1!=o.indexOf("%")&&(s=s/100*a.height),r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=e?a.paddingLeft:a.paddingRight,s-=i?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},l.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var l=n?"paddingTop":"paddingBottom",u=n?"top":"bottom",c=n?"bottom":"top",h=this.position.y+t[l];e[u]=this.getYValue(h),e[c]="",this.css(e),this.emitEvent("layout",[this])},l.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},l.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},l._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!o||this.isTransitioning){var r=t-i,s=e-n,a={};a.transform=this.getTranslate(r,s),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},l.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},l.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},l._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},l.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);t.from&&(this.css(t.from),this.element.offsetHeight),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var u="opacity,"+o.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});l.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:u,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1)}},l.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},l.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};l.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=c[t.propertyName]||t.propertyName;delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(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])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},l._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var h={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(h)},l.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},l.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})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},l.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})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,r){return e(t,i,n,o,r)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o){"use strict";var r=t.console,s=t.jQuery,a=function(){},l=0,u={};function c(t,e){var i=n.getQueryElement(t);if(i){this.element=i,s&&(this.$element=s(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++l;this.element.outlayerGUID=o,u[o]=this,this._create(),this._getOption("initLayout")&&this.layout()}else r&&r.error("Bad element for "+this.constructor.namespace+": "+(i||t))}c.namespace="outlayer",c.Item=o,c.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var h=c.prototype;function d(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}n.extend(h,e.prototype),h.option=function(t){n.extend(this.options,t)},h._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},c.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=new i(e[o],this);n.push(r)}return n},h._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},h.getItemElements=function(){return this.items.map(function(t){return t.element})},h.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},h._init=h.layout,h._resetLayout=function(){this.getSize()},h.getSize=function(){this.size=i(this.element)},h._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&&(n=o),this[t]=n?i(n)[e]:o):this[t]=0},h.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},h._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},h._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},h._getItemLayoutPosition=function(){return{x:0,y:0}},h._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},h.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],n=e&&e[2];return i.length?(i=parseFloat(i))*(p[n]||1):0}(t),this.stagger;this.stagger=0},h._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},h._getContainerSize=a,h._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},h._emitCompleteOnItems=function(t,e){var i=this;function n(){i.dispatchEvent(t+"Complete",null,[e])}var o=e.length;if(e&&o){var r=0;e.forEach(function(e){e.once(t,s)})}else n();function s(){++r==o&&n()}},h.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),s)if(this.$element=this.$element||s(this.element),e){var o=s.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},h.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},h.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},h.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},h.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},h._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),n.makeArray(t)},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},h._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},h._manageStamp=a,h._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t);return{left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom}},h.handleEvent=n.handleEvent,h.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},h.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},h.onresize=function(){this.resize()},n.debounceMethod(c,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},h.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},h.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},h.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},h.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},h.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},h.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},h.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},h.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},h.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},h.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},h.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete u[e],delete this.element.outlayerGUID,s&&s.removeData(this.element,this.constructor.namespace)},c.data=function(t){var e=(t=n.getQueryElement(t))&&t.outlayerGUID;return e&&u[e]},c.create=function(t,e){var i=d(c);return i.defaults=n.extend({},c.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},c.compatOptions),i.namespace=t,i.data=c.data,i.Item=d(o),n.htmlInit(i,t),s&&s.bridget&&s.bridget(t,i),i};var p={ms:1,s:1e3};return c.Item=o,c}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.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)}var i=e.prototype=Object.create(t.Item.prototype),n=i._create;i._create=function(){this.id=this.layout.itemGUID++,n.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var n=e[i];this.sortData[i]=n(this.element,this)}}};var o=i.destroy;return i.destroy=function(){o.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var n=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){n[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),n.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},n._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},n.getColumnWidth=function(){this.getSegmentSize("column","Width")},n.getRowHeight=function(){this.getSegmentSize("row","Height")},n.getSegmentSize=function(t,e){var i=t+e,n="outer"+e;if(this._getMeasurement(i,n),!this[i]){var o=this.getFirstItemSize();this[i]=o&&o[n]||this.isotope.size["inner"+e]}},n.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},n.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},n.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function o(){i.apply(this,arguments)}return o.prototype=Object.create(n),o.prototype.constructor=o,e&&(o.options=e),o.prototype.namespace=t,i.modes[t]=o,o},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var n=i.prototype;return n._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},n.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/n,s=n-o%n;r=Math[s&&s<1?"round":"floor"](r),this.cols=Math.max(r,1)},n.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},n._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var n=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),o={x:this.columnWidth*n.col,y:n.y},r=n.y+t.size.outerHeight,s=i+n.col,a=n.col;a<s;a++)this.colYs[a]=r;return o},n._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},n._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++)e[n]=this._getColGroupY(n,t);return e},n._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},n._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=t>1&&i+t>this.cols?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft")?n.left:n.right,r=o+i.outerWidth,s=Math.floor(o/this.columnWidth);s=Math.max(0,s);var a=Math.floor(r/this.columnWidth);a-=r%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,u=s;u<=a;u++)this.colYs[u]=Math.max(l,this.colYs[u])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.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.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var r in e.prototype)o[r]||(n[r]=e.prototype[r]);var s=n.measureColumns;n.measureColumns=function(){this.items=this.isotope.filteredItems,s.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/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";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._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}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(i,n,o,r,s,a){return e(t,i,0,o,r,s,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,n,o,r,s){var a=t.jQuery,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},u=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});u.Item=r,u.LayoutMode=s;var c=u.prototype;c._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],s.modes)this._initLayoutMode(t)},c.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},c._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++)t[i].id=this.itemGUID++;return this._updateItemsSortData(t),t},c._initLayoutMode=function(t){var e=s.modes[t],i=this.options[t]||{};this.options[t]=e.options?o.extend(e.options,i):i,this.modes[t]=new e(this)},c.layout=function(){this._isLayoutInited||!this._getOption("initLayout")?this._layout():this.arrange()},c._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},c.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},c._init=c.arrange,c._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},c._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},c._bindArrangeComplete=function(){var t,e,i,n=this;function o(){t&&e&&i&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}this.once("layoutComplete",function(){t=!0,o()}),this.once("hideComplete",function(){e=!0,o()}),this.once("revealComplete",function(){i=!0,o()})},c._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],n=[],o=[],r=this._getFilterTest(e),s=0;s<t.length;s++){var a=t[s];if(!a.isIgnored){var l=r(a);l&&i.push(a),l&&a.isHidden?n.push(a):l||a.isHidden||o.push(a)}}return{matches:i,needReveal:n,needHide:o}},c._getFilterTest=function(t){return a&&this.options.isJQueryFiltering?function(e){return a(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return n(e.element,t)}},c.updateSortData=function(t){var e;t?(t=o.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},c._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=h(i)}},c._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].updateSortData()};var h=function(t){if("string"!=typeof t)return t;var e=l(t).split(" "),i=e[0],n=i.match(/^\[(.+)\]$/),o=function(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}(n&&n[1],i),r=u.sortDataParsers[e[1]];return r?function(t){return t&&r(o(t))}:function(t){return t&&o(t)}};u.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},c._sort=function(){if(this.options.sortBy){var t=o.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=function(t,e){return function(i,n){for(var o=0;o<t.length;o++){var r=t[o],s=i.sortData[r],a=n.sortData[r];if(s>a||s<a)return(s>a?1:-1)*((void 0!==e[r]?e[r]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},c._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},c._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},c._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},c._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},c._manageStamp=function(t){this._mode()._manageStamp(t)},c._getContainerSize=function(){return this._mode()._getContainerSize()},c.needsResizeLayout=function(){return this._mode().needsResizeLayout()},c.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},c.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},c._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},c.insert=function(t){var e=this.addItems(t);if(e.length){var i,n,o=e.length;for(i=0;i<o;i++)n=e[i],this.element.appendChild(n.element);var r=this._filter(e).matches;for(i=0;i<o;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<o;i++)delete e[i].isLayoutInstant;this.reveal(r)}};var d=c.remove;return c.remove=function(t){t=o.makeArray(t);var e=this.getItems(t);d.call(this,t);for(var i=e&&e.length,n=0;i&&n<i;n++){var r=e[n];o.removeFrom(this.filteredItems,r)}},c.shuffle=function(){for(var t=0;t<this.items.length;t++)this.items[t].sortData.random=Math.random();this.options.sortBy="random",this._sort(),this._layout()},c._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var n=t.apply(this,e);return this.options.transitionDuration=i,n},c.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},u}),function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";var i=Array.prototype.slice,n=t.console,o=void 0===n?function(){}:function(t){n.error(t)};function r(n,r,a){(a=a||e||t.jQuery)&&(r.prototype.option||(r.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[n]=function(t){var e,s,l,u,c,h;return"string"==typeof t?(s=this,l=t,u=i.call(arguments,1),h="$()."+n+'("'+l+'")',s.each(function(t,e){var i=a.data(e,n);if(i){var r=i[l];if(r&&"_"!=l.charAt(0)){var s=r.apply(i,u);c=void 0===c?s:c}else o(h+" is not a valid method")}else o(n+" not initialized. Cannot call methods, i.e. "+h)}),void 0!==c?c:s):(e=t,this.each(function(t,i){var o=a.data(i,n);o?(o.option(e),o._init()):(o=new r(i,e),a.data(i,n,o))}),this)},s(a))}function s(t){!t||t&&t.bridget||(t.bridget=r)}return s(e||t.jQuery),r}),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 t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],n=i.length;function o(t){var i=getComputedStyle(t);return i||e("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),i}var r,s=!1;return function e(a){if(function(){if(!s){s=!0;var i=document.createElement("div");i.style.width="200px",i.style.padding="1px 2px 3px 4px",i.style.borderStyle="solid",i.style.borderWidth="1px 2px 3px 4px",i.style.boxSizing="border-box";var n=document.body||document.documentElement;n.appendChild(i);var a=o(i);r=200==Math.round(t(a.width)),e.isBoxSizeOuter=r,n.removeChild(i)}}(),"string"==typeof a&&(a=document.querySelector(a)),a&&"object"==typeof a&&a.nodeType){var l=o(a);if("none"==l.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<n;e++)t[i[e]]=0;return t}();var u={};u.width=a.offsetWidth,u.height=a.offsetHeight;for(var c=u.isBorderBox="border-box"==l.boxSizing,h=0;h<n;h++){var d=i[h],p=l[d],f=parseFloat(p);u[d]=isNaN(f)?0:f}var m=u.paddingLeft+u.paddingRight,g=u.paddingTop+u.paddingBottom,v=u.marginLeft+u.marginRight,y=u.marginTop+u.marginBottom,_=u.borderLeftWidth+u.borderRightWidth,w=u.borderTopWidth+u.borderBottomWidth,b=c&&r,x=t(l.width);!1!==x&&(u.width=x+(b?0:m+_));var T=t(l.height);return!1!==T&&(u.height=T+(b?0:g+w)),u.innerWidth=u.width-(m+_),u.innerHeight=u.height-(g+w),u.outerWidth=u.width+v,u.outerHeight=u.height+y,u}}}),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){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,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 r=i[o];n&&n[r]&&(this.off(t,r),delete n[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),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 t=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(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},n=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(function(t){return"object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName}(t))if(n){e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}else o.push(t)}),o},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var r=i.toDashed(n),s="data-"+r,a=document.querySelectorAll("["+s+"]"),l=document.querySelectorAll(".js-"+r),u=i.makeArray(a).concat(i.makeArray(l)),c=s+"-options",h=t.jQuery;u.forEach(function(t){var i,r=t.getAttribute(s)||t.getAttribute(c);try{i=r&&JSON.parse(r)}catch(l){return void(o&&o.error("Error parsing "+s+" on "+t.className+": "+l))}var a=new e(t,i);h&&h.data(t,n,a)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";var i=document.documentElement.style,n="string"==typeof i.transition?"transition":"WebkitTransition",o="string"==typeof i.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],s={transform:o,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"};function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var l=a.prototype=Object.create(t.prototype);l.constructor=a,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.getSize=function(){this.size=e(this.element)},l.css=function(t){var e=this.element.style;for(var i in t)e[s[i]||i]=t[i]},l.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],r=parseFloat(n),s=parseFloat(o),a=this.layout.size;-1!=n.indexOf("%")&&(r=r/100*a.width),-1!=o.indexOf("%")&&(s=s/100*a.height),r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=e?a.paddingLeft:a.paddingRight,s-=i?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},l.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var l=n?"paddingTop":"paddingBottom",u=n?"top":"bottom",c=n?"bottom":"top",h=this.position.y+t[l];e[u]=this.getYValue(h),e[c]="",this.css(e),this.emitEvent("layout",[this])},l.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},l.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},l._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!o||this.isTransitioning){var r=t-i,s=e-n,a={};a.transform=this.getTranslate(r,s),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},l.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},l.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},l._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},l.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);t.from&&(this.css(t.from),this.element.offsetHeight),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var u="opacity,"+o.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});l.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:u,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1)}},l.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},l.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};l.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=c[t.propertyName]||t.propertyName;delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(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])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},l._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var h={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(h)},l.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},l.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})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},l.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})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,r){return e(t,i,n,o,r)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o){"use strict";var r=t.console,s=t.jQuery,a=function(){},l=0,u={};function c(t,e){var i=n.getQueryElement(t);if(i){this.element=i,s&&(this.$element=s(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++l;this.element.outlayerGUID=o,u[o]=this,this._create(),this._getOption("initLayout")&&this.layout()}else r&&r.error("Bad element for "+this.constructor.namespace+": "+(i||t))}c.namespace="outlayer",c.Item=o,c.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var h=c.prototype;function d(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}n.extend(h,e.prototype),h.option=function(t){n.extend(this.options,t)},h._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},c.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=new i(e[o],this);n.push(r)}return n},h._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},h.getItemElements=function(){return this.items.map(function(t){return t.element})},h.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},h._init=h.layout,h._resetLayout=function(){this.getSize()},h.getSize=function(){this.size=i(this.element)},h._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&&(n=o),this[t]=n?i(n)[e]:o):this[t]=0},h.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},h._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},h._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},h._getItemLayoutPosition=function(){return{x:0,y:0}},h._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},h.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],n=e&&e[2];return i.length?(i=parseFloat(i))*(p[n]||1):0}(t),this.stagger;this.stagger=0},h._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},h._getContainerSize=a,h._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},h._emitCompleteOnItems=function(t,e){var i=this;function n(){i.dispatchEvent(t+"Complete",null,[e])}var o=e.length;if(e&&o){var r=0;e.forEach(function(e){e.once(t,s)})}else n();function s(){++r==o&&n()}},h.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),s)if(this.$element=this.$element||s(this.element),e){var o=s.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},h.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},h.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},h.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},h.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},h._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),n.makeArray(t)},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},h._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},h._manageStamp=a,h._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t);return{left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom}},h.handleEvent=n.handleEvent,h.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},h.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},h.onresize=function(){this.resize()},n.debounceMethod(c,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},h.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},h.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},h.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},h.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},h.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},h.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},h.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},h.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},h.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},h.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},h.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete u[e],delete this.element.outlayerGUID,s&&s.removeData(this.element,this.constructor.namespace)},c.data=function(t){var e=(t=n.getQueryElement(t))&&t.outlayerGUID;return e&&u[e]},c.create=function(t,e){var i=d(c);return i.defaults=n.extend({},c.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},c.compatOptions),i.namespace=t,i.data=c.data,i.Item=d(o),n.htmlInit(i,t),s&&s.bridget&&s.bridget(t,i),i};var p={ms:1,s:1e3};return c.Item=o,c}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/rect",e):"object"==typeof module&&module.exports?module.exports=e():(t.Packery=t.Packery||{},t.Packery.Rect=e())}(window,function(){"use strict";function t(e){for(var i in t.defaults)this[i]=t.defaults[i];for(i in e)this[i]=e[i]}t.defaults={x:0,y:0,width:0,height:0};var e=t.prototype;return e.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},e.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},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,n=[],o=this.x+this.width,r=this.y+this.height,s=e.x+e.width,a=e.y+e.height;return this.y<e.y&&(i=new t({x:this.x,y:this.y,width:this.width,height:e.y-this.y}),n.push(i)),o>s&&(i=new t({x:s,y:this.y,width:o-s,height:this.height}),n.push(i)),r>a&&(i=new t({x:this.x,y:a,width:this.width,height:r-a}),n.push(i)),this.x<e.x&&(i=new t({x:this.x,y:this.y,width:e.x-this.x,height:this.height}),n.push(i)),n},e.canFit=function(t){return this.width>=t.width&&this.height>=t.height},t}),function(t,e){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],e);else if("object"==typeof module&&module.exports)module.exports=e(require("./rect"));else{var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}}(window,function(t){"use strict";function e(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=e.prototype;i.reset=function(){this.spaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=n[this.sortDirection]||n.downwardLeftToRight},i.pack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.canFit(t)){this.placeInSpace(t,i);break}}},i.columnPack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.x<=t.x&&i.x+i.width>=t.x+t.width&&i.height>=t.height-.01){t.y=i.y,this.placed(t);break}}},i.rowPack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.y<=t.y&&i.y+i.height>=t.y+t.height&&i.width>=t.width-.01){t.x=i.x,this.placed(t);break}}},i.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},i.placed=function(t){for(var e=[],i=0;i<this.spaces.length;i++){var n=this.spaces[i],o=n.getMaximalFreeRects(t);o?e.push.apply(e,o):e.push(n)}this.spaces=e,this.mergeSortSpaces()},i.mergeSortSpaces=function(){e.mergeRects(this.spaces),this.spaces.sort(this.sorter)},i.addSpace=function(t){this.spaces.push(t),this.mergeSortSpaces()},e.mergeRects=function(t){var e=0,i=t[e];t:for(;i;){for(var n=0,o=t[e+n];o;){if(o==i)n++;else{if(o.contains(i)){t.splice(e,1),i=t[e];continue t}i.contains(o)?t.splice(e+n,1):n++}o=t[e+n]}i=t[++e]}return t};var n={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 e}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/item",["outlayer/outlayer","./rect"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("./rect")):t.Packery.Item=e(t.Outlayer,t.Packery.Rect)}(window,function(t,e){"use strict";var i="string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform",n=function(){t.Item.apply(this,arguments)},o=n.prototype=Object.create(t.Item.prototype),r=o._create;o._create=function(){r.call(this),this.rect=new e};var s=o.moveTo;return o.moveTo=function(t,e){var i=Math.abs(this.position.x-t),n=Math.abs(this.position.y-e);this.layout.dragItemCount&&!this.isPlacing&&!this.isTransitioning&&i<1&&n<1?this.goTo(t,e):s.apply(this,arguments)},o.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style[i]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},o.disablePlacing=function(){this.isPlacing=!1},o.removeElem=function(){var t=this.element.parentNode;t&&t.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},o.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",t.style.position="absolute"),t.style.width=this.size.width+"px",t.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(t)},o.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},o.hideDropPlaceholder=function(){var t=this.dropPlaceholder.parentNode;t&&t.removeChild(this.dropPlaceholder)},n}),function(t,e){"function"==typeof define&&define.amd?define(["get-size/get-size","outlayer/outlayer","packery/js/rect","packery/js/packer","packery/js/item"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(t,e,i,n,o){"use strict";i.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var r=e.create("packery");r.Item=o;var s=r.prototype;function a(t,e){return t.position.y-e.position.y||t.position.x-e.position.x}function l(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}s._create=function(){e.prototype._create.call(this),this.packer=new n,this.shiftPacker=new n,this.isEnabled=!0,this.dragItemCount=0;var t=this;this.handleDraggabilly={dragStart:function(){t.itemDragStart(this.element)},dragMove:function(){t.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){t.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,i){i&&t.itemDragStart(e.currentTarget)},drag:function(e,i){i&&t.itemDragMove(e.currentTarget,i.position.left,i.position.top)},stop:function(e,i){i&&t.itemDragEnd(e.currentTarget)}}},s._resetLayout=function(){var t,e,i;this.getSize(),this._getMeasurements(),this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,i="rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,i="downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=i,this.packer.reset(),this.maxY=0,this.maxX=0},s._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},s._getItemLayoutPosition=function(t){if(this._setRectSize(t.element,t.rect),this.isShifting||this.dragItemCount>0){var e=this._getPackMethod();this.packer[e](t.rect)}else this.packer.pack(t.rect);return this._setMaxXY(t.rect),t.rect},s.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},s._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},s._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},s._setRectSize=function(e,i){var n=t(e),o=n.outerWidth,r=n.outerHeight;(o||r)&&(o=this._applyGridGutter(o,this.columnWidth),r=this._applyGridGutter(r,this.rowHeight)),i.width=Math.min(o,this.packer.width),i.height=Math.min(r,this.packer.height)},s._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},s._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},s._manageStamp=function(t){var e,n=this.getItem(t);if(n&&n.isPlacing)e=n.rect;else{var o=this._getElementOffset(t);e=new i({x:this._getOption("originLeft")?o.left:o.right,y:this._getOption("originTop")?o.top:o.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},s.sortItemsByPosition=function(){var t=this._getOption("horizontal")?l:a;this.items.sort(t)},s.fit=function(t,e,i){var n=this.getItem(t);n&&(this.stamp(n.element),n.enablePlacing(),this.updateShiftTargets(n),e=void 0===e?n.rect.x:e,i=void 0===i?n.rect.y:i,this.shift(n,e,i),this._bindFitEvents(n),n.moveTo(n.rect.x,n.rect.y),this.shiftLayout(),this.unstamp(n.element),this.sortItemsByPosition(),n.disablePlacing())},s._bindFitEvents=function(t){var e=this,i=0;function n(){2==++i&&e.dispatchEvent("fitComplete",null,[t])}t.once("layout",n),this.once("layoutComplete",n)},s.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},s.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[i]!=this.size[i]},s.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),n=i?"y":"x",o=i?"height":"width",r=i?"rowHeight":"columnWidth",s=i?"innerHeight":"innerWidth",a=this[r];if(a=a&&a+this.gutter){this._getMeasurements();var l=this[r]+this.gutter;e.forEach(function(t){var e=Math.round(t.rect[n]/a);t.rect[n]=e*l})}else{var u=t(this.element)[s]+this.gutter,c=this.packer[o];e.forEach(function(t){t.rect[n]=t.rect[n]/c*u})}this.shiftLayout()},s.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},s.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var e=this._getOption("originLeft"),n=this._getOption("originTop");this.stamps.forEach(function(t){var o=this.getItem(t);if(!o||!o.isPlacing){var r=this._getElementOffset(t),s=new i({x:e?r.left:r.right,y:n?r.top:r.bottom});this._setRectSize(t,s),this.shiftPacker.placed(s)}},this);var o,r=this._getOption("horizontal"),s=r?"rowHeight":"columnWidth",a=r?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var l=this[s];if(l=l&&l+this.gutter){var u=Math.ceil(t.rect[a]/l),c=Math.floor((this.shiftPacker[a]+this.gutter)/l);o=(c-u)*l;for(var h=0;h<c;h++){var d=r?0:h*l,p=r?h*l:0;this._addShiftTarget(d,p,o)}}else o=this.shiftPacker[a]+this.gutter-t.rect[a],this._addShiftTarget(0,0,o);var f=this._getItemsForLayout(this.items),m=this._getPackMethod();f.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[m](e),this._addShiftTarget(e.x,e.y,o);var i=r?e.x+e.width:e.x,n=r?e.y:e.y+e.height;if(this._addShiftTarget(i,n,o),l)for(var s=Math.round(e[a]/l),u=1;u<s;u++){var c=r?i:e.x+l*u,h=r?e.y+l*u:n;this._addShiftTarget(c,h,o)}},this)},s._addShiftTarget=function(t,e,i){var n=this._getOption("horizontal")?e:t;if(!(0!==n&&n>i)){var o=t+","+e;-1!=this.shiftTargetKeys.indexOf(o)||(this.shiftTargetKeys.push(o),this.shiftTargets.push({x:t,y:e}))}},s.shift=function(t,e,i){var n,o=1/0,r={x:e,y:i};this.shiftTargets.forEach(function(t){var e,i,s,a,l=(s=(i=r).x-(e=t).x,a=i.y-e.y,Math.sqrt(s*s+a*a));l<o&&(n=t,o=l)}),t.rect.x=n.x,t.rect.y=n.y},s.itemDragMove=function(t,e,i){var n=this.isEnabled&&this.getItem(t);if(n){e-=this.size.paddingLeft,i-=this.size.paddingTop;var o=this,r=new Date;this._itemDragTime&&r-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(s,120)):(s(),this._itemDragTime=r)}function s(){o.shift(n,e,i),n.positionDropPlaceholder(),o.layout()}},s.itemDragEnd=function(t){var e=this.isEnabled&&this.getItem(t);if(e){clearTimeout(this.dragTimeout),e.element.classList.add("is-positioning-post-drag");var i=0,n=this;e.once("layout",o),this.once("layoutComplete",o),e.moveTo(e.rect.x,e.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),e.disablePlacing(),this.unstamp(e.element)}function o(){2==++i&&(e.element.classList.remove("is-positioning-post-drag"),e.hideDropPlaceholder(),n.dispatchEvent("dragItemPositioned",null,[e]))}},s.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},s.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},s._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},s.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},s.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},s._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var u=s.destroy;return s.destroy=function(){u.apply(this,arguments),this.isEnabled=!1},r.Rect=i,r.Packer=n,r}),function(t){var e="";screen.width&&(width=screen.width?screen.width:"",height=screen.height?screen.height:"",e+=width+" x "+height);var i,n,o,r=navigator.appVersion,s=navigator.userAgent,a=navigator.appName,l=""+parseFloat(navigator.appVersion),u=parseInt(navigator.appVersion,10);-1!=(n=s.indexOf("Opera"))&&(a="Opera",l=s.substring(n+6),-1!=(n=s.indexOf("Version"))&&(l=s.substring(n+8))),-1!=(n=s.indexOf("OPR"))?(a="Opera",l=s.substring(n+4)):-1!=(n=s.indexOf("Edge"))?(a="Edge",l=s.substring(n+5)):-1!=(n=s.indexOf("Edg"))?(a="Microsoft Edge",l=s.substring(n+4)):-1!=(n=s.indexOf("MSIE"))?(a="Internet",l=s.substring(n+5)):-1!=(n=s.indexOf("Chrome"))?(a="Chrome",l=s.substring(n+7)):-1!=(n=s.indexOf("Safari"))?(a="Safari",l=s.substring(n+7),-1!=(n=s.indexOf("Version"))&&(l=s.substring(n+8))):-1!=(n=s.indexOf("Firefox"))?(a="Firefox",l=s.substring(n+8)):-1!=s.indexOf("Trident/")?(a="Internet",l=s.substring(s.indexOf("rv:")+3)):(i=s.lastIndexOf(" ")+1)<(n=s.lastIndexOf("/"))&&(a=s.substring(i,n),l=s.substring(n+1),a.toLowerCase()==a.toUpperCase()&&(a=navigator.appName)),-1!=(o=l.indexOf(";"))&&(l=l.substring(0,o)),-1!=(o=l.indexOf(" "))&&(l=l.substring(0,o)),-1!=(o=l.indexOf(")"))&&(l=l.substring(0,o)),u=parseInt(""+l,10),isNaN(u)&&(l=""+parseFloat(navigator.appVersion),u=parseInt(navigator.appVersion,10));var c=/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(r),h="-",d=[{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(var p in d){var f=d[p];if(f.r.test(s)){h=f.s;break}}var m="-";switch(/Windows/.test(h)&&(m=/Windows (.*)/.exec(h)[1],h="Windows"),h){case"Mac OS":case"Mac OS X":case"Android":m=/(?:Android|Mac OS|Mac OS X|MacPPC|MacIntel|Mac_PowerPC|Macintosh) ([\.\_\d]+)/.exec(s)[1];break;case"iOS":m=(m=/OS (\d+)_(\d+)_?(\d+)?/.exec(r))[1]+"."+m[2]+"."+(0|m[3])}var g="no check";if("undefined"!=typeof swfobject){var v=swfobject.getFlashPlayerVersion();g=v.major>0?v.major+"."+v.minor+" r"+v.release:"-"}t.jscd={screen:e,browser:a,browserVersion:l,browserMajorVersion:u,mobile:c,os:h,osVersion:m,flashVersion:g}}(this),function(){var t=jQuery("html");t.addClass("browser-"+jscd.browser.replaceAll(" ","-")),t.addClass("platform-"+jscd.os)}(),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){"use strict";var e=[],i=[],n={precision:100,elapse:!1};i.push(/^[0-9]*$/.source),i.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),i.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),i=new RegExp(i.join("|"));var o={Y:"years",m:"months",n:"daysToMonth",w:"weeks",d:"daysToWeek",D:"totalDays",H:"hours",M:"minutes",S:"seconds"};function r(t){var e=t.toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");return new RegExp(e)}function s(t,e){var i="s",n="";return t&&(1===(t=t.replace(/(:|;|\s)/gi,"").split(/\,/)).length?i=t[0]:(n=t[0],i=t[1])),1===Math.abs(e)?n:i}var a=function(i,o,r){this.el=i,this.$el=t(i),this.interval=null,this.offset={},this.options=t.extend({},n),this.instanceNumber=e.length,e.push(this),this.$el.data("countdown-instance",this.instanceNumber),r&&("function"==typeof r?(this.$el.on("update.countdown",r),this.$el.on("stoped.countdown",r),this.$el.on("finish.countdown",r)):this.options=t.extend({},n,r)),this.setFinalDate(o),this.start()};t.extend(a.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),e[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(i))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(){if(0!==this.$el.closest("html").length){var e,i=void 0!==t._data(this.el,"events"),n=new Date;e=this.finalDate.getTime()-n.getTime(),e=Math.ceil(e/1e3),e=!this.options.elapse&&e<0?0:Math.abs(e),this.totalSecsLeft!==e&&i&&(this.totalSecsLeft=e,this.elapsed=n>=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()-n.getFullYear())},this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish")))}else this.remove()},dispatchEvent:function(e){var i,n=t.Event(e+".countdown");n.finalDate=this.finalDate,n.elapsed=this.elapsed,n.offset=t.extend({},this.offset),n.strftime=(i=this.offset,function(t){var e=t.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(e)for(var n=0,a=e.length;n<a;++n){var l=e[n].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),u=r(l[0]),c=l[1]||"",h=l[3]||"",d=null;l=l[2],o.hasOwnProperty(l)&&(d=o[l],d=Number(i[d])),null!==d&&("!"===c&&(d=s(h,d)),""===c&&d<10&&(d="0"+d.toString()),t=t.replace(u,d.toString()))}return t.replace(/%%/,"%")}),this.$el.trigger(n)}}),t.fn.countdown=function(){var i=Array.prototype.slice.call(arguments,0);return this.each(function(){var n=t(this).data("countdown-instance");if(void 0!==n){var o=e[n],r=i[0];a.prototype.hasOwnProperty(r)?o[r].apply(o,i.slice(1)):null===String(r).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(o.setFinalDate.call(o,r),o.start()):t.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,r))}else new a(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";var t="millisecond",e="second",i="minute",n="hour",o="day",r="week",s="month",a="quarter",l="year",u="date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,h=/\[([^\]]+)]|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,d={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("_")},p=function(t,e,i){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(i)+t},f={s:p,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),n=Math.floor(i/60),o=i%60;return(e<=0?"+":"-")+p(n,2,"0")+":"+p(o,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,s),r=i-o<0,a=e.clone().add(n+(r?-1:1),s);return+(-(n+(i-o)/(r?o-a:a-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(c){return{M:s,y:l,w:r,d:o,D:u,h:n,m:i,s:e,ms:t,Q:a}[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},m="en",g={};g[m]=d;var v=function(t){return t instanceof b},y=function(t,e,i){var n;if(!t)return m;if("string"==typeof t)g[t]&&(n=t),e&&(g[t]=e,n=t);else{var o=t.name;g[o]=t,n=o}return!i&&n&&(m=n),n||!i&&m},_=function(t,e){if(v(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new b(i)},w=f;w.l=y,w.i=v,w.w=function(t,e){return _(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var b=function(){function d(t){this.$L=y(t.locale,null,!0),this.parse(t)}var p=d.prototype;return p.parse=function(t){this.$d=function(t){var e=t.date,i=t.utc;if(null===e)return new Date(NaN);if(w.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(c);if(n){var o=n[2]-1||0,r=(n[7]||"0").substring(0,3);return i?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,r)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,r)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},p.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()},p.$utils=function(){return w},p.isValid=function(){return!("Invalid Date"===this.$d.toString())},p.isSame=function(t,e){var i=_(t);return this.startOf(e)<=i&&i<=this.endOf(e)},p.isAfter=function(t,e){return _(t)<this.startOf(e)},p.isBefore=function(t,e){return this.endOf(e)<_(t)},p.$g=function(t,e,i){return w.u(t)?this[e]:this.set(i,t)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(t,a){var c=this,h=!!w.u(a)||a,d=w.p(t),p=function(t,e){var i=w.w(c.$u?Date.UTC(c.$y,e,t):new Date(c.$y,e,t),c);return h?i:i.endOf(o)},f=function(t,e){return w.w(c.toDate()[t].apply(c.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(e)),c)},m=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(d){case l:return h?p(1,0):p(31,11);case s:return h?p(1,g):p(0,g+1);case r:var _=this.$locale().weekStart||0,b=(m<_?m+7:m)-_;return p(h?v-b:v+(6-b),g);case o:case u:return f(y+"Hours",0);case n:return f(y+"Minutes",1);case i:return f(y+"Seconds",2);case e:return f(y+"Milliseconds",3);default:return this.clone()}},p.endOf=function(t){return this.startOf(t,!1)},p.$set=function(r,a){var c,h=w.p(r),d="set"+(this.$u?"UTC":""),p=(c={},c[o]=d+"Date",c[u]=d+"Date",c[s]=d+"Month",c[l]=d+"FullYear",c[n]=d+"Hours",c[i]=d+"Minutes",c[e]=d+"Seconds",c[t]=d+"Milliseconds",c)[h],f=h===o?this.$D+(a-this.$W):a;if(h===s||h===l){var m=this.clone().set(u,1);m.$d[p](f),m.init(),this.$d=m.set(u,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](f);return this.init(),this},p.set=function(t,e){return this.clone().$set(t,e)},p.get=function(t){return this[w.p(t)]()},p.add=function(t,a){var u,c=this;t=Number(t);var h=w.p(a),d=function(e){var i=_(c);return w.w(i.date(i.date()+Math.round(e*t)),c)};if(h===s)return this.set(s,this.$M+t);if(h===l)return this.set(l,this.$y+t);if(h===o)return d(1);if(h===r)return d(7);var p=(u={},u[i]=6e4,u[n]=36e5,u[e]=1e3,u)[h]||1,f=this.$d.getTime()+t*p;return w.w(f,this)},p.subtract=function(t,e){return this.add(-1*t,e)},p.format=function(t){var e=this;if(!this.isValid())return"Invalid Date";var i=t||"YYYY-MM-DDTHH:mm:ssZ",n=w.z(this),o=this.$locale(),r=this.$H,s=this.$m,a=this.$M,l=o.weekdays,u=o.months,c=function(t,n,o,r){return t&&(t[n]||t(e,i))||o[n].substr(0,r)},d=function(t){return w.s(r%12||12,t,"0")},p=o.meridiem||function(t,e,i){var n=t<12?"AM":"PM";return i?n.toLowerCase():n},f={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:w.s(a+1,2,"0"),MMM:c(o.monthsShort,a,u,3),MMMM:c(u,a),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:c(o.weekdaysMin,this.$W,l,2),ddd:c(o.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(r),HH:w.s(r,2,"0"),h:d(1),hh:d(2),a:p(r,s,!0),A:p(r,s,!1),m:String(s),mm:w.s(s,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:n};return i.replace(h,function(t,e){return e||f[t]||n.replace(":","")})},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(t,u,c){var h,d=w.p(u),p=_(t),f=6e4*(p.utcOffset()-this.utcOffset()),m=this-p,g=w.m(this,p);return g=(h={},h[l]=g/12,h[s]=g,h[a]=g/3,h[r]=(m-f)/6048e5,h[o]=(m-f)/864e5,h[n]=m/36e5,h[i]=m/6e4,h[e]=m/1e3,h)[d]||m,c?g:w.a(g)},p.daysInMonth=function(){return this.endOf(s).$D},p.$locale=function(){return g[this.$L]},p.locale=function(t,e){if(!t)return this.$L;var i=this.clone(),n=y(t,e,!0);return n&&(i.$L=n),i},p.clone=function(){return w.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},d}(),x=b.prototype;return _.prototype=x,[["$ms",t],["$s",e],["$m",i],["$H",n],["$W",o],["$M",s],["$y",l],["$D",u]].forEach(function(t){x[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),_.extend=function(t,e){return t(e,b,_),_},_.locale=y,_.isDayjs=v,_.unix=function(t){return _(1e3*t)},_.en=g[m],_.Ls=g,_.p={},_}),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 e(t){return 96<t?t-87:64<t?t-29:t-48}function i(t){var i=t.split("."),n=i[0],o=i[1]||"",r=1,s=0,a=0,l=1;45===t.charCodeAt(0)&&(l=-(s=1));for(var u=s,c=n.length;u<c;++u)a=60*a+e(n.charCodeAt(u));for(var h=0,d=o.length;h<d;++h)a+=e(o.charCodeAt(h))*(r/=60);return a*l}function n(t){for(var e=0,n=t.length;e<n;++e)t[e]=i(t[e])}function o(t,e){for(var i=[],n=0,o=e.length;n<o;++n)i[n]=t[e[n]];return i}var r,s,a,l,u,c,h;function d(t){var e=t.year,i=t.month,n=t.day,o=t.hours,r=void 0===o?0:o,s=t.minutes,a=void 0===s?0:s,l=t.seconds,u=void 0===l?0:l,c=t.milliseconds,h=void 0===c?0:c;return Date.UTC(e,i-1,n,r,a,u,h)}function p(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 f(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 m(t,e){var i=function(t,e){for(var i=e.untils,n=0,o=i.length;n<o;++n)if(t<i[n])return n}(t,e);return{abbreviation:e.abbreviations[i],offset:e.offsets[i]}}function g(t,e){Object.defineProperty(t,"epoch",{value:e})}c=(u={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,h=u.links,r={},s=c.map(function(t){var e=t.substr(0,t.indexOf("|"));return r[e]=t,e}),a=h.reduce(function(t,e){var i=e.split("|"),n=i[0];return t[i[1]]=n,t},{}),l={},t.convertDateToTime=function(t){var e=f(t),i=/\(([^)]+)\)$/.exec(t.toTimeString());return e.zone={abbreviation:i?i[1]:"???",offset:t.getTimezoneOffset()},g(e,t.getTime()),e},t.convertTimeToDate=function(t){var e=t.epoch;if(void 0!==e)return new Date(e);var i=(t.zone||{}).offset;if(void 0===i)return function(t){var e=t.year,i=t.month,n=t.day,o=t.hours,r=void 0===o?0:o,s=t.minutes,a=void 0===s?0:s,l=t.seconds,u=void 0===l?0:l,c=t.milliseconds;return new Date(e,i-1,n,r,a,u,void 0===c?0:c)}(t);var n=d(t);return new Date(n+6e4*i)},t.findTimeZone=function(t){var e=a[t]||t,i=l[e];if(!i){var s=r[e];if(!s)throw new Error('Unknown time zone "'+e+'".');i=l[e]=function(t){var e=t.split("|"),i=e[2].split(" "),r=e[3].split(""),s=e[4].split(" ");n(i),n(r),n(s),function(t,e){for(var i=0;i<e;++i)t[i]=Math.round((t[i-1]||0)+6e4*t[i]);t[e-1]=1/0}(s,r.length);var a=e[0],l=o(e[1].split(" "),r),u=0|e[5];return{name:a,abbreviations:l,offsets:i=o(i,r),untils:s,population:u}}(s)}return i},t.getUTCOffset=function(t,e){var i=m("number"==typeof t?t:t.getTime(),e);return{abbreviation:i.abbreviation,offset:i.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}var o=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=m(o,e)}return o+6e4*i.offset},t.getZonedTime=function(t,e){var i="number"==typeof t,n=i?t:t.getTime(),o=m(n,e),r=o.abbreviation,s=o.offset;(i||s)&&(t=new Date(n-6e4*s));var a=p(t);return a.zone={abbreviation:r,offset:s},g(a,n),a},t.listTimeZones=function(){return s.slice()},t.setTimeZone=function(t,e,i){if(t instanceof Date)t=function(t,e){var i,n=(e||{}).useUTC;if(!0===n)i=p;else{if(!1!==n)throw new Error("Extract local or UTC date? Set useUTC option.");i=f}return i(t)}(t,i);else{var n=t,o=n.year,r=n.month,s=n.day,a=n.hours,l=n.minutes,u=n.seconds,c=void 0===u?0:u,h=n.milliseconds;t={year:o,month:r,day:s,hours:a,minutes:l,seconds:c,milliseconds:void 0===h?0:h}}var v=d(t),y=new Date(v);t.dayOfWeek=y.getUTCDay();var _=m(v,e),w=_.abbreviation,b=_.offset;return t.zone={abbreviation:w,offset:b},g(t,v+6e4*b),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 t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(i,n,o){var r,s=o().utcOffset(),a=function(t,i,n){void 0===n&&(n={});var o=new Date(t);return function(t,i){void 0===i&&(i={});var n=i.timeZoneName||"short",o=t+"|"+n,r=e[o];return r||(r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:n}),e[o]=r),r}(i,n).formatToParts(o)},l=function(e,i){for(var n=a(e,i),r=[],s=0;s<n.length;s+=1){var l=n[s],u=l.type,c=l.value,h=t[u];h>=0&&(r[h]=parseInt(c,10))}var d=r[3],p=24===d?0:d,f=r[0]+"-"+r[1]+"-"+r[2]+" "+p+":"+r[4]+":"+r[5]+":000",m=+e;return(o.utc(f).valueOf()-(m-=m%1e3))/6e4},u=n.prototype;u.tz=function(t,e){void 0===t&&(t=r);var i=this.utcOffset(),n=this.toDate().toLocaleString("en-US",{timeZone:t}),a=Math.round((this.toDate()-new Date(n))/1e3/60),l=o(n).$set("millisecond",this.$ms).utcOffset(s-a,!0);if(e){var u=l.utcOffset();l=l.add(i-u,"minute")}return l.$x.$timezone=t,l},u.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),i=a(this.valueOf(),e,{timeZoneName:t}).find(function(t){return"timezonename"===t.type.toLowerCase()});return i&&i.value},o.tz=function(t,e,i){var n=i&&e,s=i||e||r,a=l(+o(),s);if("string"!=typeof t)return o(t).tz(s);var u=function(t,e,i){var n=t-60*e*1e3,o=l(n,i);if(e===o)return[n,e];var r=l(n-=60*(o-e)*1e3,i);return o===r?[n,o]:[t-60*Math.min(o,r)*1e3,Math.max(o,r)]}(o.utc(t,n).valueOf(),a,s),c=u[0],h=u[1],d=o(c).utcOffset(h);return d.$x.$timezone=s,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.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,i){var n=e.prototype;i.utc=function(t){return new e({date:t,utc:!0,args:arguments})},n.utc=function(t){var e=i(this.toDate(),{locale:this.$L,utc:!0});return t?e.add(this.utcOffset(),"minute"):e},n.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var o=n.parse;n.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t)};var r=n.init;n.init=function(){if(this.$u){var 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()}else r.call(this)};var s=n.utcOffset;n.utcOffset=function(t,e){var i=this.$utils().u;if(i(t))return this.$u?0:i(this.$offset)?s.call(this):this.$offset;var n=Math.abs(t)<=16?60*t:t,o=this;if(e)return o.$offset=n,o.$u=0===t,o;if(0!==t){var r=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(n+r,"minute")).$offset=n,o.$x.$localOffset=r}else o=this.utc();return o};var a=n.format;n.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return a.call(this,e)},n.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*t},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var l=n.toDate;n.toDate=function(t){return"s"===t&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var u=n.diff;n.diff=function(t,e,n){if(this.$u===t.$u)return u.call(this,t,e,n);var o=this.local(),r=i(t).local();return u.call(o,r,e,n)}}}),function(t){var e=!1;if("function"==typeof define&&define.amd&&(define(t),e=!0),"object"==typeof exports&&(module.exports=t(),e=!0),!e){var i=window.Cookies,n=window.Cookies=t();n.noConflict=function(){return window.Cookies=i,n}}}(function(){function t(){for(var t=0,e={};t<arguments.length;t++){var i=arguments[t];for(var n in i)e[n]=i[n]}return e}return function e(i){function n(e,o,r){var s;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(r=t({path:"/"},n.defaults,r)).expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*r.expires),r.expires=a}r.expires=r.expires?r.expires.toUTCString():"";try{s=JSON.stringify(o),/^[\{\[]/.test(s)&&(o=s)}catch(g){}o=i.write?i.write(o,e):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var l="";for(var u in r)r[u]&&(l+="; "+u,!0!==r[u]&&(l+="="+r[u]));return document.cookie=e+"="+o+l}e||(s={});for(var c=document.cookie?document.cookie.split("; "):[],h=/(%[0-9A-Z]{2})+/g,d=0;d<c.length;d++){var p=c[d].split("="),f=p.slice(1).join("=");'"'===f.charAt(0)&&(f=f.slice(1,-1));try{var m=p[0].replace(h,decodeURIComponent);if(f=i.read?i.read(f,m):i(f,m)||f.replace(h,decodeURIComponent),this.json)try{f=JSON.parse(f)}catch(g){}if(e===m){s=f;break}e||(s[m]=f)}catch(g){}}return s}}return n.set=n,n.get=function(t){return n.call(n,t)},n.getJSON=function(){return n.apply({json:!0},[].slice.call(arguments))},n.defaults={},n.remove=function(e,i){n(e,"",t(i,{expires:-1}))},n.withConverter=e,n}(function(){})}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports&&"function"==typeof require?t(require("jquery")):t(jQuery)}(function(t){"use strict";var e={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}};function i(e,n){var o=function(){},r=this,s={ajaxSettings:{},autoSelectFirst:!1,appendTo:document.body,serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:i.formatResult,delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:o,onSearchComplete:o,onSearchError:o,preserveInput:!1,containerClass:"wd-search-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};r.element=e,r.el=t(e),r.suggestions=[],r.badQueries=[],r.selectedIndex=-1,r.currentValue=r.element.value,r.intervalId=0,r.cachedResponse={},r.onChangeInterval=null,r.onChange=null,r.isLocal=!1,r.suggestionsContainer=null,r.noSuggestionsContainer=null,r.options=t.extend({},s,n),r.classes={selected:"wd-active",suggestion:"wd-suggestion"},r.hint=null,r.hintValue="",r.selection=null,r.initialize(),r.setOptions(n)}i.utils=e,t.Autocomplete=i,i.formatResult=function(t,i){var n="("+e.escapeRegExChars(i)+")";return t.value.replace(new RegExp(n,"gi"),"<strong>$1</strong>").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/<(\/?strong)>/g,"<$1>")},i.prototype={killerFn:null,initialize:function(){var e,n=this,o=`.${n.classes.suggestion}`,r=n.classes.selected,s=n.options;n.element.setAttribute("autocomplete","off"),n.killerFn=function(e){0===t(e.target).closest("."+n.options.containerClass).length&&(n.killSuggestions(e),n.disableKillerFn())},n.noSuggestionsContainer=t('<div class="autocomplete-no-suggestion"></div>').html(this.options.noSuggestionNotice).get(0),n.suggestionsContainer=i.utils.createNode(s.containerClass),(e=t(n.suggestionsContainer)).appendTo(s.appendTo),"auto"!==s.width&&e.width(s.width),e.on("mouseover.autocomplete",o,function(e){if(t(this).hasClass("wd-not-found"))return e.preventDefault(),!1;n.activate(t(this).data("index"))}),e.on("mouseout.autocomplete",function(){n.selectedIndex=-1,e.find("."+r).removeClass(r)}),e.on("click.autocomplete",o,function(e){if(t(this).hasClass("wd-not-found")||t(this).hasClass("wd-search-title"))return e.preventDefault(),!1;var i=t(this).find("> a").length>0;n.select(t(this).data("index"),i)}),n.fixPositionCapture=function(){n.visible&&n.fixPosition()},t(window).on("resize.autocomplete",n.fixPositionCapture),n.el.on("keydown.autocomplete",function(t){n.onKeyPress(t)}),n.el.on("keyup.autocomplete",function(t){n.onKeyUp(t)}),n.el.on("blur.autocomplete",function(){n.onBlur()}),n.el.on("focus.autocomplete",function(){n.onFocus()}),n.el.on("change.autocomplete",function(t){n.onKeyUp(t)}),n.el.on("input.autocomplete",function(t){n.onKeyUp(t)});var a=n.el.parent().find(".wd-clear-search");a&&a.on("click",function(t){n.onClearSearch(t)})},onClearSearch:function(t){var e=this;t.target.classList.contains("wd-clear-search")&&t.target.classList.add("wd-hide"),e.clear(),e.killSuggestions(t),e.el.trigger("focus")},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(e){var i=this,n=i.options;t.extend(n,e),i.isLocal=Array.isArray(n.lookup),i.isLocal&&(n.lookup=i.verifySuggestionsFormat(n.lookup)),n.orientation=i.validateOrientation(n.orientation,"bottom"),t(i.suggestionsContainer).css({"max-height":n.maxHeight+"px",width:n.width+"px","z-index":n.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 e=this,i=t(e.suggestionsContainer),n=i.parent().get(0);if(n===document.body||e.options.forceFixPosition){var o=e.options.orientation,r=i.outerHeight(),s=e.el.outerHeight(),a=e.el.offset(),l={top:a.top,left:a.left};if("auto"===o){var u=t(window).height(),c=t(window).scrollTop(),h=-c+a.top-r,d=c+u-(a.top+s+r);o=Math.max(h,d)===h?"top":"bottom"}if(l.top+="top"===o?-r:s,n!==document.body){var p,f=i.css("opacity");e.visible||i.css("opacity",0).show(),p=i.offsetParent().offset(),l.top-=p.top,l.left-=p.left,e.visible||i.css("opacity",f).hide()}"auto"===e.options.width&&(l.width=e.el.outerWidth()-2+"px"),i.css(l)}},enableKillerFn:function(){t(document).on("click.autocomplete",this.killerFn)},disableKillerFn:function(){t(document).off("click.autocomplete",this.killerFn)},killSuggestions:function(e){var i=this,n=t(e.target).hasClass("wd-clear-search");i.stopKillSuggestions(),i.intervalId=window.setInterval(function(){i.visible&&(i.el.val(i.currentValue),i.hide(!1,n)),i.stopKillSuggestions()},50)},stopKillSuggestions:function(){window.clearInterval(this.intervalId)},isCursorAtEnd:function(){var t,e=this.el.val().length,i=this.element.selectionStart;return"number"==typeof i?i===e:!document.selection||((t=document.selection.createRange()).moveStart("character",-e),e===t.text.length)},onKeyPress:function(t){var e=this;if(e.disabled||e.visible||40!==t.which||!e.currentValue){if(!e.disabled&&e.visible){switch(t.which){case 27:e.el.val(e.currentValue),e.hide();break;case 39:if(e.hint&&e.options.onHint&&e.isCursorAtEnd()){e.selectHint();break}return;case 9: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 13:if(-1===e.selectedIndex)return void e.hide(!0);e.select(e.selectedIndex,!0);break;case 38:e.moveUp();break;case 40: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 38:case 40:return}clearInterval(e.onChangeInterval),e.currentValue!==e.el.val()&&(e.findBestHint(),e.options.deferRequestBy>0?e.onChangeInterval=setInterval(function(){e.onValueChange()},e.options.deferRequestBy):e.onValueChange())}},onValueChange:function(){var e=this,i=e.options,n=e.el.val(),o=e.getQuery(n);e.selection&&e.currentValue!==o&&(e.selection=null,(i.onInvalidateSelection||t.noop).call(e.element)),clearInterval(e.onChangeInterval),e.currentValue=n,e.selectedIndex=-1,i.triggerSelectOnValidInput&&e.isExactMatch(o)?e.select(0):o.length<i.minChars?e.hide():e.getSuggestions(o)},isExactMatch:function(t){var e=this.suggestions;return 1===e.length&&e[0].value.toLowerCase()===t.toLowerCase()},getQuery:function(t){var e,i,n=this.options.delimiter;return n?null==(i=(e=t.split(n))[e.length-1])?"":"string"==typeof i?i.trim():(i+"").replace("/^[\\s\ufeff ]+|[\\s\ufeff ]+$/g",""):t},getSuggestionsLocal:function(e){var i,n=this.options,o=e.toLowerCase(),r=n.lookupFilter,s=parseInt(n.lookupLimit,10);return i={suggestions:t.grep(n.lookup,function(t){return r(t,e,o)})},s&&i.suggestions.length>s&&(i.suggestions=i.suggestions.slice(0,s)),i},getSuggestions:function(e){var i,n,o,r,s=this,a=s.options,l=a.serviceUrl;a.params[a.paramName]=e,n=a.ignoreParams?null:a.params,!1!==a.onSearchStart.call(s.element,a.params)&&("function"!=typeof a.lookup?(s.isLocal?i=s.getSuggestionsLocal(e):("function"==typeof l&&(l=l.call(s.element,e)),o=l+"?"+t.param(n||{}),i=s.cachedResponse[o]),i&&Array.isArray(i.suggestions)?(s.suggestions=i.suggestions,s.suggest(),a.onSearchComplete.call(s.element,e,i.suggestions)):s.isBadQuery(e)?a.onSearchComplete.call(s.element,e,[]):(s.abortAjax(),r={url:l,data:n,type:a.type,dataType:a.dataType},t.extend(r,a.ajaxSettings),s.currentRequest=t.ajax(r).done(function(t){var i;s.currentRequest=null,i=a.transformResult(t,e),s.processResponse(i,e,o),a.onSearchComplete.call(s.element,e,i.suggestions)}).fail(function(t,i,n){a.onSearchError.call(s.element,e,t,i,n)}))):a.lookup(e,function(t){s.suggestions=t.suggestions,s.suggest(),a.onSearchComplete.call(s.element,e,t.suggestions)}))},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(e=!1,i=!1){if(!e){var n=this,o=t(n.suggestionsContainer);"function"==typeof n.options.onHide&&n.visible&&n.options.onHide.call(n.element,o,i),n.visible=!1,n.selectedIndex=-1,clearInterval(n.onChangeInterval),t(n.suggestionsContainer).hide(),n.signalHint(null)}},suggest:function(){if(0!==this.suggestions.length){var e,i=this,n=i.options,o=n.groupBy,r=n.formatResult,s=i.getQuery(i.currentValue),a=i.classes.suggestion,l=i.classes.selected,u=t(i.suggestionsContainer),c=t(i.noSuggestionsContainer),h=n.beforeRender,d="";if(n.triggerSelectOnValidInput&&i.isExactMatch(s))i.select(0);else{var p=function(i,n=""){return t.each(i,function(t,i){o&&(n+=function(t){var i=t.data[o];return e===i?"":'<div class="autocomplete-group"><strong>'+(e=i)+"</strong></div>"}(i));var l=a;i.item_classes&&(l+=" "+i.item_classes),n+='<div class="'+l+'" data-index="'+t+'">'+r(i,s)+"</div>"}),n},f=0,m=i.suggestions.reduce((t,e)=>{const i=e.group||"default";return t[i]||(t[i]={}),t[i][f]=e,f++,t},{});m?t.each(m,function(e,i){t.each(i,function(t,e){e&&e.divider&&(d+='<div class="wd-search-title title" data-index="'+t+'">'+e.divider+"</div>",delete i[t])}),d=p(i,d+=`<div class="wd-suggestions-group wd-type-${e}">`),d+="</div>"}):d=p(i.suggestions),this.adjustContainerWidth(),c.detach(),u.html(d),"function"==typeof h&&h.call(i.element,u),i.fixPosition(),u.show(),n.autoSelectFirst&&(i.selectedIndex=0,u.scrollTop(0),u.children("."+a).first().addClass(l)),i.visible=!0,i.findBestHint()}}else this.options.showNoSuggestionNotice?this.noSuggestions():this.hide()},noSuggestions:function(){var e=this,i=t(e.suggestionsContainer),n=t(e.noSuggestionsContainer);this.adjustContainerWidth(),n.detach(),i.empty(),i.append(n),e.fixPosition(),i.show(),e.visible=!0},adjustContainerWidth:function(){var e,i=this,n=i.options,o=t(i.suggestionsContainer);"auto"===n.width&&(e=i.el.outerWidth()-2,o.width(e>0?e:300))},findBestHint:function(){var e=this,i=e.el.val().toLowerCase(),n=null;i&&(t.each(e.suggestions,function(t,e){var o=0===e.value.toLowerCase().indexOf(i);return o&&(n=e),!o}),e.signalHint(n))},signalHint:function(e){var i="",n=this;e&&(i=n.currentValue+e.value.substr(n.currentValue.length)),n.hintValue!==i&&(n.hintValue=i,n.hint=e,(this.options.onHint||t.noop)(i))},verifySuggestionsFormat:function(e){return e.length&&"string"==typeof e[0]?t.map(e,function(t){return{value:t,data:null}}):e},validateOrientation:function(e,i){return e=t.trim(e||"").toLowerCase(),-1===t.inArray(e,["auto","bottom","top"])&&(e=i),e},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(e){var i=this,n=i.classes.selected,o=t(i.suggestionsContainer),r=o.find(`.${i.classes.suggestion}[data-index="${e}"]`);return o.find("."+n).removeClass(n),i.selectedIndex=e,-1!==i.selectedIndex&&r?(t(r).addClass(n),r):null},selectHint:function(){var e=this,i=t.inArray(e.hint,e.suggestions);e.select(i)},select:function(t,e=!1){e||(this.hide(),this.onSelect(t))},moveUp:function(){var e=this;if(-1!==e.selectedIndex)return 0===e.selectedIndex?(t(e.suggestionsContainer).children().first().removeClass(e.classes.selected),e.selectedIndex=-1,e.el.val(e.currentValue),void e.findBestHint()):void e.adjustScroll(e.selectedIndex-1)},moveDown:function(){var t=this;t.selectedIndex!==t.suggestions.length-1&&t.adjustScroll(t.selectedIndex+1)},adjustScroll:function(e){var i=this,n=i.activate(e);if(n){var o,r,s,a=t(n).outerHeight();o=n.offsetTop,s=(r=t(i.suggestionsContainer).scrollTop())+i.options.maxHeight-a,o<r?t(i.suggestionsContainer).scrollTop(o):o>s&&t(i.suggestionsContainer).scrollTop(o-i.options.maxHeight+a),i.options.preserveInput||i.el.val(i.getValue(i.suggestions[e].value)),i.signalHint(null)}},onSelect:function(t){var e=this,i=e.options.onSelect,n=e.suggestions[t];e.currentValue=e.getValue(n.value),e.currentValue===e.el.val()||e.options.preserveInput||e.el.val(e.currentValue),e.signalHint(null),e.suggestions=[],e.selection=n,"function"==typeof i&&i.call(e.element,n)},getValue:function(t){var e,i,n=this.options.delimiter;return n?1===(i=(e=this.currentValue).split(n)).length?t:e.substr(0,e.length-i[i.length-1].length)+t:t},dispose:function(){var e=this;e.el.off(".autocomplete").removeData("autocomplete"),e.disableKillerFn(),t(window).off("resize.autocomplete",e.fixPositionCapture),t(e.suggestionsContainer).remove()}},t.fn.devbridgeAutocomplete=function(e,n){var o="autocomplete";return 0===arguments.length?this.first().data(o):this.each(function(){var r=t(this),s=r.data(o);"string"==typeof e?s&&"function"==typeof s[e]&&s[e](n):(s&&s.dispose&&s.dispose(),s=new i(this,e),r.data(o,s))})}});
[-] sticky-kit.min.js
[edit]
[-] magnific-popup.min.js
[edit]
[-] parallax.js
[edit]
[-] countdown-bundle.min.js
[edit]
[-] justifiedGallery.min.js
[edit]
[-] pjax.min.js
[edit]
[-] cookie.min.js
[edit]
[-] tooltips.js
[edit]
[-] combine.min.js
[edit]
[-] countdown-bundle.js
[edit]
[-] parallax.min.js
[edit]
[-] device.js
[edit]
[-] vivus.js
[edit]
[-] maplace.min.js
[edit]
[-] cookie.js
[edit]
[-] waypoints.js
[edit]
[-] combine.js
[edit]
[-] photoswipe-bundle.min.js
[edit]
[-] isotope-bundle.min.js
[edit]
[-] swiper.js
[edit]
[-] tooltips.min.js
[edit]
[-] sticky-kit.js
[edit]
[-] leaflet.js
[edit]
[-] threesixty.js
[edit]
[-] leaflet.min.js
[edit]
[-] magnific-popup.js
[edit]
[-] device.min.js
[edit]
[-] photoswipe-bundle.js
[edit]
[+]
..
[-] justifiedGallery.js
[edit]
[-] autocomplete.min.js
[edit]
[-] panr-parallax-bundle.js
[edit]
[-] panr-parallax-bundle.min.js
[edit]
[-] autocomplete.js
[edit]
[-] pjax.js
[edit]
[-] vivus.min.js
[edit]
[-] vimeo-player.min.js
[edit]
[-] isotope-bundle.js
[edit]
[-] waypoints.min.js
[edit]
[-] swiper.min.js
[edit]
[-] threesixty.min.js
[edit]
[-] parallax-scroll-bundle.js
[edit]
[-] maplace.js
[edit]
[-] vimeo-player.js
[edit]
[-] parallax-scroll-bundle.min.js
[edit]