1(()=>{let t,e,i;function n(t){return t&&t.__esModule?t.default:t}var o,s,r,l,d=globalThis,h={},u={},c=d.parcelRequirea98e;null==c&&((c=function(t){if(t in h)return h[t].exports;if(t in u){var e=u[t];delete u[t];var i={id:t,exports:{}};return h[t]=i,e.call(i.exports,i,i.exports),i.exports}var n=Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}).register=function(t,e){u[t]=e},d.parcelRequirea98e=c);var p=c.register;p("cp68B",function(t,e){t.exports,function(t){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,n,o,s,r,l,d,h,u,c,p=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function f(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 m=0;function g(t){return"_leaflet_id"in t||(t._leaflet_id=++m),t._leaflet_id}function v(t,e,i){var n,o,s,r;return r=function(){n=!1,o&&(s.apply(i,o),o=!1)},s=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(r,e),n=!0)}}function _(t,e,i){var n=e[1],o=e[0],s=n-o;return t===n&&i?t:((t-o)%s+s)%s+o}function y(){return!1}function w(t,e){if(!1===e)return t;var i=Math.pow(10,void 0===e?6:e);return Math.round(t*i)/i}function b(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function x(t){return b(t).split(/\s+/)}function T(t,e){for(var i in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?p(t.options):{}),e)t.options[i]=e[i];return t.options}function S(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 C=/\{ *([\w_ -]+) *\}/g;function P(t,e){return t.replace(C,function(t,i){var n=e[i];if(void 0===n)throw Error("No value provided for variable "+t);return"function"==typeof n&&(n=n(e)),n})}var E=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function M(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return -1}var A="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function k(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var z=0;function O(t){var e=+new Date,i=Math.max(0,16-(e-z));return z=e+i,window.setTimeout(t,i)}var I=window.requestAnimationFrame||k("RequestAnimationFrame")||O,j=window.cancelAnimationFrame||k("CancelAnimationFrame")||k("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function N(t,e,i){if(!i||I!==O)return I.call(window,f(t,e));t.call(e)}function D(t){t&&j.call(window,t)}function B(){}B.extend=function(t){var i=function(){T(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},n=i.__super__=this.prototype,o=p(n);for(var s in o.constructor=i,i.prototype=o,this)Object.prototype.hasOwnProperty.call(this,s)&&"prototype"!==s&&"__super__"!==s&&(i[s]=this[s]);return t.statics&&e(i,t.statics),t.includes&&(function(t){if("undefined"!=typeof L&&L&&L.Mixin){t=E(t)?t:[t];for(var e=0;e<t.length;
1e++)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.",Error().stack)}}(t.includes),e.apply(null,[o].concat(t.includes))),e(o,t),delete o.statics,delete o.includes,o.options&&(o.options=n.options?p(n.options):{},e(o.options,t.options)),o._initHooks=[],o.callInitHooks=function(){if(!this._initHooksCalled){n.callInitHooks&&n.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=o._initHooks.length;t<e;t++)o._initHooks[t].call(this)}},i},B.include=function(t){var i=this.prototype.options;return e(this.prototype,t),t.options&&(this.prototype.options=i,this.mergeOptions(t.options)),this},B.mergeOptions=function(t){return e(this.prototype.options,t),this},B.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 Z={on:function(t,e,i){if("object"==typeof t)for(var n in t)this._on(n,t[n],e);else{t=x(t);for(var o=0,s=t.length;o<s;o++)this._on(t[o],e,i)}return this},off:function(t,e,i){if(arguments.length){if("object"==typeof t)for(var n in t)this._off(n,t[n],e);else{t=x(t);for(var o=1==arguments.length,s=0,r=t.length;s<r;s++)o?this._off(t[s]):this._off(t[s],e,i)}}else delete this._events;return this},_on:function(t,e,i){if("function"!=typeof e){console.warn("wrong listener type: "+typeof e);return}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},s=n,r=0,l=s.length;r<l;r++)if(s[r].fn===e&&s[r].ctx===i)return;s.push(o)},_off:function(t,e,i){var n,o,s;if(this._events&&(n=this._events[t])){if(1==arguments.length){if(this._firingCount)for(o=0,s=n.length;o<s;o++)n[o].fn=y;delete this._events[t];return}if(i===this&&(i=void 0),"function"!=typeof e){console.warn("wrong listener type: "+typeof e);return}for(o=0,s=n.length;o<s;o++){var r=n[o];if(r.ctx===i&&r.fn===e){this._firingCount&&(r.fn=y,this._events[t]=n=n.slice()),n.splice(o,1);return}}console.warn("listener not found")}},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 s=this._events[t];if(s){this._firingCount=this._firingCount+1||1;for(var r=0,l=s.length;r<l;r++){var d=s[r];d.fn.call(d.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 n in t)this.once(n,t[n],e);return this}var o=f(function(){this.off(t,e,i).off(t,o,i)},this);return this.on(t,e,i).on(t,o,i)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[g(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[g(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)}};Z.addEventListener=Z.on,Z.removeEventListener=Z.clearAllEventListeners=Z.off,Z.addOneTimeEventListener=Z.once,Z.fireEvent=Z.fire,Z.hasEventListeners=Z.listens;var R=B.extend(Z);function H(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e}var F=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};function W(t,e,i){return t instanceof H?t:E(t)?new H(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new H(t.x,t.y):new H(t,e,i)}function q(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function G(t,e){return!t||t instanceof q?t:new q(t,e)}function V(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function U(t,e){return t instanceof V?t:new V(t,e)}function $(t,e,i){if(isNaN(t)||isNaN(e))throw Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==i&&(this.alt=+i)}function X(t,e,i){return t instanceof $?t:E(t)&&"object"!=typeof t[0]?3===t.length?new $(t[0],t[1],t[2]):2===t.length?new $(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new $(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new $(t,e,i)}H.prototype={clone:function(){return new H(this.x,this.y)},add:function(t){return this.clone()._add(W(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(W(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 H(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new H(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=F(this.x),this.y=F(this.y),this},distanceTo:function(t){var e=(t=W(t)).x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},equals:function(t){return(t=W(t)).x===this.x&&t.y===this.y},contains:function(t){return Math.abs((t=W(t)).x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+w(this.x)+", "+w(this.y)+")"}},q.prototype={extend:function(t){return t=W(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 H((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new H(this.min.x,this.max.y)},getTopRight:function(){return new H(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 H?W(t):G(t))instanceof q?(e=t.min,i=t.max):e=i=t,e.x>=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=G(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>=e.x&&n.x<=i.x,r=o.y>=e.y&&n.y<=i.y;return s&&r},overlaps:function(t){t=G(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>e.x&&n.x<i.x,r=o.y>e.y&&n.y<i.y;return s&&r},isValid:function(){return!!(this.min&&this.max)}},V.prototype={extend:function(t){var e,i,n=this._southWest,o=this._northEast;if(t instanceof $)e=t,i=t;else if(!(t instanceof V))return t?this.extend(X(t)||U(t)):this;else 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 $(e.lat,e.lng),this._northEast=new $(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 V(new $(e.lat-n,e.lng-o),new $(i.lat+n,i.lng+o))},getCenter:function(){return new $((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 $(this.getNorth(),this.getWest())},getSouthEast:function(){return new $(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
vendor: 2,432 bytes, line 1
1,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof $||"lat"in t?X(t):U(t);var e,i,n=this._southWest,o=this._northEast;return t instanceof V?(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=U(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>=e.lat&&n.lat<=i.lat,r=o.lng>=e.lng&&n.lng<=i.lng;return s&&r},overlaps:function(t){t=U(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>e.lat&&n.lat<i.lat,r=o.lng>e.lng&&n.lng<i.lng;return s&&r},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=U(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!!(this._southWest&&this._northEast)}},$.prototype={equals:function(t,e){return!!t&&(t=X(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("+w(this.lat,t)+", "+w(this.lng,t)+")"},distanceTo:function(t){return K.distance(this,X(t))},wrap:function(){return K.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,i=e/Math.cos(Math.PI/180*this.lat);return U([this.lat-e,this.lng-i],[this.lat+e,this.lng+i])},clone:function(){return new $(this.lat,this.lng,this.alt)}};var Y={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 q(this.transformation.transform(e.min,i),this.transformation.transform(e.max,i))},infinite:!1,wrapLatLng:function(t){var e=this.wrapLng?_(t.lng,this.wrapLng,!0):t.lng;return new $(this.wrapLat?_(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),i=this.wrapLatLng(e),n=e.lat-i.lat,o=e.lng-i.lng;if(0===n&&0===o)return t;
1var s=t.getSouthWest(),r=t.getNorthEast();return new V(new $(s.lat-n,s.lng-o),new $(r.lat-n,r.lng-o))}},K=e({},Y,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,s=Math.sin((e.lat-t.lat)*i/2),r=Math.sin((e.lng-t.lng)*i/2),l=s*s+Math.cos(n)*Math.cos(o)*r*r;return this.R*(2*Math.atan2(Math.sqrt(l),Math.sqrt(1-l)))}}),J={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,i=this.MAX_LATITUDE,n=Math.sin(Math.max(Math.min(i,t.lat),-i)*e);return new H(this.R*t.lng*e,this.R*Math.log((1+n)/(1-n))/2)},unproject:function(t){var e=180/Math.PI;return new $((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:new q([-(d=6378137*Math.PI),-d],[d,d])};function Q(t,e,i,n){if(E(t)){this._a=t[0],this._b=t[1],this._c=t[2],this._d=t[3];return}this._a=t,this._b=e,this._c=i,this._d=n}function tt(t,e,i,n){return new Q(t,e,i,n)}Q.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 H((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}};var te=e({},K,{code:"EPSG:3857",projection:J,transformation:tt(h=.5/(Math.PI*J.R),.5,-h,.5)}),ti=e({},te,{code:"EPSG:900913"});function tn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function to(t,e){var i,n,o,s,r,l,d="";for(i=0,o=t.length;i<o;i++){for(n=0,s=(r=t[i]).length;n<s;n++)l=r[n],d+=(n?"L":"M")+l.x+" "+l.y;d+=e?tD.svg?"z":"x":""}return d||"M0 0"}var ts=document.documentElement.style,tr="ActiveXObject"in window,ta=tr&&!document.addEventListener,tl="msLaunchUri"in navigator&&!("documentMode"in document),td=tN("webkit"),th=tN("android"),tu=tN("android 2")||tN("android 3"),tc=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),tp=th&&tN("Google")&&tc<537&&!("AudioNode"in window),tf=!!window.opera,tm=!tl&&tN("chrome"),tg=tN("gecko")&&!td&&!tf&&!tr,tv=!tm&&tN("safari"),t_=tN("phantom"),ty="OTransition"in ts,tw=0===navigator.platform.indexOf("Win"),tb=tr&&"transition"in ts,tx="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!tu,tT="MozPerspective"in ts,tS=!window.L_DISABLE_3D&&(tb||tx||tT)&&!ty&&!t_,tC="undefined"!=typeof orientation||tN("mobile"),tL=!window.PointerEvent&&window.MSPointerEvent,tP=!!(window.PointerEvent||tL),tE="ontouchstart"in window||!!window.TouchEvent,tM=!window.L_NO_TOUCH&&(tE||tP),tA=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,tk=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",y,e),window.removeEventListener("testPassiveEventSupport",y,e)}catch(t){}return t}(),tz=!!document.createElement("canvas").getContext,tO=!!(document.createElementNS&&tn("svg").createSVGRect),tI=!!tO&&((u=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===(u.firstChild&&u.firstChild.namespaceURI)),tj=!tO&&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(t){return!1}}();function tN(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var tD={ie:tr,ielt9:ta,edge:tl,webkit:td,android:th,android23:tu,androidStock:tp,opera:tf,chrome:tm,gecko:tg,safari:tv,phantom:t_,opera12:ty,win:tw,ie3d:tb,webkit3d:tx,gecko3d:tT,any3d:tS,mobile:tC,mobileWebkit:tC&&td,mobileWebkit3d:tC&&tx,msPointer:tL,pointer:tP,touch:tM,touchNative:tE,mobileOpera:tC&&tf,mobileGecko:tC&&tg,retina:tA,passiveEvents:tk,canvas:tz,svg:tO,vml:tj,inlineSvg:tI},tB=tD.msPointer?"MSPointerDown":"pointerdown",tZ=tD.msPointer?"MSPointerMove":"pointermove",tR=tD.msPointer?"MSPointerUp":"pointerup",tH=tD.msPointer?"MSPointerCancel":"pointercancel",tF={touchstart:tB,touchmove:tZ,touchend:tR,touchcancel:tH},tW={touchstart:function(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&eT(e),tX(t,e)},touchmove:tX,touchend:tX,touchcancel:tX},tq={},tG=!1;function tV(t){tq[t.pointerId]=t}function tU(t){tq[t.pointerId]&&(tq[t.pointerId]=t)}function t$(t){delete tq[t.pointerId]}function tX(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var i in e.touches=[],tq)e.touches.push(tq[i]);e.changedTouches=[e],t(e)}}var tY=ei(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),tK=ei(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),tJ="webkitTransition"===tK||"OTransition"===tK?tK+"End":"transitionend";function tQ(t){return"string"==typeof t?document.getElementById(t):t}function t0(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 t1(t,e,i){var n=document.createElement(t);return n.className=e||"",i&&i.appendChild(n),n}function t2(t){var e=t.parentNode;e&&e.removeChild(t)}function t5(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function t3(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function t9(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function t8(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=et(t);return i.length>0&&RegExp("(^|\\s)"+e+"(\\s|$)").test(i)}function t4(t,e){if(void 0!==t.classList)for(var i=x(e),n=0,o=i.length;n<o;n++)t.classList.add(i[n]);else if(!t8(t,e)){var s=et(t);t6(t,(s?s+" ":"")+e)}}function t7(t,e){void 0!==t.classList?t.classList.remove(e):t6(t,b((" "+et(t)+" ").replace(" "+e+" "," ")))}function t6(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function et(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function ee(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(t){if(1===e)return}e=Math.round(100*e),i?(i.Enabled=100!==e,i.Opacity=e):t.style.filter+=" progid:"+n+"(opacity="+e+")"}(t,e)}function ei(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1}
1function en(t,e,i){var n=e||new H(0,0);t.style[tY]=(tD.ie3d?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(i?" scale("+i+")":"")}function eo(t,e){t._leaflet_pos=e,tD.any3d?en(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function es(t){return t._leaflet_pos||new H(0,0)}if("onselectstart"in document)i=function(){ep(window,"selectstart",eT)},n=function(){em(window,"selectstart",eT)};else{var er=ei(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);i=function(){if(er){var t=document.documentElement.style;o=t[er],t[er]="none"}},n=function(){er&&(document.documentElement.style[er]=o,o=void 0)}}function ea(){ep(window,"dragstart",eT)}function el(){em(window,"dragstart",eT)}function ed(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(eh(),s=t,r=t.style.outline,t.style.outline="none",ep(window,"keydown",eh))}function eh(){s&&(s.style.outline=r,s=void 0,r=void 0,em(window,"keydown",eh))}function eu(t){do t=t.parentNode;while((!t.offsetWidth||!t.offsetHeight)&&t!==document.body)return t}function ec(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}function ep(t,e,i,n){if(e&&"object"==typeof e)for(var o in e)e_(t,o,e[o],i);else{e=x(e);for(var s=0,r=e.length;s<r;s++)e_(t,e[s],i,n)}return this}var ef="_leaflet_events";function em(t,e,i,n){if(1==arguments.length)eg(t),delete t[ef];else if(e&&"object"==typeof e)for(var o in e)ey(t,o,e[o],i);else if(e=x(e),2==arguments.length)eg(t,function(t){return -1!==M(e,t)});else for(var s=0,r=e.length;s<r;s++)ey(t,e[s],i,n);return this}function eg(t,e){for(var i in t[ef]){var n=i.split(/\d/)[0];(!e||e(n))&&ey(t,n,null,null,i)}}
1var ev={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function e_(t,e,i,n){var o=e+g(i)+(n?"_"+g(n):"");if(t[ef]&&t[ef][o])return this;var s=function(e){return i.call(n||t,e||window.event)},r=s;!tD.touchNative&&tD.pointer&&0===e.indexOf("touch")?s=function(t,e,i){return("touchstart"===e&&(tG||(document.addEventListener(tB,tV,!0),document.addEventListener(tZ,tU,!0),document.addEventListener(tR,t$,!0),document.addEventListener(tH,t$,!0),tG=!0)),tW[e])?(i=tW[e].bind(this,i),t.addEventListener(tF[e],i,!1),i):(console.warn("wrong event specified:",e),L.Util.falseFn)}(t,e,s):tD.touch&&"dblclick"===e?s=function(t,e){t.addEventListener("dblclick",e);var i,n=0;function o(t){if(1!==t.detail){i=t.detail;return}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}}return t.addEventListener("click",o),{dblclick:e,simDblclick:o}}(t,s):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(ev[e]||e,s,!!tD.passiveEvents&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(s=function(e){eE(t,e=e||window.event)&&r(e)},t.addEventListener(ev[e],s,!1)):t.addEventListener(e,r,!1):t.attachEvent("on"+e,s),t[ef]=t[ef]||{},t[ef][o]=s}function ey(t,e,i,n,o){o=o||e+g(i)+(n?"_"+g(n):"");var s=t[ef]&&t[ef][o];if(!s)return this;!tD.touchNative&&tD.pointer&&0===e.indexOf("touch")?function(t,e,i){if(!tF[e]){console.warn("wrong event specified:",e);return}t.removeEventListener(tF[e],i,!1)}(t,e,s):tD.touch&&"dblclick"===e?(t.removeEventListener("dblclick",s.dblclick),t.removeEventListener("click",s.simDblclick)):"removeEventListener"in t?t.removeEventListener(ev[e]||e,s,!1):t.detachEvent("on"+e,s),t[ef][o]=null}function ew(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function eb(t){return e_(t,"wheel",ew),this}function ex(t){return ep(t,"mousedown touchstart dblclick contextmenu",ew),t._leaflet_disable_click=!0,this}function eT(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function eS(t){return eT(t),ew(t),this}function eC(t,e){if(!e)return new H(t.clientX,t.clientY);var i=ec(e),n=i.boundingClientRect;return new H((t.clientX-n.left)/i.x-e.clientLeft,(t.clientY-n.top)/i.y-e.clientTop)}var eL=tD.win&&tD.chrome?2*window.devicePixelRatio:tD.gecko?window.devicePixelRatio:1;function eP(t){return tD.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/eL: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&&32765>Math.abs(t.detail)?-(20*t.detail):t.detail?-(t.detail/32765*60):0}function eE(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(t){return!1}return i!==t}var eM=R.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=es(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=N(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(),eo(this._el,i),this.fire("step")},_complete:function(){D(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),eA=R.extend({options:{crs:te,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=T(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=f(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(X(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=tK&&tD.any3d&&!tD.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),ep(this._proxy,tJ,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
vendor: 1,302 bytes, line 1
1,setView:function(t,i,n){return(i=void 0===i?this._zoom:this._limitZoom(i),t=this._limitCenter(X(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._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||(tD.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(tD.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),s=(t instanceof H?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),r=this.containerPointToLatLng(o.add(s));return this.setView(r,e,{zoom:i})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():U(t);var i=W(e.paddingTopLeft||e.padding||[0,0]),n=W(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};
1var s=n.subtract(i).divideBy(2),r=this.project(t.getSouthWest(),o),l=this.project(t.getNorthEast(),o);return{center:this.unproject(r.add(l).divideBy(2).add(s),o),zoom:o}},fitBounds:function(t,e){if(!(t=U(t)).isValid())throw 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(t=W(t).round(),e=e||{},!t.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 eM,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){t4(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||!tD.any3d)return this.setView(t,e,i);this._stop();var n=this.project(this.getCenter()),o=this.project(t),s=this.getSize(),r=this._zoom;t=X(t),e=void 0===e?r:e;var l=Math.max(s.x,s.y),d=l*this.getZoomScale(r,e),h=o.distanceTo(n)||1;function u(t){var e=(d*d-l*l+(t?-1:1)*4.0658689599999995*h*h)/(2*(t?d:l)*2.0164*h),i=Math.sqrt(e*e+1)-e;return i<1e-9?-18:Math.log(i)}function c(t){return(Math.exp(t)-Math.exp(-t))/2}function p(t){return(Math.exp(t)+Math.exp(-t))/2}var f=u(0),m=Date.now(),g=(u(1)-f)/1.42,v=i.duration?1e3*i.duration:1e3*g*.8;return this._moveStart(!0,i.noMoveStart),(function i(){var s,d=(Date.now()-m)/v,u=(1-Math.pow(1-d,1.5))*g;d<=1?(this._flyToFrame=N(i,this),this._move(this.unproject(n.add(o.subtract(n).multiplyBy(l*(p(f)*(c(s=f+1.42*u)/p(s))-c(f))/2.0164/h)),r),this.getScaleZoom(l/(p(f)/p(f+1.42*u)*l),r),{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=U(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,U(t));return i.equals(n)||this.panTo(n,e),this._enforcingBounds=!1,this},panInside:function(t,e){var i=W((e=e||{}).paddingTopLeft||e.padding||[0,0]),n=W(e.paddingBottomRight||e.padding||[0,0]),o=this.project(this.getCenter()),s=this.project(t),r=this.getPixelBounds(),l=G([r.min.add(i),r.max.subtract(n)]),d=l.getSize();if(!l.contains(s)){this._enforcingBounds=!0;var h=s.subtract(l.getCenter()),u=l.extend(s).getSize().subtract(d);o.x+=h.x<0?-u.x:u.x,o.y+=h.y<0?-u.y:u.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 n=this.getSize(),o=i.divideBy(2).round(),s=n.divideBy(2).round(),r=o.subtract(s);return r.x||r.y?(t.animate&&t.pan?this.panBy(r):(t.pan&&this._rawPanBy(r),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(f(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:i,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()}
vendor: 11,877 bytes, line 1
1,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=f(this._handleGeolocationResponse,this),n=f(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(i,n,t):navigator.geolocation.getCurrentPosition(i,n,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 $(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 s={latlng:e,bounds:i,timestamp:t.timestamp};for(var r in t.coords)"number"==typeof t.coords[r]&&(s[r]=t.coords[r]);this.fire("locationfound",s)}},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(){var t;if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),t2(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(D(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)t2(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var i=t1("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 V(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=U(t),i=W(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),l=t.getSouthEast(),d=this.getSize().subtract(i),h=G(this.project(l,n),this.project(r,n)).getSize(),u=tD.any3d?this.options.zoomSnap:1,c=d.x/h.x,p=d.y/h.y;return n=this.getScaleZoom(e?Math.max(c,p):Math.min(c,p),n),u&&(n=u/100*Math.round(n/(u/100)),n=e?Math.ceil(n/u)*u:Math.floor(n/u)*u),Math.max(o,Math.min(s,n))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new H(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 q(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(X(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(W(t),e)},layerPointToLatLng:function(t){var e=W(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(X(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(X(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(U(t))},distance:function(t,e){return this.options.crs.distance(X(t),X(e))},containerPointToLayerPoint:function(t){return W(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return W(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(W(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(X(t)))},mouseEventToContainerPoint:function(t){return eC(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=tQ(t);if(e){if(e._leaflet_id)throw Error("Map container is already initialized.")}else throw Error("Map container not found.");ep(e,"scroll",this._onScroll,this),this._containerId=g(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&tD.any3d,t4(t,"leaflet-container"+(tD.touch?" leaflet-touch":"")+(tD.retina?" leaflet-retina":"")+(tD.ielt9?" leaflet-oldie":"")+(tD.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=t0(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),eo(this._mapPane,new H(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(t4(t.markerPane,"leaflet-zoom-hide"),t4(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){eo(this._mapPane,new H(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 D(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){eo(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 Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[g(this._container)]=this;var e=t?em:ep;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),tD.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){D(this._resizeRequest),this._resizeRequest=N(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i,n=[],o="mouseout"===e||"mouseover"===e,s=t.target||t.srcElement,r=!1;s;){if((i=this._targets[g(s)])&&("click"===e||"preclick"===e)&&this._draggableMoved(i)){r=!0;break}if(i&&i.listens(e,!0)&&(o&&!eE(s,t)||(n.push(i),o))||s===this._container)break;s=s.parentNode}return!n.length&&!r&&!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&&ed(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 s=this._findEventTargets(t,i);if(n){for(var r=[],l=0;l<n.length;l++)n[l].listens(i,!0)&&r.push(n[l]);s=r.concat(s)}if(s.length){"contextmenu"===i&&eT(t);var d=s[0],h={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var u=d.getLatLng&&(!d._radius||d._radius<=10);h.containerPoint=u?this.latLngToContainerPoint(d.getLatLng()):this.mouseEventToContainerPoint(t),h.layerPoint=this.containerPointToLayerPoint(h.containerPoint),h.latlng=u?d.getLatLng():this.layerPointToLatLng(h.layerPoint)}for(l=0;l<s.length;l++)if(s[l].fire(i,h,!0),h.originalEvent._stopped||!1===s[l].options.bubblingMouseEvents&&-1!==M(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 es(this._mapPane)||new H(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 G([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),s=new q(n.subtract(o),n.add(o)),r=this._getBoundsOffset(s,i,e);return r.round().equals([0,0])?t:this.unproject(n.add(r),e)},_limitOffset:function(t,e){if(!e)return t;var i=this.getPixelBounds(),n=new q(i.min.add(t),i.max.add(t));return t.add(this._getBoundsOffset(n,e))},_getBoundsOffset:function(t,e,i){var n=G(this.project(e.getNorthEast(),i),this.project(e.getSouthWest
1(),i)),o=n.min.subtract(t.min),s=n.max.subtract(t.max);return new H(this._rebound(o.x,-s.x),this._rebound(o.y,-s.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=tD.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(){t7(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=t1("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=this._proxy.style[tY];en(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),e===this._proxy.style[tY]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){t2(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();en(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))&&(N(function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)},this),!0)},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,t4(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(f(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&t7(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))}}),ek=B.extend({options:{position:"topright"},initialize:function(t){T(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 t4(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&&(t2(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),ez=function(t){return new ek(t)};eA.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=t1("div",e+"control-container",this._container);function n(n,o){t[n+o]=t1("div",e+n+" "+e+o,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)t2(this._controlCorners[t]);t2(this._controlContainer),delete this._controlCorners,delete this._controlContainer}}
vendor: 6,179 bytes, line 1
1);var eO=ek.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 T(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 ek.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(g(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){t4(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?(t4(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):t7(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return t7(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=t1("div",t),i=this.options.collapsed;e.setAttribute("aria-haspopup",!0),ex(e),eb(e);var n=this._section=t1("section",t+"-list");i&&(this._map.on("click",this.collapse,this),ep(e,{mouseenter:function(){ep(n,"click",eT),this.expand(),setTimeout(function(){em(n,"click",eT)})},mouseleave:this.collapse},this));var o=this._layersLink=t1("a",t+"-toggle",e);o.href="#",o.title="Layers",o.setAttribute("role","button"),ep(o,"click",eT),ep(o,"focus",this.expand,this),i||this.expand(),this._baseLayersList=t1("div",t+"-base",n),this._separator=t1("div",t+"-separator",n),this._overlaysList=t1("div",t+"-overlays",n),e.appendChild(n)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&g(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(f(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;t5(this._baseLayersList),t5(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(g(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=document.createElement("div");return i.innerHTML='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",i.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_"+g(this),n),this._layerControlInputs.push(e),e.layerId=g(t.layer),ep(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 s=i.length-1;s>=0;s--)t=i[s],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(s=0;s<o.length;s++)this._map.hasLayer(o[s])&&this._map.removeLayer(o[s]);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])||this._map.addLayer(n[s]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,e,i=this._layerControlInputs,n=this._map.getZoom(),o=i.length-1;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}}),eI=ek.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=t1("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))}
1,_createButton:function(t,e,i,n,o){var s=t1("a",i,n);return s.innerHTML=t,s.href="#",s.title=e,s.setAttribute("role","button"),s.setAttribute("aria-label",e),ex(s),ep(s,"click",eS),ep(s,"click",o,this),ep(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";t7(this._zoomInButton,e),t7(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(t4(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(t4(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}});eA.mergeOptions({zoomControl:!0}),eA.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new eI,this.addControl(this.zoomControl))});var ej=ek.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=t1("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=t1("div",e,i)),t.imperial&&(this._iScale=t1("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);this._updateScale(this._mScale,e<1e3?e+" m":e/1e3+" km",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=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1)}}),eN=ek.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(tD.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){T(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=t1("div","leaflet-control-attribution"),ex(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t&&(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update()),this},removeAttribution:function(t){return t&&this._attributions[t]&&(this._attributions[t]--,this._update()),this},_update:function(){if(this._map){var t=[];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> ')}}});eA.mergeOptions({attributionControl:!0}),eA.addInitHook(function(){this.options.attributionControl&&new eN().addTo(this)}),ek.Layers=eO,ek.Zoom=eI,ek.Scale=ej,ek.Attribution=eN,ez.layers=function(t,e,i){return new eO(t,e,i)},ez.zoom=function(t){return new eI(t)},ez.scale=function(t){return new ej(t)},ez.attribution=function(t){return new eN(t)};var eD=B.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}});eD.addTo=function(t,e){return t.addHandler(e,this),this};var eB=tD.touch?"touchstart mousedown":"mousedown",eZ=R.extend({options:{clickTolerance:3}
1,initialize:function(t,e,i,n){T(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(ep(this._dragStartTarget,eB,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(eZ._dragging===this&&this.finishDrag(!0),em(this._dragStartTarget,eB,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!(!this._enabled||(this._moved=!1,t8(this._element,"leaflet-zoom-anim")))){if(t.touches&&1!==t.touches.length){eZ._dragging===this&&this.finishDrag();return}if(!eZ._dragging&&!t.shiftKey&&(1===t.which||1===t.button||t.touches)&&(eZ._dragging=this,this._preventOutline&&ed(this._element),ea(),i(),!this._moving)){this.fire("down");var e=t.touches?t.touches[0]:t,n=eu(this._element);this._startPoint=new H(e.clientX,e.clientY),this._startPos=es(this._element),this._parentScale=ec(n);var o="mousedown"===t.type;ep(document,o?"mousemove":"touchmove",this._onMove,this),ep(document,o?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(t){if(this._enabled){if(t.touches&&t.touches.length>1){this._moved=!0;return}var e=t.touches&&1===t.touches.length?t.touches[0]:t,i=new H(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,eT(t),this._moved||(this.fire("dragstart"),this._moved=!0,t4(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),t4(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),eo(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){t7(document.body,"leaflet-dragging"),this._lastTarget&&(t7(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),em(document,"mousemove touchmove",this._onMove,this),em(document,"mouseup touchend touchcancel",this._onUp,this),el(),n(),this._moved&&this._moving&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)}),this._moving=!1,eZ._dragging=!1}});function eR(t,e){if(!e||!t.length)return t.slice();var i=e*e;return t=function(t,e){var i=t.length,n=new("undefined"!=typeof Uint8Array?Uint8Array:Array)(i);n[0]=n[i-1]=1,function t(e,i,n,o,s){var r,l,d,h=0;for(l=o+1;l<=s-1;l++)(d=eG(e[l],e[o],e[s],!0))>h&&(r=l,h=d);h>n&&(i[r]=1,t(e,i,n,o,r),t(e,i,n,r,s))}(t,n,e,0,i-1);var o,s=[];for(o=0;o<i;o++)n[o]&&s.push(t[o]);return s}(t=function(t,e){for(var i=[t[0]],n=1,o=0,s=t.length;n<s;n++)(function(t,e){var i=e.x-t.x,n=e.y-t.y;return i*i+n*n})(t[n],t[o])>e&&(i.push(t[n]),o=n);return o<s-1&&i.push(t[s-1]),i}(t,i),i)}function eH(t,e,i){return Math.sqrt(eG(t,e,i,!0))}function eF(t,e,i,n,o){var s,r,d,h=n?l:eq(t,i),u=eq(e,i);for(l=u;;){if(!(h|u))return[t,e];if(h&u)return!1;d=eq(r=eW(t,e,s=h||u,i,o),i),s===h?(t=r,h=d):(e=r,u=d)}}function eW(t,e,i,n,o){var s,r,l=e.x-t.x,d=e.y-t.y,h=n.min,u=n.max;return 8&i?(s=t.x+l*(u.y-t.y)/d,r=u.y):4&i?(s=t.x+l*(h.y-t.y)/d,r=h.y):2&i?(s=u.x,r=t.y+d*(u.x-t.x)/l):1&i&&(s=h.x,r=t.y+d*(h.x-t.x)/l),new H(s,r,o)}function eq(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 eG(t,e,i,n){var o,s=e.x,r=e.y,l=i.x-s,d=i.y-r,h=l*l+d*d;return h>0&&((o=((t.x-s)*l+(t.y-r)*d)/h)>1?(s=i.x,r=i.y):o>0&&(s+=l*o,r+=d*o)),l=t.x-s,d=t.y-r,n?l*l+d*d:new H(s,r)}function eV(t){return!E(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function eU(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),eV(t)}function e$(t,e,i){var n,o,s,r,l,d,h,u,c,p=[1,4,2,8];for(o=0,h=t.length;o<h;o++)t[o]._code=eq(t[o],e);for(r=0;r<4;r++){for(o=0,u=p[r],n=[],s=(h=t.length)-1;o<h;s=o++)l=t[o],d=t[s],l._code&u?d._code&u||((c=eW(d,l,u,e,i))._code=eq(c,e),n.push(c)):(d._code&u&&((c=eW(d,l,u,e,i))._code=eq(c,e),n.push(c)),n.push(l));t=n}return t}var eX={project:function(t){return new H(t.lng,t.lat)},unproject:function(t){return new $(t.y,t.x)},bounds:new q([-180,-90],[180,90])},eY={R:6378137,R_MINOR:6356752.314245179,bounds:new q([-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,s=Math.sqrt(1-o*o),r=s*Math.sin(n);return n=-i*Math.log(Math.max(Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),s/2),1e-10)),new H(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),l=Math.PI/2-2*Math.atan(r),d=0,h=.1;d<15&&Math.abs(h)>1e-7;d++)h=Math.PI/2-2*Math.atan(r*(e=Math.pow((1-(e=s*Math.sin(l)))/(1+e),s/2)))-l,l+=h;return new $(l*i,t.x*i/n)}},eK=e({}
vendor: 6,155 bytes, line 1
1,K,{code:"EPSG:3395",projection:eY,transformation:tt(c=.5/(Math.PI*eY.R),.5,-c,.5)}),eJ=e({},K,{code:"EPSG:4326",projection:eX,transformation:tt(1/180,1,-1/180,.5)}),eQ=e({},Y,{projection:eX,transformation:tt(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});Y.Earth=K,Y.EPSG3395=eK,Y.EPSG3857=te,Y.EPSG900913=ti,Y.EPSG4326=eJ,Y.Simple=eQ;var e0=R.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[g(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[g(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})}}});eA.include({addLayer:function(t){if(!t._layerAdd)throw Error("The provided object is not a Layer.");var e=g(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=g(t);return this._layers[e]&&(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return g(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){t=t?E(t)?t:[t]:[];for(var e=0,i=t.length;e<i;e++)this.addLayer(t[e])},_addZoomLimit:function(t){isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[g(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=g(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 e1=e0.extend({initialize:function(t,e){var i,n;if(T(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 g(t)}}),e2=e1.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),e1.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),e1.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 V;for(var e in this._layers){var i=this._layers[e];t.extend(i.getBounds?i.getBounds():i.getLatLng())}return t}}),e5=B.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){T(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 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=W(n),s=W("shadow"===e&&i.shadowAnchor||i.iconAnchor||o&&o.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(i.className||""),s&&(t.style.marginLeft=-s.x+"px",t.style.marginTop=-s.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 tD.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),e3=e5.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return"string"!=typeof e3.imagePath&&(e3.imagePath=this._detectIconPath()),(this.options.imagePath||e3.imagePath)+e5.prototype._getIconUrl.call(this,t)}
vendor: 4,682 bytes, line 1
1,_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=t1("div","leaflet-default-icon-path",document.body),e=t0(t,"background-image")||t0(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):""}}),e9=eD.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new eZ(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),t4(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&&t7(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,i=e._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,s=es(e._icon),r=i.getPixelBounds(),l=i.getPixelOrigin(),d=G(r.min._subtract(l).add(o),r.max._subtract(l).subtract(o));if(!d.contains(s)){var h=W((Math.max(d.max.x,s.x)-d.max.x)/(r.max.x-d.max.x)-(Math.min(d.min.x,s.x)-d.min.x)/(r.min.x-d.min.x),(Math.max(d.max.y,s.y)-d.max.y)/(r.max.y-d.max.y)-(Math.min(d.min.y,s.y)-d.min.y)/(r.min.y-d.min.y)).multiplyBy(n);i.panBy(h,{animate:!1}),this._draggable._newPos._add(h),this._draggable._startPos._add(h),eo(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=N(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&&(D(this._panRequest),this._panRequest=N(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,i=e._shadow,n=es(e._icon),o=e._map.layerPointToLatLng(n);i&&eo(i,n),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){D(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),e8=e0.extend({options:{icon:new e3,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){T(this,e),this._latlng=X(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=X(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||"")),t4(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&&ep(i,"focus",this._panOnFocus,this);var o=t.icon.createShadow(this._shadow),s=!1;o!==this._shadow&&(this._removeShadow(),s=!0),o&&(t4(o,e),o.alt=""),this._shadow=o,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&s&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}
vendor: 8,003 bytes, line 1
1),this.options.autoPanOnFocus&&em(this._icon,"focus",this._panOnFocus,this),t2(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&t2(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&eo(this._icon,t),this._shadow&&eo(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&&(t4(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),e9)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new e9(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&&ee(this._icon,t),this._shadow&&ee(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?W(e.iconSize):W(0,0),n=e.iconAnchor?W(e.iconAnchor):W(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}}),e4=e0.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 T(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)}}),e7=e4.extend({options:{fill:!0,radius:10},initialize:function(t,e){T(this,e),this._latlng=X(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=X(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 e4.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 q(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()}}),e6=e7.extend({initialize:function(t,i,n){if("number"==typeof i&&(i=e({},n,{radius:i})),T(this,i),this._latlng=X(t),isNaN(this.options.radius))throw 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 V(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:e4.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,i=this._map,n=i.options.crs;if(n.distance===K.distance){var o=Math.PI/180,s=this._mRadius/K.R/o,r=i.project([e+s,t]),l=i.project([e-s,t]),d=r.add(l).divideBy(2),h=i.unproject(d).lat,u=Math.acos((Math.cos(s*o)-Math.sin(e*o)*Math.sin(h*o))/(Math.cos(e*o)*Math.cos(h*o)))/o;(isNaN(u)||0===u)&&(u=s/Math.cos(Math.PI/180*e)),this._point=d.subtract(i.getPixelOrigin()),this._radius=isNaN(u)?0:d.x-i.project([h,t-u]).x,this._radiusY=d.y-r.y}else{var c=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=i.latLngToLayerPoint(this._latlng),this._radius=this._point.x-i.latLngToLayerPoint(c).x}this._updateBounds()}}),it=e4.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){T(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,s=eG,r=0,l=this._parts.length;r<l;r++)for(var d=this._parts[r],h=1,u=d.length;h<u;h++){var c=s(t,e=d[h-1],i=d[h],!0);c<n&&(n=c,o=s(t,e,i))}return o&&(o.distance=Math.sqrt(n)),o},getCenter:function(){if(!this._map)throw Error("Must add layer to map before using getCenter()");var t,e,i,n,o,s,r,l=this._rings[0],d=l.length;if(!d)return null;for(t=0,e=0;t<d-1;t++)e+=l[t].distanceTo(l[t+1])/2;if(0===e)return this._map.layerPointToLatLng(l[0]);for(t=0,n=0;t<d-1;t++)if(o=l[t],s=l[t+1],(n+=i=o.distanceTo(s))>e)return r=(n-e)/i,this._map.layerPointToLatLng([s.x-r*(s.x-o.x),s.y-r*(s.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=X(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new V,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return eV(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],i=eV(t),n=0,o=t.length;n<o;n++)i?(e[n]=X(t[n]),this._bounds.extend(e[n])):e[n]=this._convertLatLngs(t[n]);return e},_project:function(){var t=new q;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 H(t,t);this._rawPxBounds&&(this._pxBounds=new q([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)]))},_projectLatlngs:function(t,e,i){var n,o,s=t[0]instanceof $,r=t.length;if(s){for(n=0,o=[];n<r;n++)o[n]=this._map.latLngToLayerPoint(t[n]),i.extend(o[n]);e.push(o)}else for(n=0;n<r;n++)this._projectLatlngs(t[n],e,i)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t)){if(this.options.noClip){this._parts=this._rings;return}var e,i,n,o,s,r,l,d=this._parts;for(e=0,n=0,o=this._rings.length;e<o;e++)for(i=0,s=(l=this._rings[e]).length;i<s-1;i++)(r=eF(l[i],l[i+1],t,i,!0))&&(d[n]=d[n]||[],d[n].push(r[0]),(r[1]!==l[i+1]||i===s-2)&&(d[n].push(r[1]),n++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,i=0,n=t.length;i<n;i++)t[i]=eR(t[i],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var i,n,o,s,r,l,d=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(i=0,s=this._parts.length;i<s;i++)for(n=0,o=(r=(l=this._parts[i]).length)-1;n<r;o=n++)if((e||0!==n)&&eH(t,l[o],l[n])<=d)return!0;return!1}});it._flat=eU;var ie=it.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
1,getCenter:function(){if(!this._map)throw Error("Must add layer to map before using getCenter()");var t,e,i,n,o,s,r,l,d,h=this._rings[0],u=h.length;if(!u)return null;for(t=0,s=r=l=0,e=u-1;t<u;e=t++)i=h[t],n=h[e],o=i.y*n.x-n.y*i.x,r+=(i.x+n.x)*o,l+=(i.y+n.y)*o,s+=3*o;return d=0===s?h[0]:[r/s,l/s],this._map.layerPointToLatLng(d)},_convertLatLngs:function(t){var e=it.prototype._convertLatLngs.call(this,t),i=e.length;return i>=2&&e[0]instanceof $&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){it.prototype._setLatLngs.call(this,t),eV(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return eV(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new H(e,e);if(t=new q(t.min.subtract(i),t.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t)){if(this.options.noClip){this._parts=this._rings;return}for(var n,o=0,s=this._rings.length;o<s;o++)(n=e$(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,s,r,l,d,h=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,l=this._parts.length;o<l;o++)for(s=0,r=(d=(e=this._parts[o]).length)-1;s<d;r=s++)i=e[s],n=e[r],i.y>t.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(h=!h);return h||it.prototype._containsPoint.call(this,t,!0)}}),ii=e2.extend({initialize:function(t,e){T(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=E(t)?t:t.features;if(o){for(e=0,i=o.length;e<i;e++)((n=o[e]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var s=this.options;if(s.filter&&!s.filter(t))return this;var r=io(t,s);return r?(r.feature=iu(t),r.defaultOptions=r.options,this.resetStyle(r),s.onEachFeature&&s.onEachFeature(t,r),this.addLayer(r)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=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 io(t,e){var i,n,o,s="Feature"===t.type?t.geometry:t,r=s?s.coordinates:null,l=[],d=e&&e.pointToLayer,h=e&&e.coordsToLatLng||ir;if(!r&&!s)return null;switch(s.type){case"Point":return is(d,t,i=h(r),e);case"MultiPoint":for(n=0,o=r.length;n<o;n++)i=h(r[n]),l.push(is(d,t,i,e));return new e2(l);case"LineString":case"MultiLineString":return new it(ia(r,"LineString"===s.type?0:1,h),e);case"Polygon":case"MultiPolygon":return new ie(ia(r,"Polygon"===s.type?1:2,h),e);case"GeometryCollection":for(n=0,o=s.geometries.length;n<o;n++){var u=io({geometry:s.geometries[n],type:"Feature",properties:t.properties},e);u&&l.push(u)}return new e2(l);default:throw Error("Invalid GeoJSON object.")}}function is(t,e,i,n){return t?t(e,i):new e8(i,n&&n.markersInheritOptions&&n)}function ir(t){return new $(t[1],t[0],t[2])}function ia(t,e,i){for(var n=[],o=0,s=t.length;o<s;o++)n.push(e?ia(t[o],e-1,i):(i||ir)(t[o]));return n}function il(t,e){return void 0!==(t=X(t)).alt?[w(t.lng,e),w(t.lat,e),w(t.alt,e)]:[w(t.lng,e),w(t.lat,e)]}function id(t,e,i,n){for(var o=[],s=0,r=t.length;s<r;s++)o.push(e?id(t[s],e-1,i,n):il(t[s],n));return!e&&i&&o.push(o[0]),o}function ih(t,i){return t.feature?e({},t.feature,{geometry:i}):iu(i)}function iu(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var ic={toGeoJSON:function(t){return ih(this,{type:"Point",coordinates:il(this.getLatLng(),t)})}};function ip(t,e){return new ii(t,e)}e8.include(ic),e6.include(ic),e7.include(ic),it.include({toGeoJSON:function(t){var e=!eV(this._latlngs),i=id(this._latlngs,e?1:0,!1,t);return ih(this,{type:(e?"Multi":"")+"LineString",coordinates:i})}}),ie.include({toGeoJSON:function(t){var e=!eV(this._latlngs),i=e&&!eV(this._latlngs[0]),n=id(this._latlngs,i?2:e?1:0,!0,t);return e||(n=[n]),ih(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),e1.include({toMultiPoint:function(t){var e=[];return this.eachLayer(function(i){e.push(i.toGeoJSON(t).geometry.coordinates)}),ih(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 s=iu(o);"FeatureCollection"===s.type?n.push.apply(n,s.features):n.push(s)}}}),i)?ih(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var im=e0.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""}
vendor: 20,018 bytes, line 1
1,initialize:function(t,e,i){this._url=t,this._bounds=U(e),T(this,i)},onAdd:function(){!this._image&&(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(t4(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){t2(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&&t3(this._image),this},bringToBack:function(){return this._map&&t9(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=U(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:t1("img");if(t4(e,"leaflet-image-layer"),this._zoomAnimated&&t4(e,"leaflet-zoom-animated"),this.options.className&&t4(e,this.options.className),e.onselectstart=y,e.onmousemove=y,e.onload=f(this.fire,this,"load"),e.onerror=f(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;return}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;en(this._image,i,e)},_reset:function(){var t=this._image,e=new q(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();eo(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){ee(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()}}),ig=im.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:t1("video");if(t4(e,"leaflet-image-layer"),this._zoomAnimated&&t4(e,"leaflet-zoom-animated"),this.options.className&&t4(e,this.options.className),e.onselectstart=y,e.onmousemove=y,e.onloadeddata=f(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),n=[],o=0;o<i.length;o++)n.push(i[o].src);this._url=i.length>0?n:[e.src];return}E(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var s=0;s<this._url.length;s++){var r=t1("source");r.src=this._url[s],e.appendChild(r)}}}),iv=im.extend({_initImage:function(){var t=this._image=this._url;t4(t,"leaflet-image-layer"),this._zoomAnimated&&t4(t,"leaflet-zoom-animated"),this.options.className&&t4(t,this.options.className),t.onselectstart=y,t.onmousemove=y}}),i_=e0.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0},initialize:function(t,e){T(this,t),this._source=e},openOn:function(t){return t=arguments.length?t:this._source._map,t.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&&ee(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&ee(this._container,1),this.bringToFront(),this.options.interactive&&(t4(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(ee(this._container,0),this._removeTimeout=setTimeout(f(t2,void 0,this._container),200)):t2(this._container),this.options.interactive&&(t7(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=X(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&&t3(this._container),this},bringToBack:function(){return this._map&&t9(this._container),this},_prepareOpen:function(t){var e=this._source;if(!e._map)return!1;if(e instanceof e2){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)t=e.getBounds().getCenter();else throw Error("Unable to get source layer LatLng.")}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=W(this.options.offset),i=this._getAnchor();this._zoomAnimated?eo(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]}});eA.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}}),e0.include({_initOverlay:function(t,e,i,n){var o=i;return o instanceof t?(T(o,n),o._source=this):(o=e&&!n?e:new t(n,this)).setContent(i),o}});var iy=i_.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,!t.hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,i_.prototype.openOn.call(this,t)},onAdd:function(t){i_.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),!this._source||(this._source.fire("popupopen",{popup:this},!0),this._source instanceof e4||this._source.on("preclick",ew))},onRemove:function(t){i_.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),!this._source||(this._source.fire("popupclose",{popup:this},!0),this._source instanceof e4||this._source.off("preclick",ew))},getEvents:function(){var t=i_.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=t1("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=t1("div",t+"-content-wrapper",e);if(this._contentNode=t1("div",t+"-content",i),ex(e),eb(this._contentNode),ep(e,"contextmenu",ew),this._tipContainer=t1("div",t+"-tip-container",e),this._tip=t1("div",t+"-tip",this._tipContainer),this.options.closeButton){var n=this._closeButton=t1("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>',ep(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.max(i=Math.min(i,this.options.maxWidth),this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="";var n=t.offsetHeight,o=this.options.maxHeight,s="leaflet-popup-scrolled";o&&n>o?(e.height=o+"px",t4(t,s)):t7(t,s),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();eo(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(t0(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+i,o=this._containerWidth,s=new H(this._containerLeft,-n-this._containerBottom);s._add(es(this._container));var r=e.layerPointToContainerPoint(s),l=W(this.options.autoPanPadding),d=W(this.options.autoPanPaddingTopLeft||l),h=W(this.options.autoPanPaddingBottomRight||l),u=e.getSize(),c=0,p=0;r.x+o+h.x>u.x&&(c=r.x+o-u.x+h.x),r.x-c-d.x<0&&(c=r.x-d.x),r.y+n+h.y>u.y&&(p=r.y+n-u.y+h.y),r.y-p-d.y<0&&(p=r.y-d.y),(c||p)&&e.fire("autopanstart").panBy([c,p],{animate:t&&"moveend"===t.type})}},_getAnchor:function(){return W(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});eA.mergeOptions({closePopupOnClick:!0}),eA.include({openPopup:function(t,e,i){return this._initOverlay(iy,t,e,i).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),e0.include({bindPopup:function(t,e){return this._popup=this._initOverlay(iy,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){eS(t);var e=t.layer||t.target;if(this._popup._source===e&&!(e instanceof e4)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng);return}this._popup._source=e,this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var iw=i_.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){i_.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){i_.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=i_.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=t1("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,i,n=this._map,o=this._container,s=n.latLngToContainerPoint(n.getCenter()),r=n.layerPointToContainerPoint(t),l=this.options.direction,d=o.offsetWidth,h=o.offsetHeight,u=W(this.options.offset),c=this._getAnchor();"top"===l?(e=d/2,i=h):"bottom"===l?(e=d/2,i=0):("center"===l?e=d/2:"right"===l?e=0:"left"===l?e=d:r.x<s.x?(l="right",e=0):(l="left",e=d+(u.x+c.x)*2),i=h/2),t=t.subtract(W(e,i,!0)).add(u).add(c),t7(o,"leaflet-tooltip-right"),t7(o,"leaflet-tooltip-left"),t7(o,"leaflet-tooltip-top"),t7(o,"leaflet-tooltip-bottom"),t4(o,"leaflet-tooltip-"+l),eo(o,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&ee(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return W(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});eA.include({openTooltip:function(t,e,i){return this._initOverlay(iw,t,e,i).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),e0.include({bindTooltip:function(t,e){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(iw,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={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?e.add=this._openTooltip:(e.mouseover=this._openTooltip,e.mouseout=this.closeTooltip,e.click=this._openTooltip),this._tooltip.options.sticky&&(e.mousemove=this._moveTooltip),this[t?"off":"on"](e),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 ib=e5.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?(t5(e),e.appendChild(i.html)):e.innerHTML=!1!==i.html?i.html:"",i.bgPos){var n=W(i.bgPos);e.style.backgroundPosition=-n.x+"px "+-n.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});e5.Default=e3;var ix=e0.extend({options:{tileSize:256,opacity:1,updateWhenIdle:tD.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){T(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),t2(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(t3(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(t9(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=v(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 H?t:new H(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,i=this.getPane().children,n=-t(-1/0,1/0),o=0,s=i.length;o<s;o++)e=i[o].style.zIndex,i[o]!==this._container&&e&&(n=t(n,+e));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!tD.ielt9){ee(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 s=Math.min(1,(t-o.loaded)/200);ee(o.el,s),s<1?e=!0:(o.active?i=!0:this._onOpaqueTile(o),o.active=!0)}}i&&!this._noPrune&&this._pruneTiles(),e&&(D(this._fadeFrame),this._fadeFrame=N(this._updateOpacity,this))}},_onOpaqueTile:y,_initContainer:function(){this._container||(this._container=t1("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)):(t2(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=t1("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()),y(n.el.offsetWidth),this._onCreateLevel(n)),this._level=n,n}},_onUpdateLevel:y,_onRemoveLevel:y,_onCreateLevel:y,_pruneTiles:function(){if(this._map){var t,e,i=this._map.getZoom();if(i>this.options.maxZoom||i<this.options.minZoom){this._removeAllTiles();return}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)t2(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0}
vendor: 10,947 bytes, line 1
1,_retainParent:function(t,e,i,n){var o=Math.floor(t/2),s=Math.floor(e/2),r=i-1,l=new H(+o,+s);l.z=+r;var d=this._tileCoordsToKey(l),h=this._tiles[d];return h&&h.active?(h.retain=!0,!0):(h&&h.loaded&&(h.retain=!0),r>n&&this._retainParent(o,s,r,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*e;s<2*e+2;s++){var r=new H(o,s);r.z=i+1;var l=this._tileCoordsToKey(r),d=this._tiles[l];if(d&&d.active){d.retain=!0;continue}d&&d.loaded&&(d.retain=!0),i+1<n&&this._retainChildren(o,s,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 s=this.options.updateWhenZooming&&o!==this._tileZoom;(!n||s)&&(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var i in this._levels)this._setZoomTransform(this._levels[i],t,e)},_setZoomTransform:function(t,e,i){var n=this._map.getZoomScale(i,t.zoom),o=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e,i)).round();tD.any3d?en(t.el,o,n):eo(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(),s=e.getSize().divideBy(2*n);return new q(o.subtract(s),o.add(s))},_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),s=o.getCenter(),r=[],l=this.options.keepBuffer,d=new q(o.getBottomLeft().subtract([l,-l]),o.getTopRight().add([l,-l]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw Error("Attempted to load an infinite number of tiles");for(var h in this._tiles){var u=this._tiles[h].coords;u.z===this._tileZoom&&d.contains(new H(u.x,u.y))||(this._tiles[h].current=!1)}if(Math.abs(i-this._tileZoom)>1){this._setView(t,i);return}for(var c=o.min.y;c<=o.max.y;c++)for(var p=o.min.x;p<=o.max.x;p++){var f=new H(p,c);if(f.z=this._tileZoom,this._isValidTile(f)){var m=this._tiles[this._tileCoordsToKey(f)];m?m.current=!0:r.push(f)}}if(r.sort(function(t,e){return t.distanceTo(s)-e.distanceTo(s)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var g=document.createDocumentFragment();for(p=0;p<r.length;p++)this._addTile(r[p],g);this._level.el.appendChild(g)}}}},_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 U(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 V(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 H(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(t2(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){t4(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=y,t.onmousemove=y,tD.ielt9&&this.options.opacity<1&&ee(t,this.options.opacity)},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),f(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&N(f(this._tileReady,this,t,null,o)),eo(o,i),this._tiles[n]={el:o,coords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(ee(i.el,0),D(this._fadeFrame),this._fadeFrame=N(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(t4(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),tD.ielt9||!this._map._fadeAnimated?N(this._pruneTiles,this):setTimeout(f(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new H(this._wrapX?_(t.x,this._wrapX):t.x,this._wrapY?_(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new q(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}}),iT=ix.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=T(this,e)).detectRetina&&tD.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 ep(i,"load",f(this._tileOnLoad,this,e,i)),ep(i,"error",f(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:tD.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 P(this._url,e(i,this.options))},_tileOnLoad:function(t,e){tD.ielt9?setTimeout(f(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,i=this.options.zoomReverse,n=this.options.zoomOffset;return i&&(t=e-t),t+n},_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=y,e.onerror=y,!e.complete)){e.src=A;var i=this._tiles[t].coords;t2(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",A),ix.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==A))return ix.prototype._tileReady.call(this,t,e,i)}});function iS(t,e){return new iT(t,e)}var iC=iT.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 s=(i=T(this,i)).detectRetina&&tD.retina?2:1,r=this.getTileSize();n.width=r.x*s,n.height=r.y*s,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,iT.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,n=G(i.project(e[0]),i.project(e[1])),o=n.min,s=n.max,r=(this._wmsVersion>=1.3&&this._crs===eJ?[o.y,o.x,s.y,s.x]:[o.x,o.y,s.x,s.y]).join(","),l=iT.prototype.getTileUrl.call(this,t);return l+S(this.wmsParams,l,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(t,i){return e(this.wmsParams,t),i||this.redraw(),this}});iT.WMS=iC,iS.wms=function(t,e){return new iC(t,e)};var iL=e0.extend({options:{padding:.1},initialize:function(t){T(this,t),g(this),this._layers=this._layers||{}},onAdd:function(){!this._container&&(this._initContainer(),this._zoomAnimated&&t4(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),s=n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t,e));tD.any3d?en(this._container,s,i):eo(this._container,s)},_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)).roun
vendor: 5,446 bytes, line 1
1d();this._bounds=new q(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),iP=iL.extend({options:{tolerance:0},getEvents:function(){var t=iL.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){iL.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");ep(t,"mousemove",this._onMouseMove,this),ep(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ep(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){D(this._redrawRequest),delete this._ctx,t2(this._container),em(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){iL.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),n=tD.retina?2:1;eo(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",tD.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){iL.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[g(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[g(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(isNaN(e=Number(n[i])))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||N(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new q,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,s,r=t._parts,l=r.length,d=this._ctx;if(l){for(d.beginPath(),i=0;i<l;i++){for(n=0,o=r[i].length;n<o;n++)s=r[i][n],d[n?"lineTo":"moveTo"](s.x,s.y);e&&d.closePath()}this._fillStroke(d,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&&(t7(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var i,n,o=this._drawFirst;o;o=o.next)(i=o.layer).options.interactive&&i._containsPoint(e)&&(n=i);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(t4(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(f(function(){this._mouseHoverThrottled=!1},this),32)}}
vendor: 11,533 bytes, line 1
1,_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;if(!i)return;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;if(!n)return;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 iE(t){return tD.canvas?new iP(t):null}var iM=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">')}}(),iA=tD.vml?iM:tn,ik=iL.extend({_initContainer:function(){this._container=iA("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=iA("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){t2(this._container),em(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){iL.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)),eo(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=iA("path");t.options.className&&t4(e,t.options.className),t.options.interactive&&t4(e,"leaflet-interactive"),this._updateStyle(t),this._layers[g(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){t2(t._path),t.removeInteractiveTarget(t._path),delete this._layers[g(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,to(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n=Math.max(Math.round(t._radiusY),1)||i,o="a"+i+","+n+" 0 1,0 ",s=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+o+2*i+",0 "+o+-(2*i)+",0 ";this._setPath(t,s)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){t3(t._path)},_bringToBack:function(t){t9(t._path)}});function iz(t){return tD.svg||tD.vml?new ik(t):null}tD.vml&&ik.include({_initContainer:function(){this._container=t1("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(iL.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=iM("shape");t4(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=iM("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[g(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;t2(e),t.removeInteractiveTarget(e),delete this._layers[g(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=iM("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=E(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=iM("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){t3(t._container)},_bringToBack:function(t){t9(t._container)}}),eA.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&&iE(t)||iz(t)}});var iO=ie.extend({initialize:function(t,e){ie.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=U(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});ik.create=iA,ik.pointsToPath=to,ii.geometryToLayer=io,ii.coordsToLatLng=ir,ii.coordsToLatLngs=ia,ii.latLngToCoords=il,ii.latLngsToCoords=id,ii.getFeature=ih,ii.asFeature=iu,eA.mergeOptions({boxZoom:!0});var iI=eD.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(){ep(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){em(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){t2(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(),i(),ea(),this._startPoint=this._map.mouseEventToContainerPoint(t),ep(document,{contextmenu:eS,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=t1("div","leaflet-zoom-box",this._container),t4(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new q(this._point,this._startPoint),i=e.getSize();eo(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(t2(this._box),t7(this._container,"leaflet-crosshair")),n(),el(),em(document,{contextmenu:eS,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(f(this._resetState,this),0);var e=new V(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())}});eA.addInitHook("addHandler","boxZoom",iI),eA.mergeOptions({doubleClickZoom:!0});var ij=eD.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)}});eA.addInitHook("addHandler","doubleClickZoom",ij),eA.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var iN=eD.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new eZ(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))}t4(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){t7(this._map._container,"leaflet-grab"),t7(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=U(this._map.options.maxBounds);this._offsetLimit=G(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,s=(n+e+i)%t-e-i;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=Math.abs(o+i)<Math.abs(s+i)?o: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]),s=(this._lastTime-this._times[0])/1e3,r=i.easeLinearity,l=o.multiplyBy(r/s),d=l.distanceTo([0,0]),h=Math.min(i.inertiaMaxSpeed,d),u=l.multiplyBy(h/d),c=h/(i.inertiaDeceleration*r),p=u.multiplyBy(-c/2).round();p.x||p.y?(p=e._limitOffset(p,e.options.maxBounds),N(function(){e.panBy(p,{duration:c,easeLinearity:r,noMoveStart:!0,animate:!0})}
vendor: 2,997 bytes, line 1
1)):e.fire("moveend")}}});eA.addInitHook("addHandler","dragging",iN),eA.mergeOptions({keyboard:!0,keyboardPanDelta:80});var iD=eD.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"),ep(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(),em(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(){ep(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){em(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=W(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()}eS(t)}}});eA.addInitHook("addHandler","keyboard",iD),eA.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var iB=eD.extend({addHooks:function(){ep(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){em(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=eP(t),i=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var n=Math.max(i-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(f(this._performZoom,this),n),eS(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),i=this._map.options.zoomSnap||0;t._stop();var n=4*Math.log(2/(1+Math.exp(-Math.abs(this._delta/(4*this._map.options.wheelPxPerZoomLevel)))))/M
vendor: 5,167 bytes, line 1
1ath.LN2,o=i?Math.ceil(n/i)*i:n,s=t._limitZoom(e+(this._delta>0?o:-o))-e;this._delta=0,this._startTime=null,s&&("center"===t.options.scrollWheelZoom?t.setZoom(e+s):t.setZoomAround(this._lastMousePos,e+s))}});eA.addInitHook("addHandler","scrollWheelZoom",iB),eA.mergeOptions({tapHold:tD.touchNative&&tD.safari&&tD.mobile,tapTolerance:15});var iZ=eD.extend({addHooks:function(){ep(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){em(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 H(e.clientX,e.clientY),this._holdTimeout=setTimeout(f(function(){this._cancel(),this._isTapValid()&&(ep(document,"touchend",eT),ep(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))},this),600),ep(document,"touchend touchcancel contextmenu",this._cancel,this),ep(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){em(document,"touchend",eT),em(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),em(document,"touchend touchcancel contextmenu",this._cancel,this),em(document,"touchmove",this._onMove,this)},_onMove:function(t){var e=t.touches[0];this._newPos=new H(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)}});eA.addInitHook("addHandler","tapHold",iZ),eA.mergeOptions({touchZoom:tD.touch,bounceAtZoomLimits:!0});var iR=eD.extend({addHooks:function(){t4(this._map._container,"leaflet-touch-zoom"),ep(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){t7(this._map._container,"leaflet-touch-zoom"),em(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(),ep(document,"touchmove",this._onTouchMove,this),ep(document,"touchend touchcancel",this._onTouchEnd,this),eT(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),o=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&o<1||this._zoom>e.getMaxZoom()&&o>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===o)return}else{var s=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1===o&&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),D(this._animRequest);var r=f(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=N(r,this,!0),eT(t)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,D(this._animRequest),em(document,"touchmove",this._onTouchMove,this),em(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))}});eA.addInitHook("addHandler","touchZoom",iR),eA.BoxZoom=iI,eA.DoubleClickZoom=ij,eA.Drag=iN,eA.Keyboard=iD,eA.ScrollWheelZoom=iB,eA.TapHold=iZ,eA.TouchZoom=iR,t.Bounds=q,t.Browser=tD,t.CRS=Y,t.Canvas=iP,t.Circle=e6,t.CircleMarker=e7,t.Class=B,t.Control=ek,t.DivIcon=ib,t.DivOverlay=i_,t.DomEvent={__proto__:null,on:ep,off:em,stopPropagation:ew,disableScrollPropagation:eb,disableClickPropagation:ex,preventDefault:eT,stop:eS,getMousePosition:eC,getWheelDelta:eP,isExternalTarget:eE,addListener:ep,removeListener:em},t.DomUtil={__proto__:null,TRANSFORM:tY,TRANSITION:tK,TRANSITION_END:tJ,get:tQ,getStyle:t0,create:t1,remove:t2,empty:t5,toFront:t3,toBack:t9,hasClass:t8,addClass:t4,removeClass:t7,setClass:t6,getClass:et,setOpacity:ee,testProp:ei,setTransform:en,setPosition:eo,getPosition:es,get disableTextSelection(){return i},get enableTextSelection(){return n},disableImageDrag:ea,enableImageDrag:el,preventOutline:ed,restoreOutline:eh,getSizedParentNode:eu,getScale:ec},t.Draggable=eZ,t.Evented=R,t.FeatureGroup=e2,t.GeoJSON=ii,t.GridLayer=ix,t.Handler=eD,t.Icon=e5,t.ImageOverlay=im,t.LatLng=$,t.LatLngBounds=V,t.Layer=e0,t.LayerGroup=e1,t.LineUtil={__proto__:null,simplify:eR,pointToSegmentDistance:eH,closestPointOnSegment:function(t,e,
1i){return eG(t,e,i)},clipSegment:eF,_getEdgeIntersection:eW,_getBitCode:eq,_sqClosestPointOnSegment:eG,isFlat:eV,_flat:eU},t.Map=eA,t.Marker=e8,t.Mixin={Events:Z},t.Path=e4,t.Point=H,t.PolyUtil={__proto__:null,clipPolygon:e$},t.Polygon=ie,t.Polyline=it,t.Popup=iy,t.PosAnimation=eM,t.Projection={__proto__:null,LonLat:eX,Mercator:eY,SphericalMercator:J},t.Rectangle=iO,t.Renderer=iL,t.SVG=ik,t.SVGOverlay=iv,t.TileLayer=iT,t.Tooltip=iw,t.Transformation=Q,t.Util={__proto__:null,extend:e,create:p,bind:f,get lastId(){return m},stamp:g,throttle:v,wrapNum:_,falseFn:y,formatNum:w,trim:b,splitWords:x,setOptions:T,getParamString:S,template:P,isArray:E,indexOf:M,emptyImageUrl:A,requestFn:I,cancelFn:j,requestAnimFrame:N,cancelAnimFrame:D},t.VideoOverlay=ig,t.bind=f,t.bounds=G,t.canvas=iE,t.circle=function(t,e,i){return new e6(t,e,i)},t.circleMarker=function(t,e){return new e7(t,e)},t.control=ez,t.divIcon=function(t){return new ib(t)},t.extend=e,t.featureGroup=function(t,e){return new e2(t,e)},t.geoJSON=ip,t.geoJson=ip,t.gridLayer=function(t){return new ix(t)},t.icon=function(t){return new e5(t)},t.imageOverlay=function(t,e,i){return new im(t,e,i)},t.latLng=X,t.latLngBounds=U,t.layerGroup=function(t,e){return new e1(t,e)},t.map=function(t,e){return new eA(t,e)},t.marker=function(t,e){return new e8(t,e)},t.point=W,t.polygon=function(t,e){return new ie(t,e)},t.polyline=function(t,e){return new it(t,e)},t.popup=function(t,e){return new iy(t,e)},t.rectangle=function(t,e){return new iO(t,e)},t.setOptions=T,t.stamp=g,t.svg=iz,t.svgOverlay=function(t,e,i){return new iv(t,e,i)},t.tileLayer=iS,t.tooltip=function(t,e){return new iw(t,e)},t.transformation=tt,t.version="1.8.0",t.videoOverlay=function(t,e,i){return new ig(t,e,i)};var iH=window.L;t.noConflict=function(){return window.L=iH,this},window.L=t}(t.exports)}),p("iUSsr",function(t,e){var i,n;i="undefined"!=typeof window?window:t.exports,n=function(t,e){var i,n=[],o=Object.getPrototypeOf,s=n.slice,r=n.flat?function(t){return n.flat.call(t)}:function(t){return n.concat.apply([],t)},l=n.push,d=n.indexOf,h={},u=h.toString,c=h.hasOwnProperty,p=c.toString,f=p.call(Object),m={},g=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},v=function(t){return null!=t&&t===t.window},_=t.document,y={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,i){var n,o,s=(i=i||_).createElement("script");if(s.text=t,e)for(n in y)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&s.setAttribute(n,o);i.head.appendChild(s).parentNode.removeChild(s)}function b(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?h[u.call(t)]||"object":typeof t}var x="3.7.1",T=/HTML$/i,S=function(t,e){return new S.fn.init(t,e)};function C(t){var e=!!t&&"length"in t&&t.length,i=b(t);return!(g(t)||v(t))&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}function P(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}S.fn=S.prototype={jquery:x,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=S.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return S.each(this,t)},map:function(t){return this.pushStack(S.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:n.sort,splice:n.splice},S.extend=S.fn.extend=function(){var t,e,i,n,o,s,r=arguments[0]||{},l=1,d=arguments.length,h=!1;for("boolean"==typeof r&&(h=r,r=arguments[l]||{},l++),"object"==typeof r||g(r)||(r={}),l===d&&(r=this,l--);l<d;l++)if(null!=(t=arguments[l]))for(e in t)n=t[e],"__proto__"!==e&&r!==n&&(h&&n&&(S.isPlainObject(n)||(o=Array.isArray(n)))?(i=r[e],s=o&&!Array.isArray(i)?[]:o||S.isPlainObject(i)?i:{}
vendor: 1,330 bytes, line 1
1,o=!1,r[e]=S.extend(h,s,n)):void 0!==n&&(r[e]=n));return r},S.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw Error(t)},noop:function(){},isPlainObject:function(t){var e,i;return!!t&&"[object Object]"===u.call(t)&&(!(e=o(t))||"function"==typeof(i=c.call(e,"constructor")&&e.constructor)&&p.call(i)===f)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,i){w(t,{nonce:e&&e.nonce},i)},each:function(t,e){var i,n=0;if(C(t))for(i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},text:function(t){var e,i="",n=0,o=t.nodeType;if(!o)for(;e=t[n++];)i+=S.text(e);return 1===o||11===o?t.textContent:9===o?t.documentElement.textContent:3===o||4===o?t.nodeValue:i},makeArray:function(t,e){var i=e||[];return null!=t&&(C(Object(t))?S.merge(i,"string"==typeof t?[t]:t):l.call(i,t)),i},inArray:function(t,e,i){return null==e?-1:d.call(e,t,i)},isXMLDoc:function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!T.test(e||i&&i.nodeName||"HTML")},merge:function(t,e){for(var i=+e.length,n=0,o=t.length;n<i;n++)t[o++]=e[n];return t.length=o,t},grep:function(t,e,i){for(var n=[],o=0,s=t.length,r=!i;o<s;o++)!e(t[o],o)!==r&&n.push(t[o]);return n},map:function(t,e,i){var n,o,s=0,l=[];
1if(C(t))for(n=t.length;s<n;s++)null!=(o=e(t[s],s,i))&&l.push(o);else for(s in t)null!=(o=e(t[s],s,i))&&l.push(o);return r(l)},guid:1,support:m}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=n[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){h["[object "+e+"]"]=e.toLowerCase()});var E=n.pop,M=n.sort,A=n.splice,k="[\\x20\\t\\r\\n\\f]",z=RegExp("^"+k+"+|((?:^|[^\\\\])(?:\\\\.)*)"+k+"+$","g");S.contains=function(t,e){var i=e&&e.parentNode;return t===i||!!(i&&1===i.nodeType&&(t.contains?t.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))};var O=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function I(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}S.escapeSelector=function(t){return(t+"").replace(O,I)},function(){var e,i,o,r,h,u,p,f,g,v,y=l,w=S.expando,b=0,x=0,T=ti(),C=ti(),O=ti(),I=ti(),j=function(t,e){return t===e&&(h=!0),0},N="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",D="(?:\\\\[\\da-fA-F]{1,6}"+k+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",B="\\["+k+"*("+D+")(?:"+k+"*([*^$|!~]?=)"+k+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+D+"))|)"+k+"*\\]",Z=":("+D+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",R=RegExp(k+"+","g"),H=RegExp("^"+k+"*,"+k+"*"),F=RegExp("^"+k+"*([>+~]|"+k+")"+k+"*"),W=RegExp(k+"|>"),q=new RegExp(Z),G=RegExp("^"+D+"$"),V={ID:RegExp("^#("+D+")"),CLASS:RegExp("^\\.("+D+")"),TAG:RegExp("^("+D+"|[*])"),ATTR:RegExp("^"+B),PSEUDO:RegExp("^"+Z),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+k+"*(even|odd|(([+-]|)(\\d*)n|)"+k+"*(?:([+-]|)"+k+"*(\\d+)|))"+k+"*\\)|)","i"),bool:RegExp("^(?:"+N+")$","i"),needsContext:RegExp("^"+k+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+k+"*((?:-\\d)?\\d*)"+k+"*\\)|)(?=[^-]|$)","i")},U=/^(?:input|select|textarea|button)$/i,$=/^h\d$/i,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Y=/[+~]/,K=RegExp("\\\\[\\da-fA-F]{1,6}"+k+"?|\\\\([^\\r\\n\\f])","g"),J=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},Q=function(){tl()},tt=tc(function(t){return!0===t.disabled&&P(t,"fieldset")},{dir:"parentNode",next:"legend"});try{y.apply(n=s.call(_.childNodes),_.childNodes),n[_.childNodes.length].nodeType}catch(t){y={apply:function(t,e){l.apply(t,s.call(e))},call:function(t){l.apply(t,s.call(arguments,1))}}}function te(t,e,i,n){var o,s,r,l,d,h,c,p=e&&e.ownerDocument,v=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==v&&9!==v&&11!==v)return i;if(!n&&(tl(e),e=e||u,f)){if(11!==v&&(d=X.exec(t))){if(o=d[1]){if(9===v){if(!(r=e.getElementById(o)))return i;if(r.id===o)return y.call(i,r),i}else if(p&&(r=p.getElementById(o))&&te.contains(e,r)&&r.id===o)return y.call(i,r),i}else if(d[2])return y.apply(i,e.getElementsByTagName(t)),i;else if((o=d[3])&&e.getElementsByClassName)return y.apply(i,e.getElementsByClassName(o)),i}if(!I[t+" "]&&(!g||!g.test(t))){if(c=t,p=e,1===v&&(W.test(t)||F.test(t))){for((p=Y.test(t)&&ta(e.parentNode)||e)==e&&m.scope||((l=e.getAttribute("id"))?l=S.escapeSelector(l):e.setAttribute("id",l=w)),s=(h=th(t)).length;s--;)h[s]=(l?"#"+l:":scope")+" "+tu(h[s]);c=h.join(",")}try{return y.apply(i,p.querySelectorAll(c)),i}catch(e){I(t,!0)}finally{l===w&&e.removeAttribute("id")}}}return tg(t.replace(z,"$1"),e,i,n)}function ti(){var t=[];return function e(n,o){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=o}}function tn(t){return t[w]=!0,t}function to(t){var e=u.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ts(t){return function(e){if("form"in e)return e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||!t!==e.isDisabled&&tt(e)===t:e.disabled===t;return"label"in e&&e.disabled===t}}function tr(t){return tn(function(e){return e=+e,tn(function(i,n){for(var o,s=t([],i.length,e),r=s.length;r--;)i[o=s[r]]&&(i[o]=!(n[o]=i[o]))})})}function ta(t){return t&&void 0!==t.getElementsByTagName&&t}function tl(t){var e,n=t?t.ownerDocument||t:_;return n!=u&&9===n.nodeType&&n.documentElement&&(p=(u=n).documentElement,f=!S.isXMLDoc(u),v=p.matches||p.webkitMatchesSelector||p.msMatchesSelector,p.msMatchesSelector&&_!=u&&(e=u.defaultView)&&e.top!==e&&e.addEventListener("unload",Q),m.getById=to(function(t){return p.appendChild(t).id=S.expando,!u.getElementsByName||!u.getElementsByName(S.exp
vendor: 4,305 bytes, line 1
1ando).length}),m.disconnectedMatch=to(function(t){return v.call(t,"*")}),m.scope=to(function(){return u.querySelectorAll(":scope")}),m.cssHas=to(function(){try{return u.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}}),m.getById?(i.filter.ID=function(t){var e=t.replace(K,J);return function(t){return t.getAttribute("id")===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&f){var i=e.getElementById(t);return i?[i]:[]}}):(i.filter.ID=function(t){var e=t.replace(K,J);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&f){var i,n,o,s=e.getElementById(t);if(s){if((i=s.getAttributeNode("id"))&&i.value===t)return[s];for(o=e.getElementsByName(t),n=0;s=o[n++];)if((i=s.getAttributeNode("id"))&&i.value===t)return[s]}return[]}}),i.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},i.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&f)return e.getElementsByClassName(t)},g=[],to(function(t){var e;p.appendChild(t).innerHTML="<a id='"+w+"' href='' disabled='disabled'></a><select id='"+w+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||g.push("\\["+k+"*(?:value|"+N+")"),t.querySelectorAll("[id~="+w+"-]").length||g.push("~="),t.querySelectorAll("a#"+w+"+*").length||g.push(".#.+[+~]"),t.querySelectorAll(":checked").length||g.push(":checked"),(e=u.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),(e=u.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||g.push("\\["+k+"*name"+k+"*="+k+"*(?:''|\"\")")}),m.cssHas||g.push(":has"),g=g.length&&new RegExp(g.join("|")),j=function(t,e){if(t===e)return h=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!m.sortDetached&&e.compareDocumentPosition(t)===i?t===u||t.ownerDocument==_&&te.contains(_,t)?-1:e===u||e.ownerDocument==_&&te.contains(_,e)?1:r?d.call(r,t)-d.call(r,e):0:4&i?-1:1)}),u}for(e in te.matches=function(t,e){return te(t,null,null,e)},te.matchesSelector=function(t,e){if(tl(t),f&&!I[e+" "]&&(!g||!g.test(e)))try{var i=v.call(t,e);if(i||m.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){I(e,!0)}return te(e,u,null,[t]).length>0},te.contains=function(t,e){return(t.ownerDocument||t)!=u&&tl(t),S.contains(t,e)},te.attr=function(t,e){(t.ownerDocument||t)!=u&&tl(t);var n=i.attrHandle[e.toLowerCase()],o=n&&c.call(i.attrHandle,e.toLowerCase())?n(t,e,!f):void 0;return void 0!==o?o:t.getAttribute(e)},te.error=function(t){throw Error("Syntax error, unrecognized expression: "+t)},S.uniqueSort=function(t){var e,i=[],n=0,o=0;if(h=!m.sortStable,r=!m.sortStable&&s.call(t,0),M.call(t,j),h){for(;e=t[o++];)e===t[o]&&(n=i.push(o));for(;n--;)A.call(t,i[n],1)}return r=null,t},S.fn.uniqueSort=function(){return this.pushStack(S.uniqueSort(s.apply(this)))},(i=S.expr={cacheLength:50,createPseudo:tn,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(K,J),t[3]=(t[3]||t[4]||t[5]||"").replace(K,J),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||te.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&te.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return V.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&q.test(i)&&(e=th(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(K,J).toLowerCase();return"*"===t?function(){return!0}:function(t){return P(t,e)}},CLASS:function(t){var e=T[t+" "];return e||(e=RegExp("(^|"+k+")"+t+"("+k+"|$)"),T(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))}
1,ATTR:function(t,e,i){return function(n){var o=te.attr(n,t);return null==o?"!="===e:!e||((o+="","="===e)?o===i:"!="===e?o!==i:"^="===e?i&&0===o.indexOf(i):"*="===e?i&&o.indexOf(i)>-1:"$="===e?i&&o.slice(-i.length)===i:"~="===e?(" "+o.replace(R," ")+" ").indexOf(i)>-1:"|="===e&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,n,o){var s="nth"!==t.slice(0,3),r="last"!==t.slice(-4),l="of-type"===e;return 1===n&&0===o?function(t){return!!t.parentNode}:function(e,i,d){var h,u,c,p,f,m=s!==r?"nextSibling":"previousSibling",g=e.parentNode,v=l&&e.nodeName.toLowerCase(),_=!d&&!l,y=!1;if(g){if(s){for(;m;){for(c=e;c=c[m];)if(l?P(c,v):1===c.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[r?g.firstChild:g.lastChild],r&&_){for(y=(p=(h=(u=g[w]||(g[w]={}))[t]||[])[0]===b&&h[1])&&h[2],c=p&&g.childNodes[p];c=++p&&c&&c[m]||(y=p=0)||f.pop();)if(1===c.nodeType&&++y&&c===e){u[t]=[b,p,y];break}}else if(_&&(y=p=(h=(u=e[w]||(e[w]={}))[t]||[])[0]===b&&h[1]),!1===y)for(;(c=++p&&c&&c[m]||(y=p=0)||f.pop())&&(!((l?P(c,v):1===c.nodeType)&&++y)||(_&&((u=c[w]||(c[w]={}))[t]=[b,y]),c!==e)););return(y-=o)===n||y%n==0&&y/n>=0}}},PSEUDO:function(t,e){var n,o=i.pseudos[t]||i.setFilters[t.toLowerCase()]||te.error("unsupported pseudo: "+t);return o[w]?o(e):o.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?tn(function(t,i){for(var n,s=o(t,e),r=s.length;r--;)n=d.call(t,s[r]),t[n]=!(i[n]=s[r])}):function(t){return o(t,0,n)}):o}},pseudos:{not:tn(function(t){var e=[],i=[],n=tm(t.replace(z,"$1"));return n[w]?tn(function(t,e,i,o){for(var s,r=n(t,null,o,[]),l=t.length;l--;)(s=r[l])&&(t[l]=!(e[l]=s))}):function(t,o,s){return e[0]=t,n(e,null,s,i),e[0]=null,!i.pop()}}),has:tn(function(t){return function(e){return te(t,e).length>0}}),contains:tn(function(t){return t=t.replace(K,J),function(e){return(e.textContent||S.text(e)).indexOf(t)>-1}}),lang:tn(function(t){return G.test(t||"")||te.error("unsupported lang: "+t),t=t.replace(K,J).toLowerCase(),function(e){var i;do if(i=f?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType)return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===function(){try{return u.activeElement}catch(t){}}()&&u.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:ts(!1),disabled:ts(!0),checked:function(t){return P(t,"input")&&!!t.checked||P(t,"option")&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos.empty(t)},header:function(t){return $.test(t.nodeName)},input:function(t){return U.test(t.nodeName)},button:function(t){return P(t,"input")&&"button"===t.type||P(t,"button")},text:function(t){var e;return P(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:tr(function(){return[0]}),last:tr(function(t,e){return[e-1]}),eq:tr(function(t,e,i){return[i<0?i+e:i]}),even:tr(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:tr(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:tr(function(t,e,i){var n;for(n=i<0?i+e:i>e?e:i;--n>=0;)t.push(n);return t}),gt:tr(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[e]=function(t){return function(e){return P(e,"input")&&e.type===t}}(e);for(e in{submit:!0,reset:!0})i.pseudos[e]=function(t){return function(e){return(P(e,"input")||P(e,"button"))&&e.type===t}}(e);function td(){}function th(t,e){var n,o,s,r,l,d,h,u=C[t+" "];if(u)return e?0:u.slice(0);for(l=t,d=[],h=i.preFilter;l;){for(r in(!n||(o=H.exec(l)))&&(o&&(l=l.slice(o[0].length)||l),d.push(s=[])),n=!1,(o=F.exec(l))&&(n=o.shift(),s.push({value:n,type:o[0].replace(z," ")}),l=l.slice(n.length)),i.filter)(o=V[r].exec(l))&&(!h[r]||(o=h[r](o)))&&(n=o.shift(),s.push({value:n,type:r,matches:o}),l=l.slice(n.length));if(!n)break}return e?l.length:l?te.error(t):C(t,d).slice(0)}function tu(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function tc(t,e,i){var n=e.dir,o=e.next,s=o||n,r=i&&"parentNode"===s,l=x++;return e.first?function(e,i,o){for(;e=e[n];)if(1===e.nodeType||r)return t(e,i,o);return!1}:function(e,i,d){var h,u,c=[b,l];if(d){for(;e=e[n];)if((1===e.nodeType||r)&&t(e,i,d))return!0}else for(;e=e[n];)if(1===e.nodeType||r){if(u=e[w]||(e[w]={}),o&&P(e,o))e=e[n]||e;
1else{if((h=u[s])&&h[0]===b&&h[1]===l)return c[2]=h[2];if(u[s]=c,c[2]=t(e,i,d))return!0}}return!1}}function tp(t){return t.length>1?function(e,i,n){for(var o=t.length;o--;)if(!t[o](e,i,n))return!1;return!0}:t[0]}function tf(t,e,i,n,o){for(var s,r=[],l=0,d=t.length,h=null!=e;l<d;l++)(s=t[l])&&(!i||i(s,n,o))&&(r.push(s),h&&e.push(l));return r}function tm(t,e){var n,s,r,l,h=[],c=[],p=O[t+" "];if(!p){for(e||(e=th(t)),l=e.length;l--;)(p=function t(e){for(var n,s,r,l=e.length,h=i.relative[e[0].type],u=h||i.relative[" "],c=h?1:0,p=tc(function(t){return t===n},u,!0),f=tc(function(t){return d.call(n,t)>-1},u,!0),m=[function(t,e,i){var s=!h&&(i||e!=o)||((n=e).nodeType?p(t,e,i):f(t,e,i));return n=null,s}];c<l;c++)if(s=i.relative[e[c].type])m=[tc(tp(m),s)];else{if((s=i.filter[e[c].type].apply(null,e[c].matches))[w]){for(r=++c;r<l&&!i.relative[e[r].type];r++);return function t(e,i,n,o,s,r){return o&&!o[w]&&(o=t(o)),s&&!s[w]&&(s=t(s,r)),tn(function(t,r,l,h){var u,c,p,f,m=[],g=[],v=r.length,_=t||function(t,e,i){for(var n=0,o=e.length;n<o;n++)te(t,e[n],i);return i}(i||"*",l.nodeType?[l]:l,[]),w=e&&(t||!i)?tf(_,m,e,l,h):_;if(n?n(w,f=s||(t?e:v||o)?[]:r,l,h):f=w,o)for(u=tf(f,g),o(u,[],l,h),c=u.length;c--;)(p=u[c])&&(f[g[c]]=!(w[g[c]]=p));if(t){if(s||e){if(s){for(u=[],c=f.length;c--;)(p=f[c])&&u.push(w[c]=p);s(null,f=[],u,h)}for(c=f.length;c--;)(p=f[c])&&(u=s?d.call(t,p):m[c])>-1&&(t[u]=!(r[u]=p))}}else f=tf(f===r?f.splice(v,f.length):f),s?s(null,r,f,h):y.apply(r,f)})}(c>1&&tp(m),c>1&&tu(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(z,"$1"),s,c<r&&t(e.slice(c,r)),r<l&&t(e=e.slice(r)),r<l&&tu(e))}m.push(s)}return tp(m)}(e[l]))[w]?h.push(p):c.push(p);(p=O(t,(n=h.length>0,s=c.length>0,r=function(t,e,r,l,d){var p,m,g,v=0,_="0",w=t&&[],x=[],T=o,C=t||s&&i.find.TAG("*",d),P=b+=null==T?1:Math.random()||.1,M=C.length;for(d&&(o=e==u||e||d);_!==M&&null!=(p=C[_]);_++){if(s&&p){for(m=0,e||p.ownerDocument==u||(tl(p),r=!f);g=c[m++];)if(g(p,e||u,r)){y.call(l,p);break}d&&(b=P)}n&&((p=!g&&p)&&v--,t&&w.push(p))}if(v+=_,n&&_!==v){for(m=0;g=h[m++];)g(w,x,e,r);if(t){if(v>0)for(;_--;)w[_]||x[_]||(x[_]=E.call(l));x=tf(x)}y.apply(l,x),d&&!t&&x.length>0&&v+h.length>1&&S.uniqueSort(l)}return d&&(b=P,o=T),w},n?tn(r):r))).selector=t}return p}function tg(t,e,n,o){var s,r,l,d,h,u="function"==typeof t&&t,c=!o&&th(t=u.selector||t);if(n=n||[],1===c.length){if((r=c[0]=c[0].slice(0)).length>2&&"ID"===(l=r[0]).type&&9===e.nodeType&&f&&i.relative[r[1].type]){if(!(e=(i.find.ID(l.matches[0].replace(K,J),e)||[])[0]))return n;u&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(s=V.needsContext.test(t)?0:r.length;s--&&(l=r[s],!i.relative[d=l.type]);)if((h=i.find[d])&&(o=h(l.matches[0].replace(K,J),Y.test(r[0].type)&&ta(e.parentNode)||e))){if(r.splice(s,1),!(t=o.length&&tu(r)))return y.apply(n,o),n;break}}return(u||tm(t,c))(o,e,!f,n,!e||Y.test(t)&&ta(e.parentNode)||e),n}td.prototype=i.filters=i.pseudos,i.setFilters=new td,m.sortStable=w.split("").sort(j).join("")===w,tl(),m.sortDetached=to(function(t){return 1&t.compareDocumentPosition(u.createElement("fieldset"))}),S.find=te,S.expr[":"]=S.expr.pseudos,S.unique=S.uniqueSort,te.compile=tm,te.select=tg,te.setDocument=tl,te.tokenize=th,te.escape=S.escapeSelector,te.getText=S.text,te.isXML=S.isXMLDoc,te.selectors=S.expr,te.support=S.support,te.uniqueSort=S.uniqueSort}();var j=function(t,e,i){for(var n=[],o=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&S(t).is(i))break;n.push(t)}return n},N=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},D=S.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Z(t,e,i){return g(e)?S.grep(t,function(t,n){return!!e.call(t,n,t)!==i}):e.nodeType?S.grep(t,function(t){return t===e!==i}):"string"!=typeof e?S.grep(t,function(t){return d.call(e,t)>-1!==i}):S.filter(e,t,i)}S.filter=function(t,e,i){var n=e[0];return(i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType)?S.find.matchesSelector(n,t)?[n]:[]:S.find.matches(t,S.grep(e,function(t){return 1===t.nodeType}))},S.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(S(t).filter(function(){for(e=0;e<n;e++)if(S.contains(o[e],this))return!0}));for(e=0,i=this.pushStack([]);e<n;e++)S.find(t,o[e],i);return n>1?S.uniqueSort(i):i},filter:function(t){return this.pushStack(Z(this,t||[],!1))},not:function(t){return this.pushStack(Z(this,t||[],!0))},is:function(t){return!!Z(this,"string"==typeof t&&D.test(t)?S(t):t||[],!1).length}});var R,H=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;
vendor: 4,293 bytes, line 1
1(S.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||R,"string"==typeof t){if((n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:H.exec(t))&&(n[1]||!e)){if(!n[1])return(o=_.getElementById(n[2]))&&(this[0]=o,this.length=1),this;if(e=e instanceof S?e[0]:e,S.merge(this,S.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:_,!0)),B.test(n[1])&&S.isPlainObject(e))for(n in e)g(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t)}return t.nodeType?(this[0]=t,this.length=1,this):g(t)?void 0!==i.ready?i.ready(t):t(S):S.makeArray(t,this)}).prototype=S.fn,R=S(_);var F=/^(?:parents|prev(?:Until|All))/,W={children:!0,contents:!0,next:!0,prev:!0};function q(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}S.fn.extend({has:function(t){var e=S(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(S.contains(this,e[t]))return!0})},closest:function(t,e){var i,n=0,o=this.length,s=[],r="string"!=typeof t&&S(t);if(!D.test(t)){for(;n<o;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(r?r.index(i)>-1:1===i.nodeType&&S.find.matchesSelector(i,t))){s.push(i);break}}return this.pushStack(s.length>1?S.uniqueSort(s):s)},index:function(t){return t?"string"==typeof t?d.call(S(t),this[0]):d.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),S.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return j(t,"parentNode")},parentsUntil:function(t,e,i){return j(t,"parentNode",i)},next:function(t){return q(t,"nextSibling")},prev:function(t){return q(t,"previousSibling")},nextAll:function(t){return j(t,"nextSibling")},prevAll:function(t){return j(t,"previousSibling")},nextUntil:function(t,e,i){return j(t,"nextSibling",i)},prevUntil:function(t,e,i){return j(t,"previousSibling",i)},siblings:function(t){return N((t.parentNode||{}).firstChild,t)},children:function(t){return N(t.firstChild)},contents:function(t){return null!=t.contentDocument&&o(t.contentDocument)?t.contentDocument:(P(t,"template")&&(t=t.content||t),S.merge([],t.childNodes))}},function(t,e){S.fn[t]=function(i,n){var o=S.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(o=S.filter(n,o)),this.length>1&&(W[t]||S.uniqueSort(o),F.test(t)&&o.reverse()),this.pushStack(o)}});var G=/[^\x20\t\r\n\f]+/g;function V(t){return t}function U(t){throw t}function $(t,e,i,n){var o;try{t&&g(o=t.promise)?o.call(t).done(e).fail(i):t&&g(o=t.then)?o.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}S.Callbacks=function(t){t="string"==typeof t?(e=t,i={},S.each(e.match(G)||[],function(t,e){i[e]=!0}),i):S.extend({},t);var e,i,n,o,s,r,l=[],d=[],h=-1,u=function(){for(r=r||t.once,s=n=!0;d.length;h=-1)for(o=d.shift();++h<l.length;)!1===l[h].apply(o[0],o[1])&&t.stopOnFalse&&(h=l.length,o=!1);t.memory||(o=!1),n=!1,r&&(l=o?[]:"")},c={add:function(){return l&&(o&&!n&&(h=l.length-1,d.push(o)),function e(i){S.each(i,function(i,n){g(n)?t.unique&&c.has(n)||l.push(n):n&&n.length&&"string"!==b(n)&&e(n)})}(arguments),o&&!n&&u()),this},remove:function(){return S.each(arguments,function(t,e){for(var i;(i=S.inArray(e,l,i))>-1;)l.splice(i,1),i<=h&&h--}),this},has:function(t){return t?S.inArray(t,l)>-1:l.length>0},empty:function(){return l&&(l=[]),this},disable:function(){return r=d=[],l=o="",this},disabled:function(){return!l},lock:function(){return r=d=[],o||n||(l=o=""),this},locked:function(){return!!r},fireWith:function(t,e){return r||(e=[t,(e=e||[]).slice?e.slice():e],d.push(e),n||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!s}};return c},S.extend({Deferred:function(e){var i=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;
1return S.Deferred(function(e){S.each(i,function(i,n){var o=g(t[n[4]])&&t[n[4]];s[n[1]](function(){var t=o&&o.apply(this,arguments);t&&g(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[n[0]+"With"](this,o?[t]:arguments)})}),t=null}).promise()},then:function(e,n,o){var s=0;function r(e,i,n,o){return function(){var l=this,d=arguments,h=function(){var t,h;if(!(e<s)){if((t=n.apply(l,d))===i.promise())throw TypeError("Thenable self-resolution");g(h=t&&("object"==typeof t||"function"==typeof t)&&t.then)?o?h.call(t,r(s,i,V,o),r(s,i,U,o)):(s++,h.call(t,r(s,i,V,o),r(s,i,U,o),r(s,i,V,i.notifyWith))):(n!==V&&(l=void 0,d=[t]),(o||i.resolveWith)(l,d))}},u=o?h:function(){try{h()}catch(t){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(t,u.error),e+1>=s&&(n!==U&&(l=void 0,d=[t]),i.rejectWith(l,d))}};e?u():(S.Deferred.getErrorHook?u.error=S.Deferred.getErrorHook():S.Deferred.getStackHook&&(u.error=S.Deferred.getStackHook()),t.setTimeout(u))}}return S.Deferred(function(t){i[0][3].add(r(0,t,g(o)?o:V,t.notifyWith)),i[1][3].add(r(0,t,g(e)?e:V)),i[2][3].add(r(0,t,g(n)?n:U))}).promise()},promise:function(t){return null!=t?S.extend(t,o):o}},s={};return S.each(i,function(t,e){var r=e[2],l=e[5];o[e[1]]=r.add,l&&r.add(function(){n=l},i[3-t][2].disable,i[3-t][3].disable,i[0][2].lock,i[0][3].lock),r.add(e[3].fire),s[e[0]]=function(){return s[e[0]+"With"](this===s?void 0:this,arguments),this},s[e[0]+"With"]=r.fireWith}),o.promise(s),e&&e.call(s,s),s},when:function(t){var e=arguments.length,i=e,n=Array(i),o=s.call(arguments),r=S.Deferred(),l=function(t){return function(i){n[t]=this,o[t]=arguments.length>1?s.call(arguments):i,--e||r.resolveWith(n,o)}};if(e<=1&&($(t,r.done(l(i)).resolve,r.reject,!e),"pending"===r.state()||g(o[i]&&o[i].then)))return r.then();for(;i--;)$(o[i],l(i),r.reject);return r.promise()}});var X=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,i){t.console&&t.console.warn&&e&&X.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,i)},S.readyException=function(e){t.setTimeout(function(){throw e})};var Y=S.Deferred();function K(){_.removeEventListener("DOMContentLoaded",K),t.removeEventListener("load",K),S.ready()}S.fn.ready=function(t){return Y.then(t).catch(function(t){S.readyException(t)}),this},S.extend({isReady:!1,readyWait:1,ready:function(t){!(!0===t?--S.readyWait:S.isReady)&&(S.isReady=!0,!0!==t&&--S.readyWait>0||Y.resolveWith(_,[S]))}}),S.ready.then=Y.then,"complete"!==_.readyState&&("loading"===_.readyState||_.documentElement.doScroll)?(_.addEventListener("DOMContentLoaded",K),t.addEventListener("load",K)):t.setTimeout(S.ready);var J=function(t,e,i,n,o,s,r){var l=0,d=t.length,h=null==i;if("object"===b(i))for(l in o=!0,i)J(t,e,l,i[l],!0,s,r);else if(void 0!==n&&(o=!0,g(n)||(r=!0),h&&(r?(e.call(t,n),e=null):(h=e,e=function(t,e,i){return h.call(S(t),i)})),e))for(;l<d;l++)e(t[l],i,r?n:n.call(t[l],l,e(t[l],i)));return o?t:h?e.call(t):d?e(t[0],i):s},Q=/^-ms-/,tt=/-([a-z])/g;function te(t,e){return e.toUpperCase()}function ti(t){return t.replace(Q,"ms-").replace(tt,te)}var tn=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function to(){this.expando=S.expando+to.uid++}to.uid=1,to.prototype={cache:function(t){var e=t[this.expando];return!e&&(e={},tn(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,o=this.cache(t);if("string"==typeof e)o[ti(e)]=i;else for(n in e)o[ti(n)]=e[n];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][ti(e)]},access:function(t,e,i){return void 0===e||e&&"string"==typeof e&&void 0===i?this.get(t,e):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n=t[this.expando];if(void 0!==n){if(void 0!==e)for(i=(e=Array.isArray(e)?e.map(ti):((e=ti(e))in n)?[e]:e.match(G)||[]).length;i--;)delete n[e[i]];
vendor: 4,534 bytes, line 1
1(void 0===e||S.isEmptyObject(n))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!S.isEmptyObject(e)}};var ts=new to,tr=new to,ta=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,tl=/[A-Z]/g;function td(t,e,i){var n,o;if(void 0===i&&1===t.nodeType){if(n="data-"+e.replace(tl,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{o=i,i="true"===o||"false"!==o&&("null"===o?null:o===+o+""?+o:ta.test(o)?JSON.parse(o):o)}catch(t){}tr.set(t,e,i)}else i=void 0}return i}S.extend({hasData:function(t){return tr.hasData(t)||ts.hasData(t)},data:function(t,e,i){return tr.access(t,e,i)},removeData:function(t,e){tr.remove(t,e)},_data:function(t,e,i){return ts.access(t,e,i)},_removeData:function(t,e){ts.remove(t,e)}}),S.fn.extend({data:function(t,e){var i,n,o,s=this[0],r=s&&s.attributes;if(void 0===t){if(this.length&&(o=tr.get(s),1===s.nodeType&&!ts.get(s,"hasDataAttrs"))){for(i=r.length;i--;)r[i]&&0===(n=r[i].name).indexOf("data-")&&td(s,n=ti(n.slice(5)),o[n]);ts.set(s,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each(function(){tr.set(this,t)}):J(this,function(e){var i;if(s&&void 0===e)return void 0!==(i=tr.get(s,t))||void 0!==(i=td(s,t))?i:void 0;this.each(function(){tr.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){tr.remove(this,t)})}}),S.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=ts.get(t,e),i&&(!n||Array.isArray(i)?n=ts.access(t,e,S.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=S.queue(t,e),n=i.length,o=i.shift(),s=S._queueHooks(t,e);"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===e&&i.unshift("inprogress"),delete s.stop,o.call(t,function(){S.dequeue(t,e)},s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return ts.get(t,i)||ts.access(t,i,{empty:S.Callbacks("once memory").add(function(){ts.remove(t,[e+"queue",i])})})}}),S.fn.extend({queue:function(t,e){var i=2;return("string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i)?S.queue(this[0],t):void 0===e?this:this.each(function(){var i=S.queue(this,t,e);S._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&S.dequeue(this,t)})},dequeue:function(t){return this.each(function(){S.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,o=S.Deferred(),s=this,r=this.length,l=function(){--n||o.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";r--;)(i=ts.get(s[r],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(l));return l(),o.promise(e)}});var th=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,tu=RegExp("^(?:([+-])=|)("+th+")([a-z%]*)$","i"),tc=["Top","Right","Bottom","Left"],tp=_.documentElement,tf=function(t){return S.contains(t.ownerDocument,t)},tm={composed:!0};tp.getRootNode&&(tf=function(t){return S.contains(t.ownerDocument,t)||t.getRootNode(tm)===t.ownerDocument});var tg=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&tf(t)&&"none"===S.css(t,"display")};function tv(t,e,i,n){var o,s,r=20,l=n?function(){return n.cur()}:function(){return S.css(t,e,"")},d=l(),h=i&&i[3]||(S.cssNumber[e]?"":"px"),u=t.nodeType&&(S.cssNumber[e]||"px"!==h&&+d)&&tu.exec(S.css(t,e));if(u&&u[3]!==h){for(d/=2,h=h||u[3],u=+d||1;r--;)S.style(t,e,u+h),(1-s)*(1-(s=l()/d||.5))<=0&&(r=0),u/=s;u*=2,S.style(t,e,u+h),i=i||[]}return i&&(u=+u||+d||0,o=i[1]?u+(i[1]+1)*i[2]:+i[2],n&&(n.unit=h,n.start=u,n.end=o)),o}var t_={};function ty(t,e){for(var i,n,o=[],s=0,r=t.length;s<r;s++)(n=t[s]).style&&(i=n.style.display,e?("none"!==i||(o[s]=ts.get(n,"display")||null,o[s]||(n.style.display="")),""===n.style.display&&tg(n)&&(o[s]=function(t){var e,i=t.ownerDocument,n=t.nodeName,o=t_[n];return o||(e=i.body.appendChild(i.createElement(n)),o=S.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),t_[n]=o),o}(n))):"none"!==i&&(o[s]="none",ts.set(n,"display",i)));for(s=0;s<r;s++)null!=o[s]&&(t[s].style.display=o[s]);return t}S.fn.extend({show:function(){return ty(this,!0)},hide:function(){return ty(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){tg(this)?S(this).show():S(this).hide()})}});var tw=/^(?:checkbox|radio)$/i,tb=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,tx=/^$|^module$|\/(?:java|ecma)script/i;t8=_.createDocumentFragment().appendChild(_.createElement("div")),(t4=_.createElement("input")).setAttribute("type","radio"),t4.setAttribute("checked","checked"),t4.setAttribute("name","t"),t8.appendChild(t4),m.checkClone
1=t8.cloneNode(!0).cloneNode(!0).lastChild.checked,t8.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!t8.cloneNode(!0).lastChild.defaultValue,t8.innerHTML="<option></option>",m.option=!!t8.lastChild;var tT={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function tS(t,e){var i;return(i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&P(t,e))?S.merge([t],i):i}function tC(t,e){for(var i=0,n=t.length;i<n;i++)ts.set(t[i],"globalEval",!e||ts.get(e[i],"globalEval"))}tT.tbody=tT.tfoot=tT.colgroup=tT.caption=tT.thead,tT.th=tT.td,m.option||(tT.optgroup=tT.option=[1,"<select multiple='multiple'>","</select>"]);var tL=/<|&#?\w+;/;function tP(t,e,i,n,o){for(var s,r,l,d,h,u=e.createDocumentFragment(),c=[],p=0,f=t.length;p<f;p++)if((s=t[p])||0===s){if("object"===b(s))S.merge(c,s.nodeType?[s]:s);else if(tL.test(s)){for(r=r||u.appendChild(e.createElement("div")),l=tT[(tb.exec(s)||["",""])[1].toLowerCase()]||tT._default,r.innerHTML=l[1]+S.htmlPrefilter(s)+l[2],h=l[0];h--;)r=r.lastChild;S.merge(c,r.childNodes),(r=u.firstChild).textContent=""}else c.push(e.createTextNode(s))}for(u.textContent="",p=0;s=c[p++];){if(n&&S.inArray(s,n)>-1){o&&o.push(s);continue}if(d=tf(s),r=tS(u.appendChild(s),"script"),d&&tC(r),i)for(h=0;s=r[h++];)tx.test(s.type||"")&&i.push(s)}return u}var tE=/^([^.]*)(?:\.(.+)|)/;function tM(){return!0}function tA(){return!1}function tk(t,e,i,n,o,s){var r,l;if("object"==typeof e){for(l in"string"!=typeof i&&(n=n||i,i=void 0),e)tk(t,l,
1i,n,e[l],s);return t}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"==typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),!1===o)o=tA;else if(!o)return t;return 1===s&&(r=o,(o=function(t){return S().off(t),r.apply(this,arguments)}).guid=r.guid||(r.guid=S.guid++)),t.each(function(){S.event.add(this,e,o,n,i)})}function tz(t,e,i){if(!i){void 0===ts.get(t,e)&&S.event.add(t,e,tM);return}ts.set(t,e,!1),S.event.add(t,e,{namespace:!1,handler:function(t){var i,n=ts.get(this,e);if(1&t.isTrigger&&this[e]){if(n)(S.event.special[e]||{}).delegateType&&t.stopPropagation();else if(n=s.call(arguments),ts.set(this,e,n),this[e](),i=ts.get(this,e),ts.set(this,e,!1),n!==i)return t.stopImmediatePropagation(),t.preventDefault(),i}else n&&(ts.set(this,e,S.event.trigger(n[0],n.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=tM)}})}S.event={global:{},add:function(t,e,i,n,o){var s,r,l,d,h,u,c,p,f,m,g,v=ts.get(t);if(tn(t))for(i.handler&&(i=(s=i).handler,o=s.selector),o&&S.find.matchesSelector(tp,o),i.guid||(i.guid=S.guid++),(d=v.events)||(d=v.events=Object.create(null)),(r=v.handle)||(r=v.handle=function(e){return S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),h=(e=(e||"").match(G)||[""]).length;h--;)f=g=(l=tE.exec(e[h])||[])[1],m=(l[2]||"").split(".").sort(),f&&(c=S.event.special[f]||{},f=(o?c.delegateType:c.bindType)||f,c=S.event.special[f]||{},u=S.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&S.expr.match.needsContext.test(o),namespace:m.join(".")},s),(p=d[f])||((p=d[f]=[]).delegateCount=0,(!c.setup||!1===c.setup.call(t,n,m,r))&&t.addEventListener&&t.addEventListener(f,r)),c.add&&(c.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),S.event.global[f]=!0)},remove:function(t,e,i,n,o){var s,r,l,d,h,u,c,p,f,m,g,v=ts.hasData(t)&&ts.get(t);if(v&&(d=v.events)){for(h=(e=(e||"").match(G)||[""]).length;h--;){if(f=g=(l=tE.exec(e[h])||[])[1],m=(l[2]||"").split(".").sort(),!f){for(f in d)S.event.remove(t,f+e[h],i,n,!0);continue}for(c=S.event.special[f]||{},p=d[f=(n?c.delegateType:c.bindType)||f]||[],l=l[2]&&RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=p.length;s--;)u=p[s],(o||g===u.origType)&&(!i||i.guid===u.guid)&&(!l||l.test(u.namespace))&&(!n||n===u.selector||"**"===n&&u.selector)&&(p.splice(s,1),u.selector&&p.delegateCount--,c.remove&&c.remove.call(t,u));r&&!p.length&&(c.teardown&&!1!==c.teardown.call(t,m,v.handle)||S.removeEvent(t,f,v.handle),delete d[f])}S.isEmptyObject(d)&&ts.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,s,r,l=Array(arguments.length),d=S.event.fix(t),h=(ts.get(this,"events")||Object.create(null))[d.type]||[],u=S.event.special[d.type]||{};for(e=1,l[0]=d;e<arguments.length;e++)l[e]=arguments[e];if(d.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,d)){for(r=S.event.handlers.call(this,d,h),e=0;(o=r[e++])&&!d.isPropagationStopped();)for(d.currentTarget=o.elem,i=0;(s=o.handlers[i++])&&!d.isImmediatePropagationStopped();)(!d.rnamespace||!1===s.namespace||d.rnamespace.test(s.namespace))&&(d.handleObj=s,d.data=s.data,void 0!==(n=((S.event.special[s.origType]||{}).handle||s.handler).apply(o.elem,l))&&!1===(d.result=n)&&(d.preventDefault(),d.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,d),d.result}},handlers:function(t,e){var i,n,o,s,r,l=[],d=e.delegateCount,h=t.target;if(d&&h.nodeType&&!("click"===t.type&&t.button>=1)){for(;h!==this;h=h.parentNode||this)if(1===h.nodeType&&!("click"===t.type&&!0===h.disabled)){for(i=0,s=[],r={};i<d;i++)void 0===r[o=(n=e[i]).selector+" "]&&(r[o]=n.needsContext?S(o,this).index(h)>-1:S.find(o,this,null,[h]).length),r[o]&&s.push(n);s.length&&l.push({elem:h,handlers:s})}}return h=this,d<e.length&&l.push({elem:h,handlers:e.slice(d)}),l},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:g(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[S.expando]?t:new S.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return tw.test(e.type)&&e.click&&P(e,"input")&&tz(e,"click",!0),!1},trigger:function(t){var e=this||t;return tw.test(e.type)&&e.click&&P(e,"input")&&tz(e,"click"),!0},_default:function(t){var e=t.target;return tw.test(e.type)&&e.click&&P(e,"input")&&ts.get(e,"click")||P(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}}
vendor: 2,585 bytes, line 1
1,S.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},S.Event=function(t,e){if(!(this instanceof S.Event))return new S.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?tM:tA,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&S.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:tA,isPropagationStopped:tA,isImmediatePropagationStopped:tA,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=tM,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=tM,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=tM,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},function(t,e){function i(t){if(_.documentMode){var i=ts.get(this,"handle"),n=S.event.fix(t);n.type="focusin"===t.type?"focus":"blur",n.isSimulated=!0,i(t),n.target===n.currentTarget&&i(n)}else S.event.simulate(e,t.target,S.event.fix(t))}S.event.special[t]={setup:function(){var n;if(tz(this,t,!0),!_.documentMode)return!1;(n=ts.get(this,e))||this.addEventListener(e,i),ts.set(this,e,(n||0)+1)},trigger:function(){return tz(this,t),!0},teardown:function(){var t;if(!_.documentMode)return!1;(t=ts.get(this,e)-1)?ts.set(this,e,t):(this.removeEventListener(e,i),ts.remove(this,e))},_default:function(e){return ts.get(e.target,t)},delegateType:e},S.event.special[e]={setup:function(){var n=this.ownerDocument||this.document||this,o=_.documentMode?this:n,s=ts.get(o,e);s||(_.documentMode?this.addEventListener(e,i):n.addEventListener(t,i,!0)),ts.set(o,e,(s||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,o=_.documentMode?this:n,s=ts.get(o,e)-1;s?ts.set(o,e,s):(_.documentMode?this.removeEventListener(e,i):n.removeEventListener(t,i,!0),ts.remove(o,e))}}}
1),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){S.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=t.relatedTarget,o=t.handleObj;return n&&(n===this||S.contains(this,n))||(t.type=o.origType,i=o.handler.apply(this,arguments),t.type=e),i}}}),S.fn.extend({on:function(t,e,i,n){return tk(this,t,e,i,n)},one:function(t,e,i,n){return tk(this,t,e,i,n,1)},off:function(t,e,i){var n,o;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,S(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return(!1===e||"function"==typeof e)&&(i=e,e=void 0),!1===i&&(i=tA),this.each(function(){S.event.remove(this,t,i,e)})}});var tO=/<script|<style|<link/i,tI=/checked\s*(?:[^=]|=\s*.checked.)/i,tj=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function tN(t,e){return P(t,"table")&&P(11!==e.nodeType?e:e.firstChild,"tr")&&S(t).children("tbody")[0]||t}function tD(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function tB(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function tZ(t,e){var i,n,o,s,r,l;if(1===e.nodeType){if(ts.hasData(t)&&(l=ts.get(t).events))for(o in ts.remove(e,"handle events"),l)for(i=0,n=l[o].length;i<n;i++)S.event.add(e,o,l[o][i]);tr.hasData(t)&&(s=tr.access(t),r=S.extend({},s),tr.set(e,r))}}function tR(t,e,i,n){e=r(e);var o,s,l,d,h,u,c=0,p=t.length,f=p-1,v=e[0],_=g(v);if(_||p>1&&"string"==typeof v&&!m.checkClone&&tI.test(v))return t.each(function(o){var s=t.eq(o);_&&(e[0]=v.call(this,o,s.html())),tR(s,e,i,n)});if(p&&(s=(o=tP(e,t[0].ownerDocument,!1,t,n)).firstChild,1===o.childNodes.length&&(o=s),s||n)){for(d=(l=S.map(tS(o,"script"),tD)).length;c<p;c++)h=o,c!==f&&(h=S.clone(h,!0,!0),d&&S.merge(l,tS(h,"script"))),i.call(t[c],h,c);if(d)for(u=l[l.length-1].ownerDocument,S.map(l,tB),c=0;c<d;c++)h=l[c],tx.test(h.type||"")&&!ts.access(h,"globalEval")&&S.contains(u,h)&&(h.src&&"module"!==(h.type||"").toLowerCase()?S._evalUrl&&!h.noModule&&S._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")},u):w(h.textContent.replace(tj,""),h,u))}return t}function tH(t,e,i){for(var n,o=e?S.filter(e,t):t,s=0;null!=(n=o[s]);s++)i||1!==n.nodeType||S.cleanData(tS(n)),n.parentNode&&(i&&tf(n)&&tC(tS(n,"script")),n.parentNode.removeChild(n));return t}S.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,o,s,r,l=t.cloneNode(!0),d=tf(t);if(!m.noCloneChecked&&(1===t.nodeType||11===t.nodeType)&&!S.isXMLDoc(t))for(n=0,r=tS(l),o=(s=tS(t)).length;n<o;n++)!function(t,e){var i=e.nodeName.toLowerCase();"input"===i&&tw.test(t.type)?e.checked=t.checked:("input"===i||"textarea"===i)&&(e.defaultValue=t.defaultValue)}(s[n],r[n]);if(e){if(i)for(n=0,s=s||tS(t),r=r||tS(l),o=s.length;n<o;n++)tZ(s[n],r[n]);else tZ(t,l)}return(r=tS(l,"script")).length>0&&tC(r,!d&&tS(t,"script")),l},cleanData:function(t){for(var e,i,n,o=S.event.special,s=0;void 0!==(i=t[s]);s++)if(tn(i)){if(e=i[ts.expando]){if(e.events)for(n in e.events)o[n]?S.event.remove(i,n):S.removeEvent(i,n,e.handle);i[ts.expando]=void 0}i[tr.expando]&&(i[tr.expando]=void 0)}}}),S.fn.extend({detach:function(t){return tH(this,t,!0)},remove:function(t){return tH(this,t)},text:function(t){return J(this,function(t){return void 0===t?S.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=t)})},null,t,arguments.length)},append:function(){return tR(this,arguments,function(t){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&tN(this,t).appendChild(t)})},prepend:function(){return tR(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=tN(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return tR(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return tR(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(S.cleanData(tS(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return S.clone(this,t,e)})},html:function(t){return J(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!tO.test(t)&&!tT[(tb.exec(t)||["",""])[1].toLowerCase()]){t=S.htmlPrefilter(t);try{for(;i<n;i++)e=this[i]||{}
vendor: 10,417 bytes, line 1
1,1===e.nodeType&&(S.cleanData(tS(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return tR(this,arguments,function(e){var i=this.parentNode;0>S.inArray(this,t)&&(S.cleanData(tS(this)),i&&i.replaceChild(e,this))},t)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){S.fn[t]=function(t){for(var i,n=[],o=S(t),s=o.length-1,r=0;r<=s;r++)i=r===s?this:this.clone(!0),S(o[r])[e](i),l.apply(n,i.get());return this.pushStack(n)}});var tF=RegExp("^("+th+")(?!px)[a-z%]+$","i"),tW=/^--/,tq=function(e){var i=e.ownerDocument.defaultView;return i&&i.opener||(i=t),i.getComputedStyle(e)},tG=function(t,e,i){var n,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];for(o in n=i.call(t),e)t.style[o]=s[o];return n},tV=RegExp(tc.join("|"),"i");function tU(t,e,i){var n,o,s,r,l=tW.test(e),d=t.style;return(i=i||tq(t))&&(r=i.getPropertyValue(e)||i[e],l&&r&&(r=r.replace(z,"$1")||void 0),""!==r||tf(t)||(r=S.style(t,e)),!m.pixelBoxStyles()&&tF.test(r)&&tV.test(e)&&(n=d.width,o=d.minWidth,s=d.maxWidth,d.minWidth=d.maxWidth=d.width=r,r=i.width,d.width=n,d.minWidth=o,d.maxWidth=s)),void 0!==r?r+"":r}function t$(t,e){return{get:function(){if(t()){delete this.get;return}return(this.get=e).apply(this,arguments)}}}!function(){function e(){if(u){h.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",tp.appendChild(h).appendChild(u);var e=t.getComputedStyle(u);n="1%"!==e.top,d=12===i(e.marginLeft),u.style.right="60%",r=36===i(e.right),o=36===i(e.width),u.style.position="absolute",s=12===i(u.offsetWidth/3),tp.removeChild(h),u=null}}function i(t){return Math.round(parseFloat(t))}var n,o,s,r,l,d,h=_.createElement("div"),u=_.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===u.style.backgroundClip,S.extend(m,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),r},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),d},scrollboxSize:function(){return e(),s},reliableTrDimensions:function(){var e,i,n,o;return null==l&&(e=_.createElement("table"),i=_.createElement("tr"),n=_.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",i.style.cssText="box-sizing:content-box;border:1px solid",i.style.height="1px",n.style.height="9px",n.style.display="block",tp.appendChild(e).appendChild(i).appendChild(n),l=parseInt((o=t.getComputedStyle(i)).height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===i.offsetHeight,tp.removeChild(e)),l}}))}();var tX=["Webkit","Moz","ms"],tY=_.createElement("div").style,tK={};function tJ(t){return S.cssProps[t]||tK[t]||(t in tY?t:tK[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),i=tX.length;i--;)if((t=tX[i]+e)in tY)return t}(t)||t)}var tQ=/^(none|table(?!-c[ea]).+)/,t0={position:"absolute",visibility:"hidden",display:"block"},t1={letterSpacing:"0",fontWeight:"400"};function t2(t,e,i){var n=tu.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function t5(t,e,i,n,o,s){var r="width"===e?1:0,l=0,d=0,h=0;if(i===(n?"border":"content"))return 0;for(;r<4;r+=2)"margin"===i&&(h+=S.css(t,i+tc[r],!0,o)),n?("content"===i&&(d-=S.css(t,"padding"+tc[r],!0,o)),"margin"!==i&&(d-=S.css(t,"border"+tc[r]+"Width",!0,o))):(d+=S.css(t,"padding"+tc[r],!0,o),"padding"!==i?d+=S.css(t,"border"+tc[r]+"Width",!0,o):l+=S.css(t,"border"+tc[r]+"Width",!0,o));return!n&&s>=0&&(d+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-s-d-l-.5))||0),d+h}function t3(t,e,i){var n=tq(t),o=(!m.boxSizingReliable()||i)&&"border-box"===S.css(t,"boxSizing",!1,n),s=o,r=tU(t,e,n),l="offset"+e[0].toUpperCase()+e.slice(1);if(tF.test(r)){if(!i)return r;r="auto"}return(!m.boxSizingReliable()&&o||!m.reliableTrDimensions()&&P(t,"tr")||"auto"===r||!parseFloat(r)&&"inline"===S.css(t,"display",!1,n))&&t.getClientRects().length&&(o="border-box"===S.css(t,"boxSizing",!1,n),(s=l in t)&&(r=t[l])),(r=parseFloat(r)||0)+t5(t,e,i||(o?"border":"content"),s,n,r)+"px"}function t9(t,e,i,n,o){return new t9.prototype.init(t,e,i,n,o)}S.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=tU(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,s,r,l=ti(e),d=tW.test(e),h=t.style;if(d||(e=tJ(l)),r=S.cssHooks[e]||S.cssHooks[l],void 0===i)return r&&"get"in r&&void 0!==(o=r.get(t,!1,n))?o:h[e];"string"==(s=typeof i)&&(o=tu.exec(i))&&o[1]&&(i=tv(t,e,o),s="number"),null!=i&&i==i&&("number"!==s||d||(i+=o&&o[3]||(S.cssNumber[l]?"":"px")),m.clearCloneStyle||""!==i||0!==e.indexOf("background")||(h[e]="inherit"),r&&"set"in r&&void 0===(i=r.set(t,i,n))||(d?h.setProperty(e,i):h[e]=i))}},css:function(t,e,i,n){var o,s,r,l=ti(e);return(tW.test(e)||(e=tJ(l)),(r=S.cssHooks[e]||S.cssHooks[l])&&"get"in r&&(o=r.get(t,!0,i)),void 0===o&&(o=tU(t,e,n)),"normal"===o&&e in t1&&(o=t1[e]),""===i||i)?(s=parseFloat(o),!0===i||isFinite(s)?s||0:o):o}}),S.each(["height","width"],function(t,e){S.cssHooks[e]={get:function(t,i,n){if(i)return!tQ.test(S.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?t3(t,e,n):tG(t,t0,function(){return t3(t,e,n)})},set:function(t,i,n){var o,s=tq(t),r=!m.scrollboxSize()&&"absolute"===s.position,l=(r||n)&&"border-box"===S.css(t,"boxSizing",!1,s),d=n?t5(t,e,n,l,s):0;return l&&r&&(d-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(s[e])-t5(t,e,"border",!1,s)-.5)),d&&(o=tu.exec(i))&&"px"!==(o[3]||"px")&&(t.style[e]=i,i=S.css(t,e)),t2(t,i,d)}}}),S.cssHooks.marginLeft=t$(m.reliableMarginLeft,function(t,e){if(e)return(parseFloat(tU(t,"marginLeft"))||t.getBoundingClientRect().left-tG(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(t,e){S.cssHooks[t+e]={expand:function(i){for(var n=0,o={},s="string"==typeof i?i.split(" "):[i];n<4;n++)o[t+tc[n]+e]=s[n]||s[n-2]||s[0];return o}},"margin"!==t&&(S.cssHooks[t+e].set=t2)}),S.fn.extend({css:function(t,e){return J(this,function(t,e,i){var n,o,s={},r=0;if(Array.isArray(e)){for(n=tq(t),o=e.length;r<o;r++)s[e[r]]=S.css(t,e[r],!1,n);return s}return void 0!==i?S.style(t,e,i):S.css(t,e)},t,e,arguments.length>1)}}),S.Tween=t9,t9.prototype={constructor:t9,init:function(t,e,i,n,o,s){this.elem=t,this.prop=i,this.easing=o||S.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(S.cssNumber[i]?"":"px")},cur:function(){var t=t9.propHooks[this.prop];return t&&t.get?t.get(this):t9.propHooks._default.get(this)},run:function(t){var e,i=t9.propHooks[this.prop];return this.options.duration?this.pos=e=S.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):t9.propHooks._default.set(this),this}},t9.prototype.init.prototype=t9.prototype,t9.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=S.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){S.fx.step[t.prop]?S.fx.step[t.prop](t):1===t.elem.nodeType&&(S.cssHooks[t.prop]||null!=t.elem.style[tJ(t.prop)])?S.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},t9.propHooks.scrollTop=t9.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},S.easing={linear:function(t){return t},swing:function(t){return .5-Math.cos(t*Math.PI)/2},_default:"swing"},S.fx=t9.prototype.init,S.fx.step={};var t8,t4,t7,t6,et=/^(?:toggle|show|hide)$/,ee=/queueHooks$/;function ei(){return t.setTimeout(function(){t7=void 0}),t7=Date.now()}function en(t,e){var i,n=0,o={height:t};for(e=e?1:0;n<4;n+=2-e)o["margin"+(i=tc[n])]=o["padding"+i]=t;return e&&(o.opacity=o.width=t),o}function eo(t,e,i){for(var n,o=(es.tweeners[e]||[]).concat(es.tweeners["*"]),s=0,r=o.length;s<r;s++)if(n=o[s].call(i,e,t))return n}function es(t,e,i){var n,o,s=0,r=es.prefilters.length,l=S.Deferred().always(function(){delete d.elem}),d=function(){if(o)return!1;for(var e=t7||ei(),i=Math.max(0,h.startTime+h.duration-e),n=1-(i/h.duration||0),s=0,r=h.tweens.length;s<r;s++)h.tweens[s].run(n);return(l.notifyWith(t,[h,n,i]),n<1&&r)?i:(r||l.notifyWith(t,[h,1,0]),l.resolveWith(t,[h]),!1)},h=l.promise({elem:t,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},i),originalProperties:e,originalOptions:i,startTime:t7||ei(),duration:i.duration,tweens:[],createTween:function(e,i){var n=S.Tween(t,h.opts,e,i,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(n),n},stop:function(e){var i=0,n=e?h.tweens.length:0;if(o)return this;for(o=!0;i<n;i++)h.tweens[i].run(1);return e?(l.notifyWith(t,[h,1,0]),l.resolveWith(t,[h,e])):l.rejectWith(t,[h,e]),this}}),u=h.props;for(function(t,e){var i,n,o,s,r;for(i in t)if(o=e[n=ti(i)],Array.isArray(s=t[i])&&(o=s[1],s=t[i]=s[0]),i!==n&&(t[n]=s,delete t[i]),(r=S.cssHooks[n])&&("expand"in r))for(i in s=r.expand(s),delete t[n],s)(i in t)||(t[i]=s[i],e[i]=o);else e[n]=o}(u,h.opts.specialEasing);s<r;s++)if(n=es.prefilters[s].call(h,t,u,h.opts))return g(n.stop)&&(S._queueHooks(h.elem,h.opts.queue).stop=n.stop.bind(n)),n;return S.map(u,eo,h),g(h.opts.start)&&h.opts.start.call(t,h),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always),S.fx.timer(S.extend(d,{elem:t,anim:h,queue:h.opts.queue})),h}S.Animation=S.extend(es,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return tv(i.elem,t,tu.exec(e),i),i}]},tweener:function(t,e){g(t)?(e=t,t=["*"]):t=t.match(G);for(var i,n=0,o=t.length;n<o;n++)i=t[n],es.tweeners[i]=es.tweeners[i]||[],es.tweeners[i].unshift(e)}
vendor: 4,526 bytes, line 1
1,prefilters:[function(t,e,i){var n,o,s,r,l,d,h,u,c="width"in e||"height"in e,p=this,f={},m=t.style,g=t.nodeType&&tg(t),v=ts.get(t,"fxshow");for(n in i.queue||(null==(r=S._queueHooks(t,"fx")).unqueued&&(r.unqueued=0,l=r.empty.fire,r.empty.fire=function(){r.unqueued||l()}),r.unqueued++,p.always(function(){p.always(function(){r.unqueued--,S.queue(t,"fx").length||r.empty.fire()})})),e)if(o=e[n],et.test(o)){if(delete e[n],s=s||"toggle"===o,o===(g?"hide":"show")){if("show"!==o||!v||void 0===v[n])continue;g=!0}f[n]=v&&v[n]||S.style(t,n)}if(!(!(d=!S.isEmptyObject(e))&&S.isEmptyObject(f)))for(n in c&&1===t.nodeType&&(i.overflow=[m.overflow,m.overflowX,m.overflowY],null==(h=v&&v.display)&&(h=ts.get(t,"display")),"none"===(u=S.css(t,"display"))&&(h?u=h:(ty([t],!0),h=t.style.display||h,u=S.css(t,"display"),ty([t]))),("inline"===u||"inline-block"===u&&null!=h)&&"none"===S.css(t,"float")&&(d||(p.done(function(){m.display=h}),null!=h||(h="none"===(u=m.display)?"":u)),m.display="inline-block")),i.overflow&&(m.overflow="hidden",p.always(function(){m.overflow=i.overflow[0],m.overflowX=i.overflow[1],m.overflowY=i.overflow[2]})),d=!1,f)d||(v?"hidden"in v&&(g=v.hidden):v=ts.access(t,"fxshow",{display:h}),s&&(v.hidden=!g),g&&ty([t],!0),p.done(function(){for(n in g||ty([t]),ts.remove(t,"fxshow"),f)S.style(t,n,f[n])})),d=eo(g?v[n]:0,n,p),n in v||(v[n]=d.start,g&&(d.end=d.start,d.start=0))}],prefilter:function(t,e){e?es.prefilters.unshift(t):es.prefilters.push(t)}}),S.speed=function(t,e,i){var n=t&&"object"==typeof t?S.extend({},t):{complete:i||!i&&e||g(t)&&t,duration:t,easing:i&&e||e&&!g(e)&&e};return S.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in S.fx.speeds?n.duration=S.fx.speeds[n.duration]:n.duration=S.fx.speeds._default),(null==n.queue||!0===n.queue)&&(n.queue="fx"),n.old=n.complete,n.complete=function(){g(n.old)&&n.old.call(this),n.queue&&S.dequeue(this,n.queue)},n},S.fn.extend({fadeTo:function(t,e,i,n){return this.filter(tg).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var o=S.isEmptyObject(t),s=S.speed(e,i,n),r=function(){var e=es(this,S.extend({},t),s);(o||ts.get(this,"finish"))&&e.stop(!0)};return r.finish=r,o||!1===s.queue?this.each(r):this.queue(s.queue,r)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",s=S.timers,r=ts.get(this);if(o)r[o]&&r[o].stop&&n(r[o]);else for(o in r)r[o]&&r[o].stop&&ee.test(o)&&n(r[o]);for(o=s.length;o--;)s[o].elem===this&&(null==t||s[o].queue===t)&&(s[o].anim.stop(i),e=!1,s.splice(o,1));(e||!i)&&S.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,i=ts.get(this),n=i[t+"queue"],o=i[t+"queueHooks"],s=S.timers,r=n?n.length:0;for(i.finish=!0,S.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===t&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;e<r;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),S.each(["toggle","show","hide"],function(t,e){var i=S.fn[e];S.fn[e]=function(t,n,o){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(en(e,!0),t,n,o)}}),S.each({slideDown:en("show"),slideUp:en("hide"),slideToggle:en("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){S.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),S.timers=[],S.fx.tick=function(){var t,e=0,i=S.timers;for(t7=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||S.fx.stop(),t7=void 0},S.fx.timer=function(t){S.timers.push(t),S.fx.start()},S.fx.interval=13,S.fx.start=function(){t6||(t6=!0,function e(){t6&&(!1===_.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(e):t.setTimeout(e,S.fx.interval),S.fx.tick())}())},S.fx.stop=function(){t6=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(e,i){return e=S.fx&&S.fx.speeds[e]||e,i=i||"fx",this.queue(i,function(i,n){var o=t.setTimeout(i,e);n.stop=function(){t.clearTimeout(o)}})},er=_.createElement("input"),ea=_.createElement("select").appendChild(_.createElement("option")),er.type="checkbox",m.checkOn=""!==er.value,m.optSelected=ea.selected,(er=_.createElement("input")).value="t",er.type="radio",m.radioValue="t"===er.value;var er,ea,el,ed=S.expr.attrHandle;S.fn.extend({attr:function(t,e){return J(this,S.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){S.removeAttr(this,t)})}}
1),S.extend({attr:function(t,e,i){var n,o,s=t.nodeType;if(3!==s&&8!==s&&2!==s){if(void 0===t.getAttribute)return S.prop(t,e,i);if(1===s&&S.isXMLDoc(t)||(o=S.attrHooks[e.toLowerCase()]||(S.expr.match.bool.test(e)?el:void 0)),void 0!==i){if(null===i){S.removeAttr(t,e);return}return o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:(t.setAttribute(e,i+""),i)}return o&&"get"in o&&null!==(n=o.get(t,e))?n:null==(n=S.find.attr(t,e))?void 0:n}},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&P(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,o=e&&e.match(G);if(o&&1===t.nodeType)for(;i=o[n++];)t.removeAttribute(i)}}),el={set:function(t,e,i){return!1===e?S.removeAttr(t,i):t.setAttribute(i,i),i}},S.each(S.expr.match.bool.source.match(/\w+/g),function(t,e){var i=ed[e]||S.find.attr;ed[e]=function(t,e,n){var o,s,r=e.toLowerCase();return n||(s=ed[r],ed[r]=o,o=null!=i(t,e,n)?r:null,ed[r]=s),o}});var eh=/^(?:input|select|textarea|button)$/i,eu=/^(?:a|area)$/i;function ec(t){return(t.match(G)||[]).join(" ")}function ep(t){return t.getAttribute&&t.getAttribute("class")||""}function ef(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(G)||[]}S.fn.extend({prop:function(t,e){return J(this,S.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[S.propFix[t]||t]})}}),S.extend({prop:function(t,e,i){var n,o,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return(1===s&&S.isXMLDoc(t)||(e=S.propFix[e]||e,o=S.propHooks[e]),void 0!==i)?o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:t[e]=i:o&&"get"in o&&null!==(n=o.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=S.find.attr(t,"tabindex");return e?parseInt(e,10):eh.test(t.nodeName)||eu.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(S.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(t){var e,i,n,o,s,r;return g(t)?this.each(function(e){S(this).addClass(t.call(this,e,ep(this)))}):(e=ef(t)).length?this.each(function(){if(n=ep(this),i=1===this.nodeType&&" "+ec(n)+" "){for(s=0;s<e.length;s++)o=e[s],0>i.indexOf(" "+o+" ")&&(i+=o+" ");n!==(r=ec(i))&&this.setAttribute("class",r)}}):this},removeClass:function(t){var e,i,n,o,s,r;return g(t)?this.each(function(e){S(this).removeClass(t.call(this,e,ep(this)))}):arguments.length?(e=ef(t)).length?this.each(function(){if(n=ep(this),i=1===this.nodeType&&" "+ec(n)+" "){for(s=0;s<e.length;s++)for(o=e[s];i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");n!==(r=ec(i))&&this.setAttribute("class",r)}}):this:this.attr("class","")},toggleClass:function(t,e){var i,n,o,s,r=typeof t,l="string"===r||Array.isArray(t);return g(t)?this.each(function(i){S(this).toggleClass(t.call(this,i,ep(this),e),e)}):"boolean"==typeof e&&l?e?this.addClass(t):this.removeClass(t):(i=ef(t),this.each(function(){if(l)for(o=0,s=S(this);o<i.length;o++)n=i[o],s.hasClass(n)?s.removeClass(n):s.addClass(n);else(void 0===t||"boolean"===r)&&((n=ep(this))&&ts.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===t?"":ts.get(this,"__className__")||""))}))},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&(" "+ec(ep(i))+" ").indexOf(e)>-1)return!0;return!1}});var em=/\r/g;S.fn.extend({val:function(t){var e,i,n,o=this[0];return arguments.length?(n=g(t),this.each(function(i){var o;1!==this.nodeType||(null==(o=n?t.call(this,i,S(this).val()):t)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=S.map(o,function(t){return null==t?"":t+""})),(e=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))})):o?(e=S.valHooks[o.type]||S.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(o,"value"))?i:"string"==typeof(i=o.value)?i.replace(em,""):null==i?"":i:void 0}}),S.extend({valHooks:{option:{get:function(t){var e=S.find.attr(t,"value");return null!=e?e:ec(S.text(t))}},select:{get:function(t){var e,i,n,o=t.options,s=t.selectedIndex,r="select-one"===t.type,l=r?null:[],d=r?s+1:o.length;for(n=s<0?d:r?s:0;n<d;n++)if(((i=o[n]).selected||n===s)&&!i.disabled&&(!i.parentNode.disabled||!P(i.parentNode,"optgroup"))){if(e=S(i).val(),r)return e;l.push(e)}return l},set:function(t,e){for(var i,n,o=t.options,s=S.makeArray(e),r=o.length;r--;)((n=o[r]).selected=S.inArray(S.valHooks.option.get(n),s)>-1)&&(i=!0);
vendor: 4,921 bytes, line 1
1return i||(t.selectedIndex=-1),s}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=S.inArray(S(t).val(),e)>-1}},m.checkOn||(S.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var eg=t.location,ev={guid:Date.now()},e_=/\?/;S.parseXML=function(e){var i,n;if(!e||"string"!=typeof e)return null;try{i=new t.DOMParser().parseFromString(e,"text/xml")}catch(t){}return n=i&&i.getElementsByTagName("parsererror")[0],(!i||n)&&S.error("Invalid XML: "+(n?S.map(n.childNodes,function(t){return t.textContent}).join("\n"):e)),i};var ey=/^(?:focusinfocus|focusoutblur)$/,ew=function(t){t.stopPropagation()};S.extend(S.event,{trigger:function(e,i,n,o){var s,r,l,d,h,u,p,f,m=[n||_],y=c.call(e,"type")?e.type:e,w=c.call(e,"namespace")?e.namespace.split("."):[];if(r=f=l=n=n||_,!(3===n.nodeType||8===n.nodeType||ey.test(y+S.event.triggered))&&(y.indexOf(".")>-1&&(y=(w=y.split(".")).shift(),w.sort()),h=0>y.indexOf(":")&&"on"+y,(e=e[S.expando]?e:new S.Event(y,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=w.join("."),e.rnamespace=e.namespace?RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:S.makeArray(i,[e]),p=S.event.special[y]||{},o||!p.trigger||!1!==p.trigger.apply(n,i))){if(!o&&!p.noBubble&&!v(n)){for(d=p.delegateType||y,ey.test(d+y)||(r=r.parentNode);r;r=r.parentNode)m.push(r),l=r;l===(n.ownerDocument||_)&&m.push(l.defaultView||l.parentWindow||t)}for(s=0;(r=m[s++])&&!e.isPropagationStopped();)f=r,e.type=s>1?d:p.bindType||y,(u=(ts.get(r,"events")||Object.create(null))[e.type]&&ts.get(r,"handle"))&&u.apply(r,i),(u=h&&r[h])&&u.apply&&tn(r)&&(e.result=u.apply(r,i),!1===e.result&&e.preventDefault());return e.type=y,!o&&!e.isDefaultPrevented()&&(!p._default||!1===p._default.apply(m.pop(),i))&&tn(n)&&h&&g(n[y])&&!v(n)&&((l=n[h])&&(n[h]=null),S.event.triggered=y,e.isPropagationStopped()&&f.addEventListener(y,ew),n[y](),e.isPropagationStopped()&&f.removeEventListener(y,ew),S.event.triggered=void 0,l&&(n[h]=l)),e.result}},simulate:function(t,e,i){var n=S.extend(new S.Event,i,{type:t,isSimulated:!0});S.event.trigger(n,null,e)}}),S.fn.extend({trigger:function(t,e){return this.each(function(){S.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return S.event.trigger(t,e,i,!0)}});var eb=/\[\]$/,ex=/\r?\n/g,eT=/^(?:submit|button|image|reset|file)$/i,eS=/^(?:input|select|textarea|keygen)/i;S.param=function(t,e){var i,n=[],o=function(t,e){var i=g(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!S.isPlainObject(t))S.each(t,function(){o(this.name,this.value)});else for(i in t)!function t(e,i,n,o){var s;if(Array.isArray(i))S.each(i,function(i,s){n||eb.test(e)?o(e,s):t(e+"["+("object"==typeof s&&null!=s?i:"")+"]",s,n,o)});else if(n||"object"!==b(i))o(e,i);else for(s in i)t(e+"["+s+"]",i[s],n,o)}(i,t[i],e,o);return n.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=S.prop(this,"elements");return t?S.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!S(this).is(":disabled")&&eS.test(this.nodeName)&&!eT.test(t)&&(this.checked||!tw.test(t))}).map(function(t,e){var i=S(this).val();return null==i?null:Array.isArray(i)?S.map(i,function(t){return{name:e.name,value:t.replace(ex,"\r\n")}}):{name:e.name,value:i.replace(ex,"\r\n")}}).get()}});var eC=/%20/g,eL=/#.*$/,eP=/([?&])_=[^&]*/,eE=/^(.*?):[ \t]*([^\r\n]*)$/mg,eM=/^(?:GET|HEAD)$/,eA=/^\/\//,ek={},ez={},eO="*/".concat("*"),eI=_.createElement("a");function ej(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,o=0,s=e.toLowerCase().match(G)||[];if(g(i))for(;n=s[o++];)"+"===n[0]?(t[n=n.slice(1)||"*"]=t[n]||[]).unshift(i):(t[n]=t[n]||[]).push(i)}}function eN(t,e,i,n){var o={},s=t===ez;function r(l){var d;return o[l]=!0,S.each(t[l]||[],function(t,l){var h=l(e,i,n);return"string"!=typeof h||s||o[h]?s?!(d=h):void 0:(e.dataTypes.unshift(h),r(h),!1)}),d}return r(e.dataTypes[0])||!o["*"]&&r("*")}function eD(t,e){var i,n,o=S.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((o[i]?t:n||(n={}))[i]=e[i]);return n&&S.extend(!0,t,n),t}eI.href=eg.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:eg.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(eg.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":eO,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML}
1,flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?eD(eD(t,S.ajaxSettings),e):eD(S.ajaxSettings,t)},ajaxPrefilter:ej(ek),ajaxTransport:ej(ez),ajax:function(e,i){"object"==typeof e&&(i=e,e=void 0),i=i||{};var n,o,s,r,l,d,h,u,c,p,f=S.ajaxSetup({},i),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?S(m):S.event,v=S.Deferred(),y=S.Callbacks("once memory"),w=f.statusCode||{},b={},x={},T="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(h){if(!r)for(r={};e=eE.exec(s);)r[e[1].toLowerCase()+" "]=(r[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=r[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return h?s:null},setRequestHeader:function(t,e){return null==h&&(b[t=x[t.toLowerCase()]=x[t.toLowerCase()]||t]=e),this},overrideMimeType:function(t){return null==h&&(f.mimeType=t),this},statusCode:function(t){var e;if(t){if(h)C.always(t[C.status]);else for(e in t)w[e]=[w[e],t[e]]}return this},abort:function(t){var e=t||T;return n&&n.abort(e),P(0,e),this}};if(v.promise(C),f.url=((e||f.url||eg.href)+"").replace(eA,eg.protocol+"//"),f.type=i.method||i.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(G)||[""],null==f.crossDomain){d=_.createElement("a");try{d.href=f.url,d.href=d.href,f.crossDomain=eI.protocol+"//"+eI.host!=d.protocol+"//"+d.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=S.param(f.data,f.traditional)),eN(ek,f,i,C),h)return C;for(c in(u=S.event&&f.global)&&0==S.active++&&S.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!eM.test(f.type),o=f.url.replace(eL,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(eC,"+")):(p=f.url.slice(o.length),f.data&&(f.processData||"string"==typeof f.data)&&(o+=(e_.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(o=o.replace(eP,"$1"),p=(e_.test(o)?"&":"?")+"_="+ev.guid+++p),f.url=o+p),f.ifModified&&(S.lastModified[o]&&C.setRequestHeader("If-Modified-Since",S.lastModified[o]),S.etag[o]&&C.setRequestHeader("If-None-Match",S.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||i.contentType)&&C.setRequestHeader("Content-Type",f.contentType),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+eO+"; q=0.01":""):f.accepts["*"]),f.headers)C.setRequestHeader(c,f.headers[c]);if(f.beforeSend&&(!1===f.beforeSend.call(m,C,f)||h))return C.abort();if(T="abort",y.add(f.complete),C.done(f.success),C.fail(f.error),n=eN(ez,f,i,C)){if(C.readyState=1,u&&g.trigger("ajaxSend",[C,f]),h)return C;f.async&&f.timeout>0&&(l=t.setTimeout(function(){C.abort("timeout")},f.timeout));try{h=!1,n.send(b,P)}catch(t){if(h)throw t;P(-1,t)}}else P(-1,"No Transport");function P(e,i,r,d){var c,p,_,b,x,T=i;h||(h=!0,l&&t.clearTimeout(l),n=void 0,s=d||"",C.readyState=e>0?4:0,c=e>=200&&e<300||304===e,r&&(b=function(t,e,i){for(var n,o,s,r,l=t.contents,d=t.dataTypes;"*"===d[0];)d.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n){for(o in l)if(l[o]&&l[o].test(n)){d.unshift(o);break}}if(d[0]in i)s=d[0];else{for(o in i){if(!d[0]||t.converters[o+" "+d[0]]){s=o;break}r||(r=o)}s=s||r}if(s)return s!==d[0]&&d.unshift(s),i[s]}(f,C,r)),!c&&S.inArray("script",f.dataTypes)>-1&&0>S.inArray("json",f.dataTypes)&&(f.converters["text script"]=function(){}),b=function(t,e,i,n){var o,s,r,l,d,h={},u=t.dataTypes.slice();if(u[1])for(r in t.converters)h[r.toLowerCase()]=t.converters[r];for(s=u.shift();s;)if(t.responseFields[s]&&(i[t.responseFields[s]]=e),!d&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),d=s,s=u.shift()){if("*"===s)s=d;else if("*"!==d&&d!==s){if(!(r=h[d+" "+s]||h["* "+s])){for(o in h)if((l=o.split(" "))[1]===s&&(r=h[d+" "+l[0]]||h["* "+l[0]])){!0===r?r=h[o]:!0!==h[o]&&(s=l[0],u.unshift(l[1]));break}}if(!0!==r){if(r&&t.throws)e=r(e);else try{e=r(e)}catch(t){return{state:"parsererror",error:r?t:"No conversion from "+d+" to "+s}}}}}return{state:"success",data:e}}(f,b,C,c),c?(f.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&(S.lastModified[o]=x),(x=C.getResponseHeader("etag"))&&(S.etag[o]=x)),204===e||"HEAD"===f.type?T="nocontent":304===e?T="notmodified":(T=b.state,p=b.data,c=!(_=b.error))):(_=T,(e||!T)&&(T="error",e<0&&(e=0))),C.status=e,C.statusText=(i||T)+"",c?v.resolveWith(m,[p,T,C]):v.rejectWith(m,[C,T,_]),C.statusCode(w),w=void 0,u&&g.trigger(c?"ajaxSuccess":"ajaxError",[C,f,c?p:_]),y.fireWith(m,[C,T]),!u||(g.trigger("ajaxComplete",[C,f]),--S.active||S.event.trigger("ajaxStop")))}return C}
vendor: 9,454 bytes, line 1
1,getJSON:function(t,e,i){return S.get(t,e,i,"json")},getScript:function(t,e){return S.get(t,void 0,e,"script")}}),S.each(["get","post"],function(t,e){S[e]=function(t,i,n,o){return g(i)&&(o=o||n,n=i,i=void 0),S.ajax(S.extend({url:t,type:e,dataType:o,data:i,success:n},S.isPlainObject(t)&&t))}}),S.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),S._evalUrl=function(t,e,i){return S.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){S.globalEval(t,e,i)}})},S.fn.extend({wrapAll:function(t){var e;return this[0]&&(g(t)&&(t=t.call(this[0])),e=S(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return g(t)?this.each(function(e){S(this).wrapInner(t.call(this,e))}):this.each(function(){var e=S(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=g(t);return this.each(function(i){S(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(t){return!S.expr.pseudos.visible(t)},S.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var eB={0:200,1223:204},eZ=S.ajaxSettings.xhr();m.cors=!!eZ&&"withCredentials"in eZ,m.ajax=eZ=!!eZ,S.ajaxTransport(function(e){var i,n;if(m.cors||eZ&&!e.crossDomain)return{send:function(o,s){var r,l=e.xhr();if(l.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(r in e.xhrFields)l[r]=e.xhrFields[r];for(r in e.mimeType&&l.overrideMimeType&&l.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)l.setRequestHeader(r,o[r]);i=function(t){return function(){i&&(i=n=l.onload=l.onerror=l.onabort=l.ontimeout=l.onreadystatechange=null,"abort"===t?l.abort():"error"===t?"number"!=typeof l.status?s(0,"error"):s(l.status,l.statusText):s(eB[l.status]||l.status,l.statusText,"text"!==(l.responseType||"text")||"string"!=typeof l.responseText?{binary:l.response}:{text:l.responseText},l.getAllResponseHeaders()))}},l.onload=i(),n=l.onerror=l.ontimeout=i("error"),void 0!==l.onabort?l.onabort=n:l.onreadystatechange=function(){4===l.readyState&&t.setTimeout(function(){i&&n()})},i=i("abort");try{l.send(e.hasContent&&e.data||null)}catch(t){if(i)throw t}},abort:function(){i&&i()}}}),S.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return S.globalEval(t),t}}}),S.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),S.ajaxTransport("script",function(t){if(t.crossDomain||t.scriptAttrs){var e,i;return{send:function(n,o){e=S("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),_.head.appendChild(e[0])},abort:function(){i&&i()}}}});var eR=[],eH=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=eR.pop()||S.expando+"_"+ev.guid++;return this[t]=!0,t}}),S.ajaxPrefilter("json jsonp",function(e,i,n){var o,s,r,l=!1!==e.jsonp&&(eH.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&eH.test(e.data)&&"data");if(l||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,l?e[l]=e[l].replace(eH,"$1"+o):!1!==e.jsonp&&(e.url+=(e_.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return r||S.error(o+" was not called"),r[0]},e.dataTypes[0]="json",s=t[o],t[o]=function(){r=arguments},n.always(function(){void 0===s?S(t).removeProp(o):t[o]=s,e[o]&&(e.jsonpCallback=i.jsonpCallback,eR.push(o)),r&&g(s)&&s(r[0]),r=s=void 0}),"script"}),m.createHTMLDocument=((i=_.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===i.childNodes.length),S.parseHTML=function(t,e,i){var n,o,s;return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(m.createHTMLDocument?((n=(e=_.implementation.createHTMLDocument("")).createElement("base")).href=_.location.href,e.head.appendChild(n)):e=_),o=B.exec(t),s=!i&&[],o)?[e.createElement(o[1])]:(o=tP([t],e,s),s&&s.length&&S(s).remove(),S.merge([],o.childNodes))},S.fn.load=function(t,e,i){var n,o,s,r=this,l=t.indexOf(" ");return l>-1&&(n=ec(t.slice(l)),t=t.slice(0,l)),g(e)?(i=e,e=void 0):e&&"object"==typeof e&&(o="POST"),r.length>0&&S.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){s=arguments,r.html(n?S("<div>").append(S.parseHTML(t)).find(n):t)}).always(i&&function(t,e){r.each(function(){i.apply(this,s||[t.responseText,e,t])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(t,e,i){var n,o,s,r,l,d,h=S.css(t,"position"),u=S(t),c={};"static"===h&&(t.style.position="relative"),l=u.offset(),s=S.css(t,"top"),d=S.css(t,"left"),("absolute"===h||"fixed"===h)&&(s+d).indexOf("auto")>-1?(r=(n=u.position()).top,o=n.left):(r=parseFloat(s)||0,o=parseFloat(d)||0),g(e)&&(e=e.call(t,i,S.extend({},l))),null!=e.top&&(c.top=e.top-l.top+r),null!=e.left&&(c.left=e.left-l.left+o),"using"in e?e.using.call(t,c):u.css(c)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,i,n=this[0];if(n)return n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var t,e,i,n=this[0],o={top:0,left:0};if("fixed"===S.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===S.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&(o=S(t).offset(),o.top+=S.css(t,"borderTopWidth",!0),o.left+=S.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-S.css(n,"marginTop",!0),left:e.left-o.left-S.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===S.css(t,"position");)t=t.offsetParent;return t||tp})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;S.fn[t]=function(n){return J(this,function(t,n,o){var s;if(v(t)?s=t:9===t.nodeType&&(s=t.defaultView),void 0===o)return s?s[e]:t[n];s?s.scrollTo(i?s.pageXOffset:o,i?o:s.pageYOffset):t[n]=o},t,n,arguments.length)}}),S.each(["top","left"],function(t,e){S.cssHooks[e]=t$(m.pixelPosition,function(t,i){if(i)return i=tU(t,e),tF.test(i)?S(t).position()[e]+"px":i})}),S.each({Height:"height",Width:"width"},function(t,e){S.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){S.fn[n]=function(o,s){var r=arguments.length&&(i||"boolean"!=typeof o),l=i||(!0===o||!0===s?"margin":"border");return J(this,function(e,i,o){var s;return v(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===o?S.css(e,i,l):S.style(e,i,o,l)},e,r?o:void 0,r)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){S.fn[e]=function(t){return this.on(e,t)}}),S.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1==arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){S.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}});var eF=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;S.proxy=function(t,e){var i,n,o;if("string"==typeof e&&(i=t[e],e=t,t=i),g(t))return n=s.call(arguments,2),(o=function(){return t.apply(e||this,n.concat(s.call(arguments)))}).guid=t.guid=t.guid||S.guid++,o},S.holdReady=function(t){t?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=P,S.isFunction=g,S.isWindow=v,S.camelCase=ti,S.type=b,S.now=Date.now,S.isNumeric=function(t){var e=S.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},S.trim=function(t){return null==t?"":(t+"").replace(eF,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var eW=t.jQuery,eq=t.$;return S.noConflict=function(e){return t.$===S&&(t.$=eq),e&&t.jQuery===S&&(t.jQuery=eW),S},void 0===e&&(t.jQuery=t.$=S),S},"object"==typeof t.exports?t.exports=i.document?n(i,!0):function(t){if(!t.document)throw Error("jQuery requires a window with a document");return n(t)}:n(i)});var f={};
1s=function(t,e,i){if(function(){var e,i={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in tn=t.lazySizesConfig||t.lazysizesConfig||{},i)e in tn||(tn[e]=i[e])}(),!e||!e.getElementsByClassName)return{init:function(){},cfg:tn,noSupport:!0};var n,o,s,r,l,d,h,u,c,p,f,m,g,v,_,y,w,b,x,T,S,C,P,E,M,A,k,z,O,I,j,N,D,B,Z,R,H,F,W,q,G,V,U,$,X,Y,K,J,Q,tt,te,ti,tn,to=e.documentElement,ts=t.HTMLPictureElement,tr="addEventListener",ta="getAttribute",tl=t[tr].bind(t),td=t.setTimeout,th=t.requestAnimationFrame||td,tu=t.requestIdleCallback,tc=/^picture$/i,tp=["load","error","lazyincluded","_lazyloaded"],tf={},tm=Array.prototype.forEach,tg=function(t,e){return tf[e]||(tf[e]=RegExp("(\\s|^)"+e+"(\\s|$)")),tf[e].test(t[ta]("class")||"")&&tf[e]},tv=function(t,e){tg(t,e)||t.setAttribute("class",(t[ta]("class")||"").trim()+" "+e)},t_=function(t,e){var i,n=t.parentElement;(i=tg(t,e))&&(t.setAttribute("class",(t[ta]("class")||"").replace(i," ")),n.classList.contains("loadingImg")?n.classList.remove("loadingImg"):t.classList.contains("loadingImg")&&t.classList.remove("loadingImg"))},ty=function(t,e,i){var n=i?tr:"removeEventListener";i&&ty(t,e),tp.forEach(function(i){t[n](i,e)})},tw=function(t,i,n,o,s){var r=e.createEvent("Event");return n||(n={}),n.instance=ti,r.initEvent(i,!o,!s),r.detail=n,t.dispatchEvent(r),r},tb=function(e,i){var n;!ts&&(n=t.picturefill||tn.pf)?(i&&i.src&&!e[ta]("srcset")&&e.setAttribute("srcset",i.src),n({reevaluate:!0,elements:[e]})):i&&i.src&&(e.src=i.src)},tx=function(t,e){return(getComputedStyle(t,null)||{})[e]},tT=function(t,e,i){for(i=i||t.offsetWidth;i<tn.minSize&&e&&!t._lazysizesWidth;)i=e.offsetWidth,e=e.parentNode;return i},tS=(f=[],m=p=[],g=function(){var t=m;for(m=p.length?f:p,u=!0,c=!1;t.length;)t.shift()();u=!1},(v=function(t,i){u&&!i?t.apply(this,arguments):(m.push(t),c||(c=!0,(e.hidden?td:th)(g)))})._lsFlush=g,v),tC=function(t,e){return e?function(){tS(t)}:function(){var e=this,i=arguments;tS(function(){t.apply(e,i)})}},tL=function(t){var e,n,o=function(){e=null,t()},s=function(){var t=i.now()-n;t<99?td(s,99-t):(tu||o)(o)};return function(){n=i.now(),e||(e=td(s,99))}},tP=(k=/^img$/i,z=/^iframe$/i,O="onscroll"in t&&!/(gle|ing)bot/.test(navigator.userAgent),I=0,j=0,N=-1,D=function(t){j--,t&&!(j<0)&&t.target||(j=0)},B=function(t){return null==A&&(A="hidden"==tx(e.body,"visibility")),A||!("hidden"==tx(t.parentNode,"visibility")&&"hidden"==tx(t,"visibility"))},Z=function(t,i){var n,o=t,s=B(t);for(C-=i,M+=i,P-=i,E+=i;s&&(o=o.offsetParent)&&o!=e.body&&o!=to;)(s=(tx(o,"opacity")||1)>0)&&"visible"!=tx(o,"overflow")&&(n=o.getBoundingClientRect(),s=E>n.left&&P<n.right&&M>n.top-1&&C<n.bottom+1);return s},n=R=function(){var t,i,n,o,s,r,l,d,h,u,c,p,f=ti.elements;if((b=tn.loadMode)&&j<8&&(t=f.length)){for(i=0,N++;i<t;i++)if(f[i]&&!f[i]._lazyRace){if(!O||ti.prematureUnveil&&ti.prematureUnveil(f[i])){$(f[i]);continue}if((d=f[i][ta]("data-expand"))&&(r=1*d)||(r=I),u||(u=!tn.expand||tn.expand<1?to.clientHeight>500&&to.clientWidth>500?500:370:tn.expand,ti._defEx=u,c=u*tn.expFactor,p=tn.hFac,A=null,I<c&&j<1&&N>2&&b>2&&!e.hidden?(I=c,N=0):I=b>1&&N>1&&j<6?u:0),h!==r&&(T=innerWidth+r*p,S=innerHeight+r,l=-1*r,h=r),(M=(n=f[i].getBoundingClientRect()).bottom)>=l&&(C=n.top)<=S&&(E=n.right)>=l*p&&(P=n.left)<=T&&(M||E||P||C)&&(tn.loadHidden||B(f[i]))&&(y&&j<3&&!d&&(b<3||N<4)||Z(f[i],r))){if($(f[i]),s=!0,j>9)break}else!s&&y&&!o&&j<4&&N<4&&b>2&&(_[0]||tn.preloadAfterLoad)&&(_[0]||!d&&(M||E||P||C||"auto"!=f[i][ta](tn.sizesAttr)))&&(o=_[0]||f[i])}o&&!s&&$(o)}},s=0,r=tn.throttleDelay,l=tn.ricTimeout,d=function(){o=!1,s=i.now(),n()},h=tu&&l>49?function(){tu(d,{timeout:l}),l!==tn.ricTimeout&&(l=tn.ricTimeout)}:tC(function(){td(d)},!0),H=function(t){var e;(t=!0===t)&&(l=33),o||(o=!0,(e=r-(i.now()-s))<0&&(e=0),t||e<9?h():td(h,e))},W=tC(F=function(t){var e=t.target;if(e._lazyCache){delete e._lazyCache;return}D(t),tv(e,tn.loadedClass),t_(e,tn.loadingClass),ty(e,q),tw(e,"lazyloaded")}),q=function(t){W({target:t.target})},G=function(t,e){var i=t.getAttribute("data-load-mode")||tn.iframeLoadMode;0==i?t.contentWindow.location.replace(e):1==i&&(t.src=e)},V=function(t){var e,i=t[ta](tn.srcsetAttr);(e=tn.customMedia[t[ta]("data-media")||t[ta]("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i)}
1,U=tC(function(t,e,i,n,o){var s,r,l,d,h,u;!(h=tw(t,"lazybeforeunveil",e)).defaultPrevented&&(n&&(i?tv(t,tn.autosizesClass):t.setAttribute("sizes",n)),r=t[ta](tn.srcsetAttr),s=t[ta](tn.srcAttr),o&&(d=(l=t.parentNode)&&tc.test(l.nodeName||"")),u=e.firesLoad||"src"in t&&(r||s||d),h={target:t},tv(t,tn.loadingClass),u&&(clearTimeout(w),w=td(D,2500),ty(t,q,!0)),d&&tm.call(l.getElementsByTagName("source"),V),r?t.setAttribute("srcset",r):s&&!d&&(z.test(t.nodeName)?G(t,s):t.src=s),o&&(r||d)&&tb(t,{src:s})),t._lazyRace&&delete t._lazyRace,t_(t,tn.lazyClass),tS(function(){var e=t.complete&&t.naturalWidth>1;(!u||e)&&(e&&tv(t,tn.fastLoadedClass),F(h),t._lazyCache=!0,td(function(){"_lazyCache"in t&&delete t._lazyCache},9)),"lazy"==t.loading&&j--},!0)}),$=function(t){if(!t._lazyRace){var e,i=k.test(t.nodeName),n=i&&(t[ta](tn.sizesAttr)||t[ta]("sizes")),o="auto"==n;(o||!y)&&i&&(t[ta]("src")||t.srcset)&&!t.complete&&!tg(t,tn.errorClass)&&tg(t,tn.lazyClass)||(e=tw(t,"lazyunveilread").detail,o&&tE.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,j++,U(t,e,o,n,i))}},X=tL(function(){tn.loadMode=3,H()}),Y=function(){3==tn.loadMode&&(tn.loadMode=2),X()},K=function(){if(!y){if(i.now()-x<999){td(K,999);return}y=!0,tn.loadMode=3,H(),tl("scroll",Y,!0)}},{_:function(){x=i.now(),ti.elements=e.getElementsByClassName(tn.lazyClass),_=e.getElementsByClassName(tn.lazyClass+" "+tn.preloadClass),tl("scroll",H,!0),tl("resize",H,!0),tl("pageshow",function(t){if(t.persisted){var i=e.querySelectorAll("."+tn.loadingClass);i.length&&i.forEach&&th(function(){i.forEach(function(t){t.complete&&$(t)})})}}),t.MutationObserver?new MutationObserver(H).observe(to,{childList:!0,subtree:!0,attributes:!0}):(to[tr]("DOMNodeInserted",H,!0),to[tr]("DOMAttrModified",H,!0),setInterval(H,999)),tl("hashchange",H,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(t){e[tr](t,H,!0)}),/d$|^c/.test(e.readyState)?K():(tl("load",K),e[tr]("DOMContentLoaded",H),td(K,2e4)),ti.elements.length?(R(),tS._lsFlush()):H()},checkElems:H,unveil:$,_aLSL:Y}),tE=(Q=tC(function(t,e,i,n){var o,s,r;if(t._lazysizesWidth=n,n+="px",t.setAttribute("sizes",n),tc.test(e.nodeName||""))for(s=0,r=(o=e.getElementsByTagName("source")).length;s<r;s++)o[s].setAttribute("sizes",n);i.detail.dataAttr||tb(t,i.detail)}),tt=function(t,e,i){var n,o=t.parentNode;o&&(i=tT(t,o,i),!(n=tw(t,"lazybeforesizes",{width:i,dataAttr:!!e})).defaultPrevented&&(i=n.detail.width)&&i!==t._lazysizesWidth&&Q(t,o,n,i))},{_:function(){J=e.getElementsByClassName(tn.autosizesClass),tl("resize",te)},checkElems:te=tL(function(){var t,e=J.length;if(e)for(t=0;t<e;t++)tt(J[t])}),updateElem:tt}),tM=function(){!tM.i&&e.getElementsByClassName&&(tM.i=!0,tE._(),tP._())};return td(function(){tn.init&&tM()}),ti={cfg:tn,autoSizer:tE,loader:tP,init:tM,uP:tb,aC:tv,rC:t_,hC:tg,fire:tw,gW:tT,rAF:tS}}(o="undefined"!=typeof window?window:{},o.document,Date),o.lazySizes=s,f&&(f=s),c("cp68B");var m={};r=function(t){return t.TileLayer.Provider=t.TileLayer.extend({initialize:function(e,i){var n=t.TileLayer.Provider.providers,o=e.split("."),s=o[0],r=o[1];if(!n[s])throw"No such provider ("+s+")";var l={url:n[s].url,options:n[s].options};if(r&&"variants"in n[s]){if(!(r in n[s].variants))throw"No such variant of "+s+" ("+r+")";var d,h=n[s].variants[r];d="string"==typeof h?{variant:h}:h.options,l={url:h.url||l.url,options:t.Util.extend({},l.options,d)}}var u=function(t){return -1===t.indexOf("{attribution.")?t:t.replace(/\{attribution.(\w*)\}/g,function(t,e){return u(n[e].options.attribution)})};l.options.attribution=u(l.options.attribution);var c=t.Util.extend({},l.options,i);t.TileLayer.prototype.initialize.call(this,l.url,c)}}),t.TileLayer.Provider.providers={OpenStreetMap:{url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png",options:{maxZoom:19,attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'},variants:{Mapnik:{},DE:{url:"https://tile.openstreetmap.de/{z}/{x}/{y}.png",options:{maxZoom:18}},CH:{url:"https://tile.osm.ch/switzerland/{z}/{x}/{y}.png",options:{maxZoom:18,bounds:[[45,5],[48,11]]}},France:{url:"https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}
1.png",options:{maxZoom:20,attribution:"© OpenStreetMap France | {attribution.OpenStreetMap}"}},HOT:{url:"https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",options:{attribution:'{attribution.OpenStreetMap}, Tiles style by <a href="https://www.hotosm.org/" target="_blank">Humanitarian OpenStreetMap Team</a> hosted by <a href="https://openstreetmap.fr/" target="_blank">OpenStreetMap France</a>'}},BZH:{url:"https://tile.openstreetmap.bzh/br/{z}/{x}/{y}.png",options:{attribution:'{attribution.OpenStreetMap}, Tiles courtesy of <a href="http://www.openstreetmap.bzh/" target="_blank">Breton OpenStreetMap Team</a>',bounds:[[46.2,-5.5],[50,.7]]}}}},MapTilesAPI:{url:"https://maptiles.p.rapidapi.com/{variant}/{z}/{x}/{y}.png?rapidapi-key={apikey}",options:{attribution:'© <a href="http://www.maptilesapi.com/">MapTiles API</a>, {attribution.OpenStreetMap}',variant:"en/map/v1",apikey:"<insert your api key here>",maxZoom:19},variants:{OSMEnglish:{options:{variant:"en/map/v1"}},OSMFrancais:{options:{variant:"fr/map/v1"}},OSMEspagnol:{options:{variant:"es/map/v1"}}}},OpenSeaMap:{url:"https://tiles.openseamap.org/seamark/{z}/{x}/{y}.png",options:{attribution:'Map data: © <a href="http://www.openseamap.org">OpenSeaMap</a> contributors'}},OPNVKarte:{url:"https://tileserver.memomaps.de/tilegen/{z}/{x}/{y}.png",options:{maxZoom:18,attribution:'Map <a href="https://memomaps.de/">memomaps.de</a> <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, map data {attribution.OpenStreetMap}'}},OpenTopoMap:{url:"https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png",options:{maxZoom:17,attribution:'Map data: {attribution.OpenStreetMap}, <a href="http://viewfinderpanoramas.org">SRTM</a> | Map style: © <a href="https://opentopomap.org">OpenTopoMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)'}},OpenRailwayMap:{url:"https://{s}.tiles.openrailwaymap.org/standard/{z}/{x}/{y}.png",options:{maxZoom:19,attribution:'Map data: {attribution.OpenStreetMap} | Map style: © <a href="https://www.OpenRailwayMap.org">OpenRailwayMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)'}},OpenFireMap:{url:"http://openfiremap.org/hytiles/{z}/{x}/{y}.png",options:{maxZoom:19,attribution:'Map data: {attribution.OpenStreetMap} | Map style: © <a href="http://www.openfiremap.org">OpenFireMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)'}},SafeCast:{url:"https://s3.amazonaws.com/te512.safecast.org/{z}/{x}/{y}.png",options:{maxZoom:16,attribution:'Map data: {attribution.OpenStreetMap} | Map style: © <a href="https://blog.safecast.org/about/">SafeCast</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)'}},Stadia:{url:"https://tiles.stadiamaps.com/tiles/{variant}/{z}/{x}/{y}{r}.{ext}",options:{minZoom:0,maxZoom:20,attribution:'© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> {attribution.OpenStreetMap}',variant:"alidade_smooth",ext:"png"},variants:{AlidadeSmooth:"alidade_smooth",AlidadeSmoothDark:"alidade_smooth_dark",OSMBright:"osm_bright",Outdoors:"outdoors",StamenToner:{options:{attribution:'© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> {attribution.OpenStreetMap}',variant:"stamen_toner"}},StamenTonerBackground:{options:{attribution:'© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> {attribution.OpenStreetMap}',variant:"stamen_toner_background"}},StamenTonerLines:{options:{attribution:'© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> © <a href="https://openmaptiles.org/" target="_blank">
1OpenMapTiles</a> {attribution.OpenStreetMap}',variant:"stamen_toner_lines"}},StamenTonerLabels:{options:{attribution:'© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> {attribution.OpenStreetMap}',variant:"stamen_toner_labels"}},StamenTonerLite:{options:{attribution:'© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> {attribution.OpenStreetMap}',variant:"stamen_toner_lite"}},StamenWatercolor:{url:"https://tiles.stadiamaps.com/tiles/{variant}/{z}/{x}/{y}.{ext}",options:{attribution:'© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> {attribution.OpenStreetMap}',variant:"stamen_watercolor",ext:"jpg",minZoom:1,maxZoom:16}},StamenTerrain:{options:{attribution:'© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> {attribution.OpenStreetMap}',variant:"stamen_terrain",minZoom:0,maxZoom:18}},StamenTerrainBackground:{options:{attribution:'© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> {attribution.OpenStreetMap}',variant:"stamen_terrain_background",minZoom:0,maxZoom:18}},StamenTerrainLabels:{options:{attribution:'© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> {attribution.OpenStreetMap}',variant:"stamen_terrain_labels",minZoom:0,maxZoom:18}},StamenTerrainLines:{options:{attribution:'© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> {attribution.OpenStreetMap}',variant:"stamen_terrain_lines",minZoom:0,maxZoom:18}}}},Thunderforest:{url:"https://{s}.tile.thunderforest.com/{variant}/{z}/{x}/{y}.png?apikey={apikey}",options:{attribution:'© <a href="http://www.thunderforest.com/">Thunderforest</a>, {attribution.OpenStreetMap}',variant:"cycle",apikey:"<insert your api key here>",maxZoom:22},variants:{OpenCycleMap:"cycle",Transport:{options:{variant:"transport"}},TransportDark:{options:{variant:"transport-dark"}},SpinalMap:{options:{variant:"spinal-map"}},Landscape:"landscape",Outdoors:"outdoors",Pioneer:"pioneer",MobileAtlas:"mobile-atlas",Neighbourhood:"neighbourhood"}},CyclOSM:{url:"https://{s}.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png",options:{maxZoom:20,attribution:'<a href="https://github.com/cyclosm/cyclosm-cartocss-style/releases" title="CyclOSM - Open Bicycle render">CyclOSM</a> | Map data: {attribution.OpenStreetMap}'}},Jawg:{url:"https://{s}.tile.jawg.io/{variant}/{z}/{x}/{y}{r}.png?access-token={accessToken}",options:{attribution:'<a href="http://jawg.io" title="Tiles Courtesy of Jawg Maps" target="_blank">© <b>Jawg</b>Maps</a> {attribution.OpenStreetMap}',minZoom:0,maxZoom:22,subdomains:"abcd",variant:"jawg-terrain",accessToken:"<insert your access token here>"},variants:{Streets:"jawg-streets",Terrain:"jawg-terrain",Sunny:"jawg-sunny",Dark:"jawg-dark",Light:"jawg-light",Matrix:"jawg-matrix"}},MapBox:{url:"https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}{r}?access_token={accessToken}",options:{attribution:'© <a href="https://www.mapbox.com/about/maps/" target="_blank">Mapbox</a> {attribution.OpenStreetMap} <a href="https://www.mapbox.com/map-feedback/" target="_blank">Improve this map</a>',tileSize:512,maxZoom:18,zoomOffset:-1,id:"mapbox/streets-v11",accessToken:"<insert your access token here>"}},MapTiler:{url:"https://api.maptiler.com/maps/{variant}/{z}/{x}/{y}{r}.{ext}?key={key}",options:{attribution:'<a href="https://www.maptiler.com/copyright/" target="_blank">© MapTiler</a> <a href="https://www.openstreetmap.org/copyright" target="_blank">© OpenStreetMap contributors</a>',variant:"streets",ext:"png",key:"<insert your MapTiler Cloud API key here>",tileSize:512,zoomOffset:-1,minZoom:0,maxZoom:21},variants:{Streets:"streets",Basic:"basic",Bright:"bright",Pastel:"pastel",Positron:"positron",Hybrid:{options:{variant:"hybrid",ext:"jpg"}},Toner:"toner",Topo:"topo",Voyager:"voyager"}},TomTom:{url:"https://{s}.api.tomtom.com/map/1/tile/{variant}/{style}/{z}/{x}/{y}.{ext}?key={apikey}",options:{variant:"basic",maxZoom:22,attribution:'<a href="https://tomtom.com" target="_blank">©
1 1992 - '+new Date().getFullYear()+" TomTom.</a> ",subdomains:"abcd",style:"main",ext:"png",apikey:"<insert your API key here>"},variants:{Basic:"basic",Hybrid:"hybrid",Labels:"labels"}},Esri:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/{variant}/MapServer/tile/{z}/{y}/{x}",options:{variant:"World_Street_Map",attribution:"Tiles © Esri"},variants:{WorldStreetMap:{options:{attribution:"{attribution.Esri} — Source: Esri, DeLorme, NAVTEQ, USGS, Intermap, iPC, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), TomTom, 2012"}},DeLorme:{options:{variant:"Specialty/DeLorme_World_Base_Map",minZoom:1,maxZoom:11,attribution:"{attribution.Esri} — Copyright: ©2012 DeLorme"}},WorldTopoMap:{options:{variant:"World_Topo_Map",attribution:"{attribution.Esri} — Esri, DeLorme, NAVTEQ, TomTom, Intermap, iPC, USGS, FAO, NPS, NRCAN, GeoBase, Kadaster NL, Ordnance Survey, Esri Japan, METI, Esri China (Hong Kong), and the GIS User Community"}},WorldImagery:{options:{variant:"World_Imagery",attribution:"{attribution.Esri} — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community"}},WorldTerrain:{options:{variant:"World_Terrain_Base",maxZoom:13,attribution:"{attribution.Esri} — Source: USGS, Esri, TANA, DeLorme, and NPS"}},WorldShadedRelief:{options:{variant:"World_Shaded_Relief",maxZoom:13,attribution:"{attribution.Esri} — Source: Esri"}},WorldPhysical:{options:{variant:"World_Physical_Map",maxZoom:8,attribution:"{attribution.Esri} — Source: US National Park Service"}},OceanBasemap:{options:{variant:"Ocean/World_Ocean_Base",maxZoom:13,attribution:"{attribution.Esri} — Sources: GEBCO, NOAA, CHS, OSU, UNH, CSUMB, National Geographic, DeLorme, NAVTEQ, and Esri"}},NatGeoWorldMap:{options:{variant:"NatGeo_World_Map",maxZoom:16,attribution:"{attribution.Esri} — National Geographic, Esri, DeLorme, NAVTEQ, UNEP-WCMC, USGS, NASA, ESA, METI, NRCAN, GEBCO, NOAA, iPC"}},WorldGrayCanvas:{options:{variant:"Canvas/World_Light_Gray_Base",maxZoom:16,attribution:"{attribution.Esri} — Esri, DeLorme, NAVTEQ"}}}},OpenWeatherMap:{url:"http://{s}.tile.openweathermap.org/map/{variant}/{z}/{x}/{y}.png?appid={apiKey}",options:{maxZoom:19,attribution:'Map data © <a href="http://openweathermap.org">OpenWeatherMap</a>',apiKey:"<insert your api key here>",opacity:.5},variants:{Clouds:"clouds",CloudsClassic:"clouds_cls",Precipitation:"precipitation",PrecipitationClassic:"precipitation_cls",Rain:"rain",RainClassic:"rain_cls",Pressure:"pressure",PressureContour:"pressure_cntr",Wind:"wind",Temperature:"temp",Snow:"snow"}},HERE:{url:"https://{s}.{base}.maps.api.here.com/maptile/2.1/{type}/{mapID}/{variant}/{z}/{x}/{y}/{size}/{format}?app_id={app_id}&app_code={app_code}&lg={language}",options:{attribution:"Map © 1987-"+new Date().getFullYear()+' <a href="http://developer.here.com">HERE</a>',subdomains:"1234",mapID:"newest",app_id:"<insert your app_id here>",app_code:"<insert your app_code here>",base:"base",variant:"normal.day",maxZoom:20,type:"maptile",language:"eng",format:"png8",size:"256"},variants:{normalDay:"normal.day",normalDayCustom:"normal.day.custom",normalDayGrey:"normal.day.grey",normalDayMobile:"normal.day.mobile",normalDayGreyMobile:"normal.day.grey.mobile",normalDayTransit:"normal.day.transit",normalDayTransitMobile:"normal.day.transit.mobile",normalDayTraffic:{options:{variant:"normal.traffic.day",base:"traffic",type:"traffictile"}},normalNight:"normal.night",normalNightMobile:"normal.night.mobile",normalNightGrey:"normal.night.grey",normalNightGreyMobile:"normal.night.grey.mobile",normalNightTransit:"normal.night.transit",normalNightTransitMobile:"normal.night.transit.mobile",reducedDay:"reduced.day",reducedNight:"reduced.night",basicMap:{options:{type:"basetile"}},mapLabels:{options:{type:"labeltile",format:"png"}},trafficFlow:{options:{base:"traffic",type:"flowtile"}},carnavDayGrey:"carnav.day.grey",hybridDay:{options:{base:"aerial",variant:"hybrid.day"}},hybridDayMobile:{options:{base:"aerial",variant:"hybrid.day.mobile"}},hybridDayTransit:{options:{base:"aerial",variant:"hybrid.day.transit"}},hybridDayGrey:{options:{base:"aerial",variant:"hybrid.grey.day"}},hybridDayTraffic:{options:{variant:"hybrid.traffic.day",base:"traffic",type:"traffictile"}},pedestrianDay:"pedestrian.day",pedestrianNight:"pedestrian.night",satelliteDay:{options:{base:"aerial",variant:"satellite.day"}},terrainDay:{options:{base:"aerial",variant:"terrain.day"}},terrainDayMobile:{options:{base:"aerial",variant:"terrain.day.mobile"}}}},HEREv3:{url:"https://{s}.{base}
1.maps.ls.hereapi.com/maptile/2.1/{type}/{mapID}/{variant}/{z}/{x}/{y}/{size}/{format}?apiKey={apiKey}&lg={language}",options:{attribution:"Map © 1987-"+new Date().getFullYear()+' <a href="http://developer.here.com">HERE</a>',subdomains:"1234",mapID:"newest",apiKey:"<insert your apiKey here>",base:"base",variant:"normal.day",maxZoom:20,type:"maptile",language:"eng",format:"png8",size:"256"},variants:{normalDay:"normal.day",normalDayCustom:"normal.day.custom",normalDayGrey:"normal.day.grey",normalDayMobile:"normal.day.mobile",normalDayGreyMobile:"normal.day.grey.mobile",normalDayTransit:"normal.day.transit",normalDayTransitMobile:"normal.day.transit.mobile",normalNight:"normal.night",normalNightMobile:"normal.night.mobile",normalNightGrey:"normal.night.grey",normalNightGreyMobile:"normal.night.grey.mobile",normalNightTransit:"normal.night.transit",normalNightTransitMobile:"normal.night.transit.mobile",reducedDay:"reduced.day",reducedNight:"reduced.night",basicMap:{options:{type:"basetile"}},mapLabels:{options:{type:"labeltile",format:"png"}},trafficFlow:{options:{base:"traffic",type:"flowtile"}},carnavDayGrey:"carnav.day.grey",hybridDay:{options:{base:"aerial",variant:"hybrid.day"}},hybridDayMobile:{options:{base:"aerial",variant:"hybrid.day.mobile"}},hybridDayTransit:{options:{base:"aerial",variant:"hybrid.day.transit"}},hybridDayGrey:{options:{base:"aerial",variant:"hybrid.grey.day"}},pedestrianDay:"pedestrian.day",pedestrianNight:"pedestrian.night",satelliteDay:{options:{base:"aerial",variant:"satellite.day"}},terrainDay:{options:{base:"aerial",variant:"terrain.day"}},terrainDayMobile:{options:{base:"aerial",variant:"terrain.day.mobile"}}}},FreeMapSK:{url:"https://{s}.freemap.sk/T/{z}/{x}/{y}.jpeg",options:{minZoom:8,maxZoom:16,subdomains:"abcd",bounds:[[47.204642,15.996093],[49.830896,22.576904]],attribution:'{attribution.OpenStreetMap}, visualization CC-By-SA 2.0 <a href="http://freemap.sk">Freemap.sk</a>'}},MtbMap:{url:"http://tile.mtbmap.cz/mtbmap_tiles/{z}/{x}/{y}.png",options:{attribution:"{attribution.OpenStreetMap} & USGS"}},CartoDB:{url:"https://{s}.basemaps.cartocdn.com/{variant}/{z}/{x}/{y}{r}.png",options:{attribution:'{attribution.OpenStreetMap} © <a href="https://carto.com/attributions">CARTO</a>',subdomains:"abcd",maxZoom:20,variant:"light_all"},variants:{Positron:"light_all",PositronNoLabels:"light_nolabels",PositronOnlyLabels:"light_only_labels",DarkMatter:"dark_all",DarkMatterNoLabels:"dark_nolabels",DarkMatterOnlyLabels:"dark_only_labels",Voyager:"rastertiles/voyager",VoyagerNoLabels:"rastertiles/voyager_nolabels",VoyagerOnlyLabels:"rastertiles/voyager_only_labels",VoyagerLabelsUnder:"rastertiles/voyager_labels_under"}},HikeBike:{url:"https://tiles.wmflabs.org/{variant}/{z}/{x}/{y}.png",options:{maxZoom:19,attribution:"{attribution.OpenStreetMap}",variant:"hikebike"},variants:{HikeBike:{},HillShading:{options:{maxZoom:15,variant:"hillshading"}}}},BasemapAT:{url:"https://mapsneu.wien.gv.at/basemap/{variant}/{type}/google3857/{z}/{y}/{x}.{format}",options:{maxZoom:19,attribution:'Datenquelle: <a href="https://www.basemap.at">basemap.at</a>',type:"normal",format:"png",bounds:[[46.35877,8.782379],[49.037872,17.189532]],variant:"geolandbasemap"},variants:{basemap:{options:{maxZoom:20,variant:"geolandbasemap"}},grau:"bmapgrau",overlay:"bmapoverlay",terrain:{options:{variant:"bmapgelaende",type:"grau",format:"jpeg"}},surface:{options:{variant:"bmapoberflaeche",type:"grau",format:"jpeg"}},highdpi:{options:{variant:"bmaphidpi",format:"jpeg"}},orthofoto:{options:{maxZoom:20,variant:"bmaporthofoto30cm",format:"jpeg"}}}},nlmaps:{url:"https://service.pdok.nl/brt/achtergrondkaart/wmts/v2_0/{variant}/EPSG:3857/{z}/{x}/{y}.png",options:{minZoom:6,maxZoom:19,bounds:[[50.5,3.25],[54,7.6]],attribution:'Kaartgegevens © <a href="https://www.kadaster.nl">Kadaster</a>'},variants:{standaard:"standaard",pastel:"pastel",grijs:"grijs",water:"water",luchtfoto:{url:"https://service.pdok.nl/hwh/luchtfotorgb/wmts/v1_0/Actueel_ortho25/EPSG:3857/{z}/{x}/{y}.jpeg"}}},NASAGIBS:{url:"https://map1.vis.earthdata.nasa.gov/wmts-webmerc/{variant}/default/{time}/{tilematrixset}{maxZoom}/{z}/{y}/{x}.{format}",options:{attribution:'Imagery provided by services from the Global Imagery Browse Services (GIBS), operated by the NASA/GSFC/Earth Science Data and Information System (<a href="https://earthdata.nasa.gov">ESDIS</a>) with funding provided by NASA/HQ.',bounds:[[-85.0511287776,-179.999999975],[85.0511287776,179.999999975]],minZoom:1,maxZoom:9,format:"jpg",time:"",tilematrixset:"GoogleMapsCompatible_Level"},variants:{ModisTerraTrueColorCR:"MODIS_Terra_CorrectedReflectance_True
1Color",ModisTerraBands367CR:"MODIS_Terra_CorrectedReflectance_Bands367",ViirsEarthAtNight2012:{options:{variant:"VIIRS_CityLights_2012",maxZoom:8}},ModisTerraLSTDay:{options:{variant:"MODIS_Terra_Land_Surface_Temp_Day",format:"png",maxZoom:7,opacity:.75}},ModisTerraSnowCover:{options:{variant:"MODIS_Terra_NDSI_Snow_Cover",format:"png",maxZoom:8,opacity:.75}},ModisTerraAOD:{options:{variant:"MODIS_Terra_Aerosol",format:"png",maxZoom:6,opacity:.75}},ModisTerraChlorophyll:{options:{variant:"MODIS_Terra_Chlorophyll_A",format:"png",maxZoom:7,opacity:.75}}}},NLS:{url:"https://nls-{s}.tileserver.com/nls/{z}/{x}/{y}.jpg",options:{attribution:'<a href="http://geo.nls.uk/maps/">National Library of Scotland Historic Maps</a>',bounds:[[49.6,-12],[61.7,3]],minZoom:1,maxZoom:18,subdomains:"0123"}},JusticeMap:{url:"https://www.justicemap.org/tile/{size}/{variant}/{z}/{x}/{y}.png",options:{attribution:'<a href="http://www.justicemap.org/terms.php">Justice Map</a>',size:"county",bounds:[[14,-180],[72,-56]]},variants:{income:"income",americanIndian:"indian",asian:"asian",black:"black",hispanic:"hispanic",multi:"multi",nonWhite:"nonwhite",white:"white",plurality:"plural"}},GeoportailFrance:{url:"https://wxs.ign.fr/{apikey}
1/geoportail/wmts?REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&STYLE={style}&TILEMATRIXSET=PM&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",options:{attribution:'<a target="_blank" href="https://www.geoportail.gouv.fr/">Geoportail France</a>',bounds:[[-75,-180],[81,180]],minZoom:2,maxZoom:18,apikey:"choisirgeoportail",format:"image/png",style:"normal",variant:"GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2"},variants:{plan:"GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2",parcels:{options:{variant:"CADASTRALPARCELS.PARCELLAIRE_EXPRESS",style:"PCI vecteur",maxZoom:20}},orthos:{options:{maxZoom:19,format:"image/jpeg",variant:"ORTHOIMAGERY.ORTHOPHOTOS"}}}},OneMapSG:{url:"https://maps-{s}.onemap.sg/v3/{variant}/{z}/{x}/{y}.png",options:{variant:"Default",minZoom:11,maxZoom:18,bounds:[[1.56073,104.11475],[1.16,103.502]],attribution:'<img src="https://docs.onemap.sg/maps/images/oneMap64-01.png" style="height:20px;width:20px;"/> New OneMap | Map data © contributors, <a href="http://SLA.gov.sg">Singapore Land Authority</a>'},variants:{Default:"Default",Night:"Night",Original:"Original",Grey:"Grey",LandLot:"LandLot"}},USGS:{url:"https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/M
1apServer/tile/{z}/{y}/{x}",options:{maxZoom:20,attribution:'Tiles courtesy of the <a href="https://usgs.gov/">U.S. Geological Survey</a>'},variants:{USTopo:{},USImagery:{url:"https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer/tile/{z}/{y}/{x}"},USImageryTopo:{url:"https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryTopo/MapServer/tile/{z}/{y}/{x}"}}},WaymarkedTrails:{url:"https://tile.waymarkedtrails.org/{variant}/{z}/{x}/{y}.png",options:{maxZoom:18,attribution:'Map data: {attribution.OpenStreetMap} | Map style: © <a href="https://waymarkedtrails.org">waymarkedtrails.org</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)'},variants:{hiking:"hiking",cycling:"cycling",mtb:"mtb",slopes:"slopes",riding:"riding",skating:"skating"}},OpenAIP:{url:"https://{s}.tile.maps.openaip.net/geowebcache/service/tms/1.0.0/openaip_basemap@EPSG%3A900913@png/{z}/{x}/{y}.{ext}",options:{attribution:'<a href="https://www.openaip.net/">openAIP Data</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-NC-SA</a>)',ext:"png",minZoom:4,maxZoom:14,tms:!0,detectRetina:!0,subdomains:"12"}},OpenSnowMap:{url:"https://tiles.opensnowmap.org/{variant}/{z}/{x}/{y}.png",options:{minZoom:9,maxZoom:18,attribution:'Map data: {attribution.OpenStreetMap} & ODbL, © <a href="https://www.opensnowmap.org/iframes/data.html">www.opensnowmap.org</a> <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>'},variants:{pistes:"pistes"}},AzureMaps:{url:"https://atlas.microsoft.com/map/tile?api-version={apiVersion}&tilesetId={variant}&x={x}&y={y}&zoom={z}&language={language}&subscription-key={subscriptionKey}",options:{attribution:"See https://docs.microsoft.com/en-us/rest/api/maps/render-v2/get-map-tile for details.",apiVersion:"2.0",variant:"microsoft.imagery",subscriptionKey:"<insert your subscription key here>",language:"en-US"},variants:{MicrosoftImagery:"microsoft.imagery",MicrosoftBaseDarkGrey:"microsoft.base.darkgrey",MicrosoftBaseRoad:"microsoft.base.road",MicrosoftBaseHybridRoad:"microsoft.base.hybrid.road",MicrosoftTerraMain:"microsoft.terra.main",MicrosoftWeatherInfraredMain:{url:"https://atlas.microsoft.com/map/tile?api-version={apiVersion}&tilesetId={variant}&x={x}&y={y}&zoom={z}&timeStamp={timeStamp}&language={language}&subscription-key={subscriptionKey}",options:{timeStamp:"2021-05-08T09:03:00Z",attribution:"See https://docs.microsoft.com/en-us/rest/api/maps/render-v2/get-map-tile#uri-parameters for details.",variant:"microsoft.weather.infrared.main"}},MicrosoftWeatherRadarMain:{url:"https://atlas.microsoft.com/map/tile?api-version={apiVersion}&tilesetId={variant}&x={x}&y={y}&zoom={z}&timeStamp={timeStamp}&language={language}&subscription-key={subscriptionKey}",options:{timeStamp:"2021-05-08T09:03:00Z",attribution:"See https://docs.microsoft.com/en-us/rest/api/maps/render-v2/get-map-tile#uri-parameters for details.",variant:"microsoft.weather.radar.main"}}}},SwissFederalGeoportal:{url:"https://wmts.geo.admin.ch/1.0.0/{variant}/default/current/3857/{z}/{x}/{y}.jpeg",options:{attribution:'© <a href="https://www.swisstopo.admin.ch/">swisstopo</a>',minZoom:2,maxZoom:18,bounds:[[45.398181,5.140242],[48.230651,11.47757]]},variants:{NationalMapColor:"ch.swisstopo.pixelkarte-farbe",NationalMapGrey:"ch.swisstopo.pixelkarte-grau",SWISSIMAGE:{options:{variant:"ch.swisstopo.swissimage",maxZoom:19}}}}},t.tileLayer.provider=function(e,i){return new t.TileLayer.Provider(e,i)},t},"function"==typeof define&&define.amd?define(["leaflet"],r):"object"==typeof modules&&m?m=r(c("cp68B")):r(L);var g=(c("iUSsr"),c("iUSsr")),v={};function _(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===Object}function y(t,e){void 0===t&&(t={}),void 0===e&&(e={}),Object.keys(e).forEach(i=>{void 0===t[i]?t[i]=e[i]:_(e[i])&&_(t[i])&&Object.keys(e[i]).length>0&&y(t[i],e[i])})}l=function(t){var e=t.scrollTo=function(e,i,n){return t(window).scrollTo(e,i,n)};function i(e){return!e.nodeName||-1!==t.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"])}function n(t){return"function"==typeof t}function o(e){return n(e)||t.isPlainObject(e)?e:{top:e,left:e}}return e.defaults={axis:"xy",duration:0,limit:!0},t.fn.scrollTo=function(s,r,l){"object"==typeof r&&(l=r,r=0),"function"==typeof l&&(l={onAfter:l}),"max"===s&&(s=9e9),l=t.extend({},e.defaults,l),r=r||l.duration;var d=l.queue&&l.axis.length>1;return d&&(r/=2),l.offset=o(l.offset),l.over=o(l.over),this.each(function(){if(null!==s){var h,u=i(this),c=u?this.contentWindow||window:this,p=t(c),f=s,m={};switch(typeof f){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(f)){f=o(f);break}f=u?t(f):t(f,c);case"object":if(0===f.length)return;(f.is||f.style)&&(h=(f=t(f)).offset())}var g=n(l.offset)&&l.offset(c,f)||l.offset;
1t.each(l.axis.split(""),function(t,i){var n="x"===i?"Left":"Top",o=n.toLowerCase(),s="scroll"+n,r=p[s](),_=e.max(c,i);if(h)m[s]=h[o]+(u?0:r-p.offset()[o]),l.margin&&(m[s]-=parseInt(f.css("margin"+n),10)||0,m[s]-=parseInt(f.css("border"+n+"Width"),10)||0),m[s]+=g[o]||0,l.over[o]&&(m[s]+=f["x"===i?"width":"height"]()*l.over[o]);else{var y=f[o];m[s]=y.slice&&"%"===y.slice(-1)?parseFloat(y)/100*_:y}l.limit&&/^\d+$/.test(m[s])&&(m[s]=m[s]<=0?0:Math.min(m[s],_)),!t&&l.axis.length>1&&(r===m[s]?m={}:d&&(v(l.onAfterFirst),m={}))}),v(l.onAfter)}function v(e){var i=t.extend({},l,{queue:!0,duration:r,complete:e&&function(){e.call(c,f,l)}});p.animate(m,i)}})},e.max=function(e,n){var o="x"===n?"Width":"Height",s="scroll"+o;if(!i(e))return e[s]-t(e)[o.toLowerCase()]();var r="client"+o,l=e.ownerDocument||e.document,d=l.documentElement,h=l.body;return Math.max(d[s],h[s])-Math.min(d[r],h[r])},t.Tween.propHooks.scrollLeft=t.Tween.propHooks.scrollTop={get:function(e){return t(e.elem)[e.prop]()},set:function(e){var i=this.get(e);if(e.options.interrupt&&e._last&&e._last!==i)return t(e.elem).stop();var n=Math.round(e.now);i!==n&&(t(e.elem)[e.prop](n),e._last=this.get(e))}},e},"function"==typeof define&&define.amd?define(["jquery"],l):v?v=l(c("iUSsr")):l(jQuery);let w={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function b(){let t="undefined"!=typeof document?document:{};return y(t,w),t}let x={document:w,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:t=>"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0),cancelAnimationFrame(t){"undefined"!=typeof setTimeout&&clearTimeout(t)}};function T(){let t="undefined"!=typeof window?window:{};return y(t,x),t}function S(t,e){return void 0===e&&(e=0),setTimeout(t,e)}function C(){return Date.now()}function P(t){return"object"==typeof t&&null!==t&&t.constructor&&"Object"===Object.prototype.toString.call(t).slice(8,-1)}function E(){let t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){let n=i<0||arguments.length<=i?void 0:arguments[i];if(null!=n&&("undefined"!=typeof window&&void 0!==window.HTMLElement?!(n instanceof HTMLElement):!n||1!==n.nodeType&&11!==n.nodeType)){let i=Object.keys(Object(n)).filter(t=>0>e.indexOf(t));for(let e=0,o=i.length;e<o;e+=1){let o=i[e],s=Object.getOwnPropertyDescriptor(n,o);void 0!==s&&s.enumerable&&(P(t[o])&&P(n[o])?n[o].__swiper__?t[o]=n[o]:E(t[o],n[o]):!P(t[o])&&P(n[o])?(t[o]={},n[o].__swiper__?t[o]=n[o]:E(t[o],n[o])):t[o]=n[o])}}}return t}function M(t,e,i){t.style.setProperty(e,i)}function A(t){let e,{swiper:i,targetPosition:n,side:o}=t,s=T(),r=-i.translate,l=null,d=i.params.speed;i.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(i.cssModeFrameID);let h=n>r?"next":"prev",u=(t,e)=>"next"===h&&t>=e||"prev"===h&&t<=e,c=()=>{e=new Date().getTime(),null===l&&(l=e);let t=r+(.5-Math.cos(Math.max(Math.min((e-l)/d,1),0)*Math.PI)/2)*(n-r);if(u(t,n)&&(t=n),i.wrapperEl.scrollTo({[o]:t}),u(t,n)){i.wrapperEl.style.overflow="hidden",i.wrapperEl.style.scrollSnapType="",setTimeout(()=>{i.wrapperEl.style.overflow="",i.wrapperEl.scrollTo({[o]:t})}),s.cancelAnimationFrame(i.cssModeFrameID);return}i.cssModeFrameID=s.requestAnimationFrame(c)};c()}function k(t,e){return void 0===e&&(e=""),[...t.children].filter(t=>t.matches(e))}function z(t){try{console.warn(t);return}catch(t){}}function O(t,e){var i;void 0===e&&(e=[]);let n=document.createElement(t);return n.classList.add(...Array.isArray(e)?e:(void 0===(i=e)&&(i=""),i.trim().split(" ").filter(t=>!!t.trim()))),n}function I(t,e){return T().getComputedStyle(t,null).getPropertyValue(e)}function j(t){let e,i=t;if(i){for(e=0;
1null!==(i=i.previousSibling);)1===i.nodeType&&(e+=1);return e}}function N(t,e){let i=[],n=t.parentElement;for(;n;)e?n.matches(e)&&i.push(n):i.push(n),n=n.parentElement;return i}function D(t,e,i){let n=T();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 B(t){return(Array.isArray(t)?t:[t]).filter(t=>!!t)}function Z(){return t||(t=function(){let t=T(),e=b();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}()),t}function R(t){return void 0===t&&(t={}),e||(e=function(t){let{userAgent:e}=void 0===t?{}:t,i=Z(),n=T(),o=n.navigator.platform,s=e||n.navigator.userAgent,r={ios:!1,android:!1},l=n.screen.width,d=n.screen.height,h=s.match(/(Android);?[\s\/]+([\d.]+)?/),u=s.match(/(iPad).*OS\s([\d_]+)/),c=s.match(/(iPod)(.*OS\s([\d_]+))?/),p=!u&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="MacIntel"===o;return!u&&f&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${d}`)>=0&&((u=s.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),f=!1),h&&"Win32"!==o&&(r.os="android",r.android=!0),(u||p||c)&&(r.os="ios",r.ios=!0),r}(t)),e}let H=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)},F=(t,e)=>{if(!t||t.destroyed||!t.params)return;let 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.remove()})),e&&e.remove()}},W=(t,e)=>{if(!t.slides[e])return;let i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},q=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext,i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);let n="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){let i=[o-e];i.push(...Array.from({length:e}).map((t,e)=>o+n+e)),t.slides.forEach((e,n)=>{i.includes(e.column)&&W(t,n)});return}let s=o+n-1;if(t.params.rewind||t.params.loop)for(let n=o-e;n<=s+e;n+=1){let e=(n%i+i)%i;(e<o||e>s)&&W(t,e)}else for(let n=Math.max(o-e,0);n<=Math.min(s+e,i-1);n+=1)n!==o&&(n>s||n<o)&&W(t,n)};function G(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t,{activeIndex:s,previousIndex:r}=e,l=n;if(l||(l=s>r?"next":s<r?"prev":"reset"),e.emit(`transition${o}`),i&&s!==r){if("reset"===l){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),"next"===l?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function V(t,e,i){let n=T(),{params:o}=t,s=o.edgeSwipeDetection,r=o.edgeSwipeThreshold;return!s||!(i<=r)&&!(i>=n.innerWidth-r)||"prevent"===s&&(e.preventDefault(),!0)}function U(t){let e=b(),i=t;i.originalEvent&&(i=i.originalEvent);let n=this.touchEventsData;if("pointerdown"===i.type){if(null!==n.pointerId&&n.pointerId!==i.pointerId)return;n.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(n.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type){V(this,i,i.targetTouches[0].pageX);return}let{params:o,touches:s,enabled:r}=this;if(!r||!o.simulateTouch&&"mouse"===i.pointerType||this.animating&&o.preventInteractionOnTransition)return;!this.animating&&o.cssMode&&o.loop&&this.loopFix();let l=i.target;if("wrapper"===o.touchEventsTarget&&!this.wrapperEl.contains(l)||"which"in i&&3===i.which||"button"in i&&i.button>0||n.isTouched&&n.isMoved)return;let d=!!o.noSwipingClass&&""!==o.noSwipingClass,h=i.composedPath?i.composedPath():i.path;d&&i.target&&i.target.shadowRoot&&h&&(l=h[0]);let u=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,c=!!(i.target&&i.target.shadowRoot);if(o.noSwiping&&(c?function(t,e){return void 0===e&&(e=this),function e(i){if(!i||i===b()||i===T())return null;i.assignedSlot&&(i=i.assignedSlot);let n=i.closest(t);return n||i.getRootNode?n||e(i.getRootNode().host):null}(e)}(u,l):l.closest(u))){this.allowClick=!0;return}if(o.swipeHandler&&!l.closest(o.swipeHandler))return;s.currentX=i.pageX,s.currentY=i.pageY;let p=s.currentX,f=s.currentY;if(!V(this,i,p))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=p,s.startY=f,n.touchStartTime=C(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,o.threshold>0&&(n.allowThresholdMove=!1);let m=!0;l.matches(n.focusableElements)&&(m=!1,"SELECT"===l.nodeName&&(n.isTouched=!1)),e.activeElement&&e.activeElement.matches(n.focusableElements)&&e.activeElement!==l&&e.activeElement.blur();let g=m&&this.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||g)&&!l.isContentEditable&&i.preventDefault(),o.freeMode&&o.freeMode.enabled&&this.freeMode&&this.animating&&!o.cssMode&&this.freeMode.onTouchStart(),this.emit
1("touchStart",i)}function $(t){let e,i;let n=b(),o=this.touchEventsData,{params:s,touches:r,rtlTranslate:l,enabled:d}=this;if(!d||!s.simulateTouch&&"mouse"===t.pointerType)return;let h=t;if(h.originalEvent&&(h=h.originalEvent),"pointermove"===h.type&&(null!==o.touchId||h.pointerId!==o.pointerId))return;if("touchmove"===h.type){if(!(e=[...h.changedTouches].filter(t=>t.identifier===o.touchId)[0])||e.identifier!==o.touchId)return}else e=h;if(!o.isTouched){o.startMoving&&o.isScrolling&&this.emit("touchMoveOpposite",h);return}let u=e.pageX,c=e.pageY;if(h.preventedByNestedSwiper){r.startX=u,r.startY=c;return}if(!this.allowTouchMove){h.target.matches(o.focusableElements)||(this.allowClick=!1),o.isTouched&&(Object.assign(r,{startX:u,startY:c,currentX:u,currentY:c}),o.touchStartTime=C());return}if(s.touchReleaseOnEdges&&!s.loop){if(this.isVertical()){if(c<r.startY&&this.translate<=this.maxTranslate()||c>r.startY&&this.translate>=this.minTranslate()){o.isTouched=!1,o.isMoved=!1;return}}else if(u<r.startX&&this.translate<=this.maxTranslate()||u>r.startX&&this.translate>=this.minTranslate())return}if(n.activeElement&&h.target===n.activeElement&&h.target.matches(o.focusableElements)){o.isMoved=!0,this.allowClick=!1;return}o.allowTouchCallbacks&&this.emit("touchMove",h),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=u,r.currentY=c;let p=r.currentX-r.startX,f=r.currentY-r.startY;if(this.params.threshold&&Math.sqrt(p**2+f**2)<this.params.threshold)return;if(void 0===o.isScrolling){let t;this.isHorizontal()&&r.currentY===r.startY||this.isVertical()&&r.currentX===r.startX?o.isScrolling=!1:p*p+f*f>=25&&(t=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,o.isScrolling=this.isHorizontal()?t>s.touchAngle:90-t>s.touchAngle)}if(o.isScrolling&&this.emit("touchMoveOpposite",h),void 0===o.startMoving&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(o.startMoving=!0),o.isScrolling||"touchmove"===h.type&&o.preventTouchMoveFromPointerMove){o.isTouched=!1;return}if(!o.startMoving)return;this.allowClick=!1,!s.cssMode&&h.cancelable&&h.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&h.stopPropagation();let m=this.isHorizontal()?p:f,g=this.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;s.oneWayMovement&&(m=Math.abs(m)*(l?1:-1),g=Math.abs(g)*(l?1:-1)),r.diff=m,m*=s.touchRatio,l&&(m=-m,g=-g);let v=this.touchesDirection;this.swipeDirection=m>0?"prev":"next",this.touchesDirection=g>0?"prev":"next";let _=this.params.loop&&!s.cssMode,y="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!o.isMoved){if(_&&y&&this.loopFix({direction:this.swipeDirection}),o.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});this.wrapperEl.dispatchEvent(t)}o.allowMomentumBounce=!1,s.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",h)}if(new Date().getTime(),o.isMoved&&o.allowThresholdMove&&v!==this.touchesDirection&&_&&y&&Math.abs(m)>=1){Object.assign(r,{startX:u,startY:c,currentX:u,currentY:c,startTranslate:o.currentTranslate}),o.loopSwapReset=!0,o.startTranslate=o.currentTranslate;return}this.emit("sliderMove",h),o.isMoved=!0,o.currentTranslate=m+o.startTranslate;let w=!0,x=s.resistanceRatio;if(s.touchReleaseOnEdges&&(x=0),m>0?(_&&y&&!i&&o.allowThresholdMove&&o.currentTranslate>(s.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),o.currentTranslate>this.minTranslate()&&(w=!1,s.resistance&&(o.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+o.startTranslate+m)**x))):m<0&&(_&&y&&!i&&o.allowThresholdMove&&o.currentTranslate<(s.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]:this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===s.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),o.currentTranslate<this.maxTranslate()&&(w=!1,s.resistance&&(o.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-o.startTranslate-m)**x))),w&&(h.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&o.currentTranslate<o.startTranslate&&(o.currentTranslate=o.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&o.currentTranslate>o.startTranslate&&(o.currentTranslate=o.startTranslate),this.allowSlidePrev||this.allowSlideNext||(o.currentTranslate=o.startTranslate),s.threshold>0){if(Math.abs(m)>s.threshold||o.allowThresholdMove){if(!o.allowThresholdMove){o.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,o.currentTranslate=o.startTranslate,r.diff=this.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{o.currentTranslate=o.startTranslate;return}}s.followFinger&&!s.cssMode&&((s.freeMode&&s.freeMode.enabled&&this.freeMode||s.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(o.currentTranslate),this.setTranslate(o.currentTranslate))}function X(t){let e,i;let n=this,o=n.touchEventsData,s=t;if(s.originalEvent&&(s=s.originalEvent),"touchend"===s.type||"touchcancel"===s.type){if(!(e=[...s.changedTouches].filter(t=>t.identifier===o.touchId)[0])||e.identifier!==o.touchId)return}else{if(null!==o.touchId||s.pointerId!==o.pointerId)return;e=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(n.browser.isSafari||n.browser.isWebView)))return;o.pointerId=null,o.touchId=null;let{params:r,touches:l,rtlTranslate:d,slidesGrid:h,enabled:u}=n;if(!u||!r.simulateTouch&&"mouse"===s.pointerType)return;if(o.allowTouchCallbacks&&n.emit("touchEnd",s),o.allowTouchCallbacks=!1,!o.isTouched){o.isMoved&&r.grabCursor&&n.setGrabCursor(!1),o.isMoved=!1,o.startMoving=!1;return}r.grabCursor&&o.isMoved&&o.isTouched&&(!0===n.allowSlideNext||!0===n.allowSlidePrev)&&n.setGrabCursor(!1);let c=C(),p=c-o.touchStartTime;if(n.allowClick){let t=s.path||s.composedPath&&s.composedPath();n.updateClickedSlide(t&&t[0]||s.target,t),n.emit("tap click",s),p<300&&c-o.lastClickTime<300&&n.emit("doubleTap doubleClick",
1s)}if(o.lastClickTime=C(),S(()=>{n.destroyed||(n.allowClick=!0)}),!o.isTouched||!o.isMoved||!n.swipeDirection||0===l.diff&&!o.loopSwapReset||o.currentTranslate===o.startTranslate&&!o.loopSwapReset){o.isTouched=!1,o.isMoved=!1,o.startMoving=!1;return}if(o.isTouched=!1,o.isMoved=!1,o.startMoving=!1,i=r.followFinger?d?n.translate:-n.translate:-o.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){n.freeMode.onTouchEnd({currentPos:i});return}let f=i>=-n.maxTranslate()&&!n.params.loop,m=0,g=n.slidesSizesGrid[0];for(let t=0;t<h.length;t+=t<r.slidesPerGroupSkip?1:r.slidesPerGroup){let e=t<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==h[t+e]?(f||i>=h[t]&&i<h[t+e])&&(m=t,g=h[t+e]-h[t]):(f||i>=h[t])&&(m=t,g=h[h.length-1]-h[h.length-2])}let v=null,_=null;r.rewind&&(n.isBeginning?_=r.virtual&&r.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1:n.isEnd&&(v=0));let y=(i-h[m])/g,w=m<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(p>r.longSwipesMs){if(!r.longSwipes){n.slideTo(n.activeIndex);return}"next"===n.swipeDirection&&(y>=r.longSwipesRatio?n.slideTo(r.rewind&&n.isEnd?v:m+w):n.slideTo(m)),"prev"===n.swipeDirection&&(y>1-r.longSwipesRatio?n.slideTo(m+w):null!==_&&y<0&&Math.abs(y)>r.longSwipesRatio?n.slideTo(_):n.slideTo(m))}else{if(!r.shortSwipes){n.slideTo(n.activeIndex);return}n.navigation&&(s.target===n.navigation.nextEl||s.target===n.navigation.prevEl)?s.target===n.navigation.nextEl?n.slideTo(m+w):n.slideTo(m):("next"===n.swipeDirection&&n.slideTo(null!==v?v:m+w),"prev"===n.swipeDirection&&n.slideTo(null!==_?_:m))}}function Y(){let t=this,{params:e,el:i}=t;if(i&&0===i.offsetWidth)return;e.breakpoints&&t.setBreakpoint();let{allowSlideNext:n,allowSlidePrev:o,snapGrid:s}=t,r=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();let l=r&&e.loop;"auto"!==e.slidesPerView&&!(e.slidesPerView>1)||!t.isEnd||t.isBeginning||t.params.centeredSlides||l?t.params.loop&&!r?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0):t.slideTo(t.slides.length-1,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&s!==t.snapGrid&&t.checkOverflow()}function K(t){this.enabled&&!this.allowClick&&(this.params.preventClicks&&t.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(t.stopPropagation(),t.stopImmediatePropagation()))}function J(){let{wrapperEl:t,rtlTranslate:e,enabled:i}=this;if(!i)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-t.scrollLeft:this.translate=-t.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let n=this.maxTranslate()-this.minTranslate();(0===n?0:(this.translate-this.minTranslate())/n)!==this.progress&&this.updateProgress(e?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}function Q(t){F(this,t.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}function tt(){!this.documentTouchHandlerProceeded&&(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}let te=(t,e)=>{let i=b(),{params:n,el:o,wrapperEl:s,device:r}=t,l=!!n.nested,d="on"===e?"addEventListener":"removeEventListener";i[d]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:l}),o[d]("touchstart",t.onTouchStart,{passive:!1}),o[d]("pointerdown",t.onTouchStart,{passive:!1}),i[d]("touchmove",t.onTouchMove,{passive:!1,capture:l}),i[d]("pointermove",t.onTouchMove,{passive:!1,capture:l}),i[d]("touchend",t.onTouchEnd,{passive:!0}),i[d]("pointerup",t.onTouchEnd,{passive:!0}),i[d]("pointercancel",t.onTouchEnd,{passive:!0}),i[d]("touchcancel",t.onTouchEnd,{passive:!0}),i[d]("pointerout",t.onTouchEnd,{passive:!0}),i[d]("pointerleave",t.onTouchEnd,{passive:!0}),i[d]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[d]("click",t.onClick,!0),n.cssMode&&s[d]("scroll",t.onScroll),n.updateOnWindowResize?t[e](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",Y,!0):t[e]("observerUpdate",Y,!0),o[d]("load",t.onLoad,{capture:!0})},ti=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;var tn={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",
1spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};let to={eventsEmitter:{on(t,e,i){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof e)return n;let 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){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof e)return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var i=arguments.length,s=Array(i),r=0;r<i;r++)s[r]=arguments[r];e.apply(n,s)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){return!this.eventsListeners||this.destroyed||"function"!=typeof t||0>this.eventsAnyListeners.indexOf(t)&&this.eventsAnyListeners[e?"unshift":"push"](t),this},offAny(t){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let e=this.eventsAnyListeners.indexOf(t);return e>=0&&this.eventsAnyListeners.splice(e,1),this},off(t,e){let i=this;return i.eventsListeners&&!i.destroyed&&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},emit(){let t,e,i;let n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;for(var o=arguments.length,s=Array(o),r=0;r<o;r++)s[r]=arguments[r];return"string"==typeof s[0]||Array.isArray(s[0])?(t=s[0],e=s.slice(1,s.length),i=n):(t=s[0].events,e=s[0].data,i=s[0].context||n),e.unshift(i),(Array.isArray(t)?t:t.split(" ")).forEach(t=>{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(n=>{n.apply(i,[t,...e])}),n.eventsListeners&&n.eventsListeners[t]&&n.eventsListeners[t].forEach(t=>{t.apply(i,e)})}),n}},update:{updateSize:function(){let t,e;let i=this.el;t=void 0!==this.params.width&&null!==this.params.width?this.params.width:i.clientWidth,e=void 0!==this.params.height&&null!==this.params.height?this.params.height:i.clientHeight,0===t&&this.isHorizontal()||0===e&&this.isVertical()||(t=t-parseInt(I(i,"padding-left")||0,10)-parseInt(I(i,"padding-right")||0,10),e=e-parseInt(I(i,"padding-top")||0,10)-parseInt(I(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(e)&&(e=0),Object.assign(this,{width:t,height:e,size:this.isHorizontal()?t:e}))},updateSlides:function(){let t;let e=this;function i(t,i){return parseFloat(t.getPropertyValue(e.getDirectionLabel(i))||0)}let n=e.params,{wrapperEl:o,slidesEl:s,size:r,rtlTranslate:l,wrongRTL:d}=e,h=e.virtual&&n.virtual.enabled,u=h?e.virtual.slides.length:e.slides.length,c=k(s,`.${e.params.slideClass}, swiper-slide`),p=h?e.virtual.slides.length:c.length,f=[],m=[],g=[],v=n.slidesOffsetBefore;"function"==typeof v&&(v=n.slidesOffsetBefore.call(e));let _=n.slidesOffsetAfter;"function"==typeof _&&(_=n.slidesOffsetAfter.call(e));let y=e.snapGrid.length,w=e.slidesGrid.length,b=n.spaceBetween,x=-v,T=0,S=0;if(void 0===r)return;"string"==typeof b&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*r:"string"==typeof b&&(b=parseFloat(b)),e.virtualSize=-b,c.forEac
1h(t=>{l?t.style.marginLeft="":t.style.marginRight="",t.style.marginBottom="",t.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(M(o,"--swiper-centered-offset-before",""),M(o,"--swiper-centered-offset-after",""));let C=n.grid&&n.grid.rows>1&&e.grid;C?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();let P="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(t=>void 0!==n.breakpoints[t].slidesPerView).length>0;for(let o=0;o<p;o+=1){let s;if(t=0,c[o]&&(s=c[o]),C&&e.grid.updateSlide(o,s,c),!c[o]||"none"!==I(s,"display")){if("auto"===n.slidesPerView){P&&(c[o].style[e.getDirectionLabel("width")]="");let r=getComputedStyle(s),l=s.style.transform,d=s.style.webkitTransform;if(l&&(s.style.transform="none"),d&&(s.style.webkitTransform="none"),n.roundLengths)t=e.isHorizontal()?D(s,"width",!0):D(s,"height",!0);else{let e=i(r,"width"),n=i(r,"padding-left"),o=i(r,"padding-right"),l=i(r,"margin-left"),d=i(r,"margin-right"),h=r.getPropertyValue("box-sizing");if(h&&"border-box"===h)t=e+l+d;else{let{clientWidth:i,offsetWidth:r}=s;t=e+n+o+l+d+(r-i)}}l&&(s.style.transform=l),d&&(s.style.webkitTransform=d),n.roundLengths&&(t=Math.floor(t))}else t=(r-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(t=Math.floor(t)),c[o]&&(c[o].style[e.getDirectionLabel("width")]=`${t}px`);c[o]&&(c[o].swiperSlideSize=t),g.push(t),n.centeredSlides?(x=x+t/2+T/2+b,0===T&&0!==o&&(x=x-r/2-b),0===o&&(x=x-r/2-b),.001>Math.abs(x)&&(x=0),n.roundLengths&&(x=Math.floor(x)),S%n.slidesPerGroup==0&&f.push(x),m.push(x)):(n.roundLengths&&(x=Math.floor(x)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup==0&&f.push(x),m.push(x),x=x+t+b),e.virtualSize+=t+b,T=t,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+_,l&&d&&("slide"===n.effect||"coverflow"===n.effect)&&(o.style.width=`${e.virtualSize+b}px`),n.setWrapperSize&&(o.style[e.getDirectionLabel("width")]=`${e.virtualSize+b}px`),C&&e.grid.updateWrapperSize(t,f),!n.centeredSlides){let t=[];for(let i=0;i<f.length;i+=1){let o=f[i];n.roundLengths&&(o=Math.floor(o)),f[i]<=e.virtualSize-r&&t.push(o)}f=t,Math.floor(e.virtualSize-r)-Math.floor(f[f.length-1])>1&&f.push(e.virtualSize-r)}if(h&&n.loop){let t=g[0]+b;if(n.slidesPerGroup>1){let i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),o=t*n.slidesPerGroup;for(let t=0;t<i;t+=1)f.push(f[f.length-1]+o)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===n.slidesPerGroup&&f.push(f[f.length-1]+t),m.push(m[m.length-1]+t),e.virtualSize+=t}if(0===f.length&&(f=[0]),0!==b){let t=e.isHorizontal()&&l?"marginLeft":e.getDirectionLabel("marginRight");c.filter((t,e)=>!n.cssMode||!!n.loop||e!==c.length-1).forEach(e=>{e.style[t]=`${b}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let t=0;g.forEach(e=>{t+=e+(b||0)});let e=(t-=b)-r;f=f.map(t=>t<=0?-v:t>e?e+_:t)}if(n.centerInsufficientSlides){let t=0;if(g.forEach(e=>{t+=e+(b||0)}),(t-=b)<r){let e=(r-t)/2;f.forEach((t,i)=>{f[i]=t-e}),m.forEach((t,i)=>{m[i]=t+e})}}if(Object.assign(e,{slides:c,snapGrid:f,slidesGrid:m,slidesSizesGrid:g}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){M(o,"--swiper-centered-offset-before",`${-f[0]}px`),M(o,"--swiper-centered-offset-after",`${e.size/2-g[g.length-1]/2}px`);let t=-e.snapGrid[0],i=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(t=>t+i)}if(p!==u&&e.emit("slidesLengthChange"),f.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),m.length!==w&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!h&&!n.cssMode&&("slide"===n.effect||"fade"===n.effect)){let t=`${n.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);p<=n.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(t){let e;let i=this,n=[],o=i.virtual&&i.params.virtual.enabled,s=0;"number"==typeof t?i.setTransition(t):!0===t&&i.setTransition(i.params.speed);let r=t=>o?i.slides[i.getSlideIndexByData(t)]:i.slides[t];if("auto"!==i.params.slidesPerView&&i.params.slidesPerView>
11){if(i.params.centeredSlides)(i.visibleSlides||[]).forEach(t=>{n.push(t)});else for(e=0;e<Math.ceil(i.params.slidesPerView);e+=1){let t=i.activeIndex+e;if(t>i.slides.length&&!o)break;n.push(r(t))}}else n.push(r(i.activeIndex));for(e=0;e<n.length;e+=1)if(void 0!==n[e]){let t=n[e].offsetHeight;s=t>s?t:s}(s||0===s)&&(i.wrapperEl.style.height=`${s}px`)},updateSlidesOffset:function(){let t=this.slides,e=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(this.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-e-this.cssOverflowAdjustment()},updateSlidesProgress:function(t){void 0===t&&(t=this&&this.translate||0);let e=this.params,{slides:i,rtlTranslate:n,snapGrid:o}=this;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();let s=-t;n&&(s=t),i.forEach(t=>{t.classList.remove(e.slideVisibleClass,e.slideFullyVisibleClass)}),this.visibleSlidesIndexes=[],this.visibleSlides=[];let r=e.spaceBetween;"string"==typeof r&&r.indexOf("%")>=0?r=parseFloat(r.replace("%",""))/100*this.size:"string"==typeof r&&(r=parseFloat(r));for(let t=0;t<i.length;t+=1){let l=i[t],d=l.swiperSlideOffset;e.cssMode&&e.centeredSlides&&(d-=i[0].swiperSlideOffset);let h=(s+(e.centeredSlides?this.minTranslate():0)-d)/(l.swiperSlideSize+r),u=(s-o[0]+(e.centeredSlides?this.minTranslate():0)-d)/(l.swiperSlideSize+r),c=-(s-d),p=c+this.slidesSizesGrid[t],f=c>=0&&c<=this.size-this.slidesSizesGrid[t];(c>=0&&c<this.size-1||p>1&&p<=this.size||c<=0&&p>=this.size)&&(this.visibleSlides.push(l),this.visibleSlidesIndexes.push(t),i[t].classList.add(e.slideVisibleClass)),f&&i[t].classList.add(e.slideFullyVisibleClass),l.progress=n?-h:h,l.originalProgress=n?-u:u}},updateProgress:function(t){if(void 0===t){let e=this.rtlTranslate?-1:1;t=this&&this.translate&&this.translate*e||0}let e=this.params,i=this.maxTranslate()-this.minTranslate(),{progress:n,isBeginning:o,isEnd:s,progressLoop:r}=this,l=o,d=s;if(0===i)n=0,o=!0,s=!0;else{n=(t-this.minTranslate())/i;let e=1>Math.abs(t-this.minTranslate()),r=1>Math.abs(t-this.maxTranslate());o=e||n<=0,s=r||n>=1,e&&(n=0),r&&(n=1)}if(e.loop){let e=this.getSlideIndexByData(0),i=this.getSlideIndexByData(this.slides.length-1),n=this.slidesGrid[e],o=this.slidesGrid[i],s=this.slidesGrid[this.slidesGrid.length-1],l=Math.abs(t);(r=l>=n?(l-n)/s:(l+s-o)/s)>1&&(r-=1)}Object.assign(this,{progress:n,progressLoop:r,isBeginning:o,isEnd:s}),(e.watchSlidesProgress||e.centeredSlides&&e.autoHeight)&&this.updateSlidesProgress(t),o&&!l&&this.emit("reachBeginning toEdge"),s&&!d&&this.emit("reachEnd toEdge"),(l&&!o||d&&!s)&&this.emit("fromEdge"),this.emit("progress",n)},updateSlidesClasses:function(){let t,e,i;let{slides:n,params:o,slidesEl:s,activeIndex:r}=this,l=this.virtual&&o.virtual.enabled,d=this.grid&&o.grid&&o.grid.rows>1,h=t=>k(s,`.${o.slideClass}${t}, swiper-slide${t}`)[0];if(l){if(o.loop){let e=r-this.virtual.slidesBefore;e<0&&(e=this.virtual.slides.length+e),e>=this.virtual.slides.length&&(e-=this.virtual.slides.length),t=h(`[data-swiper-slide-index="${e}"]`)}else t=h(`[data-swiper-slide-index="${r}"]`)}else d?(t=n.filter(t=>t.column===r)[0],i=n.filter(t=>t.column===r+1)[0],e=n.filter(t=>t.column===r-1)[0]):t=n[r];t&&!d&&(i=function(t,e){let i=[];for(;t.nextElementSibling;){let n=t.nextElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}(t,`.${o.slideClass}, swiper-slide`)[0],o.loop&&!i&&(i=n[0]),e=function(t,e){let i=[];for(;t.previousElementSibling;){let n=t.previousElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}(t,`.${o.slideClass}, swiper-slide`)[0],o.loop),n.forEach(n=>{H(n,n===t,o.slideActiveClass),H(n,n===i,o.slideNextClass),H(n,n===e,o.slidePrevClass)}),this.emitSlidesClasses()},updateActiveIndex:function(t){let e,i;let n=this,o=n.rtlTranslate?n.translate:-n.translate,{snapGrid:s,params:r,activeIndex:l,realIndex:d,snapIndex:h}=n,u=t,c=t=>{let e=t-n.virtual.slidesBefore;return e<0&&(e=n.virtual.slides.length+e),e>=n.virtual.slides.length&&(e-=n.virtual.slides.length),e};if(void 0===u&&(u=function(t){let e;let{slidesGrid:i,params:n}=t,o=t.rtlTranslate?t.translate:-t.translate;
1for(let t=0;t<i.length;t+=1)void 0!==i[t+1]?o>=i[t]&&o<i[t+1]-(i[t+1]-i[t])/2?e=t:o>=i[t]&&o<i[t+1]&&(e=t+1):o>=i[t]&&(e=t);return n.normalizeSlideIndex&&(e<0||void 0===e)&&(e=0),e}(n)),s.indexOf(o)>=0)e=s.indexOf(o);else{let t=Math.min(r.slidesPerGroupSkip,u);e=t+Math.floor((u-t)/r.slidesPerGroup)}if(e>=s.length&&(e=s.length-1),u===l&&!n.params.loop){e!==h&&(n.snapIndex=e,n.emit("snapIndexChange"));return}if(u===l&&n.params.loop&&n.virtual&&n.params.virtual.enabled){n.realIndex=c(u);return}let p=n.grid&&r.grid&&r.grid.rows>1;if(n.virtual&&r.virtual.enabled&&r.loop)i=c(u);else if(p){let t=n.slides.filter(t=>t.column===u)[0],e=parseInt(t.getAttribute("data-swiper-slide-index"),10);Number.isNaN(e)&&(e=Math.max(n.slides.indexOf(t),0)),i=Math.floor(e/r.grid.rows)}else if(n.slides[u]){let t=n.slides[u].getAttribute("data-swiper-slide-index");i=t?parseInt(t,10):u}else i=u;Object.assign(n,{previousSnapIndex:h,snapIndex:e,previousRealIndex:d,realIndex:i,previousIndex:l,activeIndex:u}),n.initialized&&q(n),n.emit("activeIndexChange"),n.emit("snapIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&(d!==i&&n.emit("realIndexChange"),n.emit("slideChange"))},updateClickedSlide:function(t,e){let i;let n=this.params,o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&this.isElement&&e&&e.length>
11&&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 s=!1;if(o){for(let t=0;t<this.slides.length;t+=1)if(this.slides[t]===o){s=!0,i=t;break}}if(o&&s)this.clickedSlide=o,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=i;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}n.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(t){void 0===t&&(t=this.isHorizontal()?"x":"y");let{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){let i,n,o;void 0===e&&(e="x");let s=T(),r=function(t){let e;let i=T();return i.getComputedStyle&&(e=i.getComputedStyle(t,null)),!e&&t.currentStyle&&(e=t.currentStyle),e||(e=t.style),e}(t);return s.WebKitCSSMatrix?((n=r.transform||r.webkitTransform).split(",").length>6&&(n=n.split(", ").map(t=>t.replace(",",".")).join(", ")),o=new s.WebKitCSSMatrix("none"===n?"":n)):i=(o=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===e&&(n=s.WebKitCSSMatrix?o.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===e&&(n=s.WebKitCSSMatrix?o.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),n||0}(o,t);return s+=this.cssOverflowAdjustment(),i&&(s=-s),s||0},setTranslate:function(t,e){let{rtlTranslate:i,params:n,wrapperEl:o,progress:s}=this,r=0,l=0;this.isHorizontal()?r=i?-t:t:l=t,n.roundLengths&&(r=Math.floor(r),l=Math.floor(l)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?r:l,n.cssMode?o[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-r:-l:n.virtualTranslate||(this.isHorizontal()?r-=this.cssOverflowAdjustment():l-=this.cssOverflowAdjustment(),o.style.transform=`translate3d(${r}px, ${l}px, 0px)`);let d=this.maxTranslate()-this.minTranslate();(0===d?0:(t-this.minTranslate())/d)!==s&&this.updateProgress(t),this.emit("setTranslate",this.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(t,e,i,n,o){let s;void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);let r=this,{params:l,wrapperEl:d}=r;if(r.animating&&l.preventInteractionOnTransition)return!1;let h=r.minTranslate(),u=r.maxTranslate();if(s=n&&t>h?h:n&&t<u?u:t,r.updateProgress(s),l.cssMode){let t=r.isHorizontal();if(0===e)d[t?"scrollLeft":"scrollTop"]=-s;else{if(!r.support.smoothScroll)return A({swiper:r,targetPosition:-s,side:t?"left":"top"}),!0;d.scrollTo({[t?"left":"top"]:-s,behavior:"smooth"})}return!0}return 0===e?(r.setTransition(0),r.setTranslate(s),i&&(r.emit("beforeTransitionStart",e,o),r.emit("transitionEnd"))):(r.setTransition(e),r.setTranslate(s),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){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${t}ms`,this.wrapperEl.style.transitionDelay=0===t?"0ms":""),this.emit("setTransition",t,e)},transitionStart:function(t,e){void 0===t&&(t=!0);let{params:i}=this;i.cssMode||(i.autoHeight&&this.updateAutoHeight(),G({swiper:this,runCallbacks:t,direction:e,step:"Start"}))},transitionEnd:function(t,e){void 0===t&&(t=!0);let{params:i}=this;this.animating=!1,i.cssMode||(this.setTransition(0),G({swiper:this,runCallbacks:t,direction:e,step:"End"}))}}
1,slide:{slideTo:function(t,e,i,n,o){let s;void 0===t&&(t=0),void 0===i&&(i=!0),"string"==typeof t&&(t=parseInt(t,10));let r=this,l=t;l<0&&(l=0);let{params:d,snapGrid:h,slidesGrid:u,previousIndex:c,activeIndex:p,rtlTranslate:f,wrapperEl:m,enabled:g}=r;if(!g&&!n&&!o||r.destroyed||r.animating&&d.preventInteractionOnTransition)return!1;void 0===e&&(e=r.params.speed);let v=Math.min(r.params.slidesPerGroupSkip,l),_=v+Math.floor((l-v)/r.params.slidesPerGroup);_>=h.length&&(_=h.length-1);let y=-h[_];if(d.normalizeSlideIndex)for(let t=0;t<u.length;t+=1){let e=-Math.floor(100*y),i=Math.floor(100*u[t]),n=Math.floor(100*u[t+1]);void 0!==u[t+1]?e>=i&&e<n-(n-i)/2?l=t:e>=i&&e<n&&(l=t+1):e>=i&&(l=t)}if(r.initialized&&l!==p&&(!r.allowSlideNext&&(f?y>r.translate&&y>r.minTranslate():y<r.translate&&y<r.minTranslate())||!r.allowSlidePrev&&y>r.translate&&y>r.maxTranslate()&&(p||0)!==l))return!1;if(l!==(c||0)&&i&&r.emit("beforeSlideChangeStart"),r.updateProgress(y),s=l>p?"next":l<p?"prev":"reset",f&&-y===r.translate||!f&&y===r.translate)return r.updateActiveIndex(l),d.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==d.effect&&r.setTranslate(y),"reset"!==s&&(r.transitionStart(i,s),r.transitionEnd(i,s)),!1;if(d.cssMode){let t=r.isHorizontal(),i=f?y:-y;if(0===e){let e=r.virtual&&r.params.virtual.enabled;e&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),e&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[t?"scrollLeft":"scrollTop"]=i})):m[t?"scrollLeft":"scrollTop"]=i,e&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1})}else{if(!r.support.smoothScroll)return A({swiper:r,targetPosition:i,side:t?"left":"top"}),!0;m.scrollTo({[t?"left":"top"]:i,behavior:"smooth"})}return!0}return r.setTransition(e),r.setTranslate(y),r.updateActiveIndex(l),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,n),r.transitionStart(i,s),0===e?r.transitionEnd(i,s):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,s))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(t,e,i,n){void 0===t&&(t=0),void 0===i&&(i=!0),"string"==typeof t&&(t=parseInt(t,10));let o=this;if(o.destroyed)return;void 0===e&&(e=o.params.speed);let s=o.grid&&o.params.grid&&o.params.grid.rows>1,r=t;if(o.params.loop){if(o.virtual&&o.params.virtual.enabled)r+=o.virtual.slidesBefore;else{let t;if(s){let e=r*o.params.grid.rows;t=o.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===e)[0].column}else t=o.getSlideIndexByData(r);let e=s?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:i}=o.params,l=o.params.slidesPerView;"auto"===l?l=o.slidesPerViewDynamic():(l=Math.ceil(parseFloat(o.params.slidesPerView,10)),i&&l%2==0&&(l+=1));let d=e-t<l;if(i&&(d=d||t<Math.ceil(l/2)),n&&i&&"auto"!==o.params.slidesPerView&&!s&&(d=!1),d){let n=i?t<o.activeIndex?"prev":"next":t-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?t+1:t-e+1,slideRealIndex:"next"===n?o.realIndex:void 0})}if(s){let t=r*o.params.grid.rows;r=o.slides.filter(e=>1*e.getAttribute("data-swiper-slide-index")===t)[0].column}else r=o.getSlideIndexByData(r)}}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o},slideNext:function(t,e,i){void 0===e&&(e=!0);let n=this,{enabled:o,params:s,animating:r}=n;if(!o||n.destroyed)return n;void 0===t&&(t=n.params.speed);let l=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(l=Math.max(n.slidesPerViewDynamic("current",!0),1));let d=n.activeIndex<s.slidesPerGroupSkip?1:l,h=n.virtual&&s.virtual.enabled;if(s.loop){if(r&&!h&&s.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+d,t,e,i)}),!0}return s.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+d,t,e,i)}
1,slidePrev:function(t,e,i){void 0===e&&(e=!0);let n=this,{params:o,snapGrid:s,slidesGrid:r,rtlTranslate:l,enabled:d,animating:h}=n;if(!d||n.destroyed)return n;void 0===t&&(t=n.params.speed);let u=n.virtual&&o.virtual.enabled;if(o.loop){if(h&&!u&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function c(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}let p=c(l?n.translate:-n.translate),f=s.map(t=>c(t)),m=s[f.indexOf(p)-1];if(void 0===m&&o.cssMode){let t;s.forEach((e,i)=>{p>=e&&(t=i)}),void 0!==t&&(m=s[t>0?t-1:t])}let g=0;if(void 0!==m&&((g=r.indexOf(m))<0&&(g=n.activeIndex-1),"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(g=Math.max(g=g-n.slidesPerViewDynamic("previous",!0)+1,0))),o.rewind&&n.isBeginning){let 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,i){if(void 0===e&&(e=!0),!this.destroyed)return void 0===t&&(t=this.params.speed),this.slideTo(this.activeIndex,t,e,i)},slideToClosest:function(t,e,i,n){if(void 0===e&&(e=!0),void 0===n&&(n=.5),this.destroyed)return;void 0===t&&(t=this.params.speed);let o=this.activeIndex,s=Math.min(this.params.slidesPerGroupSkip,o),r=s+Math.floor((o-s)/this.params.slidesPerGroup),l=this.rtlTranslate?this.translate:-this.translate;if(l>=this.snapGrid[r]){let t=this.snapGrid[r];l-t>(this.snapGrid[r+1]-t)*n&&(o+=this.params.slidesPerGroup)}else{let t=this.snapGrid[r-1];l-t<=(this.snapGrid[r]-t)*n&&(o-=this.params.slidesPerGroup)}return o=Math.min(o=Math.max(o,0),this.slidesGrid.length-1),this.slideTo(o,t,e,i)},slideToClickedSlide:function(){let t;let e=this;if(e.destroyed)return;let{params:i,slidesEl:n}=e,o="auto"===i.slidesPerView?e.slidesPerViewDynamic():i.slidesPerView,s=e.clickedIndex,r=e.isElement?"swiper-slide":`.${i.slideClass}`;if(i.loop){if(e.animating)return;t=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),i.centeredSlides?s<e.loopedSlides-o/2||s>e.slides.length-e.loopedSlides+o/2?(e.loopFix(),s=e.getSlideIndex(k(n,`${r}[data-swiper-slide-index="${t}"]`)[0]),S(()=>{e.slideTo(s)})):e.slideTo(s):s>e.slides.length-o?(e.loopFix(),s=e.getSlideIndex(k(n,`${r}[data-swiper-slide-index="${t}"]`)[0]),S(()=>{e.slideTo(s)})):e.slideTo(s)}else e.slideTo(s)}},loop:{loopCreate:function(t){let e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;let o=e.grid&&i.grid&&i.grid.rows>1,s=i.slidesPerGroup*(o?i.grid.rows:1),r=e.slides.length%s!=0,l=o&&e.slides.length%i.grid.rows!=0,d=t=>{for(let n=0;n<t;n+=1){let t=e.isElement?O("swiper-slide",[i.slideBlankClass]):O("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(t)}};r?i.loopAddBlankSlides?(d(s-e.slides.length%s),e.recalcSlides(),e.updateSlides()):z("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):l&&(i.loopAddBlankSlides?(d(i.grid.rows-e.slides.length%i.grid.rows),e.recalcSlides(),e.updateSlides()):z("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),k(n,`.${i.slideClass}, swiper-slide`).forEach((t,e)=>{t.setAttribute("data-swiper-slide-index",e)}),e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})},loopFix:function(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:s,byController:r,byMousewheel:l}=void 0===t?{}:t,d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");let{slides:h,allowSlidePrev:u,allowSlideNext:c,slidesEl:p,params:f}=d,{centeredSlides:m}=f;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&f.virtual.enabled){i&&(f.centeredSlides||0!==d.snapIndex?f.centeredSlides&&d.snapIndex<f.slidesPerView?d.slideTo(d.virtual.slides.length+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(d.virtual.slidesBefore,0,!1,!0):d.slideTo(d.virtual.slides.length,0,!1,!0)),d.allowSlidePrev=u,d.allowSlideNext=c,d.emit("loopFix");return}
1let g=f.slidesPerView;"auto"===g?g=d.slidesPerViewDynamic():(g=Math.ceil(parseFloat(f.slidesPerView,10)),m&&g%2==0&&(g+=1));let v=f.slidesPerGroupAuto?g:f.slidesPerGroup,_=v;_%v!=0&&(_+=v-_%v),_+=f.loopAdditionalSlides,d.loopedSlides=_;let y=d.grid&&f.grid&&f.grid.rows>1;h.length<g+_?z("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):y&&"row"===f.grid.fill&&z("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let w=[],b=[],x=d.activeIndex;void 0===s?s=d.getSlideIndex(h.filter(t=>t.classList.contains(f.slideActiveClass))[0]):x=s;let T="next"===n||!n,S="prev"===n||!n,C=0,P=0,E=y?Math.ceil(h.length/f.grid.rows):h.length,M=(y?h[s].column:s)+(m&&void 0===o?-g/2+.5:0);if(M<_){C=Math.max(_-M,v);for(let t=0;t<_-M;t+=1){let e=t-Math.floor(t/E)*E;if(y){let t=E-e-1;for(let e=h.length-1;e>=0;e-=1)h[e].column===t&&w.push(e)}else w.push(E-e-1)}}else if(M+g>E-_){P=Math.max(M-(E-2*_),v);for(let t=0;t<P;t+=1){let e=t-Math.floor(t/E)*E;y?h.forEach((t,i)=>{t.column===e&&b.push(i)}):b.push(e)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),S&&w.forEach(t=>{h[t].swiperLoopMoveDOM=!0,p.prepend(h[t]),h[t].swiperLoopMoveDOM=!1}),T&&b.forEach(t=>{h[t].swiperLoopMoveDOM=!0,p.append(h[t]),h[t].swiperLoopMoveDOM=!1}),d.recalcSlides(),"auto"===f.slidesPerView?d.updateSlides():y&&(w.length>0&&S||b.length>0&&T)&&d.slides.forEach((t,e)=>{d.grid.updateSlide(e,t,d.slides)}),f.watchSlidesProgress&&d.updateSlidesOffset(),i){if(w.length>0&&S){if(void 0===e){let t=d.slidesGrid[x],e=d.slidesGrid[x+C]-t;l?d.setTranslate(d.translate-e):(d.slideTo(x+Math.ceil(C),0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-e,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-e))}else if(o){let t=y?w.length/f.grid.rows:w.length;d.slideTo(d.activeIndex+t,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(b.length>0&&T){if(void 0===e){let t=d.slidesGrid[x],e=d.slidesGrid[x-P]-t;l?d.setTranslate(d.translate-e):(d.slideTo(x-P,0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-e,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-e))}else{let t=y?b.length/f.grid.rows:b.length;d.slideTo(d.activeIndex-t,0,!1,!0)}}}if(d.allowSlidePrev=u,d.allowSlideNext=c,d.controller&&d.controller.control&&!r){let t={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:s,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix({...t,slideTo:e.params.slidesPerView===f.slidesPerView&&i})}):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...t,slideTo:d.controller.control.params.slidesPerView===f.slidesPerView&&i})}d.emit("loopFix")},loopDestroy:function(){let{params:t,slidesEl:e}=this;if(!t.loop||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let i=[];this.slides.forEach(t=>{i[void 0===t.swiperSlideIndex?1*t.getAttribute("data-swiper-slide-index"):t.swiperSlideIndex]=t}),this.slides.forEach(t=>{t.removeAttribute("data-swiper-slide-index")}),i.forEach(t=>{e.append(t)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(t){let e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;let 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(){let 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(){let{params:t}=this;this.onTouchStart=U.bind(this),this.onTouchMove=$.bind(this),this.onTouchEnd=X.bind(this),this.onDocumentTouchStart=tt.bind(this),t.cssMode&&(this.onScroll=J.bind(this)),this.onClick=K.bind(this),this.onLoad=Q.bind(this),te(this,"on")},detachEvents:function(){te(this,"off")}},breakpoints:{setBreakpoint:function(){let t=this,{realIndex:e,initialized:i,params:n,el:o}=t,s=n.breakpoints;if(!s||s&&0===Object.keys(s).length)return;
1let r=t.getBreakpoint(s,t.params.breakpointsBase,t.el);if(!r||t.currentBreakpoint===r)return;let l=(r in s?s[r]:void 0)||t.originalParams,d=ti(t,n),h=ti(t,l),u=t.params.grabCursor,c=l.grabCursor,p=n.enabled;d&&!h?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!d&&h&&(o.classList.add(`${n.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===n.grid.fill)&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),u&&!c?t.unsetGrabCursor():!u&&c&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(e=>{if(void 0===l[e])return;let i=n[e]&&n[e].enabled,o=l[e]&&l[e].enabled;i&&!o&&t[e].disable(),!i&&o&&t[e].enable()});let f=l.direction&&l.direction!==n.direction,m=n.loop&&(l.slidesPerView!==n.slidesPerView||f),g=n.loop;f&&i&&t.changeDirection(),E(t.params,l);let v=t.params.enabled,_=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),p&&!v?t.disable():!p&&v&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",l),i&&(m?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!g&&_?(t.loopCreate(e),t.updateSlides()):g&&!_&&t.loopDestroy()),t.emit("breakpoint",l)},getBreakpoint:function(t,e,i){if(void 0===e&&(e="window"),!t||"container"===e&&!i)return;let n=!1,o=T(),s="window"===e?o.innerHeight:i.clientHeight,r=Object.keys(t).map(t=>"string"==typeof t&&0===t.indexOf("@")?{value:s*parseFloat(t.substr(1)),point:t}:{value:t,point:t});r.sort((t,e)=>parseInt(t.value,10)-parseInt(e.value,10));for(let t=0;t<r.length;t+=1){let{point:s,value:l}=r[t];"window"===e?o.matchMedia(`(min-width: ${l}px)`).matches&&(n=s):l<=i.clientWidth&&(n=s)}return n||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:t,params:e}=this,{slidesOffsetBefore:i}=e;if(i){let t=this.slides.length-1,e=this.slidesGrid[t]+this.slidesSizesGrid[t]+2*i;this.isLocked=this.size>e}else this.isLocked=1===this.snapGrid.length;!0===e.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===e.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),t&&t!==this.isLocked&&(this.isEnd=!1),t!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){let{classNames:t,params:e,rtl:i,el:n,device:o}=this,s=function(t,e){let 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",e.direction,{"free-mode":this.params.freeMode&&e.freeMode.enabled},{autoheight:e.autoHeight},{rtl:i},{grid:e.grid&&e.grid.rows>1},{"grid-column":e.grid&&e.grid.rows>1&&"column"===e.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":e.cssMode},{centered:e.cssMode&&e.centeredSlides},{"watch-progress":e.watchSlidesProgress}],e.containerModifierClass);t.push(...s),n.classList.add(...t),this.emitContainerClasses()},removeClasses:function(){let{el:t,classNames:e}=this;t.classList.remove(...e),this.emitContainerClasses()}}},ts={};class tr{constructor(){let t,e;for(var n=arguments.length,o=Array(n),s=0;s<n;s++)o[s]=arguments[s];1===o.length&&o[0].constructor&&"Object"===Object.prototype.toString.call(o[0]).slice(8,-1)?e=o[0]:[t,e]=o,e||(e={}),e=E({},e),t&&!e.el&&(e.el=t);let r=b();if(e.el&&"string"==typeof e.el&&r.querySelectorAll(e.el).length>1){let t=[];return r.querySelectorAll(e.el).forEach(i=>{let n=E({},e,{el:i});t.push(new tr(n))}),t}let l=this;l.__swiper__=!0,l.support=Z(),l.device=R({userAgent:e.userAgent}),l.browser=(i||(i=function(){let t=T(),e=R(),i=!1;function n(){let e=t.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&0>e.indexOf("chrome")&&0>e.indexOf("android")}if(n()){let e=String(t.navigator.userAgent);if(e.includes("Version/")){let[t,n]=e.split("Version/")[1].split(" ")[0].split(".").map(t=>Number(t));i=t<16||16===t&&n<2}}let o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),s=n(),r=s||o&&e.ios;return{isSafari:i||s,needPerspectiveFix:i,need3dFix:r,isWebView:o}}()),i),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],e.modules&&Array.isArray(e.modules)&&l.modules.push(...e.modules);let d={};
1l.modules.forEach(t=>{var i;t({params:e,swiper:l,extendParams:(i=e,function(t){void 0===t&&(t={});let e=Object.keys(t)[0],n=t[e];if("object"!=typeof n||null===n||(!0===i[e]&&(i[e]={enabled:!0}),"navigation"===e&&i[e]&&i[e].enabled&&!i[e].prevEl&&!i[e].nextEl&&(i[e].auto=!0),["pagination","scrollbar"].indexOf(e)>=0&&i[e]&&i[e].enabled&&!i[e].el&&(i[e].auto=!0),!(e in i&&"enabled"in n))){E(d,t);return}"object"!=typeof i[e]||"enabled"in i[e]||(i[e].enabled=!0),i[e]||(i[e]={enabled:!1}),E(d,t)}),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});let h=E({},tn,d);return l.params=E({},h,ts,e),l.originalParams=E({},l.params),l.passedParams=E({},e),l.params&&l.params.on&&Object.keys(l.params.on).forEach(t=>{l.on(t,l.params.on[t])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===l.params.direction,isVertical:()=>"vertical"===l.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.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:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}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){let{slidesEl:e,params:i}=this,n=j(k(e,`.${i.slideClass}, swiper-slide`)[0]);return j(t)-n}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(e=>1*e.getAttribute("data-swiper-slide-index")===t)[0])}recalcSlides(){let{slidesEl:t,params:e}=this;this.slides=k(t,`.${e.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(t,e){t=Math.min(Math.max(t,0),1);let i=this.minTranslate(),n=(this.maxTranslate()-i)*t+i;this.translateTo(n,void 0===e?0:e),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let t=this;if(!t.params._emitClasses||!t.el)return;let e=t.el.className.split(" ").filter(e=>0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass));t.emit("_containerClasses",e.join(" "))}getSlideClasses(t){let e=this;return e.destroyed?"":t.className.split(" ").filter(t=>0===t.indexOf("swiper-slide")||0===t.indexOf(e.params.slideClass)).join(" ")}emitSlidesClasses(){let t=this;if(!t.params._emitClasses||!t.el)return;let e=[];t.slides.forEach(i=>{let n=t.getSlideClasses(i);e.push({slideEl:i,classNames:n}),t.emit("_slideClass",i,n)}),t.emit("_slideClasses",e)}slidesPerViewDynamic(t,e){void 0===t&&(t="current"),void 0===e&&(e=!1);let{params:i,slides:n,slidesGrid:o,slidesSizesGrid:s,size:r,activeIndex:l}=this,d=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let t,e=n[l]?Math.ceil(n[l].swiperSlideSize):0;for(let i=l+1;i<n.length;i+=1)n[i]&&!t&&(e+=Math.ceil(n[i].swiperSlideSize),d+=1,e>r&&(t=!0));for(let i=l-1;i>=0;i-=1)n[i]&&!t&&(e+=n[i].swiperSlideSize,d+=1,e>r&&(t=!0))}else if("current"===t)for(let t=l+1;t<n.length;t+=1)(e?o[t]+s[t]-o[l]<r:o[t]-o[l]<r)&&(d+=1);else for(let t=l-1;t>=0;t-=1)o[l]-o[t]<r&&(d+=1);return d}update(){let t;let e=this;if(!e||e.destroyed)return;let{snapGrid:i,params:n}=e;function o(){let t=Math.min(Math.max(e.rtlTranslate?-1*e.translate:e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(t),e.updateActiveIndex(),e.updateSlidesClasses()}if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEac
1h(t=>{t.complete&&F(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){let i=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;t=e.slideTo(i.length-1,0,!1,!0)}else t=e.slideTo(e.activeIndex,0,!1,!0);t||o()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(t,e){void 0===e&&(e=!0);let i=this.params.direction;return t||(t="horizontal"===i?"vertical":"horizontal"),t===i||"horizontal"!==t&&"vertical"!==t||(this.el.classList.remove(`${this.params.containerModifierClass}${i}`),this.el.classList.add(`${this.params.containerModifierClass}${t}`),this.emitContainerClasses(),this.params.direction=t,this.slides.forEach(e=>{"vertical"===t?e.style.width="":e.style.height=""}),this.emit("changeDirection"),e&&this.update()),this}changeLanguageDirection(t){(!this.rtl||"rtl"!==t)&&(this.rtl||"ltr"!==t)&&(this.rtl="rtl"===t,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(t){let 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);let n=()=>`.${(e.params.wrapperClass||"").trim().split(" ").join(".")}`,o=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(n()):k(i,n())[0];return!o&&e.params.createElements&&(o=O("div",e.params.wrapperClass),i.append(o),k(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"===I(i,"direction"),rtlTranslate:"horizontal"===e.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===I(i,"direction")),wrongRTL:"-webkit-box"===I(o,"display")}),!0}init(t){let e=this;if(e.initialized||!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(),e.attachEvents();let i=[...e.el.querySelectorAll('[loading="lazy"]')];return e.isElement&&i.push(...e.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(t=>{t.complete?F(e,t):t.addEventListener("load",t=>{F(e,t.target)})}),q(e),e.initialized=!0,q(e),e.emit("init"),e.emit("afterInit"),e}destroy(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0);let i=this,{params:n,el:o,wrapperEl:s,slides:r}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),e&&(i.removeClasses(),o.removeAttribute("style"),s.removeAttribute("style"),r&&r.length&&r.forEach(t=>{t.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),t.removeAttribute("style"),t.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(t=>{i.off(t)}),!1!==t&&(i.el.swiper=null,function(t){Object.keys(t).forEach(e=>{try{t[e]=null}catch(t){}try{delete t[e]}catch(t){}})}(i)),i.destroyed=!0),null}static extendDefaults(t){E(ts,t)}static get extendedDefaults(){return ts}static get defaults(){return tn}static installModule(t){tr.prototype.__modules__||(tr.prototype.__modules__=[]);let e=tr.prototype.__modules__;"function"==typeof t&&0>e.indexOf(t)&&e.push(t)}static use(t){return Array.isArray(t)?t.forEach(t=>tr.installModule(t)):tr.installModule(t),tr}}function ta(t,e,i,n){return t.params.createElements&&Object.keys(n).forEac
1h(o=>{if(!i[o]&&!0===i.auto){let s=k(t.el,`.${n[o]}`)[0];s||((s=O("div",n[o])).className=n[o],t.el.append(s)),i[o]=s,e[o]=s}}),i}function tl(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;function s(t){let i;return t&&"string"==typeof t&&e.isElement&&(i=e.el.querySelector(t))?i:(t&&("string"==typeof t&&(i=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&i&&i.length>1&&1===e.el.querySelectorAll(t).length?i=e.el.querySelector(t):i&&1===i.length&&(i=i[0])),t&&!i)?t:i}function r(t,i){let n=e.params.navigation;(t=B(t)).forEach(t=>{t&&(t.classList[i?"add":"remove"](...n.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=i),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](n.lockClass))})}function l(){let{nextEl:t,prevEl:i}=e.navigation;if(e.params.loop){r(i,!1),r(t,!1);return}r(i,e.isBeginning&&!e.params.rewind),r(t,e.isEnd&&!e.params.rewind)}function d(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),o("navigationPrev"))}function h(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),o("navigationNext"))}function u(){let t=e.params.navigation;if(e.params.navigation=ta(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(t.nextEl||t.prevEl))return;let i=s(t.nextEl),n=s(t.prevEl);Object.assign(e.navigation,{nextEl:i,prevEl:n}),i=B(i),n=B(n);let o=(i,n)=>{i&&i.addEventListener("click","next"===n?h:d),!e.enabled&&i&&i.classList.add(...t.lockClass.split(" "))};i.forEach(t=>
1o(t,"next")),n.forEach(t=>o(t,"prev"))}function c(){let{nextEl:t,prevEl:i}=e.navigation;t=B(t),i=B(i);let n=(t,i)=>{t.removeEventListener("click","next"===i?h:d),t.classList.remove(...e.params.navigation.disabledClass.split(" "))};t.forEach(t=>n(t,"next")),i.forEach(t=>n(t,"prev"))}i({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null},n("init",()=>{!1===e.params.navigation.enabled?p():(u(),l())}),n("toEdge fromEdge lock unlock",()=>{l()}),n("destroy",()=>{c()}),n("enable disable",()=>{let{nextEl:t,prevEl:i}=e.navigation;if(t=B(t),i=B(i),e.enabled){l();return}[...t,...i].filter(t=>!!t).forEach(t=>t.classList.add(e.params.navigation.lockClass))}),n("click",(t,i)=>{let{nextEl:n,prevEl:s}=e.navigation;n=B(n),s=B(s);let r=i.target;if(e.params.navigation.hideOnClick&&!s.includes(r)&&!n.includes(r)){let t;if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===r||e.pagination.el.contains(r)))return;n.length?t=n[0].classList.contains(e.params.navigation.hiddenClass):s.length&&(t=s[0].classList.contains(e.params.navigation.hiddenClass)),!0===t?o("navigationShow"):o("navigationHide"),[...n,...s].filter(t=>!!t).forEach(t=>t.classList.toggle(e.params.navigation.hiddenClass))}});let p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),c()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),u(),l()},disable:p,update:l,init:u,destroy:c})}function td(t){return void 0===t&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function th(t){let e,{swiper:i,extendParams:n,on:o,emit:s}=t,r="swiper-pagination";n({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:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),i.pagination={el:null,bullets:[]};let l=0;function d(){return!i.params.pagination.el||!i.pagination.el||Array.isArray(i.pagination.el)&&0===i.pagination.el.length}function h(t,e){let{bulletActiveClass:n}=i.params.pagination;t&&(t=t[`${"prev"===e?"previous":"next"}ElementSibling`])&&(t.classList.add(`${n}-${e}`),(t=t[`${"prev"===e?"previous":"next"}ElementSibling`])&&t.classList.add(`${n}-${e}-${e}`))}function u(t){let e=t.target.closest(td(i.params.pagination.bulletClass));if(!e)return;t.preventDefault();let n=j(e)*i.params.slidesPerGroup;if(i.params.loop){if(i.realIndex===n)return;i.slideToLoop(n)}else i.slideTo(n)}function c(){let t,n;let o=i.rtl,r=i.params.pagination;if(d())return;let u=i.pagination.el;u=B(u);let c=i.virtual&&i.params.virtual.enabled?i.virtual.slides.length:i.slides.length,p=i.params.loop?Math.ceil(c/i.params.slidesPerGroup):i.snapGrid.length;if(i.params.loop?(n=i.previousRealIndex||0,t=i.params.slidesPerGroup>1?Math.floor(i.realIndex/i.params.slidesPerGroup):i.realIndex):void 0!==i.snapIndex?(t=i.snapIndex,n=i.previousSnapIndex):(n=i.previousIndex||0,t=i.activeIndex||0),"bullets"===r.type&&i.pagination.bullets&&i.pagination.bullets.length>0){let s,d,c;let p=i.pagination.bullets;if(r.dynamicBullets&&(e=D(p[0],i.isHorizontal()?"width":"height",!0),u.forEach(t=>{t.style[i.isHorizontal()?"width":"height"]=`${e*(r.dynamicMainBullets+4)}px`}),r.dynamicMainBullets>1&&void 0!==n&&((l+=t-(n||0))>r.dynamicMainBullets-1?l=r.dynamicMainBullets-1:l<0&&(l=0)),c=((d=(s=Math.max(t-l,0))+(Math.min(p.length,r.dynamicMainBullets)-1))+s)/2),p.forEach(t=>{let e=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(t=>`${r.bulletActiveClass}${t}`)].map(t=>"string"==typeof t&&t.includes(" ")?t.split(" "):t).flat();t.classList.remove(...e)}),u.length>
11)p.forEach(e=>{let n=j(e);n===t?e.classList.add(...r.bulletActiveClass.split(" ")):i.isElement&&e.setAttribute("part","bullet"),r.dynamicBullets&&(n>=s&&n<=d&&e.classList.add(...`${r.bulletActiveClass}-main`.split(" ")),n===s&&h(e,"prev"),n===d&&h(e,"next"))});else{let e=p[t];if(e&&e.classList.add(...r.bulletActiveClass.split(" ")),i.isElement&&p.forEach((e,i)=>{e.setAttribute("part",i===t?"bullet-active":"bullet")}),r.dynamicBullets){let t=p[s],e=p[d];for(let t=s;t<=d;t+=1)p[t]&&p[t].classList.add(...`${r.bulletActiveClass}-main`.split(" "));h(t,"prev"),h(e,"next")}}if(r.dynamicBullets){let t=Math.min(p.length,r.dynamicMainBullets+4),n=(e*t-e)/2-c*e,s=o?"right":"left";p.forEach(t=>{t.style[i.isHorizontal()?s:"top"]=`${n}px`})}}u.forEach((e,n)=>{if("fraction"===r.type&&(e.querySelectorAll(td(r.currentClass)).forEach(e=>{e.textContent=r.formatFractionCurrent(t+1)}),e.querySelectorAll(td(r.totalClass)).forEach(t=>{t.textContent=r.formatFractionTotal(p)})),"progressbar"===r.type){let n;n=r.progressbarOpposite?i.isHorizontal()?"vertical":"horizontal":i.isHorizontal()?"horizontal":"vertical";let o=(t+1)/p,s=1,l=1;"horizontal"===n?s=o:l=o,e.querySelectorAll(td(r.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${s}) scaleY(${l})`,t.style.transitionDuration=`${i.params.speed}ms`})}"custom"===r.type&&r.renderCustom?(e.innerHTML=r.renderCustom(i,t+1,p),0===n&&s("paginationRender",e)):(0===n&&s("paginationRender",e),s("paginationUpdate",e)),i.params.watchOverflow&&i.enabled&&e.classList[i.isLocked?"add":"remove"](r.lockClass)})}function p(){let t=i.params.pagination;if(d())return;let e=i.virtual&&i.params.virtual.enabled?i.virtual.slides.length:i.grid&&i.params.grid.rows>1?i.slides.length/Math.ceil(i.params.grid.rows):i.slides.length,n=i.pagination.el;n=B(n);let o="";if("bullets"===t.type){let n=i.params.loop?Math.ceil(e/i.params.slidesPerGroup):i.snapGrid.length;i.params.freeMode&&i.params.freeMode.enabled&&n>e&&(n=e);for(let e=0;e<n;e+=1)t.renderBullet?o+=t.renderBullet.call(i,e,t.bulletClass):o+=`<${t.bulletElement} ${i.isElement?'part="bullet"':""} class="${t.bulletClass}"></${t.bulletElement}>`}"fraction"===t.type&&(o=t.renderFraction?t.renderFraction.call(i,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),"progressbar"===t.type&&(o=t.renderProgressbar?t.renderProgressbar.call(i,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`),i.pagination.bullets=[],n.forEach(e=>{"custom"!==t.type&&(e.innerHTML=o||""),"bullets"===t.type&&i.pagination.bullets.push(...e.querySelectorAll(td(t.bulletClass)))}),"custom"!==t.type&&s("paginationRender",n[0])}function f(){let t;i.params.pagination=ta(i,i.originalParams.pagination,i.params.pagination,{el:"swiper-pagination"});let e=i.params.pagination;e.el&&("string"==typeof e.el&&i.isElement&&(t=i.el.querySelector(e.el)),t||"string"!=typeof e.el||(t=[...document.querySelectorAll(e.el)]),t||(t=e.el),t&&0!==t.length&&(i.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(t)&&t.length>1&&(t=[...i.el.querySelectorAll(e.el)]).length>1&&(t=t.filter(t=>N(t,".swiper")[0]===i.el)[0]),Array.isArray(t)&&1===t.length&&(t=t[0]),Object.assign(i.pagination,{el:t}),(t=B(t)).forEach(t=>{"bullets"===e.type&&e.clickable&&t.classList.add(...(e.clickableClass||"").split(" ")),t.classList.add(e.modifierClass+e.type),t.classList.add(i.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(t.classList.add(`${e.modifierClass}${e.type}-dynamic`),l=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&t.classList.add(e.progressbarOppositeClass),e.clickable&&t.addEventListener("click",u),i.enabled||t.classList.add(e.lockClass)})))}function m(){let t=i.params.pagination;if(d())return;let e=i.pagination.el;e&&(e=B(e)).forEach(e=>{e.classList.remove(t.hiddenClass),e.classList.remove(t.modifierClass+t.type),e.classList.remove(i.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(e.classList.remove(...(t.clickableClass||"").split(" ")),e.removeEventListener("click",u))}
1),i.pagination.bullets&&i.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" ")))}o("changeDirection",()=>{if(!i.pagination||!i.pagination.el)return;let t=i.params.pagination,{el:e}=i.pagination;(e=B(e)).forEach(e=>{e.classList.remove(t.horizontalClass,t.verticalClass),e.classList.add(i.isHorizontal()?t.horizontalClass:t.verticalClass)})}),o("init",()=>{!1===i.params.pagination.enabled?g():(f(),p(),c())}),o("activeIndexChange",()=>{void 0===i.snapIndex&&c()}),o("snapIndexChange",()=>{c()}),o("snapGridLengthChange",()=>{p(),c()}),o("destroy",()=>{m()}),o("enable disable",()=>{let{el:t}=i.pagination;t&&(t=B(t)).forEach(t=>t.classList[i.enabled?"remove":"add"](i.params.pagination.lockClass))}),o("lock unlock",()=>{c()}),o("click",(t,e)=>{let n=e.target,o=B(i.pagination.el);if(i.params.pagination.el&&i.params.pagination.hideOnClick&&o&&o.length>0&&!n.classList.contains(i.params.pagination.bulletClass)){if(i.navigation&&(i.navigation.nextEl&&n===i.navigation.nextEl||i.navigation.prevEl&&n===i.navigation.prevEl))return;!0===o[0].classList.contains(i.params.pagination.hiddenClass)?s("paginationShow"):s("paginationHide"),o.forEach(t=>t.classList.toggle(i.params.pagination.hiddenClass))}});let g=()=>{i.el.classList.add(i.params.pagination.paginationDisabledClass);let{el:t}=i.pagination;t&&(t=B(t)).forEach(t=>t.classList.add(i.params.pagination.paginationDisabledClass)),m()};Object.assign(i.pagination,{enable:()=>{i.el.classList.remove(i.params.pagination.paginationDisabledClass);let{el:t}=i.pagination;t&&(t=B(t)).forEach(t=>t.classList.remove(i.params.pagination.paginationDisabledClass)),f(),p(),c()},disable:g,render:p,update:c,init:f,destroy:m})}function tu(t){let e,i,n,o,s,r,l,d,h,u,{swiper:c,extendParams:p,on:f,emit:m,params:g}=t;c.autoplay={running:!1,paused:!1,timeLeft:0},p({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let v=g&&g.autoplay?g.autoplay.delay:3e3,_=g&&g.autoplay?g.autoplay.delay:3e3,y=new Date().getTime();function w(t){c&&!c.destroyed&&c.wrapperEl&&t.target===c.wrapperEl&&(c.wrapperEl.removeEventListener("transitionend",w),u||M())}let x=()=>{if(c.destroyed||!c.autoplay.running)return;c.autoplay.paused?o=!0:o&&(_=n,o=!1);let t=c.autoplay.paused?n:y+_-new Date().getTime();c.autoplay.timeLeft=t,m("autoplayTimeLeft",t,t/v),i=requestAnimationFrame(()=>{x()})},T=()=>{let t;if(t=c.virtual&&c.params.virtual.enabled?c.slides.filter(t=>t.classList.contains("swiper-slide-active"))[0]:c.slides[c.activeIndex])return parseInt(t.getAttribute("data-swiper-autoplay"),10)},S=t=>{if(c.destroyed||!c.autoplay.running)return;cancelAnimationFrame(i),x();let o=void 0===t?c.params.autoplay.delay:t;v=c.params.autoplay.delay,_=c.params.autoplay.delay;let s=T();!Number.isNaN(s)&&s>0&&void 0===t&&(o=s,v=s,_=s),n=o;let r=c.params.speed,l=()=>{c&&!c.destroyed&&(c.params.autoplay.reverseDirection?!c.isBeginning||c.params.loop||c.params.rewind?(c.slidePrev(r,!0,!0),m("autoplay")):c.params.autoplay.stopOnLastSlide||(c.slideTo(c.slides.length-1,r,!0,!0),m("autoplay")):!c.isEnd||c.params.loop||c.params.rewind?(c.slideNext(r,!0,!0),m("autoplay")):c.params.autoplay.stopOnLastSlide||(c.slideTo(0,r,!0,!0),m("autoplay")),c.params.cssMode&&(y=new Date().getTime(),requestAnimationFrame(()=>{S()})))};return o>0?(clearTimeout(e),e=setTimeout(()=>{l()},o)):requestAnimationFrame(()=>{l()}),o},C=()=>{y=new Date().getTime(),c.autoplay.running=!0,S(),m("autoplayStart")},P=()=>{c.autoplay.running=!1,clearTimeout(e),cancelAnimationFrame(i),m("autoplayStop")},E=(t,i)=>{if(c.destroyed||!c.autoplay.running)return;clearTimeout(e),t||(h=!0);let o=()=>{m("autoplayPause"),c.params.autoplay.waitForTransition?c.wrapperEl.addEventListener("transitionend",w):M()};if(c.autoplay.paused=!0,i){d&&(n=c.params.autoplay.delay),d=!1,o();return}n=(n||c.params.autoplay.delay)-(new Date().getTime()-y),c.isEnd&&n<0&&!c.params.loop||(n<0&&(n=0),o())},M=()=>{c.isEnd&&n<0&&!c.params.loop||c.destroyed||!c.autoplay.running||(y=new Date().getTime(),h?(h=!1,S(n)):S(),c.autoplay.paused=!1,m("autoplayResume"))},A=()=>{if(c.destroyed||!c.autoplay.running)return;let t=b();"hidden"===t.visibilityState&&(h=!0,E(!0)),"visible"===t.visibilityState&&M()},k=t=>{"mouse"===t.pointerType&&(h=!0,u=!0,c.animating||c.autoplay.paused||E(!0))},z=t=>{"mouse"===t.pointerType&&(u=!1,c.autoplay.paused&&M())},O=()=>{c.params.autoplay.pauseOnMouseEnter&&(c.el.addEventListener("pointerenter",k),c.el.addEventListener("pointerleave",z))},I=()=>{c.el.removeEventListener("pointerenter",k),c.el.removeEventListener("pointerleave",z)},j=()=>{b().addEventListener("visibilitychange",A)},N=()=>{b().removeEventListener("visibilitychange",A)};f("init",()=>{c.params.autoplay.enabled&&(O(),j(),C())}),f("destroy",()=>{I(),N(),c.autoplay.running&&P()}),f("_freeModeStaticRelease",()=>{(r||h)&&M()}),f("_freeModeNoMomentumRelease",()=>{c.params.autoplay.disableOnInteraction?P():E(!0,!0)}),f("beforeTransitionStart",(t,e,i)=>{!c.destroyed&&c.autoplay.running&&(i||!c.params.autoplay.disableOnInteraction?E(!0,!0):P())}),f("sliderFirstMove",()=>{if(!c.destroyed&&c.autoplay.running){if(c.params.autoplay.disableOnInteraction){P();return}s=!0,r=!1,h=!1,l=setTimeout(()=>{h=!0,r=!0,E(!0)},200)}}),f("touchEnd",()=>{if(!c.destroyed&&c.autoplay.running&&s){if(clearTimeout(l),clearTimeout(e),c.params.autoplay.disableOnInteraction){r=!1,s=!1;return}r&&c.params.cssMode&&M(),r=!1,s=!1}}),f("slideChange",()=>{!c.destroyed&&c.autoplay.running&&(d=!0)}),Object.assign(c.autoplay,{start:C,stop:P,pause:E,resume:M})}
1Object.keys(to).forEach(t=>{Object.keys(to[t]).forEach(e=>{tr.prototype[e]=to[t][e]})}),tr.use([function(t){let{swiper:e,on:i,emit:n}=t,o=T(),s=null,r=null,l=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},d=()=>{e&&!e.destroyed&&e.initialized&&(s=new ResizeObserver(t=>{r=o.requestAnimationFrame(()=>{let{width:i,height:n}=e,o=i,s=n;t.forEach(t=>{let{contentBoxSize:i,contentRect:n,target:r}=t;r&&r!==e.el||(o=n?n.width:(i[0]||i).inlineSize,s=n?n.height:(i[0]||i).blockSize)}),(o!==i||s!==n)&&l()})})).observe(e.el)},h=()=>{r&&o.cancelAnimationFrame(r),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null)},u=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&void 0!==o.ResizeObserver){d();return}o.addEventListener("resize",l),o.addEventListener("orientationchange",u)}),i("destroy",()=>{h(),o.removeEventListener("resize",l),o.removeEventListener("orientationchange",u)})},function(t){let{swiper:e,extendParams:i,on:n,emit:o}=t,s=[],r=T(),l=function(t,i){void 0===i&&(i={});let n=new(r.MutationObserver||r.WebkitMutationObserver)(t=>{if(e.__preventObserver__)return;if(1===t.length){o("observerUpdate",t[0]);return}let i=function(){o("observerUpdate",t[0])};r.requestAnimationFrame?r.requestAnimationFrame(i):r.setTimeout(i,0)});n.observe(t,{attributes:void 0===i.attributes||i.attributes,childList:void 0===i.childList||i.childList,characterData:void 0===i.characterData||i.characterData}),s.push(n)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(e.params.observer){if(e.params.observeParents){let t=N(e.hostEl);for(let e=0;e<t.length;e+=1)l(t[e])}l(e.hostEl,{childList:e.params.observeSlideChildren}),l(e.wrapperEl,{attributes:!1})}}),n("destroy",()=>{s.forEach(t=>{t.disconnect()}),s.splice(0,s.length)})}]);var tc=function(t){let e=t.play();void 0!==e&&e.then(t=>{}).catch(t=>{console.log("Video Autoplay Aborted")})},tp=t=>{gtag("send","pageview",t)},g=(c("iUSsr"),c("iUSsr"),c("iUSsr"),c("iUSsr")),tf=n(g).fn.removeClass;n(g).fn.removeClass=function(){for(var t in arguments){var e=arguments[t];e&&e.constructor&&e.call&&e.apply&&(e(),e=null)}return tf.apply(this,arguments)};let tm={common:{init:function(t){var e,i,o,s=n(g)("#hamburger"),r=window.innerWidth,l=window.innerHeight,d=n(g)("#side_menu_wrapper"),h=n(g)("nav"),u=(document.querySelector("nav.home"),n(g)("nav>.wwfmark")),c=(h.height(),n(g)(".main_content")),p=n(g)(".loaded_inner"),f=gsap.timeline(),m=!1,v=n(g)(".page").attr("data-site-title"),_=document.querySelector(".main_content"),y=n(g)("body"),w=".swiper",b=".swiper_pagination",x={windowTolerance:function(){return r<1150?"mobile":"desktop"},resizeEvent:function(){if((e=window.innerWidth)!=r)return s.hasClass("active")&&C.closeMenu(),h.hasClass("scroll")&&"mobile"===x.windowTolerance()&&C.hideNav(),r=e}},T=function(t){switch(t){case"lock":y.addClass("locked");break;case"unlock":y.removeClass("locked")}},S={verifyLink:function(t){if(t.origin!=window.location.origin)return!0},setLinkState:function(){n(g)("a").each(function(){S.verifyLink(this)?(n(g)(this).addClass("external"),n(g)(this).get(0).setAttribute("target","_blank")):"arrow_left"!==n(g)(this).get(0).id&&"arrow_right"!==n(g)(this).get(0).id&&n(g)(this).addClass("internal")})},status:{load:"ready",get prop(){return this.load},set prop(newStatus){this.load=newStatus}},router:function(t){t.preventDefault(),t.stopPropagation();var e=n(g)(this).attr("href"),i=S.checkUrl(e);if(e===window.location.pathname||"not ready"===S.status.load){C.closeMenu();return}S.loadPage(e,i),S.status.load="not ready",window.history.pushState&&window.history.pushState(null,null,e)},checkUrl:function(t){return"/"===t},loadPage:function(t,e){!0!==m&&(n(g)("body").addClass("loadingImg"),s.hasClass("active")&&C.closeMenu(),h.hasClass("visibility_hidden")&&h.removeClass("visibility_hidden"),n(g)(window).animate({scrollTop:0},function(){p.fadeOut(300,function(){p.remove()})}),c.hasClass("fullHeight")&&gsap.set(y,{duration:.1,backgroundColor:"#151515"}),f.to(_,{duration:.75,ease:"steps.out",autoAlpha:"0",onComplete:function(t,e){S.pageJax(t,e)},onCompleteParams:[t,e]}))},pageJax:function(t,e){c.load(t+" .loaded_inner",function(i,o,s){n(g)("img").each(function(){n(g)(this).on("error",function(){return window.location.href=t,o="error"})}),"error"===o?window.location.href=t:(S.status.load="ready",tp(t),!e&&c.hasClass("fullHeight")?(c.removeClass("fullHeight"),h.removeClass("home"),u.removeClass("fill_change"),n(g)("#menu_wrapper").removeClass("fill_change"),f.to(y,{duration:.75,backgroundColor:"#ffffff"})):e&&(c.addClass("fullHeight"),h.addClass("home"),u.addClass("fill_change"),n(g)("#menu_wrapper").addClass("fill_change")),n(g)("body").off("
1click"),n(g)(document).off("keydown"),n(g)(window).off("resize"),f.to(_,{duration:.75,delay:.25,ease:"steps.out",autoAlpha:"1"}),S.passNewPage(t,e))})},pageTitle:function(t){document.title=t+" - "+v},passNewPage:function(t,e){m=!1,n(g)("body").removeClass("loadingImg"),n(g)("body").on("click",".internal",S.router),n(g)("body").on("click","button",function(t){t.stopPropagation,n(g)(this).addClass("btnActive"),n(g)("button").not(n(g)(this)).removeClass("btnActive")}),n(g)(window).resize(function(){x.resizeEvent()}),n(g)("body").find(".swiper").each(function(){n(g)(this)&&(w=n(g)(this)[0],n(g)(w).hasClass("swiper_pagination")&&(b=n(g)(this)[0]),P(w,b))}),i=n(g)(".page").get(0).id,o=n(g)(".page").attr("data-title"),PAGEJS.fire(i),S.pageTitle(o),S.setLinkState(),p=n(g)(".main_content").find(".loaded_inner");var s=document.getElementsByTagName("video");if(s)for(var r=0;r<s.length;r++)tc(s[r])}},C={openMenu:function(){T("lock"),h.hasClass("scroll")||h.hasClass("home")||c.css("paddingTop","55px"),d.css("height",l),h.addClass("active"),n(g)(".bar").addClass("active"),d.fadeIn(300).addClass("active"),C.closeMenu()},closeMenu:function(){s.hasClass("active")?(T("unlock"),h.removeClass("active"),s.removeClass("active"),n(g)(".bar").removeClass("active"),d.fadeOut(500,function(){d.removeClass("active")}),h.hasClass("scroll")||h.hasClass("home")||c.css("paddingTop","unset")):"mobile"===x.windowTolerance()&&s.addClass("active")},showNav:function(){c.hasClass("fullHeight")||c.css("paddingTop","55px"),h.addClass("scroll")},hideNav:function(){c.hasClass("fullHeight")||c.css("paddingTop","unset"),h.removeClass("scroll")}};function P(t,e){var i=document.querySelectorAll(".swiper_video");e&&new tr(e,{modules:[th,tu],spaceBetween:0,slidesPerView:1,loop:!0,speed:1,autoplay:{delay:3e3,disableOnInteraction:!1,waitForTransition:!1},pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},noSwiping:!0,noSwipingClass:"no-swipe",cssMode:!1,watchSlidesProgress:!1,preloadImages:!1,on:{init:function(){var t=this.activeIndex,e=document.getElementsByClassName("swiper-slide")[t+1],i=e.getElementsByTagName("video")[0],n=i.getAttribute("data-url"),o=e.getElementsByTagName("source")[0].getAttribute("src");(!o||o.length<1)&&i.setAttribute("src",n)},transitionStart:function(){Array.prototype.forEach.call(i,function(t){t.paused||(t.pause(),t.currentTime=0)})},transitionEnd:function(){var t=this.activeIndex,e=document.getElementsByClassName("swiper-slide")[t+1],i=e.getElementsByTagName("video")[0],n=i.getAttribute("data-url"),o=e.getElementsByTagName("source")[0].getAttribute("src"),s=i.getAttribute("src");(!o||o.length<1)&&(!s||s.length<1)&&i.setAttribute("src",n);var r=document.getElementsByClassName("swiper-slide")[t],l=r.getElementsByTagName("video")[0],d=l.getAttribute("data-url"),h=r.getElementsByTagName("source")[0].getAttribute("src"),u=l.getAttribute("src");(!h||h.length<1)&&(!u||u.length<1)&&l.setAttribute("src",d),l.paused&&l.play().catch(function(t){"AbortError"!==t.name&&console.warn("Video play error:",t)})}}}),t&&new tr(t,{modules:[tl],direction:"horizontal",loop:!1,navigation:{nextEl:".arrow_right",prevEl:".arrow_left"},cssMode:!1,slidesPerView:"auto",watchSlidesProgress:!0,preloadImages:!1,lazy:!0,on:{init:function(){n(g)(this.navigation.prevEl).css("visibility","hidden"),0===this.slides.length&&n(g)(this.navigation).css("visibility","hidden")},activeIndexChange:function(){this.activeIndex>0?n(g)(this.navigation.prevEl).css("visibility","visible"):0===this.activeIndex&&n(g)(this.navigation.prevEl).css("visibility","hidden"),this.isEnd?n(g)(this.navigation.nextEl).css("visibility","hidden"):n(g)(this.navigation.nextEl).css("visibility","visible")}}})}s.on("click",function(t){C.openMenu()}),window.addEventListener("scroll",function(t){window.pageYOffset,n(g)("body").hasClass("locked")||n(g)("#filter_section").hasClass("active")||"mobile"!==x.windowTolerance()||(document.body.scrollTop>50|document.documentElement.scrollTop>50?C.showNav():document.body.scrollTop<50|document.documentElement.scrollTop<50&&C.hideNav())},!1),S.setLinkState(),n(g)("body").on("click",".internal",S.router),window.addEventListener("popstate",function(t){var e=t.currentTarget.location.pathname,i=S.checkUrl(e);m=!1,S.loadPage(e,i)}),P(w,b),n(g)("body").on("click","button",function(t){t.stopPropagation,n(g)(this).addClass("btnActive"),n(g)("button").not(n(g)(this)).removeClass("btnActive")}
1),n(g)(window).resize(function(){x.resizeEvent()})}},projects:{init:function(t){var e,i=n(g)(".overlay"),o=n(g)(".abs_filter"),s=(n(g)(".inner_content"),n(g)("#index_container")),r=n(g)("#filter_section"),l=n(g)(".filter_xit"),d=n(g)(".tag"),h=n(g)(".artist_tag"),u=n(g)(".material_tag"),c=n(g)(".process_tag"),p=n(g)(".year_tag"),f=(n(g)(".page_header.projects"),n(g)(".all")),m=n(g)(".filter_option"),v=n(g)(".tag"),_=(n(g)(".active_tag"),n(g)(".active_tag>small"),n(g)(".project")),y=document.getElementsByClassName("project"),w=(y.length,n(g)("nav")),b={openFilterMenu:function(){e=r.offset().top-70,i.hasClass("active")||(gsap.to(s,{duration:.4,autoAlpha:"0"}),w.addClass("visibility_hidden"),f.addClass("visibility_hidden"),n(g)(window).animate({scrollTop:e},function(){r.addClass("active"),o.fadeIn(300).addClass("active"),i.fadeIn(300).addClass("active")}))},closeFilterWindow:function(){e=r.offset().top-70,d.fadeOut(300),i.fadeOut(300).removeClass("active",function(){o.css("display","none").removeClass("active"),r.removeClass("active",function(){n(g)(window).animate({scrollTop:e},300),gsap.to(s,{duration:.5,autoAlpha:"1"}),w.removeClass("visibility_hidden"),f.removeClass("visibility_hidden")}).attr("style","")})},chooseFilterTab:function(t){t.hasClass("artist")?(d.not(h).css("display","none"),h.css("display","block"),b.openFilterMenu()):t.hasClass("material")?(d.not(u).css("display","none"),u.css("display","block"),b.openFilterMenu()):t.hasClass("process")?(d.not(c).css("display","none"),c.css("display","block"),b.openFilterMenu()):t.hasClass("year")?(d.not(p).css("display","none"),p.css("display","block"),b.openFilterMenu()):t.hasClass("all")&&(b.removeTag(n(g)(".project")),f.removeClass("active"),n(g)(".project").addClass("filtered"),b.closeFilterWindow())},showActiveTag:function(t,e,i){if(null==t){_.find(".active_tag").removeClass("active").children(".active_tag_inner").find("small").text("");return}i?t.find(".active_tag").addClass("active").children(".active_tag_inner").css("display","none"):(t.find(".active_tag").addClass("active").children(".active_tag_inner").find("small").text(e),t.find(".active_tag").addClass("active").children(".active_tag_inner").css("display","block")),f.children("small").text(e)},removeTag:function(t){t.each(function(){n(g)(this).find(".active_tag").removeClass("active").children(".active_tag_inner").find("small").text()})},filterThis:function(t){preventShow=!1,f.addClass("active");for(var e=t.attr("data-filter"),i=t.text(),o=0;o<y.length;o++)projectAttr_Arr=y[o].getAttribute("data-filter").split(" "),t.hasClass("artist_tag")&&(preventShow=!0),b.showActiveTag(n(g)(y[o]),i,preventShow),-1!=projectAttr_Arr.indexOf(e)?y[o].classList.add("filtered"):y[o].classList.remove("filtered");b.closeFilterWindow()}};if(m.on("click",function(){n(g)(this).hasClass("all")||b.openFilterMenu(),b.chooseFilterTab(n(g)(this))}),l.on("click",function(){i.hasClass("active")&&(n(g)(".project").addClass("filtered"),f.removeClass("active"),b.closeFilterWindow(),b.showActiveTag(null,null,null))}),v.on("click",function(t){n(g)(this).hasClass("noFilter")||b.filterThis(n(g)(this))}),window.location.hash){var x=window.location.hash.replace("#","");v.each(function(){-1!=n(g)(this).attr("data-filter").split(" ").indexOf(x)&&b.filterThis(n(g)(this)),history.replaceState(null,null," ")})}}},project:{init:function(t){var e={};e.dom={info:document.querySelector(".right_justified_partial"),r:!1,pageContainer:document.querySelector(".main_content"),parent:document.querySelector("#slide_container"),current:document.querySelector("#main_slide"),arrows:document.querySelectorAll(".arrow"),arrowPrev:document.querySelector("#arrow_left"),arrowNext:document.querySelector("#arrow_right"),slideAreaContainer:document.querySelector(".project_slide"),pageDataContainer:document.querySelector(".page")},e.getDom={currentUrl:e.dom.current.getAttribute("data-url"),currentInner:e.dom.current.innerHTML,arrowSet:Array.prototype.slice.call(e.dom.arrows),slideID:e.dom.slideAreaContainer.getAttribute("data-project"),totalPages:e.dom.slideAreaContainer.getAttribute("data-total")},e.state={isLoaded:{currentStatus:{s:"loaded",e:e.dom.info},get status(){return this.currentStatus},set status(newStatus){"loaded"==newStatus.s?newStatus.e.classList.remove(e.dom.loading):"loading"==newStatus.s&&newStatus.e.classList.add(e.dom.loading),this.currentStatus=newStatus}},previousProject:{title:void 0,path:void 0},nextProject:{title:void 0,path:void 0},currentProjectPath:e.dom.pageDataContainer.getAttribute("data-path"),pageProjectTitle:e.dom.pageDataContainer.getAttribute("data-title"),siteTitle:e.dom.pageDataContainer.getAttribute("data-site-title")},e.initialize={loadNeighbor:function(t){for(;e.dom.parent.firstChild;)e.dom.parent.removeChild(e.dom.parent.firstChild);e.thumbnails.currentThumbs.thumbnails[e.slideshow.slideCount].classList.add("btnActive"),e.initialize.setupSlideDOM(),e.slideshow.func.lazyLoad(e.dom.info),e.dom.slideAreaContainer.setAttribute("data-project",e.getDom.slideID),e.slideshow.func.animateSlides(e.slideshow.d,t,e.slideshow.slideCount,e.alternativeNavigation.swiper,e.slideshow.range)},setupSlideDOM:function(){if(e.dom.parent.appendChild(e.slideshow.projectA.element).classList.add("slide",e.dom.loading,"abs_target"),e.slideshow.projectA.element.appendChild(e.slideshow.projectA.data).classList.add("hide"),e.dom.current.classList.contains("video"))e.dom.parent.appendChild(e.slideshow.projectB.element).classList.add("slide","video","abs_target"),e.slideshow.projectB.element.innerHTML=e.getDom.currentInner;else{e.dom.parent.appendChild(e.slideshow.projectB.element).classList.add("slide","abs_target",e.dom.loading),e.slideshow.projectB.element.style.backgroundImage="";var t=document.createElement("img");t.classList.add("hide","temp"),t.style.display="none",e.slideshow.frag.append(t),t.src=e.getDom.currentUrl,e.slideshow.func.replaceWithCache(e.slideshow.projectB.element,t)}e.slideshow.projectB.element.appendChild(e.slideshow.projectB.data).classList.add("hide"),e.slideshow.projectB.data.innerHTML=e.dom.info.innerHTML,e.dom.parent.appendChild(e.slideshow.projectC.element).classList.add("slide",e.dom.loading,"abs_target"),e.slideshow.projectC.element.appendChild(e.slideshow.projectC.data).classList.add("hide"),e.slideshow.projectA.element.style.transform="translate(-110%)",e.slideshow.projectC.element.style.transform="translate(110%)",e.slideshow.func.createProjectSlides(e.thumbnails.currentThumbs.thumbnails),e.slideshow.currentSlide.prop=e.slideshow.projectB.element},setProjectPaths:function(t){for(var i,n,o,s,r,l=0;l<projectsSorted.length;)projectsSorted[l].path==t&&(1==projectsSorted[l].index?(s=projectsSorted[l+1],r=projectsSorted[totalProjects-1]):projectsSorted[l].index>1&&projectsSorted[l].index<totalProjects?(s=projectsSorted[l+1],r=projectsSorted[l-1]):projectsSorted[l].index==totalProjects&&(s=projectsSorted[0],r=projectsSorted[l-1]),i=s,n=r,o=projectsSorted[l].title,document.title=o+" - "+e.state.siteTitle,e.state.currentProjectPath=t,e.state.previousProject.title=n.title,e.state.previousProject.path=n.path,e.state.nextProject.title=i.title,e.state.nextProject.path=i.path),l++}},e.thumbnails={currentThumbs:{thumbs:e.dom.info.querySelectorAll(".thumbnail"),get thumbnails(){return this.thumbs},set thumbnails(newThumbs){this.thumbs=newThumbs}}
1,func:{activateThumb:function(t,e,i){var n=t[e].parentElement,o=t[e].offsetLeft,s=(n.offsetWidth,t[0].offsetWidth*t.length+20*t.length);scrollPosition=o/s*s-10;for(var r=0;r<t.length;r++)t[r].classList.remove("btnActive");n.scroll(scrollPosition,0),t[e].classList.add("btnActive")}}},e.slideshow={slideCount:0,frag:document.createDocumentFragment(),projectA:{element:document.createElement("div"),data:document.createElement("div")},projectB:{element:document.createElement("div"),data:document.createElement("div")},projectC:{element:document.createElement("div"),data:document.createElement("div")},projectSlideArr:[],range:[],currentSlide:{slide:void 0,get prop(){return this.slide},set prop(nextSlide){nextSlide.classList.add("draggable"),this.slide=nextSlide}},cached_1:[],cached_2:[],slideVideoTemplate:"<video class='slideVideo reel' data-setup='{}' playsinline='playsinline' autoplay='autoplay' preload='metadata' loop='loop' muted='muted'><source src='' type='video/mp4'></video>",switchOver:gsap.timeline(),func:{animate:function(t,i,n,o,s,r,l,d,h){e.slideshow.cache_slides_1={elem1:t,position1:i},e.slideshow.cache_slides_2={elem2:n,position2:o},e.slideshow.cached_1.push(e.slideshow.cache_slides_1),e.slideshow.cached_2.push(e.slideshow.cache_slides_2),e.slideshow.currentSlide.prop.classList.remove("draggable"),e.slideshow.currentSlide.prop=n,e.slideshow.func.checkTitleCredits(r,l),anim1=d?gsap.fromTo(t,{transform:"translate("+d+"px)"},{duration:h,ease:"steps.out",transform:"translate("+i+")"}):gsap.to(t,{duration:h,ease:"steps.out",transform:"translate("+i+")"}),anim2=gsap.to(n,{duration:h,ease:"steps.out",transform:"translate("+o+")",onComplete:s.bind(null,r,l,i)})},resizeTransform:function(t,e){if(t&&e)for(var i=0;i<t.length;i++)gsap.set(t[i].elem1,{transform:"translate("+t[i].position1+")"}),i<=e.length-1&&gsap.set(e[i].elem2,{transform:"translate("+e[i].position2+")"})},playVideo:function(t,i){tc(i),t.classList.remove(e.dom.loading)},lazyLoad:function(t){var i,n,o=e.dom.info.querySelectorAll(".thumbnail");for(e.dom.info.querySelectorAll(".temp"),i=0;i<o.length;i++){var n=o[i],s=n.getAttribute("data-url"),r=document.createElement("img");if(r.classList.add("hide","temp"),r.style.display="none",e.slideshow.frag.append(r),n.classList.contains("video")){var l=n.querySelector("video"),d=l.querySelector("source"),h=d.getAttribute("data-url");d.setAttribute("src",h),e.slideshow.func.playVideo(n,l)}else r.src=s,e.slideshow.func.replaceWithCache(n,r)}document.querySelector(".thumbnails").appendChild(e.slideshow.frag)},checkTrigger:function(t){if(t.target.classList.contains("arrow")&&"loaded"==e.state.isLoaded.status.s){e.slideshow.func.triggerChange(t.target);return}return!1},triggerChange:function(t){if(t==e.dom.arrowPrev)e.slideshow.range=[],e.slideshow.d="prev",e.slideshow.slideCount--,e.pageParameters.loadUrl=e.state.previousProject.path;else if(t==e.dom.arrowNext)e.slideshow.slideCount+1==e.slideshow.projectSlideArr.length?(e.slideshow.range.push(e.slideshow.projectSlideArr[e.slideshow.slideCount]),e.slideshow.slideCount=e.slideshow.projectSlideArr.length):e.slideshow.slideCount++,e.slideshow.d="next",e.pageParameters.loadUrl=e.state.nextProject.path;else if(t.classList.contains("left")&&t!=e.dom.arrowPrev){for(var i=0;i<e.slideshow.slideCount+1;i++)e.slideshow.range.push(e.slideshow.projectSlideArr[i]);e.slideshow.range.reverse(),e.slideshow.d="prev",e.pageParameters.loadUrl=e.state.previousProject.path,e.slideshow.slideCount=-1}else if(t.classList.contains("right")&&t!=e.dom.arrowNext){for(var i=e.slideshow.slideCount;i<e.slideshow.projectSlideArr.length;i++)e.slideshow.range.push(e.slideshow.projectSlideArr[i]);e.slideshow.d="next",e.pageParameters.loadUrl=e.state.nextProject.path,e.slideshow.slideCount=e.slideshow.projectSlideArr.length}e.slideshow.func.animateSlides(e.slideshow.d,e.pageParameters.loadUrl,e.slideshow.slideCount,e.alternativeNavigation.swiper,e.slideshow.range)},animateSlides:function(t,i,n,o,s){t&&i!==e.state.pageProjectPath&&"loaded"==e.state.isLoaded.status.s?"prev"==t&&n>0?e.slideshow.func.animate(e.slideshow.projectSlideArr[n+1],"110%",e.slideshow.projectSlideArr[n],"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,o,".35"):"prev"==t&&0===n?e.slideshow.func.animate(e.slideshow.projectSlideArr[n+1],"110%",e.slideshow.projectB.element,"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,o,".35"):"next"==t&&1===n&&e.slideshow.projectSlideArr.length!==n?e.slideshow.func.animate(e.slideshow.projectB.element,"-110%",e.slideshow.projectSlideArr[n],"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,o,".35"):"next"==t&&n<e.slideshow.projectSlideArr.length?e.slideshow.func.animate(e.slideshow.projectSlideArr[n-1],"-110%",e.slideshow.projectSlideArr[n],"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,o,".35"):("prev"==t||"next"==t&&n<0||n>=e.slideshow.projectSlideArr.length)&&(e.initialize.setProjectPaths(i),window.history.pushState&&window.history.pushState(null,null,i),tp(i),e.state.isLoaded.status={s:"loading",e:e.dom.info},(0==e.slideshow.projectC.data.children.length||0==e.slideshow.projectA.data.children.length)&&(console.log("Error loading next project"),window.location.href=i),"prev"==t?(e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskPosition:"100%, 0%"}),e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskImage:"linear-gradient(to left, rgba(255,255,255,1) 70%, rgba(255,255,255, 0)"}),e.slideshow.switchOver.to(e.dom.pageContainer,{duration:.5,ease:"steps.out",WebkitMaskPosition:"-100%, 0%",onComplete:e.slideshow.func.projectTransitionComplete.bind(null,e.slideshow.projectB.element,"110%",e.slideshow.projectA.element,e.slideshow.func.createNextProject,e.thumbnails.currentThumbs.thumbnails,n,o)}),e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskImage:"linear-gradient(to right, rgba(255,255,255,1) 70%, rgba(255,255,255, 0))"}),e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskPosition:"200%, 0%"}),e.slideshow.switchOver.to(e.dom.pageContainer,{duration:.75,ease:"steps.out",WebkitMaskPosition:"0%, 0%"})):(e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskPosition:"0%, 0%"}),e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskImage:"linear-gradient(to right, rgba(255,255,255,1) 70%, rgba(255,255,255, 0))"}),e.slideshow.switchOver.to(e.dom.pageContainer,{duration:.5,ease:"steps.out",WebkitMaskPosition:"200%, 0%",onComplete:e.slideshow.func.projectTransitionComplete.bind(null,e.slideshow.projectB.element,"-110%",e.slideshow.projectC.element,e.slideshow.func.createNextProject,e.thumbnails.currentThumbs.thumbnails,n,o)}),e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskImage:"linear-gradient(to left, rgba(255,255,255,1) 70%, rgba(255,255,255, 0)"}),e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskPosition:"-100%, 0%"}),e.slideshow.switchOver.to(e.dom.pageContainer,{duration:.75,ease:"steps.out",WebkitMaskPosition:"100%, 0%"}))):(e.initialize.setProjectPaths(i),e.state.previousProject.path&&e.slideshow.func.slideAjax(e.slideshow.projectA.element,e.slideshow.projectA.data,e.state.previousProject.path),e.state.nextProject.path&&e.slideshow.func.slideAjax(e.slideshow.projectC.element,e.slideshow.projectC.data,e.state.nextProject.path))},projectTransitionComplete:function(t,i,n,o,s,r,l){e.slideshow.range.push(t),e.slideshow.func.animate(t,i,n,"0%",o,s,r,l,"0")},createNextProject:function(t,i,n){"110%"==n?e.slideshow.currentSlideContext={removeSlide:{slide:e.slideshow.projectC.element,info:e.slideshow.projectC.data},movingOutOfFrame:{slide:e.slideshow.projectB.element,info:e.slideshow.projectB.data,position:n},movingIntoFrame:{slide:e.slideshow.projectA.element,info:e.slideshow.projectA.data},resetSlideVars:function(){e.slideshow.projectC.element=e.slideshow.currentSlideContext.movingOutOfFrame.slide,e.slideshow.projectC.data=e.slideshow.currentSlideContext.movingOutOfFrame.info,e.slideshow.projectB.element=e.slideshow.currentSlideContext.movingIntoFrame.slide,e.slideshow.projectB.data=e.slideshow.currentSlideContext.movingIntoFrame.info,e.slideshow.projectA.element=document.createElement("div"),e.slideshow.projectA.element.style.transform="translate(-110%)",e.slideshow.projectA.data=document.createElement("div"),e.slideshow.projectA.element.appendChild(e.slideshow.projectA.data).classList.add("hide"),e.slideshow.projectA.data.classList.add("hide"),e.dom.parent.insertBefore(e.slideshow.projectA.element,e.slideshow.projectB.element).classList.add("slide",e.dom.loading,"abs_target"),e.slideshow.func.slideAjax(e.slideshow.projectA.element,e.slideshow.projectA.data,e.state.previousProject.path)}}:"-110%"==n&&(e.slideshow.currentSlideContext={removeSlide:{slide:e.slideshow.projectA.element,info:e.slideshow.projectA.data},movingOutOfFrame:{slide:e.slideshow.projectB.element,info:e.slideshow.projectB.data,position:n},movingIntoFrame:{slide:e.slideshow.projectC.element,info:e.slideshow.projectC.data},resetSlideVars:function(){e.slideshow.projectA.element=e.slideshow.currentSlideContext.movingOutOfFrame.slide,e.slideshow.projectA.data=e.slideshow.currentSlideContext.movingOutOfFrame.info,e.slideshow.projectB.element=e.slideshow.currentSlideContext.movingIntoFrame.slide,e.slideshow.projectB.data=e.slideshow.currentSlideContext.movingIntoFrame.info,e.slideshow.projectC.element=document.createElement("div"),e.slideshow.projectC.element.style.transform="translate(110%)",e.slideshow.projectC.data=document.createElement("div"),e.slideshow.projectC.element.appendChild(e.slideshow.projectC.data).classList.add("hide"),e.slideshow.projectC.data.classList.add("hide"),e.slideshow.projectB.element.parentNode.insertBefore(e.slideshow.projectC.element,e.slideshow.projectB.element.nextElementSibling).classList.add("slide",e.dom.loading,"abs_target"),e.slideshow.func.slideAjax(e.slideshow.projectC.element,e.slideshow.projectC.data,e.state.nextProject.path)}});for(var o=0;o<e.slideshow.projectSlideArr.length;o++)e.slideshow.projectSlideArr[o].remove();if(e.slideshow.cached_1=[],e.slideshow.cached_2=[],e.slideshow.cache_slides_1={elem1:e.slideshow.currentSlideContext.movingOutOfFrame.slide,position1:e.slideshow.currentSlideContext.movingOutOfFrame.position},e.slideshow.cached_1.push(e.slideshow.cache_slides_1),e.slideshow.projectSlideArr=[],e.dom.info.innerHTML=e.slideshow.currentSlideContext.movingIntoFrame.info.innerHTML,e.thumbnails.currentThumbs.thumbnails=e.dom.info.querySelectorAll(".thumbnail"),e.slideshow.func.createProjectSlides(e.thumbnails.currentThumbs.thumbnails),e.slideshow.func.lazyLoad(e.dom.info),e.slideshow.currentSlideContext.removeSlide.slide.remove(),e.slideshow.currentSlideContext.resetSlideVars(),e.slideshow.projectB.element.classList.contains("video")){var s=e.slideshow.projectB.element.querySelector("video");e.slideshow.func.playVideo(e.slideshow.projectB.element,s)}}
1,slideAjax:function(t,i,o){n(g).ajax({url:o,dataType:"text",success:function(o){var s,r=o.replace(/<img\b[^>]*>/ig,"").replace(/<link\b[^>]*>/ig,""),l=n(g)(document.createElement("div")).append(r);l.find("link").remove(),tempHtml=l.html();var d=document.createElement("div");document.querySelector("body").appendChild(d).style.display="none",d.innerHTML=tempHtml;var h=d.querySelector("#main_slide");if(h.classList.contains("video")){var u=h.innerHTML;t.innerHTML=u,t.classList.add("video",e.dom.loading),t.querySelector("video").pause()}else{var c=h.getAttribute("data-url"),p=document.createElement("img");p.classList.add("hide","temp"),t.appendChild(p).style.display="none",p.src=c,e.slideshow.func.replaceWithCache(t,p)}d.querySelector(".page").getAttribute("data-title"),s=d.querySelector(".right_justified_partial").innerHTML,i.innerHTML=s,e.state.isLoaded.status={s:"loaded",e:e.dom.info},d.remove()},error:function(t,e,i){console.error(t,e,i),window.location.href=o}})},createProjectSlides:function(t){for(var i=0;i<t.length;i++){if((projectSlide=document.createElement("div")).classList.add("slide",e.dom.loading,"abs_target"),e.slideshow.frag.append(projectSlide),i>0){if(t[i].classList.contains("video")){projectSlide.innerHTML=e.slideshow.slideVideoTemplate;var n=projectSlide.querySelector("video");projectSlide.querySelector("source").src=t[i].getAttribute("data-url"),e.slideshow.func.playVideo(projectSlide,n)}else e.slideshow.lazySlide=document.createElement("img"),e.slideshow.lazySlide.classList.add("hide"),projectSlide.style.backgroundImage="url("+t[i].getAttribute("data-url")+")",projectSlide.append(e.slideshow.lazySlide),e.slideshow.lazySlide.src=t[i].getAttribute("data-full"),e.slideshow.func.replaceWithCache(projectSlide,e.slideshow.lazySlide)}projectSlide.style.transform="translate(110%)",e.slideshow.projectSlideArr.push(projectSlide),e.slideshow.projectSlideArr[0].classList.add("hide")}return e.slideshow.projectB.element.parentNode.insertBefore(e.slideshow.frag,e.slideshow.projectB.element.nextElementSibling),e.slideshow.slideCount=0,e.slideshow.func.checkTitleCredits(t,e.slideshow.slideCount),e.thumbnails.func.activateThumb(t,e.slideshow.slideCount,e.dom.r),e.slideshow.slideCount},checkTitleCredits:function(t,i){if(!t[i])return;let n=t[i].getAttribute("data-image-title"),o=t[i].getAttribute("data-image-credit"),s=t[0].getAttribute("data-project"),r=e.dom.info.querySelector(".project_title"),l=e.dom.info.querySelector(".credit");n?r.textContent=n:r.textContent=s,o?(l.style.visibility="visible",l.textContent=o):(l.style.visibility="hidden",l.textContent="null")},replaceWithCache:function(t,i){i.onload=function(){var n=i.src;i.remove(),t.style.backgroundImage="url("+n+")",t.classList.remove(e.dom.loading)}}}},e.alternativeNavigation={swiping:{currentStatus:"not swiping",get status(){return this.currentStatus},set status(newStatus){this.currentStatus=newStatus}},longTouch:!1,swiper:!1,func:{swipeSlide:function(t){if("loading"!=e.state.isLoaded.status.s&&(!t.touches||!(t.touches.length>1))&&"is swiping"!=e.alternativeNavigation.swiping.status){e.alternativeNavigation.swiping.status;var i=t.target;i.moving=!0,t.clientX?i.oldX=t.clientX:i.oldX=t.touches[0].clientX,i.onmousemove=n,i.ontouchmove=n,i.ontouchcancel=function(t){return o(t,e.alternativeNavigation.longTouch),i.moving=!1,!0},i.onmouseup=function(t){return o(t,e.alternativeNavigation.longTouch),i.moving=!1,!0},i.ontouchend=function(t){return o(t,e.alternativeNavigation.longTouch),i.moving=!1,!0},parent.addEventListener("mouseleave",function(t){!1!=i.moving&&(t.stopPropagation(),gsap.to(e.slideshow.currentSlide.prop,{duration:.65,ease:"power2.in",transform:"translate(0%)"}),i.moving=!1)})}function n(t){i.moving&&(t.touches&&t.touches.length>1||"is swiping"==e.alternativeNavigation.swiping.status||(e.alternativeNavigation.longTouch=!1,e.alternativeNavigation.touchTimeout=setTimeout(function(){e.alternativeNavigation.longTouch=!0},550),t.clientX?i.distX=t.clientX-i.oldX:i.distX=t.touches[0].clientX-i.oldX,e.slideshow.currentSlide.prop.style.transform="translate("+i.distX+"px, 0px)"))}function o(t,n){if(e.alternativeNavigation.swiping.status="not swiping",window.clearTimeout(e.alternativeNavigation.touchTimeout),i.distX>0&&i.distX>e.dom.parent.offsetWidth/4&&e.alternativeNavigation.longTouch||i.distX>0&&i.distX>e.dom.parent.offsetWidth/15&&!1==e.alternativeNavigation.longTouch){e.alternativeNavigation.func.trans_
1slide("prev",i.distX),e.alternativeNavigation.longTouch=!1;return}if(-i.distX>0&&-i.distX>e.dom.parent.offsetWidth/4&&e.alternativeNavigation.longTouch||-i.distX>0&&-i.distX>e.dom.parent.offsetWidth/15&&!1==e.alternativeNavigation.longTouch){e.alternativeNavigation.func.trans_slide("next",i.distX),e.alternativeNavigation.longTouch=!1;return}(i.distX<e.dom.parent.offsetWidth/4&&!1==e.alternativeNavigation.longTouch||-i.distX<e.dom.parent.offsetWidth/4&&!1==e.alternativeNavigation.longTouch)&&gsap.fromTo(e.slideshow.currentSlide.prop,{transform:"translate("+i.distX+"px)"},{duration:.65,ease:"power2.in",transform:"translate(0%)"})}},trans_slide:function(t,i){"loading"!=e.state.isLoaded.status.s&&("prev"==t?(e.slideshow.range=[],e.pageParameters.loadUrl=e.state.previousProject.path,e.slideshow.slideCount--):(e.slideshow.slideCount+1==e.slideshow.projectSlideArr.length?(e.slideshow.range.push(e.slideshow.projectSlideArr[e.slideshow.slideCount]),e.slideshow.slideCount=e.slideshow.projectSlideArr.length):e.slideshow.slideCount++,e.pageParameters.loadUrl=e.state.nextProject.path),e.slideshow.func.animateSlides(t,e.pageParameters.loadUrl,e.slideshow.slideCount,i,e.slideshow.range),e.dom.arrowPrev=document.querySelector("#arrow_left"),e.dom.arrowNext=document.querySelector("#arrow_right"))}},thumbnailNavigation:function(t,i){e.slideshow.range=[];var n=i.index();if(n<e.slideshow.slideCount){for(var o=n;o<e.slideshow.slideCount;o++)e.slideshow.range.push(e.slideshow.projectSlideArr[o]);e.slideshow.range.reverse()}else if(n>e.slideshow.slideCount)for(var o=e.slideshow.slideCount;o<n;o++)e.slideshow.range.push(e.slideshow.projectSlideArr[o]);n!=e.slideshow.slideCount&&(0==n&&0!=e.slideshow.slideCount?(e.slideshow.range.unshift(e.slideshow.projectSlideArr[e.slideshow.slideCount]),e.slideshow.func.animate(e.slideshow.range,"110%",e.slideshow.projectB.element,"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,e.alternativeNavigation.swiper,".35")):0==e.slideshow.slideCount?(e.slideshow.range.unshift(e.slideshow.projectB.element),e.slideshow.func.animate(e.slideshow.range,"-110%",e.slideshow.projectSlideArr[n],"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,e.alternativeNavigation.swiper,".35")):n>e.slideshow.slideCount&&n>0?(e.slideshow.range.unshift(e.slideshow.projectSlideArr[e.slideshow.slideCount]),e.slideshow.func.animate(e.slideshow.range,"-110%",e.slideshow.projectSlideArr[n],"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,e.alternativeNavigation.swiper,".35")):n<e.slideshow.slideCount&&(e.slideshow.range.unshift(e.slideshow.projectSlideArr[e.slideshow.slideCount]),e.slideshow.func.animate(e.slideshow.range,"110%",e.slideshow.projectSlideArr[n],"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,e.alternativeNavigation.swiper,".35")),e.slideshow.slideCount=n)}},e.pageParameters={field:window.innerWidth,fieldY:window.innerHeight,currentPage:window.location.pathname},e.initialize.loadNeighbor(e.state.currentProjectPath),n(g)("body").on("click",function(t){t.preventDefault(),e.slideshow.func.checkTrigger(t)}),n(g)(document).keydown(function(t){switch(t.which){case 37:t.preventDefault(),e.alternativeNavigation.func.trans_slide("prev");break;case 39:t.preventDefault(),e.alternativeNavigation.func.trans_slide("next")}}),e.dom.parent.ontouchstart=e.alternativeNavigation.func.swipeSlide,e.dom.parent.onmousedown=e.alternativeNavigation.func.swipeSlide,n(g)("body").on("click",".thumbnail",function(t){e.alternativeNavigation.thumbnailNavigation(t,n(g)(this))}),n(g)(window).resize(function(){var t=window.innerWidth;t!=e.pageParameters.field&&e.slideshow.func.resizeTransform(e.slideshow.cached_1,e.slideshow.cached_2),e.pageParameters.field=t})}},gallery:{init:function(t){var e={};e.dom={info:document.querySelector(".right_justified_partial"),r:!1,pageContainer:document.querySelector(".main_content"),parent:document.querySelector("#slide_container"),current:document.querySelector("#main_slide"),arrows:document.querySelectorAll(".arrow"),arrowPrev:document.querySelector("#arrow_left"),arrowNext:document.querySelector("#arrow_right"),slideAreaContainer:document.querySelector(".project_slide"),loading:"loading"},e.getDom={currentUrl:e.dom.current.getAttribute("data-url"),currentInner:e.dom.current.innerHTML,arrowSet:Array.prototype.slice.call(e.dom.arrows),slideID:e.dom.slideAreaContainer.getAttribute("data-project"),totalPages:e.dom.slideAreaContainer.getAttribute("data-total")},e.state={isLoaded:{currentStatus:{s:"loaded",e:e.dom.info},get status(){return this.currentStatus},set status(newStatus){"loaded"==newStatus.s?newStatus.e.classList.remove(e.dom.loading):"loading"==newStatus.s&&newStatus.e.classList.add(e.dom.loading),this.currentStatus=newStatus}}},e.initialize={loadNeighbor:function(){for(;e.dom.parent.firstChild;)e.dom.parent.removeChild(e.dom.parent.firstChild);e.thumbnails.currentThumbs.thumbnails[e.slideshow.slideCount].classList.add("btnActive"),e.initialize.createChildren(),e.slideshow.func.lazyLoad(e.dom.info),e.dom.slideAreaContainer.setAttribute("data-project",e.getDom.slideID),e.slideshow.func.animateSlides(e.slideshow.d,e.pageParameters.loadUrl,e.slideshow.slideCount,e.alternativeNavigation.swiper,e.slideshow.range)},createChildren:function(){if(e.dom.parent.appendChild(e.slideshow.a).classList.add("slide",e.dom.loading,"abs_target"),e.slideshow.a.appendChild(e.slideshow.aInfo).classList.add("hide"),e.slideshow.a.setAttribute("data-arrow-left",""),e.slideshow.a.setAttribute("data-arrow-right",""),e.dom.current.classList.contains("video"))e.dom.parent.appendChild(e.slideshow.b).classList.add("slide","video","abs_target"),e.slideshow.b.innerHTML=e.getDom.currentInner;else{e.dom.parent.appendChild(e.slideshow.b).classList.add("slide","abs_target",e.dom.loading),e.slideshow.b.style.backgroundImage="";var t=document.createElement("img");t.classList.add("hide","temp"),t.style.display="none",e.slideshow.frag.append(t),t.src=e.getDom.currentUrl,e.slideshow.func.replaceWithCache(e.slideshow.b,t)}e.slideshow.b.appendChild(e.slideshow.bInfo).classList.add("hide"),e.slideshow.b.setAttribute("data-arrow-left",""),e.slideshow.b.setAttribute("data-arrow-right",""),e.slideshow.bInfo.innerHTML=e.dom.info.innerHTML,e.dom.parent.appendChild(e.slideshow.c).classList.add("slide",e.dom.loading,"abs_target"),e.slideshow.c.appendChild(e.slideshow.cInfo).classList.add("hide"),e.slideshow.c.setAttribute("data-arrow-left",""),e.slideshow.c.setAttribute("data-arrow-right",""),e.slideshow.a.style.transform="translate(-110%)",e.slideshow.c.style.transform="translate(110%)",e.slideshow.func.createProjectSlides(e.thumbnails.currentThumbs.thumbnails),e.slideshow.currentSlide.prop=e.slideshow.b},verifyNeighbors:function(){if(e.dom.arrowPrev&&e.dom.arrowNext)return e.slideshow.p=e.dom.arrowPrev.getAttribute("href"),e.slideshow.n=e.dom.arrowNext.getAttribute("href"),[e.slideshow.p,e.slideshow.n];if(void 0!==e.dom.arrowPrev&&void 0==e.dom.arrowNext){var t=document.createElement("a");return document.querySelector("#directional_arrows").appendChild(t),t.outerHTML=e.slideshow.rightArrowHtml,e.dom.arrowNext=n(g)("#arrow_right").get(0),e.slideshow.p=e.dom.arrowPrev.getAttribute("href"),e.slideshow.n="/gallery/",[e.slideshow.p,e.slideshow.n]}if(void 0==e.dom.arrowPrev&&void 0!==e.dom.arrowNext){var i=document.createElement("a");return document.querySelector("#directional_arrows").appendChild(i),i.outerHTML=e.slideshow.leftArrowHtml,e.dom.arrowPrev=n(g)("#arrow_left").get(0),e.slideshow.p="/gallery/project/"+e.getDom.totalPages+"/",e.slideshow.n=e.dom.arrowNext.getAttribute("href"),[e.slideshow.p,e.slideshow.n]}}},e.thumbnails={currentThumbs:{thumbs:e.dom.info.querySelectorAll(".thumbnail"),get thumbnails(){return this.thumbs},set thumbnails(newThumbs){this.thumbs=newThumbs}}
1,func:{activateThumb:function(t,e,i){var n=t[e].parentElement,o=t[e].offsetLeft,s=(n.offsetWidth,t[0].offsetWidth*t.length+20*t.length);scrollPosition=o/s*s-10;for(var r=0;r<t.length;r++)t[r].classList.remove("btnActive");n.scroll(scrollPosition,0),t[e].classList.add("btnActive")}}},e.slideshow={slideCount:0,frag:document.createDocumentFragment(),a:document.createElement("div"),b:document.createElement("div"),c:document.createElement("div"),aInfo:document.createElement("div"),bInfo:document.createElement("div"),cInfo:document.createElement("div"),projectSlideArr:[],range:[],currentSlide:{slide:void 0,get prop(){return this.slide},set prop(nextSlide){nextSlide.classList.add("draggable"),this.slide=nextSlide}},cached_1:[],cached_2:[],slideVideoTemplate:"<video class='slideVideo reel' data-setup='{}' playsinline='playsinline' autoplay='autoplay' preload='metadata' loop='loop' muted='muted'><source src='' type='video/mp4'></video>",leftArrowHtml:"<a id='arrow_left' href='/gallery/project/"+e.getDom.totalPages+"/' class='arrow menu_item icon left arrow_nav'><svg version='1.1' class='menu_item' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 100 100' style='enable-background:new 0 0 100 100;' xml:space='preserve'><style type='text/css'>.st0{fill:none;}</style><line class='st0' x1='73.02' y1='4.01' x2='26.98' y2='50.04'/><line class='st0' x1='73.02' y1='95.99' x2='26.98' y2='49.96'/></svg></a>",rightArrowHtml:"<a id='arrow_right' href='/gallery/' class='arrow menu_item icon right arrow_nav'><svg version='1.1' class='menu_item' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 100 100' style='enable-background:new 0 0 100 100;' xml:space='preserve'><style type='text/css'>.st0{fill:none;}</style><line class='st0' x1='73.02' y1='4.01' x2='26.98' y2='50.04'/><line class='st0' x1='73.02' y1='95.99' x2='26.98' y2='49.96'/></svg></a>",switchOver:gsap.timeline(),func:{animAll:function(t,i,n,o,s,r,l,d,h){e.slideshow.cache_slides_1={elem1:t,position1:i},e.slideshow.cache_slides_2={elem2:n,position2:o},e.slideshow.cached_1.push(e.slideshow.cache_slides_1),e.slideshow.cached_2.push(e.slideshow.cache_slides_2),e.slideshow.currentSlide.prop.classList.remove("draggable"),e.slideshow.currentSlide.prop=n,e.slideshow.func.checkTitleCredits(r,l),anim1=d?gsap.fromTo(t,{transform:"translate("+d+"px)"},{duration:h,ease:"steps.out",transform:"translate("+i+")"}):gsap.to(t,{duration:h,ease:"steps.out",transform:"translate("+i+")"}),anim2=gsap.to(n,{duration:h,ease:"steps.out",transform:"translate("+o+")",onComplete:s.bind(null,r,l,i)})},removeAnim:function(){e.dom.parent.classList.remove("animating")},resizeTransform:function(t,e){if(t&&e)for(var i=0;i<t.length;i++)gsap.set(t[i].elem1,{transform:"translate("+t[i].position1+")"}),i<=e.length-1&&gsap.set(e[i].elem2,{transform:"translate("+e[i].position2+")"})},playMain:function(t,i){t.classList.remove(e.dom.loading)},lazyLoad:function(t){var i,n,o=e.dom.info.querySelectorAll(".thumbnail");for(e.dom.info.querySelectorAll(".temp"),i=0;i<o.length;i++){var n=o[i],s=n.getAttribute("data-url"),r=document.createElement("img");if(r.classList.add("hide","temp"),r.style.display="none",e.slideshow.frag.append(r),n.classList.contains("video")){var l=n.querySelector("video"),d=l.querySelector("source"),h=d.getAttribute("data-url");d.setAttribute("src",h),e.slideshow.func.playMain(n,l)}else r.src=s,e.slideshow.func.replaceWithCache(n,r)}document.querySelector(".thumbnails").appendChild(e.slideshow.frag)},checkTrigger:function(t){if(t.target.classList.contains("arrow")&&"loaded"==e.state.isLoaded.status.s){e.slideshow.func.triggerChange(t.target);return}return!1},triggerChange:function(t){if(t==e.dom.arrowPrev)e.slideshow.range=[],e.slideshow.d="prev",e.slideshow.slideCount--,e.pageParameters.loadUrl=n(g)("#arrow_left").prop("href");else if(t==e.dom.arrowNext)e.slideshow.slideCount+1==e.slideshow.projectSlideArr.length?(e.slideshow.range.push(e.slideshow.projectSlideArr[e.slideshow.slideCount]),e.slideshow.slideCount=e.slideshow.projectSlideArr.length):e.slideshow.slideCount++,e.slideshow.d="next",e.pageParameters.loadUrl=n(g)("#arrow_right").prop("href");else if(t.classList.contains("left")&&t!=e.dom.arrowPrev){for(var i=0;i<e.slideshow.slideCountslideCount+1;i++)e.slideshow.range.push(e.slideshow.projectSlideArr[i]);e.slideshow.range.reverse(),e.slideshow.d="prev",e.pageParameters.loadUrl=n(g)("#arrow_left").prop("href"),e.slideshow.slideCount=-1}else if(t.classList.contains("right")&&t!=e.dom.arrowNext){for(var i=e.slideshow.slideCount;i<e.slideshow.projectSlideArr.length;i++)e.slideshow.range.push(e.slideshow.projectSlideArr[i]);e.slideshow.d="next",e.pageParameters.loadUrl=n(g)("#arrow_right").prop("href"),e.slideshow.slideCount=e.slideshow.projectSlideArr.length}e.slideshow.func.animateSlides(e.slideshow.d,e.pageParameters.loadUrl,e.slideshow.slideCount,e.alternativeNavigation.swiper,e.slideshow.range)},animateSlides:function(t,i,n,o,s){e.initialize.verifyNeighbors(),t&&i&&"loaded"==e.state.isLoaded.status.s?"prev"==t&&n>0?e.slideshow.func.animAll(e.slideshow.projectSlideArr[n+1],"110%",e.slideshow.projectSlideArr[n],"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,o,".35"):"prev"==t&&0===n?e.slideshow.func.animAll(e.slideshow.projectSlideArr[n+1],"110%",e.slideshow.b,"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,o,".35"):"next"==t&&1===n&&e.slideshow.projectSlideArr.length!==n?e.slideshow.func.animAll(e.slideshow.b,"-110%",e.slideshow.projectSlideArr[n],"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,o,".35"):"next"==t&&n<e.slideshow.projectSlideArr.length?e.slideshow.func.animAll(e.slideshow.projectSlideArr[n-1],"-110%",e.slideshow.projectSlideArr[n],"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,o,".35"):("prev"==t||"next"==t&&n<0||n>=e.slideshow.projectSlideArr.length)&&(window.history.pushState&&window.history.pushState(null,null,i),e.slideshow.func.ga_track(i),e.state.isLoaded.status={s:"loading",e:e.dom.info},(0==e.slideshow.cInfo.children.length||0==e.slideshow.aInfo.children.length)&&(window.location.href=i),"prev"==t?(e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskPosition:"100%, 0%"}),e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskImage:"linear-gradient(to left, rgba(255,255,255,1) 70%, rgba(255,255,255, 0)"}),e.slideshow.switchOver.to(e.dom.pageContainer,{duration:.5,ease:"steps.out",WebkitMaskPosition:"-100%, 0%",onComplete:e.slideshow.func.beginSwitchover.bind(null,e.slideshow.b,"110%",e.slideshow.a,e.slideshow.func.replaceLapsedSlide,e.thumbnails.currentThumbs.thumbnails,n,o)}),e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskImage:"linear-gradient(to right, rgba(255,255,255,1) 70%, rgba(255,255,255, 0))"}),e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskPosition:"200%, 0%"}),e.slideshow.switchOver.to(e.dom.pageContainer,{duration:.75,ease:"steps.out",WebkitMaskPosition:"0%, 0%"})):(e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskPosition:"0%, 0%"}),e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskImage:"linear-gradient(to right, rgba(255,255,255,1) 70%, rgba(255,255,255, 0))"}),e.slideshow.switchOver.to(e.dom.pageContainer,{duration:.5,ease:"steps.out",WebkitMaskPosition:"200%, 0%",onComplete:e.slideshow.func.beginSwitchover.bind(null,e.slideshow.b,"-110%",e.slideshow.c,e.slideshow.func.replaceLapsedSlide,e.thumbnails.currentThumbs.thumbnails,n,o)}),e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskImage:"linear-gradient(to left, rgba(255,255,255,1) 70%, rgba(255,255,255, 0)"}),e.slideshow.switchOver.set(e.dom.pageContainer,{WebkitMaskPosition:"-100%, 0%"}),e.slideshow.switchOver.to(e.dom.pageContainer,{duration:.75,ease:"steps.out",WebkitMaskPosition:"100%, 0%"}))):(e.slideshow.p&&e.slideshow.func.slideJax(e.slideshow.a,e.slideshow.aInfo,e.slideshow.p),e.slideshow.n&&e.slideshow.func.slideJax(e.slideshow.c,e.slideshow.cInfo,e.slideshow.n))},beginSwitchover:function(t,i,n,o,s,r,l){e.slideshow.range.push(t),e.slideshow.func.animAll(t,i,n,"0%",o,s,r,l,"0")},replaceLapsedSlide:function(t,i,n){"110%"==n?e.slideshow.currentSlideContext={removeSlide:{slide:e.slideshow.c,info:e.slideshow.cInfo},movingOutOfFrame:{slide:e.slideshow.b,info:e.slideshow.bInfo,position:n},movingIntoFrame:{slide:e.slideshow.a,info:e.slideshow.aInfo},resetSlideVars:function(){e.slideshow.c=e.slideshow.currentSlideContext.movingOutOfFrame.slide,e.slideshow.cInfo=e.slideshow.currentSlideContext.movingOutOfFrame.info,e.slideshow.b=e.slideshow.currentSlideContext.movingIntoFrame.slide,e.slideshow.bInfo=e.slideshow.currentSlideContext.movingIntoFrame.info,e.slideshow.a=document.createElement("div"),e.slideshow.a.style.transform="translate(-110%)",e.slideshow.aInfo=document.createElement("div"),e.slideshow.a.appendChild(e.slideshow.aInfo).classList.add("hide"),e.slideshow.aInfo.classList.add("hide"),e.dom.parent.insertBefore(e.slideshow.a,e.slideshow.b).classList.add("slide",e.dom.loading,"abs_target"),e.slideshow.func.getNextP(e.slideshow.a,e.slideshow.aInfo)}}:"-110%"==n&&(e.slideshow.currentSlideContext={removeSlide:{slide:e.slideshow.a,info:e.slideshow.aInfo},movingOutOfFrame:{slide:e.slideshow.b,info:e.slideshow.bInfo,position:n},movingIntoFrame:{slide:e.slideshow.c,info:e.slideshow.cInfo},resetSlideVars:function(){e.slideshow.a=e.slideshow.currentSlideContext.movingOutOfFrame.slide,e.slideshow.aInfo=e.slideshow.currentSlideContext.movingOutOfFrame.info,e.slideshow.b=e.slideshow.currentSlideContext.movingIntoFrame.slide,e.slideshow.bInfo=e.slideshow.currentSlideContext.movingIntoFrame.info,e.slideshow.c=document.createElement("div"),e.slideshow.c.style.transform="translate(110%)",e.slideshow.cInfo=document.createElement("div"),e.slideshow.c.appendChild(e.slideshow.cInfo).classList.add("hide"),e.slideshow.cInfo.classList.add("hide"),e.slideshow.b.parentNode.insertBefore(e.slideshow.c,e.slideshow.b.nextElementSibling).classList.add("slide",e.dom.loading,"abs_target"),e.slideshow.func.getNextN(e.slideshow.c,e.slideshow.cInfo)}});for(var o=0;o<e.slideshow.projectSlideArr.length;o++)e.slideshow.projectSlideArr[o].remove();if(e.slideshow.cached_1=[],e.slideshow.cached_2=[],e.slideshow.cache_slides_1={elem1:e.slideshow.currentSlideContext.movingOutOfFrame.slide,position1:e.slideshow.currentSlideContext.movingOutOfFrame.position},e.slideshow.cached_1.push(e.slideshow.cache_slides_1),e.slideshow.projectSlideArr=[],e.dom.info.innerHTML=e.slideshow.currentSlideContext.movingIntoFrame.info.innerHTML,e.thumbnails.currentThumbs.thumbnails=e.dom.info.querySelectorAll(".thumbnail"),e.slideshow.func.createProjectSlides(e.thumbnails.currentThumbs.thumbnails),e.slideshow.func.lazyLoad(e.dom.info),e.slideshow.currentSlideContext.removeSlide.slide.remove(),e.slideshow.currentSlideContext.resetSlideVars(),e.slideshow.func.setArrowStates(e.slideshow.b),e.dom.parent.classList.remove("animating"),e.slideshow.b.classList.contains("video")){var s=e.slideshow.b.querySelector("video");e.slideshow.func.playMain(e.slideshow.b,s)}},getNextP:function(t,i){var n,o,s=e.getDom.totalPages-1;o=null==e.slideshow.p?"/gallery/project/"+s+"/":void 0==e.slideshow.p.match(/\d+/)?"/gallery/project/"+e.getDom.totalPages+"/":(n=parseInt(e.slideshow.p.match(/\d+/),10)-1)<=1?"/gallery/":"/gallery/project/"+n+"/",e.slideshow.func.slideJax(t,i,o)},getNextN:function(t,i){var n,o;o=null==e.slideshow.n?"/gallery/project/2/":null==e.slideshow.n.match(/\d+/)?"/gallery/project/2/":(n=parseInt(e.slideshow.n.match(/\d+/),10)+1)>e.getDom.totalPages?"/gallery/":"/gallery/project/"+n+"/",e.slideshow.func.slideJax(t,i,o)}
1,slideJax:function(t,i,o){n(g).ajax({url:o,dataType:"text",success:function(o){var s,r=o.replace(/<img\b[^>]*>/ig,"").replace(/<link\b[^>]*>/ig,""),l=n(g)(document.createElement("div")).append(r);l.find("link").remove(),tempHtml=l.html();var d=document.createElement("div");document.querySelector("body").appendChild(d).style.display="none",d.innerHTML=tempHtml,e.slideshow.func.getArrowStates(t,d);var h=d.querySelector("#main_slide");if(h.classList.contains("video")){var u=h.innerHTML;t.innerHTML=u,t.classList.add("video",e.dom.loading),t.querySelector("video").pause()}else{var c=h.getAttribute("data-url"),p=document.createElement("img");p.classList.add("hide","temp"),t.appendChild(p).style.display="none",p.src=c,e.slideshow.func.replaceWithCache(t,p)}s=d.querySelector(".right_justified_partial").innerHTML,i.innerHTML=s,e.state.isLoaded.status={s:"loaded",e:e.dom.info},d.remove()},error:function(t,e,i){console.error(t,e,i),window.location.href=o}})},createProjectSlides:function(t){for(var i=0;i<t.length;i++){if((projectSlide=document.createElement("div")).classList.add("slide",e.dom.loading,"abs_target"),e.slideshow.frag.append(projectSlide),i>0){if(t[i].classList.contains("video")){projectSlide.innerHTML=e.slideshow.slideVideoTemplate;var n=projectSlide.querySelector("video");projectSlide.querySelector("source").src=t[i].getAttribute("data-url"),e.slideshow.func.playMain(projectSlide,n)}else e.slideshow.lazySlide=document.createElement("img"),e.slideshow.lazySlide.classList.add("hide"),projectSlide.style.backgroundImage="url("+t[i].getAttribute("data-url")+")",projectSlide.append(e.slideshow.lazySlide),e.slideshow.lazySlide.src=t[i].getAttribute("data-full"),e.slideshow.func.replaceWithCache(projectSlide,e.slideshow.lazySlide)}projectSlide.style.transform="translate(110%)",e.slideshow.projectSlideArr.push(projectSlide),e.slideshow.projectSlideArr[0].classList.add("hide")}return e.slideshow.b.parentNode.insertBefore(e.slideshow.frag,e.slideshow.b.nextElementSibling),e.slideshow.slideCount=0,e.slideshow.func.checkTitleCredits(t,e.slideshow.slideCount),e.thumbnails.func.activateThumb(t,e.slideshow.slideCount,e.dom.r),e.slideshow.slideCount},checkTitleCredits:function(t,i){if(!t[i])return;let n=t[i].getAttribute("data-image-title"),o=t[i].getAttribute("data-image-credit"),s=t[0].getAttribute("data-project"),r=e.dom.info.querySelector(".project_title"),l=e.dom.info.querySelector(".credit");n?r.textContent=n:r.textContent=s,o?(l.style.visibility="visible",l.textContent=o):(l.style.visibility="hidden",l.textContent="null")},ga_track:function(t){gtag("send","pageview",t)},replaceWithCache:function(t,i){i.onload=function(){var n=i.src;i.remove(),t.style.backgroundImage="url("+n+")",t.classList.remove(e.dom.loading)}},getArrowStates:function(t,i){var n,o,s=i.querySelector("#arrow_left"),r=i.querySelector("#arrow_right"),l=i.querySelector(".project_slide").id.replace(/ +/g,"-").toLowerCase();s&&r?(n=s.getAttribute("href"),o=r.getAttribute("href"),t.setAttribute("data-arrow-left",n),t.setAttribute("data-arrow-right",o)):void 0==s&&r?(o=r.getAttribute("href"),t.setAttribute("data-arrow-left","/gallery/project/"+e.getDom.totalPages+"/"),t.setAttribute("data-arrow-right",o)):void 0==r&&s&&(n=s.getAttribute("href"),t.setAttribute("data-arrow-left",n),t.setAttribute("data-arrow-right","/gallery/")),t.setAttribute("data-id",l)},setArrowStates:function(t){var i=t.getAttribute("data-arrow-left"),n=t.getAttribute("data-arrow-right");e.dom.arrowPrev.setAttribute("href",i),e.dom.arrowNext.setAttribute("href",n)}}},e.alternativeNavigation={swiping:{currentStatus:"not swiping",get status(){return this.currentStatus},set status(newStatus){this.currentStatus=newStatus}},longTouch:!1,swiper:!1,func:{swipeSlide:function(t){if("loading"!=e.state.isLoaded.status.s&&(!t.touches||!(t.touches.length>1))&&"is swiping"!=e.alternativeNavigation.swiping.status){e.alternativeNavigation.swiping.status;var i=t.target;i.moving=!0,t.clientX?i.oldX=t.clientX:i.oldX=t.touches[0].clientX,i.onmousemove=n,i.ontouchmove=n,i.ontouchcancel=function(t){return o(t,e.alternativeNavigation.longTouch),i.moving=!1,!0},i.onmouseup=function(t){return o(t,e.alternativeNavigation.longTouch),i.moving=!1,!0},i.ontouchend=function(t){return o(t,e.alternativeNavigation.longTouch),i.moving=!1,!0},parent.addEventListener("mouseleave",function(t){!1!=i.moving&&(t.stopPropagation(),gsap.to(e.slideshow.currentSlide.prop,{duration:.65,ease:"power2.in",transform:"translate(0%)"}),i.moving=!1)})}function n(t){i.moving&&(t.touches&&t.touches.length>1||"is swiping"==e.alternativeNavigation.swiping.status||(e.alternativeNavigation.longTouch=!1,e.alternativeNavigation.touchTimeout=setTimeout(function(){e.alternativeNavigation.longTouch=!0},550),t.clientX?i.distX=t.clientX-i.oldX:i.distX=t.touches[0].clientX-i.oldX,e.slideshow.currentSlide.prop.style.transform="translate("+i.distX+"px, 0px)"))}function o(t,n){if(e.alternativeNavigation.swiping.status="not swiping",window.clearTimeout(e.alternativeNavigation.touchTimeout),i.distX>0&&i.distX>e.dom.parent.offsetWidth/4&&e.alternativeNavigation.longTouch||i.distX>0&&i.distX>e.dom.parent.offsetWidth/15&&!1==e.alternativeNavigation.longTouch){e.alternativeNavigation.func.trans_
1slide("prev",i.distX),e.alternativeNavigation.longTouch=!1;return}if(-i.distX>0&&-i.distX>e.dom.parent.offsetWidth/4&&e.alternativeNavigation.longTouch||-i.distX>0&&-i.distX>e.dom.parent.offsetWidth/15&&!1==e.alternativeNavigation.longTouch){e.alternativeNavigation.func.trans_slide("next",i.distX),e.alternativeNavigation.longTouch=!1;return}(i.distX<e.dom.parent.offsetWidth/4&&!1==e.alternativeNavigation.longTouch||-i.distX<e.dom.parent.offsetWidth/4&&!1==e.alternativeNavigation.longTouch)&&gsap.fromTo(e.slideshow.currentSlide.prop,{transform:"translate("+i.distX+"px)"},{duration:.65,ease:"power2.in",transform:"translate(0%)"})}},trans_slide:function(t,i){"loading"!=e.state.isLoaded.status.s&&("prev"==t?(e.slideshow.range=[],e.pageParameters.loadUrl=n(g)("#arrow_left").prop("href"),e.slideshow.slideCount--):(e.slideshow.slideCount+1==e.slideshow.projectSlideArr.length?(e.slideshow.range.push(e.slideshow.projectSlideArr[e.slideshow.slideCount]),e.slideshow.slideCount=e.slideshow.projectSlideArr.length):e.slideshow.slideCount++,e.pageParameters.loadUrl=n(g)("#arrow_right").prop("href")),e.slideshow.func.animateSlides(t,e.pageParameters.loadUrl,e.slideshow.slideCount,i,e.slideshow.range),e.dom.arrowPrev=document.querySelector("#arrow_left"),e.dom.arrowNext=document.querySelector("#arrow_right"))}},thumbnailNavigation:function(t,i){e.slideshow.range=[];var n=i.index();if(n<e.slideshow.slideCount){for(var o=n;o<e.slideshow.slideCount;o++)e.slideshow.range.push(e.slideshow.projectSlideArr[o]);e.slideshow.range.reverse()}else if(n>e.slideshow.slideCount)for(var o=e.slideshow.slideCount;o<n;o++)e.slideshow.range.push(e.slideshow.projectSlideArr[o]);e.dom.parent.classList.contains("animating")||n==e.slideshow.slideCount||(0==n&&0!=e.slideshow.slideCount?(e.slideshow.range.unshift(e.slideshow.projectSlideArr[e.slideshow.slideCount]),e.slideshow.func.animAll(e.slideshow.range,"110%",e.slideshow.b,"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,e.alternativeNavigation.swiper,".35")):0==e.slideshow.slideCount?(e.slideshow.range.unshift(e.slideshow.b),e.slideshow.func.animAll(e.slideshow.range,"-110%",e.slideshow.projectSlideArr[n],"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,e.alternativeNavigation.swiper,".35")):n>e.slideshow.slideCount&&n>0?(e.slideshow.range.unshift(e.slideshow.projectSlideArr[e.slideshow.slideCount]),e.slideshow.func.animAll(e.slideshow.range,"-110%",e.slideshow.projectSlideArr[n],"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,e.alternativeNavigation.swiper,".35")):n<e.slideshow.slideCount&&(e.slideshow.range.unshift(e.slideshow.projectSlideArr[e.slideshow.slideCount]),e.slideshow.func.animAll(e.slideshow.range,"110%",e.slideshow.projectSlideArr[n],"0%",e.thumbnails.func.activateThumb,e.thumbnails.currentThumbs.thumbnails,n,e.alternativeNavigation.swiper,".35")),e.slideshow.slideCount=n)}},e.pageParameters={field:window.innerWidth,fieldY:window.innerHeight,currentPage:window.location.pathname},e.initialize.loadNeighbor(),n(g)("body").on("click",function(t){t.target.classList.contains("arrow")&&(t.preventDefault(),e.slideshow.func.checkTrigger(t))}),n(g)(document).keydown(function(t){switch(t.which){case 37:t.preventDefault(),e.alternativeNavigation.func.trans_slide("prev");break;case 39:t.preventDefault(),e.alternativeNavigation.func.trans_slide("next")}}),e.dom.parent.ontouchstart=e.alternativeNavigation.func.swipeSlide,e.dom.parent.onmousedown=e.alternativeNavigation.func.swipeSlide,n(g)("body").on("click",".thumbnail",function(t){e.alternativeNavigation.thumbnailNavigation(t,n(g)(this))}),n(g)(window).resize(function(){var t=window.innerWidth;t!=e.pageParameters.field&&e.slideshow.func.resizeTransform(e.slideshow.cached_1,e.slideshow.cached_2),e.pageParameters.field=t})}},about:{init:function(t){var e=document.querySelectorAll(".archive_wrapper"),i=n(g)(".archive_tag"),o=n(g)("#archive_nav_toggle"),s=(n(g)(".archive_nav_inner"),n(g)("#archive_nav_wrapper"),n(g)(".archive.inner_content").offset().top),r=400,l=n(g)("#archive_current_slide");for(a=0;a<e.length;a++)new IntersectionObserver(function([t]){var e=t.target.getAttribute("data-sli
1de"),i=(t.target.previousElmentSibling,t.target.nextElmentSibling,parseInt(e));l.text(i)},{threshold:[.3]}).observe(e[a]);if(i.on("click",function(){var t=n(g)(this).attr("data-scroll"),e=(n(g)(".archive_wrapper"),n(g)(this).index()+1),i=n(g)("#"+t).offset().top;return r=350*e,n(g)(window).animate({scrollTop:i},r),r}),window.location.hash){var d=window.location.hash.replace("#","");history.replaceState(null,null," "),"archive"==d&&n(g)(window).animate({scrollTop:s},300);return}o.on("click",function(){n(g)(window).animate({scrollTop:s},r)})}},contact:{init:function(t){var e=L.map("mapBox",{zoom:13,zoomControl:!0,center:[46.06362892338259,-118.3570520693113]});L.tileLayer.provider("Stadia.StamenTonerLite",{maxZoom:20}).addTo(e);var i={radius:10,fillColor:"#131313",color:"#131313",weight:1,opacity:1,fillOpacity:1},n=[];L.geoJSON(geo,{onEachFeature:function(t,i){i.bindPopup(t.properties.popUpContent).addTo(e),i.marker},pointToLayer:function(t,e){return L.circleMarker(e,i)}}).addTo(e);for(var o=0;o<geo.length;o++){var s=[geo[o].geometry.coordinates[0],geo[o].geometry.coordinates[1]];n.push(s)}}}};PAGEJS={fire:function(t,e,i){e=void 0===e?"init":e,""!==t&&tm[t]&&"function"==typeof tm[t][e]&&tm[t][e](i)}},n(g)(document).ready(function(){var t=n(g)(".page").get(0).id;PAGEJS.fire(t),PAGEJS.fire("common")})})(); 2//# sourceMappingURL=index.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.