diff --git a/annular-eclipse-2023/index.html b/annular-eclipse-2023/index.html index 70a7b72f..ba254d94 100644 --- a/annular-eclipse-2023/index.html +++ b/annular-eclipse-2023/index.html @@ -2,4 +2,4 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-WSJGNX16TL');Annular Eclipse 2023
\ No newline at end of file + gtag('config', 'G-WSJGNX16TL');Annular Eclipse 2023
\ No newline at end of file diff --git a/annular-eclipse-2023/js/app.bafe858b.js b/annular-eclipse-2023/js/app.1d0e4411.js similarity index 76% rename from annular-eclipse-2023/js/app.bafe858b.js rename to annular-eclipse-2023/js/app.1d0e4411.js index 18a46f16..e57500ac 100644 --- a/annular-eclipse-2023/js/app.bafe858b.js +++ b/annular-eclipse-2023/js/app.1d0e4411.js @@ -1,13 +1,13 @@ -(()=>{var t={7173:(t,e,n)=>{var o={"./2023-09-19-SDO-Sun.png":74,"./A.png":858,"./AnnularEclipseMap.png":9669,"./B.png":995,"./C.png":8487,"./eclipse.gif":7398,"./eclipse_static.gif":6421,"./giphy.webp":3276,"./moon-dark-gray-overlay.png":1670,"./moon-sky-blue-overlay.png":4068,"./moon.png":3909,"./video.mp4":567};function i(t){var e=r(t);return n(e)}function r(t){if(!n.o(o,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return o[t]}i.keys=function(){return Object.keys(o)},i.resolve=r,t.exports=i,i.id=7173},6320:function(t,e,n){(function(e,o){t.exports=o(n(8125),n(5294))})("undefined"!==typeof self&&self,((t,e)=>(()=>{var o={121:function(t,e,n){(function(e,o){t.exports=o(n(415),n(203))})("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:()=>Ie,SpreadSheetLayerInfo:()=>Re,WWTAwareComponent:()=>Ne,WWTComponent:()=>qe,engineStore:()=>Fe,wwtPinia:()=>Ge}),"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 p,f,m;function g(){var t;return void 0!==p||("undefined"!==typeof window&&window.performance?(p=!0,f=window.performance):"undefined"!==typeof r.g&&(null===(t=r.g.perf_hooks)||void 0===t?void 0:t.performance)?(p=!0,f=r.g.perf_hooks.performance):p=!1),p}function v(){return g()?f.now():Date.now()}class y{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 v()}},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 y(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(){E(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 M(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:""},O=(()=>/Macintosh/.test(z.userAgent)&&/AppleWebKit/.test(z.userAgent)&&!/Safari/.test(z.userAgent))(),E=S?"undefined"!==typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!O?I:"msSaveOrOpenBlob"in z?R:D:()=>{};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",M(o)):M(o)):(o.href=URL.createObjectURL(t),setTimeout((function(){URL.revokeObjectURL(o.href)}),4e4),setTimeout((function(){M(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(){M(e)}))}else navigator.msSaveOrOpenBlob(P(t,n),e)}function D(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||O)&&"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 B(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 W(t){return"_a"in t&&"install"in t}function F(){if(!("clipboard"in navigator))return B("Your browser doesn't support the Clipboard API","error"),!0}function N(t){return!!(t instanceof Error&&t.message.toLowerCase().includes("document is not focused"))&&(B('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0)}async function j(t){if(!F())try{await navigator.clipboard.writeText(JSON.stringify(t.state.value)),B("Global state copied to clipboard.")}catch(e){if(N(e))return;B("Failed to serialize the state. Check the console for more details.","error"),console.error(e)}}async function Z(t){if(!F())try{t.state.value=JSON.parse(await navigator.clipboard.readText()),B("Global state pasted from clipboard.")}catch(e){if(N(e))return;B("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(e)}}async function U(t){try{E(new Blob([JSON.stringify(t.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(e){B("Failed to export the state as JSON. Check the console for more details.","error"),console.error(e)}}let V;function H(){function t(){return new Promise(((t,e)=>{V.onchange=async()=>{const e=V.files;if(!e)return t(null);const n=e.item(0);return t(n?{text:await n.text(),file:n}:null)},V.oncancel=()=>t(null),V.onerror=e,V.click()}))}return V||(V=document.createElement("input"),V.type="file",V.accept=".json"),t}async function $(t){try{const e=await H(),n=await e();if(!n)return;const{text:o,file:i}=n;t.state.value=JSON.parse(o),B(`Global state imported from "${i.name}".`)}catch(e){B("Failed to export the state as JSON. Check the console for more details.","error"),console.error(e)}}function q(t){return{_custom:{display:t}}}const G="๐Ÿ Pinia (root)",Y="_root";function K(t){return W(t)?{id:Y,label:G}:{id:t.$id,label:t.$id}}function J(t){if(W(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 X(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 Q(t){switch(t){case k.direct:return"mutation";case k.patchFunction:return"$patch";case k.patchObject:return"$patch";default:return"unknown"}}let tt=!0;const et=[],nt="pinia:mutations",ot="pinia",it=t=>"๐Ÿ "+t;function rt(t,e){_({id:"dev.esm.pinia",label:"Pinia ๐Ÿ",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:et,app:t},(n=>{"function"!==typeof n.now&&B("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:nt,label:"Pinia ๐Ÿ",color:15064968}),n.addInspector({id:ot,label:"Pinia ๐Ÿ",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{j(e)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await Z(e),n.sendInspectorTree(ot),n.sendInspectorState(ot)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{U(e)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await $(e),n.sendInspectorTree(ot),n.sendInspectorState(ot)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:"Reset the state (option store only)",action:t=>{const n=e._s.get(t);n?n._isOptionsAPI?(n.$reset(),B(`Store "${t}" reset.`)):B(`Cannot reset "${t}" store because it's a setup store.`,"warn"):B(`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:it(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:it(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===ot){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()):G.toLowerCase().includes(n.filter.toLowerCase()))):t).map(K)}})),n.on.getInspectorState((n=>{if(n.app===t&&n.inspectorId===ot){const t=n.nodeId===Y?e:e._s.get(n.nodeId);if(!t)return;t&&(n.state=J(t))}})),n.on.editInspectorState(((n,o)=>{if(n.app===t&&n.inspectorId===ot){const t=n.nodeId===Y?e:e._s.get(n.nodeId);if(!t)return B(`store "${n.nodeId}" not found`,"error");const{path:o}=n;W(t)?o.unshift("state"):1===o.length&&t._customProperties.has(o[0])&&!(o[0]in t.$state)||o.unshift("$state"),tt=!1,n.set(t,o,n.state.value),tt=!0}})),n.on.editComponentState((t=>{if(t.type.startsWith("๐Ÿ")){const n=t.type.replace(/^๐Ÿ\s*/,""),o=e._s.get(n);if(!o)return B(`store "${n}" not found`,"error");const{path:i}=t;if("state"!==i[0])return B(`Invalid path for store "${n}":\n${i}\nOnly state can be modified.`);i[0]="$state",tt=!1,t.set(o,i,t.state.value),tt=!0}}))}))}function at(t,e){et.includes(it(e.$id))||et.push(it(e.$id)),_({id:"dev.esm.pinia",label:"Pinia ๐Ÿ",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:et,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=lt++;t.addTimelineEvent({layerId:nt,event:{time:n(),title:"๐Ÿ›ซ "+r,subtitle:"start",data:{store:q(e.$id),action:q(r),args:a},groupId:s}}),o((o=>{st=void 0,t.addTimelineEvent({layerId:nt,event:{time:n(),title:"๐Ÿ›ฌ "+r,subtitle:"end",data:{store:q(e.$id),action:q(r),args:a,result:o},groupId:s}})})),i((o=>{st=void 0,t.addTimelineEvent({layerId:nt,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(ot),tt&&t.addTimelineEvent({layerId:nt,event:{time:n(),title:"Change",subtitle:i,data:{newValue:e,oldValue:o},groupId:st}})}),{deep:!0})})),e.$subscribe((({events:o,type:i},r)=>{if(t.notifyComponentUpdate(),t.sendInspectorState(ot),!tt)return;const a={time:n(),title:Q(i),data:{store:q(e.$id),...X(o)},groupId:st};st=void 0,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:nt,event:a})}),{detached:!0,flush:"sync"});const i=e._hotUpdate;e._hotUpdate=(0,o.markRaw)((o=>{i(o),t.addTimelineEvent({layerId:nt,event:{time:n(),title:"๐Ÿ”ฅ "+e.$id,subtitle:"HMR update",data:{store:q(e.$id),info:q("HMR update")}}}),t.notifyComponentUpdate(),t.sendInspectorTree(ot),t.sendInspectorState(ot)}));const{$dispose:r}=e;e.$dispose=()=>{r(),t.notifyComponentUpdate(),t.sendInspectorTree(ot),t.sendInspectorState(ot),t.getSettings().logStoreChanges&&B(`Disposed "${e.$id}" store ๐Ÿ—‘`)},t.notifyComponentUpdate(),t.sendInspectorTree(ot),t.sendInspectorState(ot),t.getSettings().logStoreChanges&&B(`"${e.$id}" store installed ๐Ÿ†•`)}))}let st,lt=0;function ct(t,e){const n=e.reduce(((e,n)=>(e[n]=(0,o.toRaw)(t)[n],e)),{});for(const o in n)t[o]=function(){const e=lt,i=new Proxy(t,{get(...t){return st=e,Reflect.get(...t)},set(...t){return st=e,Reflect.set(...t)}});return n[o].apply(i,arguments)}}function ut({app:t,store:e,options:n}){if(!e.$id.startsWith("__hot:")){if(n.state&&(e._isOptionsAPI=!0),"function"===typeof n.state){ct(e,Object.keys(n.actions));const t=e._hotUpdate;(0,o.toRaw)(e)._hotUpdate=function(n){t.apply(this,arguments),ct(e,Object.keys(n._hmrPayload.actions))}}at(t,e)}}function ht(){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&&rt(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(ut),a}const dt=()=>{};function pt(t,e,n,i=dt){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 ft(t,...e){t.slice().forEach((t=>{t(...e)}))}function mt(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]=mt(r,i):t[n]=i}return t}const gt=Symbol(),vt=new WeakMap;function yt(t){return i?!vt.has(t):!x(t)||!t.hasOwnProperty(gt)}const{assign:_t}=Object;function wt(t){return!(!(0,o.isRef)(t)||!t.effect)}function bt(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 _t(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=xt(t,d,e,n,r,!0),h.$reset=function(){const t=a?a():{};this.$patch((e=>{_t(e,t)}))},h}function xt(t,e,n={},r,a,l){let c;const u=_t({actions:{}},n);const h={deep:!0};let d,p;let f,m=(0,o.markRaw)([]),g=(0,o.markRaw)([]);const v=r.state.value[t];l||v||(i?s(r.state.value,t,{}):r.state.value[t]={});const y=(0,o.ref)({});let _;function b(e){let n;d=p=!1,"function"===typeof e?(e(r.state.value[t]),n={type:k.patchFunction,storeId:t,events:f}):(mt(r.state.value[t],e),n={type:k.patchObject,payload:e,storeId:t,events:f});const i=_=Symbol();(0,o.nextTick)().then((()=>{_===i&&(d=!0)})),p=!0,ft(m,n,r.state.value[t])}const x=dt;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;ft(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 ft(a,u),u}return c instanceof Promise?c.then((t=>(ft(i,t),t))).catch((t=>(ft(a,t),Promise.reject(t)))):(ft(i,c),c)}}const P=(0,o.markRaw)({actions:{},getters:{},state:[],hotState:y}),L={_p:r,$id:t,$onAction:pt.bind(null,g),$patch:b,$reset:x,$subscribe(e,n={}){const i=pt(m,e,n.detached,(()=>a())),a=c.run((()=>(0,o.watch)((()=>r.state.value[t]),(o=>{("sync"===n.flush?p:d)&&e({storeId:t,type:k.direct,events:f},o)}),_t({},h,n))));return i},$dispose:S};i&&(L._r=!1);const A=(0,o.reactive)(C?_t({_hmrPayload:P,_customProperties:(0,o.markRaw)(new Set)},L):L);r._s.set(t,A);const M=r._e.run((()=>(c=(0,o.effectScope)(),c.run((()=>e())))));for(const w in M){const e=M[w];if((0,o.isRef)(e)&&!wt(e)||(0,o.isReactive)(e))l||(v&&yt(e)&&((0,o.isRef)(e)?e.value=v[w]:mt(e,v[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(M,w,t):M[w]=t,u.actions[w]=e}else 0}if(i?Object.keys(M).forEach((t=>{s(A,t,M[t])})):(_t(A,M),_t((0,o.toRaw)(A),M)),Object.defineProperty(A,"$state",{get:()=>r.state.value[t],set:t=>{b((e=>{_t(e,t)}))}}),C){const t={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach((e=>{Object.defineProperty(A,e,{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))),_t(A,e)}else _t(A,c.run((()=>t({store:A,app:r._a,pinia:r,options:u}))))})),v&&l&&n.hydrate&&n.hydrate(A.$state,v),d=!0,p=!0,A}function kt(t,e,n){let i,r;const a="function"===typeof e;function s(t,n){const s=(0,o.getCurrentInstance)();t=t||s&&(0,o.inject)(b,null),t&&w(t),t=m,t._s.has(i)||(a?xt(i,e,r,t):bt(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 St(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 Ct(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 Tt=function(t,e){return Tt=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])},Tt(t,e)};function Pt(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}Tt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Lt=function(){return Lt=Object.assign||function(t){for(var e,n=1,o=arguments.length;n0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]=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 Ot(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;var Et,It,Rt,Dt,Bt,Wt,Ft,Nt,jt,Zt,Ut,Vt,Ht,$t,qt,Gt,Yt,Kt,Jt,Xt,Qt=3.14159265358979,te=180/Qt,ee=Qt/180,ne=12/Qt,oe=Qt/12,ie=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"})(Et||(Et={})),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"}(It||(It={})),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"}(Rt||(Rt={})),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"}(Dt||(Dt={})),function(t){t[t["spherical"]=0]="spherical",t[t["rectangular"]=1]="rectangular",t[t["orbital"]=2]="orbital"}(Bt||(Bt={})),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"}(Ft||(Ft={})),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"}(Nt||(Nt={})),function(t){t[t["interval"]=0]="interval",t[t["conditionalGet"]=1]="conditionalGet",t[t["viewChange"]=2]="viewChange"}(jt||(jt={})),function(t){t[t["earth"]=0]="earth",t[t["planet"]=1]="planet",t[t["sky"]=2]="sky",t[t["panorama"]=3]="panorama"}(Zt||(Zt={})),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"}(Vt||(Vt={})),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"}(Ht||(Ht={})),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"}($t||($t={})),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"}(qt||(qt={})),function(t){t[t["hours"]=0]="hours",t[t["degrees"]=1]="degrees"}(Gt||(Gt={})),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"}(Yt||(Yt={})),function(t){t[t["fixedSherical"]=0]="fixedSherical",t[t["orbital"]=1]="orbital",t[t["trajectory"]=2]="trajectory",t[t["synodic"]=3]="synodic"}(Kt||(Kt={})),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"}(Jt||(Jt={})),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"}(Xt||(Xt={}));var re=r(415),ae=["astronomical","color","enabled","fadeSpan","name","opacity","opened","referenceFrame","version"];function se(t,e){var n,o;try{for(var i=zt(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}}}var le=function(){function t(t){se(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}(),ce=["colorMapperName","overrideDefaultLayer"];ae.concat(ce);function ue(t,e){var n="set_"+e[0],o=e[1];t[n](o)}function he(t,e){var n,o;se(t,e);try{for(var i=zt(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 de=function(t){function e(e){var n=t.call(this,e)||this;return he(e,n),n}return Pt(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}(le),pe=["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"];ae.concat(pe);function fe(t,e){var n="set_"+e[0],o=e[1];t[n](o)}function me(t,e){var n,o;se(t,e);try{for(var i=zt(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}}}var ge=function(t){function e(e){var n=t.call(this,e)||this;return me(e,n),n}return Pt(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}(le),ve=["id","label","opacity","showHoverLabel","tag"];function ye(t,e){var n,o;try{for(var i=zt(ve),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(){function t(t){ye(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}(),we=["fill","fillColor","lineColor","lineWidth","radius","skyRelative"];ve.concat(we);function be(t,e){var n,o;ye(t,e);try{for(var i=zt(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}}}(function(t){function e(e){var n=t.call(this,e)||this;return be(e,n),n}Pt(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}})(_e);var xe=["actualPlanetScale","constellationArtFilter","constellationBoundariesFilter","constellationFigureColor","constellationFiguresFilter","constellationBoundryColor","constellationNamesFilter","constellations","constellationSelectionColor","constellationsEnabled","crosshairsColor","earthCutawayView","galacticMode","localHorizonMode","locationAltitude","locationLat","locationLng","milkyWayModel","minorPlanetsFilter","planetOrbitsFilter","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 ke(t,e){var n,o;try{for(var i=zt(xe),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){ke(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 Se=["fill","fillColor","lineColor","lineWidth"];ve.concat(Se);function Ce(t,e){var n,o;ye(t,e);try{for(var i=zt(Se),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 Ce(e,n),n}Pt(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);var Te=["lineColor","lineWidth"];ve.concat(Te);function Pe(t,e){var n,o;ye(t,e);try{for(var i=zt(Te),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 Pe(e,n),n}Pt(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}})(_e);var Le=["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"];ae.concat(Le);function Ae(t,e){var n,o;se(t,e);try{for(var i=zt(Le),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 Ae(e,n),n}Pt(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}})(le);var Me={elId:"wwt",startInternalRenderLoop:!1,startLatDeg:0,startLngDeg:0,startZoomDeg:360,startMode:"Sky"},ze=function(){function t(t,e,n){this.payload=t,this.resolve=e,this.reject=n}return t}(),Oe=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=Lt(Lt({},Me),t);this.si=re.WWTControl.initControl6(n.elId,n.startInternalRenderLoop,n.startLatDeg,n.startLngDeg,n.startZoomDeg,n.startMode),this.ctl=re.WWTControl.singleton,this.lm=re.LayerManager,this.stc=re.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=zt(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=zt(e.arrivePromises),a=r.next();!a.done;a=r.next()){var s=a.value;s.payloadi?n("superseded"):t?e():o.arrivePromises.push(new ze(i,e,n))}))},t.prototype.gotoRADecZoom=function(t,e,n,o,i){return At(this,void 0,void 0,(function(){return Mt(this,(function(r){return this.ctl.gotoRADecZoom(t*ne,e*te,n,o,i),[2,this.makeArrivePromise(o)]}))}))},t.prototype.timeToRADecZoom=function(t,e,n,o){var i=this.ctl.timeToRADecZoom(t*ne,e*te,n,o);return i},t.prototype.gotoTarget=function(t){return At(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.loadImageCollection=function(t,e){return At(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=re.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 ze(t,e,n))}))])}))}))},t.prototype.addImageSetLayer=function(t){return At(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 re.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 re.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 re.ImageSetLayer)try{for(var i=zt(t.settings),r=i.next();!r.done;r=i.next()){var a=r.value;ue(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 re.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 re.SpreadSheetLayer)try{for(var i=zt(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.addCatalogHipsByName=function(t){return At(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 At(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 re.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()*ie),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 re.TourPlayer?this.ctl.uiController:null},t.prototype.getIsTourPlaying=function(t){return re.TourPlayer.get_playing()},t.prototype.loadTour=function(t){return At(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=zt(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 ze(e,t,n))}))]}))}))},t.prototype.loadAndPlayTour=function(t){return At(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=zt(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 ze(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=t){i=r-1;break}}i<0&&(i=0),e.playFromTourstop(o[i])}}},t}(),Ee=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=zt(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}(),Ie=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}(),Re=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 de(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 Be(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=zt(t.layers),l=s.next();!l.done;l=s.next()){var c=l.value;e.push(c.id.toString())}}catch(f){o={error:f}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}try{for(var u=zt(Object.entries(t.childMaps)),h=u.next();!h.done;h=u.next()){var d=Ot(h.value,2),p=(d[0],d[1]);n(p)}}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 We(){return re.WWTControl.getImageSets().map(Ie.fromImageset)}var Fe=kt("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=zt(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 re.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 re.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=re.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=re.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 re.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()*oe;this.raRad!=e&&(this.raRad=e);var n=t.si.getDec()*ee;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 At(this,void 0,void 0,(function(){var e,n,o,i,r;return Mt(this,(function(a){return re.WWTControl.singleton.createTour(t||""),e=re.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 At(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 At(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 At(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 At(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{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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},408:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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:.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},877:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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}.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},768:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>g});var o=n(933),i=n.n(o),r=n(476),a=n.n(r),s=n(678),l=n.n(s),c=new URL(n(934),n.b),u=new URL(n(993),n.b),h=new URL(n(994),n.b),d=a()(i()),p=l()(c),f=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(${p});width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(${f});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},745:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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},748:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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},426:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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},588:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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},168:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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},476: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;s0?" ".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}},678: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}},933:t=>{"use strict";t.exports=function(t){return t[1]}},344:function(t,e){ +(()=>{var t={7173:(t,e,n)=>{var o={"./2023-09-19-SDO-Sun.png":74,"./A.png":858,"./AnnularEclipseMap.png":9669,"./B.png":995,"./C.png":8487,"./eclipse.gif":7398,"./eclipse_static.gif":6421,"./giphy.webp":3276,"./moon-dark-gray-overlay.png":1670,"./moon-sky-blue-overlay.png":4068,"./moon.png":3909,"./video.mp4":567};function i(t){var e=r(t);return n(e)}function r(t){if(!n.o(o,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return o[t]}i.keys=function(){return Object.keys(o)},i.resolve=r,t.exports=i,i.id=7173},6320:function(t,e,n){(function(e,o){t.exports=o(n(8125),n(5294))})("undefined"!==typeof self&&self,((t,e)=>(()=>{var o={121:function(t,e,n){(function(e,o){t.exports=o(n(415),n(203))})("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:()=>Ie,SpreadSheetLayerInfo:()=>Re,WWTAwareComponent:()=>Ne,WWTComponent:()=>qe,engineStore:()=>Fe,wwtPinia:()=>Ge}),"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 p,f,m;function g(){var t;return void 0!==p||("undefined"!==typeof window&&window.performance?(p=!0,f=window.performance):"undefined"!==typeof r.g&&(null===(t=r.g.perf_hooks)||void 0===t?void 0:t.performance)?(p=!0,f=r.g.perf_hooks.performance):p=!1),p}function v(){return g()?f.now():Date.now()}class y{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 v()}},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 y(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(){E(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 M(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:""},O=(()=>/Macintosh/.test(z.userAgent)&&/AppleWebKit/.test(z.userAgent)&&!/Safari/.test(z.userAgent))(),E=S?"undefined"!==typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!O?I:"msSaveOrOpenBlob"in z?R:D:()=>{};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",M(o)):M(o)):(o.href=URL.createObjectURL(t),setTimeout((function(){URL.revokeObjectURL(o.href)}),4e4),setTimeout((function(){M(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(){M(e)}))}else navigator.msSaveOrOpenBlob(P(t,n),e)}function D(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||O)&&"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 B(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 W(t){return"_a"in t&&"install"in t}function F(){if(!("clipboard"in navigator))return B("Your browser doesn't support the Clipboard API","error"),!0}function N(t){return!!(t instanceof Error&&t.message.toLowerCase().includes("document is not focused"))&&(B('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0)}async function j(t){if(!F())try{await navigator.clipboard.writeText(JSON.stringify(t.state.value)),B("Global state copied to clipboard.")}catch(e){if(N(e))return;B("Failed to serialize the state. Check the console for more details.","error"),console.error(e)}}async function Z(t){if(!F())try{t.state.value=JSON.parse(await navigator.clipboard.readText()),B("Global state pasted from clipboard.")}catch(e){if(N(e))return;B("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(e)}}async function U(t){try{E(new Blob([JSON.stringify(t.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(e){B("Failed to export the state as JSON. Check the console for more details.","error"),console.error(e)}}let V;function H(){function t(){return new Promise(((t,e)=>{V.onchange=async()=>{const e=V.files;if(!e)return t(null);const n=e.item(0);return t(n?{text:await n.text(),file:n}:null)},V.oncancel=()=>t(null),V.onerror=e,V.click()}))}return V||(V=document.createElement("input"),V.type="file",V.accept=".json"),t}async function $(t){try{const e=await H(),n=await e();if(!n)return;const{text:o,file:i}=n;t.state.value=JSON.parse(o),B(`Global state imported from "${i.name}".`)}catch(e){B("Failed to export the state as JSON. Check the console for more details.","error"),console.error(e)}}function q(t){return{_custom:{display:t}}}const G="๐Ÿ Pinia (root)",Y="_root";function K(t){return W(t)?{id:Y,label:G}:{id:t.$id,label:t.$id}}function J(t){if(W(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 X(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 Q(t){switch(t){case k.direct:return"mutation";case k.patchFunction:return"$patch";case k.patchObject:return"$patch";default:return"unknown"}}let tt=!0;const et=[],nt="pinia:mutations",ot="pinia",it=t=>"๐Ÿ "+t;function rt(t,e){_({id:"dev.esm.pinia",label:"Pinia ๐Ÿ",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:et,app:t},(n=>{"function"!==typeof n.now&&B("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:nt,label:"Pinia ๐Ÿ",color:15064968}),n.addInspector({id:ot,label:"Pinia ๐Ÿ",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{j(e)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await Z(e),n.sendInspectorTree(ot),n.sendInspectorState(ot)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{U(e)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await $(e),n.sendInspectorTree(ot),n.sendInspectorState(ot)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:"Reset the state (option store only)",action:t=>{const n=e._s.get(t);n?n._isOptionsAPI?(n.$reset(),B(`Store "${t}" reset.`)):B(`Cannot reset "${t}" store because it's a setup store.`,"warn"):B(`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:it(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:it(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===ot){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()):G.toLowerCase().includes(n.filter.toLowerCase()))):t).map(K)}})),n.on.getInspectorState((n=>{if(n.app===t&&n.inspectorId===ot){const t=n.nodeId===Y?e:e._s.get(n.nodeId);if(!t)return;t&&(n.state=J(t))}})),n.on.editInspectorState(((n,o)=>{if(n.app===t&&n.inspectorId===ot){const t=n.nodeId===Y?e:e._s.get(n.nodeId);if(!t)return B(`store "${n.nodeId}" not found`,"error");const{path:o}=n;W(t)?o.unshift("state"):1===o.length&&t._customProperties.has(o[0])&&!(o[0]in t.$state)||o.unshift("$state"),tt=!1,n.set(t,o,n.state.value),tt=!0}})),n.on.editComponentState((t=>{if(t.type.startsWith("๐Ÿ")){const n=t.type.replace(/^๐Ÿ\s*/,""),o=e._s.get(n);if(!o)return B(`store "${n}" not found`,"error");const{path:i}=t;if("state"!==i[0])return B(`Invalid path for store "${n}":\n${i}\nOnly state can be modified.`);i[0]="$state",tt=!1,t.set(o,i,t.state.value),tt=!0}}))}))}function at(t,e){et.includes(it(e.$id))||et.push(it(e.$id)),_({id:"dev.esm.pinia",label:"Pinia ๐Ÿ",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:et,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=lt++;t.addTimelineEvent({layerId:nt,event:{time:n(),title:"๐Ÿ›ซ "+r,subtitle:"start",data:{store:q(e.$id),action:q(r),args:a},groupId:s}}),o((o=>{st=void 0,t.addTimelineEvent({layerId:nt,event:{time:n(),title:"๐Ÿ›ฌ "+r,subtitle:"end",data:{store:q(e.$id),action:q(r),args:a,result:o},groupId:s}})})),i((o=>{st=void 0,t.addTimelineEvent({layerId:nt,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(ot),tt&&t.addTimelineEvent({layerId:nt,event:{time:n(),title:"Change",subtitle:i,data:{newValue:e,oldValue:o},groupId:st}})}),{deep:!0})})),e.$subscribe((({events:o,type:i},r)=>{if(t.notifyComponentUpdate(),t.sendInspectorState(ot),!tt)return;const a={time:n(),title:Q(i),data:{store:q(e.$id),...X(o)},groupId:st};st=void 0,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:nt,event:a})}),{detached:!0,flush:"sync"});const i=e._hotUpdate;e._hotUpdate=(0,o.markRaw)((o=>{i(o),t.addTimelineEvent({layerId:nt,event:{time:n(),title:"๐Ÿ”ฅ "+e.$id,subtitle:"HMR update",data:{store:q(e.$id),info:q("HMR update")}}}),t.notifyComponentUpdate(),t.sendInspectorTree(ot),t.sendInspectorState(ot)}));const{$dispose:r}=e;e.$dispose=()=>{r(),t.notifyComponentUpdate(),t.sendInspectorTree(ot),t.sendInspectorState(ot),t.getSettings().logStoreChanges&&B(`Disposed "${e.$id}" store ๐Ÿ—‘`)},t.notifyComponentUpdate(),t.sendInspectorTree(ot),t.sendInspectorState(ot),t.getSettings().logStoreChanges&&B(`"${e.$id}" store installed ๐Ÿ†•`)}))}let st,lt=0;function ct(t,e){const n=e.reduce(((e,n)=>(e[n]=(0,o.toRaw)(t)[n],e)),{});for(const o in n)t[o]=function(){const e=lt,i=new Proxy(t,{get(...t){return st=e,Reflect.get(...t)},set(...t){return st=e,Reflect.set(...t)}});return n[o].apply(i,arguments)}}function ut({app:t,store:e,options:n}){if(!e.$id.startsWith("__hot:")){if(n.state&&(e._isOptionsAPI=!0),"function"===typeof n.state){ct(e,Object.keys(n.actions));const t=e._hotUpdate;(0,o.toRaw)(e)._hotUpdate=function(n){t.apply(this,arguments),ct(e,Object.keys(n._hmrPayload.actions))}}at(t,e)}}function ht(){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&&rt(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(ut),a}const dt=()=>{};function pt(t,e,n,i=dt){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 ft(t,...e){t.slice().forEach((t=>{t(...e)}))}function mt(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]=mt(r,i):t[n]=i}return t}const gt=Symbol(),vt=new WeakMap;function yt(t){return i?!vt.has(t):!x(t)||!t.hasOwnProperty(gt)}const{assign:_t}=Object;function wt(t){return!(!(0,o.isRef)(t)||!t.effect)}function bt(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 _t(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=xt(t,d,e,n,r,!0),h.$reset=function(){const t=a?a():{};this.$patch((e=>{_t(e,t)}))},h}function xt(t,e,n={},r,a,l){let c;const u=_t({actions:{}},n);const h={deep:!0};let d,p;let f,m=(0,o.markRaw)([]),g=(0,o.markRaw)([]);const v=r.state.value[t];l||v||(i?s(r.state.value,t,{}):r.state.value[t]={});const y=(0,o.ref)({});let _;function b(e){let n;d=p=!1,"function"===typeof e?(e(r.state.value[t]),n={type:k.patchFunction,storeId:t,events:f}):(mt(r.state.value[t],e),n={type:k.patchObject,payload:e,storeId:t,events:f});const i=_=Symbol();(0,o.nextTick)().then((()=>{_===i&&(d=!0)})),p=!0,ft(m,n,r.state.value[t])}const x=dt;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;ft(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 ft(a,u),u}return c instanceof Promise?c.then((t=>(ft(i,t),t))).catch((t=>(ft(a,t),Promise.reject(t)))):(ft(i,c),c)}}const P=(0,o.markRaw)({actions:{},getters:{},state:[],hotState:y}),L={_p:r,$id:t,$onAction:pt.bind(null,g),$patch:b,$reset:x,$subscribe(e,n={}){const i=pt(m,e,n.detached,(()=>a())),a=c.run((()=>(0,o.watch)((()=>r.state.value[t]),(o=>{("sync"===n.flush?p:d)&&e({storeId:t,type:k.direct,events:f},o)}),_t({},h,n))));return i},$dispose:S};i&&(L._r=!1);const A=(0,o.reactive)(C?_t({_hmrPayload:P,_customProperties:(0,o.markRaw)(new Set)},L):L);r._s.set(t,A);const M=r._e.run((()=>(c=(0,o.effectScope)(),c.run((()=>e())))));for(const w in M){const e=M[w];if((0,o.isRef)(e)&&!wt(e)||(0,o.isReactive)(e))l||(v&&yt(e)&&((0,o.isRef)(e)?e.value=v[w]:mt(e,v[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(M,w,t):M[w]=t,u.actions[w]=e}else 0}if(i?Object.keys(M).forEach((t=>{s(A,t,M[t])})):(_t(A,M),_t((0,o.toRaw)(A),M)),Object.defineProperty(A,"$state",{get:()=>r.state.value[t],set:t=>{b((e=>{_t(e,t)}))}}),C){const t={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach((e=>{Object.defineProperty(A,e,{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))),_t(A,e)}else _t(A,c.run((()=>t({store:A,app:r._a,pinia:r,options:u}))))})),v&&l&&n.hydrate&&n.hydrate(A.$state,v),d=!0,p=!0,A}function kt(t,e,n){let i,r;const a="function"===typeof e;function s(t,n){const s=(0,o.getCurrentInstance)();t=t||s&&(0,o.inject)(b,null),t&&w(t),t=m,t._s.has(i)||(a?xt(i,e,r,t):bt(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 St(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 Ct(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 Tt=function(t,e){return Tt=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])},Tt(t,e)};function Pt(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}Tt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Lt=function(){return Lt=Object.assign||function(t){for(var e,n=1,o=arguments.length;n0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]=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 Ot(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;var Et,It,Rt,Dt,Bt,Wt,Ft,Nt,jt,Zt,Ut,Vt,Ht,$t,qt,Gt,Yt,Kt,Jt,Xt,Qt=3.14159265358979,te=180/Qt,ee=Qt/180,ne=12/Qt,oe=Qt/12,ie=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"})(Et||(Et={})),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"}(It||(It={})),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"}(Rt||(Rt={})),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"}(Dt||(Dt={})),function(t){t[t["spherical"]=0]="spherical",t[t["rectangular"]=1]="rectangular",t[t["orbital"]=2]="orbital"}(Bt||(Bt={})),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"}(Ft||(Ft={})),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"}(Nt||(Nt={})),function(t){t[t["interval"]=0]="interval",t[t["conditionalGet"]=1]="conditionalGet",t[t["viewChange"]=2]="viewChange"}(jt||(jt={})),function(t){t[t["earth"]=0]="earth",t[t["planet"]=1]="planet",t[t["sky"]=2]="sky",t[t["panorama"]=3]="panorama"}(Zt||(Zt={})),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"}(Vt||(Vt={})),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"}(Ht||(Ht={})),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"}($t||($t={})),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"}(qt||(qt={})),function(t){t[t["hours"]=0]="hours",t[t["degrees"]=1]="degrees"}(Gt||(Gt={})),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"}(Yt||(Yt={})),function(t){t[t["fixedSherical"]=0]="fixedSherical",t[t["orbital"]=1]="orbital",t[t["trajectory"]=2]="trajectory",t[t["synodic"]=3]="synodic"}(Kt||(Kt={})),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"}(Jt||(Jt={})),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"}(Xt||(Xt={}));var re=r(415),ae=["astronomical","color","enabled","fadeSpan","name","opacity","opened","referenceFrame","version"];function se(t,e){var n,o;try{for(var i=zt(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}}}var le=function(){function t(t){se(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}(),ce=["colorMapperName","overrideDefaultLayer"];ae.concat(ce);function ue(t,e){var n="set_"+e[0],o=e[1];t[n](o)}function he(t,e){var n,o;se(t,e);try{for(var i=zt(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 de=function(t){function e(e){var n=t.call(this,e)||this;return he(e,n),n}return Pt(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}(le),pe=["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"];ae.concat(pe);function fe(t,e){var n="set_"+e[0],o=e[1];t[n](o)}function me(t,e){var n,o;se(t,e);try{for(var i=zt(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}}}var ge=function(t){function e(e){var n=t.call(this,e)||this;return me(e,n),n}return Pt(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}(le),ve=["id","label","opacity","showHoverLabel","tag"];function ye(t,e){var n,o;try{for(var i=zt(ve),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(){function t(t){ye(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}(),we=["fill","fillColor","lineColor","lineWidth","radius","skyRelative"];ve.concat(we);function be(t,e){var n,o;ye(t,e);try{for(var i=zt(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}}}(function(t){function e(e){var n=t.call(this,e)||this;return be(e,n),n}Pt(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}})(_e);var xe=["actualPlanetScale","constellationArtFilter","constellationBoundariesFilter","constellationFigureColor","constellationFiguresFilter","constellationBoundryColor","constellationNamesFilter","constellations","constellationSelectionColor","constellationsEnabled","crosshairsColor","earthCutawayView","galacticMode","localHorizonMode","locationAltitude","locationLat","locationLng","milkyWayModel","minorPlanetsFilter","planetOrbitsFilter","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 ke(t,e){var n,o;try{for(var i=zt(xe),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){ke(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 Se=["fill","fillColor","lineColor","lineWidth"];ve.concat(Se);function Ce(t,e){var n,o;ye(t,e);try{for(var i=zt(Se),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 Ce(e,n),n}Pt(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);var Te=["lineColor","lineWidth"];ve.concat(Te);function Pe(t,e){var n,o;ye(t,e);try{for(var i=zt(Te),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 Pe(e,n),n}Pt(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}})(_e);var Le=["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"];ae.concat(Le);function Ae(t,e){var n,o;se(t,e);try{for(var i=zt(Le),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 Ae(e,n),n}Pt(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}})(le);var Me={elId:"wwt",startInternalRenderLoop:!1,startLatDeg:0,startLngDeg:0,startZoomDeg:360,startMode:"Sky"},ze=function(){function t(t,e,n){this.payload=t,this.resolve=e,this.reject=n}return t}(),Oe=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=Lt(Lt({},Me),t);this.si=re.WWTControl.initControl6(n.elId,n.startInternalRenderLoop,n.startLatDeg,n.startLngDeg,n.startZoomDeg,n.startMode),this.ctl=re.WWTControl.singleton,this.lm=re.LayerManager,this.stc=re.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=zt(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=zt(e.arrivePromises),a=r.next();!a.done;a=r.next()){var s=a.value;s.payloadi?n("superseded"):t?e():o.arrivePromises.push(new ze(i,e,n))}))},t.prototype.gotoRADecZoom=function(t,e,n,o,i){return At(this,void 0,void 0,(function(){return Mt(this,(function(r){return this.ctl.gotoRADecZoom(t*ne,e*te,n,o,i),[2,this.makeArrivePromise(o)]}))}))},t.prototype.timeToRADecZoom=function(t,e,n,o){var i=this.ctl.timeToRADecZoom(t*ne,e*te,n,o);return i},t.prototype.gotoTarget=function(t){return At(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.loadImageCollection=function(t,e){return At(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=re.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 ze(t,e,n))}))])}))}))},t.prototype.addImageSetLayer=function(t){return At(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 re.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 re.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 re.ImageSetLayer)try{for(var i=zt(t.settings),r=i.next();!r.done;r=i.next()){var a=r.value;ue(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 re.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 re.SpreadSheetLayer)try{for(var i=zt(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.addCatalogHipsByName=function(t){return At(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 At(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 re.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()*ie),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 re.TourPlayer?this.ctl.uiController:null},t.prototype.getIsTourPlaying=function(t){return re.TourPlayer.get_playing()},t.prototype.loadTour=function(t){return At(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=zt(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 ze(e,t,n))}))]}))}))},t.prototype.loadAndPlayTour=function(t){return At(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=zt(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 ze(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=t){i=r-1;break}}i<0&&(i=0),e.playFromTourstop(o[i])}}},t}(),Ee=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=zt(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}(),Ie=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}(),Re=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 de(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 Be(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=zt(t.layers),l=s.next();!l.done;l=s.next()){var c=l.value;e.push(c.id.toString())}}catch(f){o={error:f}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}try{for(var u=zt(Object.entries(t.childMaps)),h=u.next();!h.done;h=u.next()){var d=Ot(h.value,2),p=(d[0],d[1]);n(p)}}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 We(){return re.WWTControl.getImageSets().map(Ie.fromImageset)}var Fe=kt("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=zt(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 re.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 re.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=re.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=re.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 re.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()*oe;this.raRad!=e&&(this.raRad=e);var n=t.si.getDec()*ee;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 At(this,void 0,void 0,(function(){var e,n,o,i,r;return Mt(this,(function(a){return re.WWTControl.singleton.createTour(t||""),e=re.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 At(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 At(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 At(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 At(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{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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},408:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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:.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},877:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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}.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},768:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>g});var o=n(933),i=n.n(o),r=n(476),a=n.n(r),s=n(678),l=n.n(s),c=new URL(n(934),n.b),u=new URL(n(993),n.b),h=new URL(n(994),n.b),d=a()(i()),p=l()(c),f=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(${p});width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(${f});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},745:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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},748:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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},426:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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},588:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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},879:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var o=n(933),i=n.n(o),r=n(476),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},476: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;s0?" ".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}},678: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}},933:t=>{"use strict";t.exports=function(t){return t[1]}},344:function(t,e){ /* @preserve * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade */ -(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;n0?Math.floor(t):Math.ceil(t)};function R(t,e,n){return t instanceof E?t:v(t)?new E(t[0],t[1]):void 0===t||null===t?t:"object"===typeof t&&"x"in t&&"y"in t?new E(t.x,t.y):new E(t,e,n)}function D(t,e){if(t)for(var n=e?[t,e]:t,o=0,i=n.length;o=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=B(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=B(t);var e=this.min,n=this.max,o=t.min,i=t.max,r=i.x>e.x&&o.xe.y&&o.y=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.late.lng&&o.lng1,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}(),Mt=!(!document.createElementNS||!K("svg").createSVGRect),zt=!!Mt&&function(){var t=document.createElement("div");return t.innerHTML="","http://www.w3.org/2000/svg"===(t.firstChild&&t.firstChild.namespaceURI)}(),Ot=!Mt&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"===typeof e.adj}catch(n){return!1}}(),Et=0===navigator.platform.indexOf("Mac"),It=0===navigator.platform.indexOf("Linux");function Rt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Dt={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:pt,ie3d:ft,webkit3d:mt,gecko3d:gt,any3d:vt,mobile:yt,mobileWebkit:_t,mobileWebkit3d:wt,msPointer:bt,pointer:xt,touch:St,touchNative:kt,mobileOpera:Ct,mobileGecko:Tt,retina:Pt,passiveEvents:Lt,canvas:At,svg:Mt,vml:Ot,inlineSvg:zt,mac:Et,linux:It},Bt=Dt.msPointer?"MSPointerDown":"pointerdown",Wt=Dt.msPointer?"MSPointerMove":"pointermove",Ft=Dt.msPointer?"MSPointerUp":"pointerup",Nt=Dt.msPointer?"MSPointerCancel":"pointercancel",jt={touchstart:Bt,touchmove:Wt,touchend:Ft,touchcancel:Nt},Zt={touchstart:Xt,touchmove:Jt,touchend:Jt,touchcancel:Jt},Ut={},Vt=!1;function Ht(t,e,n){return"touchstart"===e&&Kt(),Zt[e]?(n=Zt[e].bind(this,n),t.addEventListener(jt[e],n,!1),n):(console.warn("wrong event specified:",e),c)}function $t(t,e,n){jt[e]?t.removeEventListener(jt[e],n,!1):console.warn("wrong event specified:",e)}function qt(t){Ut[t.pointerId]=t}function Gt(t){Ut[t.pointerId]&&(Ut[t.pointerId]=t)}function Yt(t){delete Ut[t.pointerId]}function Kt(){Vt||(document.addEventListener(Bt,qt,!0),document.addEventListener(Wt,Gt,!0),document.addEventListener(Ft,Yt,!0),document.addEventListener(Nt,Yt,!0),Vt=!0)}function Jt(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var n in e.touches=[],Ut)e.touches.push(Ut[n]);e.changedTouches=[e],t(e)}}function Xt(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&qe(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 pe(t,e,n){var o=document.createElement(t);return o.className=e||"",n&&n.appendChild(o),o}function fe(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 ve(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ye(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;o0?2*window.devicePixelRatio:1;function Xe(t){return Dt.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Je:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function 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:Be,off:Fe,stopPropagation:Ve,disableScrollPropagation:He,disableClickPropagation:$e,preventDefault:qe,stop:Ge,getPropagationPath:Ye,getMousePosition:Ke,getWheelDelta:Xe,isExternalTarget:Qe,addListener:Be,removeListener:Fe},en=O.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;ethis.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=B([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 N(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(),fe(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)fe(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=pe("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 W(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=B(this.project(s,o),this.project(a,o)).getSize(),u=Dt.any3d?this.options.zoomSnap:1,h=l.x/c.x,d=l.y/c.y,p=e?Math.max(h,d):Math.min(h,d);return o=this.getScaleZoom(p,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 E(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 D(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(j(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(j(t))._round();return e._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(j(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(F(t))},distance:function(t,e){return this.options.crs.distance(j(t),j(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(j(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.");Be(e,"scroll",this._onScroll,this),this._containerId=a(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&Dt.any3d,_e(t,"leaflet-container"+(Dt.touch?" leaflet-touch":"")+(Dt.retina?" leaflet-retina":"")+(Dt.ielt9?" leaflet-oldie":"")+(Dt.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=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 E(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 E(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:Be;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),Dt.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){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&&Oe(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;s0?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=Dt.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=pe("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(){fe(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){p(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?(fe(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=pe("div",e+"control-container",this._container);function o(o,i){var r=e+o+" "+e+i;t[o+i]=pe("div",r,n)}o("top","left"),o("top","right"),o("bottom","left"),o("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)fe(this._controlCorners[t]);fe(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 n1,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='",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),Be(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=0;i--)t=n[i],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&oe.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,Be(t,"click",qe),this.expand();var e=this;setTimeout((function(){Fe(t,"click",qe),e._preventClick=!1}))}}),ln=function(t,e,n){return new sn(t,e,n)},cn=rn.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=pe("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._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,o,i){var r=pe("a",n,o);return r.innerHTML=t,r.href="#",r.title=e,r.setAttribute("role","button"),r.setAttribute("aria-label",e),$e(r),Be(r,"click",Ge),Be(r,"click",i,this),Be(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=pe("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=pe("div",e,n)),t.imperial&&(this._iScale=pe("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)},pn='',fn=rn.extend({options:{position:"bottomright",prefix:''+(Dt.inlineSvg?pn+" ":"")+"Leaflet"},initialize:function(t){p(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=pe("div","leaflet-control-attribution"),$e(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(' ')}}});nn.mergeOptions({attributionControl:!0}),nn.addInitHook((function(){this.options.attributionControl&&(new fn).addTo(this)}));var mn=function(t){return new fn(t)};rn.Layers=sn,rn.Zoom=cn,rn.Scale=hn,rn.Attribution=fn,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 vn={Events:z},yn=Dt.touch?"touchstart mousedown":"mousedown",_n=O.extend({options:{clickTolerance:3},initialize:function(t,e,n,o){p(this,o),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(Be(this._dragStartTarget,yn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(_n._dragging===this&&this.finishDrag(!0),Fe(this._dragStartTarget,yn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!ye(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&&Oe(this._element),Me(),oe(),!this._moving)){this.fire("down");var e=t.touches?t.touches[0]:t,n=Ie(this._element);this._startPoint=new E(e.clientX,e.clientY),this._startPos=Le(this._element),this._parentScale=Re(n);var o="mousedown"===t.type;Be(document,o?"mousemove":"touchmove",this._onMove,this),Be(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 E(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)l&&(r=a,l=s);l>n&&(e[r]=1,An(t,e,n,o,r),An(t,e,n,r,i))}function Mn(t,e){for(var n=[t[0]],o=1,i=0,r=t.length;oe&&(n.push(t[o]),i=o);return ie.max.x&&(n|=2),t.ye.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 E(r,a)}function Dn(t){return!v(t[0])||"object"!==typeof t[0][0]&&"undefined"!==typeof t[0][0]}function Bn(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Dn(t)}function Wn(t,e){var n,o,i,r,a,s,l,c;if(!t||0===t.length)throw new Error("latlngs not passed");Dn(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var u=j([0,0]),h=F(t),d=h.getNorthWest().distanceTo(h.getSouthWest())*h.getNorthEast().distanceTo(h.getNorthWest());d<1700&&(u=xn(t));var p=t.length,f=[];for(n=0;no){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 j([g.lat+u.lat,g.lng+u.lng])}var Fn={__proto__:null,simplify:Cn,pointToSegmentDistance:Tn,closestPointOnSegment:Pn,clipSegment:zn,_getEdgeIntersection:On,_getBitCode:En,_sqClosestPointOnSegment:Rn,isFlat:Dn,_flat:Bn,polylineCenter:Wn},Nn={project:function(t){return new E(t.lng,t.lat)},unproject:function(t){return new N(t.y,t.x)},bounds:new D([-180,-90],[180,90])},jn={R:6378137,R_MINOR:6356752.314245179,bounds:new D([-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 E(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 N(s*n,t.x*n/o)}},Zn={__proto__:null,LonLat:Nn,Mercator:jn,SphericalMercator:H},Un=n({},U,{code:"EPSG:3395",projection:jn,transformation:function(){var t=.5/(Math.PI*jn.R);return q(t,.5,-t,.5)}()}),Vn=n({},U,{code:"EPSG:4326",projection:Nn,transformation:q(1/180,1,-1/180,.5)}),Hn=n({},Z,{projection:Nn,transformation:q(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=U,Z.EPSG3395=Un,Z.EPSG3857=G,Z.EPSG900913=Y,Z.EPSG4326=Vn,Z.Simple=Hn;var $n=O.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?v(t)?t:[t]:[];for(var e=0,n=t.length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()=2&&e[0]instanceof N&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){lo.prototype._setLatLngs.call(this,t),Dn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Dn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new E(e,e);if(t=new D(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;it.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 po=Yn.extend({initialize:function(t,e){p(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,o,i=v(t)?t:t.features;if(i){for(e=0,n=i.length;e0&&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:yo(this.getLatLng(),t)})}};function ko(t,e){return new po(t,e)}eo.include(xo),ao.include(xo),io.include(xo),lo.include({toGeoJSON:function(t){var e=!Dn(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=!Dn(this._latlngs),n=e&&!Dn(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})}}),qn.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=$n.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),p(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(){fe(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&&ve(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:pe("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 D(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:pe("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;r0?o:[e.src]}else{v(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;ai?(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 E(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])}}),Eo=function(t,e){return new Oo(t,e)};nn.mergeOptions({closePopupOnClick:!0}),nn.include({openPopup:function(t,e,n){return this._initOverlay(Oo,t,e,n).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),$n.include({bindPopup:function(t,e){return this._popup=this._initOverlay(Oo,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){Ge(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=pe("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.xthis.options.maxZoom||no&&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 E(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+1this.options.maxZoom||void 0!==this.options.minZoom&&i1)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 p=new E(d,h);if(p.z=this._tileZoom,this._isValidTile(p)){var f=this._tiles[this._tileCoordsToKey(p)];f?f.current=!0:a.push(p)}}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;dn.max.x)||!e.wrapLat&&(t.yn.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 W(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 E(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(fe(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,Dt.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"),Dt.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 E(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 D(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 Wo(t)}var No=Wo.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=p(this,e),e.detectRetina&&Dt.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 Be(n,"load",i(this._tileOnLoad,this,e,n)),Be(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:Dt.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var 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){Dt.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;fe(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",_),Wo.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==_))return Wo.prototype._tileReady.call(this,t,e,n)}});function jo(t,e){return new No(t,e)}var Zo=No.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=p(this,e);var r=e.detectRetina&&Dt.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,No.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,o=B(n.project(e[0]),n.project(e[1])),i=o.min,r=o.max,a=(this._wmsVersion>=1.3&&this._crs===Vn?[i.y,i.x,r.y,r.x]:[i.x,i.y,r.x,r.y]).join(","),s=No.prototype.getTileUrl.call(this,t);return s+f(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 Uo(t,e){return new Zo(t,e)}No.WMS=Zo,jo.wms=Uo;var Vo=$n.extend({options:{padding:.1},initialize:function(t){p(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));Dt.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 D(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Ho=Vo.extend({options:{tolerance:0},getEvents:function(){var t=Vo.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Vo.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Be(t,"mousemove",this._onMouseMove,this),Be(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Be(t,"mouseout",this._handleMouseOut,this),t["_leaflet_disable_events"]=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){T(this._redrawRequest),delete this._ctx,fe(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){Vo.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),o=Dt.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",Dt.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){Vo.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')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Go={_initContainer:function(){this._container=pe("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Vo.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=qo("shape");_e(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=qo("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;fe(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=qo("stroke")),i.appendChild(e),e.weight=o.weight+"px",e.color=o.color,e.opacity=o.opacity,o.dashArray?e.dashStyle=v(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=qo("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){ve(t._container)}},Yo=Dt.vml?qo:K,Ko=Vo.extend({_initContainer:function(){this._container=Yo("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Yo("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){fe(this._container),Fe(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){Vo.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){fe(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){ve(t._path)}});function Jo(t){return Dt.svg||Dt.vml?new Ko(t):null}Dt.vml&&Ko.include(Go),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&&$o(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,po.geometryToLayer=fo,po.coordsToLatLng=go,po.coordsToLatLngs=vo,po.latLngToCoords=yo,po.latLngsToCoords=_o,po.getFeature=wo,po.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(){Be(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Fe(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){fe(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(),Me(),this._startPoint=this._map.mouseEventToContainerPoint(t),Be(document,{contextmenu:Ge,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=pe("div","leaflet-zoom-box",this._container),_e(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new D(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&&(fe(this._box),we(this._container,"leaflet-crosshair")),ie(),ze(),Fe(document,{contextmenu:Ge,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 W(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=B(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.xe.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)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:Dt.touchNative&&Dt.safari&&Dt.mobile,tapTolerance:15});var ai=gn.extend({addHooks:function(){Be(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 E(e.clientX,e.clientY),this._holdTimeout=setTimeout(i((function(){this._cancel(),this._isTapValid()&&(Be(document,"touchend",qe),Be(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))}),this),ri),Be(document,"touchend touchcancel contextmenu",this._cancel,this),Be(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){Fe(document,"touchend",qe),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 E(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:Dt.touch,bounceAtZoomLimits:!0});var si=gn.extend({addHooks:function(){_e(this._map._container,"leaflet-touch-zoom"),Be(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(),Be(document,"touchmove",this._onTouchMove,this),Be(document,"touchend touchcancel",this._onTouchEnd,this),qe(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._zoome.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),qe(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=D,t.Browser=Dt,t.CRS=Z,t.Canvas=Ho,t.Circle=ao,t.CircleMarker=io,t.Class=A,t.Control=rn,t.DivIcon=Do,t.DivOverlay=zo,t.DomEvent=tn,t.DomUtil=De,t.Draggable=_n,t.Evented=O,t.FeatureGroup=Yn,t.GeoJSON=po,t.GridLayer=Wo,t.Handler=gn,t.Icon=Jn,t.ImageOverlay=Co,t.LatLng=N,t.LatLngBounds=W,t.Layer=$n,t.LayerGroup=qn,t.LineUtil=Fn,t.Map=nn,t.Marker=eo,t.Mixin=vn,t.Path=oo,t.Point=E,t.PolyUtil=Sn,t.Polygon=uo,t.Polyline=lo,t.Popup=Oo,t.PosAnimation=en,t.Projection=Zn,t.Rectangle=Xo,t.Renderer=Vo,t.SVG=Ko,t.SVGOverlay=Ao,t.TileLayer=No,t.Tooltip=Io,t.Transformation=$,t.Util=P,t.VideoOverlay=Po,t.bind=i,t.bounds=B,t.canvas=$o,t.circle=so,t.circleMarker=ro,t.control=an,t.divIcon=Bo,t.extend=n,t.featureGroup=Kn,t.geoJSON=ko,t.geoJson=So,t.gridLayer=Fo,t.icon=Xn,t.imageOverlay=To,t.latLng=j,t.latLngBounds=F,t.layerGroup=Gn,t.map=on,t.marker=no,t.point=R,t.polygon=ho,t.polyline=co,t.popup=Eo,t.rectangle=Qo,t.setOptions=p,t.stamp=a,t.svg=Jo,t.svgOverlay=Mo,t.tileLayer=jo,t.tooltip=Ro,t.transformation=q,t.version=e,t.videoOverlay=Lo;var li=window.L;t.noConflict=function(){return window.L=li,this},window.L=t}))},959:(t,e)=>{"use strict";e.Z=(t,e)=>{const n=t.__vccOpts||t;for(const[o,i]of e)n[o]=i;return n}},906:(t,e,n)=>{var o=n(478);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("6b2620b5",o,!0,{sourceMap:!1,shadowMode:!1})},447:(t,e,n)=>{var o=n(408);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("a260ae6c",o,!0,{sourceMap:!1,shadowMode:!1})},561:(t,e,n)=>{var o=n(877);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("563ac097",o,!0,{sourceMap:!1,shadowMode:!1})},830:(t,e,n)=>{var o=n(768);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("79bfa33b",o,!0,{sourceMap:!1,shadowMode:!1})},727:(t,e,n)=>{var o=n(745);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("efd732c2",o,!0,{sourceMap:!1,shadowMode:!1})},860:(t,e,n)=>{var o=n(748);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("77fdcfa0",o,!0,{sourceMap:!1,shadowMode:!1})},747:(t,e,n)=>{var o=n(426);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("3c2fe26d",o,!0,{sourceMap:!1,shadowMode:!1})},17:(t,e,n)=>{var o=n(588);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("4cb0c4a6",o,!0,{sourceMap:!1,shadowMode:!1})},760:(t,e,n)=>{var o=n(168);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("7bb2579e",o,!0,{sourceMap:!1,shadowMode:!1})},410:(t,e,n)=>{"use strict";function o(t,e){for(var n=[],o={},i=0;if});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",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,n,i){c=n,h=i||{};var a=o(t,e);return m(a),function(e){for(var n=[],i=0;in.parts.length&&(o.parts.length=n.parts.length)}else{var a=[];for(i=0;i{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsY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cFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII="},415:t=>{"use strict";t.exports=e},203:e=>{"use strict";e.exports=t}},i={};function r(t){var e=i[t];if(void 0!==e)return e.exports;var n=i[t]={id:t,exports:{}};return o[t].call(n.exports,n,n.exports,r),n.exports}r.m=o,(()=>{r.n=t=>{var e=t&&t.__esModule?()=>t["default"]:()=>t;return r.d(e,{a:e}),e}})(),(()=>{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=""})(),(()=>{r.b=document.baseURI||self.location.href})();var a={};return(()=>{"use strict";if(r.r(a),r.d(a,{API_BASE_URL:()=>Nl,BackgroundImageset:()=>rl,D2R:()=>Wl,DefaultMiniCredits:()=>Qs,FundingAcknowledgment:()=>il,Gallery:()=>Bl,IconButton:()=>gs,KeyboardControlSettings:()=>d,LocationSelector:()=>$s,MINIDS_BASE_URL:()=>jl,MiniDSBase:()=>b,R2D:()=>Fl,skyBackgroundImagesets:()=>al}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(r.p=e[1])}var o=function(){return o=Object.assign||function(t){for(var e,n=1,o=arguments.length;n0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]=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 c(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 u(t,e,n){if(n||2===arguments.length)for(var o,i=0,r=e.length;i{if("undefined"===typeof document)return!1;const t=m[0],e={};for(const n of m){const o=n?.[1];if(o in document){for(const[o,i]of n.entries())e[t[o]]=i;return e}}return!1})(),v={change:g.fullscreenchange,error:g.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[g.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[g.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=v[t];n&&document.addEventListener(n,e,!1)},off(t,e){const n=v[t];n&&document.removeEventListener(n,e,!1)},raw:g};Object.defineProperties(y,{isFullscreen:{get:()=>Boolean(document[g.fullscreenElement])},element:{enumerable:!0,get:()=>document[g.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>Boolean(document[g.fullscreenEnabled])}}),g||(y={isEnabled:!1});const _=y;var w={width:1200,height:900};const b=(0,p.defineComponent)({extends:f.WWTAwareComponent,props:{kcs:{type:d,default:new d({})}},data:function(){return{fullscreenModeActive:!1,resizeObserver:null,touchscreen:!1,windowShape:w}},created:function(){this.touchscreen="ontouchstart"in window||"ontouchstart"in document.documentElement||!!window.navigator.msPointerEnabled},mounted:function(){var t=this;_.isEnabled&&_.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;_.isEnabled&&_.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(){_.isEnabled&&(this.fullscreenModeActive=_.isFullscreen)},onResizeEvent:function(){var t=this.$el.clientWidth,e=this.$el.clientHeight;this.windowShape=t>0&&e>0?{width:t,height:e}:w},blurActiveElement:function(){var t=document.activeElement;t instanceof HTMLElement&&t.blur()}},computed:{fullscreenAvailable:function(){return _.isEnabled}}});var x=["id"];function k(t,e,n,o,i,r){var a=(0,p.resolveComponent)("font-awesome-icon"),s=(0,p.resolveComponent)("v-icon"),l=(0,p.resolveComponent)("v-tooltip");return(0,p.openBlock)(),(0,p.createBlock)(l,{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,p.withCtx)((function(n){var o=n.props;return[(0,p.createElementVNode)("div",(0,p.mergeProps)(o,{id:t.buttonID,class:["icon-wrapper",{active:t.modelValue}],onClick:e[0]||(e[0]=function(){for(var e=[],n=0;ne.length?e((()=>{n?.stop(),o()})):e()))}(0,p.watch)(t,(t=>{t&&!n?o():t||(n?.stop(),n=void 0)}),{immediate:!0}),(0,p.onScopeDispose)((()=>{n?.stop()}))}function C(t,e){return{x:t.x+e.x,y:t.y+e.y}}function T(t,e){return{x:t.x-e.x,y:t.y-e.y}}function P(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 C({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 C({x:i,y:r},e)}return C({x:e.width/2,y:e.height/2},e)}function L(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 A="undefined"!==typeof window;A&&window,A&&("ontouchstart"in window||window.navigator.maxTouchPoints);class M{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 z(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){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 M(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,p=a?e.height/a:t.offsetHeight+1;return new M({x:u,y:h,width:d,height:p})}return new M(e)}function E(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 D(t){return null!==t&&"object"===typeof t&&!Array.isArray(t)}function B(t){return t&&"$el"in t?t.$el: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 W(t,e){return e.every((e=>t.hasOwnProperty(e)))}function F(t,e,n){const o=Object.create(null),i=Object.create(null);for(const r in t)e.some((t=>t instanceof RegExp?t.test(r):t===r))&&!n?.some((t=>t===r))?o[r]=t[r]:i[r]=t[r];return[o,i]}function N(t,e){const n={...t};return e.forEach((t=>delete n[t])),n}const j=/^on[^a-z]/,Z=t=>j.test(t);function U(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 V(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 H(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=[];let o=0;while(o0&&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];D(r)&&D(a)?o[i]=$(r,a,n):Array.isArray(r)&&Array.isArray(a)&&n?o[i]=n(r,a):o[i]=a}return o}function q(t){return t.map((t=>t.type===p.Fragment?q(t.children):t)).flat()}function G(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(G.cache.has(t))return G.cache.get(t);const e=t.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return G.cache.set(t,e),e}G.cache=new Map;function Y(t){const e=(0,p.reactive)({}),n=(0,p.computed)(t);return(0,p.watchEffect)((()=>{for(const t in n.value)e[t]=n.value[t]}),{flush:"sync"}),(0,p.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=A&&"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}}const Q=["top","bottom"],tt=["start","end","left","right"];function et(t,e){let[n,o]=t.split(" ");return o||(o=K(Q,n)?"start":K(tt,n)?"top":"center"),{side:nt(n,e),align:nt(o,e)}}function nt(t,e){return"start"===t?e?"right":"left":"end"===t?e?"left":"right":t}function ot(t){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.side],align:t.align}}function it(t){return{side:t.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.align]}}function rt(t){return{side:t.align,align:t.side}}function at(t){return K(Q,t.side)?"y":"x"}function st(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];while(t){if(e?ut(t):ct(t))return t;t=t.parentElement}return document.scrollingElement}function lt(t,e){const n=[];if(e&&t&&!e.contains(t))return n;while(t){if(ct(t)&&n.push(t),t===e)break;t=t.parentElement}return n}function ct(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 ut(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return["scroll","auto"].includes(e.overflowY)}function ht(t){(0,p.warn)(`Vuetify: ${t}`)}function dt(t){(0,p.warn)(`Vuetify error: ${t}`)}const pt={static:gt,connected:yt},ft=L({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 mt(t,e){const n=(0,p.ref)({}),o=(0,p.ref)();function i(t){o.value?.(t)}return A&&(S((()=>!(!e.isActive.value||!t.locationStrategy)),(i=>{(0,p.watch)((()=>t.locationStrategy),i),(0,p.onScopeDispose)((()=>{o.value=void 0})),"function"===typeof t.locationStrategy?o.value=t.locationStrategy(e,t,n)?.updateLocation:o.value=pt[t.locationStrategy](e,t,n)?.updateLocation})),window.addEventListener("resize",i,{passive:!0}),(0,p.onScopeDispose)((()=>{window.removeEventListener("resize",i),o.value=void 0}))),{contentStyles:n,updateLocation:o}}function gt(){}function vt(t,e){e?t.style.removeProperty("left"):t.style.removeProperty("right");const n=O(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 yt(t,e,n){const o=I(t.activatorEl.value);o&&Object.assign(n.value,{position:"fixed",top:0,[t.isRtl.value?"right":"left"]:0});const{preferredAnchor:i,preferredOrigin:r}=Y((()=>{const n=et(e.location,t.isRtl.value),o="overlap"===e.origin?n:"auto"===e.origin?ot(n):et(e.origin,t.isRtl.value);return n.side===o.side&&n.align===it(o).align?{preferredAnchor:rt(n),preferredOrigin:rt(o)}:{preferredAnchor:n,preferredOrigin:o}})),[a,s,l,c]=["minWidth","minHeight","maxWidth","maxHeight"].map((t=>(0,p.computed)((()=>{const n=parseFloat(e[t]);return isNaN(n)?1/0:n})))),u=(0,p.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&&f()}));function f(){if(h=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>h=!0))})),!t.activatorEl.value||!t.contentEl.value)return;const e=t.activatorEl.value.getBoundingClientRect(),o=vt(t.contentEl.value,t.isRtl.value),d=lt(t.contentEl.value),p=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 f=d.reduce(((t,e)=>{const n=e.getBoundingClientRect(),o=new M({x:e===document.documentElement?0:n.x,y:e===document.documentElement?0:n.y,width:e.clientWidth,height:e.clientHeight});return t?new M({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);f.x+=p,f.y+=p,f.width-=2*p,f.height-=2*p;let m={anchor:i.value,origin:r.value};function g(t){const n=new M(o),i=P(t.anchor,e),r=P(t.origin,n);let{x:a,y:s}=T(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=z(n,f);return{overflows:h,x:a,y:s}}let v=0,y=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);v+=t,y+=e,o.x+=t,o.y+=e;{const t=at(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?it:ot:"y"===t?ot:it;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&&(v+=n.x.before,o.x+=n.x.before),n.x.after&&(v-=n.x.after,o.x-=n.x.after),n.y.before&&(y+=n.y.before,o.y+=n.y.before),n.y.after&&(y-=n.y.after,o.y-=n.y.after);{const t=z(o,f);_.x=f.width-t.x.before-t.x.after,_.y=f.height-t.y.before-t.y.after,v+=t.x.before,o.x+=t.x.before,y+=t.y.before,o.y+=t.y.before}break}const x=at(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(_t(y)),left:t.isRtl.value?void 0:R(_t(v)),right:t.isRtl.value?R(_t(-v)):void 0,minWidth:R("y"===x?Math.min(a.value,e.width):a.value),maxWidth:R(wt(U(_.x,a.value===1/0?0:a.value,l.value))),maxHeight:R(wt(U(_.y,s.value===1/0?0:s.value,c.value)))}),{available:_,contentBox:o}}return(0,p.watch)([t.activatorEl,t.contentEl],((t,e)=>{let[n,o]=t,[i,r]=e;i&&d.unobserve(i),n&&d.observe(n),r&&d.unobserve(r),o&&d.observe(o)}),{immediate:!0}),(0,p.onScopeDispose)((()=>{d.disconnect()})),(0,p.watch)((()=>[i.value,r.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight]),(()=>f())),(0,p.nextTick)((()=>{const t=f();if(!t)return;const{available:e,contentBox:n}=t;n.height>e.y&&requestAnimationFrame((()=>{f(),requestAnimationFrame((()=>{f()}))}))})),{updateLocation:f}}function _t(t){return Math.round(t*devicePixelRatio)/devicePixelRatio}function wt(t){return Math.ceil(t*devicePixelRatio)/devicePixelRatio}let bt=!0;const xt=[];function kt(t){!bt||xt.length?(xt.push(t),Ct()):(bt=!1,t(),Ct())}let St=-1;function Ct(){cancelAnimationFrame(St),St=requestAnimationFrame((()=>{const t=xt.shift();t&&t(),xt.length?Ct():bt=!0}))}const Tt={none:null,close:At,block:Mt,reposition:zt},Pt=L({scrollStrategy:{type:[String,Function],default:"block",validator:t=>"function"===typeof t||t in Tt}},"VOverlay-scroll-strategies");function Lt(t,e){if(!A)return;let n;(0,p.watchEffect)((async()=>{n?.stop(),e.isActive.value&&t.scrollStrategy&&(n=(0,p.effectScope)(),await(0,p.nextTick)(),n.active&&n.run((()=>{"function"===typeof t.scrollStrategy?t.scrollStrategy(e,t,n):Tt[t.scrollStrategy]?.(e,t,n)})))})),(0,p.onScopeDispose)((()=>{n?.stop()}))}function At(t){function e(e){t.isActive.value=!1}Ot(t.activatorEl.value??t.contentEl.value,e)}function Mt(t,e){const n=t.root.value?.offsetParent,o=[...new Set([...lt(t.activatorEl.value,e.contained?n:void 0),...lt(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=>ct(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,p.onScopeDispose)((()=>{o.forEach(((t,e)=>{const n=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),o=parseFloat(t.style.getPropertyValue("--v-body-scroll-y"));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})),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){kt((()=>{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.activatorEl.value??t.contentEl.value,(t=>{o?(cancelAnimationFrame(i),i=requestAnimationFrame((()=>{i=requestAnimationFrame((()=>{a(t)}))}))):a(t)}))}))})),(0,p.onScopeDispose)((()=>{"undefined"!==typeof cancelIdleCallback&&cancelIdleCallback(r),cancelAnimationFrame(i)}))}function Ot(t,e){const n=[document,...lt(t)];n.forEach((t=>{t.addEventListener("scroll",e,{passive:!0})})),(0,p.onScopeDispose)((()=>{n.forEach((t=>{t.removeEventListener("scroll",e)}))}))}const Et=Symbol.for("vuetify:v-menu"),It=L({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function Rt(t,e){const n={},o=o=>()=>{if(!A)return Promise.resolve(!0);const i="openDelay"===o;return n.closeDelay&&window.clearTimeout(n.closeDelay),delete n.closeDelay,n.openDelay&&window.clearTimeout(n.openDelay),delete n.openDelay,new Promise((r=>{const a=parseInt(t[o]??0,10);n[o]=window.setTimeout((()=>{e?.(i),r(i)}),a)}))};return{runCloseDelay:o("closeDelay"),runOpenDelay:o("openDelay")}}function Dt(t,e){const n=(0,p.getCurrentInstance)();if(!n)throw new Error(`[Vuetify] ${t} ${e||"must be called from inside a setup function"}`);return n}function Bt(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"composables";const e=Dt(t).type;return G(e?.aliasName||e?.name)}let Wt=0,Ft=new WeakMap;function Nt(){const t=Dt("getUid");if(Ft.has(t))return Ft.get(t);{const e=Wt++;return Ft.set(t,e),e}}Nt.reset=()=>{Wt=0,Ft=new WeakMap};const jt=new WeakMap;function Zt(t,e){Object.keys(e).forEach((n=>{if(Z(n)){const o=J(n),i=jt.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]]),jt.has(t)||jt.set(t,r)}}else null==e[n]?t.removeAttribute(n):t.setAttribute(n,e[n])}))}function Ut(t,e){Object.keys(e).forEach((e=>{if(Z(e)){const n=J(e),o=jt.get(t);o?.forEach((e=>{const[i,r]=e;i===n&&(t.removeEventListener(n,r),o.delete(e))}))}else t.removeAttribute(e)}))}const Vt=L({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...It()},"VOverlay-activator");function Ht(t,e){let{isActive:n,isTop:o}=e;const i=(0,p.ref)();let r=!1,a=!1,s=!0;const l=(0,p.computed)((()=>t.openOnFocus||null==t.openOnFocus&&t.openOnHover)),c=(0,p.computed)((()=>t.openOnClick||null==t.openOnClick&&!t.openOnHover&&!l.value)),{runOpenDelay:u,runCloseDelay:h}=Rt(t,(e=>{e!==(t.openOnHover&&r||l.value&&a)||t.openOnHover&&n.value&&!o.value||(n.value!==e&&(s=!0),n.value=e)})),d={onClick:t=>{t.stopPropagation(),i.value=t.currentTarget||t.target,n.value=!n.value},onMouseenter:t=>{t.sourceCapabilities?.firesTouchEvents||(r=!0,i.value=t.currentTarget||t.target,u())},onMouseleave:t=>{r=!1,h()},onFocus:t=>{!1!==X(t.target,":focus-visible")&&(a=!0,t.stopPropagation(),i.value=t.currentTarget||t.target,u())},onBlur:t=>{a=!1,t.stopPropagation(),h()}},f=(0,p.computed)((()=>{const e={};return c.value&&(e.onClick=d.onClick),t.openOnHover&&(e.onMouseenter=d.onMouseenter,e.onMouseleave=d.onMouseleave),l.value&&(e.onFocus=d.onFocus,e.onBlur=d.onBlur),e})),m=(0,p.computed)((()=>{const e={};if(t.openOnHover&&(e.onMouseenter=()=>{r=!0,u()},e.onMouseleave=()=>{r=!1,h()}),l.value&&(e.onFocusin=()=>{a=!0,u()},e.onFocusout=()=>{a=!1,h()}),t.closeOnContentClick){const t=(0,p.inject)(Et,null);e.onClick=()=>{n.value=!1,t?.closeParents()}}return e})),g=(0,p.computed)((()=>{const e={};return t.openOnHover&&(e.onMouseenter=()=>{s&&(r=!0,s=!1,u())},e.onMouseleave=()=>{r=!1,h()}),e}));(0,p.watch)(o,(e=>{!e||(!t.openOnHover||r||l.value&&a)&&(!l.value||a||t.openOnHover&&r)||(n.value=!1)}));const v=(0,p.ref)();(0,p.watchEffect)((()=>{v.value&&(0,p.nextTick)((()=>{i.value=B(v.value)}))}));const y=Dt("useActivator");let _;return(0,p.watch)((()=>!!t.activator),(e=>{e&&A?(_=(0,p.effectScope)(),_.run((()=>{$t(t,y,{activatorEl:i,activatorEvents:f})}))):_&&_.stop()}),{flush:"post",immediate:!0}),(0,p.onScopeDispose)((()=>{_?.stop()})),{activatorEl:i,activatorRef:v,activatorEvents:f,contentEvents:m,scrimEvents:g}}function $t(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&&Zt(e,(0,p.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&&Ut(e,(0,p.mergeProps)(i.value,n))}function s(){let n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.activator;if(i)if("parent"===i){let t=e?.proxy?.$el?.parentNode;while(t?.hasAttribute("data-no-activator"))t=t.parentNode;n=t}else n="string"===typeof i?document.querySelector(i):"$el"in i?i.$el:i;return o.value=n?.nodeType===Node.ELEMENT_NODE?n:null,o.value}(0,p.watch)((()=>t.activator),((t,e)=>{if(e&&t!==e){const t=s(e);t&&a(t)}t&&(0,p.nextTick)((()=>r()))}),{immediate:!0}),(0,p.watch)((()=>t.activatorProps),(()=>{r()})),(0,p.onScopeDispose)((()=>{a()}))} +(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;n0?Math.floor(t):Math.ceil(t)};function R(t,e,n){return t instanceof E?t:v(t)?new E(t[0],t[1]):void 0===t||null===t?t:"object"===typeof t&&"x"in t&&"y"in t?new E(t.x,t.y):new E(t,e,n)}function D(t,e){if(t)for(var n=e?[t,e]:t,o=0,i=n.length;o=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=B(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=B(t);var e=this.min,n=this.max,o=t.min,i=t.max,r=i.x>e.x&&o.xe.y&&o.y=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.late.lng&&o.lng1,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}(),Mt=!(!document.createElementNS||!K("svg").createSVGRect),zt=!!Mt&&function(){var t=document.createElement("div");return t.innerHTML="","http://www.w3.org/2000/svg"===(t.firstChild&&t.firstChild.namespaceURI)}(),Ot=!Mt&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"===typeof e.adj}catch(n){return!1}}(),Et=0===navigator.platform.indexOf("Mac"),It=0===navigator.platform.indexOf("Linux");function Rt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Dt={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:pt,ie3d:ft,webkit3d:mt,gecko3d:gt,any3d:vt,mobile:yt,mobileWebkit:_t,mobileWebkit3d:wt,msPointer:bt,pointer:xt,touch:St,touchNative:kt,mobileOpera:Ct,mobileGecko:Tt,retina:Pt,passiveEvents:Lt,canvas:At,svg:Mt,vml:Ot,inlineSvg:zt,mac:Et,linux:It},Bt=Dt.msPointer?"MSPointerDown":"pointerdown",Wt=Dt.msPointer?"MSPointerMove":"pointermove",Ft=Dt.msPointer?"MSPointerUp":"pointerup",Nt=Dt.msPointer?"MSPointerCancel":"pointercancel",jt={touchstart:Bt,touchmove:Wt,touchend:Ft,touchcancel:Nt},Zt={touchstart:Xt,touchmove:Jt,touchend:Jt,touchcancel:Jt},Ut={},Vt=!1;function Ht(t,e,n){return"touchstart"===e&&Kt(),Zt[e]?(n=Zt[e].bind(this,n),t.addEventListener(jt[e],n,!1),n):(console.warn("wrong event specified:",e),c)}function $t(t,e,n){jt[e]?t.removeEventListener(jt[e],n,!1):console.warn("wrong event specified:",e)}function qt(t){Ut[t.pointerId]=t}function Gt(t){Ut[t.pointerId]&&(Ut[t.pointerId]=t)}function Yt(t){delete Ut[t.pointerId]}function Kt(){Vt||(document.addEventListener(Bt,qt,!0),document.addEventListener(Wt,Gt,!0),document.addEventListener(Ft,Yt,!0),document.addEventListener(Nt,Yt,!0),Vt=!0)}function Jt(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var n in e.touches=[],Ut)e.touches.push(Ut[n]);e.changedTouches=[e],t(e)}}function Xt(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&qe(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 pe(t,e,n){var o=document.createElement(t);return o.className=e||"",n&&n.appendChild(o),o}function fe(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 ve(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ye(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;o0?2*window.devicePixelRatio:1;function Xe(t){return Dt.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Je:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function 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:Be,off:Fe,stopPropagation:Ve,disableScrollPropagation:He,disableClickPropagation:$e,preventDefault:qe,stop:Ge,getPropagationPath:Ye,getMousePosition:Ke,getWheelDelta:Xe,isExternalTarget:Qe,addListener:Be,removeListener:Fe},en=O.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;ethis.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=B([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 N(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(),fe(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)fe(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=pe("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 W(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=B(this.project(s,o),this.project(a,o)).getSize(),u=Dt.any3d?this.options.zoomSnap:1,h=l.x/c.x,d=l.y/c.y,p=e?Math.max(h,d):Math.min(h,d);return o=this.getScaleZoom(p,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 E(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 D(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(j(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(j(t))._round();return e._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(j(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(F(t))},distance:function(t,e){return this.options.crs.distance(j(t),j(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(j(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.");Be(e,"scroll",this._onScroll,this),this._containerId=a(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&Dt.any3d,_e(t,"leaflet-container"+(Dt.touch?" leaflet-touch":"")+(Dt.retina?" leaflet-retina":"")+(Dt.ielt9?" leaflet-oldie":"")+(Dt.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=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 E(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 E(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:Be;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),Dt.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){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&&Oe(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;s0?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=Dt.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=pe("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(){fe(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){p(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?(fe(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=pe("div",e+"control-container",this._container);function o(o,i){var r=e+o+" "+e+i;t[o+i]=pe("div",r,n)}o("top","left"),o("top","right"),o("bottom","left"),o("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)fe(this._controlCorners[t]);fe(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 n1,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='",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),Be(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=0;i--)t=n[i],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&oe.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,Be(t,"click",qe),this.expand();var e=this;setTimeout((function(){Fe(t,"click",qe),e._preventClick=!1}))}}),ln=function(t,e,n){return new sn(t,e,n)},cn=rn.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=pe("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._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,o,i){var r=pe("a",n,o);return r.innerHTML=t,r.href="#",r.title=e,r.setAttribute("role","button"),r.setAttribute("aria-label",e),$e(r),Be(r,"click",Ge),Be(r,"click",i,this),Be(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=pe("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=pe("div",e,n)),t.imperial&&(this._iScale=pe("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)},pn='',fn=rn.extend({options:{position:"bottomright",prefix:''+(Dt.inlineSvg?pn+" ":"")+"Leaflet"},initialize:function(t){p(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=pe("div","leaflet-control-attribution"),$e(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(' ')}}});nn.mergeOptions({attributionControl:!0}),nn.addInitHook((function(){this.options.attributionControl&&(new fn).addTo(this)}));var mn=function(t){return new fn(t)};rn.Layers=sn,rn.Zoom=cn,rn.Scale=hn,rn.Attribution=fn,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 vn={Events:z},yn=Dt.touch?"touchstart mousedown":"mousedown",_n=O.extend({options:{clickTolerance:3},initialize:function(t,e,n,o){p(this,o),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(Be(this._dragStartTarget,yn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(_n._dragging===this&&this.finishDrag(!0),Fe(this._dragStartTarget,yn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!ye(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&&Oe(this._element),Me(),oe(),!this._moving)){this.fire("down");var e=t.touches?t.touches[0]:t,n=Ie(this._element);this._startPoint=new E(e.clientX,e.clientY),this._startPos=Le(this._element),this._parentScale=Re(n);var o="mousedown"===t.type;Be(document,o?"mousemove":"touchmove",this._onMove,this),Be(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 E(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)l&&(r=a,l=s);l>n&&(e[r]=1,An(t,e,n,o,r),An(t,e,n,r,i))}function Mn(t,e){for(var n=[t[0]],o=1,i=0,r=t.length;oe&&(n.push(t[o]),i=o);return ie.max.x&&(n|=2),t.ye.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 E(r,a)}function Dn(t){return!v(t[0])||"object"!==typeof t[0][0]&&"undefined"!==typeof t[0][0]}function Bn(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Dn(t)}function Wn(t,e){var n,o,i,r,a,s,l,c;if(!t||0===t.length)throw new Error("latlngs not passed");Dn(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var u=j([0,0]),h=F(t),d=h.getNorthWest().distanceTo(h.getSouthWest())*h.getNorthEast().distanceTo(h.getNorthWest());d<1700&&(u=xn(t));var p=t.length,f=[];for(n=0;no){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 j([g.lat+u.lat,g.lng+u.lng])}var Fn={__proto__:null,simplify:Cn,pointToSegmentDistance:Tn,closestPointOnSegment:Pn,clipSegment:zn,_getEdgeIntersection:On,_getBitCode:En,_sqClosestPointOnSegment:Rn,isFlat:Dn,_flat:Bn,polylineCenter:Wn},Nn={project:function(t){return new E(t.lng,t.lat)},unproject:function(t){return new N(t.y,t.x)},bounds:new D([-180,-90],[180,90])},jn={R:6378137,R_MINOR:6356752.314245179,bounds:new D([-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 E(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 N(s*n,t.x*n/o)}},Zn={__proto__:null,LonLat:Nn,Mercator:jn,SphericalMercator:H},Un=n({},U,{code:"EPSG:3395",projection:jn,transformation:function(){var t=.5/(Math.PI*jn.R);return q(t,.5,-t,.5)}()}),Vn=n({},U,{code:"EPSG:4326",projection:Nn,transformation:q(1/180,1,-1/180,.5)}),Hn=n({},Z,{projection:Nn,transformation:q(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=U,Z.EPSG3395=Un,Z.EPSG3857=G,Z.EPSG900913=Y,Z.EPSG4326=Vn,Z.Simple=Hn;var $n=O.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?v(t)?t:[t]:[];for(var e=0,n=t.length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()=2&&e[0]instanceof N&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){lo.prototype._setLatLngs.call(this,t),Dn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Dn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new E(e,e);if(t=new D(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;it.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 po=Yn.extend({initialize:function(t,e){p(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,o,i=v(t)?t:t.features;if(i){for(e=0,n=i.length;e0&&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:yo(this.getLatLng(),t)})}};function ko(t,e){return new po(t,e)}eo.include(xo),ao.include(xo),io.include(xo),lo.include({toGeoJSON:function(t){var e=!Dn(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=!Dn(this._latlngs),n=e&&!Dn(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})}}),qn.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=$n.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),p(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(){fe(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&&ve(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:pe("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 D(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:pe("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;r0?o:[e.src]}else{v(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;ai?(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 E(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])}}),Eo=function(t,e){return new Oo(t,e)};nn.mergeOptions({closePopupOnClick:!0}),nn.include({openPopup:function(t,e,n){return this._initOverlay(Oo,t,e,n).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),$n.include({bindPopup:function(t,e){return this._popup=this._initOverlay(Oo,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){Ge(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=pe("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.xthis.options.maxZoom||no&&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 E(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+1this.options.maxZoom||void 0!==this.options.minZoom&&i1)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 p=new E(d,h);if(p.z=this._tileZoom,this._isValidTile(p)){var f=this._tiles[this._tileCoordsToKey(p)];f?f.current=!0:a.push(p)}}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;dn.max.x)||!e.wrapLat&&(t.yn.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 W(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 E(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(fe(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,Dt.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"),Dt.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 E(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 D(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 Wo(t)}var No=Wo.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=p(this,e),e.detectRetina&&Dt.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 Be(n,"load",i(this._tileOnLoad,this,e,n)),Be(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:Dt.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var 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){Dt.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;fe(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",_),Wo.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==_))return Wo.prototype._tileReady.call(this,t,e,n)}});function jo(t,e){return new No(t,e)}var Zo=No.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=p(this,e);var r=e.detectRetina&&Dt.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,No.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,o=B(n.project(e[0]),n.project(e[1])),i=o.min,r=o.max,a=(this._wmsVersion>=1.3&&this._crs===Vn?[i.y,i.x,r.y,r.x]:[i.x,i.y,r.x,r.y]).join(","),s=No.prototype.getTileUrl.call(this,t);return s+f(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 Uo(t,e){return new Zo(t,e)}No.WMS=Zo,jo.wms=Uo;var Vo=$n.extend({options:{padding:.1},initialize:function(t){p(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));Dt.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 D(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Ho=Vo.extend({options:{tolerance:0},getEvents:function(){var t=Vo.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Vo.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Be(t,"mousemove",this._onMouseMove,this),Be(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Be(t,"mouseout",this._handleMouseOut,this),t["_leaflet_disable_events"]=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){T(this._redrawRequest),delete this._ctx,fe(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){Vo.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),o=Dt.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",Dt.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){Vo.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')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Go={_initContainer:function(){this._container=pe("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Vo.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=qo("shape");_e(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=qo("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;fe(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=qo("stroke")),i.appendChild(e),e.weight=o.weight+"px",e.color=o.color,e.opacity=o.opacity,o.dashArray?e.dashStyle=v(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=qo("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){ve(t._container)}},Yo=Dt.vml?qo:K,Ko=Vo.extend({_initContainer:function(){this._container=Yo("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Yo("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){fe(this._container),Fe(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){Vo.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){fe(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){ve(t._path)}});function Jo(t){return Dt.svg||Dt.vml?new Ko(t):null}Dt.vml&&Ko.include(Go),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&&$o(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,po.geometryToLayer=fo,po.coordsToLatLng=go,po.coordsToLatLngs=vo,po.latLngToCoords=yo,po.latLngsToCoords=_o,po.getFeature=wo,po.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(){Be(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Fe(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){fe(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(),Me(),this._startPoint=this._map.mouseEventToContainerPoint(t),Be(document,{contextmenu:Ge,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=pe("div","leaflet-zoom-box",this._container),_e(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new D(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&&(fe(this._box),we(this._container,"leaflet-crosshair")),ie(),ze(),Fe(document,{contextmenu:Ge,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 W(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=B(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.xe.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)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:Dt.touchNative&&Dt.safari&&Dt.mobile,tapTolerance:15});var ai=gn.extend({addHooks:function(){Be(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 E(e.clientX,e.clientY),this._holdTimeout=setTimeout(i((function(){this._cancel(),this._isTapValid()&&(Be(document,"touchend",qe),Be(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))}),this),ri),Be(document,"touchend touchcancel contextmenu",this._cancel,this),Be(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){Fe(document,"touchend",qe),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 E(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:Dt.touch,bounceAtZoomLimits:!0});var si=gn.extend({addHooks:function(){_e(this._map._container,"leaflet-touch-zoom"),Be(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(),Be(document,"touchmove",this._onTouchMove,this),Be(document,"touchend touchcancel",this._onTouchEnd,this),qe(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._zoome.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),qe(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=D,t.Browser=Dt,t.CRS=Z,t.Canvas=Ho,t.Circle=ao,t.CircleMarker=io,t.Class=A,t.Control=rn,t.DivIcon=Do,t.DivOverlay=zo,t.DomEvent=tn,t.DomUtil=De,t.Draggable=_n,t.Evented=O,t.FeatureGroup=Yn,t.GeoJSON=po,t.GridLayer=Wo,t.Handler=gn,t.Icon=Jn,t.ImageOverlay=Co,t.LatLng=N,t.LatLngBounds=W,t.Layer=$n,t.LayerGroup=qn,t.LineUtil=Fn,t.Map=nn,t.Marker=eo,t.Mixin=vn,t.Path=oo,t.Point=E,t.PolyUtil=Sn,t.Polygon=uo,t.Polyline=lo,t.Popup=Oo,t.PosAnimation=en,t.Projection=Zn,t.Rectangle=Xo,t.Renderer=Vo,t.SVG=Ko,t.SVGOverlay=Ao,t.TileLayer=No,t.Tooltip=Io,t.Transformation=$,t.Util=P,t.VideoOverlay=Po,t.bind=i,t.bounds=B,t.canvas=$o,t.circle=so,t.circleMarker=ro,t.control=an,t.divIcon=Bo,t.extend=n,t.featureGroup=Kn,t.geoJSON=ko,t.geoJson=So,t.gridLayer=Fo,t.icon=Xn,t.imageOverlay=To,t.latLng=j,t.latLngBounds=F,t.layerGroup=Gn,t.map=on,t.marker=no,t.point=R,t.polygon=ho,t.polyline=co,t.popup=Eo,t.rectangle=Qo,t.setOptions=p,t.stamp=a,t.svg=Jo,t.svgOverlay=Mo,t.tileLayer=jo,t.tooltip=Ro,t.transformation=q,t.version=e,t.videoOverlay=Lo;var li=window.L;t.noConflict=function(){return window.L=li,this},window.L=t}))},959:(t,e)=>{"use strict";e.Z=(t,e)=>{const n=t.__vccOpts||t;for(const[o,i]of e)n[o]=i;return n}},906:(t,e,n)=>{var o=n(478);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("6b2620b5",o,!0,{sourceMap:!1,shadowMode:!1})},447:(t,e,n)=>{var o=n(408);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("a260ae6c",o,!0,{sourceMap:!1,shadowMode:!1})},561:(t,e,n)=>{var o=n(877);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("563ac097",o,!0,{sourceMap:!1,shadowMode:!1})},830:(t,e,n)=>{var o=n(768);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("79bfa33b",o,!0,{sourceMap:!1,shadowMode:!1})},727:(t,e,n)=>{var o=n(745);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("efd732c2",o,!0,{sourceMap:!1,shadowMode:!1})},860:(t,e,n)=>{var o=n(748);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("77fdcfa0",o,!0,{sourceMap:!1,shadowMode:!1})},747:(t,e,n)=>{var o=n(426);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("3c2fe26d",o,!0,{sourceMap:!1,shadowMode:!1})},17:(t,e,n)=>{var o=n(588);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("4cb0c4a6",o,!0,{sourceMap:!1,shadowMode:!1})},394:(t,e,n)=>{var o=n(879);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var i=n(410).Z;i("ee39b854",o,!0,{sourceMap:!1,shadowMode:!1})},410:(t,e,n)=>{"use strict";function o(t,e){for(var n=[],o={},i=0;if});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",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,n,i){c=n,h=i||{};var a=o(t,e);return m(a),function(e){for(var n=[],i=0;in.parts.length&&(o.parts.length=n.parts.length)}else{var a=[];for(i=0;i{"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/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHr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Jaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII="},415:t=>{"use strict";t.exports=e},203:e=>{"use strict";e.exports=t}},i={};function r(t){var e=i[t];if(void 0!==e)return e.exports;var n=i[t]={id:t,exports:{}};return o[t].call(n.exports,n,n.exports,r),n.exports}r.m=o,(()=>{r.n=t=>{var e=t&&t.__esModule?()=>t["default"]:()=>t;return r.d(e,{a:e}),e}})(),(()=>{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=""})(),(()=>{r.b=document.baseURI||self.location.href})();var a={};return(()=>{"use strict";if(r.r(a),r.d(a,{API_BASE_URL:()=>Nl,BackgroundImageset:()=>rl,D2R:()=>Wl,DefaultMiniCredits:()=>Qs,FundingAcknowledgment:()=>il,Gallery:()=>Bl,IconButton:()=>gs,KeyboardControlSettings:()=>d,LocationSelector:()=>$s,MINIDS_BASE_URL:()=>jl,MiniDSBase:()=>b,R2D:()=>Fl,skyBackgroundImagesets:()=>al}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(r.p=e[1])}var o=function(){return o=Object.assign||function(t){for(var e,n=1,o=arguments.length;n0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]=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 c(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 u(t,e,n){if(n||2===arguments.length)for(var o,i=0,r=e.length;i{if("undefined"===typeof document)return!1;const t=m[0],e={};for(const n of m){const o=n?.[1];if(o in document){for(const[o,i]of n.entries())e[t[o]]=i;return e}}return!1})(),v={change:g.fullscreenchange,error:g.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[g.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[g.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=v[t];n&&document.addEventListener(n,e,!1)},off(t,e){const n=v[t];n&&document.removeEventListener(n,e,!1)},raw:g};Object.defineProperties(y,{isFullscreen:{get:()=>Boolean(document[g.fullscreenElement])},element:{enumerable:!0,get:()=>document[g.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>Boolean(document[g.fullscreenEnabled])}}),g||(y={isEnabled:!1});const _=y;var w={width:1200,height:900};const b=(0,p.defineComponent)({extends:f.WWTAwareComponent,props:{kcs:{type:d,default:new d({})}},data:function(){return{fullscreenModeActive:!1,resizeObserver:null,touchscreen:!1,windowShape:w}},created:function(){this.touchscreen="ontouchstart"in window||"ontouchstart"in document.documentElement||!!window.navigator.msPointerEnabled},mounted:function(){var t=this;_.isEnabled&&_.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;_.isEnabled&&_.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(){_.isEnabled&&(this.fullscreenModeActive=_.isFullscreen)},onResizeEvent:function(){var t=this.$el.clientWidth,e=this.$el.clientHeight;this.windowShape=t>0&&e>0?{width:t,height:e}:w},blurActiveElement:function(){var t=document.activeElement;t instanceof HTMLElement&&t.blur()}},computed:{fullscreenAvailable:function(){return _.isEnabled}}});var x=["id"];function k(t,e,n,o,i,r){var a=(0,p.resolveComponent)("font-awesome-icon"),s=(0,p.resolveComponent)("v-icon"),l=(0,p.resolveComponent)("v-tooltip");return(0,p.openBlock)(),(0,p.createBlock)(l,{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,p.withCtx)((function(n){var o=n.props;return[(0,p.createElementVNode)("div",(0,p.mergeProps)(o,{id:t.buttonID,class:["icon-wrapper",{active:t.modelValue}],onClick:e[0]||(e[0]=function(){for(var e=[],n=0;ne.length?e((()=>{n?.stop(),o()})):e()))}(0,p.watch)(t,(t=>{t&&!n?o():t||(n?.stop(),n=void 0)}),{immediate:!0}),(0,p.onScopeDispose)((()=>{n?.stop()}))}function C(t,e){return{x:t.x+e.x,y:t.y+e.y}}function T(t,e){return{x:t.x-e.x,y:t.y-e.y}}function P(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 C({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 C({x:i,y:r},e)}return C({x:e.width/2,y:e.height/2},e)}function L(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 A="undefined"!==typeof window;A&&window,A&&("ontouchstart"in window||window.navigator.maxTouchPoints);class M{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 z(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){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 M(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,p=a?e.height/a:t.offsetHeight+1;return new M({x:u,y:h,width:d,height:p})}return new M(e)}function E(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 D(t){return null!==t&&"object"===typeof t&&!Array.isArray(t)}function B(t){return t&&"$el"in t?t.$el: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 W(t,e){return e.every((e=>t.hasOwnProperty(e)))}function F(t,e,n){const o=Object.create(null),i=Object.create(null);for(const r in t)e.some((t=>t instanceof RegExp?t.test(r):t===r))&&!n?.some((t=>t===r))?o[r]=t[r]:i[r]=t[r];return[o,i]}function N(t,e){const n={...t};return e.forEach((t=>delete n[t])),n}const j=/^on[^a-z]/,Z=t=>j.test(t);function U(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 V(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 H(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=[];let o=0;while(o0&&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];D(r)&&D(a)?o[i]=$(r,a,n):Array.isArray(r)&&Array.isArray(a)&&n?o[i]=n(r,a):o[i]=a}return o}function q(t){return t.map((t=>t.type===p.Fragment?q(t.children):t)).flat()}function G(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(G.cache.has(t))return G.cache.get(t);const e=t.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return G.cache.set(t,e),e}G.cache=new Map;function Y(t){const e=(0,p.reactive)({}),n=(0,p.computed)(t);return(0,p.watchEffect)((()=>{for(const t in n.value)e[t]=n.value[t]}),{flush:"sync"}),(0,p.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=A&&"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}}const Q=["top","bottom"],tt=["start","end","left","right"];function et(t,e){let[n,o]=t.split(" ");return o||(o=K(Q,n)?"start":K(tt,n)?"top":"center"),{side:nt(n,e),align:nt(o,e)}}function nt(t,e){return"start"===t?e?"right":"left":"end"===t?e?"left":"right":t}function ot(t){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.side],align:t.align}}function it(t){return{side:t.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.align]}}function rt(t){return{side:t.align,align:t.side}}function at(t){return K(Q,t.side)?"y":"x"}function st(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];while(t){if(e?ut(t):ct(t))return t;t=t.parentElement}return document.scrollingElement}function lt(t,e){const n=[];if(e&&t&&!e.contains(t))return n;while(t){if(ct(t)&&n.push(t),t===e)break;t=t.parentElement}return n}function ct(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 ut(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return["scroll","auto"].includes(e.overflowY)}function ht(t){(0,p.warn)(`Vuetify: ${t}`)}function dt(t){(0,p.warn)(`Vuetify error: ${t}`)}const pt={static:gt,connected:yt},ft=L({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 mt(t,e){const n=(0,p.ref)({}),o=(0,p.ref)();function i(t){o.value?.(t)}return A&&(S((()=>!(!e.isActive.value||!t.locationStrategy)),(i=>{(0,p.watch)((()=>t.locationStrategy),i),(0,p.onScopeDispose)((()=>{o.value=void 0})),"function"===typeof t.locationStrategy?o.value=t.locationStrategy(e,t,n)?.updateLocation:o.value=pt[t.locationStrategy](e,t,n)?.updateLocation})),window.addEventListener("resize",i,{passive:!0}),(0,p.onScopeDispose)((()=>{window.removeEventListener("resize",i),o.value=void 0}))),{contentStyles:n,updateLocation:o}}function gt(){}function vt(t,e){e?t.style.removeProperty("left"):t.style.removeProperty("right");const n=O(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 yt(t,e,n){const o=I(t.activatorEl.value);o&&Object.assign(n.value,{position:"fixed",top:0,[t.isRtl.value?"right":"left"]:0});const{preferredAnchor:i,preferredOrigin:r}=Y((()=>{const n=et(e.location,t.isRtl.value),o="overlap"===e.origin?n:"auto"===e.origin?ot(n):et(e.origin,t.isRtl.value);return n.side===o.side&&n.align===it(o).align?{preferredAnchor:rt(n),preferredOrigin:rt(o)}:{preferredAnchor:n,preferredOrigin:o}})),[a,s,l,c]=["minWidth","minHeight","maxWidth","maxHeight"].map((t=>(0,p.computed)((()=>{const n=parseFloat(e[t]);return isNaN(n)?1/0:n})))),u=(0,p.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&&f()}));function f(){if(h=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>h=!0))})),!t.activatorEl.value||!t.contentEl.value)return;const e=t.activatorEl.value.getBoundingClientRect(),o=vt(t.contentEl.value,t.isRtl.value),d=lt(t.contentEl.value),p=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 f=d.reduce(((t,e)=>{const n=e.getBoundingClientRect(),o=new M({x:e===document.documentElement?0:n.x,y:e===document.documentElement?0:n.y,width:e.clientWidth,height:e.clientHeight});return t?new M({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);f.x+=p,f.y+=p,f.width-=2*p,f.height-=2*p;let m={anchor:i.value,origin:r.value};function g(t){const n=new M(o),i=P(t.anchor,e),r=P(t.origin,n);let{x:a,y:s}=T(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=z(n,f);return{overflows:h,x:a,y:s}}let v=0,y=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);v+=t,y+=e,o.x+=t,o.y+=e;{const t=at(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?it:ot:"y"===t?ot:it;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&&(v+=n.x.before,o.x+=n.x.before),n.x.after&&(v-=n.x.after,o.x-=n.x.after),n.y.before&&(y+=n.y.before,o.y+=n.y.before),n.y.after&&(y-=n.y.after,o.y-=n.y.after);{const t=z(o,f);_.x=f.width-t.x.before-t.x.after,_.y=f.height-t.y.before-t.y.after,v+=t.x.before,o.x+=t.x.before,y+=t.y.before,o.y+=t.y.before}break}const x=at(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(_t(y)),left:t.isRtl.value?void 0:R(_t(v)),right:t.isRtl.value?R(_t(-v)):void 0,minWidth:R("y"===x?Math.min(a.value,e.width):a.value),maxWidth:R(wt(U(_.x,a.value===1/0?0:a.value,l.value))),maxHeight:R(wt(U(_.y,s.value===1/0?0:s.value,c.value)))}),{available:_,contentBox:o}}return(0,p.watch)([t.activatorEl,t.contentEl],((t,e)=>{let[n,o]=t,[i,r]=e;i&&d.unobserve(i),n&&d.observe(n),r&&d.unobserve(r),o&&d.observe(o)}),{immediate:!0}),(0,p.onScopeDispose)((()=>{d.disconnect()})),(0,p.watch)((()=>[i.value,r.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight]),(()=>f())),(0,p.nextTick)((()=>{const t=f();if(!t)return;const{available:e,contentBox:n}=t;n.height>e.y&&requestAnimationFrame((()=>{f(),requestAnimationFrame((()=>{f()}))}))})),{updateLocation:f}}function _t(t){return Math.round(t*devicePixelRatio)/devicePixelRatio}function wt(t){return Math.ceil(t*devicePixelRatio)/devicePixelRatio}let bt=!0;const xt=[];function kt(t){!bt||xt.length?(xt.push(t),Ct()):(bt=!1,t(),Ct())}let St=-1;function Ct(){cancelAnimationFrame(St),St=requestAnimationFrame((()=>{const t=xt.shift();t&&t(),xt.length?Ct():bt=!0}))}const Tt={none:null,close:At,block:Mt,reposition:zt},Pt=L({scrollStrategy:{type:[String,Function],default:"block",validator:t=>"function"===typeof t||t in Tt}},"VOverlay-scroll-strategies");function Lt(t,e){if(!A)return;let n;(0,p.watchEffect)((async()=>{n?.stop(),e.isActive.value&&t.scrollStrategy&&(n=(0,p.effectScope)(),await(0,p.nextTick)(),n.active&&n.run((()=>{"function"===typeof t.scrollStrategy?t.scrollStrategy(e,t,n):Tt[t.scrollStrategy]?.(e,t,n)})))})),(0,p.onScopeDispose)((()=>{n?.stop()}))}function At(t){function e(e){t.isActive.value=!1}Ot(t.activatorEl.value??t.contentEl.value,e)}function Mt(t,e){const n=t.root.value?.offsetParent,o=[...new Set([...lt(t.activatorEl.value,e.contained?n:void 0),...lt(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=>ct(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,p.onScopeDispose)((()=>{o.forEach(((t,e)=>{const n=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),o=parseFloat(t.style.getPropertyValue("--v-body-scroll-y"));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})),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){kt((()=>{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.activatorEl.value??t.contentEl.value,(t=>{o?(cancelAnimationFrame(i),i=requestAnimationFrame((()=>{i=requestAnimationFrame((()=>{a(t)}))}))):a(t)}))}))})),(0,p.onScopeDispose)((()=>{"undefined"!==typeof cancelIdleCallback&&cancelIdleCallback(r),cancelAnimationFrame(i)}))}function Ot(t,e){const n=[document,...lt(t)];n.forEach((t=>{t.addEventListener("scroll",e,{passive:!0})})),(0,p.onScopeDispose)((()=>{n.forEach((t=>{t.removeEventListener("scroll",e)}))}))}const Et=Symbol.for("vuetify:v-menu"),It=L({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function Rt(t,e){const n={},o=o=>()=>{if(!A)return Promise.resolve(!0);const i="openDelay"===o;return n.closeDelay&&window.clearTimeout(n.closeDelay),delete n.closeDelay,n.openDelay&&window.clearTimeout(n.openDelay),delete n.openDelay,new Promise((r=>{const a=parseInt(t[o]??0,10);n[o]=window.setTimeout((()=>{e?.(i),r(i)}),a)}))};return{runCloseDelay:o("closeDelay"),runOpenDelay:o("openDelay")}}function Dt(t,e){const n=(0,p.getCurrentInstance)();if(!n)throw new Error(`[Vuetify] ${t} ${e||"must be called from inside a setup function"}`);return n}function Bt(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"composables";const e=Dt(t).type;return G(e?.aliasName||e?.name)}let Wt=0,Ft=new WeakMap;function Nt(){const t=Dt("getUid");if(Ft.has(t))return Ft.get(t);{const e=Wt++;return Ft.set(t,e),e}}Nt.reset=()=>{Wt=0,Ft=new WeakMap};const jt=new WeakMap;function Zt(t,e){Object.keys(e).forEach((n=>{if(Z(n)){const o=J(n),i=jt.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]]),jt.has(t)||jt.set(t,r)}}else null==e[n]?t.removeAttribute(n):t.setAttribute(n,e[n])}))}function Ut(t,e){Object.keys(e).forEach((e=>{if(Z(e)){const n=J(e),o=jt.get(t);o?.forEach((e=>{const[i,r]=e;i===n&&(t.removeEventListener(n,r),o.delete(e))}))}else t.removeAttribute(e)}))}const Vt=L({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...It()},"VOverlay-activator");function Ht(t,e){let{isActive:n,isTop:o}=e;const i=(0,p.ref)();let r=!1,a=!1,s=!0;const l=(0,p.computed)((()=>t.openOnFocus||null==t.openOnFocus&&t.openOnHover)),c=(0,p.computed)((()=>t.openOnClick||null==t.openOnClick&&!t.openOnHover&&!l.value)),{runOpenDelay:u,runCloseDelay:h}=Rt(t,(e=>{e!==(t.openOnHover&&r||l.value&&a)||t.openOnHover&&n.value&&!o.value||(n.value!==e&&(s=!0),n.value=e)})),d={onClick:t=>{t.stopPropagation(),i.value=t.currentTarget||t.target,n.value=!n.value},onMouseenter:t=>{t.sourceCapabilities?.firesTouchEvents||(r=!0,i.value=t.currentTarget||t.target,u())},onMouseleave:t=>{r=!1,h()},onFocus:t=>{!1!==X(t.target,":focus-visible")&&(a=!0,t.stopPropagation(),i.value=t.currentTarget||t.target,u())},onBlur:t=>{a=!1,t.stopPropagation(),h()}},f=(0,p.computed)((()=>{const e={};return c.value&&(e.onClick=d.onClick),t.openOnHover&&(e.onMouseenter=d.onMouseenter,e.onMouseleave=d.onMouseleave),l.value&&(e.onFocus=d.onFocus,e.onBlur=d.onBlur),e})),m=(0,p.computed)((()=>{const e={};if(t.openOnHover&&(e.onMouseenter=()=>{r=!0,u()},e.onMouseleave=()=>{r=!1,h()}),l.value&&(e.onFocusin=()=>{a=!0,u()},e.onFocusout=()=>{a=!1,h()}),t.closeOnContentClick){const t=(0,p.inject)(Et,null);e.onClick=()=>{n.value=!1,t?.closeParents()}}return e})),g=(0,p.computed)((()=>{const e={};return t.openOnHover&&(e.onMouseenter=()=>{s&&(r=!0,s=!1,u())},e.onMouseleave=()=>{r=!1,h()}),e}));(0,p.watch)(o,(e=>{!e||(!t.openOnHover||r||l.value&&a)&&(!l.value||a||t.openOnHover&&r)||(n.value=!1)}));const v=(0,p.ref)();(0,p.watchEffect)((()=>{v.value&&(0,p.nextTick)((()=>{i.value=B(v.value)}))}));const y=Dt("useActivator");let _;return(0,p.watch)((()=>!!t.activator),(e=>{e&&A?(_=(0,p.effectScope)(),_.run((()=>{$t(t,y,{activatorEl:i,activatorEvents:f})}))):_&&_.stop()}),{flush:"post",immediate:!0}),(0,p.onScopeDispose)((()=>{_?.stop()})),{activatorEl:i,activatorRef:v,activatorEvents:f,contentEvents:m,scrimEvents:g}}function $t(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&&Zt(e,(0,p.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&&Ut(e,(0,p.mergeProps)(i.value,n))}function s(){let n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.activator;if(i)if("parent"===i){let t=e?.proxy?.$el?.parentNode;while(t?.hasAttribute("data-no-activator"))t=t.parentNode;n=t}else n="string"===typeof i?document.querySelector(i):"$el"in i?i.$el:i;return o.value=n?.nodeType===Node.ELEMENT_NODE?n:null,o.value}(0,p.watch)((()=>t.activator),((t,e)=>{if(e&&t!==e){const t=s(e);t&&a(t)}t&&(0,p.nextTick)((()=>r()))}),{immediate:!0}),(0,p.watch)((()=>t.activatorProps),(()=>{r()})),(0,p.onScopeDispose)((()=>{a()}))} /** * WCAG 3.0 APCA perceptual contrast algorithm from https://github.com/Myndex/SAPC-APCA * @licence https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @see https://www.w3.org/WAI/GL/task-forces/silver/wiki/Visual_Contrast_of_Text_Subgroup */ -const qt=2.4,Gt=.2126729,Yt=.7151522,Kt=.072175,Jt=.55,Xt=.58,Qt=.57,te=.62,ee=.03,ne=1.45,oe=5e-4,ie=1.25,re=1.25,ae=.078,se=12.82051282051282,le=.06,ce=.001;function ue(t,e){const n=(t.r/255)**qt,o=(t.g/255)**qt,i=(t.b/255)**qt,r=(e.r/255)**qt,a=(e.g/255)**qt,s=(e.b/255)**qt;let l,c=n*Gt+o*Yt+i*Kt,u=r*Gt+a*Yt+s*Kt;if(c<=ee&&(c+=(ee-c)**ne),u<=ee&&(u+=(ee-u)**ne),Math.abs(u-c)c){const t=(u**Jt-c**Xt)*ie;l=t-ce?0:t>-ae?t-t*se*le:t+le}return 100*l}function he(t){return!!t&&/^(#|var\(--|(rgb|hsl)a?\()/.test(t)}const de=/^(?(?:rgb|hsl)a?)\((?.+)\)/,pe={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)=>ge({h:t,s:e,l:n,a:o}),hsla:(t,e,n,o)=>ge({h:t,s:e,l:n,a:o}),hsv:(t,e,n,o)=>me({h:t,s:e,v:n,a:o}),hsva:(t,e,n,o)=>me({h:t,s:e,v:n,a:o})};function fe(t){if("number"===typeof t)return(isNaN(t)||t<0||t>16777215)&&ht(`'${t}' is not a valid hex color`),{r:(16711680&t)>>16,g:(65280&t)>>8,b:255&t};if("string"===typeof t&&de.test(t)){const{groups:e}=t.match(de),{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 pe[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)||ht(`'${t}' is not a valid hex(a) color`);const n=parseInt(e,16);return(isNaN(n)||n<0||n>4294967295)&&ht(`'${t}' is not a valid hex(a) color`),ye(e)}if("object"===typeof t){if(W(t,["r","g","b"]))return t;if(W(t,["h","s","l"]))return me(ve(t));if(W(t,["h","s","v"]))return me(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 me(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 ge(t){return me(ve(t))}function ve(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 ye(t){t=_e(t);let[e,n,o,i]=H(t,2).map((t=>parseInt(t,16)));return i=void 0===i?i:i/255,{r:e,g:n,b:o,a:i}}function _e(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=V(V(t,6),8,"F")),t}function we(t){const e=Math.abs(ue(fe(0),fe(t))),n=Math.abs(ue(fe(16777215),fe(t)));return n>Math.min(e,50)?"#fff":"#000"}function be(t){return Y((()=>{const e=[],n={};if(t.value.background)if(he(t.value.background)){if(n.backgroundColor=t.value.background,!t.value.text){const t=we(n.backgroundColor);n.color=t,n.caretColor=t}}else e.push(`bg-${t.value.background}`);return t.value.text&&(he(t.value.text)?(n.color=t.value.text,n.caretColor=t.value.text):e.push(`text-${t.value.text}`)),{colorClasses:e,colorStyles:n}}))}function xe(t,e){const n=(0,p.computed)((()=>({text:(0,p.isRef)(t)?t.value:e?t[e]:null}))),{colorClasses:o,colorStyles:i}=be(n);return{textColorClasses:o,textColorStyles:i}}function ke(t,e){const n=(0,p.computed)((()=>({background:(0,p.isRef)(t)?t.value:e?t[e]:null}))),{colorClasses:o,colorStyles:i}=be(n);return{backgroundColorClasses:o,backgroundColorStyles:i}}const Se=L({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),Ce=L({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Te(t){const e=(0,p.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 Pe=Symbol.for("vuetify:display");function Le(){const t=(0,p.inject)(Pe);if(!t)throw new Error("Could not find Vuetify display injection");return t}function Ae(){if(!A)return(0,p.shallowRef)(!1);const{ssr:t}=Le();if(t){const t=(0,p.shallowRef)(!1);return(0,p.onMounted)((()=>{t.value=!0})),t}return(0,p.shallowRef)(!0)}const Me=L({eager:Boolean},"lazy");function ze(t,e){const n=(0,p.shallowRef)(!1),o=(0,p.computed)((()=>n.value||t.eager||e.value));function i(){t.eager||(n.value=!1)}return(0,p.watch)(e,(()=>n.value=!0)),{isBooted:n,hasContent:o,onAfterLeave:i}}const Oe=Symbol.for("vuetify:locale");Symbol.for("vuetify:rtl");function Ee(){const t=(0,p.inject)(Oe);if(!t)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:t.isRtl,rtlClasses:t.rtlClasses}}function Ie(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=Dt("useProxiedModel"),a=(0,p.ref)(void 0!==t[e]?t[e]:n),s=G(e),l=s!==e,c=l?(0,p.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,p.computed)((()=>(t[e],!(!r.vnode.props?.hasOwnProperty(e)||!r.vnode.props?.hasOwnProperty(`onUpdate:${e}`)))));S((()=>!c.value),(()=>{(0,p.watch)((()=>t[e]),(t=>{a.value=t}))}));const u=(0,p.computed)({get(){const n=t[e];return o(c.value?n:a.value)},set(n){const s=i(n),l=(0,p.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 Re(){return Dt("useRouter")?.proxy?.$router}L({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let De=!1;function Be(t,e){let n,o,i=!1;function r(t){t.state?.replaced||(i=!0,setTimeout((()=>i=!1)))}A&&((0,p.nextTick)((()=>{window.addEventListener("popstate",r),n=t?.beforeEach(((t,n,o)=>{De?i?e(o):o():setTimeout((()=>i?e(o):o())),De=!0})),o=t?.afterEach((()=>{De=!1}))})),(0,p.onScopeDispose)((()=>{window.removeEventListener("popstate",r),n?.(),o?.()})))}function We(){const t=Dt("useScopeId"),e=t.vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const Fe=Symbol.for("vuetify:stack"),Ne=(0,p.reactive)([]);function je(t,e,n){const o=Dt("useStack"),i=!n,r=(0,p.inject)(Fe,void 0),a=(0,p.reactive)({activeChildren:new Set});(0,p.provide)(Fe,a);const s=(0,p.shallowRef)(+e.value);S(t,(()=>{const t=Ne.at(-1)?.[1];s.value=t?t+10:+e.value,i&&Ne.push([o.uid,s.value]),r?.activeChildren.add(o.uid),(0,p.onScopeDispose)((()=>{if(i){const t=(0,p.toRaw)(Ne).findIndex((t=>t[0]===o.uid));Ne.splice(t,1)}r?.activeChildren.delete(o.uid)}))}));const l=(0,p.shallowRef)(!0);i&&(0,p.watchEffect)((()=>{const t=Ne.at(-1)?.[0]===o.uid;setTimeout((()=>l.value=t))}));const c=(0,p.computed)((()=>!a.activeChildren.size));return{globalTop:(0,p.readonly)(l),localTop:c,stackStyles:(0,p.computed)((()=>({zIndex:s.value})))}}function Ze(t){const e=(0,p.computed)((()=>{const e=t.value;if(!0===e||!A)return;const n=!1===e?document.body:"string"===typeof e?document.querySelector(e):e;if(null==n)return void(0,p.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"),Ve=L({theme:String},"theme");function He(t){Dt("provideTheme");const e=(0,p.inject)(Ue,null);if(!e)throw new Error("Could not find Vuetify theme injection");const n=(0,p.computed)((()=>t.theme??e.name.value)),o=(0,p.computed)((()=>e.themes.value[n.value])),i=(0,p.computed)((()=>e.isDisabled?void 0:`v-theme--${n.value}`)),r={...e,name:n,current:o,themeClasses:i};return(0,p.provide)(Ue,r),r}const $e=L({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:t=>!0!==t}},"transition"),qe=(t,e)=>{let{slots:n}=e;const{transition:o,disabled:i,...r}=t,{component:a=p.Transition,...s}="object"===typeof o?o:{};return(0,p.h)(a,(0,p.mergeProps)("string"===typeof o?{name:i?"":o}:s,r,{disabled:i}),n)};function Ge(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 Ye(){return!0}function Ke(t,e,n){if(!t||!1===Je(t,n))return!1;const o=Ge(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 Je(t,e){const n="object"===typeof e.value&&e.value.closeConditional||Ye;return n(t)}function Xe(t,e,n){const o="function"===typeof n.value?n.value:n.value.handler;e._clickOutside.lastMousedownWasOutside&&Ke(t,e,n)&&setTimeout((()=>{Je(t,n)&&o&&o(t)}),0)}function Qe(t,e){const n=Ge(t);e(document),"undefined"!==typeof ShadowRoot&&n instanceof ShadowRoot&&e(n)}const tn={mounted(t,e){const n=n=>Xe(n,t,e),o=n=>{t._clickOutside.lastMousedownWasOutside=Ke(n,t,e)};Qe(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&&(Qe(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 en(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dt("injectSelf");const{provides:n}=e;if(n&&t in n)return n[t]}const nn=Symbol.for("vuetify:defaults");function on(){const t=(0,p.inject)(nn);if(!t)throw new Error("[Vuetify] Could not find defaults instance");return t}function rn(t,e){return"undefined"!==typeof t.props?.[e]||"undefined"!==typeof t.props?.[G(e)]}function an(){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]:on();const o=Dt("useDefaults");if(e=e??o.type.name??o.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const i=(0,p.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||rn(o.vnode,e)?r:i.value?.[e]??n.value?.global?.[e]??r}}),a=(0,p.shallowRef)();function s(){const t=en(nn,o);(0,p.provide)(nn,(0,p.computed)((()=>a.value?$(t?.value??{},a.value):t?.value)))}return(0,p.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 sn(t){if(t._setup=t._setup??t.setup,!t.name)return ht("The component is missing an explicit name, unable to generate default prop value"),t;if(t._setup){t.props=L(t.props??{},t.name)();const e=Object.keys(t.props);t.filterProps=function(t){return F(t,e,["class","style"])},t.props._as=String,t.setup=function(e,n){const o=on();if(!o.value)return t._setup(e,n);const{props:i,provideSubDefaults:r}=an(e,e._as??t.name,o),a=t._setup(i,n);return r(),a}}return t}function ln(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return e=>(t?sn:p.defineComponent)(e)}const cn="cubic-bezier(0.4, 0, 0.2, 1)";function un(t){const e=Dt("useRender");e.render=t}function hn(t){const{modelValue:e,color:n,...o}=t;return(0,p.createVNode)(p.Transition,{name:"fade-transition",appear:!0},{default:()=>[t.modelValue&&(0,p.createVNode)("div",(0,p.mergeProps)({class:["v-overlay__scrim",t.color.backgroundColorClasses.value],style:t.color.backgroundColorStyles.value},o),null)]})}const dn=L({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...Vt(),...Se(),...Ce(),...Me(),...ft(),...Pt(),...Ve(),...$e()},"VOverlay"),pn=ln()({name:"VOverlay",directives:{ClickOutside:tn},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...dn()},emits:{"click:outside":t=>!0,"update:modelValue":t=>!0,afterLeave:()=>!0},setup(t,e){let{slots:n,attrs:o,emit:i}=e;const r=Ie(t,"modelValue"),a=(0,p.computed)({get:()=>r.value,set:e=>{e&&t.disabled||(r.value=e)}}),{teleportTarget:s}=Ze((0,p.computed)((()=>t.attach||t.contained))),{themeClasses:l}=He(t),{rtlClasses:c,isRtl:u}=Ee(),{hasContent:h,onAfterLeave:d}=ze(t,a),f=ke((0,p.computed)((()=>"string"===typeof t.scrim?t.scrim:null))),{globalTop:m,localTop:g,stackStyles:v}=je(a,(0,p.toRef)(t,"zIndex"),t._disableGlobalStack),{activatorEl:y,activatorRef:_,activatorEvents:w,contentEvents:b,scrimEvents:x}=Ht(t,{isActive:a,isTop:g}),{dimensionStyles:k}=Te(t),C=Ae(),{scopeId:T}=We();(0,p.watch)((()=>t.disabled),(t=>{t&&(a.value=!1)}));const P=(0,p.ref)(),L=(0,p.ref)(),{contentStyles:M,updateLocation:z}=mt(t,{isRtl:u,contentEl:L,activatorEl:y,isActive:a});function O(e){i("click:outside",e),t.persistent?F():a.value=!1}function I(){return a.value&&m.value}function D(e){"Escape"===e.key&&m.value&&(t.persistent?F():(a.value=!1,L.value?.contains(document.activeElement)&&y.value?.focus()))}Lt(t,{root:P,contentEl:L,activatorEl:y,isActive:a,updateLocation:z}),A&&(0,p.watch)(a,(t=>{t?window.addEventListener("keydown",D):window.removeEventListener("keydown",D)}),{immediate:!0});const B=Re();S((()=>t.closeOnBack),(()=>{Be(B,(e=>{m.value&&a.value?(e(!1),t.persistent?F():a.value=!1):e()}))}));const W=(0,p.ref)();function F(){t.noClickAnimation||L.value&&E(L.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:cn})}return(0,p.watch)((()=>a.value&&(t.absolute||t.contained)&&null==s.value),(t=>{if(t){const t=st(P.value);t&&t!==document.scrollingElement&&(W.value=t.scrollTop)}})),un((()=>(0,p.createVNode)(p.Fragment,null,[n.activator?.({isActive:a.value,props:(0,p.mergeProps)({ref:_},w.value,t.activatorProps)}),C.value&&h.value&&(0,p.createVNode)(p.Teleport,{disabled:!s.value,to:s.value},{default:()=>[(0,p.createVNode)("div",(0,p.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:[v.value,{top:R(W.value)},t.style],ref:P},T,o),[(0,p.createVNode)(hn,(0,p.mergeProps)({color:f,modelValue:a.value&&!!t.scrim},x.value),null),(0,p.createVNode)(qe,{appear:!0,persisted:!0,transition:t.transition,target:y.value,onAfterLeave:()=>{d(),i("afterLeave")}},{default:()=>[(0,p.withDirectives)((0,p.createVNode)("div",(0,p.mergeProps)({ref:L,class:["v-overlay__content",t.contentClass],style:[k.value,M.value]},b.value,t.contentProps),[n.default?.({isActive:a})]),[[p.vShow,a.value],[(0,p.resolveDirective)("click-outside"),{handler:O,closeConditional:I,include:()=>[y.value]}]])]})])]})]))),{activatorEl:y,animateClick:F,contentEl:L,globalTop:m,localTop:g,updateLocation:z}}}),fn=Symbol("Forwarded refs");function mn(t,e){let n=t;while(n){const t=Reflect.getOwnPropertyDescriptor(n,e);if(t)return t;n=Object.getPrototypeOf(n)}}function gn(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o!0},setup(t,e){let{slots:n}=e;const o=Ie(t,"modelValue"),{scopeId:i}=We(),r=Nt(),a=(0,p.computed)((()=>t.id||`v-tooltip-${r}`)),s=(0,p.ref)(),l=(0,p.computed)((()=>t.location.split(" ").length>1?t.location:t.location+" center")),c=(0,p.computed)((()=>"auto"===t.origin||"overlap"===t.origin||t.origin.split(" ").length>1||t.location.split(" ").length>1?t.origin:t.origin+" center")),u=(0,p.computed)((()=>t.transition?t.transition:o.value?"scale-transition":"fade-transition")),h=(0,p.computed)((()=>(0,p.mergeProps)({"aria-describedby":a.value},t.activatorProps)));return un((()=>{const[e]=pn.filterProps(t);return(0,p.createVNode)(pn,(0,p.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{const e=t.icon;return(0,p.createVNode)(t.tag,null,{default:()=>[t.icon?(0,p.createVNode)(e,null,null):n.default?.()]})}}}),kn=sn({name:"VSvgIcon",inheritAttrs:!1,props:bn(),setup(t,e){let{attrs:n}=e;return()=>(0,p.createVNode)(t.tag,(0,p.mergeProps)(n,{style:null}),{default:()=>[(0,p.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,p.createVNode)("path",{d:t[0],"fill-opacity":t[1]},null):(0,p.createVNode)("path",{d:t},null))):(0,p.createVNode)("path",{d:t.icon},null)])]})}});sn({name:"VLigatureIcon",props:bn(),setup(t){return()=>(0,p.createVNode)(t.tag,null,{default:()=>[t.icon]})}}),sn({name:"VClassIcon",props:bn(),setup(t){return()=>(0,p.createVNode)(t.tag,{class:t.icon},null)}});const Sn=t=>{const e=(0,p.inject)(wn);if(!e)throw new Error("Missing Vuetify Icons provide!");const n=(0,p.computed)((()=>{const n=(0,p.unref)(t);if(!n)return{component:xn};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:kn,icon:o};if("string"!==typeof o)return{component:xn,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}},Cn=["x-small","small","default","large","x-large"],Tn=L({size:{type:[String,Number],default:"default"}},"size");function Pn(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Bt();return Y((()=>{let n,o;return K(Cn,t.size)?n=`${e}--size-${t.size}`:t.size&&(o={width:R(t.size),height:R(t.size)}),{sizeClasses:n,sizeStyles:o}}))}const Ln=L({tag:{type:String,default:"div"}},"tag"),An=L({color:String,start:Boolean,end:Boolean,icon:_n,...Se(),...Tn(),...Ln({tag:"i"}),...Ve()},"VIcon"),Mn=ln()({name:"VIcon",props:An(),setup(t,e){let{attrs:n,slots:o}=e;const i=(0,p.ref)(),{themeClasses:r}=He(t),{iconData:a}=Sn((0,p.computed)((()=>i.value||t.icon))),{sizeClasses:s}=Pn(t),{textColorClasses:l,textColorStyles:c}=xe((0,p.toRef)(t,"color"));return un((()=>{const e=o.default?.();return e&&(i.value=q(e).filter((t=>t.type===p.Text&&t.children&&"string"===typeof t.children))[0]?.children),(0,p.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 zn(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 On(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,o=new Array(e);n-1;i--){var r=n[i],a=(r.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(o=r)}return lo.head.insertBefore(e,o),t}}var oi="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ii(){var t=12,e="";while(t-- >0)e+=oi[62*Math.random()|0];return e}function ri(t){for(var e=[],n=(t||[]).length>>>0;n--;)e[n]=t[n];return e}function ai(t){return t.classList?ri(t.classList):(t.getAttribute("class")||"").split(" ").filter((function(t){return t}))}function si(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function li(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(si(t[n]),'" ')}),"").trim()}function ci(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n].trim(),";")}),"")}function ui(t){return t.size!==ei.size||t.x!==ei.x||t.y!==ei.y||t.rotate!==ei.rotate||t.flipX||t.flipY}function hi(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 di(t){var e=t.transform,n=t.width,o=void 0===n?mo:n,i=t.height,r=void 0===i?mo:i,a=t.startCentered,s=void 0!==a&&a,l="";return l+=s&&po?"translate(".concat(e.x/ti-o/2,"em, ").concat(e.y/ti-r/2,"em) "):s?"translate(calc(-50% + ".concat(e.x/ti,"em), calc(-50% + ").concat(e.y/ti,"em)) "):"translate(".concat(e.x/ti,"em, ").concat(e.y/ti,"em) "),l+="scale(".concat(e.size/ti*(e.flipX?-1:1),", ").concat(e.size/ti*(e.flipY?-1:1),") "),l+="rotate(".concat(e.rotate,"deg) "),l}var pi=':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-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 fi(){var t=go,e=vo,n=Jo.cssPrefix,o=Jo.replacementClass,i=pi;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 mi=!1;function gi(){Jo.autoAddCss&&!mi&&(ni(fi()),mi=!0)}var vi={mixout:function(){return{dom:{css:fi,insertCss:gi}}},hooks:function(){return{beforeDOMElementCreation:function(){gi()},beforeI2svg:function(){gi()}}}},yi=so||{};yi[fo]||(yi[fo]={}),yi[fo].styles||(yi[fo].styles={}),yi[fo].hooks||(yi[fo].hooks={}),yi[fo].shims||(yi[fo].shims=[]);var _i=yi[fo],wi=[],bi=function t(){lo.removeEventListener("DOMContentLoaded",t),xi=1,wi.map((function(t){return t()}))},xi=!1;function ki(t){ho&&(xi?setTimeout(t,0):wi.push(t))}function Si(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?si(t):"<".concat(e," ").concat(li(o),">").concat(r.map(Si).join(""),"")}function Ci(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}ho&&(xi=(lo.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(lo.readyState),xi||lo.addEventListener("DOMContentLoaded",bi));var Ti=function(t,e){return function(n,o,i,r){return t.call(e,n,o,i,r)}},Pi=function(t,e,n,o){var i,r,a,s=Object.keys(t),l=s.length,c=void 0!==o?Ti(e,o):e;for(void 0===n?(i=1,a=t[s[0]]):(i=0,a=n);i=55296&&i<=56319&&n=55296&&i<=56319&&o>e+1&&(n=t.charCodeAt(e+1),n>=56320&&n<=57343)?1024*(i-55296)+n-56320+65536:i}function zi(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 Oi(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.skipHooks,i=void 0!==o&&o,r=zi(e);"function"!==typeof _i.hooks.addPack||i?_i.styles[t]=On(On({},_i.styles[t]||{}),r):_i.hooks.addPack(t,zi(e)),"fas"===t&&Oi("fa",e)}var Ei,Ii,Ri,Di=_i.styles,Bi=_i.shims,Wi=(Ei={},Bn(Ei,Po,Object.values(Eo[Po])),Bn(Ei,Lo,Object.values(Eo[Lo])),Ei),Fi=null,Ni={},ji={},Zi={},Ui={},Vi={},Hi=(Ii={},Bn(Ii,Po,Object.keys(zo[Po])),Bn(Ii,Lo,Object.keys(zo[Lo])),Ii);function $i(t){return~Vo.indexOf(t)}function qi(t,e){var n=e.split("-"),o=n[0],i=n.slice(1).join("-");return o!==t||""===i||$i(i)?null:i}var Gi=function(){var t=function(t){return Pi(Di,(function(e,n,o){return e[o]=Pi(n,t,{}),e}),{})};Ni=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})),ji=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})),Vi=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 Di||Jo.autoFetchSvg,n=Pi(Bi,(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:{}});Zi=n.names,Ui=n.unicodes,Fi=nr(Jo.styleDefault,{family:Jo.familyDefault})};function Yi(t,e){return(Ni[t]||{})[e]}function Ki(t,e){return(ji[t]||{})[e]}function Ji(t,e){return(Vi[t]||{})[e]}function Xi(t){return Zi[t]||{prefix:null,iconName:null}}function Qi(t){var e=Ui[t],n=Yi("fas",t);return e||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function tr(){return Fi}Qo((function(t){Fi=nr(t.styleDefault,{family:Jo.familyDefault})})),Gi();var er=function(){return{prefix:null,iconName:null,rest:[]}};function nr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.family,o=void 0===n?Po:n,i=zo[o][t],r=Oo[o][t]||Oo[o][i],a=t in _i.styles?t:null;return r||a||null}var or=(Ri={},Bn(Ri,Po,Object.keys(Eo[Po])),Bn(Ri,Lo,Object.keys(Eo[Lo])),Ri);function ir(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.skipLookups,i=void 0!==o&&o,r=(e={},Bn(e,Po,"".concat(Jo.cssPrefix,"-").concat(Po)),Bn(e,Lo,"".concat(Jo.cssPrefix,"-").concat(Lo)),e),a=null,s=Po;(t.includes(r[Po])||t.some((function(t){return or[Po].includes(t)})))&&(s=Po),(t.includes(r[Lo])||t.some((function(t){return or[Lo].includes(t)})))&&(s=Lo);var l=t.reduce((function(t,e){var n=qi(Jo.cssPrefix,e);if(Di[e]?(e=Wi[s].includes(e)?Io[s][e]:e,a=e,t.prefix=e):Hi[s].indexOf(e)>-1?(a=e,t.prefix=nr(e,{family:s})):n?t.iconName=n:e!==Jo.replacementClass&&e!==r[Po]&&e!==r[Lo]&&t.rest.push(e),!i&&t.prefix&&t.iconName){var o="fa"===a?Xi(t.iconName):{},l=Ji(t.prefix,t.iconName);o.prefix&&(a=null),t.iconName=o.iconName||l||t.iconName,t.prefix=o.prefix||t.prefix,"far"!==t.prefix||Di["far"]||!Di["fas"]||Jo.autoFetchSvg||(t.prefix="fas")}return t}),er());return(t.includes("fa-brands")||t.includes("fab"))&&(l.prefix="fab"),(t.includes("fa-duotone")||t.includes("fad"))&&(l.prefix="fad"),l.prefix||s!==Lo||!Di["fass"]&&!Jo.autoFetchSvg||(l.prefix="fass",l.iconName=Ji(l.prefix,l.iconName)||l.iconName),"fa"!==l.prefix&&"fa"!==a||(l.prefix=tr()||"fas"),l}var rr=function(){function t(){In(this,t),this.definitions={}}return Dn(t,[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),o=0;o0&&s.forEach((function(e){"string"===typeof e&&(t[i][e]=a)})),t[i][r]=a})),t}}]),t}(),ar=[],sr={},lr={},cr=Object.keys(lr);function ur(t,e){var n=e.mixoutsTo;return ar=t,sr={},Object.keys(lr).forEach((function(t){-1===cr.indexOf(t)&&delete lr[t]})),ar.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"===En(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){sr[t]||(sr[t]=[]),sr[t].push(o[t])}))}t.provides&&t.provides(lr)})),n}function hr(t,e){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i1?e-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{};return ho?(dr("beforeI2svg",t),pr("pseudoElements2svg",t),pr("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===Jo.autoReplaceSvg&&(Jo.autoReplaceSvg=!0),Jo.observeMutations=!0,ki((function(){wr({autoReplaceSvgRoot:e}),dr("watch",t)}))}},yr={icon:function(t){if(null===t)return null;if("object"===En(t)&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Ji(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=nr(t[0]);return{prefix:n,iconName:Ji(n,e)||e}}if("string"===typeof t&&(t.indexOf("".concat(Jo.cssPrefix,"-"))>-1||t.match(Ro))){var o=ir(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||tr(),iconName:Ji(o.prefix,o.iconName)||o.iconName}}if("string"===typeof t){var i=tr();return{prefix:i,iconName:Ji(i,t)||t}}}},_r={noAuto:gr,config:Jo,dom:vr,parse:yr,library:mr,findIconDefinition:fr,toHtml:Si},wr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,n=void 0===e?lo:e;(Object.keys(_i.styles).length>0||Jo.autoFetchSvg)&&ho&&Jo.autoReplaceSvg&&_r.dom.i2svg({node:n})};function br(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return Si(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(ho){var e=lo.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function xr(t){var e=t.children,n=t.main,o=t.mask,i=t.attributes,r=t.styles,a=t.transform;if(ui(a)&&n.found&&!o.found){var s=n.width,l=n.height,c={x:s/l/2,y:.5};i["style"]=ci(On(On({},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 kr(t){var e=t.prefix,n=t.iconName,o=t.children,i=t.attributes,r=t.symbol,a=!0===r?"".concat(e,"-").concat(Jo.cssPrefix,"-").concat(n):r;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:On(On({},i),{},{id:a}),children:o}]}]}function Sr(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,p=void 0!==d&&d,f=o.found?o:n,m=f.width,g=f.height,v="fak"===i,y=[Jo.replacementClass,r?"".concat(Jo.cssPrefix,"-").concat(r):""].filter((function(t){return-1===h.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(h.classes).join(" "),_={children:[],attributes:On(On({},h.attributes),{},{"data-prefix":i,"data-icon":r,class:y,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(g)})},w=v&&!~h.classes.indexOf("fa-fw")?{width:"".concat(m/g*16*.0625,"em")}:{};p&&(_.attributes[yo]=""),l&&(_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(u||ii())},children:[l]}),delete _.attributes.title);var b=On(On({},_),{},{prefix:i,iconName:r,main:n,mask:o,maskId:c,transform:a,symbol:s,styles:On(On({},w),h.styles)}),x=o.found&&n.found?pr("generateAbstractMask",b)||{children:[],attributes:{}}:pr("generateAbstractIcon",b)||{children:[],attributes:{}},k=x.children,S=x.attributes;return b.children=k,b.attributes=S,s?kr(b):xr(b)}function Cr(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=On(On(On({},a.attributes),r?{title:r}:{}),{},{class:a.classes.join(" ")});l&&(c[yo]="");var u=On({},a.styles);ui(i)&&(u["transform"]=di({transform:i,startCentered:!0,width:n,height:o}),u["-webkit-transform"]=u["transform"]);var h=ci(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 Tr(t){var e=t.content,n=t.title,o=t.extra,i=On(On(On({},o.attributes),n?{title:n}:{}),{},{class:o.classes.join(" ")}),r=ci(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 Pr=_i.styles;function Lr(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(Jo.cssPrefix,"-").concat(Zo.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Jo.cssPrefix,"-").concat(Zo.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Jo.cssPrefix,"-").concat(Zo.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:e,height:n,icon:a}}var Ar={found:!1,width:512,height:512};function Mr(t,e){To||Jo.showMissingIcons||!t||console.error('Icon with name "'.concat(t,'" and prefix "').concat(e,'" is missing.'))}function zr(t,e){var n=e;return"fa"===e&&null!==Jo.styleDefault&&(e=tr()),new Promise((function(o,i){pr("missingIconAbstract");if("fa"===n){var r=Xi(t)||{};t=r.iconName||t,e=r.prefix||e}if(t&&e&&Pr[e]&&Pr[e][t]){var a=Pr[e][t];return o(Lr(a))}Mr(t,e),o(On(On({},Ar),{},{icon:Jo.showMissingIcons&&t&&pr("missingIconAbstract")||{}}))}))}var Or=function(){},Er=Jo.measurePerformance&&uo&&uo.mark&&uo.measure?uo:{mark:Or,measure:Or},Ir='FA "6.4.2"',Rr=function(t){return Er.mark("".concat(Ir," ").concat(t," begins")),function(){return Dr(t)}},Dr=function(t){Er.mark("".concat(Ir," ").concat(t," ends")),Er.measure("".concat(Ir," ").concat(t),"".concat(Ir," ").concat(t," begins"),"".concat(Ir," ").concat(t," ends"))},Br={begin:Rr,end:Dr},Wr=function(){};function Fr(t){var e=t.getAttribute?t.getAttribute(yo):null;return"string"===typeof e}function Nr(t){var e=t.getAttribute?t.getAttribute(bo):null,n=t.getAttribute?t.getAttribute(xo):null;return e&&n}function jr(t){return t&&t.classList&&t.classList.contains&&t.classList.contains(Jo.replacementClass)}function Zr(){if(!0===Jo.autoReplaceSvg)return qr.replace;var t=qr[Jo.autoReplaceSvg];return t||qr.replace}function Ur(t){return lo.createElementNS("http://www.w3.org/2000/svg",t)}function Vr(t){return lo.createElement(t)}function Hr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.ceFn,o=void 0===n?"svg"===t.tag?Ur:Vr:n;if("string"===typeof t)return lo.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(Hr(t,{ceFn:o}))})),i}function $r(t){var e=" ".concat(t.outerHTML," ");return e="".concat(e,"Font Awesome fontawesome.com "),e}var qr={replace:function(t){var e=t[0];if(e.parentNode)if(t[1].forEach((function(t){e.parentNode.insertBefore(Hr(t),e)})),null===e.getAttribute(yo)&&Jo.keepOriginalSource){var n=lo.createComment($r(e));e.parentNode.replaceChild(n,e)}else e.remove()},nest:function(t){var e=t[0],n=t[1];if(~ai(e).indexOf(Jo.replacementClass))return qr.replace(t);var o=new RegExp("".concat(Jo.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(t,e){return e===Jo.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 Si(t)})).join("\n");e.setAttribute(yo,""),e.innerHTML=r}};function Gr(t){t()}function Yr(t,e){var n="function"===typeof e?e:Wr;if(0===t.length)n();else{var o=Gr;Jo.mutateApproach===So&&(o=so.requestAnimationFrame||Gr),o((function(){var e=Zr(),o=Br.begin("mutate");t.map(e),o(),n()}))}}var Kr=!1;function Jr(){Kr=!0}function Xr(){Kr=!1}var Qr=null;function ta(t){if(co&&Jo.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?lo:s;Qr=new co((function(t){if(!Kr){var e=tr();ri(t).forEach((function(t){if("childList"===t.type&&t.addedNodes.length>0&&!Fr(t.addedNodes[0])&&(Jo.searchPseudoElements&&a(t.target),n(t.target)),"attributes"===t.type&&t.target.parentNode&&Jo.searchPseudoElements&&a(t.target.parentNode),"attributes"===t.type&&Fr(t.target)&&~jo.indexOf(t.attributeName))if("class"===t.attributeName&&Nr(t.target)){var o=ir(ai(t.target)),r=o.prefix,s=o.iconName;t.target.setAttribute(bo,r||e),s&&t.target.setAttribute(xo,s)}else jr(t.target)&&i(t.target)}))}})),ho&&Qr.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function ea(){Qr&&Qr.disconnect()}function na(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 oa(t){var e=t.getAttribute("data-prefix"),n=t.getAttribute("data-icon"),o=void 0!==t.innerText?t.innerText.trim():"",i=ir(ai(t));return i.prefix||(i.prefix=tr()),e&&n&&(i.prefix=e,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&o.length>0&&(i.iconName=Ki(i.prefix,t.innerText)||Yi(i.prefix,Ai(t.innerText))),!i.iconName&&Jo.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=t.firstChild.data)),i}function ia(t){var e=ri(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 Jo.autoA11y&&(n?e["aria-labelledby"]="".concat(Jo.replacementClass,"-title-").concat(o||ii()):(e["aria-hidden"]="true",e["focusable"]="false")),e}function ra(){return{iconName:null,title:null,titleId:null,prefix:null,transform:ei,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function aa(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=oa(t),o=n.iconName,i=n.prefix,r=n.rest,a=ia(t),s=hr("parseNodeAttributes",{},t),l=e.styleParser?na(t):[];return On({iconName:o,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:i,transform:ei,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:r,styles:l,attributes:a}},s)}var sa=_i.styles;function la(t){var e="nest"===Jo.autoReplaceSvg?aa(t,{styleParser:!1}):aa(t);return~e.extra.classes.indexOf(Do)?pr("generateLayersText",t,e):pr("generateSvgReplacementMutation",t,e)}var ca=new Set;function ua(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!ho)return Promise.resolve();var n=lo.documentElement.classList,o=function(t){return n.add("".concat(ko,"-").concat(t))},i=function(t){return n.remove("".concat(ko,"-").concat(t))},r=Jo.autoFetchSvg?ca:Ao.map((function(t){return"fa-".concat(t)})).concat(Object.keys(sa));r.includes("fa")||r.push("fa");var a=[".".concat(Do,":not([").concat(yo,"])")].concat(r.map((function(t){return".".concat(t,":not([").concat(yo,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=ri(t.querySelectorAll(a))}catch(Zl){}if(!(s.length>0))return Promise.resolve();o("pending"),i("complete");var l=Br.begin("onTree"),c=s.reduce((function(t,e){try{var n=la(e);n&&t.push(n)}catch(Zl){To||"MissingIcon"===Zl.name&&console.error(Zl)}return t}),[]);return new Promise((function(t,n){Promise.all(c).then((function(n){Yr(n,(function(){o("active"),o("complete"),i("pending"),"function"===typeof e&&e(),l(),t()}))})).catch((function(t){l(),n(t)}))}))}function ha(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;la(t).then((function(t){t&&Yr([t],e)}))}function da(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(e||{}).icon?e:fr(e||{}),i=n.mask;return i&&(i=(i||{}).icon?i:fr(i||{})),t(o,On(On({},n),{},{mask:i}))}}Ao.map((function(t){ca.add("fa-".concat(t))})),Object.keys(zo[Po]).map(ca.add.bind(ca)),Object.keys(zo[Lo]).map(ca.add.bind(ca)),ca=Fn(ca);var pa=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,o=void 0===n?ei: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,p=void 0===d?null:d,f=e.classes,m=void 0===f?[]:f,g=e.attributes,v=void 0===g?{}:g,y=e.styles,_=void 0===y?{}:y;if(t){var w=t.prefix,b=t.iconName,x=t.icon;return br(On({type:"icon"},t),(function(){return dr("beforeDOMElementCreation",{iconDefinition:t,params:e}),Jo.autoA11y&&(h?v["aria-labelledby"]="".concat(Jo.replacementClass,"-title-").concat(p||ii()):(v["aria-hidden"]="true",v["focusable"]="false")),Sr({icons:{main:Lr(x),mask:s?Lr(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:b,transform:On(On({},ei),o),symbol:r,title:h,maskId:c,titleId:p,extra:{attributes:v,styles:_,classes:m}})}))}},fa={mixout:function(){return{icon:da(pa)}},hooks:function(){return{mutationObserverCallbacks:function(t){return t.treeCallback=ua,t.nodeCallback=ha,t}}},provides:function(t){t.i2svg=function(t){var e=t.node,n=void 0===e?lo:e,o=t.callback,i=void 0===o?function(){}:o;return ua(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([zr(n,r),l.iconName?zr(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(l){var h=Wn(l,2),d=h[0],p=h[1];e([t,Sr({icons:{main:d,mask:p},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=ci(a);return s.length>0&&(o["style"]=s),ui(r)&&(e=pr("generateAbstractTransformGrouping",{main:i,transform:r,containerWidth:i.width,iconWidth:i.width})),n.push(e||i.icon),{children:n,attributes:o}}}},ma={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 br({type:"layer"},(function(){dr("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(Jo.cssPrefix,"-layers")].concat(Fn(o)).join(" ")},children:n}]}))}}}},ga={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 br({type:"counter",content:t},(function(){return dr("beforeDOMElementCreation",{content:t,params:e}),Tr({content:t.toString(),title:o,extra:{attributes:s,styles:c,classes:["".concat(Jo.cssPrefix,"-layers-counter")].concat(Fn(r))}})}))}}}},va={mixout:function(){return{text:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,o=void 0===n?ei: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 br({type:"text",content:t},(function(){return dr("beforeDOMElementCreation",{content:t,params:e}),Cr({content:t,transform:On(On({},ei),o),title:r,extra:{attributes:c,styles:h,classes:["".concat(Jo.cssPrefix,"-layers-text")].concat(Fn(s))}})}))}}},provides:function(t){t.generateLayersText=function(t,e){var n=e.title,o=e.transform,i=e.extra,r=null,a=null;if(po){var s=parseInt(getComputedStyle(t).fontSize,10),l=t.getBoundingClientRect();r=l.width/s,a=l.height/s}return Jo.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,Cr({content:t.innerHTML,width:r,height:a,transform:o,title:n,extra:i,watchable:!0})])}}},ya=new RegExp('"',"ug"),_a=[1105920,1112319];function wa(t){var e=t.replace(ya,""),n=Mi(e,0),o=n>=_a[0]&&n<=_a[1],i=2===e.length&&e[0]===e[1];return{value:Ai(i?e[0]:e),isSecondary:o||i}}function ba(t,e){var n="".concat(wo).concat(e.replace(":","-"));return new Promise((function(o,i){if(null!==t.getAttribute(n))return o();var r=ri(t.children),a=r.filter((function(t){return t.getAttribute(_o)===e}))[0],s=so.getComputedStyle(t,e),l=s.getPropertyValue("font-family").match(Bo),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])?Lo:Po,p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?Oo[d][l[2].toLowerCase()]:Wo[d][c],f=wa(h),m=f.value,g=f.isSecondary,v=l[0].startsWith("FontAwesome"),y=Yi(p,m),_=y;if(v){var w=Qi(m);w.iconName&&w.prefix&&(y=w.iconName,p=w.prefix)}if(!y||g||a&&a.getAttribute(bo)===p&&a.getAttribute(xo)===_)o();else{t.setAttribute(n,_),a&&t.removeChild(a);var b=ra(),x=b.extra;x.attributes[_o]=e,zr(y,p).then((function(i){var r=Sr(On(On({},b),{},{icons:{main:i,mask:er()},prefix:p,iconName:_,extra:x,watchable:!0})),a=lo.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 Si(t)})).join("\n"),t.removeAttribute(n),o()})).catch(i)}}else o()}))}function xa(t){return Promise.all([ba(t,"::before"),ba(t,"::after")])}function ka(t){return t.parentNode!==document.head&&!~Co.indexOf(t.tagName.toUpperCase())&&!t.getAttribute(_o)&&(!t.parentNode||"svg"!==t.parentNode.tagName)}function Sa(t){if(ho)return new Promise((function(e,n){var o=ri(t.querySelectorAll("*")).filter(ka).map(xa),i=Br.begin("searchPseudoElements");Jr(),Promise.all(o).then((function(){i(),Xr(),e()})).catch((function(){i(),Xr(),n()}))}))}var Ca={hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=Sa,t}}},provides:function(t){t.pseudoElements2svg=function(t){var e=t.node,n=void 0===e?lo:e;Jo.searchPseudoElements&&Sa(n)}}},Ta=!1,Pa={mixout:function(){return{dom:{unwatch:function(){Jr(),Ta=!0}}}},hooks:function(){return{bootstrap:function(){ta(hr("mutationObserverCallbacks",{}))},noAuto:function(){ea()},watch:function(t){var e=t.observeMutationsRoot;Ta?Xr():ta(hr("mutationObserverCallbacks",{observeMutationsRoot:e}))}}}},La=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)},Aa={mixout:function(){return{parse:{transform:function(t){return La(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-transform");return n&&(t.transform=La(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:On({},h.outer),children:[{tag:"g",attributes:On({},h.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:On(On({},e.icon.attributes),h.path)}]}]}}}},Ma={x:0,y:0,width:"100%",height:"100%"};function za(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 Oa(t){return"g"===t.tag?t.children:[t]}var Ea={hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-mask"),o=n?ir(n.split(" ").map((function(t){return t.trim()}))):er();return o.prefix||(o.prefix=tr()),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=hi({transform:a,containerWidth:c,iconWidth:s}),d={tag:"rect",attributes:On(On({},Ma),{},{fill:"white"})},p=l.children?{children:l.children.map(za)}:{},f={tag:"g",attributes:On({},h.inner),children:[za(On({tag:l.tag,attributes:On(On({},l.attributes),h.path)},p))]},m={tag:"g",attributes:On({},h.outer),children:[f]},g="mask-".concat(r||ii()),v="clip-".concat(r||ii()),y={tag:"mask",attributes:On(On({},Ma),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[d,m]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:Oa(u)},y]};return e.push(_,{tag:"rect",attributes:On({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(g,")")},Ma)}),{children:e,attributes:n}}}},Ia={provides:function(t){var e=!1;so.matchMedia&&(e=so.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:On(On({},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=On(On({},o),{},{attributeName:"opacity"}),r={tag:"circle",attributes:On(On({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||r.children.push({tag:"animate",attributes:On(On({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:On(On({},i),{},{values:"1;0;1;1;0;1;"})}),t.push(r),t.push({tag:"path",attributes:On(On({},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:On(On({},i),{},{values:"1;0;0;0;0;1;"})}]}),e||t.push({tag:"path",attributes:On(On({},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:On(On({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:t}}}},Ra={hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-symbol"),o=null!==n&&(""===n||n);return t["symbol"]=o,t}}}},Da=[vi,fa,ma,ga,va,Ca,Pa,Aa,Ea,Ia,Ra];ur(Da,{mixoutsTo:_r});_r.noAuto;var Ba=_r.config,Wa=_r.library,Fa=(_r.dom,_r.parse),Na=(_r.findIconDefinition,_r.toHtml,_r.icon),ja=(_r.layer,_r.text);_r.counter;function Za(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=0||(i[n]=t[n]);return i}function qa(t,e){if(null==t)return{};var n,o,i=$a(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ga(t){return Ya(t)||Ka(t)||Ja(t)||Qa()}function Ya(t){if(Array.isArray(t))return Xa(t)}function Ka(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function Ja(t,e){if(t){if("string"===typeof t)return Xa(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)?Xa(t,e):void 0}}function Xa(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n1&&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 as(t)})),i=Object.keys(t.attributes||{}).reduce((function(e,n){var o=t.attributes[n];switch(n){case"class":e.class=rs(o);break;case"style":e.style=is(o);break;default:e.attrs[n]=o}return e}),{attrs:{},class:{},style:{}});n.class;var r=n.style,a=void 0===r?{}:r,s=qa(n,os);return(0,p.h)(t.tag,Ua(Ua(Ua({},e),{},{class:i.class,style:Ua(Ua({},i.style),a)},i.attrs),s),o)}var ss=!1;try{ss=!0}catch(Zl){}function ls(){var t;!ss&&console&&"function"===typeof console.error&&(t=console).error.apply(t,arguments)}function cs(t,e){return Array.isArray(e)&&e.length>0||!Array.isArray(e)&&e?Ha({},t,e):{}}function us(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},Ha(e,"fa-".concat(t.size),null!==t.size),Ha(e,"fa-rotate-".concat(t.rotation),null!==t.rotation),Ha(e,"fa-pull-".concat(t.pull),null!==t.pull),Ha(e,"fa-swap-opacity",t.swapOpacity),Ha(e,"fa-bounce",t.bounce),Ha(e,"fa-shake",t.shake),Ha(e,"fa-beat",t.beat),Ha(e,"fa-fade",t.fade),Ha(e,"fa-beat-fade",t.beatFade),Ha(e,"fa-flash",t.flash),Ha(e,"fa-spin-pulse",t.spinPulse),Ha(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 hs(t){return t&&"object"===Va(t)&&t.prefix&&t.iconName&&t.icon?t:Fa.icon?Fa.icon(t):null===t?null:"object"===Va(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 ds=(0,p.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},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},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,p.computed)((function(){return hs(t.icon)})),i=(0,p.computed)((function(){return cs("classes",us(t))})),r=(0,p.computed)((function(){return cs("transform","string"===typeof t.transform?Fa.transform(t.transform):t.transform)})),a=(0,p.computed)((function(){return cs("mask",hs(t.mask))})),s=(0,p.computed)((function(){return Na(o.value,Ua(Ua(Ua(Ua({},i.value),r.value),a.value),{},{symbol:t.symbol,title:t.title}))}));(0,p.watch)(s,(function(t){if(!t)return ls("Could not find one or more icon(s)",o.value,a.value)}),{immediate:!0});var l=(0,p.computed)((function(){return s.value?as(s.value.abstract[0],{},n):null}));return function(){return l.value}}});(0,p.defineComponent)({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,e){var n=e.slots,o=Ba.familyPrefix,i=(0,p.computed)((function(){return["".concat(o,"-layers")].concat(Ga(t.fixedWidth?["".concat(o,"-fw")]:[]))}));return function(){return(0,p.h)("div",{class:i.value},n.default?n.default():[])}}}),(0,p.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=Ba.familyPrefix,i=(0,p.computed)((function(){return cs("classes",[].concat(Ga(t.counter?["".concat(o,"-layers-counter")]:[]),Ga(t.position?["".concat(o,"-layers-").concat(t.position)]:[])))})),r=(0,p.computed)((function(){return cs("transform","string"===typeof t.transform?Fa.transform(t.transform):t.transform)})),a=(0,p.computed)((function(){var e=ja(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,p.computed)((function(){return as(a.value,{},n)}));return function(){return s.value}}});const ps=(0,p.defineComponent)({components:{"v-tooltip":yn,"v-icon":Mn,"font-awesome-icon":ds},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}}});r(17);var fs=r(959);const ms=(0,fs.Z)(ps,[["render",k]]),gs=ms;var vs={class:"map-container"};function ys(t,e,n,o,i,r){return(0,p.openBlock)(),(0,p.createElementBlock)("div",vs)}var _s=r(344),ws=r.n(_s);r(830);function bs(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 xs=bs(),ks=new Map,Ss={x:["left","center","right"],y:["top","bottom"]},Cs=(t=>()=>t++)(0),Ts=t=>"string"!=typeof t?[]:t.split(/\s+/gi).filter((t=>t)),Ps=t=>{"string"==typeof t&&(t=Ts(t));let e=null,n=null;return t.forEach((t=>{-1!==Ss.y.indexOf(t)&&(n=t),-1!==Ss.x.indexOf(t)&&(e=t)})),{x:e,y:n}};class Ls{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 As={position:["top","right"],cssAnimation:"vn-fade",velocityAnimation:{enter:t=>({height:[t.clientHeight,0],opacity:[1,0]}),leave:{height:0,opacity:[0,1]}}},Ms=(0,p.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")}}}),zs=(t,e)=>{const n=t.__vccOpts||t;for(const[o,i]of e)n[o]=i;return n};function Os(t,e,n,o,i,r){return(0,p.openBlock)(),(0,p.createBlock)(p.TransitionGroup,{tag:"span",css:!1,onEnter:t.enter,onLeave:t.leave,onAfterLeave:t.afterLeave},{default:(0,p.withCtx)((()=>[(0,p.renderSlot)(t.$slots,"default")])),_:3},8,["onEnter","onLeave","onAfterLeave"])}const Es=zs(Ms,[["render",Os]]),Is=(0,p.defineComponent)({name:"css-group",inheritAttrs:!1,props:{name:{type:String,required:!0}}});function Rs(t,e,n,o,i,r){return(0,p.openBlock)(),(0,p.createBlock)(p.TransitionGroup,{tag:"span",name:t.name},{default:(0,p.withCtx)((()=>[(0,p.renderSlot)(t.$slots,"default")])),_:3},8,["name"])}const Ds=zs(Is,[["render",Rs]]),Bs="[-+]?[0-9]*.?[0-9]+",Ws=[{name:"px",regexp:new RegExp(`^${Bs}px$`)},{name:"%",regexp:new RegExp(`^${Bs}%$`)},{name:"px",regexp:new RegExp(`^${Bs}$`)}],Fs=t=>{if("auto"===t)return{type:t,value:0};for(let e=0;e{switch(typeof t){case"number":return{type:"px",value:t};case"string":return Fs(t);default:return{type:"",value:t}}},js={IDLE:0,DESTROYED:2};(0,p.defineComponent)({name:"notifications",components:{VelocityGroup:Es,CssGroup:Ds},props:{group:{type:String,default:""},width:{type:[Number,String],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array],default:As.position},classes:{type:String,default:"vue-notification"},animationType:{type:String,default:"css"},animation:{type:Object,default:As.velocityAnimation},animationName:{type:String,default:As.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:ks.get("velocity"),timerControl:null}},computed:{actualWidth(){return Ns(this.width)},isVA(){return"velocity"===this.animationType},componentName(){return this.isVA?"velocity-group":"css-group"},styles(){const{x:t,y:e}=Ps(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!==js.DESTROYED))},botToTop(){return this.styles.hasOwnProperty("bottom")}},mounted(){xs.on("add",this.addItem),xs.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||Cs(),title:i,text:r,type:a,state:js.IDLE,speed:n,length:e+2*n,data:s};e>=0&&(this.timerControl=new Ls((()=>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=js.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!==js.DESTROYED))}}});const Zs=t=>{"string"==typeof t&&(t={title:"",text:t}),"object"==typeof t&&xs.emit("add",t)};Zs.close=t=>{xs.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 Us={templateUrl:"https://{s}.google.com/vt/lyrs=p&x={x}&y={y}&z={z}",minZoom:1,maxZoom:20,subdomains:["mt0","mt1","mt2","mt3"],attribution:'© Google Maps',className:"map-tiles"};const Vs=(0,p.defineComponent)({emits:["place","update:modelValue","error"],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 Us}},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}}},worldRadii:{type:Boolean,default:!1}},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?Zs({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,o(o({},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,n,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===(n=this.map)||void 0===n?void 0:n.getZoom())&&void 0!==i?i:c,h=ws().map(s).setView(l,u),d=o(o({},Us),this.mapOptions);ws().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("click",this.onMapSelect),h.attributionControl.setPrefix('Leaflet'),this.map=h},updateValue:function(t){this.$emit("update:modelValue",t)},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?ws().circle:ws().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)}}});r(760);const Hs=(0,fs.Z)(Vs,[["render",ys]]),$s=Hs;var qs={id:"credits",class:"ui-text"},Gs=(0,p.createElementVNode)("div",{id:"icons-container"},null,-1),Ys=[Gs];function Ks(t,e,n,o,i,r){return(0,p.openBlock)(),(0,p.createElementBlock)("div",qs,Ys)}const Js=(0,p.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:{}});r(727);const Xs=(0,fs.Z)(Js,[["render",Ks]]),Qs=Xs;var tl={id:"funding-acknowledgment"};function el(t,e,n,o,i,r){return(0,p.openBlock)(),(0,p.createElementBlock)("div",tl," 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 nl=(0,p.defineComponent)({props:{visible:{type:Boolean,default:!0}},data:function(){return{}},created:function(){},methods:{},computed:{},watch:{}});r(860);const ol=(0,fs.Z)(nl,[["render",el]]),il=ol;var rl=function(){function t(t,e){this.displayName=t,this.imagesetName=e}return t}(),al=[new rl("Optical (Terapixel DSS)","Digitized Sky Survey (Color)"),new rl("Low-frequency radio (VLSS)","VLSS: VLA Low-frequency Sky Survey (Radio)"),new rl("Infrared (2MASS)","2Mass: Imagery (Infrared)"),new rl("Infrared (SFD dust map)","SFD Dust Map (Infrared)"),new rl("Ultraviolet (GALEX)","GALEX (Ultraviolet)"),new rl("X-Ray (ROSAT RASS)","RASS: ROSAT All Sky Survey (X-ray)"),new rl("Gamma Rays (FERMI LAT 8-year)","Fermi LAT 8-year (gamma)")],sl={class:"default-activator-title noselect"},ll=["src"],cl={class:"gallery-header"},ul={class:"gallery-title"},hl={class:"gallery-content"},dl=["onClick"],pl=["src"],fl={class:"place-name noselect"};function ml(t,e,n,o,i,r){var a=(0,p.resolveComponent)("font-awesome-icon");return(0,p.openBlock)(),(0,p.createElementBlock)("div",{class:(0,p.normalizeClass)(["gallery-root",{open:t.open}])},[(0,p.createElementVNode)("div",{class:"just-holding-events",onClick:e[2]||(e[2]=function(e){return t.open=!0}),onKeyup:e[3]||(e[3]=(0,p.withKeys)((function(e){return t.open=!0}),["enter"])),tabindex:"0"},[t.open?(0,p.createCommentVNode)("",!0):(0,p.renderSlot)(t.$slots,"closed",{key:0},(function(){var n,o;return[(0,p.createElementVNode)("div",{class:"default-activator blurred",onClick:e[0]||(e[0]=function(e){return t.open=!0}),onKeyup:e[1]||(e[1]=(0,p.withKeys)((function(e){return t.open=!0}),["enter"]))},[(0,p.createElementVNode)("span",sl,(0,p.toDisplayString)(t.closedText),1),(0,p.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,ll)],32)]}))],32),t.open?((0,p.openBlock)(),(0,p.createElementBlock)("div",{key:0,style:(0,p.normalizeStyle)(t.cssVars),class:"gallery blurred"},[(0,p.createElementVNode)("div",cl,[(0,p.createElementVNode)("span",ul,(0,p.toDisplayString)(t.title),1),(0,p.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,p.withKeys)((function(e){return t.open=!1}),["enter"])),tabindex:"0"})]),(0,p.createElementVNode)("div",hl,[((0,p.openBlock)(!0),(0,p.createElementBlock)(p.Fragment,null,(0,p.renderList)(t.places.entries(),(function(e){var n,o,i=c(e,2),r=i[0],a=i[1];return(0,p.openBlock)(),(0,p.createElementBlock)("div",{key:r,class:(0,p.normalizeClass)(["gallery-item",{selected:t.highlightLastOnly?t.selectedPlace===a:t.selectedPlaces.includes(a)}]),onClick:function(e){return t.selectPlace(a)}},[(0,p.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,pl),(0,p.createElementVNode)("span",fl,(0,p.toDisplayString)(a.get_name()),1)],10,dl)})),128))])],4)):(0,p.createCommentVNode)("",!0)],2)}var gl=r(415);Symbol();var vl;(function(t){t["direct"]="direct",t["patchObject"]="patch object",t["patchFunction"]="patch function"})(vl||(vl={}));const yl="undefined"!==typeof window,_l=(()=>"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 wl(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 bl(t,e,n){const o=new XMLHttpRequest;o.open("GET",t),o.responseType="blob",o.onload=function(){Tl(o.response,e,n)},o.onerror=function(){console.error("could not download file")},o.send()}function xl(t){const e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(Zl){}return e.status>=200&&e.status<=299}function kl(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(Zl){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 Sl="object"===typeof navigator?navigator:{userAgent:""},Cl=(()=>/Macintosh/.test(Sl.userAgent)&&/AppleWebKit/.test(Sl.userAgent)&&!/Safari/.test(Sl.userAgent))(),Tl=yl?"undefined"!==typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!Cl?Pl:"msSaveOrOpenBlob"in Sl?Ll:Al:()=>{};function Pl(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?xl(o.href)?bl(t,e,n):(o.target="_blank",kl(o)):kl(o)):(o.href=URL.createObjectURL(t),setTimeout((function(){URL.revokeObjectURL(o.href)}),4e4),setTimeout((function(){kl(o)}),0))}function Ll(t,e="download",n){if("string"===typeof t)if(xl(t))bl(t,e,n);else{const e=document.createElement("a");e.href=t,e.target="_blank",setTimeout((function(){kl(e)}))}else navigator.msSaveOrOpenBlob(wl(t,n),e)}function Al(t,e,n,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),"string"===typeof t)return bl(t,e,n);const i="application/octet-stream"===t.type,r=/constructor/i.test(String(_l.HTMLElement))||"safari"in _l,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&r||Cl)&&"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:Ml}=Object;Symbol();const{assign:zl}=Object;function Ol(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 El={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"]},Il=El;Wa.add(Il);const Rl=(0,p.defineComponent)({components:{"font-awesome-icon":ds},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 i(this,void 0,void 0,(function(){var t=this;return s(this,(function(e){return this.waitForReady().then((function(){return i(t,void 0,void 0,(function(){var t;return s(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:o(o({},Ol(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=l(null!==(o=t.get_children())&&void 0!==o?o:[]),a=r.next();!a.done;a=r.next()){var s=a.value;if(s instanceof gl.Place){var c=this.getImageset(s);null!==c&&i.push(s)}else s instanceof gl.Folder&&(i=i.concat(this.extractPlaces(s)))}}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 i(this,void 0,void 0,(function(){var e=this;return s(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]:u(u([],c(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))}}});r(747);const Dl=(0,fs.Z)(Rl,[["render",ml]]),Bl=Dl;var Wl=Math.PI/180,Fl=180/Math.PI,Nl="https://api.cosmicds.cfa.harvard.edu",jl="".concat(Nl,"/minids")})(),a})()))},3992:(t,e,n)=>{"use strict";var o=n(2661),i=n(6320),r=n(5556),a=n(8917),s=n(8319),l=n(9669),c=n(567),u=n(1477),h=n(4953),d=n(6323),p=n(1213),f=n(1325),m=n(2621),g=n(4919),v=n(1001),y=n(6472),_=n(6016),w=n(4762),b=n(8992),x=n(9597),k=n(230),S=n(8389),C=n(8131),T=n(9550),P=n(141),L=n(2894),A=n(5336),M=n(9950),z=n(2626),O=n(3161),E=n(7836),I={id:"non-map-container"},R={id:"title-row",class:"non-map-row"},D={id:"title"},B={key:0},W={key:1},F={key:2},N={id:"instructions-row",class:"non-map-row"},j={id:"top-container-main-text"},Z={key:0,class:"instructions-text"},U={class:"description"},V={key:0},H=(0,a._)("p",null,[(0,a._)("strong",null,"Explore"),(0,a.Uk)(" until you can identify which locations will see an annular eclipse!")],-1),$={key:1,class:"instructions-text"},q={class:"description"},G=["innerHTML"],Y={key:1,class:"my-1"},K=(0,a._)("a",{href:"https://science.nasa.gov/eclipses/future-eclipses/eclipse-2023/where-when/",target:"_blank",rel:"noopener noreferrer"},"here.",-1),J={key:2,class:"instructions-text"},X={class:"description"},Q={key:0},tt={key:0},et=(0,a._)("strong",null,"Share",-1),nt=(0,a._)("strong",null,"My Location",-1),ot={id:"button-row",class:"non-map-row"},it={id:"top-container-buttons"},rt={id:"map-column"},at={key:0,id:"map-container"},st={key:1,id:"eclipse-path-map"},lt=(0,a._)("img",{alt:"This is a map of the US with three possible paths for the October 2023 annular eclipse. In choice A, the eclipse moves North to South from Bismarck, ND through Denver, CO and Albuquerque, NM. In choice B, the eclipse moves West to East from Los Angeles, CA to Charlotte, NC. In Choice C, the eclipse moves Northwest to South from Eugene, OR to San Antonio, TX.",src:l},null,-1),ct=[lt],ut={class:"video-wrapper"},ht=(0,a._)("video",{controls:"",id:"info-video"},[(0,a._)("source",{src:c,type:"video/mp4"})],-1),dt=(0,a._)("h3",{class:"v-btn tab-title"},"Information",-1),pt=(0,a._)("div",{id:"info-text-box"},[(0,a._)("div",{id:"main-info-text"},[(0,a._)("p",null," Get ready, North America, for not one, but two solar eclipses! On October 14, 2023, North, Central, and South America will be treated to a beautiful annular eclipse. Only 6 months later, on April 8, 2024, an awe-inspiring total solar eclipse will stretch from coast-to-coast across the United States and Canada. "),(0,a._)("p",null,' This interactive lets you explore the October "Ring of Fire" eclipse from different locations. '),(0,a._)("p",{id:"safety-warning"}," SAFETY FIRST: NEVER look directly at the Sun without proper eye protection. ")]),(0,a._)("div",{id:"FAQ"},[(0,a._)("details",null,[(0,a._)("summary",null," What causes Solar Eclipses? "),(0,a._)("p",null," A solar eclipse happens when the Moon passes between the Earth and the Sun and blocks the Sun from our view. Partial eclipses occur about every 6 months, somewhere on the Earth. The U.S. is lucky to be in the path of the next two solar eclipses. ")]),(0,a._)("details",null,[(0,a._)("summary",null," Total? Annular? What is the difference?"),(0,a._)("p",null,[(0,a.Uk)(" During a "),(0,a._)("strong",null,"total eclipse"),(0,a.Uk)(", the Moon covers the entire face of the Sun. Because the Moon doesn't orbit the Earth in a perfect circle, sometimes it is farther away from Earth and appears smaller. When this happens, the Moon doesn't cover the entire face of the Sun. During the eclipse we can still see a bright ring of light around the Moon, sometimes called the \"Ring of Fire.\" This is called an "),(0,a._)("strong",null,"annular Eclipse"),(0,a.Uk)(". ")])]),(0,a._)("details",null,[(0,a._)("summary",null," Why can only some places see the eclipse?"),(0,a._)("p",null," An eclipse is caused by the Moon casting a shadow on the Earth. People who are directly behind the Moon will see an annular or total eclipse. As the Moon moves in its orbit around Earth, and as Earth rotates, the location of the shadow will move, sweeping out a path across the surface of the Earth. For a larger number of people who are not directly behind the moon, a smaller amount of the Sun will be blocked, causing a partial eclipse. Even further outside the shadow the Sun will not be blocked at all, and there will be no eclipse visible. "),(0,a._)("p",null," The animated figure shows that the Moon's shadow on Earth has two distinct regions. The darker part of the shadow is directly behind the Moon, where people will experience an annular or total eclipse. The lighter part of the shadow falls where people on Earth will see a partial solar eclipse. ")]),(0,a._)("details",null,[(0,a._)("summary",null,"Where can I learn more?"),(0,a._)("p",null,[(0,a.Uk)(" Check out "),(0,a._)("a",{href:"https://science.nasa.gov/eclipses/future-eclipses/eclipse-2023/where-when/",target:"_blank",rel:"noopener noreferrer"},"NASA's website"),(0,a.Uk)(" about the October annular eclipse and Fiske Planetarium's "),(0,a._)("a",{href:"https://www.colorado.edu/fiske/projects/science-through-shadows",target:"_blank",rel:"noopener noreferrer"},"Science Through Shadows"),(0,a.Uk)(" videos. ")])])])],-1),ft=(0,a._)("figcaption",null,"Image credit: NASA Goddard / Katy Mersmann",-1),mt=(0,a._)("div",{class:"disclaimer"},"Not to scale",-1),gt=(0,a._)("h3",{class:"v-btn tab-title"},"User Guide",-1),vt=(0,a._)("p",{style:{"font-size":"calc(1.1 * var(--default-font-size))"},class:"mb-5"}," This Mini Data Story allows you to display the October 14, 2023 Annular Eclipse from any location. ",-1),yt=(0,a._)("br",null,null,-1),_t=(0,a._)("br",null,null,-1),wt={style:{"min-height":"120px"}},bt=(0,a._)("h4",{class:"user-guide-header"},"Time Controls:",-1),xt=(0,a._)("p",{class:"mb-3"},"(See bottom-left of the screen)",-1),kt={class:"text-list"},St=(0,a._)("h4",{class:"user-guide-header"},"Viewing Mode:",-1),Ct=(0,a._)("p",{class:"mb-3"},"(See upper-right of the screen)",-1),Tt={class:"text-list"},Pt=(0,a._)("li",{class:"mb-2"},[(0,a.Uk)(" The "),(0,a._)("span",{style:{color:"blue","background-color":"white","padding-inline":"0.7em","border-radius":"20px","font-weight":"bold"}},"selected location"),(0,a.Uk)(" and "),(0,a._)("span",{style:{color:"blue","background-color":"white","padding-inline":"0.7em","border-radius":"20px","font-weight":"bold"}},"date/time"),(0,a.Uk)(" are displayed under the map. ")],-1),Lt={class:"switch-bullets"},At=(0,a._)("span",{class:"user-guide-emphasis"}," Solar Scope:",-1),Mt={class:"switch-bullets mb-3"},zt=(0,a._)("span",{class:"user-guide-emphasis"}," Horizon:",-1),Ot={class:"switch-bullets"},Et=(0,a._)("span",{class:"user-guide-emphasis"}," Track Sun:",-1),It={class:"switch-bullets mb-5"},Rt=(0,a._)("span",{class:"user-guide-emphasis"}," Don't Track Sun:",-1),Dt=(0,a._)("h4",{class:"user-guide-header"},"Display Options:",-1),Bt=(0,a._)("p",{class:"mb-3"},"(See bottom-right of the screen)",-1),Wt=(0,a._)("ul",{class:"text-list"},[(0,a._)("li",null,[(0,a._)("span",{class:"user-guide-emphasis-white"},"Sky Grid:"),(0,a.Uk)(" Display altitude/azimuth grid with cardinal directions. ")]),(0,a._)("li",null,[(0,a._)("span",{class:"user-guide-emphasis-white"},"Horizon:"),(0,a.Uk)(' Display a virtual "ground" that delineates where the Sun rises and sets. ')]),(0,a._)("li",null,[(0,a._)("span",{class:"user-guide-emphasis-white"},"Visible Moon:"),(0,a.Uk)(" Solar Eclipses occur during a New Moon, when the Moon is not normally visible in the sky. This option makes it easier to see the Moon against the sky. ")]),(0,a._)("li",null,[(0,a._)("span",{class:"user-guide-emphasis-white"},"Amount Eclipsed:"),(0,a.Uk)(" Display percentage of Sun being covered by the Moon. (Disabled when zoomed far out.) ")])],-1),Ft=(0,a._)("h4",{class:"user-guide-header"},"Location Options:",-1),Nt=(0,a._)("p",{class:"mb-3"},"(See top-left of the screen)",-1),jt={class:"text-list"},Zt=(0,a._)("strong",null,"share-url",-1),Ut=(0,a._)("strong",null,"My Location",-1),Vt=(0,a._)("div",{id:"text-credits"},[(0,a._)("h3",null,"Credits:"),(0,a._)("p",{class:"mt-2"},"This Mini Data Story is powered by WorldWide Telescope (WWT)."),(0,a._)("p",{class:"my-3"},"Image of Sun is courtesy of NASA/SDO and the AIA, EVE, and HMI science teams."),(0,a._)("h4",null,[(0,a._)("a",{href:"https://www.cosmicds.cfa.harvard.edu/",target:"_blank",rel:"noopener noreferrer"},"CosmicDS"),(0,a.Uk)(" Mini Stories Team:")]),(0,a.Uk)(" Pat Udomprasert"),(0,a._)("br"),(0,a.Uk)(" Jon Carifio"),(0,a._)("br"),(0,a.Uk)(" John Lewis"),(0,a._)("br"),(0,a.Uk)(" Alyssa Goodman"),(0,a._)("br"),(0,a.Uk)(" Mary Dussault"),(0,a._)("br"),(0,a.Uk)(" Harry Houghton"),(0,a._)("br"),(0,a.Uk)(" Anna Nolin"),(0,a._)("br"),(0,a.Uk)(" Evaluator: Sue Sunbury"),(0,a._)("br"),(0,a._)("h4",null,[(0,a._)("a",{href:"https://www.worldwidetelescope.org/",target:"_blank",rel:"noopener noreferrer"},"WorldWide Telescope"),(0,a.Uk)(" Team:")]),(0,a.Uk)(" Peter Williams"),(0,a._)("br"),(0,a.Uk)(" A. David Weigel"),(0,a._)("br"),(0,a.Uk)(" Jon Carifio"),(0,a._)("br")],-1),Ht={id:"main-content"},$t={id:"first-splash-row"},qt=(0,a._)("div",{id:"splash-screen-text"},[(0,a._)("p",null,"WATCH the October 14"),(0,a._)("p",{class:"highlight"}," Annular Eclipse ")],-1),Gt={id:"splash-screen-guide"},Yt={id:"splash-screen-acknowledgements"},Kt=(0,a._)("a",{href:"https://www.cosmicds.cfa.harvard.edu/",target:"_blank",rel:"noopener noreferrer"},"Cosmic Data Stories",-1),Jt=(0,a._)("a",{href:"https://www.worldwidetelescope.org/home/",target:"_blank",rel:"noopener noreferrer"},"WorldWide Telescope",-1),Xt={id:"splash-screen-logos"},Qt={class:"modal",id:"modal-loading"},te=(0,a._)("div",{class:"container"},[(0,a._)("div",{class:"spinner"}),(0,a._)("p",null,"Loading โ€ฆ")],-1),ee=[te],ne={key:0,id:"introduction-overlay",class:"elevation-10"},oe={id:"intro-window-close-button"},ie=(0,a._)("div",{class:"intro-text"},[(0,a._)("p",{class:"mb-5"}," On October 14, 2023, the Americas will experience a partial solar eclipse, where the Moon will appear to travel across the Sun and block a portion of it. "),(0,a._)("p",{class:"mb-5"},[(0,a.Uk)(" A lucky segment of the U.S., Central, and South America will experience a dazzling "),(0,a._)("b",null,'"Ring of Fire"'),(0,a.Uk)(" created by an "),(0,a._)("b",null,"annular eclipse"),(0,a.Uk)(". ")]),(0,a._)("p",{class:"mb-5"}," Use your detective skills to identify where those lucky people are in our map quiz. ")],-1),re={class:"intro-text mb-3"},ae=(0,a._)("p",{class:"mb-3"}," In this interactive page you can: ",-1),se=(0,a._)("strong",null,"Explore",-1),le=(0,a._)("strong",null,"Select any location",-1),ce=(0,a._)("strong",null,"Map Quiz",-1),ue=(0,a._)("strong",null,"Learn more",-1),he=(0,a._)("strong",null,"User Guide",-1),de={key:0,class:"mt-3"},pe={id:"intro-bottom-controls"},fe={id:"top-wwt-content"},me={id:"location-date-display"},ge={id:"top-switches"},ve={id:"track-sun-switch"},ye={class:"bottom-content"},_e={id:"eclipse-percent-chip"},we={id:"controls",class:"control-icon-wrapper"},be={id:"controls-top-row"},xe={key:0,id:"control-checkboxes"},ke={id:"video-icon"},Se={id:"tools"},Ce={class:"tool-container"},Te={id:"speed-control"},Pe={id:"speed-text"},Le={key:0},Ae={key:1},Me={key:2},ze={id:"change-optout"},Oe={key:0,id:"body-logos"},Ee=(0,a._)("strong",null,"anonymized",-1);function Ie(t,e,i,l,c,lt){var te=(0,a.up)("font-awesome-icon"),Ie=(0,a.up)("hover-tooltip"),Re=(0,a.up)("image-label"),De=(0,a.up)("flip-transition"),Be=(0,a.up)("mc-radiogroup"),We=(0,a.up)("icon-button"),Fe=(0,a.up)("location-selector"),Ne=(0,a.up)("gif-play-pause"),je=(0,a.up)("funding-acknowledgment"),Ze=(0,a.up)("WorldWideTelescope"),Ue=(0,a.up)("geolocation-button"),Ve=(0,a.up)("credit-logos"),He=(0,a.up)("transition-expand"),$e=(0,a.up)("notifications");return(0,a.wg)(),(0,a.j4)(u.q,{id:"app",style:(0,s.j5)(t.cssVars)},{default:(0,a.w5)((function(){return[(0,a._)("div",{id:"closed-top-container",class:(0,s.C_)([t.showGuidedContent?"":"budge"])},[(0,a.Wm)(te,{modelValue:t.showGuidedContent,"onUpdate:modelValue":e[0]||(e[0]=function(e){return t.showGuidedContent=e}),class:(0,s.C_)(t.showGuidedContent?"ma-1":""),size:t.showGuidedContent?"xl":"2xl",color:t.showGuidedContent?"var(--accent-color)":"black",icon:t.showGuidedContent?"chevron-up":"circle-chevron-down",onClick:e[1]||(e[1]=function(){t.showGuidedContent=!t.showGuidedContent,t.onResize()}),onKeyup:e[2]||(e[2]=(0,o.D2)((function(e){return t.showGuidedContent=!t.showGuidedContent}),["enter"])),tabindex:"0","tooltip-location":"start"},null,8,["modelValue","class","size","color","icon"])],2),(0,a.wy)((0,a.Wm)(w.K,{id:"guided-content-container"},{default:(0,a.w5)((function(){return[(0,a.Wm)(Ie,{"tooltip-text":t.scrollUp?"Scroll to top":"Scroll to bottom",disabled:t.mobile,id:"scrollButton"},{target:(0,a.w5)((function(){return[t.smAndUp?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(h.T,{key:0,icon:t.scrollUp?"mdi-arrow-up":"mdi-arrow-down",onClick:t.scrollToTop,size:"small",density:"comfortable",color:t.accentColor,variant:"flat"},null,8,["icon","onClick","color"]))]})),_:1},8,["tooltip-text","disabled"]),(0,a._)("div",I,[(0,a._)("div",R,[(0,a._)("div",D,["Explore"==t.learnerPath?((0,a.wg)(),(0,a.iD)("span",B,"Watch and Compare ")):(0,a.kq)("",!0),"Answer"==t.learnerPath?((0,a.wg)(),(0,a.iD)("span",W,"Identify Eclipse Path ")):(0,a.kq)("",!0),"Choose"==t.learnerPath?((0,a.wg)(),(0,a.iD)("span",F,"Choose Any Location ")):(0,a.kq)("",!0)])]),(0,a._)("div",N,[(0,a._)("div",j,["Explore"==t.learnerPath?((0,a.wg)(),(0,a.iD)("div",Z,[(0,a._)("span",U,[t.queryData?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("p",V,[(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"Tap":"Click"),1),(0,a.Uk)(),(0,a.Wm)(te,{icon:"play",class:"bullet-icon"}),(0,a.Uk)(' to "watch" the eclipse at the location marked by the red dot.')])),(0,a._)("p",null,[(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"Tap":"Click")+" highlighted cities",1),(0,a.Uk)(" on the map to switch locations and view the eclipse from there.")]),H])])):(0,a.kq)("",!0),"Answer"==t.learnerPath?((0,a.wg)(),(0,a.iD)("div",$,[(0,a._)("span",q,[(0,a._)("p",null,[(0,a.Uk)("Have you determined the eclipse path? "),(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"Tap":"Click")+" a card",1),(0,a.Uk)(" to select it.")]),(0,a._)("p",null,[(0,a.Uk)("If you are not sure, "+(0,s.zw)(t.touchscreen?"tap":"click")+" ",1),(0,a.Wm)(te,{icon:"rocket",class:"bullet-icon"}),(0,a.Uk)(" to keep exploring.")])]),"Answer"==t.learnerPath?((0,a.wg)(),(0,a.j4)(Be,{key:0,id:"mc-radiogroup-container",row:"","hide-input":"",preselected:t.quizAnswer,"radio-options":["A","B","C"],feedbacks:["Not that one.
Try again!","Not that one.
Try again!","Yes! It passes from Oregon to Texas"],"correct-answers":[2],onSelect:t.onAnswerSelected,colorWrong:"transparent",colorRight:"transparent"},{default:(0,a.w5)((function(e){var n=e.index,o=e.text,i=e.selected,r=e.color,l=e.feedback;return[(0,a.Wm)(De,{id:o,width:t.xSmallSize?"21vw":"12vw",height:"9vh",duration:"0.8s",flipBackAfter:3e3,tabindex:"0",role:"button",borderRadius:"5px"},{front:(0,a.w5)((function(){return[(0,a.Wm)(Re,{id:"front","alt-text":t.longAnswers[n],color:["rgb(0,180,200)","rgb(255, 110,0)","#f0f"][n],"background-color":i?"".concat(r):"#F0DCB9","background-opacity":1,fontSize:"5vh",fontWeight:"bold",width:t.xSmallSize?"21vw":"12vw",height:"9vh",border:"1px solid white",borderRadius:"5px",onClick:function(){console.log("clicked"),t.quizAnswer=n}},{default:(0,a.w5)((function(){return[(0,a.Uk)((0,s.zw)(o),1)]})),_:2},1032,["alt-text","color","background-color","width","onClick"])]})),back:(0,a.w5)((function(){return[(0,a.Wm)(Re,{id:"front",color:["rgb(0,180,200)","rgb(255, 110,0)","#f0f"][n],"background-color":"black","background-opacity":1,width:t.xSmallSize?"21vw":"12vw",height:"9vh",fontSize:t.xSmallSize?"min(2vh,2.5vw)":"min(1.6vh,1.6vw)",fontWeight:"bold",lineHeight:"(xSmallSize ? `min(2.2vh,2.7vw)` : `min(1.8vh,1.8vw)`)",border:"1px solid white",borderRadius:"5px"},{default:(0,a.w5)((function(){return[(0,a._)("span",{innerHTML:l},null,8,G)]})),_:2},1032,["color","width","fontSize"])]})),_:2},1032,["id","width"])]})),_:1},8,["preselected","feedbacks","onSelect"])):(0,a.kq)("",!0),t.showLinkToPath?((0,a.wg)(),(0,a.iD)("div",Y,[(0,a.Uk)(" See NASA's map with the October annular eclipse path "),K])):(0,a.kq)("",!0)])):(0,a.kq)("",!0),"Choose"==t.learnerPath?((0,a.wg)(),(0,a.iD)("div",J,[(0,a._)("span",X,[t.queryData?((0,a.wg)(),(0,a.iD)("p",Q,[(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"Tap":"Click"),1),(0,a.Uk)(),(0,a.Wm)(te,{icon:"play",size:"l",class:"bullet-icon"}),(0,a.Uk)(' to "watch" the eclipse from the location shared in your link. ')])):(0,a.kq)("",!0),(0,a._)("p",null,[(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"Tap":"Click"),1),(0,a.Uk)(" on the map to select any "),t.queryData?((0,a.wg)(),(0,a.iD)("span",tt,"other")):(0,a.kq)("",!0),(0,a.Uk)(" location and view the eclipse from there. ")]),(0,a._)("p",null,[et,(0,a.Uk)(" the view from a location by "+(0,s.zw)(t.touchscreen?"tapping":"clicking")+" ",1),(0,a.Wm)(te,{icon:"share-nodes",class:"bullet-icon"}),(0,a.Uk)(" to copy the url. ")]),(0,a._)("p",null,[(0,a.Uk)(" View the eclipse from "),nt,(0,a.Uk)(" by "+(0,s.zw)(t.touchscreen?"tapping":"clicking")+" ",1),(0,a.Wm)(te,{icon:"street-view",class:"bullet-icon"}),(0,a.Uk)(". (Location services must be enabled on device). ")])])])):(0,a.kq)("",!0)])]),(0,a._)("div",ot,[(0,a._)("div",it,[(0,a.Wm)(We,{"model-value":"Explore"==t.learnerPath,"fa-icon":"rocket","fa-size":"xl",color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"View eclipse from multiple locations","tooltip-location":"bottom","show-tooltip":!t.mobile,"box-shadow":!1,onActivate:e[3]||(e[3]=function(){t.learnerPath="Explore"})},null,8,["model-value","color","focus-color","show-tooltip"]),(0,a.Wm)(We,{"model-value":"Choose"==t.learnerPath,"fa-icon":"location-dot","fa-size":"xl",color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"Choose any viewing location","tooltip-location":"bottom","show-tooltip":!t.mobile,"box-shadow":!1,onActivate:e[4]||(e[4]=function(){t.learnerPath="Choose"})},null,8,["model-value","color","focus-color","show-tooltip"]),(0,a.Wm)(We,{"model-value":"Answer"==t.learnerPath,"fa-icon":"puzzle-piece","fa-size":"xl",color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"Identify eclipse path","tooltip-location":"bottom","show-tooltip":!t.mobile,"box-shadow":!1,onActivate:e[5]||(e[5]=function(){t.learnerPath="Answer"})},null,8,["model-value","color","focus-color","show-tooltip"]),(0,a.Wm)(We,{modelValue:t.showInfoSheet,"onUpdate:modelValue":e[6]||(e[6]=function(e){return t.showInfoSheet=e}),"fa-icon":"book-open","fa-size":"xl",color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":t.showInfoSheet?null:"More on Eclipses","tooltip-location":"bottom","show-tooltip":!t.mobile,"box-shadow":!1},null,8,["modelValue","color","focus-color","tooltip-text","show-tooltip"]),(0,a.Wm)(We,{modelValue:t.showWWTGuideSheet,"onUpdate:modelValue":e[7]||(e[7]=function(e){return t.showWWTGuideSheet=e}),"fa-icon":"circle-info","fa-size":"xl",color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":t.showWWTGuideSheet?null:"User Guide","tooltip-location":"bottom","show-tooltip":!t.mobile,"box-shadow":!1},null,8,["modelValue","color","focus-color","tooltip-text","show-tooltip"])])])]),(0,a._)("div",rt,[(0,a.Wm)(S.V,null,{default:(0,a.w5)((function(n){n.isHovering,n.props;return[(0,a.kq)("",!0),(0,a.Wm)(O.cu,{disabled:t.smAndUp},{default:(0,a.w5)((function(){return[!t.smAndUp||t.smAndUp?((0,a.wg)(),(0,a.iD)("div",at,["Explore"==t.learnerPath?((0,a.wg)(),(0,a.j4)(Fe,{key:0,"model-value":t.locationDeg,onPlace:e[8]||(e[8]=function(e){return t.updateLocation(e.name)}),"detect-location":!1,"map-options":t.presetMapOptions,places:t.places,"initial-place":t.places.find((function(t){return"selectedLocation"===t.name})),"place-circle-options":t.placeCircleOptions,"selected-circle-options":t.selectedCircleOptions,selectable:!1,class:"leaflet-map"},null,8,["model-value","map-options","places","initial-place","place-circle-options","selected-circle-options"])):(0,a.kq)("",!0),"Answer"==t.learnerPath?((0,a.wg)(),(0,a.iD)("span",st,ct)):(0,a.kq)("",!0),"Choose"==t.learnerPath?((0,a.wg)(),(0,a.j4)(Fe,{key:2,"model-value":t.locationDeg,"onUpdate:modelValue":t.updateLocationFromMap,"detect-location":!1,"map-options":t.userSelectedMapOptions,"selected-circle-options":t.selectedCircleOptions,class:"leaflet-map"},null,8,["model-value","onUpdate:modelValue","map-options","selected-circle-options"])):(0,a.kq)("",!0)])):(0,a.kq)("",!0)]})),_:1},8,["disabled"])]})),_:1})])]})),_:1},512),[[o.F8,t.showGuidedContent]]),(0,a.Wm)(y.B,{id:"video-container",modelValue:t.showVideoSheet,"onUpdate:modelValue":e[11]||(e[11]=function(e){return t.showVideoSheet=e}),transition:"slide-y-transition","close-on-back":"",fullscreen:""},{default:(0,a.w5)((function(){return[(0,a._)("div",ut,[(0,a.Wm)(te,{id:"video-close-icon",class:"close-icon",icon:"times",size:"lg",onClick:e[9]||(e[9]=function(e){return t.showVideoSheet=!1}),onKeyup:e[10]||(e[10]=(0,o.D2)((function(e){return t.showVideoSheet=!1}),["enter"])),tabindex:"0"}),ht])]})),_:1},8,["modelValue"]),(0,a.Wm)(y.B,{scrim:"false",transition:"slide-y-transition",modelValue:t.showInfoSheet,"onUpdate:modelValue":e[14]||(e[14]=function(e){return t.showInfoSheet=e}),class:"bottom-sheet",id:"text-bottom-sheet",style:(0,s.j5)(t.cssVars)},{default:(0,a.w5)((function(){return[(0,a.Wm)(d._,{class:"bottom-sheet-card"},{default:(0,a.w5)((function(){return[(0,a.Wm)(p.E,{tabindex:"0"},{default:(0,a.w5)((function(){return[dt]})),_:1}),(0,a.Wm)(te,{id:"close-text-icon",class:"control-icon",icon:"square-xmark",size:"xl",onClick:e[12]||(e[12]=function(e){return t.showInfoSheet=!1}),onKeyup:e[13]||(e[13]=(0,o.D2)((function(e){return t.showInfoSheet=!1}),["enter"])),tabindex:"0"}),(0,a.Wm)(d._,{class:"no-bottom-border-radius scrollable"},{default:(0,a.w5)((function(){return[(0,a.Wm)(f.Z,{class:"info-text no-bottom-border-radius"},{default:(0,a.w5)((function(){return[(0,a.Wm)(w.K,{id:"learn-more-content"},{default:(0,a.w5)((function(){return[pt,(0,a._)("figure",null,[(0,a.Wm)(Ne,{startPaused:"",gif:n(7398),still:n(6421),alt:"Animated schematic of a solar eclipse showing how the Moon moves between the Sun and Earth."},null,8,["gif","still"]),ft,mt])]})),_:1})]})),_:1})]})),_:1})]})),_:1})]})),_:1},8,["modelValue","style"]),(0,a.Wm)(y.B,{scrim:"false",transition:"slide-y-transition",modelValue:t.showWWTGuideSheet,"onUpdate:modelValue":e[21]||(e[21]=function(e){return t.showWWTGuideSheet=e}),class:"bottom-sheet",id:"wwt-guide-sheet",style:(0,s.j5)(t.cssVars)},{default:(0,a.w5)((function(){return[(0,a.Wm)(d._,{class:"bottom-sheet-card"},{default:(0,a.w5)((function(){return[(0,a.Wm)(p.E,{tabindex:"0"},{default:(0,a.w5)((function(){return[gt]})),_:1}),(0,a.Wm)(te,{id:"close-text-icon",class:"control-icon",icon:"square-xmark",size:"xl",onClick:e[15]||(e[15]=function(e){return t.showWWTGuideSheet=!1}),onKeyup:e[16]||(e[16]=(0,o.D2)((function(e){return t.showWWTGuideSheet=!1}),["enter"])),tabindex:"0"}),(0,a.Wm)(d._,{class:"no-bottom-border-radius scrollable"},{default:(0,a.w5)((function(){return[(0,a.Wm)(f.Z,{class:"info-text no-bottom-border-radius"},{default:(0,a.w5)((function(){return[(0,a.Wm)(w.K,{id:"user-guide"},{default:(0,a.w5)((function(){return[vt,(0,a.Wm)(b.o,{align:"center"},{default:(0,a.w5)((function(){return[(0,a.Wm)(x.D,{cols:"4"},{default:(0,a.w5)((function(){return[(0,a.Wm)(v.v,{label:"",outlined:""},{default:(0,a.w5)((function(){return[(0,a.Uk)(" Pan ")]})),_:1})]})),_:1}),(0,a.Wm)(x.D,{cols:"8",class:"pt-1"},{default:(0,a.w5)((function(){return[(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"press + drag":"click + drag"),1),(0,a.Uk)(" "+(0,s.zw)(t.touchscreen?"":"or")+" ",1),(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"":"W-A-S-D"),1),(0,a.Uk)(" "+(0,s.zw)(t.touchscreen?"":"keys"),1),yt]})),_:1})]})),_:1}),(0,a.Wm)(b.o,{align:"center"},{default:(0,a.w5)((function(){return[(0,a.Wm)(x.D,{cols:"4"},{default:(0,a.w5)((function(){return[(0,a.Wm)(v.v,{label:"",outlined:""},{default:(0,a.w5)((function(){return[(0,a.Uk)(" Zoom ")]})),_:1})]})),_:1}),(0,a.Wm)(x.D,{cols:"8",class:"pt-1"},{default:(0,a.w5)((function(){return[(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"pinch in and out":"scroll in and out"),1),(0,a.Uk)(" "+(0,s.zw)(t.touchscreen?"":"or")+" ",1),(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"":"I-O"),1),(0,a.Uk)(" "+(0,s.zw)(t.touchscreen?"":"keys"),1),_t]})),_:1})]})),_:1}),(0,a.Wm)(b.o,null,{default:(0,a.w5)((function(){return[(0,a.Wm)(x.D,{cols:"12"},{default:(0,a.w5)((function(){return[(0,a._)("div",wt,[bt,xt,(0,a._)("ul",kt,[(0,a._)("li",null,[(0,a.Uk)((0,s.zw)(t.touchscreen?"Tap":"Click")+" ",1),(0,a.Wm)(te,{class:"bullet-icon",icon:"play",size:"lg"}),(0,a.Uk)(" to move time forward at 1000x the real speed. ")]),(0,a._)("li",null,[(0,a.Uk)(" If playing, "+(0,s.zw)(t.touchscreen?"tap":"click")+" ",1),(0,a.Wm)(te,{class:"bullet-icon",icon:"pause",size:"lg"}),(0,a.Uk)(" to pause time. ")]),(0,a._)("li",null,[(0,a.Uk)((0,s.zw)(t.touchscreen?"Tap":"Click")+" ",1),(0,a.Wm)(te,{class:"bullet-icon",icon:"angle-double-down",size:"lg"}),(0,a.Uk)(" to decrease speed by 10x. ")]),(0,a._)("li",null,[(0,a.Uk)((0,s.zw)(t.touchscreen?"Tap":"Click")+" ",1),(0,a.Wm)(te,{class:"bullet-icon",icon:"angle-double-up",size:"lg"}),(0,a.Uk)(" to increase speed by 10x. ")]),(0,a._)("li",null,[(0,a.Uk)((0,s.zw)(t.touchscreen?"Tap":"Click")+" ",1),(0,a.Wm)(te,{class:"bullet-icon",icon:"rotate",size:"lg"}),(0,a.Uk)(" to reset time, view, and speed. ")]),(0,a._)("li",null,[(0,a.Uk)(" You can also control time by dragging "),(0,a.Wm)(C.t,{class:"bullet-icon",icon:"mdi-circle",size:"medium"}),(0,a.Uk)(" along the slider. ")])]),(0,a.Wm)(_.J,{thickness:"2px",class:"solid-divider"}),St,Ct,(0,a._)("ul",Tt,[Pt,(0,a._)("li",Lt,[(0,a.Wm)(A.G,{class:"display-only-switch",modelValue:t.displaySwitchOff,"onUpdate:modelValue":e[17]||(e[17]=function(e){return t.displaySwitchOff=e}),density:"compact","hide-details":"",disabled:"",ripple:!1,color:t.accentColor,"false-icon":"mdi-telescope"},null,8,["modelValue","color"]),At,(0,a.Uk)(" Display zoomed in Sun and Moon as through a dark solar filter or eclipse glasses. ")]),(0,a._)("li",Mt,[(0,a.Wm)(A.G,{class:"display-only-switch",modelValue:t.displaySwitchOn,"onUpdate:modelValue":e[18]||(e[18]=function(e){return t.displaySwitchOn=e}),density:"compact","hide-details":"",disabled:"",ripple:!1,color:t.accentColor,"true-icon":"mdi-image-filter-hdr"},null,8,["modelValue","color"]),zt,(0,a.Uk)(" Display motion of Sun and Moon as they travel through the sky relative to the ground. ")]),(0,a._)("li",Ot,[(0,a.Wm)(A.G,{class:"display-only-switch",modelValue:t.displaySwitchOn,"onUpdate:modelValue":e[19]||(e[19]=function(e){return t.displaySwitchOn=e}),density:"compact","hide-details":"",disabled:"",ripple:!1,color:t.accentColor,"true-icon":"mdi-white-balance-sunny"},null,8,["modelValue","color"]),Et,(0,a.Uk)(" Always keep camera centered on Sun. ")]),(0,a._)("li",It,[(0,a.Wm)(A.G,{class:"display-only-switch",modelValue:t.displaySwitchOff,"onUpdate:modelValue":e[20]||(e[20]=function(e){return t.displaySwitchOff=e}),density:"compact","hide-details":"",disabled:"",ripple:!1,color:t.accentColor,"false-icon":"mdi-image"},null,8,["modelValue","color"]),Rt,(0,a.Uk)(" In Horizon View, show motion of Sun (and Moon) against the sky. ")])]),(0,a.Wm)(_.J,{thickness:"2px",class:"solid-divider"}),Dt,Bt,Wt,(0,a.Wm)(_.J,{thickness:"2px",class:"solid-divider"}),Ft,Nt,(0,a._)("ul",jt,[(0,a._)("li",null,[(0,a.Uk)((0,s.zw)(t.touchscreen?"Tap":"Click")+" ",1),(0,a.Wm)(te,{class:"bullet-icon",icon:"share-nodes",size:"lg"}),(0,a.Uk)(" to copy "),Zt,(0,a.Uk)(" for a specific location. ")]),(0,a._)("li",null,[(0,a.Uk)((0,s.zw)(t.touchscreen?"Tap":"Click")+" ",1),(0,a.Wm)(te,{class:"bullet-icon",icon:"street-view",size:"lg"}),(0,a.Uk)(" to use the view my "),Ut,(0,a.Uk)(". (Consult your device's user guide to enable location services.) ")])])]),(0,a.Wm)(_.J,{thickness:"2px",class:"solid-divider"})]})),_:1})]})),_:1}),Vt,(0,a.Wm)(je)]})),_:1})]})),_:1})]})),_:1})]})),_:1})]})),_:1},8,["modelValue","style"]),(0,a._)("div",Ht,[(0,a.Wm)(Ze,{"wwt-namespace":t.wwtNamespace},null,8,["wwt-namespace"]),(0,a._)("div",null,[(0,a._)("div",{id:"left-buttons-wrapper",class:(0,s.C_)([t.showGuidedContent?"":"budge"])},[(0,a.Wm)(We,{id:"share","fa-icon":"share-nodes",color:t.accentColor,"focus-color":t.accentColor,"box-shadow":!1,"tooltip-text":"Share view of this location","show-tooltip":!t.mobile,onActivate:t.copyShareURL,faSize:"1x"},null,8,["color","focus-color","show-tooltip","onActivate"]),(0,a.Wm)(We,{id:"my-location","fa-icon":"street-view",color:t.accentColor,"focus-color":t.accentColor,"box-shadow":!1,"tooltip-text":"Use my location","show-tooltip":!t.mobile,"onUpdate:modelValue":e[22]||(e[22]=function(e){e?(t.$refs.geolocation.getLocation(),t.showMyLocationDialog=!0,t.learnerPath="Choose"):console.log("geolocation button pressed = false")}),faSize:"1x"},null,8,["color","focus-color","show-tooltip"])],2),(0,a._)("div",{id:"location-progress",class:(0,s.C_)([t.showGuidedContent?"":"budge"])},[(0,a.Wm)(Ue,{color:t.accentColor,"show-text-progress":!0,"hide-text":!0,showCoords:!1,"hide-button":!0,requirePermission:!1,hasPermission:!0,ref:"geolocation",onGeolocation:e[23]||(e[23]=function(e){t.myLocation={latitudeDeg:e.latitude,longitudeDeg:e.longitude},t.selectedLocation="My Location",t.locationDeg=t.myLocation,t.showMyLocationDialog=!1}),onError:e[24]||(e[24]=function(e){t.$notify({group:"geolocation-error",title:"Error",text:e.message,type:"error"}),t.getMyLocation=!1,console.log(e)})},null,8,["color"])],2)]),(0,a.Wm)(P.y,{"model-value":t.showSplashScreen,absolute:"",opacity:"0.6",style:(0,s.j5)(t.cssVars),id:"splash-overlay"},{default:(0,a.w5)((function(){return[(0,a.wy)(((0,a.wg)(),(0,a.iD)("div",{id:"splash-screen",style:(0,s.j5)(t.cssVars)},[(0,a._)("div",$t,[(0,a._)("div",{id:"close-splash-button",onClick:e[25]||(e[25]=function(){for(var e=[],n=0;n1?((0,a.wg)(),(0,a.j4)(h.T,{key:0,id:"intro-next-button",color:t.accentColor,onClick:e[29]||(e[29]=function(e){return t.introSlide--}),onKeyup:e[30]||(e[30]=(0,o.D2)((function(e){return t.introSlide--}),["enter"])),elevation:"0"},{default:(0,a.w5)((function(){return[(0,a.Uk)(" Back ")]})),_:1},8,["color"])):(0,a.kq)("",!0)]),(0,a.Wm)(h.T,{id:"intro-next-button",color:t.accentColor,onClick:e[31]||(e[31]=function(e){return t.introSlide++}),onKeyup:e[32]||(e[32]=(0,o.D2)((function(e){return t.introSlide++}),["enter"])),elevation:"0"},{default:(0,a.w5)((function(){return[(0,a.Uk)((0,s.zw)(1===t.introSlide?"Next":"Get Started"),1)]})),_:1},8,["color"])])])):(0,a.kq)("",!0)]})),_:1},8,["modelValue","style"]),(0,a._)("div",fe,[(0,a._)("div",me,[(0,a.Wm)(v.v,{"prepend-icon":t.smallSize?"":"mdi-map-marker-radius",variant:"outlined",size:"small",elevation:"2",text:t.selectedLocationText,onClick:e[34]||(e[34]=function(){t.showGuidedContent=!0,t.learnerPath="Choose"})},null,8,["prepend-icon","text"]),(0,a.Wm)(v.v,{"prepend-icon":t.smallSize?"":"mdi-clock",variant:"outlined",size:"small",elevation:"2",text:t.selectedLocaledTimeDateString},null,8,["prepend-icon","text"])]),(0,a._)("div",ge,[(0,a.Wm)(Ie,{location:"left",disabled:t.mobile,id:"viewer-mode-switch"},{target:(0,a.w5)((function(){return[(0,a.Wm)(A.G,{inset:"","hide-details":"",ripple:!1,modelValue:t.viewerMode,"onUpdate:modelValue":e[35]||(e[35]=function(e){return t.viewerMode=e}),color:t.accentColor,"false-value":"SunScope","false-icon":"mdi-telescope","true-value":"Horizon","true-icon":"mdi-image-filter-hdr",onKeyup:e[36]||(e[36]=(0,o.D2)((function(e){return t.viewerMode="SunScope"===t.viewerMode?"Horizon":"SunScope"}),["enter"])),tabindex:"0"},null,8,["modelValue","color"])]})),default:(0,a.w5)((function(){return[(0,a.Uk)(" Switch to "+(0,s.zw)("SunScope"===t.viewerMode?"Horizon":"Eclipse")+" View ",1)]})),_:1},8,["disabled"]),(0,a._)("div",ve,[(0,a.Wm)(Ie,{location:"left",disabled:t.mobile},{target:(0,a.w5)((function(){return[(0,a.Wm)(A.G,{inset:"","hide-details":"",modelValue:t.toggleTrackSun,"onUpdate:modelValue":e[37]||(e[37]=function(e){return t.toggleTrackSun=e}),ripple:!1,color:t.accentColor,"true-icon":"mdi-white-balance-sunny","false-icon":"mdi-image",onKeyup:e[38]||(e[38]=(0,o.D2)((function(e){return t.toggleTrackSun=!t.toggleTrackSun}),["enter"])),tabindex:"0"},null,8,["modelValue","color"])]})),default:(0,a.w5)((function(){return[(0,a.Uk)(" "+(0,s.zw)(t.toggleTrackSun?"Don't Track Sun":"Center on Sun"),1)]})),_:1},8,["disabled"])])])]),(0,a._)("div",ye,[(0,a._)("div",_e,[t.showEclipsePercentage&&t.wwtZoomDeg<210?((0,a.wg)(),(0,a.j4)(v.v,{key:0,"prepend-icon":t.smallSize?"":"mdi-sun-angle",variant:"outlined",elevation:"2",text:t.percentEclipsedText},null,8,["prepend-icon","text"])):(0,a.kq)("",!0)]),(0,a._)("div",we,[(0,a._)("div",be,[(0,a.Wm)(te,{size:"lg",color:t.accentColor,icon:t.showControls?"chevron-down":"gear",onClick:e[39]||(e[39]=function(e){return t.showControls=!t.showControls}),onKeyup:e[40]||(e[40]=(0,o.D2)((function(e){return t.showControls=!t.showControls}),["enter"])),tabindex:"0"},null,8,["color","icon"])]),(0,a.Wm)(He,null,{default:(0,a.w5)((function(){return[t.showControls?((0,a.wg)(),(0,a.iD)("div",xe,[(0,a.Wm)(g.x,{color:t.accentColor,modelValue:t.showAltAzGrid,"onUpdate:modelValue":e[41]||(e[41]=function(e){return t.showAltAzGrid=e}),onKeyup:e[42]||(e[42]=(0,o.D2)((function(e){return t.showAltAzGrid=!t.showAltAzGrid}),["enter"])),label:"Sky Grid","hide-details":""},null,8,["color","modelValue"]),(0,a.Wm)(g.x,{color:t.accentColor,modelValue:t.showHorizon,"onUpdate:modelValue":e[43]||(e[43]=function(e){return t.showHorizon=e}),onKeyup:e[44]||(e[44]=(0,o.D2)((function(e){return t.showHorizon=!t.showHorizon}),["enter"])),label:"Horizon","hide-details":""},null,8,["color","modelValue"]),(0,a.Wm)(g.x,{color:t.accentColor,modelValue:t.useRegularMoon,"onUpdate:modelValue":e[45]||(e[45]=function(e){return t.useRegularMoon=e}),onKeyup:e[46]||(e[46]=(0,o.D2)((function(e){return t.useRegularMoon=!t.useRegularMoon}),["enter"])),label:"Visible Moon","hide-details":""},null,8,["color","modelValue"]),(0,a.Wm)(g.x,{color:t.accentColor,disabled:t.wwtZoomDeg>210,modelValue:t.showEclipsePercentage,"onUpdate:modelValue":e[47]||(e[47]=function(e){return t.showEclipsePercentage=e}),onKeyup:e[48]||(e[48]=(0,o.D2)((function(e){return t.showEclipsePercentage=!t.showEclipsePercentage}),["enter"])),label:"Amount Eclipsed","hide-details":""},null,8,["color","disabled","modelValue"])])):(0,a.kq)("",!0)]})),_:1})]),(0,a._)("div",ke,[(0,a.Wm)(We,{modelValue:t.showVideoSheet,"onUpdate:modelValue":e[49]||(e[49]=function(e){return t.showVideoSheet=e}),id:"video-icon","fa-icon":"video","fa-size":"lg",color:t.accentColor,"tooltip-text":"Video guide","tooltip-location":"start","tooltip-offset":t.smallSize?0:"10px"},null,8,["modelValue","color","tooltip-offset"])]),(0,a._)("div",Se,[(0,a._)("span",Ce,[(0,a._)("div",Te,[(0,a.Wm)(We,{id:"play-pause-icon","fa-icon":t.playing?"pause":"play",onActivate:e[50]||(e[50]=function(){t.playing=!t.playing}),color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"Play/Pause","tooltip-location":"top","tooltip-offset":"5px",faSize:"1x","show-tooltip":!t.mobile},null,8,["fa-icon","color","focus-color","show-tooltip"]),(0,a.Wm)(We,{id:"speed-down","fa-icon":"angle-double-down",onActivate:e[51]||(e[51]=function(){t.speedIndex-=1,t.playbackRate=Math.pow(10,t.speedIndex),t.playing=!0}),color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"10x slower","tooltip-location":"top","tooltip-offset":"5px",faSize:"1x","show-tooltip":!t.mobile},null,8,["color","focus-color","show-tooltip"]),(0,a.Wm)(We,{id:"speed-up","fa-icon":"angle-double-up",onActivate:e[52]||(e[52]=function(){t.speedIndex+=1,t.playbackRate=Math.pow(10,t.speedIndex),t.playing=!0}),color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"10x faster","tooltip-location":"top","tooltip-offset":"5px",faSize:"1x","show-tooltip":!t.mobile},null,8,["color","focus-color","show-tooltip"]),(0,a.Wm)(We,{id:"reset","fa-icon":"rotate",onActivate:e[53]||(e[53]=function(){t.selectedTime=169729238e4,t.speedIndex=3,t.playbackRate=Math.pow(10,t.speedIndex),t.playing=!1,t.toggleTrackSun=!0}),color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"Reset","tooltip-location":"top","tooltip-offset":"5px",faSize:"1x","show-tooltip":!t.mobile},null,8,["color","focus-color","show-tooltip"]),(0,a._)("div",Pe,[(0,a.Uk)(" Time rate: "),1===t.playbackRate&&t.playing?((0,a.wg)(),(0,a.iD)("span",Le," Real time ")):(0,a.kq)("",!0),1!=t.playbackRate&&t.playing?((0,a.wg)(),(0,a.iD)("span",Ae,(0,s.zw)(t.playbackRate)+"ร— ",1)):(0,a.kq)("",!0),t.playing?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("span",Me," Paused "))])]),(0,a.Wm)(L.R,{id:"slider",modelValue:t.selectedTime,"onUpdate:modelValue":e[54]||(e[54]=function(e){return t.selectedTime=e}),max:t.maxTime,min:t.minTime,color:t.accentColor,ripple:!1,"hide-details":"","track-size":"4px","thumb-size":"14px","thumb-label":"always",step:t.millisecondsPerInterval,onMousedown:e[55]||(e[55]=function(){t.playing=!1})},{"thumb-label":(0,a.w5)((function(e){return[(0,a.Uk)((0,s.zw)(t.toTimeString(new Date(e.modelValue))),1)]})),_:1},8,["modelValue","max","min","color","step"]),(0,a._)("div",ze,[(0,a.Wm)(We,{"md-icon":"mdi-lock",onActivate:e[56]||(e[56]=function(){return t.showPrivacyDialog=!0}),color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"Change privacy settings","tooltip-location":"bottom","tooltip-offset":"5px","show-tooltip":!t.mobile,mdSize:"1em"},null,8,["color","focus-color","show-tooltip"])])])]),t.smallSize?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",Oe,[(0,a.Wm)(Ve)]))]),(0,a.Wm)(y.B,{scrim:"false",modelValue:t.showPrivacyDialog,"onUpdate:modelValue":e[59]||(e[59]=function(e){return t.showPrivacyDialog=e}),"max-width":"400px",id:"privacy-popup-dialog"},{default:(0,a.w5)((function(){return[(0,a.Wm)(d._,null,{default:(0,a.w5)((function(){return[(0,a.Wm)(f.Z,null,{default:(0,a.w5)((function(){return[(0,a.Uk)(" To evaluate usage of this app, "),Ee,(0,a.Uk)(' data may be collected, including locations viewed and map quiz responses. "My Location" data is NEVER collected. ')]})),_:1}),(0,a.Wm)(m.h,{class:"pt-3"},{default:(0,a.w5)((function(){return[(0,a.Wm)(k.C),(0,a.Wm)(h.T,{color:"#BDBDBD",href:"https://www.cfa.harvard.edu/privacy-statement",target:"_blank",rel:"noopener noreferrer"},{default:(0,a.w5)((function(){return[(0,a.Uk)(" Privacy Policy ")]})),_:1}),(0,a.Wm)(h.T,{color:"#ff6666",onClick:e[57]||(e[57]=function(){t.responseOptOut=!0,t.showPrivacyDialog=!1})},{default:(0,a.w5)((function(){return[(0,a.Uk)(" Opt out ")]})),_:1}),(0,a.Wm)(h.T,{color:"green",onClick:e[58]||(e[58]=function(){t.responseOptOut=!1,t.showPrivacyDialog=!1})},{default:(0,a.w5)((function(){return[(0,a.Uk)(" Allow ")]})),_:1})]})),_:1})]})),_:1})]})),_:1},8,["modelValue"]),(0,a.Wm)($e,{group:"copy-url",position:"center top",classes:"url-notification"}),(0,a.Wm)($e,{group:"geolocation-error",position:"center top"})])]})),_:1},8,["style"])}var Re=n(2117),De=n(7850),Be=n(5294),We=function(){function t(){this.addedToPrimitives=!1,this.annotationDirty=!0,this._opacity=1,this._showHoverLabel=!1}return t.prepBatch=function(e){(null==t.pointList||t.batchDirty)&&(t.pointList=new Be.PointList(e),t.lineList=new Be.LineList,t.triangleFanPointList=new Be.TriangleFanList,t.triangleList=new Be.TriangleList,t.lineList.set_depthBuffered(!1),t.triangleList.depthBuffered=!1)},t.drawBatch=function(e){t.batchDirty=!1,null!=e.gl&&(null!=t.pointList&&t.pointList.draw(e,1,!1),null!=t.lineList&&t.lineList.drawLines(e,1),null!=t.triangleFanPointList&&t.triangleFanPointList.draw(e,1),null!=t.triangleList&&t.triangleList.draw(e,1,0))},t.separation=function(t,e,n,o){e=e/180*Math.PI,o=o/180*Math.PI,t=t/12*Math.PI,n=n/12*Math.PI;var i=Math.cos(e)*Math.sin(o)-Math.sin(e)*Math.cos(o)*Math.cos(n-t),r=Math.cos(o)*Math.sin(n-t),a=Math.sin(e)*Math.sin(o)+Math.cos(e)*Math.cos(o)*Math.cos(n-t),s=Math.atan2(Math.sqrt(i*i+r*r),a);return s=s/Math.PI*180,s<0&&(s+=180),s},t.colorToUint=function(t){return t.a<<24|t.r<<16|t.g<<8|t.b},t.colorToUintAlpha=function(t,e){return e<<24|t.r<<16|t.g<<8|t.b},t.prototype.get_opacity=function(){return this._opacity},t.prototype.set_opacity=function(e){return t.batchDirty=!0,this._opacity=e,e},t.prototype.draw=function(t){},t.prototype.get_id=function(){return this._id},t.prototype.set_id=function(t){return this._id=t,t},t.prototype.get_tag=function(){return this._tag},t.prototype.set_tag=function(t){return this._tag=t,t},t.prototype.get_label=function(){return this._label},t.prototype.set_label=function(t){return this._label=t,t},t.prototype.get_showHoverLabel=function(){return this._showHoverLabel},t.prototype.set_showHoverLabel=function(t){return this._showHoverLabel=t,t},t.prototype.hitTest=function(t,e,n,o,i){return!1},t.prototype.get_center=function(){return this.center},t.prototype.set_center=function(t){return this.center=t,t},t.addAnnotation=function(e){t.annotations.push(e),t.batchDirty=!0},t.clearAll=function(){t.annotations=[],t.batchDirty=!0},t.annotations=[],t.lineList=null,t.triangleFanPointList=null,t.triangleList=null,t.batchDirty=!0,t}(),Fe=function(t){function e(){var e=t.call(this)||this;return e._points$1=[],e._fill$1=!1,e._strokeWidth$1=1,e._lineColor$1=Be.Colors.get_white(),e._fillColor$1=Be.Colors.get_white(),e}return(0,r.ZT)(e,t),e.prototype.addPoint=function(t,e){We.batchDirty=!0,this._points$1.push(Be.Coordinates.raDecTo3d(t/15,e))},e.prototype.get_fill=function(){return this._fill$1},e.prototype.set_fill=function(t){return We.batchDirty=!0,this._fill$1=t,t},e.prototype.get_lineWidth=function(){return this._strokeWidth$1},e.prototype.set_lineWidth=function(t){return We.batchDirty=!0,this._strokeWidth$1=t,t},e.prototype.get_lineColor=function(){return this._lineColor$1.toString()},e.prototype.set_lineColor=function(t){return We.batchDirty=!0,this._lineColor$1=Be.Color.fromName(t),t},e.prototype.get_fillColor=function(){return this._fillColor$1.toString()},e.prototype.set_fillColor=function(t){return We.batchDirty=!0,this._fillColor$1=Be.Color.fromName(t),t},e.prototype.draw=function(t){var e,n;if(null!=t.gl){if(We.batchDirty||this.annotationDirty){var o=this._points$1;if(this._strokeWidth$1>0&&this._points$1.length>1){var i=this._lineColor$1._clone();i.a=Math.round(i.a*this.get_opacity());for(var a=0;ay&&Be.SpaceTimeController.get_jNow()<_){var w=1;Be.SpaceTimeController.get_jNow()v&&(w=(_-Be.SpaceTimeController.get_jNow())/(m.get_fadeSpan()/864e6)),m.set_astronomical(n),m.draw(t,e*w,a)}}}}catch(b){s={error:b}}finally{try{f&&!f.done&&(l=p.return)&&l.call(p)}finally{if(s)throw s.error}}t.set_nominalRadius(d),t.set_world(u),t.set_worldBaseNonRotating(h)}}}function Ge(){if(this.renderContext.space&&this._tracking&&null!=this._trackingObject)if(Be.Settings.get_active().get_galacticMode()&&this.renderContext.space){var t=Be.Coordinates.j2000toGalactic(15*this._trackingObject.get_RA(),this._trackingObject.get_dec());this.renderContext.targetAlt=this.renderContext.alt=t[1],this.renderContext.targetAz=this.renderContext.az=t[0]}else if(this.renderContext.space&&Be.Settings.get_active().get_localHorizonMode()){var e=Be.Coordinates.equitorialToHorizon(Be.Coordinates.fromRaDec(this._trackingObject.get_RA(),this._trackingObject.get_dec()),Be.SpaceTimeController.get_location(),Be.SpaceTimeController.get_now());this.renderContext.targetAlt=this.renderContext.alt=e.get_alt(),this.renderContext.targetAz=this.renderContext.az=e.get_az()}else this.renderContext.viewCamera.lng=this.renderContext.targetCamera.lng=this.rAtoViewLng(this._trackingObject.get_RA()),this.renderContext.viewCamera.lat=this.renderContext.targetCamera.lat=this._trackingObject.get_dec();else this.get_solarSystemMode()||(this._tracking=!1,this._trackingObject=null);var n=1-.8,o=.8;if(!this._tracking){var i=this.renderContext.viewCamera.zoom/4e3;this.renderContext.viewCamera.zoom>360&&(i=.009),this.renderContext.space&&(Be.Settings.get_active().get_localHorizonMode()||Be.Settings.get_active().get_galacticMode())?1===(Math.abs(this.renderContext.targetAlt-this.renderContext.alt)>=i|Math.abs(this.renderContext.targetAz-this.renderContext.az)>=i)&&(this.renderContext.alt+=(this.renderContext.targetAlt-this.renderContext.alt)/10,Math.abs(this.renderContext.targetAz-this.renderContext.az)>170?this.renderContext.targetAz>this.renderContext.az?this.renderContext.az+=(this.renderContext.targetAz-(360+this.renderContext.az))/10:this.renderContext.az+=(360+this.renderContext.targetAz-this.renderContext.az)/10:this.renderContext.az+=(this.renderContext.targetAz-this.renderContext.az)/10,this.renderContext.az=(this.renderContext.az+720)%360):1===(Math.abs(this.renderContext.targetCamera.lat-this.renderContext.viewCamera.lat)>=i|Math.abs(this.renderContext.targetCamera.lng-this.renderContext.viewCamera.lng)>=i)?(this.renderContext.viewCamera.lat+=(this.renderContext.targetCamera.lat-this.renderContext.viewCamera.lat)/10,Math.abs(this.renderContext.targetCamera.lng-this.renderContext.viewCamera.lng)>170?this.renderContext.targetCamera.lng>this.renderContext.viewCamera.lng?this.renderContext.viewCamera.lng+=(this.renderContext.targetCamera.lng-(360+this.renderContext.viewCamera.lng))/10:this.renderContext.viewCamera.lng+=(360+this.renderContext.targetCamera.lng-this.renderContext.viewCamera.lng)/10:this.renderContext.viewCamera.lng+=(this.renderContext.targetCamera.lng-this.renderContext.viewCamera.lng)/10,this.renderContext.viewCamera.lng=(this.renderContext.viewCamera.lng+720)%360):this.renderContext.viewCamera.lat===this.renderContext.targetCamera.lat&&this.renderContext.viewCamera.lng===this.renderContext.targetCamera.lng||(this.renderContext.viewCamera.lat=this.renderContext.targetCamera.lat,this.renderContext.viewCamera.lng=this.renderContext.targetCamera.lng)}this.renderContext.viewCamera.zoom=o*this.renderContext.viewCamera.zoom+n*this.renderContext.targetCamera.zoom,this.renderContext.viewCamera.rotation=o*this.renderContext.viewCamera.rotation+n*this.renderContext.targetCamera.rotation,this.renderContext.viewCamera.angle=o*this.renderContext.viewCamera.angle+n*this.renderContext.targetCamera.angle}function Ye(){var t,e,n,o;null!=this.renderContext.get_backgroundImageset()?this.renderType=this.renderContext.get_backgroundImageset().get_dataSetType():this.renderType=2;var i=!1;if(this.canvas.width!==this.canvas.parentNode.clientWidth&&(this.canvas.width=this.canvas.parentNode.clientWidth,i=!0),this.canvas.height!==this.canvas.parentNode.clientHeight&&(this.canvas.height=this.canvas.parentNode.clientHeight,i=!0),i&&null!=this.explorer&&this.explorer.refresh(),!(this.canvas.width<1||this.canvas.height<1)){if(i&&(this._crossHairs=null),Be.Tile.lastDeepestLevel=Be.Tile.deepestLevel,Be.RenderTriangle.width=this.renderContext.width=this.canvas.width,Be.RenderTriangle.height=this.renderContext.height=this.canvas.height,Be.Tile.tilesInView=0,Be.Tile.tilesTouched=0,Be.Tile.deepestLevel=0,Be.SpaceTimeController.set_metaNow(new Date),null!=this.get__mover()){if(Be.SpaceTimeController.set_now(this.get__mover().get_currentDateTime()),Be.Planets.updatePlanetLocations(this.get_solarSystemMode()),null!=this.get__mover()){var a=this.get__mover().get_currentPosition();if(this.renderContext.targetCamera=a.copy(),this.renderContext.viewCamera=a.copy(),this.renderContext.space&&Be.Settings.get_active().get_galacticMode()){var s=Be.Coordinates.j2000toGalactic(15*a.get_RA(),a.get_dec());this.renderContext.targetAlt=this.renderContext.alt=s[1],this.renderContext.targetAz=this.renderContext.az=s[0]}else if(this.renderContext.space&&Be.Settings.get_active().get_localHorizonMode()){var l=Be.Coordinates.equitorialToHorizon(Be.Coordinates.fromRaDec(a.get_RA(),a.get_dec()),Be.SpaceTimeController.get_location(),Be.SpaceTimeController.get_now());this.renderContext.targetAlt=this.renderContext.alt=l.get_alt(),this.renderContext.targetAz=this.renderContext.az=l.get_az()}this.get__mover().get_complete()&&(Be.WWTControl.scriptInterface._fireArrived(this.get__mover().get_currentPosition().get_RA(),this.get__mover().get_currentPosition().get_dec(),Be.WWTControl.singleton.renderContext.viewCamera.zoom),this.set__mover(null),this._notifyMoveComplete())}}else Be.SpaceTimeController.updateClock(),Be.Planets.updatePlanetLocations(this.get_solarSystemMode()),this._updateViewParameters();if(this.renderContext.clear(),this.renderContext.setupMatricesSpace3d(this.renderContext.width,this.renderContext.height),this.renderContext.drawImageSet(this.renderContext.get_backgroundImageset(),100),null!=this.renderContext.get_foregroundImageset())if(this.renderContext.get_foregroundImageset().get_dataSetType()!==this.renderContext.get_backgroundImageset().get_dataSetType())this.renderContext.set_foregroundImageset(null);else if(100!==this.renderContext.viewCamera.opacity&&null==this.renderContext.gl){this._foregroundCanvas.width===this.renderContext.width&&this._foregroundCanvas.height===this.renderContext.height||(this._foregroundCanvas.width=this.renderContext.width,this._foregroundCanvas.height=this.renderContext.height);var c=this.renderContext.device;this._fgDevice.clearRect(0,0,this.renderContext.width,this.renderContext.height),this.renderContext.device=this._fgDevice,this.renderContext.drawImageSet(this.renderContext.get_foregroundImageset(),100),this.renderContext.device=c,this.renderContext.device.save(),this.renderContext.device.globalAlpha=this.renderContext.viewCamera.opacity/100,this.renderContext.device.drawImage(this._foregroundCanvas,0,0),this.renderContext.device.restore()}else this.renderContext.drawImageSet(this.renderContext.get_foregroundImageset(),this.renderContext.viewCamera.opacity);if(null!=this.uiController)this.uiController.render(this.renderContext);else{Be.Annotation.prepBatch(this.renderContext);try{for(var u=(0,r.XA)(this._annotations),h=u.next();!h.done;h=u.next()){var d=h.value;d.draw(this.renderContext)}}catch(k){t={error:k}}finally{try{h&&!h.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}if(Be.Annotation.drawBatch(this.renderContext),Date.now()-this._lastMouseMove>400){var p=this.getCoordinatesForScreenPoint(this._hoverTextPoint.x,this._hoverTextPoint.y);this._annotationHover(p.x,p.y,this._hoverTextPoint.x,this._hoverTextPoint.y),this._lastMouseMove=new Date(2100,1,1)}this._hoverText&&this._drawHoverText(this.renderContext)}for(var f in this.renderContext.get_catalogHipsImagesets())f.get_hipsProperties().get_catalogSpreadSheetLayer().enabled&&f.get_hipsProperties().get_catalogSpreadSheetLayer().lastVersion===f.get_hipsProperties().get_catalogSpreadSheetLayer().get_version()&&this.renderContext.drawImageSet(f,100);Be.Settings.get_active().get_showSolarSystem()&&(this.constellation=Be.Constellations.containment.findConstellationForPoint(this.renderContext.viewCamera.get_RA(),this.renderContext.viewCamera.get_dec()),this._drawSkyOverlays(),Be.Planets.drawPlanets(this.renderContext,1)),We.prepBatch(this.renderContext);try{for(var m=(0,r.XA)(We.annotations),g=m.next();!g.done;g=m.next()){d=g.value;d.draw(this.renderContext)}}catch(S){n={error:S}}finally{try{g&&!g.done&&(o=m.return)&&o.call(m)}finally{if(n)throw n.error}}We.drawBatch(this.renderContext);var v=this.renderContext.get_world(),y=this.renderContext.get_view(),_=this.renderContext.get_projection();Be.Settings.get_current().get_showCrosshairs()&&this._drawCrosshairs(this.renderContext);var w=!Be.TileCache.get_queueCount();this.renderContext.setupMatricesOverlays(),this._fadeFrame(),this._frameCount++,Be.TileCache.decimateQueue(),Be.TileCache.processQueue(this.renderContext),Be.Tile.currentRenderGeneration++,Be.TourPlayer.get_playing()||this.set_crossFadeFrame(!1),this.renderContext.set_world(v),this.renderContext.set_view(y),this.renderContext.set_projection(_);var b=Date.now(),x=b-this._lastUpdate;x>1e3&&(this._lastUpdate=b,this._frameCount=0,Be.RenderTriangle.trianglesRendered=0,Be.RenderTriangle.trianglesCulled=0),this.capturingVideo&&(null==this.dumpFrameParams||this.dumpFrameParams.waitDownload&&!w||(this.captureFrameForVideo(this._videoBlobReady,this.dumpFrameParams.width,this.dumpFrameParams.height,this.dumpFrameParams.format),Be.SpaceTimeController.nextFrame()),Be.SpaceTimeController.get_doneDumping()&&(Be.SpaceTimeController.frameDumping=!1,Be.SpaceTimeController.cancelFrameDump=!1,this.capturingVideo=!1)),this.renderFrameCallback&&this.renderFrameCallback(this)}}var Ke=Math.PI/180,Je=180/Math.PI,Xe=Date.UTC(2023,9,14,15,3),Qe=Date.UTC(2023,9,14,20,55),tn=18e6,en=Xe-tn,nn=Qe+tn,on=86400,rn=1e3*on,an=40,sn=1e3*an,ln=[],cn=en;while(cn<=nn)ln.push(cn),ln.push(cn+sn),cn+=sn;var un=null,hn="User Selected",dn="eclipse-mini-uuid",pn="eclipse-mini-optout",fn="user-selected-locations",mn="preset-locations",gn="mc-responses";const vn=(0,a.aZ)({extends:i.MiniDSBase,props:{wwtNamespace:{type:String,required:!0},initialCameraParams:{type:Object,default:function(){return{raRad:3.481,decRad:-.145,zoomDeg:1}}}},data:function(){var t,e,n,o,i,a=new Date("2023-10-14T10:48"),s=new Date("2023-10-14T16:48:00Z"),l=new Be.Place;l.set_names(["Sun"]),l.set_classification(De.ZH.solarSystem),l.set_target(De.eJ.sun),l.set_zoomLevel(20);var c=new Be.Place;c.set_names(["Moon"]),c.set_classification(De.ZH.solarSystem),c.set_target(De.eJ.moon);var u={initialLocation:{latitudeDeg:38,longitudeDeg:-97},initialZoom:3},h=window.localStorage.getItem(fn),d=h&&null!==(e=this.parseJSONString(h))&&void 0!==e?e:[];un&&d.push([un.latitudeDeg,un.longitudeDeg]);var p=window.localStorage.getItem(mn),f=p&&null!==(n=this.parseJSONString(p))&&void 0!==n?n:[],m=un?hn:"Albuquerque, NM";f.push(m);var g=window.localStorage.getItem(gn),v=g&&null!==(o=this.parseJSONString(g))&&void 0!==o?o:[],y=null!==(i=window.localStorage.getItem(dn))&&void 0!==i?i:(0,Ve.Z)();window.localStorage.setItem(dn,y);var _=window.localStorage.getItem(pn),w="string"===typeof _?"true"===_:null;return{uuid:y,responseOptOut:w,mcResponses:v,showSplashScreen:!0,backgroundImagesets:[],sheet:null,layersLoaded:!1,positionSet:!1,imagesetFolder:null,showMapTooltip:!1,showTextTooltip:!1,showMapSelector:!1,showLocationSelector:!1,getMyLocation:!1,myLocation:null,showWWTGuideSheet:!1,selectionProximity:4,pointerMoveThreshold:6,isPointerMoving:!1,pointerStartPosition:null,timeOfDay:{hours:a.getHours(),minutes:a.getMinutes(),seconds:a.getSeconds()},selectedTime:s.getTime(),selectedTimezone:"America/Denver",location:un?{latitudeRad:Ke*un.latitudeDeg,longitudeRad:Ke*un.longitudeDeg}:{latitudeRad:35.106766*Ke,longitudeRad:-106.629181*Ke},selectedLocation:un?hn:"Albuquerque, NM",locationErrorMessage:"",syncDateTimeWithWWTCurrentTime:!0,syncDateTimewithSelectedTime:!0,presetMapOptions:(0,r.pi)({templateUrl:"https://watercolormaps.collection.cooperhewitt.org/tile/watercolor/{z}/{x}/{y}.jpg",minZoom:1,maxZoom:16,attribution:'Maptiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY-SA 2.0',ext:"jpg"},u),userSelectedMapOptions:(0,r.pi)({attribution:'© Stadia Maps © Stamen Design © OpenMapTiles © OpenStreetMap contributors'},un?(0,r.pi)((0,r.pi)({},un),{initialZoom:5}):u),eclipsePathLocations:(t={"Albuquerque, NM":{name:"Albuquerque, NM",latitudeRad:35.106766*Ke,longitudeRad:-106.629181*Ke,eclipseFraction:.97},"Eugene, OR":{name:"Eugene, OR",latitudeRad:44.052069*Ke,longitudeRad:-123.086754*Ke,eclipseFraction:.95},"San Antonio, TX":{name:"San Antonio, TX",latitudeRad:29.43421*Ke,longitudeRad:-98.486798*Ke,eclipseFraction:.96},"Denver, CO":{name:"Denver, CO",latitudeRad:39.739235*Ke,longitudeRad:-104.99025*Ke,eclipseFraction:.85},"Bismarck, ND":{name:"Bismarck, ND",latitudeRad:46.806673*Ke,longitudeRad:-100.797396*Ke,eclipseFraction:.64},"Los Angeles, CA":{name:"Los Angeles, CA",latitudeRad:34.05*Ke,longitudeRad:-118.24*Ke,eclipseFraction:.78},"Chicago, IL":{name:"Chicago, IL",latitudeRad:41.878113*Ke,longitudeRad:-87.629799*Ke,eclipseFraction:.54},"Boston, MA":{name:"Boston, MA",latitudeRad:42.360081*Ke,longitudeRad:-71.058884*Ke,eclipseFraction:.29},"Charlotte, NC":{name:"Charlotte, NC",latitudeRad:35.227085*Ke,longitudeRad:-80.843124*Ke,eclipseFraction:.53}},t[hn]={name:hn,latitudeRad:35.106766*Ke,longitudeRad:-106.629181*Ke,eclipseFraction:.97},t),currentPercentEclipsed:0,places:[],placeCircleOptions:{color:"#0000FF",fillColor:"#0000FF",fillOpacity:.7,radius:5},selectedCircleOptions:{color:"#FF0000",fillColor:"#FF0000",fillOpacity:.7,radius:5},learnerPath:un?"Choose":"Explore",playing:!1,playingIntervalId:null,playingWaitCount:0,showControls:!0,showAltAzGrid:!0,showHorizon:!0,showTextSheet:!1,showEclipsePercentage:!0,showLinkToPath:!1,toggleTrackSun:!0,times:ln,minTime:en,maxTime:nn,millisecondsPerInterval:sn,accentColor:"#ff8f00",moonColor:"#CFD8DC",guidedContentHeight:"300px",showGuidedContent:!0,inIntro:!1,displaySwitchOn:!0,displaySwitchOff:!1,scrollUp:!1,showPrivacyDialog:!1,showMyLocationDialog:!1,tab:0,introSlide:1,viewerMode:"SunScope",showSky:!0,skyColorNight:"#1F1F1F",skyColorLight:"#4190ED",skyColor:"#4190ED",skyOpacity:.6,horizonOpacity:1,useRegularMoon:!1,moonTexture:"moon-sky-blue-overlay.png",playbackRate:1,horizonRate:1e3,scopeRate:1e3,speedIndex:3,startPaused:!1,quizAnswer:null,longAnswers:["Eclipse moves North to South from Bismarck, ND through Denver, CO and Albuquerque, NM","Eclipse moves West to East from Los Angeles, CA to Charlotte, NC","Eclipse moves Northwest to South from Eugene, OR to San Antonio, TX"],sunPlace:l,moonPlace:c,queryData:un,presetLocationsVisited:f,userSelectedLocationsVisited:d}},beforeCreate:function(){var t,e,n=new URLSearchParams(window.location.search),o=parseFloat(null!==(t=n.get("lat"))&&void 0!==t?t:""),i=parseFloat(null!==(e=n.get("lon"))&&void 0!==e?e:"");o&&i&&(un={latitudeDeg:o,longitudeDeg:i})},created:function(){this.places=Object.entries(this.eclipsePathLocations).filter((function(t){var e=(0,r.CR)(t,2),n=e[0];e[1];return n!==hn})).sort((function(t,e){var n=(0,r.CR)(t,2),o=(n[0],n[1]),i=(0,r.CR)(e,2),a=(i[0],i[1]);return o.longitudeRad-a.longitudeRad})).map((function(t){var e=(0,r.CR)(t,2),n=(e[0],e[1]);return(0,r.pi)((0,r.pi)({},n),{latitudeDeg:Je*n.latitudeRad,longitudeDeg:Je*n.longitudeRad})}))},mounted:function(){var t=this;this.waitForReady().then((function(){return(0,r.mG)(t,void 0,void 0,(function(){var t=this;return(0,r.Jh)(this,(function(e){return this.backgroundImagesets=(0,r.ev)([],(0,r.CR)(i.skyBackgroundImagesets),!1),this.setTime(this.dateTime),this.wwtSettings.set_localHorizonMode(!0),this.wwtSettings.set_showAltAzGrid(this.showAltAzGrid),this.wwtSettings.set_showAltAzGridText(this.showAltAzGrid),this.wwtControl._drawSkyOverlays=He,Be.Grids._makeAltAzGridText=$e,Be.LayerManager._draw=qe,this.wwtControl._updateViewParameters=Ge.bind(this.wwtControl),this.wwtControl.renderOneFrame=Ye.bind(this.wwtControl),this.wwtControl.renderOneFrame(),this.wwtControl.renderFrameCallback=this.onWWTRenderFrame,Be.Planets["_planetTextures"][0]=Be.Texture.fromUrl(n(74)),this.setForegroundImageByName("Digitized Sky Survey (Color)"),this.setForegroundOpacity(100),this.updateMoonTexture(!0),this.updateWWTLocation(),this.setClockSync(!1),this.setClockRate(1),this.playbackRate=1,this.layersLoaded=!0,"SunScope"==this.viewerMode?this.startSolarScopeMode():this.startHorizonMode(),this.trackSun().then((function(){return t.positionSet=!0})),this.setTimeforSunAlt(10),setInterval((function(){if(t.playing){var e=t.wwtCurrentTime;t.selectedTime=e.getTime(),t.updateFrontAnnotations(e)}}),500),window.addEventListener("keyup",(function(e){["Esc","Escape"].includes(e.key)&&t.showVideoSheet&&(t.showVideoSheet=!1)})),[2]}))}))})),this.$nextTick((function(){window.addEventListener("resize",t.onResize),t.onResize()})),this.showControls=!this.mobile,this.showGuidedContent=!this.xSmallSize,this.updateSkyOpacityForSunAlt(10*Ke);var e=document.getElementById("guided-content-container");e&&e.addEventListener("scroll",(function(){return t.onScroll()}))},computed:{dateTime:function(){return new Date(this.selectedTime)},selectedTimezoneOffset:function(){return(0,Ne.Z)(this.selectedTimezone)},selectedLocalDateString:function(){return(0,je.Z)(this.dateTime,this.selectedTimezone,"MMMM dd, yyyy")},selectedLocaledTimeDateString:function(){return this.smallSize?(0,je.Z)(this.dateTime,this.selectedTimezone,"MM/dd, HH:mm (zzz)"):(0,je.Z)(this.dateTime,this.selectedTimezone,"MM/dd/yyyy HH:mm (zzz)")},ready:function(){return this.layersLoaded&&this.positionSet},isLoading:function(){return!this.ready},selectedDate:function(){return new Date(this.selectedTime)},smallSize:function(){return this.$vuetify.display.smAndDown},smAndUp:function(){return this.$vuetify.display.smAndUp},xSmallSize:function(){return this.$vuetify.display.xs},mobile:function(){return this.smallSize&&this.touchscreen},cssVars:function(){return{"--accent-color":this.accentColor,"--sky-color":this.skyColorLight,"--app-content-height":(this.showInfoSheet,"100%"),"--top-content-height":(this.showGuidedContent,this.guidedContentHeight),"--moon-color":this.moonColor}},wwtControl:function(){return Be.WWTControl.singleton},wwtSettings:function(){return Be.Settings.get_active()},dayFrac:function(){var t=new Date,e=this.selectedTimezoneOffset/36e5;t.setUTCHours(this.timeOfDay.hours-e,this.timeOfDay.minutes,this.timeOfDay.seconds);var n=1e3*(3600*t.getUTCHours()+60*t.getUTCMinutes()+t.getUTCSeconds());return n/rn},showInfoSheet:{get:function(){return"text"===this.sheet},set:function(t){this.selectSheet("text")}},locationDeg:{get:function(){return{latitudeDeg:Je*this.location.latitudeRad,longitudeDeg:Je*this.location.longitudeRad}},set:function(t){this.location={latitudeRad:Ke*t.latitudeDeg,longitudeRad:Ke*t.longitudeDeg}}},tickDurationMS:function(){return sn/this.playbackRate},maxPlaybackRate:function(){var t=10;return sn/t},sunPosition:function(){var t=this.equatorialToHorizontal(15*this.sunPlace.get_RA()*Ke,this.sunPlace.get_dec()*Ke,this.location.latitudeRad,this.location.longitudeRad,this.dateTime);return(0,r.pi)({raRad:15*this.sunPlace.get_RA()*Ke,decRad:this.sunPlace.get_dec()*Ke},t)},moonPosition:function(){var t=this.equatorialToHorizontal(15*this.moonPlace.get_RA()*Ke,this.moonPlace.get_dec()*Ke,this.location.latitudeRad,this.location.longitudeRad,this.dateTime);return(0,r.pi)({raRad:15*this.moonPlace.get_RA()*Ke,decRad:this.moonPlace.get_dec()*Ke},t)},sunAboveHorizon:function(){return this.sunPosition.altRad>0},selectedLocationText:function(){if(this.selectedLocation!==hn&&"My Location"!==this.selectedLocation)return this.selectedLocation;var t=this.locationDeg.latitudeDeg>=0?"N":"S",e=this.locationDeg.longitudeDeg>=0?"E":"W",n=Math.abs(this.locationDeg.latitudeDeg).toFixed(3),o=Math.abs(this.locationDeg.longitudeDeg).toFixed(3);return"".concat(n,"ยฐ ").concat(t,", ").concat(o,"ยฐ ").concat(e)},percentEclipsedText:function(){var t=Math.abs(100*this.currentPercentEclipsed).toFixed(0);return"Eclipsed: ".concat(t,"%")},trackingSun:{set:function(t){this.toggleTrackSun=t},get:function(){return this.toggleTrackSun}},defaultRate:function(){return"Horizon"===this.viewerMode?this.horizonRate:this.scopeRate},showVideoSheet:{get:function(){return"video"===this.sheet},set:function(t){this.selectSheet("video")}}},methods:{onScroll:function(){var t=document.getElementById("guided-content-container");if(t){var e=t.scrollTop>0;this.scrollUp!==e&&(this.scrollUp=e)}},scrollToTop:function(){var t=document.getElementById("guided-content-container");t&&(this.scrollUp?t.scrollTo({top:0}):t.scrollTo({top:t.scrollHeight}))},trackSun:function(){return(0,r.mG)(this,void 0,Promise,(function(){return(0,r.Jh)(this,(function(t){return[2,this.gotoTarget({place:this.sunPlace,instant:!0,noZoom:!0,trackObject:!0})]}))}))},centerSun:function(){return(0,r.mG)(this,void 0,Promise,(function(){return(0,r.Jh)(this,(function(t){return[2,this.gotoTarget({place:this.sunPlace,instant:!0,noZoom:!0,trackObject:this.trackingSun})]}))}))},angleInZeroToTwoPi:function(t){var e=2*Math.PI;return(t%e+e)%e},angleBetween:function(t,e,n){return e=e&&t<=n:t>=e||t<=n},updateIntersection:function(){var t=this,e=this.wwtControl.canvas.height,n=Be.Planets["_planetLocations"][0],o=Be.Planets["_planetLocations"][9],i=this.findScreenPointForRADec({ra:15*n.RA,dec:n.dec}),r=this.findScreenPointForRADec({ra:15*o.RA,dec:o.dec});r.y=e-r.y,i.x-=r.x,i.y=e-i.y-r.y;var a=this.getJulian(this.selectedDate),s=Be.CAAMoon.radiusVector(a),l=149597871,c=1740,u=696340,h=Math.atan2(c,s),d=Math.atan2(u,l),p=6*h*e/(this.wwtZoomDeg*Ke),f=6*d*e/(this.wwtZoomDeg*Ke),m=[],g=Math.sqrt(i.x*i.x+i.y*i.y);if(g>p+f)this.currentPercentEclipsed=0;else{var v=g=p)return;if(P=Math.sqrt(p*p-z*z),isNaN(P))return void(this.currentPercentEclipsed=0);L=z,A=-P,M=z}else{var O=-i.x/i.y,E=(i.x*i.x+i.y*i.y-(f*f-p*p))/(2*i.y),I=1+O*O,R=2*O*E,D=E*E-p*p,B=Math.sqrt(R*R-4*I*D);if(isNaN(B))return void(this.currentPercentEclipsed=0);P=(-R+B)/(2*I),A=(-R-B)/(2*I),L=O*P+E,M=O*A+E}var W=this.angleInZeroToTwoPi(Math.atan2(i.y,i.x)),F=Math.atan2(L/p,P/p),N=Math.atan2(M/p,A/p);if(F=this.angleInZeroToTwoPi(F),N=this.angleInZeroToTwoPi(N),!this.angleBetween(W,F,N)){var j=F;F=N,N=j}F>N&&(F-=2*Math.PI);var Z=N-F;for(C=0;C<=S;C++){T=F+C/S*Z;m.push({x:p*Math.cos(T),y:p*Math.sin(T)})}var U=Math.atan2((L-i.y)/f,(P-i.x)/f),V=Math.atan2((M-i.y)/f,(A-i.x)/f);U=this.angleInZeroToTwoPi(U),V=this.angleInZeroToTwoPi(V);var H=this.angleInZeroToTwoPi(Math.PI+W);if(!this.angleBetween(H,U,V)){var $=U;U=V,V=$}U>V&&(U-=2*Math.PI);var q=V-U;for(C=0;C<=S;C++){T=U+C/S*q;m.push({x:f*Math.cos(T)+i.x,y:f*Math.sin(T)+i.y})}}for(C=0;C0&&"SunScope"!==this.viewerMode;e=n?"moon-sky-blue-overlay.png":"moon-dark-gray-overlay.png"}(t||e!==this.moonTexture&&Be.Planets._planetTextures)&&(Be.Planets._planetTextures[9]=this.textureFromAssetImage(e),this.moonTexture=e)},clearPlayingInterval:function(){null!==this.playingIntervalId&&(clearInterval(this.playingIntervalId),this.playingIntervalId=null)},moveOneIntervalForward:function(){this.selectedTime+=sn},moveOneIntervalBackward:function(){this.selectedTime-=sn},toUTCDateString:function(t){return"".concat(t.getUTCMonth()+1,"/").concat(t.getUTCDate(),"/").concat(t.getUTCFullYear())},toUTCTimeString:function(t){var e=t.getUTCMinutes(),n=e<10?"0".concat(e):"".concat(e),o=t.getUTCHours()<12?"AM":"PM";return"".concat(t.getUTCHours(),":").concat(n," ").concat(o)},toLocaleDateString:function(t){return t=new Date(t.getTime()+this.selectedTimezoneOffset),"".concat(t.getUTCMonth()+1,"/").concat(t.getUTCDate(),"/").concat(t.getUTCFullYear())},toLocaleTimeString:function(t){t=new Date(t.getTime()+this.selectedTimezoneOffset);var e=t.getUTCMinutes(),n=e<10?"0".concat(e):"".concat(e),o=t.getUTCHours()<12?"AM":"PM",i=t.getUTCHours()%12;return"".concat(0!=i?i:12,":").concat(n," ").concat(o)},toTimeString:function(t){return(0,je.Z)(t,this.selectedTimezone,"h:mm aaa (zzz)")},closeSplashScreen:function(){this.showSplashScreen=!1},updateWWTLocation:function(){this.wwtSettings.set_locationLat(Je*this.location.latitudeRad),this.wwtSettings.set_locationLng(Je*this.location.longitudeRad)},updateLocation:function(t){null!=t&&(this.selectedLocation=t,this.location={latitudeRad:this.eclipsePathLocations[t].latitudeRad,longitudeRad:this.eclipsePathLocations[t].longitudeRad})},updateLocationFromMap:function(t){if(null!=t){this.selectedLocation=hn,this.locationDeg=t,this.eclipsePathLocations[hn]={name:"User Selected: ".concat(t.latitudeDeg.toFixed(2),", ").concat(t.longitudeDeg.toFixed(2)),latitudeRad:Ke*t.latitudeDeg,longitudeRad:Ke*t.longitudeDeg,eclipseFraction:null};var e=this.$refs.citySelector;null===e||void 0===e||e.onMapSelect({latlng:{lat:t.latitudeDeg,lng:t.latitudeDeg}})}},onTimeSliderChange:function(){var t=this;this.$nextTick((function(){t.updateFrontAnnotations(t.dateTime)}))},sendDataToDatabase:function(){var t;this.responseOptOut||fetch("".concat(i.MINIDS_BASE_URL,"/annular-eclipse-2023/response"),{method:"PUT",headers:{"Content-Type":"application/json",Authorization:null!==(t="u9zxuCMosSfxgYayPo7jNrghaxtb4Y")&&void 0!==t?t:""},body:JSON.stringify({user_uuid:this.uuid,mc_responses:this.mcResponses,preset_locations:(0,Re.IU)(this.presetLocationsVisited),user_selected_locations:(0,Re.IU)(this.userSelectedLocationsVisited)})})},onAnswerSelected:function(t){"C"===t.text&&(this.showLinkToPath=!0),this.mcResponses.push(t.text),window.localStorage.setItem(gn,JSON.stringify(this.mcResponses)),this.sendDataToDatabase()},logLocation:function(){},logPosition:function(){},printUTCDate:function(t){return"".concat(t.getUTCMonth()+1,"/").concat(t.getUTCDate(),"/").concat(t.getUTCFullYear()," ").concat(t.getUTCHours(),":").concat(t.getUTCMinutes(),":").concat(t.getUTCSeconds())},selectSheet:function(t){var e=this;this.sheet===t?(this.sheet=null,this.$nextTick((function(){e.blurActiveElement()}))):this.sheet=t},altAzToHADec:function(t,e,n){e=Math.PI-e,e<0&&(e+=2*Math.PI);var o=Math.atan2(Math.sin(e),Math.cos(e)*Math.sin(n)+Math.tan(t)*Math.cos(n));o<0&&(o+=2*Math.PI);var i=Math.asin(Math.sin(n)*Math.sin(t)-Math.cos(n)*Math.cos(t)*Math.cos(e));return{ra:o,dec:i}},getJulian:function(t){var e=t.getUTCFullYear(),n=t.getUTCMonth()+1,o=t.getUTCDate(),i=t.getUTCHours(),r=t.getUTCMinutes(),a=t.getUTCSeconds()+t.getUTCMilliseconds()/1e3;1!=n&&2!=n||(e-=1,n+=12);var s=Math.floor(e/100),l=2-s+Math.floor(s/4),c=Math.floor(365.25*e),u=Math.floor(30.6001*(n+1)),h=l+c+u+1720994.5+o+(i+r/60+a/3600)/24;return h},mstFromUTC2:function(t,e){var n=e*Je,o=this.getJulian(t)-2451545,i=o/36525,r=280.46061837+360.98564736629*o+387933e-9*i*i-i*i*i/3871e4+n;if(r>0)while(r>360)r-=360;else while(r<0)r+=360;return r},horizontalToEquatorial:function(t,e,n,o,i){var r=this.mstFromUTC2(i,o),a=this.altAzToHADec(t,e,n),s=a.ra*Je,l=r+s;return l<0&&(l+=360),l>360&&(l-=360),{raRad:Ke*l,decRad:a.dec}},equatorialToHorizontal:function(t,e,n,o,i){var r=this.mstFromUTC2(i,o)-Je*t;r<0&&(r+=360);var a=Ke*r,s=e,l=n,c=Math.sin(s)*Math.sin(l)+Math.cos(s)*Math.cos(l)*Math.cos(a),u=Math.asin(c),h=(Math.sin(s)-Math.sin(u)*Math.sin(l))/(Math.cos(u)*Math.cos(l)),d=Math.acos(h);return d+=80*Math.PI%(2*Math.PI),Math.sin(a)>0&&(d=2*Math.PI-d),{altRad:u,azRad:d}},createHorizon:function(t){var e=this;void 0===t&&(t=null);for(var n="#01362C",o=t||this.dateTime||new Date,i=6,a=2*Math.PI/i,s=function(t){var i=[[0,t*a],[-Math.PI/2,t*a],[0,(t+1)*a]];i=i.map((function(t){var n=e.horizontalToEquatorial.apply(e,(0,r.ev)((0,r.ev)([],(0,r.CR)(t),!1),[e.location.latitudeRad,e.location.longitudeRad,o],!1));return[Je*n.raRad,Je*n.decRad]}));var s=new Fe;i.forEach((function(t){return s.addPoint.apply(s,(0,r.ev)([],(0,r.CR)(t),!1))})),s.set_lineColor(n),s.set_fill(!0),s.set_fillColor(n),s.set_opacity(l.horizonOpacity),We.addAnnotation(s)},l=this,c=0;cthis.pointerMoveThreshold&&(this.isPointerMoving=!0)}},onPointerDown:function(t){this.isPointerMoving=!1,this.pointerStartPosition={x:t.pageX,y:t.pageY}},onPointerUp:function(){this.pointerStartPosition=null,this.isPointerMoving=!1},updateForDateTime:function(){this.syncDateTimeWithWWTCurrentTime&&this.setTime(this.dateTime),this.updateFrontAnnotations(this.dateTime)},updateFrontAnnotations:function(t){void 0===t&&(t=null);try{this.removeAnnotations()}finally{this.updateIntersection(),this.showHorizon&&(this.createHorizon(t),this.showSky&&this.createSky(t))}},updateGuidedContentHeight:function(){var t=this,e=null;this.$nextTick((function(){if(e=document.getElementById("guided-content-container"),e){var n=e.clientHeight;t.guidedContentHeight="".concat(n,"px")}else t.guidedContentHeight="0px"}))},onResize:function(){var t=this;this.$nextTick((function(){t.updateGuidedContentHeight()})),this.updateGuidedContentHeight()},startHorizonMode:function(){this.wwtSettings.set_localHorizonMode(!0),this.showAltAzGrid=!0,this.skyColor=this.skyColorLight,this.showHorizon=!0,this.horizonOpacity=1,this.sunPlace.set_zoomLevel(60),this.gotoTarget({place:this.sunPlace,instant:!0,noZoom:!1,trackObject:this.toggleTrackSun}),this.playbackRate=this.horizonRate},startSolarScopeMode:function(){this.wwtSettings.set_localHorizonMode(!1),this.showAltAzGrid=!1,this.skyColor=this.skyColorNight,this.horizonOpacity=this.sunPosition.altRad>0+.5*Ke?1:.6,this.updateFrontAnnotations(),this.playbackRate=this.scopeRate,this.sunPlace.set_zoomLevel(20),this.gotoTarget({place:this.sunPlace,instant:!0,noZoom:!1,trackObject:!0})},getSunAltitudeAtTime:function(t){var e=this.equatorialToHorizontal(this.sunPosition.raRad,this.sunPosition.decRad,this.location.latitudeRad,this.location.longitudeRad,t);return e},getTimeforSunAlt:function(t){var e=this.selectedTime-this.selectedTime%rn-this.selectedTimezoneOffset,n=e+rn,o=e,i=this.getSunAltitudeAtTime(new Date(o)).altRad;while(it*Ke&&o0?0:1-(1+Math.atan(Math.PI*o/-n))/2;this.setForegroundOpacity(100*i)},getplaybackRate:function(t){var e;function n(t){return"h"==t[0]?3600:"m"==t[0]?60:"s"==t[0]?1:0}var o=t.match(/(\d+(\.(\d+)?)?)\s(\w+)\sper\s(\d+(\.(\d+)?)?)?\s?(\w+)/);if(null===o)return 1;var i=parseInt(o[1])*n(o[4]),r=parseInt(null!==(e=o[5])&&void 0!==e?e:1)*n(o[8]);return i/r},copyShareURL:function(){var t=this,e="".concat(window.location.origin).concat(window.location.pathname),n="".concat(e,"?lat=").concat(this.locationDeg.latitudeDeg,"&lon=").concat(this.locationDeg.longitudeDeg);navigator.clipboard.writeText(n).then((function(){return t.$notify({group:"copy-url",type:"success",text:"URL copied to clipboard. Paste to share with friends!",duration:5e3,ignoreDuplicates:!0})})).catch((function(e){return t.$notify({group:"copy-url",type:"error",text:"Failed to copy URL",duration:5e3,ignoreDuplicates:!0})}))},parseJSONString:function(t){try{return JSON.parse(t)}catch(e){return null}}},watch:{showGuidedContent:function(t){var e=this;this.onResize(),this.$nextTick((function(){e.onScroll()}))},cssVars:function(t){},responseOptOut:function(t){window.localStorage.setItem(pn,String(t))},inIntro:function(t){t||this.showSplashScreen||null!==this.responseOptOut||(this.showPrivacyDialog=!0)},showAltAzGrid:function(t){this.wwtSettings.set_showAltAzGrid(t),this.wwtSettings.set_showAltAzGridText(t)},showHorizon:function(t){this.updateFrontAnnotations(),this.updateMoonTexture()},showSky:function(t){this.updateFrontAnnotations(),this.updateMoonTexture()},wwtRollRad:function(t){0!==t&&this.gotoRADecZoom({raRad:this.wwtRARad,decRad:this.wwtDecRad,zoomDeg:this.wwtZoomDeg,rollRad:0,instant:!0})},useRegularMoon:function(t){this.updateMoonTexture(),this.updateFrontAnnotations(this.dateTime)},dateTime:function(t){this.updateForDateTime()},selectedTime:function(t){},wwtCurrentTime:function(t){t.getTime()>=this.maxTime||t.getTime()=24?(i-=24,this.moveOneIntervalForward()):i<0&&(i+=24,this.moveOneIntervalBackward()),this.timeOfDay.hours=i},location:function(t,e){var n=[Je*t.latitudeRad,Je*t.longitudeRad];e.latitudeRad*t.latitudeRad<0&&(Be.Grids._altAzTextBatch=null),this.selectedTimezone=Ue().apply(void 0,(0,r.ev)([],(0,r.CR)(n),!1)),this.playing=!1,this.updateWWTLocation(),this.wwtControl.renderOneFrame(),this.updateFrontAnnotations(),this.centerSun()},locationDeg:function(t){this.selectedLocation===hn&&(this.userSelectedLocationsVisited.push([t.latitudeDeg,t.longitudeDeg]),window.localStorage.setItem(fn,JSON.stringify(this.userSelectedLocationsVisited)),this.sendDataToDatabase())},selectedLocation:function(t){t in this.eclipsePathLocations&&t!==hn&&"My Location"!==t&&(this.presetLocationsVisited.push(t),window.localStorage.setItem(mn,JSON.stringify(this.presetLocationsVisited)),this.sendDataToDatabase())},playing:function(t){this.setClockSync(t)},showSplashScreen:function(t){t||(this.inIntro=!0)},introSlide:function(t){this.inIntro=t<3},viewerMode:function(t){"Horizon"===t?this.startHorizonMode():"SunScope"===t&&(this.horizonOpacity=.6,this.startSolarScopeMode()),this.updateMoonTexture()},skyColor:function(t){this.updateFrontAnnotations()},sunAboveHorizon:function(t){this.horizonOpacity=t?1:.85},sunPosition:function(t){this.updateSkyOpacityForSunAlt(t.altRad)},toggleTrackSun:function(t){if(!t){var e=new Be.Place;return e.set_RA(this.wwtRARad*Je/15),e.set_dec(this.wwtDecRad*Je),void this.gotoTarget({place:e,instant:!0,noZoom:!0,trackObject:!1})}this.trackSun()},playbackRate:function(t){t>11e3&&(console.warn("playbackRate too high, setting to maxPlaybackRate"),this.speedIndex=4,this.playbackRate=1e4),t<.1&&(console.warn("playbackRate too low, setting to minPlaybackRate"),this.speedIndex=-1,this.playbackRate=.1),this.setClockRate(t)}}});var yn=n(6959);const _n=(0,yn.Z)(vn,[["render",Ie]]),wn=_n;function bn(t,e,n,i,r,s){return(0,a.wg)(),(0,a.j4)(o.uT,{name:"expand",onEnter:t.enter,onAfterEnter:t.afterEnter,onLeave:t.leave},{default:(0,a.w5)((function(){return[(0,a.WI)(t.$slots,"default",{},void 0,!0)]})),_:3},8,["onEnter","onAfterEnter","onLeave"])}const xn=(0,a.aZ)({name:"TransitionExpand",emits:["enter","after-enter","leave"],methods:{enter:function(t){var e=getComputedStyle(t).width;t.style.width=e,t.style.position="absolute",t.style.visibility="hidden",t.style.height="auto";var n=getComputedStyle(t).height;t.style.width="",t.style.position="",t.style.visibility="visible",t.style.height="0px",getComputedStyle(t).height,requestAnimationFrame((function(){t.style.height=n})),this.$emit("enter")},afterEnter:function(t){t.style.height="auto",this.$emit("after-enter")},leave:function(t){var e=getComputedStyle(t).height;t.style.height=e,getComputedStyle(t).height,requestAnimationFrame((function(){t.style.height="0"})),this.$emit("leave")}}}),kn=(0,yn.Z)(xn,[["render",bn],["__scopeId","data-v-4fd945ad"]]),Sn=kn;var Cn=function(t){return(0,a.dD)("data-v-6a82dddb"),t=t(),(0,a.Cn)(),t},Tn=["id"],Pn=["src","alt"],Ln={key:0},An={class:"wcag-gif-container1"},Mn=["src","alt"],zn=Cn((function(){return(0,a._)("cite",{style:{display:"none"}},[(0,a.Uk)(" Adapted from "),(0,a._)("a",{href:"https://css-tricks.com/pause-gif-details-summary/"},"CSS Tricks"),(0,a.Uk)(" and "),(0,a._)("a",{href:"https://codepen.io/chriscoyier/pen/pogQJER"},"CodePen")],-1)}));function On(t,e,n,o,i,l){return(0,a.wg)(),(0,a.iD)("div",{id:t.id,class:"wcag-gif-container"},[(0,a._)("img",{src:t.still,alt:t.alt,loading:"lazy"},null,8,Pn),t.stayPaused||t.stillOnly?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("details",Ln,[(0,a._)("summary",{role:"button","aria-label":"static image",onClick:e[0]||(e[0]=function(){for(var e=[],n=0;n details");if(t.matches&&e)return this.stayPaused=!0,void e.removeAttribute("open");e&&(e.open=!(this.startPaused||this.stillOnly))},methods:{onClick:function(){this.stayPaused||(this.pause=!this.pause)}}}),In=(0,yn.Z)(En,[["render",On],["__scopeId","data-v-6a82dddb"]]),Rn=In,Dn=n.p+"img/logo_wwt.349723b9.png",Bn=n.p+"img/logo_sciact.f72d1a3c.png",Wn=n.p+"img/NASA_Partner_color_300_no_outline.f7e6537e.png";var Fn={id:"logo-credits"},Nn={id:"icons-container"},jn={href:"https://www.cosmicds.cfa.harvard.edu/",target:"_blank",rel:"noopener noreferrer"},Zn=["src"],Un=(0,a.uE)('WWT LogoSciAct LogoSciAct Logo',3);function Vn(t,e,o,i,r,s){return(0,a.wg)(),(0,a.iD)("div",Fn,[(0,a._)("div",Nn,[(0,a._)("a",jn,[(0,a._)("img",{alt:"CosmicDS Logo",src:n(2971)},null,8,Zn)]),Un])])}const Hn=(0,a.aZ)({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:{}}),$n=(0,yn.Z)(Hn,[["render",Vn]]),qn=$n;var Gn=n(735),Yn=n(9058),Kn=n(6340),Jn={id:"mc-radiogroup-container"};function Xn(t,e,n,i,l,c){return(0,a.wg)(),(0,a.iD)("div",Jn,[t.complete&&t.useAlert?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(Kn.r,{key:0,class:"mc-radiogroup",modelValue:t.column,"onUpdate:modelValue":e[0]||(e[0]=function(e){return t.column=e}),inline:t.row,column:!t.row,"hide-details":"",readonly:t.complete&&t.stopOnComplete},{default:(0,a.w5)((function(){return[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.radioOptions.entries(),(function(e){var n=(0,r.CR)(e,2),o=n[0],i=n[1];return(0,a.wg)(),(0,a.j4)(Yn.R,{key:o,color:"".concat(t.color(o)),value:o,label:i,onChange:function(e){return t.selectChoice(o)},"true-icon":"".concat(t.icon(o)),class:(0,s.C_)([t.hideInput?"hidden":""])},{label:(0,a.w5)((function(){return[(0,a.WI)(t.$slots,"default",{index:o,text:i,feedback:t.feedbacks[o],selected:o==t.column,color:t.color(o),column:t.column},(function(){return[(0,a.Uk)((0,s.zw)(i),1)]}))]})),_:2},1032,["color","value","label","onChange","true-icon","class"])})),128))]})),_:3},8,["modelValue","inline","column","readonly"])),t.complete&&t.useAlert?(0,a.wy)(((0,a.wg)(),(0,a.j4)(Gn.w,{key:1,variant:"tonal",color:"".concat(t.color(t.column)),icon:"".concat(t.icon(t.column)),text:t.feedbacks[t.column],density:"compact"},null,8,["color","icon","text"])),[[o.F8,null!==t.column]]):(0,a.kq)("",!0)])}const Qn=(0,a.aZ)({name:"MCRadiogroup",components:{"v-radio-group":Kn.r,"v-radio":Yn.R},props:{radioOptions:{type:Array,default:function(){return[]}},feedbacks:{type:Array,default:function(){return[]}},correctAnswers:{type:Array,default:function(){return[]}},scoring:{type:Boolean,default:!0},neutralAnswers:{type:Array,default:function(){return[]}},row:{type:Boolean,default:!1},maxTries:{type:Number||null,default:null},useAlert:{type:Boolean,default:!1},hideInput:{type:Boolean,default:!1},stopOnComplete:{type:Boolean,default:!0},colorWrong:{type:String,default:"red"},colorNeutral:{type:String,default:"orange"},colorRight:{type:String,default:"green"},preselected:{type:Number,default:null}},emits:{select:function(t){return"number"===typeof t.index&&"string"===typeof t.text&&"boolean"===typeof t.correct&&"boolean"===typeof t.neutral&&"number"===typeof t.tries}},data:function(){return{column:null,iconRight:"mdi-check-circle-outline",iconNeutral:"mdi-lightbulb-on-outline",iconWrong:"mdi-alert-circle-outline",complete:!1,tries:0,score:null}},methods:{selectChoice:function(t){this.column=t,this.maxTries&&this.tries>=this.maxTries&&(t=this.correctAnswers[0],this.column=t);var e=this.correctAnswers.includes(t),n=this.neutralAnswers.includes(t);n||(this.tries+=1),this.complete=e||0===this.correctAnswers.length&&n,this.$emit("select",{index:t,text:this.radioOptions[t],correct:e,neutral:this.neutralAnswers.includes(t),tries:this.tries})},color:function(t){return this.correctAnswers.includes(t)?this.colorRight:this.neutralAnswers.includes(t)?this.colorNeutral:this.colorWrong},icon:function(t){return this.correctAnswers.includes(t)?this.iconRight:this.neutralAnswers.includes(t)?this.iconNeutral:this.iconWrong}},watch:{preselected:function(t){null!==t&&(console.log("set answer"),this.selectChoice(t))},useAlert:function(t){console.log("useAlert changes",t)}}}),to=(0,yn.Z)(Qn,[["render",Xn]]),eo=to;var no=["id"],oo={class:"flip-card-front"},io={class:"flip-card-back"},ro=(0,a._)("cite",{style:{display:"none"}},[(0,a.Uk)("Code is from "),(0,a._)("a",{href:"w3schools.com/howto/howto_css_flip_card.asp"},"w3schools.com/howto/howto_css_flip_card.asp")],-1);function ao(t,e,n,o,i,r){return(0,a.wg)(),(0,a.iD)("div",{id:"flip-transition-"+"".concat(t.id),class:"flip-card",style:(0,s.j5)(t.size)},[(0,a._)("div",{class:"flip-card-inner",style:(0,s.j5)(t.cssVars)},[(0,a._)("div",oo,[(0,a.WI)(t.$slots,"front",{},(function(){return[(0,a.Uk)(" Front ")]}))]),(0,a._)("div",io,[(0,a.WI)(t.$slots,"back",{},(function(){return[(0,a.Uk)(" Back ")]}))])],4),ro],12,no)}const so=(0,a.aZ)({name:"FlipTransition",props:{width:{type:String,required:!0},height:{type:String,required:!0},duration:{type:String,default:"0.8s"},flipBack:{type:Boolean,default:!1},flipBackAfter:{type:Number,default:1e3},id:{type:String,default:null},hover:{type:Boolean,default:!1}},mounted:function(){var t=this,e="flip-transition-"+"".concat(this.id),n=document.querySelector("#".concat(e," .flip-card-inner")),o=document.querySelector(".flip-card-front"),i=document.querySelector("#".concat(e," .flip-card-back"));if(null===o||void 0===o||o.setAttribute("aria-hidden","false"),null===i||void 0===i||i.setAttribute("aria-hidden","true"),this.hover){var r=document.querySelector("#".concat(e));null===r||void 0===r||r.addEventListener("mouseenter",(function(){null===n||void 0===n||n.classList.toggle("do-flip")})),null===r||void 0===r||r.addEventListener("mouseleave",(function(){null===n||void 0===n||n.classList.toggle("do-flip")}))}null===n||void 0===n||n.addEventListener("click",(function(){n.classList.toggle("do-flip"),null===o||void 0===o||o.setAttribute("aria-hidden","true"),null===i||void 0===i||i.setAttribute("aria-hidden","false"),t.flipBack&&setTimeout((function(){n.classList.toggle("do-flip"),null===o||void 0===o||o.setAttribute("aria-hidden","false"),null===i||void 0===i||i.setAttribute("aria-hidden","true")}),t.flipBackAfter)}))},computed:{size:function(){return"width: ".concat(this.width,"; height: ").concat(this.height,";")},cssVars:function(){return"--duration: ".concat(this.duration,";")}}}),lo=(0,yn.Z)(so,[["render",ao]]),co=lo;var uo=["aria-label"],ho=["id"],po=["src","alt"];function fo(t,e,n,i,r,l){var c;return(0,a.wg)(),(0,a.iD)("div",{class:"focus-wrapper",onFocus:e[5]||(e[5]=function(e){return t.focused=!0}),onKeydown:e[6]||(e[6]=(0,o.D2)((function(e){return t.$emit("click")}),["enter"])),"aria-label":t.altText?"Select if "+t.altText:"Image Label",role:"button"},[(0,a._)("div",{id:"image-label-".concat(t.id),class:"image-label-container",style:(0,s.j5)(t.containerCSS),onMouseover:e[0]||(e[0]=function(e){return t.hovered=!0}),onMouseout:e[1]||(e[1]=function(e){return t.hovered=!1}),onMousedown:e[2]||(e[2]=function(e){return t.active=!0}),onMouseup:e[3]||(e[3]=function(e){return t.active=!1}),onBlur:e[4]||(e[4]=function(e){return t.focused=!1}),"aria-hidden":"true"},[t.image?((0,a.wg)(),(0,a.iD)("img",{key:0,src:t.image,alt:null!==(c=t.altText)&&void 0!==c?c:t.image},null,8,po)):(0,a.kq)("",!0),(0,a._)("div",{class:"image-label-background",style:(0,s.j5)(t.backgroundCSS),"aria-hidden":"true"},null,4),(0,a._)("div",{class:"image-label-text",style:(0,s.j5)(t.textCSS)},[(0,a.WI)(t.$slots,"default",{},void 0,!0)],4)],44,ho)],40,uo)}const mo=(0,a.aZ)({name:"ImageLabel",props:{id:{type:String,default:""},image:{type:String||null,default:null},altText:{type:String||null,default:null},backgroundColor:{type:String,default:"transparent"},backgroundOpacity:{type:Number,default:1},color:{type:String,default:"white"},width:{type:String,required:!0},height:{type:String,required:!0},fontSize:{type:String,default:null},fontWeight:{type:String,default:null},lineHeight:{type:String,default:null},border:{type:String,default:null},borderRadius:{type:String,default:null},hoveredColor:{type:String,default:null},activeColor:{type:String,default:null},focusedColor:{type:String,default:null},hoveredBorder:{type:String,default:"2px solid white"},activeBorder:{type:String,default:null},focusedBorder:{type:String,default:null}},data:function(){return{hovered:!1,active:!1,focused:!1}},computed:{containerCSS:function(){var t={color:this.color,width:"calc(".concat(this.width,"-2px)"),height:this.height,border:this.border,borderRadius:this.borderRadius};return this.hovered&&this.hoveredBorder?(0,r.pi)((0,r.pi)({},t),{border:this.hoveredBorder}):this.active&&this.activeBorder?(0,r.pi)((0,r.pi)({},t),{border:this.activeBorder}):this.focused&&this.focusedBorder?(0,r.pi)((0,r.pi)({},t),{border:this.focusedBorder}):t},textCSS:function(){var t={fontSize:this.fontSize,fontWeight:this.fontWeight,lineHeight:this.lineHeight};return(this.hovered||this.focused)&&(t=(0,r.pi)((0,r.pi)({},t),{fontWeight:"bold"})),this.hovered&&this.hoveredColor?(0,r.pi)((0,r.pi)({},t),{color:this.hoveredColor}):this.active&&this.activeColor?(0,r.pi)((0,r.pi)({},t),{color:this.activeColor,fontWeight:"bold"}):(0,r.pi)((0,r.pi)({},t),{color:this.color})},backgroundCSS:function(){var t={backgroundColor:this.backgroundColor,opacity:this.backgroundOpacity};return t}}}),go=(0,yn.Z)(mo,[["render",fo],["__scopeId","data-v-9cfb3dd2"]]),vo=go;var yo=n(8280),_o=["id"],wo={key:1},bo={key:2,class:"geolocation-text"},xo={key:1},ko={key:3,class:"geolocation-coords"};function So(t,e,n,o,i,r){var l,c;return(0,a.wg)(),(0,a.iD)("span",{id:"geolocation-wrapper+".concat(t.id),class:"geolocation"},[t.hideButton?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(h.T,{key:0,class:"geolocation-button",density:t.density,size:t.size,variant:t.geolocation?t.useTextButton?"tonal":"flat":"outlined",elevation:t.elevation,loading:t.loading,icon:!t.useTextButton&&t.icon,"prepend-icon":t.useTextButton?t.icon:"",color:t.geolocationError?"red":t.color,onClick:t.getLocation},{default:(0,a.w5)((function(){return[t.useTextButton?(0,a.WI)(t.$slots,"default",{key:0},(function(){return[(0,a.Uk)((0,s.zw)(t.label),1)]})):(0,a.kq)("",!0)]})),_:3},8,["density","size","variant","elevation","loading","icon","prepend-icon","color","onClick"])),t.showTextProgress&&t.loading?((0,a.wg)(),(0,a.iD)("span",wo,[(0,a.Wm)(yo.L,{size:t.progressCircleSize,width:2,color:t.color,indeterminate:""},null,8,["size","color"]),(0,a.Uk)(" Fetching location ")])):(0,a.kq)("",!0),t.hideText||t.useTextButton?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("span",bo,[t.loading&&t.showTextProgress?((0,a.wg)(),(0,a.j4)(yo.L,{key:0,size:t.progressCircleSize,width:2,color:t.color,indeterminate:""},null,8,["size","color"])):(0,a.kq)("",!0),(0,a.Uk)(),t.loading&&t.showTextProgress?((0,a.wg)(),(0,a.iD)("span",xo,"Fetching location")):(0,a.kq)("",!0),(0,a.WI)(t.$slots,"default",{},(function(){return[(0,a.Uk)((0,s.zw)(t.label),1)]}))])),t.showCoords?((0,a.wg)(),(0,a.iD)("span",ko,[(0,a._)("p",null,"Latitude: "+(0,s.zw)(null===(l=t.geolocation)||void 0===l?void 0:l.latitude),1),(0,a._)("p",null,"Longitude: "+(0,s.zw)(null===(c=t.geolocation)||void 0===c?void 0:c.longitude),1)])):(0,a.kq)("",!0)],8,_o)}const Co=(0,a.aZ)({name:"GeolocationButton",components:{"v-btn":h.T,"v-progress-circular":yo.L},props:{color:{type:String,default:"white"},debug:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:String,default:"small"},density:{type:String,default:"comfortable"},elevation:{type:String,default:"2"},hideButton:{type:Boolean,default:!1},hideText:{type:Boolean,default:!1},showCoords:{type:Boolean,default:!1},showTextProgress:{type:Boolean,default:!1},useTextButton:{type:Boolean,default:!1},progressCircleSize:{type:Number,default:12},label:{type:String,default:"My Location"},id:{type:String,default:null},trueIcon:{type:String,default:"mdi-crosshairs-gps"},falseIcon:{type:String,default:"mdi-crosshairs"},hasPermission:{type:Boolean,default:!1},requirePermission:{type:Boolean,default:!0}},emits:{geolocation:function(t){return!0},error:function(t){return!0},askPermission:function(){return!0}},data:function(){return{geolocation:null,geolocationError:null,loading:!1}},mounted:function(){},computed:{icon:function(){return this.geolocation?this.trueIcon:this.falseIcon}},methods:{getLocation:function(){var t=this;if(console.log(this.showTextProgress,this.hideText,this.useTextButton,this.showCoords,this.hideButton),this.geolocation)return this.$emit("geolocation",this.geolocation),void console.log("require permission =",this.requirePermission);var e={enableHighAccuracy:!0,timeout:6e4,maximumAge:0};!this.requirePermission||this.hasPermission?navigator.geolocation&&(this.loading=!0,navigator.geolocation.getCurrentPosition((function(e){t.geolocation=e.coords,t.$emit("geolocation",t.geolocation),t.loading=!1}),(function(e){t.geolocationError=e,t.$emit("error",t.geolocationError),t.loading=!1}),e)):this.$emit("askPermission")}},watch:{hasPermission:function(t,e){t&&this.getLocation()}}}),To=(0,yn.Z)(Co,[["render",So]]),Po=To;var Lo=n(1514),Ao=["id"];function Mo(t,e,n,o,i,l){return(0,a.wg)(),(0,a.j4)(Lo.N,(0,a.dG)({modelValue:t.tooltip,"onUpdate:modelValue":e[2]||(e[2]=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},t.$attrs),{activator:(0,a.w5)((function(n){var o=n.props;return[(0,a._)("div",(0,a.dG)(o,{id:t.buttonID,onTouchstart:e[0]||(e[0]=function(){for(var e=[],n=0;n=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=Reflect.getPrototypeOf(Int8Array);try{for(var i=n([Array,String,o]),r=i.next();!r.done;r=i.next()){var a=r.value;Object.defineProperty(a.prototype,"at",{value:function(t){if(t=Math.trunc(t)||0,t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]},writable:!0,enumerable:!1,configurable:!0})}}catch(s){t={error:s}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},74:(t,e,n)=>{"use strict";t.exports=n.p+"img/2023-09-19-SDO-Sun.334bf8a4.png"},858:(t,e,n)=>{"use strict";t.exports=n.p+"img/A.3dc1ace3.png"},9669:(t,e,n)=>{"use strict";t.exports=n.p+"img/AnnularEclipseMap.e5d9a7f4.png"},995:(t,e,n)=>{"use strict";t.exports=n.p+"img/B.a478af1b.png"},8487:(t,e,n)=>{"use strict";t.exports=n.p+"img/C.b471f0b6.png"},7398:(t,e,n)=>{"use strict";t.exports=n.p+"img/eclipse.471bc4cb.gif"},6421:(t,e,n)=>{"use strict";t.exports=n.p+"img/eclipse_static.9b273521.gif"},3276:(t,e,n)=>{"use strict";t.exports=n.p+"img/giphy.01445492.webp"},1670:(t,e,n)=>{"use strict";t.exports=n.p+"img/moon-dark-gray-overlay.b9d8844c.png"},4068:(t,e,n)=>{"use strict";t.exports=n.p+"img/moon-sky-blue-overlay.61ce53e0.png"},3909:(t,e,n)=>{"use strict";t.exports=n.p+"img/moon.240e14df.png"},567:(t,e,n)=>{"use strict";t.exports=n.p+"media/video.7c4b6357.mp4"},2971:(t,e,n)=>{"use strict";t.exports=n.p+"img/cosmicds_logo_for_dark_backgrounds.f950464f.png"}},e={};function n(o){var i=e[o];if(void 0!==i)return i.exports;var r=e[o]={exports:{}};return t[o].call(r.exports,r,r.exports,n),r.exports}n.m=t,(()=>{var t=[];n.O=(e,o,i,r)=>{if(!o){var a=1/0;for(u=0;u=r)&&Object.keys(n.O).every((t=>n.O[t](o[l])))?o.splice(l--,1):(s=!1,r0&&t[u-1][2]>r;u--)t[u]=t[u-1];t[u]=[o,i,r]}})(),(()=>{n.n=t=>{var e=t&&t.__esModule?()=>t["default"]:()=>t;return n.d(e,{a:e}),e}})(),(()=>{n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})}})(),(()=>{n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()})(),(()=>{n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})(),(()=>{n.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})(),(()=>{n.p=""})(),(()=>{var t={143:0};n.O.j=e=>0===t[e];var e=(e,o)=>{var i,r,[a,s,l]=o,c=0;if(a.some((e=>0!==t[e]))){for(i in s)n.o(s,i)&&(n.m[i]=s[i]);if(l)var u=l(n)}for(e&&e(o);cn(3992)));o=n.O(o)})(); -//# sourceMappingURL=app.bafe858b.js.map \ No newline at end of file +const qt=2.4,Gt=.2126729,Yt=.7151522,Kt=.072175,Jt=.55,Xt=.58,Qt=.57,te=.62,ee=.03,ne=1.45,oe=5e-4,ie=1.25,re=1.25,ae=.078,se=12.82051282051282,le=.06,ce=.001;function ue(t,e){const n=(t.r/255)**qt,o=(t.g/255)**qt,i=(t.b/255)**qt,r=(e.r/255)**qt,a=(e.g/255)**qt,s=(e.b/255)**qt;let l,c=n*Gt+o*Yt+i*Kt,u=r*Gt+a*Yt+s*Kt;if(c<=ee&&(c+=(ee-c)**ne),u<=ee&&(u+=(ee-u)**ne),Math.abs(u-c)c){const t=(u**Jt-c**Xt)*ie;l=t-ce?0:t>-ae?t-t*se*le:t+le}return 100*l}function he(t){return!!t&&/^(#|var\(--|(rgb|hsl)a?\()/.test(t)}const de=/^(?(?:rgb|hsl)a?)\((?.+)\)/,pe={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)=>ge({h:t,s:e,l:n,a:o}),hsla:(t,e,n,o)=>ge({h:t,s:e,l:n,a:o}),hsv:(t,e,n,o)=>me({h:t,s:e,v:n,a:o}),hsva:(t,e,n,o)=>me({h:t,s:e,v:n,a:o})};function fe(t){if("number"===typeof t)return(isNaN(t)||t<0||t>16777215)&&ht(`'${t}' is not a valid hex color`),{r:(16711680&t)>>16,g:(65280&t)>>8,b:255&t};if("string"===typeof t&&de.test(t)){const{groups:e}=t.match(de),{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 pe[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)||ht(`'${t}' is not a valid hex(a) color`);const n=parseInt(e,16);return(isNaN(n)||n<0||n>4294967295)&&ht(`'${t}' is not a valid hex(a) color`),ye(e)}if("object"===typeof t){if(W(t,["r","g","b"]))return t;if(W(t,["h","s","l"]))return me(ve(t));if(W(t,["h","s","v"]))return me(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 me(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 ge(t){return me(ve(t))}function ve(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 ye(t){t=_e(t);let[e,n,o,i]=H(t,2).map((t=>parseInt(t,16)));return i=void 0===i?i:i/255,{r:e,g:n,b:o,a:i}}function _e(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=V(V(t,6),8,"F")),t}function we(t){const e=Math.abs(ue(fe(0),fe(t))),n=Math.abs(ue(fe(16777215),fe(t)));return n>Math.min(e,50)?"#fff":"#000"}function be(t){return Y((()=>{const e=[],n={};if(t.value.background)if(he(t.value.background)){if(n.backgroundColor=t.value.background,!t.value.text){const t=we(n.backgroundColor);n.color=t,n.caretColor=t}}else e.push(`bg-${t.value.background}`);return t.value.text&&(he(t.value.text)?(n.color=t.value.text,n.caretColor=t.value.text):e.push(`text-${t.value.text}`)),{colorClasses:e,colorStyles:n}}))}function xe(t,e){const n=(0,p.computed)((()=>({text:(0,p.isRef)(t)?t.value:e?t[e]:null}))),{colorClasses:o,colorStyles:i}=be(n);return{textColorClasses:o,textColorStyles:i}}function ke(t,e){const n=(0,p.computed)((()=>({background:(0,p.isRef)(t)?t.value:e?t[e]:null}))),{colorClasses:o,colorStyles:i}=be(n);return{backgroundColorClasses:o,backgroundColorStyles:i}}const Se=L({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),Ce=L({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Te(t){const e=(0,p.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 Pe=Symbol.for("vuetify:display");function Le(){const t=(0,p.inject)(Pe);if(!t)throw new Error("Could not find Vuetify display injection");return t}function Ae(){if(!A)return(0,p.shallowRef)(!1);const{ssr:t}=Le();if(t){const t=(0,p.shallowRef)(!1);return(0,p.onMounted)((()=>{t.value=!0})),t}return(0,p.shallowRef)(!0)}const Me=L({eager:Boolean},"lazy");function ze(t,e){const n=(0,p.shallowRef)(!1),o=(0,p.computed)((()=>n.value||t.eager||e.value));function i(){t.eager||(n.value=!1)}return(0,p.watch)(e,(()=>n.value=!0)),{isBooted:n,hasContent:o,onAfterLeave:i}}const Oe=Symbol.for("vuetify:locale");Symbol.for("vuetify:rtl");function Ee(){const t=(0,p.inject)(Oe);if(!t)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:t.isRtl,rtlClasses:t.rtlClasses}}function Ie(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=Dt("useProxiedModel"),a=(0,p.ref)(void 0!==t[e]?t[e]:n),s=G(e),l=s!==e,c=l?(0,p.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,p.computed)((()=>(t[e],!(!r.vnode.props?.hasOwnProperty(e)||!r.vnode.props?.hasOwnProperty(`onUpdate:${e}`)))));S((()=>!c.value),(()=>{(0,p.watch)((()=>t[e]),(t=>{a.value=t}))}));const u=(0,p.computed)({get(){const n=t[e];return o(c.value?n:a.value)},set(n){const s=i(n),l=(0,p.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 Re(){return Dt("useRouter")?.proxy?.$router}L({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let De=!1;function Be(t,e){let n,o,i=!1;function r(t){t.state?.replaced||(i=!0,setTimeout((()=>i=!1)))}A&&((0,p.nextTick)((()=>{window.addEventListener("popstate",r),n=t?.beforeEach(((t,n,o)=>{De?i?e(o):o():setTimeout((()=>i?e(o):o())),De=!0})),o=t?.afterEach((()=>{De=!1}))})),(0,p.onScopeDispose)((()=>{window.removeEventListener("popstate",r),n?.(),o?.()})))}function We(){const t=Dt("useScopeId"),e=t.vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const Fe=Symbol.for("vuetify:stack"),Ne=(0,p.reactive)([]);function je(t,e,n){const o=Dt("useStack"),i=!n,r=(0,p.inject)(Fe,void 0),a=(0,p.reactive)({activeChildren:new Set});(0,p.provide)(Fe,a);const s=(0,p.shallowRef)(+e.value);S(t,(()=>{const t=Ne.at(-1)?.[1];s.value=t?t+10:+e.value,i&&Ne.push([o.uid,s.value]),r?.activeChildren.add(o.uid),(0,p.onScopeDispose)((()=>{if(i){const t=(0,p.toRaw)(Ne).findIndex((t=>t[0]===o.uid));Ne.splice(t,1)}r?.activeChildren.delete(o.uid)}))}));const l=(0,p.shallowRef)(!0);i&&(0,p.watchEffect)((()=>{const t=Ne.at(-1)?.[0]===o.uid;setTimeout((()=>l.value=t))}));const c=(0,p.computed)((()=>!a.activeChildren.size));return{globalTop:(0,p.readonly)(l),localTop:c,stackStyles:(0,p.computed)((()=>({zIndex:s.value})))}}function Ze(t){const e=(0,p.computed)((()=>{const e=t.value;if(!0===e||!A)return;const n=!1===e?document.body:"string"===typeof e?document.querySelector(e):e;if(null==n)return void(0,p.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"),Ve=L({theme:String},"theme");function He(t){Dt("provideTheme");const e=(0,p.inject)(Ue,null);if(!e)throw new Error("Could not find Vuetify theme injection");const n=(0,p.computed)((()=>t.theme??e.name.value)),o=(0,p.computed)((()=>e.themes.value[n.value])),i=(0,p.computed)((()=>e.isDisabled?void 0:`v-theme--${n.value}`)),r={...e,name:n,current:o,themeClasses:i};return(0,p.provide)(Ue,r),r}const $e=L({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:t=>!0!==t}},"transition"),qe=(t,e)=>{let{slots:n}=e;const{transition:o,disabled:i,...r}=t,{component:a=p.Transition,...s}="object"===typeof o?o:{};return(0,p.h)(a,(0,p.mergeProps)("string"===typeof o?{name:i?"":o}:s,r,{disabled:i}),n)};function Ge(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 Ye(){return!0}function Ke(t,e,n){if(!t||!1===Je(t,n))return!1;const o=Ge(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 Je(t,e){const n="object"===typeof e.value&&e.value.closeConditional||Ye;return n(t)}function Xe(t,e,n){const o="function"===typeof n.value?n.value:n.value.handler;e._clickOutside.lastMousedownWasOutside&&Ke(t,e,n)&&setTimeout((()=>{Je(t,n)&&o&&o(t)}),0)}function Qe(t,e){const n=Ge(t);e(document),"undefined"!==typeof ShadowRoot&&n instanceof ShadowRoot&&e(n)}const tn={mounted(t,e){const n=n=>Xe(n,t,e),o=n=>{t._clickOutside.lastMousedownWasOutside=Ke(n,t,e)};Qe(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&&(Qe(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 en(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dt("injectSelf");const{provides:n}=e;if(n&&t in n)return n[t]}const nn=Symbol.for("vuetify:defaults");function on(){const t=(0,p.inject)(nn);if(!t)throw new Error("[Vuetify] Could not find defaults instance");return t}function rn(t,e){return"undefined"!==typeof t.props?.[e]||"undefined"!==typeof t.props?.[G(e)]}function an(){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]:on();const o=Dt("useDefaults");if(e=e??o.type.name??o.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const i=(0,p.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||rn(o.vnode,e)?r:i.value?.[e]??n.value?.global?.[e]??r}}),a=(0,p.shallowRef)();function s(){const t=en(nn,o);(0,p.provide)(nn,(0,p.computed)((()=>a.value?$(t?.value??{},a.value):t?.value)))}return(0,p.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 sn(t){if(t._setup=t._setup??t.setup,!t.name)return ht("The component is missing an explicit name, unable to generate default prop value"),t;if(t._setup){t.props=L(t.props??{},t.name)();const e=Object.keys(t.props);t.filterProps=function(t){return F(t,e,["class","style"])},t.props._as=String,t.setup=function(e,n){const o=on();if(!o.value)return t._setup(e,n);const{props:i,provideSubDefaults:r}=an(e,e._as??t.name,o),a=t._setup(i,n);return r(),a}}return t}function ln(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return e=>(t?sn:p.defineComponent)(e)}const cn="cubic-bezier(0.4, 0, 0.2, 1)";function un(t){const e=Dt("useRender");e.render=t}function hn(t){const{modelValue:e,color:n,...o}=t;return(0,p.createVNode)(p.Transition,{name:"fade-transition",appear:!0},{default:()=>[t.modelValue&&(0,p.createVNode)("div",(0,p.mergeProps)({class:["v-overlay__scrim",t.color.backgroundColorClasses.value],style:t.color.backgroundColorStyles.value},o),null)]})}const dn=L({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...Vt(),...Se(),...Ce(),...Me(),...ft(),...Pt(),...Ve(),...$e()},"VOverlay"),pn=ln()({name:"VOverlay",directives:{ClickOutside:tn},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...dn()},emits:{"click:outside":t=>!0,"update:modelValue":t=>!0,afterLeave:()=>!0},setup(t,e){let{slots:n,attrs:o,emit:i}=e;const r=Ie(t,"modelValue"),a=(0,p.computed)({get:()=>r.value,set:e=>{e&&t.disabled||(r.value=e)}}),{teleportTarget:s}=Ze((0,p.computed)((()=>t.attach||t.contained))),{themeClasses:l}=He(t),{rtlClasses:c,isRtl:u}=Ee(),{hasContent:h,onAfterLeave:d}=ze(t,a),f=ke((0,p.computed)((()=>"string"===typeof t.scrim?t.scrim:null))),{globalTop:m,localTop:g,stackStyles:v}=je(a,(0,p.toRef)(t,"zIndex"),t._disableGlobalStack),{activatorEl:y,activatorRef:_,activatorEvents:w,contentEvents:b,scrimEvents:x}=Ht(t,{isActive:a,isTop:g}),{dimensionStyles:k}=Te(t),C=Ae(),{scopeId:T}=We();(0,p.watch)((()=>t.disabled),(t=>{t&&(a.value=!1)}));const P=(0,p.ref)(),L=(0,p.ref)(),{contentStyles:M,updateLocation:z}=mt(t,{isRtl:u,contentEl:L,activatorEl:y,isActive:a});function O(e){i("click:outside",e),t.persistent?F():a.value=!1}function I(){return a.value&&m.value}function D(e){"Escape"===e.key&&m.value&&(t.persistent?F():(a.value=!1,L.value?.contains(document.activeElement)&&y.value?.focus()))}Lt(t,{root:P,contentEl:L,activatorEl:y,isActive:a,updateLocation:z}),A&&(0,p.watch)(a,(t=>{t?window.addEventListener("keydown",D):window.removeEventListener("keydown",D)}),{immediate:!0});const B=Re();S((()=>t.closeOnBack),(()=>{Be(B,(e=>{m.value&&a.value?(e(!1),t.persistent?F():a.value=!1):e()}))}));const W=(0,p.ref)();function F(){t.noClickAnimation||L.value&&E(L.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:cn})}return(0,p.watch)((()=>a.value&&(t.absolute||t.contained)&&null==s.value),(t=>{if(t){const t=st(P.value);t&&t!==document.scrollingElement&&(W.value=t.scrollTop)}})),un((()=>(0,p.createVNode)(p.Fragment,null,[n.activator?.({isActive:a.value,props:(0,p.mergeProps)({ref:_},w.value,t.activatorProps)}),C.value&&h.value&&(0,p.createVNode)(p.Teleport,{disabled:!s.value,to:s.value},{default:()=>[(0,p.createVNode)("div",(0,p.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:[v.value,{top:R(W.value)},t.style],ref:P},T,o),[(0,p.createVNode)(hn,(0,p.mergeProps)({color:f,modelValue:a.value&&!!t.scrim},x.value),null),(0,p.createVNode)(qe,{appear:!0,persisted:!0,transition:t.transition,target:y.value,onAfterLeave:()=>{d(),i("afterLeave")}},{default:()=>[(0,p.withDirectives)((0,p.createVNode)("div",(0,p.mergeProps)({ref:L,class:["v-overlay__content",t.contentClass],style:[k.value,M.value]},b.value,t.contentProps),[n.default?.({isActive:a})]),[[p.vShow,a.value],[(0,p.resolveDirective)("click-outside"),{handler:O,closeConditional:I,include:()=>[y.value]}]])]})])]})]))),{activatorEl:y,animateClick:F,contentEl:L,globalTop:m,localTop:g,updateLocation:z}}}),fn=Symbol("Forwarded refs");function mn(t,e){let n=t;while(n){const t=Reflect.getOwnPropertyDescriptor(n,e);if(t)return t;n=Object.getPrototypeOf(n)}}function gn(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o!0},setup(t,e){let{slots:n}=e;const o=Ie(t,"modelValue"),{scopeId:i}=We(),r=Nt(),a=(0,p.computed)((()=>t.id||`v-tooltip-${r}`)),s=(0,p.ref)(),l=(0,p.computed)((()=>t.location.split(" ").length>1?t.location:t.location+" center")),c=(0,p.computed)((()=>"auto"===t.origin||"overlap"===t.origin||t.origin.split(" ").length>1||t.location.split(" ").length>1?t.origin:t.origin+" center")),u=(0,p.computed)((()=>t.transition?t.transition:o.value?"scale-transition":"fade-transition")),h=(0,p.computed)((()=>(0,p.mergeProps)({"aria-describedby":a.value},t.activatorProps)));return un((()=>{const[e]=pn.filterProps(t);return(0,p.createVNode)(pn,(0,p.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{const e=t.icon;return(0,p.createVNode)(t.tag,null,{default:()=>[t.icon?(0,p.createVNode)(e,null,null):n.default?.()]})}}}),kn=sn({name:"VSvgIcon",inheritAttrs:!1,props:bn(),setup(t,e){let{attrs:n}=e;return()=>(0,p.createVNode)(t.tag,(0,p.mergeProps)(n,{style:null}),{default:()=>[(0,p.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,p.createVNode)("path",{d:t[0],"fill-opacity":t[1]},null):(0,p.createVNode)("path",{d:t},null))):(0,p.createVNode)("path",{d:t.icon},null)])]})}});sn({name:"VLigatureIcon",props:bn(),setup(t){return()=>(0,p.createVNode)(t.tag,null,{default:()=>[t.icon]})}}),sn({name:"VClassIcon",props:bn(),setup(t){return()=>(0,p.createVNode)(t.tag,{class:t.icon},null)}});const Sn=t=>{const e=(0,p.inject)(wn);if(!e)throw new Error("Missing Vuetify Icons provide!");const n=(0,p.computed)((()=>{const n=(0,p.unref)(t);if(!n)return{component:xn};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:kn,icon:o};if("string"!==typeof o)return{component:xn,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}},Cn=["x-small","small","default","large","x-large"],Tn=L({size:{type:[String,Number],default:"default"}},"size");function Pn(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Bt();return Y((()=>{let n,o;return K(Cn,t.size)?n=`${e}--size-${t.size}`:t.size&&(o={width:R(t.size),height:R(t.size)}),{sizeClasses:n,sizeStyles:o}}))}const Ln=L({tag:{type:String,default:"div"}},"tag"),An=L({color:String,start:Boolean,end:Boolean,icon:_n,...Se(),...Tn(),...Ln({tag:"i"}),...Ve()},"VIcon"),Mn=ln()({name:"VIcon",props:An(),setup(t,e){let{attrs:n,slots:o}=e;const i=(0,p.ref)(),{themeClasses:r}=He(t),{iconData:a}=Sn((0,p.computed)((()=>i.value||t.icon))),{sizeClasses:s}=Pn(t),{textColorClasses:l,textColorStyles:c}=xe((0,p.toRef)(t,"color"));return un((()=>{const e=o.default?.();return e&&(i.value=q(e).filter((t=>t.type===p.Text&&t.children&&"string"===typeof t.children))[0]?.children),(0,p.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 zn(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 On(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,o=new Array(e);n-1;i--){var r=n[i],a=(r.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(o=r)}return lo.head.insertBefore(e,o),t}}var oi="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ii(){var t=12,e="";while(t-- >0)e+=oi[62*Math.random()|0];return e}function ri(t){for(var e=[],n=(t||[]).length>>>0;n--;)e[n]=t[n];return e}function ai(t){return t.classList?ri(t.classList):(t.getAttribute("class")||"").split(" ").filter((function(t){return t}))}function si(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function li(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(si(t[n]),'" ')}),"").trim()}function ci(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n].trim(),";")}),"")}function ui(t){return t.size!==ei.size||t.x!==ei.x||t.y!==ei.y||t.rotate!==ei.rotate||t.flipX||t.flipY}function hi(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 di(t){var e=t.transform,n=t.width,o=void 0===n?mo:n,i=t.height,r=void 0===i?mo:i,a=t.startCentered,s=void 0!==a&&a,l="";return l+=s&&po?"translate(".concat(e.x/ti-o/2,"em, ").concat(e.y/ti-r/2,"em) "):s?"translate(calc(-50% + ".concat(e.x/ti,"em), calc(-50% + ").concat(e.y/ti,"em)) "):"translate(".concat(e.x/ti,"em, ").concat(e.y/ti,"em) "),l+="scale(".concat(e.size/ti*(e.flipX?-1:1),", ").concat(e.size/ti*(e.flipY?-1:1),") "),l+="rotate(".concat(e.rotate,"deg) "),l}var pi=':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-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 fi(){var t=go,e=vo,n=Jo.cssPrefix,o=Jo.replacementClass,i=pi;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 mi=!1;function gi(){Jo.autoAddCss&&!mi&&(ni(fi()),mi=!0)}var vi={mixout:function(){return{dom:{css:fi,insertCss:gi}}},hooks:function(){return{beforeDOMElementCreation:function(){gi()},beforeI2svg:function(){gi()}}}},yi=so||{};yi[fo]||(yi[fo]={}),yi[fo].styles||(yi[fo].styles={}),yi[fo].hooks||(yi[fo].hooks={}),yi[fo].shims||(yi[fo].shims=[]);var _i=yi[fo],wi=[],bi=function t(){lo.removeEventListener("DOMContentLoaded",t),xi=1,wi.map((function(t){return t()}))},xi=!1;function ki(t){ho&&(xi?setTimeout(t,0):wi.push(t))}function Si(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?si(t):"<".concat(e," ").concat(li(o),">").concat(r.map(Si).join(""),"")}function Ci(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}ho&&(xi=(lo.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(lo.readyState),xi||lo.addEventListener("DOMContentLoaded",bi));var Ti=function(t,e){return function(n,o,i,r){return t.call(e,n,o,i,r)}},Pi=function(t,e,n,o){var i,r,a,s=Object.keys(t),l=s.length,c=void 0!==o?Ti(e,o):e;for(void 0===n?(i=1,a=t[s[0]]):(i=0,a=n);i=55296&&i<=56319&&n=55296&&i<=56319&&o>e+1&&(n=t.charCodeAt(e+1),n>=56320&&n<=57343)?1024*(i-55296)+n-56320+65536:i}function zi(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 Oi(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.skipHooks,i=void 0!==o&&o,r=zi(e);"function"!==typeof _i.hooks.addPack||i?_i.styles[t]=On(On({},_i.styles[t]||{}),r):_i.hooks.addPack(t,zi(e)),"fas"===t&&Oi("fa",e)}var Ei,Ii,Ri,Di=_i.styles,Bi=_i.shims,Wi=(Ei={},Bn(Ei,Po,Object.values(Eo[Po])),Bn(Ei,Lo,Object.values(Eo[Lo])),Ei),Fi=null,Ni={},ji={},Zi={},Ui={},Vi={},Hi=(Ii={},Bn(Ii,Po,Object.keys(zo[Po])),Bn(Ii,Lo,Object.keys(zo[Lo])),Ii);function $i(t){return~Vo.indexOf(t)}function qi(t,e){var n=e.split("-"),o=n[0],i=n.slice(1).join("-");return o!==t||""===i||$i(i)?null:i}var Gi=function(){var t=function(t){return Pi(Di,(function(e,n,o){return e[o]=Pi(n,t,{}),e}),{})};Ni=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})),ji=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})),Vi=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 Di||Jo.autoFetchSvg,n=Pi(Bi,(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:{}});Zi=n.names,Ui=n.unicodes,Fi=nr(Jo.styleDefault,{family:Jo.familyDefault})};function Yi(t,e){return(Ni[t]||{})[e]}function Ki(t,e){return(ji[t]||{})[e]}function Ji(t,e){return(Vi[t]||{})[e]}function Xi(t){return Zi[t]||{prefix:null,iconName:null}}function Qi(t){var e=Ui[t],n=Yi("fas",t);return e||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function tr(){return Fi}Qo((function(t){Fi=nr(t.styleDefault,{family:Jo.familyDefault})})),Gi();var er=function(){return{prefix:null,iconName:null,rest:[]}};function nr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.family,o=void 0===n?Po:n,i=zo[o][t],r=Oo[o][t]||Oo[o][i],a=t in _i.styles?t:null;return r||a||null}var or=(Ri={},Bn(Ri,Po,Object.keys(Eo[Po])),Bn(Ri,Lo,Object.keys(Eo[Lo])),Ri);function ir(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.skipLookups,i=void 0!==o&&o,r=(e={},Bn(e,Po,"".concat(Jo.cssPrefix,"-").concat(Po)),Bn(e,Lo,"".concat(Jo.cssPrefix,"-").concat(Lo)),e),a=null,s=Po;(t.includes(r[Po])||t.some((function(t){return or[Po].includes(t)})))&&(s=Po),(t.includes(r[Lo])||t.some((function(t){return or[Lo].includes(t)})))&&(s=Lo);var l=t.reduce((function(t,e){var n=qi(Jo.cssPrefix,e);if(Di[e]?(e=Wi[s].includes(e)?Io[s][e]:e,a=e,t.prefix=e):Hi[s].indexOf(e)>-1?(a=e,t.prefix=nr(e,{family:s})):n?t.iconName=n:e!==Jo.replacementClass&&e!==r[Po]&&e!==r[Lo]&&t.rest.push(e),!i&&t.prefix&&t.iconName){var o="fa"===a?Xi(t.iconName):{},l=Ji(t.prefix,t.iconName);o.prefix&&(a=null),t.iconName=o.iconName||l||t.iconName,t.prefix=o.prefix||t.prefix,"far"!==t.prefix||Di["far"]||!Di["fas"]||Jo.autoFetchSvg||(t.prefix="fas")}return t}),er());return(t.includes("fa-brands")||t.includes("fab"))&&(l.prefix="fab"),(t.includes("fa-duotone")||t.includes("fad"))&&(l.prefix="fad"),l.prefix||s!==Lo||!Di["fass"]&&!Jo.autoFetchSvg||(l.prefix="fass",l.iconName=Ji(l.prefix,l.iconName)||l.iconName),"fa"!==l.prefix&&"fa"!==a||(l.prefix=tr()||"fas"),l}var rr=function(){function t(){In(this,t),this.definitions={}}return Dn(t,[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),o=0;o0&&s.forEach((function(e){"string"===typeof e&&(t[i][e]=a)})),t[i][r]=a})),t}}]),t}(),ar=[],sr={},lr={},cr=Object.keys(lr);function ur(t,e){var n=e.mixoutsTo;return ar=t,sr={},Object.keys(lr).forEach((function(t){-1===cr.indexOf(t)&&delete lr[t]})),ar.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"===En(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){sr[t]||(sr[t]=[]),sr[t].push(o[t])}))}t.provides&&t.provides(lr)})),n}function hr(t,e){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i1?e-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{};return ho?(dr("beforeI2svg",t),pr("pseudoElements2svg",t),pr("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===Jo.autoReplaceSvg&&(Jo.autoReplaceSvg=!0),Jo.observeMutations=!0,ki((function(){wr({autoReplaceSvgRoot:e}),dr("watch",t)}))}},yr={icon:function(t){if(null===t)return null;if("object"===En(t)&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Ji(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=nr(t[0]);return{prefix:n,iconName:Ji(n,e)||e}}if("string"===typeof t&&(t.indexOf("".concat(Jo.cssPrefix,"-"))>-1||t.match(Ro))){var o=ir(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||tr(),iconName:Ji(o.prefix,o.iconName)||o.iconName}}if("string"===typeof t){var i=tr();return{prefix:i,iconName:Ji(i,t)||t}}}},_r={noAuto:gr,config:Jo,dom:vr,parse:yr,library:mr,findIconDefinition:fr,toHtml:Si},wr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,n=void 0===e?lo:e;(Object.keys(_i.styles).length>0||Jo.autoFetchSvg)&&ho&&Jo.autoReplaceSvg&&_r.dom.i2svg({node:n})};function br(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return Si(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(ho){var e=lo.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function xr(t){var e=t.children,n=t.main,o=t.mask,i=t.attributes,r=t.styles,a=t.transform;if(ui(a)&&n.found&&!o.found){var s=n.width,l=n.height,c={x:s/l/2,y:.5};i["style"]=ci(On(On({},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 kr(t){var e=t.prefix,n=t.iconName,o=t.children,i=t.attributes,r=t.symbol,a=!0===r?"".concat(e,"-").concat(Jo.cssPrefix,"-").concat(n):r;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:On(On({},i),{},{id:a}),children:o}]}]}function Sr(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,p=void 0!==d&&d,f=o.found?o:n,m=f.width,g=f.height,v="fak"===i,y=[Jo.replacementClass,r?"".concat(Jo.cssPrefix,"-").concat(r):""].filter((function(t){return-1===h.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(h.classes).join(" "),_={children:[],attributes:On(On({},h.attributes),{},{"data-prefix":i,"data-icon":r,class:y,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(g)})},w=v&&!~h.classes.indexOf("fa-fw")?{width:"".concat(m/g*16*.0625,"em")}:{};p&&(_.attributes[yo]=""),l&&(_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(u||ii())},children:[l]}),delete _.attributes.title);var b=On(On({},_),{},{prefix:i,iconName:r,main:n,mask:o,maskId:c,transform:a,symbol:s,styles:On(On({},w),h.styles)}),x=o.found&&n.found?pr("generateAbstractMask",b)||{children:[],attributes:{}}:pr("generateAbstractIcon",b)||{children:[],attributes:{}},k=x.children,S=x.attributes;return b.children=k,b.attributes=S,s?kr(b):xr(b)}function Cr(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=On(On(On({},a.attributes),r?{title:r}:{}),{},{class:a.classes.join(" ")});l&&(c[yo]="");var u=On({},a.styles);ui(i)&&(u["transform"]=di({transform:i,startCentered:!0,width:n,height:o}),u["-webkit-transform"]=u["transform"]);var h=ci(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 Tr(t){var e=t.content,n=t.title,o=t.extra,i=On(On(On({},o.attributes),n?{title:n}:{}),{},{class:o.classes.join(" ")}),r=ci(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 Pr=_i.styles;function Lr(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(Jo.cssPrefix,"-").concat(Zo.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Jo.cssPrefix,"-").concat(Zo.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Jo.cssPrefix,"-").concat(Zo.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:e,height:n,icon:a}}var Ar={found:!1,width:512,height:512};function Mr(t,e){To||Jo.showMissingIcons||!t||console.error('Icon with name "'.concat(t,'" and prefix "').concat(e,'" is missing.'))}function zr(t,e){var n=e;return"fa"===e&&null!==Jo.styleDefault&&(e=tr()),new Promise((function(o,i){pr("missingIconAbstract");if("fa"===n){var r=Xi(t)||{};t=r.iconName||t,e=r.prefix||e}if(t&&e&&Pr[e]&&Pr[e][t]){var a=Pr[e][t];return o(Lr(a))}Mr(t,e),o(On(On({},Ar),{},{icon:Jo.showMissingIcons&&t&&pr("missingIconAbstract")||{}}))}))}var Or=function(){},Er=Jo.measurePerformance&&uo&&uo.mark&&uo.measure?uo:{mark:Or,measure:Or},Ir='FA "6.4.2"',Rr=function(t){return Er.mark("".concat(Ir," ").concat(t," begins")),function(){return Dr(t)}},Dr=function(t){Er.mark("".concat(Ir," ").concat(t," ends")),Er.measure("".concat(Ir," ").concat(t),"".concat(Ir," ").concat(t," begins"),"".concat(Ir," ").concat(t," ends"))},Br={begin:Rr,end:Dr},Wr=function(){};function Fr(t){var e=t.getAttribute?t.getAttribute(yo):null;return"string"===typeof e}function Nr(t){var e=t.getAttribute?t.getAttribute(bo):null,n=t.getAttribute?t.getAttribute(xo):null;return e&&n}function jr(t){return t&&t.classList&&t.classList.contains&&t.classList.contains(Jo.replacementClass)}function Zr(){if(!0===Jo.autoReplaceSvg)return qr.replace;var t=qr[Jo.autoReplaceSvg];return t||qr.replace}function Ur(t){return lo.createElementNS("http://www.w3.org/2000/svg",t)}function Vr(t){return lo.createElement(t)}function Hr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.ceFn,o=void 0===n?"svg"===t.tag?Ur:Vr:n;if("string"===typeof t)return lo.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(Hr(t,{ceFn:o}))})),i}function $r(t){var e=" ".concat(t.outerHTML," ");return e="".concat(e,"Font Awesome fontawesome.com "),e}var qr={replace:function(t){var e=t[0];if(e.parentNode)if(t[1].forEach((function(t){e.parentNode.insertBefore(Hr(t),e)})),null===e.getAttribute(yo)&&Jo.keepOriginalSource){var n=lo.createComment($r(e));e.parentNode.replaceChild(n,e)}else e.remove()},nest:function(t){var e=t[0],n=t[1];if(~ai(e).indexOf(Jo.replacementClass))return qr.replace(t);var o=new RegExp("".concat(Jo.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(t,e){return e===Jo.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 Si(t)})).join("\n");e.setAttribute(yo,""),e.innerHTML=r}};function Gr(t){t()}function Yr(t,e){var n="function"===typeof e?e:Wr;if(0===t.length)n();else{var o=Gr;Jo.mutateApproach===So&&(o=so.requestAnimationFrame||Gr),o((function(){var e=Zr(),o=Br.begin("mutate");t.map(e),o(),n()}))}}var Kr=!1;function Jr(){Kr=!0}function Xr(){Kr=!1}var Qr=null;function ta(t){if(co&&Jo.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?lo:s;Qr=new co((function(t){if(!Kr){var e=tr();ri(t).forEach((function(t){if("childList"===t.type&&t.addedNodes.length>0&&!Fr(t.addedNodes[0])&&(Jo.searchPseudoElements&&a(t.target),n(t.target)),"attributes"===t.type&&t.target.parentNode&&Jo.searchPseudoElements&&a(t.target.parentNode),"attributes"===t.type&&Fr(t.target)&&~jo.indexOf(t.attributeName))if("class"===t.attributeName&&Nr(t.target)){var o=ir(ai(t.target)),r=o.prefix,s=o.iconName;t.target.setAttribute(bo,r||e),s&&t.target.setAttribute(xo,s)}else jr(t.target)&&i(t.target)}))}})),ho&&Qr.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function ea(){Qr&&Qr.disconnect()}function na(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 oa(t){var e=t.getAttribute("data-prefix"),n=t.getAttribute("data-icon"),o=void 0!==t.innerText?t.innerText.trim():"",i=ir(ai(t));return i.prefix||(i.prefix=tr()),e&&n&&(i.prefix=e,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&o.length>0&&(i.iconName=Ki(i.prefix,t.innerText)||Yi(i.prefix,Ai(t.innerText))),!i.iconName&&Jo.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=t.firstChild.data)),i}function ia(t){var e=ri(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 Jo.autoA11y&&(n?e["aria-labelledby"]="".concat(Jo.replacementClass,"-title-").concat(o||ii()):(e["aria-hidden"]="true",e["focusable"]="false")),e}function ra(){return{iconName:null,title:null,titleId:null,prefix:null,transform:ei,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function aa(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=oa(t),o=n.iconName,i=n.prefix,r=n.rest,a=ia(t),s=hr("parseNodeAttributes",{},t),l=e.styleParser?na(t):[];return On({iconName:o,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:i,transform:ei,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:r,styles:l,attributes:a}},s)}var sa=_i.styles;function la(t){var e="nest"===Jo.autoReplaceSvg?aa(t,{styleParser:!1}):aa(t);return~e.extra.classes.indexOf(Do)?pr("generateLayersText",t,e):pr("generateSvgReplacementMutation",t,e)}var ca=new Set;function ua(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!ho)return Promise.resolve();var n=lo.documentElement.classList,o=function(t){return n.add("".concat(ko,"-").concat(t))},i=function(t){return n.remove("".concat(ko,"-").concat(t))},r=Jo.autoFetchSvg?ca:Ao.map((function(t){return"fa-".concat(t)})).concat(Object.keys(sa));r.includes("fa")||r.push("fa");var a=[".".concat(Do,":not([").concat(yo,"])")].concat(r.map((function(t){return".".concat(t,":not([").concat(yo,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=ri(t.querySelectorAll(a))}catch(Zl){}if(!(s.length>0))return Promise.resolve();o("pending"),i("complete");var l=Br.begin("onTree"),c=s.reduce((function(t,e){try{var n=la(e);n&&t.push(n)}catch(Zl){To||"MissingIcon"===Zl.name&&console.error(Zl)}return t}),[]);return new Promise((function(t,n){Promise.all(c).then((function(n){Yr(n,(function(){o("active"),o("complete"),i("pending"),"function"===typeof e&&e(),l(),t()}))})).catch((function(t){l(),n(t)}))}))}function ha(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;la(t).then((function(t){t&&Yr([t],e)}))}function da(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(e||{}).icon?e:fr(e||{}),i=n.mask;return i&&(i=(i||{}).icon?i:fr(i||{})),t(o,On(On({},n),{},{mask:i}))}}Ao.map((function(t){ca.add("fa-".concat(t))})),Object.keys(zo[Po]).map(ca.add.bind(ca)),Object.keys(zo[Lo]).map(ca.add.bind(ca)),ca=Fn(ca);var pa=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,o=void 0===n?ei: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,p=void 0===d?null:d,f=e.classes,m=void 0===f?[]:f,g=e.attributes,v=void 0===g?{}:g,y=e.styles,_=void 0===y?{}:y;if(t){var w=t.prefix,b=t.iconName,x=t.icon;return br(On({type:"icon"},t),(function(){return dr("beforeDOMElementCreation",{iconDefinition:t,params:e}),Jo.autoA11y&&(h?v["aria-labelledby"]="".concat(Jo.replacementClass,"-title-").concat(p||ii()):(v["aria-hidden"]="true",v["focusable"]="false")),Sr({icons:{main:Lr(x),mask:s?Lr(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:b,transform:On(On({},ei),o),symbol:r,title:h,maskId:c,titleId:p,extra:{attributes:v,styles:_,classes:m}})}))}},fa={mixout:function(){return{icon:da(pa)}},hooks:function(){return{mutationObserverCallbacks:function(t){return t.treeCallback=ua,t.nodeCallback=ha,t}}},provides:function(t){t.i2svg=function(t){var e=t.node,n=void 0===e?lo:e,o=t.callback,i=void 0===o?function(){}:o;return ua(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([zr(n,r),l.iconName?zr(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(l){var h=Wn(l,2),d=h[0],p=h[1];e([t,Sr({icons:{main:d,mask:p},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=ci(a);return s.length>0&&(o["style"]=s),ui(r)&&(e=pr("generateAbstractTransformGrouping",{main:i,transform:r,containerWidth:i.width,iconWidth:i.width})),n.push(e||i.icon),{children:n,attributes:o}}}},ma={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 br({type:"layer"},(function(){dr("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(Jo.cssPrefix,"-layers")].concat(Fn(o)).join(" ")},children:n}]}))}}}},ga={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 br({type:"counter",content:t},(function(){return dr("beforeDOMElementCreation",{content:t,params:e}),Tr({content:t.toString(),title:o,extra:{attributes:s,styles:c,classes:["".concat(Jo.cssPrefix,"-layers-counter")].concat(Fn(r))}})}))}}}},va={mixout:function(){return{text:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,o=void 0===n?ei: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 br({type:"text",content:t},(function(){return dr("beforeDOMElementCreation",{content:t,params:e}),Cr({content:t,transform:On(On({},ei),o),title:r,extra:{attributes:c,styles:h,classes:["".concat(Jo.cssPrefix,"-layers-text")].concat(Fn(s))}})}))}}},provides:function(t){t.generateLayersText=function(t,e){var n=e.title,o=e.transform,i=e.extra,r=null,a=null;if(po){var s=parseInt(getComputedStyle(t).fontSize,10),l=t.getBoundingClientRect();r=l.width/s,a=l.height/s}return Jo.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,Cr({content:t.innerHTML,width:r,height:a,transform:o,title:n,extra:i,watchable:!0})])}}},ya=new RegExp('"',"ug"),_a=[1105920,1112319];function wa(t){var e=t.replace(ya,""),n=Mi(e,0),o=n>=_a[0]&&n<=_a[1],i=2===e.length&&e[0]===e[1];return{value:Ai(i?e[0]:e),isSecondary:o||i}}function ba(t,e){var n="".concat(wo).concat(e.replace(":","-"));return new Promise((function(o,i){if(null!==t.getAttribute(n))return o();var r=ri(t.children),a=r.filter((function(t){return t.getAttribute(_o)===e}))[0],s=so.getComputedStyle(t,e),l=s.getPropertyValue("font-family").match(Bo),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])?Lo:Po,p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?Oo[d][l[2].toLowerCase()]:Wo[d][c],f=wa(h),m=f.value,g=f.isSecondary,v=l[0].startsWith("FontAwesome"),y=Yi(p,m),_=y;if(v){var w=Qi(m);w.iconName&&w.prefix&&(y=w.iconName,p=w.prefix)}if(!y||g||a&&a.getAttribute(bo)===p&&a.getAttribute(xo)===_)o();else{t.setAttribute(n,_),a&&t.removeChild(a);var b=ra(),x=b.extra;x.attributes[_o]=e,zr(y,p).then((function(i){var r=Sr(On(On({},b),{},{icons:{main:i,mask:er()},prefix:p,iconName:_,extra:x,watchable:!0})),a=lo.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 Si(t)})).join("\n"),t.removeAttribute(n),o()})).catch(i)}}else o()}))}function xa(t){return Promise.all([ba(t,"::before"),ba(t,"::after")])}function ka(t){return t.parentNode!==document.head&&!~Co.indexOf(t.tagName.toUpperCase())&&!t.getAttribute(_o)&&(!t.parentNode||"svg"!==t.parentNode.tagName)}function Sa(t){if(ho)return new Promise((function(e,n){var o=ri(t.querySelectorAll("*")).filter(ka).map(xa),i=Br.begin("searchPseudoElements");Jr(),Promise.all(o).then((function(){i(),Xr(),e()})).catch((function(){i(),Xr(),n()}))}))}var Ca={hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=Sa,t}}},provides:function(t){t.pseudoElements2svg=function(t){var e=t.node,n=void 0===e?lo:e;Jo.searchPseudoElements&&Sa(n)}}},Ta=!1,Pa={mixout:function(){return{dom:{unwatch:function(){Jr(),Ta=!0}}}},hooks:function(){return{bootstrap:function(){ta(hr("mutationObserverCallbacks",{}))},noAuto:function(){ea()},watch:function(t){var e=t.observeMutationsRoot;Ta?Xr():ta(hr("mutationObserverCallbacks",{observeMutationsRoot:e}))}}}},La=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)},Aa={mixout:function(){return{parse:{transform:function(t){return La(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-transform");return n&&(t.transform=La(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:On({},h.outer),children:[{tag:"g",attributes:On({},h.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:On(On({},e.icon.attributes),h.path)}]}]}}}},Ma={x:0,y:0,width:"100%",height:"100%"};function za(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 Oa(t){return"g"===t.tag?t.children:[t]}var Ea={hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-mask"),o=n?ir(n.split(" ").map((function(t){return t.trim()}))):er();return o.prefix||(o.prefix=tr()),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=hi({transform:a,containerWidth:c,iconWidth:s}),d={tag:"rect",attributes:On(On({},Ma),{},{fill:"white"})},p=l.children?{children:l.children.map(za)}:{},f={tag:"g",attributes:On({},h.inner),children:[za(On({tag:l.tag,attributes:On(On({},l.attributes),h.path)},p))]},m={tag:"g",attributes:On({},h.outer),children:[f]},g="mask-".concat(r||ii()),v="clip-".concat(r||ii()),y={tag:"mask",attributes:On(On({},Ma),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[d,m]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:Oa(u)},y]};return e.push(_,{tag:"rect",attributes:On({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(g,")")},Ma)}),{children:e,attributes:n}}}},Ia={provides:function(t){var e=!1;so.matchMedia&&(e=so.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:On(On({},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=On(On({},o),{},{attributeName:"opacity"}),r={tag:"circle",attributes:On(On({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||r.children.push({tag:"animate",attributes:On(On({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:On(On({},i),{},{values:"1;0;1;1;0;1;"})}),t.push(r),t.push({tag:"path",attributes:On(On({},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:On(On({},i),{},{values:"1;0;0;0;0;1;"})}]}),e||t.push({tag:"path",attributes:On(On({},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:On(On({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:t}}}},Ra={hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-symbol"),o=null!==n&&(""===n||n);return t["symbol"]=o,t}}}},Da=[vi,fa,ma,ga,va,Ca,Pa,Aa,Ea,Ia,Ra];ur(Da,{mixoutsTo:_r});_r.noAuto;var Ba=_r.config,Wa=_r.library,Fa=(_r.dom,_r.parse),Na=(_r.findIconDefinition,_r.toHtml,_r.icon),ja=(_r.layer,_r.text);_r.counter;function Za(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=0||(i[n]=t[n]);return i}function qa(t,e){if(null==t)return{};var n,o,i=$a(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ga(t){return Ya(t)||Ka(t)||Ja(t)||Qa()}function Ya(t){if(Array.isArray(t))return Xa(t)}function Ka(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function Ja(t,e){if(t){if("string"===typeof t)return Xa(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)?Xa(t,e):void 0}}function Xa(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n1&&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 as(t)})),i=Object.keys(t.attributes||{}).reduce((function(e,n){var o=t.attributes[n];switch(n){case"class":e.class=rs(o);break;case"style":e.style=is(o);break;default:e.attrs[n]=o}return e}),{attrs:{},class:{},style:{}});n.class;var r=n.style,a=void 0===r?{}:r,s=qa(n,os);return(0,p.h)(t.tag,Ua(Ua(Ua({},e),{},{class:i.class,style:Ua(Ua({},i.style),a)},i.attrs),s),o)}var ss=!1;try{ss=!0}catch(Zl){}function ls(){var t;!ss&&console&&"function"===typeof console.error&&(t=console).error.apply(t,arguments)}function cs(t,e){return Array.isArray(e)&&e.length>0||!Array.isArray(e)&&e?Ha({},t,e):{}}function us(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},Ha(e,"fa-".concat(t.size),null!==t.size),Ha(e,"fa-rotate-".concat(t.rotation),null!==t.rotation),Ha(e,"fa-pull-".concat(t.pull),null!==t.pull),Ha(e,"fa-swap-opacity",t.swapOpacity),Ha(e,"fa-bounce",t.bounce),Ha(e,"fa-shake",t.shake),Ha(e,"fa-beat",t.beat),Ha(e,"fa-fade",t.fade),Ha(e,"fa-beat-fade",t.beatFade),Ha(e,"fa-flash",t.flash),Ha(e,"fa-spin-pulse",t.spinPulse),Ha(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 hs(t){return t&&"object"===Va(t)&&t.prefix&&t.iconName&&t.icon?t:Fa.icon?Fa.icon(t):null===t?null:"object"===Va(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 ds=(0,p.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},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},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,p.computed)((function(){return hs(t.icon)})),i=(0,p.computed)((function(){return cs("classes",us(t))})),r=(0,p.computed)((function(){return cs("transform","string"===typeof t.transform?Fa.transform(t.transform):t.transform)})),a=(0,p.computed)((function(){return cs("mask",hs(t.mask))})),s=(0,p.computed)((function(){return Na(o.value,Ua(Ua(Ua(Ua({},i.value),r.value),a.value),{},{symbol:t.symbol,title:t.title}))}));(0,p.watch)(s,(function(t){if(!t)return ls("Could not find one or more icon(s)",o.value,a.value)}),{immediate:!0});var l=(0,p.computed)((function(){return s.value?as(s.value.abstract[0],{},n):null}));return function(){return l.value}}});(0,p.defineComponent)({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,e){var n=e.slots,o=Ba.familyPrefix,i=(0,p.computed)((function(){return["".concat(o,"-layers")].concat(Ga(t.fixedWidth?["".concat(o,"-fw")]:[]))}));return function(){return(0,p.h)("div",{class:i.value},n.default?n.default():[])}}}),(0,p.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=Ba.familyPrefix,i=(0,p.computed)((function(){return cs("classes",[].concat(Ga(t.counter?["".concat(o,"-layers-counter")]:[]),Ga(t.position?["".concat(o,"-layers-").concat(t.position)]:[])))})),r=(0,p.computed)((function(){return cs("transform","string"===typeof t.transform?Fa.transform(t.transform):t.transform)})),a=(0,p.computed)((function(){var e=ja(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,p.computed)((function(){return as(a.value,{},n)}));return function(){return s.value}}});const ps=(0,p.defineComponent)({components:{"v-tooltip":yn,"v-icon":Mn,"font-awesome-icon":ds},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}}});r(17);var fs=r(959);const ms=(0,fs.Z)(ps,[["render",k]]),gs=ms;var vs={class:"map-container"};function ys(t,e,n,o,i,r){return(0,p.openBlock)(),(0,p.createElementBlock)("div",vs)}var _s=r(344),ws=r.n(_s);r(830);function bs(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 xs=bs(),ks=new Map,Ss={x:["left","center","right"],y:["top","bottom"]},Cs=(t=>()=>t++)(0),Ts=t=>"string"!=typeof t?[]:t.split(/\s+/gi).filter((t=>t)),Ps=t=>{"string"==typeof t&&(t=Ts(t));let e=null,n=null;return t.forEach((t=>{-1!==Ss.y.indexOf(t)&&(n=t),-1!==Ss.x.indexOf(t)&&(e=t)})),{x:e,y:n}};class Ls{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 As={position:["top","right"],cssAnimation:"vn-fade",velocityAnimation:{enter:t=>({height:[t.clientHeight,0],opacity:[1,0]}),leave:{height:0,opacity:[0,1]}}},Ms=(0,p.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")}}}),zs=(t,e)=>{const n=t.__vccOpts||t;for(const[o,i]of e)n[o]=i;return n};function Os(t,e,n,o,i,r){return(0,p.openBlock)(),(0,p.createBlock)(p.TransitionGroup,{tag:"span",css:!1,onEnter:t.enter,onLeave:t.leave,onAfterLeave:t.afterLeave},{default:(0,p.withCtx)((()=>[(0,p.renderSlot)(t.$slots,"default")])),_:3},8,["onEnter","onLeave","onAfterLeave"])}const Es=zs(Ms,[["render",Os]]),Is=(0,p.defineComponent)({name:"css-group",inheritAttrs:!1,props:{name:{type:String,required:!0}}});function Rs(t,e,n,o,i,r){return(0,p.openBlock)(),(0,p.createBlock)(p.TransitionGroup,{tag:"span",name:t.name},{default:(0,p.withCtx)((()=>[(0,p.renderSlot)(t.$slots,"default")])),_:3},8,["name"])}const Ds=zs(Is,[["render",Rs]]),Bs="[-+]?[0-9]*.?[0-9]+",Ws=[{name:"px",regexp:new RegExp(`^${Bs}px$`)},{name:"%",regexp:new RegExp(`^${Bs}%$`)},{name:"px",regexp:new RegExp(`^${Bs}$`)}],Fs=t=>{if("auto"===t)return{type:t,value:0};for(let e=0;e{switch(typeof t){case"number":return{type:"px",value:t};case"string":return Fs(t);default:return{type:"",value:t}}},js={IDLE:0,DESTROYED:2};(0,p.defineComponent)({name:"notifications",components:{VelocityGroup:Es,CssGroup:Ds},props:{group:{type:String,default:""},width:{type:[Number,String],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array],default:As.position},classes:{type:String,default:"vue-notification"},animationType:{type:String,default:"css"},animation:{type:Object,default:As.velocityAnimation},animationName:{type:String,default:As.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:ks.get("velocity"),timerControl:null}},computed:{actualWidth(){return Ns(this.width)},isVA(){return"velocity"===this.animationType},componentName(){return this.isVA?"velocity-group":"css-group"},styles(){const{x:t,y:e}=Ps(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!==js.DESTROYED))},botToTop(){return this.styles.hasOwnProperty("bottom")}},mounted(){xs.on("add",this.addItem),xs.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||Cs(),title:i,text:r,type:a,state:js.IDLE,speed:n,length:e+2*n,data:s};e>=0&&(this.timerControl=new Ls((()=>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=js.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!==js.DESTROYED))}}});const Zs=t=>{"string"==typeof t&&(t={title:"",text:t}),"object"==typeof t&&xs.emit("add",t)};Zs.close=t=>{xs.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 Us={templateUrl:"https://{s}.google.com/vt/lyrs=p&x={x}&y={y}&z={z}",minZoom:1,maxZoom:20,subdomains:["mt0","mt1","mt2","mt3"],attribution:'© Google Maps',className:"map-tiles"};const Vs=(0,p.defineComponent)({emits:["place","update:modelValue","error"],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 Us}},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}}},worldRadii:{type:Boolean,default:!1},geoJsonFiles:{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?Zs({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,o(o({},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,n,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===(n=this.map)||void 0===n?void 0:n.getZoom())&&void 0!==i?i:c,h=ws().map(s).setView(l,u),d=o(o({},Us),this.mapOptions);ws().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("click",this.onMapSelect),h.attributionControl.setPrefix('Leaflet'),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){ws().geoJSON(t,{style:o}).addTo(h)})).catch((function(t){console.error("Error:",t)})):n&&ws().geoJSON(n,{style:o,pointToLayer:function(t,e){return t.properties.absoluteRadius?(o.radius=t.properties.absoluteRadius,ws().circle(e,o)):ws().circleMarker(e,o)},onEachFeature:function(t,e){t.properties&&t.properties.popupContent&&e.bindPopup(t.properties.popupContent)}}).addTo(h)})),this.map=h},updateValue:function(t){this.$emit("update:modelValue",t)},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?ws().circle:ws().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)}}});r(394);const Hs=(0,fs.Z)(Vs,[["render",ys]]),$s=Hs;var qs={id:"credits",class:"ui-text"},Gs=(0,p.createElementVNode)("div",{id:"icons-container"},null,-1),Ys=[Gs];function Ks(t,e,n,o,i,r){return(0,p.openBlock)(),(0,p.createElementBlock)("div",qs,Ys)}const Js=(0,p.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:{}});r(727);const Xs=(0,fs.Z)(Js,[["render",Ks]]),Qs=Xs;var tl={id:"funding-acknowledgment"};function el(t,e,n,o,i,r){return(0,p.openBlock)(),(0,p.createElementBlock)("div",tl," 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 nl=(0,p.defineComponent)({props:{visible:{type:Boolean,default:!0}},data:function(){return{}},created:function(){},methods:{},computed:{},watch:{}});r(860);const ol=(0,fs.Z)(nl,[["render",el]]),il=ol;var rl=function(){function t(t,e){this.displayName=t,this.imagesetName=e}return t}(),al=[new rl("Optical (Terapixel DSS)","Digitized Sky Survey (Color)"),new rl("Low-frequency radio (VLSS)","VLSS: VLA Low-frequency Sky Survey (Radio)"),new rl("Infrared (2MASS)","2Mass: Imagery (Infrared)"),new rl("Infrared (SFD dust map)","SFD Dust Map (Infrared)"),new rl("Ultraviolet (GALEX)","GALEX (Ultraviolet)"),new rl("X-Ray (ROSAT RASS)","RASS: ROSAT All Sky Survey (X-ray)"),new rl("Gamma Rays (FERMI LAT 8-year)","Fermi LAT 8-year (gamma)")],sl={class:"default-activator-title noselect"},ll=["src"],cl={class:"gallery-header"},ul={class:"gallery-title"},hl={class:"gallery-content"},dl=["onClick"],pl=["src"],fl={class:"place-name noselect"};function ml(t,e,n,o,i,r){var a=(0,p.resolveComponent)("font-awesome-icon");return(0,p.openBlock)(),(0,p.createElementBlock)("div",{class:(0,p.normalizeClass)(["gallery-root",{open:t.open}])},[(0,p.createElementVNode)("div",{class:"just-holding-events",onClick:e[2]||(e[2]=function(e){return t.open=!0}),onKeyup:e[3]||(e[3]=(0,p.withKeys)((function(e){return t.open=!0}),["enter"])),tabindex:"0"},[t.open?(0,p.createCommentVNode)("",!0):(0,p.renderSlot)(t.$slots,"closed",{key:0},(function(){var n,o;return[(0,p.createElementVNode)("div",{class:"default-activator blurred",onClick:e[0]||(e[0]=function(e){return t.open=!0}),onKeyup:e[1]||(e[1]=(0,p.withKeys)((function(e){return t.open=!0}),["enter"]))},[(0,p.createElementVNode)("span",sl,(0,p.toDisplayString)(t.closedText),1),(0,p.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,ll)],32)]}))],32),t.open?((0,p.openBlock)(),(0,p.createElementBlock)("div",{key:0,style:(0,p.normalizeStyle)(t.cssVars),class:"gallery blurred"},[(0,p.createElementVNode)("div",cl,[(0,p.createElementVNode)("span",ul,(0,p.toDisplayString)(t.title),1),(0,p.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,p.withKeys)((function(e){return t.open=!1}),["enter"])),tabindex:"0"})]),(0,p.createElementVNode)("div",hl,[((0,p.openBlock)(!0),(0,p.createElementBlock)(p.Fragment,null,(0,p.renderList)(t.places.entries(),(function(e){var n,o,i=c(e,2),r=i[0],a=i[1];return(0,p.openBlock)(),(0,p.createElementBlock)("div",{key:r,class:(0,p.normalizeClass)(["gallery-item",{selected:t.highlightLastOnly?t.selectedPlace===a:t.selectedPlaces.includes(a)}]),onClick:function(e){return t.selectPlace(a)}},[(0,p.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,pl),(0,p.createElementVNode)("span",fl,(0,p.toDisplayString)(a.get_name()),1)],10,dl)})),128))])],4)):(0,p.createCommentVNode)("",!0)],2)}var gl=r(415);Symbol();var vl;(function(t){t["direct"]="direct",t["patchObject"]="patch object",t["patchFunction"]="patch function"})(vl||(vl={}));const yl="undefined"!==typeof window,_l=(()=>"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 wl(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 bl(t,e,n){const o=new XMLHttpRequest;o.open("GET",t),o.responseType="blob",o.onload=function(){Tl(o.response,e,n)},o.onerror=function(){console.error("could not download file")},o.send()}function xl(t){const e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(Zl){}return e.status>=200&&e.status<=299}function kl(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(Zl){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 Sl="object"===typeof navigator?navigator:{userAgent:""},Cl=(()=>/Macintosh/.test(Sl.userAgent)&&/AppleWebKit/.test(Sl.userAgent)&&!/Safari/.test(Sl.userAgent))(),Tl=yl?"undefined"!==typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!Cl?Pl:"msSaveOrOpenBlob"in Sl?Ll:Al:()=>{};function Pl(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?xl(o.href)?bl(t,e,n):(o.target="_blank",kl(o)):kl(o)):(o.href=URL.createObjectURL(t),setTimeout((function(){URL.revokeObjectURL(o.href)}),4e4),setTimeout((function(){kl(o)}),0))}function Ll(t,e="download",n){if("string"===typeof t)if(xl(t))bl(t,e,n);else{const e=document.createElement("a");e.href=t,e.target="_blank",setTimeout((function(){kl(e)}))}else navigator.msSaveOrOpenBlob(wl(t,n),e)}function Al(t,e,n,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),"string"===typeof t)return bl(t,e,n);const i="application/octet-stream"===t.type,r=/constructor/i.test(String(_l.HTMLElement))||"safari"in _l,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&r||Cl)&&"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:Ml}=Object;Symbol();const{assign:zl}=Object;function Ol(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 El={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"]},Il=El;Wa.add(Il);const Rl=(0,p.defineComponent)({components:{"font-awesome-icon":ds},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 i(this,void 0,void 0,(function(){var t=this;return s(this,(function(e){return this.waitForReady().then((function(){return i(t,void 0,void 0,(function(){var t;return s(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:o(o({},Ol(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=l(null!==(o=t.get_children())&&void 0!==o?o:[]),a=r.next();!a.done;a=r.next()){var s=a.value;if(s instanceof gl.Place){var c=this.getImageset(s);null!==c&&i.push(s)}else s instanceof gl.Folder&&(i=i.concat(this.extractPlaces(s)))}}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 i(this,void 0,void 0,(function(){var e=this;return s(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]:u(u([],c(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))}}});r(747);const Dl=(0,fs.Z)(Rl,[["render",ml]]),Bl=Dl;var Wl=Math.PI/180,Fl=180/Math.PI,Nl="https://api.cosmicds.cfa.harvard.edu",jl="".concat(Nl,"/minids")})(),a})()))},3992:(t,e,n)=>{"use strict";var o=n(2661),i=n(6320),r=n(5556),a=n(8917),s=n(8319),l=n(9669),c=n(567),u=n(1477),h=n(4953),d=n(6323),p=n(1213),f=n(1325),m=n(2621),g=n(4919),v=n(1001),y=n(6472),_=n(6016),w=n(4762),b=n(8992),x=n(9597),k=n(230),S=n(8389),C=n(8131),T=n(9550),P=n(141),L=n(2894),A=n(5336),M=n(9950),z=n(2626),O=n(3161),E=n(7836),I={id:"non-map-container"},R={id:"title-row",class:"non-map-row"},D={id:"title"},B={key:0},W={key:1},F={key:2},N={id:"instructions-row",class:"non-map-row"},j={id:"top-container-main-text"},Z={key:0,class:"instructions-text"},U={class:"description"},V={key:0},H=(0,a._)("p",null,[(0,a._)("strong",null,"Explore"),(0,a.Uk)(" until you can identify which locations will see an annular eclipse!")],-1),$={key:1,class:"instructions-text"},q={class:"description"},G=["innerHTML"],Y={key:1,class:"my-1"},K=(0,a._)("a",{href:"https://science.nasa.gov/eclipses/future-eclipses/eclipse-2023/where-when/",target:"_blank",rel:"noopener noreferrer"},"here.",-1),J={key:2,class:"instructions-text"},X={class:"description"},Q={key:0},tt={key:0},et=(0,a._)("strong",null,"Share",-1),nt=(0,a._)("strong",null,"My Location",-1),ot={id:"button-row",class:"non-map-row"},it={id:"top-container-buttons"},rt={id:"map-column"},at={key:0,id:"map-container"},st={key:1,id:"eclipse-path-map"},lt=(0,a._)("img",{alt:"This is a map of the US with three possible paths for the October 2023 annular eclipse. In choice A, the eclipse moves North to South from Bismarck, ND through Denver, CO and Albuquerque, NM. In choice B, the eclipse moves West to East from Los Angeles, CA to Charlotte, NC. In Choice C, the eclipse moves Northwest to South from Eugene, OR to San Antonio, TX.",src:l},null,-1),ct=[lt],ut={class:"video-wrapper"},ht=(0,a._)("video",{controls:"",id:"info-video"},[(0,a._)("source",{src:c,type:"video/mp4"})],-1),dt=(0,a._)("h3",{class:"v-btn tab-title"},"Information",-1),pt=(0,a._)("div",{id:"info-text-box"},[(0,a._)("div",{id:"main-info-text"},[(0,a._)("p",null," Get ready, North America, for not one, but two solar eclipses! On October 14, 2023, North, Central, and South America will be treated to a beautiful annular eclipse. Only 6 months later, on April 8, 2024, an awe-inspiring total solar eclipse will stretch from coast-to-coast across the United States and Canada. "),(0,a._)("p",null,' This interactive lets you explore the October "Ring of Fire" eclipse from different locations. '),(0,a._)("p",{id:"safety-warning"}," SAFETY FIRST: NEVER look directly at the Sun without proper eye protection. ")]),(0,a._)("div",{id:"FAQ"},[(0,a._)("details",null,[(0,a._)("summary",null," What causes Solar Eclipses? "),(0,a._)("p",null," A solar eclipse happens when the Moon passes between the Earth and the Sun and blocks the Sun from our view. Partial eclipses occur about every 6 months, somewhere on the Earth. The U.S. is lucky to be in the path of the next two solar eclipses. ")]),(0,a._)("details",null,[(0,a._)("summary",null," Total? Annular? What is the difference?"),(0,a._)("p",null,[(0,a.Uk)(" During a "),(0,a._)("strong",null,"total eclipse"),(0,a.Uk)(", the Moon covers the entire face of the Sun. Because the Moon doesn't orbit the Earth in a perfect circle, sometimes it is farther away from Earth and appears smaller. When this happens, the Moon doesn't cover the entire face of the Sun. During the eclipse we can still see a bright ring of light around the Moon, sometimes called the \"Ring of Fire.\" This is called an "),(0,a._)("strong",null,"annular Eclipse"),(0,a.Uk)(". ")])]),(0,a._)("details",null,[(0,a._)("summary",null," Why can only some places see the eclipse?"),(0,a._)("p",null," An eclipse is caused by the Moon casting a shadow on the Earth. People who are directly behind the Moon will see an annular or total eclipse. As the Moon moves in its orbit around Earth, and as Earth rotates, the location of the shadow will move, sweeping out a path across the surface of the Earth. For a larger number of people who are not directly behind the moon, a smaller amount of the Sun will be blocked, causing a partial eclipse. Even further outside the shadow the Sun will not be blocked at all, and there will be no eclipse visible. "),(0,a._)("p",null," The animated figure shows that the Moon's shadow on Earth has two distinct regions. The darker part of the shadow is directly behind the Moon, where people will experience an annular or total eclipse. The lighter part of the shadow falls where people on Earth will see a partial solar eclipse. ")]),(0,a._)("details",null,[(0,a._)("summary",null,"Where can I learn more?"),(0,a._)("p",null,[(0,a.Uk)(" Check out "),(0,a._)("a",{href:"https://science.nasa.gov/eclipses/future-eclipses/eclipse-2023/where-when/",target:"_blank",rel:"noopener noreferrer"},"NASA's website"),(0,a.Uk)(" about the October annular eclipse and Fiske Planetarium's "),(0,a._)("a",{href:"https://www.colorado.edu/fiske/projects/science-through-shadows",target:"_blank",rel:"noopener noreferrer"},"Science Through Shadows"),(0,a.Uk)(" videos. ")])])])],-1),ft=(0,a._)("figcaption",null,"Image credit: NASA Goddard / Katy Mersmann",-1),mt=(0,a._)("div",{class:"disclaimer"},"Not to scale",-1),gt=(0,a._)("h3",{class:"v-btn tab-title"},"User Guide",-1),vt=(0,a._)("p",{style:{"font-size":"calc(1.1 * var(--default-font-size))"},class:"mb-5"}," This Mini Data Story allows you to display the October 14, 2023 Annular Eclipse from any location. ",-1),yt=(0,a._)("br",null,null,-1),_t=(0,a._)("br",null,null,-1),wt={style:{"min-height":"120px"}},bt=(0,a._)("h4",{class:"user-guide-header"},"Time Controls:",-1),xt=(0,a._)("p",{class:"mb-3"},"(See bottom-left of the screen)",-1),kt={class:"text-list"},St=(0,a._)("h4",{class:"user-guide-header"},"Viewing Mode:",-1),Ct=(0,a._)("p",{class:"mb-3"},"(See upper-right of the screen)",-1),Tt={class:"text-list"},Pt=(0,a._)("li",{class:"mb-2"},[(0,a.Uk)(" The "),(0,a._)("span",{style:{color:"blue","background-color":"white","padding-inline":"0.7em","border-radius":"20px","font-weight":"bold"}},"selected location"),(0,a.Uk)(" and "),(0,a._)("span",{style:{color:"blue","background-color":"white","padding-inline":"0.7em","border-radius":"20px","font-weight":"bold"}},"date/time"),(0,a.Uk)(" are displayed under the map. ")],-1),Lt={class:"switch-bullets"},At=(0,a._)("span",{class:"user-guide-emphasis"}," Solar Scope:",-1),Mt={class:"switch-bullets mb-3"},zt=(0,a._)("span",{class:"user-guide-emphasis"}," Horizon:",-1),Ot={class:"switch-bullets"},Et=(0,a._)("span",{class:"user-guide-emphasis"}," Track Sun:",-1),It={class:"switch-bullets mb-5"},Rt=(0,a._)("span",{class:"user-guide-emphasis"}," Don't Track Sun:",-1),Dt=(0,a._)("h4",{class:"user-guide-header"},"Display Options:",-1),Bt=(0,a._)("p",{class:"mb-3"},"(See bottom-right of the screen)",-1),Wt=(0,a._)("ul",{class:"text-list"},[(0,a._)("li",null,[(0,a._)("span",{class:"user-guide-emphasis-white"},"Sky Grid:"),(0,a.Uk)(" Display altitude/azimuth grid with cardinal directions. ")]),(0,a._)("li",null,[(0,a._)("span",{class:"user-guide-emphasis-white"},"Horizon:"),(0,a.Uk)(' Display a virtual "ground" that delineates where the Sun rises and sets. ')]),(0,a._)("li",null,[(0,a._)("span",{class:"user-guide-emphasis-white"},"Visible Moon:"),(0,a.Uk)(" Solar Eclipses occur during a New Moon, when the Moon is not normally visible in the sky. This option makes it easier to see the Moon against the sky. ")]),(0,a._)("li",null,[(0,a._)("span",{class:"user-guide-emphasis-white"},"Amount Eclipsed:"),(0,a.Uk)(" Display percentage of Sun being covered by the Moon. (Disabled when zoomed far out.) ")])],-1),Ft=(0,a._)("h4",{class:"user-guide-header"},"Location Options:",-1),Nt=(0,a._)("p",{class:"mb-3"},"(See top-left of the screen)",-1),jt={class:"text-list"},Zt=(0,a._)("strong",null,"share-url",-1),Ut=(0,a._)("strong",null,"My Location",-1),Vt=(0,a._)("div",{id:"text-credits"},[(0,a._)("h3",null,"Credits:"),(0,a._)("p",{class:"mt-2"},"This Mini Data Story is powered by WorldWide Telescope (WWT)."),(0,a._)("p",{class:"my-3"},"Image of Sun is courtesy of NASA/SDO and the AIA, EVE, and HMI science teams."),(0,a._)("h4",null,[(0,a._)("a",{href:"https://www.cosmicds.cfa.harvard.edu/",target:"_blank",rel:"noopener noreferrer"},"CosmicDS"),(0,a.Uk)(" Mini Stories Team:")]),(0,a.Uk)(" Pat Udomprasert"),(0,a._)("br"),(0,a.Uk)(" Jon Carifio"),(0,a._)("br"),(0,a.Uk)(" John Lewis"),(0,a._)("br"),(0,a.Uk)(" Alyssa Goodman"),(0,a._)("br"),(0,a.Uk)(" Mary Dussault"),(0,a._)("br"),(0,a.Uk)(" Harry Houghton"),(0,a._)("br"),(0,a.Uk)(" Anna Nolin"),(0,a._)("br"),(0,a.Uk)(" Evaluator: Sue Sunbury"),(0,a._)("br"),(0,a._)("h4",null,[(0,a._)("a",{href:"https://www.worldwidetelescope.org/",target:"_blank",rel:"noopener noreferrer"},"WorldWide Telescope"),(0,a.Uk)(" Team:")]),(0,a.Uk)(" Peter Williams"),(0,a._)("br"),(0,a.Uk)(" A. David Weigel"),(0,a._)("br"),(0,a.Uk)(" Jon Carifio"),(0,a._)("br")],-1),Ht={id:"main-content"},$t={id:"first-splash-row"},qt=(0,a._)("div",{id:"splash-screen-text"},[(0,a._)("p",null,"WATCH the October 14"),(0,a._)("p",{class:"highlight"}," Annular Eclipse ")],-1),Gt={id:"splash-screen-guide"},Yt={id:"splash-screen-acknowledgements"},Kt=(0,a._)("a",{href:"https://www.cosmicds.cfa.harvard.edu/",target:"_blank",rel:"noopener noreferrer"},"Cosmic Data Stories",-1),Jt=(0,a._)("a",{href:"https://www.worldwidetelescope.org/home/",target:"_blank",rel:"noopener noreferrer"},"WorldWide Telescope",-1),Xt={id:"splash-screen-logos"},Qt={class:"modal",id:"modal-loading"},te=(0,a._)("div",{class:"container"},[(0,a._)("div",{class:"spinner"}),(0,a._)("p",null,"Loading โ€ฆ")],-1),ee=[te],ne={key:0,id:"introduction-overlay",class:"elevation-10"},oe={id:"intro-window-close-button"},ie=(0,a._)("div",{class:"intro-text"},[(0,a._)("p",{class:"mb-5"}," On October 14, 2023, the Americas will experience a partial solar eclipse, where the Moon will appear to travel across the Sun and block a portion of it. "),(0,a._)("p",{class:"mb-5"},[(0,a.Uk)(" A lucky segment of the U.S., Central, and South America will experience a dazzling "),(0,a._)("b",null,'"Ring of Fire"'),(0,a.Uk)(" created by an "),(0,a._)("b",null,"annular eclipse"),(0,a.Uk)(". ")]),(0,a._)("p",{class:"mb-5"}," Use your detective skills to identify where those lucky people are in our map quiz. ")],-1),re={class:"intro-text mb-3"},ae=(0,a._)("p",{class:"mb-3"}," In this interactive page you can: ",-1),se=(0,a._)("strong",null,"Explore",-1),le=(0,a._)("strong",null,"Select any location",-1),ce=(0,a._)("strong",null,"Map Quiz",-1),ue=(0,a._)("strong",null,"Learn more",-1),he=(0,a._)("strong",null,"User Guide",-1),de={key:0,class:"mt-3"},pe={id:"intro-bottom-controls"},fe={id:"top-wwt-content"},me={id:"location-date-display"},ge={id:"top-switches"},ve={id:"track-sun-switch"},ye={class:"bottom-content"},_e={id:"eclipse-percent-chip"},we={id:"controls",class:"control-icon-wrapper"},be={id:"controls-top-row"},xe={key:0,id:"control-checkboxes"},ke={id:"video-icon"},Se={id:"tools"},Ce={class:"tool-container"},Te={id:"speed-control"},Pe={id:"speed-text"},Le={key:0},Ae={key:1},Me={key:2},ze={id:"change-optout"},Oe={key:0,id:"body-logos"},Ee=(0,a._)("strong",null,"anonymized",-1);function Ie(t,e,i,l,c,lt){var te=(0,a.up)("font-awesome-icon"),Ie=(0,a.up)("hover-tooltip"),Re=(0,a.up)("image-label"),De=(0,a.up)("flip-transition"),Be=(0,a.up)("mc-radiogroup"),We=(0,a.up)("icon-button"),Fe=(0,a.up)("location-selector"),Ne=(0,a.up)("gif-play-pause"),je=(0,a.up)("funding-acknowledgment"),Ze=(0,a.up)("WorldWideTelescope"),Ue=(0,a.up)("geolocation-button"),Ve=(0,a.up)("credit-logos"),He=(0,a.up)("transition-expand"),$e=(0,a.up)("notifications");return(0,a.wg)(),(0,a.j4)(u.q,{id:"app",style:(0,s.j5)(t.cssVars)},{default:(0,a.w5)((function(){return[(0,a._)("div",{id:"closed-top-container",class:(0,s.C_)([t.showGuidedContent?"":"budge"])},[(0,a.Wm)(te,{modelValue:t.showGuidedContent,"onUpdate:modelValue":e[0]||(e[0]=function(e){return t.showGuidedContent=e}),class:(0,s.C_)(t.showGuidedContent?"ma-1":""),size:t.showGuidedContent?"xl":"2xl",color:t.showGuidedContent?"var(--accent-color)":"black",icon:t.showGuidedContent?"chevron-up":"circle-chevron-down",onClick:e[1]||(e[1]=function(){t.showGuidedContent=!t.showGuidedContent,t.onResize()}),onKeyup:e[2]||(e[2]=(0,o.D2)((function(e){return t.showGuidedContent=!t.showGuidedContent}),["enter"])),tabindex:"0","tooltip-location":"start"},null,8,["modelValue","class","size","color","icon"])],2),(0,a.wy)((0,a.Wm)(w.K,{id:"guided-content-container"},{default:(0,a.w5)((function(){return[(0,a.Wm)(Ie,{"tooltip-text":t.scrollUp?"Scroll to top":"Scroll to bottom",disabled:t.mobile,id:"scrollButton"},{target:(0,a.w5)((function(){return[t.smAndUp?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(h.T,{key:0,icon:t.scrollUp?"mdi-arrow-up":"mdi-arrow-down",onClick:t.scrollToTop,size:"small",density:"comfortable",color:t.accentColor,variant:"flat"},null,8,["icon","onClick","color"]))]})),_:1},8,["tooltip-text","disabled"]),(0,a._)("div",I,[(0,a._)("div",R,[(0,a._)("div",D,["Explore"==t.learnerPath?((0,a.wg)(),(0,a.iD)("span",B,"Watch and Compare ")):(0,a.kq)("",!0),"Answer"==t.learnerPath?((0,a.wg)(),(0,a.iD)("span",W,"Identify Eclipse Path ")):(0,a.kq)("",!0),"Choose"==t.learnerPath?((0,a.wg)(),(0,a.iD)("span",F,"Choose Any Location ")):(0,a.kq)("",!0)])]),(0,a._)("div",N,[(0,a._)("div",j,["Explore"==t.learnerPath?((0,a.wg)(),(0,a.iD)("div",Z,[(0,a._)("span",U,[t.queryData?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("p",V,[(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"Tap":"Click"),1),(0,a.Uk)(),(0,a.Wm)(te,{icon:"play",class:"bullet-icon"}),(0,a.Uk)(' to "watch" the eclipse at the location marked by the red dot.')])),(0,a._)("p",null,[(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"Tap":"Click")+" highlighted cities",1),(0,a.Uk)(" on the map to switch locations and view the eclipse from there.")]),H])])):(0,a.kq)("",!0),"Answer"==t.learnerPath?((0,a.wg)(),(0,a.iD)("div",$,[(0,a._)("span",q,[(0,a._)("p",null,[(0,a.Uk)("Have you determined the eclipse path? "),(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"Tap":"Click")+" a card",1),(0,a.Uk)(" to select it.")]),(0,a._)("p",null,[(0,a.Uk)("If you are not sure, "+(0,s.zw)(t.touchscreen?"tap":"click")+" ",1),(0,a.Wm)(te,{icon:"rocket",class:"bullet-icon"}),(0,a.Uk)(" to keep exploring.")])]),"Answer"==t.learnerPath?((0,a.wg)(),(0,a.j4)(Be,{key:0,id:"mc-radiogroup-container",row:"","hide-input":"",preselected:t.quizAnswer,"radio-options":["A","B","C"],feedbacks:["Not that one.
Try again!","Not that one.
Try again!","Yes! It passes from Oregon to Texas"],"correct-answers":[2],onSelect:t.onAnswerSelected,colorWrong:"transparent",colorRight:"transparent"},{default:(0,a.w5)((function(e){var n=e.index,o=e.text,i=e.selected,r=e.color,l=e.feedback;return[(0,a.Wm)(De,{id:o,width:t.xSmallSize?"21vw":"12vw",height:"9vh",duration:"0.8s",flipBackAfter:3e3,tabindex:"0",role:"button",borderRadius:"5px"},{front:(0,a.w5)((function(){return[(0,a.Wm)(Re,{id:"front","alt-text":t.longAnswers[n],color:["rgb(0,180,200)","rgb(255, 110,0)","#f0f"][n],"background-color":i?"".concat(r):"#F0DCB9","background-opacity":1,fontSize:"5vh",fontWeight:"bold",width:t.xSmallSize?"21vw":"12vw",height:"9vh",border:"1px solid white",borderRadius:"5px",onClick:function(){console.log("clicked"),t.quizAnswer=n}},{default:(0,a.w5)((function(){return[(0,a.Uk)((0,s.zw)(o),1)]})),_:2},1032,["alt-text","color","background-color","width","onClick"])]})),back:(0,a.w5)((function(){return[(0,a.Wm)(Re,{id:"front",color:["rgb(0,180,200)","rgb(255, 110,0)","#f0f"][n],"background-color":"black","background-opacity":1,width:t.xSmallSize?"21vw":"12vw",height:"9vh",fontSize:t.xSmallSize?"min(2vh,2.5vw)":"min(1.6vh,1.6vw)",fontWeight:"bold",lineHeight:"(xSmallSize ? `min(2.2vh,2.7vw)` : `min(1.8vh,1.8vw)`)",border:"1px solid white",borderRadius:"5px"},{default:(0,a.w5)((function(){return[(0,a._)("span",{innerHTML:l},null,8,G)]})),_:2},1032,["color","width","fontSize"])]})),_:2},1032,["id","width"])]})),_:1},8,["preselected","feedbacks","onSelect"])):(0,a.kq)("",!0),t.showLinkToPath?((0,a.wg)(),(0,a.iD)("div",Y,[(0,a.Uk)(" See NASA's map with the October annular eclipse path "),K])):(0,a.kq)("",!0)])):(0,a.kq)("",!0),"Choose"==t.learnerPath?((0,a.wg)(),(0,a.iD)("div",J,[(0,a._)("span",X,[t.queryData?((0,a.wg)(),(0,a.iD)("p",Q,[(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"Tap":"Click"),1),(0,a.Uk)(),(0,a.Wm)(te,{icon:"play",size:"l",class:"bullet-icon"}),(0,a.Uk)(' to "watch" the eclipse from the location shared in your link. ')])):(0,a.kq)("",!0),(0,a._)("p",null,[(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"Tap":"Click"),1),(0,a.Uk)(" on the map to select any "),t.queryData?((0,a.wg)(),(0,a.iD)("span",tt,"other")):(0,a.kq)("",!0),(0,a.Uk)(" location and view the eclipse from there. ")]),(0,a._)("p",null,[et,(0,a.Uk)(" the view from a location by "+(0,s.zw)(t.touchscreen?"tapping":"clicking")+" ",1),(0,a.Wm)(te,{icon:"share-nodes",class:"bullet-icon"}),(0,a.Uk)(" to copy the url. ")]),(0,a._)("p",null,[(0,a.Uk)(" View the eclipse from "),nt,(0,a.Uk)(" by "+(0,s.zw)(t.touchscreen?"tapping":"clicking")+" ",1),(0,a.Wm)(te,{icon:"street-view",class:"bullet-icon"}),(0,a.Uk)(". (Location services must be enabled on device). ")])])])):(0,a.kq)("",!0)])]),(0,a._)("div",ot,[(0,a._)("div",it,[(0,a.Wm)(We,{"model-value":"Explore"==t.learnerPath,"fa-icon":"rocket","fa-size":"xl",color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"View eclipse from multiple locations","tooltip-location":"bottom","show-tooltip":!t.mobile,"box-shadow":!1,onActivate:e[3]||(e[3]=function(){t.learnerPath="Explore"})},null,8,["model-value","color","focus-color","show-tooltip"]),(0,a.Wm)(We,{"model-value":"Choose"==t.learnerPath,"fa-icon":"location-dot","fa-size":"xl",color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"Choose any viewing location","tooltip-location":"bottom","show-tooltip":!t.mobile,"box-shadow":!1,onActivate:e[4]||(e[4]=function(){t.learnerPath="Choose"})},null,8,["model-value","color","focus-color","show-tooltip"]),(0,a.Wm)(We,{"model-value":"Answer"==t.learnerPath,"fa-icon":"puzzle-piece","fa-size":"xl",color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"Identify eclipse path","tooltip-location":"bottom","show-tooltip":!t.mobile,"box-shadow":!1,onActivate:e[5]||(e[5]=function(){t.learnerPath="Answer"})},null,8,["model-value","color","focus-color","show-tooltip"]),(0,a.Wm)(We,{modelValue:t.showInfoSheet,"onUpdate:modelValue":e[6]||(e[6]=function(e){return t.showInfoSheet=e}),"fa-icon":"book-open","fa-size":"xl",color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":t.showInfoSheet?null:"More on Eclipses","tooltip-location":"bottom","show-tooltip":!t.mobile,"box-shadow":!1},null,8,["modelValue","color","focus-color","tooltip-text","show-tooltip"]),(0,a.Wm)(We,{modelValue:t.showWWTGuideSheet,"onUpdate:modelValue":e[7]||(e[7]=function(e){return t.showWWTGuideSheet=e}),"fa-icon":"circle-info","fa-size":"xl",color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":t.showWWTGuideSheet?null:"User Guide","tooltip-location":"bottom","show-tooltip":!t.mobile,"box-shadow":!1},null,8,["modelValue","color","focus-color","tooltip-text","show-tooltip"])])])]),(0,a._)("div",rt,[(0,a.Wm)(S.V,null,{default:(0,a.w5)((function(n){n.isHovering,n.props;return[(0,a.kq)("",!0),(0,a.Wm)(O.cu,{disabled:t.smAndUp},{default:(0,a.w5)((function(){return[!t.smAndUp||t.smAndUp?((0,a.wg)(),(0,a.iD)("div",at,["Explore"==t.learnerPath?((0,a.wg)(),(0,a.j4)(Fe,{key:0,"model-value":t.locationDeg,onPlace:e[8]||(e[8]=function(e){return t.updateLocation(e.name)}),"detect-location":!1,"map-options":t.presetMapOptions,places:t.places,"initial-place":t.places.find((function(t){return"selectedLocation"===t.name})),"place-circle-options":t.placeCircleOptions,"selected-circle-options":t.selectedCircleOptions,selectable:!1,class:"leaflet-map"},null,8,["model-value","map-options","places","initial-place","place-circle-options","selected-circle-options"])):(0,a.kq)("",!0),"Answer"==t.learnerPath?((0,a.wg)(),(0,a.iD)("span",st,ct)):(0,a.kq)("",!0),"Choose"==t.learnerPath?((0,a.wg)(),(0,a.j4)(Fe,{key:2,"model-value":t.locationDeg,"onUpdate:modelValue":t.updateLocationFromMap,"detect-location":!1,"map-options":t.userSelectedMapOptions,"selected-circle-options":t.selectedCircleOptions,class:"leaflet-map"},null,8,["model-value","onUpdate:modelValue","map-options","selected-circle-options"])):(0,a.kq)("",!0)])):(0,a.kq)("",!0)]})),_:1},8,["disabled"])]})),_:1})])]})),_:1},512),[[o.F8,t.showGuidedContent]]),(0,a.Wm)(y.B,{id:"video-container",modelValue:t.showVideoSheet,"onUpdate:modelValue":e[11]||(e[11]=function(e){return t.showVideoSheet=e}),transition:"slide-y-transition","close-on-back":"",fullscreen:""},{default:(0,a.w5)((function(){return[(0,a._)("div",ut,[(0,a.Wm)(te,{id:"video-close-icon",class:"close-icon",icon:"times",size:"lg",onClick:e[9]||(e[9]=function(e){return t.showVideoSheet=!1}),onKeyup:e[10]||(e[10]=(0,o.D2)((function(e){return t.showVideoSheet=!1}),["enter"])),tabindex:"0"}),ht])]})),_:1},8,["modelValue"]),(0,a.Wm)(y.B,{scrim:"false",transition:"slide-y-transition",modelValue:t.showInfoSheet,"onUpdate:modelValue":e[14]||(e[14]=function(e){return t.showInfoSheet=e}),class:"bottom-sheet",id:"text-bottom-sheet",style:(0,s.j5)(t.cssVars)},{default:(0,a.w5)((function(){return[(0,a.Wm)(d._,{class:"bottom-sheet-card"},{default:(0,a.w5)((function(){return[(0,a.Wm)(p.E,{tabindex:"0"},{default:(0,a.w5)((function(){return[dt]})),_:1}),(0,a.Wm)(te,{id:"close-text-icon",class:"control-icon",icon:"square-xmark",size:"xl",onClick:e[12]||(e[12]=function(e){return t.showInfoSheet=!1}),onKeyup:e[13]||(e[13]=(0,o.D2)((function(e){return t.showInfoSheet=!1}),["enter"])),tabindex:"0"}),(0,a.Wm)(d._,{class:"no-bottom-border-radius scrollable"},{default:(0,a.w5)((function(){return[(0,a.Wm)(f.Z,{class:"info-text no-bottom-border-radius"},{default:(0,a.w5)((function(){return[(0,a.Wm)(w.K,{id:"learn-more-content"},{default:(0,a.w5)((function(){return[pt,(0,a._)("figure",null,[(0,a.Wm)(Ne,{startPaused:"",gif:n(7398),still:n(6421),alt:"Animated schematic of a solar eclipse showing how the Moon moves between the Sun and Earth."},null,8,["gif","still"]),ft,mt])]})),_:1})]})),_:1})]})),_:1})]})),_:1})]})),_:1},8,["modelValue","style"]),(0,a.Wm)(y.B,{scrim:"false",transition:"slide-y-transition",modelValue:t.showWWTGuideSheet,"onUpdate:modelValue":e[21]||(e[21]=function(e){return t.showWWTGuideSheet=e}),class:"bottom-sheet",id:"wwt-guide-sheet",style:(0,s.j5)(t.cssVars)},{default:(0,a.w5)((function(){return[(0,a.Wm)(d._,{class:"bottom-sheet-card"},{default:(0,a.w5)((function(){return[(0,a.Wm)(p.E,{tabindex:"0"},{default:(0,a.w5)((function(){return[gt]})),_:1}),(0,a.Wm)(te,{id:"close-text-icon",class:"control-icon",icon:"square-xmark",size:"xl",onClick:e[15]||(e[15]=function(e){return t.showWWTGuideSheet=!1}),onKeyup:e[16]||(e[16]=(0,o.D2)((function(e){return t.showWWTGuideSheet=!1}),["enter"])),tabindex:"0"}),(0,a.Wm)(d._,{class:"no-bottom-border-radius scrollable"},{default:(0,a.w5)((function(){return[(0,a.Wm)(f.Z,{class:"info-text no-bottom-border-radius"},{default:(0,a.w5)((function(){return[(0,a.Wm)(w.K,{id:"user-guide"},{default:(0,a.w5)((function(){return[vt,(0,a.Wm)(b.o,{align:"center"},{default:(0,a.w5)((function(){return[(0,a.Wm)(x.D,{cols:"4"},{default:(0,a.w5)((function(){return[(0,a.Wm)(v.v,{label:"",outlined:""},{default:(0,a.w5)((function(){return[(0,a.Uk)(" Pan ")]})),_:1})]})),_:1}),(0,a.Wm)(x.D,{cols:"8",class:"pt-1"},{default:(0,a.w5)((function(){return[(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"press + drag":"click + drag"),1),(0,a.Uk)(" "+(0,s.zw)(t.touchscreen?"":"or")+" ",1),(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"":"W-A-S-D"),1),(0,a.Uk)(" "+(0,s.zw)(t.touchscreen?"":"keys"),1),yt]})),_:1})]})),_:1}),(0,a.Wm)(b.o,{align:"center"},{default:(0,a.w5)((function(){return[(0,a.Wm)(x.D,{cols:"4"},{default:(0,a.w5)((function(){return[(0,a.Wm)(v.v,{label:"",outlined:""},{default:(0,a.w5)((function(){return[(0,a.Uk)(" Zoom ")]})),_:1})]})),_:1}),(0,a.Wm)(x.D,{cols:"8",class:"pt-1"},{default:(0,a.w5)((function(){return[(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"pinch in and out":"scroll in and out"),1),(0,a.Uk)(" "+(0,s.zw)(t.touchscreen?"":"or")+" ",1),(0,a._)("strong",null,(0,s.zw)(t.touchscreen?"":"I-O"),1),(0,a.Uk)(" "+(0,s.zw)(t.touchscreen?"":"keys"),1),_t]})),_:1})]})),_:1}),(0,a.Wm)(b.o,null,{default:(0,a.w5)((function(){return[(0,a.Wm)(x.D,{cols:"12"},{default:(0,a.w5)((function(){return[(0,a._)("div",wt,[bt,xt,(0,a._)("ul",kt,[(0,a._)("li",null,[(0,a.Uk)((0,s.zw)(t.touchscreen?"Tap":"Click")+" ",1),(0,a.Wm)(te,{class:"bullet-icon",icon:"play",size:"lg"}),(0,a.Uk)(" to move time forward at 1000x the real speed. ")]),(0,a._)("li",null,[(0,a.Uk)(" If playing, "+(0,s.zw)(t.touchscreen?"tap":"click")+" ",1),(0,a.Wm)(te,{class:"bullet-icon",icon:"pause",size:"lg"}),(0,a.Uk)(" to pause time. ")]),(0,a._)("li",null,[(0,a.Uk)((0,s.zw)(t.touchscreen?"Tap":"Click")+" ",1),(0,a.Wm)(te,{class:"bullet-icon",icon:"angle-double-down",size:"lg"}),(0,a.Uk)(" to decrease speed by 10x. ")]),(0,a._)("li",null,[(0,a.Uk)((0,s.zw)(t.touchscreen?"Tap":"Click")+" ",1),(0,a.Wm)(te,{class:"bullet-icon",icon:"angle-double-up",size:"lg"}),(0,a.Uk)(" to increase speed by 10x. ")]),(0,a._)("li",null,[(0,a.Uk)((0,s.zw)(t.touchscreen?"Tap":"Click")+" ",1),(0,a.Wm)(te,{class:"bullet-icon",icon:"rotate",size:"lg"}),(0,a.Uk)(" to reset time, view, and speed. ")]),(0,a._)("li",null,[(0,a.Uk)(" You can also control time by dragging "),(0,a.Wm)(C.t,{class:"bullet-icon",icon:"mdi-circle",size:"medium"}),(0,a.Uk)(" along the slider. ")])]),(0,a.Wm)(_.J,{thickness:"2px",class:"solid-divider"}),St,Ct,(0,a._)("ul",Tt,[Pt,(0,a._)("li",Lt,[(0,a.Wm)(A.G,{class:"display-only-switch",modelValue:t.displaySwitchOff,"onUpdate:modelValue":e[17]||(e[17]=function(e){return t.displaySwitchOff=e}),density:"compact","hide-details":"",disabled:"",ripple:!1,color:t.accentColor,"false-icon":"mdi-telescope"},null,8,["modelValue","color"]),At,(0,a.Uk)(" Display zoomed in Sun and Moon as through a dark solar filter or eclipse glasses. ")]),(0,a._)("li",Mt,[(0,a.Wm)(A.G,{class:"display-only-switch",modelValue:t.displaySwitchOn,"onUpdate:modelValue":e[18]||(e[18]=function(e){return t.displaySwitchOn=e}),density:"compact","hide-details":"",disabled:"",ripple:!1,color:t.accentColor,"true-icon":"mdi-image-filter-hdr"},null,8,["modelValue","color"]),zt,(0,a.Uk)(" Display motion of Sun and Moon as they travel through the sky relative to the ground. ")]),(0,a._)("li",Ot,[(0,a.Wm)(A.G,{class:"display-only-switch",modelValue:t.displaySwitchOn,"onUpdate:modelValue":e[19]||(e[19]=function(e){return t.displaySwitchOn=e}),density:"compact","hide-details":"",disabled:"",ripple:!1,color:t.accentColor,"true-icon":"mdi-white-balance-sunny"},null,8,["modelValue","color"]),Et,(0,a.Uk)(" Always keep camera centered on Sun. ")]),(0,a._)("li",It,[(0,a.Wm)(A.G,{class:"display-only-switch",modelValue:t.displaySwitchOff,"onUpdate:modelValue":e[20]||(e[20]=function(e){return t.displaySwitchOff=e}),density:"compact","hide-details":"",disabled:"",ripple:!1,color:t.accentColor,"false-icon":"mdi-image"},null,8,["modelValue","color"]),Rt,(0,a.Uk)(" In Horizon View, show motion of Sun (and Moon) against the sky. ")])]),(0,a.Wm)(_.J,{thickness:"2px",class:"solid-divider"}),Dt,Bt,Wt,(0,a.Wm)(_.J,{thickness:"2px",class:"solid-divider"}),Ft,Nt,(0,a._)("ul",jt,[(0,a._)("li",null,[(0,a.Uk)((0,s.zw)(t.touchscreen?"Tap":"Click")+" ",1),(0,a.Wm)(te,{class:"bullet-icon",icon:"share-nodes",size:"lg"}),(0,a.Uk)(" to copy "),Zt,(0,a.Uk)(" for a specific location. ")]),(0,a._)("li",null,[(0,a.Uk)((0,s.zw)(t.touchscreen?"Tap":"Click")+" ",1),(0,a.Wm)(te,{class:"bullet-icon",icon:"street-view",size:"lg"}),(0,a.Uk)(" to use the view my "),Ut,(0,a.Uk)(". (Consult your device's user guide to enable location services.) ")])])]),(0,a.Wm)(_.J,{thickness:"2px",class:"solid-divider"})]})),_:1})]})),_:1}),Vt,(0,a.Wm)(je)]})),_:1})]})),_:1})]})),_:1})]})),_:1})]})),_:1},8,["modelValue","style"]),(0,a._)("div",Ht,[(0,a.Wm)(Ze,{"wwt-namespace":t.wwtNamespace},null,8,["wwt-namespace"]),(0,a._)("div",null,[(0,a._)("div",{id:"left-buttons-wrapper",class:(0,s.C_)([t.showGuidedContent?"":"budge"])},[(0,a.Wm)(We,{id:"share","fa-icon":"share-nodes",color:t.accentColor,"focus-color":t.accentColor,"box-shadow":!1,"tooltip-text":"Share view of this location","show-tooltip":!t.mobile,onActivate:t.copyShareURL,faSize:"1x"},null,8,["color","focus-color","show-tooltip","onActivate"]),(0,a.Wm)(We,{id:"my-location","fa-icon":"street-view",color:t.accentColor,"focus-color":t.accentColor,"box-shadow":!1,"tooltip-text":"Use my location","show-tooltip":!t.mobile,"onUpdate:modelValue":e[22]||(e[22]=function(e){e?(t.$refs.geolocation.getLocation(),t.showMyLocationDialog=!0,t.learnerPath="Choose"):console.log("geolocation button pressed = false")}),faSize:"1x"},null,8,["color","focus-color","show-tooltip"])],2),(0,a._)("div",{id:"location-progress",class:(0,s.C_)([t.showGuidedContent?"":"budge"])},[(0,a.Wm)(Ue,{color:t.accentColor,"show-text-progress":!0,"hide-text":!0,showCoords:!1,"hide-button":!0,requirePermission:!1,hasPermission:!0,ref:"geolocation",onGeolocation:e[23]||(e[23]=function(e){t.myLocation={latitudeDeg:e.latitude,longitudeDeg:e.longitude},t.selectedLocation="My Location",t.locationDeg=t.myLocation,t.showMyLocationDialog=!1}),onError:e[24]||(e[24]=function(e){t.$notify({group:"geolocation-error",title:"Error",text:e.message,type:"error"}),t.getMyLocation=!1,console.log(e)})},null,8,["color"])],2)]),(0,a.Wm)(P.y,{"model-value":t.showSplashScreen,absolute:"",opacity:"0.6",style:(0,s.j5)(t.cssVars),id:"splash-overlay"},{default:(0,a.w5)((function(){return[(0,a.wy)(((0,a.wg)(),(0,a.iD)("div",{id:"splash-screen",style:(0,s.j5)(t.cssVars)},[(0,a._)("div",$t,[(0,a._)("div",{id:"close-splash-button",onClick:e[25]||(e[25]=function(){for(var e=[],n=0;n1?((0,a.wg)(),(0,a.j4)(h.T,{key:0,id:"intro-next-button",color:t.accentColor,onClick:e[29]||(e[29]=function(e){return t.introSlide--}),onKeyup:e[30]||(e[30]=(0,o.D2)((function(e){return t.introSlide--}),["enter"])),elevation:"0"},{default:(0,a.w5)((function(){return[(0,a.Uk)(" Back ")]})),_:1},8,["color"])):(0,a.kq)("",!0)]),(0,a.Wm)(h.T,{id:"intro-next-button",color:t.accentColor,onClick:e[31]||(e[31]=function(e){return t.introSlide++}),onKeyup:e[32]||(e[32]=(0,o.D2)((function(e){return t.introSlide++}),["enter"])),elevation:"0"},{default:(0,a.w5)((function(){return[(0,a.Uk)((0,s.zw)(1===t.introSlide?"Next":"Get Started"),1)]})),_:1},8,["color"])])])):(0,a.kq)("",!0)]})),_:1},8,["modelValue","style"]),(0,a._)("div",fe,[(0,a._)("div",me,[(0,a.Wm)(v.v,{"prepend-icon":t.smallSize?"":"mdi-map-marker-radius",variant:"outlined",size:"small",elevation:"2",text:t.selectedLocationText,onClick:e[34]||(e[34]=function(){t.showGuidedContent=!0,t.learnerPath="Choose"})},null,8,["prepend-icon","text"]),(0,a.Wm)(v.v,{"prepend-icon":t.smallSize?"":"mdi-clock",variant:"outlined",size:"small",elevation:"2",text:t.selectedLocaledTimeDateString},null,8,["prepend-icon","text"])]),(0,a._)("div",ge,[(0,a.Wm)(Ie,{location:"left",disabled:t.mobile,id:"viewer-mode-switch"},{target:(0,a.w5)((function(){return[(0,a.Wm)(A.G,{inset:"","hide-details":"",ripple:!1,modelValue:t.viewerMode,"onUpdate:modelValue":e[35]||(e[35]=function(e){return t.viewerMode=e}),color:t.accentColor,"false-value":"SunScope","false-icon":"mdi-telescope","true-value":"Horizon","true-icon":"mdi-image-filter-hdr",onKeyup:e[36]||(e[36]=(0,o.D2)((function(e){return t.viewerMode="SunScope"===t.viewerMode?"Horizon":"SunScope"}),["enter"])),tabindex:"0"},null,8,["modelValue","color"])]})),default:(0,a.w5)((function(){return[(0,a.Uk)(" Switch to "+(0,s.zw)("SunScope"===t.viewerMode?"Horizon":"Eclipse")+" View ",1)]})),_:1},8,["disabled"]),(0,a._)("div",ve,[(0,a.Wm)(Ie,{location:"left",disabled:t.mobile},{target:(0,a.w5)((function(){return[(0,a.Wm)(A.G,{inset:"","hide-details":"",modelValue:t.toggleTrackSun,"onUpdate:modelValue":e[37]||(e[37]=function(e){return t.toggleTrackSun=e}),ripple:!1,color:t.accentColor,"true-icon":"mdi-white-balance-sunny","false-icon":"mdi-image",onKeyup:e[38]||(e[38]=(0,o.D2)((function(e){return t.toggleTrackSun=!t.toggleTrackSun}),["enter"])),tabindex:"0"},null,8,["modelValue","color"])]})),default:(0,a.w5)((function(){return[(0,a.Uk)(" "+(0,s.zw)(t.toggleTrackSun?"Don't Track Sun":"Center on Sun"),1)]})),_:1},8,["disabled"])])])]),(0,a._)("div",ye,[(0,a._)("div",_e,[t.showEclipsePercentage&&t.wwtZoomDeg<210?((0,a.wg)(),(0,a.j4)(v.v,{key:0,"prepend-icon":t.smallSize?"":"mdi-sun-angle",variant:"outlined",elevation:"2",text:t.percentEclipsedText},null,8,["prepend-icon","text"])):(0,a.kq)("",!0)]),(0,a._)("div",we,[(0,a._)("div",be,[(0,a.Wm)(te,{size:"lg",color:t.accentColor,icon:t.showControls?"chevron-down":"gear",onClick:e[39]||(e[39]=function(e){return t.showControls=!t.showControls}),onKeyup:e[40]||(e[40]=(0,o.D2)((function(e){return t.showControls=!t.showControls}),["enter"])),tabindex:"0"},null,8,["color","icon"])]),(0,a.Wm)(He,null,{default:(0,a.w5)((function(){return[t.showControls?((0,a.wg)(),(0,a.iD)("div",xe,[(0,a.Wm)(g.x,{color:t.accentColor,modelValue:t.showAltAzGrid,"onUpdate:modelValue":e[41]||(e[41]=function(e){return t.showAltAzGrid=e}),onKeyup:e[42]||(e[42]=(0,o.D2)((function(e){return t.showAltAzGrid=!t.showAltAzGrid}),["enter"])),label:"Sky Grid","hide-details":""},null,8,["color","modelValue"]),(0,a.Wm)(g.x,{color:t.accentColor,modelValue:t.showHorizon,"onUpdate:modelValue":e[43]||(e[43]=function(e){return t.showHorizon=e}),onKeyup:e[44]||(e[44]=(0,o.D2)((function(e){return t.showHorizon=!t.showHorizon}),["enter"])),label:"Horizon","hide-details":""},null,8,["color","modelValue"]),(0,a.Wm)(g.x,{color:t.accentColor,modelValue:t.useRegularMoon,"onUpdate:modelValue":e[45]||(e[45]=function(e){return t.useRegularMoon=e}),onKeyup:e[46]||(e[46]=(0,o.D2)((function(e){return t.useRegularMoon=!t.useRegularMoon}),["enter"])),label:"Visible Moon","hide-details":""},null,8,["color","modelValue"]),(0,a.Wm)(g.x,{color:t.accentColor,disabled:t.wwtZoomDeg>210,modelValue:t.showEclipsePercentage,"onUpdate:modelValue":e[47]||(e[47]=function(e){return t.showEclipsePercentage=e}),onKeyup:e[48]||(e[48]=(0,o.D2)((function(e){return t.showEclipsePercentage=!t.showEclipsePercentage}),["enter"])),label:"Amount Eclipsed","hide-details":""},null,8,["color","disabled","modelValue"])])):(0,a.kq)("",!0)]})),_:1})]),(0,a._)("div",ke,[(0,a.Wm)(We,{modelValue:t.showVideoSheet,"onUpdate:modelValue":e[49]||(e[49]=function(e){return t.showVideoSheet=e}),id:"video-icon","fa-icon":"video","fa-size":"lg",color:t.accentColor,"tooltip-text":"Video guide","tooltip-location":"start","tooltip-offset":t.smallSize?0:"10px"},null,8,["modelValue","color","tooltip-offset"])]),(0,a._)("div",Se,[(0,a._)("span",Ce,[(0,a._)("div",Te,[(0,a.Wm)(We,{id:"play-pause-icon","fa-icon":t.playing?"pause":"play",onActivate:e[50]||(e[50]=function(){t.playing=!t.playing}),color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"Play/Pause","tooltip-location":"top","tooltip-offset":"5px",faSize:"1x","show-tooltip":!t.mobile},null,8,["fa-icon","color","focus-color","show-tooltip"]),(0,a.Wm)(We,{id:"speed-down","fa-icon":"angle-double-down",onActivate:e[51]||(e[51]=function(){t.speedIndex-=1,t.playbackRate=Math.pow(10,t.speedIndex),t.playing=!0}),color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"10x slower","tooltip-location":"top","tooltip-offset":"5px",faSize:"1x","show-tooltip":!t.mobile},null,8,["color","focus-color","show-tooltip"]),(0,a.Wm)(We,{id:"speed-up","fa-icon":"angle-double-up",onActivate:e[52]||(e[52]=function(){t.speedIndex+=1,t.playbackRate=Math.pow(10,t.speedIndex),t.playing=!0}),color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"10x faster","tooltip-location":"top","tooltip-offset":"5px",faSize:"1x","show-tooltip":!t.mobile},null,8,["color","focus-color","show-tooltip"]),(0,a.Wm)(We,{id:"reset","fa-icon":"rotate",onActivate:e[53]||(e[53]=function(){t.selectedTime=169729238e4,t.speedIndex=3,t.playbackRate=Math.pow(10,t.speedIndex),t.playing=!1,t.toggleTrackSun=!0}),color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"Reset","tooltip-location":"top","tooltip-offset":"5px",faSize:"1x","show-tooltip":!t.mobile},null,8,["color","focus-color","show-tooltip"]),(0,a._)("div",Pe,[(0,a.Uk)(" Time rate: "),1===t.playbackRate&&t.playing?((0,a.wg)(),(0,a.iD)("span",Le," Real time ")):(0,a.kq)("",!0),1!=t.playbackRate&&t.playing?((0,a.wg)(),(0,a.iD)("span",Ae,(0,s.zw)(t.playbackRate)+"ร— ",1)):(0,a.kq)("",!0),t.playing?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("span",Me," Paused "))])]),(0,a.Wm)(L.R,{id:"slider",modelValue:t.selectedTime,"onUpdate:modelValue":e[54]||(e[54]=function(e){return t.selectedTime=e}),max:t.maxTime,min:t.minTime,color:t.accentColor,ripple:!1,"hide-details":"","track-size":"4px","thumb-size":"14px","thumb-label":"always",step:t.millisecondsPerInterval,onMousedown:e[55]||(e[55]=function(){t.playing=!1})},{"thumb-label":(0,a.w5)((function(e){return[(0,a.Uk)((0,s.zw)(t.toTimeString(new Date(e.modelValue))),1)]})),_:1},8,["modelValue","max","min","color","step"]),(0,a._)("div",ze,[(0,a.Wm)(We,{"md-icon":"mdi-lock",onActivate:e[56]||(e[56]=function(){return t.showPrivacyDialog=!0}),color:t.accentColor,"focus-color":t.accentColor,"tooltip-text":"Change privacy settings","tooltip-location":"bottom","tooltip-offset":"5px","show-tooltip":!t.mobile,mdSize:"1em"},null,8,["color","focus-color","show-tooltip"])])])]),t.smallSize?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",Oe,[(0,a.Wm)(Ve)]))]),(0,a.Wm)(y.B,{scrim:"false",modelValue:t.showPrivacyDialog,"onUpdate:modelValue":e[59]||(e[59]=function(e){return t.showPrivacyDialog=e}),"max-width":"400px",id:"privacy-popup-dialog"},{default:(0,a.w5)((function(){return[(0,a.Wm)(d._,null,{default:(0,a.w5)((function(){return[(0,a.Wm)(f.Z,null,{default:(0,a.w5)((function(){return[(0,a.Uk)(" To evaluate usage of this app, "),Ee,(0,a.Uk)(' data may be collected, including locations viewed and map quiz responses. "My Location" data is NEVER collected. ')]})),_:1}),(0,a.Wm)(m.h,{class:"pt-3"},{default:(0,a.w5)((function(){return[(0,a.Wm)(k.C),(0,a.Wm)(h.T,{color:"#BDBDBD",href:"https://www.cfa.harvard.edu/privacy-statement",target:"_blank",rel:"noopener noreferrer"},{default:(0,a.w5)((function(){return[(0,a.Uk)(" Privacy Policy ")]})),_:1}),(0,a.Wm)(h.T,{color:"#ff6666",onClick:e[57]||(e[57]=function(){t.responseOptOut=!0,t.showPrivacyDialog=!1})},{default:(0,a.w5)((function(){return[(0,a.Uk)(" Opt out ")]})),_:1}),(0,a.Wm)(h.T,{color:"green",onClick:e[58]||(e[58]=function(){t.responseOptOut=!1,t.showPrivacyDialog=!1})},{default:(0,a.w5)((function(){return[(0,a.Uk)(" Allow ")]})),_:1})]})),_:1})]})),_:1})]})),_:1},8,["modelValue"]),(0,a.Wm)($e,{group:"copy-url",position:"center top",classes:"url-notification"}),(0,a.Wm)($e,{group:"geolocation-error",position:"center top"})])]})),_:1},8,["style"])}var Re=n(2117),De=n(7850),Be=n(5294),We=function(){function t(){this.addedToPrimitives=!1,this.annotationDirty=!0,this._opacity=1,this._showHoverLabel=!1}return t.prepBatch=function(e){(null==t.pointList||t.batchDirty)&&(t.pointList=new Be.PointList(e),t.lineList=new Be.LineList,t.triangleFanPointList=new Be.TriangleFanList,t.triangleList=new Be.TriangleList,t.lineList.set_depthBuffered(!1),t.triangleList.depthBuffered=!1)},t.drawBatch=function(e){t.batchDirty=!1,null!=e.gl&&(null!=t.pointList&&t.pointList.draw(e,1,!1),null!=t.lineList&&t.lineList.drawLines(e,1),null!=t.triangleFanPointList&&t.triangleFanPointList.draw(e,1),null!=t.triangleList&&t.triangleList.draw(e,1,0))},t.separation=function(t,e,n,o){e=e/180*Math.PI,o=o/180*Math.PI,t=t/12*Math.PI,n=n/12*Math.PI;var i=Math.cos(e)*Math.sin(o)-Math.sin(e)*Math.cos(o)*Math.cos(n-t),r=Math.cos(o)*Math.sin(n-t),a=Math.sin(e)*Math.sin(o)+Math.cos(e)*Math.cos(o)*Math.cos(n-t),s=Math.atan2(Math.sqrt(i*i+r*r),a);return s=s/Math.PI*180,s<0&&(s+=180),s},t.colorToUint=function(t){return t.a<<24|t.r<<16|t.g<<8|t.b},t.colorToUintAlpha=function(t,e){return e<<24|t.r<<16|t.g<<8|t.b},t.prototype.get_opacity=function(){return this._opacity},t.prototype.set_opacity=function(e){return t.batchDirty=!0,this._opacity=e,e},t.prototype.draw=function(t){},t.prototype.get_id=function(){return this._id},t.prototype.set_id=function(t){return this._id=t,t},t.prototype.get_tag=function(){return this._tag},t.prototype.set_tag=function(t){return this._tag=t,t},t.prototype.get_label=function(){return this._label},t.prototype.set_label=function(t){return this._label=t,t},t.prototype.get_showHoverLabel=function(){return this._showHoverLabel},t.prototype.set_showHoverLabel=function(t){return this._showHoverLabel=t,t},t.prototype.hitTest=function(t,e,n,o,i){return!1},t.prototype.get_center=function(){return this.center},t.prototype.set_center=function(t){return this.center=t,t},t.addAnnotation=function(e){t.annotations.push(e),t.batchDirty=!0},t.clearAll=function(){t.annotations=[],t.batchDirty=!0},t.annotations=[],t.lineList=null,t.triangleFanPointList=null,t.triangleList=null,t.batchDirty=!0,t}(),Fe=function(t){function e(){var e=t.call(this)||this;return e._points$1=[],e._fill$1=!1,e._strokeWidth$1=1,e._lineColor$1=Be.Colors.get_white(),e._fillColor$1=Be.Colors.get_white(),e}return(0,r.ZT)(e,t),e.prototype.addPoint=function(t,e){We.batchDirty=!0,this._points$1.push(Be.Coordinates.raDecTo3d(t/15,e))},e.prototype.get_fill=function(){return this._fill$1},e.prototype.set_fill=function(t){return We.batchDirty=!0,this._fill$1=t,t},e.prototype.get_lineWidth=function(){return this._strokeWidth$1},e.prototype.set_lineWidth=function(t){return We.batchDirty=!0,this._strokeWidth$1=t,t},e.prototype.get_lineColor=function(){return this._lineColor$1.toString()},e.prototype.set_lineColor=function(t){return We.batchDirty=!0,this._lineColor$1=Be.Color.fromName(t),t},e.prototype.get_fillColor=function(){return this._fillColor$1.toString()},e.prototype.set_fillColor=function(t){return We.batchDirty=!0,this._fillColor$1=Be.Color.fromName(t),t},e.prototype.draw=function(t){var e,n;if(null!=t.gl){if(We.batchDirty||this.annotationDirty){var o=this._points$1;if(this._strokeWidth$1>0&&this._points$1.length>1){var i=this._lineColor$1._clone();i.a=Math.round(i.a*this.get_opacity());for(var a=0;ay&&Be.SpaceTimeController.get_jNow()<_){var w=1;Be.SpaceTimeController.get_jNow()v&&(w=(_-Be.SpaceTimeController.get_jNow())/(m.get_fadeSpan()/864e6)),m.set_astronomical(n),m.draw(t,e*w,a)}}}}catch(b){s={error:b}}finally{try{f&&!f.done&&(l=p.return)&&l.call(p)}finally{if(s)throw s.error}}t.set_nominalRadius(d),t.set_world(u),t.set_worldBaseNonRotating(h)}}}function Ge(){if(this.renderContext.space&&this._tracking&&null!=this._trackingObject)if(Be.Settings.get_active().get_galacticMode()&&this.renderContext.space){var t=Be.Coordinates.j2000toGalactic(15*this._trackingObject.get_RA(),this._trackingObject.get_dec());this.renderContext.targetAlt=this.renderContext.alt=t[1],this.renderContext.targetAz=this.renderContext.az=t[0]}else if(this.renderContext.space&&Be.Settings.get_active().get_localHorizonMode()){var e=Be.Coordinates.equitorialToHorizon(Be.Coordinates.fromRaDec(this._trackingObject.get_RA(),this._trackingObject.get_dec()),Be.SpaceTimeController.get_location(),Be.SpaceTimeController.get_now());this.renderContext.targetAlt=this.renderContext.alt=e.get_alt(),this.renderContext.targetAz=this.renderContext.az=e.get_az()}else this.renderContext.viewCamera.lng=this.renderContext.targetCamera.lng=this.rAtoViewLng(this._trackingObject.get_RA()),this.renderContext.viewCamera.lat=this.renderContext.targetCamera.lat=this._trackingObject.get_dec();else this.get_solarSystemMode()||(this._tracking=!1,this._trackingObject=null);var n=1-.8,o=.8;if(!this._tracking){var i=this.renderContext.viewCamera.zoom/4e3;this.renderContext.viewCamera.zoom>360&&(i=.009),this.renderContext.space&&(Be.Settings.get_active().get_localHorizonMode()||Be.Settings.get_active().get_galacticMode())?1===(Math.abs(this.renderContext.targetAlt-this.renderContext.alt)>=i|Math.abs(this.renderContext.targetAz-this.renderContext.az)>=i)&&(this.renderContext.alt+=(this.renderContext.targetAlt-this.renderContext.alt)/10,Math.abs(this.renderContext.targetAz-this.renderContext.az)>170?this.renderContext.targetAz>this.renderContext.az?this.renderContext.az+=(this.renderContext.targetAz-(360+this.renderContext.az))/10:this.renderContext.az+=(360+this.renderContext.targetAz-this.renderContext.az)/10:this.renderContext.az+=(this.renderContext.targetAz-this.renderContext.az)/10,this.renderContext.az=(this.renderContext.az+720)%360):1===(Math.abs(this.renderContext.targetCamera.lat-this.renderContext.viewCamera.lat)>=i|Math.abs(this.renderContext.targetCamera.lng-this.renderContext.viewCamera.lng)>=i)?(this.renderContext.viewCamera.lat+=(this.renderContext.targetCamera.lat-this.renderContext.viewCamera.lat)/10,Math.abs(this.renderContext.targetCamera.lng-this.renderContext.viewCamera.lng)>170?this.renderContext.targetCamera.lng>this.renderContext.viewCamera.lng?this.renderContext.viewCamera.lng+=(this.renderContext.targetCamera.lng-(360+this.renderContext.viewCamera.lng))/10:this.renderContext.viewCamera.lng+=(360+this.renderContext.targetCamera.lng-this.renderContext.viewCamera.lng)/10:this.renderContext.viewCamera.lng+=(this.renderContext.targetCamera.lng-this.renderContext.viewCamera.lng)/10,this.renderContext.viewCamera.lng=(this.renderContext.viewCamera.lng+720)%360):this.renderContext.viewCamera.lat===this.renderContext.targetCamera.lat&&this.renderContext.viewCamera.lng===this.renderContext.targetCamera.lng||(this.renderContext.viewCamera.lat=this.renderContext.targetCamera.lat,this.renderContext.viewCamera.lng=this.renderContext.targetCamera.lng)}this.renderContext.viewCamera.zoom=o*this.renderContext.viewCamera.zoom+n*this.renderContext.targetCamera.zoom,this.renderContext.viewCamera.rotation=o*this.renderContext.viewCamera.rotation+n*this.renderContext.targetCamera.rotation,this.renderContext.viewCamera.angle=o*this.renderContext.viewCamera.angle+n*this.renderContext.targetCamera.angle}function Ye(){var t,e,n,o;null!=this.renderContext.get_backgroundImageset()?this.renderType=this.renderContext.get_backgroundImageset().get_dataSetType():this.renderType=2;var i=!1;if(this.canvas.width!==this.canvas.parentNode.clientWidth&&(this.canvas.width=this.canvas.parentNode.clientWidth,i=!0),this.canvas.height!==this.canvas.parentNode.clientHeight&&(this.canvas.height=this.canvas.parentNode.clientHeight,i=!0),i&&null!=this.explorer&&this.explorer.refresh(),!(this.canvas.width<1||this.canvas.height<1)){if(i&&(this._crossHairs=null),Be.Tile.lastDeepestLevel=Be.Tile.deepestLevel,Be.RenderTriangle.width=this.renderContext.width=this.canvas.width,Be.RenderTriangle.height=this.renderContext.height=this.canvas.height,Be.Tile.tilesInView=0,Be.Tile.tilesTouched=0,Be.Tile.deepestLevel=0,Be.SpaceTimeController.set_metaNow(new Date),null!=this.get__mover()){if(Be.SpaceTimeController.set_now(this.get__mover().get_currentDateTime()),Be.Planets.updatePlanetLocations(this.get_solarSystemMode()),null!=this.get__mover()){var a=this.get__mover().get_currentPosition();if(this.renderContext.targetCamera=a.copy(),this.renderContext.viewCamera=a.copy(),this.renderContext.space&&Be.Settings.get_active().get_galacticMode()){var s=Be.Coordinates.j2000toGalactic(15*a.get_RA(),a.get_dec());this.renderContext.targetAlt=this.renderContext.alt=s[1],this.renderContext.targetAz=this.renderContext.az=s[0]}else if(this.renderContext.space&&Be.Settings.get_active().get_localHorizonMode()){var l=Be.Coordinates.equitorialToHorizon(Be.Coordinates.fromRaDec(a.get_RA(),a.get_dec()),Be.SpaceTimeController.get_location(),Be.SpaceTimeController.get_now());this.renderContext.targetAlt=this.renderContext.alt=l.get_alt(),this.renderContext.targetAz=this.renderContext.az=l.get_az()}this.get__mover().get_complete()&&(Be.WWTControl.scriptInterface._fireArrived(this.get__mover().get_currentPosition().get_RA(),this.get__mover().get_currentPosition().get_dec(),Be.WWTControl.singleton.renderContext.viewCamera.zoom),this.set__mover(null),this._notifyMoveComplete())}}else Be.SpaceTimeController.updateClock(),Be.Planets.updatePlanetLocations(this.get_solarSystemMode()),this._updateViewParameters();if(this.renderContext.clear(),this.renderContext.setupMatricesSpace3d(this.renderContext.width,this.renderContext.height),this.renderContext.drawImageSet(this.renderContext.get_backgroundImageset(),100),null!=this.renderContext.get_foregroundImageset())if(this.renderContext.get_foregroundImageset().get_dataSetType()!==this.renderContext.get_backgroundImageset().get_dataSetType())this.renderContext.set_foregroundImageset(null);else if(100!==this.renderContext.viewCamera.opacity&&null==this.renderContext.gl){this._foregroundCanvas.width===this.renderContext.width&&this._foregroundCanvas.height===this.renderContext.height||(this._foregroundCanvas.width=this.renderContext.width,this._foregroundCanvas.height=this.renderContext.height);var c=this.renderContext.device;this._fgDevice.clearRect(0,0,this.renderContext.width,this.renderContext.height),this.renderContext.device=this._fgDevice,this.renderContext.drawImageSet(this.renderContext.get_foregroundImageset(),100),this.renderContext.device=c,this.renderContext.device.save(),this.renderContext.device.globalAlpha=this.renderContext.viewCamera.opacity/100,this.renderContext.device.drawImage(this._foregroundCanvas,0,0),this.renderContext.device.restore()}else this.renderContext.drawImageSet(this.renderContext.get_foregroundImageset(),this.renderContext.viewCamera.opacity);if(null!=this.uiController)this.uiController.render(this.renderContext);else{Be.Annotation.prepBatch(this.renderContext);try{for(var u=(0,r.XA)(this._annotations),h=u.next();!h.done;h=u.next()){var d=h.value;d.draw(this.renderContext)}}catch(k){t={error:k}}finally{try{h&&!h.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}if(Be.Annotation.drawBatch(this.renderContext),Date.now()-this._lastMouseMove>400){var p=this.getCoordinatesForScreenPoint(this._hoverTextPoint.x,this._hoverTextPoint.y);this._annotationHover(p.x,p.y,this._hoverTextPoint.x,this._hoverTextPoint.y),this._lastMouseMove=new Date(2100,1,1)}this._hoverText&&this._drawHoverText(this.renderContext)}for(var f in this.renderContext.get_catalogHipsImagesets())f.get_hipsProperties().get_catalogSpreadSheetLayer().enabled&&f.get_hipsProperties().get_catalogSpreadSheetLayer().lastVersion===f.get_hipsProperties().get_catalogSpreadSheetLayer().get_version()&&this.renderContext.drawImageSet(f,100);Be.Settings.get_active().get_showSolarSystem()&&(this.constellation=Be.Constellations.containment.findConstellationForPoint(this.renderContext.viewCamera.get_RA(),this.renderContext.viewCamera.get_dec()),this._drawSkyOverlays(),Be.Planets.drawPlanets(this.renderContext,1)),We.prepBatch(this.renderContext);try{for(var m=(0,r.XA)(We.annotations),g=m.next();!g.done;g=m.next()){d=g.value;d.draw(this.renderContext)}}catch(S){n={error:S}}finally{try{g&&!g.done&&(o=m.return)&&o.call(m)}finally{if(n)throw n.error}}We.drawBatch(this.renderContext);var v=this.renderContext.get_world(),y=this.renderContext.get_view(),_=this.renderContext.get_projection();Be.Settings.get_current().get_showCrosshairs()&&this._drawCrosshairs(this.renderContext);var w=!Be.TileCache.get_queueCount();this.renderContext.setupMatricesOverlays(),this._fadeFrame(),this._frameCount++,Be.TileCache.decimateQueue(),Be.TileCache.processQueue(this.renderContext),Be.Tile.currentRenderGeneration++,Be.TourPlayer.get_playing()||this.set_crossFadeFrame(!1),this.renderContext.set_world(v),this.renderContext.set_view(y),this.renderContext.set_projection(_);var b=Date.now(),x=b-this._lastUpdate;x>1e3&&(this._lastUpdate=b,this._frameCount=0,Be.RenderTriangle.trianglesRendered=0,Be.RenderTriangle.trianglesCulled=0),this.capturingVideo&&(null==this.dumpFrameParams||this.dumpFrameParams.waitDownload&&!w||(this.captureFrameForVideo(this._videoBlobReady,this.dumpFrameParams.width,this.dumpFrameParams.height,this.dumpFrameParams.format),Be.SpaceTimeController.nextFrame()),Be.SpaceTimeController.get_doneDumping()&&(Be.SpaceTimeController.frameDumping=!1,Be.SpaceTimeController.cancelFrameDump=!1,this.capturingVideo=!1)),this.renderFrameCallback&&this.renderFrameCallback(this)}}var Ke=Math.PI/180,Je=180/Math.PI,Xe=Date.UTC(2023,9,14,15,3),Qe=Date.UTC(2023,9,14,20,55),tn=18e6,en=Xe-tn,nn=Qe+tn,on=86400,rn=1e3*on,an=40,sn=1e3*an,ln=[],cn=en;while(cn<=nn)ln.push(cn),ln.push(cn+sn),cn+=sn;var un=null,hn="User Selected",dn="eclipse-mini-uuid",pn="eclipse-mini-optout",fn="user-selected-locations",mn="preset-locations",gn="mc-responses";const vn=(0,a.aZ)({extends:i.MiniDSBase,props:{wwtNamespace:{type:String,required:!0},initialCameraParams:{type:Object,default:function(){return{raRad:3.481,decRad:-.145,zoomDeg:1}}}},data:function(){var t,e,n,o,i,a=new Date("2023-10-14T10:48"),s=new Date("2023-10-14T16:48:00Z"),l=new Be.Place;l.set_names(["Sun"]),l.set_classification(De.ZH.solarSystem),l.set_target(De.eJ.sun),l.set_zoomLevel(20);var c=new Be.Place;c.set_names(["Moon"]),c.set_classification(De.ZH.solarSystem),c.set_target(De.eJ.moon);var u={initialLocation:{latitudeDeg:38,longitudeDeg:-97},initialZoom:3},h=window.localStorage.getItem(fn),d=h&&null!==(e=this.parseJSONString(h))&&void 0!==e?e:[];un&&d.push([un.latitudeDeg,un.longitudeDeg]);var p=window.localStorage.getItem(mn),f=p&&null!==(n=this.parseJSONString(p))&&void 0!==n?n:[],m=un?hn:"Albuquerque, NM";f.push(m);var g=window.localStorage.getItem(gn),v=g&&null!==(o=this.parseJSONString(g))&&void 0!==o?o:[],y=null!==(i=window.localStorage.getItem(dn))&&void 0!==i?i:(0,Ve.Z)();window.localStorage.setItem(dn,y);var _=window.localStorage.getItem(pn),w="string"===typeof _?"true"===_:null;return{uuid:y,responseOptOut:w,mcResponses:v,showSplashScreen:!0,backgroundImagesets:[],sheet:null,layersLoaded:!1,positionSet:!1,imagesetFolder:null,showMapTooltip:!1,showTextTooltip:!1,showMapSelector:!1,showLocationSelector:!1,getMyLocation:!1,myLocation:null,showWWTGuideSheet:!1,selectionProximity:4,pointerMoveThreshold:6,isPointerMoving:!1,pointerStartPosition:null,timeOfDay:{hours:a.getHours(),minutes:a.getMinutes(),seconds:a.getSeconds()},selectedTime:s.getTime(),selectedTimezone:"America/Denver",location:un?{latitudeRad:Ke*un.latitudeDeg,longitudeRad:Ke*un.longitudeDeg}:{latitudeRad:35.106766*Ke,longitudeRad:-106.629181*Ke},selectedLocation:un?hn:"Albuquerque, NM",locationErrorMessage:"",syncDateTimeWithWWTCurrentTime:!0,syncDateTimewithSelectedTime:!0,presetMapOptions:(0,r.pi)({templateUrl:"https://watercolormaps.collection.cooperhewitt.org/tile/watercolor/{z}/{x}/{y}.jpg",minZoom:1,maxZoom:16,attribution:'Maptiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY-SA 2.0',ext:"jpg"},u),userSelectedMapOptions:(0,r.pi)({attribution:'© Stadia Maps © Stamen Design © OpenMapTiles © OpenStreetMap contributors'},un?(0,r.pi)((0,r.pi)({},un),{initialZoom:5}):u),eclipsePathLocations:(t={"Albuquerque, NM":{name:"Albuquerque, NM",latitudeRad:35.106766*Ke,longitudeRad:-106.629181*Ke,eclipseFraction:.97},"Eugene, OR":{name:"Eugene, OR",latitudeRad:44.052069*Ke,longitudeRad:-123.086754*Ke,eclipseFraction:.95},"San Antonio, TX":{name:"San Antonio, TX",latitudeRad:29.43421*Ke,longitudeRad:-98.486798*Ke,eclipseFraction:.96},"Denver, CO":{name:"Denver, CO",latitudeRad:39.739235*Ke,longitudeRad:-104.99025*Ke,eclipseFraction:.85},"Bismarck, ND":{name:"Bismarck, ND",latitudeRad:46.806673*Ke,longitudeRad:-100.797396*Ke,eclipseFraction:.64},"Los Angeles, CA":{name:"Los Angeles, CA",latitudeRad:34.05*Ke,longitudeRad:-118.24*Ke,eclipseFraction:.78},"Chicago, IL":{name:"Chicago, IL",latitudeRad:41.878113*Ke,longitudeRad:-87.629799*Ke,eclipseFraction:.54},"Boston, MA":{name:"Boston, MA",latitudeRad:42.360081*Ke,longitudeRad:-71.058884*Ke,eclipseFraction:.29},"Charlotte, NC":{name:"Charlotte, NC",latitudeRad:35.227085*Ke,longitudeRad:-80.843124*Ke,eclipseFraction:.53}},t[hn]={name:hn,latitudeRad:35.106766*Ke,longitudeRad:-106.629181*Ke,eclipseFraction:.97},t),currentPercentEclipsed:0,places:[],placeCircleOptions:{color:"#0000FF",fillColor:"#0000FF",fillOpacity:.7,radius:5},selectedCircleOptions:{color:"#FF0000",fillColor:"#FF0000",fillOpacity:.7,radius:5},learnerPath:un?"Choose":"Explore",playing:!1,playingIntervalId:null,playingWaitCount:0,showControls:!0,showAltAzGrid:!0,showHorizon:!0,showTextSheet:!1,showEclipsePercentage:!0,showLinkToPath:!1,toggleTrackSun:!0,times:ln,minTime:en,maxTime:nn,millisecondsPerInterval:sn,accentColor:"#ff8f00",moonColor:"#CFD8DC",guidedContentHeight:"300px",showGuidedContent:!0,inIntro:!1,displaySwitchOn:!0,displaySwitchOff:!1,scrollUp:!1,showPrivacyDialog:!1,showMyLocationDialog:!1,tab:0,introSlide:1,viewerMode:"SunScope",showSky:!0,skyColorNight:"#1F1F1F",skyColorLight:"#4190ED",skyColor:"#4190ED",skyOpacity:.6,horizonOpacity:1,useRegularMoon:!1,moonTexture:"moon-sky-blue-overlay.png",playbackRate:1,horizonRate:1e3,scopeRate:1e3,speedIndex:3,startPaused:!1,quizAnswer:null,longAnswers:["Eclipse moves North to South from Bismarck, ND through Denver, CO and Albuquerque, NM","Eclipse moves West to East from Los Angeles, CA to Charlotte, NC","Eclipse moves Northwest to South from Eugene, OR to San Antonio, TX"],sunPlace:l,moonPlace:c,queryData:un,presetLocationsVisited:f,userSelectedLocationsVisited:d}},beforeCreate:function(){var t,e,n=new URLSearchParams(window.location.search),o=parseFloat(null!==(t=n.get("lat"))&&void 0!==t?t:""),i=parseFloat(null!==(e=n.get("lon"))&&void 0!==e?e:"");o&&i&&(un={latitudeDeg:o,longitudeDeg:i})},created:function(){this.places=Object.entries(this.eclipsePathLocations).filter((function(t){var e=(0,r.CR)(t,2),n=e[0];e[1];return n!==hn})).sort((function(t,e){var n=(0,r.CR)(t,2),o=(n[0],n[1]),i=(0,r.CR)(e,2),a=(i[0],i[1]);return o.longitudeRad-a.longitudeRad})).map((function(t){var e=(0,r.CR)(t,2),n=(e[0],e[1]);return(0,r.pi)((0,r.pi)({},n),{latitudeDeg:Je*n.latitudeRad,longitudeDeg:Je*n.longitudeRad})}))},mounted:function(){var t=this;this.waitForReady().then((function(){return(0,r.mG)(t,void 0,void 0,(function(){var t=this;return(0,r.Jh)(this,(function(e){return this.backgroundImagesets=(0,r.ev)([],(0,r.CR)(i.skyBackgroundImagesets),!1),this.setTime(this.dateTime),this.wwtSettings.set_localHorizonMode(!0),this.wwtSettings.set_showAltAzGrid(this.showAltAzGrid),this.wwtSettings.set_showAltAzGridText(this.showAltAzGrid),this.wwtControl._drawSkyOverlays=He,Be.Grids._makeAltAzGridText=$e,Be.LayerManager._draw=qe,this.wwtControl._updateViewParameters=Ge.bind(this.wwtControl),this.wwtControl.renderOneFrame=Ye.bind(this.wwtControl),this.wwtControl.renderOneFrame(),this.wwtControl.renderFrameCallback=this.onWWTRenderFrame,Be.Planets["_planetTextures"][0]=Be.Texture.fromUrl(n(74)),this.setForegroundImageByName("Digitized Sky Survey (Color)"),this.setForegroundOpacity(100),this.updateMoonTexture(!0),this.updateWWTLocation(),this.setClockSync(!1),this.setClockRate(1),this.playbackRate=1,this.layersLoaded=!0,"SunScope"==this.viewerMode?this.startSolarScopeMode():this.startHorizonMode(),this.trackSun().then((function(){return t.positionSet=!0})),this.setTimeforSunAlt(10),setInterval((function(){if(t.playing){var e=t.wwtCurrentTime;t.selectedTime=e.getTime(),t.updateFrontAnnotations(e)}}),500),window.addEventListener("keyup",(function(e){["Esc","Escape"].includes(e.key)&&t.showVideoSheet&&(t.showVideoSheet=!1)})),[2]}))}))})),this.$nextTick((function(){window.addEventListener("resize",t.onResize),t.onResize()})),this.showControls=!this.mobile,this.showGuidedContent=!this.xSmallSize,this.updateSkyOpacityForSunAlt(10*Ke);var e=document.getElementById("guided-content-container");e&&e.addEventListener("scroll",(function(){return t.onScroll()}))},computed:{dateTime:function(){return new Date(this.selectedTime)},selectedTimezoneOffset:function(){return(0,Ne.Z)(this.selectedTimezone)},selectedLocalDateString:function(){return(0,je.Z)(this.dateTime,this.selectedTimezone,"MMMM dd, yyyy")},selectedLocaledTimeDateString:function(){return this.smallSize?(0,je.Z)(this.dateTime,this.selectedTimezone,"MM/dd, HH:mm (zzz)"):(0,je.Z)(this.dateTime,this.selectedTimezone,"MM/dd/yyyy HH:mm (zzz)")},ready:function(){return this.layersLoaded&&this.positionSet},isLoading:function(){return!this.ready},selectedDate:function(){return new Date(this.selectedTime)},smallSize:function(){return this.$vuetify.display.smAndDown},smAndUp:function(){return this.$vuetify.display.smAndUp},xSmallSize:function(){return this.$vuetify.display.xs},mobile:function(){return this.smallSize&&this.touchscreen},cssVars:function(){return{"--accent-color":this.accentColor,"--sky-color":this.skyColorLight,"--app-content-height":(this.showInfoSheet,"100%"),"--top-content-height":(this.showGuidedContent,this.guidedContentHeight),"--moon-color":this.moonColor}},wwtControl:function(){return Be.WWTControl.singleton},wwtSettings:function(){return Be.Settings.get_active()},dayFrac:function(){var t=new Date,e=this.selectedTimezoneOffset/36e5;t.setUTCHours(this.timeOfDay.hours-e,this.timeOfDay.minutes,this.timeOfDay.seconds);var n=1e3*(3600*t.getUTCHours()+60*t.getUTCMinutes()+t.getUTCSeconds());return n/rn},showInfoSheet:{get:function(){return"text"===this.sheet},set:function(t){this.selectSheet("text")}},locationDeg:{get:function(){return{latitudeDeg:Je*this.location.latitudeRad,longitudeDeg:Je*this.location.longitudeRad}},set:function(t){this.location={latitudeRad:Ke*t.latitudeDeg,longitudeRad:Ke*t.longitudeDeg}}},tickDurationMS:function(){return sn/this.playbackRate},maxPlaybackRate:function(){var t=10;return sn/t},sunPosition:function(){var t=this.equatorialToHorizontal(15*this.sunPlace.get_RA()*Ke,this.sunPlace.get_dec()*Ke,this.location.latitudeRad,this.location.longitudeRad,this.dateTime);return(0,r.pi)({raRad:15*this.sunPlace.get_RA()*Ke,decRad:this.sunPlace.get_dec()*Ke},t)},moonPosition:function(){var t=this.equatorialToHorizontal(15*this.moonPlace.get_RA()*Ke,this.moonPlace.get_dec()*Ke,this.location.latitudeRad,this.location.longitudeRad,this.dateTime);return(0,r.pi)({raRad:15*this.moonPlace.get_RA()*Ke,decRad:this.moonPlace.get_dec()*Ke},t)},sunAboveHorizon:function(){return this.sunPosition.altRad>0},selectedLocationText:function(){if(this.selectedLocation!==hn&&"My Location"!==this.selectedLocation)return this.selectedLocation;var t=this.locationDeg.latitudeDeg>=0?"N":"S",e=this.locationDeg.longitudeDeg>=0?"E":"W",n=Math.abs(this.locationDeg.latitudeDeg).toFixed(3),o=Math.abs(this.locationDeg.longitudeDeg).toFixed(3);return"".concat(n,"ยฐ ").concat(t,", ").concat(o,"ยฐ ").concat(e)},percentEclipsedText:function(){var t=Math.abs(100*this.currentPercentEclipsed).toFixed(0);return"Eclipsed: ".concat(t,"%")},trackingSun:{set:function(t){this.toggleTrackSun=t},get:function(){return this.toggleTrackSun}},defaultRate:function(){return"Horizon"===this.viewerMode?this.horizonRate:this.scopeRate},showVideoSheet:{get:function(){return"video"===this.sheet},set:function(t){this.selectSheet("video")}}},methods:{onScroll:function(){var t=document.getElementById("guided-content-container");if(t){var e=t.scrollTop>0;this.scrollUp!==e&&(this.scrollUp=e)}},scrollToTop:function(){var t=document.getElementById("guided-content-container");t&&(this.scrollUp?t.scrollTo({top:0}):t.scrollTo({top:t.scrollHeight}))},trackSun:function(){return(0,r.mG)(this,void 0,Promise,(function(){return(0,r.Jh)(this,(function(t){return[2,this.gotoTarget({place:this.sunPlace,instant:!0,noZoom:!0,trackObject:!0})]}))}))},centerSun:function(){return(0,r.mG)(this,void 0,Promise,(function(){return(0,r.Jh)(this,(function(t){return[2,this.gotoTarget({place:this.sunPlace,instant:!0,noZoom:!0,trackObject:this.trackingSun})]}))}))},angleInZeroToTwoPi:function(t){var e=2*Math.PI;return(t%e+e)%e},angleBetween:function(t,e,n){return e=e&&t<=n:t>=e||t<=n},updateIntersection:function(){var t=this,e=this.wwtControl.canvas.height,n=Be.Planets["_planetLocations"][0],o=Be.Planets["_planetLocations"][9],i=this.findScreenPointForRADec({ra:15*n.RA,dec:n.dec}),r=this.findScreenPointForRADec({ra:15*o.RA,dec:o.dec});r.y=e-r.y,i.x-=r.x,i.y=e-i.y-r.y;var a=this.getJulian(this.selectedDate),s=Be.CAAMoon.radiusVector(a),l=149597871,c=1740,u=696340,h=Math.atan2(c,s),d=Math.atan2(u,l),p=6*h*e/(this.wwtZoomDeg*Ke),f=6*d*e/(this.wwtZoomDeg*Ke),m=[],g=Math.sqrt(i.x*i.x+i.y*i.y);if(g>p+f)this.currentPercentEclipsed=0;else{var v=g=p)return;if(P=Math.sqrt(p*p-z*z),isNaN(P))return void(this.currentPercentEclipsed=0);L=z,A=-P,M=z}else{var O=-i.x/i.y,E=(i.x*i.x+i.y*i.y-(f*f-p*p))/(2*i.y),I=1+O*O,R=2*O*E,D=E*E-p*p,B=Math.sqrt(R*R-4*I*D);if(isNaN(B))return void(this.currentPercentEclipsed=0);P=(-R+B)/(2*I),A=(-R-B)/(2*I),L=O*P+E,M=O*A+E}var W=this.angleInZeroToTwoPi(Math.atan2(i.y,i.x)),F=Math.atan2(L/p,P/p),N=Math.atan2(M/p,A/p);if(F=this.angleInZeroToTwoPi(F),N=this.angleInZeroToTwoPi(N),!this.angleBetween(W,F,N)){var j=F;F=N,N=j}F>N&&(F-=2*Math.PI);var Z=N-F;for(C=0;C<=S;C++){T=F+C/S*Z;m.push({x:p*Math.cos(T),y:p*Math.sin(T)})}var U=Math.atan2((L-i.y)/f,(P-i.x)/f),V=Math.atan2((M-i.y)/f,(A-i.x)/f);U=this.angleInZeroToTwoPi(U),V=this.angleInZeroToTwoPi(V);var H=this.angleInZeroToTwoPi(Math.PI+W);if(!this.angleBetween(H,U,V)){var $=U;U=V,V=$}U>V&&(U-=2*Math.PI);var q=V-U;for(C=0;C<=S;C++){T=U+C/S*q;m.push({x:f*Math.cos(T)+i.x,y:f*Math.sin(T)+i.y})}}for(C=0;C0&&"SunScope"!==this.viewerMode;e=n?"moon-sky-blue-overlay.png":"moon-dark-gray-overlay.png"}(t||e!==this.moonTexture&&Be.Planets._planetTextures)&&(Be.Planets._planetTextures[9]=this.textureFromAssetImage(e),this.moonTexture=e)},clearPlayingInterval:function(){null!==this.playingIntervalId&&(clearInterval(this.playingIntervalId),this.playingIntervalId=null)},moveOneIntervalForward:function(){this.selectedTime+=sn},moveOneIntervalBackward:function(){this.selectedTime-=sn},toUTCDateString:function(t){return"".concat(t.getUTCMonth()+1,"/").concat(t.getUTCDate(),"/").concat(t.getUTCFullYear())},toUTCTimeString:function(t){var e=t.getUTCMinutes(),n=e<10?"0".concat(e):"".concat(e),o=t.getUTCHours()<12?"AM":"PM";return"".concat(t.getUTCHours(),":").concat(n," ").concat(o)},toLocaleDateString:function(t){return t=new Date(t.getTime()+this.selectedTimezoneOffset),"".concat(t.getUTCMonth()+1,"/").concat(t.getUTCDate(),"/").concat(t.getUTCFullYear())},toLocaleTimeString:function(t){t=new Date(t.getTime()+this.selectedTimezoneOffset);var e=t.getUTCMinutes(),n=e<10?"0".concat(e):"".concat(e),o=t.getUTCHours()<12?"AM":"PM",i=t.getUTCHours()%12;return"".concat(0!=i?i:12,":").concat(n," ").concat(o)},toTimeString:function(t){return(0,je.Z)(t,this.selectedTimezone,"h:mm aaa (zzz)")},closeSplashScreen:function(){this.showSplashScreen=!1},updateWWTLocation:function(){this.wwtSettings.set_locationLat(Je*this.location.latitudeRad),this.wwtSettings.set_locationLng(Je*this.location.longitudeRad)},updateLocation:function(t){null!=t&&(this.selectedLocation=t,this.location={latitudeRad:this.eclipsePathLocations[t].latitudeRad,longitudeRad:this.eclipsePathLocations[t].longitudeRad})},updateLocationFromMap:function(t){if(null!=t){this.selectedLocation=hn,this.locationDeg=t,this.eclipsePathLocations[hn]={name:"User Selected: ".concat(t.latitudeDeg.toFixed(2),", ").concat(t.longitudeDeg.toFixed(2)),latitudeRad:Ke*t.latitudeDeg,longitudeRad:Ke*t.longitudeDeg,eclipseFraction:null};var e=this.$refs.citySelector;null===e||void 0===e||e.onMapSelect({latlng:{lat:t.latitudeDeg,lng:t.latitudeDeg}})}},onTimeSliderChange:function(){var t=this;this.$nextTick((function(){t.updateFrontAnnotations(t.dateTime)}))},sendDataToDatabase:function(){var t;this.responseOptOut||fetch("".concat(i.MINIDS_BASE_URL,"/annular-eclipse-2023/response"),{method:"PUT",headers:{"Content-Type":"application/json",Authorization:null!==(t="u9zxuCMosSfxgYayPo7jNrghaxtb4Y")&&void 0!==t?t:""},body:JSON.stringify({user_uuid:this.uuid,mc_responses:this.mcResponses,preset_locations:(0,Re.IU)(this.presetLocationsVisited),user_selected_locations:(0,Re.IU)(this.userSelectedLocationsVisited)})})},onAnswerSelected:function(t){"C"===t.text&&(this.showLinkToPath=!0),this.mcResponses.push(t.text),window.localStorage.setItem(gn,JSON.stringify(this.mcResponses)),this.sendDataToDatabase()},logLocation:function(){},logPosition:function(){},printUTCDate:function(t){return"".concat(t.getUTCMonth()+1,"/").concat(t.getUTCDate(),"/").concat(t.getUTCFullYear()," ").concat(t.getUTCHours(),":").concat(t.getUTCMinutes(),":").concat(t.getUTCSeconds())},selectSheet:function(t){var e=this;this.sheet===t?(this.sheet=null,this.$nextTick((function(){e.blurActiveElement()}))):this.sheet=t},altAzToHADec:function(t,e,n){e=Math.PI-e,e<0&&(e+=2*Math.PI);var o=Math.atan2(Math.sin(e),Math.cos(e)*Math.sin(n)+Math.tan(t)*Math.cos(n));o<0&&(o+=2*Math.PI);var i=Math.asin(Math.sin(n)*Math.sin(t)-Math.cos(n)*Math.cos(t)*Math.cos(e));return{ra:o,dec:i}},getJulian:function(t){var e=t.getUTCFullYear(),n=t.getUTCMonth()+1,o=t.getUTCDate(),i=t.getUTCHours(),r=t.getUTCMinutes(),a=t.getUTCSeconds()+t.getUTCMilliseconds()/1e3;1!=n&&2!=n||(e-=1,n+=12);var s=Math.floor(e/100),l=2-s+Math.floor(s/4),c=Math.floor(365.25*e),u=Math.floor(30.6001*(n+1)),h=l+c+u+1720994.5+o+(i+r/60+a/3600)/24;return h},mstFromUTC2:function(t,e){var n=e*Je,o=this.getJulian(t)-2451545,i=o/36525,r=280.46061837+360.98564736629*o+387933e-9*i*i-i*i*i/3871e4+n;if(r>0)while(r>360)r-=360;else while(r<0)r+=360;return r},horizontalToEquatorial:function(t,e,n,o,i){var r=this.mstFromUTC2(i,o),a=this.altAzToHADec(t,e,n),s=a.ra*Je,l=r+s;return l<0&&(l+=360),l>360&&(l-=360),{raRad:Ke*l,decRad:a.dec}},equatorialToHorizontal:function(t,e,n,o,i){var r=this.mstFromUTC2(i,o)-Je*t;r<0&&(r+=360);var a=Ke*r,s=e,l=n,c=Math.sin(s)*Math.sin(l)+Math.cos(s)*Math.cos(l)*Math.cos(a),u=Math.asin(c),h=(Math.sin(s)-Math.sin(u)*Math.sin(l))/(Math.cos(u)*Math.cos(l)),d=Math.acos(h);return d+=80*Math.PI%(2*Math.PI),Math.sin(a)>0&&(d=2*Math.PI-d),{altRad:u,azRad:d}},createHorizon:function(t){var e=this;void 0===t&&(t=null);for(var n="#01362C",o=t||this.dateTime||new Date,i=6,a=2*Math.PI/i,s=function(t){var i=[[0,t*a],[-Math.PI/2,t*a],[0,(t+1)*a]];i=i.map((function(t){var n=e.horizontalToEquatorial.apply(e,(0,r.ev)((0,r.ev)([],(0,r.CR)(t),!1),[e.location.latitudeRad,e.location.longitudeRad,o],!1));return[Je*n.raRad,Je*n.decRad]}));var s=new Fe;i.forEach((function(t){return s.addPoint.apply(s,(0,r.ev)([],(0,r.CR)(t),!1))})),s.set_lineColor(n),s.set_fill(!0),s.set_fillColor(n),s.set_opacity(l.horizonOpacity),We.addAnnotation(s)},l=this,c=0;cthis.pointerMoveThreshold&&(this.isPointerMoving=!0)}},onPointerDown:function(t){this.isPointerMoving=!1,this.pointerStartPosition={x:t.pageX,y:t.pageY}},onPointerUp:function(){this.pointerStartPosition=null,this.isPointerMoving=!1},updateForDateTime:function(){this.syncDateTimeWithWWTCurrentTime&&this.setTime(this.dateTime),this.updateFrontAnnotations(this.dateTime)},updateFrontAnnotations:function(t){void 0===t&&(t=null);try{this.removeAnnotations()}finally{this.updateIntersection(),this.showHorizon&&(this.createHorizon(t),this.showSky&&this.createSky(t))}},updateGuidedContentHeight:function(){var t=this,e=null;this.$nextTick((function(){if(e=document.getElementById("guided-content-container"),e){var n=e.clientHeight;t.guidedContentHeight="".concat(n,"px")}else t.guidedContentHeight="0px"}))},onResize:function(){var t=this;this.$nextTick((function(){t.updateGuidedContentHeight()})),this.updateGuidedContentHeight()},startHorizonMode:function(){this.wwtSettings.set_localHorizonMode(!0),this.showAltAzGrid=!0,this.skyColor=this.skyColorLight,this.showHorizon=!0,this.horizonOpacity=1,this.sunPlace.set_zoomLevel(60),this.gotoTarget({place:this.sunPlace,instant:!0,noZoom:!1,trackObject:this.toggleTrackSun}),this.playbackRate=this.horizonRate},startSolarScopeMode:function(){this.wwtSettings.set_localHorizonMode(!1),this.showAltAzGrid=!1,this.skyColor=this.skyColorNight,this.horizonOpacity=this.sunPosition.altRad>0+.5*Ke?1:.6,this.updateFrontAnnotations(),this.playbackRate=this.scopeRate,this.sunPlace.set_zoomLevel(20),this.gotoTarget({place:this.sunPlace,instant:!0,noZoom:!1,trackObject:!0})},getSunAltitudeAtTime:function(t){var e=this.equatorialToHorizontal(this.sunPosition.raRad,this.sunPosition.decRad,this.location.latitudeRad,this.location.longitudeRad,t);return e},getTimeforSunAlt:function(t){var e=this.selectedTime-this.selectedTime%rn-this.selectedTimezoneOffset,n=e+rn,o=e,i=this.getSunAltitudeAtTime(new Date(o)).altRad;while(it*Ke&&o0?0:1-(1+Math.atan(Math.PI*o/-n))/2;this.setForegroundOpacity(100*i)},getplaybackRate:function(t){var e;function n(t){return"h"==t[0]?3600:"m"==t[0]?60:"s"==t[0]?1:0}var o=t.match(/(\d+(\.(\d+)?)?)\s(\w+)\sper\s(\d+(\.(\d+)?)?)?\s?(\w+)/);if(null===o)return 1;var i=parseInt(o[1])*n(o[4]),r=parseInt(null!==(e=o[5])&&void 0!==e?e:1)*n(o[8]);return i/r},copyShareURL:function(){var t=this,e="".concat(window.location.origin).concat(window.location.pathname),n="".concat(e,"?lat=").concat(this.locationDeg.latitudeDeg,"&lon=").concat(this.locationDeg.longitudeDeg);navigator.clipboard.writeText(n).then((function(){return t.$notify({group:"copy-url",type:"success",text:"URL copied to clipboard. Paste to share with friends!",duration:5e3,ignoreDuplicates:!0})})).catch((function(e){return t.$notify({group:"copy-url",type:"error",text:"Failed to copy URL",duration:5e3,ignoreDuplicates:!0})}))},parseJSONString:function(t){try{return JSON.parse(t)}catch(e){return null}}},watch:{showGuidedContent:function(t){var e=this;this.onResize(),this.$nextTick((function(){e.onScroll()}))},cssVars:function(t){},responseOptOut:function(t){window.localStorage.setItem(pn,String(t))},inIntro:function(t){t||this.showSplashScreen||null!==this.responseOptOut||(this.showPrivacyDialog=!0)},showAltAzGrid:function(t){this.wwtSettings.set_showAltAzGrid(t),this.wwtSettings.set_showAltAzGridText(t)},showHorizon:function(t){this.updateFrontAnnotations(),this.updateMoonTexture()},showSky:function(t){this.updateFrontAnnotations(),this.updateMoonTexture()},wwtRollRad:function(t){0!==t&&this.gotoRADecZoom({raRad:this.wwtRARad,decRad:this.wwtDecRad,zoomDeg:this.wwtZoomDeg,rollRad:0,instant:!0})},useRegularMoon:function(t){this.updateMoonTexture(),this.updateFrontAnnotations(this.dateTime)},dateTime:function(t){this.updateForDateTime()},selectedTime:function(t){},wwtCurrentTime:function(t){t.getTime()>=this.maxTime||t.getTime()=24?(i-=24,this.moveOneIntervalForward()):i<0&&(i+=24,this.moveOneIntervalBackward()),this.timeOfDay.hours=i},location:function(t,e){var n=[Je*t.latitudeRad,Je*t.longitudeRad];e.latitudeRad*t.latitudeRad<0&&(Be.Grids._altAzTextBatch=null),this.selectedTimezone=Ue().apply(void 0,(0,r.ev)([],(0,r.CR)(n),!1)),this.playing=!1,this.updateWWTLocation(),this.wwtControl.renderOneFrame(),this.updateFrontAnnotations(),this.centerSun()},locationDeg:function(t){this.selectedLocation===hn&&(this.userSelectedLocationsVisited.push([t.latitudeDeg,t.longitudeDeg]),window.localStorage.setItem(fn,JSON.stringify(this.userSelectedLocationsVisited)),this.sendDataToDatabase())},selectedLocation:function(t){t in this.eclipsePathLocations&&t!==hn&&"My Location"!==t&&(this.presetLocationsVisited.push(t),window.localStorage.setItem(mn,JSON.stringify(this.presetLocationsVisited)),this.sendDataToDatabase())},playing:function(t){this.setClockSync(t)},showSplashScreen:function(t){t||(this.inIntro=!0)},introSlide:function(t){this.inIntro=t<3},viewerMode:function(t){"Horizon"===t?this.startHorizonMode():"SunScope"===t&&(this.horizonOpacity=.6,this.startSolarScopeMode()),this.updateMoonTexture()},skyColor:function(t){this.updateFrontAnnotations()},sunAboveHorizon:function(t){this.horizonOpacity=t?1:.85},sunPosition:function(t){this.updateSkyOpacityForSunAlt(t.altRad)},toggleTrackSun:function(t){if(!t){var e=new Be.Place;return e.set_RA(this.wwtRARad*Je/15),e.set_dec(this.wwtDecRad*Je),void this.gotoTarget({place:e,instant:!0,noZoom:!0,trackObject:!1})}this.trackSun()},playbackRate:function(t){t>11e3&&(console.warn("playbackRate too high, setting to maxPlaybackRate"),this.speedIndex=4,this.playbackRate=1e4),t<.1&&(console.warn("playbackRate too low, setting to minPlaybackRate"),this.speedIndex=-1,this.playbackRate=.1),this.setClockRate(t)}}});var yn=n(6959);const _n=(0,yn.Z)(vn,[["render",Ie]]),wn=_n;function bn(t,e,n,i,r,s){return(0,a.wg)(),(0,a.j4)(o.uT,{name:"expand",onEnter:t.enter,onAfterEnter:t.afterEnter,onLeave:t.leave},{default:(0,a.w5)((function(){return[(0,a.WI)(t.$slots,"default",{},void 0,!0)]})),_:3},8,["onEnter","onAfterEnter","onLeave"])}const xn=(0,a.aZ)({name:"TransitionExpand",emits:["enter","after-enter","leave"],methods:{enter:function(t){var e=getComputedStyle(t).width;t.style.width=e,t.style.position="absolute",t.style.visibility="hidden",t.style.height="auto";var n=getComputedStyle(t).height;t.style.width="",t.style.position="",t.style.visibility="visible",t.style.height="0px",getComputedStyle(t).height,requestAnimationFrame((function(){t.style.height=n})),this.$emit("enter")},afterEnter:function(t){t.style.height="auto",this.$emit("after-enter")},leave:function(t){var e=getComputedStyle(t).height;t.style.height=e,getComputedStyle(t).height,requestAnimationFrame((function(){t.style.height="0"})),this.$emit("leave")}}}),kn=(0,yn.Z)(xn,[["render",bn],["__scopeId","data-v-4fd945ad"]]),Sn=kn;var Cn=function(t){return(0,a.dD)("data-v-6a82dddb"),t=t(),(0,a.Cn)(),t},Tn=["id"],Pn=["src","alt"],Ln={key:0},An={class:"wcag-gif-container1"},Mn=["src","alt"],zn=Cn((function(){return(0,a._)("cite",{style:{display:"none"}},[(0,a.Uk)(" Adapted from "),(0,a._)("a",{href:"https://css-tricks.com/pause-gif-details-summary/"},"CSS Tricks"),(0,a.Uk)(" and "),(0,a._)("a",{href:"https://codepen.io/chriscoyier/pen/pogQJER"},"CodePen")],-1)}));function On(t,e,n,o,i,l){return(0,a.wg)(),(0,a.iD)("div",{id:t.id,class:"wcag-gif-container"},[(0,a._)("img",{src:t.still,alt:t.alt,loading:"lazy"},null,8,Pn),t.stayPaused||t.stillOnly?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("details",Ln,[(0,a._)("summary",{role:"button","aria-label":"static image",onClick:e[0]||(e[0]=function(){for(var e=[],n=0;n details");if(t.matches&&e)return this.stayPaused=!0,void e.removeAttribute("open");e&&(e.open=!(this.startPaused||this.stillOnly))},methods:{onClick:function(){this.stayPaused||(this.pause=!this.pause)}}}),In=(0,yn.Z)(En,[["render",On],["__scopeId","data-v-6a82dddb"]]),Rn=In,Dn=n.p+"img/logo_wwt.349723b9.png",Bn=n.p+"img/logo_sciact.f72d1a3c.png",Wn=n.p+"img/NASA_Partner_color_300_no_outline.f7e6537e.png";var Fn={id:"logo-credits"},Nn={id:"icons-container"},jn={href:"https://www.cosmicds.cfa.harvard.edu/",target:"_blank",rel:"noopener noreferrer"},Zn=["src"],Un=(0,a.uE)('WWT LogoSciAct LogoSciAct Logo',3);function Vn(t,e,o,i,r,s){return(0,a.wg)(),(0,a.iD)("div",Fn,[(0,a._)("div",Nn,[(0,a._)("a",jn,[(0,a._)("img",{alt:"CosmicDS Logo",src:n(2971)},null,8,Zn)]),Un])])}const Hn=(0,a.aZ)({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:{}}),$n=(0,yn.Z)(Hn,[["render",Vn]]),qn=$n;var Gn=n(735),Yn=n(9058),Kn=n(6340),Jn={id:"mc-radiogroup-container"};function Xn(t,e,n,i,l,c){return(0,a.wg)(),(0,a.iD)("div",Jn,[t.complete&&t.useAlert?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(Kn.r,{key:0,class:"mc-radiogroup",modelValue:t.column,"onUpdate:modelValue":e[0]||(e[0]=function(e){return t.column=e}),inline:t.row,column:!t.row,"hide-details":"",readonly:t.complete&&t.stopOnComplete},{default:(0,a.w5)((function(){return[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.radioOptions.entries(),(function(e){var n=(0,r.CR)(e,2),o=n[0],i=n[1];return(0,a.wg)(),(0,a.j4)(Yn.R,{key:o,color:"".concat(t.color(o)),value:o,label:i,onChange:function(e){return t.selectChoice(o)},"true-icon":"".concat(t.icon(o)),class:(0,s.C_)([t.hideInput?"hidden":""])},{label:(0,a.w5)((function(){return[(0,a.WI)(t.$slots,"default",{index:o,text:i,feedback:t.feedbacks[o],selected:o==t.column,color:t.color(o),column:t.column},(function(){return[(0,a.Uk)((0,s.zw)(i),1)]}))]})),_:2},1032,["color","value","label","onChange","true-icon","class"])})),128))]})),_:3},8,["modelValue","inline","column","readonly"])),t.complete&&t.useAlert?(0,a.wy)(((0,a.wg)(),(0,a.j4)(Gn.w,{key:1,variant:"tonal",color:"".concat(t.color(t.column)),icon:"".concat(t.icon(t.column)),text:t.feedbacks[t.column],density:"compact"},null,8,["color","icon","text"])),[[o.F8,null!==t.column]]):(0,a.kq)("",!0)])}const Qn=(0,a.aZ)({name:"MCRadiogroup",components:{"v-radio-group":Kn.r,"v-radio":Yn.R},props:{radioOptions:{type:Array,default:function(){return[]}},feedbacks:{type:Array,default:function(){return[]}},correctAnswers:{type:Array,default:function(){return[]}},scoring:{type:Boolean,default:!0},neutralAnswers:{type:Array,default:function(){return[]}},row:{type:Boolean,default:!1},maxTries:{type:Number||null,default:null},useAlert:{type:Boolean,default:!1},hideInput:{type:Boolean,default:!1},stopOnComplete:{type:Boolean,default:!0},colorWrong:{type:String,default:"red"},colorNeutral:{type:String,default:"orange"},colorRight:{type:String,default:"green"},preselected:{type:Number,default:null}},emits:{select:function(t){return"number"===typeof t.index&&"string"===typeof t.text&&"boolean"===typeof t.correct&&"boolean"===typeof t.neutral&&"number"===typeof t.tries}},data:function(){return{column:null,iconRight:"mdi-check-circle-outline",iconNeutral:"mdi-lightbulb-on-outline",iconWrong:"mdi-alert-circle-outline",complete:!1,tries:0,score:null}},methods:{selectChoice:function(t){this.column=t,this.maxTries&&this.tries>=this.maxTries&&(t=this.correctAnswers[0],this.column=t);var e=this.correctAnswers.includes(t),n=this.neutralAnswers.includes(t);n||(this.tries+=1),this.complete=e||0===this.correctAnswers.length&&n,this.$emit("select",{index:t,text:this.radioOptions[t],correct:e,neutral:this.neutralAnswers.includes(t),tries:this.tries})},color:function(t){return this.correctAnswers.includes(t)?this.colorRight:this.neutralAnswers.includes(t)?this.colorNeutral:this.colorWrong},icon:function(t){return this.correctAnswers.includes(t)?this.iconRight:this.neutralAnswers.includes(t)?this.iconNeutral:this.iconWrong}},watch:{preselected:function(t){null!==t&&(console.log("set answer"),this.selectChoice(t))},useAlert:function(t){console.log("useAlert changes",t)}}}),to=(0,yn.Z)(Qn,[["render",Xn]]),eo=to;var no=["id"],oo={class:"flip-card-front"},io={class:"flip-card-back"},ro=(0,a._)("cite",{style:{display:"none"}},[(0,a.Uk)("Code is from "),(0,a._)("a",{href:"w3schools.com/howto/howto_css_flip_card.asp"},"w3schools.com/howto/howto_css_flip_card.asp")],-1);function ao(t,e,n,o,i,r){return(0,a.wg)(),(0,a.iD)("div",{id:"flip-transition-"+"".concat(t.id),class:"flip-card",style:(0,s.j5)(t.size)},[(0,a._)("div",{class:"flip-card-inner",style:(0,s.j5)(t.cssVars)},[(0,a._)("div",oo,[(0,a.WI)(t.$slots,"front",{},(function(){return[(0,a.Uk)(" Front ")]}))]),(0,a._)("div",io,[(0,a.WI)(t.$slots,"back",{},(function(){return[(0,a.Uk)(" Back ")]}))])],4),ro],12,no)}const so=(0,a.aZ)({name:"FlipTransition",props:{width:{type:String,required:!0},height:{type:String,required:!0},duration:{type:String,default:"0.8s"},flipBack:{type:Boolean,default:!1},flipBackAfter:{type:Number,default:1e3},id:{type:String,default:null},hover:{type:Boolean,default:!1}},mounted:function(){var t=this,e="flip-transition-"+"".concat(this.id),n=document.querySelector("#".concat(e," .flip-card-inner")),o=document.querySelector(".flip-card-front"),i=document.querySelector("#".concat(e," .flip-card-back"));if(null===o||void 0===o||o.setAttribute("aria-hidden","false"),null===i||void 0===i||i.setAttribute("aria-hidden","true"),this.hover){var r=document.querySelector("#".concat(e));null===r||void 0===r||r.addEventListener("mouseenter",(function(){null===n||void 0===n||n.classList.toggle("do-flip")})),null===r||void 0===r||r.addEventListener("mouseleave",(function(){null===n||void 0===n||n.classList.toggle("do-flip")}))}null===n||void 0===n||n.addEventListener("click",(function(){n.classList.toggle("do-flip"),null===o||void 0===o||o.setAttribute("aria-hidden","true"),null===i||void 0===i||i.setAttribute("aria-hidden","false"),t.flipBack&&setTimeout((function(){n.classList.toggle("do-flip"),null===o||void 0===o||o.setAttribute("aria-hidden","false"),null===i||void 0===i||i.setAttribute("aria-hidden","true")}),t.flipBackAfter)}))},computed:{size:function(){return"width: ".concat(this.width,"; height: ").concat(this.height,";")},cssVars:function(){return"--duration: ".concat(this.duration,";")}}}),lo=(0,yn.Z)(so,[["render",ao]]),co=lo;var uo=["aria-label"],ho=["id"],po=["src","alt"];function fo(t,e,n,i,r,l){var c;return(0,a.wg)(),(0,a.iD)("div",{class:"focus-wrapper",onFocus:e[5]||(e[5]=function(e){return t.focused=!0}),onKeydown:e[6]||(e[6]=(0,o.D2)((function(e){return t.$emit("click")}),["enter"])),"aria-label":t.altText?"Select if "+t.altText:"Image Label",role:"button"},[(0,a._)("div",{id:"image-label-".concat(t.id),class:"image-label-container",style:(0,s.j5)(t.containerCSS),onMouseover:e[0]||(e[0]=function(e){return t.hovered=!0}),onMouseout:e[1]||(e[1]=function(e){return t.hovered=!1}),onMousedown:e[2]||(e[2]=function(e){return t.active=!0}),onMouseup:e[3]||(e[3]=function(e){return t.active=!1}),onBlur:e[4]||(e[4]=function(e){return t.focused=!1}),"aria-hidden":"true"},[t.image?((0,a.wg)(),(0,a.iD)("img",{key:0,src:t.image,alt:null!==(c=t.altText)&&void 0!==c?c:t.image},null,8,po)):(0,a.kq)("",!0),(0,a._)("div",{class:"image-label-background",style:(0,s.j5)(t.backgroundCSS),"aria-hidden":"true"},null,4),(0,a._)("div",{class:"image-label-text",style:(0,s.j5)(t.textCSS)},[(0,a.WI)(t.$slots,"default",{},void 0,!0)],4)],44,ho)],40,uo)}const mo=(0,a.aZ)({name:"ImageLabel",props:{id:{type:String,default:""},image:{type:String||null,default:null},altText:{type:String||null,default:null},backgroundColor:{type:String,default:"transparent"},backgroundOpacity:{type:Number,default:1},color:{type:String,default:"white"},width:{type:String,required:!0},height:{type:String,required:!0},fontSize:{type:String,default:null},fontWeight:{type:String,default:null},lineHeight:{type:String,default:null},border:{type:String,default:null},borderRadius:{type:String,default:null},hoveredColor:{type:String,default:null},activeColor:{type:String,default:null},focusedColor:{type:String,default:null},hoveredBorder:{type:String,default:"2px solid white"},activeBorder:{type:String,default:null},focusedBorder:{type:String,default:null}},data:function(){return{hovered:!1,active:!1,focused:!1}},computed:{containerCSS:function(){var t={color:this.color,width:"calc(".concat(this.width,"-2px)"),height:this.height,border:this.border,borderRadius:this.borderRadius};return this.hovered&&this.hoveredBorder?(0,r.pi)((0,r.pi)({},t),{border:this.hoveredBorder}):this.active&&this.activeBorder?(0,r.pi)((0,r.pi)({},t),{border:this.activeBorder}):this.focused&&this.focusedBorder?(0,r.pi)((0,r.pi)({},t),{border:this.focusedBorder}):t},textCSS:function(){var t={fontSize:this.fontSize,fontWeight:this.fontWeight,lineHeight:this.lineHeight};return(this.hovered||this.focused)&&(t=(0,r.pi)((0,r.pi)({},t),{fontWeight:"bold"})),this.hovered&&this.hoveredColor?(0,r.pi)((0,r.pi)({},t),{color:this.hoveredColor}):this.active&&this.activeColor?(0,r.pi)((0,r.pi)({},t),{color:this.activeColor,fontWeight:"bold"}):(0,r.pi)((0,r.pi)({},t),{color:this.color})},backgroundCSS:function(){var t={backgroundColor:this.backgroundColor,opacity:this.backgroundOpacity};return t}}}),go=(0,yn.Z)(mo,[["render",fo],["__scopeId","data-v-9cfb3dd2"]]),vo=go;var yo=n(8280),_o=["id"],wo={key:1},bo={key:2,class:"geolocation-text"},xo={key:1},ko={key:3,class:"geolocation-coords"};function So(t,e,n,o,i,r){var l,c;return(0,a.wg)(),(0,a.iD)("span",{id:"geolocation-wrapper+".concat(t.id),class:"geolocation"},[t.hideButton?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(h.T,{key:0,class:"geolocation-button",density:t.density,size:t.size,variant:t.geolocation?t.useTextButton?"tonal":"flat":"outlined",elevation:t.elevation,loading:t.loading,icon:!t.useTextButton&&t.icon,"prepend-icon":t.useTextButton?t.icon:"",color:t.geolocationError?"red":t.color,onClick:t.getLocation},{default:(0,a.w5)((function(){return[t.useTextButton?(0,a.WI)(t.$slots,"default",{key:0},(function(){return[(0,a.Uk)((0,s.zw)(t.label),1)]})):(0,a.kq)("",!0)]})),_:3},8,["density","size","variant","elevation","loading","icon","prepend-icon","color","onClick"])),t.showTextProgress&&t.loading?((0,a.wg)(),(0,a.iD)("span",wo,[(0,a.Wm)(yo.L,{size:t.progressCircleSize,width:2,color:t.color,indeterminate:""},null,8,["size","color"]),(0,a.Uk)(" Fetching location ")])):(0,a.kq)("",!0),t.hideText||t.useTextButton?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("span",bo,[t.loading&&t.showTextProgress?((0,a.wg)(),(0,a.j4)(yo.L,{key:0,size:t.progressCircleSize,width:2,color:t.color,indeterminate:""},null,8,["size","color"])):(0,a.kq)("",!0),(0,a.Uk)(),t.loading&&t.showTextProgress?((0,a.wg)(),(0,a.iD)("span",xo,"Fetching location")):(0,a.kq)("",!0),(0,a.WI)(t.$slots,"default",{},(function(){return[(0,a.Uk)((0,s.zw)(t.label),1)]}))])),t.showCoords?((0,a.wg)(),(0,a.iD)("span",ko,[(0,a._)("p",null,"Latitude: "+(0,s.zw)(null===(l=t.geolocation)||void 0===l?void 0:l.latitude),1),(0,a._)("p",null,"Longitude: "+(0,s.zw)(null===(c=t.geolocation)||void 0===c?void 0:c.longitude),1)])):(0,a.kq)("",!0)],8,_o)}const Co=(0,a.aZ)({name:"GeolocationButton",components:{"v-btn":h.T,"v-progress-circular":yo.L},props:{color:{type:String,default:"white"},debug:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:String,default:"small"},density:{type:String,default:"comfortable"},elevation:{type:String,default:"2"},hideButton:{type:Boolean,default:!1},hideText:{type:Boolean,default:!1},showCoords:{type:Boolean,default:!1},showTextProgress:{type:Boolean,default:!1},useTextButton:{type:Boolean,default:!1},progressCircleSize:{type:Number,default:12},label:{type:String,default:"My Location"},id:{type:String,default:null},trueIcon:{type:String,default:"mdi-crosshairs-gps"},falseIcon:{type:String,default:"mdi-crosshairs"},hasPermission:{type:Boolean,default:!1},requirePermission:{type:Boolean,default:!0}},emits:{geolocation:function(t){return!0},error:function(t){return!0},askPermission:function(){return!0}},data:function(){return{geolocation:null,geolocationError:null,loading:!1}},mounted:function(){},computed:{icon:function(){return this.geolocation?this.trueIcon:this.falseIcon}},methods:{getLocation:function(){var t=this;if(console.log(this.showTextProgress,this.hideText,this.useTextButton,this.showCoords,this.hideButton),this.geolocation)return this.$emit("geolocation",this.geolocation),void console.log("require permission =",this.requirePermission);var e={enableHighAccuracy:!0,timeout:6e4,maximumAge:0};!this.requirePermission||this.hasPermission?navigator.geolocation&&(this.loading=!0,navigator.geolocation.getCurrentPosition((function(e){t.geolocation=e.coords,t.$emit("geolocation",t.geolocation),t.loading=!1}),(function(e){t.geolocationError=e,t.$emit("error",t.geolocationError),t.loading=!1}),e)):this.$emit("askPermission")}},watch:{hasPermission:function(t,e){t&&this.getLocation()}}}),To=(0,yn.Z)(Co,[["render",So]]),Po=To;var Lo=n(1514),Ao=["id"];function Mo(t,e,n,o,i,l){return(0,a.wg)(),(0,a.j4)(Lo.N,(0,a.dG)({modelValue:t.tooltip,"onUpdate:modelValue":e[2]||(e[2]=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},t.$attrs),{activator:(0,a.w5)((function(n){var o=n.props;return[(0,a._)("div",(0,a.dG)(o,{id:t.buttonID,onTouchstart:e[0]||(e[0]=function(){for(var e=[],n=0;n=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=Reflect.getPrototypeOf(Int8Array);try{for(var i=n([Array,String,o]),r=i.next();!r.done;r=i.next()){var a=r.value;Object.defineProperty(a.prototype,"at",{value:function(t){if(t=Math.trunc(t)||0,t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]},writable:!0,enumerable:!1,configurable:!0})}}catch(s){t={error:s}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},74:(t,e,n)=>{"use strict";t.exports=n.p+"img/2023-09-19-SDO-Sun.334bf8a4.png"},858:(t,e,n)=>{"use strict";t.exports=n.p+"img/A.3dc1ace3.png"},9669:(t,e,n)=>{"use strict";t.exports=n.p+"img/AnnularEclipseMap.e5d9a7f4.png"},995:(t,e,n)=>{"use strict";t.exports=n.p+"img/B.a478af1b.png"},8487:(t,e,n)=>{"use strict";t.exports=n.p+"img/C.b471f0b6.png"},7398:(t,e,n)=>{"use strict";t.exports=n.p+"img/eclipse.471bc4cb.gif"},6421:(t,e,n)=>{"use strict";t.exports=n.p+"img/eclipse_static.9b273521.gif"},3276:(t,e,n)=>{"use strict";t.exports=n.p+"img/giphy.01445492.webp"},1670:(t,e,n)=>{"use strict";t.exports=n.p+"img/moon-dark-gray-overlay.b9d8844c.png"},4068:(t,e,n)=>{"use strict";t.exports=n.p+"img/moon-sky-blue-overlay.61ce53e0.png"},3909:(t,e,n)=>{"use strict";t.exports=n.p+"img/moon.240e14df.png"},567:(t,e,n)=>{"use strict";t.exports=n.p+"media/video.7c4b6357.mp4"},2971:(t,e,n)=>{"use strict";t.exports=n.p+"img/cosmicds_logo_for_dark_backgrounds.f950464f.png"}},e={};function n(o){var i=e[o];if(void 0!==i)return i.exports;var r=e[o]={exports:{}};return t[o].call(r.exports,r,r.exports,n),r.exports}n.m=t,(()=>{var t=[];n.O=(e,o,i,r)=>{if(!o){var a=1/0;for(u=0;u=r)&&Object.keys(n.O).every((t=>n.O[t](o[l])))?o.splice(l--,1):(s=!1,r0&&t[u-1][2]>r;u--)t[u]=t[u-1];t[u]=[o,i,r]}})(),(()=>{n.n=t=>{var e=t&&t.__esModule?()=>t["default"]:()=>t;return n.d(e,{a:e}),e}})(),(()=>{n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})}})(),(()=>{n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()})(),(()=>{n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})(),(()=>{n.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})(),(()=>{n.p=""})(),(()=>{var t={143:0};n.O.j=e=>0===t[e];var e=(e,o)=>{var i,r,[a,s,l]=o,c=0;if(a.some((e=>0!==t[e]))){for(i in s)n.o(s,i)&&(n.m[i]=s[i]);if(l)var u=l(n)}for(e&&e(o);cn(3992)));o=n.O(o)})(); +//# sourceMappingURL=app.1d0e4411.js.map \ No newline at end of file diff --git a/annular-eclipse-2023/js/app.1d0e4411.js.map b/annular-eclipse-2023/js/app.1d0e4411.js.map new file mode 100644 index 00000000..161181d7 --- /dev/null +++ b/annular-eclipse-2023/js/app.1d0e4411.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/app.1d0e4411.js","mappings":"4BAAA,IAAIA,EAAM,CACT,2BAA4B,GAC5B,UAAW,IACX,0BAA2B,KAC3B,UAAW,IACX,UAAW,KACX,gBAAiB,KACjB,uBAAwB,KACxB,eAAgB,KAChB,+BAAgC,KAChC,8BAA+B,KAC/B,aAAc,KACd,cAAe,KAIhB,SAASC,EAAeC,GACvB,IAAIC,EAAKC,EAAsBF,GAC/B,OAAOG,EAAoBF,EAC5B,CACA,SAASC,EAAsBF,GAC9B,IAAIG,EAAoBC,EAAEN,EAAKE,GAAM,CACpC,IAAIK,EAAI,IAAIC,MAAM,uBAAyBN,EAAM,KAEjD,MADAK,EAAEE,KAAO,mBACHF,CACP,CACA,OAAOP,EAAIE,EACZ,CACAD,EAAeS,KAAO,WACrB,OAAOC,OAAOD,KAAKV,EACpB,EACAC,EAAeW,QAAUR,EACzBS,EAAOC,QAAUb,EACjBA,EAAeE,GAAK,I,wBCjCpB,SAA2CY,EAAMC,GAE/CH,EAAOC,QAAUE,EAAQ,EAAQ,MAAQ,EAAQ,MAOlD,EATD,CASoB,qBAATC,MAAuBA,MAAc,CAACC,EAAkCC,IACnE,MACN,IAAIC,EAAsB,CAE9B,IACA,SAAUP,EAAQQ,EAA0B,IAElD,SAA2CN,EAAMC,GAE/CH,EAAOC,QAAUE,EAAQ,EAAoB,K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AAG8oJ,EAASv6G,MAAM5rD,GAAgC,IAAxBsmK,EAAgBtmK,KAAa,CACtD,IAAI6B,KAAY6kK,EACZxmK,EAAoBC,EAAEumK,EAAa7kK,KACrC3B,EAAoB6e,EAAEld,GAAY6kK,EAAY7kK,IAGhD,GAAG8kK,EAAS,IAAIl6J,EAASk6J,EAAQzmK,EAClC,CAEA,IADGumK,GAA4BA,EAA2BtgK,GACrDkX,EAAI8oJ,EAASriK,OAAQuZ,IACzBkpJ,EAAUJ,EAAS9oJ,GAChBnd,EAAoBC,EAAEmmK,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOrmK,EAAoB+sI,EAAExgI,EAAO,EAGjCm6J,EAAqB9lK,KAAK,4CAA8CA,KAAK,6CAA+C,GAChI8lK,EAAmB/zJ,QAAQ2zJ,EAAqBxyJ,KAAK,KAAM,IAC3D4yJ,EAAmB5/J,KAAOw/J,EAAqBxyJ,KAAK,KAAM4yJ,EAAmB5/J,KAAKgN,KAAK4yJ,G,KC7CvF,IAAIC,EAAsB3mK,EAAoB+sI,OAAElrI,EAAW,CAAC,MAAM,IAAO7B,EAAoB,QAC7F2mK,EAAsB3mK,EAAoB+sI,EAAE45B,E","sources":["webpack://@minids/annular-eclipse-2023/./src/assets/ sync ^\\.\\/.*$","webpack://@minids/annular-eclipse-2023/../common/dist/index.umd.js","webpack://@minids/annular-eclipse-2023/./src/AnnularEclipse2023.vue?95ba","webpack://@minids/annular-eclipse-2023/./src/Annotation2.ts","webpack://@minids/annular-eclipse-2023/./src/wwt-hacks.ts","webpack://@minids/annular-eclipse-2023/./src/AnnularEclipse2023.vue?d501","webpack://@minids/annular-eclipse-2023/./src/AnnularEclipse2023.vue","webpack://@minids/annular-eclipse-2023/./src/TransitionExpand.vue?38e7","webpack://@minids/annular-eclipse-2023/./src/TransitionExpand.vue?7fe5","webpack://@minids/annular-eclipse-2023/./src/TransitionExpand.vue","webpack://@minids/annular-eclipse-2023/./src/GifPlayPause.vue?2201","webpack://@minids/annular-eclipse-2023/./src/GifPlayPause.vue?15b5","webpack://@minids/annular-eclipse-2023/./src/GifPlayPause.vue","webpack://@minids/annular-eclipse-2023/./src/CreditLogos.vue?1e22","webpack://@minids/annular-eclipse-2023/./src/CreditLogos.vue?9e7f","webpack://@minids/annular-eclipse-2023/./src/CreditLogos.vue","webpack://@minids/annular-eclipse-2023/./src/MCRadiogroup.vue?2afe","webpack://@minids/annular-eclipse-2023/./src/MCRadiogroup.vue?aaf9","webpack://@minids/annular-eclipse-2023/./src/MCRadiogroup.vue","webpack://@minids/annular-eclipse-2023/./src/FlipTransition.vue?b4d8","webpack://@minids/annular-eclipse-2023/./src/FlipTransition.vue?de4b","webpack://@minids/annular-eclipse-2023/./src/FlipTransition.vue","webpack://@minids/annular-eclipse-2023/./src/ImageLabel.vue?fbae","webpack://@minids/annular-eclipse-2023/./src/ImageLabel.vue?c4ba","webpack://@minids/annular-eclipse-2023/./src/ImageLabel.vue","webpack://@minids/annular-eclipse-2023/./src/GeolocationButton.vue?0077","webpack://@minids/annular-eclipse-2023/./src/GeolocationButton.vue?8e34","webpack://@minids/annular-eclipse-2023/./src/GeolocationButton.vue","webpack://@minids/annular-eclipse-2023/./src/HoverTooltip.vue?be19","webpack://@minids/annular-eclipse-2023/./src/HoverTooltip.vue?259c","webpack://@minids/annular-eclipse-2023/./src/HoverTooltip.vue","webpack://@minids/annular-eclipse-2023/./plugins/vuetify.ts","webpack://@minids/annular-eclipse-2023/./src/main.ts","webpack://@minids/annular-eclipse-2023/./src/polyfills.ts","webpack://@minids/annular-eclipse-2023/webpack/bootstrap","webpack://@minids/annular-eclipse-2023/webpack/runtime/chunk loaded","webpack://@minids/annular-eclipse-2023/webpack/runtime/compat get default export","webpack://@minids/annular-eclipse-2023/webpack/runtime/define property getters","webpack://@minids/annular-eclipse-2023/webpack/runtime/global","webpack://@minids/annular-eclipse-2023/webpack/runtime/hasOwnProperty shorthand","webpack://@minids/annular-eclipse-2023/webpack/runtime/make namespace object","webpack://@minids/annular-eclipse-2023/webpack/runtime/publicPath","webpack://@minids/annular-eclipse-2023/webpack/runtime/jsonp chunk loading","webpack://@minids/annular-eclipse-2023/webpack/startup"],"sourcesContent":["var map = {\n\t\"./2023-09-19-SDO-Sun.png\": 74,\n\t\"./A.png\": 858,\n\t\"./AnnularEclipseMap.png\": 9669,\n\t\"./B.png\": 995,\n\t\"./C.png\": 8487,\n\t\"./eclipse.gif\": 7398,\n\t\"./eclipse_static.gif\": 6421,\n\t\"./giphy.webp\": 3276,\n\t\"./moon-dark-gray-overlay.png\": 1670,\n\t\"./moon-sky-blue-overlay.png\": 4068,\n\t\"./moon.png\": 3909,\n\t\"./video.mp4\": 567\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 7173;","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"vue\"), require(\"@wwtelescope/engine\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([, \"@wwtelescope/engine\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"index\"] = factory(require(\"vue\"), require(\"@wwtelescope/engine\"));\n\telse\n\t\troot[\"index\"] = factory(root[\"Vue\"], root[\"wwtlib\"]);\n})((typeof self !== 'undefined' ? self : this), (__WEBPACK_EXTERNAL_MODULE__203__, __WEBPACK_EXTERNAL_MODULE__415__) => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 121:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(true)\n\t\tmodule.exports = factory(__webpack_require__(415), __webpack_require__(203));\n\telse {}\n})((typeof self !== 'undefined' ? self : this), (__WEBPACK_EXTERNAL_MODULE__415__, __WEBPACK_EXTERNAL_MODULE__203__) => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 959:\n/***/ ((__unused_webpack_module, exports) => {\n\nvar __webpack_unused_export__;\n\n__webpack_unused_export__ = ({ value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.Z = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n\n\n/***/ }),\n\n/***/ 415:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__415__;\n\n/***/ }),\n\n/***/ 203:\n/***/ ((module) => {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__203__;\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __nested_webpack_require_1513__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_1513__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__nested_webpack_require_1513__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__nested_webpack_require_1513__.o(definition, key) && !__nested_webpack_require_1513__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/global */\n/******/ \t(() => {\n/******/ \t\t__nested_webpack_require_1513__.g = (function() {\n/******/ \t\t\tif (typeof globalThis === 'object') return globalThis;\n/******/ \t\t\ttry {\n/******/ \t\t\t\treturn this || new Function('return this')();\n/******/ \t\t\t} catch (e) {\n/******/ \t\t\t\tif (typeof window === 'object') return window;\n/******/ \t\t\t}\n/******/ \t\t})();\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__nested_webpack_require_1513__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/make namespace object */\n/******/ \t(() => {\n/******/ \t\t// define __esModule on exports\n/******/ \t\t__nested_webpack_require_1513__.r = (exports) => {\n/******/ \t\t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t\t}\n/******/ \t\t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/publicPath */\n/******/ \t(() => {\n/******/ \t\t__nested_webpack_require_1513__.p = \"\";\n/******/ \t})();\n/******/ \t\n/************************************************************************/\nvar __nested_webpack_exports__ = {};\n// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.\n(() => {\n// ESM COMPAT FLAG\n__nested_webpack_require_1513__.r(__nested_webpack_exports__);\n\n// EXPORTS\n__nested_webpack_require_1513__.d(__nested_webpack_exports__, {\n \"ImageSetLayerState\": () => (/* reexport */ ImageSetLayerState),\n \"ImagesetInfo\": () => (/* reexport */ ImagesetInfo),\n \"SpreadSheetLayerInfo\": () => (/* reexport */ SpreadSheetLayerInfo),\n \"WWTAwareComponent\": () => (/* reexport */ WWTAwareComponent),\n \"WWTComponent\": () => (/* reexport */ Component),\n \"engineStore\": () => (/* reexport */ engineStore),\n \"wwtPinia\": () => (/* reexport */ wwtPinia)\n});\n\n;// CONCATENATED MODULE: ../node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js\n/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (false) { var getCurrentScript; }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __nested_webpack_require_1513__.p = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\n/* harmony default export */ const setPublicPath = (null);\n\n// EXTERNAL MODULE: external {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}\nvar external_commonjs_vue_commonjs2_vue_root_Vue_ = __nested_webpack_require_1513__(203);\n;// CONCATENATED MODULE: ../node_modules/vue-demi/lib/index.mjs\n\n\nvar lib_isVue2 = false\nvar isVue3 = true\nvar Vue2 = (/* unused pure expression or super */ null && (0))\n\nfunction install() {}\n\nfunction lib_set(target, key, val) {\n if (Array.isArray(target)) {\n target.length = Math.max(target.length, key)\n target.splice(key, 1, val)\n return val\n }\n target[key] = val\n return val\n}\n\nfunction del(target, key) {\n if (Array.isArray(target)) {\n target.splice(key, 1)\n return\n }\n delete target[key]\n}\n\n\n\n\n;// CONCATENATED MODULE: ../node_modules/@vue/devtools-api/lib/esm/env.js\nfunction getDevtoolsGlobalHook() {\n return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__;\n}\nfunction getTarget() {\n // @ts-ignore\n return (typeof navigator !== 'undefined' && typeof window !== 'undefined')\n ? window\n : typeof __nested_webpack_require_1513__.g !== 'undefined'\n ? __nested_webpack_require_1513__.g\n : {};\n}\nconst isProxyAvailable = typeof Proxy === 'function';\n\n;// CONCATENATED MODULE: ../node_modules/@vue/devtools-api/lib/esm/const.js\nconst HOOK_SETUP = 'devtools-plugin:setup';\nconst HOOK_PLUGIN_SETTINGS_SET = 'plugin:settings:set';\n\n;// CONCATENATED MODULE: ../node_modules/@vue/devtools-api/lib/esm/time.js\nlet supported;\nlet perf;\nfunction isPerformanceSupported() {\n var _a;\n if (supported !== undefined) {\n return supported;\n }\n if (typeof window !== 'undefined' && window.performance) {\n supported = true;\n perf = window.performance;\n }\n else if (typeof __nested_webpack_require_1513__.g !== 'undefined' && ((_a = __nested_webpack_require_1513__.g.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {\n supported = true;\n perf = __nested_webpack_require_1513__.g.perf_hooks.performance;\n }\n else {\n supported = false;\n }\n return supported;\n}\nfunction now() {\n return isPerformanceSupported() ? perf.now() : Date.now();\n}\n\n;// CONCATENATED MODULE: ../node_modules/@vue/devtools-api/lib/esm/proxy.js\n\n\nclass ApiProxy {\n constructor(plugin, hook) {\n this.target = null;\n this.targetQueue = [];\n this.onQueue = [];\n this.plugin = plugin;\n this.hook = hook;\n const defaultSettings = {};\n if (plugin.settings) {\n for (const id in plugin.settings) {\n const item = plugin.settings[id];\n defaultSettings[id] = item.defaultValue;\n }\n }\n const localSettingsSaveId = `__vue-devtools-plugin-settings__${plugin.id}`;\n let currentSettings = Object.assign({}, defaultSettings);\n try {\n const raw = localStorage.getItem(localSettingsSaveId);\n const data = JSON.parse(raw);\n Object.assign(currentSettings, data);\n }\n catch (e) {\n // noop\n }\n this.fallbacks = {\n getSettings() {\n return currentSettings;\n },\n setSettings(value) {\n try {\n localStorage.setItem(localSettingsSaveId, JSON.stringify(value));\n }\n catch (e) {\n // noop\n }\n currentSettings = value;\n },\n now() {\n return now();\n },\n };\n if (hook) {\n hook.on(HOOK_PLUGIN_SETTINGS_SET, (pluginId, value) => {\n if (pluginId === this.plugin.id) {\n this.fallbacks.setSettings(value);\n }\n });\n }\n this.proxiedOn = new Proxy({}, {\n get: (_target, prop) => {\n if (this.target) {\n return this.target.on[prop];\n }\n else {\n return (...args) => {\n this.onQueue.push({\n method: prop,\n args,\n });\n };\n }\n },\n });\n this.proxiedTarget = new Proxy({}, {\n get: (_target, prop) => {\n if (this.target) {\n return this.target[prop];\n }\n else if (prop === 'on') {\n return this.proxiedOn;\n }\n else if (Object.keys(this.fallbacks).includes(prop)) {\n return (...args) => {\n this.targetQueue.push({\n method: prop,\n args,\n resolve: () => { },\n });\n return this.fallbacks[prop](...args);\n };\n }\n else {\n return (...args) => {\n return new Promise(resolve => {\n this.targetQueue.push({\n method: prop,\n args,\n resolve,\n });\n });\n };\n }\n },\n });\n }\n async setRealTarget(target) {\n this.target = target;\n for (const item of this.onQueue) {\n this.target.on[item.method](...item.args);\n }\n for (const item of this.targetQueue) {\n item.resolve(await this.target[item.method](...item.args));\n }\n }\n}\n\n;// CONCATENATED MODULE: ../node_modules/@vue/devtools-api/lib/esm/index.js\n\n\n\n\n\n\nfunction setupDevtoolsPlugin(pluginDescriptor, setupFn) {\n const descriptor = pluginDescriptor;\n const target = getTarget();\n const hook = getDevtoolsGlobalHook();\n const enableProxy = isProxyAvailable && descriptor.enableEarlyProxy;\n if (hook && (target.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !enableProxy)) {\n hook.emit(HOOK_SETUP, pluginDescriptor, setupFn);\n }\n else {\n const proxy = enableProxy ? new ApiProxy(descriptor, hook) : null;\n const list = target.__VUE_DEVTOOLS_PLUGINS__ = target.__VUE_DEVTOOLS_PLUGINS__ || [];\n list.push({\n pluginDescriptor: descriptor,\n setupFn,\n proxy,\n });\n if (proxy)\n setupFn(proxy.proxiedTarget);\n }\n}\n\n;// CONCATENATED MODULE: ../node_modules/pinia/dist/pinia.mjs\n/*!\n * pinia v2.0.29\n * (c) 2023 Eduardo San Martin Morote\n * @license MIT\n */\n\n\n\n/**\r\n * setActivePinia must be called to handle SSR at the top of functions like\r\n * `fetch`, `setup`, `serverPrefetch` and others\r\n */\r\nlet activePinia;\r\n/**\r\n * Sets or unsets the active pinia. Used in SSR and internally when calling\r\n * actions and getters\r\n *\r\n * @param pinia - Pinia instance\r\n */\r\nconst setActivePinia = (pinia) => (activePinia = pinia);\r\n/**\r\n * Get the currently active pinia if there is any.\r\n */\r\nconst getActivePinia = () => (getCurrentInstance() && inject(piniaSymbol)) || activePinia;\r\nconst piniaSymbol = (( false) ? 0 : /* istanbul ignore next */ Symbol());\n\nfunction isPlainObject(\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\no) {\r\n return (o &&\r\n typeof o === 'object' &&\r\n Object.prototype.toString.call(o) === '[object Object]' &&\r\n typeof o.toJSON !== 'function');\r\n}\r\n// type DeepReadonly = { readonly [P in keyof T]: DeepReadonly }\r\n// TODO: can we change these to numbers?\r\n/**\r\n * Possible types for SubscriptionCallback\r\n */\r\nvar MutationType;\r\n(function (MutationType) {\r\n /**\r\n * Direct mutation of the state:\r\n *\r\n * - `store.name = 'new name'`\r\n * - `store.$state.name = 'new name'`\r\n * - `store.list.push('new item')`\r\n */\r\n MutationType[\"direct\"] = \"direct\";\r\n /**\r\n * Mutated the state with `$patch` and an object\r\n *\r\n * - `store.$patch({ name: 'newName' })`\r\n */\r\n MutationType[\"patchObject\"] = \"patch object\";\r\n /**\r\n * Mutated the state with `$patch` and a function\r\n *\r\n * - `store.$patch(state => state.name = 'newName')`\r\n */\r\n MutationType[\"patchFunction\"] = \"patch function\";\r\n // maybe reset? for $state = {} and $reset\r\n})(MutationType || (MutationType = {}));\n\nconst IS_CLIENT = typeof window !== 'undefined';\r\n/**\r\n * Should we add the devtools plugins.\r\n * - only if dev mode or forced through the prod devtools flag\r\n * - not in test\r\n * - only if window exists (could change in the future)\r\n */\r\nconst USE_DEVTOOLS = false && 0;\n\n/*\r\n * FileSaver.js A saveAs() FileSaver implementation.\r\n *\r\n * Originally by Eli Grey, adapted as an ESM module by Eduardo San Martin\r\n * Morote.\r\n *\r\n * License : MIT\r\n */\r\n// The one and only way of getting global scope in all environments\r\n// https://stackoverflow.com/q/3277182/1008999\r\nconst _global = /*#__PURE__*/ (() => typeof window === 'object' && window.window === window\r\n ? window\r\n : typeof self === 'object' && self.self === self\r\n ? self\r\n : typeof __webpack_require__.g === 'object' && __webpack_require__.g.global === __webpack_require__.g\r\n ? __webpack_require__.g\r\n : typeof globalThis === 'object'\r\n ? globalThis\r\n : { HTMLElement: null })();\r\nfunction bom(blob, { autoBom = false } = {}) {\r\n // prepend BOM for UTF-8 XML and text/* types (including HTML)\r\n // note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF\r\n if (autoBom &&\r\n /^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(blob.type)) {\r\n return new Blob([String.fromCharCode(0xfeff), blob], { type: blob.type });\r\n }\r\n return blob;\r\n}\r\nfunction download(url, name, opts) {\r\n const xhr = new XMLHttpRequest();\r\n xhr.open('GET', url);\r\n xhr.responseType = 'blob';\r\n xhr.onload = function () {\r\n saveAs(xhr.response, name, opts);\r\n };\r\n xhr.onerror = function () {\r\n console.error('could not download file');\r\n };\r\n xhr.send();\r\n}\r\nfunction corsEnabled(url) {\r\n const xhr = new XMLHttpRequest();\r\n // use sync to avoid popup blocker\r\n xhr.open('HEAD', url, false);\r\n try {\r\n xhr.send();\r\n }\r\n catch (e) { }\r\n return xhr.status >= 200 && xhr.status <= 299;\r\n}\r\n// `a.click()` doesn't work for all browsers (#465)\r\nfunction click(node) {\r\n try {\r\n node.dispatchEvent(new MouseEvent('click'));\r\n }\r\n catch (e) {\r\n const evt = document.createEvent('MouseEvents');\r\n evt.initMouseEvent('click', true, true, window, 0, 0, 0, 80, 20, false, false, false, false, 0, null);\r\n node.dispatchEvent(evt);\r\n }\r\n}\r\nconst _navigator = \r\n typeof navigator === 'object' ? navigator : { userAgent: '' };\r\n// Detect WebView inside a native macOS app by ruling out all browsers\r\n// We just need to check for 'Safari' because all other browsers (besides Firefox) include that too\r\n// https://www.whatismybrowser.com/guides/the-latest-user-agent/macos\r\nconst isMacOSWebView = /*#__PURE__*/ (() => /Macintosh/.test(_navigator.userAgent) &&\r\n /AppleWebKit/.test(_navigator.userAgent) &&\r\n !/Safari/.test(_navigator.userAgent))();\r\nconst saveAs = !IS_CLIENT\r\n ? () => { } // noop\r\n : // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program\r\n typeof HTMLAnchorElement !== 'undefined' &&\r\n 'download' in HTMLAnchorElement.prototype &&\r\n !isMacOSWebView\r\n ? downloadSaveAs\r\n : // Use msSaveOrOpenBlob as a second approach\r\n 'msSaveOrOpenBlob' in _navigator\r\n ? msSaveAs\r\n : // Fallback to using FileReader and a popup\r\n fileSaverSaveAs;\r\nfunction downloadSaveAs(blob, name = 'download', opts) {\r\n const a = document.createElement('a');\r\n a.download = name;\r\n a.rel = 'noopener'; // tabnabbing\r\n // TODO: detect chrome extensions & packaged apps\r\n // a.target = '_blank'\r\n if (typeof blob === 'string') {\r\n // Support regular links\r\n a.href = blob;\r\n if (a.origin !== location.origin) {\r\n if (corsEnabled(a.href)) {\r\n download(blob, name, opts);\r\n }\r\n else {\r\n a.target = '_blank';\r\n click(a);\r\n }\r\n }\r\n else {\r\n click(a);\r\n }\r\n }\r\n else {\r\n // Support blobs\r\n a.href = URL.createObjectURL(blob);\r\n setTimeout(function () {\r\n URL.revokeObjectURL(a.href);\r\n }, 4e4); // 40s\r\n setTimeout(function () {\r\n click(a);\r\n }, 0);\r\n }\r\n}\r\nfunction msSaveAs(blob, name = 'download', opts) {\r\n if (typeof blob === 'string') {\r\n if (corsEnabled(blob)) {\r\n download(blob, name, opts);\r\n }\r\n else {\r\n const a = document.createElement('a');\r\n a.href = blob;\r\n a.target = '_blank';\r\n setTimeout(function () {\r\n click(a);\r\n });\r\n }\r\n }\r\n else {\r\n // @ts-ignore: works on windows\r\n navigator.msSaveOrOpenBlob(bom(blob, opts), name);\r\n }\r\n}\r\nfunction fileSaverSaveAs(blob, name, opts, popup) {\r\n // Open a popup immediately do go around popup blocker\r\n // Mostly only available on user interaction and the fileReader is async so...\r\n popup = popup || open('', '_blank');\r\n if (popup) {\r\n popup.document.title = popup.document.body.innerText = 'downloading...';\r\n }\r\n if (typeof blob === 'string')\r\n return download(blob, name, opts);\r\n const force = blob.type === 'application/octet-stream';\r\n const isSafari = /constructor/i.test(String(_global.HTMLElement)) || 'safari' in _global;\r\n const isChromeIOS = /CriOS\\/[\\d]+/.test(navigator.userAgent);\r\n if ((isChromeIOS || (force && isSafari) || isMacOSWebView) &&\r\n typeof FileReader !== 'undefined') {\r\n // Safari doesn't allow downloading of blob URLs\r\n const reader = new FileReader();\r\n reader.onloadend = function () {\r\n let url = reader.result;\r\n if (typeof url !== 'string') {\r\n popup = null;\r\n throw new Error('Wrong reader.result type');\r\n }\r\n url = isChromeIOS\r\n ? url\r\n : url.replace(/^data:[^;]*;/, 'data:attachment/file;');\r\n if (popup) {\r\n popup.location.href = url;\r\n }\r\n else {\r\n location.assign(url);\r\n }\r\n popup = null; // reverse-tabnabbing #460\r\n };\r\n reader.readAsDataURL(blob);\r\n }\r\n else {\r\n const url = URL.createObjectURL(blob);\r\n if (popup)\r\n popup.location.assign(url);\r\n else\r\n location.href = url;\r\n popup = null; // reverse-tabnabbing #460\r\n setTimeout(function () {\r\n URL.revokeObjectURL(url);\r\n }, 4e4); // 40s\r\n }\r\n}\n\n/**\r\n * Shows a toast or console.log\r\n *\r\n * @param message - message to log\r\n * @param type - different color of the tooltip\r\n */\r\nfunction toastMessage(message, type) {\r\n const piniaMessage = '๐Ÿ ' + message;\r\n if (typeof __VUE_DEVTOOLS_TOAST__ === 'function') {\r\n __VUE_DEVTOOLS_TOAST__(piniaMessage, type);\r\n }\r\n else if (type === 'error') {\r\n console.error(piniaMessage);\r\n }\r\n else if (type === 'warn') {\r\n console.warn(piniaMessage);\r\n }\r\n else {\r\n console.log(piniaMessage);\r\n }\r\n}\r\nfunction isPinia(o) {\r\n return '_a' in o && 'install' in o;\r\n}\n\nfunction checkClipboardAccess() {\r\n if (!('clipboard' in navigator)) {\r\n toastMessage(`Your browser doesn't support the Clipboard API`, 'error');\r\n return true;\r\n }\r\n}\r\nfunction checkNotFocusedError(error) {\r\n if (error instanceof Error &&\r\n error.message.toLowerCase().includes('document is not focused')) {\r\n toastMessage('You need to activate the \"Emulate a focused page\" setting in the \"Rendering\" panel of devtools.', 'warn');\r\n return true;\r\n }\r\n return false;\r\n}\r\nasync function actionGlobalCopyState(pinia) {\r\n if (checkClipboardAccess())\r\n return;\r\n try {\r\n await navigator.clipboard.writeText(JSON.stringify(pinia.state.value));\r\n toastMessage('Global state copied to clipboard.');\r\n }\r\n catch (error) {\r\n if (checkNotFocusedError(error))\r\n return;\r\n toastMessage(`Failed to serialize the state. Check the console for more details.`, 'error');\r\n console.error(error);\r\n }\r\n}\r\nasync function actionGlobalPasteState(pinia) {\r\n if (checkClipboardAccess())\r\n return;\r\n try {\r\n pinia.state.value = JSON.parse(await navigator.clipboard.readText());\r\n toastMessage('Global state pasted from clipboard.');\r\n }\r\n catch (error) {\r\n if (checkNotFocusedError(error))\r\n return;\r\n toastMessage(`Failed to deserialize the state from clipboard. Check the console for more details.`, 'error');\r\n console.error(error);\r\n }\r\n}\r\nasync function actionGlobalSaveState(pinia) {\r\n try {\r\n saveAs(new Blob([JSON.stringify(pinia.state.value)], {\r\n type: 'text/plain;charset=utf-8',\r\n }), 'pinia-state.json');\r\n }\r\n catch (error) {\r\n toastMessage(`Failed to export the state as JSON. Check the console for more details.`, 'error');\r\n console.error(error);\r\n }\r\n}\r\nlet fileInput;\r\nfunction getFileOpener() {\r\n if (!fileInput) {\r\n fileInput = document.createElement('input');\r\n fileInput.type = 'file';\r\n fileInput.accept = '.json';\r\n }\r\n function openFile() {\r\n return new Promise((resolve, reject) => {\r\n fileInput.onchange = async () => {\r\n const files = fileInput.files;\r\n if (!files)\r\n return resolve(null);\r\n const file = files.item(0);\r\n if (!file)\r\n return resolve(null);\r\n return resolve({ text: await file.text(), file });\r\n };\r\n // @ts-ignore: TODO: changed from 4.3 to 4.4\r\n fileInput.oncancel = () => resolve(null);\r\n fileInput.onerror = reject;\r\n fileInput.click();\r\n });\r\n }\r\n return openFile;\r\n}\r\nasync function actionGlobalOpenStateFile(pinia) {\r\n try {\r\n const open = await getFileOpener();\r\n const result = await open();\r\n if (!result)\r\n return;\r\n const { text, file } = result;\r\n pinia.state.value = JSON.parse(text);\r\n toastMessage(`Global state imported from \"${file.name}\".`);\r\n }\r\n catch (error) {\r\n toastMessage(`Failed to export the state as JSON. Check the console for more details.`, 'error');\r\n console.error(error);\r\n }\r\n}\n\nfunction formatDisplay(display) {\r\n return {\r\n _custom: {\r\n display,\r\n },\r\n };\r\n}\r\nconst PINIA_ROOT_LABEL = '๐Ÿ Pinia (root)';\r\nconst PINIA_ROOT_ID = '_root';\r\nfunction formatStoreForInspectorTree(store) {\r\n return isPinia(store)\r\n ? {\r\n id: PINIA_ROOT_ID,\r\n label: PINIA_ROOT_LABEL,\r\n }\r\n : {\r\n id: store.$id,\r\n label: store.$id,\r\n };\r\n}\r\nfunction formatStoreForInspectorState(store) {\r\n if (isPinia(store)) {\r\n const storeNames = Array.from(store._s.keys());\r\n const storeMap = store._s;\r\n const state = {\r\n state: storeNames.map((storeId) => ({\r\n editable: true,\r\n key: storeId,\r\n value: store.state.value[storeId],\r\n })),\r\n getters: storeNames\r\n .filter((id) => storeMap.get(id)._getters)\r\n .map((id) => {\r\n const store = storeMap.get(id);\r\n return {\r\n editable: false,\r\n key: id,\r\n value: store._getters.reduce((getters, key) => {\r\n getters[key] = store[key];\r\n return getters;\r\n }, {}),\r\n };\r\n }),\r\n };\r\n return state;\r\n }\r\n const state = {\r\n state: Object.keys(store.$state).map((key) => ({\r\n editable: true,\r\n key,\r\n value: store.$state[key],\r\n })),\r\n };\r\n // avoid adding empty getters\r\n if (store._getters && store._getters.length) {\r\n state.getters = store._getters.map((getterName) => ({\r\n editable: false,\r\n key: getterName,\r\n value: store[getterName],\r\n }));\r\n }\r\n if (store._customProperties.size) {\r\n state.customProperties = Array.from(store._customProperties).map((key) => ({\r\n editable: true,\r\n key,\r\n value: store[key],\r\n }));\r\n }\r\n return state;\r\n}\r\nfunction formatEventData(events) {\r\n if (!events)\r\n return {};\r\n if (Array.isArray(events)) {\r\n // TODO: handle add and delete for arrays and objects\r\n return events.reduce((data, event) => {\r\n data.keys.push(event.key);\r\n data.operations.push(event.type);\r\n data.oldValue[event.key] = event.oldValue;\r\n data.newValue[event.key] = event.newValue;\r\n return data;\r\n }, {\r\n oldValue: {},\r\n keys: [],\r\n operations: [],\r\n newValue: {},\r\n });\r\n }\r\n else {\r\n return {\r\n operation: formatDisplay(events.type),\r\n key: formatDisplay(events.key),\r\n oldValue: events.oldValue,\r\n newValue: events.newValue,\r\n };\r\n }\r\n}\r\nfunction formatMutationType(type) {\r\n switch (type) {\r\n case MutationType.direct:\r\n return 'mutation';\r\n case MutationType.patchFunction:\r\n return '$patch';\r\n case MutationType.patchObject:\r\n return '$patch';\r\n default:\r\n return 'unknown';\r\n }\r\n}\n\n// timeline can be paused when directly changing the state\r\nlet isTimelineActive = true;\r\nconst componentStateTypes = [];\r\nconst MUTATIONS_LAYER_ID = 'pinia:mutations';\r\nconst INSPECTOR_ID = 'pinia';\r\n/**\r\n * Gets the displayed name of a store in devtools\r\n *\r\n * @param id - id of the store\r\n * @returns a formatted string\r\n */\r\nconst getStoreType = (id) => '๐Ÿ ' + id;\r\n/**\r\n * Add the pinia plugin without any store. Allows displaying a Pinia plugin tab\r\n * as soon as it is added to the application.\r\n *\r\n * @param app - Vue application\r\n * @param pinia - pinia instance\r\n */\r\nfunction registerPiniaDevtools(app, pinia) {\r\n setupDevtoolsPlugin({\r\n id: 'dev.esm.pinia',\r\n label: 'Pinia ๐Ÿ',\r\n logo: 'https://pinia.vuejs.org/logo.svg',\r\n packageName: 'pinia',\r\n homepage: 'https://pinia.vuejs.org',\r\n componentStateTypes,\r\n app,\r\n }, (api) => {\r\n if (typeof api.now !== 'function') {\r\n toastMessage('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.');\r\n }\r\n api.addTimelineLayer({\r\n id: MUTATIONS_LAYER_ID,\r\n label: `Pinia ๐Ÿ`,\r\n color: 0xe5df88,\r\n });\r\n api.addInspector({\r\n id: INSPECTOR_ID,\r\n label: 'Pinia ๐Ÿ',\r\n icon: 'storage',\r\n treeFilterPlaceholder: 'Search stores',\r\n actions: [\r\n {\r\n icon: 'content_copy',\r\n action: () => {\r\n actionGlobalCopyState(pinia);\r\n },\r\n tooltip: 'Serialize and copy the state',\r\n },\r\n {\r\n icon: 'content_paste',\r\n action: async () => {\r\n await actionGlobalPasteState(pinia);\r\n api.sendInspectorTree(INSPECTOR_ID);\r\n api.sendInspectorState(INSPECTOR_ID);\r\n },\r\n tooltip: 'Replace the state with the content of your clipboard',\r\n },\r\n {\r\n icon: 'save',\r\n action: () => {\r\n actionGlobalSaveState(pinia);\r\n },\r\n tooltip: 'Save the state as a JSON file',\r\n },\r\n {\r\n icon: 'folder_open',\r\n action: async () => {\r\n await actionGlobalOpenStateFile(pinia);\r\n api.sendInspectorTree(INSPECTOR_ID);\r\n api.sendInspectorState(INSPECTOR_ID);\r\n },\r\n tooltip: 'Import the state from a JSON file',\r\n },\r\n ],\r\n nodeActions: [\r\n {\r\n icon: 'restore',\r\n tooltip: 'Reset the state (option store only)',\r\n action: (nodeId) => {\r\n const store = pinia._s.get(nodeId);\r\n if (!store) {\r\n toastMessage(`Cannot reset \"${nodeId}\" store because it wasn't found.`, 'warn');\r\n }\r\n else if (!store._isOptionsAPI) {\r\n toastMessage(`Cannot reset \"${nodeId}\" store because it's a setup store.`, 'warn');\r\n }\r\n else {\r\n store.$reset();\r\n toastMessage(`Store \"${nodeId}\" reset.`);\r\n }\r\n },\r\n },\r\n ],\r\n });\r\n api.on.inspectComponent((payload, ctx) => {\r\n const proxy = (payload.componentInstance &&\r\n payload.componentInstance.proxy);\r\n if (proxy && proxy._pStores) {\r\n const piniaStores = payload.componentInstance.proxy._pStores;\r\n Object.values(piniaStores).forEach((store) => {\r\n payload.instanceData.state.push({\r\n type: getStoreType(store.$id),\r\n key: 'state',\r\n editable: true,\r\n value: store._isOptionsAPI\r\n ? {\r\n _custom: {\r\n value: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toRaw)(store.$state),\r\n actions: [\r\n {\r\n icon: 'restore',\r\n tooltip: 'Reset the state of this store',\r\n action: () => store.$reset(),\r\n },\r\n ],\r\n },\r\n }\r\n : // NOTE: workaround to unwrap transferred refs\r\n Object.keys(store.$state).reduce((state, key) => {\r\n state[key] = store.$state[key];\r\n return state;\r\n }, {}),\r\n });\r\n if (store._getters && store._getters.length) {\r\n payload.instanceData.state.push({\r\n type: getStoreType(store.$id),\r\n key: 'getters',\r\n editable: false,\r\n value: store._getters.reduce((getters, key) => {\r\n try {\r\n getters[key] = store[key];\r\n }\r\n catch (error) {\r\n // @ts-expect-error: we just want to show it in devtools\r\n getters[key] = error;\r\n }\r\n return getters;\r\n }, {}),\r\n });\r\n }\r\n });\r\n }\r\n });\r\n api.on.getInspectorTree((payload) => {\r\n if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {\r\n let stores = [pinia];\r\n stores = stores.concat(Array.from(pinia._s.values()));\r\n payload.rootNodes = (payload.filter\r\n ? stores.filter((store) => '$id' in store\r\n ? store.$id\r\n .toLowerCase()\r\n .includes(payload.filter.toLowerCase())\r\n : PINIA_ROOT_LABEL.toLowerCase().includes(payload.filter.toLowerCase()))\r\n : stores).map(formatStoreForInspectorTree);\r\n }\r\n });\r\n api.on.getInspectorState((payload) => {\r\n if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {\r\n const inspectedStore = payload.nodeId === PINIA_ROOT_ID\r\n ? pinia\r\n : pinia._s.get(payload.nodeId);\r\n if (!inspectedStore) {\r\n // this could be the selected store restored for a different project\r\n // so it's better not to say anything here\r\n return;\r\n }\r\n if (inspectedStore) {\r\n payload.state = formatStoreForInspectorState(inspectedStore);\r\n }\r\n }\r\n });\r\n api.on.editInspectorState((payload, ctx) => {\r\n if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {\r\n const inspectedStore = payload.nodeId === PINIA_ROOT_ID\r\n ? pinia\r\n : pinia._s.get(payload.nodeId);\r\n if (!inspectedStore) {\r\n return toastMessage(`store \"${payload.nodeId}\" not found`, 'error');\r\n }\r\n const { path } = payload;\r\n if (!isPinia(inspectedStore)) {\r\n // access only the state\r\n if (path.length !== 1 ||\r\n !inspectedStore._customProperties.has(path[0]) ||\r\n path[0] in inspectedStore.$state) {\r\n path.unshift('$state');\r\n }\r\n }\r\n else {\r\n // Root access, we can omit the `.value` because the devtools API does it for us\r\n path.unshift('state');\r\n }\r\n isTimelineActive = false;\r\n payload.set(inspectedStore, path, payload.state.value);\r\n isTimelineActive = true;\r\n }\r\n });\r\n api.on.editComponentState((payload) => {\r\n if (payload.type.startsWith('๐Ÿ')) {\r\n const storeId = payload.type.replace(/^๐Ÿ\\s*/, '');\r\n const store = pinia._s.get(storeId);\r\n if (!store) {\r\n return toastMessage(`store \"${storeId}\" not found`, 'error');\r\n }\r\n const { path } = payload;\r\n if (path[0] !== 'state') {\r\n return toastMessage(`Invalid path for store \"${storeId}\":\\n${path}\\nOnly state can be modified.`);\r\n }\r\n // rewrite the first entry to be able to directly set the state as\r\n // well as any other path\r\n path[0] = '$state';\r\n isTimelineActive = false;\r\n payload.set(store, path, payload.state.value);\r\n isTimelineActive = true;\r\n }\r\n });\r\n });\r\n}\r\nfunction addStoreToDevtools(app, store) {\r\n if (!componentStateTypes.includes(getStoreType(store.$id))) {\r\n componentStateTypes.push(getStoreType(store.$id));\r\n }\r\n setupDevtoolsPlugin({\r\n id: 'dev.esm.pinia',\r\n label: 'Pinia ๐Ÿ',\r\n logo: 'https://pinia.vuejs.org/logo.svg',\r\n packageName: 'pinia',\r\n homepage: 'https://pinia.vuejs.org',\r\n componentStateTypes,\r\n app,\r\n settings: {\r\n logStoreChanges: {\r\n label: 'Notify about new/deleted stores',\r\n type: 'boolean',\r\n defaultValue: true,\r\n },\r\n // useEmojis: {\r\n // label: 'Use emojis in messages โšก๏ธ',\r\n // type: 'boolean',\r\n // defaultValue: true,\r\n // },\r\n },\r\n }, (api) => {\r\n // gracefully handle errors\r\n const now = typeof api.now === 'function' ? api.now.bind(api) : Date.now;\r\n store.$onAction(({ after, onError, name, args }) => {\r\n const groupId = runningActionId++;\r\n api.addTimelineEvent({\r\n layerId: MUTATIONS_LAYER_ID,\r\n event: {\r\n time: now(),\r\n title: '๐Ÿ›ซ ' + name,\r\n subtitle: 'start',\r\n data: {\r\n store: formatDisplay(store.$id),\r\n action: formatDisplay(name),\r\n args,\r\n },\r\n groupId,\r\n },\r\n });\r\n after((result) => {\r\n activeAction = undefined;\r\n api.addTimelineEvent({\r\n layerId: MUTATIONS_LAYER_ID,\r\n event: {\r\n time: now(),\r\n title: '๐Ÿ›ฌ ' + name,\r\n subtitle: 'end',\r\n data: {\r\n store: formatDisplay(store.$id),\r\n action: formatDisplay(name),\r\n args,\r\n result,\r\n },\r\n groupId,\r\n },\r\n });\r\n });\r\n onError((error) => {\r\n activeAction = undefined;\r\n api.addTimelineEvent({\r\n layerId: MUTATIONS_LAYER_ID,\r\n event: {\r\n time: now(),\r\n logType: 'error',\r\n title: '๐Ÿ’ฅ ' + name,\r\n subtitle: 'end',\r\n data: {\r\n store: formatDisplay(store.$id),\r\n action: formatDisplay(name),\r\n args,\r\n error,\r\n },\r\n groupId,\r\n },\r\n });\r\n });\r\n }, true);\r\n store._customProperties.forEach((name) => {\r\n (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(store[name]), (newValue, oldValue) => {\r\n api.notifyComponentUpdate();\r\n api.sendInspectorState(INSPECTOR_ID);\r\n if (isTimelineActive) {\r\n api.addTimelineEvent({\r\n layerId: MUTATIONS_LAYER_ID,\r\n event: {\r\n time: now(),\r\n title: 'Change',\r\n subtitle: name,\r\n data: {\r\n newValue,\r\n oldValue,\r\n },\r\n groupId: activeAction,\r\n },\r\n });\r\n }\r\n }, { deep: true });\r\n });\r\n store.$subscribe(({ events, type }, state) => {\r\n api.notifyComponentUpdate();\r\n api.sendInspectorState(INSPECTOR_ID);\r\n if (!isTimelineActive)\r\n return;\r\n // rootStore.state[store.id] = state\r\n const eventData = {\r\n time: now(),\r\n title: formatMutationType(type),\r\n data: {\r\n store: formatDisplay(store.$id),\r\n ...formatEventData(events),\r\n },\r\n groupId: activeAction,\r\n };\r\n // reset for the next mutation\r\n activeAction = undefined;\r\n if (type === MutationType.patchFunction) {\r\n eventData.subtitle = 'โคต๏ธ';\r\n }\r\n else if (type === MutationType.patchObject) {\r\n eventData.subtitle = '๐Ÿงฉ';\r\n }\r\n else if (events && !Array.isArray(events)) {\r\n eventData.subtitle = events.type;\r\n }\r\n if (events) {\r\n eventData.data['rawEvent(s)'] = {\r\n _custom: {\r\n display: 'DebuggerEvent',\r\n type: 'object',\r\n tooltip: 'raw DebuggerEvent[]',\r\n value: events,\r\n },\r\n };\r\n }\r\n api.addTimelineEvent({\r\n layerId: MUTATIONS_LAYER_ID,\r\n event: eventData,\r\n });\r\n }, { detached: true, flush: 'sync' });\r\n const hotUpdate = store._hotUpdate;\r\n store._hotUpdate = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.markRaw)((newStore) => {\r\n hotUpdate(newStore);\r\n api.addTimelineEvent({\r\n layerId: MUTATIONS_LAYER_ID,\r\n event: {\r\n time: now(),\r\n title: '๐Ÿ”ฅ ' + store.$id,\r\n subtitle: 'HMR update',\r\n data: {\r\n store: formatDisplay(store.$id),\r\n info: formatDisplay(`HMR update`),\r\n },\r\n },\r\n });\r\n // update the devtools too\r\n api.notifyComponentUpdate();\r\n api.sendInspectorTree(INSPECTOR_ID);\r\n api.sendInspectorState(INSPECTOR_ID);\r\n });\r\n const { $dispose } = store;\r\n store.$dispose = () => {\r\n $dispose();\r\n api.notifyComponentUpdate();\r\n api.sendInspectorTree(INSPECTOR_ID);\r\n api.sendInspectorState(INSPECTOR_ID);\r\n api.getSettings().logStoreChanges &&\r\n toastMessage(`Disposed \"${store.$id}\" store ๐Ÿ—‘`);\r\n };\r\n // trigger an update so it can display new registered stores\r\n api.notifyComponentUpdate();\r\n api.sendInspectorTree(INSPECTOR_ID);\r\n api.sendInspectorState(INSPECTOR_ID);\r\n api.getSettings().logStoreChanges &&\r\n toastMessage(`\"${store.$id}\" store installed ๐Ÿ†•`);\r\n });\r\n}\r\nlet runningActionId = 0;\r\nlet activeAction;\r\n/**\r\n * Patches a store to enable action grouping in devtools by wrapping the store with a Proxy that is passed as the\r\n * context of all actions, allowing us to set `runningAction` on each access and effectively associating any state\r\n * mutation to the action.\r\n *\r\n * @param store - store to patch\r\n * @param actionNames - list of actionst to patch\r\n */\r\nfunction patchActionForGrouping(store, actionNames) {\r\n // original actions of the store as they are given by pinia. We are going to override them\r\n const actions = actionNames.reduce((storeActions, actionName) => {\r\n // use toRaw to avoid tracking #541\r\n storeActions[actionName] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toRaw)(store)[actionName];\r\n return storeActions;\r\n }, {});\r\n for (const actionName in actions) {\r\n store[actionName] = function () {\r\n // setActivePinia(store._p)\r\n // the running action id is incremented in a before action hook\r\n const _actionId = runningActionId;\r\n const trackedStore = new Proxy(store, {\r\n get(...args) {\r\n activeAction = _actionId;\r\n return Reflect.get(...args);\r\n },\r\n set(...args) {\r\n activeAction = _actionId;\r\n return Reflect.set(...args);\r\n },\r\n });\r\n return actions[actionName].apply(trackedStore, arguments);\r\n };\r\n }\r\n}\r\n/**\r\n * pinia.use(devtoolsPlugin)\r\n */\r\nfunction devtoolsPlugin({ app, store, options }) {\r\n // HMR module\r\n if (store.$id.startsWith('__hot:')) {\r\n return;\r\n }\r\n // detect option api vs setup api\r\n if (options.state) {\r\n store._isOptionsAPI = true;\r\n }\r\n // only wrap actions in option-defined stores as this technique relies on\r\n // wrapping the context of the action with a proxy\r\n if (typeof options.state === 'function') {\r\n patchActionForGrouping(\r\n // @ts-expect-error: can cast the store...\r\n store, Object.keys(options.actions));\r\n const originalHotUpdate = store._hotUpdate;\r\n // Upgrade the HMR to also update the new actions\r\n (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toRaw)(store)._hotUpdate = function (newStore) {\r\n originalHotUpdate.apply(this, arguments);\r\n patchActionForGrouping(store, Object.keys(newStore._hmrPayload.actions));\r\n };\r\n }\r\n addStoreToDevtools(app, \r\n // FIXME: is there a way to allow the assignment from Store to StoreGeneric?\r\n store);\r\n}\n\n/**\r\n * Creates a Pinia instance to be used by the application\r\n */\r\nfunction createPinia() {\r\n const scope = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.effectScope)(true);\r\n // NOTE: here we could check the window object for a state and directly set it\r\n // if there is anything like it with Vue 3 SSR\r\n const state = scope.run(() => (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)({}));\r\n let _p = [];\r\n // plugins added before calling app.use(pinia)\r\n let toBeInstalled = [];\r\n const pinia = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.markRaw)({\r\n install(app) {\r\n // this allows calling useStore() outside of a component setup after\r\n // installing pinia's plugin\r\n setActivePinia(pinia);\r\n if (!lib_isVue2) {\r\n pinia._a = app;\r\n app.provide(piniaSymbol, pinia);\r\n app.config.globalProperties.$pinia = pinia;\r\n /* istanbul ignore else */\r\n if (USE_DEVTOOLS) {\r\n registerPiniaDevtools(app, pinia);\r\n }\r\n toBeInstalled.forEach((plugin) => _p.push(plugin));\r\n toBeInstalled = [];\r\n }\r\n },\r\n use(plugin) {\r\n if (!this._a && !lib_isVue2) {\r\n toBeInstalled.push(plugin);\r\n }\r\n else {\r\n _p.push(plugin);\r\n }\r\n return this;\r\n },\r\n _p,\r\n // it's actually undefined here\r\n // @ts-expect-error\r\n _a: null,\r\n _e: scope,\r\n _s: new Map(),\r\n state,\r\n });\r\n // pinia devtools rely on dev only features so they cannot be forced unless\r\n // the dev build of Vue is used. Avoid old browsers like IE11.\r\n if (USE_DEVTOOLS && typeof Proxy !== 'undefined') {\r\n pinia.use(devtoolsPlugin);\r\n }\r\n return pinia;\r\n}\n\n/**\r\n * Checks if a function is a `StoreDefinition`.\r\n *\r\n * @param fn - object to test\r\n * @returns true if `fn` is a StoreDefinition\r\n */\r\nconst isUseStore = (fn) => {\r\n return typeof fn === 'function' && typeof fn.$id === 'string';\r\n};\r\n/**\r\n * Mutates in place `newState` with `oldState` to _hot update_ it. It will\r\n * remove any key not existing in `newState` and recursively merge plain\r\n * objects.\r\n *\r\n * @param newState - new state object to be patched\r\n * @param oldState - old state that should be used to patch newState\r\n * @returns - newState\r\n */\r\nfunction patchObject(newState, oldState) {\r\n // no need to go through symbols because they cannot be serialized anyway\r\n for (const key in oldState) {\r\n const subPatch = oldState[key];\r\n // skip the whole sub tree\r\n if (!(key in newState)) {\r\n continue;\r\n }\r\n const targetValue = newState[key];\r\n if (isPlainObject(targetValue) &&\r\n isPlainObject(subPatch) &&\r\n !isRef(subPatch) &&\r\n !isReactive(subPatch)) {\r\n newState[key] = patchObject(targetValue, subPatch);\r\n }\r\n else {\r\n // objects are either a bit more complex (e.g. refs) or primitives, so we\r\n // just set the whole thing\r\n if (isVue2) {\r\n set(newState, key, subPatch);\r\n }\r\n else {\r\n newState[key] = subPatch;\r\n }\r\n }\r\n }\r\n return newState;\r\n}\r\n/**\r\n * Creates an _accept_ function to pass to `import.meta.hot` in Vite applications.\r\n *\r\n * @example\r\n * ```js\r\n * const useUser = defineStore(...)\r\n * if (import.meta.hot) {\r\n * import.meta.hot.accept(acceptHMRUpdate(useUser, import.meta.hot))\r\n * }\r\n * ```\r\n *\r\n * @param initialUseStore - return of the defineStore to hot update\r\n * @param hot - `import.meta.hot`\r\n */\r\nfunction acceptHMRUpdate(initialUseStore, hot) {\r\n // strip as much as possible from iife.prod\r\n if (true) {\r\n return () => { };\r\n }\r\n return (newModule) => {\r\n const pinia = hot.data.pinia || initialUseStore._pinia;\r\n if (!pinia) {\r\n // this store is still not used\r\n return;\r\n }\r\n // preserve the pinia instance across loads\r\n hot.data.pinia = pinia;\r\n // console.log('got data', newStore)\r\n for (const exportName in newModule) {\r\n const useStore = newModule[exportName];\r\n // console.log('checking for', exportName)\r\n if (isUseStore(useStore) && pinia._s.has(useStore.$id)) {\r\n // console.log('Accepting update for', useStore.$id)\r\n const id = useStore.$id;\r\n if (id !== initialUseStore.$id) {\r\n console.warn(`The id of the store changed from \"${initialUseStore.$id}\" to \"${id}\". Reloading.`);\r\n // return import.meta.hot.invalidate()\r\n return hot.invalidate();\r\n }\r\n const existingStore = pinia._s.get(id);\r\n if (!existingStore) {\r\n console.log(`[Pinia]: skipping hmr because store doesn't exist yet`);\r\n return;\r\n }\r\n useStore(pinia, existingStore);\r\n }\r\n }\r\n };\r\n}\n\nconst noop = () => { };\r\nfunction addSubscription(subscriptions, callback, detached, onCleanup = noop) {\r\n subscriptions.push(callback);\r\n const removeSubscription = () => {\r\n const idx = subscriptions.indexOf(callback);\r\n if (idx > -1) {\r\n subscriptions.splice(idx, 1);\r\n onCleanup();\r\n }\r\n };\r\n if (!detached && (0,external_commonjs_vue_commonjs2_vue_root_Vue_.getCurrentScope)()) {\r\n (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onScopeDispose)(removeSubscription);\r\n }\r\n return removeSubscription;\r\n}\r\nfunction triggerSubscriptions(subscriptions, ...args) {\r\n subscriptions.slice().forEach((callback) => {\r\n callback(...args);\r\n });\r\n}\n\nfunction mergeReactiveObjects(target, patchToApply) {\r\n // Handle Map instances\r\n if (target instanceof Map && patchToApply instanceof Map) {\r\n patchToApply.forEach((value, key) => target.set(key, value));\r\n }\r\n // Handle Set instances\r\n if (target instanceof Set && patchToApply instanceof Set) {\r\n patchToApply.forEach(target.add, target);\r\n }\r\n // no need to go through symbols because they cannot be serialized anyway\r\n for (const key in patchToApply) {\r\n if (!patchToApply.hasOwnProperty(key))\r\n continue;\r\n const subPatch = patchToApply[key];\r\n const targetValue = target[key];\r\n if (isPlainObject(targetValue) &&\r\n isPlainObject(subPatch) &&\r\n target.hasOwnProperty(key) &&\r\n !(0,external_commonjs_vue_commonjs2_vue_root_Vue_.isRef)(subPatch) &&\r\n !(0,external_commonjs_vue_commonjs2_vue_root_Vue_.isReactive)(subPatch)) {\r\n // NOTE: here I wanted to warn about inconsistent types but it's not possible because in setup stores one might\r\n // start the value of a property as a certain type e.g. a Map, and then for some reason, during SSR, change that\r\n // to `undefined`. When trying to hydrate, we want to override the Map with `undefined`.\r\n target[key] = mergeReactiveObjects(targetValue, subPatch);\r\n }\r\n else {\r\n // @ts-expect-error: subPatch is a valid value\r\n target[key] = subPatch;\r\n }\r\n }\r\n return target;\r\n}\r\nconst skipHydrateSymbol = ( false)\r\n ? 0\r\n : /* istanbul ignore next */ Symbol();\r\nconst skipHydrateMap = /*#__PURE__*/ new WeakMap();\r\n/**\r\n * Tells Pinia to skip the hydration process of a given object. This is useful in setup stores (only) when you return a\r\n * stateful object in the store but it isn't really state. e.g. returning a router instance in a setup store.\r\n *\r\n * @param obj - target object\r\n * @returns obj\r\n */\r\nfunction skipHydrate(obj) {\r\n return isVue2\r\n ? // in @vue/composition-api, the refs are sealed so defineProperty doesn't work...\r\n /* istanbul ignore next */ skipHydrateMap.set(obj, 1) && obj\r\n : Object.defineProperty(obj, skipHydrateSymbol, {});\r\n}\r\n/**\r\n * Returns whether a value should be hydrated\r\n *\r\n * @param obj - target variable\r\n * @returns true if `obj` should be hydrated\r\n */\r\nfunction shouldHydrate(obj) {\r\n return lib_isVue2\r\n ? /* istanbul ignore next */ !skipHydrateMap.has(obj)\r\n : !isPlainObject(obj) || !obj.hasOwnProperty(skipHydrateSymbol);\r\n}\r\nconst { assign: pinia_assign } = Object;\r\nfunction isComputed(o) {\r\n return !!((0,external_commonjs_vue_commonjs2_vue_root_Vue_.isRef)(o) && o.effect);\r\n}\r\nfunction createOptionsStore(id, options, pinia, hot) {\r\n const { state, actions, getters } = options;\r\n const initialState = pinia.state.value[id];\r\n let store;\r\n function setup() {\r\n if (!initialState && ( true || 0)) {\r\n /* istanbul ignore if */\r\n if (lib_isVue2) {\r\n lib_set(pinia.state.value, id, state ? state() : {});\r\n }\r\n else {\r\n pinia.state.value[id] = state ? state() : {};\r\n }\r\n }\r\n // avoid creating a state in pinia.state.value\r\n const localState = false\r\n ? // use ref() to unwrap refs inside state TODO: check if this is still necessary\r\n 0\r\n : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toRefs)(pinia.state.value[id]);\r\n return pinia_assign(localState, actions, Object.keys(getters || {}).reduce((computedGetters, name) => {\r\n if (false) {}\r\n computedGetters[name] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.markRaw)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {\r\n setActivePinia(pinia);\r\n // it was created just before\r\n const store = pinia._s.get(id);\r\n // allow cross using stores\r\n /* istanbul ignore next */\r\n if (lib_isVue2 && !store._r)\r\n return;\r\n // @ts-expect-error\r\n // return getters![name].call(context, context)\r\n // TODO: avoid reading the getter while assigning with a global variable\r\n return getters[name].call(store, store);\r\n }));\r\n return computedGetters;\r\n }, {}));\r\n }\r\n store = createSetupStore(id, setup, options, pinia, hot, true);\r\n store.$reset = function $reset() {\r\n const newState = state ? state() : {};\r\n // we use a patch to group all changes into one single subscription\r\n this.$patch(($state) => {\r\n pinia_assign($state, newState);\r\n });\r\n };\r\n return store;\r\n}\r\nfunction createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore) {\r\n let scope;\r\n const optionsForPlugin = pinia_assign({ actions: {} }, options);\r\n /* istanbul ignore if */\r\n // @ts-expect-error: active is an internal property\r\n if (false) {}\r\n // watcher options for $subscribe\r\n const $subscribeOptions = {\r\n deep: true,\r\n // flush: 'post',\r\n };\r\n /* istanbul ignore else */\r\n if (false) {}\r\n // internal state\r\n let isListening; // set to true at the end\r\n let isSyncListening; // set to true at the end\r\n let subscriptions = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.markRaw)([]);\r\n let actionSubscriptions = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.markRaw)([]);\r\n let debuggerEvents;\r\n const initialState = pinia.state.value[$id];\r\n // avoid setting the state for option stores if it is set\r\n // by the setup\r\n if (!isOptionsStore && !initialState && ( true || 0)) {\r\n /* istanbul ignore if */\r\n if (lib_isVue2) {\r\n lib_set(pinia.state.value, $id, {});\r\n }\r\n else {\r\n pinia.state.value[$id] = {};\r\n }\r\n }\r\n const hotState = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)({});\r\n // avoid triggering too many listeners\r\n // https://github.com/vuejs/pinia/issues/1129\r\n let activeListener;\r\n function $patch(partialStateOrMutator) {\r\n let subscriptionMutation;\r\n isListening = isSyncListening = false;\r\n // reset the debugger events since patches are sync\r\n /* istanbul ignore else */\r\n if ((false)) {}\r\n if (typeof partialStateOrMutator === 'function') {\r\n partialStateOrMutator(pinia.state.value[$id]);\r\n subscriptionMutation = {\r\n type: MutationType.patchFunction,\r\n storeId: $id,\r\n events: debuggerEvents,\r\n };\r\n }\r\n else {\r\n mergeReactiveObjects(pinia.state.value[$id], partialStateOrMutator);\r\n subscriptionMutation = {\r\n type: MutationType.patchObject,\r\n payload: partialStateOrMutator,\r\n storeId: $id,\r\n events: debuggerEvents,\r\n };\r\n }\r\n const myListenerId = (activeListener = Symbol());\r\n (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => {\r\n if (activeListener === myListenerId) {\r\n isListening = true;\r\n }\r\n });\r\n isSyncListening = true;\r\n // because we paused the watcher, we need to manually call the subscriptions\r\n triggerSubscriptions(subscriptions, subscriptionMutation, pinia.state.value[$id]);\r\n }\r\n /* istanbul ignore next */\r\n const $reset = ( false)\r\n ? 0\r\n : noop;\r\n function $dispose() {\r\n scope.stop();\r\n subscriptions = [];\r\n actionSubscriptions = [];\r\n pinia._s.delete($id);\r\n }\r\n /**\r\n * Wraps an action to handle subscriptions.\r\n *\r\n * @param name - name of the action\r\n * @param action - action to wrap\r\n * @returns a wrapped action to handle subscriptions\r\n */\r\n function wrapAction(name, action) {\r\n return function () {\r\n setActivePinia(pinia);\r\n const args = Array.from(arguments);\r\n const afterCallbackList = [];\r\n const onErrorCallbackList = [];\r\n function after(callback) {\r\n afterCallbackList.push(callback);\r\n }\r\n function onError(callback) {\r\n onErrorCallbackList.push(callback);\r\n }\r\n // @ts-expect-error\r\n triggerSubscriptions(actionSubscriptions, {\r\n args,\r\n name,\r\n store,\r\n after,\r\n onError,\r\n });\r\n let ret;\r\n try {\r\n ret = action.apply(this && this.$id === $id ? this : store, args);\r\n // handle sync errors\r\n }\r\n catch (error) {\r\n triggerSubscriptions(onErrorCallbackList, error);\r\n throw error;\r\n }\r\n if (ret instanceof Promise) {\r\n return ret\r\n .then((value) => {\r\n triggerSubscriptions(afterCallbackList, value);\r\n return value;\r\n })\r\n .catch((error) => {\r\n triggerSubscriptions(onErrorCallbackList, error);\r\n return Promise.reject(error);\r\n });\r\n }\r\n // allow the afterCallback to override the return value\r\n triggerSubscriptions(afterCallbackList, ret);\r\n return ret;\r\n };\r\n }\r\n const _hmrPayload = /*#__PURE__*/ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.markRaw)({\r\n actions: {},\r\n getters: {},\r\n state: [],\r\n hotState,\r\n });\r\n const partialStore = {\r\n _p: pinia,\r\n // _s: scope,\r\n $id,\r\n $onAction: addSubscription.bind(null, actionSubscriptions),\r\n $patch,\r\n $reset,\r\n $subscribe(callback, options = {}) {\r\n const removeSubscription = addSubscription(subscriptions, callback, options.detached, () => stopWatcher());\r\n const stopWatcher = scope.run(() => (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => pinia.state.value[$id], (state) => {\r\n if (options.flush === 'sync' ? isSyncListening : isListening) {\r\n callback({\r\n storeId: $id,\r\n type: MutationType.direct,\r\n events: debuggerEvents,\r\n }, state);\r\n }\r\n }, pinia_assign({}, $subscribeOptions, options)));\r\n return removeSubscription;\r\n },\r\n $dispose,\r\n };\r\n /* istanbul ignore if */\r\n if (lib_isVue2) {\r\n // start as non ready\r\n partialStore._r = false;\r\n }\r\n const store = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)(( false) || USE_DEVTOOLS\r\n ? pinia_assign({\r\n _hmrPayload,\r\n _customProperties: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.markRaw)(new Set()), // devtools custom properties\r\n }, partialStore\r\n // must be added later\r\n // setupStore\r\n )\r\n : partialStore);\r\n // store the partial store now so the setup of stores can instantiate each other before they are finished without\r\n // creating infinite loops.\r\n pinia._s.set($id, store);\r\n // TODO: idea create skipSerialize that marks properties as non serializable and they are skipped\r\n const setupStore = pinia._e.run(() => {\r\n scope = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.effectScope)();\r\n return scope.run(() => setup());\r\n });\r\n // overwrite existing actions to support $onAction\r\n for (const key in setupStore) {\r\n const prop = setupStore[key];\r\n if (((0,external_commonjs_vue_commonjs2_vue_root_Vue_.isRef)(prop) && !isComputed(prop)) || (0,external_commonjs_vue_commonjs2_vue_root_Vue_.isReactive)(prop)) {\r\n // mark it as a piece of state to be serialized\r\n if (false) {}\r\n else if (!isOptionsStore) {\r\n // in setup stores we must hydrate the state and sync pinia state tree with the refs the user just created\r\n if (initialState && shouldHydrate(prop)) {\r\n if ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.isRef)(prop)) {\r\n prop.value = initialState[key];\r\n }\r\n else {\r\n // probably a reactive object, lets recursively assign\r\n // @ts-expect-error: prop is unknown\r\n mergeReactiveObjects(prop, initialState[key]);\r\n }\r\n }\r\n // transfer the ref to the pinia state to keep everything in sync\r\n /* istanbul ignore if */\r\n if (lib_isVue2) {\r\n lib_set(pinia.state.value[$id], key, prop);\r\n }\r\n else {\r\n pinia.state.value[$id][key] = prop;\r\n }\r\n }\r\n /* istanbul ignore else */\r\n if ((false)) {}\r\n // action\r\n }\r\n else if (typeof prop === 'function') {\r\n // @ts-expect-error: we are overriding the function we avoid wrapping if\r\n const actionValue = false ? 0 : wrapAction(key, prop);\r\n // this a hot module replacement store because the hotUpdate method needs\r\n // to do it with the right context\r\n /* istanbul ignore if */\r\n if (lib_isVue2) {\r\n lib_set(setupStore, key, actionValue);\r\n }\r\n else {\r\n // @ts-expect-error\r\n setupStore[key] = actionValue;\r\n }\r\n /* istanbul ignore else */\r\n if ((false)) {}\r\n // list actions so they can be used in plugins\r\n // @ts-expect-error\r\n optionsForPlugin.actions[key] = prop;\r\n }\r\n else if ((false)) {}\r\n }\r\n // add the state, getters, and action properties\r\n /* istanbul ignore if */\r\n if (lib_isVue2) {\r\n Object.keys(setupStore).forEach((key) => {\r\n lib_set(store, key, setupStore[key]);\r\n });\r\n }\r\n else {\r\n pinia_assign(store, setupStore);\r\n // allows retrieving reactive objects with `storeToRefs()`. Must be called after assigning to the reactive object.\r\n // Make `storeToRefs()` work with `reactive()` #799\r\n pinia_assign((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toRaw)(store), setupStore);\r\n }\r\n // use this instead of a computed with setter to be able to create it anywhere\r\n // without linking the computed lifespan to wherever the store is first\r\n // created.\r\n Object.defineProperty(store, '$state', {\r\n get: () => ( false ? 0 : pinia.state.value[$id]),\r\n set: (state) => {\r\n /* istanbul ignore if */\r\n if (false) {}\r\n $patch(($state) => {\r\n pinia_assign($state, state);\r\n });\r\n },\r\n });\r\n // add the hotUpdate before plugins to allow them to override it\r\n /* istanbul ignore else */\r\n if ((false)) {}\r\n if (USE_DEVTOOLS) {\r\n const nonEnumerable = {\r\n writable: true,\r\n configurable: true,\r\n // avoid warning on devtools trying to display this property\r\n enumerable: false,\r\n };\r\n ['_p', '_hmrPayload', '_getters', '_customProperties'].forEach((p) => {\r\n Object.defineProperty(store, p, {\r\n value: store[p],\r\n ...nonEnumerable,\r\n });\r\n });\r\n }\r\n /* istanbul ignore if */\r\n if (lib_isVue2) {\r\n // mark the store as ready before plugins\r\n store._r = true;\r\n }\r\n // apply all plugins\r\n pinia._p.forEach((extender) => {\r\n /* istanbul ignore else */\r\n if (USE_DEVTOOLS) {\r\n const extensions = scope.run(() => extender({\r\n store,\r\n app: pinia._a,\r\n pinia,\r\n options: optionsForPlugin,\r\n }));\r\n Object.keys(extensions || {}).forEach((key) => store._customProperties.add(key));\r\n pinia_assign(store, extensions);\r\n }\r\n else {\r\n pinia_assign(store, scope.run(() => extender({\r\n store,\r\n app: pinia._a,\r\n pinia,\r\n options: optionsForPlugin,\r\n })));\r\n }\r\n });\r\n if (false) {}\r\n // only apply hydrate to option stores with an initial state in pinia\r\n if (initialState &&\r\n isOptionsStore &&\r\n options.hydrate) {\r\n options.hydrate(store.$state, initialState);\r\n }\r\n isListening = true;\r\n isSyncListening = true;\r\n return store;\r\n}\r\nfunction defineStore(\r\n// TODO: add proper types from above\r\nidOrOptions, setup, setupOptions) {\r\n let id;\r\n let options;\r\n const isSetupStore = typeof setup === 'function';\r\n if (typeof idOrOptions === 'string') {\r\n id = idOrOptions;\r\n // the option store setup will contain the actual options in this case\r\n options = isSetupStore ? setupOptions : setup;\r\n }\r\n else {\r\n options = idOrOptions;\r\n id = idOrOptions.id;\r\n }\r\n function useStore(pinia, hot) {\r\n const currentInstance = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.getCurrentInstance)();\r\n pinia =\r\n // in test mode, ignore the argument provided as we can always retrieve a\r\n // pinia instance with getActivePinia()\r\n ( false ? 0 : pinia) ||\r\n (currentInstance && (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)(piniaSymbol, null));\r\n if (pinia)\r\n setActivePinia(pinia);\r\n if (false) {}\r\n pinia = activePinia;\r\n if (!pinia._s.has(id)) {\r\n // creating the store registers it in `pinia._s`\r\n if (isSetupStore) {\r\n createSetupStore(id, setup, options, pinia);\r\n }\r\n else {\r\n createOptionsStore(id, options, pinia);\r\n }\r\n /* istanbul ignore else */\r\n if ((false)) {}\r\n }\r\n const store = pinia._s.get(id);\r\n if (false) {}\r\n // save stores in instances to access them devtools\r\n if (false) {}\r\n // StoreGeneric cannot be casted towards Store\r\n return store;\r\n }\r\n useStore.$id = id;\r\n return useStore;\r\n}\n\nlet mapStoreSuffix = 'Store';\r\n/**\r\n * Changes the suffix added by `mapStores()`. Can be set to an empty string.\r\n * Defaults to `\"Store\"`. Make sure to extend the MapStoresCustomization\r\n * interface if you are using TypeScript.\r\n *\r\n * @param suffix - new suffix\r\n */\r\nfunction setMapStoreSuffix(suffix // could be 'Store' but that would be annoying for JS\r\n) {\r\n mapStoreSuffix = suffix;\r\n}\r\n/**\r\n * Allows using stores without the composition API (`setup()`) by generating an\r\n * object to be spread in the `computed` field of a component. It accepts a list\r\n * of store definitions.\r\n *\r\n * @example\r\n * ```js\r\n * export default {\r\n * computed: {\r\n * // other computed properties\r\n * ...mapStores(useUserStore, useCartStore)\r\n * },\r\n *\r\n * created() {\r\n * this.userStore // store with id \"user\"\r\n * this.cartStore // store with id \"cart\"\r\n * }\r\n * }\r\n * ```\r\n *\r\n * @param stores - list of stores to map to an object\r\n */\r\nfunction mapStores(...stores) {\r\n if (false) {}\r\n return stores.reduce((reduced, useStore) => {\r\n // @ts-expect-error: $id is added by defineStore\r\n reduced[useStore.$id + mapStoreSuffix] = function () {\r\n return useStore(this.$pinia);\r\n };\r\n return reduced;\r\n }, {});\r\n}\r\n/**\r\n * Allows using state and getters from one store without using the composition\r\n * API (`setup()`) by generating an object to be spread in the `computed` field\r\n * of a component.\r\n *\r\n * @param useStore - store to map from\r\n * @param keysOrMapper - array or object\r\n */\r\nfunction mapState(useStore, keysOrMapper) {\r\n return Array.isArray(keysOrMapper)\r\n ? keysOrMapper.reduce((reduced, key) => {\r\n reduced[key] = function () {\r\n return useStore(this.$pinia)[key];\r\n };\r\n return reduced;\r\n }, {})\r\n : Object.keys(keysOrMapper).reduce((reduced, key) => {\r\n // @ts-expect-error\r\n reduced[key] = function () {\r\n const store = useStore(this.$pinia);\r\n const storeKey = keysOrMapper[key];\r\n // for some reason TS is unable to infer the type of storeKey to be a\r\n // function\r\n return typeof storeKey === 'function'\r\n ? storeKey.call(this, store)\r\n : store[storeKey];\r\n };\r\n return reduced;\r\n }, {});\r\n}\r\n/**\r\n * Alias for `mapState()`. You should use `mapState()` instead.\r\n * @deprecated use `mapState()` instead.\r\n */\r\nconst mapGetters = (/* unused pure expression or super */ null && (0));\r\n/**\r\n * Allows directly using actions from your store without using the composition\r\n * API (`setup()`) by generating an object to be spread in the `methods` field\r\n * of a component.\r\n *\r\n * @param useStore - store to map from\r\n * @param keysOrMapper - array or object\r\n */\r\nfunction mapActions(useStore, keysOrMapper) {\r\n return Array.isArray(keysOrMapper)\r\n ? keysOrMapper.reduce((reduced, key) => {\r\n // @ts-expect-error\r\n reduced[key] = function (...args) {\r\n return useStore(this.$pinia)[key](...args);\r\n };\r\n return reduced;\r\n }, {})\r\n : Object.keys(keysOrMapper).reduce((reduced, key) => {\r\n // @ts-expect-error\r\n reduced[key] = function (...args) {\r\n return useStore(this.$pinia)[keysOrMapper[key]](...args);\r\n };\r\n return reduced;\r\n }, {});\r\n}\r\n/**\r\n * Allows using state and getters from one store without using the composition\r\n * API (`setup()`) by generating an object to be spread in the `computed` field\r\n * of a component.\r\n *\r\n * @param useStore - store to map from\r\n * @param keysOrMapper - array or object\r\n */\r\nfunction mapWritableState(useStore, keysOrMapper) {\r\n return Array.isArray(keysOrMapper)\r\n ? keysOrMapper.reduce((reduced, key) => {\r\n // @ts-ignore\r\n reduced[key] = {\r\n get() {\r\n return useStore(this.$pinia)[key];\r\n },\r\n set(value) {\r\n // it's easier to type it here as any\r\n return (useStore(this.$pinia)[key] = value);\r\n },\r\n };\r\n return reduced;\r\n }, {})\r\n : Object.keys(keysOrMapper).reduce((reduced, key) => {\r\n // @ts-ignore\r\n reduced[key] = {\r\n get() {\r\n return useStore(this.$pinia)[keysOrMapper[key]];\r\n },\r\n set(value) {\r\n // it's easier to type it here as any\r\n return (useStore(this.$pinia)[keysOrMapper[key]] = value);\r\n },\r\n };\r\n return reduced;\r\n }, {});\r\n}\n\n/**\r\n * Creates an object of references with all the state, getters, and plugin-added\r\n * state properties of the store. Similar to `toRefs()` but specifically\r\n * designed for Pinia stores so methods and non reactive properties are\r\n * completely ignored.\r\n *\r\n * @param store - store to extract the refs from\r\n */\r\nfunction storeToRefs(store) {\r\n // See https://github.com/vuejs/pinia/issues/852\r\n // It's easier to just use toRefs() even if it includes more stuff\r\n if (isVue2) {\r\n // @ts-expect-error: toRefs include methods and others\r\n return toRefs(store);\r\n }\r\n else {\r\n store = toRaw(store);\r\n const refs = {};\r\n for (const key in store) {\r\n const value = store[key];\r\n if (isRef(value) || isReactive(value)) {\r\n // @ts-expect-error: the key is state or getter\r\n refs[key] =\r\n // ---\r\n toRef(store, key);\r\n }\r\n }\r\n return refs;\r\n }\r\n}\n\n/**\r\n * Vue 2 Plugin that must be installed for pinia to work. Note **you don't need\r\n * this plugin if you are using Nuxt.js**. Use the `buildModule` instead:\r\n * https://pinia.vuejs.org/ssr/nuxt.html.\r\n *\r\n * @example\r\n * ```js\r\n * import Vue from 'vue'\r\n * import { PiniaVuePlugin, createPinia } from 'pinia'\r\n *\r\n * Vue.use(PiniaVuePlugin)\r\n * const pinia = createPinia()\r\n *\r\n * new Vue({\r\n * el: '#app',\r\n * // ...\r\n * pinia,\r\n * })\r\n * ```\r\n *\r\n * @param _Vue - `Vue` imported from 'vue'.\r\n */\r\nconst PiniaVuePlugin = function (_Vue) {\r\n // Equivalent of\r\n // app.config.globalProperties.$pinia = pinia\r\n _Vue.mixin({\r\n beforeCreate() {\r\n const options = this.$options;\r\n if (options.pinia) {\r\n const pinia = options.pinia;\r\n // HACK: taken from provide(): https://github.com/vuejs/composition-api/blob/main/src/apis/inject.ts#L31\r\n /* istanbul ignore else */\r\n if (!this._provided) {\r\n const provideCache = {};\r\n Object.defineProperty(this, '_provided', {\r\n get: () => provideCache,\r\n set: (v) => Object.assign(provideCache, v),\r\n });\r\n }\r\n this._provided[piniaSymbol] = pinia;\r\n // propagate the pinia instance in an SSR friendly way\r\n // avoid adding it to nuxt twice\r\n /* istanbul ignore else */\r\n if (!this.$pinia) {\r\n this.$pinia = pinia;\r\n }\r\n pinia._a = this;\r\n if (IS_CLIENT) {\r\n // this allows calling useStore() outside of a component setup after\r\n // installing pinia's plugin\r\n setActivePinia(pinia);\r\n }\r\n if (USE_DEVTOOLS) {\r\n registerPiniaDevtools(pinia._a, pinia);\r\n }\r\n }\r\n else if (!this.$pinia && options.parent && options.parent.$pinia) {\r\n this.$pinia = options.parent.$pinia;\r\n }\r\n },\r\n destroyed() {\r\n delete this._pStores;\r\n },\r\n });\r\n};\n\n\n\n;// CONCATENATED MODULE: ../node_modules/tslib/tslib.es6.js\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nfunction __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nfunction __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nfunction __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nfunction __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nvar __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nfunction __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nfunction tslib_es6_values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nfunction __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nfunction __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nfunction __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nfunction __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nfunction __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nfunction __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nfunction __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nfunction __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof tslib_es6_values === \"function\" ? tslib_es6_values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nfunction __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nfunction __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nfunction __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nfunction __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nfunction __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nfunction __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\n;// CONCATENATED MODULE: ../astro/dist/src/index.js\n// Copyright 2020 the .NET Foundation\n// Licensed under the MIT License\n/** The mathematical constant pi, around 3.14. */\nvar PI = 3.14159265358979;\n/** Two times the mathematical constan pi, around 6.28. */\nvar TWOPI = 2 * PI;\n/** Radians-to-degrees conversion factor.\n *\n * ```\n * let degrees = radians * R2D;\n * ```\n */\nvar R2D = 180 / PI;\n/** Degrees-to-radians conversion factor.\n *\n * ```\n * let radians = degrees * D2R;\n * ```\n */\nvar D2R = PI / 180;\n/** Radians-to-hours conversion factor.\n *\n * ```\n * let hours = radians * R2H;\n * ```\n */\nvar R2H = 12 / PI;\n/** Hours-to-radians conversion factor.\n *\n * ```\n * let radians = hours * H2R;\n * ```\n */\nvar H2R = PI / 12;\n/** Degrees-to-hours conversion factor.\n *\n * ```\n * let hours = degrees * D2H;\n * ```\n */\nvar D2H = 12. / 180;\n/** Hours-to-degrees conversion factor.\n *\n * ```\n * let degrees = hours * H2D;\n * ```\n */\nvar H2D = 15;\n/** Normalize an angle in radians to lie between 0 and 2pi.\n *\n * @param angleRad The input angle, in radians.\n * @returns An equivalent angle, also in radians.\n */\nfunction angnorm(angleRad) {\n while (angleRad < 0)\n angleRad += TWOPI;\n while (angleRad >= TWOPI)\n angleRad -= TWOPI;\n return angleRad;\n}\n/**\n * Find the great-circle distance between two points\n *\n * This implementation uses a special case of the Vincenty formula\n * See the last formula in https://en.wikipedia.org/wiki/Great-circle_distance#Computational_formulas\n *\n * @param ra1 The right ascension of the first point, in radians\n * @param dec1 The declination of the first point, in radians\n * @param ra2 The right ascension of the second point, in radians\n * @param dec2 The declination of the second point, in radians\n * @returns The great-circle distance\n */\nfunction distance(ra1, dec1, ra2, dec2) {\n var dAbsRA = Math.abs(ra1 - ra2);\n var nt1 = Math.pow((Math.cos(dec2) * Math.sin(dAbsRA)), 2);\n var nt2 = Math.pow((Math.cos(dec1) * Math.sin(dec2) - Math.sin(dec1) * Math.cos(dec2) * Math.cos(dAbsRA)), 2);\n var num = Math.sqrt(nt1 + nt2);\n var den = Math.sin(dec1) * Math.sin(dec2) + Math.cos(dec1) * Math.cos(dec2) * Math.cos(dAbsRA);\n return Math.atan2(num, den);\n}\nfunction _formatSexagesimal(value, showPlus, padWhole, sep1, sep2, precision) {\n var prefix = \"\";\n if (value < 0) {\n value = -value;\n prefix = \"-\";\n }\n else if (showPlus) {\n prefix = \"+\";\n }\n var whole = Math.floor(value);\n value = (value - whole) * 60;\n var minutes = Math.floor(value);\n value = (value - minutes) * 60;\n var seconds = Math.floor(value);\n var remainder = value - seconds;\n var wText = String(whole).padStart(padWhole, '0');\n var mText = String(minutes).padStart(2, '0');\n var sText = String(seconds).padStart(2, '0');\n var rText = remainder.toFixed(precision).slice(1); // drop the leading \"0\"\n return \"\".concat(prefix).concat(wText).concat(sep1).concat(mText).concat(sep2).concat(sText).concat(rText);\n}\n/** Format an angle, measured in radians, as sexagesimal hours.\n *\n * Before formatting, the angle is normalized to lie within 0-2pi.\n *\n * @param angleRad The angle in radians.\n * @param sep1 The text to put between the hours and the minutes. Defaults to\n * `\":\"`.\n * @param sep2 The text to put between the minutes and the seconds. Defaults to\n * `\":\"`.\n * @param precision The number of places of decimal precision to include in the\n * result. Defaults to 0.\n * @returns The formatted angle.\n */\nfunction fmtHours(angleRad, sep1, sep2, precision) {\n if (sep1 === void 0) { sep1 = \":\"; }\n if (sep2 === void 0) { sep2 = \":\"; }\n if (precision === void 0) { precision = 0; }\n return _formatSexagesimal(angnorm(angleRad) * R2H, false, 2, sep1, sep2, precision);\n}\n/** Format a latitudinal angle, measured in radians, as sexagesimal degrees.\n *\n * If the number is not in the range [-pi, pi], `\" ??${sep1}??${sep2}??\"` is\n * returned.\n *\n * @param angleRad The latitude in radians.\n * @param sep1 The text to put between the degrees and the arcminutes. Defaults\n * to `\":\"`.\n * @param sep2 The text to put between the arcminutes and the arcseconds.\n * Defaults to `\":\"`.\n * @param precision The number of places of decimal precision to include in the\n * result. Defaults to 0.\n * @returns The formatted angle.\n */\nfunction fmtDegLat(angleRad, sep1, sep2, precision) {\n if (sep1 === void 0) { sep1 = \":\"; }\n if (sep2 === void 0) { sep2 = \":\"; }\n if (precision === void 0) { precision = 0; }\n if (angleRad < -PI || angleRad > PI)\n return \" ??\".concat(sep1, \"??\").concat(sep2, \"??\");\n return _formatSexagesimal(angleRad * R2D, true, 2, sep1, sep2, precision);\n}\n/** Format a longitudinal angle, measured in radians, as sexagesimal degrees.\n *\n * Before formatting, the angle is normalized to lie within 0-2pi. The output\n * will be zero-padded to three digits, e.g. `\"000:01:30\"` or `\"359:59:59.123\"`.\n *\n * @param angleRad The longitude in radians.\n * @param sep1 The text to put between the degrees and the arcminutes. Defaults\n * to `\":\"`.\n * @param sep2 The text to put between the arcminutes and the arcseconds.\n * Defaults to `\":\"`.\n * @param precision The number of places of decimal precision to include in the\n * result. Defaults to 0.\n * @returns The formatted angle.\n */\nfunction fmtDegLon(angleRad, sep1, sep2, precision) {\n if (sep1 === void 0) { sep1 = \":\"; }\n if (sep2 === void 0) { sep2 = \":\"; }\n if (precision === void 0) { precision = 0; }\n return _formatSexagesimal(angnorm(angleRad) * R2D, false, 3, sep1, sep2, precision);\n}\n//# sourceMappingURL=index.js.map\n;// CONCATENATED MODULE: ../engine-types/dist/src/index.js\n/* eslint-disable no-unused-vars */\n\n// Copyright 2020-2021 the .NET Foundation\n// Licensed under the MIT License\n//\n// Based types used in the WWT WebGL engine.\n//\n// Try to keep everything alphabetized.\nvar AltTypes;\n(function (AltTypes) {\n AltTypes[AltTypes[\"depth\"] = 0] = \"depth\";\n AltTypes[AltTypes[\"altitude\"] = 1] = \"altitude\";\n AltTypes[AltTypes[\"distance\"] = 2] = \"distance\";\n AltTypes[AltTypes[\"seaLevel\"] = 3] = \"seaLevel\";\n AltTypes[AltTypes[\"terrain\"] = 4] = \"terrain\";\n})(AltTypes || (AltTypes = {}));\nvar AltUnits;\n(function (AltUnits) {\n AltUnits[AltUnits[\"meters\"] = 1] = \"meters\";\n AltUnits[AltUnits[\"feet\"] = 2] = \"feet\";\n AltUnits[AltUnits[\"inches\"] = 3] = \"inches\";\n AltUnits[AltUnits[\"miles\"] = 4] = \"miles\";\n AltUnits[AltUnits[\"kilometers\"] = 5] = \"kilometers\";\n AltUnits[AltUnits[\"astronomicalUnits\"] = 6] = \"astronomicalUnits\";\n AltUnits[AltUnits[\"lightYears\"] = 7] = \"lightYears\";\n AltUnits[AltUnits[\"parsecs\"] = 8] = \"parsecs\";\n AltUnits[AltUnits[\"megaParsecs\"] = 9] = \"megaParsecs\";\n AltUnits[AltUnits[\"custom\"] = 10] = \"custom\";\n})(AltUnits || (AltUnits = {}));\nvar BandPass;\n(function (BandPass) {\n BandPass[BandPass[\"gamma\"] = 0] = \"gamma\";\n BandPass[BandPass[\"xRay\"] = 1] = \"xRay\";\n BandPass[BandPass[\"ultraviolet\"] = 2] = \"ultraviolet\";\n BandPass[BandPass[\"visible\"] = 3] = \"visible\";\n BandPass[BandPass[\"hydrogenAlpha\"] = 4] = \"hydrogenAlpha\";\n BandPass[BandPass[\"IR\"] = 4] = \"IR\";\n BandPass[BandPass[\"microwave\"] = 5] = \"microwave\";\n BandPass[BandPass[\"radio\"] = 6] = \"radio\";\n BandPass[BandPass[\"visibleNight\"] = 6] = \"visibleNight\";\n})(BandPass || (BandPass = {}));\nvar Classification;\n(function (Classification) {\n Classification[Classification[\"star\"] = 1] = \"star\";\n Classification[Classification[\"supernova\"] = 2] = \"supernova\";\n Classification[Classification[\"blackHole\"] = 4] = \"blackHole\";\n Classification[Classification[\"neutronStar\"] = 8] = \"neutronStar\";\n Classification[Classification[\"doubleStar\"] = 16] = \"doubleStar\";\n Classification[Classification[\"multipleStars\"] = 32] = \"multipleStars\";\n Classification[Classification[\"asterism\"] = 64] = \"asterism\";\n Classification[Classification[\"constellation\"] = 128] = \"constellation\";\n Classification[Classification[\"openCluster\"] = 256] = \"openCluster\";\n Classification[Classification[\"globularCluster\"] = 512] = \"globularCluster\";\n Classification[Classification[\"nebulousCluster\"] = 1024] = \"nebulousCluster\";\n Classification[Classification[\"nebula\"] = 2048] = \"nebula\";\n Classification[Classification[\"emissionNebula\"] = 4096] = \"emissionNebula\";\n Classification[Classification[\"planetaryNebula\"] = 8192] = \"planetaryNebula\";\n Classification[Classification[\"reflectionNebula\"] = 16384] = \"reflectionNebula\";\n Classification[Classification[\"darkNebula\"] = 32768] = \"darkNebula\";\n Classification[Classification[\"giantMolecularCloud\"] = 65536] = \"giantMolecularCloud\";\n Classification[Classification[\"supernovaRemnant\"] = 131072] = \"supernovaRemnant\";\n Classification[Classification[\"interstellarDust\"] = 262144] = \"interstellarDust\";\n Classification[Classification[\"quasar\"] = 524288] = \"quasar\";\n Classification[Classification[\"galaxy\"] = 1048576] = \"galaxy\";\n Classification[Classification[\"spiralGalaxy\"] = 2097152] = \"spiralGalaxy\";\n Classification[Classification[\"irregularGalaxy\"] = 4194304] = \"irregularGalaxy\";\n Classification[Classification[\"ellipticalGalaxy\"] = 8388608] = \"ellipticalGalaxy\";\n Classification[Classification[\"knot\"] = 16777216] = \"knot\";\n Classification[Classification[\"plateDefect\"] = 33554432] = \"plateDefect\";\n Classification[Classification[\"clusterOfGalaxies\"] = 67108864] = \"clusterOfGalaxies\";\n Classification[Classification[\"otherNGC\"] = 134217728] = \"otherNGC\";\n Classification[Classification[\"unidentified\"] = 268435456] = \"unidentified\";\n Classification[Classification[\"solarSystem\"] = 536870912] = \"solarSystem\";\n Classification[Classification[\"unfiltered\"] = 1073741823] = \"unfiltered\";\n Classification[Classification[\"stellar\"] = 63] = \"stellar\";\n Classification[Classification[\"stellarGroupings\"] = 2032] = \"stellarGroupings\";\n Classification[Classification[\"nebulae\"] = 523264] = \"nebulae\";\n Classification[Classification[\"galactic\"] = 133693440] = \"galactic\";\n Classification[Classification[\"other\"] = 436207616] = \"other\";\n})(Classification || (Classification = {}));\nvar CoordinatesType;\n(function (CoordinatesType) {\n CoordinatesType[CoordinatesType[\"spherical\"] = 0] = \"spherical\";\n CoordinatesType[CoordinatesType[\"rectangular\"] = 1] = \"rectangular\";\n CoordinatesType[CoordinatesType[\"orbital\"] = 2] = \"orbital\";\n})(CoordinatesType || (CoordinatesType = {}));\nvar DataTypes;\n(function (DataTypes) {\n DataTypes[DataTypes[\"byteT\"] = 0] = \"byteT\";\n DataTypes[DataTypes[\"int16T\"] = 1] = \"int16T\";\n DataTypes[DataTypes[\"int32T\"] = 2] = \"int32T\";\n DataTypes[DataTypes[\"floatT\"] = 3] = \"floatT\";\n DataTypes[DataTypes[\"doubleT\"] = 4] = \"doubleT\";\n DataTypes[DataTypes[\"none\"] = 5] = \"none\";\n})(DataTypes || (DataTypes = {}));\nvar FadeType;\n(function (FadeType) {\n FadeType[FadeType[\"fadeIn\"] = 1] = \"fadeIn\";\n FadeType[FadeType[\"fadeOut\"] = 2] = \"fadeOut\";\n FadeType[FadeType[\"both\"] = 3] = \"both\";\n FadeType[FadeType[\"none\"] = 4] = \"none\";\n})(FadeType || (FadeType = {}));\nvar FolderGroup;\n(function (FolderGroup) {\n FolderGroup[FolderGroup[\"explorer\"] = 0] = \"explorer\";\n FolderGroup[FolderGroup[\"tour\"] = 1] = \"tour\";\n FolderGroup[FolderGroup[\"search\"] = 2] = \"search\";\n FolderGroup[FolderGroup[\"constellation\"] = 3] = \"constellation\";\n FolderGroup[FolderGroup[\"view\"] = 4] = \"view\";\n FolderGroup[FolderGroup[\"goTo\"] = 5] = \"goTo\";\n FolderGroup[FolderGroup[\"community\"] = 6] = \"community\";\n FolderGroup[FolderGroup[\"context\"] = 7] = \"context\";\n FolderGroup[FolderGroup[\"voTable\"] = 8] = \"voTable\";\n FolderGroup[FolderGroup[\"imageStack\"] = 9] = \"imageStack\";\n})(FolderGroup || (FolderGroup = {}));\nvar FolderRefreshType;\n(function (FolderRefreshType) {\n FolderRefreshType[FolderRefreshType[\"interval\"] = 0] = \"interval\";\n FolderRefreshType[FolderRefreshType[\"conditionalGet\"] = 1] = \"conditionalGet\";\n FolderRefreshType[FolderRefreshType[\"viewChange\"] = 2] = \"viewChange\";\n})(FolderRefreshType || (FolderRefreshType = {}));\nvar FolderType;\n(function (FolderType) {\n FolderType[FolderType[\"earth\"] = 0] = \"earth\";\n FolderType[FolderType[\"planet\"] = 1] = \"planet\";\n FolderType[FolderType[\"sky\"] = 2] = \"sky\";\n FolderType[FolderType[\"panorama\"] = 3] = \"panorama\";\n})(FolderType || (FolderType = {}));\nvar ImageSetType;\n(function (ImageSetType) {\n ImageSetType[ImageSetType[\"earth\"] = 0] = \"earth\";\n ImageSetType[ImageSetType[\"planet\"] = 1] = \"planet\";\n ImageSetType[ImageSetType[\"sky\"] = 2] = \"sky\";\n ImageSetType[ImageSetType[\"panorama\"] = 3] = \"panorama\";\n ImageSetType[ImageSetType[\"solarSystem\"] = 4] = \"solarSystem\";\n ImageSetType[ImageSetType[\"sandbox\"] = 5] = \"sandbox\";\n})(ImageSetType || (ImageSetType = {}));\nvar MarkerScales;\n(function (MarkerScales) {\n MarkerScales[MarkerScales[\"screen\"] = 0] = \"screen\";\n MarkerScales[MarkerScales[\"world\"] = 1] = \"world\";\n})(MarkerScales || (MarkerScales = {}));\nvar PlotTypes;\n(function (PlotTypes) {\n PlotTypes[PlotTypes[\"gaussian\"] = 0] = \"gaussian\";\n PlotTypes[PlotTypes[\"point\"] = 1] = \"point\";\n PlotTypes[PlotTypes[\"circle\"] = 2] = \"circle\";\n PlotTypes[PlotTypes[\"square\"] = 3] = \"square\";\n PlotTypes[PlotTypes[\"pushPin\"] = 4] = \"pushPin\";\n PlotTypes[PlotTypes[\"custom\"] = 5] = \"custom\";\n})(PlotTypes || (PlotTypes = {}));\nvar PointScaleTypes;\n(function (PointScaleTypes) {\n PointScaleTypes[PointScaleTypes[\"linear\"] = 0] = \"linear\";\n PointScaleTypes[PointScaleTypes[\"power\"] = 1] = \"power\";\n PointScaleTypes[PointScaleTypes[\"log\"] = 2] = \"log\";\n PointScaleTypes[PointScaleTypes[\"constant\"] = 3] = \"constant\";\n PointScaleTypes[PointScaleTypes[\"stellarMagnitude\"] = 4] = \"stellarMagnitude\";\n})(PointScaleTypes || (PointScaleTypes = {}));\nvar ProjectionType;\n(function (ProjectionType) {\n ProjectionType[ProjectionType[\"mercator\"] = 0] = \"mercator\";\n ProjectionType[ProjectionType[\"equirectangular\"] = 1] = \"equirectangular\";\n ProjectionType[ProjectionType[\"tangent\"] = 2] = \"tangent\";\n ProjectionType[ProjectionType[\"tan\"] = 2] = \"tan\";\n ProjectionType[ProjectionType[\"toast\"] = 3] = \"toast\";\n ProjectionType[ProjectionType[\"spherical\"] = 4] = \"spherical\";\n ProjectionType[ProjectionType[\"skyImage\"] = 5] = \"skyImage\";\n ProjectionType[ProjectionType[\"plotted\"] = 6] = \"plotted\";\n})(ProjectionType || (ProjectionType = {}));\nvar RAUnits;\n(function (RAUnits) {\n RAUnits[RAUnits[\"hours\"] = 0] = \"hours\";\n RAUnits[RAUnits[\"degrees\"] = 1] = \"degrees\";\n})(RAUnits || (RAUnits = {}));\nvar ReferenceFrames;\n(function (ReferenceFrames) {\n ReferenceFrames[ReferenceFrames[\"sky\"] = 0] = \"sky\";\n ReferenceFrames[ReferenceFrames[\"ecliptic\"] = 1] = \"ecliptic\";\n ReferenceFrames[ReferenceFrames[\"galactic\"] = 2] = \"galactic\";\n ReferenceFrames[ReferenceFrames[\"sun\"] = 3] = \"sun\";\n ReferenceFrames[ReferenceFrames[\"mercury\"] = 4] = \"mercury\";\n ReferenceFrames[ReferenceFrames[\"venus\"] = 5] = \"venus\";\n ReferenceFrames[ReferenceFrames[\"earth\"] = 6] = \"earth\";\n ReferenceFrames[ReferenceFrames[\"mars\"] = 7] = \"mars\";\n ReferenceFrames[ReferenceFrames[\"jupiter\"] = 8] = \"jupiter\";\n ReferenceFrames[ReferenceFrames[\"saturn\"] = 9] = \"saturn\";\n ReferenceFrames[ReferenceFrames[\"uranus\"] = 10] = \"uranus\";\n ReferenceFrames[ReferenceFrames[\"neptune\"] = 11] = \"neptune\";\n ReferenceFrames[ReferenceFrames[\"pluto\"] = 12] = \"pluto\";\n ReferenceFrames[ReferenceFrames[\"moon\"] = 13] = \"moon\";\n ReferenceFrames[ReferenceFrames[\"io\"] = 14] = \"io\";\n ReferenceFrames[ReferenceFrames[\"europa\"] = 15] = \"europa\";\n ReferenceFrames[ReferenceFrames[\"ganymede\"] = 16] = \"ganymede\";\n ReferenceFrames[ReferenceFrames[\"callisto\"] = 17] = \"callisto\";\n ReferenceFrames[ReferenceFrames[\"custom\"] = 18] = \"custom\";\n ReferenceFrames[ReferenceFrames[\"identity\"] = 19] = \"identity\";\n ReferenceFrames[ReferenceFrames[\"sandbox\"] = 20] = \"sandbox\";\n})(ReferenceFrames || (ReferenceFrames = {}));\nvar ReferenceFrameTypes;\n(function (ReferenceFrameTypes) {\n ReferenceFrameTypes[ReferenceFrameTypes[\"fixedSherical\"] = 0] = \"fixedSherical\";\n ReferenceFrameTypes[ReferenceFrameTypes[\"orbital\"] = 1] = \"orbital\";\n ReferenceFrameTypes[ReferenceFrameTypes[\"trajectory\"] = 2] = \"trajectory\";\n ReferenceFrameTypes[ReferenceFrameTypes[\"synodic\"] = 3] = \"synodic\";\n})(ReferenceFrameTypes || (ReferenceFrameTypes = {}));\nvar ScaleTypes;\n(function (ScaleTypes) {\n ScaleTypes[ScaleTypes[\"linear\"] = 0] = \"linear\";\n ScaleTypes[ScaleTypes[\"log\"] = 1] = \"log\";\n ScaleTypes[ScaleTypes[\"power\"] = 2] = \"power\";\n ScaleTypes[ScaleTypes[\"squareRoot\"] = 3] = \"squareRoot\";\n ScaleTypes[ScaleTypes[\"histogramEqualization\"] = 4] = \"histogramEqualization\";\n})(ScaleTypes || (ScaleTypes = {}));\nvar SolarSystemObjects;\n(function (SolarSystemObjects) {\n SolarSystemObjects[SolarSystemObjects[\"sun\"] = 0] = \"sun\";\n SolarSystemObjects[SolarSystemObjects[\"mercury\"] = 1] = \"mercury\";\n SolarSystemObjects[SolarSystemObjects[\"venus\"] = 2] = \"venus\";\n SolarSystemObjects[SolarSystemObjects[\"mars\"] = 3] = \"mars\";\n SolarSystemObjects[SolarSystemObjects[\"jupiter\"] = 4] = \"jupiter\";\n SolarSystemObjects[SolarSystemObjects[\"saturn\"] = 5] = \"saturn\";\n SolarSystemObjects[SolarSystemObjects[\"uranus\"] = 6] = \"uranus\";\n SolarSystemObjects[SolarSystemObjects[\"neptune\"] = 7] = \"neptune\";\n SolarSystemObjects[SolarSystemObjects[\"pluto\"] = 8] = \"pluto\";\n SolarSystemObjects[SolarSystemObjects[\"moon\"] = 9] = \"moon\";\n SolarSystemObjects[SolarSystemObjects[\"io\"] = 10] = \"io\";\n SolarSystemObjects[SolarSystemObjects[\"europa\"] = 11] = \"europa\";\n SolarSystemObjects[SolarSystemObjects[\"ganymede\"] = 12] = \"ganymede\";\n SolarSystemObjects[SolarSystemObjects[\"callisto\"] = 13] = \"callisto\";\n SolarSystemObjects[SolarSystemObjects[\"ioShadow\"] = 14] = \"ioShadow\";\n SolarSystemObjects[SolarSystemObjects[\"europaShadow\"] = 15] = \"europaShadow\";\n SolarSystemObjects[SolarSystemObjects[\"ganymedeShadow\"] = 16] = \"ganymedeShadow\";\n SolarSystemObjects[SolarSystemObjects[\"callistoShadow\"] = 17] = \"callistoShadow\";\n SolarSystemObjects[SolarSystemObjects[\"sunEclipsed\"] = 18] = \"sunEclipsed\";\n SolarSystemObjects[SolarSystemObjects[\"earth\"] = 19] = \"earth\";\n SolarSystemObjects[SolarSystemObjects[\"custom\"] = 20] = \"custom\";\n SolarSystemObjects[SolarSystemObjects[\"undefined\"] = 65536] = \"undefined\";\n})(SolarSystemObjects || (SolarSystemObjects = {}));\n// I'm not aware of any smart TypeScripty way to automate the construction of this table :-(\nvar baseEngineSettingTypeInfo = {\n \"actualPlanetScale/boolean\": true,\n \"constellations/boolean\": true,\n \"constellationBoundryColor/string\": true,\n \"constellationFigureColor/string\": true,\n \"constellationsEnabled/string\": true,\n \"constellationSelectionColor/string\": true,\n \"crosshairsColor/string\": true,\n \"earthCutawayView/boolean\": true,\n //\"fovCamera/number\": true, // skipping because not settable\n //\"fovEyepiece/number\": true, // skipping because not settable\n //\"fovTelescope/number\": true, // skipping because not settable\n \"localHorizonMode/boolean\": true,\n \"galacticMode/boolean\": true,\n \"locationAltitude/number\": true,\n \"locationLat/number\": true,\n \"locationLng/number\": true,\n \"milkyWayModel/boolean\": true,\n \"showAltAzGrid/boolean\": true,\n \"showAltAzGridText/boolean\": true,\n //\"showClouds/boolean\": true, // skipping because not settable\n \"showConstellations/boolean\": true,\n \"showConstellationBoundries/boolean\": true,\n \"showConstellationFigures/boolean\": true,\n \"showConstellationLabels/boolean\": true,\n \"showConstellationPictures/boolean\": true,\n \"showConstellationSelection/boolean\": true,\n \"showCrosshairs/boolean\": true,\n \"showEarthSky/boolean\": true,\n \"showEcliptic/boolean\": true,\n \"showEclipticGrid/boolean\": true,\n \"showEclipticGridText/boolean\": true,\n \"showEclipticOverviewText/boolean\": true,\n \"showElevationModel/boolean\": true,\n \"showEquatorialGridText/boolean\": true,\n //\"showFieldOfView/boolean\": true, // skipping because not settable\n \"showGalacticGrid/boolean\": true,\n \"showGalacticGridText/boolean\": true,\n \"showGrid/boolean\": true,\n \"showHorizon/boolean\": true,\n //\"showHorizonPanorama/boolean\": true, // skipping because not settable\n \"showISSModel/boolean\": true,\n //\"showMoonsAsPointSource/boolean\": true, // skipping because not settable\n \"showPrecessionChart/boolean\": true,\n \"showSkyGrids/boolean\": true,\n \"showSkyNode/boolean\": true,\n \"showSkyOverlays/boolean\": true,\n \"showSkyOverlaysIn3d/boolean\": true,\n \"showSolarSystem/boolean\": true,\n \"smoothPan/boolean\": true,\n \"solarSystemCMB/boolean\": true,\n \"solarSystemCosmos/boolean\": true,\n \"solarSystemMilkyWay/boolean\": true,\n \"solarSystemOrbits/boolean\": true,\n \"solarSystemOverlays/boolean\": true,\n \"solarSystemLighting/boolean\": true,\n \"solarSystemMultiRes/boolean\": true,\n \"solarSystemMinorPlanets/boolean\": true,\n \"solarSystemMinorOrbits/boolean\": true,\n \"solarSystemPlanets/boolean\": true,\n \"solarSystemStars/boolean\": true,\n \"minorPlanetsFilter/number\": true,\n \"planetOrbitsFilter/number\": true,\n \"solarSystemScale/number\": true,\n};\n/** Type guard function for BaseEngineSetting. */\nfunction src_isBaseEngineSetting(obj) {\n var key = obj[0] + \"/\" + typeof obj[1];\n return (key in baseEngineSettingTypeInfo);\n}\nvar baseLayerSettingTypeInfo = {\n \"astronomical/boolean\": true,\n \"enabled/boolean\": true,\n \"fadeSpan/number\": true,\n \"name/string\": true,\n \"opacity/number\": true,\n \"opened/boolean\": true,\n \"referenceFrame/string\": true,\n \"version/number\": true,\n};\n/** Type guard function for BaseLayerSetting. */\nfunction src_isBaseLayerSetting(obj) {\n var key = obj[0] + \"/\" + typeof obj[1];\n return key in baseLayerSettingTypeInfo;\n}\nvar baseImageSetLayerSettingTypeInfo = {\n \"colorMapperName/string\": true,\n \"overrideDefaultLayer/boolean\": true,\n};\n/** Type guard function for BaseImageSetLayerSetting. */\nfunction src_isBaseImageSetLayerSetting(obj) {\n var key = obj[0] + \"/\" + typeof obj[1];\n return (key in baseImageSetLayerSettingTypeInfo) || src_isBaseLayerSetting(obj);\n}\n// See implementation below -- we need to handle enums specially\n// to make sure that inputs are in-range.\nvar baseSpreadSheetLayerSettingTypeInfo = {\n \"altColumn/number\": \"\",\n \"altType/number\": \"AltTypes\",\n \"altUnit/number\": \"AltUnits\",\n \"barChartBitmask/number\": \"\",\n \"beginRange/Date\": \"\",\n \"cartesianCustomScale/number\": \"\",\n \"cartesianScale/number\": \"AltUnits\",\n \"colorMapColumn/number\": \"\",\n \"colorMapperName/string\": \"\",\n \"coordinatesType/number\": \"CoordinatesType\",\n \"decay/number\": \"\",\n \"dynamicColor/boolean\": \"\",\n \"dynamicData/boolean\": \"\",\n \"endDateColumn/number\": \"\",\n \"endRange/Date\": \"\",\n \"geometryColumn/number\": \"\",\n \"hyperlinkColumn/number\": \"\",\n \"hyperlinkFormat/string\": \"\",\n \"latColumn/number\": \"\",\n \"lngColumn/number\": \"\",\n \"markerColumn/number\": \"\",\n \"markerIndex/number\": \"\",\n \"markerScale/number\": \"\",\n \"nameColumn/number\": \"\",\n \"normalizeColorMap/boolean\": \"\",\n \"normalizeColorMapMax/number\": \"\",\n \"normalizeColorMapMin/number\": \"\",\n \"normalizeSize/boolean\": \"\",\n \"normalizeSizeClip/boolean\": \"\",\n \"normalizeSizeMax/number\": \"\",\n \"normalizeSizeMin/number\": \"\",\n \"plotType/number\": \"PlotTypes\",\n \"pointScaleType/number\": \"PointScaleTypes\",\n \"raUnits/number\": \"RAUnits\",\n \"scaleFactor/number\": \"\",\n \"showFarSide/boolean\": \"\",\n \"sizeColumn/number\": \"\",\n \"startDateColumn/number\": \"\",\n \"timeSeries/boolean\": \"\",\n \"xAxisColumn/number\": \"\",\n \"xAxisReverse/boolean\": \"\",\n \"yAxisColumn/number\": \"\",\n \"yAxisReverse/boolean\": \"\",\n \"zAxisColumn/number\": \"\",\n \"zAxisReverse/boolean\": \"\",\n};\n/** Type guard function for BaseSpreadSheetLayerSetting. */\nfunction src_isBaseSpreadSheetLayerSetting(obj) {\n if (src_isBaseLayerSetting(obj))\n return true;\n // We want to be able to properly recognize Date objects\n var type = obj[1] instanceof Date ? 'Date' : typeof obj[1];\n var key = obj[0] + \"/\" + type;\n var enumType = baseSpreadSheetLayerSettingTypeInfo[key];\n if (enumType === undefined) {\n return false;\n }\n else if (enumType == \"\") {\n return true;\n }\n else if (enumType == \"AltTypes\") {\n return obj[1] in AltTypes;\n }\n else if (enumType == \"AltUnits\") {\n return obj[1] in AltUnits;\n }\n else if (enumType == \"CoordinatesType\") {\n return obj[1] in CoordinatesType;\n }\n else if (enumType == \"PlotTypes\") {\n return obj[1] in PlotTypes;\n }\n else if (enumType == \"PointScaleTypes\") {\n return obj[1] in PointScaleTypes;\n }\n else if (enumType == \"RAUnits\") {\n return obj[1] in RAUnits;\n }\n else {\n throw new Error('internal bug isBaseSpreadSheetLayerSetting');\n }\n}\n// See implementation below -- we need to handle enums specially\n// to make sure that inputs are in-range.\nvar baseVoTableLayerSettingTypeInfo = {\n \"altColumn/number\": \"\",\n \"altType/number\": \"AltTypes\",\n \"altUnit/number\": \"AltUnits\",\n \"beginRange/Date\": \"\",\n \"cartesianCustomScale/number\": \"\",\n \"cartesianScale/number\": \"AltUnits\",\n \"colorMapColumn/number\": \"\",\n \"coordinatesType/number\": \"CoordinatesType\",\n \"dataSourceUrl/string\": \"\",\n \"decay/number\": \"\",\n \"dynamicData/boolean\": \"\",\n \"endDateColumn/number\": \"\",\n \"endRange/Date\": \"\",\n \"hyperlinkColumn/number\": \"\",\n \"hyperlinkFormat/string\": \"\",\n \"latColumn/number\": \"\",\n \"lngColumn/number\": \"\",\n \"markerColumn/number\": \"\",\n \"markerIndex/number\": \"\",\n \"markerScale/number\": \"\",\n \"nameColumn/number\": \"\",\n \"plotType/number\": \"PlotTypes\",\n \"pointScaleType/number\": \"PointScaleTypes\",\n \"raUnits/number\": \"RAUnits\",\n \"scaleFactor/number\": \"\",\n \"showFarSide/boolean\": \"\",\n \"sizeColumn/number\": \"\",\n \"startDateColumn/number\": \"\",\n \"timeSeries/boolean\": \"\",\n \"xAxisColumn/number\": \"\",\n \"xAxisReverse/boolean\": \"\",\n \"yAxisColumn/number\": \"\",\n \"yAxisReverse/boolean\": \"\",\n \"zAxisColumn/number\": \"\",\n \"zAxisReverse/boolean\": \"\",\n};\n/** Type guard function for BaseVoTableLayerSetting. */\nfunction src_isBaseVoTableLayerSetting(obj) {\n if (src_isBaseLayerSetting(obj))\n return true;\n var key = obj[0] + \"/\" + typeof obj[1];\n var enumType = baseVoTableLayerSettingTypeInfo[key];\n if (enumType === undefined) {\n return false;\n }\n else if (enumType == \"\") {\n return true;\n }\n else if (enumType == \"AltTypes\") {\n return obj[1] in AltTypes;\n }\n else if (enumType == \"AltUnits\") {\n return obj[1] in AltUnits;\n }\n else if (enumType == \"CoordinatesType\") {\n return obj[1] in CoordinatesType;\n }\n else if (enumType == \"PlotTypes\") {\n return obj[1] in PlotTypes;\n }\n else if (enumType == \"PointScaleTypes\") {\n return obj[1] in PointScaleTypes;\n }\n else if (enumType == \"RAUnits\") {\n return obj[1] in RAUnits;\n }\n else {\n throw new Error('internal bug isBaseVoTableLayerSetting');\n }\n}\nfunction keysOf(o) { return Object.keys(o); } // eslint-disable-line @typescript-eslint/explicit-function-return-type, @typescript-eslint/no-explicit-any\nfunction enumLookup(stringEnum, s) {\n var e_1, _a;\n try {\n for (var _b = __values(keysOf(stringEnum)), _c = _b.next(); !_c.done; _c = _b.next()) {\n var enumKey = _c.value;\n if (stringEnum[enumKey] === s) {\n return stringEnum[enumKey];\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return undefined;\n}\n//# sourceMappingURL=index.js.map\n// EXTERNAL MODULE: external {\"amd\":\"@wwtelescope/engine\",\"commonjs2\":\"@wwtelescope/engine\",\"commonjs\":\"@wwtelescope/engine\",\"root\":\"wwtlib\"}\nvar engine_root_wwtlib_ = __nested_webpack_require_1513__(415);\n;// CONCATENATED MODULE: ../engine-helpers/dist/src/layer.js\n// Copyright 2020-2021 the .NET Foundation\n// Licensed under the MIT License\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/** Helpers for handling generic layers settings. */\n\n\n/** A list of the names of the available settings for generic layers. */\nvar layerSettingNames = [\n \"astronomical\",\n \"color\",\n \"enabled\",\n \"fadeSpan\",\n \"name\",\n \"opacity\",\n \"opened\",\n \"referenceFrame\",\n \"version\",\n];\nvar layerSettingTypeInfo = {\n \"color/Color\": true,\n};\n/** Type guard function for `LayerSetting`. */\nfunction layer_isLayerSetting(obj) {\n var typekey = typeof obj[1];\n if (obj[1] instanceof Color) {\n typekey = \"Color\";\n }\n var key = obj[0] + \"/\" + typekey;\n return (key in layerSettingTypeInfo) || isBaseLayerSetting(obj);\n}\n/** Apply a setting to a generic `Layer` or equivalent. */\nfunction applyLayerSetting(layer, setting) {\n var funcName = \"set_\" + setting[0];\n var value = setting[1];\n layer[funcName](value);\n}\n/** Extract all of the current settings of a `Layer` or equivalent. */\nfunction layer_extractLayerSettings(layer) {\n var e_1, _a;\n var s = [];\n try {\n for (var layerSettingNames_1 = __values(layerSettingNames), layerSettingNames_1_1 = layerSettingNames_1.next(); !layerSettingNames_1_1.done; layerSettingNames_1_1 = layerSettingNames_1.next()) {\n var n = layerSettingNames_1_1.value;\n s.push([n, layer[\"get_\" + n]()]);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (layerSettingNames_1_1 && !layerSettingNames_1_1.done && (_a = layerSettingNames_1.return)) _a.call(layerSettingNames_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return s;\n}\n/** Copy settings from one `Layer`, or equivalent, to another. */\nfunction copyLayerSettings(source, dest) {\n var e_2, _a;\n try {\n for (var layerSettingNames_2 = tslib_es6_values(layerSettingNames), layerSettingNames_2_1 = layerSettingNames_2.next(); !layerSettingNames_2_1.done; layerSettingNames_2_1 = layerSettingNames_2.next()) {\n var n = layerSettingNames_2_1.value;\n dest[\"set_\" + n](source[\"get_\" + n]());\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (layerSettingNames_2_1 && !layerSettingNames_2_1.done && (_a = layerSettingNames_2.return)) _a.call(layerSettingNames_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n}\n/** A plain-old-data class implementing `LayerSettingsInterface`. */\nvar LayerState = /** @class */ (function () {\n // Maybe possible to use remapped keys to create this type?:\n // https://www.typescriptlang.org/docs/handbook/2/mapped-types.html#key-remapping-via-as\n // Don't think we can implement functions, though, and we're currently (Aug\n // 2021) on TypeScript 3.9, while the above requires 4.1.\n function LayerState(source) {\n copyLayerSettings(source, this);\n }\n LayerState.prototype.get_astronomical = function () {\n return this.astronomical;\n };\n LayerState.prototype.set_astronomical = function (v) {\n this.astronomical = v;\n return v;\n };\n LayerState.prototype.get_color = function () {\n return this.color;\n };\n LayerState.prototype.set_color = function (v) {\n this.color = v;\n return v;\n };\n LayerState.prototype.get_enabled = function () {\n return this.enabled;\n };\n LayerState.prototype.set_enabled = function (v) {\n this.enabled = v;\n return v;\n };\n LayerState.prototype.get_endTime = function () {\n return this.endTime;\n };\n LayerState.prototype.set_endTime = function (v) {\n this.endTime = v;\n return v;\n };\n LayerState.prototype.get_fadeSpan = function () {\n return this.fadeSpan;\n };\n LayerState.prototype.set_fadeSpan = function (v) {\n this.fadeSpan = v;\n return v;\n };\n LayerState.prototype.get_fadeType = function () {\n return this.fadeType;\n };\n LayerState.prototype.set_fadeType = function (v) {\n this.fadeType = v;\n return v;\n };\n LayerState.prototype.get_name = function () {\n return this.name;\n };\n LayerState.prototype.set_name = function (v) {\n this.name = v;\n return v;\n };\n LayerState.prototype.get_opacity = function () {\n return this.opacity;\n };\n LayerState.prototype.set_opacity = function (v) {\n this.opacity = v;\n return v;\n };\n LayerState.prototype.get_opened = function () {\n return this.opened;\n };\n LayerState.prototype.set_opened = function (v) {\n this.opened = v;\n return v;\n };\n LayerState.prototype.get_referenceFrame = function () {\n return this.referenceFrame;\n };\n LayerState.prototype.set_referenceFrame = function (v) {\n this.referenceFrame = v;\n return v;\n };\n LayerState.prototype.get_startTime = function () {\n return this.startTime;\n };\n LayerState.prototype.set_startTime = function (v) {\n this.startTime = v;\n return v;\n };\n LayerState.prototype.get_version = function () {\n return this.version;\n };\n LayerState.prototype.set_version = function (v) {\n this.version = v;\n return v;\n };\n return LayerState;\n}());\n\n//# sourceMappingURL=layer.js.map\n;// CONCATENATED MODULE: ../engine-helpers/dist/src/imagesetlayer.js\n// Copyright 2020-2021 the .NET Foundation\n// Licensed under the MIT License\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/** Helpers for handling imageset layer settings. */\n\n\nvar justImageSetLayerSettingNames = [\n \"colorMapperName\",\n \"overrideDefaultLayer\",\n];\n/** A list of the names of the available settings for `ImageSetLayer`\n * instances and their equivalents (things implementing\n * [[ImageSetLayerSettingsInterface]]).\n *\n * This is a superset of the names available for generic layers.\n*/\nvar imageSetLayerSettingNames = layerSettingNames.concat(justImageSetLayerSettingNames);\n/** Type guard function for `ImageSetLayerSetting`. */\nfunction isImageSetLayerSetting(obj) {\n // No special settings specific to non-base ImageSetLayerSetting.\n return isLayerSetting(obj) || isBaseImageSetLayerSetting(obj);\n}\n/** Apply a setting to a `ImageSetLayer` or equivalent. */\nfunction applyImageSetLayerSetting(layer, setting) {\n var funcName = \"set_\" + setting[0];\n var value = setting[1];\n layer[funcName](value);\n}\n/** Extract all of the current settings of a `ImageSetLayer` or equivalent. */\nfunction extractImageSetLayerSettings(layer) {\n var e_1, _a;\n var s = extractLayerSettings(layer);\n try {\n for (var justImageSetLayerSettingNames_1 = __values(justImageSetLayerSettingNames), justImageSetLayerSettingNames_1_1 = justImageSetLayerSettingNames_1.next(); !justImageSetLayerSettingNames_1_1.done; justImageSetLayerSettingNames_1_1 = justImageSetLayerSettingNames_1.next()) {\n var n = justImageSetLayerSettingNames_1_1.value;\n s.push([n, layer[\"get_\" + n]()]);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (justImageSetLayerSettingNames_1_1 && !justImageSetLayerSettingNames_1_1.done && (_a = justImageSetLayerSettingNames_1.return)) _a.call(justImageSetLayerSettingNames_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return s;\n}\n/** Copy settings from one `ImageSetLayer`, or equivalent, to another. */\nfunction copyImageSetLayerSettings(source, dest) {\n var e_2, _a;\n copyLayerSettings(source, dest);\n try {\n for (var justImageSetLayerSettingNames_2 = tslib_es6_values(justImageSetLayerSettingNames), justImageSetLayerSettingNames_2_1 = justImageSetLayerSettingNames_2.next(); !justImageSetLayerSettingNames_2_1.done; justImageSetLayerSettingNames_2_1 = justImageSetLayerSettingNames_2.next()) {\n var n = justImageSetLayerSettingNames_2_1.value;\n dest[\"set_\" + n](source[\"get_\" + n]());\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (justImageSetLayerSettingNames_2_1 && !justImageSetLayerSettingNames_2_1.done && (_a = justImageSetLayerSettingNames_2.return)) _a.call(justImageSetLayerSettingNames_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n}\n/** A plain-old-data class implementing `ImageSetLayerSettingsInterface`. */\nvar imagesetlayer_ImageSetLayerState = /** @class */ (function (_super) {\n __extends(ImageSetLayerState, _super);\n function ImageSetLayerState(source) {\n var _this = \n // Here we redundantly copy the generic Layer settings, but TypeScript\n // requires the super() call. Oh well.\n _super.call(this, source) || this;\n copyImageSetLayerSettings(source, _this);\n return _this;\n }\n ImageSetLayerState.prototype.get_colorMapperName = function () {\n return this.colorMapperName;\n };\n ImageSetLayerState.prototype.set_colorMapperName = function (v) {\n this.colorMapperName = v;\n return v;\n };\n ImageSetLayerState.prototype.get_overrideDefaultLayer = function () {\n return this.overrideDefaultLayer;\n };\n ImageSetLayerState.prototype.set_overrideDefaultLayer = function (v) {\n this.overrideDefaultLayer = v;\n return v;\n };\n return ImageSetLayerState;\n}(LayerState));\n\n//# sourceMappingURL=imagesetlayer.js.map\n;// CONCATENATED MODULE: ../engine-helpers/dist/src/spreadsheetlayer.js\n// Copyright 2020-2021 the .NET Foundation\n// Licensed under the MIT License\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/** Helpers for handling \"spreadsheet\" layer settings. */\n\n\nvar justSpreadSheetLayerSettingNames = [\n \"altColumn\",\n \"altType\",\n \"altUnit\",\n \"barChartBitmask\",\n \"beginRange\",\n \"cartesianCustomScale\",\n \"cartesianScale\",\n \"colorMapColumn\",\n \"colorMapperName\",\n \"coordinatesType\",\n \"decay\",\n \"dynamicColor\",\n \"dynamicData\",\n \"endDateColumn\",\n \"endRange\",\n \"geometryColumn\",\n \"hyperlinkColumn\",\n \"hyperlinkFormat\",\n \"latColumn\",\n \"lngColumn\",\n \"markerColumn\",\n \"markerIndex\",\n \"markerScale\",\n \"nameColumn\",\n \"normalizeColorMap\",\n \"normalizeColorMapMax\",\n \"normalizeColorMapMin\",\n \"normalizeSize\",\n \"normalizeSizeClip\",\n \"normalizeSizeMax\",\n \"normalizeSizeMin\",\n \"plotType\",\n \"pointScaleType\",\n \"raUnits\",\n \"scaleFactor\",\n \"showFarSide\",\n \"sizeColumn\",\n \"startDateColumn\",\n \"timeSeries\",\n \"xAxisColumn\",\n \"xAxisReverse\",\n \"yAxisColumn\",\n \"yAxisReverse\",\n \"zAxisColumn\",\n \"zAxisReverse\",\n];\n/** A list of the names of the available settings for `SpreadSheetLayer`\n * instances and their equivalents (things implementing\n * [[SpreadSheetLayerSettingsInterface]]).\n *\n * This is a superset of the names available for generic layers.\n*/\nvar spreadSheetLayerSettingNames = layerSettingNames.concat(justSpreadSheetLayerSettingNames);\n/** Type guard function for `SpreadSheetLayerSetting`. */\nfunction isSpreadSheetLayerSetting(obj) {\n // No special settings specific to non-base SpreadSheetLayerSetting.\n return isLayerSetting(obj) || isBaseSpreadSheetLayerSetting(obj);\n}\n/** Apply a setting to a `SpreadSheetLayer` or equivalent. */\nfunction applySpreadSheetLayerSetting(layer, setting) {\n var funcName = \"set_\" + setting[0];\n var value = setting[1]; // eslint-disable-line @typescript-eslint/no-explicit-any\n layer[funcName](value); // eslint-disable-line @typescript-eslint/no-explicit-any\n}\n/** Extract all of the current settings of a `SpreadSheetLayer` or equivalent. */\nfunction extractSpreadSheetLayerSettings(layer) {\n var e_1, _a;\n var s = extractLayerSettings(layer);\n try {\n for (var justSpreadSheetLayerSettingNames_1 = __values(justSpreadSheetLayerSettingNames), justSpreadSheetLayerSettingNames_1_1 = justSpreadSheetLayerSettingNames_1.next(); !justSpreadSheetLayerSettingNames_1_1.done; justSpreadSheetLayerSettingNames_1_1 = justSpreadSheetLayerSettingNames_1.next()) {\n var n = justSpreadSheetLayerSettingNames_1_1.value;\n s.push([n, layer[\"get_\" + n]()]);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (justSpreadSheetLayerSettingNames_1_1 && !justSpreadSheetLayerSettingNames_1_1.done && (_a = justSpreadSheetLayerSettingNames_1.return)) _a.call(justSpreadSheetLayerSettingNames_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return s;\n}\n/** Copy settings from one `SpreadSheetLayer`, or equivalent, to another. */\nfunction copySpreadSheetLayerSettings(source, dest) {\n var e_2, _a;\n copyLayerSettings(source, dest);\n try {\n for (var justSpreadSheetLayerSettingNames_2 = tslib_es6_values(justSpreadSheetLayerSettingNames), justSpreadSheetLayerSettingNames_2_1 = justSpreadSheetLayerSettingNames_2.next(); !justSpreadSheetLayerSettingNames_2_1.done; justSpreadSheetLayerSettingNames_2_1 = justSpreadSheetLayerSettingNames_2.next()) {\n var n = justSpreadSheetLayerSettingNames_2_1.value;\n dest[\"set_\" + n](source[\"get_\" + n]());\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (justSpreadSheetLayerSettingNames_2_1 && !justSpreadSheetLayerSettingNames_2_1.done && (_a = justSpreadSheetLayerSettingNames_2.return)) _a.call(justSpreadSheetLayerSettingNames_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n}\n/** A plain-old-data class implementing `SpreadSheetLayerSettingsInterface`. */\nvar SpreadSheetLayerState = /** @class */ (function (_super) {\n __extends(SpreadSheetLayerState, _super);\n function SpreadSheetLayerState(source) {\n var _this = \n // Here we redundantly copy the generic Layer settings, but TypeScript\n // requires the super() call. Oh well.\n _super.call(this, source) || this;\n copySpreadSheetLayerSettings(source, _this);\n return _this;\n }\n SpreadSheetLayerState.prototype.get_altColumn = function () {\n return this.altColumn;\n };\n SpreadSheetLayerState.prototype.set_altColumn = function (v) {\n this.altColumn = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_altType = function () {\n return this.altType;\n };\n SpreadSheetLayerState.prototype.set_altType = function (v) {\n this.altType = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_altUnit = function () {\n return this.altUnit;\n };\n SpreadSheetLayerState.prototype.set_altUnit = function (v) {\n this.altUnit = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_barChartBitmask = function () {\n return this.barChartBitmask;\n };\n SpreadSheetLayerState.prototype.set_barChartBitmask = function (v) {\n this.barChartBitmask = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_beginRange = function () {\n return this.beginRange;\n };\n SpreadSheetLayerState.prototype.set_beginRange = function (v) {\n this.beginRange = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_cartesianCustomScale = function () {\n return this.cartesianCustomScale;\n };\n SpreadSheetLayerState.prototype.set_cartesianCustomScale = function (v) {\n this.cartesianCustomScale = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_cartesianScale = function () {\n return this.cartesianScale;\n };\n SpreadSheetLayerState.prototype.set_cartesianScale = function (v) {\n this.cartesianScale = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_colorMapColumn = function () {\n return this.colorMapColumn;\n };\n SpreadSheetLayerState.prototype.set_colorMapColumn = function (v) {\n this.colorMapColumn = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_colorMapperName = function () {\n return this.colorMapperName;\n };\n SpreadSheetLayerState.prototype.set_colorMapperName = function (v) {\n this.colorMapperName = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_coordinatesType = function () {\n return this.coordinatesType;\n };\n SpreadSheetLayerState.prototype.set_coordinatesType = function (v) {\n this.coordinatesType = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_decay = function () {\n return this.decay;\n };\n SpreadSheetLayerState.prototype.set_decay = function (v) {\n this.decay = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_dynamicColor = function () {\n return this.dynamicColor;\n };\n SpreadSheetLayerState.prototype.set_dynamicColor = function (v) {\n this.dynamicColor = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_dynamicData = function () {\n return this.dynamicData;\n };\n SpreadSheetLayerState.prototype.set_dynamicData = function (v) {\n this.dynamicData = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_endDateColumn = function () {\n return this.endDateColumn;\n };\n SpreadSheetLayerState.prototype.set_endDateColumn = function (v) {\n this.endDateColumn = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_endRange = function () {\n return this.endRange;\n };\n SpreadSheetLayerState.prototype.set_endRange = function (v) {\n this.endRange = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_geometryColumn = function () {\n return this.geometryColumn;\n };\n SpreadSheetLayerState.prototype.set_geometryColumn = function (v) {\n this.geometryColumn = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_hyperlinkColumn = function () {\n return this.hyperlinkColumn;\n };\n SpreadSheetLayerState.prototype.set_hyperlinkColumn = function (v) {\n this.hyperlinkColumn = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_hyperlinkFormat = function () {\n return this.hyperlinkFormat;\n };\n SpreadSheetLayerState.prototype.set_hyperlinkFormat = function (v) {\n this.hyperlinkFormat = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_latColumn = function () {\n return this.latColumn;\n };\n SpreadSheetLayerState.prototype.set_latColumn = function (v) {\n this.latColumn = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_lngColumn = function () {\n return this.lngColumn;\n };\n SpreadSheetLayerState.prototype.set_lngColumn = function (v) {\n this.lngColumn = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_markerColumn = function () {\n return this.markerColumn;\n };\n SpreadSheetLayerState.prototype.set_markerColumn = function (v) {\n this.markerColumn = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_markerIndex = function () {\n return this.markerIndex;\n };\n SpreadSheetLayerState.prototype.set_markerIndex = function (v) {\n this.markerIndex = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_markerScale = function () {\n return this.markerScale;\n };\n SpreadSheetLayerState.prototype.set_markerScale = function (v) {\n this.markerScale = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_nameColumn = function () {\n return this.nameColumn;\n };\n SpreadSheetLayerState.prototype.set_nameColumn = function (v) {\n this.nameColumn = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_normalizeColorMap = function () {\n return this.normalizeColorMap;\n };\n SpreadSheetLayerState.prototype.set_normalizeColorMap = function (v) {\n this.normalizeColorMap = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_normalizeColorMapMax = function () {\n return this.normalizeColorMapMax;\n };\n SpreadSheetLayerState.prototype.set_normalizeColorMapMax = function (v) {\n this.normalizeColorMapMax = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_normalizeColorMapMin = function () {\n return this.normalizeColorMapMin;\n };\n SpreadSheetLayerState.prototype.set_normalizeColorMapMin = function (v) {\n this.normalizeColorMapMin = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_normalizeSize = function () {\n return this.normalizeSize;\n };\n SpreadSheetLayerState.prototype.set_normalizeSize = function (v) {\n this.normalizeSize = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_normalizeSizeClip = function () {\n return this.normalizeSizeClip;\n };\n SpreadSheetLayerState.prototype.set_normalizeSizeClip = function (v) {\n this.normalizeSizeClip = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_normalizeSizeMax = function () {\n return this.normalizeSizeMax;\n };\n SpreadSheetLayerState.prototype.set_normalizeSizeMax = function (v) {\n this.normalizeSizeMax = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_normalizeSizeMin = function () {\n return this.normalizeSizeMin;\n };\n SpreadSheetLayerState.prototype.set_normalizeSizeMin = function (v) {\n this.normalizeSizeMin = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_plotType = function () {\n return this.plotType;\n };\n SpreadSheetLayerState.prototype.set_plotType = function (v) {\n this.plotType = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_pointScaleType = function () {\n return this.pointScaleType;\n };\n SpreadSheetLayerState.prototype.set_pointScaleType = function (v) {\n this.pointScaleType = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_raUnits = function () {\n return this.raUnits;\n };\n SpreadSheetLayerState.prototype.set_raUnits = function (v) {\n this.raUnits = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_scaleFactor = function () {\n return this.scaleFactor;\n };\n SpreadSheetLayerState.prototype.set_scaleFactor = function (v) {\n this.scaleFactor = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_showFarSide = function () {\n return this.showFarSide;\n };\n SpreadSheetLayerState.prototype.set_showFarSide = function (v) {\n this.showFarSide = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_sizeColumn = function () {\n return this.sizeColumn;\n };\n SpreadSheetLayerState.prototype.set_sizeColumn = function (v) {\n this.sizeColumn = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_startDateColumn = function () {\n return this.startDateColumn;\n };\n SpreadSheetLayerState.prototype.set_startDateColumn = function (v) {\n this.startDateColumn = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_timeSeries = function () {\n return this.timeSeries;\n };\n SpreadSheetLayerState.prototype.set_timeSeries = function (v) {\n this.timeSeries = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_xAxisColumn = function () {\n return this.xAxisColumn;\n };\n SpreadSheetLayerState.prototype.set_xAxisColumn = function (v) {\n this.xAxisColumn = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_xAxisReverse = function () {\n return this.xAxisReverse;\n };\n SpreadSheetLayerState.prototype.set_xAxisReverse = function (v) {\n this.xAxisReverse = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_yAxisColumn = function () {\n return this.yAxisColumn;\n };\n SpreadSheetLayerState.prototype.set_yAxisColumn = function (v) {\n this.yAxisColumn = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_yAxisReverse = function () {\n return this.yAxisReverse;\n };\n SpreadSheetLayerState.prototype.set_yAxisReverse = function (v) {\n this.yAxisReverse = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_zAxisColumn = function () {\n return this.zAxisColumn;\n };\n SpreadSheetLayerState.prototype.set_zAxisColumn = function (v) {\n this.zAxisColumn = v;\n return v;\n };\n SpreadSheetLayerState.prototype.get_zAxisReverse = function () {\n return this.zAxisReverse;\n };\n SpreadSheetLayerState.prototype.set_zAxisReverse = function (v) {\n this.zAxisReverse = v;\n return v;\n };\n return SpreadSheetLayerState;\n}(LayerState));\n\n//# sourceMappingURL=spreadsheetlayer.js.map\n;// CONCATENATED MODULE: ../engine-helpers/dist/src/annotation.js\n// Copyright 2020-2021 the .NET Foundation\n// Licensed under the MIT License\n\n/** A list of the names of the available settings for annotations. */\nvar annotationSettingNames = [\n \"id\",\n \"label\",\n \"opacity\",\n \"showHoverLabel\",\n \"tag\",\n];\nvar annotationSettingTypeInfo = {\n \"id/string\": true,\n \"label/string\": true,\n \"opacity/number\": true,\n \"showHoverLabel/boolean\": true,\n \"tag/string\": true,\n};\n/** Type guard function for `AnnotationSetting`. */\nfunction annotation_isAnnotationSetting(obj) {\n var key = obj[0] + \"/\" + typeof obj[1];\n return key in annotationSettingTypeInfo;\n}\n/** Apply a setting to a generic `Annotation` or equivalent. */\nfunction applyAnnotationSetting(annotation, setting) {\n var funcName = \"set_\" + setting[0];\n var value = setting[1];\n annotation[funcName](value);\n}\n/** Extract all of the current settings of a `Annotation` or equivalent. */\nfunction annotation_extractAnnotationSettings(annotation) {\n var e_1, _a;\n var s = [];\n try {\n for (var annotationSettingNames_1 = __values(annotationSettingNames), annotationSettingNames_1_1 = annotationSettingNames_1.next(); !annotationSettingNames_1_1.done; annotationSettingNames_1_1 = annotationSettingNames_1.next()) {\n var n = annotationSettingNames_1_1.value;\n s.push([n, annotation[\"get_\" + n]()]);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (annotationSettingNames_1_1 && !annotationSettingNames_1_1.done && (_a = annotationSettingNames_1.return)) _a.call(annotationSettingNames_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return s;\n}\n/** Copy settings from one `Annotation`, or equivalent, to another. */\nfunction copyAnnotationSettings(source, dest) {\n var e_2, _a;\n try {\n for (var annotationSettingNames_2 = tslib_es6_values(annotationSettingNames), annotationSettingNames_2_1 = annotationSettingNames_2.next(); !annotationSettingNames_2_1.done; annotationSettingNames_2_1 = annotationSettingNames_2.next()) {\n var n = annotationSettingNames_2_1.value;\n dest[\"set_\" + n](source[\"get_\" + n]());\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (annotationSettingNames_2_1 && !annotationSettingNames_2_1.done && (_a = annotationSettingNames_2.return)) _a.call(annotationSettingNames_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n}\n/** A plain-old-data class implementing `AnnotationSettingsInterface`. */\nvar AnnotationState = /** @class */ (function () {\n function AnnotationState(source) {\n copyAnnotationSettings(source, this);\n }\n AnnotationState.prototype.get_id = function () {\n return this.id;\n };\n AnnotationState.prototype.set_id = function (v) {\n this.id = v;\n return v;\n };\n AnnotationState.prototype.get_label = function () {\n return this.label;\n };\n AnnotationState.prototype.set_label = function (v) {\n this.label = v;\n return v;\n };\n AnnotationState.prototype.get_opacity = function () {\n return this.opacity;\n };\n AnnotationState.prototype.set_opacity = function (v) {\n this.opacity = v;\n return v;\n };\n AnnotationState.prototype.get_showHoverLabel = function () {\n return this.showHoverLabel;\n };\n AnnotationState.prototype.set_showHoverLabel = function (v) {\n this.showHoverLabel = v;\n return v;\n };\n AnnotationState.prototype.get_tag = function () {\n return this.tag;\n };\n AnnotationState.prototype.set_tag = function (v) {\n this.tag = v;\n return v;\n };\n return AnnotationState;\n}());\n\n//# sourceMappingURL=annotation.js.map\n;// CONCATENATED MODULE: ../engine-helpers/dist/src/circleannotation.js\n// Copyright 2020-2021 the .NET Foundation\n// Licensed under the MIT License\n\n\nvar justCircleAnnotationSettingNames = [\n \"fill\",\n \"fillColor\",\n \"lineColor\",\n \"lineWidth\",\n \"radius\",\n \"skyRelative\",\n];\n/** A list of the names of the available settings for `CircleAnnotation`\n * instances and their equivalents (things implementing\n * [[CircleAnnotationSettingsInterface]]).\n *\n * This is a superset of the names available for generic annotations.\n*/\nvar circleAnnotationSettingNames = annotationSettingNames.concat(justCircleAnnotationSettingNames);\nvar circleAnnotationSettingTypeInfo = {\n \"fill/boolean\": true,\n \"fillColor/string\": true,\n \"lineColor/string\": true,\n \"lineWidth/number\": true,\n \"radius/number\": true,\n \"skyRelative/boolean\": true,\n};\n/** Type guard function for `CircleAnnotationSetting`. */\nfunction isCircleAnnotationSetting(obj) {\n var key = obj[0] + \"/\" + typeof obj[1];\n return (key in circleAnnotationSettingTypeInfo) || isAnnotationSetting(obj);\n}\n/** Apply a setting to a generic `CircleAnnotation` or equivalent. */\nfunction applyCircleAnnotationSetting(circle, setting) {\n var funcName = \"set_\" + setting[0];\n var value = setting[1];\n circle[funcName](value);\n}\n/** Extract all of the current settings of a `CircleAnnotation` or equivalent. */\nfunction extractCircleAnnotationSettings(circle) {\n var e_1, _a;\n var s = extractAnnotationSettings(circle);\n try {\n for (var justCircleAnnotationSettingNames_1 = __values(justCircleAnnotationSettingNames), justCircleAnnotationSettingNames_1_1 = justCircleAnnotationSettingNames_1.next(); !justCircleAnnotationSettingNames_1_1.done; justCircleAnnotationSettingNames_1_1 = justCircleAnnotationSettingNames_1.next()) {\n var n = justCircleAnnotationSettingNames_1_1.value;\n s.push([n, circle[\"get_\" + n]()]);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (justCircleAnnotationSettingNames_1_1 && !justCircleAnnotationSettingNames_1_1.done && (_a = justCircleAnnotationSettingNames_1.return)) _a.call(justCircleAnnotationSettingNames_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return s;\n}\n/** Copy settings from one `CircleAnnotation`, or equivalent, to another. */\nfunction copyCircleAnnotationSettings(source, dest) {\n var e_2, _a;\n copyAnnotationSettings(source, dest);\n try {\n for (var justCircleAnnotationSettingNames_2 = tslib_es6_values(justCircleAnnotationSettingNames), justCircleAnnotationSettingNames_2_1 = justCircleAnnotationSettingNames_2.next(); !justCircleAnnotationSettingNames_2_1.done; justCircleAnnotationSettingNames_2_1 = justCircleAnnotationSettingNames_2.next()) {\n var n = justCircleAnnotationSettingNames_2_1.value;\n dest[\"set_\" + n](source[\"get_\" + n]());\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (justCircleAnnotationSettingNames_2_1 && !justCircleAnnotationSettingNames_2_1.done && (_a = justCircleAnnotationSettingNames_2.return)) _a.call(justCircleAnnotationSettingNames_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n}\n/** A plain-old-data class implementing `CircleAnnotationSettingsInterface`. */\nvar CircleAnnotationState = /** @class */ (function (_super) {\n __extends(CircleAnnotationState, _super);\n function CircleAnnotationState(source) {\n var _this = _super.call(this, source) || this;\n copyCircleAnnotationSettings(source, _this);\n return _this;\n }\n CircleAnnotationState.prototype.get_fill = function () {\n return this.fill;\n };\n CircleAnnotationState.prototype.set_fill = function (v) {\n this.fill = v;\n return v;\n };\n CircleAnnotationState.prototype.get_fillColor = function () {\n return this.fillColor;\n };\n CircleAnnotationState.prototype.set_fillColor = function (v) {\n this.fillColor = v;\n return v;\n };\n CircleAnnotationState.prototype.get_lineColor = function () {\n return this.lineColor;\n };\n CircleAnnotationState.prototype.set_lineColor = function (v) {\n this.lineColor = v;\n return v;\n };\n CircleAnnotationState.prototype.get_lineWidth = function () {\n return this.lineWidth;\n };\n CircleAnnotationState.prototype.set_lineWidth = function (v) {\n this.lineWidth = v;\n return v;\n };\n CircleAnnotationState.prototype.get_radius = function () {\n return this.radius;\n };\n CircleAnnotationState.prototype.set_radius = function (v) {\n this.radius = v;\n return v;\n };\n CircleAnnotationState.prototype.get_skyRelative = function () {\n return this.skyRelative;\n };\n CircleAnnotationState.prototype.set_skyRelative = function (v) {\n this.skyRelative = v;\n return v;\n };\n return CircleAnnotationState;\n}(AnnotationState));\n\n//# sourceMappingURL=circleannotation.js.map\n;// CONCATENATED MODULE: ../engine-helpers/dist/src/engine.js\n// Copyright 2020-2021 the .NET Foundation\n// Licensed under the MIT License\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/** Helpers for handling core engine settings. */\n\n\n/** A list of the names of the core engine settings. */\nvar engineSettingNames = [\n \"actualPlanetScale\",\n \"constellationArtFilter\",\n \"constellationBoundariesFilter\",\n \"constellationFigureColor\",\n \"constellationFiguresFilter\",\n \"constellationBoundryColor\",\n \"constellationNamesFilter\",\n \"constellations\",\n \"constellationSelectionColor\",\n \"constellationsEnabled\",\n \"crosshairsColor\",\n \"earthCutawayView\",\n \"galacticMode\",\n \"localHorizonMode\",\n \"locationAltitude\",\n \"locationLat\",\n \"locationLng\",\n \"milkyWayModel\",\n \"minorPlanetsFilter\",\n \"planetOrbitsFilter\",\n \"showAltAzGrid\",\n \"showAltAzGridText\",\n \"showConstellationBoundries\",\n \"showConstellationFigures\",\n \"showConstellationLabels\",\n \"showConstellationPictures\",\n \"showConstellations\",\n \"showConstellationSelection\",\n \"showCrosshairs\",\n \"showEarthSky\",\n \"showEcliptic\",\n \"showEclipticGrid\",\n \"showEclipticGridText\",\n \"showEclipticOverviewText\",\n \"showElevationModel\",\n \"showEquatorialGridText\",\n \"showGalacticGrid\",\n \"showGalacticGridText\",\n \"showGrid\",\n \"showHorizon\",\n \"showISSModel\",\n \"showPrecessionChart\",\n \"showSkyGrids\",\n \"showSkyOverlays\",\n \"showSkyOverlaysIn3d\",\n \"showSkyNode\",\n \"showSolarSystem\",\n \"smoothPan\",\n \"solarSystemCMB\",\n \"solarSystemCosmos\",\n \"solarSystemLighting\",\n \"solarSystemMilkyWay\",\n \"solarSystemMinorPlanets\",\n \"solarSystemMultiRes\",\n \"solarSystemOrbits\",\n \"solarSystemOverlays\",\n \"solarSystemPlanets\",\n \"solarSystemScale\",\n \"solarSystemStars\",\n \"solarSystemMinorOrbits\",\n];\nvar engineSettingTypeInfo = {\n \"constellationArtFilter/ConstellationFilter\": true,\n \"constellationBoundariesFilter/ConstellationFilter\": true,\n \"constellationBoundryColor/Color\": true,\n \"constellationFigureColor/Color\": true,\n \"constellationFiguresFilter/ConstellationFilter\": true,\n \"constellationNamesFilter/ConstellationFilter\": true,\n \"constellationSelectionColor/Color\": true,\n \"crosshairsColor/Color\": true,\n};\n/** Type guard function for `EngineSetting`. */\nfunction isEngineSetting(obj) {\n var typekey = typeof obj[1];\n if (obj[1] instanceof Color) {\n typekey = \"Color\";\n }\n else if (obj[1] instanceof ConstellationFilter) {\n typekey = \"ConstellationFilter\";\n }\n var key = obj[0] + \"/\" + typekey;\n return isBaseEngineSetting(obj) || (key in engineSettingTypeInfo);\n}\n/** Apply a setting to the engine or an equivalent. */\nfunction applyEngineSetting(engine, setting) {\n var funcName = \"set_\" + setting[0];\n var value = setting[1];\n engine[funcName](value);\n}\n/** Extract all of the current settings of the engine or an equivalent. */\nfunction extractEngineSettings(engine) {\n var e_1, _a;\n var s = [];\n try {\n for (var engineSettingNames_1 = __values(engineSettingNames), engineSettingNames_1_1 = engineSettingNames_1.next(); !engineSettingNames_1_1.done; engineSettingNames_1_1 = engineSettingNames_1.next()) {\n var n = engineSettingNames_1_1.value;\n s.push([n, engine[\"get_\" + n]()]);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (engineSettingNames_1_1 && !engineSettingNames_1_1.done && (_a = engineSettingNames_1.return)) _a.call(engineSettingNames_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return s;\n}\n/** Copy settings from the engine, or an equivalent, to another. */\nfunction copyEngineSettings(source, dest) {\n var e_2, _a;\n try {\n for (var engineSettingNames_2 = tslib_es6_values(engineSettingNames), engineSettingNames_2_1 = engineSettingNames_2.next(); !engineSettingNames_2_1.done; engineSettingNames_2_1 = engineSettingNames_2.next()) {\n var n = engineSettingNames_2_1.value;\n dest[\"set_\" + n](source[\"get_\" + n]());\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (engineSettingNames_2_1 && !engineSettingNames_2_1.done && (_a = engineSettingNames_2.return)) _a.call(engineSettingNames_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n}\n/** A plain-old-data class implementing `EngineSettingsInterface`. */\nvar EngineState = /** @class */ (function () {\n function EngineState(source) {\n copyEngineSettings(source, this);\n }\n EngineState.prototype.get_actualPlanetScale = function () {\n return this.actualPlanetScale;\n };\n EngineState.prototype.set_actualPlanetScale = function (v) {\n this.actualPlanetScale = v;\n return v;\n };\n EngineState.prototype.get_constellationArtFilter = function () {\n return this.constellationArtFilter;\n };\n EngineState.prototype.set_constellationArtFilter = function (v) {\n this.constellationArtFilter = v;\n return v;\n };\n EngineState.prototype.get_constellationBoundariesFilter = function () {\n return this.constellationBoundariesFilter;\n };\n EngineState.prototype.set_constellationBoundariesFilter = function (v) {\n this.constellationBoundariesFilter = v;\n return v;\n };\n EngineState.prototype.get_constellationFigureColor = function () {\n return this.constellationFigureColor;\n };\n EngineState.prototype.set_constellationFigureColor = function (v) {\n this.constellationFigureColor = v;\n return v;\n };\n EngineState.prototype.get_constellationFiguresFilter = function () {\n return this.constellationFiguresFilter;\n };\n EngineState.prototype.set_constellationFiguresFilter = function (v) {\n this.constellationFiguresFilter = v;\n return v;\n };\n EngineState.prototype.get_constellationBoundryColor = function () {\n return this.constellationBoundryColor;\n };\n EngineState.prototype.set_constellationBoundryColor = function (v) {\n this.constellationBoundryColor = v;\n return v;\n };\n EngineState.prototype.get_constellationNamesFilter = function () {\n return this.constellationNamesFilter;\n };\n EngineState.prototype.set_constellationNamesFilter = function (v) {\n this.constellationNamesFilter = v;\n return v;\n };\n EngineState.prototype.get_constellations = function () {\n return this.constellations;\n };\n EngineState.prototype.set_constellations = function (v) {\n this.constellations = v;\n return v;\n };\n EngineState.prototype.get_constellationSelectionColor = function () {\n return this.constellationSelectionColor;\n };\n EngineState.prototype.set_constellationSelectionColor = function (v) {\n this.constellationSelectionColor = v;\n return v;\n };\n EngineState.prototype.get_constellationsEnabled = function () {\n return this.constellationsEnabled;\n };\n EngineState.prototype.set_constellationsEnabled = function (v) {\n this.constellationsEnabled = v;\n return v;\n };\n EngineState.prototype.get_crosshairsColor = function () {\n return this.crosshairsColor;\n };\n EngineState.prototype.set_crosshairsColor = function (v) {\n this.crosshairsColor = v;\n return v;\n };\n EngineState.prototype.get_earthCutawayView = function () {\n return this.earthCutawayView;\n };\n EngineState.prototype.set_earthCutawayView = function (v) {\n this.earthCutawayView = v;\n return v;\n };\n EngineState.prototype.get_galacticMode = function () {\n return this.galacticMode;\n };\n EngineState.prototype.set_galacticMode = function (v) {\n this.galacticMode = v;\n return v;\n };\n EngineState.prototype.get_localHorizonMode = function () {\n return this.localHorizonMode;\n };\n EngineState.prototype.set_localHorizonMode = function (v) {\n this.localHorizonMode = v;\n return v;\n };\n EngineState.prototype.get_locationAltitude = function () {\n return this.locationAltitude;\n };\n EngineState.prototype.set_locationAltitude = function (v) {\n this.locationAltitude = v;\n return v;\n };\n EngineState.prototype.get_locationLat = function () {\n return this.locationLat;\n };\n EngineState.prototype.set_locationLat = function (v) {\n this.locationLat = v;\n return v;\n };\n EngineState.prototype.get_locationLng = function () {\n return this.locationLng;\n };\n EngineState.prototype.set_locationLng = function (v) {\n this.locationLng = v;\n return v;\n };\n EngineState.prototype.get_milkyWayModel = function () {\n return this.milkyWayModel;\n };\n EngineState.prototype.set_milkyWayModel = function (v) {\n this.milkyWayModel = v;\n return v;\n };\n EngineState.prototype.get_minorPlanetsFilter = function () {\n return this.minorPlanetsFilter;\n };\n EngineState.prototype.set_minorPlanetsFilter = function (v) {\n this.minorPlanetsFilter = v;\n return v;\n };\n EngineState.prototype.get_planetOrbitsFilter = function () {\n return this.planetOrbitsFilter;\n };\n EngineState.prototype.set_planetOrbitsFilter = function (v) {\n this.planetOrbitsFilter = v;\n return v;\n };\n EngineState.prototype.get_showAltAzGrid = function () {\n return this.showAltAzGrid;\n };\n EngineState.prototype.set_showAltAzGrid = function (v) {\n this.showAltAzGrid = v;\n return v;\n };\n EngineState.prototype.get_showAltAzGridText = function () {\n return this.showAltAzGridText;\n };\n EngineState.prototype.set_showAltAzGridText = function (v) {\n this.showAltAzGridText = v;\n return v;\n };\n EngineState.prototype.get_showConstellationBoundries = function () {\n return this.showConstellationBoundries;\n };\n EngineState.prototype.set_showConstellationBoundries = function (v) {\n this.showConstellationBoundries = v;\n return v;\n };\n EngineState.prototype.get_showConstellationFigures = function () {\n return this.showConstellationFigures;\n };\n EngineState.prototype.set_showConstellationFigures = function (v) {\n this.showConstellationFigures = v;\n return v;\n };\n EngineState.prototype.get_showConstellationLabels = function () {\n return this.showConstellationLabels;\n };\n EngineState.prototype.set_showConstellationLabels = function (v) {\n this.showConstellationLabels = v;\n return v;\n };\n EngineState.prototype.get_showConstellationPictures = function () {\n return this.showConstellationPictures;\n };\n EngineState.prototype.set_showConstellationPictures = function (v) {\n this.showConstellationPictures = v;\n return v;\n };\n EngineState.prototype.get_showConstellations = function () {\n return this.showConstellations;\n };\n EngineState.prototype.set_showConstellations = function (v) {\n this.showConstellations = v;\n return v;\n };\n EngineState.prototype.get_showConstellationSelection = function () {\n return this.showConstellationSelection;\n };\n EngineState.prototype.set_showConstellationSelection = function (v) {\n this.showConstellationSelection = v;\n return v;\n };\n EngineState.prototype.get_showCrosshairs = function () {\n return this.showCrosshairs;\n };\n EngineState.prototype.set_showCrosshairs = function (v) {\n this.showCrosshairs = v;\n return v;\n };\n EngineState.prototype.get_showEarthSky = function () {\n return this.showEarthSky;\n };\n EngineState.prototype.set_showEarthSky = function (v) {\n this.showEarthSky = v;\n return v;\n };\n EngineState.prototype.get_showEcliptic = function () {\n return this.showEcliptic;\n };\n EngineState.prototype.set_showEcliptic = function (v) {\n this.showEcliptic = v;\n return v;\n };\n EngineState.prototype.get_showEclipticGrid = function () {\n return this.showEclipticGrid;\n };\n EngineState.prototype.set_showEclipticGrid = function (v) {\n this.showEclipticGrid = v;\n return v;\n };\n EngineState.prototype.get_showEclipticGridText = function () {\n return this.showEclipticGridText;\n };\n EngineState.prototype.set_showEclipticGridText = function (v) {\n this.showEclipticGridText = v;\n return v;\n };\n EngineState.prototype.get_showEclipticOverviewText = function () {\n return this.showEclipticOverviewText;\n };\n EngineState.prototype.set_showEclipticOverviewText = function (v) {\n this.showEclipticOverviewText = v;\n return v;\n };\n EngineState.prototype.get_showElevationModel = function () {\n return this.showElevationModel;\n };\n EngineState.prototype.set_showElevationModel = function (v) {\n this.showElevationModel = v;\n return v;\n };\n EngineState.prototype.get_showEquatorialGridText = function () {\n return this.showEquatorialGridText;\n };\n EngineState.prototype.set_showEquatorialGridText = function (v) {\n this.showEquatorialGridText = v;\n return v;\n };\n EngineState.prototype.get_showGalacticGrid = function () {\n return this.showGalacticGrid;\n };\n EngineState.prototype.set_showGalacticGrid = function (v) {\n this.showGalacticGrid = v;\n return v;\n };\n EngineState.prototype.get_showGalacticGridText = function () {\n return this.showGalacticGridText;\n };\n EngineState.prototype.set_showGalacticGridText = function (v) {\n this.showGalacticGridText = v;\n return v;\n };\n EngineState.prototype.get_showGrid = function () {\n return this.showGrid;\n };\n EngineState.prototype.set_showGrid = function (v) {\n this.showGrid = v;\n return v;\n };\n EngineState.prototype.get_showHorizon = function () {\n return this.showHorizon;\n };\n EngineState.prototype.set_showHorizon = function (v) {\n this.showHorizon = v;\n return v;\n };\n EngineState.prototype.get_showISSModel = function () {\n return this.showISSModel;\n };\n EngineState.prototype.set_showISSModel = function (v) {\n this.showISSModel = v;\n return v;\n };\n EngineState.prototype.get_showPrecessionChart = function () {\n return this.showPrecessionChart;\n };\n EngineState.prototype.set_showPrecessionChart = function (v) {\n this.showPrecessionChart = v;\n return v;\n };\n EngineState.prototype.get_showSkyGrids = function () {\n return this.showSkyGrids;\n };\n EngineState.prototype.set_showSkyGrids = function (v) {\n this.showSkyGrids = v;\n return v;\n };\n EngineState.prototype.get_showSkyOverlays = function () {\n return this.showSkyOverlays;\n };\n EngineState.prototype.set_showSkyOverlays = function (v) {\n this.showSkyOverlays = v;\n return v;\n };\n EngineState.prototype.get_showSkyOverlaysIn3d = function () {\n return this.showSkyOverlaysIn3d;\n };\n EngineState.prototype.set_showSkyOverlaysIn3d = function (v) {\n this.showSkyOverlaysIn3d = v;\n return v;\n };\n EngineState.prototype.get_showSkyNode = function () {\n return this.showSkyNode;\n };\n EngineState.prototype.set_showSkyNode = function (v) {\n this.showSkyNode = v;\n return v;\n };\n EngineState.prototype.get_showSolarSystem = function () {\n return this.showSolarSystem;\n };\n EngineState.prototype.set_showSolarSystem = function (v) {\n this.showSolarSystem = v;\n return v;\n };\n EngineState.prototype.get_smoothPan = function () {\n return this.smoothPan;\n };\n EngineState.prototype.set_smoothPan = function (v) {\n this.smoothPan = v;\n return v;\n };\n EngineState.prototype.get_solarSystemCMB = function () {\n return this.solarSystemCMB;\n };\n EngineState.prototype.set_solarSystemCMB = function (v) {\n this.solarSystemCMB = v;\n return v;\n };\n EngineState.prototype.get_solarSystemCosmos = function () {\n return this.solarSystemCosmos;\n };\n EngineState.prototype.set_solarSystemCosmos = function (v) {\n this.solarSystemCosmos = v;\n return v;\n };\n EngineState.prototype.get_solarSystemLighting = function () {\n return this.solarSystemLighting;\n };\n EngineState.prototype.set_solarSystemLighting = function (v) {\n this.solarSystemLighting = v;\n return v;\n };\n EngineState.prototype.get_solarSystemMilkyWay = function () {\n return this.solarSystemMilkyWay;\n };\n EngineState.prototype.set_solarSystemMilkyWay = function (v) {\n this.solarSystemMilkyWay = v;\n return v;\n };\n EngineState.prototype.get_solarSystemMinorPlanets = function () {\n return this.solarSystemMinorPlanets;\n };\n EngineState.prototype.set_solarSystemMinorPlanets = function (v) {\n this.solarSystemMinorPlanets = v;\n return v;\n };\n EngineState.prototype.get_solarSystemMultiRes = function () {\n return this.solarSystemMultiRes;\n };\n EngineState.prototype.set_solarSystemMultiRes = function (v) {\n this.solarSystemMultiRes = v;\n return v;\n };\n EngineState.prototype.get_solarSystemOrbits = function () {\n return this.solarSystemOrbits;\n };\n EngineState.prototype.set_solarSystemOrbits = function (v) {\n this.solarSystemOrbits = v;\n return v;\n };\n EngineState.prototype.get_solarSystemOverlays = function () {\n return this.solarSystemOverlays;\n };\n EngineState.prototype.set_solarSystemOverlays = function (v) {\n this.solarSystemOverlays = v;\n return v;\n };\n EngineState.prototype.get_solarSystemPlanets = function () {\n return this.solarSystemPlanets;\n };\n EngineState.prototype.set_solarSystemPlanets = function (v) {\n this.solarSystemPlanets = v;\n return v;\n };\n EngineState.prototype.get_solarSystemScale = function () {\n return this.solarSystemScale;\n };\n EngineState.prototype.set_solarSystemScale = function (v) {\n this.solarSystemScale = v;\n return v;\n };\n EngineState.prototype.get_solarSystemStars = function () {\n return this.solarSystemStars;\n };\n EngineState.prototype.set_solarSystemStars = function (v) {\n this.solarSystemStars = v;\n return v;\n };\n EngineState.prototype.get_solarSystemMinorOrbits = function () {\n return this.solarSystemMinorOrbits;\n };\n EngineState.prototype.set_solarSystemMinorOrbits = function (v) {\n this.solarSystemMinorOrbits = v;\n return v;\n };\n return EngineState;\n}());\n\n//# sourceMappingURL=engine.js.map\n;// CONCATENATED MODULE: ../engine-helpers/dist/src/polyannotation.js\n// Copyright 2020-2021 the .NET Foundation\n// Licensed under the MIT License\n\n\nvar justPolyAnnotationSettingNames = [\n \"fill\",\n \"fillColor\",\n \"lineColor\",\n \"lineWidth\",\n];\n/** A list of the names of the available settings for `PolyAnnotation`\n * instances and their equivalents (things implementing\n * [[PolyAnnotationSettingsInterface]]).\n *\n * This is a superset of the names available for generic annotations.\n*/\nvar polyAnnotationSettingNames = annotationSettingNames.concat(justPolyAnnotationSettingNames);\nvar polyAnnotationSettingTypeInfo = {\n \"fill/boolean\": true,\n \"fillColor/string\": true,\n \"lineColor/string\": true,\n \"lineWidth/number\": true,\n};\n/** Type guard function for `PolyAnnotationSetting`. */\nfunction isPolyAnnotationSetting(obj) {\n var key = obj[0] + \"/\" + typeof obj[1];\n return (key in polyAnnotationSettingTypeInfo) || isAnnotationSetting(obj);\n}\n/** Apply a setting to a generic `PolyAnnotation` or equivalent. */\nfunction applyPolyAnnotationSetting(poly, setting) {\n var funcName = \"set_\" + setting[0];\n var value = setting[1];\n poly[funcName](value);\n}\n/** Extract all of the current settings of a `PolyAnnotation` or equivalent. */\nfunction extractPolyAnnotationSettings(poly) {\n var e_1, _a;\n var s = extractAnnotationSettings(poly);\n try {\n for (var justPolyAnnotationSettingNames_1 = __values(justPolyAnnotationSettingNames), justPolyAnnotationSettingNames_1_1 = justPolyAnnotationSettingNames_1.next(); !justPolyAnnotationSettingNames_1_1.done; justPolyAnnotationSettingNames_1_1 = justPolyAnnotationSettingNames_1.next()) {\n var n = justPolyAnnotationSettingNames_1_1.value;\n s.push([n, poly[\"get_\" + n]()]);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (justPolyAnnotationSettingNames_1_1 && !justPolyAnnotationSettingNames_1_1.done && (_a = justPolyAnnotationSettingNames_1.return)) _a.call(justPolyAnnotationSettingNames_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return s;\n}\n/** Copy settings from one `PolyAnnotation`, or equivalent, to another. */\nfunction copyPolyAnnotationSettings(source, dest) {\n var e_2, _a;\n copyAnnotationSettings(source, dest);\n try {\n for (var justPolyAnnotationSettingNames_2 = tslib_es6_values(justPolyAnnotationSettingNames), justPolyAnnotationSettingNames_2_1 = justPolyAnnotationSettingNames_2.next(); !justPolyAnnotationSettingNames_2_1.done; justPolyAnnotationSettingNames_2_1 = justPolyAnnotationSettingNames_2.next()) {\n var n = justPolyAnnotationSettingNames_2_1.value;\n dest[\"set_\" + n](source[\"get_\" + n]());\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (justPolyAnnotationSettingNames_2_1 && !justPolyAnnotationSettingNames_2_1.done && (_a = justPolyAnnotationSettingNames_2.return)) _a.call(justPolyAnnotationSettingNames_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n}\n/** A plain-old-data class implementing `PolyAnnotationSettingsInterface`. */\nvar PolyAnnotationState = /** @class */ (function (_super) {\n __extends(PolyAnnotationState, _super);\n function PolyAnnotationState(source) {\n var _this = _super.call(this, source) || this;\n copyPolyAnnotationSettings(source, _this);\n return _this;\n }\n PolyAnnotationState.prototype.get_fill = function () {\n return this.fill;\n };\n PolyAnnotationState.prototype.set_fill = function (v) {\n this.fill = v;\n return v;\n };\n PolyAnnotationState.prototype.get_fillColor = function () {\n return this.fillColor;\n };\n PolyAnnotationState.prototype.set_fillColor = function (v) {\n this.fillColor = v;\n return v;\n };\n PolyAnnotationState.prototype.get_lineColor = function () {\n return this.lineColor;\n };\n PolyAnnotationState.prototype.set_lineColor = function (v) {\n this.lineColor = v;\n return v;\n };\n PolyAnnotationState.prototype.get_lineWidth = function () {\n return this.lineWidth;\n };\n PolyAnnotationState.prototype.set_lineWidth = function (v) {\n this.lineWidth = v;\n return v;\n };\n return PolyAnnotationState;\n}(AnnotationState));\n\n//# sourceMappingURL=polyannotation.js.map\n;// CONCATENATED MODULE: ../engine-helpers/dist/src/polylineannotation.js\n// Copyright 2020-2021 the .NET Foundation\n// Licensed under the MIT License\n\n\nvar justPolyLineAnnotationSettingNames = [\n \"lineColor\",\n \"lineWidth\",\n];\n/** A list of the names of the available settings for `PolyLineAnnotation`\n * instances and their equivalents (things implementing\n * [[PolyLineAnnotationSettingsInterface]]).\n *\n * This is a superset of the names available for generic annotations.\n*/\nvar polyLineAnnotationSettingNames = annotationSettingNames.concat(justPolyLineAnnotationSettingNames);\nvar polyLineAnnotationSettingTypeInfo = {\n \"lineColor/string\": true,\n \"lineWidth/number\": true,\n};\n/** Type guard function for `PolyLineAnnotationSetting`. */\nfunction isPolyLineAnnotationSetting(obj) {\n var key = obj[0] + \"/\" + typeof obj[1];\n return (key in polyLineAnnotationSettingTypeInfo) || isAnnotationSetting(obj);\n}\n/** Apply a setting to a generic `PolyLineAnnotation` or equivalent. */\nfunction applyPolyLineAnnotationSetting(poly, setting) {\n var funcName = \"set_\" + setting[0];\n var value = setting[1];\n poly[funcName](value);\n}\n/** Extract all of the current settings of a `PolyLineAnnotation` or equivalent. */\nfunction extractPolyLineAnnotationSettings(poly) {\n var e_1, _a;\n var s = extractAnnotationSettings(poly);\n try {\n for (var justPolyLineAnnotationSettingNames_1 = __values(justPolyLineAnnotationSettingNames), justPolyLineAnnotationSettingNames_1_1 = justPolyLineAnnotationSettingNames_1.next(); !justPolyLineAnnotationSettingNames_1_1.done; justPolyLineAnnotationSettingNames_1_1 = justPolyLineAnnotationSettingNames_1.next()) {\n var n = justPolyLineAnnotationSettingNames_1_1.value;\n s.push([n, poly[\"get_\" + n]()]);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (justPolyLineAnnotationSettingNames_1_1 && !justPolyLineAnnotationSettingNames_1_1.done && (_a = justPolyLineAnnotationSettingNames_1.return)) _a.call(justPolyLineAnnotationSettingNames_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return s;\n}\n/** Copy settings from one `PolyLineAnnotation`, or equivalent, to another. */\nfunction copyPolyLineAnnotationSettings(source, dest) {\n var e_2, _a;\n copyAnnotationSettings(source, dest);\n try {\n for (var justPolyLineAnnotationSettingNames_2 = tslib_es6_values(justPolyLineAnnotationSettingNames), justPolyLineAnnotationSettingNames_2_1 = justPolyLineAnnotationSettingNames_2.next(); !justPolyLineAnnotationSettingNames_2_1.done; justPolyLineAnnotationSettingNames_2_1 = justPolyLineAnnotationSettingNames_2.next()) {\n var n = justPolyLineAnnotationSettingNames_2_1.value;\n dest[\"set_\" + n](source[\"get_\" + n]());\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (justPolyLineAnnotationSettingNames_2_1 && !justPolyLineAnnotationSettingNames_2_1.done && (_a = justPolyLineAnnotationSettingNames_2.return)) _a.call(justPolyLineAnnotationSettingNames_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n}\n/** A plain-old-data class implementing `PolyLineAnnotationSettingsInterface`. */\nvar PolyLineAnnotationState = /** @class */ (function (_super) {\n __extends(PolyLineAnnotationState, _super);\n function PolyLineAnnotationState(source) {\n var _this = _super.call(this, source) || this;\n copyPolyLineAnnotationSettings(source, _this);\n return _this;\n }\n PolyLineAnnotationState.prototype.get_lineColor = function () {\n return this.lineColor;\n };\n PolyLineAnnotationState.prototype.set_lineColor = function (v) {\n this.lineColor = v;\n return v;\n };\n PolyLineAnnotationState.prototype.get_lineWidth = function () {\n return this.lineWidth;\n };\n PolyLineAnnotationState.prototype.set_lineWidth = function (v) {\n this.lineWidth = v;\n return v;\n };\n return PolyLineAnnotationState;\n}(AnnotationState));\n\n//# sourceMappingURL=polylineannotation.js.map\n;// CONCATENATED MODULE: ../engine-helpers/dist/src/votablelayer.js\n// Copyright 2020-2021 the .NET Foundation\n// Licensed under the MIT License\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/** Helpers for handling \"spreadsheet\" layer settings. */\n\n\nvar justVoTableLayerSettingNames = [\n \"altColumn\",\n \"altType\",\n \"altUnit\",\n \"autoUpdate\",\n \"beginRange\",\n \"cartesianCustomScale\",\n \"cartesianScale\",\n \"colorMapColumn\",\n \"coordinatesType\",\n \"dataSourceUrl\",\n \"decay\",\n \"dynamicData\",\n \"endDateColumn\",\n \"endRange\",\n \"hyperlinkColumn\",\n \"hyperlinkFormat\",\n \"latColumn\",\n \"lngColumn\",\n \"markerColumn\",\n \"markerIndex\",\n \"markerScale\",\n \"nameColumn\",\n \"plotType\",\n \"pointScaleType\",\n \"raUnits\",\n \"scaleFactor\",\n \"showFarSide\",\n \"sizeColumn\",\n \"startDateColumn\",\n \"timeSeries\",\n \"xAxisColumn\",\n \"xAxisReverse\",\n \"yAxisColumn\",\n \"yAxisReverse\",\n \"zAxisColumn\",\n \"zAxisReverse\",\n];\n/** A list of the names of the available settings for `VoTableLayer`\n * instances and their equivalents (things implementing\n * [[VoTableLayerSettingsInterface]]).\n *\n * This is a superset of the names available for generic layers.\n*/\nvar voTableLayerSettingNames = layerSettingNames.concat(justVoTableLayerSettingNames);\n/** Type guard function for `VoTableLayerSetting`. */\nfunction isVoTableLayerSetting(obj) {\n // No special settings specific to non-base VoTableLayerSetting.\n return isLayerSetting(obj) || isBaseVoTableLayerSetting(obj);\n}\n/** Apply a setting to a `VoTableLayer` or equivalent. */\nfunction applyVoTableLayerSetting(layer, setting) {\n var funcName = \"set_\" + setting[0];\n var value = setting[1]; // eslint-disable-line @typescript-eslint/no-explicit-any\n layer[funcName](value); // eslint-disable-line @typescript-eslint/no-explicit-any\n}\n/** Extract all of the current settings of a `VoTableLayer` or equivalent. */\nfunction extractVoTableLayerSettings(layer) {\n var e_1, _a;\n var s = extractLayerSettings(layer);\n try {\n for (var justVoTableLayerSettingNames_1 = __values(justVoTableLayerSettingNames), justVoTableLayerSettingNames_1_1 = justVoTableLayerSettingNames_1.next(); !justVoTableLayerSettingNames_1_1.done; justVoTableLayerSettingNames_1_1 = justVoTableLayerSettingNames_1.next()) {\n var n = justVoTableLayerSettingNames_1_1.value;\n s.push([n, layer[\"get_\" + n]()]);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (justVoTableLayerSettingNames_1_1 && !justVoTableLayerSettingNames_1_1.done && (_a = justVoTableLayerSettingNames_1.return)) _a.call(justVoTableLayerSettingNames_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return s;\n}\n/** Copy settings from one `VoTableLayer`, or equivalent, to another. */\nfunction copyVoTableLayerSettings(source, dest) {\n var e_2, _a;\n copyLayerSettings(source, dest);\n try {\n for (var justVoTableLayerSettingNames_2 = tslib_es6_values(justVoTableLayerSettingNames), justVoTableLayerSettingNames_2_1 = justVoTableLayerSettingNames_2.next(); !justVoTableLayerSettingNames_2_1.done; justVoTableLayerSettingNames_2_1 = justVoTableLayerSettingNames_2.next()) {\n var n = justVoTableLayerSettingNames_2_1.value;\n dest[\"set_\" + n](source[\"get_\" + n]());\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (justVoTableLayerSettingNames_2_1 && !justVoTableLayerSettingNames_2_1.done && (_a = justVoTableLayerSettingNames_2.return)) _a.call(justVoTableLayerSettingNames_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n}\n/** A plain-old-data class implementing `VoTableLayerSettingsInterface`. */\nvar VoTableLayerState = /** @class */ (function (_super) {\n __extends(VoTableLayerState, _super);\n function VoTableLayerState(source) {\n var _this = \n // Here we redundantly copy the generic Layer settings, but TypeScript\n // requires the super() call. Oh well.\n _super.call(this, source) || this;\n copyVoTableLayerSettings(source, _this);\n return _this;\n }\n VoTableLayerState.prototype.get_altColumn = function () {\n return this.altColumn;\n };\n VoTableLayerState.prototype.set_altColumn = function (v) {\n this.altColumn = v;\n return v;\n };\n VoTableLayerState.prototype.get_altType = function () {\n return this.altType;\n };\n VoTableLayerState.prototype.set_altType = function (v) {\n this.altType = v;\n return v;\n };\n VoTableLayerState.prototype.get_altUnit = function () {\n return this.altUnit;\n };\n VoTableLayerState.prototype.set_altUnit = function (v) {\n this.altUnit = v;\n return v;\n };\n VoTableLayerState.prototype.get_autoUpdate = function () {\n return this.autoUpdate;\n };\n VoTableLayerState.prototype.set_autoUpdate = function (v) {\n this.autoUpdate = v;\n return v;\n };\n VoTableLayerState.prototype.get_beginRange = function () {\n return this.beginRange;\n };\n VoTableLayerState.prototype.set_beginRange = function (v) {\n this.beginRange = v;\n return v;\n };\n VoTableLayerState.prototype.get_cartesianCustomScale = function () {\n return this.cartesianCustomScale;\n };\n VoTableLayerState.prototype.set_cartesianCustomScale = function (v) {\n this.cartesianCustomScale = v;\n return v;\n };\n VoTableLayerState.prototype.get_cartesianScale = function () {\n return this.cartesianScale;\n };\n VoTableLayerState.prototype.set_cartesianScale = function (v) {\n this.cartesianScale = v;\n return v;\n };\n VoTableLayerState.prototype.get_colorMapColumn = function () {\n return this.colorMapColumn;\n };\n VoTableLayerState.prototype.set_colorMapColumn = function (v) {\n this.colorMapColumn = v;\n return v;\n };\n VoTableLayerState.prototype.get_coordinatesType = function () {\n return this.coordinatesType;\n };\n VoTableLayerState.prototype.set_coordinatesType = function (v) {\n this.coordinatesType = v;\n return v;\n };\n VoTableLayerState.prototype.get_dataSourceUrl = function () {\n return this.dataSourceUrl;\n };\n VoTableLayerState.prototype.set_dataSourceUrl = function (v) {\n this.dataSourceUrl = v;\n return v;\n };\n VoTableLayerState.prototype.get_decay = function () {\n return this.decay;\n };\n VoTableLayerState.prototype.set_decay = function (v) {\n this.decay = v;\n return v;\n };\n VoTableLayerState.prototype.get_dynamicData = function () {\n return this.dynamicData;\n };\n VoTableLayerState.prototype.set_dynamicData = function (v) {\n this.dynamicData = v;\n return v;\n };\n VoTableLayerState.prototype.get_endDateColumn = function () {\n return this.endDateColumn;\n };\n VoTableLayerState.prototype.set_endDateColumn = function (v) {\n this.endDateColumn = v;\n return v;\n };\n VoTableLayerState.prototype.get_endRange = function () {\n return this.endRange;\n };\n VoTableLayerState.prototype.set_endRange = function (v) {\n this.endRange = v;\n return v;\n };\n VoTableLayerState.prototype.get_hyperlinkColumn = function () {\n return this.hyperlinkColumn;\n };\n VoTableLayerState.prototype.set_hyperlinkColumn = function (v) {\n this.hyperlinkColumn = v;\n return v;\n };\n VoTableLayerState.prototype.get_hyperlinkFormat = function () {\n return this.hyperlinkFormat;\n };\n VoTableLayerState.prototype.set_hyperlinkFormat = function (v) {\n this.hyperlinkFormat = v;\n return v;\n };\n VoTableLayerState.prototype.get_latColumn = function () {\n return this.latColumn;\n };\n VoTableLayerState.prototype.set_latColumn = function (v) {\n this.latColumn = v;\n return v;\n };\n VoTableLayerState.prototype.get_lngColumn = function () {\n return this.lngColumn;\n };\n VoTableLayerState.prototype.set_lngColumn = function (v) {\n this.lngColumn = v;\n return v;\n };\n VoTableLayerState.prototype.get_markerColumn = function () {\n return this.markerColumn;\n };\n VoTableLayerState.prototype.set_markerColumn = function (v) {\n this.markerColumn = v;\n return v;\n };\n VoTableLayerState.prototype.get_markerIndex = function () {\n return this.markerIndex;\n };\n VoTableLayerState.prototype.set_markerIndex = function (v) {\n this.markerIndex = v;\n return v;\n };\n VoTableLayerState.prototype.get_markerScale = function () {\n return this.markerScale;\n };\n VoTableLayerState.prototype.set_markerScale = function (v) {\n this.markerScale = v;\n return v;\n };\n VoTableLayerState.prototype.get_nameColumn = function () {\n return this.nameColumn;\n };\n VoTableLayerState.prototype.set_nameColumn = function (v) {\n this.nameColumn = v;\n return v;\n };\n VoTableLayerState.prototype.get_plotType = function () {\n return this.plotType;\n };\n VoTableLayerState.prototype.set_plotType = function (v) {\n this.plotType = v;\n return v;\n };\n VoTableLayerState.prototype.get_pointScaleType = function () {\n return this.pointScaleType;\n };\n VoTableLayerState.prototype.set_pointScaleType = function (v) {\n this.pointScaleType = v;\n return v;\n };\n VoTableLayerState.prototype.get_raUnits = function () {\n return this.raUnits;\n };\n VoTableLayerState.prototype.set_raUnits = function (v) {\n this.raUnits = v;\n return v;\n };\n VoTableLayerState.prototype.get_scaleFactor = function () {\n return this.scaleFactor;\n };\n VoTableLayerState.prototype.set_scaleFactor = function (v) {\n this.scaleFactor = v;\n return v;\n };\n VoTableLayerState.prototype.get_showFarSide = function () {\n return this.showFarSide;\n };\n VoTableLayerState.prototype.set_showFarSide = function (v) {\n this.showFarSide = v;\n return v;\n };\n VoTableLayerState.prototype.get_sizeColumn = function () {\n return this.sizeColumn;\n };\n VoTableLayerState.prototype.set_sizeColumn = function (v) {\n this.sizeColumn = v;\n return v;\n };\n VoTableLayerState.prototype.get_startDateColumn = function () {\n return this.startDateColumn;\n };\n VoTableLayerState.prototype.set_startDateColumn = function (v) {\n this.startDateColumn = v;\n return v;\n };\n VoTableLayerState.prototype.get_timeSeries = function () {\n return this.timeSeries;\n };\n VoTableLayerState.prototype.set_timeSeries = function (v) {\n this.timeSeries = v;\n return v;\n };\n VoTableLayerState.prototype.get_xAxisColumn = function () {\n return this.xAxisColumn;\n };\n VoTableLayerState.prototype.set_xAxisColumn = function (v) {\n this.xAxisColumn = v;\n return v;\n };\n VoTableLayerState.prototype.get_xAxisReverse = function () {\n return this.xAxisReverse;\n };\n VoTableLayerState.prototype.set_xAxisReverse = function (v) {\n this.xAxisReverse = v;\n return v;\n };\n VoTableLayerState.prototype.get_yAxisColumn = function () {\n return this.yAxisColumn;\n };\n VoTableLayerState.prototype.set_yAxisColumn = function (v) {\n this.yAxisColumn = v;\n return v;\n };\n VoTableLayerState.prototype.get_yAxisReverse = function () {\n return this.yAxisReverse;\n };\n VoTableLayerState.prototype.set_yAxisReverse = function (v) {\n this.yAxisReverse = v;\n return v;\n };\n VoTableLayerState.prototype.get_zAxisColumn = function () {\n return this.zAxisColumn;\n };\n VoTableLayerState.prototype.set_zAxisColumn = function (v) {\n this.zAxisColumn = v;\n return v;\n };\n VoTableLayerState.prototype.get_zAxisReverse = function () {\n return this.zAxisReverse;\n };\n VoTableLayerState.prototype.set_zAxisReverse = function (v) {\n this.zAxisReverse = v;\n return v;\n };\n return VoTableLayerState;\n}(LayerState));\n\n//# sourceMappingURL=votablelayer.js.map\n;// CONCATENATED MODULE: ../engine-helpers/dist/src/index.js\n// Copyright 2020-2021 the .NET Foundation\n// Licensed under the MIT License\n\n\n\n\n\n\n// Settings-related re-exports\n\n\n\n\n\n\n\n\n\nvar initControlDefaults = {\n elId: \"wwt\",\n startInternalRenderLoop: false,\n startLatDeg: 0,\n startLngDeg: 0,\n startZoomDeg: 360,\n startMode: \"Sky\" /* InitControlViewType.Sky */,\n};\nvar SavedPromise = /** @class */ (function () {\n function SavedPromise(payload, resolve, reject) {\n this.payload = payload;\n this.resolve = resolve;\n this.reject = reject;\n }\n return SavedPromise;\n}());\nvar WWTInstance = /** @class */ (function () {\n /** Create a WWT control, attaching it to a DOM element.\n *\n * @param options Options to apply to the control.\n *\n * Compared to the underlying library, this class provides a more JavaScript-y\n * API.\n */\n function WWTInstance(options) {\n if (options === void 0) { options = {}; }\n var _this = this;\n // Ready promises\n this.readyPromises = [];\n this.readyFired = false;\n // Arrival promises\n this.arrivePromises = [];\n this.arriveSeqnum = 0;\n // Collection-loaded promises. To simplify the handling, we never load the\n // same URL more than once. Otherwise, all of the timing issues about multiple\n // requests for the same URL get gnarly to handle. And as far as the engine is\n // concerned, collection loads are idempotent.\n this.collectionLoadedPromises = [];\n this.collectionRequests = new Map();\n this.tourReadyPromises = [];\n this.tourReadySeqnum = 0;\n /** A callback to be invoked when a tour completes playing. */\n this.tourEndedCallback = null;\n var o = __assign(__assign({}, initControlDefaults), options);\n // We pretend that these objects aren't all singletons. One day.\n this.si = engine_root_wwtlib_.WWTControl.initControl6(o.elId, o.startInternalRenderLoop, o.startLatDeg, o.startLngDeg, o.startZoomDeg, o.startMode);\n this.ctl = engine_root_wwtlib_.WWTControl.singleton;\n this.lm = engine_root_wwtlib_.LayerManager;\n this.stc = engine_root_wwtlib_.SpaceTimeController;\n // Override some defaults\n this.applySetting([\"showConstellationBoundries\", false]);\n this.applySetting([\"showConstellationFigures\", false]);\n this.applySetting([\"showConstellationSelection\", false]);\n this.applySetting([\"showCrosshairs\", false]);\n // Ready promise initialization:\n this.si.add_ready(function (_si) {\n var e_1, _a;\n try {\n for (var _b = tslib_es6_values(_this.readyPromises), _c = _b.next(); !_c.done; _c = _b.next()) {\n var p = _c.value;\n p.resolve();\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n _this.readyFired = true;\n _this.readyPromises = [];\n });\n // Arrival promise initialization:\n this.si.add_arrived(function (_si, _args) {\n var e_2, _a;\n try {\n for (var _b = tslib_es6_values(_this.arrivePromises), _c = _b.next(); !_c.done; _c = _b.next()) {\n var p = _c.value;\n if (p.payload < _this.arriveSeqnum) {\n p.reject(\"superseded\");\n }\n else {\n p.resolve();\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_2) throw e_2.error; }\n }\n _this.arrivePromises = [];\n });\n // TourReady promise init:\n this.si.add_tourReady(function (_si) {\n var e_3, _a;\n try {\n for (var _b = tslib_es6_values(_this.tourReadyPromises), _c = _b.next(); !_c.done; _c = _b.next()) {\n var p = _c.value;\n if (p.payload < _this.tourReadySeqnum) {\n p.reject(\"superseded\");\n }\n else {\n p.resolve();\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_3) throw e_3.error; }\n }\n _this.tourReadyPromises = [];\n });\n // TourEnded event init:\n engine_root_wwtlib_.TourPlayer.add_tourEnded(function (_tpclass) {\n var tp = _this.getActiveTourPlayer();\n if (tp !== null && _this.tourEndedCallback !== null) {\n _this.tourEndedCallback(tp);\n }\n });\n }\n WWTInstance.prototype.waitForReady = function () {\n return __awaiter(this, void 0, void 0, function () {\n var _this = this;\n return __generator(this, function (_a) {\n return [2 /*return*/, new Promise(function (resolve, reject) {\n if (_this.readyFired) {\n resolve();\n }\n else {\n _this.readyPromises.push(new SavedPromise(null, resolve, reject));\n }\n })];\n });\n });\n };\n WWTInstance.prototype.makeArrivePromise = function (instantResolve) {\n var e_4, _a;\n var _this = this;\n this.arriveSeqnum += 1;\n var seq = this.arriveSeqnum;\n try {\n for (var _b = tslib_es6_values(this.arrivePromises), _c = _b.next(); !_c.done; _c = _b.next()) {\n var p = _c.value;\n p.reject(\"superseded\");\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_4) throw e_4.error; }\n }\n this.arrivePromises = [];\n return new Promise(function (resolve, reject) {\n if (_this.arriveSeqnum > seq) {\n reject(\"superseded\");\n }\n else if (instantResolve) {\n resolve();\n }\n else {\n _this.arrivePromises.push(new SavedPromise(seq, resolve, reject));\n }\n });\n };\n /** Navigate the camera to the specified position, asynchronously.\n *\n * This wraps the underlying engine function of the same name, but homogenizing some\n * of the angular arguments to use radians.\n *\n * @param raRad The RA to seek to, in radians\n * @param decRad The declination to seek to, in radians\n * @param zoomDeg The zoom setting, in *degrees*\n * @param instant Whether to snap the camera instantly, or pan it\n * @param rollRad If specified, the roll of the target camera position, in radians\n * @returns A void promise that resolves when the camera arrives at the target position.\n */\n WWTInstance.prototype.gotoRADecZoom = function (raRad, decRad, zoomDeg, instant, rollRad) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n this.ctl.gotoRADecZoom(raRad * R2H, decRad * R2D, zoomDeg, instant, rollRad);\n return [2 /*return*/, this.makeArrivePromise(instant)];\n });\n });\n };\n /** Returns how long moving to a given position will take, in seconds.\n *\n * This wraps the underlying engine function of the same name, but homogenizing some\n * of the angular arguments to use radians.\n *\n * @param raRad The RA of the target position, in radians\n * @param decRad The declination of the target position, in radians\n * @param zoomDeg The zoom setting, in *degrees*\n * @param rollRad If specified, the roll of the target camera position, in radians\n * @returns The amount of time, in seconds, that moving to the given position would take.\n */\n WWTInstance.prototype.timeToRADecZoom = function (raRad, decRad, zoomDeg, rollRad) {\n var time = this.ctl.timeToRADecZoom(raRad * R2H, decRad * R2D, zoomDeg, rollRad);\n return time;\n };\n /** Command the view to show a Place.\n *\n * @param options The options for the goto command.\n */\n WWTInstance.prototype.gotoTarget = function (options) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n this.ctl.gotoTarget(options.place, options.noZoom, options.instant, options.trackObject);\n return [2 /*return*/, this.makeArrivePromise(options.instant)];\n });\n });\n };\n /** Load a WTML collection and the imagesets that it contains.\n *\n * This function triggers a download of the specified URL, which should return\n * an XML document in the [WTML collection][wtml] format. Any `ImageSet`\n * entries in the collection, or `Place` entries containing image sets, will\n * be added to the WWT instanceโ€™s list of available imagery. Subsequent calls\n * to functions like [[setForegroundImageByName]] will be able to locate the\n * new imagesets and display them to the user.\n *\n * Each unique URL is only requested once. Once a given URL has been\n * successfully loaded, the promise returned by additional calls will resolve\n * immediately. URL uniqueness is tested with simple string equality, so if\n * you really want to load the same URL more than once you could add a\n * fragment specifier.\n *\n * If the URL is not accessible due to CORS restrictions, the request will\n * automatically be routed through the WWTโ€™s CORS proxying service.\n *\n * [wtml]: https://docs.worldwidetelescope.org/data-guide/1/data-file-formats/collections/\n *\n * @param url: The URL of the WTML collection file to load.\n * @param loadChildFolders When true, this method will recursively\n * download and unpack the content of all Folders contained in the WTML file.\n * @returns: A promise that resolves to an initialized Folder object.\n */\n WWTInstance.prototype.loadImageCollection = function (url, loadChildFolders) {\n return __awaiter(this, void 0, void 0, function () {\n var curState, holder_1;\n var _this = this;\n return __generator(this, function (_a) {\n curState = this.collectionRequests.get(url);\n // If we've already loaded the folder, insta-resolve to it.\n if (curState !== undefined && curState !== null) {\n return [2 /*return*/, Promise.resolve(curState)];\n }\n // If we haven't even issued the request, do so.\n if (curState === undefined) {\n // Mark this URL as having an in-flight request.\n this.collectionRequests.set(url, null);\n holder_1 = { f: null };\n if (loadChildFolders === undefined) {\n loadChildFolders = false;\n }\n holder_1.f = engine_root_wwtlib_.Wtml.getWtmlFile(url, function () {\n // The folder at this URL is now fully loaded.\n var f = holder_1.f;\n _this.collectionRequests.set(url, f);\n _this.collectionLoadedPromises = _this.collectionLoadedPromises.filter(function (p) {\n if (p.payload == url) {\n p.resolve(f);\n return false;\n }\n // Don't filter out promises for other URLs.\n return true;\n });\n }, loadChildFolders);\n }\n return [2 /*return*/, new Promise(function (resolve, reject) {\n var curState = _this.collectionRequests.get(url);\n // By the time this promise callback is called, maybe the Folder has fully\n // loaded?\n if (curState !== undefined && curState !== null) {\n resolve(curState);\n }\n else {\n // If not, queue ourselves up to be resolved when the data finally come\n // through.\n _this.collectionLoadedPromises.push(new SavedPromise(url, resolve, reject));\n }\n })];\n });\n });\n };\n // Layers\n /** Load an image set or a remote FITS file into a data layer and display it.\n *\n * The FITS file must be downloaded and processed, so this API is\n * asynchronous, and is not appropriate for files that might be large.\n *\n * The image set must have previously been created with [[loadImageCollection]]\n */\n WWTInstance.prototype.addImageSetLayer = function (options) {\n return __awaiter(this, void 0, void 0, function () {\n var _this = this;\n return __generator(this, function (_a) {\n return [2 /*return*/, new Promise(function (resolve, _reject) {\n _this.si.addImageSetLayer(options.url, options.mode, options.name, options.goto, function (layer) {\n resolve(layer);\n });\n })];\n });\n });\n };\n /** Change the ImageSetLayer position in the layer stack. */\n WWTInstance.prototype.setImageSetLayerOrder = function (options) {\n this.si.setImageSetLayerOrder(options.id, options.order);\n };\n /** Change the \"stretch\" settings of a FITS image layer. */\n WWTInstance.prototype.stretchFitsLayer = function (options) {\n var layer = this.lm.get_layerList()[options.id];\n if (layer && layer instanceof engine_root_wwtlib_.ImageSetLayer) {\n layer.setImageScalePhysical(options.stretch, options.vmin, options.vmax);\n // This is kind of random, but follows the pywwt API implementation.\n var fits = layer.getFitsImage();\n if (fits !== null) {\n layer.get_imageSet().get_fitsProperties().transparentBlack = false;\n }\n }\n };\n /** Change the colormap settings of a FITS image layer. */\n WWTInstance.prototype.setFitsLayerColormap = function (options) {\n var layer = this.lm.get_layerList()[options.id];\n if (layer && layer instanceof engine_root_wwtlib_.ImageSetLayer) {\n layer.set_colorMapperName(options.name);\n }\n };\n /** Apply settings to a FITS image layer. */\n WWTInstance.prototype.applyFitsLayerSettings = function (options) {\n var e_5, _a;\n var layer = this.lm.get_layerList()[options.id];\n if (layer && layer instanceof engine_root_wwtlib_.ImageSetLayer) {\n try {\n for (var _b = tslib_es6_values(options.settings), _c = _b.next(); !_c.done; _c = _b.next()) {\n var setting = _c.value;\n applyImageSetLayerSetting(layer, setting);\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_5) throw e_5.error; }\n }\n }\n };\n /** Update the data within a tabular data layer. */\n WWTInstance.prototype.updateTableLayer = function (options) {\n var layer = this.lm.get_layerList()[options.id];\n if (layer && layer instanceof engine_root_wwtlib_.SpreadSheetLayer) {\n layer.updateData(options.dataCsv, true, true, true);\n }\n };\n /** Apply settings to a tabular data layer. */\n WWTInstance.prototype.applyTableLayerSettings = function (options) {\n var e_6, _a;\n var layer = this.lm.get_layerList()[options.id];\n if (layer && layer instanceof engine_root_wwtlib_.SpreadSheetLayer) {\n try {\n for (var _b = tslib_es6_values(options.settings), _c = _b.next(); !_c.done; _c = _b.next()) {\n var setting = _c.value;\n applySpreadSheetLayerSetting(layer, setting);\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_6) throw e_6.error; }\n }\n }\n };\n /** Add a new HiPS catalog to the view, by name.\n *\n * The promise will resolve when the catalog metadata have fully downloaded.\n * It will reject if the name is unrecognized.\n *\n * HiPS catalogs are something of an awkward hybrid. They are managed like\n * imagesets, but rendered like spreadsheet layers. To get the\n * `SpreadSheetLayer` associated with a HiPS catalog imageset, access:\n *\n * ```\n * imgset.get_hipsProperties().get_catalogSpreadSheetLayer()\n * ```\n *\n * You can use methods like [[applyTableLayerSettings]] to modify the settings\n * of this layer by extracting its ID string with `layer.id.toString()`.\n *\n * The contents of this catalog will update dynamically as the user navigates\n * the WWT view.\n */\n WWTInstance.prototype.addCatalogHipsByName = function (options) {\n return __awaiter(this, void 0, void 0, function () {\n var _this = this;\n return __generator(this, function (_a) {\n return [2 /*return*/, new Promise(function (resolve, reject) {\n var imgset = _this.ctl.getImagesetByName(options.name);\n if (imgset === null) {\n reject();\n }\n else {\n _this.ctl.renderContext.addCatalogHips(imgset, function () {\n resolve(imgset);\n });\n }\n })];\n });\n });\n };\n /** Fetch the subset of catalog HiPS data contained within the current view.\n *\n * The imageset should have been loaded with the [[addCatalogHipsByName]]\n * call. The *limit* option should almost always be true, since if it is false\n * the data-fetch operation can potentially attempt to download and return\n * gigabytes of data.\n * */\n WWTInstance.prototype.getCatalogHipsDataInView = function (options) {\n return __awaiter(this, void 0, void 0, function () {\n var _this = this;\n return __generator(this, function (_a) {\n return [2 /*return*/, new Promise(function (resolve, _reject) {\n _this.ctl.renderContext.getCatalogHipsDataInView(options.imageset, options.limit, function (msg) {\n resolve(msg);\n });\n })];\n });\n });\n };\n // \"Mutator\" type operations -- not async.\n WWTInstance.prototype.applySetting = function (setting) {\n var funcName = \"set_\" + setting[0];\n var value = setting[1]; // eslint-disable-line @typescript-eslint/no-explicit-any\n this.si.settings[funcName](value); // eslint-disable-line @typescript-eslint/no-explicit-any\n };\n WWTInstance.prototype.setBackgroundImageByName = function (imagesetName) {\n this.ctl.setBackgroundImageByName(imagesetName);\n };\n WWTInstance.prototype.setForegroundImageByName = function (imagesetName) {\n this.ctl.setForegroundImageByName(imagesetName);\n };\n /** Set the opacity with which the foreground imageset is rendered.\n *\n * @param opacity The opacity, between 0 (invisible) and 100 (fully opaque).\n */\n WWTInstance.prototype.setForegroundOpacity = function (opacity) {\n this.si.setForegroundOpacity(opacity);\n };\n /** Set up the view to instantaneously display the specified imageset.\n *\n * This function aspires to provide a one-stop shop for configuring the engine\n * to show one arbitrary imageset. It aims to automatically choose the right,\n * or at least justifiable, values for things like the background imageset,\n * the camera position, and the zoom level.\n *\n * Because this function makes instantaneous changes, it is not appropriate\n * for interactive use. It is intended to be used as a WWT view is being\n * initialized.\n *\n * @param imageset The imageset to display.\n */\n WWTInstance.prototype.setupForImageset = function (options) {\n var bkg;\n if (options.background) {\n bkg = options.background;\n }\n else {\n bkg = this.ctl.getDefaultImageset(options.foreground.get_dataSetType(), options.foreground.get_bandPass());\n }\n var imageHeightDeg;\n if (options.foreground.get_levels() > 0) {\n // For tiled images, baseTileDegrees gives the image angular height\n // directly, modulo a factor of two uncertainty depending on how the image\n // pixel height rounds up to a power of two.\n imageHeightDeg = options.foreground.get_baseTileDegrees();\n }\n else {\n // Unfortunately, for untiled images we don't have the information needed\n // to assess the image's angular height reliably. In many cases offsetY\n // will be about half of the pixel height, but it could be anything.\n imageHeightDeg = options.foreground.get_baseTileDegrees() * options.foreground.get_offsetY() * 2;\n }\n var place = new engine_root_wwtlib_.Place();\n place.set_type(options.foreground.get_dataSetType());\n place.set_backgroundImageset(bkg);\n place.set_studyImageset(options.foreground);\n var noZoom = false;\n switch (options.foreground.get_dataSetType()) {\n case ImageSetType.sky:\n if (imageHeightDeg == 180) {\n // All-sky image -- special behavior\n noZoom = true;\n }\n else {\n place.set_RA(options.foreground.get_centerX() * D2H);\n place.set_dec(options.foreground.get_centerY());\n place.set_zoomLevel(imageHeightDeg * 6);\n }\n break;\n case ImageSetType.earth:\n case ImageSetType.planet:\n place.set_zoomLevel(120); // a pleasing default, according to me\n if (imageHeightDeg != 180) {\n // need to verify that this is right\n place.set_lng(options.foreground.get_centerX());\n place.set_lat(options.foreground.get_centerY());\n }\n break;\n default:\n // TODO: more cases ...\n place.set_zoomLevel(360);\n break;\n }\n this.ctl.renderContext.set_backgroundImageset(bkg);\n this.ctl.gotoTarget(place, noZoom, true, // instant\n true // trackObject\n );\n };\n // Tours\n /** If the tour playback mode is active, get the active TourPlayer object. */\n WWTInstance.prototype.getActiveTourPlayer = function () {\n if (this.ctl.uiController === null)\n return null;\n if (this.ctl.uiController instanceof engine_root_wwtlib_.TourPlayer)\n return this.ctl.uiController;\n return null;\n };\n /** Find out whether a tour is playing.\n *\n * For obscure reasons, this is a static method in WWT that is not attached to\n * a TourPlayer instance. We take one as an argument for future-proofiness.\n */\n WWTInstance.prototype.getIsTourPlaying = function (_player) {\n return engine_root_wwtlib_.TourPlayer.get_playing();\n };\n /** Load a tour from a URL.\n *\n * Once the tour has loaded, you can use [[getActiveTourPlayer]] to get the\n * tour player controller and the underlying tour document.\n *\n * @param url The URL of the tour to load and play.\n * @returns A promise that resolves when the tour has loaded.\n */\n WWTInstance.prototype.loadTour = function (url) {\n return __awaiter(this, void 0, void 0, function () {\n var seq, _a, _b, p;\n var e_7, _c;\n var _this = this;\n return __generator(this, function (_d) {\n this.ctl.loadTour(url);\n this.tourReadySeqnum += 1;\n seq = this.tourReadySeqnum;\n try {\n for (_a = tslib_es6_values(this.tourReadyPromises), _b = _a.next(); !_b.done; _b = _a.next()) {\n p = _b.value;\n p.reject(\"superseded\");\n }\n }\n catch (e_7_1) { e_7 = { error: e_7_1 }; }\n finally {\n try {\n if (_b && !_b.done && (_c = _a.return)) _c.call(_a);\n }\n finally { if (e_7) throw e_7.error; }\n }\n this.tourReadyPromises = [];\n return [2 /*return*/, new Promise(function (resolve, reject) {\n if (_this.tourReadySeqnum > seq) {\n reject(\"superseded\");\n }\n else {\n _this.tourReadyPromises.push(new SavedPromise(seq, resolve, reject));\n }\n })];\n });\n });\n };\n /** Load a tour from a URL and start playing it.\n *\n * @param url The URL of the tour to load and play.\n * @returns A promise that resolves when the tour has loaded and started\n * playing.\n */\n WWTInstance.prototype.loadAndPlayTour = function (url) {\n return __awaiter(this, void 0, void 0, function () {\n var seq, _a, _b, p;\n var e_8, _c;\n var _this = this;\n return __generator(this, function (_d) {\n this.ctl.playTour(url);\n this.tourReadySeqnum += 1;\n seq = this.tourReadySeqnum;\n try {\n for (_a = tslib_es6_values(this.tourReadyPromises), _b = _a.next(); !_b.done; _b = _a.next()) {\n p = _b.value;\n p.reject(\"superseded\");\n }\n }\n catch (e_8_1) { e_8 = { error: e_8_1 }; }\n finally {\n try {\n if (_b && !_b.done && (_c = _a.return)) _c.call(_a);\n }\n finally { if (e_8) throw e_8.error; }\n }\n this.tourReadyPromises = [];\n return [2 /*return*/, new Promise(function (resolve, reject) {\n if (_this.tourReadySeqnum > seq) {\n reject(\"superseded\");\n }\n else {\n _this.tourReadyPromises.push(new SavedPromise(seq, resolve, reject));\n }\n })];\n });\n });\n };\n /** Find out how far we have progressed into the tour, in seconds.\n *\n * This number does not necessarily progress monotonically due to the way that\n * WWT measures tour playback progress. We associate a start time with each\n * \"stop\" in the tour, and can measure progress through a stop, but stops do\n * not necessarily transition from one to another in linear fashion.\n *\n * That being said, this number should range between 0 and the runtime of the\n * current tour. If no tour is loaded, it will be zero.\n */\n WWTInstance.prototype.getEffectiveTourTimecode = function () {\n var player = this.getActiveTourPlayer();\n if (player === null)\n return 0.0;\n var tour = player.get_tour();\n if (tour === null)\n return 0.0;\n var idx = tour.get_currentTourstopIndex();\n if (idx < 0)\n return 0.0;\n var base = tour.elapsedTimeTillTourstop(idx);\n var stop = tour.get_tourStops()[idx];\n var delta = stop.get_tweenPosition() * stop.get_duration() * 0.001; // ms => s\n var value = base + delta;\n // It's possible for our math to yield a value slightly larger than the\n // nominal tour runtime, which can upset code that expects the value to stay\n // rigorously within that bound. So, clamp it to be sure.\n if (value < 0)\n return 0.0;\n var runTime = tour.get_runTime() * 0.001; // ms => s\n if (value > runTime)\n return runTime;\n return value;\n };\n /** \"Seek\" tour playback to approximately the specified timecode (in seconds).\n *\n * The tour will start playing back.\n *\n * This operation is approximate because WWT can only resume playback from the\n * beginning of a \"tour stop\". So, if the desired timecode is in the middle of\n * such a stop, playback will start there, not at the exact value that was\n * commanded. This can be a little annoying when a slide is long.\n *\n * If no tour or tour player is active, nothing happens.\n */\n WWTInstance.prototype.seekToTourTimecode = function (value) {\n var player = this.getActiveTourPlayer();\n if (player === null)\n return;\n var tour = player.get_tour();\n if (tour === null)\n return;\n // Figure out the stop index that best matches the specified timecode.\n var stops = tour.get_tourStops();\n var index = stops.length - 1;\n for (var i = 0; i < stops.length; i++) {\n var tStart = tour.elapsedTimeTillTourstop(i);\n if (tStart >= value) {\n index = i - 1;\n break;\n }\n }\n if (index < 0) {\n index = 0;\n }\n // Apply the change.\n player.playFromTourstop(stops[index]);\n };\n return WWTInstance;\n}());\n\n//# sourceMappingURL=index.js.map\n;// CONCATENATED MODULE: ./src/store.ts\n// Copyright 2020-2021 the .NET Foundation\n// Licensed under the MIT License\n\n// The high-level docs in `wwtaware.ts` contain the developer-friendly\n// descriptions of pretty much everything in this file. Update those docs when\n// adding new features here.\n\n\n\n\n\nvar WWTGlobalState = /** @class */ (function () {\n function WWTGlobalState() {\n this.inst = null;\n this.onLinkedCallbacks = [];\n }\n WWTGlobalState.prototype.link = function (inst) {\n var e_1, _a;\n if (this.inst !== null)\n throw new Error(\"must unlink WWT Pinia global state before relinking\");\n this.inst = inst;\n try {\n for (var _b = tslib_es6_values(this.onLinkedCallbacks), _c = _b.next(); !_c.done; _c = _b.next()) {\n var cb = _c.value;\n cb();\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n this.onLinkedCallbacks = [];\n };\n WWTGlobalState.prototype.unlink = function () {\n this.inst = null;\n };\n return WWTGlobalState;\n}());\n\n/** This class holds basic information about an imageset.\n *\n * Discover imagesets through the [[WWTAwareComponent.wwtAvailableImagesets]]\n * state variable. In standard practice there will be hundreds of available\n * imagesets of many different kinds.\n *\n * Imagesets may be uniquely identified by their associated image data [[url]].\n * (If you really need to have multiple imagesets associated with the same URL,\n * add a `#fragment` to the end.)\n */\nvar ImagesetInfo = /** @class */ (function () {\n function ImagesetInfo(url, name, type, description, extension, id) {\n if (id === void 0) { id = null; }\n this.url = url;\n this.name = name;\n this.type = type;\n this.description = description;\n this.extension = extension;\n this.id = id;\n }\n ImagesetInfo.fromImageset = function (imageset) {\n var _a, _b;\n return new ImagesetInfo(imageset.get_url(), imageset.get_name(), imageset.get_dataSetType(), imageset.get_creditsText(), imageset.get_extension(), (_b = (_a = imageset.get_hipsProperties()) === null || _a === void 0 ? void 0 : _a.get_catalogSpreadSheetLayer().id.toString()) !== null && _b !== void 0 ? _b : null);\n };\n return ImagesetInfo;\n}());\n\nvar SpreadSheetLayerInfo = /** @class */ (function () {\n function SpreadSheetLayerInfo(id, referenceFrame, name) {\n this.id = id;\n this.referenceFrame = referenceFrame;\n this.name = name !== null && name !== void 0 ? name : id;\n }\n SpreadSheetLayerInfo.prototype.setName = function (name) {\n this.name = name;\n };\n return SpreadSheetLayerInfo;\n}());\n\n/** Information about an active imageset layer. */\nvar ImageSetLayerState = /** @class */ (function () {\n function ImageSetLayerState(source) {\n this.guidText = source.id.toString();\n this.settings = new imagesetlayer_ImageSetLayerState(source);\n var fits = source.get_imageSet().get_fitsProperties();\n this.scaleType = fits.scaleType;\n this.vmin = fits.lowerCut;\n this.vmax = fits.upperCut;\n this.colormapName = fits.colorMapName;\n }\n ImageSetLayerState.prototype.getGuid = function () {\n return this.guidText;\n };\n return ImageSetLayerState;\n}());\n\n/** This function creates the list of currently active layers.\n * Keeping this functionality outside of the store allows us to use it from\n * inside either an action or a mutation.\n */\nfunction activeLayersList(wwt) {\n if (wwt.inst === null)\n throw new Error('cannot get activeLayersList without linking to WWTInstance');\n var layers = [];\n function accum(lm) {\n var e_2, _a, e_3, _b;\n try {\n for (var _c = tslib_es6_values(lm.layers), _d = _c.next(); !_d.done; _d = _c.next()) {\n var layer = _d.value;\n layers.push(layer.id.toString());\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_2) throw e_2.error; }\n }\n try {\n for (var _e = tslib_es6_values(Object.entries(lm.childMaps)), _f = _e.next(); !_f.done; _f = _e.next()) {\n var _g = __read(_f.value, 2), _mapname = _g[0], sublm = _g[1];\n accum(sublm);\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_b = _e.return)) _b.call(_e);\n }\n finally { if (e_3) throw e_3.error; }\n }\n }\n var rootlm = wwt.inst.lm.get_allMaps()[wwt.inst.ctl.getCurrentReferenceFrame()];\n if (rootlm) {\n accum(rootlm);\n }\n return layers;\n}\n/** This function creates the list of currently available imagesets.\n * Keeping this functionality outside of the store allows us to use it from\n * inside either an action or a mutation.\n */\nfunction availableImagesets() {\n return engine_root_wwtlib_.WWTControl.getImageSets().map(ImagesetInfo.fromImageset);\n}\n/** The WWT Pinia implementation.\n *\n * See [[WWTAwareComponent]] for an organized overview of the state variables,\n * getters, and actions exposed by this module.\n */\nvar engineStore = defineStore('wwt-engine', {\n // NOTE: We were originally alphabetizing these all, but now I think it will be\n // better to group topically related fields.\n state: function () { return ({\n activeLayers: [],\n availableImagesets: [],\n backgroundImageset: null,\n clockDiscontinuities: 0,\n clockRate: 1.0,\n currentTime: new Date(),\n decRad: 0.0,\n foregroundImageset: null,\n foregroundOpacity: 100,\n imagesetLayers: {},\n isTourPlayerActive: false,\n isTourPlaying: false,\n raRad: 0.0,\n renderType: ImageSetType.sky,\n rollRad: 0,\n spreadSheetLayers: {},\n timeAtStartup: Date.now(),\n tourCompletions: 0,\n tourRunTime: null,\n tourStopStartTimes: [],\n tourTimecode: 0.0,\n showWebGl2Warning: false,\n zoomDeg: 0.0,\n }); },\n getters: {\n lookupImageset: function (_state) {\n var _this = this;\n return function (imagesetName) {\n if (_this.$wwt.inst === null)\n throw new Error('cannot lookupImageset without linking to WWTInstance');\n return _this.$wwt.inst.ctl.getImagesetByName(imagesetName);\n };\n },\n findRADecForScreenPoint: function (_state) {\n var _this = this;\n return function (pt) {\n if (_this.$wwt.inst === null)\n throw new Error('cannot findRADecForScreenPoint without linking to WWTInstance');\n var coords = _this.$wwt.inst.ctl.getCoordinatesForScreenPoint(pt.x, pt.y);\n return { ra: (15 * coords.x + 720) % 360, dec: coords.y };\n };\n },\n findScreenPointForRADec: function (_state) {\n var _this = this;\n return function (pt) {\n if (_this.$wwt.inst === null)\n throw new Error('cannot findScreenPointForRADec without linking to WWTInstance');\n return _this.$wwt.inst.ctl.getScreenPointForCoordinates(pt.ra / 15, pt.dec);\n };\n },\n imagesetStateForLayer: function (state) {\n return function (guidtext) {\n return state.imagesetLayers[guidtext] || null;\n };\n },\n activeImagesetLayerStates: function () {\n var e_4, _a;\n var states = [];\n try {\n for (var _b = tslib_es6_values(this.activeLayers), _c = _b.next(); !_c.done; _c = _b.next()) {\n var guid = _c.value;\n var layerState = this.imagesetLayers[guid];\n if (layerState) {\n states.push(layerState);\n }\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_4) throw e_4.error; }\n }\n return states;\n },\n catalogLayerKey: function (_state) {\n return function (catalog) {\n var _a;\n return (_a = catalog.id) !== null && _a !== void 0 ? _a : \"\";\n };\n },\n imagesetForLayer: function (_state) {\n var _this = this;\n return function (guidtext) {\n if (_this.$wwt.inst === null)\n throw new Error('cannot get imagesetForLayer without linking to WWTInstance');\n var layer = _this.$wwt.inst.lm.get_layerList()[guidtext];\n if (layer !== null && layer instanceof engine_root_wwtlib_.ImageSetLayer) {\n return layer.get_imageSet();\n }\n else {\n return null;\n }\n };\n },\n imagesetLayerById: function (_state) {\n var _this = this;\n return function (id) {\n if (_this.$wwt.inst === null)\n throw new Error('cannot get imagesetLayerById without linking to WWTInstance');\n var layer = _this.layerById(id);\n if (layer !== null && layer instanceof engine_root_wwtlib_.ImageSetLayer) {\n return layer;\n }\n else {\n return null;\n }\n };\n },\n layerForHipsCatalog: function (_state) {\n var _this = this;\n return function (name) {\n if (_this.$wwt.inst === null)\n throw new Error('cannot get layerForHipsCatalog without linking to WWTInstance');\n var id = engine_root_wwtlib_.Guid.createFrom(name).toString();\n return _this.spreadSheetLayerById(id);\n };\n },\n layerById: function (_state) {\n var _this = this;\n return function (id) {\n if (_this.$wwt.inst === null)\n throw new Error('cannot get layerById without linking to WWTInstance');\n return _this.$wwt.inst.lm.get_layerList()[id];\n };\n },\n spreadsheetStateForHipsCatalog: function (state) {\n var _this = this;\n return function (name) {\n if (_this.$wwt.inst === null)\n throw new Error('cannot get spreadsheetStateForHipsCatalog without linking to WWTInstance');\n var id = engine_root_wwtlib_.Guid.createFrom(name).toString();\n return state.spreadSheetLayers[id] || null;\n };\n },\n spreadSheetLayerById: function (_state) {\n var _this = this;\n return function (id) {\n if (_this.$wwt.inst === null)\n throw new Error('cannot get spreadsheetLayerById without linking to WWTInstance');\n var layer = _this.layerById(id);\n if (layer !== null && layer instanceof engine_root_wwtlib_.SpreadSheetLayer) {\n return layer;\n }\n else {\n return null;\n }\n };\n },\n spreadsheetStateById: function (state) {\n return function (id) {\n return state.spreadSheetLayers[id] || null;\n };\n },\n spreadSheetLayer: function (_state) {\n var _this = this;\n return function (catalog) {\n if (_this.$wwt.inst === null)\n throw new Error('cannot get spreadSheetLayer without linking to WWTInstance');\n var key = _this.catalogLayerKey(catalog);\n return _this.spreadSheetLayerById(key);\n };\n },\n spreadsheetState: function (state) {\n var _this = this;\n return function (catalog) {\n var key = _this.catalogLayerKey(catalog);\n return state.spreadSheetLayers[key] || null;\n };\n }\n },\n actions: {\n internalLinkToInstance: function (wwt) {\n this.$wwt.link(wwt);\n },\n internalUnlinkFromInstance: function () {\n this.$wwt.unlink();\n },\n internalUpdate: function () {\n if (this.$wwt.inst === null)\n throw new Error('cannot internalUpdate without linking to WWTInstance');\n var wwt = this.$wwt.inst;\n var raRad = wwt.si.getRA() * H2R;\n if (this.raRad != raRad)\n this.raRad = raRad;\n var decRad = wwt.si.getDec() * D2R;\n if (this.decRad != decRad)\n this.decRad = decRad;\n var zoomDeg = wwt.ctl.renderContext.viewCamera.zoom;\n if (this.zoomDeg != zoomDeg)\n this.zoomDeg = zoomDeg;\n var rollRad = wwt.ctl.renderContext.viewCamera.rotation;\n if (this.rollRad != rollRad)\n this.rollRad = rollRad;\n var bg = wwt.ctl.renderContext.get_backgroundImageset() || null; // TEMP\n if (this.backgroundImageset != bg)\n this.backgroundImageset = bg;\n var time = wwt.stc.get_now();\n if (this.currentTime != time)\n this.currentTime = time;\n var fg = wwt.ctl.renderContext.get_foregroundImageset() || null; // TEMP\n if (this.foregroundImageset != fg)\n this.foregroundImageset = fg;\n if (this.foregroundOpacity != wwt.ctl.renderContext.viewCamera.opacity)\n this.foregroundOpacity = wwt.ctl.renderContext.viewCamera.opacity;\n if (this.renderType != wwt.ctl.renderType)\n this.renderType = wwt.ctl.renderType;\n var player = wwt.getActiveTourPlayer();\n this.tourTimecode = wwt.getEffectiveTourTimecode();\n if (player !== null) {\n this.isTourPlayerActive = true;\n this.isTourPlaying = wwt.getIsTourPlaying(player);\n }\n else {\n this.isTourPlayerActive = false;\n this.isTourPlaying = false;\n }\n var showWebGl2Warning = !wwt.si.isUsingWebGl2()\n && (Date.now() - this.timeAtStartup) < 15000;\n if (this.showWebGl2Warning != showWebGl2Warning) {\n this.showWebGl2Warning = showWebGl2Warning;\n }\n },\n internalIncrementTourCompletions: function () {\n this.tourCompletions += 1;\n },\n applySetting: function (setting) {\n if (this.$wwt.inst === null)\n throw new Error('cannot applySetting without linking to WWTInstance');\n this.$wwt.inst.applySetting(setting);\n },\n setBackgroundImageByName: function (imagesetName) {\n if (this.$wwt.inst === null)\n throw new Error('cannot setBackgroundImageByName without linking to WWTInstance');\n this.$wwt.inst.setBackgroundImageByName(imagesetName);\n },\n setForegroundImageByName: function (imagesetName) {\n if (this.$wwt.inst === null)\n throw new Error('cannot setForegroundImageByName without linking to WWTInstance');\n this.$wwt.inst.setForegroundImageByName(imagesetName);\n },\n setForegroundOpacity: function (opacity) {\n if (this.$wwt.inst === null)\n throw new Error('cannot setForegroundOpacity without linking to WWTInstance');\n this.$wwt.inst.setForegroundOpacity(opacity);\n this.foregroundOpacity = opacity;\n },\n setupForImageset: function (options) {\n if (this.$wwt.inst === null)\n throw new Error('cannot setupForImageset without linking to WWTInstance');\n this.$wwt.inst.setupForImageset(options);\n },\n zoom: function (factor) {\n if (this.$wwt.inst === null)\n throw new Error('cannot zoom without linking to WWTInstance');\n this.$wwt.inst.ctl.zoom(factor);\n },\n move: function (args) {\n if (this.$wwt.inst === null)\n throw new Error('cannot move without linking to WWTInstance');\n this.$wwt.inst.ctl.move(args.x, args.y);\n },\n tilt: function (args) {\n if (this.$wwt.inst === null)\n throw new Error('cannot tilt without linking to WWTInstance');\n this.$wwt.inst.ctl._tilt(args.x, args.y);\n },\n setTime: function (time) {\n if (this.$wwt.inst === null)\n throw new Error('cannot setTime without linking to WWTInstance');\n this.$wwt.inst.stc.set_now(time);\n this.clockDiscontinuities += 1;\n },\n setClockRate: function (rate) {\n if (this.$wwt.inst === null)\n throw new Error('cannot setClockRate without linking to WWTInstance');\n if (this.$wwt.inst.stc.get_timeRate() != rate) {\n this.$wwt.inst.stc.set_timeRate(rate);\n this.clockRate = rate;\n this.clockDiscontinuities += 1;\n }\n },\n setClockSync: function (isSynced) {\n if (this.$wwt.inst === null)\n throw new Error('cannot setClockSync without linking to WWTInstance');\n if (this.$wwt.inst.stc.get_syncToClock() != isSynced) {\n this.$wwt.inst.stc.set_syncToClock(isSynced);\n if (isSynced) {\n this.clockRate = this.$wwt.inst.stc.get_timeRate();\n }\n else {\n this.clockRate = 0;\n }\n this.clockDiscontinuities += 1;\n }\n },\n startTour: function () {\n if (this.$wwt.inst === null)\n throw new Error('cannot start tour without linking to WWTInstance');\n var player = this.$wwt.inst.getActiveTourPlayer();\n if (player === null)\n throw new Error('no tour to start');\n player.play();\n },\n toggleTourPlayPauseState: function () {\n if (this.$wwt.inst === null)\n throw new Error('cannot play/pause tour without linking to WWTInstance');\n var player = this.$wwt.inst.getActiveTourPlayer();\n if (player === null)\n throw new Error('no tour to play/pause');\n // Despite the unclear name, this function does toggle play/pause state.\n player.pauseTour();\n },\n setTourPlayerLeaveSettingsWhenStopped: function (value) {\n if (this.$wwt.inst === null)\n throw new Error('cannot setTourPlayerLeaveSettingsWhenStopped without linking to WWTInstance');\n var player = this.$wwt.inst.getActiveTourPlayer();\n if (player === null)\n throw new Error('no tour player to control');\n player.set_leaveSettingsWhenStopped(value);\n },\n seekToTourTimecode: function (value) {\n if (this.$wwt.inst === null)\n throw new Error('cannot seekToTourTimecode without linking to WWTInstance');\n this.$wwt.inst.seekToTourTimecode(value);\n },\n viewAsTourXml: function (name) {\n return __awaiter(this, void 0, void 0, function () {\n var editor, tour, blob, reader, tourXml;\n return __generator(this, function (_a) {\n engine_root_wwtlib_.WWTControl.singleton.createTour(name || \"\");\n editor = engine_root_wwtlib_.WWTControl.singleton.tourEdit;\n editor.addSlide(false);\n tour = editor.get_tour();\n if (tour === null) {\n return [2 /*return*/, Promise.resolve(null)];\n }\n blob = tour.saveToBlob();\n reader = new FileReader();\n reader.readAsText(blob);\n tourXml = \"\";\n return [2 /*return*/, new Promise(function (resolve, _reject) {\n reader.onloadend = function () {\n tourXml += reader.result;\n resolve(tourXml);\n };\n })];\n });\n });\n },\n waitForReady: function () {\n return __awaiter(this, void 0, void 0, function () {\n var _this = this;\n return __generator(this, function (_a) {\n if (this.$wwt.inst !== null) {\n return [2 /*return*/, this.$wwt.inst.waitForReady()];\n }\n else {\n return [2 /*return*/, new Promise(function (resolve, _reject) {\n var waitThenResolve = function () {\n _this.$wwt.inst.waitForReady().then(resolve);\n };\n if (_this.$wwt.inst !== null) {\n waitThenResolve();\n }\n else {\n _this.$wwt.onLinkedCallbacks.push(waitThenResolve);\n }\n })];\n }\n return [2 /*return*/];\n });\n });\n },\n gotoRADecZoom: function (_a) {\n var raRad = _a.raRad, decRad = _a.decRad, zoomDeg = _a.zoomDeg, instant = _a.instant, rollRad = _a.rollRad;\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_b) {\n if (this.$wwt.inst === null)\n throw new Error('cannot gotoRADecZoom without linking to WWTInstance');\n return [2 /*return*/, this.$wwt.inst.gotoRADecZoom(raRad, decRad, zoomDeg, instant, rollRad)];\n });\n });\n },\n timeToRADecZoom: function (_a) {\n var raRad = _a.raRad, decRad = _a.decRad, zoomDeg = _a.zoomDeg, rollRad = _a.rollRad;\n if (this.$wwt.inst === null)\n throw new Error('cannot get timeToRADecZoom without linking to WWTInstance');\n return this.$wwt.inst.timeToRADecZoom(raRad, decRad, zoomDeg, rollRad);\n },\n gotoTarget: function (options) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (this.$wwt.inst === null)\n throw new Error('cannot gotoTarget without linking to WWTInstance');\n return [2 /*return*/, this.$wwt.inst.gotoTarget(options)];\n });\n });\n },\n setTrackedObject: function (obj) {\n if (this.$wwt.inst === null)\n throw new Error('cannot setTrackedObject without linking to WWTInstance');\n this.$wwt.inst.ctl.renderContext.set_solarSystemTrack(obj);\n },\n loadTour: function (_a) {\n var url = _a.url, play = _a.play;\n return __awaiter(this, void 0, void 0, function () {\n var tourRunTime, tourStopStartTimes, player, tour, nStops, i;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (this.$wwt.inst === null)\n throw new Error('cannot loadTour without linking to WWTInstance');\n if (!play) return [3 /*break*/, 2];\n return [4 /*yield*/, this.$wwt.inst.loadAndPlayTour(url)];\n case 1:\n _b.sent();\n return [3 /*break*/, 4];\n case 2: return [4 /*yield*/, this.$wwt.inst.loadTour(url)];\n case 3:\n _b.sent();\n _b.label = 4;\n case 4:\n tourRunTime = null;\n tourStopStartTimes = [];\n player = this.$wwt.inst.getActiveTourPlayer();\n if (player !== null) {\n tour = player.get_tour();\n if (tour !== null) {\n tourRunTime = tour.get_runTime() * 0.001; // ms => s\n nStops = tour.get_tourStops().length;\n for (i = 0; i < nStops; i++) {\n tourStopStartTimes.push(tour.elapsedTimeTillTourstop(i));\n }\n }\n }\n return [2 /*return*/, { tourRunTime: tourRunTime, tourStopStartTimes: tourStopStartTimes }];\n }\n });\n });\n },\n loadImageCollection: function (_a) {\n var url = _a.url, loadChildFolders = _a.loadChildFolders;\n return __awaiter(this, void 0, void 0, function () {\n var result;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (this.$wwt.inst === null)\n throw new Error('cannot loadImageCollection without linking to WWTInstance');\n return [4 /*yield*/, this.$wwt.inst.loadImageCollection(url, loadChildFolders)];\n case 1:\n result = _b.sent();\n this.availableImagesets = availableImagesets();\n return [2 /*return*/, result];\n }\n });\n });\n },\n // General layers\n deleteLayer: function (id) {\n if (this.$wwt.inst === null)\n throw new Error('cannot deleteLayer without linking to WWTInstance');\n var stringId = \"\";\n if (typeof id === \"string\") {\n stringId = id;\n var guid = engine_root_wwtlib_.Guid.fromString(id);\n this.$wwt.inst.lm.deleteLayerByID(guid, true, true);\n }\n else {\n stringId = id.toString();\n this.$wwt.inst.lm.deleteLayerByID(id, true, true);\n }\n // Mirror modification in the reactive system. Here we just\n // delete willy-nilly and ignore any missing cases.\n delete this.imagesetLayers[stringId];\n delete this.spreadSheetLayers[stringId];\n this.activeLayers = activeLayersList(this.$wwt);\n },\n // Imageset layers, including FITS layers\n addImageSetLayer: function (options) {\n return __awaiter(this, void 0, void 0, function () {\n var wwtLayer, guidText;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (this.$wwt.inst === null)\n throw new Error('cannot addImageSetLayer without linking to WWTInstance');\n return [4 /*yield*/, this.$wwt.inst.addImageSetLayer(options)];\n case 1:\n wwtLayer = _a.sent();\n guidText = wwtLayer.id.toString();\n this.imagesetLayers[guidText] = new ImageSetLayerState(wwtLayer);\n this.activeLayers = activeLayersList(this.$wwt);\n return [2 /*return*/, wwtLayer];\n }\n });\n });\n },\n // deprecated, but maintained for compatibility:\n loadFitsLayer: function (options) {\n return __awaiter(this, void 0, void 0, function () {\n var addImageSetLayerOptions;\n return __generator(this, function (_a) {\n if (this.$wwt.inst === null)\n throw new Error('cannot loadFitsLayer without linking to WWTInstance');\n addImageSetLayerOptions = {\n url: options.url,\n mode: \"fits\",\n name: options.name,\n goto: options.gotoTarget\n };\n return [2 /*return*/, this.$wwt.inst.addImageSetLayer(addImageSetLayerOptions)];\n });\n });\n },\n setImageSetLayerOrder: function (options) {\n if (this.$wwt.inst === null)\n throw new Error('cannot setImageSetLayerOrder without linking to WWTInstance');\n this.$wwt.inst.setImageSetLayerOrder(options);\n this.activeLayers = activeLayersList(this.$wwt);\n },\n stretchFitsLayer: function (options) {\n if (this.$wwt.inst === null)\n throw new Error('cannot stretchFitsLayer without linking to WWTInstance');\n this.$wwt.inst.stretchFitsLayer(options);\n // Update the reactive mirror.\n var state = this.imagesetLayers[options.id];\n if (state) {\n state.scaleType = options.stretch;\n state.vmin = options.vmin;\n state.vmax = options.vmax;\n }\n },\n setFitsLayerColormap: function (options) {\n if (this.$wwt.inst === null)\n throw new Error('cannot setFitsLayerColormap without linking to WWTInstance');\n this.$wwt.inst.setFitsLayerColormap(options);\n // Update the reactive mirror.\n var state = this.imagesetLayers[options.id];\n if (state) {\n state.colormapName = options.name;\n }\n },\n applyFitsLayerSettings: function (options) {\n var e_5, _a;\n if (this.$wwt.inst === null)\n throw new Error('cannot applyFitsLayerSettings without linking to WWTInstance');\n this.$wwt.inst.applyFitsLayerSettings(options);\n // Update the reactive mirror.\n var state = this.imagesetLayers[options.id];\n if (state) {\n try {\n for (var _b = tslib_es6_values(options.settings), _c = _b.next(); !_c.done; _c = _b.next()) {\n var s = _c.value;\n applyImageSetLayerSetting(state.settings, s);\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_5) throw e_5.error; }\n }\n }\n },\n // Spreadsheet layers\n createTableLayer: function (options) {\n return __awaiter(this, void 0, void 0, function () {\n var layer, prom, wwtLayer, guidText;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (this.$wwt.inst === null)\n throw new Error('cannot createTableLayer without linking to WWTInstance');\n layer = this.$wwt.inst.lm.createSpreadsheetLayer(options.referenceFrame, options.name, options.dataCsv);\n // Value-add init copied from the pywwt JS component.\n // Override any column guesses:\n layer.set_lngColumn(-1);\n layer.set_latColumn(-1);\n layer.set_altColumn(-1);\n layer.set_sizeColumn(-1);\n layer.set_colorMapColumn(-1);\n layer.set_startDateColumn(-1);\n layer.set_endDateColumn(-1);\n layer.set_xAxisColumn(-1);\n layer.set_yAxisColumn(-1);\n layer.set_zAxisColumn(-1);\n layer.set_altUnit(AltUnits.meters);\n layer.set_referenceFrame(options.referenceFrame);\n if (options.referenceFrame == 'Sky') {\n layer.set_astronomical(true);\n }\n prom = Promise.resolve(layer);\n return [4 /*yield*/, prom];\n case 1:\n wwtLayer = _a.sent();\n guidText = wwtLayer.id.toString();\n this.spreadSheetLayers[guidText] = new SpreadSheetLayerState(wwtLayer);\n this.activeLayers = activeLayersList(this.$wwt);\n return [2 /*return*/, wwtLayer];\n }\n });\n });\n },\n applyTableLayerSettings: function (options) {\n var e_6, _a;\n if (this.$wwt.inst === null)\n throw new Error('cannot applyTableLayerSettings without linking to WWTInstance');\n this.$wwt.inst.applyTableLayerSettings(options);\n // Mirror changes in the reactive framework.\n var state = this.spreadSheetLayers[options.id];\n if (state !== undefined) {\n try {\n for (var _b = tslib_es6_values(options.settings), _c = _b.next(); !_c.done; _c = _b.next()) {\n var s = _c.value;\n applySpreadSheetLayerSetting(state, s);\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_6) throw e_6.error; }\n }\n }\n },\n updateTableLayer: function (options) {\n if (this.$wwt.inst === null)\n throw new Error('cannot updateTableLayer without linking to WWTInstance');\n this.$wwt.inst.updateTableLayer(options);\n // Nothing to mirror in reactive-land -- this call affects the table data.\n },\n // Progressive HiPS catalogs.\n //\n // These have some characteristics of imagesets, and some characteristics\n // of spreadsheet layers.\n addCatalogHipsByName: function (options) {\n return __awaiter(this, void 0, void 0, function () {\n var imgset, hips, wwtLayer, guidText, info;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (this.$wwt.inst == null)\n throw new Error('cannot addCatalogHipsByName without linking to WWTInstance');\n return [4 /*yield*/, this.$wwt.inst.addCatalogHipsByName(options)];\n case 1:\n imgset = _a.sent();\n hips = imgset.get_hipsProperties();\n if (hips !== null) {\n wwtLayer = hips.get_catalogSpreadSheetLayer();\n guidText = wwtLayer.id.toString();\n this.spreadSheetLayers[guidText] = new SpreadSheetLayerState(wwtLayer);\n info = availableImagesets().find(function (x) { return x.name === options.name; });\n if (info !== undefined) {\n info.id = guidText;\n }\n }\n this.activeLayers = activeLayersList(this.$wwt);\n return [2 /*return*/, imgset];\n }\n });\n });\n },\n getCatalogHipsDataInView: function (options) {\n if (this.$wwt.inst == null)\n throw new Error('cannot getCatalogHipsDataInView without linking to WWTInstance');\n return this.$wwt.inst.getCatalogHipsDataInView(options);\n },\n removeCatalogHipsByName: function (name) {\n if (this.$wwt.inst == null)\n throw new Error('cannot removeCatalogHipsByName without linking to WWTInstance');\n this.$wwt.inst.ctl.removeCatalogHipsByName(name);\n var id = engine_root_wwtlib_.Guid.createFrom(name).toString();\n delete this.spreadSheetLayers[id];\n this.activeLayers = activeLayersList(this.$wwt);\n },\n // Annotations\n addAnnotation: function (ann) {\n if (this.$wwt.inst === null)\n throw new Error('cannot addAnnotation without linking to WWTInstance');\n this.$wwt.inst.si.addAnnotation(ann);\n },\n removeAnnotation: function (ann) {\n if (this.$wwt.inst === null)\n throw new Error('cannot removeAnnotation without linking to WWTInstance');\n this.$wwt.inst.si.removeAnnotation(ann);\n },\n clearAnnotations: function () {\n if (this.$wwt.inst === null)\n throw new Error('cannot clearAnnotations without linking to WWTInstance');\n this.$wwt.inst.si.clearAnnotations();\n }\n },\n});\n\n;// CONCATENATED MODULE: ./src/wwtaware.ts\n// Copyright 2020-2021 the .NET Foundation\n// Licensed under the MIT License\n\n\n\n\n/** A class for Vue components that wish to interact with a [[WWTComponent]]\n * through the Pinia state management system.\n *\n * Skip to [The WWT Pinia Interface](#the-wwt-pinia-interface) for a quick summary\n * of how WWT's state is exposed and controlled in Pinia.\n *\n * ## Introduction\n *\n * Vue applications are composed of multiple [components]. In a WWT-powered app,\n * one of those components will be a `` component containing\n * the actual WWT rendering window. The other components of the app will wish to\n * monitor or alter the state of the WWT rendering window. The\n * [[WWTAwareComponent]] class provides a convenient framework for doing so.\n *\n * [components]: https://vuejs.org/v2/guide/components.html\n *\n * In particular, if your component [extends] this class, it\n * will automatically be set up with fields and methods allowing you to interact\n * with the WWT engineโ€™s state. A minimal example:\n *\n * [extends]: https://vuejs.org/api/options-composition.html#extends\n *\n * ```vue\n * \n *\n * \n * ```\n *\n * This simple `App` component will display the coordinates of the current center\n * of the WWT view, and the coordinate readout will update automagically as the\n * user interacts with the view.\n *\n * ## Props\n *\n * Classes inheriting from [[WWTAwareComponent]] automatically define a prop\n * named [[wwtNamespace]]. This should be set to the namespace of the [Pinia\n * module] used to track the `` componentโ€™s state โ€” that is,\n * it should have the same value as that componentโ€™s own `wwtNamespace` prop.\n * The default value is `\"wwt\"`.\n *\n * [Pinia module]: https://pinia.vuejs.org/core-concepts/\n *\n * ## The WWT Pinia Interface\n *\n * Your [[WWTAwareComponent]] can monitor or manipulate the state of the WWT\n * renderer using the following interfaces, grouped by category. As a reminder,\n * in the Pinia paradigm, state is expressed in [state variables] and [getters],\n * and modified either directly or through [actions] (which can be asynchronous).\n *\n * [state variables]: https://pinia.vuejs.org/core-concepts/state.html\n * [getters]: https://pinia.vuejs.org/core-concepts/getters.html\n * [actions]: https://pinia.vuejs.org/core-concepts/actions.html\n *\n * ### Initialization\n *\n * Actions:\n *\n * - [[waitForReady]]\n * - [[setupForImageset]]\n *\n * ### Basic View Information\n *\n * State:\n *\n * - [[wwtCurrentTime]]\n * - [[wwtClockDiscontinuities]]\n * - [[wwtClockRate]]\n * - [[wwtDecRad]]\n * - [[wwtRARad]]\n * - [[wwtZoomDeg]]\n *\n * Getters:\n *\n * - [[findRADecForScreenPoint]]\n *\n * Actions:\n *\n * - [[gotoRADecZoom]]\n * - [[gotoTarget]]\n * - [[setClockRate]]\n * - [[setClockSync]]\n * - [[setTime]]\n * - [[setTrackedObject]]\n * - [[zoom]]\n *\n * ### Image Sets\n *\n * State:\n *\n * - [[wwtAvailableImagesets]]\n * - [[wwtBackgroundImageset]]\n * - [[wwtForegroundImageset]]\n * - [[wwtForegroundOpacity]]\n * - [[wwtRenderType]]\n *\n * Getters:\n *\n * - [[lookupImageset]]\n *\n * Actions:\n *\n * - [[loadImageCollection]]\n * - [[setBackgroundImageByName]]\n * - [[setForegroundImageByName]]\n * - [[setForegroundOpacity]]\n * - [[setupForImageset]]\n * - [[updateAvailableImagesets]]\n *\n * ### Imageset Layers (including FITS imagery)\n *\n * State:\n *\n * - [[wwtActiveLayers]]\n * - [[wwtImagesetLayers]]\n *\n * Getters:\n *\n * - [[activeImagesetLayerStates]]\n * - [[imagesetForLayer]]\n * - [[imagesetStateForLayer]]\n *\n * Actions:\n *\n * - [[addImageSetLayer]]\n * - [[loadFitsLayer]] (deprecated)\n * - [[applyFitsLayerSettings]]\n * - [[setFitsLayerColormap]]\n * - [[stretchFitsLayer]]\n * - [[setImageSetLayerOrder]]\n * - [[deleteLayer]]\n *\n * ### Tabular Data Layers\n *\n * State:\n *\n * - [[wwtActiveLayers]]\n * - [[wwtSpreadSheetLayers]]\n *\n * Actions:\n *\n * - [[createTableLayer]]\n * - [[applyTableLayerSettings]]\n * - [[updateTableLayer]]\n * - [[deleteLayer]]\n *\n * ### Annotations\n *\n * Actions:\n *\n * - [[addAnnotation]]\n * - [[clearAnnotations]]\n * - [[removeAnnotation]]\n *\n * ### Progressive HiPS Catalogs\n *\n * These have some characteristics of both imagesets and tabular (\"spreadsheet\") data\n * layers.\n *\n * Getters:\n *\n * - [[layerForHipsCatalog]]\n * - [[spreadsheetStateForHipsCatalog]]\n *\n * Actions:\n *\n * - [[addCatalogHipsByName]]\n * - [[applyTableLayerSettings]]\n * - [[getCatalogHipsDataInView]]\n * - [[removeCatalogHipsByName]]\n *\n * ### Tours\n *\n * State:\n *\n * - [[wwtIsTourPlayerActive]]\n * - [[wwtIsTourPlaying]]\n * - [[wwtTourCompletions]]\n * - [[wwtTourRunTime]]\n * - [[wwtTourStopStartTimes]]\n * - [[wwtTourTimecode]]\n *\n * Actions:\n *\n * - [[loadTour]]\n * - [[seekToTourTimecode]]\n * - [[setTourPlayerLeaveSettingsWhenStopped]]\n * - [[startTour]]\n * - [[toggleTourPlayPauseState]]\n *\n * ### Miscellaneous\n *\n * State:\n *\n * - [[showWebGl2Warning]]\n *\n * Actions:\n *\n * - [[applySetting]]\n **/\nvar WWTAwareComponent = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({\n /** The namespace of the Pinia module used to track the WWT componentโ€™s state.\n * This prop should have the same value in all components in the app that\n * reference WWT.\n */\n props: {\n wwtNamespace: { type: String, default: \"wwt\", required: true }\n },\n computed: __assign(__assign({}, mapState(engineStore, {\n /** The GUIDs of all rendered layers, in their draw order.\n *\n * This list gives the GUIDs of the layers that are currently candidates for\n * rendering. This list is determined by the hierarchy of \"layer maps\"\n * registered with the engine and its current rendering mode. Layers in this\n * list might not be actually rendered if their `enabled` flag is false, if\n * they are fully transparent, and so on.\n **/\n wwtActiveLayers: 'activeLayers',\n /** Information about the imagesets that are available to be used as a background.\n *\n * The info includes the name, which can then be used to set the background image\n * via the [[setBackgroundImageByName]] mutation.\n */\n wwtAvailableImagesets: 'availableImagesets',\n /** The current background [Imageset](../../engine/classes/imageset.html), or\n * null if it is undefined.\n *\n * You can cause this state variable to change using the\n * [[setBackgroundImageByName]] mutation.\n * **/\n wwtBackgroundImageset: 'backgroundImageset',\n /** The current time of WWT internal clock. In normal operation this variable\n * will change with every rendered WWT frame, or every 30 ms or so.\n */\n wwtCurrentTime: 'currentTime',\n /** The number of times that the progression of the WWT internal clock has\n * been changed discontinuously.\n *\n * The main use of this state variable is that you can\n * [watch](https://vuejs.org/api/reactivity-core.html#watch) for changes to it and be alerted\n * when the clock has been altered. */\n wwtClockDiscontinuities: 'clockDiscontinuities',\n /** The rate at which the WWT internal clock progresses compared to real time.\n * If the WWT clock is paused, this will be zero. Negative and fractional\n * values are both possible. */\n wwtClockRate: 'clockRate',\n /** The current declination of the center of the WWT view, in radians.\n *\n * TODO: define the meaning here for view modes other than \"sky.\"\n */\n wwtDecRad: 'decRad',\n /** The current foreground [Imageset](../../engine/classes/imageset.html), or\n * null if it is undefined.\n *\n * You can cause this state variable to change using the\n * [[setForegroundImageByName]] mutation.\n * **/\n wwtForegroundImageset: 'foregroundImageset',\n /** The opacity of the foreground imageset. Values range between 0 (invisible)\n * and 100 (fully opaque). */\n wwtForegroundOpacity: 'foregroundOpacity',\n /** A table of activated imageset layers.\n *\n * Use [[imagesetStateForLayer]] to access information about a particular\n * layer.\n */\n wwtImagesetLayers: 'imagesetLayers',\n /** Whether a tour has been loaded up and is available for playback. */\n wwtIsTourPlayerActive: 'isTourPlayerActive',\n /** Whether a tour is actively playing back right now. This can spontaneously become\n * false if the tour completes playing. */\n wwtIsTourPlaying: 'isTourPlaying',\n /** The current right ascension of the center of the WWT view, in radians.\n *\n * TODO: define the meaning here for view modes other than \"sky.\"\n */\n wwtRARad: 'raRad',\n /** The current mode of the WWT renderer.\n *\n * This is derived from the \"type\" of the active background imageset. To\n * change the mode, change the background imageset with\n * [[setBackgroundImageByName]].\n */\n wwtRenderType: 'renderType',\n /** The current roll of the view camera, in radians */\n wwtRollRad: 'rollRad',\n /** Whether or not to show a warning about recommending WebGL 2 */\n wwtShowWebGl2Warning: 'showWebGl2Warning',\n /** A table of activated imageset layers.\n *\n * Use [[imagesetStateForLayer]] to access information about a particular\n * layer.\n */\n wwtSpreadSheetLayers: 'spreadSheetLayers',\n /** The number of times that a WWT tour has completed playing.\n *\n * The main use of this state variable is that you can\n * [watch](https://vuejs.org/api/reactivity-core.html#watch) for changes to it and be alerted\n * when a tour finishes. Watching [[wwtIsTourPlaying]] doesn't suffice because\n * that will trigger when a tour is paused. */\n wwtTourCompletions: 'tourCompletions',\n /** The total runtime of the current tour, in seconds, if there is one. */\n wwtTourRunTime: 'tourRunTime',\n /** The timecodes at which the current tourโ€™s \"stops\" begin, in seconds.\n *\n * Each WWT tour is composed of one or more \"stops\", each of which has a fixed\n * wall-clock duration. This variable gives the start times of the stops under\n * the assumption that they all follow one another in sequence. It is possible\n * to have nonlinear flow from one stop to the next.\n *\n * If no tour is loaded, this is an empty array.\n */\n wwtTourStopStartTimes: 'tourStopStartTimes',\n /** The \"timecode\" of the current tour playback progression.\n *\n * The \"timecode\" is approximately the number of seconds elapsed since tour\n * playback began. More precisely, however, it is the start time of the\n * current tour stop, plus however much wall-clock time has elapsed while at\n * that stop. Because it is possible for stops to link to each other\n * non-linearly, it is also possible for the timecode to progress non-linearly\n * even when the tour plays back without user interaction.\n *\n * In combination with [[wwtTourStopStartTimes]], you can use this value to\n * determine the index number of the currently active tour stop.\n *\n * If no tour is loaded, this is zero.\n */\n wwtTourTimecode: 'tourTimecode',\n /** The WWT zoom level, in degrees.\n *\n * TODO: define the semantics here in 3D and other modes.\n *\n * In 2D sky mode, the zoom level is the angular height of the viewport,\n * *times six*.\n */\n wwtZoomDeg: 'zoomDeg',\n })), mapState(engineStore, [\n /** Get the reactive state for the active imageset layers\n *\n * These layers are created using the [[addImageSetLayer]] action. The state\n * structures returned by this function are part of the reactive store, so\n * you can wire them up to your UI and they will update correctly. The list is\n * returned in the engine's render order.\n *\n * @returns The layer states\n */\n \"activeImagesetLayerStates\",\n /** Get the right ascension and declination, in degrees, for x, y coordinates on the screen */\n \"findRADecForScreenPoint\",\n /** Given an RA and Dec position, return the x, y coordinates of the screen point */\n \"findScreenPointForRADec\",\n /** Look up the WWT engine object for an active imageset layer.\n *\n * This getter gets the WWT `Imageset` object associated with an imageset\n * layer. The returned object is *not* part of the Vue(x) reactivity system,\n * so you shouldn't use it to set up UI elements, but you can obtain more\n * detailed information about the imageset than is stored in the state\n * management system. For UI purposes, use [[imagesetStateForLayer]].\n *\n * @param guidtext The GUID of the layer to query, as a string\n * @returns The layer's underlying imageset, or null if the GUID is\n * unrecognized\n */\n \"imagesetForLayer\",\n /** Look up the reactive state for an active imageset layer.\n *\n * These layers are created using the [[addImageSetLayer]] action. The state\n * returned by this function is part of the reactive store, so you can\n * wire it up to your UI and it will update as the layer settings are changed.\n * If you need \"runtime\" state not captured in the reactivity system, you may\n * need to use [[imagesetForLayer]] instead.\n *\n * @param guidtext The GUID of the layer to query, as a string\n * @returns The layer state, or null if the GUID is unrecognized\n */\n \"imagesetStateForLayer\",\n /** Get the actual WWT `SpreadSheetLayer` for the named HiPS catalog.\n *\n * Do not use this function for UI purposes -- the WWT layer object is not\n * integrated into the reactive state system, and so if you use it as a basis\n * for UI elements, those elements will not be updated properly if/when the\n * layer's settings change. Use [[spreadsheetStateForHipsCatalog]] instead.\n *\n * @param name The `datasetName` of the HiPS catalog\n */\n \"layerForHipsCatalog\",\n /** Look up an [Imageset](../../engine/classes/imageset.html) in the engineโ€™s\n * table of ones with registered names.\n *\n * This delegates to\n * [WWTControl.getImagesetByName()](../../engine/wwtcontrol.html#getimagesetbyname),\n * which has very eager name-matching rules. But if nothing matches, null is\n * returned.\n *\n * Imagesets are not added to the engineโ€™s list of names automatically. In\n * order for an imageset to be findable by this function, its containing\n * folder must have been loaded using the [[loadImageCollection]] action.\n */\n \"lookupImageset\",\n /** Get the actual WWT `SpreadSheetLayer` for the table layer with the given ID.\n *\n * Do not use this function for UI purposes -- the WWT layer object is not\n * integrated into the reactive state system, and so if you use it as a basis\n * for UI elements, those elements will not be updated properly if/when the\n * layer's settings change. Use [[spreadsheetState]] instead.\n *\n * @param id The table layer's identifier.\n */\n \"spreadSheetLayerById\",\n /** Get the actual WWT `SpreadSheetLayer` for the table layer corresponding\n * to the given CatalogLayerInfo.\n *\n * Do not use this function for UI purposes -- the WWT layer object is not\n * integrated into the reactive state system, and so if you use it as a basis\n * for UI elements, those elements will not be updated properly if/when the\n * layer's settings change. Use [[spreadsheetState]] instead.\n *\n * @param id The table layer's identifier.\n */\n \"spreadSheetLayer\",\n /** Get reactive `SpreadSheetLayer` settings for the table layer corresponding to\n * the given CatalogLayerInfo.\n *\n * The returned data structure is a component of the app's reactive state. You can\n * therefore use the settings to construct UI elements, and they will update\n * reactively as the state evolves. The actual data structures used by WWT are\n * separate, but the two mirror each other.\n *\n * @param catalog A CatalogLayerInfo object corresponding to the layer.\n */\n \"spreadsheetState\",\n /** Get reactive `SpreadSheetLayer` settings for the table layer with the given ID.\n *\n * The returned data structure is a component of the app's reactive state. You can\n * therefore use the settings to construct UI elements, and they will update\n * reactively as the state evolves. The actual data structures used by WWT are\n * separate, but the two mirror each other.\n *\n * @param id The identifier of the table layer.\n */\n \"spreadsheetStateById\",\n /** Get reactive `SpreadSheetLayer` settings for the named HiPS catalog.\n *\n * The returned data structure is a component of the app's reactive state. You can\n * therefore use the settings to construct UI elements, and they will update\n * reactively as the state evolves. The actual data structures used by WWT are\n * separate, but the two mirror each other.\n *\n * @param name The `datasetName` of the HiPS catalog\n */\n \"spreadsheetStateForHipsCatalog\",\n ])),\n methods: __assign({}, mapActions(engineStore, [\n /** Add a \"catalog HiPS\" dataset to the current view, by name.\n *\n * If the catalog name is not in the engine's registry, the promise rejects.\n */\n \"addCatalogHipsByName\",\n /** Request the creation of a tabular data layer.\n *\n * The action resolves to a new [SpreadSheetLayer](../../engine/classes/spreadsheetlayer.html) instance.\n */\n \"createTableLayer\",\n /** Request an export of the catalog HiPS data within the current viewport. */\n \"getCatalogHipsDataInView\",\n /** Command the view to steer to a specific configuration.\n *\n * The async action completes when the view arrives, or when\n * a subsequent view command overrides this one.\n *\n * TODO: document semantics when not in 2D sky mode!\n */\n \"gotoRADecZoom\",\n /** Returns the time it would take, in seconds, to navigate to the given target. */\n \"timeToRADecZoom\",\n /** Command the view to steer as specified in\n * [the options](../../engine-helpers/interfaces/gototargetoptions.html).\n *\n * The async action completes when the view arrives, or when\n * a subsequent view command overrides this one.\n */\n \"gotoTarget\",\n /** Request the engine to load the specified image collection.\n *\n * The image collection is a [WTML file](https://docs.worldwidetelescope.org/data-guide/1/data-file-formats/collections/)\n * Images in collections loaded this way become usable for name-based lookup\n * by interfaces such as [[setForegroundImageByName]].\n *\n * The action resolves to a [Folder](../../engine/classes/folder.html) instance.\n * Itโ€™s asynchronous because the specified WTML file has to be downloaded.\n */\n \"loadImageCollection\",\n /** Deprecated. Use addImageSetLayer instead.\n * Request the creation of a FITS image layer.\n *\n * The action resolves to a new [ImageSetLayer](../../engine/classes/imagesetlayer.html) instance.\n * Itโ€™s asynchronous because the requested FITS file has to be downloaded.\n */\n \"loadFitsLayer\",\n /** Request the creation of a image layer. Either a single FITS or an image set.\n *\n * The action resolves to a new [ImageSetLayer](../../engine/classes/imagesetlayer.html) instance.\n * Itโ€™s asynchronous because the requested url has to be downloaded.\n */\n \"addImageSetLayer\",\n /** Request the engine to load a tour file.\n *\n * The action resolves when the load is complete. Itโ€™s asynchronous because\n * the full WTT tour file has to be downloaded.\n */\n \"loadTour\",\n /** Get the current view as a one-slide tour, serialized to XML */\n \"viewAsTourXml\",\n /** Wait for the WWT engine to become ready for usage.\n *\n * You should invoke this action and wait for is completion before trying to\n * do anything else with a WWT-aware component. The action resolves when the\n * WWT engine has completed its initialization, which involes the download of\n * some supporting data files.\n */\n \"waitForReady\",\n // Formerly mutations\n // TODO: Alphabetize this into one big list\n /** Add an [Annotation](../../engine/classes/annotation.html) to the view. */\n \"addAnnotation\",\n /** Alter one or more settings of the specified FITS image layer as specified\n * in [the options](../../engine-helpers/interfaces/applyfitslayersettingsoptions.html).\n */\n \"applyFitsLayerSettings\",\n /** Alter one or more settings of the specified tabular data layers as specified\n * in [the options](../../engine-helpers/interfaces/applytablelayersettingsoptions.html).\n */\n \"applyTableLayerSettings\",\n /** Alter one [WWT engine setting](../../engine/modules.html#enginesetting). */\n \"applySetting\",\n /** Clear all [Annotations](../../engine/classes/annotation.html) from the view. */\n \"clearAnnotations\",\n /** Delete the specified layer from the layer manager.\n *\n * A layer may be identified by either its name or its [id](../../engine/classes/layer.html#id).\n */\n \"deleteLayer\",\n /** Remove the specified [Annotation](../../engine/classes/annotation.html) from the view. */\n \"removeAnnotation\",\n /** Remove a \"catalog HiPS\" dataset to the current view, by name. */\n \"removeCatalogHipsByName\",\n /** Seek tour playback to the specified timecode.\n *\n * See [[wwtTourTimecode]] for a definition of the tour timecode.\n *\n * An important limitation is that the engine can only seek to the very\n * beginning of a tour stop. If you request a timecode in the middle of a\n * slide, the seek will actually occur to the start time of that slide.\n */\n \"seekToTourTimecode\",\n /** Set the current background [Imageset](../../engine/classes/imageset.html)\n * based on its name.\n *\n * The name lookup here is effectively done using [[lookupImageset]]. If\n * the name is not found, the current background imageset remains unchanged.\n *\n * Changing the background imageset may change the value of [[wwtRenderType]],\n * and the overall \"mode\" of the WWT renderer.\n */\n \"setBackgroundImageByName\",\n /** Set the rate at which the WWT clock progresses compared to wall-clock time.\n *\n * A value of 10 means that the WWT clock progresses ten times faster than\n * real time. A value of -0.1 means that the WWT clock moves backwards, ten\n * times slower than real time.\n *\n * Altering this causes an increment in [[wwtClockDiscontinuities]].\n */\n \"setClockRate\",\n /** Set whether the WWT clock should progress with real time.\n *\n * See\n * [SpaceTimeController.set_syncToClock()](../../engine/modules/spacetimecontroller.html#set_synctoclock).\n * This interface effectively allows you to pause the WWT clock.\n *\n * Altering this causes an increment in [[wwtClockDiscontinuities]].\n */\n \"setClockSync\",\n /** Set the colormap used for a FITS image layer according to\n * [the options](../../engine-helpers/interfaces/setfitslayercolormapoptions.html).\n */\n \"setFitsLayerColormap\",\n /** Set the current foreground [Imageset](../../engine/classes/imageset.html)\n * based on its name.\n *\n * The name lookup here is effectively done using [[lookupImageset]]. If\n * the name is not found, the current foreground imageset remains unchanged.\n */\n \"setForegroundImageByName\",\n /** Set the opacity of the foreground imageset.\n *\n * Valid values are between 0 (invisible) and 100 (fully opaque).\n */\n \"setForegroundOpacity\",\n /** Change the [ImageSetLayer](../../engine/classes/imagesetlayer.html)\n * position in the draw cycle.\n */\n \"setImageSetLayerOrder\",\n /** Set whether the renderer settings of tours should remain applied after\n * those tours finish playing back.\n *\n * This specialized option helps avoid jarring visual effects when tours\n * finish playing. If a tour activates a renderer option like \"local horizon\n * mode\", by default that option will turn off when the tour finishes, causing\n * the view to suddenly change. If this option is set to True, that setting\n * will remain active, preventing the sudden change.\n */\n \"setTourPlayerLeaveSettingsWhenStopped\",\n /** Set the current time of WWT's internal clock.\n *\n * Altering this causes an increment in [[wwtClockDiscontinuities]].\n */\n \"setTime\",\n /** Set the \"tracked object\" in the 3D solar system view.\n *\n * Allowed values are\n * [defined in @wwtelescope/engine-types](../../engine-types/enums/solarsystemobjects.html).\n */\n \"setTrackedObject\",\n /** Set up the background and foreground imagesets according to\n * [the options](../../engine-helpers/interfaces/setupforimagesetoptions.html)\n *\n * The main use of this interface is that it provides a mechanism to guess\n * the appropriate background imageset given a foreground imageset that you\n * want to show.\n */\n \"setupForImageset\",\n /** Start playback of the currently loaded tour.\n *\n * Nothing happens if no tour is loaded.\n */\n \"startTour\",\n /** Alter the \"stretch\" of a FITS image layer according to\n * [the options](../../engine-helpers/interfaces/stretchfitslayeroptions.html).\n */\n \"stretchFitsLayer\",\n /** Toggle the play/pause state of the current tour.\n *\n * Nothing happens if no tour is loaded.\n */\n \"toggleTourPlayPauseState\",\n /** Update the contents of a tabular data layer according to\n * [the options](../../engine-helpers/interfaces/updatetablelayeroptions.html).\n */\n \"updateTableLayer\",\n //\"updateAvailableImagesets\",\n /** Set the zoom level of the view.\n *\n * This action may result in an action that takes a perceptible amount of\n * time to resolve, if the \"smooth pan\" renderer option is enabled. To have\n * proper asynchronous feedback about when the zoom operation completes, use\n * [[gotoRADecZoom]].\n */\n \"zoom\",\n /** Moves the position of the view */\n \"move\",\n /** Tilts the position of the view */\n \"tilt\",\n ]))\n});\n\n;// CONCATENATED MODULE: ../node_modules/ts-loader/index.js??clonedRuleSet-83.use[0]!../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/Component.vue?vue&type=template&id=825b88fa&ts=true\n\nvar _hoisted_1 = [\"id\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)(\"div\", {\n id: _ctx.uniqueId,\n class: \"wwtelescope-component\"\n }, null, 8, _hoisted_1));\n}\n\n;// CONCATENATED MODULE: ./src/Component.vue?vue&type=template&id=825b88fa&ts=true\n\n;// CONCATENATED MODULE: ../node_modules/ts-loader/index.js??clonedRuleSet-83.use[0]!../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/Component.vue?vue&type=script&lang=ts\n\n\n\n\n\nvar idCounter = 0;\n/** This is the component docstring. */\n/* harmony default export */ const Componentvue_type_script_lang_ts = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({\n props: {\n wwtNamespace: { type: String, default: \"wwt\", required: true }\n },\n data: function () {\n return {\n uniqueId: \"\",\n wwt: undefined,\n renderLoopId: undefined\n };\n },\n methods: __assign({}, mapActions(engineStore, [\n \"internalIncrementTourCompletions\",\n \"internalLinkToInstance\",\n \"internalUnlinkFromInstance\",\n \"internalUpdate\",\n \"waitForReady\",\n ])),\n created: function () {\n // Create a globally unique ID for the div that the WWT engine can latch onto.\n var uid = \"wwtcmpt\".concat(idCounter);\n Object.defineProperties(this, {\n uniqueId: { get: function () { return uid; } },\n });\n idCounter += 1;\n },\n mounted: function () {\n var _this = this;\n this.wwt = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.markRaw)(new WWTInstance({\n elId: this.uniqueId,\n startInternalRenderLoop: false,\n // Start at the Galactic Center by default. RA of the GC ~= 266.4 deg; in WWT, lng = 360 - RA.\n startLatDeg: -28.9,\n startLngDeg: 93.6,\n }));\n // TODO: The build fails with a TypeScript error without \"as WWTInstance\"\n // Figure out why!\n this.internalLinkToInstance(this.wwt);\n var render = function () {\n var wwt = _this.wwt;\n _this.renderLoopId = window.requestAnimationFrame(render);\n wwt.ctl.renderOneFrame();\n _this.internalUpdate();\n };\n // Wait for the WWT engine to signal readiness, then wait another tick, then\n // start the rendering loop. This way, if a user wants to do some\n // initialization that has to wait for the ready signal, we won't flash any\n // weirdly-initialized content.\n this.waitForReady().then(function () {\n (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(function () {\n _this.renderLoopId = window.requestAnimationFrame(render);\n });\n });\n this.wwt.tourEndedCallback = (function (_tp) {\n _this.internalIncrementTourCompletions();\n });\n },\n unmounted: function () {\n if (this.renderLoopId !== undefined) {\n window.cancelAnimationFrame(this.renderLoopId);\n this.renderLoopId = undefined;\n }\n if (this.wwt !== undefined) {\n this.wwt.tourEndedCallback = null;\n }\n this.internalUnlinkFromInstance();\n }\n}));\n\n;// CONCATENATED MODULE: ./src/Component.vue?vue&type=script&lang=ts\n \n// EXTERNAL MODULE: ../node_modules/vue-loader/dist/exportHelper.js\nvar exportHelper = __nested_webpack_require_1513__(959);\n;// CONCATENATED MODULE: ./src/Component.vue\n\n\n\n\n;\nconst __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Componentvue_type_script_lang_ts, [['render',render]])\n\n/* harmony default export */ const Component = (__exports__);\n;// CONCATENATED MODULE: ./src/index.ts\n// Copyright 2020 the .NET Foundation\n// Licensed under the MIT License\n\n\n\n\n\n\nvar wwtPinia = createPinia();\nwwtPinia.use(function (_a) {\n var store = _a.store;\n store.$wwt = new WWTGlobalState();\n});\n\n;// CONCATENATED MODULE: ../node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js\n\n\n\n})();\n\n/******/ \treturn __nested_webpack_exports__;\n/******/ })()\n;\n});\n//# sourceMappingURL=index.umd.js.map\n\n/***/ }),\n\n/***/ 478:\n/***/ ((module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(933);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(476);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.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}`, \"\"]);\n// Exports\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);\n\n\n/***/ }),\n\n/***/ 408:\n/***/ ((module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(933);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(476);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.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:.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)}`, \"\"]);\n// Exports\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);\n\n\n/***/ }),\n\n/***/ 877:\n/***/ ((module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(933);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(476);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.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}.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}`, \"\"]);\n// Exports\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);\n\n\n/***/ }),\n\n/***/ 768:\n/***/ ((module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(933);\n/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(476);\n/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(678);\n/* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__);\n// Imports\n\n\n\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(934), __webpack_require__.b);\nvar ___CSS_LOADER_URL_IMPORT_1___ = new URL(/* asset import */ __webpack_require__(993), __webpack_require__.b);\nvar ___CSS_LOADER_URL_IMPORT_2___ = new URL(/* asset import */ __webpack_require__(994), __webpack_require__.b);\nvar ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);\nvar ___CSS_LOADER_URL_REPLACEMENT_1___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_1___);\nvar ___CSS_LOADER_URL_REPLACEMENT_2___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_2___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.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(${___CSS_LOADER_URL_REPLACEMENT_0___});width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_1___});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(${___CSS_LOADER_URL_REPLACEMENT_2___})}.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}}`, \"\"]);\n// Exports\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);\n\n\n/***/ }),\n\n/***/ 745:\n/***/ ((module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(933);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(476);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.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}`, \"\"]);\n// Exports\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);\n\n\n/***/ }),\n\n/***/ 748:\n/***/ ((module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(933);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(476);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.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}`, \"\"]);\n// Exports\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);\n\n\n/***/ }),\n\n/***/ 426:\n/***/ ((module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(933);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(476);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.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}`, \"\"]);\n// Exports\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);\n\n\n/***/ }),\n\n/***/ 588:\n/***/ ((module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(933);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(476);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.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)}`, \"\"]);\n// Exports\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);\n\n\n/***/ }),\n\n/***/ 879:\n/***/ ((module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(933);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(476);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.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}`, \"\"]);\n// Exports\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);\n\n\n/***/ }),\n\n/***/ 476:\n/***/ ((module) => {\n\n\"use strict\";\n\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};\n\n/***/ }),\n\n/***/ 678:\n/***/ ((module) => {\n\n\"use strict\";\n\n\nmodule.exports = function (url, options) {\n if (!options) {\n options = {};\n }\n if (!url) {\n return url;\n }\n url = String(url.__esModule ? url.default : url);\n\n // If url is already wrapped in quotes, remove them\n if (/^['\"].*['\"]$/.test(url)) {\n url = url.slice(1, -1);\n }\n if (options.hash) {\n url += options.hash;\n }\n\n // Should url be wrapped?\n // See https://drafts.csswg.org/css-values-3/#urls\n if (/[\"'() \\t\\n]|(%20)/.test(url) || options.needQuotes) {\n return \"\\\"\".concat(url.replace(/\"/g, '\\\\\"').replace(/\\n/g, \"\\\\n\"), \"\\\"\");\n }\n return url;\n};\n\n/***/ }),\n\n/***/ 933:\n/***/ ((module) => {\n\n\"use strict\";\n\n\nmodule.exports = function (i) {\n return i[1];\n};\n\n/***/ }),\n\n/***/ 344:\n/***/ (function(__unused_webpack_module, exports) {\n\n/* @preserve\n * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com\n * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade\n */\n\n(function (global, factory) {\n true ? factory(exports) :\n 0;\n})(this, (function (exports) { 'use strict';\n\n var version = \"1.9.4\";\n\n /*\r\n * @namespace Util\r\n *\r\n * Various utility functions, used by Leaflet internally.\r\n */\r\n\r\n // @function extend(dest: Object, src?: Object): Object\r\n // Merges the properties of the `src` object (or multiple objects) into `dest` object and returns the latter. Has an `L.extend` shortcut.\r\n function extend(dest) {\r\n \tvar i, j, len, src;\r\n\r\n \tfor (j = 1, len = arguments.length; j < len; j++) {\r\n \t\tsrc = arguments[j];\r\n \t\tfor (i in src) {\r\n \t\t\tdest[i] = src[i];\r\n \t\t}\r\n \t}\r\n \treturn dest;\r\n }\r\n\r\n // @function create(proto: Object, properties?: Object): Object\r\n // Compatibility polyfill for [Object.create](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/create)\r\n var create$2 = Object.create || (function () {\r\n \tfunction F() {}\r\n \treturn function (proto) {\r\n \t\tF.prototype = proto;\r\n \t\treturn new F();\r\n \t};\r\n })();\r\n\r\n // @function bind(fn: Function, โ€ฆ): Function\r\n // Returns a new function bound to the arguments passed, like [Function.prototype.bind](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).\r\n // Has a `L.bind()` shortcut.\r\n function bind(fn, obj) {\r\n \tvar slice = Array.prototype.slice;\r\n\r\n \tif (fn.bind) {\r\n \t\treturn fn.bind.apply(fn, slice.call(arguments, 1));\r\n \t}\r\n\r\n \tvar args = slice.call(arguments, 2);\r\n\r\n \treturn function () {\r\n \t\treturn fn.apply(obj, args.length ? args.concat(slice.call(arguments)) : arguments);\r\n \t};\r\n }\r\n\r\n // @property lastId: Number\r\n // Last unique ID used by [`stamp()`](#util-stamp)\r\n var lastId = 0;\r\n\r\n // @function stamp(obj: Object): Number\r\n // Returns the unique ID of an object, assigning it one if it doesn't have it.\r\n function stamp(obj) {\r\n \tif (!('_leaflet_id' in obj)) {\r\n \t\tobj['_leaflet_id'] = ++lastId;\r\n \t}\r\n \treturn obj._leaflet_id;\r\n }\r\n\r\n // @function throttle(fn: Function, time: Number, context: Object): Function\r\n // Returns a function which executes function `fn` with the given scope `context`\r\n // (so that the `this` keyword refers to `context` inside `fn`'s code). The function\r\n // `fn` will be called no more than one time per given amount of `time`. The arguments\r\n // received by the bound function will be any arguments passed when binding the\r\n // function, followed by any arguments passed when invoking the bound function.\r\n // Has an `L.throttle` shortcut.\r\n function throttle(fn, time, context) {\r\n \tvar lock, args, wrapperFn, later;\r\n\r\n \tlater = function () {\r\n \t\t// reset lock and call if queued\r\n \t\tlock = false;\r\n \t\tif (args) {\r\n \t\t\twrapperFn.apply(context, args);\r\n \t\t\targs = false;\r\n \t\t}\r\n \t};\r\n\r\n \twrapperFn = function () {\r\n \t\tif (lock) {\r\n \t\t\t// called too soon, queue to call later\r\n \t\t\targs = arguments;\r\n\r\n \t\t} else {\r\n \t\t\t// call and lock until later\r\n \t\t\tfn.apply(context, arguments);\r\n \t\t\tsetTimeout(later, time);\r\n \t\t\tlock = true;\r\n \t\t}\r\n \t};\r\n\r\n \treturn wrapperFn;\r\n }\r\n\r\n // @function wrapNum(num: Number, range: Number[], includeMax?: Boolean): Number\r\n // Returns the number `num` modulo `range` in such a way so it lies within\r\n // `range[0]` and `range[1]`. The returned value will be always smaller than\r\n // `range[1]` unless `includeMax` is set to `true`.\r\n function wrapNum(x, range, includeMax) {\r\n \tvar max = range[1],\r\n \t min = range[0],\r\n \t d = max - min;\r\n \treturn x === max && includeMax ? x : ((x - min) % d + d) % d + min;\r\n }\r\n\r\n // @function falseFn(): Function\r\n // Returns a function which always returns `false`.\r\n function falseFn() { return false; }\r\n\r\n // @function formatNum(num: Number, precision?: Number|false): Number\r\n // Returns the number `num` rounded with specified `precision`.\r\n // The default `precision` value is 6 decimal places.\r\n // `false` can be passed to skip any processing (can be useful to avoid round-off errors).\r\n function formatNum(num, precision) {\r\n \tif (precision === false) { return num; }\r\n \tvar pow = Math.pow(10, precision === undefined ? 6 : precision);\r\n \treturn Math.round(num * pow) / pow;\r\n }\r\n\r\n // @function trim(str: String): String\r\n // Compatibility polyfill for [String.prototype.trim](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim)\r\n function trim(str) {\r\n \treturn str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\r\n }\r\n\r\n // @function splitWords(str: String): String[]\r\n // Trims and splits the string on whitespace and returns the array of parts.\r\n function splitWords(str) {\r\n \treturn trim(str).split(/\\s+/);\r\n }\r\n\r\n // @function setOptions(obj: Object, options: Object): Object\r\n // Merges the given properties to the `options` of the `obj` object, returning the resulting options. See `Class options`. Has an `L.setOptions` shortcut.\r\n function setOptions(obj, options) {\r\n \tif (!Object.prototype.hasOwnProperty.call(obj, 'options')) {\r\n \t\tobj.options = obj.options ? create$2(obj.options) : {};\r\n \t}\r\n \tfor (var i in options) {\r\n \t\tobj.options[i] = options[i];\r\n \t}\r\n \treturn obj.options;\r\n }\r\n\r\n // @function getParamString(obj: Object, existingUrl?: String, uppercase?: Boolean): String\r\n // Converts an object into a parameter URL string, e.g. `{a: \"foo\", b: \"bar\"}`\r\n // translates to `'?a=foo&b=bar'`. If `existingUrl` is set, the parameters will\r\n // be appended at the end. If `uppercase` is `true`, the parameter names will\r\n // be uppercased (e.g. `'?A=foo&B=bar'`)\r\n function getParamString(obj, existingUrl, uppercase) {\r\n \tvar params = [];\r\n \tfor (var i in obj) {\r\n \t\tparams.push(encodeURIComponent(uppercase ? i.toUpperCase() : i) + '=' + encodeURIComponent(obj[i]));\r\n \t}\r\n \treturn ((!existingUrl || existingUrl.indexOf('?') === -1) ? '?' : '&') + params.join('&');\r\n }\r\n\r\n var templateRe = /\\{ *([\\w_ -]+) *\\}/g;\r\n\r\n // @function template(str: String, data: Object): String\r\n // Simple templating facility, accepts a template string of the form `'Hello {a}, {b}'`\r\n // and a data object like `{a: 'foo', b: 'bar'}`, returns evaluated string\r\n // `('Hello foo, bar')`. You can also specify functions instead of strings for\r\n // data values โ€” they will be evaluated passing `data` as an argument.\r\n function template(str, data) {\r\n \treturn str.replace(templateRe, function (str, key) {\r\n \t\tvar value = data[key];\r\n\r\n \t\tif (value === undefined) {\r\n \t\t\tthrow new Error('No value provided for variable ' + str);\r\n\r\n \t\t} else if (typeof value === 'function') {\r\n \t\t\tvalue = value(data);\r\n \t\t}\r\n \t\treturn value;\r\n \t});\r\n }\r\n\r\n // @function isArray(obj): Boolean\r\n // Compatibility polyfill for [Array.isArray](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray)\r\n var isArray = Array.isArray || function (obj) {\r\n \treturn (Object.prototype.toString.call(obj) === '[object Array]');\r\n };\r\n\r\n // @function indexOf(array: Array, el: Object): Number\r\n // Compatibility polyfill for [Array.prototype.indexOf](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf)\r\n function indexOf(array, el) {\r\n \tfor (var i = 0; i < array.length; i++) {\r\n \t\tif (array[i] === el) { return i; }\r\n \t}\r\n \treturn -1;\r\n }\r\n\r\n // @property emptyImageUrl: String\r\n // Data URI string containing a base64-encoded empty GIF image.\r\n // Used as a hack to free memory from unused images on WebKit-powered\r\n // mobile devices (by setting image `src` to this string).\r\n var emptyImageUrl = 'data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=';\r\n\r\n // inspired by https://paulirish.com/2011/requestanimationframe-for-smart-animating/\r\n\r\n function getPrefixed(name) {\r\n \treturn window['webkit' + name] || window['moz' + name] || window['ms' + name];\r\n }\r\n\r\n var lastTime = 0;\r\n\r\n // fallback for IE 7-8\r\n function timeoutDefer(fn) {\r\n \tvar time = +new Date(),\r\n \t timeToCall = Math.max(0, 16 - (time - lastTime));\r\n\r\n \tlastTime = time + timeToCall;\r\n \treturn window.setTimeout(fn, timeToCall);\r\n }\r\n\r\n var requestFn = window.requestAnimationFrame || getPrefixed('RequestAnimationFrame') || timeoutDefer;\r\n var cancelFn = window.cancelAnimationFrame || getPrefixed('CancelAnimationFrame') ||\r\n \t\tgetPrefixed('CancelRequestAnimationFrame') || function (id) { window.clearTimeout(id); };\r\n\r\n // @function requestAnimFrame(fn: Function, context?: Object, immediate?: Boolean): Number\r\n // Schedules `fn` to be executed when the browser repaints. `fn` is bound to\r\n // `context` if given. When `immediate` is set, `fn` is called immediately if\r\n // the browser doesn't have native support for\r\n // [`window.requestAnimationFrame`](https://developer.mozilla.org/docs/Web/API/window/requestAnimationFrame),\r\n // otherwise it's delayed. Returns a request ID that can be used to cancel the request.\r\n function requestAnimFrame(fn, context, immediate) {\r\n \tif (immediate && requestFn === timeoutDefer) {\r\n \t\tfn.call(context);\r\n \t} else {\r\n \t\treturn requestFn.call(window, bind(fn, context));\r\n \t}\r\n }\r\n\r\n // @function cancelAnimFrame(id: Number): undefined\r\n // Cancels a previous `requestAnimFrame`. See also [window.cancelAnimationFrame](https://developer.mozilla.org/docs/Web/API/window/cancelAnimationFrame).\r\n function cancelAnimFrame(id) {\r\n \tif (id) {\r\n \t\tcancelFn.call(window, id);\r\n \t}\r\n }\n\n var Util = {\n __proto__: null,\n extend: extend,\n create: create$2,\n bind: bind,\n get lastId () { return lastId; },\n stamp: stamp,\n throttle: throttle,\n wrapNum: wrapNum,\n falseFn: falseFn,\n formatNum: formatNum,\n trim: trim,\n splitWords: splitWords,\n setOptions: setOptions,\n getParamString: getParamString,\n template: template,\n isArray: isArray,\n indexOf: indexOf,\n emptyImageUrl: emptyImageUrl,\n requestFn: requestFn,\n cancelFn: cancelFn,\n requestAnimFrame: requestAnimFrame,\n cancelAnimFrame: cancelAnimFrame\n };\n\n // @class Class\r\n // @aka L.Class\r\n\r\n // @section\r\n // @uninheritable\r\n\r\n // Thanks to John Resig and Dean Edwards for inspiration!\r\n\r\n function Class() {}\r\n\r\n Class.extend = function (props) {\r\n\r\n \t// @function extend(props: Object): Function\r\n \t// [Extends the current class](#class-inheritance) given the properties to be included.\r\n \t// Returns a Javascript function that is a class constructor (to be called with `new`).\r\n \tvar NewClass = function () {\r\n\r\n \t\tsetOptions(this);\r\n\r\n \t\t// call the constructor\r\n \t\tif (this.initialize) {\r\n \t\t\tthis.initialize.apply(this, arguments);\r\n \t\t}\r\n\r\n \t\t// call all constructor hooks\r\n \t\tthis.callInitHooks();\r\n \t};\r\n\r\n \tvar parentProto = NewClass.__super__ = this.prototype;\r\n\r\n \tvar proto = create$2(parentProto);\r\n \tproto.constructor = NewClass;\r\n\r\n \tNewClass.prototype = proto;\r\n\r\n \t// inherit parent's statics\r\n \tfor (var i in this) {\r\n \t\tif (Object.prototype.hasOwnProperty.call(this, i) && i !== 'prototype' && i !== '__super__') {\r\n \t\t\tNewClass[i] = this[i];\r\n \t\t}\r\n \t}\r\n\r\n \t// mix static properties into the class\r\n \tif (props.statics) {\r\n \t\textend(NewClass, props.statics);\r\n \t}\r\n\r\n \t// mix includes into the prototype\r\n \tif (props.includes) {\r\n \t\tcheckDeprecatedMixinEvents(props.includes);\r\n \t\textend.apply(null, [proto].concat(props.includes));\r\n \t}\r\n\r\n \t// mix given properties into the prototype\r\n \textend(proto, props);\r\n \tdelete proto.statics;\r\n \tdelete proto.includes;\r\n\r\n \t// merge options\r\n \tif (proto.options) {\r\n \t\tproto.options = parentProto.options ? create$2(parentProto.options) : {};\r\n \t\textend(proto.options, props.options);\r\n \t}\r\n\r\n \tproto._initHooks = [];\r\n\r\n \t// add method for calling all hooks\r\n \tproto.callInitHooks = function () {\r\n\r\n \t\tif (this._initHooksCalled) { return; }\r\n\r\n \t\tif (parentProto.callInitHooks) {\r\n \t\t\tparentProto.callInitHooks.call(this);\r\n \t\t}\r\n\r\n \t\tthis._initHooksCalled = true;\r\n\r\n \t\tfor (var i = 0, len = proto._initHooks.length; i < len; i++) {\r\n \t\t\tproto._initHooks[i].call(this);\r\n \t\t}\r\n \t};\r\n\r\n \treturn NewClass;\r\n };\r\n\r\n\r\n // @function include(properties: Object): this\r\n // [Includes a mixin](#class-includes) into the current class.\r\n Class.include = function (props) {\r\n \tvar parentOptions = this.prototype.options;\r\n \textend(this.prototype, props);\r\n \tif (props.options) {\r\n \t\tthis.prototype.options = parentOptions;\r\n \t\tthis.mergeOptions(props.options);\r\n \t}\r\n \treturn this;\r\n };\r\n\r\n // @function mergeOptions(options: Object): this\r\n // [Merges `options`](#class-options) into the defaults of the class.\r\n Class.mergeOptions = function (options) {\r\n \textend(this.prototype.options, options);\r\n \treturn this;\r\n };\r\n\r\n // @function addInitHook(fn: Function): this\r\n // Adds a [constructor hook](#class-constructor-hooks) to the class.\r\n Class.addInitHook = function (fn) { // (Function) || (String, args...)\r\n \tvar args = Array.prototype.slice.call(arguments, 1);\r\n\r\n \tvar init = typeof fn === 'function' ? fn : function () {\r\n \t\tthis[fn].apply(this, args);\r\n \t};\r\n\r\n \tthis.prototype._initHooks = this.prototype._initHooks || [];\r\n \tthis.prototype._initHooks.push(init);\r\n \treturn this;\r\n };\r\n\r\n function checkDeprecatedMixinEvents(includes) {\r\n \t/* global L: true */\r\n \tif (typeof L === 'undefined' || !L || !L.Mixin) { return; }\r\n\r\n \tincludes = isArray(includes) ? includes : [includes];\r\n\r\n \tfor (var i = 0; i < includes.length; i++) {\r\n \t\tif (includes[i] === L.Mixin.Events) {\r\n \t\t\tconsole.warn('Deprecated include of L.Mixin.Events: ' +\r\n \t\t\t\t'this property will be removed in future releases, ' +\r\n \t\t\t\t'please inherit from L.Evented instead.', new Error().stack);\r\n \t\t}\r\n \t}\r\n }\n\n /*\r\n * @class Evented\r\n * @aka L.Evented\r\n * @inherits Class\r\n *\r\n * A set of methods shared between event-powered classes (like `Map` and `Marker`). Generally, events allow you to execute some function when something happens with an object (e.g. the user clicks on the map, causing the map to fire `'click'` event).\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * map.on('click', function(e) {\r\n * \talert(e.latlng);\r\n * } );\r\n * ```\r\n *\r\n * Leaflet deals with event listeners by reference, so if you want to add a listener and then remove it, define it as a function:\r\n *\r\n * ```js\r\n * function onClick(e) { ... }\r\n *\r\n * map.on('click', onClick);\r\n * map.off('click', onClick);\r\n * ```\r\n */\r\n\r\n var Events = {\r\n \t/* @method on(type: String, fn: Function, context?: Object): this\r\n \t * Adds a listener function (`fn`) to a particular event type of the object. You can optionally specify the context of the listener (object the this keyword will point to). You can also pass several space-separated types (e.g. `'click dblclick'`).\r\n \t *\r\n \t * @alternative\r\n \t * @method on(eventMap: Object): this\r\n \t * Adds a set of type/listener pairs, e.g. `{click: onClick, mousemove: onMouseMove}`\r\n \t */\r\n \ton: function (types, fn, context) {\r\n\r\n \t\t// types can be a map of types/handlers\r\n \t\tif (typeof types === 'object') {\r\n \t\t\tfor (var type in types) {\r\n \t\t\t\t// we don't process space-separated events here for performance;\r\n \t\t\t\t// it's a hot path since Layer uses the on(obj) syntax\r\n \t\t\t\tthis._on(type, types[type], fn);\r\n \t\t\t}\r\n\r\n \t\t} else {\r\n \t\t\t// types can be a string of space-separated words\r\n \t\t\ttypes = splitWords(types);\r\n\r\n \t\t\tfor (var i = 0, len = types.length; i < len; i++) {\r\n \t\t\t\tthis._on(types[i], fn, context);\r\n \t\t\t}\r\n \t\t}\r\n\r\n \t\treturn this;\r\n \t},\r\n\r\n \t/* @method off(type: String, fn?: Function, context?: Object): this\r\n \t * Removes a previously added listener function. If no function is specified, it will remove all the listeners of that particular event from the object. Note that if you passed a custom context to `on`, you must pass the same context to `off` in order to remove the listener.\r\n \t *\r\n \t * @alternative\r\n \t * @method off(eventMap: Object): this\r\n \t * Removes a set of type/listener pairs.\r\n \t *\r\n \t * @alternative\r\n \t * @method off: this\r\n \t * Removes all listeners to all events on the object. This includes implicitly attached events.\r\n \t */\r\n \toff: function (types, fn, context) {\r\n\r\n \t\tif (!arguments.length) {\r\n \t\t\t// clear all listeners if called without arguments\r\n \t\t\tdelete this._events;\r\n\r\n \t\t} else if (typeof types === 'object') {\r\n \t\t\tfor (var type in types) {\r\n \t\t\t\tthis._off(type, types[type], fn);\r\n \t\t\t}\r\n\r\n \t\t} else {\r\n \t\t\ttypes = splitWords(types);\r\n\r\n \t\t\tvar removeAll = arguments.length === 1;\r\n \t\t\tfor (var i = 0, len = types.length; i < len; i++) {\r\n \t\t\t\tif (removeAll) {\r\n \t\t\t\t\tthis._off(types[i]);\r\n \t\t\t\t} else {\r\n \t\t\t\t\tthis._off(types[i], fn, context);\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// attach listener (without syntactic sugar now)\r\n \t_on: function (type, fn, context, _once) {\r\n \t\tif (typeof fn !== 'function') {\r\n \t\t\tconsole.warn('wrong listener type: ' + typeof fn);\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\t// check if fn already there\r\n \t\tif (this._listens(type, fn, context) !== false) {\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\tif (context === this) {\r\n \t\t\t// Less memory footprint.\r\n \t\t\tcontext = undefined;\r\n \t\t}\r\n\r\n \t\tvar newListener = {fn: fn, ctx: context};\r\n \t\tif (_once) {\r\n \t\t\tnewListener.once = true;\r\n \t\t}\r\n\r\n \t\tthis._events = this._events || {};\r\n \t\tthis._events[type] = this._events[type] || [];\r\n \t\tthis._events[type].push(newListener);\r\n \t},\r\n\r\n \t_off: function (type, fn, context) {\r\n \t\tvar listeners,\r\n \t\t i,\r\n \t\t len;\r\n\r\n \t\tif (!this._events) {\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\tlisteners = this._events[type];\r\n \t\tif (!listeners) {\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\tif (arguments.length === 1) { // remove all\r\n \t\t\tif (this._firingCount) {\r\n \t\t\t\t// Set all removed listeners to noop\r\n \t\t\t\t// so they are not called if remove happens in fire\r\n \t\t\t\tfor (i = 0, len = listeners.length; i < len; i++) {\r\n \t\t\t\t\tlisteners[i].fn = falseFn;\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t\t// clear all listeners for a type if function isn't specified\r\n \t\t\tdelete this._events[type];\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\tif (typeof fn !== 'function') {\r\n \t\t\tconsole.warn('wrong listener type: ' + typeof fn);\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\t// find fn and remove it\r\n \t\tvar index = this._listens(type, fn, context);\r\n \t\tif (index !== false) {\r\n \t\t\tvar listener = listeners[index];\r\n \t\t\tif (this._firingCount) {\r\n \t\t\t\t// set the removed listener to noop so that's not called if remove happens in fire\r\n \t\t\t\tlistener.fn = falseFn;\r\n\r\n \t\t\t\t/* copy array in case events are being fired */\r\n \t\t\t\tthis._events[type] = listeners = listeners.slice();\r\n \t\t\t}\r\n \t\t\tlisteners.splice(index, 1);\r\n \t\t}\r\n \t},\r\n\r\n \t// @method fire(type: String, data?: Object, propagate?: Boolean): this\r\n \t// Fires an event of the specified type. You can optionally provide a data\r\n \t// object โ€” the first argument of the listener function will contain its\r\n \t// properties. The event can optionally be propagated to event parents.\r\n \tfire: function (type, data, propagate) {\r\n \t\tif (!this.listens(type, propagate)) { return this; }\r\n\r\n \t\tvar event = extend({}, data, {\r\n \t\t\ttype: type,\r\n \t\t\ttarget: this,\r\n \t\t\tsourceTarget: data && data.sourceTarget || this\r\n \t\t});\r\n\r\n \t\tif (this._events) {\r\n \t\t\tvar listeners = this._events[type];\r\n \t\t\tif (listeners) {\r\n \t\t\t\tthis._firingCount = (this._firingCount + 1) || 1;\r\n \t\t\t\tfor (var i = 0, len = listeners.length; i < len; i++) {\r\n \t\t\t\t\tvar l = listeners[i];\r\n \t\t\t\t\t// off overwrites l.fn, so we need to copy fn to a var\r\n \t\t\t\t\tvar fn = l.fn;\r\n \t\t\t\t\tif (l.once) {\r\n \t\t\t\t\t\tthis.off(type, fn, l.ctx);\r\n \t\t\t\t\t}\r\n \t\t\t\t\tfn.call(l.ctx || this, event);\r\n \t\t\t\t}\r\n\r\n \t\t\t\tthis._firingCount--;\r\n \t\t\t}\r\n \t\t}\r\n\r\n \t\tif (propagate) {\r\n \t\t\t// propagate the event to parents (set with addEventParent)\r\n \t\t\tthis._propagateEvent(event);\r\n \t\t}\r\n\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method listens(type: String, propagate?: Boolean): Boolean\r\n \t// @method listens(type: String, fn: Function, context?: Object, propagate?: Boolean): Boolean\r\n \t// Returns `true` if a particular event type has any listeners attached to it.\r\n \t// The verification can optionally be propagated, it will return `true` if parents have the listener attached to it.\r\n \tlistens: function (type, fn, context, propagate) {\r\n \t\tif (typeof type !== 'string') {\r\n \t\t\tconsole.warn('\"string\" type argument expected');\r\n \t\t}\r\n\r\n \t\t// we don't overwrite the input `fn` value, because we need to use it for propagation\r\n \t\tvar _fn = fn;\r\n \t\tif (typeof fn !== 'function') {\r\n \t\t\tpropagate = !!fn;\r\n \t\t\t_fn = undefined;\r\n \t\t\tcontext = undefined;\r\n \t\t}\r\n\r\n \t\tvar listeners = this._events && this._events[type];\r\n \t\tif (listeners && listeners.length) {\r\n \t\t\tif (this._listens(type, _fn, context) !== false) {\r\n \t\t\t\treturn true;\r\n \t\t\t}\r\n \t\t}\r\n\r\n \t\tif (propagate) {\r\n \t\t\t// also check parents for listeners if event propagates\r\n \t\t\tfor (var id in this._eventParents) {\r\n \t\t\t\tif (this._eventParents[id].listens(type, fn, context, propagate)) { return true; }\r\n \t\t\t}\r\n \t\t}\r\n \t\treturn false;\r\n \t},\r\n\r\n \t// returns the index (number) or false\r\n \t_listens: function (type, fn, context) {\r\n \t\tif (!this._events) {\r\n \t\t\treturn false;\r\n \t\t}\r\n\r\n \t\tvar listeners = this._events[type] || [];\r\n \t\tif (!fn) {\r\n \t\t\treturn !!listeners.length;\r\n \t\t}\r\n\r\n \t\tif (context === this) {\r\n \t\t\t// Less memory footprint.\r\n \t\t\tcontext = undefined;\r\n \t\t}\r\n\r\n \t\tfor (var i = 0, len = listeners.length; i < len; i++) {\r\n \t\t\tif (listeners[i].fn === fn && listeners[i].ctx === context) {\r\n \t\t\t\treturn i;\r\n \t\t\t}\r\n \t\t}\r\n \t\treturn false;\r\n\r\n \t},\r\n\r\n \t// @method once(โ€ฆ): this\r\n \t// Behaves as [`on(โ€ฆ)`](#evented-on), except the listener will only get fired once and then removed.\r\n \tonce: function (types, fn, context) {\r\n\r\n \t\t// types can be a map of types/handlers\r\n \t\tif (typeof types === 'object') {\r\n \t\t\tfor (var type in types) {\r\n \t\t\t\t// we don't process space-separated events here for performance;\r\n \t\t\t\t// it's a hot path since Layer uses the on(obj) syntax\r\n \t\t\t\tthis._on(type, types[type], fn, true);\r\n \t\t\t}\r\n\r\n \t\t} else {\r\n \t\t\t// types can be a string of space-separated words\r\n \t\t\ttypes = splitWords(types);\r\n\r\n \t\t\tfor (var i = 0, len = types.length; i < len; i++) {\r\n \t\t\t\tthis._on(types[i], fn, context, true);\r\n \t\t\t}\r\n \t\t}\r\n\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method addEventParent(obj: Evented): this\r\n \t// Adds an event parent - an `Evented` that will receive propagated events\r\n \taddEventParent: function (obj) {\r\n \t\tthis._eventParents = this._eventParents || {};\r\n \t\tthis._eventParents[stamp(obj)] = obj;\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method removeEventParent(obj: Evented): this\r\n \t// Removes an event parent, so it will stop receiving propagated events\r\n \tremoveEventParent: function (obj) {\r\n \t\tif (this._eventParents) {\r\n \t\t\tdelete this._eventParents[stamp(obj)];\r\n \t\t}\r\n \t\treturn this;\r\n \t},\r\n\r\n \t_propagateEvent: function (e) {\r\n \t\tfor (var id in this._eventParents) {\r\n \t\t\tthis._eventParents[id].fire(e.type, extend({\r\n \t\t\t\tlayer: e.target,\r\n \t\t\t\tpropagatedFrom: e.target\r\n \t\t\t}, e), true);\r\n \t\t}\r\n \t}\r\n };\r\n\r\n // aliases; we should ditch those eventually\r\n\r\n // @method addEventListener(โ€ฆ): this\r\n // Alias to [`on(โ€ฆ)`](#evented-on)\r\n Events.addEventListener = Events.on;\r\n\r\n // @method removeEventListener(โ€ฆ): this\r\n // Alias to [`off(โ€ฆ)`](#evented-off)\r\n\r\n // @method clearAllEventListeners(โ€ฆ): this\r\n // Alias to [`off()`](#evented-off)\r\n Events.removeEventListener = Events.clearAllEventListeners = Events.off;\r\n\r\n // @method addOneTimeEventListener(โ€ฆ): this\r\n // Alias to [`once(โ€ฆ)`](#evented-once)\r\n Events.addOneTimeEventListener = Events.once;\r\n\r\n // @method fireEvent(โ€ฆ): this\r\n // Alias to [`fire(โ€ฆ)`](#evented-fire)\r\n Events.fireEvent = Events.fire;\r\n\r\n // @method hasEventListeners(โ€ฆ): Boolean\r\n // Alias to [`listens(โ€ฆ)`](#evented-listens)\r\n Events.hasEventListeners = Events.listens;\r\n\r\n var Evented = Class.extend(Events);\n\n /*\r\n * @class Point\r\n * @aka L.Point\r\n *\r\n * Represents a point with `x` and `y` coordinates in pixels.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var point = L.point(200, 300);\r\n * ```\r\n *\r\n * All Leaflet methods and options that accept `Point` objects also accept them in a simple Array form (unless noted otherwise), so these lines are equivalent:\r\n *\r\n * ```js\r\n * map.panBy([200, 300]);\r\n * map.panBy(L.point(200, 300));\r\n * ```\r\n *\r\n * Note that `Point` does not inherit from Leaflet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\r\n\r\n function Point(x, y, round) {\r\n \t// @property x: Number; The `x` coordinate of the point\r\n \tthis.x = (round ? Math.round(x) : x);\r\n \t// @property y: Number; The `y` coordinate of the point\r\n \tthis.y = (round ? Math.round(y) : y);\r\n }\r\n\r\n var trunc = Math.trunc || function (v) {\r\n \treturn v > 0 ? Math.floor(v) : Math.ceil(v);\r\n };\r\n\r\n Point.prototype = {\r\n\r\n \t// @method clone(): Point\r\n \t// Returns a copy of the current point.\r\n \tclone: function () {\r\n \t\treturn new Point(this.x, this.y);\r\n \t},\r\n\r\n \t// @method add(otherPoint: Point): Point\r\n \t// Returns the result of addition of the current and the given points.\r\n \tadd: function (point) {\r\n \t\t// non-destructive, returns a new point\r\n \t\treturn this.clone()._add(toPoint(point));\r\n \t},\r\n\r\n \t_add: function (point) {\r\n \t\t// destructive, used directly for performance in situations where it's safe to modify existing point\r\n \t\tthis.x += point.x;\r\n \t\tthis.y += point.y;\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method subtract(otherPoint: Point): Point\r\n \t// Returns the result of subtraction of the given point from the current.\r\n \tsubtract: function (point) {\r\n \t\treturn this.clone()._subtract(toPoint(point));\r\n \t},\r\n\r\n \t_subtract: function (point) {\r\n \t\tthis.x -= point.x;\r\n \t\tthis.y -= point.y;\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method divideBy(num: Number): Point\r\n \t// Returns the result of division of the current point by the given number.\r\n \tdivideBy: function (num) {\r\n \t\treturn this.clone()._divideBy(num);\r\n \t},\r\n\r\n \t_divideBy: function (num) {\r\n \t\tthis.x /= num;\r\n \t\tthis.y /= num;\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method multiplyBy(num: Number): Point\r\n \t// Returns the result of multiplication of the current point by the given number.\r\n \tmultiplyBy: function (num) {\r\n \t\treturn this.clone()._multiplyBy(num);\r\n \t},\r\n\r\n \t_multiplyBy: function (num) {\r\n \t\tthis.x *= num;\r\n \t\tthis.y *= num;\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method scaleBy(scale: Point): Point\r\n \t// Multiply each coordinate of the current point by each coordinate of\r\n \t// `scale`. In linear algebra terms, multiply the point by the\r\n \t// [scaling matrix](https://en.wikipedia.org/wiki/Scaling_%28geometry%29#Matrix_representation)\r\n \t// defined by `scale`.\r\n \tscaleBy: function (point) {\r\n \t\treturn new Point(this.x * point.x, this.y * point.y);\r\n \t},\r\n\r\n \t// @method unscaleBy(scale: Point): Point\r\n \t// Inverse of `scaleBy`. Divide each coordinate of the current point by\r\n \t// each coordinate of `scale`.\r\n \tunscaleBy: function (point) {\r\n \t\treturn new Point(this.x / point.x, this.y / point.y);\r\n \t},\r\n\r\n \t// @method round(): Point\r\n \t// Returns a copy of the current point with rounded coordinates.\r\n \tround: function () {\r\n \t\treturn this.clone()._round();\r\n \t},\r\n\r\n \t_round: function () {\r\n \t\tthis.x = Math.round(this.x);\r\n \t\tthis.y = Math.round(this.y);\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method floor(): Point\r\n \t// Returns a copy of the current point with floored coordinates (rounded down).\r\n \tfloor: function () {\r\n \t\treturn this.clone()._floor();\r\n \t},\r\n\r\n \t_floor: function () {\r\n \t\tthis.x = Math.floor(this.x);\r\n \t\tthis.y = Math.floor(this.y);\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method ceil(): Point\r\n \t// Returns a copy of the current point with ceiled coordinates (rounded up).\r\n \tceil: function () {\r\n \t\treturn this.clone()._ceil();\r\n \t},\r\n\r\n \t_ceil: function () {\r\n \t\tthis.x = Math.ceil(this.x);\r\n \t\tthis.y = Math.ceil(this.y);\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method trunc(): Point\r\n \t// Returns a copy of the current point with truncated coordinates (rounded towards zero).\r\n \ttrunc: function () {\r\n \t\treturn this.clone()._trunc();\r\n \t},\r\n\r\n \t_trunc: function () {\r\n \t\tthis.x = trunc(this.x);\r\n \t\tthis.y = trunc(this.y);\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method distanceTo(otherPoint: Point): Number\r\n \t// Returns the cartesian distance between the current and the given points.\r\n \tdistanceTo: function (point) {\r\n \t\tpoint = toPoint(point);\r\n\r\n \t\tvar x = point.x - this.x,\r\n \t\t y = point.y - this.y;\r\n\r\n \t\treturn Math.sqrt(x * x + y * y);\r\n \t},\r\n\r\n \t// @method equals(otherPoint: Point): Boolean\r\n \t// Returns `true` if the given point has the same coordinates.\r\n \tequals: function (point) {\r\n \t\tpoint = toPoint(point);\r\n\r\n \t\treturn point.x === this.x &&\r\n \t\t point.y === this.y;\r\n \t},\r\n\r\n \t// @method contains(otherPoint: Point): Boolean\r\n \t// Returns `true` if both coordinates of the given point are less than the corresponding current point coordinates (in absolute values).\r\n \tcontains: function (point) {\r\n \t\tpoint = toPoint(point);\r\n\r\n \t\treturn Math.abs(point.x) <= Math.abs(this.x) &&\r\n \t\t Math.abs(point.y) <= Math.abs(this.y);\r\n \t},\r\n\r\n \t// @method toString(): String\r\n \t// Returns a string representation of the point for debugging purposes.\r\n \ttoString: function () {\r\n \t\treturn 'Point(' +\r\n \t\t formatNum(this.x) + ', ' +\r\n \t\t formatNum(this.y) + ')';\r\n \t}\r\n };\r\n\r\n // @factory L.point(x: Number, y: Number, round?: Boolean)\r\n // Creates a Point object with the given `x` and `y` coordinates. If optional `round` is set to true, rounds the `x` and `y` values.\r\n\r\n // @alternative\r\n // @factory L.point(coords: Number[])\r\n // Expects an array of the form `[x, y]` instead.\r\n\r\n // @alternative\r\n // @factory L.point(coords: Object)\r\n // Expects a plain object of the form `{x: Number, y: Number}` instead.\r\n function toPoint(x, y, round) {\r\n \tif (x instanceof Point) {\r\n \t\treturn x;\r\n \t}\r\n \tif (isArray(x)) {\r\n \t\treturn new Point(x[0], x[1]);\r\n \t}\r\n \tif (x === undefined || x === null) {\r\n \t\treturn x;\r\n \t}\r\n \tif (typeof x === 'object' && 'x' in x && 'y' in x) {\r\n \t\treturn new Point(x.x, x.y);\r\n \t}\r\n \treturn new Point(x, y, round);\r\n }\n\n /*\r\n * @class Bounds\r\n * @aka L.Bounds\r\n *\r\n * Represents a rectangular area in pixel coordinates.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var p1 = L.point(10, 10),\r\n * p2 = L.point(40, 60),\r\n * bounds = L.bounds(p1, p2);\r\n * ```\r\n *\r\n * All Leaflet methods that accept `Bounds` objects also accept them in a simple Array form (unless noted otherwise), so the bounds example above can be passed like this:\r\n *\r\n * ```js\r\n * otherBounds.intersects([[10, 10], [40, 60]]);\r\n * ```\r\n *\r\n * Note that `Bounds` does not inherit from Leaflet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\r\n\r\n function Bounds(a, b) {\r\n \tif (!a) { return; }\r\n\r\n \tvar points = b ? [a, b] : a;\r\n\r\n \tfor (var i = 0, len = points.length; i < len; i++) {\r\n \t\tthis.extend(points[i]);\r\n \t}\r\n }\r\n\r\n Bounds.prototype = {\r\n \t// @method extend(point: Point): this\r\n \t// Extends the bounds to contain the given point.\r\n\r\n \t// @alternative\r\n \t// @method extend(otherBounds: Bounds): this\r\n \t// Extend the bounds to contain the given bounds\r\n \textend: function (obj) {\r\n \t\tvar min2, max2;\r\n \t\tif (!obj) { return this; }\r\n\r\n \t\tif (obj instanceof Point || typeof obj[0] === 'number' || 'x' in obj) {\r\n \t\t\tmin2 = max2 = toPoint(obj);\r\n \t\t} else {\r\n \t\t\tobj = toBounds(obj);\r\n \t\t\tmin2 = obj.min;\r\n \t\t\tmax2 = obj.max;\r\n\r\n \t\t\tif (!min2 || !max2) { return this; }\r\n \t\t}\r\n\r\n \t\t// @property min: Point\r\n \t\t// The top left corner of the rectangle.\r\n \t\t// @property max: Point\r\n \t\t// The bottom right corner of the rectangle.\r\n \t\tif (!this.min && !this.max) {\r\n \t\t\tthis.min = min2.clone();\r\n \t\t\tthis.max = max2.clone();\r\n \t\t} else {\r\n \t\t\tthis.min.x = Math.min(min2.x, this.min.x);\r\n \t\t\tthis.max.x = Math.max(max2.x, this.max.x);\r\n \t\t\tthis.min.y = Math.min(min2.y, this.min.y);\r\n \t\t\tthis.max.y = Math.max(max2.y, this.max.y);\r\n \t\t}\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method getCenter(round?: Boolean): Point\r\n \t// Returns the center point of the bounds.\r\n \tgetCenter: function (round) {\r\n \t\treturn toPoint(\r\n \t\t (this.min.x + this.max.x) / 2,\r\n \t\t (this.min.y + this.max.y) / 2, round);\r\n \t},\r\n\r\n \t// @method getBottomLeft(): Point\r\n \t// Returns the bottom-left point of the bounds.\r\n \tgetBottomLeft: function () {\r\n \t\treturn toPoint(this.min.x, this.max.y);\r\n \t},\r\n\r\n \t// @method getTopRight(): Point\r\n \t// Returns the top-right point of the bounds.\r\n \tgetTopRight: function () { // -> Point\r\n \t\treturn toPoint(this.max.x, this.min.y);\r\n \t},\r\n\r\n \t// @method getTopLeft(): Point\r\n \t// Returns the top-left point of the bounds (i.e. [`this.min`](#bounds-min)).\r\n \tgetTopLeft: function () {\r\n \t\treturn this.min; // left, top\r\n \t},\r\n\r\n \t// @method getBottomRight(): Point\r\n \t// Returns the bottom-right point of the bounds (i.e. [`this.max`](#bounds-max)).\r\n \tgetBottomRight: function () {\r\n \t\treturn this.max; // right, bottom\r\n \t},\r\n\r\n \t// @method getSize(): Point\r\n \t// Returns the size of the given bounds\r\n \tgetSize: function () {\r\n \t\treturn this.max.subtract(this.min);\r\n \t},\r\n\r\n \t// @method contains(otherBounds: Bounds): Boolean\r\n \t// Returns `true` if the rectangle contains the given one.\r\n \t// @alternative\r\n \t// @method contains(point: Point): Boolean\r\n \t// Returns `true` if the rectangle contains the given point.\r\n \tcontains: function (obj) {\r\n \t\tvar min, max;\r\n\r\n \t\tif (typeof obj[0] === 'number' || obj instanceof Point) {\r\n \t\t\tobj = toPoint(obj);\r\n \t\t} else {\r\n \t\t\tobj = toBounds(obj);\r\n \t\t}\r\n\r\n \t\tif (obj instanceof Bounds) {\r\n \t\t\tmin = obj.min;\r\n \t\t\tmax = obj.max;\r\n \t\t} else {\r\n \t\t\tmin = max = obj;\r\n \t\t}\r\n\r\n \t\treturn (min.x >= this.min.x) &&\r\n \t\t (max.x <= this.max.x) &&\r\n \t\t (min.y >= this.min.y) &&\r\n \t\t (max.y <= this.max.y);\r\n \t},\r\n\r\n \t// @method intersects(otherBounds: Bounds): Boolean\r\n \t// Returns `true` if the rectangle intersects the given bounds. Two bounds\r\n \t// intersect if they have at least one point in common.\r\n \tintersects: function (bounds) { // (Bounds) -> Boolean\r\n \t\tbounds = toBounds(bounds);\r\n\r\n \t\tvar min = this.min,\r\n \t\t max = this.max,\r\n \t\t min2 = bounds.min,\r\n \t\t max2 = bounds.max,\r\n \t\t xIntersects = (max2.x >= min.x) && (min2.x <= max.x),\r\n \t\t yIntersects = (max2.y >= min.y) && (min2.y <= max.y);\r\n\r\n \t\treturn xIntersects && yIntersects;\r\n \t},\r\n\r\n \t// @method overlaps(otherBounds: Bounds): Boolean\r\n \t// Returns `true` if the rectangle overlaps the given bounds. Two bounds\r\n \t// overlap if their intersection is an area.\r\n \toverlaps: function (bounds) { // (Bounds) -> Boolean\r\n \t\tbounds = toBounds(bounds);\r\n\r\n \t\tvar min = this.min,\r\n \t\t max = this.max,\r\n \t\t min2 = bounds.min,\r\n \t\t max2 = bounds.max,\r\n \t\t xOverlaps = (max2.x > min.x) && (min2.x < max.x),\r\n \t\t yOverlaps = (max2.y > min.y) && (min2.y < max.y);\r\n\r\n \t\treturn xOverlaps && yOverlaps;\r\n \t},\r\n\r\n \t// @method isValid(): Boolean\r\n \t// Returns `true` if the bounds are properly initialized.\r\n \tisValid: function () {\r\n \t\treturn !!(this.min && this.max);\r\n \t},\r\n\r\n\r\n \t// @method pad(bufferRatio: Number): Bounds\r\n \t// Returns bounds created by extending or retracting the current bounds by a given ratio in each direction.\r\n \t// For example, a ratio of 0.5 extends the bounds by 50% in each direction.\r\n \t// Negative values will retract the bounds.\r\n \tpad: function (bufferRatio) {\r\n \t\tvar min = this.min,\r\n \t\tmax = this.max,\r\n \t\theightBuffer = Math.abs(min.x - max.x) * bufferRatio,\r\n \t\twidthBuffer = Math.abs(min.y - max.y) * bufferRatio;\r\n\r\n\r\n \t\treturn toBounds(\r\n \t\t\ttoPoint(min.x - heightBuffer, min.y - widthBuffer),\r\n \t\t\ttoPoint(max.x + heightBuffer, max.y + widthBuffer));\r\n \t},\r\n\r\n\r\n \t// @method equals(otherBounds: Bounds): Boolean\r\n \t// Returns `true` if the rectangle is equivalent to the given bounds.\r\n \tequals: function (bounds) {\r\n \t\tif (!bounds) { return false; }\r\n\r\n \t\tbounds = toBounds(bounds);\r\n\r\n \t\treturn this.min.equals(bounds.getTopLeft()) &&\r\n \t\t\tthis.max.equals(bounds.getBottomRight());\r\n \t},\r\n };\r\n\r\n\r\n // @factory L.bounds(corner1: Point, corner2: Point)\r\n // Creates a Bounds object from two corners coordinate pairs.\r\n // @alternative\r\n // @factory L.bounds(points: Point[])\r\n // Creates a Bounds object from the given array of points.\r\n function toBounds(a, b) {\r\n \tif (!a || a instanceof Bounds) {\r\n \t\treturn a;\r\n \t}\r\n \treturn new Bounds(a, b);\r\n }\n\n /*\r\n * @class LatLngBounds\r\n * @aka L.LatLngBounds\r\n *\r\n * Represents a rectangular geographical area on a map.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var corner1 = L.latLng(40.712, -74.227),\r\n * corner2 = L.latLng(40.774, -74.125),\r\n * bounds = L.latLngBounds(corner1, corner2);\r\n * ```\r\n *\r\n * All Leaflet methods that accept LatLngBounds objects also accept them in a simple Array form (unless noted otherwise), so the bounds example above can be passed like this:\r\n *\r\n * ```js\r\n * map.fitBounds([\r\n * \t[40.712, -74.227],\r\n * \t[40.774, -74.125]\r\n * ]);\r\n * ```\r\n *\r\n * Caution: if the area crosses the antimeridian (often confused with the International Date Line), you must specify corners _outside_ the [-180, 180] degrees longitude range.\r\n *\r\n * Note that `LatLngBounds` does not inherit from Leaflet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\r\n\r\n function LatLngBounds(corner1, corner2) { // (LatLng, LatLng) or (LatLng[])\r\n \tif (!corner1) { return; }\r\n\r\n \tvar latlngs = corner2 ? [corner1, corner2] : corner1;\r\n\r\n \tfor (var i = 0, len = latlngs.length; i < len; i++) {\r\n \t\tthis.extend(latlngs[i]);\r\n \t}\r\n }\r\n\r\n LatLngBounds.prototype = {\r\n\r\n \t// @method extend(latlng: LatLng): this\r\n \t// Extend the bounds to contain the given point\r\n\r\n \t// @alternative\r\n \t// @method extend(otherBounds: LatLngBounds): this\r\n \t// Extend the bounds to contain the given bounds\r\n \textend: function (obj) {\r\n \t\tvar sw = this._southWest,\r\n \t\t ne = this._northEast,\r\n \t\t sw2, ne2;\r\n\r\n \t\tif (obj instanceof LatLng) {\r\n \t\t\tsw2 = obj;\r\n \t\t\tne2 = obj;\r\n\r\n \t\t} else if (obj instanceof LatLngBounds) {\r\n \t\t\tsw2 = obj._southWest;\r\n \t\t\tne2 = obj._northEast;\r\n\r\n \t\t\tif (!sw2 || !ne2) { return this; }\r\n\r\n \t\t} else {\r\n \t\t\treturn obj ? this.extend(toLatLng(obj) || toLatLngBounds(obj)) : this;\r\n \t\t}\r\n\r\n \t\tif (!sw && !ne) {\r\n \t\t\tthis._southWest = new LatLng(sw2.lat, sw2.lng);\r\n \t\t\tthis._northEast = new LatLng(ne2.lat, ne2.lng);\r\n \t\t} else {\r\n \t\t\tsw.lat = Math.min(sw2.lat, sw.lat);\r\n \t\t\tsw.lng = Math.min(sw2.lng, sw.lng);\r\n \t\t\tne.lat = Math.max(ne2.lat, ne.lat);\r\n \t\t\tne.lng = Math.max(ne2.lng, ne.lng);\r\n \t\t}\r\n\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method pad(bufferRatio: Number): LatLngBounds\r\n \t// Returns bounds created by extending or retracting the current bounds by a given ratio in each direction.\r\n \t// For example, a ratio of 0.5 extends the bounds by 50% in each direction.\r\n \t// Negative values will retract the bounds.\r\n \tpad: function (bufferRatio) {\r\n \t\tvar sw = this._southWest,\r\n \t\t ne = this._northEast,\r\n \t\t heightBuffer = Math.abs(sw.lat - ne.lat) * bufferRatio,\r\n \t\t widthBuffer = Math.abs(sw.lng - ne.lng) * bufferRatio;\r\n\r\n \t\treturn new LatLngBounds(\r\n \t\t new LatLng(sw.lat - heightBuffer, sw.lng - widthBuffer),\r\n \t\t new LatLng(ne.lat + heightBuffer, ne.lng + widthBuffer));\r\n \t},\r\n\r\n \t// @method getCenter(): LatLng\r\n \t// Returns the center point of the bounds.\r\n \tgetCenter: function () {\r\n \t\treturn new LatLng(\r\n \t\t (this._southWest.lat + this._northEast.lat) / 2,\r\n \t\t (this._southWest.lng + this._northEast.lng) / 2);\r\n \t},\r\n\r\n \t// @method getSouthWest(): LatLng\r\n \t// Returns the south-west point of the bounds.\r\n \tgetSouthWest: function () {\r\n \t\treturn this._southWest;\r\n \t},\r\n\r\n \t// @method getNorthEast(): LatLng\r\n \t// Returns the north-east point of the bounds.\r\n \tgetNorthEast: function () {\r\n \t\treturn this._northEast;\r\n \t},\r\n\r\n \t// @method getNorthWest(): LatLng\r\n \t// Returns the north-west point of the bounds.\r\n \tgetNorthWest: function () {\r\n \t\treturn new LatLng(this.getNorth(), this.getWest());\r\n \t},\r\n\r\n \t// @method getSouthEast(): LatLng\r\n \t// Returns the south-east point of the bounds.\r\n \tgetSouthEast: function () {\r\n \t\treturn new LatLng(this.getSouth(), this.getEast());\r\n \t},\r\n\r\n \t// @method getWest(): Number\r\n \t// Returns the west longitude of the bounds\r\n \tgetWest: function () {\r\n \t\treturn this._southWest.lng;\r\n \t},\r\n\r\n \t// @method getSouth(): Number\r\n \t// Returns the south latitude of the bounds\r\n \tgetSouth: function () {\r\n \t\treturn this._southWest.lat;\r\n \t},\r\n\r\n \t// @method getEast(): Number\r\n \t// Returns the east longitude of the bounds\r\n \tgetEast: function () {\r\n \t\treturn this._northEast.lng;\r\n \t},\r\n\r\n \t// @method getNorth(): Number\r\n \t// Returns the north latitude of the bounds\r\n \tgetNorth: function () {\r\n \t\treturn this._northEast.lat;\r\n \t},\r\n\r\n \t// @method contains(otherBounds: LatLngBounds): Boolean\r\n \t// Returns `true` if the rectangle contains the given one.\r\n\r\n \t// @alternative\r\n \t// @method contains (latlng: LatLng): Boolean\r\n \t// Returns `true` if the rectangle contains the given point.\r\n \tcontains: function (obj) { // (LatLngBounds) or (LatLng) -> Boolean\r\n \t\tif (typeof obj[0] === 'number' || obj instanceof LatLng || 'lat' in obj) {\r\n \t\t\tobj = toLatLng(obj);\r\n \t\t} else {\r\n \t\t\tobj = toLatLngBounds(obj);\r\n \t\t}\r\n\r\n \t\tvar sw = this._southWest,\r\n \t\t ne = this._northEast,\r\n \t\t sw2, ne2;\r\n\r\n \t\tif (obj instanceof LatLngBounds) {\r\n \t\t\tsw2 = obj.getSouthWest();\r\n \t\t\tne2 = obj.getNorthEast();\r\n \t\t} else {\r\n \t\t\tsw2 = ne2 = obj;\r\n \t\t}\r\n\r\n \t\treturn (sw2.lat >= sw.lat) && (ne2.lat <= ne.lat) &&\r\n \t\t (sw2.lng >= sw.lng) && (ne2.lng <= ne.lng);\r\n \t},\r\n\r\n \t// @method intersects(otherBounds: LatLngBounds): Boolean\r\n \t// Returns `true` if the rectangle intersects the given bounds. Two bounds intersect if they have at least one point in common.\r\n \tintersects: function (bounds) {\r\n \t\tbounds = toLatLngBounds(bounds);\r\n\r\n \t\tvar sw = this._southWest,\r\n \t\t ne = this._northEast,\r\n \t\t sw2 = bounds.getSouthWest(),\r\n \t\t ne2 = bounds.getNorthEast(),\r\n\r\n \t\t latIntersects = (ne2.lat >= sw.lat) && (sw2.lat <= ne.lat),\r\n \t\t lngIntersects = (ne2.lng >= sw.lng) && (sw2.lng <= ne.lng);\r\n\r\n \t\treturn latIntersects && lngIntersects;\r\n \t},\r\n\r\n \t// @method overlaps(otherBounds: LatLngBounds): Boolean\r\n \t// Returns `true` if the rectangle overlaps the given bounds. Two bounds overlap if their intersection is an area.\r\n \toverlaps: function (bounds) {\r\n \t\tbounds = toLatLngBounds(bounds);\r\n\r\n \t\tvar sw = this._southWest,\r\n \t\t ne = this._northEast,\r\n \t\t sw2 = bounds.getSouthWest(),\r\n \t\t ne2 = bounds.getNorthEast(),\r\n\r\n \t\t latOverlaps = (ne2.lat > sw.lat) && (sw2.lat < ne.lat),\r\n \t\t lngOverlaps = (ne2.lng > sw.lng) && (sw2.lng < ne.lng);\r\n\r\n \t\treturn latOverlaps && lngOverlaps;\r\n \t},\r\n\r\n \t// @method toBBoxString(): String\r\n \t// Returns a string with bounding box coordinates in a 'southwest_lng,southwest_lat,northeast_lng,northeast_lat' format. Useful for sending requests to web services that return geo data.\r\n \ttoBBoxString: function () {\r\n \t\treturn [this.getWest(), this.getSouth(), this.getEast(), this.getNorth()].join(',');\r\n \t},\r\n\r\n \t// @method equals(otherBounds: LatLngBounds, maxMargin?: Number): Boolean\r\n \t// Returns `true` if the rectangle is equivalent (within a small margin of error) to the given bounds. The margin of error can be overridden by setting `maxMargin` to a small number.\r\n \tequals: function (bounds, maxMargin) {\r\n \t\tif (!bounds) { return false; }\r\n\r\n \t\tbounds = toLatLngBounds(bounds);\r\n\r\n \t\treturn this._southWest.equals(bounds.getSouthWest(), maxMargin) &&\r\n \t\t this._northEast.equals(bounds.getNorthEast(), maxMargin);\r\n \t},\r\n\r\n \t// @method isValid(): Boolean\r\n \t// Returns `true` if the bounds are properly initialized.\r\n \tisValid: function () {\r\n \t\treturn !!(this._southWest && this._northEast);\r\n \t}\r\n };\r\n\r\n // TODO International date line?\r\n\r\n // @factory L.latLngBounds(corner1: LatLng, corner2: LatLng)\r\n // Creates a `LatLngBounds` object by defining two diagonally opposite corners of the rectangle.\r\n\r\n // @alternative\r\n // @factory L.latLngBounds(latlngs: LatLng[])\r\n // Creates a `LatLngBounds` object defined by the geographical points it contains. Very useful for zooming the map to fit a particular set of locations with [`fitBounds`](#map-fitbounds).\r\n function toLatLngBounds(a, b) {\r\n \tif (a instanceof LatLngBounds) {\r\n \t\treturn a;\r\n \t}\r\n \treturn new LatLngBounds(a, b);\r\n }\n\n /* @class LatLng\r\n * @aka L.LatLng\r\n *\r\n * Represents a geographical point with a certain latitude and longitude.\r\n *\r\n * @example\r\n *\r\n * ```\r\n * var latlng = L.latLng(50.5, 30.5);\r\n * ```\r\n *\r\n * All Leaflet methods that accept LatLng objects also accept them in a simple Array form and simple object form (unless noted otherwise), so these lines are equivalent:\r\n *\r\n * ```\r\n * map.panTo([50, 30]);\r\n * map.panTo({lon: 30, lat: 50});\r\n * map.panTo({lat: 50, lng: 30});\r\n * map.panTo(L.latLng(50, 30));\r\n * ```\r\n *\r\n * Note that `LatLng` does not inherit from Leaflet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\r\n\r\n function LatLng(lat, lng, alt) {\r\n \tif (isNaN(lat) || isNaN(lng)) {\r\n \t\tthrow new Error('Invalid LatLng object: (' + lat + ', ' + lng + ')');\r\n \t}\r\n\r\n \t// @property lat: Number\r\n \t// Latitude in degrees\r\n \tthis.lat = +lat;\r\n\r\n \t// @property lng: Number\r\n \t// Longitude in degrees\r\n \tthis.lng = +lng;\r\n\r\n \t// @property alt: Number\r\n \t// Altitude in meters (optional)\r\n \tif (alt !== undefined) {\r\n \t\tthis.alt = +alt;\r\n \t}\r\n }\r\n\r\n LatLng.prototype = {\r\n \t// @method equals(otherLatLng: LatLng, maxMargin?: Number): Boolean\r\n \t// Returns `true` if the given `LatLng` point is at the same position (within a small margin of error). The margin of error can be overridden by setting `maxMargin` to a small number.\r\n \tequals: function (obj, maxMargin) {\r\n \t\tif (!obj) { return false; }\r\n\r\n \t\tobj = toLatLng(obj);\r\n\r\n \t\tvar margin = Math.max(\r\n \t\t Math.abs(this.lat - obj.lat),\r\n \t\t Math.abs(this.lng - obj.lng));\r\n\r\n \t\treturn margin <= (maxMargin === undefined ? 1.0E-9 : maxMargin);\r\n \t},\r\n\r\n \t// @method toString(): String\r\n \t// Returns a string representation of the point (for debugging purposes).\r\n \ttoString: function (precision) {\r\n \t\treturn 'LatLng(' +\r\n \t\t formatNum(this.lat, precision) + ', ' +\r\n \t\t formatNum(this.lng, precision) + ')';\r\n \t},\r\n\r\n \t// @method distanceTo(otherLatLng: LatLng): Number\r\n \t// Returns the distance (in meters) to the given `LatLng` calculated using the [Spherical Law of Cosines](https://en.wikipedia.org/wiki/Spherical_law_of_cosines).\r\n \tdistanceTo: function (other) {\r\n \t\treturn Earth.distance(this, toLatLng(other));\r\n \t},\r\n\r\n \t// @method wrap(): LatLng\r\n \t// Returns a new `LatLng` object with the longitude wrapped so it's always between -180 and +180 degrees.\r\n \twrap: function () {\r\n \t\treturn Earth.wrapLatLng(this);\r\n \t},\r\n\r\n \t// @method toBounds(sizeInMeters: Number): LatLngBounds\r\n \t// Returns a new `LatLngBounds` object in which each boundary is `sizeInMeters/2` meters apart from the `LatLng`.\r\n \ttoBounds: function (sizeInMeters) {\r\n \t\tvar latAccuracy = 180 * sizeInMeters / 40075017,\r\n \t\t lngAccuracy = latAccuracy / Math.cos((Math.PI / 180) * this.lat);\r\n\r\n \t\treturn toLatLngBounds(\r\n \t\t [this.lat - latAccuracy, this.lng - lngAccuracy],\r\n \t\t [this.lat + latAccuracy, this.lng + lngAccuracy]);\r\n \t},\r\n\r\n \tclone: function () {\r\n \t\treturn new LatLng(this.lat, this.lng, this.alt);\r\n \t}\r\n };\r\n\r\n\r\n\r\n // @factory L.latLng(latitude: Number, longitude: Number, altitude?: Number): LatLng\r\n // Creates an object representing a geographical point with the given latitude and longitude (and optionally altitude).\r\n\r\n // @alternative\r\n // @factory L.latLng(coords: Array): LatLng\r\n // Expects an array of the form `[Number, Number]` or `[Number, Number, Number]` instead.\r\n\r\n // @alternative\r\n // @factory L.latLng(coords: Object): LatLng\r\n // Expects an plain object of the form `{lat: Number, lng: Number}` or `{lat: Number, lng: Number, alt: Number}` instead.\r\n\r\n function toLatLng(a, b, c) {\r\n \tif (a instanceof LatLng) {\r\n \t\treturn a;\r\n \t}\r\n \tif (isArray(a) && typeof a[0] !== 'object') {\r\n \t\tif (a.length === 3) {\r\n \t\t\treturn new LatLng(a[0], a[1], a[2]);\r\n \t\t}\r\n \t\tif (a.length === 2) {\r\n \t\t\treturn new LatLng(a[0], a[1]);\r\n \t\t}\r\n \t\treturn null;\r\n \t}\r\n \tif (a === undefined || a === null) {\r\n \t\treturn a;\r\n \t}\r\n \tif (typeof a === 'object' && 'lat' in a) {\r\n \t\treturn new LatLng(a.lat, 'lng' in a ? a.lng : a.lon, a.alt);\r\n \t}\r\n \tif (b === undefined) {\r\n \t\treturn null;\r\n \t}\r\n \treturn new LatLng(a, b, c);\r\n }\n\n /*\r\n * @namespace CRS\r\n * @crs L.CRS.Base\r\n * Object that defines coordinate reference systems for projecting\r\n * geographical points into pixel (screen) coordinates and back (and to\r\n * coordinates in other units for [WMS](https://en.wikipedia.org/wiki/Web_Map_Service) services). See\r\n * [spatial reference system](https://en.wikipedia.org/wiki/Spatial_reference_system).\r\n *\r\n * Leaflet defines the most usual CRSs by default. If you want to use a\r\n * CRS not defined by default, take a look at the\r\n * [Proj4Leaflet](https://github.com/kartena/Proj4Leaflet) plugin.\r\n *\r\n * Note that the CRS instances do not inherit from Leaflet's `Class` object,\r\n * and can't be instantiated. Also, new classes can't inherit from them,\r\n * and methods can't be added to them with the `include` function.\r\n */\r\n\r\n var CRS = {\r\n \t// @method latLngToPoint(latlng: LatLng, zoom: Number): Point\r\n \t// Projects geographical coordinates into pixel coordinates for a given zoom.\r\n \tlatLngToPoint: function (latlng, zoom) {\r\n \t\tvar projectedPoint = this.projection.project(latlng),\r\n \t\t scale = this.scale(zoom);\r\n\r\n \t\treturn this.transformation._transform(projectedPoint, scale);\r\n \t},\r\n\r\n \t// @method pointToLatLng(point: Point, zoom: Number): LatLng\r\n \t// The inverse of `latLngToPoint`. Projects pixel coordinates on a given\r\n \t// zoom into geographical coordinates.\r\n \tpointToLatLng: function (point, zoom) {\r\n \t\tvar scale = this.scale(zoom),\r\n \t\t untransformedPoint = this.transformation.untransform(point, scale);\r\n\r\n \t\treturn this.projection.unproject(untransformedPoint);\r\n \t},\r\n\r\n \t// @method project(latlng: LatLng): Point\r\n \t// Projects geographical coordinates into coordinates in units accepted for\r\n \t// this CRS (e.g. meters for EPSG:3857, for passing it to WMS services).\r\n \tproject: function (latlng) {\r\n \t\treturn this.projection.project(latlng);\r\n \t},\r\n\r\n \t// @method unproject(point: Point): LatLng\r\n \t// Given a projected coordinate returns the corresponding LatLng.\r\n \t// The inverse of `project`.\r\n \tunproject: function (point) {\r\n \t\treturn this.projection.unproject(point);\r\n \t},\r\n\r\n \t// @method scale(zoom: Number): Number\r\n \t// Returns the scale used when transforming projected coordinates into\r\n \t// pixel coordinates for a particular zoom. For example, it returns\r\n \t// `256 * 2^zoom` for Mercator-based CRS.\r\n \tscale: function (zoom) {\r\n \t\treturn 256 * Math.pow(2, zoom);\r\n \t},\r\n\r\n \t// @method zoom(scale: Number): Number\r\n \t// Inverse of `scale()`, returns the zoom level corresponding to a scale\r\n \t// factor of `scale`.\r\n \tzoom: function (scale) {\r\n \t\treturn Math.log(scale / 256) / Math.LN2;\r\n \t},\r\n\r\n \t// @method getProjectedBounds(zoom: Number): Bounds\r\n \t// Returns the projection's bounds scaled and transformed for the provided `zoom`.\r\n \tgetProjectedBounds: function (zoom) {\r\n \t\tif (this.infinite) { return null; }\r\n\r\n \t\tvar b = this.projection.bounds,\r\n \t\t s = this.scale(zoom),\r\n \t\t min = this.transformation.transform(b.min, s),\r\n \t\t max = this.transformation.transform(b.max, s);\r\n\r\n \t\treturn new Bounds(min, max);\r\n \t},\r\n\r\n \t// @method distance(latlng1: LatLng, latlng2: LatLng): Number\r\n \t// Returns the distance between two geographical coordinates.\r\n\r\n \t// @property code: String\r\n \t// Standard code name of the CRS passed into WMS services (e.g. `'EPSG:3857'`)\r\n \t//\r\n \t// @property wrapLng: Number[]\r\n \t// An array of two numbers defining whether the longitude (horizontal) coordinate\r\n \t// axis wraps around a given range and how. Defaults to `[-180, 180]` in most\r\n \t// geographical CRSs. If `undefined`, the longitude axis does not wrap around.\r\n \t//\r\n \t// @property wrapLat: Number[]\r\n \t// Like `wrapLng`, but for the latitude (vertical) axis.\r\n\r\n \t// wrapLng: [min, max],\r\n \t// wrapLat: [min, max],\r\n\r\n \t// @property infinite: Boolean\r\n \t// If true, the coordinate space will be unbounded (infinite in both axes)\r\n \tinfinite: false,\r\n\r\n \t// @method wrapLatLng(latlng: LatLng): LatLng\r\n \t// Returns a `LatLng` where lat and lng has been wrapped according to the\r\n \t// CRS's `wrapLat` and `wrapLng` properties, if they are outside the CRS's bounds.\r\n \twrapLatLng: function (latlng) {\r\n \t\tvar lng = this.wrapLng ? wrapNum(latlng.lng, this.wrapLng, true) : latlng.lng,\r\n \t\t lat = this.wrapLat ? wrapNum(latlng.lat, this.wrapLat, true) : latlng.lat,\r\n \t\t alt = latlng.alt;\r\n\r\n \t\treturn new LatLng(lat, lng, alt);\r\n \t},\r\n\r\n \t// @method wrapLatLngBounds(bounds: LatLngBounds): LatLngBounds\r\n \t// Returns a `LatLngBounds` with the same size as the given one, ensuring\r\n \t// that its center is within the CRS's bounds.\r\n \t// Only accepts actual `L.LatLngBounds` instances, not arrays.\r\n \twrapLatLngBounds: function (bounds) {\r\n \t\tvar center = bounds.getCenter(),\r\n \t\t newCenter = this.wrapLatLng(center),\r\n \t\t latShift = center.lat - newCenter.lat,\r\n \t\t lngShift = center.lng - newCenter.lng;\r\n\r\n \t\tif (latShift === 0 && lngShift === 0) {\r\n \t\t\treturn bounds;\r\n \t\t}\r\n\r\n \t\tvar sw = bounds.getSouthWest(),\r\n \t\t ne = bounds.getNorthEast(),\r\n \t\t newSw = new LatLng(sw.lat - latShift, sw.lng - lngShift),\r\n \t\t newNe = new LatLng(ne.lat - latShift, ne.lng - lngShift);\r\n\r\n \t\treturn new LatLngBounds(newSw, newNe);\r\n \t}\r\n };\n\n /*\n * @namespace CRS\n * @crs L.CRS.Earth\n *\n * Serves as the base for CRS that are global such that they cover the earth.\n * Can only be used as the base for other CRS and cannot be used directly,\n * since it does not have a `code`, `projection` or `transformation`. `distance()` returns\n * meters.\n */\n\n var Earth = extend({}, CRS, {\n \twrapLng: [-180, 180],\n\n \t// Mean Earth Radius, as recommended for use by\n \t// the International Union of Geodesy and Geophysics,\n \t// see https://rosettacode.org/wiki/Haversine_formula\n \tR: 6371000,\n\n \t// distance between two geographical points using spherical law of cosines approximation\n \tdistance: function (latlng1, latlng2) {\n \t\tvar rad = Math.PI / 180,\n \t\t lat1 = latlng1.lat * rad,\n \t\t lat2 = latlng2.lat * rad,\n \t\t sinDLat = Math.sin((latlng2.lat - latlng1.lat) * rad / 2),\n \t\t sinDLon = Math.sin((latlng2.lng - latlng1.lng) * rad / 2),\n \t\t a = sinDLat * sinDLat + Math.cos(lat1) * Math.cos(lat2) * sinDLon * sinDLon,\n \t\t c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));\n \t\treturn this.R * c;\n \t}\n });\n\n /*\r\n * @namespace Projection\r\n * @projection L.Projection.SphericalMercator\r\n *\r\n * Spherical Mercator projection โ€” the most common projection for online maps,\r\n * used by almost all free and commercial tile providers. Assumes that Earth is\r\n * a sphere. Used by the `EPSG:3857` CRS.\r\n */\r\n\r\n var earthRadius = 6378137;\r\n\r\n var SphericalMercator = {\r\n\r\n \tR: earthRadius,\r\n \tMAX_LATITUDE: 85.0511287798,\r\n\r\n \tproject: function (latlng) {\r\n \t\tvar d = Math.PI / 180,\r\n \t\t max = this.MAX_LATITUDE,\r\n \t\t lat = Math.max(Math.min(max, latlng.lat), -max),\r\n \t\t sin = Math.sin(lat * d);\r\n\r\n \t\treturn new Point(\r\n \t\t\tthis.R * latlng.lng * d,\r\n \t\t\tthis.R * Math.log((1 + sin) / (1 - sin)) / 2);\r\n \t},\r\n\r\n \tunproject: function (point) {\r\n \t\tvar d = 180 / Math.PI;\r\n\r\n \t\treturn new LatLng(\r\n \t\t\t(2 * Math.atan(Math.exp(point.y / this.R)) - (Math.PI / 2)) * d,\r\n \t\t\tpoint.x * d / this.R);\r\n \t},\r\n\r\n \tbounds: (function () {\r\n \t\tvar d = earthRadius * Math.PI;\r\n \t\treturn new Bounds([-d, -d], [d, d]);\r\n \t})()\r\n };\n\n /*\r\n * @class Transformation\r\n * @aka L.Transformation\r\n *\r\n * Represents an affine transformation: a set of coefficients `a`, `b`, `c`, `d`\r\n * for transforming a point of a form `(x, y)` into `(a*x + b, c*y + d)` and doing\r\n * the reverse. Used by Leaflet in its projections code.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var transformation = L.transformation(2, 5, -1, 10),\r\n * \tp = L.point(1, 2),\r\n * \tp2 = transformation.transform(p), // L.point(7, 8)\r\n * \tp3 = transformation.untransform(p2); // L.point(1, 2)\r\n * ```\r\n */\r\n\r\n\r\n // factory new L.Transformation(a: Number, b: Number, c: Number, d: Number)\r\n // Creates a `Transformation` object with the given coefficients.\r\n function Transformation(a, b, c, d) {\r\n \tif (isArray(a)) {\r\n \t\t// use array properties\r\n \t\tthis._a = a[0];\r\n \t\tthis._b = a[1];\r\n \t\tthis._c = a[2];\r\n \t\tthis._d = a[3];\r\n \t\treturn;\r\n \t}\r\n \tthis._a = a;\r\n \tthis._b = b;\r\n \tthis._c = c;\r\n \tthis._d = d;\r\n }\r\n\r\n Transformation.prototype = {\r\n \t// @method transform(point: Point, scale?: Number): Point\r\n \t// Returns a transformed point, optionally multiplied by the given scale.\r\n \t// Only accepts actual `L.Point` instances, not arrays.\r\n \ttransform: function (point, scale) { // (Point, Number) -> Point\r\n \t\treturn this._transform(point.clone(), scale);\r\n \t},\r\n\r\n \t// destructive transform (faster)\r\n \t_transform: function (point, scale) {\r\n \t\tscale = scale || 1;\r\n \t\tpoint.x = scale * (this._a * point.x + this._b);\r\n \t\tpoint.y = scale * (this._c * point.y + this._d);\r\n \t\treturn point;\r\n \t},\r\n\r\n \t// @method untransform(point: Point, scale?: Number): Point\r\n \t// Returns the reverse transformation of the given point, optionally divided\r\n \t// by the given scale. Only accepts actual `L.Point` instances, not arrays.\r\n \tuntransform: function (point, scale) {\r\n \t\tscale = scale || 1;\r\n \t\treturn new Point(\r\n \t\t (point.x / scale - this._b) / this._a,\r\n \t\t (point.y / scale - this._d) / this._c);\r\n \t}\r\n };\r\n\r\n // factory L.transformation(a: Number, b: Number, c: Number, d: Number)\r\n\r\n // @factory L.transformation(a: Number, b: Number, c: Number, d: Number)\r\n // Instantiates a Transformation object with the given coefficients.\r\n\r\n // @alternative\r\n // @factory L.transformation(coefficients: Array): Transformation\r\n // Expects an coefficients array of the form\r\n // `[a: Number, b: Number, c: Number, d: Number]`.\r\n\r\n function toTransformation(a, b, c, d) {\r\n \treturn new Transformation(a, b, c, d);\r\n }\n\n /*\r\n * @namespace CRS\r\n * @crs L.CRS.EPSG3857\r\n *\r\n * The most common CRS for online maps, used by almost all free and commercial\r\n * tile providers. Uses Spherical Mercator projection. Set in by default in\r\n * Map's `crs` option.\r\n */\r\n\r\n var EPSG3857 = extend({}, Earth, {\r\n \tcode: 'EPSG:3857',\r\n \tprojection: SphericalMercator,\r\n\r\n \ttransformation: (function () {\r\n \t\tvar scale = 0.5 / (Math.PI * SphericalMercator.R);\r\n \t\treturn toTransformation(scale, 0.5, -scale, 0.5);\r\n \t}())\r\n });\r\n\r\n var EPSG900913 = extend({}, EPSG3857, {\r\n \tcode: 'EPSG:900913'\r\n });\n\n // @namespace SVG; @section\n // There are several static functions which can be called without instantiating L.SVG:\n\n // @function create(name: String): SVGElement\n // Returns a instance of [SVGElement](https://developer.mozilla.org/docs/Web/API/SVGElement),\n // corresponding to the class name passed. For example, using 'line' will return\n // an instance of [SVGLineElement](https://developer.mozilla.org/docs/Web/API/SVGLineElement).\n function svgCreate(name) {\n \treturn document.createElementNS('http://www.w3.org/2000/svg', name);\n }\n\n // @function pointsToPath(rings: Point[], closed: Boolean): String\n // Generates a SVG path string for multiple rings, with each ring turning\n // into \"M..L..L..\" instructions\n function pointsToPath(rings, closed) {\n \tvar str = '',\n \ti, j, len, len2, points, p;\n\n \tfor (i = 0, len = rings.length; i < len; i++) {\n \t\tpoints = rings[i];\n\n \t\tfor (j = 0, len2 = points.length; j < len2; j++) {\n \t\t\tp = points[j];\n \t\t\tstr += (j ? 'L' : 'M') + p.x + ' ' + p.y;\n \t\t}\n\n \t\t// closes the ring for polygons; \"x\" is VML syntax\n \t\tstr += closed ? (Browser.svg ? 'z' : 'x') : '';\n \t}\n\n \t// SVG complains about empty path strings\n \treturn str || 'M0 0';\n }\n\n /*\r\n * @namespace Browser\r\n * @aka L.Browser\r\n *\r\n * A namespace with static properties for browser/feature detection used by Leaflet internally.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * if (L.Browser.ielt9) {\r\n * alert('Upgrade your browser, dude!');\r\n * }\r\n * ```\r\n */\r\n\r\n var style = document.documentElement.style;\r\n\r\n // @property ie: Boolean; `true` for all Internet Explorer versions (not Edge).\r\n var ie = 'ActiveXObject' in window;\r\n\r\n // @property ielt9: Boolean; `true` for Internet Explorer versions less than 9.\r\n var ielt9 = ie && !document.addEventListener;\r\n\r\n // @property edge: Boolean; `true` for the Edge web browser.\r\n var edge = 'msLaunchUri' in navigator && !('documentMode' in document);\r\n\r\n // @property webkit: Boolean;\r\n // `true` for webkit-based browsers like Chrome and Safari (including mobile versions).\r\n var webkit = userAgentContains('webkit');\r\n\r\n // @property android: Boolean\r\n // **Deprecated.** `true` for any browser running on an Android platform.\r\n var android = userAgentContains('android');\r\n\r\n // @property android23: Boolean; **Deprecated.** `true` for browsers running on Android 2 or Android 3.\r\n var android23 = userAgentContains('android 2') || userAgentContains('android 3');\r\n\r\n /* See https://stackoverflow.com/a/17961266 for details on detecting stock Android */\r\n var webkitVer = parseInt(/WebKit\\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10); // also matches AppleWebKit\r\n // @property androidStock: Boolean; **Deprecated.** `true` for the Android stock browser (i.e. not Chrome)\r\n var androidStock = android && userAgentContains('Google') && webkitVer < 537 && !('AudioNode' in window);\r\n\r\n // @property opera: Boolean; `true` for the Opera browser\r\n var opera = !!window.opera;\r\n\r\n // @property chrome: Boolean; `true` for the Chrome browser.\r\n var chrome = !edge && userAgentContains('chrome');\r\n\r\n // @property gecko: Boolean; `true` for gecko-based browsers like Firefox.\r\n var gecko = userAgentContains('gecko') && !webkit && !opera && !ie;\r\n\r\n // @property safari: Boolean; `true` for the Safari browser.\r\n var safari = !chrome && userAgentContains('safari');\r\n\r\n var phantom = userAgentContains('phantom');\r\n\r\n // @property opera12: Boolean\r\n // `true` for the Opera browser supporting CSS transforms (version 12 or later).\r\n var opera12 = 'OTransition' in style;\r\n\r\n // @property win: Boolean; `true` when the browser is running in a Windows platform\r\n var win = navigator.platform.indexOf('Win') === 0;\r\n\r\n // @property ie3d: Boolean; `true` for all Internet Explorer versions supporting CSS transforms.\r\n var ie3d = ie && ('transition' in style);\r\n\r\n // @property webkit3d: Boolean; `true` for webkit-based browsers supporting CSS transforms.\r\n var webkit3d = ('WebKitCSSMatrix' in window) && ('m11' in new window.WebKitCSSMatrix()) && !android23;\r\n\r\n // @property gecko3d: Boolean; `true` for gecko-based browsers supporting CSS transforms.\r\n var gecko3d = 'MozPerspective' in style;\r\n\r\n // @property any3d: Boolean\r\n // `true` for all browsers supporting CSS transforms.\r\n var any3d = !window.L_DISABLE_3D && (ie3d || webkit3d || gecko3d) && !opera12 && !phantom;\r\n\r\n // @property mobile: Boolean; `true` for all browsers running in a mobile device.\r\n var mobile = typeof orientation !== 'undefined' || userAgentContains('mobile');\r\n\r\n // @property mobileWebkit: Boolean; `true` for all webkit-based browsers in a mobile device.\r\n var mobileWebkit = mobile && webkit;\r\n\r\n // @property mobileWebkit3d: Boolean\r\n // `true` for all webkit-based browsers in a mobile device supporting CSS transforms.\r\n var mobileWebkit3d = mobile && webkit3d;\r\n\r\n // @property msPointer: Boolean\r\n // `true` for browsers implementing the Microsoft touch events model (notably IE10).\r\n var msPointer = !window.PointerEvent && window.MSPointerEvent;\r\n\r\n // @property pointer: Boolean\r\n // `true` for all browsers supporting [pointer events](https://msdn.microsoft.com/en-us/library/dn433244%28v=vs.85%29.aspx).\r\n var pointer = !!(window.PointerEvent || msPointer);\r\n\r\n // @property touchNative: Boolean\r\n // `true` for all browsers supporting [touch events](https://developer.mozilla.org/docs/Web/API/Touch_events).\r\n // **This does not necessarily mean** that the browser is running in a computer with\r\n // a touchscreen, it only means that the browser is capable of understanding\r\n // touch events.\r\n var touchNative = 'ontouchstart' in window || !!window.TouchEvent;\r\n\r\n // @property touch: Boolean\r\n // `true` for all browsers supporting either [touch](#browser-touch) or [pointer](#browser-pointer) events.\r\n // Note: pointer events will be preferred (if available), and processed for all `touch*` listeners.\r\n var touch = !window.L_NO_TOUCH && (touchNative || pointer);\r\n\r\n // @property mobileOpera: Boolean; `true` for the Opera browser in a mobile device.\r\n var mobileOpera = mobile && opera;\r\n\r\n // @property mobileGecko: Boolean\r\n // `true` for gecko-based browsers running in a mobile device.\r\n var mobileGecko = mobile && gecko;\r\n\r\n // @property retina: Boolean\r\n // `true` for browsers on a high-resolution \"retina\" screen or on any screen when browser's display zoom is more than 100%.\r\n var retina = (window.devicePixelRatio || (window.screen.deviceXDPI / window.screen.logicalXDPI)) > 1;\r\n\r\n // @property passiveEvents: Boolean\r\n // `true` for browsers that support passive events.\r\n var passiveEvents = (function () {\r\n \tvar supportsPassiveOption = false;\r\n \ttry {\r\n \t\tvar opts = Object.defineProperty({}, 'passive', {\r\n \t\t\tget: function () { // eslint-disable-line getter-return\r\n \t\t\t\tsupportsPassiveOption = true;\r\n \t\t\t}\r\n \t\t});\r\n \t\twindow.addEventListener('testPassiveEventSupport', falseFn, opts);\r\n \t\twindow.removeEventListener('testPassiveEventSupport', falseFn, opts);\r\n \t} catch (e) {\r\n \t\t// Errors can safely be ignored since this is only a browser support test.\r\n \t}\r\n \treturn supportsPassiveOption;\r\n }());\r\n\r\n // @property canvas: Boolean\r\n // `true` when the browser supports [``](https://developer.mozilla.org/docs/Web/API/Canvas_API).\r\n var canvas$1 = (function () {\r\n \treturn !!document.createElement('canvas').getContext;\r\n }());\r\n\r\n // @property svg: Boolean\r\n // `true` when the browser supports [SVG](https://developer.mozilla.org/docs/Web/SVG).\r\n var svg$1 = !!(document.createElementNS && svgCreate('svg').createSVGRect);\r\n\r\n var inlineSvg = !!svg$1 && (function () {\r\n \tvar div = document.createElement('div');\r\n \tdiv.innerHTML = '';\r\n \treturn (div.firstChild && div.firstChild.namespaceURI) === 'http://www.w3.org/2000/svg';\r\n })();\r\n\r\n // @property vml: Boolean\r\n // `true` if the browser supports [VML](https://en.wikipedia.org/wiki/Vector_Markup_Language).\r\n var vml = !svg$1 && (function () {\r\n \ttry {\r\n \t\tvar div = document.createElement('div');\r\n \t\tdiv.innerHTML = '';\r\n\r\n \t\tvar shape = div.firstChild;\r\n \t\tshape.style.behavior = 'url(#default#VML)';\r\n\r\n \t\treturn shape && (typeof shape.adj === 'object');\r\n\r\n \t} catch (e) {\r\n \t\treturn false;\r\n \t}\r\n }());\r\n\r\n\r\n // @property mac: Boolean; `true` when the browser is running in a Mac platform\r\n var mac = navigator.platform.indexOf('Mac') === 0;\r\n\r\n // @property mac: Boolean; `true` when the browser is running in a Linux platform\r\n var linux = navigator.platform.indexOf('Linux') === 0;\r\n\r\n function userAgentContains(str) {\r\n \treturn navigator.userAgent.toLowerCase().indexOf(str) >= 0;\r\n }\r\n\r\n\r\n var Browser = {\r\n \tie: ie,\r\n \tielt9: ielt9,\r\n \tedge: edge,\r\n \twebkit: webkit,\r\n \tandroid: android,\r\n \tandroid23: android23,\r\n \tandroidStock: androidStock,\r\n \topera: opera,\r\n \tchrome: chrome,\r\n \tgecko: gecko,\r\n \tsafari: safari,\r\n \tphantom: phantom,\r\n \topera12: opera12,\r\n \twin: win,\r\n \tie3d: ie3d,\r\n \twebkit3d: webkit3d,\r\n \tgecko3d: gecko3d,\r\n \tany3d: any3d,\r\n \tmobile: mobile,\r\n \tmobileWebkit: mobileWebkit,\r\n \tmobileWebkit3d: mobileWebkit3d,\r\n \tmsPointer: msPointer,\r\n \tpointer: pointer,\r\n \ttouch: touch,\r\n \ttouchNative: touchNative,\r\n \tmobileOpera: mobileOpera,\r\n \tmobileGecko: mobileGecko,\r\n \tretina: retina,\r\n \tpassiveEvents: passiveEvents,\r\n \tcanvas: canvas$1,\r\n \tsvg: svg$1,\r\n \tvml: vml,\r\n \tinlineSvg: inlineSvg,\r\n \tmac: mac,\r\n \tlinux: linux\r\n };\n\n /*\n * Extends L.DomEvent to provide touch support for Internet Explorer and Windows-based devices.\n */\n\n var POINTER_DOWN = Browser.msPointer ? 'MSPointerDown' : 'pointerdown';\n var POINTER_MOVE = Browser.msPointer ? 'MSPointerMove' : 'pointermove';\n var POINTER_UP = Browser.msPointer ? 'MSPointerUp' : 'pointerup';\n var POINTER_CANCEL = Browser.msPointer ? 'MSPointerCancel' : 'pointercancel';\n var pEvent = {\n \ttouchstart : POINTER_DOWN,\n \ttouchmove : POINTER_MOVE,\n \ttouchend : POINTER_UP,\n \ttouchcancel : POINTER_CANCEL\n };\n var handle = {\n \ttouchstart : _onPointerStart,\n \ttouchmove : _handlePointer,\n \ttouchend : _handlePointer,\n \ttouchcancel : _handlePointer\n };\n var _pointers = {};\n var _pointerDocListener = false;\n\n // Provides a touch events wrapper for (ms)pointer events.\n // ref https://www.w3.org/TR/pointerevents/ https://www.w3.org/Bugs/Public/show_bug.cgi?id=22890\n\n function addPointerListener(obj, type, handler) {\n \tif (type === 'touchstart') {\n \t\t_addPointerDocListener();\n \t}\n \tif (!handle[type]) {\n \t\tconsole.warn('wrong event specified:', type);\n \t\treturn falseFn;\n \t}\n \thandler = handle[type].bind(this, handler);\n \tobj.addEventListener(pEvent[type], handler, false);\n \treturn handler;\n }\n\n function removePointerListener(obj, type, handler) {\n \tif (!pEvent[type]) {\n \t\tconsole.warn('wrong event specified:', type);\n \t\treturn;\n \t}\n \tobj.removeEventListener(pEvent[type], handler, false);\n }\n\n function _globalPointerDown(e) {\n \t_pointers[e.pointerId] = e;\n }\n\n function _globalPointerMove(e) {\n \tif (_pointers[e.pointerId]) {\n \t\t_pointers[e.pointerId] = e;\n \t}\n }\n\n function _globalPointerUp(e) {\n \tdelete _pointers[e.pointerId];\n }\n\n function _addPointerDocListener() {\n \t// need to keep track of what pointers and how many are active to provide e.touches emulation\n \tif (!_pointerDocListener) {\n \t\t// we listen document as any drags that end by moving the touch off the screen get fired there\n \t\tdocument.addEventListener(POINTER_DOWN, _globalPointerDown, true);\n \t\tdocument.addEventListener(POINTER_MOVE, _globalPointerMove, true);\n \t\tdocument.addEventListener(POINTER_UP, _globalPointerUp, true);\n \t\tdocument.addEventListener(POINTER_CANCEL, _globalPointerUp, true);\n\n \t\t_pointerDocListener = true;\n \t}\n }\n\n function _handlePointer(handler, e) {\n \tif (e.pointerType === (e.MSPOINTER_TYPE_MOUSE || 'mouse')) { return; }\n\n \te.touches = [];\n \tfor (var i in _pointers) {\n \t\te.touches.push(_pointers[i]);\n \t}\n \te.changedTouches = [e];\n\n \thandler(e);\n }\n\n function _onPointerStart(handler, e) {\n \t// IE10 specific: MsTouch needs preventDefault. See #2000\n \tif (e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH) {\n \t\tpreventDefault(e);\n \t}\n \t_handlePointer(handler, e);\n }\n\n /*\r\n * Extends the event handling code with double tap support for mobile browsers.\r\n *\r\n * Note: currently most browsers fire native dblclick, with only a few exceptions\r\n * (see https://github.com/Leaflet/Leaflet/issues/7012#issuecomment-595087386)\r\n */\r\n\r\n function makeDblclick(event) {\r\n \t// in modern browsers `type` cannot be just overridden:\r\n \t// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Getter_only\r\n \tvar newEvent = {},\r\n \t prop, i;\r\n \tfor (i in event) {\r\n \t\tprop = event[i];\r\n \t\tnewEvent[i] = prop && prop.bind ? prop.bind(event) : prop;\r\n \t}\r\n \tevent = newEvent;\r\n \tnewEvent.type = 'dblclick';\r\n \tnewEvent.detail = 2;\r\n \tnewEvent.isTrusted = false;\r\n \tnewEvent._simulated = true; // for debug purposes\r\n \treturn newEvent;\r\n }\r\n\r\n var delay = 200;\r\n function addDoubleTapListener(obj, handler) {\r\n \t// Most browsers handle double tap natively\r\n \tobj.addEventListener('dblclick', handler);\r\n\r\n \t// On some platforms the browser doesn't fire native dblclicks for touch events.\r\n \t// It seems that in all such cases `detail` property of `click` event is always `1`.\r\n \t// So here we rely on that fact to avoid excessive 'dblclick' simulation when not needed.\r\n \tvar last = 0,\r\n \t detail;\r\n \tfunction simDblclick(e) {\r\n \t\tif (e.detail !== 1) {\r\n \t\t\tdetail = e.detail; // keep in sync to avoid false dblclick in some cases\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\tif (e.pointerType === 'mouse' ||\r\n \t\t\t(e.sourceCapabilities && !e.sourceCapabilities.firesTouchEvents)) {\r\n\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\t// When clicking on an , the browser generates a click on its\r\n \t\t//