@cosmicds/vue-toolkit 0.2.3 โ 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.common.js +2423 -2131
- package/dist/index.common.js.map +1 -1
- package/dist/index.umd.js +2423 -2131
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +3 -3
- package/dist/index.umd.min.js.map +1 -1
- package/dist/src/components/UserExperience.vue.d.ts +3 -0
- package/dist/src/index.d.ts +3 -2
- package/dist/src/utils.d.ts +9 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/index.ts +8 -2
- package/src/utils.ts +44 -0
package/dist/index.umd.min.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue"),require("@wwtelescope/engine")):"function"===typeof define&&define.amd?define([,"@wwtelescope/engine"],e):"object"===typeof exports?exports["index"]=e(require("vue"),require("@wwtelescope/engine")):t["index"]=e(t["Vue"],t["wwtlib"])})("undefined"!==typeof self?self:this,((t,e)=>(()=>{var n={883:function(t,e,n){(function(e,o){t.exports=o(n(380),n(274))})("undefined"!==typeof self&&self,((t,e)=>(()=>{"use strict";var o={959:(t,e)=>{e.Z=(t,e)=>{const n=t.__vccOpts||t;for(const[o,i]of e)n[o]=i;return n}},415:e=>{e.exports=t},203:t=>{t.exports=e}},i={};function r(t){var e=i[t];if(void 0!==e)return e.exports;var n=i[t]={exports:{}};return o[t](n,n.exports,r),n.exports}(()=>{r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}})(),(()=>{r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()})(),(()=>{r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})(),(()=>{r.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})(),(()=>{r.p=""})();var a={};return(()=>{if(r.r(a),r.d(a,{ImageSetLayerState:()=>De,ImagesetInfo:()=>Be,SpreadSheetLayerInfo:()=>Ne,WWTAwareComponent:()=>Ze,WWTComponent:()=>Ye,engineStore:()=>We,wwtPinia:()=>Ke}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(r.p=e[1])}var o=r(203),i=!1;function s(t,e,n){return Array.isArray(t)?(t.length=Math.max(t.length,e),t.splice(e,1,n),n):(t[e]=n,n)}function l(){return c().__VUE_DEVTOOLS_GLOBAL_HOOK__}function c(){return"undefined"!==typeof navigator&&"undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:{}}const u="function"===typeof Proxy,h="devtools-plugin:setup",f="plugin:settings:set";let d,p,m;function g(){var t;return void 0!==d||("undefined"!==typeof window&&window.performance?(d=!0,p=window.performance):"undefined"!==typeof r.g&&(null===(t=r.g.perf_hooks)||void 0===t?void 0:t.performance)?(d=!0,p=r.g.perf_hooks.performance):d=!1),d}function y(){return g()?p.now():Date.now()}class v{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const a in t.settings){const e=t.settings[a];n[a]=e.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},n);try{const t=localStorage.getItem(o),e=JSON.parse(t);Object.assign(i,e)}catch(r){}this.fallbacks={getSettings(){return i},setSettings(t){try{localStorage.setItem(o,JSON.stringify(t))}catch(r){}i=t},now(){return y()}},e&&e.on(f,((t,e)=>{t===this.plugin.id&&this.fallbacks.setSettings(e)})),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise((n=>{this.targetQueue.push({method:e,args:t,resolve:n})}))})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function _(t,e){const n=t,o=c(),i=l(),r=u&&n.enableEarlyProxy;if(!i||!o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&r){const t=r?new v(n,i):null,a=o.__VUE_DEVTOOLS_PLUGINS__=o.__VUE_DEVTOOLS_PLUGINS__||[];a.push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else i.emit(h,t,e)}const w=t=>m=t,b=Symbol();function x(t){return t&&"object"===typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!==typeof t.toJSON}var k;(function(t){t["direct"]="direct",t["patchObject"]="patch object",t["patchFunction"]="patch function"})(k||(k={}));const S="undefined"!==typeof window,C=!1,T=(()=>"object"===typeof window&&window.window===window?window:"object"===typeof self&&self.self===self?self:"object"===typeof n.g&&n.g.global===n.g?n.g:"object"===typeof globalThis?globalThis:{HTMLElement:null})();function P(t,{autoBom:e=!1}={}){return e&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}function L(t,e,n){const o=new XMLHttpRequest;o.open("GET",t),o.responseType="blob",o.onload=function(){M(o.response,e,n)},o.onerror=function(){console.error("could not download file")},o.send()}function A(t){const e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(n){}return e.status>=200&&e.status<=299}function E(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}const O="object"===typeof navigator?navigator:{userAgent:""},z=(()=>/Macintosh/.test(O.userAgent)&&/AppleWebKit/.test(O.userAgent)&&!/Safari/.test(O.userAgent))(),M=S?"undefined"!==typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!z?I:"msSaveOrOpenBlob"in O?R:B:()=>{};function I(t,e="download",n){const o=document.createElement("a");o.download=e,o.rel="noopener","string"===typeof t?(o.href=t,o.origin!==location.origin?A(o.href)?L(t,e,n):(o.target="_blank",E(o)):E(o)):(o.href=URL.createObjectURL(t),setTimeout((function(){URL.revokeObjectURL(o.href)}),4e4),setTimeout((function(){E(o)}),0))}function R(t,e="download",n){if("string"===typeof t)if(A(t))L(t,e,n);else{const e=document.createElement("a");e.href=t,e.target="_blank",setTimeout((function(){E(e)}))}else navigator.msSaveOrOpenBlob(P(t,n),e)}function B(t,e,n,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),"string"===typeof t)return L(t,e,n);const i="application/octet-stream"===t.type,r=/constructor/i.test(String(T.HTMLElement))||"safari"in T,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&r||z)&&"undefined"!==typeof FileReader){const e=new FileReader;e.onloadend=function(){let t=e.result;if("string"!==typeof t)throw o=null,new Error("Wrong reader.result type");t=a?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=t:location.assign(t),o=null},e.readAsDataURL(t)}else{const e=URL.createObjectURL(t);o?o.location.assign(e):location.href=e,o=null,setTimeout((function(){URL.revokeObjectURL(e)}),4e4)}}function N(t,e){const n="๐ "+t;"function"===typeof __VUE_DEVTOOLS_TOAST__?__VUE_DEVTOOLS_TOAST__(n,e):"error"===e?console.error(n):"warn"===e?console.warn(n):console.log(n)}function D(t){return"_a"in t&&"install"in t}function F(){if(!("clipboard"in navigator))return N("Your browser doesn't support the Clipboard API","error"),!0}function j(t){return!!(t instanceof Error&&t.message.toLowerCase().includes("document is not focused"))&&(N('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0)}async function W(t){if(!F())try{await navigator.clipboard.writeText(JSON.stringify(t.state.value)),N("Global state copied to clipboard.")}catch(e){if(j(e))return;N("Failed to serialize the state. Check the console for more details.","error"),console.error(e)}}async function Z(t){if(!F())try{G(t,JSON.parse(await navigator.clipboard.readText())),N("Global state pasted from clipboard.")}catch(e){if(j(e))return;N("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(e)}}async function V(t){try{M(new Blob([JSON.stringify(t.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(e){N("Failed to export the state as JSON. Check the console for more details.","error"),console.error(e)}}let H;function $(){function t(){return new Promise(((t,e)=>{H.onchange=async()=>{const e=H.files;if(!e)return t(null);const n=e.item(0);return t(n?{text:await n.text(),file:n}:null)},H.oncancel=()=>t(null),H.onerror=e,H.click()}))}return H||(H=document.createElement("input"),H.type="file",H.accept=".json"),t}async function U(t){try{const e=$(),n=await e();if(!n)return;const{text:o,file:i}=n;G(t,JSON.parse(o)),N(`Global state imported from "${i.name}".`)}catch(e){N("Failed to import the state from JSON. Check the console for more details.","error"),console.error(e)}}function G(t,e){for(const n in e){const o=t.state.value[n];o&&Object.assign(o,e[n])}}function q(t){return{_custom:{display:t}}}const Y="๐ Pinia (root)",K="_root";function J(t){return D(t)?{id:K,label:Y}:{id:t.$id,label:t.$id}}function X(t){if(D(t)){const e=Array.from(t._s.keys()),n=t._s,o={state:e.map((e=>({editable:!0,key:e,value:t.state.value[e]}))),getters:e.filter((t=>n.get(t)._getters)).map((t=>{const e=n.get(t);return{editable:!1,key:t,value:e._getters.reduce(((t,n)=>(t[n]=e[n],t)),{})}}))};return o}const e={state:Object.keys(t.$state).map((e=>({editable:!0,key:e,value:t.$state[e]})))};return t._getters&&t._getters.length&&(e.getters=t._getters.map((e=>({editable:!1,key:e,value:t[e]})))),t._customProperties.size&&(e.customProperties=Array.from(t._customProperties).map((e=>({editable:!0,key:e,value:t[e]})))),e}function Q(t){return t?Array.isArray(t)?t.reduce(((t,e)=>(t.keys.push(e.key),t.operations.push(e.type),t.oldValue[e.key]=e.oldValue,t.newValue[e.key]=e.newValue,t)),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:q(t.type),key:q(t.key),oldValue:t.oldValue,newValue:t.newValue}:{}}function tt(t){switch(t){case k.direct:return"mutation";case k.patchFunction:return"$patch";case k.patchObject:return"$patch";default:return"unknown"}}let et=!0;const nt=[],ot="pinia:mutations",it="pinia",{assign:rt}=Object,at=t=>"๐ "+t;function st(t,e){_({id:"dev.esm.pinia",label:"Pinia ๐",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:nt,app:t},(n=>{"function"!==typeof n.now&&N("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),n.addTimelineLayer({id:ot,label:"Pinia ๐",color:15064968}),n.addInspector({id:it,label:"Pinia ๐",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{W(e)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await Z(e),n.sendInspectorTree(it),n.sendInspectorState(it)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{V(e)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await U(e),n.sendInspectorTree(it),n.sendInspectorState(it)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:t=>{const n=e._s.get(t);n?"function"!==typeof n.$reset?N(`Cannot reset "${t}" store because it doesn't have a "$reset" method implemented.`,"warn"):(n.$reset(),N(`Store "${t}" reset.`)):N(`Cannot reset "${t}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent(((t,e)=>{const n=t.componentInstance&&t.componentInstance.proxy;if(n&&n._pStores){const e=t.componentInstance.proxy._pStores;Object.values(e).forEach((e=>{t.instanceData.state.push({type:at(e.$id),key:"state",editable:!0,value:e._isOptionsAPI?{_custom:{value:(0,o.toRaw)(e.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>e.$reset()}]}}:Object.keys(e.$state).reduce(((t,n)=>(t[n]=e.$state[n],t)),{})}),e._getters&&e._getters.length&&t.instanceData.state.push({type:at(e.$id),key:"getters",editable:!1,value:e._getters.reduce(((t,n)=>{try{t[n]=e[n]}catch(o){t[n]=o}return t}),{})})}))}})),n.on.getInspectorTree((n=>{if(n.app===t&&n.inspectorId===it){let t=[e];t=t.concat(Array.from(e._s.values())),n.rootNodes=(n.filter?t.filter((t=>"$id"in t?t.$id.toLowerCase().includes(n.filter.toLowerCase()):Y.toLowerCase().includes(n.filter.toLowerCase()))):t).map(J)}})),n.on.getInspectorState((n=>{if(n.app===t&&n.inspectorId===it){const t=n.nodeId===K?e:e._s.get(n.nodeId);if(!t)return;t&&(n.state=X(t))}})),n.on.editInspectorState(((n,o)=>{if(n.app===t&&n.inspectorId===it){const t=n.nodeId===K?e:e._s.get(n.nodeId);if(!t)return N(`store "${n.nodeId}" not found`,"error");const{path:o}=n;D(t)?o.unshift("state"):1===o.length&&t._customProperties.has(o[0])&&!(o[0]in t.$state)||o.unshift("$state"),et=!1,n.set(t,o,n.state.value),et=!0}})),n.on.editComponentState((t=>{if(t.type.startsWith("๐")){const n=t.type.replace(/^๐\s*/,""),o=e._s.get(n);if(!o)return N(`store "${n}" not found`,"error");const{path:i}=t;if("state"!==i[0])return N(`Invalid path for store "${n}":\n${i}\nOnly state can be modified.`);i[0]="$state",et=!1,t.set(o,i,t.state.value),et=!0}}))}))}function lt(t,e){nt.includes(at(e.$id))||nt.push(at(e.$id)),_({id:"dev.esm.pinia",label:"Pinia ๐",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:nt,app:t,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},(t=>{const n="function"===typeof t.now?t.now.bind(t):Date.now;e.$onAction((({after:o,onError:i,name:r,args:a})=>{const s=ut++;t.addTimelineEvent({layerId:ot,event:{time:n(),title:"๐ซ "+r,subtitle:"start",data:{store:q(e.$id),action:q(r),args:a},groupId:s}}),o((o=>{ct=void 0,t.addTimelineEvent({layerId:ot,event:{time:n(),title:"๐ฌ "+r,subtitle:"end",data:{store:q(e.$id),action:q(r),args:a,result:o},groupId:s}})})),i((o=>{ct=void 0,t.addTimelineEvent({layerId:ot,event:{time:n(),logType:"error",title:"๐ฅ "+r,subtitle:"end",data:{store:q(e.$id),action:q(r),args:a,error:o},groupId:s}})}))}),!0),e._customProperties.forEach((i=>{(0,o.watch)((()=>(0,o.unref)(e[i])),((e,o)=>{t.notifyComponentUpdate(),t.sendInspectorState(it),et&&t.addTimelineEvent({layerId:ot,event:{time:n(),title:"Change",subtitle:i,data:{newValue:e,oldValue:o},groupId:ct}})}),{deep:!0})})),e.$subscribe((({events:o,type:i},r)=>{if(t.notifyComponentUpdate(),t.sendInspectorState(it),!et)return;const a={time:n(),title:tt(i),data:rt({store:q(e.$id)},Q(o)),groupId:ct};i===k.patchFunction?a.subtitle="โคต๏ธ":i===k.patchObject?a.subtitle="๐งฉ":o&&!Array.isArray(o)&&(a.subtitle=o.type),o&&(a.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:o}}),t.addTimelineEvent({layerId:ot,event:a})}),{detached:!0,flush:"sync"});const i=e._hotUpdate;e._hotUpdate=(0,o.markRaw)((o=>{i(o),t.addTimelineEvent({layerId:ot,event:{time:n(),title:"๐ฅ "+e.$id,subtitle:"HMR update",data:{store:q(e.$id),info:q("HMR update")}}}),t.notifyComponentUpdate(),t.sendInspectorTree(it),t.sendInspectorState(it)}));const{$dispose:r}=e;e.$dispose=()=>{r(),t.notifyComponentUpdate(),t.sendInspectorTree(it),t.sendInspectorState(it),t.getSettings().logStoreChanges&&N(`Disposed "${e.$id}" store ๐`)},t.notifyComponentUpdate(),t.sendInspectorTree(it),t.sendInspectorState(it),t.getSettings().logStoreChanges&&N(`"${e.$id}" store installed ๐`)}))}let ct,ut=0;function ht(t,e,n){const i=e.reduce(((e,n)=>(e[n]=(0,o.toRaw)(t)[n],e)),{});for(const o in i)t[o]=function(){const e=ut,r=n?new Proxy(t,{get(...t){return ct=e,Reflect.get(...t)},set(...t){return ct=e,Reflect.set(...t)}}):t;ct=e;const a=i[o].apply(r,arguments);return ct=void 0,a}}function ft({app:t,store:e,options:n}){if(e.$id.startsWith("__hot:"))return;e._isOptionsAPI=!!n.state,ht(e,Object.keys(n.actions),e._isOptionsAPI);const i=e._hotUpdate;(0,o.toRaw)(e)._hotUpdate=function(t){i.apply(this,arguments),ht(e,Object.keys(t._hmrPayload.actions),!!e._isOptionsAPI)},lt(t,e)}function dt(){const t=(0,o.effectScope)(!0),e=t.run((()=>(0,o.ref)({})));let n=[],r=[];const a=(0,o.markRaw)({install(t){w(a),i||(a._a=t,t.provide(b,a),t.config.globalProperties.$pinia=a,C&&st(t,a),r.forEach((t=>n.push(t))),r=[])},use(t){return this._a||i?n.push(t):r.push(t),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return C&&"undefined"!==typeof Proxy&&a.use(ft),a}const pt=()=>{};function mt(t,e,n,i=pt){t.push(e);const r=()=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),i())};return!n&&(0,o.getCurrentScope)()&&(0,o.onScopeDispose)(r),r}function gt(t,...e){t.slice().forEach((t=>{t(...e)}))}const yt=t=>t();function vt(t,e){t instanceof Map&&e instanceof Map&&e.forEach(((e,n)=>t.set(n,e))),t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n],r=t[n];x(r)&&x(i)&&t.hasOwnProperty(n)&&!(0,o.isRef)(i)&&!(0,o.isReactive)(i)?t[n]=vt(r,i):t[n]=i}return t}const _t=Symbol(),wt=new WeakMap;function bt(t){return i?!wt.has(t):!x(t)||!t.hasOwnProperty(_t)}const{assign:xt}=Object;function kt(t){return!(!(0,o.isRef)(t)||!t.effect)}function St(t,e,n,r){const{state:a,actions:l,getters:c}=e,u=n.state.value[t];let h;function f(){u||(i?s(n.state.value,t,a?a():{}):n.state.value[t]=a?a():{});const e=(0,o.toRefs)(n.state.value[t]);return xt(e,l,Object.keys(c||{}).reduce(((e,r)=>(e[r]=(0,o.markRaw)((0,o.computed)((()=>{w(n);const e=n._s.get(t);if(!i||e._r)return c[r].call(e,e)}))),e)),{}))}return h=Ct(t,f,e,n,r,!0),h}function Ct(t,e,n={},r,a,l){let c;const u=xt({actions:{}},n);const h={deep:!0};let f,d;let p,m=[],g=[];const y=r.state.value[t];l||y||(i?s(r.state.value,t,{}):r.state.value[t]={});const v=(0,o.ref)({});let _;function b(e){let n;f=d=!1,"function"===typeof e?(e(r.state.value[t]),n={type:k.patchFunction,storeId:t,events:p}):(vt(r.state.value[t],e),n={type:k.patchObject,payload:e,storeId:t,events:p});const i=_=Symbol();(0,o.nextTick)().then((()=>{_===i&&(f=!0)})),d=!0,gt(m,n,r.state.value[t])}const x=l?function(){const{state:t}=n,e=t?t():{};this.$patch((t=>{xt(t,e)}))}:pt;function S(){c.stop(),m=[],g=[],r._s.delete(t)}function T(e,n){return function(){w(r);const o=Array.from(arguments),i=[],a=[];function s(t){i.push(t)}function l(t){a.push(t)}let c;gt(g,{args:o,name:e,store:A,after:s,onError:l});try{c=n.apply(this&&this.$id===t?this:A,o)}catch(u){throw gt(a,u),u}return c instanceof Promise?c.then((t=>(gt(i,t),t))).catch((t=>(gt(a,t),Promise.reject(t)))):(gt(i,c),c)}}const P=(0,o.markRaw)({actions:{},getters:{},state:[],hotState:v}),L={_p:r,$id:t,$onAction:mt.bind(null,g),$patch:b,$reset:x,$subscribe(e,n={}){const i=mt(m,e,n.detached,(()=>a())),a=c.run((()=>(0,o.watch)((()=>r.state.value[t]),(o=>{("sync"===n.flush?d:f)&&e({storeId:t,type:k.direct,events:p},o)}),xt({},h,n))));return i},$dispose:S};i&&(L._r=!1);const A=(0,o.reactive)(C?xt({_hmrPayload:P,_customProperties:(0,o.markRaw)(new Set)},L):L);r._s.set(t,A);const E=r._a&&r._a.runWithContext||yt,O=r._e.run((()=>(c=(0,o.effectScope)(),E((()=>c.run(e))))));for(const w in O){const e=O[w];if((0,o.isRef)(e)&&!kt(e)||(0,o.isReactive)(e))l||(y&&bt(e)&&((0,o.isRef)(e)?e.value=y[w]:vt(e,y[w])),i?s(r.state.value[t],w,e):r.state.value[t][w]=e);else if("function"===typeof e){const t=T(w,e);i?s(O,w,t):O[w]=t,u.actions[w]=e}else 0}if(i?Object.keys(O).forEach((t=>{s(A,t,O[t])})):(xt(A,O),xt((0,o.toRaw)(A),O)),Object.defineProperty(A,"$state",{get:()=>r.state.value[t],set:t=>{b((e=>{xt(e,t)}))}}),C){const t={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach((e=>{Object.defineProperty(A,e,xt({value:A[e]},t))}))}return i&&(A._r=!0),r._p.forEach((t=>{if(C){const e=c.run((()=>t({store:A,app:r._a,pinia:r,options:u})));Object.keys(e||{}).forEach((t=>A._customProperties.add(t))),xt(A,e)}else xt(A,c.run((()=>t({store:A,app:r._a,pinia:r,options:u}))))})),y&&l&&n.hydrate&&n.hydrate(A.$state,y),f=!0,d=!0,A}function Tt(t,e,n){let i,r;const a="function"===typeof e;function s(t,n){const s=(0,o.hasInjectionContext)();t=t||(s?(0,o.inject)(b,null):null),t&&w(t),t=m,t._s.has(i)||(a?Ct(i,e,r,t):St(i,r,t));const l=t._s.get(i);return l}return"string"===typeof t?(i=t,r=a?n:e):(r=t,i=t.id),s.$id=i,s}function Pt(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]=function(){return t(this.$pinia)[n]},e)),{}):Object.keys(e).reduce(((n,o)=>(n[o]=function(){const n=t(this.$pinia),i=e[o];return"function"===typeof i?i.call(this,n):n[i]},n)),{})}function Lt(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]=function(...e){return t(this.$pinia)[n](...e)},e)),{}):Object.keys(e).reduce(((n,o)=>(n[o]=function(...n){return t(this.$pinia)[e[o]](...n)},n)),{})}var At=function(t,e){return At=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},At(t,e)};function Et(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}At(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Ot=function(){return Ot=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},Ot.apply(this,arguments)};function zt(t,e,n,o){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function a(t){try{l(o.next(t))}catch(e){r(e)}}function s(t){try{l(o["throw"](t))}catch(e){r(e)}}function l(t){t.done?n(t.value):i(t.value).then(a,s)}l((o=o.apply(t,e||[])).next())}))}function Mt(t,e){var n,o,i,r,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return l([t,e])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(a=0)),a)try{if(n=1,o&&(i=2&s[0]?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,o=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(l){s=[6,l],o=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}Object.create;function It(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],o=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Rt(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,i,r=n.call(t),a=[];try{while((void 0===e||e-- >0)&&!(o=r.next()).done)a.push(o.value)}catch(s){i={error:s}}finally{try{o&&!o.done&&(n=r["return"])&&n.call(r)}finally{if(i)throw i.error}}return a}Object.create;"function"===typeof SuppressedError&&SuppressedError;var Bt,Nt,Dt,Ft,jt,Wt,Zt,Vt,Ht,$t,Ut,Gt,qt,Yt,Kt,Jt,Xt,Qt,te,ee,ne=3.14159265358979,oe=180/ne,ie=ne/180,re=12/ne,ae=ne/12,se=12/180;(function(t){t[t["depth"]=0]="depth",t[t["altitude"]=1]="altitude",t[t["distance"]=2]="distance",t[t["seaLevel"]=3]="seaLevel",t[t["terrain"]=4]="terrain"})(Bt||(Bt={})),function(t){t[t["meters"]=1]="meters",t[t["feet"]=2]="feet",t[t["inches"]=3]="inches",t[t["miles"]=4]="miles",t[t["kilometers"]=5]="kilometers",t[t["astronomicalUnits"]=6]="astronomicalUnits",t[t["lightYears"]=7]="lightYears",t[t["parsecs"]=8]="parsecs",t[t["megaParsecs"]=9]="megaParsecs",t[t["custom"]=10]="custom"}(Nt||(Nt={})),function(t){t[t["gamma"]=0]="gamma",t[t["xRay"]=1]="xRay",t[t["ultraviolet"]=2]="ultraviolet",t[t["visible"]=3]="visible",t[t["hydrogenAlpha"]=4]="hydrogenAlpha",t[t["IR"]=4]="IR",t[t["microwave"]=5]="microwave",t[t["radio"]=6]="radio",t[t["visibleNight"]=6]="visibleNight"}(Dt||(Dt={})),function(t){t[t["star"]=1]="star",t[t["supernova"]=2]="supernova",t[t["blackHole"]=4]="blackHole",t[t["neutronStar"]=8]="neutronStar",t[t["doubleStar"]=16]="doubleStar",t[t["multipleStars"]=32]="multipleStars",t[t["asterism"]=64]="asterism",t[t["constellation"]=128]="constellation",t[t["openCluster"]=256]="openCluster",t[t["globularCluster"]=512]="globularCluster",t[t["nebulousCluster"]=1024]="nebulousCluster",t[t["nebula"]=2048]="nebula",t[t["emissionNebula"]=4096]="emissionNebula",t[t["planetaryNebula"]=8192]="planetaryNebula",t[t["reflectionNebula"]=16384]="reflectionNebula",t[t["darkNebula"]=32768]="darkNebula",t[t["giantMolecularCloud"]=65536]="giantMolecularCloud",t[t["supernovaRemnant"]=131072]="supernovaRemnant",t[t["interstellarDust"]=262144]="interstellarDust",t[t["quasar"]=524288]="quasar",t[t["galaxy"]=1048576]="galaxy",t[t["spiralGalaxy"]=2097152]="spiralGalaxy",t[t["irregularGalaxy"]=4194304]="irregularGalaxy",t[t["ellipticalGalaxy"]=8388608]="ellipticalGalaxy",t[t["knot"]=16777216]="knot",t[t["plateDefect"]=33554432]="plateDefect",t[t["clusterOfGalaxies"]=67108864]="clusterOfGalaxies",t[t["otherNGC"]=134217728]="otherNGC",t[t["unidentified"]=268435456]="unidentified",t[t["solarSystem"]=536870912]="solarSystem",t[t["unfiltered"]=1073741823]="unfiltered",t[t["stellar"]=63]="stellar",t[t["stellarGroupings"]=2032]="stellarGroupings",t[t["nebulae"]=523264]="nebulae",t[t["galactic"]=133693440]="galactic",t[t["other"]=436207616]="other"}(Ft||(Ft={})),function(t){t[t["spherical"]=0]="spherical",t[t["rectangular"]=1]="rectangular",t[t["orbital"]=2]="orbital"}(jt||(jt={})),function(t){t[t["byteT"]=0]="byteT",t[t["int16T"]=1]="int16T",t[t["int32T"]=2]="int32T",t[t["floatT"]=3]="floatT",t[t["doubleT"]=4]="doubleT",t[t["none"]=5]="none"}(Wt||(Wt={})),function(t){t[t["fadeIn"]=1]="fadeIn",t[t["fadeOut"]=2]="fadeOut",t[t["both"]=3]="both",t[t["none"]=4]="none"}(Zt||(Zt={})),function(t){t[t["explorer"]=0]="explorer",t[t["tour"]=1]="tour",t[t["search"]=2]="search",t[t["constellation"]=3]="constellation",t[t["view"]=4]="view",t[t["goTo"]=5]="goTo",t[t["community"]=6]="community",t[t["context"]=7]="context",t[t["voTable"]=8]="voTable",t[t["imageStack"]=9]="imageStack"}(Vt||(Vt={})),function(t){t[t["interval"]=0]="interval",t[t["conditionalGet"]=1]="conditionalGet",t[t["viewChange"]=2]="viewChange"}(Ht||(Ht={})),function(t){t[t["earth"]=0]="earth",t[t["planet"]=1]="planet",t[t["sky"]=2]="sky",t[t["panorama"]=3]="panorama"}($t||($t={})),function(t){t[t["earth"]=0]="earth",t[t["planet"]=1]="planet",t[t["sky"]=2]="sky",t[t["panorama"]=3]="panorama",t[t["solarSystem"]=4]="solarSystem",t[t["sandbox"]=5]="sandbox"}(Ut||(Ut={})),function(t){t[t["screen"]=0]="screen",t[t["world"]=1]="world"}(Gt||(Gt={})),function(t){t[t["gaussian"]=0]="gaussian",t[t["point"]=1]="point",t[t["circle"]=2]="circle",t[t["square"]=3]="square",t[t["pushPin"]=4]="pushPin",t[t["custom"]=5]="custom"}(qt||(qt={})),function(t){t[t["linear"]=0]="linear",t[t["power"]=1]="power",t[t["log"]=2]="log",t[t["constant"]=3]="constant",t[t["stellarMagnitude"]=4]="stellarMagnitude"}(Yt||(Yt={})),function(t){t[t["mercator"]=0]="mercator",t[t["equirectangular"]=1]="equirectangular",t[t["tangent"]=2]="tangent",t[t["tan"]=2]="tan",t[t["toast"]=3]="toast",t[t["spherical"]=4]="spherical",t[t["skyImage"]=5]="skyImage",t[t["plotted"]=6]="plotted"}(Kt||(Kt={})),function(t){t[t["hours"]=0]="hours",t[t["degrees"]=1]="degrees"}(Jt||(Jt={})),function(t){t[t["sky"]=0]="sky",t[t["ecliptic"]=1]="ecliptic",t[t["galactic"]=2]="galactic",t[t["sun"]=3]="sun",t[t["mercury"]=4]="mercury",t[t["venus"]=5]="venus",t[t["earth"]=6]="earth",t[t["mars"]=7]="mars",t[t["jupiter"]=8]="jupiter",t[t["saturn"]=9]="saturn",t[t["uranus"]=10]="uranus",t[t["neptune"]=11]="neptune",t[t["pluto"]=12]="pluto",t[t["moon"]=13]="moon",t[t["io"]=14]="io",t[t["europa"]=15]="europa",t[t["ganymede"]=16]="ganymede",t[t["callisto"]=17]="callisto",t[t["custom"]=18]="custom",t[t["identity"]=19]="identity",t[t["sandbox"]=20]="sandbox"}(Xt||(Xt={})),function(t){t[t["fixedSherical"]=0]="fixedSherical",t[t["orbital"]=1]="orbital",t[t["trajectory"]=2]="trajectory",t[t["synodic"]=3]="synodic"}(Qt||(Qt={})),function(t){t[t["linear"]=0]="linear",t[t["log"]=1]="log",t[t["power"]=2]="power",t[t["squareRoot"]=3]="squareRoot",t[t["histogramEqualization"]=4]="histogramEqualization"}(te||(te={})),function(t){t[t["sun"]=0]="sun",t[t["mercury"]=1]="mercury",t[t["venus"]=2]="venus",t[t["mars"]=3]="mars",t[t["jupiter"]=4]="jupiter",t[t["saturn"]=5]="saturn",t[t["uranus"]=6]="uranus",t[t["neptune"]=7]="neptune",t[t["pluto"]=8]="pluto",t[t["moon"]=9]="moon",t[t["io"]=10]="io",t[t["europa"]=11]="europa",t[t["ganymede"]=12]="ganymede",t[t["callisto"]=13]="callisto",t[t["ioShadow"]=14]="ioShadow",t[t["europaShadow"]=15]="europaShadow",t[t["ganymedeShadow"]=16]="ganymedeShadow",t[t["callistoShadow"]=17]="callistoShadow",t[t["sunEclipsed"]=18]="sunEclipsed",t[t["earth"]=19]="earth",t[t["custom"]=20]="custom",t[t["undefined"]=65536]="undefined"}(ee||(ee={}));var le=r(415),ce=["astronomical","color","enabled","fadeSpan","name","opacity","opened","referenceFrame","version"];function ue(t,e){var n,o;try{for(var i=It(ce),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}var he=function(){function t(t){ue(t,this)}return t.prototype.get_astronomical=function(){return this.astronomical},t.prototype.set_astronomical=function(t){return this.astronomical=t,t},t.prototype.get_color=function(){return this.color},t.prototype.set_color=function(t){return this.color=t,t},t.prototype.get_enabled=function(){return this.enabled},t.prototype.set_enabled=function(t){return this.enabled=t,t},t.prototype.get_endTime=function(){return this.endTime},t.prototype.set_endTime=function(t){return this.endTime=t,t},t.prototype.get_fadeSpan=function(){return this.fadeSpan},t.prototype.set_fadeSpan=function(t){return this.fadeSpan=t,t},t.prototype.get_fadeType=function(){return this.fadeType},t.prototype.set_fadeType=function(t){return this.fadeType=t,t},t.prototype.get_name=function(){return this.name},t.prototype.set_name=function(t){return this.name=t,t},t.prototype.get_opacity=function(){return this.opacity},t.prototype.set_opacity=function(t){return this.opacity=t,t},t.prototype.get_opened=function(){return this.opened},t.prototype.set_opened=function(t){return this.opened=t,t},t.prototype.get_referenceFrame=function(){return this.referenceFrame},t.prototype.set_referenceFrame=function(t){return this.referenceFrame=t,t},t.prototype.get_startTime=function(){return this.startTime},t.prototype.set_startTime=function(t){return this.startTime=t,t},t.prototype.get_version=function(){return this.version},t.prototype.set_version=function(t){return this.version=t,t},t}(),fe=["colorMapperName","overrideDefaultLayer"];ce.concat(fe);function de(t,e){var n="set_"+e[0],o=e[1];t[n](o)}function pe(t,e){var n,o;ue(t,e);try{for(var i=It(fe),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}var me=function(t){function e(e){var n=t.call(this,e)||this;return pe(e,n),n}return Et(e,t),e.prototype.get_colorMapperName=function(){return this.colorMapperName},e.prototype.set_colorMapperName=function(t){return this.colorMapperName=t,t},e.prototype.get_overrideDefaultLayer=function(){return this.overrideDefaultLayer},e.prototype.set_overrideDefaultLayer=function(t){return this.overrideDefaultLayer=t,t},e}(he),ge=["altColumn","altType","altUnit","barChartBitmask","beginRange","cartesianCustomScale","cartesianScale","colorMapColumn","colorMapperName","coordinatesType","decay","dynamicColor","dynamicData","endDateColumn","endRange","geometryColumn","hyperlinkColumn","hyperlinkFormat","latColumn","lngColumn","markerColumn","markerIndex","markerScale","nameColumn","normalizeColorMap","normalizeColorMapMax","normalizeColorMapMin","normalizeSize","normalizeSizeClip","normalizeSizeMax","normalizeSizeMin","plotType","pointScaleType","raUnits","scaleFactor","showFarSide","sizeColumn","startDateColumn","timeSeries","xAxisColumn","xAxisReverse","yAxisColumn","yAxisReverse","zAxisColumn","zAxisReverse"];ce.concat(ge);function ye(t,e){var n="set_"+e[0],o=e[1];t[n](o)}function ve(t,e){var n,o;ue(t,e);try{for(var i=It(ge),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}var _e=function(t){function e(e){var n=t.call(this,e)||this;return ve(e,n),n}return Et(e,t),e.prototype.get_altColumn=function(){return this.altColumn},e.prototype.set_altColumn=function(t){return this.altColumn=t,t},e.prototype.get_altType=function(){return this.altType},e.prototype.set_altType=function(t){return this.altType=t,t},e.prototype.get_altUnit=function(){return this.altUnit},e.prototype.set_altUnit=function(t){return this.altUnit=t,t},e.prototype.get_barChartBitmask=function(){return this.barChartBitmask},e.prototype.set_barChartBitmask=function(t){return this.barChartBitmask=t,t},e.prototype.get_beginRange=function(){return this.beginRange},e.prototype.set_beginRange=function(t){return this.beginRange=t,t},e.prototype.get_cartesianCustomScale=function(){return this.cartesianCustomScale},e.prototype.set_cartesianCustomScale=function(t){return this.cartesianCustomScale=t,t},e.prototype.get_cartesianScale=function(){return this.cartesianScale},e.prototype.set_cartesianScale=function(t){return this.cartesianScale=t,t},e.prototype.get_colorMapColumn=function(){return this.colorMapColumn},e.prototype.set_colorMapColumn=function(t){return this.colorMapColumn=t,t},e.prototype.get_colorMapperName=function(){return this.colorMapperName},e.prototype.set_colorMapperName=function(t){return this.colorMapperName=t,t},e.prototype.get_coordinatesType=function(){return this.coordinatesType},e.prototype.set_coordinatesType=function(t){return this.coordinatesType=t,t},e.prototype.get_decay=function(){return this.decay},e.prototype.set_decay=function(t){return this.decay=t,t},e.prototype.get_dynamicColor=function(){return this.dynamicColor},e.prototype.set_dynamicColor=function(t){return this.dynamicColor=t,t},e.prototype.get_dynamicData=function(){return this.dynamicData},e.prototype.set_dynamicData=function(t){return this.dynamicData=t,t},e.prototype.get_endDateColumn=function(){return this.endDateColumn},e.prototype.set_endDateColumn=function(t){return this.endDateColumn=t,t},e.prototype.get_endRange=function(){return this.endRange},e.prototype.set_endRange=function(t){return this.endRange=t,t},e.prototype.get_geometryColumn=function(){return this.geometryColumn},e.prototype.set_geometryColumn=function(t){return this.geometryColumn=t,t},e.prototype.get_hyperlinkColumn=function(){return this.hyperlinkColumn},e.prototype.set_hyperlinkColumn=function(t){return this.hyperlinkColumn=t,t},e.prototype.get_hyperlinkFormat=function(){return this.hyperlinkFormat},e.prototype.set_hyperlinkFormat=function(t){return this.hyperlinkFormat=t,t},e.prototype.get_latColumn=function(){return this.latColumn},e.prototype.set_latColumn=function(t){return this.latColumn=t,t},e.prototype.get_lngColumn=function(){return this.lngColumn},e.prototype.set_lngColumn=function(t){return this.lngColumn=t,t},e.prototype.get_markerColumn=function(){return this.markerColumn},e.prototype.set_markerColumn=function(t){return this.markerColumn=t,t},e.prototype.get_markerIndex=function(){return this.markerIndex},e.prototype.set_markerIndex=function(t){return this.markerIndex=t,t},e.prototype.get_markerScale=function(){return this.markerScale},e.prototype.set_markerScale=function(t){return this.markerScale=t,t},e.prototype.get_nameColumn=function(){return this.nameColumn},e.prototype.set_nameColumn=function(t){return this.nameColumn=t,t},e.prototype.get_normalizeColorMap=function(){return this.normalizeColorMap},e.prototype.set_normalizeColorMap=function(t){return this.normalizeColorMap=t,t},e.prototype.get_normalizeColorMapMax=function(){return this.normalizeColorMapMax},e.prototype.set_normalizeColorMapMax=function(t){return this.normalizeColorMapMax=t,t},e.prototype.get_normalizeColorMapMin=function(){return this.normalizeColorMapMin},e.prototype.set_normalizeColorMapMin=function(t){return this.normalizeColorMapMin=t,t},e.prototype.get_normalizeSize=function(){return this.normalizeSize},e.prototype.set_normalizeSize=function(t){return this.normalizeSize=t,t},e.prototype.get_normalizeSizeClip=function(){return this.normalizeSizeClip},e.prototype.set_normalizeSizeClip=function(t){return this.normalizeSizeClip=t,t},e.prototype.get_normalizeSizeMax=function(){return this.normalizeSizeMax},e.prototype.set_normalizeSizeMax=function(t){return this.normalizeSizeMax=t,t},e.prototype.get_normalizeSizeMin=function(){return this.normalizeSizeMin},e.prototype.set_normalizeSizeMin=function(t){return this.normalizeSizeMin=t,t},e.prototype.get_plotType=function(){return this.plotType},e.prototype.set_plotType=function(t){return this.plotType=t,t},e.prototype.get_pointScaleType=function(){return this.pointScaleType},e.prototype.set_pointScaleType=function(t){return this.pointScaleType=t,t},e.prototype.get_raUnits=function(){return this.raUnits},e.prototype.set_raUnits=function(t){return this.raUnits=t,t},e.prototype.get_scaleFactor=function(){return this.scaleFactor},e.prototype.set_scaleFactor=function(t){return this.scaleFactor=t,t},e.prototype.get_showFarSide=function(){return this.showFarSide},e.prototype.set_showFarSide=function(t){return this.showFarSide=t,t},e.prototype.get_sizeColumn=function(){return this.sizeColumn},e.prototype.set_sizeColumn=function(t){return this.sizeColumn=t,t},e.prototype.get_startDateColumn=function(){return this.startDateColumn},e.prototype.set_startDateColumn=function(t){return this.startDateColumn=t,t},e.prototype.get_timeSeries=function(){return this.timeSeries},e.prototype.set_timeSeries=function(t){return this.timeSeries=t,t},e.prototype.get_xAxisColumn=function(){return this.xAxisColumn},e.prototype.set_xAxisColumn=function(t){return this.xAxisColumn=t,t},e.prototype.get_xAxisReverse=function(){return this.xAxisReverse},e.prototype.set_xAxisReverse=function(t){return this.xAxisReverse=t,t},e.prototype.get_yAxisColumn=function(){return this.yAxisColumn},e.prototype.set_yAxisColumn=function(t){return this.yAxisColumn=t,t},e.prototype.get_yAxisReverse=function(){return this.yAxisReverse},e.prototype.set_yAxisReverse=function(t){return this.yAxisReverse=t,t},e.prototype.get_zAxisColumn=function(){return this.zAxisColumn},e.prototype.set_zAxisColumn=function(t){return this.zAxisColumn=t,t},e.prototype.get_zAxisReverse=function(){return this.zAxisReverse},e.prototype.set_zAxisReverse=function(t){return this.zAxisReverse=t,t},e}(he),we=["id","label","opacity","showHoverLabel","tag"];function be(t,e){var n,o;try{for(var i=It(we),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}var xe=function(){function t(t){be(t,this)}return t.prototype.get_id=function(){return this.id},t.prototype.set_id=function(t){return this.id=t,t},t.prototype.get_label=function(){return this.label},t.prototype.set_label=function(t){return this.label=t,t},t.prototype.get_opacity=function(){return this.opacity},t.prototype.set_opacity=function(t){return this.opacity=t,t},t.prototype.get_showHoverLabel=function(){return this.showHoverLabel},t.prototype.set_showHoverLabel=function(t){return this.showHoverLabel=t,t},t.prototype.get_tag=function(){return this.tag},t.prototype.set_tag=function(t){return this.tag=t,t},t}(),ke=["fill","fillColor","lineColor","lineWidth","radius","skyRelative"];we.concat(ke);function Se(t,e){var n,o;be(t,e);try{for(var i=It(ke),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}(function(t){function e(e){var n=t.call(this,e)||this;return Se(e,n),n}Et(e,t),e.prototype.get_fill=function(){return this.fill},e.prototype.set_fill=function(t){return this.fill=t,t},e.prototype.get_fillColor=function(){return this.fillColor},e.prototype.set_fillColor=function(t){return this.fillColor=t,t},e.prototype.get_lineColor=function(){return this.lineColor},e.prototype.set_lineColor=function(t){return this.lineColor=t,t},e.prototype.get_lineWidth=function(){return this.lineWidth},e.prototype.set_lineWidth=function(t){return this.lineWidth=t,t},e.prototype.get_radius=function(){return this.radius},e.prototype.set_radius=function(t){return this.radius=t,t},e.prototype.get_skyRelative=function(){return this.skyRelative},e.prototype.set_skyRelative=function(t){return this.skyRelative=t,t}})(xe);var Ce=["actualPlanetScale","altAzGridColor","constellationArtFilter","constellationBoundariesFilter","constellationFigureColor","constellationFiguresFilter","constellationBoundryColor","constellationNamesFilter","constellationLabelsHeight","constellations","constellationSelectionColor","constellationsEnabled","crosshairsColor","earthCutawayView","eclipticColor","eclipticGridColor","equatorialGridColor","galacticGridColor","galacticMode","localHorizonMode","locationAltitude","locationLat","locationLng","milkyWayModel","minorPlanetsFilter","planetOrbitsFilter","precessionChartColor","showAltAzGrid","showAltAzGridText","showConstellationBoundries","showConstellationFigures","showConstellationLabels","showConstellationPictures","showConstellations","showConstellationSelection","showCrosshairs","showEarthSky","showEcliptic","showEclipticGrid","showEclipticGridText","showEclipticOverviewText","showElevationModel","showEquatorialGridText","showGalacticGrid","showGalacticGridText","showGrid","showHorizon","showISSModel","showPrecessionChart","showSkyGrids","showSkyOverlays","showSkyOverlaysIn3d","showSkyNode","showSolarSystem","smoothPan","solarSystemCMB","solarSystemCosmos","solarSystemLighting","solarSystemMilkyWay","solarSystemMinorPlanets","solarSystemMultiRes","solarSystemOrbits","solarSystemOverlays","solarSystemPlanets","solarSystemScale","solarSystemStars","solarSystemMinorOrbits"];function Te(t,e){var n,o;try{for(var i=It(Ce),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}(function(){function t(t){Te(t,this)}t.prototype.get_actualPlanetScale=function(){return this.actualPlanetScale},t.prototype.set_actualPlanetScale=function(t){return this.actualPlanetScale=t,t},t.prototype.get_constellationArtFilter=function(){return this.constellationArtFilter},t.prototype.set_constellationArtFilter=function(t){return this.constellationArtFilter=t,t},t.prototype.get_constellationBoundariesFilter=function(){return this.constellationBoundariesFilter},t.prototype.set_constellationBoundariesFilter=function(t){return this.constellationBoundariesFilter=t,t},t.prototype.get_constellationFigureColor=function(){return this.constellationFigureColor},t.prototype.set_constellationFigureColor=function(t){return this.constellationFigureColor=t,t},t.prototype.get_constellationFiguresFilter=function(){return this.constellationFiguresFilter},t.prototype.set_constellationFiguresFilter=function(t){return this.constellationFiguresFilter=t,t},t.prototype.get_constellationBoundryColor=function(){return this.constellationBoundryColor},t.prototype.set_constellationBoundryColor=function(t){return this.constellationBoundryColor=t,t},t.prototype.get_constellationNamesFilter=function(){return this.constellationNamesFilter},t.prototype.set_constellationNamesFilter=function(t){return this.constellationNamesFilter=t,t},t.prototype.get_constellations=function(){return this.constellations},t.prototype.set_constellations=function(t){return this.constellations=t,t},t.prototype.get_constellationSelectionColor=function(){return this.constellationSelectionColor},t.prototype.set_constellationSelectionColor=function(t){return this.constellationSelectionColor=t,t},t.prototype.get_constellationsEnabled=function(){return this.constellationsEnabled},t.prototype.set_constellationsEnabled=function(t){return this.constellationsEnabled=t,t},t.prototype.get_crosshairsColor=function(){return this.crosshairsColor},t.prototype.set_crosshairsColor=function(t){return this.crosshairsColor=t,t},t.prototype.get_earthCutawayView=function(){return this.earthCutawayView},t.prototype.set_earthCutawayView=function(t){return this.earthCutawayView=t,t},t.prototype.get_galacticMode=function(){return this.galacticMode},t.prototype.set_galacticMode=function(t){return this.galacticMode=t,t},t.prototype.get_localHorizonMode=function(){return this.localHorizonMode},t.prototype.set_localHorizonMode=function(t){return this.localHorizonMode=t,t},t.prototype.get_locationAltitude=function(){return this.locationAltitude},t.prototype.set_locationAltitude=function(t){return this.locationAltitude=t,t},t.prototype.get_locationLat=function(){return this.locationLat},t.prototype.set_locationLat=function(t){return this.locationLat=t,t},t.prototype.get_locationLng=function(){return this.locationLng},t.prototype.set_locationLng=function(t){return this.locationLng=t,t},t.prototype.get_milkyWayModel=function(){return this.milkyWayModel},t.prototype.set_milkyWayModel=function(t){return this.milkyWayModel=t,t},t.prototype.get_minorPlanetsFilter=function(){return this.minorPlanetsFilter},t.prototype.set_minorPlanetsFilter=function(t){return this.minorPlanetsFilter=t,t},t.prototype.get_planetOrbitsFilter=function(){return this.planetOrbitsFilter},t.prototype.set_planetOrbitsFilter=function(t){return this.planetOrbitsFilter=t,t},t.prototype.get_showAltAzGrid=function(){return this.showAltAzGrid},t.prototype.set_showAltAzGrid=function(t){return this.showAltAzGrid=t,t},t.prototype.get_showAltAzGridText=function(){return this.showAltAzGridText},t.prototype.set_showAltAzGridText=function(t){return this.showAltAzGridText=t,t},t.prototype.get_showConstellationBoundries=function(){return this.showConstellationBoundries},t.prototype.set_showConstellationBoundries=function(t){return this.showConstellationBoundries=t,t},t.prototype.get_showConstellationFigures=function(){return this.showConstellationFigures},t.prototype.set_showConstellationFigures=function(t){return this.showConstellationFigures=t,t},t.prototype.get_showConstellationLabels=function(){return this.showConstellationLabels},t.prototype.set_showConstellationLabels=function(t){return this.showConstellationLabels=t,t},t.prototype.get_showConstellationPictures=function(){return this.showConstellationPictures},t.prototype.set_showConstellationPictures=function(t){return this.showConstellationPictures=t,t},t.prototype.get_showConstellations=function(){return this.showConstellations},t.prototype.set_showConstellations=function(t){return this.showConstellations=t,t},t.prototype.get_showConstellationSelection=function(){return this.showConstellationSelection},t.prototype.set_showConstellationSelection=function(t){return this.showConstellationSelection=t,t},t.prototype.get_showCrosshairs=function(){return this.showCrosshairs},t.prototype.set_showCrosshairs=function(t){return this.showCrosshairs=t,t},t.prototype.get_showEarthSky=function(){return this.showEarthSky},t.prototype.set_showEarthSky=function(t){return this.showEarthSky=t,t},t.prototype.get_showEcliptic=function(){return this.showEcliptic},t.prototype.set_showEcliptic=function(t){return this.showEcliptic=t,t},t.prototype.get_showEclipticGrid=function(){return this.showEclipticGrid},t.prototype.set_showEclipticGrid=function(t){return this.showEclipticGrid=t,t},t.prototype.get_showEclipticGridText=function(){return this.showEclipticGridText},t.prototype.set_showEclipticGridText=function(t){return this.showEclipticGridText=t,t},t.prototype.get_showEclipticOverviewText=function(){return this.showEclipticOverviewText},t.prototype.set_showEclipticOverviewText=function(t){return this.showEclipticOverviewText=t,t},t.prototype.get_showElevationModel=function(){return this.showElevationModel},t.prototype.set_showElevationModel=function(t){return this.showElevationModel=t,t},t.prototype.get_showEquatorialGridText=function(){return this.showEquatorialGridText},t.prototype.set_showEquatorialGridText=function(t){return this.showEquatorialGridText=t,t},t.prototype.get_showGalacticGrid=function(){return this.showGalacticGrid},t.prototype.set_showGalacticGrid=function(t){return this.showGalacticGrid=t,t},t.prototype.get_showGalacticGridText=function(){return this.showGalacticGridText},t.prototype.set_showGalacticGridText=function(t){return this.showGalacticGridText=t,t},t.prototype.get_showGrid=function(){return this.showGrid},t.prototype.set_showGrid=function(t){return this.showGrid=t,t},t.prototype.get_showHorizon=function(){return this.showHorizon},t.prototype.set_showHorizon=function(t){return this.showHorizon=t,t},t.prototype.get_showISSModel=function(){return this.showISSModel},t.prototype.set_showISSModel=function(t){return this.showISSModel=t,t},t.prototype.get_showPrecessionChart=function(){return this.showPrecessionChart},t.prototype.set_showPrecessionChart=function(t){return this.showPrecessionChart=t,t},t.prototype.get_showSkyGrids=function(){return this.showSkyGrids},t.prototype.set_showSkyGrids=function(t){return this.showSkyGrids=t,t},t.prototype.get_showSkyOverlays=function(){return this.showSkyOverlays},t.prototype.set_showSkyOverlays=function(t){return this.showSkyOverlays=t,t},t.prototype.get_showSkyOverlaysIn3d=function(){return this.showSkyOverlaysIn3d},t.prototype.set_showSkyOverlaysIn3d=function(t){return this.showSkyOverlaysIn3d=t,t},t.prototype.get_showSkyNode=function(){return this.showSkyNode},t.prototype.set_showSkyNode=function(t){return this.showSkyNode=t,t},t.prototype.get_showSolarSystem=function(){return this.showSolarSystem},t.prototype.set_showSolarSystem=function(t){return this.showSolarSystem=t,t},t.prototype.get_smoothPan=function(){return this.smoothPan},t.prototype.set_smoothPan=function(t){return this.smoothPan=t,t},t.prototype.get_solarSystemCMB=function(){return this.solarSystemCMB},t.prototype.set_solarSystemCMB=function(t){return this.solarSystemCMB=t,t},t.prototype.get_solarSystemCosmos=function(){return this.solarSystemCosmos},t.prototype.set_solarSystemCosmos=function(t){return this.solarSystemCosmos=t,t},t.prototype.get_solarSystemLighting=function(){return this.solarSystemLighting},t.prototype.set_solarSystemLighting=function(t){return this.solarSystemLighting=t,t},t.prototype.get_solarSystemMilkyWay=function(){return this.solarSystemMilkyWay},t.prototype.set_solarSystemMilkyWay=function(t){return this.solarSystemMilkyWay=t,t},t.prototype.get_solarSystemMinorPlanets=function(){return this.solarSystemMinorPlanets},t.prototype.set_solarSystemMinorPlanets=function(t){return this.solarSystemMinorPlanets=t,t},t.prototype.get_solarSystemMultiRes=function(){return this.solarSystemMultiRes},t.prototype.set_solarSystemMultiRes=function(t){return this.solarSystemMultiRes=t,t},t.prototype.get_solarSystemOrbits=function(){return this.solarSystemOrbits},t.prototype.set_solarSystemOrbits=function(t){return this.solarSystemOrbits=t,t},t.prototype.get_solarSystemOverlays=function(){return this.solarSystemOverlays},t.prototype.set_solarSystemOverlays=function(t){return this.solarSystemOverlays=t,t},t.prototype.get_solarSystemPlanets=function(){return this.solarSystemPlanets},t.prototype.set_solarSystemPlanets=function(t){return this.solarSystemPlanets=t,t},t.prototype.get_solarSystemScale=function(){return this.solarSystemScale},t.prototype.set_solarSystemScale=function(t){return this.solarSystemScale=t,t},t.prototype.get_solarSystemStars=function(){return this.solarSystemStars},t.prototype.set_solarSystemStars=function(t){return this.solarSystemStars=t,t},t.prototype.get_solarSystemMinorOrbits=function(){return this.solarSystemMinorOrbits},t.prototype.set_solarSystemMinorOrbits=function(t){return this.solarSystemMinorOrbits=t,t}})();var Pe=["fill","fillColor","lineColor","lineWidth"];we.concat(Pe);function Le(t,e){var n,o;be(t,e);try{for(var i=It(Pe),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}(function(t){function e(e){var n=t.call(this,e)||this;return Le(e,n),n}Et(e,t),e.prototype.get_fill=function(){return this.fill},e.prototype.set_fill=function(t){return this.fill=t,t},e.prototype.get_fillColor=function(){return this.fillColor},e.prototype.set_fillColor=function(t){return this.fillColor=t,t},e.prototype.get_lineColor=function(){return this.lineColor},e.prototype.set_lineColor=function(t){return this.lineColor=t,t},e.prototype.get_lineWidth=function(){return this.lineWidth},e.prototype.set_lineWidth=function(t){return this.lineWidth=t,t}})(xe);var Ae=["lineColor","lineWidth"];we.concat(Ae);function Ee(t,e){var n,o;be(t,e);try{for(var i=It(Ae),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}(function(t){function e(e){var n=t.call(this,e)||this;return Ee(e,n),n}Et(e,t),e.prototype.get_lineColor=function(){return this.lineColor},e.prototype.set_lineColor=function(t){return this.lineColor=t,t},e.prototype.get_lineWidth=function(){return this.lineWidth},e.prototype.set_lineWidth=function(t){return this.lineWidth=t,t}})(xe);var Oe=["altColumn","altType","altUnit","autoUpdate","beginRange","cartesianCustomScale","cartesianScale","colorMapColumn","coordinatesType","dataSourceUrl","decay","dynamicData","endDateColumn","endRange","hyperlinkColumn","hyperlinkFormat","latColumn","lngColumn","markerColumn","markerIndex","markerScale","nameColumn","plotType","pointScaleType","raUnits","scaleFactor","showFarSide","sizeColumn","startDateColumn","timeSeries","xAxisColumn","xAxisReverse","yAxisColumn","yAxisReverse","zAxisColumn","zAxisReverse"];ce.concat(Oe);function ze(t,e){var n,o;ue(t,e);try{for(var i=It(Oe),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}(function(t){function e(e){var n=t.call(this,e)||this;return ze(e,n),n}Et(e,t),e.prototype.get_altColumn=function(){return this.altColumn},e.prototype.set_altColumn=function(t){return this.altColumn=t,t},e.prototype.get_altType=function(){return this.altType},e.prototype.set_altType=function(t){return this.altType=t,t},e.prototype.get_altUnit=function(){return this.altUnit},e.prototype.set_altUnit=function(t){return this.altUnit=t,t},e.prototype.get_autoUpdate=function(){return this.autoUpdate},e.prototype.set_autoUpdate=function(t){return this.autoUpdate=t,t},e.prototype.get_beginRange=function(){return this.beginRange},e.prototype.set_beginRange=function(t){return this.beginRange=t,t},e.prototype.get_cartesianCustomScale=function(){return this.cartesianCustomScale},e.prototype.set_cartesianCustomScale=function(t){return this.cartesianCustomScale=t,t},e.prototype.get_cartesianScale=function(){return this.cartesianScale},e.prototype.set_cartesianScale=function(t){return this.cartesianScale=t,t},e.prototype.get_colorMapColumn=function(){return this.colorMapColumn},e.prototype.set_colorMapColumn=function(t){return this.colorMapColumn=t,t},e.prototype.get_coordinatesType=function(){return this.coordinatesType},e.prototype.set_coordinatesType=function(t){return this.coordinatesType=t,t},e.prototype.get_dataSourceUrl=function(){return this.dataSourceUrl},e.prototype.set_dataSourceUrl=function(t){return this.dataSourceUrl=t,t},e.prototype.get_decay=function(){return this.decay},e.prototype.set_decay=function(t){return this.decay=t,t},e.prototype.get_dynamicData=function(){return this.dynamicData},e.prototype.set_dynamicData=function(t){return this.dynamicData=t,t},e.prototype.get_endDateColumn=function(){return this.endDateColumn},e.prototype.set_endDateColumn=function(t){return this.endDateColumn=t,t},e.prototype.get_endRange=function(){return this.endRange},e.prototype.set_endRange=function(t){return this.endRange=t,t},e.prototype.get_hyperlinkColumn=function(){return this.hyperlinkColumn},e.prototype.set_hyperlinkColumn=function(t){return this.hyperlinkColumn=t,t},e.prototype.get_hyperlinkFormat=function(){return this.hyperlinkFormat},e.prototype.set_hyperlinkFormat=function(t){return this.hyperlinkFormat=t,t},e.prototype.get_latColumn=function(){return this.latColumn},e.prototype.set_latColumn=function(t){return this.latColumn=t,t},e.prototype.get_lngColumn=function(){return this.lngColumn},e.prototype.set_lngColumn=function(t){return this.lngColumn=t,t},e.prototype.get_markerColumn=function(){return this.markerColumn},e.prototype.set_markerColumn=function(t){return this.markerColumn=t,t},e.prototype.get_markerIndex=function(){return this.markerIndex},e.prototype.set_markerIndex=function(t){return this.markerIndex=t,t},e.prototype.get_markerScale=function(){return this.markerScale},e.prototype.set_markerScale=function(t){return this.markerScale=t,t},e.prototype.get_nameColumn=function(){return this.nameColumn},e.prototype.set_nameColumn=function(t){return this.nameColumn=t,t},e.prototype.get_plotType=function(){return this.plotType},e.prototype.set_plotType=function(t){return this.plotType=t,t},e.prototype.get_pointScaleType=function(){return this.pointScaleType},e.prototype.set_pointScaleType=function(t){return this.pointScaleType=t,t},e.prototype.get_raUnits=function(){return this.raUnits},e.prototype.set_raUnits=function(t){return this.raUnits=t,t},e.prototype.get_scaleFactor=function(){return this.scaleFactor},e.prototype.set_scaleFactor=function(t){return this.scaleFactor=t,t},e.prototype.get_showFarSide=function(){return this.showFarSide},e.prototype.set_showFarSide=function(t){return this.showFarSide=t,t},e.prototype.get_sizeColumn=function(){return this.sizeColumn},e.prototype.set_sizeColumn=function(t){return this.sizeColumn=t,t},e.prototype.get_startDateColumn=function(){return this.startDateColumn},e.prototype.set_startDateColumn=function(t){return this.startDateColumn=t,t},e.prototype.get_timeSeries=function(){return this.timeSeries},e.prototype.set_timeSeries=function(t){return this.timeSeries=t,t},e.prototype.get_xAxisColumn=function(){return this.xAxisColumn},e.prototype.set_xAxisColumn=function(t){return this.xAxisColumn=t,t},e.prototype.get_xAxisReverse=function(){return this.xAxisReverse},e.prototype.set_xAxisReverse=function(t){return this.xAxisReverse=t,t},e.prototype.get_yAxisColumn=function(){return this.yAxisColumn},e.prototype.set_yAxisColumn=function(t){return this.yAxisColumn=t,t},e.prototype.get_yAxisReverse=function(){return this.yAxisReverse},e.prototype.set_yAxisReverse=function(t){return this.yAxisReverse=t,t},e.prototype.get_zAxisColumn=function(){return this.zAxisColumn},e.prototype.set_zAxisColumn=function(t){return this.zAxisColumn=t,t},e.prototype.get_zAxisReverse=function(){return this.zAxisReverse},e.prototype.set_zAxisReverse=function(t){return this.zAxisReverse=t,t}})(he);var Me=function(){function t(t,e,n){this.payload=t,this.resolve=e,this.reject=n}return t}(),Ie=function(){function t(t){void 0===t&&(t={});var e=this;this.readyPromises=[],this.readyFired=!1,this.arrivePromises=[],this.arriveSeqnum=0,this.collectionLoadedPromises=[],this.collectionRequests=new Map,this.tourReadyPromises=[],this.tourReadySeqnum=0,this.tourEndedCallback=null;var n=new le.WWTControlBuilder(t.elId||"wwt");if(void 0!==t.startInternalRenderLoop&&n.startRenderLoop(t.startInternalRenderLoop),void 0!==t.freestandingAssetBaseurl&&n.freestandingMode(t.freestandingAssetBaseurl),void 0!==t.startLatDeg&&void 0!==t.startLngDeg){var o=t.startZoomDeg||360;n.initialView(t.startLatDeg,t.startLngDeg,o)}void 0!==t.startMode&&n.initialMode(t.startMode),this.si=n.create(),this.ctl=le.WWTControl.singleton,this.lm=le.LayerManager,this.stc=le.SpaceTimeController,this.applySetting(["showConstellationBoundries",!1]),this.applySetting(["showConstellationFigures",!1]),this.applySetting(["showConstellationSelection",!1]),this.applySetting(["showCrosshairs",!1]),this.si.add_ready((function(t){var n,o;try{for(var i=It(e.readyPromises),r=i.next();!r.done;r=i.next()){var a=r.value;a.resolve()}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}e.readyFired=!0,e.readyPromises=[]})),this.si.add_arrived((function(t,n){var o,i;try{for(var r=It(e.arrivePromises),a=r.next();!a.done;a=r.next()){var s=a.value;s.payload<e.arriveSeqnum?s.reject("superseded"):s.resolve()}}catch(l){o={error:l}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(o)throw o.error}}e.arrivePromises=[]})),this.si.add_tourReady((function(t){var n,o;try{for(var i=It(e.tourReadyPromises),r=i.next();!r.done;r=i.next()){var a=r.value;a.payload<e.tourReadySeqnum?a.reject("superseded"):a.resolve()}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}e.tourReadyPromises=[]})),le.TourPlayer.add_tourEnded((function(t){var n=e.getActiveTourPlayer();null!==n&&null!==e.tourEndedCallback&&e.tourEndedCallback(n)}))}return t.prototype.waitForReady=function(){return zt(this,void 0,void 0,(function(){var t=this;return Mt(this,(function(e){return[2,new Promise((function(e,n){t.readyFired?e():t.readyPromises.push(new Me(null,e,n))}))]}))}))},t.prototype.makeArrivePromise=function(t){var e,n,o=this;this.arriveSeqnum+=1;var i=this.arriveSeqnum;try{for(var r=It(this.arrivePromises),a=r.next();!a.done;a=r.next()){var s=a.value;s.reject("superseded")}}catch(l){e={error:l}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return this.arrivePromises=[],new Promise((function(e,n){o.arriveSeqnum>i?n("superseded"):t?e():o.arrivePromises.push(new Me(i,e,n))}))},t.prototype.gotoRADecZoom=function(t,e,n,o,i){return zt(this,void 0,void 0,(function(){return Mt(this,(function(r){return this.ctl.gotoRADecZoom(t*re,e*oe,n,o,i),[2,this.makeArrivePromise(o)]}))}))},t.prototype.timeToRADecZoom=function(t,e,n,o){var i=this.ctl.timeToRADecZoom(t*re,e*oe,n,o);return i},t.prototype.gotoTarget=function(t){return zt(this,void 0,void 0,(function(){return Mt(this,(function(e){return this.ctl.gotoTarget(t.place,t.noZoom,t.instant,t.trackObject),[2,this.makeArrivePromise(t.instant)]}))}))},t.prototype.addImagesetToRepository=function(t){return le.WWTControl.addImageSetToRepository(t)},t.prototype.loadImageCollection=function(t,e){return zt(this,void 0,void 0,(function(){var n,o,i=this;return Mt(this,(function(r){return n=this.collectionRequests.get(t),void 0!==n&&null!==n?[2,Promise.resolve(n)]:(void 0===n&&(this.collectionRequests.set(t,null),o={f:null},void 0===e&&(e=!1),o.f=le.Wtml.getWtmlFile(t,(function(){var e=o.f;i.collectionRequests.set(t,e),i.collectionLoadedPromises=i.collectionLoadedPromises.filter((function(n){return n.payload!=t||(n.resolve(e),!1)}))}),e)),[2,new Promise((function(e,n){var o=i.collectionRequests.get(t);void 0!==o&&null!==o?e(o):i.collectionLoadedPromises.push(new Me(t,e,n))}))])}))}))},t.prototype.addImageSetLayer=function(t){return zt(this,void 0,void 0,(function(){var e=this;return Mt(this,(function(n){return[2,new Promise((function(n,o){e.si.addImageSetLayer(t.url,t.mode,t.name,t.goto,(function(t){n(t)}))}))]}))}))},t.prototype.setImageSetLayerOrder=function(t){this.si.setImageSetLayerOrder(t.id,t.order)},t.prototype.stretchFitsLayer=function(t){var e=this.lm.get_layerList()[t.id];if(e&&e instanceof le.ImageSetLayer){e.setImageScalePhysical(t.stretch,t.vmin,t.vmax);var n=e.getFitsImage();null!==n&&(e.get_imageSet().get_fitsProperties().transparentBlack=!1)}},t.prototype.setFitsLayerColormap=function(t){var e=this.lm.get_layerList()[t.id];e&&e instanceof le.ImageSetLayer&&e.set_colorMapperName(t.name)},t.prototype.applyFitsLayerSettings=function(t){var e,n,o=this.lm.get_layerList()[t.id];if(o&&o instanceof le.ImageSetLayer)try{for(var i=It(t.settings),r=i.next();!r.done;r=i.next()){var a=r.value;de(o,a)}}catch(s){e={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},t.prototype.updateTableLayer=function(t){var e=this.lm.get_layerList()[t.id];e&&e instanceof le.SpreadSheetLayer&&e.updateData(t.dataCsv,!0,!0,!0)},t.prototype.applyTableLayerSettings=function(t){var e,n,o=this.lm.get_layerList()[t.id];if(o&&o instanceof le.SpreadSheetLayer)try{for(var i=It(t.settings),r=i.next();!r.done;r=i.next()){var a=r.value;ye(o,a)}}catch(s){e={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},t.prototype.addCatalogHipsByName=function(t){return zt(this,void 0,void 0,(function(){var e=this;return Mt(this,(function(n){return[2,new Promise((function(n,o){var i=e.ctl.getImagesetByName(t.name);null===i?o():e.ctl.renderContext.addCatalogHips(i,(function(){n(i)}))}))]}))}))},t.prototype.getCatalogHipsDataInView=function(t){return zt(this,void 0,void 0,(function(){var e=this;return Mt(this,(function(n){return[2,new Promise((function(n,o){e.ctl.renderContext.getCatalogHipsDataInView(t.imageset,t.limit,(function(t){n(t)}))}))]}))}))},t.prototype.applySetting=function(t){var e="set_"+t[0],n=t[1];this.si.settings[e](n)},t.prototype.setBackgroundImageByName=function(t){this.ctl.setBackgroundImageByName(t)},t.prototype.setForegroundImageByName=function(t){this.ctl.setForegroundImageByName(t)},t.prototype.setForegroundOpacity=function(t){this.si.setForegroundOpacity(t)},t.prototype.setupForImageset=function(t){var e,n;e=t.background?t.background:this.ctl.getDefaultImageset(t.foreground.get_dataSetType(),t.foreground.get_bandPass()),n=t.foreground.get_levels()>0?t.foreground.get_baseTileDegrees():t.foreground.get_baseTileDegrees()*t.foreground.get_offsetY()*2;var o=new le.Place;o.set_type(t.foreground.get_dataSetType()),o.set_backgroundImageset(e),o.set_studyImageset(t.foreground);var i=!1;switch(t.foreground.get_dataSetType()){case Ut.sky:180==n?i=!0:(o.set_RA(t.foreground.get_centerX()*se),o.set_dec(t.foreground.get_centerY()),o.set_zoomLevel(6*n));break;case Ut.earth:case Ut.planet:o.set_zoomLevel(120),180!=n&&(o.set_lng(t.foreground.get_centerX()),o.set_lat(t.foreground.get_centerY()));break;default:o.set_zoomLevel(360);break}this.ctl.renderContext.set_backgroundImageset(e),this.ctl.gotoTarget(o,i,!0,!0)},t.prototype.getActiveTourPlayer=function(){return null===this.ctl.uiController?null:this.ctl.uiController instanceof le.TourPlayer?this.ctl.uiController:null},t.prototype.getIsTourPlaying=function(t){return le.TourPlayer.get_playing()},t.prototype.loadTour=function(t){return zt(this,void 0,void 0,(function(){var e,n,o,i,r,a,s=this;return Mt(this,(function(l){this.ctl.loadTour(t),this.tourReadySeqnum+=1,e=this.tourReadySeqnum;try{for(n=It(this.tourReadyPromises),o=n.next();!o.done;o=n.next())i=o.value,i.reject("superseded")}catch(c){r={error:c}}finally{try{o&&!o.done&&(a=n.return)&&a.call(n)}finally{if(r)throw r.error}}return this.tourReadyPromises=[],[2,new Promise((function(t,n){s.tourReadySeqnum>e?n("superseded"):s.tourReadyPromises.push(new Me(e,t,n))}))]}))}))},t.prototype.loadAndPlayTour=function(t){return zt(this,void 0,void 0,(function(){var e,n,o,i,r,a,s=this;return Mt(this,(function(l){this.ctl.playTour(t),this.tourReadySeqnum+=1,e=this.tourReadySeqnum;try{for(n=It(this.tourReadyPromises),o=n.next();!o.done;o=n.next())i=o.value,i.reject("superseded")}catch(c){r={error:c}}finally{try{o&&!o.done&&(a=n.return)&&a.call(n)}finally{if(r)throw r.error}}return this.tourReadyPromises=[],[2,new Promise((function(t,n){s.tourReadySeqnum>e?n("superseded"):s.tourReadyPromises.push(new Me(e,t,n))}))]}))}))},t.prototype.getEffectiveTourTimecode=function(){var t=this.getActiveTourPlayer();if(null===t)return 0;var e=t.get_tour();if(null===e)return 0;var n=e.get_currentTourstopIndex();if(n<0)return 0;var o=e.elapsedTimeTillTourstop(n),i=e.get_tourStops()[n],r=i.get_tweenPosition()*i.get_duration()*.001,a=o+r;if(a<0)return 0;var s=.001*e.get_runTime();return a>s?s:a},t.prototype.seekToTourTimecode=function(t){var e=this.getActiveTourPlayer();if(null!==e){var n=e.get_tour();if(null!==n){for(var o=n.get_tourStops(),i=o.length-1,r=0;r<o.length;r++){var a=n.elapsedTimeTillTourstop(r);if(a>=t){i=r-1;break}}i<0&&(i=0),e.playFromTourstop(o[i])}}},t.prototype.captureFrame=function(t){var e=this;return new Promise((function(n,o){e.ctl.captureFrame((function(t){return n(t)}),t.width,t.height,t.format)}))},t.prototype.captureVideo=function(t){var e=this.ctl,n=new ReadableStream({start:function(n){function o(){var o=0;e.captureVideo((function(e){o++,n.enqueue(e),o>=t.totalFrames&&n.close()}),t.width,t.height,t.framesPerSecond,t.totalFrames,t.format)}return o()}});return n},t}(),Re=function(){function t(){this.inst=null,this.onLinkedCallbacks=[]}return t.prototype.link=function(t){var e,n;if(null!==this.inst)throw new Error("must unlink WWT Pinia global state before relinking");this.inst=t;try{for(var o=It(this.onLinkedCallbacks),i=o.next();!i.done;i=o.next()){var r=i.value;r()}}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}this.onLinkedCallbacks=[]},t.prototype.unlink=function(){this.inst=null},t}(),Be=function(){function t(t,e,n,o,i,r){void 0===r&&(r=null),this.url=t,this.name=e,this.type=n,this.description=o,this.extension=i,this.id=r}return t.fromImageset=function(e){var n,o;return new t(e.get_url(),e.get_name(),e.get_dataSetType(),e.get_creditsText(),e.get_extension(),null!==(o=null===(n=e.get_hipsProperties())||void 0===n?void 0:n.get_catalogSpreadSheetLayer().id.toString())&&void 0!==o?o:null)},t}(),Ne=function(){function t(t,e,n){this.id=t,this.referenceFrame=e,this.name=null!==n&&void 0!==n?n:t}return t.prototype.setName=function(t){this.name=t},t}(),De=function(){function t(t){this.guidText=t.id.toString(),this.settings=new me(t);var e=t.get_imageSet().get_fitsProperties();this.scaleType=e.scaleType,this.vmin=e.lowerCut,this.vmax=e.upperCut,this.colormapName=e.colorMapName}return t.prototype.getGuid=function(){return this.guidText},t}();function Fe(t){if(null===t.inst)throw new Error("cannot get activeLayersList without linking to WWTInstance");var e=[];function n(t){var o,i,r,a;try{for(var s=It(t.layers),l=s.next();!l.done;l=s.next()){var c=l.value;e.push(c.id.toString())}}catch(p){o={error:p}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}try{for(var u=It(Object.entries(t.childMaps)),h=u.next();!h.done;h=u.next()){var f=Rt(h.value,2),d=(f[0],f[1]);n(d)}}catch(m){r={error:m}}finally{try{h&&!h.done&&(a=u.return)&&a.call(u)}finally{if(r)throw r.error}}}var o=t.inst.lm.get_allMaps()[t.inst.ctl.getCurrentReferenceFrame()];return o&&n(o),e}function je(){return le.WWTControl.getImageSets().map(Be.fromImageset)}var We=Tt("wwt-engine",{state:function(){return{activeLayers:[],availableImagesets:[],backgroundImageset:null,clockDiscontinuities:0,clockRate:1,currentTime:new Date,decRad:0,foregroundImageset:null,foregroundOpacity:100,imagesetLayers:{},isTourPlayerActive:!1,isTourPlaying:!1,raRad:0,renderType:Ut.sky,rollRad:0,spreadSheetLayers:{},timeAtStartup:Date.now(),tourCompletions:0,tourRunTime:null,tourStopStartTimes:[],tourTimecode:0,showWebGl2Warning:!1,zoomDeg:0}},getters:{lookupImageset:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot lookupImageset without linking to WWTInstance");return e.$wwt.inst.ctl.getImagesetByName(t)}},findRADecForScreenPoint:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot findRADecForScreenPoint without linking to WWTInstance");var n=e.$wwt.inst.ctl.getCoordinatesForScreenPoint(t.x,t.y);return{ra:(15*n.x+720)%360,dec:n.y}}},findScreenPointForRADec:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot findScreenPointForRADec without linking to WWTInstance");return e.$wwt.inst.ctl.getScreenPointForCoordinates(t.ra/15,t.dec)}},imagesetStateForLayer:function(t){return function(e){return t.imagesetLayers[e]||null}},activeImagesetLayerStates:function(){var t,e,n=[];try{for(var o=It(this.activeLayers),i=o.next();!i.done;i=o.next()){var r=i.value,a=this.imagesetLayers[r];a&&n.push(a)}}catch(s){t={error:s}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return n},catalogLayerKey:function(t){return function(t){var e;return null!==(e=t.id)&&void 0!==e?e:""}},imagesetForLayer:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot get imagesetForLayer without linking to WWTInstance");var n=e.$wwt.inst.lm.get_layerList()[t];return null!==n&&n instanceof le.ImageSetLayer?n.get_imageSet():null}},imagesetLayerById:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot get imagesetLayerById without linking to WWTInstance");var n=e.layerById(t);return null!==n&&n instanceof le.ImageSetLayer?n:null}},layerForHipsCatalog:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot get layerForHipsCatalog without linking to WWTInstance");var n=le.Guid.createFrom(t).toString();return e.spreadSheetLayerById(n)}},layerById:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot get layerById without linking to WWTInstance");return e.$wwt.inst.lm.get_layerList()[t]}},spreadsheetStateForHipsCatalog:function(t){var e=this;return function(n){if(null===e.$wwt.inst)throw new Error("cannot get spreadsheetStateForHipsCatalog without linking to WWTInstance");var o=le.Guid.createFrom(n).toString();return t.spreadSheetLayers[o]||null}},spreadSheetLayerById:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot get spreadsheetLayerById without linking to WWTInstance");var n=e.layerById(t);return null!==n&&n instanceof le.SpreadSheetLayer?n:null}},spreadsheetStateById:function(t){return function(e){return t.spreadSheetLayers[e]||null}},spreadSheetLayer:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot get spreadSheetLayer without linking to WWTInstance");var n=e.catalogLayerKey(t);return e.spreadSheetLayerById(n)}},spreadsheetState:function(t){var e=this;return function(n){var o=e.catalogLayerKey(n);return t.spreadSheetLayers[o]||null}}},actions:{internalLinkToInstance:function(t){this.$wwt.link(t)},internalUnlinkFromInstance:function(){this.$wwt.unlink()},internalUpdate:function(){if(null===this.$wwt.inst)throw new Error("cannot internalUpdate without linking to WWTInstance");var t=this.$wwt.inst,e=t.si.getRA()*ae;this.raRad!=e&&(this.raRad=e);var n=t.si.getDec()*ie;this.decRad!=n&&(this.decRad=n);var o=t.ctl.renderContext.viewCamera.zoom;this.zoomDeg!=o&&(this.zoomDeg=o);var i=t.ctl.renderContext.viewCamera.rotation;this.rollRad!=i&&(this.rollRad=i);var r=t.ctl.renderContext.get_backgroundImageset()||null;this.backgroundImageset!=r&&(this.backgroundImageset=r);var a=t.stc.get_now();this.currentTime!=a&&(this.currentTime=a);var s=t.ctl.renderContext.get_foregroundImageset()||null;this.foregroundImageset!=s&&(this.foregroundImageset=s),this.foregroundOpacity!=t.ctl.renderContext.viewCamera.opacity&&(this.foregroundOpacity=t.ctl.renderContext.viewCamera.opacity),this.renderType!=t.ctl.renderType&&(this.renderType=t.ctl.renderType);var l=t.getActiveTourPlayer();this.tourTimecode=t.getEffectiveTourTimecode(),null!==l?(this.isTourPlayerActive=!0,this.isTourPlaying=t.getIsTourPlaying(l)):(this.isTourPlayerActive=!1,this.isTourPlaying=!1);var c=!t.si.isUsingWebGl2()&&Date.now()-this.timeAtStartup<15e3;this.showWebGl2Warning!=c&&(this.showWebGl2Warning=c)},internalIncrementTourCompletions:function(){this.tourCompletions+=1},applySetting:function(t){if(null===this.$wwt.inst)throw new Error("cannot applySetting without linking to WWTInstance");this.$wwt.inst.applySetting(t)},setBackgroundImageByName:function(t){if(null===this.$wwt.inst)throw new Error("cannot setBackgroundImageByName without linking to WWTInstance");this.$wwt.inst.setBackgroundImageByName(t)},setForegroundImageByName:function(t){if(null===this.$wwt.inst)throw new Error("cannot setForegroundImageByName without linking to WWTInstance");this.$wwt.inst.setForegroundImageByName(t)},setForegroundOpacity:function(t){if(null===this.$wwt.inst)throw new Error("cannot setForegroundOpacity without linking to WWTInstance");this.$wwt.inst.setForegroundOpacity(t),this.foregroundOpacity=t},setupForImageset:function(t){if(null===this.$wwt.inst)throw new Error("cannot setupForImageset without linking to WWTInstance");this.$wwt.inst.setupForImageset(t)},zoom:function(t){if(null===this.$wwt.inst)throw new Error("cannot zoom without linking to WWTInstance");this.$wwt.inst.ctl.zoom(t)},move:function(t){if(null===this.$wwt.inst)throw new Error("cannot move without linking to WWTInstance");this.$wwt.inst.ctl.move(t.x,t.y)},tilt:function(t){if(null===this.$wwt.inst)throw new Error("cannot tilt without linking to WWTInstance");this.$wwt.inst.ctl._tilt(t.x,t.y)},setTime:function(t){if(null===this.$wwt.inst)throw new Error("cannot setTime without linking to WWTInstance");this.$wwt.inst.stc.set_now(t),this.clockDiscontinuities+=1},setClockRate:function(t){if(null===this.$wwt.inst)throw new Error("cannot setClockRate without linking to WWTInstance");this.$wwt.inst.stc.get_timeRate()!=t&&(this.$wwt.inst.stc.set_timeRate(t),this.clockRate=t,this.clockDiscontinuities+=1)},setClockSync:function(t){if(null===this.$wwt.inst)throw new Error("cannot setClockSync without linking to WWTInstance");this.$wwt.inst.stc.get_syncToClock()!=t&&(this.$wwt.inst.stc.set_syncToClock(t),this.clockRate=t?this.$wwt.inst.stc.get_timeRate():0,this.clockDiscontinuities+=1)},startTour:function(){if(null===this.$wwt.inst)throw new Error("cannot start tour without linking to WWTInstance");var t=this.$wwt.inst.getActiveTourPlayer();if(null===t)throw new Error("no tour to start");t.play()},toggleTourPlayPauseState:function(){if(null===this.$wwt.inst)throw new Error("cannot play/pause tour without linking to WWTInstance");var t=this.$wwt.inst.getActiveTourPlayer();if(null===t)throw new Error("no tour to play/pause");t.pauseTour()},setTourPlayerLeaveSettingsWhenStopped:function(t){if(null===this.$wwt.inst)throw new Error("cannot setTourPlayerLeaveSettingsWhenStopped without linking to WWTInstance");var e=this.$wwt.inst.getActiveTourPlayer();if(null===e)throw new Error("no tour player to control");e.set_leaveSettingsWhenStopped(t)},seekToTourTimecode:function(t){if(null===this.$wwt.inst)throw new Error("cannot seekToTourTimecode without linking to WWTInstance");this.$wwt.inst.seekToTourTimecode(t)},viewAsTourXml:function(t){return zt(this,void 0,void 0,(function(){var e,n,o,i,r;return Mt(this,(function(a){return le.WWTControl.singleton.createTour(t||""),e=le.WWTControl.singleton.tourEdit,e.addSlide(!1),n=e.get_tour(),null===n?[2,Promise.resolve(null)]:(o=n.saveToBlob(),i=new FileReader,i.readAsText(o),r="",[2,new Promise((function(t,e){i.onloadend=function(){r+=i.result,t(r)}}))])}))}))},waitForReady:function(){return zt(this,void 0,void 0,(function(){var t=this;return Mt(this,(function(e){return null!==this.$wwt.inst?[2,this.$wwt.inst.waitForReady()]:[2,new Promise((function(e,n){var o=function(){t.$wwt.inst.waitForReady().then(e)};null!==t.$wwt.inst?o():t.$wwt.onLinkedCallbacks.push(o)}))]}))}))},gotoRADecZoom:function(t){var e=t.raRad,n=t.decRad,o=t.zoomDeg,i=t.instant,r=t.rollRad;return zt(this,void 0,void 0,(function(){return Mt(this,(function(t){if(null===this.$wwt.inst)throw new Error("cannot gotoRADecZoom without linking to WWTInstance");return[2,this.$wwt.inst.gotoRADecZoom(e,n,o,i,r)]}))}))},timeToRADecZoom:function(t){var e=t.raRad,n=t.decRad,o=t.zoomDeg,i=t.rollRad;if(null===this.$wwt.inst)throw new Error("cannot get timeToRADecZoom without linking to WWTInstance");return this.$wwt.inst.timeToRADecZoom(e,n,o,i)},gotoTarget:function(t){return zt(this,void 0,void 0,(function(){return Mt(this,(function(e){if(null===this.$wwt.inst)throw new Error("cannot gotoTarget without linking to WWTInstance");return[2,this.$wwt.inst.gotoTarget(t)]}))}))},setTrackedObject:function(t){if(null===this.$wwt.inst)throw new Error("cannot setTrackedObject without linking to WWTInstance");this.$wwt.inst.ctl.renderContext.set_solarSystemTrack(t)},loadTour:function(t){var e=t.url,n=t.play;return zt(this,void 0,void 0,(function(){var t,o,i,r,a,s;return Mt(this,(function(l){switch(l.label){case 0:if(null===this.$wwt.inst)throw new Error("cannot loadTour without linking to WWTInstance");return n?[4,this.$wwt.inst.loadAndPlayTour(e)]:[3,2];case 1:return l.sent(),[3,4];case 2:return[4,this.$wwt.inst.loadTour(e)];case 3:l.sent(),l.label=4;case 4:if(t=null,o=[],i=this.$wwt.inst.getActiveTourPlayer(),null!==i&&(r=i.get_tour(),null!==r))for(t=.001*r.get_runTime(),a=r.get_tourStops().length,s=0;s<a;s++)o.push(r.elapsedTimeTillTourstop(s));return[2,{tourRunTime:t,tourStopStartTimes:o}]}}))}))},loadImageCollection:function(t){var e=t.url,n=t.loadChildFolders;return zt(this,void 0,void 0,(function(){var t;return Mt(this,(function(o){switch(o.label){case 0:if(null===this.$wwt.inst)throw new Error("cannot loadImageCollection without linking to WWTInstance");return[4,this.$wwt.inst.loadImageCollection(e,n)];case 1:return t=o.sent(),this.availableImagesets=je(),[2,t]}}))}))},addImagesetToRepository:function(t){if(null===this.$wwt.inst)throw new Error("cannot addImagesetToRepository without linking to WWTInstance");return this.$wwt.inst.addImagesetToRepository(t)},deleteLayer:function(t){if(null===this.$wwt.inst)throw new Error("cannot deleteLayer without linking to WWTInstance");var e="";if("string"===typeof t){e=t;var n=le.Guid.fromString(t);this.$wwt.inst.lm.deleteLayerByID(n,!0,!0)}else e=t.toString(),this.$wwt.inst.lm.deleteLayerByID(t,!0,!0);delete this.imagesetLayers[e],delete this.spreadSheetLayers[e],this.activeLayers=Fe(this.$wwt)},addImageSetLayer:function(t){return zt(this,void 0,void 0,(function(){var e,n;return Mt(this,(function(o){switch(o.label){case 0:if(null===this.$wwt.inst)throw new Error("cannot addImageSetLayer without linking to WWTInstance");return[4,this.$wwt.inst.addImageSetLayer(t)];case 1:return e=o.sent(),n=e.id.toString(),this.imagesetLayers[n]=new De(e),this.activeLayers=Fe(this.$wwt),[2,e]}}))}))},loadFitsLayer:function(t){return zt(this,void 0,void 0,(function(){var e;return Mt(this,(function(n){if(null===this.$wwt.inst)throw new Error("cannot loadFitsLayer without linking to WWTInstance");return e={url:t.url,mode:"fits",name:t.name,goto:t.gotoTarget},[2,this.$wwt.inst.addImageSetLayer(e)]}))}))},setImageSetLayerOrder:function(t){if(null===this.$wwt.inst)throw new Error("cannot setImageSetLayerOrder without linking to WWTInstance");this.$wwt.inst.setImageSetLayerOrder(t),this.activeLayers=Fe(this.$wwt)},stretchFitsLayer:function(t){if(null===this.$wwt.inst)throw new Error("cannot stretchFitsLayer without linking to WWTInstance");this.$wwt.inst.stretchFitsLayer(t);var e=this.imagesetLayers[t.id];e&&(e.scaleType=t.stretch,e.vmin=t.vmin,e.vmax=t.vmax)},setFitsLayerColormap:function(t){if(null===this.$wwt.inst)throw new Error("cannot setFitsLayerColormap without linking to WWTInstance");this.$wwt.inst.setFitsLayerColormap(t);var e=this.imagesetLayers[t.id];e&&(e.colormapName=t.name)},applyFitsLayerSettings:function(t){var e,n;if(null===this.$wwt.inst)throw new Error("cannot applyFitsLayerSettings without linking to WWTInstance");this.$wwt.inst.applyFitsLayerSettings(t);var o=this.imagesetLayers[t.id];if(o)try{for(var i=It(t.settings),r=i.next();!r.done;r=i.next()){var a=r.value;de(o.settings,a)}}catch(s){e={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},createTableLayer:function(t){return zt(this,void 0,void 0,(function(){var e,n,o,i;return Mt(this,(function(r){switch(r.label){case 0:if(null===this.$wwt.inst)throw new Error("cannot createTableLayer without linking to WWTInstance");return e=this.$wwt.inst.lm.createSpreadsheetLayer(t.referenceFrame,t.name,t.dataCsv),e.set_lngColumn(-1),e.set_latColumn(-1),e.set_altColumn(-1),e.set_sizeColumn(-1),e.set_colorMapColumn(-1),e.set_startDateColumn(-1),e.set_endDateColumn(-1),e.set_xAxisColumn(-1),e.set_yAxisColumn(-1),e.set_zAxisColumn(-1),e.set_altUnit(Nt.meters),e.set_referenceFrame(t.referenceFrame),"Sky"==t.referenceFrame&&e.set_astronomical(!0),n=Promise.resolve(e),[4,n];case 1:return o=r.sent(),i=o.id.toString(),this.spreadSheetLayers[i]=new _e(o),this.activeLayers=Fe(this.$wwt),[2,o]}}))}))},applyTableLayerSettings:function(t){var e,n;if(null===this.$wwt.inst)throw new Error("cannot applyTableLayerSettings without linking to WWTInstance");this.$wwt.inst.applyTableLayerSettings(t);var o=this.spreadSheetLayers[t.id];if(void 0!==o)try{for(var i=It(t.settings),r=i.next();!r.done;r=i.next()){var a=r.value;ye(o,a)}}catch(s){e={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},updateTableLayer:function(t){if(null===this.$wwt.inst)throw new Error("cannot updateTableLayer without linking to WWTInstance");this.$wwt.inst.updateTableLayer(t)},addCatalogHipsByName:function(t){return zt(this,void 0,void 0,(function(){var e,n,o,i,r;return Mt(this,(function(a){switch(a.label){case 0:if(null==this.$wwt.inst)throw new Error("cannot addCatalogHipsByName without linking to WWTInstance");return[4,this.$wwt.inst.addCatalogHipsByName(t)];case 1:return e=a.sent(),n=e.get_hipsProperties(),null!==n&&(o=n.get_catalogSpreadSheetLayer(),i=o.id.toString(),this.spreadSheetLayers[i]=new _e(o),r=je().find((function(e){return e.name===t.name})),void 0!==r&&(r.id=i)),this.activeLayers=Fe(this.$wwt),[2,e]}}))}))},getCatalogHipsDataInView:function(t){if(null==this.$wwt.inst)throw new Error("cannot getCatalogHipsDataInView without linking to WWTInstance");return this.$wwt.inst.getCatalogHipsDataInView(t)},removeCatalogHipsByName:function(t){if(null==this.$wwt.inst)throw new Error("cannot removeCatalogHipsByName without linking to WWTInstance");this.$wwt.inst.ctl.removeCatalogHipsByName(t);var e=le.Guid.createFrom(t).toString();delete this.spreadSheetLayers[e],this.activeLayers=Fe(this.$wwt)},addAnnotation:function(t){if(null===this.$wwt.inst)throw new Error("cannot addAnnotation without linking to WWTInstance");this.$wwt.inst.si.addAnnotation(t)},removeAnnotation:function(t){if(null===this.$wwt.inst)throw new Error("cannot removeAnnotation without linking to WWTInstance");this.$wwt.inst.si.removeAnnotation(t)},clearAnnotations:function(){if(null===this.$wwt.inst)throw new Error("cannot clearAnnotations without linking to WWTInstance");this.$wwt.inst.si.clearAnnotations()},captureFrame:function(t){if(null===this.$wwt.inst)throw new Error("cannot captureThumbnail without linking to WWTInstance");return this.$wwt.inst.captureFrame(t)},captureVideo:function(t){if(null===this.$wwt.inst)throw new Error("cannot captureVideo without linking to WWTInstance");return this.$wwt.inst.captureVideo(t)}}}),Ze=(0,o.defineComponent)({props:{wwtNamespace:{type:String,default:"wwt",required:!0},wwtFreestandingAssetBaseurl:String},computed:Ot(Ot({},Pt(We,{wwtActiveLayers:"activeLayers",wwtAvailableImagesets:"availableImagesets",wwtBackgroundImageset:"backgroundImageset",wwtCurrentTime:"currentTime",wwtClockDiscontinuities:"clockDiscontinuities",wwtClockRate:"clockRate",wwtDecRad:"decRad",wwtForegroundImageset:"foregroundImageset",wwtForegroundOpacity:"foregroundOpacity",wwtImagesetLayers:"imagesetLayers",wwtIsTourPlayerActive:"isTourPlayerActive",wwtIsTourPlaying:"isTourPlaying",wwtRARad:"raRad",wwtRenderType:"renderType",wwtRollRad:"rollRad",wwtShowWebGl2Warning:"showWebGl2Warning",wwtSpreadSheetLayers:"spreadSheetLayers",wwtTourCompletions:"tourCompletions",wwtTourRunTime:"tourRunTime",wwtTourStopStartTimes:"tourStopStartTimes",wwtTourTimecode:"tourTimecode",wwtZoomDeg:"zoomDeg"})),Pt(We,["activeImagesetLayerStates","findRADecForScreenPoint","findScreenPointForRADec","imagesetForLayer","imagesetStateForLayer","layerForHipsCatalog","lookupImageset","spreadSheetLayerById","spreadSheetLayer","spreadsheetState","spreadsheetStateById","spreadsheetStateForHipsCatalog"])),methods:Ot({},Lt(We,["addCatalogHipsByName","createTableLayer","getCatalogHipsDataInView","gotoRADecZoom","timeToRADecZoom","gotoTarget","loadImageCollection","addImagesetToRepository","loadFitsLayer","addImageSetLayer","loadTour","viewAsTourXml","waitForReady","addAnnotation","applyFitsLayerSettings","applyTableLayerSettings","applySetting","captureFrame","captureVideo","clearAnnotations","deleteLayer","removeAnnotation","removeCatalogHipsByName","seekToTourTimecode","setBackgroundImageByName","setClockRate","setClockSync","setFitsLayerColormap","setForegroundImageByName","setForegroundOpacity","setImageSetLayerOrder","setTourPlayerLeaveSettingsWhenStopped","setTime","setTrackedObject","setupForImageset","startTour","stretchFitsLayer","toggleTourPlayPauseState","updateTableLayer","zoom","move","tilt"]))}),Ve=["id"];function He(t,e,n,i,r,a){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{id:t.uniqueId,class:"wwtelescope-component"},null,8,Ve)}var $e=0;const Ue=(0,o.defineComponent)({props:{wwtNamespace:{type:String,default:"wwt",required:!0},wwtFreestandingAssetBaseurl:String,customId:String},data:function(){return{uniqueId:"",wwt:void 0,renderLoopId:void 0}},methods:Ot({},Lt(We,["internalIncrementTourCompletions","internalLinkToInstance","internalUnlinkFromInstance","internalUpdate","waitForReady"])),created:function(){var t=void 0===this.customId?"wwtcmpt".concat($e):this.customId;Object.defineProperties(this,{uniqueId:{get:function(){return t}}}),$e+=1},mounted:function(){var t=this;this.wwt=(0,o.markRaw)(new Ie({elId:this.uniqueId,startInternalRenderLoop:!1,startLatDeg:-28.9,startLngDeg:93.6,freestandingAssetBaseurl:this.wwtFreestandingAssetBaseurl})),this.internalLinkToInstance(this.wwt);var e=function(){var n=t.wwt;t.renderLoopId=window.requestAnimationFrame(e),n.ctl.renderOneFrame(),t.internalUpdate()};this.waitForReady().then((function(){(0,o.nextTick)().then((function(){t.renderLoopId=window.requestAnimationFrame(e)}))})),this.wwt.tourEndedCallback=function(e){t.internalIncrementTourCompletions()}},unmounted:function(){void 0!==this.renderLoopId&&(window.cancelAnimationFrame(this.renderLoopId),this.renderLoopId=void 0),void 0!==this.wwt&&(this.wwt.tourEndedCallback=null),this.internalUnlinkFromInstance()}});var Ge=r(959);const qe=(0,Ge.Z)(Ue,[["render",He]]),Ye=qe;var Ke=dt();Ke.use((function(t){var e=t.store;e.$wwt=new Re}))})(),a})()))},101:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>g});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=n(417),l=n.n(s),c=new URL(n(648),n.b),u=new URL(n(577),n.b),h=new URL(n(24),n.b),f=a()(i()),d=l()(c),p=l()(u),m=l()(h);f.push([t.id,`.leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-bottom,.leaflet-top{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:hsla(0,0%,100%,.5)}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px rgba(0,0,0,.65);border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:focus,.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px rgba(0,0,0,.4);background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(${d});width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(${p});background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(${m})}.leaflet-container .leaflet-control-attribution{background:#fff;background:hsla(0,0%,100%,.8);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:focus,.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;box-sizing:border-box;background:hsla(0,0%,100%,.8);text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:17px 0;margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px rgba(0,0,0,.4)}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:focus,.leaflet-container a.leaflet-popup-close-button:hover{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678)}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px rgba(0,0,0,.4)}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}`,""]);const g=f},908:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,'.v-icon{--v-icon-size-multiplier:1;align-items:center;display:inline-flex;font-feature-settings:"liga";height:1em;justify-content:center;letter-spacing:normal;line-height:1;position:relative;text-indent:0;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:1em;min-width:1em}.v-icon--clickable{cursor:pointer}.v-icon--size-x-small{font-size:calc(var(--v-icon-size-multiplier)*1em)}.v-icon--size-small{font-size:calc(var(--v-icon-size-multiplier)*1.25em)}.v-icon--size-default{font-size:calc(var(--v-icon-size-multiplier)*1.5em)}.v-icon--size-large{font-size:calc(var(--v-icon-size-multiplier)*1.75em)}.v-icon--size-x-large{font-size:calc(var(--v-icon-size-multiplier)*2em)}.v-icon__svg{fill:currentColor;width:100%;height:100%}.v-icon--start{margin-inline-end:8px}.v-icon--end{margin-inline-start:8px}',""]);const l=s},42:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,".v-overlay-container{contain:layout;left:0;pointer-events:none;position:absolute;top:0;display:contents}.v-overlay-scroll-blocked{padding-inline-end:var(--v-scrollbar-offset)}.v-overlay-scroll-blocked:not(html){overflow-y:hidden!important}html.v-overlay-scroll-blocked{position:fixed;top:var(--v-body-scroll-y);left:var(--v-body-scroll-x);width:100%;height:100%}.v-overlay{border-radius:inherit;display:flex;left:0;pointer-events:none;position:fixed;top:0;bottom:0;right:0}.v-overlay__content{outline:none;position:absolute;pointer-events:auto;contain:layout}.v-overlay__scrim{pointer-events:auto;background:rgb(var(--v-theme-on-surface));border-radius:inherit;bottom:0;left:0;opacity:var(--v-overlay-opacity,.32);position:fixed;right:0;top:0}.v-overlay--absolute,.v-overlay--contained .v-overlay__scrim{position:absolute}.v-overlay--scroll-blocked{padding-inline-end:var(--v-scrollbar-offset)}",""]);const l=s},140:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,".v-tooltip>.v-overlay__content{background:rgb(var(--v-theme-surface-variant));color:rgb(var(--v-theme-on-surface-variant));border-radius:4px;font-size:.875rem;line-height:1.6;display:inline-block;padding:5px 16px;text-transform:none;width:auto;opacity:1;pointer-events:none;transition-property:opacity,transform;overflow-wrap:break-word}.v-tooltip>.v-overlay__content[class*=enter-active]{transition-timing-function:cubic-bezier(0,0,.2,1);transition-duration:.15s}.v-tooltip>.v-overlay__content[class*=leave-active]{transition-timing-function:cubic-bezier(.4,0,1,1);transition-duration:75ms}",""]);const l=s},396:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,"#credits{color:#ddd;font-size:calc(.7em + .2vw);justify-self:flex-end;align-self:flex-end;display:flex;justify-content:center;align-items:center}#credits p{margin:0;padding:0;line-height:1}#credits a{text-decoration:none;color:#fff;pointer-events:auto}#credits a:hover{text-decoration:underline}#credits a[class^=share-network]:hover{text-decoration:none;filter:brightness(75%)}#credits img{height:35px;vertical-align:middle;margin:2px}@media only screen and (max-width:600px){#credits img{height:24px}}#credits svg{vertical-align:middle;height:24px}",""]);const l=s},197:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,"#funding-acknowledgment{color:#e0e0e0;background-color:#0c3d91;font-size:calc(.8em + .1vw + .1vh);line-height:calc(1em + .3vw + .3vh);padding-inline:1em;padding-block:.7em;justify-self:flex-end;align-self:flex-end;display:flex;justify-content:center;align-items:center;border-radius:5px}",""]);const l=s},514:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,".gallery-root{transition-property:height,width;transition:.5s ease-out}.gallery-root .blurred{background:transparent;box-shadow:0 4px 30px rgba(0,0,0,.1);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.gallery-root .gallery{border-radius:5px;border:1px solid #fff;display:flex;flex-direction:column;overflow-y:auto;max-height:var(--gallery-max-height);width:min();position:fixed;left:50%;transform:translateX(-50%)}.gallery-root .noselect{-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.gallery-root .gallery-header{position:relative;display:flex;justify-content:center}.gallery-root .gallery-title{font-size:16pt}.gallery-root .gallery-close{position:absolute;right:3px;cursor:pointer}.gallery-root .gallery-content{display:grid;grid-template-columns:repeat(var(--column-count),minmax(100px,1fr));-moz-column-gap:10px;column-gap:10px;row-gap:5px;padding:5px}.gallery-root .default-activator{border-radius:3px;border:1px solid #fff;position:relative;height:-moz-fit-content;height:fit-content;width:-moz-fit-content;width:fit-content;display:flex;flex-direction:column;cursor:pointer}.gallery-root .default-activator img{padding:5px;border-radius:3px}.gallery-root .default-activator-title{margin:auto}.gallery-root .gallery-item{border-radius:3px;border:1px solid #fff;display:flex;flex-direction:column;cursor:pointer}.gallery-root .gallery-item img{margin-left:auto;margin-right:auto;border-radius:3px;width:96px;height:45px;-o-object-fit:cover;object-fit:cover}.gallery-root .gallery-item span{flex-grow:1;display:inline-grid;align-items:center;text-align:center}.gallery-root .selected{border:1px solid var(--selected-color)}.gallery-root .selected span{color:var(--selected-color)}.gallery-root .place-name{font-size:10pt}",""]);const l=s},688:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,".icon-wrapper{color:var(--color);border-color:var(--color);background:var(--background-color);padding:6px 8px;border:1px solid var(--color);display:flex;align-items:center;justify-content:center;pointer-events:auto;border-radius:20px}.icon-wrapper:hover{cursor:pointer}.icon-wrapper:focus{color:var(--focus-color);border-color:var(--focus-color)}.icon-wrapper.active{box-shadow:0 0 10px 3px var(--active-shadow)}.icon-wrapper.active:focus{box-shadow:0 0 10px 3px var(--focus-shadow)}",""]);const l=s},442:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,'.map-container{height:100%;width:100%;margin:auto;padding:5px 0;border-radius:5px}.map-container .leaflet-bottom.leaflet-right:before{content:" Credit: ยฉ Leaflet.js";top:100%;left:100%;transform:translate(-100%,-100%);pointer-events:auto;color:#0078a8;background-color:hsla(0,0%,100%,.8);font-size:.75em;padding-inline:.5em;padding-block:.3em}.map-container .leaflet-bottom.leaflet-right:hover:before{content:"";background-color:transparent}.map-container .leaflet-bottom.leaflet-right:hover>.leaflet-control-attribution{display:block}.map-container .leaflet-control-attribution{display:none}.map-container path.leaflet-interactive:focus{outline:none}.map-container path.leaflet-interactive:focus-visible{outline:5px auto #000}',""]);const l=s},455:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,"#wwt-hud{position:absolute;top:var(--hud-top);left:var(--hud-left);bottom:var(--hud-bottom);right:var(--hud-right);padding:.5em;transform:translate(var(--offset-center-x),var(--offset-center-y));color:#fff;font-size:var(--font-size);font-family:monospace;text-align:center;text-shadow:var(--text-shadow);pointer-events:auto;text-align:left;background-color:var(--background-color)}",""]);const l=s},999:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,"#logo-credits img{height:var(--logo-size)}",""]);const l=s},314:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",o="undefined"!==typeof e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),o&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),o&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,o,i,r){"string"===typeof t&&(t=[[null,t,void 0]]);var a={};if(o)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);o&&a[u[0]]||("undefined"!==typeof r&&("undefined"===typeof u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=r),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},417:t=>{"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},601:t=>{"use strict";t.exports=function(t){return t[1]}},481:function(t,e){
|
|
1
|
+
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue"),require("@wwtelescope/engine")):"function"===typeof define&&define.amd?define([,"@wwtelescope/engine"],e):"object"===typeof exports?exports["index"]=e(require("vue"),require("@wwtelescope/engine")):t["index"]=e(t["Vue"],t["wwtlib"])})("undefined"!==typeof self?self:this,((t,e)=>(()=>{var n={883:function(t,e,n){(function(e,o){t.exports=o(n(380),n(274))})("undefined"!==typeof self&&self,((t,e)=>(()=>{"use strict";var o={959:(t,e)=>{e.Z=(t,e)=>{const n=t.__vccOpts||t;for(const[o,i]of e)n[o]=i;return n}},415:e=>{e.exports=t},203:t=>{t.exports=e}},i={};function r(t){var e=i[t];if(void 0!==e)return e.exports;var n=i[t]={exports:{}};return o[t](n,n.exports,r),n.exports}(()=>{r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}})(),(()=>{r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()})(),(()=>{r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})(),(()=>{r.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})(),(()=>{r.p=""})();var a={};return(()=>{if(r.r(a),r.d(a,{ImageSetLayerState:()=>De,ImagesetInfo:()=>Be,SpreadSheetLayerInfo:()=>Ne,WWTAwareComponent:()=>Ze,WWTComponent:()=>Ye,engineStore:()=>We,wwtPinia:()=>Ke}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(r.p=e[1])}var o=r(203),i=!1;function s(t,e,n){return Array.isArray(t)?(t.length=Math.max(t.length,e),t.splice(e,1,n),n):(t[e]=n,n)}function l(){return c().__VUE_DEVTOOLS_GLOBAL_HOOK__}function c(){return"undefined"!==typeof navigator&&"undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:{}}const u="function"===typeof Proxy,h="devtools-plugin:setup",d="plugin:settings:set";let f,p,m;function g(){var t;return void 0!==f||("undefined"!==typeof window&&window.performance?(f=!0,p=window.performance):"undefined"!==typeof r.g&&(null===(t=r.g.perf_hooks)||void 0===t?void 0:t.performance)?(f=!0,p=r.g.perf_hooks.performance):f=!1),f}function y(){return g()?p.now():Date.now()}class v{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const a in t.settings){const e=t.settings[a];n[a]=e.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},n);try{const t=localStorage.getItem(o),e=JSON.parse(t);Object.assign(i,e)}catch(r){}this.fallbacks={getSettings(){return i},setSettings(t){try{localStorage.setItem(o,JSON.stringify(t))}catch(r){}i=t},now(){return y()}},e&&e.on(d,((t,e)=>{t===this.plugin.id&&this.fallbacks.setSettings(e)})),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise((n=>{this.targetQueue.push({method:e,args:t,resolve:n})}))})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function _(t,e){const n=t,o=c(),i=l(),r=u&&n.enableEarlyProxy;if(!i||!o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&r){const t=r?new v(n,i):null,a=o.__VUE_DEVTOOLS_PLUGINS__=o.__VUE_DEVTOOLS_PLUGINS__||[];a.push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else i.emit(h,t,e)}const w=t=>m=t,b=Symbol();function x(t){return t&&"object"===typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!==typeof t.toJSON}var k;(function(t){t["direct"]="direct",t["patchObject"]="patch object",t["patchFunction"]="patch function"})(k||(k={}));const S="undefined"!==typeof window,C=!1,T=(()=>"object"===typeof window&&window.window===window?window:"object"===typeof self&&self.self===self?self:"object"===typeof n.g&&n.g.global===n.g?n.g:"object"===typeof globalThis?globalThis:{HTMLElement:null})();function P(t,{autoBom:e=!1}={}){return e&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}function L(t,e,n){const o=new XMLHttpRequest;o.open("GET",t),o.responseType="blob",o.onload=function(){O(o.response,e,n)},o.onerror=function(){console.error("could not download file")},o.send()}function A(t){const e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(n){}return e.status>=200&&e.status<=299}function E(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}const z="object"===typeof navigator?navigator:{userAgent:""},M=(()=>/Macintosh/.test(z.userAgent)&&/AppleWebKit/.test(z.userAgent)&&!/Safari/.test(z.userAgent))(),O=S?"undefined"!==typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!M?I:"msSaveOrOpenBlob"in z?R:B:()=>{};function I(t,e="download",n){const o=document.createElement("a");o.download=e,o.rel="noopener","string"===typeof t?(o.href=t,o.origin!==location.origin?A(o.href)?L(t,e,n):(o.target="_blank",E(o)):E(o)):(o.href=URL.createObjectURL(t),setTimeout((function(){URL.revokeObjectURL(o.href)}),4e4),setTimeout((function(){E(o)}),0))}function R(t,e="download",n){if("string"===typeof t)if(A(t))L(t,e,n);else{const e=document.createElement("a");e.href=t,e.target="_blank",setTimeout((function(){E(e)}))}else navigator.msSaveOrOpenBlob(P(t,n),e)}function B(t,e,n,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),"string"===typeof t)return L(t,e,n);const i="application/octet-stream"===t.type,r=/constructor/i.test(String(T.HTMLElement))||"safari"in T,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&r||M)&&"undefined"!==typeof FileReader){const e=new FileReader;e.onloadend=function(){let t=e.result;if("string"!==typeof t)throw o=null,new Error("Wrong reader.result type");t=a?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=t:location.assign(t),o=null},e.readAsDataURL(t)}else{const e=URL.createObjectURL(t);o?o.location.assign(e):location.href=e,o=null,setTimeout((function(){URL.revokeObjectURL(e)}),4e4)}}function N(t,e){const n="๐ "+t;"function"===typeof __VUE_DEVTOOLS_TOAST__?__VUE_DEVTOOLS_TOAST__(n,e):"error"===e?console.error(n):"warn"===e?console.warn(n):console.log(n)}function D(t){return"_a"in t&&"install"in t}function F(){if(!("clipboard"in navigator))return N("Your browser doesn't support the Clipboard API","error"),!0}function j(t){return!!(t instanceof Error&&t.message.toLowerCase().includes("document is not focused"))&&(N('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0)}async function W(t){if(!F())try{await navigator.clipboard.writeText(JSON.stringify(t.state.value)),N("Global state copied to clipboard.")}catch(e){if(j(e))return;N("Failed to serialize the state. Check the console for more details.","error"),console.error(e)}}async function Z(t){if(!F())try{G(t,JSON.parse(await navigator.clipboard.readText())),N("Global state pasted from clipboard.")}catch(e){if(j(e))return;N("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(e)}}async function V(t){try{O(new Blob([JSON.stringify(t.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(e){N("Failed to export the state as JSON. Check the console for more details.","error"),console.error(e)}}let H;function $(){function t(){return new Promise(((t,e)=>{H.onchange=async()=>{const e=H.files;if(!e)return t(null);const n=e.item(0);return t(n?{text:await n.text(),file:n}:null)},H.oncancel=()=>t(null),H.onerror=e,H.click()}))}return H||(H=document.createElement("input"),H.type="file",H.accept=".json"),t}async function U(t){try{const e=$(),n=await e();if(!n)return;const{text:o,file:i}=n;G(t,JSON.parse(o)),N(`Global state imported from "${i.name}".`)}catch(e){N("Failed to import the state from JSON. Check the console for more details.","error"),console.error(e)}}function G(t,e){for(const n in e){const o=t.state.value[n];o&&Object.assign(o,e[n])}}function q(t){return{_custom:{display:t}}}const Y="๐ Pinia (root)",K="_root";function J(t){return D(t)?{id:K,label:Y}:{id:t.$id,label:t.$id}}function X(t){if(D(t)){const e=Array.from(t._s.keys()),n=t._s,o={state:e.map((e=>({editable:!0,key:e,value:t.state.value[e]}))),getters:e.filter((t=>n.get(t)._getters)).map((t=>{const e=n.get(t);return{editable:!1,key:t,value:e._getters.reduce(((t,n)=>(t[n]=e[n],t)),{})}}))};return o}const e={state:Object.keys(t.$state).map((e=>({editable:!0,key:e,value:t.$state[e]})))};return t._getters&&t._getters.length&&(e.getters=t._getters.map((e=>({editable:!1,key:e,value:t[e]})))),t._customProperties.size&&(e.customProperties=Array.from(t._customProperties).map((e=>({editable:!0,key:e,value:t[e]})))),e}function Q(t){return t?Array.isArray(t)?t.reduce(((t,e)=>(t.keys.push(e.key),t.operations.push(e.type),t.oldValue[e.key]=e.oldValue,t.newValue[e.key]=e.newValue,t)),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:q(t.type),key:q(t.key),oldValue:t.oldValue,newValue:t.newValue}:{}}function tt(t){switch(t){case k.direct:return"mutation";case k.patchFunction:return"$patch";case k.patchObject:return"$patch";default:return"unknown"}}let et=!0;const nt=[],ot="pinia:mutations",it="pinia",{assign:rt}=Object,at=t=>"๐ "+t;function st(t,e){_({id:"dev.esm.pinia",label:"Pinia ๐",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:nt,app:t},(n=>{"function"!==typeof n.now&&N("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),n.addTimelineLayer({id:ot,label:"Pinia ๐",color:15064968}),n.addInspector({id:it,label:"Pinia ๐",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{W(e)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await Z(e),n.sendInspectorTree(it),n.sendInspectorState(it)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{V(e)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await U(e),n.sendInspectorTree(it),n.sendInspectorState(it)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:t=>{const n=e._s.get(t);n?"function"!==typeof n.$reset?N(`Cannot reset "${t}" store because it doesn't have a "$reset" method implemented.`,"warn"):(n.$reset(),N(`Store "${t}" reset.`)):N(`Cannot reset "${t}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent(((t,e)=>{const n=t.componentInstance&&t.componentInstance.proxy;if(n&&n._pStores){const e=t.componentInstance.proxy._pStores;Object.values(e).forEach((e=>{t.instanceData.state.push({type:at(e.$id),key:"state",editable:!0,value:e._isOptionsAPI?{_custom:{value:(0,o.toRaw)(e.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>e.$reset()}]}}:Object.keys(e.$state).reduce(((t,n)=>(t[n]=e.$state[n],t)),{})}),e._getters&&e._getters.length&&t.instanceData.state.push({type:at(e.$id),key:"getters",editable:!1,value:e._getters.reduce(((t,n)=>{try{t[n]=e[n]}catch(o){t[n]=o}return t}),{})})}))}})),n.on.getInspectorTree((n=>{if(n.app===t&&n.inspectorId===it){let t=[e];t=t.concat(Array.from(e._s.values())),n.rootNodes=(n.filter?t.filter((t=>"$id"in t?t.$id.toLowerCase().includes(n.filter.toLowerCase()):Y.toLowerCase().includes(n.filter.toLowerCase()))):t).map(J)}})),n.on.getInspectorState((n=>{if(n.app===t&&n.inspectorId===it){const t=n.nodeId===K?e:e._s.get(n.nodeId);if(!t)return;t&&(n.state=X(t))}})),n.on.editInspectorState(((n,o)=>{if(n.app===t&&n.inspectorId===it){const t=n.nodeId===K?e:e._s.get(n.nodeId);if(!t)return N(`store "${n.nodeId}" not found`,"error");const{path:o}=n;D(t)?o.unshift("state"):1===o.length&&t._customProperties.has(o[0])&&!(o[0]in t.$state)||o.unshift("$state"),et=!1,n.set(t,o,n.state.value),et=!0}})),n.on.editComponentState((t=>{if(t.type.startsWith("๐")){const n=t.type.replace(/^๐\s*/,""),o=e._s.get(n);if(!o)return N(`store "${n}" not found`,"error");const{path:i}=t;if("state"!==i[0])return N(`Invalid path for store "${n}":\n${i}\nOnly state can be modified.`);i[0]="$state",et=!1,t.set(o,i,t.state.value),et=!0}}))}))}function lt(t,e){nt.includes(at(e.$id))||nt.push(at(e.$id)),_({id:"dev.esm.pinia",label:"Pinia ๐",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:nt,app:t,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},(t=>{const n="function"===typeof t.now?t.now.bind(t):Date.now;e.$onAction((({after:o,onError:i,name:r,args:a})=>{const s=ut++;t.addTimelineEvent({layerId:ot,event:{time:n(),title:"๐ซ "+r,subtitle:"start",data:{store:q(e.$id),action:q(r),args:a},groupId:s}}),o((o=>{ct=void 0,t.addTimelineEvent({layerId:ot,event:{time:n(),title:"๐ฌ "+r,subtitle:"end",data:{store:q(e.$id),action:q(r),args:a,result:o},groupId:s}})})),i((o=>{ct=void 0,t.addTimelineEvent({layerId:ot,event:{time:n(),logType:"error",title:"๐ฅ "+r,subtitle:"end",data:{store:q(e.$id),action:q(r),args:a,error:o},groupId:s}})}))}),!0),e._customProperties.forEach((i=>{(0,o.watch)((()=>(0,o.unref)(e[i])),((e,o)=>{t.notifyComponentUpdate(),t.sendInspectorState(it),et&&t.addTimelineEvent({layerId:ot,event:{time:n(),title:"Change",subtitle:i,data:{newValue:e,oldValue:o},groupId:ct}})}),{deep:!0})})),e.$subscribe((({events:o,type:i},r)=>{if(t.notifyComponentUpdate(),t.sendInspectorState(it),!et)return;const a={time:n(),title:tt(i),data:rt({store:q(e.$id)},Q(o)),groupId:ct};i===k.patchFunction?a.subtitle="โคต๏ธ":i===k.patchObject?a.subtitle="๐งฉ":o&&!Array.isArray(o)&&(a.subtitle=o.type),o&&(a.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:o}}),t.addTimelineEvent({layerId:ot,event:a})}),{detached:!0,flush:"sync"});const i=e._hotUpdate;e._hotUpdate=(0,o.markRaw)((o=>{i(o),t.addTimelineEvent({layerId:ot,event:{time:n(),title:"๐ฅ "+e.$id,subtitle:"HMR update",data:{store:q(e.$id),info:q("HMR update")}}}),t.notifyComponentUpdate(),t.sendInspectorTree(it),t.sendInspectorState(it)}));const{$dispose:r}=e;e.$dispose=()=>{r(),t.notifyComponentUpdate(),t.sendInspectorTree(it),t.sendInspectorState(it),t.getSettings().logStoreChanges&&N(`Disposed "${e.$id}" store ๐`)},t.notifyComponentUpdate(),t.sendInspectorTree(it),t.sendInspectorState(it),t.getSettings().logStoreChanges&&N(`"${e.$id}" store installed ๐`)}))}let ct,ut=0;function ht(t,e,n){const i=e.reduce(((e,n)=>(e[n]=(0,o.toRaw)(t)[n],e)),{});for(const o in i)t[o]=function(){const e=ut,r=n?new Proxy(t,{get(...t){return ct=e,Reflect.get(...t)},set(...t){return ct=e,Reflect.set(...t)}}):t;ct=e;const a=i[o].apply(r,arguments);return ct=void 0,a}}function dt({app:t,store:e,options:n}){if(e.$id.startsWith("__hot:"))return;e._isOptionsAPI=!!n.state,ht(e,Object.keys(n.actions),e._isOptionsAPI);const i=e._hotUpdate;(0,o.toRaw)(e)._hotUpdate=function(t){i.apply(this,arguments),ht(e,Object.keys(t._hmrPayload.actions),!!e._isOptionsAPI)},lt(t,e)}function ft(){const t=(0,o.effectScope)(!0),e=t.run((()=>(0,o.ref)({})));let n=[],r=[];const a=(0,o.markRaw)({install(t){w(a),i||(a._a=t,t.provide(b,a),t.config.globalProperties.$pinia=a,C&&st(t,a),r.forEach((t=>n.push(t))),r=[])},use(t){return this._a||i?n.push(t):r.push(t),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return C&&"undefined"!==typeof Proxy&&a.use(dt),a}const pt=()=>{};function mt(t,e,n,i=pt){t.push(e);const r=()=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),i())};return!n&&(0,o.getCurrentScope)()&&(0,o.onScopeDispose)(r),r}function gt(t,...e){t.slice().forEach((t=>{t(...e)}))}const yt=t=>t();function vt(t,e){t instanceof Map&&e instanceof Map&&e.forEach(((e,n)=>t.set(n,e))),t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n],r=t[n];x(r)&&x(i)&&t.hasOwnProperty(n)&&!(0,o.isRef)(i)&&!(0,o.isReactive)(i)?t[n]=vt(r,i):t[n]=i}return t}const _t=Symbol(),wt=new WeakMap;function bt(t){return i?!wt.has(t):!x(t)||!t.hasOwnProperty(_t)}const{assign:xt}=Object;function kt(t){return!(!(0,o.isRef)(t)||!t.effect)}function St(t,e,n,r){const{state:a,actions:l,getters:c}=e,u=n.state.value[t];let h;function d(){u||(i?s(n.state.value,t,a?a():{}):n.state.value[t]=a?a():{});const e=(0,o.toRefs)(n.state.value[t]);return xt(e,l,Object.keys(c||{}).reduce(((e,r)=>(e[r]=(0,o.markRaw)((0,o.computed)((()=>{w(n);const e=n._s.get(t);if(!i||e._r)return c[r].call(e,e)}))),e)),{}))}return h=Ct(t,d,e,n,r,!0),h}function Ct(t,e,n={},r,a,l){let c;const u=xt({actions:{}},n);const h={deep:!0};let d,f;let p,m=[],g=[];const y=r.state.value[t];l||y||(i?s(r.state.value,t,{}):r.state.value[t]={});const v=(0,o.ref)({});let _;function b(e){let n;d=f=!1,"function"===typeof e?(e(r.state.value[t]),n={type:k.patchFunction,storeId:t,events:p}):(vt(r.state.value[t],e),n={type:k.patchObject,payload:e,storeId:t,events:p});const i=_=Symbol();(0,o.nextTick)().then((()=>{_===i&&(d=!0)})),f=!0,gt(m,n,r.state.value[t])}const x=l?function(){const{state:t}=n,e=t?t():{};this.$patch((t=>{xt(t,e)}))}:pt;function S(){c.stop(),m=[],g=[],r._s.delete(t)}function T(e,n){return function(){w(r);const o=Array.from(arguments),i=[],a=[];function s(t){i.push(t)}function l(t){a.push(t)}let c;gt(g,{args:o,name:e,store:A,after:s,onError:l});try{c=n.apply(this&&this.$id===t?this:A,o)}catch(u){throw gt(a,u),u}return c instanceof Promise?c.then((t=>(gt(i,t),t))).catch((t=>(gt(a,t),Promise.reject(t)))):(gt(i,c),c)}}const P=(0,o.markRaw)({actions:{},getters:{},state:[],hotState:v}),L={_p:r,$id:t,$onAction:mt.bind(null,g),$patch:b,$reset:x,$subscribe(e,n={}){const i=mt(m,e,n.detached,(()=>a())),a=c.run((()=>(0,o.watch)((()=>r.state.value[t]),(o=>{("sync"===n.flush?f:d)&&e({storeId:t,type:k.direct,events:p},o)}),xt({},h,n))));return i},$dispose:S};i&&(L._r=!1);const A=(0,o.reactive)(C?xt({_hmrPayload:P,_customProperties:(0,o.markRaw)(new Set)},L):L);r._s.set(t,A);const E=r._a&&r._a.runWithContext||yt,z=r._e.run((()=>(c=(0,o.effectScope)(),E((()=>c.run(e))))));for(const w in z){const e=z[w];if((0,o.isRef)(e)&&!kt(e)||(0,o.isReactive)(e))l||(y&&bt(e)&&((0,o.isRef)(e)?e.value=y[w]:vt(e,y[w])),i?s(r.state.value[t],w,e):r.state.value[t][w]=e);else if("function"===typeof e){const t=T(w,e);i?s(z,w,t):z[w]=t,u.actions[w]=e}else 0}if(i?Object.keys(z).forEach((t=>{s(A,t,z[t])})):(xt(A,z),xt((0,o.toRaw)(A),z)),Object.defineProperty(A,"$state",{get:()=>r.state.value[t],set:t=>{b((e=>{xt(e,t)}))}}),C){const t={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach((e=>{Object.defineProperty(A,e,xt({value:A[e]},t))}))}return i&&(A._r=!0),r._p.forEach((t=>{if(C){const e=c.run((()=>t({store:A,app:r._a,pinia:r,options:u})));Object.keys(e||{}).forEach((t=>A._customProperties.add(t))),xt(A,e)}else xt(A,c.run((()=>t({store:A,app:r._a,pinia:r,options:u}))))})),y&&l&&n.hydrate&&n.hydrate(A.$state,y),d=!0,f=!0,A}function Tt(t,e,n){let i,r;const a="function"===typeof e;function s(t,n){const s=(0,o.hasInjectionContext)();t=t||(s?(0,o.inject)(b,null):null),t&&w(t),t=m,t._s.has(i)||(a?Ct(i,e,r,t):St(i,r,t));const l=t._s.get(i);return l}return"string"===typeof t?(i=t,r=a?n:e):(r=t,i=t.id),s.$id=i,s}function Pt(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]=function(){return t(this.$pinia)[n]},e)),{}):Object.keys(e).reduce(((n,o)=>(n[o]=function(){const n=t(this.$pinia),i=e[o];return"function"===typeof i?i.call(this,n):n[i]},n)),{})}function Lt(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]=function(...e){return t(this.$pinia)[n](...e)},e)),{}):Object.keys(e).reduce(((n,o)=>(n[o]=function(...n){return t(this.$pinia)[e[o]](...n)},n)),{})}var At=function(t,e){return At=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},At(t,e)};function Et(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}At(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var zt=function(){return zt=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},zt.apply(this,arguments)};function Mt(t,e,n,o){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function a(t){try{l(o.next(t))}catch(e){r(e)}}function s(t){try{l(o["throw"](t))}catch(e){r(e)}}function l(t){t.done?n(t.value):i(t.value).then(a,s)}l((o=o.apply(t,e||[])).next())}))}function Ot(t,e){var n,o,i,r,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return l([t,e])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(a=0)),a)try{if(n=1,o&&(i=2&s[0]?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,o=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(l){s=[6,l],o=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}Object.create;function It(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],o=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Rt(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,i,r=n.call(t),a=[];try{while((void 0===e||e-- >0)&&!(o=r.next()).done)a.push(o.value)}catch(s){i={error:s}}finally{try{o&&!o.done&&(n=r["return"])&&n.call(r)}finally{if(i)throw i.error}}return a}Object.create;"function"===typeof SuppressedError&&SuppressedError;var Bt,Nt,Dt,Ft,jt,Wt,Zt,Vt,Ht,$t,Ut,Gt,qt,Yt,Kt,Jt,Xt,Qt,te,ee,ne=3.14159265358979,oe=180/ne,ie=ne/180,re=12/ne,ae=ne/12,se=12/180;(function(t){t[t["depth"]=0]="depth",t[t["altitude"]=1]="altitude",t[t["distance"]=2]="distance",t[t["seaLevel"]=3]="seaLevel",t[t["terrain"]=4]="terrain"})(Bt||(Bt={})),function(t){t[t["meters"]=1]="meters",t[t["feet"]=2]="feet",t[t["inches"]=3]="inches",t[t["miles"]=4]="miles",t[t["kilometers"]=5]="kilometers",t[t["astronomicalUnits"]=6]="astronomicalUnits",t[t["lightYears"]=7]="lightYears",t[t["parsecs"]=8]="parsecs",t[t["megaParsecs"]=9]="megaParsecs",t[t["custom"]=10]="custom"}(Nt||(Nt={})),function(t){t[t["gamma"]=0]="gamma",t[t["xRay"]=1]="xRay",t[t["ultraviolet"]=2]="ultraviolet",t[t["visible"]=3]="visible",t[t["hydrogenAlpha"]=4]="hydrogenAlpha",t[t["IR"]=4]="IR",t[t["microwave"]=5]="microwave",t[t["radio"]=6]="radio",t[t["visibleNight"]=6]="visibleNight"}(Dt||(Dt={})),function(t){t[t["star"]=1]="star",t[t["supernova"]=2]="supernova",t[t["blackHole"]=4]="blackHole",t[t["neutronStar"]=8]="neutronStar",t[t["doubleStar"]=16]="doubleStar",t[t["multipleStars"]=32]="multipleStars",t[t["asterism"]=64]="asterism",t[t["constellation"]=128]="constellation",t[t["openCluster"]=256]="openCluster",t[t["globularCluster"]=512]="globularCluster",t[t["nebulousCluster"]=1024]="nebulousCluster",t[t["nebula"]=2048]="nebula",t[t["emissionNebula"]=4096]="emissionNebula",t[t["planetaryNebula"]=8192]="planetaryNebula",t[t["reflectionNebula"]=16384]="reflectionNebula",t[t["darkNebula"]=32768]="darkNebula",t[t["giantMolecularCloud"]=65536]="giantMolecularCloud",t[t["supernovaRemnant"]=131072]="supernovaRemnant",t[t["interstellarDust"]=262144]="interstellarDust",t[t["quasar"]=524288]="quasar",t[t["galaxy"]=1048576]="galaxy",t[t["spiralGalaxy"]=2097152]="spiralGalaxy",t[t["irregularGalaxy"]=4194304]="irregularGalaxy",t[t["ellipticalGalaxy"]=8388608]="ellipticalGalaxy",t[t["knot"]=16777216]="knot",t[t["plateDefect"]=33554432]="plateDefect",t[t["clusterOfGalaxies"]=67108864]="clusterOfGalaxies",t[t["otherNGC"]=134217728]="otherNGC",t[t["unidentified"]=268435456]="unidentified",t[t["solarSystem"]=536870912]="solarSystem",t[t["unfiltered"]=1073741823]="unfiltered",t[t["stellar"]=63]="stellar",t[t["stellarGroupings"]=2032]="stellarGroupings",t[t["nebulae"]=523264]="nebulae",t[t["galactic"]=133693440]="galactic",t[t["other"]=436207616]="other"}(Ft||(Ft={})),function(t){t[t["spherical"]=0]="spherical",t[t["rectangular"]=1]="rectangular",t[t["orbital"]=2]="orbital"}(jt||(jt={})),function(t){t[t["byteT"]=0]="byteT",t[t["int16T"]=1]="int16T",t[t["int32T"]=2]="int32T",t[t["floatT"]=3]="floatT",t[t["doubleT"]=4]="doubleT",t[t["none"]=5]="none"}(Wt||(Wt={})),function(t){t[t["fadeIn"]=1]="fadeIn",t[t["fadeOut"]=2]="fadeOut",t[t["both"]=3]="both",t[t["none"]=4]="none"}(Zt||(Zt={})),function(t){t[t["explorer"]=0]="explorer",t[t["tour"]=1]="tour",t[t["search"]=2]="search",t[t["constellation"]=3]="constellation",t[t["view"]=4]="view",t[t["goTo"]=5]="goTo",t[t["community"]=6]="community",t[t["context"]=7]="context",t[t["voTable"]=8]="voTable",t[t["imageStack"]=9]="imageStack"}(Vt||(Vt={})),function(t){t[t["interval"]=0]="interval",t[t["conditionalGet"]=1]="conditionalGet",t[t["viewChange"]=2]="viewChange"}(Ht||(Ht={})),function(t){t[t["earth"]=0]="earth",t[t["planet"]=1]="planet",t[t["sky"]=2]="sky",t[t["panorama"]=3]="panorama"}($t||($t={})),function(t){t[t["earth"]=0]="earth",t[t["planet"]=1]="planet",t[t["sky"]=2]="sky",t[t["panorama"]=3]="panorama",t[t["solarSystem"]=4]="solarSystem",t[t["sandbox"]=5]="sandbox"}(Ut||(Ut={})),function(t){t[t["screen"]=0]="screen",t[t["world"]=1]="world"}(Gt||(Gt={})),function(t){t[t["gaussian"]=0]="gaussian",t[t["point"]=1]="point",t[t["circle"]=2]="circle",t[t["square"]=3]="square",t[t["pushPin"]=4]="pushPin",t[t["custom"]=5]="custom"}(qt||(qt={})),function(t){t[t["linear"]=0]="linear",t[t["power"]=1]="power",t[t["log"]=2]="log",t[t["constant"]=3]="constant",t[t["stellarMagnitude"]=4]="stellarMagnitude"}(Yt||(Yt={})),function(t){t[t["mercator"]=0]="mercator",t[t["equirectangular"]=1]="equirectangular",t[t["tangent"]=2]="tangent",t[t["tan"]=2]="tan",t[t["toast"]=3]="toast",t[t["spherical"]=4]="spherical",t[t["skyImage"]=5]="skyImage",t[t["plotted"]=6]="plotted"}(Kt||(Kt={})),function(t){t[t["hours"]=0]="hours",t[t["degrees"]=1]="degrees"}(Jt||(Jt={})),function(t){t[t["sky"]=0]="sky",t[t["ecliptic"]=1]="ecliptic",t[t["galactic"]=2]="galactic",t[t["sun"]=3]="sun",t[t["mercury"]=4]="mercury",t[t["venus"]=5]="venus",t[t["earth"]=6]="earth",t[t["mars"]=7]="mars",t[t["jupiter"]=8]="jupiter",t[t["saturn"]=9]="saturn",t[t["uranus"]=10]="uranus",t[t["neptune"]=11]="neptune",t[t["pluto"]=12]="pluto",t[t["moon"]=13]="moon",t[t["io"]=14]="io",t[t["europa"]=15]="europa",t[t["ganymede"]=16]="ganymede",t[t["callisto"]=17]="callisto",t[t["custom"]=18]="custom",t[t["identity"]=19]="identity",t[t["sandbox"]=20]="sandbox"}(Xt||(Xt={})),function(t){t[t["fixedSherical"]=0]="fixedSherical",t[t["orbital"]=1]="orbital",t[t["trajectory"]=2]="trajectory",t[t["synodic"]=3]="synodic"}(Qt||(Qt={})),function(t){t[t["linear"]=0]="linear",t[t["log"]=1]="log",t[t["power"]=2]="power",t[t["squareRoot"]=3]="squareRoot",t[t["histogramEqualization"]=4]="histogramEqualization"}(te||(te={})),function(t){t[t["sun"]=0]="sun",t[t["mercury"]=1]="mercury",t[t["venus"]=2]="venus",t[t["mars"]=3]="mars",t[t["jupiter"]=4]="jupiter",t[t["saturn"]=5]="saturn",t[t["uranus"]=6]="uranus",t[t["neptune"]=7]="neptune",t[t["pluto"]=8]="pluto",t[t["moon"]=9]="moon",t[t["io"]=10]="io",t[t["europa"]=11]="europa",t[t["ganymede"]=12]="ganymede",t[t["callisto"]=13]="callisto",t[t["ioShadow"]=14]="ioShadow",t[t["europaShadow"]=15]="europaShadow",t[t["ganymedeShadow"]=16]="ganymedeShadow",t[t["callistoShadow"]=17]="callistoShadow",t[t["sunEclipsed"]=18]="sunEclipsed",t[t["earth"]=19]="earth",t[t["custom"]=20]="custom",t[t["undefined"]=65536]="undefined"}(ee||(ee={}));var le=r(415),ce=["astronomical","color","enabled","fadeSpan","name","opacity","opened","referenceFrame","version"];function ue(t,e){var n,o;try{for(var i=It(ce),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}var he=function(){function t(t){ue(t,this)}return t.prototype.get_astronomical=function(){return this.astronomical},t.prototype.set_astronomical=function(t){return this.astronomical=t,t},t.prototype.get_color=function(){return this.color},t.prototype.set_color=function(t){return this.color=t,t},t.prototype.get_enabled=function(){return this.enabled},t.prototype.set_enabled=function(t){return this.enabled=t,t},t.prototype.get_endTime=function(){return this.endTime},t.prototype.set_endTime=function(t){return this.endTime=t,t},t.prototype.get_fadeSpan=function(){return this.fadeSpan},t.prototype.set_fadeSpan=function(t){return this.fadeSpan=t,t},t.prototype.get_fadeType=function(){return this.fadeType},t.prototype.set_fadeType=function(t){return this.fadeType=t,t},t.prototype.get_name=function(){return this.name},t.prototype.set_name=function(t){return this.name=t,t},t.prototype.get_opacity=function(){return this.opacity},t.prototype.set_opacity=function(t){return this.opacity=t,t},t.prototype.get_opened=function(){return this.opened},t.prototype.set_opened=function(t){return this.opened=t,t},t.prototype.get_referenceFrame=function(){return this.referenceFrame},t.prototype.set_referenceFrame=function(t){return this.referenceFrame=t,t},t.prototype.get_startTime=function(){return this.startTime},t.prototype.set_startTime=function(t){return this.startTime=t,t},t.prototype.get_version=function(){return this.version},t.prototype.set_version=function(t){return this.version=t,t},t}(),de=["colorMapperName","overrideDefaultLayer"];ce.concat(de);function fe(t,e){var n="set_"+e[0],o=e[1];t[n](o)}function pe(t,e){var n,o;ue(t,e);try{for(var i=It(de),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}var me=function(t){function e(e){var n=t.call(this,e)||this;return pe(e,n),n}return Et(e,t),e.prototype.get_colorMapperName=function(){return this.colorMapperName},e.prototype.set_colorMapperName=function(t){return this.colorMapperName=t,t},e.prototype.get_overrideDefaultLayer=function(){return this.overrideDefaultLayer},e.prototype.set_overrideDefaultLayer=function(t){return this.overrideDefaultLayer=t,t},e}(he),ge=["altColumn","altType","altUnit","barChartBitmask","beginRange","cartesianCustomScale","cartesianScale","colorMapColumn","colorMapperName","coordinatesType","decay","dynamicColor","dynamicData","endDateColumn","endRange","geometryColumn","hyperlinkColumn","hyperlinkFormat","latColumn","lngColumn","markerColumn","markerIndex","markerScale","nameColumn","normalizeColorMap","normalizeColorMapMax","normalizeColorMapMin","normalizeSize","normalizeSizeClip","normalizeSizeMax","normalizeSizeMin","plotType","pointScaleType","raUnits","scaleFactor","showFarSide","sizeColumn","startDateColumn","timeSeries","xAxisColumn","xAxisReverse","yAxisColumn","yAxisReverse","zAxisColumn","zAxisReverse"];ce.concat(ge);function ye(t,e){var n="set_"+e[0],o=e[1];t[n](o)}function ve(t,e){var n,o;ue(t,e);try{for(var i=It(ge),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}var _e=function(t){function e(e){var n=t.call(this,e)||this;return ve(e,n),n}return Et(e,t),e.prototype.get_altColumn=function(){return this.altColumn},e.prototype.set_altColumn=function(t){return this.altColumn=t,t},e.prototype.get_altType=function(){return this.altType},e.prototype.set_altType=function(t){return this.altType=t,t},e.prototype.get_altUnit=function(){return this.altUnit},e.prototype.set_altUnit=function(t){return this.altUnit=t,t},e.prototype.get_barChartBitmask=function(){return this.barChartBitmask},e.prototype.set_barChartBitmask=function(t){return this.barChartBitmask=t,t},e.prototype.get_beginRange=function(){return this.beginRange},e.prototype.set_beginRange=function(t){return this.beginRange=t,t},e.prototype.get_cartesianCustomScale=function(){return this.cartesianCustomScale},e.prototype.set_cartesianCustomScale=function(t){return this.cartesianCustomScale=t,t},e.prototype.get_cartesianScale=function(){return this.cartesianScale},e.prototype.set_cartesianScale=function(t){return this.cartesianScale=t,t},e.prototype.get_colorMapColumn=function(){return this.colorMapColumn},e.prototype.set_colorMapColumn=function(t){return this.colorMapColumn=t,t},e.prototype.get_colorMapperName=function(){return this.colorMapperName},e.prototype.set_colorMapperName=function(t){return this.colorMapperName=t,t},e.prototype.get_coordinatesType=function(){return this.coordinatesType},e.prototype.set_coordinatesType=function(t){return this.coordinatesType=t,t},e.prototype.get_decay=function(){return this.decay},e.prototype.set_decay=function(t){return this.decay=t,t},e.prototype.get_dynamicColor=function(){return this.dynamicColor},e.prototype.set_dynamicColor=function(t){return this.dynamicColor=t,t},e.prototype.get_dynamicData=function(){return this.dynamicData},e.prototype.set_dynamicData=function(t){return this.dynamicData=t,t},e.prototype.get_endDateColumn=function(){return this.endDateColumn},e.prototype.set_endDateColumn=function(t){return this.endDateColumn=t,t},e.prototype.get_endRange=function(){return this.endRange},e.prototype.set_endRange=function(t){return this.endRange=t,t},e.prototype.get_geometryColumn=function(){return this.geometryColumn},e.prototype.set_geometryColumn=function(t){return this.geometryColumn=t,t},e.prototype.get_hyperlinkColumn=function(){return this.hyperlinkColumn},e.prototype.set_hyperlinkColumn=function(t){return this.hyperlinkColumn=t,t},e.prototype.get_hyperlinkFormat=function(){return this.hyperlinkFormat},e.prototype.set_hyperlinkFormat=function(t){return this.hyperlinkFormat=t,t},e.prototype.get_latColumn=function(){return this.latColumn},e.prototype.set_latColumn=function(t){return this.latColumn=t,t},e.prototype.get_lngColumn=function(){return this.lngColumn},e.prototype.set_lngColumn=function(t){return this.lngColumn=t,t},e.prototype.get_markerColumn=function(){return this.markerColumn},e.prototype.set_markerColumn=function(t){return this.markerColumn=t,t},e.prototype.get_markerIndex=function(){return this.markerIndex},e.prototype.set_markerIndex=function(t){return this.markerIndex=t,t},e.prototype.get_markerScale=function(){return this.markerScale},e.prototype.set_markerScale=function(t){return this.markerScale=t,t},e.prototype.get_nameColumn=function(){return this.nameColumn},e.prototype.set_nameColumn=function(t){return this.nameColumn=t,t},e.prototype.get_normalizeColorMap=function(){return this.normalizeColorMap},e.prototype.set_normalizeColorMap=function(t){return this.normalizeColorMap=t,t},e.prototype.get_normalizeColorMapMax=function(){return this.normalizeColorMapMax},e.prototype.set_normalizeColorMapMax=function(t){return this.normalizeColorMapMax=t,t},e.prototype.get_normalizeColorMapMin=function(){return this.normalizeColorMapMin},e.prototype.set_normalizeColorMapMin=function(t){return this.normalizeColorMapMin=t,t},e.prototype.get_normalizeSize=function(){return this.normalizeSize},e.prototype.set_normalizeSize=function(t){return this.normalizeSize=t,t},e.prototype.get_normalizeSizeClip=function(){return this.normalizeSizeClip},e.prototype.set_normalizeSizeClip=function(t){return this.normalizeSizeClip=t,t},e.prototype.get_normalizeSizeMax=function(){return this.normalizeSizeMax},e.prototype.set_normalizeSizeMax=function(t){return this.normalizeSizeMax=t,t},e.prototype.get_normalizeSizeMin=function(){return this.normalizeSizeMin},e.prototype.set_normalizeSizeMin=function(t){return this.normalizeSizeMin=t,t},e.prototype.get_plotType=function(){return this.plotType},e.prototype.set_plotType=function(t){return this.plotType=t,t},e.prototype.get_pointScaleType=function(){return this.pointScaleType},e.prototype.set_pointScaleType=function(t){return this.pointScaleType=t,t},e.prototype.get_raUnits=function(){return this.raUnits},e.prototype.set_raUnits=function(t){return this.raUnits=t,t},e.prototype.get_scaleFactor=function(){return this.scaleFactor},e.prototype.set_scaleFactor=function(t){return this.scaleFactor=t,t},e.prototype.get_showFarSide=function(){return this.showFarSide},e.prototype.set_showFarSide=function(t){return this.showFarSide=t,t},e.prototype.get_sizeColumn=function(){return this.sizeColumn},e.prototype.set_sizeColumn=function(t){return this.sizeColumn=t,t},e.prototype.get_startDateColumn=function(){return this.startDateColumn},e.prototype.set_startDateColumn=function(t){return this.startDateColumn=t,t},e.prototype.get_timeSeries=function(){return this.timeSeries},e.prototype.set_timeSeries=function(t){return this.timeSeries=t,t},e.prototype.get_xAxisColumn=function(){return this.xAxisColumn},e.prototype.set_xAxisColumn=function(t){return this.xAxisColumn=t,t},e.prototype.get_xAxisReverse=function(){return this.xAxisReverse},e.prototype.set_xAxisReverse=function(t){return this.xAxisReverse=t,t},e.prototype.get_yAxisColumn=function(){return this.yAxisColumn},e.prototype.set_yAxisColumn=function(t){return this.yAxisColumn=t,t},e.prototype.get_yAxisReverse=function(){return this.yAxisReverse},e.prototype.set_yAxisReverse=function(t){return this.yAxisReverse=t,t},e.prototype.get_zAxisColumn=function(){return this.zAxisColumn},e.prototype.set_zAxisColumn=function(t){return this.zAxisColumn=t,t},e.prototype.get_zAxisReverse=function(){return this.zAxisReverse},e.prototype.set_zAxisReverse=function(t){return this.zAxisReverse=t,t},e}(he),we=["id","label","opacity","showHoverLabel","tag"];function be(t,e){var n,o;try{for(var i=It(we),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}var xe=function(){function t(t){be(t,this)}return t.prototype.get_id=function(){return this.id},t.prototype.set_id=function(t){return this.id=t,t},t.prototype.get_label=function(){return this.label},t.prototype.set_label=function(t){return this.label=t,t},t.prototype.get_opacity=function(){return this.opacity},t.prototype.set_opacity=function(t){return this.opacity=t,t},t.prototype.get_showHoverLabel=function(){return this.showHoverLabel},t.prototype.set_showHoverLabel=function(t){return this.showHoverLabel=t,t},t.prototype.get_tag=function(){return this.tag},t.prototype.set_tag=function(t){return this.tag=t,t},t}(),ke=["fill","fillColor","lineColor","lineWidth","radius","skyRelative"];we.concat(ke);function Se(t,e){var n,o;be(t,e);try{for(var i=It(ke),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}(function(t){function e(e){var n=t.call(this,e)||this;return Se(e,n),n}Et(e,t),e.prototype.get_fill=function(){return this.fill},e.prototype.set_fill=function(t){return this.fill=t,t},e.prototype.get_fillColor=function(){return this.fillColor},e.prototype.set_fillColor=function(t){return this.fillColor=t,t},e.prototype.get_lineColor=function(){return this.lineColor},e.prototype.set_lineColor=function(t){return this.lineColor=t,t},e.prototype.get_lineWidth=function(){return this.lineWidth},e.prototype.set_lineWidth=function(t){return this.lineWidth=t,t},e.prototype.get_radius=function(){return this.radius},e.prototype.set_radius=function(t){return this.radius=t,t},e.prototype.get_skyRelative=function(){return this.skyRelative},e.prototype.set_skyRelative=function(t){return this.skyRelative=t,t}})(xe);var Ce=["actualPlanetScale","altAzGridColor","constellationArtFilter","constellationBoundariesFilter","constellationFigureColor","constellationFiguresFilter","constellationBoundryColor","constellationNamesFilter","constellationLabelsHeight","constellations","constellationSelectionColor","constellationsEnabled","crosshairsColor","earthCutawayView","eclipticColor","eclipticGridColor","equatorialGridColor","galacticGridColor","galacticMode","localHorizonMode","locationAltitude","locationLat","locationLng","milkyWayModel","minorPlanetsFilter","planetOrbitsFilter","precessionChartColor","showAltAzGrid","showAltAzGridText","showConstellationBoundries","showConstellationFigures","showConstellationLabels","showConstellationPictures","showConstellations","showConstellationSelection","showCrosshairs","showEarthSky","showEcliptic","showEclipticGrid","showEclipticGridText","showEclipticOverviewText","showElevationModel","showEquatorialGridText","showGalacticGrid","showGalacticGridText","showGrid","showHorizon","showISSModel","showPrecessionChart","showSkyGrids","showSkyOverlays","showSkyOverlaysIn3d","showSkyNode","showSolarSystem","smoothPan","solarSystemCMB","solarSystemCosmos","solarSystemLighting","solarSystemMilkyWay","solarSystemMinorPlanets","solarSystemMultiRes","solarSystemOrbits","solarSystemOverlays","solarSystemPlanets","solarSystemScale","solarSystemStars","solarSystemMinorOrbits"];function Te(t,e){var n,o;try{for(var i=It(Ce),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}(function(){function t(t){Te(t,this)}t.prototype.get_actualPlanetScale=function(){return this.actualPlanetScale},t.prototype.set_actualPlanetScale=function(t){return this.actualPlanetScale=t,t},t.prototype.get_constellationArtFilter=function(){return this.constellationArtFilter},t.prototype.set_constellationArtFilter=function(t){return this.constellationArtFilter=t,t},t.prototype.get_constellationBoundariesFilter=function(){return this.constellationBoundariesFilter},t.prototype.set_constellationBoundariesFilter=function(t){return this.constellationBoundariesFilter=t,t},t.prototype.get_constellationFigureColor=function(){return this.constellationFigureColor},t.prototype.set_constellationFigureColor=function(t){return this.constellationFigureColor=t,t},t.prototype.get_constellationFiguresFilter=function(){return this.constellationFiguresFilter},t.prototype.set_constellationFiguresFilter=function(t){return this.constellationFiguresFilter=t,t},t.prototype.get_constellationBoundryColor=function(){return this.constellationBoundryColor},t.prototype.set_constellationBoundryColor=function(t){return this.constellationBoundryColor=t,t},t.prototype.get_constellationNamesFilter=function(){return this.constellationNamesFilter},t.prototype.set_constellationNamesFilter=function(t){return this.constellationNamesFilter=t,t},t.prototype.get_constellations=function(){return this.constellations},t.prototype.set_constellations=function(t){return this.constellations=t,t},t.prototype.get_constellationSelectionColor=function(){return this.constellationSelectionColor},t.prototype.set_constellationSelectionColor=function(t){return this.constellationSelectionColor=t,t},t.prototype.get_constellationsEnabled=function(){return this.constellationsEnabled},t.prototype.set_constellationsEnabled=function(t){return this.constellationsEnabled=t,t},t.prototype.get_crosshairsColor=function(){return this.crosshairsColor},t.prototype.set_crosshairsColor=function(t){return this.crosshairsColor=t,t},t.prototype.get_earthCutawayView=function(){return this.earthCutawayView},t.prototype.set_earthCutawayView=function(t){return this.earthCutawayView=t,t},t.prototype.get_galacticMode=function(){return this.galacticMode},t.prototype.set_galacticMode=function(t){return this.galacticMode=t,t},t.prototype.get_localHorizonMode=function(){return this.localHorizonMode},t.prototype.set_localHorizonMode=function(t){return this.localHorizonMode=t,t},t.prototype.get_locationAltitude=function(){return this.locationAltitude},t.prototype.set_locationAltitude=function(t){return this.locationAltitude=t,t},t.prototype.get_locationLat=function(){return this.locationLat},t.prototype.set_locationLat=function(t){return this.locationLat=t,t},t.prototype.get_locationLng=function(){return this.locationLng},t.prototype.set_locationLng=function(t){return this.locationLng=t,t},t.prototype.get_milkyWayModel=function(){return this.milkyWayModel},t.prototype.set_milkyWayModel=function(t){return this.milkyWayModel=t,t},t.prototype.get_minorPlanetsFilter=function(){return this.minorPlanetsFilter},t.prototype.set_minorPlanetsFilter=function(t){return this.minorPlanetsFilter=t,t},t.prototype.get_planetOrbitsFilter=function(){return this.planetOrbitsFilter},t.prototype.set_planetOrbitsFilter=function(t){return this.planetOrbitsFilter=t,t},t.prototype.get_showAltAzGrid=function(){return this.showAltAzGrid},t.prototype.set_showAltAzGrid=function(t){return this.showAltAzGrid=t,t},t.prototype.get_showAltAzGridText=function(){return this.showAltAzGridText},t.prototype.set_showAltAzGridText=function(t){return this.showAltAzGridText=t,t},t.prototype.get_showConstellationBoundries=function(){return this.showConstellationBoundries},t.prototype.set_showConstellationBoundries=function(t){return this.showConstellationBoundries=t,t},t.prototype.get_showConstellationFigures=function(){return this.showConstellationFigures},t.prototype.set_showConstellationFigures=function(t){return this.showConstellationFigures=t,t},t.prototype.get_showConstellationLabels=function(){return this.showConstellationLabels},t.prototype.set_showConstellationLabels=function(t){return this.showConstellationLabels=t,t},t.prototype.get_showConstellationPictures=function(){return this.showConstellationPictures},t.prototype.set_showConstellationPictures=function(t){return this.showConstellationPictures=t,t},t.prototype.get_showConstellations=function(){return this.showConstellations},t.prototype.set_showConstellations=function(t){return this.showConstellations=t,t},t.prototype.get_showConstellationSelection=function(){return this.showConstellationSelection},t.prototype.set_showConstellationSelection=function(t){return this.showConstellationSelection=t,t},t.prototype.get_showCrosshairs=function(){return this.showCrosshairs},t.prototype.set_showCrosshairs=function(t){return this.showCrosshairs=t,t},t.prototype.get_showEarthSky=function(){return this.showEarthSky},t.prototype.set_showEarthSky=function(t){return this.showEarthSky=t,t},t.prototype.get_showEcliptic=function(){return this.showEcliptic},t.prototype.set_showEcliptic=function(t){return this.showEcliptic=t,t},t.prototype.get_showEclipticGrid=function(){return this.showEclipticGrid},t.prototype.set_showEclipticGrid=function(t){return this.showEclipticGrid=t,t},t.prototype.get_showEclipticGridText=function(){return this.showEclipticGridText},t.prototype.set_showEclipticGridText=function(t){return this.showEclipticGridText=t,t},t.prototype.get_showEclipticOverviewText=function(){return this.showEclipticOverviewText},t.prototype.set_showEclipticOverviewText=function(t){return this.showEclipticOverviewText=t,t},t.prototype.get_showElevationModel=function(){return this.showElevationModel},t.prototype.set_showElevationModel=function(t){return this.showElevationModel=t,t},t.prototype.get_showEquatorialGridText=function(){return this.showEquatorialGridText},t.prototype.set_showEquatorialGridText=function(t){return this.showEquatorialGridText=t,t},t.prototype.get_showGalacticGrid=function(){return this.showGalacticGrid},t.prototype.set_showGalacticGrid=function(t){return this.showGalacticGrid=t,t},t.prototype.get_showGalacticGridText=function(){return this.showGalacticGridText},t.prototype.set_showGalacticGridText=function(t){return this.showGalacticGridText=t,t},t.prototype.get_showGrid=function(){return this.showGrid},t.prototype.set_showGrid=function(t){return this.showGrid=t,t},t.prototype.get_showHorizon=function(){return this.showHorizon},t.prototype.set_showHorizon=function(t){return this.showHorizon=t,t},t.prototype.get_showISSModel=function(){return this.showISSModel},t.prototype.set_showISSModel=function(t){return this.showISSModel=t,t},t.prototype.get_showPrecessionChart=function(){return this.showPrecessionChart},t.prototype.set_showPrecessionChart=function(t){return this.showPrecessionChart=t,t},t.prototype.get_showSkyGrids=function(){return this.showSkyGrids},t.prototype.set_showSkyGrids=function(t){return this.showSkyGrids=t,t},t.prototype.get_showSkyOverlays=function(){return this.showSkyOverlays},t.prototype.set_showSkyOverlays=function(t){return this.showSkyOverlays=t,t},t.prototype.get_showSkyOverlaysIn3d=function(){return this.showSkyOverlaysIn3d},t.prototype.set_showSkyOverlaysIn3d=function(t){return this.showSkyOverlaysIn3d=t,t},t.prototype.get_showSkyNode=function(){return this.showSkyNode},t.prototype.set_showSkyNode=function(t){return this.showSkyNode=t,t},t.prototype.get_showSolarSystem=function(){return this.showSolarSystem},t.prototype.set_showSolarSystem=function(t){return this.showSolarSystem=t,t},t.prototype.get_smoothPan=function(){return this.smoothPan},t.prototype.set_smoothPan=function(t){return this.smoothPan=t,t},t.prototype.get_solarSystemCMB=function(){return this.solarSystemCMB},t.prototype.set_solarSystemCMB=function(t){return this.solarSystemCMB=t,t},t.prototype.get_solarSystemCosmos=function(){return this.solarSystemCosmos},t.prototype.set_solarSystemCosmos=function(t){return this.solarSystemCosmos=t,t},t.prototype.get_solarSystemLighting=function(){return this.solarSystemLighting},t.prototype.set_solarSystemLighting=function(t){return this.solarSystemLighting=t,t},t.prototype.get_solarSystemMilkyWay=function(){return this.solarSystemMilkyWay},t.prototype.set_solarSystemMilkyWay=function(t){return this.solarSystemMilkyWay=t,t},t.prototype.get_solarSystemMinorPlanets=function(){return this.solarSystemMinorPlanets},t.prototype.set_solarSystemMinorPlanets=function(t){return this.solarSystemMinorPlanets=t,t},t.prototype.get_solarSystemMultiRes=function(){return this.solarSystemMultiRes},t.prototype.set_solarSystemMultiRes=function(t){return this.solarSystemMultiRes=t,t},t.prototype.get_solarSystemOrbits=function(){return this.solarSystemOrbits},t.prototype.set_solarSystemOrbits=function(t){return this.solarSystemOrbits=t,t},t.prototype.get_solarSystemOverlays=function(){return this.solarSystemOverlays},t.prototype.set_solarSystemOverlays=function(t){return this.solarSystemOverlays=t,t},t.prototype.get_solarSystemPlanets=function(){return this.solarSystemPlanets},t.prototype.set_solarSystemPlanets=function(t){return this.solarSystemPlanets=t,t},t.prototype.get_solarSystemScale=function(){return this.solarSystemScale},t.prototype.set_solarSystemScale=function(t){return this.solarSystemScale=t,t},t.prototype.get_solarSystemStars=function(){return this.solarSystemStars},t.prototype.set_solarSystemStars=function(t){return this.solarSystemStars=t,t},t.prototype.get_solarSystemMinorOrbits=function(){return this.solarSystemMinorOrbits},t.prototype.set_solarSystemMinorOrbits=function(t){return this.solarSystemMinorOrbits=t,t}})();var Pe=["fill","fillColor","lineColor","lineWidth"];we.concat(Pe);function Le(t,e){var n,o;be(t,e);try{for(var i=It(Pe),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}(function(t){function e(e){var n=t.call(this,e)||this;return Le(e,n),n}Et(e,t),e.prototype.get_fill=function(){return this.fill},e.prototype.set_fill=function(t){return this.fill=t,t},e.prototype.get_fillColor=function(){return this.fillColor},e.prototype.set_fillColor=function(t){return this.fillColor=t,t},e.prototype.get_lineColor=function(){return this.lineColor},e.prototype.set_lineColor=function(t){return this.lineColor=t,t},e.prototype.get_lineWidth=function(){return this.lineWidth},e.prototype.set_lineWidth=function(t){return this.lineWidth=t,t}})(xe);var Ae=["lineColor","lineWidth"];we.concat(Ae);function Ee(t,e){var n,o;be(t,e);try{for(var i=It(Ae),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}(function(t){function e(e){var n=t.call(this,e)||this;return Ee(e,n),n}Et(e,t),e.prototype.get_lineColor=function(){return this.lineColor},e.prototype.set_lineColor=function(t){return this.lineColor=t,t},e.prototype.get_lineWidth=function(){return this.lineWidth},e.prototype.set_lineWidth=function(t){return this.lineWidth=t,t}})(xe);var ze=["altColumn","altType","altUnit","autoUpdate","beginRange","cartesianCustomScale","cartesianScale","colorMapColumn","coordinatesType","dataSourceUrl","decay","dynamicData","endDateColumn","endRange","hyperlinkColumn","hyperlinkFormat","latColumn","lngColumn","markerColumn","markerIndex","markerScale","nameColumn","plotType","pointScaleType","raUnits","scaleFactor","showFarSide","sizeColumn","startDateColumn","timeSeries","xAxisColumn","xAxisReverse","yAxisColumn","yAxisReverse","zAxisColumn","zAxisReverse"];ce.concat(ze);function Me(t,e){var n,o;ue(t,e);try{for(var i=It(ze),r=i.next();!r.done;r=i.next()){var a=r.value;e["set_"+a](t["get_"+a]())}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}(function(t){function e(e){var n=t.call(this,e)||this;return Me(e,n),n}Et(e,t),e.prototype.get_altColumn=function(){return this.altColumn},e.prototype.set_altColumn=function(t){return this.altColumn=t,t},e.prototype.get_altType=function(){return this.altType},e.prototype.set_altType=function(t){return this.altType=t,t},e.prototype.get_altUnit=function(){return this.altUnit},e.prototype.set_altUnit=function(t){return this.altUnit=t,t},e.prototype.get_autoUpdate=function(){return this.autoUpdate},e.prototype.set_autoUpdate=function(t){return this.autoUpdate=t,t},e.prototype.get_beginRange=function(){return this.beginRange},e.prototype.set_beginRange=function(t){return this.beginRange=t,t},e.prototype.get_cartesianCustomScale=function(){return this.cartesianCustomScale},e.prototype.set_cartesianCustomScale=function(t){return this.cartesianCustomScale=t,t},e.prototype.get_cartesianScale=function(){return this.cartesianScale},e.prototype.set_cartesianScale=function(t){return this.cartesianScale=t,t},e.prototype.get_colorMapColumn=function(){return this.colorMapColumn},e.prototype.set_colorMapColumn=function(t){return this.colorMapColumn=t,t},e.prototype.get_coordinatesType=function(){return this.coordinatesType},e.prototype.set_coordinatesType=function(t){return this.coordinatesType=t,t},e.prototype.get_dataSourceUrl=function(){return this.dataSourceUrl},e.prototype.set_dataSourceUrl=function(t){return this.dataSourceUrl=t,t},e.prototype.get_decay=function(){return this.decay},e.prototype.set_decay=function(t){return this.decay=t,t},e.prototype.get_dynamicData=function(){return this.dynamicData},e.prototype.set_dynamicData=function(t){return this.dynamicData=t,t},e.prototype.get_endDateColumn=function(){return this.endDateColumn},e.prototype.set_endDateColumn=function(t){return this.endDateColumn=t,t},e.prototype.get_endRange=function(){return this.endRange},e.prototype.set_endRange=function(t){return this.endRange=t,t},e.prototype.get_hyperlinkColumn=function(){return this.hyperlinkColumn},e.prototype.set_hyperlinkColumn=function(t){return this.hyperlinkColumn=t,t},e.prototype.get_hyperlinkFormat=function(){return this.hyperlinkFormat},e.prototype.set_hyperlinkFormat=function(t){return this.hyperlinkFormat=t,t},e.prototype.get_latColumn=function(){return this.latColumn},e.prototype.set_latColumn=function(t){return this.latColumn=t,t},e.prototype.get_lngColumn=function(){return this.lngColumn},e.prototype.set_lngColumn=function(t){return this.lngColumn=t,t},e.prototype.get_markerColumn=function(){return this.markerColumn},e.prototype.set_markerColumn=function(t){return this.markerColumn=t,t},e.prototype.get_markerIndex=function(){return this.markerIndex},e.prototype.set_markerIndex=function(t){return this.markerIndex=t,t},e.prototype.get_markerScale=function(){return this.markerScale},e.prototype.set_markerScale=function(t){return this.markerScale=t,t},e.prototype.get_nameColumn=function(){return this.nameColumn},e.prototype.set_nameColumn=function(t){return this.nameColumn=t,t},e.prototype.get_plotType=function(){return this.plotType},e.prototype.set_plotType=function(t){return this.plotType=t,t},e.prototype.get_pointScaleType=function(){return this.pointScaleType},e.prototype.set_pointScaleType=function(t){return this.pointScaleType=t,t},e.prototype.get_raUnits=function(){return this.raUnits},e.prototype.set_raUnits=function(t){return this.raUnits=t,t},e.prototype.get_scaleFactor=function(){return this.scaleFactor},e.prototype.set_scaleFactor=function(t){return this.scaleFactor=t,t},e.prototype.get_showFarSide=function(){return this.showFarSide},e.prototype.set_showFarSide=function(t){return this.showFarSide=t,t},e.prototype.get_sizeColumn=function(){return this.sizeColumn},e.prototype.set_sizeColumn=function(t){return this.sizeColumn=t,t},e.prototype.get_startDateColumn=function(){return this.startDateColumn},e.prototype.set_startDateColumn=function(t){return this.startDateColumn=t,t},e.prototype.get_timeSeries=function(){return this.timeSeries},e.prototype.set_timeSeries=function(t){return this.timeSeries=t,t},e.prototype.get_xAxisColumn=function(){return this.xAxisColumn},e.prototype.set_xAxisColumn=function(t){return this.xAxisColumn=t,t},e.prototype.get_xAxisReverse=function(){return this.xAxisReverse},e.prototype.set_xAxisReverse=function(t){return this.xAxisReverse=t,t},e.prototype.get_yAxisColumn=function(){return this.yAxisColumn},e.prototype.set_yAxisColumn=function(t){return this.yAxisColumn=t,t},e.prototype.get_yAxisReverse=function(){return this.yAxisReverse},e.prototype.set_yAxisReverse=function(t){return this.yAxisReverse=t,t},e.prototype.get_zAxisColumn=function(){return this.zAxisColumn},e.prototype.set_zAxisColumn=function(t){return this.zAxisColumn=t,t},e.prototype.get_zAxisReverse=function(){return this.zAxisReverse},e.prototype.set_zAxisReverse=function(t){return this.zAxisReverse=t,t}})(he);var Oe=function(){function t(t,e,n){this.payload=t,this.resolve=e,this.reject=n}return t}(),Ie=function(){function t(t){void 0===t&&(t={});var e=this;this.readyPromises=[],this.readyFired=!1,this.arrivePromises=[],this.arriveSeqnum=0,this.collectionLoadedPromises=[],this.collectionRequests=new Map,this.tourReadyPromises=[],this.tourReadySeqnum=0,this.tourEndedCallback=null;var n=new le.WWTControlBuilder(t.elId||"wwt");if(void 0!==t.startInternalRenderLoop&&n.startRenderLoop(t.startInternalRenderLoop),void 0!==t.freestandingAssetBaseurl&&n.freestandingMode(t.freestandingAssetBaseurl),void 0!==t.startLatDeg&&void 0!==t.startLngDeg){var o=t.startZoomDeg||360;n.initialView(t.startLatDeg,t.startLngDeg,o)}void 0!==t.startMode&&n.initialMode(t.startMode),this.si=n.create(),this.ctl=le.WWTControl.singleton,this.lm=le.LayerManager,this.stc=le.SpaceTimeController,this.applySetting(["showConstellationBoundries",!1]),this.applySetting(["showConstellationFigures",!1]),this.applySetting(["showConstellationSelection",!1]),this.applySetting(["showCrosshairs",!1]),this.si.add_ready((function(t){var n,o;try{for(var i=It(e.readyPromises),r=i.next();!r.done;r=i.next()){var a=r.value;a.resolve()}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}e.readyFired=!0,e.readyPromises=[]})),this.si.add_arrived((function(t,n){var o,i;try{for(var r=It(e.arrivePromises),a=r.next();!a.done;a=r.next()){var s=a.value;s.payload<e.arriveSeqnum?s.reject("superseded"):s.resolve()}}catch(l){o={error:l}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(o)throw o.error}}e.arrivePromises=[]})),this.si.add_tourReady((function(t){var n,o;try{for(var i=It(e.tourReadyPromises),r=i.next();!r.done;r=i.next()){var a=r.value;a.payload<e.tourReadySeqnum?a.reject("superseded"):a.resolve()}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}e.tourReadyPromises=[]})),le.TourPlayer.add_tourEnded((function(t){var n=e.getActiveTourPlayer();null!==n&&null!==e.tourEndedCallback&&e.tourEndedCallback(n)}))}return t.prototype.waitForReady=function(){return Mt(this,void 0,void 0,(function(){var t=this;return Ot(this,(function(e){return[2,new Promise((function(e,n){t.readyFired?e():t.readyPromises.push(new Oe(null,e,n))}))]}))}))},t.prototype.makeArrivePromise=function(t){var e,n,o=this;this.arriveSeqnum+=1;var i=this.arriveSeqnum;try{for(var r=It(this.arrivePromises),a=r.next();!a.done;a=r.next()){var s=a.value;s.reject("superseded")}}catch(l){e={error:l}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return this.arrivePromises=[],new Promise((function(e,n){o.arriveSeqnum>i?n("superseded"):t?e():o.arrivePromises.push(new Oe(i,e,n))}))},t.prototype.gotoRADecZoom=function(t,e,n,o,i){return Mt(this,void 0,void 0,(function(){return Ot(this,(function(r){return this.ctl.gotoRADecZoom(t*re,e*oe,n,o,i),[2,this.makeArrivePromise(o)]}))}))},t.prototype.timeToRADecZoom=function(t,e,n,o){var i=this.ctl.timeToRADecZoom(t*re,e*oe,n,o);return i},t.prototype.gotoTarget=function(t){return Mt(this,void 0,void 0,(function(){return Ot(this,(function(e){return this.ctl.gotoTarget(t.place,t.noZoom,t.instant,t.trackObject),[2,this.makeArrivePromise(t.instant)]}))}))},t.prototype.addImagesetToRepository=function(t){return le.WWTControl.addImageSetToRepository(t)},t.prototype.loadImageCollection=function(t,e){return Mt(this,void 0,void 0,(function(){var n,o,i=this;return Ot(this,(function(r){return n=this.collectionRequests.get(t),void 0!==n&&null!==n?[2,Promise.resolve(n)]:(void 0===n&&(this.collectionRequests.set(t,null),o={f:null},void 0===e&&(e=!1),o.f=le.Wtml.getWtmlFile(t,(function(){var e=o.f;i.collectionRequests.set(t,e),i.collectionLoadedPromises=i.collectionLoadedPromises.filter((function(n){return n.payload!=t||(n.resolve(e),!1)}))}),e)),[2,new Promise((function(e,n){var o=i.collectionRequests.get(t);void 0!==o&&null!==o?e(o):i.collectionLoadedPromises.push(new Oe(t,e,n))}))])}))}))},t.prototype.addImageSetLayer=function(t){return Mt(this,void 0,void 0,(function(){var e=this;return Ot(this,(function(n){return[2,new Promise((function(n,o){e.si.addImageSetLayer(t.url,t.mode,t.name,t.goto,(function(t){n(t)}))}))]}))}))},t.prototype.setImageSetLayerOrder=function(t){this.si.setImageSetLayerOrder(t.id,t.order)},t.prototype.stretchFitsLayer=function(t){var e=this.lm.get_layerList()[t.id];if(e&&e instanceof le.ImageSetLayer){e.setImageScalePhysical(t.stretch,t.vmin,t.vmax);var n=e.getFitsImage();null!==n&&(e.get_imageSet().get_fitsProperties().transparentBlack=!1)}},t.prototype.setFitsLayerColormap=function(t){var e=this.lm.get_layerList()[t.id];e&&e instanceof le.ImageSetLayer&&e.set_colorMapperName(t.name)},t.prototype.applyFitsLayerSettings=function(t){var e,n,o=this.lm.get_layerList()[t.id];if(o&&o instanceof le.ImageSetLayer)try{for(var i=It(t.settings),r=i.next();!r.done;r=i.next()){var a=r.value;fe(o,a)}}catch(s){e={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},t.prototype.updateTableLayer=function(t){var e=this.lm.get_layerList()[t.id];e&&e instanceof le.SpreadSheetLayer&&e.updateData(t.dataCsv,!0,!0,!0)},t.prototype.applyTableLayerSettings=function(t){var e,n,o=this.lm.get_layerList()[t.id];if(o&&o instanceof le.SpreadSheetLayer)try{for(var i=It(t.settings),r=i.next();!r.done;r=i.next()){var a=r.value;ye(o,a)}}catch(s){e={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},t.prototype.addCatalogHipsByName=function(t){return Mt(this,void 0,void 0,(function(){var e=this;return Ot(this,(function(n){return[2,new Promise((function(n,o){var i=e.ctl.getImagesetByName(t.name);null===i?o():e.ctl.renderContext.addCatalogHips(i,(function(){n(i)}))}))]}))}))},t.prototype.getCatalogHipsDataInView=function(t){return Mt(this,void 0,void 0,(function(){var e=this;return Ot(this,(function(n){return[2,new Promise((function(n,o){e.ctl.renderContext.getCatalogHipsDataInView(t.imageset,t.limit,(function(t){n(t)}))}))]}))}))},t.prototype.applySetting=function(t){var e="set_"+t[0],n=t[1];this.si.settings[e](n)},t.prototype.setBackgroundImageByName=function(t){this.ctl.setBackgroundImageByName(t)},t.prototype.setForegroundImageByName=function(t){this.ctl.setForegroundImageByName(t)},t.prototype.setForegroundOpacity=function(t){this.si.setForegroundOpacity(t)},t.prototype.setupForImageset=function(t){var e,n;e=t.background?t.background:this.ctl.getDefaultImageset(t.foreground.get_dataSetType(),t.foreground.get_bandPass()),n=t.foreground.get_levels()>0?t.foreground.get_baseTileDegrees():t.foreground.get_baseTileDegrees()*t.foreground.get_offsetY()*2;var o=new le.Place;o.set_type(t.foreground.get_dataSetType()),o.set_backgroundImageset(e),o.set_studyImageset(t.foreground);var i=!1;switch(t.foreground.get_dataSetType()){case Ut.sky:180==n?i=!0:(o.set_RA(t.foreground.get_centerX()*se),o.set_dec(t.foreground.get_centerY()),o.set_zoomLevel(6*n));break;case Ut.earth:case Ut.planet:o.set_zoomLevel(120),180!=n&&(o.set_lng(t.foreground.get_centerX()),o.set_lat(t.foreground.get_centerY()));break;default:o.set_zoomLevel(360);break}this.ctl.renderContext.set_backgroundImageset(e),this.ctl.gotoTarget(o,i,!0,!0)},t.prototype.getActiveTourPlayer=function(){return null===this.ctl.uiController?null:this.ctl.uiController instanceof le.TourPlayer?this.ctl.uiController:null},t.prototype.getIsTourPlaying=function(t){return le.TourPlayer.get_playing()},t.prototype.loadTour=function(t){return Mt(this,void 0,void 0,(function(){var e,n,o,i,r,a,s=this;return Ot(this,(function(l){this.ctl.loadTour(t),this.tourReadySeqnum+=1,e=this.tourReadySeqnum;try{for(n=It(this.tourReadyPromises),o=n.next();!o.done;o=n.next())i=o.value,i.reject("superseded")}catch(c){r={error:c}}finally{try{o&&!o.done&&(a=n.return)&&a.call(n)}finally{if(r)throw r.error}}return this.tourReadyPromises=[],[2,new Promise((function(t,n){s.tourReadySeqnum>e?n("superseded"):s.tourReadyPromises.push(new Oe(e,t,n))}))]}))}))},t.prototype.loadAndPlayTour=function(t){return Mt(this,void 0,void 0,(function(){var e,n,o,i,r,a,s=this;return Ot(this,(function(l){this.ctl.playTour(t),this.tourReadySeqnum+=1,e=this.tourReadySeqnum;try{for(n=It(this.tourReadyPromises),o=n.next();!o.done;o=n.next())i=o.value,i.reject("superseded")}catch(c){r={error:c}}finally{try{o&&!o.done&&(a=n.return)&&a.call(n)}finally{if(r)throw r.error}}return this.tourReadyPromises=[],[2,new Promise((function(t,n){s.tourReadySeqnum>e?n("superseded"):s.tourReadyPromises.push(new Oe(e,t,n))}))]}))}))},t.prototype.getEffectiveTourTimecode=function(){var t=this.getActiveTourPlayer();if(null===t)return 0;var e=t.get_tour();if(null===e)return 0;var n=e.get_currentTourstopIndex();if(n<0)return 0;var o=e.elapsedTimeTillTourstop(n),i=e.get_tourStops()[n],r=i.get_tweenPosition()*i.get_duration()*.001,a=o+r;if(a<0)return 0;var s=.001*e.get_runTime();return a>s?s:a},t.prototype.seekToTourTimecode=function(t){var e=this.getActiveTourPlayer();if(null!==e){var n=e.get_tour();if(null!==n){for(var o=n.get_tourStops(),i=o.length-1,r=0;r<o.length;r++){var a=n.elapsedTimeTillTourstop(r);if(a>=t){i=r-1;break}}i<0&&(i=0),e.playFromTourstop(o[i])}}},t.prototype.captureFrame=function(t){var e=this;return new Promise((function(n,o){e.ctl.captureFrame((function(t){return n(t)}),t.width,t.height,t.format)}))},t.prototype.captureVideo=function(t){var e=this.ctl,n=new ReadableStream({start:function(n){function o(){var o=0;e.captureVideo((function(e){o++,n.enqueue(e),o>=t.totalFrames&&n.close()}),t.width,t.height,t.framesPerSecond,t.totalFrames,t.format)}return o()}});return n},t}(),Re=function(){function t(){this.inst=null,this.onLinkedCallbacks=[]}return t.prototype.link=function(t){var e,n;if(null!==this.inst)throw new Error("must unlink WWT Pinia global state before relinking");this.inst=t;try{for(var o=It(this.onLinkedCallbacks),i=o.next();!i.done;i=o.next()){var r=i.value;r()}}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}this.onLinkedCallbacks=[]},t.prototype.unlink=function(){this.inst=null},t}(),Be=function(){function t(t,e,n,o,i,r){void 0===r&&(r=null),this.url=t,this.name=e,this.type=n,this.description=o,this.extension=i,this.id=r}return t.fromImageset=function(e){var n,o;return new t(e.get_url(),e.get_name(),e.get_dataSetType(),e.get_creditsText(),e.get_extension(),null!==(o=null===(n=e.get_hipsProperties())||void 0===n?void 0:n.get_catalogSpreadSheetLayer().id.toString())&&void 0!==o?o:null)},t}(),Ne=function(){function t(t,e,n){this.id=t,this.referenceFrame=e,this.name=null!==n&&void 0!==n?n:t}return t.prototype.setName=function(t){this.name=t},t}(),De=function(){function t(t){this.guidText=t.id.toString(),this.settings=new me(t);var e=t.get_imageSet().get_fitsProperties();this.scaleType=e.scaleType,this.vmin=e.lowerCut,this.vmax=e.upperCut,this.colormapName=e.colorMapName}return t.prototype.getGuid=function(){return this.guidText},t}();function Fe(t){if(null===t.inst)throw new Error("cannot get activeLayersList without linking to WWTInstance");var e=[];function n(t){var o,i,r,a;try{for(var s=It(t.layers),l=s.next();!l.done;l=s.next()){var c=l.value;e.push(c.id.toString())}}catch(p){o={error:p}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}try{for(var u=It(Object.entries(t.childMaps)),h=u.next();!h.done;h=u.next()){var d=Rt(h.value,2),f=(d[0],d[1]);n(f)}}catch(m){r={error:m}}finally{try{h&&!h.done&&(a=u.return)&&a.call(u)}finally{if(r)throw r.error}}}var o=t.inst.lm.get_allMaps()[t.inst.ctl.getCurrentReferenceFrame()];return o&&n(o),e}function je(){return le.WWTControl.getImageSets().map(Be.fromImageset)}var We=Tt("wwt-engine",{state:function(){return{activeLayers:[],availableImagesets:[],backgroundImageset:null,clockDiscontinuities:0,clockRate:1,currentTime:new Date,decRad:0,foregroundImageset:null,foregroundOpacity:100,imagesetLayers:{},isTourPlayerActive:!1,isTourPlaying:!1,raRad:0,renderType:Ut.sky,rollRad:0,spreadSheetLayers:{},timeAtStartup:Date.now(),tourCompletions:0,tourRunTime:null,tourStopStartTimes:[],tourTimecode:0,showWebGl2Warning:!1,zoomDeg:0}},getters:{lookupImageset:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot lookupImageset without linking to WWTInstance");return e.$wwt.inst.ctl.getImagesetByName(t)}},findRADecForScreenPoint:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot findRADecForScreenPoint without linking to WWTInstance");var n=e.$wwt.inst.ctl.getCoordinatesForScreenPoint(t.x,t.y);return{ra:(15*n.x+720)%360,dec:n.y}}},findScreenPointForRADec:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot findScreenPointForRADec without linking to WWTInstance");return e.$wwt.inst.ctl.getScreenPointForCoordinates(t.ra/15,t.dec)}},imagesetStateForLayer:function(t){return function(e){return t.imagesetLayers[e]||null}},activeImagesetLayerStates:function(){var t,e,n=[];try{for(var o=It(this.activeLayers),i=o.next();!i.done;i=o.next()){var r=i.value,a=this.imagesetLayers[r];a&&n.push(a)}}catch(s){t={error:s}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return n},catalogLayerKey:function(t){return function(t){var e;return null!==(e=t.id)&&void 0!==e?e:""}},imagesetForLayer:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot get imagesetForLayer without linking to WWTInstance");var n=e.$wwt.inst.lm.get_layerList()[t];return null!==n&&n instanceof le.ImageSetLayer?n.get_imageSet():null}},imagesetLayerById:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot get imagesetLayerById without linking to WWTInstance");var n=e.layerById(t);return null!==n&&n instanceof le.ImageSetLayer?n:null}},layerForHipsCatalog:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot get layerForHipsCatalog without linking to WWTInstance");var n=le.Guid.createFrom(t).toString();return e.spreadSheetLayerById(n)}},layerById:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot get layerById without linking to WWTInstance");return e.$wwt.inst.lm.get_layerList()[t]}},spreadsheetStateForHipsCatalog:function(t){var e=this;return function(n){if(null===e.$wwt.inst)throw new Error("cannot get spreadsheetStateForHipsCatalog without linking to WWTInstance");var o=le.Guid.createFrom(n).toString();return t.spreadSheetLayers[o]||null}},spreadSheetLayerById:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot get spreadsheetLayerById without linking to WWTInstance");var n=e.layerById(t);return null!==n&&n instanceof le.SpreadSheetLayer?n:null}},spreadsheetStateById:function(t){return function(e){return t.spreadSheetLayers[e]||null}},spreadSheetLayer:function(t){var e=this;return function(t){if(null===e.$wwt.inst)throw new Error("cannot get spreadSheetLayer without linking to WWTInstance");var n=e.catalogLayerKey(t);return e.spreadSheetLayerById(n)}},spreadsheetState:function(t){var e=this;return function(n){var o=e.catalogLayerKey(n);return t.spreadSheetLayers[o]||null}}},actions:{internalLinkToInstance:function(t){this.$wwt.link(t)},internalUnlinkFromInstance:function(){this.$wwt.unlink()},internalUpdate:function(){if(null===this.$wwt.inst)throw new Error("cannot internalUpdate without linking to WWTInstance");var t=this.$wwt.inst,e=t.si.getRA()*ae;this.raRad!=e&&(this.raRad=e);var n=t.si.getDec()*ie;this.decRad!=n&&(this.decRad=n);var o=t.ctl.renderContext.viewCamera.zoom;this.zoomDeg!=o&&(this.zoomDeg=o);var i=t.ctl.renderContext.viewCamera.rotation;this.rollRad!=i&&(this.rollRad=i);var r=t.ctl.renderContext.get_backgroundImageset()||null;this.backgroundImageset!=r&&(this.backgroundImageset=r);var a=t.stc.get_now();this.currentTime!=a&&(this.currentTime=a);var s=t.ctl.renderContext.get_foregroundImageset()||null;this.foregroundImageset!=s&&(this.foregroundImageset=s),this.foregroundOpacity!=t.ctl.renderContext.viewCamera.opacity&&(this.foregroundOpacity=t.ctl.renderContext.viewCamera.opacity),this.renderType!=t.ctl.renderType&&(this.renderType=t.ctl.renderType);var l=t.getActiveTourPlayer();this.tourTimecode=t.getEffectiveTourTimecode(),null!==l?(this.isTourPlayerActive=!0,this.isTourPlaying=t.getIsTourPlaying(l)):(this.isTourPlayerActive=!1,this.isTourPlaying=!1);var c=!t.si.isUsingWebGl2()&&Date.now()-this.timeAtStartup<15e3;this.showWebGl2Warning!=c&&(this.showWebGl2Warning=c)},internalIncrementTourCompletions:function(){this.tourCompletions+=1},applySetting:function(t){if(null===this.$wwt.inst)throw new Error("cannot applySetting without linking to WWTInstance");this.$wwt.inst.applySetting(t)},setBackgroundImageByName:function(t){if(null===this.$wwt.inst)throw new Error("cannot setBackgroundImageByName without linking to WWTInstance");this.$wwt.inst.setBackgroundImageByName(t)},setForegroundImageByName:function(t){if(null===this.$wwt.inst)throw new Error("cannot setForegroundImageByName without linking to WWTInstance");this.$wwt.inst.setForegroundImageByName(t)},setForegroundOpacity:function(t){if(null===this.$wwt.inst)throw new Error("cannot setForegroundOpacity without linking to WWTInstance");this.$wwt.inst.setForegroundOpacity(t),this.foregroundOpacity=t},setupForImageset:function(t){if(null===this.$wwt.inst)throw new Error("cannot setupForImageset without linking to WWTInstance");this.$wwt.inst.setupForImageset(t)},zoom:function(t){if(null===this.$wwt.inst)throw new Error("cannot zoom without linking to WWTInstance");this.$wwt.inst.ctl.zoom(t)},move:function(t){if(null===this.$wwt.inst)throw new Error("cannot move without linking to WWTInstance");this.$wwt.inst.ctl.move(t.x,t.y)},tilt:function(t){if(null===this.$wwt.inst)throw new Error("cannot tilt without linking to WWTInstance");this.$wwt.inst.ctl._tilt(t.x,t.y)},setTime:function(t){if(null===this.$wwt.inst)throw new Error("cannot setTime without linking to WWTInstance");this.$wwt.inst.stc.set_now(t),this.clockDiscontinuities+=1},setClockRate:function(t){if(null===this.$wwt.inst)throw new Error("cannot setClockRate without linking to WWTInstance");this.$wwt.inst.stc.get_timeRate()!=t&&(this.$wwt.inst.stc.set_timeRate(t),this.clockRate=t,this.clockDiscontinuities+=1)},setClockSync:function(t){if(null===this.$wwt.inst)throw new Error("cannot setClockSync without linking to WWTInstance");this.$wwt.inst.stc.get_syncToClock()!=t&&(this.$wwt.inst.stc.set_syncToClock(t),this.clockRate=t?this.$wwt.inst.stc.get_timeRate():0,this.clockDiscontinuities+=1)},startTour:function(){if(null===this.$wwt.inst)throw new Error("cannot start tour without linking to WWTInstance");var t=this.$wwt.inst.getActiveTourPlayer();if(null===t)throw new Error("no tour to start");t.play()},toggleTourPlayPauseState:function(){if(null===this.$wwt.inst)throw new Error("cannot play/pause tour without linking to WWTInstance");var t=this.$wwt.inst.getActiveTourPlayer();if(null===t)throw new Error("no tour to play/pause");t.pauseTour()},setTourPlayerLeaveSettingsWhenStopped:function(t){if(null===this.$wwt.inst)throw new Error("cannot setTourPlayerLeaveSettingsWhenStopped without linking to WWTInstance");var e=this.$wwt.inst.getActiveTourPlayer();if(null===e)throw new Error("no tour player to control");e.set_leaveSettingsWhenStopped(t)},seekToTourTimecode:function(t){if(null===this.$wwt.inst)throw new Error("cannot seekToTourTimecode without linking to WWTInstance");this.$wwt.inst.seekToTourTimecode(t)},viewAsTourXml:function(t){return Mt(this,void 0,void 0,(function(){var e,n,o,i,r;return Ot(this,(function(a){return le.WWTControl.singleton.createTour(t||""),e=le.WWTControl.singleton.tourEdit,e.addSlide(!1),n=e.get_tour(),null===n?[2,Promise.resolve(null)]:(o=n.saveToBlob(),i=new FileReader,i.readAsText(o),r="",[2,new Promise((function(t,e){i.onloadend=function(){r+=i.result,t(r)}}))])}))}))},waitForReady:function(){return Mt(this,void 0,void 0,(function(){var t=this;return Ot(this,(function(e){return null!==this.$wwt.inst?[2,this.$wwt.inst.waitForReady()]:[2,new Promise((function(e,n){var o=function(){t.$wwt.inst.waitForReady().then(e)};null!==t.$wwt.inst?o():t.$wwt.onLinkedCallbacks.push(o)}))]}))}))},gotoRADecZoom:function(t){var e=t.raRad,n=t.decRad,o=t.zoomDeg,i=t.instant,r=t.rollRad;return Mt(this,void 0,void 0,(function(){return Ot(this,(function(t){if(null===this.$wwt.inst)throw new Error("cannot gotoRADecZoom without linking to WWTInstance");return[2,this.$wwt.inst.gotoRADecZoom(e,n,o,i,r)]}))}))},timeToRADecZoom:function(t){var e=t.raRad,n=t.decRad,o=t.zoomDeg,i=t.rollRad;if(null===this.$wwt.inst)throw new Error("cannot get timeToRADecZoom without linking to WWTInstance");return this.$wwt.inst.timeToRADecZoom(e,n,o,i)},gotoTarget:function(t){return Mt(this,void 0,void 0,(function(){return Ot(this,(function(e){if(null===this.$wwt.inst)throw new Error("cannot gotoTarget without linking to WWTInstance");return[2,this.$wwt.inst.gotoTarget(t)]}))}))},setTrackedObject:function(t){if(null===this.$wwt.inst)throw new Error("cannot setTrackedObject without linking to WWTInstance");this.$wwt.inst.ctl.renderContext.set_solarSystemTrack(t)},loadTour:function(t){var e=t.url,n=t.play;return Mt(this,void 0,void 0,(function(){var t,o,i,r,a,s;return Ot(this,(function(l){switch(l.label){case 0:if(null===this.$wwt.inst)throw new Error("cannot loadTour without linking to WWTInstance");return n?[4,this.$wwt.inst.loadAndPlayTour(e)]:[3,2];case 1:return l.sent(),[3,4];case 2:return[4,this.$wwt.inst.loadTour(e)];case 3:l.sent(),l.label=4;case 4:if(t=null,o=[],i=this.$wwt.inst.getActiveTourPlayer(),null!==i&&(r=i.get_tour(),null!==r))for(t=.001*r.get_runTime(),a=r.get_tourStops().length,s=0;s<a;s++)o.push(r.elapsedTimeTillTourstop(s));return[2,{tourRunTime:t,tourStopStartTimes:o}]}}))}))},loadImageCollection:function(t){var e=t.url,n=t.loadChildFolders;return Mt(this,void 0,void 0,(function(){var t;return Ot(this,(function(o){switch(o.label){case 0:if(null===this.$wwt.inst)throw new Error("cannot loadImageCollection without linking to WWTInstance");return[4,this.$wwt.inst.loadImageCollection(e,n)];case 1:return t=o.sent(),this.availableImagesets=je(),[2,t]}}))}))},addImagesetToRepository:function(t){if(null===this.$wwt.inst)throw new Error("cannot addImagesetToRepository without linking to WWTInstance");return this.$wwt.inst.addImagesetToRepository(t)},deleteLayer:function(t){if(null===this.$wwt.inst)throw new Error("cannot deleteLayer without linking to WWTInstance");var e="";if("string"===typeof t){e=t;var n=le.Guid.fromString(t);this.$wwt.inst.lm.deleteLayerByID(n,!0,!0)}else e=t.toString(),this.$wwt.inst.lm.deleteLayerByID(t,!0,!0);delete this.imagesetLayers[e],delete this.spreadSheetLayers[e],this.activeLayers=Fe(this.$wwt)},addImageSetLayer:function(t){return Mt(this,void 0,void 0,(function(){var e,n;return Ot(this,(function(o){switch(o.label){case 0:if(null===this.$wwt.inst)throw new Error("cannot addImageSetLayer without linking to WWTInstance");return[4,this.$wwt.inst.addImageSetLayer(t)];case 1:return e=o.sent(),n=e.id.toString(),this.imagesetLayers[n]=new De(e),this.activeLayers=Fe(this.$wwt),[2,e]}}))}))},loadFitsLayer:function(t){return Mt(this,void 0,void 0,(function(){var e;return Ot(this,(function(n){if(null===this.$wwt.inst)throw new Error("cannot loadFitsLayer without linking to WWTInstance");return e={url:t.url,mode:"fits",name:t.name,goto:t.gotoTarget},[2,this.$wwt.inst.addImageSetLayer(e)]}))}))},setImageSetLayerOrder:function(t){if(null===this.$wwt.inst)throw new Error("cannot setImageSetLayerOrder without linking to WWTInstance");this.$wwt.inst.setImageSetLayerOrder(t),this.activeLayers=Fe(this.$wwt)},stretchFitsLayer:function(t){if(null===this.$wwt.inst)throw new Error("cannot stretchFitsLayer without linking to WWTInstance");this.$wwt.inst.stretchFitsLayer(t);var e=this.imagesetLayers[t.id];e&&(e.scaleType=t.stretch,e.vmin=t.vmin,e.vmax=t.vmax)},setFitsLayerColormap:function(t){if(null===this.$wwt.inst)throw new Error("cannot setFitsLayerColormap without linking to WWTInstance");this.$wwt.inst.setFitsLayerColormap(t);var e=this.imagesetLayers[t.id];e&&(e.colormapName=t.name)},applyFitsLayerSettings:function(t){var e,n;if(null===this.$wwt.inst)throw new Error("cannot applyFitsLayerSettings without linking to WWTInstance");this.$wwt.inst.applyFitsLayerSettings(t);var o=this.imagesetLayers[t.id];if(o)try{for(var i=It(t.settings),r=i.next();!r.done;r=i.next()){var a=r.value;fe(o.settings,a)}}catch(s){e={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},createTableLayer:function(t){return Mt(this,void 0,void 0,(function(){var e,n,o,i;return Ot(this,(function(r){switch(r.label){case 0:if(null===this.$wwt.inst)throw new Error("cannot createTableLayer without linking to WWTInstance");return e=this.$wwt.inst.lm.createSpreadsheetLayer(t.referenceFrame,t.name,t.dataCsv),e.set_lngColumn(-1),e.set_latColumn(-1),e.set_altColumn(-1),e.set_sizeColumn(-1),e.set_colorMapColumn(-1),e.set_startDateColumn(-1),e.set_endDateColumn(-1),e.set_xAxisColumn(-1),e.set_yAxisColumn(-1),e.set_zAxisColumn(-1),e.set_altUnit(Nt.meters),e.set_referenceFrame(t.referenceFrame),"Sky"==t.referenceFrame&&e.set_astronomical(!0),n=Promise.resolve(e),[4,n];case 1:return o=r.sent(),i=o.id.toString(),this.spreadSheetLayers[i]=new _e(o),this.activeLayers=Fe(this.$wwt),[2,o]}}))}))},applyTableLayerSettings:function(t){var e,n;if(null===this.$wwt.inst)throw new Error("cannot applyTableLayerSettings without linking to WWTInstance");this.$wwt.inst.applyTableLayerSettings(t);var o=this.spreadSheetLayers[t.id];if(void 0!==o)try{for(var i=It(t.settings),r=i.next();!r.done;r=i.next()){var a=r.value;ye(o,a)}}catch(s){e={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},updateTableLayer:function(t){if(null===this.$wwt.inst)throw new Error("cannot updateTableLayer without linking to WWTInstance");this.$wwt.inst.updateTableLayer(t)},addCatalogHipsByName:function(t){return Mt(this,void 0,void 0,(function(){var e,n,o,i,r;return Ot(this,(function(a){switch(a.label){case 0:if(null==this.$wwt.inst)throw new Error("cannot addCatalogHipsByName without linking to WWTInstance");return[4,this.$wwt.inst.addCatalogHipsByName(t)];case 1:return e=a.sent(),n=e.get_hipsProperties(),null!==n&&(o=n.get_catalogSpreadSheetLayer(),i=o.id.toString(),this.spreadSheetLayers[i]=new _e(o),r=je().find((function(e){return e.name===t.name})),void 0!==r&&(r.id=i)),this.activeLayers=Fe(this.$wwt),[2,e]}}))}))},getCatalogHipsDataInView:function(t){if(null==this.$wwt.inst)throw new Error("cannot getCatalogHipsDataInView without linking to WWTInstance");return this.$wwt.inst.getCatalogHipsDataInView(t)},removeCatalogHipsByName:function(t){if(null==this.$wwt.inst)throw new Error("cannot removeCatalogHipsByName without linking to WWTInstance");this.$wwt.inst.ctl.removeCatalogHipsByName(t);var e=le.Guid.createFrom(t).toString();delete this.spreadSheetLayers[e],this.activeLayers=Fe(this.$wwt)},addAnnotation:function(t){if(null===this.$wwt.inst)throw new Error("cannot addAnnotation without linking to WWTInstance");this.$wwt.inst.si.addAnnotation(t)},removeAnnotation:function(t){if(null===this.$wwt.inst)throw new Error("cannot removeAnnotation without linking to WWTInstance");this.$wwt.inst.si.removeAnnotation(t)},clearAnnotations:function(){if(null===this.$wwt.inst)throw new Error("cannot clearAnnotations without linking to WWTInstance");this.$wwt.inst.si.clearAnnotations()},captureFrame:function(t){if(null===this.$wwt.inst)throw new Error("cannot captureThumbnail without linking to WWTInstance");return this.$wwt.inst.captureFrame(t)},captureVideo:function(t){if(null===this.$wwt.inst)throw new Error("cannot captureVideo without linking to WWTInstance");return this.$wwt.inst.captureVideo(t)}}}),Ze=(0,o.defineComponent)({props:{wwtNamespace:{type:String,default:"wwt",required:!0},wwtFreestandingAssetBaseurl:String},computed:zt(zt({},Pt(We,{wwtActiveLayers:"activeLayers",wwtAvailableImagesets:"availableImagesets",wwtBackgroundImageset:"backgroundImageset",wwtCurrentTime:"currentTime",wwtClockDiscontinuities:"clockDiscontinuities",wwtClockRate:"clockRate",wwtDecRad:"decRad",wwtForegroundImageset:"foregroundImageset",wwtForegroundOpacity:"foregroundOpacity",wwtImagesetLayers:"imagesetLayers",wwtIsTourPlayerActive:"isTourPlayerActive",wwtIsTourPlaying:"isTourPlaying",wwtRARad:"raRad",wwtRenderType:"renderType",wwtRollRad:"rollRad",wwtShowWebGl2Warning:"showWebGl2Warning",wwtSpreadSheetLayers:"spreadSheetLayers",wwtTourCompletions:"tourCompletions",wwtTourRunTime:"tourRunTime",wwtTourStopStartTimes:"tourStopStartTimes",wwtTourTimecode:"tourTimecode",wwtZoomDeg:"zoomDeg"})),Pt(We,["activeImagesetLayerStates","findRADecForScreenPoint","findScreenPointForRADec","imagesetForLayer","imagesetStateForLayer","layerForHipsCatalog","lookupImageset","spreadSheetLayerById","spreadSheetLayer","spreadsheetState","spreadsheetStateById","spreadsheetStateForHipsCatalog"])),methods:zt({},Lt(We,["addCatalogHipsByName","createTableLayer","getCatalogHipsDataInView","gotoRADecZoom","timeToRADecZoom","gotoTarget","loadImageCollection","addImagesetToRepository","loadFitsLayer","addImageSetLayer","loadTour","viewAsTourXml","waitForReady","addAnnotation","applyFitsLayerSettings","applyTableLayerSettings","applySetting","captureFrame","captureVideo","clearAnnotations","deleteLayer","removeAnnotation","removeCatalogHipsByName","seekToTourTimecode","setBackgroundImageByName","setClockRate","setClockSync","setFitsLayerColormap","setForegroundImageByName","setForegroundOpacity","setImageSetLayerOrder","setTourPlayerLeaveSettingsWhenStopped","setTime","setTrackedObject","setupForImageset","startTour","stretchFitsLayer","toggleTourPlayPauseState","updateTableLayer","zoom","move","tilt"]))}),Ve=["id"];function He(t,e,n,i,r,a){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{id:t.uniqueId,class:"wwtelescope-component"},null,8,Ve)}var $e=0;const Ue=(0,o.defineComponent)({props:{wwtNamespace:{type:String,default:"wwt",required:!0},wwtFreestandingAssetBaseurl:String,customId:String},data:function(){return{uniqueId:"",wwt:void 0,renderLoopId:void 0}},methods:zt({},Lt(We,["internalIncrementTourCompletions","internalLinkToInstance","internalUnlinkFromInstance","internalUpdate","waitForReady"])),created:function(){var t=void 0===this.customId?"wwtcmpt".concat($e):this.customId;Object.defineProperties(this,{uniqueId:{get:function(){return t}}}),$e+=1},mounted:function(){var t=this;this.wwt=(0,o.markRaw)(new Ie({elId:this.uniqueId,startInternalRenderLoop:!1,startLatDeg:-28.9,startLngDeg:93.6,freestandingAssetBaseurl:this.wwtFreestandingAssetBaseurl})),this.internalLinkToInstance(this.wwt);var e=function(){var n=t.wwt;t.renderLoopId=window.requestAnimationFrame(e),n.ctl.renderOneFrame(),t.internalUpdate()};this.waitForReady().then((function(){(0,o.nextTick)().then((function(){t.renderLoopId=window.requestAnimationFrame(e)}))})),this.wwt.tourEndedCallback=function(e){t.internalIncrementTourCompletions()}},unmounted:function(){void 0!==this.renderLoopId&&(window.cancelAnimationFrame(this.renderLoopId),this.renderLoopId=void 0),void 0!==this.wwt&&(this.wwt.tourEndedCallback=null),this.internalUnlinkFromInstance()}});var Ge=r(959);const qe=(0,Ge.Z)(Ue,[["render",He]]),Ye=qe;var Ke=ft();Ke.use((function(t){var e=t.store;e.$wwt=new Re}))})(),a})()))},101:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>g});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=n(417),l=n.n(s),c=new URL(n(648),n.b),u=new URL(n(577),n.b),h=new URL(n(24),n.b),d=a()(i()),f=l()(c),p=l()(u),m=l()(h);d.push([t.id,`.leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-bottom,.leaflet-top{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:hsla(0,0%,100%,.5)}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px rgba(0,0,0,.65);border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:focus,.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px rgba(0,0,0,.4);background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(${f});width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(${p});background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(${m})}.leaflet-container .leaflet-control-attribution{background:#fff;background:hsla(0,0%,100%,.8);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:focus,.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;box-sizing:border-box;background:hsla(0,0%,100%,.8);text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:17px 0;margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px rgba(0,0,0,.4)}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:focus,.leaflet-container a.leaflet-popup-close-button:hover{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678)}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px rgba(0,0,0,.4)}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}`,""]);const g=d},908:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,'.v-icon{--v-icon-size-multiplier:1;align-items:center;display:inline-flex;font-feature-settings:"liga";height:1em;justify-content:center;letter-spacing:normal;line-height:1;position:relative;text-indent:0;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:1em;min-width:1em}.v-icon--clickable{cursor:pointer}.v-icon--size-x-small{font-size:calc(var(--v-icon-size-multiplier)*1em)}.v-icon--size-small{font-size:calc(var(--v-icon-size-multiplier)*1.25em)}.v-icon--size-default{font-size:calc(var(--v-icon-size-multiplier)*1.5em)}.v-icon--size-large{font-size:calc(var(--v-icon-size-multiplier)*1.75em)}.v-icon--size-x-large{font-size:calc(var(--v-icon-size-multiplier)*2em)}.v-icon__svg{fill:currentColor;width:100%;height:100%}.v-icon--start{margin-inline-end:8px}.v-icon--end{margin-inline-start:8px}',""]);const l=s},42:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,".v-overlay-container{contain:layout;left:0;pointer-events:none;position:absolute;top:0;display:contents}.v-overlay-scroll-blocked{padding-inline-end:var(--v-scrollbar-offset)}.v-overlay-scroll-blocked:not(html){overflow-y:hidden!important}html.v-overlay-scroll-blocked{position:fixed;top:var(--v-body-scroll-y);left:var(--v-body-scroll-x);width:100%;height:100%}.v-overlay{border-radius:inherit;display:flex;left:0;pointer-events:none;position:fixed;top:0;bottom:0;right:0}.v-overlay__content{outline:none;position:absolute;pointer-events:auto;contain:layout}.v-overlay__scrim{pointer-events:auto;background:rgb(var(--v-theme-on-surface));border-radius:inherit;bottom:0;left:0;opacity:var(--v-overlay-opacity,.32);position:fixed;right:0;top:0}.v-overlay--absolute,.v-overlay--contained .v-overlay__scrim{position:absolute}.v-overlay--scroll-blocked{padding-inline-end:var(--v-scrollbar-offset)}",""]);const l=s},140:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,".v-tooltip>.v-overlay__content{background:rgb(var(--v-theme-surface-variant));color:rgb(var(--v-theme-on-surface-variant));border-radius:4px;font-size:.875rem;line-height:1.6;display:inline-block;padding:5px 16px;text-transform:none;width:auto;opacity:1;pointer-events:none;transition-property:opacity,transform;overflow-wrap:break-word}.v-tooltip>.v-overlay__content[class*=enter-active]{transition-timing-function:cubic-bezier(0,0,.2,1);transition-duration:.15s}.v-tooltip>.v-overlay__content[class*=leave-active]{transition-timing-function:cubic-bezier(.4,0,1,1);transition-duration:75ms}",""]);const l=s},396:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,"#credits{color:#ddd;font-size:calc(.7em + .2vw);justify-self:flex-end;align-self:flex-end;display:flex;justify-content:center;align-items:center}#credits p{margin:0;padding:0;line-height:1}#credits a{text-decoration:none;color:#fff;pointer-events:auto}#credits a:hover{text-decoration:underline}#credits a[class^=share-network]:hover{text-decoration:none;filter:brightness(75%)}#credits img{height:35px;vertical-align:middle;margin:2px}@media only screen and (max-width:600px){#credits img{height:24px}}#credits svg{vertical-align:middle;height:24px}",""]);const l=s},197:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,"#funding-acknowledgment{color:#e0e0e0;background-color:#0c3d91;font-size:calc(.8em + .1vw + .1vh);line-height:calc(1em + .3vw + .3vh);padding-inline:1em;padding-block:.7em;justify-self:flex-end;align-self:flex-end;display:flex;justify-content:center;align-items:center;border-radius:5px}",""]);const l=s},514:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,".gallery-root{transition-property:height,width;transition:.5s ease-out}.gallery-root .blurred{background:transparent;box-shadow:0 4px 30px rgba(0,0,0,.1);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.gallery-root .gallery{border-radius:5px;border:1px solid #fff;display:flex;flex-direction:column;overflow-y:auto;max-height:var(--gallery-max-height);width:min();position:fixed;left:50%;transform:translateX(-50%)}.gallery-root .noselect{-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.gallery-root .gallery-header{position:relative;display:flex;justify-content:center}.gallery-root .gallery-title{font-size:16pt}.gallery-root .gallery-close{position:absolute;right:3px;cursor:pointer}.gallery-root .gallery-content{display:grid;grid-template-columns:repeat(var(--column-count),minmax(100px,1fr));-moz-column-gap:10px;column-gap:10px;row-gap:5px;padding:5px}.gallery-root .default-activator{border-radius:3px;border:1px solid #fff;position:relative;height:-moz-fit-content;height:fit-content;width:-moz-fit-content;width:fit-content;display:flex;flex-direction:column;cursor:pointer}.gallery-root .default-activator img{padding:5px;border-radius:3px}.gallery-root .default-activator-title{margin:auto}.gallery-root .gallery-item{border-radius:3px;border:1px solid #fff;display:flex;flex-direction:column;cursor:pointer}.gallery-root .gallery-item img{margin-left:auto;margin-right:auto;border-radius:3px;width:96px;height:45px;-o-object-fit:cover;object-fit:cover}.gallery-root .gallery-item span{flex-grow:1;display:inline-grid;align-items:center;text-align:center}.gallery-root .selected{border:1px solid var(--selected-color)}.gallery-root .selected span{color:var(--selected-color)}.gallery-root .place-name{font-size:10pt}",""]);const l=s},688:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,".icon-wrapper{color:var(--color);border-color:var(--color);background:var(--background-color);padding:6px 8px;border:1px solid var(--color);display:flex;align-items:center;justify-content:center;pointer-events:auto;border-radius:20px}.icon-wrapper:hover{cursor:pointer}.icon-wrapper:focus{color:var(--focus-color);border-color:var(--focus-color)}.icon-wrapper.active{box-shadow:0 0 10px 3px var(--active-shadow)}.icon-wrapper.active:focus{box-shadow:0 0 10px 3px var(--focus-shadow)}",""]);const l=s},442:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,'.map-container{height:100%;width:100%;margin:auto;padding:5px 0;border-radius:5px}.map-container .leaflet-bottom.leaflet-right:before{content:" Credit: ยฉ Leaflet.js";top:100%;left:100%;transform:translate(-100%,-100%);pointer-events:auto;color:#0078a8;background-color:hsla(0,0%,100%,.8);font-size:.75em;padding-inline:.5em;padding-block:.3em}.map-container .leaflet-bottom.leaflet-right:hover:before{content:"";background-color:transparent}.map-container .leaflet-bottom.leaflet-right:hover>.leaflet-control-attribution{display:block}.map-container .leaflet-control-attribution{display:none}.map-container path.leaflet-interactive:focus{outline:none}.map-container path.leaflet-interactive:focus-visible{outline:5px auto #000}',""]);const l=s},860:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,".rating-root{display:flex;flex-direction:column;gap:10px;align-items:center;padding:5px}.rating-icon-row{display:flex;flex-direction:row;gap:10px;padding:20px;justify-content:center}.rating{transition:color .1s}.selected{border-radius:50%;box-shadow:0 0 0 5px silver}.rating-notification{border-radius:5px;font-size:calc(var(--default-font-size)*1.1);padding:1em;color:#fff}.rating-notification.success{background-color:#9a009a}.rating-notification.error{background-color:#b30000}.comments-box{width:75%}.v-card-actions{display:var(--footer-visible)}.close-button{display:inline}.v-card-text{width:100%}.close-button{position:absolute;top:5px;right:5px}.rating-title{padding:5px 10px}",""]);const l=s},455:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,"#wwt-hud{position:absolute;top:var(--hud-top);left:var(--hud-left);bottom:var(--hud-bottom);right:var(--hud-right);padding:.5em;transform:translate(var(--offset-center-x),var(--offset-center-y));color:#fff;font-size:var(--font-size);font-family:monospace;text-align:center;text-shadow:var(--text-shadow);pointer-events:auto;text-align:left;background-color:var(--background-color)}",""]);const l=s},999:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(601),i=n.n(o),r=n(314),a=n.n(r),s=a()(i());s.push([t.id,"#logo-credits img{height:var(--logo-size)}",""]);const l=s},314:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",o="undefined"!==typeof e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),o&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),o&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,o,i,r){"string"===typeof t&&(t=[[null,t,void 0]]);var a={};if(o)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);o&&a[u[0]]||("undefined"!==typeof r&&("undefined"===typeof u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=r),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},417:t=>{"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},601:t=>{"use strict";t.exports=function(t){return t[1]}},481:function(t,e){
|
|
2
2
|
/* @preserve
|
|
3
3
|
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
|
4
4
|
* (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
|
5
5
|
*/
|
|
6
|
-
(function(t,n){n(e)})(0,(function(t){"use strict";var e="1.9.4";function n(t){var e,n,o,i;for(n=1,o=arguments.length;n<o;n++)for(e in i=arguments[n],i)t[e]=i[e];return t}var o=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function i(t,e){var n=Array.prototype.slice;if(t.bind)return t.bind.apply(t,n.call(arguments,1));var o=n.call(arguments,2);return function(){return t.apply(e,o.length?o.concat(n.call(arguments)):arguments)}}var r=0;function a(t){return"_leaflet_id"in t||(t["_leaflet_id"]=++r),t._leaflet_id}function s(t,e,n){var o,i,r,a;return a=function(){o=!1,i&&(r.apply(n,i),i=!1)},r=function(){o?i=arguments:(t.apply(n,arguments),setTimeout(a,e),o=!0)},r}function l(t,e,n){var o=e[1],i=e[0],r=o-i;return t===o&&n?t:((t-i)%r+r)%r+i}function c(){return!1}function u(t,e){if(!1===e)return t;var n=Math.pow(10,void 0===e?6:e);return Math.round(t*n)/n}function h(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function f(t){return h(t).split(/\s+/)}function d(t,e){for(var n in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?o(t.options):{}),e)t.options[n]=e[n];return t.options}function p(t,e,n){var o=[];for(var i in t)o.push(encodeURIComponent(n?i.toUpperCase():i)+"="+encodeURIComponent(t[i]));return(e&&-1!==e.indexOf("?")?"&":"?")+o.join("&")}var m=/\{ *([\w_ -]+) *\}/g;function g(t,e){return t.replace(m,(function(t,n){var o=e[n];if(void 0===o)throw new Error("No value provided for variable "+t);return"function"===typeof o&&(o=o(e)),o}))}var y=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function v(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return n;return-1}var _="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function w(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var b=0;function x(t){var e=+new Date,n=Math.max(0,16-(e-b));return b=e+n,window.setTimeout(t,n)}var k=window.requestAnimationFrame||w("RequestAnimationFrame")||x,S=window.cancelAnimationFrame||w("CancelAnimationFrame")||w("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function C(t,e,n){if(!n||k!==x)return k.call(window,i(t,e));t.call(e)}function T(t){t&&S.call(window,t)}var P={__proto__:null,extend:n,create:o,bind:i,get lastId(){return r},stamp:a,throttle:s,wrapNum:l,falseFn:c,formatNum:u,trim:h,splitWords:f,setOptions:d,getParamString:p,template:g,isArray:y,indexOf:v,emptyImageUrl:_,requestFn:k,cancelFn:S,requestAnimFrame:C,cancelAnimFrame:T};function A(){}function E(t){if("undefined"!==typeof L&&L&&L.Mixin){t=y(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}A.extend=function(t){var e=function(){d(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},i=e.__super__=this.prototype,r=o(i);for(var a in r.constructor=e,e.prototype=r,this)Object.prototype.hasOwnProperty.call(this,a)&&"prototype"!==a&&"__super__"!==a&&(e[a]=this[a]);return t.statics&&n(e,t.statics),t.includes&&(E(t.includes),n.apply(null,[r].concat(t.includes))),n(r,t),delete r.statics,delete r.includes,r.options&&(r.options=i.options?o(i.options):{},n(r.options,t.options)),r._initHooks=[],r.callInitHooks=function(){if(!this._initHooksCalled){i.callInitHooks&&i.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=r._initHooks.length;t<e;t++)r._initHooks[t].call(this)}},e},A.include=function(t){var e=this.prototype.options;return n(this.prototype,t),t.options&&(this.prototype.options=e,this.mergeOptions(t.options)),this},A.mergeOptions=function(t){return n(this.prototype.options,t),this},A.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),n="function"===typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};var O={on:function(t,e,n){if("object"===typeof t)for(var o in t)this._on(o,t[o],e);else{t=f(t);for(var i=0,r=t.length;i<r;i++)this._on(t[i],e,n)}return this},off:function(t,e,n){if(arguments.length)if("object"===typeof t)for(var o in t)this._off(o,t[o],e);else{t=f(t);for(var i=1===arguments.length,r=0,a=t.length;r<a;r++)i?this._off(t[r]):this._off(t[r],e,n)}else delete this._events;return this},_on:function(t,e,n,o){if("function"===typeof e){if(!1===this._listens(t,e,n)){n===this&&(n=void 0);var i={fn:e,ctx:n};o&&(i.once=!0),this._events=this._events||{},this._events[t]=this._events[t]||[],this._events[t].push(i)}}else console.warn("wrong listener type: "+typeof e)},_off:function(t,e,n){var o,i,r;if(this._events&&(o=this._events[t],o))if(1!==arguments.length)if("function"===typeof e){var a=this._listens(t,e,n);if(!1!==a){var s=o[a];this._firingCount&&(s.fn=c,this._events[t]=o=o.slice()),o.splice(a,1)}}else console.warn("wrong listener type: "+typeof e);else{if(this._firingCount)for(i=0,r=o.length;i<r;i++)o[i].fn=c;delete this._events[t]}},fire:function(t,e,o){if(!this.listens(t,o))return this;var i=n({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var r=this._events[t];if(r){this._firingCount=this._firingCount+1||1;for(var a=0,s=r.length;a<s;a++){var l=r[a],c=l.fn;l.once&&this.off(t,c,l.ctx),c.call(l.ctx||this,i)}this._firingCount--}}return o&&this._propagateEvent(i),this},listens:function(t,e,n,o){"string"!==typeof t&&console.warn('"string" type argument expected');var i=e;"function"!==typeof e&&(o=!!e,i=void 0,n=void 0);var r=this._events&&this._events[t];if(r&&r.length&&!1!==this._listens(t,i,n))return!0;if(o)for(var a in this._eventParents)if(this._eventParents[a].listens(t,e,n,o))return!0;return!1},_listens:function(t,e,n){if(!this._events)return!1;var o=this._events[t]||[];if(!e)return!!o.length;n===this&&(n=void 0);for(var i=0,r=o.length;i<r;i++)if(o[i].fn===e&&o[i].ctx===n)return i;return!1},once:function(t,e,n){if("object"===typeof t)for(var o in t)this._on(o,t[o],e,!0);else{t=f(t);for(var i=0,r=t.length;i<r;i++)this._on(t[i],e,n,!0)}return this},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[a(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[a(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,n({layer:t.target,propagatedFrom:t.target},t),!0)}};O.addEventListener=O.on,O.removeEventListener=O.clearAllEventListeners=O.off,O.addOneTimeEventListener=O.once,O.fireEvent=O.fire,O.hasEventListeners=O.listens;var z=A.extend(O);function M(t,e,n){this.x=n?Math.round(t):t,this.y=n?Math.round(e):e}var I=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};function R(t,e,n){return t instanceof M?t:y(t)?new M(t[0],t[1]):void 0===t||null===t?t:"object"===typeof t&&"x"in t&&"y"in t?new M(t.x,t.y):new M(t,e,n)}function B(t,e){if(t)for(var n=e?[t,e]:t,o=0,i=n.length;o<i;o++)this.extend(n[o])}function N(t,e){return!t||t instanceof B?t:new B(t,e)}function D(t,e){if(t)for(var n=e?[t,e]:t,o=0,i=n.length;o<i;o++)this.extend(n[o])}function F(t,e){return t instanceof D?t:new D(t,e)}function j(t,e,n){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==n&&(this.alt=+n)}function W(t,e,n){return t instanceof j?t:y(t)&&"object"!==typeof t[0]?3===t.length?new j(t[0],t[1],t[2]):2===t.length?new j(t[0],t[1]):null:void 0===t||null===t?t:"object"===typeof t&&"lat"in t?new j(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new j(t,e,n)}M.prototype={clone:function(){return new M(this.x,this.y)},add:function(t){return this.clone()._add(R(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(R(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new M(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new M(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=I(this.x),this.y=I(this.y),this},distanceTo:function(t){t=R(t);var e=t.x-this.x,n=t.y-this.y;return Math.sqrt(e*e+n*n)},equals:function(t){return t=R(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=R(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+u(this.x)+", "+u(this.y)+")"}},B.prototype={extend:function(t){var e,n;if(!t)return this;if(t instanceof M||"number"===typeof t[0]||"x"in t)e=n=R(t);else if(t=N(t),e=t.min,n=t.max,!e||!n)return this;return this.min||this.max?(this.min.x=Math.min(e.x,this.min.x),this.max.x=Math.max(n.x,this.max.x),this.min.y=Math.min(e.y,this.min.y),this.max.y=Math.max(n.y,this.max.y)):(this.min=e.clone(),this.max=n.clone()),this},getCenter:function(t){return R((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return R(this.min.x,this.max.y)},getTopRight:function(){return R(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,n;return t="number"===typeof t[0]||t instanceof M?R(t):N(t),t instanceof B?(e=t.min,n=t.max):e=n=t,e.x>=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=N(t);var e=this.min,n=this.max,o=t.min,i=t.max,r=i.x>=e.x&&o.x<=n.x,a=i.y>=e.y&&o.y<=n.y;return r&&a},overlaps:function(t){t=N(t);var e=this.min,n=this.max,o=t.min,i=t.max,r=i.x>e.x&&o.x<n.x,a=i.y>e.y&&o.y<n.y;return r&&a},isValid:function(){return!(!this.min||!this.max)},pad:function(t){var e=this.min,n=this.max,o=Math.abs(e.x-n.x)*t,i=Math.abs(e.y-n.y)*t;return N(R(e.x-o,e.y-i),R(n.x+o,n.y+i))},equals:function(t){return!!t&&(t=N(t),this.min.equals(t.getTopLeft())&&this.max.equals(t.getBottomRight()))}},D.prototype={extend:function(t){var e,n,o=this._southWest,i=this._northEast;if(t instanceof j)e=t,n=t;else{if(!(t instanceof D))return t?this.extend(W(t)||F(t)):this;if(e=t._southWest,n=t._northEast,!e||!n)return this}return o||i?(o.lat=Math.min(e.lat,o.lat),o.lng=Math.min(e.lng,o.lng),i.lat=Math.max(n.lat,i.lat),i.lng=Math.max(n.lng,i.lng)):(this._southWest=new j(e.lat,e.lng),this._northEast=new j(n.lat,n.lng)),this},pad:function(t){var e=this._southWest,n=this._northEast,o=Math.abs(e.lat-n.lat)*t,i=Math.abs(e.lng-n.lng)*t;return new D(new j(e.lat-o,e.lng-i),new j(n.lat+o,n.lng+i))},getCenter:function(){return new j((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new j(this.getNorth(),this.getWest())},getSouthEast:function(){return new j(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"===typeof t[0]||t instanceof j||"lat"in t?W(t):F(t);var e,n,o=this._southWest,i=this._northEast;return t instanceof D?(e=t.getSouthWest(),n=t.getNorthEast()):e=n=t,e.lat>=o.lat&&n.lat<=i.lat&&e.lng>=o.lng&&n.lng<=i.lng},intersects:function(t){t=F(t);var e=this._southWest,n=this._northEast,o=t.getSouthWest(),i=t.getNorthEast(),r=i.lat>=e.lat&&o.lat<=n.lat,a=i.lng>=e.lng&&o.lng<=n.lng;return r&&a},overlaps:function(t){t=F(t);var e=this._southWest,n=this._northEast,o=t.getSouthWest(),i=t.getNorthEast(),r=i.lat>e.lat&&o.lat<n.lat,a=i.lng>e.lng&&o.lng<n.lng;return r&&a},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=F(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}},j.prototype={equals:function(t,e){if(!t)return!1;t=W(t);var n=Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng));return n<=(void 0===e?1e-9:e)},toString:function(t){return"LatLng("+u(this.lat,t)+", "+u(this.lng,t)+")"},distanceTo:function(t){return V.distance(this,W(t))},wrap:function(){return V.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,n=e/Math.cos(Math.PI/180*this.lat);return F([this.lat-e,this.lng-n],[this.lat+e,this.lng+n])},clone:function(){return new j(this.lat,this.lng,this.alt)}};var Z={latLngToPoint:function(t,e){var n=this.projection.project(t),o=this.scale(e);return this.transformation._transform(n,o)},pointToLatLng:function(t,e){var n=this.scale(e),o=this.transformation.untransform(t,n);return this.projection.unproject(o)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var e=this.projection.bounds,n=this.scale(t),o=this.transformation.transform(e.min,n),i=this.transformation.transform(e.max,n);return new B(o,i)},infinite:!1,wrapLatLng:function(t){var e=this.wrapLng?l(t.lng,this.wrapLng,!0):t.lng,n=this.wrapLat?l(t.lat,this.wrapLat,!0):t.lat,o=t.alt;return new j(n,e,o)},wrapLatLngBounds:function(t){var e=t.getCenter(),n=this.wrapLatLng(e),o=e.lat-n.lat,i=e.lng-n.lng;if(0===o&&0===i)return t;var r=t.getSouthWest(),a=t.getNorthEast(),s=new j(r.lat-o,r.lng-i),l=new j(a.lat-o,a.lng-i);return new D(s,l)}},V=n({},Z,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var n=Math.PI/180,o=t.lat*n,i=e.lat*n,r=Math.sin((e.lat-t.lat)*n/2),a=Math.sin((e.lng-t.lng)*n/2),s=r*r+Math.cos(o)*Math.cos(i)*a*a,l=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s));return this.R*l}}),H=6378137,$={R:H,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,n=this.MAX_LATITUDE,o=Math.max(Math.min(n,t.lat),-n),i=Math.sin(o*e);return new M(this.R*t.lng*e,this.R*Math.log((1+i)/(1-i))/2)},unproject:function(t){var e=180/Math.PI;return new j((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:function(){var t=H*Math.PI;return new B([-t,-t],[t,t])}()};function U(t,e,n,o){if(y(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=e,this._c=n,this._d=o}function G(t,e,n,o){return new U(t,e,n,o)}U.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new M((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}};var q=n({},V,{code:"EPSG:3857",projection:$,transformation:function(){var t=.5/(Math.PI*$.R);return G(t,.5,-t,.5)}()}),Y=n({},q,{code:"EPSG:900913"});function K(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function J(t,e){var n,o,i,r,a,s,l="";for(n=0,i=t.length;n<i;n++){for(a=t[n],o=0,r=a.length;o<r;o++)s=a[o],l+=(o?"L":"M")+s.x+" "+s.y;l+=e?Bt.svg?"z":"x":""}return l||"M0 0"}var X=document.documentElement.style,Q="ActiveXObject"in window,tt=Q&&!document.addEventListener,et="msLaunchUri"in navigator&&!("documentMode"in document),nt=Rt("webkit"),ot=Rt("android"),it=Rt("android 2")||Rt("android 3"),rt=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),at=ot&&Rt("Google")&&rt<537&&!("AudioNode"in window),st=!!window.opera,lt=!et&&Rt("chrome"),ct=Rt("gecko")&&!nt&&!st&&!Q,ut=!lt&&Rt("safari"),ht=Rt("phantom"),ft="OTransition"in X,dt=0===navigator.platform.indexOf("Win"),pt=Q&&"transition"in X,mt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!it,gt="MozPerspective"in X,yt=!window.L_DISABLE_3D&&(pt||mt||gt)&&!ft&&!ht,vt="undefined"!==typeof orientation||Rt("mobile"),_t=vt&&nt,wt=vt&&mt,bt=!window.PointerEvent&&window.MSPointerEvent,xt=!(!window.PointerEvent&&!bt),kt="ontouchstart"in window||!!window.TouchEvent,St=!window.L_NO_TOUCH&&(kt||xt),Ct=vt&&st,Tt=vt&&ct,Pt=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Lt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",c,e),window.removeEventListener("testPassiveEventSupport",c,e)}catch(n){}return t}(),At=function(){return!!document.createElement("canvas").getContext}(),Et=!(!document.createElementNS||!K("svg").createSVGRect),Ot=!!Et&&function(){var t=document.createElement("div");return t.innerHTML="<svg/>","http://www.w3.org/2000/svg"===(t.firstChild&&t.firstChild.namespaceURI)}(),zt=!Et&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"===typeof e.adj}catch(n){return!1}}(),Mt=0===navigator.platform.indexOf("Mac"),It=0===navigator.platform.indexOf("Linux");function Rt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Bt={ie:Q,ielt9:tt,edge:et,webkit:nt,android:ot,android23:it,androidStock:at,opera:st,chrome:lt,gecko:ct,safari:ut,phantom:ht,opera12:ft,win:dt,ie3d:pt,webkit3d:mt,gecko3d:gt,any3d:yt,mobile:vt,mobileWebkit:_t,mobileWebkit3d:wt,msPointer:bt,pointer:xt,touch:St,touchNative:kt,mobileOpera:Ct,mobileGecko:Tt,retina:Pt,passiveEvents:Lt,canvas:At,svg:Et,vml:zt,inlineSvg:Ot,mac:Mt,linux:It},Nt=Bt.msPointer?"MSPointerDown":"pointerdown",Dt=Bt.msPointer?"MSPointerMove":"pointermove",Ft=Bt.msPointer?"MSPointerUp":"pointerup",jt=Bt.msPointer?"MSPointerCancel":"pointercancel",Wt={touchstart:Nt,touchmove:Dt,touchend:Ft,touchcancel:jt},Zt={touchstart:Xt,touchmove:Jt,touchend:Jt,touchcancel:Jt},Vt={},Ht=!1;function $t(t,e,n){return"touchstart"===e&&Kt(),Zt[e]?(n=Zt[e].bind(this,n),t.addEventListener(Wt[e],n,!1),n):(console.warn("wrong event specified:",e),c)}function Ut(t,e,n){Wt[e]?t.removeEventListener(Wt[e],n,!1):console.warn("wrong event specified:",e)}function Gt(t){Vt[t.pointerId]=t}function qt(t){Vt[t.pointerId]&&(Vt[t.pointerId]=t)}function Yt(t){delete Vt[t.pointerId]}function Kt(){Ht||(document.addEventListener(Nt,Gt,!0),document.addEventListener(Dt,qt,!0),document.addEventListener(Ft,Yt,!0),document.addEventListener(jt,Yt,!0),Ht=!0)}function Jt(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var n in e.touches=[],Vt)e.touches.push(Vt[n]);e.changedTouches=[e],t(e)}}function Xt(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&Ge(e),Jt(t,e)}function Qt(t){var e,n,o={};for(n in t)e=t[n],o[n]=e&&e.bind?e.bind(t):e;return t=o,o.type="dblclick",o.detail=2,o.isTrusted=!1,o._simulated=!0,o}var te=200;function ee(t,e){t.addEventListener("dblclick",e);var n,o=0;function i(t){if(1===t.detail){if("mouse"!==t.pointerType&&(!t.sourceCapabilities||t.sourceCapabilities.firesTouchEvents)){var i=Ye(t);if(!i.some((function(t){return t instanceof HTMLLabelElement&&t.attributes.for}))||i.some((function(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement}))){var r=Date.now();r-o<=te?(n++,2===n&&e(Qt(t))):n=1,o=r}}}else n=t.detail}return t.addEventListener("click",i),{dblclick:e,simDblclick:i}}function ne(t,e){t.removeEventListener("dblclick",e.dblclick),t.removeEventListener("click",e.simDblclick)}var oe,ie,re,ae,se,le=Ce(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ce=Ce(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ue="webkitTransition"===ce||"OTransition"===ce?ce+"End":"transitionend";function he(t){return"string"===typeof t?document.getElementById(t):t}function fe(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!n||"auto"===n)&&document.defaultView){var o=document.defaultView.getComputedStyle(t,null);n=o?o[e]:null}return"auto"===n?null:n}function de(t,e,n){var o=document.createElement(t);return o.className=e||"",n&&n.appendChild(o),o}function pe(t){var e=t.parentNode;e&&e.removeChild(t)}function me(t){while(t.firstChild)t.removeChild(t.firstChild)}function ge(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ye(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ve(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=xe(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)}function _e(t,e){if(void 0!==t.classList)for(var n=f(e),o=0,i=n.length;o<i;o++)t.classList.add(n[o]);else if(!ve(t,e)){var r=xe(t);be(t,(r?r+" ":"")+e)}}function we(t,e){void 0!==t.classList?t.classList.remove(e):be(t,h((" "+xe(t)+" ").replace(" "+e+" "," ")))}function be(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function xe(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function ke(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&Se(t,e)}function Se(t,e){var n=!1,o="DXImageTransform.Microsoft.Alpha";try{n=t.filters.item(o)}catch(i){if(1===e)return}e=Math.round(100*e),n?(n.Enabled=100!==e,n.Opacity=e):t.style.filter+=" progid:"+o+"(opacity="+e+")"}function Ce(t){for(var e=document.documentElement.style,n=0;n<t.length;n++)if(t[n]in e)return t[n];return!1}function Te(t,e,n){var o=e||new M(0,0);t.style[le]=(Bt.ie3d?"translate("+o.x+"px,"+o.y+"px)":"translate3d("+o.x+"px,"+o.y+"px,0)")+(n?" scale("+n+")":"")}function Pe(t,e){t._leaflet_pos=e,Bt.any3d?Te(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function Le(t){return t._leaflet_pos||new M(0,0)}if("onselectstart"in document)oe=function(){Ne(window,"selectstart",Ge)},ie=function(){Fe(window,"selectstart",Ge)};else{var Ae=Ce(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);oe=function(){if(Ae){var t=document.documentElement.style;re=t[Ae],t[Ae]="none"}},ie=function(){Ae&&(document.documentElement.style[Ae]=re,re=void 0)}}function Ee(){Ne(window,"dragstart",Ge)}function Oe(){Fe(window,"dragstart",Ge)}function ze(t){while(-1===t.tabIndex)t=t.parentNode;t.style&&(Me(),ae=t,se=t.style.outlineStyle,t.style.outlineStyle="none",Ne(window,"keydown",Me))}function Me(){ae&&(ae.style.outlineStyle=se,ae=void 0,se=void 0,Fe(window,"keydown",Me))}function Ie(t){do{t=t.parentNode}while((!t.offsetWidth||!t.offsetHeight)&&t!==document.body);return t}function Re(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}var Be={__proto__:null,TRANSFORM:le,TRANSITION:ce,TRANSITION_END:ue,get:he,getStyle:fe,create:de,remove:pe,empty:me,toFront:ge,toBack:ye,hasClass:ve,addClass:_e,removeClass:we,setClass:be,getClass:xe,setOpacity:ke,testProp:Ce,setTransform:Te,setPosition:Pe,getPosition:Le,get disableTextSelection(){return oe},get enableTextSelection(){return ie},disableImageDrag:Ee,enableImageDrag:Oe,preventOutline:ze,restoreOutline:Me,getSizedParentNode:Ie,getScale:Re};function Ne(t,e,n,o){if(e&&"object"===typeof e)for(var i in e)Ze(t,i,e[i],n);else{e=f(e);for(var r=0,a=e.length;r<a;r++)Ze(t,e[r],n,o)}return this}var De="_leaflet_events";function Fe(t,e,n,o){if(1===arguments.length)je(t),delete t[De];else if(e&&"object"===typeof e)for(var i in e)Ve(t,i,e[i],n);else if(e=f(e),2===arguments.length)je(t,(function(t){return-1!==v(e,t)}));else for(var r=0,a=e.length;r<a;r++)Ve(t,e[r],n,o);return this}function je(t,e){for(var n in t[De]){var o=n.split(/\d/)[0];e&&!e(o)||Ve(t,o,null,null,n)}}var We={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Ze(t,e,n,o){var i=e+a(n)+(o?"_"+a(o):"");if(t[De]&&t[De][i])return this;var r=function(e){return n.call(o||t,e||window.event)},s=r;!Bt.touchNative&&Bt.pointer&&0===e.indexOf("touch")?r=$t(t,e,r):Bt.touch&&"dblclick"===e?r=ee(t,r):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(We[e]||e,r,!!Bt.passiveEvents&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(r=function(e){e=e||window.event,Qe(t,e)&&s(e)},t.addEventListener(We[e],r,!1)):t.addEventListener(e,s,!1):t.attachEvent("on"+e,r),t[De]=t[De]||{},t[De][i]=r}function Ve(t,e,n,o,i){i=i||e+a(n)+(o?"_"+a(o):"");var r=t[De]&&t[De][i];if(!r)return this;!Bt.touchNative&&Bt.pointer&&0===e.indexOf("touch")?Ut(t,e,r):Bt.touch&&"dblclick"===e?ne(t,r):"removeEventListener"in t?t.removeEventListener(We[e]||e,r,!1):t.detachEvent("on"+e,r),t[De][i]=null}function He(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function $e(t){return Ze(t,"wheel",He),this}function Ue(t){return Ne(t,"mousedown touchstart dblclick contextmenu",He),t["_leaflet_disable_click"]=!0,this}function Ge(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function qe(t){return Ge(t),He(t),this}function Ye(t){if(t.composedPath)return t.composedPath();var e=[],n=t.target;while(n)e.push(n),n=n.parentNode;return e}function Ke(t,e){if(!e)return new M(t.clientX,t.clientY);var n=Re(e),o=n.boundingClientRect;return new M((t.clientX-o.left)/n.x-e.clientLeft,(t.clientY-o.top)/n.y-e.clientTop)}var Je=Bt.linux&&Bt.chrome?window.devicePixelRatio:Bt.mac?3*window.devicePixelRatio:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function Xe(t){return Bt.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Je:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function Qe(t,e){var n=e.relatedTarget;if(!n)return!0;try{while(n&&n!==t)n=n.parentNode}catch(o){return!1}return n!==t}var tn={__proto__:null,on:Ne,off:Fe,stopPropagation:He,disableScrollPropagation:$e,disableClickPropagation:Ue,preventDefault:Ge,stop:qe,getPropagationPath:Ye,getMousePosition:Ke,getWheelDelta:Xe,isExternalTarget:Qe,addListener:Ne,removeListener:Fe},en=z.extend({run:function(t,e,n,o){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(o||.5,.2),this._startPos=Le(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=C(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,n=1e3*this._duration;e<n?this._runFrame(this._easeOut(e/n),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var n=this._startPos.add(this._offset.multiplyBy(t));e&&n._round(),Pe(this._el,n),this.fire("step")},_complete:function(){T(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),nn=z.extend({options:{crs:q,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=d(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=i(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(W(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=ce&&Bt.any3d&&!Bt.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Ne(this._proxy,ue,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,o){if(e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(W(t),e,this.options.maxBounds),o=o||{},this._stop(),this._loaded&&!o.reset&&!0!==o){void 0!==o.animate&&(o.zoom=n({animate:o.animate},o.zoom),o.pan=n({animate:o.animate,duration:o.duration},o.pan));var i=this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,o.zoom):this._tryAnimatedPan(t,o.pan);if(i)return clearTimeout(this._sizeTimer),this}return this._resetView(t,e,o.pan&&o.pan.noMoveStart),this},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(Bt.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(Bt.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,n){var o=this.getZoomScale(e),i=this.getSize().divideBy(2),r=t instanceof M?t:this.latLngToContainerPoint(t),a=r.subtract(i).multiplyBy(1-1/o),s=this.containerPointToLatLng(i.add(a));return this.setView(s,e,{zoom:n})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():F(t);var n=R(e.paddingTopLeft||e.padding||[0,0]),o=R(e.paddingBottomRight||e.padding||[0,0]),i=this.getBoundsZoom(t,!1,n.add(o));if(i="number"===typeof e.maxZoom?Math.min(e.maxZoom,i):i,i===1/0)return{center:t.getCenter(),zoom:i};var r=o.subtract(n).divideBy(2),a=this.project(t.getSouthWest(),i),s=this.project(t.getNorthEast(),i),l=this.unproject(a.add(s).divideBy(2).add(r),i);return{center:l,zoom:i}},fitBounds:function(t,e){if(t=F(t),!t.isValid())throw new Error("Bounds are not valid.");var n=this._getBoundsCenterZoom(t,e);return this.setView(n.center,n.zoom,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){if(t=R(t).round(),e=e||{},!t.x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new en,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){_e(this._mapPane,"leaflet-pan-anim");var n=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,n,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,n){if(n=n||{},!1===n.animate||!Bt.any3d)return this.setView(t,e,n);this._stop();var o=this.project(this.getCenter()),i=this.project(t),r=this.getSize(),a=this._zoom;t=W(t),e=void 0===e?a:e;var s=Math.max(r.x,r.y),l=s*this.getZoomScale(a,e),c=i.distanceTo(o)||1,u=1.42,h=u*u;function f(t){var e=t?-1:1,n=t?l:s,o=l*l-s*s+e*h*h*c*c,i=2*n*h*c,r=o/i,a=Math.sqrt(r*r+1)-r,u=a<1e-9?-18:Math.log(a);return u}function d(t){return(Math.exp(t)-Math.exp(-t))/2}function p(t){return(Math.exp(t)+Math.exp(-t))/2}function m(t){return d(t)/p(t)}var g=f(0);function y(t){return s*(p(g)/p(g+u*t))}function v(t){return s*(p(g)*m(g+u*t)-d(g))/h}function _(t){return 1-Math.pow(1-t,1.5)}var w=Date.now(),b=(f(1)-g)/u,x=n.duration?1e3*n.duration:1e3*b*.8;function k(){var n=(Date.now()-w)/x,r=_(n)*b;n<=1?(this._flyToFrame=C(k,this),this._move(this.unproject(o.add(i.subtract(o).multiplyBy(v(r)/c)),a),this.getScaleZoom(s/y(r),a),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}return this._moveStart(!0,n.noMoveStart),k.call(this),this},flyToBounds:function(t,e){var n=this._getBoundsCenterZoom(t,e);return this.flyTo(n.center,n.zoom,e)},setMaxBounds:function(t){return t=F(t),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),t.isValid()?(this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),o=this._limitCenter(n,this._zoom,F(t));return n.equals(o)||this.panTo(o,e),this._enforcingBounds=!1,this},panInside:function(t,e){e=e||{};var n=R(e.paddingTopLeft||e.padding||[0,0]),o=R(e.paddingBottomRight||e.padding||[0,0]),i=this.project(this.getCenter()),r=this.project(t),a=this.getPixelBounds(),s=N([a.min.add(n),a.max.subtract(o)]),l=s.getSize();if(!s.contains(r)){this._enforcingBounds=!0;var c=r.subtract(s.getCenter()),u=s.extend(r).getSize().subtract(l);i.x+=c.x<0?-u.x:u.x,i.y+=c.y<0?-u.y:u.y,this.panTo(this.unproject(i),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=n({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),r=e.divideBy(2).round(),a=o.divideBy(2).round(),s=r.subtract(a);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:o})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=n({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=i(this._handleGeolocationResponse,this),o=i(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,o,t):navigator.geolocation.getCurrentPosition(e,o,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e=t.coords.latitude,n=t.coords.longitude,o=new j(e,n),i=o.toBounds(2*t.coords.accuracy),r=this._locateOptions;if(r.setView){var a=this.getBoundsZoom(i);this.setView(o,r.maxZoom?Math.min(a,r.maxZoom):a)}var s={latlng:o,bounds:i,timestamp:t.timestamp};for(var l in t.coords)"number"===typeof t.coords[l]&&(s[l]=t.coords[l]);this.fire("locationfound",s)}},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),pe(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(T(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)pe(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var n="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),o=de("div",n,e||this._mapPane);return t&&(this._panes[t]=o),o},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),e=this.unproject(t.getBottomLeft()),n=this.unproject(t.getTopRight());return new D(e,n)},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=F(t),n=R(n||[0,0]);var o=this.getZoom()||0,i=this.getMinZoom(),r=this.getMaxZoom(),a=t.getNorthWest(),s=t.getSouthEast(),l=this.getSize().subtract(n),c=N(this.project(s,o),this.project(a,o)).getSize(),u=Bt.any3d?this.options.zoomSnap:1,h=l.x/c.x,f=l.y/c.y,d=e?Math.max(h,f):Math.min(h,f);return o=this.getScaleZoom(d,o),u&&(o=Math.round(o/(u/100))*(u/100),o=e?Math.ceil(o/u)*u:Math.floor(o/u)*u),Math.max(i,Math.min(r,o))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new M(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var n=this._getTopLeftPoint(t,e);return new B(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"===typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=void 0===e?this._zoom:e;var o=n.zoom(t*n.scale(e));return isNaN(o)?1/0:o},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(W(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(R(t),e)},layerPointToLatLng:function(t){var e=R(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){var e=this.project(W(t))._round();return e._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(W(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(F(t))},distance:function(t,e){return this.options.crs.distance(W(t),W(e))},containerPointToLayerPoint:function(t){return R(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return R(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(R(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(W(t)))},mouseEventToContainerPoint:function(t){return Ke(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=he(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Ne(e,"scroll",this._onScroll,this),this._containerId=a(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&Bt.any3d,_e(t,"leaflet-container"+(Bt.touch?" leaflet-touch":"")+(Bt.retina?" leaflet-retina":"")+(Bt.ielt9?" leaflet-oldie":"")+(Bt.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=fe(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&"sticky"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Pe(this._mapPane,new M(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(_e(t.markerPane,"leaflet-zoom-hide"),_e(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,n){Pe(this._mapPane,new M(0,0));var o=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var i=this._zoom!==e;this._moveStart(i,n)._move(t,e)._moveEnd(i),this.fire("viewreset"),o&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n,o){void 0===e&&(e=this._zoom);var i=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),o?n&&n.pinch&&this.fire("zoom",n):((i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return T(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){Pe(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[a(this._container)]=this;var e=t?Fe:Ne;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),Bt.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){T(this._resizeRequest),this._resizeRequest=C((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){var n,o=[],i="mouseout"===e||"mouseover"===e,r=t.target||t.srcElement,s=!1;while(r){if(n=this._targets[a(r)],n&&("click"===e||"preclick"===e)&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(e,!0)){if(i&&!Qe(r,t))break;if(o.push(n),i)break}if(r===this._container)break;r=r.parentNode}return o.length||s||i||!this.listens(e,!0)||(o=[this]),o},_isClickDisabled:function(t){while(t&&t!==this._container){if(t["_leaflet_disable_click"])return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e=t.target||t.srcElement;if(!(!this._loaded||e["_leaflet_disable_events"]||"click"===t.type&&this._isClickDisabled(e))){var n=t.type;"mousedown"===n&&ze(e),this._fireDOMEvent(t,n)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,o){if("click"===t.type){var i=n({},t);i.type="preclick",this._fireDOMEvent(i,i.type,o)}var r=this._findEventTargets(t,e);if(o){for(var a=[],s=0;s<o.length;s++)o[s].listens(e,!0)&&a.push(o[s]);r=a.concat(r)}if(r.length){"contextmenu"===e&&Ge(t);var l=r[0],c={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var u=l.getLatLng&&(!l._radius||l._radius<=10);c.containerPoint=u?this.latLngToContainerPoint(l.getLatLng()):this.mouseEventToContainerPoint(t),c.layerPoint=this.containerPointToLayerPoint(c.containerPoint),c.latlng=u?l.getLatLng():this.layerPointToLatLng(c.layerPoint)}for(s=0;s<r.length;s++)if(r[s].fire(e,c,!0),c.originalEvent._stopped||!1===r[s].options.bubblingMouseEvents&&-1!==v(this._mouseEvents,e))return}},_draggableMoved:function(t){return t=t.dragging&&t.dragging.enabled()?t:this,t.dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return Le(this._mapPane)||new M(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){var n=t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin();return n.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var n=this.getSize()._divideBy(2);return this.project(t,e)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,n){var o=this._getNewPixelOrigin(n,e);return this.project(t,e)._subtract(o)},_latLngBoundsToNewLayerBounds:function(t,e,n){var o=this._getNewPixelOrigin(n,e);return N([this.project(t.getSouthWest(),e)._subtract(o),this.project(t.getNorthWest(),e)._subtract(o),this.project(t.getSouthEast(),e)._subtract(o),this.project(t.getNorthEast(),e)._subtract(o)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,n){if(!n)return t;var o=this.project(t,e),i=this.getSize().divideBy(2),r=new B(o.subtract(i),o.add(i)),a=this._getBoundsOffset(r,n,e);return Math.abs(a.x)<=1&&Math.abs(a.y)<=1?t:this.unproject(o.add(a),e)},_limitOffset:function(t,e){if(!e)return t;var n=this.getPixelBounds(),o=new B(n.min.add(t),n.max.add(t));return t.add(this._getBoundsOffset(o,e))},_getBoundsOffset:function(t,e,n){var o=N(this.project(e.getNorthEast(),n),this.project(e.getSouthWest(),n)),i=o.min.subtract(t.min),r=o.max.subtract(t.max),a=this._rebound(i.x,-r.x),s=this._rebound(i.y,-r.y);return new M(a,s)},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),o=Bt.any3d?this.options.zoomSnap:1;return o&&(t=Math.round(t/o)*o),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){we(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(n))&&(this.panBy(n,e),!0)},_createAnimProxy:function(){var t=this._proxy=de("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=le,n=this._proxy.style[e];Te(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){pe(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();Te(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var o=this.getZoomScale(e),i=this._getCenterOffset(t)._divideBy(1-1/o);return!(!0!==n.animate&&!this.getSize().contains(i))&&(C((function(){this._moveStart(!0,n.noMoveStart||!1)._animateZoom(t,e,!0)}),this),!0)},_animateZoom:function(t,e,n,o){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,_e(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:o}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&we(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function on(t,e){return new nn(t,e)}var rn=A.extend({options:{position:"topright"},initialize:function(t){d(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),o=t._controlCorners[n];return _e(e,"leaflet-control"),-1!==n.indexOf("bottom")?o.insertBefore(e,o.firstChild):o.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(pe(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),an=function(t){return new rn(t)};nn.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=de("div",e+"control-container",this._container);function o(o,i){var r=e+o+" "+e+i;t[o+i]=de("div",r,n)}o("top","left"),o("top","right"),o("bottom","left"),o("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)pe(this._controlCorners[t]);pe(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var sn=rn.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,o){return n<o?-1:o<n?1:0}},initialize:function(t,e,n){for(var o in d(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,t)this._addLayer(t[o],o);for(o in e)this._addLayer(e[o],o,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return rn.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(a(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){_e(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(_e(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):we(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return we(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=de("div",t),n=this.options.collapsed;e.setAttribute("aria-haspopup",!0),Ue(e),$e(e);var o=this._section=de("section",t+"-list");n&&(this._map.on("click",this.collapse,this),Ne(e,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var i=this._layersLink=de("a",t+"-toggle",e);i.href="#",i.title="Layers",i.setAttribute("role","button"),Ne(i,{keydown:function(t){13===t.keyCode&&this._expandSafely()},click:function(t){Ge(t),this._expandSafely()}},this),n||this.expand(),this._baseLayersList=de("div",t+"-base",o),this._separator=de("div",t+"-separator",o),this._overlaysList=de("div",t+"-overlays",o),e.appendChild(o)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&a(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,n){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:n}),this.options.sortLayers&&this._layers.sort(i((function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)}),this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;me(this._baseLayersList),me(this._overlaysList),this._layerControlInputs=[];var t,e,n,o,i=0;for(n=0;n<this._layers.length;n++)o=this._layers[n],this._addItem(o),e=e||o.overlay,t=t||!o.overlay,i+=o.overlay?0:1;return this.options.hideSingleBase&&(t=t&&i>1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(a(t.target)),n=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)},_createRadioElement:function(t,e){var n='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",o=document.createElement("div");return o.innerHTML=n,o.firstChild},_addItem:function(t){var e,n=document.createElement("label"),o=this._map.hasLayer(t.layer);t.overlay?(e=document.createElement("input"),e.type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=o):e=this._createRadioElement("leaflet-base-layers_"+a(this),o),this._layerControlInputs.push(e),e.layerId=a(t.layer),Ne(e,"click",this._onInputClick,this);var i=document.createElement("span");i.innerHTML=" "+t.name;var r=document.createElement("span");n.appendChild(r),r.appendChild(e),r.appendChild(i);var s=t.overlay?this._overlaysList:this._baseLayersList;return s.appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){if(!this._preventClick){var t,e,n=this._layerControlInputs,o=[],i=[];this._handlingClick=!0;for(var r=n.length-1;r>=0;r--)t=n[r],e=this._getLayer(t.layerId).layer,t.checked?o.push(e):t.checked||i.push(e);for(r=0;r<i.length;r++)this._map.hasLayer(i[r])&&this._map.removeLayer(i[r]);for(r=0;r<o.length;r++)this._map.hasLayer(o[r])||this._map.addLayer(o[r]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var t,e,n=this._layerControlInputs,o=this._map.getZoom(),i=n.length-1;i>=0;i--)t=n[i],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&o<e.options.minZoom||void 0!==e.options.maxZoom&&o>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,Ne(t,"click",Ge),this.expand();var e=this;setTimeout((function(){Fe(t,"click",Ge),e._preventClick=!1}))}}),ln=function(t,e,n){return new sn(t,e,n)},cn=rn.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">−</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=de("div",e+" leaflet-bar"),o=this.options;return this._zoomInButton=this._createButton(o.zoomInText,o.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(o.zoomOutText,o.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,o,i){var r=de("a",n,o);return r.innerHTML=t,r.href="#",r.title=e,r.setAttribute("role","button"),r.setAttribute("aria-label",e),Ue(r),Ne(r,"click",qe),Ne(r,"click",i,this),Ne(r,"click",this._refocusOnMap,this),r},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";we(this._zoomInButton,e),we(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(_e(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(_e(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}});nn.mergeOptions({zoomControl:!0}),nn.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new cn,this.addControl(this.zoomControl))}));var un=function(t){return new cn(t)},hn=rn.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",n=de("div",e),o=this.options;return this._addScales(o,e+"-line",n),t.on(o.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),n},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=de("div",e,n)),t.imperial&&(this._iScale=de("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),n=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,n,e/t)},_updateImperial:function(t){var e,n,o,i=3.2808399*t;i>5280?(e=i/5280,n=this._getRoundNum(e),this._updateScale(this._iScale,n+" mi",n/e)):(o=this._getRoundNum(i),this._updateScale(this._iScale,o+" ft",o/i))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1,e*n}}),fn=function(t){return new hn(t)},dn='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',pn=rn.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Bt.inlineSvg?dn+" ":"")+"Leaflet</a>"},initialize:function(t){d(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=de("div","leaflet-control-attribution"),Ue(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",(function(){this.removeAttribution(t.layer.getAttribution())}),this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(' <span aria-hidden="true">|</span> ')}}});nn.mergeOptions({attributionControl:!0}),nn.addInitHook((function(){this.options.attributionControl&&(new pn).addTo(this)}));var mn=function(t){return new pn(t)};rn.Layers=sn,rn.Zoom=cn,rn.Scale=hn,rn.Attribution=pn,an.layers=ln,an.zoom=un,an.scale=fn,an.attribution=mn;var gn=A.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});gn.addTo=function(t,e){return t.addHandler(e,this),this};var yn={Events:O},vn=Bt.touch?"touchstart mousedown":"mousedown",_n=z.extend({options:{clickTolerance:3},initialize:function(t,e,n,o){d(this,o),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(Ne(this._dragStartTarget,vn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(_n._dragging===this&&this.finishDrag(!0),Fe(this._dragStartTarget,vn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!ve(this._element,"leaflet-zoom-anim")))if(t.touches&&1!==t.touches.length)_n._dragging===this&&this.finishDrag();else if(!(_n._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches)&&(_n._dragging=this,this._preventOutline&&ze(this._element),Ee(),oe(),!this._moving)){this.fire("down");var e=t.touches?t.touches[0]:t,n=Ie(this._element);this._startPoint=new M(e.clientX,e.clientY),this._startPos=Le(this._element),this._parentScale=Re(n);var o="mousedown"===t.type;Ne(document,o?"mousemove":"touchmove",this._onMove,this),Ne(document,o?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(t){if(this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,n=new M(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)<this.options.clickTolerance||(n.x/=this._parentScale.x,n.y/=this._parentScale.y,Ge(t),this._moved||(this.fire("dragstart"),this._moved=!0,_e(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),_e(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(n),this._moving=!0,this._lastEvent=t,this._updatePosition()))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),Pe(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){we(document.body,"leaflet-dragging"),this._lastTarget&&(we(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),Fe(document,"mousemove touchmove",this._onMove,this),Fe(document,"mouseup touchend touchcancel",this._onUp,this),Oe(),ie();var e=this._moved&&this._moving;this._moving=!1,_n._dragging=!1,e&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)})}});function wn(t,e,n){var o,i,r,a,s,l,c,u,h,f=[1,4,2,8];for(i=0,c=t.length;i<c;i++)t[i]._code=Mn(t[i],e);for(a=0;a<4;a++){for(u=f[a],o=[],i=0,c=t.length,r=c-1;i<c;r=i++)s=t[i],l=t[r],s._code&u?l._code&u||(h=zn(l,s,u,e,n),h._code=Mn(h,e),o.push(h)):(l._code&u&&(h=zn(l,s,u,e,n),h._code=Mn(h,e),o.push(h)),o.push(s));t=o}return t}function bn(t,e){var n,o,i,r,a,s,l,c,u;if(!t||0===t.length)throw new Error("latlngs not passed");Bn(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var h=W([0,0]),f=F(t),d=f.getNorthWest().distanceTo(f.getSouthWest())*f.getNorthEast().distanceTo(f.getNorthWest());d<1700&&(h=xn(t));var p=t.length,m=[];for(n=0;n<p;n++){var g=W(t[n]);m.push(e.project(W([g.lat-h.lat,g.lng-h.lng])))}for(s=l=c=0,n=0,o=p-1;n<p;o=n++)i=m[n],r=m[o],a=i.y*r.x-r.y*i.x,l+=(i.x+r.x)*a,c+=(i.y+r.y)*a,s+=3*a;u=0===s?m[0]:[l/s,c/s];var y=e.unproject(R(u));return W([y.lat+h.lat,y.lng+h.lng])}function xn(t){for(var e=0,n=0,o=0,i=0;i<t.length;i++){var r=W(t[i]);e+=r.lat,n+=r.lng,o++}return W([e/o,n/o])}var kn,Sn={__proto__:null,clipPolygon:wn,polygonCenter:bn,centroid:xn};function Cn(t,e){if(!e||!t.length)return t.slice();var n=e*e;return t=En(t,n),t=Ln(t,n),t}function Tn(t,e,n){return Math.sqrt(Rn(t,e,n,!0))}function Pn(t,e,n){return Rn(t,e,n)}function Ln(t,e){var n=t.length,o=typeof Uint8Array!==void 0+""?Uint8Array:Array,i=new o(n);i[0]=i[n-1]=1,An(t,i,e,0,n-1);var r,a=[];for(r=0;r<n;r++)i[r]&&a.push(t[r]);return a}function An(t,e,n,o,i){var r,a,s,l=0;for(a=o+1;a<=i-1;a++)s=Rn(t[a],t[o],t[i],!0),s>l&&(r=a,l=s);l>n&&(e[r]=1,An(t,e,n,o,r),An(t,e,n,r,i))}function En(t,e){for(var n=[t[0]],o=1,i=0,r=t.length;o<r;o++)In(t[o],t[i])>e&&(n.push(t[o]),i=o);return i<r-1&&n.push(t[r-1]),n}function On(t,e,n,o,i){var r,a,s,l=o?kn:Mn(t,n),c=Mn(e,n);kn=c;while(1){if(!(l|c))return[t,e];if(l&c)return!1;r=l||c,a=zn(t,e,r,n,i),s=Mn(a,n),r===l?(t=a,l=s):(e=a,c=s)}}function zn(t,e,n,o,i){var r,a,s=e.x-t.x,l=e.y-t.y,c=o.min,u=o.max;return 8&n?(r=t.x+s*(u.y-t.y)/l,a=u.y):4&n?(r=t.x+s*(c.y-t.y)/l,a=c.y):2&n?(r=u.x,a=t.y+l*(u.x-t.x)/s):1&n&&(r=c.x,a=t.y+l*(c.x-t.x)/s),new M(r,a,i)}function Mn(t,e){var n=0;return t.x<e.min.x?n|=1:t.x>e.max.x&&(n|=2),t.y<e.min.y?n|=4:t.y>e.max.y&&(n|=8),n}function In(t,e){var n=e.x-t.x,o=e.y-t.y;return n*n+o*o}function Rn(t,e,n,o){var i,r=e.x,a=e.y,s=n.x-r,l=n.y-a,c=s*s+l*l;return c>0&&(i=((t.x-r)*s+(t.y-a)*l)/c,i>1?(r=n.x,a=n.y):i>0&&(r+=s*i,a+=l*i)),s=t.x-r,l=t.y-a,o?s*s+l*l:new M(r,a)}function Bn(t){return!y(t[0])||"object"!==typeof t[0][0]&&"undefined"!==typeof t[0][0]}function Nn(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Bn(t)}function Dn(t,e){var n,o,i,r,a,s,l,c;if(!t||0===t.length)throw new Error("latlngs not passed");Bn(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var u=W([0,0]),h=F(t),f=h.getNorthWest().distanceTo(h.getSouthWest())*h.getNorthEast().distanceTo(h.getNorthWest());f<1700&&(u=xn(t));var d=t.length,p=[];for(n=0;n<d;n++){var m=W(t[n]);p.push(e.project(W([m.lat-u.lat,m.lng-u.lng])))}for(n=0,o=0;n<d-1;n++)o+=p[n].distanceTo(p[n+1])/2;if(0===o)c=p[0];else for(n=0,r=0;n<d-1;n++)if(a=p[n],s=p[n+1],i=a.distanceTo(s),r+=i,r>o){l=(r-o)/i,c=[s.x-l*(s.x-a.x),s.y-l*(s.y-a.y)];break}var g=e.unproject(R(c));return W([g.lat+u.lat,g.lng+u.lng])}var Fn={__proto__:null,simplify:Cn,pointToSegmentDistance:Tn,closestPointOnSegment:Pn,clipSegment:On,_getEdgeIntersection:zn,_getBitCode:Mn,_sqClosestPointOnSegment:Rn,isFlat:Bn,_flat:Nn,polylineCenter:Dn},jn={project:function(t){return new M(t.lng,t.lat)},unproject:function(t){return new j(t.y,t.x)},bounds:new B([-180,-90],[180,90])},Wn={R:6378137,R_MINOR:6356752.314245179,bounds:new B([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,n=this.R,o=t.lat*e,i=this.R_MINOR/n,r=Math.sqrt(1-i*i),a=r*Math.sin(o),s=Math.tan(Math.PI/4-o/2)/Math.pow((1-a)/(1+a),r/2);return o=-n*Math.log(Math.max(s,1e-10)),new M(t.lng*e*n,o)},unproject:function(t){for(var e,n=180/Math.PI,o=this.R,i=this.R_MINOR/o,r=Math.sqrt(1-i*i),a=Math.exp(-t.y/o),s=Math.PI/2-2*Math.atan(a),l=0,c=.1;l<15&&Math.abs(c)>1e-7;l++)e=r*Math.sin(s),e=Math.pow((1-e)/(1+e),r/2),c=Math.PI/2-2*Math.atan(a*e)-s,s+=c;return new j(s*n,t.x*n/o)}},Zn={__proto__:null,LonLat:jn,Mercator:Wn,SphericalMercator:$},Vn=n({},V,{code:"EPSG:3395",projection:Wn,transformation:function(){var t=.5/(Math.PI*Wn.R);return G(t,.5,-t,.5)}()}),Hn=n({},V,{code:"EPSG:4326",projection:jn,transformation:G(1/180,1,-1/180,.5)}),$n=n({},Z,{projection:jn,transformation:G(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,o=e.lat-t.lat;return Math.sqrt(n*n+o*o)},infinite:!0});Z.Earth=V,Z.EPSG3395=Vn,Z.EPSG3857=q,Z.EPSG900913=Y,Z.EPSG4326=Hn,Z.Simple=$n;var Un=z.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[a(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[a(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var n=this.getEvents();e.on(n,this),this.once("remove",(function(){e.off(n,this)}),this)}this.onAdd(e),this.fire("add"),e.fire("layeradd",{layer:this})}}});nn.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=a(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=a(t);return this._layers[e]?(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return a(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){t=t?y(t)?t:[t]:[];for(var e=0,n=t.length;e<n;e++)this.addLayer(t[e])},_addZoomLimit:function(t){isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[a(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=a(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,n=this._getZoomSpan();for(var o in this._zoomBoundLayers){var i=this._zoomBoundLayers[o].options;t=void 0===i.minZoom?t:Math.min(t,i.minZoom),e=void 0===i.maxZoom?e:Math.max(e,i.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=t===1/0?void 0:t,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Gn=Un.extend({initialize:function(t,e){var n,o;if(d(this,e),this._layers={},t)for(n=0,o=t.length;n<o;n++)this.addLayer(t[n])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){var e="number"===typeof t?t:this.getLayerId(t);return e in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,n,o=Array.prototype.slice.call(arguments,1);for(e in this._layers)n=this._layers[e],n[t]&&n[t].apply(n,o);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return a(t)}}),qn=function(t,e){return new Gn(t,e)},Yn=Gn.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Gn.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Gn.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new D;for(var e in this._layers){var n=this._layers[e];t.extend(n.getBounds?n.getBounds():n.getLatLng())}return t}}),Kn=function(t,e){return new Yn(t,e)},Jn=A.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){d(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var n=this._getIconUrl(t);if(!n){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var o=this._createImg(n,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(o,t),(this.options.crossOrigin||""===this.options.crossOrigin)&&(o.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),o},_setIconStyles:function(t,e){var n=this.options,o=n[e+"Size"];"number"===typeof o&&(o=[o,o]);var i=R(o),r=R("shadow"===e&&n.shadowAnchor||n.iconAnchor||i&&i.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(n.className||""),r&&(t.style.marginLeft=-r.x+"px",t.style.marginTop=-r.y+"px"),i&&(t.style.width=i.x+"px",t.style.height=i.y+"px")},_createImg:function(t,e){return e=e||document.createElement("img"),e.src=t,e},_getIconUrl:function(t){return Bt.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}});function Xn(t){return new Jn(t)}var Qn=Jn.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return"string"!==typeof Qn.imagePath&&(Qn.imagePath=this._detectIconPath()),(this.options.imagePath||Qn.imagePath)+Jn.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){var e=function(t,e,n){var o=e.exec(t);return o&&o[n]};return t=e(t,/^url\((['"])?(.+)\1\)$/,2),t&&e(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=de("div","leaflet-default-icon-path",document.body),e=fe(t,"background-image")||fe(t,"backgroundImage");if(document.body.removeChild(t),e=this._stripUrl(e),e)return e;var n=document.querySelector('link[href$="leaflet.css"]');return n?n.href.substring(0,n.href.length-11-1):""}}),to=gn.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new _n(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),_e(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&we(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,n=e._map,o=this._marker.options.autoPanSpeed,i=this._marker.options.autoPanPadding,r=Le(e._icon),a=n.getPixelBounds(),s=n.getPixelOrigin(),l=N(a.min._subtract(s).add(i),a.max._subtract(s).subtract(i));if(!l.contains(r)){var c=R((Math.max(l.max.x,r.x)-l.max.x)/(a.max.x-l.max.x)-(Math.min(l.min.x,r.x)-l.min.x)/(a.min.x-l.min.x),(Math.max(l.max.y,r.y)-l.max.y)/(a.max.y-l.max.y)-(Math.min(l.min.y,r.y)-l.min.y)/(a.min.y-l.min.y)).multiplyBy(o);n.panBy(c,{animate:!1}),this._draggable._newPos._add(c),this._draggable._startPos._add(c),Pe(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=C(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(T(this._panRequest),this._panRequest=C(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,n=e._shadow,o=Le(e._icon),i=e._map.layerPointToLatLng(o);n&&Pe(n,o),e._latlng=i,t.latlng=i,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){T(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),eo=Un.extend({options:{icon:new Qn,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){d(this,e),this._latlng=W(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=W(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),n=t.icon.createIcon(this._icon),o=!1;n!==this._icon&&(this._icon&&this._removeIcon(),o=!0,t.title&&(n.title=t.title),"IMG"===n.tagName&&(n.alt=t.alt||"")),_e(n,e),t.keyboard&&(n.tabIndex="0",n.setAttribute("role","button")),this._icon=n,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Ne(n,"focus",this._panOnFocus,this);var i=t.icon.createShadow(this._shadow),r=!1;i!==this._shadow&&(this._removeShadow(),r=!0),i&&(_e(i,e),i.alt=""),this._shadow=i,t.opacity<1&&this._updateOpacity(),o&&this.getPane().appendChild(this._icon),this._initInteraction(),i&&r&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Fe(this._icon,"focus",this._panOnFocus,this),pe(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&pe(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&Pe(this._icon,t),this._shadow&&Pe(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(_e(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),to)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new to(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&ke(this._icon,t),this._shadow&&ke(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t=this._map;if(t){var e=this.options.icon.options,n=e.iconSize?R(e.iconSize):R(0,0),o=e.iconAnchor?R(e.iconAnchor):R(0,0);t.panInside(this._latlng,{paddingTopLeft:o,paddingBottomRight:n.subtract(o)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function no(t,e){return new eo(t,e)}var oo=Un.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return d(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),io=oo.extend({options:{fill:!0,radius:10},initialize:function(t,e){d(this,e),this._latlng=W(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=W(t),this.redraw(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return oo.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,n=this._clickTolerance(),o=[t+n,e+n];this._pxBounds=new B(this._point.subtract(o),this._point.add(o))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function ro(t,e){return new io(t,e)}var ao=io.extend({initialize:function(t,e,o){if("number"===typeof e&&(e=n({},o,{radius:e})),d(this,e),this._latlng=W(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new D(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:oo.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,n=this._map,o=n.options.crs;if(o.distance===V.distance){var i=Math.PI/180,r=this._mRadius/V.R/i,a=n.project([e+r,t]),s=n.project([e-r,t]),l=a.add(s).divideBy(2),c=n.unproject(l).lat,u=Math.acos((Math.cos(r*i)-Math.sin(e*i)*Math.sin(c*i))/(Math.cos(e*i)*Math.cos(c*i)))/i;(isNaN(u)||0===u)&&(u=r/Math.cos(Math.PI/180*e)),this._point=l.subtract(n.getPixelOrigin()),this._radius=isNaN(u)?0:l.x-n.project([c,t-u]).x,this._radiusY=l.y-a.y}else{var h=o.unproject(o.project(this._latlng).subtract([this._mRadius,0]));this._point=n.latLngToLayerPoint(this._latlng),this._radius=this._point.x-n.latLngToLayerPoint(h).x}this._updateBounds()}});function so(t,e,n){return new ao(t,e,n)}var lo=oo.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){d(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,n,o=1/0,i=null,r=Rn,a=0,s=this._parts.length;a<s;a++)for(var l=this._parts[a],c=1,u=l.length;c<u;c++){e=l[c-1],n=l[c];var h=r(t,e,n,!0);h<o&&(o=h,i=r(t,e,n))}return i&&(i.distance=Math.sqrt(o)),i},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return Dn(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=W(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new D,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return Bn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=Bn(t),o=0,i=t.length;o<i;o++)n?(e[o]=W(t[o]),this._bounds.extend(e[o])):e[o]=this._convertLatLngs(t[o]);return e},_project:function(){var t=new B;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),e=new M(t,t);this._rawPxBounds&&(this._pxBounds=new B([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)]))},_projectLatlngs:function(t,e,n){var o,i,r=t[0]instanceof j,a=t.length;if(r){for(i=[],o=0;o<a;o++)i[o]=this._map.latLngToLayerPoint(t[o]),n.extend(i[o]);e.push(i)}else for(o=0;o<a;o++)this._projectLatlngs(t[o],e,n)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var e,n,o,i,r,a,s,l=this._parts;for(e=0,o=0,i=this._rings.length;e<i;e++)for(s=this._rings[e],n=0,r=s.length;n<r-1;n++)a=On(s[n],s[n+1],t,n,!0),a&&(l[o]=l[o]||[],l[o].push(a[0]),a[1]===s[n+1]&&n!==r-2||(l[o].push(a[1]),o++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,n=0,o=t.length;n<o;n++)t[n]=Cn(t[n],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var n,o,i,r,a,s,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(n=0,r=this._parts.length;n<r;n++)for(s=this._parts[n],o=0,a=s.length,i=a-1;o<a;i=o++)if((e||0!==o)&&Tn(t,s[i],s[o])<=l)return!0;return!1}});function co(t,e){return new lo(t,e)}lo._flat=Nn;var uo=lo.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return bn(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(t){var e=lo.prototype._convertLatLngs.call(this,t),n=e.length;return n>=2&&e[0]instanceof j&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){lo.prototype._setLatLngs.call(this,t),Bn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Bn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new M(e,e);if(t=new B(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var o,i=0,r=this._rings.length;i<r;i++)o=wn(this._rings[i],t,!0),o.length&&this._parts.push(o)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,n,o,i,r,a,s,l,c=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(i=0,s=this._parts.length;i<s;i++)for(e=this._parts[i],r=0,l=e.length,a=l-1;r<l;a=r++)n=e[r],o=e[a],n.y>t.y!==o.y>t.y&&t.x<(o.x-n.x)*(t.y-n.y)/(o.y-n.y)+n.x&&(c=!c);return c||lo.prototype._containsPoint.call(this,t,!0)}});function ho(t,e){return new uo(t,e)}var fo=Yn.extend({initialize:function(t,e){d(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,o,i=y(t)?t:t.features;if(i){for(e=0,n=i.length;e<n;e++)o=i[e],(o.geometries||o.geometry||o.features||o.coordinates)&&this.addData(o);return this}var r=this.options;if(r.filter&&!r.filter(t))return this;var a=po(t,r);return a?(a.feature=bo(t),a.defaultOptions=a.options,this.resetStyle(a),r.onEachFeature&&r.onEachFeature(t,a),this.addLayer(a)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=n({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer((function(e){this._setLayerStyle(e,t)}),this)},_setLayerStyle:function(t,e){t.setStyle&&("function"===typeof e&&(e=e(t.feature)),t.setStyle(e))}});function po(t,e){var n,o,i,r,a="Feature"===t.type?t.geometry:t,s=a?a.coordinates:null,l=[],c=e&&e.pointToLayer,u=e&&e.coordsToLatLng||go;if(!s&&!a)return null;switch(a.type){case"Point":return n=u(s),mo(c,t,n,e);case"MultiPoint":for(i=0,r=s.length;i<r;i++)n=u(s[i]),l.push(mo(c,t,n,e));return new Yn(l);case"LineString":case"MultiLineString":return o=yo(s,"LineString"===a.type?0:1,u),new lo(o,e);case"Polygon":case"MultiPolygon":return o=yo(s,"Polygon"===a.type?1:2,u),new uo(o,e);case"GeometryCollection":for(i=0,r=a.geometries.length;i<r;i++){var h=po({geometry:a.geometries[i],type:"Feature",properties:t.properties},e);h&&l.push(h)}return new Yn(l);case"FeatureCollection":for(i=0,r=a.features.length;i<r;i++){var f=po(a.features[i],e);f&&l.push(f)}return new Yn(l);default:throw new Error("Invalid GeoJSON object.")}}function mo(t,e,n,o){return t?t(e,n):new eo(n,o&&o.markersInheritOptions&&o)}function go(t){return new j(t[1],t[0],t[2])}function yo(t,e,n){for(var o,i=[],r=0,a=t.length;r<a;r++)o=e?yo(t[r],e-1,n):(n||go)(t[r]),i.push(o);return i}function vo(t,e){return t=W(t),void 0!==t.alt?[u(t.lng,e),u(t.lat,e),u(t.alt,e)]:[u(t.lng,e),u(t.lat,e)]}function _o(t,e,n,o){for(var i=[],r=0,a=t.length;r<a;r++)i.push(e?_o(t[r],Bn(t[r])?0:e-1,n,o):vo(t[r],o));return!e&&n&&i.length>0&&i.push(i[0].slice()),i}function wo(t,e){return t.feature?n({},t.feature,{geometry:e}):bo(e)}function bo(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var xo={toGeoJSON:function(t){return wo(this,{type:"Point",coordinates:vo(this.getLatLng(),t)})}};function ko(t,e){return new fo(t,e)}eo.include(xo),ao.include(xo),io.include(xo),lo.include({toGeoJSON:function(t){var e=!Bn(this._latlngs),n=_o(this._latlngs,e?1:0,!1,t);return wo(this,{type:(e?"Multi":"")+"LineString",coordinates:n})}}),uo.include({toGeoJSON:function(t){var e=!Bn(this._latlngs),n=e&&!Bn(this._latlngs[0]),o=_o(this._latlngs,n?2:e?1:0,!0,t);return e||(o=[o]),wo(this,{type:(n?"Multi":"")+"Polygon",coordinates:o})}}),Gn.include({toMultiPoint:function(t){var e=[];return this.eachLayer((function(n){e.push(n.toGeoJSON(t).geometry.coordinates)})),wo(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var n="GeometryCollection"===e,o=[];return this.eachLayer((function(e){if(e.toGeoJSON){var i=e.toGeoJSON(t);if(n)o.push(i.geometry);else{var r=bo(i);"FeatureCollection"===r.type?o.push.apply(o,r.features):o.push(r)}}})),n?wo(this,{geometries:o,type:"GeometryCollection"}):{type:"FeatureCollection",features:o}}});var So=ko,Co=Un.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,n){this._url=t,this._bounds=F(e),d(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(_e(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){pe(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&ge(this._image),this},bringToBack:function(){return this._map&&ye(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=F(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:de("img");_e(e,"leaflet-image-layer"),this._zoomAnimated&&_e(e,"leaflet-zoom-animated"),this.options.className&&_e(e,this.options.className),e.onselectstart=c,e.onmousemove=c,e.onload=i(this.fire,this,"load"),e.onerror=i(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;Te(this._image,n,e)},_reset:function(){var t=this._image,e=new B(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=e.getSize();Pe(t,e.min),t.style.width=n.x+"px",t.style.height=n.y+"px"},_updateOpacity:function(){ke(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),To=function(t,e,n){return new Co(t,e,n)},Po=Co.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:de("video");if(_e(e,"leaflet-image-layer"),this._zoomAnimated&&_e(e,"leaflet-zoom-animated"),this.options.className&&_e(e,this.options.className),e.onselectstart=c,e.onmousemove=c,e.onloadeddata=i(this.fire,this,"load"),t){for(var n=e.getElementsByTagName("source"),o=[],r=0;r<n.length;r++)o.push(n[r].src);this._url=n.length>0?o:[e.src]}else{y(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style["objectFit"]="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var a=0;a<this._url.length;a++){var s=de("source");s.src=this._url[a],e.appendChild(s)}}}});function Lo(t,e,n){return new Po(t,e,n)}var Ao=Co.extend({_initImage:function(){var t=this._image=this._url;_e(t,"leaflet-image-layer"),this._zoomAnimated&&_e(t,"leaflet-zoom-animated"),this.options.className&&_e(t,this.options.className),t.onselectstart=c,t.onmousemove=c}});function Eo(t,e,n){return new Ao(t,e,n)}var Oo=Un.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(t,e){t&&(t instanceof j||y(t))?(this._latlng=W(t),d(this,e)):(d(this,t),this._source=e),this.options.content&&(this._content=this.options.content)},openOn:function(t){return t=arguments.length?t:this._source._map,t.hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&ke(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&ke(this._container,1),this.bringToFront(),this.options.interactive&&(_e(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(ke(this._container,0),this._removeTimeout=setTimeout(i(pe,void 0,this._container),200)):pe(this._container),this.options.interactive&&(we(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=W(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ge(this._container),this},bringToBack:function(){return this._map&&ye(this._container),this},_prepareOpen:function(t){var e=this._source;if(!e._map)return!1;if(e instanceof Yn){e=null;var n=this._source._layers;for(var o in n)if(n[o]._map){e=n[o];break}if(!e)return!1;this._source=e}if(!t)if(e.getCenter)t=e.getCenter();else if(e.getLatLng)t=e.getLatLng();else{if(!e.getBounds)throw new Error("Unable to get source layer LatLng.");t=e.getBounds().getCenter()}return this.setLatLng(t),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"===typeof this._content?this._content(this._source||this):this._content;if("string"===typeof e)t.innerHTML=e;else{while(t.hasChildNodes())t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=R(this.options.offset),n=this._getAnchor();this._zoomAnimated?Pe(this._container,t.add(n)):e=e.add(t).add(n);var o=this._containerBottom=-e.y,i=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=o+"px",this._container.style.left=i+"px"}},_getAnchor:function(){return[0,0]}});nn.include({_initOverlay:function(t,e,n,o){var i=e;return i instanceof t||(i=new t(o).setContent(e)),n&&i.setLatLng(n),i}}),Un.include({_initOverlay:function(t,e,n,o){var i=n;return i instanceof t?(d(i,o),i._source=this):(i=e&&!o?e:new t(o,this),i.setContent(n)),i}});var zo=Oo.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return t=arguments.length?t:this._source._map,!t.hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,Oo.prototype.openOn.call(this,t)},onAdd:function(t){Oo.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof oo||this._source.on("preclick",He))},onRemove:function(t){Oo.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof oo||this._source.off("preclick",He))},getEvents:function(){var t=Oo.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this.close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_initLayout:function(){var t="leaflet-popup",e=this._container=de("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),n=this._wrapper=de("div",t+"-content-wrapper",e);if(this._contentNode=de("div",t+"-content",n),Ue(e),$e(this._contentNode),Ne(e,"contextmenu",He),this._tipContainer=de("div",t+"-tip-container",e),this._tip=de("div",t+"-tip",this._tipContainer),this.options.closeButton){var o=this._closeButton=de("a",t+"-close-button",e);o.setAttribute("role","button"),o.setAttribute("aria-label","Close popup"),o.href="#close",o.innerHTML='<span aria-hidden="true">×</span>',Ne(o,"click",(function(t){Ge(t),this.close()}),this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var n=t.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),e.width=n+1+"px",e.whiteSpace="",e.height="";var o=t.offsetHeight,i=this.options.maxHeight,r="leaflet-popup-scrolled";i&&o>i?(e.height=i+"px",_e(t,r)):we(t,r),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();Pe(this._container,e.add(n))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var t=this._map,e=parseInt(fe(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+e,o=this._containerWidth,i=new M(this._containerLeft,-n-this._containerBottom);i._add(Le(this._container));var r=t.layerPointToContainerPoint(i),a=R(this.options.autoPanPadding),s=R(this.options.autoPanPaddingTopLeft||a),l=R(this.options.autoPanPaddingBottomRight||a),c=t.getSize(),u=0,h=0;r.x+o+l.x>c.x&&(u=r.x+o-c.x+l.x),r.x-u-s.x<0&&(u=r.x-s.x),r.y+n+l.y>c.y&&(h=r.y+n-c.y+l.y),r.y-h-s.y<0&&(h=r.y-s.y),(u||h)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([u,h]))}},_getAnchor:function(){return R(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Mo=function(t,e){return new zo(t,e)};nn.mergeOptions({closePopupOnClick:!0}),nn.include({openPopup:function(t,e,n){return this._initOverlay(zo,t,e,n).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),Un.include({bindPopup:function(t,e){return this._popup=this._initOverlay(zo,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof Yn||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(this._popup&&this._map){qe(t);var e=t.layer||t.target;this._popup._source!==e||e instanceof oo?(this._popup._source=e,this.openPopup(t.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Io=Oo.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){Oo.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){Oo.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=Oo.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip",e=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=de("div",e),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+a(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n,o=this._map,i=this._container,r=o.latLngToContainerPoint(o.getCenter()),a=o.layerPointToContainerPoint(t),s=this.options.direction,l=i.offsetWidth,c=i.offsetHeight,u=R(this.options.offset),h=this._getAnchor();"top"===s?(e=l/2,n=c):"bottom"===s?(e=l/2,n=0):"center"===s?(e=l/2,n=c/2):"right"===s?(e=0,n=c/2):"left"===s?(e=l,n=c/2):a.x<r.x?(s="right",e=0,n=c/2):(s="left",e=l+2*(u.x+h.x),n=c/2),t=t.subtract(R(e,n,!0)).add(u).add(h),we(i,"leaflet-tooltip-right"),we(i,"leaflet-tooltip-left"),we(i,"leaflet-tooltip-top"),we(i,"leaflet-tooltip-bottom"),_e(i,"leaflet-tooltip-"+s),Pe(i,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&ke(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return R(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),Ro=function(t,e){return new Io(t,e)};nn.include({openTooltip:function(t,e,n){return this._initOverlay(Io,t,e,n).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),Un.include({bindTooltip:function(t,e){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Io,this._tooltip,t,e),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var e=t?"off":"on",n={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,n.click=this._openTooltip,this._map?this._addFocusListeners():n.add=this._addFocusListeners),this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),this[e](n),this._tooltipHandlersAdded=!t}},openTooltip:function(t){return this._tooltip&&(this instanceof Yn||(this._tooltip._source=this),this._tooltip._prepareOpen(t)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(t){var e="function"===typeof t.getElement&&t.getElement();e&&(Ne(e,"focus",(function(){this._tooltip._source=t,this.openTooltip()}),this),Ne(e,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(t){var e="function"===typeof t.getElement&&t.getElement();e&&e.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(t){if(this._tooltip&&this._map)if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var e=this;this._map.once("moveend",(function(){e._openOnceFlag=!1,e._openTooltip(t)}))}else this._tooltip._source=t.layer||t.target,this.openTooltip(this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var e,n,o=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),n=this._map.containerPointToLayerPoint(e),o=this._map.layerPointToLatLng(n)),this._tooltip.setLatLng(o)}});var Bo=Jn.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var e=t&&"DIV"===t.tagName?t:document.createElement("div"),n=this.options;if(n.html instanceof Element?(me(e),e.appendChild(n.html)):e.innerHTML=!1!==n.html?n.html:"",n.bgPos){var o=R(n.bgPos);e.style.backgroundPosition=-o.x+"px "+-o.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});function No(t){return new Bo(t)}Jn.Default=Qn;var Do=Un.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Bt.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){d(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),pe(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ge(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ye(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var t=this._clampZoom(this._map.getZoom());t!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()}return this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=s(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof M?t:new M(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,n=this.getPane().children,o=-t(-1/0,1/0),i=0,r=n.length;i<r;i++)e=n[i].style.zIndex,n[i]!==this._container&&e&&(o=t(o,+e));isFinite(o)&&(this.options.zIndex=o+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Bt.ielt9){ke(this._container,this.options.opacity);var t=+new Date,e=!1,n=!1;for(var o in this._tiles){var i=this._tiles[o];if(i.current&&i.loaded){var r=Math.min(1,(t-i.loaded)/200);ke(i.el,r),r<1?e=!0:(i.active?n=!0:this._onOpaqueTile(i),i.active=!0)}}n&&!this._noPrune&&this._pruneTiles(),e&&(T(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this))}},_onOpaqueTile:c,_initContainer:function(){this._container||(this._container=de("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var n in this._levels)n=Number(n),this._levels[n].el.children.length||n===t?(this._levels[n].el.style.zIndex=e-Math.abs(t-n),this._onUpdateLevel(n)):(pe(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var o=this._levels[t],i=this._map;return o||(o=this._levels[t]={},o.el=de("div","leaflet-tile-container leaflet-zoom-animated",this._container),o.el.style.zIndex=e,o.origin=i.project(i.unproject(i.getPixelOrigin()),t).round(),o.zoom=t,this._setZoomTransform(o,i.getCenter(),i.getZoom()),c(o.el.offsetWidth),this._onCreateLevel(o)),this._level=o,o}},_onUpdateLevel:c,_onRemoveLevel:c,_onCreateLevel:c,_pruneTiles:function(){if(this._map){var t,e,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)e=this._tiles[t],e.retain=e.current;for(t in this._tiles)if(e=this._tiles[t],e.current&&!e.active){var o=e.coords;this._retainParent(o.x,o.y,o.z,o.z-5)||this._retainChildren(o.x,o.y,o.z,o.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)pe(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,n,o){var i=Math.floor(t/2),r=Math.floor(e/2),a=n-1,s=new M(+i,+r);s.z=+a;var l=this._tileCoordsToKey(s),c=this._tiles[l];return c&&c.active?(c.retain=!0,!0):(c&&c.loaded&&(c.retain=!0),a>o&&this._retainParent(i,r,a,o))},_retainChildren:function(t,e,n,o){for(var i=2*t;i<2*t+2;i++)for(var r=2*e;r<2*e+2;r++){var a=new M(i,r);a.z=n+1;var s=this._tileCoordsToKey(a),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1<o&&this._retainChildren(i,r,n+1,o))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,n,o){var i=Math.round(e);i=void 0!==this.options.maxZoom&&i>this.options.maxZoom||void 0!==this.options.minZoom&&i<this.options.minZoom?void 0:this._clampZoom(i);var r=this.options.updateWhenZooming&&i!==this._tileZoom;o&&!r||(this._tileZoom=i,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==i&&this._update(t),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var n in this._levels)this._setZoomTransform(this._levels[n],t,e)},_setZoomTransform:function(t,e,n){var o=this._map.getZoomScale(n,t.zoom),i=t.origin.multiplyBy(o).subtract(this._map._getNewPixelOrigin(e,n)).round();Bt.any3d?Te(t.el,i,o):Pe(t.el,i)},_resetGrid:function(){var t=this._map,e=t.options.crs,n=this._tileSize=this.getTileSize(),o=this._tileZoom,i=this._map.getPixelWorldBounds(this._tileZoom);i&&(this._globalTileRange=this._pxBoundsToTileRange(i)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],o).x/n.x),Math.ceil(t.project([0,e.wrapLng[1]],o).x/n.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],o).y/n.x),Math.ceil(t.project([e.wrapLat[1],0],o).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,n=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),o=e.getZoomScale(n,this._tileZoom),i=e.project(t,this._tileZoom).floor(),r=e.getSize().divideBy(2*o);return new B(i.subtract(r),i.add(r))},_update:function(t){var e=this._map;if(e){var n=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var o=this._getTiledPixelBounds(t),i=this._pxBoundsToTileRange(o),r=i.getCenter(),a=[],s=this.options.keepBuffer,l=new B(i.getBottomLeft().subtract([s,-s]),i.getTopRight().add([s,-s]));if(!(isFinite(i.min.x)&&isFinite(i.min.y)&&isFinite(i.max.x)&&isFinite(i.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var c in this._tiles){var u=this._tiles[c].coords;u.z===this._tileZoom&&l.contains(new M(u.x,u.y))||(this._tiles[c].current=!1)}if(Math.abs(n-this._tileZoom)>1)this._setView(t,n);else{for(var h=i.min.y;h<=i.max.y;h++)for(var f=i.min.x;f<=i.max.x;f++){var d=new M(f,h);if(d.z=this._tileZoom,this._isValidTile(d)){var p=this._tiles[this._tileCoordsToKey(d)];p?p.current=!0:a.push(d)}}if(a.sort((function(t,e){return t.distanceTo(r)-e.distanceTo(r)})),0!==a.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(f=0;f<a.length;f++)this._addTile(a[f],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var n=this._globalTileRange;if(!e.wrapLng&&(t.x<n.min.x||t.x>n.max.x)||!e.wrapLat&&(t.y<n.min.y||t.y>n.max.y))return!1}if(!this.options.bounds)return!0;var o=this._tileCoordsToBounds(t);return F(this.options.bounds).overlaps(o)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),o=t.scaleBy(n),i=o.add(n),r=e.unproject(o,t.z),a=e.unproject(i,t.z);return[r,a]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),n=new D(e[0],e[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),n=new M(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(pe(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){_e(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=c,t.onmousemove=c,Bt.ielt9&&this.options.opacity<1&&ke(t,this.options.opacity)},_addTile:function(t,e){var n=this._getTilePos(t),o=this._tileCoordsToKey(t),r=this.createTile(this._wrapCoords(t),i(this._tileReady,this,t));this._initTile(r),this.createTile.length<2&&C(i(this._tileReady,this,t,null,r)),Pe(r,n),this._tiles[o]={el:r,coords:t,current:!0},e.appendChild(r),this.fire("tileloadstart",{tile:r,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var o=this._tileCoordsToKey(t);n=this._tiles[o],n&&(n.loaded=+new Date,this._map._fadeAnimated?(ke(n.el,0),T(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(_e(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Bt.ielt9||!this._map._fadeAnimated?C(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new M(this._wrapX?l(t.x,this._wrapX):t.x,this._wrapY?l(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new B(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function Fo(t){return new Do(t)}var jo=Do.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,e=d(this,e),e.detectRetina&&Bt.retina&&e.maxZoom>0?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),"string"===typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return Ne(n,"load",i(this._tileOnLoad,this,e,n)),Ne(n,"error",i(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"===typeof this.options.referrerPolicy&&(n.referrerPolicy=this.options.referrerPolicy),n.alt="",n.src=this.getTileUrl(t),n},getTileUrl:function(t){var e={r:Bt.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var o=this._globalTileRange.max.y-t.y;this.options.tms&&(e["y"]=o),e["-y"]=o}return g(this._url,n(e,this.options))},_tileOnLoad:function(t,e){Bt.ielt9?setTimeout(i(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var o=this.options.errorTileUrl;o&&e.getAttribute("src")!==o&&(e.src=o),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom,n=this.options.zoomReverse,o=this.options.zoomOffset;return n&&(t=e-t),t+o},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&(e=this._tiles[t].el,e.onload=c,e.onerror=c,!e.complete)){e.src=_;var n=this._tiles[t].coords;pe(e),delete this._tiles[t],this.fire("tileabort",{tile:e,coords:n})}},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",_),Do.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==_))return Do.prototype._tileReady.call(this,t,e,n)}});function Wo(t,e){return new jo(t,e)}var Zo=jo.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var o=n({},this.defaultWmsParams);for(var i in e)i in this.options||(o[i]=e[i]);e=d(this,e);var r=e.detectRetina&&Bt.retina?2:1,a=this.getTileSize();o.width=a.x*r,o.height=a.y*r,this.wmsParams=o},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,jo.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,o=N(n.project(e[0]),n.project(e[1])),i=o.min,r=o.max,a=(this._wmsVersion>=1.3&&this._crs===Hn?[i.y,i.x,r.y,r.x]:[i.x,i.y,r.x,r.y]).join(","),s=jo.prototype.getTileUrl.call(this,t);return s+p(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+a},setParams:function(t,e){return n(this.wmsParams,t),e||this.redraw(),this}});function Vo(t,e){return new Zo(t,e)}jo.WMS=Zo,Wo.wms=Vo;var Ho=Un.extend({options:{padding:.1},initialize:function(t){d(this,t),a(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),_e(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),o=this._map.getSize().multiplyBy(.5+this.options.padding),i=this._map.project(this._center,e),r=o.multiplyBy(-n).add(i).subtract(this._map._getNewPixelOrigin(t,e));Bt.any3d?Te(this._container,r,n):Pe(this._container,r)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new B(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),$o=Ho.extend({options:{tolerance:0},getEvents:function(){var t=Ho.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Ho.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Ne(t,"mousemove",this._onMouseMove,this),Ne(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ne(t,"mouseout",this._handleMouseOut,this),t["_leaflet_disable_events"]=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){T(this._redrawRequest),delete this._ctx,pe(this._container),Fe(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;for(var e in this._redrawBounds=null,this._layers)t=this._layers[e],t._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){Ho.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),o=Bt.retina?2:1;Pe(e,t.min),e.width=o*n.x,e.height=o*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",Bt.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){Ho.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[a(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,o=e.prev;n?n.prev=o:this._drawLast=o,o?o.next=n:this._drawFirst=n,delete t._order,delete this._layers[a(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"===typeof t.options.dashArray){var e,n,o=t.options.dashArray.split(/[, ]+/),i=[];for(n=0;n<o.length;n++){if(e=Number(o[n]),isNaN(e))return;i.push(e)}t.options._dashArray=i}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||C(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new B,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var t,e=this._redrawBounds;if(this._ctx.save(),e){var n=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,n.x,n.y),this._ctx.clip()}this._drawing=!0;for(var o=this._drawFirst;o;o=o.next)t=o.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var n,o,i,r,a=t._parts,s=a.length,l=this._ctx;if(s){for(l.beginPath(),n=0;n<s;n++){for(o=0,i=a[n].length;o<i;o++)r=a[n][o],l[o?"lineTo":"moveTo"](r.x,r.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,n=this._ctx,o=Math.max(Math.round(t._radius),1),i=(Math.max(Math.round(t._radiusY),1)||o)/o;1!==i&&(n.save(),n.scale(1,i)),n.beginPath(),n.arc(e.x,e.y/i,o,0,2*Math.PI,!1),1!==i&&n.restore(),this._fillStroke(n,t)}},_fillStroke:function(t,e){var n=e.options;n.fill&&(t.globalAlpha=n.fillOpacity,t.fillStyle=n.fillColor||n.color,t.fill(n.fillRule||"evenodd")),n.stroke&&0!==n.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=n.opacity,t.lineWidth=n.weight,t.strokeStyle=n.color,t.lineCap=n.lineCap,t.lineJoin=n.lineJoin,t.stroke())},_onClick:function(t){for(var e,n,o=this._map.mouseEventToLayerPoint(t),i=this._drawFirst;i;i=i.next)e=i.layer,e.options.interactive&&e._containsPoint(o)&&("click"!==t.type&&"preclick"!==t.type||!this._map._draggableMoved(e))&&(n=e);this._fireEvent(!!n&&[n],t)},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(we(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var n,o,r=this._drawFirst;r;r=r.next)n=r.layer,n.options.interactive&&n._containsPoint(e)&&(o=n);o!==this._hoveredLayer&&(this._handleMouseOut(t),o&&(_e(this._container,"leaflet-interactive"),this._fireEvent([o],t,"mouseover"),this._hoveredLayer=o)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(i((function(){this._mouseHoverThrottled=!1}),this),32)}},_fireEvent:function(t,e,n){this._map._fireDOMEvent(e,n||e.type,t)},_bringToFront:function(t){var e=t._order;if(e){var n=e.next,o=e.prev;n&&(n.prev=o,o?o.next=n:n&&(this._drawFirst=n),e.prev=this._drawLast,this._drawLast.next=e,e.next=null,this._drawLast=e,this._requestRedraw(t))}},_bringToBack:function(t){var e=t._order;if(e){var n=e.next,o=e.prev;o&&(o.next=n,n?n.prev=o:o&&(this._drawLast=o),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}});function Uo(t){return Bt.canvas?new $o(t):null}var Go=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),qo={_initContainer:function(){this._container=de("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Ho.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Go("shape");_e(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Go("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;pe(e),t.removeInteractiveTarget(e),delete this._layers[a(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,o=t.options,i=t._container;i.stroked=!!o.stroke,i.filled=!!o.fill,o.stroke?(e||(e=t._stroke=Go("stroke")),i.appendChild(e),e.weight=o.weight+"px",e.color=o.color,e.opacity=o.opacity,o.dashArray?e.dashStyle=y(o.dashArray)?o.dashArray.join(" "):o.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=o.lineCap.replace("butt","flat"),e.joinstyle=o.lineJoin):e&&(i.removeChild(e),t._stroke=null),o.fill?(n||(n=t._fill=Go("fill")),i.appendChild(n),n.color=o.fillColor||o.color,n.opacity=o.fillOpacity):n&&(i.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),o=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+o+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){ge(t._container)},_bringToBack:function(t){ye(t._container)}},Yo=Bt.vml?Go:K,Ko=Ho.extend({_initContainer:function(){this._container=Yo("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Yo("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){pe(this._container),Fe(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){Ho.prototype._update.call(this);var t=this._bounds,e=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),Pe(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=Yo("path");t.options.className&&_e(e,t.options.className),t.options.interactive&&_e(e,"leaflet-interactive"),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){pe(t._path),t.removeInteractiveTarget(t._path),delete this._layers[a(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,n=t.options;e&&(n.stroke?(e.setAttribute("stroke",n.color),e.setAttribute("stroke-opacity",n.opacity),e.setAttribute("stroke-width",n.weight),e.setAttribute("stroke-linecap",n.lineCap),e.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?e.setAttribute("stroke-dasharray",n.dashArray):e.removeAttribute("stroke-dasharray"),n.dashOffset?e.setAttribute("stroke-dashoffset",n.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),n.fill?(e.setAttribute("fill",n.fillColor||n.color),e.setAttribute("fill-opacity",n.fillOpacity),e.setAttribute("fill-rule",n.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,J(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),o=Math.max(Math.round(t._radiusY),1)||n,i="a"+n+","+o+" 0 1,0 ",r=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(t,r)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){ge(t._path)},_bringToBack:function(t){ye(t._path)}});function Jo(t){return Bt.svg||Bt.vml?new Ko(t):null}Bt.vml&&Ko.include(qo),nn.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&Uo(t)||Jo(t)}});var Xo=uo.extend({initialize:function(t,e){uo.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=F(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function Qo(t,e){return new Xo(t,e)}Ko.create=Yo,Ko.pointsToPath=J,fo.geometryToLayer=po,fo.coordsToLatLng=go,fo.coordsToLatLngs=yo,fo.latLngToCoords=vo,fo.latLngsToCoords=_o,fo.getFeature=wo,fo.asFeature=bo,nn.mergeOptions({boxZoom:!0});var ti=gn.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Ne(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Fe(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){pe(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),oe(),Ee(),this._startPoint=this._map.mouseEventToContainerPoint(t),Ne(document,{contextmenu:qe,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=de("div","leaflet-zoom-box",this._container),_e(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new B(this._point,this._startPoint),n=e.getSize();Pe(this._box,e.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(pe(this._box),we(this._container,"leaflet-crosshair")),ie(),Oe(),Fe(document,{contextmenu:qe,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var e=new D(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});nn.addInitHook("addHandler","boxZoom",ti),nn.mergeOptions({doubleClickZoom:!0});var ei=gn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),o=e.options.zoomDelta,i=t.originalEvent.shiftKey?n-o:n+o;"center"===e.options.doubleClickZoom?e.setZoom(i):e.setZoomAround(t.containerPoint,i)}});nn.addInitHook("addHandler","doubleClickZoom",ei),nn.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var ni=gn.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new _n(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}_e(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){we(this._map._container,"leaflet-grab"),we(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=F(this._map.options.maxBounds);this._offsetLimit=N(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){while(this._positions.length>1&&t-this._times[0]>50)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,o=this._draggable._newPos.x,i=(o-e+n)%t+e-n,r=(o+e+n)%t-e-n,a=Math.abs(i+n)<Math.abs(r+n)?i:r;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=a},_onDragEnd:function(t){var e=this._map,n=e.options,o=!n.inertia||t.noInertia||this._times.length<2;if(e.fire("dragend",t),o)e.fire("moveend");else{this._prunePositions(+new Date);var i=this._lastPos.subtract(this._positions[0]),r=(this._lastTime-this._times[0])/1e3,a=n.easeLinearity,s=i.multiplyBy(a/r),l=s.distanceTo([0,0]),c=Math.min(n.inertiaMaxSpeed,l),u=s.multiplyBy(c/l),h=c/(n.inertiaDeceleration*a),f=u.multiplyBy(-h/2).round();f.x||f.y?(f=e._limitOffset(f,e.options.maxBounds),C((function(){e.panBy(f,{duration:h,easeLinearity:a,noMoveStart:!0,animate:!0})}))):e.fire("moveend")}}});nn.addInitHook("addHandler","dragging",ni),nn.mergeOptions({keyboard:!0,keyboardPanDelta:80});var oi=gn.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),Ne(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Fe(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,e=document.documentElement,n=t.scrollTop||e.scrollTop,o=t.scrollLeft||e.scrollLeft;this._map._container.focus(),window.scrollTo(o,n)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e,n,o=this._panKeys={},i=this.keyCodes;for(e=0,n=i.left.length;e<n;e++)o[i.left[e]]=[-1*t,0];for(e=0,n=i.right.length;e<n;e++)o[i.right[e]]=[t,0];for(e=0,n=i.down.length;e<n;e++)o[i.down[e]]=[0,t];for(e=0,n=i.up.length;e<n;e++)o[i.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,n,o=this._zoomKeys={},i=this.keyCodes;for(e=0,n=i.zoomIn.length;e<n;e++)o[i.zoomIn[e]]=t;for(e=0,n=i.zoomOut.length;e<n;e++)o[i.zoomOut[e]]=-t},_addHooks:function(){Ne(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Fe(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,n=t.keyCode,o=this._map;if(n in this._panKeys){if(!o._panAnim||!o._panAnim._inProgress)if(e=this._panKeys[n],t.shiftKey&&(e=R(e).multiplyBy(3)),o.options.maxBounds&&(e=o._limitOffset(R(e),o.options.maxBounds)),o.options.worldCopyJump){var i=o.wrapLatLng(o.unproject(o.project(o.getCenter()).add(e)));o.panTo(i)}else o.panBy(e)}else if(n in this._zoomKeys)o.setZoom(o.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[n]);else{if(27!==n||!o._popup||!o._popup.options.closeOnEscapeKey)return;o.closePopup()}qe(t)}}});nn.addInitHook("addHandler","keyboard",oi),nn.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var ii=gn.extend({addHooks:function(){Ne(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Fe(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=Xe(t),n=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var o=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(i(this._performZoom,this),o),qe(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),n=this._map.options.zoomSnap||0;t._stop();var o=this._delta/(4*this._map.options.wheelPxPerZoomLevel),i=4*Math.log(2/(1+Math.exp(-Math.abs(o))))/Math.LN2,r=n?Math.ceil(i/n)*n:i,a=t._limitZoom(e+(this._delta>0?r:-r))-e;this._delta=0,this._startTime=null,a&&("center"===t.options.scrollWheelZoom?t.setZoom(e+a):t.setZoomAround(this._lastMousePos,e+a))}});nn.addInitHook("addHandler","scrollWheelZoom",ii);var ri=600;nn.mergeOptions({tapHold:Bt.touchNative&&Bt.safari&&Bt.mobile,tapTolerance:15});var ai=gn.extend({addHooks:function(){Ne(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Fe(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),1===t.touches.length){var e=t.touches[0];this._startPos=this._newPos=new M(e.clientX,e.clientY),this._holdTimeout=setTimeout(i((function(){this._cancel(),this._isTapValid()&&(Ne(document,"touchend",Ge),Ne(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))}),this),ri),Ne(document,"touchend touchcancel contextmenu",this._cancel,this),Ne(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){Fe(document,"touchend",Ge),Fe(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),Fe(document,"touchend touchcancel contextmenu",this._cancel,this),Fe(document,"touchmove",this._onMove,this)},_onMove:function(t){var e=t.touches[0];this._newPos=new M(e.clientX,e.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){var n=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});n._simulated=!0,e.target.dispatchEvent(n)}});nn.addInitHook("addHandler","tapHold",ai),nn.mergeOptions({touchZoom:Bt.touch,bounceAtZoomLimits:!0});var si=gn.extend({addHooks:function(){_e(this._map._container,"leaflet-touch-zoom"),Ne(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){we(this._map._container,"leaflet-touch-zoom"),Fe(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var n=e.mouseEventToContainerPoint(t.touches[0]),o=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(n.add(o)._divideBy(2))),this._startDist=n.distanceTo(o),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Ne(document,"touchmove",this._onTouchMove,this),Ne(document,"touchend touchcancel",this._onTouchEnd,this),Ge(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),o=e.mouseEventToContainerPoint(t.touches[1]),r=n.distanceTo(o)/this._startDist;if(this._zoom=e.getScaleZoom(r,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&r<1||this._zoom>e.getMaxZoom()&&r>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===r)return}else{var a=n._add(o)._divideBy(2)._subtract(this._centerPoint);if(1===r&&0===a.x&&0===a.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(a),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),T(this._animRequest);var s=i(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=C(s,this,!0),Ge(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,T(this._animRequest),Fe(document,"touchmove",this._onTouchMove,this),Fe(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});nn.addInitHook("addHandler","touchZoom",si),nn.BoxZoom=ti,nn.DoubleClickZoom=ei,nn.Drag=ni,nn.Keyboard=oi,nn.ScrollWheelZoom=ii,nn.TapHold=ai,nn.TouchZoom=si,t.Bounds=B,t.Browser=Bt,t.CRS=Z,t.Canvas=$o,t.Circle=ao,t.CircleMarker=io,t.Class=A,t.Control=rn,t.DivIcon=Bo,t.DivOverlay=Oo,t.DomEvent=tn,t.DomUtil=Be,t.Draggable=_n,t.Evented=z,t.FeatureGroup=Yn,t.GeoJSON=fo,t.GridLayer=Do,t.Handler=gn,t.Icon=Jn,t.ImageOverlay=Co,t.LatLng=j,t.LatLngBounds=D,t.Layer=Un,t.LayerGroup=Gn,t.LineUtil=Fn,t.Map=nn,t.Marker=eo,t.Mixin=yn,t.Path=oo,t.Point=M,t.PolyUtil=Sn,t.Polygon=uo,t.Polyline=lo,t.Popup=zo,t.PosAnimation=en,t.Projection=Zn,t.Rectangle=Xo,t.Renderer=Ho,t.SVG=Ko,t.SVGOverlay=Ao,t.TileLayer=jo,t.Tooltip=Io,t.Transformation=U,t.Util=P,t.VideoOverlay=Po,t.bind=i,t.bounds=N,t.canvas=Uo,t.circle=so,t.circleMarker=ro,t.control=an,t.divIcon=No,t.extend=n,t.featureGroup=Kn,t.geoJSON=ko,t.geoJson=So,t.gridLayer=Fo,t.icon=Xn,t.imageOverlay=To,t.latLng=W,t.latLngBounds=F,t.layerGroup=qn,t.map=on,t.marker=no,t.point=R,t.polygon=ho,t.polyline=co,t.popup=Mo,t.rectangle=Qo,t.setOptions=d,t.stamp=a,t.svg=Jo,t.svgOverlay=Eo,t.tileLayer=Wo,t.tooltip=Ro,t.transformation=G,t.version=e,t.videoOverlay=Lo;var li=window.L;t.noConflict=function(){return window.L=li,this},window.L=t}))},262:(t,e)=>{"use strict";e.A=(t,e)=>{const n=t.__vccOpts||t;for(const[o,i]of e)n[o]=i;return n}},414:(t,e,n)=>{var o=n(101);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("2b70d5b0",o,!0,{sourceMap:!1,shadowMode:!1})},587:(t,e,n)=>{var o=n(908);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("1d90ba1d",o,!0,{sourceMap:!1,shadowMode:!1})},273:(t,e,n)=>{var o=n(42);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("130a25fc",o,!0,{sourceMap:!1,shadowMode:!1})},75:(t,e,n)=>{var o=n(140);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("0617178f",o,!0,{sourceMap:!1,shadowMode:!1})},734:(t,e,n)=>{var o=n(396);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("142aedd7",o,!0,{sourceMap:!1,shadowMode:!1})},415:(t,e,n)=>{var o=n(197);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("2fe0b1fa",o,!0,{sourceMap:!1,shadowMode:!1})},960:(t,e,n)=>{var o=n(514);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("c9d2f80e",o,!0,{sourceMap:!1,shadowMode:!1})},566:(t,e,n)=>{var o=n(688);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("182806a6",o,!0,{sourceMap:!1,shadowMode:!1})},308:(t,e,n)=>{var o=n(442);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("0d95731f",o,!0,{sourceMap:!1,shadowMode:!1})},233:(t,e,n)=>{var o=n(455);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("0bc54db6",o,!0,{sourceMap:!1,shadowMode:!1})},522:(t,e,n)=>{var o=n(999);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("520373dc",o,!0,{sourceMap:!1,shadowMode:!1})},548:(t,e,n)=>{"use strict";function o(t,e){for(var n=[],o={},i=0;i<e.length;i++){var r=e[i],a=r[0],s=r[1],l=r[2],c=r[3],u={id:t+":"+i,css:s,media:l,sourceMap:c};o[a]?o[a].parts.push(u):n.push(o[a]={id:a,parts:[u]})}return n}n.d(e,{A:()=>p});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},a=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},h=null,f="data-vue-ssr-id",d="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,i){c=n,h=i||{};var a=o(t,e);return m(a),function(e){for(var n=[],i=0;i<a.length;i++){var s=a[i],l=r[s.id];l.refs--,n.push(l)}e?(a=o(t,e),m(a)):a=[];for(i=0;i<n.length;i++){l=n[i];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete r[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],o=r[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(y(n.parts[i]));o.parts.length>n.parts.length&&(o.parts.length=n.parts.length)}else{var a=[];for(i=0;i<n.parts.length;i++)a.push(y(n.parts[i]));r[n.id]={id:n.id,refs:1,parts:a}}}}function g(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function y(t){var e,n,o=document.querySelector("style["+f+'~="'+t.id+'"]');if(o){if(c)return u;o.parentNode.removeChild(o)}if(d){var i=l++;o=s||(s=g()),e=_.bind(null,o,i,!1),n=_.bind(null,o,i,!0)}else o=g(),e=w.bind(null,o),n=function(){o.parentNode.removeChild(o)};return e(t),function(o){if(o){if(o.css===t.css&&o.media===t.media&&o.sourceMap===t.sourceMap)return;e(t=o)}else n()}}var v=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function _(t,e,n,o){var i=n?"":o.css;if(t.styleSheet)t.styleSheet.cssText=v(e,i);else{var r=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(r,a[e]):t.appendChild(r)}}function w(t,e){var n=e.css,o=e.media,i=e.sourceMap;if(o&&t.setAttribute("media",o),h.ssrId&&t.setAttribute(f,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},577:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII="},648:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC"},24:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII="},380:t=>{"use strict";t.exports=e},274:e=>{"use strict";e.exports=t}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var r=o[t]={id:t,exports:{}};return n[t].call(r.exports,r,r.exports,i),r.exports}i.m=n,(()=>{i.n=t=>{var e=t&&t.__esModule?()=>t["default"]:()=>t;return i.d(e,{a:e}),e}})(),(()=>{i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}})(),(()=>{i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()})(),(()=>{i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})(),(()=>{i.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})(),(()=>{i.p=""})(),(()=>{i.b=document.baseURI||self.location.href})();var r={};return(()=>{"use strict";if(i.r(r),i.d(r,{API_BASE_URL:()=>cc,BackgroundImageset:()=>Al,CreditLogos:()=>yl,D2R:()=>sc,DefaultMiniCredits:()=>il,FundingAcknowledgment:()=>cl,Gallery:()=>ac,IconButton:()=>bs,KeyboardControlSettings:()=>h,LocationSelector:()=>Js,MINIDS_BASE_URL:()=>uc,MiniDSBase:()=>w,R2D:()=>lc,skyBackgroundImagesets:()=>El,wwtHUD:()=>Ll}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(i.p=e[1])}var n=function(){return n=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},n.apply(this,arguments)};function o(t,e,n,o){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function a(t){try{l(o.next(t))}catch(e){r(e)}}function s(t){try{l(o["throw"](t))}catch(e){r(e)}}function l(t){t.done?n(t.value):i(t.value).then(a,s)}l((o=o.apply(t,e||[])).next())}))}function a(t,e){var n,o,i,r,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return l([t,e])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(a=0)),a)try{if(n=1,o&&(i=2&s[0]?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,o=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(l){s=[6,l],o=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}Object.create;function s(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],o=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,i,r=n.call(t),a=[];try{while((void 0===e||e-- >0)&&!(o=r.next()).done)a.push(o.value)}catch(s){i={error:s}}finally{try{o&&!o.done&&(n=r["return"])&&n.call(r)}finally{if(i)throw i.error}}return a}function c(t,e,n){if(n||2===arguments.length)for(var o,i=0,r=e.length;i<r;i++)!o&&i in e||(o||(o=Array.prototype.slice.call(e,0,i)),o[i]=e[i]);return t.concat(o||Array.prototype.slice.call(e))}Object.create;"function"===typeof SuppressedError&&SuppressedError;var u=function(){function t(t,e){var n,o,i,r;this.code=t,this.ctrl=null!==(n=null===e||void 0===e?void 0:e.ctrl)&&void 0!==n&&n,this.alt=null!==(o=null===e||void 0===e?void 0:e.alt)&&void 0!==o&&o,this.shift=null!==(i=null===e||void 0===e?void 0:e.shift)&&void 0!==i&&i,this.meta=null!==(r=null===e||void 0===e?void 0:e.meta)&&void 0!==r&&r}return t.prototype.matches=function(t){return t.code===this.code&&t.ctrlKey===this.ctrl&&t.altKey===this.alt&&t.shiftKey===this.shift&&t.metaKey===this.meta},t}(),h=function(){function t(t){var e=t.zoomIn,n=void 0===e?[new u("KeyI")]:e,o=t.zoomOut,i=void 0===o?[new u("KeyO")]:o,r=t.moveUp,a=void 0===r?[new u("KeyW")]:r,s=t.moveLeft,l=void 0===s?[new u("KeyA")]:s,c=t.moveDown,h=void 0===c?[new u("KeyS")]:c,f=t.moveRight,d=void 0===f?[new u("KeyD")]:f,p=t.moveAmount,m=void 0===p?20:p;this.actionTypes=["zoomIn","zoomOut","moveUp","moveDown","moveLeft","moveRight"],this.zoomIn=n,this.zoomOut=i,this.moveUp=a,this.moveDown=h,this.moveLeft=l,this.moveRight=d,this.moveAmount=m}return t.prototype.makeListener=function(t,e){var n=this;return function(o){var i,r;try{for(var a=s(n[t]),l=a.next();!l.done;l=a.next()){var c=l.value;c.matches(o)&&e()}}catch(u){i={error:u}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}}},t}(),f=i(274),d=i(883);const p=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],m=(()=>{if("undefined"===typeof document)return!1;const t=p[0],e={};for(const n of p){const o=n?.[1];if(o in document){for(const[o,i]of n.entries())e[t[o]]=i;return e}}return!1})(),g={change:m.fullscreenchange,error:m.fullscreenerror};let y={request(t=document.documentElement,e){return new Promise(((n,o)=>{const i=()=>{y.off("change",i),n()};y.on("change",i);const r=t[m.requestFullscreen](e);r instanceof Promise&&r.then(i).catch(o)}))},exit(){return new Promise(((t,e)=>{if(!y.isFullscreen)return void t();const n=()=>{y.off("change",n),t()};y.on("change",n);const o=document[m.exitFullscreen]();o instanceof Promise&&o.then(n).catch(e)}))},toggle(t,e){return y.isFullscreen?y.exit():y.request(t,e)},onchange(t){y.on("change",t)},onerror(t){y.on("error",t)},on(t,e){const n=g[t];n&&document.addEventListener(n,e,!1)},off(t,e){const n=g[t];n&&document.removeEventListener(n,e,!1)},raw:m};Object.defineProperties(y,{isFullscreen:{get:()=>Boolean(document[m.fullscreenElement])},element:{enumerable:!0,get:()=>document[m.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>Boolean(document[m.fullscreenEnabled])}}),m||(y={isEnabled:!1});const v=y;var _={width:1200,height:900};const w=(0,f.defineComponent)({extends:d.WWTAwareComponent,props:{kcs:{type:h,default:new h({})}},data:function(){return{fullscreenModeActive:!1,resizeObserver:null,touchscreen:!1,windowShape:_}},created:function(){this.touchscreen="ontouchstart"in window||"ontouchstart"in document.documentElement||!!window.navigator.msPointerEnabled},mounted:function(){var t=this;v.isEnabled&&v.on("change",this.onFullscreenEvent),this.resizeObserver=new ResizeObserver((function(e){return t.onResizeEvent()})),this.resizeObserver.observe(this.$el),this.onResizeEvent(),window.addEventListener("keydown",this.kcs.makeListener("zoomIn",(function(){return t.doZoom(!0)}))),window.addEventListener("keydown",this.kcs.makeListener("zoomOut",(function(){return t.doZoom(!1)}))),window.addEventListener("keydown",this.kcs.makeListener("moveUp",(function(){return t.doMove(0,t.kcs.moveAmount)}))),window.addEventListener("keydown",this.kcs.makeListener("moveDown",(function(){return t.doMove(0,-t.kcs.moveAmount)}))),window.addEventListener("keydown",this.kcs.makeListener("moveLeft",(function(){return t.doMove(t.kcs.moveAmount,0)}))),window.addEventListener("keydown",this.kcs.makeListener("moveRight",(function(){return t.doMove(-t.kcs.moveAmount,0)})))},destroyed:function(){var t;v.isEnabled&&v.off("change",this.onFullscreenEvent),null===(t=this.resizeObserver)||void 0===t||t.unobserve(this.$el)},methods:{doZoom:function(t){t?this.zoom(1/1.3):this.zoom(1.3)},doMove:function(t,e){this.move({x:t,y:e})},onFullscreenEvent:function(){v.isEnabled&&(this.fullscreenModeActive=v.isFullscreen)},onResizeEvent:function(){var t=this.$el.clientWidth,e=this.$el.clientHeight;this.windowShape=t>0&&e>0?{width:t,height:e}:_},blurActiveElement:function(){var t=document.activeElement;t instanceof HTMLElement&&t.blur()}},computed:{fullscreenAvailable:function(){return v.isEnabled}}});var b=["id"];function x(t,e,n,o,i,r){var a=(0,f.resolveComponent)("font-awesome-icon"),s=(0,f.resolveComponent)("v-icon"),u=(0,f.resolveComponent)("v-tooltip");return(0,f.openBlock)(),(0,f.createBlock)(u,{modelValue:t.tooltip,"onUpdate:modelValue":e[4]||(e[4]=function(e){return t.tooltip=e}),location:t.tooltipLocation,"open-on-click":t.tooltipOnClick,"open-on-focus":t.tooltipOnFocus,"open-on-hover":t.tooltipOnHover,offset:t.tooltipOffset,disabled:!t.tooltipText||!t.showTooltip},{activator:(0,f.withCtx)((function(n){var o=n.props;return[(0,f.createElementVNode)("div",(0,f.mergeProps)(o,{id:t.buttonID,class:["icon-wrapper",{active:t.modelValue}],onClick:e[0]||(e[0]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.handleAction&&t.handleAction.apply(t,c([],l(e),!1))}),onKeyup:e[1]||(e[1]=(0,f.withKeys)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.handleAction&&t.handleAction.apply(t,c([],l(e),!1))}),["enter"])),onTouchstart:e[2]||(e[2]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.handleTouchStart&&t.handleTouchStart.apply(t,c([],l(e),!1))}),onTouchend:e[3]||(e[3]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.handleTouchEnd&&t.handleTouchEnd.apply(t,c([],l(e),!1))}),style:t.cssVars,tabindex:"0"}),[(0,f.renderSlot)(t.$slots,"button",{},(function(){return[t.faIcon?((0,f.openBlock)(),(0,f.createBlock)(a,{key:0,icon:t.faIcon,size:t.faSize,class:(0,f.normalizeClass)(["fa-icon",t.faIcon])},null,8,["icon","size","class"])):(0,f.createCommentVNode)("",!0),t.mdIcon?((0,f.openBlock)(),(0,f.createBlock)(s,{key:1,size:t.mdSize,class:(0,f.normalizeClass)(["md-icon",t.mdIcon])},{default:(0,f.withCtx)((function(){return[(0,f.createTextVNode)((0,f.toDisplayString)("mdi-".concat(t.mdIcon)),1)]})),_:1},8,["size","class"])):(0,f.createCommentVNode)("",!0)]}))],16,b)]})),default:(0,f.withCtx)((function(){return[(0,f.createElementVNode)("span",null,(0,f.toDisplayString)(t.tooltipText),1)]})),_:3},8,["modelValue","location","open-on-click","open-on-focus","open-on-hover","offset","disabled"])}i(75),i(273);function k(t,e){let n;function o(){n=(0,f.effectScope)(),n.run((()=>e.length?e((()=>{n?.stop(),o()})):e()))}(0,f.watch)(t,(t=>{t&&!n?o():t||(n?.stop(),n=void 0)}),{immediate:!0}),(0,f.onScopeDispose)((()=>{n?.stop()}))}function S(t,e){return{x:t.x+e.x,y:t.y+e.y}}function C(t,e){return{x:t.x-e.x,y:t.y-e.y}}function T(t,e){if("top"===t.side||"bottom"===t.side){const{side:n,align:o}=t,i="left"===o?0:"center"===o?e.width/2:"right"===o?e.width:o,r="top"===n?0:"bottom"===n?e.height:n;return S({x:i,y:r},e)}if("left"===t.side||"right"===t.side){const{side:n,align:o}=t,i="left"===n?0:"right"===n?e.width:n,r="top"===o?0:"center"===o?e.height/2:"bottom"===o?e.height:o;return S({x:i,y:r},e)}return S({x:e.width/2,y:e.height/2},e)}function P(t,e){return n=>Object.keys(t).reduce(((o,i)=>{const r="object"===typeof t[i]&&null!=t[i]&&!Array.isArray(t[i]),a=r?t[i]:{type:t[i]};return o[i]=n&&i in n?{...a,default:n[i]}:a,e&&!o[i].source&&(o[i].source=e),o}),{})}const L="undefined"!==typeof window;L&&window,L&&("ontouchstart"in window||window.navigator.maxTouchPoints),L&&window;class A{constructor(t){let{x:e,y:n,width:o,height:i}=t;this.x=e,this.y=n,this.width=o,this.height=i}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function E(t,e){return{x:{before:Math.max(0,e.left-t.left),after:Math.max(0,t.right-e.right)},y:{before:Math.max(0,e.top-t.top),after:Math.max(0,t.bottom-e.bottom)}}}function O(t){return Array.isArray(t)?new A({x:t[0],y:t[1],width:0,height:0}):t.getBoundingClientRect()}function z(t){const e=t.getBoundingClientRect(),n=getComputedStyle(t),o=n.transform;if(o){let i,r,a,s,l;if(o.startsWith("matrix3d("))i=o.slice(9,-1).split(/, /),r=+i[0],a=+i[5],s=+i[12],l=+i[13];else{if(!o.startsWith("matrix("))return new A(e);i=o.slice(7,-1).split(/, /),r=+i[0],a=+i[3],s=+i[4],l=+i[5]}const c=n.transformOrigin,u=e.x-s-(1-r)*parseFloat(c),h=e.y-l-(1-a)*parseFloat(c.slice(c.indexOf(" ")+1)),f=r?e.width/r:t.offsetWidth+1,d=a?e.height/a:t.offsetHeight+1;return new A({x:u,y:h,width:f,height:d})}return new A(e)}function M(t,e,n){if("undefined"===typeof t.animate)return{finished:Promise.resolve()};let o;try{o=t.animate(e,n)}catch(i){return{finished:Promise.resolve()}}return"undefined"===typeof o.finished&&(o.finished=new Promise((t=>{o.onfinish=()=>{t(o)}}))),o}function I(t){while(t){if("fixed"===window.getComputedStyle(t).position)return!0;t=t.offsetParent}return!1}function R(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";return null==t||""===t?void 0:isNaN(+t)?String(t):isFinite(+t)?`${Number(t)}${e}`:void 0}function B(t){return null!==t&&"object"===typeof t&&!Array.isArray(t)}function N(t){if(t&&"$el"in t){const e=t.$el;return e?.nodeType===Node.TEXT_NODE?e.nextElementSibling:e}return t}Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function D(t,e){return e.every((e=>t.hasOwnProperty(e)))}function F(t,e){const n={},o=new Set(Object.keys(t));for(const i of e)o.has(i)&&(n[i]=t[i]);return n}function j(t,e){const n={...t};return e.forEach((t=>delete n[t])),n}const W=/^on[^a-z]/,Z=t=>W.test(t);function V(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.max(e,Math.min(n,t))}function H(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0";return t+n.repeat(Math.max(0,e-t.length))}function $(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=[];let o=0;while(o<t.length)n.push(t.substr(o,e)),o+=e;return n}function U(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const o={};for(const i in t)o[i]=t[i];for(const i in e){const r=t[i],a=e[i];B(r)&&B(a)?o[i]=U(r,a,n):Array.isArray(r)&&Array.isArray(a)&&n?o[i]=n(r,a):o[i]=a}return o}function G(t){return t.map((t=>t.type===f.Fragment?G(t.children):t)).flat()}function q(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(q.cache.has(t))return q.cache.get(t);const e=t.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return q.cache.set(t,e),e}q.cache=new Map;function Y(t){const e=(0,f.reactive)({}),n=(0,f.computed)(t);return(0,f.watchEffect)((()=>{for(const t in n.value)e[t]=n.value[t]}),{flush:"sync"}),(0,f.toRefs)(e)}function K(t,e){return t.includes(e)}function J(t){return t[2].toLowerCase()+t.slice(3)}function X(t,e){const n=L&&"undefined"!==typeof CSS&&"undefined"!==typeof CSS.supports&&CSS.supports(`selector(${e})`);if(!n)return null;try{return!!t&&t.matches(e)}catch(o){return null}}function Q(t,e){if(!L||0===t)return e(),()=>{};const n=window.setTimeout(e,t);return()=>window.clearTimeout(n)}const tt=["top","bottom"],et=["start","end","left","right"];function nt(t,e){let[n,o]=t.split(" ");return o||(o=K(tt,n)?"start":K(et,n)?"top":"center"),{side:ot(n,e),align:ot(o,e)}}function ot(t,e){return"start"===t?e?"right":"left":"end"===t?e?"left":"right":t}function it(t){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.side],align:t.align}}function rt(t){return{side:t.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.align]}}function at(t){return{side:t.align,align:t.side}}function st(t){return K(tt,t.side)?"y":"x"}function lt(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];while(t){if(e?ht(t):ut(t))return t;t=t.parentElement}return document.scrollingElement}function ct(t,e){const n=[];if(e&&t&&!e.contains(t))return n;while(t){if(ut(t)&&n.push(t),t===e)break;t=t.parentElement}return n}function ut(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return"scroll"===e.overflowY||"auto"===e.overflowY&&t.scrollHeight>t.clientHeight}function ht(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return["scroll","auto"].includes(e.overflowY)}function ft(t){(0,f.warn)(`Vuetify: ${t}`)}function dt(t){(0,f.warn)(`Vuetify error: ${t}`)}const pt={static:yt,connected:_t},mt=P({locationStrategy:{type:[String,Function],default:"static",validator:t=>"function"===typeof t||t in pt},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function gt(t,e){const n=(0,f.ref)({}),o=(0,f.ref)();function i(t){o.value?.(t)}return L&&k((()=>!(!e.isActive.value||!t.locationStrategy)),(r=>{(0,f.watch)((()=>t.locationStrategy),r),(0,f.onScopeDispose)((()=>{window.removeEventListener("resize",i),o.value=void 0})),window.addEventListener("resize",i,{passive:!0}),"function"===typeof t.locationStrategy?o.value=t.locationStrategy(e,t,n)?.updateLocation:o.value=pt[t.locationStrategy](e,t,n)?.updateLocation})),{contentStyles:n,updateLocation:o}}function yt(){}function vt(t,e){e?t.style.removeProperty("left"):t.style.removeProperty("right");const n=z(t);return e?n.x+=parseFloat(t.style.right||0):n.x-=parseFloat(t.style.left||0),n.y-=parseFloat(t.style.top||0),n}function _t(t,e,n){const o=Array.isArray(t.target.value)||I(t.target.value);o&&Object.assign(n.value,{position:"fixed",top:0,[t.isRtl.value?"right":"left"]:0});const{preferredAnchor:i,preferredOrigin:r}=Y((()=>{const n=nt(e.location,t.isRtl.value),o="overlap"===e.origin?n:"auto"===e.origin?it(n):nt(e.origin,t.isRtl.value);return n.side===o.side&&n.align===rt(o).align?{preferredAnchor:at(n),preferredOrigin:at(o)}:{preferredAnchor:n,preferredOrigin:o}})),[a,s,l,c]=["minWidth","minHeight","maxWidth","maxHeight"].map((t=>(0,f.computed)((()=>{const n=parseFloat(e[t]);return isNaN(n)?1/0:n})))),u=(0,f.computed)((()=>{if(Array.isArray(e.offset))return e.offset;if("string"===typeof e.offset){const t=e.offset.split(" ").map(parseFloat);return t.length<2&&t.push(0),t}return"number"===typeof e.offset?[e.offset,0]:[0,0]}));let h=!1;const d=new ResizeObserver((()=>{h&&p()}));function p(){if(h=!1,requestAnimationFrame((()=>h=!0)),!t.target.value||!t.contentEl.value)return;const e=O(t.target.value),o=vt(t.contentEl.value,t.isRtl.value),f=ct(t.contentEl.value),d=12;f.length||(f.push(document.documentElement),t.contentEl.value.style.top&&t.contentEl.value.style.left||(o.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),o.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const p=f.reduce(((t,e)=>{const n=e.getBoundingClientRect(),o=new A({x:e===document.documentElement?0:n.x,y:e===document.documentElement?0:n.y,width:e.clientWidth,height:e.clientHeight});return t?new A({x:Math.max(t.left,o.left),y:Math.max(t.top,o.top),width:Math.min(t.right,o.right)-Math.max(t.left,o.left),height:Math.min(t.bottom,o.bottom)-Math.max(t.top,o.top)}):o}),void 0);p.x+=d,p.y+=d,p.width-=2*d,p.height-=2*d;let m={anchor:i.value,origin:r.value};function g(t){const n=new A(o),i=T(t.anchor,e),r=T(t.origin,n);let{x:a,y:s}=C(i,r);switch(t.anchor.side){case"top":s-=u.value[0];break;case"bottom":s+=u.value[0];break;case"left":a-=u.value[0];break;case"right":a+=u.value[0];break}switch(t.anchor.align){case"top":s-=u.value[1];break;case"bottom":s+=u.value[1];break;case"left":a-=u.value[1];break;case"right":a+=u.value[1];break}n.x+=a,n.y+=s,n.width=Math.min(n.width,l.value),n.height=Math.min(n.height,c.value);const h=E(n,p);return{overflows:h,x:a,y:s}}let y=0,v=0;const _={x:0,y:0},w={x:!1,y:!1};let b=-1;while(1){if(b++>10){dt("Infinite loop detected in connectedLocationStrategy");break}const{x:t,y:e,overflows:n}=g(m);y+=t,v+=e,o.x+=t,o.y+=e;{const t=st(m.anchor),e=n.x.before||n.x.after,o=n.y.before||n.y.after;let i=!1;if(["x","y"].forEach((r=>{if("x"===r&&e&&!w.x||"y"===r&&o&&!w.y){const e={anchor:{...m.anchor},origin:{...m.origin}},o="x"===r?"y"===t?rt:it:"y"===t?it:rt;e.anchor=o(e.anchor),e.origin=o(e.origin);const{overflows:a}=g(e);(a[r].before<=n[r].before&&a[r].after<=n[r].after||a[r].before+a[r].after<(n[r].before+n[r].after)/2)&&(m=e,i=w[r]=!0)}})),i)continue}n.x.before&&(y+=n.x.before,o.x+=n.x.before),n.x.after&&(y-=n.x.after,o.x-=n.x.after),n.y.before&&(v+=n.y.before,o.y+=n.y.before),n.y.after&&(v-=n.y.after,o.y-=n.y.after);{const t=E(o,p);_.x=p.width-t.x.before-t.x.after,_.y=p.height-t.y.before-t.y.after,y+=t.x.before,o.x+=t.x.before,v+=t.y.before,o.y+=t.y.before}break}const x=st(m.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${m.anchor.side} ${m.anchor.align}`,transformOrigin:`${m.origin.side} ${m.origin.align}`,top:R(wt(v)),left:t.isRtl.value?void 0:R(wt(y)),right:t.isRtl.value?R(wt(-y)):void 0,minWidth:R("y"===x?Math.min(a.value,e.width):a.value),maxWidth:R(bt(V(_.x,a.value===1/0?0:a.value,l.value))),maxHeight:R(bt(V(_.y,s.value===1/0?0:s.value,c.value)))}),{available:_,contentBox:o}}return(0,f.watch)([t.target,t.contentEl],((t,e)=>{let[n,o]=t,[i,r]=e;i&&!Array.isArray(i)&&d.unobserve(i),n&&!Array.isArray(n)&&d.observe(n),r&&d.unobserve(r),o&&d.observe(o)}),{immediate:!0}),(0,f.onScopeDispose)((()=>{d.disconnect()})),(0,f.watch)((()=>[i.value,r.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight]),(()=>p())),(0,f.nextTick)((()=>{const t=p();if(!t)return;const{available:e,contentBox:n}=t;n.height>e.y&&requestAnimationFrame((()=>{p(),requestAnimationFrame((()=>{p()}))}))})),{updateLocation:p}}function wt(t){return Math.round(t*devicePixelRatio)/devicePixelRatio}function bt(t){return Math.ceil(t*devicePixelRatio)/devicePixelRatio}let xt=!0;const kt=[];function St(t){!xt||kt.length?(kt.push(t),Tt()):(xt=!1,t(),Tt())}let Ct=-1;function Tt(){cancelAnimationFrame(Ct),Ct=requestAnimationFrame((()=>{const t=kt.shift();t&&t(),kt.length?Tt():xt=!0}))}const Pt={none:null,close:Et,block:Ot,reposition:zt},Lt=P({scrollStrategy:{type:[String,Function],default:"block",validator:t=>"function"===typeof t||t in Pt}},"VOverlay-scroll-strategies");function At(t,e){if(!L)return;let n;(0,f.watchEffect)((async()=>{n?.stop(),e.isActive.value&&t.scrollStrategy&&(n=(0,f.effectScope)(),await(0,f.nextTick)(),n.active&&n.run((()=>{"function"===typeof t.scrollStrategy?t.scrollStrategy(e,t,n):Pt[t.scrollStrategy]?.(e,t,n)})))})),(0,f.onScopeDispose)((()=>{n?.stop()}))}function Et(t){function e(e){t.isActive.value=!1}Mt(t.targetEl.value??t.contentEl.value,e)}function Ot(t,e){const n=t.root.value?.offsetParent,o=[...new Set([...ct(t.targetEl.value,e.contained?n:void 0),...ct(t.contentEl.value,e.contained?n:void 0)])].filter((t=>!t.classList.contains("v-overlay-scroll-blocked"))),i=window.innerWidth-document.documentElement.offsetWidth,r=(t=>ut(t)&&t)(n||document.documentElement);r&&t.root.value.classList.add("v-overlay--scroll-blocked"),o.forEach(((t,e)=>{t.style.setProperty("--v-body-scroll-x",R(-t.scrollLeft)),t.style.setProperty("--v-body-scroll-y",R(-t.scrollTop)),t!==document.documentElement&&t.style.setProperty("--v-scrollbar-offset",R(i)),t.classList.add("v-overlay-scroll-blocked")})),(0,f.onScopeDispose)((()=>{o.forEach(((t,e)=>{const n=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),o=parseFloat(t.style.getPropertyValue("--v-body-scroll-y")),i=t.style.scrollBehavior;t.style.scrollBehavior="auto",t.style.removeProperty("--v-body-scroll-x"),t.style.removeProperty("--v-body-scroll-y"),t.style.removeProperty("--v-scrollbar-offset"),t.classList.remove("v-overlay-scroll-blocked"),t.scrollLeft=-n,t.scrollTop=-o,t.style.scrollBehavior=i})),r&&t.root.value.classList.remove("v-overlay--scroll-blocked")}))}function zt(t,e,n){let o=!1,i=-1,r=-1;function a(e){St((()=>{const n=performance.now();t.updateLocation.value?.(e);const i=performance.now()-n;o=i/(1e3/60)>2}))}r=("undefined"===typeof requestIdleCallback?t=>t():requestIdleCallback)((()=>{n.run((()=>{Mt(t.targetEl.value??t.contentEl.value,(t=>{o?(cancelAnimationFrame(i),i=requestAnimationFrame((()=>{i=requestAnimationFrame((()=>{a(t)}))}))):a(t)}))}))})),(0,f.onScopeDispose)((()=>{"undefined"!==typeof cancelIdleCallback&&cancelIdleCallback(r),cancelAnimationFrame(i)}))}function Mt(t,e){const n=[document,...ct(t)];n.forEach((t=>{t.addEventListener("scroll",e,{passive:!0})})),(0,f.onScopeDispose)((()=>{n.forEach((t=>{t.removeEventListener("scroll",e)}))}))}const It=Symbol.for("vuetify:v-menu"),Rt=P({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function Bt(t,e){let n=()=>{};function o(o){n?.();const i=Number(o?t.openDelay:t.closeDelay);return new Promise((t=>{n=Q(i,(()=>{e?.(o),t(o)}))}))}function i(){return o(!0)}function r(){return o(!1)}return{clearDelay:n,runOpenDelay:i,runCloseDelay:r}}function Nt(t,e){const n=(0,f.getCurrentInstance)();if(!n)throw new Error(`[Vuetify] ${t} ${e||"must be called from inside a setup function"}`);return n}function Dt(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"composables";const e=Nt(t).type;return q(e?.aliasName||e?.name)}let Ft=0,jt=new WeakMap;function Wt(){const t=Nt("getUid");if(jt.has(t))return jt.get(t);{const e=Ft++;return jt.set(t,e),e}}Wt.reset=()=>{Ft=0,jt=new WeakMap};const Zt=new WeakMap;function Vt(t,e){Object.keys(e).forEach((n=>{if(Z(n)){const o=J(n),i=Zt.get(t);if(null==e[n])i?.forEach((e=>{const[n,r]=e;n===o&&(t.removeEventListener(o,r),i.delete(e))}));else if(!i||![...i]?.some((t=>t[0]===o&&t[1]===e[n]))){t.addEventListener(o,e[n]);const r=i||new Set;r.add([o,e[n]]),Zt.has(t)||Zt.set(t,r)}}else null==e[n]?t.removeAttribute(n):t.setAttribute(n,e[n])}))}function Ht(t,e){Object.keys(e).forEach((e=>{if(Z(e)){const n=J(e),o=Zt.get(t);o?.forEach((e=>{const[i,r]=e;i===n&&(t.removeEventListener(n,r),o.delete(e))}))}else t.removeAttribute(e)}))}const $t=P({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Rt()},"VOverlay-activator");function Ut(t,e){let{isActive:n,isTop:o}=e;const i=Nt("useActivator"),r=(0,f.ref)();let a=!1,s=!1,l=!0;const c=(0,f.computed)((()=>t.openOnFocus||null==t.openOnFocus&&t.openOnHover)),u=(0,f.computed)((()=>t.openOnClick||null==t.openOnClick&&!t.openOnHover&&!c.value)),{runOpenDelay:h,runCloseDelay:d}=Bt(t,(e=>{e!==(t.openOnHover&&a||c.value&&s)||t.openOnHover&&n.value&&!o.value||(n.value!==e&&(l=!0),n.value=e)})),p=(0,f.ref)(),m={onClick:t=>{t.stopPropagation(),r.value=t.currentTarget||t.target,n.value||(p.value=[t.clientX,t.clientY]),n.value=!n.value},onMouseenter:t=>{t.sourceCapabilities?.firesTouchEvents||(a=!0,r.value=t.currentTarget||t.target,h())},onMouseleave:t=>{a=!1,d()},onFocus:t=>{!1!==X(t.target,":focus-visible")&&(s=!0,t.stopPropagation(),r.value=t.currentTarget||t.target,h())},onBlur:t=>{s=!1,t.stopPropagation(),d()}},g=(0,f.computed)((()=>{const e={};return u.value&&(e.onClick=m.onClick),t.openOnHover&&(e.onMouseenter=m.onMouseenter,e.onMouseleave=m.onMouseleave),c.value&&(e.onFocus=m.onFocus,e.onBlur=m.onBlur),e})),y=(0,f.computed)((()=>{const e={};if(t.openOnHover&&(e.onMouseenter=()=>{a=!0,h()},e.onMouseleave=()=>{a=!1,d()}),c.value&&(e.onFocusin=()=>{s=!0,h()},e.onFocusout=()=>{s=!1,d()}),t.closeOnContentClick){const t=(0,f.inject)(It,null);e.onClick=()=>{n.value=!1,t?.closeParents()}}return e})),v=(0,f.computed)((()=>{const e={};return t.openOnHover&&(e.onMouseenter=()=>{l&&(a=!0,l=!1,h())},e.onMouseleave=()=>{a=!1,d()}),e}));(0,f.watch)(o,(e=>{!e||(!t.openOnHover||a||c.value&&s)&&(!c.value||s||t.openOnHover&&a)||(n.value=!1)})),(0,f.watch)(n,(t=>{t||setTimeout((()=>{p.value=void 0}))}),{flush:"post"});const _=(0,f.ref)();(0,f.watchEffect)((()=>{_.value&&(0,f.nextTick)((()=>{r.value=N(_.value)}))}));const w=(0,f.ref)(),b=(0,f.computed)((()=>"cursor"===t.target&&p.value?p.value:w.value?N(w.value):qt(t.target,i)||r.value)),x=(0,f.computed)((()=>Array.isArray(b.value)?void 0:b.value));let k;return(0,f.watch)((()=>!!t.activator),(e=>{e&&L?(k=(0,f.effectScope)(),k.run((()=>{Gt(t,i,{activatorEl:r,activatorEvents:g})}))):k&&k.stop()}),{flush:"post",immediate:!0}),(0,f.onScopeDispose)((()=>{k?.stop()})),{activatorEl:r,activatorRef:_,target:b,targetEl:x,targetRef:w,activatorEvents:g,contentEvents:y,scrimEvents:v}}function Gt(t,e,n){let{activatorEl:o,activatorEvents:i}=n;function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s(),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.activatorProps;e&&Vt(e,(0,f.mergeProps)(i.value,n))}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s(),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.activatorProps;e&&Ht(e,(0,f.mergeProps)(i.value,n))}function s(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.activator;const i=qt(n,e);return o.value=i?.nodeType===Node.ELEMENT_NODE?i:void 0,o.value}(0,f.watch)((()=>t.activator),((t,e)=>{if(e&&t!==e){const t=s(e);t&&a(t)}t&&(0,f.nextTick)((()=>r()))}),{immediate:!0}),(0,f.watch)((()=>t.activatorProps),(()=>{r()})),(0,f.onScopeDispose)((()=>{a()}))}function qt(t,e){if(!t)return;let n;if("parent"===t){let t=e?.proxy?.$el?.parentNode;while(t?.hasAttribute("data-no-activator"))t=t.parentNode;n=t}else n="string"===typeof t?document.querySelector(t):"$el"in t?t.$el:t;return n}
|
|
6
|
+
(function(t,n){n(e)})(0,(function(t){"use strict";var e="1.9.4";function n(t){var e,n,o,i;for(n=1,o=arguments.length;n<o;n++)for(e in i=arguments[n],i)t[e]=i[e];return t}var o=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function i(t,e){var n=Array.prototype.slice;if(t.bind)return t.bind.apply(t,n.call(arguments,1));var o=n.call(arguments,2);return function(){return t.apply(e,o.length?o.concat(n.call(arguments)):arguments)}}var r=0;function a(t){return"_leaflet_id"in t||(t["_leaflet_id"]=++r),t._leaflet_id}function s(t,e,n){var o,i,r,a;return a=function(){o=!1,i&&(r.apply(n,i),i=!1)},r=function(){o?i=arguments:(t.apply(n,arguments),setTimeout(a,e),o=!0)},r}function l(t,e,n){var o=e[1],i=e[0],r=o-i;return t===o&&n?t:((t-i)%r+r)%r+i}function c(){return!1}function u(t,e){if(!1===e)return t;var n=Math.pow(10,void 0===e?6:e);return Math.round(t*n)/n}function h(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function d(t){return h(t).split(/\s+/)}function f(t,e){for(var n in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?o(t.options):{}),e)t.options[n]=e[n];return t.options}function p(t,e,n){var o=[];for(var i in t)o.push(encodeURIComponent(n?i.toUpperCase():i)+"="+encodeURIComponent(t[i]));return(e&&-1!==e.indexOf("?")?"&":"?")+o.join("&")}var m=/\{ *([\w_ -]+) *\}/g;function g(t,e){return t.replace(m,(function(t,n){var o=e[n];if(void 0===o)throw new Error("No value provided for variable "+t);return"function"===typeof o&&(o=o(e)),o}))}var y=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function v(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return n;return-1}var _="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function w(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var b=0;function x(t){var e=+new Date,n=Math.max(0,16-(e-b));return b=e+n,window.setTimeout(t,n)}var k=window.requestAnimationFrame||w("RequestAnimationFrame")||x,S=window.cancelAnimationFrame||w("CancelAnimationFrame")||w("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function C(t,e,n){if(!n||k!==x)return k.call(window,i(t,e));t.call(e)}function T(t){t&&S.call(window,t)}var P={__proto__:null,extend:n,create:o,bind:i,get lastId(){return r},stamp:a,throttle:s,wrapNum:l,falseFn:c,formatNum:u,trim:h,splitWords:d,setOptions:f,getParamString:p,template:g,isArray:y,indexOf:v,emptyImageUrl:_,requestFn:k,cancelFn:S,requestAnimFrame:C,cancelAnimFrame:T};function A(){}function E(t){if("undefined"!==typeof L&&L&&L.Mixin){t=y(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}A.extend=function(t){var e=function(){f(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},i=e.__super__=this.prototype,r=o(i);for(var a in r.constructor=e,e.prototype=r,this)Object.prototype.hasOwnProperty.call(this,a)&&"prototype"!==a&&"__super__"!==a&&(e[a]=this[a]);return t.statics&&n(e,t.statics),t.includes&&(E(t.includes),n.apply(null,[r].concat(t.includes))),n(r,t),delete r.statics,delete r.includes,r.options&&(r.options=i.options?o(i.options):{},n(r.options,t.options)),r._initHooks=[],r.callInitHooks=function(){if(!this._initHooksCalled){i.callInitHooks&&i.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=r._initHooks.length;t<e;t++)r._initHooks[t].call(this)}},e},A.include=function(t){var e=this.prototype.options;return n(this.prototype,t),t.options&&(this.prototype.options=e,this.mergeOptions(t.options)),this},A.mergeOptions=function(t){return n(this.prototype.options,t),this},A.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),n="function"===typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};var z={on:function(t,e,n){if("object"===typeof t)for(var o in t)this._on(o,t[o],e);else{t=d(t);for(var i=0,r=t.length;i<r;i++)this._on(t[i],e,n)}return this},off:function(t,e,n){if(arguments.length)if("object"===typeof t)for(var o in t)this._off(o,t[o],e);else{t=d(t);for(var i=1===arguments.length,r=0,a=t.length;r<a;r++)i?this._off(t[r]):this._off(t[r],e,n)}else delete this._events;return this},_on:function(t,e,n,o){if("function"===typeof e){if(!1===this._listens(t,e,n)){n===this&&(n=void 0);var i={fn:e,ctx:n};o&&(i.once=!0),this._events=this._events||{},this._events[t]=this._events[t]||[],this._events[t].push(i)}}else console.warn("wrong listener type: "+typeof e)},_off:function(t,e,n){var o,i,r;if(this._events&&(o=this._events[t],o))if(1!==arguments.length)if("function"===typeof e){var a=this._listens(t,e,n);if(!1!==a){var s=o[a];this._firingCount&&(s.fn=c,this._events[t]=o=o.slice()),o.splice(a,1)}}else console.warn("wrong listener type: "+typeof e);else{if(this._firingCount)for(i=0,r=o.length;i<r;i++)o[i].fn=c;delete this._events[t]}},fire:function(t,e,o){if(!this.listens(t,o))return this;var i=n({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var r=this._events[t];if(r){this._firingCount=this._firingCount+1||1;for(var a=0,s=r.length;a<s;a++){var l=r[a],c=l.fn;l.once&&this.off(t,c,l.ctx),c.call(l.ctx||this,i)}this._firingCount--}}return o&&this._propagateEvent(i),this},listens:function(t,e,n,o){"string"!==typeof t&&console.warn('"string" type argument expected');var i=e;"function"!==typeof e&&(o=!!e,i=void 0,n=void 0);var r=this._events&&this._events[t];if(r&&r.length&&!1!==this._listens(t,i,n))return!0;if(o)for(var a in this._eventParents)if(this._eventParents[a].listens(t,e,n,o))return!0;return!1},_listens:function(t,e,n){if(!this._events)return!1;var o=this._events[t]||[];if(!e)return!!o.length;n===this&&(n=void 0);for(var i=0,r=o.length;i<r;i++)if(o[i].fn===e&&o[i].ctx===n)return i;return!1},once:function(t,e,n){if("object"===typeof t)for(var o in t)this._on(o,t[o],e,!0);else{t=d(t);for(var i=0,r=t.length;i<r;i++)this._on(t[i],e,n,!0)}return this},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[a(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[a(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,n({layer:t.target,propagatedFrom:t.target},t),!0)}};z.addEventListener=z.on,z.removeEventListener=z.clearAllEventListeners=z.off,z.addOneTimeEventListener=z.once,z.fireEvent=z.fire,z.hasEventListeners=z.listens;var M=A.extend(z);function O(t,e,n){this.x=n?Math.round(t):t,this.y=n?Math.round(e):e}var I=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};function R(t,e,n){return t instanceof O?t:y(t)?new O(t[0],t[1]):void 0===t||null===t?t:"object"===typeof t&&"x"in t&&"y"in t?new O(t.x,t.y):new O(t,e,n)}function B(t,e){if(t)for(var n=e?[t,e]:t,o=0,i=n.length;o<i;o++)this.extend(n[o])}function N(t,e){return!t||t instanceof B?t:new B(t,e)}function D(t,e){if(t)for(var n=e?[t,e]:t,o=0,i=n.length;o<i;o++)this.extend(n[o])}function F(t,e){return t instanceof D?t:new D(t,e)}function j(t,e,n){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==n&&(this.alt=+n)}function W(t,e,n){return t instanceof j?t:y(t)&&"object"!==typeof t[0]?3===t.length?new j(t[0],t[1],t[2]):2===t.length?new j(t[0],t[1]):null:void 0===t||null===t?t:"object"===typeof t&&"lat"in t?new j(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new j(t,e,n)}O.prototype={clone:function(){return new O(this.x,this.y)},add:function(t){return this.clone()._add(R(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(R(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new O(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new O(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=I(this.x),this.y=I(this.y),this},distanceTo:function(t){t=R(t);var e=t.x-this.x,n=t.y-this.y;return Math.sqrt(e*e+n*n)},equals:function(t){return t=R(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=R(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+u(this.x)+", "+u(this.y)+")"}},B.prototype={extend:function(t){var e,n;if(!t)return this;if(t instanceof O||"number"===typeof t[0]||"x"in t)e=n=R(t);else if(t=N(t),e=t.min,n=t.max,!e||!n)return this;return this.min||this.max?(this.min.x=Math.min(e.x,this.min.x),this.max.x=Math.max(n.x,this.max.x),this.min.y=Math.min(e.y,this.min.y),this.max.y=Math.max(n.y,this.max.y)):(this.min=e.clone(),this.max=n.clone()),this},getCenter:function(t){return R((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return R(this.min.x,this.max.y)},getTopRight:function(){return R(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,n;return t="number"===typeof t[0]||t instanceof O?R(t):N(t),t instanceof B?(e=t.min,n=t.max):e=n=t,e.x>=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=N(t);var e=this.min,n=this.max,o=t.min,i=t.max,r=i.x>=e.x&&o.x<=n.x,a=i.y>=e.y&&o.y<=n.y;return r&&a},overlaps:function(t){t=N(t);var e=this.min,n=this.max,o=t.min,i=t.max,r=i.x>e.x&&o.x<n.x,a=i.y>e.y&&o.y<n.y;return r&&a},isValid:function(){return!(!this.min||!this.max)},pad:function(t){var e=this.min,n=this.max,o=Math.abs(e.x-n.x)*t,i=Math.abs(e.y-n.y)*t;return N(R(e.x-o,e.y-i),R(n.x+o,n.y+i))},equals:function(t){return!!t&&(t=N(t),this.min.equals(t.getTopLeft())&&this.max.equals(t.getBottomRight()))}},D.prototype={extend:function(t){var e,n,o=this._southWest,i=this._northEast;if(t instanceof j)e=t,n=t;else{if(!(t instanceof D))return t?this.extend(W(t)||F(t)):this;if(e=t._southWest,n=t._northEast,!e||!n)return this}return o||i?(o.lat=Math.min(e.lat,o.lat),o.lng=Math.min(e.lng,o.lng),i.lat=Math.max(n.lat,i.lat),i.lng=Math.max(n.lng,i.lng)):(this._southWest=new j(e.lat,e.lng),this._northEast=new j(n.lat,n.lng)),this},pad:function(t){var e=this._southWest,n=this._northEast,o=Math.abs(e.lat-n.lat)*t,i=Math.abs(e.lng-n.lng)*t;return new D(new j(e.lat-o,e.lng-i),new j(n.lat+o,n.lng+i))},getCenter:function(){return new j((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new j(this.getNorth(),this.getWest())},getSouthEast:function(){return new j(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"===typeof t[0]||t instanceof j||"lat"in t?W(t):F(t);var e,n,o=this._southWest,i=this._northEast;return t instanceof D?(e=t.getSouthWest(),n=t.getNorthEast()):e=n=t,e.lat>=o.lat&&n.lat<=i.lat&&e.lng>=o.lng&&n.lng<=i.lng},intersects:function(t){t=F(t);var e=this._southWest,n=this._northEast,o=t.getSouthWest(),i=t.getNorthEast(),r=i.lat>=e.lat&&o.lat<=n.lat,a=i.lng>=e.lng&&o.lng<=n.lng;return r&&a},overlaps:function(t){t=F(t);var e=this._southWest,n=this._northEast,o=t.getSouthWest(),i=t.getNorthEast(),r=i.lat>e.lat&&o.lat<n.lat,a=i.lng>e.lng&&o.lng<n.lng;return r&&a},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=F(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}},j.prototype={equals:function(t,e){if(!t)return!1;t=W(t);var n=Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng));return n<=(void 0===e?1e-9:e)},toString:function(t){return"LatLng("+u(this.lat,t)+", "+u(this.lng,t)+")"},distanceTo:function(t){return V.distance(this,W(t))},wrap:function(){return V.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,n=e/Math.cos(Math.PI/180*this.lat);return F([this.lat-e,this.lng-n],[this.lat+e,this.lng+n])},clone:function(){return new j(this.lat,this.lng,this.alt)}};var Z={latLngToPoint:function(t,e){var n=this.projection.project(t),o=this.scale(e);return this.transformation._transform(n,o)},pointToLatLng:function(t,e){var n=this.scale(e),o=this.transformation.untransform(t,n);return this.projection.unproject(o)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var e=this.projection.bounds,n=this.scale(t),o=this.transformation.transform(e.min,n),i=this.transformation.transform(e.max,n);return new B(o,i)},infinite:!1,wrapLatLng:function(t){var e=this.wrapLng?l(t.lng,this.wrapLng,!0):t.lng,n=this.wrapLat?l(t.lat,this.wrapLat,!0):t.lat,o=t.alt;return new j(n,e,o)},wrapLatLngBounds:function(t){var e=t.getCenter(),n=this.wrapLatLng(e),o=e.lat-n.lat,i=e.lng-n.lng;if(0===o&&0===i)return t;var r=t.getSouthWest(),a=t.getNorthEast(),s=new j(r.lat-o,r.lng-i),l=new j(a.lat-o,a.lng-i);return new D(s,l)}},V=n({},Z,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var n=Math.PI/180,o=t.lat*n,i=e.lat*n,r=Math.sin((e.lat-t.lat)*n/2),a=Math.sin((e.lng-t.lng)*n/2),s=r*r+Math.cos(o)*Math.cos(i)*a*a,l=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s));return this.R*l}}),H=6378137,$={R:H,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,n=this.MAX_LATITUDE,o=Math.max(Math.min(n,t.lat),-n),i=Math.sin(o*e);return new O(this.R*t.lng*e,this.R*Math.log((1+i)/(1-i))/2)},unproject:function(t){var e=180/Math.PI;return new j((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:function(){var t=H*Math.PI;return new B([-t,-t],[t,t])}()};function U(t,e,n,o){if(y(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=e,this._c=n,this._d=o}function G(t,e,n,o){return new U(t,e,n,o)}U.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new O((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}};var q=n({},V,{code:"EPSG:3857",projection:$,transformation:function(){var t=.5/(Math.PI*$.R);return G(t,.5,-t,.5)}()}),Y=n({},q,{code:"EPSG:900913"});function K(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function J(t,e){var n,o,i,r,a,s,l="";for(n=0,i=t.length;n<i;n++){for(a=t[n],o=0,r=a.length;o<r;o++)s=a[o],l+=(o?"L":"M")+s.x+" "+s.y;l+=e?Bt.svg?"z":"x":""}return l||"M0 0"}var X=document.documentElement.style,Q="ActiveXObject"in window,tt=Q&&!document.addEventListener,et="msLaunchUri"in navigator&&!("documentMode"in document),nt=Rt("webkit"),ot=Rt("android"),it=Rt("android 2")||Rt("android 3"),rt=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),at=ot&&Rt("Google")&&rt<537&&!("AudioNode"in window),st=!!window.opera,lt=!et&&Rt("chrome"),ct=Rt("gecko")&&!nt&&!st&&!Q,ut=!lt&&Rt("safari"),ht=Rt("phantom"),dt="OTransition"in X,ft=0===navigator.platform.indexOf("Win"),pt=Q&&"transition"in X,mt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!it,gt="MozPerspective"in X,yt=!window.L_DISABLE_3D&&(pt||mt||gt)&&!dt&&!ht,vt="undefined"!==typeof orientation||Rt("mobile"),_t=vt&&nt,wt=vt&&mt,bt=!window.PointerEvent&&window.MSPointerEvent,xt=!(!window.PointerEvent&&!bt),kt="ontouchstart"in window||!!window.TouchEvent,St=!window.L_NO_TOUCH&&(kt||xt),Ct=vt&&st,Tt=vt&&ct,Pt=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Lt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",c,e),window.removeEventListener("testPassiveEventSupport",c,e)}catch(n){}return t}(),At=function(){return!!document.createElement("canvas").getContext}(),Et=!(!document.createElementNS||!K("svg").createSVGRect),zt=!!Et&&function(){var t=document.createElement("div");return t.innerHTML="<svg/>","http://www.w3.org/2000/svg"===(t.firstChild&&t.firstChild.namespaceURI)}(),Mt=!Et&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"===typeof e.adj}catch(n){return!1}}(),Ot=0===navigator.platform.indexOf("Mac"),It=0===navigator.platform.indexOf("Linux");function Rt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Bt={ie:Q,ielt9:tt,edge:et,webkit:nt,android:ot,android23:it,androidStock:at,opera:st,chrome:lt,gecko:ct,safari:ut,phantom:ht,opera12:dt,win:ft,ie3d:pt,webkit3d:mt,gecko3d:gt,any3d:yt,mobile:vt,mobileWebkit:_t,mobileWebkit3d:wt,msPointer:bt,pointer:xt,touch:St,touchNative:kt,mobileOpera:Ct,mobileGecko:Tt,retina:Pt,passiveEvents:Lt,canvas:At,svg:Et,vml:Mt,inlineSvg:zt,mac:Ot,linux:It},Nt=Bt.msPointer?"MSPointerDown":"pointerdown",Dt=Bt.msPointer?"MSPointerMove":"pointermove",Ft=Bt.msPointer?"MSPointerUp":"pointerup",jt=Bt.msPointer?"MSPointerCancel":"pointercancel",Wt={touchstart:Nt,touchmove:Dt,touchend:Ft,touchcancel:jt},Zt={touchstart:Xt,touchmove:Jt,touchend:Jt,touchcancel:Jt},Vt={},Ht=!1;function $t(t,e,n){return"touchstart"===e&&Kt(),Zt[e]?(n=Zt[e].bind(this,n),t.addEventListener(Wt[e],n,!1),n):(console.warn("wrong event specified:",e),c)}function Ut(t,e,n){Wt[e]?t.removeEventListener(Wt[e],n,!1):console.warn("wrong event specified:",e)}function Gt(t){Vt[t.pointerId]=t}function qt(t){Vt[t.pointerId]&&(Vt[t.pointerId]=t)}function Yt(t){delete Vt[t.pointerId]}function Kt(){Ht||(document.addEventListener(Nt,Gt,!0),document.addEventListener(Dt,qt,!0),document.addEventListener(Ft,Yt,!0),document.addEventListener(jt,Yt,!0),Ht=!0)}function Jt(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var n in e.touches=[],Vt)e.touches.push(Vt[n]);e.changedTouches=[e],t(e)}}function Xt(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&Ge(e),Jt(t,e)}function Qt(t){var e,n,o={};for(n in t)e=t[n],o[n]=e&&e.bind?e.bind(t):e;return t=o,o.type="dblclick",o.detail=2,o.isTrusted=!1,o._simulated=!0,o}var te=200;function ee(t,e){t.addEventListener("dblclick",e);var n,o=0;function i(t){if(1===t.detail){if("mouse"!==t.pointerType&&(!t.sourceCapabilities||t.sourceCapabilities.firesTouchEvents)){var i=Ye(t);if(!i.some((function(t){return t instanceof HTMLLabelElement&&t.attributes.for}))||i.some((function(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement}))){var r=Date.now();r-o<=te?(n++,2===n&&e(Qt(t))):n=1,o=r}}}else n=t.detail}return t.addEventListener("click",i),{dblclick:e,simDblclick:i}}function ne(t,e){t.removeEventListener("dblclick",e.dblclick),t.removeEventListener("click",e.simDblclick)}var oe,ie,re,ae,se,le=Ce(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ce=Ce(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ue="webkitTransition"===ce||"OTransition"===ce?ce+"End":"transitionend";function he(t){return"string"===typeof t?document.getElementById(t):t}function de(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!n||"auto"===n)&&document.defaultView){var o=document.defaultView.getComputedStyle(t,null);n=o?o[e]:null}return"auto"===n?null:n}function fe(t,e,n){var o=document.createElement(t);return o.className=e||"",n&&n.appendChild(o),o}function pe(t){var e=t.parentNode;e&&e.removeChild(t)}function me(t){while(t.firstChild)t.removeChild(t.firstChild)}function ge(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ye(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ve(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=xe(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)}function _e(t,e){if(void 0!==t.classList)for(var n=d(e),o=0,i=n.length;o<i;o++)t.classList.add(n[o]);else if(!ve(t,e)){var r=xe(t);be(t,(r?r+" ":"")+e)}}function we(t,e){void 0!==t.classList?t.classList.remove(e):be(t,h((" "+xe(t)+" ").replace(" "+e+" "," ")))}function be(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function xe(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function ke(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&Se(t,e)}function Se(t,e){var n=!1,o="DXImageTransform.Microsoft.Alpha";try{n=t.filters.item(o)}catch(i){if(1===e)return}e=Math.round(100*e),n?(n.Enabled=100!==e,n.Opacity=e):t.style.filter+=" progid:"+o+"(opacity="+e+")"}function Ce(t){for(var e=document.documentElement.style,n=0;n<t.length;n++)if(t[n]in e)return t[n];return!1}function Te(t,e,n){var o=e||new O(0,0);t.style[le]=(Bt.ie3d?"translate("+o.x+"px,"+o.y+"px)":"translate3d("+o.x+"px,"+o.y+"px,0)")+(n?" scale("+n+")":"")}function Pe(t,e){t._leaflet_pos=e,Bt.any3d?Te(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function Le(t){return t._leaflet_pos||new O(0,0)}if("onselectstart"in document)oe=function(){Ne(window,"selectstart",Ge)},ie=function(){Fe(window,"selectstart",Ge)};else{var Ae=Ce(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);oe=function(){if(Ae){var t=document.documentElement.style;re=t[Ae],t[Ae]="none"}},ie=function(){Ae&&(document.documentElement.style[Ae]=re,re=void 0)}}function Ee(){Ne(window,"dragstart",Ge)}function ze(){Fe(window,"dragstart",Ge)}function Me(t){while(-1===t.tabIndex)t=t.parentNode;t.style&&(Oe(),ae=t,se=t.style.outlineStyle,t.style.outlineStyle="none",Ne(window,"keydown",Oe))}function Oe(){ae&&(ae.style.outlineStyle=se,ae=void 0,se=void 0,Fe(window,"keydown",Oe))}function Ie(t){do{t=t.parentNode}while((!t.offsetWidth||!t.offsetHeight)&&t!==document.body);return t}function Re(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}var Be={__proto__:null,TRANSFORM:le,TRANSITION:ce,TRANSITION_END:ue,get:he,getStyle:de,create:fe,remove:pe,empty:me,toFront:ge,toBack:ye,hasClass:ve,addClass:_e,removeClass:we,setClass:be,getClass:xe,setOpacity:ke,testProp:Ce,setTransform:Te,setPosition:Pe,getPosition:Le,get disableTextSelection(){return oe},get enableTextSelection(){return ie},disableImageDrag:Ee,enableImageDrag:ze,preventOutline:Me,restoreOutline:Oe,getSizedParentNode:Ie,getScale:Re};function Ne(t,e,n,o){if(e&&"object"===typeof e)for(var i in e)Ze(t,i,e[i],n);else{e=d(e);for(var r=0,a=e.length;r<a;r++)Ze(t,e[r],n,o)}return this}var De="_leaflet_events";function Fe(t,e,n,o){if(1===arguments.length)je(t),delete t[De];else if(e&&"object"===typeof e)for(var i in e)Ve(t,i,e[i],n);else if(e=d(e),2===arguments.length)je(t,(function(t){return-1!==v(e,t)}));else for(var r=0,a=e.length;r<a;r++)Ve(t,e[r],n,o);return this}function je(t,e){for(var n in t[De]){var o=n.split(/\d/)[0];e&&!e(o)||Ve(t,o,null,null,n)}}var We={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Ze(t,e,n,o){var i=e+a(n)+(o?"_"+a(o):"");if(t[De]&&t[De][i])return this;var r=function(e){return n.call(o||t,e||window.event)},s=r;!Bt.touchNative&&Bt.pointer&&0===e.indexOf("touch")?r=$t(t,e,r):Bt.touch&&"dblclick"===e?r=ee(t,r):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(We[e]||e,r,!!Bt.passiveEvents&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(r=function(e){e=e||window.event,Qe(t,e)&&s(e)},t.addEventListener(We[e],r,!1)):t.addEventListener(e,s,!1):t.attachEvent("on"+e,r),t[De]=t[De]||{},t[De][i]=r}function Ve(t,e,n,o,i){i=i||e+a(n)+(o?"_"+a(o):"");var r=t[De]&&t[De][i];if(!r)return this;!Bt.touchNative&&Bt.pointer&&0===e.indexOf("touch")?Ut(t,e,r):Bt.touch&&"dblclick"===e?ne(t,r):"removeEventListener"in t?t.removeEventListener(We[e]||e,r,!1):t.detachEvent("on"+e,r),t[De][i]=null}function He(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function $e(t){return Ze(t,"wheel",He),this}function Ue(t){return Ne(t,"mousedown touchstart dblclick contextmenu",He),t["_leaflet_disable_click"]=!0,this}function Ge(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function qe(t){return Ge(t),He(t),this}function Ye(t){if(t.composedPath)return t.composedPath();var e=[],n=t.target;while(n)e.push(n),n=n.parentNode;return e}function Ke(t,e){if(!e)return new O(t.clientX,t.clientY);var n=Re(e),o=n.boundingClientRect;return new O((t.clientX-o.left)/n.x-e.clientLeft,(t.clientY-o.top)/n.y-e.clientTop)}var Je=Bt.linux&&Bt.chrome?window.devicePixelRatio:Bt.mac?3*window.devicePixelRatio:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function Xe(t){return Bt.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Je:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function Qe(t,e){var n=e.relatedTarget;if(!n)return!0;try{while(n&&n!==t)n=n.parentNode}catch(o){return!1}return n!==t}var tn={__proto__:null,on:Ne,off:Fe,stopPropagation:He,disableScrollPropagation:$e,disableClickPropagation:Ue,preventDefault:Ge,stop:qe,getPropagationPath:Ye,getMousePosition:Ke,getWheelDelta:Xe,isExternalTarget:Qe,addListener:Ne,removeListener:Fe},en=M.extend({run:function(t,e,n,o){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(o||.5,.2),this._startPos=Le(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=C(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,n=1e3*this._duration;e<n?this._runFrame(this._easeOut(e/n),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var n=this._startPos.add(this._offset.multiplyBy(t));e&&n._round(),Pe(this._el,n),this.fire("step")},_complete:function(){T(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),nn=M.extend({options:{crs:q,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=f(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=i(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(W(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=ce&&Bt.any3d&&!Bt.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Ne(this._proxy,ue,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,o){if(e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(W(t),e,this.options.maxBounds),o=o||{},this._stop(),this._loaded&&!o.reset&&!0!==o){void 0!==o.animate&&(o.zoom=n({animate:o.animate},o.zoom),o.pan=n({animate:o.animate,duration:o.duration},o.pan));var i=this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,o.zoom):this._tryAnimatedPan(t,o.pan);if(i)return clearTimeout(this._sizeTimer),this}return this._resetView(t,e,o.pan&&o.pan.noMoveStart),this},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(Bt.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(Bt.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,n){var o=this.getZoomScale(e),i=this.getSize().divideBy(2),r=t instanceof O?t:this.latLngToContainerPoint(t),a=r.subtract(i).multiplyBy(1-1/o),s=this.containerPointToLatLng(i.add(a));return this.setView(s,e,{zoom:n})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():F(t);var n=R(e.paddingTopLeft||e.padding||[0,0]),o=R(e.paddingBottomRight||e.padding||[0,0]),i=this.getBoundsZoom(t,!1,n.add(o));if(i="number"===typeof e.maxZoom?Math.min(e.maxZoom,i):i,i===1/0)return{center:t.getCenter(),zoom:i};var r=o.subtract(n).divideBy(2),a=this.project(t.getSouthWest(),i),s=this.project(t.getNorthEast(),i),l=this.unproject(a.add(s).divideBy(2).add(r),i);return{center:l,zoom:i}},fitBounds:function(t,e){if(t=F(t),!t.isValid())throw new Error("Bounds are not valid.");var n=this._getBoundsCenterZoom(t,e);return this.setView(n.center,n.zoom,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){if(t=R(t).round(),e=e||{},!t.x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new en,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){_e(this._mapPane,"leaflet-pan-anim");var n=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,n,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,n){if(n=n||{},!1===n.animate||!Bt.any3d)return this.setView(t,e,n);this._stop();var o=this.project(this.getCenter()),i=this.project(t),r=this.getSize(),a=this._zoom;t=W(t),e=void 0===e?a:e;var s=Math.max(r.x,r.y),l=s*this.getZoomScale(a,e),c=i.distanceTo(o)||1,u=1.42,h=u*u;function d(t){var e=t?-1:1,n=t?l:s,o=l*l-s*s+e*h*h*c*c,i=2*n*h*c,r=o/i,a=Math.sqrt(r*r+1)-r,u=a<1e-9?-18:Math.log(a);return u}function f(t){return(Math.exp(t)-Math.exp(-t))/2}function p(t){return(Math.exp(t)+Math.exp(-t))/2}function m(t){return f(t)/p(t)}var g=d(0);function y(t){return s*(p(g)/p(g+u*t))}function v(t){return s*(p(g)*m(g+u*t)-f(g))/h}function _(t){return 1-Math.pow(1-t,1.5)}var w=Date.now(),b=(d(1)-g)/u,x=n.duration?1e3*n.duration:1e3*b*.8;function k(){var n=(Date.now()-w)/x,r=_(n)*b;n<=1?(this._flyToFrame=C(k,this),this._move(this.unproject(o.add(i.subtract(o).multiplyBy(v(r)/c)),a),this.getScaleZoom(s/y(r),a),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}return this._moveStart(!0,n.noMoveStart),k.call(this),this},flyToBounds:function(t,e){var n=this._getBoundsCenterZoom(t,e);return this.flyTo(n.center,n.zoom,e)},setMaxBounds:function(t){return t=F(t),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),t.isValid()?(this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),o=this._limitCenter(n,this._zoom,F(t));return n.equals(o)||this.panTo(o,e),this._enforcingBounds=!1,this},panInside:function(t,e){e=e||{};var n=R(e.paddingTopLeft||e.padding||[0,0]),o=R(e.paddingBottomRight||e.padding||[0,0]),i=this.project(this.getCenter()),r=this.project(t),a=this.getPixelBounds(),s=N([a.min.add(n),a.max.subtract(o)]),l=s.getSize();if(!s.contains(r)){this._enforcingBounds=!0;var c=r.subtract(s.getCenter()),u=s.extend(r).getSize().subtract(l);i.x+=c.x<0?-u.x:u.x,i.y+=c.y<0?-u.y:u.y,this.panTo(this.unproject(i),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=n({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),r=e.divideBy(2).round(),a=o.divideBy(2).round(),s=r.subtract(a);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:o})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=n({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=i(this._handleGeolocationResponse,this),o=i(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,o,t):navigator.geolocation.getCurrentPosition(e,o,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e=t.coords.latitude,n=t.coords.longitude,o=new j(e,n),i=o.toBounds(2*t.coords.accuracy),r=this._locateOptions;if(r.setView){var a=this.getBoundsZoom(i);this.setView(o,r.maxZoom?Math.min(a,r.maxZoom):a)}var s={latlng:o,bounds:i,timestamp:t.timestamp};for(var l in t.coords)"number"===typeof t.coords[l]&&(s[l]=t.coords[l]);this.fire("locationfound",s)}},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),pe(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(T(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)pe(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var n="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),o=fe("div",n,e||this._mapPane);return t&&(this._panes[t]=o),o},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),e=this.unproject(t.getBottomLeft()),n=this.unproject(t.getTopRight());return new D(e,n)},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=F(t),n=R(n||[0,0]);var o=this.getZoom()||0,i=this.getMinZoom(),r=this.getMaxZoom(),a=t.getNorthWest(),s=t.getSouthEast(),l=this.getSize().subtract(n),c=N(this.project(s,o),this.project(a,o)).getSize(),u=Bt.any3d?this.options.zoomSnap:1,h=l.x/c.x,d=l.y/c.y,f=e?Math.max(h,d):Math.min(h,d);return o=this.getScaleZoom(f,o),u&&(o=Math.round(o/(u/100))*(u/100),o=e?Math.ceil(o/u)*u:Math.floor(o/u)*u),Math.max(i,Math.min(r,o))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new O(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var n=this._getTopLeftPoint(t,e);return new B(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"===typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=void 0===e?this._zoom:e;var o=n.zoom(t*n.scale(e));return isNaN(o)?1/0:o},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(W(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(R(t),e)},layerPointToLatLng:function(t){var e=R(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){var e=this.project(W(t))._round();return e._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(W(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(F(t))},distance:function(t,e){return this.options.crs.distance(W(t),W(e))},containerPointToLayerPoint:function(t){return R(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return R(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(R(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(W(t)))},mouseEventToContainerPoint:function(t){return Ke(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=he(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Ne(e,"scroll",this._onScroll,this),this._containerId=a(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&Bt.any3d,_e(t,"leaflet-container"+(Bt.touch?" leaflet-touch":"")+(Bt.retina?" leaflet-retina":"")+(Bt.ielt9?" leaflet-oldie":"")+(Bt.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=de(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&"sticky"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Pe(this._mapPane,new O(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(_e(t.markerPane,"leaflet-zoom-hide"),_e(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,n){Pe(this._mapPane,new O(0,0));var o=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var i=this._zoom!==e;this._moveStart(i,n)._move(t,e)._moveEnd(i),this.fire("viewreset"),o&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n,o){void 0===e&&(e=this._zoom);var i=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),o?n&&n.pinch&&this.fire("zoom",n):((i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return T(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){Pe(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[a(this._container)]=this;var e=t?Fe:Ne;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),Bt.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){T(this._resizeRequest),this._resizeRequest=C((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){var n,o=[],i="mouseout"===e||"mouseover"===e,r=t.target||t.srcElement,s=!1;while(r){if(n=this._targets[a(r)],n&&("click"===e||"preclick"===e)&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(e,!0)){if(i&&!Qe(r,t))break;if(o.push(n),i)break}if(r===this._container)break;r=r.parentNode}return o.length||s||i||!this.listens(e,!0)||(o=[this]),o},_isClickDisabled:function(t){while(t&&t!==this._container){if(t["_leaflet_disable_click"])return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e=t.target||t.srcElement;if(!(!this._loaded||e["_leaflet_disable_events"]||"click"===t.type&&this._isClickDisabled(e))){var n=t.type;"mousedown"===n&&Me(e),this._fireDOMEvent(t,n)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,o){if("click"===t.type){var i=n({},t);i.type="preclick",this._fireDOMEvent(i,i.type,o)}var r=this._findEventTargets(t,e);if(o){for(var a=[],s=0;s<o.length;s++)o[s].listens(e,!0)&&a.push(o[s]);r=a.concat(r)}if(r.length){"contextmenu"===e&&Ge(t);var l=r[0],c={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var u=l.getLatLng&&(!l._radius||l._radius<=10);c.containerPoint=u?this.latLngToContainerPoint(l.getLatLng()):this.mouseEventToContainerPoint(t),c.layerPoint=this.containerPointToLayerPoint(c.containerPoint),c.latlng=u?l.getLatLng():this.layerPointToLatLng(c.layerPoint)}for(s=0;s<r.length;s++)if(r[s].fire(e,c,!0),c.originalEvent._stopped||!1===r[s].options.bubblingMouseEvents&&-1!==v(this._mouseEvents,e))return}},_draggableMoved:function(t){return t=t.dragging&&t.dragging.enabled()?t:this,t.dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return Le(this._mapPane)||new O(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){var n=t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin();return n.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var n=this.getSize()._divideBy(2);return this.project(t,e)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,n){var o=this._getNewPixelOrigin(n,e);return this.project(t,e)._subtract(o)},_latLngBoundsToNewLayerBounds:function(t,e,n){var o=this._getNewPixelOrigin(n,e);return N([this.project(t.getSouthWest(),e)._subtract(o),this.project(t.getNorthWest(),e)._subtract(o),this.project(t.getSouthEast(),e)._subtract(o),this.project(t.getNorthEast(),e)._subtract(o)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,n){if(!n)return t;var o=this.project(t,e),i=this.getSize().divideBy(2),r=new B(o.subtract(i),o.add(i)),a=this._getBoundsOffset(r,n,e);return Math.abs(a.x)<=1&&Math.abs(a.y)<=1?t:this.unproject(o.add(a),e)},_limitOffset:function(t,e){if(!e)return t;var n=this.getPixelBounds(),o=new B(n.min.add(t),n.max.add(t));return t.add(this._getBoundsOffset(o,e))},_getBoundsOffset:function(t,e,n){var o=N(this.project(e.getNorthEast(),n),this.project(e.getSouthWest(),n)),i=o.min.subtract(t.min),r=o.max.subtract(t.max),a=this._rebound(i.x,-r.x),s=this._rebound(i.y,-r.y);return new O(a,s)},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),o=Bt.any3d?this.options.zoomSnap:1;return o&&(t=Math.round(t/o)*o),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){we(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(n))&&(this.panBy(n,e),!0)},_createAnimProxy:function(){var t=this._proxy=fe("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=le,n=this._proxy.style[e];Te(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){pe(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();Te(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var o=this.getZoomScale(e),i=this._getCenterOffset(t)._divideBy(1-1/o);return!(!0!==n.animate&&!this.getSize().contains(i))&&(C((function(){this._moveStart(!0,n.noMoveStart||!1)._animateZoom(t,e,!0)}),this),!0)},_animateZoom:function(t,e,n,o){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,_e(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:o}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&we(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function on(t,e){return new nn(t,e)}var rn=A.extend({options:{position:"topright"},initialize:function(t){f(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),o=t._controlCorners[n];return _e(e,"leaflet-control"),-1!==n.indexOf("bottom")?o.insertBefore(e,o.firstChild):o.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(pe(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),an=function(t){return new rn(t)};nn.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=fe("div",e+"control-container",this._container);function o(o,i){var r=e+o+" "+e+i;t[o+i]=fe("div",r,n)}o("top","left"),o("top","right"),o("bottom","left"),o("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)pe(this._controlCorners[t]);pe(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var sn=rn.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,o){return n<o?-1:o<n?1:0}},initialize:function(t,e,n){for(var o in f(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,t)this._addLayer(t[o],o);for(o in e)this._addLayer(e[o],o,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return rn.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(a(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){_e(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(_e(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):we(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return we(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=fe("div",t),n=this.options.collapsed;e.setAttribute("aria-haspopup",!0),Ue(e),$e(e);var o=this._section=fe("section",t+"-list");n&&(this._map.on("click",this.collapse,this),Ne(e,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var i=this._layersLink=fe("a",t+"-toggle",e);i.href="#",i.title="Layers",i.setAttribute("role","button"),Ne(i,{keydown:function(t){13===t.keyCode&&this._expandSafely()},click:function(t){Ge(t),this._expandSafely()}},this),n||this.expand(),this._baseLayersList=fe("div",t+"-base",o),this._separator=fe("div",t+"-separator",o),this._overlaysList=fe("div",t+"-overlays",o),e.appendChild(o)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&a(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,n){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:n}),this.options.sortLayers&&this._layers.sort(i((function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)}),this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;me(this._baseLayersList),me(this._overlaysList),this._layerControlInputs=[];var t,e,n,o,i=0;for(n=0;n<this._layers.length;n++)o=this._layers[n],this._addItem(o),e=e||o.overlay,t=t||!o.overlay,i+=o.overlay?0:1;return this.options.hideSingleBase&&(t=t&&i>1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(a(t.target)),n=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)},_createRadioElement:function(t,e){var n='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",o=document.createElement("div");return o.innerHTML=n,o.firstChild},_addItem:function(t){var e,n=document.createElement("label"),o=this._map.hasLayer(t.layer);t.overlay?(e=document.createElement("input"),e.type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=o):e=this._createRadioElement("leaflet-base-layers_"+a(this),o),this._layerControlInputs.push(e),e.layerId=a(t.layer),Ne(e,"click",this._onInputClick,this);var i=document.createElement("span");i.innerHTML=" "+t.name;var r=document.createElement("span");n.appendChild(r),r.appendChild(e),r.appendChild(i);var s=t.overlay?this._overlaysList:this._baseLayersList;return s.appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){if(!this._preventClick){var t,e,n=this._layerControlInputs,o=[],i=[];this._handlingClick=!0;for(var r=n.length-1;r>=0;r--)t=n[r],e=this._getLayer(t.layerId).layer,t.checked?o.push(e):t.checked||i.push(e);for(r=0;r<i.length;r++)this._map.hasLayer(i[r])&&this._map.removeLayer(i[r]);for(r=0;r<o.length;r++)this._map.hasLayer(o[r])||this._map.addLayer(o[r]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var t,e,n=this._layerControlInputs,o=this._map.getZoom(),i=n.length-1;i>=0;i--)t=n[i],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&o<e.options.minZoom||void 0!==e.options.maxZoom&&o>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,Ne(t,"click",Ge),this.expand();var e=this;setTimeout((function(){Fe(t,"click",Ge),e._preventClick=!1}))}}),ln=function(t,e,n){return new sn(t,e,n)},cn=rn.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">−</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=fe("div",e+" leaflet-bar"),o=this.options;return this._zoomInButton=this._createButton(o.zoomInText,o.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(o.zoomOutText,o.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,o,i){var r=fe("a",n,o);return r.innerHTML=t,r.href="#",r.title=e,r.setAttribute("role","button"),r.setAttribute("aria-label",e),Ue(r),Ne(r,"click",qe),Ne(r,"click",i,this),Ne(r,"click",this._refocusOnMap,this),r},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";we(this._zoomInButton,e),we(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(_e(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(_e(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}});nn.mergeOptions({zoomControl:!0}),nn.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new cn,this.addControl(this.zoomControl))}));var un=function(t){return new cn(t)},hn=rn.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",n=fe("div",e),o=this.options;return this._addScales(o,e+"-line",n),t.on(o.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),n},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=fe("div",e,n)),t.imperial&&(this._iScale=fe("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),n=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,n,e/t)},_updateImperial:function(t){var e,n,o,i=3.2808399*t;i>5280?(e=i/5280,n=this._getRoundNum(e),this._updateScale(this._iScale,n+" mi",n/e)):(o=this._getRoundNum(i),this._updateScale(this._iScale,o+" ft",o/i))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1,e*n}}),dn=function(t){return new hn(t)},fn='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',pn=rn.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Bt.inlineSvg?fn+" ":"")+"Leaflet</a>"},initialize:function(t){f(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=fe("div","leaflet-control-attribution"),Ue(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",(function(){this.removeAttribution(t.layer.getAttribution())}),this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(' <span aria-hidden="true">|</span> ')}}});nn.mergeOptions({attributionControl:!0}),nn.addInitHook((function(){this.options.attributionControl&&(new pn).addTo(this)}));var mn=function(t){return new pn(t)};rn.Layers=sn,rn.Zoom=cn,rn.Scale=hn,rn.Attribution=pn,an.layers=ln,an.zoom=un,an.scale=dn,an.attribution=mn;var gn=A.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});gn.addTo=function(t,e){return t.addHandler(e,this),this};var yn={Events:z},vn=Bt.touch?"touchstart mousedown":"mousedown",_n=M.extend({options:{clickTolerance:3},initialize:function(t,e,n,o){f(this,o),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(Ne(this._dragStartTarget,vn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(_n._dragging===this&&this.finishDrag(!0),Fe(this._dragStartTarget,vn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!ve(this._element,"leaflet-zoom-anim")))if(t.touches&&1!==t.touches.length)_n._dragging===this&&this.finishDrag();else if(!(_n._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches)&&(_n._dragging=this,this._preventOutline&&Me(this._element),Ee(),oe(),!this._moving)){this.fire("down");var e=t.touches?t.touches[0]:t,n=Ie(this._element);this._startPoint=new O(e.clientX,e.clientY),this._startPos=Le(this._element),this._parentScale=Re(n);var o="mousedown"===t.type;Ne(document,o?"mousemove":"touchmove",this._onMove,this),Ne(document,o?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(t){if(this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,n=new O(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)<this.options.clickTolerance||(n.x/=this._parentScale.x,n.y/=this._parentScale.y,Ge(t),this._moved||(this.fire("dragstart"),this._moved=!0,_e(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),_e(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(n),this._moving=!0,this._lastEvent=t,this._updatePosition()))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),Pe(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){we(document.body,"leaflet-dragging"),this._lastTarget&&(we(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),Fe(document,"mousemove touchmove",this._onMove,this),Fe(document,"mouseup touchend touchcancel",this._onUp,this),ze(),ie();var e=this._moved&&this._moving;this._moving=!1,_n._dragging=!1,e&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)})}});function wn(t,e,n){var o,i,r,a,s,l,c,u,h,d=[1,4,2,8];for(i=0,c=t.length;i<c;i++)t[i]._code=On(t[i],e);for(a=0;a<4;a++){for(u=d[a],o=[],i=0,c=t.length,r=c-1;i<c;r=i++)s=t[i],l=t[r],s._code&u?l._code&u||(h=Mn(l,s,u,e,n),h._code=On(h,e),o.push(h)):(l._code&u&&(h=Mn(l,s,u,e,n),h._code=On(h,e),o.push(h)),o.push(s));t=o}return t}function bn(t,e){var n,o,i,r,a,s,l,c,u;if(!t||0===t.length)throw new Error("latlngs not passed");Bn(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var h=W([0,0]),d=F(t),f=d.getNorthWest().distanceTo(d.getSouthWest())*d.getNorthEast().distanceTo(d.getNorthWest());f<1700&&(h=xn(t));var p=t.length,m=[];for(n=0;n<p;n++){var g=W(t[n]);m.push(e.project(W([g.lat-h.lat,g.lng-h.lng])))}for(s=l=c=0,n=0,o=p-1;n<p;o=n++)i=m[n],r=m[o],a=i.y*r.x-r.y*i.x,l+=(i.x+r.x)*a,c+=(i.y+r.y)*a,s+=3*a;u=0===s?m[0]:[l/s,c/s];var y=e.unproject(R(u));return W([y.lat+h.lat,y.lng+h.lng])}function xn(t){for(var e=0,n=0,o=0,i=0;i<t.length;i++){var r=W(t[i]);e+=r.lat,n+=r.lng,o++}return W([e/o,n/o])}var kn,Sn={__proto__:null,clipPolygon:wn,polygonCenter:bn,centroid:xn};function Cn(t,e){if(!e||!t.length)return t.slice();var n=e*e;return t=En(t,n),t=Ln(t,n),t}function Tn(t,e,n){return Math.sqrt(Rn(t,e,n,!0))}function Pn(t,e,n){return Rn(t,e,n)}function Ln(t,e){var n=t.length,o=typeof Uint8Array!==void 0+""?Uint8Array:Array,i=new o(n);i[0]=i[n-1]=1,An(t,i,e,0,n-1);var r,a=[];for(r=0;r<n;r++)i[r]&&a.push(t[r]);return a}function An(t,e,n,o,i){var r,a,s,l=0;for(a=o+1;a<=i-1;a++)s=Rn(t[a],t[o],t[i],!0),s>l&&(r=a,l=s);l>n&&(e[r]=1,An(t,e,n,o,r),An(t,e,n,r,i))}function En(t,e){for(var n=[t[0]],o=1,i=0,r=t.length;o<r;o++)In(t[o],t[i])>e&&(n.push(t[o]),i=o);return i<r-1&&n.push(t[r-1]),n}function zn(t,e,n,o,i){var r,a,s,l=o?kn:On(t,n),c=On(e,n);kn=c;while(1){if(!(l|c))return[t,e];if(l&c)return!1;r=l||c,a=Mn(t,e,r,n,i),s=On(a,n),r===l?(t=a,l=s):(e=a,c=s)}}function Mn(t,e,n,o,i){var r,a,s=e.x-t.x,l=e.y-t.y,c=o.min,u=o.max;return 8&n?(r=t.x+s*(u.y-t.y)/l,a=u.y):4&n?(r=t.x+s*(c.y-t.y)/l,a=c.y):2&n?(r=u.x,a=t.y+l*(u.x-t.x)/s):1&n&&(r=c.x,a=t.y+l*(c.x-t.x)/s),new O(r,a,i)}function On(t,e){var n=0;return t.x<e.min.x?n|=1:t.x>e.max.x&&(n|=2),t.y<e.min.y?n|=4:t.y>e.max.y&&(n|=8),n}function In(t,e){var n=e.x-t.x,o=e.y-t.y;return n*n+o*o}function Rn(t,e,n,o){var i,r=e.x,a=e.y,s=n.x-r,l=n.y-a,c=s*s+l*l;return c>0&&(i=((t.x-r)*s+(t.y-a)*l)/c,i>1?(r=n.x,a=n.y):i>0&&(r+=s*i,a+=l*i)),s=t.x-r,l=t.y-a,o?s*s+l*l:new O(r,a)}function Bn(t){return!y(t[0])||"object"!==typeof t[0][0]&&"undefined"!==typeof t[0][0]}function Nn(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Bn(t)}function Dn(t,e){var n,o,i,r,a,s,l,c;if(!t||0===t.length)throw new Error("latlngs not passed");Bn(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var u=W([0,0]),h=F(t),d=h.getNorthWest().distanceTo(h.getSouthWest())*h.getNorthEast().distanceTo(h.getNorthWest());d<1700&&(u=xn(t));var f=t.length,p=[];for(n=0;n<f;n++){var m=W(t[n]);p.push(e.project(W([m.lat-u.lat,m.lng-u.lng])))}for(n=0,o=0;n<f-1;n++)o+=p[n].distanceTo(p[n+1])/2;if(0===o)c=p[0];else for(n=0,r=0;n<f-1;n++)if(a=p[n],s=p[n+1],i=a.distanceTo(s),r+=i,r>o){l=(r-o)/i,c=[s.x-l*(s.x-a.x),s.y-l*(s.y-a.y)];break}var g=e.unproject(R(c));return W([g.lat+u.lat,g.lng+u.lng])}var Fn={__proto__:null,simplify:Cn,pointToSegmentDistance:Tn,closestPointOnSegment:Pn,clipSegment:zn,_getEdgeIntersection:Mn,_getBitCode:On,_sqClosestPointOnSegment:Rn,isFlat:Bn,_flat:Nn,polylineCenter:Dn},jn={project:function(t){return new O(t.lng,t.lat)},unproject:function(t){return new j(t.y,t.x)},bounds:new B([-180,-90],[180,90])},Wn={R:6378137,R_MINOR:6356752.314245179,bounds:new B([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,n=this.R,o=t.lat*e,i=this.R_MINOR/n,r=Math.sqrt(1-i*i),a=r*Math.sin(o),s=Math.tan(Math.PI/4-o/2)/Math.pow((1-a)/(1+a),r/2);return o=-n*Math.log(Math.max(s,1e-10)),new O(t.lng*e*n,o)},unproject:function(t){for(var e,n=180/Math.PI,o=this.R,i=this.R_MINOR/o,r=Math.sqrt(1-i*i),a=Math.exp(-t.y/o),s=Math.PI/2-2*Math.atan(a),l=0,c=.1;l<15&&Math.abs(c)>1e-7;l++)e=r*Math.sin(s),e=Math.pow((1-e)/(1+e),r/2),c=Math.PI/2-2*Math.atan(a*e)-s,s+=c;return new j(s*n,t.x*n/o)}},Zn={__proto__:null,LonLat:jn,Mercator:Wn,SphericalMercator:$},Vn=n({},V,{code:"EPSG:3395",projection:Wn,transformation:function(){var t=.5/(Math.PI*Wn.R);return G(t,.5,-t,.5)}()}),Hn=n({},V,{code:"EPSG:4326",projection:jn,transformation:G(1/180,1,-1/180,.5)}),$n=n({},Z,{projection:jn,transformation:G(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,o=e.lat-t.lat;return Math.sqrt(n*n+o*o)},infinite:!0});Z.Earth=V,Z.EPSG3395=Vn,Z.EPSG3857=q,Z.EPSG900913=Y,Z.EPSG4326=Hn,Z.Simple=$n;var Un=M.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[a(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[a(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var n=this.getEvents();e.on(n,this),this.once("remove",(function(){e.off(n,this)}),this)}this.onAdd(e),this.fire("add"),e.fire("layeradd",{layer:this})}}});nn.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=a(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=a(t);return this._layers[e]?(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return a(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){t=t?y(t)?t:[t]:[];for(var e=0,n=t.length;e<n;e++)this.addLayer(t[e])},_addZoomLimit:function(t){isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[a(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=a(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,n=this._getZoomSpan();for(var o in this._zoomBoundLayers){var i=this._zoomBoundLayers[o].options;t=void 0===i.minZoom?t:Math.min(t,i.minZoom),e=void 0===i.maxZoom?e:Math.max(e,i.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=t===1/0?void 0:t,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Gn=Un.extend({initialize:function(t,e){var n,o;if(f(this,e),this._layers={},t)for(n=0,o=t.length;n<o;n++)this.addLayer(t[n])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){var e="number"===typeof t?t:this.getLayerId(t);return e in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,n,o=Array.prototype.slice.call(arguments,1);for(e in this._layers)n=this._layers[e],n[t]&&n[t].apply(n,o);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return a(t)}}),qn=function(t,e){return new Gn(t,e)},Yn=Gn.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Gn.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Gn.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new D;for(var e in this._layers){var n=this._layers[e];t.extend(n.getBounds?n.getBounds():n.getLatLng())}return t}}),Kn=function(t,e){return new Yn(t,e)},Jn=A.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){f(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var n=this._getIconUrl(t);if(!n){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var o=this._createImg(n,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(o,t),(this.options.crossOrigin||""===this.options.crossOrigin)&&(o.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),o},_setIconStyles:function(t,e){var n=this.options,o=n[e+"Size"];"number"===typeof o&&(o=[o,o]);var i=R(o),r=R("shadow"===e&&n.shadowAnchor||n.iconAnchor||i&&i.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(n.className||""),r&&(t.style.marginLeft=-r.x+"px",t.style.marginTop=-r.y+"px"),i&&(t.style.width=i.x+"px",t.style.height=i.y+"px")},_createImg:function(t,e){return e=e||document.createElement("img"),e.src=t,e},_getIconUrl:function(t){return Bt.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}});function Xn(t){return new Jn(t)}var Qn=Jn.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return"string"!==typeof Qn.imagePath&&(Qn.imagePath=this._detectIconPath()),(this.options.imagePath||Qn.imagePath)+Jn.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){var e=function(t,e,n){var o=e.exec(t);return o&&o[n]};return t=e(t,/^url\((['"])?(.+)\1\)$/,2),t&&e(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=fe("div","leaflet-default-icon-path",document.body),e=de(t,"background-image")||de(t,"backgroundImage");if(document.body.removeChild(t),e=this._stripUrl(e),e)return e;var n=document.querySelector('link[href$="leaflet.css"]');return n?n.href.substring(0,n.href.length-11-1):""}}),to=gn.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new _n(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),_e(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&we(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,n=e._map,o=this._marker.options.autoPanSpeed,i=this._marker.options.autoPanPadding,r=Le(e._icon),a=n.getPixelBounds(),s=n.getPixelOrigin(),l=N(a.min._subtract(s).add(i),a.max._subtract(s).subtract(i));if(!l.contains(r)){var c=R((Math.max(l.max.x,r.x)-l.max.x)/(a.max.x-l.max.x)-(Math.min(l.min.x,r.x)-l.min.x)/(a.min.x-l.min.x),(Math.max(l.max.y,r.y)-l.max.y)/(a.max.y-l.max.y)-(Math.min(l.min.y,r.y)-l.min.y)/(a.min.y-l.min.y)).multiplyBy(o);n.panBy(c,{animate:!1}),this._draggable._newPos._add(c),this._draggable._startPos._add(c),Pe(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=C(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(T(this._panRequest),this._panRequest=C(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,n=e._shadow,o=Le(e._icon),i=e._map.layerPointToLatLng(o);n&&Pe(n,o),e._latlng=i,t.latlng=i,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){T(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),eo=Un.extend({options:{icon:new Qn,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){f(this,e),this._latlng=W(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=W(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),n=t.icon.createIcon(this._icon),o=!1;n!==this._icon&&(this._icon&&this._removeIcon(),o=!0,t.title&&(n.title=t.title),"IMG"===n.tagName&&(n.alt=t.alt||"")),_e(n,e),t.keyboard&&(n.tabIndex="0",n.setAttribute("role","button")),this._icon=n,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Ne(n,"focus",this._panOnFocus,this);var i=t.icon.createShadow(this._shadow),r=!1;i!==this._shadow&&(this._removeShadow(),r=!0),i&&(_e(i,e),i.alt=""),this._shadow=i,t.opacity<1&&this._updateOpacity(),o&&this.getPane().appendChild(this._icon),this._initInteraction(),i&&r&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Fe(this._icon,"focus",this._panOnFocus,this),pe(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&pe(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&Pe(this._icon,t),this._shadow&&Pe(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(_e(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),to)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new to(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&ke(this._icon,t),this._shadow&&ke(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t=this._map;if(t){var e=this.options.icon.options,n=e.iconSize?R(e.iconSize):R(0,0),o=e.iconAnchor?R(e.iconAnchor):R(0,0);t.panInside(this._latlng,{paddingTopLeft:o,paddingBottomRight:n.subtract(o)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function no(t,e){return new eo(t,e)}var oo=Un.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return f(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),io=oo.extend({options:{fill:!0,radius:10},initialize:function(t,e){f(this,e),this._latlng=W(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=W(t),this.redraw(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return oo.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,n=this._clickTolerance(),o=[t+n,e+n];this._pxBounds=new B(this._point.subtract(o),this._point.add(o))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function ro(t,e){return new io(t,e)}var ao=io.extend({initialize:function(t,e,o){if("number"===typeof e&&(e=n({},o,{radius:e})),f(this,e),this._latlng=W(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new D(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:oo.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,n=this._map,o=n.options.crs;if(o.distance===V.distance){var i=Math.PI/180,r=this._mRadius/V.R/i,a=n.project([e+r,t]),s=n.project([e-r,t]),l=a.add(s).divideBy(2),c=n.unproject(l).lat,u=Math.acos((Math.cos(r*i)-Math.sin(e*i)*Math.sin(c*i))/(Math.cos(e*i)*Math.cos(c*i)))/i;(isNaN(u)||0===u)&&(u=r/Math.cos(Math.PI/180*e)),this._point=l.subtract(n.getPixelOrigin()),this._radius=isNaN(u)?0:l.x-n.project([c,t-u]).x,this._radiusY=l.y-a.y}else{var h=o.unproject(o.project(this._latlng).subtract([this._mRadius,0]));this._point=n.latLngToLayerPoint(this._latlng),this._radius=this._point.x-n.latLngToLayerPoint(h).x}this._updateBounds()}});function so(t,e,n){return new ao(t,e,n)}var lo=oo.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){f(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,n,o=1/0,i=null,r=Rn,a=0,s=this._parts.length;a<s;a++)for(var l=this._parts[a],c=1,u=l.length;c<u;c++){e=l[c-1],n=l[c];var h=r(t,e,n,!0);h<o&&(o=h,i=r(t,e,n))}return i&&(i.distance=Math.sqrt(o)),i},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return Dn(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=W(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new D,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return Bn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=Bn(t),o=0,i=t.length;o<i;o++)n?(e[o]=W(t[o]),this._bounds.extend(e[o])):e[o]=this._convertLatLngs(t[o]);return e},_project:function(){var t=new B;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),e=new O(t,t);this._rawPxBounds&&(this._pxBounds=new B([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)]))},_projectLatlngs:function(t,e,n){var o,i,r=t[0]instanceof j,a=t.length;if(r){for(i=[],o=0;o<a;o++)i[o]=this._map.latLngToLayerPoint(t[o]),n.extend(i[o]);e.push(i)}else for(o=0;o<a;o++)this._projectLatlngs(t[o],e,n)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var e,n,o,i,r,a,s,l=this._parts;for(e=0,o=0,i=this._rings.length;e<i;e++)for(s=this._rings[e],n=0,r=s.length;n<r-1;n++)a=zn(s[n],s[n+1],t,n,!0),a&&(l[o]=l[o]||[],l[o].push(a[0]),a[1]===s[n+1]&&n!==r-2||(l[o].push(a[1]),o++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,n=0,o=t.length;n<o;n++)t[n]=Cn(t[n],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var n,o,i,r,a,s,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(n=0,r=this._parts.length;n<r;n++)for(s=this._parts[n],o=0,a=s.length,i=a-1;o<a;i=o++)if((e||0!==o)&&Tn(t,s[i],s[o])<=l)return!0;return!1}});function co(t,e){return new lo(t,e)}lo._flat=Nn;var uo=lo.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return bn(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(t){var e=lo.prototype._convertLatLngs.call(this,t),n=e.length;return n>=2&&e[0]instanceof j&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){lo.prototype._setLatLngs.call(this,t),Bn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Bn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new O(e,e);if(t=new B(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var o,i=0,r=this._rings.length;i<r;i++)o=wn(this._rings[i],t,!0),o.length&&this._parts.push(o)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,n,o,i,r,a,s,l,c=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(i=0,s=this._parts.length;i<s;i++)for(e=this._parts[i],r=0,l=e.length,a=l-1;r<l;a=r++)n=e[r],o=e[a],n.y>t.y!==o.y>t.y&&t.x<(o.x-n.x)*(t.y-n.y)/(o.y-n.y)+n.x&&(c=!c);return c||lo.prototype._containsPoint.call(this,t,!0)}});function ho(t,e){return new uo(t,e)}var fo=Yn.extend({initialize:function(t,e){f(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,o,i=y(t)?t:t.features;if(i){for(e=0,n=i.length;e<n;e++)o=i[e],(o.geometries||o.geometry||o.features||o.coordinates)&&this.addData(o);return this}var r=this.options;if(r.filter&&!r.filter(t))return this;var a=po(t,r);return a?(a.feature=bo(t),a.defaultOptions=a.options,this.resetStyle(a),r.onEachFeature&&r.onEachFeature(t,a),this.addLayer(a)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=n({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer((function(e){this._setLayerStyle(e,t)}),this)},_setLayerStyle:function(t,e){t.setStyle&&("function"===typeof e&&(e=e(t.feature)),t.setStyle(e))}});function po(t,e){var n,o,i,r,a="Feature"===t.type?t.geometry:t,s=a?a.coordinates:null,l=[],c=e&&e.pointToLayer,u=e&&e.coordsToLatLng||go;if(!s&&!a)return null;switch(a.type){case"Point":return n=u(s),mo(c,t,n,e);case"MultiPoint":for(i=0,r=s.length;i<r;i++)n=u(s[i]),l.push(mo(c,t,n,e));return new Yn(l);case"LineString":case"MultiLineString":return o=yo(s,"LineString"===a.type?0:1,u),new lo(o,e);case"Polygon":case"MultiPolygon":return o=yo(s,"Polygon"===a.type?1:2,u),new uo(o,e);case"GeometryCollection":for(i=0,r=a.geometries.length;i<r;i++){var h=po({geometry:a.geometries[i],type:"Feature",properties:t.properties},e);h&&l.push(h)}return new Yn(l);case"FeatureCollection":for(i=0,r=a.features.length;i<r;i++){var d=po(a.features[i],e);d&&l.push(d)}return new Yn(l);default:throw new Error("Invalid GeoJSON object.")}}function mo(t,e,n,o){return t?t(e,n):new eo(n,o&&o.markersInheritOptions&&o)}function go(t){return new j(t[1],t[0],t[2])}function yo(t,e,n){for(var o,i=[],r=0,a=t.length;r<a;r++)o=e?yo(t[r],e-1,n):(n||go)(t[r]),i.push(o);return i}function vo(t,e){return t=W(t),void 0!==t.alt?[u(t.lng,e),u(t.lat,e),u(t.alt,e)]:[u(t.lng,e),u(t.lat,e)]}function _o(t,e,n,o){for(var i=[],r=0,a=t.length;r<a;r++)i.push(e?_o(t[r],Bn(t[r])?0:e-1,n,o):vo(t[r],o));return!e&&n&&i.length>0&&i.push(i[0].slice()),i}function wo(t,e){return t.feature?n({},t.feature,{geometry:e}):bo(e)}function bo(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var xo={toGeoJSON:function(t){return wo(this,{type:"Point",coordinates:vo(this.getLatLng(),t)})}};function ko(t,e){return new fo(t,e)}eo.include(xo),ao.include(xo),io.include(xo),lo.include({toGeoJSON:function(t){var e=!Bn(this._latlngs),n=_o(this._latlngs,e?1:0,!1,t);return wo(this,{type:(e?"Multi":"")+"LineString",coordinates:n})}}),uo.include({toGeoJSON:function(t){var e=!Bn(this._latlngs),n=e&&!Bn(this._latlngs[0]),o=_o(this._latlngs,n?2:e?1:0,!0,t);return e||(o=[o]),wo(this,{type:(n?"Multi":"")+"Polygon",coordinates:o})}}),Gn.include({toMultiPoint:function(t){var e=[];return this.eachLayer((function(n){e.push(n.toGeoJSON(t).geometry.coordinates)})),wo(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var n="GeometryCollection"===e,o=[];return this.eachLayer((function(e){if(e.toGeoJSON){var i=e.toGeoJSON(t);if(n)o.push(i.geometry);else{var r=bo(i);"FeatureCollection"===r.type?o.push.apply(o,r.features):o.push(r)}}})),n?wo(this,{geometries:o,type:"GeometryCollection"}):{type:"FeatureCollection",features:o}}});var So=ko,Co=Un.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,n){this._url=t,this._bounds=F(e),f(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(_e(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){pe(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&ge(this._image),this},bringToBack:function(){return this._map&&ye(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=F(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:fe("img");_e(e,"leaflet-image-layer"),this._zoomAnimated&&_e(e,"leaflet-zoom-animated"),this.options.className&&_e(e,this.options.className),e.onselectstart=c,e.onmousemove=c,e.onload=i(this.fire,this,"load"),e.onerror=i(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;Te(this._image,n,e)},_reset:function(){var t=this._image,e=new B(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=e.getSize();Pe(t,e.min),t.style.width=n.x+"px",t.style.height=n.y+"px"},_updateOpacity:function(){ke(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),To=function(t,e,n){return new Co(t,e,n)},Po=Co.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:fe("video");if(_e(e,"leaflet-image-layer"),this._zoomAnimated&&_e(e,"leaflet-zoom-animated"),this.options.className&&_e(e,this.options.className),e.onselectstart=c,e.onmousemove=c,e.onloadeddata=i(this.fire,this,"load"),t){for(var n=e.getElementsByTagName("source"),o=[],r=0;r<n.length;r++)o.push(n[r].src);this._url=n.length>0?o:[e.src]}else{y(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style["objectFit"]="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var a=0;a<this._url.length;a++){var s=fe("source");s.src=this._url[a],e.appendChild(s)}}}});function Lo(t,e,n){return new Po(t,e,n)}var Ao=Co.extend({_initImage:function(){var t=this._image=this._url;_e(t,"leaflet-image-layer"),this._zoomAnimated&&_e(t,"leaflet-zoom-animated"),this.options.className&&_e(t,this.options.className),t.onselectstart=c,t.onmousemove=c}});function Eo(t,e,n){return new Ao(t,e,n)}var zo=Un.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(t,e){t&&(t instanceof j||y(t))?(this._latlng=W(t),f(this,e)):(f(this,t),this._source=e),this.options.content&&(this._content=this.options.content)},openOn:function(t){return t=arguments.length?t:this._source._map,t.hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&ke(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&ke(this._container,1),this.bringToFront(),this.options.interactive&&(_e(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(ke(this._container,0),this._removeTimeout=setTimeout(i(pe,void 0,this._container),200)):pe(this._container),this.options.interactive&&(we(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=W(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ge(this._container),this},bringToBack:function(){return this._map&&ye(this._container),this},_prepareOpen:function(t){var e=this._source;if(!e._map)return!1;if(e instanceof Yn){e=null;var n=this._source._layers;for(var o in n)if(n[o]._map){e=n[o];break}if(!e)return!1;this._source=e}if(!t)if(e.getCenter)t=e.getCenter();else if(e.getLatLng)t=e.getLatLng();else{if(!e.getBounds)throw new Error("Unable to get source layer LatLng.");t=e.getBounds().getCenter()}return this.setLatLng(t),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"===typeof this._content?this._content(this._source||this):this._content;if("string"===typeof e)t.innerHTML=e;else{while(t.hasChildNodes())t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=R(this.options.offset),n=this._getAnchor();this._zoomAnimated?Pe(this._container,t.add(n)):e=e.add(t).add(n);var o=this._containerBottom=-e.y,i=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=o+"px",this._container.style.left=i+"px"}},_getAnchor:function(){return[0,0]}});nn.include({_initOverlay:function(t,e,n,o){var i=e;return i instanceof t||(i=new t(o).setContent(e)),n&&i.setLatLng(n),i}}),Un.include({_initOverlay:function(t,e,n,o){var i=n;return i instanceof t?(f(i,o),i._source=this):(i=e&&!o?e:new t(o,this),i.setContent(n)),i}});var Mo=zo.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return t=arguments.length?t:this._source._map,!t.hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,zo.prototype.openOn.call(this,t)},onAdd:function(t){zo.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof oo||this._source.on("preclick",He))},onRemove:function(t){zo.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof oo||this._source.off("preclick",He))},getEvents:function(){var t=zo.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this.close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_initLayout:function(){var t="leaflet-popup",e=this._container=fe("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),n=this._wrapper=fe("div",t+"-content-wrapper",e);if(this._contentNode=fe("div",t+"-content",n),Ue(e),$e(this._contentNode),Ne(e,"contextmenu",He),this._tipContainer=fe("div",t+"-tip-container",e),this._tip=fe("div",t+"-tip",this._tipContainer),this.options.closeButton){var o=this._closeButton=fe("a",t+"-close-button",e);o.setAttribute("role","button"),o.setAttribute("aria-label","Close popup"),o.href="#close",o.innerHTML='<span aria-hidden="true">×</span>',Ne(o,"click",(function(t){Ge(t),this.close()}),this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var n=t.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),e.width=n+1+"px",e.whiteSpace="",e.height="";var o=t.offsetHeight,i=this.options.maxHeight,r="leaflet-popup-scrolled";i&&o>i?(e.height=i+"px",_e(t,r)):we(t,r),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();Pe(this._container,e.add(n))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var t=this._map,e=parseInt(de(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+e,o=this._containerWidth,i=new O(this._containerLeft,-n-this._containerBottom);i._add(Le(this._container));var r=t.layerPointToContainerPoint(i),a=R(this.options.autoPanPadding),s=R(this.options.autoPanPaddingTopLeft||a),l=R(this.options.autoPanPaddingBottomRight||a),c=t.getSize(),u=0,h=0;r.x+o+l.x>c.x&&(u=r.x+o-c.x+l.x),r.x-u-s.x<0&&(u=r.x-s.x),r.y+n+l.y>c.y&&(h=r.y+n-c.y+l.y),r.y-h-s.y<0&&(h=r.y-s.y),(u||h)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([u,h]))}},_getAnchor:function(){return R(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Oo=function(t,e){return new Mo(t,e)};nn.mergeOptions({closePopupOnClick:!0}),nn.include({openPopup:function(t,e,n){return this._initOverlay(Mo,t,e,n).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),Un.include({bindPopup:function(t,e){return this._popup=this._initOverlay(Mo,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof Yn||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(this._popup&&this._map){qe(t);var e=t.layer||t.target;this._popup._source!==e||e instanceof oo?(this._popup._source=e,this.openPopup(t.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Io=zo.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){zo.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){zo.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=zo.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip",e=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=fe("div",e),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+a(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n,o=this._map,i=this._container,r=o.latLngToContainerPoint(o.getCenter()),a=o.layerPointToContainerPoint(t),s=this.options.direction,l=i.offsetWidth,c=i.offsetHeight,u=R(this.options.offset),h=this._getAnchor();"top"===s?(e=l/2,n=c):"bottom"===s?(e=l/2,n=0):"center"===s?(e=l/2,n=c/2):"right"===s?(e=0,n=c/2):"left"===s?(e=l,n=c/2):a.x<r.x?(s="right",e=0,n=c/2):(s="left",e=l+2*(u.x+h.x),n=c/2),t=t.subtract(R(e,n,!0)).add(u).add(h),we(i,"leaflet-tooltip-right"),we(i,"leaflet-tooltip-left"),we(i,"leaflet-tooltip-top"),we(i,"leaflet-tooltip-bottom"),_e(i,"leaflet-tooltip-"+s),Pe(i,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&ke(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return R(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),Ro=function(t,e){return new Io(t,e)};nn.include({openTooltip:function(t,e,n){return this._initOverlay(Io,t,e,n).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),Un.include({bindTooltip:function(t,e){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Io,this._tooltip,t,e),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var e=t?"off":"on",n={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,n.click=this._openTooltip,this._map?this._addFocusListeners():n.add=this._addFocusListeners),this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),this[e](n),this._tooltipHandlersAdded=!t}},openTooltip:function(t){return this._tooltip&&(this instanceof Yn||(this._tooltip._source=this),this._tooltip._prepareOpen(t)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(t){var e="function"===typeof t.getElement&&t.getElement();e&&(Ne(e,"focus",(function(){this._tooltip._source=t,this.openTooltip()}),this),Ne(e,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(t){var e="function"===typeof t.getElement&&t.getElement();e&&e.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(t){if(this._tooltip&&this._map)if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var e=this;this._map.once("moveend",(function(){e._openOnceFlag=!1,e._openTooltip(t)}))}else this._tooltip._source=t.layer||t.target,this.openTooltip(this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var e,n,o=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),n=this._map.containerPointToLayerPoint(e),o=this._map.layerPointToLatLng(n)),this._tooltip.setLatLng(o)}});var Bo=Jn.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var e=t&&"DIV"===t.tagName?t:document.createElement("div"),n=this.options;if(n.html instanceof Element?(me(e),e.appendChild(n.html)):e.innerHTML=!1!==n.html?n.html:"",n.bgPos){var o=R(n.bgPos);e.style.backgroundPosition=-o.x+"px "+-o.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});function No(t){return new Bo(t)}Jn.Default=Qn;var Do=Un.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Bt.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){f(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),pe(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ge(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ye(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var t=this._clampZoom(this._map.getZoom());t!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()}return this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=s(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof O?t:new O(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,n=this.getPane().children,o=-t(-1/0,1/0),i=0,r=n.length;i<r;i++)e=n[i].style.zIndex,n[i]!==this._container&&e&&(o=t(o,+e));isFinite(o)&&(this.options.zIndex=o+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Bt.ielt9){ke(this._container,this.options.opacity);var t=+new Date,e=!1,n=!1;for(var o in this._tiles){var i=this._tiles[o];if(i.current&&i.loaded){var r=Math.min(1,(t-i.loaded)/200);ke(i.el,r),r<1?e=!0:(i.active?n=!0:this._onOpaqueTile(i),i.active=!0)}}n&&!this._noPrune&&this._pruneTiles(),e&&(T(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this))}},_onOpaqueTile:c,_initContainer:function(){this._container||(this._container=fe("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var n in this._levels)n=Number(n),this._levels[n].el.children.length||n===t?(this._levels[n].el.style.zIndex=e-Math.abs(t-n),this._onUpdateLevel(n)):(pe(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var o=this._levels[t],i=this._map;return o||(o=this._levels[t]={},o.el=fe("div","leaflet-tile-container leaflet-zoom-animated",this._container),o.el.style.zIndex=e,o.origin=i.project(i.unproject(i.getPixelOrigin()),t).round(),o.zoom=t,this._setZoomTransform(o,i.getCenter(),i.getZoom()),c(o.el.offsetWidth),this._onCreateLevel(o)),this._level=o,o}},_onUpdateLevel:c,_onRemoveLevel:c,_onCreateLevel:c,_pruneTiles:function(){if(this._map){var t,e,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)e=this._tiles[t],e.retain=e.current;for(t in this._tiles)if(e=this._tiles[t],e.current&&!e.active){var o=e.coords;this._retainParent(o.x,o.y,o.z,o.z-5)||this._retainChildren(o.x,o.y,o.z,o.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)pe(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,n,o){var i=Math.floor(t/2),r=Math.floor(e/2),a=n-1,s=new O(+i,+r);s.z=+a;var l=this._tileCoordsToKey(s),c=this._tiles[l];return c&&c.active?(c.retain=!0,!0):(c&&c.loaded&&(c.retain=!0),a>o&&this._retainParent(i,r,a,o))},_retainChildren:function(t,e,n,o){for(var i=2*t;i<2*t+2;i++)for(var r=2*e;r<2*e+2;r++){var a=new O(i,r);a.z=n+1;var s=this._tileCoordsToKey(a),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1<o&&this._retainChildren(i,r,n+1,o))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,n,o){var i=Math.round(e);i=void 0!==this.options.maxZoom&&i>this.options.maxZoom||void 0!==this.options.minZoom&&i<this.options.minZoom?void 0:this._clampZoom(i);var r=this.options.updateWhenZooming&&i!==this._tileZoom;o&&!r||(this._tileZoom=i,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==i&&this._update(t),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var n in this._levels)this._setZoomTransform(this._levels[n],t,e)},_setZoomTransform:function(t,e,n){var o=this._map.getZoomScale(n,t.zoom),i=t.origin.multiplyBy(o).subtract(this._map._getNewPixelOrigin(e,n)).round();Bt.any3d?Te(t.el,i,o):Pe(t.el,i)},_resetGrid:function(){var t=this._map,e=t.options.crs,n=this._tileSize=this.getTileSize(),o=this._tileZoom,i=this._map.getPixelWorldBounds(this._tileZoom);i&&(this._globalTileRange=this._pxBoundsToTileRange(i)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],o).x/n.x),Math.ceil(t.project([0,e.wrapLng[1]],o).x/n.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],o).y/n.x),Math.ceil(t.project([e.wrapLat[1],0],o).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,n=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),o=e.getZoomScale(n,this._tileZoom),i=e.project(t,this._tileZoom).floor(),r=e.getSize().divideBy(2*o);return new B(i.subtract(r),i.add(r))},_update:function(t){var e=this._map;if(e){var n=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var o=this._getTiledPixelBounds(t),i=this._pxBoundsToTileRange(o),r=i.getCenter(),a=[],s=this.options.keepBuffer,l=new B(i.getBottomLeft().subtract([s,-s]),i.getTopRight().add([s,-s]));if(!(isFinite(i.min.x)&&isFinite(i.min.y)&&isFinite(i.max.x)&&isFinite(i.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var c in this._tiles){var u=this._tiles[c].coords;u.z===this._tileZoom&&l.contains(new O(u.x,u.y))||(this._tiles[c].current=!1)}if(Math.abs(n-this._tileZoom)>1)this._setView(t,n);else{for(var h=i.min.y;h<=i.max.y;h++)for(var d=i.min.x;d<=i.max.x;d++){var f=new O(d,h);if(f.z=this._tileZoom,this._isValidTile(f)){var p=this._tiles[this._tileCoordsToKey(f)];p?p.current=!0:a.push(f)}}if(a.sort((function(t,e){return t.distanceTo(r)-e.distanceTo(r)})),0!==a.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;d<a.length;d++)this._addTile(a[d],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var n=this._globalTileRange;if(!e.wrapLng&&(t.x<n.min.x||t.x>n.max.x)||!e.wrapLat&&(t.y<n.min.y||t.y>n.max.y))return!1}if(!this.options.bounds)return!0;var o=this._tileCoordsToBounds(t);return F(this.options.bounds).overlaps(o)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),o=t.scaleBy(n),i=o.add(n),r=e.unproject(o,t.z),a=e.unproject(i,t.z);return[r,a]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),n=new D(e[0],e[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),n=new O(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(pe(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){_e(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=c,t.onmousemove=c,Bt.ielt9&&this.options.opacity<1&&ke(t,this.options.opacity)},_addTile:function(t,e){var n=this._getTilePos(t),o=this._tileCoordsToKey(t),r=this.createTile(this._wrapCoords(t),i(this._tileReady,this,t));this._initTile(r),this.createTile.length<2&&C(i(this._tileReady,this,t,null,r)),Pe(r,n),this._tiles[o]={el:r,coords:t,current:!0},e.appendChild(r),this.fire("tileloadstart",{tile:r,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var o=this._tileCoordsToKey(t);n=this._tiles[o],n&&(n.loaded=+new Date,this._map._fadeAnimated?(ke(n.el,0),T(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(_e(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Bt.ielt9||!this._map._fadeAnimated?C(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new O(this._wrapX?l(t.x,this._wrapX):t.x,this._wrapY?l(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new B(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function Fo(t){return new Do(t)}var jo=Do.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,e=f(this,e),e.detectRetina&&Bt.retina&&e.maxZoom>0?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),"string"===typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return Ne(n,"load",i(this._tileOnLoad,this,e,n)),Ne(n,"error",i(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"===typeof this.options.referrerPolicy&&(n.referrerPolicy=this.options.referrerPolicy),n.alt="",n.src=this.getTileUrl(t),n},getTileUrl:function(t){var e={r:Bt.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var o=this._globalTileRange.max.y-t.y;this.options.tms&&(e["y"]=o),e["-y"]=o}return g(this._url,n(e,this.options))},_tileOnLoad:function(t,e){Bt.ielt9?setTimeout(i(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var o=this.options.errorTileUrl;o&&e.getAttribute("src")!==o&&(e.src=o),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom,n=this.options.zoomReverse,o=this.options.zoomOffset;return n&&(t=e-t),t+o},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&(e=this._tiles[t].el,e.onload=c,e.onerror=c,!e.complete)){e.src=_;var n=this._tiles[t].coords;pe(e),delete this._tiles[t],this.fire("tileabort",{tile:e,coords:n})}},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",_),Do.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==_))return Do.prototype._tileReady.call(this,t,e,n)}});function Wo(t,e){return new jo(t,e)}var Zo=jo.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var o=n({},this.defaultWmsParams);for(var i in e)i in this.options||(o[i]=e[i]);e=f(this,e);var r=e.detectRetina&&Bt.retina?2:1,a=this.getTileSize();o.width=a.x*r,o.height=a.y*r,this.wmsParams=o},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,jo.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,o=N(n.project(e[0]),n.project(e[1])),i=o.min,r=o.max,a=(this._wmsVersion>=1.3&&this._crs===Hn?[i.y,i.x,r.y,r.x]:[i.x,i.y,r.x,r.y]).join(","),s=jo.prototype.getTileUrl.call(this,t);return s+p(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+a},setParams:function(t,e){return n(this.wmsParams,t),e||this.redraw(),this}});function Vo(t,e){return new Zo(t,e)}jo.WMS=Zo,Wo.wms=Vo;var Ho=Un.extend({options:{padding:.1},initialize:function(t){f(this,t),a(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),_e(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),o=this._map.getSize().multiplyBy(.5+this.options.padding),i=this._map.project(this._center,e),r=o.multiplyBy(-n).add(i).subtract(this._map._getNewPixelOrigin(t,e));Bt.any3d?Te(this._container,r,n):Pe(this._container,r)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new B(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),$o=Ho.extend({options:{tolerance:0},getEvents:function(){var t=Ho.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Ho.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Ne(t,"mousemove",this._onMouseMove,this),Ne(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ne(t,"mouseout",this._handleMouseOut,this),t["_leaflet_disable_events"]=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){T(this._redrawRequest),delete this._ctx,pe(this._container),Fe(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;for(var e in this._redrawBounds=null,this._layers)t=this._layers[e],t._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){Ho.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),o=Bt.retina?2:1;Pe(e,t.min),e.width=o*n.x,e.height=o*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",Bt.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){Ho.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[a(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,o=e.prev;n?n.prev=o:this._drawLast=o,o?o.next=n:this._drawFirst=n,delete t._order,delete this._layers[a(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"===typeof t.options.dashArray){var e,n,o=t.options.dashArray.split(/[, ]+/),i=[];for(n=0;n<o.length;n++){if(e=Number(o[n]),isNaN(e))return;i.push(e)}t.options._dashArray=i}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||C(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new B,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var t,e=this._redrawBounds;if(this._ctx.save(),e){var n=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,n.x,n.y),this._ctx.clip()}this._drawing=!0;for(var o=this._drawFirst;o;o=o.next)t=o.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var n,o,i,r,a=t._parts,s=a.length,l=this._ctx;if(s){for(l.beginPath(),n=0;n<s;n++){for(o=0,i=a[n].length;o<i;o++)r=a[n][o],l[o?"lineTo":"moveTo"](r.x,r.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,n=this._ctx,o=Math.max(Math.round(t._radius),1),i=(Math.max(Math.round(t._radiusY),1)||o)/o;1!==i&&(n.save(),n.scale(1,i)),n.beginPath(),n.arc(e.x,e.y/i,o,0,2*Math.PI,!1),1!==i&&n.restore(),this._fillStroke(n,t)}},_fillStroke:function(t,e){var n=e.options;n.fill&&(t.globalAlpha=n.fillOpacity,t.fillStyle=n.fillColor||n.color,t.fill(n.fillRule||"evenodd")),n.stroke&&0!==n.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=n.opacity,t.lineWidth=n.weight,t.strokeStyle=n.color,t.lineCap=n.lineCap,t.lineJoin=n.lineJoin,t.stroke())},_onClick:function(t){for(var e,n,o=this._map.mouseEventToLayerPoint(t),i=this._drawFirst;i;i=i.next)e=i.layer,e.options.interactive&&e._containsPoint(o)&&("click"!==t.type&&"preclick"!==t.type||!this._map._draggableMoved(e))&&(n=e);this._fireEvent(!!n&&[n],t)},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(we(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var n,o,r=this._drawFirst;r;r=r.next)n=r.layer,n.options.interactive&&n._containsPoint(e)&&(o=n);o!==this._hoveredLayer&&(this._handleMouseOut(t),o&&(_e(this._container,"leaflet-interactive"),this._fireEvent([o],t,"mouseover"),this._hoveredLayer=o)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(i((function(){this._mouseHoverThrottled=!1}),this),32)}},_fireEvent:function(t,e,n){this._map._fireDOMEvent(e,n||e.type,t)},_bringToFront:function(t){var e=t._order;if(e){var n=e.next,o=e.prev;n&&(n.prev=o,o?o.next=n:n&&(this._drawFirst=n),e.prev=this._drawLast,this._drawLast.next=e,e.next=null,this._drawLast=e,this._requestRedraw(t))}},_bringToBack:function(t){var e=t._order;if(e){var n=e.next,o=e.prev;o&&(o.next=n,n?n.prev=o:o&&(this._drawLast=o),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}});function Uo(t){return Bt.canvas?new $o(t):null}var Go=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),qo={_initContainer:function(){this._container=fe("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Ho.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Go("shape");_e(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Go("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;pe(e),t.removeInteractiveTarget(e),delete this._layers[a(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,o=t.options,i=t._container;i.stroked=!!o.stroke,i.filled=!!o.fill,o.stroke?(e||(e=t._stroke=Go("stroke")),i.appendChild(e),e.weight=o.weight+"px",e.color=o.color,e.opacity=o.opacity,o.dashArray?e.dashStyle=y(o.dashArray)?o.dashArray.join(" "):o.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=o.lineCap.replace("butt","flat"),e.joinstyle=o.lineJoin):e&&(i.removeChild(e),t._stroke=null),o.fill?(n||(n=t._fill=Go("fill")),i.appendChild(n),n.color=o.fillColor||o.color,n.opacity=o.fillOpacity):n&&(i.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),o=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+o+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){ge(t._container)},_bringToBack:function(t){ye(t._container)}},Yo=Bt.vml?Go:K,Ko=Ho.extend({_initContainer:function(){this._container=Yo("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Yo("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){pe(this._container),Fe(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){Ho.prototype._update.call(this);var t=this._bounds,e=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),Pe(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=Yo("path");t.options.className&&_e(e,t.options.className),t.options.interactive&&_e(e,"leaflet-interactive"),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){pe(t._path),t.removeInteractiveTarget(t._path),delete this._layers[a(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,n=t.options;e&&(n.stroke?(e.setAttribute("stroke",n.color),e.setAttribute("stroke-opacity",n.opacity),e.setAttribute("stroke-width",n.weight),e.setAttribute("stroke-linecap",n.lineCap),e.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?e.setAttribute("stroke-dasharray",n.dashArray):e.removeAttribute("stroke-dasharray"),n.dashOffset?e.setAttribute("stroke-dashoffset",n.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),n.fill?(e.setAttribute("fill",n.fillColor||n.color),e.setAttribute("fill-opacity",n.fillOpacity),e.setAttribute("fill-rule",n.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,J(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),o=Math.max(Math.round(t._radiusY),1)||n,i="a"+n+","+o+" 0 1,0 ",r=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(t,r)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){ge(t._path)},_bringToBack:function(t){ye(t._path)}});function Jo(t){return Bt.svg||Bt.vml?new Ko(t):null}Bt.vml&&Ko.include(qo),nn.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&Uo(t)||Jo(t)}});var Xo=uo.extend({initialize:function(t,e){uo.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=F(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function Qo(t,e){return new Xo(t,e)}Ko.create=Yo,Ko.pointsToPath=J,fo.geometryToLayer=po,fo.coordsToLatLng=go,fo.coordsToLatLngs=yo,fo.latLngToCoords=vo,fo.latLngsToCoords=_o,fo.getFeature=wo,fo.asFeature=bo,nn.mergeOptions({boxZoom:!0});var ti=gn.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Ne(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Fe(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){pe(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),oe(),Ee(),this._startPoint=this._map.mouseEventToContainerPoint(t),Ne(document,{contextmenu:qe,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=fe("div","leaflet-zoom-box",this._container),_e(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new B(this._point,this._startPoint),n=e.getSize();Pe(this._box,e.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(pe(this._box),we(this._container,"leaflet-crosshair")),ie(),ze(),Fe(document,{contextmenu:qe,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var e=new D(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});nn.addInitHook("addHandler","boxZoom",ti),nn.mergeOptions({doubleClickZoom:!0});var ei=gn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),o=e.options.zoomDelta,i=t.originalEvent.shiftKey?n-o:n+o;"center"===e.options.doubleClickZoom?e.setZoom(i):e.setZoomAround(t.containerPoint,i)}});nn.addInitHook("addHandler","doubleClickZoom",ei),nn.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var ni=gn.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new _n(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}_e(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){we(this._map._container,"leaflet-grab"),we(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=F(this._map.options.maxBounds);this._offsetLimit=N(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){while(this._positions.length>1&&t-this._times[0]>50)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,o=this._draggable._newPos.x,i=(o-e+n)%t+e-n,r=(o+e+n)%t-e-n,a=Math.abs(i+n)<Math.abs(r+n)?i:r;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=a},_onDragEnd:function(t){var e=this._map,n=e.options,o=!n.inertia||t.noInertia||this._times.length<2;if(e.fire("dragend",t),o)e.fire("moveend");else{this._prunePositions(+new Date);var i=this._lastPos.subtract(this._positions[0]),r=(this._lastTime-this._times[0])/1e3,a=n.easeLinearity,s=i.multiplyBy(a/r),l=s.distanceTo([0,0]),c=Math.min(n.inertiaMaxSpeed,l),u=s.multiplyBy(c/l),h=c/(n.inertiaDeceleration*a),d=u.multiplyBy(-h/2).round();d.x||d.y?(d=e._limitOffset(d,e.options.maxBounds),C((function(){e.panBy(d,{duration:h,easeLinearity:a,noMoveStart:!0,animate:!0})}))):e.fire("moveend")}}});nn.addInitHook("addHandler","dragging",ni),nn.mergeOptions({keyboard:!0,keyboardPanDelta:80});var oi=gn.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),Ne(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Fe(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,e=document.documentElement,n=t.scrollTop||e.scrollTop,o=t.scrollLeft||e.scrollLeft;this._map._container.focus(),window.scrollTo(o,n)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e,n,o=this._panKeys={},i=this.keyCodes;for(e=0,n=i.left.length;e<n;e++)o[i.left[e]]=[-1*t,0];for(e=0,n=i.right.length;e<n;e++)o[i.right[e]]=[t,0];for(e=0,n=i.down.length;e<n;e++)o[i.down[e]]=[0,t];for(e=0,n=i.up.length;e<n;e++)o[i.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,n,o=this._zoomKeys={},i=this.keyCodes;for(e=0,n=i.zoomIn.length;e<n;e++)o[i.zoomIn[e]]=t;for(e=0,n=i.zoomOut.length;e<n;e++)o[i.zoomOut[e]]=-t},_addHooks:function(){Ne(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Fe(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,n=t.keyCode,o=this._map;if(n in this._panKeys){if(!o._panAnim||!o._panAnim._inProgress)if(e=this._panKeys[n],t.shiftKey&&(e=R(e).multiplyBy(3)),o.options.maxBounds&&(e=o._limitOffset(R(e),o.options.maxBounds)),o.options.worldCopyJump){var i=o.wrapLatLng(o.unproject(o.project(o.getCenter()).add(e)));o.panTo(i)}else o.panBy(e)}else if(n in this._zoomKeys)o.setZoom(o.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[n]);else{if(27!==n||!o._popup||!o._popup.options.closeOnEscapeKey)return;o.closePopup()}qe(t)}}});nn.addInitHook("addHandler","keyboard",oi),nn.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var ii=gn.extend({addHooks:function(){Ne(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Fe(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=Xe(t),n=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var o=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(i(this._performZoom,this),o),qe(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),n=this._map.options.zoomSnap||0;t._stop();var o=this._delta/(4*this._map.options.wheelPxPerZoomLevel),i=4*Math.log(2/(1+Math.exp(-Math.abs(o))))/Math.LN2,r=n?Math.ceil(i/n)*n:i,a=t._limitZoom(e+(this._delta>0?r:-r))-e;this._delta=0,this._startTime=null,a&&("center"===t.options.scrollWheelZoom?t.setZoom(e+a):t.setZoomAround(this._lastMousePos,e+a))}});nn.addInitHook("addHandler","scrollWheelZoom",ii);var ri=600;nn.mergeOptions({tapHold:Bt.touchNative&&Bt.safari&&Bt.mobile,tapTolerance:15});var ai=gn.extend({addHooks:function(){Ne(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Fe(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),1===t.touches.length){var e=t.touches[0];this._startPos=this._newPos=new O(e.clientX,e.clientY),this._holdTimeout=setTimeout(i((function(){this._cancel(),this._isTapValid()&&(Ne(document,"touchend",Ge),Ne(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))}),this),ri),Ne(document,"touchend touchcancel contextmenu",this._cancel,this),Ne(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){Fe(document,"touchend",Ge),Fe(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),Fe(document,"touchend touchcancel contextmenu",this._cancel,this),Fe(document,"touchmove",this._onMove,this)},_onMove:function(t){var e=t.touches[0];this._newPos=new O(e.clientX,e.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){var n=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});n._simulated=!0,e.target.dispatchEvent(n)}});nn.addInitHook("addHandler","tapHold",ai),nn.mergeOptions({touchZoom:Bt.touch,bounceAtZoomLimits:!0});var si=gn.extend({addHooks:function(){_e(this._map._container,"leaflet-touch-zoom"),Ne(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){we(this._map._container,"leaflet-touch-zoom"),Fe(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var n=e.mouseEventToContainerPoint(t.touches[0]),o=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(n.add(o)._divideBy(2))),this._startDist=n.distanceTo(o),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Ne(document,"touchmove",this._onTouchMove,this),Ne(document,"touchend touchcancel",this._onTouchEnd,this),Ge(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),o=e.mouseEventToContainerPoint(t.touches[1]),r=n.distanceTo(o)/this._startDist;if(this._zoom=e.getScaleZoom(r,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&r<1||this._zoom>e.getMaxZoom()&&r>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===r)return}else{var a=n._add(o)._divideBy(2)._subtract(this._centerPoint);if(1===r&&0===a.x&&0===a.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(a),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),T(this._animRequest);var s=i(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=C(s,this,!0),Ge(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,T(this._animRequest),Fe(document,"touchmove",this._onTouchMove,this),Fe(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});nn.addInitHook("addHandler","touchZoom",si),nn.BoxZoom=ti,nn.DoubleClickZoom=ei,nn.Drag=ni,nn.Keyboard=oi,nn.ScrollWheelZoom=ii,nn.TapHold=ai,nn.TouchZoom=si,t.Bounds=B,t.Browser=Bt,t.CRS=Z,t.Canvas=$o,t.Circle=ao,t.CircleMarker=io,t.Class=A,t.Control=rn,t.DivIcon=Bo,t.DivOverlay=zo,t.DomEvent=tn,t.DomUtil=Be,t.Draggable=_n,t.Evented=M,t.FeatureGroup=Yn,t.GeoJSON=fo,t.GridLayer=Do,t.Handler=gn,t.Icon=Jn,t.ImageOverlay=Co,t.LatLng=j,t.LatLngBounds=D,t.Layer=Un,t.LayerGroup=Gn,t.LineUtil=Fn,t.Map=nn,t.Marker=eo,t.Mixin=yn,t.Path=oo,t.Point=O,t.PolyUtil=Sn,t.Polygon=uo,t.Polyline=lo,t.Popup=Mo,t.PosAnimation=en,t.Projection=Zn,t.Rectangle=Xo,t.Renderer=Ho,t.SVG=Ko,t.SVGOverlay=Ao,t.TileLayer=jo,t.Tooltip=Io,t.Transformation=U,t.Util=P,t.VideoOverlay=Po,t.bind=i,t.bounds=N,t.canvas=Uo,t.circle=so,t.circleMarker=ro,t.control=an,t.divIcon=No,t.extend=n,t.featureGroup=Kn,t.geoJSON=ko,t.geoJson=So,t.gridLayer=Fo,t.icon=Xn,t.imageOverlay=To,t.latLng=W,t.latLngBounds=F,t.layerGroup=qn,t.map=on,t.marker=no,t.point=R,t.polygon=ho,t.polyline=co,t.popup=Oo,t.rectangle=Qo,t.setOptions=f,t.stamp=a,t.svg=Jo,t.svgOverlay=Eo,t.tileLayer=Wo,t.tooltip=Ro,t.transformation=G,t.version=e,t.videoOverlay=Lo;var li=window.L;t.noConflict=function(){return window.L=li,this},window.L=t}))},262:(t,e)=>{"use strict";e.A=(t,e)=>{const n=t.__vccOpts||t;for(const[o,i]of e)n[o]=i;return n}},414:(t,e,n)=>{var o=n(101);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("2b70d5b0",o,!0,{sourceMap:!1,shadowMode:!1})},587:(t,e,n)=>{var o=n(908);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("1d90ba1d",o,!0,{sourceMap:!1,shadowMode:!1})},273:(t,e,n)=>{var o=n(42);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("130a25fc",o,!0,{sourceMap:!1,shadowMode:!1})},75:(t,e,n)=>{var o=n(140);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("0617178f",o,!0,{sourceMap:!1,shadowMode:!1})},734:(t,e,n)=>{var o=n(396);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("142aedd7",o,!0,{sourceMap:!1,shadowMode:!1})},415:(t,e,n)=>{var o=n(197);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("2fe0b1fa",o,!0,{sourceMap:!1,shadowMode:!1})},960:(t,e,n)=>{var o=n(514);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("c9d2f80e",o,!0,{sourceMap:!1,shadowMode:!1})},566:(t,e,n)=>{var o=n(688);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("182806a6",o,!0,{sourceMap:!1,shadowMode:!1})},308:(t,e,n)=>{var o=n(442);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("0d95731f",o,!0,{sourceMap:!1,shadowMode:!1})},494:(t,e,n)=>{var o=n(860);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("f06498b4",o,!0,{sourceMap:!1,shadowMode:!1})},233:(t,e,n)=>{var o=n(455);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("0bc54db6",o,!0,{sourceMap:!1,shadowMode:!1})},522:(t,e,n)=>{var o=n(999);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(548).A;i("520373dc",o,!0,{sourceMap:!1,shadowMode:!1})},548:(t,e,n)=>{"use strict";function o(t,e){for(var n=[],o={},i=0;i<e.length;i++){var r=e[i],a=r[0],s=r[1],l=r[2],c=r[3],u={id:t+":"+i,css:s,media:l,sourceMap:c};o[a]?o[a].parts.push(u):n.push(o[a]={id:a,parts:[u]})}return n}n.d(e,{A:()=>p});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},a=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},h=null,d="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,i){c=n,h=i||{};var a=o(t,e);return m(a),function(e){for(var n=[],i=0;i<a.length;i++){var s=a[i],l=r[s.id];l.refs--,n.push(l)}e?(a=o(t,e),m(a)):a=[];for(i=0;i<n.length;i++){l=n[i];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete r[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],o=r[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(y(n.parts[i]));o.parts.length>n.parts.length&&(o.parts.length=n.parts.length)}else{var a=[];for(i=0;i<n.parts.length;i++)a.push(y(n.parts[i]));r[n.id]={id:n.id,refs:1,parts:a}}}}function g(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function y(t){var e,n,o=document.querySelector("style["+d+'~="'+t.id+'"]');if(o){if(c)return u;o.parentNode.removeChild(o)}if(f){var i=l++;o=s||(s=g()),e=_.bind(null,o,i,!1),n=_.bind(null,o,i,!0)}else o=g(),e=w.bind(null,o),n=function(){o.parentNode.removeChild(o)};return e(t),function(o){if(o){if(o.css===t.css&&o.media===t.media&&o.sourceMap===t.sourceMap)return;e(t=o)}else n()}}var v=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function _(t,e,n,o){var i=n?"":o.css;if(t.styleSheet)t.styleSheet.cssText=v(e,i);else{var r=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(r,a[e]):t.appendChild(r)}}function w(t,e){var n=e.css,o=e.media,i=e.sourceMap;if(o&&t.setAttribute("media",o),h.ssrId&&t.setAttribute(d,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},577:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII="},648:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC"},24:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII="},380:t=>{"use strict";t.exports=e},274:e=>{"use strict";e.exports=t}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var r=o[t]={id:t,exports:{}};return n[t].call(r.exports,r,r.exports,i),r.exports}i.m=n,(()=>{i.n=t=>{var e=t&&t.__esModule?()=>t["default"]:()=>t;return i.d(e,{a:e}),e}})(),(()=>{i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}})(),(()=>{i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()})(),(()=>{i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})(),(()=>{i.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})(),(()=>{i.p=""})(),(()=>{i.b=document.baseURI||self.location.href})();var r={};return(()=>{"use strict";if(i.r(r),i.d(r,{API_BASE_URL:()=>kl,BackgroundImageset:()=>ql,CreditLogos:()=>yl,D2R:()=>bl,DEFAULT_RATING_COLORS:()=>Cl,DefaultMiniCredits:()=>il,FundingAcknowledgment:()=>cl,Gallery:()=>kc,IconButton:()=>bs,KeyboardControlSettings:()=>h,LocationSelector:()=>Js,MINIDS_BASE_URL:()=>Sl,MiniDSBase:()=>w,R2D:()=>xl,UserExperience:()=>Bl,skyBackgroundImagesets:()=>Yl,submitUserExperienceRating:()=>Tl,wwtHUD:()=>Gl}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(i.p=e[1])}var n=function(){return n=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},n.apply(this,arguments)};function o(t,e,n,o){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function a(t){try{l(o.next(t))}catch(e){r(e)}}function s(t){try{l(o["throw"](t))}catch(e){r(e)}}function l(t){t.done?n(t.value):i(t.value).then(a,s)}l((o=o.apply(t,e||[])).next())}))}function a(t,e){var n,o,i,r,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return l([t,e])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(a=0)),a)try{if(n=1,o&&(i=2&s[0]?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,o=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(l){s=[6,l],o=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}Object.create;function s(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],o=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,i,r=n.call(t),a=[];try{while((void 0===e||e-- >0)&&!(o=r.next()).done)a.push(o.value)}catch(s){i={error:s}}finally{try{o&&!o.done&&(n=r["return"])&&n.call(r)}finally{if(i)throw i.error}}return a}function c(t,e,n){if(n||2===arguments.length)for(var o,i=0,r=e.length;i<r;i++)!o&&i in e||(o||(o=Array.prototype.slice.call(e,0,i)),o[i]=e[i]);return t.concat(o||Array.prototype.slice.call(e))}Object.create;"function"===typeof SuppressedError&&SuppressedError;var u=function(){function t(t,e){var n,o,i,r;this.code=t,this.ctrl=null!==(n=null===e||void 0===e?void 0:e.ctrl)&&void 0!==n&&n,this.alt=null!==(o=null===e||void 0===e?void 0:e.alt)&&void 0!==o&&o,this.shift=null!==(i=null===e||void 0===e?void 0:e.shift)&&void 0!==i&&i,this.meta=null!==(r=null===e||void 0===e?void 0:e.meta)&&void 0!==r&&r}return t.prototype.matches=function(t){return t.code===this.code&&t.ctrlKey===this.ctrl&&t.altKey===this.alt&&t.shiftKey===this.shift&&t.metaKey===this.meta},t}(),h=function(){function t(t){var e=t.zoomIn,n=void 0===e?[new u("KeyI")]:e,o=t.zoomOut,i=void 0===o?[new u("KeyO")]:o,r=t.moveUp,a=void 0===r?[new u("KeyW")]:r,s=t.moveLeft,l=void 0===s?[new u("KeyA")]:s,c=t.moveDown,h=void 0===c?[new u("KeyS")]:c,d=t.moveRight,f=void 0===d?[new u("KeyD")]:d,p=t.moveAmount,m=void 0===p?20:p;this.actionTypes=["zoomIn","zoomOut","moveUp","moveDown","moveLeft","moveRight"],this.zoomIn=n,this.zoomOut=i,this.moveUp=a,this.moveDown=h,this.moveLeft=l,this.moveRight=f,this.moveAmount=m}return t.prototype.makeListener=function(t,e){var n=this;return function(o){var i,r;try{for(var a=s(n[t]),l=a.next();!l.done;l=a.next()){var c=l.value;c.matches(o)&&e()}}catch(u){i={error:u}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}}},t}(),d=i(274),f=i(883);const p=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],m=(()=>{if("undefined"===typeof document)return!1;const t=p[0],e={};for(const n of p){const o=n?.[1];if(o in document){for(const[o,i]of n.entries())e[t[o]]=i;return e}}return!1})(),g={change:m.fullscreenchange,error:m.fullscreenerror};let y={request(t=document.documentElement,e){return new Promise(((n,o)=>{const i=()=>{y.off("change",i),n()};y.on("change",i);const r=t[m.requestFullscreen](e);r instanceof Promise&&r.then(i).catch(o)}))},exit(){return new Promise(((t,e)=>{if(!y.isFullscreen)return void t();const n=()=>{y.off("change",n),t()};y.on("change",n);const o=document[m.exitFullscreen]();o instanceof Promise&&o.then(n).catch(e)}))},toggle(t,e){return y.isFullscreen?y.exit():y.request(t,e)},onchange(t){y.on("change",t)},onerror(t){y.on("error",t)},on(t,e){const n=g[t];n&&document.addEventListener(n,e,!1)},off(t,e){const n=g[t];n&&document.removeEventListener(n,e,!1)},raw:m};Object.defineProperties(y,{isFullscreen:{get:()=>Boolean(document[m.fullscreenElement])},element:{enumerable:!0,get:()=>document[m.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>Boolean(document[m.fullscreenEnabled])}}),m||(y={isEnabled:!1});const v=y;var _={width:1200,height:900};const w=(0,d.defineComponent)({extends:f.WWTAwareComponent,props:{kcs:{type:h,default:new h({})}},data:function(){return{fullscreenModeActive:!1,resizeObserver:null,touchscreen:!1,windowShape:_}},created:function(){this.touchscreen="ontouchstart"in window||"ontouchstart"in document.documentElement||!!window.navigator.msPointerEnabled},mounted:function(){var t=this;v.isEnabled&&v.on("change",this.onFullscreenEvent),this.resizeObserver=new ResizeObserver((function(e){return t.onResizeEvent()})),this.resizeObserver.observe(this.$el),this.onResizeEvent(),window.addEventListener("keydown",this.kcs.makeListener("zoomIn",(function(){return t.doZoom(!0)}))),window.addEventListener("keydown",this.kcs.makeListener("zoomOut",(function(){return t.doZoom(!1)}))),window.addEventListener("keydown",this.kcs.makeListener("moveUp",(function(){return t.doMove(0,t.kcs.moveAmount)}))),window.addEventListener("keydown",this.kcs.makeListener("moveDown",(function(){return t.doMove(0,-t.kcs.moveAmount)}))),window.addEventListener("keydown",this.kcs.makeListener("moveLeft",(function(){return t.doMove(t.kcs.moveAmount,0)}))),window.addEventListener("keydown",this.kcs.makeListener("moveRight",(function(){return t.doMove(-t.kcs.moveAmount,0)})))},destroyed:function(){var t;v.isEnabled&&v.off("change",this.onFullscreenEvent),null===(t=this.resizeObserver)||void 0===t||t.unobserve(this.$el)},methods:{doZoom:function(t){t?this.zoom(1/1.3):this.zoom(1.3)},doMove:function(t,e){this.move({x:t,y:e})},onFullscreenEvent:function(){v.isEnabled&&(this.fullscreenModeActive=v.isFullscreen)},onResizeEvent:function(){var t=this.$el.clientWidth,e=this.$el.clientHeight;this.windowShape=t>0&&e>0?{width:t,height:e}:_},blurActiveElement:function(){var t=document.activeElement;t instanceof HTMLElement&&t.blur()}},computed:{fullscreenAvailable:function(){return v.isEnabled}}});var b=["id"];function x(t,e,n,o,i,r){var a=(0,d.resolveComponent)("font-awesome-icon"),s=(0,d.resolveComponent)("v-icon"),u=(0,d.resolveComponent)("v-tooltip");return(0,d.openBlock)(),(0,d.createBlock)(u,{modelValue:t.tooltip,"onUpdate:modelValue":e[4]||(e[4]=function(e){return t.tooltip=e}),location:t.tooltipLocation,"open-on-click":t.tooltipOnClick,"open-on-focus":t.tooltipOnFocus,"open-on-hover":t.tooltipOnHover,offset:t.tooltipOffset,disabled:!t.tooltipText||!t.showTooltip},{activator:(0,d.withCtx)((function(n){var o=n.props;return[(0,d.createElementVNode)("div",(0,d.mergeProps)(o,{id:t.buttonID,class:["icon-wrapper",{active:t.modelValue}],onClick:e[0]||(e[0]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.handleAction&&t.handleAction.apply(t,c([],l(e),!1))}),onKeyup:e[1]||(e[1]=(0,d.withKeys)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.handleAction&&t.handleAction.apply(t,c([],l(e),!1))}),["enter"])),onTouchstart:e[2]||(e[2]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.handleTouchStart&&t.handleTouchStart.apply(t,c([],l(e),!1))}),onTouchend:e[3]||(e[3]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.handleTouchEnd&&t.handleTouchEnd.apply(t,c([],l(e),!1))}),style:t.cssVars,tabindex:"0"}),[(0,d.renderSlot)(t.$slots,"button",{},(function(){return[t.faIcon?((0,d.openBlock)(),(0,d.createBlock)(a,{key:0,icon:t.faIcon,size:t.faSize,class:(0,d.normalizeClass)(["fa-icon",t.faIcon])},null,8,["icon","size","class"])):(0,d.createCommentVNode)("",!0),t.mdIcon?((0,d.openBlock)(),(0,d.createBlock)(s,{key:1,size:t.mdSize,class:(0,d.normalizeClass)(["md-icon",t.mdIcon])},{default:(0,d.withCtx)((function(){return[(0,d.createTextVNode)((0,d.toDisplayString)("mdi-".concat(t.mdIcon)),1)]})),_:1},8,["size","class"])):(0,d.createCommentVNode)("",!0)]}))],16,b)]})),default:(0,d.withCtx)((function(){return[(0,d.createElementVNode)("span",null,(0,d.toDisplayString)(t.tooltipText),1)]})),_:3},8,["modelValue","location","open-on-click","open-on-focus","open-on-hover","offset","disabled"])}i(75),i(273);function k(t,e){let n;function o(){n=(0,d.effectScope)(),n.run((()=>e.length?e((()=>{n?.stop(),o()})):e()))}(0,d.watch)(t,(t=>{t&&!n?o():t||(n?.stop(),n=void 0)}),{immediate:!0}),(0,d.onScopeDispose)((()=>{n?.stop()}))}function S(t,e){return{x:t.x+e.x,y:t.y+e.y}}function C(t,e){return{x:t.x-e.x,y:t.y-e.y}}function T(t,e){if("top"===t.side||"bottom"===t.side){const{side:n,align:o}=t,i="left"===o?0:"center"===o?e.width/2:"right"===o?e.width:o,r="top"===n?0:"bottom"===n?e.height:n;return S({x:i,y:r},e)}if("left"===t.side||"right"===t.side){const{side:n,align:o}=t,i="left"===n?0:"right"===n?e.width:n,r="top"===o?0:"center"===o?e.height/2:"bottom"===o?e.height:o;return S({x:i,y:r},e)}return S({x:e.width/2,y:e.height/2},e)}function P(t,e){return n=>Object.keys(t).reduce(((o,i)=>{const r="object"===typeof t[i]&&null!=t[i]&&!Array.isArray(t[i]),a=r?t[i]:{type:t[i]};return o[i]=n&&i in n?{...a,default:n[i]}:a,e&&!o[i].source&&(o[i].source=e),o}),{})}const L="undefined"!==typeof window;L&&window,L&&("ontouchstart"in window||window.navigator.maxTouchPoints),L&&window;class A{constructor(t){let{x:e,y:n,width:o,height:i}=t;this.x=e,this.y=n,this.width=o,this.height=i}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function E(t,e){return{x:{before:Math.max(0,e.left-t.left),after:Math.max(0,t.right-e.right)},y:{before:Math.max(0,e.top-t.top),after:Math.max(0,t.bottom-e.bottom)}}}function z(t){return Array.isArray(t)?new A({x:t[0],y:t[1],width:0,height:0}):t.getBoundingClientRect()}function M(t){const e=t.getBoundingClientRect(),n=getComputedStyle(t),o=n.transform;if(o){let i,r,a,s,l;if(o.startsWith("matrix3d("))i=o.slice(9,-1).split(/, /),r=+i[0],a=+i[5],s=+i[12],l=+i[13];else{if(!o.startsWith("matrix("))return new A(e);i=o.slice(7,-1).split(/, /),r=+i[0],a=+i[3],s=+i[4],l=+i[5]}const c=n.transformOrigin,u=e.x-s-(1-r)*parseFloat(c),h=e.y-l-(1-a)*parseFloat(c.slice(c.indexOf(" ")+1)),d=r?e.width/r:t.offsetWidth+1,f=a?e.height/a:t.offsetHeight+1;return new A({x:u,y:h,width:d,height:f})}return new A(e)}function O(t,e,n){if("undefined"===typeof t.animate)return{finished:Promise.resolve()};let o;try{o=t.animate(e,n)}catch(i){return{finished:Promise.resolve()}}return"undefined"===typeof o.finished&&(o.finished=new Promise((t=>{o.onfinish=()=>{t(o)}}))),o}function I(t){while(t){if("fixed"===window.getComputedStyle(t).position)return!0;t=t.offsetParent}return!1}function R(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";return null==t||""===t?void 0:isNaN(+t)?String(t):isFinite(+t)?`${Number(t)}${e}`:void 0}function B(t){return null!==t&&"object"===typeof t&&!Array.isArray(t)}function N(t){if(t&&"$el"in t){const e=t.$el;return e?.nodeType===Node.TEXT_NODE?e.nextElementSibling:e}return t}Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function D(t,e){return e.every((e=>t.hasOwnProperty(e)))}function F(t,e){const n={},o=new Set(Object.keys(t));for(const i of e)o.has(i)&&(n[i]=t[i]);return n}function j(t,e){const n={...t};return e.forEach((t=>delete n[t])),n}const W=/^on[^a-z]/,Z=t=>W.test(t);function V(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.max(e,Math.min(n,t))}function H(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0";return t+n.repeat(Math.max(0,e-t.length))}function $(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=[];let o=0;while(o<t.length)n.push(t.substr(o,e)),o+=e;return n}function U(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const o={};for(const i in t)o[i]=t[i];for(const i in e){const r=t[i],a=e[i];B(r)&&B(a)?o[i]=U(r,a,n):Array.isArray(r)&&Array.isArray(a)&&n?o[i]=n(r,a):o[i]=a}return o}function G(t){return t.map((t=>t.type===d.Fragment?G(t.children):t)).flat()}function q(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(q.cache.has(t))return q.cache.get(t);const e=t.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return q.cache.set(t,e),e}q.cache=new Map;function Y(t){const e=(0,d.reactive)({}),n=(0,d.computed)(t);return(0,d.watchEffect)((()=>{for(const t in n.value)e[t]=n.value[t]}),{flush:"sync"}),(0,d.toRefs)(e)}function K(t,e){return t.includes(e)}function J(t){return t[2].toLowerCase()+t.slice(3)}function X(t,e){const n=L&&"undefined"!==typeof CSS&&"undefined"!==typeof CSS.supports&&CSS.supports(`selector(${e})`);if(!n)return null;try{return!!t&&t.matches(e)}catch(o){return null}}function Q(t,e){if(!L||0===t)return e(),()=>{};const n=window.setTimeout(e,t);return()=>window.clearTimeout(n)}const tt=["top","bottom"],et=["start","end","left","right"];function nt(t,e){let[n,o]=t.split(" ");return o||(o=K(tt,n)?"start":K(et,n)?"top":"center"),{side:ot(n,e),align:ot(o,e)}}function ot(t,e){return"start"===t?e?"right":"left":"end"===t?e?"left":"right":t}function it(t){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.side],align:t.align}}function rt(t){return{side:t.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.align]}}function at(t){return{side:t.align,align:t.side}}function st(t){return K(tt,t.side)?"y":"x"}function lt(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];while(t){if(e?ht(t):ut(t))return t;t=t.parentElement}return document.scrollingElement}function ct(t,e){const n=[];if(e&&t&&!e.contains(t))return n;while(t){if(ut(t)&&n.push(t),t===e)break;t=t.parentElement}return n}function ut(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return"scroll"===e.overflowY||"auto"===e.overflowY&&t.scrollHeight>t.clientHeight}function ht(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return["scroll","auto"].includes(e.overflowY)}function dt(t){(0,d.warn)(`Vuetify: ${t}`)}function ft(t){(0,d.warn)(`Vuetify error: ${t}`)}const pt={static:yt,connected:_t},mt=P({locationStrategy:{type:[String,Function],default:"static",validator:t=>"function"===typeof t||t in pt},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function gt(t,e){const n=(0,d.ref)({}),o=(0,d.ref)();function i(t){o.value?.(t)}return L&&k((()=>!(!e.isActive.value||!t.locationStrategy)),(r=>{(0,d.watch)((()=>t.locationStrategy),r),(0,d.onScopeDispose)((()=>{window.removeEventListener("resize",i),o.value=void 0})),window.addEventListener("resize",i,{passive:!0}),"function"===typeof t.locationStrategy?o.value=t.locationStrategy(e,t,n)?.updateLocation:o.value=pt[t.locationStrategy](e,t,n)?.updateLocation})),{contentStyles:n,updateLocation:o}}function yt(){}function vt(t,e){e?t.style.removeProperty("left"):t.style.removeProperty("right");const n=M(t);return e?n.x+=parseFloat(t.style.right||0):n.x-=parseFloat(t.style.left||0),n.y-=parseFloat(t.style.top||0),n}function _t(t,e,n){const o=Array.isArray(t.target.value)||I(t.target.value);o&&Object.assign(n.value,{position:"fixed",top:0,[t.isRtl.value?"right":"left"]:0});const{preferredAnchor:i,preferredOrigin:r}=Y((()=>{const n=nt(e.location,t.isRtl.value),o="overlap"===e.origin?n:"auto"===e.origin?it(n):nt(e.origin,t.isRtl.value);return n.side===o.side&&n.align===rt(o).align?{preferredAnchor:at(n),preferredOrigin:at(o)}:{preferredAnchor:n,preferredOrigin:o}})),[a,s,l,c]=["minWidth","minHeight","maxWidth","maxHeight"].map((t=>(0,d.computed)((()=>{const n=parseFloat(e[t]);return isNaN(n)?1/0:n})))),u=(0,d.computed)((()=>{if(Array.isArray(e.offset))return e.offset;if("string"===typeof e.offset){const t=e.offset.split(" ").map(parseFloat);return t.length<2&&t.push(0),t}return"number"===typeof e.offset?[e.offset,0]:[0,0]}));let h=!1;const f=new ResizeObserver((()=>{h&&p()}));function p(){if(h=!1,requestAnimationFrame((()=>h=!0)),!t.target.value||!t.contentEl.value)return;const e=z(t.target.value),o=vt(t.contentEl.value,t.isRtl.value),d=ct(t.contentEl.value),f=12;d.length||(d.push(document.documentElement),t.contentEl.value.style.top&&t.contentEl.value.style.left||(o.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),o.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const p=d.reduce(((t,e)=>{const n=e.getBoundingClientRect(),o=new A({x:e===document.documentElement?0:n.x,y:e===document.documentElement?0:n.y,width:e.clientWidth,height:e.clientHeight});return t?new A({x:Math.max(t.left,o.left),y:Math.max(t.top,o.top),width:Math.min(t.right,o.right)-Math.max(t.left,o.left),height:Math.min(t.bottom,o.bottom)-Math.max(t.top,o.top)}):o}),void 0);p.x+=f,p.y+=f,p.width-=2*f,p.height-=2*f;let m={anchor:i.value,origin:r.value};function g(t){const n=new A(o),i=T(t.anchor,e),r=T(t.origin,n);let{x:a,y:s}=C(i,r);switch(t.anchor.side){case"top":s-=u.value[0];break;case"bottom":s+=u.value[0];break;case"left":a-=u.value[0];break;case"right":a+=u.value[0];break}switch(t.anchor.align){case"top":s-=u.value[1];break;case"bottom":s+=u.value[1];break;case"left":a-=u.value[1];break;case"right":a+=u.value[1];break}n.x+=a,n.y+=s,n.width=Math.min(n.width,l.value),n.height=Math.min(n.height,c.value);const h=E(n,p);return{overflows:h,x:a,y:s}}let y=0,v=0;const _={x:0,y:0},w={x:!1,y:!1};let b=-1;while(1){if(b++>10){ft("Infinite loop detected in connectedLocationStrategy");break}const{x:t,y:e,overflows:n}=g(m);y+=t,v+=e,o.x+=t,o.y+=e;{const t=st(m.anchor),e=n.x.before||n.x.after,o=n.y.before||n.y.after;let i=!1;if(["x","y"].forEach((r=>{if("x"===r&&e&&!w.x||"y"===r&&o&&!w.y){const e={anchor:{...m.anchor},origin:{...m.origin}},o="x"===r?"y"===t?rt:it:"y"===t?it:rt;e.anchor=o(e.anchor),e.origin=o(e.origin);const{overflows:a}=g(e);(a[r].before<=n[r].before&&a[r].after<=n[r].after||a[r].before+a[r].after<(n[r].before+n[r].after)/2)&&(m=e,i=w[r]=!0)}})),i)continue}n.x.before&&(y+=n.x.before,o.x+=n.x.before),n.x.after&&(y-=n.x.after,o.x-=n.x.after),n.y.before&&(v+=n.y.before,o.y+=n.y.before),n.y.after&&(v-=n.y.after,o.y-=n.y.after);{const t=E(o,p);_.x=p.width-t.x.before-t.x.after,_.y=p.height-t.y.before-t.y.after,y+=t.x.before,o.x+=t.x.before,v+=t.y.before,o.y+=t.y.before}break}const x=st(m.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${m.anchor.side} ${m.anchor.align}`,transformOrigin:`${m.origin.side} ${m.origin.align}`,top:R(wt(v)),left:t.isRtl.value?void 0:R(wt(y)),right:t.isRtl.value?R(wt(-y)):void 0,minWidth:R("y"===x?Math.min(a.value,e.width):a.value),maxWidth:R(bt(V(_.x,a.value===1/0?0:a.value,l.value))),maxHeight:R(bt(V(_.y,s.value===1/0?0:s.value,c.value)))}),{available:_,contentBox:o}}return(0,d.watch)([t.target,t.contentEl],((t,e)=>{let[n,o]=t,[i,r]=e;i&&!Array.isArray(i)&&f.unobserve(i),n&&!Array.isArray(n)&&f.observe(n),r&&f.unobserve(r),o&&f.observe(o)}),{immediate:!0}),(0,d.onScopeDispose)((()=>{f.disconnect()})),(0,d.watch)((()=>[i.value,r.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight]),(()=>p())),(0,d.nextTick)((()=>{const t=p();if(!t)return;const{available:e,contentBox:n}=t;n.height>e.y&&requestAnimationFrame((()=>{p(),requestAnimationFrame((()=>{p()}))}))})),{updateLocation:p}}function wt(t){return Math.round(t*devicePixelRatio)/devicePixelRatio}function bt(t){return Math.ceil(t*devicePixelRatio)/devicePixelRatio}let xt=!0;const kt=[];function St(t){!xt||kt.length?(kt.push(t),Tt()):(xt=!1,t(),Tt())}let Ct=-1;function Tt(){cancelAnimationFrame(Ct),Ct=requestAnimationFrame((()=>{const t=kt.shift();t&&t(),kt.length?Tt():xt=!0}))}const Pt={none:null,close:Et,block:zt,reposition:Mt},Lt=P({scrollStrategy:{type:[String,Function],default:"block",validator:t=>"function"===typeof t||t in Pt}},"VOverlay-scroll-strategies");function At(t,e){if(!L)return;let n;(0,d.watchEffect)((async()=>{n?.stop(),e.isActive.value&&t.scrollStrategy&&(n=(0,d.effectScope)(),await(0,d.nextTick)(),n.active&&n.run((()=>{"function"===typeof t.scrollStrategy?t.scrollStrategy(e,t,n):Pt[t.scrollStrategy]?.(e,t,n)})))})),(0,d.onScopeDispose)((()=>{n?.stop()}))}function Et(t){function e(e){t.isActive.value=!1}Ot(t.targetEl.value??t.contentEl.value,e)}function zt(t,e){const n=t.root.value?.offsetParent,o=[...new Set([...ct(t.targetEl.value,e.contained?n:void 0),...ct(t.contentEl.value,e.contained?n:void 0)])].filter((t=>!t.classList.contains("v-overlay-scroll-blocked"))),i=window.innerWidth-document.documentElement.offsetWidth,r=(t=>ut(t)&&t)(n||document.documentElement);r&&t.root.value.classList.add("v-overlay--scroll-blocked"),o.forEach(((t,e)=>{t.style.setProperty("--v-body-scroll-x",R(-t.scrollLeft)),t.style.setProperty("--v-body-scroll-y",R(-t.scrollTop)),t!==document.documentElement&&t.style.setProperty("--v-scrollbar-offset",R(i)),t.classList.add("v-overlay-scroll-blocked")})),(0,d.onScopeDispose)((()=>{o.forEach(((t,e)=>{const n=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),o=parseFloat(t.style.getPropertyValue("--v-body-scroll-y")),i=t.style.scrollBehavior;t.style.scrollBehavior="auto",t.style.removeProperty("--v-body-scroll-x"),t.style.removeProperty("--v-body-scroll-y"),t.style.removeProperty("--v-scrollbar-offset"),t.classList.remove("v-overlay-scroll-blocked"),t.scrollLeft=-n,t.scrollTop=-o,t.style.scrollBehavior=i})),r&&t.root.value.classList.remove("v-overlay--scroll-blocked")}))}function Mt(t,e,n){let o=!1,i=-1,r=-1;function a(e){St((()=>{const n=performance.now();t.updateLocation.value?.(e);const i=performance.now()-n;o=i/(1e3/60)>2}))}r=("undefined"===typeof requestIdleCallback?t=>t():requestIdleCallback)((()=>{n.run((()=>{Ot(t.targetEl.value??t.contentEl.value,(t=>{o?(cancelAnimationFrame(i),i=requestAnimationFrame((()=>{i=requestAnimationFrame((()=>{a(t)}))}))):a(t)}))}))})),(0,d.onScopeDispose)((()=>{"undefined"!==typeof cancelIdleCallback&&cancelIdleCallback(r),cancelAnimationFrame(i)}))}function Ot(t,e){const n=[document,...ct(t)];n.forEach((t=>{t.addEventListener("scroll",e,{passive:!0})})),(0,d.onScopeDispose)((()=>{n.forEach((t=>{t.removeEventListener("scroll",e)}))}))}const It=Symbol.for("vuetify:v-menu"),Rt=P({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function Bt(t,e){let n=()=>{};function o(o){n?.();const i=Number(o?t.openDelay:t.closeDelay);return new Promise((t=>{n=Q(i,(()=>{e?.(o),t(o)}))}))}function i(){return o(!0)}function r(){return o(!1)}return{clearDelay:n,runOpenDelay:i,runCloseDelay:r}}function Nt(t,e){const n=(0,d.getCurrentInstance)();if(!n)throw new Error(`[Vuetify] ${t} ${e||"must be called from inside a setup function"}`);return n}function Dt(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"composables";const e=Nt(t).type;return q(e?.aliasName||e?.name)}let Ft=0,jt=new WeakMap;function Wt(){const t=Nt("getUid");if(jt.has(t))return jt.get(t);{const e=Ft++;return jt.set(t,e),e}}Wt.reset=()=>{Ft=0,jt=new WeakMap};const Zt=new WeakMap;function Vt(t,e){Object.keys(e).forEach((n=>{if(Z(n)){const o=J(n),i=Zt.get(t);if(null==e[n])i?.forEach((e=>{const[n,r]=e;n===o&&(t.removeEventListener(o,r),i.delete(e))}));else if(!i||![...i]?.some((t=>t[0]===o&&t[1]===e[n]))){t.addEventListener(o,e[n]);const r=i||new Set;r.add([o,e[n]]),Zt.has(t)||Zt.set(t,r)}}else null==e[n]?t.removeAttribute(n):t.setAttribute(n,e[n])}))}function Ht(t,e){Object.keys(e).forEach((e=>{if(Z(e)){const n=J(e),o=Zt.get(t);o?.forEach((e=>{const[i,r]=e;i===n&&(t.removeEventListener(n,r),o.delete(e))}))}else t.removeAttribute(e)}))}const $t=P({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Rt()},"VOverlay-activator");function Ut(t,e){let{isActive:n,isTop:o}=e;const i=Nt("useActivator"),r=(0,d.ref)();let a=!1,s=!1,l=!0;const c=(0,d.computed)((()=>t.openOnFocus||null==t.openOnFocus&&t.openOnHover)),u=(0,d.computed)((()=>t.openOnClick||null==t.openOnClick&&!t.openOnHover&&!c.value)),{runOpenDelay:h,runCloseDelay:f}=Bt(t,(e=>{e!==(t.openOnHover&&a||c.value&&s)||t.openOnHover&&n.value&&!o.value||(n.value!==e&&(l=!0),n.value=e)})),p=(0,d.ref)(),m={onClick:t=>{t.stopPropagation(),r.value=t.currentTarget||t.target,n.value||(p.value=[t.clientX,t.clientY]),n.value=!n.value},onMouseenter:t=>{t.sourceCapabilities?.firesTouchEvents||(a=!0,r.value=t.currentTarget||t.target,h())},onMouseleave:t=>{a=!1,f()},onFocus:t=>{!1!==X(t.target,":focus-visible")&&(s=!0,t.stopPropagation(),r.value=t.currentTarget||t.target,h())},onBlur:t=>{s=!1,t.stopPropagation(),f()}},g=(0,d.computed)((()=>{const e={};return u.value&&(e.onClick=m.onClick),t.openOnHover&&(e.onMouseenter=m.onMouseenter,e.onMouseleave=m.onMouseleave),c.value&&(e.onFocus=m.onFocus,e.onBlur=m.onBlur),e})),y=(0,d.computed)((()=>{const e={};if(t.openOnHover&&(e.onMouseenter=()=>{a=!0,h()},e.onMouseleave=()=>{a=!1,f()}),c.value&&(e.onFocusin=()=>{s=!0,h()},e.onFocusout=()=>{s=!1,f()}),t.closeOnContentClick){const t=(0,d.inject)(It,null);e.onClick=()=>{n.value=!1,t?.closeParents()}}return e})),v=(0,d.computed)((()=>{const e={};return t.openOnHover&&(e.onMouseenter=()=>{l&&(a=!0,l=!1,h())},e.onMouseleave=()=>{a=!1,f()}),e}));(0,d.watch)(o,(e=>{!e||(!t.openOnHover||a||c.value&&s)&&(!c.value||s||t.openOnHover&&a)||(n.value=!1)})),(0,d.watch)(n,(t=>{t||setTimeout((()=>{p.value=void 0}))}),{flush:"post"});const _=(0,d.ref)();(0,d.watchEffect)((()=>{_.value&&(0,d.nextTick)((()=>{r.value=N(_.value)}))}));const w=(0,d.ref)(),b=(0,d.computed)((()=>"cursor"===t.target&&p.value?p.value:w.value?N(w.value):qt(t.target,i)||r.value)),x=(0,d.computed)((()=>Array.isArray(b.value)?void 0:b.value));let k;return(0,d.watch)((()=>!!t.activator),(e=>{e&&L?(k=(0,d.effectScope)(),k.run((()=>{Gt(t,i,{activatorEl:r,activatorEvents:g})}))):k&&k.stop()}),{flush:"post",immediate:!0}),(0,d.onScopeDispose)((()=>{k?.stop()})),{activatorEl:r,activatorRef:_,target:b,targetEl:x,targetRef:w,activatorEvents:g,contentEvents:y,scrimEvents:v}}function Gt(t,e,n){let{activatorEl:o,activatorEvents:i}=n;function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s(),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.activatorProps;e&&Vt(e,(0,d.mergeProps)(i.value,n))}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s(),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.activatorProps;e&&Ht(e,(0,d.mergeProps)(i.value,n))}function s(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.activator;const i=qt(n,e);return o.value=i?.nodeType===Node.ELEMENT_NODE?i:void 0,o.value}(0,d.watch)((()=>t.activator),((t,e)=>{if(e&&t!==e){const t=s(e);t&&a(t)}t&&(0,d.nextTick)((()=>r()))}),{immediate:!0}),(0,d.watch)((()=>t.activatorProps),(()=>{r()})),(0,d.onScopeDispose)((()=>{a()}))}function qt(t,e){if(!t)return;let n;if("parent"===t){let t=e?.proxy?.$el?.parentNode;while(t?.hasAttribute("data-no-activator"))t=t.parentNode;n=t}else n="string"===typeof t?document.querySelector(t):"$el"in t?t.$el:t;return n}
|
|
7
7
|
/**
|
|
8
8
|
* WCAG 3.0 APCA perceptual contrast algorithm from https://github.com/Myndex/SAPC-APCA
|
|
9
9
|
* @licence https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
10
10
|
* @see https://www.w3.org/WAI/GL/task-forces/silver/wiki/Visual_Contrast_of_Text_Subgroup
|
|
11
11
|
*/
|
|
12
|
-
const Yt=2.4,Kt=.2126729,Jt=.7151522,Xt=.072175,Qt=.55,te=.58,ee=.57,ne=.62,oe=.03,ie=1.45,re=5e-4,ae=1.25,se=1.25,le=.078,ce=12.82051282051282,ue=.06,he=.001;function fe(t,e){const n=(t.r/255)**Yt,o=(t.g/255)**Yt,i=(t.b/255)**Yt,r=(e.r/255)**Yt,a=(e.g/255)**Yt,s=(e.b/255)**Yt;let l,c=n*Kt+o*Jt+i*Xt,u=r*Kt+a*Jt+s*Xt;if(c<=oe&&(c+=(oe-c)**ie),u<=oe&&(u+=(oe-u)**ie),Math.abs(u-c)<re)return 0;if(u>c){const t=(u**Qt-c**te)*ae;l=t<he?0:t<le?t-t*ce*ue:t-ue}else{const t=(u**ne-c**ee)*se;l=t>-he?0:t>-le?t-t*ce*ue:t+ue}return 100*l}function de(t){return!!t&&/^(#|var\(--|(rgb|hsl)a?\()/.test(t)}function pe(t){return de(t)&&!/^((rgb|hsl)a?\()?var\(--/.test(t)}const me=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,ge={rgb:(t,e,n,o)=>({r:t,g:e,b:n,a:o}),rgba:(t,e,n,o)=>({r:t,g:e,b:n,a:o}),hsl:(t,e,n,o)=>_e({h:t,s:e,l:n,a:o}),hsla:(t,e,n,o)=>_e({h:t,s:e,l:n,a:o}),hsv:(t,e,n,o)=>ve({h:t,s:e,v:n,a:o}),hsva:(t,e,n,o)=>ve({h:t,s:e,v:n,a:o})};function ye(t){if("number"===typeof t)return(isNaN(t)||t<0||t>16777215)&&ft(`'${t}' is not a valid hex color`),{r:(16711680&t)>>16,g:(65280&t)>>8,b:255&t};if("string"===typeof t&&me.test(t)){const{groups:e}=t.match(me),{fn:n,values:o}=e,i=o.split(/,\s*/).map((t=>t.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(t)/100:parseFloat(t)));return ge[n](...i)}if("string"===typeof t){let e=t.startsWith("#")?t.slice(1):t;[3,4].includes(e.length)?e=e.split("").map((t=>t+t)).join(""):[6,8].includes(e.length)||ft(`'${t}' is not a valid hex(a) color`);const n=parseInt(e,16);return(isNaN(n)||n<0||n>4294967295)&&ft(`'${t}' is not a valid hex(a) color`),be(e)}if("object"===typeof t){if(D(t,["r","g","b"]))return t;if(D(t,["h","s","l"]))return ve(we(t));if(D(t,["h","s","v"]))return ve(t)}throw new TypeError(`Invalid color: ${null==t?t:String(t)||t.constructor.name}\nExpected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function ve(t){const{h:e,s:n,v:o,a:i}=t,r=t=>{const i=(t+e/60)%6;return o-o*n*Math.max(Math.min(i,4-i,1),0)},a=[r(5),r(3),r(1)].map((t=>Math.round(255*t)));return{r:a[0],g:a[1],b:a[2],a:i}}function _e(t){return ve(we(t))}function we(t){const{h:e,s:n,l:o,a:i}=t,r=o+n*Math.min(o,1-o),a=0===r?0:2-2*o/r;return{h:e,s:a,v:r,a:i}}function be(t){t=xe(t);let[e,n,o,i]=$(t,2).map((t=>parseInt(t,16)));return i=void 0===i?i:i/255,{r:e,g:n,b:o,a:i}}function xe(t){return t.startsWith("#")&&(t=t.slice(1)),t=t.replace(/([^0-9a-f])/gi,"F"),3!==t.length&&4!==t.length||(t=t.split("").map((t=>t+t)).join("")),6!==t.length&&(t=H(H(t,6),8,"F")),t}function ke(t){const e=Math.abs(fe(ye(0),ye(t))),n=Math.abs(fe(ye(16777215),ye(t)));return n>Math.min(e,50)?"#fff":"#000"}function Se(t){return Y((()=>{const e=[],n={};if(t.value.background)if(de(t.value.background)){if(n.backgroundColor=t.value.background,!t.value.text&&pe(t.value.background)){const e=ye(t.value.background);if(null==e.a||1===e.a){const t=ke(e);n.color=t,n.caretColor=t}}}else e.push(`bg-${t.value.background}`);return t.value.text&&(de(t.value.text)?(n.color=t.value.text,n.caretColor=t.value.text):e.push(`text-${t.value.text}`)),{colorClasses:e,colorStyles:n}}))}function Ce(t,e){const n=(0,f.computed)((()=>({text:(0,f.isRef)(t)?t.value:e?t[e]:null}))),{colorClasses:o,colorStyles:i}=Se(n);return{textColorClasses:o,textColorStyles:i}}function Te(t,e){const n=(0,f.computed)((()=>({background:(0,f.isRef)(t)?t.value:e?t[e]:null}))),{colorClasses:o,colorStyles:i}=Se(n);return{backgroundColorClasses:o,backgroundColorStyles:i}}const Pe=P({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),Le=P({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ae(t){const e=(0,f.computed)((()=>({height:R(t.height),maxHeight:R(t.maxHeight),maxWidth:R(t.maxWidth),minHeight:R(t.minHeight),minWidth:R(t.minWidth),width:R(t.width)})));return{dimensionStyles:e}}const Ee=Symbol.for("vuetify:display");P({mobileBreakpoint:[Number,String]},"display");function Oe(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dt();const n=(0,f.inject)(Ee);if(!n)throw new Error("Could not find Vuetify display injection");const o=(0,f.computed)((()=>{if(!t.mobileBreakpoint)return n.mobile.value;const e="number"===typeof t.mobileBreakpoint?t.mobileBreakpoint:n.thresholds.value[t.mobileBreakpoint];return n.width.value<e})),i=(0,f.computed)((()=>e?{[`${e}--mobile`]:o.value}:{}));return{...n,displayClasses:i,mobile:o}}function ze(){if(!L)return(0,f.shallowRef)(!1);const{ssr:t}=Oe();if(t){const t=(0,f.shallowRef)(!1);return(0,f.onMounted)((()=>{t.value=!0})),t}return(0,f.shallowRef)(!0)}const Me=P({eager:Boolean},"lazy");function Ie(t,e){const n=(0,f.shallowRef)(!1),o=(0,f.computed)((()=>n.value||t.eager||e.value));function i(){t.eager||(n.value=!1)}return(0,f.watch)(e,(()=>n.value=!0)),{isBooted:n,hasContent:o,onAfterLeave:i}}const Re=Symbol.for("vuetify:locale");Symbol.for("vuetify:rtl");function Be(){const t=(0,f.inject)(Re);if(!t)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:t.isRtl,rtlClasses:t.rtlClasses}}function Ne(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t=>t,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:t=>t;const r=Nt("useProxiedModel"),a=(0,f.ref)(void 0!==t[e]?t[e]:n),s=q(e),l=s!==e,c=l?(0,f.computed)((()=>(t[e],!(!r.vnode.props?.hasOwnProperty(e)&&!r.vnode.props?.hasOwnProperty(s)||!r.vnode.props?.hasOwnProperty(`onUpdate:${e}`)&&!r.vnode.props?.hasOwnProperty(`onUpdate:${s}`))))):(0,f.computed)((()=>(t[e],!(!r.vnode.props?.hasOwnProperty(e)||!r.vnode.props?.hasOwnProperty(`onUpdate:${e}`)))));k((()=>!c.value),(()=>{(0,f.watch)((()=>t[e]),(t=>{a.value=t}))}));const u=(0,f.computed)({get(){const n=t[e];return o(c.value?n:a.value)},set(n){const s=i(n),l=(0,f.toRaw)(c.value?t[e]:a.value);l!==s&&o(l)!==n&&(a.value=s,r?.emit(`update:${e}`,s))}});return Object.defineProperty(u,"externalValue",{get:()=>c.value?t[e]:a.value}),u}function De(){return Nt("useRouter")?.proxy?.$router}P({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let Fe=!1;function je(t,e){let n,o,i=!1;function r(t){t.state?.replaced||(i=!0,setTimeout((()=>i=!1)))}L&&((0,f.nextTick)((()=>{window.addEventListener("popstate",r),n=t?.beforeEach(((t,n,o)=>{Fe?i?e(o):o():setTimeout((()=>i?e(o):o())),Fe=!0})),o=t?.afterEach((()=>{Fe=!1}))})),(0,f.onScopeDispose)((()=>{window.removeEventListener("popstate",r),n?.(),o?.()})))}function We(){const t=Nt("useScopeId"),e=t.vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const Ze=Symbol.for("vuetify:stack"),Ve=(0,f.reactive)([]);function He(t,e,n){const o=Nt("useStack"),i=!n,r=(0,f.inject)(Ze,void 0),a=(0,f.reactive)({activeChildren:new Set});(0,f.provide)(Ze,a);const s=(0,f.shallowRef)(+e.value);k(t,(()=>{const t=Ve.at(-1)?.[1];s.value=t?t+10:+e.value,i&&Ve.push([o.uid,s.value]),r?.activeChildren.add(o.uid),(0,f.onScopeDispose)((()=>{if(i){const t=(0,f.toRaw)(Ve).findIndex((t=>t[0]===o.uid));Ve.splice(t,1)}r?.activeChildren.delete(o.uid)}))}));const l=(0,f.shallowRef)(!0);i&&(0,f.watchEffect)((()=>{const t=Ve.at(-1)?.[0]===o.uid;setTimeout((()=>l.value=t))}));const c=(0,f.computed)((()=>!a.activeChildren.size));return{globalTop:(0,f.readonly)(l),localTop:c,stackStyles:(0,f.computed)((()=>({zIndex:s.value})))}}function $e(t){const e=(0,f.computed)((()=>{const e=t.value;if(!0===e||!L)return;const n=!1===e?document.body:"string"===typeof e?document.querySelector(e):e;if(null==n)return void(0,f.warn)(`Unable to locate target ${e}`);let o=n.querySelector(":scope > .v-overlay-container");return o||(o=document.createElement("div"),o.className="v-overlay-container",n.appendChild(o)),o}));return{teleportTarget:e}}const Ue=Symbol.for("vuetify:theme"),Ge=P({theme:String},"theme");function qe(t){Nt("provideTheme");const e=(0,f.inject)(Ue,null);if(!e)throw new Error("Could not find Vuetify theme injection");const n=(0,f.computed)((()=>t.theme??e.name.value)),o=(0,f.computed)((()=>e.themes.value[n.value])),i=(0,f.computed)((()=>e.isDisabled?void 0:`v-theme--${n.value}`)),r={...e,name:n,current:o,themeClasses:i};return(0,f.provide)(Ue,r),r}const Ye=P({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:t=>!0!==t}},"transition"),Ke=(t,e)=>{let{slots:n}=e;const{transition:o,disabled:i,group:r,...a}=t,{component:s=(r?f.TransitionGroup:f.Transition),...l}="object"===typeof o?o:{};return(0,f.h)(s,(0,f.mergeProps)("string"===typeof o?{name:i?"":o}:l,"string"===typeof o?{}:{disabled:i,group:r},a),n)};function Je(t){if("function"!==typeof t.getRootNode){while(t.parentNode)t=t.parentNode;return t!==document?null:document}const e=t.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}function Xe(){return!0}function Qe(t,e,n){if(!t||!1===tn(t,n))return!1;const o=Je(e);if("undefined"!==typeof ShadowRoot&&o instanceof ShadowRoot&&o.host===t.target)return!1;const i=("object"===typeof n.value&&n.value.include||(()=>[]))();return i.push(e),!i.some((e=>e?.contains(t.target)))}function tn(t,e){const n="object"===typeof e.value&&e.value.closeConditional||Xe;return n(t)}function en(t,e,n){const o="function"===typeof n.value?n.value:n.value.handler;e._clickOutside.lastMousedownWasOutside&&Qe(t,e,n)&&setTimeout((()=>{tn(t,n)&&o&&o(t)}),0)}function nn(t,e){const n=Je(t);e(document),"undefined"!==typeof ShadowRoot&&n instanceof ShadowRoot&&e(n)}const on={mounted(t,e){const n=n=>en(n,t,e),o=n=>{t._clickOutside.lastMousedownWasOutside=Qe(n,t,e)};nn(t,(t=>{t.addEventListener("click",n,!0),t.addEventListener("mousedown",o,!0)})),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!1}),t._clickOutside[e.instance.$.uid]={onClick:n,onMousedown:o}},unmounted(t,e){t._clickOutside&&(nn(t,(n=>{if(!n||!t._clickOutside?.[e.instance.$.uid])return;const{onClick:o,onMousedown:i}=t._clickOutside[e.instance.$.uid];n.removeEventListener("click",o,!0),n.removeEventListener("mousedown",i,!0)})),delete t._clickOutside[e.instance.$.uid])}};function rn(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nt("injectSelf");const{provides:n}=e;if(n&&t in n)return n[t]}const an=Symbol.for("vuetify:defaults");function sn(){const t=(0,f.inject)(an);if(!t)throw new Error("[Vuetify] Could not find defaults instance");return t}function ln(t,e){return"undefined"!==typeof t.props?.[e]||"undefined"!==typeof t.props?.[q(e)]}function cn(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:sn();const o=Nt("useDefaults");if(e=e??o.type.name??o.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const i=(0,f.computed)((()=>n.value?.[t._as??e])),r=new Proxy(t,{get(t,e){const r=Reflect.get(t,e);return"class"===e||"style"===e?[i.value?.[e],r].filter((t=>null!=t)):"string"!==typeof e||ln(o.vnode,e)?r:i.value?.[e]??n.value?.global?.[e]??r}}),a=(0,f.shallowRef)();function s(){const t=rn(an,o);(0,f.provide)(an,(0,f.computed)((()=>a.value?U(t?.value??{},a.value):t?.value)))}return(0,f.watchEffect)((()=>{if(i.value){const t=Object.entries(i.value).filter((t=>{let[e]=t;return e.startsWith(e[0].toUpperCase())}));a.value=t.length?Object.fromEntries(t):void 0}else a.value=void 0})),{props:r,provideSubDefaults:s}}function un(t){if(t._setup=t._setup??t.setup,!t.name)return ft("The component is missing an explicit name, unable to generate default prop value"),t;if(t._setup){t.props=P(t.props??{},t.name)();const e=Object.keys(t.props).filter((t=>"class"!==t&&"style"!==t));t.filterProps=function(t){return F(t,e)},t.props._as=String,t.setup=function(e,n){const o=sn();if(!o.value)return t._setup(e,n);const{props:i,provideSubDefaults:r}=cn(e,e._as??t.name,o),a=t._setup(i,n);return r(),a}}return t}function hn(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return e=>(t?un:f.defineComponent)(e)}const fn="cubic-bezier(0.4, 0, 0.2, 1)";function dn(t){const e=Nt("useRender");e.render=t}function pn(t){const{modelValue:e,color:n,...o}=t;return(0,f.createVNode)(f.Transition,{name:"fade-transition",appear:!0},{default:()=>[t.modelValue&&(0,f.createVNode)("div",(0,f.mergeProps)({class:["v-overlay__scrim",t.color.backgroundColorClasses.value],style:t.color.backgroundColorStyles.value},o),null)]})}const mn=P({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...$t(),...Pe(),...Le(),...Me(),...mt(),...Lt(),...Ge(),...Ye()},"VOverlay"),gn=hn()({name:"VOverlay",directives:{ClickOutside:on},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...mn()},emits:{"click:outside":t=>!0,"update:modelValue":t=>!0,afterLeave:()=>!0},setup(t,e){let{slots:n,attrs:o,emit:i}=e;const r=Ne(t,"modelValue"),a=(0,f.computed)({get:()=>r.value,set:e=>{e&&t.disabled||(r.value=e)}}),{teleportTarget:s}=$e((0,f.computed)((()=>t.attach||t.contained))),{themeClasses:l}=qe(t),{rtlClasses:c,isRtl:u}=Be(),{hasContent:h,onAfterLeave:d}=Ie(t,a),p=Te((0,f.computed)((()=>"string"===typeof t.scrim?t.scrim:null))),{globalTop:m,localTop:g,stackStyles:y}=He(a,(0,f.toRef)(t,"zIndex"),t._disableGlobalStack),{activatorEl:v,activatorRef:_,target:w,targetEl:b,targetRef:x,activatorEvents:S,contentEvents:C,scrimEvents:T}=Ut(t,{isActive:a,isTop:g}),{dimensionStyles:P}=Ae(t),A=ze(),{scopeId:E}=We();(0,f.watch)((()=>t.disabled),(t=>{t&&(a.value=!1)}));const O=(0,f.ref)(),z=(0,f.ref)(),{contentStyles:I,updateLocation:B}=gt(t,{isRtl:u,contentEl:z,target:w,isActive:a});function N(e){i("click:outside",e),t.persistent?Z():a.value=!1}function D(){return a.value&&m.value}function F(e){"Escape"===e.key&&m.value&&(t.persistent?Z():(a.value=!1,z.value?.contains(document.activeElement)&&v.value?.focus()))}At(t,{root:O,contentEl:z,targetEl:b,isActive:a,updateLocation:B}),L&&(0,f.watch)(a,(t=>{t?window.addEventListener("keydown",F):window.removeEventListener("keydown",F)}),{immediate:!0}),(0,f.onBeforeUnmount)((()=>{L&&window.removeEventListener("keydown",F)}));const j=De();k((()=>t.closeOnBack),(()=>{je(j,(e=>{m.value&&a.value?(e(!1),t.persistent?Z():a.value=!1):e()}))}));const W=(0,f.ref)();function Z(){t.noClickAnimation||z.value&&M(z.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:fn})}function V(){d(),i("afterLeave")}return(0,f.watch)((()=>a.value&&(t.absolute||t.contained)&&null==s.value),(t=>{if(t){const t=lt(O.value);t&&t!==document.scrollingElement&&(W.value=t.scrollTop)}})),dn((()=>(0,f.createVNode)(f.Fragment,null,[n.activator?.({isActive:a.value,props:(0,f.mergeProps)({ref:_,targetRef:x},S.value,t.activatorProps)}),A.value&&h.value&&(0,f.createVNode)(f.Teleport,{disabled:!s.value,to:s.value},{default:()=>[(0,f.createVNode)("div",(0,f.mergeProps)({class:["v-overlay",{"v-overlay--absolute":t.absolute||t.contained,"v-overlay--active":a.value,"v-overlay--contained":t.contained},l.value,c.value,t.class],style:[y.value,{"--v-overlay-opacity":t.opacity,top:R(W.value)},t.style],ref:O},E,o),[(0,f.createVNode)(pn,(0,f.mergeProps)({color:p,modelValue:a.value&&!!t.scrim},T.value),null),(0,f.createVNode)(Ke,{appear:!0,persisted:!0,transition:t.transition,target:w.value,onAfterLeave:V},{default:()=>[(0,f.withDirectives)((0,f.createVNode)("div",(0,f.mergeProps)({ref:z,class:["v-overlay__content",t.contentClass],style:[P.value,I.value]},C.value,t.contentProps),[n.default?.({isActive:a})]),[[f.vShow,a.value],[(0,f.resolveDirective)("click-outside"),{handler:N,closeConditional:D,include:()=>[v.value]}]])]})])]})]))),{activatorEl:v,target:w,animateClick:Z,contentEl:z,globalTop:m,localTop:g,updateLocation:B}}}),yn=Symbol("Forwarded refs");function vn(t,e){let n=t;while(n){const t=Reflect.getOwnPropertyDescriptor(n,e);if(t)return t;n=Object.getPrototypeOf(n)}}function _n(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return t[yn]=n,new Proxy(t,{get(t,e){if(Reflect.has(t,e))return Reflect.get(t,e);if("symbol"!==typeof e&&!e.startsWith("$")&&!e.startsWith("__"))for(const o of n)if(o.value&&Reflect.has(o.value,e)){const t=Reflect.get(o.value,e);return"function"===typeof t?t.bind(o.value):t}},has(t,e){if(Reflect.has(t,e))return!0;if("symbol"===typeof e||e.startsWith("$")||e.startsWith("__"))return!1;for(const o of n)if(o.value&&Reflect.has(o.value,e))return!0;return!1},set(t,e,o){if(Reflect.has(t,e))return Reflect.set(t,e,o);if("symbol"===typeof e||e.startsWith("$")||e.startsWith("__"))return!1;for(const i of n)if(i.value&&Reflect.has(i.value,e))return Reflect.set(i.value,e,o);return!1},getOwnPropertyDescriptor(t,e){const o=Reflect.getOwnPropertyDescriptor(t,e);if(o)return o;if("symbol"!==typeof e&&!e.startsWith("$")&&!e.startsWith("__")){for(const t of n){if(!t.value)continue;const n=vn(t.value,e)??("_"in t.value?vn(t.value._?.setupState,e):void 0);if(n)return n}for(const t of n){const n=t.value&&t.value[yn];if(!n)continue;const o=n.slice();while(o.length){const t=o.shift(),n=vn(t.value,e);if(n)return n;const i=t.value&&t.value[yn];i&&o.push(...i)}}}}})}const wn=P({id:String,text:String,...j(mn({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),bn=hn()({name:"VTooltip",props:wn(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const o=Ne(t,"modelValue"),{scopeId:i}=We(),r=Wt(),a=(0,f.computed)((()=>t.id||`v-tooltip-${r}`)),s=(0,f.ref)(),l=(0,f.computed)((()=>t.location.split(" ").length>1?t.location:t.location+" center")),c=(0,f.computed)((()=>"auto"===t.origin||"overlap"===t.origin||t.origin.split(" ").length>1||t.location.split(" ").length>1?t.origin:t.origin+" center")),u=(0,f.computed)((()=>t.transition?t.transition:o.value?"scale-transition":"fade-transition")),h=(0,f.computed)((()=>(0,f.mergeProps)({"aria-describedby":a.value},t.activatorProps)));return dn((()=>{const e=gn.filterProps(t);return(0,f.createVNode)(gn,(0,f.mergeProps)({ref:s,class:["v-tooltip",t.class],style:t.style,id:a.value},e,{modelValue:o.value,"onUpdate:modelValue":t=>o.value=t,transition:u.value,absolute:!0,location:l.value,origin:c.value,persistent:!0,role:"tooltip",activatorProps:h.value,_disableGlobalStack:!0},i),{activator:n.activator,default:function(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];return n.default?.(...o)??t.text}})})),_n({},s)}});i(587);const xn=[String,Function,Object,Array],kn=Symbol.for("vuetify:icons"),Sn=P({icon:{type:xn},tag:{type:String,required:!0}},"icon"),Cn=hn()({name:"VComponentIcon",props:Sn(),setup(t,e){let{slots:n}=e;return()=>{const e=t.icon;return(0,f.createVNode)(t.tag,null,{default:()=>[t.icon?(0,f.createVNode)(e,null,null):n.default?.()]})}}}),Tn=un({name:"VSvgIcon",inheritAttrs:!1,props:Sn(),setup(t,e){let{attrs:n}=e;return()=>(0,f.createVNode)(t.tag,(0,f.mergeProps)(n,{style:null}),{default:()=>[(0,f.createVNode)("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(t.icon)?t.icon.map((t=>Array.isArray(t)?(0,f.createVNode)("path",{d:t[0],"fill-opacity":t[1]},null):(0,f.createVNode)("path",{d:t},null))):(0,f.createVNode)("path",{d:t.icon},null)])]})}});un({name:"VLigatureIcon",props:Sn(),setup(t){return()=>(0,f.createVNode)(t.tag,null,{default:()=>[t.icon]})}}),un({name:"VClassIcon",props:Sn(),setup(t){return()=>(0,f.createVNode)(t.tag,{class:t.icon},null)}});const Pn=t=>{const e=(0,f.inject)(kn);if(!e)throw new Error("Missing Vuetify Icons provide!");const n=(0,f.computed)((()=>{const n=(0,f.unref)(t);if(!n)return{component:Cn};let o=n;if("string"===typeof o&&(o=o.trim(),o.startsWith("$")&&(o=e.aliases?.[o.slice(1)])),!o)throw new Error(`Could not find aliased icon "${n}"`);if(Array.isArray(o))return{component:Tn,icon:o};if("string"!==typeof o)return{component:Cn,icon:o};const i=Object.keys(e.sets).find((t=>"string"===typeof o&&o.startsWith(`${t}:`))),r=i?o.slice(i.length+1):o,a=e.sets[i??e.defaultSet];return{component:a.component,icon:r}}));return{iconData:n}},Ln=["x-small","small","default","large","x-large"],An=P({size:{type:[String,Number],default:"default"}},"size");function En(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dt();return Y((()=>{let n,o;return K(Ln,t.size)?n=`${e}--size-${t.size}`:t.size&&(o={width:R(t.size),height:R(t.size)}),{sizeClasses:n,sizeStyles:o}}))}const On=P({tag:{type:String,default:"div"}},"tag"),zn=P({color:String,start:Boolean,end:Boolean,icon:xn,...Pe(),...An(),...On({tag:"i"}),...Ge()},"VIcon"),Mn=hn()({name:"VIcon",props:zn(),setup(t,e){let{attrs:n,slots:o}=e;const i=(0,f.ref)(),{themeClasses:r}=qe(t),{iconData:a}=Pn((0,f.computed)((()=>i.value||t.icon))),{sizeClasses:s}=En(t),{textColorClasses:l,textColorStyles:c}=Ce((0,f.toRef)(t,"color"));return dn((()=>{const e=o.default?.();return e&&(i.value=G(e).filter((t=>t.type===f.Text&&t.children&&"string"===typeof t.children))[0]?.children),(0,f.createVNode)(a.value.component,{tag:t.tag,icon:a.value.icon,class:["v-icon","notranslate",r.value,s.value,l.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":t.start,"v-icon--end":t.end},t.class],style:[s.value?void 0:{fontSize:R(t.size),height:R(t.size),width:R(t.size)},c.value,t.style],role:n.onClick?"button":void 0,"aria-hidden":!n.onClick},{default:()=>[e]})})),{}}});function In(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function Rn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?In(Object(n),!0).forEach((function(e){jn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):In(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Bn(t){return Bn="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},Bn(t)}function Nn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Fn(t,e,n){return e&&Dn(t.prototype,e),n&&Dn(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function jn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t,e){return Hn(t)||Un(t,e)||Gn(t,e)||Kn()}function Zn(t){return Vn(t)||$n(t)||Gn(t)||Yn()}function Vn(t){if(Array.isArray(t))return qn(t)}function Hn(t){if(Array.isArray(t))return t}function $n(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function Un(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,i,r=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(o=n.next()).done);a=!0)if(r.push(o.value),e&&r.length===e)break}catch(l){s=!0,i=l}finally{try{a||null==n["return"]||n["return"]()}finally{if(s)throw i}}return r}}function Gn(t,e){if(t){if("string"===typeof t)return qn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qn(t,e):void 0}}function qn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function Yn(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Kn(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Jn=function(){},Xn={},Qn={},to=null,eo={mark:Jn,measure:Jn};try{"undefined"!==typeof window&&(Xn=window),"undefined"!==typeof document&&(Qn=document),"undefined"!==typeof MutationObserver&&(to=MutationObserver),"undefined"!==typeof performance&&(eo=performance)}catch(hc){}var no,oo,io,ro,ao,so=Xn.navigator||{},lo=so.userAgent,co=void 0===lo?"":lo,uo=Xn,ho=Qn,fo=to,po=eo,mo=(uo.document,!!ho.documentElement&&!!ho.head&&"function"===typeof ho.addEventListener&&"function"===typeof ho.createElement),go=~co.indexOf("MSIE")||~co.indexOf("Trident/"),yo="___FONT_AWESOME___",vo=16,_o="fa",wo="svg-inline--fa",bo="data-fa-i2svg",xo="data-fa-pseudo-element",ko="data-fa-pseudo-element-pending",So="data-prefix",Co="data-icon",To="fontawesome-i2svg",Po="async",Lo=["HTML","HEAD","STYLE","SCRIPT"],Ao=function(){try{return!0}catch(hc){return!1}}(),Eo="classic",Oo="sharp",zo=[Eo,Oo];function Mo(t){return new Proxy(t,{get:function(t,e){return e in t?t[e]:t[Eo]}})}var Io=Mo((no={},jn(no,Eo,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),jn(no,Oo,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),no)),Ro=Mo((oo={},jn(oo,Eo,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),jn(oo,Oo,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),oo)),Bo=Mo((io={},jn(io,Eo,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),jn(io,Oo,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),io)),No=Mo((ro={},jn(ro,Eo,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),jn(ro,Oo,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),ro)),Do=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,Fo="fa-layers-text",jo=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Wo=Mo((ao={},jn(ao,Eo,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),jn(ao,Oo,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),ao)),Zo=[1,2,3,4,5,6,7,8,9,10],Vo=Zo.concat([11,12,13,14,15,16,17,18,19,20]),Ho=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],$o={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Uo=new Set;Object.keys(Ro[Eo]).map(Uo.add.bind(Uo)),Object.keys(Ro[Oo]).map(Uo.add.bind(Uo));var Go=[].concat(zo,Zn(Uo),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",$o.GROUP,$o.SWAP_OPACITY,$o.PRIMARY,$o.SECONDARY]).concat(Zo.map((function(t){return"".concat(t,"x")}))).concat(Vo.map((function(t){return"w-".concat(t)}))),qo=uo.FontAwesomeConfig||{};function Yo(t){var e=ho.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}function Ko(t){return""===t||"false"!==t&&("true"===t||t)}if(ho&&"function"===typeof ho.querySelector){var Jo=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];Jo.forEach((function(t){var e=Wn(t,2),n=e[0],o=e[1],i=Ko(Yo(n));void 0!==i&&null!==i&&(qo[o]=i)}))}var Xo={styleDefault:"solid",familyDefault:"classic",cssPrefix:_o,replacementClass:wo,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};qo.familyPrefix&&(qo.cssPrefix=qo.familyPrefix);var Qo=Rn(Rn({},Xo),qo);Qo.autoReplaceSvg||(Qo.observeMutations=!1);var ti={};Object.keys(Xo).forEach((function(t){Object.defineProperty(ti,t,{enumerable:!0,set:function(e){Qo[t]=e,ei.forEach((function(t){return t(ti)}))},get:function(){return Qo[t]}})})),Object.defineProperty(ti,"familyPrefix",{enumerable:!0,set:function(t){Qo.cssPrefix=t,ei.forEach((function(t){return t(ti)}))},get:function(){return Qo.cssPrefix}}),uo.FontAwesomeConfig=ti;var ei=[];function ni(t){return ei.push(t),function(){ei.splice(ei.indexOf(t),1)}}var oi=vo,ii={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function ri(t){if(t&&mo){var e=ho.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=ho.head.childNodes,o=null,i=n.length-1;i>-1;i--){var r=n[i],a=(r.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(o=r)}return ho.head.insertBefore(e,o),t}}var ai="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function si(){var t=12,e="";while(t-- >0)e+=ai[62*Math.random()|0];return e}function li(t){for(var e=[],n=(t||[]).length>>>0;n--;)e[n]=t[n];return e}function ci(t){return t.classList?li(t.classList):(t.getAttribute("class")||"").split(" ").filter((function(t){return t}))}function ui(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function hi(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(ui(t[n]),'" ')}),"").trim()}function fi(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n].trim(),";")}),"")}function di(t){return t.size!==ii.size||t.x!==ii.x||t.y!==ii.y||t.rotate!==ii.rotate||t.flipX||t.flipY}function pi(t){var e=t.transform,n=t.containerWidth,o=t.iconWidth,i={transform:"translate(".concat(n/2," 256)")},r="translate(".concat(32*e.x,", ").concat(32*e.y,") "),a="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)"),l={transform:"".concat(r," ").concat(a," ").concat(s)},c={transform:"translate(".concat(o/2*-1," -256)")};return{outer:i,inner:l,path:c}}function mi(t){var e=t.transform,n=t.width,o=void 0===n?vo:n,i=t.height,r=void 0===i?vo:i,a=t.startCentered,s=void 0!==a&&a,l="";return l+=s&&go?"translate(".concat(e.x/oi-o/2,"em, ").concat(e.y/oi-r/2,"em) "):s?"translate(calc(-50% + ".concat(e.x/oi,"em), calc(-50% + ").concat(e.y/oi,"em)) "):"translate(".concat(e.x/oi,"em, ").concat(e.y/oi,"em) "),l+="scale(".concat(e.size/oi*(e.flipX?-1:1),", ").concat(e.size/oi*(e.flipY?-1:1),") "),l+="rotate(".concat(e.rotate,"deg) "),l}var gi=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function yi(){var t=_o,e=wo,n=ti.cssPrefix,o=ti.replacementClass,i=gi;if(n!==t||o!==e){var r=new RegExp("\\.".concat(t,"\\-"),"g"),a=new RegExp("\\--".concat(t,"\\-"),"g"),s=new RegExp("\\.".concat(e),"g");i=i.replace(r,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(o))}return i}var vi=!1;function _i(){ti.autoAddCss&&!vi&&(ri(yi()),vi=!0)}var wi={mixout:function(){return{dom:{css:yi,insertCss:_i}}},hooks:function(){return{beforeDOMElementCreation:function(){_i()},beforeI2svg:function(){_i()}}}},bi=uo||{};bi[yo]||(bi[yo]={}),bi[yo].styles||(bi[yo].styles={}),bi[yo].hooks||(bi[yo].hooks={}),bi[yo].shims||(bi[yo].shims=[]);var xi=bi[yo],ki=[],Si=function t(){ho.removeEventListener("DOMContentLoaded",t),Ci=1,ki.map((function(t){return t()}))},Ci=!1;function Ti(t){mo&&(Ci?setTimeout(t,0):ki.push(t))}function Pi(t){var e=t.tag,n=t.attributes,o=void 0===n?{}:n,i=t.children,r=void 0===i?[]:i;return"string"===typeof t?ui(t):"<".concat(e," ").concat(hi(o),">").concat(r.map(Pi).join(""),"</").concat(e,">")}function Li(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}mo&&(Ci=(ho.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ho.readyState),Ci||ho.addEventListener("DOMContentLoaded",Si));var Ai=function(t,e){return function(n,o,i,r){return t.call(e,n,o,i,r)}},Ei=function(t,e,n,o){var i,r,a,s=Object.keys(t),l=s.length,c=void 0!==o?Ai(e,o):e;for(void 0===n?(i=1,a=t[s[0]]):(i=0,a=n);i<l;i++)r=s[i],a=c(a,t[r],r,t);return a};function Oi(t){var e=[],n=0,o=t.length;while(n<o){var i=t.charCodeAt(n++);if(i>=55296&&i<=56319&&n<o){var r=t.charCodeAt(n++);56320==(64512&r)?e.push(((1023&i)<<10)+(1023&r)+65536):(e.push(i),n--)}else e.push(i)}return e}function zi(t){var e=Oi(t);return 1===e.length?e[0].toString(16):null}function Mi(t,e){var n,o=t.length,i=t.charCodeAt(e);return i>=55296&&i<=56319&&o>e+1&&(n=t.charCodeAt(e+1),n>=56320&&n<=57343)?1024*(i-55296)+n-56320+65536:i}function Ii(t){return Object.keys(t).reduce((function(e,n){var o=t[n],i=!!o.icon;return i?e[o.iconName]=o.icon:e[n]=o,e}),{})}function Ri(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.skipHooks,i=void 0!==o&&o,r=Ii(e);"function"!==typeof xi.hooks.addPack||i?xi.styles[t]=Rn(Rn({},xi.styles[t]||{}),r):xi.hooks.addPack(t,Ii(e)),"fas"===t&&Ri("fa",e)}var Bi,Ni,Di,Fi=xi.styles,ji=xi.shims,Wi=(Bi={},jn(Bi,Eo,Object.values(Bo[Eo])),jn(Bi,Oo,Object.values(Bo[Oo])),Bi),Zi=null,Vi={},Hi={},$i={},Ui={},Gi={},qi=(Ni={},jn(Ni,Eo,Object.keys(Io[Eo])),jn(Ni,Oo,Object.keys(Io[Oo])),Ni);function Yi(t){return~Go.indexOf(t)}function Ki(t,e){var n=e.split("-"),o=n[0],i=n.slice(1).join("-");return o!==t||""===i||Yi(i)?null:i}var Ji=function(){var t=function(t){return Ei(Fi,(function(e,n,o){return e[o]=Ei(n,t,{}),e}),{})};Vi=t((function(t,e,n){if(e[3]&&(t[e[3]]=n),e[2]){var o=e[2].filter((function(t){return"number"===typeof t}));o.forEach((function(e){t[e.toString(16)]=n}))}return t})),Hi=t((function(t,e,n){if(t[n]=n,e[2]){var o=e[2].filter((function(t){return"string"===typeof t}));o.forEach((function(e){t[e]=n}))}return t})),Gi=t((function(t,e,n){var o=e[2];return t[n]=n,o.forEach((function(e){t[e]=n})),t}));var e="far"in Fi||ti.autoFetchSvg,n=Ei(ji,(function(t,n){var o=n[0],i=n[1],r=n[2];return"far"!==i||e||(i="fas"),"string"===typeof o&&(t.names[o]={prefix:i,iconName:r}),"number"===typeof o&&(t.unicodes[o.toString(16)]={prefix:i,iconName:r}),t}),{names:{},unicodes:{}});$i=n.names,Ui=n.unicodes,Zi=rr(ti.styleDefault,{family:ti.familyDefault})};function Xi(t,e){return(Vi[t]||{})[e]}function Qi(t,e){return(Hi[t]||{})[e]}function tr(t,e){return(Gi[t]||{})[e]}function er(t){return $i[t]||{prefix:null,iconName:null}}function nr(t){var e=Ui[t],n=Xi("fas",t);return e||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function or(){return Zi}ni((function(t){Zi=rr(t.styleDefault,{family:ti.familyDefault})})),Ji();var ir=function(){return{prefix:null,iconName:null,rest:[]}};function rr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.family,o=void 0===n?Eo:n,i=Io[o][t],r=Ro[o][t]||Ro[o][i],a=t in xi.styles?t:null;return r||a||null}var ar=(Di={},jn(Di,Eo,Object.keys(Bo[Eo])),jn(Di,Oo,Object.keys(Bo[Oo])),Di);function sr(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.skipLookups,i=void 0!==o&&o,r=(e={},jn(e,Eo,"".concat(ti.cssPrefix,"-").concat(Eo)),jn(e,Oo,"".concat(ti.cssPrefix,"-").concat(Oo)),e),a=null,s=Eo;(t.includes(r[Eo])||t.some((function(t){return ar[Eo].includes(t)})))&&(s=Eo),(t.includes(r[Oo])||t.some((function(t){return ar[Oo].includes(t)})))&&(s=Oo);var l=t.reduce((function(t,e){var n=Ki(ti.cssPrefix,e);if(Fi[e]?(e=Wi[s].includes(e)?No[s][e]:e,a=e,t.prefix=e):qi[s].indexOf(e)>-1?(a=e,t.prefix=rr(e,{family:s})):n?t.iconName=n:e!==ti.replacementClass&&e!==r[Eo]&&e!==r[Oo]&&t.rest.push(e),!i&&t.prefix&&t.iconName){var o="fa"===a?er(t.iconName):{},l=tr(t.prefix,t.iconName);o.prefix&&(a=null),t.iconName=o.iconName||l||t.iconName,t.prefix=o.prefix||t.prefix,"far"!==t.prefix||Fi["far"]||!Fi["fas"]||ti.autoFetchSvg||(t.prefix="fas")}return t}),ir());return(t.includes("fa-brands")||t.includes("fab"))&&(l.prefix="fab"),(t.includes("fa-duotone")||t.includes("fad"))&&(l.prefix="fad"),l.prefix||s!==Oo||!Fi["fass"]&&!ti.autoFetchSvg||(l.prefix="fass",l.iconName=tr(l.prefix,l.iconName)||l.iconName),"fa"!==l.prefix&&"fa"!==a||(l.prefix=or()||"fas"),l}var lr=function(){function t(){Nn(this,t),this.definitions={}}return Fn(t,[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(e){t.definitions[e]=Rn(Rn({},t.definitions[e]||{}),i[e]),Ri(e,i[e]);var n=Bo[Eo][e];n&&Ri(n,i[e]),Ji()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map((function(e){var o=n[e],i=o.prefix,r=o.iconName,a=o.icon,s=a[2];t[i]||(t[i]={}),s.length>0&&s.forEach((function(e){"string"===typeof e&&(t[i][e]=a)})),t[i][r]=a})),t}}]),t}(),cr=[],ur={},hr={},fr=Object.keys(hr);function dr(t,e){var n=e.mixoutsTo;return cr=t,ur={},Object.keys(hr).forEach((function(t){-1===fr.indexOf(t)&&delete hr[t]})),cr.forEach((function(t){var e=t.mixout?t.mixout():{};if(Object.keys(e).forEach((function(t){"function"===typeof e[t]&&(n[t]=e[t]),"object"===Bn(e[t])&&Object.keys(e[t]).forEach((function(o){n[t]||(n[t]={}),n[t][o]=e[t][o]}))})),t.hooks){var o=t.hooks();Object.keys(o).forEach((function(t){ur[t]||(ur[t]=[]),ur[t].push(o[t])}))}t.provides&&t.provides(hr)})),n}function pr(t,e){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];var r=ur[t]||[];return r.forEach((function(t){e=t.apply(null,[e].concat(o))})),e}function mr(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];var i=ur[t]||[];i.forEach((function(t){t.apply(null,n)}))}function gr(){var t=arguments[0],e=Array.prototype.slice.call(arguments,1);return hr[t]?hr[t].apply(null,e):void 0}function yr(t){"fa"===t.prefix&&(t.prefix="fas");var e=t.iconName,n=t.prefix||or();if(e)return e=tr(n,e)||e,Li(vr.definitions,n,e)||Li(xi.styles,n,e)}var vr=new lr,_r=function(){ti.autoReplaceSvg=!1,ti.observeMutations=!1,mr("noAuto")},wr={i2svg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return mo?(mr("beforeI2svg",t),gr("pseudoElements2svg",t),gr("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot;!1===ti.autoReplaceSvg&&(ti.autoReplaceSvg=!0),ti.observeMutations=!0,Ti((function(){kr({autoReplaceSvgRoot:e}),mr("watch",t)}))}},br={icon:function(t){if(null===t)return null;if("object"===Bn(t)&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:tr(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&2===t.length){var e=0===t[1].indexOf("fa-")?t[1].slice(3):t[1],n=rr(t[0]);return{prefix:n,iconName:tr(n,e)||e}}if("string"===typeof t&&(t.indexOf("".concat(ti.cssPrefix,"-"))>-1||t.match(Do))){var o=sr(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||or(),iconName:tr(o.prefix,o.iconName)||o.iconName}}if("string"===typeof t){var i=or();return{prefix:i,iconName:tr(i,t)||t}}}},xr={noAuto:_r,config:ti,dom:wr,parse:br,library:vr,findIconDefinition:yr,toHtml:Pi},kr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,n=void 0===e?ho:e;(Object.keys(xi.styles).length>0||ti.autoFetchSvg)&&mo&&ti.autoReplaceSvg&&xr.dom.i2svg({node:n})};function Sr(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return Pi(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(mo){var e=ho.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Cr(t){var e=t.children,n=t.main,o=t.mask,i=t.attributes,r=t.styles,a=t.transform;if(di(a)&&n.found&&!o.found){var s=n.width,l=n.height,c={x:s/l/2,y:.5};i["style"]=fi(Rn(Rn({},r),{},{"transform-origin":"".concat(c.x+a.x/16,"em ").concat(c.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:e}]}function Tr(t){var e=t.prefix,n=t.iconName,o=t.children,i=t.attributes,r=t.symbol,a=!0===r?"".concat(e,"-").concat(ti.cssPrefix,"-").concat(n):r;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Rn(Rn({},i),{},{id:a}),children:o}]}]}function Pr(t){var e=t.icons,n=e.main,o=e.mask,i=t.prefix,r=t.iconName,a=t.transform,s=t.symbol,l=t.title,c=t.maskId,u=t.titleId,h=t.extra,f=t.watchable,d=void 0!==f&&f,p=o.found?o:n,m=p.width,g=p.height,y="fak"===i,v=[ti.replacementClass,r?"".concat(ti.cssPrefix,"-").concat(r):""].filter((function(t){return-1===h.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(h.classes).join(" "),_={children:[],attributes:Rn(Rn({},h.attributes),{},{"data-prefix":i,"data-icon":r,class:v,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(g)})},w=y&&!~h.classes.indexOf("fa-fw")?{width:"".concat(m/g*16*.0625,"em")}:{};d&&(_.attributes[bo]=""),l&&(_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(u||si())},children:[l]}),delete _.attributes.title);var b=Rn(Rn({},_),{},{prefix:i,iconName:r,main:n,mask:o,maskId:c,transform:a,symbol:s,styles:Rn(Rn({},w),h.styles)}),x=o.found&&n.found?gr("generateAbstractMask",b)||{children:[],attributes:{}}:gr("generateAbstractIcon",b)||{children:[],attributes:{}},k=x.children,S=x.attributes;return b.children=k,b.attributes=S,s?Tr(b):Cr(b)}function Lr(t){var e=t.content,n=t.width,o=t.height,i=t.transform,r=t.title,a=t.extra,s=t.watchable,l=void 0!==s&&s,c=Rn(Rn(Rn({},a.attributes),r?{title:r}:{}),{},{class:a.classes.join(" ")});l&&(c[bo]="");var u=Rn({},a.styles);di(i)&&(u["transform"]=mi({transform:i,startCentered:!0,width:n,height:o}),u["-webkit-transform"]=u["transform"]);var h=fi(u);h.length>0&&(c["style"]=h);var f=[];return f.push({tag:"span",attributes:c,children:[e]}),r&&f.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),f}function Ar(t){var e=t.content,n=t.title,o=t.extra,i=Rn(Rn(Rn({},o.attributes),n?{title:n}:{}),{},{class:o.classes.join(" ")}),r=fi(o.styles);r.length>0&&(i["style"]=r);var a=[];return a.push({tag:"span",attributes:i,children:[e]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}var Er=xi.styles;function Or(t){var e=t[0],n=t[1],o=t.slice(4),i=Wn(o,1),r=i[0],a=null;return a=Array.isArray(r)?{tag:"g",attributes:{class:"".concat(ti.cssPrefix,"-").concat($o.GROUP)},children:[{tag:"path",attributes:{class:"".concat(ti.cssPrefix,"-").concat($o.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(ti.cssPrefix,"-").concat($o.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:e,height:n,icon:a}}var zr={found:!1,width:512,height:512};function Mr(t,e){Ao||ti.showMissingIcons||!t||console.error('Icon with name "'.concat(t,'" and prefix "').concat(e,'" is missing.'))}function Ir(t,e){var n=e;return"fa"===e&&null!==ti.styleDefault&&(e=or()),new Promise((function(o,i){gr("missingIconAbstract");if("fa"===n){var r=er(t)||{};t=r.iconName||t,e=r.prefix||e}if(t&&e&&Er[e]&&Er[e][t]){var a=Er[e][t];return o(Or(a))}Mr(t,e),o(Rn(Rn({},zr),{},{icon:ti.showMissingIcons&&t&&gr("missingIconAbstract")||{}}))}))}var Rr=function(){},Br=ti.measurePerformance&&po&&po.mark&&po.measure?po:{mark:Rr,measure:Rr},Nr='FA "6.5.1"',Dr=function(t){return Br.mark("".concat(Nr," ").concat(t," begins")),function(){return Fr(t)}},Fr=function(t){Br.mark("".concat(Nr," ").concat(t," ends")),Br.measure("".concat(Nr," ").concat(t),"".concat(Nr," ").concat(t," begins"),"".concat(Nr," ").concat(t," ends"))},jr={begin:Dr,end:Fr},Wr=function(){};function Zr(t){var e=t.getAttribute?t.getAttribute(bo):null;return"string"===typeof e}function Vr(t){var e=t.getAttribute?t.getAttribute(So):null,n=t.getAttribute?t.getAttribute(Co):null;return e&&n}function Hr(t){return t&&t.classList&&t.classList.contains&&t.classList.contains(ti.replacementClass)}function $r(){if(!0===ti.autoReplaceSvg)return Kr.replace;var t=Kr[ti.autoReplaceSvg];return t||Kr.replace}function Ur(t){return ho.createElementNS("http://www.w3.org/2000/svg",t)}function Gr(t){return ho.createElement(t)}function qr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.ceFn,o=void 0===n?"svg"===t.tag?Ur:Gr:n;if("string"===typeof t)return ho.createTextNode(t);var i=o(t.tag);Object.keys(t.attributes||[]).forEach((function(e){i.setAttribute(e,t.attributes[e])}));var r=t.children||[];return r.forEach((function(t){i.appendChild(qr(t,{ceFn:o}))})),i}function Yr(t){var e=" ".concat(t.outerHTML," ");return e="".concat(e,"Font Awesome fontawesome.com "),e}var Kr={replace:function(t){var e=t[0];if(e.parentNode)if(t[1].forEach((function(t){e.parentNode.insertBefore(qr(t),e)})),null===e.getAttribute(bo)&&ti.keepOriginalSource){var n=ho.createComment(Yr(e));e.parentNode.replaceChild(n,e)}else e.remove()},nest:function(t){var e=t[0],n=t[1];if(~ci(e).indexOf(ti.replacementClass))return Kr.replace(t);var o=new RegExp("".concat(ti.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(t,e){return e===ti.replacementClass||e.match(o)?t.toSvg.push(e):t.toNode.push(e),t}),{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?e.removeAttribute("class"):e.setAttribute("class",i.toNode.join(" "))}var r=n.map((function(t){return Pi(t)})).join("\n");e.setAttribute(bo,""),e.innerHTML=r}};function Jr(t){t()}function Xr(t,e){var n="function"===typeof e?e:Wr;if(0===t.length)n();else{var o=Jr;ti.mutateApproach===Po&&(o=uo.requestAnimationFrame||Jr),o((function(){var e=$r(),o=jr.begin("mutate");t.map(e),o(),n()}))}}var Qr=!1;function ta(){Qr=!0}function ea(){Qr=!1}var na=null;function oa(t){if(fo&&ti.observeMutations){var e=t.treeCallback,n=void 0===e?Wr:e,o=t.nodeCallback,i=void 0===o?Wr:o,r=t.pseudoElementsCallback,a=void 0===r?Wr:r,s=t.observeMutationsRoot,l=void 0===s?ho:s;na=new fo((function(t){if(!Qr){var e=or();li(t).forEach((function(t){if("childList"===t.type&&t.addedNodes.length>0&&!Zr(t.addedNodes[0])&&(ti.searchPseudoElements&&a(t.target),n(t.target)),"attributes"===t.type&&t.target.parentNode&&ti.searchPseudoElements&&a(t.target.parentNode),"attributes"===t.type&&Zr(t.target)&&~Ho.indexOf(t.attributeName))if("class"===t.attributeName&&Vr(t.target)){var o=sr(ci(t.target)),r=o.prefix,s=o.iconName;t.target.setAttribute(So,r||e),s&&t.target.setAttribute(Co,s)}else Hr(t.target)&&i(t.target)}))}})),mo&&na.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function ia(){na&&na.disconnect()}function ra(t){var e=t.getAttribute("style"),n=[];return e&&(n=e.split(";").reduce((function(t,e){var n=e.split(":"),o=n[0],i=n.slice(1);return o&&i.length>0&&(t[o]=i.join(":").trim()),t}),{})),n}function aa(t){var e=t.getAttribute("data-prefix"),n=t.getAttribute("data-icon"),o=void 0!==t.innerText?t.innerText.trim():"",i=sr(ci(t));return i.prefix||(i.prefix=or()),e&&n&&(i.prefix=e,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&o.length>0&&(i.iconName=Qi(i.prefix,t.innerText)||Xi(i.prefix,zi(t.innerText))),!i.iconName&&ti.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=t.firstChild.data)),i}function sa(t){var e=li(t.attributes).reduce((function(t,e){return"class"!==t.name&&"style"!==t.name&&(t[e.name]=e.value),t}),{}),n=t.getAttribute("title"),o=t.getAttribute("data-fa-title-id");return ti.autoA11y&&(n?e["aria-labelledby"]="".concat(ti.replacementClass,"-title-").concat(o||si()):(e["aria-hidden"]="true",e["focusable"]="false")),e}function la(){return{iconName:null,title:null,titleId:null,prefix:null,transform:ii,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function ca(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=aa(t),o=n.iconName,i=n.prefix,r=n.rest,a=sa(t),s=pr("parseNodeAttributes",{},t),l=e.styleParser?ra(t):[];return Rn({iconName:o,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:i,transform:ii,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:r,styles:l,attributes:a}},s)}var ua=xi.styles;function ha(t){var e="nest"===ti.autoReplaceSvg?ca(t,{styleParser:!1}):ca(t);return~e.extra.classes.indexOf(Fo)?gr("generateLayersText",t,e):gr("generateSvgReplacementMutation",t,e)}var fa=new Set;function da(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!mo)return Promise.resolve();var n=ho.documentElement.classList,o=function(t){return n.add("".concat(To,"-").concat(t))},i=function(t){return n.remove("".concat(To,"-").concat(t))},r=ti.autoFetchSvg?fa:zo.map((function(t){return"fa-".concat(t)})).concat(Object.keys(ua));r.includes("fa")||r.push("fa");var a=[".".concat(Fo,":not([").concat(bo,"])")].concat(r.map((function(t){return".".concat(t,":not([").concat(bo,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=li(t.querySelectorAll(a))}catch(hc){}if(!(s.length>0))return Promise.resolve();o("pending"),i("complete");var l=jr.begin("onTree"),c=s.reduce((function(t,e){try{var n=ha(e);n&&t.push(n)}catch(hc){Ao||"MissingIcon"===hc.name&&console.error(hc)}return t}),[]);return new Promise((function(t,n){Promise.all(c).then((function(n){Xr(n,(function(){o("active"),o("complete"),i("pending"),"function"===typeof e&&e(),l(),t()}))})).catch((function(t){l(),n(t)}))}))}function pa(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ha(t).then((function(t){t&&Xr([t],e)}))}function ma(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(e||{}).icon?e:yr(e||{}),i=n.mask;return i&&(i=(i||{}).icon?i:yr(i||{})),t(o,Rn(Rn({},n),{},{mask:i}))}}zo.map((function(t){fa.add("fa-".concat(t))})),Object.keys(Io[Eo]).map(fa.add.bind(fa)),Object.keys(Io[Oo]).map(fa.add.bind(fa)),fa=Zn(fa);var ga=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,o=void 0===n?ii:n,i=e.symbol,r=void 0!==i&&i,a=e.mask,s=void 0===a?null:a,l=e.maskId,c=void 0===l?null:l,u=e.title,h=void 0===u?null:u,f=e.titleId,d=void 0===f?null:f,p=e.classes,m=void 0===p?[]:p,g=e.attributes,y=void 0===g?{}:g,v=e.styles,_=void 0===v?{}:v;if(t){var w=t.prefix,b=t.iconName,x=t.icon;return Sr(Rn({type:"icon"},t),(function(){return mr("beforeDOMElementCreation",{iconDefinition:t,params:e}),ti.autoA11y&&(h?y["aria-labelledby"]="".concat(ti.replacementClass,"-title-").concat(d||si()):(y["aria-hidden"]="true",y["focusable"]="false")),Pr({icons:{main:Or(x),mask:s?Or(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:b,transform:Rn(Rn({},ii),o),symbol:r,title:h,maskId:c,titleId:d,extra:{attributes:y,styles:_,classes:m}})}))}},ya={mixout:function(){return{icon:ma(ga)}},hooks:function(){return{mutationObserverCallbacks:function(t){return t.treeCallback=da,t.nodeCallback=pa,t}}},provides:function(t){t.i2svg=function(t){var e=t.node,n=void 0===e?ho:e,o=t.callback,i=void 0===o?function(){}:o;return da(n,i)},t.generateSvgReplacementMutation=function(t,e){var n=e.iconName,o=e.title,i=e.titleId,r=e.prefix,a=e.transform,s=e.symbol,l=e.mask,c=e.maskId,u=e.extra;return new Promise((function(e,h){Promise.all([Ir(n,r),l.iconName?Ir(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(l){var h=Wn(l,2),f=h[0],d=h[1];e([t,Pr({icons:{main:f,mask:d},prefix:r,iconName:n,transform:a,symbol:s,maskId:c,title:o,titleId:i,extra:u,watchable:!0})])})).catch(h)}))},t.generateAbstractIcon=function(t){var e,n=t.children,o=t.attributes,i=t.main,r=t.transform,a=t.styles,s=fi(a);return s.length>0&&(o["style"]=s),di(r)&&(e=gr("generateAbstractTransformGrouping",{main:i,transform:r,containerWidth:i.width,iconWidth:i.width})),n.push(e||i.icon),{children:n,attributes:o}}}},va={mixout:function(){return{layer:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.classes,o=void 0===n?[]:n;return Sr({type:"layer"},(function(){mr("beforeDOMElementCreation",{assembler:t,params:e});var n=[];return t((function(t){Array.isArray(t)?t.map((function(t){n=n.concat(t.abstract)})):n=n.concat(t.abstract)})),[{tag:"span",attributes:{class:["".concat(ti.cssPrefix,"-layers")].concat(Zn(o)).join(" ")},children:n}]}))}}}},_a={mixout:function(){return{counter:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.title,o=void 0===n?null:n,i=e.classes,r=void 0===i?[]:i,a=e.attributes,s=void 0===a?{}:a,l=e.styles,c=void 0===l?{}:l;return Sr({type:"counter",content:t},(function(){return mr("beforeDOMElementCreation",{content:t,params:e}),Ar({content:t.toString(),title:o,extra:{attributes:s,styles:c,classes:["".concat(ti.cssPrefix,"-layers-counter")].concat(Zn(r))}})}))}}}},wa={mixout:function(){return{text:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,o=void 0===n?ii:n,i=e.title,r=void 0===i?null:i,a=e.classes,s=void 0===a?[]:a,l=e.attributes,c=void 0===l?{}:l,u=e.styles,h=void 0===u?{}:u;return Sr({type:"text",content:t},(function(){return mr("beforeDOMElementCreation",{content:t,params:e}),Lr({content:t,transform:Rn(Rn({},ii),o),title:r,extra:{attributes:c,styles:h,classes:["".concat(ti.cssPrefix,"-layers-text")].concat(Zn(s))}})}))}}},provides:function(t){t.generateLayersText=function(t,e){var n=e.title,o=e.transform,i=e.extra,r=null,a=null;if(go){var s=parseInt(getComputedStyle(t).fontSize,10),l=t.getBoundingClientRect();r=l.width/s,a=l.height/s}return ti.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,Lr({content:t.innerHTML,width:r,height:a,transform:o,title:n,extra:i,watchable:!0})])}}},ba=new RegExp('"',"ug"),xa=[1105920,1112319];function ka(t){var e=t.replace(ba,""),n=Mi(e,0),o=n>=xa[0]&&n<=xa[1],i=2===e.length&&e[0]===e[1];return{value:zi(i?e[0]:e),isSecondary:o||i}}function Sa(t,e){var n="".concat(ko).concat(e.replace(":","-"));return new Promise((function(o,i){if(null!==t.getAttribute(n))return o();var r=li(t.children),a=r.filter((function(t){return t.getAttribute(xo)===e}))[0],s=uo.getComputedStyle(t,e),l=s.getPropertyValue("font-family").match(jo),c=s.getPropertyValue("font-weight"),u=s.getPropertyValue("content");if(a&&!l)return t.removeChild(a),o();if(l&&"none"!==u&&""!==u){var h=s.getPropertyValue("content"),f=~["Sharp"].indexOf(l[2])?Oo:Eo,d=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?Ro[f][l[2].toLowerCase()]:Wo[f][c],p=ka(h),m=p.value,g=p.isSecondary,y=l[0].startsWith("FontAwesome"),v=Xi(d,m),_=v;if(y){var w=nr(m);w.iconName&&w.prefix&&(v=w.iconName,d=w.prefix)}if(!v||g||a&&a.getAttribute(So)===d&&a.getAttribute(Co)===_)o();else{t.setAttribute(n,_),a&&t.removeChild(a);var b=la(),x=b.extra;x.attributes[xo]=e,Ir(v,d).then((function(i){var r=Pr(Rn(Rn({},b),{},{icons:{main:i,mask:ir()},prefix:d,iconName:_,extra:x,watchable:!0})),a=ho.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===e?t.insertBefore(a,t.firstChild):t.appendChild(a),a.outerHTML=r.map((function(t){return Pi(t)})).join("\n"),t.removeAttribute(n),o()})).catch(i)}}else o()}))}function Ca(t){return Promise.all([Sa(t,"::before"),Sa(t,"::after")])}function Ta(t){return t.parentNode!==document.head&&!~Lo.indexOf(t.tagName.toUpperCase())&&!t.getAttribute(xo)&&(!t.parentNode||"svg"!==t.parentNode.tagName)}function Pa(t){if(mo)return new Promise((function(e,n){var o=li(t.querySelectorAll("*")).filter(Ta).map(Ca),i=jr.begin("searchPseudoElements");ta(),Promise.all(o).then((function(){i(),ea(),e()})).catch((function(){i(),ea(),n()}))}))}var La={hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=Pa,t}}},provides:function(t){t.pseudoElements2svg=function(t){var e=t.node,n=void 0===e?ho:e;ti.searchPseudoElements&&Pa(n)}}},Aa=!1,Ea={mixout:function(){return{dom:{unwatch:function(){ta(),Aa=!0}}}},hooks:function(){return{bootstrap:function(){oa(pr("mutationObserverCallbacks",{}))},noAuto:function(){ia()},watch:function(t){var e=t.observeMutationsRoot;Aa?ea():oa(pr("mutationObserverCallbacks",{observeMutationsRoot:e}))}}}},Oa=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),o=n[0],i=n.slice(1).join("-");if(o&&"h"===i)return t.flipX=!0,t;if(o&&"v"===i)return t.flipY=!0,t;if(i=parseFloat(i),isNaN(i))return t;switch(o){case"grow":t.size=t.size+i;break;case"shrink":t.size=t.size-i;break;case"left":t.x=t.x-i;break;case"right":t.x=t.x+i;break;case"up":t.y=t.y-i;break;case"down":t.y=t.y+i;break;case"rotate":t.rotate=t.rotate+i;break}return t}),e)},za={mixout:function(){return{parse:{transform:function(t){return Oa(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-transform");return n&&(t.transform=Oa(n)),t}}},provides:function(t){t.generateAbstractTransformGrouping=function(t){var e=t.main,n=t.transform,o=t.containerWidth,i=t.iconWidth,r={transform:"translate(".concat(o/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={transform:"".concat(a," ").concat(s," ").concat(l)},u={transform:"translate(".concat(i/2*-1," -256)")},h={outer:r,inner:c,path:u};return{tag:"g",attributes:Rn({},h.outer),children:[{tag:"g",attributes:Rn({},h.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:Rn(Rn({},e.icon.attributes),h.path)}]}]}}}},Ma={x:0,y:0,width:"100%",height:"100%"};function Ia(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function Ra(t){return"g"===t.tag?t.children:[t]}var Ba={hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-mask"),o=n?sr(n.split(" ").map((function(t){return t.trim()}))):ir();return o.prefix||(o.prefix=or()),t.mask=o,t.maskId=e.getAttribute("data-fa-mask-id"),t}}},provides:function(t){t.generateAbstractMask=function(t){var e=t.children,n=t.attributes,o=t.main,i=t.mask,r=t.maskId,a=t.transform,s=o.width,l=o.icon,c=i.width,u=i.icon,h=pi({transform:a,containerWidth:c,iconWidth:s}),f={tag:"rect",attributes:Rn(Rn({},Ma),{},{fill:"white"})},d=l.children?{children:l.children.map(Ia)}:{},p={tag:"g",attributes:Rn({},h.inner),children:[Ia(Rn({tag:l.tag,attributes:Rn(Rn({},l.attributes),h.path)},d))]},m={tag:"g",attributes:Rn({},h.outer),children:[p]},g="mask-".concat(r||si()),y="clip-".concat(r||si()),v={tag:"mask",attributes:Rn(Rn({},Ma),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[f,m]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:Ra(u)},v]};return e.push(_,{tag:"rect",attributes:Rn({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(g,")")},Ma)}),{children:e,attributes:n}}}},Na={provides:function(t){var e=!1;uo.matchMedia&&(e=uo.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var t=[],n={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};t.push({tag:"path",attributes:Rn(Rn({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=Rn(Rn({},o),{},{attributeName:"opacity"}),r={tag:"circle",attributes:Rn(Rn({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||r.children.push({tag:"animate",attributes:Rn(Rn({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Rn(Rn({},i),{},{values:"1;0;1;1;0;1;"})}),t.push(r),t.push({tag:"path",attributes:Rn(Rn({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:e?[]:[{tag:"animate",attributes:Rn(Rn({},i),{},{values:"1;0;0;0;0;1;"})}]}),e||t.push({tag:"path",attributes:Rn(Rn({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Rn(Rn({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:t}}}},Da={hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-symbol"),o=null!==n&&(""===n||n);return t["symbol"]=o,t}}}},Fa=[wi,ya,va,_a,wa,La,Ea,za,Ba,Na,Da];dr(Fa,{mixoutsTo:xr});xr.noAuto;var ja=xr.config,Wa=xr.library,Za=(xr.dom,xr.parse),Va=(xr.findIconDefinition,xr.toHtml,xr.icon),Ha=(xr.layer,xr.text);xr.counter;function $a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function Ua(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$a(Object(n),!0).forEach((function(e){qa(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ga(t){return Ga="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},Ga(t)}function qa(t,e,n){return e=is(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ya(t,e){if(null==t)return{};var n,o,i={},r=Object.keys(t);for(o=0;o<r.length;o++)n=r[o],e.indexOf(n)>=0||(i[n]=t[n]);return i}function Ka(t,e){if(null==t)return{};var n,o,i=Ya(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(o=0;o<r.length;o++)n=r[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ja(t){return Xa(t)||Qa(t)||ts(t)||ns()}function Xa(t){if(Array.isArray(t))return es(t)}function Qa(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function ts(t,e){if(t){if("string"===typeof t)return es(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?es(t,e):void 0}}function es(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function ns(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function os(t,e){if("object"!==typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function is(t){var e=os(t,"string");return"symbol"===typeof e?e:String(e)}var rs="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof i.g?i.g:"undefined"!==typeof self?self:{},as={exports:{}};(function(t){(function(e){var n=function(t,e,o){if(!c(e)||h(e)||f(e)||d(e)||l(e))return e;var i,r=0,a=0;if(u(e))for(i=[],a=e.length;r<a;r++)i.push(n(t,e[r],o));else for(var s in i={},e)Object.prototype.hasOwnProperty.call(e,s)&&(i[t(s,o)]=n(t,e[s],o));return i},o=function(t,e){e=e||{};var n=e.separator||"_",o=e.split||/(?=[A-Z])/;return t.split(o).join(n)},i=function(t){return p(t)?t:(t=t.replace(/[\-_\s]+(.)?/g,(function(t,e){return e?e.toUpperCase():""})),t.substr(0,1).toLowerCase()+t.substr(1))},r=function(t){var e=i(t);return e.substr(0,1).toUpperCase()+e.substr(1)},a=function(t,e){return o(t,e).toLowerCase()},s=Object.prototype.toString,l=function(t){return"function"===typeof t},c=function(t){return t===Object(t)},u=function(t){return"[object Array]"==s.call(t)},h=function(t){return"[object Date]"==s.call(t)},f=function(t){return"[object RegExp]"==s.call(t)},d=function(t){return"[object Boolean]"==s.call(t)},p=function(t){return t-=0,t===t},m=function(t,e){var n=e&&"process"in e?e.process:e;return"function"!==typeof n?t:function(e,o){return n(e,t,o)}},g={camelize:i,decamelize:a,pascalize:r,depascalize:a,camelizeKeys:function(t,e){return n(m(i,e),t)},decamelizeKeys:function(t,e){return n(m(a,e),t,e)},pascalizeKeys:function(t,e){return n(m(r,e),t)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=g:e.humps=g})(rs)})(as);var ss=as.exports,ls=["class","style"];function cs(t){return t.split(";").map((function(t){return t.trim()})).filter((function(t){return t})).reduce((function(t,e){var n=e.indexOf(":"),o=ss.camelize(e.slice(0,n)),i=e.slice(n+1).trim();return t[o]=i,t}),{})}function us(t){return t.split(/\s+/).reduce((function(t,e){return t[e]=!0,t}),{})}function hs(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"===typeof t)return t;var o=(t.children||[]).map((function(t){return hs(t)})),i=Object.keys(t.attributes||{}).reduce((function(e,n){var o=t.attributes[n];switch(n){case"class":e.class=us(o);break;case"style":e.style=cs(o);break;default:e.attrs[n]=o}return e}),{attrs:{},class:{},style:{}});n.class;var r=n.style,a=void 0===r?{}:r,s=Ka(n,ls);return(0,f.h)(t.tag,Ua(Ua(Ua({},e),{},{class:i.class,style:Ua(Ua({},i.style),a)},i.attrs),s),o)}var fs=!1;try{fs=!0}catch(hc){}function ds(){var t;!fs&&console&&"function"===typeof console.error&&(t=console).error.apply(t,arguments)}function ps(t,e){return Array.isArray(e)&&e.length>0||!Array.isArray(e)&&e?qa({},t,e):{}}function ms(t){var e,n=(e={"fa-spin":t.spin,"fa-pulse":t.pulse,"fa-fw":t.fixedWidth,"fa-border":t.border,"fa-li":t.listItem,"fa-inverse":t.inverse,"fa-flip":!0===t.flip,"fa-flip-horizontal":"horizontal"===t.flip||"both"===t.flip,"fa-flip-vertical":"vertical"===t.flip||"both"===t.flip},qa(e,"fa-".concat(t.size),null!==t.size),qa(e,"fa-rotate-".concat(t.rotation),null!==t.rotation),qa(e,"fa-pull-".concat(t.pull),null!==t.pull),qa(e,"fa-swap-opacity",t.swapOpacity),qa(e,"fa-bounce",t.bounce),qa(e,"fa-shake",t.shake),qa(e,"fa-beat",t.beat),qa(e,"fa-fade",t.fade),qa(e,"fa-beat-fade",t.beatFade),qa(e,"fa-flash",t.flash),qa(e,"fa-spin-pulse",t.spinPulse),qa(e,"fa-spin-reverse",t.spinReverse),e);return Object.keys(n).map((function(t){return n[t]?t:null})).filter((function(t){return t}))}function gs(t){return t&&"object"===Ga(t)&&t.prefix&&t.iconName&&t.icon?t:Za.icon?Za.icon(t):null===t?null:"object"===Ga(t)&&t.prefix&&t.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"===typeof t?{prefix:"fas",iconName:t}:void 0}var ys=(0,f.defineComponent)({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(t,e){var n=e.attrs,o=(0,f.computed)((function(){return gs(t.icon)})),i=(0,f.computed)((function(){return ps("classes",ms(t))})),r=(0,f.computed)((function(){return ps("transform","string"===typeof t.transform?Za.transform(t.transform):t.transform)})),a=(0,f.computed)((function(){return ps("mask",gs(t.mask))})),s=(0,f.computed)((function(){return Va(o.value,Ua(Ua(Ua(Ua({},i.value),r.value),a.value),{},{symbol:t.symbol,title:t.title,titleId:t.titleId,maskId:t.maskId}))}));(0,f.watch)(s,(function(t){if(!t)return ds("Could not find one or more icon(s)",o.value,a.value)}),{immediate:!0});var l=(0,f.computed)((function(){return s.value?hs(s.value.abstract[0],{},n):null}));return function(){return l.value}}});(0,f.defineComponent)({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,e){var n=e.slots,o=ja.familyPrefix,i=(0,f.computed)((function(){return["".concat(o,"-layers")].concat(Ja(t.fixedWidth?["".concat(o,"-fw")]:[]))}));return function(){return(0,f.h)("div",{class:i.value},n.default?n.default():[])}}}),(0,f.defineComponent)({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,e){var n=e.attrs,o=ja.familyPrefix,i=(0,f.computed)((function(){return ps("classes",[].concat(Ja(t.counter?["".concat(o,"-layers-counter")]:[]),Ja(t.position?["".concat(o,"-layers-").concat(t.position)]:[])))})),r=(0,f.computed)((function(){return ps("transform","string"===typeof t.transform?Za.transform(t.transform):t.transform)})),a=(0,f.computed)((function(){var e=Ha(t.value.toString(),Ua(Ua({},r.value),i.value)),n=e.abstract;return t.counter&&(n[0].attributes.class=n[0].attributes.class.replace("fa-layers-text","")),n[0]})),s=(0,f.computed)((function(){return hs(a.value,{},n)}));return function(){return s.value}}});const vs=(0,f.defineComponent)({components:{"v-tooltip":bn,"v-icon":Mn,"font-awesome-icon":ys},props:{modelValue:{type:Boolean,required:!1},faIcon:{type:String,required:!1,default:null},mdIcon:{type:String,required:!1,default:null},color:{type:String,default:"#ffffff"},focusColor:{type:String,default:"#ffffff"},backgroundColor:{type:String,default:"#040404"},boxShadow:{type:Boolean,default:!0},border:{type:Boolean,default:!0},longPressTimeMs:{type:Number,default:500},tooltipText:{type:String,required:!1},tooltipLocation:{type:String,default:"start"},tooltipOnClick:{type:Boolean,default:!1},tooltipOnFocus:{type:Boolean,default:!1},tooltipOnHover:{type:Boolean,default:!0},tooltipOffset:{type:[String,Number],default:0},showTooltip:{type:Boolean,default:!0},faSize:{type:String,default:"lg"},mdSize:{type:String,default:"1.25em"}},methods:{updateValue:function(){void 0!==this.modelValue&&this.$emit("update:modelValue",!this.modelValue)},handleAction:function(){this.updateValue(),this.$emit("activate")},handleTouchStart:function(){var t=this;this.longPressTimeout=setTimeout((function(){t.tooltip=!0}),this.longPressTimeMs)},handleTouchEnd:function(){this.longPressTimeout&&(clearTimeout(this.longPressTimeout),this.longPressTimeout=null),this.tooltip=!1}},data:function(){return{tooltip:!1,longPressTimeout:null}},computed:{cssVars:function(){return{"--color":this.color,"--background-color":this.backgroundColor,"--focus-color":this.focusColor,"--active-shadow":this.boxShadow?this.color:"transparent","--focus-shadow":this.boxShadow?this.focusColor:"transparent"}},buttonID:function(){var t=this.$attrs["id"];return t?"".concat(t,"-button"):null}}});i(566);var _s=i(262);const ws=(0,_s.A)(vs,[["render",x]]),bs=ws;var xs={class:"map-container"};function ks(t,e,n,o,i,r){return(0,f.openBlock)(),(0,f.createElementBlock)("div",xs)}var Ss=i(481),Cs=i.n(Ss);i(414);function Ts(t){return{all:t=t||new Map,on:function(e,n){var o=t.get(e);o?o.push(n):t.set(e,[n])},off:function(e,n){var o=t.get(e);o&&(n?o.splice(o.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var o=t.get(e);o&&o.slice().map((function(t){t(n)})),(o=t.get("*"))&&o.slice().map((function(t){t(e,n)}))}}}const Ps=Ts(),Ls=new Map,As={x:["left","center","right"],y:["top","bottom"]},Es=(t=>()=>t++)(0),Os=t=>"string"!=typeof t?[]:t.split(/\s+/gi).filter((t=>t)),zs=t=>{"string"==typeof t&&(t=Os(t));let e=null,n=null;return t.forEach((t=>{-1!==As.y.indexOf(t)&&(n=t),-1!==As.x.indexOf(t)&&(e=t)})),{x:e,y:n}};class Ms{constructor(t,e,n){this.remaining=e,this.callback=t,this.notifyItem=n,this.resume()}pause(){clearTimeout(this.notifyItem.timer),this.remaining-=Date.now()-this.start}resume(){this.start=Date.now(),clearTimeout(this.notifyItem.timer),this.notifyItem.timer=setTimeout(this.callback,this.remaining)}}const Is={position:["top","right"],cssAnimation:"vn-fade",velocityAnimation:{enter:t=>({height:[t.clientHeight,0],opacity:[1,0]}),leave:{height:0,opacity:[0,1]}}},Rs=(0,f.defineComponent)({name:"velocity-group",emits:["after-leave","leave","enter"],methods:{enter(t,e){this.$emit("enter",t,e)},leave(t,e){this.$emit("leave",t,e)},afterLeave(){this.$emit("after-leave")}}}),Bs=(t,e)=>{const n=t.__vccOpts||t;for(const[o,i]of e)n[o]=i;return n};function Ns(t,e,n,o,i,r){return(0,f.openBlock)(),(0,f.createBlock)(f.TransitionGroup,{tag:"span",css:!1,onEnter:t.enter,onLeave:t.leave,onAfterLeave:t.afterLeave},{default:(0,f.withCtx)((()=>[(0,f.renderSlot)(t.$slots,"default")])),_:3},8,["onEnter","onLeave","onAfterLeave"])}const Ds=Bs(Rs,[["render",Ns]]),Fs=(0,f.defineComponent)({name:"css-group",inheritAttrs:!1,props:{name:{type:String,required:!0}}});function js(t,e,n,o,i,r){return(0,f.openBlock)(),(0,f.createBlock)(f.TransitionGroup,{tag:"span",name:t.name},{default:(0,f.withCtx)((()=>[(0,f.renderSlot)(t.$slots,"default")])),_:3},8,["name"])}const Ws=Bs(Fs,[["render",js]]),Zs="[-+]?[0-9]*.?[0-9]+",Vs=[{name:"px",regexp:new RegExp(`^${Zs}px$`)},{name:"%",regexp:new RegExp(`^${Zs}%$`)},{name:"px",regexp:new RegExp(`^${Zs}$`)}],Hs=t=>{if("auto"===t)return{type:t,value:0};for(let e=0;e<Vs.length;e++){const n=Vs[e];if(n.regexp.test(t))return{type:n.name,value:parseFloat(t)}}return{type:"",value:t}},$s=t=>{switch(typeof t){case"number":return{type:"px",value:t};case"string":return Hs(t);default:return{type:"",value:t}}},Us={IDLE:0,DESTROYED:2};(0,f.defineComponent)({name:"notifications",components:{VelocityGroup:Ds,CssGroup:Ws},props:{group:{type:String,default:""},width:{type:[Number,String],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array],default:Is.position},classes:{type:String,default:"vue-notification"},animationType:{type:String,default:"css"},animation:{type:Object,default:Is.velocityAnimation},animationName:{type:String,default:Is.cssAnimation},speed:{type:Number,default:300},cooldown:{type:Number,default:0},duration:{type:Number,default:3e3},delay:{type:Number,default:0},max:{type:Number,default:1/0},ignoreDuplicates:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0},pauseOnHover:{type:Boolean,default:!1}},emits:["click","destroy","start"],data(){return{list:[],velocity:Ls.get("velocity"),timerControl:null}},computed:{actualWidth(){return $s(this.width)},isVA(){return"velocity"===this.animationType},componentName(){return this.isVA?"velocity-group":"css-group"},styles(){const{x:t,y:e}=zs(this.position),n=this.actualWidth.value,o=this.actualWidth.type,i={width:n+o};return e&&(i[e]="0px"),t&&("center"===t?i.left=`calc(50% - ${+n/2}${o})`:i[t]="0px"),i},active(){return this.list.filter((t=>t.state!==Us.DESTROYED))},botToTop(){return this.styles.hasOwnProperty("bottom")}},mounted(){Ps.on("add",this.addItem),Ps.on("close",this.closeItem)},methods:{destroyIfNecessary(t){this.$emit("click",t),this.closeOnClick&&this.destroy(t)},pauseTimeout(){var t;this.pauseOnHover&&(null==(t=this.timerControl)||t.pause())},resumeTimeout(){var t;this.pauseOnHover&&(null==(t=this.timerControl)||t.resume())},addItem(t={}){if(t.group||(t.group=""),t.data||(t.data={}),this.group!==t.group)return;if(t.clean||t.clear)return void this.destroyAll();const e="number"==typeof t.duration?t.duration:this.duration,n="number"==typeof t.speed?t.speed:this.speed,o="boolean"==typeof t.ignoreDuplicates?t.ignoreDuplicates:this.ignoreDuplicates,{title:i,text:r,type:a,data:s,id:l}=t,c={id:l||Es(),title:i,text:r,type:a,state:Us.IDLE,speed:n,length:e+2*n,data:s};e>=0&&(this.timerControl=new Ms((()=>this.destroy(c)),c.length,c));const u=this.reverse?!this.botToTop:this.botToTop;let h=-1;const f=this.active.some((e=>e.title===t.title&&e.text===t.text));(!o||!f)&&(u?(this.list.push(c),this.$emit("start",c),this.active.length>this.max&&(h=0)):(this.list.unshift(c),this.$emit("start",c),this.active.length>this.max&&(h=this.active.length-1)),-1!==h&&this.destroy(this.active[h]))},closeItem(t){this.destroyById(t)},notifyClass(t){return["vue-notification-template",this.classes,t.type||""]},notifyWrapperStyle(t){return this.isVA?void 0:{transition:`all ${t.speed}ms`}},destroy(t){clearTimeout(t.timer),t.state=Us.DESTROYED,this.clean(),this.$emit("destroy",t)},destroyById(t){const e=this.list.find((e=>e.id===t));e&&this.destroy(e)},destroyAll(){this.active.forEach(this.destroy)},getAnimation(t,e){var n;const o=null==(n=this.animation)?void 0:n[t];return"function"==typeof o?o.call(this,e):o},enter(t,e){if(!this.isVA)return;const n=this.getAnimation("enter",t);this.velocity(t,n,{duration:this.speed,complete:e})},leave(t,e){if(!this.isVA)return;const n=this.getAnimation("leave",t);this.velocity(t,n,{duration:this.speed,complete:e})},clean(){this.list=this.list.filter((t=>t.state!==Us.DESTROYED))}}});const Gs=t=>{"string"==typeof t&&(t={title:"",text:t}),"object"==typeof t&&Ps.emit("add",t)};Gs.close=t=>{Ps.emit("close",t)};(function(){var t;try{if("undefined"!=typeof document){var e=document.createElement("style");e.nonce=null==(t=document.head.querySelector("meta[property=csp-nonce]"))?void 0:t.content,e.appendChild(document.createTextNode(".vue-notification-group{display:block;position:fixed;z-index:5000}.vue-notification-wrapper{display:block;overflow:hidden;width:100%;margin:0;padding:0}.notification-title{font-weight:600}.vue-notification-template{display:block;box-sizing:border-box;background:white;text-align:left}.vue-notification{display:block;box-sizing:border-box;text-align:left;font-size:12px;padding:10px;margin:0 5px 5px;color:#fff;background:#44A4FC;border-left:5px solid #187FE7}.vue-notification.warn{background:#ffb648;border-left-color:#f48a06}.vue-notification.error{background:#E54D42;border-left-color:#b82e24}.vue-notification.success{background:#68CD86;border-left-color:#42a85f}.vn-fade-enter-active,.vn-fade-leave-active,.vn-fade-move{transition:all .5s}.vn-fade-enter-from,.vn-fade-leave-to{opacity:0}")),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();var qs={templateUrl:"https://{s}.google.com/vt/lyrs=p&x={x}&y={y}&z={z}",minZoom:1,maxZoom:20,subdomains:["mt0","mt1","mt2","mt3"],attribution:'© <a href="https://www.google.com/maps">Google Maps</a>',className:"map-tiles"};const Ys=(0,f.defineComponent)({emits:["place","update:modelValue","error","mapReady"],props:{activatorColor:{type:String,default:"#ffffff"},detectLocation:{type:Boolean,default:!0},modelValue:{type:Object,default:function(){return{latitudeDeg:42.3814,longitudeDeg:-71.1281}}},mapOptions:{type:Object,default:function(){return qs}},initialPlace:{type:Object,default:null},places:{type:Array,default:function(){return[]}},placeCircleOptions:{type:Object,default:function(){return{color:"#0000FF",fillColor:"#3333FF",fillOpacity:.5,radius:150}}},placeSelectable:{type:Boolean,default:!0},selectable:{type:Boolean,default:!0},selectedCircleOptions:{type:Object,default:function(){return{color:"#FF0000",fillColor:"#FF0033",fillOpacity:.5,radius:200}}},selectionEvent:{type:String,default:"click"},worldRadii:{type:Boolean,default:!1},geoJsonFiles:{type:Array,default:function(){return[]}},layers:{type:Array,default:function(){return[]}}},mounted:function(){this.initialPlace&&(this.selectedPlace=this.initialPlace),this.detectLocation&&this.getLocation(!0),this.setup(!0)},data:function(){return{placeCircles:[],hoveredPlace:null,selectedCircle:null,selectedPlace:null,selectedPlaceCircle:null,map:null}},methods:{getLocation:function(t){var e=this;void 0===t&&(t=!1);var n={timeout:1e4,enableHighAccuracy:!0};navigator.geolocation.getCurrentPosition((function(t){e.updateValue({longitudeDeg:t.coords.longitude,latitudeDeg:t.coords.latitude}),e.map&&e.map.setView([t.coords.latitude,t.coords.longitude],e.map.getZoom())}),(function(n){var o="Unable to autodetect location. Location will default to Cambridge, MA, USA, or you can\nuse the location selector to manually input a location.";t?Gs({group:"startup-location",type:"error",text:o,duration:4500}):e.$emit("error",o)}),n)},circleForLocation:function(t,e){return this.circleMaker([t.latitudeDeg,t.longitudeDeg],e)},circleForSelection:function(){return this.selectedPlace?null:this.circleForLocation(this.modelValue,n(n({},this.selectedCircleOptions),{interactive:!1}))},circleForPlace:function(t){var e=t===this.selectedPlace?this.selectedCircleOptions:this.placeCircleOptions,n=this.circleForLocation(t,e);return t.name&&n.bindTooltip(t.name),n},onPlaceSelect:function(t){this.updateValue({longitudeDeg:t.longitudeDeg,latitudeDeg:t.latitudeDeg}),this.$emit("place",t),this.selectedPlace=t},onMapSelect:function(t){var e=t.latlng.lng+180;e=(e%360+360)%360,e-=180,this.selectedPlace=null,this.updateValue({latitudeDeg:t.latlng.lat,longitudeDeg:e})},setup:function(t){var e,o,i,r,a=this;void 0===t&&(t=!1);var s=this.$el,l=t&&this.mapOptions.initialLocation?this.locationToLatLng(this.mapOptions.initialLocation):this.latLng,c=null!==(e=this.mapOptions.initialZoom)&&void 0!==e?e:4,u=t?c:null!==(i=null===(o=this.map)||void 0===o?void 0:o.getZoom())&&void 0!==i?i:c,h=Cs().map(s).setView(l,u),f=n(n({},qs),this.mapOptions);Cs().tileLayer(f.templateUrl,f).addTo(h),this.placeCircles=this.places.map((function(t){return a.circleForPlace(t)})),this.placeCircles.forEach((function(t,e){t.on("mouseover",(function(){var n=a.places[e];a.hoveredPlace=n,t.openTooltip([n.latitudeDeg,n.longitudeDeg])})),a.placeSelectable&&t.on("click",(function(){a.onPlaceSelect(a.places[e])})),t.on("mouseout",(function(){a.hoveredPlace=null})),t.addTo(h)})),this.selectedCircle=this.circleForSelection(),null===(r=this.selectedCircle)||void 0===r||r.addTo(h),h.doubleClickZoom.disable(),this.selectable&&h.on(this.selectionEvent,this.onMapSelect),h.attributionControl.setPrefix('<a href="https://leafletjs.com" title="A JavaScript library for interactive maps" target="_blank" rel="noopener noreferrer" >Leaflet</a>'),this.layers.forEach((function(t){return t.addTo(h)})),this.geoJsonFiles.forEach((function(t){var e=t.url,n=t.geojson,o=t.style;e?fetch(e).then((function(t){return t.json()})).then((function(t){Cs().geoJSON(t,{style:o}).addTo(h)})).catch((function(t){console.error("Error:",t)})):n&&Cs().geoJSON(n,{style:o,pointToLayer:function(t,e){return t.properties.absoluteRadius?(o.radius=t.properties.absoluteRadius,Cs().circle(e,o)):Cs().circleMarker(e,o)},onEachFeature:function(t,e){t.properties&&t.properties.popupContent&&e.bindPopup(t.properties.popupContent)}}).addTo(h)})),this.map=h,this.$emit("mapReady")},updateValue:function(t){this.$emit("update:modelValue",t)},addLayerToMap:function(t){this.map&&t.addTo(this.map)},removeLayerFromMap:function(t){this.map&&t.removeFrom(this.map)},updateCircle:function(){var t;this.map&&(null===(t=this.selectedCircle)||void 0===t||t.remove(),this.selectedCircle=this.circleForSelection(),this.selectedCircle&&this.selectedCircle.addTo(this.map))},locationToLatLng:function(t){return[t.latitudeDeg,t.longitudeDeg]}},computed:{circleMaker:function(){return this.worldRadii?Cs().circle:Cs().circleMarker},latLng:function(){return this.locationToLatLng(this.modelValue)}},watch:{modelValue:function(){this.updateCircle(),this.map&&!this.map.getBounds().contains(this.latLng)&&this.map.setView(this.latLng)},places:function(){var t;null===(t=this.map)||void 0===t||t.remove(),this.setup()},selectedPlace:function(t){var e,n=this.places.indexOf(t),o=this.selectedPlaceCircle;this.selectedPlaceCircle=this.placeCircles[n],null===o||void 0===o||o.setStyle(this.placeCircleOptions),null===(e=this.selectedPlaceCircle)||void 0===e||e.setStyle(this.selectedCircleOptions)}}});i(308);const Ks=(0,_s.A)(Ys,[["render",ks]]),Js=Ks;var Xs={id:"credits",class:"ui-text"},Qs=(0,f.createElementVNode)("div",{id:"icons-container"},null,-1),tl=[Qs];function el(t,e,n,o,i,r){return(0,f.openBlock)(),(0,f.createElementBlock)("div",Xs,tl)}const nl=(0,f.defineComponent)({props:{visible:{type:Boolean,default:!0}},data:function(){return{}},created:function(){},methods:{},computed:{isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}},watch:{}});i(734);const ol=(0,_s.A)(nl,[["render",el]]),il=ol;var rl={id:"funding-acknowledgment"};function al(t,e,n,o,i,r){return(0,f.openBlock)(),(0,f.createElementBlock)("div",rl," The material contained in this product is based upon work supported by NASA under cooperative agreement award No. 80NSSC21M0002. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Aeronautics and Space Administration. ")}const sl=(0,f.defineComponent)({props:{visible:{type:Boolean,default:!0}},data:function(){return{}},created:function(){},methods:{},computed:{},watch:{}});i(415);const ll=(0,_s.A)(sl,[["render",al]]),cl=ll;var ul={id:"icons-container"},hl=["id","href"],fl=["alt","src"];function dl(t,e,n,o,i,r){return(0,f.openBlock)(),(0,f.createElementBlock)("div",{id:"logo-credits",style:(0,f.normalizeStyle)(t.cssVars)},[(0,f.createElementVNode)("div",ul,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.logos,(function(t){return(0,f.openBlock)(),(0,f.createElementBlock)("a",{key:t.href,id:t.name?t.name:void 0,href:t.href,target:"_blank",rel:"noopener noreferrer",class:(0,f.normalizeClass)(["logo-link",t.name?"logo-".concat(t.name):""])},[(0,f.createElementVNode)("img",{alt:t.alt,src:t.src},null,8,fl)],10,hl)})),128))])],4)}var pl=new Map([["cosmicds",{src:"https://projects.cosmicds.cfa.harvard.edu/cds-website/logos/cosmicds_logo_for_dark_backgrounds.png",href:"https://www.cosmicds.cfa.harvard.edu/",alt:"CosmicDS Logo",name:"cosmicds"}],["wwt",{src:"https://projects.cosmicds.cfa.harvard.edu/cds-website/logos/logo_wwt.png",href:"https://worldwidetelescope.org/home/",alt:"WWT Logo",name:"wwt"}],["sciact",{src:"https://projects.cosmicds.cfa.harvard.edu/cds-website/logos/logo_sciact.png",href:"https://science.nasa.gov/learners",alt:"SciAct Logo",name:"sciact"}],["nasa-grantee",{src:"https://projects.cosmicds.cfa.harvard.edu/cds-website/logos/NASA_Grantee_color_no_outline.png",href:"https://nasa.gov/",alt:"NASA Grantee Logo",name:"nasa-grantee"}]]);const ml=(0,f.defineComponent)({props:{visible:{type:Boolean,default:!0},logoSize:{type:String,default:"5vmin"},extraLogos:{type:Array,default:function(){return[]}},defaultLogos:{type:Array,default:function(){return["cosmicds","wwt","sciact"]}}},computed:{isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},cssVars:function(){return{"--logo-size":this.logoSize}},logos:function(){var t=this.defaultLogos.map((function(t){return pl.get(t)})).filter((function(t){return void 0!=t}));return t.concat(this.extraLogos)}}});i(522);const gl=(0,_s.A)(ml,[["render",dl]]),yl=gl;var vl={id:"wwt-hud"},_l=(0,f.createElementVNode)("h3",null," Camera settings ",-1),wl=(0,f.createElementVNode)("h3",null," Imagesets ",-1),bl=(0,f.createElementVNode)("h3",null," Clock ",-1),xl={key:0};function kl(t,e,n,o,i,r){return(0,f.openBlock)(),(0,f.createElementBlock)("div",{style:(0,f.normalizeStyle)(t.cssVars)},[(0,f.createElementVNode)("div",vl,[_l,(0,f.createElementVNode)("p",null," RA: "+(0,f.toDisplayString)(t.wwtRARad)+" ("+(0,f.toDisplayString)(t.wwtRADeg)+") ",1),(0,f.createElementVNode)("p",null," Dec: "+(0,f.toDisplayString)(t.wwtDecRad)+" ("+(0,f.toDisplayString)(t.wwtDecDeg)+") ",1),(0,f.createElementVNode)("p",null," Roll: "+(0,f.toDisplayString)(t.wwtRollRad),1),(0,f.createElementVNode)("p",null," Zoom: "+(0,f.toDisplayString)(t.wwtZoomDeg),1),(0,f.createElementVNode)("p",null," Mode: "+(0,f.toDisplayString)(t.mode),1),wl,(0,f.createElementVNode)("p",null," Bkg: "+(0,f.toDisplayString)(t.bkgImage),1),(0,f.createElementVNode)("p",null," Fg: "+(0,f.toDisplayString)(t.fgImg)+" (op: "+(0,f.toDisplayString)(t.wwtForegroundOpacity)+" ) ",1),bl,(0,f.createElementVNode)("p",null," Time: "+(0,f.toDisplayString)(t.wwtCurrentTime),1),(0,f.createElementVNode)("p",null," Rate: "+(0,f.toDisplayString)(t.wwtClockRate),1),(0,f.createElementVNode)("p",null," Location: "+(0,f.toDisplayString)(t.wwtLocation),1),Object.keys(t.otherVariables).length>0?((0,f.openBlock)(),(0,f.createElementBlock)("h3",xl," User defined vars ")):(0,f.createCommentVNode)("",!0),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.otherVariables,(function(t,e){return(0,f.openBlock)(),(0,f.createElementBlock)("p",{key:e},(0,f.toDisplayString)(e)+": "+(0,f.toDisplayString)(t),1)})),128)),(0,f.renderSlot)(t.$slots,"default")])],4)}var Sl=i(380),Cl=180/Math.PI;const Tl=(0,f.defineComponent)({name:"wwtHUD",extends:d.WWTAwareComponent,props:{location:{type:Object,default:function(){return{top:"50%",left:"50%"}}},offsetCenter:{type:Object,default:function(){return{x:.5,y:.5}}},otherVariables:{type:Object,default:function(){return{}}},fontSize:{type:String,default:"1em"},backgroundColor:{type:String||null,default:"rgba(0, 0, 0, 0.5)"},textShadow:{type:String||null,default:"0 0 5px black"}},computed:{wwtSettings:function(){return Sl.Settings.get_active()},wwtControl:function(){return Sl.WWTControl.singleton},wwtScriptInterface:function(){return Sl.ScriptInterface.singleton},cssVars:function(){var t,e,n,o;return{"--hud-top":null!==(t=this.location.top)&&void 0!==t?t:"auto","--hud-left":null!==(e=this.location.left)&&void 0!==e?e:"auto","--hud-bottom":null!==(n=this.location.bottom)&&void 0!==n?n:"auto","--hud-right":null!==(o=this.location.right)&&void 0!==o?o:"auto","--font-size":this.fontSize,"--background-color":this.backgroundColor||"transparent","--text-shadow":this.textShadow||"none","--offset-center-x":"-".concat(100*this.offsetCenter.x,"%"),"--offset-center-y":"-".concat(100*this.offsetCenter.y,"%")}},wwtRADeg:function(){return this.wwtRARad*Cl},wwtDecDeg:function(){return this.wwtDecRad*Cl},bkgImage:function(){var t;return null===(t=this.wwtBackgroundImageset)||void 0===t?void 0:t.get_name()},fgImg:function(){var t;return null===(t=this.wwtForegroundImageset)||void 0===t?void 0:t.get_name()},mode:function(){return"3D Solar System View"==this.bkgImage?"3D":this.wwtSettings.get_galacticMode()?"Sky (galactic)":this.wwtSettings.get_localHorizonMode()?"Sky (local horizon)":"Sky (equatorial)"},wwtLocation:function(){return{lat:this.wwtSettings.get_locationLat(),lon:this.wwtSettings.get_locationLng(),alt:this.wwtSettings.get_locationAltitude()}}}});i(233);const Pl=(0,_s.A)(Tl,[["render",kl]]),Ll=Pl;var Al=function(){function t(t,e){this.displayName=t,this.imagesetName=e}return t}(),El=[new Al("Optical (Terapixel DSS)","Digitized Sky Survey (Color)"),new Al("Low-frequency radio (VLSS)","VLSS: VLA Low-frequency Sky Survey (Radio)"),new Al("Infrared (2MASS)","2Mass: Imagery (Infrared)"),new Al("Infrared (SFD dust map)","SFD Dust Map (Infrared)"),new Al("Ultraviolet (GALEX)","GALEX (Ultraviolet)"),new Al("X-Ray (ROSAT RASS)","RASS: ROSAT All Sky Survey (X-ray)"),new Al("Gamma Rays (FERMI LAT 8-year)","Fermi LAT 8-year (gamma)")],Ol={class:"default-activator-title noselect"},zl=["src"],Ml={class:"gallery-header"},Il={class:"gallery-title"},Rl={class:"gallery-content"},Bl=["onClick"],Nl=["src"],Dl={class:"place-name noselect"};function Fl(t,e,n,o,i,r){var a=(0,f.resolveComponent)("font-awesome-icon");return(0,f.openBlock)(),(0,f.createElementBlock)("div",{class:(0,f.normalizeClass)(["gallery-root",{open:t.open}])},[(0,f.createElementVNode)("div",{class:"just-holding-events",onClick:e[2]||(e[2]=function(e){return t.open=!0}),onKeyup:e[3]||(e[3]=(0,f.withKeys)((function(e){return t.open=!0}),["enter"])),tabindex:"0"},[t.open?(0,f.createCommentVNode)("",!0):(0,f.renderSlot)(t.$slots,"closed",{key:0},(function(){var n,o;return[(0,f.createElementVNode)("div",{class:"default-activator blurred",onClick:e[0]||(e[0]=function(e){return t.open=!0}),onKeyup:e[1]||(e[1]=(0,f.withKeys)((function(e){return t.open=!0}),["enter"]))},[(0,f.createElementVNode)("span",Ol,(0,f.toDisplayString)(t.closedText),1),(0,f.createElementVNode)("img",{class:"noselect",src:t.places[t.previewIndex]&&null!==(o=null===(n=t.getImageset(t.places[t.previewIndex]))||void 0===n?void 0:n.get_thumbnailUrl())&&void 0!==o?o:""},null,8,zl)],32)]}))],32),t.open?((0,f.openBlock)(),(0,f.createElementBlock)("div",{key:0,style:(0,f.normalizeStyle)(t.cssVars),class:"gallery blurred"},[(0,f.createElementVNode)("div",Ml,[(0,f.createElementVNode)("span",Il,(0,f.toDisplayString)(t.title),1),(0,f.createVNode)(a,{class:"gallery-close",icon:"times",size:"lg",onClick:e[4]||(e[4]=function(e){return t.open=!1}),onKeyup:e[5]||(e[5]=(0,f.withKeys)((function(e){return t.open=!1}),["enter"])),tabindex:"0"})]),(0,f.createElementVNode)("div",Rl,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.places.entries(),(function(e){var n,o,i=l(e,2),r=i[0],a=i[1];return(0,f.openBlock)(),(0,f.createElementBlock)("div",{key:r,class:(0,f.normalizeClass)(["gallery-item",{selected:t.highlightLastOnly?t.selectedPlace===a:t.selectedPlaces.includes(a)}]),onClick:function(e){return t.selectPlace(a)}},[(0,f.createElementVNode)("img",{class:"noselect",src:null!==(o=null===(n=t.getImageset(a))||void 0===n?void 0:n.get_thumbnailUrl())&&void 0!==o?o:""},null,8,Nl),(0,f.createElementVNode)("span",Dl,(0,f.toDisplayString)(a.get_name()),1)],10,Bl)})),128))])],4)):(0,f.createCommentVNode)("",!0)],2)}Symbol();var jl;(function(t){t["direct"]="direct",t["patchObject"]="patch object",t["patchFunction"]="patch function"})(jl||(jl={}));const Wl="undefined"!==typeof window,Zl=(()=>"object"===typeof window&&window.window===window?window:"object"===typeof self&&self.self===self?self:"object"===typeof global&&global.global===global?global:"object"===typeof globalThis?globalThis:{HTMLElement:null})();function Vl(t,{autoBom:e=!1}={}){return e&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}function Hl(t,e,n){const o=new XMLHttpRequest;o.open("GET",t),o.responseType="blob",o.onload=function(){Yl(o.response,e,n)},o.onerror=function(){console.error("could not download file")},o.send()}function $l(t){const e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(hc){}return e.status>=200&&e.status<=299}function Ul(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(hc){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}const Gl="object"===typeof navigator?navigator:{userAgent:""},ql=(()=>/Macintosh/.test(Gl.userAgent)&&/AppleWebKit/.test(Gl.userAgent)&&!/Safari/.test(Gl.userAgent))(),Yl=Wl?"undefined"!==typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!ql?Kl:"msSaveOrOpenBlob"in Gl?Jl:Xl:()=>{};function Kl(t,e="download",n){const o=document.createElement("a");o.download=e,o.rel="noopener","string"===typeof t?(o.href=t,o.origin!==location.origin?$l(o.href)?Hl(t,e,n):(o.target="_blank",Ul(o)):Ul(o)):(o.href=URL.createObjectURL(t),setTimeout((function(){URL.revokeObjectURL(o.href)}),4e4),setTimeout((function(){Ul(o)}),0))}function Jl(t,e="download",n){if("string"===typeof t)if($l(t))Hl(t,e,n);else{const e=document.createElement("a");e.href=t,e.target="_blank",setTimeout((function(){Ul(e)}))}else navigator.msSaveOrOpenBlob(Vl(t,n),e)}function Xl(t,e,n,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),"string"===typeof t)return Hl(t,e,n);const i="application/octet-stream"===t.type,r=/constructor/i.test(String(Zl.HTMLElement))||"safari"in Zl,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&r||ql)&&"undefined"!==typeof FileReader){const e=new FileReader;e.onloadend=function(){let t=e.result;if("string"!==typeof t)throw o=null,new Error("Wrong reader.result type");t=a?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=t:location.assign(t),o=null},e.readAsDataURL(t)}else{const e=URL.createObjectURL(t);o?o.location.assign(e):location.href=e,o=null,setTimeout((function(){URL.revokeObjectURL(e)}),4e4)}}const{assign:Ql}=Object;Symbol();const{assign:tc}=Object;function ec(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]=function(...e){return t(this.$pinia)[n](...e)},e)),{}):Object.keys(e).reduce(((n,o)=>(n[o]=function(...n){return t(this.$pinia)[e[o]](...n)},n)),{})}var nc={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},oc=nc;Wa.add(oc);const ic=(0,f.defineComponent)({components:{"font-awesome-icon":ys},props:{wtmlUrl:{type:String,required:!0},columns:{type:[Number,String],default:"auto-fit"},width:{type:String,default:"300px"},maxHeight:{type:String,default:"500px"},title:{type:String,default:"Gallery"},selectedColor:{type:String,default:"dodgerblue"},singleSelect:{type:Boolean,default:!0},highlightLastOnly:{type:Boolean,default:!1},previewIndex:{type:Number,default:0},closedText:{type:String,default:"Image Gallery"}},created:function(){return o(this,void 0,void 0,(function(){var t=this;return a(this,(function(e){return this.waitForReady().then((function(){return o(t,void 0,void 0,(function(){var t;return a(this,(function(e){switch(e.label){case 0:return t=this,[4,this.placesFromWtml(this.wtmlUrl)];case 1:return t.places=e.sent(),[2]}}))}))})),[2]}))}))},data:function(){return{open:!1,places:[],selectedPlace:null,selectedPlaces:[]}},methods:n(n({},ec(d.engineStore,["loadImageCollection","waitForReady"])),{getImageset:function(t){var e;return null!==(e=t.get_backgroundImageset())&&void 0!==e?e:t.get_studyImageset()},extractPlaces:function(t){var e,n,o,i=[];try{for(var r=s(null!==(o=t.get_children())&&void 0!==o?o:[]),a=r.next();!a.done;a=r.next()){var l=a.value;if(l instanceof Sl.Place){var c=this.getImageset(l);null!==c&&i.push(l)}else l instanceof Sl.Folder&&(i=i.concat(this.extractPlaces(l)))}}catch(u){e={error:u}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return i},placesFromWtml:function(t){return o(this,void 0,void 0,(function(){var e=this;return a(this,(function(n){return[2,this.loadImageCollection({url:t,loadChildFolders:!0}).then((function(t){return e.extractPlaces(t)}))]}))}))},selectPlace:function(t){var e=this;if(this.singleSelect)return this.selectedPlace===t?(this.$emit("deselect",t),this.selectedPlaces=[],void(this.selectedPlace=null)):(this.selectedPlaces.forEach((function(t){return e.$emit("deselect",t)})),this.selectedPlaces=[t],void(this.selectedPlace=t));this.selectedPlaces.includes(t)?(this.$emit("deselect",t),this.selectedPlace=null,this.selectedPlaces.splice(this.selectedPlaces.indexOf(t),1)):(this.selectedPlace=t,this.selectedPlaces=this.singleSelect?[t]:c(c([],l(this.selectedPlaces),!1),[t],!1))}}),computed:{cssVars:function(){return{"--column-count":this.columns,"--selected-color":this.selectedColor,"--gallery-width":this.width,"--gallery-max-height":this.maxHeight}}},watch:{selectedPlace:function(t){null!=t&&(this.$emit("select",t),this.singleSelect||this.$emit("listAllSelected",this.selectedPlaces))}}});i(960);const rc=(0,_s.A)(ic,[["render",Fl]]),ac=rc;var sc=Math.PI/180,lc=180/Math.PI,cc="https://api.cosmicds.cfa.harvard.edu",uc="".concat(cc,"/minids")})(),r})()));
|
|
12
|
+
const Yt=2.4,Kt=.2126729,Jt=.7151522,Xt=.072175,Qt=.55,te=.58,ee=.57,ne=.62,oe=.03,ie=1.45,re=5e-4,ae=1.25,se=1.25,le=.078,ce=12.82051282051282,ue=.06,he=.001;function de(t,e){const n=(t.r/255)**Yt,o=(t.g/255)**Yt,i=(t.b/255)**Yt,r=(e.r/255)**Yt,a=(e.g/255)**Yt,s=(e.b/255)**Yt;let l,c=n*Kt+o*Jt+i*Xt,u=r*Kt+a*Jt+s*Xt;if(c<=oe&&(c+=(oe-c)**ie),u<=oe&&(u+=(oe-u)**ie),Math.abs(u-c)<re)return 0;if(u>c){const t=(u**Qt-c**te)*ae;l=t<he?0:t<le?t-t*ce*ue:t-ue}else{const t=(u**ne-c**ee)*se;l=t>-he?0:t>-le?t-t*ce*ue:t+ue}return 100*l}function fe(t){return!!t&&/^(#|var\(--|(rgb|hsl)a?\()/.test(t)}function pe(t){return fe(t)&&!/^((rgb|hsl)a?\()?var\(--/.test(t)}const me=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,ge={rgb:(t,e,n,o)=>({r:t,g:e,b:n,a:o}),rgba:(t,e,n,o)=>({r:t,g:e,b:n,a:o}),hsl:(t,e,n,o)=>_e({h:t,s:e,l:n,a:o}),hsla:(t,e,n,o)=>_e({h:t,s:e,l:n,a:o}),hsv:(t,e,n,o)=>ve({h:t,s:e,v:n,a:o}),hsva:(t,e,n,o)=>ve({h:t,s:e,v:n,a:o})};function ye(t){if("number"===typeof t)return(isNaN(t)||t<0||t>16777215)&&dt(`'${t}' is not a valid hex color`),{r:(16711680&t)>>16,g:(65280&t)>>8,b:255&t};if("string"===typeof t&&me.test(t)){const{groups:e}=t.match(me),{fn:n,values:o}=e,i=o.split(/,\s*/).map((t=>t.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(t)/100:parseFloat(t)));return ge[n](...i)}if("string"===typeof t){let e=t.startsWith("#")?t.slice(1):t;[3,4].includes(e.length)?e=e.split("").map((t=>t+t)).join(""):[6,8].includes(e.length)||dt(`'${t}' is not a valid hex(a) color`);const n=parseInt(e,16);return(isNaN(n)||n<0||n>4294967295)&&dt(`'${t}' is not a valid hex(a) color`),be(e)}if("object"===typeof t){if(D(t,["r","g","b"]))return t;if(D(t,["h","s","l"]))return ve(we(t));if(D(t,["h","s","v"]))return ve(t)}throw new TypeError(`Invalid color: ${null==t?t:String(t)||t.constructor.name}\nExpected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function ve(t){const{h:e,s:n,v:o,a:i}=t,r=t=>{const i=(t+e/60)%6;return o-o*n*Math.max(Math.min(i,4-i,1),0)},a=[r(5),r(3),r(1)].map((t=>Math.round(255*t)));return{r:a[0],g:a[1],b:a[2],a:i}}function _e(t){return ve(we(t))}function we(t){const{h:e,s:n,l:o,a:i}=t,r=o+n*Math.min(o,1-o),a=0===r?0:2-2*o/r;return{h:e,s:a,v:r,a:i}}function be(t){t=xe(t);let[e,n,o,i]=$(t,2).map((t=>parseInt(t,16)));return i=void 0===i?i:i/255,{r:e,g:n,b:o,a:i}}function xe(t){return t.startsWith("#")&&(t=t.slice(1)),t=t.replace(/([^0-9a-f])/gi,"F"),3!==t.length&&4!==t.length||(t=t.split("").map((t=>t+t)).join("")),6!==t.length&&(t=H(H(t,6),8,"F")),t}function ke(t){const e=Math.abs(de(ye(0),ye(t))),n=Math.abs(de(ye(16777215),ye(t)));return n>Math.min(e,50)?"#fff":"#000"}function Se(t){return Y((()=>{const e=[],n={};if(t.value.background)if(fe(t.value.background)){if(n.backgroundColor=t.value.background,!t.value.text&&pe(t.value.background)){const e=ye(t.value.background);if(null==e.a||1===e.a){const t=ke(e);n.color=t,n.caretColor=t}}}else e.push(`bg-${t.value.background}`);return t.value.text&&(fe(t.value.text)?(n.color=t.value.text,n.caretColor=t.value.text):e.push(`text-${t.value.text}`)),{colorClasses:e,colorStyles:n}}))}function Ce(t,e){const n=(0,d.computed)((()=>({text:(0,d.isRef)(t)?t.value:e?t[e]:null}))),{colorClasses:o,colorStyles:i}=Se(n);return{textColorClasses:o,textColorStyles:i}}function Te(t,e){const n=(0,d.computed)((()=>({background:(0,d.isRef)(t)?t.value:e?t[e]:null}))),{colorClasses:o,colorStyles:i}=Se(n);return{backgroundColorClasses:o,backgroundColorStyles:i}}const Pe=P({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),Le=P({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ae(t){const e=(0,d.computed)((()=>({height:R(t.height),maxHeight:R(t.maxHeight),maxWidth:R(t.maxWidth),minHeight:R(t.minHeight),minWidth:R(t.minWidth),width:R(t.width)})));return{dimensionStyles:e}}const Ee=Symbol.for("vuetify:display");P({mobileBreakpoint:[Number,String]},"display");function ze(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dt();const n=(0,d.inject)(Ee);if(!n)throw new Error("Could not find Vuetify display injection");const o=(0,d.computed)((()=>{if(!t.mobileBreakpoint)return n.mobile.value;const e="number"===typeof t.mobileBreakpoint?t.mobileBreakpoint:n.thresholds.value[t.mobileBreakpoint];return n.width.value<e})),i=(0,d.computed)((()=>e?{[`${e}--mobile`]:o.value}:{}));return{...n,displayClasses:i,mobile:o}}function Me(){if(!L)return(0,d.shallowRef)(!1);const{ssr:t}=ze();if(t){const t=(0,d.shallowRef)(!1);return(0,d.onMounted)((()=>{t.value=!0})),t}return(0,d.shallowRef)(!0)}const Oe=P({eager:Boolean},"lazy");function Ie(t,e){const n=(0,d.shallowRef)(!1),o=(0,d.computed)((()=>n.value||t.eager||e.value));function i(){t.eager||(n.value=!1)}return(0,d.watch)(e,(()=>n.value=!0)),{isBooted:n,hasContent:o,onAfterLeave:i}}const Re=Symbol.for("vuetify:locale");Symbol.for("vuetify:rtl");function Be(){const t=(0,d.inject)(Re);if(!t)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:t.isRtl,rtlClasses:t.rtlClasses}}function Ne(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t=>t,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:t=>t;const r=Nt("useProxiedModel"),a=(0,d.ref)(void 0!==t[e]?t[e]:n),s=q(e),l=s!==e,c=l?(0,d.computed)((()=>(t[e],!(!r.vnode.props?.hasOwnProperty(e)&&!r.vnode.props?.hasOwnProperty(s)||!r.vnode.props?.hasOwnProperty(`onUpdate:${e}`)&&!r.vnode.props?.hasOwnProperty(`onUpdate:${s}`))))):(0,d.computed)((()=>(t[e],!(!r.vnode.props?.hasOwnProperty(e)||!r.vnode.props?.hasOwnProperty(`onUpdate:${e}`)))));k((()=>!c.value),(()=>{(0,d.watch)((()=>t[e]),(t=>{a.value=t}))}));const u=(0,d.computed)({get(){const n=t[e];return o(c.value?n:a.value)},set(n){const s=i(n),l=(0,d.toRaw)(c.value?t[e]:a.value);l!==s&&o(l)!==n&&(a.value=s,r?.emit(`update:${e}`,s))}});return Object.defineProperty(u,"externalValue",{get:()=>c.value?t[e]:a.value}),u}function De(){return Nt("useRouter")?.proxy?.$router}P({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let Fe=!1;function je(t,e){let n,o,i=!1;function r(t){t.state?.replaced||(i=!0,setTimeout((()=>i=!1)))}L&&((0,d.nextTick)((()=>{window.addEventListener("popstate",r),n=t?.beforeEach(((t,n,o)=>{Fe?i?e(o):o():setTimeout((()=>i?e(o):o())),Fe=!0})),o=t?.afterEach((()=>{Fe=!1}))})),(0,d.onScopeDispose)((()=>{window.removeEventListener("popstate",r),n?.(),o?.()})))}function We(){const t=Nt("useScopeId"),e=t.vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const Ze=Symbol.for("vuetify:stack"),Ve=(0,d.reactive)([]);function He(t,e,n){const o=Nt("useStack"),i=!n,r=(0,d.inject)(Ze,void 0),a=(0,d.reactive)({activeChildren:new Set});(0,d.provide)(Ze,a);const s=(0,d.shallowRef)(+e.value);k(t,(()=>{const t=Ve.at(-1)?.[1];s.value=t?t+10:+e.value,i&&Ve.push([o.uid,s.value]),r?.activeChildren.add(o.uid),(0,d.onScopeDispose)((()=>{if(i){const t=(0,d.toRaw)(Ve).findIndex((t=>t[0]===o.uid));Ve.splice(t,1)}r?.activeChildren.delete(o.uid)}))}));const l=(0,d.shallowRef)(!0);i&&(0,d.watchEffect)((()=>{const t=Ve.at(-1)?.[0]===o.uid;setTimeout((()=>l.value=t))}));const c=(0,d.computed)((()=>!a.activeChildren.size));return{globalTop:(0,d.readonly)(l),localTop:c,stackStyles:(0,d.computed)((()=>({zIndex:s.value})))}}function $e(t){const e=(0,d.computed)((()=>{const e=t.value;if(!0===e||!L)return;const n=!1===e?document.body:"string"===typeof e?document.querySelector(e):e;if(null==n)return void(0,d.warn)(`Unable to locate target ${e}`);let o=n.querySelector(":scope > .v-overlay-container");return o||(o=document.createElement("div"),o.className="v-overlay-container",n.appendChild(o)),o}));return{teleportTarget:e}}const Ue=Symbol.for("vuetify:theme"),Ge=P({theme:String},"theme");function qe(t){Nt("provideTheme");const e=(0,d.inject)(Ue,null);if(!e)throw new Error("Could not find Vuetify theme injection");const n=(0,d.computed)((()=>t.theme??e.name.value)),o=(0,d.computed)((()=>e.themes.value[n.value])),i=(0,d.computed)((()=>e.isDisabled?void 0:`v-theme--${n.value}`)),r={...e,name:n,current:o,themeClasses:i};return(0,d.provide)(Ue,r),r}const Ye=P({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:t=>!0!==t}},"transition"),Ke=(t,e)=>{let{slots:n}=e;const{transition:o,disabled:i,group:r,...a}=t,{component:s=(r?d.TransitionGroup:d.Transition),...l}="object"===typeof o?o:{};return(0,d.h)(s,(0,d.mergeProps)("string"===typeof o?{name:i?"":o}:l,"string"===typeof o?{}:{disabled:i,group:r},a),n)};function Je(t){if("function"!==typeof t.getRootNode){while(t.parentNode)t=t.parentNode;return t!==document?null:document}const e=t.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}function Xe(){return!0}function Qe(t,e,n){if(!t||!1===tn(t,n))return!1;const o=Je(e);if("undefined"!==typeof ShadowRoot&&o instanceof ShadowRoot&&o.host===t.target)return!1;const i=("object"===typeof n.value&&n.value.include||(()=>[]))();return i.push(e),!i.some((e=>e?.contains(t.target)))}function tn(t,e){const n="object"===typeof e.value&&e.value.closeConditional||Xe;return n(t)}function en(t,e,n){const o="function"===typeof n.value?n.value:n.value.handler;e._clickOutside.lastMousedownWasOutside&&Qe(t,e,n)&&setTimeout((()=>{tn(t,n)&&o&&o(t)}),0)}function nn(t,e){const n=Je(t);e(document),"undefined"!==typeof ShadowRoot&&n instanceof ShadowRoot&&e(n)}const on={mounted(t,e){const n=n=>en(n,t,e),o=n=>{t._clickOutside.lastMousedownWasOutside=Qe(n,t,e)};nn(t,(t=>{t.addEventListener("click",n,!0),t.addEventListener("mousedown",o,!0)})),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!1}),t._clickOutside[e.instance.$.uid]={onClick:n,onMousedown:o}},unmounted(t,e){t._clickOutside&&(nn(t,(n=>{if(!n||!t._clickOutside?.[e.instance.$.uid])return;const{onClick:o,onMousedown:i}=t._clickOutside[e.instance.$.uid];n.removeEventListener("click",o,!0),n.removeEventListener("mousedown",i,!0)})),delete t._clickOutside[e.instance.$.uid])}};function rn(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nt("injectSelf");const{provides:n}=e;if(n&&t in n)return n[t]}const an=Symbol.for("vuetify:defaults");function sn(){const t=(0,d.inject)(an);if(!t)throw new Error("[Vuetify] Could not find defaults instance");return t}function ln(t,e){return"undefined"!==typeof t.props?.[e]||"undefined"!==typeof t.props?.[q(e)]}function cn(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:sn();const o=Nt("useDefaults");if(e=e??o.type.name??o.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const i=(0,d.computed)((()=>n.value?.[t._as??e])),r=new Proxy(t,{get(t,e){const r=Reflect.get(t,e);return"class"===e||"style"===e?[i.value?.[e],r].filter((t=>null!=t)):"string"!==typeof e||ln(o.vnode,e)?r:i.value?.[e]??n.value?.global?.[e]??r}}),a=(0,d.shallowRef)();function s(){const t=rn(an,o);(0,d.provide)(an,(0,d.computed)((()=>a.value?U(t?.value??{},a.value):t?.value)))}return(0,d.watchEffect)((()=>{if(i.value){const t=Object.entries(i.value).filter((t=>{let[e]=t;return e.startsWith(e[0].toUpperCase())}));a.value=t.length?Object.fromEntries(t):void 0}else a.value=void 0})),{props:r,provideSubDefaults:s}}function un(t){if(t._setup=t._setup??t.setup,!t.name)return dt("The component is missing an explicit name, unable to generate default prop value"),t;if(t._setup){t.props=P(t.props??{},t.name)();const e=Object.keys(t.props).filter((t=>"class"!==t&&"style"!==t));t.filterProps=function(t){return F(t,e)},t.props._as=String,t.setup=function(e,n){const o=sn();if(!o.value)return t._setup(e,n);const{props:i,provideSubDefaults:r}=cn(e,e._as??t.name,o),a=t._setup(i,n);return r(),a}}return t}function hn(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return e=>(t?un:d.defineComponent)(e)}const dn="cubic-bezier(0.4, 0, 0.2, 1)";function fn(t){const e=Nt("useRender");e.render=t}function pn(t){const{modelValue:e,color:n,...o}=t;return(0,d.createVNode)(d.Transition,{name:"fade-transition",appear:!0},{default:()=>[t.modelValue&&(0,d.createVNode)("div",(0,d.mergeProps)({class:["v-overlay__scrim",t.color.backgroundColorClasses.value],style:t.color.backgroundColorStyles.value},o),null)]})}const mn=P({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...$t(),...Pe(),...Le(),...Oe(),...mt(),...Lt(),...Ge(),...Ye()},"VOverlay"),gn=hn()({name:"VOverlay",directives:{ClickOutside:on},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...mn()},emits:{"click:outside":t=>!0,"update:modelValue":t=>!0,afterLeave:()=>!0},setup(t,e){let{slots:n,attrs:o,emit:i}=e;const r=Ne(t,"modelValue"),a=(0,d.computed)({get:()=>r.value,set:e=>{e&&t.disabled||(r.value=e)}}),{teleportTarget:s}=$e((0,d.computed)((()=>t.attach||t.contained))),{themeClasses:l}=qe(t),{rtlClasses:c,isRtl:u}=Be(),{hasContent:h,onAfterLeave:f}=Ie(t,a),p=Te((0,d.computed)((()=>"string"===typeof t.scrim?t.scrim:null))),{globalTop:m,localTop:g,stackStyles:y}=He(a,(0,d.toRef)(t,"zIndex"),t._disableGlobalStack),{activatorEl:v,activatorRef:_,target:w,targetEl:b,targetRef:x,activatorEvents:S,contentEvents:C,scrimEvents:T}=Ut(t,{isActive:a,isTop:g}),{dimensionStyles:P}=Ae(t),A=Me(),{scopeId:E}=We();(0,d.watch)((()=>t.disabled),(t=>{t&&(a.value=!1)}));const z=(0,d.ref)(),M=(0,d.ref)(),{contentStyles:I,updateLocation:B}=gt(t,{isRtl:u,contentEl:M,target:w,isActive:a});function N(e){i("click:outside",e),t.persistent?Z():a.value=!1}function D(){return a.value&&m.value}function F(e){"Escape"===e.key&&m.value&&(t.persistent?Z():(a.value=!1,M.value?.contains(document.activeElement)&&v.value?.focus()))}At(t,{root:z,contentEl:M,targetEl:b,isActive:a,updateLocation:B}),L&&(0,d.watch)(a,(t=>{t?window.addEventListener("keydown",F):window.removeEventListener("keydown",F)}),{immediate:!0}),(0,d.onBeforeUnmount)((()=>{L&&window.removeEventListener("keydown",F)}));const j=De();k((()=>t.closeOnBack),(()=>{je(j,(e=>{m.value&&a.value?(e(!1),t.persistent?Z():a.value=!1):e()}))}));const W=(0,d.ref)();function Z(){t.noClickAnimation||M.value&&O(M.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:dn})}function V(){f(),i("afterLeave")}return(0,d.watch)((()=>a.value&&(t.absolute||t.contained)&&null==s.value),(t=>{if(t){const t=lt(z.value);t&&t!==document.scrollingElement&&(W.value=t.scrollTop)}})),fn((()=>(0,d.createVNode)(d.Fragment,null,[n.activator?.({isActive:a.value,props:(0,d.mergeProps)({ref:_,targetRef:x},S.value,t.activatorProps)}),A.value&&h.value&&(0,d.createVNode)(d.Teleport,{disabled:!s.value,to:s.value},{default:()=>[(0,d.createVNode)("div",(0,d.mergeProps)({class:["v-overlay",{"v-overlay--absolute":t.absolute||t.contained,"v-overlay--active":a.value,"v-overlay--contained":t.contained},l.value,c.value,t.class],style:[y.value,{"--v-overlay-opacity":t.opacity,top:R(W.value)},t.style],ref:z},E,o),[(0,d.createVNode)(pn,(0,d.mergeProps)({color:p,modelValue:a.value&&!!t.scrim},T.value),null),(0,d.createVNode)(Ke,{appear:!0,persisted:!0,transition:t.transition,target:w.value,onAfterLeave:V},{default:()=>[(0,d.withDirectives)((0,d.createVNode)("div",(0,d.mergeProps)({ref:M,class:["v-overlay__content",t.contentClass],style:[P.value,I.value]},C.value,t.contentProps),[n.default?.({isActive:a})]),[[d.vShow,a.value],[(0,d.resolveDirective)("click-outside"),{handler:N,closeConditional:D,include:()=>[v.value]}]])]})])]})]))),{activatorEl:v,target:w,animateClick:Z,contentEl:M,globalTop:m,localTop:g,updateLocation:B}}}),yn=Symbol("Forwarded refs");function vn(t,e){let n=t;while(n){const t=Reflect.getOwnPropertyDescriptor(n,e);if(t)return t;n=Object.getPrototypeOf(n)}}function _n(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return t[yn]=n,new Proxy(t,{get(t,e){if(Reflect.has(t,e))return Reflect.get(t,e);if("symbol"!==typeof e&&!e.startsWith("$")&&!e.startsWith("__"))for(const o of n)if(o.value&&Reflect.has(o.value,e)){const t=Reflect.get(o.value,e);return"function"===typeof t?t.bind(o.value):t}},has(t,e){if(Reflect.has(t,e))return!0;if("symbol"===typeof e||e.startsWith("$")||e.startsWith("__"))return!1;for(const o of n)if(o.value&&Reflect.has(o.value,e))return!0;return!1},set(t,e,o){if(Reflect.has(t,e))return Reflect.set(t,e,o);if("symbol"===typeof e||e.startsWith("$")||e.startsWith("__"))return!1;for(const i of n)if(i.value&&Reflect.has(i.value,e))return Reflect.set(i.value,e,o);return!1},getOwnPropertyDescriptor(t,e){const o=Reflect.getOwnPropertyDescriptor(t,e);if(o)return o;if("symbol"!==typeof e&&!e.startsWith("$")&&!e.startsWith("__")){for(const t of n){if(!t.value)continue;const n=vn(t.value,e)??("_"in t.value?vn(t.value._?.setupState,e):void 0);if(n)return n}for(const t of n){const n=t.value&&t.value[yn];if(!n)continue;const o=n.slice();while(o.length){const t=o.shift(),n=vn(t.value,e);if(n)return n;const i=t.value&&t.value[yn];i&&o.push(...i)}}}}})}const wn=P({id:String,text:String,...j(mn({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),bn=hn()({name:"VTooltip",props:wn(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:n}=e;const o=Ne(t,"modelValue"),{scopeId:i}=We(),r=Wt(),a=(0,d.computed)((()=>t.id||`v-tooltip-${r}`)),s=(0,d.ref)(),l=(0,d.computed)((()=>t.location.split(" ").length>1?t.location:t.location+" center")),c=(0,d.computed)((()=>"auto"===t.origin||"overlap"===t.origin||t.origin.split(" ").length>1||t.location.split(" ").length>1?t.origin:t.origin+" center")),u=(0,d.computed)((()=>t.transition?t.transition:o.value?"scale-transition":"fade-transition")),h=(0,d.computed)((()=>(0,d.mergeProps)({"aria-describedby":a.value},t.activatorProps)));return fn((()=>{const e=gn.filterProps(t);return(0,d.createVNode)(gn,(0,d.mergeProps)({ref:s,class:["v-tooltip",t.class],style:t.style,id:a.value},e,{modelValue:o.value,"onUpdate:modelValue":t=>o.value=t,transition:u.value,absolute:!0,location:l.value,origin:c.value,persistent:!0,role:"tooltip",activatorProps:h.value,_disableGlobalStack:!0},i),{activator:n.activator,default:function(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];return n.default?.(...o)??t.text}})})),_n({},s)}});i(587);const xn=[String,Function,Object,Array],kn=Symbol.for("vuetify:icons"),Sn=P({icon:{type:xn},tag:{type:String,required:!0}},"icon"),Cn=hn()({name:"VComponentIcon",props:Sn(),setup(t,e){let{slots:n}=e;return()=>{const e=t.icon;return(0,d.createVNode)(t.tag,null,{default:()=>[t.icon?(0,d.createVNode)(e,null,null):n.default?.()]})}}}),Tn=un({name:"VSvgIcon",inheritAttrs:!1,props:Sn(),setup(t,e){let{attrs:n}=e;return()=>(0,d.createVNode)(t.tag,(0,d.mergeProps)(n,{style:null}),{default:()=>[(0,d.createVNode)("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(t.icon)?t.icon.map((t=>Array.isArray(t)?(0,d.createVNode)("path",{d:t[0],"fill-opacity":t[1]},null):(0,d.createVNode)("path",{d:t},null))):(0,d.createVNode)("path",{d:t.icon},null)])]})}});un({name:"VLigatureIcon",props:Sn(),setup(t){return()=>(0,d.createVNode)(t.tag,null,{default:()=>[t.icon]})}}),un({name:"VClassIcon",props:Sn(),setup(t){return()=>(0,d.createVNode)(t.tag,{class:t.icon},null)}});const Pn=t=>{const e=(0,d.inject)(kn);if(!e)throw new Error("Missing Vuetify Icons provide!");const n=(0,d.computed)((()=>{const n=(0,d.unref)(t);if(!n)return{component:Cn};let o=n;if("string"===typeof o&&(o=o.trim(),o.startsWith("$")&&(o=e.aliases?.[o.slice(1)])),!o)throw new Error(`Could not find aliased icon "${n}"`);if(Array.isArray(o))return{component:Tn,icon:o};if("string"!==typeof o)return{component:Cn,icon:o};const i=Object.keys(e.sets).find((t=>"string"===typeof o&&o.startsWith(`${t}:`))),r=i?o.slice(i.length+1):o,a=e.sets[i??e.defaultSet];return{component:a.component,icon:r}}));return{iconData:n}},Ln=["x-small","small","default","large","x-large"],An=P({size:{type:[String,Number],default:"default"}},"size");function En(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dt();return Y((()=>{let n,o;return K(Ln,t.size)?n=`${e}--size-${t.size}`:t.size&&(o={width:R(t.size),height:R(t.size)}),{sizeClasses:n,sizeStyles:o}}))}const zn=P({tag:{type:String,default:"div"}},"tag"),Mn=P({color:String,start:Boolean,end:Boolean,icon:xn,...Pe(),...An(),...zn({tag:"i"}),...Ge()},"VIcon"),On=hn()({name:"VIcon",props:Mn(),setup(t,e){let{attrs:n,slots:o}=e;const i=(0,d.ref)(),{themeClasses:r}=qe(t),{iconData:a}=Pn((0,d.computed)((()=>i.value||t.icon))),{sizeClasses:s}=En(t),{textColorClasses:l,textColorStyles:c}=Ce((0,d.toRef)(t,"color"));return fn((()=>{const e=o.default?.();return e&&(i.value=G(e).filter((t=>t.type===d.Text&&t.children&&"string"===typeof t.children))[0]?.children),(0,d.createVNode)(a.value.component,{tag:t.tag,icon:a.value.icon,class:["v-icon","notranslate",r.value,s.value,l.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":t.start,"v-icon--end":t.end},t.class],style:[s.value?void 0:{fontSize:R(t.size),height:R(t.size),width:R(t.size)},c.value,t.style],role:n.onClick?"button":void 0,"aria-hidden":!n.onClick},{default:()=>[e]})})),{}}});function In(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function Rn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?In(Object(n),!0).forEach((function(e){jn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):In(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Bn(t){return Bn="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},Bn(t)}function Nn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Fn(t,e,n){return e&&Dn(t.prototype,e),n&&Dn(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function jn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t,e){return Hn(t)||Un(t,e)||Gn(t,e)||Kn()}function Zn(t){return Vn(t)||$n(t)||Gn(t)||Yn()}function Vn(t){if(Array.isArray(t))return qn(t)}function Hn(t){if(Array.isArray(t))return t}function $n(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function Un(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,i,r=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(o=n.next()).done);a=!0)if(r.push(o.value),e&&r.length===e)break}catch(l){s=!0,i=l}finally{try{a||null==n["return"]||n["return"]()}finally{if(s)throw i}}return r}}function Gn(t,e){if(t){if("string"===typeof t)return qn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qn(t,e):void 0}}function qn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function Yn(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Kn(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Jn=function(){},Xn={},Qn={},to=null,eo={mark:Jn,measure:Jn};try{"undefined"!==typeof window&&(Xn=window),"undefined"!==typeof document&&(Qn=document),"undefined"!==typeof MutationObserver&&(to=MutationObserver),"undefined"!==typeof performance&&(eo=performance)}catch(Sc){}var no,oo,io,ro,ao,so=Xn.navigator||{},lo=so.userAgent,co=void 0===lo?"":lo,uo=Xn,ho=Qn,fo=to,po=eo,mo=(uo.document,!!ho.documentElement&&!!ho.head&&"function"===typeof ho.addEventListener&&"function"===typeof ho.createElement),go=~co.indexOf("MSIE")||~co.indexOf("Trident/"),yo="___FONT_AWESOME___",vo=16,_o="fa",wo="svg-inline--fa",bo="data-fa-i2svg",xo="data-fa-pseudo-element",ko="data-fa-pseudo-element-pending",So="data-prefix",Co="data-icon",To="fontawesome-i2svg",Po="async",Lo=["HTML","HEAD","STYLE","SCRIPT"],Ao=function(){try{return!0}catch(Sc){return!1}}(),Eo="classic",zo="sharp",Mo=[Eo,zo];function Oo(t){return new Proxy(t,{get:function(t,e){return e in t?t[e]:t[Eo]}})}var Io=Oo((no={},jn(no,Eo,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),jn(no,zo,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),no)),Ro=Oo((oo={},jn(oo,Eo,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),jn(oo,zo,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),oo)),Bo=Oo((io={},jn(io,Eo,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),jn(io,zo,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),io)),No=Oo((ro={},jn(ro,Eo,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),jn(ro,zo,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),ro)),Do=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,Fo="fa-layers-text",jo=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Wo=Oo((ao={},jn(ao,Eo,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),jn(ao,zo,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),ao)),Zo=[1,2,3,4,5,6,7,8,9,10],Vo=Zo.concat([11,12,13,14,15,16,17,18,19,20]),Ho=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],$o={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Uo=new Set;Object.keys(Ro[Eo]).map(Uo.add.bind(Uo)),Object.keys(Ro[zo]).map(Uo.add.bind(Uo));var Go=[].concat(Mo,Zn(Uo),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",$o.GROUP,$o.SWAP_OPACITY,$o.PRIMARY,$o.SECONDARY]).concat(Zo.map((function(t){return"".concat(t,"x")}))).concat(Vo.map((function(t){return"w-".concat(t)}))),qo=uo.FontAwesomeConfig||{};function Yo(t){var e=ho.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}function Ko(t){return""===t||"false"!==t&&("true"===t||t)}if(ho&&"function"===typeof ho.querySelector){var Jo=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];Jo.forEach((function(t){var e=Wn(t,2),n=e[0],o=e[1],i=Ko(Yo(n));void 0!==i&&null!==i&&(qo[o]=i)}))}var Xo={styleDefault:"solid",familyDefault:"classic",cssPrefix:_o,replacementClass:wo,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};qo.familyPrefix&&(qo.cssPrefix=qo.familyPrefix);var Qo=Rn(Rn({},Xo),qo);Qo.autoReplaceSvg||(Qo.observeMutations=!1);var ti={};Object.keys(Xo).forEach((function(t){Object.defineProperty(ti,t,{enumerable:!0,set:function(e){Qo[t]=e,ei.forEach((function(t){return t(ti)}))},get:function(){return Qo[t]}})})),Object.defineProperty(ti,"familyPrefix",{enumerable:!0,set:function(t){Qo.cssPrefix=t,ei.forEach((function(t){return t(ti)}))},get:function(){return Qo.cssPrefix}}),uo.FontAwesomeConfig=ti;var ei=[];function ni(t){return ei.push(t),function(){ei.splice(ei.indexOf(t),1)}}var oi=vo,ii={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function ri(t){if(t&&mo){var e=ho.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=ho.head.childNodes,o=null,i=n.length-1;i>-1;i--){var r=n[i],a=(r.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(o=r)}return ho.head.insertBefore(e,o),t}}var ai="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function si(){var t=12,e="";while(t-- >0)e+=ai[62*Math.random()|0];return e}function li(t){for(var e=[],n=(t||[]).length>>>0;n--;)e[n]=t[n];return e}function ci(t){return t.classList?li(t.classList):(t.getAttribute("class")||"").split(" ").filter((function(t){return t}))}function ui(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function hi(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(ui(t[n]),'" ')}),"").trim()}function di(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n].trim(),";")}),"")}function fi(t){return t.size!==ii.size||t.x!==ii.x||t.y!==ii.y||t.rotate!==ii.rotate||t.flipX||t.flipY}function pi(t){var e=t.transform,n=t.containerWidth,o=t.iconWidth,i={transform:"translate(".concat(n/2," 256)")},r="translate(".concat(32*e.x,", ").concat(32*e.y,") "),a="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)"),l={transform:"".concat(r," ").concat(a," ").concat(s)},c={transform:"translate(".concat(o/2*-1," -256)")};return{outer:i,inner:l,path:c}}function mi(t){var e=t.transform,n=t.width,o=void 0===n?vo:n,i=t.height,r=void 0===i?vo:i,a=t.startCentered,s=void 0!==a&&a,l="";return l+=s&&go?"translate(".concat(e.x/oi-o/2,"em, ").concat(e.y/oi-r/2,"em) "):s?"translate(calc(-50% + ".concat(e.x/oi,"em), calc(-50% + ").concat(e.y/oi,"em)) "):"translate(".concat(e.x/oi,"em, ").concat(e.y/oi,"em) "),l+="scale(".concat(e.size/oi*(e.flipX?-1:1),", ").concat(e.size/oi*(e.flipY?-1:1),") "),l+="rotate(".concat(e.rotate,"deg) "),l}var gi=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function yi(){var t=_o,e=wo,n=ti.cssPrefix,o=ti.replacementClass,i=gi;if(n!==t||o!==e){var r=new RegExp("\\.".concat(t,"\\-"),"g"),a=new RegExp("\\--".concat(t,"\\-"),"g"),s=new RegExp("\\.".concat(e),"g");i=i.replace(r,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(o))}return i}var vi=!1;function _i(){ti.autoAddCss&&!vi&&(ri(yi()),vi=!0)}var wi={mixout:function(){return{dom:{css:yi,insertCss:_i}}},hooks:function(){return{beforeDOMElementCreation:function(){_i()},beforeI2svg:function(){_i()}}}},bi=uo||{};bi[yo]||(bi[yo]={}),bi[yo].styles||(bi[yo].styles={}),bi[yo].hooks||(bi[yo].hooks={}),bi[yo].shims||(bi[yo].shims=[]);var xi=bi[yo],ki=[],Si=function t(){ho.removeEventListener("DOMContentLoaded",t),Ci=1,ki.map((function(t){return t()}))},Ci=!1;function Ti(t){mo&&(Ci?setTimeout(t,0):ki.push(t))}function Pi(t){var e=t.tag,n=t.attributes,o=void 0===n?{}:n,i=t.children,r=void 0===i?[]:i;return"string"===typeof t?ui(t):"<".concat(e," ").concat(hi(o),">").concat(r.map(Pi).join(""),"</").concat(e,">")}function Li(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}mo&&(Ci=(ho.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ho.readyState),Ci||ho.addEventListener("DOMContentLoaded",Si));var Ai=function(t,e){return function(n,o,i,r){return t.call(e,n,o,i,r)}},Ei=function(t,e,n,o){var i,r,a,s=Object.keys(t),l=s.length,c=void 0!==o?Ai(e,o):e;for(void 0===n?(i=1,a=t[s[0]]):(i=0,a=n);i<l;i++)r=s[i],a=c(a,t[r],r,t);return a};function zi(t){var e=[],n=0,o=t.length;while(n<o){var i=t.charCodeAt(n++);if(i>=55296&&i<=56319&&n<o){var r=t.charCodeAt(n++);56320==(64512&r)?e.push(((1023&i)<<10)+(1023&r)+65536):(e.push(i),n--)}else e.push(i)}return e}function Mi(t){var e=zi(t);return 1===e.length?e[0].toString(16):null}function Oi(t,e){var n,o=t.length,i=t.charCodeAt(e);return i>=55296&&i<=56319&&o>e+1&&(n=t.charCodeAt(e+1),n>=56320&&n<=57343)?1024*(i-55296)+n-56320+65536:i}function Ii(t){return Object.keys(t).reduce((function(e,n){var o=t[n],i=!!o.icon;return i?e[o.iconName]=o.icon:e[n]=o,e}),{})}function Ri(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.skipHooks,i=void 0!==o&&o,r=Ii(e);"function"!==typeof xi.hooks.addPack||i?xi.styles[t]=Rn(Rn({},xi.styles[t]||{}),r):xi.hooks.addPack(t,Ii(e)),"fas"===t&&Ri("fa",e)}var Bi,Ni,Di,Fi=xi.styles,ji=xi.shims,Wi=(Bi={},jn(Bi,Eo,Object.values(Bo[Eo])),jn(Bi,zo,Object.values(Bo[zo])),Bi),Zi=null,Vi={},Hi={},$i={},Ui={},Gi={},qi=(Ni={},jn(Ni,Eo,Object.keys(Io[Eo])),jn(Ni,zo,Object.keys(Io[zo])),Ni);function Yi(t){return~Go.indexOf(t)}function Ki(t,e){var n=e.split("-"),o=n[0],i=n.slice(1).join("-");return o!==t||""===i||Yi(i)?null:i}var Ji=function(){var t=function(t){return Ei(Fi,(function(e,n,o){return e[o]=Ei(n,t,{}),e}),{})};Vi=t((function(t,e,n){if(e[3]&&(t[e[3]]=n),e[2]){var o=e[2].filter((function(t){return"number"===typeof t}));o.forEach((function(e){t[e.toString(16)]=n}))}return t})),Hi=t((function(t,e,n){if(t[n]=n,e[2]){var o=e[2].filter((function(t){return"string"===typeof t}));o.forEach((function(e){t[e]=n}))}return t})),Gi=t((function(t,e,n){var o=e[2];return t[n]=n,o.forEach((function(e){t[e]=n})),t}));var e="far"in Fi||ti.autoFetchSvg,n=Ei(ji,(function(t,n){var o=n[0],i=n[1],r=n[2];return"far"!==i||e||(i="fas"),"string"===typeof o&&(t.names[o]={prefix:i,iconName:r}),"number"===typeof o&&(t.unicodes[o.toString(16)]={prefix:i,iconName:r}),t}),{names:{},unicodes:{}});$i=n.names,Ui=n.unicodes,Zi=rr(ti.styleDefault,{family:ti.familyDefault})};function Xi(t,e){return(Vi[t]||{})[e]}function Qi(t,e){return(Hi[t]||{})[e]}function tr(t,e){return(Gi[t]||{})[e]}function er(t){return $i[t]||{prefix:null,iconName:null}}function nr(t){var e=Ui[t],n=Xi("fas",t);return e||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function or(){return Zi}ni((function(t){Zi=rr(t.styleDefault,{family:ti.familyDefault})})),Ji();var ir=function(){return{prefix:null,iconName:null,rest:[]}};function rr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.family,o=void 0===n?Eo:n,i=Io[o][t],r=Ro[o][t]||Ro[o][i],a=t in xi.styles?t:null;return r||a||null}var ar=(Di={},jn(Di,Eo,Object.keys(Bo[Eo])),jn(Di,zo,Object.keys(Bo[zo])),Di);function sr(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.skipLookups,i=void 0!==o&&o,r=(e={},jn(e,Eo,"".concat(ti.cssPrefix,"-").concat(Eo)),jn(e,zo,"".concat(ti.cssPrefix,"-").concat(zo)),e),a=null,s=Eo;(t.includes(r[Eo])||t.some((function(t){return ar[Eo].includes(t)})))&&(s=Eo),(t.includes(r[zo])||t.some((function(t){return ar[zo].includes(t)})))&&(s=zo);var l=t.reduce((function(t,e){var n=Ki(ti.cssPrefix,e);if(Fi[e]?(e=Wi[s].includes(e)?No[s][e]:e,a=e,t.prefix=e):qi[s].indexOf(e)>-1?(a=e,t.prefix=rr(e,{family:s})):n?t.iconName=n:e!==ti.replacementClass&&e!==r[Eo]&&e!==r[zo]&&t.rest.push(e),!i&&t.prefix&&t.iconName){var o="fa"===a?er(t.iconName):{},l=tr(t.prefix,t.iconName);o.prefix&&(a=null),t.iconName=o.iconName||l||t.iconName,t.prefix=o.prefix||t.prefix,"far"!==t.prefix||Fi["far"]||!Fi["fas"]||ti.autoFetchSvg||(t.prefix="fas")}return t}),ir());return(t.includes("fa-brands")||t.includes("fab"))&&(l.prefix="fab"),(t.includes("fa-duotone")||t.includes("fad"))&&(l.prefix="fad"),l.prefix||s!==zo||!Fi["fass"]&&!ti.autoFetchSvg||(l.prefix="fass",l.iconName=tr(l.prefix,l.iconName)||l.iconName),"fa"!==l.prefix&&"fa"!==a||(l.prefix=or()||"fas"),l}var lr=function(){function t(){Nn(this,t),this.definitions={}}return Fn(t,[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(e){t.definitions[e]=Rn(Rn({},t.definitions[e]||{}),i[e]),Ri(e,i[e]);var n=Bo[Eo][e];n&&Ri(n,i[e]),Ji()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map((function(e){var o=n[e],i=o.prefix,r=o.iconName,a=o.icon,s=a[2];t[i]||(t[i]={}),s.length>0&&s.forEach((function(e){"string"===typeof e&&(t[i][e]=a)})),t[i][r]=a})),t}}]),t}(),cr=[],ur={},hr={},dr=Object.keys(hr);function fr(t,e){var n=e.mixoutsTo;return cr=t,ur={},Object.keys(hr).forEach((function(t){-1===dr.indexOf(t)&&delete hr[t]})),cr.forEach((function(t){var e=t.mixout?t.mixout():{};if(Object.keys(e).forEach((function(t){"function"===typeof e[t]&&(n[t]=e[t]),"object"===Bn(e[t])&&Object.keys(e[t]).forEach((function(o){n[t]||(n[t]={}),n[t][o]=e[t][o]}))})),t.hooks){var o=t.hooks();Object.keys(o).forEach((function(t){ur[t]||(ur[t]=[]),ur[t].push(o[t])}))}t.provides&&t.provides(hr)})),n}function pr(t,e){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];var r=ur[t]||[];return r.forEach((function(t){e=t.apply(null,[e].concat(o))})),e}function mr(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];var i=ur[t]||[];i.forEach((function(t){t.apply(null,n)}))}function gr(){var t=arguments[0],e=Array.prototype.slice.call(arguments,1);return hr[t]?hr[t].apply(null,e):void 0}function yr(t){"fa"===t.prefix&&(t.prefix="fas");var e=t.iconName,n=t.prefix||or();if(e)return e=tr(n,e)||e,Li(vr.definitions,n,e)||Li(xi.styles,n,e)}var vr=new lr,_r=function(){ti.autoReplaceSvg=!1,ti.observeMutations=!1,mr("noAuto")},wr={i2svg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return mo?(mr("beforeI2svg",t),gr("pseudoElements2svg",t),gr("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot;!1===ti.autoReplaceSvg&&(ti.autoReplaceSvg=!0),ti.observeMutations=!0,Ti((function(){kr({autoReplaceSvgRoot:e}),mr("watch",t)}))}},br={icon:function(t){if(null===t)return null;if("object"===Bn(t)&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:tr(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&2===t.length){var e=0===t[1].indexOf("fa-")?t[1].slice(3):t[1],n=rr(t[0]);return{prefix:n,iconName:tr(n,e)||e}}if("string"===typeof t&&(t.indexOf("".concat(ti.cssPrefix,"-"))>-1||t.match(Do))){var o=sr(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||or(),iconName:tr(o.prefix,o.iconName)||o.iconName}}if("string"===typeof t){var i=or();return{prefix:i,iconName:tr(i,t)||t}}}},xr={noAuto:_r,config:ti,dom:wr,parse:br,library:vr,findIconDefinition:yr,toHtml:Pi},kr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,n=void 0===e?ho:e;(Object.keys(xi.styles).length>0||ti.autoFetchSvg)&&mo&&ti.autoReplaceSvg&&xr.dom.i2svg({node:n})};function Sr(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return Pi(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(mo){var e=ho.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Cr(t){var e=t.children,n=t.main,o=t.mask,i=t.attributes,r=t.styles,a=t.transform;if(fi(a)&&n.found&&!o.found){var s=n.width,l=n.height,c={x:s/l/2,y:.5};i["style"]=di(Rn(Rn({},r),{},{"transform-origin":"".concat(c.x+a.x/16,"em ").concat(c.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:e}]}function Tr(t){var e=t.prefix,n=t.iconName,o=t.children,i=t.attributes,r=t.symbol,a=!0===r?"".concat(e,"-").concat(ti.cssPrefix,"-").concat(n):r;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Rn(Rn({},i),{},{id:a}),children:o}]}]}function Pr(t){var e=t.icons,n=e.main,o=e.mask,i=t.prefix,r=t.iconName,a=t.transform,s=t.symbol,l=t.title,c=t.maskId,u=t.titleId,h=t.extra,d=t.watchable,f=void 0!==d&&d,p=o.found?o:n,m=p.width,g=p.height,y="fak"===i,v=[ti.replacementClass,r?"".concat(ti.cssPrefix,"-").concat(r):""].filter((function(t){return-1===h.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(h.classes).join(" "),_={children:[],attributes:Rn(Rn({},h.attributes),{},{"data-prefix":i,"data-icon":r,class:v,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(g)})},w=y&&!~h.classes.indexOf("fa-fw")?{width:"".concat(m/g*16*.0625,"em")}:{};f&&(_.attributes[bo]=""),l&&(_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(u||si())},children:[l]}),delete _.attributes.title);var b=Rn(Rn({},_),{},{prefix:i,iconName:r,main:n,mask:o,maskId:c,transform:a,symbol:s,styles:Rn(Rn({},w),h.styles)}),x=o.found&&n.found?gr("generateAbstractMask",b)||{children:[],attributes:{}}:gr("generateAbstractIcon",b)||{children:[],attributes:{}},k=x.children,S=x.attributes;return b.children=k,b.attributes=S,s?Tr(b):Cr(b)}function Lr(t){var e=t.content,n=t.width,o=t.height,i=t.transform,r=t.title,a=t.extra,s=t.watchable,l=void 0!==s&&s,c=Rn(Rn(Rn({},a.attributes),r?{title:r}:{}),{},{class:a.classes.join(" ")});l&&(c[bo]="");var u=Rn({},a.styles);fi(i)&&(u["transform"]=mi({transform:i,startCentered:!0,width:n,height:o}),u["-webkit-transform"]=u["transform"]);var h=di(u);h.length>0&&(c["style"]=h);var d=[];return d.push({tag:"span",attributes:c,children:[e]}),r&&d.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),d}function Ar(t){var e=t.content,n=t.title,o=t.extra,i=Rn(Rn(Rn({},o.attributes),n?{title:n}:{}),{},{class:o.classes.join(" ")}),r=di(o.styles);r.length>0&&(i["style"]=r);var a=[];return a.push({tag:"span",attributes:i,children:[e]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}var Er=xi.styles;function zr(t){var e=t[0],n=t[1],o=t.slice(4),i=Wn(o,1),r=i[0],a=null;return a=Array.isArray(r)?{tag:"g",attributes:{class:"".concat(ti.cssPrefix,"-").concat($o.GROUP)},children:[{tag:"path",attributes:{class:"".concat(ti.cssPrefix,"-").concat($o.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(ti.cssPrefix,"-").concat($o.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:e,height:n,icon:a}}var Mr={found:!1,width:512,height:512};function Or(t,e){Ao||ti.showMissingIcons||!t||console.error('Icon with name "'.concat(t,'" and prefix "').concat(e,'" is missing.'))}function Ir(t,e){var n=e;return"fa"===e&&null!==ti.styleDefault&&(e=or()),new Promise((function(o,i){gr("missingIconAbstract");if("fa"===n){var r=er(t)||{};t=r.iconName||t,e=r.prefix||e}if(t&&e&&Er[e]&&Er[e][t]){var a=Er[e][t];return o(zr(a))}Or(t,e),o(Rn(Rn({},Mr),{},{icon:ti.showMissingIcons&&t&&gr("missingIconAbstract")||{}}))}))}var Rr=function(){},Br=ti.measurePerformance&&po&&po.mark&&po.measure?po:{mark:Rr,measure:Rr},Nr='FA "6.5.1"',Dr=function(t){return Br.mark("".concat(Nr," ").concat(t," begins")),function(){return Fr(t)}},Fr=function(t){Br.mark("".concat(Nr," ").concat(t," ends")),Br.measure("".concat(Nr," ").concat(t),"".concat(Nr," ").concat(t," begins"),"".concat(Nr," ").concat(t," ends"))},jr={begin:Dr,end:Fr},Wr=function(){};function Zr(t){var e=t.getAttribute?t.getAttribute(bo):null;return"string"===typeof e}function Vr(t){var e=t.getAttribute?t.getAttribute(So):null,n=t.getAttribute?t.getAttribute(Co):null;return e&&n}function Hr(t){return t&&t.classList&&t.classList.contains&&t.classList.contains(ti.replacementClass)}function $r(){if(!0===ti.autoReplaceSvg)return Kr.replace;var t=Kr[ti.autoReplaceSvg];return t||Kr.replace}function Ur(t){return ho.createElementNS("http://www.w3.org/2000/svg",t)}function Gr(t){return ho.createElement(t)}function qr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.ceFn,o=void 0===n?"svg"===t.tag?Ur:Gr:n;if("string"===typeof t)return ho.createTextNode(t);var i=o(t.tag);Object.keys(t.attributes||[]).forEach((function(e){i.setAttribute(e,t.attributes[e])}));var r=t.children||[];return r.forEach((function(t){i.appendChild(qr(t,{ceFn:o}))})),i}function Yr(t){var e=" ".concat(t.outerHTML," ");return e="".concat(e,"Font Awesome fontawesome.com "),e}var Kr={replace:function(t){var e=t[0];if(e.parentNode)if(t[1].forEach((function(t){e.parentNode.insertBefore(qr(t),e)})),null===e.getAttribute(bo)&&ti.keepOriginalSource){var n=ho.createComment(Yr(e));e.parentNode.replaceChild(n,e)}else e.remove()},nest:function(t){var e=t[0],n=t[1];if(~ci(e).indexOf(ti.replacementClass))return Kr.replace(t);var o=new RegExp("".concat(ti.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(t,e){return e===ti.replacementClass||e.match(o)?t.toSvg.push(e):t.toNode.push(e),t}),{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?e.removeAttribute("class"):e.setAttribute("class",i.toNode.join(" "))}var r=n.map((function(t){return Pi(t)})).join("\n");e.setAttribute(bo,""),e.innerHTML=r}};function Jr(t){t()}function Xr(t,e){var n="function"===typeof e?e:Wr;if(0===t.length)n();else{var o=Jr;ti.mutateApproach===Po&&(o=uo.requestAnimationFrame||Jr),o((function(){var e=$r(),o=jr.begin("mutate");t.map(e),o(),n()}))}}var Qr=!1;function ta(){Qr=!0}function ea(){Qr=!1}var na=null;function oa(t){if(fo&&ti.observeMutations){var e=t.treeCallback,n=void 0===e?Wr:e,o=t.nodeCallback,i=void 0===o?Wr:o,r=t.pseudoElementsCallback,a=void 0===r?Wr:r,s=t.observeMutationsRoot,l=void 0===s?ho:s;na=new fo((function(t){if(!Qr){var e=or();li(t).forEach((function(t){if("childList"===t.type&&t.addedNodes.length>0&&!Zr(t.addedNodes[0])&&(ti.searchPseudoElements&&a(t.target),n(t.target)),"attributes"===t.type&&t.target.parentNode&&ti.searchPseudoElements&&a(t.target.parentNode),"attributes"===t.type&&Zr(t.target)&&~Ho.indexOf(t.attributeName))if("class"===t.attributeName&&Vr(t.target)){var o=sr(ci(t.target)),r=o.prefix,s=o.iconName;t.target.setAttribute(So,r||e),s&&t.target.setAttribute(Co,s)}else Hr(t.target)&&i(t.target)}))}})),mo&&na.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function ia(){na&&na.disconnect()}function ra(t){var e=t.getAttribute("style"),n=[];return e&&(n=e.split(";").reduce((function(t,e){var n=e.split(":"),o=n[0],i=n.slice(1);return o&&i.length>0&&(t[o]=i.join(":").trim()),t}),{})),n}function aa(t){var e=t.getAttribute("data-prefix"),n=t.getAttribute("data-icon"),o=void 0!==t.innerText?t.innerText.trim():"",i=sr(ci(t));return i.prefix||(i.prefix=or()),e&&n&&(i.prefix=e,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&o.length>0&&(i.iconName=Qi(i.prefix,t.innerText)||Xi(i.prefix,Mi(t.innerText))),!i.iconName&&ti.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=t.firstChild.data)),i}function sa(t){var e=li(t.attributes).reduce((function(t,e){return"class"!==t.name&&"style"!==t.name&&(t[e.name]=e.value),t}),{}),n=t.getAttribute("title"),o=t.getAttribute("data-fa-title-id");return ti.autoA11y&&(n?e["aria-labelledby"]="".concat(ti.replacementClass,"-title-").concat(o||si()):(e["aria-hidden"]="true",e["focusable"]="false")),e}function la(){return{iconName:null,title:null,titleId:null,prefix:null,transform:ii,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function ca(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=aa(t),o=n.iconName,i=n.prefix,r=n.rest,a=sa(t),s=pr("parseNodeAttributes",{},t),l=e.styleParser?ra(t):[];return Rn({iconName:o,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:i,transform:ii,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:r,styles:l,attributes:a}},s)}var ua=xi.styles;function ha(t){var e="nest"===ti.autoReplaceSvg?ca(t,{styleParser:!1}):ca(t);return~e.extra.classes.indexOf(Fo)?gr("generateLayersText",t,e):gr("generateSvgReplacementMutation",t,e)}var da=new Set;function fa(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!mo)return Promise.resolve();var n=ho.documentElement.classList,o=function(t){return n.add("".concat(To,"-").concat(t))},i=function(t){return n.remove("".concat(To,"-").concat(t))},r=ti.autoFetchSvg?da:Mo.map((function(t){return"fa-".concat(t)})).concat(Object.keys(ua));r.includes("fa")||r.push("fa");var a=[".".concat(Fo,":not([").concat(bo,"])")].concat(r.map((function(t){return".".concat(t,":not([").concat(bo,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=li(t.querySelectorAll(a))}catch(Sc){}if(!(s.length>0))return Promise.resolve();o("pending"),i("complete");var l=jr.begin("onTree"),c=s.reduce((function(t,e){try{var n=ha(e);n&&t.push(n)}catch(Sc){Ao||"MissingIcon"===Sc.name&&console.error(Sc)}return t}),[]);return new Promise((function(t,n){Promise.all(c).then((function(n){Xr(n,(function(){o("active"),o("complete"),i("pending"),"function"===typeof e&&e(),l(),t()}))})).catch((function(t){l(),n(t)}))}))}function pa(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ha(t).then((function(t){t&&Xr([t],e)}))}function ma(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(e||{}).icon?e:yr(e||{}),i=n.mask;return i&&(i=(i||{}).icon?i:yr(i||{})),t(o,Rn(Rn({},n),{},{mask:i}))}}Mo.map((function(t){da.add("fa-".concat(t))})),Object.keys(Io[Eo]).map(da.add.bind(da)),Object.keys(Io[zo]).map(da.add.bind(da)),da=Zn(da);var ga=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,o=void 0===n?ii:n,i=e.symbol,r=void 0!==i&&i,a=e.mask,s=void 0===a?null:a,l=e.maskId,c=void 0===l?null:l,u=e.title,h=void 0===u?null:u,d=e.titleId,f=void 0===d?null:d,p=e.classes,m=void 0===p?[]:p,g=e.attributes,y=void 0===g?{}:g,v=e.styles,_=void 0===v?{}:v;if(t){var w=t.prefix,b=t.iconName,x=t.icon;return Sr(Rn({type:"icon"},t),(function(){return mr("beforeDOMElementCreation",{iconDefinition:t,params:e}),ti.autoA11y&&(h?y["aria-labelledby"]="".concat(ti.replacementClass,"-title-").concat(f||si()):(y["aria-hidden"]="true",y["focusable"]="false")),Pr({icons:{main:zr(x),mask:s?zr(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:b,transform:Rn(Rn({},ii),o),symbol:r,title:h,maskId:c,titleId:f,extra:{attributes:y,styles:_,classes:m}})}))}},ya={mixout:function(){return{icon:ma(ga)}},hooks:function(){return{mutationObserverCallbacks:function(t){return t.treeCallback=fa,t.nodeCallback=pa,t}}},provides:function(t){t.i2svg=function(t){var e=t.node,n=void 0===e?ho:e,o=t.callback,i=void 0===o?function(){}:o;return fa(n,i)},t.generateSvgReplacementMutation=function(t,e){var n=e.iconName,o=e.title,i=e.titleId,r=e.prefix,a=e.transform,s=e.symbol,l=e.mask,c=e.maskId,u=e.extra;return new Promise((function(e,h){Promise.all([Ir(n,r),l.iconName?Ir(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(l){var h=Wn(l,2),d=h[0],f=h[1];e([t,Pr({icons:{main:d,mask:f},prefix:r,iconName:n,transform:a,symbol:s,maskId:c,title:o,titleId:i,extra:u,watchable:!0})])})).catch(h)}))},t.generateAbstractIcon=function(t){var e,n=t.children,o=t.attributes,i=t.main,r=t.transform,a=t.styles,s=di(a);return s.length>0&&(o["style"]=s),fi(r)&&(e=gr("generateAbstractTransformGrouping",{main:i,transform:r,containerWidth:i.width,iconWidth:i.width})),n.push(e||i.icon),{children:n,attributes:o}}}},va={mixout:function(){return{layer:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.classes,o=void 0===n?[]:n;return Sr({type:"layer"},(function(){mr("beforeDOMElementCreation",{assembler:t,params:e});var n=[];return t((function(t){Array.isArray(t)?t.map((function(t){n=n.concat(t.abstract)})):n=n.concat(t.abstract)})),[{tag:"span",attributes:{class:["".concat(ti.cssPrefix,"-layers")].concat(Zn(o)).join(" ")},children:n}]}))}}}},_a={mixout:function(){return{counter:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.title,o=void 0===n?null:n,i=e.classes,r=void 0===i?[]:i,a=e.attributes,s=void 0===a?{}:a,l=e.styles,c=void 0===l?{}:l;return Sr({type:"counter",content:t},(function(){return mr("beforeDOMElementCreation",{content:t,params:e}),Ar({content:t.toString(),title:o,extra:{attributes:s,styles:c,classes:["".concat(ti.cssPrefix,"-layers-counter")].concat(Zn(r))}})}))}}}},wa={mixout:function(){return{text:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,o=void 0===n?ii:n,i=e.title,r=void 0===i?null:i,a=e.classes,s=void 0===a?[]:a,l=e.attributes,c=void 0===l?{}:l,u=e.styles,h=void 0===u?{}:u;return Sr({type:"text",content:t},(function(){return mr("beforeDOMElementCreation",{content:t,params:e}),Lr({content:t,transform:Rn(Rn({},ii),o),title:r,extra:{attributes:c,styles:h,classes:["".concat(ti.cssPrefix,"-layers-text")].concat(Zn(s))}})}))}}},provides:function(t){t.generateLayersText=function(t,e){var n=e.title,o=e.transform,i=e.extra,r=null,a=null;if(go){var s=parseInt(getComputedStyle(t).fontSize,10),l=t.getBoundingClientRect();r=l.width/s,a=l.height/s}return ti.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,Lr({content:t.innerHTML,width:r,height:a,transform:o,title:n,extra:i,watchable:!0})])}}},ba=new RegExp('"',"ug"),xa=[1105920,1112319];function ka(t){var e=t.replace(ba,""),n=Oi(e,0),o=n>=xa[0]&&n<=xa[1],i=2===e.length&&e[0]===e[1];return{value:Mi(i?e[0]:e),isSecondary:o||i}}function Sa(t,e){var n="".concat(ko).concat(e.replace(":","-"));return new Promise((function(o,i){if(null!==t.getAttribute(n))return o();var r=li(t.children),a=r.filter((function(t){return t.getAttribute(xo)===e}))[0],s=uo.getComputedStyle(t,e),l=s.getPropertyValue("font-family").match(jo),c=s.getPropertyValue("font-weight"),u=s.getPropertyValue("content");if(a&&!l)return t.removeChild(a),o();if(l&&"none"!==u&&""!==u){var h=s.getPropertyValue("content"),d=~["Sharp"].indexOf(l[2])?zo:Eo,f=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?Ro[d][l[2].toLowerCase()]:Wo[d][c],p=ka(h),m=p.value,g=p.isSecondary,y=l[0].startsWith("FontAwesome"),v=Xi(f,m),_=v;if(y){var w=nr(m);w.iconName&&w.prefix&&(v=w.iconName,f=w.prefix)}if(!v||g||a&&a.getAttribute(So)===f&&a.getAttribute(Co)===_)o();else{t.setAttribute(n,_),a&&t.removeChild(a);var b=la(),x=b.extra;x.attributes[xo]=e,Ir(v,f).then((function(i){var r=Pr(Rn(Rn({},b),{},{icons:{main:i,mask:ir()},prefix:f,iconName:_,extra:x,watchable:!0})),a=ho.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===e?t.insertBefore(a,t.firstChild):t.appendChild(a),a.outerHTML=r.map((function(t){return Pi(t)})).join("\n"),t.removeAttribute(n),o()})).catch(i)}}else o()}))}function Ca(t){return Promise.all([Sa(t,"::before"),Sa(t,"::after")])}function Ta(t){return t.parentNode!==document.head&&!~Lo.indexOf(t.tagName.toUpperCase())&&!t.getAttribute(xo)&&(!t.parentNode||"svg"!==t.parentNode.tagName)}function Pa(t){if(mo)return new Promise((function(e,n){var o=li(t.querySelectorAll("*")).filter(Ta).map(Ca),i=jr.begin("searchPseudoElements");ta(),Promise.all(o).then((function(){i(),ea(),e()})).catch((function(){i(),ea(),n()}))}))}var La={hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=Pa,t}}},provides:function(t){t.pseudoElements2svg=function(t){var e=t.node,n=void 0===e?ho:e;ti.searchPseudoElements&&Pa(n)}}},Aa=!1,Ea={mixout:function(){return{dom:{unwatch:function(){ta(),Aa=!0}}}},hooks:function(){return{bootstrap:function(){oa(pr("mutationObserverCallbacks",{}))},noAuto:function(){ia()},watch:function(t){var e=t.observeMutationsRoot;Aa?ea():oa(pr("mutationObserverCallbacks",{observeMutationsRoot:e}))}}}},za=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),o=n[0],i=n.slice(1).join("-");if(o&&"h"===i)return t.flipX=!0,t;if(o&&"v"===i)return t.flipY=!0,t;if(i=parseFloat(i),isNaN(i))return t;switch(o){case"grow":t.size=t.size+i;break;case"shrink":t.size=t.size-i;break;case"left":t.x=t.x-i;break;case"right":t.x=t.x+i;break;case"up":t.y=t.y-i;break;case"down":t.y=t.y+i;break;case"rotate":t.rotate=t.rotate+i;break}return t}),e)},Ma={mixout:function(){return{parse:{transform:function(t){return za(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-transform");return n&&(t.transform=za(n)),t}}},provides:function(t){t.generateAbstractTransformGrouping=function(t){var e=t.main,n=t.transform,o=t.containerWidth,i=t.iconWidth,r={transform:"translate(".concat(o/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={transform:"".concat(a," ").concat(s," ").concat(l)},u={transform:"translate(".concat(i/2*-1," -256)")},h={outer:r,inner:c,path:u};return{tag:"g",attributes:Rn({},h.outer),children:[{tag:"g",attributes:Rn({},h.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:Rn(Rn({},e.icon.attributes),h.path)}]}]}}}},Oa={x:0,y:0,width:"100%",height:"100%"};function Ia(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function Ra(t){return"g"===t.tag?t.children:[t]}var Ba={hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-mask"),o=n?sr(n.split(" ").map((function(t){return t.trim()}))):ir();return o.prefix||(o.prefix=or()),t.mask=o,t.maskId=e.getAttribute("data-fa-mask-id"),t}}},provides:function(t){t.generateAbstractMask=function(t){var e=t.children,n=t.attributes,o=t.main,i=t.mask,r=t.maskId,a=t.transform,s=o.width,l=o.icon,c=i.width,u=i.icon,h=pi({transform:a,containerWidth:c,iconWidth:s}),d={tag:"rect",attributes:Rn(Rn({},Oa),{},{fill:"white"})},f=l.children?{children:l.children.map(Ia)}:{},p={tag:"g",attributes:Rn({},h.inner),children:[Ia(Rn({tag:l.tag,attributes:Rn(Rn({},l.attributes),h.path)},f))]},m={tag:"g",attributes:Rn({},h.outer),children:[p]},g="mask-".concat(r||si()),y="clip-".concat(r||si()),v={tag:"mask",attributes:Rn(Rn({},Oa),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[d,m]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:Ra(u)},v]};return e.push(_,{tag:"rect",attributes:Rn({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(g,")")},Oa)}),{children:e,attributes:n}}}},Na={provides:function(t){var e=!1;uo.matchMedia&&(e=uo.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var t=[],n={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};t.push({tag:"path",attributes:Rn(Rn({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=Rn(Rn({},o),{},{attributeName:"opacity"}),r={tag:"circle",attributes:Rn(Rn({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||r.children.push({tag:"animate",attributes:Rn(Rn({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Rn(Rn({},i),{},{values:"1;0;1;1;0;1;"})}),t.push(r),t.push({tag:"path",attributes:Rn(Rn({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:e?[]:[{tag:"animate",attributes:Rn(Rn({},i),{},{values:"1;0;0;0;0;1;"})}]}),e||t.push({tag:"path",attributes:Rn(Rn({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Rn(Rn({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:t}}}},Da={hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-symbol"),o=null!==n&&(""===n||n);return t["symbol"]=o,t}}}},Fa=[wi,ya,va,_a,wa,La,Ea,Ma,Ba,Na,Da];fr(Fa,{mixoutsTo:xr});xr.noAuto;var ja=xr.config,Wa=xr.library,Za=(xr.dom,xr.parse),Va=(xr.findIconDefinition,xr.toHtml,xr.icon),Ha=(xr.layer,xr.text);xr.counter;function $a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function Ua(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$a(Object(n),!0).forEach((function(e){qa(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ga(t){return Ga="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},Ga(t)}function qa(t,e,n){return e=is(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ya(t,e){if(null==t)return{};var n,o,i={},r=Object.keys(t);for(o=0;o<r.length;o++)n=r[o],e.indexOf(n)>=0||(i[n]=t[n]);return i}function Ka(t,e){if(null==t)return{};var n,o,i=Ya(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(o=0;o<r.length;o++)n=r[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ja(t){return Xa(t)||Qa(t)||ts(t)||ns()}function Xa(t){if(Array.isArray(t))return es(t)}function Qa(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function ts(t,e){if(t){if("string"===typeof t)return es(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?es(t,e):void 0}}function es(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function ns(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function os(t,e){if("object"!==typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function is(t){var e=os(t,"string");return"symbol"===typeof e?e:String(e)}var rs="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof i.g?i.g:"undefined"!==typeof self?self:{},as={exports:{}};(function(t){(function(e){var n=function(t,e,o){if(!c(e)||h(e)||d(e)||f(e)||l(e))return e;var i,r=0,a=0;if(u(e))for(i=[],a=e.length;r<a;r++)i.push(n(t,e[r],o));else for(var s in i={},e)Object.prototype.hasOwnProperty.call(e,s)&&(i[t(s,o)]=n(t,e[s],o));return i},o=function(t,e){e=e||{};var n=e.separator||"_",o=e.split||/(?=[A-Z])/;return t.split(o).join(n)},i=function(t){return p(t)?t:(t=t.replace(/[\-_\s]+(.)?/g,(function(t,e){return e?e.toUpperCase():""})),t.substr(0,1).toLowerCase()+t.substr(1))},r=function(t){var e=i(t);return e.substr(0,1).toUpperCase()+e.substr(1)},a=function(t,e){return o(t,e).toLowerCase()},s=Object.prototype.toString,l=function(t){return"function"===typeof t},c=function(t){return t===Object(t)},u=function(t){return"[object Array]"==s.call(t)},h=function(t){return"[object Date]"==s.call(t)},d=function(t){return"[object RegExp]"==s.call(t)},f=function(t){return"[object Boolean]"==s.call(t)},p=function(t){return t-=0,t===t},m=function(t,e){var n=e&&"process"in e?e.process:e;return"function"!==typeof n?t:function(e,o){return n(e,t,o)}},g={camelize:i,decamelize:a,pascalize:r,depascalize:a,camelizeKeys:function(t,e){return n(m(i,e),t)},decamelizeKeys:function(t,e){return n(m(a,e),t,e)},pascalizeKeys:function(t,e){return n(m(r,e),t)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=g:e.humps=g})(rs)})(as);var ss=as.exports,ls=["class","style"];function cs(t){return t.split(";").map((function(t){return t.trim()})).filter((function(t){return t})).reduce((function(t,e){var n=e.indexOf(":"),o=ss.camelize(e.slice(0,n)),i=e.slice(n+1).trim();return t[o]=i,t}),{})}function us(t){return t.split(/\s+/).reduce((function(t,e){return t[e]=!0,t}),{})}function hs(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"===typeof t)return t;var o=(t.children||[]).map((function(t){return hs(t)})),i=Object.keys(t.attributes||{}).reduce((function(e,n){var o=t.attributes[n];switch(n){case"class":e.class=us(o);break;case"style":e.style=cs(o);break;default:e.attrs[n]=o}return e}),{attrs:{},class:{},style:{}});n.class;var r=n.style,a=void 0===r?{}:r,s=Ka(n,ls);return(0,d.h)(t.tag,Ua(Ua(Ua({},e),{},{class:i.class,style:Ua(Ua({},i.style),a)},i.attrs),s),o)}var ds=!1;try{ds=!0}catch(Sc){}function fs(){var t;!ds&&console&&"function"===typeof console.error&&(t=console).error.apply(t,arguments)}function ps(t,e){return Array.isArray(e)&&e.length>0||!Array.isArray(e)&&e?qa({},t,e):{}}function ms(t){var e,n=(e={"fa-spin":t.spin,"fa-pulse":t.pulse,"fa-fw":t.fixedWidth,"fa-border":t.border,"fa-li":t.listItem,"fa-inverse":t.inverse,"fa-flip":!0===t.flip,"fa-flip-horizontal":"horizontal"===t.flip||"both"===t.flip,"fa-flip-vertical":"vertical"===t.flip||"both"===t.flip},qa(e,"fa-".concat(t.size),null!==t.size),qa(e,"fa-rotate-".concat(t.rotation),null!==t.rotation),qa(e,"fa-pull-".concat(t.pull),null!==t.pull),qa(e,"fa-swap-opacity",t.swapOpacity),qa(e,"fa-bounce",t.bounce),qa(e,"fa-shake",t.shake),qa(e,"fa-beat",t.beat),qa(e,"fa-fade",t.fade),qa(e,"fa-beat-fade",t.beatFade),qa(e,"fa-flash",t.flash),qa(e,"fa-spin-pulse",t.spinPulse),qa(e,"fa-spin-reverse",t.spinReverse),e);return Object.keys(n).map((function(t){return n[t]?t:null})).filter((function(t){return t}))}function gs(t){return t&&"object"===Ga(t)&&t.prefix&&t.iconName&&t.icon?t:Za.icon?Za.icon(t):null===t?null:"object"===Ga(t)&&t.prefix&&t.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"===typeof t?{prefix:"fas",iconName:t}:void 0}var ys=(0,d.defineComponent)({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(t,e){var n=e.attrs,o=(0,d.computed)((function(){return gs(t.icon)})),i=(0,d.computed)((function(){return ps("classes",ms(t))})),r=(0,d.computed)((function(){return ps("transform","string"===typeof t.transform?Za.transform(t.transform):t.transform)})),a=(0,d.computed)((function(){return ps("mask",gs(t.mask))})),s=(0,d.computed)((function(){return Va(o.value,Ua(Ua(Ua(Ua({},i.value),r.value),a.value),{},{symbol:t.symbol,title:t.title,titleId:t.titleId,maskId:t.maskId}))}));(0,d.watch)(s,(function(t){if(!t)return fs("Could not find one or more icon(s)",o.value,a.value)}),{immediate:!0});var l=(0,d.computed)((function(){return s.value?hs(s.value.abstract[0],{},n):null}));return function(){return l.value}}});(0,d.defineComponent)({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,e){var n=e.slots,o=ja.familyPrefix,i=(0,d.computed)((function(){return["".concat(o,"-layers")].concat(Ja(t.fixedWidth?["".concat(o,"-fw")]:[]))}));return function(){return(0,d.h)("div",{class:i.value},n.default?n.default():[])}}}),(0,d.defineComponent)({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,e){var n=e.attrs,o=ja.familyPrefix,i=(0,d.computed)((function(){return ps("classes",[].concat(Ja(t.counter?["".concat(o,"-layers-counter")]:[]),Ja(t.position?["".concat(o,"-layers-").concat(t.position)]:[])))})),r=(0,d.computed)((function(){return ps("transform","string"===typeof t.transform?Za.transform(t.transform):t.transform)})),a=(0,d.computed)((function(){var e=Ha(t.value.toString(),Ua(Ua({},r.value),i.value)),n=e.abstract;return t.counter&&(n[0].attributes.class=n[0].attributes.class.replace("fa-layers-text","")),n[0]})),s=(0,d.computed)((function(){return hs(a.value,{},n)}));return function(){return s.value}}});const vs=(0,d.defineComponent)({components:{"v-tooltip":bn,"v-icon":On,"font-awesome-icon":ys},props:{modelValue:{type:Boolean,required:!1},faIcon:{type:String,required:!1,default:null},mdIcon:{type:String,required:!1,default:null},color:{type:String,default:"#ffffff"},focusColor:{type:String,default:"#ffffff"},backgroundColor:{type:String,default:"#040404"},boxShadow:{type:Boolean,default:!0},border:{type:Boolean,default:!0},longPressTimeMs:{type:Number,default:500},tooltipText:{type:String,required:!1},tooltipLocation:{type:String,default:"start"},tooltipOnClick:{type:Boolean,default:!1},tooltipOnFocus:{type:Boolean,default:!1},tooltipOnHover:{type:Boolean,default:!0},tooltipOffset:{type:[String,Number],default:0},showTooltip:{type:Boolean,default:!0},faSize:{type:String,default:"lg"},mdSize:{type:String,default:"1.25em"}},methods:{updateValue:function(){void 0!==this.modelValue&&this.$emit("update:modelValue",!this.modelValue)},handleAction:function(){this.updateValue(),this.$emit("activate")},handleTouchStart:function(){var t=this;this.longPressTimeout=setTimeout((function(){t.tooltip=!0}),this.longPressTimeMs)},handleTouchEnd:function(){this.longPressTimeout&&(clearTimeout(this.longPressTimeout),this.longPressTimeout=null),this.tooltip=!1}},data:function(){return{tooltip:!1,longPressTimeout:null}},computed:{cssVars:function(){return{"--color":this.color,"--background-color":this.backgroundColor,"--focus-color":this.focusColor,"--active-shadow":this.boxShadow?this.color:"transparent","--focus-shadow":this.boxShadow?this.focusColor:"transparent"}},buttonID:function(){var t=this.$attrs["id"];return t?"".concat(t,"-button"):null}}});i(566);var _s=i(262);const ws=(0,_s.A)(vs,[["render",x]]),bs=ws;var xs={class:"map-container"};function ks(t,e,n,o,i,r){return(0,d.openBlock)(),(0,d.createElementBlock)("div",xs)}var Ss=i(481),Cs=i.n(Ss);i(414);function Ts(t){return{all:t=t||new Map,on:function(e,n){var o=t.get(e);o?o.push(n):t.set(e,[n])},off:function(e,n){var o=t.get(e);o&&(n?o.splice(o.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var o=t.get(e);o&&o.slice().map((function(t){t(n)})),(o=t.get("*"))&&o.slice().map((function(t){t(e,n)}))}}}const Ps=Ts(),Ls=new Map,As={x:["left","center","right"],y:["top","bottom"]},Es=(t=>()=>t++)(0),zs=t=>"string"!=typeof t?[]:t.split(/\s+/gi).filter((t=>t)),Ms=t=>{"string"==typeof t&&(t=zs(t));let e=null,n=null;return t.forEach((t=>{-1!==As.y.indexOf(t)&&(n=t),-1!==As.x.indexOf(t)&&(e=t)})),{x:e,y:n}};class Os{constructor(t,e,n){this.remaining=e,this.callback=t,this.notifyItem=n,this.resume()}pause(){clearTimeout(this.notifyItem.timer),this.remaining-=Date.now()-this.start}resume(){this.start=Date.now(),clearTimeout(this.notifyItem.timer),this.notifyItem.timer=setTimeout(this.callback,this.remaining)}}const Is={position:["top","right"],cssAnimation:"vn-fade",velocityAnimation:{enter:t=>({height:[t.clientHeight,0],opacity:[1,0]}),leave:{height:0,opacity:[0,1]}}},Rs=(0,d.defineComponent)({name:"velocity-group",emits:["after-leave","leave","enter"],methods:{enter(t,e){this.$emit("enter",t,e)},leave(t,e){this.$emit("leave",t,e)},afterLeave(){this.$emit("after-leave")}}}),Bs=(t,e)=>{const n=t.__vccOpts||t;for(const[o,i]of e)n[o]=i;return n};function Ns(t,e,n,o,i,r){return(0,d.openBlock)(),(0,d.createBlock)(d.TransitionGroup,{tag:"span",css:!1,onEnter:t.enter,onLeave:t.leave,onAfterLeave:t.afterLeave},{default:(0,d.withCtx)((()=>[(0,d.renderSlot)(t.$slots,"default")])),_:3},8,["onEnter","onLeave","onAfterLeave"])}const Ds=Bs(Rs,[["render",Ns]]),Fs=(0,d.defineComponent)({name:"css-group",inheritAttrs:!1,props:{name:{type:String,required:!0}}});function js(t,e,n,o,i,r){return(0,d.openBlock)(),(0,d.createBlock)(d.TransitionGroup,{tag:"span",name:t.name},{default:(0,d.withCtx)((()=>[(0,d.renderSlot)(t.$slots,"default")])),_:3},8,["name"])}const Ws=Bs(Fs,[["render",js]]),Zs="[-+]?[0-9]*.?[0-9]+",Vs=[{name:"px",regexp:new RegExp(`^${Zs}px$`)},{name:"%",regexp:new RegExp(`^${Zs}%$`)},{name:"px",regexp:new RegExp(`^${Zs}$`)}],Hs=t=>{if("auto"===t)return{type:t,value:0};for(let e=0;e<Vs.length;e++){const n=Vs[e];if(n.regexp.test(t))return{type:n.name,value:parseFloat(t)}}return{type:"",value:t}},$s=t=>{switch(typeof t){case"number":return{type:"px",value:t};case"string":return Hs(t);default:return{type:"",value:t}}},Us={IDLE:0,DESTROYED:2};(0,d.defineComponent)({name:"notifications",components:{VelocityGroup:Ds,CssGroup:Ws},props:{group:{type:String,default:""},width:{type:[Number,String],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array],default:Is.position},classes:{type:String,default:"vue-notification"},animationType:{type:String,default:"css"},animation:{type:Object,default:Is.velocityAnimation},animationName:{type:String,default:Is.cssAnimation},speed:{type:Number,default:300},cooldown:{type:Number,default:0},duration:{type:Number,default:3e3},delay:{type:Number,default:0},max:{type:Number,default:1/0},ignoreDuplicates:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0},pauseOnHover:{type:Boolean,default:!1}},emits:["click","destroy","start"],data(){return{list:[],velocity:Ls.get("velocity"),timerControl:null}},computed:{actualWidth(){return $s(this.width)},isVA(){return"velocity"===this.animationType},componentName(){return this.isVA?"velocity-group":"css-group"},styles(){const{x:t,y:e}=Ms(this.position),n=this.actualWidth.value,o=this.actualWidth.type,i={width:n+o};return e&&(i[e]="0px"),t&&("center"===t?i.left=`calc(50% - ${+n/2}${o})`:i[t]="0px"),i},active(){return this.list.filter((t=>t.state!==Us.DESTROYED))},botToTop(){return this.styles.hasOwnProperty("bottom")}},mounted(){Ps.on("add",this.addItem),Ps.on("close",this.closeItem)},methods:{destroyIfNecessary(t){this.$emit("click",t),this.closeOnClick&&this.destroy(t)},pauseTimeout(){var t;this.pauseOnHover&&(null==(t=this.timerControl)||t.pause())},resumeTimeout(){var t;this.pauseOnHover&&(null==(t=this.timerControl)||t.resume())},addItem(t={}){if(t.group||(t.group=""),t.data||(t.data={}),this.group!==t.group)return;if(t.clean||t.clear)return void this.destroyAll();const e="number"==typeof t.duration?t.duration:this.duration,n="number"==typeof t.speed?t.speed:this.speed,o="boolean"==typeof t.ignoreDuplicates?t.ignoreDuplicates:this.ignoreDuplicates,{title:i,text:r,type:a,data:s,id:l}=t,c={id:l||Es(),title:i,text:r,type:a,state:Us.IDLE,speed:n,length:e+2*n,data:s};e>=0&&(this.timerControl=new Os((()=>this.destroy(c)),c.length,c));const u=this.reverse?!this.botToTop:this.botToTop;let h=-1;const d=this.active.some((e=>e.title===t.title&&e.text===t.text));(!o||!d)&&(u?(this.list.push(c),this.$emit("start",c),this.active.length>this.max&&(h=0)):(this.list.unshift(c),this.$emit("start",c),this.active.length>this.max&&(h=this.active.length-1)),-1!==h&&this.destroy(this.active[h]))},closeItem(t){this.destroyById(t)},notifyClass(t){return["vue-notification-template",this.classes,t.type||""]},notifyWrapperStyle(t){return this.isVA?void 0:{transition:`all ${t.speed}ms`}},destroy(t){clearTimeout(t.timer),t.state=Us.DESTROYED,this.clean(),this.$emit("destroy",t)},destroyById(t){const e=this.list.find((e=>e.id===t));e&&this.destroy(e)},destroyAll(){this.active.forEach(this.destroy)},getAnimation(t,e){var n;const o=null==(n=this.animation)?void 0:n[t];return"function"==typeof o?o.call(this,e):o},enter(t,e){if(!this.isVA)return;const n=this.getAnimation("enter",t);this.velocity(t,n,{duration:this.speed,complete:e})},leave(t,e){if(!this.isVA)return;const n=this.getAnimation("leave",t);this.velocity(t,n,{duration:this.speed,complete:e})},clean(){this.list=this.list.filter((t=>t.state!==Us.DESTROYED))}}});const Gs=t=>{"string"==typeof t&&(t={title:"",text:t}),"object"==typeof t&&Ps.emit("add",t)};Gs.close=t=>{Ps.emit("close",t)};(function(){var t;try{if("undefined"!=typeof document){var e=document.createElement("style");e.nonce=null==(t=document.head.querySelector("meta[property=csp-nonce]"))?void 0:t.content,e.appendChild(document.createTextNode(".vue-notification-group{display:block;position:fixed;z-index:5000}.vue-notification-wrapper{display:block;overflow:hidden;width:100%;margin:0;padding:0}.notification-title{font-weight:600}.vue-notification-template{display:block;box-sizing:border-box;background:white;text-align:left}.vue-notification{display:block;box-sizing:border-box;text-align:left;font-size:12px;padding:10px;margin:0 5px 5px;color:#fff;background:#44A4FC;border-left:5px solid #187FE7}.vue-notification.warn{background:#ffb648;border-left-color:#f48a06}.vue-notification.error{background:#E54D42;border-left-color:#b82e24}.vue-notification.success{background:#68CD86;border-left-color:#42a85f}.vn-fade-enter-active,.vn-fade-leave-active,.vn-fade-move{transition:all .5s}.vn-fade-enter-from,.vn-fade-leave-to{opacity:0}")),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();var qs={templateUrl:"https://{s}.google.com/vt/lyrs=p&x={x}&y={y}&z={z}",minZoom:1,maxZoom:20,subdomains:["mt0","mt1","mt2","mt3"],attribution:'© <a href="https://www.google.com/maps">Google Maps</a>',className:"map-tiles"};const Ys=(0,d.defineComponent)({emits:["place","update:modelValue","error","mapReady"],props:{activatorColor:{type:String,default:"#ffffff"},detectLocation:{type:Boolean,default:!0},modelValue:{type:Object,default:function(){return{latitudeDeg:42.3814,longitudeDeg:-71.1281}}},mapOptions:{type:Object,default:function(){return qs}},initialPlace:{type:Object,default:null},places:{type:Array,default:function(){return[]}},placeCircleOptions:{type:Object,default:function(){return{color:"#0000FF",fillColor:"#3333FF",fillOpacity:.5,radius:150}}},placeSelectable:{type:Boolean,default:!0},selectable:{type:Boolean,default:!0},selectedCircleOptions:{type:Object,default:function(){return{color:"#FF0000",fillColor:"#FF0033",fillOpacity:.5,radius:200}}},selectionEvent:{type:String,default:"click"},worldRadii:{type:Boolean,default:!1},geoJsonFiles:{type:Array,default:function(){return[]}},layers:{type:Array,default:function(){return[]}}},mounted:function(){this.initialPlace&&(this.selectedPlace=this.initialPlace),this.detectLocation&&this.getLocation(!0),this.setup(!0)},data:function(){return{placeCircles:[],hoveredPlace:null,selectedCircle:null,selectedPlace:null,selectedPlaceCircle:null,map:null}},methods:{getLocation:function(t){var e=this;void 0===t&&(t=!1);var n={timeout:1e4,enableHighAccuracy:!0};navigator.geolocation.getCurrentPosition((function(t){e.updateValue({longitudeDeg:t.coords.longitude,latitudeDeg:t.coords.latitude}),e.map&&e.map.setView([t.coords.latitude,t.coords.longitude],e.map.getZoom())}),(function(n){var o="Unable to autodetect location. Location will default to Cambridge, MA, USA, or you can\nuse the location selector to manually input a location.";t?Gs({group:"startup-location",type:"error",text:o,duration:4500}):e.$emit("error",o)}),n)},circleForLocation:function(t,e){return this.circleMaker([t.latitudeDeg,t.longitudeDeg],e)},circleForSelection:function(){return this.selectedPlace?null:this.circleForLocation(this.modelValue,n(n({},this.selectedCircleOptions),{interactive:!1}))},circleForPlace:function(t){var e=t===this.selectedPlace?this.selectedCircleOptions:this.placeCircleOptions,n=this.circleForLocation(t,e);return t.name&&n.bindTooltip(t.name),n},onPlaceSelect:function(t){this.updateValue({longitudeDeg:t.longitudeDeg,latitudeDeg:t.latitudeDeg}),this.$emit("place",t),this.selectedPlace=t},onMapSelect:function(t){var e=t.latlng.lng+180;e=(e%360+360)%360,e-=180,this.selectedPlace=null,this.updateValue({latitudeDeg:t.latlng.lat,longitudeDeg:e})},setup:function(t){var e,o,i,r,a=this;void 0===t&&(t=!1);var s=this.$el,l=t&&this.mapOptions.initialLocation?this.locationToLatLng(this.mapOptions.initialLocation):this.latLng,c=null!==(e=this.mapOptions.initialZoom)&&void 0!==e?e:4,u=t?c:null!==(i=null===(o=this.map)||void 0===o?void 0:o.getZoom())&&void 0!==i?i:c,h=Cs().map(s).setView(l,u),d=n(n({},qs),this.mapOptions);Cs().tileLayer(d.templateUrl,d).addTo(h),this.placeCircles=this.places.map((function(t){return a.circleForPlace(t)})),this.placeCircles.forEach((function(t,e){t.on("mouseover",(function(){var n=a.places[e];a.hoveredPlace=n,t.openTooltip([n.latitudeDeg,n.longitudeDeg])})),a.placeSelectable&&t.on("click",(function(){a.onPlaceSelect(a.places[e])})),t.on("mouseout",(function(){a.hoveredPlace=null})),t.addTo(h)})),this.selectedCircle=this.circleForSelection(),null===(r=this.selectedCircle)||void 0===r||r.addTo(h),h.doubleClickZoom.disable(),this.selectable&&h.on(this.selectionEvent,this.onMapSelect),h.attributionControl.setPrefix('<a href="https://leafletjs.com" title="A JavaScript library for interactive maps" target="_blank" rel="noopener noreferrer" >Leaflet</a>'),this.layers.forEach((function(t){return t.addTo(h)})),this.geoJsonFiles.forEach((function(t){var e=t.url,n=t.geojson,o=t.style;e?fetch(e).then((function(t){return t.json()})).then((function(t){Cs().geoJSON(t,{style:o}).addTo(h)})).catch((function(t){console.error("Error:",t)})):n&&Cs().geoJSON(n,{style:o,pointToLayer:function(t,e){return t.properties.absoluteRadius?(o.radius=t.properties.absoluteRadius,Cs().circle(e,o)):Cs().circleMarker(e,o)},onEachFeature:function(t,e){t.properties&&t.properties.popupContent&&e.bindPopup(t.properties.popupContent)}}).addTo(h)})),this.map=h,this.$emit("mapReady")},updateValue:function(t){this.$emit("update:modelValue",t)},addLayerToMap:function(t){this.map&&t.addTo(this.map)},removeLayerFromMap:function(t){this.map&&t.removeFrom(this.map)},updateCircle:function(){var t;this.map&&(null===(t=this.selectedCircle)||void 0===t||t.remove(),this.selectedCircle=this.circleForSelection(),this.selectedCircle&&this.selectedCircle.addTo(this.map))},locationToLatLng:function(t){return[t.latitudeDeg,t.longitudeDeg]}},computed:{circleMaker:function(){return this.worldRadii?Cs().circle:Cs().circleMarker},latLng:function(){return this.locationToLatLng(this.modelValue)}},watch:{modelValue:function(){this.updateCircle(),this.map&&!this.map.getBounds().contains(this.latLng)&&this.map.setView(this.latLng)},places:function(){var t;null===(t=this.map)||void 0===t||t.remove(),this.setup()},selectedPlace:function(t){var e,n=this.places.indexOf(t),o=this.selectedPlaceCircle;this.selectedPlaceCircle=this.placeCircles[n],null===o||void 0===o||o.setStyle(this.placeCircleOptions),null===(e=this.selectedPlaceCircle)||void 0===e||e.setStyle(this.selectedCircleOptions)}}});i(308);const Ks=(0,_s.A)(Ys,[["render",ks]]),Js=Ks;var Xs={id:"credits",class:"ui-text"},Qs=(0,d.createElementVNode)("div",{id:"icons-container"},null,-1),tl=[Qs];function el(t,e,n,o,i,r){return(0,d.openBlock)(),(0,d.createElementBlock)("div",Xs,tl)}const nl=(0,d.defineComponent)({props:{visible:{type:Boolean,default:!0}},data:function(){return{}},created:function(){},methods:{},computed:{isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}},watch:{}});i(734);const ol=(0,_s.A)(nl,[["render",el]]),il=ol;var rl={id:"funding-acknowledgment"};function al(t,e,n,o,i,r){return(0,d.openBlock)(),(0,d.createElementBlock)("div",rl," The material contained in this product is based upon work supported by NASA under cooperative agreement award No. 80NSSC21M0002. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Aeronautics and Space Administration. ")}const sl=(0,d.defineComponent)({props:{visible:{type:Boolean,default:!0}},data:function(){return{}},created:function(){},methods:{},computed:{},watch:{}});i(415);const ll=(0,_s.A)(sl,[["render",al]]),cl=ll;var ul={id:"icons-container"},hl=["id","href"],dl=["alt","src"];function fl(t,e,n,o,i,r){return(0,d.openBlock)(),(0,d.createElementBlock)("div",{id:"logo-credits",style:(0,d.normalizeStyle)(t.cssVars)},[(0,d.createElementVNode)("div",ul,[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.logos,(function(t){return(0,d.openBlock)(),(0,d.createElementBlock)("a",{key:t.href,id:t.name?t.name:void 0,href:t.href,target:"_blank",rel:"noopener noreferrer",class:(0,d.normalizeClass)(["logo-link",t.name?"logo-".concat(t.name):""])},[(0,d.createElementVNode)("img",{alt:t.alt,src:t.src},null,8,dl)],10,hl)})),128))])],4)}var pl=new Map([["cosmicds",{src:"https://projects.cosmicds.cfa.harvard.edu/cds-website/logos/cosmicds_logo_for_dark_backgrounds.png",href:"https://www.cosmicds.cfa.harvard.edu/",alt:"CosmicDS Logo",name:"cosmicds"}],["wwt",{src:"https://projects.cosmicds.cfa.harvard.edu/cds-website/logos/logo_wwt.png",href:"https://worldwidetelescope.org/home/",alt:"WWT Logo",name:"wwt"}],["sciact",{src:"https://projects.cosmicds.cfa.harvard.edu/cds-website/logos/logo_sciact.png",href:"https://science.nasa.gov/learners",alt:"SciAct Logo",name:"sciact"}],["nasa-grantee",{src:"https://projects.cosmicds.cfa.harvard.edu/cds-website/logos/NASA_Grantee_color_no_outline.png",href:"https://nasa.gov/",alt:"NASA Grantee Logo",name:"nasa-grantee"}]]);const ml=(0,d.defineComponent)({props:{visible:{type:Boolean,default:!0},logoSize:{type:String,default:"5vmin"},extraLogos:{type:Array,default:function(){return[]}},defaultLogos:{type:Array,default:function(){return["cosmicds","wwt","sciact"]}}},computed:{isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},cssVars:function(){return{"--logo-size":this.logoSize}},logos:function(){var t=this.defaultLogos.map((function(t){return pl.get(t)})).filter((function(t){return void 0!=t}));return t.concat(this.extraLogos)}}});i(522);const gl=(0,_s.A)(ml,[["render",fl]]),yl=gl;var vl={class:"rating-title"},_l={class:"rating-icon-row"};function wl(t,e,n,o,i,r){var a=(0,d.resolveComponent)("v-spacer"),s=(0,d.resolveComponent)("v-btn"),l=(0,d.resolveComponent)("FontAwesomeIcon"),c=(0,d.resolveComponent)("v-hover"),u=(0,d.resolveComponent)("VTextarea"),h=(0,d.resolveComponent)("v-expand-transition"),f=(0,d.resolveComponent)("v-form"),p=(0,d.resolveComponent)("v-card-text"),m=(0,d.resolveComponent)("v-card");return(0,d.openBlock)(),(0,d.createBlock)(m,{class:"rating-root",color:t.color,style:(0,d.normalizeStyle)(t.css)},{title:(0,d.withCtx)((function(){return[(0,d.createElementVNode)("div",vl,[(0,d.createElementVNode)("span",null,(0,d.toDisplayString)(t.question),1),(0,d.createVNode)(a),(0,d.createVNode)(s,{density:"compact",class:"close-button",icon:"mdi-close",onClick:e[0]||(e[0]=function(e){return t.$emit("dismiss",t.currentRating,t.comments)})})])]})),actions:(0,d.withCtx)((function(){return[(0,d.renderSlot)(t.$slots,"footer")]})),default:(0,d.withCtx)((function(){return[(0,d.createVNode)(p,null,{default:(0,d.withCtx)((function(){return[(0,d.createVNode)(f,{onSubmit:e[3]||(e[3]=(0,d.withModifiers)((function(e){return t.$emit("finish",t.currentRating,t.comments)}),["prevent"]))},{default:(0,d.withCtx)((function(){return[(0,d.createElementVNode)("div",_l,[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.ratings,(function(e){return(0,d.renderSlot)(t.$slots,"default",{rating:e},(function(){return[((0,d.openBlock)(),(0,d.createBlock)(c,{key:e},{default:(0,d.withCtx)((function(n){var o=n.isHovering,i=n.props;return[(0,d.createVNode)(l,(0,d.mergeProps)(i,{size:t.iconSize,class:["rating",e,{hovered:o},{selected:e===t.currentRating}],icon:t.ratingIcons[e][0],color:o||e===t.currentRating?t.ratingIcons[e][1]:t.baseColor,onClick:function(n){return t.currentRating=e}}),null,16,["size","class","icon","color","onClick"])]})),_:2},1024))]}))})),256))]),(0,d.createVNode)(h,null,{default:(0,d.withCtx)((function(){return[t.showComments?((0,d.openBlock)(),(0,d.createBlock)(u,{key:0,modelValue:t.comments,"onUpdate:modelValue":e[1]||(e[1]=function(e){return t.comments=e}),class:"comments-box text-body-2",placeholder:t.commentPlaceholder,"auto-grow":"","max-rows":"4",density:"compact",width:"100%",onKeydown:e[2]||(e[2]=(0,d.withModifiers)((function(){}),["stop"]))},null,8,["modelValue","placeholder"])):(0,d.createCommentVNode)("",!0)]})),_:1}),(0,d.createVNode)(h,null,{default:(0,d.withCtx)((function(){return[t.currentRating||t.showComments?((0,d.openBlock)(),(0,d.createBlock)(s,{key:0,type:"submit",width:"fit-content",color:"success"},{default:(0,d.withCtx)((function(){return[(0,d.createTextVNode)(" Submit ")]})),_:1})):(0,d.createCommentVNode)("",!0)]})),_:1})]})),_:3})]})),_:3})]})),_:3},8,["color","style"])}var bl=Math.PI/180,xl=180/Math.PI,kl="https://api.cosmicds.cfa.harvard.edu",Sl="".concat(kl,"/minids"),Cl=["red","orange","lightgreen","green"];function Tl(t,e,n){return o(this,void 0,void 0,(function(){var o,i;return a(this,(function(r){return o={story_name:t.story_name,uuid:t.uuid},t.comments&&(o.comments=t.comments),t.rating&&(o.rating,t.rating),i=null!==n&&void 0!==n?n:"".concat(kl,"/stories/user-experience"),[2,fetch(i,{method:"PUT",body:JSON.stringify(o),headers:{Authorization:e,"Content-Type":"application/json"}}).catch((function(t){return console.error(t),null}))]}))}))}var Pl={prefix:"fas",iconName:"face-grin-stars",icon:[512,512,[129321,"grin-stars"],"f587","M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm407.4 75.5c5-11.8-7-22.5-19.3-18.7c-39.7 12.2-84.5 19-131.8 19s-92.1-6.8-131.8-19c-12.3-3.8-24.3 6.9-19.3 18.7c25 59.1 83.2 100.5 151.1 100.5s126.2-41.4 151.1-100.5zM160 120c-3.1 0-5.9 1.8-7.2 4.6l-16.6 34.7-38.1 5c-3.1 .4-5.6 2.5-6.6 5.5s-.1 6.2 2.1 8.3l27.9 26.5-7 37.8c-.6 3 .7 6.1 3.2 7.9s5.8 2 8.5 .6L160 232.5l33.8 18.3c2.7 1.5 6 1.3 8.5-.6s3.7-4.9 3.2-7.9l-7-37.8L226.4 178c2.2-2.1 3.1-5.3 2.1-8.3s-3.5-5.1-6.6-5.5l-38.1-5-16.6-34.7c-1.3-2.8-4.1-4.6-7.2-4.6zm192 0c-3.1 0-5.9 1.8-7.2 4.6l-16.6 34.7-38.1 5c-3.1 .4-5.6 2.5-6.6 5.5s-.1 6.2 2.1 8.3l27.9 26.5-7 37.8c-.6 3 .7 6.1 3.2 7.9s5.8 2 8.5 .6L352 232.5l33.8 18.3c2.7 1.5 6 1.3 8.5-.6s3.7-4.9 3.2-7.9l-7-37.8L418.4 178c2.2-2.1 3.1-5.3 2.1-8.3s-3.5-5.1-6.6-5.5l-38.1-5-16.6-34.7c-1.3-2.8-4.1-4.6-7.2-4.6z"]},Ll={prefix:"fas",iconName:"face-frown-open",icon:[512,512,[128550,"frown-open"],"f57a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM176.4 176a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm128 32a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-122 174.5c-12.4 5.2-26.5-4.1-21.1-16.4c16-36.6 52.4-62.1 94.8-62.1s78.8 25.6 94.8 62.1c5.4 12.3-8.7 21.6-21.1 16.4c-22.4-9.5-47.4-14.8-73.7-14.8s-51.3 5.3-73.7 14.8z"]},Al={prefix:"fas",iconName:"face-frown",icon:[512,512,[9785,"frown"],"f119","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM159.3 388.7c-2.6 8.4-11.6 13.2-20 10.5s-13.2-11.6-10.5-20C145.2 326.1 196.3 288 256 288s110.8 38.1 127.3 91.3c2.6 8.4-2.1 17.4-10.5 20s-17.4-2.1-20-10.5C340.5 349.4 302.1 320 256 320s-84.5 29.4-96.7 68.7zM144.4 208a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm192-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},El={prefix:"fas",iconName:"face-meh",icon:[512,512,[128528,"meh"],"f11a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM176.4 176a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm128 32a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zM160 336H352c8.8 0 16 7.2 16 16s-7.2 16-16 16H160c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},zl={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},Ml=zl,Ol={prefix:"fas",iconName:"face-smile",icon:[512,512,[128578,"smile"],"f118","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM164.1 325.5C182 346.2 212.6 368 256 368s74-21.8 91.9-42.5c5.8-6.7 15.9-7.4 22.6-1.6s7.4 15.9 1.6 22.6C349.8 372.1 311.1 400 256 400s-93.8-27.9-116.1-53.5c-5.8-6.7-5.1-16.8 1.6-22.6s16.8-5.1 22.6 1.6zM144.4 208a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm192-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]};Wa.add(Pl),Wa.add(Ol),Wa.add(El),Wa.add(Ll),Wa.add(Al);const Il=(0,d.defineComponent)({extends:w,components:{FontAwesomeIcon:ys},props:{ratingColors:{type:Array,default:function(){return Cl}},question:{type:String,default:"How would you rate your experience?"},commentPlaceholder:{type:String,default:"Please tell us more if you like"},askForComments:{type:Boolean,default:!0},iconSize:{type:String,default:"5x"},color:{type:String,default:"surface"},baseColor:{type:String,required:!0}},data:function(){var t={very_bad:["fa-face-frown","red"],poor:["fa-face-frown-open","orange"],good:["fa-face-smile","lightgreen"],excellent:["fa-face-grin-stars","green"]};return{currentRating:null,comments:null,showComments:!1,ratings:Object.keys(t),ratingIcons:t}},computed:{showFooter:function(){return!!this.$slots.footer},css:function(){return{"--footer-visible":this.showFooter?"visible":"none"}}},watch:{currentRating:function(t){t&&(this.askForComments&&(this.showComments=!0),this.$emit("rating",t))}}});i(494);const Rl=(0,_s.A)(Il,[["render",wl]]),Bl=Rl;var Nl={id:"wwt-hud"},Dl=(0,d.createElementVNode)("h3",null," Camera settings ",-1),Fl=(0,d.createElementVNode)("h3",null," Imagesets ",-1),jl=(0,d.createElementVNode)("h3",null," Clock ",-1),Wl={key:0};function Zl(t,e,n,o,i,r){return(0,d.openBlock)(),(0,d.createElementBlock)("div",{style:(0,d.normalizeStyle)(t.cssVars)},[(0,d.createElementVNode)("div",Nl,[Dl,(0,d.createElementVNode)("p",null," RA: "+(0,d.toDisplayString)(t.wwtRARad)+" ("+(0,d.toDisplayString)(t.wwtRADeg)+") ",1),(0,d.createElementVNode)("p",null," Dec: "+(0,d.toDisplayString)(t.wwtDecRad)+" ("+(0,d.toDisplayString)(t.wwtDecDeg)+") ",1),(0,d.createElementVNode)("p",null," Roll: "+(0,d.toDisplayString)(t.wwtRollRad),1),(0,d.createElementVNode)("p",null," Zoom: "+(0,d.toDisplayString)(t.wwtZoomDeg),1),(0,d.createElementVNode)("p",null," Mode: "+(0,d.toDisplayString)(t.mode),1),Fl,(0,d.createElementVNode)("p",null," Bkg: "+(0,d.toDisplayString)(t.bkgImage),1),(0,d.createElementVNode)("p",null," Fg: "+(0,d.toDisplayString)(t.fgImg)+" (op: "+(0,d.toDisplayString)(t.wwtForegroundOpacity)+" ) ",1),jl,(0,d.createElementVNode)("p",null," Time: "+(0,d.toDisplayString)(t.wwtCurrentTime),1),(0,d.createElementVNode)("p",null," Rate: "+(0,d.toDisplayString)(t.wwtClockRate),1),(0,d.createElementVNode)("p",null," Location: "+(0,d.toDisplayString)(t.wwtLocation),1),Object.keys(t.otherVariables).length>0?((0,d.openBlock)(),(0,d.createElementBlock)("h3",Wl," User defined vars ")):(0,d.createCommentVNode)("",!0),((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.otherVariables,(function(t,e){return(0,d.openBlock)(),(0,d.createElementBlock)("p",{key:e},(0,d.toDisplayString)(e)+": "+(0,d.toDisplayString)(t),1)})),128)),(0,d.renderSlot)(t.$slots,"default")])],4)}var Vl=i(380),Hl=180/Math.PI;const $l=(0,d.defineComponent)({name:"wwtHUD",extends:f.WWTAwareComponent,props:{location:{type:Object,default:function(){return{top:"50%",left:"50%"}}},offsetCenter:{type:Object,default:function(){return{x:.5,y:.5}}},otherVariables:{type:Object,default:function(){return{}}},fontSize:{type:String,default:"1em"},backgroundColor:{type:String||null,default:"rgba(0, 0, 0, 0.5)"},textShadow:{type:String||null,default:"0 0 5px black"}},computed:{wwtSettings:function(){return Vl.Settings.get_active()},wwtControl:function(){return Vl.WWTControl.singleton},wwtScriptInterface:function(){return Vl.ScriptInterface.singleton},cssVars:function(){var t,e,n,o;return{"--hud-top":null!==(t=this.location.top)&&void 0!==t?t:"auto","--hud-left":null!==(e=this.location.left)&&void 0!==e?e:"auto","--hud-bottom":null!==(n=this.location.bottom)&&void 0!==n?n:"auto","--hud-right":null!==(o=this.location.right)&&void 0!==o?o:"auto","--font-size":this.fontSize,"--background-color":this.backgroundColor||"transparent","--text-shadow":this.textShadow||"none","--offset-center-x":"-".concat(100*this.offsetCenter.x,"%"),"--offset-center-y":"-".concat(100*this.offsetCenter.y,"%")}},wwtRADeg:function(){return this.wwtRARad*Hl},wwtDecDeg:function(){return this.wwtDecRad*Hl},bkgImage:function(){var t;return null===(t=this.wwtBackgroundImageset)||void 0===t?void 0:t.get_name()},fgImg:function(){var t;return null===(t=this.wwtForegroundImageset)||void 0===t?void 0:t.get_name()},mode:function(){return"3D Solar System View"==this.bkgImage?"3D":this.wwtSettings.get_galacticMode()?"Sky (galactic)":this.wwtSettings.get_localHorizonMode()?"Sky (local horizon)":"Sky (equatorial)"},wwtLocation:function(){return{lat:this.wwtSettings.get_locationLat(),lon:this.wwtSettings.get_locationLng(),alt:this.wwtSettings.get_locationAltitude()}}}});i(233);const Ul=(0,_s.A)($l,[["render",Zl]]),Gl=Ul;var ql=function(){function t(t,e){this.displayName=t,this.imagesetName=e}return t}(),Yl=[new ql("Optical (Terapixel DSS)","Digitized Sky Survey (Color)"),new ql("Low-frequency radio (VLSS)","VLSS: VLA Low-frequency Sky Survey (Radio)"),new ql("Infrared (2MASS)","2Mass: Imagery (Infrared)"),new ql("Infrared (SFD dust map)","SFD Dust Map (Infrared)"),new ql("Ultraviolet (GALEX)","GALEX (Ultraviolet)"),new ql("X-Ray (ROSAT RASS)","RASS: ROSAT All Sky Survey (X-ray)"),new ql("Gamma Rays (FERMI LAT 8-year)","Fermi LAT 8-year (gamma)")],Kl={class:"default-activator-title noselect"},Jl=["src"],Xl={class:"gallery-header"},Ql={class:"gallery-title"},tc={class:"gallery-content"},ec=["onClick"],nc=["src"],oc={class:"place-name noselect"};function ic(t,e,n,o,i,r){var a=(0,d.resolveComponent)("font-awesome-icon");return(0,d.openBlock)(),(0,d.createElementBlock)("div",{class:(0,d.normalizeClass)(["gallery-root",{open:t.open}])},[(0,d.createElementVNode)("div",{class:"just-holding-events",onClick:e[2]||(e[2]=function(e){return t.open=!0}),onKeyup:e[3]||(e[3]=(0,d.withKeys)((function(e){return t.open=!0}),["enter"])),tabindex:"0"},[t.open?(0,d.createCommentVNode)("",!0):(0,d.renderSlot)(t.$slots,"closed",{key:0},(function(){var n,o;return[(0,d.createElementVNode)("div",{class:"default-activator blurred",onClick:e[0]||(e[0]=function(e){return t.open=!0}),onKeyup:e[1]||(e[1]=(0,d.withKeys)((function(e){return t.open=!0}),["enter"]))},[(0,d.createElementVNode)("span",Kl,(0,d.toDisplayString)(t.closedText),1),(0,d.createElementVNode)("img",{class:"noselect",src:t.places[t.previewIndex]&&null!==(o=null===(n=t.getImageset(t.places[t.previewIndex]))||void 0===n?void 0:n.get_thumbnailUrl())&&void 0!==o?o:""},null,8,Jl)],32)]}))],32),t.open?((0,d.openBlock)(),(0,d.createElementBlock)("div",{key:0,style:(0,d.normalizeStyle)(t.cssVars),class:"gallery blurred"},[(0,d.createElementVNode)("div",Xl,[(0,d.createElementVNode)("span",Ql,(0,d.toDisplayString)(t.title),1),(0,d.createVNode)(a,{class:"gallery-close",icon:"times",size:"lg",onClick:e[4]||(e[4]=function(e){return t.open=!1}),onKeyup:e[5]||(e[5]=(0,d.withKeys)((function(e){return t.open=!1}),["enter"])),tabindex:"0"})]),(0,d.createElementVNode)("div",tc,[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.places.entries(),(function(e){var n,o,i=l(e,2),r=i[0],a=i[1];return(0,d.openBlock)(),(0,d.createElementBlock)("div",{key:r,class:(0,d.normalizeClass)(["gallery-item",{selected:t.highlightLastOnly?t.selectedPlace===a:t.selectedPlaces.includes(a)}]),onClick:function(e){return t.selectPlace(a)}},[(0,d.createElementVNode)("img",{class:"noselect",src:null!==(o=null===(n=t.getImageset(a))||void 0===n?void 0:n.get_thumbnailUrl())&&void 0!==o?o:""},null,8,nc),(0,d.createElementVNode)("span",oc,(0,d.toDisplayString)(a.get_name()),1)],10,ec)})),128))])],4)):(0,d.createCommentVNode)("",!0)],2)}Symbol();var rc;(function(t){t["direct"]="direct",t["patchObject"]="patch object",t["patchFunction"]="patch function"})(rc||(rc={}));const ac="undefined"!==typeof window,sc=(()=>"object"===typeof window&&window.window===window?window:"object"===typeof self&&self.self===self?self:"object"===typeof global&&global.global===global?global:"object"===typeof globalThis?globalThis:{HTMLElement:null})();function lc(t,{autoBom:e=!1}={}){return e&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}function cc(t,e,n){const o=new XMLHttpRequest;o.open("GET",t),o.responseType="blob",o.onload=function(){pc(o.response,e,n)},o.onerror=function(){console.error("could not download file")},o.send()}function uc(t){const e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(Sc){}return e.status>=200&&e.status<=299}function hc(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(Sc){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}const dc="object"===typeof navigator?navigator:{userAgent:""},fc=(()=>/Macintosh/.test(dc.userAgent)&&/AppleWebKit/.test(dc.userAgent)&&!/Safari/.test(dc.userAgent))(),pc=ac?"undefined"!==typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!fc?mc:"msSaveOrOpenBlob"in dc?gc:yc:()=>{};function mc(t,e="download",n){const o=document.createElement("a");o.download=e,o.rel="noopener","string"===typeof t?(o.href=t,o.origin!==location.origin?uc(o.href)?cc(t,e,n):(o.target="_blank",hc(o)):hc(o)):(o.href=URL.createObjectURL(t),setTimeout((function(){URL.revokeObjectURL(o.href)}),4e4),setTimeout((function(){hc(o)}),0))}function gc(t,e="download",n){if("string"===typeof t)if(uc(t))cc(t,e,n);else{const e=document.createElement("a");e.href=t,e.target="_blank",setTimeout((function(){hc(e)}))}else navigator.msSaveOrOpenBlob(lc(t,n),e)}function yc(t,e,n,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),"string"===typeof t)return cc(t,e,n);const i="application/octet-stream"===t.type,r=/constructor/i.test(String(sc.HTMLElement))||"safari"in sc,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&r||fc)&&"undefined"!==typeof FileReader){const e=new FileReader;e.onloadend=function(){let t=e.result;if("string"!==typeof t)throw o=null,new Error("Wrong reader.result type");t=a?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=t:location.assign(t),o=null},e.readAsDataURL(t)}else{const e=URL.createObjectURL(t);o?o.location.assign(e):location.href=e,o=null,setTimeout((function(){URL.revokeObjectURL(e)}),4e4)}}const{assign:vc}=Object;Symbol();const{assign:_c}=Object;function wc(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]=function(...e){return t(this.$pinia)[n](...e)},e)),{}):Object.keys(e).reduce(((n,o)=>(n[o]=function(...n){return t(this.$pinia)[e[o]](...n)},n)),{})}Wa.add(Ml);const bc=(0,d.defineComponent)({components:{"font-awesome-icon":ys},props:{wtmlUrl:{type:String,required:!0},columns:{type:[Number,String],default:"auto-fit"},width:{type:String,default:"300px"},maxHeight:{type:String,default:"500px"},title:{type:String,default:"Gallery"},selectedColor:{type:String,default:"dodgerblue"},singleSelect:{type:Boolean,default:!0},highlightLastOnly:{type:Boolean,default:!1},previewIndex:{type:Number,default:0},closedText:{type:String,default:"Image Gallery"}},created:function(){return o(this,void 0,void 0,(function(){var t=this;return a(this,(function(e){return this.waitForReady().then((function(){return o(t,void 0,void 0,(function(){var t;return a(this,(function(e){switch(e.label){case 0:return t=this,[4,this.placesFromWtml(this.wtmlUrl)];case 1:return t.places=e.sent(),[2]}}))}))})),[2]}))}))},data:function(){return{open:!1,places:[],selectedPlace:null,selectedPlaces:[]}},methods:n(n({},wc(f.engineStore,["loadImageCollection","waitForReady"])),{getImageset:function(t){var e;return null!==(e=t.get_backgroundImageset())&&void 0!==e?e:t.get_studyImageset()},extractPlaces:function(t){var e,n,o,i=[];try{for(var r=s(null!==(o=t.get_children())&&void 0!==o?o:[]),a=r.next();!a.done;a=r.next()){var l=a.value;if(l instanceof Vl.Place){var c=this.getImageset(l);null!==c&&i.push(l)}else l instanceof Vl.Folder&&(i=i.concat(this.extractPlaces(l)))}}catch(u){e={error:u}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return i},placesFromWtml:function(t){return o(this,void 0,void 0,(function(){var e=this;return a(this,(function(n){return[2,this.loadImageCollection({url:t,loadChildFolders:!0}).then((function(t){return e.extractPlaces(t)}))]}))}))},selectPlace:function(t){var e=this;if(this.singleSelect)return this.selectedPlace===t?(this.$emit("deselect",t),this.selectedPlaces=[],void(this.selectedPlace=null)):(this.selectedPlaces.forEach((function(t){return e.$emit("deselect",t)})),this.selectedPlaces=[t],void(this.selectedPlace=t));this.selectedPlaces.includes(t)?(this.$emit("deselect",t),this.selectedPlace=null,this.selectedPlaces.splice(this.selectedPlaces.indexOf(t),1)):(this.selectedPlace=t,this.selectedPlaces=this.singleSelect?[t]:c(c([],l(this.selectedPlaces),!1),[t],!1))}}),computed:{cssVars:function(){return{"--column-count":this.columns,"--selected-color":this.selectedColor,"--gallery-width":this.width,"--gallery-max-height":this.maxHeight}}},watch:{selectedPlace:function(t){null!=t&&(this.$emit("select",t),this.singleSelect||this.$emit("listAllSelected",this.selectedPlaces))}}});i(960);const xc=(0,_s.A)(bc,[["render",ic]]),kc=xc})(),r})()));
|
|
13
13
|
//# sourceMappingURL=index.umd.min.js.map
|