PageSourceSearch

https://lacantinerusseparis.fr/js/app.js?id=723d769964cab0ded8209bdfe62ce45b

js lacantinerusseparis.fr collected 2026-09-30 12:30:01 UTC 715,484 bytes, 2 lines download raw bytes

vendor: 1,648 bytes, lines 1-2
1/*! For license information please see app.js.LICENSE.txt */
2(()=>{var t,e={669:(t,e,i)=>{t.exports=i(609)},448:(t,e,i)=>{"use strict";var n=i(867),r=i(26),s=i(372),o=i(327),a=i(97),l=i(109),c=i(985),u=i(61);t.exports=function(t){return new Promise((function(e,i){var h=t.data,d=t.headers,p=t.responseType;n.isFormData(h)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var g=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";d.Authorization="Basic "+btoa(g+":"+m)}var v=a(t.baseURL,t.url);function _(){if(f){var n="getAllResponseHeaders"in f?l(f.getAllResponseHeaders()):null,s={data:p&&"text"!==p&&"json"!==p?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:t,request:f};r(e,i,s),f=null}}if(f.open(t.method.toUpperCase(),o(v,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,"onloadend"in f?f.onloadend=_:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(_)},f.onabort=function(){f&&(i(u("Request aborted",t,"ECONNABORTED",f)),f=null)},f.onerror=function(){i(u("Network Error",t,null,f)),f=null},f.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),i(u(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},n.isStandardBrowserEnv()){var y=(t.withCredentials||c(v))&&t.xsrfCookieName?s.read(t.xsrfCookieName):void 0;y&&(d[t.xsrfHeaderName]=y)}"setRequestHeader"in f&&n.forEach(d,(function(t,e){void 0===h&&"content-type"===e.toLowerCase()?delete d[e]:f.setRequestHeader(e,t)}
2)),n.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),p&&"json"!==p&&(f.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){f&&(f.abort(),i(t),f=null)})),h||(h=null),f.send(h)}))}},609:(t,e,i)=>{"use strict";var n=i(867),r=i(849),s=i(321),o=i(185);function a(t){var e=new s(t),i=r(s.prototype.request,e);return n.extend(i,s.prototype,e),n.extend(i,e),i}var l=a(i(655));l.Axios=s,l.create=function(t){return a(o(l.defaults,t))},l.Cancel=i(263),l.CancelToken=i(972),l.isCancel=i(502),l.all=function(t){return Promise.all(t)},l.spread=i(713),l.isAxiosError=i(268),t.exports=l,t.exports.default=l},263:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},972:(t,e,i)=>{"use strict";var n=i(263);function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var i=this;t((function(t){i.reason||(i.reason=new n(t),e(i.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r((function(e){t=e})),cancel:t}},t.exports=r},502:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:(t,e,i)=>{"use strict";var n=i(867),r=i(327),s=i(782),o=i(572),a=i(185),l=i(875),c=l.validators;function u(t){this.defaults=t,this.interceptors={request:new s,response:new s}}u.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&l.assertOptions(e,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var i=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));var r,s=[];if(this.interceptors.response.forEach((function(t){s.push(t.fulfilled,t.rejected)})),!n){var u=[o,void 0];for(Array.prototype.unshift.apply(u,i),u=u.concat(s),r=Promise.resolve(t);u.length;)r=r.then(u.shift(),u.shift());return r}for(var h=t;i.length;){var d=i.shift(),p=i.shift();try{h=d(h)}catch(t){p(t);break}}try{r=o(h)}catch(t){return Promise.reject(t)}for(;s.length;)r=r.then(s.shift(),s.shift());return r},u.prototype.getUri=function(t){return t=a(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,i){return this.request(a(i||{},{method:t,url:e,data:(i||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,i,n){return this.request(a(n||{},{method:t,url:e,data:i}))}})),t.exports=u},782:(t,e,i)=>{"use strict";var n=i(867);function r(){this.handlers=[]}r.prototype.use=function(t,e,i){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},97:(t,e,i)=>{"use strict";var n=i(793),r=i(303);t.exports=function(t,e){return t&&!n(e)?r(t,e):e}},61:(t,e,i)=>{"use strict";var n=i(481);t.exports=function(t,e,i,r,s){var o=new Error(t);return n(o,e,i,r,s)}},572:(t,e,i)=>{"use strict";var n=i(867),r=i(527),s=i(502),o=i(655);function a(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return a(t),t.headers=t.headers||{},t.data=r.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||o.adapter)(t).then((function(e){return a(t),e.data=r.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return s(e)||(a(t),e&&e.response&&(e.response.data=r.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},481:t=>{"use strict";
2t.exports=function(t,e,i,n,r){return t.config=e,i&&(t.code=i),t.request=n,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},185:(t,e,i)=>{"use strict";var n=i(867);t.exports=function(t,e){e=e||{};var i={},r=["url","method","data"],s=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function l(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function c(r){n.isUndefined(e[r])?n.isUndefined(t[r])||(i[r]=l(void 0,t[r])):i[r]=l(t[r],e[r])}n.forEach(r,(function(t){n.isUndefined(e[t])||(i[t]=l(void 0,e[t]))})),n.forEach(s,c),n.forEach(o,(function(r){n.isUndefined(e[r])?n.isUndefined(t[r])||(i[r]=l(void 0,t[r])):i[r]=l(void 0,e[r])})),n.forEach(a,(function(n){n in e?i[n]=l(t[n],e[n]):n in t&&(i[n]=l(void 0,t[n]))}));var u=r.concat(s).concat(o).concat(a),h=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return n.forEach(h,c),i}},26:(t,e,i)=>{"use strict";var n=i(61);t.exports=function(t,e,i){var r=i.config.validateStatus;i.status&&r&&!r(i.status)?e(n("Request failed with status code "+i.status,i.config,null,i.request,i)):t(i)}},527:(t,e,i)=>{"use strict";var n=i(867),r=i(655);t.exports=function(t,e,i){var s=this||r;return n.forEach(i,(function(i){t=i.call(s,t,e)})),t}},655:(t,e,i)=>{"use strict";var n=i(155),r=i(867),s=i(16),o=i(481),a={"Content-Type":"application/x-www-form-urlencoded"};function l(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==n&&"[object process]"===Object.prototype.toString.call(n))&&(c=i(448)),c),transformRequest:[function(t,e){return s(e,"Accept"),s(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(l(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(l(e,"application/json"),function(t,e,i){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(i||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,i=e&&e.silentJSONParsing,n=e&&e.forcedJSONParsing,s=!i&&"json"===this.responseType;if(s||n&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(s){if("SyntaxError"===t.name)throw o(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){u.headers[t]=r.merge(a)})),t.exports=u},849:t=>{"use strict";t.exports=function(t,e){return function(){for(var i=new Array(arguments.length),n=0;n<i.length;n++)i[n]=arguments[n];return t.apply(e,i)}}},327:(t,e,i)=>{"use strict";var n=i(867);function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,i){if(!e)return t;var s;if(i)s=i(e);else if(n.isURLSearchParams(e))s=e.toString();else{var o=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),o.push(r(e)+"="+r(t))})))})),s=o.join("&")}if(s){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+s}return t}},303:t=>{"use strict";
2t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},372:(t,e,i)=>{"use strict";var n=i(867);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,i,r,s,o){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),n.isString(r)&&a.push("path="+r),n.isString(s)&&a.push("domain="+s),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},793:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},268:t=>{"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},985:(t,e,i)=>{"use strict";var n=i(867);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function r(t){var n=t;return e&&(i.setAttribute("href",n),n=i.href),i.setAttribute("href",n),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return t=r(window.location.href),function(e){var i=n.isString(e)?r(e):e;return i.protocol===t.protocol&&i.host===t.host}}():function(){return!0}},16:(t,e,i)=>{"use strict";var n=i(867);t.exports=function(t,e){n.forEach(t,(function(i,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=i,delete t[n])}))}},109:(t,e,i)=>{"use strict";var n=i(867),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,i,s,o={};return t?(n.forEach(t.split("\n"),(function(t){if(s=t.indexOf(":"),e=n.trim(t.substr(0,s)).toLowerCase(),i=n.trim(t.substr(s+1)),e){if(o[e]&&r.indexOf(e)>=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([i]):o[e]?o[e]+", "+i:i}})),o):o}},713:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},875:(t,e,i)=>{"use strict";var n=i(593),r={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){r[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}}));var s={},o=n.version.split(".");function a(t,e){for(var i=e?e.split("."):o,n=t.split("."),r=0;r<3;r++){if(i[r]>n[r])return!0;if(i[r]<n[r])return!1}return!1}r.transitional=function(t,e,i){var r=e&&a(e);function o(t,e){return"[Axios v"+n.version+"] Transitional option '"+t+"'"+e+(i?". "+i:"")}return function(i,n,a){if(!1===t)throw new Error(o(n," has been removed in "+e));return r&&!s[n]&&(s[n]=!0,console.warn(o(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(i,n,a)}},t.exports={isOlderVersion:a,assertOptions:function(t,e,i){if("object"!=typeof t)throw new TypeError("options must be an object");for(var n=Object.keys(t),r=n.length;r-- >0;){var s=n[r],o=e[s];if(o){var a=t[s],l=void 0===a||o(a,s,t);if(!0!==l)throw new TypeError("option "+s+" must be "+l)}else if(!0!==i)throw Error("Unknown option "+s)}},validators:r}},867:(t,e,i)=>{"use strict";var n=i(849),r=Object.prototype.toString;function s(t){return"[object Array]"===r.call(t)}function o(t){return void 0===t}function a(t){return null!==t&&"object"==typeof t}function l(t){if("[object Object]"!==r.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===r.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),s(t))for(var i=0,n=t.length;i<n;i++)e.call(null,t[i],i,t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.call(null,t[r],r,t)}t.exports={isArray:s,isArrayBuffer:function(t){return"[object ArrayBuffer]"===r.call(t)},isBuffer:function(t){return null!==t&&!o(t)&&null!==t.constructor&&!o(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:a,isPlainObject:l,isUndefined:o,isDate:function(t){return"[object Date]"===r.call(t)},isFile:function(t){return"[object File]"===r.call(t)},isBlob:function(t){return"[object Blob]"===r.call(t)},isFunction:c,isStream:function(t){return a(t)&&c(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}
2,forEach:u,merge:function t(){var e={};function i(i,n){l(e[n])&&l(i)?e[n]=t(e[n],i):l(i)?e[n]=t({},i):s(i)?e[n]=i.slice():e[n]=i}for(var n=0,r=arguments.length;n<r;n++)u(arguments[n],i);return e},extend:function(t,e,i){return u(e,(function(e,r){t[r]=i&&"function"==typeof e?n(e,i):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},136:(t,e,i)=>{"use strict";var n=i(755),r=i.n(n);const s=class{constructor(t){this.propagationStopped,this.defaultPrevented,this.type=t,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}},o="propertychange";const a=class{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}};function l(t,e){return t>e?1:t<e?-1:0}function c(t,e,i){if(t[0]<=e)return 0;const n=t.length;if(e<=t[n-1])return n-1;if("function"==typeof i){for(let r=1;r<n;++r){const n=t[r];if(n===e)return r;if(n<e)return i(e,t[r-1],n)>0?r-1:r}return n-1}if(i>0){for(let i=1;i<n;++i)if(t[i]<e)return i-1;return n-1}if(i<0){for(let i=1;i<n;++i)if(t[i]<=e)return i;return n-1}for(let i=1;i<n;++i){if(t[i]==e)return i;if(t[i]<e)return t[i-1]-e<e-t[i]?i-1:i}return n-1}function u(t,e,i){for(;e<i;){const n=t[e];t[e]=t[i],t[i]=n,++e,--i}}function h(t,e){const i=Array.isArray(e)?e:[e],n=i.length;for(let e=0;e<n;e++)t[t.length]=i[e]}function d(t,e){const i=t.length;if(i!==e.length)return!1;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}function p(){return!0}function f(){return!1}function g(){}function m(t){let e,i,n,r=!1;return function(){const s=Array.prototype.slice.call(arguments);return r&&this===n&&d(s,i)||(r=!0,n=this,i=s,e=t.apply(this,arguments)),e}}function v(t){for(const e in t)delete t[e]}function _(t){let e;for(e in t)return!1;return!e}const y=class extends a{constructor(t){super(),this.eventTarget_=t,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(t,e){if(!t||!e)return;const i=this.listeners_||(this.listeners_={}),n=i[t]||(i[t]=[]);n.includes(e)||n.push(e)}dispatchEvent(t){const e="string"==typeof t,i=e?t:t.type,n=this.listeners_&&this.listeners_[i];if(!n)return;const r=e?new s(t):t;r.target||(r.target=this.eventTarget_||this);const o=this.dispatching_||(this.dispatching_={}),a=this.pendingRemovals_||(this.pendingRemovals_={});let l;i in o||(o[i]=0,a[i]=0),++o[i];for(let t=0,e=n.length;t<e;++t)if(l="handleEvent"in n[t]?n[t].handleEvent(r):n[t].call(this,r),!1===l||r.propagationStopped){l=!1;break}if(0==--o[i]){let t=a[i];for(delete a[i];t--;)this.removeEventListener(i,g);delete o[i]}return l}disposeInternal(){this.listeners_&&v(this.listeners_)}getListeners(t){return this.listeners_&&this.listeners_[t]||void 0}hasListener(t){return!!this.listeners_&&(t?t in this.listeners_:Object.keys(this.listeners_).length>0)}removeEventListener(t,e){if(!this.listeners_)return;const i=this.listeners_[t];if(!i)return;const n=i.indexOf(e);-1!==n&&(this.pendingRemovals_&&t in this.pendingRemovals_?(i[n]=g,++this.pendingRemovals_[t]):(i.splice(n,1),0===i.length&&delete this.listeners_[t]))}},x="change",w="error",b="contextmenu",C="click",E="dblclick",S="keydown",T="keypress",k="load",A="touchmove",M="wheel";function I(t,e,i,n,r){if(n&&n!==t&&(i=i.bind(n)),r){const n=i;i=function(){t.removeEventListener(e,i),n.apply(this,arguments)}}const s={target:t,type:e,listener:i};return t.addEventListener(e,i),s}function L(t,e,i,n){return I(t,e,i,n,!0)}function P(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),v(t))}class R extends y{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(x)}getRevision(){return this.revision_}onInternal(t,e){if(Array.isArray(t)){const i=t.length,n=new Array(i);for(let r=0;r<i;++r)n[r]=I(this,t[r],e);return n}return I(this,t,e)}onceInternal(t,e){let i;if(Array.isArray(t)){const n=t.length;i=new Array(n);for(let r=0;r<n;++r)i[r]=L(this,t[r],e)}else i=L(this,t,e);return e.ol_key=i,i}unInternal(t,e){const i=e.ol_key;if(i)!function(t){if(Array.isArray(t))for(let e=0,i=t.length;e<i;++e)P(t[e]);else P(t)}(i);else if(Array.isArray(t))for(let i=0,n=t.length;i<n;++i)this.removeEventListener(t[i],e);else this.removeEventListener(t,e)}}R.prototype.on,R.prototype.once,R.prototype.un;const D=R;function O(){throw new Error("Unimplemented abstract method.")}let F=0;function z(t){return t.ol_uid||(t.ol_uid=String(++F))}class $ extends s{constructor(t,e,i){super(t),this.key=e,this.oldValue=i}}const N=class extends D{constructor(t){super(),this.on,this.once,this.un,z(this),this.values_=null,void 0!==t&&this.setProperties(t)}get(t){let e;return this.values_&&this.values_.hasOwnProperty(t)&&(e=this.values_[t]),e}getKeys(){return this.values_&&Object.keys(this.values_)||[]}getProperties(){return this.values_&&Object.assign({},this.values_)||{}}getPropertiesInternal(){return this.values_}
2hasProperties(){return!!this.values_}notify(t,e){let i;i=`change:${t}`,this.hasListener(i)&&this.dispatchEvent(new $(i,t,e)),i=o,this.hasListener(i)&&this.dispatchEvent(new $(i,t,e))}addChangeListener(t,e){this.addEventListener(`change:${t}`,e)}removeChangeListener(t,e){this.removeEventListener(`change:${t}`,e)}set(t,e,i){const n=this.values_||(this.values_={});if(i)n[t]=e;else{const i=n[t];n[t]=e,i!==e&&this.notify(t,i)}}setProperties(t,e){for(const i in t)this.set(i,t[i],e)}applyProperties(t){t.values_&&Object.assign(this.values_||(this.values_={}),t.values_)}unset(t,e){if(this.values_&&t in this.values_){const i=this.values_[t];delete this.values_[t],_(this.values_)&&(this.values_=null),e||this.notify(t,i)}}},j="add",B="remove",G="length";class W extends s{constructor(t,e,i){super(t),this.element=e,this.index=i}}const q=class extends N{constructor(t,e){if(super(),this.on,this.once,this.un,e=e||{},this.unique_=!!e.unique,this.array_=t||[],this.unique_)for(let t=0,e=this.array_.length;t<e;++t)this.assertUnique_(this.array_[t],t);this.updateLength_()}clear(){for(;this.getLength()>0;)this.pop()}extend(t){for(let e=0,i=t.length;e<i;++e)this.push(t[e]);return this}forEach(t){const e=this.array_;for(let i=0,n=e.length;i<n;++i)t(e[i],i,e)}getArray(){return this.array_}item(t){return this.array_[t]}getLength(){return this.get(G)}insertAt(t,e){if(t<0||t>this.getLength())throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new W(j,e,t))}pop(){return this.removeAt(this.getLength()-1)}push(t){this.unique_&&this.assertUnique_(t);const e=this.getLength();return this.insertAt(e,t),this.getLength()}remove(t){const e=this.array_;for(let i=0,n=e.length;i<n;++i)if(e[i]===t)return this.removeAt(i)}removeAt(t){if(t<0||t>=this.getLength())return;const e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new W(B,e,t)),e}setAt(t,e){if(t>=this.getLength())return void this.insertAt(t,e);if(t<0)throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e,t);const i=this.array_[t];this.array_[t]=e,this.dispatchEvent(new W(B,i,t)),this.dispatchEvent(new W(j,e,t))}updateLength_(){this.set(G,this.array_.length)}assertUnique_(t,e){for(let i=0,n=this.array_.length;i<n;++i)if(this.array_[i]===t&&i!==e)throw new Error("Duplicate item added to a unique collection")}},Y="undefined"!=typeof navigator&&void 0!==navigator.userAgent?navigator.userAgent.toLowerCase():"",X=Y.includes("firefox"),H=(Y.includes("safari")&&!Y.includes("chrom")&&(Y.includes("version/15.4")||/cpu (os|iphone os) 15_4 like mac os x/.test(Y)),Y.includes("webkit")&&!Y.includes("edge")),U=Y.includes("macintosh"),V="undefined"!=typeof devicePixelRatio?devicePixelRatio:1,K="undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,Z="undefined"!=typeof Image&&Image.prototype.decode,J=function(){let t=!1;try{const e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch(t){}return t}();function Q(t,e){if(!t)throw new Error(e)}new Array(6);function tt(t,e,i,n,r,s,o){return t[0]=e,t[1]=i,t[2]=n,t[3]=r,t[4]=s,t[5]=o,t}function et(t,e){const i=e[0],n=e[1];return e[0]=t[0]*i+t[2]*n+t[4],e[1]=t[1]*i+t[3]*n+t[5],e}function it(t,e,i,n,r,s,o,a){const l=Math.sin(s),c=Math.cos(s);return t[0]=n*c,t[1]=r*l,t[2]=-n*l,t[3]=r*c,t[4]=o*n*c-a*n*l+e,t[5]=o*r*l+a*r*c+i,t}function nt(t,e){const i=(n=e)[0]*n[3]-n[1]*n[2];var n;Q(0!==i,"Transformation matrix cannot be inverted");const r=e[0],s=e[1],o=e[2],a=e[3],l=e[4],c=e[5];return t[0]=a/i,t[1]=-s/i,t[2]=-o/i,t[3]=r/i,t[4]=(o*c-a*l)/i,t[5]=-(r*c-s*l)/i,t}let rt;function st(t){const e="matrix("+t.join(", ")+")";if(K)return e;const i=rt||(rt=document.createElement("div"));return i.style.transform=e,i.style.transform}const ot=0,at=1,lt=2,ct=4,ut=8,ht=16;function dt(t){const e=xt();for(let i=0,n=t.length;i<n;++i)Tt(e,t[i]);return e}function pt(t,e,i){return i?(i[0]=t[0]-e,i[1]=t[1]-e,i[2]=t[2]+e,i[3]=t[3]+e,i):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function ft(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function gt(t,e,i){let n,r;return n=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0,r=i<t[1]?t[1]-i:t[3]<i?i-t[3]:0,n*n+r*r}function mt(t,e){return _t(t,e[0],e[1])}function vt(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function _t(t,e,i){return t[0]<=e&&e<=t[2]&&t[1]<=i&&i<=t[3]}function yt(t,e){const i=t[0],n=t[1],r=t[2],s=t[3],o=e[0],a=e[1];let l=ot;return o<i?l|=ht:o>r&&(l|=ct),a<n?l|=ut:a>s&&(l|=lt),l===ot&&(l=at),l}
2function xt(){return[1/0,1/0,-1/0,-1/0]}function wt(t,e,i,n,r){return r?(r[0]=t,r[1]=e,r[2]=i,r[3]=n,r):[t,e,i,n]}function bt(t){return wt(1/0,1/0,-1/0,-1/0,t)}function Ct(t,e){const i=t[0],n=t[1];return wt(i,n,i,n,e)}function Et(t,e,i,n,r){return kt(bt(r),t,e,i,n)}function St(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function Tt(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function kt(t,e,i,n,r){for(;i<n;i+=r)At(t,e[i],e[i+1]);return t}function At(t,e,i){t[0]=Math.min(t[0],e),t[1]=Math.min(t[1],i),t[2]=Math.max(t[2],e),t[3]=Math.max(t[3],i)}function Mt(t,e){let i;return i=e(Lt(t)),i||(i=e(Pt(t)),i||(i=e(jt(t)),i||(i=e(Nt(t)),i||!1)))}function It(t){let e=0;return Wt(t)||(e=Bt(t)*zt(t)),e}function Lt(t){return[t[0],t[1]]}function Pt(t){return[t[2],t[1]]}function Rt(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function Dt(t,e){let i;if("bottom-left"===e)i=Lt(t);else if("bottom-right"===e)i=Pt(t);else if("top-left"===e)i=Nt(t);else{if("top-right"!==e)throw new Error("Invalid corner");i=jt(t)}return i}function Ot(t,e,i,n,r){const[s,o,a,l,c,u,h,d]=Ft(t,e,i,n);return wt(Math.min(s,a,c,h),Math.min(o,l,u,d),Math.max(s,a,c,h),Math.max(o,l,u,d),r)}function Ft(t,e,i,n){const r=e*n[0]/2,s=e*n[1]/2,o=Math.cos(i),a=Math.sin(i),l=r*o,c=r*a,u=s*o,h=s*a,d=t[0],p=t[1];return[d-l+h,p-c-u,d-l-h,p-c+u,d+l-h,p+c+u,d+l+h,p+c-u,d-l+h,p-c-u]}function zt(t){return t[3]-t[1]}function $t(t,e,i){const n=i||[1/0,1/0,-1/0,-1/0];return Gt(t,e)?(t[0]>e[0]?n[0]=t[0]:n[0]=e[0],t[1]>e[1]?n[1]=t[1]:n[1]=e[1],t[2]<e[2]?n[2]=t[2]:n[2]=e[2],t[3]<e[3]?n[3]=t[3]:n[3]=e[3]):bt(n),n}function Nt(t){return[t[0],t[3]]}function jt(t){return[t[2],t[3]]}function Bt(t){return t[2]-t[0]}function Gt(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function Wt(t){return t[2]<t[0]||t[3]<t[1]}function qt(t,e,i,n){if(Wt(t))return bt(i);let r=[];if(n>1){const e=t[2]-t[0],i=t[3]-t[1];for(let s=0;s<n;++s)r.push(t[0]+e*s/n,t[1],t[2],t[1]+i*s/n,t[2]-e*s/n,t[3],t[0],t[3]-i*s/n)}else r=[t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]];e(r,r,2);const s=[],o=[];for(let t=0,e=r.length;t<e;t+=2)s.push(r[t]),o.push(r[t+1]);return function(t,e,i){return wt(Math.min.apply(null,t),Math.min.apply(null,e),Math.max.apply(null,t),Math.max.apply(null,e),i)}(s,o,i)}function Yt(t,e){const i=e.getExtent(),n=Rt(t);if(e.canWrapX()&&(n[0]<i[0]||n[0]>=i[2])){const e=Bt(i),r=Math.floor((n[0]-i[0])/e)*e;t[0]-=r,t[2]-=r}return t}const Xt={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]};var Ht={name:"xyz",min:[0,0,0],channel:["X","Y","Z"],alias:["XYZ","ciexyz","cie1931"],whitepoint:{2:{A:[109.85,100,35.585],C:[98.074,100,118.232],D50:[96.422,100,82.521],D55:[95.682,100,92.149],D65:[95.045592705167,100,108.9057750759878],D75:[94.972,100,122.638],F2:[99.187,100,67.395],F7:[95.044,100,108.755],F11:[100.966,100,64.37],E:[100,100,100]},10:{A:[111.144,100,35.2],C:[97.285,100,116.145],D50:[96.72,100,81.427],D55:[95.799,100,90.926],D65:[94.811,100,107.304],D75:[94.416,100,120.641],F2:[103.28,100,69.026],F7:[95.792,100,107.687],F11:[103.866,100,65.627],E:[100,100,100]}}};Ht.max=Ht.whitepoint[2].D65,Ht.rgb=function(t,e){e=e||Ht.whitepoint[2].E;var i,n,r,s=t[0]/e[0],o=t[1]/e[1],a=t[2]/e[2];return n=-.96924363628087*s+1.87596750150772*o+.041555057407175*a,r=.055630079696993*s+-.20397695888897*o+1.056971514242878*a,i=(i=3.240969941904521*s+-1.537383177570093*o+-.498610760293*a)>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(i=Math.min(Math.max(0,i),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},Xt.xyz=function(t,e){var i=t[0]/255,n=t[1]/255,r=t[2]/255,s=.21263900587151*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)+.71516867876775*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.072192315360733*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92),o=.019330818715591*i+.11919477979462*n+.95053215224966*r;return[(.41239079926595*i+.35758433938387*n+.18048078840183*r)*(e=e||Ht.whitepoint[2].E)[0],s*e[1],o*e[2]]};const Ut=Ht,Vt={name:"luv",min:[0,-134,-140],max:[100,224,122],channel:["lightness","u","v"],alias:["LUV","cieluv","cie1976"],xyz:function(t,e,
2i){var n,r,s,o,a,l,c,u,h;if(s=t[0],o=t[1],a=t[2],0===s)return[0,0,0];return e=e||"D65",i=i||2,n=o/(13*s)+4*(c=Ut.whitepoint[i][e][0])/(c+15*(u=Ut.whitepoint[i][e][1])+3*(h=Ut.whitepoint[i][e][2]))||0,r=a/(13*s)+9*u/(c+15*u+3*h)||0,[9*(l=s>8?u*Math.pow((s+16)/116,3):u*s*.0011070564598794539)*n/(4*r)||0,l,l*(12-3*n-20*r)/(4*r)||0]}};Ut.luv=function(t,e,i){var n,r,s,o,a,l,c,u,h,d,p;e=e||"D65",i=i||2,d=4*(c=Ut.whitepoint[i][e][0])/(c+15*(u=Ut.whitepoint[i][e][1])+3*(h=Ut.whitepoint[i][e][2])),p=9*u/(c+15*u+3*h),n=4*(o=t[0])/(o+15*(a=t[1])+3*(l=t[2]))||0,r=9*a/(o+15*a+3*l)||0;var f=a/u;return[s=f<=.008856451679035631?903.2962962962961*f:116*Math.pow(f,1/3)-16,13*s*(n-d),13*s*(r-p)]};var Kt={name:"lchuv",channel:["lightness","chroma","hue"],alias:["LCHuv","cielchuv"],min:[0,0,0],max:[100,100,360],luv:function(t){var e,i=t[0],n=t[1];return e=t[2]/360*2*Math.PI,[i,n*Math.cos(e),n*Math.sin(e)]},xyz:function(t){return Vt.xyz(Kt.luv(t))}};const Zt=Kt;Vt.lchuv=function(t){var e=t[0],i=t[1],n=t[2],r=Math.sqrt(i*i+n*n),s=360*Math.atan2(n,i)/2/Math.PI;return s<0&&(s+=360),[e,r,s]},Ut.lchuv=function(t){return Vt.lchuv(Ut.luv(t))};var Jt=i(874);const Qt=function(t){var e,i,n=[],r=1;if("number"==typeof t)return{space:"rgb",values:[t>>>16,(65280&t)>>>8,255&t],alpha:1};if("number"==typeof t)return{space:"rgb",values:[t>>>16,(65280&t)>>>8,255&t],alpha:1};if(t=String(t).toLowerCase(),Jt[t])n=Jt[t].slice(),i="rgb";else if("transparent"===t)r=0,i="rgb",n=[0,0,0];else if("#"===t[0]){var s=t.slice(1),o=s.length;r=1,o<=4?(n=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],4===o&&(r=parseInt(s[3]+s[3],16)/255)):(n=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],8===o&&(r=parseInt(s[6]+s[7],16)/255)),n[0]||(n[0]=0),n[1]||(n[1]=0),n[2]||(n[2]=0),i="rgb"}else if(e=/^((?:rgba?|hs[lvb]a?|hwba?|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms|oklch|oklab|color))\s*\(([^\)]*)\)/.exec(t)){var a=e[1],l="cmyk"===(i=a.replace(/a$/,""))?4:"gray"===i?1:3;n=e[2].trim().split(/\s*[,\/]\s*|\s+/),"color"===i&&(i=n.shift()),n=n.map((function(t,e){if("%"===t[t.length-1])return t=parseFloat(t)/100,3===e?t:"rgb"===i?255*t:"h"===i[0]?100*t:"l"!==i[0]||e?"lab"===i?125*t:"lch"===i?e<2?150*t:360*t:"o"!==i[0]||e?"oklab"===i?.4*t:"oklch"===i?e<2?.4*t:360*t:t:t:100*t;if("h"===i[e]||2===e&&"h"===i[i.length-1]){if(void 0!==te[t])return te[t];if(t.endsWith("deg"))return parseFloat(t);if(t.endsWith("turn"))return 360*parseFloat(t);if(t.endsWith("grad"))return 360*parseFloat(t)/400;if(t.endsWith("rad"))return 180*parseFloat(t)/Math.PI}return"none"===t?0:parseFloat(t)})),r=n.length>l?n.pop():1}else/[0-9](?:\s|\/|,)/.test(t)&&(n=t.match(/([0-9]+)/g).map((function(t){return parseFloat(t)})),i=t.match(/([a-z])/gi)?.join("")?.toLowerCase()||"rgb");return{space:i,values:n,alpha:r}};var te={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};const ee={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(t){var e,i,n,r,s,o=t[0]/360,a=t[1]/100,l=t[2]/100,c=0;if(0===a)return[s=255*l,s,s];for(e=2*l-(i=l<.5?l*(1+a):l+a-l*a),r=[0,0,0];c<3;)(n=o+1/3*-(c-1))<0?n++:n>1&&n--,s=6*n<1?e+6*(i-e)*n:2*n<1?i:3*n<2?e+(i-e)*(2/3-n)*6:e,r[c++]=255*s;return r}};function ie(t,e,i){return Math.min(Math.max(t,e),i)}function ne(t,e,i,n,r,s){const o=r-i,a=s-n;if(0!==o||0!==a){const l=((t-i)*o+(e-n)*a)/(o*o+a*a);l>1?(i=r,n=s):l>0&&(i+=o*l,n+=a*l)}return re(t,e,i,n)}function re(t,e,i,n){const r=i-t,s=n-e;return r*r+s*s}function se(t){return t*Math.PI/180}function oe(t,e){const i=t%e;return i*e<0?i+e:i}function ae(t,e,i){return t+i*(e-t)}function le(t,e){const i=Math.pow(10,e);return Math.round(t*i)/i}function ce(t,e){return Math.floor(le(t,e))}function ue(t,e){return Math.ceil(le(t,e))}function he(t){return"string"==typeof t?t:ye(t)}Xt.hsl=function(t){var e,i,n=t[0]/255,r=t[1]/255,s=t[2]/255,o=Math.min(n,r,s),a=Math.max(n,r,s),l=a-o;return a===o?e=0:n===a?e=(r-s)/l:r===a?e=2+(s-n)/l:s===a&&(e=4+(n-r)/l),(e=Math.min(60*e,360))<0&&(e+=360),i=(o+a)/2,[e,100*(a===o?0:i<=.5?l/(a+o):l/(2-a-o)),100*i]};const de={};let pe=0;function fe(t){if(4===t.length)return t;const e=t.slice();return e[3]=1,e}function ge(t){const e=Ut.lchuv(Xt.xyz(t));return e[3]=t[3],e}function me(t){if(de.hasOwnProperty(t))return de[t];if(pe>=1024){let t=0;for(const e in de)0==(3&t++)&&(delete de[e],--pe)}const e=function(t){var e;Array.isArray(t)&&t.raw&&(t=String.raw(...arguments)),t instanceof Number&&(t=+t);var i=Qt(t);if(!i.space)return[];const n="h"===i.space[0]?ee.min:Xt.min,r="h"===i.space[0]?ee.max:Xt.max;return(e=Array(3))[0]=Math.min(Math.max(i.values[0],n[0]),r[0]),e[1]=Math.min(Math.max(i.values[1],n[1]),r[1]),e[2]=Math.min(Math.max(i.values[2],n[2]),r[2]),"h"===i.space[0]&&(e=ee.rgb(e)),e.push(Math.min(Math.max(i.alpha,0),1)),e}(t);if(4!==e.length)throw new Error('Failed to parse "'+t+'" as color');for(const i of e)if(isNaN(i))throw new Error('Failed to parse "'+t+'" as color');return _e(e),de[t]=e,++pe,e}function ve(t){return Array.isArray(t)?t:me(t)}function _e(t){return t[0]=ie(t[0]+.5|0,0,255),t[1]=ie(t[1]+.5|0,0,255),t[2]=ie(t[2]+.5|0,0,255),t[3]=ie(t[3],0,1),t}function ye(t){let e=t[0];e!=(0|e)&&(e=e+.5|0);let i=t[1];i!=(0|i)&&(i=i+.5|0);let n=t[2];n!=(0|n)&&(n=n+.5|0);return"rgba("+e+","+i+","+n+","+(void 0===t[3]?1:Math.round(100*t[3])/100)+")"}class xe{constructor(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}clear(){this.cache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}
2expire(){if(this.canExpireCache()){let t=0;for(const e in this.cache_){const i=this.cache_[e];0!=(3&t++)||i.hasListener()||(delete this.cache_[e],--this.cacheSize_)}}}get(t,e,i){const n=we(t,e,i);return n in this.cache_?this.cache_[n]:null}set(t,e,i,n){const r=we(t,e,i);this.cache_[r]=n,++this.cacheSize_}setSize(t){this.maxCacheSize_=t,this.expire()}}function we(t,e,i){return e+":"+t+":"+(i?he(i):"null")}const be=new xe,Ce="opacity",Ee="visible",Se="extent",Te="zIndex",ke="maxResolution",Ae="minResolution",Me="maxZoom",Ie="minZoom",Le="source",Pe="map";const Re=class extends N{constructor(t){super(),this.on,this.once,this.un,this.background_=t.background;const e=Object.assign({},t);"object"==typeof t.properties&&(delete e.properties,Object.assign(e,t.properties)),e[Ce]=void 0!==t.opacity?t.opacity:1,Q("number"==typeof e[Ce],"Layer opacity must be a number"),e[Ee]=void 0===t.visible||t.visible,e[Te]=t.zIndex,e[ke]=void 0!==t.maxResolution?t.maxResolution:1/0,e[Ae]=void 0!==t.minResolution?t.minResolution:0,e[Ie]=void 0!==t.minZoom?t.minZoom:-1/0,e[Me]=void 0!==t.maxZoom?t.maxZoom:1/0,this.className_=void 0!==e.className?e.className:"ol-layer",delete e.className,this.setProperties(e),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(t){const e=this.state_||{layer:this,managed:void 0===t||t},i=this.getZIndex();return e.opacity=ie(Math.round(100*this.getOpacity())/100,0,1),e.visible=this.getVisible(),e.extent=this.getExtent(),e.zIndex=void 0!==i||e.managed?i:1/0,e.maxResolution=this.getMaxResolution(),e.minResolution=Math.max(this.getMinResolution(),0),e.minZoom=this.getMinZoom(),e.maxZoom=this.getMaxZoom(),this.state_=e,e}getLayersArray(t){return O()}getLayerStatesArray(t){return O()}getExtent(){return this.get(Se)}getMaxResolution(){return this.get(ke)}getMinResolution(){return this.get(Ae)}getMinZoom(){return this.get(Ie)}getMaxZoom(){return this.get(Me)}getOpacity(){return this.get(Ce)}getSourceState(){return O()}getVisible(){return this.get(Ee)}getZIndex(){return this.get(Te)}setBackground(t){this.background_=t,this.changed()}setExtent(t){this.set(Se,t)}setMaxResolution(t){this.set(ke,t)}setMinResolution(t){this.set(Ae,t)}setMaxZoom(t){this.set(Me,t)}setMinZoom(t){this.set(Ie,t)}setOpacity(t){Q("number"==typeof t,"Layer opacity must be a number"),this.set(Ce,t)}setVisible(t){this.set(Ee,t)}setZIndex(t){this.set(Te,t)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}},De="prerender",Oe="postrender",Fe="precompose",ze="postcompose",$e="rendercomplete",Ne=0,je=1,Be={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"},Ge=256;const We={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};const qe=class{constructor(t){this.code_=t.code,this.units_=t.units,this.extent_=void 0!==t.extent?t.extent:null,this.worldExtent_=void 0!==t.worldExtent?t.worldExtent:null,this.axisOrientation_=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.global_=void 0!==t.global&&t.global,this.canWrapX_=!(!this.global_||!this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||We[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(t){this.global_=t,this.canWrapX_=!(!t||!this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(t){this.defaultTileGrid_=t}setExtent(t){this.extent_=t,this.canWrapX_=!(!this.global_||!t)}setWorldExtent(t){this.worldExtent_=t}setGetPointResolution(t){this.getPointResolutionFunc_=t}getPointResolutionFunc(){return this.getPointResolutionFunc_}},Ye=6378137,Xe=Math.PI*Ye,He=[-Xe,-Xe,Xe,Xe],Ue=[-180,-85,180,85],Ve=Ye*Math.log(Math.tan(Math.PI/2));class Ke extends qe{constructor(t){super({code:t,units:"m",extent:He,global:!0,worldExtent:Ue,getPointResolution:function(t,e){return t/Math.cosh(e[1]/Ye)}})}}
2const Ze=[new Ke("EPSG:3857"),new Ke("EPSG:102100"),new Ke("EPSG:102113"),new Ke("EPSG:900913"),new Ke("http://www.opengis.net/def/crs/EPSG/0/3857"),new Ke("http://www.opengis.net/gml/srs/epsg.xml#3857")];function Je(t,e,i){const n=t.length;i=i>1?i:2,void 0===e&&(e=i>2?t.slice():new Array(n));for(let r=0;r<n;r+=i){e[r]=Xe*t[r]/180;let i=Ye*Math.log(Math.tan(Math.PI*(+t[r+1]+90)/360));i>Ve?i=Ve:i<-Ve&&(i=-Ve),e[r+1]=i}return e}function Qe(t,e,i){const n=t.length;i=i>1?i:2,void 0===e&&(e=i>2?t.slice():new Array(n));for(let r=0;r<n;r+=i)e[r]=180*t[r]/Xe,e[r+1]=360*Math.atan(Math.exp(t[r+1]/Ye))/Math.PI-90;return e}const ti=[-180,-90,180,90],ei=6378137*Math.PI/180;class ii extends qe{constructor(t,e){super({code:t,units:"degrees",extent:ti,axisOrientation:e,global:!0,metersPerUnit:ei,worldExtent:ti})}}const ni=[new ii("CRS:84"),new ii("EPSG:4326","neu"),new ii("urn:ogc:def:crs:OGC:1.3:CRS84"),new ii("urn:ogc:def:crs:OGC:2:84"),new ii("http://www.opengis.net/def/crs/OGC/1.3/CRS84"),new ii("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new ii("http://www.opengis.net/def/crs/EPSG/0/4326","neu")];let ri={};let si={};function oi(t,e,i){const n=t.getCode(),r=e.getCode();n in si||(si[n]={}),si[n][r]=i}function ai(t,e){let i=!0;for(let n=t.length-1;n>=0;--n)if(t[n]!=e[n]){i=!1;break}return i}function li(t,e){const i=Math.cos(e),n=Math.sin(e),r=t[0]*i-t[1]*n,s=t[1]*i+t[0]*n;return t[0]=r,t[1]=s,t}function ci(t,e){if(e.canWrapX()){const i=Bt(e.getExtent()),n=function(t,e,i){const n=e.getExtent();let r=0;e.canWrapX()&&(t[0]<n[0]||t[0]>n[2])&&(i=i||Bt(n),r=Math.floor((t[0]-n[0])/i));return r}(t,e,i);n&&(t[0]-=n*i)}return t}const ui=6371008.8;function hi(t,e,i){i=i||ui;const n=se(t[1]),r=se(e[1]),s=(r-n)/2,o=se(e[0]-t[0])/2,a=Math.sin(s)*Math.sin(s)+Math.sin(o)*Math.sin(o)*Math.cos(n)*Math.cos(r);return 2*i*Math.atan2(Math.sqrt(a),Math.sqrt(1-a))}const di={info:1,warn:2,error:3,none:4};let pi=di.info;function fi(...t){pi>di.warn||console.warn(...t)}let gi=!0;function mi(t){gi=!(void 0===t||t)}function vi(t,e){if(void 0!==e)for(let i=0,n=t.length;i<n;++i)e[i]=t[i];else e=t.slice();return e}function _i(t,e){if(void 0!==e&&t!==e){for(let i=0,n=t.length;i<n;++i)e[i]=t[i];t=e}return t}function yi(t){!function(t,e){ri[t]=e}(t.getCode(),t),oi(t,t,vi)}function xi(t){return"string"==typeof t?ri[e=t]||ri[e.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null:t||null;var e}function wi(t,e,i,n){let r;const s=(t=xi(t)).getPointResolutionFunc();if(s){if(r=s(e,i),n&&n!==t.getUnits()){const e=t.getMetersPerUnit();e&&(r=r*e/We[n])}}else{const s=t.getUnits();if("degrees"==s&&!n||"degrees"==n)r=e;else{const o=Ti(t,xi("EPSG:4326"));if(o===_i&&"degrees"!==s)r=e*t.getMetersPerUnit();else{let t=[i[0]-e/2,i[1],i[0]+e/2,i[1],i[0],i[1]-e/2,i[0],i[1]+e/2];t=o(t,t,2);r=(hi(t.slice(0,2),t.slice(2,4))+hi(t.slice(4,6),t.slice(6,8)))/2}const a=n?We[n]:t.getMetersPerUnit();void 0!==a&&(r/=a)}}return r}function bi(t){!function(t){t.forEach(yi)}(t),t.forEach((function(e){t.forEach((function(t){e!==t&&oi(e,t,vi)}))}))}function Ci(t,e){return t?"string"==typeof t?xi(t):t:xi(e)}function Ei(t,e){return mi(),Ai(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")}function Si(t,e){if(t===e)return!0;const i=t.getUnits()===e.getUnits();if(t.getCode()===e.getCode())return i;return Ti(t,e)===vi&&i}function Ti(t,e){let i=function(t,e){let i;return t in si&&e in si[t]&&(i=si[t][e]),i}(t.getCode(),e.getCode());return i||(i=_i),i}function ki(t,e){return Ti(xi(t),xi(e))}function Ai(t,e,i){return ki(e,i)(t,void 0,t.length)}function Mi(t,e,i,n){return qt(t,ki(e,i),void 0,n)}let Ii=null;function Li(){return Ii}function Pi(t,e){return Ii?Ai(t,e,Ii):t}function Ri(t,e){return Ii?Ai(t,Ii,e):(gi&&!ai(t,[0,0])&&t[0]>=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(gi=!1,fi("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t)}function Di(t,e){return Ii?Mi(t,e,Ii):t}function Oi(t,e){return Ii?Mi(t,Ii,e):t}function Fi(t,e){if(!Ii)return t;const i=xi(e).getMetersPerUnit(),n=Ii.getMetersPerUnit();return i&&n?t*i/n:t}var zi,$i,Ni;function ji(t,e,i){return function(n,r,s,o,a){if(!n)return;if(!r&&!e)return n;const l=e?0:s[0]*r,c=e?0:s[1]*r,u=a?a[0]:0,h=a?a[1]:0;let d=t[0]+l/2+u,p=t[2]-l/2+u,f=t[1]+c/2+h,g=t[3]-c/2+h;d>p&&(d=(p+d)/2,p=d),f>g&&(f=(g+f)/2,g=f);let m=ie(n[0],d,p),v=ie(n[1],f,g);if(o&&i&&r){const t=30*r;m+=-t*Math.log(1+Math.max(0,d-n[0])/t)+t*Math.log(1+Math.max(0,n[0]-p)/t),v+=-t*Math.log(1+Math.max(0,f-n[1])/t)+t*Math.log(1+Math.max(0,n[1]-g)/t)}return[m,v]}}function Bi(t){return t}function Gi(t,e,i,n){const r=Bt(e)/i[0],s=zt(e)/i[1];return n?Math.min(t,Math.max(r,s)):Math.min(t,Math.min(r,s))}function Wi(t,e,i){let n=Math.min(t,e);return n*=Math.log(1+50*Math.max(0,t/e-1))/50+1,i&&(n=Math.max(n,i),n/=Math.log(1+50*Math.max(0,i/t-1))/50+1),ie(n,i/2,2*e)}function qi(t,e,i,n,r){return i=void 0===i||i,function(s,o,a,l){if(void 0!==s){const o=n?Gi(t,n,a,r):t;return i&&l?Wi(s,o,e):ie(s,e,o)}}}function Yi(t){if(void 0!==t)return 0}function Xi(t){if(void 0!==t)return t}function Hi(t){return Math.pow(t,3)}function Ui(t){return 1-Hi(1-t)}function Vi(t){return 3*t*t-2*t*t*t}function Ki(t){return t}function Zi(t,e,i,n,r,s){s=s||[];let o=0;for(let a=e;a<i;a+=n){const e=t[a],i=t[a+1];s[o++]=r[0]*e+r[2]*i+r[4],s[o++]=r[1]*e+r[3]*i+r[5]}return s&&s.length!=o&&(s.length=o),s}function Ji(t,e,i,n,r,s,o){o=o||[];const a=Math.cos(r),l=Math.sin(r),c=s[0],u=s[1];let h=0;for(let r=e;r<i;r+=n){const e=t[r]-c,i=t[r+1]-u;o[h++]=c+e*a-i*l,o[h++]=u+e*l+i*a;for(let e=r+2;e<r+n;++e)o[h++]=t[e]}return o&&o.length!=h&&(o.length=h),o}bi(Ze),bi(ni),zi=Ze,$i=Je,Ni=Qe,ni.forEach((function(t){zi.forEac
2h((function(e){oi(t,e,$i),oi(e,t,Ni)}))}));const Qi=[1,0,0,1,0,0];const tn=class extends N{constructor(){super(),this.extent_=[1/0,1/0,-1/0,-1/0],this.extentRevision_=-1,this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=0,this.simplifyTransformedInternal=m(((t,e,i)=>{if(!i)return this.getSimplifiedGeometry(e);const n=this.clone();return n.applyTransform(i),n.getSimplifiedGeometry(e)}))}simplifyTransformed(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)}clone(){return O()}closestPointXY(t,e,i,n){return O()}containsXY(t,e){const i=this.getClosestPoint([t,e]);return i[0]===t&&i[1]===e}getClosestPoint(t,e){return e=e||[NaN,NaN],this.closestPointXY(t[0],t[1],e,1/0),e}intersectsCoordinate(t){return this.containsXY(t[0],t[1])}computeExtent(t){return O()}getExtent(t){if(this.extentRevision_!=this.getRevision()){const t=this.computeExtent(this.extent_);(isNaN(t[0])||isNaN(t[1]))&&bt(t),this.extentRevision_=this.getRevision()}return function(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t}(this.extent_,t)}rotate(t,e){O()}scale(t,e,i){O()}simplify(t){return this.getSimplifiedGeometry(t*t)}getSimplifiedGeometry(t){return O()}getType(){return O()}applyTransform(t){O()}intersectsExtent(t){return O()}translate(t,e){O()}transform(t,e){const i=xi(t),n="tile-pixels"==i.getUnits()?function(t,n,r){const s=i.getExtent(),o=i.getWorldExtent(),a=zt(o)/zt(s);return it(Qi,o[0],o[3],a,-a,0,0,0),Zi(t,0,t.length,r,Qi,n),ki(i,e)(t,n,r)}:ki(i,e);return this.applyTransform(n),this}};function en(t){let e;return"XY"==t?e=2:"XYZ"==t||"XYM"==t?e=3:"XYZM"==t&&(e=4),e}const nn=class extends tn{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates}computeExtent(t){return Et(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}getCoordinates(){return O()}getFirstCoordinate(){return this.flatCoordinates.slice(0,this.stride)}getFlatCoordinates(){return this.flatCoordinates}getLastCoordinate(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)}getLayout(){return this.layout}getSimplifiedGeometry(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;const e=this.getSimplifiedGeometryInternal(t);return e.getFlatCoordinates().length<this.flatCoordinates.length?e:(this.simplifiedGeometryMaxMinSquaredTolerance=t,this)}getSimplifiedGeometryInternal(t){return this}getStride(){return this.stride}setFlatCoordinates(t,e){this.stride=en(t),this.layout=t,this.flatCoordinates=e}setCoordinates(t,e){O()}setLayout(t,e,i){let n;if(t)n=en(t);else{for(let t=0;t<i;++t){if(0===e.length)return this.layout="XY",void(this.stride=2);e=e[0]}n=e.length,t=function(t){let e;2==t?e="XY":3==t?e="XYZ":4==t&&(e="XYZM");return e}(n)}this.layout=t,this.stride=n}applyTransform(t){this.flatCoordinates&&(t(this.flatCoordinates,this.flatCoordinates,this.stride),this.changed())}rotate(t,e){const i=this.getFlatCoordinates();if(i){const n=this.getStride();Ji(i,0,i.length,n,t,e,i),this.changed()}}scale(t,e,i){void 0===e&&(e=t),i||(i=Rt(this.getExtent()));const n=this.getFlatCoordinates();if(n){const r=this.getStride();!function(t,e,i,n,r,s,o,a){a=a||[];const l=o[0],c=o[1];let u=0;for(let o=e;o<i;o+=n){const e=t[o]-l,i=t[o+1]-c;a[u++]=l+r*e,a[u++]=c+s*i;for(let e=o+2;e<o+n;++e)a[u++]=t[e]}a&&a.length!=u&&(a.length=u)}(n,0,n.length,r,t,e,i,n),this.changed()}}translate(t,e){const i=this.getFlatCoordinates();if(i){const n=this.getStride();!function(t,e,i,n,r,s,o){o=o||[];let a=0;for(let l=e;l<i;l+=n){o[a++]=t[l]+r,o[a++]=t[l+1]+s;for(let e=l+2;e<l+n;++e)o[a++]=t[e]}o&&o.length!=a&&(o.length=a)}(i,0,i.length,n,t,e,i),this.changed()}}};function rn(t,e,i,n,r,s,o){const a=t[e],l=t[e+1],c=t[i]-a,u=t[i+1]-l;let h;if(0===c&&0===u)h=e;else{const d=((r-a)*c+(s-l)*u)/(c*c+u*u);if(d>1)h=i;else{if(d>0){for(let r=0;r<n;++r)o[r]=ae(t[e+r],t[i+r],d);return void(o.length=n)}h=e}}for(let e=0;e<n;++e)o[e]=t[h+e];o.length=n}
vendor: 9,942 bytes, line 2
2function sn(t,e,i,n,r){let s=t[e],o=t[e+1];for(e+=n;e<i;e+=n){const i=t[e],n=t[e+1],a=re(s,o,i,n);a>r&&(r=a),s=i,o=n}return r}function on(t,e,i,n,r){for(let s=0,o=i.length;s<o;++s){const o=i[s];r=sn(t,e,o,n,r),e=o}return r}function an(t,e,i,n,r,s,o,a,l,c,u){if(e==i)return c;let h,d;if(0===r){if(d=re(o,a,t[e],t[e+1]),d<c){for(h=0;h<n;++h)l[h]=t[e+h];return l.length=n,d}return c}u=u||[NaN,NaN];let p=e+n;for(;p<i;)if(rn(t,p-n,p,n,o,a,u),d=re(o,a,u[0],u[1]),d<c){for(c=d,h=0;h<n;++h)l[h]=u[h];l.length=n,p+=n}else p+=n*Math.max((Math.sqrt(d)-Math.sqrt(c))/r|0,1);if(s&&(rn(t,i-n,e,n,o,a,u),d=re(o,a,u[0],u[1]),d<c)){for(c=d,h=0;h<n;++h)l[h]=u[h];l.length=n}return c}function ln(t,e,i,n,r,s,o,a,l,c,u){u=u||[NaN,NaN];for(let h=0,d=i.length;h<d;++h){const d=i[h];c=an(t,e,d,n,r,s,o,a,l,c,u),e=d}return c}function cn(t,e,i,n){for(let r=0,s=i.length;r<s;++r){const s=i[r];for(let i=0;i<n;++i)t[e++]=s[i]}return e}function un(t,e,i,n,r){r=r||[];let s=0;for(let o=0,a=i.length;o<a;++o){const a=cn(t,e,i[o],n);r[s++]=a,e=a}return r.length=s,r}function hn(t,e,i,n,r,s,o){const a=(i-e)/n;if(a<3){for(;e<i;e+=n)s[o++]=t[e],s[o++]=t[e+1];return o}const l=new Array(a);l[0]=1,l[a-1]=1;const c=[e,i-n];let u=0;for(;c.length>0;){const i=c.pop(),s=c.pop();let o=0;const a=t[s],h=t[s+1],d=t[i],p=t[i+1];for(let e=s+n;e<i;e+=n){const i=ne(t[e],t[e+1],a,h,d,p);i>o&&(u=e,o=i)}o>r&&(l[(u-e)/n]=1,s+n<u&&c.push(s,u),u+n<i&&c.push(u,i))}for(let i=0;i<a;++i)l[i]&&(s[o++]=t[e+i*n],s[o++]=t[e+i*n+1]);return o}function dn(t,e,i,n,r,s,o,a){for(let l=0,c=i.length;l<c;++l){const c=i[l];o=hn(t,e,c,n,r,s,o),a.push(o),e=c}return o}function pn(t,e){return e*Math.round(t/e)}function fn(t,e,i,n,r,s,o){if(e==i)return o;let a,l,c=pn(t[e],r),u=pn(t[e+1],r);e+=n,s[o++]=c,s[o++]=u;do{if(a=pn(t[e],r),l=pn(t[e+1],r),(e+=n)==i)return s[o++]=a,s[o++]=l,o}while(a==c&&l==u);for(;e<i;){const i=pn(t[e],r),h=pn(t[e+1],r);if(e+=n,i==a&&h==l)continue;const d=a-c,p=l-u,f=i-c,g=h-u;d*g==p*f&&(d<0&&f<d||d==f||d>0&&f>d)&&(p<0&&g<p||p==g||p>0&&g>p)?(a=i,l=h):(s[o++]=a,s[o++]=l,c=a,u=l,a=i,l=h)}return s[o++]=a,s[o++]=l,o}function gn(t,e,i,n,r,s,o,a){for(let l=0,c=i.length;l<c;++l){const c=i[l];o=fn(t,e,c,n,r,s,o),a.push(o),e=c}return o}function mn(t,e,i,n,r){r=void 0!==r?r:[];let s=0;for(let o=e;o<i;o+=n)r[s++]=t.slice(o,o+n);return r.length=s,r}function vn(t,e,i,n,r){r=void 0!==r?r:[];let s=0;for(let o=0,a=i.length;o<a;++o){const a=i[o];r[s++]=mn(t,e,a,n,r[s]),e=a}return r.length=s,r}function _n(t,e,i,n,r){r=void 0!==r?r:[];let s=0;for(let o=0,a=i.length;o<a;++o){const a=i[o];r[s++]=1===a.length&&a[0]===e?[]:vn(t,e,a,n,r[s]),e=a[a.length-1]}return r.length=s,r}function yn(t,e,i,n){let r=0,s=t[i-n],o=t[i-n+1];for(;e<i;e+=n){const i=t[e],n=t[e+1];r+=o*i-s*n,s=i,o=n}return r/2}function xn(t,e,i,n){let r=0;for(let s=0,o=i.length;s<o;++s){const o=i[s];r+=yn(t,e,o,n),e=o}return r}class wn extends nn{constructor(t,e){super(),this.maxDelta_=-1,this.maxDeltaRevision_=-1,void 0===e||Array.isArray(t[0])?this.setCoordinates(t,e):this.setFlatCoordinates(e,t)}clone(){return new wn(this.flatCoordinates.slice(),this.layout)}closestPointXY(t,e,i,n){return n<gt(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(sn(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),an(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,t,e,i,n))}getArea(){return yn(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getCoordinates(){return mn(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getSimplifiedGeometryInternal(t){const e=[];return e.length=hn(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,0),new wn(e,"XY")}getType(){return"LinearRing"}intersectsExtent(t){return!1}setCoordinates(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=cn(this.flatCoordinates,0,t,this.stride),this.changed()}}const bn=wn;class Cn extends nn{constructor(t,e){super(),this.setCoordinates(t,e)}clone(){const t=new Cn(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t}closestPointXY(t,e,i,n){const r=this.flatCoordinates,s=re(t,e,r[0],r[1]);if(s<n){const t=this.stride;for(let e=0;e<t;++e)i[e]=r[e];return i.length=t,s}return n}getCoordinates(){return this.flatCoordinates.slice()}computeExtent(t){return Ct(this.flatCoordinates,t)}getType(){return"Point"}intersectsExtent(t){return _t(t,this.flatCoordinates[0],this.flatCoordinates[1])}setCoordinates(t,e){this.setLayout(e,t,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=function(t,e,i,n){for(let n=0,r=i.length;n<r;++n)t[e++]=i[n];return e}(this.flatCoordinates,0,t,this.stride),this.changed()}}const En=Cn;function Sn(t,e,i,n,r){return!Mt(r,(function(r){return!Tn(t,e,i,n,r[0],r[1])}))}function Tn(t,e,i,n,r,s){let o=0,a=t[i-n],l=t[i-n+1];for(;e<i;e+=n){const i=t[e],n=t[e+1];l<=s?n>s&&(i-a)*(s-l)-(r-a)*(n-l)>0&&o++:n<=s&&(i-a)*(s-l)-(r-a)*(n-l)<0&&o--,a=i,l=n}return 0!==o}function kn(t,e,i,n,r,s){if(0===i.length)return!1;if(!Tn(t,e,i[0],n,r,s))return!1;for(let e=1,o=i.length;e<o;++e)if(Tn(t,i[e-1],i[e],n,r,s))return!1;return!0}function An(t,e,i,n,r,s,o){let a,c,u,h,d,p,f;const g=r[s+1],m=[];for(let r=0,s=i.length;r<s;++r){const s=i[r];for(h=t[s-n],p=t[s-n+1],a=e;a<s;a+=n)d=t[a],f=t[a+1],(g<=p&&f<=g||p<=g&&g<=f)&&(u=(g-p)/(f-p)*(d-h)+h,m.push(u)),h=d,p=f}let v=NaN,_=-1/0;for(m.sort(l),h=m[0],a=1,c=m.length;a<c;++a){d=m[a];const r=Math.abs(d-h);r>_&&(u=(h+d)/2,kn(t,e,i,n,u,g)&&(v=u,_=r)),h=d}return isNaN(v)&&(v=r[s]),o?(o.push(v,g,_),o):[v,g,_]}function Mn(t,e,i,n,r){const s=kt([1/0,1/0,-1/0,-1/0],t,e,i,n);return!!Gt(r,s)&&(!!vt(r,s)||(s[0]>=r[0]&&s[2]<=r[2]||(s[1]>=r[1]&&s[3]<=r[3]||function(t,e,i,n,r){let s;for(e+=n;e<i;e+=n)if(s=r(t.slice(e-n,e),t.slice(e,e+n)),s)return s;return!1}(t,e,i,n,(function(t,e){return function(t,e,i){let n=!1;const r=yt(t,e),s=yt(t,i);if(r===at||s===at)n=!0;else{const o=t[0],a=t[1],l=t[2],c=t[3],u=e[0],h=e[1],d=i[0],p=i[1],f=(p-h)/(d-u);let g,m;s&lt&&!(r&lt)&&(g=d-(p-c)/f,n=g>=o&&g<=l),n||!(s&ct)||r&ct||(m=p-(d-l)*f,n=m>=a&&m<=c),n||!(s&ut)||r&ut||(g=d-(p-a)/f,n=g>=o&&g<=l),n||!(s&ht)||r&ht||(m=p-(d-o)*f,n=m>=a&&m<=c)}return n}(r,t,e)})))))}function In(t,e,i,n,r){return!!Mn(t,e,i,n,r)||(!!Tn(t,e,i,n,r[0],r[1])||(!!Tn(t,e,i,n,r[0],r[3])||(!!Tn(t,e,i,n,r[2],r[1])||!!Tn(t,e,i,n,r[2],r[3]))))}function Ln(t,e,i,n,r){if(!In(t,e,i[0],n,r))return!1;if(1===i.length)return!0;for(let e=1,s=i.length;e<s;++e)if(Sn(t,i[e-1],i[e],n,r)&&!Mn(t,i[e-1],i[e],n,r))return!1;return!0}function Pn(t,e,i,n){for(;e<i-n;){for(let r=0;r<n;++r){const s=t[e+r];t[e+r]=t[i-n+r],t[i-n+r]=s}e+=n,i-=n}}function Rn(t,e,i,n){let r=0,s=t[i-n],o=t[i-n+1];for(;e<i;e+=n){const i=t[e],n=t[e+1];r+=(i-s)*(n+o),s=i,o=n}return 0===r?void 0:r>0}function Dn(t,e,i,n,r){r=void 0!==r&&r;for(let s=0,o=i.length;s<o;++s){const o=i[s],a=Rn(t,e,o,n);if(0===s){if(r&&a||!r&&!a)return!1}else if(r&&!a||!r&&a)return!1;e=o}return!0}function On(t,e,i,n,r){r=void 0!==r&&r;for(let s=0,o=i.length;s<o;++s){const o=i[s],a=Rn(t,e,o,n);(0===s?r&&a||!r&&!a:r&&!a||!r&&a)&&Pn(t,e,o,n),e=o}return e}class Fn extends nn{constructor(t,e,i){super(),this.ends_=[],this.flatInteriorPointRevision_=-1,this.flatInteriorPoint_=null,this.maxDelta_=-1,this.maxDeltaRevision_=-1,this.orientedRevision_=-1,this.orientedFlatCoordinates_=null,void 0!==e&&i?(this.setFlatCoordinates(e,t),this.ends_=i):this.setCoordinates(t,e)}appendLinearRing(t){this.flatCoordinates?h(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()}clone(){const t=new Fn(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return t.applyProperties(this),t}closestPointXY(t,e,i,n){return n<gt(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(on(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),ln(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,t,e,i,n))}containsXY(t,e){return kn(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,e)}getArea(){return xn(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)}getCoordinates(t){let e;return void 0!==t?(e=this.getOrientedFlatCoordinates().slice(),On(e,0,this.ends_,this.stride,t)):e=this.flatCoordinates,vn(e,0,this.ends_,this.stride)}getEnds(){return this.ends_}getFlatInteriorPoint(){if(this.flatInteriorPointRevision_!=this.getRevision()){const t=Rt(this.getExtent());this.flatInteriorPoint_=An(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_}getInteriorPoint(){return new En(this.getFlatInteriorPoint(),"XYM")}getLinearRingCount(){return this.ends_.length}getLinearRing(t){return t<0||this.ends_.length<=t?null:new bn(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)}getLinearRings(){const t=this.layout,e=this.flatCoordinates,i=this.ends_,n=[];let r=0;for(let s=0,o=i.length;s<o;++s){const o=i[s],a=new bn(e.slice(r,o),t);n.push(a),r=o}return n}getOrientedFlatCoordinates(){if(this.orientedRevision_!=this.getRevision()){const t=this.flatCoordinates;Dn(t,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=On(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_}getSimplifiedGeometryInternal(t){const e=[],i=[];return e.length=gn(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(t),e,0,i),new Fn(e,"XY",i)}getType(){return"Polygon"}intersectsExtent(t){return Ln(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);
2const i=un(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===i.length?0:i[i.length-1],this.changed()}}const zn=Fn;function $n(t){if(Wt(t))throw new Error("Cannot create polygon from empty extent");const e=t[0],i=t[1],n=t[2],r=t[3],s=[e,i,e,r,n,r,n,i,e,i];return new Fn(s,"XY",[s.length])}function Nn(t,e){setTimeout((function(){t(e)}),0)}function jn(t){return!(t.sourceCenter&&t.targetCenter&&!ai(t.sourceCenter,t.targetCenter))&&(t.sourceResolution===t.targetResolution&&t.sourceRotation===t.targetRotation)}function Bn(t,e,i,n,r){const s=Math.cos(-r);let o=Math.sin(-r),a=t[0]*s-t[1]*o,l=t[1]*s+t[0]*o;a+=(e[0]/2-i[0])*n,l+=(i[1]-e[1]/2)*n,o=-o;return[a*s-l*o,l*s+a*o]}const Gn=class extends N{constructor(t){super(),this.on,this.once,this.un,t=Object.assign({},t),this.hints_=[0,0],this.animations_=[],this.updateAnimationKey_,this.projection_=Ci(t.projection,"EPSG:3857"),this.viewportSize_=[100,100],this.targetCenter_=null,this.targetResolution_,this.targetRotation_,this.nextCenter_=null,this.nextResolution_,this.nextRotation_,this.cancelAnchor_=void 0,t.projection&&mi(),t.center&&(t.center=Ri(t.center,this.projection_)),t.extent&&(t.extent=Oi(t.extent,this.projection_)),this.applyOptions_(t)}applyOptions_(t){const e=Object.assign({},t);for(const t in Be)delete e[t];this.setProperties(e,!0);const i=function(t){let e,i,n;const r=28,s=2;let o=void 0!==t.minZoom?t.minZoom:0,a=void 0!==t.maxZoom?t.maxZoom:r;const l=void 0!==t.zoomFactor?t.zoomFactor:s,u=void 0!==t.multiWorld&&t.multiWorld,h=void 0===t.smoothResolutionConstraint||t.smoothResolutionConstraint,d=void 0!==t.showFullExtent&&t.showFullExtent,p=Ci(t.projection,"EPSG:3857"),f=p.getExtent();let g=t.constrainOnlyCenter,m=t.extent;u||m||!p.isGlobal()||(g=!1,m=f);if(void 0!==t.resolutions){const r=t.resolutions;i=r[o],n=void 0!==r[a]?r[a]:r[r.length-1],e=t.constrainResolution?function(t,e,i,n){return e=void 0===e||e,function(r,s,o,a){if(void 0!==r){const l=t[0],u=t[t.length-1],h=i?Gi(l,i,o,n):l;if(a)return e?Wi(r,h,u):ie(r,u,h);const d=Math.min(h,r),p=Math.floor(c(t,d,s));return t[p]>h&&p<t.length-1?t[p+1]:t[p]}}}(r,h,!g&&m,d):qi(i,n,h,!g&&m,d)}else{const c=(f?Math.max(Bt(f),zt(f)):360*We.degrees/p.getMetersPerUnit())/Ge/Math.pow(s,0),u=c/Math.pow(s,r-0);i=t.maxResolution,void 0!==i?o=0:i=c/Math.pow(l,o),n=t.minResolution,void 0===n&&(n=void 0!==t.maxZoom?void 0!==t.maxResolution?i/Math.pow(l,a):c/Math.pow(l,a):u),a=o+Math.floor(Math.log(i/n)/Math.log(l)),n=i/Math.pow(l,a-o),e=t.constrainResolution?function(t,e,i,n,r,s){return n=void 0===n||n,i=void 0!==i?i:0,function(o,a,l,c){if(void 0!==o){const u=r?Gi(e,r,l,s):e;if(c)return n?Wi(o,u,i):ie(o,i,u);const h=1e-9,d=Math.ceil(Math.log(e/u)/Math.log(t)-h),p=-a*(.5-h)+.5,f=Math.min(u,o),g=Math.floor(Math.log(e/f)/Math.log(t)+p),m=Math.max(d,g);return ie(e/Math.pow(t,m),i,u)}}}(l,i,n,h,!g&&m,d):qi(i,n,h,!g&&m,d)}return{constraint:e,maxResolution:i,minResolution:n,minZoom:o,zoomFactor:l}}(t);this.maxResolution_=i.maxResolution,this.minResolution_=i.minResolution,this.zoomFactor_=i.zoomFactor,this.resolutions_=t.resolutions,this.padding_=t.padding,this.minZoom_=i.minZoom;const n=function(t){if(void 0!==t.extent){const e=void 0===t.smoothExtentConstraint||t.smoothExtentConstraint;return ji(t.extent,t.constrainOnlyCenter,e)}const e=Ci(t.projection,"EPSG:3857");if(!0!==t.multiWorld&&e.isGlobal()){const t=e.getExtent().slice();return t[0]=-1/0,t[2]=1/0,ji(t,!1,!1)}return Bi}(t),r=i.constraint,s=function(t){if(void 0===t.enableRotation||t.enableRotation){const e=t.constrainRotation;return void 0===e||!0===e?function(t){const e=void 0===t?se(5):t;return function(t,i){return i||void 0===t?t:Math.abs(t)<=e?0:t}}():!1===e?Xi:"number"==typeof e?function(t){const e=2*Math.PI/t;return function(t,i){return i?t:void 0!==t?t=Math.floor(t/e+.5)*e:void 0}}(e):Xi}return Yi}(t);this.constraints_={center:n,resolution:r,rotation:s},this.setRotation(void 0!==t.rotation?t.rotation:0),this.setCenterInternal(void 0!==t.center?t.center:null),void 0!==t.resolution?this.setResolution(t.resolution):void 0!==t.zoom&&this.setZoom(t.zoom)}get padding(){return this.padding_}set padding(t){let e=this.padding_;this.padding_=t;const i=this.getCenterInternal();if(i){const n=t||[0,0,0,0];e=e||[0,0,0,0];const r=this.getResolution(),s=r/2*(n[3]-e[3]+e[1]-n[1]),o=r/2*(n[0]-e[0]+e[2]-n[2]);this.setCenterInternal([i[0]+s,i[1]-o])}}getUpdatedOptions_(t){const e=this.getProperties();return void 0!==e.resolution?e.resolution=this.getResolution():e.zoom=this.getZoom(),e.center=this.getCenterInternal(),e.rotation=this.getRotation(),Object.assign({},e,t)}animate(t){this.isDef()&&!this.getAnimating()&&this.resolveConstraints(0);const e=new Array(arguments.length);for(let t=0;t<e.length;++t){let i=arguments[t];i.center&&(i=Object.assign({},i),i.center=Ri(i.center,this.getProjection())),i.anchor&&(i=Object.assign({},i),i.anchor=Ri(i.anchor,this.getProjection())),e[t]=i}this.animateInternal.apply(this,e)}animateInternal(t){let e,i=arguments.length;i>1&&"function"==typeof arguments[i-1]&&(e=arguments[i-1],--i);let n=0;for(;n<i&&!this.isDef();++n){const t=arguments[n];t.center&&this.setCenterInternal(t.center),void 0!==t.zoom?this.setZoom(t.zoom):t.resolution&&this.setResolution(t.resolution),void 0!==t.rotation&&this.setRotation(t.rotation)}if(n===i)return void(e&&Nn(e,!0));let r=Date.now(),s=this.targetCenter_.slice(),o=this.targetResolution_,a=this.targetRotation_;const l=[];for(;n<i;++n){const t=arguments[n],i={start:r,complete:!1,anchor:t.anchor,duration:void 0!==t.duration?t.duration:1e3,easing:t.easing||Vi,callback:e};if(t.center&&(i.sourceCenter=s,i.targetCenter=t.center.slice(),s=i.targetCenter),void 0!==t.zoom?(i.sourceResolution=o,i.targetResolution=this.getResolutionForZoom(t.zoom),o=i.targetResolution):t.resolution&&(i.sourceResolution=o,i.targetResolution=t.resolution,o=i.targetResolution),void 0!==t.rotation){i.sourceRotation=a;const e=oe(t.rotation-a+Math.PI,2*Math.PI)-Math.PI;i.targetRotation=a+e,a=i.targetRotation}jn(i)?i.complete=!0:r+=i.duration,l.push(i)}this.animations_.push(l),this.setHint(Ne,1),this.updateAnimations_()}getAnimating(){return this.hints_[Ne]>0}getInteracting(){return this.hints_[je]>0}cancelAnimations(){let t;this.setHint(Ne,-this.hints_[Ne]);for(let e=0,i=this.animations_.length;e<i;++e){const i=this.animations_[e];
vendor: 10,820 bytes, line 2
2if(i[0].callback&&Nn(i[0].callback,!1),!t)for(let e=0,n=i.length;e<n;++e){const n=i[e];if(!n.complete){t=n.anchor;break}}}this.animations_.length=0,this.cancelAnchor_=t,this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN}updateAnimations_(){if(void 0!==this.updateAnimationKey_&&(cancelAnimationFrame(this.updateAnimationKey_),this.updateAnimationKey_=void 0),!this.getAnimating())return;const t=Date.now();let e=!1;for(let i=this.animations_.length-1;i>=0;--i){const n=this.animations_[i];let r=!0;for(let i=0,s=n.length;i<s;++i){const s=n[i];if(s.complete)continue;const o=t-s.start;let a=s.duration>0?o/s.duration:1;a>=1?(s.complete=!0,a=1):r=!1;const l=s.easing(a);if(s.sourceCenter){const t=s.sourceCenter[0],e=s.sourceCenter[1],i=s.targetCenter[0],n=s.targetCenter[1];this.nextCenter_=s.targetCenter;const r=t+l*(i-t),o=e+l*(n-e);this.targetCenter_=[r,o]}if(s.sourceResolution&&s.targetResolution){const t=1===l?s.targetResolution:s.sourceResolution+l*(s.targetResolution-s.sourceResolution);if(s.anchor){const e=this.getViewportSize_(this.getRotation()),i=this.constraints_.resolution(t,0,e,!0);this.targetCenter_=this.calculateCenterZoom(i,s.anchor)}this.nextResolution_=s.targetResolution,this.targetResolution_=t,this.applyTargetState_(!0)}if(void 0!==s.sourceRotation&&void 0!==s.targetRotation){const t=1===l?oe(s.targetRotation+Math.PI,2*Math.PI)-Math.PI:s.sourceRotation+l*(s.targetRotation-s.sourceRotation);if(s.anchor){const e=this.constraints_.rotation(t,!0);this.targetCenter_=this.calculateCenterRotate(e,s.anchor)}this.nextRotation_=s.targetRotation,this.targetRotation_=t}if(this.applyTargetState_(!0),e=!0,!s.complete)break}if(r){this.animations_[i]=null,this.setHint(Ne,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const t=n[0].callback;t&&Nn(t,!0)}}this.animations_=this.animations_.filter(Boolean),e&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(t,e){let i;const n=this.getCenterInternal();var r,s;return void 0!==n&&(i=[n[0]-e[0],n[1]-e[1]],li(i,t-this.getRotation()),s=e,(r=i)[0]+=+s[0],r[1]+=+s[1]),i}calculateCenterZoom(t,e){let i;const n=this.getCenterInternal(),r=this.getResolution();if(void 0!==n&&void 0!==r){i=[e[0]-t*(e[0]-n[0])/r,e[1]-t*(e[1]-n[1])/r]}return i}getViewportSize_(t){const e=this.viewportSize_;if(t){const i=e[0],n=e[1];return[Math.abs(i*Math.cos(t))+Math.abs(n*Math.sin(t)),Math.abs(i*Math.sin(t))+Math.abs(n*Math.cos(t))]}return e}setViewportSize(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const t=this.getCenterInternal();return t?Pi(t,this.getProjection()):t}getCenterInternal(){return this.get(Be.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(t){return void 0!==t?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()}calculateExtent(t){return Di(this.calculateExtentInternal(t),this.getProjection())}calculateExtentInternal(t){t=t||this.getViewportSizeMinusPadding_();const e=this.getCenterInternal();Q(e,"The view center is not defined");const i=this.getResolution();Q(void 0!==i,"The view resolution is not defined");const n=this.getRotation();return Q(void 0!==n,"The view rotation is not defined"),Ot(e,i,n,t)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))}setConstrainResolution(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))}getProjection(){return this.projection_}getResolution(){return this.get(Be.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(t,e){return this.getResolutionForExtentInternal(Oi(t,this.getProjection()),e)}getResolutionForExtentInternal(t,e){e=e||this.getViewportSizeMinusPadding_();const i=Bt(t)/e[0],n=zt(t)/e[1];return Math.max(i,n)}getResolutionForValueFunction(t){t=t||2;const e=this.getConstrainedResolution(this.maxResolution_),i=this.minResolution_,n=Math.log(e/i)/Math.log(t);return function(i){return e/Math.pow(t,i*n)}}getRotation(){return this.get(Be.ROTATION)}getValueForResolutionFunction(t){const e=Math.log(t||2),i=this.getConstrainedResolution(this.maxResolution_),n=this.minResolution_,r=Math.log(i/n)/e;return function(t){return Math.log(i/t)/e/r}}getViewportSizeMinusPadding_(t){let e=this.getViewportSize_(t);const i=this.padding_;return i&&(e=[e[0]-i[1]-i[3],e[1]-i[0]-i[2]]),e}getState(){const t=this.getProjection(),e=this.getResolution(),i=this.getRotation();let n=this.getCenterInternal();const r=this.padding_;if(r){const t=this.getViewportSizeMinusPadding_();n=Bn(n,this.getViewportSize_(),[t[0]/2+r[3],t[1]/2+r[0]],e,i)}return{center:n.slice(0),projection:void 0!==t?t:null,resolution:e,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:i,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let t;const e=this.getResolution();return void 0!==e&&(t=this.getZoomForResolution(e)),t}getZoomForResolution(t){let e,i,n=this.minZoom_||0;if(this.resolutions_){const r=c(this.resolutions_,t,1);n=r,e=this.resolutions_[r],i=r==this.resolutions_.length-1?2:e/this.resolutions_[r+1]}else e=this.maxResolution_,i=this.zoomFactor_;return n+Math.log(e/t)/Math.log(i)}getResolutionForZoom(t){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;const e=ie(Math.floor(t),0,this.resolutions_.length-2),i=this.resolutions_[e]/this.resolutions_[e+1];return this.resolutions_[e]/Math.pow(i,ie(t-e,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)}fit(t,e){let i;if(Q(Array.isArray(t)||"function"==typeof t.getSimplifiedGeometry,"Invalid extent or geometry provided as `geometry`"),Array.isArray(t)){Q(!Wt(t),"Cannot fit empty extent provided as `geometry`");i=$n(Oi(t,this.getProjection()))}else if("Circle"===t.getType()){const e=Oi(t.getExtent(),this.getProjection());i=$n(e),i.rotate(this.getRotation(),Rt(e))}else{const e=Li();i=e?t.clone().transform(e,this.getProjection()):t}this.fitInternal(i,e)}rotatedExtentForGeometry(t){const e=this.getRotation(),i=Math.cos(e),n=Math.sin(-e),r=t.getFlatCoordinates(),s=t.getStride();let o=1/0,a=1/0,l=-1/0,c=-1/0;for(let t=0,e=r.length;t<e;t+=s){const e=r[t]*i-r[t+1]*n,s=r[t]*n+r[t+1]*i;o=Math.min(o,e),a=Math.min(a,s),l=Math.max(l,e),c=Math.max(c,s)}return[o,a,l,c]}fitInternal(t,e){let i=(e=e||{}).size;i||(i=this.getViewportSizeMinusPadding_());const n=void 0!==e.padding?e.padding:[0,0,0,0],r=void 0!==e.nearest&&e.nearest;let s;s=void 0!==e.minResolution?e.minResolution:void 0!==e.maxZoom?this.getResolutionForZoom(e.maxZoom):0;const o=this.rotatedExtentForGeometry(t);let a=this.getResolutionForExtentInternal(o,[i[0]-n[1]-n[3],i[1]-n[0]-n[2]]);a=isNaN(a)?s:Math.max(a,s),a=this.getConstrainedResolution(a,r?0:1);const l=this.getRotation(),c=Math.sin(l),u=Math.cos(l),h=Rt(o);h[0]+=(n[1]-n[3])/2*a,h[1]+=(n[0]-n[2])/2*a;const d=h[0]*u-h[1]*c,p=h[1]*u+h[0]*c,f=this.getConstrainedCenter([d,p],a),m=e.callback?e.callback:g;void 0!==e.duration?this.animateInternal({resolution:a,center:f,duration:e.duration,easing:e.easing},m):(this.targetResolution_=a,this.targetCenter_=f,this.applyTargetState_(!1,!0),Nn(m,!0))}centerOn(t,e,i){this.centerOnInternal(Ri(t,this.getProjection()),e,i)}centerOnInternal(t,e,i){this.setCenterInternal(Bn(t,e,i,this.getResolution(),this.getRotation()))}calculateCenterShift(t,e,i,n){let r;const s=this.padding_;if(s&&t){const o=this.getViewportSizeMinusPadding_(-i),a=Bn(t,n,[o[0]/2+s[3],o[1]/2+s[0]],e,i);r=[t[0]-a[0],t[1]-a[1]]}return r}isDef(){return!!this.getCenterInternal()&&void 0!==this.getResolution()}adjustCenter(t){const e=Pi(this.targetCenter_,this.getProjection());this.setCenter([e[0]+t[0],e[1]+t[1]])}adjustCenterInternal(t){const e=this.targetCenter_;this.setCenterInternal([e[0]+t[0],e[1]+t[1]])}adjustResolution(t,e){e=e&&Ri(e,this.getProjection()),this.adjustResolutionInternal(t,e)}adjustResolutionInternal(t,e){const i=this.getAnimating()||this.getInteracting(),n=this.getViewportSize_(this.getRotation()),r=this.constraints_.resolution(this.targetResolution_*t,0,n,i);e&&(this.targetCenter_=this.calculateCenterZoom(r,e)),this.targetResolution_*=t,this.applyTargetState_()}adjustZoom(t,e){this.adjustResolution(Math.pow(this.zoomFactor_,-t),e)}adjustRotation(t,e){e&&(e=Ri(e,this.getProjection())),this.adjustRotationInternal(t,e)}adjustRotationInternal(t,e){const i=this.getAnimating()||this.getInteracting(),n=this.constraints_.rotation(this.targetRotation_+t,i);e&&(this.targetCenter_=this.calculateCenterRotate(n,e)),this.targetRotation_+=t,this.applyTargetState_()}setCenter(t){this.setCenterInternal(t?Ri(t,this.getProjection()):t)}setCenterInternal(t){this.targetCenter_=t,this.applyTargetState_()}setHint(t,e){return this.hints_[t]+=e,this.changed(),this.hints_[t]}setResolution(t){this.targetResolution_=t,this.applyTargetState_()}setRotation(t){this.targetRotation_=t,this.applyTargetState_()}setZoom(t){this.setResolution(this.getResolutionForZoom(t))}applyTargetState_(t,e){const i=this.getAnimating()||this.getInteracting()||e,n=this.constraints_.rotation(this.targetRotation_,i),r=this.getViewportSize_(n),s=this.constraints_.resolution(this.targetResolution_,0,r,i),o=this.constraints_.center(this.targetCenter_,s,r,i,this.calculateCenterShift(this.targetCenter_,s,n,r));this.get(Be.ROTATION)!==n&&this.set(Be.ROTATION,n),this.get(Be.RESOLUTION)!==s&&(this.set(Be.RESOLUTION,s),this.set("zoom",this.getZoom(),!0)),o&&this.get(Be.CENTER)&&ai(this.get(Be.CENTER),o)||this.set(Be.CENTER,o),this.getAnimating()&&!t&&this.cancelAnimations(),this.cancelAnchor_=void 0}resolveConstraints(t,e,i){t=void 0!==t?t:200;const n=e||0,r=this.constraints_.rotation(this.targetRotation_),s=this.getViewportSize_(r),o=this.constraints_.resolution(this.targetResolution_,n,s),a=this.constraints_.center(this.targetCenter_,o,s,!1,this.calculateCenterShift(this.targetCenter_,o,r,s));if(0===t&&!this.cancelAnchor_)return this.targetResolution_=o,this.targetRotation_=r,this.targetCenter_=a,void this.applyTargetState_();i=i||(0===t?this.cancelAnchor_:void 0),this.cancelAnchor_=void 0,this.getResolution()===o&&this.getRotation()===r&&this.getCenterInternal()&&ai(this.getCenterInternal(),a)||(this.getAnimating()&&this.cancelAnimations(),this.animateInternal({rotation:r,center:a,resolution:o,duration:t,easing:Ui,anchor:i}))}beginInteraction(){this.resolveConstraints(0),this.setHint(je,1)}
2endInteraction(t,e,i){i=i&&Ri(i,this.getProjection()),this.endInteractionInternal(t,e,i)}endInteractionInternal(t,e,i){this.getInteracting()&&(this.setHint(je,-1),this.resolveConstraints(t,e,i))}getConstrainedCenter(t,e){const i=this.getViewportSize_(this.getRotation());return this.constraints_.center(t,e||this.getResolution(),i)}getConstrainedZoom(t,e){const i=this.getResolutionForZoom(t);return this.getZoomForResolution(this.getConstrainedResolution(i,e))}getConstrainedResolution(t,e){e=e||0;const i=this.getViewportSize_(this.getRotation());return this.constraints_.resolution(t,e,i)}};function Wn(t,e){if(!t.visible)return!1;const i=e.resolution;if(i<t.minResolution||i>=t.maxResolution)return!1;const n=e.zoom;return n>t.minZoom&&n<=t.maxZoom}const qn=class extends Re{constructor(t){const e=Object.assign({},t);delete e.source,super(e),this.on,this.once,this.un,this.mapPrecomposeKey_=null,this.mapRenderKey_=null,this.sourceChangeKey_=null,this.renderer_=null,this.sourceReady_=!1,this.rendered=!1,t.render&&(this.render=t.render),t.map&&this.setMap(t.map),this.addChangeListener(Le,this.handleSourcePropertyChange_);const i=t.source?t.source:null;this.setSource(i)}getLayersArray(t){return(t=t||[]).push(this),t}getLayerStatesArray(t){return(t=t||[]).push(this.getLayerState()),t}getSource(){return this.get(Le)||null}getRenderSource(){return this.getSource()}getSourceState(){const t=this.getSource();return t?t.getState():"undefined"}handleSourceChange_(){this.changed(),this.sourceReady_||"ready"!==this.getSource().getState()||(this.sourceReady_=!0,this.dispatchEvent("sourceready"))}handleSourcePropertyChange_(){this.sourceChangeKey_&&(P(this.sourceChangeKey_),this.sourceChangeKey_=null),this.sourceReady_=!1;const t=this.getSource();t&&(this.sourceChangeKey_=I(t,x,this.handleSourceChange_,this),"ready"===t.getState()&&(this.sourceReady_=!0,setTimeout((()=>{this.dispatchEvent("sourceready")}),0))),this.changed()}getFeatures(t){return this.renderer_?this.renderer_.getFeatures(t):Promise.resolve([])}getData(t){return this.renderer_&&this.rendered?this.renderer_.getData(t):null}isVisible(t){let e;const i=this.getMapInternal();let n;!t&&i&&(t=i.getView()),e=t instanceof Gn?{viewState:t.getState(),extent:t.calculateExtent()}:t,!e.layerStatesArray&&i&&(e.layerStatesArray=i.getLayerGroup().getLayerStatesArray()),n=e.layerStatesArray?e.layerStatesArray.find((t=>t.layer===this)):this.getLayerState();const r=this.getExtent();return Wn(n,e.viewState)&&(!r||Gt(r,e.extent))}getAttributions(t){if(!this.isVisible(t))return[];let e;const i=this.getSource();if(i&&(e=i.getAttributions()),!e)return[];let n=e(t instanceof Gn?t.getViewStateAndExtent():t);return Array.isArray(n)||(n=[n]),n}render(t,e){const i=this.getRenderer();return i.prepareFrame(t)?(this.rendered=!0,i.renderFrame(t,e)):null}unrender(){this.rendered=!1}setMapInternal(t){t||this.unrender(),this.set(Pe,t)}getMapInternal(){return this.get(Pe)}setMap(t){this.mapPrecomposeKey_&&(P(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(P(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=I(t,Fe,(function(t){const e=t.frameState.layerStatesArray,i=this.getLayerState(!1);Q(!e.some((function(t){return t.layer===i.layer})),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),e.push(i)}),this),this.mapRenderKey_=I(this,x,t.render,t),this.changed())}setSource(t){this.set(Le,t)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}disposeInternal(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),super.disposeInternal()}};function Yn(t,e){be.expire()}const Xn=class extends a{constructor(t){super(),this.map_=t}dispatchRenderEvent(t,e){O()}calculateMatrices2D(t){const e=t.viewState,i=t.coordinateToPixelTransform,n=t.pixelToCoordinateTransform;it(i,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),nt(n,i)}forEachFeatureAtCoordinate(t,e,i,n,r,s,o,a){let l;const c=e.viewState;function u(t,e,i,n){return r.call(s,e,t?i:null,n)}const h=c.projection,d=ci(t.slice(),h),p=[[0,0]];if(h.canWrapX()&&n){const t=Bt(h.getExtent());p.push([-t,0],[t,0])}const f=e.layerStatesArray,g=f.length,m=[],v=[];for(let n=0;n<p.length;n++)for(let r=g-1;r>=0;--r){const s=f[r],h=s.layer;if(h.hasRenderer()&&Wn(s,c)&&o.call(a,h)){const r=h.getRenderer(),o=h.getSource();if(r&&o){const a=o.getWrapX()?d:t,c=u.bind(null,s.managed);v[0]=a[0]+p[n][0],v[1]=a[1]+p[n][1],l=r.forEachFeatureAtCoordinate(v,e,i,c,m)}if(l)return l}}if(0===m.length)return;const _=1/m.length;return m.forEach(((t,e)=>t.distanceSq+=e*_)),m.sort(((t,e)=>t.distanceSq-e.distanceSq)),m.some((t=>l=t.callback(t.feature,t.layer,t.geometry))),l}hasFeatureAtCoordinate(t,e,i,n,r,s){return void 0!==this.forEachFeatureAtCoordinate(t,e,i,n,p,this,r,s)}getMap(){return this.map_}renderFrame(t){O()}flushDeclutterItems(t){}scheduleExpireIconCache(t){be.canExpireCache()&&t.postRenderFunctions.push(Yn)}};const Hn=class extends s{constructor(t,e,i,n){super(t),this.inversePixelTransform=e,this.frameState=i,this.context=n}},Un="ol-hidden",Vn="ol-control",Kn="ol-collapsed",Zn=new RegExp(["^\\s*(?=(?
2:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))","?\\s*([-,\\\"\\'\\sa-z]+?)\\s*$"].join(""),"i"),Jn=["style","variant","weight","size","lineHeight","family"],Qn=function(t){const e=t.match(Zn);if(!e)return null;const i={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"};for(let t=0,n=Jn.length;t<n;++t){const n=e[t+1];void 0!==n&&(i[Jn[t]]=n)}return i.families=i.family.split(/,\s?/),i};function tr(t,e,i,n){let r;return r=i&&i.length?i.shift():K?new OffscreenCanvas(t||300,e||300):document.createElement("canvas"),t&&(r.width=t),e&&(r.height=e),r.getContext("2d",n)}function er(t){const e=t.canvas;e.width=1,e.height=1,t.clearRect(0,0,1,1)}function ir(t,e){const i=e.parentNode;i&&i.replaceChild(t,e)}function nr(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}const rr="10px sans-serif",sr="#000",or="round",ar=[],lr="round",cr="#000",ur="center",hr="middle",dr=[0,0,0,0],pr=new N;let fr,gr=null;const mr={},vr=function(){const t="32px ",e=["monospace","serif"],i=e.length,n="wmytzilWMYTZIL@#/&?$%10";let r,s;function o(r,o,a){let l=!0;for(let c=0;c<i;++c){const i=e[c];if(s=xr(r+" "+o+" "+t+i,n),a!=i){const e=xr(r+" "+o+" "+t+a+","+i,n);l=l&&e!=s}}return!!l}function a(){let t=!0;const e=pr.getKeys();for(let i=0,n=e.length;i<n;++i){const n=e[i];pr.get(n)<100&&(o.apply(this,n.split("\n"))?(v(mr),gr=null,fr=void 0,pr.set(n,100)):(pr.set(n,pr.get(n)+1,!0),t=!1))}t&&(clearInterval(r),r=void 0)}return function(t){const e=Qn(t);if(!e)return;const i=e.families;for(let t=0,n=i.length;t<n;++t){const n=i[t],s=e.style+"\n"+e.weight+"\n"+n;void 0===pr.get(s)&&(pr.set(s,100,!0),o(e.style,e.weight,n)||(pr.set(s,0,!0),void 0===r&&(r=setInterval(a,32))))}}}(),_r=function(){let t;return function(e){let i=mr[e];if(null==i){if(K){const t=Qn(e),n=yr(e,"Žg");i=(isNaN(Number(t.lineHeight))?1.2:Number(t.lineHeight))*(n.actualBoundingBoxAscent+n.actualBoundingBoxDescent)}else t||(t=document.createElement("div"),t.innerHTML="M",t.style.minHeight="0",t.style.maxHeight="none",t.style.height="auto",t.style.padding="0",t.style.border="none",t.style.position="absolute",t.style.display="block",t.style.left="-99999px"),t.style.font=e,document.body.appendChild(t),i=t.offsetHeight,document.body.removeChild(t);mr[e]=i}return i}}();function yr(t,e){return gr||(gr=tr(1,1)),t!=fr&&(gr.font=t,fr=gr.font),gr.measureText(e)}function xr(t,e){return yr(t,e).width}function wr(t,e,i){if(e in i)return i[e];const n=e.split("\n").reduce(((e,i)=>Math.max(e,xr(t,i))),0);return i[e]=n,n}function br(t,e,i,n,r,s,o,a,l,c,u){t.save(),1!==i&&(t.globalAlpha*=i),e&&t.transform.apply(t,e),n.contextInstructions?(t.translate(l,c),t.scale(u[0],u[1]),function(t,e){const i=t.contextInstructions;for(let t=0,n=i.length;t<n;t+=2)Array.isArray(i[t+1])?e[i[t]].apply(e,i[t+1]):e[i[t]]=i[t+1]}(n,t)):u[0]<0||u[1]<0?(t.translate(l,c),t.scale(u[0],u[1]),t.drawImage(n,r,s,o,a,0,0,o,a)):t.drawImage(n,r,s,o,a,l,c,o*u[0],a*u[1]),t.restore()}const Cr=class extends Xn{constructor(t){super(t),this.fontChangeListenerKey_=I(pr,o,t.redrawText.bind(t)),this.element_=document.createElement("div");const e=this.element_.style;e.position="absolute",e.width="100%",e.height="100%",e.zIndex="0",this.element_.className="ol-unselectable ol-layers";const i=t.getViewport();i.insertBefore(this.element_,i.firstChild||null),this.children_=[],this.renderedVisible_=!0,this.declutterLayers_=[]}dispatchRenderEvent(t,e){const i=this.getMap();if(i.hasListener(t)){const n=new Hn(t,void 0,e);i.dispatchEvent(n)}}disposeInternal(){P(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),super.disposeInternal()}renderFrame(t){if(!t)return void(this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1));this.calculateMatrices2D(t),this.dispatchRenderEvent(Fe,t);const e=t.layerStatesArray.sort((function(t,e){return t.zIndex-e.zIndex})),i=t.viewState;this.children_.length=0;const n=this.declutterLayers_;n.length=0;let r=null;for(let s=0,o=e.length;s<o;++s){const o=e[s];t.layerIndex=s;const a=o.layer,l=a.getSourceState();if(!Wn(o,i)||"ready"!=l&&"undefined"!=l){a.unrender();continue}const c=a.render(t,r);c&&(c!==r&&(this.children_.push(c),r=c),"getDeclutter"in a&&n.push(a))}this.flushDeclutterItems(t),function(t,e){const i=t.childNodes;for(let n=0;;++n){const r=i[n],s=e[n];if(!r&&!s)break;r!==s&&(r?s?t.insertBefore(s,r):(t.removeChild(r),--n):t.appendChild(s))}}(this.element_,this.children_),this.dispatchRenderEvent(ze,t),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(t)}flushDeclutterItems(t){const e=this.declutterLayers_;for(let i=e.length-1;i>=0;--i)e[i].renderDeclutter(t);e.length=0}};class Er extends s{constructor(t,e){super(t),this.layer=e}}const Sr="layers";class Tr extends Re{constructor(t){t=t||{};const e=Object.assign({},t);delete e.layers;let i=t.layers;super(e),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(Sr,this.handleLayersChanged_),i?Array.isArray(i)?i=new q(i.slice(),{unique:!0}):Q("function"==typeof i.getArray,"Expected `layers` to be an array or a `Collection`"):i=new q(void 0,{unique:!0}),this.setLayers(i)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(P),this.layersListenerKeys_.length=0;const t=this.getLayers();this.layersListenerKeys_.push(I(t,j,this.handleLayersAdd_,this),I(t,B,this.handleLayersRemove_,this));for(const t in this.listenerKeys_)this.listenerKeys_[t].forEach(P);v(this.listenerKeys_);const e=t.getArray();for(let t=0,i=e.length;t<i;t++){const i=e[t];this.registerLayerListeners_(i),this.dispatchEvent(new Er("addlayer",i))}this.changed()}registerLayerListeners_(t){const e=[I(t,o,this.handleLayerChange_,this),I(t,x,this.handleLayerChange_,this)];t instanceof Tr&&e.push(I(t,"addlayer",this.handleLayerGroupAdd_,this),I(t,"removelayer",this.handleLayerGroupRemove_,this)),this.listenerKeys_[z(t)]=e}handleLayerGroupAdd_(t){this.dispatchEvent(new Er("addlayer",t.layer))}handleLayerGroupRemove_(t){this.dispatchEvent(new Er("removelayer",t.layer))}handleLayersAdd_(t){const e=t.element;this.registerLayerListeners_(e),this.dispatchEvent(new Er("addlayer",e)),this.changed()}handleLayersRemove_(t){const e=t.element,i=z(e);
2this.listenerKeys_[i].forEach(P),delete this.listenerKeys_[i],this.dispatchEvent(new Er("removelayer",e)),this.changed()}getLayers(){return this.get(Sr)}setLayers(t){const e=this.getLayers();if(e){const t=e.getArray();for(let e=0,i=t.length;e<i;++e)this.dispatchEvent(new Er("removelayer",t[e]))}this.set(Sr,t)}getLayersArray(t){return t=void 0!==t?t:[],this.getLayers().forEach((function(e){e.getLayersArray(t)})),t}getLayerStatesArray(t){const e=void 0!==t?t:[],i=e.length;this.getLayers().forEach((function(t){t.getLayerStatesArray(e)}));const n=this.getLayerState();let r=n.zIndex;t||void 0!==n.zIndex||(r=0);for(let t=i,s=e.length;t<s;t++){const i=e[t];i.opacity*=n.opacity,i.visible=i.visible&&n.visible,i.maxResolution=Math.min(i.maxResolution,n.maxResolution),i.minResolution=Math.max(i.minResolution,n.minResolution),i.minZoom=Math.max(i.minZoom,n.minZoom),i.maxZoom=Math.min(i.maxZoom,n.maxZoom),void 0!==n.extent&&(void 0!==i.extent?i.extent=$t(i.extent,n.extent):i.extent=n.extent),void 0===i.zIndex&&(i.zIndex=r)}return e}getSourceState(){return"ready"}}const kr=Tr;const Ar=class extends s{constructor(t,e,i){super(t),this.map=e,this.frameState=void 0!==i?i:null}};const Mr=class extends Ar{constructor(t,e,i,n,r,s){super(t,e,r),this.originalEvent=i,this.pixel_=null,this.coordinate_=null,this.dragging=void 0!==n&&n,this.activePointers=s}get pixel(){return this.pixel_||(this.pixel_=this.map.getEventPixel(this.originalEvent)),this.pixel_}set pixel(t){this.pixel_=t}get coordinate(){return this.coordinate_||(this.coordinate_=this.map.getCoordinateFromPixel(this.pixel)),this.coordinate_}set coordinate(t){this.coordinate_=t}preventDefault(){super.preventDefault(),"preventDefault"in this.originalEvent&&this.originalEvent.preventDefault()}stopPropagation(){super.stopPropagation(),"stopPropagation"in this.originalEvent&&this.originalEvent.stopPropagation()}},Ir={SINGLECLICK:"singleclick",CLICK:C,DBLCLICK:E,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"},Lr="pointermove",Pr="pointerdown";const Rr=class extends y{constructor(t,e){super(t),this.map_=t,this.clickTimeoutId_,this.emulateClicks_=!1,this.dragging_=!1,this.dragListenerKeys_=[],this.moveTolerance_=void 0===e?1:e,this.down_=null;const i=this.map_.getViewport();this.activePointers_=[],this.trackedTouches_={},this.element_=i,this.pointerdownListenerKey_=I(i,Pr,this.handlePointerDown_,this),this.originalPointerMoveEvent_,this.relayedListenerKey_=I(i,Lr,this.relayMoveEvent_,this),this.boundHandleTouchMove_=this.handleTouchMove_.bind(this),this.element_.addEventListener(A,this.boundHandleTouchMove_,!!J&&{passive:!1})}emulateClick_(t){let e=new Mr(Ir.CLICK,this.map_,t);this.dispatchEvent(e),void 0!==this.clickTimeoutId_?(clearTimeout(this.clickTimeoutId_),this.clickTimeoutId_=void 0,e=new Mr(Ir.DBLCLICK,this.map_,t),this.dispatchEvent(e)):this.clickTimeoutId_=setTimeout((()=>{this.clickTimeoutId_=void 0;const e=new Mr(Ir.SINGLECLICK,this.map_,t);this.dispatchEvent(e)}),250)}updateActivePointers_(t){const e=t,i=e.pointerId;if(e.type==Ir.POINTERUP||e.type==Ir.POINTERCANCEL){delete this.trackedTouches_[i];for(const t in this.trackedTouches_)if(this.trackedTouches_[t].target!==e.target){delete this.trackedTouches_[t];break}}else e.type!=Ir.POINTERDOWN&&e.type!=Ir.POINTERMOVE||(this.trackedTouches_[i]=e);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(t){this.updateActivePointers_(t);const e=new Mr(Ir.POINTERUP,this.map_,t,void 0,void 0,this.activePointers_);this.dispatchEvent(e),this.emulateClicks_&&!e.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(t)&&this.emulateClick_(this.down_),0===this.activePointers_.length&&(this.dragListenerKeys_.forEach(P),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(t){return 0===t.button}handlePointerDown_(t){this.emulateClicks_=0===this.activePointers_.length,this.updateActivePointers_(t);const e=new Mr(Ir.POINTERDOWN,this.map_,t,void 0,void 0,this.activePointers_);
2if(this.dispatchEvent(e),this.down_=new PointerEvent(t.type,t),Object.defineProperty(this.down_,"target",{writable:!1,value:t.target}),0===this.dragListenerKeys_.length){const t=this.map_.getOwnerDocument();this.dragListenerKeys_.push(I(t,Ir.POINTERMOVE,this.handlePointerMove_,this),I(t,Ir.POINTERUP,this.handlePointerUp_,this),I(this.element_,Ir.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==t&&this.dragListenerKeys_.push(I(this.element_.getRootNode(),Ir.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(t){if(this.isMoving_(t)){this.updateActivePointers_(t),this.dragging_=!0;const e=new Mr(Ir.POINTERDRAG,this.map_,t,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(e)}}relayMoveEvent_(t){this.originalPointerMoveEvent_=t;const e=!(!this.down_||!this.isMoving_(t));this.dispatchEvent(new Mr(Ir.POINTERMOVE,this.map_,t,e))}handleTouchMove_(t){const e=this.originalPointerMoveEvent_;e&&!e.defaultPrevented||"boolean"==typeof t.cancelable&&!0!==t.cancelable||t.preventDefault()}isMoving_(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(P(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(A,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(P(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(P),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}},Dr="postrender",Or="movestart",Fr="moveend",zr="loadstart",$r="loadend",Nr="layergroup",jr="size",Br="target",Gr="view",Wr=1/0;const qr=class{constructor(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,v(this.queuedElements_)}dequeue(){const t=this.elements_,e=this.priorities_,i=t[0];1==t.length?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));const n=this.keyFunction_(i);return delete this.queuedElements_[n],i}enqueue(t){Q(!(this.keyFunction_(t)in this.queuedElements_),"Tried to enqueue an `element` that was already added to the queue");const e=this.priorityFunction_(t);return e!=Wr&&(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0)}getCount(){return this.elements_.length}getLeftChildIndex_(t){return 2*t+1}getRightChildIndex_(t){return 2*t+2}getParentIndex_(t){return t-1>>1}heapify_(){let t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)}isEmpty(){return 0===this.elements_.length}isKeyQueued(t){return t in this.queuedElements_}isQueued(t){return this.isKeyQueued(this.keyFunction_(t))}siftUp_(t){const e=this.elements_,i=this.priorities_,n=e.length,r=e[t],s=i[t],o=t;for(;t<n>>1;){const r=this.getLeftChildIndex_(t),s=this.getRightChildIndex_(t),o=s<n&&i[s]<i[r]?s:r;e[t]=e[o],i[t]=i[o],t=o}e[t]=r,i[t]=s,this.siftDown_(o,t)}siftDown_(t,e){const i=this.elements_,n=this.priorities_,r=i[e],s=n[e];for(;e>t;){const t=this.getParentIndex_(e);if(!(n[t]>s))break;i[e]=i[t],n[e]=n[t],e=t}i[e]=r,n[e]=s}reprioritize(){const t=this.priorityFunction_,e=this.elements_,i=this.priorities_;let n=0;const r=e.length;let s,o,a;for(o=0;o<r;++o)s=e[o],a=t(s),a==Wr?delete this.queuedElements_[this.keyFunction_(s)]:(i[n]=a,e[n++]=s);e.length=n,i.length=n,this.heapify_()}},Yr=0,Xr=1,Hr=2,Ur=3,Vr=4;const Kr=class extends qr{constructor(t,e){super((function(e){return t.apply(null,e)}),(function(t){return t[0].getKey()})),this.boundHandleTileChange_=this.handleTileChange.bind(this),this.tileChangeCallback_=e,this.tilesLoading_=0,this.tilesLoadingKeys_={}}enqueue(t){const e=super.enqueue(t);if(e){t[0].addEventListener(x,this.boundHandleTileChange_)}return e}getTilesLoading(){return this.tilesLoading_}handleTileChange(t){const e=t.target,i=e.getState();if(i===Hr||i===Ur||i===Vr){i!==Ur&&e.removeEventListener(x,this.boundHandleTileChange_);const t=e.getKey();t in this.tilesLoadingKeys_&&(delete this.tilesLoadingKeys_[t],--this.tilesLoading_),this.tileChangeCallback_()}}loadMoreTiles(t,e){let i,n,r,s=0;for(;this.tilesLoading_<t&&s<e&&this.getCount()>0;)n=this.dequeue()[0],r=n.getKey(),i=n.getState(),i!==Yr||r in this.tilesLoadingKeys_||(this.tilesLoadingKeys_[r]=!0,++this.tilesLoading_,++s,n.load())}};const Zr=class extends N{constructor(t){super();const e=t.element;!e||t.target||e.style.pointerEvents||(e.style.pointerEvents="auto"),this.element=e||null,this.target_=null,this.map_=null,this.listenerKeys=[],t.render&&(this.render=t.render),t.target&&this.setTarget(t.target)}disposeInternal(){nr(this.element),super.disposeInternal()}getMap(){return this.map_}setMap(t){this.map_&&nr(this.element);for(let t=0,e=this.listenerKeys.length;t<e;++t)P(this.listenerKeys[t]);if(this.listenerKeys.length=0,this.map_=t,t){(this.target_?this.target_:t.getOverlayContainerStopEvent()).appendChild(this.element),this.render!==g&&this.listenerKeys.push(I(t,Dr,this.render,this)),t.render()}}render(t){}setTarget(t){this.target_="string"==typeof t?document.getElementById(t):t}};const Jr=class extends Zr{constructor(t){t=t||{},super({element:document.createElement("div"),render:t.render,target:t.target}),this.ulElement_=document.createElement("ul"),this.collapsed_=void 0===t.collapsed||t.collapsed,this.userCollapsed_=this.collapsed_,this.overrideCollapsible_=void 0!==t.collapsible,this.collapsible_=void 0===t.collapsible||t.collapsible,this.collapsible_||(this.collapsed_=!1);const e=void 0!==t.className?t.className:"ol-attribution",i=void 0!==t.tipLabel?t.tipLabel:"Attributions",n=void 0!==t.expandClassName?t.expandClassName:e+"-expand",r=void 0!==t.collapseLabel?t.collapseLabel:"›",s=void 0!==t.collapseClassName?t.collapseClassName:e+"-collapse";"string"==typeof r?(this.collapseLabel_=document.createElement("span"),this.collapseLabel_.textContent=r,this.collapseLabel_.className=s):this.collapseLabel_=r;const o=void 0!==t.label?t.label:"i";"string"==typeof o?(this.label_=document.createElement("span"),this.label_.textContent=o,this.label_.className=n):this.label_=o;const a=this.collapsible_&&!this.collapsed_?this.collapseLabel_:this.label_;this.toggleButton_=document.createElement("button"),this.toggleButton_.setAttribute("type","button"),this.toggleButton_.setAttribute("aria-expanded",String(!this.collapsed_)),this.toggleButton_.title=i,this.toggleButton_.appendChild(a),this.toggleButton_.addEventListener(C,this.handleClick_.bind(this),!1);const l=e+" "+"ol-unselectable "+Vn+(this.collapsed_&&this.collapsible_?" ol-collapsed":"")+(this.collapsible_?"":" ol-uncollapsible"),c=this.element;c.className=l,c.appendChild(this.toggleButton_),c.appendChild(this.ulElement_),this.renderedAttributions_=[],this.renderedVisible_=!0}collectSourceAttributions_(t){const e=Array.from(new Set(this.getMap().getAllLayers().flatMap((e=>e.getAttributions(t))))),i=!this.getMap().getAllLayers().some((t=>t.getSource()&&!1===t.getSource().getAttributionsCollapsible()));return this.overrideCollapsible_||this.setCollapsible(i),e}updateElement_(t){if(!t)return void(this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1));const e=this.collectSourceAttributions_(t),i=e.length>0;if(this.renderedVisible_!=i&&(this.element.style.display=i?"":"none",this.renderedVisible_=i),!d(e,this.renderedAttributions_)){!function(t){for(;
vendor: 4,713 bytes, line 2
2t.lastChild;)t.removeChild(t.lastChild)}(this.ulElement_);for(let t=0,i=e.length;t<i;++t){const i=document.createElement("li");i.innerHTML=e[t],this.ulElement_.appendChild(i)}this.renderedAttributions_=e}}handleClick_(t){t.preventDefault(),this.handleToggle_(),this.userCollapsed_=this.collapsed_}handleToggle_(){this.element.classList.toggle(Kn),this.collapsed_?ir(this.collapseLabel_,this.label_):ir(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_,this.toggleButton_.setAttribute("aria-expanded",String(!this.collapsed_))}getCollapsible(){return this.collapsible_}setCollapsible(t){this.collapsible_!==t&&(this.collapsible_=t,this.element.classList.toggle("ol-uncollapsible"),this.userCollapsed_&&this.handleToggle_())}setCollapsed(t){this.userCollapsed_=t,this.collapsible_&&this.collapsed_!==t&&this.handleToggle_()}getCollapsed(){return this.collapsed_}render(t){this.updateElement_(t.frameState)}};const Qr=class extends Zr{constructor(t){t=t||{},super({element:document.createElement("div"),render:t.render,target:t.target});const e=void 0!==t.className?t.className:"ol-rotate",i=void 0!==t.label?t.label:"⇧",n=void 0!==t.compassClassName?t.compassClassName:"ol-compass";this.label_=null,"string"==typeof i?(this.label_=document.createElement("span"),this.label_.className=n,this.label_.textContent=i):(this.label_=i,this.label_.classList.add(n));const r=t.tipLabel?t.tipLabel:"Reset rotation",s=document.createElement("button");s.className=e+"-reset",s.setAttribute("type","button"),s.title=r,s.appendChild(this.label_),s.addEventListener(C,this.handleClick_.bind(this),!1);const o=e+" "+"ol-unselectable "+Vn,a=this.element;a.className=o,a.appendChild(s),this.callResetNorth_=t.resetNorth?t.resetNorth:void 0,this.duration_=void 0!==t.duration?t.duration:250,this.autoHide_=void 0===t.autoHide||t.autoHide,this.rotation_=void 0,this.autoHide_&&this.element.classList.add(Un)}handleClick_(t){t.preventDefault(),void 0!==this.callResetNorth_?this.callResetNorth_():this.resetNorth_()}resetNorth_(){const t=this.getMap().getView();if(!t)return;const e=t.getRotation();void 0!==e&&(this.duration_>0&&e%(2*Math.PI)!=0?t.animate({rotation:0,duration:this.duration_,easing:Ui}):t.setRotation(0))}render(t){const e=t.frameState;if(!e)return;const i=e.viewState.rotation;if(i!=this.rotation_){const t="rotate("+i+"rad)";if(this.autoHide_){const t=this.element.classList.contains(Un);t||0!==i?t&&0!==i&&this.element.classList.remove(Un):this.element.classList.add(Un)}this.label_.style.transform=t}this.rotation_=i}};const ts=class extends Zr{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target});const e=void 0!==t.className?t.className:"ol-zoom",i=void 0!==t.delta?t.delta:1,n=void 0!==t.zoomInClassName?t.zoomInClassName:e+"-in",r=void 0!==t.zoomOutClassName?t.zoomOutClassName:e+"-out",s=void 0!==t.zoomInLabel?t.zoomInLabel:"+",o=void 0!==t.zoomOutLabel?t.zoomOutLabel:"–",a=void 0!==t.zoomInTipLabel?t.zoomInTipLabel:"Zoom in",l=void 0!==t.zoomOutTipLabel?t.zoomOutTipLabel:"Zoom out",c=document.createElement("button");c.className=n,c.setAttribute("type","button"),c.title=a,c.appendChild("string"==typeof s?document.createTextNode(s):s),c.addEventListener(C,this.handleClick_.bind(this,i),!1);const u=document.createElement("button");u.className=r,u.setAttribute("type","button"),u.title=l,u.appendChild("string"==typeof o?document.createTextNode(o):o),u.addEventListener(C,this.handleClick_.bind(this,-i),!1);const h=e+" "+"ol-unselectable "+Vn,d=this.element;d.className=h,d.appendChild(c),d.appendChild(u),this.duration_=void 0!==t.duration?t.duration:250}handleClick_(t,e){e.preventDefault(),this.zoomByDelta_(t)}zoomByDelta_(t){const e=this.getMap().getView();if(!e)return;const i=e.getZoom();if(void 0!==i){const n=e.getConstrainedZoom(i+t);this.duration_>0?(e.getAnimating()&&e.cancelAnimations(),e.animate({zoom:n,duration:this.duration_,easing:Ui})):e.setZoom(n)}}};const es="active";function is(t,e,i,n){const r=t.getZoom();if(void 0===r)return;const s=t.getConstrainedZoom(r+e),o=t.getResolutionForZoom(s);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:o,anchor:i,duration:void 0!==n?n:250,easing:Ui})}const ns=class extends N{constructor(t){super(),this.on,this.once,this.un,t&&t.handleEvent&&(this.handleEvent=t.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(es)}getMap(){return this.map_}handleEvent(t){return!0}setActive(t){this.set(es,t)}setMap(t){this.map_=t}};const rs=class extends ns{constructor(t){super(),t=t||{},this.delta_=t.delta?t.delta:1,this.duration_=void 0!==t.duration?t.duration:250}handleEvent(t){let e=!1;if(t.type==Ir.DBLCLICK){const i=t.originalEvent,n=t.map,r=t.coordinate,
2s=i.shiftKey?-this.delta_:this.delta_;is(n.getView(),s,r,this.duration_),i.preventDefault(),e=!0}return!e}};function ss(t){const e=t.length;let i=0,n=0;for(let r=0;r<e;r++)i+=t[r].clientX,n+=t[r].clientY;return{clientX:i/e,clientY:n/e}}const os=class extends ns{constructor(t){super(t=t||{}),t.handleDownEvent&&(this.handleDownEvent=t.handleDownEvent),t.handleDragEvent&&(this.handleDragEvent=t.handleDragEvent),t.handleMoveEvent&&(this.handleMoveEvent=t.handleMoveEvent),t.handleUpEvent&&(this.handleUpEvent=t.handleUpEvent),t.stopDown&&(this.stopDown=t.stopDown),this.handlingDownUpSequence=!1,this.targetPointers=[]}getPointerCount(){return this.targetPointers.length}handleDownEvent(t){return!1}handleDragEvent(t){}handleEvent(t){if(!t.originalEvent)return!0;let e=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==Ir.POINTERDRAG)this.handleDragEvent(t),t.originalEvent.preventDefault();else if(t.type==Ir.POINTERUP){const e=this.handleUpEvent(t);this.handlingDownUpSequence=e&&this.targetPointers.length>0}}else if(t.type==Ir.POINTERDOWN){const i=this.handleDownEvent(t);this.handlingDownUpSequence=i,e=this.stopDown(i)}else t.type==Ir.POINTERMOVE&&this.handleMoveEvent(t);return!e}handleMoveEvent(t){}handleUpEvent(t){return!1}stopDown(t){return t}updateTrackedPointers_(t){t.activePointers&&(this.targetPointers=t.activePointers)}};function as(t){const e=arguments;return function(t){let i=!0;for(let n=0,r=e.length;n<r&&(i=i&&e[n](t),i);++n);return i}}const ls=function(t){const e=t.originalEvent;return e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},cs=function(t){return!t.map.getTargetElement().hasAttribute("tabindex")||function(t){const e=t.map.getTargetElement(),i=t.map.getOwnerDocument().activeElement;return e.contains(i)}(t)},us=p,hs=function(t){const e=t.originalEvent;return 0==e.button&&!(H&&U&&e.ctrlKey)},ds=function(t){const e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&!e.shiftKey},ps=function(t){const e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},fs=function(t){const e=t.originalEvent,i=e.target.tagName;return"INPUT"!==i&&"SELECT"!==i&&"TEXTAREA"!==i&&!e.target.isContentEditable},gs=function(t){const e=t.originalEvent;return Q(void 0!==e,"mapBrowserEvent must originate from a pointer event"),"mouse"==e.pointerType},ms=function(t){const e=t.originalEvent;return Q(void 0!==e,"mapBrowserEvent must originate from a pointer event"),e.isPrimary&&0===e.button};const vs=class extends os{constructor(t){super({stopDown:f}),t=t||{},this.kinetic_=t.kinetic,this.lastCentroid=null,this.lastPointersCount_,this.panning_=!1;const e=t.condition?t.condition:as(ds,ms);this.condition_=t.onFocusOnly?as(cs,e):e,this.noKinetic_=!1}handleDragEvent(t){const e=t.map;this.panning_||(this.panning_=!0,e.getView().beginInteraction());const i=this.targetPointers,n=e.getEventPixel(ss(i));if(i.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(n[0],n[1]),this.lastCentroid){const e=[this.lastCentroid[0]-n[0],n[1]-this.lastCentroid[1]],i=t.map.getView();!function(t,e){t[0]*=e,t[1]*=e}(e,i.getResolution()),li(e,i.getRotation()),i.adjustCenterInternal(e)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=n,this.lastPointersCount_=i.length,t.originalEvent.preventDefault()}handleUpEvent(t){const e=t.map,i=e.getView();if(0===this.targetPointers.length){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){const t=this.kinetic_.getDistance(),n=this.kinetic_.getAngle(),r=i.getCenterInternal(),s=e.getPixelFromCoordinateInternal(r),o=e.getCoordinateFromPixelInternal([s[0]-t*Math.cos(n),s[1]-t*Math.sin(n)]);i.animateInternal({center:i.getConstrainedCenter(o),duration:500,easing:Ui})}return this.panning_&&(this.panning_=!1,i.endInteraction()),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0}handleDownEvent(t){if(this.targetPointers.length>0&&this.condition_(t)){const e=t.map.getView();return this.lastCentroid=null,e.getAnimating()&&e.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}};const _s=class extends os{constructor(t){t=t||{},super({stopDown:f}),this.condition_=t.condition?t.condition:ls,this.lastAngle_=void 0,this.duration_=void 0!==t.duration?t.duration:250}handleDragEvent(t){if(!gs(t))return;const e=t.map,i=e.getView();if(i.getConstraints().rotation===Yi)return;const n=e.getSize(),r=t.pixel,s=Math.atan2(n[1]/2-r[1],r[0]-n[0]/2);if(void 0!==this.lastAngle_){const t=s-this.lastAngle_;i.adjustRotationInternal(-t)}this.lastAngle_=s}handleUpEvent(t){if(!gs(t))return!0;return t.map.getView().endInteraction(this.duration_),!1}handleDownEvent(t){if(!gs(t))return!1;if(hs(t)&&this.condition_(t)){return t.map.getView().beginInteraction(),this.lastAngle_=void 0,!0}return!1}};const ys=class extends a{constructor(t){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+t,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const t=this.startPixel_,e=this.endPixel_,i="px",n=this.element_.style;n.left=Math.min(t[0],e[0])+i,n.top=Math.min(t[1],e[1])+i,n.width=Math.abs(e[0]-t[0])+i,n.height=Math.abs(e[1]-t[1])+i}setMap(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const t=this.element_.style;t.left="inherit",t.top="inherit",t.width="inherit",t.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){const t=this.startPixel_,e=this.endPixel_,i=[t,[t[0],e[1]],e,[e[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);i[4]=i[0].slice(),this.geometry_?this.geometry_.setCoordinates([i]):this.geometry_=new zn([i])}getGeometry(){return this.geometry_}},xs="boxstart",ws="boxdrag",bs="boxend",Cs="boxcancel";class Es extends s{constructor(t,e,i){super(t),this.coordinate=e,this.mapBrowserEvent=i}}const Ss=class extends os{constructor(t){super(),this.on,this.once,this.un,t=t||{},this.box_=new ys(t.className||"ol-dragbox"),this.minArea_=void 0!==t.minArea?t.minArea:64,t.onBoxEnd&&(this.onBoxEnd=t.onBoxEnd),this.startPixel_=null,this.condition_=t.condition?t.condition:hs,this.boxEndCondition_=t.boxEndCondition?t.boxEndCondition:this.defaultBoxEndCondition}
2defaultBoxEndCondition(t,e,i){const n=i[0]-e[0],r=i[1]-e[1];return n*n+r*r>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(t){this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new Es(ws,t.coordinate,t))}handleUpEvent(t){this.box_.setMap(null);const e=this.boxEndCondition_(t,this.startPixel_,t.pixel);return e&&this.onBoxEnd(t),this.dispatchEvent(new Es(e?bs:Cs,t.coordinate,t)),!1}handleDownEvent(t){return!!this.condition_(t)&&(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new Es(xs,t.coordinate,t)),!0)}onBoxEnd(t){}};const Ts=class extends Ss{constructor(t){super({condition:(t=t||{}).condition?t.condition:ps,className:t.className||"ol-dragzoom",minArea:t.minArea}),this.duration_=void 0!==t.duration?t.duration:200,this.out_=void 0!==t.out&&t.out}onBoxEnd(t){const e=this.getMap().getView();let i=this.getGeometry();if(this.out_){const t=e.rotatedExtentForGeometry(i),n=e.getResolutionForExtentInternal(t),r=e.getResolution()/n;i=i.clone(),i.scale(r*r)}e.fitInternal(i,{duration:this.duration_,easing:Ui})}},ks="ArrowLeft",As="ArrowUp",Ms="ArrowRight",Is="ArrowDown";const Ls=class extends ns{constructor(t){super(),t=t||{},this.defaultCondition_=function(t){return ds(t)&&fs(t)},this.condition_=void 0!==t.condition?t.condition:this.defaultCondition_,this.duration_=void 0!==t.duration?t.duration:100,this.pixelDelta_=void 0!==t.pixelDelta?t.pixelDelta:128}handleEvent(t){let e=!1;if(t.type==S){const i=t.originalEvent,n=i.key;if(this.condition_(t)&&(n==Is||n==ks||n==Ms||n==As)){const r=t.map.getView(),s=r.getResolution()*this.pixelDelta_;let o=0,a=0;n==Is?a=-s:n==ks?o=-s:n==Ms?o=s:a=s;const l=[o,a];li(l,r.getRotation()),function(t,e,i){const n=t.getCenterInternal();if(n){const r=[n[0]+e[0],n[1]+e[1]];t.animateInternal({duration:void 0!==i?i:250,easing:Ki,center:t.getConstrainedCenter(r)})}}(r,l,this.duration_),i.preventDefault(),e=!0}}return!e}};const Ps=class extends ns{constructor(t){super(),t=t||{},this.condition_=t.condition?t.condition:function(t){return!function(t){const e=t.originalEvent;return U?e.metaKey:e.ctrlKey}(t)&&fs(t)},this.delta_=t.delta?t.delta:1,this.duration_=void 0!==t.duration?t.duration:100}handleEvent(t){let e=!1;if(t.type==S||t.type==T){const i=t.originalEvent,n=i.key;if(this.condition_(t)&&("+"===n||"-"===n)){const r=t.map,s="+"===n?this.delta_:-this.delta_;is(r.getView(),s,void 0,this.duration_),i.preventDefault(),e=!0}}return!e}};const Rs=class{constructor(t,e,i){this.decay_=t,this.minVelocity_=e,this.delay_=i,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(t,e){this.points_.push(t,e,Date.now())}end(){if(this.points_.length<6)return!1;const t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]<t)return!1;let i=e-3;for(;i>0&&this.points_[i+2]>t;)i-=3;const n=this.points_[e+2]-this.points_[i+2];if(n<1e3/60)return!1;const r=this.points_[e]-this.points_[i],s=this.points_[e+1]-this.points_[i+1];return this.angle_=Math.atan2(s,r),this.initialVelocity_=Math.sqrt(r*r+s*s)/n,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}};const Ds=class extends ns{constructor(t){super(t=t||{}),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=void 0!==t.maxDelta?t.maxDelta:1,this.duration_=void 0!==t.duration?t.duration:250,this.timeout_=void 0!==t.timeout?t.timeout:80,this.useAnchor_=void 0===t.useAnchor||t.useAnchor,this.constrainResolution_=void 0!==t.constrainResolution&&t.constrainResolution;const e=t.condition?t.condition:us;this.condition_=t.onFocusOnly?as(cs,e):e,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const t=this.getMap();if(!t)return;t.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}handleEvent(t){if(!this.condition_(t))return!0;
2if(t.type!==M)return!0;const e=t.map,i=t.originalEvent;let n;if(i.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.coordinate),t.type==M&&(n=i.deltaY,X&&i.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(n/=V),i.deltaMode===WheelEvent.DOM_DELTA_LINE&&(n*=40)),0===n)return!1;this.lastDelta_=n;const r=Date.now();void 0===this.startTime_&&(this.startTime_=r),(!this.mode_||r-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(n)<4?"trackpad":"wheel");const s=e.getView();if("trackpad"===this.mode_&&!s.getConstrainResolution()&&!this.constrainResolution_)return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(s.getAnimating()&&s.cancelAnimations(),s.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),s.adjustZoom(-n/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=r,!1;this.totalDelta_+=n;const o=Math.max(this.timeout_-(r-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,e),o),!1}handleWheelZoom_(t){const e=t.getView();e.getAnimating()&&e.cancelAnimations();let i=-ie(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(e.getConstrainResolution()||this.constrainResolution_)&&(i=i?i>0?1:-1:0),is(e,i,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(t){this.useAnchor_=t,t||(this.lastAnchor_=null)}};const Os=class extends os{constructor(t){const e=t=t||{};e.stopDown||(e.stopDown=f),super(e),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=void 0!==t.threshold?t.threshold:.3,this.duration_=void 0!==t.duration?t.duration:250}handleDragEvent(t){let e=0;const i=this.targetPointers[0],n=this.targetPointers[1],r=Math.atan2(n.clientY-i.clientY,n.clientX-i.clientX);if(void 0!==this.lastAngle_){const t=r-this.lastAngle_;this.rotationDelta_+=t,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=t}this.lastAngle_=r;const s=t.map,o=s.getView();o.getConstraints().rotation!==Yi&&(this.anchor_=s.getCoordinateFromPixelInternal(s.getEventPixel(ss(this.targetPointers))),this.rotating_&&(s.render(),o.adjustRotationInternal(e,this.anchor_)))}handleUpEvent(t){if(this.targetPointers.length<2){return t.map.getView().endInteraction(this.duration_),!1}return!0}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}};const Fs=class extends os{constructor(t){const e=t=t||{};e.stopDown||(e.stopDown=f),super(e),this.anchor_=null,this.duration_=void 0!==t.duration?t.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(t){let e=1;const i=this.targetPointers[0],n=this.targetPointers[1],r=i.clientX-n.clientX,s=i.clientY-n.clientY,o=Math.sqrt(r*r+s*s);void 0!==this.lastDistance_&&(e=this.lastDistance_/o),this.lastDistance_=o;const a=t.map,l=a.getView();1!=e&&(this.lastScaleDelta_=e),this.anchor_=a.getCoordinateFromPixelInternal(a.getEventPixel(ss(this.targetPointers))),a.render(),l.adjustResolutionInternal(e,this.anchor_)}handleUpEvent(t){if(this.targetPointers.length<2){const e=t.map.getView(),i=this.lastScaleDelta_>1?1:-1;return e.endInteraction(this.duration_,i),!1}return!0}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}};function zs(t){t=t||{};const e=new q,i=new Rs(-.005,.05,100);(void 0===t.altShiftDragRotate||t.altShiftDragRotate)&&e.push(new _s);(void 0===t.doubleClickZoom||t.doubleClickZoom)&&e.push(new rs({delta:t.zoomDelta,duration:t.zoomDuration}));(void 0===t.dragPan||t.dragPan)&&e.push(new vs({onFocusOnly:t.onFocusOnly,kinetic:i}));(void 0===t.pinchRotate||t.pinchRotate)&&e.push(new Os);(void 0===t.pinchZoom||t.pinchZoom)&&e.push(new Fs({duration:t.zoomDuration}));(void 0===t.keyboard||t.keyboard)&&(e.push(new Ls),e.push(new Ps({delta:t.zoomDelta,duration:t.zoomDuration})));(void 0===t.mouseWheelZoom||t.mouseWheelZoom)&&e.push(new Ds({onFocusOnly:t.onF
2ocusOnly,duration:t.zoomDuration}));return(void 0===t.shiftDragZoom||t.shiftDragZoom)&&e.push(new Ts({duration:t.zoomDuration})),e}function $s(t){return t[0]>0&&t[1]>0}function Ns(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:(e[0]=t,e[1]=t),e)}function js(t){t instanceof qn?t.setMapInternal(null):t instanceof kr&&t.getLayers().forEach(js)}function Bs(t,e){if(t instanceof qn)t.setMapInternal(e);else if(t instanceof kr){const i=t.getLayers().getArray();for(let t=0,n=i.length;t<n;++t)Bs(i[t],e)}}const Gs=class extends N{constructor(t){super(),t=t||{},this.on,this.once,this.un;const e=function(t){let e=null;void 0!==t.keyboardEventTarget&&(e="string"==typeof t.keyboardEventTarget?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);const i={},n=t.layers&&"function"==typeof t.layers.getLayers?t.layers:new kr({layers:t.layers});let r,s,o;i[Nr]=n,i[Br]=t.target,i[Gr]=t.view instanceof Gn?t.view:new Gn,void 0!==t.controls&&(Array.isArray(t.controls)?r=new q(t.controls.slice()):(Q("function"==typeof t.controls.getArray,"Expected `controls` to be an array or an `ol/Collection.js`"),r=t.controls));void 0!==t.interactions&&(Array.isArray(t.interactions)?s=new q(t.interactions.slice()):(Q("function"==typeof t.interactions.getArray,"Expected `interactions` to be an array or an `ol/Collection.js`"),s=t.interactions));void 0!==t.overlays?Array.isArray(t.overlays)?o=new q(t.overlays.slice()):(Q("function"==typeof t.overlays.getArray,"Expected `overlays` to be an array or an `ol/Collection.js`"),o=t.overlays):o=new q;return{controls:r,interactions:s,keyboardEventTarget:e,overlays:o,values:i}}(t);this.renderComplete_,this.loaded_=!0,this.boundHandleBrowserEvent_=this.handleBrowserEvent.bind(this),this.maxTilesLoading_=void 0!==t.maxTilesLoading?t.maxTilesLoading:16,this.pixelRatio_=void 0!==t.pixelRatio?t.pixelRatio:V,this.postRenderTimeoutHandle_,this.animationDelayKey_,this.animationDelay_=this.animationDelay_.bind(this),this.coordinateToPixelTransform_=[1,0,0,1,0,0],this.pixelToCoordinateTransform_=[1,0,0,1,0,0],this.frameIndex_=0,this.frameState_=null,this.previousExtent_=null,this.viewPropertyListenerKey_=null,this.viewChangeListenerKey_=null,this.layerGroupPropertyListenerKeys_=null,this.viewport_=document.createElement("div"),this.viewport_.className="ol-viewport"+("ontouchstart"in window?" ol-touch":""),this.viewport_.style.position="relative",this.viewport_.style.overflow="hidden",this.viewport_.style.width="100%",this.viewport_.style.height="100%",this.overlayContainer_=document.createElement("div"),this.overlayContainer_.style.position="absolute",this.overlayContainer_.style.zIndex="0",this.overlayContainer_.style.width="100%",this.overlayContainer_.style.height="100%",this.overlayContainer_.style.pointerEvents="none",this.overlayContainer_.className="ol-overlaycontainer",this.viewport_.appendChild(this.overlayContainer_),this.overlayContainerStopEvent_=document.createElement("div"),this.overlayContainerStopEvent_.style.position="absolute",this.overlayContainerStopEvent_.style.zIndex="0",this.overlayContainerStopEvent_.style.width="100%",this.overlayContainerStopEvent_.style.height="100%",this.overlayContainerStopEvent_.style.pointerEvents="none",this.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent",this.viewport_.appendChild(this.overlayContainerStopEvent_),this.mapBrowserEventHandler_=null,this.moveTolerance_=t.moveTolerance,this.keyboardEventTarget_=e.keyboardEventTarget,this.targetChangeHandlerKeys_=null,this.targetElement_=null,this.resizeObserver_=new ResizeObserver((()=>this.updateSize())),this.controls=e.controls||function(t){t=t||{};const e=new q;return(void 0===t.zoom||t.zoom)&&e.push(new ts(t.zoomOptions)),(void 0===t.rotate||t.rotate)&&e.push(new Qr(t.rotateOptions)),(void 0===t.attribution||t.attribution)&&e.push(new Jr(t.attributionOptions)),e}(),this.interactions=e.interactions||zs({onFocusOnly:!0}),this.overlays_=e.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new Kr(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener(Nr,this.handleLayerGroupChanged_),this.addChangeListener(Gr,this.handleViewChanged_),this.addChangeListener(jr,this.handleSizeChanged_),this.addChangeListener(Br,this.handleTargetChanged_),this.setProperties(e.values);const i=this;!t.view||t.view instanceof Gn||t.view.then((function(t){i.setVie
2w(new Gn(t))})),this.controls.addEventListener(j,(t=>{t.element.setMap(this)})),this.controls.addEventListener(B,(t=>{t.element.setMap(null)})),this.interactions.addEventListener(j,(t=>{t.element.setMap(this)})),this.interactions.addEventListener(B,(t=>{t.element.setMap(null)})),this.overlays_.addEventListener(j,(t=>{this.addOverlayInternal_(t.element)})),this.overlays_.addEventListener(B,(t=>{const e=t.element.getId();void 0!==e&&delete this.overlayIdIndex_[e.toString()],t.element.setMap(null)})),this.controls.forEach((t=>{t.setMap(this)})),this.interactions.forEach((t=>{t.setMap(this)})),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(t){this.getControls().push(t)}addInteraction(t){this.getInteractions().push(t)}addLayer(t){this.getLayerGroup().getLayers().push(t)}handleLayerAdd_(t){Bs(t.layer,this)}addOverlay(t){this.getOverlays().push(t)}addOverlayInternal_(t){const e=t.getId();void 0!==e&&(this.overlayIdIndex_[e.toString()]=t),t.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(t,e,i){if(!this.frameState_||!this.renderer_)return;const n=this.getCoordinateFromPixelInternal(t),r=void 0!==(i=void 0!==i?i:{}).hitTolerance?i.hitTolerance:0,s=void 0!==i.layerFilter?i.layerFilter:p,o=!1!==i.checkWrapped;return this.renderer_.forEachFeatureAtCoordinate(n,this.frameState_,r,o,e,null,s,null)}getFeaturesAtPixel(t,e){const i=[];return this.forEachFeatureAtPixel(t,(function(t){i.push(t)}),e),i}getAllLayers(){const t=[];return function e(i){i.forEach((function(i){i instanceof kr?e(i.getLayers()):t.push(i)}))}(this.getLayers()),t}hasFeatureAtPixel(t,e){if(!this.frameState_||!this.renderer_)return!1;const i=this.getCoordinateFromPixelInternal(t),n=void 0!==(e=void 0!==e?e:{}).layerFilter?e.layerFilter:p,r=void 0!==e.hitTolerance?e.hitTolerance:0,s=!1!==e.checkWrapped;return this.renderer_.hasFeatureAtCoordinate(i,this.frameState_,r,s,n,null)}getEventCoordinate(t){return this.getCoordinateFromPixel(this.getEventPixel(t))}getEventCoordinateInternal(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))}getEventPixel(t){const e=this.viewport_.getBoundingClientRect(),i=this.getSize(),n=e.width/i[0],r=e.height/i[1],s="changedTouches"in t?t.changedTouches[0]:t;return[(s.clientX-e.left)/n,(s.clientY-e.top)/r]}getTarget(){return this.get(Br)}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(t){return Pi(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())}getCoordinateFromPixelInternal(t){const e=this.frameState_;return e?et(e.pixelToCoordinateTransform,t.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(t){const e=this.overlayIdIndex_[t.toString()];return void 0!==e?e:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get(Nr)}setLayers(t){const e=this.getLayerGroup();if(t instanceof q)return void e.setLayers(t);const i=e.getLayers();i.clear(),i.extend(t)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const t=this.getLayerGroup().getLayerStatesArray();for(let e=0,i=t.length;e<i;++e){const i=t[e];if(!i.visible)continue;const n=i.layer.getRenderer();if(n&&!n.ready)return!0;const r=i.layer.getSource();if(r&&r.loading)return!0}return!1}getPixelFromCoordinate(t){const e=Ri(t,this.getView().getProjection());return this.getPixelFromCoordinateInternal(e)}getPixelFromCoordinateInternal(t){const e=this.frameState_;return e?et(e.coordinateToPixelTransform,t.slice(0,2)):null}getRenderer(){return this.renderer_}getSize(){return this.get(jr)}getView(){return this.get(Gr)}getViewport(){return this.viewport_}getOverlayContainer(){return this.overlayContainer_}getOverlayContainerStopEvent(){return this.overlayContainerStopEvent_}getOwnerDocument(){const t=this.getTargetElement();return t?t.ownerDocument:document}getTilePriority(t,e,i,n){return function(t,e,i,n,r){if(!t||!(i in t.wantedTiles))return Wr;if(!t.wantedTiles[i][e.getKey()])return Wr;const s=t.viewState.center,o=n[0]-s[0],a=n[1]-s[1];return 65536*Math.log(r)+Math.sqrt(o*o+a*a)/r}(this.frameState_,t,e,i,n)}handleBrowserEvent(t,e){e=e||t.type;const i=new Mr(e,this,t);this.handleMapBrowserEvent(i)}handleMapBrowserEvent(t){if(!this.frameState_)return;const e=t.originalEvent,i=e.type;if(i===Pr||i===M||i===S){const t=this.getOwnerDocument(),i=this.viewport_.getRootNode?this.viewport_.getRootNode():t,n=e.target;if(this.overlayContainerStopEvent_.contains(n)||!(i===t?t.documentElement:i).contains(n))return}if(t.frameState=this.frameState_,!1!==this.dispatchEvent(t)){const e=this.getInteractions().getArray().slice();for(let i=e.length-1;i>=0;i--){const n=e[i];if(n.getMap()!==this||!n.getActive()||!this.getTargetElement())continue;if(!n.handleEvent(t)||t.propagationStopped)break}}}handlePostRender(){const t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){let i=this.maxTilesLoading_,n=i;if(t){const e=t.viewHints;if(e[Ne]||e[je]){const e=Date.now()-t.time>8;i=e?0:8,n=e?0:2}}e.getTilesLoading()<i&&(e.reprioritize(),e.loadMoreTiles(i,n))}t&&this.renderer_&&!t.animate&&(!0===this.renderComplete_?(this.hasListener($e)&&this.renderer_.dispatchRenderEvent($e,t),!1===this.loaded_&&(this.loaded_=!0,this.dispatchEvent(new Ar($r,this,t)))):!0===this.loaded_&&(this.loaded_=!1,this.dispatchEvent(new Ar(zr,this,t))));const i=this.postRenderFunctions_;for(let e=0,n=i.length;e<n;++e)i[e](this,t);i.length=0}handleSizeChanged_(){this.getView()&&!this.getView().getAnimating()&&this.getView().resolveConstraints(0),this.render()}handleTargetChanged_(){if(this.mapBrowserEventHandler_){for(let t=0,e=this.targetChangeHandlerKeys_.length;t<e;++t)P(this.targetChangeHandlerKeys_[t]);this.targetChangeHandlerKeys_=null,this.viewport_.removeEventListener(b,this.boundHandleBrowserEvent_),this.viewport_.removeEventListener(M,this.boundHandleBrowserEvent_),this.mapBrowserEventHandler_.dispose(),this.mapBrowserEventHandler_=null,nr(this.viewport_)}if(this.targetElement_){this.resizeObserver_.unobserve(this.targetElement_);const t=this.targetElement_.getRootNode();t instanceof ShadowRoot&&this.resizeObserver_.unobserve(t.host),this.setSize(void 0)}const t=this.getTarget(),e="string"==typeof t?document.getElementById(t):t;if(this.targetElement_=e,e){e.appendChild(this.viewport_),this.renderer_||(this.renderer_=new Cr(this)),this.mapBrowserEventHandler_=new Rr(this,this.moveTolerance_);for(const t in Ir)this.mapBrowserEventHandler_.addEventListener(Ir[t],this.handleMapBrowserEvent.bind(this));this.viewport_.addEventListener(b,this.boundHandleBrowserEvent_,!1),this.viewport_.addEventListener(M,this.boundHandleBrowserEvent_,!!J&&{passive:!1});const t=this.keyboardEventTarget_?this.keyboardEventTarget_:e;this.targetChangeHandlerKeys_=[I(t,S,this.handleBrowserEvent,this),I(t,T,this.handleBrowserEvent,this)];const i=e.getRootNode();i instanceof ShadowRoot&&this.resizeObserver_.observe(i.host),this.resizeObserver_.observe(e)}else this.renderer_&&(clearTimeout(this.postRenderTimeoutHandle_),this.postRenderTimeoutHandle_=void 0,this.postRenderFunctions_.length=0,this.renderer_.dispose(),this.renderer_=null),this.animationDelayKey_&&(cancelAnimationFrame(this.animationDelayKey_),this.animationDelayKey_=void 0);this.updateSize()}handleTileChange_(){this.render()}handleViewPropertyChanged_(){this.render()}handleViewChanged_(){this.viewPropertyListenerKey_&&(P(this.viewPropertyListenerKey_),this.viewPropertyListenerKey_=null),this.viewChangeListenerKey_&&(P(this.viewChangeListenerKey_),this.viewChangeListenerKey_=null);const t=this.getView();t&&(this.updateViewportSize_(this.getSize()),this.viewPropertyListenerKey_=I(t,o,this.handleViewPropertyChanged_,this),this.viewChangeListenerKey_=I(t,x,this.handleViewPropertyChanged_,this),t.resolve
2Constraints(0)),this.render()}handleLayerGroupChanged_(){this.layerGroupPropertyListenerKeys_&&(this.layerGroupPropertyListenerKeys_.forEach(P),this.layerGroupPropertyListenerKeys_=null);const t=this.getLayerGroup();t&&(this.handleLayerAdd_(new Er("addlayer",t)),this.layerGroupPropertyListenerKeys_=[I(t,o,this.render,this),I(t,x,this.render,this),I(t,"addlayer",this.handleLayerAdd_,this),I(t,"removelayer",this.handleLayerRemove_,this)]),this.render()}isRendered(){return!!this.frameState_}animationDelay_(){this.animationDelayKey_=void 0,this.renderFrame_(Date.now())}renderSync(){this.animationDelayKey_&&cancelAnimationFrame(this.animationDelayKey_),this.animationDelay_()}redrawText(){const t=this.getLayerGroup().getLayerStatesArray();for(let e=0,i=t.length;e<i;++e){const i=t[e].layer;i.hasRenderer()&&i.getRenderer().handleFontsChanged()}}render(){this.renderer_&&void 0===this.animationDelayKey_&&(this.animationDelayKey_=requestAnimationFrame(this.animationDelay_))}flushDeclutterItems(){const t=this.frameState_;t&&this.renderer_.flushDeclutterItems(t)}removeControl(t){return this.getControls().remove(t)}removeInteraction(t){return this.getInteractions().remove(t)}removeLayer(t){return this.getLayerGroup().getLayers().remove(t)}handleLayerRemove_(t){js(t.layer)}removeOverlay(t){return this.getOverlays().remove(t)}renderFrame_(t){const e=this.getSize(),i=this.getView(),n=this.frameState_;let r=null;if(void 0!==e&&$s(e)&&i&&i.isDef()){const n=i.getHints(this.frameState_?this.frameState_.viewHints:void 0),s=i.getState();if(r={animate:!1,coordinateToPixelTransform:this.coordinateToPixelTransform_,declutterTree:null,extent:Ot(s.center,s.resolution,s.rotation,e),index:this.frameIndex_++,layerIndex:0,layerStatesArray:this.getLayerGroup().getLayerStatesArray(),pixelRatio:this.pixelRatio_,pixelToCoordinateTransform:this.pixelToCoordinateTransform_,postRenderFunctions:[],size:e,tileQueue:this.tileQueue_,time:t,usedTiles:{},viewState:s,viewHints:n,wantedTiles:{},mapId:z(this),renderTargets:{}},s.nextCenter&&s.nextResolution){const t=isNaN(s.nextRotation)?s.rotation:s.nextRotation;r.nextExtent=Ot(s.nextCenter,s.nextResolution,t,e)}}if(this.frameState_=r,this.renderer_.renderFrame(r),r){if(r.animate&&this.render(),Array.prototype.push.apply(this.postRenderFunctions_,r.postRenderFunctions),n){(!this.previousExtent_||!Wt(this.previousExtent_)&&!St(r.extent,this.previousExtent_))&&(this.dispatchEvent(new Ar(Or,this,n)),this.previousExtent_=bt(this.previousExtent_))}this.previousExtent_&&!r.viewHints[Ne]&&!r.viewHints[je]&&!St(r.extent,this.previousExtent_)&&(this.dispatchEvent(new Ar(Fr,this,r)),ft(r.extent,this.previousExtent_))}this.dispatchEvent(new Ar(Dr,this,r)),this.renderComplete_=this.hasListener(zr)||this.hasListener($r)||this.hasListener($e)?!this.tileQueue_.getTilesLoading()&&!this.tileQueue_.getCount()&&!this.getLoadingOrNotReady():void 0,this.postRenderTimeoutHandle_||(this.postRenderTimeoutHandle_=setTimeout((()=>{this.postRenderTimeoutHandle_=void 0,this.handlePostRender()}),0))}setLayerGroup(t){const e=this.getLayerGroup();e&&this.handleLayerRemove_(new Er("removelayer",e)),this.set(Nr,t)}setSize(t){this.set(jr,t)}setTarget(t){this.set(Br,t)}setView(t){if(!t||t instanceof Gn)return void this.set(Gr,t);this.set(Gr,new Gn);const e=this;t.then((function(t){e.setView(new Gn(t))}))}updateSize(){const t=this.getTargetElement();let e;if(t){const i=getComputedStyle(t),n=t.offsetWidth-parseFloat(i.borderLeftWidth)-parseFloat(i.paddingLeft)-parseFloat(i.paddingRight)-parseFloat(i.borderRightWidth),r=t.offsetHeight-parseFloat(i.borderTopWidth)-parseFloat(i.paddingTop)-parseFloat(i.paddingBottom)-parseFloat(i.borderBottomWidth);isNaN(n)||isNaN(r)||(e=[n,r],!$s(e)&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)&&fi("No map visible because the map container's width or height are 0."))}const i=this.getSize();!e||i&&d(e,i)||(this.setSize(e),this.updateViewportSize_(e))}updateViewportSize_(t){const e=this.getView();e&&e.setViewportSize(t)}};class Ws extends N{constructor(t){if(super(),this.on,this.once,this.un,this.id_=void 0,this.geometryName_="geometry",this.style_=null,this.styleFunction_=void 0,this.geometryChangeKey_=null,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),t)if("function"==typeof t.getSimplifiedGeometry){const e=t;this.setGeometry(e)}else{const e=t;this.setProperties(e)}}clone(){const t=new Ws(this.hasProperties()?this.getProperties():null);t.setGeometryName(this.getGeometryName());const e=this.getGeometry();e&&t.setGeometry(e.clone());const i=this.getStyle();return i&&t.setStyle(i),t}getGeometry(){return this.get(this.geometryName_)}getId(){return this.id_}getGeometryName(){return this.geometryName_}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}handleGeometryChange_(){this.changed()}handleGeometryChanged_(){this.geometryChangeKey_&&(P(this.geometryChangeKey_),this.geometryChangeKey_=null);const t=this.getGeometry();t&&(this.geometryChangeKey_=I(t,x,this.handleGeometryChange_,this)),this.changed()}setGeometry(t){this.set(this.geometryName_,t)}setStyle(t){this.style_=t,this.styleFunction_=t?function(t){if("function"==typeof t)return t;let e;if(Array.isArray(t))e=t;else{Q("function"==typeof t.getZIndex,"Expected an `ol/style/Style` or an array of `ol/style/Style.js`");e=[t]}return function(){return e}}(t):void 0,this.changed()}setId(t){this.id_=t,this.changed()}setGeometryName(t){this.removeChangeListener(this.geometryName_,this.handleGeometryChanged_),this.geometryName_=t,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),this.handleGeometryChanged_()}}const qs=Ws,Ys="preload",Xs="useInterimTilesOnError";const Hs=class extends qn{constructor(t){t=t||{};const e=Object.assign({},t);delete e.preload,delete e.useInterimTilesOnError,super(e),this.on,this.once,this.un,this.setPreload(void 0!==t.preload?t.preload:0),this.setUseInterimTilesOnError(void 0===t.useInterimTilesOnError||t.useInterimTilesOnError)}getPreload(){return this.get(Ys)}setPreload(t){this.set(Ys,t)}getUseInterimTilesOnError(){return this.get(Xs)}setUseInterimTilesOnError(t){this.set(Xs,t)}getData(t){return super.getData(t)}},Us=0,Vs=1,Ks=2,Zs=3;const Js=class extends D{constructor(t){super(),this.ready=!0,this.boundHandleImageChange_=this.handleImageChange_.bind(this),this.layer_=t,this.declutterExecutorGroup=null}getFeatures(t){return O()}getData(t){return null}prepareFrame(t){return O()}renderFrame(t,e){return O()}loadedTileCallback(t,e,i){t[e]||(t[e]={}),t[e][i.tileCoord.toString()]=i}createLoadedTileFinder(t,e,i){return(n,r)=>
2{const s=this.loadedTileCallback.bind(this,i,n);return t.forEachLoadedTile(e,n,r,s)}}forEachFeatureAtCoordinate(t,e,i,n,r){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(t){const e=t.target;e.getState()!==Ks&&e.getState()!==Zs||this.renderIfReadyAndVisible()}loadImage(t){let e=t.getState();return e!=Ks&&e!=Zs&&t.addEventListener(x,this.boundHandleImageChange_),e==Us&&(t.load(),e=t.getState()),e==Ks}renderIfReadyAndVisible(){const t=this.getLayer();t&&t.getVisible()&&"ready"===t.getSourceState()&&t.changed()}disposeInternal(){delete this.layer_,super.disposeInternal()}},Qs=[];let to=null;const eo=class extends Js{constructor(t){super(t),this.container=null,this.renderedResolution,this.tempTransform=[1,0,0,1,0,0],this.pixelTransform=[1,0,0,1,0,0],this.inversePixelTransform=[1,0,0,1,0,0],this.context=null,this.containerReused=!1,this.pixelContext_=null,this.frameState=null}getImageData(t,e,i){let n;to||(to=tr(1,1,void 0,{willReadFrequently:!0})),to.clearRect(0,0,1,1);try{to.drawImage(t,e,i,1,1,0,0,1,1),n=to.getImageData(0,0,1,1).data}catch(t){return to=null,null}return n}getBackground(t){let e=this.getLayer().getBackground();return"function"==typeof e&&(e=e(t.viewState.resolution)),e||void 0}useContainer(t,e,i){const n=this.getLayer().getClassName();let r,s;if(t&&t.className===n&&(!i||t&&t.style.backgroundColor&&d(ve(t.style.backgroundColor),ve(i)))){const e=t.firstElementChild;e instanceof HTMLCanvasElement&&(s=e.getContext("2d"))}if(s&&s.canvas.style.transform===e?(this.container=t,this.context=s,this.containerReused=!0):this.containerReused?(this.container=null,this.context=null,this.containerReused=!1):this.container&&(this.container.style.backgroundColor=null),!this.container){r=document.createElement("div"),r.className=n;let t=r.style;t.position="absolute",t.width="100%",t.height="100%",s=tr();const e=s.canvas;r.appendChild(e),t=e.style,t.position="absolute",t.left="0",t.transformOrigin="top left",this.container=r,this.context=s}this.containerReused||!i||this.container.style.backgroundColor||(this.container.style.backgroundColor=i)}clipUnrotated(t,e,i){const n=Nt(i),r=jt(i),s=Pt(i),o=Lt(i);et(e.coordinateToPixelTransform,n),et(e.coordinateToPixelTransform,r),et(e.coordinateToPixelTransform,s),et(e.coordinateToPixelTransform,o);const a=this.inversePixelTransform;et(a,n),et(a,r),et(a,s),et(a,o),t.save(),t.beginPath(),t.moveTo(Math.round(n[0]),Math.round(n[1])),t.lineTo(Math.round(r[0]),Math.round(r[1])
2),t.lineTo(Math.round(s[0]),Math.round(s[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.clip()}dispatchRenderEvent_(t,e,i){const n=this.getLayer();if(n.hasListener(t)){const r=new Hn(t,this.inversePixelTransform,i,e);n.dispatchEvent(r)}}preRender(t,e){this.frameState=e,this.dispatchRenderEvent_(De,t,e)}postRender(t,e){this.dispatchRenderEvent_(Oe,t,e)}getRenderTransform(t,e,i,n,r,s,o){const a=r/2,l=s/2,c=n/e,u=-c,h=-t[0]+o,d=-t[1];return it(this.tempTransform,a,l,c,u,-i,h,d)}disposeInternal(){delete this.frameState,super.disposeInternal()}};const io=class extends y{constructor(t,e,i){super(),i=i||{},this.tileCoord=t,this.state=e,this.interimTile=null,this.key="",this.transition_=void 0===i.transition?250:i.transition,this.transitionStarts_={},this.interpolate=!!i.interpolate}changed(){this.dispatchEvent(x)}release(){this.state===Ur&&this.setState(Vr)}getKey(){return this.key+"/"+this.tileCoord}getInterimTile(){let t=this.interimTile;if(!t)return this;do{if(t.getState()==Hr)return this.transition_=0,t;t=t.interimTile}while(t);return this}refreshInterimChain(){let t=this.interimTile;if(!t)return;let e=this;do{if(t.getState()==Hr){t.interimTile=null;break}t.getState()==Xr?e=t:t.getState()==Yr?e.interimTile=t.interimTile:e=t,t=e.interimTile}while(t)}getTileCoord(){return this.tileCoord}getState(){return this.state}setState(t){if(this.state!==Ur&&this.state>t)throw new Error("Tile load sequence violation");this.state=t,this.changed()}load(){O()}getAlpha(t,e){if(!this.transition_)return 1;let i=this.transitionStarts_[t];if(i){if(-1===i)return 1}else i=e,this.transitionStarts_[t]=i;const n=e-i+1e3/60;return n>=this.transition_?1:Hi(n/this.transition_)}inTransition(t){return!!this.transition_&&-1!==this.transitionStarts_[t]}endTransition(t){this.transition_&&(this.transitionStarts_[t]=-1)}};function no(t,e){return e&&(t.src=e),t.src&&Z?new Promise(((e,i)=>t.decode().then((()=>e(t))).catch((n=>t.complete&&t.width?e(t):i(n))))):function(t,e){return new Promise(((i,n)=>{function r(){o(),i(t)}function s(){o(),n(new Error("Image load error"))}function o(){t.removeEventListener("load",r),t.removeEventListener("error",s)}t.addEventListener("load",r),t.addEventListener("error",s),e&&(t.src=e)}))}(t)}const ro=class extends io{constructor(t,e,i,n,r,s){super(t,e,s),this.crossOrigin_=n,this.src_=i,this.key=i,this.image_=new Image,null!==n&&(this.image_.crossOrigin=n),this.unlisten_=null,this.tileLoadFunction_=r}getImage(){return this.image_}setImage(t){this.image_=t,this.state=Hr,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=Ur,this.unlistenImage_(),this.image_=function(){const t=tr(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}(),this.changed()}handleImageLoad_(){const t=this.image_;t.naturalWidth&&t.naturalHeight?this.state=Hr:this.state=Vr,this.unlistenImage_(),this.changed()}load(){this.state==Ur&&(this.state=Yr,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==Yr&&(this.state=Xr,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=function(t,e,i){const n=t;let r=!0,s=!1,o=!1;const a=[L(n,k,(function(){o=!0,s||e()}))];return n.src&&Z?(s=!0,n.decode().then((function(){r&&e()})).catch((function(t){r&&(o?e():i())}))):a.push(L(n,w,i)),function(){r=!1,a.forEach(P)}}(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}};const so=class{constructor(t,e,i,n,r,s){this.sourceProj_=t,this.targetProj_=e;let o={};const a=ki(this.targetProj_,this.sourceProj_);this.transformInv_=function(t){const e=t[0]+"/"+t[1];return o[e]||(o[e]=a(t)),o[e]},this.maxSourceExtent_=n,this.errorThresholdSquared_=r*r,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!n&&!!this.sourceProj_.getExtent()&&Bt(n)>=Bt(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Bt(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Bt(this.targetProj_.getExtent()):null;const l=Nt(i),c=jt(i),u=Pt(i),h=Lt(i),d=this.transformInv_(l),p=this.transformInv_(c),f=this.transformInv_(u),g=this.transformInv_(h),m=10+(s?Math.max(0,Math.ceil(Math.log2(It(i)/(s*s*256*256)))):0);if(this.addQuad_(l,c,u,h,d,p,f,g,m),this.wrapsXInSource_){let t=1/0;this.triangles_.forEach((function(e,i,n){t=Math.min(t,e.source[0][0],e.source[1][0],e.source[2][0])})),this.triangles_.forEach((e=>{if(Math.max(e.source[0][0],e.source[1][0],e.source[2][0])-t>this.sourceWorldWidth_/2){const i=[[e.source[0][0],e.source[0][1]],[e.source[1][0],e.source[1][1]],[e.source[2][0],e.source[2][1]]];i[0][0]-t>this.sourceWorldWidth_/2&&(i[0][0]-=this.sourceWorldWidth_),i[1][0]-t>this.sourceWorldWidth_/2&&(i[1][0]-=this.sourceWorldWidth_),i[2][0]-t>this.sourceWorldWidth_/2&&(i[2][0]-=this.sourceWorldWidth_);const n=Math.min(i[0][0],i[1][0],i[2][0]);Math.max(i[0][0],i[1][0],i[2][0])-n<this.sourceWorldWidth_/2&&(e.source=i)}}))}o={}}addTriangle_(t,e,i,n,r,s){this.triangles_.push({source:[n,r,s],target:[t,e,i]})}addQuad_(t,e,i,n,r,s,o,a,l){const c=dt([r,s,o,a]),u=this.sourceWorldWidth_?Bt(c)/this.sourceWorldWidth_:null,h=this.sourceWorldWidth_,d=this.sourceProj_.canWrapX()&&u>.5&&u<1;let p=!1;if(l>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){p=Bt(dt([t,e,i,n]))/this.targetWorldWidth_>.25||p}!d&&this.sourceProj_.isGlobal()&&u&&(p=u>.25||p)}if(!p&&this.maxSourceExtent_&&isFinite(c[0])&&isFinite(c[1])&&isFinite(c[2])&&isFinite(c[3])&&!Gt(c,this.maxSourceExtent_))return;let f=0;if(!(p||isFinite(r[0])&&isFinite(r[1])&&isFinite(s[0])&&isFinite(s[1])&&isFinite(o[0])&&isFinite(o[1])&&isFinite(a[0])&&isFinite(a[1])))if(l>0)p=!0;else if(f=(isFinite(r[0])&&isFinite(r[1])?0:8)+(isFinite(s[0])&&isFinite(s[1])?0:4)+(isFinite(o[0])&&isFinite(o[1])?0:2)+(isFinite(a[0])&&isFinite(a[1])?0:1),1!=f&&2!=f&&4!=f&&8!=f)return;if(l>0){if(!p){const e=[(t[0]+i[0])/2,(t[1]+i[1])/2],n=this.transformInv_(e);let s;if(d){s=(oe(r[0],h)+oe(o[0],h))/2-oe(n[0],h)}else s=(r[0]+o[0])/2-n[0];const a=(r[1]+o[1])/2-n[1];p=s*s+a*a>this.errorThresholdSquared_}
2if(p){if(Math.abs(t[0]-i[0])<=Math.abs(t[1]-i[1])){const c=[(e[0]+i[0])/2,(e[1]+i[1])/2],u=this.transformInv_(c),h=[(n[0]+t[0])/2,(n[1]+t[1])/2],d=this.transformInv_(h);this.addQuad_(t,e,c,h,r,s,u,d,l-1),this.addQuad_(h,c,i,n,d,u,o,a,l-1)}else{const c=[(t[0]+e[0])/2,(t[1]+e[1])/2],u=this.transformInv_(c),h=[(i[0]+n[0])/2,(i[1]+n[1])/2],d=this.transformInv_(h);this.addQuad_(t,c,h,n,r,u,d,a,l-1),this.addQuad_(c,e,i,h,u,s,o,d,l-1)}return}}if(d){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}0==(11&f)&&this.addTriangle_(t,i,n,r,o,a),0==(14&f)&&this.addTriangle_(t,i,e,r,o,s),f&&(0==(13&f)&&this.addTriangle_(e,n,t,s,a,r),0==(7&f)&&this.addTriangle_(e,n,i,s,a,o))}calculateSourceExtent(){const t=[1/0,1/0,-1/0,-1/0];return this.triangles_.forEach((function(e,i,n){const r=e.source;Tt(t,r[0]),Tt(t,r[1]),Tt(t,r[2])})),t}getTriangles(){return this.triangles_}};let oo;const ao=[];function lo(t,e,i,n,r){t.beginPath(),t.moveTo(0,0),t.lineTo(e,i),t.lineTo(n,r),t.closePath(),t.save(),t.clip(),t.fillRect(0,0,Math.max(e,n)+1,Math.max(i,r)),t.restore()}function co(t,e){return Math.abs(t[4*e]-210)>2||Math.abs(t[4*e+3]-191.25)>2}function uo(t,e,i,n){const r=Ai(i,e,t);let s=wi(e,n,i);const o=e.getMetersPerUnit();void 0!==o&&(s*=o);const a=t.getMetersPerUnit();void 0!==a&&(s/=a);const l=t.getExtent();if(!l||mt(l,r)){const e=wi(t,s,r)/s;isFinite(e)&&e>0&&(s/=e)}return s}function ho(t,e,i,n,r,s,o,a,l,c,u,h,d){const p=tr(Math.round(i*t),Math.round(i*e),ao);if(h||(p.imageSmoothingEnabled=!1),0===l.length)return p.canvas;function f(t){return Math.round(t*i)/i}p.scale(i,i),p.globalCompositeOperation="lighter";const g=[1/0,1/0,-1/0,-1/0];let m;if(l.forEach((function(t,e,i){var n,r;n=g,(r=t.extent)[0]<n[0]&&(n[0]=r[0]),r[2]>n[2]&&(n[2]=r[2]),r[1]<n[1]&&(n[1]=r[1]),r[3]>n[3]&&(n[3]=r[3])})),!d||1!==l.length||0!==c){const t=Bt(g),e=zt(g);m=tr(Math.round(i*t/n),Math.round(i*e/n),ao),h||(m.imageSmoothingEnabled=!1);const r=i/n;l.forEach((function(t,e,i){const n=t.extent[0]-g[0],s=-(t.extent[3]-g[3]),o=Bt(t.extent),a=zt(t.extent);t.image.width>0&&t.image.height>0&&m.drawImage(t.image,c,c,t.image.width-2*c,t.image.height-2*c,n*r,s*r,o*r,a*r)}))}const v=Nt(o);
vendor: 1,674 bytes, line 2
2return a.getTriangles().forEach((function(t,e,r){const o=t.source,a=t.target;let c=o[0][0],u=o[0][1],d=o[1][0],_=o[1][1],y=o[2][0],x=o[2][1];const w=f((a[0][0]-v[0])/s),b=f(-(a[0][1]-v[1])/s),C=f((a[1][0]-v[0])/s),E=f(-(a[1][1]-v[1])/s),S=f((a[2][0]-v[0])/s),T=f(-(a[2][1]-v[1])/s),k=c,A=u;c=0,u=0,d-=k,_-=A,y-=k,x-=A;const M=function(t){const e=t.length;for(let i=0;i<e;i++){let n=i,r=Math.abs(t[i][i]);for(let s=i+1;s<e;s++){const e=Math.abs(t[s][i]);e>r&&(r=e,n=s)}if(0===r)return null;const s=t[n];t[n]=t[i],t[i]=s;for(let n=i+1;n<e;n++){const r=-t[n][i]/t[i][i];for(let s=i;s<e+1;s++)i==s?t[n][s]=0:t[n][s]+=r*t[i][s]}}const i=new Array(e);for(let n=e-1;n>=0;n--){i[n]=t[n][e]/t[n][n];for(let r=n-1;r>=0;r--)t[r][e]-=t[r][n]*i[n]}return i}([[d,_,0,0,C-w],[y,x,0,0,S-w],[0,0,d,_,E-b],[0,0,y,x,T-b]]);if(!M)return;if(p.save(),p.beginPath(),function(){if(void 0===oo){const t=tr(6,6,ao);t.globalCompositeOperation="lighter",t.fillStyle="rgba(210, 0, 0, 0.75)",lo(t,4,5,4,0),lo(t,4,5,0,5);const e=t.getImageData(0,0,3,3).data;oo=co(e,0)||co(e,4)||co(e,8),er(t),ao.push(t.canvas)}return oo}()||!h){p.moveTo(C,E);const t=4,e=w-C,i=b-E;for(let n=0;n<t;n++)p.lineTo(C+f((n+1)*e/t),E+f(n*i/(t-1))),n!=t-1&&p.lineTo(C+f((n+1)*e/t),E+f((n+1)*i/(t-1)));p.lineTo(S,T)}else p.moveTo(C,E),p.lineTo(w,b),p.lineTo(S,T);let I;if(p.clip(),p.transform(M[0],M[2],M[1],M[3],w,b),p.translate(g[0]-k,g[3]-A),m)I=m.canvas,p.scale(n/i,-n/i);else{const t=l[0],e=t.extent;I=t.image,p.scale(Bt(e)/I.width,-zt(e)/I.height)}p.drawImage(I,0,0),p.restore()})),m&&(er(m),ao.push(m.canvas)),u&&(p.save(),p.globalCompositeOperation="source-over",p.strokeStyle="black",p.lineWidth=1,a.getTriangles().forEac
2h((function(t,e,i){const n=t.target,r=(n[0][0]-v[0])/s,o=-(n[0][1]-v[1])/s,a=(n[1][0]-v[0])/s,l=-(n[1][1]-v[1])/s,c=(n[2][0]-v[0])/s,u=-(n[2][1]-v[1])/s;p.beginPath(),p.moveTo(a,l),p.lineTo(r,o),p.lineTo(c,u),p.closePath(),p.stroke()})),p.restore()),p.canvas}const po=class extends io{constructor(t,e,i,n,r,s,o,a,l,c,u,h){super(r,Yr,h),this.renderEdges_=void 0!==u&&u,this.pixelRatio_=o,this.gutter_=a,this.canvas_=null,this.sourceTileGrid_=e,this.targetTileGrid_=n,this.wrappedTileCoord_=s||r,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0;const d=n.getTileCoordExtent(this.wrappedTileCoord_),p=this.targetTileGrid_.getExtent();let f=this.sourceTileGrid_.getExtent();const g=p?$t(d,p):d;if(0===It(g))return void(this.state=Vr);const m=t.getExtent();m&&(f=f?$t(f,m):m);const v=n.getResolution(this.wrappedTileCoord_[0]),_=function(t,e,i,n){const r=Rt(i);let s=uo(t,e,r,n);return(!isFinite(s)||s<=0)&&Mt(i,(function(i){return s=uo(t,e,i,n),isFinite(s)&&s>0})),s}(t,i,g,v);if(!isFinite(_)||_<=0)return void(this.state=Vr);const y=void 0!==c?c:.5;if(this.triangulation_=new so(t,i,g,f,_*y,v),0===this.triangulation_.getTriangles().length)return void(this.state=Vr);this.sourceZ_=e.getZForResolution(_);let x=this.triangulation_.calculateSourceExtent();if(f&&(t.canWrapX()?(x[1]=ie(x[1],f[1],f[3]),x[3]=ie(x[3],f[1],f[3])):x=$t(x,f)),It(x)){const t=e.getTileRangeForExtentAndZ(x,this.sourceZ_);for(let e=t.minX;e<=t.maxX;e++)for(let i=t.minY;i<=t.maxY;i++){const t=l(this.sourceZ_,e,i,o);t&&this.sourceTiles_.push(t)}0===this.sourceTiles_.length&&(this.state=Vr)}else this.state=Vr}getImage(){return this.canvas_}reproject_(){const t=[];if(this.sourceTiles_.forEach((e=>{e&&e.getState()==Hr&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(e.tileCoord),image:e.getImage()})})),this.sourceTiles_.length=0,0===t.length)this.state=Ur;else{const e=this.wrappedTileCoord_[0],i=this.targetTileGrid_.getTileSize(e),n="number"==typeof i?i:i[0],r="number"==typeof i?i:i[1],s=this.targetTileGrid_.getResolution(e),o=this.sourceTileGrid_.getResolution(this.sourceZ_),a=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=ho(n,r,this.pixelRatio_,o,this.sourceTileGrid_.getExtent(),s,a,this.triangulation_,t,this.gutter_,this.renderEdges_,this.interpolate),this.state=Hr}this.changed()}load(){if(this.state==Yr){this.state=Xr,this.changed();let t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach((e=>{const i=e.getState();if(i==Yr||i==Xr){t++;const i=I(e,x,(function(n){const r=e.getState();r!=Hr&&r!=Ur&&r!=Vr||(P(i),t--,0===t&&(this.unlistenSources_(),this.reproject_()))}),this);this.sourcesListenerKeys_.push(i)}})),0===t?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach((function(t,e,i){t.getState()==Yr&&t.load()}))}}unlistenSources_(){this.sourcesListenerKeys_.forEach(P),this.sourcesListenerKeys_=null}release(){this.canvas_&&(er(this.canvas_.getContext("2d")),ao.push(this.canvas_),this.canvas_=null),super.release()}};class fo{constructor(t,e,i,n){this.minX=t,this.maxX=e,this.minY=i,this.maxY=n}contains(t){return this.containsXY(t[1],t[2])}containsTileRange(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY}containsXY(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY}equals(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY}extend(t){t.minX<this.minX&&(this.minX=t.minX),t.maxX>this.maxX&&(this.maxX=t.maxX),t.minY<this.minY&&(this.minY=t.minY),t.maxY>this.maxY&&(this.maxY=t.maxY)}
2getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY}}function go(t,e,i,n,r){return void 0!==r?(r.minX=t,r.maxX=e,r.minY=i,r.maxY=n,r):new fo(t,e,i,n)}const mo=fo;const vo=class extends eo{constructor(t){super(t),this.extentChanged=!0,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedRevision,this.renderedTiles=[],this.newTiles_=!1,this.tmpExtent=[1/0,1/0,-1/0,-1/0],this.tmpTileRange_=new mo(0,0,0,0)}isDrawableTile(t){const e=this.getLayer(),i=t.getState(),n=e.getUseInterimTilesOnError();return i==Hr||i==Vr||i==Ur&&!n}getTile(t,e,i,n){const r=n.pixelRatio,s=n.viewState.projection,o=this.getLayer();let a=o.getSource().getTile(t,e,i,r,s);return a.getState()==Ur&&o.getUseInterimTilesOnError()&&o.getPreload()>0&&(this.newTiles_=!0),this.isDrawableTile(a)||(a=a.getInterimTile()),a}getData(t){const e=this.frameState;if(!e)return null;const i=this.getLayer(),n=et(e.pixelToCoordinateTransform,t.slice()),r=i.getExtent();if(r&&!mt(r,n))return null;const s=e.pixelRatio,o=e.viewState.projection,a=e.viewState,l=i.getRenderSource(),c=l.getTileGridForProjection(a.projection),u=l.getTilePixelRatio(e.pixelRatio);for(let t=c.getZForResolution(a.resolution);t>=c.getMinZoom();--t){const e=c.getTileCoordForCoordAndZ(n,t),i=l.getTile(t,e[1],e[2],s,o);if(!(i instanceof ro||i instanceof po)||i instanceof po&&i.getState()===Vr)return null;if(i.getState()!==Hr)continue;const r=c.getOrigin(t),h=Ns(c.getTileSize(t)),d=c.getResolution(t),p=Math.floor(u*((n[0]-r[0])/d-e[1]*h[0])),f=Math.floor(u*((r[1]-n[1])/d-e[2]*h[1])),g=Math.round(u*l.getGutterForProjection(a.projection));return this.getImageData(i.getImage(),p+g,f+g)}return null}loadedTileCallback(t,e,i){return!!this.isDrawableTile(i)&&super.loadedTileCallback(t,e,i)}prepareFrame(t){return!!this.getLayer().getSource()}renderFrame(t,e){const i=t.layerStatesArray[t.layerIndex],n=t.viewState,r=n.projection,s=n.resolution,o=n.center,a=n.rotation,c=t.pixelRatio,u=this.getLayer(),h=u.getSource(),d=h.getRevision(),p=h.getTileGridForProjection(r),f=p.getZForResolution(s,h.zDirection),g=p.getResolution(f);let m=t.extent;const v=t.viewState.resolution,_=h.getTilePixelRatio(c),y=Math.round(Bt(m)/v*c),x=Math.round(zt(m)/v*c),w=i.extent&&Oi(i.extent,r);w&&(m=$t(m,Oi(i.extent,r)));const b=g*y/2/_,C=g*x/2/_,E=[o[0]-b,o[1]-C,o[0]+b,o[1]+C],S=p.getTileRangeForExtentAndZ(m,f),T={};T[f]={};const k=this.createLoadedTileFinder(h,r,T),A=this.tmpExtent,M=this.tmpTileRange_;this.newTiles_=!1;const I=a?Ft(n.center,v,a,t.size):void 0;for(let e=S.minX;e<=S.maxX;++e)for(let n=S.minY;n<=S.maxY;++n){if(a&&!p.tileCoordIntersectsViewport([f,e,n],I))continue;const r=this.getTile(f,e,n,t);if(this.isDrawableTile(r)){const e=z(this);if(r.getState()==Hr){T[f][r.tileCoord.toString()]=r;let t=r.inTransition(e);t&&1!==i.opacity&&(r.endTransition(e),t=!1),this.newTiles_||!t&&this.renderedTiles.includes(r)||(this.newTiles_=!0)}if(1===r.getAlpha(e,t.time))continue}const s=p.getTileCoordChildTileRange(r.tileCoord,M,A);let o=!1;s&&(o=k(f+1,s)),o||p.forEachTileCoordParentTileRange(r.tileCoord,k,M,A)}const L=g/s*c/_;it(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/c,1/c,a,-y/2,-x/2);const P=st(this.pixelTransform);this.useContainer(e,P,this.getBackground(t));const R=this.context,D=R.canvas;nt(this.inversePixelTransform,this.pixelTransform),it(this.tempTransform,y/2,x/2,L,L,0,-y/2,-x/2),D.width!=y||D.height!=x?(D.width=y,D.height=x):this.containerReused||R.clearRect(0,0,y,x),w&&this.clipUnrotated(R,t,w),h.getInterpolate()||(R.imageSmoothingEnabled=!1),this.preRender(R,t),this.renderedTiles.length=0;let O,F,$,N=Object.keys(T).map(Number);N.sort(l),1!==i.opacity||this.containerReused&&!h.getOpaque(t.viewState.projection)?(O=[],F=[]):N=N.reverse();for(let e=N.length-1;e>=0;--e){const i=N[e],n=h.getTilePixelSize(i,c,r),s=p.getResolution(i)/g,o=n[0]*s*L,a=n[1]*s*L,l=p.getTileCoordForCoordAndZ(Nt(E),i),u=p.getTileCoordExtent(l),d=et(this.tempTransform,[_*(u[0]-E[0])/g,_*(E[3]-u[3])/g]),m=_*h.getGutterForProjection(r),v=T[i];for(const e in v){const n=v[e],r=n.tileCoord,s=l[1]-r[1],c=Math.round(d[0]-(s-1)*o),u=l[2]-r[2],p=Math.round(d[1]-(u-1)*a),g=Math.round(d[0]-s*o),_=Math.round(d[1]-u*a),y=c-g,x=p-_,w=f===i,b=w&&1!==n.getAlpha(z(this),t.time);let C=!1;if(!b)if(O){$=[g,_,g+y,_,g+y,_+x,g,_+x];for(let t=0,e=O.length;t<e;++t)if(f!==i&&i<F[t]){const e=O[t];Gt([g,_,g+y,_+x],[e[0],e[3],e[4],e[7]])&&(C||(R.save(),C=!0),R.beginPath(),R.moveTo($[0],$[1]),R.lineTo($[2],$[3]),R.lineTo($[4],$[5]),R.lineTo($[6],$[7]),R.moveTo(e[6],e[7]),R.lineTo(e[4],e[5]),R.lineTo(e[2],e[3]),R.lineTo(e[0],e[1]),R.clip())}O.push($),F.push(i)}else R.clearRect(g,_,y,x);
2this.drawTileImage(n,t,g,_,y,x,m,w),O&&!b?(C&&R.restore(),this.renderedTiles.unshift(n)):this.renderedTiles.push(n),this.updateUsedTiles(t.usedTiles,h,n)}}return this.renderedRevision=d,this.renderedResolution=g,this.extentChanged=!this.renderedExtent_||!St(this.renderedExtent_,E),this.renderedExtent_=E,this.renderedPixelRatio=c,this.renderedProjection=r,this.manageTilePyramid(t,h,p,c,r,m,f,u.getPreload()),this.scheduleExpireCache(t,h),this.postRender(R,t),i.extent&&R.restore(),R.imageSmoothingEnabled=!0,P!==D.style.transform&&(D.style.transform=P),this.container}drawTileImage(t,e,i,n,r,s,o,a){const l=this.getTileImage(t);if(!l)return;const c=z(this),u=e.layerStatesArray[e.layerIndex],h=u.opacity*(a?t.getAlpha(c,e.time):1),d=h!==this.context.globalAlpha;d&&(this.context.save(),this.context.globalAlpha=h),this.context.drawImage(l,o,o,l.width-2*o,l.height-2*o,i,n,r,s),d&&this.context.restore(),h!==u.opacity?e.animate=!0:a&&t.endTransition(c)}getImage(){const t=this.context;return t?t.canvas:null}getTileImage(t){return t.getImage()}scheduleExpireCache(t,e){if(e.canExpireCache()){const i=function(t,e,i){const n=z(t);n in i.usedTiles&&t.expireCache(i.viewState.projection,i.usedTiles[n])}.bind(null,e);t.postRenderFunctions.push(i)}}updateUsedTiles(t,e,i){const n=z(e);n in t||(t[n]={}),t[n][i.getKey()]=!0}manageTilePyramid(t,e,i,n,r,s,o,a,l){const c=z(e);c in t.wantedTiles||(t.wantedTiles[c]={});const u=t.wantedTiles[c],h=t.tileQueue,d=i.getMinZoom(),p=t.viewState.rotation,f=p?Ft(t.viewState.center,t.viewState.resolution,p,t.size):void 0;let g,m,v,_,y,x,w=0;for(x=d;x<=o;++x)for(m=i.getTileRangeForExtentAndZ(s,x,m),v=i.getResolution(x),_=m.minX;_<=m.maxX;++_)for(y=m.minY;y<=m.maxY;++y)p&&!i.tileCoordIntersectsViewport([x,_,y],f)||(o-x<=a?(++w,g=e.getTile(x,_,y,n,r),g.getState()==Yr&&(u[g.getKey()]=!0,h.isKeyQueued(g.getKey())||h.enqueue([g,c,i.getTileCoordCenter(g.tileCoord),v])),void 0!==l&&l(g)):e.useTile(x,_,y,r));e.updateCacheSize(w,r)}};const _o=class extends Hs{constructor(t){super(t)}createRenderer(){return new vo(this)}};class yo{constructor(t){this.opacity_=t.opacity,this.rotateWithView_=t.rotateWithView,this.rotation_=t.rotation,this.scale_=t.scale,this.scaleArray_=Ns(t.scale),this.displacement_=t.displacement,this.declutterMode_=t.declutterMode}clone(){const t=this.getScale();return new yo({opacity:this.getOpacity(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return O()}getImage(t){return O()}getHitDetectionImage(){return O()}getPixelRatio(t){return 1}getImageState(){return O()}getImageSize(){return O()}getOrigin(){return O()}getSize(){return O()}setDisplacement(t){this.displacement_=t}setOpacity(t){this.opacity_=t}setRotateWithView(t){this.rotateWithView_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=Ns(t)}listenImageChange(t){O()}load(){O()}unlistenImageChange(t){O()}}const xo=yo;function wo(t){return Array.isArray(t)?ye(t):t}class bo extends xo{constructor(t){super({opacity:1,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView,rotation:void 0!==t.rotation?t.rotation:0,scale:void 0!==t.scale?t.scale:1,displacement:void 0!==t.displacement?t.displacement:[0,0],declutterMode:t.declutterMode}),this.canvases_,this.hitDetectionCanvas_=null,this.fill_=void 0!==t.fill?t.fill:null,this.origin_=[0,0],this.points_=t.points,this.radius_=void 0!==t.radius?t.radius:t.radius1,this.radius2_=t.radius2,this.angle_=void 0!==t.angle?t.angle:0,this.stroke_=void 0!==t.stroke?t.stroke:null,this.size_,this.renderOptions_,this.render()}clone(){const t=this.getScale(),e=new bo({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.get
2Stroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return e.setOpacity(this.getOpacity()),e}getAnchor(){const t=this.size_,e=this.getDisplacement(),i=this.getScaleArray();return[t[0]/2-e[0]/i[0],t[1]/2+e[1]/i[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(t){this.fill_=t,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(t){let e=this.canvases_[t];if(!e){const i=this.renderOptions_,n=tr(i.size*t,i.size*t);this.draw_(i,n,t),e=n.canvas,this.canvases_[t]=e}return e}getPixelRatio(t){return t}getImageSize(){return this.size_}getImageState(){return Ks}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius_}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(t){this.stroke_=t,this.render()}listenImageChange(t){}load(){}unlistenImageChange(t){}calculateLineJoinSize_(t,e,i){if(0===e||this.points_===1/0||"bevel"!==t&&"miter"!==t)return e;let n=this.radius_,r=void 0===this.radius2_?n:this.radius2_;if(n<r){const t=n;n=r,r=t}const s=void 0===this.radius2_?this.points_:2*this.points_,o=2*Math.PI/s,a=r*Math.sin(o),l=n-Math.sqrt(r*r-a*a),c=Math.sqrt(a*a+l*l),u=c/a;if("miter"===t&&u<=i)return u*e;const h=e/2/u,d=e/2*(l/c),p=Math.sqrt((n+h)*(n+h)+d*d)-n;
vendor: 4,947 bytes, line 2
2if(void 0===this.radius2_||"bevel"===t)return 2*p;const f=n*Math.sin(o),g=r-Math.sqrt(n*n-f*f),m=Math.sqrt(f*f+g*g)/f;if(m<=i){const t=m*e/2-r-n;return 2*Math.max(p,t)}return 2*p}createRenderOptions(){let t,e=or,i=lr,n=0,r=null,s=0,o=0;this.stroke_&&(t=wo(this.stroke_.getColor()??cr),o=this.stroke_.getWidth()??1,r=this.stroke_.getLineDash(),s=this.stroke_.getLineDashOffset()??0,i=this.stroke_.getLineJoin()??lr,e=this.stroke_.getLineCap()??or,n=this.stroke_.getMiterLimit()??10);const a=this.calculateLineJoinSize_(i,o,n),l=Math.max(this.radius_,this.radius2_||0);return{strokeStyle:t,strokeWidth:o,size:Math.ceil(2*l+a),lineCap:e,lineDash:r,lineDashOffset:s,lineJoin:i,miterLimit:n}}render(){this.renderOptions_=this.createRenderOptions();const t=this.renderOptions_.size;this.canvases_={},this.hitDetectionCanvas_=null,this.size_=[t,t]}draw_(t,e,i){if(e.scale(i,i),e.translate(t.size/2,t.size/2),this.createPath_(e),this.fill_){let t=this.fill_.getColor();null===t&&(t=sr),e.fillStyle=wo(t),e.fill()}t.strokeStyle&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke())}createHitDetectionCanvas_(t){let e;if(this.fill_){let i=this.fill_.getColor(),n=0;"string"==typeof i&&(i=ve(i)),null===i?n=1:Array.isArray(i)&&(n=4===i.length?i[3]:1),0===n&&(e=tr(t.size,t.size),this.drawHitDetectionCanvas_(t,e))}return e?e.canvas:this.getImage(1)}createPath_(t){let e=this.points_;const i=this.radius_;if(e===1/0)t.arc(0,0,i,0,2*Math.PI);else{const n=void 0===this.radius2_?i:this.radius2_;void 0!==this.radius2_&&(e*=2);const r=this.angle_-Math.PI/2,s=2*Math.PI/e;for(let o=0;o<e;o++){const e=r+o*s,a=o%2==0?i:n;t.lineTo(a*Math.cos(e),a*Math.sin(e))}t.closePath()}}drawHitDetectionCanvas_(t,e){e.translate(t.size/2,t.size/2),this.createPath_(e),e.fillStyle=sr,e.fill(),t.strokeStyle&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke())}}const Co=bo;class Eo extends Co{constructor(t){super({points:1/0,fill:(t=t||{radius:5}).fill,radius:t.radius,stroke:t.stroke,scale:void 0!==t.scale?t.scale:1,rotation:void 0!==t.rotation?t.rotation:0,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView,displacement:void 0!==t.displacement?t.displacement:[0,0],declutterMode:t.declutterMode})}clone(){const t=this.getScale(),e=new Eo({fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,radius:this.getRadius(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return e.setOpacity(this.getOpacity()),e}setRadius(t){this.radius_=t,this.render()}}const So=Eo;class To{constructor(t){t=t||{},this.color_=void 0!==t.color?t.color:null}clone(){const t=this.getColor();return new To({color:Array.isArray(t)?t.slice():t||void 0})}getColor(){return this.color_}setColor(t){this.color_=t}}const ko=To;class Ao{constructor(t){t=t||{},this.color_=void 0!==t.color?t.color:null,this.lineCap_=t.lineCap,this.lineDash_=void 0!==t.lineDash?t.lineDash:null,this.lineDashOffset_=t.lineDashOffset,this.lineJoin_=t.lineJoin,this.miterLimit_=t.miterLimit,this.width_=t.width}clone(){const t=this.getColor();return new Ao({color:Array.isArray(t)?t.slice():t||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})}getColor(){return this.color_}getLineCap(){return this.lineCap_}getLineDash(){return this.lineDash_}getLineDashOffset(){return this.lineDashOffset_}getLineJoin(){return this.lineJoin_}getMiterLimit(){return this.miterLimit_}getWidth(){return this.width_}setColor(t){this.color_=t}setLineCap(t){this.lineCap_=t}setLineDash(t){this.lineDash_=t}setLineDashOffset(t){this.lineDashOffset_=t}setLineJoin(t){this.lineJoin_=t}setMiterLimit(t){this.miterLimit_=t}setWidth(t){this.width_=t}}const Mo=Ao;class Io{constructor(t){t=t||{},this.geometry_=null,this.geometryFunction_=Ro,void 0!==t.geometry&&this.setGeometry(t.geometry),this.fill_=void 0!==t.fill?t.fill:null,this.image_=void 0!==t.image?t.image:null,this.renderer_=void 0!==t.renderer?t.renderer:null,this.hitDetectionRenderer_=void 0!==t.hitDetectionRenderer?t.hitDetectionRenderer:null,this.stroke_=void 0!==t.stroke?t.stroke:null,this.text_=void 0!==t.text?t.text:null,this.zIndex_=t.zIndex}clone(){let t=this.getGeometry();return t&&"object"==typeof t&&(t=t.clone()),new Io({geometry:t??void 0,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,renderer:this.getRenderer()??void 0,stroke:this.getStroke()?this.get
2Stroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})}getRenderer(){return this.renderer_}setRenderer(t){this.renderer_=t}setHitDetectionRenderer(t){this.hitDetectionRenderer_=t}getHitDetectionRenderer(){return this.hitDetectionRenderer_}getGeometry(){return this.geometry_}getGeometryFunction(){return this.geometryFunction_}getFill(){return this.fill_}setFill(t){this.fill_=t}getImage(){return this.image_}setImage(t){this.image_=t}getStroke(){return this.stroke_}setStroke(t){this.stroke_=t}getText(){return this.text_}setText(t){this.text_=t}getZIndex(){return this.zIndex_}setGeometry(t){"function"==typeof t?this.geometryFunction_=t:"string"==typeof t?this.geometryFunction_=function(e){return e.get(t)}:t?void 0!==t&&(this.geometryFunction_=function(){return t}):this.geometryFunction_=Ro,this.geometry_=t}setZIndex(t){this.zIndex_=t}}let Lo=null;function Po(t,e){if(!Lo){const t=new ko({color:"rgba(255,255,255,0.4)"}),e=new Mo({color:"#3399CC",width:1.25});Lo=[new Io({image:new So({fill:t,stroke:e,radius:5}),fill:t,stroke:e})]}return Lo}function Ro(t){return t.getGeometry()}const Do=Io;let Oo=null;class Fo extends y{constructor(t,e,i,n,r){super(),this.hitDetectionImage_=null,this.image_=t,this.crossOrigin_=i,this.canvas_={},this.color_=r,this.imageState_=void 0===n?Us:n,this.size_=t&&t.width&&t.height?[t.width,t.height]:null,this.src_=e,this.tainted_}initializeImage_(){this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)}isTainted_(){if(void 0===this.tainted_&&this.imageState_===Ks){Oo||(Oo=tr(1,1,void 0,{willReadFrequently:!0})),Oo.drawImage(this.image_,0,0);try{Oo.getImageData(0,0,1,1),this.tainted_=!1}catch(t){Oo=null,this.tainted_=!0}}return!0===this.tainted_}dispatchChangeEvent_(){this.dispatchEvent(x)}handleImageError_(){this.imageState_=Zs,this.dispatchChangeEvent_()}handleImageLoad_(){this.imageState_=Ks,this.size_=[this.image_.width,this.image_.height],this.dispatchChangeEvent_()}getImage(t){return this.image_||this.initializeImage_(),this.replaceColor_(t),this.canvas_[t]?this.canvas_[t]:this.image_}getPixelRatio(t){return this.replaceColor_(t),this.canvas_[t]?t:1}getImageState(){return this.imageState_}getHitDetectionImage(){if(this.image_||this.initializeImage_(),!this.hitDetectionImage_)if(this.isTainted_()){const t=this.size_[0],e=this.size_[1],i=tr(t,e);i.fillRect(0,0,t,e),this.hitDetectionImage_=i.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_}getSize(){return this.size_}getSrc(){return this.src_}load(){if(this.imageState_===Us){this.image_||this.initializeImage_(),this.imageState_=Vs;try{void 0!==this.src_&&(this.image_.src=this.src_)}catch(t){this.handleImageError_()}this.image_ instanceof HTMLImageElement&&no(this.image_,this.src_).then((t=>{this.image_=t,this.handleImageLoad_()})).catch(this.handleImageError_.bind(this))}}replaceColor_(t){if(!this.color_||this.canvas_[t]||this.imageState_!==Ks)return;const e=this.image_,i=document.createElement("canvas");i.width=Math.ceil(e.width*t),i.height=Math.ceil(e.height*t);const n=i.getContext("2d");n.scale(t,t),n.drawImage(e,0,0),n.globalCompositeOperation="multiply",n.fillStyle=he(this.color_),n.fillRect(0,0,i.width/t,i.height/t),n.globalCompositeOperation="destination-in",n.drawImage(e,0,0),this.canvas_[t]=i}}function zo(t,e,i,n){return void 0!==i&&void 0!==n?[i/t,n/e]:void 0!==i?i/t:void 0!==n?n/e:1}class $o extends xo{constructor(t){const e=void 0!==(t=t||{}).opacity?t.opacity:1,i=void 0!==t.rotation?t.rotation:0,n=void 0!==t.scale?t.scale:1,r=void 0!==t.rotateWithView&&t.rotateWithView;super({opacity:e,rotation:i,scale:n,displacement:void 0!==t.displacement?t.displacement:[0,0],rotateWithView:r,declutterMode:t.declutterMode}),this.anchor_=void 0!==t.anchor?t.anchor:[.5,.5],this.normalizedAnchor_=null,this.anchorOrigin_=void 0!==t.anchorOrigin?t.anchorOrigin:"top-left",this.anchorXUnits_=void 0!==t.anchorXUnits?t.anchorXUnits:"fraction",this.anchorYUnits_=void 0!==t.anchorYUnits?t.anchorYUnits:"fraction",this.crossOrigin_=void 0!==t.crossOrigin?t.crossOrigin:null;const s=void 0!==t.img?t.img:null;let o,a=t.src;if(Q(!(void 0!==a&&s),"`image` and `src` cannot be provided at the same time"),void 0!==a&&0!==a.length||!s||(a=s.src||z(s)),Q(void 0!==a&&a.length>0,"A defined and non-empty `src` or `image` must be provided"),Q(!((void 0!==t.width||void 0!==t.height)&&void 0!==t.scale),"`width` or `height` cannot be provided together with `scale`"),void 0!==t.src?o=Us:void 0!==s&&(o=s instanceof HTMLImageElement?s.complete?s.src?Ks:Us:Vs:Ks),this.color_=void 0!==t.color?ve(t.color):null,this.iconImage_=function(t,e,
2i,n,r){let s=void 0===e?void 0:be.get(e,i,r);return s||(s=new Fo(t,t instanceof HTMLImageElement?t.src||void 0:e,i,n,r),be.set(e,i,r,s)),s}(s,a,this.crossOrigin_,o,this.color_),this.offset_=void 0!==t.offset?t.offset:[0,0],this.offsetOrigin_=void 0!==t.offsetOrigin?t.offsetOrigin:"top-left",this.origin_=null,this.size_=void 0!==t.size?t.size:null,void 0!==t.width||void 0!==t.height){let e,i;if(t.size)[e,i]=t.size;else{const n=this.getImage(1);if(n.width&&n.height)e=n.width,i=n.height;else if(n instanceof HTMLImageElement){this.initialOptions_=t;const e=()=>{if(this.unlistenImageChange(e),!this.initialOptions_)return;const i=this.iconImage_.getSize();this.setScale(zo(i[0],i[1],t.width,t.height))};return void this.listenImageChange(e)}}void 0!==e&&this.setScale(zo(e,i,t.width,t.height))}}clone(){let t,e,i;return this.initialOptions_?(e=this.initialOptions_.width,i=this.initialOptions_.height):(t=this.getScale(),t=Array.isArray(t)?t.slice():t),new $o({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:t,width:e,height:i,size:null!==this.size_?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getAnchor(){let t=this.normalizedAnchor_;if(!t){t=this.anchor_;const e=this.getSize();if("fraction"==this.anchorXUnits_||"fraction"==this.anchorYUnits_){if(!e)return null;t=this.anchor_.slice(),"fraction"==this.anchorXUnits_&&(t[0]*=e[0]),"fraction"==this.anchorYUnits_&&(t[1]*=e[1])}if("top-left"!=this.anchorOrigin_){if(!e)return null;t===this.anchor_&&(t=this.anchor_.slice()),"top-right"!=this.anchorOrigin_&&"bottom-right"!=this.anchorOrigin_||(t[0]=-t[0]+e[0]),"bottom-left"!=this.anchorOrigin_&&"bottom-right"!=this.anchorOrigin_||(t[1]=-t[1]+e[1])}this.normalizedAnchor_=t}const e=this.getDisplacement(),i=this.getScaleArray();return[t[0]-e[0]/i[0],t[1]+e[1]/i[1]]}setAnchor(t){this.anchor_=t,this.normalizedAnchor_=null}getColor(){return this.color_}getImage(t){return this.iconImage_.getImage(t)}getPixelRatio(t){return this.iconImage_.getPixelRatio(t)}getImageSize(){return this.iconImage_.getSize()}getImageState(){return this.iconImage_.getImageState()}getHitDetectionImage(){return this.iconImage_.getHitDetectionImage()}getOrigin(){if(this.origin_)return this.origin_;let t=this.offset_;if("top-left"!=this.offsetOrigin_){const e=this.getSize(),i=this.iconImage_.getSize();if(!e||!i)return null;t=t.slice(),"top-right"!=this.offsetOrigin_&&"bottom-right"!=this.offsetOrigin_||(t[0]=i[0]-e[0]-t[0]),"bottom-left"!=this.offsetOrigin_&&"bottom-right"!=this.offsetOrigin_||(t[1]=i[1]-e[1]-t[1])}return this.origin_=t,this.origin_}getSrc(){return this.iconImage_.getSrc()}getSize(){return this.size_?this.size_:this.iconImage_.getSize()}getWidth(){const t=this.getScaleArray();return this.size_?this.size_[0]*t[0]:this.iconImage_.getImageState()==Ks?this.iconImage_.getSize()[0]*t[0]:void 0}getHeight(){const t=this.getScaleArray();return this.size_?this.size_[1]*t[1]:this.iconImage_.getImageState()==Ks?this.iconImage_.getSize()[1]*t[1]:void 0}setScale(t){delete this.initialOptions_,super.setScale(t)}listenImageChange(t){this.iconImage_.addEventListener(x,t)}load(){this.iconImage_.load()}unlistenImageChange(t){this.iconImage_.removeEventListener(x,t)}}const No=$o;const jo=class{constructor(t){this.highWaterMark=void 0!==t?t:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}canExpireCache(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark}expireCache(t){for(;this.canExpireCache();)this.pop()}clear(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}containsKey(t){return this.entries_.hasOwnProperty(t)}forEach(t){let e=this.oldest_;for(;e;)t(e.value_,e.key_,this),e=e.newer}get(t,e){const i=this.entries_[t];return Q(void 0!==i,"Tried to get a value for a key that does not exist in the cache"),i===this.newest_||(i===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(i.newer.older=i.older,i.older.newer=i.newer),i.newer=null,i.older=this.newest_,this.newest_.newer=i,this.newest_=i),i.value_}remove(t){const e=this.entries_[t];return Q(void 0!==e,"Tried to get a value for a key that does not exist in the cache"),e===this.newest_?(this.newest_=e.older,this.newest_&&(this.newest_.newer=null)):e===this.oldest_?(this.oldest_=e.newer,this.oldest_&&(this.oldest_.older=null)):(e.newer.older=e.older,e.older.newer=e.newer),delete this.entries_[t],--this.count_,e.value_}getCount(){return this.count_}getKeys(){const t=new Array(this.count_);let e,i=0;for(e=this.newest_;e;e=e.older)t[i++]=e.key_;return t}getValues(){const t=new Array(this.count_);let e,i=0;for(e=this.newest_;e;e=e.older)t[i++]=e.value_;return t}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(t){return this.entries_[t]?.value_}pop(){const t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_}replace(t,e){this.get(t),this.entries_[t].value_=e}set(t,e){Q(!(t in this.entries_),"Tried to set a value for a key that is used already");const i={key_:t,newer:null,older:this.newest_,value_:e};this.newest_?this.newest_.newer=i:this.oldest_=i,this.newest_=i,this.entries_[t]=i,++this.count_}setSize(t){this.highWaterMark=t}};function Bo(t,e,i,n){return void 0!==n?(n[0]=t,n[1]=e,n[2]=i,n):[t,e,i]}function Go(t,e,i){return t+"/"+e+"/"+i}function Wo(t){return Go(t[0],t[1],t[2])}const qo=class extends jo{clear(){for(;this.getCount()>0;)this.pop().release();super.clear()}expireCache(t){for(;this.canExpireCache();){if(this.peekLast().getKey()in t)break;this.pop().release()}}pruneExceptNewestZ(){if(0===this.getCount())return;const t=function(t){return t.split("/").map(Number)}(this.peekFirstKey()),e=t[0];this.forEach((t=>
2{t.tileCoord[0]!==e&&(this.remove(Wo(t.tileCoord)),t.release())}))}},Yo="tileloadstart",Xo="tileloadend",Ho="tileloaderror";function Uo(t){return t?Array.isArray(t)?function(e){return t}:"function"==typeof t?t:function(e){return[t]}:null}const Vo=class extends N{constructor(t){super(),this.projection=xi(t.projection),this.attributions_=Uo(t.attributions),this.attributionsCollapsible_=void 0===t.attributionsCollapsible||t.attributionsCollapsible,this.loading=!1,this.state_=void 0!==t.state?t.state:"ready",this.wrapX_=void 0!==t.wrapX&&t.wrapX,this.interpolate_=!!t.interpolate,this.viewResolver=null,this.viewRejector=null;const e=this;this.viewPromise_=new Promise((function(t,i){e.viewResolver=t,e.viewRejector=i}))}getAttributions(){return this.attributions_}getAttributionsCollapsible(){return this.attributionsCollapsible_}getProjection(){return this.projection}getResolutions(t){return null}getView(){return this.viewPromise_}getState(){return this.state_}getWrapX(){return this.wrapX_}getInterpolate(){return this.interpolate_}refresh(){this.changed()}setAttributions(t){this.attributions_=Uo(t),this.changed()}setState(t){this.state_=t,this.changed()}},Ko=[0,0,0];const Zo=class{constructor(t){let e;if(this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.resolutions_=t.resolutions,Q(function(t,e,i){const n=e||l;return t.every((function(e,r){if(0===r)return!0;const s=n(t[r-1],e);return!(s>0||i&&0===s)}))}(this.resolutions_,((t,e)=>e-t),!0),"`resolutions` must be sorted in descending order"),!t.origins)for(let t=0,i=this.resolutions_.length-1;t<i;++t)if(e){if(this.resolutions_[t]/this.resolutions_[t+1]!==e){e=void 0;break}}else e=this.resolutions_[t]/this.resolutions_[t+1];this.zoomFactor_=e,this.maxZoom=this.resolutions_.length-1,this.origin_=void 0!==t.origin?t.origin:null,this.origins_=null,void 0!==t.origins&&(this.origins_=t.origins,Q(this.origins_.length==this.resolutions_.length,"Number of `origins` and `resolutions` must be equal"));const i=t.extent;void 0===i||this.origin_||this.origins_||(this.origin_=Nt(i)),Q(!this.origin_&&this.origins_||this.origin_&&!this.origins_,"Either `origin` or `origins` must be configured, never both"),this.tileSizes_=null,void 0!==t.tileSizes&&(this.tileSizes_=t.tileSizes,Q(this.tileSizes_.length==this.resolutions_.length,"Number of `tileSizes` and `resolutions` must be equal")),this.tileSize_=void 0!==t.tileSize?t.tileSize:this.tileSizes_?null:Ge,Q(!this.tileSize_&&this.tileSizes_||this.tileSize_&&!this.tileSizes_,"Either `tileSize` or `tileSizes` must be configured, never both"),this.extent_=void 0!==i?i:null,this.fullTileRanges_=null,this.tmpSize_=[0,0],this.tmpExtent_=[0,0,0,0],void 0!==t.sizes?this.fullTileRanges_=t.sizes.map(((t,e)=>{const n=new mo(Math.min(0,t[0]),Math.max(t[0]-1,-1),Math.min(0,t[1]),Math.max(t[1]-1,-1));if(i){const t=this.getTileRangeForExtentAndZ(i,e);n.minX=Math.max(t.minX,n.minX),n.maxX=Math.min(t.maxX,n.maxX),n.minY=Math.max(t.minY,n.minY),n.maxY=Math.min(t.maxY,n.maxY)}return n})):i&&this.calculateTileRanges_(i)}forEachTileCoord(t,e,i){const n=this.getTileRangeForExtentAndZ(t,e);for(let t=n.minX,r=n.maxX;t<=r;++t)for(let r=n.minY,s=n.maxY;r<=s;++r)i([e,t,r])}forEachTileCoordParentTileRange(t,e,i,n){let r,s,o,a=null,l=t[0]-1;for(2===this.zoomFactor_?(s=t[1],o=t[2]):a=this.getTileCoordExtent(t,n);l>=this.minZoom;){if(void 0!==s&&void 0!==o?(s=Math.floor(s/2),o=Math.floor(o/2),r=go(s,s,o,o,i)):r=this.getTileRangeForExtentAndZ(a,l,i),e(l,r))return!0;--l}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(t){return this.origin_?this.origin_:this.origins_[t]}getResolution(t){return this.resolutions_[t]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(t,e,i){if(t[0]<this.maxZoom){if(2===this.zoomFactor_){const i=2*t[1],n=2*t[2];return go(i,i+1,n,n+1,e)}const n=this.getTileCoordExtent(t,i||this.tmpExtent_);return this.getTileRangeForExtentAndZ(n,t[0]+1,e)}return null}getTileRangeForTileCoordAndZ(t,e,i){if(e>this.maxZoom||e<this.minZoom)return null;const n=t[0],r=t[1],s=t[2];if(e===n)return go(r,s,r,s,i);if(this.zoomFactor_){const t=Math.pow(this.zoomFactor_,e-n),o=Math.floor(r*t),a=Math.floor(s*t);if(e<n)return go(o,o,a,a,i);return go(o,Math.floor(t*(r+1))-1,a,Math.floor(t*(s+1))-1,i)}const o=this.getTileCoordExtent(t,this.tmpExtent_);return this.getTileRangeForExtentAndZ(o,e,i)}getTileRangeForExtentAndZ(t,e,i){this.getTileCoordForXYAndZ_(t[0],t[3],e,!1,Ko);const n=Ko[1],r=Ko[2];this.getTileCoordForXYAndZ_(t[2],t[1],e,!0,Ko);return go(n,Ko[1],r,Ko[2],i)}getTileCoordCenter(t){const e=this.getOrigin(t[0]),i=this.getResolution(t[0]),n=Ns(this.getTileSize(t[0]),this.tmpSize_);return[e[0]+(t[1]+.5)*n[0]*i,e[1]-(t[2]+.5)*n[1]*i]}getTileCoordExtent(t,e){const i=this.getOrigin(t[0]),n=this.getResolution(t[0]),r=Ns(this.getTileSize(t[0]),this.tmpSize_),s=i[0]+t[1]*r[0]*n,o=i[1]-(t[2]+1)*r[1]*n;return wt(s,o,s+r[0]*n,o+r[1]*n,e)}
2getTileCoordForCoordAndResolution(t,e,i){return this.getTileCoordForXYAndResolution_(t[0],t[1],e,!1,i)}getTileCoordForXYAndResolution_(t,e,i,n,r){const s=this.getZForResolution(i),o=i/this.getResolution(s),a=this.getOrigin(s),l=Ns(this.getTileSize(s),this.tmpSize_);let c=o*(t-a[0])/i/l[0],u=o*(a[1]-e)/i/l[1];return n?(c=ue(c,5)-1,u=ue(u,5)-1):(c=ce(c,5),u=ce(u,5)),Bo(s,c,u,r)}getTileCoordForXYAndZ_(t,e,i,n,r){const s=this.getOrigin(i),o=this.getResolution(i),a=Ns(this.getTileSize(i),this.tmpSize_);let l=(t-s[0])/o/a[0],c=(s[1]-e)/o/a[1];return n?(l=ue(l,5)-1,c=ue(c,5)-1):(l=ce(l,5),c=ce(c,5)),Bo(i,l,c,r)}getTileCoordForCoordAndZ(t,e,i){return this.getTileCoordForXYAndZ_(t[0],t[1],e,!1,i)}getTileCoordResolution(t){return this.resolutions_[t[0]]}getTileSize(t){return this.tileSize_?this.tileSize_:this.tileSizes_[t]}getFullTileRange(t){return this.fullTileRanges_?this.fullTileRanges_[t]:this.extent_?this.getTileRangeForExtentAndZ(this.extent_,t):null}getZForResolution(t,e){return ie(c(this.resolutions_,t,e||0),this.minZoom,this.maxZoom)}tileCoordIntersectsViewport(t,e){return In(e,0,e.length,2,this.getTileCoordExtent(t))}calculateTileRanges_(t){const e=this.resolutions_.length,i=new Array(e);for(let n=this.minZoom;n<e;++n)i[n]=this.getTileRangeForExtentAndZ(t,n);this.fullTileRanges_=i}};function Jo(t){let e=t.getDefaultTileGrid();return e||(e=function(t,e,i,n){return function(t,e,i,n){n=void 0!==n?n:"top-left";const r=Qo(t,e,i);return new Zo({extent:t,origin:Dt(t,n),resolutions:r,tileSize:i})}(ta(t),e,i,n)}(t),t.setDefaultTileGrid(e)),e}function Qo(t,e,i,n){e=void 0!==e?e:42,i=Ns(void 0!==i?i:Ge);const r=zt(t),s=Bt(t);n=n>0?n:Math.max(s/i[0],r/i[1]);const o=e+1,a=new Array(o);for(let t=0;t<o;++t)a[t]=n/Math.pow(2,t);return a}function ta(t){let e=(t=xi(t)).getExtent();if(!e){const i=180*We.degrees/t.getMetersPerUnit();e=wt(-i,-i,i,i)}return e}class ea extends s{constructor(t,e){super(t),this.tile=e}}const ia=class extends Vo{constructor(t){super({attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,projection:t.projection,state:t.state,wrapX:t.wrapX,interpolate:t.interpolate}),this.on,this.once,this.un,this.opaque_=void 0!==t.opaque&&t.opaque,this.tilePixelRatio_=void 0!==t.tilePixelRatio?t.tilePixelRatio:1,this.tileGrid=void 0!==t.tileGrid?t.tileGrid:null;const e=[256,256];this.tileGrid&&Ns(this.tileGrid.getTileSize(this.tileGrid.getMinZoom()),e),this.tileCache=new qo(t.cacheSize||0),this.tmpSize=[0,0],this.key_=t.key||"",this.tileOptions={transition:t.transition,interpolate:t.interpolate},this.zDirection=t.zDirection?t.zDirection:0}canExpireCache(){return this.tileCache.canExpireCache()}expireCache(t,e){const i=this.getTileCacheForProjection(t);i&&i.expireCache(e)}forEachLoadedTile(t,e,i,n){const r=this.getTileCacheForProjection(t);if(!r)return!1;let s,o,a,l=!0;for(let t=i.minX;t<=i.maxX;++t)for(let c=i.minY;c<=i.maxY;++c)o=Go(e,t,c),a=!1,r.containsKey(o)&&(s=r.get(o),a=s.getState()===Hr,a&&(a=!1!==n(s))),a||(l=!1);return l}getGutterForProjection(t){return 0}getKey(){return this.key_}setKey(t){this.key_!==t&&(this.key_=t,this.changed())}getOpaque(t){return this.opaque_}getResolutions(t){const e=t?this.getTileGridForProjection(t):this.tileGrid;return e?e.getResolutions():null}getTile(t,e,i,n,r){return O()}getTileGrid(){return this.tileGrid}getTileGridForProjection(t){return this.tileGrid?this.tileGrid:Jo(t)}getTileCacheForProjection(t){const e=this.getProjection();return Q(null===e||Si(e,t),"A VectorTile source can only be rendered if it has a projection compatible with the view projection."),this.tileCache}getTilePixelRatio(t){return this.tilePixelRatio_}getTilePixelSize(t,e,i){const n=this.getTileGridForProjection(i),r=this.getTilePixelRatio(e),s=Ns(n.getTileSize(t),this.tmpSize);return 1==r?s:(o=s,a=r,void 0===(l=this.tmpSize)&&(l=[0,0]),l[0]=o[0]*a+.5|0,l[1]=o[1]*a+.5|0,l);var o,a,l}getTileCoordForTileUrlFunction(t,e){e=void 0!==e?e:this.getProjection();const i=this.getTileGridForProjection(e);return this.getWrapX()&&e.isGlobal()&&(t=function(t,e,i){const n=e[0],r=t.getTileCoordCenter(e),s=ta(i);if(!mt(s,r)){const e=Bt(s),i=Math.ceil((s[0]-r[0])/e);return r[0]+=e*i,t.getTileCoordForCoordAndZ(r,n)}return e}(i,t,e)),function(t,e){const i=t[0],n=t[1],r=t[2];
2if(e.getMinZoom()>i||i>e.getMaxZoom())return!1;const s=e.getFullTileRange(i);return!s||s.containsXY(n,r)}(t,i)?t:null}clear(){this.tileCache.clear()}refresh(){this.clear(),super.refresh()}updateCacheSize(t,e){const i=this.getTileCacheForProjection(e);t>i.highWaterMark&&(i.highWaterMark=t)}useTile(t,e,i,n){}};function na(t,e){const i=/\{z\}/g,n=/\{x\}/g,r=/\{y\}/g,s=/\{-y\}/g;return function(o,a,l){if(o)return t.replace(i,o[0].toString()).replace(n,o[1].toString()).replace(r,o[2].toString()).replace(s,(function(){const t=o[0],i=e.getFullTileRange(t);if(!i)throw new Error("The {-y} placeholder requires a tile grid with extent");return(i.getHeight()-o[2]-1).toString()}))}}function ra(t,e){const i=t.length,n=new Array(i);for(let r=0;r<i;++r)n[r]=na(t[r],e);return function(t){if(1===t.length)return t[0];return function(e,i,n){if(!e)return;const r=function(t){return(t[1]<<t[0])+t[2]}(e),s=oe(r,t.length);return t[s](e,i,n)}}(n)}class sa extends ia{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tilePixelRatio:t.tilePixelRatio,wrapX:t.wrapX,transition:t.transition,interpolate:t.interpolate,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.generateTileUrlFunction_=this.tileUrlFunction===sa.prototype.tileUrlFunction,this.tileLoadFunction=t.tileLoadFunction,t.tileUrlFunction&&(this.tileUrlFunction=t.tileUrlFunction),this.urls=null,t.urls?this.setUrls(t.urls):t.url&&this.setUrl(t.url),this.tileLoadingKeys_={}}getTileLoadFunction(){return this.tileLoadFunction}getTileUrlFunction(){return Object.getPrototypeOf(this).tileUrlFunction===this.tileUrlFunction?this.tileUrlFunction.bind(this):this.tileUrlFunction}getUrls(){return this.urls}handleTileChange(t){const e=t.target,i=z(e),n=e.getState();let r;n==Xr?(this.tileLoadingKeys_[i]=!0,r=Yo):i in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[i],r=n==Ur?Ho:n==Hr?Xo:void 0),null!=r&&this.dispatchEvent(new ea(r,e))}setTileLoadFunction(t){this.tileCache.clear(),this.tileLoadFunction=t,this.changed()}setTileUrlFunction(t,e){this.tileUrlFunction=t,this.tileCache.pruneExceptNewestZ(),void 0!==e?this.setKey(e):this.changed()}setUrl(t){const e=function(t){const e=[];let i=/\{([a-z])-([a-z])\}/.exec(t);if(i){const n=i[1].charCodeAt(0),r=i[2].charCodeAt(0);let s;for(s=n;s<=r;++s)e.push(t.replace(i[0],String.fromCharCode(s)));return e}if(i=/\{(\d+)-(\d+)\}/.exec(t),i){const n=parseInt(i[2],10);for(let r=parseInt(i[1],10);r<=n;r++)e.push(t.replace(i[0],r.toString()));return e}return e.push(t),e}(t);this.urls=e,this.setUrls(e)}setUrls(t){this.urls=t;const e=t.join("\n");this.generateTileUrlFunction_?this.setTileUrlFunction(ra(t,this.tileGrid),e):this.setKey(e)}tileUrlFunction(t,e,i){}useTile(t,e,i){const n=Go(t,e,i);this.tileCache.containsKey(n)&&this.tileCache.get(n)}}const oa=sa;function aa(t,e){t.getImage().src=e}const la=class extends oa{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:aa,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX,transition:t.transition,interpolate:void 0===t.interpolate||t.interpolate,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.crossOrigin=void 0!==t.crossOrigin?t.crossOrigin:null,this.tileClass=void 0!==t.tileClass?t.tileClass:ro,this.tileCacheForProjection={},this.tileGridForProjection={},this.reprojectionErrorThreshold_=t.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}canExpireCache(){if(this.tileCache.canExpireCache())return!0;for(const t in this.tileCacheForProjection)if(this.tileCacheForProjection[t].canExpireCache())return!0;return!1}expireCache(t,e){const i=this.getTileCacheForProjection(t);this.tileCache.expireCache(this.tileCache==i?e:{});for(const t in this.tileCacheForProjection){const n=this.tileCacheForProjection[t];n.expireCache(n==i?e:{})}}getGutterForProjection(t){return this.getProjection()&&t&&!Si(this.getProjection(),t)?0:this.getGutter()}getGutter(){return 0}getKey(){let t=super.getKey();return this.getInterpolate()||(t+=":disable-interpolation"),t}getOpaque(t){return!(this.getProjection()&&t&&!Si(this.getProjection(),t))&&super.getOpaque(t)}getTileGridForProjection(t){const e=this.getProjection();
2if(this.tileGrid&&(!e||Si(e,t)))return this.tileGrid;const i=z(t);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=Jo(t)),this.tileGridForProjection[i]}getTileCacheForProjection(t){const e=this.getProjection();if(!e||Si(e,t))return this.tileCache;const i=z(t);return i in this.tileCacheForProjection||(this.tileCacheForProjection[i]=new qo(this.tileCache.highWaterMark)),this.tileCacheForProjection[i]}createTile_(t,e,i,n,r,s){const o=[t,e,i],a=this.getTileCoordForTileUrlFunction(o,r),l=a?this.tileUrlFunction(a,n,r):void 0,c=new this.tileClass(o,void 0!==l?Yr:Vr,void 0!==l?l:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return c.key=s,c.addEventListener(x,this.handleTileChange.bind(this)),c}getTile(t,e,i,n,r){const s=this.getProjection();if(!s||!r||Si(s,r))return this.getTileInternal(t,e,i,n,s||r);const o=this.getTileCacheForProjection(r),a=[t,e,i];let l;const c=Wo(a);o.containsKey(c)&&(l=o.get(c));const u=this.getKey();if(l&&l.key==u)return l;const h=this.getTileGridForProjection(s),d=this.getTileGridForProjection(r),p=this.getTileCoordForTileUrlFunction(a,r),f=new po(s,h,r,d,a,p,this.getTilePixelRatio(n),this.getGutter(),((t,e,i,n)=>this.getTileInternal(t,e,i,n,s)),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return f.key=u,l?(f.interimTile=l,f.refreshInterimChain(),o.replace(c,f)):o.set(c,f),f}getTileInternal(t,e,i,n,r){let s=null;const o=Go(t,e,i),a=this.getKey();if(this.tileCache.containsKey(o)){if(s=this.tileCache.get(o),s.key!=a){const l=s;s=this.createTile_(t,e,i,n,r,a),l.getState()==Yr?s.interimTile=l.interimTile:s.interimTile=l,s.refreshInterimChain(),this.tileCache.replace(o,s)}}else s=this.createTile_(t,e,i,n,r,a),this.tileCache.set(o,s);return s}setRenderReprojectionEdges(t){if(this.renderReprojectionEdges_!=t){this.renderReprojectionEdges_=t;for(const t in this.tileCacheForProjection)this.tileCacheForProjection[t].clear();this.changed()}}setTileGridForProjection(t,e){const i=xi(t);if(i){const t=z(i);t in this.tileGridForProjection||(this.tileGridForProjection[t]=e)}}clear(){super.clear();for(const t in this.tileCacheForProjection)this.tileCacheForProjection[t].clear()}};const ca=class extends la{constructor(t){const e=void 0!==(t=t||{}).projection?t.projection:"EPSG:3857",i=void 0!==t.tileGrid?t.tileGrid:function(t){const e=t||{},i=e.extent||xi("EPSG:3857").getExtent(),n={extent:i,minZoom:e.minZoom,tileSize:e.tileSize,resolutions:Qo(i,e.maxZoom,e.tileSize,e.maxResolution)};return new Zo(n)}({extent:ta(e),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,opaque:t.opaque,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:i,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.gutter_=void 0!==t.gutter?t.gutter:0}getGutter(){return this.gutter_}};const ua=class extends ca{constructor(t){let e;e=void 0!==(t=t||{}).attributions?t.attributions:['&#169; <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> contributors.'];const i=void 0!==t.crossOrigin?t.crossOrigin:"anonymous",n=void 0!==t.url?t.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png";super({attributions:e,attributionsCollapsible:!1,cacheSize:t.cacheSize,crossOrigin:i,interpolate:t.interpolate,maxZoom:void 0!==t.maxZoom?t.maxZoom:19,opaque:void 0===t.opaque||t.opaque,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,transition:t.transition,url:n,wrapX:t.wrapX,zDirection:t.zDirection})}};var ha=i(582);const da=class{constructor(t){this.rbush_=new ha(t),this.items_={}}insert(t,e){const i={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(i),this.items_[z(e)]=i}load(t,e){const i=new Array(e.length);for(let n=0,r=e.length;n<r;n++){const r=t[n],s=e[n],o={minX:r[0],minY:r[1],maxX:r[2],maxY:r[3],value:s};i[n]=o,this.items_[z(s)]=o}this.rbush_.load(i)}remove(t){const e=z(t),i=this.items_[e];return delete this.items_[e],null!==this.rbush_.remove(i)}update(t,e){const i=this.items_[z(e)];St([i.minX,i.minY,i.maxX,i.maxY],t)||(this.remove(e),this.insert(t,e))}getAll(){return this.rbush_.all().map((function(t){return t.value}))}getInExtent(t){const e={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]};return this.rbush_.search(e).map((function(t){return t.value}))}forEach(t){return this.forEach_(this.getAll(),t)}forEachInExtent(t,e){return this.forEach_(this.getInExtent(t),e)}forEach_(t,e){let i;for(let n=0,r=t.length;n<r;n++)if(i=e(t[n]),i)return i;return i}isEmpty(){return _(this.items_)}clear(){this.rbush_.clear(),this.items_={}}getExtent(t){const e=this.rbush_.toJSON();return wt(e.minX,e.minY,e.maxX,e.maxY,t)}concat(t){this.rbush_.load(t.rbush_.all());for(const e in t.items_)this.items_[e]=t.items_[e]}};function pa(t,e,i,n,r,s,o){let a,c;const u=(i-e)/n;if(1===u)a=e;else if(2===u)a=e,c=r;else if(0!==u){let s=t[e],o=t[e+1],u=0;const h=[0];for(let r=e+n;r<i;r+=n){const e=t[r],i=t[r+1];u+=Math.sqrt((e-s)*(e-s)+(i-o)*(i-o)),h.push(u),s=e,o=i}
2const d=r*u,p=function(t,e,i){let n,r;i=i||l;let s=0,o=t.length,a=!1;for(;s<o;)n=s+(o-s>>1),r=+i(t[n],e),r<0?s=n+1:(o=n,a=!r);return a?s:~s}(h,d);p<0?(c=(d-h[-p-2])/(h[-p-1]-h[-p-2]),a=e+(-p-2)*n):a=e+p*n}o=o>1?o:2,s=s||new Array(o);for(let e=0;e<o;++e)s[e]=void 0===a?NaN:void 0===c?t[a+e]:ae(t[a+e],t[a+n+e],c);return s}const fa=[1,0,0,1,0,0];class ga{constructor(t,e,i,n,r,s){this.styleFunction,this.extent_,this.id_=s,this.type_=t,this.flatCoordinates_=e,this.flatInteriorPoints_=null,this.flatMidpoints_=null,this.ends_=i,this.properties_=r,this.squaredTolerance_,this.stride_=n,this.simplifiedGeometry_}get(t){return this.properties_[t]}getExtent(){return this.extent_||(this.extent_="Point"===this.type_?Ct(this.flatCoordinates_):Et(this.flatCoordinates_,0,this.flatCoordinates_.length,2)),this.extent_}getFlatInteriorPoint(){if(!this.flatInteriorPoints_){const t=Rt(this.getExtent());this.flatInteriorPoints_=An(this.flatCoordinates_,0,this.ends_,2,t,0)}return this.flatInteriorPoints_}getFlatInteriorPoints(){if(!this.flatInteriorPoints_){const t=function(t,e){const i=[];let n,r=0,s=0;for(let o=0,a=e.length;o<a;++o){const a=e[o],l=Rn(t,r,a,2);if(void 0===n&&(n=l),l===n)i.push(e.slice(s,o+1));else{if(0===i.length)continue;i[i.length-1].push(e[s])}s=o+1,r=a}return i}(this.flatCoordinates_,this.ends_),e=function(t,e,i,n){const r=[];let s=[1/0,1/0,-1/0,-1/0];for(let o=0,a=i.length;o<a;++o){const a=i[o];s=Et(t,e,a[0],n),r.push((s[0]+s[2])/2,(s[1]+s[3])/2),e=a[a.length-1]}return r}(this.flatCoordinates_,0,t,2);this.flatInteriorPoints_=function(t,e,i,n,r){let s=[];for(let o=0,a=i.length;o<a;++o){const a=i[o];s=An(t,e,a,n,r,2*o,s),e=a[a.length-1]}return s}(this.flatCoordinates_,0,t,2,e)}return this.flatInteriorPoints_}getFlatMidpoint(){return this.flatMidpoints_||(this.flatMidpoints_=pa(this.flatCoordinates_,0,this.flatCoordinates_.length,2,.5)),this.flatMidpoints_}getFlatMidpoints(){if(!this.flatMidpoints_){this.flatMidpoints_=[];const t=this.flatCoordinates_;let e=0;const i=this.ends_;for(let n=0,r=i.length;n<r;++n){const r=i[n],s=pa(t,e,r,2,.5);h(this.flatMidpoints_,s),e=r}}return this.flatMidpoints_}getId(){return this.id_}getOrientedFlatCoordinates(){return this.flatCoordinates_}getGeometry(){return this}getSimplifiedGeometry(t){return this}simplifyTransformed(t,e){return this}getProperties(){return this.properties_}getPropertiesInternal(){return this.properties_}getStride(){return this.stride_}getStyleFunction(){return this.styleFunction}getType(){return this.type_}transform(t){const e=(t=xi(t)).getExtent(),i=t.getWorldExtent();if(e&&i){const t=zt(i)/zt(e);it(fa,i[0],i[3],t,-t,0,0,0),Zi(this.flatCoordinates_,0,this.flatCoordinates_.length,2,fa,this.flatCoordinates_)}}applyTransform(t){t(this.flatCoordinates_,this.flatCoordinates_,this.stride_)}clone(){return new ga(this.type_,this.flatCoordinates_.slice(),this.ends_.slice(),this.stride_,Object.assign({},this.properties_),this.id_)}getEnds(){return this.ends_}enableSimplifyTransformed(){return this.simplifyTransformed=m(((t,e)=>{if(t===this.squaredTolerance_)return this.simplifiedGeometry_;this.simplifiedGeometry_=this.clone(),e&&this.simplifiedGeometry_.applyTransform(e);const i=this.simplifiedGeometry_.getFlatCoordinates();let n;switch(this.type_){case"LineString":i.length=hn(i,0,this.simplifiedGeometry_.flatCoordinates_.length,this.simplifiedGeometry_.stride_,t,i,0),n=[i.length];break;case"MultiLineString":n=[],i.length=dn(i,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,t,i,0,n);break;case"Polygon":n=[],i.length=gn(i,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,Math.sqrt(t),i,0,n)}return n&&(this.simplifiedGeometry_=new ga(this.type_,i,n,2,this.properties_,this.id_)),this.squaredTolerance_=t,this.simplifiedGeometry_})),this}}ga.prototype.getFlatCoordinates=ga.prototype.getOrientedFlatCoordinates;const ma=ga,va="addfeature",_a="changefeature",ya="clear",xa="removefeature",wa="featuresloadstart",ba="featuresloadend",Ca="featuresloaderror";function Ea(t,e){return[[-1/0,-1/0,1/0,1/0]]}let Sa=!1;function Ta(t,e){return function(i,n,r,s,o){const a=this;
2!function(t,e,i,n,r,s,o){const a=new XMLHttpRequest;a.open("GET","function"==typeof t?t(i,n,r):t,!0),"arraybuffer"==e.getType()&&(a.responseType="arraybuffer"),a.withCredentials=Sa,a.onload=function(t){if(!a.status||a.status>=200&&a.status<300){const t=e.getType();let n;"json"==t?n=JSON.parse(a.responseText):"text"==t?n=a.responseText:"xml"==t?(n=a.responseXML,n||(n=(new DOMParser).parseFromString(a.responseText,"application/xml"))):"arraybuffer"==t&&(n=a.response),n?s(e.readFeatures(n,{extent:i,featureProjection:r}),e.readProjection(n)):o()}else o()},a.onerror=o,a.send()}(t,e,i,n,r,(function(t,e){a.addFeatures(t),void 0!==s&&s(t)}),o||g)}}class ka extends s{constructor(t,e,i){super(t),this.feature=e,this.features=i}}const Aa=class extends Vo{constructor(t){super({attributions:(t=t||{}).attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:void 0===t.wrapX||t.wrapX}),this.on,this.once,this.un,this.loader_=g,this.format_=t.format,this.overlaps_=void 0===t.overlaps||t.overlaps,this.url_=t.url,void 0!==t.loader?this.loader_=t.loader:void 0!==this.url_&&(Q(this.format_,"`format` must be set when `url` is set"),this.loader_=Ta(this.url_,this.format_)),this.strategy_=void 0!==t.strategy?t.strategy:Ea;const e=void 0===t.useSpatialIndex||t.useSpatialIndex;let i,n;this.featuresRtree_=e?new da:null,this.loadedExtentsRtree_=new da,this.loadingExtentsCount_=0,this.nullGeometryFeatures_={},this.idIndex_={},this.uidIndex_={},this.featureChangeKeys_={},this.featuresCollection_=null,Array.isArray(t.features)?n=t.features:t.features&&(i=t.features,n=i.getArray()),e||void 0!==i||(i=new q(n)),void 0!==n&&this.addFeaturesInternal(n),void 0!==i&&this.bindFeaturesCollection_(i)}addFeature(t){this.addFeatureInternal(t),this.changed()}addFeatureInternal(t){const e=z(t);if(!this.addToIndex_(e,t))return void(this.featuresCollection_&&this.featuresCollection_.remove(t));this.setupChangeEvents_(e,t);const i=t.getGeometry();if(i){const e=i.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(e,t)}else this.nullGeometryFeatures_[e]=t;this.dispatchEvent(new ka(va,t))}setupChangeEvents_(t,e){e instanceof ma||(this.featureChangeKeys_[t]=[I(e,x,this.handleFeatureChange_,this),I(e,o,this.handleFeatureChange_,this)])}addToIndex_(t,e){let i=!0;if(void 0!==e.getId()){const t=String(e.getId());if(t in this.idIndex_)if(e instanceof ma){const n=this.idIndex_[t];n instanceof ma?Array.isArray(n)?n.push(e):this.idIndex_[t]=[n,e]:i=!1}else i=!1;else this.idIndex_[t]=e}return i&&(Q(!(t in this.uidIndex_),"The passed `feature` was already added to the source"),this.uidIndex_[t]=e),i}addFeatures(t){this.addFeaturesInternal(t),this.changed()}addFeaturesInternal(t){const e=[],i=[],n=[];for(let e=0,n=t.length;e<n;e++){const n=t[e],r=z(n);this.addToIndex_(r,n)&&i.push(n)}for(let t=0,r=i.length;t<r;t++){const r=i[t],s=z(r);this.setupChangeEvents_(s,r);const o=r.getGeometry();if(o){const t=o.getExtent();e.push(t),n.push(r)}else this.nullGeometryFeatures_[s]=r}if(this.featuresRtree_&&this.featuresRtree_.load(e,n),this.hasListener(va))for(let t=0,e=i.length;t<e;t++)this.dispatchEvent(new ka(va,i[t]))}bindFeaturesCollection_(t){let e=!1;this.addEventListener(va,(function(i){e||(e=!0,t.push(i.feature),e=!1)})),this.addEventListener(xa,(function(i){e||(e=!0,t.remove(i.feature),e=!1)})),t.addEventListener(j,(t=>{e||(e=!0,this.addFeature(t.element),e=!1)})),t.addEventListener(B,(t=>{e||(e=!0,this.removeFeature(t.element),e=!1)})),this.featuresCollection_=t}clear(t){if(t){for(const t in this.featureChangeKeys_){this.featureChangeKeys_[t].forEach(P)}this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_){const t=t=>{this.removeFeatureInternal(t)};this.featuresRtree_.forEach(t);for(const t in this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[t])}this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};const e=new ka(ya);this.dispatchEvent(e),this.changed()}forEachFeature(t){if(this.featuresRtree_)return this.featuresRtree_.forEach(t);this.featuresCollection_&&this.featuresCollection_.forEach(t)}forEachFeatureAtCoordinateDirect(t,e){const i=[t[0],t[1],t[0],t[1]];return this.forEachFeatureInExtent(i,(function(i){const n=i.getGeometry();if(n instanceof ma||n.intersectsCoordinate(t))return e(i)}))}forEachFeatureInExtent(t,e){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(t,e);this.featuresCollection_&&this.featuresCollection_.forEach(e)}forEachFeatureIntersectingExtent(t,e){return this.forEachFeatureInExtent(t,(function(i){const n=i.getGeometry();if(n instanceof ma||n.intersectsExtent(t)){const t=e(i);if(t)return t}}))}getFeaturesCollection(){return this.featuresCollection_}getFeatures(){let t;return this.featuresCollection_?t=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(t=this.featuresRtree_.getAll(),_(this.nullGeometryFeatures_)||h(t,Object.values(this.nullGeometryFeatures_))),t}getFeaturesAtCoordinate(t){const e=[];return this.forEachFeatureAtCoordinateDirect(t,(function(t){e.push(t)})),e}getFeaturesInExtent(t,e){if(this.featuresRtree_){if(!(e&&e.canWrapX()&&this.getWrapX()))return this.featuresRtree_.getInExtent(t);const i=function(t,e){if(e.canWrapX()){const i=e.getExtent();if(!isFinite(t[0])||!isFinite(t[2]))return[[i[0],t[1],i[2],t[3]]];Yt(t,e);
2const n=Bt(i);if(Bt(t)>n)return[[i[0],t[1],i[2],t[3]]];if(t[0]<i[0])return[[t[0]+n,t[1],i[2],t[3]],[i[0],t[1],t[2],t[3]]];if(t[2]>i[2])return[[t[0],t[1],i[2],t[3]],[i[0],t[1],t[2]-n,t[3]]]}return[t]}(t,e);return[].concat(...i.map((t=>this.featuresRtree_.getInExtent(t))))}return this.featuresCollection_?this.featuresCollection_.getArray().slice(0):[]}getClosestFeatureToCoordinate(t,e){const i=t[0],n=t[1];let r=null;const s=[NaN,NaN];let o=1/0;const a=[-1/0,-1/0,1/0,1/0];return e=e||p,this.featuresRtree_.forEachInExtent(a,(function(t){if(e(t)){const e=t.getGeometry(),l=o;if(o=e instanceof ma?0:e.closestPointXY(i,n,s,o),o<l){r=t;const e=Math.sqrt(o);a[0]=i-e,a[1]=n-e,a[2]=i+e,a[3]=n+e}}})),r}getExtent(t){return this.featuresRtree_.getExtent(t)}getFeatureById(t){const e=this.idIndex_[t.toString()];return void 0!==e?e:null}getFeatureByUid(t){const e=this.uidIndex_[t];return void 0!==e?e:null}getFormat(){return this.format_}getOverlaps(){return this.overlaps_}getUrl(){return this.url_}handleFeatureChange_(t){const e=t.target,i=z(e),n=e.getGeometry();if(n){const t=n.getExtent();i in this.nullGeometryFeatures_?(delete this.nullGeometryFeatures_[i],this.featuresRtree_&&this.featuresRtree_.insert(t,e)):this.featuresRtree_&&this.featuresRtree_.update(t,e)}else i in this.nullGeometryFeatures_||(this.featuresRtree_&&this.featuresRtree_.remove(e),this.nullGeometryFeatures_[i]=e);const r=e.getId();if(void 0!==r){const t=r.toString();this.idIndex_[t]!==e&&(this.removeFromIdIndex_(e),this.idIndex_[t]=e)}else this.removeFromIdIndex_(e),this.uidIndex_[i]=e;this.changed(),this.dispatchEvent(new ka(_a,e))}hasFeature(t){const e=t.getId();return void 0!==e?e in this.idIndex_:z(t)in this.uidIndex_}isEmpty(){return this.featuresRtree_?this.featuresRtree_.isEmpty()&&_(this.nullGeometryFeatures_):!this.featuresCollection_||0===this.featuresCollection_.getLength()}loadFeatures(t,e,i){const n=this.loadedExtentsRtree_,r=this.strategy_(t,e,i);for(let t=0,s=r.length;t<s;++t){const s=r[t];n.forEachInExtent(s,(function(t){return vt(t.extent,s)}))||(++this.loadingExtentsCount_,this.dispatchEvent(new ka(wa)),this.loader_.call(this,s,e,i,(t=>{--this.loadingExtentsCount_,this.dispatchEvent(new ka(ba,void 0,t))}),(()=>{--this.loadingExtentsCount_,this.dispatchEvent(new ka(Ca))})),n.insert(s,{extent:s.slice()}))}this.loading=!(this.loader_.length<4)&&this.loadingExtentsCount_>0}refresh(){this.clear(!0),this.loadedExtentsRtree_.clear(),super.refresh()}removeLoadedExtent(t){const e=this.loadedExtentsRtree_;let i;e.forEachInExtent(t,(function(e){if(St(e.extent,t))return i=e,!0})),i&&e.remove(i)}removeFeature(t){if(!t)return;const e=z(t);e in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[e]:this.featuresRtree_&&this.featuresRtree_.remove(t);this.removeFeatureInternal(t)&&this.changed()}removeFeatureInternal(t){const e=z(t),i=this.featureChangeKeys_[e];if(!i)return;i.forEach(P),delete this.featureChangeKeys_[e];const n=t.getId();return void 0!==n&&delete this.idIndex_[n.toString()],delete this.uidIndex_[e],this.dispatchEvent(new ka(xa,t)),t}removeFromIdIndex_(t){let e=!1;for(const i in this.idIndex_){const n=this.idIndex_[i];if(t instanceof ma&&Array.isArray(n)&&n.includes(t))n.splice(n.indexOf(t),1);else if(this.idIndex_[i]===t){delete this.idIndex_[i],e=!0;break}}return e}setLoader(t){this.loader_=t}setUrl(t){Q(this.format_,"`format` must be set when `url` is set"),this.url_=t,this.setLoader(Ta(t,this.format_))}};class Ma{constructor(t){t=t||{},this.font_=t.font,this.rotation_=t.rotation,this.rotateWithView_=t.rotateWithView,this.scale_=t.scale,this.scaleArray_=Ns(void 0!==t.scale?t.scale:1),this.text_=t.text,this.textAlign_=t.textAlign,this.justify_=t.justify,this.repeat_=t.repeat,this.textBaseline_=t.textBaseline,this.fill_=void 0!==t.fill?t.fill:new ko({color:"#333"}),this.maxAngle_=void 0!==t.maxAngle?t.maxAngle:Math.PI/4,this.placement_=void 0!==t.placement?t.placement:"point",this.overflow_=!!t.overflow,this.stroke_=void 0!==t.stroke?t.stroke:null,this.offsetX_=void 0!==t.offsetX?t.offsetX:0,this.offsetY_=void 0!==t.offsetY?t.offsetY:0,this.backgroundFill_=t.backgroundFill?t.backgroundFill:null,this.backgroundStroke_=t.backgroundStroke?t.backgroundStroke:null,this.padding_=void 0===t.padding?null:t.padding}clone(){const t=this.getScale();return new Ma({font:this.getFont(),placement:this.getPlacement(),repeat:this.getRepeat(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,text:this.getText(),textAlign:this.getTextAlign(),justify:this.getJustify(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.get
2Stroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()||void 0})}getOverflow(){return this.overflow_}getFont(){return this.font_}getMaxAngle(){return this.maxAngle_}getPlacement(){return this.placement_}getRepeat(){return this.repeat_}getOffsetX(){return this.offsetX_}getOffsetY(){return this.offsetY_}getFill(){return this.fill_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getStroke(){return this.stroke_}getText(){return this.text_}getTextAlign(){return this.textAlign_}getJustify(){return this.justify_}getTextBaseline(){return this.textBaseline_}getBackgroundFill(){return this.backgroundFill_}getBackgroundStroke(){return this.backgroundStroke_}getPadding(){return this.padding_}setOverflow(t){this.overflow_=t}setFont(t){this.font_=t}setMaxAngle(t){this.maxAngle_=t}setOffsetX(t){this.offsetX_=t}setOffsetY(t){this.offsetY_=t}setPlacement(t){this.placement_=t}setRepeat(t){this.repeat_=t}setRotateWithView(t){this.rotateWithView_=t}setFill(t){this.fill_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=Ns(void 0!==t?t:1)}setStroke(t){this.stroke_=t}setText(t){this.text_=t}setTextAlign(t){this.textAlign_=t}setJustify(t){this.justify_=t}setTextBaseline(t){this.textBaseline_=t}setBackgroundFill(t){this.backgroundFill_=t}setBackgroundStroke(t){this.backgroundStroke_=t}setPadding(t){this.padding_=t}}const Ia=Ma;let La=0;const Pa=1<<La++,Ra=1<<La++,Da=1<<La++,Oa=1<<La++,Fa=1<<La++,za=Math.pow(2,5)-1,$a={[Pa]:"boolean",[Ra]:"number",[Da]:"string",[Oa]:"color",[Fa]:"number[]"},Na=Object.keys($a).map(Number).sort(l);function ja(t){const e=[];for(const n of Na)(t&(i=n))===i&&e.push($a[n]);var i;return 0===e.length?"untyped":e.length<3?e.join(" or "):e.slice(0,-1).join(", ")+", or "+e[e.length-1]}function Ba(t,e){return!!(t&e)}function Ga(t,e){return t===e}class Wa{constructor(t,e){this.type=t,this.value=e}}class qa{constructor(t,e,...i){this.type=t,this.operator=e,this.args=i}}function Ya(){return{variables:new Set,properties:new Set,featureId:!1,style:{}}}function Xa(t,e,i){switch(typeof t){case"boolean":return new Wa(Pa,t);case"number":return new Wa(Ra,t);case"string":{let e=Da;return function(t){try{return me(t),!0}catch(t){return!1}}(t)&&(e|=Oa),Ga(e&i,0)||(e&=i),new Wa(e,t)}}if(!Array.isArray(t))throw new Error("Expression must be an array or a primitive value");if(0===t.length)throw new Error("Empty expression");if("string"==typeof t[0])return function(t,e,i){const n=t[0],r=Fl[n];if(!r)throw new Error(`Unknown operator: ${n}`);return r(t,e,i)}(t,e,i);for(const e of t)if("number"!=typeof e)throw new Error("Expected an array of numbers");let n=Fa;return 3!==t.length&&4!==t.length||(n|=Oa),i&&(n&=i),new Wa(n,t)}const Ha="get",Ua="var",Va="concat",Ka="geometry-type",Za="any",Ja="all",Qa="!",tl="resolution",el="zoom",il="time",nl="==",rl="!=",sl=">",ol=">=",al="<",ll="<=",cl="*",ul="/",hl="+",dl="-",pl="clamp",fl="%",gl="^",ml="abs",vl="floor",_l="ceil",yl="round",xl="sin",wl="cos",bl="atan",Cl="sqrt",El="match",Sl="between",Tl="interpolate",kl="case",Al="in",Ml="number",Il="string",Ll="array",Pl="color",Rl="id",Dl="band",Ol="palette",Fl={[Ha]:Gl((([t,e])=>void 0!==e?function(t){switch(t){case"string":return Da;case"color":return Oa;case"number":return Ra;case"boolean":return Pa;case"number[]":return Fa;default:throw new Error(`Unrecognized type hint: ${t}`)}}(e.value):za),$l(1,2),(function(t,e){const i=Xa(t[1],e);if(!(i instanceof Wa))throw new Error("Expected a literal argument for get operation");if("string"!=typeof i.value)throw new Error("Expected a string argument for get operation");if(e.properties.add(i.value),3===t.length){const n=Xa(t[2],e);return[i,n]}return[i]})),[Ua]:Gl((([t])=>t.type),$l(1,1),(function(t,e,i,n){const r=t[1];if("string"!=typeof r)throw new Error("Expected a string argument for var operation");if(e.variables.add(r),!("variables"in e.style)||void 0===e.style.variables[r])return[new Wa(za,r)];const s=Xa(e.style.variables[r],e);if(s.value=r,n&&!Ba(n,s.type))throw new Error(`The variable ${r} has type ${ja(s.type)} but the following type was expected: ${ja(n)}`);return[s]})),[Rl]:Gl(Ra|Da,zl,(function(t,e){e.featureId=!0})),[Va]:Gl(Da,$l(2,1/0),Nl(za)),[Ka]:Gl(Da,zl),[tl]:Gl(Ra,zl),[el]:Gl(Ra,zl),[il]:Gl(Ra,zl),[Za]:Gl(Pa,$l(2,1/0),Nl(Pa)),[Ja]:Gl(Pa,$l(2,1/0),Nl(Pa)),[Qa]:Gl(Pa,$l(1,1),Nl(Pa)),[nl]:Gl(Pa,$l(2,2),Nl(za),jl),[rl]:Gl(Pa,$l(2,2),Nl(za),jl),[sl]:Gl(Pa,$l(2,2),Nl(za),jl),[ol]:Gl(Pa,$l(2,2),Nl(za),jl),[al]:Gl(Pa,$l(2,2),Nl(za),jl),[ll]:Gl(Pa,$l(2,2),Nl(za),jl),[cl]:Gl((t=>{let e=Ra|Oa;for(let i=0;i<t.length;i++)e&=t[i].type;return e}),$l(2,1/0),Nl(Ra|Oa),jl),[ul]:Gl(Ra,$l(2,2),Nl(Ra)),[hl]:Gl(Ra,$l(2,1/0),Nl(Ra)),[dl]:Gl(Ra,$l(2,2),Nl(Ra)),[pl]:Gl(Ra,$l(3,3),Nl(Ra)),[fl]:Gl(Ra,$l(2,2),Nl(Ra)),[gl]:Gl(Ra,$l(2,2),Nl(Ra)),[ml]:Gl(Ra,$l(1,1),Nl(Ra)),[vl]:Gl(Ra,$l(1,1),Nl(Ra)),[_l]:Gl(Ra,$l(1,1),Nl(Ra)),[yl]:Gl(Ra,$l(1,1),Nl(Ra)),[xl]:Gl(Ra,$l(1,1),Nl(Ra)),[wl]:Gl(Ra,$l(1,1),Nl(Ra)),[bl]:Gl(Ra,$l(1,2),Nl(Ra)),[Cl]:Gl(Ra,$l(1,1),Nl(Ra)),[El]:Gl((t=>{let e=za;for(let i=2;i<t.length;i+=2)e&=t[i].type;return e&=t[t.length-1].type,e}
2),$l(4,1/0),Bl,(function(t,e,i,n){const r=t.length-1;let s=Xa(t[1],e).type;const o=Xa(t[t.length-1],e);let a=void 0!==n?n&o.type:o.type;const l=new Array(r-2);for(let i=0;i<r-2;i+=2){const n=Xa(t[i+2],e),r=Xa(t[i+3],e);s&=n.type,a&=r.type,l[i]=n,l[i+1]=r}const c=Da|Ra|Pa;if(!Ba(c,s))throw new Error(`Expected an input of type ${ja(c)} for the interpolate operation, got ${ja(s)} instead`);if(Ga(a,0))throw new Error("Could not find a common output type for the following match operation: "+JSON.stringify(t));for(let i=0;i<r-2;i+=2){const n=Xa(t[i+2],e,s),r=Xa(t[i+3],e,a);l[i]=n,l[i+1]=r}return[Xa(t[1],e,s),...l,Xa(t[t.length-1],e,a)]})),[Sl]:Gl(Pa,$l(3,3),Nl(Ra)),[Tl]:Gl((t=>{let e=Oa|Ra;for(let i=3;i<t.length;i+=2)e&=t[i].type;return e}),$l(6,1/0),Bl,(function(t,e,i,n){const r=t[1];let s;switch(r[0]){case"linear":s=1;break;case"exponential":if(s=r[1],"number"!=typeof s)throw new Error(`Expected a number base for exponential interpolation, got ${JSON.stringify(s)} instead`);break;default:s=null}if(!s)throw new Error(`Invalid interpolation type: ${JSON.stringify(r)}`);s=Xa(s,e);let o=Xa(t[2],e);if(!Ba(Ra,o.type))throw new Error(`Expected an input of type number for the interpolate operation, got ${ja(o.type)} instead`);o=Xa(t[2],e,Ra);const a=new Array(t.length-3);for(let i=0;i<a.length;i+=2){let n=Xa(t[i+3],e);if(!Ba(Ra,n.type))throw new Error(`Expected all stop input values in the interpolate operation to be of type number, got ${ja(n.type)} at position ${i+2} instead`);let r=Xa(t[i+4],e);if(!Ba(Ra|Oa,r.type))throw new Error(`Expected all stop output values in the interpolate operation to be a number or color, got ${ja(r.type)} at position ${i+3} instead`);n=Xa(t[i+3],e,Ra),r=Xa(t[i+4],e,Ra|Oa),a[i]=n,a[i+1]=r}return[s,o,...a]})),[kl]:Gl((t=>{let e=za;for(let i=1;i<t.length;i+=2)e&=t[i].type;return e&=t[t.length-1].type,e}),$l(3,1/0),(function(t,e){const i=t[0],n=t.length-1;if(n%2==0)throw new Error(`An odd amount of arguments was expected for operation ${i}, got ${JSON.stringify(n)} instead`)}),(function(t,e,i,n){const r=Xa(t[t.length-1],e);let s=void 0!==n?n&r.type:r.type;const o=new Array(t.length-1);for(let i=0;i<o.length-1;i+=2){const n=Xa(t[i+1],e),r=Xa(t[i+2],e);if(!Ba(Pa,n.type))throw new Error(`Expected all conditions in the case operation to be of type boolean, got ${ja(n.type)} at position ${i} instead`);s&=r.type,o[i]=n,o[i+1]=r}if(Ga(s,0))throw new Error("Could not find a common output type for the following case operation: "+JSON.stringify(t));for(let i=0;i<o.length-1;i+=2)o[i+1]=Xa(t[i+2],e,s);return o[o.length-1]=Xa(t[t.length-1],e,s),o})),[Al]:Gl(Pa,$l(2,2),(function(t,e){let i=t[2];if(!Array.isArray(i))throw new Error('The "in" operator was provided a literal value which was not an array as second argument.');if("string"==typeof i[0]){if("literal"!==i[0])throw new Error('For the "in" operator, a string array should be wrapped in a "literal" operator to disambiguate from expressions.');if(!Array.isArray(i[1]))throw new Error('The "in" operator was provided a literal value which was not an array as second argument.');i=i[1]}let n=Da|Ra;const r=new Array(i.length);for(let t=0;t<r.length;t++){const s=Xa(i[t],e);n&=s.type,r[t]=s}if(Ga(n,0))throw new Error("Could not find a common type for the following in operation: "+JSON.stringify(t));return[Xa(t[1],e,n),...r]})),[Ml]:Gl(Ra,$l(1,1/0),Nl(za)),[Il]:Gl(Da,$l(1,1/0),Nl(za)),[Ll]:Gl((t=>3===t.length||4===t.length?Fa|Oa:Fa),$l(1,1/0),Nl(Ra)),[Pl]:Gl(Oa,$l(3,4),Nl(Ra)),[Dl]:Gl(Ra,$l(1,3),Nl(Ra)),[Ol]:Gl(Oa,$l(2,2),(function(t,e){const i=Xa(t[1],e,Ra);if(i.type!==Ra)throw new Error(`The first argument of palette must be an number, got ${ja(i.type)} instead`);const n=t[2];if(!Array.isArray(n))throw new Error("The second argument of palette must be an array");const r=new Array(n.length);for(let t=0;t<r.length;t++){const i=Xa(n[t],e,Oa);if(!(i instanceof Wa))throw new Error(`The palette color at index ${t} must be a literal value`);if(!Ba(i.type,Oa))throw new Error(`The palette color at index ${t} should be of type color, got ${ja(i.type)} instead`);r[t]=i}return[i,...r]}))};function zl(t,e){const i=t[0];if(1!==t.length)throw new Error(`Expected no arguments for ${i} operation`);return[]}function $l(t,e){return function(i,n){const r=i[0],s=i.length-1;if(t===e){if(s!==t){throw new Error(`Expected ${t} argument${1===t?"":"s"} for ${r}, got ${s}`)}}else if(s<t||s>e){throw new Error(`Expected ${e===1/0?`${t} or more`:`${t} to ${e}`} arguments for ${r}, got ${s}`)}}}function Nl(t){return function(e,i){const n=e[0],r=e.length-1,s=new Array(r);for(let o=0;o<r;++o){const r=Xa(e[o+1],i);if(!Ba(t,r.type)){const e=ja(t),i=ja(r.type);throw new Error(`Unexpected type for argument ${o} of ${n} operation, got ${e} but expected ${i}`)}r.type&=t,s[o]=r}return s}}function jl(t,e,i){const n=t[0],r=t.length-1;let s=za;for(let t=0;t<i.length;++t)s&=i[t].type;if(0===s)throw new Error(`No common type could be found for arguments of ${n} operation`);const o=new Array(r);for(let i=0;i<r;++i)o[i]=Xa(t[i+1],e,s);return o}function Bl(t,e){const i=t[0],n=t.length-1;if(n%2==1)throw new Error(`An even amount of arguments was expected for operation ${i}, got ${JSON.stringify(n)} instead`)}function Gl(t,...e){return function(i,n,r){const s=i[0];let o=[];for(let t=0;t<e.length;t++)o=e[t](i,n,o,r)||o;let a="function"==typeof t?t(o):t;if(void 0!==r){if(!Ba(a,r))throw new Error(`The following expression was expected to return ${ja(r)}, but returns ${ja(a)} instead: ${JSON.stringify(i)}`);a&=r}if(0===a)throw new Error(`No matching type was found for the following expression: ${JSON.stringify(i)}`);return new qa(a,s,...o)}}function Wl(t,e,i){const n=Xa(t,i);if(!Ba(e,n.type)){const t=ja(e),i=ja(n.type);throw new Error(`Expected expression to be of type ${t}, got ${i}`)}return ql(n,i)}function ql(t,e){if(t instanceof Wa){if(t.type===Oa&&"string"==typeof t.value){const e=me(t.value);return function(){return e}}return function(){return t.value}}const i=t.operator;switch(i){case Ml:case Il:return function(t,e){const i=t.operator,n=t.args.length,r=new Array(n);for(let i=0;i<n;++i)r[i]=ql(t.args[i],e);switch(i){case Ml:case Il:return t=>{for(let e=0;e<n;++e){const n=r[e](t);if(typeof n===i)return n}throw new Error(`Expected one of the values to be a ${i}`)};default:throw new Error(`Unsupported assertion operator ${i}`)}}(t,e);case Ha:case Ua:return function(t,e){const i=t.args[0].value;switch(t.operator){case Ha:return t=>t.properties[i];case Ua:return t=>t.variables[i];default:throw new Error(`Unsupported accessor operator ${t.operator}`)}}(t);case Rl:return t=>t.featureId;case Va:{const i=t.args.map((t=>ql(t,e)));return t=>"".concat(...i.map((e=>e(t).toString())))}case tl:return t=>t.resolution;case Za:case Ja:case Qa:return function(t,e){const i=t.operator,n=t.args.length,r=new Array(n);for(let i=0;i<n;++i)r[i]=ql(t.args[i],e);switch(i){case Za:return t=>{for(let e=0;e<n;++e)if(r[e](t))return!0;return!1};case Ja:return t=>{for(let e=0;e<n;++e)if(!r[e](t))return!1;return!0};case Qa:return t=>!r[0](t);default:throw new Error(`Unsupported logical operator ${i}`)}}(t,e);case nl:case rl:case al:case ll:case sl:case ol:return function(t,e){const i=t.operator,n=ql(t.args[0],e),r=ql(t.args[1],e);switch(i){case nl:return t=>n(t)===r(t);case rl:return t=>n(t)!==r(t);case al:return t=>n(t)<r(t);case ll:return t=>n(t)<=r(t);case sl:return t=>n(t)>r(t);case ol:return t=>n(t)>=r(t);default:throw new Error(`Unsupported comparison operator ${i}`)}}(t,e);case cl:case ul:case hl:case dl:case pl:case fl:case gl:case ml:case vl:case _l:case yl:case xl:case wl:case bl:case Cl:return function(t,e){const i=t.operator,n=t.args.length,r=new Array(n);for(let i=0;i<n;++i)r[i]=ql(t.args[i],e);switch(i){case cl:return t=>{let e=1;for(let i=0;i<n;++i)e*=r[i](t);return e};case ul:return t=>r[0](t)/r[1](t);case hl:return t=>{let e=0;for(let i=0;i<n;++i)e+=r[i](t);return e};case dl:return t=>r[0](t)-r[1](t);case pl:return t=>{const e=r[0](t),i=r[1](t);if(e<i)return i;const n=r[2](t);return e>n?n:e};case fl:return t=>r[0](t)%r[1](t);case gl:return t=>Math.pow(r[0](t),r[1](t));case ml:return t=>Math.abs(r[0](t));case vl:return t=>Math.floor(r[0](t));case _l:return t=>Math.ceil(r[0](t));case yl:return t=>Math.round(r[0](t));case xl:return t=>Math.sin(r[0](t));case wl:return t=>Math.cos(r[0](t));case bl:return 2===n?t=>Math.atan2(r[0](t),r[1](t)):t=>Math.atan(r[0](t));case Cl:return t=>Math.sqrt(r[0](t));default:throw new Error(`Unsupported numeric operator ${i}`)}}(t,e);case El:return function(t,e){const i=t.args.length,n=new Array(i);for(let r=0;r<i;++r)n[r]=ql(t.args[r],e);return t=>{const e=n[0](t);for(let r=1;r<i;r+=2)if(e===n[r](t))return n[r+1](t);return n[i-1](t)}}(t,e);case Tl:return function(t,e){const i=t.args.length,n=new Array(i);for(let r=0;r<i;++r)n[r]=ql(t.args[r],e);return t=>{const e=n[0](t),r=n[1](t);let s,o;for(let a=2;a<i;a+=2){const i=n[a](t);let l=n[a+1](t);const c=Array.isArray(l);if(c&&(l=fe(l)),i>=r)return 2===a?l:c?Xl(e,r,s,o,i,l):Yl(e,r,s,o,i,l);s=i,o=l}return o}}(t,e);default:throw new Error(`Unsupported operator ${i}`)}}function Yl(t,e,i,n,r,s){const o=r-i;
2if(0===o)return n;const a=e-i;return n+(1===t?a/o:(Math.pow(t,a)-1)/(Math.pow(t,o)-1))*(s-n)}function Xl(t,e,i,n,r,s){if(0===r-i)return n;const o=ge(n),a=ge(s);let l=a[2]-o[2];l>180?l-=360:l<-180&&(l+=360);return _e(function(t){const e=Ut.rgb(Zt.xyz(t));return e[3]=t[3],e}([Yl(t,e,i,o[0],r,a[0]),Yl(t,e,i,o[1],r,a[1]),o[2]+Yl(t,e,i,0,r,l),Yl(t,e,i,n[3],r,s[3])]))}function Hl(t){return!0}function Ul(t){const e=Ya(),i=function(t,e){const i=t.length,n=new Array(i);for(let r=0;r<i;++r){const i=t[r],s="filter"in i?Wl(i.filter,Pa,e):Hl;let o;if(Array.isArray(i.style)){const t=i.style.length;o=new Array(t);for(let n=0;n<t;++n)o[n]=Kl(i.style[n],e)}else o=[Kl(i.style,e)];n[r]={filter:s,styles:o}}return function(e){const r=[];let s=!1;for(let o=0;o<i;++o){if((0,n[o].filter)(e)&&(!t[o].else||!s)){s=!0;for(const t of n[o].styles){const i=t(e);i&&r.push(i)}}}return r}}(t,e),n={variables:{},properties:{},resolution:NaN,featureId:null};return function(t,r){if(n.properties=t.getPropertiesInternal(),n.resolution=r,e.featureId){const e=t.getId();n.featureId=void 0!==e?e:null}return i(n)}}function Vl(t){const e=Ya(),i=t.length,n=new Array(i);for(let r=0;r<i;++r)n[r]=Kl(t[r],e);const r={variables:{},properties:{},resolution:NaN,featureId:null},s=new Array(i);return function(t,o){if(r.properties=t.getPropertiesInternal(),r.resolution=o,e.featureId){const e=t.getId();r.featureId=void 0!==e?e:null}let a=0;for(let t=0;t<i;++t){const e=n[t](r);e&&(s[a]=e,a+=1)}return s.length=a,s}}function Kl(t,e){const i=Zl(t,"",e),n=Jl(t,"",e),r=function(t,e){const i="text-",n=tc(t,i+"value",e);if(!n)return null;const r=Zl(t,i,e),s=Zl(t,i+"background-",e),o=Jl(t,i,e),a=Jl(t,i+"background-",e),l=tc(t,i+"font",e),c=Ql(t,i+"max-angle",e),u=Ql(t,i+"offset-x",e),h=Ql(t,i+"offset-y",e),d=ec(t,i+"overflow",e),p=tc(t,i+"placement",e),f=Ql(t,i+"repeat",e),g=sc(t,i+"scale",e),m=ec(t,i+"rotate-with-view",e),v=Ql(t,i+"rotation",e),_=tc(t,i+"align",e),y=tc(t,i+"justify",e),x=tc(t,i+"baseline",e),w=nc(t,i+"padding",e),b=new Ia({});return function(t){if(b.setText(n(t)),r&&b.setFill(r(t)),s&&b.setBackgroundFill(s(t)),o&&b.setStroke(o(t)),a&&b.setBackgroundStroke(a(t)),l&&b.setFont(l(t)),c&&b.setMaxAngle(c(t)),u&&b.setOffsetX(u(t)),h&&b.setOffsetY(h(t)),d&&b.setOverflow(d(t)),p){const e=p(t);if("point"!==e&&"line"!==e)throw new Error("Expected point or line for text-placement");b.setPlacement(e)}if(f&&b.setRepeat(f(t)),g&&b.setScale(g(t)),m&&b.setRotateWithView(m(t)),v&&b.setRotation(v(t)),_){const e=_(t);if("left"!==e&&"center"!==e&&"right"!==e&&"end"!==e&&"start"!==e)throw new Error("Expected left, right, center, start, or end for text-align");b.setTextAlign(e)}if(y){const e=y(t);if("left"!==e&&"right"!==e&&"center"!==e)throw new Error("Expected left, right, or center for text-justify");b.setJustify(e)}if(x){const e=x(t);if("bottom"!==e&&"top"!==e&&"middle"!==e&&"alphabetic"!==e&&"hanging"!==e)throw new Error("Expected bottom, top, middle, alphabetic, or hanging for text-baseline");b.setTextBaseline(e)}return w&&b.setPadding(w(t)),b}}(t,e),s=function(t,e){if("icon-src"in t)return function(t,e){const i="icon-",n=i+"src",r=hc(t[n],n),s=rc(t,i+"anchor",e),o=sc(t,i+"scale",e),a=Ql(t,i+"opacity",e),l=rc(t,i+"displacement",e),c=Ql(t,i+"rotation",e),u=ec(t,i+"rotate-with-view",e),h=ac(t,i+"anchor-origin"),d=lc(t,i+"anchor-x-units"),p=lc(t,i+"anchor-y-units"),f=function(t,e){const i=t[e];if(void 0===i)return;return pc(i,e)}(t,i+"color"),g=function(t,e){const i=t[e];if(void 0===i)return;if("string"!=typeof i)throw new Error(`Expected a string for ${e}`);return i}(t,i+"cross-origin"),m=function(t,e){const i=t[e];if(void 0===i)return;return uc(i,e)}(t,i+"offset"),v=ac(t,i+"offset-origin"),_=oc(t,i+"width"),y=oc(t,i+"height"),x=function(t,e){const i=t[e];if(void 0===i)return;if("number"==typeof i)return Ns(i);if(!Array.isArray(i))throw new Error(`Expected a number or size array for ${e}`);if(2!==i.length||"number"!=typeof i[0]||"number"!=typeof i[1])throw new Error(`Expected a number or size array for ${e}`);return i}(t,i+"size"),w=cc(t,i+"declutter"),b=new No({src:r,anchorOrigin:h,anchorXUnits:d,anchorYUnits:p,color:f,crossOrigin:g,offset:m,offsetOrigin:v,height:y,width:_,size:x,declutterMode:w});return function(t){return a&&b.setOpacity(a(t)),l&&b.setDisplacement(l(t)),c&&b.setRotation(c(t)),u&&b.setRotateWithView(u(t)),o&&b.setScale(o(t)),s&&b.setAnchor(s(t)),b}}(t,e);if("shape-points"in t)return function(t,e){const i="shape-",n=i+"points",r=dc(t[n],n),s=Zl(t,i,e),o=Jl(t,i,e),a=sc(t,i+"scale",e),l=rc(t,i+"displacement",e),c=Ql(t,i+"rotation",e),u=ec(t,i+"rotate-with-view",e),h=oc(t,i+"radius"),d=oc(t,i+"radius1"),p=oc(t,i+"radius2"),f=oc(t,i+"angle"),g=cc(t,i+"declutter-mode"),m=new Co({points:r,radius:h,radius1:d,radius2:p,angle:f,declutterMode:g});return function(t){return s&&m.setFill(s(t)),o&&m.setStroke(o(t)),l&&m.setDisplacement(l(t)),c&&m.setRotation(c(t)),u&&m.setRotateWithView(u(t)),a&&m.setScale(a(t)),m}}(t,e);if("circle-radius"in t)return function(t,e){const i="circle-",n=Zl(t,i,e),r=Jl(t,i,e),s=Ql(t,i+"radius",e),o=sc(t,i+"scale",e),a=rc(t,i+"displacement",e),l=Ql(t,i+"rotation",e),c=ec(t,i+"rotate-with-view",e),u=cc(t,i+"declutter-mode"),h=new So({radius:5,declutterMode:u});return function(t){return s&&h.setRadius(s(t)),n&&h.setFill(n(t)),r&&h.setStroke(r(t)),a&&h.setDisplacement(a(t)),l&&h.setRotation(l(t)),c&&h.setRotateWithView(c(t)),o&&h.setScale(o(t)),h}}(t,e);return null}(t,e),o=Ql(t,"z-index",e);if(!(i||n||r||s||_(t)))throw new Error("No fill, stroke, point, or text symbolizer properties in style: "+JSON.stringify(t));const a=new Do;return function(t){let e=!0;if(i){const n=i(t);
2n&&(e=!1),a.setFill(n)}if(n){const i=n(t);i&&(e=!1),a.setStroke(i)}if(r){const i=r(t);i&&(e=!1),a.setText(i)}if(s){const i=s(t);i&&(e=!1),a.setImage(i)}return o&&a.setZIndex(o(t)),e?null:a}}function Zl(t,e,i){const n=ic(t,e+"fill-color",i);if(!n)return null;const r=new ko;return function(t){const e=n(t);return"none"===e?null:(r.setColor(e),r)}}function Jl(t,e,i){const n=Ql(t,e+"stroke-width",i),r=ic(t,e+"stroke-color",i);if(!n&&!r)return null;const s=tc(t,e+"stroke-line-cap",i),o=tc(t,e+"stroke-line-join",i),a=nc(t,e+"stroke-line-dash",i),l=Ql(t,e+"stroke-line-dash-offset",i),c=Ql(t,e+"stroke-miter-limit",i),u=new Mo;return function(t){if(r){const e=r(t);if("none"===e)return null;u.setColor(e)}if(n&&u.setWidth(n(t)),s){const e=s(t);if("butt"!==e&&"round"!==e&&"square"!==e)throw new Error("Expected butt, round, or square line cap");u.setLineCap(e)}if(o){const e=o(t);if("bevel"!==e&&"round"!==e&&"miter"!==e)throw new Error("Expected bevel, round, or miter line join");u.setLineJoin(e)}return a&&u.setLineDash(a(t)),l&&u.setLineDashOffset(l(t)),c&&u.setMiterLimit(c(t)),u}}function Ql(t,e,i){if(!(e in t))return;const n=Wl(t[e],Ra,i);return function(t){return dc(n(t),e)}}function tc(t,e,i){if(!(e in t))return null;const n=Wl(t[e],Da,i);return function(t){return hc(n(t),e)}}function ec(t,e,i){if(!(e in t))return null;const n=Wl(t[e],Pa,i);return function(t){const i=n(t);if("boolean"!=typeof i)throw new Error(`Expected a boolean for ${e}`);return i}}function ic(t,e,i){if(!(e in t))return null;const n=Wl(t[e],Oa|Da,i);return function(t){return pc(n(t),e)}}function nc(t,e,i){if(!(e in t))return null;const n=Wl(t[e],Fa,i);return function(t){return uc(n(t),e)}}function rc(t,e,i){if(!(e in t))return null;const n=Wl(t[e],Fa,i);return function(t){const i=uc(n(t),e);if(2!==i.length)throw new Error(`Expected two numbers for ${e}`);return i}}function sc(t,e,i){if(!(e in t))return null;const n=Wl(t[e],Fa|Ra,i);return function(t){return function(t,e){if("number"==typeof t)return t;const i=uc(t,e);if(2!==i.length)throw new Error(`Expected an array of two numbers for ${e}`);return i}(n(t),e)}}function oc(t,e){const i=t[e];if(void 0!==i){if("number"!=typeof i)throw new Error(`Expected a number for ${e}`);return i}}function ac(t,e){const i=t[e];if(void 0!==i){if("bottom-left"!==i&&"bottom-right"!==i&&"top-left"!==i&&"top-right"!==i)throw new Error(`Expected bottom-left, bottom-right, top-left, or top-right for ${e}`);return i}}function lc(t,e){const i=t[e];if(void 0!==i){if("pixels"!==i&&"fraction"!==i)throw new Error(`Expected pixels or fraction for ${e}`);return i}}function cc(t,e){const i=t[e];if(void 0!==i){if("string"!=typeof i)throw new Error(`Expected a string for ${e}`);if("declutter"!==i&&"obstacle"!==i&&"none"!==i)throw new Error(`Expected declutter, obstacle, or none for ${e}`);return i}}function uc(t,e){if(!Array.isArray(t))throw new Error(`Expected an array for ${e}`);const i=t.length;for(let n=0;n<i;++n)if("number"!=typeof t[n])throw new Error(`Expected an array of numbers for ${e}`);return t}function hc(t,e){if("string"!=typeof t)throw new Error(`Expected a string for ${e}`);return t}function dc(t,e){if("number"!=typeof t)throw new Error(`Expected a number for ${e}`);return t}function pc(t,e){if("string"==typeof t)return t;const i=uc(t,e),n=i.length;if(n<3||n>4)throw new Error(`Expected a color with 3 or 4 values for ${e}`);return i}const fc="renderOrder";const gc=class extends qn{constructor(t){t=t||{};const e=Object.assign({},t);delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,super(e),this.declutter_=void 0!==t.declutter&&t.declutter,this.renderBuffer_=void 0!==t.renderBuffer?t.renderBuffer:100,this.style_=null,this.styleFunction_=void 0,this.setStyle(t.style),this.updateWhileAnimating_=void 0!==t.updateWhileAnimating&&t.updateWhileAnimating,this.updateWhileInteracting_=void 0!==t.updateWhileInteracting&&t.updateWhileInteracting}getDeclutter(){return this.declutter_}getFeatures(t){return super.getFeatures(t)}getRenderBuffer(){return this.renderBuffer_}getRenderOrder(){return this.get(fc)}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}getUpdateWhileAnimating(){return this.updateWhileAnimating_}getUpdateWhileInteracting(){return this.updateWhileInteracting_}renderDeclutter(t){t.declutterTree||(t.declutterTree=new ha(9)),this.getRenderer().renderDeclutter(t)}setRenderOrder(t){this.set(fc,t)}setStyle(t){this.style_=function(t){if(void 0===t)return Po;if(!t)return null;if("function"==typeof t)return t;if(t instanceof Do)return t;if(!Array.isArray(t))return Vl([t]);if(0===t.length)return[];const e=t.length,i=t[0];if(i instanceof Do){const i=new Array(e);for(let n=0;n<e;++n){const e=t[n];if(!(e instanceof Do))throw new Error("Expected a list of style instances");i[n]=e}return i}if("style"in i){const i=new Array(e);for(let n=0;n<e;++n){const e=t[n];if(!("style"in e))throw new Error("Expected a list of rules with a style property");i[n]=e}return Ul(i)}return Vl(t)}(t),this.styleFunction_=null===t?void 0:function(t){let e;if("function"==typeof t)e=t;else{let i;Array.isArray(t)?i=t:(Q("function"==typeof t.getZIndex,"Expected an `Style` or an array of `Style`"),i=[t]),e=function(){return i}}return e}(this.style_),this.changed()}},mc={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},vc=[mc.FILL],_c=[mc.STROKE],yc=[mc.BEGIN_PATH],xc=[mc.CLOSE_PATH],wc=mc;const bc=class{drawCustom(t,e,i,n){}drawGeometry(t){}setStyle(t){}drawCircle(t,e){}drawFeature(t,e){}drawGeometryCollection(t,e){}drawLineString(t,e){}drawMultiLineString(t,e){}drawMultiPoint(t,e){}drawMultiPolygon(t,e){}drawPoint(t,e){}drawPolygon(t,e){}drawText(t,e){}setFillStrokeStyle(t,e){}setImageStyle(t,e){}setTextStyle(t,e){}};const Cc=class extends bc{constructor(t,e,i,n){super(),this.tolerance=t,this.maxExtent=e,this.pixelRatio=n,this.maxLineWidth=0,this.resolution=i,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_=null,this.bufferedMaxExtent_=null,this.instructions=[],this.coordinates=[],this.tmpCoordinate_=[],this.hitDetectionInstructions=[],this.state={}}applyPixelRatio(t){const e=this.pixelRatio;return 1==e?t:t.map((function(t){return t*e}))}appendFlatPointCoordinates(t,e){const i=this.getBufferedMaxExtent(),n=this.tmpCoordinate_,r=this.coordinates;let s=r.length;for(let o=0,a=t.length;o<a;o+=e)n[0]=t[o],n[1]=t[o+1],mt(i,n)&&(r[s++]=n[0],r[s++]=n[1]);return s}appendFlatLineCoordinates(t,e,i,n,r,s){const o=this.coordinates;let a=o.length;const l=this.getBufferedMaxExtent();s&&(e+=n);let c=t[e],u=t[e+1];const h=this.tmpCoordinate_;let d,p,f,g=!0;for(d=e+n;d<i;d+=n)h[0]=t[d],h[1]=t[d+1],f=yt(l,h),f!==p?(g&&(o[a++]=c,o[a++]=u,g=!1),o[a++]=h[0],o[a++]=h[1]):f===at?(o[a++]=h[0],o[a++]=h[1],g=!1):g=!0,c=h[0],u=h[1],p=f;return(r&&g||d===e+n)&&(o[a++]=c,o[a++]=u),a}drawCustomCoordinates_(t,e,i,n,r){for(let s=0,o=i.length;s<o;++s){const o=i[s],a=this.appendFlatLineCoordinates(t,e,o,n,!1,!1);r.push(a),e=o}return e}drawCustom(t,e,i,n){this.beginGeometry(t,e);const r=t.getType(),s=t.getStride(),o=this.coordinates.length;let a,l,c,u,h;switch(r){case"MultiPolygon":a=t.getOrientedFlatCoordinates(),u=[];const e=t.getEndss();h=0;for(let t=0,i=e.length;t<i;++t){const i=[];h=this.drawCustomCoordinates_(a,h,e[t],s,i),u.push(i)}this.instructions.push([wc.CUSTOM,o,u,t,i,_n]),this.hitDetectionInstructions.push([wc.CUSTOM,o,u,t,n||i,_n]);break;case"Polygon":case"MultiLineString":c=[],a="Polygon"==r?t.getOrientedFlatCoordinates():t.getFlatCoordinates(),h=this.drawCustomCoordinates_(a,0,t.getEnds(),s,c),this.instructions.push([wc.CUSTOM,o,c,t,i,vn]),this.hitDetectionInstructions.push([wc.CUSTOM,o,c,t,n||i,vn]);break;
2case"LineString":case"Circle":a=t.getFlatCoordinates(),l=this.appendFlatLineCoordinates(a,0,a.length,s,!1,!1),this.instructions.push([wc.CUSTOM,o,l,t,i,mn]),this.hitDetectionInstructions.push([wc.CUSTOM,o,l,t,n||i,mn]);break;case"MultiPoint":a=t.getFlatCoordinates(),l=this.appendFlatPointCoordinates(a,s),l>o&&(this.instructions.push([wc.CUSTOM,o,l,t,i,mn]),this.hitDetectionInstructions.push([wc.CUSTOM,o,l,t,n||i,mn]));break;case"Point":a=t.getFlatCoordinates(),this.coordinates.push(a[0],a[1]),l=this.coordinates.length,this.instructions.push([wc.CUSTOM,o,l,t,i]),this.hitDetectionInstructions.push([wc.CUSTOM,o,l,t,n||i])}this.endGeometry(e)}beginGeometry(t,e){this.beginGeometryInstruction1_=[wc.BEGIN_GEOMETRY,e,0,t],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[wc.BEGIN_GEOMETRY,e,0,t],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)}finish(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}}reverseHitDetectionInstructions(){const t=this.hitDetectionInstructions;let e;t.reverse();const i=t.length;let n,r,s=-1;for(e=0;e<i;++e)n=t[e],r=n[0],r==wc.END_GEOMETRY?s=e:r==wc.BEGIN_GEOMETRY&&(n[2]=e,u(this.hitDetectionInstructions,s,e),s=-1)}setFillStrokeStyle(t,e){const i=this.state;if(t){const e=t.getColor();i.fillStyle=wo(e||sr)}else i.fillStyle=void 0;if(e){const t=e.getColor();i.strokeStyle=wo(t||cr);const n=e.getLineCap();i.lineCap=void 0!==n?n:or;const r=e.getLineDash();i.lineDash=r?r.slice():ar;const s=e.getLineDashOffset();i.lineDashOffset=s||0;const o=e.getLineJoin();i.lineJoin=void 0!==o?o:lr;const a=e.getWidth();i.lineWidth=void 0!==a?a:1;const l=e.getMiterLimit();i.miterLimit=void 0!==l?l:10,i.lineWidth>this.maxLineWidth&&(this.maxLineWidth=i.lineWidth,this.bufferedMaxExtent_=null)}else i.strokeStyle=void 0,i.lineCap=void 0,i.lineDash=null,i.lineDashOffset=void 0,i.lineJoin=void 0,i.lineWidth=void 0,i.miterLimit=void 0}createFill(t){const e=t.fillStyle,i=[wc.SET_FILL_STYLE,e];return"string"!=typeof e&&i.push(!0),i}applyStroke(t){this.instructions.push(this.createStroke(t))}createStroke(t){return[wc.SET_STROKE_STYLE,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,this.applyPixelRatio(t.lineDash),t.lineDashOffset*this.pixelRatio]}updateFillStyle(t,e){const i=t.fillStyle;"string"==typeof i&&t.currentFillStyle==i||(void 0!==i&&this.instructions.push(e.call(this,t)),t.currentFillStyle=i)}updateStrokeStyle(t,e){const i=t.strokeStyle,n=t.lineCap,r=t.lineDash,s=t.lineDashOffset,o=t.lineJoin,a=t.lineWidth,l=t.miterLimit;(t.currentStrokeStyle!=i||t.currentLineCap!=n||r!=t.currentLineDash&&!d(t.currentLineDash,r)||t.currentLineDashOffset!=s||t.currentLineJoin!=o||t.currentLineWidth!=a||t.currentMiterLimit!=l)&&(void 0!==i&&e.call(this,t),t.currentStrokeStyle=i,t.currentLineCap=n,t.currentLineDash=r,t.currentLineDashOffset=s,t.currentLineJoin=o,t.currentLineWidth=a,t.currentMiterLimit=l)}endGeometry(t){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;const e=[wc.END_GEOMETRY,t];this.instructions.push(e),this.hitDetectionInstructions.push(e)}getBufferedMaxExtent(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=ft(this.maxExtent),this.maxLineWidth>0)){const t=this.resolution*(this.maxLineWidth+1)/2;pt(this.bufferedMaxExtent_,t,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_}};const Ec=class extends Cc{constructor(t,e,i,n){super(t,e,i,n),this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0,this.declutterMode_=void 0,this.declutterImageWithText_=void 0}drawPoint(t,e){if(!this.image_)return;this.beginGeometry(t,e);const i=t.getFlatCoordinates(),n=t.getStride(),r=this.coordinates.length,s=this.appendFlatPointCoordinates(i,n);this.instructions.push([wc.DRAW_IMAGE,r,s,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.
2ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([wc.DRAW_IMAGE,r,s,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}drawMultiPoint(t,e){if(!this.image_)return;this.beginGeometry(t,e);const i=t.getFlatCoordinates(),n=t.getStride(),r=this.coordinates.length,s=this.appendFlatPointCoordinates(i,n);this.instructions.push([wc.DRAW_IMAGE,r,s,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([wc.DRAW_IMAGE,r,s,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}finish(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,super.finish()}setImageStyle(t,e){const i=t.getAnchor(),n=t.getSize(),r=t.getOrigin();this.imagePixelRatio_=t.getPixelRatio(this.pixelRatio),this.anchorX_=i[0],this.anchorY_=i[1],this.hitDetectionImage_=t.getHitDetectionImage(),this.image_=t.getImage(this.pixelRatio),this.height_=n[1],this.opacity_=t.getOpacity(),this.originX_=r[0],this.originY_=r[1],this.rotateWithView_=t.getRotateWithView(),this.rotation_=t.getRotation(),this.scale_=t.getScaleArray(),this.width_=n[0],this.declutterMode_=t.getDeclutterMode(),this.declutterImageWithText_=e}};const Sc=class extends Cc{constructor(t,e,i,n){super(t,e,i,n)}drawFlatCoordinates_(t,e,i,n){const r=this.coordinates.length,s=this.appendFlatLineCoordinates(t,e,i,n,!1,!1),o=[wc.MOVE_TO_LINE_TO,r,s];return this.instructions.push(o),this.hitDetectionInstructions.push(o),i}drawLineString(t,e){const i=this.state,n=i.strokeStyle,r=i.lineWidth;if(void 0===n||void 0===r)return;this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([wc.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ar,0],yc);const s=t.getFlatCoordinates(),o=t.getStride();this.drawFlatCoordinates_(s,0,s.length,o),this.hitDetectionInstructions.push(_c),this.endGeometry(e)}drawMultiLineString(t,e){const i=this.state,n=i.strokeStyle,r=i.lineWidth;if(void 0===n||void 0===r)return;this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([wc.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ar,0],yc);const s=t.getEnds(),o=t.getFlatCoordinates(),a=t.getStride();let l=0;for(let t=0,e=s.length;t<e;++t)l=this.drawFlatCoordinates_(o,l,s[t],a);this.hitDetectionInstructions.push(_c),this.endGeometry(e)}finish(){const t=this.state;return null!=t.lastStroke&&t.lastStroke!=this.coordinates.length&&this.instructions.push(_c),this.reverseHitDetectionInstructions(),this.state=null,super.finish()}applyStroke(t){null!=t.lastStroke&&t.lastStroke!=this.coordinates.length&&(this.instructions.push(_c),t.lastStroke=this.coordinates.length),t.lastStroke=0,super.applyStroke(t),this.instructions.push(yc)}};const Tc=class extends Cc{constructor(t,e,i,n){super(t,e,i,n)}drawFlatCoordinatess_(t,e,i,n){const r=this.state,s=void 0!==r.fillStyle,o=void 0!==r.strokeStyle,a=i.length;this.instructions.push(yc),this.hitDetectionInstructions.push(yc);for(let r=0;r<a;++r){const s=i[r],a=this.coordinates.length,l=this.appendFlatLineCoordinates(t,e,s,n,!0,!o),c=[wc.MOVE_TO_LINE_TO,a,l];this.instructions.push(c),this.hitDetectionInstructions.push(c),o&&(this.instructions.push(xc),this.hitDetectionInstructions.push(xc)),e=s}return s&&(this.instructions.push(vc),this.hitDetectionInstructions.push(vc)),o&&(this.instructions.push(_c),this.hitDetectionInstructions.push(_c)),e}drawCircle(t,e){const i=this.state,n=i.fillStyle,r=i.strokeStyle;if(void 0===n&&void 0===r)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e),void 0!==i.fillStyle&&this.hitDetectionInstructions.push([wc.SET_FILL_STYLE,sr]),void 0!==i.strokeStyle&&this.hitDetectionInstructions.push([wc.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ar,0]);const s=t.getFlatCoordinates(),o=t.getStride(),a=this.coordinates.length;this.appendFlatLineCoordinates(s,0,s.length,o,!1,!1);const l=[wc.CIRCLE,a];this.instructions.push(yc,l),this.hitDetectionInstructions.push(yc,l),void 0!==i.fillStyle&&(this.instructions.push(vc),this.hitDetectionInstructions.push(vc)),void 0!==i.strokeStyle&&(this.instructions.push(_c),this.hitDetectionInstructions.push(_c)),this.endGeometry(e)}drawPolygon(t,e){const i=this.state,n=i.fillStyle,r=i.strokeStyle;if(void 0===n&&void 0===r)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e),void 0!==i.fillStyle&&this.hitDetectionInstructions.push([wc.SET_FILL_STYLE,sr]),void 0!==i.strokeStyle&&this.hitDetectionInstructions.push([wc.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ar,0]);const s=t.getEnds(),o=t.getOrientedFlatCoordinates(),a=t.getStride();this.drawFlatCoordinatess_(o,0,s,a),this.endGeometry(e)}drawMultiPolygon(t,e){const i=this.state,n=i.fillStyle,r=i.strokeStyle;if(void 0===n&&void 0===r)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e),void 0!==i.fillStyle&&this.hitDetectionInstructions.push([wc.SET_FILL_STYLE,sr]),void 0!==i.strokeStyle&&this.hitDetectionInstructions.push([wc.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ar,0]);const s=t.getEndss(),o=t.getOrientedFlatCoordinates(),a=t.getStride();let l=0;for(let t=0,e=s.length;t<e;++t)l=this.drawFlatCoordinatess_(o,l,s[t],a);this.endGeometry(e)}finish(){this.reverseHitDetectionInstructions(),this.state=null;const t=this.tolerance;if(0!==t){const e=this.coordinates;for(let i=0,n=e.length;i<n;++i)e[i]=pn(e[i],t)}return super.finish()}setFillStrokeStyles_(){const t=this.state;void 0!==t.fillStyle&&this.updateFillStyle(t,this.createFill),void 0!==t.strokeStyle&&this.updateStrokeStyle(t,this.applyStroke)}};function kc(t,e,i,n,r){const s=[];let o=i,a=0,l=e.slice(i,2);for(;a<t&&o+r<n;){const[i,n]=l.slice(-2),c=e[o+r],u=e[o+r+1],h=Math.sqrt((c-i)*(c-i)+(u-n)*(u-n));if(a+=h,a>=t){const e=(t-a+h)/h,d=ae(i,c,e),p=ae(n,u,e);l.push(d,p),s.push(l),l=[d,p],a==t&&(o+=r),a=0}else if(a<t)l.push(e[o+r],e[o+r+1]),o+=r;else{const t=h-a,e=ae(i,c,t/h),d=ae(n,u,t/h);l.push(e,d),s.push(l),l=[e,d],a=0,o+=r}}return a>0&&s.push(l),s}function Ac(t,e,i,n,r){let s,o,a,l,c,u,h,d,p,f,g=i,m=i,v=0,_=0,y=i;for(o=i;o<n;o+=r){const i=e[o],n=e[o+1];void 0!==c&&(p=i-c,f=n-u,l=Math.sqrt(p*p+f*f),void 0!==h&&(_+=a,s=Math.acos((h*p+d*f)/(a*l)),s>t&&(_>v&&(v=_,g=y,m=o),_=0,y=o-r)),a=l,h=p,d=f),c=i,u=n}return _+=l,_>v?[y,o]:[g,m]}const Mc={left:0,center:.5,right:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};const Ic=class extends Cc{constructor(t,e,i,n){super(t,e,i,n),this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.fillStates["#000"]={fillStyle:sr},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.declutterImageWithText_=void 0}finish(){const t=super.finish();return t.textStates=this.textStates,t.fillStates=this.fillStates,t.strokeStates=this.strokeStates,t}drawText(t,e){const i=this.textFillState_,n=this.textStrokeState_,r=this.textState_;if(""===this.text_||!r||!i&&!n)return;const s=this.coordinates;let o=s.length;const a=t.getType();let l=null,c=t.getStride();if("line"!==r.placement||"LineString"!=a&&"MultiLineString"!=a&&"Polygon"!=a&&"MultiPolygon"!=a){let i=r.overflow?null:[];switch(a){case"Point":case"MultiPoint":l=t.getFlatCoordinates();break;case"LineString":l=t.getFlatMidpoint();break;case"Circle":l=t.getCenter();break;case"MultiLineString":l=t.getFlatMidpoints(),c=2;break;case"Polygon":l=t.getFlatInteriorPoint(),r.overflow||i.push(l[2]/this.resolution),c=3;break;case"MultiPolygon":const e=t.getFlatInteriorPoints();l=[];for(let t=0,n=e.length;t<n;t+=3)r.overflow||i.push(e[t+2]/this.resolution),l.push(e[t],e[t+1]);if(0===l.length)return;c=2}const n=this.appendFlatPointCoordinates(l,c);if(n===o)return;
2if(i&&(n-o)/2!=l.length/c){let t=o/2;i=i.filter(((e,i)=>{const n=s[2*(t+i)]===l[i*c]&&s[2*(t+i)+1]===l[i*c+1];return n||--t,n}))}this.saveTextStates_(),(r.backgroundFill||r.backgroundStroke)&&(this.setFillStrokeStyle(r.backgroundFill,r.backgroundStroke),r.backgroundFill&&this.updateFillStyle(this.state,this.createFill),r.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(t,e);let u=r.padding;if(u!=dr&&(r.scale[0]<0||r.scale[1]<0)){let t=r.padding[0],e=r.padding[1],i=r.padding[2],n=r.padding[3];r.scale[0]<0&&(e=-e,n=-n),r.scale[1]<0&&(t=-t,i=-i),u=[t,e,i,n]}const h=this.pixelRatio;this.instructions.push([wc.DRAW_IMAGE,o,n,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,void 0,this.declutterImageWithText_,u==dr?dr:u.map((function(t){return t*h})),!!r.backgroundFill,!!r.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,i]);const d=1/h,p=this.state.fillStyle;r.backgroundFill&&(this.state.fillStyle=sr,this.hitDetectionInstructions.push(this.createFill(this.state))),this.hitDetectionInstructions.push([wc.DRAW_IMAGE,o,n,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[d,d],NaN,void 0,this.declutterImageWithText_,u,!!r.backgroundFill,!!r.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_?sr:this.fillKey_,this.textOffsetX_,this.textOffsetY_,i]),r.backgroundFill&&(this.state.fillStyle=p,this.hitDetectionInstructions.push(this.createFill(this.state))),this.endGeometry(e)}else{if(!Gt(this.getBufferedMaxExtent(),t.getExtent()))return;let i;if(l=t.getFlatCoordinates(),"LineString"==a)i=[l.length];else if("MultiLineString"==a)i=t.getEnds();else if("Polygon"==a)i=t.getEnds().slice(0,1);else if("MultiPolygon"==a){const e=t.getEndss();i=[];for(let t=0,n=e.length;t<n;++t)i.push(e[t][0])}this.beginGeometry(t,e);const n=r.repeat,u=n?void 0:r.textAlign;let h=0;for(let t=0,e=i.length;t<e;++t){let e;e=n?kc(n*this.resolution,l,h,i[t],c):[l.slice(h,i[t])];for(let n=0,a=e.length;n<a;++n){const a=e[n];let l=0,d=a.length;if(null==u){const t=Ac(r.maxAngle,a,0,a.length,2);l=t[0],d=t[1]}for(let t=l;t<d;t+=c)s.push(a[t],a[t+1]);const p=s.length;h=i[t],this.drawChars_(o,p),o=p}}this.endGeometry(e)}}saveTextStates_(){const t=this.textStrokeState_,e=this.textState_,i=this.textFillState_,n=this.strokeKey_;t&&(n in this.strokeStates||(this.strokeStates[n]={strokeStyle:t.strokeStyle,lineCap:t.lineCap,lineDashOffset:t.lineDashOffset,lineWidth:t.lineWidth,lineJoin:t.lineJoin,miterLimit:t.miterLimit,lineDash:t.lineDash}));const r=this.textKey_;r in this.textStates||(this.textStates[r]={font:e.font,textAlign:e.textAlign||ur,justify:e.justify,textBaseline:e.textBaseline||hr,scale:e.scale});const s=this.fillKey_;i&&(s in this.fillStates||(this.fillStates[s]={fillStyle:i.fillStyle}))}drawChars_(t,e){const i=this.textStrokeState_,n=this.textState_,r=this.strokeKey_,s=this.textKey_,o=this.fillKey_;this.saveTextStates_();const a=this.pixelRatio,l=Mc[n.textBaseline],c=this.textOffsetY_*a,u=this.text_,h=i?i.lineWidth*Math.abs(n.scale[0])/2:0;this.instructions.push([wc.DRAW_CHARS,t,e,l,n.overflow,o,n.maxAngle,a,c,r,h*a,u,s,1]),this.hitDetectionInstructions.push([wc.DRAW_CHARS,t,e,l,n.overflow,o?sr:o,n.maxAngle,a,c,r,h*a,u,s,1/a])}setTextStyle(t,e){let i,n,r;
vendor: 4,509 bytes, line 2
2if(t){const e=t.getFill();e?(n=this.textFillState_,n||(n={},this.textFillState_=n),n.fillStyle=wo(e.getColor()||sr)):(n=null,this.textFillState_=n);const s=t.getStroke();if(s){r=this.textStrokeState_,r||(r={},this.textStrokeState_=r);const t=s.getLineDash(),e=s.getLineDashOffset(),i=s.getWidth(),n=s.getMiterLimit();r.lineCap=s.getLineCap()||or,r.lineDash=t?t.slice():ar,r.lineDashOffset=void 0===e?0:e,r.lineJoin=s.getLineJoin()||lr,r.lineWidth=void 0===i?1:i,r.miterLimit=void 0===n?10:n,r.strokeStyle=wo(s.getColor()||cr)}else r=null,this.textStrokeState_=r;i=this.textState_;const o=t.getFont()||rr;vr(o);const a=t.getScaleArray();i.overflow=t.getOverflow(),i.font=o,i.maxAngle=t.getMaxAngle(),i.placement=t.getPlacement(),i.textAlign=t.getTextAlign(),i.repeat=t.getRepeat(),i.justify=t.getJustify(),i.textBaseline=t.getTextBaseline()||hr,i.backgroundFill=t.getBackgroundFill(),i.backgroundStroke=t.getBackgroundStroke(),i.padding=t.getPadding()||dr,i.scale=void 0===a?[1,1]:a;const l=t.getOffsetX(),c=t.getOffsetY(),u=t.getRotateWithView(),h=t.getRotation();this.text_=t.getText()||"",this.textOffsetX_=void 0===l?0:l,this.textOffsetY_=void 0===c?0:c,this.textRotateWithView_=void 0!==u&&u,this.textRotation_=void 0===h?0:h,this.strokeKey_=r?("string"==typeof r.strokeStyle?r.strokeStyle:z(r.strokeStyle))+r.lineCap+r.lineDashOffset+"|"+r.lineWidth+r.lineJoin+r.miterLimit+"["+r.lineDash.join()+"]":"",this.textKey_=i.font+i.scale+(i.textAlign||"?")+(i.repeat||"?")+(i.justify||"?")+(i.textBaseline||"?"),this.fillKey_=n?"string"==typeof n.fillStyle?n.fillStyle:"|"+z(n.fillStyle):""}else this.text_="";this.declutterImageWithText_=e}},Lc={Circle:Tc,Default:Cc,Image:Ec,LineString:Sc,Polygon:Tc,Text:Ic};const Pc=class{constructor(t,e,i,n){this.tolerance_=t,this.maxExtent_=e,this.pixelRatio_=n,this.resolution_=i,this.buildersByZIndex_={}}finish(){const t={};for(const e in this.buildersByZIndex_){t[e]=t[e]||{};const i=this.buildersByZIndex_[e];for(const n in i){const r=i[n].finish();t[e][n]=r}}return t}getBuilder(t,e){const i=void 0!==t?t.toString():"0";let n=this.buildersByZIndex_[i];void 0===n&&(n={},this.buildersByZIndex_[i]=n);let r=n[e];if(void 0===r){r=new(0,Lc[e])(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),n[e]=r}return r}};function Rc(t,e,i,n,r,s,o,a,l,c,u,h){let d=t[e],p=t[e+1],f=0,g=0,m=0,v=0;function _(){f=d,g=p,d=t[e+=n],p=t[e+1],v+=m,m=Math.sqrt((d-f)*(d-f)+(p-g)*(p-g))}do{_()}while(e<i-n&&v+m<s);let y=0===m?0:(s-v)/m;const x=ae(f,d,y),w=ae(g,p,y),b=e-n,C=v,E=s+a*l(c,r,u);for(;e<i-n&&v+m<E;)_();y=0===m?0:(E-v)/m;const S=ae(f,d,y),T=ae(g,p,y);let k;if(h){const t=[x,w,S,T];Ji(t,0,4,2,h,t,t),k=t[0]>t[2]}else k=x>S;const A=Math.PI,M=[],I=b+n===e;let L;if(m=0,v=C,d=t[e=b],p=t[e+1],I){_(),L=Math.atan2(p-g,d-f),k&&(L+=L>0?-A:A);const t=(S+x)/2,e=(T+w)/2;return M[0]=[t,e,(E-s)/2,L,r],M}for(let t=0,h=(r=r.replace(/\n/g," ")).length;t<h;){_();let x=Math.atan2(p-g,d-f);if(k&&(x+=x>0?-A:A),void 0!==L){let t=x-L;if(t+=t>A?-2*A:t<-A?2*A:0,Math.abs(t)>o)return null}L=x;const w=t;let b=0;for(;t<h;++t){const o=a*l(c,r[k?h-t-1:t],u);if(e+n<i&&v+m<s+b+o/2)break;b+=o}if(t===w)continue;const C=k?r.substring(h-w,h-t):r.substring(w,t);y=0===m?0:(s+b/2-v)/m;const E=ae(f,d,y),S=ae(g,p,y);M.push([E,S,b/2,x,C]),s+=b}return M}function Dc(t,e,i,n){let r=t[e],s=t[e+1],o=0;for(let a=e+n;a<i;a+=n){const e=t[a],i=t[a+1];o+=Math.sqrt((e-r)*(e-r)+(i-s)*(i-s)),r=e,s=i}return o}const Oc=[1/0,1/0,-1/0,-1/0],Fc=[],zc=[],$c=[],Nc=[];function jc(t){return t[3].declutterBox}const Bc=new RegExp("["+String.fromCharCode(1425)+"-"+String.fromCharCode(2303)+String.fromCharCode(64285)+"-"+String.fromCharCode(65023)+String.fromCharCode(65136)+"-"+String.fromCharCode(65276)+String.fromCharCode(67584)+"-"+String.fromCharCode(69631)+String.fromCharCode(124928)+"-"+String.fromCharCode(126975)+"]");function Gc(t,e){return"start"===e?e=Bc.test(t)?"right":"left":"end"===e&&(e=Bc.test(t)?"left":"right"),Mc[e]}function Wc(t,e,i){return i>0&&t.push("\n",""),t.push(e,""),t}const qc=class{constructor(t,e,i,n){this.overlaps=i,this.pixelRatio=e,this.resolution=t,this.alignFill_,this.instructions=n.instructions,this.coordinates=n.coordinates,this.coordinateCache_={},this.renderedTransform_=[1,0,0,1,0,0],this.hitDetectionInstructions=n.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=n.fillStates||{},this.strokeStates=n.strokeStates||{},this.textStates=n.textStates||{},this.widths_={},this.labels_={}}createLabel(t,e,i,n){const r=t+e+i+n;
2if(this.labels_[r])return this.labels_[r];const s=n?this.strokeStates[n]:null,o=i?this.fillStates[i]:null,a=this.textStates[e],l=this.pixelRatio,c=[a.scale[0]*l,a.scale[1]*l],u=Array.isArray(t),h=a.justify?Mc[a.justify]:Gc(Array.isArray(t)?t[0]:t,a.textAlign||ur),d=n&&s.lineWidth?s.lineWidth:0,p=u?t:t.split("\n").reduce(Wc,[]),{width:f,height:g,widths:m,heights:v,lineWidths:_}=function(t,e){const i=[],n=[],r=[];let s=0,o=0,a=0,l=0;for(let c=0,u=e.length;c<=u;c+=2){const h=e[c];if("\n"===h||c===u){s=Math.max(s,o),r.push(o),o=0,a+=l;continue}const d=e[c+1]||t.font,p=xr(d,h);i.push(p),o+=p;const f=_r(d);n.push(f),l=Math.max(l,f)}return{width:s,height:a,widths:i,heights:n,lineWidths:r}}(a,p),y=f+d,x=[],w=(y+2)*c[0],b=(g+d)*c[1],C={width:w<0?Math.floor(w):Math.ceil(w),height:b<0?Math.floor(b):Math.ceil(b),contextInstructions:x};1==c[0]&&1==c[1]||x.push("scale",c),n&&(x.push("strokeStyle",s.strokeStyle),x.push("lineWidth",d),x.push("lineCap",s.lineCap),x.push("lineJoin",s.lineJoin),x.push("miterLimit",s.miterLimit),x.push("setLineDash",[s.lineDash]),x.push("lineDashOffset",s.lineDashOffset)),i&&x.push("fillStyle",o.fillStyle),x.push("textBaseline","middle"),x.push("textAlign","center");const E=.5-h;let S=h*y+E*d;const T=[],k=[];let A,M=0,I=0,L=0,P=0;for(let t=0,e=p.length;t<e;t+=2){const e=p[t];if("\n"===e){I+=M,M=0,S=h*y+E*d,++P;continue}const r=p[t+1]||a.font;r!==A&&(n&&T.push("font",r),i&&k.push("font",r),A=r),M=Math.max(M,v[L]);const s=[e,S+E*m[L]+h*(m[L]-_[P]),.5*(d+M)+I];S+=m[L],n&&T.push("strokeText",s),i&&k.push("fillText",s),++L}return Array.prototype.push.apply(x,T),Array.prototype.push.apply(x,k),this.labels_[r]=C,C}replayTextBackground_(t,e,i,n,r,s,o){t.beginPath(),t.moveTo.apply(t,e),t.lineTo.apply(t,i),t.lineTo.apply(t,n),t.lineTo.apply(t,r),t.lineTo.apply(t,e),s&&(this.alignFill_=s[2],this.fill_(t)),o&&(this.setStrokeStyle_(t,o),t.stroke())}calculateImageOrLabelDimensions_(t,e,i,n,r,s,o,a,l,c,u,h,d,p,f,g){let m=i-(o*=h[0]),v=n-(a*=h[1]);const _=r+l>t?t-l:r,y=s+c>e?e-c:s,x=p[3]+_*h[0]+p[1],w=p[0]+y*h[1]+p[2],b=m-p[3],C=v-p[0];let E;return(f||0!==u)&&(Fc[0]=b,Nc[0]=b,Fc[1]=C,zc[1]=C,zc[0]=b+x,$c[0]=zc[0],$c[1]=C+w,Nc[1]=$c[1]),0!==u?(E=it([1,0,0,1,0,0],i,n,1,1,u,-i,-n),et(E,Fc),et(E,zc),et(E,$c),et(E,Nc),wt(Math.min(Fc[0],zc[0],$c[0],Nc[0]),Math.min(Fc[1],zc[1],$c[1],Nc[1]),Math.max(Fc[0],zc[0],$c[0],Nc[0]),Math.max(Fc[1],zc[1],$c[1],Nc[1]),Oc)):wt(Math.min(b,b+x),Math.min(C,C+w),Math.max(b,b+x),Math.max(C,C+w),Oc),d&&(m=Math.round(m),v=Math.round(v)),{drawImageX:m,drawImageY:v,drawImageW:_,drawImageH:y,originX:l,originY:c,declutterBox:{minX:Oc[0],minY:Oc[1],maxX:Oc[2],maxY:Oc[3],value:g},canvasTransform:E,scale:h}}replayImageOrLabel_(t,e,i,n,r,s,o){const a=!(!s&&!o),l=n.declutterBox,c=t.canvas,u=o?o[2]*n.scale[0]/2:0;return l.minX-u<=c.width/e&&l.maxX+u>=0&&l.minY-u<=c.height/e&&l.maxY+u>=0&&(a&&this.replayTextBackground_(t,Fc,zc,$c,Nc,s,o),br(t,n.canvasTransform,r,i,n.originX,n.originY,n.drawImageW,n.drawImageH,n.drawImageX,n.drawImageY,n.scale)),!0}fill_(t){if(this.alignFill_){const e=et(this.renderedTransform_,[0,0]),i=512*this.pixelRatio;t.save(),t.translate(e[0]%i,e[1]%i),t.rotate(this.viewRotation_)}t.fill(),this.alignFill_&&t.restore()}setStrokeStyle_(t,e){t.strokeStyle=e[1],t.lineWidth=e[2],t.lineCap=e[3],t.lineJoin=e[4],t.miterLimit=e[5],t.lineDashOffset=e[7],t.setLineDash(e[6])}drawLabelWithPointPlacement_(t,e,i,n){const r=this.textStates[e],s=this.createLabel(t,e,n,i),o=this.strokeStates[i],a=this.pixelRatio,l=Gc(Array.isArray(t)?t[0]:t,r.textAlign||ur),c=Mc[r.textBaseline||hr],u=o&&o.lineWidth?o.lineWidth:0;return{label:s,anchorX:l*(s.width/a-2*r.scale[0])+2*(.5-l)*u,anchorY:c*s.height/a+2*(.5-c)*u}}execute_(t,e,i,n,r,s,o,a){let l;var c,u;this.pixelCoordinates_&&d(i,this.renderedTransform_)?l=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),l=Zi(this.coordinates,0,this.coordinates.length,2,i,this.pixelCoordinates_),c=this.renderedTransform_,u=i,c[0]=u[0],c[1]=u[1],c[2]=u[2],c[3]=u[3],c[4]=u[4],c[5]=u[5]);let h=0;const p=n.length;let f,g,m,v,_,y,x,w,b,C,E,S,T=0,k=0,A=0,M=null,I=null;const L=this.coordinateCache_,P=this.viewRotation_,R=Math.round(1e12*Math.atan2(-i[1],i[0]))/1e12,D={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:P},O=this.instructions!=n||this.overlaps?0:200;let F,z,$,N;for(;h<p;){const i=n[h];
2switch(i[0]){case wc.BEGIN_GEOMETRY:F=i[1],N=i[3],F.getGeometry()?void 0===o||Gt(o,N.getExtent())?++h:h=i[2]+1:h=i[2];break;case wc.BEGIN_PATH:k>O&&(this.fill_(t),k=0),A>O&&(t.stroke(),A=0),k||A||(t.beginPath(),v=NaN,_=NaN),++h;break;case wc.CIRCLE:T=i[1];const n=l[T],c=l[T+1],u=l[T+2]-n,d=l[T+3]-c,p=Math.sqrt(u*u+d*d);t.moveTo(n+p,c),t.arc(n,c,p,0,2*Math.PI,!0),++h;break;case wc.CLOSE_PATH:t.closePath(),++h;break;case wc.CUSTOM:T=i[1],f=i[2];const j=i[3],B=i[4],G=6==i.length?i[5]:void 0;D.geometry=j,D.feature=F,h in L||(L[h]=[]);const W=L[h];G?G(l,T,f,2,W):(W[0]=l[T],W[1]=l[T+1],W.length=2),B(W,D),++h;break;case wc.DRAW_IMAGE:T=i[1],f=i[2],w=i[3],g=i[4],m=i[5];let q=i[6];const Y=i[7],X=i[8],H=i[9],U=i[10];let V=i[11];const K=i[12];let Z=i[13];const J=i[14],Q=i[15];if(!w&&i.length>=20){b=i[19],C=i[20],E=i[21],S=i[22];const t=this.drawLabelWithPointPlacement_(b,C,E,S);w=t.label,i[3]=w;const e=i[23];g=(t.anchorX-e)*this.pixelRatio,i[4]=g;const n=i[24];m=(t.anchorY-n)*this.pixelRatio,i[5]=m,q=w.height,i[6]=q,Z=w.width,i[13]=Z}let tt,et,it,nt;i.length>25&&(tt=i[25]),i.length>17?(et=i[16],it=i[17],nt=i[18]):(et=dr,it=!1,nt=!1),U&&R?V+=P:U||R||(V-=P);let rt=0;for(;T<f;T+=2){if(tt&&tt[rt++]<Z/this.pixelRatio)continue;const i=this.calculateImageOrLabelDimensions_(w.width,w.height,l[T],l[T+1],Z,q,g,m,X,H,V,K,r,et,it||nt,F),n=[t,e,w,i,Y,it?M:null,nt?I:null];if(a){if("none"===J)continue;if("obstacle"===J){a.insert(i.declutterBox);continue}{let t,e;if(Q){const i=f-T;if(!Q[i]){Q[i]=n;continue}if(t=Q[i],delete Q[i],e=jc(t),a.collides(e))continue}if(a.collides(i.declutterBox))continue;t&&(a.insert(e),this.replayImageOrLabel_.apply(this,t)),a.insert(i.declutterBox)}}this.replayImageOrLabel_.apply(this,n)}++h;break;case wc.DRAW_CHARS:const st=i[1],ot=i[2],at=i[3],lt=i[4];S=i[5];const ct=i[6],ut=i[7],ht=i[8];E=i[9];const dt=i[10];b=i[11],C=i[12];const pt=[i[13],i[13]],ft=this.textStates[C],gt=ft.font,mt=[ft.scale[0]*ut,ft.scale[1]*ut];let vt;gt in this.widths_?vt=this.widths_[gt]:(vt={},this.widths_[gt]=vt);const _t=Dc(l,st,ot,2),yt=Math.abs(mt[0])*wr(gt,b,vt);if(lt||yt<=_t){const i=Rc(l,st,ot,2,b,(_t-yt)*Gc(b,this.textStates[C].textAlign),ct,Math.abs(mt[0]),wr,gt,vt,R?0:this.viewRotation_);t:if(i){const n=[];let r,s,o,l,c;if(E)for(r=0,s=i.length;r<s;++r){c=i[r],o=c[4],l=this.createLabel(o,C,"",E),g=c[2]+(mt[0]<0?-dt:dt),m=at*l.height+2*(.5-at)*dt*mt[1]/mt[0]-ht;const s=this.calculateImageOrLabelDimensions_(l.width,l.height,c[0],c[1],l.width,l.height,g,m,0,0,c[3],pt,!1,dr,!1,F);if(a&&a.collides(s.declutterBox))break t;n.push([t,e,l,s,1,null,null])}if(S)for(r=0,s=i.length;r<s;++r){c=i[r],o=c[4],l=this.createLabel(o,C,S,""),g=c[2],m=at*l.height-ht;const s=this.calculateImageOrLabelDimensions_(l.width,l.height,c[0],c[1],l.width,l.height,g,m,0,0,c[3],pt,!1,dr,!1,F);if(a&&a.collides(s.declutterBox))break t;n.push([t,e,l,s,1,null,null])}a&&a.load(n.map(jc));for(let t=0,e=n.length;t<e;++t)this.replayImageOrLabel_.apply(this,n[t])}}++h;break;case wc.END_GEOMETRY:if(void 0!==s){F=i[1];const t=s(F,N);if(t)return t}++h;break;case wc.FILL:O?k++:this.fill_(t),++h;break;case wc.MOVE_TO_LINE_TO:for(T=i[1],f=i[2],z=l[T],$=l[T+1],y=z+.5|0,x=$+.5|0,y===v&&x===_||(t.moveTo(z,$),v=y,_=x),T+=2;T<f;T+=2)z=l[T],$=l[T+1],y=z+.5|0,x=$+.5|0,T!=f-2&&y===v&&x===_||(t.lineTo(z,$),v=y,_=x);++h;break;case wc.SET_FILL_STYLE:M=i,this.alignFill_=i[2],k&&(this.fill_(t),k=0,A&&(t.stroke(),A=0)),t.fillStyle=i[1],++h;break;case wc.SET_STROKE_STYLE:I=i,A&&(t.stroke(),A=0),this.setStrokeStyle_(t,i),++h;break;case wc.STROKE:O?A++:t.stroke(),++h;break;default:++h}}k&&this.fill_(t),A&&t.stroke()}execute(t,e,i,n,r,s){this.viewRotation_=n,this.execute_(t,e,i,this.instructions,r,void 0,void 0,s)}executeHitDetection(t,e,i,n,r){return this.viewRotation_=i,this.execute_(t,1,e,this.hitDetectionInstructions,!0,n,r)}},Yc=["Polygon","Circle","LineString","Image","Text","Default"];const Xc={};const Hc=class{constructor(t,e,i,n,r,s){this.maxExtent_=t,this.overlaps_=n,this.pixelRatio_=i,this.resolution_=e,this.renderBuffer_=s,this.executorsByZIndex_={},this.hitDetectionContext_=null,this.hitDetectionTransform_=[1,0,0,1,0,0],this.createExecutors_(r)}clip(t,e){const i=this.getClipCoords(e);t.beginPath(),t.moveTo(i[0],i[1]),t.lineTo(i[2],i[3]),t.lineTo(i[4],i[5]),t.lineTo(i[6],i[7]),t.clip()}createExecutors_(t){for(const e in t){let i=this.executorsByZIndex_[e];void 0===i&&(i={},this.executorsByZIndex_[e]=i);const n=t[e];for(const t in n){const e=n[t];i[t]=new qc(this.resolution_,this.pixelRatio_,this.overlaps_,e)}}}hasExecutors(t){for(const e in this.executorsByZIndex_){const i=this.executorsByZIndex_[e];for(let e=0,n=t.length;e<n;++e)if(t[e]in i)return!0}return!1}forEachFeatureAtCoordinate(t,e,i,n,r,s){const o=2*(n=Math.round(n))+1,a=it(this.hitDetectionTransform_,n+.5,n+.5,1/e,-1/e,-i,-t[0],-t[1]),c=!this.hitDetectionContext_;c&&(this.hitDetectionContext_=tr(o,o,void 0,{willReadFrequently:!0}));const u=this.hitDetectionContext_;let h;u.canvas.width!==o||u.canvas.height!==o?(u.canvas.width=o,u.canvas.height=o
vendor: 10,975 bytes, line 2
2):c||u.clearRect(0,0,o,o),void 0!==this.renderBuffer_&&(h=[1/0,1/0,-1/0,-1/0],Tt(h,t),pt(h,e*(this.renderBuffer_+n),h));const d=function(t){if(void 0!==Xc[t])return Xc[t];const e=2*t+1,i=t*t,n=new Array(i+1);for(let r=0;r<=t;++r)for(let s=0;s<=t;++s){const o=r*r+s*s;if(o>i)break;let a=n[o];a||(a=[],n[o]=a),a.push(4*((t+r)*e+(t+s))+3),r>0&&a.push(4*((t-r)*e+(t+s))+3),s>0&&(a.push(4*((t+r)*e+(t-s))+3),r>0&&a.push(4*((t-r)*e+(t-s))+3))}const r=[];for(let t=0,e=n.length;t<e;++t)n[t]&&r.push(...n[t]);return Xc[t]=r,r}(n);let p;function f(t,e){const i=u.getImageData(0,0,o,o).data;for(let a=0,l=d.length;a<l;a++)if(i[d[a]]>0){if(!s||"Image"!==p&&"Text"!==p||s.includes(t)){const i=(d[a]-3)/4,s=n-i%o,l=n-(i/o|0),c=r(t,e,s*s+l*l);if(c)return c}u.clearRect(0,0,o,o);break}}const g=Object.keys(this.executorsByZIndex_).map(Number);let m,v,_,y,x;for(g.sort(l),m=g.length-1;m>=0;--m){const t=g[m].toString();for(_=this.executorsByZIndex_[t],v=Yc.length-1;v>=0;--v)if(p=Yc[v],y=_[p],void 0!==y&&(x=y.executeHitDetection(u,a,i,f,h),x))return x}}getClipCoords(t){const e=this.maxExtent_;if(!e)return null;const i=e[0],n=e[1],r=e[2],s=e[3],o=[i,n,i,s,r,s,r,n];return Zi(o,0,8,2,t,o),o}isEmpty(){return _(this.executorsByZIndex_)}execute(t,e,i,n,r,s,o){const a=Object.keys(this.executorsByZIndex_).map(Number);let c,u,h,d,p,f;for(a.sort(l),this.maxExtent_&&(t.save(),this.clip(t,i)),s=s||Yc,o&&a.reverse(),c=0,u=a.length;c<u;++c){const l=a[c].toString();for(p=this.executorsByZIndex_[l],h=0,d=s.length;h<d;++h){f=p[s[h]],void 0!==f&&f.execute(t,e,i,n,r,o)}}this.maxExtent_&&t.restore()}};const Uc=class extends bc{constructor(t,e,i,n,r,s,o){super(),this.context_=t,this.pixelRatio_=e,this.extent_=i,this.transform_=n,this.transformRotation_=n?le(Math.atan2(n[1],n[0]),10):0,this.viewRotation_=r,this.squaredTolerance_=s,this.userTransform_=o,this.contextFillState_=null,this.contextStrokeState_=null,this.contextTextState_=null,this.fillState_=null,this.strokeState_=null,this.image_=null,this.imageAnchorX_=0,this.imageAnchorY_=0,this.imageHeight_=0,this.imageOpacity_=0,this.imageOriginX_=0,this.imageOriginY_=0,this.imageRotateWithView_=!1,this.imageRotation_=0,this.imageScale_=[0,0],this.imageWidth_=0,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=!1,this.textRotation_=0,this.textScale_=[0,0],this.textFillState_=null,this.textStrokeState_=null,this.textState_=null,this.pixelCoordinates_=[],this.tmpLocalTransform_=[1,0,0,1,0,0]}drawImages_(t,e,i,n){if(!this.image_)return;const r=Zi(t,e,i,n,this.transform_,this.pixelCoordinates_),s=this.context_,o=this.tmpLocalTransform_,a=s.globalAlpha;1!=this.imageOpacity_&&(s.globalAlpha=a*this.imageOpacity_);let l=this.imageRotation_;0===this.transformRotation_&&(l-=this.viewRotation_),this.imageRotateWithView_&&(l+=this.viewRotation_);for(let t=0,e=r.length;t<e;t+=2){const e=r[t]-this.imageAnchorX_,i=r[t+1]-this.imageAnchorY_;if(0!==l||1!=this.imageScale_[0]||1!=this.imageScale_[1]){const t=e+this.imageAnchorX_,n=i+this.imageAnchorY_;it(o,t,n,1,1,l,-t,-n),s.save(),s.transform.apply(s,o),s.translate(t,n),s.scale(this.imageScale_[0],this.imageScale_[1]),s.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,-this.imageAnchorX_,-this.imageAnchorY_,this.imageWidth_,this.imageHeight_),s.restore()}else s.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,e,i,this.imageWidth_,this.imageHeight_)}1!=this.imageOpacity_&&(s.globalAlpha=a)}drawText_(t,e,i,n){if(!this.textState_||""===this.text_)return;this.textFillState_&&this.setContextFillState_(this.textFillState_),this.textStrokeState_&&this.setContextStrokeState_(this.textStrokeState_),this.setContextTextState_(this.textState_);const r=Zi(t,e,i,n,this.transform_,this.pixelCoordinates_),s=this.context_;let o=this.textRotation_;for(0===this.transformRotation_&&(o-=this.viewRotation_),this.textRotateWithView_&&(o+=this.viewRotation_);e<i;e+=n){const t=r[e]+this.textOffsetX_,i=r[e+1]+this.textOffsetY_;0!==o||1!=this.textScale_[0]||1!=this.textScale_[1]?(s.save(),s.translate(t-this.textOffsetX_,i-this.textOffsetY_),s.rotate(o),s.translate(this.textOffsetX_,this.textOffsetY_),s.scale(this.textScale_[0],this.textScale_[1]),this.textStrokeState_&&s.strokeText(this.text_,0,0),this.textFillState_&&s.fillText(this.text_,0,0),s.restore()):(this.textStrokeState_&&s.strokeText(this.text_,t,i),this.textFillState_&&s.fillText(this.text_,t,i))}}moveToLineTo_(t,e,i,n,r){const s=this.context_,o=Zi(t,e,i,n,this.transform_,this.pixelCoordinates_);s.moveTo(o[0],o[1]);let a=o.length;r&&(a-=2);for(let t=2;t<a;t+=2)s.lineTo(o[t],o[t+1]);return r&&s.closePath(),i}drawRings_(t,e,i,n){for(let r=0,s=i.length;r<s;++r)e=this.moveToLineTo_(t,e,i[r],n,!0);return e}drawCircle(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Gt(this.extent_,t.getExtent())){if(this.fillState_||this.strokeState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=function(t,e,i){const n=t.getFlatCoordinates();if(!n)return null;const r=t.getStride();return Zi(n,0,n.length,r,e,i)}(t,this.transform_,this.pixelCoordinates_),i=e[2]-e[0],n=e[3]-e[1],r=Math.sqrt(i*i+n*n),s=this.context_;s.beginPath(),s.arc(e[0],e[1],r,0,2*Math.PI),this.fillState_&&s.fill(),this.strokeState_&&s.stroke()}""!==this.text_&&this.drawText_(t.getCenter(),0,2,2)}}setStyle(t){this.setFillStrokeStyle(t.getFill(),t.getStroke()),this.setImageStyle(t.getImage()),this.setTextStyle(t.getText())}setTransform(t){this.transform_=t}drawGeometry(t){switch(t.getType()){case"Point":this.drawPoint(t);break;case"LineString":this.drawLineString(t);break;case"Polygon":this.drawPolygon(t);break;case"MultiPoint":this.drawMultiPoint(t);break;case"MultiLineString":this.drawMultiLineString(t);break;case"MultiPolygon":this.drawMultiPolygon(t);break;case"GeometryCollection":this.drawGeometryCollection(t);break;case"Circle":this.drawCircle(t)}}drawFeature(t,e){const i=e.getGeometryFunction()(t);i&&(this.setStyle(e),this.drawGeometry(i))}drawGeometryCollection(t){const e=t.getGeometriesArray();for(let t=0,i=e.length;t<i;++t)this.drawGeometry(e[t])}drawPoint(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getFlatCoordinates(),i=t.getStride();this.image_&&this.drawImages_(e,0,e.length,i),""!==this.text_&&this.drawText_(e,0,e.length,i)}drawMultiPoint(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getFlatCoordinates(),i=t.getStride();this.image_&&this.drawImages_(e,0,e.length,i),""!==this.text_&&this.drawText_(e,0,e.length,i)}drawLineString(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Gt(this.extent_,t.getExtent())){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getFlatCoordinates();e.beginPath(),this.moveToLineTo_(i,0,i.length,t.getStride(),!1),e.stroke()}if(""!==this.text_){const e=t.getFlatMidpoint();this.drawText_(e,0,2,2)}}}drawMultiLineString(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getExtent();if(Gt(this.extent_,e)){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getFlatCoordinates();let n=0;const r=t.getEnds(),s=t.getStride();e.beginPath();for(let t=0,e=r.length;t<e;++t)n=this.moveToLineTo_(i,n,r[t],s,!1);e.stroke()}if(""!==this.text_){const e=t.getFlatMidpoints();this.drawText_(e,0,e.length,2)}}}drawPolygon(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Gt(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=this.context_;e.beginPath(),this.drawRings_(t.getOrientedFlatCoordinates(),0,t.getEnds(),t.getStride()),this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(""!==this.text_){const e=t.getFlatInteriorPoint();this.drawText_(e,0,2,2)}}}drawMultiPolygon(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Gt(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getOrientedFlatCoordinates();let n=0;const r=t.getEndss(),s=t.getStride();e.beginPath();for(let t=0,e=r.length;t<e;++t){const e=r[t];n=this.drawRings_(i,n,e,s)}this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(""!==this.text_){const e=t.getFlatInteriorPoints();this.drawText_(e,0,e.length,2)}}}setContextFillState_(t){const e=this.context_,i=this.contextFillState_;i?i.fillStyle!=t.fillStyle&&(i.fillStyle=t.fillStyle,e.fillStyle=t.fillStyle):(e.fillStyle=t.fillStyle,this.contextFillState_={fillStyle:t.fillStyle})}setContextStrokeState_(t){const e=this.context_,i=this.contextStrokeState_;i?(i.lineCap!=t.lineCap&&(i.lineCap=t.lineCap,e.lineCap=t.lineCap),d(i.lineDash,t.lineDash)||e.setLineDash(i.lineDash=t.lineDash),i.lineDashOffset!=t.lineDashOffset&&(i.lineDashOffset=t.lineDashOffset,e.lineDashOffset=t.lineDashOffset),i.lineJoin!=t.lineJoin&&(i.lineJoin=t.lineJoin,e.lineJoin=t.lineJoin),i.lineWidth!=t.lineWidth&&(i.lineWidth=t.lineWidth,e.lineWidth=t.lineWidth),i.miterLimit!=t.miterLimit&&(i.miterLimit=t.miterLimit,e.miterLimit=t.miterLimit),i.strokeStyle!=t.strokeStyle&&(i.strokeStyle=t.strokeStyle,e.strokeStyle=t.strokeStyle)):(e.lineCap=t.lineCap,e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset,e.lineJoin=t.lineJoin,e.lineWidth=t.lineWidth,e.miterLimit=t.miterLimit,e.strokeStyle=t.strokeStyle,this.contextStrokeState_={lineCap:t.lineCap,lineDash:t.lineDash,lineDashOffset:t.lineDashOffset,lineJoin:t.lineJoin,lineWidth:t.lineWidth,miterLimit:t.miterLimit,strokeStyle:t.strokeStyle})}setContextTextState_(t){const e=this.context_,i=this.contextTextState_,n=t.textAlign?t.textAlign:ur;i?(i.font!=t.font&&(i.font=t.font,e.font=t.font),i.textAlign!=n&&(i.textAlign=n,e.textAlign=n),i.textBaseline!=t.textBaseline&&(i.textBaseline=t.textBaseline,e.textBaseline=t.textBaseline)):(e.font=t.font,e.textAlign=n,e.textBaseline=t.textBaseline,this.contextTextState_={font:t.font,textAlign:n,textBaseline:t.textBaseline})}setFillStrokeStyle(t,e){if(t){const e=t.getColor();this.fillState_={fillStyle:wo(e||sr)}}else this.fillState_=null;if(e){const t=e.getColor(),i=e.getLineCap(),n=e.getLineDash(),r=e.getLineDashOffset(),s=e.getLineJoin(),o=e.getWidth(),a=e.getMiterLimit(),l=n||ar;this.strokeState_={lineCap:void 0!==i?i:or,lineDash:1===this.pixelRatio_?l:l.map((t=>t*this.pixelRatio_)),lineDashOffset:(r||0)*this.pixelRatio_,lineJoin:void 0!==s?s:lr,lineWidth:(void 0!==o?o:1)*this.pixelRatio_,miter
2Limit:void 0!==a?a:10,strokeStyle:wo(t||cr)}}else this.strokeState_=null}setImageStyle(t){let e;if(!t||!(e=t.getSize()))return void(this.image_=null);const i=t.getPixelRatio(this.pixelRatio_),n=t.getAnchor(),r=t.getOrigin();this.image_=t.getImage(this.pixelRatio_),this.imageAnchorX_=n[0]*i,this.imageAnchorY_=n[1]*i,this.imageHeight_=e[1]*i,this.imageOpacity_=t.getOpacity(),this.imageOriginX_=r[0],this.imageOriginY_=r[1],this.imageRotateWithView_=t.getRotateWithView(),this.imageRotation_=t.getRotation();const s=t.getScaleArray();this.imageScale_=[s[0]*this.pixelRatio_/i,s[1]*this.pixelRatio_/i],this.imageWidth_=e[0]*i}setTextStyle(t){if(t){const e=t.getFill();if(e){const t=e.getColor();this.textFillState_={fillStyle:wo(t||sr)}}else this.textFillState_=null;const i=t.getStroke();if(i){const t=i.getColor(),e=i.getLineCap(),n=i.getLineDash(),r=i.getLineDashOffset(),s=i.getLineJoin(),o=i.getWidth(),a=i.getMiterLimit();this.textStrokeState_={lineCap:void 0!==e?e:or,lineDash:n||ar,lineDashOffset:r||0,lineJoin:void 0!==s?s:lr,lineWidth:void 0!==o?o:1,miterLimit:void 0!==a?a:10,strokeStyle:wo(t||cr)}}else this.textStrokeState_=null;const n=t.getFont(),r=t.getOffsetX(),s=t.getOffsetY(),o=t.getRotateWithView(),a=t.getRotation(),l=t.getScaleArray(),c=t.getText(),u=t.getTextAlign(),h=t.getTextBaseline();this.textState_={font:void 0!==n?n:rr,textAlign:void 0!==u?u:ur,textBaseline:void 0!==h?h:hr},this.text_=void 0!==c?Array.isArray(c)?c.reduce(((t,e,i)=>t+(i%2?" ":e)),""):c:"",this.textOffsetX_=void 0!==r?this.pixelRatio_*r:0,this.textOffsetY_=void 0!==s?this.pixelRatio_*s:0,this.textRotateWithView_=void 0!==o&&o,this.textRotation_=void 0!==a?a:0,this.textScale_=[this.pixelRatio_*l[0],this.pixelRatio_*l[1]]}else this.text_=""}},Vc=.5;const Kc={Point:function(t,e,i,n,r){const s=i.getImage(),o=i.getText();let a;if(s){if(s.getImageState()!=Ks)return;let l=t;if(r){const c=s.getDeclutterMode();if("none"!==c)if(l=r,"obstacle"===c){const r=t.getBuilder(i.getZIndex(),"Image");r.setImageStyle(s,a),r.drawPoint(e,n)}else o&&o.getText()&&(a={})}const c=l.getBuilder(i.getZIndex(),"Image");c.setImageStyle(s,a),c.drawPoint(e,n)}if(o&&o.getText()){let s=t;r&&(s=r);const l=s.getBuilder(i.getZIndex(),"Text");l.setTextStyle(o,a),l.drawText(e,n)}},LineString:function(t,e,i,n,r){const s=i.getStroke();if(s){const r=t.getBuilder(i.getZIndex(),"LineString");r.setFillStrokeStyle(null,s),r.drawLineString(e,n)}const o=i.getText();if(o&&o.getText()){const s=(r||t).getBuilder(i.getZIndex(),"Text");s.setTextStyle(o),s.drawText(e,n)}},Polygon:function(t,e,i,n,r){const s=i.getFill(),o=i.getStroke();if(s||o){const r=t.getBuilder(i.getZIndex(),"Polygon");r.setFillStrokeStyle(s,o),r.drawPolygon(e,n)}const a=i.getText();if(a&&a.getText()){const s=(r||t).getBuilder(i.getZIndex(),"Text");s.setTextStyle(a),s.drawText(e,n)}},MultiPoint:function(t,e,i,n,r){const s=i.getImage(),o=i.getText();let a;if(s){if(s.getImageState()!=Ks)return;let l=t;if(r){const c=s.getDeclutterMode();if("none"!==c)if(l=r,"obstacle"===c){const r=t.getBuilder(i.getZIndex(),"Image");r.setImageStyle(s,a),r.drawMultiPoint(e,n)}else o&&o.getText()&&(a={})}const c=l.getBuilder(i.getZIndex(),"Image");c.setImageStyle(s,a),c.drawMultiPoint(e,n)}if(o&&o.getText()){let s=t;r&&(s=r);const l=s.getBuilder(i.getZIndex(),"Text");l.setTextStyle(o,a),l.drawText(e,n)}},MultiLineString:function(t,e,i,n,r){const s=i.getStroke();if(s){const r=t.getBuilder(i.getZIndex(),"LineString");r.setFillStrokeStyle(null,s),r.drawMultiLineString(e,n)}const o=i.getText();if(o&&o.getText()){const s=(r||t).getBuilder(i.getZIndex(),"Text");s.setTextStyle(o),s.drawText(e,n)}},MultiPolygon:function(t,e,i,n,r){const s=i.getFill(),o=i.getStroke();if(o||s){const r=t.getBuilder(i.getZIndex(),"Polygon");r.setFillStrokeStyle(s,o),r.drawMultiPolygon(e,n)}const a=i.getText();if(a&&a.getText()){const s=(r||t).getBuilder(i.getZIndex(),"Text");s.setTextStyle(a),s.drawText(e,n)}},GeometryCollection:function(t,e,i,n,r){const s=e.getGeometriesArray();let o,a;for(o=0,a=s.length;o<a;++o){(0,Kc[s[o].getType()])(t,s[o],i,n,r)}},Circle:function(t,e,i,n,r){const s=i.getFill(),o=i.getStroke();if(s||o){const r=t.getBuilder(i.getZIndex(),"Circle");r.setFillStrokeStyle(s,o),r.drawCircle(e,n)}const a=i.getText();if(a&&a.getText()){const s=(r||t).getBuilder(i.getZIndex(),"Text");s.setTextStyle(a),s.drawText(e,n)}}};function Zc(t,e){return parseInt(z(t),10)-parseInt(z(e),10)}
2function Jc(t,e){return.5*t/e}function Qc(t,e,i,n,r,s,o){let a=!1;const l=i.getImage();if(l){const t=l.getImageState();t==Ks||t==Zs?l.unlistenImageChange(r):(t==Us&&l.load(),l.listenImageChange(r),a=!0)}return function(t,e,i,n,r,s){const o=i.getGeometryFunction()(e);if(!o)return;const a=o.simplifyTransformed(n,r);if(i.getRenderer())tu(t,a,i,e);else{(0,Kc[a.getType()])(t,a,i,e,s)}}(t,e,i,n,s,o),a}function tu(t,e,i,n){if("GeometryCollection"==e.getType()){const r=e.getGeometries();for(let e=0,s=r.length;e<s;++e)tu(t,r[e],i,n);return}t.getBuilder(i.getZIndex(),"Default").drawCustom(e,n,i.getRenderer(),i.getHitDetectionRenderer())}const eu=class extends eo{constructor(t){super(t),this.boundHandleStyleImageChange_=this.handleStyleImageChange_.bind(this),this.animatingOrInteracting_,this.hitDetectionImageData_=null,this.renderedFeatures_=null,this.renderedRevision_=-1,this.renderedResolution_=NaN,this.renderedExtent_=[1/0,1/0,-1/0,-1/0],this.wrappedRenderedExtent_=[1/0,1/0,-1/0,-1/0],this.renderedRotation_,this.renderedCenter_=null,this.renderedProjection_=null,this.renderedRenderOrder_=null,this.replayGroup_=null,this.replayGroupChanged=!0,this.declutterExecutorGroup=null,this.clipping=!0,this.compositionContext_=null,this.opacity_=1}renderWorlds(t,e,i){const n=e.extent,r=e.viewState,s=r.center,o=r.resolution,a=r.projection,l=r.rotation,c=a.getExtent(),u=this.getLayer().getSource(),h=e.pixelRatio,d=e.viewHints,p=!(d[Ne]||d[je]),f=this.compositionContext_,g=Math.round(e.size[0]*h),m=Math.round(e.size[1]*h),v=u.getWrapX()&&a.canWrapX(),_=v?Bt(c):null,y=v?Math.ceil((n[2]-c[2])/_)+1:1;let x=v?Math.floor((n[0]-c[0])/_):0;do{const e=this.getRenderTransform(s,o,l,h,g,m,x*_);t.execute(f,1,e,l,p,void 0,i)}while(++x<y)}setupCompositionContext_(){if(1!==this.opacity_){const t=tr(this.context.canvas.width,this.context.canvas.height,Qs);this.compositionContext_=t}else this.compositionContext_=this.context}releaseCompositionContext_(){if(1!==this.opacity_){const t=this.context.globalAlpha;this.context.globalAlpha=this.opacity_,this.context.drawImage(this.compositionContext_.canvas,0,0),this.context.globalAlpha=t,er(this.compositionContext_),Qs.push(this.compositionContext_.canvas),this.compositionContext_=null}}renderDeclutter(t){this.declutterExecutorGroup&&(this.setupCompositionContext_(),this.renderWorlds(this.declutterExecutorGroup,t,t.declutterTree),this.releaseCompositionContext_())}renderFrame(t,e){const i=t.pixelRatio,n=t.layerStatesArray[t.layerIndex];!function(t,e,i){tt(t,e,0,0,i,0,0)}(this.pixelTransform,1/i,1/i),nt(this.inversePixelTransform,this.pixelTransform);const r=st(this.pixelTransform);this.useContainer(e,r,this.getBackground(t));const s=this.context,o=s.canvas,a=this.replayGroup_,l=this.declutterExecutorGroup;let c=a&&!a.isEmpty()||l&&!l.isEmpty();if(!c){if(!(this.getLayer().hasListener(De)||this.getLayer().hasListener(Oe)))return null}const u=Math.round(t.size[0]*i),h=Math.round(t.size[1]*i);o.width!=u||o.height!=h?(o.width=u,o.height=h,o.style.transform!==r&&(o.style.transform=r)):this.containerReused||s.clearRect(0,0,u,h),this.preRender(s,t);const d=t.viewState,p=d.projection;this.opacity_=n.opacity,this.setupCompositionContext_();let f=!1;if(c&&n.extent&&this.clipping){const e=Oi(n.extent,p);c=Gt(e,t.extent),f=c&&!vt(e,t.extent),f&&this.clipUnrotated(this.compositionContext_,t,e)}return c&&this.renderWorlds(a,t),f&&this.compositionContext_.restore(),this.releaseCompositionContext_(),this.postRender(s,t),this.renderedRotation_!==d.rotation&&(this.renderedRotation_=d.rotation,this.hitDetectionImageData_=null),this.container}getFeatures(t){return new Promise((e=>{if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){const t=[this.context.canvas.width,this.context.canvas.height];et(this.pixelTransform,t);const e=this.renderedCenter_,i=this.renderedResolution_,n=this.renderedRotation_,r=this.renderedProjection_,s=this.wrappedRenderedExtent_,o=this.getLayer(),a=[],c=t[0]*Vc,u=t[1]*Vc;a.push(this.getRenderTransform(e,i,n,Vc,c,u,0).slice());const h=o.getSource(),d=r.getExtent();if(h.getWrapX()&&r.canWrapX()&&!vt(d,s)){let t=s[0];const r=Bt(d);let o,l=0;for(;t<d[0];)--l,o=r*l,a.push(this.getRenderTransform(e,i,n,Vc,c,u,o).slice()),t+=r;for(l=0,t=s[2];t>d[2];)++l,o=r*l,a.push(this.getRenderTransform(e,i,n,Vc,c,u,o).slice()),t-=r}
2this.hitDetectionImageData_=function(t,e,i,n,r,s,o){const a=tr(t[0]*Vc,t[1]*Vc);a.imageSmoothingEnabled=!1;const c=a.canvas,u=new Uc(a,Vc,r,null,o),h=i.length,d=Math.floor(16777215/h),p={};for(let t=1;t<=h;++t){const e=i[t-1],o=e.getStyleFunction()||n;if(!o)continue;let a=o(e,s);if(!a)continue;Array.isArray(a)||(a=[a]);const l=(t*d).toString(16).padStart(7,"#00000");for(let t=0,i=a.length;t<i;++t){const i=a[t],n=i.getGeometryFunction()(e);if(!n||!Gt(r,n.getExtent()))continue;const s=i.clone(),o=s.getFill();o&&o.setColor(l);const c=s.getStroke();c&&(c.setColor(l),c.setLineDash(null)),s.setText(void 0);const u=i.getImage();if(u){const t=u.getImageSize();if(!t)continue;const e=tr(t[0],t[1],void 0,{alpha:!1}),i=e.canvas;e.fillStyle=l,e.fillRect(0,0,i.width,i.height),s.setImage(new No({img:i,anchor:u.getAnchor(),anchorXUnits:"pixels",anchorYUnits:"pixels",offset:u.getOrigin(),opacity:1,size:u.getSize(),scale:u.getScale(),rotation:u.getRotation(),rotateWithView:u.getRotateWithView()}))}const h=s.getZIndex()||0;let d=p[h];d||(d={},p[h]=d,d.Polygon=[],d.Circle=[],d.LineString=[],d.Point=[]);const f=n.getType();if("GeometryCollection"===f){const t=n.getGeometriesArrayRecursive();for(let e=0,i=t.length;e<i;++e){const i=t[e];d[i.getType().replace("Multi","")].push(i,s)}}else d[f.replace("Multi","")].push(n,s)}}const f=Object.keys(p).map(Number).sort(l);for(let t=0,i=f.length;t<i;++t){const i=p[f[t]];for(const t in i){const n=i[t];for(let t=0,i=n.length;t<i;t+=2){u.setStyle(n[t+1]);for(let i=0,r=e.length;i<r;++i)u.setTransform(e[i]),u.drawGeometry(n[t])}}}return a.getImageData(0,0,c.width,c.height)}(t,a,this.renderedFeatures_,o.getStyleFunction(),s,i,n)}e(function(t,e,i){const n=[];if(i){const r=Math.floor(Math.round(t[0])*Vc),s=Math.floor(Math.round(t[1])*Vc),o=4*(ie(r,0,i.width-1)+ie(s,0,i.height-1)*i.width),a=i.data[o],l=i.data[o+1],c=i.data[o+2]+256*(l+256*a),u=Math.floor(16777215/e.length);c&&c%u==0&&n.push(e[c/u-1])}return n}(t,this.renderedFeatures_,this.hitDetectionImageData_))}))}forEachFeatureAtCoordinate(t,e,i,n,r){if(!this.replayGroup_)return;const s=e.viewState.resolution,o=e.viewState.rotation,a=this.getLayer(),l={},c=function(t,e,i){const s=z(t),o=l[s];if(o){if(!0!==o&&i<o.distanceSq){if(0===i)return l[s]=!0,r.splice(r.lastIndexOf(o),1),n(t,a,e);o.geometry=e,o.distanceSq=i}}else{if(0===i)return l[s]=!0,n(t,a,e);r.push(l[s]={feature:t,layer:a,geometry:e,distanceSq:i,callback:n})}};let u;const h=[this.replayGroup_];return this.declutterExecutorGroup&&h.push(this.declutterExecutorGroup),h.some((n=>u=n.forEachFeatureAtCoordinate(t,s,o,i,c,n===this.declutterExecutorGroup&&e.declutterTree?e.declutterTree.all().map((t=>t.value)):null))),u}handleFontsChanged(){const t=this.getLayer();t.getVisible()&&this.replayGroup_&&t.changed()}handleStyleImageChange_(t){this.renderIfReadyAndVisible()}prepareFrame(t){const e=this.getLayer(),i=e.getSource();if(!i)return!1;const n=t.viewHints[Ne],r=t.viewHints[je],s=e.getUpdateWhileAnimating(),o=e.getUpdateWhileInteracting();if(this.ready&&!s&&n||!o&&r)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;const a=t.extent,l=t.viewState,c=l.projection,u=l.resolution,h=t.pixelRatio,p=e.getRevision(),f=e.getRenderBuffer();let g=e.getRenderOrder();void 0===g&&(g=Zc);const m=l.center.slice(),v=pt(a,f*u),_=v.slice(),y=[v.slice()],x=c.getExtent();if(i.getWrapX()&&c.canWrapX()&&!vt(x,t.extent)){const t=Bt(x),e=Math.max(Bt(v)/2,t);v[0]=x[0]-e,v[2]=x[2]+e,ci(m,c);const i=Yt(y[0],c);i[0]<x[0]&&i[2]<x[2]?y.push([i[0]+t,i[1],i[2]+t,i[3]]):i[0]>x[0]&&i[2]>x[2]&&y.push([i[0]-t,i[1],i[2]-t,i[3]])}if(this.ready&&this.renderedResolution_==u&&this.renderedRevision_==p&&this.renderedRenderOrder_==g&&vt(this.wrappedRenderedExtent_,v))return d(this.renderedExtent_,_)||(this.hitDetectionImageData_=null,this.renderedExtent_=_),this.renderedCenter_=m,this.replayGroupChanged=!1,!0;this.replayGroup_=null;const w=new Pc(Jc(u,h),v,u,h);let b;this.getLayer().getDeclutter()&&(b=new Pc(Jc(u,h),v,u,h));const C=Li();let E;if(C){for(let t=0,e=y.length;t<e;++t){const e=Di(y[t],c);i.loadFeatures(e,Fi(u,c),C)}E=Ti(C,c)}else for(let t=0,e=y.length;t<e;++t)i.loadFeatures(y[t],u,c);const S=function(t,e){const i=Jc(t,e);return i*i}(u,h);let T=!0;const k=t=>{let i;const n=t.getStyleFunction()||e.getStyleFunction();if(n&&(i=n(t,u)),i){const e=this.renderFeature(t,S,i,w,E,b);T=T&&!e}}
2,A=Di(v,c),M=i.getFeaturesInExtent(A);g&&M.sort(g);for(let t=0,e=M.length;t<e;++t)k(M[t]);this.renderedFeatures_=M,this.ready=T;const I=w.finish(),L=new Hc(v,u,h,i.getOverlaps(),I,e.getRenderBuffer());return b&&(this.declutterExecutorGroup=new Hc(v,u,h,i.getOverlaps(),b.finish(),e.getRenderBuffer())),this.renderedResolution_=u,this.renderedRevision_=p,this.renderedRenderOrder_=g,this.renderedExtent_=_,this.wrappedRenderedExtent_=v,this.renderedCenter_=m,this.renderedProjection_=c,this.replayGroup_=L,this.hitDetectionImageData_=null,this.replayGroupChanged=!0,!0}renderFeature(t,e,i,n,r,s){if(!i)return!1;let o=!1;if(Array.isArray(i))for(let a=0,l=i.length;a<l;++a)o=Qc(n,t,i[a],e,this.boundHandleStyleImageChange_,r,s)||o;else o=Qc(n,t,i,e,this.boundHandleStyleImageChange_,r,s);return o}};const iu=class extends gc{constructor(t){super(t)}createRenderer(){return new eu(this)}};var nu=i(699),ru=i.n(nu),su=i(379),ou=i.n(su),au=i(617),lu={insert:"head",singleton:!1};ou()(au.Z,lu);au.Z.locals;var cu=i(669),uu=i.n(cu);function hu(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===Object}function du(t={},e={}){Object.keys(e).forEach((i=>{void 0===t[i]?t[i]=e[i]:hu(e[i])&&hu(t[i])&&Object.keys(e[i]).length>0&&du(t[i],e[i])}))}const pu={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 fu(){const t="undefined"!=typeof document?document:{};return du(t,pu),t}const gu={document:pu,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 mu(){const t="undefined"!=typeof window?window:{};return du(t,gu),t}class vu extends Array{constructor(t){"number"==typeof t?super(t):(super(...t||[]),function(t){const e=t.__proto__;Object.defineProperty(t,"__proto__",{get:()=>e,set(t){e.__proto__=t}})}(this))}}function _u(t=[]){const e=[];return t.forEach((t=>{Array.isArray(t)?e.push(..._u(t)):e.push(t)})),e}function yu(t,e){return Array.prototype.filter.call(t,e)}function xu(t,e){const i=mu(),n=fu();let r=[];if(!e&&t instanceof vu)return t;if(!t)return new vu(r);if("string"==typeof t){const i=t.trim();if(i.indexOf("<")>=0&&i.indexOf(">")>=0){let t="div";0===i.indexOf("<li")&&(t="ul"),0===i.indexOf("<tr")&&(t="tbody"),0!==i.indexOf("<td")&&0!==i.indexOf("<th")||(t="tr"),0===i.indexOf("<tbody")&&(t="table"),0===i.indexOf("<option")&&(t="select");const e=n.createElement(t);e.innerHTML=i;for(let t=0;t<e.childNodes.length;t+=1)r.push(e.childNodes[t])}else r=function(t,e){if("string"!=typeof t)return[t];const i=[],n=e.querySelectorAll(t);for(let t=0;t<n.length;t+=1)i.push(n[t]);return i}(t.trim(),e||n)}else if(t.nodeType||t===i||t===n)r.push(t);else if(Array.isArray(t)){if(t instanceof vu)return t;r=t}return new vu(function(t){const e=[];for(let i=0;i<t.length;i+=1)-1===e.indexOf(t[i])&&e.push(t[i]);return e}(r))}xu.fn=vu.prototype;const wu="resize scroll".split(" ");function bu(t){return function(...e){if(void 0===e[0]){for(let e=0;e<this.length;e+=1)wu.indexOf(t)<0&&(t in this[e]?this[e][t]():xu(this[e]).trigger(t));return this}return this.on(t,...e)}}bu("click"),bu("blur"),bu("focus"),bu("focusin"),bu("focusout"),bu("keyup"),bu("keydown"),bu("keypress"),bu("submit"),bu("change"),bu("mousedown"),bu("mousemove"),bu("mouseup"),bu("mouseenter"),bu("mouseleave"),bu("mouseout"),bu("mouseover"),bu("touchstart"),bu("touchend"),bu("touchmove"),bu("resize"),bu("scroll");const Cu={addClass:function(...t){const e=_u(t.map((t=>t.split(" "))));return this.forEach((t=>{t.classList.add(...e)})),this},removeClass:function(...t){const e=_u(t.map((t=>t.split(" "))));return this.forEach((t=>{t.classList.remove(...e)})),this},hasClass:function(...t){const e=_u(t.map((t=>t.split(" "))));return yu(this,(t=>e.filter((e=>t.classList.contains(e))).length>0)).length>0},toggleClass:function(...t){const e=_u(t.map((t=>t.split(" "))));this.forEach((t=>{e.forEach((e=>{t.classList.toggle(e)}))}))},attr:function(t,e){if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(let i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(t,e);else for(const e in t)this[i][e]=t[e],this[i].setAttribute(e,t[e]);return this},removeAttr:function(t){for(let e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this},transform:function(t){for(let e=0;e<this.length;e+=1)this[e].style.transform=t;return this},transition:function(t){for(let e=0;e<this.length;e+=1)this[e].style.transitionDuration="string"!=typeof t?`${t}ms`:t;return this},on:function(...t){let[e,i,n,r]=t;function s(t){const e=t.target;if(!e)return;const r=t.target.dom7EventData||[];if(r.indexOf(t)<0&&r.unshift(t),xu(e).is(i))n.apply(e,r);else{const t=xu(e).parents();for(let e=0;e<t.length;e+=1)xu(t[e]).is(i)&&n.apply(t[e],r)}}function o(t){const e=t&&t.target&&t.target.dom7EventData||[];e.indexOf(t)<0&&e.unshift(t),n.apply(this,e)}"function"==typeof t[1]&&([e,n,r]=t,i=void 0),r||(r=!1);const a=e.split(" ");let l;for(let t=0;t<this.length;t+=1){const e=this[t];if(i)for(l=0;l<a.length;l+=1){const t=a[l];e.dom7LiveListeners||(e.dom7LiveListeners={}),e.dom7LiveListeners[t]||(e.dom7LiveListeners[t]=[]),e.dom7LiveListeners[t].push({listener:n,proxyListener:s}),e.addEventListener(t,s,r)}else for(l=0;l<a.length;l+=1){const t=a[l];e.dom7Listeners||(e.dom7Listeners={}),e.dom7Listeners[t]||(e.dom7Listeners[t]=[]),e.dom7Listeners[t].push({listener:n,proxyListener:o}),e.addEventListener(t,o,r)}}return this},off:function(...t){let[e,i,n,r]=t;"function"==typeof t[1]&&([e,n,r]=t,i=void 0),r||(r=!1);const s=e.split(" ");for(let t=0;t<s.length;t+=1){const e=s[t];for(let t=0;t<this.length;t+=1){const s=this[t];let o;if(!i&&s.dom7Listeners?o=s.dom7Listeners[e]:i&&s.dom7LiveListeners&&(o=s.dom7LiveListeners[e]),o&&o.length)for(let t=o.length-1;t>=0;t-=1){const i=o[t];n&&i.listener===n||n&&i.listener&&i.listener.dom7proxy&&i.listener.dom7proxy===n?(s.removeEventListener(e,i.proxyListener,r),o.splice(t,1)
vendor: 5,412 bytes, line 2
2):n||(s.removeEventListener(e,i.proxyListener,r),o.splice(t,1))}}}return this},trigger:function(...t){const e=mu(),i=t[0].split(" "),n=t[1];for(let r=0;r<i.length;r+=1){const s=i[r];for(let i=0;i<this.length;i+=1){const r=this[i];if(e.CustomEvent){const i=new e.CustomEvent(s,{detail:n,bubbles:!0,cancelable:!0});r.dom7EventData=t.filter(((t,e)=>e>0)),r.dispatchEvent(i),r.dom7EventData=[],delete r.dom7EventData}}}return this},transitionEnd:function(t){const e=this;return t&&e.on("transitionend",(function i(n){n.target===this&&(t.call(this,n),e.off("transitionend",i))})),this},outerWidth:function(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const t=mu();return this[0]?t.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const t=mu(),e=fu(),i=this[0],n=i.getBoundingClientRect(),r=e.body,s=i.clientTop||r.clientTop||0,o=i.clientLeft||r.clientLeft||0,a=i===t?t.scrollY:i.scrollTop,l=i===t?t.scrollX:i.scrollLeft;return{top:n.top+a-s,left:n.left+l-o}}return null},css:function(t,e){const i=mu();let n;if(1===arguments.length){if("string"!=typeof t){for(n=0;n<this.length;n+=1)for(const e in t)this[n].style[e]=t[e];return this}if(this[0])return i.getComputedStyle(this[0],null).getPropertyValue(t)}if(2===arguments.length&&"string"==typeof t){for(n=0;n<this.length;n+=1)this[n].style[t]=e;return this}return this},each:function(t){return t?(this.forEach(((e,i)=>{t.apply(e,[e,i])})),this):this},html:function(t){if(void 0===t)return this[0]?this[0].innerHTML:null;for(let e=0;e<this.length;e+=1)this[e].innerHTML=t;return this},text:function(t){if(void 0===t)return this[0]?this[0].textContent.trim():null;for(let e=0;e<this.length;e+=1)this[e].textContent=t;return this},is:function(t){const e=mu(),i=fu(),n=this[0];let r,s;if(!n||void 0===t)return!1;if("string"==typeof t){if(n.matches)return n.matches(t);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(t);if(n.msMatchesSelector)return n.msMatchesSelector(t);for(r=xu(t),s=0;s<r.length;s+=1)if(r[s]===n)return!0;return!1}if(t===i)return n===i;if(t===e)return n===e;if(t.nodeType||t instanceof vu){for(r=t.nodeType?[t]:t,s=0;s<r.length;s+=1)if(r[s]===n)return!0;return!1}return!1},index:function(){let t,e=this[0];if(e){for(t=0;null!==(e=e.previousSibling);)1===e.nodeType&&(t+=1);return t}},eq:function(t){if(void 0===t)return this;const e=this.length;if(t>e-1)return xu([]);if(t<0){const i=e+t;return xu(i<0?[]:[this[i]])}return xu([this[t]])},append:function(...t){let e;const i=fu();for(let n=0;n<t.length;n+=1){e=t[n];for(let t=0;t<this.length;t+=1)if("string"==typeof e){const n=i.createElement("div");for(n.innerHTML=e;n.firstChild;)this[t].appendChild(n.firstChild)}else if(e instanceof vu)for(let i=0;i<e.length;i+=1)this[t].appendChild(e[i]);else this[t].appendChild(e)}return this},prepend:function(t){const e=fu();let i,n;for(i=0;i<this.length;i+=1)if("string"==typeof t){const r=e.createElement("div");for(r.innerHTML=t,n=r.childNodes.length-1;n>=0;n-=1)this[i].insertBefore(r.childNodes[n],this[i].childNodes[0])}else if(t instanceof vu)for(n=0;n<t.length;n+=1)this[i].insertBefore(t[n],this[i].childNodes[0]);else this[i].insertBefore(t,this[i].childNodes[0]);return this},next:function(t){return this.length>0?t?this[0].nextElementSibling&&xu(this[0].nextElementSibling).is(t)?xu([this[0].nextElementSibling]):xu([]):this[0].nextElementSibling?xu([this[0].nextElementSibling]):xu([]):xu([])},nextAll:function(t){const e=[];let i=this[0];if(!i)return xu([]);for(;i.nextElementSibling;){const n=i.nextElementSibling;t?xu(n).is(t)&&e.push(n):e.push(n),i=n}return xu(e)},prev:function(t){if(this.length>0){const e=this[0];return t?e.previousElementSibling&&xu(e.previousElementSibling).is(t)?xu([e.previousElementSibling]):xu([]):e.previousElementSibling?xu([e.previousElementSibling]):xu([])}return xu([])},prevAll:function(t){const e=[];let i=this[0];if(!i)return xu([]);for(;i.previousElementSibling;){const n=i.previousElementSibling;t?xu(n).is(t)&&e.push(n):e.push(n),i=n}return xu(e)},parent:function(t){const e=[];for(let i=0;i<this.length;i+=1)null!==this[i].parentNode&&(t?xu(this[i].parentNode).is(t)&&e.push(this[i].parentNode):e.push(this[i].parentNode));return xu(e)},parents:function(t){const e=[];for(let i=0;i<this.length;i+=1){let n=this[i].parentNode;for(;n;)t?xu(n).is(t)&&e.push(n):e.push(n),n=n.parentNode}return xu(e)},closest:function(t){let e=this;return void 0===t?xu([]):(e.is(t)||(e=e.parents(t).eq(0)),e)},find:function(t){const e=[];for(let i=0;i<this.length;i+=1){const n=this[i].querySelectorAll(t);for(let t=0;t<n.length;t+=1)e.push(n[t])}return xu(e)},children:function(t){const e=[];for(let i=0;i<this.length;i+=1){const n=this[i].children;for(let i=0;i<n.length;i+=1)t&&!xu(n[i]).is(t)||e.push(n[i])}return xu(e)},filter:function(t){return xu(yu(this,t))},remove:function(){for(let t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this}};Object.keys(Cu).forEach((t=>{Object.defineProperty(xu.fn,t,{value:Cu[t],writable:!0})}
vendor: 16,684 bytes, line 2
2));const Eu=xu;function Su(t,e){return void 0===e&&(e=0),setTimeout(t,e)}function Tu(){return Date.now()}function ku(t,e){void 0===e&&(e="x");const i=mu();let n,r,s;const o=function(t){const e=mu();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}(t);return i.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((t=>t.replace(",","."))).join(", ")),s=new i.WebKitCSSMatrix("none"===r?"":r)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),"x"===e&&(r=i.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===e&&(r=i.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}function Au(t){return"object"==typeof t&&null!==t&&t.constructor&&"Object"===Object.prototype.toString.call(t).slice(8,-1)}function Mu(t){return"undefined"!=typeof window&&void 0!==window.HTMLElement?t instanceof HTMLElement:t&&(1===t.nodeType||11===t.nodeType)}function Iu(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const n=i<0||arguments.length<=i?void 0:arguments[i];if(null!=n&&!Mu(n)){const i=Object.keys(Object(n)).filter((t=>e.indexOf(t)<0));for(let e=0,r=i.length;e<r;e+=1){const r=i[e],s=Object.getOwnPropertyDescriptor(n,r);void 0!==s&&s.enumerable&&(Au(t[r])&&Au(n[r])?n[r].__swiper__?t[r]=n[r]:Iu(t[r],n[r]):!Au(t[r])&&Au(n[r])?(t[r]={},n[r].__swiper__?t[r]=n[r]:Iu(t[r],n[r])):t[r]=n[r])}}}return t}function Lu(t,e,i){t.style.setProperty(e,i)}function Pu(t){let{swiper:e,targetPosition:i,side:n}=t;const r=mu(),s=-e.translate;let o,a=null;const l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(e.cssModeFrameID);const c=i>s?"next":"prev",u=(t,e)=>"next"===c&&t>=e||"prev"===c&&t<=e,h=()=>{o=(new Date).getTime(),null===a&&(a=o);const t=Math.max(Math.min((o-a)/l,1),0),c=.5-Math.cos(t*Math.PI)/2;let d=s+c*(i-s);if(u(d,i)&&(d=i),e.wrapperEl.scrollTo({[n]:d}),u(d,i))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:d})})),void r.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=r.requestAnimationFrame(h)};h()}let Ru,Du,Ou;function Fu(){return Ru||(Ru=function(){const t=mu(),e=fu();return{smoothScroll:e.documentElement&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),passiveListener:function(){let e=!1;try{const i=Object.defineProperty({},"passive",{get(){e=!0}});t.addEventListener("testPassiveListener",null,i)}catch(t){}return e}(),gestures:"ongesturestart"in t}}()),Ru}function zu(t){return void 0===t&&(t={}),Du||(Du=function(t){let{userAgent:e}=void 0===t?{}:t;const i=Fu(),n=mu(),r=n.navigator.platform,s=e||n.navigator.userAgent,o={ios:!1,android:!1},a=n.screen.width,l=n.screen.height,c=s.match(/(Android);?[\s\/]+([\d.]+)?/);let u=s.match(/(iPad).*OS\s([\d_]+)/);const h=s.match(/(iPod)(.*OS\s([\d_]+))?/),d=!u&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===r;let f="MacIntel"===r;return!u&&f&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${l}`)>=0&&(u=s.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),f=!1),c&&!p&&(o.os="android",o.android=!0),(u||d||h)&&(o.os="ios",o.ios=!0),o}(t)),Du}function $u(){return Ou||(Ou=function(){const t=mu();return{isSafari:function(){const e=t.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}()),Ou}const Nu={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const r=i?"unshift":"push";return t.split(" ").forEach((t=>{n.eventsListeners[t]||(n.eventsListeners[t]=[]),n.eventsListeners[t][r](e)})),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;function r(){n.off(t,r),r.__emitterProxy&&delete r.__emitterProxy;for(var i=arguments.length,s=new Array(i),o=0;o<i;o++)s[o]=arguments[o];e.apply(n,s)}return r.__emitterProxy=e,n.on(t,r,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed?i:i.eventsListeners?(t.split(" ").forEach((t=>{void 0===e?i.eventsListeners[t]=[]:i.eventsListeners[t]&&i.eventsListeners[t].forEach(((n,r)=>{(n===e||n.__emitterProxy&&n.__emitterProxy===e)&&i.eventsListeners[t].splice(r,1)}))})),i):i},emit(){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let e,i,n;for(var r=arguments.length,s=new Array(r),o=0;o<r;o++)s[o]=arguments[o];"string"==typeof s[0]||Array.isArray(s[0])?(e=s[0],i=s.slice(1,s.length),n=t):(e=s[0].events,i=s[0].data,n=s[0].context||t),i.unshift(n);return(Array.isArray(e)?e:e.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(n,[e,...i])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((t=>{t.apply(n,i)}))})),t}};const ju={updateSize:function(){const t=this;let e,i;const n=t.$el;e=void 0!==t.params.width&&null!==t.params.width?t.params.width:n[0].clientWidth,i=void 0!==t.params.height&&null!==t.params.height?t.params.height:n[0].clientHeight,0===e&&t.isHorizontal()||0===i&&t.isVertical()||(e=e-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),i=i-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))},updateSlides:function(){const t=this;function e(e){return t.isHorizontal()?e:{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"}[e]}function i(t,i){return parseFloat(t.getPropertyValue(e(i))||0)}const n=t.params,{$wrapperEl:r,size:s,rtlTranslate:o,wrongRTL:a}=t,l=t.virtual&&n.virtual.enabled,c=l?t.virtual.slides.length:t.slides.length,u=r.children(`.${t.params.slideClass}`),h=l?t.virtual.slides.length:u.length;let d=[];const p=[],f=[];let g=n.slidesOffsetBefore;"function"==typeof g&&(g=n.slidesOffsetBefore.call(t));let m=n.slidesOffsetAfter;"function"==typeof m&&(m=n.slidesOffsetAfter.call(t));const v=t.snapGrid.length,_=t.slidesGrid.length;let y=n.spaceBetween,x=-g,w=0,b=0;if(void 0===s)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*s),t.virtualSize=-y,o?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&(Lu(t.wrapperEl,"--swiper-centered-offset-before",""),Lu(t.wrapperEl,"--swiper-centered-offset-after",""));const C=n.grid&&n.grid.rows>1&&t.grid;let E;C&&t.grid.initSlides(h);const S="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((t=>void 0!==n.breakpoints[t].slidesPerView)).length>0;for(let r=0;r<h;r+=1){E=0;const o=u.eq(r);if(C&&t.grid.updateSlide(r,o,h,e),"none"!==o.css("display")){if("auto"===n.slidesPerView){S&&(u[r].style[e("width")]="");const s=getComputedStyle(o[0]),a=o[0].style.transform,l=o[0].style.webkitTransform;if(a&&(o[0].style.transform="none"),l&&(o[0].style.webkitTransform="none"),n.roundLengths)E=t.isHorizontal()?o.outerWidth(!0):o.outerHeight(!0);else{const t=i(s,"width"),e=i(s,"padding-left"),n=i(s,"padding-right"),r=i(s,"margin-left"),a=i(s,"margin-right"),l=s.getPropertyValue("box-sizing");if(l&&"border-box"===l)E=t+r+a;else{const{clientWidth:i,offsetWidth:s}=o[0];E=t+e+n+r+a+(s-i)}}a&&(o[0].style.transform=a),l&&(o[0].style.webkitTransform=l),n.roundLengths&&(E=Math.floor(E))}else E=(s-(n.slidesPerView-1)*y)/n.slidesPerView,n.roundLengths&&(E=Math.floor(E)),u[r]&&(u[r].style[e("width")]=`${E}px`);u[r]&&(u[r].swiperSlideSize=E),f.push(E),n.centeredSlides?(x=x+E/2+w/2+y,0===w&&0!==r&&(x=x-s/2-y),0===r&&(x=x-s/2-y),Math.abs(x)<.001&&(x=0),n.roundLengths&&(x=Math.floor(x)),b%n.slidesPerGroup==0&&d.push(x),p.push(x)):(n.roundLengths&&(x=Math.floor(x)),(b-Math.min(t.params.slidesPerGroupSkip,b))%t.params.slidesPerGroup==0&&d.push(x),p.push(x),x=x+E+y),t.virtualSize+=E+y,w=E,b+=1}}if(t.virtualSize=Math.max(t.virtualSize,s)+m,o&&a&&("slide"===n.effect||"coverflow"===n.effect)&&r.css({width:`${t.virtualSize+n.spaceBetween}px`}),n.setWrapperSize&&r.css({[e("width")]:`${t.virtualSize+n.spaceBetween}px`}),C&&t.grid.updateWrapperSize(E,d,e),!n.centeredSlides){const e=[];for(let i=0;i<d.length;i+=1){let r=d[i];n.roundLengths&&(r=Math.floor(r)),d[i]<=t.virtualSize-s&&e.push(r)}d=e,Math.floor(t.virtualSize-s)-Math.floor(d[d.length-1])>1&&d.push(t.virtualSize-s)}if(0===d.length&&(d=[0]),0!==n.spaceBetween){const i=t.isHorizontal()&&o?"marginLeft":e("marginRight");u.filter(((t,e)=>!n.cssMode||e!==u.length-1)).css({[i]:`${y}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let t=0;f.forEach((e=>{t+=e+(n.spaceBetween?n.spaceBetween:0)})),t-=n.spaceBetween;const e=t-s;d=d.map((t=>t<0?-g:t>e?e+m:t))}if(n.centerInsufficientSlides){let t=0;if(f.forEach((e=>{t+=e+(n.spaceBetween?n.spaceBetween:0)})),t-=n.spaceBetween,t<s){const e=(s-t)/2;d.forEach(((t,i)=>{d[i]=t-e})),p.forEach(((t,i)=>{p[i]=t+e}))}}if(Object.assign(t,{slides:u,snapGrid:d,slidesGrid:p,slidesSizesGrid:f}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){Lu(t.wrapperEl,"--swiper-centered-offset-before",-d[0]+"px"),Lu(t.wrapperEl,"--swiper-centered-offset-after",t.size/2-f[f.length-1]/2+"px");const e=-t.snapGrid[0],i=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map((t=>t+e)),t.slidesGrid=t.slidesGrid.map((t=>t+i))}if(h!==c&&t.emit("slidesLengthChange"),d.length!==v&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==_&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const e=`${n.containerModifierClass}backface-hidden`,i=t.$el.hasClass(e);h<=n.maxBackfaceHiddenSlides?i||t.$el.addClass(e):i&&t.$el.removeClass(e)}},updateAutoHeight:function(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let r,s=0;"number"==typeof t?e.setTransition(t):!0===t&&e.setTransition(e.params.speed);const o=t=>n?e.slides.filter((e=>parseInt(e.getAttribute("data-swiper-slide-index"),10)===t))[0]:e.slides.eq(t)[0];if("auto"!==e.params.slidesPerView&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||Eu([])).each((t=>{i.push(t)}));else for(r=0;r<Math.ceil(e.params.slidesPerView);r+=1){const t=e.activeIndex+r;if(t>e.slides.length&&!n)break;i.push(o(t))}else i.push(o(e.activeIndex));for(r=0;r<i.length;r+=1)if(void 0!==i[r]){const t=i[r].offsetHeight;s=t>s?t:s}(s||0===s)&&e.$wrapperEl.css("height",`${s}px`)},updateSlidesOffset:function(){const t=this,e=t.slides;for(let i=0;i<e.length;i+=1)e[i].swiperSlideOffset=t.isHorizontal()?e[i].offsetLeft:e[i].offsetTop},updateSlidesProgress:function(t){void 0===t&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:r,snapGrid:s}=e;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&e.updateSlidesOffset();let o=-t;r&&(o=t),n.removeClass(i.slideVisibleClass),e.visibleSlidesIndexes=[],e.visibleSlides=[];for(let t=0;t<n.length;t+=1){const a=n[t];let l=a.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(l-=n[0].swiperSlideOffset);const c=(o+(i.centeredSlides?e.minTranslate():0)-l)/(a.swiperSlideSize+i.spaceBetween),u=(o-s[0]+(i.centeredSlides?e.minTranslate():0)-l)/(a.swiperSlideSize+i.spaceBetween),h=-(o-l),d=h+e.slidesSizesGrid[t];(h>=0&&h<e.size-1||d>1&&d<=e.size||h<=0&&d>=e.size)&&(e.visibleSlides.push(a),e.visibleSlidesIndexes.push(t),n.eq(t).addClass(i.slideVisibleClass)),a.progress=r?-c:c,a.originalProgress=r?-u:u}e.visibleSlides=Eu(e.visibleSlides)},updateProgress:function(t){const e=this;if(void 0===t){const i=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*i||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:s,isEnd:o}=e;const a=s,l=o;0===n?(r=0,s=!0,o=!0):(r=(t-e.minTranslate())/n,s=r<=0,o=r>=1),Object.assign(e,{progress:r,isBeginning:s,isEnd:o}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),s&&!a&&e.emit("reachBeginning toEdge"),o&&!l&&e.emit("reachEnd toEdge"),(a&&!s||l&&!o)&&e.emit("fromEdge"),e.emit("progress",r)},updateSlidesClasses:function(){const t=this,{slides:e,params:i,$wrapperEl:n,activeIndex:r,realIndex:s}=t,o=t.virtual&&i.virtual.enabled;let a;e.removeClass(`${i.slideActiveClass} ${i.slideNextClass} ${i.slidePrevClass} ${i.slideDuplicateActiveClass} ${i.slideDuplicateNextClass} ${i.slideDuplicatePrevClass}`),a=o?t.$wrapperEl.find(`.${i.slideClass}[data-swiper-slide-index="${r}"]`):e.eq(r),a.addClass(i.slideActiveClass),i.loop&&(a.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${s}"]`).addClass(i.slideDuplicateActiveClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${s}"]`).addClass(i.slideDuplicateActiveClass));let l=a.nextAll(`.${i.slideClass}`).eq(0).addClass(i.slideNextClass);i.loop&&0===l.length&&(l=e.eq(0),l.addClass(i.slideNextClass));let c=a.prevAll(`.${i.slideClass}`).eq(0).addClass(i.slidePrevClass);i.loop&&0===c.length&&(c=e.eq(-1),c.addClass(i.slidePrevClass)),i.loop&&(l.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass),c.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass)),t.emitSlidesClasses()},updateActiveIndex:function(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{slidesGrid:n,snapGrid:r,params:s,activeIndex:o,realIndex:a,snapIndex:l}=e;let c,u=t;if(void 0===u){for(let t=0;t<n.length;t+=1)void 0!==n[t+1]?i>=n[t]&&i<n[t+1]-(n[t+1]-n[t])/2?u=t:i>=n[t]&&i<n[t+1]&&(u=t+1):i>=n[t]&&(u=t);s.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(r.indexOf(i)>=0)c=r.indexOf(i);else{const t=Math.min(s.slidesPerGroupSkip,u);c=t+Math.floor((u-t)/s.slidesPerGroup)}if(c>=r.length&&(c=r.length-1),u===o)return void(c!==l&&(e.snapIndex=c,e.emit("snapIndexChange")));const h=parseInt(e.slides.eq(u).attr("data-swiper-slide-index")||u,10);Object.assign(e,{snapIndex:c,realIndex:h,previousIndex:o,activeIndex:u}),e.emit("activeIndexChange"),e.emit("snapIndexChange"),a!==h&&e.emit("realIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&e.emit("slideChange")},updateClickedSlide:function(t){const e=this,i=e.params,n=Eu(t).closest(`.${i.slideClass}`)[0];let r,s=!1;if(n)for(let t=0;t<e.slides.length;t+=1)if(e.slides[t]===n){s=!0,r=t;break}if(!n||!s)return e.clickedSlide=void 0,void(e.clickedIndex=void 0);e.clickedSlide=n,e.virtual&&e.params.virtual.enabled?e.clickedIndex=parseInt(Eu(n).attr("data-swiper-slide-index"),10):e.clickedIndex=r,i.slideToClickedSlide&&void 0!==e.clickedIndex&&e.clickedIndex!==e.activeIndex&&e.slideToClickedSlide()}};const Bu={getTranslate:function(t){void 0===t&&(t=this.isHorizontal()?"x":"y");const{params:e,rtlTranslate:i,translate:n,$wrapperEl:r}=this;if(e.virtualTranslate)return i?-n:n;if(e.cssMode)return n;let s=ku(r[0],t);return i&&(s=-s),s||0},setTranslate:function(t,e){const i=this,{rtlTranslate:n,params:r,$wrapperEl:s,wrapperEl:o,progress:a}=i;let l,c=0,u=0;i.isHorizontal()?c=n?-t:t:u=t,r.roundLengths&&(c=Math.floor(c),u=Math.floor(u)),r.cssMode?o[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-c:-u:r.virtualTranslate||s.transform(`translate3d(${c}
2px, ${u}px, 0px)`),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?c:u;const h=i.maxTranslate()-i.minTranslate();l=0===h?0:(t-i.minTranslate())/h,l!==a&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(t,e,i,n,r){void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);const s=this,{params:o,wrapperEl:a}=s;if(s.animating&&o.preventInteractionOnTransition)return!1;const l=s.minTranslate(),c=s.maxTranslate();let u;if(u=n&&t>l?l:n&&t<c?c:t,s.updateProgress(u),o.cssMode){const t=s.isHorizontal();if(0===e)a[t?"scrollLeft":"scrollTop"]=-u;else{if(!s.support.smoothScroll)return Pu({swiper:s,targetPosition:-u,side:t?"left":"top"}),!0;a.scrollTo({[t?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===e?(s.setTransition(0),s.setTranslate(u),i&&(s.emit("beforeTransitionStart",e,r),s.emit("transitionEnd"))):(s.setTransition(e),s.setTranslate(u),i&&(s.emit("beforeTransitionStart",e,r),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(t){s&&!s.destroyed&&t.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,i&&s.emit("transitionEnd"))}),s.$wrapperEl[0].addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd))),!0}};function Gu(t){let{swiper:e,runCallbacks:i,direction:n,step:r}=t;const{activeIndex:s,previousIndex:o}=e;let a=n;if(a||(a=s>o?"next":s<o?"prev":"reset"),e.emit(`transition${r}`),i&&s!==o){if("reset"===a)return void e.emit(`slideResetTransition${r}`);e.emit(`slideChangeTransition${r}`),"next"===a?e.emit(`slideNextTransition${r}`):e.emit(`slidePrevTransition${r}`)}}const Wu={slideTo:function(t,e,i,n,r){if(void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===i&&(i=!0),"number"!=typeof t&&"string"!=typeof t)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof t}] given.`);if("string"==typeof t){const e=parseInt(t,10);if(!isFinite(e))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${t}] given.`);t=e}const s=this;let o=t;o<0&&(o=0);const{params:a,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:h,rtlTranslate:d,wrapperEl:p,enabled:f}=s;if(s.animating&&a.preventInteractionOnTransition||!f&&!n&&!r)return!1;const g=Math.min(s.params.slidesPerGroupSkip,o);let m=g+Math.floor((o-g)/s.params.slidesPerGroup);m>=l.length&&(m=l.length-1),(h||a.initialSlide||0)===(u||0)&&i&&s.emit("beforeSlideChangeStart");const v=-l[m];if(s.updateProgress(v),a.normalizeSlideIndex)for(let t=0;t<c.length;t+=1){const e=-Math.floor(100*v),i=Math.floor(100*c[t]),n=Math.floor(100*c[t+1]);void 0!==c[t+1]?e>=i&&e<n-(n-i)/2?o=t:e>=i&&e<n&&(o=t+1):e>=i&&(o=t)}if(s.initialized&&o!==h){if(!s.allowSlideNext&&v<s.translate&&v<s.minTranslate())return!1;if(!s.allowSlidePrev&&v>s.translate&&v>s.maxTranslate()&&(h||0)!==o)return!1}let _;if(_=o>h?"next":o<h?"prev":"reset",d&&-v===s.translate||!d&&v===s.translate)return s.updateActiveIndex(o),a.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==a.effect&&s.setTranslate(v),"reset"!==_&&(s.transitionStart(i,_),s.transitionEnd(i,_)),!1;if(a.cssMode){const t=s.isHorizontal(),i=d?v:-v;if(0===e){const e=s.virtual&&s.params.virtual.enabled;e&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),p[t?"scrollLeft":"scrollTop"]=i,e&&requestAnimationFrame((()=>{s.wrapperEl.style.scrollSnapType="",s._swiperImmediateVirtual=!1}))}else{if(!s.support.smoothScroll)return Pu({swiper:s,targetPosition:i,side:t?"left":"top"}),!0;p.scrollTo({[t?"left":"top"]:i,behavior:"smooth"})}return!0}return s.setTransition(e),s.setTranslate(v),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",e,n),s.transitionStart(i,_),0===e?s.transitionEnd(i,_):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(t){s&&!s.destroyed&&t.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,_))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd)),!0}
vendor: 5,825 bytes, line 2
2,slideToLoop:function(t,e,i,n){if(void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===i&&(i=!0),"string"==typeof t){const e=parseInt(t,10);if(!isFinite(e))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${t}] given.`);t=e}const r=this;let s=t;return r.params.loop&&(s+=r.loopedSlides),r.slideTo(s,e,i,n)},slideNext:function(t,e,i){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);const n=this,{animating:r,enabled:s,params:o}=n;if(!s)return n;let a=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<o.slidesPerGroupSkip?1:a;if(o.loop){if(r&&o.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}return o.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+l,t,e,i)},slidePrev:function(t,e,i){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);const n=this,{params:r,animating:s,snapGrid:o,slidesGrid:a,rtlTranslate:l,enabled:c}=n;if(!c)return n;if(r.loop){if(s&&r.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}function u(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}const h=u(l?n.translate:-n.translate),d=o.map((t=>u(t)));let p=o[d.indexOf(h)-1];if(void 0===p&&r.cssMode){let t;o.forEach(((e,i)=>{h>=e&&(t=i)})),void 0!==t&&(p=o[t>0?t-1:t])}let f=0;if(void 0!==p&&(f=a.indexOf(p),f<0&&(f=n.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(f=f-n.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),r.rewind&&n.isBeginning){const r=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(r,t,e,i)}return n.slideTo(f,t,e,i)},slideReset:function(t,e,i){return void 0===t&&(t=this.params.speed),void 0===e&&(e=!0),this.slideTo(this.activeIndex,t,e,i)},slideToClosest:function(t,e,i,n){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0),void 0===n&&(n=.5);const r=this;let s=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[a]){const t=r.snapGrid[a];l-t>(r.snapGrid[a+1]-t)*n&&(s+=r.params.slidesPerGroup)}else{const t=r.snapGrid[a-1];l-t<=(r.snapGrid[a]-t)*n&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,t,e,i)},slideToClickedSlide:function(){const t=this,{params:e,$wrapperEl:i}=t,n="auto"===e.slidesPerView?t.slidesPerViewDynamic():e.slidesPerView;let r,s=t.clickedIndex;if(e.loop){if(t.animating)return;r=parseInt(Eu(t.clickedSlide).attr("data-swiper-slide-index"),10),e.centeredSlides?s<t.loopedSlides-n/2||s>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),s=i.children(`.${e.slideClass}[data-swiper-slide-index="${r}"]:not(.${e.slideDuplicateClass})`).eq(0).index(),Su((()=>{t.slideTo(s)}))):t.slideTo(s):s>t.slides.length-n?(t.loopFix(),s=i.children(`.${e.slideClass}[data-swiper-slide-index="${r}"]:not(.${e.slideDuplicateClass})`).eq(0).index(),Su((()=>{t.slideTo(s)}))):t.slideTo(s)}else t.slideTo(s)}};const qu={loopCreate:function(){const t=this,e=fu(),{params:i,$wrapperEl:n}=t,r=n.children().length>0?Eu(n.children()[0].parentNode):n;r.children(`.${i.slideClass}.${i.slideDuplicateClass}`).remove();let s=r.children(`.${i.slideClass}`);if(i.loopFillGroupWithBlank){const t=i.slidesPerGroup-s.length%i.slidesPerGroup;if(t!==i.slidesPerGroup){for(let n=0;n<t;n+=1){const t=Eu(e.createElement("div")).addClass(`${i.slideClass} ${i.slideBlankClass}`);r.append(t)}s=r.children(`.${i.slideClass}`)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=s.length),t.loopedSlides=Math.ceil(parseFloat(i.loopedSlides||i.slidesPerView,10)),t.loopedSlides+=i.loopAdditionalSlides,t.loopedSlides>s.length&&(t.loopedSlides=s.length);const o=[],a=[];s.each(((e,i)=>{const n=Eu(e);i<t.loopedSlides&&a.push(e),i<s.length&&i>=s.length-t.loopedSlides&&o.push(e),n.attr("data-swiper-slide-index",i)}));for(let t=0;t<a.length;t+=1)r.append(Eu(a[t].cloneNode(!0)).addClass(i.slideDuplicateClass));for(let t=o.length-1;t>=0;t-=1)r.prepend(Eu(o[t].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){const t=this;t.emit("beforeLoopFix");const{activeIndex:e,slides:i,loopedSlides:n,allowSlidePrev:r,allowSlideNext:s,snapGrid:o,rtlTranslate:a}=t;let l;t.allowSlidePrev=!0,t.allowSlideNext=!0;const c=-o[e]-t.getTranslate();if(e<n){l=i.length-3*n+e,l+=n;t.slideTo(l,0,!1,!0)&&0!==c&&t.setTranslate((a?-t.translate:t.translate)-c)}else if(e>=i.length-n){l=-i.length+e+n,l+=n;t.slideTo(l,0,!1,!0)&&0!==c&&t.setTranslate((a?-t.translate:t.translate)-c)}t.allowSlidePrev=r,t.allowSlideNext=s,t.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:t,params:e,slides:i}=this;t.children(`.${e.slideClass}.${e.slideDuplicateClass},.${e.slideClass}.${e.slideBlankClass}`).remove(),i.removeAttr("data-swiper-slide-index")}};function Yu(t){const e=this,i=fu(),n=mu(),r=e.touchEventsData,{params:s,touches:o,enabled:a}=e;if(!a)return;if(e.animating&&s.preventInteractionOnTransition)return;!e.animating&&s.cssMode&&s.loop&&e.loopFix();let l=t;l.originalEvent&&(l=l.originalEvent);let c=Eu(l.target);if("wrapper"===s.touchEventsTarget&&!c.closest(e.wrapperEl).length)return;if(r.isTouchEvent="touchstart"===l.type,!r.isTouchEvent&&"which"in l&&3===l.which)return;if(!r.isTouchEvent&&"button"in l&&l.button>0)return;if(r.isTouched&&r.isMoved)return;!!s.noSwipingClass&&""!==s.noSwipingClass&&l.target&&l.target.shadowRoot&&t.path&&t.path[0]&&(c=Eu(t.path[0]));const u=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,h=!(!l.target||!l.target.shadowRoot);if(s.noSwiping&&(h?function(t,e){return void 0===e&&(e=this),function e(i){if(!i||i===fu()||i===mu())return null;i.assignedSlot&&(i=i.assignedSlot);
vendor: 4,533 bytes, line 2
2const n=i.closest(t);return n||i.getRootNode?n||e(i.getRootNode().host):null}(e)}(u,c[0]):c.closest(u)[0]))return void(e.allowClick=!0);if(s.swipeHandler&&!c.closest(s.swipeHandler)[0])return;o.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,o.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;const d=o.currentX,p=o.currentY,f=s.edgeSwipeDetection||s.iOSEdgeSwipeDetection,g=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;if(f&&(d<=g||d>=n.innerWidth-g)){if("prevent"!==f)return;t.preventDefault()}if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=d,o.startY=p,r.touchStartTime=Tu(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,s.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==l.type){let t=!0;c.is(r.focusableElements)&&(t=!1,"SELECT"===c[0].nodeName&&(r.isTouched=!1)),i.activeElement&&Eu(i.activeElement).is(r.focusableElements)&&i.activeElement!==c[0]&&i.activeElement.blur();const n=t&&e.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!n||c[0].isContentEditable||l.preventDefault()}e.params.freeMode&&e.params.freeMode.enabled&&e.freeMode&&e.animating&&!s.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",l)}function Xu(t){const e=fu(),i=this,n=i.touchEventsData,{params:r,touches:s,rtlTranslate:o,enabled:a}=i;if(!a)return;let l=t;if(l.originalEvent&&(l=l.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",l));if(n.isTouchEvent&&"touchmove"!==l.type)return;const c="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),u="touchmove"===l.type?c.pageX:l.pageX,h="touchmove"===l.type?c.pageY:l.pageY;if(l.preventedByNestedSwiper)return s.startX=u,void(s.startY=h);if(!i.allowTouchMove)return Eu(l.target).is(n.focusableElements)||(i.allowClick=!1),void(n.isTouched&&(Object.assign(s,{startX:u,startY:h,currentX:u,currentY:h}),n.touchStartTime=Tu()));if(n.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(i.isVertical()){if(h<s.startY&&i.translate<=i.maxTranslate()||h>s.startY&&i.translate>=i.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(u<s.startX&&i.translate<=i.maxTranslate()||u>s.startX&&i.translate>=i.minTranslate())return;if(n.isTouchEvent&&e.activeElement&&l.target===e.activeElement&&Eu(l.target).is(n.focusableElements))return n.isMoved=!0,void(i.allowClick=!1);if(n.allowTouchCallbacks&&i.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;s.currentX=u,s.currentY=h;const d=s.currentX-s.startX,p=s.currentY-s.startY;if(i.params.threshold&&Math.sqrt(d**2+p**2)<i.params.threshold)return;if(void 0===n.isScrolling){let t;i.isHorizontal()&&s.currentY===s.startY||i.isVertical()&&s.currentX===s.startX?n.isScrolling=!1:d*d+p*p>=25&&(t=180*Math.atan2(Math.abs(p),Math.abs(d))/Math.PI,n.isScrolling=i.isHorizontal()?t>r.touchAngle:90-t>r.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",l),void 0===n.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;i.allowClick=!1,!r.cssMode&&l.cancelable&&l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation(),n.isMoved||(r.loop&&!r.cssMode&&i.loopFix(),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!r.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",l)),i.emit("sliderMove",l),n.isMoved=!0;let f=i.isHorizontal()?d:p;s.diff=f,f*=r.touchRatio,o&&(f=-f),i.swipeDirection=f>0?"prev":"next",n.currentTranslate=f+n.startTranslate;let g=!0,m=r.resistanceRatio;if(r.touchReleaseOnEdges&&(m=0),f>0&&n.currentTranslate>i.minTranslate()?(g=!1,r.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+f)**m)):f<0&&n.currentTranslate<i.maxTranslate()&&(g=!1,r.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-f)**m)),g&&(l.preventedByNestedSwiper=!0),!i.allowSlideNext&&"next"===i.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&"prev"===i.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),i.allowSlidePrev||i.allowSlideNext||(n.currentTranslate=n.startTranslate),r.threshold>0){if(!(Math.abs(f)>r.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);
vendor: 17,641 bytes, line 2
2if(!n.allowThresholdMove)return n.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,n.currentTranslate=n.startTranslate,void(s.diff=i.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&i.freeMode||r.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),i.params.freeMode&&r.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function Hu(t){const e=this,i=e.touchEventsData,{params:n,touches:r,rtlTranslate:s,slidesGrid:o,enabled:a}=e;if(!a)return;let l=t;if(l.originalEvent&&(l=l.originalEvent),i.allowTouchCallbacks&&e.emit("touchEnd",l),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);const c=Tu(),u=c-i.touchStartTime;if(e.allowClick){const t=l.path||l.composedPath&&l.composedPath();e.updateClickedSlide(t&&t[0]||l.target),e.emit("tap click",l),u<300&&c-i.lastClickTime<300&&e.emit("doubleTap doubleClick",l)}if(i.lastClickTime=Tu(),Su((()=>{e.destroyed||(e.allowClick=!0)})),!i.isTouched||!i.isMoved||!e.swipeDirection||0===r.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let h;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,h=n.followFinger?s?e.translate:-e.translate:-i.currentTranslate,n.cssMode)return;if(e.params.freeMode&&n.freeMode.enabled)return void e.freeMode.onTouchEnd({currentPos:h});let d=0,p=e.slidesSizesGrid[0];for(let t=0;t<o.length;t+=t<n.slidesPerGroupSkip?1:n.slidesPerGroup){const e=t<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==o[t+e]?h>=o[t]&&h<o[t+e]&&(d=t,p=o[t+e]-o[t]):h>=o[t]&&(d=t,p=o[o.length-1]-o[o.length-2])}let f=null,g=null;n.rewind&&(e.isBeginning?g=e.params.virtual&&e.params.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(f=0));const m=(h-o[d])/p,v=d<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(u>n.longSwipesMs){if(!n.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&(m>=n.longSwipesRatio?e.slideTo(n.rewind&&e.isEnd?f:d+v):e.slideTo(d)),"prev"===e.swipeDirection&&(m>1-n.longSwipesRatio?e.slideTo(d+v):null!==g&&m<0&&Math.abs(m)>n.longSwipesRatio?e.slideTo(g):e.slideTo(d))}else{if(!n.shortSwipes)return void e.slideTo(e.activeIndex);e.navigation&&(l.target===e.navigation.nextEl||l.target===e.navigation.prevEl)?l.target===e.navigation.nextEl?e.slideTo(d+v):e.slideTo(d):("next"===e.swipeDirection&&e.slideTo(null!==f?f:d+v),"prev"===e.swipeDirection&&e.slideTo(null!==g?g:d))}}function Uu(){const t=this,{params:e,el:i}=t;if(i&&0===i.offsetWidth)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:r,snapGrid:s}=t;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.run(),t.allowSlidePrev=r,t.allowSlideNext=n,t.params.watchOverflow&&s!==t.snapGrid&&t.checkOverflow()}function Vu(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Ku(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;let r;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();const s=t.maxTranslate()-t.minTranslate();r=0===s?0:(t.translate-t.minTranslate())/s,r!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}let Zu=!1;function Ju(){}const Qu=(t,e)=>{const i=fu(),{params:n,touchEvents:r,el:s,wrapperEl:o,device:a,support:l}=t,c=!!n.nested,u="on"===e?"addEventListener":"removeEventListener",h=e;if(l.touch){const e=!("touchstart"!==r.start||!l.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};s[u](r.start,t.onTouchStart,e),s[u](r.move,t.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),s[u](r.end,t.onTouchEnd,e),r.cancel&&s[u](r.cancel,t.onTouchEnd,e)}else s[u](r.start,t.onTouchStart,!1),i[u](r.move,t.onTouchMove,c),i[u](r.end,t.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&s[u]("click",t.onClick,!0),n.cssMode&&o[u]("scroll",t.onScroll),n.updateOnWindowResize?t[h](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Uu,!0):t[h]("observerUpdate",Uu,!0)};const th={attachEvents:function(){const t=this,e=fu(),{params:i,support:n}=t;t.onTouchStart=Yu.bind(t),t.onTouchMove=Xu.bind(t),t.onTouchEnd=Hu.bind(t),i.cssMode&&(t.onScroll=Ku.bind(t)),t.onClick=Vu.bind(t),n.touch&&!Zu&&(e.addEventListener("touchstart",Ju),Zu=!0),Qu(t,"on")},detachEvents:function(){Qu(this,"off")}},eh=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;const ih={setBreakpoint:function(){const t=this,{activeIndex:e,initialized:i,loopedSlides:n=0,params:r,$el:s}=t,o=r.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const a=t.getBreakpoint(o,t.params.breakpointsBase,t.el);if(!a||t.currentBreakpoint===a)return;const l=(a in o?o[a]:void 0)||t.originalParams,c=eh(t,r),u=eh(t,l),h=r.enabled;c&&!u?(s.removeClass(`${r.containerModifierClass}grid ${r.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&u&&(s.addClass(`${r.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===r.grid.fill)&&s.addClass(`${r.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((e=>{const i=r[e]&&r[e].enabled,n=l[e]&&l[e].enabled;i&&!n&&t[e].disable(),!i&&n&&t[e].enable()}));const d=l.direction&&l.direction!==r.direction,p=r.loop&&(l.slidesPerView!==r.slidesPerView||d);d&&i&&t.changeDirection(),Iu(t.params,l);const f=t.params.enabled;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),h&&!f?t.disable():!h&&f&&t.enable(),t.currentBreakpoint=a,t.emit("_beforeBreakpoint",l),p&&i&&(t.loopDestroy(),t.loopCreate(),t.updateSlides(),t.slideTo(e-n+t.loopedSlides,0,!1)),t.emit("breakpoint",l)},getBreakpoint:function(t,e,i){if(void 0===e&&(e="window"),!t||"container"===e&&!i)return;let n=!1;const r=mu(),s="window"===e?r.innerHeight:i.clientHeight,o=Object.keys(t).map((t=>{if("string"==typeof t&&0===t.indexOf("@")){const e=parseFloat(t.substr(1));return{value:s*e,point:t}}return{value:t,point:t}}));o.sort(((t,e)=>parseInt(t.value,10)-parseInt(e.value,10)));for(let t=0;t<o.length;t+=1){const{point:s,value:a}=o[t];"window"===e?r.matchMedia(`(min-width: ${a}px)`).matches&&(n=s):a<=i.clientWidth&&(n=s)}return n||"max"}};const nh={addClasses:function(){const t=this,{classNames:e,params:i,rtl:n,$el:r,device:s,support:o}=t,a=function(t,e){const i=[];return t.forEach((t=>{"object"==typeof t?Object.keys(t).forEach((n=>{t[n]&&i.push(e+n)})):"string"==typeof t&&i.push(e+t)})),i}(["initialized",i.direction,{"pointer-events":!o.touch},{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...a),r.addClass([...e].join(" ")),t.emitContainerClasses()},removeClasses:function(){const{$el:t,classNames:e}=this;t.removeClass(e.join(" ")),this.emitContainerClasses()}};const rh={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!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-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function sh(t,e){return function(i){void 0===i&&(i={});const n=Object.keys(i)[0],r=i[n];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===t[n]&&(t[n]={auto:!0}),n in t&&"enabled"in r?(!0===t[n]&&(t[n]={enabled:!0}),"object"!=typeof t[n]||"enabled"in t[n]||(t[n].enabled=!0),t[n]||(t[n]={enabled:!1}),Iu(e,i)):Iu(e,i)):Iu(e,i)}}const oh={eventsEmitter:Nu,update:ju,translate:Bu,transition:{setTransition:function(t,e){const i=this;i.params.cssMode||i.$wrapperEl.transition(t),i.emit("setTransition",t,e)},transitionStart:function(t,e){void 0===t&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Gu({swiper:i,runCallbacks:t,direction:e,step:"Start"}))},transitionEnd:function(t,e){void 0===t&&(t=!0);const i=this,{params:n}=i;i.animating=!1,n.cssMode||(i.setTransition(0),Gu({swiper:i,runCallbacks:t,direction:e,step:"End"}))}},slide:Wu,loop:qu,grabCursor:{setGrabCursor:function(t){const e=this;if(e.support.touch||!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i="container"===e.params.touchEventsTarget?e.el:e.wrapperEl;i.style.cursor="move",i.style.cursor=t?"grabbing":"grab"},unsetGrabCursor:function(){const t=this;t.support.touch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t["container"===t.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:th,breakpoints:ih,checkOverflow:{checkOverflow:function(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const e=t.slides.length-1,i=t.slidesGrid[e]+t.slidesSizesGrid[e]+2*n;t.isLocked=t.size>i}else t.isLocked=1===t.snapGrid.length;!0===i.allowSlideNext&&(t.allowSlideNext=!t.isLocked),!0===i.allowSlidePrev&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}},classes:nh,images:{loadImage:function(t,e,i,n,r,s){const o=mu();let a;function l(){s&&s()}Eu(t).parent("picture")[0]||t.complete&&r?l():e?(a=new o.Image,a.onload=l,a.onerror=l,n&&(a.sizes=n),i&&(a.srcset=i),e&&(a.src=e)):l()},preloadImages:function(){const t=this;function e(){null!=t&&t&&!t.destroyed&&(void 0!==t.imagesLoaded&&(t.imagesLoaded+=1),t.imagesLoaded===t.imagesToLoad.length&&(t.params.updateOnImagesReady&&t.update(),t.emit("imagesReady")))}t.imagesToLoad=t.$el.find("img");for(let i=0;i<t.imagesToLoad.length;i+=1){const n=t.imagesToLoad[i];t.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,e)}}}},ah={};class lh{constructor(){let t,e;for(var i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];if(1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?e=n[0]:[t,e]=n,e||(e={}),e=Iu({},e),t&&!e.el&&(e.el=t),e.el&&Eu(e.el).length>1){const t=[];return Eu(e.el).each((i=>{const n=Iu({},e,{el:i});t.push(new lh(n))})),t}const s=this;s.__swiper__=!0,s.support=Fu(),s.device=zu({userAgent:e.userAgent}),s.browser=$u(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],e.modules&&Array.isArray(e.modules)&&s.modules.push(...e.modules);const o={};s.modules.forEach((t=>{t({swiper:s,extendParams:sh(e,o),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})}));const a=Iu({},rh,o);return s.params=Iu({},a,ah,e),s.originalParams=Iu({},s.params),s.passedParams=Iu({},e),s.params&&s.params.on&&Object.keys(s.params.on).forEach((t=>{s.on(t,s.params.on[t])})),s.params&&s.params.onAny&&s.onAny(s.params.onAny),s.$=Eu,Object.assign(s,{enabled:s.params.enabled,el:t,classNames:[],slides:Eu(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===s.params.direction,isVertical:()=>"vertical"===s.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEvents:function(){const t=["touchstart","touchmove","touchend","touchcancel"],e=["pointerdown","pointermove","pointerup"];return s.touchEventsTouch={start:t[0],move:t[1],end:t[2],cancel:t[3]},s.touchEventsDesktop={start:e[0],move:e[1],end:e[2]},s.support.touch||!s.params.simulateTouch?s.touchEventsTouch:s.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:Tu(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,e){const i=this;t=Math.min(Math.max(t,0),1);const n=i.minTranslate(),r=(i.maxTranslate()-n)*t+n;i.translateTo(r,void 0===e?0:e),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=t.el.className.split(" ").filter((e=>0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass)));t.emit("_containerClasses",e.join(" "))}getSlideClasses(t){const e=this;return e.destroyed?"":t.className.split(" ").filter((t=>0===t.indexOf("swiper-slide")||0===t.indexOf(e.params.slideClass))).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=[];t.slides.each((i=>{const 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);const{params:i,slides:n,slidesGrid:r,slidesSizesGrid:s,size:o,activeIndex:a}=this;let l=1;if(i.centeredSlides){let t,e=n[a].swiperSlideSize;for(let i=a+1;i<n.length;i+=1)n[i]&&!t&&(e+=n[i].swiperSlideSize,l+=1,e>o&&(t=!0));for(let i=a-1;i>=0;i-=1)n[i]&&!t&&(e+=n[i].swiperSlideSize,l+=1,e>o&&(t=!0))}else if("current"===t)for(let t=a+1;t<n.length;t+=1){(e?r[t]+s[t]-r[a]<o:r[t]-r[a]<o)&&(l+=1)}else for(let t=a-1;t>=0;t-=1){r[a]-r[t]<o&&(l+=1)}return l}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:e,params:i}=t;function n(){const e=t.rtlTranslate?-1*t.translate:t.translate,i=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(i),t.updateActiveIndex(),t.updateSlidesClasses()}let r;i.breakpoints&&t.setBreakpoint(),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.params.freeMode&&t.params.freeMode.enabled?(n(),t.params.autoHeight&&t.updateAutoHeight()):(r=("auto"===t.params.slidesPerView||t.params.slidesPerView>1)&&t.isEnd&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),r||n()),i.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,e){void 0===e&&(e=!0);const i=this,n=i.params.direction;return t||(t="horizontal"===n?"vertical":"horizontal"),t===n||"horizontal"!==t&&"vertical"!==t||(i.$el.removeClass(`${i.params.containerModifierClass}${n}`).addClass(`${i.params.containerModifierClass}${t}`),i.emitContainerClasses(),i.params.direction=t,i.slides.each((e=>{"vertical"===t?e.style.width="":e.style.height=""})),i.emit("changeDirection"),e&&i.update()),i}changeLanguageDirection(t){const e=this;e.rtl&&"rtl"===t||!e.rtl&&"ltr"===t||(e.rtl="rtl"===t,e.rtlTranslate="horizontal"===e.params.direction&&e.rtl,e.rtl?(e.$el.addClass(`${e.params.containerModifierClass}rtl`),e.el.dir="rtl"):(e.$el.removeClass(`${e.params.containerModifierClass}
2rtl`),e.el.dir="ltr"),e.update())}mount(t){const e=this;if(e.mounted)return!0;const i=Eu(t||e.params.el);if(!(t=i[0]))return!1;t.swiper=e;const n=()=>`.${(e.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(t&&t.shadowRoot&&t.shadowRoot.querySelector){const e=Eu(t.shadowRoot.querySelector(n()));return e.children=t=>i.children(t),e}return i.children?i.children(n()):Eu(i).children(n())})();if(0===r.length&&e.params.createElements){const t=fu().createElement("div");r=Eu(t),t.className=e.params.wrapperClass,i.append(t),i.children(`.${e.params.slideClass}`).each((t=>{r.append(t)}))}return Object.assign(e,{$el:i,el:t,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===i.css("direction"),rtlTranslate:"horizontal"===e.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===i.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0}init(t){const e=this;if(e.initialized)return e;return!1===e.mount(t)||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.enabled&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit,!1,!0):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit,!1,!0),e.attachEvents(),e.initialized=!0,e.emit("init"),e.emit("afterInit")),e}destroy(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0);const i=this,{params:n,$el:r,$wrapperEl:s,slides:o}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),e&&(i.removeClasses(),r.removeAttr("style"),s.removeAttr("style"),o&&o.length&&o.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((t=>{i.off(t)})),!1!==t&&(i.$el[0].swiper=null,function(t){const e=t;Object.keys(e).forEach((t=>{try{e[t]=null}catch(t){}try{delete e[t]}catch(t){}}))}(i)),i.destroyed=!0),null}static extendDefaults(t){Iu(ah,t)}static get extendedDefaults(){return ah}static get defaults(){return rh}static installModule(t){lh.prototype.__modules__||(lh.prototype.__modules__=[]);const e=lh.prototype.__modules__;"function"==typeof t&&e.indexOf(t)<0&&e.push(t)}static use(t){return Array.isArray(t)?(t.forEach((t=>lh.installModule(t))),lh):(lh.installModule(t),lh)}}Object.keys(oh).forEach((t=>{Object.keys(oh[t]).forEach((e=>{lh.prototype[e]=oh[t][e]}))})),lh.use([function(t){let{swiper:e,on:i,emit:n}=t;const r=mu();let s=null,o=null;const a=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},l=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};i("init",(()=>{e.params.resizeObserver&&void 0!==r.ResizeObserver?e&&!e.destroyed&&e.initialized&&(s=new ResizeObserver((t=>{o=r.requestAnimationFrame((()=>{const{width:i,height:n}=e;let r=i,s=n;t.forEach((t=>{let{contentBoxSize:i,contentRect:n,target:o}=t;o&&o!==e.el||(r=n?n.width:(i[0]||i).inlineSize,s=n?n.height:(i[0]||i).blockSize)})),r===i&&s===n||a()}))})),s.observe(e.el)):(r.addEventListener("resize",a),r.addEventListener("orientationchange",l))})),i("destroy",(()=>{o&&r.cancelAnimationFrame(o),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null),r.removeEventListener("resize",a),r.removeEventListener("orientationchange",l)}))},function(t){let{swiper:e,extendParams:i,on:n,emit:r}=t;const s=[],o=mu(),a=function(t,e){void 0===e&&(e={});const i=new(o.MutationObserver||o.WebkitMutationObserver)((t=>{if(1===t.length)return void r("observerUpdate",t[0]);const e=function(){r("observerUpdate",t[0])};o.requestAnimationFrame?o.requestAnimationFrame(e):o.setTimeout(e,0)}));i.observe(t,{attributes:void 0===e.attributes||e.attributes,childList:void 0===e.childList||e.childList,characterData:void 0===e.characterData||e.characterData}),s.push(i)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e<t.length;e+=1)a(t[e])}a(e.$el[0],{childList:e.params.observeSlideChildren}),a(e.$wrapperEl[0],{attributes:!1})}})),n("destroy",(()=>
vendor: 2,099 bytes, line 2
2{s.forEach((t=>{t.disconnect()})),s.splice(0,s.length)}))}]);const ch=lh;function uh(t,e,i,n){const r=fu();return t.params.createElements&&Object.keys(n).forEach((s=>{if(!i[s]&&!0===i.auto){let o=t.$el.children(`.${n[s]}`)[0];o||(o=r.createElement("div"),o.className=n[s],t.$el.append(o)),i[s]=o,e[s]=o}})),i}function hh(t){return void 0===t&&(t=""),`.${t.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function dh(t){const e=this,{$wrapperEl:i,params:n}=e;if(n.loop&&e.loopDestroy(),"object"==typeof t&&"length"in t)for(let e=0;e<t.length;e+=1)t[e]&&i.append(t[e]);else i.append(t);n.loop&&e.loopCreate(),n.observer||e.update()}function ph(t){const e=this,{params:i,$wrapperEl:n,activeIndex:r}=e;i.loop&&e.loopDestroy();let s=r+1;if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&n.prepend(t[e]);s=r+t.length}else n.prepend(t);i.loop&&e.loopCreate(),i.observer||e.update(),e.slideTo(s,0,!1)}function fh(t,e){const i=this,{$wrapperEl:n,params:r,activeIndex:s}=i;let o=s;r.loop&&(o-=i.loopedSlides,i.loopDestroy(),i.slides=n.children(`.${r.slideClass}`));const a=i.slides.length;if(t<=0)return void i.prependSlide(e);if(t>=a)return void i.appendSlide(e);let l=o>t?o+1:o;const c=[];for(let e=a-1;e>=t;e-=1){const t=i.slides.eq(e);t.remove(),c.unshift(t)}if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&n.append(e[t]);l=o>t?o+e.length:o}else n.append(e);for(let t=0;t<c.length;t+=1)n.append(c[t]);r.loop&&i.loopCreate(),r.observer||i.update(),r.loop?i.slideTo(l+i.loopedSlides,0,!1):i.slideTo(l,0,!1)}function gh(t){const e=this,{params:i,$wrapperEl:n,activeIndex:r}=e;let s=r;i.loop&&(s-=e.loopedSlides,e.loopDestroy(),e.slides=n.children(`.${i.slideClass}`));let o,a=s;if("object"==typeof t&&"length"in t){for(let i=0;i<t.length;i+=1)o=t[i],e.slides[o]&&e.slides.eq(o).remove(),o<a&&(a-=1);a=Math.max(a,0)}else o=t,e.slides[o]&&e.slides.eq(o).remove(),o<a&&(a-=1),a=Math.max(a,0);i.loop&&e.loopCreate(),i.observer||e.update(),i.loop?e.slideTo(a+e.loopedSlides,0,!1):e.slideTo(a,0,!1)}function mh(){const t=this,e=[];for(let i=0;i<t.slides.length;
2i+=1)e.push(i);t.removeSlide(e)}function vh(t){const{effect:e,swiper:i,on:n,setTranslate:r,setTransition:s,overwriteParams:o,perspective:a,recreateShadows:l,getEffectParams:c}=t;let u;n("beforeInit",(()=>{if(i.params.effect!==e)return;i.classNames.push(`${i.params.containerModifierClass}${e}`),a&&a()&&i.classNames.push(`${i.params.containerModifierClass}3d`);const t=o?o():{};Object.assign(i.params,t),Object.assign(i.originalParams,t)})),n("setTranslate",(()=>{i.params.effect===e&&r()})),n("setTransition",((t,n)=>{i.params.effect===e&&s(n)})),n("transitionEnd",(()=>{if(i.params.effect===e&&l){if(!c||!c().slideShadows)return;i.slides.each((t=>{i.$(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),l()}})),n("virtualUpdate",(()=>{i.params.effect===e&&(i.slides.length||(u=!0),requestAnimationFrame((()=>{u&&i.slides&&i.slides.length&&(r(),u=!1)})))}))}function _h(t,e){return t.transformEl?e.find(t.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):e}function yh(t){let{swiper:e,duration:i,transformEl:n,allSlides:r}=t;const{slides:s,activeIndex:o,$wrapperEl:a}=e;if(e.params.virtualTranslate&&0!==i){let t,i=!1;t=r?n?s.find(n):s:n?s.eq(o).find(n):s.eq(o),t.transitionEnd((()=>{if(i)return;if(!e||e.destroyed)return;i=!0,e.animating=!1;const t=["webkitTransitionEnd","transitionend"];for(let e=0;e<t.length;e+=1)a.trigger(t[e])}))}}function xh(t,e,i){const n="swiper-slide-shadow"+(i?`-${i}`:""),r=t.transformEl?e.find(t.transformEl):e;let s=r.children(`.${n}`);return s.length||(s=Eu(`<div class="swiper-slide-shadow${i?`-${i}`:""}"></div>`),r.append(s)),s}const wh=[function(t){let e,{swiper:i,extendParams:n,on:r,emit:s}=t;function o(t,e){const n=i.params.virtual;if(n.cache&&i.virtual.cache[e])return i.virtual.cache[e];const r=n.renderSlide?Eu(n.renderSlide.call(i,t,e)):Eu(`<div class="${i.params.slideClass}" data-swiper-slide-index="${e}">${t}</div>`);return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",e),n.cache&&(i.virtual.cache[e]=r),r}function a(t){const{slidesPerView:e,slidesPerGroup:n,centeredSlides:r}=i.params,{addSlidesBefore:a,addSlidesAfter:l}=i.params.virtual,{from:c,to:u,slides:h,slidesGrid:d,offset:p}=i.virtual;i.params.cssMode||i.updateActiveIndex();const f=i.activeIndex||0;let g,m,v;g=i.rtlTranslate?"right":i.isHorizontal()?"left":"top",r?(m=Math.floor(e/2)+n+l,v=Math.floor(e/2)+n+a):(m=e+(n-1)+l,v=n+a);const _=Math.max((f||0)-v,0),y=Math.min((f||0)+m,h.length-1),x=(i.slidesGrid[_]||0)-(i.slidesGrid[0]||0);function w(){i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),i.lazy&&i.params.lazy.enabled&&i.lazy.load(),s("virtualUpdate")}if(Object.assign(i.virtual,{from:_,to:y,offset:x,slidesGrid:i.slidesGrid}),c===_&&u===y&&!t)return i.slidesGrid!==d&&x!==p&&i.slides.css(g,`${x}px`),i.updateProgress(),void s("virtualUpdate");if(i.params.virtual.renderExternal)return i.params.virtual.renderExternal.call(i,{offset:x,from:_,to:y,slides:function(){const t=[];for(let e=_;e<=y;e+=1)t.push(h[e]);return t}()}),void(i.params.virtual.renderExternalUpdate?w():s("virtualUpdate"));const b=[],C=[];if(t)i.$wrapperEl.find(`.${i.params.slideClass}`).remove();else for(let t=c;t<=u;t+=1)(t<_||t>y)&&i.$wrapperEl.find(`.${i.params.slideClass}[data-swiper-slide-index="${t}"]`).remove();for(let e=0;e<h.length;e+=1)e>=_&&e<=y&&(void 0===u||t?C.push(e):(e>u&&C.push(e),e<c&&b.push(e)));C.forEach((t=>{i.$wrapperEl.append(o(h[t],t))})),b.sort(((t,e)=>e-t)).forEach((t=>{i.$wrapperEl.prepend(o(h[t],t))})),i.$wrapperEl.children(".swiper-slide").css(g,`${x}px`),w()}n({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),i.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},r("beforeInit",(()=>{i.params.virtual.enabled&&(i.virtual.slides=i.params.virtual.slides,i.classNames.push(`${i.params.containerModifierClass}virtual`),i.params.watchSlidesProgress=!0,i.originalParams.watchSlidesProgress=!0,i.params.initialSlide||a())})),r("setTranslate",(()=>{i.params.virtual.enabled&&(i.params.cssMode&&!i._immediateVirtual?(clearTimeout(e),e=setTimeout((()=>{a()}),100)):a())})),r("init update resize",(()=>{i.params.virtual.enabled&&i.params.cssMode&&Lu(i.wrapperEl,"--swiper-virtual-size",`${i.virtualSize}px`)})),Object.assign(i.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let e=0;e<t.length;e+=1)t[e]&&i.virtual.slides.push(t[e]);else i.virtual.slides.push(t);a(!0)},prependSlide:function(t){const e=i.activeIndex;let n=e+1,r=1;if(Array.isArray(t)){for(let e=0;e<t.length;e+=1)t[e]&&i.virtual.slides.unshift(t[e]);n=e+t.length,r=t.length}else i.virtual.slides.unshift(t);if(i.params.virtual.cache){const t=i.virtual.cache,e={};Object.keys(t).forEach((i=>{const n=t[i],s=n.attr("data-swiper-slide-index");s&&n.attr("data-swiper-slide-index",parseInt(s,10)+r),e[parseInt(i,10)+r]=n})),i.virtual.cache=e}a(!0),i.slideTo(n,0)},removeSlide:function(t){if(null==t)return;let e=i.activeIndex;if(Array.isArray(t))for(let n=t.length-1;n>=0;
vendor: 8,079 bytes, line 2
2n-=1)i.virtual.slides.splice(t[n],1),i.params.virtual.cache&&delete i.virtual.cache[t[n]],t[n]<e&&(e-=1),e=Math.max(e,0);else i.virtual.slides.splice(t,1),i.params.virtual.cache&&delete i.virtual.cache[t],t<e&&(e-=1),e=Math.max(e,0);a(!0),i.slideTo(e,0)},removeAllSlides:function(){i.virtual.slides=[],i.params.virtual.cache&&(i.virtual.cache={}),a(!0),i.slideTo(0,0)},update:a})},function(t){let{swiper:e,extendParams:i,on:n,emit:r}=t;const s=fu(),o=mu();function a(t){if(!e.enabled)return;const{rtlTranslate:i}=e;let n=t;n.originalEvent&&(n=n.originalEvent);const a=n.keyCode||n.charCode,l=e.params.keyboard.pageUpDown,c=l&&33===a,u=l&&34===a,h=37===a,d=39===a,p=38===a,f=40===a;if(!e.allowSlideNext&&(e.isHorizontal()&&d||e.isVertical()&&f||u))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&h||e.isVertical()&&p||c))return!1;if(!(n.shiftKey||n.altKey||n.ctrlKey||n.metaKey||s.activeElement&&s.activeElement.nodeName&&("input"===s.activeElement.nodeName.toLowerCase()||"textarea"===s.activeElement.nodeName.toLowerCase()))){if(e.params.keyboard.onlyInViewport&&(c||u||h||d||p||f)){let t=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&0===e.$el.parents(`.${e.params.slideActiveClass}`).length)return;const n=e.$el,r=n[0].clientWidth,s=n[0].clientHeight,a=o.innerWidth,l=o.innerHeight,c=e.$el.offset();i&&(c.left-=e.$el[0].scrollLeft);const u=[[c.left,c.top],[c.left+r,c.top],[c.left,c.top+s],[c.left+r,c.top+s]];for(let e=0;e<u.length;e+=1){const i=u[e];if(i[0]>=0&&i[0]<=a&&i[1]>=0&&i[1]<=l){if(0===i[0]&&0===i[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((c||u||h||d)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),((u||d)&&!i||(c||h)&&i)&&e.slideNext(),((c||h)&&!i||(u||d)&&i)&&e.slidePrev()):((c||u||p||f)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),(u||f)&&e.slideNext(),(c||p)&&e.slidePrev()),r("keyPress",a)}}function l(){e.keyboard.enabled||(Eu(s).on("keydown",a),e.keyboard.enabled=!0)}function c(){e.keyboard.enabled&&(Eu(s).off("keydown",a),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},i({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),n("init",(()=>{e.params.keyboard.enabled&&l()})),n("destroy",(()=>{e.keyboard.enabled&&c()})),Object.assign(e.keyboard,{enable:l,disable:c})},function(t){let{swiper:e,extendParams:i,on:n,emit:r}=t;const s=mu();let o;i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let a,l=Tu();const c=[];function u(){e.enabled&&(e.mouseEntered=!0)}function h(){e.enabled&&(e.mouseEntered=!1)}function d(t){return!(e.params.mousewheel.thresholdDelta&&t.delta<e.params.mousewheel.thresholdDelta)&&(!(e.params.mousewheel.thresholdTime&&Tu()-l<e.params.mousewheel.thresholdTime)&&(t.delta>=6&&Tu()-l<60||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),r("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),r("scroll",t.raw)),l=(new s.Date).getTime(),!1)))}function p(t){let i=t,n=!0;if(!e.enabled)return;const s=e.params.mousewheel;e.params.cssMode&&i.preventDefault();let l=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(l=Eu(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!l[0].contains(i.target)&&!s.releaseOnEdges)return!0;i.originalEvent&&(i=i.originalEvent);let u=0;const h=e.rtlTranslate?-1:1,p=function(t){let e=0,i=0,n=0,r=0;return"detail"in t&&(i=t.detail),"wheelDelta"in t&&(i=-t.wheelDelta/120),"wheelDeltaY"in t&&(i=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=i,i=0),n=10*e,r=10*i,"deltaY"in t&&(r=t.deltaY),"deltaX"in t&&(n=t.deltaX),t.shiftKey&&!n&&(n=r,r=0),(n||r)&&t.deltaMode&&(1===t.deltaMode?(n*=40,r*=40):(n*=800,r*=800)),n&&!e&&(e=n<1?-1:1),r&&!i&&(i=r<1?-1:1),{spinX:e,spinY:i,pixelX:n,pixelY:r}}(i);if(s.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(p.pixelX)>Math.abs(p.pixelY)))return!0;u=-p.pixelX*h}else{if(!(Math.abs(p.pixelY)>Math.abs(p.pixelX)))return!0;u=-p.pixelY}else u=Math.abs(p.pixelX)>Math.abs(p.pixelY)?-p.pixelX*h:-p.pixelY;if(0===u)return!0;s.invert&&(u=-u);let f=e.getTranslate()+u*s.sensitivity;if(f>=e.minTranslate()&&(f=e.minTranslate()),f<=e.maxTranslate()&&(f=e.maxTranslate()),n=!!e.params.loop||!(f===e.minTranslate()||f===e.maxTranslate()),n&&e.params.nested&&i.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:Tu(),delta:Math.abs(u),direction:Math.sign(u)},n=a&&t.time<a.time+500&&t.delta<=a.delta&&t.direction===a.direction;if(!n){a=void 0,e.params.loop&&e.loopFix();let l=e.getTranslate()+u*s.sensitivity;const h=e.isBeginning,d=e.isEnd;if(l>=e.minTranslate()&&(l=e.minTranslate()),l<=e.maxTranslate()&&(l=e.maxTranslate()),e.setTransition(0),e.setTranslate(l),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!h&&e.isBeginning||!d&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(o),o=void 0,c.length>=15&&c.shift();const i=c.length?c[c.length-1]:void 0,n=c[0];if(c.push(t),i&&(t.delta>i.delta||t.direction!==i.direction))c.splice(0);else if(c.length>=15&&t.time-n.time<500&&n.delta-t.delta>=1&&t.delta<=6){const i=u>0?.8:.2;a=t,c.splice(0),o=Su((()=>{e.slideToClosest(e.params.speed,!0,void 0,i)}),0)}o||(o=Su((()=>{a=t,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)}),500))}if(n||r("scroll",i),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),l===e.minTranslate()||l===e.maxTranslate())return!0}}else{const i={time:Tu(),delta:Math.abs(u),direction:Math.sign(u),raw:t};c.length>=2&&c.shift();const n=c.length?c[c.length-1]:void 0;if(c.push(i),n?(i.direction!==n.direction||i.delta>n.delta||i.time>n.time+150)&&d(i):d(i),function(t){const i=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&i.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&i.releaseOnEdges)return!0;return!1}(i))return!0}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1}function f(t){let i=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(i=Eu(e.params.mousewheel.eventsTarget)),i[t]("mouseenter",u),i[t]("mouseleave",h),i[t]("wheel",p)}function g(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",p),!0):!e.mousewheel.enabled&&(f("on"),e.mousewheel.enabled=!0,!0)}function m(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,p),!0):!!e.mousewheel.enabled&&(f("off"),e.mousewheel.enabled=!1,!0)}n("init",(()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&m(),e.params.mousewheel.enabled&&g()})),n("destroy",(()=>{e.params.cssMode&&g(),e.mousewheel.enabled&&m()})),Object.assign(e.mousewheel,{enable:g,disable:m})},function(t){let{swiper:e,extendParams:i,on:n,emit:r}=t;function s(t){let i;return t&&(i=Eu(t),e.params.uniqueNavElements&&"string"==typeof t&&i.length>1&&1===e.$el.find(t).length&&(i=e.$el.find(t))),i}function o(t,i){const n=e.params.navigation;t&&t.length>0&&(t[i?"addClass":"removeClass"](n.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=i),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](n.lockClass))}function a(){if(e.params.loop)return;const{$nextEl:t,$prevEl:i}=e.navigation;o(i,e.isBeginning&&!e.params.rewind),o(t,e.isEnd&&!e.params.rewind)}function l(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function c(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function u(){const t=e.params.navigation;if(e.params.navigation=uh(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const i=s(t.nextEl),n=s(t.prevEl);i&&i.length>0&&i.on("click",c),n&&n.length>0&&n.on("click",l),Object.assign(e.navigation,{$nextEl:i,nextEl:i&&i[0],$prevEl:n,prevEl:n&&n[0]}),e.enabled||(i&&i.addClass(t.lockClass),n&&n.addClass(t.lockClass))}function h(){const{$nextEl:t,$prevEl:i}=e.navigation;t&&t.length&&(t.off("click",c),t.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("
2click",l),i.removeClass(e.params.navigation.disabledClass))}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,$nextEl:null,prevEl:null,$prevEl:null},n("init",(()=>{!1===e.params.navigation.enabled?d():(u(),a())})),n("toEdge fromEdge lock unlock",(()=>{a()})),n("destroy",(()=>{h()})),n("enable disable",(()=>{const{$nextEl:t,$prevEl:i}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),i&&i[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),n("click",((t,i)=>{const{$nextEl:n,$prevEl:s}=e.navigation,o=i.target;if(e.params.navigation.hideOnClick&&!Eu(o).is(s)&&!Eu(o).is(n)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===o||e.pagination.el.contains(o)))return;let t;n?t=n.hasClass(e.params.navigation.hiddenClass):s&&(t=s.hasClass(e.params.navigation.hiddenClass)),r(!0===t?"navigationShow":"navigationHide"),n&&n.toggleClass(e.params.navigation.hiddenClass),s&&s.toggleClass(e.params.navigation.hiddenClass)}}));const d=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),h()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),u(),a()},disable:d,update:a,init:u,destroy:h})},function(t){let{swiper:e,extendParams:i,on:n,emit:r}=t;const s="swiper-pagination";let o;i({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:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let a=0;function l(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function c(t,i){const{bulletActiveClass:n}=e.params.pagination;t[i]().addClass(`${n}-${i}`)[i]().addClass(`${n}-${i}-${i}`)}function u(){const t=e.rtl,i=e.params.pagination;if(l())return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,s=e.pagination.$el;let u;const h=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),u>n-1-2*e.loopedSlides&&(u-=n-2*e.loopedSlides),u>h-1&&(u-=h),u<0&&"bullets"!==e.params.paginationType&&(u=h+u)):u=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const n=e.pagination.bullets;let r,l,h;if(i.dynamicBullets&&(o=n.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),s.css(e.isHorizontal()?"width":"height",o*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==e.previousIndex&&(a+=u-(e.previousIndex-e.loopedSlides||0),a>i.dynamicMainBullets-1?a=i.dynamicMainBullets-1:a<0&&(a=0)),r=Math.max(u-a,0),l=r+(Math.min(n.length,i.dynamicMainBullets)-1),h=(l+r)/2),n.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((t=>`${i.bulletActiveClass}${t}`)).join(" ")),s.length>1)n.each((t=>{const e=Eu(t),n=e.index();n===u&&e.addClass(i.bulletActiveClass),i.dynamicBullets&&(n>=r&&n<=l&&e.addClass(`${i.bulletActiveClass}-main`),n===r&&c(e,"prev"),n===l&&c(e,"next"))}));else{const t=n.eq(u),s=t.index();if(t.addClass(i.bulletActiveClass),i.dynamicBullets){const t=n.eq(r),o=n.eq(l);for(let t=r;t<=l;t+=1)n.eq(t).addClass(`${i.bulletActiveClass}-main`);if(e.params.loop)if(s>=n.length){for(let t=i.dynamicMainBullets;t>=0;t-=1)n.eq(n.length-t).addClass(`${i.bulletActiveClass}-main`);n.eq(n.length-i.dynamicMainBullets-1).addClass(`${i.bulletActiveClass}-prev`)}else c(t,"prev"),c(o,"next");else c(t,"prev"),c(o,"next")}}if(i.dynamicBullets){const r=Math.min(n.length,i.dynamicMainBullets+4),s=(o*r-o)/2-h*o,a=t?"right":"left";n.css(e.isHorizontal()?a:"top",`${s}px`)}}
vendor: 13,380 bytes, line 2
2if("fraction"===i.type&&(s.find(hh(i.currentClass)).text(i.formatFractionCurrent(u+1)),s.find(hh(i.totalClass)).text(i.formatFractionTotal(h))),"progressbar"===i.type){let t;t=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const n=(u+1)/h;let r=1,o=1;"horizontal"===t?r=n:o=n,s.find(hh(i.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${o})`).transition(e.params.speed)}"custom"===i.type&&i.renderCustom?(s.html(i.renderCustom(e,u+1,h)),r("paginationRender",s[0])):r("paginationUpdate",s[0]),e.params.watchOverflow&&e.enabled&&s[e.isLocked?"addClass":"removeClass"](i.lockClass)}function h(){const t=e.params.pagination;if(l())return;const i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,n=e.pagination.$el;let s="";if("bullets"===t.type){let r=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&r>i&&(r=i);for(let i=0;i<r;i+=1)t.renderBullet?s+=t.renderBullet.call(e,i,t.bulletClass):s+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;n.html(s),e.pagination.bullets=n.find(hh(t.bulletClass))}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,n.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,n.html(s)),"custom"!==t.type&&r("paginationRender",e.pagination.$el[0])}function d(){e.params.pagination=uh(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let i=Eu(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&(i=e.$el.find(t.el),i.length>1&&(i=i.filter((t=>Eu(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),i.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(`${t.modifierClass}${t.type}-dynamic`),a=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click",hh(t.bulletClass),(function(t){t.preventDefault();let i=Eu(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),Object.assign(e.pagination,{$el:i,el:i[0]}),e.enabled||i.addClass(t.lockClass))}function p(){const t=e.params.pagination;if(l())return;const i=e.pagination.$el;i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),i.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click",hh(t.bulletClass))}n("init",(()=>{!1===e.params.pagination.enabled?f():(d(),h(),u())})),n("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&u()})),n("snapIndexChange",(()=>{e.params.loop||u()})),n("slidesLengthChange",(()=>{e.params.loop&&(h(),u())})),n("snapGridLengthChange",(()=>{e.params.loop||(h(),u())})),n("destroy",(()=>{p()})),n("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),n("lock unlock",(()=>{u()})),n("click",((t,i)=>{const n=i.target,{$el:s}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&s&&s.length>0&&!Eu(n).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&n===e.navigation.nextEl||e.navigation.prevEl&&n===e.navigation.prevEl))return;const t=s.hasClass(e.params.pagination.hiddenClass);r(!0===t?"paginationShow":"paginationHide"),s.toggleClass(e.params.pagination.hiddenClass)}}));const f=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),p()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),d(),h(),u()},disable:f,render:h,update:u,init:d,destroy:p})},function(t){let{swiper:e,extendParams:i,on:n,emit:r}=t;const s=fu();let o,a,l,c,u=!1,h=null,d=null;function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:i,progress:n}=e,{$dragEl:r,$el:s}=t,o=e.params.scrollbar;let c=a,u=(l-a)*n;i?(u=-u,u>0?(c=a-u,u=0):-u+a>l&&(c=l+u)):u<0?(c=a+u,u=0):u+a>l&&(c=l-u),e.isHorizontal()?(r.transform(`translate3d(${u}px, 0, 0)`),r[0].style.width=`${c}px`):(r.transform(`translate3d(0px, ${u}px, 0)`),r[0].style.height=`${c}px`),o.hide&&(clearTimeout(h),s[0].style.opacity=1,h=setTimeout((()=>{s[0].style.opacity=0,s.transition(400)}),1e3))}function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:i,$el:n}=t;i[0].style.width="",i[0].style.height="",l=e.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,c=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),a="auto"===e.params.scrollbar.dragSize?l*c:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?i[0].style.width=`${a}px`:i[0].style.height=`${a}px`,n[0].style.display=c>=1?"none":"",e.params.scrollbar.hide&&(n[0].style.opacity=0),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}function g(t){return e.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY}function m(t){const{scrollbar:i,rtlTranslate:n}=e,{$el:r}=i;let s;s=(g(t)-r.offset()[e.isHorizontal()?"left":"top"]-(null!==o?o:a/2))/(l-a),s=Math.max(Math.min(s,1),0),n&&(s=1-s);const c=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*s;e.updateProgress(c),e.setTranslate(c),e.updateActiveIndex(),e.updateSlidesClasses()}function v(t){const i=e.params.scrollbar,{scrollbar:n,$wrapperEl:s}=e,{$el:a,$dragEl:l}=n;u=!0,o=t.target===l[0]||t.target===l?g(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),s.transition(100),l.transition(100),m(t),clearTimeout(d),a.transition(0),i.hide&&a.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),r("scrollbarDragStart",t)}function _(t){const{scrollbar:i,$wrapperEl:n}=e,{$el:s,$dragEl:o}=i;u&&(t.preventDefault?t.preventDefault():t.returnValue=!1,m(t),n.transition(0),s.transition(0),o.transition(0),r("scrollbarDragMove",t))}function y(t){const i=e.params.scrollbar,{scrollbar:n,$wrapperEl:s}=e,{$el:o}=n;u&&(u=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),s.transition("")),i.hide&&(clearTimeout(d),d=Su((()=>{o.css("opacity",0),o.transition(400)}),1e3)),r("scrollbarDragEnd",t),i.snapOnRelease&&e.slideToClosest())}function x(t){const{scrollbar:i,touchEventsTouch:n,touchEventsDesktop:r,params:o,support:a}=e,l=i.$el;if(!l)return;const c=l[0],u=!(!a.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},h=!(!a.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1};if(!c)return;const d="on"===t?"addEventListener":"removeEventListener";a.touch?(c[d](n.start,v,u),c[d](n.move,_,u),c[d](n.end,y,h)):(c[d](r.start,v,u),s[d](r.move,_,u),s[d](r.end,y,h))}function w(){const{scrollbar:t,$el:i}=e;e.params.scrollbar=uh(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const n=e.params.scrollbar;if(!n.el)return;let r=Eu(n.el);e.params.uniqueNavElements&&"string"==typeof n.el&&r.length>1&&1===i.find(n.el).length&&(r=i.find(n.el)),r.addClass(e.isHorizontal()?n.horizontalClass:n.verticalClass);let s=r.find(`.${e.params.scrollbar.dragClass}`);0===s.length&&(s=Eu(`<div class="${e.params.scrollbar.dragClass}"></div>`),r.append(s)),Object.assign(t,{$el:r,el:r[0],$dragEl:s,dragEl:s[0]}),n.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&x("on"),r&&r[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}function b(){const t=e.params.scrollbar,i=e.scrollbar.$el;i&&i.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.params.scrollbar.el&&e.scrollbar.el&&x("off")}i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},n("init",(()=>{!1===e.params.scrollbar.enabled?C():(w(),f(),p())})),n("update resize observerUpdate lock unlock",(()=>{f()})),n("setTranslate",(()=>{p()})),n("setTransition",((t,i)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&e.scrollbar.$dragEl.transition(t)}(i)})),n("enable disable",(()=>{const{$el:t}=e.scrollbar;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)})),n("destroy",(()=>{b()}));const C=()=>{e.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),b()};Object.assign(e.scrollbar,{enable:()=>{e.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),w(),f(),p()},disable:C,updateSize:f,setTranslate:p,init:w,destroy:b})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({parallax:{enabled:!1}});const r=(t,i)=>{const{rtl:n}=e,r=Eu(t),s=n?-1:1,o=r.attr("data-swiper-parallax")||"0";let a=r.attr("data-swiper-parallax-x"),l=r.attr("data-swiper-parallax-y");const c=r.attr("data-swiper-parallax-scale"),u=r.attr("data-swiper-parallax-opacity");if(a||l?(a=a||"0",l=l||"0"):e.isHorizontal()?(a=o,l="0"):(l=o,a="0"),a=a.indexOf("%")>=0?parseInt(a,10)*i*s+"%":a*i*s+"px",l=l.indexOf("%")>=0?parseInt(l,10)*i+"%":l*i+"px",null!=u){const t=u-(u-1)*(1-Math.abs(i));r[0].style.opacity=t}if(null==c)r.transform(`translate3d(${a}, ${l}, 0px)`);else{const t=c-(c-1)*(1-Math.abs(i));r.transform(`translate3d(${a}, ${l}, 0px) scale(${t})`)}},s=()=>{const{$el:t,slides:i,progress:n,snapGrid:s}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t=>{r(t,n)})),i.each(((t,i)=>{let o=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(o+=Math.ceil(i/2)-n*(s.length-1)),o=Math.min(Math.max(o,-1),1),Eu(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t=>{r(t,o)}))}))};n("beforeInit",(()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)})),n("init",(()=>{e.params.parallax.enabled&&s()})),n("setTranslate",(()=>{e.params.parallax.enabled&&s()})),n("setTransition",((t,i)=>{e.params.parallax.enabled&&function(t){void 0===t&&(t=e.params.speed);const{$el:i}=e;i.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{const i=Eu(e);let n=parseInt(i.attr("data-swiper-parallax-duration"),10)||t;0===t&&(n=0),i.transition(n)}))}(i)}))},function(t){let{swiper:e,extendParams:i,on:n,emit:r}=t;const s=mu();i({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let o,a,l,c=1,u=!1;const h={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},d={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},p={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let f=1;function g(t){if(t.targetTouches.length<2)return 1;const e=t.targetTouches[0].pageX,i=t.targetTouches[0].pageY,n=t.targetTouches[1].pageX,r=t.targetTouches[1].pageY;return Math.sqrt((n-e)**2+(r-i)**2)}function m(t){const i=e.support,n=e.params.zoom;if(a=!1,l=!1,!i.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;a=!0,h.scaleStart=g(t)}h.$slideEl&&h.$slideEl.length||(h.$slideEl=Eu(t.target).closest(`.${e.params.slideClass}`),0===h.$slideEl.length&&(h.$slideEl=e.slides.eq(e.activeIndex)),h.$imageEl=h.$slideEl.find(`.${n.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${n.containerClass}`),h.maxRatio=h.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==h.$imageWrapEl.length)?(h.$imageEl&&h.$imageEl.transition(0),u=!0):h.$imageEl=void 0}function v(t){const i=e.support,n=e.params.zoom,r=e.zoom;if(!i.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;l=!0,h.scaleMove=g(t)}h.$imageEl&&0!==h.$imageEl.length?(i.gestures?r.scale=t.scale*c:r.scale=h.scaleMove/h.scaleStart*c,r.scale>h.maxRatio&&(r.scale=h.maxRatio-1+(r.scale-h.maxRatio+1)**.5),r.scale<n.minRatio&&(r.scale=n.minRatio+1-(n.minRatio-r.scale+1)**.5),h.$imageEl.transform(`translate3d(0,
20,0) scale(${r.scale})`)):"gesturechange"===t.type&&m(t)}function _(t){const i=e.device,n=e.support,r=e.params.zoom,s=e.zoom;if(!n.gestures){if(!a||!l)return;if("touchend"!==t.type||"touchend"===t.type&&t.changedTouches.length<2&&!i.android)return;a=!1,l=!1}h.$imageEl&&0!==h.$imageEl.length&&(s.scale=Math.max(Math.min(s.scale,h.maxRatio),r.minRatio),h.$imageEl.transition(e.params.speed).transform(`translate3d(0,0,0) scale(${s.scale})`),c=s.scale,u=!1,1===s.scale&&(h.$slideEl=void 0))}function y(t){const i=e.zoom;if(!h.$imageEl||0===h.$imageEl.length)return;if(e.allowClick=!1,!d.isTouched||!h.$slideEl)return;d.isMoved||(d.width=h.$imageEl[0].offsetWidth,d.height=h.$imageEl[0].offsetHeight,d.startX=ku(h.$imageWrapEl[0],"x")||0,d.startY=ku(h.$imageWrapEl[0],"y")||0,h.slideWidth=h.$slideEl[0].offsetWidth,h.slideHeight=h.$slideEl[0].offsetHeight,h.$imageWrapEl.transition(0));const n=d.width*i.scale,r=d.height*i.scale;if(!(n<h.slideWidth&&r<h.slideHeight)){if(d.minX=Math.min(h.slideWidth/2-n/2,0),d.maxX=-d.minX,d.minY=Math.min(h.slideHeight/2-r/2,0),d.maxY=-d.minY,d.touchesCurrent.x="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,d.touchesCurrent.y="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,!d.isMoved&&!u){if(e.isHorizontal()&&(Math.floor(d.minX)===Math.floor(d.startX)&&d.touchesCurrent.x<d.touchesStart.x||Math.floor(d.maxX)===Math.floor(d.startX)&&d.touchesCurrent.x>d.touchesStart.x))return void(d.isTouched=!1);if(!e.isHorizontal()&&(Math.floor(d.minY)===Math.floor(d.startY)&&d.touchesCurrent.y<d.touchesStart.y||Math.floor(d.maxY)===Math.floor(d.startY)&&d.touchesCurrent.y>d.touchesStart.y))return void(d.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),d.isMoved=!0,d.currentX=d.touchesCurrent.x-d.touchesStart.x+d.startX,d.currentY=d.touchesCurrent.y-d.touchesStart.y+d.startY,d.currentX<d.minX&&(d.currentX=d.minX+1-(d.minX-d.currentX+1)**.8),d.currentX>d.maxX&&(d.currentX=d.maxX-1+(d.currentX-d.maxX+1)**.8),d.currentY<d.minY&&(d.currentY=d.minY+1-(d.minY-d.currentY+1)**.8),d.currentY>d.maxY&&(d.currentY=d.maxY-1+(d.currentY-d.maxY+1)**.8),p.prevPositionX||(p.prevPositionX=d.touchesCurrent.x),p.prevPositionY||(p.prevPositionY=d.touchesCurrent.y),p.prevTime||(p.prevTime=Date.now()),p.x=(d.touchesCurrent.x-p.prevPositionX)/(Date.now()-p.prevTime)/2,p.y=(d.touchesCurrent.y-p.prevPositionY)/(Date.now()-p.prevTime)/2,Math.abs(d.touchesCurrent.x-p.prevPositionX)<2&&(p.x=0),Math.abs(d.touchesCurrent.y-p.prevPositionY)<2&&(p.y=0),p.prevPositionX=d.touchesCurrent.x,p.prevPositionY=d.touchesCurrent.y,p.prevTime=Date.now(),h.$imageWrapEl.transform(`translate3d(${d.currentX}px, ${d.currentY}px,0)`)}}function x(){const t=e.zoom;h.$slideEl&&e.previousIndex!==e.activeIndex&&(h.$imageEl&&h.$imageEl.transform("translate3d(0,0,0) scale(1)"),h.$imageWrapEl&&h.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,c=1,h.$slideEl=void 0,h.$imageEl=void 0,h.$imageWrapEl=void 0)}function w(t){const i=e.zoom,n=e.params.zoom;if(h.$slideEl||(t&&t.target&&(h.$slideEl=Eu(t.target).closest(`.${e.params.slideClass}`)),h.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):h.$slideEl=e.slides.eq(e.activeIndex)),h.$imageEl=h.$slideEl.find(`.${n.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${n.containerClass}`)),!h.$imageEl||0===h.$imageEl.length||!h.$imageWrapEl||0===h.$imageWrapEl.length)return;let r,o,a,l,u,p,f,g,m,v,_,y,x,w,b,C,E,S;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),h.$slideEl.addClass(`${n.zoomedSlideClass}`),void 0===d.touchesStart.x&&t?(r="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,o="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(r=d.touchesStart.x,o=d.touchesStart.y),i.scale=h.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,c=h.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,t?(E=h.$slideEl[0].offsetWidth,S=h.$slideEl[0].offsetHeight,a=h.$slideEl.offset().left+s.scrollX,l=h.$slideEl.offset().top+s.scrollY,u=a+E/2-r,p=l+S/2-o,m=h.$imageEl[0].offsetWidth,v=h.$imageEl[0].offsetHeight,_=m*i.scale,y=v*i.scale,x=Math.min(E/2-_/2,0),w=Math.min(S/2-y/2,0),b=-x,C=-w,f=u*i.scale,g=p*i.scale,f<x&&(f=x),f>b&&(f=b),g<w&&(g=w),g>C&&(g=C)):(f=0,g=0),h.$imageWrapEl.transition(300).transform(`translate3d(${f}px, ${g}
2px,0)`),h.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${i.scale})`)}function b(){const t=e.zoom,i=e.params.zoom;h.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):h.$slideEl=e.slides.eq(e.activeIndex),h.$imageEl=h.$slideEl.find(`.${i.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${i.containerClass}`)),h.$imageEl&&0!==h.$imageEl.length&&h.$imageWrapEl&&0!==h.$imageWrapEl.length&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,c=1,h.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),h.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),h.$slideEl.removeClass(`${i.zoomedSlideClass}`),h.$slideEl=void 0)}function C(t){const i=e.zoom;i.scale&&1!==i.scale?b():w(t)}function E(){const t=e.support;return{passiveListener:!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!t.passiveListener||{passive:!1,capture:!0}}}function S(){return`.${e.params.slideClass}`}function T(t){const{passiveListener:i}=E(),n=S();e.$wrapperEl[t]("gesturestart",n,m,i),e.$wrapperEl[t]("gesturechange",n,v,i),e.$wrapperEl[t]("gestureend",n,_,i)}function k(){o||(o=!0,T("on"))}function A(){o&&(o=!1,T("off"))}function M(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const i=e.support,{passiveListener:n,activeListenerWithCapture:r}=E(),s=S();i.gestures?(e.$wrapperEl.on(e.touchEvents.start,k,n),e.$wrapperEl.on(e.touchEvents.end,A,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,s,m,n),e.$wrapperEl.on(e.touchEvents.move,s,v,r),e.$wrapperEl.on(e.touchEvents.end,s,_,n),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,s,_,n)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,y,r)}function I(){const t=e.zoom;if(!t.enabled)return;const i=e.support;t.enabled=!1;const{passiveListener:n,activeListenerWithCapture:r}=E(),s=S();i.gestures?(e.$wrapperEl.off(e.touchEvents.start,k,n),e.$wrapperEl.off(e.touchEvents.end,A,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,s,m,n),e.$wrapperEl.off(e.touchEvents.move,s,v,r),e.$wrapperEl.off(e.touchEvents.end,s,_,n),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,s,_,n)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,y,r)}Object.defineProperty(e.zoom,"scale",{get:()=>f,set(t){if(f!==t){const e=h.$imageEl?h.$imageEl[0]:void 0,i=h.$slideEl?h.$slideEl[0]:void 0;r("zoomChange",t,e,i)}f=t}}),n("init",(()=>{e.params.zoom.enabled&&M()})),n("destroy",(()=>{I()})),n("touchStart",((t,i)=>{e.zoom.enabled&&function(t){const i=e.device;h.$imageEl&&0!==h.$imageEl.length&&(d.isTouched||(i.android&&t.cancelable&&t.preventDefault(),d.isTouched=!0,d.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,d.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))}(i)})),n("touchEnd",((t,i)=>{e.zoom.enabled&&function(){const t=e.zoom;if(!h.$imageEl||0===h.$imageEl.length)return;if(!d.isTouched||!d.isMoved)return d.isTouched=!1,void(d.isMoved=!1);d.isTouched=!1,d.isMoved=!1;let i=300,n=300;const r=p.x*i,s=d.currentX+r,o=p.y*n,a=d.currentY+o;0!==p.x&&(i=Math.abs((s-d.currentX)/p.x)),0!==p.y&&(n=Math.abs((a-d.currentY)/p.y));const l=Math.max(i,n);d.currentX=s,d.currentY=a;const c=d.width*t.scale,u=d.height*t.scale;d.minX=Math.min(h.slideWidth/2-c/2,0),d.maxX=-d.minX,d.minY=Math.min(h.slideHeight/2-u/2,0),d.maxY=-d.minY,d.currentX=Math.max(Math.min(d.currentX,d.maxX),d.minX),d.currentY=Math.max(Math.min(d.currentY,d.maxY),d.minY),h.$imageWrapEl.transition(l).transform(`translate3d(${d.currentX}px, ${d.currentY}px,0)`)}()})),n("doubleTap",((t,i)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&C(i)})),n("transitionEnd",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&x()})),n("slideChange",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&x()})),Object.assign(e.zoom,{enable:M,disable:I,in:w,out:b,toggle:C})},function(t){let{swiper:e,extendParams:i,on:n,emit:r}=t;i({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),e.lazy={};let s=!1,o=!1;function a(t,i){void 0===i&&(i=!0);const n=e.params.lazy;if(void 0===t)return;if(0===e.slides.length)return;const s=e.virtual&&e.params.virtual.enabled?e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`):e.slides.eq(t),o=s.find(`.${n.elementClass}:not(.${n.loadedClass}):not(.${n.loadingClass})`);!s.hasClass(n.elementClass)||s.hasClass(n.loadedClass)||s.hasClass(n.loadingClass)||o.push(s[0]),0!==o.length&&o.each((t=>{const o=Eu(t);o.addClass(n.loadingClass);const l=o.attr("data-background"),c=o.attr("data-src"),u=o.attr("data-srcset"),h=o.attr("data-sizes"),d=o.parent("picture");e.loadImage(o[0],c||l,u,h,!1,(()=>
vendor: 7,190 bytes, line 2
2{if(null!=e&&e&&(!e||e.params)&&!e.destroyed){if(l?(o.css("background-image",`url("${l}")`),o.removeAttr("data-background")):(u&&(o.attr("srcset",u),o.removeAttr("data-srcset")),h&&(o.attr("sizes",h),o.removeAttr("data-sizes")),d.length&&d.children("source").each((t=>{const e=Eu(t);e.attr("data-srcset")&&(e.attr("srcset",e.attr("data-srcset")),e.removeAttr("data-srcset"))})),c&&(o.attr("src",c),o.removeAttr("data-src"))),o.addClass(n.loadedClass).removeClass(n.loadingClass),s.find(`.${n.preloaderClass}`).remove(),e.params.loop&&i){const t=s.attr("data-swiper-slide-index");if(s.hasClass(e.params.slideDuplicateClass)){a(e.$wrapperEl.children(`[data-swiper-slide-index="${t}"]:not(.${e.params.slideDuplicateClass})`).index(),!1)}else{a(e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${t}"]`).index(),!1)}}r("lazyImageReady",s[0],o[0]),e.params.autoHeight&&e.updateAutoHeight()}})),r("lazyImageLoad",s[0],o[0])}))}function l(){const{$wrapperEl:t,params:i,slides:n,activeIndex:r}=e,s=e.virtual&&i.virtual.enabled,l=i.lazy;let c=i.slidesPerView;function u(e){if(s){if(t.children(`.${i.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(n[e])return!0;return!1}function h(t){return s?Eu(t).attr("data-swiper-slide-index"):Eu(t).index()}if("auto"===c&&(c=0),o||(o=!0),e.params.watchSlidesProgress)t.children(`.${i.slideVisibleClass}`).each((t=>{a(s?Eu(t).attr("data-swiper-slide-index"):Eu(t).index())}));else if(c>1)for(let t=r;t<r+c;t+=1)u(t)&&a(t);else a(r);if(l.loadPrevNext)if(c>1||l.loadPrevNextAmount&&l.loadPrevNextAmount>1){const t=l.loadPrevNextAmount,e=Math.ceil(c),i=Math.min(r+e+Math.max(t,e),n.length),s=Math.max(r-Math.max(e,t),0);for(let t=r+e;t<i;t+=1)u(t)&&a(t);for(let t=s;t<r;t+=1)u(t)&&a(t)}else{const e=t.children(`.${i.slideNextClass}`);e.length>0&&a(h(e));const n=t.children(`.${i.slidePrevClass}`);n.length>0&&a(h(n))}}function c(){const t=mu();if(!e||e.destroyed)return;const i=e.params.lazy.scrollingElement?Eu(e.params.lazy.scrollingElement):Eu(t),n=i[0]===t,r=n?t.innerWidth:i[0].offsetWidth,o=n?t.innerHeight:i[0].offsetHeight,a=e.$el.offset(),{rtlTranslate:u}=e;let h=!1;u&&(a.left-=e.$el[0].scrollLeft);const d=[[a.left,a.top],[a.left+e.width,a.top],[a.left,a.top+e.height],[a.left+e.width,a.top+e.height]];for(let t=0;t<d.length;t+=1){const e=d[t];if(e[0]>=0&&e[0]<=r&&e[1]>=0&&e[1]<=o){if(0===e[0]&&0===e[1])continue;h=!0}}const p=!("touchstart"!==e.touchEvents.start||!e.support.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};h?(l(),i.off("scroll",c,p)):s||(s=!0,i.on("scroll",c,p))}n("beforeInit",(()=>{e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)})),n("init",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():l())})),n("scroll",(()=>{e.params.freeMode&&e.params.freeMode.enabled&&!e.params.freeMode.sticky&&l()})),n("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():l())})),n("transitionStart",(()=>{e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!o)&&(e.params.lazy.checkInView?c():l())})),n("transitionEnd",(()=>{e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.checkInView?c():l())})),n("slideChange",(()=>{const{lazy:t,cssMode:i,watchSlidesProgress:n,touchReleaseOnEdges:r,resistanceRatio:s}=e.params;t.enabled&&(i||n&&(r||0===s))&&l()})),n("destroy",(()=>{e.$el&&e.$el.find(`.${e.params.lazy.loadingClass}`).removeClass(e.params.lazy.loadingClass)})),Object.assign(e.lazy,{load:l,loadInSlide:a})},function(t){let{swiper:e,extendParams:i,on:n}=t;function r(t,e){const i=function(){let t,e,i;return(n,r)=>{for(e=-1,t=n.length;t-e>1;)i=t+e>>1,n[i]<=r?e=i:t=i;return t}}();let n,r;return this.x=t,this.y=e,this.lastIndex=t.length-1,this.interpolate=function(t){return t?(r=i(this.x,t),n=r-1,(t-this.x[n])*(this.y[r]-this.y[n])/(this.x[r]-this.x[n])+this.y[n]):0},this}function s(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}i({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},n("beforeInit",(()=>{e.controller.control=e.params.controller.control})),n("update",(()=>{s()})),n("resize",(()=>{s()})),n("observerUpdate",(()=>{s()})),n("setTranslate",((t,i,n)=>{e.controller.control&&e.controller.setTranslate(i,n)})),n("setTransition",((t,i,n)=>{e.controller.control&&e.controller.setTransition(i,n)})),Object.assign(e.controller,{setTranslate:function(t,i){const n=e.controller.control;let s,o;const a=e.constructor;function l(t){const i=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(!function(t){e.controller.spline||(e.controller.spline=e.params.loop?new r(e.slidesGrid,t.slidesGrid):new r(e.snapGrid,t.snapGrid))}(t),o=-e.controller.spline.interpolate(-i)),o&&"container"!==e.params.controller.by||(s=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),o=(i-e.minTranslate())*s+t.minTranslate()),e.params.controller.inverse&&(o=t.maxTranslate()-o),t.updateProgress(o),t.setTranslate(o,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(n))for(let t=0;t<n.length;t+=1)n[t]!==i&&n[t]instanceof a&&l(n[t]);else n instanceof a&&i!==n&&l(n)},setTransition:function(t,i){const n=e.constructor,r=e.controller.control;let s;function o(i){i.setTransition(t,e),0!==t&&(i.transitionStart(),i.params.autoHeight&&Su((()=>{i.updateAutoHeight()})),i.$wrapperEl.transitionEnd((()=>{r&&(i.params.loop&&"slide"===e.params.controller.by&&i.loopFix(),i.transitionEnd())})))}if(Array.isArray(r))for(s=0;s<r.length;s+=1)r[s]!==i&&r[s]instanceof n&&o(r[s]);else r instanceof n&&i!==r&&o(r)}})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}});let r=null;function s(t){const e=r;0!==e.length&&(e.html(""),e.html(t))}function o(t){t.attr("tabIndex","0")}function a(t){t.attr("tabIndex","-1")}function l(t,e){t.attr("role",e)}function c(t,e){t.attr("aria-roledescription",e)}function u(t,e){t.attr("aria-label",e)}function h(t){t.attr("aria-disabled",!0)}function d(t){t.attr("aria-disabled",!1)}function p(t){if(13!==t.keyCode&&32!==t.keyCode)return;const i=e.params.a11y,n=Eu(t.target);e.navigation&&e.navigation.$nextEl&&n.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?s(i.lastSlideMessage):s(i.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&n.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?s(i.firstSlideMessage):s(i.prevSlideMessage)),e.pagination&&n.is(hh(e.params.pagination.bulletClass))&&n[0].click()}function f(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function g(){return f()&&e.params.pagination.clickable}const m=(t,e,i)=>
2{o(t),"BUTTON"!==t[0].tagName&&(l(t,"button"),t.on("keydown",p)),u(t,i),function(t,e){t.attr("aria-controls",e)}(t,e)},v=t=>{const i=t.target.closest(`.${e.params.slideClass}`);if(!i||!e.slides.includes(i))return;const n=e.slides.indexOf(i)===e.activeIndex,r=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(i);n||r||e.slideTo(e.slides.indexOf(i),0)},_=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&c(Eu(e.slides),t.itemRoleDescriptionMessage),l(Eu(e.slides),t.slideRole);const i=e.params.loop?e.slides.filter((t=>!t.classList.contains(e.params.slideDuplicateClass))).length:e.slides.length;t.slideLabelMessage&&e.slides.each(((n,r)=>{const s=Eu(n),o=e.params.loop?parseInt(s.attr("data-swiper-slide-index"),10):r;u(s,t.slideLabelMessage.replace(/\{\{index\}\}/,o+1).replace(/\{\{slidesLength\}\}/,i))}))},y=()=>{const t=e.params.a11y;e.$el.append(r);const i=e.$el;t.containerRoleDescriptionMessage&&c(i,t.containerRoleDescriptionMessage),t.containerMessage&&u(i,t.containerMessage);const n=e.$wrapperEl,s=t.id||n.attr("id")||`swiper-wrapper-${o=16,void 0===o&&(o=16),"x".repeat(o).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}`;var o;const a=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";var l;let h,d;l=s,n.attr("id",l),function(t,e){t.attr("aria-live",e)}(n,a),_(),e.navigation&&e.navigation.$nextEl&&(h=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(d=e.navigation.$prevEl),h&&h.length&&m(h,s,t.nextSlideMessage),d&&d.length&&m(d,s,t.prevSlideMessage),g()&&e.pagination.$el.on("keydown",hh(e.params.pagination.bulletClass),p),e.$el.on("focus",v,!0)};n("beforeInit",(()=>{r=Eu(`<span class="${e.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)})),n("afterInit",(()=>{e.params.a11y.enabled&&y()})),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{e.params.a11y.enabled&&_()})),n("fromEdge toEdge afterInit lock unlock",(()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{$nextEl:t,$prevEl:i}=e.navigation;i&&i.length>0&&(e.isBeginning?(h(i),a(i)):(d(i),o(i))),t&&t.length>0&&(e.isEnd?(h(t),a(t)):(d(t),o(t)))}()})),n("paginationUpdate",(()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;f()&&e.pagination.bullets.each((i=>{const n=Eu(i);e.params.pagination.clickable&&(o(n),e.params.pagination.renderBullet||(l(n,"button"),u(n,t.paginationBulletMessage.replace(/\{\{index\}\}/,n.index()+1)))),n.is(`.${e.params.pagination.bulletActiveClass}`)?n.attr("aria-current","true"):n.removeAttr("aria-current")}))}()})),n("destroy",(()=>{e.params.a11y.enabled&&function(){let t,i;r&&r.length>0&&r.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(i=e.navigation.$prevEl),t&&t.off("keydown",p),i&&i.off("keydown",p),g()&&e.pagination.$el.off("keydown",hh(e.params.pagination.bulletClass),p),e.$el.off("focus",v,!0)}()}))},function(t){let{swiper:e,extendParams:i,on:n}=t;i({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let r=!1,s={};const o=t=>t.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),a=t=>{const e=mu();let i;i=t?new URL(t):e.location;const n=i.pathname.slice(1).split("/").filter((t=>""!==t)),r=n.length;return{key:n[r-2],value:n[r-1]}},l=(t,i)=>{const n=mu();if(!r||!e.params.history.enabled)return;let s;s=e.params.url?new URL(e.params.url):n.location;const a=e.slides.eq(i);let l=o(a.attr("data-history"));if(e.params.history.root.length>0){let i=e.params.history.root;"/"===i[i.length-1]&&(i=i.slice(0,i.length-1)),l=`${i}/${t}/${l}`}else s.pathname.includes(t)||(l=`${t}/${l}`);e.params.history.keepQuery&&(l+=s.search);const c=n.history.state;c&&c.value===l||(e.params.history.replaceState?n.history.replaceState({value:l},null,l):n.history.pushState({value:l},null,l))},c=(t,i,n)=>{if(i)for(let r=0,s=e.slides.length;r<s;r+=1){const s=e.slides.eq(r);if(o(s.attr("data-history"))===i&&!s.hasClass(e.params.slideDuplicateClass)){const i=s.index();e.slideTo(i,t,n)}}else e.slideTo(0,t,n)},u=()=>{s=a(e.params.url),c(e.params.speed,s.value,!1)};n("init",(()=>{e.params.history.enabled&&(()=>{const t=mu();
vendor: 12,588 bytes, line 2
2if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);r=!0,s=a(e.params.url),(s.key||s.value)&&(c(0,s.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",u))}})()})),n("destroy",(()=>{e.params.history.enabled&&(()=>{const t=mu();e.params.history.replaceState||t.removeEventListener("popstate",u)})()})),n("transitionEnd _freeModeNoMomentumRelease",(()=>{r&&l(e.params.history.key,e.activeIndex)})),n("slideChange",(()=>{r&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)}))},function(t){let{swiper:e,extendParams:i,emit:n,on:r}=t,s=!1;const o=fu(),a=mu();i({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const l=()=>{n("hashChange");const t=o.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const i=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===i)return;e.slideTo(i)}},c=()=>{if(s&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&a.history&&a.history.replaceState)a.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),n("hashSet");else{const t=e.slides.eq(e.activeIndex),i=t.attr("data-hash")||t.attr("data-history");o.location.hash=i||"",n("hashSet")}};r("init",(()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;s=!0;const t=o.location.hash.replace("#","");if(t){const i=0;for(let n=0,r=e.slides.length;n<r;n+=1){const r=e.slides.eq(n);if((r.attr("data-hash")||r.attr("data-history"))===t&&!r.hasClass(e.params.slideDuplicateClass)){const t=r.index();e.slideTo(t,i,e.params.runCallbacksOnInit,!0)}}}e.params.hashNavigation.watchState&&Eu(a).on("hashchange",l)})()})),r("destroy",(()=>{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&Eu(a).off("hashchange",l)})),r("transitionEnd _freeModeNoMomentumRelease",(()=>{s&&c()})),r("slideChange",(()=>{s&&e.params.cssMode&&c()}))},function(t){let e,{swiper:i,extendParams:n,on:r,emit:s}=t;function o(){const t=i.slides.eq(i.activeIndex);let n=i.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||i.params.autoplay.delay),clearTimeout(e),e=Su((()=>{let t;i.params.autoplay.reverseDirection?i.params.loop?(i.loopFix(),t=i.slidePrev(i.params.speed,!0,!0),s("autoplay")):i.isBeginning?i.params.autoplay.stopOnLastSlide?l():(t=i.slideTo(i.slides.length-1,i.params.speed,!0,!0),s("autoplay")):(t=i.slidePrev(i.params.speed,!0,!0),s("autoplay")):i.params.loop?(i.loopFix(),t=i.slideNext(i.params.speed,!0,!0),s("autoplay")):i.isEnd?i.params.autoplay.stopOnLastSlide?l():(t=i.slideTo(0,i.params.speed,!0,!0),s("autoplay")):(t=i.slideNext(i.params.speed,!0,!0),s("autoplay")),(i.params.cssMode&&i.autoplay.running||!1===t)&&o()}),n)}function a(){return void 0===e&&(!i.autoplay.running&&(i.autoplay.running=!0,s("autoplayStart"),o(),!0))}function l(){return!!i.autoplay.running&&(void 0!==e&&(e&&(clearTimeout(e),e=void 0),i.autoplay.running=!1,s("autoplayStop"),!0))}function c(t){i.autoplay.running&&(i.autoplay.paused||(e&&clearTimeout(e),i.autoplay.paused=!0,0!==t&&i.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((t=>{i.$wrapperEl[0].addEventListener(t,h)})):(i.autoplay.paused=!1,o())))}function u(){const t=fu();"hidden"===t.visibilityState&&i.autoplay.running&&c(),"visible"===t.visibilityState&&i.autoplay.paused&&(o(),i.autoplay.paused=!1)}function h(t){i&&!i.destroyed&&i.$wrapperEl&&t.target===i.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((t=>{i.$wrapperEl[0].removeEventListener(t,h)})),i.autoplay.paused=!1,i.autoplay.running?o():l())}function d(){i.params.autoplay.disableOnInteraction?l():(s("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach((t=>{i.$wrapperEl[0].removeEventListener(t,h)}))}function p(){i.params.autoplay.disableOnInteraction||(i.autoplay.paused=!1,s("autoplayResume"),o())}i.autoplay={running:!1,paused:!1},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),r("init",(()=>{if(i.params.autoplay.enabled){a();fu().addEventListener("visibilitychange",u),i.params.autoplay.pauseOnMouseEnter&&(i.$el.on("mouseenter",d),i.$el.on("mouseleave",p))}})),r("beforeTransitionStart",((t,e,n)=>{i.autoplay.running&&(n||!i.params.autoplay.disableOnInteraction?i.autoplay.pause(e):l())})),r("sliderFirstMove",(()=>{i.autoplay.running&&(i.params.autoplay.disableOnInteraction?l():c())})),r("touchEnd",(()=>{i.params.cssMode&&i.autoplay.paused&&!i.params.autoplay.disableOnInteraction&&o()})),r("destroy",(()=>{i.$el.off("mouseenter",d),i.$el.off("mouseleave",p),i.autoplay.running&&l();fu().removeEventListener("visibilitychange",u)})),Object.assign(i.autoplay,{pause:c,run:o,start:a,stop:l})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,s=!1;function o(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const i=t.clickedIndex,n=t.clickedSlide;if(n&&Eu(n).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==i)return;let r;if(r=t.params.loop?parseInt(Eu(t.clickedSlide).attr("data-swiper-slide-index"),10):i,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const i=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${r}"]`).eq(0).index(),n=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${r}"]`).eq(0).index();r=void 0===i?n:void 0===n?i:n-t<t-i?n:i}e.slideTo(r)}function a(){const{thumbs:t}=e.params;if(r)return!1;r=!0;const i=e.constructor;if(t.swiper instanceof i)e.thumbs.swiper=t.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1});else if(Au(t.swiper)){const n=Object.assign({},t.swiper);Object.assign(n,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new i(n),s=!0}return e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",o),!0}function l(t){const i=e.thumbs.swiper;if(!i||i.destroyed)return;const n="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():i.params.slidesPerView;let r=1;const s=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(r=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(r=1),r=Math.floor(r),i.slides.removeClass(s),i.params.loop||i.params.virtual&&i.params.virtual.enabled)for(let t=0;t<r;t+=1)i.$wrapperEl.children(`[data-swiper-slide-index="${e.realIndex+t}"]`).addClass(s);else for(let t=0;t<r;t+=1)i.slides.eq(e.realIndex+t).addClass(s);const o=e.params.thumbs.autoScrollOffset,a=o&&!i.params.loop;if(e.realIndex!==i.realIndex||a){let r,s,l=i.activeIndex;if(i.params.loop){i.slides.eq(l).hasClass(i.params.slideDuplicateClass)&&(i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft,l=i.activeIndex);const t=i.slides.eq(l).prevAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index(),n=i.slides.eq(l).nextAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index();r=void 0===t?n:void 0===n?t:n-l==l-t?i.params.slidesPerGroup>1?n:l:n-l<l-t?n:t,s=e.activeIndex>e.previousIndex?"next":"prev"}else r=e.realIndex,s=r>e.previousIndex?"next":"prev";a&&(r+="next"===s?o:-1*o),i.visibleSlidesIndexes&&i.visibleSlidesIndexes.indexOf(r)<0&&(i.params.centeredSlides?r=r>l?r-Math.floor(n/2)+1:r+Math.floor(n/2)-1:r>l&&i.params.slidesPerGroup,i.slideTo(r,t?0:void 0))}}e.thumbs={swiper:null},n("beforeInit",(()=>{const{thumbs:t}=e.params;t&&t.swiper&&(a(),l(!0))})),n("slideChange update resize observerUpdate",(()=>{l()})),n("setTransition",((t,i)=>{const n=e.thumbs.swiper;n&&!n.destroyed&&n.setTransition(i)})),n("beforeDestroy",(()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&s&&t.destroy()})),Object.assign(e.thumbs,{init:a,update:l})},function(t){let{swiper:e,extendParams:i,emit:n,once:r}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){const{touchEventsData:t,touches:i}=e;0===t.velocities.length&&t.velocities.push({position:i[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:i[e.isHorizontal()?"currentX":"currentY"],time:Tu()})},onTouchEnd:function(t){let{currentPos:i}=t;const{params:s,$wrapperEl:o,rtlTranslate:a,snapGrid:l,touchEventsData:c}=e,u=Tu()-c.touchStartTime;if(i<-e.minTranslate())e.slideTo(e.activeIndex);else if(i>-e.maxTranslate())e.slides.length<l.length?e.slideTo(l.length-1):e.slideTo(e.slides.length-1);else{if(s.freeMode.momentum){if(c.velocities.length>1){const t=c.velocities.pop(),i=c.velocities.pop(),n=t.position-i.position,r=t.time-i.time;e.velocity=n/r,e.velocity/=2,Math.abs(e.velocity)<s.freeMode.minimumVelocity&&(e.velocity=0),(r>150||Tu()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=s.freeMode.momentumVelocityRatio,c.velocities.length=0;let t=1e3*s.freeMode.momentumRatio;const i=e.velocity*t;let u=e.translate+i;a&&(u=-u);let h,d=!1;const p=20*Math.abs(e.velocity)*s.freeMode.momentumBounceRatio;let f;if(u<e.maxTranslate())s.freeMode.momentumBounce?(u+e.maxTranslate()<-p&&(u=e.maxTranslate()-p),h=e.maxTranslate(),d=!0,c.allowMomentumBounce=!0):u=e.maxTranslate(),s.loop&&s.centeredSlides&&(f=!0);else if(u>e.minTranslate())s.freeMode.momentumBounce?(u-e.minTranslate()>p&&(u=e.minTranslate()+p),h=e.minTranslate(),d=!0,c.allowMomentumBounce=!0):u=e.minTranslate(),s.loop&&s.centeredSlides&&(f=!0);else if(s.freeMode.sticky){let t;for(let e=0;e<l.length;e+=1)if(l[e]>-u){t=e;break}u=Math.abs(l[t]-u)<Math.abs(l[t-1]-u)||"next"===e.swipeDirection?l[t]:l[t-1],u=-u}if(f&&r("transitionEnd",(()=>{e.loopFix()})),0!==e.velocity){if(t=a?Math.abs((-u-e.translate)/e.velocity):Math.abs((u-e.translate)/e.velocity),s.freeMode.sticky){const i=Math.abs((a?-u:u)-e.translate),n=e.slidesSizesGrid[e.activeIndex];t=i<n?s.speed:i<2*n?1.5*s.speed:2.5*s.speed}}else if(s.freeMode.sticky)return void e.slideToClosest();s.freeMode.momentumBounce&&d?(e.updateProgress(h),e.setTransition(t),e.setTranslate(u),e.transitionStart(!0,e.swipeDirection),e.animating=!0,o.transitionEnd((()=>{e&&!e.destroyed&&c.allowMomentumBounce&&(n("momentumBounce"),e.setTransition(s.speed),setTimeout((()=>{e.setTranslate(h),o.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()}))}),0))}))):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(u),e.setTransition(t),e.setTranslate(u),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,o.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(u),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(s.freeMode.sticky)return void e.slideToClosest();s.freeMode&&n("_freeModeNoMomentumRelease")}(!s.freeMode.momentum||u>=s.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})},function(t){let e,i,n,{swiper:r,extendParams:s}=t;s({grid:{rows:1,fill:"column"}}),r.grid={initSlides:t=>{const{slidesPerView:s}=r.params,{rows:o,fill:a}=r.params.grid;i=e/o,n=Math.floor(t/o),e=Math.floor(t/o)===t/o?t:Math.ceil(t/o)*o,"auto"!==s&&"row"===a&&(e=Math.max(e,s*o))},updateSlide:(t,s,o,a)=>{const{slidesPerGroup:l,spaceBetween:c}=r.params,{rows:u,fill:h}=r.params.grid;let d,p,f;if("row"===h&&l>1){const i=Math.floor(t/(l*u)),n=t-u*l*i,r=0===i?l:Math.min(Math.ceil((o-i*u*l)/u),l);f=Math.floor(n/r),p=n-f*r+i*l,d=p+f*e/u,s.css({"-webkit-order":d,order:d})}else"column"===h?(p=Math.floor(t/u),f=t-p*u,(p>n||p===n&&f===u-1)&&(f+=1,f>=u&&(f=0,p+=1))):(f=Math.floor(t/i),p=t-f*i);s.css(a("margin-top"),0!==f?c&&`${c}px`:"")},updateWrapperSize:(t,i,n)=>{const{spaceBetween:s,centeredSlides:o,roundLengths:a}=r.params,{rows:l}=r.params.grid;if(r.virtualSize=(t+s)*e,r.virtualSize=Math.ceil(r.virtualSize/l)-s,r.$wrapperEl.css({[n("width")]:`${r.virtualSize+s}px`}),o){i.splice(0,i.length);const t=[];for(let e=0;e<i.length;e+=1){let n=i[e];a&&(n=Math.floor(n)),i[e]<r.virtualSize+i[0]&&t.push(n)}i.push(...t)}}}},function(t){let{swiper:e}=t;
2Object.assign(e,{appendSlide:dh.bind(e),prependSlide:ph.bind(e),addSlide:fh.bind(e),removeSlide:gh.bind(e),removeAllSlides:mh.bind(e)})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({fadeEffect:{crossFade:!1,transformEl:null}}),vh({effect:"fade",swiper:e,on:n,setTranslate:()=>{const{slides:t}=e,i=e.params.fadeEffect;for(let n=0;n<t.length;n+=1){const t=e.slides.eq(n);let r=-t[0].swiperSlideOffset;e.params.virtualTranslate||(r-=e.translate);let s=0;e.isHorizontal()||(s=r,r=0);const o=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);_h(i,t).css({opacity:o}).transform(`translate3d(${r}px, ${s}px, 0px)`)}},setTransition:t=>{const{transformEl:i}=e.params.fadeEffect;(i?e.slides.find(i):e.slides).transition(t),yh({swiper:e,duration:t,transformEl:i,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(t,e,i)=>{let n=i?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),r=i?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===n.length&&(n=Eu(`<div class="swiper-slide-shadow-${i?"left":"top"}"></div>`),t.append(n)),0===r.length&&(r=Eu(`<div class="swiper-slide-shadow-${i?"right":"bottom"}"></div>`),t.append(r)),n.length&&(n[0].style.opacity=Math.max(-e,0)),r.length&&(r[0].style.opacity=Math.max(e,0))};vh({effect:"cube",swiper:e,on:n,setTranslate:()=>{const{$el:t,$wrapperEl:i,slides:n,width:s,height:o,rtlTranslate:a,size:l,browser:c}=e,u=e.params.cubeEffect,h=e.isHorizontal(),d=e.virtual&&e.params.virtual.enabled;let p,f=0;u.shadow&&(h?(p=i.find(".swiper-cube-shadow"),0===p.length&&(p=Eu('<div class="swiper-cube-shadow"></div>'),i.append(p)),p.css({height:`${s}px`})):(p=t.find(".swiper-cube-shadow"),0===p.length&&(p=Eu('<div class="swiper-cube-shadow"></div>'),t.append(p))));for(let t=0;t<n.length;t+=1){const e=n.eq(t);let i=t;d&&(i=parseInt(e.attr("data-swiper-slide-index"),10));let s=90*i,o=Math.floor(s/360);a&&(s=-s,o=Math.floor(-s/360));const c=Math.max(Math.min(e[0].progress,1),-1);let p=0,g=0,m=0;i%4==0?(p=4*-o*l,m=0):(i-1)%4==0?(p=0,m=4*-o*l):(i-2)%4==0?(p=l+4*o*l,m=l):(i-3)%4==0&&(p=-l,m=3*l+4*l*o),a&&(p=-p),h||(g=p,p=0);const v=`rotateX(${h?0:-s}deg) rotateY(${h?s:0}deg) translate3d(${p}px, ${g}px, ${m}px)`;c<=1&&c>-1&&(f=90*i+90*c,a&&(f=90*-i-90*c)),e.transform(v),u.slideShadows&&r(e,c,h)}if(i.css({"-webkit-transform-origin":`50% 50% -${l/2}px`,"transform-origin":`50% 50% -${l/2}px`}),u.shadow)if(h)p.transform(`translate3d(0px, ${s/2+u.shadowOffset}px, ${-s/2}px) rotateX(90deg) rotateZ(0deg) scale(${u.shadowScale})`);else{const t=Math.abs(f)-90*Math.floor(Math.abs(f)/90),e=1.5-(Math.sin(2*t*Math.PI/360)/2+Math.cos(2*t*Math.PI/360)/2),i=u.shadowScale,n=u.shadowScale/e,r=u.shadowOffset;p.transform(`scale3d(${i}, 1, ${n}) translate3d(0px, ${o/2+r}px, ${-o/2/n}px) rotateX(-90deg)`)}const g=c.isSafari||c.isWebView?-l/2:0;i.transform(`translate3d(0px,0,${g}px) rotateX(${e.isHorizontal()?0:f}deg) rotateY(${e.isHorizontal()?-f:0}deg)`),i[0].style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:t=>{const{$el:i,slides:n}=e;n.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.cubeEffect.shadow&&!e.isHorizontal()&&i.find(".swiper-cube-shadow").transition(t)},recreateShadows:()=>{const t=e.isHorizontal();e.slides.each((e=>{const i=Math.max(Math.min(e.progress,1),-1);r(Eu(e),i,t)}))},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const r=(t,i,n)=>{let r=e.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),s=e.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===r.length&&(r=xh(n,t,e.isHorizontal()?"left":"top")),0===s.length&&(s=xh(n,t,e.isHorizontal()?"right":"bottom")),r.length&&(r[0].style.opacity=Math.max(-i,0)),s.length&&(s[0].style.opacity=Math.max(i,0))};vh({effect:"flip",swiper:e,on:n,setTranslate:()=>{const{slides:t,rtlTranslate:i}=e,n=e.params.flipEffect;for(let s=0;s<t.length;s+=1){const o=t.eq(s);let a=o[0].progress;e.params.flipEffect.limitRotation&&(a=Math.max(Math.min(o[0].progress,
21),-1));const l=o[0].swiperSlideOffset;let c=-180*a,u=0,h=e.params.cssMode?-l-e.translate:-l,d=0;e.isHorizontal()?i&&(c=-c):(d=h,h=0,u=-c,c=0),o[0].style.zIndex=-Math.abs(Math.round(a))+t.length,n.slideShadows&&r(o,a,n);const p=`translate3d(${h}px, ${d}px, 0px) rotateX(${u}deg) rotateY(${c}deg)`;_h(n,o).transform(p)}},setTransition:t=>{const{transformEl:i}=e.params.flipEffect;(i?e.slides.find(i):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),yh({swiper:e,duration:t,transformEl:i})},recreateShadows:()=>{const t=e.params.flipEffect;e.slides.each((i=>{const n=Eu(i);let s=n[0].progress;e.params.flipEffect.limitRotation&&(s=Math.max(Math.min(i.progress,1),-1)),r(n,s,t)}))},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),vh({effect:"coverflow",swiper:e,on:n,setTranslate:()=>{const{width:t,height:i,slides:n,slidesSizesGrid:r}=e,s=e.params.coverflowEffect,o=e.isHorizontal(),a=e.translate,l=o?t/2-a:i/2-a,c=o?s.rotate:-s.rotate,u=s.depth;for(let t=0,e=n.length;t<e;t+=1){const e=n.eq(t),i=r[t],a=(l-e[0].swiperSlideOffset-i/2)/i,h="function"==typeof s.modifier?s.modifier(a):a*s.modifier;let d=o?c*h:0,p=o?0:c*h,f=-u*Math.abs(h),g=s.stretch;"string"==typeof g&&-1!==g.indexOf("%")&&(g=parseFloat(s.stretch)/100*i);let m=o?0:g*h,v=o?g*h:0,_=1-(1-s.scale)*Math.abs(h);Math.abs(v)<.001&&(v=0),Math.abs(m)<.001&&(m=0),Math.abs(f)<.001&&(f=0),Math.abs(d)<.001&&(d=0),Math.abs(p)<.001&&(p=0),Math.abs(_)<.001&&(_=0);const y=`translate3d(${v}px,${m}px,${f}px)  rotateX(${p}deg) rotateY(${d}deg) scale(${_})`;if(_h(s,e).transform(y),e[0].style.zIndex=1-Math.abs(Math.round(h)),s.slideShadows){let t=o?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),i=o?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===t.length&&(t=xh(s,e,o?"left":"top")),0===i.length&&(i=xh(s,e,o?"right":"bottom")),t.length&&(t[0].style.opacity=h>0?h:0),i.length&&(i[0].style.opacity=-h>0?-h:0)}}},setTransition:t=>{const{transformEl:i}=e.params.coverflowEffect;(i?e.slides.find(i):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const r=t=>"string"==typeof t?t:`${t}px`;vh({effect:"creative",swiper:e,on:n,setTranslate:()=>{const{slides:t,$wrapperEl:i,slidesSizesGrid:n}=e,s=e.params.creativeEffect,{progressMultiplier:o}=s,a=e.params.centeredSlides;if(a){const t=n[0]/2-e.params.slidesOffsetBefore||0;i.transform(`translateX(calc(50% - ${t}px))`)}for(let i=0;i<t.length;i+=1){const n=t.eq(i),l=n[0].progress,c=Math.min(Math.max(n[0].progress,-s.limitProgress),s.limitProgress);let u=c;a||(u=Math.min(Math.max(n[0].originalProgress,-s.limitProgress),s.limitProgress));const h=n[0].swiperSlideOffset,d=[e.params.cssMode?-h-e.translate:-h,0,0],p=[0,0,0];let f=!1;e.isHorizontal()||(d[1]=d[0],d[0]=0);let g={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};c<0?(g=s.next,f=!0):c>0&&(g=s.prev,f=!0),d.forEach(((t,e)=>{d[e]=`calc(${t}px + (${r(g.translate[e])} * ${Math.abs(c*o)}))`})),p.forEach(((t,e)=>{p[e]=g.rotate[e]*Math.abs(c*o)})),n[0].style.zIndex=-Math.abs(Math.round(l))+t.length;const m=d.join(", "),v=`rotateX(${p[0]}deg) rotateY(${p[1]}deg) rotateZ(${p[2]}deg)`,_=u<0?`scale(${1+(1-g.scale)*u*o})`:`scale(${1-(1-g.scale)*u*o}
2)`,y=u<0?1+(1-g.opacity)*u*o:1-(1-g.opacity)*u*o,x=`translate3d(${m}) ${v} ${_}`;if(f&&g.shadow||!f){let t=n.children(".swiper-slide-shadow");if(0===t.length&&g.shadow&&(t=xh(s,n)),t.length){const e=s.shadowPerProgress?c*(1/s.limitProgress):c;t[0].style.opacity=Math.min(Math.max(Math.abs(e),0),1)}}const w=_h(s,n);w.transform(x).css({opacity:y}),g.origin&&w.css("transform-origin",g.origin)}},setTransition:t=>{const{transformEl:i}=e.params.creativeEffect;(i?e.slides.find(i):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),yh({swiper:e,duration:t,transformEl:i,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0}}),vh({effect:"cards",swiper:e,on:n,setTranslate:()=>{const{slides:t,activeIndex:i}=e,n=e.params.cardsEffect,{startTranslate:r,isTouched:s}=e.touchEventsData,o=e.translate;for(let a=0;a<t.length;a+=1){const l=t.eq(a),c=l[0].progress,u=Math.min(Math.max(c,-4),4);let h=l[0].swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&e.$wrapperEl.transform(`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(h-=t[0].swiperSlideOffset);let d=e.params.cssMode?-h-e.translate:-h,p=0;const f=-100*Math.abs(u);let g=1,m=-2*u,v=8-.75*Math.abs(u);const _=e.virtual&&e.params.virtual.enabled?e.virtual.from+a:a,y=(_===i||_===i-1)&&u>0&&u<1&&(s||e.params.cssMode)&&o<r,x=(_===i||_===i+1)&&u<0&&u>-1&&(s||e.params.cssMode)&&o>r;if(y||x){const t=(1-Math.abs((Math.abs(u)-.5)/.5))**.5;m+=-28*u*t,g+=-.5*t,v+=96*t,p=-25*t*Math.abs(u)+"%"}if(d=u<0?`calc(${d}px + (${v*Math.abs(u)}%))`:u>0?`calc(${d}px + (-${v*Math.abs(u)}%))`:`${d}px`,!e.isHorizontal()){const t=p;p=d,d=t}const w=u<0?""+(1+(1-g)*u):""+(1-(1-g)*u),b=`\n        translate3d(${d}, ${p}, ${f}px)\n        rotateZ(${n.rotate?m:0}deg)\n        scale(${w})\n      `;if(n.slideShadows){let t=l.find(".swiper-slide-shadow");0===t.length&&(t=xh(n,l)),t.length&&(t[0].style.opacity=Math.min(Math.max((Math.abs(u)-.5)/.5,0),1))}l[0].style.zIndex=-Math.abs(Math.round(c))+t.length;_h(n,l).transform(b)}},setTransition:t=>{const{transformEl:i}=e.params.cardsEffect;(i?e.slides.find(i):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),yh({swiper:e,duration:t,transformEl:i})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}];ch.use(wh);var bh=i(402),Ch={insert:"head",singleton:!1};ou()(bh.Z,Ch);bh.Z.locals;function Eh(t){return Eh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Eh(t)}function Sh(){Sh=function(){return t};var t={},e=Object.prototype,i=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function a(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{a({},"")}catch(t){a=function(t,e,i){return t[e]=i}}function l(t,e,i,n){var r=e&&e.prototype instanceof h?e:h,s=Object.create(r.prototype),o=new C(n||[]);return s._invoke=function(t,e,i){var n="suspendedStart";return function(r,s){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===r)throw s;return S()}for(i.method=r,i.arg=s;;){var o=i.delegate;if(o){var a=x(o,i);if(a){if(a===u)continue;return a}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var l=c(t,e,i);if("normal"===l.type){if(n=i.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(n="completed",i.method="throw",i.arg=l.arg)}}}(t,i,o),s}function c(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var u={};function h(){}function d(){}function p(){}var f={};a(f,r,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(E([])));m&&m!==e&&i.call(m,r)&&(f=m);var v=p.prototype=h.prototype=Object.create(f);function _(t){["next","throw","return"].forEach((function(e){a(t,e,(function(t){return this._invoke(e,t)}))}))}function y(t,e){function n(r,s,o,a){var l=c(t[r],t,s);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==Eh(h)&&i.call(h,"__await")?e.resolve(h.__await).then((function(t){n("next",t,o,a)}),(function(t){n("throw",t,o,a)})):e.resolve(h).then((function(t){u.value=t,o(u)}),(function(t){return n("throw",t,o,a)}))}a(l.arg)}var r;this._invoke=function(t,i){function s(){return new e((function(e,r){n(t,i,e,r)}))}return r=r?r.then(s,s):s()}}function x(t,e){var i=t.iterator[e.method];if(void 0===i){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 4,111 bytes, line 2
2(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return u;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=c(i,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,u;var r=n.arg;return r?r.done?(e[t.resultName]=r.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):r:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function b(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function E(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,s=function e(){for(;++n<t.length;)if(i.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return s.next=s}}return{next:S}}function S(){return{value:void 0,done:!0}}return d.prototype=p,a(v,"constructor",p),a(p,"constructor",d),d.displayName=a(p,o,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,a(t,o,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},_(y.prototype),a(y.prototype,s,(function(){return this})),t.AsyncIterator=y,t.async=function(e,i,n,r,s){void 0===s&&(s=Promise);var o=new y(l(e,i,n,r),s);return t.isGeneratorFunction(i)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(v),a(v,o,"Generator"),a(v,r,(function(){return this})),a(v,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var i in t)e.push(i);return e.reverse(),function i(){for(;e.length;){var n=e.pop();if(n in t)return i.value=n,i.done=!1,i}return i.done=!0,i}},t.values=E,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(b),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(i,n){return o.type="throw",o.arg=t,e.next=i,n&&(e.method="next",e.arg=void 0),!!n}for(var r=this.tryEntries.length-1;r>=0;--r){var s=this.tryEntries[r],o=s.completion;if("root"===s.tryLoc)return n("end");if(s.tryLoc<=this.prev){var a=i.call(s,"catchLoc"),l=i.call(s,"finallyLoc");if(a&&l){if(this.prev<s.catchLoc)return n(s.catchLoc,!0);if(this.prev<s.finallyLoc)return n(s.finallyLoc)}else if(a){if(this.prev<s.catchLoc)return n(s.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return n(s.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var s=r;break}}s&&("break"===t||"continue"===t)&&s.tryLoc<=e&&e<=s.finallyLoc&&(s=null);var o=s?s.completion:{};return o.type=t,o.arg=e,s?(this.method="next",this.next=s.finallyLoc,u):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),b(i),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var r=n.arg;b(i)}return r}}throw new Error("illegal catch attempt")}
2,delegateYield:function(t,e,i){return this.delegate={iterator:E(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=void 0),u}},t}function Th(t,e,i,n,r,s,o){try{var a=t[s](o),l=a.value}catch(t){return void i(t)}a.done?e(l):Promise.resolve(l).then(n,r)}i(689),r()((function(){var t="info";window.location.href.indexOf("contact")>0&&(t="contact"),window.location.href.indexOf("booking")>0&&(t="booking"),gevent("page_view",{shop_id:env.uniiti_id,source:"minisite",click_type:t})})),r()((function(){r()(".phone_btn").on("click",(function(){gevent("page_view",{shop_id:env.uniiti_id,source:"minisite",click_type:phone})}))})),r()((function(){var t=r()(".iframe"),e=t.height();window.addEventListener("message",(function(i){if(i.data&&i.data.type&&"height"===i.data.type){var n=t.height();return n!==e&&(e=n,r()("html, body").animate({scrollTop:t.offset().top-100},500)),void("0"===i.data.val?r()(".booking iframe").css("height","400px"):r()(".booking iframe").css("height",i.data.val+"px"))}})),r()(window).on("message",(function(t){var e=t.originalEvent;console.log("Message",e.data.width),e.data&&"IFRAME_RESIZE"===e.data.type&&r()("#external-booking").css("width",e.data.width+"%")}))})),r()((function(){window.addEventListener("message",(function(t){if("homePageLink"==t.data.type){var e=window.parent;if(e){var i=e.location.href,n=new URL(i),r=n.protocol+"//"+n.hostname+"/"+n.pathname.split("/")[1];window.location.href=r}}}))})),r()((function(){window.addEventListener("message",(function(t){t.origin===env.BOOKING_PARAM&&("up"===t.data?window.scrollTo(0,300):"down"===t.data&&window.scrollTo(0,document.body.scrollHeight))}))})),r()((function(){r()(".header__menu-right .menu li").length>=11&&r()(document).width()>=1025&&r()(".header-contain").addClass("lg-header")})),r()((function(){r()(".links a").each((function(){var t=r()(this).data("id"),e=r()(this).data("slug"),i=r()(this).data("lang");r()(".booking").find(".link_"+t).on("click",(function(n){n.preventDefault(),r()(".iframe").html("<iframe src='".concat(env.BOOKING_PARAM,"/shop/booking/").concat(t,"/").concat(e,"?redesign=1&lang_code=").concat(i,"'></iframe>"))}))}))})),r()((function(){r()(window).on("scroll",(function(){r()(".black .reach").length&&(r()(this).scrollTop()>=r()(".black .reach").offset().top+-200?(r()(".vnoir-rvs").addClass("display-right"),r()(".vnoire-details").addClass("display-right")):(r()(".vnoir-rvs").removeClass("display-right"),r()(".vnoire-details").removeClass("display-right")))}))})),r()((function(){var t=r()(".services .header");r()(window).on("scroll",(function(){r()(".reach-services").length&&(r()(this).scrollTop()>=r()(".reach-services").offset().top+-110?t.addClass("fixed_header"):t.removeClass("fixed_header"))}))})),r()((function(){r()(window).on("resize",(function(){if(r()(".vnoir-rvs").length){var t=r()(".vnoir-rvs").offset().top,e=r()(".vnoir-rvs").outerHeight()+t;r()(".main-section .pattern-right").css({top:"calc(".concat(e,"px + 10px)")})}})).trigger("resize")})),r()((function(){var t=[];r()(".tabs .tab-item").each((function(){var e=r()(this).data("id"),i=document.getElementById("item_"+e);r()(i).each((function(){i.offsetTop>1&&t.push(i)}))})),t.length?r().map(t,(function(t,e){r()(".dropdown .dropdown-content").append('<a href="#'.concat(t.dataset.id,'">').concat(t.outerText,"</a>"))})):r()(".dropdown").hide()})),r()((function(){var t=r()(".header-contain").height()+80;r()(".tabs .tab-item a, .dropdown-content a").each((function(){r()(this).on("click",(function(e){var i=r()(this).attr("href");if(r()(".tabs .tab-item a").removeClass("active-item"),r()(this).addClass("active-item"),r()(".fixed_header").length)r()("html, body").animate({scrollTop:r()(i).offset().top-t},"swing");else{var n=r()(".header-contain").height()+160;r()("html, body").animate({scrollTop:r()(i).offset().top-n},"swing")}}))}))})),r()((function(){var t=r()(".header-contain");r()(window).on("scroll",(function(){r()(this).scrollTop()>15?t.addClass("f-nav"):t.removeClass("f-nav")}))}));var kh=.01*(window.innerHeight-54);document.documentElement.style.setProperty("--vh","".concat(kh,"px")),r()((function(){r()(".text-holder").on("click",(function(){var t=r()(this);t.find(".current").hide(),t.find(".original").show(),setTimeout((function(){t.find(".current").show(),t.find(".original").hide()}),5e3)}))}
2)),r()((function(){var t=r()(".block-status");setTimeout((function(){t.addClass("animate"),setTimeout((function(){t.removeClass("animate")}),5e3)}),1e3)})),r()((function(){r()(".block-status").on("click",(function(){r()(".block-status").toggleClass("animate")}))})),r()((function(){var t=r()(".main-bottom");setTimeout((function(){t.addClass("reviews-animated"),setTimeout((function(){t.removeClass("reviews-animated")}),7e3)}),3e3)})),r()((function(){r()(".scroll-section .see-more").on("click",(function(t){t.preventDefault(),r()("html, body").animate({scrollTop:r()("#scroll").offset().top},500)}))}));var Ah=new Gs({target:"map",interactions:zs({doubleClickZoom:!1,dragPan:!1,mouseWheelZoom:!1}),controls:[],layers:[new _o({source:new ua({})})],view:new Gn({center:Ei([shop.longitude,shop.latitude]),zoom:17})}),Mh=new qs({geometry:new En(Ei([shop.longitude,shop.latitude]))});Mh.setStyle(new Do({image:new No({crossOrigin:"anonymous",anchor:[.5,.9],anchorXUnits:"fraction",anchorYUnits:"fraction",src:"/svg/icons/pin-map.png"})}));var Ih=new iu({source:new Aa({features:[Mh]})});Ah.addLayer(Ih);var Lh=0,Ph=0,Rh="",Dh="";function Oh(t){Dh+="<div class='swiper-slide card'>",t.link?Dh+="<a href='#!' class='item image' data-slide='"+Lh+++"' style='background-image: url("+t.photo+")'></a>":Dh+="<a data-slide='"+Lh+++"' href='#!' class='image item' style='background-image: url("+t.photo+")'></a>",Dh+="<div class='content'>",t.link,Dh+="<p><a href='#!' class='item'>@"+t.name+"</a></p>",t.text&&(Dh+="<p>"+t.text.substring(0,150)+" ...</p>"),Dh+="</div>",Dh+="</div>",Rh+="<div class='swiper-slide'>",Rh+="<div class='item' data-slide='"+Ph+++"'>",t.link?Rh+="<a href='"+t.link+"' class='image' target='_blank' style='background-image: url("+t.photo+")'></a>":Rh+="<a href='#!' class='image' style='background-image: url("+t.photo+")'></a>",Rh+="<div class='content'>",t.link?Rh+="<p><a href='"+t.link+"' target='_blank'>@"+t.name+"</a></p>":Rh+="<p><a href='#!'>@"+t.name+"</a></p>",t.text&&(Rh+="<p>"+t.text+"</p>"),Rh+="</div>",Rh+="</div>",Rh+="</div>"}var Fh=function(){var t,e=(t=Sh().mark((function t(){var e,i,n,s,o;return Sh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=window.location.pathname,i=e.split("/")[2],t.prev=2,i){t.next=11;break}return t.next=6,uu().get("/fr/social-feeds");case 6:n=t.sent,s=n.data.feeds.slice(0,2),n.data.feeds.length?(r()(".social_hide").show(),r().map(s,(function(t,e){Oh(t)})),r()(".social-media .feed").html(Dh),r()(".popup-direct .swiper-wrapper").html(Rh)):r()(".social_hide").hide(),t.next=16;break;case 11:if("gallery"!==i){t.next=16;break}return t.next=14,uu().get("/fr/social-photos");case 14:(o=t.sent).data.photos.length?(r()(".social_hide").show(),r().map(o.data.photos,(function(t,e){Oh(t)})),r()(".direct .feed").html(Dh),r()(".popup-direct .swiper-wrapper").html(Rh)):(r()(".social_hide").hide(),r()(".direct").css("height","0"),r()(".direct").parent().css("padding","0"));case 16:new ch(".direct",{lazy:!0,slidesPerView:1,spaceBetween:15,grabCursor:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},keyboard:{enabled:!0,onlyInViewport:!1},breakpoints:{1024:{slidesPerView:3,spaceBetween:15,centeredSlides:!0,freeMode:!0}}}),t.next=22;break;case 19:t.prev=19,t.t0=t.catch(2),console.log(t.t0);case 22:case"end":return t.stop()}}),t,null,[[2,19]])})),function(){var e=this,i=arguments;return new Promise((function(n,r){var s=t.apply(e,i);function o(t){Th(s,n,r,o,a,"next",t)}function a(t){Th(s,n,r,o,a,"throw",t)}o(void 0)}))});return function(){return e.apply(this,arguments)}}();Fh(),r()((function(){r()(".form-letter").each((function(){r()(this).on("submit",(function(t){t.preventDefault();var e=r().trim(r()(this).find(".checkfield").val());0===e.length?(r()(".info-letter").text(translation.empty_field).fadeIn(500),r()(".info-letter").addClass("error"),r()(".info-letter").removeClass("success")):r().ajax({url:"/fr/submit-newsletter",type:"POST",data:{email:e},success:function(t){t.error?(r()(".info-letter").text(translation.newsletter_error).fadeIn(500),r()(".info-letter").addClass("error"),r()(".info-letter").removeClass("success")):t.success?(r()(".form-input").fadeOut(1e3),r()(".info-letter").text(translation.newsletter_success).fadeIn(500),r()(".info-letter").addClass("success"),r()(".info-letter").removeClass("error")):(r()(".info-letter").text(translation.newsletter_exist).fadeIn(500),r()(".info-letter").addClass("error"),r()(".info-letter").removeClass("success"))},error:function(t,e){}})}))}))})),r()((function(){function t(t,e){"success"==e?r()("#message-wrap").addClass("success-msg").removeClass("error-msg"):"error"==e&&r()("#message-wrap").removeClass("success-msg").addClass("error-msg"),r()("#message-wrap").stop().slideDown().html("<span>"+t+"</span>
2").delay(3e3).slideUp()}r()(".input-holder").find(".checkfield:visible").each((function(){r()(this).on("keyup",(function(){r().trim(r()(this).val()).length<3?(r()(this).closest(".checkfield").addClass("failed"),r()(this).closest(".checkfield").removeClass("success"),r()(this).parent().addClass("labelfailed")):(r()(this).closest(".checkfield").removeClass("failed"),r()(this).closest(".checkfield").addClass("success"),r()(this).parent().removeClass("labelfailed"))}))})),r()("#email").on("keyup",(function(){var t;t=r().trim(r()("#email").val()),/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(t)?(r()("#email").removeClass("failed"),r()("#email").addClass("success"),r()("#email").parent().removeClass("labelfailed")):(r()("#email").addClass("failed"),r()("#email").removeClass("success"),r()("#email").parent().addClass("labelfailed"))})),r()("#telephone").on("keyup",(function(){!function(){var t=r().trim(r()("#telephone").val());/^\+(?:[0-9] ?){6,14}[0-9]$/.test(t)?(r()("#telephone").removeClass("failed"),r()("#telephone").addClass("success"),r()("#telephone").parent().parent().removeClass("labelfailed")):(r()("#telephone").addClass("failed"),r()("#telephone").removeClass("success"),r()("#telephone").parent().parent().addClass("labelfailed"))}()})),r()("#sendform").on("click",(function(e){var i=r()("#form").data("confirm"),n=r()("#form").data("done"),s=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/,o=/^\+(?:[0-9] ?){6,14}[0-9]$/;e.preventDefault(),!function(){var t=!0,e=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/,i=/^\+(?:[0-9] ?){6,14}[0-9]$/;return r()("#form").find(".checkfield:visible").each((function(){var n=r().trim(r()(this).val());r()(this).prop("disabled")?(r()(this).closest(".checkfield").removeClass("failed"),r()(this).closest(".checkfield").addClass("success"),r()(this).parent().removeClass("labelfailed")):r()(this).prop("required")?n.length<3?(r()(this).closest(".checkfield").addClass("failed"),r()(this).closest(".checkfield").removeClass("success"),r()(this).parent().addClass("labelfailed"),r()("#telephone").parent().parent().addClass("labelfailed"),t=!1):(r()(this).closest(".checkfield").removeClass("failed"),r()(this).closest(".checkfield").addClass("success"),r()(this).parent().removeClass("labelfailed"),r()("#telephone").parent().parent().removeClass("labelfailed"),e.test(r()("#email").val())?(r()("#email").removeClass("failed"),r()("#email").addClass("success"),r()("#email").parent().removeClass("labelfailed")):(r()("#email").addClass("failed"),r()("#email").removeClass("success"),r()("#email").parent().addClass("labelfailed"),t=!1),i.test(r()("#telephone").val())?(r()("#telephone").removeClass("failed"),r()("#telephone").addClass("success"),r()("#telephone").parent().parent().removeClass("labelfailed")):(r()("#telephone").addClass("failed"),r()("#telephone").removeClass("success"),r()("#telephone").parent().parent().addClass("labelfailed"),t=!1)):(r()(this).closest(".checkfield").removeClass("failed"),r()(this).closest(".checkfield").addClass("success"),r()(this).parent().removeClass("labelfailed"))})),t}()?r().trim(r()("#telephone").val()).length<5&&0==r().trim(r()("#email").val()).length?t(i,"error"):0==r().trim(r()("#email").val()).length?t(r()("#form").data("email-empty"),"error"):s.test(r()("#email").val())?r().trim(r()("#telephone").val()).length<5?t(r()("#form").data("phone-empty"),"error"):o.test(r()("#telephone").val())?o.test(r()("#telephone").val())||s.test(r()("#email").val())?r().trim(r()("#message").val()).length<3?t(r()("#form").data("message-empty"),"error"):t(i,"error"):t(r()("#form").data("emailphone-type"),"error"):t(r()("#form").data("phone-type"),"error"):t(r()("#form").data("email-type"),"error"):(t(n,"success"),r()("#form").submit())}))}));var zh=r()(window),$h=r()(".reserve-section");zh.on("scroll",(function(){r()(this).scrollTop()>200?$h.addClass("hidden"):$h.removeClass("hidden")})),r()(".waitlistBtn").on("click",(function(t){t.preventDefault(),t.stopPropagation();var e=r()(this).parent(),i=r()(".waitlistBtn").data("slug"),n=r()(".waitlistBtn").data("lang");r()(this).parent().addClass("open-waitlist"),r()(this).parent().parent().attr("style","z-index: 99999999 !important"),r()("body").addClass("overlay"),r()("div.main-top").removeClass("vnoir-rvs vnoire-details"),e.find(".waitlistIframe").html("<iframe src='".concat(env.BOOKING_PARAM,"/shop/waitlist/").concat(i,"/join-page?isExternal=true&lang_code=").concat(n,"'></iframe>"))})),r()(".headerMenuLeftOpen .close").on("click",(function(t){t.preventDefault(),r()(this).parent().parent().removeClass("open-waitlist"),r()(this).parent().parent().parent().parent().removeAttr("style"),r()("body").removeClass("overlay"),setTimeout((function(){r()(".main-section .main-top").addClass("vnoir-rvs"),r()(".header-page .main-top").addClass("vnoire-details")}),400),r()(".waitlistIframe").empty()})),r()(".header__menu-left .blur_lang").on("click",(function(){r()(this).parent().removeClass("open-waitlist"),r()(this).parent().parent().parent().removeAttr("style"),r()("body").removeClass("overlay"),setTimeout((function(){r()(".main-section .main-top").addClass("vnoir-rvs"),r()(".header-page .main-top").addClass("vnoire-details")}),400),r()(".waitlistIframe").empty()})),r()(".burger-menu").click((function(){r()(this).parents(".container").find(".menu-bar").addClass("active-menu"),r()(".blur-main-menu").addClass("active-blur"),r()(".lg-header").attr("style","z-index: 9999999 !important"),r()("body").addClass("overlay")})),r()(".menu-close").click((function(){r()(this).parents(".menu-bar").removeClass("active-menu"),r()(".blur-main-menu").removeClass("active-blur"),r()("body").removeClass("overlay"),r()(".lg-header").removeAttr("style")})),r()(".blur-main-menu").click((function(){r()(".menu-bar").removeClass("active-menu"),r()(this).removeClass("active-blur"),r()(".lg-header").removeAttr("style"),r()("body").removeClass("overlay")})),r()("body").removeClass("overlay"),r()(".lang .btn-primary").on("click",(function(){r()(this).parent().addClass("open-flags"),r()(this).parent().parent().attr("style","z-index: 99999999 !important"),r()("body").addClass("overlay")})),r()(".lang .close").on("click",(function(t){t.preventDefault(),r()(this).parent().parent().parent().removeClass("open-flags"),r()(this).parent().parent().parent().parent().removeAttr("style"),r()("body").removeClass("overlay")})),r()(".lang .blur_lang").on("click",(function(){r()(this).parent().parent().removeClass("open-flags"),r()(this).parent().parent().parent().removeAttr("style"),r()("body").removeClass("overlay")})),r()("").removeClass("overlay");new ch(".post-swiper",{lazy:!0,slidesPerView:1,spaceBetween:15,grabCursor:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},keyboard:{enabled:!0,onlyInViewport:!1},breakpoints:{1100:{slidesPerView:2,spaceBetween:15,centeredSlides:!0,freeMode:!0}}}),new ch(".video-swiper",{lazy:!0,slidesPerView:1,spaceBetween:15,grabCursor:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},keyboard:{enabled:!0,onlyInViewport:!1},breakpoints:{1100:{slidesPerView:2,spaceBetween:15,centeredSlides:!0,freeMode:!0}}});var Nh=new ch(".gallery-popup",{lazy:!0,slidesPerView:1,spaceBetween:15,centeredSlides:!0,grabCursor:!0,keyboard:{enabled:!0,onlyInViewport:!1},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}),jh=new ch(".gallery-popup-direct",{lazy:!0,slidesPerView:1,spaceBetween:15,centeredSlides:!0,grabCursor:!0,keyboard:{enabled:!0,onlyInViewport:!1},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}),Bh=new ch(".gallery-popup-video",{lazy:!0,slidesPerView:1,spaceBetween:15,centeredSlides:!0,grabCursor:!0,useCSS3Transforms:!1,observer:!0,observeParents:!0,on:{slideChange:function(t){var e=r()(".swiper-slide-active .item iframe").attr("src");r()(".swiper-slide-active .item iframe").attr("src",""),r()(".swiper-slide-active .item iframe").attr("src",e)}},keyboard:{enabled:!0,onlyInViewport:!1},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}});r()(".popup-video .close").on("click",(function(t){var e=r()(".swiper-slide-active .item iframe").attr("src");r()(".swiper-slide-active .item iframe").attr("src",""),r()(".swiper-slide-active .item iframe").attr("src",e)}
2)),r()(".swiper-slide-post .swiper-slide div[data-slide]").on("click",(function(t){t.preventDefault(),r()("body").addClass("overlay"),r()(".popup").fadeIn(300);var e=r()(this).data("slide");Nh.slideTo(e)})),r()(".swiper-slide-video .swiper-slide .item[data-slide]").on("click",(function(t){t.preventDefault(),r()("body").addClass("overlay"),r()(".popup-video").fadeIn(300);var e=r()(this).data("slide");Bh.slideTo(e)}));var Gh=setInterval((function(){r()(".feed .swiper-slide .item[data-slide]").length&&(clearInterval(Gh),r()(".feed .swiper-slide .item[data-slide]").on("click",(function(t){t.preventDefault(),r()("body").addClass("overlay"),r()(".popup-direct").fadeIn(300);var e=r()(this).data("slide");jh.slideTo(e)})))}),100);if(r()(".popup .close").on("click",(function(t){t.preventDefault(),r()("body").removeClass("overlay"),r()(".popup").fadeOut(300)})),r()(".popup-video .close").on("click",(function(t){t.preventDefault(),r()("body").removeClass("overlay"),r()(".popup-video").fadeOut(300)})),r()(".popup-direct .close").on("click",(function(t){t.preventDefault(),r()("body").removeClass("overlay"),r()(".popup-direct").fadeOut(300)})),r()(".phone-number").length){var Wh=document.querySelector(".phone-number");ru()(Wh,{autoHideDialCode:!1,nationalMode:!1,formatOnDisplay:!1,preferredCountries:!1,initialCountry:"auto",geoIpLookup:function(t){r().get("https://ipinfo.io",(function(){}),"jsonp").always((function(e){var i=e&&e.country?e.country:"FR";t(i)}))}})}},689:(t,e,i)=>{window._=i(486),window.axios=i(669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest"},874:t=>{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87
2],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},617:(t,e,i)=>{"use strict";i.d(e,{Z:()=>d});var n=i(645),r=i.n(n),s=i(667),o=i.n(s),a=i(256),l=i(500),c=r()((function(t){return t[1]})),u=o()(a.Z),h=o()(l.Z);c.push([t.id,".iti{display:inline-block;position:relative}.iti *{box-sizing:border-box;-moz-box-sizing:border-box}.iti__hide{display:none}.iti__v-hide{visibility:hidden}.iti input,.iti input[type=tel],.iti input[type=text]{margin-bottom:0!important;margin-right:0;margin-top:0!important;padding-right:36px;position:relative;z-index:0}.iti__flag-container{bottom:0;padding:1px;position:absolute;right:0;top:0}.iti__selected-flag{align-items:center;display:flex;height:100%;padding:0 6px 0 8px;position:relative;z-index:1}.iti__arrow{border-left:3px solid transparent;border-right:3px solid transparent;border-top:4px solid #555;height:0;margin-left:6px;width:0}.iti__arrow--up{border-bottom:4px solid #555;border-top:none}.iti__country-list{-webkit-overflow-scrolling:touch;background-color:#fff;border:1px solid #ccc;box-shadow:1px 1px 4px rgba(0,0,0,.2);list-style:none;margin:0 0 0 -1px;max-height:200px;overflow-y:scroll;padding:0;position:absolute;text-align:left;white-space:nowrap;z-index:2}.iti__country-list--dropup{bottom:100%;margin-bottom:-1px}@media (max-width:500px){.iti__country-list{white-space:normal}}.iti__flag-box{display:inline-block;width:20px}.iti__divider{border-bottom:1px solid #ccc;margin-bottom:5px;padding-bottom:5px}.iti__country{outline:none;padding:5px 10px}.iti__dial-code{color:#999}.iti__country.iti__highlight{background-color:rgba(0,0,0,.05)}.iti__country-name,.iti__dial-code,.iti__flag-box{vertical-align:middle}.iti__country-name,.iti__flag-box{margin-right:6px}.iti--allow-dropdown input,.iti--allow-dropdown input[type=tel],.iti--allow-dropdown input[type=text],.iti--separate-dial-code input,.iti--separate-dial-code input[type=tel],.iti--separate-dial-code input[type=text]{margin-left:0;padding-left:52px;padding-right:6px}.iti--allow-dropdown .iti__flag-container,.iti--separate-dial-code .iti__flag-container{left:0;right:auto}.iti--allow-dropdown .iti__flag-container:hover{cursor:pointer}.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag{background-color:rgba(0,0,0,.05)}.iti--allow-dropdown input[disabled]+.iti__flag-container:hover,.iti--allow-dropdown input[readonly]+.iti__flag-container:hover{cursor:default}.iti--allow-dropdown input[disabled]+.iti__flag-container:hover .iti__selected-flag,.iti--allow-dropdown input[readonly]+.iti__flag-container:hover .iti__selected-flag{background-color:transparent}.iti--separate-dial-code .iti__selected-flag{background-color:rgba(0,0,0,.05)}.iti--separate-dial-code .iti__selected-dial-code{margin-left:6px}.iti--container{left:-1000px;padding:1px;position:absolute;top:-1000px;z-index:1060}.iti--container:hover{cursor:pointer}.iti-mobile .iti--container{bottom:30px;left:30px;position:fixed;right:30px;top:30px}.iti-mobile .iti__country-list{max-height:100%;width:100%}.iti-mobile .iti__country{line-height:1.5em;padding:10px}.iti__flag{width:20px}.iti__flag.iti__be{width:18px}.iti__flag.iti__ch{width:15px}.iti__flag.iti__mc{width:19px}.iti__flag.iti__ne{width:18px}.iti__flag.iti__np{width:13px}.iti__flag.iti__va{width:15px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.iti__flag{background-size:5652px 15px}}.iti__flag.iti__ac{background-position:0 0;height:10px}.iti__flag.iti__ad{background-position:-22px 0;height:14px}.iti__flag.iti__ae{background-position:-44px 0;height:10px}.iti__flag.iti__af{background-position:-66px 0;height:14px}.iti__flag.iti__ag{background-position:-88px 0;height:14px}.iti__flag.iti__ai{background-position:-110px 0;height:10px}.iti__flag.iti__al{background-position:-132px 0;height:15px}.iti__flag.iti__am{background-position:-154px 0;height:10px}.iti__flag.iti__ao{background-position:-176px 0;height:14px}.iti__flag.iti__aq{background-position:-198px 0;height:14px}.iti__flag.iti__ar{background-position:-220px 0;
2height:13px}.iti__flag.iti__as{background-position:-242px 0;height:10px}.iti__flag.iti__at{background-position:-264px 0;height:14px}.iti__flag.iti__au{background-position:-286px 0;height:10px}.iti__flag.iti__aw{background-position:-308px 0;height:14px}.iti__flag.iti__ax{background-position:-330px 0;height:13px}.iti__flag.iti__az{background-position:-352px 0;height:10px}.iti__flag.iti__ba{background-position:-374px 0;height:10px}.iti__flag.iti__bb{background-position:-396px 0;height:14px}.iti__flag.iti__bd{background-position:-418px 0;height:12px}.iti__flag.iti__be{background-position:-440px 0;height:15px}.iti__flag.iti__bf{background-position:-460px 0;height:14px}.iti__flag.iti__bg{background-position:-482px 0;height:12px}.iti__flag.iti__bh{background-position:-504px 0;height:12px}.iti__flag.iti__bi{background-position:-526px 0;height:12px}.iti__flag.iti__bj{background-position:-548px 0;height:14px}.iti__flag.iti__bl{background-position:-570px 0;height:14px}.iti__flag.iti__bm{background-position:-592px 0;height:10px}.iti__flag.iti__bn{background-position:-614px 0;height:10px}.iti__flag.iti__bo{background-position:-636px 0;height:14px}.iti__flag.iti__bq{background-position:-658px 0;height:14px}.iti__flag.iti__br{background-position:-680px 0;height:14px}.iti__flag.iti__bs{background-position:-702px 0;height:10px}.iti__flag.iti__bt{background-position:-724px 0;height:14px}.iti__flag.iti__bv{background-position:-746px 0;height:15px}.iti__flag.iti__bw{background-position:-768px 0;height:14px}.iti__flag.iti__by{background-position:-790px 0;height:10px}.iti__flag.iti__bz{background-position:-812px 0;height:14px}.iti__flag.iti__ca{background-position:-834px 0;height:10px}.iti__flag.iti__cc{background-position:-856px 0;height:10px}.iti__flag.iti__cd{background-position:-878px 0;height:15px}.iti__flag.iti__cf{background-position:-900px 0;height:14px}.iti__flag.iti__cg{background-position:-922px 0;height:14px}.iti__flag.iti__ch{background-position:-944px 0;height:15px}.iti__flag.iti__ci{background-position:-961px 0;height:14px}.iti__flag.iti__ck{background-position:-983px 0;height:10px}.iti__flag.iti__cl{background-position:-1005px 0;height:14px}.iti__flag.iti__cm{background-position:-1027px 0;height:14px}.iti__flag.iti__cn{background-position:-1049px 0;height:14px}.iti__flag.iti__co{background-position:-1071px 0;height:14px}.iti__flag.iti__cp{background-position:-1093px 0;height:14px}.iti__flag.iti__cr{background-position:-1115px 0;height:12px}.iti__flag.iti__cu{background-position:-1137px 0;height:10px}.iti__flag.iti__cv{background-position:-1159px 0;height:12px}.iti__flag.iti__cw{background-position:-1181px 0;height:14px}.iti__flag.iti__cx{background-position:-1203px 0;height:10px}.iti__flag.iti__cy{background-position:-1225px 0;height:14px}.iti__flag.iti__cz{background-position:-1247px 0;height:14px}.iti__flag.iti__de{background-position:-1269px 0;height:12px}.iti__flag.iti__dg{background-position:-1291px 0;height:10px}.iti__flag.iti__dj{background-position:-1313px 0;height:14px}.iti__flag.iti__dk{background-position:-1335px 0;height:15px}.iti__flag.iti__dm{background-position:-1357px 0;height:10px}.iti__flag.iti__do{background-position:-1379px 0;height:14px}.iti__flag.iti__dz{background-position:-1401px 0;height:14px}.iti__flag.iti__ea{background-position:-1423px 0;height:14px}.iti__flag.iti__ec{background-position:-1445px 0;height:14px}.iti__flag.iti__ee{background-position:-1467px 0;
2height:13px}.iti__flag.iti__eg{background-position:-1489px 0;height:14px}.iti__flag.iti__eh{background-position:-1511px 0;height:10px}.iti__flag.iti__er{background-position:-1533px 0;height:10px}.iti__flag.iti__es{background-position:-1555px 0;height:14px}.iti__flag.iti__et{background-position:-1577px 0;height:10px}.iti__flag.iti__eu{background-position:-1599px 0;height:14px}.iti__flag.iti__fi{background-position:-1621px 0;height:12px}.iti__flag.iti__fj{background-position:-1643px 0;height:10px}.iti__flag.iti__fk{background-position:-1665px 0;height:10px}.iti__flag.iti__fm{background-position:-1687px 0;height:11px}.iti__flag.iti__fo{background-position:-1709px 0;height:15px}.iti__flag.iti__fr{background-position:-1731px 0;height:14px}.iti__flag.iti__ga{background-position:-1753px 0;height:15px}.iti__flag.iti__gb{background-position:-1775px 0;height:10px}.iti__flag.iti__gd{background-position:-1797px 0;height:12px}.iti__flag.iti__ge{background-position:-1819px 0;height:14px}.iti__flag.iti__gf{background-position:-1841px 0;
2height:14px}.iti__flag.iti__gg{background-position:-1863px 0;height:14px}.iti__flag.iti__gh{background-position:-1885px 0;height:14px}.iti__flag.iti__gi{background-position:-1907px 0;height:10px}.iti__flag.iti__gl{background-position:-1929px 0;height:14px}.iti__flag.iti__gm{background-position:-1951px 0;height:14px}.iti__flag.iti__gn{background-position:-1973px 0;height:14px}.iti__flag.iti__gp{background-position:-1995px 0;height:14px}.iti__flag.iti__gq{background-position:-2017px 0;height:14px}.iti__flag.iti__gr{background-position:-2039px 0;height:14px}.iti__flag.iti__gs{background-position:-2061px 0;height:10px}.iti__flag.iti__gt{background-position:-2083px 0;height:13px}.iti__flag.iti__gu{background-position:-2105px 0;height:11px}.iti__flag.iti__gw{background-position:-2127px 0;height:10px}.iti__flag.iti__gy{background-position:-2149px 0;height:12px}.iti__flag.iti__hk{background-position:-2171px 0;height:14px}.iti__flag.iti__hm{background-position:-2193px 0;height:10px}.iti__flag.iti__hn{background-position:-2215px 0;height:10px}.iti__flag.iti__hr{background-position:-2237px 0;height:10px}.iti__flag.iti__ht{background-position:-2259px 0;height:12px}.iti__flag.iti__hu{background-position:-2281px 0;height:10px}.iti__flag.iti__ic{background-position:-2303px 0;height:14px}.iti__flag.iti__id{background-position:-2325px 0;height:14px}.iti__flag.iti__ie{background-position:-2347px 0;height:10px}.iti__flag.iti__il{background-position:-2369px 0;height:15px}.iti__flag.iti__im{background-position:-2391px 0;height:10px}.iti__flag.iti__in{background-position:-2413px 0;height:14px}.iti__flag.iti__io{background-position:-2435px 0;height:10px}.iti__flag.iti__iq{background-position:-2457px 0;height:14px}.iti__flag.iti__ir{background-position:-2479px 0;height:12px}.iti__flag.iti__is{background-position:-2501px 0;height:15px}.iti__flag.iti__it{background-position:-2523px 0;height:14px}.iti__flag.iti__je{background-position:-2545px 0;height:12px}.iti__flag.iti__jm{background-position:-2567px 0;height:10px}.iti__flag.iti__jo{background-position:-2589px 0;height:10px}.iti__flag.iti__jp{background-position:-2611px 0;height:14px}.iti__flag.iti__ke{background-position:-2633px 0;height:14px}.iti__flag.iti__kg{background-position:-2655px 0;
2height:12px}.iti__flag.iti__kh{background-position:-2677px 0;height:13px}.iti__flag.iti__ki{background-position:-2699px 0;height:10px}.iti__flag.iti__km{background-position:-2721px 0;height:12px}.iti__flag.iti__kn{background-position:-2743px 0;height:14px}.iti__flag.iti__kp{background-position:-2765px 0;height:10px}.iti__flag.iti__kr{background-position:-2787px 0;height:14px}.iti__flag.iti__kw{background-position:-2809px 0;height:10px}.iti__flag.iti__ky{background-position:-2831px 0;height:10px}.iti__flag.iti__kz{background-position:-2853px 0;height:10px}.iti__flag.iti__la{background-position:-2875px 0;height:14px}.iti__flag.iti__lb{background-position:-2897px 0;height:14px}.iti__flag.iti__lc{background-position:-2919px 0;height:10px}.iti__flag.iti__li{background-position:-2941px 0;height:12px}.iti__flag.iti__lk{background-position:-2963px 0;height:10px}.iti__flag.iti__lr{background-position:-2985px 0;height:11px}.iti__flag.iti__ls{background-position:-3007px 0;height:14px}.iti__flag.iti__lt{background-position:-3029px 0;height:12px}.iti__flag.iti__lu{background-position:-3051px 0;height:12px}.iti__flag.iti__lv{background-position:-3073px 0;height:10px}.iti__flag.iti__ly{background-position:-3095px 0;height:10px}.iti__flag.iti__ma{background-position:-3117px 0;height:14px}.iti__flag.iti__mc{background-position:-3139px 0;height:15px}.iti__flag.iti__md{background-position:-3160px 0;height:10px}.iti__flag.iti__me{background-position:-3182px 0;height:10px}.iti__flag.iti__mf{background-position:-3204px 0;height:14px}.iti__flag.iti__mg{background-position:-3226px 0;height:14px}.iti__flag.iti__mh{background-position:-3248px 0;height:11px}.iti__flag.iti__mk{background-position:-3270px 0;height:10px}.iti__flag.iti__ml{background-position:-3292px 0;height:14px}.iti__flag.iti__mm{background-position:-3314px 0;height:14px}.iti__flag.iti__mn{background-position:-3336px 0;height:10px}.iti__flag.iti__mo{background-position:-3358px 0;height:14px}.iti__flag.iti__mp{background-position:-3380px 0;height:10px}.iti__flag.iti__mq{background-position:-3402px 0;height:14px}.iti__flag.iti__mr{background-position:-3424px 0;height:14px}.iti__flag.iti__ms{background-position:-3446px 0;height:10px}.iti__flag.iti__mt{background-position:-3468px 0;height:14px}.iti__flag.iti__mu{background-position:-3490px 0;height:14px}.iti__flag.iti__mv{background-position:-3512px 0;height:14px}.iti__flag.iti__mw{background-position:-3534px 0;height:14px}.iti__flag.iti__mx{background-position:-3556px 0;height:12px}.iti__flag.iti__my{background-position:-3578px 0;height:10px}.iti__flag.iti__mz{background-position:-3600px 0;height:14px}.iti__flag.iti__na{background-position:-3622px 0;height:14px}.iti__flag.iti__nc{background-position:-3644px 0;height:10px}.iti__flag.iti__ne{background-position:-3666px 0;height:15px}.iti__flag.iti__nf{background-position:-3686px 0;
2height:10px}.iti__flag.iti__ng{background-position:-3708px 0;height:10px}.iti__flag.iti__ni{background-position:-3730px 0;height:12px}.iti__flag.iti__nl{background-position:-3752px 0;height:14px}.iti__flag.iti__no{background-position:-3774px 0;height:15px}.iti__flag.iti__np{background-position:-3796px 0;height:15px}.iti__flag.iti__nr{background-position:-3811px 0;height:10px}.iti__flag.iti__nu{background-position:-3833px 0;height:10px}.iti__flag.iti__nz{background-position:-3855px 0;height:10px}.iti__flag.iti__om{background-position:-3877px 0;height:10px}.iti__flag.iti__pa{background-position:-3899px 0;height:14px}.iti__flag.iti__pe{background-position:-3921px 0;height:14px}.iti__flag.iti__pf{background-position:-3943px 0;height:14px}.iti__flag.iti__pg{background-position:-3965px 0;height:15px}.iti__flag.iti__ph{background-position:-3987px 0;height:10px}.iti__flag.iti__pk{background-position:-4009px 0;height:14px}.iti__flag.iti__pl{background-position:-4031px 0;height:13px}.iti__flag.iti__pm{background-position:-4053px 0;height:14px}.iti__flag.iti__pn{background-position:-4075px 0;height:10px}.iti__flag.iti__pr{background-position:-4097px 0;height:14px}.iti__flag.iti__ps{background-position:-4119px 0;height:10px}.iti__flag.iti__pt{background-position:-4141px 0;height:14px}.iti__flag.iti__pw{background-position:-4163px 0;height:13px}.iti__flag.iti__py{background-position:-4185px 0;height:11px}.iti__flag.iti__qa{background-position:-4207px 0;height:8px}.iti__flag.iti__re{background-position:-4229px 0;height:14px}.iti__flag.iti__ro{background-position:-4251px 0;height:14px}.iti__flag.iti__rs{background-position:-4273px 0;height:14px}.iti__flag.iti__ru{background-position:-4295px 0;height:14px}.iti__flag.iti__rw{background-position:-4317px 0;height:14px}.iti__flag.iti__sa{background-position:-4339px 0;height:14px}.iti__flag.iti__sb{background-position:-4361px 0;height:10px}.iti__flag.iti__sc{background-position:-4383px 0;height:10px}.iti__flag.iti__sd{background-position:-4405px 0;height:10px}.iti__flag.iti__se{background-position:-4427px 0;height:13px}.iti__flag.iti__sg{background-position:-4449px 0;height:14px}.iti__flag.iti__sh{background-position:-4471px 0;height:10px}.iti__flag.iti__si{background-position:-4493px 0;height:10px}.iti__flag.iti__sj{background-position:-4515px 0;height:15px}.iti__flag.iti__sk{background-position:-4537px 0;height:14px}.iti__flag.iti__sl{background-position:-4559px 0;height:14px}.iti__flag.iti__sm{background-position:-4581px 0;height:15px}.iti__flag.iti__sn{background-position:-4603px 0;height:14px}.iti__flag.iti__so{background-position:-4625px 0;height:14px}.iti__flag.iti__sr{background-position:-4647px 0;height:14px}.iti__flag.iti__ss{background-position:-4669px 0;height:10px}.iti__flag.iti__st{background-position:-4691px 0;height:10px}.iti__flag.iti__sv{background-position:-4713px 0;height:12px}.iti__flag.iti__sx{background-position:-4735px 0;height:14px}.iti__flag.iti__sy{background-position:-4757px 0;height:14px}.iti__flag.iti__sz{background-position:-4779px 0;height:14px}.iti__flag.iti__ta{background-position:-4801px 0;height:10px}.iti__flag.iti__tc{background-position:-4823px 0;height:10px}.iti__flag.iti__td{background-position:-4845px 0;height:14px}.iti__flag.iti__tf{background-position:-4867px 0;height:14px}.iti__flag.iti__tg{background-position:-4889px 0;height:13px}.iti__flag.iti__th{background-position:-4911px 0;height:14px}.iti__flag.iti__tj{background-position:-4933px 0;height:10px}.iti__flag.iti__tk{background-position:-4955px 0;height:10px}.iti__flag.iti__tl{background-position:-4977px 0;height:10px}.iti__flag.iti__tm{background-position:-4999px 0;height:14px}.iti__flag.iti__tn{background-position:-5021px 0;height:14px}.iti__flag.iti__to{background-position:-5043px 0;height:10px}.iti__flag.iti__tr{background-position:-5065px 0;height:14px}.iti__flag.iti__tt{background-position:-5087px 0;height:12px}.iti__flag.iti__tv{background-position:-5109px 0;height:10px}.iti__flag.iti__tw{background-position:-5131px 0;height:14px}.iti__flag.iti__tz{background-position:-5153px 0;height:14px}.iti__flag.iti__ua{background-position:-5175px 0;
2height:14px}.iti__flag.iti__ug{background-position:-5197px 0;height:14px}.iti__flag.iti__um{background-position:-5219px 0;height:11px}.iti__flag.iti__un{background-position:-5241px 0;height:14px}.iti__flag.iti__us{background-position:-5263px 0;height:11px}.iti__flag.iti__uy{background-position:-5285px 0;height:14px}.iti__flag.iti__uz{background-position:-5307px 0;height:10px}.iti__flag.iti__va{background-position:-5329px 0;height:15px}.iti__flag.iti__vc{background-position:-5346px 0;height:14px}.iti__flag.iti__ve{background-position:-5368px 0;height:14px}.iti__flag.iti__vg{background-position:-5390px 0;height:10px}.iti__flag.iti__vi{background-position:-5412px 0;height:14px}.iti__flag.iti__vn{background-position:-5434px 0;height:14px}.iti__flag.iti__vu{background-position:-5456px 0;height:12px}.iti__flag.iti__wf{background-position:-5478px 0;height:14px}.iti__flag.iti__ws{background-position:-5500px 0;height:10px}.iti__flag.iti__xk{background-position:-5522px 0;height:15px}.iti__flag.iti__ye{background-position:-5544px 0;height:14px}.iti__flag.iti__yt{background-position:-5566px 0;height:14px}.iti__flag.iti__za{background-position:-5588px 0;height:14px}.iti__flag.iti__zm{background-position:-5610px 0;height:14px}.iti__flag.iti__zw{background-position:-5632px 0;height:10px}.iti__flag{background-color:#dbdbdb;background-image:url("+u+");background-position:20px 0;background-repeat:no-repeat;box-shadow:0 0 1px 0 #888;height:15px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.iti__flag{background-image:url("+h+")}}.iti__flag.iti__np{background-color:transparent}",""]);const d=c},402:(t,e,i)=>{"use strict";i.d(e,{Z:()=>s});var n=i(645),r=i.n(n)()((function(t){return t[1]}));r.push([t.id,'@font-face{font-family:swiper-icons;font-style:normal;font-weight:400;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA")}:root{--swiper-theme-color:#007aff}.swiper{list-style:none;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;position:relative;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1}.swiper-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;height:100%;position:relative;transition-property:transform;width:100%}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateZ(0)}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-css-mode>.swiper-wrapper{-ms-overflow-style:none;overflow:auto;scrollbar-width:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-start:var(--swiper-centered-offset-before);margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-before:var(--swiper-centered-offset-before);margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);min-width:1px;width:100%}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper:after{content:"";left:0;pointer-events:none;position:absolute;top:0}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{align-items:center;color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;display:flex;height:var(--swiper-navigation-size);justify-content:center;margin-top:calc(0px - var(--swiper-navigation-size)/2);position:absolute;top:50%;width:calc(var(--swiper-navigation-size)/44*27);z-index:10}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);font-variant:normal;letter-spacing:0;line-height:1;text-transform:none!important}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{left:auto;right:10px}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transform:translateZ(0);transition:opacity .3s;z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}
2.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{position:relative;transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:50%;display:inline-block;height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px))}button.swiper-pagination-bullet{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;box-shadow:none;margin:0;padding:0}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{display:block;margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:transform .2s,top .2s}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,left .2s}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));height:100%;left:0;position:absolute;top:0;transform:scale(0);transform-origin:left top;width:100%}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{height:4px;left:0;top:0;width:100%}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{height:100%;left:0;top:0;width:4px}.swiper-pagination-lock{display:none}.swiper-scrollbar{background:rgba(0,0,0,.1);border-radius:10px;position:relative;-ms-touch-action:none}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{bottom:3px;height:5px;left:1%;position:absolute;width:98%;z-index:50}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{height:98%;position:absolute;right:3px;top:1%;width:5px;z-index:50}.swiper-scrollbar-drag{background:rgba(0,0,0,.5);border-radius:10px;height:100%;left:0;position:relative;top:0;width:100%}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{align-items:center;display:flex;height:100%;justify-content:center;text-align:center;width:100%}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top:4px solid transparent;box-sizing:border-box;height:42px;left:50%;margin-left:-21px;margin-top:-21px;position:absolute;top:50%;transform-origin:50%;width:42px;z-index:10}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s linear infinite;animation:swiper-preloader-spin 1s linear infinite}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.swiper .swiper-notification{left:0;opacity:0;pointer-events:none;position:absolute;top:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{margin:0 auto;transition-timing-function:ease-out}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-direction:column;flex-wrap:wrap}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;height:100%;pointer-events:none;transform-origin:0 0;visibility:hidden;width:100%;z-index:1}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-next+.swiper-slide,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-top{-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:0}.swiper-cube .swiper-cube-shadow{bottom:0;height:100%;left:0;opacity:.6;position:absolute;width:100%;z-index:0}.swiper-cube .swiper-cube-shadow:before{background:#000;bottom:0;content:"";filter:blur(50px);left:0;position:absolute;right:0;top:0}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:none;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-top{-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:0}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transform-origin:center bottom}',""]);const s=r},645:t=>{"use strict";
2t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i=t(e);return e[2]?"@media ".concat(e[2]," {").concat(i,"}"):i})).join("")},e.i=function(t,i,n){"string"==typeof t&&(t=[[null,t,""]]);var r={};if(n)for(var s=0;s<this.length;s++){var o=this[s][0];null!=o&&(r[o]=!0)}for(var a=0;a<t.length;a++){var l=[].concat(t[a]);n&&r[l[0]]||(i&&(l[2]?l[2]="".concat(i," and ").concat(l[2]):l[2]=i),e.push(l))}},e}},667:t=>{"use strict";t.exports=function(t,e){return e||(e={}),"string"!=typeof(t=t&&t.__esModule?t.default:t)?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},256:(t,e,i)=>{"use strict";i.d(e,{Z:()=>n});const n="/images/vendor/intl-tel-input/build/flags.png?007b2705c0a8f69dfdf6ea1bfa0341c9"},500:(t,e,i)=>{"use strict";i.d(e,{Z:()=>n});const n="/images/vendor/intl-tel-input/build/[email protected]?9d5328fb490cddd43f6698012123404b"},197:t=>{var e;e=function(t){"use strict";return function(){for(var e=[["Afghanistan (‫افغانستان‬‎)","af","93"],["Albania (Shqipëri)","al","355"],["Algeria (‫الجزائر‬‎)","dz","213"],["American Samoa","as","1",5,["684"]],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1",6,["264"]],["Antigua and Barbuda","ag","1",7,["268"]],["Argentina","ar","54"],["Armenia (Հայաստան)","am","374"],["Aruba","aw","297"],["Ascension Island","ac","247"],["Australia","au","61",0],["Austria (Österreich)","at","43"],["Azerbaijan (Azərbaycan)","az","994"],["Bahamas","bs","1",8,["242"]],["Bahrain (‫البحرين‬‎)","bh","973"],["Bangladesh (বাংলাদেশ)","bd","880"],["Barbados","bb","1",9,["246"]],["Belarus (Беларусь)","by","375"],["Belgium (België)","be","32"],["Belize","bz","501"],["Benin (Bénin)","bj","229"],["Bermuda","bm","1",10,["441"]],["Bhutan (འབྲུག)","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina (Босна и Херцеговина)","ba","387"],["Botswana","bw","267"],["Brazil (Brasil)","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1",11,["284"]],["Brunei","bn","673"],["Bulgaria (България)","bg","359"],["Burkina Faso","bf","226"],["Burundi (Uburundi)","bi","257"],["Cambodia (កម្ពុជា)","kh","855"],["Cameroon (Cameroun)","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238"],["Caribbean Netherlands","bq","599",1,["3","4","7"]],["Cayman Islands","ky","1",12,["345"]],["Central African Republic (République centrafricaine)","cf","236"],["Chad (Tchad)","td","235"],["Chile","cl","56"],["China (中国)","cn","86"],["Christmas Island","cx","61",2,["89164"]],["Cocos (Keeling) Islands","cc","61",1,["89162"]],["Colombia","co","57"],["Comoros (‫جزر القمر‬‎)","km","269"],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243"],["Congo (Republic) (Congo-Brazzaville)","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte d’Ivoire","ci","225"],["Croatia (Hrvatska)","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus (Κύπρος)","cy","357"],["Czech Republic (Česká republika)","cz","420"],["Denmark (Danmark)","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1",13,["767"]],["Dominican Republic (República Dominicana)","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt (‫مصر‬‎)","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea (Guinea Ecuatorial)","gq","240"],["Eritrea","er","291"],["Estonia (Eesti)","ee","372"],["Eswatini","sz","268"],["Ethiopia","et","251"],["Falkland Islands (Islas Malvinas)","fk","500"],["Faroe Islands (Føroyar)","fo","298"],["Fiji","fj","679"],["Finland (Suomi)","fi","358",0],["France","fr","33"],["French Guiana (Guyane française)","gf","594"],["French Polynesia (Polynésie française)","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia (საქართველო)","ge","995"],["Germany (Deutschland)","de","49"],["Ghana (Gaana)","gh","233"],["G
2ibraltar","gi","350"],["Greece (Ελλάδα)","gr","30"],["Greenland (Kalaallit Nunaat)","gl","299"],["Grenada","gd","1",14,["473"]],["Guadeloupe","gp","590",0],["Guam","gu","1",15,["671"]],["Guatemala","gt","502"],["Guernsey","gg","44",1,["1481","7781","7839","7911"]],["Guinea (Guinée)","gn","224"],["Guinea-Bissau (Guiné Bissau)","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong (香港)","hk","852"],["Hungary (Magyarország)","hu","36"],["Iceland (Ísland)","is","354"],["India (भारत)","in","91"],["Indonesia","id","62"],["Iran (‫ایران‬‎)","ir","98"],["Iraq (‫العراق‬‎)","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2,["1624","74576","7524","7924","7624"]],["Israel (‫ישראל‬‎)","il","972"],["Italy (Italia)","it","39",0],["Jamaica","jm","1",4,["876","658"]],["Japan (日本)","jp","81"],["Jersey","je","44",3,["1534","7509","7700","7797","7829","7937"]],["Jordan (‫الأردن‬‎)","jo","962"],["Kazakhstan (Казахстан)","kz","7",1,["33","7"]],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait (‫الكويت‬‎)","kw","965"],["Kyrgyzstan (Кыргызстан)","kg","996"],["Laos (ລາວ)","la","856"],["Latvia (Latvija)","lv","371"],["Lebanon (‫لبنان‬‎)","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya (‫ليبيا‬‎)","ly","218"],["Liechtenstein","li","423"],["Lithuania (Lietuva)","lt","370"],["Luxembourg","lu","352"],["Macau (澳門)","mo","853"],["North Macedonia (Македонија)","mk","389"],["Madagascar (Madagasikara)","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania (‫موريتانيا‬‎)","mr","222"],["Mauritius (Moris)","mu","230"],["Mayotte","yt","262",1,["269","639"]],["Mexico (México)","mx","52"],["Micronesia","fm","691"],["Moldova (Republica Moldova)","md","373"],["Monaco","mc","377"],["Mongolia (Монгол)","mn","976"],["Montenegro (Crna Gora)","me","382"],["Montserrat","ms","1",16,["664"]],["Morocco (‫المغرب‬‎)","ma","212",0],["Mozambique (Moçambique)","mz","258"],["Myanmar (Burma) (မြန်မာ)","mm","95"],["Namibia (Namibië)","na","264"],["Nauru","nr","674"],["Nepal (नेपाल)","np","977"],["Netherlands (Nederland)","nl","31"],["New Caledonia (Nouvelle-Calédonie)","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger (Nijar)","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea (조선 민주주의 인민 공화국)","kp","850"],["Northern Mariana Islands","mp","1",17,["670"]],["Norway (Norge)","no","47",0],["Oman (‫عُمان‬‎)","om","968"],["Pakistan (‫پاکستان‬‎)","pk","92"],["Palau","pw","680"],["Palestine (‫فلسطين‬‎)","ps","970"],["Panama (Panamá)","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru (Perú)","pe","51"],["Philippines","ph","63"],["Poland (Polska)","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar (‫قطر‬‎)","qa","974"],["Réunion (La Réunion)","re","262",0],["Romania (România)","ro","40"],["Russia (Россия)","ru","7",0],["Rwanda","rw","250"],["Saint Barthélemy","bl","590",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1",18,["869"]],["Saint Lucia","lc","1",19,["758"]],["Saint Martin (Saint-Martin (partie française))","mf","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1",20,["784"]],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe (São Tomé e Príncipe)","st","239"],["Saudi Arabia (‫المملكة العربية السعودية‬‎)","sa","966"],["Senegal (Sénégal)","sn","221"],["Serbia (Србија)","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1",21,["721"]],["Slovakia (Slovensko)","sk","421"],["Slovenia (Slovenija)","si","386"],["Solomon Islands","sb","677"],["S
2omalia (Soomaaliya)","so","252"],["South Africa","za","27"],["South Korea (대한민국)","kr","82"],["South Sudan (‫جنوب السودان‬‎)","ss","211"],["Spain (España)","es","34"],["Sri Lanka (ශ්‍රී ලංකාව)","lk","94"],["Sudan (‫السودان‬‎)","sd","249"],["Suriname","sr","597"],["Svalbard and Jan Mayen","sj","47",1,["79"]],["Sweden (Sverige)","se","46"],["Switzerland (Schweiz)","ch","41"],["Syria (‫سوريا‬‎)","sy","963"],["Taiwan (台灣)","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand (ไทย)","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1",22,["868"]],["Tunisia (‫تونس‬‎)","tn","216"],["Turkey (Türkiye)","tr","90"],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1",23,["649"]],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1",24,["340"]],["Uganda","ug","256"],["Ukraine (Україна)","ua","380"],["United Arab Emirates (‫الإمارات العربية المتحدة‬‎)","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["Uzbekistan (Oʻzbekiston)","uz","998"],["Vanuatu","vu","678"],["Vatican City (Città del Vaticano)","va","39",1,["06698"]],["Venezuela","ve","58"],["Vietnam (Việt Nam)","vn","84"],["Wallis and Futuna (Wallis-et-Futuna)","wf","681"],["Western Sahara (‫الصحراء الغربية‬‎)","eh","212",1,["5288","5289"]],["Yemen (‫اليمن‬‎)","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["Åland Islands","ax","358",1,["18"]]],i=0;i<e.length;i++){var n=e[i];e[i]={name:n[0],iso2:n[1],dialCode:n[2],priority:n[3]||0,areaCodes:n[4]||null}}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var s={getInstance:function(t){var e=t.getAttribute("data-intl-tel-input-id");return window.intlTelInputGlobals.instances[e]},instances:{},documentReady:function(){return"complete"===document.readyState}};"object"==typeof window&&(window.intlTelInputGlobals=s);var o=0,a={allowDropdown:!0,autoHideDialCode:!0,autoPlaceholder:"polite",customContainer:"",customPlaceholder:null,dropdownContainer:null,excludeCountries:[],formatOnDisplay:!0,geoIpLookup:null,hiddenInput:"",initialCountry:"",localizedCountries:null,nationalMode:!0,onlyCountries:[],placeholderNumberType:"MOBILE",preferredCountries:["us","gb"],separateDialCode:!1,utilsScript:""},l=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"],c=function(t,e){for(var i=Object.keys(t),n=0;n<i.length;n++)e(i[n],t[i[n]])},u=function(t){c(window.intlTelInputGlobals.instances,(function(e){window.intlTelInputGlobals.instances[e][t]()}))},h=function(){function i(t,e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),this.id=o++,this.telInput=t,this.activeItem=null,this.highlightedItem=null;var r=e||{};this.options={},c(a,(function(t,e){n.options[t]=r.hasOwnProperty(t)?r[t]:e})),this.hadInitialPlaceholder=Boolean(t.getAttribute("placeholder"))}var n,s,h;return n=i,s=[{key:"_init",value:function(){var t=this;if(this.options.nationalMode&&(this.options.autoHideDialCode=!1),this.options.separateDialCode&&(this.options.autoHideDialCode=this.options.nationalMode=!1),this.isMobile=/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),this.isMobile&&(document.body.classList.add("iti-mobile"),this.options.dropdownContainer||(this.options.dropdownContainer=document.body)),"undefined"!=typeof Promise){var e=new Promise((function(e,i){t.resolveAutoCountryPromise=e,t.rejectAutoCountryPromise=i})),i=new Promise((function(e,i){t.resolveUtilsScriptPromise=e,t.rejectUtilsScriptPromise=i}));this.promise=Promise.all([e,i])}else this.resolveAutoCountryPromise=this.rejectAutoCountryPromise=function(){},this.resolveUtilsScriptPromise=this.rejectUtilsScriptPromise=function(){};this.selectedCountryData={},this._processCountryData(),this._generateMarkup(),this._setInitialState(),this._initListeners(),this._initRequests()}},{key:"_processCountryData",value:function(){this._processAllCountries(),this._processCountryCodes(),this._processPreferredCountries(),this.options.localizedCountries&&this._translateCountriesByLocale(),(this.options.onlyCountries.length||this.options.localizedCountries)&&this.countries.sort(this._countryNameSort)}},{key:"_addCountryCode",value:function(e,i,n){i.length>this.countryCodeMaxLen&&(this.countryCodeMaxLen=i.length),this.countryCodes.hasOwnProperty(i)||(this.countryCodes[i]=[]);for(var r=0;r<this.countryCodes[i].length;r++)if(this.countryCodes[i][r]===e)return;var s=n!==t?n:this.countryCodes[i].length;this.countryCodes[i][s]=e}},{key:"_processAllCountries",value:function(){if(this.options.onlyCountries.length){var t=this.options.onlyCountries.map((function(t){return t.toLowerCase()}));
2this.countries=e.filter((function(e){return t.indexOf(e.iso2)>-1}))}else if(this.options.excludeCountries.length){var i=this.options.excludeCountries.map((function(t){return t.toLowerCase()}));this.countries=e.filter((function(t){return-1===i.indexOf(t.iso2)}))}else this.countries=e}},{key:"_translateCountriesByLocale",value:function(){for(var t=0;t<this.countries.length;t++){var e=this.countries[t].iso2.toLowerCase();this.options.localizedCountries.hasOwnProperty(e)&&(this.countries[t].name=this.options.localizedCountries[e])}}},{key:"_countryNameSort",value:function(t,e){return t.name.localeCompare(e.name)}},{key:"_processCountryCodes",value:function(){this.countryCodeMaxLen=0,this.dialCodes={},this.countryCodes={};for(var t=0;t<this.countries.length;t++){var e=this.countries[t];this.dialCodes[e.dialCode]||(this.dialCodes[e.dialCode]=!0),this._addCountryCode(e.iso2,e.dialCode,e.priority)}for(var i=0;i<this.countries.length;i++){var n=this.countries[i];if(n.areaCodes)for(var r=this.countryCodes[n.dialCode][0],s=0;s<n.areaCodes.length;s++){for(var o=n.areaCodes[s],a=1;a<o.length;a++){var l=n.dialCode+o.substr(0,a);this._addCountryCode(r,l),this._addCountryCode(n.iso2,l)}this._addCountryCode(n.iso2,n.dialCode+o)}}}},{key:"_processPreferredCountries",value:function(){this.preferredCountries=[];for(var t=0;t<this.options.preferredCountries.length;t++){var e=this.options.preferredCountries[t].toLowerCase(),i=this._getCountryData(e,!1,!0);i&&this.preferredCountries.push(i)}}},{key:"_createEl",value:function(t,e,i){var n=document.createElement(t);return e&&c(e,(function(t,e){return n.setAttribute(t,e)})),i&&i.appendChild(n),n}},{key:"_generateMarkup",value:function(){this.telInput.hasAttribute("autocomplete")||this.telInput.form&&this.telInput.form.hasAttribute("autocomplete")||this.telInput.setAttribute("autocomplete","off");var t="iti";this.options.allowDropdown&&(t+=" iti--allow-dropdown"),this.options.separateDialCode&&(t+=" iti--separate-dial-code"),this.options.customContainer&&(t+=" ",t+=this.options.customContainer);var e=this._createEl("div",{class:t});if(this.telInput.parentNode.insertBefore(e,this.telInput),this.flagsContainer=this._createEl("div",{class:"iti__flag-container"},e),e.appendChild(this.telInput),this.selectedFlag=this._createEl("div",{class:"iti__selected-flag",role:"combobox","aria-controls":"iti-".concat(this.id,"__country-listbox"),"aria-owns":"iti-".concat(this.id,"__country-listbox"),"aria-expanded":"false"},this.flagsContainer),this.selectedFlagInner=this._createEl("div",{class:"iti__flag"},this.selectedFlag),this.options.separateDialCode&&(this.selectedDialCode=this._createEl("div",{class:"iti__selected-dial-code"},this.selectedFlag)),this.options.allowDropdown&&(this.selectedFlag.setAttribute("tabindex","0"),this.dropdownArrow=this._createEl("div",{class:"iti__arrow"},this.selectedFlag),this.countryList=this._createEl("ul",{class:"iti__country-list iti__hide",id:"iti-".concat(this.id,"__country-listbox"),role:"listbox","aria-label":"List of countries"}),this.preferredCountries.length&&(this._appendListItems(this.preferredCountries,"iti__preferred",!0),this._createEl("li",{class:"iti__divider",role:"separator","aria-disabled":"true"},this.countryList)),this._appendListItems(this.countries,"iti__standard"),this.options.dropdownContainer?(this.dropdown=this._createEl("div",{class:"iti iti--container"}),this.dropdown.appendChild(this.countryList)):this.flagsContainer.appendChild(this.countryList)),this.options.hiddenInput){var i=this.options.hiddenInput,n=this.telInput.getAttribute("name");if(n){var r=n.lastIndexOf("[");-1!==r&&(i="".concat(n.substr(0,r),"[").concat(i,"]"))}this.hiddenInput=this._createEl("input",{type:"hidden",name:i}),e.appendChild(this.hiddenInput)}}},{key:"_appendListItems",value:function(t,e,i){for(var n="",r=0;r<t.length;r++){var s=t[r],o=i?"-preferred":"";n+="<li class='iti__country ".concat(e,"' tabIndex='-1' id='iti-").concat(this.id,"__item-").concat(s.iso2).concat(o,"' role='option' data-dial-code='").concat(s.dialCode,"' data-country-code='").concat(s.iso2,"' aria-selected='false'>"),n+="<div class='iti__flag-box'><div class='iti__flag iti__".concat(s.iso2,"'></div></div>"),n+="<span class='iti__country-name'>".concat(s.name,"</span>"),n+="<span class='iti__dial-code'>+".concat(s.dialCode,"</span>"),n+="</li>"}this.countryList.insertAdjacentHTML("beforeend",n)}},{key:"_setInitialState",value:function(){var t=this.telInput.getAttribute("value"),e=this.telInput.value,i=!t||"+"!==t.charAt(0)||e&&"+"===e.charAt(0)?e:t,n=this._getDialCode(i),r=this._isRegionlessNanp(i),s=this.options,o=s.initialCountry,a=s.nationalMode,l=s.autoHideDialCode,c=s.separateDialCode;n&&!r?this._updateFlagFromNumber(i):"auto"!==o&&(o?this._setFlag(o.toLowerCase()):n&&r?this._setFlag("us"):(this.defaultCountry=this.preferredCountries.length?this.preferredCountries[0].iso2:this.countries[0].iso2,i||this._setFlag(this.defaultCountry)),i||a||l||c||
vendor: 5,533 bytes, line 2
2(this.telInput.value="+".concat(this.selectedCountryData.dialCode))),i&&this._updateValFromNumber(i)}},{key:"_initListeners",value:function(){this._initKeyListeners(),this.options.autoHideDialCode&&this._initBlurListeners(),this.options.allowDropdown&&this._initDropdownListeners(),this.hiddenInput&&this._initHiddenInputListener()}},{key:"_initHiddenInputListener",value:function(){var t=this;this._handleHiddenInputSubmit=function(){t.hiddenInput.value=t.getNumber()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleHiddenInputSubmit)}},{key:"_getClosestLabel",value:function(){for(var t=this.telInput;t&&"LABEL"!==t.tagName;)t=t.parentNode;return t}},{key:"_initDropdownListeners",value:function(){var t=this;this._handleLabelClick=function(e){t.countryList.classList.contains("iti__hide")?t.telInput.focus():e.preventDefault()};var e=this._getClosestLabel();e&&e.addEventListener("click",this._handleLabelClick),this._handleClickSelectedFlag=function(){!t.countryList.classList.contains("iti__hide")||t.telInput.disabled||t.telInput.readOnly||t._showDropdown()},this.selectedFlag.addEventListener("click",this._handleClickSelectedFlag),this._handleFlagsContainerKeydown=function(e){t.countryList.classList.contains("iti__hide")&&-1!==["ArrowUp","Up","ArrowDown","Down"," ","Enter"].indexOf(e.key)&&(e.preventDefault(),e.stopPropagation(),t._showDropdown()),"Tab"===e.key&&t._closeDropdown()},this.flagsContainer.addEventListener("keydown",this._handleFlagsContainerKeydown)}},{key:"_initRequests",value:function(){var t=this;this.options.utilsScript&&!window.intlTelInputUtils?window.intlTelInputGlobals.documentReady()?window.intlTelInputGlobals.loadUtils(this.options.utilsScript):window.addEventListener("load",(function(){window.intlTelInputGlobals.loadUtils(t.options.utilsScript)})):this.resolveUtilsScriptPromise(),"auto"===this.options.initialCountry?this._loadAutoCountry():this.resolveAutoCountryPromise()}},{key:"_loadAutoCountry",value:function(){window.intlTelInputGlobals.autoCountry?this.handleAutoCountry():window.intlTelInputGlobals.startedLoadingAutoCountry||(window.intlTelInputGlobals.startedLoadingAutoCountry=!0,"function"==typeof this.options.geoIpLookup&&this.options.geoIpLookup((function(t){window.intlTelInputGlobals.autoCountry=t.toLowerCase(),setTimeout((function(){return u("handleAutoCountry")}))}),(function(){return u("rejectAutoCountryPromise")})))}},{key:"_initKeyListeners",value:function(){var t=this;this._handleKeyupEvent=function(){t._updateFlagFromNumber(t.telInput.value)&&t._triggerCountryChange()},this.telInput.addEventListener("keyup",this._handleKeyupEvent),this._handleClipboardEvent=function(){setTimeout(t._handleKeyupEvent)},this.telInput.addEventListener("cut",this._handleClipboardEvent),this.telInput.addEventListener("paste",this._handleClipboardEvent)}},{key:"_cap",value:function(t){var e=this.telInput.getAttribute("maxlength");return e&&t.length>e?t.substr(0,e):t}},{key:"_initBlurListeners",value:function(){var t=this;this._handleSubmitOrBlurEvent=function(){t._removeEmptyDialCode()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.addEventListener("blur",this._handleSubmitOrBlurEvent)}},{key:"_removeEmptyDialCode",value:function(){if("+"===this.telInput.value.charAt(0)){var t=this._getNumeric(this.telInput.value);t&&this.selectedCountryData.dialCode!==t||(this.telInput.value="")}}},{key:"_getNumeric",value:function(t){return t.replace(/\D/g,"")}},{key:"_trigger",value:function(t){var e=document.createEvent("Event");e.initEvent(t,!0,!0),this.telInput.dispatchEvent(e)}},{key:"_showDropdown",value:function(){this.countryList.classList.remove("iti__hide"),this.selectedFlag.setAttribute("aria-expanded","true"),this._setDropdownPosition(),this.activeItem&&(this._highlightListItem(this.activeItem,!1),this._scrollTo(this.activeItem,!0)),this._bindDropdownListeners(),this.dropdownArrow.classList.add("iti__arrow--up"),this._trigger("open:countrydropdown")}},{key:"_toggleClass",value:function(t,e,i){i&&!t.classList.contains(e)?t.classList.add(e):!i&&t.classList.contains(e)&&t.classList.remove(e)}},{key:"_setDropdownPosition",value:function(){var t=this;if(this.options.dropdownContainer&&this.options.dropdownContainer.appendChild(this.dropdown),!this.isMobile){var e=this.telInput.getBoundingClientRect(),i=window.pageYOffset||document.documentElement.scrollTop,n=e.top+i,r=this.countryList.offsetHeight,s=n+this.telInput.offsetHeight+r<i+window.innerHeight,o=n-r>i;if(this._toggleClass(this.countryList,"iti__country-list--dropup",!s&&o),this.options.dropdownContainer){var a=!s&&o?0:this.telInput.offsetHeight;this.dropdown.style.top="".concat(n+a,"px"),this.dropdown.style.left="".concat(e.left+document.body.scrollLeft,"px"),this._handleWindowScroll=function(){return t._closeDropdown()},window.addEventListener("scroll",this._handleWindowScroll)}}}},{key:"_getClosestListItem",value:function(t){for(var e=t;e&&e!==this.countryList&&!e.classList.contains("iti__country");)e=e.parentNode;return e===this.countryList?null:e}},{key:"_bindDropdownListeners",value:function(){var t=this;this._handleMouseoverCountryList=function(e){var i=t._getClosestListItem(e.target);i&&t._highlightListItem(i,!1)},this.countryList.addEventListener("mouseover",this._handleMouseoverCountryList),this._handleClickCountryList=function(e){var i=t._getClosestListItem(e.target);i&&t._selectListItem(i)},this.countryList.addEventListener("click",this._handleClickCountryList);var e=!0;
2this._handleClickOffToClose=function(){e||t._closeDropdown(),e=!1},document.documentElement.addEventListener("click",this._handleClickOffToClose);var i="",n=null;this._handleKeydownOnDropdown=function(e){e.preventDefault(),"ArrowUp"===e.key||"Up"===e.key||"ArrowDown"===e.key||"Down"===e.key?t._handleUpDownKey(e.key):"Enter"===e.key?t._handleEnterKey():"Escape"===e.key?t._closeDropdown():/^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(e.key)&&(n&&clearTimeout(n),i+=e.key.toLowerCase(),t._searchForCountry(i),n=setTimeout((function(){i=""}),1e3))},document.addEventListener("keydown",this._handleKeydownOnDropdown)}},{key:"_handleUpDownKey",value:function(t){var e="ArrowUp"===t||"Up"===t?this.highlightedItem.previousElementSibling:this.highlightedItem.nextElementSibling;e&&(e.classList.contains("iti__divider")&&(e="ArrowUp"===t||"Up"===t?e.previousElementSibling:e.nextElementSibling),this._highlightListItem(e,!0))}},{key:"_handleEnterKey",value:function(){this.highlightedItem&&this._selectListItem(this.highlightedItem)}},{key:"_searchForCountry",value:function(t){for(var e=0;e<this.countries.length;e++)if(this._startsWith(this.countries[e].name,t)){var i=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(this.countries[e].iso2));this._highlightListItem(i,!1),this._scrollTo(i,!0);break}}},{key:"_startsWith",value:function(t,e){return t.substr(0,e.length).toLowerCase()===e}},{key:"_updateValFromNumber",value:function(t){var e=t;if(this.options.formatOnDisplay&&window.intlTelInputUtils&&this.selectedCountryData){var i=!this.options.separateDialCode&&(this.options.nationalMode||"+"!==e.charAt(0)),n=intlTelInputUtils.numberFormat,r=n.NATIONAL,s=n.INTERNATIONAL,o=i?r:s;e=intlTelInputUtils.formatNumber(e,this.selectedCountryData.iso2,o)}e=this._beforeSetNumber(e),this.telInput.value=e}},{key:"_updateFlagFromNumber",value:function(t){var e=t,i=this.selectedCountryData.dialCode,n="1"===i;e&&this.options.nationalMode&&n&&"+"!==e.charAt(0)&&("1"!==e.charAt(0)&&(e="1".concat(e)),e="+".concat(e)),this.options.separateDialCode&&i&&"+"!==e.charAt(0)&&(e="+".concat(i).concat(e));var r=this._getDialCode(e,!0),s=this._getNumeric(e),o=null;if(r){var a=this.countryCodes[this._getNumeric(r)],l=-1!==a.indexOf(this.selectedCountryData.iso2)&&s.length<=r.length-1;if(!("1"===i&&this._isRegionlessNanp(s)||l))for(var c=0;c<a.length;c++)if(a[c]){o=a[c];break}}else"+"===e.charAt(0)&&s.length?o="":e&&"+"!==e||(o=this.defaultCountry);return null!==o&&this._setFlag(o)}},{key:"_isRegionlessNanp",value:function(t){var e=this._getNumeric(t);if("1"===e.charAt(0)){var i=e.substr(1,3);return-1!==l.indexOf(i)}return!1}},{key:"_highlightListItem",value:function(t,e){var i=this.highlightedItem;i&&i.classList.remove("iti__highlight"),this.highlightedItem=t,this.highlightedItem.classList.add("iti__highlight"),e&&this.highlightedItem.focus()}},{key:"_getCountryData",value:function(t,i,n){for(var r=i?e:this.countries,s=0;s<r.length;s++)if(r[s].iso2===t)return r[s];if(n)return null;throw new Error("No country data for '".concat(t,"'"))}},{key:"_setFlag",value:function(t){var e=this.selectedCountryData.iso2?this.selectedCountryData:{};this.selectedCountryData=t?this._getCountryData(t,!1,!1):{},this.selectedCountryData.iso2&&(this.defaultCountry=this.selectedCountryData.iso2),this.selectedFlagInner.setAttribute("class","iti__flag iti__".concat(t));var i=t?"".concat(this.selectedCountryData.name,": +").concat(this.selectedCountryData.dialCode):"Unknown";if(this.selectedFlag.setAttribute("title",i),this.options.separateDialCode){var n=this.selectedCountryData.dialCode?"+".concat(this.selectedCountryData.dialCode):"";this.selectedDialCode.innerHTML=n;var r=this.selectedFlag.offsetWidth||this._getHiddenSelectedFlagWidth();this.telInput.style.paddingLeft="".concat(r+6,"px")}if(this._updatePlaceholder(),this.options.allowDropdown){var s=this.activeItem;if(s&&(s.classList.remove("iti__active"),s.setAttribute("aria-selected","false")),t){var o=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(t,"-preferred"))||this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(t));o.setAttribute("aria-selected","true"),o.classList.add("iti__active"),this.activeItem=o,this.selectedFlag.setAttribute("aria-activedescendant",o.getAttribute("id"))}}return e.iso2!==t}},{key:"_getHiddenSelectedFlagWidth",value:function(){var t=this.telInput.parentNode.cloneNode();t.style.visibility="hidden",document.body.appendChild(t);var e=this.flagsContainer.cloneNode();t.appendChild(e);var i=this.selectedFlag.cloneNode(!0);e.appendChild(i);var n=i.offsetWidth;return t.parentNode.removeChild(t),n}},{key:"_updatePlaceholder",value:function(){var t="aggressive"===this.options.autoPlaceholder||!this.hadInitialPlaceholder&&"polite"===this.options.autoPlaceholder;if(window.intlTelInputUtils&&t){var e=intlTelInputUtils.numberType[this.options.placeholderNumberType],i=this.selectedCountryData.iso2?intlTelInputUtils.getExampleNumber(this.selectedCountryData.iso2,this.options.nationalMode,e):"";i=this._beforeSetNumber(i),"function"==typeof this.options.customPlaceholder&&(i=this.options.customPlaceholder(i,this.selectedCountryData)),this.telInput.setAttribute("placeholder",i)}}},{key:"_selectListItem",value:function(t){var e=this._setFlag(t.getAttribute("data-country-code"));this._closeDropdown(),this._updateDialCode(t.getAttribute("data-dial-code"),!0),this.telInput.focus();var i=this.telInput.value.length;this.telInput.setSelectionRange(i,i),e&&this._triggerCountryChange()}},{key:"_closeDropdown",value:function(){this.countryList.classList.add("iti__hide"),this.selectedFlag.setAttribute("aria-expanded","fal
2se"),this.dropdownArrow.classList.remove("iti__arrow--up"),document.removeEventListener("keydown",this._handleKeydownOnDropdown),document.documentElement.removeEventListener("click",this._handleClickOffToClose),this.countryList.removeEventListener("mouseover",this._handleMouseoverCountryList),this.countryList.removeEventListener("click",this._handleClickCountryList),this.options.dropdownContainer&&(this.isMobile||window.removeEventListener("scroll",this._handleWindowScroll),this.dropdown.parentNode&&this.dropdown.parentNode.removeChild(this.dropdown)),this._trigger("close:countrydropdown")}},{key:"_scrollTo",value:function(t,e){var i=this.countryList,n=window.pageYOffset||document.documentElement.scrollTop,r=i.offsetHeight,s=i.getBoundingClientRect().top+n,o=s+r,a=t.offsetHeight,l=t.getBoundingClientRect().top+n,c=l+a,u=l-s+i.scrollTop,h=r/2-a/2;if(l<s)e&&(u-=h),i.scrollTop=u;else if(c>o){e&&(u+=h);var d=r-a;i.scrollTop=u-d}}},{key:"_updateDialCode",value:function(t,e){var i,n=this.telInput.value,r="+".concat(t);if("+"===n.charAt(0)){var s=this._getDialCode(n);i=s?n.replace(s,r):r}else{if(this.options.nationalMode||this.options.separateDialCode)return;if(n)i=r+n;else{if(!e&&this.options.autoHideDialCode)return;i=r}}this.telInput.value=i}},{key:"_getDialCode",value:function(t,e){var i="";if("+"===t.charAt(0))for(var n="",r=0;r<t.length;r++){var s=t.charAt(r);if(!isNaN(parseInt(s,10))){if(n+=s,e)this.countryCodes[n]&&(i=t.substr(0,r+1));else if(this.dialCodes[n]){i=t.substr(0,r+1);break}if(n.length===this.countryCodeMaxLen)break}}return i}},{key:"_getFullNumber",value:function(){var t=this.telInput.value.trim(),e=this.selectedCountryData.dialCode,i=this._getNumeric(t);return(this.options.separateDialCode&&"+"!==t.charAt(0)&&e&&i?"+".concat(e):"")+t}},{key:"_beforeSetNumber",value:function(t){var e=t;if(this.options.separateDialCode){var i=this._getDialCode(e);if(i){var n=" "===e[(i="+".concat(this.selectedCountryData.dialCode)).length]||"-"===e[i.length]?i.length+1:i.length;e=e.substr(n)}}return this._cap(e)}},{key:"_triggerCountryChange",value:function(){this._trigger("countrychange")}},{key:"handleAutoCountry",value:function(){"auto"===this.options.initialCountry&&(this.defaultCountry=window.intlTelInputGlobals.autoCountry,this.telInput.value||this.setCountry(this.defaultCountry),this.resolveAutoCountryPromise())}},{key:"handleUtils",value:function(){window.intlTelInputUtils&&(this.telInput.value&&this._updateValFromNumber(this.telInput.value),this._updatePlaceholder()),this.resolveUtilsScriptPromise()}},{key:"destroy",value:function(){var t=this.telInput.form;if(this.options.allowDropdown){this._closeDropdown(),this.selectedFlag.removeEventListener("click",this._handleClickSelectedFlag),this.flagsContainer.removeEventListener("keydown",this._handleFlagsContainerKeydown);var e=this._getClosestLabel();e&&e.removeEventListener("click",this._handleLabelClick)}this.hiddenInput&&t&&t.removeEventListener("submit",this._handleHiddenInputSubmit),this.options.autoHideDialCode&&(t&&t.removeEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.removeEventListener("blur",this._handleSubmitOrBlurEvent)),this.telInput.removeEventListener("keyup",this._handleKeyupEvent),this.telInput.removeEventListener("cut",this._handleClipboardEvent),this.telInput.removeEventListener("paste",this._handleClipboardEvent),this.telInput.removeAttribute("data-intl-tel-input-id");var i=this.telInput.parentNode;i.parentNode.insertBefore(this.telInput,i),i.parentNode.removeChild(i),delete window.intlTelInputGlobals.instances[this.id]}},{key:"getExtension",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getExtension(this._getFullNumber(),this.selectedCountryData.iso2):""}},{key:"getNumber",value:function(t){if(window.intlTelInputUtils){var e=this.selectedCountryData.iso2;return intlTelInputUtils.formatNumber(this._getFullNumber(),e,t)}return""}},{key:"getNumberType",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getNumberType(this._getFullNumber(),this.selectedCountryData.iso2):-99}},{key:"getSelectedCountryData",value:function(){return this.selectedCountryData}},{key:"getValidationError",value:function(){if(window.intlTelInputUtils){var t=this.selectedCountryData.iso2;return intlTelInputUtils.getValidationError(this._getFullNumber(),t)}return-99}},{key:"isValidNumber",value:function(){var t=this._getFullNumber().trim(),e=this.options.nationalMode?this.selectedCountryData.iso2:"";return window.intlTelInputUtils?intlTelInputUtils.isValidNumber(t,e):null}},{key:"setCountry",value:function(t){var e=t.toLowerCase();this.selectedFlagInner.classList.contains("iti__".concat(e))||(this._setFlag(e),this._updateDialCode(this.selectedCountryData.dialCode,!1),this._triggerCountryChange())}},{key:"setNumber",value:function(t){var e=this._updateFlagFromNumber(t);
2this._updateValFromNumber(t),e&&this._triggerCountryChange()}},{key:"setPlaceholderNumberType",value:function(t){this.options.placeholderNumberType=t,this._updatePlaceholder()}}],s&&r(n.prototype,s),h&&r(n,h),i}();s.getCountryData=function(){return e};var d=function(t,e,i){var n=document.createElement("script");n.onload=function(){u("handleUtils"),e&&e()},n.onerror=function(){u("rejectUtilsScriptPromise"),i&&i()},n.className="iti-load-utils",n.async=!0,n.src=t,document.body.appendChild(n)};return s.loadUtils=function(t){if(!window.intlTelInputUtils&&!window.intlTelInputGlobals.startedLoadingUtilsScript){if(window.intlTelInputGlobals.startedLoadingUtilsScript=!0,"undefined"!=typeof Promise)return new Promise((function(e,i){return d(t,e,i)}));d(t)}return null},s.defaults=a,s.version="17.0.18",function(t,e){var i=new h(t,e);return i._init(),t.setAttribute("data-intl-tel-input-id",i.id),window.intlTelInputGlobals.instances[i.id]=i,i}}()},t.exports?t.exports=e():window.intlTelInput=e()},699:(t,e,i)=>{t.exports=i(197)},755:function(t,e){var i;!function(e,i){"use strict";"object"==typeof t.exports?t.exports=e.document?i(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return i(t)}:i(e)}("undefined"!=typeof window?window:this,(function(n,r){"use strict";var s=[],o=Object.getPrototypeOf,a=s.slice,l=s.flat?function(t){return s.flat.call(t)}:function(t){return s.concat.apply([],t)},c=s.push,u=s.indexOf,h={},d=h.toString,p=h.hasOwnProperty,f=p.toString,g=f.call(Object),m={},v=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},_=function(t){return null!=t&&t===t.window},y=n.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,i){var n,r,s=(i=i||y).createElement("script");if(s.text=t,e)for(n in x)(r=e[n]||e.getAttribute&&e.getAttribute(n))&&s.setAttribute(n,r);i.head.appendChild(s).parentNode.removeChild(s)}function b(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?h[d.call(t)]||"object":typeof t}var C="3.6.0",E=function(t,e){return new E.fn.init(t,e)};function S(t){var e=!!t&&"length"in t&&t.length,i=b(t);return!v(t)&&!_(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}E.fn=E.prototype={jquery:C,constructor:E,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=E.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return E.each(this,t)},map:function(t){return this.pushStack(E.map(this,(function(e,i){return t.call(e,i,e)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(E.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:c,sort:s.sort,splice:s.splice},E.extend=E.fn.extend=function(){var t,e,i,n,r,s,o=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[a]||{},a++),"object"==typeof o||v(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)n=t[e],"__proto__"!==e&&o!==n&&(c&&n&&(E.isPlainObject(n)||(r=Array.isArray(n)))?(i=o[e],s=r&&!Array.isArray(i)?[]:r||E.isPlainObject(i)?i:{},r=!1,o[e]=E.extend(c,s,n)):void 0!==n&&(o[e]=n));return o},E.extend({expando:"jQuery"+(C+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,i;return!(!t||"[object Object]"!==d.call(t))&&(!(e=o(t))||"function"==typeof(i=p.call(e,"constructor")&&e.constructor)&&f.call(i)===g)},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(S(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},makeArray:function(t,e){var i=e||[];return null!=t&&(S(Object(t))?E.merge(i,"string"==typeof t?[t]:t):c.call(i,t)),i}
vendor: 8,985 bytes, line 2
2,inArray:function(t,e,i){return null==e?-1:u.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,r=t.length;n<i;n++)t[r++]=e[n];return t.length=r,t},grep:function(t,e,i){for(var n=[],r=0,s=t.length,o=!i;r<s;r++)!e(t[r],r)!==o&&n.push(t[r]);return n},map:function(t,e,i){var n,r,s=0,o=[];if(S(t))for(n=t.length;s<n;s++)null!=(r=e(t[s],s,i))&&o.push(r);else for(s in t)null!=(r=e(t[s],s,i))&&o.push(r);return l(o)},guid:1,support:m}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=s[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){h["[object "+e+"]"]=e.toLowerCase()}));var T=function(t){var e,i,n,r,s,o,a,l,c,u,h,d,p,f,g,m,v,_,y,x="sizzle"+1*new Date,w=t.document,b=0,C=0,E=lt(),S=lt(),T=lt(),k=lt(),A=function(t,e){return t===e&&(h=!0),0},M={}.hasOwnProperty,I=[],L=I.pop,P=I.push,R=I.push,D=I.slice,O=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},F="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",z="[\\x20\\t\\r\\n\\f]",$="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",N="\\[[\\x20\\t\\r\\n\\f]*("+$+")(?:"+z+"*([*^$|!~]?=)"+z+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+$+"))|)"+z+"*\\]",j=":("+$+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",B=new RegExp(z+"+","g"),G=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),W=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),q=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),Y=new RegExp(z+"|>"),X=new RegExp(j),H=new RegExp("^"+$+"$"),U={ID:new RegExp("^#("+$+")"),CLASS:new RegExp("^\\.("+$+")"),TAG:new RegExp("^("+$+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+j),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},V=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),it=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))},nt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,rt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},st=function(){d()},ot=xt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{R.apply(I=D.call(w.childNodes),w.childNodes),I[w.childNodes.length].nodeType}catch(t){R={apply:I.length?function(t,e){P.apply(t,D.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function at(t,e,n,r){var s,a,c,u,h,f,v,_=e&&e.ownerDocument,w=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return n;if(!r&&(d(e),e=e||p,g)){if(11!==w&&(h=Q.exec(t)))if(s=h[1]){if(9===w){if(!(c=e.getElementById(s)))return n;if(c.id===s)return n.push(c),n}else if(_&&(c=_.getElementById(s))&&y(e,c)&&c.id===s)return n.push(c),n}else{if(h[2])return R.apply(n,e.getElementsByTagName(t)),n;if((s=h[3])&&i.getElementsByClassName&&e.getElementsByClassName)return R.apply(n,e.getElementsByClassName(s)),n}if(i.qsa&&!k[t+" "]&&(!m||!m.test(t))&&(1!==w||"object"!==e.nodeName.toLowerCase())){if(v=t,_=e,1===w&&(Y.test(t)||q.test(t))){for((_=tt.test(t)&&vt(e.parentNode)||e)===e&&i.scope||((u=e.getAttribute("id"))?u=u.replace(nt,rt):e.setAttribute("id",u=x)),a=(f=o(t)).length;a--;)f[a]=(u?"#"+u:":scope")+" "+yt(f[a]);v=f.join(",")}try{return R.apply(n,_.querySelectorAll(v)),n}catch(e){k(t,!0)}finally{u===x&&e.removeAttribute("id")}}}return l(t.replace(G,"$1"),e,n,r)}function lt(){var t=[];return function e(i,r){return t.push(i+" ")>n.cacheLength&&delete e[t.shift()],e[i+" "]=r}}function ct(t){return t[x]=!0,t}function ut(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ht(t,e){for(var i=t.split("|"),r=i.length;r--;)n.attrHandle[i[r]]=e}function dt(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function pt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ft(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function gt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ot(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function mt(t){return ct((function(e){return e=+e,ct((function(i,n){for(var r,s=t([],i.length,e),o=s.length;o--;)i[r=s[o]]&&(i[r]=!(n[r]=i[r]))}))}))}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in i=at.support={},s=at.isXML=function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!V.test(e||i&&i.nodeName||"HTML")},d=at.setDocument=function(t){var e,r,o=t?t.ownerDocument||t:w;return o!=p&&9===o.nodeType&&o.documentElement?(f=(p=o).documentElement,g=!s(p),w!=p&&(r=p.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",st,!1):r.attachEvent&&r.attachEvent("onunload",st)),i.scope=ut((function(t){return f.appendChild(t).appendChild(p.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),i.attributes=ut((function(t){return t.className="i",!t.getAttribute("className")})),i.getElementsByTagName=ut((function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length})),i.getElementsByClassName=J.test(p.getElementsByClassName),i.getById=ut((function(t){return f.appendChild(t).id=x,!p.getElementsByName||!p.getElementsByName(x).length})),i.getById?(n.filter.ID=function(t){var e=t.replace(et,it);return function(t){return t.getAttribute("id")===e}},n.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var i=e.getElementById(t);return i?[i]:[]}}):(n.filter.ID=function(t){var e=t.replace(et,it);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},n.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var i,n,r,s=e.getElementById(t);if(s){if((i=s.getAttributeNode("id"))&&i.value===t)return[s];for(r=e.getElementsByName(t),n=0;s=r[n++];)if((i=s.getAttributeNode("id"))&&i.value===t)return[s]}return[]}}),n.find.TAG=i.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):i.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],r=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[r++];)1===i.nodeType&&n.push(i);return n}return s},n.find.CLASS=i.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},v=[],m=[],(i.qsa=J.test(p.querySelectorAll))&&(ut((function(t){var e;f.appendChild(t).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+F+")"),t.querySelectorAll("[id~="+x+"-]").length||m.push("~="),(e=p.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||m.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+x+"+*").length||m.push(".#.+[+~]"),t.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ut((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=p.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),f.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")}))),(i.matchesSelector=J.test(_=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ut((function(t){i.disconnectedMatch=_.call(t,"*"),_.call(t,"[s!='']:x"),v.push("!=",j)})),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.j
vendor: 17,595 bytes, line 2
2oin("|")),e=J.test(f.compareDocumentPosition),y=e||J.test(f.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},A=e?function(t,e){if(t===e)return h=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!i.sortDetached&&e.compareDocumentPosition(t)===n?t==p||t.ownerDocument==w&&y(w,t)?-1:e==p||e.ownerDocument==w&&y(w,e)?1:u?O(u,t)-O(u,e):0:4&n?-1:1)}:function(t,e){if(t===e)return h=!0,0;var i,n=0,r=t.parentNode,s=e.parentNode,o=[t],a=[e];if(!r||!s)return t==p?-1:e==p?1:r?-1:s?1:u?O(u,t)-O(u,e):0;if(r===s)return dt(t,e);for(i=t;i=i.parentNode;)o.unshift(i);for(i=e;i=i.parentNode;)a.unshift(i);for(;o[n]===a[n];)n++;return n?dt(o[n],a[n]):o[n]==w?-1:a[n]==w?1:0},p):p},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if(d(t),i.matchesSelector&&g&&!k[e+" "]&&(!v||!v.test(e))&&(!m||!m.test(e)))try{var n=_.call(t,e);if(n||i.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){k(e,!0)}return at(e,p,null,[t]).length>0},at.contains=function(t,e){return(t.ownerDocument||t)!=p&&d(t),y(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!=p&&d(t);var r=n.attrHandle[e.toLowerCase()],s=r&&M.call(n.attrHandle,e.toLowerCase())?r(t,e,!g):void 0;return void 0!==s?s:i.attributes||!g?t.getAttribute(e):(s=t.getAttributeNode(e))&&s.specified?s.value:null},at.escape=function(t){return(t+"").replace(nt,rt)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,n=[],r=0,s=0;if(h=!i.detectDuplicates,u=!i.sortStable&&t.slice(0),t.sort(A),h){for(;e=t[s++];)e===t[s]&&(r=n.push(s));for(;r--;)t.splice(n[r],1)}return u=null,t},r=at.getText=function(t){var e,i="",n=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=r(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[n++];)i+=r(e);return i},n=at.selectors={cacheLength:50,createPseudo:ct,match:U,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(et,it),t[3]=(t[3]||t[4]||t[5]||"").replace(et,it),"~="===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]||at.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]&&at.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return U.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&X.test(i)&&(e=o(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(et,it).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=E[t+" "];return e||(e=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+t+"("+z+"|$)"))&&E(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,i){return function(n){var r=at.attr(n,t);return null==r?"!="===e:!e||(r+="","="===e?r===i:"!="===e?r!==i:"^="===e?i&&0===r.indexOf(i):"*="===e?i&&r.indexOf(i)>-1:"$="===e?i&&r.slice(-i.length)===i:"~="===e?(" "+r.replace(B," ")+" ").indexOf(i)>-1:"|="===e&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,n,r){var s="nth"!==t.slice(0,3),o="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var c,u,h,d,p,f,g=s!==o?"nextSibling":"previousSibling",m=e.parentNode,v=a&&e.nodeName.toLowerCase(),_=!l&&!a,y=!1;if(m){if(s){for(;g;){for(d=e;d=d[g];)if(a?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;f=g="only"===t&&!f&&"nextSibling"}return!0}if(f=[o?m.firstChild:m.lastChild],o&&_){for(y=(p=(c=(u=(h=(d=m)[x]||(d[x]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]||[])[0]===b&&c[1])&&c[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(y=p=0)||f.pop();)if(1===d.nodeType&&++y&&d===e){u[t]=[b,p,y];break}}else if(_&&(y=p=(c=(u=(h=(d=e)[x]||(d[x]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]||[])[0]===b&&c[1]),!1===y)for(;(d=++p&&d&&d[g]||(y=p=0)||f.pop())&&((a?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++y||(_&&((u=(h=d[x]||(d[x]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]=[b,y]),d!==e)););return(y-=r)===n||y%n==0&&y/n>=0}}},PSEUDO:function(t,e){var i,r=n.pseudos[t]||n.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return r[x]?r(e):r.length>1?(i=[t,t,"",e],n.setFilters.hasOwnProperty(t.toLowerCase())?ct((function(t,i){for(var n,s=r(t,e),o=s.length;o--;)t[n=O(t,s[o])]=!(i[n]=s[o])})):function(t){return r(t,0,i)}):r}},pseudos:{not:ct((function(t){var e=[],i=[],n=a(t.replace(G,"$1"));return n[x]?ct((function(t,e,i,r){for(var s,o=n(t,null,r,[]),a=t.length;a--;)(s=o[a])&&(t[a]=!(e[a]=s))})):function(t,r,s){return e[0]=t,n(e,null,s,i),e[0]=null,!i.pop()}})),has:ct((function(t){return function(e){return at(t,e).length>0}})),contains:ct((function(t){return t=t.replace(et,it),function(e){return(e.textContent||r(e)).indexOf(t)>-1}})),lang:ct((function(t){return H.test(t||"")||at.error("unsupported lang: "+t),t=t.replace(et,it).toLowerCase(),function(e){var i;do{if(i=g?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===f},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:gt(!1),disabled:gt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!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!n.pseudos.empty(t)},header:function(t){return Z.test(t.nodeName)},input:function(t){return K.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:mt((function(){return[0]})),last:mt((function(t,e){return[e-1]})),eq:mt((function(t,e,i){return[i<0?i+e:i]})),even:mt((function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t})),odd:mt((function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t})),lt:mt((function(t,e,i){for(var n=i<0?i+e:i>e?e:i;--n>=0;)t.push(n);return t})),gt:mt((function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t}))}},n.pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[e]=pt(e);for(e in{submit:!0,reset:!0})n.pseudos[e]=ft(e);function _t(){}function yt(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function xt(t,e,i){var n=e.dir,r=e.next,s=r||n,o=i&&"parentNode"===s,a=C++;return e.first?function(e,i,r){for(;e=e[n];)if(1===e.nodeType||o)return t(e,i,r);return!1}:function(e,i,l){var c,u,h,d=[b,a];if(l){for(;e=e[n];)if((1===e.nodeType||o)&&t(e,i,l))return!0}else for(;e=e[n];)if(1===e.nodeType||o)if(u=(h=e[x]||(e[x]={}))[e.uniqueID]||(h[e.uniqueID]={}),r&&r===e.nodeName.toLowerCase())e=e[n]||e;else{if((c=u[s])&&c[0]===b&&c[1]===a)return d[2]=c[2];if(u[s]=d,d[2]=t(e,i,l))return!0}return!1}}function wt(t){return t.length>1?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function bt(t,e,i,n,r){for(var s,o=[],a=0,l=t.length,c=null!=e;a<l;a++)(s=t[a])&&(i&&!i(s,n,r)||(o.push(s),c&&e.push(a)));return o}function Ct(t,e,i,n,r,s){return n&&!n[x]&&(n=Ct(n)),r&&!r[x]&&(r=Ct(r,s)),ct((function(s,o,a,l){var c,u,h,d=[],p=[],f=o.length,g=s||function(t,e,i){for(var n=0,r=e.length;n<r;n++)at(t,e[n],i);return i}(e||"*",a.nodeType?[a]:a,[]),m=!t||!s&&e?g:bt(g,d,t,a,l),v=i?r||(s?t:f||n)?[]:o:m;if(i&&i(m,v,a,l),n)for(c=bt(v,p),n(c,[],a,l),u=c.length;u--;)(h=c[u])&&(v[p[u]]=!(m[p[u]]=h));if(s){if(r||t){if(r){for(c=[],u=v.length;u--;)(h=v[u])&&c.push(m[u]=h);r(null,v=[],c,l)}for(u=v.length;u--;)(h=v[u])&&(c=r?O(s,h):d[u])>-1&&(s[c]=!(o[c]=h))}}else v=bt(v===o?v.splice(f,v.length):v),r?r(null,o,v,l):R.apply(o,v)}))}function Et(t){for(var e,i,r,s=t.length,o=n.relative[t[0].type],a=o||n.relative[" "],l=o?1:0,u=xt((function(t){return t===e}),a,!0),h=xt((function(t){return O(e,t)>-1}),a,!0),d=[function(t,i,n){var r=!o&&(n||i!==c)||((e=i).nodeType?u(t,i,n):h(t,i,n));return e=null,r}];l<s;l++)if(i=n.relative[t[l].type])d=[xt(wt(d),i)];else{if((i=n.filter[t[l].type].apply(null,t[l].matches))[x]){for(r=++l;r<s&&!n.relative[t[r].type];r++);return Ct(l>1&&wt(d),l>1&&yt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(G,"$1"),i,l<r&&Et(t.slice(l,r)),r<s&&Et(t=t.slice(r)),r<s&&yt(t))}d.push(i)}return wt(d)}return _t.prototype=n.filters=n.pseudos,n.setFilters=new _t,o=at.tokenize=function(t,e){var i,r,s,o,a,l,c,u=S[t+" "];if(u)return e?0:u.slice(0);for(a=t,l=[],c=n.preFilter;a;){for(o in i&&!(r=W.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(s=[])),i=!1,(r=q.exec(a))&&(i=r.shift(),s.push({value:i,type:r[0].replace(G," ")}),a=a.slice(i.length)),n.filter)!(r=U[o].exec(a))||c[o]&&!(r=c[o](r))||(i=r.shift(),s.push({value:i,type:o,matches:r}),a=a.slice(i.length));if(!i)break}return e?a.length:a?at.error(t):S(t,l).slice(0)},a=at.compile=function(t,e){var i,r=[],s=[],a=T[t+" "];if(!a){for(e||(e=o(t)),i=e.length;i--;)(a=Et(e[i]))[x]?r.push(a):s.push(a);a=T(t,function(t,e){var i=e.length>0,r=t.length>0,s=function(s,o,a,l,u){var h,f,m,v=0,_="0",y=s&&[],x=[],w=c,C=s||r&&n.find.TAG("*",u),E=b+=null==w?1:Math.random()||.1,S=C.length;for(u&&(c=o==p||o||u);_!==S&&null!=(h=C[_]);_++){if(r&&h){for(f=0,o||h.ownerDocument==p||(d(h),a=!g);m=t[f++];)if(m(h,o||p,a)){l.push(h);break}u&&(b=E)}i&&((h=!m&&h)&&v--,s&&y.push(h))}if(v+=_,i&&_!==v){for(f=0;m=e[f++];)m(y,x,o,a);if(s){if(v>0)for(;_--;)y[_]||x[_]||(x[_]=L.call(l));x=bt(x)}R.apply(l,x),u&&!s&&x.length>0&&v+e.length>1&&at.uniqueSort(l)}return u&&(b=E,c=w),y};return i?ct(s):s}(s,r)),a.selector=t}return a},l=at.select=function(t,e,i,r){var s,l,c,u,h,d="function"==typeof t&&t,p=!r&&o(t=d.selector||t);if(i=i||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===e.nodeType&&g&&n.relative[l[1].type]){if(!(e=(n.find.ID(c.matches[0].replace(et,it),e)||[])[0]))return i;d&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(s=U.needsContext.test(t)?0:l.length;s--&&(c=l[s],!n.relative[u=c.type]);)if((h=n.find[u])&&(r=h(c.matches[0].replace(et,it),tt.test(l[0].type)&&vt(e.parentNode)||e))){if(l.splice(s,1),!(t=r.length&&yt(l)))return R.apply(i,r),i;break}}return(d||a(t,p))(r,e,!g,i,!e||tt.test(t)&&vt(e.parentNode)||e),i},i.sortStable=x.split("").sort(A).join("")===x,i.detectDuplicates=!!h,d(),i.sortDetached=ut((function(t){return 1&t.compareDocumentPosition(p.createElement("fieldset"))})),ut((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||ht("type|href|height|width",(function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),i.attributes&&ut((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||ht("value",(function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ut((function(t){return null==t.getAttribute("disabled")}))||ht(F,(function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null})),at}(n);E.find=T,E.expr=T.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=T.uniqueSort,E.text=T.getText,E.isXMLDoc=T.isXML,E.contains=T.contains,E.escapeSelector=T.escape;var k=function(t,e,i){for(var n=[],r=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&E(t).is(i))break;n.push(t)}return n},A=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},M=E.expr.match.needsContext;function I(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var L=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(t,e,i){return v(e)?E.grep(t,(function(t,n){return!!e.call(t,n,t)!==i})):e.nodeType?E.grep(t,(function(t){return t===e!==i})):"string"!=typeof e?E.grep(t,(function(t){return u.call(e,t)>-1!==i})):E.filter(e,t,i)}E.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?E.find.matchesSelector(n,t)?[n]:[]:E.find.matches(t,E.grep(e,(function(t){return 1===t.nodeType})))},E.fn.extend({find:function(t){var e,i,n=this.length,r=this;if("string"!=typeof t)return this.pushStack(E(t).filter((function(){for(e=0;e<n;e++)if(E.contains(r[e],this))return!0})));for(i=this.pushStack([]),e=0;e<n;e++)E.find(t,r[e],i);return n>1?E.uniqueSort(i):i},filter:function(t){return this.pushStack(P(this,t||[],!1))},not:function(t){return this.pushStack(P(this,t||[],!0))},is:function(t){return!!P(this,"string"==typeof t&&M.test(t)?E(t):t||[],!1).length}});var R,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(t,e,i){var n,r;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]:D.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof E?e[0]:e,E.merge(this,E.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:y,!0)),L.test(n[1])&&E.isPlainObject(e))for(n in e)v(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(r=y.getElementById(n[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==i.ready?i.ready(t):t(E):E.makeArray(t,this)}).prototype=E.fn,R=E(y);var O=/^(?:parents|prev(?:Until|All))/,F={children:!0,contents:!0,next:!0,prev:!0};function z(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}E.fn.extend({has:function(t){var e=E(t,this),i=e.length;return this.filter((function(){for(var t=0;t<i;t++)if(E.contains(this,e[t]))return!0}))},closest:function(t,e){var i,n=0,r=this.length,s=[],o="string"!=typeof t&&E(t);if(!M.test(t))for(;n<r;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(o?o.index(i)>-1:1===i.nodeType&&E.find.matchesSelector(i,t))){s.push(i);break}return this.pushStack(s.length>1?E.uniqueSort(s):s)},index:function(t){return t?"string"==typeof t?u.call(E(t),this[0]):u.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),E.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return k(t,"parentNode")},parentsUntil:function(t,e,i){return k(t,"parentNode",i)},next:function(t){return z(t,"nextSibling")},prev:function(t){return z(t,"previousSibling")},nextAll:function(t){return k(t,"nextSibling")},prevAll:function(t){return k(t,"previousSibling")},nextUntil:function(t,e,i){return k(t,"nextSibling",i)},prevUntil:function(t,e,i){return k(t,"previousSibling",i)},siblings:function(t){return A((t.parentNode||{}).firstChild,t)},children:function(t){return A(t.firstChild)},contents:function(t){return null!=t.contentDocument&&o(t.contentDocument)?t.contentDocument:(I(t,"template")&&(t=t.content||t),E.merge([],t.childNodes))}},(function(t,e){E.fn[t]=function(i,n){var r=E.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=E.filter(n,r)),this.length>1&&(F[t]||E.uniqueSort(r),O.test(t)&&r.reverse()),this.pushStack(r)}}));var $=/[^\x20\t\r\n\f]+/g;function N(t){return t}function j(t){throw t}function B(t,e,i,n){var r;try{t&&v(r=t.promise)?r.call(t).done(e).fail(i):t&&v(r=t.then)?r.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}E.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return E.each(t.match($)||[],(function(t,i){e[i]=!0})),e}(t):E.extend({},t);var e,i,n,r,s=[],o=[],a=-1,l=function(){for(r=r||t.once,n=e=!0;o.length;a=-1)for(i=o.shift();++a<s.length;)!1===s[a].apply(i[0],i[1])&&t.stopOnFalse&&(a=s.length,i=!1);t.memory||(i=!1),e=!1,r&&(s=i?[]:"")},c={add:function(){return s&&(i&&!e&&(a=s.length-1,o.push(i)),function e(i){E.each(i,(function(i,n){v(n)?t.unique&&c.has(n)||s.push(n):n&&n.length&&"string"!==b(n)&&e(n)}))}(arguments),i&&!e&&l()),this},remove:function(){return E.each(arguments,(function(t,e){for(var i;(i=E.inArray(e,s,i))>-1;)s.splice(i,1),i<=a&&a--})),this},has:function(t){return t?E.inArray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return r=o=[],s=i="",this},disabled:function(){return!s},lock:function(){return r=o=[],i||e||(s=i=""),this},locked:function(){return!!r},fireWith:function(t,i){return r||(i=[t,(i=i||[]).slice?i.slice():i],o.push(i),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},E.extend({Deferred:function(t){var e=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],i="pe
2nding",r={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return E.Deferred((function(i){E.each(e,(function(e,n){var r=v(t[n[4]])&&t[n[4]];s[n[1]]((function(){var t=r&&r.apply(this,arguments);t&&v(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[n[0]+"With"](this,r?[t]:arguments)}))})),t=null})).promise()},then:function(t,i,r){var s=0;function o(t,e,i,r){return function(){var a=this,l=arguments,c=function(){var n,c;if(!(t<s)){if((n=i.apply(a,l))===e.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,v(c)?r?c.call(n,o(s,e,N,r),o(s,e,j,r)):(s++,c.call(n,o(s,e,N,r),o(s,e,j,r),o(s,e,N,e.notifyWith))):(i!==N&&(a=void 0,l=[n]),(r||e.resolveWith)(a,l))}},u=r?c:function(){try{c()}catch(n){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(n,u.stackTrace),t+1>=s&&(i!==j&&(a=void 0,l=[n]),e.rejectWith(a,l))}};t?u():(E.Deferred.getStackHook&&(u.stackTrace=E.Deferred.getStackHook()),n.setTimeout(u))}}return E.Deferred((function(n){e[0][3].add(o(0,n,v(r)?r:N,n.notifyWith)),e[1][3].add(o(0,n,v(t)?t:N)),e[2][3].add(o(0,n,v(i)?i:j))})).promise()},promise:function(t){return null!=t?E.extend(t,r):r}},s={};return E.each(e,(function(t,n){var o=n[2],a=n[5];r[n[1]]=o.add,a&&o.add((function(){i=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),o.add(n[3].fire),s[n[0]]=function(){return s[n[0]+"With"](this===s?void 0:this,arguments),this},s[n[0]+"With"]=o.fireWith})),r.promise(s),t&&t.call(s,s),s},when:function(t){var e=arguments.length,i=e,n=Array(i),r=a.call(arguments),s=E.Deferred(),o=function(t){return function(i){n[t]=this,r[t]=arguments.length>1?a.call(arguments):i,--e||s.resolveWith(n,r)}};if(e<=1&&(B(t,s.done(o(i)).resolve,s.reject,!e),"pending"===s.state()||v(r[i]&&r[i].then)))return s.then();for(;i--;)B(r[i],o(i),s.reject);return s.promise()}});var G=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&G.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},E.readyException=function(t){n.setTimeout((function(){throw t}))};var W=E.Deferred();function q(){y.removeEventListener("DOMContentLoaded",q),n.removeEventListener("load",q),E.ready()}E.fn.ready=function(t){return W.then(t).catch((function(t){E.readyException(t)})),this},E.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==t&&--E.readyWait>0||W.resolveWith(y,[E]))}}),E.ready.then=W.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?n.setTimeout(E.ready):(y.addEventListener("DOMContentLoaded",q),n.addEventListener("load",q));var Y=function(t,e,i,n,r,s,o){var a=0,l=t.length,c=null==i;if("object"===b(i))for(a in r=!0,i)Y(t,e,a,i[a],!0,s,o);else if(void 0!==n&&(r=!0,v(n)||(o=!0),c&&(o?(e.call(t,n),e=null):(c=e,e=function(t,e,i){return c.call(E(t),i)})),e))for(;a<l;a++)e(t[a],i,o?n:n.call(t[a],a,e(t[a],i)));return r?t:c?e.call(t):l?e(t[0],i):s},X=/^-ms-/,H=/-([a-z])/g;function U(t,e){return e.toUpperCase()}function V(t){return t.replace(X,"ms-").replace(H,U)}var K=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Z(){this.expando=E.expando+Z.uid++}Z.uid=1,Z.prototype={cache:function(t){var e=t[this.expando];return e||(e={},K(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,r=this.cache(t);if("string"==typeof e)r[V(e)]=i;else for(n in e)r[V(n)]=e[n];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][V(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){i=(e=Array.isArray(e)?e.map(V):(e=V(e))in n?[e]:e.match($)||[]).length;for(;i--;)delete n[e[i]]}
vendor: 4,557 bytes, line 2
2(void 0===e||E.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&&!E.isEmptyObject(e)}};var J=new Z,Q=new Z,tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,et=/[A-Z]/g;function it(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(et,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:tt.test(t)?JSON.parse(t):t)}(i)}catch(t){}Q.set(t,e,i)}else i=void 0;return i}E.extend({hasData:function(t){return Q.hasData(t)||J.hasData(t)},data:function(t,e,i){return Q.access(t,e,i)},removeData:function(t,e){Q.remove(t,e)},_data:function(t,e,i){return J.access(t,e,i)},_removeData:function(t,e){J.remove(t,e)}}),E.fn.extend({data:function(t,e){var i,n,r,s=this[0],o=s&&s.attributes;if(void 0===t){if(this.length&&(r=Q.get(s),1===s.nodeType&&!J.get(s,"hasDataAttrs"))){for(i=o.length;i--;)o[i]&&0===(n=o[i].name).indexOf("data-")&&(n=V(n.slice(5)),it(s,n,r[n]));J.set(s,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each((function(){Q.set(this,t)})):Y(this,(function(e){var i;if(s&&void 0===e)return void 0!==(i=Q.get(s,t))||void 0!==(i=it(s,t))?i:void 0;this.each((function(){Q.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){Q.remove(this,t)}))}}),E.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=J.get(t,e),i&&(!n||Array.isArray(i)?n=J.access(t,e,E.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=E.queue(t,e),n=i.length,r=i.shift(),s=E._queueHooks(t,e);"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===e&&i.unshift("inprogress"),delete s.stop,r.call(t,(function(){E.dequeue(t,e)}),s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return J.get(t,i)||J.access(t,i,{empty:E.Callbacks("once memory").add((function(){J.remove(t,[e+"queue",i])}))})}}),E.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?E.queue(this[0],t):void 0===e?this:this.each((function(){var i=E.queue(this,t,e);E._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&E.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){E.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,r=E.Deferred(),s=this,o=this.length,a=function(){--n||r.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)(i=J.get(s[o],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(a));return a(),r.promise(e)}});var nt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,rt=new RegExp("^(?:([+-])=|)("+nt+")([a-z%]*)$","i"),st=["Top","Right","Bottom","Left"],ot=y.documentElement,at=function(t){return E.contains(t.ownerDocument,t)},lt={composed:!0};ot.getRootNode&&(at=function(t){return E.contains(t.ownerDocument,t)||t.getRootNode(lt)===t.ownerDocument});var ct=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&at(t)&&"none"===E.css(t,"display")};function ut(t,e,i,n){var r,s,o=20,a=n?function(){return n.cur()}:function(){return E.css(t,e,"")},l=a(),c=i&&i[3]||(E.cssNumber[e]?"":"px"),u=t.nodeType&&(E.cssNumber[e]||"px"!==c&&+l)&&rt.exec(E.css(t,e));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;o--;)E.style(t,e,u+c),(1-s)*(1-(s=a()/l||.5))<=0&&(o=0),u/=s;u*=2,E.style(t,e,u+c),i=i||[]}return i&&(u=+u||+l||0,r=i[1]?u+(i[1]+1)*i[2]:+i[2],n&&(n.unit=c,n.start=u,n.end=r)),r}var ht={};function dt(t){var e,i=t.ownerDocument,n=t.nodeName,r=ht[n];return r||(e=i.body.appendChild(i.createElement(n)),r=E.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),ht[n]=r,r)}function pt(t,e){for(var i,n,r=[],s=0,o=t.length;s<o;s++)(n=t[s]).style&&(i=n.style.display,e?("none"===i&&(r[s]=J.get(n,"display")||null,r[s]||(n.style.display="")),""===n.style.display&&ct(n)&&(r[s]=dt(n))):"none"!==i&&(r[s]="none",J.set(n,"display",i)));for(s=0;s<o;s++)null!=r[s]&&(t[s].style.display=r[s]);return t}E.fn.extend({show:function(){return pt(this,!0)},hide:function(){return pt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){ct(this)?E(this).show():E(this).hide()}))}});var ft,gt,mt=/^(?:checkbox|radio)$/i,vt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,_t=/^$|^module$|\/(?:java|ecma)script/i;ft=y.createDocumentFragment().appendChild(y.createElement("div")),(gt=y.createElement("input")).setAttribute("type","radio"),gt.setAttribute("checked","checked"),gt.setAttribute("name","t"),ft.appendChild(gt),m.checkClone
vendor: 8,149 bytes, line 2
2=ft.cloneNode(!0).cloneNode(!0).lastChild.checked,ft.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!ft.cloneNode(!0).lastChild.defaultValue,ft.innerHTML="<option></option>",m.option=!!ft.lastChild;var yt={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 xt(t,e){var i;return i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&I(t,e)?E.merge([t],i):i}function wt(t,e){for(var i=0,n=t.length;i<n;i++)J.set(t[i],"globalEval",!e||J.get(e[i],"globalEval"))}yt.tbody=yt.tfoot=yt.colgroup=yt.caption=yt.thead,yt.th=yt.td,m.option||(yt.optgroup=yt.option=[1,"<select multiple='multiple'>","</select>"]);var bt=/<|&#?\w+;/;function Ct(t,e,i,n,r){for(var s,o,a,l,c,u,h=e.createDocumentFragment(),d=[],p=0,f=t.length;p<f;p++)if((s=t[p])||0===s)if("object"===b(s))E.merge(d,s.nodeType?[s]:s);else if(bt.test(s)){for(o=o||h.appendChild(e.createElement("div")),a=(vt.exec(s)||["",""])[1].toLowerCase(),l=yt[a]||yt._default,o.innerHTML=l[1]+E.htmlPrefilter(s)+l[2],u=l[0];u--;)o=o.lastChild;E.merge(d,o.childNodes),(o=h.firstChild).textContent=""}else d.push(e.createTextNode(s));for(h.textContent="",p=0;s=d[p++];)if(n&&E.inArray(s,n)>-1)r&&r.push(s);else if(c=at(s),o=xt(h.appendChild(s),"script"),c&&wt(o),i)for(u=0;s=o[u++];)_t.test(s.type||"")&&i.push(s);return h}var Et=/^([^.]*)(?:\.(.+)|)/;function St(){return!0}function Tt(){return!1}function kt(t,e){return t===function(){try{return y.activeElement}catch(t){}}()==("focus"===e)}function At(t,e,i,n,r,s){var o,a;if("object"==typeof e){for(a in"string"!=typeof i&&(n=n||i,i=void 0),e)At(t,a,i,n,e[a],s);return t}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=Tt;else if(!r)return t;return 1===s&&(o=r,r=function(t){return E().off(t),o.apply(this,arguments)},r.guid=o.guid||(o.guid=E.guid++)),t.each((function(){E.event.add(this,e,r,n,i)}))}function Mt(t,e,i){i?(J.set(t,e,!1),E.event.add(t,e,{namespace:!1,handler:function(t){var n,r,s=J.get(this,e);if(1&t.isTrigger&&this[e]){if(s.length)(E.event.special[e]||{}).delegateType&&t.stopPropagation();else if(s=a.call(arguments),J.set(this,e,s),n=i(this,e),this[e](),s!==(r=J.get(this,e))||n?J.set(this,e,!1):r={},s!==r)return t.stopImmediatePropagation(),t.preventDefault(),r&&r.value}else s.length&&(J.set(this,e,{value:E.event.trigger(E.extend(s[0],E.Event.prototype),s.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===J.get(t,e)&&E.event.add(t,e,St)}E.event={global:{},add:function(t,e,i,n,r){var s,o,a,l,c,u,h,d,p,f,g,m=J.get(t);if(K(t))for(i.handler&&(i=(s=i).handler,r=s.selector),r&&E.find.matchesSelector(ot,r),i.guid||(i.guid=E.guid++),(l=m.events)||(l=m.events=Object.create(null)),(o=m.handle)||(o=m.handle=function(e){return void 0!==E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match($)||[""]).length;c--;)p=g=(a=Et.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p&&(h=E.event.special[p]||{},p=(r?h.delegateType:h.bindType)||p,h=E.event.special[p]||{},u=E.extend({type:p,origType:g,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&E.expr.match.needsContext.test(r),namespace:f.join(".")},s),(d=l[p])||((d=l[p]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,f,o)||t.addEventListener&&t.addEventListener(p,o)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),r?d.splice(d.delegateCount++,0,u):d.push(u),E.event.global[p]=!0)},remove:function(t,e,i,n,r){var s,o,a,l,c,u,h,d,p,f,g,m=J.hasData(t)&&J.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match($)||[""]).length;c--;)if(p=g=(a=Et.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(h=E.event.special[p]||{},d=l[p=(n?h.delegateType:h.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=d.length;s--;)u=d[s],!r&&g!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(s,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(t,u));o&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,f,m.handle)||E.removeEvent(t,p,m.handle),delete l[p])}else for(p in l)E.event.remove(t,p+e[c],i,n,!0);E.isEmptyObject(l)&&J.remove(t,"handle events")}},dispatch:function(t){var e,i,n,r,s,o,a=new Array(arguments.length),l=E.event.fix(t),c=(J.get(this,"events")||Object.create(null))[l.type]||[],u=E.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(o=E.event.handlers.call(this,l,c),e=0;(r=o[e++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,i=0;(s=r.handlers[i++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==s.namespace&&!l.rnamespace.test(s.namespace)||(l.handleObj=s,l.data=s.data,void 0!==(n=((E.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,a))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(t,e){var i,n,r,s,o,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(s=[],o={},i=0;i<l;i++)void 0===o[r=(n=e[i]).selector+" "]&&(o[r]=n.needsContext?E(r,this).index(c)>-1:E.find(r,this,null,[c]).length),o[r]&&s.push(n);s.length&&a.push({elem:c,handlers:s})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(E.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(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[E.expando]?t:new E.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return mt.test(e.type)&&e.click&&I(e,"input")&&Mt(e,"click",St),!1},trigger:function(t){var e=this||t;return mt.test(e.type)&&e.click&&I(e,"input")&&Mt(e,"click"),!0},_default:function(t){var e=t.target;return mt.test(e.type)&&e.click&&I(e,"input")&&J.get(e,"click")||I(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},E.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},E.Event=function(t,e){if(!(this instanceof E.Event))return new E.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?St:Tt,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&&E.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:Tt,isPropagationStopped:Tt,isImmediatePropagationStopped:Tt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=St,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=St,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=St,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},E.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},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},(function(t,e){E.event.special[t]={setup:function(){return Mt(this,t,kt),!1},trigger:function(){return Mt(this,t),!0},_default:function(){return!0},delegateType:e}}
vendor: 4,565 bytes, line 2
2)),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){E.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,r=t.relatedTarget,s=t.handleObj;return r&&(r===n||E.contains(n,r))||(t.type=s.origType,i=s.handler.apply(this,arguments),t.type=e),i}}})),E.fn.extend({on:function(t,e,i,n){return At(this,t,e,i,n)},one:function(t,e,i,n){return At(this,t,e,i,n,1)},off:function(t,e,i){var n,r;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,E(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=Tt),this.each((function(){E.event.remove(this,t,i,e)}))}});var It=/<script|<style|<link/i,Lt=/checked\s*(?:[^=]|=\s*.checked.)/i,Pt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Rt(t,e){return I(t,"table")&&I(11!==e.nodeType?e:e.firstChild,"tr")&&E(t).children("tbody")[0]||t}function Dt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Ot(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Ft(t,e){var i,n,r,s,o,a;if(1===e.nodeType){if(J.hasData(t)&&(a=J.get(t).events))for(r in J.remove(e,"handle events"),a)for(i=0,n=a[r].length;i<n;i++)E.event.add(e,r,a[r][i]);Q.hasData(t)&&(s=Q.access(t),o=E.extend({},s),Q.set(e,o))}}function zt(t,e){var i=e.nodeName.toLowerCase();"input"===i&&mt.test(t.type)?e.checked=t.checked:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}function $t(t,e,i,n){e=l(e);var r,s,o,a,c,u,h=0,d=t.length,p=d-1,f=e[0],g=v(f);if(g||d>1&&"string"==typeof f&&!m.checkClone&&Lt.test(f))return t.each((function(r){var s=t.eq(r);g&&(e[0]=f.call(this,r,s.html())),$t(s,e,i,n)}));if(d&&(s=(r=Ct(e,t[0].ownerDocument,!1,t,n)).firstChild,1===r.childNodes.length&&(r=s),s||n)){for(a=(o=E.map(xt(r,"script"),Dt)).length;h<d;h++)c=r,h!==p&&(c=E.clone(c,!0,!0),a&&E.merge(o,xt(c,"script"))),i.call(t[h],c,h);if(a)for(u=o[o.length-1].ownerDocument,E.map(o,Ot),h=0;h<a;h++)c=o[h],_t.test(c.type||"")&&!J.access(c,"globalEval")&&E.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?E._evalUrl&&!c.noModule&&E._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):w(c.textContent.replace(Pt,""),c,u))}return t}function Nt(t,e,i){for(var n,r=e?E.filter(e,t):t,s=0;null!=(n=r[s]);s++)i||1!==n.nodeType||E.cleanData(xt(n)),n.parentNode&&(i&&at(n)&&wt(xt(n,"script")),n.parentNode.removeChild(n));return t}E.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,r,s,o,a=t.cloneNode(!0),l=at(t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||E.isXMLDoc(t)))for(o=xt(a),n=0,r=(s=xt(t)).length;n<r;n++)zt(s[n],o[n]);if(e)if(i)for(s=s||xt(t),o=o||xt(a),n=0,r=s.length;n<r;n++)Ft(s[n],o[n]);else Ft(t,a);return(o=xt(a,"script")).length>0&&wt(o,!l&&xt(t,"script")),a},cleanData:function(t){for(var e,i,n,r=E.event.special,s=0;void 0!==(i=t[s]);s++)if(K(i)){if(e=i[J.expando]){if(e.events)for(n in e.events)r[n]?E.event.remove(i,n):E.removeEvent(i,n,e.handle);i[J.expando]=void 0}i[Q.expando]&&(i[Q.expando]=void 0)}}}),E.fn.extend({detach:function(t){return Nt(this,t,!0)},remove:function(t){return Nt(this,t)},text:function(t){return Y(this,(function(t){return void 0===t?E.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 $t(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Rt(this,t).appendChild(t)}))},prepend:function(){return $t(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Rt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return $t(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return $t(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&&(E.cleanData(xt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return E.clone(this,t,e)}))},html:function(t){return Y(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&&!It.test(t)&&!yt[(vt.exec(t)||["",""])[1].toLowerCase()]){t=E.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}
vendor: 2,533 bytes, line 2
2).nodeType&&(E.cleanData(xt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return $t(this,arguments,(function(e){var i=this.parentNode;E.inArray(this,t)<0&&(E.cleanData(xt(this)),i&&i.replaceChild(e,this))}),t)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){E.fn[t]=function(t){for(var i,n=[],r=E(t),s=r.length-1,o=0;o<=s;o++)i=o===s?this:this.clone(!0),E(r[o])[e](i),c.apply(n,i.get());return this.pushStack(n)}}));var jt=new RegExp("^("+nt+")(?!px)[a-z%]+$","i"),Bt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},Gt=function(t,e,i){var n,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];for(r in n=i.call(t),e)t.style[r]=s[r];return n},Wt=new RegExp(st.join("|"),"i");function qt(t,e,i){var n,r,s,o,a=t.style;return(i=i||Bt(t))&&(""!==(o=i.getPropertyValue(e)||i[e])||at(t)||(o=E.style(t,e)),!m.pixelBoxStyles()&&jt.test(o)&&Wt.test(e)&&(n=a.width,r=a.minWidth,s=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=i.width,a.width=n,a.minWidth=r,a.maxWidth=s)),void 0!==o?o+"":o}function Yt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(u){c.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%",ot.appendChild(c).appendChild(u);var t=n.getComputedStyle(u);i="1%"!==t.top,l=12===e(t.marginLeft),u.style.right="60%",o=36===e(t.right),r=36===e(t.width),u.style.position="absolute",s=12===e(u.offsetWidth/3),ot.removeChild(c),u=null}}function e(t){return Math.round(parseFloat(t))}var i,r,s,o,a,l,c=y.createElement("div"),u=y.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===u.style.backgroundClip,E.extend(m,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),o},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),s},reliableTrDimensions:function(){var t,e,i,r;return null==a&&(t=y.createElement("table"),e=y.createElement("tr"),i=y.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="border:1px solid",e.style.height="1px",
vendor: 4,200 bytes, line 2
2i.style.height="9px",i.style.display="block",ot.appendChild(t).appendChild(e).appendChild(i),r=n.getComputedStyle(e),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===e.offsetHeight,ot.removeChild(t)),a}}))}();var Xt=["Webkit","Moz","ms"],Ht=y.createElement("div").style,Ut={};function Vt(t){var e=E.cssProps[t]||Ut[t];return e||(t in Ht?t:Ut[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),i=Xt.length;i--;)if((t=Xt[i]+e)in Ht)return t}(t)||t)}var Kt=/^(none|table(?!-c[ea]).+)/,Zt=/^--/,Jt={position:"absolute",visibility:"hidden",display:"block"},Qt={letterSpacing:"0",fontWeight:"400"};function te(t,e,i){var n=rt.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function ee(t,e,i,n,r,s){var o="width"===e?1:0,a=0,l=0;if(i===(n?"border":"content"))return 0;for(;o<4;o+=2)"margin"===i&&(l+=E.css(t,i+st[o],!0,r)),n?("content"===i&&(l-=E.css(t,"padding"+st[o],!0,r)),"margin"!==i&&(l-=E.css(t,"border"+st[o]+"Width",!0,r))):(l+=E.css(t,"padding"+st[o],!0,r),"padding"!==i?l+=E.css(t,"border"+st[o]+"Width",!0,r):a+=E.css(t,"border"+st[o]+"Width",!0,r));return!n&&s>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-s-l-a-.5))||0),l}function ie(t,e,i){var n=Bt(t),r=(!m.boxSizingReliable()||i)&&"border-box"===E.css(t,"boxSizing",!1,n),s=r,o=qt(t,e,n),a="offset"+e[0].toUpperCase()+e.slice(1);if(jt.test(o)){if(!i)return o;o="auto"}return(!m.boxSizingReliable()&&r||!m.reliableTrDimensions()&&I(t,"tr")||"auto"===o||!parseFloat(o)&&"inline"===E.css(t,"display",!1,n))&&t.getClientRects().length&&(r="border-box"===E.css(t,"boxSizing",!1,n),(s=a in t)&&(o=t[a])),(o=parseFloat(o)||0)+ee(t,e,i||(r?"border":"content"),s,n,o)+"px"}function ne(t,e,i,n,r){return new ne.prototype.init(t,e,i,n,r)}E.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=qt(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!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,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,s,o,a=V(e),l=Zt.test(e),c=t.style;if(l||(e=Vt(a)),o=E.cssHooks[e]||E.cssHooks[a],void 0===i)return o&&"get"in o&&void 0!==(r=o.get(t,!1,n))?r:c[e];"string"===(s=typeof i)&&(r=rt.exec(i))&&r[1]&&(i=ut(t,e,r),s="number"),null!=i&&i==i&&("number"!==s||l||(i+=r&&r[3]||(E.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==i||0!==e.indexOf("background")||(c[e]="inherit"),o&&"set"in o&&void 0===(i=o.set(t,i,n))||(l?c.setProperty(e,i):c[e]=i))}},css:function(t,e,i,n){var r,s,o,a=V(e);return Zt.test(e)||(e=Vt(a)),(o=E.cssHooks[e]||E.cssHooks[a])&&"get"in o&&(r=o.get(t,!0,i)),void 0===r&&(r=qt(t,e,n)),"normal"===r&&e in Qt&&(r=Qt[e]),""===i||i?(s=parseFloat(r),!0===i||isFinite(s)?s||0:r):r}}),E.each(["height","width"],(function(t,e){E.cssHooks[e]={get:function(t,i,n){if(i)return!Kt.test(E.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ie(t,e,n):Gt(t,Jt,(function(){return ie(t,e,n)}))},set:function(t,i,n){var r,s=Bt(t),o=!m.scrollboxSize()&&"absolute"===s.position,a=(o||n)&&"border-box"===E.css(t,"boxSizing",!1,s),l=n?ee(t,e,n,a,s):0;return a&&o&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(s[e])-ee(t,e,"border",!1,s)-.5)),l&&(r=rt.exec(i))&&"px"!==(r[3]||"px")&&(t.style[e]=i,i=E.css(t,e)),te(0,i,l)}}})),E.cssHooks.marginLeft=Yt(m.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(qt(t,"marginLeft"))||t.getBoundingClientRect().left-Gt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(t,e){E.cssHooks[t+e]={expand:function(i){for(var n=0,r={},s="string"==typeof i?i.split(" "):[i];n<4;n++)r[t+st[n]+e]=s[n]||s[n-2]||s[0];return r}},"margin"!==t&&(E.cssHooks[t+e].set=te)})),E.fn.extend({css:function(t,e){return Y(this,(function(t,e,i){var n,r,s={},o=0;if(Array.isArray(e)){for(n=Bt(t),r=e.length;o<r;o++)s[e[o]]=E.css(t,e[o],!1,n);return s}return void 0!==i?E.style(t,e,i):E.css(t,e)}),t,e,arguments.length>1)}}
vendor: 5,103 bytes, line 2
2),E.Tween=ne,ne.prototype={constructor:ne,init:function(t,e,i,n,r,s){this.elem=t,this.prop=i,this.easing=r||E.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(E.cssNumber[i]?"":"px")},cur:function(){var t=ne.propHooks[this.prop];return t&&t.get?t.get(this):ne.propHooks._default.get(this)},run:function(t){var e,i=ne.propHooks[this.prop];return this.options.duration?this.pos=e=E.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):ne.propHooks._default.set(this),this}},ne.prototype.init.prototype=ne.prototype,ne.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=E.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){E.fx.step[t.prop]?E.fx.step[t.prop](t):1!==t.elem.nodeType||!E.cssHooks[t.prop]&&null==t.elem.style[Vt(t.prop)]?t.elem[t.prop]=t.now:E.style(t.elem,t.prop,t.now+t.unit)}}},ne.propHooks.scrollTop=ne.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},E.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},E.fx=ne.prototype.init,E.fx.step={};var re,se,oe=/^(?:toggle|show|hide)$/,ae=/queueHooks$/;function le(){se&&(!1===y.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(le):n.setTimeout(le,E.fx.interval),E.fx.tick())}function ce(){return n.setTimeout((function(){re=void 0})),re=Date.now()}function ue(t,e){var i,n=0,r={height:t};for(e=e?1:0;n<4;n+=2-e)r["margin"+(i=st[n])]=r["padding"+i]=t;return e&&(r.opacity=r.width=t),r}function he(t,e,i){for(var n,r=(de.tweeners[e]||[]).concat(de.tweeners["*"]),s=0,o=r.length;s<o;s++)if(n=r[s].call(i,e,t))return n}function de(t,e,i){var n,r,s=0,o=de.prefilters.length,a=E.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var e=re||ce(),i=Math.max(0,c.startTime+c.duration-e),n=1-(i/c.duration||0),s=0,o=c.tweens.length;s<o;s++)c.tweens[s].run(n);return a.notifyWith(t,[c,n,i]),n<1&&o?i:(o||a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:E.extend({},e),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},i),originalProperties:e,originalOptions:i,startTime:re||ce(),duration:i.duration,tweens:[],createTween:function(e,i){var n=E.Tween(t,c.opts,e,i,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var i=0,n=e?c.tweens.length:0;if(r)return this;for(r=!0;i<n;i++)c.tweens[i].run(1);return e?(a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c,e])):a.rejectWith(t,[c,e]),this}}),u=c.props;for(!function(t,e){var i,n,r,s,o;for(i in t)if(r=e[n=V(i)],s=t[i],Array.isArray(s)&&(r=s[1],s=t[i]=s[0]),i!==n&&(t[n]=s,delete t[i]),(o=E.cssHooks[n])&&"expand"in o)for(i in s=o.expand(s),delete t[n],s)i in t||(t[i]=s[i],e[i]=r);else e[n]=r}(u,c.opts.specialEasing);s<o;s++)if(n=de.prefilters[s].call(c,t,u,c.opts))return v(n.stop)&&(E._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return E.map(u,he,c),v(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),E.fx.timer(E.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}E.Animation=E.extend(de,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return ut(i.elem,t,rt.exec(e),i),i}]},tweener:function(t,e){v(t)?(e=t,t=["*"]):t=t.match($);for(var i,n=0,r=t.length;n<r;n++)i=t[n],de.tweeners[i]=de.tweeners[i]||[],de.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var n,r,s,o,a,l,c,u,h="width"in e||"height"in e,d=this,p={},f=t.style,g=t.nodeType&&ct(t),m=J.get(t,"fxshow");for(n in i.queue||(null==(o=E._queueHooks(t,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,d.always((function(){d.always((function(){o.unqueued--,E.queue(t,"fx").length||o.empty.fire()}))}))),e)if(r=e[n],oe.test(r)){if(delete e[n],s=s||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!m||void 0===m[n])continue;g=!0}p[n]=m&&m[n]||E.style(t,n)}if((l=!E.isEmptyObject(e))||!E.isEmptyObject(p))for(n in h&&1===t.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=m&&m.display)&&(c=J.get(t,"display")),"none"===(u=E.css(t,"display"))&&(c?u=c:(pt([t],!0),c=t.style.display||c,u=E.css(t,"display"),pt([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===E.css(t,"float")&&(l||(d.done((function(){f.display=c})),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",d.always((function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]}))),l=!1,p)l||(m?"hidden"in m&&(g=m.hidden):m=J.access(t,"fxshow",{display:c}),s&&(m.hidden=!g),g&&pt([t],!0),d.done((function(){for(n in g||pt([t]),J.remove(t,"fxshow"),p)E.style(t,n,p[n])}))),l=he(g?m[n]:0,n,d),n in m||(m[n]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?de.prefilters.unshift(t):de.prefilters.push(t)}}
vendor: 4,303 bytes, line 2
2),E.speed=function(t,e,i){var n=t&&"object"==typeof t?E.extend({},t):{complete:i||!i&&e||v(t)&&t,duration:t,easing:i&&e||e&&!v(e)&&e};return E.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in E.fx.speeds?n.duration=E.fx.speeds[n.duration]:n.duration=E.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){v(n.old)&&n.old.call(this),n.queue&&E.dequeue(this,n.queue)},n},E.fn.extend({fadeTo:function(t,e,i,n){return this.filter(ct).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var r=E.isEmptyObject(t),s=E.speed(e,i,n),o=function(){var e=de(this,E.extend({},t),s);(r||J.get(this,"finish"))&&e.stop(!0)};return o.finish=o,r||!1===s.queue?this.each(o):this.queue(s.queue,o)},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,r=null!=t&&t+"queueHooks",s=E.timers,o=J.get(this);if(r)o[r]&&o[r].stop&&n(o[r]);else for(r in o)o[r]&&o[r].stop&&ae.test(r)&&n(o[r]);for(r=s.length;r--;)s[r].elem!==this||null!=t&&s[r].queue!==t||(s[r].anim.stop(i),e=!1,s.splice(r,1));!e&&i||E.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,i=J.get(this),n=i[t+"queue"],r=i[t+"queueHooks"],s=E.timers,o=n?n.length:0;for(i.finish=!0,E.queue(this,t,[]),r&&r.stop&&r.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<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish}))}}),E.each(["toggle","show","hide"],(function(t,e){var i=E.fn[e];E.fn[e]=function(t,n,r){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(ue(e,!0),t,n,r)}})),E.each({slideDown:ue("show"),slideUp:ue("hide"),slideToggle:ue("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){E.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}})),E.timers=[],E.fx.tick=function(){var t,e=0,i=E.timers;for(re=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||E.fx.stop(),re=void 0},E.fx.timer=function(t){E.timers.push(t),E.fx.start()},E.fx.interval=13,E.fx.start=function(){se||(se=!0,le())},E.fx.stop=function(){se=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(t,e){return t=E.fx&&E.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,i){var r=n.setTimeout(e,t);i.stop=function(){n.clearTimeout(r)}}))},function(){var t=y.createElement("input"),e=y.createElement("select").appendChild(y.createElement("option"));t.type="checkbox",m.checkOn=""!==t.value,m.optSelected=e.selected,(t=y.createElement("input")).value="t",t.type="radio",m.radioValue="t"===t.value}();var pe,fe=E.expr.attrHandle;E.fn.extend({attr:function(t,e){return Y(this,E.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){E.removeAttr(this,t)}))}}),E.extend({attr:function(t,e,i){var n,r,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===t.getAttribute?E.prop(t,e,i):(1===s&&E.isXMLDoc(t)||(r=E.attrHooks[e.toLowerCase()]||(E.expr.match.bool.test(e)?pe:void 0)),void 0!==i?null===i?void E.removeAttr(t,e):r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:(t.setAttribute(e,i+""),i):r&&"get"in r&&null!==(n=r.get(t,e))?n:null==(n=E.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&I(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,r=e&&e.match($);if(r&&1===t.nodeType)for(;i=r[n++];)t.removeAttribute(i)}}),pe={set:function(t,e,i){return!1===e?E.removeAttr(t,i):t.setAttribute(i,i),i}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(t,e){var i=fe[e]||E.find.attr;fe[e]=function(t,e,n){var r,s,o=e.toLowerCase();return n||(s=fe[o],fe[o]=r,r=null!=i(t,e,n)?o:null,fe[o]=s),r}}));var ge=/^(?:input|select|textarea|button)$/i,me=/^(?:a|area)$/i;function ve(t){return(t.match($)||[]).join(" ")}function _e(t){return t.getAttribute&&t.getAttribute("class")||""}function ye(t){return Array.isArray(t)?t:"string"==typeof t&&t.match($)||[]}E.fn.extend({prop:function(t,e){return Y(this,E.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[E.propFix[t]||t]}))}}
vendor: 3,210 bytes, line 2
2),E.extend({prop:function(t,e,i){var n,r,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&E.isXMLDoc(t)||(e=E.propFix[e]||e,r=E.propHooks[e]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:t[e]=i:r&&"get"in r&&null!==(n=r.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=E.find.attr(t,"tabindex");return e?parseInt(e,10):ge.test(t.nodeName)||me.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(E.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)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(t){var e,i,n,r,s,o,a,l=0;if(v(t))return this.each((function(e){E(this).addClass(t.call(this,e,_e(this)))}));if((e=ye(t)).length)for(;i=this[l++];)if(r=_e(i),n=1===i.nodeType&&" "+ve(r)+" "){for(o=0;s=e[o++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");r!==(a=ve(n))&&i.setAttribute("class",a)}return this},removeClass:function(t){var e,i,n,r,s,o,a,l=0;if(v(t))return this.each((function(e){E(this).removeClass(t.call(this,e,_e(this)))}));if(!arguments.length)return this.attr("class","");if((e=ye(t)).length)for(;i=this[l++];)if(r=_e(i),n=1===i.nodeType&&" "+ve(r)+" "){for(o=0;s=e[o++];)for(;n.indexOf(" "+s+" ")>-1;)n=n.replace(" "+s+" "," ");r!==(a=ve(n))&&i.setAttribute("class",a)}return this},toggleClass:function(t,e){var i=typeof t,n="string"===i||Array.isArray(t);return"boolean"==typeof e&&n?e?this.addClass(t):this.removeClass(t):v(t)?this.each((function(i){E(this).toggleClass(t.call(this,i,_e(this),e),e)})):this.each((function(){var e,r,s,o;if(n)for(r=0,s=E(this),o=ye(t);e=o[r++];)s.hasClass(e)?s.removeClass(e):s.addClass(e);else void 0!==t&&"boolean"!==i||((e=_e(this))&&J.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":J.get(this,"__className__")||""))}))},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&(" "+ve(_e(i))+" ").indexOf(e)>-1)return!0;return!1}});var xe=/\r/g;E.fn.extend({val:function(t){var e,i,n,r=this[0];return arguments.length?(n=v(t),this.each((function(i){var r;1===this.nodeType&&(null==(r=n?t.call(this,i,E(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=E.map(r,(function(t){return null==t?"":t+""}))),(e=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))}))):r?(e=E.valHooks[r.type]||E.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(r,"value"))?i:"string"==typeof(i=r.value)?i.replace(xe,""):null==i?"":i:void 0}}),E.extend({valHooks:{option:{get:function(t){var e=E.find.attr(t,"value");return null!=e?e:ve(E.text(t))}},select:{get:function(t){var e,i,n,r=t.options,s=t.selectedIndex,o="select-one"===t.type,a=o?null:[],l=o?s+1:r.length;for(n=s<0?l:o?s:0;n<l;n++)if(((i=r[n]).selected||n===s)&&!i.disabled&&(!i.parentNode.disabled||!I(i.parentNode,"optgroup"))){if(e=E(i).val(),o)return e;a.push(e)}return a}
vendor: 4,255 bytes, line 2
2,set:function(t,e){for(var i,n,r=t.options,s=E.makeArray(e),o=r.length;o--;)((n=r[o]).selected=E.inArray(E.valHooks.option.get(n),s)>-1)&&(i=!0);return i||(t.selectedIndex=-1),s}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=E.inArray(E(t).val(),e)>-1}},m.checkOn||(E.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),m.focusin="onfocusin"in n;var we=/^(?:focusinfocus|focusoutblur)$/,be=function(t){t.stopPropagation()};E.extend(E.event,{trigger:function(t,e,i,r){var s,o,a,l,c,u,h,d,f=[i||y],g=p.call(t,"type")?t.type:t,m=p.call(t,"namespace")?t.namespace.split("."):[];if(o=d=a=i=i||y,3!==i.nodeType&&8!==i.nodeType&&!we.test(g+E.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(t=t[E.expando]?t:new E.Event(g,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:E.makeArray(e,[t]),h=E.event.special[g]||{},r||!h.trigger||!1!==h.trigger.apply(i,e))){if(!r&&!h.noBubble&&!_(i)){for(l=h.delegateType||g,we.test(l+g)||(o=o.parentNode);o;o=o.parentNode)f.push(o),a=o;a===(i.ownerDocument||y)&&f.push(a.defaultView||a.parentWindow||n)}for(s=0;(o=f[s++])&&!t.isPropagationStopped();)d=o,t.type=s>1?l:h.bindType||g,(u=(J.get(o,"events")||Object.create(null))[t.type]&&J.get(o,"handle"))&&u.apply(o,e),(u=c&&o[c])&&u.apply&&K(o)&&(t.result=u.apply(o,e),!1===t.result&&t.preventDefault());return t.type=g,r||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(f.pop(),e)||!K(i)||c&&v(i[g])&&!_(i)&&((a=i[c])&&(i[c]=null),E.event.triggered=g,t.isPropagationStopped()&&d.addEventListener(g,be),i[g](),t.isPropagationStopped()&&d.removeEventListener(g,be),E.event.triggered=void 0,a&&(i[c]=a)),t.result}},simulate:function(t,e,i){var n=E.extend(new E.Event,i,{type:t,isSimulated:!0});E.event.trigger(n,null,e)}}),E.fn.extend({trigger:function(t,e){return this.each((function(){E.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var i=this[0];if(i)return E.event.trigger(t,e,i,!0)}}),m.focusin||E.each({focus:"focusin",blur:"focusout"},(function(t,e){var i=function(t){E.event.simulate(e,t.target,E.event.fix(t))};E.event.special[e]={setup:function(){var n=this.ownerDocument||this.document||this,r=J.access(n,e);r||n.addEventListener(t,i,!0),J.access(n,e,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,r=J.access(n,e)-1;r?J.access(n,e,r):(n.removeEventListener(t,i,!0),J.remove(n,e))}}}));var Ce=n.location,Ee={guid:Date.now()},Se=/\?/;E.parseXML=function(t){var e,i;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){}return i=e&&e.getElementsByTagName("parsererror")[0],e&&!i||E.error("Invalid XML: "+(i?E.map(i.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Te=/\[\]$/,ke=/\r?\n/g,Ae=/^(?:submit|button|image|reset|file)$/i,Me=/^(?:input|select|textarea|keygen)/i;function Ie(t,e,i,n){var r;if(Array.isArray(e))E.each(e,(function(e,r){i||Te.test(t)?n(t,r):Ie(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,i,n)}));else if(i||"object"!==b(e))n(t,e);else for(r in e)Ie(t+"["+r+"]",e[r],i,n)}E.param=function(t,e){var i,n=[],r=function(t,e){var i=v(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!E.isPlainObject(t))E.each(t,(function(){r(this.name,this.value)}));else for(i in t)Ie(i,t[i],e,r);return n.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=E.prop(this,"elements");return t?E.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!E(this).is(":disabled")&&Me.test(this.nodeName)&&!Ae.test(t)&&(this.checked||!mt.test(t))})).map((function(t,e){var i=E(this).val();return null==i?null:Array.isArray(i)?E.map(i,(function(t){return{name:e.name,value:t.replace(ke,"\r\n")}})):{name:e.name,value:i.replace(ke,"\r\n")}})).get()}});var Le=/%20/g,Pe=/#.*$/,Re=/([?&])_=[^&]*/,De=/^(.*?):[ \t]*([^\r\n]*)$/gm,Oe=/^(?:GET|HEAD)$/,Fe=
vendor: 10,267 bytes, line 2
2/^\/\//,ze={},$e={},Ne="*/".concat("*"),je=y.createElement("a");function Be(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,r=0,s=e.toLowerCase().match($)||[];if(v(i))for(;n=s[r++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function Ge(t,e,i,n){var r={},s=t===$e;function o(a){var l;return r[a]=!0,E.each(t[a]||[],(function(t,a){var c=a(e,i,n);return"string"!=typeof c||s||r[c]?s?!(l=c):void 0:(e.dataTypes.unshift(c),o(c),!1)})),l}return o(e.dataTypes[0])||!r["*"]&&o("*")}function We(t,e){var i,n,r=E.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((r[i]?t:n||(n={}))[i]=e[i]);return n&&E.extend(!0,t,n),t}je.href=Ce.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ce.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ce.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ne,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":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?We(We(t,E.ajaxSettings),e):We(E.ajaxSettings,t)},ajaxPrefilter:Be(ze),ajaxTransport:Be($e),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,r,s,o,a,l,c,u,h,d,p=E.ajaxSetup({},e),f=p.context||p,g=p.context&&(f.nodeType||f.jquery)?E(f):E.event,m=E.Deferred(),v=E.Callbacks("once memory"),_=p.statusCode||{},x={},w={},b="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(c){if(!o)for(o={};e=De.exec(s);)o[e[1].toLowerCase()+" "]=(o[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=o[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(t,e){return null==c&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==c&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)C.always(t[C.status]);else for(e in t)_[e]=[_[e],t[e]];return this},abort:function(t){var e=t||b;return i&&i.abort(e),S(0,e),this}};if(m.promise(C),p.url=((t||p.url||Ce.href)+"").replace(Fe,Ce.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match($)||[""],null==p.crossDomain){l=y.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=je.protocol+"//"+je.host!=l.protocol+"//"+l.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=E.param(p.data,p.traditional)),Ge(ze,p,e,C),c)return C;for(h in(u=E.event&&p.global)&&0==E.active++&&E.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Oe.test(p.type),r=p.url.replace(Pe,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Le,"+")):(d=p.url.slice(r.length),p.data&&(p.processData||"string"==typeof p.data)&&(r+=(Se.test(r)?"&":"?")+p.data,delete p.data),!1===p.cache&&(r=r.replace(Re,"$1"),d=(Se.test(r)?"&":"?")+"_="+Ee.guid+++d),p.url=r+d),p.ifModified&&(E.lastModified[r]&&C.setRequestHeader("If-Modified-Since",E.lastModified[r]),E.etag[r]&&C.setRequestHeader("If-None-Match",E.etag[r])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ne+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(f,C,p)||c))return C.abort();if(b="abort",v.add(p.complete),C.done(p.success),C.fail(p.error),i=Ge($e,p,e,C)){if(C.readyState=1,u&&g.trigger("ajaxSend",[C,p]),c)return C;p.async&&p.timeout>0&&(a=n.setTimeout((function(){C.abort("timeout")}),p.timeout));try{c=!1,i.send(x,S)}catch(t){if(c)throw t;S(-1,t)}}else S(-1,"No Transport");function S(t,e,o,l){var h,d,y,x,w,b=e;c||(c=!0,a&&n.clearTimeout(a),i=void 0,s=l||"",C.readyState=t>0?4:0,h=t>=200&&t<300||304===t,o&&(x=function(t,e,i){for(var n,r,s,o,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(r in a)if(a[r]&&a[r].test(n)){l.unshift(r);break}if(l[0]in i)s=l[0];else{for(r in i){if(!l[0]||t.converters[r+" "+l[0]]){s=r;break}o||(o=r)}s=s||o}if(s)return s!==l[0]&&l.unshift(s),i[s]}(p,C,o)),!h&&E.inArray("script",p.dataTypes)>-1&&E.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),x=function(t,e,i,n){var r,s,o,a,l,c={},u=t.dataTypes.slice();if(u[1])for(o in t.converters)c[o.toLowerCase()]=t.converters[o];for(s=u.shift();s;)if(t.responseFields[s]&&(i[t.responseFields[s]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(o=c[l+" "+s]||c["* "+s]))for(r in c)if((a=r.split(" "))[1]===s&&(o=c[l+" "+a[0]]||c["* "+a[0]])){!0===o?o=c[r]:!0!==c[r]&&(s=a[0],u.unshift(a[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+l+" to "+s}}}return{state:"success",data:e}}(p,x,C,h),h?(p.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(E.lastModified[r]=w),(w=C.getResponseHeader("etag"))&&(E.etag[r]=w)),204===t||"HEAD"===p.type?b="nocontent":304===t?b="notmodified":(b=x.state,d=x.data,h=!(y=x.error))):(y=b,!t&&b||(b="error",t<0&&(t=0))),C.status=t,C.statusText=(e||b)+"",h?m.resolveWith(f,[d,b,C]):m.rejectWith(f,[C,b,y]),C.statusCode(_),_=void 0,u&&g.trigger(h?"ajaxSuccess":"ajaxError",[C,p,h?d:y]),v.fireWith(f,[C,b]),u&&(g.trigger("ajaxComplete",[C,p]),--E.active||E.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,i){return E.get(t,e,i,"json")},getScript:function(t,e){return E.get(t,void 0,e,"script")}}),E.each(["get","post"],(function(t,e){E[e]=function(t,i,n,r){return v(i)&&(r=r||n,n=i,i=void 0),E.ajax(E.extend({url:t,type:e,dataType:r,data:i,success:n},E.isPlainObject(t)&&t))}})),E.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),E._evalUrl=function(t,e,i){return E.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){E.globalEval(t,e,i)}})},E.fn.extend({wrapAll:function(t){var e;return this[0]&&(v(t)&&(t=t.call(this[0])),e=E(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 v(t)?this.each((function(e){E(this).wrapInner(t.call(this,e))})):this.each((function(){var e=E(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)}))},wrap:function(t){var e=v(t);return this.each((function(i){E(this).wrapAll(e?t.call(this,i):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(t){return!E.expr.pseudos.visible(t)},E.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var qe={0:200,1223:204},Ye=E.ajaxSettings.xhr();m.cors=!!Ye&&"withCredentials"in Ye,m.ajax=Ye=!!Ye,E.ajaxTransport((function(t){var e,i;if(m.cors||Ye&&!t.crossDomain)return{send:function(r,s){var o,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];for(o in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(o,r[o]);e=function(t){return function(){e&&(e=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?s(0,"error"):s(a.status,a.statusText):s(qe[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),i=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout((function(){e&&i()}))},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),E.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),E.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 E.globalEval(t),t}}}),E.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),E.ajaxTransport("script",(function(t){var e,i;if(t.crossDomain||t.scriptAttrs)return{send:function(n,r){e=E("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&r("error"===t.type?404:200,t.type)}),y.head.appendChild(e[0])},abort:function(){i&&i()}}}));var Xe,He=[],Ue=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=He.pop()||E.expando+"_"+Ee.guid++;return this[t]=!0,t}}),E.ajaxPrefilter("json jsonp",(function(t,e,i){var r,s,o,a=!1!==t.jsonp&&(Ue.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ue.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=v(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ue,"$1"+r):!1!==t.jsonp&&(t.url+=(Se.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||E.error(r+" was not called"),o[0]},t.dataTypes[0]="json",s=n[r],n[r]=function(){o=arguments},i.always((function(){void 0===s?E(n).removeProp(r):n[r]=s,t[r]&&(t.jsonpCallback=e.jsonpCallback,He.push(r)),o&&v(s)&&s(o[0]),o=s=void 0})),"script"})),m.createHTMLDocument=((Xe=y.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>
2",2===Xe.childNodes.length),E.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(m.createHTMLDocument?((n=(e=y.implementation.createHTMLDocument("")).createElement("base")).href=y.location.href,e.head.appendChild(n)):e=y),s=!i&&[],(r=L.exec(t))?[e.createElement(r[1])]:(r=Ct([t],e,s),s&&s.length&&E(s).remove(),E.merge([],r.childNodes)));var n,r,s},E.fn.load=function(t,e,i){var n,r,s,o=this,a=t.indexOf(" ");return a>-1&&(n=ve(t.slice(a)),t=t.slice(0,a)),v(e)?(i=e,e=void 0):e&&"object"==typeof e&&(r="POST"),o.length>0&&E.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done((function(t){s=arguments,o.html(n?E("<div>").append(E.parseHTML(t)).find(n):t)})).always(i&&function(t,e){o.each((function(){i.apply(this,s||[t.responseText,e,t])}))}),this},E.expr.pseudos.animated=function(t){return E.grep(E.timers,(function(e){return t===e.elem})).length},E.offset={setOffset:function(t,e,i){var n,r,s,o,a,l,c=E.css(t,"position"),u=E(t),h={};"static"===c&&(t.style.position="relative"),a=u.offset(),s=E.css(t,"top"),l=E.css(t,"left"),("absolute"===c||"fixed"===c)&&(s+l).indexOf("auto")>-1?(o=(n=u.position()).top,r=n.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),v(e)&&(e=e.call(t,i,E.extend({},a))),null!=e.top&&(h.top=e.top-a.top+o),null!=e.left&&(h.left=e.left-a.left+r),"using"in e?e.using.call(t,h):u.css(h)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){E.offset.setOffset(this,t,e)}));var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],r={top:0,left:0};if("fixed"===E.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"===E.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((r=E(t).offset()).top+=E.css(t,"borderTopWidth",!0),r.left+=E.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-E.css(n,"marginTop",!0),left:e.left-r.left-E.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===E.css(t,"position");)t=t.offsetParent;return t||ot}))}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var i="pageYOffset"===e;E.fn[t]=function(n){return Y(this,(function(t,n,r){var s;if(_(t)?s=t:9===t.nodeType&&(s=t.defaultView),void 0===r)return s?s[e]:t[n];s?s.scrollTo(i?s.pageXOffset:r,i?r:s.pageYOffset):t[n]=r}),t,n,arguments.length)}})),E.each(["top","left"],(function(t,e){E.cssHooks[e]=Yt(m.pixelPosition,(function(t,i){if(i)return i=qt(t,e),jt.test(i)?E(t).position()[e]+"px":i}))})),E.each({Height:"height",Width:"width"},(function(t,e){E.each({padding:"inner"+t,content:e,"":"outer"+t},(function(i,n){E.fn[n]=function(r,s){var o=arguments.length&&(i||"boolean"!=typeof r),a=i||(!0===r||!0===s?"margin":"border");return Y(this,(function(e,i,r){var s;return _(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===r?E.css(e,i,a):E.style(e,i,r,a)}),e,o?r:void 0,o)}}))})),E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){E.fn[e]=function(t){return this.on(e,t)}})),E.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.mouseenter(t).mouseleave(e||t)}}),E.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){E.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}));var Ve=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;E.proxy=function(t,e){var i,n,r;if("string"==typeof e&&(i=t[e],e=t,t=i),v(t))return n=a.call(arguments,2),r=function(){return t.apply(e||this,n.concat(a.call(arguments)))},r.guid=t.guid=t.guid||E.guid++,r},E.holdReady=function(t){t?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=I,E.isFunction=v,E.isWindow=_,E.camelCase=V,E.type=b,E.now=Date.now,E.isNumeric=function(t){var e=E.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},E.trim=function(t){return null==t?"":(t+"").replace(Ve,"")},void 0===(i=function(){return E}.apply(e,[]))||(t.exports=i);var Ke=n.jQuery,Ze=n.$;return E.noConflict=function(t){return n.$===E&&(n.$=Ze),t&&n.jQuery===E&&(n.jQuery=Ke),E},void 0===r&&(n.jQuery=n.$=E),E}))}
vendor: 1,770 bytes, line 2
2,486:function(t,e,i){var n;t=i.nmd(t),function(){var r,s="Expected a function",o="__lodash_hash_undefined__",a="__lodash_placeholder__",l=16,c=32,u=64,h=128,d=256,p=1/0,f=9007199254740991,g=NaN,m=4294967295,v=[["ary",h],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",u],["rearg",d]],_="[object Arguments]",y="[object Array]",x="[object Boolean]",w="[object Date]",b="[object Error]",C="[object Function]",E="[object GeneratorFunction]",S="[object Map]",T="[object Number]",k="[object Object]",A="[object Promise]",M="[object RegExp]",I="[object Set]",L="[object String]",P="[object Symbol]",R="[object WeakMap]",D="[object ArrayBuffer]",O="[object DataView]",F="[object Float32Array]",z="[object Float64Array]",$="[object Int8Array]",N="[object Int16Array]",j="[object Int32Array]",B="[object Uint8Array]",G="[object Uint8ClampedArray]",W="[object Uint16Array]",q="[object Uint32Array]",Y=/\b__p \+= '';/g,X=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,U=/&(?:amp|lt|gt|quot|#39);/g,V=/[&<>"']/g,K=RegExp(U.source),Z=RegExp(V.source),J=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,tt=/<%=([\s\S]+?)%>/g,et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,it=/^\w*$/,nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rt=/[\\^$.*+?()[\]{}|]/g,st=RegExp(rt.source),ot=/^\s+/,at=/\s/,lt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ct=/\{\n\/\* \[wrapped with (.+)\] \*/,ut=/,? & /,ht=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,dt=/[()=,{}\[\]\/\s]/,pt=/\\(\\)?/g,ft=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gt=/\w*$/,mt=/^[-+]0x[0-9a-f]+$/i,vt=/^0b[01]+$/i,_t=/^\[object .+?Constructor\]$/,yt=/^0o[0-7]+$/i,xt=/^(?:0|[1-9]\d*)$/,wt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 8,909 bytes, line 2
27f]/g,bt=/($^)/,Ct=/['\n\r\u2028\u2029\\]/g,Et="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",St="\\u2700-\\u27bf",Tt="a-z\\xdf-\\xf6\\xf8-\\xff",kt="A-Z\\xc0-\\xd6\\xd8-\\xde",At="\\ufe0e\\ufe0f",Mt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",It="['’]",Lt="[\\ud800-\\udfff]",Pt="["+Mt+"]",Rt="["+Et+"]",Dt="\\d+",Ot="[\\u2700-\\u27bf]",Ft="["+Tt+"]",zt="[^\\ud800-\\udfff"+Mt+Dt+St+Tt+kt+"]",$t="\\ud83c[\\udffb-\\udfff]",Nt="[^\\ud800-\\udfff]",jt="(?:\\ud83c[\\udde6-\\uddff]){2}",Bt="[\\ud800-\\udbff][\\udc00-\\udfff]",Gt="["+kt+"]",Wt="(?:"+Ft+"|"+zt+")",qt="(?:"+Gt+"|"+zt+")",Yt="(?:['’](?:d|ll|m|re|s|t|ve))?",Xt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ht="(?:"+Rt+"|"+$t+")"+"?",Ut="[\\ufe0e\\ufe0f]?",Vt=Ut+Ht+("(?:\\u200d(?:"+[Nt,jt,Bt].join("|")+")"+Ut+Ht+")*"),Kt="(?:"+[Ot,jt,Bt].join("|")+")"+Vt,Zt="(?:"+[Nt+Rt+"?",Rt,jt,Bt,Lt].join("|")+")",Jt=RegExp(It,"g"),Qt=RegExp(Rt,"g"),te=RegExp($t+"(?="+$t+")|"+Zt+Vt,"g"),ee=RegExp([Gt+"?"+Ft+"+"+Yt+"(?="+[Pt,Gt,"$"].join("|")+")",qt+"+"+Xt+"(?="+[Pt,Gt+Wt,"$"].join("|")+")",Gt+"?"+Wt+"+"+Yt,Gt+"+"+Xt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Dt,Kt].join("|"),"g"),ie=RegExp("[\\u200d\\ud800-\\udfff"+Et+At+"]"),ne=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,re=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],se=-1,oe={};oe[F]=oe[z]=oe[$]=oe[N]=oe[j]=oe[B]=oe[G]=oe[W]=oe[q]=!0,oe[_]=oe[y]=oe[D]=oe[x]=oe[O]=oe[w]=oe[b]=oe[C]=oe[S]=oe[T]=oe[k]=oe[M]=oe[I]=oe[L]=oe[R]=!1;var ae={};ae[_]=ae[y]=ae[D]=ae[O]=ae[x]=ae[w]=ae[F]=ae[z]=ae[$]=ae[N]=ae[j]=ae[S]=ae[T]=ae[k]=ae[M]=ae[I]=ae[L]=ae[P]=ae[B]=ae[G]=ae[W]=ae[q]=!0,ae[b]=ae[C]=ae[R]=!1;var le={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ce=parseFloat,ue=parseInt,he="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,de="object"==typeof self&&self&&self.Object===Object&&self,pe=he||de||Function("return this")(),fe=e&&!e.nodeType&&e,ge=fe&&t&&!t.nodeType&&t,me=ge&&ge.exports===fe,ve=me&&he.process,_e=function(){try{var t=ge&&ge.require&&ge.require("util").types;return t||ve&&ve.binding&&ve.binding("util")}catch(t){}}(),ye=_e&&_e.isArrayBuffer,xe=_e&&_e.isDate,we=_e&&_e.isMap,be=_e&&_e.isRegExp,Ce=_e&&_e.isSet,Ee=_e&&_e.isTypedArray;function Se(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}function Te(t,e,i,n){for(var r=-1,s=null==t?0:t.length;++r<s;){var o=t[r];e(n,o,i(o),t)}return n}function ke(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t}function Ae(t,e){for(var i=null==t?0:t.length;i--&&!1!==e(t[i],i,t););return t}function Me(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(!e(t[i],i,t))return!1;return!0}function Ie(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s}function Le(t,e){return!!(null==t?0:t.length)&&Be(t,e,0)>-1}function Pe(t,e,i){for(var n=-1,r=null==t?0:t.length;++n<r;)if(i(e,t[n]))return!0;return!1}function Re(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r}function De(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t}function Oe(t,e,i,n){var r=-1,s=null==t?0:t.length;for(n&&s&&(i=t[++r]);++r<s;)i=e(i,t[r],r,t);return i}function Fe(t,e,i,n){var r=null==t?0:t.length;for(n&&r&&(i=t[--r]);r--;)i=e(i,t[r],r,t);return i}function ze(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1}var $e=Ye("length");function Ne(t,e,i){var n;return i(t,(function(t,i,r){if(e(t,i,r))return n=i,!1})),n}function je(t,e,i,n){for(var r=t.length,s=i+(n?1:-1);n?s--:++s<r;)if(e(t[s],s,t))return s;return-1}function Be(t,e,i){return e==e?function(t,e,i){var n=i-1,r=t.length;for(;++n<r;)if(t[n]===e)return n;return-1}(t,e,i):je(t,We,i)}function Ge(t,e,i,n){for(var r=i-1,s=t.length;++r<s;)if(n(t[r],e))return r;return-1}function We(t){return t!=t}function qe(t,e){var i=null==t?0:t.length;return i?Ue(t,e)/i:g}function Ye(t){return function(e){return null==e?r:e[t]}}function Xe(t){return function(e){return null==t?r:t[e]}}function He(t,e,i,n,r){return r(t,(function(t,r,s){i=n?(n=!1,t):e(i,t,r,s)})),i}function Ue(t,e){for(var i,n=-1,s=t.length;++n<s;){var o=e(t[n]);o!==r&&(i=i===r?o:i+o)}return i}function Ve(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n}function Ke(t){return t?t.slice(0,fi(t)+1).replace(ot,""):t}function Ze(t){return function(e){return t(e)}}function Je(t,e){return Re(e,(function(e){return t[e]}))}function Qe(t,e){return t.has(e)}function ti(t,e){for(var i=-1,n=t.length;++i<n&&Be(e,t[i],0)>-1;);return i}function ei(t,e){for(var i=t.length;i--&&Be(e,t[i],0)>-1;);return i}function ii(t,e){for(var i=t.length,n=0;i--;)t[i]===e&&++n;return n}var ni=Xe({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),ri=Xe({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function si(t){return"\\"+le[t]}function oi(t){return ie.test(t)}function ai(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i}function li(t,e){return function(i){return t(e(i))}}function ci(t,e){for(var i=-1,n=t.length,r=0,s=[];++i<n;){var o=t[i];o!==e&&o!==a||(t[i]=a,s[r++]=i)}return s}function ui(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i}function hi(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=[t,t]})),i}function di(t){return oi(t)?function(t){var e=te.lastIndex=0;for(;te.test(t);)++e;return e}(t):$e(t)}function pi(t){return oi(t)?function(t){return t.match(te)||[]}(t):function(t){return t.split("")}(t)}function fi(t){for(var e=t.length;e--&&at.test(t.charAt(e)););return e}var gi=Xe({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var mi=function t(e){var i,n=(e=null==e?pe:mi.defaults(pe.Object(),e,mi.pick(pe,re))).Array,at=e.Date,Et=e.Error,St=e.Function,Tt=e.Math,kt=e.Object,At=e.RegExp,Mt=e.String,It=e.TypeError,Lt=n.prototype,Pt=St.prototype,Rt=kt.prototype,Dt=e["__core-js_shared__"],Ot=Pt.toString,Ft=Rt.hasOwnProperty,zt=0,$t=(i=/[^.]+$/.exec(Dt&&Dt.keys&&Dt.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",Nt=Rt.toString,jt=Ot.call(kt),Bt=pe._,Gt=At("^"+Ot.call(Ft).replace(rt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Wt=me?e.Buffer:r,qt=e.Symbol,Yt=e.Uint8Array,Xt=Wt?Wt.allocUnsafe:r,Ht=li(kt.getPrototypeOf,kt),Ut=kt.create,Vt=Rt.propertyIsEnumerable,Kt=Lt.splice,Zt=qt?qt.isConcatSpreadable:r,te=qt?qt.iterator:r,ie=qt?qt.toStringTag:r,le=function(){try{var t=ps(kt,"defineProperty");return t({},"",{}),t}catch(t){}}(),he=e.clearTimeout!==pe.clearTimeout&&e.clearTimeout,de=at&&at.now!==pe.Date.now&&at.now,fe=e.setTimeout!==pe.setTimeout&&e.setTimeout,ge=Tt.ceil,ve=Tt.floor,_e=kt.getOwnPropertySymbols,$e=Wt?Wt.isBuffer:r,Xe=e.isFinite,vi=Lt.join,_i=li(kt.keys,kt),yi=Tt.max,xi=Tt.min,wi=at.now,bi=e.parseInt,Ci=Tt.random,Ei=Lt.reverse,Si=ps(e,"DataView"),Ti=ps(e,"Map"),ki=ps(e,"Promise"),Ai=ps(e,"Set"),Mi=ps(e,"WeakMap"),Ii=ps(kt,"create"),Li=Mi&&new Mi,Pi={},Ri=js(Si),Di=js(Ti),Oi=js(ki),Fi=js(Ai),zi=js(Mi),$i=qt?qt.prototype:r,Ni=$i?$i.valueOf
vendor: 2,166 bytes, line 2
2:r,ji=$i?$i.toString:r;function Bi(t){if(ra(t)&&!Ho(t)&&!(t instanceof Yi)){if(t instanceof qi)return t;if(Ft.call(t,"__wrapped__"))return Bs(t)}return new qi(t)}var Gi=function(){function t(){}return function(e){if(!na(e))return{};if(Ut)return Ut(e);t.prototype=e;var i=new t;return t.prototype=r,i}}();function Wi(){}function qi(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=r}function Yi(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Xi(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function Hi(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function Ui(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function Vi(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new Ui;++e<i;)this.add(t[e])}function Ki(t){var e=this.__data__=new Hi(t);this.size=e.size}function Zi(t,e){var i=Ho(t),n=!i&&Xo(t),r=!i&&!n&&Zo(t),s=!i&&!n&&!r&&da(t),o=i||n||r||s,a=o?Ve(t.length,Mt):[],l=a.length;for(var c in t)!e&&!Ft.call(t,c)||o&&("length"==c||r&&("offset"==c||"parent"==c)||s&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||xs(c,l))||a.push(c);return a}function Ji(t){var e=t.length;return e?t[Kn(0,e-1)]:r}function Qi(t,e){return zs(Lr(t),cn(e,0,t.length))}function tn(t){return zs(Lr(t))}function en(t,e,i){(i!==r&&!Wo(t[e],i)||i===r&&!(e in t))&&an(t,e,i)}function nn(t,e,i){var n=t[e];Ft.call(t,e)&&Wo(n,i)&&(i!==r||e in t)||an(t,e,i)}function rn(t,e){for(var i=t.length;i--;)if(Wo(t[i][0],e))return i;return-1}function sn(t,e,i,n){return fn(t,(function(t,r,s){e(n,t,i(t),s)})),n}function on(t,e){return t&&Pr(e,Da(e),t)}function an(t,e,i){"__proto__"==e&&le?le(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i}function ln(t,e){for(var i=-1,s=e.length,o=n(s),a=null==t;++i<s;)o[i]=a?r:Ma(t,e[i]);return o}function cn(t,e,i){return t==t&&(i!==r&&(t=t<=i?t:i),e!==r&&(t=t>=e?t:e)),t}function un(t,e,i,n,s,o){var a,l=1&e,c=2&e,u=4&e;if(i&&(a=s?i(t,n,s,o):i(t)),a!==r)return a;
vendor: 6,641 bytes, line 2
2if(!na(t))return t;var h=Ho(t);if(h){if(a=function(t){var e=t.length,i=new t.constructor(e);e&&"string"==typeof t[0]&&Ft.call(t,"index")&&(i.index=t.index,i.input=t.input);return i}(t),!l)return Lr(t,a)}else{var d=ms(t),p=d==C||d==E;if(Zo(t))return Sr(t,l);if(d==k||d==_||p&&!s){if(a=c||p?{}:_s(t),!l)return c?function(t,e){return Pr(t,gs(t),e)}(t,function(t,e){return t&&Pr(e,Oa(e),t)}(a,t)):function(t,e){return Pr(t,fs(t),e)}(t,on(a,t))}else{if(!ae[d])return s?t:{};a=function(t,e,i){var n=t.constructor;switch(e){case D:return Tr(t);case x:case w:return new n(+t);case O:return function(t,e){var i=e?Tr(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)}(t,i);case F:case z:case $:case N:case j:case B:case G:case W:case q:return kr(t,i);case S:return new n;case T:case L:return new n(t);case M:return function(t){var e=new t.constructor(t.source,gt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case I:return new n;case P:return r=t,Ni?kt(Ni.call(r)):{}}var r}(t,d,l)}}o||(o=new Ki);var f=o.get(t);if(f)return f;o.set(t,a),ca(t)?t.forEach((function(n){a.add(un(n,e,i,n,t,o))})):sa(t)&&t.forEach((function(n,r){a.set(r,un(n,e,i,r,t,o))}));var g=h?r:(u?c?os:ss:c?Oa:Da)(t);return ke(g||t,(function(n,r){g&&(n=t[r=n]),nn(a,r,un(n,e,i,r,t,o))})),a}function hn(t,e,i){var n=i.length;if(null==t)return!n;for(t=kt(t);n--;){var s=i[n],o=e[s],a=t[s];if(a===r&&!(s in t)||!o(a))return!1}return!0}function dn(t,e,i){if("function"!=typeof t)throw new It(s);return Rs((function(){t.apply(r,i)}),e)}function pn(t,e,i,n){var r=-1,s=Le,o=!0,a=t.length,l=[],c=e.length;if(!a)return l;i&&(e=Re(e,Ze(i))),n?(s=Pe,o=!1):e.length>=200&&(s=Qe,o=!1,e=new Vi(e));t:for(;++r<a;){var u=t[r],h=null==i?u:i(u);if(u=n||0!==u?u:0,o&&h==h){for(var d=c;d--;)if(e[d]===h)continue t;l.push(u)}else s(e,h,n)||l.push(u)}return l}Bi.templateSettings={escape:J,evaluate:Q,interpolate:tt,variable:"",imports:{_:Bi}},Bi.prototype=Wi.prototype,Bi.prototype.constructor=Bi,qi.prototype=Gi(Wi.prototype),qi.prototype.constructor=qi,Yi.prototype=Gi(Wi.prototype),Yi.prototype.constructor=Yi,Xi.prototype.clear=function(){this.__data__=Ii?Ii(null):{},this.size=0},Xi.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Xi.prototype.get=function(t){var e=this.__data__;if(Ii){var i=e[t];return i===o?r:i}return Ft.call(e,t)?e[t]:r},Xi.prototype.has=function(t){var e=this.__data__;return Ii?e[t]!==r:Ft.call(e,t)},Xi.prototype.set=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Ii&&e===r?o:e,this},Hi.prototype.clear=function(){this.__data__=[],this.size=0},Hi.prototype.delete=function(t){var e=this.__data__,i=rn(e,t);return!(i<0)&&(i==e.length-1?e.pop():Kt.call(e,i,1),--this.size,!0)},Hi.prototype.get=function(t){var e=this.__data__,i=rn(e,t);return i<0?r:e[i][1]},Hi.prototype.has=function(t){return rn(this.__data__,t)>-1},Hi.prototype.set=function(t,e){var i=this.__data__,n=rn(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this},Ui.prototype.clear=function(){this.size=0,this.__data__={hash:new Xi,map:new(Ti||Hi),string:new Xi}},Ui.prototype.delete=function(t){var e=hs(this,t).delete(t);return this.size-=e?1:0,e},Ui.prototype.get=function(t){return hs(this,t).get(t)},Ui.prototype.has=function(t){return hs(this,t).has(t)},Ui.prototype.set=function(t,e){var i=hs(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this},Vi.prototype.add=Vi.prototype.push=function(t){return this.__data__.set(t,o),this},Vi.prototype.has=function(t){return this.__data__.has(t)},Ki.prototype.clear=function(){this.__data__=new Hi,this.size=0},Ki.prototype.delete=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i},Ki.prototype.get=function(t){return this.__data__.get(t)},Ki.prototype.has=function(t){return this.__data__.has(t)},Ki.prototype.set=function(t,e){var i=this.__data__;if(i instanceof Hi){var n=i.__data__;if(!Ti||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new Ui(n)}return i.set(t,e),this.size=i.size,this};var fn=Or(bn),gn=Or(Cn,!0);function mn(t,e){var i=!0;return fn(t,(function(t,n,r){return i=!!e(t,n,r)})),i}function vn(t,e,i){for(var n=-1,s=t.length;++n<s;){var o=t[n],a=e(o);if(null!=a&&(l===r?a==a&&!ha(a):i(a,l)))var l=a,c=o}return c}function _n(t,e){var i=[];return fn(t,(function(t,n,r){e(t,n,r)&&i.push(t)})),i}function yn(t,e,i,n,r){var s=-1,o=t.length;for(i||(i=ys),r||(r=[]);++s<o;){var a=t[s];e>0&&i(a)?e>1?yn(a,e-1,i,n,r):De(r,a):n||(r[r.length]=a)}return r}var xn=Fr(),wn=Fr(!0);function bn(t,e){return t&&xn(t,e,Da)}function Cn(t,e){return t&&wn(t,e,Da)}function En(t,e){return Ie(e,(function(e){return ta(t[e])}))}function Sn(t,e){for(var i=0,n=(e=wr(e,t)).length;null!=t&&i<n;)t=t[Ns(e[i++])];return i&&i==n?t:r}function Tn(t,e,i){var n=e(t);return Ho(t)?n:De(n,i(t))}function kn(t){return null==t?t===r?"[object Undefined]":"[object Null]":ie&&ie in kt(t)?function(t){var e=Ft.call(t,ie),i=t[ie];try{t[ie]=r;var n=!0}catch(t){}var s=Nt.call(t);n&&(e?t[ie]=i:delete t[ie]);return s}(t):function(t){return Nt.call(t)}(t)}function An(t,e){return t>e}function Mn(t,e){return null!=t&&Ft.call(t,e)}function In(t,e){return null!=t&&e in kt(t)}function Ln(t,e,i){for(var s=i?Pe:Le,o=t[0].length,a=t.length,l=a,c=n(a),u=1/0,h=[];l--;){var d=t[l];l&&e&&(d=Re(d,Ze(e))),u=xi(d.length,u),c[l]=!i&&(e||o>=120&&d.length>=120)?new Vi(l&&d):r}d=t[0];var p=-1,f=c[0];t:for(;++p<o&&h.length<u;){var g=d[p],m=e?e(g):g;if(g=i||0!==g?g:0,!(f?Qe(f,m):s(h,m,i))){for(l=a;--l;){var v=c[l];if(!(v?Qe(v,m):s(t[l],m,i)))continue t}f&&f.push(m),h.push(g)}}return h}function Pn(t,e,i){var n=null==(t=Ms(t,e=wr(e,t)))?t:t[Ns(Js(e))];return null==n?r:Se(n,t,i)}function Rn(t){return ra(t)&&kn(t)==_}function Dn(t,e,i,n,s){return t===e||(null==t||null==e||!ra(t)&&!ra(e)?t!=t&&e!=e:function(t,e,i,n,s,o){var a=Ho(t),l=Ho(e),c=a?y:ms(t),u=l?y:ms(e),h=(c=c==_?k:c)==k,d=(u=u==_?k:u)==k,p=c==u;if(p&&Zo(t)){if(!Zo(e))return!1;a=!0,h=!1}if(p&&!h)return o||(o=new Ki),a||da(t)?ns(t,e,i,n,s,o):function(t,e,i,n,r,s,o){switch(i){case O:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case D:return!(t.byteLength!=e.byteLength||!s(new Yt(t),new Yt(e)));case x:case w:case T:return Wo(+t,+e);case b:return t.name==e.name&&t.message==e.message;case M:case L:return t==e+"";case S:var a=ai;case I:var l=1&n;if(a||(a=ui),t.size!=e.size&&!l)return!1;var c=o.get(t);if(c)return c==e;n|=2,o.set(t,e);var u=ns(a(t),a(e),n,r,s,o);return o.delete(t),u;case P:if(Ni)return Ni.call(t)==Ni.call(e)}return!1}(t,e,c,i,n,s,o);if(!(1&i)){var f=h&&Ft.call(t,"__wrapped__"),g=d&&Ft.call(e,"__wrapped__");
vendor: 4,773 bytes, line 2
2if(f||g){var m=f?t.value():t,v=g?e.value():e;return o||(o=new Ki),s(m,v,i,n,o)}}if(!p)return!1;return o||(o=new Ki),function(t,e,i,n,s,o){var a=1&i,l=ss(t),c=l.length,u=ss(e).length;if(c!=u&&!a)return!1;var h=c;for(;h--;){var d=l[h];if(!(a?d in e:Ft.call(e,d)))return!1}var p=o.get(t),f=o.get(e);if(p&&f)return p==e&&f==t;var g=!0;o.set(t,e),o.set(e,t);var m=a;for(;++h<c;){var v=t[d=l[h]],_=e[d];if(n)var y=a?n(_,v,d,e,t,o):n(v,_,d,t,e,o);if(!(y===r?v===_||s(v,_,i,n,o):y)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){var x=t.constructor,w=e.constructor;x==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(g=!1)}return o.delete(t),o.delete(e),g}(t,e,i,n,s,o)}(t,e,i,n,Dn,s))}function On(t,e,i,n){var s=i.length,o=s,a=!n;if(null==t)return!o;for(t=kt(t);s--;){var l=i[s];if(a&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++s<o;){var c=(l=i[s])[0],u=t[c],h=l[1];if(a&&l[2]){if(u===r&&!(c in t))return!1}else{var d=new Ki;if(n)var p=n(u,h,c,t,e,d);if(!(p===r?Dn(h,u,3,n,d):p))return!1}}return!0}function Fn(t){return!(!na(t)||(e=t,$t&&$t in e))&&(ta(t)?Gt:_t).test(js(t));var e}function zn(t){return"function"==typeof t?t:null==t?ol:"object"==typeof t?Ho(t)?Wn(t[0],t[1]):Gn(t):gl(t)}function $n(t){if(!Ss(t))return _i(t);var e=[];for(var i in kt(t))Ft.call(t,i)&&"constructor"!=i&&e.push(i);return e}function Nn(t){if(!na(t))return function(t){var e=[];if(null!=t)for(var i in kt(t))e.push(i);return e}(t);var e=Ss(t),i=[];for(var n in t)("constructor"!=n||!e&&Ft.call(t,n))&&i.push(n);return i}function jn(t,e){return t<e}function Bn(t,e){var i=-1,r=Vo(t)?n(t.length):[];return fn(t,(function(t,n,s){r[++i]=e(t,n,s)})),r}function Gn(t){var e=ds(t);return 1==e.length&&e[0][2]?ks(e[0][0],e[0][1]):function(i){return i===t||On(i,t,e)}}function Wn(t,e){return bs(t)&&Ts(e)?ks(Ns(t),e):function(i){var n=Ma(i,t);return n===r&&n===e?Ia(i,t):Dn(e,n,3)}}function qn(t,e,i,n,s){t!==e&&xn(e,(function(o,a){if(s||(s=new Ki),na(o))!function(t,e,i,n,s,o,a){var l=Ls(t,i),c=Ls(e,i),u=a.get(c);if(u)return void en(t,i,u);var h=o?o(l,c,i+"",t,e,a):r,d=h===r;if(d){var p=Ho(c),f=!p&&Zo(c),g=!p&&!f&&da(c);h=c,p||f||g?Ho(l)?h=l:Ko(l)?h=Lr(l):f?(d=!1,h=Sr(c,!0)):g?(d=!1,h=kr(c,!0)):h=[]:aa(c)||Xo(c)?(h=l,Xo(l)?h=xa(l):na(l)&&!ta(l)||(h=_s(c))):d=!1}d&&(a.set(c,h),s(h,c,n,o,a),a.delete(c));en(t,i,h)}(t,e,a,i,qn,n,s);else{var l=n?n(Ls(t,a),o,a+"",t,e,s):r;l===r&&(l=o),en(t,a,l)}}),Oa)}function Yn(t,e){var i=t.length;if(i)return xs(e+=e<0?i:0,i)?t[e]:r}function Xn(t,e,i){e=e.length?Re(e,(function(t){return Ho(t)?function(e){return Sn(e,1===t.length?t[0]:t)}:t})):[ol];var n=-1;e=Re(e,Ze(us()));var r=Bn(t,(function(t,i,r){var s=Re(e,(function(e){return e(t)}));return{criteria:s,index:++n,value:t}}));return function(t,e){var i=t.length;for(t.sort(e);i--;)t[i]=t[i].value;return t}(r,(function(t,e){return function(t,e,i){var n=-1,r=t.criteria,s=e.criteria,o=r.length,a=i.length;for(;++n<o;){var l=Ar(r[n],s[n]);if(l)return n>=a?l:l*("desc"==i[n]?-1:1)}return t.index-e.index}(t,e,i)}))}function Hn(t,e,i){for(var n=-1,r=e.length,s={};++n<r;){var o=e[n],a=Sn(t,o);i(a,o)&&er(s,wr(o,t),a)}return s}function Un(t,e,i,n){var r=n?Ge:Be,s=-1,o=e.length,a=t;for(t===e&&(e=Lr(e)),i&&(a=Re(t,Ze(i)));++s<o;)for(var l=0,c=e[s],u=i?i(c):c;(l=r(a,u,l,n))>-1;)a!==t&&Kt.call(a,l,1),Kt.call(t,l,1);return t}function Vn(t,e){for(var i=t?e.length:0,n=i-1;i--;){var r=e[i];if(i==n||r!==s){var s=r;xs(r)?Kt.call(t,r,1):pr(t,r)}}return t}function Kn(t,e){return t+ve(Ci()*(e-t+1))}function Zn(t,e){var i="";if(!t||e<1||e>f)return i;do{e%2&&(i+=t),(e=ve(e/2))&&(t+=t)}while(e);return i}function Jn(t,e){return Ds(As(t,e,ol),t+"")}function Qn(t){return Ji(Wa(t))}function tr(t,e){var i=Wa(t);return zs(i,cn(e,0,i.length))}function er(t,e,i,n){if(!na(t))return t;for(var s=-1,o=(e=wr(e,t)).length,a=o-1,l=t;null!=l&&++s<o;){var c=Ns(e[s]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(s!=a){var h=l[c];(u=n?n(h,c,l):r)===r&&(u=na(h)?h:xs(e[s+1])?[]:{})}nn(l,c,u),l=l[c]}return t}var ir=Li?function(t,e){return Li.set(t,e),t}:ol,nr=le?function(t,e){return le(t,"toString",{configurable:!0,enumerable:!1,value:nl(e),writable:!0})}:ol;function rr(t){return zs(Wa(t))}function sr(t,e,i){var r=-1,s=t.length;e<0&&(e=-e>s?0:s+e),(i=i>s?s:i)<0&&(i+=s),s=e>i?0:i-e>>>0,e>>>=0;for(var o=n(s);++r<s;)o[r]=t[r+e];return o}function or(t,e){var i;return fn(t,(function(t,n,r){return!(i=e(t,n,r))})),!!i}function ar(t,e,i){var n=0,r=null==t?n:t.length;if("number"==typeof e&&e==e&&r<=2147483647){for(;n<r;){var s=n+r>>>1,o=t[s];null!==o&&!ha(o)&&(i?o<=e:o<e)?n=s+1:r=s}return r}return lr(t,e,ol,i)}function lr(t,e,i,n){var s=0,o=null==t?0:t.length;if(0===o)return 0;for(var a=(e=i(e))!=e,l=null===e,c=ha(e),u=e===r;s<o;
vendor: 4,766 bytes, line 2
2){var h=ve((s+o)/2),d=i(t[h]),p=d!==r,f=null===d,g=d==d,m=ha(d);if(a)var v=n||g;else v=u?g&&(n||p):l?g&&p&&(n||!f):c?g&&p&&!f&&(n||!m):!f&&!m&&(n?d<=e:d<e);v?s=h+1:o=h}return xi(o,4294967294)}function cr(t,e){for(var i=-1,n=t.length,r=0,s=[];++i<n;){var o=t[i],a=e?e(o):o;if(!i||!Wo(a,l)){var l=a;s[r++]=0===o?0:o}}return s}function ur(t){return"number"==typeof t?t:ha(t)?g:+t}function hr(t){if("string"==typeof t)return t;if(Ho(t))return Re(t,hr)+"";if(ha(t))return ji?ji.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function dr(t,e,i){var n=-1,r=Le,s=t.length,o=!0,a=[],l=a;if(i)o=!1,r=Pe;else if(s>=200){var c=e?null:Zr(t);if(c)return ui(c);o=!1,r=Qe,l=new Vi}else l=e?[]:a;t:for(;++n<s;){var u=t[n],h=e?e(u):u;if(u=i||0!==u?u:0,o&&h==h){for(var d=l.length;d--;)if(l[d]===h)continue t;e&&l.push(h),a.push(u)}else r(l,h,i)||(l!==a&&l.push(h),a.push(u))}return a}function pr(t,e){return null==(t=Ms(t,e=wr(e,t)))||delete t[Ns(Js(e))]}function fr(t,e,i,n){return er(t,e,i(Sn(t,e)),n)}function gr(t,e,i,n){for(var r=t.length,s=n?r:-1;(n?s--:++s<r)&&e(t[s],s,t););return i?sr(t,n?0:s,n?s+1:r):sr(t,n?s+1:0,n?r:s)}function mr(t,e){var i=t;return i instanceof Yi&&(i=i.value()),Oe(e,(function(t,e){return e.func.apply(e.thisArg,De([t],e.args))}),i)}function vr(t,e,i){var r=t.length;if(r<2)return r?dr(t[0]):[];for(var s=-1,o=n(r);++s<r;)for(var a=t[s],l=-1;++l<r;)l!=s&&(o[s]=pn(o[s]||a,t[l],e,i));return dr(yn(o,1),e,i)}function _r(t,e,i){for(var n=-1,s=t.length,o=e.length,a={};++n<s;){var l=n<o?e[n]:r;i(a,t[n],l)}return a}function yr(t){return Ko(t)?t:[]}function xr(t){return"function"==typeof t?t:ol}function wr(t,e){return Ho(t)?t:bs(t,e)?[t]:$s(wa(t))}var br=Jn;function Cr(t,e,i){var n=t.length;return i=i===r?n:i,!e&&i>=n?t:sr(t,e,i)}var Er=he||function(t){return pe.clearTimeout(t)};function Sr(t,e){if(e)return t.slice();var i=t.length,n=Xt?Xt(i):new t.constructor(i);return t.copy(n),n}function Tr(t){var e=new t.constructor(t.byteLength);return new Yt(e).set(new Yt(t)),e}function kr(t,e){var i=e?Tr(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}function Ar(t,e){if(t!==e){var i=t!==r,n=null===t,s=t==t,o=ha(t),a=e!==r,l=null===e,c=e==e,u=ha(e);if(!l&&!u&&!o&&t>e||o&&a&&c&&!l&&!u||n&&a&&c||!i&&c||!s)return 1;if(!n&&!o&&!u&&t<e||u&&i&&s&&!n&&!o||l&&i&&s||!a&&s||!c)return-1}return 0}function Mr(t,e,i,r){for(var s=-1,o=t.length,a=i.length,l=-1,c=e.length,u=yi(o-a,0),h=n(c+u),d=!r;++l<c;)h[l]=e[l];for(;++s<a;)(d||s<o)&&(h[i[s]]=t[s]);for(;u--;)h[l++]=t[s++];return h}function Ir(t,e,i,r){for(var s=-1,o=t.length,a=-1,l=i.length,c=-1,u=e.length,h=yi(o-l,0),d=n(h+u),p=!r;++s<h;)d[s]=t[s];for(var f=s;++c<u;)d[f+c]=e[c];for(;++a<l;)(p||s<o)&&(d[f+i[a]]=t[s++]);return d}function Lr(t,e){var i=-1,r=t.length;for(e||(e=n(r));++i<r;)e[i]=t[i];return e}function Pr(t,e,i,n){var s=!i;i||(i={});for(var o=-1,a=e.length;++o<a;){var l=e[o],c=n?n(i[l],t[l],l,i,t):r;c===r&&(c=t[l]),s?an(i,l,c):nn(i,l,c)}return i}function Rr(t,e){return function(i,n){var r=Ho(i)?Te:sn,s=e?e():{};return r(i,t,us(n,2),s)}}function Dr(t){return Jn((function(e,i){var n=-1,s=i.length,o=s>1?i[s-1]:r,a=s>2?i[2]:r;for(o=t.length>3&&"function"==typeof o?(s--,o):r,a&&ws(i[0],i[1],a)&&(o=s<3?r:o,s=1),e=kt(e);++n<s;){var l=i[n];l&&t(e,l,n,o)}return e}))}function Or(t,e){return function(i,n){if(null==i)return i;if(!Vo(i))return t(i,n);for(var r=i.length,s=e?r:-1,o=kt(i);(e?s--:++s<r)&&!1!==n(o[s],s,o););return i}}function Fr(t){return function(e,i,n){for(var r=-1,s=kt(e),o=n(e),a=o.length;a--;){var l=o[t?a:++r];if(!1===i(s[l],l,s))break}return e}}function zr(t){return function(e){var i=oi(e=wa(e))?pi(e):r,n=i?i[0]:e.charAt(0),s=i?Cr(i,1).join(""):e.slice(1);return n[t]()+s}}function $r(t){return function(e){return Oe(tl(Xa(e).replace(Jt,"")),t,"")}}function Nr(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var i=Gi(t.prototype),n=t.apply(i,e);return na(n)?n:i}}function jr(t){return function(e,i,n){var s=kt(e);if(!Vo(e)){var o=us(i,3);e=Da(e),i=function(t){return o(s[t],t,s)}}var a=t(e,i,n);return a>-1?s[o?e[a]:a]:r}}function Br(t){return rs((function(e){var i=e.length,n=i,o=qi.prototype.thru;for(t&&e.reverse();n--;){var a=e[n];if("function"!=typeof a)throw new It(s);if(o&&!l&&"wrapper"==ls(a))var l=new qi([],!0)}for(n=l?n:i;++n<i;){var c=ls(a=e[n]),u="wrapper"==c?as(a):r;l=u&&Cs(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[ls(u[0])].apply(l,u[3]):1==a.length&&Cs(a)?l[c]():l.thru(a)}return function(){var t=arguments,n=t[0];
vendor: 24,287 bytes, line 2
2if(l&&1==t.length&&Ho(n))return l.plant(n).value();for(var r=0,s=i?e[r].apply(this,t):n;++r<i;)s=e[r].call(this,s);return s}}))}function Gr(t,e,i,s,o,a,l,c,u,d){var p=e&h,f=1&e,g=2&e,m=24&e,v=512&e,_=g?r:Nr(t);return function r(){for(var h=arguments.length,y=n(h),x=h;x--;)y[x]=arguments[x];if(m)var w=cs(r),b=ii(y,w);if(s&&(y=Mr(y,s,o,m)),a&&(y=Ir(y,a,l,m)),h-=b,m&&h<d){var C=ci(y,w);return Vr(t,e,Gr,r.placeholder,i,y,C,c,u,d-h)}var E=f?i:this,S=g?E[t]:t;return h=y.length,c?y=Is(y,c):v&&h>1&&y.reverse(),p&&u<h&&(y.length=u),this&&this!==pe&&this instanceof r&&(S=_||Nr(S)),S.apply(E,y)}}function Wr(t,e){return function(i,n){return function(t,e,i,n){return bn(t,(function(t,r,s){e(n,i(t),r,s)})),n}(i,t,e(n),{})}}function qr(t,e){return function(i,n){var s;if(i===r&&n===r)return e;if(i!==r&&(s=i),n!==r){if(s===r)return n;"string"==typeof i||"string"==typeof n?(i=hr(i),n=hr(n)):(i=ur(i),n=ur(n)),s=t(i,n)}return s}}function Yr(t){return rs((function(e){return e=Re(e,Ze(us())),Jn((function(i){var n=this;return t(e,(function(t){return Se(t,n,i)}))}))}))}function Xr(t,e){var i=(e=e===r?" ":hr(e)).length;if(i<2)return i?Zn(e,t):e;var n=Zn(e,ge(t/di(e)));return oi(e)?Cr(pi(n),0,t).join(""):n.slice(0,t)}function Hr(t){return function(e,i,s){return s&&"number"!=typeof s&&ws(e,i,s)&&(i=s=r),e=ma(e),i===r?(i=e,e=0):i=ma(i),function(t,e,i,r){for(var s=-1,o=yi(ge((e-t)/(i||1)),0),a=n(o);o--;)a[r?o:++s]=t,t+=i;return a}(e,i,s=s===r?e<i?1:-1:ma(s),t)}}function Ur(t){return function(e,i){return"string"==typeof e&&"string"==typeof i||(e=ya(e),i=ya(i)),t(e,i)}}function Vr(t,e,i,n,s,o,a,l,h,d){var p=8&e;e|=p?c:u,4&(e&=~(p?u:c))||(e&=-4);var f=[t,e,s,p?o:r,p?a:r,p?r:o,p?r:a,l,h,d],g=i.apply(r,f);return Cs(t)&&Ps(g,f),g.placeholder=n,Os(g,t,e)}function Kr(t){var e=Tt[t];return function(t,i){if(t=ya(t),(i=null==i?0:xi(va(i),292))&&Xe(t)){var n=(wa(t)+"e").split("e");return+((n=(wa(e(n[0]+"e"+(+n[1]+i)))+"e").split("e"))[0]+"e"+(+n[1]-i))}return e(t)}}var Zr=Ai&&1/ui(new Ai([,-0]))[1]==p?function(t){return new Ai(t)}:hl;function Jr(t){return function(e){var i=ms(e);return i==S?ai(e):i==I?hi(e):function(t,e){return Re(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Qr(t,e,i,o,p,f,g,m){var v=2&e;if(!v&&"function"!=typeof t)throw new It(s);var _=o?o.length:0;if(_||(e&=-97,o=p=r),g=g===r?g:yi(va(g),0),m=m===r?m:va(m),_-=p?p.length:0,e&u){var y=o,x=p;o=p=r}var w=v?r:as(t),b=[t,e,i,o,p,y,x,f,g,m];if(w&&function(t,e){var i=t[1],n=e[1],r=i|n,s=r<131,o=n==h&&8==i||n==h&&i==d&&t[7].length<=e[8]||384==n&&e[7].length<=e[8]&&8==i;if(!s&&!o)return t;1&n&&(t[2]=e[2],r|=1&i?0:4);var l=e[3];if(l){var c=t[3];t[3]=c?Mr(c,l,e[4]):l,t[4]=c?ci(t[3],a):e[4]}(l=e[5])&&(c=t[5],t[5]=c?Ir(c,l,e[6]):l,t[6]=c?ci(t[5],a):e[6]);(l=e[7])&&(t[7]=l);n&h&&(t[8]=null==t[8]?e[8]:xi(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=r}(b,w),t=b[0],e=b[1],i=b[2],o=b[3],p=b[4],!(m=b[9]=b[9]===r?v?0:t.length:yi(b[9]-_,0))&&24&e&&(e&=-25),e&&1!=e)C=8==e||e==l?function(t,e,i){var s=Nr(t);return function o(){for(var a=arguments.length,l=n(a),c=a,u=cs(o);c--;)l[c]=arguments[c];var h=a<3&&l[0]!==u&&l[a-1]!==u?[]:ci(l,u);return(a-=h.length)<i?Vr(t,e,Gr,o.placeholder,r,l,h,r,r,i-a):Se(this&&this!==pe&&this instanceof o?s:t,this,l)}}(t,e,m):e!=c&&33!=e||p.length?Gr.apply(r,b):function(t,e,i,r){var s=1&e,o=Nr(t);return function e(){for(var a=-1,l=arguments.length,c=-1,u=r.length,h=n(u+l),d=this&&this!==pe&&this instanceof e?o:t;++c<u;)h[c]=r[c];for(;l--;)h[c++]=arguments[++a];return Se(d,s?i:this,h)}}(t,e,i,o);else var C=function(t,e,i){var n=1&e,r=Nr(t);return function e(){return(this&&this!==pe&&this instanceof e?r:t).apply(n?i:this,arguments)}}(t,e,i);return Os((w?ir:Ps)(C,b),t,e)}function ts(t,e,i,n){return t===r||Wo(t,Rt[i])&&!Ft.call(n,i)?e:t}function es(t,e,i,n,s,o){return na(t)&&na(e)&&(o.set(e,t),qn(t,e,r,es,o),o.delete(e)),t}function is(t){return aa(t)?r:t}function ns(t,e,i,n,s,o){var a=1&i,l=t.length,c=e.length;if(l!=c&&!(a&&c>l))return!1;var u=o.get(t),h=o.get(e);if(u&&h)return u==e&&h==t;var d=-1,p=!0,f=2&i?new Vi:r;for(o.set(t,e),o.set(e,t);++d<l;){var g=t[d],m=e[d];if(n)var v=a?n(m,g,d,e,t,o):n(g,m,d,t,e,o);if(v!==r){if(v)continue;p=!1;break}if(f){if(!ze(e,(function(t,e){if(!Qe(f,e)&&(g===t||s(g,t,i,n,o)))return f.push(e)}))){p=!1;break}}else if(g!==m&&!s(g,m,i,n,o)){p=!1;break}}return o.delete(t),o.delete(e),p}function rs(t){return Ds(As(t,r,Hs),t+"")}function ss(t){return Tn(t,Da,fs)}function os(t){return Tn(t,Oa,gs)}var as=Li?function(t){return Li.get(t)}:hl;function ls(t){for(var e=t.name+"",i=Pi[e],n=Ft.call(Pi,e)?i.length:0;n--;){var r=i[n],s=r.func;if(null==s||s==t)return r.name}return e}function cs(t){return(Ft.call(Bi,"placeholder")?Bi:t).placeholder}function us(){var t=Bi.iteratee||al;return t=t===al?zn:t,arguments.length?t(arguments[0],arguments[1]):t}function hs(t,e){var i,n,r=t.__data__;return("string"==(n=typeof(i=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==i:null===i)?r["string"==typeof e?"string":"hash"]:r.map}function ds(t){for(var e=Da(t),i=e.length;i--;){var n=e[i],r=t[n];e[i]=[n,r,Ts(r)]}return e}function ps(t,e){var i=function(t,e){return null==t?r:t[e]}(t,e);return Fn(i)?i:r}var fs=_e?function(t){return null==t?[]:(t=kt(t),Ie(_e(t),(function(e){return Vt.call(t,e)})))}:_l,gs=_e?function(t){for(var e=[];t;)De(e,fs(t)),t=Ht(t);return e}:_l,ms=kn;function vs(t,e,i){for(var n=-1,r=(e=wr(e,t)).length,s=!1;++n<r;){var o=Ns(e[n]);if(!(s=null!=t&&i(t,o)))break;t=t[o]}return s||++n!=r?s:!!(r=null==t?0:t.length)&&ia(r)&&xs(o,r)&&(Ho(t)||Xo(t))}function _s(t){return"function"!=typeof t.constructor||Ss(t)?{}:Gi(Ht(t))}function ys(t){return Ho(t)||Xo(t)||!!(Zt&&t&&t[Zt])}function xs(t,e){var i=typeof t;return!!(e=null==e?f:e)&&("number"==i||"symbol"!=i&&xt.test(t))&&t>-1&&t%1==0&&t<e}function ws(t,e,i){if(!na(i))return!1;var n=typeof e;return!!("number"==n?Vo(i)&&xs(e,i.length):"string"==n&&e in i)&&Wo(i[e],t)}function bs(t,e){if(Ho(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!ha(t))||(it.test(t)||!et.test(t)||null!=e&&t in kt(e))}function Cs(t){var e=ls(t),i=Bi[e];if("function"!=typeof i||!(e in Yi.prototype))return!1;if(t===i)return!0;var n=as(i);return!!n&&t===n[0]}(Si&&ms(new Si(new ArrayBuffer(1)))!=O||Ti&&ms(new Ti)!=S||ki&&ms(ki.resolve())!=A||Ai&&ms(new Ai)!=I||Mi&&ms(new Mi)!=R)&&(ms=function(t){var e=kn(t),i=e==k?t.constructor:r,n=i?js(i):"";if(n)switch(n){case Ri:return O;case Di:return S;case Oi:return A;case Fi:return I;case zi:return R}return e});var Es=Dt?ta:yl;function Ss(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Rt)}function Ts(t){return t==t&&!na(t)}function ks(t,e){return function(i){return null!=i&&(i[t]===e&&(e!==r||t in kt(i)))}}function As(t,e,i){return e=yi(e===r?t.length-1:e,0),function(){for(var r=arguments,s=-1,o=yi(r.length-e,0),a=n(o);++s<o;)a[s]=r[e+s];s=-1;for(var l=n(e+1);++s<e;)l[s]=r[s];return l[e]=i(a),Se(t,this,l)}}function Ms(t,e){return e.length<2?t:Sn(t,sr(e,0,-1))}function Is(t,e){for(var i=t.length,n=xi(e.length,i),s=Lr(t);n--;){var o=e[n];t[n]=xs(o,i)?s[o]:r}return t}function Ls(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var Ps=Fs(ir),Rs=fe||function(t,e){return pe.setTimeout(t,e)},Ds=Fs(nr);function Os(t,e,i){var n=e+"";return Ds(t,function(t,e){var i=e.length;if(!i)return t;var n=i-1;return e[n]=(i>1?"& ":"")+e[n],e=e.join(i>2?", ":" "),t.replace(lt,"{\n/* [wrapped with "+e+"] */\n")}(n,function(t,e){return ke(v,(function(i){var n="_."+i[0];e&i[1]&&!Le(t,n)&&t.push(n)})),t.sort()}(function(t){var e=t.match(ct);return e?e[1].split(ut):[]}(n),i)))}function Fs(t){var e=0,i=0;return function(){var n=wi(),s=16-(n-i);if(i=n,s>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(r,arguments)}}function zs(t,e){var i=-1,n=t.length,s=n-1;for(e=e===r?n:e;++i<e;){var o=Kn(i,s),a=t[o];t[o]=t[i],t[i]=a}return t.length=e,t}var $s=function(t){var e=zo(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(nt,(function(t,i,n,r){e.push(n?r.replace(pt,"$1"):i||t)})),e}));function Ns(t){if("string"==typeof t||ha(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function js(t){if(null!=t){try{return Ot.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Bs(t){if(t instanceof Yi)return t.clone();var e=new qi(t.__wrapped__,t.__chain__);return e.__actions__=Lr(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Gs=Jn((function(t,e){return Ko(t)?pn(t,yn(e,1,Ko,!0)):[]})),Ws=Jn((function(t,e){var i=Js(e);return Ko(i)&&(i=r),Ko(t)?pn(t,yn(e,1,Ko,!0),us(i,2)):[]})),qs=Jn((function(t,e){var i=Js(e);return Ko(i)&&(i=r),Ko(t)?pn(t,yn(e,1,Ko,!0),r,i):[]}));function Ys(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var r=null==i?0:va(i);return r<0&&(r=yi(n+r,0)),je(t,us(e,3),r)}function Xs(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var s=n-1;return i!==r&&(s=va(i),s=i<0?yi(n+s,0):xi(s,n-1)),je(t,us(e,3),s,!0)}function Hs(t){return(null==t?0:t.length)?yn(t,1):[]}function Us(t){return t&&t.length?t[0]:r}var Vs=Jn((function(t){var e=Re(t,yr);return e.length&&e[0]===t[0]?Ln(e):[]})),Ks=Jn((function(t){var e=Js(t),i=Re(t,yr);return e===Js(i)?e=r:i.pop(),i.length&&i[0]===t[0]?Ln(i,us(e,2)):[]})),Zs=Jn((function(t){var e=Js(t),i=Re(t,yr);return(e="function"==typeof e?e:r)&&i.pop(),i.length&&i[0]===t[0]?Ln(i,r,e):[]}));function Js(t){var e=null==t?0:t.length;return e?t[e-1]:r}var Qs=Jn(to);function to(t,e){return t&&t.length&&e&&e.length?Un(t,e):t}var eo=rs((function(t,e){var i=null==t?0:t.length,n=ln(t,e);return Vn(t,Re(e,(function(t){return xs(t,i)?+t:t})).sort(Ar)),n}));function io(t){return null==t?t:Ei.call(t)}var no=Jn((function(t){return dr(yn(t,1,Ko,!0))})),ro=Jn((function(t){var e=Js(t);return Ko(e)&&(e=r),dr(yn(t,1,Ko,!0),us(e,2))})),so=Jn((function(t){var e=Js(t);return e="function"==typeof e?e:r,dr(yn(t,1,Ko,!0),r,e)}));function oo(t){if(!t||!t.length)return[];var e=0;return t=Ie(t,(function(t){if(Ko(t))return e=yi(t.length,e),!0})),Ve(e,(function(e){return Re(t,Ye(e))}))}function ao(t,e){if(!t||!t.length)return[];var i=oo(t);return null==e?i:Re(i,(function(t){return Se(e,r,t)}))}var lo=Jn((function(t,e){return Ko(t)?pn(t,e):[]})),co=Jn((function(t){return vr(Ie(t,Ko))})),uo=Jn((function(t){var e=Js(t);return Ko(e)&&(e=r),vr(Ie(t,Ko),us(e,2))})),ho=Jn((function(t){var e=Js(t);return e="function"==typeof e?e:r,vr(Ie(t,Ko),r,e)})),po=Jn(oo);var fo=Jn((function(t){var e=t.length,i=e>1?t[e-1]:r;return i="function"==typeof i?(t.pop(),i):r,ao(t,i)}));function go(t){var e=Bi(t);return e.__chain__=!0,e}function mo(t,e){return e(t)}var vo=rs((function(t){var e=t.length,i=e?t[0]:0,n=this.__wrapped__,s=function(e){return ln(e,t)};return!(e>1||this.__actions__.length)&&n instanceof Yi&&xs(i)?((n=n.slice(i,+i+(e?1:0))).__actions__.push({func:mo,args:[s],thisArg:r}),new qi(n,this.__chain__).thru((function(t){return e&&!t.length&&t.push(r),t}))):this.thru(s)}));var _o=Rr((function(t,e,i){Ft.call(t,i)?++t[i]:an(t,i,1)}));var yo=jr(Ys),xo=jr(Xs);function wo(t,e){return(Ho(t)?ke:fn)(t,us(e,3))}function bo(t,e){return(Ho(t)?Ae:gn)(t,us(e,3))}var Co=Rr((function(t,e,i){Ft.call(t,i)?t[i].push(e):an(t,i,[e])}));var Eo=Jn((function(t,e,i){var r=-1,s="function"==typeof e,o=Vo(t)?n(t.length):[];return fn(t,(function(t){o[++r]=s?Se(e,t,i):Pn(t,e,i)})),o})),So=Rr((function(t,e,i){an(t,i,e)}));function To(t,e){return(Ho(t)?Re:Bn)(t,us(e,3))}var ko=Rr((function(t,e,i){t[i?0:1].push(e)}),(function(){return[[],[]]}));var Ao=Jn((function(t,e){if(null==t)return[];var i=e.length;return i>1&&ws(t,e[0],e[1])?e=[]:i>2&&ws(e[0],e[1],e[2])&&(e=[e[0]]),Xn(t,yn(e,1),[])})),Mo=de||function(){return pe.Date.now()};function Io(t,e,i){return e=i?r:e,e=t&&null==e?t.length:e,Qr(t,h,r,r,r,r,e)}function Lo(t,e){var i;if("function"!=typeof e)throw new It(s);return t=va(t),function(){return--t>0&&(i=e.apply(this,arguments)),t<=1&&(e=r),i}}var Po=Jn((function(t,e,i){var n=1;if(i.length){var r=ci(i,cs(Po));n|=c}return Qr(t,n,e,i,r)})),Ro=Jn((function(t,e,i){var n=3;if(i.length){var r=ci(i,cs(Ro));n|=c}return Qr(e,n,t,i,r)}));function Do(t,e,i){var n,o,a,l,c,u,h=0,d=!1,p=!1,f=!0;if("function"!=typeof t)throw new It(s);function g(e){var i=n,s=o;return n=o=r,h=e,l=t.apply(s,i)}function m(t){return h=t,c=Rs(_,e),d?g(t):l}function v(t){var i=t-u;return u===r||i>=e||i<0||p&&t-h>=a}function _(){var t=Mo();if(v(t))return y(t);c=Rs(_,function(t){var i=e-(t-u);return p?xi(i,a-(t-h)):i}(t))}function y(t){return c=r,f&&n?g(t):(n=o=r,l)}function x(){var t=Mo(),i=v(t);if(n=arguments,o=this,u=t,i){if(c===r)return m(u);if(p)return Er(c),c=Rs(_,e),g(u)}return c===r&&(c=Rs(_,e)),l}return e=ya(e)||0,na(i)&&(d=!!i.leading,a=(p="maxWait"in i)?yi(ya(i.maxWait)||0,e):a,f="trailing"in i?!!i.trailing:f),x.cancel=function(){c!==r&&Er(c),h=0,n=u=o=c=r},x.flush=function(){return c===r?l:y(Mo())},x}var Oo=Jn((function(t,e){return dn(t,1,e)})),Fo=Jn((function(t,e,i){return dn(t,ya(e)||0,i)}));function zo(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new It(s);var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(zo.Cache||Ui),i}function $o(t){if("function"!=typeof t)throw new It(s);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}zo.Cache=Ui;var No=br((function(t,e){var i=(e=1==e.length&&Ho(e[0])?Re(e[0],Ze(us())):Re(yn(e,1),Ze(us()))).length;return Jn((function(n){for(var r=-1,s=xi(n.length,i);++r<s;)n[r]=e[r].call(this,n[r]);return Se(t,this,n)}))})),jo=Jn((function(t,e){var i=ci(e,cs(jo));return Qr(t,c,r,e,i)})),Bo=Jn((function(t,e){var i=ci(e,cs(Bo));return Qr(t,u,r,e,i)})),Go=rs((function(t,e){return Qr(t,d,r,r,r,e)}));function Wo(t,e){return t===e||t!=t&&e!=e}var qo=Ur(An),Yo=Ur((function(t,e){return t>=e})),Xo=Rn(function(){return arguments}())?Rn:function(t){return ra(t)&&Ft.call(t,"callee")&&!Vt.call(t,"callee")},Ho=n.isArray,Uo=ye?Ze(ye):function(t){return ra(t)&&kn(t)==D};function Vo(t){return null!=t&&ia(t.length)&&!ta(t)}function Ko(t){return ra(t)&&Vo(t)}var Zo=$e||yl,Jo=xe?Ze(xe):function(t){return ra(t)&&kn(t)==w};function Qo(t){if(!ra(t))return!1;var e=kn(t);return e==b||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!aa(t)}function ta(t){if(!na(t))return!1;var e=kn(t);return e==C||e==E||"[object AsyncFunction]"==e||"[object Proxy]"==e}function ea(t){return"number"==typeof t&&t==va(t)}function ia(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=f}function na(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ra(t){return null!=t&&"object"==typeof t}var sa=we?Ze(we):function(t){return ra(t)&&ms(t)==S};function oa(t){return"number"==typeof t||ra(t)&&kn(t)==T}function aa(t){if(!ra(t)||kn(t)!=k)return!1;var e=Ht(t);if(null===e)return!0;var i=Ft.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&Ot.call(i)==jt}var la=be?Ze(be):function(t){return ra(t)&&kn(t)==M};var ca=Ce?Ze(Ce):function(t){return ra(t)&&ms(t)==I};function ua(t){return"string"==typeof t||!Ho(t)&&ra(t)&&kn(t)==L}function ha(t){return"symbol"==typeof t||ra(t)&&kn(t)==P}var da=Ee?Ze(Ee):function(t){return ra(t)&&ia(t.length)&&!!oe[kn(t)]};var pa=Ur(jn),fa=Ur((function(t,e){return t<=e}));function ga(t){if(!t)return[];if(Vo(t))return ua(t)?pi(t):Lr(t);if(te&&t[te])return function(t){for(var e,i=[];!(e=t.next()).done;)i.push(e.value);return i}(t[te]());var e=ms(t);return(e==S?ai:e==I?ui:Wa)(t)}function ma(t){return t?(t=ya(t))===p||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function va(t){var e=ma(t),i=e%1;return e==e?i?e-i:e:0}function _a(t){return t?cn(va(t),0,m):0}function ya(t){if("number"==typeof t)return t;if(ha(t))return g;if(na(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=na(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ke(t);var i=vt.test(t);return i||yt.test(t)?ue(t.slice(2),i?2:8):mt.test(t)?g:+t}function xa(t){return Pr(t,Oa(t))}function wa(t){return null==t?"":hr(t)}var ba=Dr((function(t,e){if(Ss(e)||Vo(e))Pr(e,Da(e),t);else for(var i in e)Ft.call(e,i)&&nn(t,i,e[i])})),Ca=Dr((function(t,e){Pr(e,Oa(e),t)})),Ea=Dr((function(t,e,i,n){Pr(e,Oa(e),t,n)})),Sa=Dr((function(t,e,i,n){Pr(e,Da(e),t,n)})),Ta=rs(ln);var ka=Jn((function(t,e){t=kt(t);var i=-1,n=e.length,s=n>2?e[2]:r;for(s&&ws(e[0],e[1],s)&&(n=1);++i<n;)for(var o=e[i],a=Oa(o),l=-1,c=a.length;++l<c;){var u=a[l],h=t[u];(h===r||Wo(h,Rt[u])&&!Ft.call(t,u))&&(t[u]=o[u])}return t})),Aa=Jn((function(t){return t.push(r,es),Se(za,r,t)}));function Ma(t,e,i){var n=null==t?r:Sn(t,e);return n===r?i:n}function Ia(t,e){return null!=t&&vs(t,e,In)}var La=Wr((function(t,e,i){null!=e&&"function"!=typeof e.toString&&(e=Nt.call(e)),t[e]=i}),nl(ol)),Pa=Wr((function(t,e,i){null!=e&&"function"!=typeof e.toString&&(e=Nt.call(e)),Ft.call(t,e)?t[e].push(i):t[e]=[i]}),us),Ra=Jn(Pn);function Da(t){return Vo(t)?Zi(t):$n(t)}function Oa(t){return Vo(t)?Zi(t,!0):Nn(t)}var Fa=Dr((function(t,e,i){qn(t,e,i)})),za=Dr((function(t,e,i,n){qn(t,e,i,n)})),$a=rs((function(t,e){var i={};if(null==t)return i;var n=!1;e=Re(e,(function(e){return e=wr(e,t),n||(n=e.length>1),e})),Pr(t,os(t),i),n&&(i=un(i,7,is));for(var r=e.length;r--;)pr(i,e[r]);return i}));var Na=rs((function(t,e){return null==t?{}:function(t,e){return Hn(t,e,(function(e,i){return Ia(t,i)}))}(t,e)}));function ja(t,e){if(null==t)return{};var i=Re(os(t),(function(t){return[t]}));return e=us(e),Hn(t,i,(function(t,i){return e(t,i[0])}))}var Ba=Jr(Da),Ga=Jr(Oa);function Wa(t){return null==t?[]:Je(t,Da(t))}var qa=$r((function(t,e,i){return e=e.toLowerCase(),t+(i?Ya(e):e)}));function Ya(t){return Qa(wa(t).toLowerCase())}function Xa(t){return(t=wa(t))&&t.replace(wt,ni).replace(Qt,"")}var Ha=$r((function(t,e,i){return t+(i?"-":"")+e.toLowerCase()})),Ua=$r((function(t,e,i){return t+(i?" ":"")+e.toLowerCase()})),Va=zr("toLowerCase");var Ka=$r((function(t,e,i){return t+(i?"_":"")+e.toLowerCase()}));var Za=$r((function(t,e,i){return t+(i?" ":"")+Qa(e)}));var Ja=$r((function(t,e,i){return t+(i?" ":"")+e.toUpperCase()})),Qa=zr("toUpperCase");function tl(t,e,i){return t=wa(t),(e=i?r:e)===r?function(t){return ne.test(t)}(t)?function(t){return t.match(ee)||[]}(t):function(t){return t.match(ht)||[]}(t):t.match(e)||[]}var el=Jn((function(t,e){try{return Se(t,r,e)}catch(t){return Qo(t)?t:new Et(t)}})),il=rs((function(t,e){return ke(e,(function(e){e=Ns(e),an(t,e,Po(t[e],t))})),t}));function nl(t){return function(){return t}}var rl=Br(),sl=Br(!0);function ol(t){return t}function al(t){return zn("function"==typeof t?t:un(t,1))}var ll=Jn((function(t,e){return function(i){return Pn(i,t,e)}})),cl=Jn((function(t,e){return function(i){return Pn(t,i,e)}}));function ul(t,e,i){var n=Da(e),r=En(e,n);null!=i||na(e)&&(r.length||!n.length)||(i=e,e=t,t=this,r=En(e,Da(e)));var s=!(na(i)&&"chain"in i&&!i.chain),o=ta(t);return ke(r,(function(i){var n=e[i];t[i]=n,o&&(t.prototype[i]=function(){var e=this.__chain__;if(s||e){var i=t(this.__wrapped__),r=i.__actions__=Lr(this.__actions__);return r.push({func:n,args:arguments,thisArg:t}),i.__chain__=e,i}return n.apply(t,De([this.value()],arguments))})})),t}function hl(){}var dl=Yr(Re),pl=Yr(Me),fl=Yr(ze);function gl(t){return bs(t)?Ye(Ns(t)):function(t){return function(e){return Sn(e,t)}}(t)}var ml=Hr(),vl=Hr(!0);function _l(){return[]}function yl(){return!1}var xl=qr((function(t,e){return t+e}),0),wl=Kr("ceil"),bl=qr((function(t,e){return t/e}),1),Cl=Kr("floor");var El,Sl=qr((function(t,e){return t*e}),1),Tl=Kr("round"),kl=qr((function(t,e){return t-e}),0);return Bi.after=function(t,e){if("function"!=typeof e)throw new It(s);return t=va(t),function(){if(--t<1)return e.apply(this,arguments)}},Bi.ary=Io,Bi.assign=ba,Bi.assignIn=Ca,Bi.assignInWith=Ea,Bi.assignWith=Sa,Bi.at=Ta,Bi.before=Lo,Bi.bind=Po,Bi.bindAll=il,Bi.bindKey=Ro,Bi.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ho(t)?t:[t]},Bi.chain=go,Bi.chunk=function(t,e,i){e=(i?ws(t,e,i):e===r)?1:yi(va(e),0);var s=null==t?0:t.length;if(!s||e<1)return[];for(var o=0,a=0,l=n(ge(s/e));o<s;)l[a++]=sr(t,o,o+=e);return l},Bi.compact=function(t){for(var e=-1,i=null==t?0:t.length,n=0,r=[];++e<i;){var s=t[e];s&&(r[n++]=s)}return r},Bi.concat=function(){var t=arguments.length;if(!t)return[];for(var e=n(t-1),i=arguments[0],r=t;r--;)e[r-1]=arguments[r];return De(Ho(i)?Lr(i):[i],yn(e,1))},Bi.cond=function(t){var e=null==t?0:t.length,i=us();return t=e?Re(t,(function(t){if("function"!=typeof t[1])throw new It(s);return[i(t[0]),t[1]]})):[],Jn((function(i){for(var n=-1;++n<e;){var r=t[n];if(Se(r[0],this,i))return Se(r[1],this,i)}}))},Bi.conforms=function(t){return function(t){var e=Da(t);return function(i){return hn(i,t,e)}}(un(t,1))},Bi.constant=nl,Bi.countBy=_o,Bi.create=function(t,e){var i=Gi(t);return null==e?i:on(i,e)},Bi.curry=function t(e,i,n){var s=Qr(e,8,r,r,r,r,r,i=n?r:i);return s.placeholder=t.placeholder,s},Bi.curryRight=function t(e,i,n){var s=Qr(e,l,r,r,r,r,r,i=n?r:i);return s.placeholder=t.placeholder,s},Bi.debounce=Do,Bi.defaults=ka,Bi.defaultsDeep=Aa,Bi.defer=Oo,Bi.delay=Fo,Bi.difference=Gs,Bi.differenceBy=Ws,Bi.differenceWith=qs,Bi.drop=function(t,e,i){var n=null==t?0:t.length;return n?sr(t,(e=i||e===r?1:va(e))<0?0:e,n):[]},Bi.dropRight=function(t,e,i){var n=null==t?0:t.length;return n?sr(t,0,(e=n-(e=i||e===r?1:va(e)))<0?0:e):[]},Bi.dropRightWhile=function(t,e){return t&&t.length?gr(t,us(e,3),!0,!0):[]},Bi.dropWhile=function(t,e){return t&&t.length?gr(t,us(e,3),!0):[]},Bi.fill=function(t,e,i,n){var s=null==t?0:t.length;return s?(i&&"number"!=typeof i&&ws(t,e,i)&&(i=0,n=s),function(t,e,i,n){var s=t.length;for((i=va(i))<0&&(i=-i>s?0:s+i),(n=n===r||n>s?s:va(n))<0&&(n+=s),n=i>n?0:_a(n);i<n;)t[i++]=e;return t}(t,e,i,n)):[]},Bi.filter=function(t,e){return(Ho(t)?Ie:_n)(t,us(e,3))},Bi.flatMap=function(t,e){return yn(To(t,e),1)},Bi.flatMapDeep=function(t,e){return yn(To(t,e),p)},Bi.flatMapDepth=function(t,e,i){return i=i===r?1:va(i),yn(To(t,e),i)},Bi.flatten=Hs,Bi.flattenDeep=function(t){return(null==t?0:t.length)?yn(t,p):[]},Bi.flattenDepth=function(t,e){return(null==t?0:t.length)?yn(t,e=e===r?1:va(e)):[]},Bi.flip=function(t){return Qr(t,512)},Bi.flow=rl,Bi.flowRight=sl,Bi.fromPairs=function(t){for(var e=-1,i=null==t?0:t.length,n={};++e<i;){var r=t[e];n[r[0]]=r[1]}return n},Bi.functions=function(t){return null==t?[]:En(t,Da(t))},Bi.functionsIn=function(t){return null==t?[]:En(t,Oa(t))},Bi.groupBy=Co,Bi.initial=function(t){return(null==t?0:t.length)?sr(t,0,-1):[]},Bi.intersection=Vs,Bi.intersectionBy=Ks,Bi.intersectionWith=Zs,Bi.invert=La,Bi.invertBy=Pa,Bi.invokeMap=Eo,Bi.iteratee=al,Bi.keyBy=So,Bi.keys=Da,Bi.keysIn=Oa,Bi.map=To,Bi.mapKeys=function(t,e){var i={};return e=us(e,3),bn(t,(function(t,n,r){an(i,e(t,n,r),t)})),i},Bi.mapValues=function(t,e){var i={};return e=us(e,3),bn(t,(function(t,n,r){an(i,n,e(t,n,r))})),i},Bi.matches=function(t){return Gn(un(t,1))},Bi.matchesProperty=function(t,e){return Wn(t,un(e,1))},Bi.memoize=zo,Bi.merge=Fa,Bi.mergeWith=za,Bi.method=ll,Bi.methodOf=cl,Bi.mixin=ul,Bi.negate=$o,Bi.nthArg=function(t){return t=va(t),Jn((function(e){return Yn(e,t)}))},Bi.omit=$a,Bi.omitBy=function(t,e){return ja(t,$o(us(e)))},Bi.once=function(t){return Lo(2,t)},Bi.orderBy=function(t,e,i,n){return null==t?[]:(Ho(e)||(e=null==e?[]:[e]),Ho(i=n?r:i)||(i=null==i?[]:[i]),Xn(t,e,i))},Bi.over=dl,Bi.overArgs=No,Bi.overEvery=pl,Bi.overSome=fl,Bi.partial=jo,Bi.partialRight=Bo,Bi.partition=ko,Bi.pick=Na,Bi.pickBy=ja,Bi.property=gl,Bi.propertyOf=function(t){return function(e){return null==t?r:Sn(t,e)}},Bi.pull=Qs,Bi.pullAll=to,Bi.pullAllBy=function(t,e,i){return t&&t.length&&e&&e.length?Un(t,e,us(i,2)):t},Bi.pullAllWith=function(t,e,i){return t&&t.length&&e&&e.length?Un(t,e,r,i):t},Bi.pullAt=eo,Bi.range=ml,Bi.rangeRight=vl,Bi.rearg=Go,Bi.reject=function(t,e){return(Ho(t)?Ie:_n)(t,$o(us(e,3)))},Bi.remove=function(t,e){var i=[];if(!t||!t.length)return i;var n=-1,r=[],s=t.length;for(e=us(e,3);++n<s;){var o=t[n];e(o,n,t)&&(i.push(o),r.push(n))}return Vn(t,r),i},Bi.rest=function(t,e){if("function"!=typeof t)throw new It(s);return Jn(t,e=e===r?e:va(e))}
vendor: 8,603 bytes, line 2
2,Bi.reverse=io,Bi.sampleSize=function(t,e,i){return e=(i?ws(t,e,i):e===r)?1:va(e),(Ho(t)?Qi:tr)(t,e)},Bi.set=function(t,e,i){return null==t?t:er(t,e,i)},Bi.setWith=function(t,e,i,n){return n="function"==typeof n?n:r,null==t?t:er(t,e,i,n)},Bi.shuffle=function(t){return(Ho(t)?tn:rr)(t)},Bi.slice=function(t,e,i){var n=null==t?0:t.length;return n?(i&&"number"!=typeof i&&ws(t,e,i)?(e=0,i=n):(e=null==e?0:va(e),i=i===r?n:va(i)),sr(t,e,i)):[]},Bi.sortBy=Ao,Bi.sortedUniq=function(t){return t&&t.length?cr(t):[]},Bi.sortedUniqBy=function(t,e){return t&&t.length?cr(t,us(e,2)):[]},Bi.split=function(t,e,i){return i&&"number"!=typeof i&&ws(t,e,i)&&(e=i=r),(i=i===r?m:i>>>0)?(t=wa(t))&&("string"==typeof e||null!=e&&!la(e))&&!(e=hr(e))&&oi(t)?Cr(pi(t),0,i):t.split(e,i):[]},Bi.spread=function(t,e){if("function"!=typeof t)throw new It(s);return e=null==e?0:yi(va(e),0),Jn((function(i){var n=i[e],r=Cr(i,0,e);return n&&De(r,n),Se(t,this,r)}))},Bi.tail=function(t){var e=null==t?0:t.length;return e?sr(t,1,e):[]},Bi.take=function(t,e,i){return t&&t.length?sr(t,0,(e=i||e===r?1:va(e))<0?0:e):[]},Bi.takeRight=function(t,e,i){var n=null==t?0:t.length;return n?sr(t,(e=n-(e=i||e===r?1:va(e)))<0?0:e,n):[]},Bi.takeRightWhile=function(t,e){return t&&t.length?gr(t,us(e,3),!1,!0):[]},Bi.takeWhile=function(t,e){return t&&t.length?gr(t,us(e,3)):[]},Bi.tap=function(t,e){return e(t),t},Bi.throttle=function(t,e,i){var n=!0,r=!0;if("function"!=typeof t)throw new It(s);return na(i)&&(n="leading"in i?!!i.leading:n,r="trailing"in i?!!i.trailing:r),Do(t,e,{leading:n,maxWait:e,trailing:r})},Bi.thru=mo,Bi.toArray=ga,Bi.toPairs=Ba,Bi.toPairsIn=Ga,Bi.toPath=function(t){return Ho(t)?Re(t,Ns):ha(t)?[t]:Lr($s(wa(t)))},Bi.toPlainObject=xa,Bi.transform=function(t,e,i){var n=Ho(t),r=n||Zo(t)||da(t);if(e=us(e,4),null==i){var s=t&&t.constructor;i=r?n?new s:[]:na(t)&&ta(s)?Gi(Ht(t)):{}}return(r?ke:bn)(t,(function(t,n,r){return e(i,t,n,r)})),i},Bi.unary=function(t){return Io(t,1)},Bi.union=no,Bi.unionBy=ro,Bi.unionWith=so,Bi.uniq=function(t){return t&&t.length?dr(t):[]},Bi.uniqBy=function(t,e){return t&&t.length?dr(t,us(e,2)):[]},Bi.uniqWith=function(t,e){return e="function"==typeof e?e:r,t&&t.length?dr(t,r,e):[]},Bi.unset=function(t,e){return null==t||pr(t,e)},Bi.unzip=oo,Bi.unzipWith=ao,Bi.update=function(t,e,i){return null==t?t:fr(t,e,xr(i))},Bi.updateWith=function(t,e,i,n){return n="function"==typeof n?n:r,null==t?t:fr(t,e,xr(i),n)},Bi.values=Wa,Bi.valuesIn=function(t){return null==t?[]:Je(t,Oa(t))},Bi.without=lo,Bi.words=tl,Bi.wrap=function(t,e){return jo(xr(e),t)},Bi.xor=co,Bi.xorBy=uo,Bi.xorWith=ho,Bi.zip=po,Bi.zipObject=function(t,e){return _r(t||[],e||[],nn)},Bi.zipObjectDeep=function(t,e){return _r(t||[],e||[],er)},Bi.zipWith=fo,Bi.entries=Ba,Bi.entriesIn=Ga,Bi.extend=Ca,Bi.extendWith=Ea,ul(Bi,Bi),Bi.add=xl,Bi.attempt=el,Bi.camelCase=qa,Bi.capitalize=Ya,Bi.ceil=wl,Bi.clamp=function(t,e,i){return i===r&&(i=e,e=r),i!==r&&(i=(i=ya(i))==i?i:0),e!==r&&(e=(e=ya(e))==e?e:0),cn(ya(t),e,i)},Bi.clone=function(t){return un(t,4)},Bi.cloneDeep=function(t){return un(t,5)},Bi.cloneDeepWith=function(t,e){return un(t,5,e="function"==typeof e?e:r)},Bi.cloneWith=function(t,e){return un(t,4,e="function"==typeof e?e:r)},Bi.conformsTo=function(t,e){return null==e||hn(t,e,Da(e))},Bi.deburr=Xa,Bi.defaultTo=function(t,e){return null==t||t!=t?e:t},Bi.divide=bl,Bi.endsWith=function(t,e,i){t=wa(t),e=hr(e);var n=t.length,s=i=i===r?n:cn(va(i),0,n);return(i-=e.length)>=0&&t.slice(i,s)==e},Bi.eq=Wo,Bi.escape=function(t){return(t=wa(t))&&Z.test(t)?t.replace(V,ri):t},Bi.escapeRegExp=function(t){return(t=wa(t))&&st.test(t)?t.replace(rt,"\\$&"):t},Bi.every=function(t,e,i){var n=Ho(t)?Me:mn;return i&&ws(t,e,i)&&(e=r),n(t,us(e,3))},Bi.find=yo,Bi.findIndex=Ys,Bi.findKey=function(t,e){return Ne(t,us(e,3),bn)},Bi.findLast=xo,Bi.findLastIndex=Xs,Bi.findLastKey=function(t,e){return Ne(t,us(e,3),Cn)},Bi.floor=Cl,Bi.forEach=wo,Bi.forEachRight=bo,Bi.forIn=function(t,e){return null==t?t:xn(t,us(e,3),Oa)},Bi.forInRight=function(t,e){return null==t?t:wn(t,us(e,3),Oa)},Bi.forOwn=function(t,e){return t&&bn(t,us(e,3))},Bi.forOwnRight=function(t,e){return t&&Cn(t,us(e,3))},Bi.get=Ma,Bi.gt=qo,Bi.gte=Yo,Bi.has=function(t,e){return null!=t&&vs(t,e,Mn)},Bi.hasIn=Ia,Bi.head=Us,Bi.identity=ol,Bi.includes=function(t,e,i,n){t=Vo(t)?t:Wa(t),i=i&&!n?va(i):0;var r=t.length;return i<0&&(i=yi(r+i,0)),ua(t)?i<=r&&t.indexOf(e,i)>-1:!!r&&Be(t,e,i)>-1},Bi.indexOf=function(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var r=null==i?0:va(i);return r<0&&(r=yi(n+r,0)),Be(t,e,r)},Bi.inRange=function(t,e,i){return e=ma(e),i===r?(i=e,e=0):i=ma(i),function(t,e,i){return t>=xi(e,i)&&t<yi(e,i)}(t=ya(t),e,i)},Bi.invoke=Ra,Bi.isArguments=Xo,Bi.isArray=Ho,Bi.isArrayBuffer=Uo,Bi.isArrayLike=Vo,Bi.isArrayLikeObject=Ko,Bi.isBoolean=function(t){return!0===t||!1===t||ra(t)&&kn(t)==x},Bi.isBuffer=Zo,Bi.isDate=Jo,Bi.isElement=function(t){return ra(t)&&1===t.nodeType&&!aa(t)},Bi.isEmpty=function(t){if(null==t)return!0;if(Vo(t)&&(Ho(t)||"string"==typeof t||"function"==typeof t.splice||Zo(t)||da(t)||Xo(t)))return!t.length;var e=ms(t);if(e==S||e==I)return!t.size;if(Ss(t))return!$n(t).length;for(var i in t)if(Ft.call(t,i))return!1;return!0},Bi.isEqual=function(t,e){return Dn(t,e)},Bi.isEqualWith=function(t,e,i){var n=(i="function"==typeof i?i:r)?i(t,e):r;return n===r?Dn(t,e,r,i):!!n},Bi.isError=Qo,Bi.isFinite=function(t){return"number"==typeof t&&Xe(t)},Bi.isFunction=ta,Bi.isInteger=ea,Bi.isLength=ia,Bi.isMap=sa,Bi.isMatch=function(t,e){return t===e||On(t,e,ds(e))},Bi.isMatchWith=function(t,e,i){return i="function"==typeof i?i:r,On(t,e,ds(e),i)},Bi.isNaN=function(t){return oa(t)&&t!=+t},Bi.isNative=function(t){if(Es(t))throw new Et("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Fn(t)},Bi.isNil=function(t){return null==t},Bi.isNull=function(t){return null===t},Bi.isNumber=oa,Bi.isObject=na,Bi.isObjectLike=ra,Bi.isPlainObject=aa,Bi.isRegExp=la,Bi.isSafeInteger=function(t){return ea(t)&&t>=-9007199254740991&&t<=f},Bi.isSet=ca,Bi.isString=ua,Bi.isSymbol=ha,Bi.isTypedArray=da,Bi.isUndefined=function(t){return t===r},Bi.isWeakMap=function(t){return ra(t)&&ms(t)==R},Bi.isWeakSet=function(t){return ra(t)&&"[object WeakSet]"==kn(t)},Bi.join=function(t,e){return null==t?"":vi.call(t,e)},Bi.kebabCase=Ha,Bi.last=Js,Bi.lastIndexOf=function(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var s=n;return i!==r&&(s=(s=va(i))<0?yi(n+s,0):xi(s,n-1)),e==e?function(t,e,i){for(var n=i+1;n--;)if(t[n]===e)return n;return n}(t,e,s):je(t,We,s,!0)},Bi.lowerCase=Ua,Bi.lowerFirst=Va,Bi.lt=pa,Bi.lte=fa,Bi.max=function(t){return t&&t.length?vn(t,ol,An):r},Bi.maxBy=function(t,e){return t&&t.length?vn(t,us(e,2),An):r},Bi.mean=function(t){return qe(t,ol)},Bi.meanBy=function(t,e){return qe(t,us(e,2))},Bi.min=function(t){return t&&t.length?vn(t,ol,jn):r},Bi.minBy=function(t,e){return t&&t.length?vn(t,us(e,2),jn):r},Bi.stubArray=_l,Bi.stubFalse=yl,Bi.stubObject=function(){return{}},Bi.stubString=function(){return""},Bi.stubTrue=function(){return!0},Bi.multiply=Sl,Bi.nth=function(t,e){return t&&t.length?Yn(t,va(e)):r},Bi.noConflict=function(){return pe._===this&&(pe._=Bt),this},Bi.noop=hl,Bi.now=Mo,Bi.pad=function(t,e,i){t=wa(t);var n=(e=va(e))?di(t):0;if(!e||n>=e)return t;var r=(e-n)/2;return Xr(ve(r),i)+t+Xr(ge(r),i)},Bi.padEnd=function(t,e,i){t=wa(t);var n=(e=va(e))?di(t):0;return e&&n<e?t+Xr(e-n,i):t},Bi.padStart=function(t,e,i){t=wa(t);var n=(e=va(e))?di(t):0;return e&&n<e?Xr(e-n,i)+t:t},Bi.parseInt=function(t,e,i){return i||null==e?e=0:e&&(e=+e),bi(wa(t).replace(ot,""),e||0)},Bi.random=function(t,e,i){if(i&&"boolean"!=typeof i&&ws(t,e,i)&&(e=i=r),i===r&&("boolean"==typeof e?(i=e,e=r):"boolean"==typeof t&&(i=t,t=r)),t===r&&e===r?(t=0,e=1):(t=ma(t),e===r?(e=t,t=0):e=ma(e)),t>e){var n=t;t=e,e=n}if(i||t%1||e%1){var s=Ci();return xi(t+s*(e-t+ce("1e-"+((s+"").length-1))),e)}return Kn(t,e)},Bi.reduce=function(t,e,i){var n=Ho(t)?Oe:He,r=arguments.length<3;return n(t,us(e,4),i,r,fn)},Bi.reduceRight=function(t,e,i){var n=Ho(t)?Fe:He,r=arguments.length<3;return n(t,us(e,4),i,r,gn)},Bi.repeat=function(t,e,i){return e=(i?ws(t,e,i):e===r)?1:va(e),Zn(wa(t),e)},Bi.replace=function(){var t=arguments,e=wa(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Bi.result=function(t,e,i){var n=-1,s=(e=wr(e,t)).length;for(s||(s=1,t=r);++n<s;){var o=null==t?r:t[Ns(e[n])];o===r&&(n=s,o=i),t=ta(o)?o.call(t):o}return t},Bi.round=Tl,Bi.runInContext=t,Bi.sample=function(t){return(Ho(t)?Ji:Qn)(t)},Bi.size=function(t){if(null==t)return 0;if(Vo(t))return ua(t)?di(t):t.length;var e=ms(t);return e==S||e==I?t.size:$n(t).length}
vendor: 3,147 bytes, line 2
2,Bi.snakeCase=Ka,Bi.some=function(t,e,i){var n=Ho(t)?ze:or;return i&&ws(t,e,i)&&(e=r),n(t,us(e,3))},Bi.sortedIndex=function(t,e){return ar(t,e)},Bi.sortedIndexBy=function(t,e,i){return lr(t,e,us(i,2))},Bi.sortedIndexOf=function(t,e){var i=null==t?0:t.length;if(i){var n=ar(t,e);if(n<i&&Wo(t[n],e))return n}return-1},Bi.sortedLastIndex=function(t,e){return ar(t,e,!0)},Bi.sortedLastIndexBy=function(t,e,i){return lr(t,e,us(i,2),!0)},Bi.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var i=ar(t,e,!0)-1;if(Wo(t[i],e))return i}return-1},Bi.startCase=Za,Bi.startsWith=function(t,e,i){return t=wa(t),i=null==i?0:cn(va(i),0,t.length),e=hr(e),t.slice(i,i+e.length)==e},Bi.subtract=kl,Bi.sum=function(t){return t&&t.length?Ue(t,ol):0},Bi.sumBy=function(t,e){return t&&t.length?Ue(t,us(e,2)):0},Bi.template=function(t,e,i){var n=Bi.templateSettings;i&&ws(t,e,i)&&(e=r),t=wa(t),e=Ea({},e,n,ts);var s,o,a=Ea({},e.imports,n.imports,ts),l=Da(a),c=Je(a,l),u=0,h=e.interpolate||bt,d="__p += '",p=At((e.escape||bt).source+"|"+h.source+"|"+(h===tt?ft:bt).source+"|"+(e.evaluate||bt).source+"|$","g"),f="//# sourceURL="+(Ft.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++se+"]")+"\n";t.replace(p,(function(e,i,n,r,a,l){return n||(n=r),d+=t.slice(u,l).replace(Ct,si),i&&(s=!0,d+="' +\n__e("+i+") +\n'"),a&&(o=!0,d+="';\n"+a+";\n__p += '"),n&&(d+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=l+e.length,e})),d+="';\n";var g=Ft.call(e,"variable")&&e.variable;if(g){if(dt.test(g))throw new Et("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(o?d.replace(Y,""):d).replace(X,"$1").replace(H,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=el((function(){return St(l,f+"return "+d).apply(r,c)}));if(m.source=d,Qo(m))throw m;return m},Bi.times=function(t,e){if((t=va(t))<1||t>f)return[];var i=m,n=xi(t,m);e=us(e),t-=m;for(var r=Ve(n,e);++i<t;)e(i);return r},Bi.toFinite=ma,Bi.toInteger=va,Bi.toLength=_a,Bi.toLower=function(t){return wa(t).toLowerCase()},Bi.toNumber=ya,Bi.toSafeInteger=function(t){return t?cn(va(t),-9007199254740991,f):0===t?t:0},Bi.toString=wa,Bi.toUpper=function(t){return wa(t).toUpperCase()},Bi.trim=function(t,e,i){if((t=wa(t))&&(i||e===r))return Ke(t);if(!t||!(e=hr(e)))return t;var n=pi(t),s=pi(e);return Cr(n,ti(n,s),ei(n,s)+1).join("")},Bi.trimEnd=function(t,e,i){if((t=wa(t))&&(i||e===r))return t.slice(0,fi(t)+1);if(!t||!(e=hr(e)))return t;var n=pi(t);return Cr(n,0,ei(n,pi(e))+1).join("")},Bi.trimStart=function(t,e,i){if((t=wa(t))&&(i||e===r))return t.replace(ot,"");if(!t||!(e=hr(e)))return t;var n=pi(t);return Cr(n,ti(n,pi(e))).join("")},Bi.truncate=function(t,e){var i=30,n="...";if(na(e)){var s="separator"in e?e.separator:s;i="length"in e?va(e.length):i,n="omission"in e?hr(e.omission):n}var o=(t=wa(t)).length;if(oi(t)){var a=pi(t);o=a.length}if(i>=o)return t;var l=i-di(n);if(l<1)return n;var c=a?Cr(a,0,l).join(""):t.slice(0,l);if(s===r)return c+n;
vendor: 5,966 bytes, line 2
2if(a&&(l+=c.length-l),la(s)){if(t.slice(l).search(s)){var u,h=c;for(s.global||(s=At(s.source,wa(gt.exec(s))+"g")),s.lastIndex=0;u=s.exec(h);)var d=u.index;c=c.slice(0,d===r?l:d)}}else if(t.indexOf(hr(s),l)!=l){var p=c.lastIndexOf(s);p>-1&&(c=c.slice(0,p))}return c+n},Bi.unescape=function(t){return(t=wa(t))&&K.test(t)?t.replace(U,gi):t},Bi.uniqueId=function(t){var e=++zt;return wa(t)+e},Bi.upperCase=Ja,Bi.upperFirst=Qa,Bi.each=wo,Bi.eachRight=bo,Bi.first=Us,ul(Bi,(El={},bn(Bi,(function(t,e){Ft.call(Bi.prototype,e)||(El[e]=t)})),El),{chain:!1}),Bi.VERSION="4.17.21",ke(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Bi[t].placeholder=Bi})),ke(["drop","take"],(function(t,e){Yi.prototype[t]=function(i){i=i===r?1:yi(va(i),0);var n=this.__filtered__&&!e?new Yi(this):this.clone();return n.__filtered__?n.__takeCount__=xi(i,n.__takeCount__):n.__views__.push({size:xi(i,m),type:t+(n.__dir__<0?"Right":"")}),n},Yi.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),ke(["filter","map","takeWhile"],(function(t,e){var i=e+1,n=1==i||3==i;Yi.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:us(t,3),type:i}),e.__filtered__=e.__filtered__||n,e}})),ke(["head","last"],(function(t,e){var i="take"+(e?"Right":"");Yi.prototype[t]=function(){return this[i](1).value()[0]}})),ke(["initial","tail"],(function(t,e){var i="drop"+(e?"":"Right");Yi.prototype[t]=function(){return this.__filtered__?new Yi(this):this[i](1)}})),Yi.prototype.compact=function(){return this.filter(ol)},Yi.prototype.find=function(t){return this.filter(t).head()},Yi.prototype.findLast=function(t){return this.reverse().find(t)},Yi.prototype.invokeMap=Jn((function(t,e){return"function"==typeof t?new Yi(this):this.map((function(i){return Pn(i,t,e)}))})),Yi.prototype.reject=function(t){return this.filter($o(us(t)))},Yi.prototype.slice=function(t,e){t=va(t);var i=this;return i.__filtered__&&(t>0||e<0)?new Yi(i):(t<0?i=i.takeRight(-t):t&&(i=i.drop(t)),e!==r&&(i=(e=va(e))<0?i.dropRight(-e):i.take(e-t)),i)},Yi.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Yi.prototype.toArray=function(){return this.take(m)},bn(Yi.prototype,(function(t,e){var i=/^(?:filter|find|map|reject)|While$/.test(e),n=/^(?:head|last)$/.test(e),s=Bi[n?"take"+("last"==e?"Right":""):e],o=n||/^find/.test(e);s&&(Bi.prototype[e]=function(){var e=this.__wrapped__,a=n?[1]:arguments,l=e instanceof Yi,c=a[0],u=l||Ho(e),h=function(t){var e=s.apply(Bi,De([t],a));return n&&d?e[0]:e};u&&i&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,p=!!this.__actions__.length,f=o&&!d,g=l&&!p;if(!o&&u){e=g?e:new Yi(this);var m=t.apply(e,a);return m.__actions__.push({func:mo,args:[h],thisArg:r}),new qi(m,d)}return f&&g?t.apply(this,a):(m=this.thru(h),f?n?m.value()[0]:m.value():m)})})),ke(["pop","push","shift","sort","splice","unshift"],(function(t){var e=Lt[t],i=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",n=/^(?:pop|shift)$/.test(t);Bi.prototype[t]=function(){var t=arguments;if(n&&!this.__chain__){var r=this.value();return e.apply(Ho(r)?r:[],t)}return this[i]((function(i){return e.apply(Ho(i)?i:[],t)}))}})),bn(Yi.prototype,(function(t,e){var i=Bi[e];if(i){var n=i.name+"";Ft.call(Pi,n)||(Pi[n]=[]),Pi[n].push({name:e,func:i})}})),Pi[Gr(r,2).name]=[{name:"wrapper",func:r}],Yi.prototype.clone=function(){var t=new Yi(this.__wrapped__);return t.__actions__=Lr(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Lr(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Lr(this.__views__),t},Yi.prototype.reverse=function(){if(this.__filtered__){var t=new Yi(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Yi.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,i=Ho(t),n=e<0,r=i?t.length:0,s=function(t,e,i){var n=-1,r=i.length;for(;++n<r;){var s=i[n],o=s.size;switch(s.type){case"drop":t+=o;break;case"dropRight":e-=o;break;case"take":e=xi(e,t+o);break;case"takeRight":t=yi(t,e-o)}}return{start:t,end:e}}(0,r,this.__views__),o=s.start,a=s.end,l=a-o,c=n?a:o-1,u=this.__iteratees__,h=u.length,d=0,p=xi(l,this.__takeCount__);if(!i||!n&&r==l&&p==l)return mr(t,this.__actions__);var f=[];t:for(;l--&&d<p;){for(var g=-1,m=t[c+=e];++g<h;){var v=u[g],_=v.iteratee,y=v.type,x=_(m);if(2==y)m=x;else if(!x){if(1==y)continue t;break t}}f[d++]=m}return f},Bi.prototype.at=vo,Bi.prototype.chain=function(){return go(this)},Bi.prototype.commit=function(){return new qi(this.value(),this.__chain__)},Bi.prototype.next=function(){this.__values__===r&&(this.__values__=ga(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?r:this.__values__[this.__index__++]}},Bi.prototype.plant=function(t){for(var e,i=this;i instanceof Wi;){var n=Bs(i);n.__index__=0,n.__values__=r,e?s.__wrapped__=n:e=n;var s=n;i=i.__wrapped__}return s.__wrapped__=t,e},Bi.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Yi){var e=t;return this.__actions__.length&&(e=new Yi(this)),(e=e.reverse()).__actions__.push({func:mo,args:[io],thisArg:r}),new qi(e,this.__chain__)}return this.thru(io)},Bi.prototype.toJSON=Bi.prototype.valueOf=Bi.prototype.value=function(){return mr(this.__wrapped__,this.__actions__)},Bi.prototype.first=Bi.prototype.head,te&&(Bi.prototype[te]=function(){return this}),Bi}();pe._=mi,(n=function(){return mi}.call(e,i,e,t))===r||(t.exports=n)}.call(this)},425:()=>{},155:t=>{var e,i,n=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(t){if(e===setTimeout)return setTimeout(t,0);if((e===r||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(i){try{return e.call(null,t,0)}catch(i){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:r}catch(t){e=r}try{i="function"==typeof clearTimeout?clearTimeout:s}
vendor: 4,837 bytes, line 2
2catch(t){i=s}}();var a,l=[],c=!1,u=-1;function h(){c&&a&&(c=!1,a.length?l=a.concat(l):u=-1,l.length&&d())}function d(){if(!c){var t=o(h);c=!0;for(var e=l.length;e;){for(a=l,l=[];++u<e;)a&&a[u].run();u=-1,e=l.length}a=null,c=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function f(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];l.push(new p(t,e)),1!==l.length||c||o(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=f,n.addListener=f,n.once=f,n.off=f,n.removeListener=f,n.removeAllListeners=f,n.emit=f,n.prependListener=f,n.prependOnceListener=f,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},582:function(t){t.exports=function(){"use strict";function t(t,n,r,s,o){!function t(i,n,r,s,o){for(;s>r;){if(s-r>600){var a=s-r+1,l=n-r+1,c=Math.log(a),u=.5*Math.exp(2*c/3),h=.5*Math.sqrt(c*u*(a-u)/a)*(l-a/2<0?-1:1);t(i,n,Math.max(r,Math.floor(n-l*u/a+h)),Math.min(s,Math.floor(n+(a-l)*u/a+h)),o)}var d=i[n],p=r,f=s;for(e(i,r,n),o(i[s],d)>0&&e(i,r,s);p<f;){for(e(i,p,f),p++,f--;o(i[p],d)<0;)p++;for(;o(i[f],d)>0;)f--}0===o(i[r],d)?e(i,r,f):e(i,++f,s),f<=n&&(r=f+1),n<=f&&(s=f-1)}}(t,n,r||0,s||t.length-1,o||i)}function e(t,e,i){var n=t[e];t[e]=t[i],t[i]=n}function i(t,e){return t<e?-1:t>e?1:0}var n=function(t){void 0===t&&(t=9),this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function r(t,e,i){if(!i)return e.indexOf(t);for(var n=0;n<e.length;n++)if(i(t,e[n]))return n;return-1}function s(t,e){o(t,0,t.children.length,e,t)}function o(t,e,i,n,r){r||(r=f(null)),r.minX=1/0,r.minY=1/0,r.maxX=-1/0,r.maxY=-1/0;for(var s=e;s<i;s++){var o=t.children[s];a(r,t.leaf?n(o):o)}return r}function a(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function l(t,e){return t.minX-e.minX}function c(t,e){return t.minY-e.minY}function u(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function h(t){return t.maxX-t.minX+(t.maxY-t.minY)}function d(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function p(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function f(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function g(e,i,n,r,s){for(var o=[i,n];o.length;)if(!((n=o.pop())-(i=o.pop())<=r)){var a=i+Math.ceil((n-i)/r/2)*r;t(e,a,i,n,s),o.push(i,a,a,n)}}return n.prototype.all=function(){return this._all(this.data,[])},n.prototype.search=function(t){var e=this.data,i=[];if(!p(t,e))return i;for(var n=this.toBBox,r=[];e;){for(var s=0;s<e.children.length;s++){var o=e.children[s],a=e.leaf?n(o):o;p(t,a)&&(e.leaf?i.push(o):d(t,a)?this._all(o,i):r.push(o))}e=r.pop()}return i},n.prototype.collides=function(t){var e=this.data;if(!p(t,e))return!1;for(var i=[];e;){for(var n=0;n<e.children.length;n++){var r=e.children[n],s=e.leaf?this.toBBox(r):r;if(p(t,s)){if(e.leaf||d(t,s))return!0;i.push(r)}}e=i.pop()}return!1},n.prototype.load=function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0;e<t.length;e++)this.insert(t[e]);return this}var i=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===i.height)this._splitRoot(this.data,i);else{if(this.data.height<i.height){var n=this.data;this.data=i,i=n}this._insert(i,this.data.height-i.height-1,!0)}else this.data=i;return this},n.prototype.insert=function(t){return t&&this._insert(t,this.data.height-1),this},n.prototype.clear=function(){return this.data=f([]),this},n.prototype.remove=function(t,e){if(!t)return this;for(var i,n,s,o=this.data,a=this.toBBox(t),l=[],c=[];o||l.length;){if(o||(o=l.pop(),n=l[l.length-1],i=c.pop(),s=!0),o.leaf){var u=r(t,o.children,e);if(-1!==u)return o.children.splice(u,1),l.push(o),this._condense(l),this}s||o.leaf||!d(o,a)?n?(i++,o=n.children[i],s=!1):o=null:(l.push(o),c.push(i),i=0,n=o,o=o.children[0])}return this},n.prototype.toBBox=function(t){return t},n.prototype.compareMinX=function(t,e){return t.minX-e.minX},n.prototype.compareMinY=function(t,e){return t.minY-e.minY},n.prototype.toJSON=function(){return this.data},n.prototype.fromJSON=function(t){return this.data=t,this},n.prototype._all=function(t,e){for(var i=[];t;)t.leaf?e.push.apply(e,t.children):i.push.apply(i,t.children),t=i.pop();return e}
vendor: 4,153 bytes, line 2
2,n.prototype._build=function(t,e,i,n){var r,o=i-e+1,a=this._maxEntries;if(o<=a)return s(r=f(t.slice(e,i+1)),this.toBBox),r;n||(n=Math.ceil(Math.log(o)/Math.log(a)),a=Math.ceil(o/Math.pow(a,n-1))),(r=f([])).leaf=!1,r.height=n;var l=Math.ceil(o/a),c=l*Math.ceil(Math.sqrt(a));g(t,e,i,c,this.compareMinX);for(var u=e;u<=i;u+=c){var h=Math.min(u+c-1,i);g(t,u,h,l,this.compareMinY);for(var d=u;d<=h;d+=l){var p=Math.min(d+l-1,h);r.children.push(this._build(t,d,p,n-1))}}return s(r,this.toBBox),r},n.prototype._chooseSubtree=function(t,e,i,n){for(;n.push(e),!e.leaf&&n.length-1!==i;){for(var r=1/0,s=1/0,o=void 0,a=0;a<e.children.length;a++){var l=e.children[a],c=u(l),h=(d=t,p=l,(Math.max(p.maxX,d.maxX)-Math.min(p.minX,d.minX))*(Math.max(p.maxY,d.maxY)-Math.min(p.minY,d.minY))-c);h<s?(s=h,r=c<r?c:r,o=l):h===s&&c<r&&(r=c,o=l)}e=o||e.children[0]}var d,p;return e},n.prototype._insert=function(t,e,i){var n=i?t:this.toBBox(t),r=[],s=this._chooseSubtree(n,this.data,e,r);for(s.children.push(t),a(s,n);e>=0&&r[e].children.length>this._maxEntries;)this._split(r,e),e--;this._adjustParentBBoxes(n,r,e)},n.prototype._split=function(t,e){var i=t[e],n=i.children.length,r=this._minEntries;this._chooseSplitAxis(i,r,n);var o=this._chooseSplitIndex(i,r,n),a=f(i.children.splice(o,i.children.length-o));a.height=i.height,a.leaf=i.leaf,s(i,this.toBBox),s(a,this.toBBox),e?t[e-1].children.push(a):this._splitRoot(i,a)},n.prototype._splitRoot=function(t,e){this.data=f([t,e]),this.data.height=t.height+1,this.data.leaf=!1,s(this.data,this.toBBox)},n.prototype._chooseSplitIndex=function(t,e,i){for(var n,r,s,a,l,c,h,d=1/0,p=1/0,f=e;f<=i-e;f++){var g=o(t,0,f,this.toBBox),m=o(t,f,i,this.toBBox),v=(r=g,s=m,a=void 0,l=void 0,c=void 0,h=void 0,a=Math.max(r.minX,s.minX),l=Math.max(r.minY,s.minY),c=Math.min(r.maxX,s.maxX),h=Math.min(r.maxY,s.maxY),Math.max(0,c-a)*Math.max(0,h-l)),_=u(g)+u(m);v<d?(d=v,n=f,p=_<p?_:p):v===d&&_<p&&(p=_,n=f)}return n||i-e},n.prototype._chooseSplitAxis=function(t,e,i){var n=t.leaf?this.compareMinX:l,r=t.leaf?this.compareMinY:c;this._allDistMargin(t,e,i,n)<this._allDistMargin(t,e,i,r)&&t.children.sort(n)},n.prototype._allDistMargin=function(t,e,i,n){t.children.sort(n);for(var r=this.toBBox,s=o(t,0,e,r),l=o(t,i-e,i,r),c=h(s)+h(l),u=e;u<i-e;u++){var d=t.children[u];a(s,t.leaf?r(d):d),c+=h(s)}for(var p=i-e-1;p>=e;p--){var f=t.children[p];a(l,t.leaf?r(f):f),c+=h(l)}return c},n.prototype._adjustParentBBoxes=function(t,e,i){for(var n=i;n>=0;n--)a(e[n],t)},n.prototype._condense=function(t){for(var e=t.length-1,i=void 0;e>=0;e--)0===t[e].children.length?e>0?(i=t[e-1].children).splice(i.indexOf(t[e]),1):this.clear():s(t[e],this.toBBox)},n}()},379:(t,e,i)=>{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},s=function(){var t={};return function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}t[e]=i}return t[e]}}(),o=[];function a(t){for(var e=-1,i=0;i<o.length;i++)if(o[i].identifier===t){e=i;break}return e}function l(t,e){for(var i={},n=[],r=0;r<t.length;r++){var s=t[r],l=e.base?s[0]+e.base:s[0],c=i[l]||0,u="".concat(l," ").concat(c);i[l]=c+1;var h=a(u),d={css:s[1],media:s[2],sourceMap:s[3]};-1!==h?(o[h].references++,o[h].updater(d)):o.push({identifier:u,updater:m(d,e),references:1}),n.push(u)}return n}function c(t){var e=document.createElement("style"),n=t.attributes||{};if(void 0===n.nonce){var r=i.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(t){e.setAttribute(t,n[t])})),"function"==typeof t.insert)t.insert(e);else{var o=s(t.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(e)}return e}var u,h=(u=[],function(t,e){return u[t]=e,u.filter(Boolean).join("\n")});function d(t,e,i,n){var r=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(t.styleSheet)t.styleSheet.cssText=h(e,r);else{var s=document.createTextNode(r),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(s,o[e]):t.appendChild(s)}}
2function p(t,e,i){var n=i.css,r=i.media,s=i.sourceMap;if(r?t.setAttribute("media",r):t.removeAttribute("media"),s&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var f=null,g=0;function m(t,e){var i,n,r;if(e.singleton){var s=g++;i=f||(f=c(e)),n=d.bind(null,i,s,!1),r=d.bind(null,i,s,!0)}else i=c(e),n=p.bind(null,i,e),r=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(i)};return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=r());var i=l(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var n=0;n<i.length;n++){var r=a(i[n]);o[r].references--}for(var s=l(t,e),c=0;c<i.length;c++){var u=a(i[c]);0===o[u].references&&(o[u].updater(),o.splice(u,1))}i=s}}}},593:t=>{"use strict";t.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')}},i={};function n(t){var r=i[t];if(void 0!==r)return r.exports;var s=i[t]={id:t,loaded:!1,exports:{}};return e[t].call(s.exports,s,s.exports,n),s.loaded=!0,s.exports}n.m=e,t=[],n.O=(e,i,r,s)=>{if(!i){var o=1/0;for(u=0;u<t.length;u++){for(var[i,r,s]=t[u],a=!0,l=0;l<i.length;l++)(!1&s||o>=s)&&Object.keys(n.O).every((t=>n.O[t](i[l])))?i.splice(l--,1):(a=!1,s<o&&(o=s));if(a){t.splice(u--,1);var c=r();void 0!==c&&(e=c)}}return e}s=s||0;for(var u=t.length;u>0&&t[u-1][2]>s;u--)t[u]=t[u-1];t[u]=[i,r,s]},n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{var t={773:0,170:0};n.O.j=e=>0===t[e];var e=(e,i)=>{var r,s,[o,a,l]=i,c=0;if(o.some((e=>0!==t[e]))){for(r in a)n.o(a,r)&&(n.m[r]=a[r]);if(l)var u=l(n)}for(e&&e(i);c<o.length;c++)s=o[c],n.o(t,s)&&t[s]&&t[s][0](),t[s]=0;return n.O(u)},i=self.webpackChunk=self.webpackChunk||[];
2i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})(),n.nc=void 0,n.O(void 0,[170],(()=>n(136)));var r=n.O(void 0,[170],(()=>n(425)));r=n.O(r)})();

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.