diff --git a/404.html b/404.html new file mode 120000 index 0000000..64233a9 --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +index.html \ No newline at end of file diff --git a/assets/AboutView-31c08eb9.js b/assets/AboutView-31c08eb9.js new file mode 100644 index 0000000..7d8dfd1 --- /dev/null +++ b/assets/AboutView-31c08eb9.js @@ -0,0 +1,2 @@ +import{o,c,a as i}from"./index-8d0214d1.js";const r=(e,t)=>{const a=e.__vccOpts||e;for(const[s,n]of t)a[s]=n;return a},l={},p={class:"h-full mx-auto max-w-sm flex flex-col justify-center items-center space-y-4 text-xl text-center"},h=i('

Upstate / Greenville SC Open Data Map Layers Demo

This app is maintained by HackGreenville Labs team in the #hg-labs Slack channel and contains data from the Upstate SC Open Map Layer Data initiative.

Something not quite right? Learn how you can contribute to the Open Data project!

This app is open source and contributions are highly encouraged! You can find the source code for this site on Github .

',4),u=[h];function m(e,t){return o(),c("div",p,u)}const f=r(l,[["render",m]]);export{f as default}; +//# sourceMappingURL=AboutView-31c08eb9.js.map diff --git a/assets/AboutView-31c08eb9.js.map b/assets/AboutView-31c08eb9.js.map new file mode 100644 index 0000000..5cc185d --- /dev/null +++ b/assets/AboutView-31c08eb9.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AboutView-31c08eb9.js","sources":["../../src/views/AboutView.vue"],"sourcesContent":["\n"],"names":["_hoisted_6","_sfc_render","_ctx","_cache"],"mappings":"w+BAMSA,EAAA,IALP,SAAAC,EAAAC,EAAAC,EAAA"} \ No newline at end of file diff --git a/assets/attribution-4ad9cc10.png b/assets/attribution-4ad9cc10.png new file mode 100644 index 0000000..a80efe6 Binary files /dev/null and b/assets/attribution-4ad9cc10.png differ diff --git a/assets/favicon-a8f2a45b.png b/assets/favicon-a8f2a45b.png new file mode 100644 index 0000000..bf11487 Binary files /dev/null and b/assets/favicon-a8f2a45b.png differ diff --git a/assets/index-8d0214d1.js b/assets/index-8d0214d1.js new file mode 100644 index 0000000..b8d7abe --- /dev/null +++ b/assets/index-8d0214d1.js @@ -0,0 +1,23 @@ +function Qc(e,i){for(var s=0;sr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const h of u.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&r(h)}).observe(document,{childList:!0,subtree:!0});function s(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function r(l){if(l.ep)return;l.ep=!0;const u=s(l);fetch(l.href,u)}})();function Hs(e,i){const s=Object.create(null),r=e.split(",");for(let l=0;l!!s[l.toLowerCase()]:l=>!!s[l]}const At={},Dn=[],ye=()=>{},th=()=>!1,eh=/^on[^a-z]/,Po=e=>eh.test(e),Ws=e=>e.startsWith("onUpdate:"),$t=Object.assign,Us=(e,i)=>{const s=e.indexOf(i);s>-1&&e.splice(s,1)},nh=Object.prototype.hasOwnProperty,wt=(e,i)=>nh.call(e,i),ot=Array.isArray,Fn=e=>Lo(e)==="[object Map]",dl=e=>Lo(e)==="[object Set]",ft=e=>typeof e=="function",Wt=e=>typeof e=="string",$s=e=>typeof e=="symbol",It=e=>e!==null&&typeof e=="object",pl=e=>It(e)&&ft(e.then)&&ft(e.catch),_l=Object.prototype.toString,Lo=e=>_l.call(e),ih=e=>Lo(e).slice(8,-1),ml=e=>Lo(e)==="[object Object]",qs=e=>Wt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ho=Hs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),To=e=>{const i=Object.create(null);return s=>i[s]||(i[s]=e(s))},oh=/-(\w)/g,Wn=To(e=>e.replace(oh,(i,s)=>s?s.toUpperCase():"")),sh=/\B([A-Z])/g,Jn=To(e=>e.replace(sh,"-$1").toLowerCase()),gl=To(e=>e.charAt(0).toUpperCase()+e.slice(1)),fs=To(e=>e?`on${gl(e)}`:""),Ti=(e,i)=>!Object.is(e,i),ds=(e,i)=>{for(let s=0;s{Object.defineProperty(e,i,{configurable:!0,enumerable:!1,value:s})},rh=e=>{const i=parseFloat(e);return isNaN(i)?e:i},ah=e=>{const i=Wt(e)?Number(e):NaN;return isNaN(i)?e:i};let _a;const xs=()=>_a||(_a=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ks(e){if(ot(e)){const i={};for(let s=0;s{if(s){const r=s.split(uh);r.length>1&&(i[r[0].trim()]=r[1].trim())}}),i}function Co(e){let i="";if(Wt(e))i=e;else if(ot(e))for(let s=0;sWt(e)?e:e==null?"":ot(e)||It(e)&&(e.toString===_l||!ft(e.toString))?JSON.stringify(e,yl,2):String(e),yl=(e,i)=>i&&i.__v_isRef?yl(e,i.value):Fn(i)?{[`Map(${i.size})`]:[...i.entries()].reduce((s,[r,l])=>(s[`${r} =>`]=l,s),{})}:dl(i)?{[`Set(${i.size})`]:[...i.values()]}:It(i)&&!ot(i)&&!ml(i)?String(i):i;let se;class bl{constructor(i=!1){this.detached=i,this._active=!0,this.effects=[],this.cleanups=[],this.parent=se,!i&&se&&(this.index=(se.scopes||(se.scopes=[])).push(this)-1)}get active(){return this._active}run(i){if(this._active){const s=se;try{return se=this,i()}finally{se=s}}}on(){se=this}off(){se=this.parent}stop(i){if(this._active){let s,r;for(s=0,r=this.effects.length;s{const i=new Set(e);return i.w=0,i.n=0,i},Pl=e=>(e.w&an)>0,Ll=e=>(e.n&an)>0,mh=({deps:e})=>{if(e.length)for(let i=0;i{const{deps:i}=e;if(i.length){let s=0;for(let r=0;r{(_==="length"||_>=d)&&p.push(g)})}else switch(s!==void 0&&p.push(h.get(s)),i){case"add":ot(e)?qs(s)&&p.push(h.get("length")):(p.push(h.get(yn)),Fn(e)&&p.push(h.get(Ls)));break;case"delete":ot(e)||(p.push(h.get(yn)),Fn(e)&&p.push(h.get(Ls)));break;case"set":Fn(e)&&p.push(h.get(yn));break}if(p.length===1)p[0]&&Ts(p[0]);else{const d=[];for(const g of p)g&&d.push(...g);Ts(Vs(d))}}function Ts(e,i){const s=ot(e)?e:[...e];for(const r of s)r.computed&&ga(r);for(const r of s)r.computed||ga(r)}function ga(e,i){(e!==ge||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function vh(e,i){var s;return(s=go.get(e))==null?void 0:s.get(i)}const yh=Hs("__proto__,__v_isRef,__isVue"),El=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($s)),bh=Ys(),wh=Ys(!1,!0),xh=Ys(!0),va=Ph();function Ph(){const e={};return["includes","indexOf","lastIndexOf"].forEach(i=>{e[i]=function(...s){const r=xt(this);for(let u=0,h=this.length;u{e[i]=function(...s){Xn();const r=xt(this)[i].apply(this,s);return Qn(),r}}),e}function Lh(e){const i=xt(this);return oe(i,"has",e),i.hasOwnProperty(e)}function Ys(e=!1,i=!1){return function(r,l,u){if(l==="__v_isReactive")return!e;if(l==="__v_isReadonly")return e;if(l==="__v_isShallow")return i;if(l==="__v_raw"&&u===(e?i?Fh:Il:i?Al:Ol).get(r))return r;const h=ot(r);if(!e){if(h&&wt(va,l))return Reflect.get(va,l,u);if(l==="hasOwnProperty")return Lh}const p=Reflect.get(r,l,u);return($s(l)?El.has(l):yh(l))||(e||oe(r,"get",l),i)?p:Dt(p)?h&&qs(l)?p:p.value:It(p)?e?Rl(p):ti(p):p}}const Th=Sl(),Ch=Sl(!0);function Sl(e=!1){return function(s,r,l,u){let h=s[r];if(Un(h)&&Dt(h)&&!Dt(l))return!1;if(!e&&(!vo(l)&&!Un(l)&&(h=xt(h),l=xt(l)),!ot(s)&&Dt(h)&&!Dt(l)))return h.value=l,!0;const p=ot(s)&&qs(r)?Number(r)e,Eo=e=>Reflect.getPrototypeOf(e);function io(e,i,s=!1,r=!1){e=e.__v_raw;const l=xt(e),u=xt(i);s||(i!==u&&oe(l,"get",i),oe(l,"get",u));const{has:h}=Eo(l),p=r?Js:s?tr:Ci;if(h.call(l,i))return p(e.get(i));if(h.call(l,u))return p(e.get(u));e!==l&&e.get(i)}function oo(e,i=!1){const s=this.__v_raw,r=xt(s),l=xt(e);return i||(e!==l&&oe(r,"has",e),oe(r,"has",l)),e===l?s.has(e):s.has(e)||s.has(l)}function so(e,i=!1){return e=e.__v_raw,!i&&oe(xt(e),"iterate",yn),Reflect.get(e,"size",e)}function ya(e){e=xt(e);const i=xt(this);return Eo(i).has.call(i,e)||(i.add(e),je(i,"add",e,e)),this}function ba(e,i){i=xt(i);const s=xt(this),{has:r,get:l}=Eo(s);let u=r.call(s,e);u||(e=xt(e),u=r.call(s,e));const h=l.call(s,e);return s.set(e,i),u?Ti(i,h)&&je(s,"set",e,i):je(s,"add",e,i),this}function wa(e){const i=xt(this),{has:s,get:r}=Eo(i);let l=s.call(i,e);l||(e=xt(e),l=s.call(i,e)),r&&r.call(i,e);const u=i.delete(e);return l&&je(i,"delete",e,void 0),u}function xa(){const e=xt(this),i=e.size!==0,s=e.clear();return i&&je(e,"clear",void 0,void 0),s}function ro(e,i){return function(r,l){const u=this,h=u.__v_raw,p=xt(h),d=i?Js:e?tr:Ci;return!e&&oe(p,"iterate",yn),h.forEach((g,_)=>r.call(l,d(g),d(_),u))}}function ao(e,i,s){return function(...r){const l=this.__v_raw,u=xt(l),h=Fn(u),p=e==="entries"||e===Symbol.iterator&&h,d=e==="keys"&&h,g=l[e](...r),_=s?Js:i?tr:Ci;return!i&&oe(u,"iterate",d?Ls:yn),{next(){const{value:m,done:w}=g.next();return w?{value:m,done:w}:{value:p?[_(m[0]),_(m[1])]:_(m),done:w}},[Symbol.iterator](){return this}}}}function Ye(e){return function(...i){return e==="delete"?!1:this}}function Ih(){const e={get(u){return io(this,u)},get size(){return so(this)},has:oo,add:ya,set:ba,delete:wa,clear:xa,forEach:ro(!1,!1)},i={get(u){return io(this,u,!1,!0)},get size(){return so(this)},has:oo,add:ya,set:ba,delete:wa,clear:xa,forEach:ro(!1,!0)},s={get(u){return io(this,u,!0)},get size(){return so(this,!0)},has(u){return oo.call(this,u,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:ro(!0,!1)},r={get(u){return io(this,u,!0,!0)},get size(){return so(this,!0)},has(u){return oo.call(this,u,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:ro(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(u=>{e[u]=ao(u,!1,!1),s[u]=ao(u,!0,!1),i[u]=ao(u,!1,!0),r[u]=ao(u,!0,!0)}),[e,s,i,r]}const[kh,Rh,Bh,zh]=Ih();function Xs(e,i){const s=i?e?zh:Bh:e?Rh:kh;return(r,l,u)=>l==="__v_isReactive"?!e:l==="__v_isReadonly"?e:l==="__v_raw"?r:Reflect.get(wt(s,l)&&l in r?s:r,l,u)}const Zh={get:Xs(!1,!1)},Nh={get:Xs(!1,!0)},Dh={get:Xs(!0,!1)},Ol=new WeakMap,Al=new WeakMap,Il=new WeakMap,Fh=new WeakMap;function jh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Hh(e){return e.__v_skip||!Object.isExtensible(e)?0:jh(ih(e))}function ti(e){return Un(e)?e:Qs(e,!1,Ml,Zh,Ol)}function kl(e){return Qs(e,!1,Ah,Nh,Al)}function Rl(e){return Qs(e,!0,Oh,Dh,Il)}function Qs(e,i,s,r,l){if(!It(e)||e.__v_raw&&!(i&&e.__v_isReactive))return e;const u=l.get(e);if(u)return u;const h=Hh(e);if(h===0)return e;const p=new Proxy(e,h===2?r:s);return l.set(e,p),p}function on(e){return Un(e)?on(e.__v_raw):!!(e&&e.__v_isReactive)}function Un(e){return!!(e&&e.__v_isReadonly)}function vo(e){return!!(e&&e.__v_isShallow)}function Bl(e){return on(e)||Un(e)}function xt(e){const i=e&&e.__v_raw;return i?xt(i):e}function We(e){return mo(e,"__v_skip",!0),e}const Ci=e=>It(e)?ti(e):e,tr=e=>It(e)?Rl(e):e;function zl(e){nn&&ge&&(e=xt(e),Cl(e.dep||(e.dep=Vs())))}function Zl(e,i){e=xt(e);const s=e.dep;s&&Ts(s)}function Dt(e){return!!(e&&e.__v_isRef===!0)}function ee(e){return Nl(e,!1)}function Wh(e){return Nl(e,!0)}function Nl(e,i){return Dt(e)?e:new Uh(e,i)}class Uh{constructor(i,s){this.__v_isShallow=s,this.dep=void 0,this.__v_isRef=!0,this._rawValue=s?i:xt(i),this._value=s?i:Ci(i)}get value(){return zl(this),this._value}set value(i){const s=this.__v_isShallow||vo(i)||Un(i);i=s?i:xt(i),Ti(i,this._rawValue)&&(this._rawValue=i,this._value=s?i:Ci(i),Zl(this))}}function Vt(e){return Dt(e)?e.value:e}const $h={get:(e,i,s)=>Vt(Reflect.get(e,i,s)),set:(e,i,s,r)=>{const l=e[i];return Dt(l)&&!Dt(s)?(l.value=s,!0):Reflect.set(e,i,s,r)}};function Dl(e){return on(e)?e:new Proxy(e,$h)}function qh(e){const i=ot(e)?new Array(e.length):{};for(const s in e)i[s]=Vh(e,s);return i}class Kh{constructor(i,s,r){this._object=i,this._key=s,this._defaultValue=r,this.__v_isRef=!0}get value(){const i=this._object[this._key];return i===void 0?this._defaultValue:i}set value(i){this._object[this._key]=i}get dep(){return vh(xt(this._object),this._key)}}function Vh(e,i,s){const r=e[i];return Dt(r)?r:new Kh(e,i,s)}class Gh{constructor(i,s,r,l){this._setter=s,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Gs(i,()=>{this._dirty||(this._dirty=!0,Zl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!l,this.__v_isReadonly=r}get value(){const i=xt(this);return zl(i),(i._dirty||!i._cacheable)&&(i._dirty=!1,i._value=i.effect.run()),i._value}set value(i){this._setter(i)}}function Yh(e,i,s=!1){let r,l;const u=ft(e);return u?(r=e,l=ye):(r=e.get,l=e.set),new Gh(r,l,u||!l,s)}function sn(e,i,s,r){let l;try{l=r?e(...r):e()}catch(u){Ri(u,i,s)}return l}function be(e,i,s,r){if(ft(e)){const u=sn(e,i,s,r);return u&&pl(u)&&u.catch(h=>{Ri(h,i,s)}),u}const l=[];for(let u=0;u>>1;Si(Jt[r])Me&&Jt.splice(i,1)}function Hl(e){ot(e)?jn.push(...e):(!De||!De.includes(e,e.allowRecurse?gn+1:gn))&&jn.push(e),jl()}function Pa(e,i=Ei?Me+1:0){for(;iSi(s)-Si(r)),gn=0;gne.id==null?1/0:e.id,tf=(e,i)=>{const s=Si(e)-Si(i);if(s===0){if(e.pre&&!i.pre)return-1;if(i.pre&&!e.pre)return 1}return s};function Ul(e){Cs=!1,Ei=!0,Jt.sort(tf);const i=ye;try{for(Me=0;MeWt(T)?T.trim():T)),m&&(l=s.map(rh))}let p,d=r[p=fs(i)]||r[p=fs(Wn(i))];!d&&u&&(d=r[p=fs(Jn(i))]),d&&be(d,e,6,l);const g=r[p+"Once"];if(g){if(!e.emitted)e.emitted={};else if(e.emitted[p])return;e.emitted[p]=!0,be(g,e,6,l)}}function $l(e,i,s=!1){const r=i.emitsCache,l=r.get(e);if(l!==void 0)return l;const u=e.emits;let h={},p=!1;if(!ft(e)){const d=g=>{const _=$l(g,i,!0);_&&(p=!0,$t(h,_))};!s&&i.mixins.length&&i.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!u&&!p?(It(e)&&r.set(e,null),null):(ot(u)?u.forEach(d=>h[d]=null):$t(h,u),It(e)&&r.set(e,h),h)}function So(e,i){return!e||!Po(i)?!1:(i=i.slice(2).replace(/Once$/,""),wt(e,i[0].toLowerCase()+i.slice(1))||wt(e,Jn(i))||wt(e,i))}let ve=null,ql=null;function yo(e){const i=ve;return ve=e,ql=e&&e.type.__scopeId||null,i}function $n(e,i=ve,s){if(!i||e._n)return e;const r=(...l)=>{r._d&&Ba(-1);const u=yo(i);let h;try{h=e(...l)}finally{yo(u),r._d&&Ba(1)}return h};return r._n=!0,r._c=!0,r._d=!0,r}function _s(e){const{type:i,vnode:s,proxy:r,withProxy:l,props:u,propsOptions:[h],slots:p,attrs:d,emit:g,render:_,renderCache:m,data:w,setupState:T,ctx:O,inheritAttrs:R}=e;let K,N;const D=yo(e);try{if(s.shapeFlag&4){const I=l||r;K=me(_.call(I,I,m,u,T,w,O)),N=d}else{const I=i;K=me(I.length>1?I(u,{attrs:d,slots:p,emit:g}):I(u,null)),N=i.props?d:of(d)}}catch(I){wi.length=0,Ri(I,e,1),K=zt(He)}let V=K;if(N&&R!==!1){const I=Object.keys(N),{shapeFlag:U}=V;I.length&&U&7&&(h&&I.some(Ws)&&(N=sf(N,h)),V=Kn(V,N))}return s.dirs&&(V=Kn(V),V.dirs=V.dirs?V.dirs.concat(s.dirs):s.dirs),s.transition&&(V.transition=s.transition),K=V,yo(D),K}function nf(e){let i;for(let s=0;s{let i;for(const s in e)(s==="class"||s==="style"||Po(s))&&((i||(i={}))[s]=e[s]);return i},sf=(e,i)=>{const s={};for(const r in e)(!Ws(r)||!(r.slice(9)in i))&&(s[r]=e[r]);return s};function rf(e,i,s){const{props:r,children:l,component:u}=e,{props:h,children:p,patchFlag:d}=i,g=u.emitsOptions;if(i.dirs||i.transition)return!0;if(s&&d>=0){if(d&1024)return!0;if(d&16)return r?La(r,h,g):!!h;if(d&8){const _=i.dynamicProps;for(let m=0;m<_.length;m++){const w=_[m];if(h[w]!==r[w]&&!So(g,w))return!0}}}else return(l||p)&&(!p||!p.$stable)?!0:r===h?!1:r?h?La(r,h,g):!0:!!h;return!1}function La(e,i,s){const r=Object.keys(i);if(r.length!==Object.keys(e).length)return!0;for(let l=0;le.__isSuspense,lf={name:"Suspense",__isSuspense:!0,process(e,i,s,r,l,u,h,p,d,g){e==null?cf(i,s,r,l,u,h,p,d,g):hf(e,i,s,r,l,h,p,d,g)},hydrate:ff,create:or,normalize:df},uf=lf;function Mi(e,i){const s=e.props&&e.props[i];ft(s)&&s()}function cf(e,i,s,r,l,u,h,p,d){const{p:g,o:{createElement:_}}=d,m=_("div"),w=e.suspense=or(e,l,r,i,m,s,u,h,p,d);g(null,w.pendingBranch=e.ssContent,m,null,r,w,u,h),w.deps>0?(Mi(e,"onPending"),Mi(e,"onFallback"),g(null,e.ssFallback,i,s,r,null,u,h),Hn(w,e.ssFallback)):w.resolve(!1,!0)}function hf(e,i,s,r,l,u,h,p,{p:d,um:g,o:{createElement:_}}){const m=i.suspense=e.suspense;m.vnode=i,i.el=e.el;const w=i.ssContent,T=i.ssFallback,{activeBranch:O,pendingBranch:R,isInFallback:K,isHydrating:N}=m;if(R)m.pendingBranch=w,en(w,R)?(d(R,w,m.hiddenContainer,null,l,m,u,h,p),m.deps<=0?m.resolve():K&&(d(O,T,s,r,l,null,u,h,p),Hn(m,T))):(m.pendingId++,N?(m.isHydrating=!1,m.activeBranch=R):g(R,l,m),m.deps=0,m.effects.length=0,m.hiddenContainer=_("div"),K?(d(null,w,m.hiddenContainer,null,l,m,u,h,p),m.deps<=0?m.resolve():(d(O,T,s,r,l,null,u,h,p),Hn(m,T))):O&&en(w,O)?(d(O,w,s,r,l,m,u,h,p),m.resolve(!0)):(d(null,w,m.hiddenContainer,null,l,m,u,h,p),m.deps<=0&&m.resolve()));else if(O&&en(w,O))d(O,w,s,r,l,m,u,h,p),Hn(m,w);else if(Mi(i,"onPending"),m.pendingBranch=w,m.pendingId++,d(null,w,m.hiddenContainer,null,l,m,u,h,p),m.deps<=0)m.resolve();else{const{timeout:D,pendingId:V}=m;D>0?setTimeout(()=>{m.pendingId===V&&m.fallback(T)},D):D===0&&m.fallback(T)}}function or(e,i,s,r,l,u,h,p,d,g,_=!1){const{p:m,m:w,um:T,n:O,o:{parentNode:R,remove:K}}=g;let N;const D=_f(e);D&&i!=null&&i.pendingBranch&&(N=i.pendingId,i.deps++);const V=e.props?ah(e.props.timeout):void 0,I={vnode:e,parent:i,parentComponent:s,isSVG:h,container:r,hiddenContainer:l,anchor:u,deps:0,pendingId:0,timeout:typeof V=="number"?V:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:_,isUnmounted:!1,effects:[],resolve(U=!1,at=!1){const{vnode:ct,activeBranch:J,pendingBranch:z,pendingId:X,effects:lt,parentComponent:Lt,container:Ft}=I;if(I.isHydrating)I.isHydrating=!1;else if(!U){const it=J&&z.transition&&z.transition.mode==="out-in";it&&(J.transition.afterLeave=()=>{X===I.pendingId&&w(z,Ft,_t,0)});let{anchor:_t}=I;J&&(_t=O(J),T(J,Lt,I,!0)),it||w(z,Ft,_t,0)}Hn(I,z),I.pendingBranch=null,I.isInFallback=!1;let kt=I.parent,qt=!1;for(;kt;){if(kt.pendingBranch){kt.effects.push(...lt),qt=!0;break}kt=kt.parent}qt||Hl(lt),I.effects=[],D&&i&&i.pendingBranch&&N===i.pendingId&&(i.deps--,i.deps===0&&!at&&i.resolve()),Mi(ct,"onResolve")},fallback(U){if(!I.pendingBranch)return;const{vnode:at,activeBranch:ct,parentComponent:J,container:z,isSVG:X}=I;Mi(at,"onFallback");const lt=O(ct),Lt=()=>{I.isInFallback&&(m(null,U,z,lt,J,null,X,p,d),Hn(I,U))},Ft=U.transition&&U.transition.mode==="out-in";Ft&&(ct.transition.afterLeave=Lt),I.isInFallback=!0,T(ct,J,null,!0),Ft||Lt()},move(U,at,ct){I.activeBranch&&w(I.activeBranch,U,at,ct),I.container=U},next(){return I.activeBranch&&O(I.activeBranch)},registerDep(U,at){const ct=!!I.pendingBranch;ct&&I.deps++;const J=U.vnode.el;U.asyncDep.catch(z=>{Ri(z,U,0)}).then(z=>{if(U.isUnmounted||I.isUnmounted||I.pendingId!==U.suspenseId)return;U.asyncResolved=!0;const{vnode:X}=U;ks(U,z,!1),J&&(X.el=J);const lt=!J&&U.subTree.el;at(U,X,R(J||U.subTree.el),J?null:O(U.subTree),I,h,d),lt&&K(lt),ir(U,X.el),ct&&--I.deps===0&&I.resolve()})},unmount(U,at){I.isUnmounted=!0,I.activeBranch&&T(I.activeBranch,s,U,at),I.pendingBranch&&T(I.pendingBranch,s,U,at)}};return I}function ff(e,i,s,r,l,u,h,p,d){const g=i.suspense=or(i,r,s,e.parentNode,document.createElement("div"),null,l,u,h,p,!0),_=d(e,g.pendingBranch=i.ssContent,s,g,u,h);return g.deps===0&&g.resolve(!1,!0),_}function df(e){const{shapeFlag:i,children:s}=e,r=i&32;e.ssContent=Ta(r?s.default:s),e.ssFallback=r?Ta(s.fallback):zt(He)}function Ta(e){let i;if(ft(e)){const s=qn&&e._c;s&&(e._d=!1,te()),e=e(),s&&(e._d=!0,i=fe,ru())}return ot(e)&&(e=nf(e)),e=me(e),i&&!e.dynamicChildren&&(e.dynamicChildren=i.filter(s=>s!==e)),e}function pf(e,i){i&&i.pendingBranch?ot(e)?i.effects.push(...e):i.effects.push(e):Hl(e)}function Hn(e,i){e.activeBranch=i;const{vnode:s,parentComponent:r}=e,l=s.el=i.el;r&&r.subTree===s&&(r.vnode.el=l,ir(r,l))}function _f(e){var i;return((i=e.props)==null?void 0:i.suspensible)!=null&&e.props.suspensible!==!1}const lo={};function bn(e,i,s){return Kl(e,i,s)}function Kl(e,i,{immediate:s,deep:r,flush:l,onTrack:u,onTrigger:h}=At){var p;const d=xl()===((p=Gt)==null?void 0:p.scope)?Gt:null;let g,_=!1,m=!1;if(Dt(e)?(g=()=>e.value,_=vo(e)):on(e)?(g=()=>e,r=!0):ot(e)?(m=!0,_=e.some(I=>on(I)||vo(I)),g=()=>e.map(I=>{if(Dt(I))return I.value;if(on(I))return Nn(I);if(ft(I))return sn(I,d,2)})):ft(e)?i?g=()=>sn(e,d,2):g=()=>{if(!(d&&d.isUnmounted))return w&&w(),be(e,d,3,[T])}:g=ye,i&&r){const I=g;g=()=>Nn(I())}let w,T=I=>{w=D.onStop=()=>{sn(I,d,4)}},O;if(Ii)if(T=ye,i?s&&be(i,d,3,[g(),m?[]:void 0,T]):g(),l==="sync"){const I=od();O=I.__watcherHandles||(I.__watcherHandles=[])}else return ye;let R=m?new Array(e.length).fill(lo):lo;const K=()=>{if(D.active)if(i){const I=D.run();(r||_||(m?I.some((U,at)=>Ti(U,R[at])):Ti(I,R)))&&(w&&w(),be(i,d,3,[I,R===lo?void 0:m&&R[0]===lo?[]:R,T]),R=I)}else D.run()};K.allowRecurse=!!i;let N;l==="sync"?N=K:l==="post"?N=()=>ie(K,d&&d.suspense):(K.pre=!0,d&&(K.id=d.uid),N=()=>nr(K));const D=new Gs(g,N);i?s?K():R=D.run():l==="post"?ie(D.run.bind(D),d&&d.suspense):D.run();const V=()=>{D.stop(),d&&d.scope&&Us(d.scope.effects,D)};return O&&O.push(V),V}function mf(e,i,s){const r=this.proxy,l=Wt(e)?e.includes(".")?Vl(r,e):()=>r[e]:e.bind(r,r);let u;ft(i)?u=i:(u=i.handler,s=i);const h=Gt;Vn(this);const p=Kl(l,u.bind(r),s);return h?Vn(h):wn(),p}function Vl(e,i){const s=i.split(".");return()=>{let r=e;for(let l=0;l{Nn(s,i)});else if(ml(e))for(const s in e)Nn(e[s],i);return e}function pn(e,i,s,r){const l=e.dirs,u=i&&i.dirs;for(let h=0;h$t({name:e.name},i,{setup:e}))():e}const fo=e=>!!e.type.__asyncLoader,Gl=e=>e.type.__isKeepAlive;function gf(e,i){Yl(e,"a",i)}function vf(e,i){Yl(e,"da",i)}function Yl(e,i,s=Gt){const r=e.__wdc||(e.__wdc=()=>{let l=s;for(;l;){if(l.isDeactivated)return;l=l.parent}return e()});if(Mo(i,r,s),s){let l=s.parent;for(;l&&l.parent;)Gl(l.parent.vnode)&&yf(r,i,s,l),l=l.parent}}function yf(e,i,s,r){const l=Mo(i,e,r,!0);Bi(()=>{Us(r[i],l)},s)}function Mo(e,i,s=Gt,r=!1){if(s){const l=s[e]||(s[e]=[]),u=i.__weh||(i.__weh=(...h)=>{if(s.isUnmounted)return;Xn(),Vn(s);const p=be(i,s,e,h);return wn(),Qn(),p});return r?l.unshift(u):l.push(u),u}}const Ue=e=>(i,s=Gt)=>(!Ii||e==="sp")&&Mo(e,(...r)=>i(...r),s),bf=Ue("bm"),xn=Ue("m"),wf=Ue("bu"),xf=Ue("u"),Jl=Ue("bum"),Bi=Ue("um"),Pf=Ue("sp"),Lf=Ue("rtg"),Tf=Ue("rtc");function Cf(e,i=Gt){Mo("ec",e,i)}const Ef=Symbol.for("v-ndc");function Ca(e,i,s,r){let l;const u=s&&s[r];if(ot(e)||Wt(e)){l=new Array(e.length);for(let h=0,p=e.length;hi(h,p,void 0,u&&u[p]));else{const h=Object.keys(e);l=new Array(h.length);for(let p=0,d=h.length;pe?uu(e)?ur(e)||e.proxy:Es(e.parent):null,bi=$t(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Es(e.parent),$root:e=>Es(e.root),$emit:e=>e.emit,$options:e=>sr(e),$forceUpdate:e=>e.f||(e.f=()=>nr(e.update)),$nextTick:e=>e.n||(e.n=Ie.bind(e.proxy)),$watch:e=>mf.bind(e)}),ms=(e,i)=>e!==At&&!e.__isScriptSetup&&wt(e,i),Sf={get({_:e},i){const{ctx:s,setupState:r,data:l,props:u,accessCache:h,type:p,appContext:d}=e;let g;if(i[0]!=="$"){const T=h[i];if(T!==void 0)switch(T){case 1:return r[i];case 2:return l[i];case 4:return s[i];case 3:return u[i]}else{if(ms(r,i))return h[i]=1,r[i];if(l!==At&&wt(l,i))return h[i]=2,l[i];if((g=e.propsOptions[0])&&wt(g,i))return h[i]=3,u[i];if(s!==At&&wt(s,i))return h[i]=4,s[i];Ss&&(h[i]=0)}}const _=bi[i];let m,w;if(_)return i==="$attrs"&&oe(e,"get",i),_(e);if((m=p.__cssModules)&&(m=m[i]))return m;if(s!==At&&wt(s,i))return h[i]=4,s[i];if(w=d.config.globalProperties,wt(w,i))return w[i]},set({_:e},i,s){const{data:r,setupState:l,ctx:u}=e;return ms(l,i)?(l[i]=s,!0):r!==At&&wt(r,i)?(r[i]=s,!0):wt(e.props,i)||i[0]==="$"&&i.slice(1)in e?!1:(u[i]=s,!0)},has({_:{data:e,setupState:i,accessCache:s,ctx:r,appContext:l,propsOptions:u}},h){let p;return!!s[h]||e!==At&&wt(e,h)||ms(i,h)||(p=u[0])&&wt(p,h)||wt(r,h)||wt(bi,h)||wt(l.config.globalProperties,h)},defineProperty(e,i,s){return s.get!=null?e._.accessCache[i]=0:wt(s,"value")&&this.set(e,i,s.value,null),Reflect.defineProperty(e,i,s)}};function Ea(e){return ot(e)?e.reduce((i,s)=>(i[s]=null,i),{}):e}let Ss=!0;function Mf(e){const i=sr(e),s=e.proxy,r=e.ctx;Ss=!1,i.beforeCreate&&Sa(i.beforeCreate,e,"bc");const{data:l,computed:u,methods:h,watch:p,provide:d,inject:g,created:_,beforeMount:m,mounted:w,beforeUpdate:T,updated:O,activated:R,deactivated:K,beforeDestroy:N,beforeUnmount:D,destroyed:V,unmounted:I,render:U,renderTracked:at,renderTriggered:ct,errorCaptured:J,serverPrefetch:z,expose:X,inheritAttrs:lt,components:Lt,directives:Ft,filters:kt}=i;if(g&&Of(g,r,null),h)for(const _t in h){const $=h[_t];ft($)&&(r[_t]=$.bind(s))}if(l){const _t=l.call(s,s);It(_t)&&(e.data=ti(_t))}if(Ss=!0,u)for(const _t in u){const $=u[_t],re=ft($)?$.bind(s,s):ft($.get)?$.get.bind(s,s):ye,nt=!ft($)&&ft($.set)?$.set.bind(s):ye,gt=Xt({get:re,set:nt});Object.defineProperty(r,_t,{enumerable:!0,configurable:!0,get:()=>gt.value,set:Ct=>gt.value=Ct})}if(p)for(const _t in p)Xl(p[_t],r,s,_t);if(d){const _t=ft(d)?d.call(s):d;Reflect.ownKeys(_t).forEach($=>{Oe($,_t[$])})}_&&Sa(_,e,"c");function it(_t,$){ot($)?$.forEach(re=>_t(re.bind(s))):$&&_t($.bind(s))}if(it(bf,m),it(xn,w),it(wf,T),it(xf,O),it(gf,R),it(vf,K),it(Cf,J),it(Tf,at),it(Lf,ct),it(Jl,D),it(Bi,I),it(Pf,z),ot(X))if(X.length){const _t=e.exposed||(e.exposed={});X.forEach($=>{Object.defineProperty(_t,$,{get:()=>s[$],set:re=>s[$]=re})})}else e.exposed||(e.exposed={});U&&e.render===ye&&(e.render=U),lt!=null&&(e.inheritAttrs=lt),Lt&&(e.components=Lt),Ft&&(e.directives=Ft)}function Of(e,i,s=ye){ot(e)&&(e=Ms(e));for(const r in e){const l=e[r];let u;It(l)?"default"in l?u=Ut(l.from||r,l.default,!0):u=Ut(l.from||r):u=Ut(l),Dt(u)?Object.defineProperty(i,r,{enumerable:!0,configurable:!0,get:()=>u.value,set:h=>u.value=h}):i[r]=u}}function Sa(e,i,s){be(ot(e)?e.map(r=>r.bind(i.proxy)):e.bind(i.proxy),i,s)}function Xl(e,i,s,r){const l=r.includes(".")?Vl(s,r):()=>s[r];if(Wt(e)){const u=i[e];ft(u)&&bn(l,u)}else if(ft(e))bn(l,e.bind(s));else if(It(e))if(ot(e))e.forEach(u=>Xl(u,i,s,r));else{const u=ft(e.handler)?e.handler.bind(s):i[e.handler];ft(u)&&bn(l,u,e)}}function sr(e){const i=e.type,{mixins:s,extends:r}=i,{mixins:l,optionsCache:u,config:{optionMergeStrategies:h}}=e.appContext,p=u.get(i);let d;return p?d=p:!l.length&&!s&&!r?d=i:(d={},l.length&&l.forEach(g=>bo(d,g,h,!0)),bo(d,i,h)),It(i)&&u.set(i,d),d}function bo(e,i,s,r=!1){const{mixins:l,extends:u}=i;u&&bo(e,u,s,!0),l&&l.forEach(h=>bo(e,h,s,!0));for(const h in i)if(!(r&&h==="expose")){const p=Af[h]||s&&s[h];e[h]=p?p(e[h],i[h]):i[h]}return e}const Af={data:Ma,props:Oa,emits:Oa,methods:yi,computed:yi,beforeCreate:Qt,created:Qt,beforeMount:Qt,mounted:Qt,beforeUpdate:Qt,updated:Qt,beforeDestroy:Qt,beforeUnmount:Qt,destroyed:Qt,unmounted:Qt,activated:Qt,deactivated:Qt,errorCaptured:Qt,serverPrefetch:Qt,components:yi,directives:yi,watch:kf,provide:Ma,inject:If};function Ma(e,i){return i?e?function(){return $t(ft(e)?e.call(this,this):e,ft(i)?i.call(this,this):i)}:i:e}function If(e,i){return yi(Ms(e),Ms(i))}function Ms(e){if(ot(e)){const i={};for(let s=0;s1)return s&&ft(i)?i.call(r&&r.proxy):i}}function zf(){return!!(Gt||ve||Oi)}function Zf(e,i,s,r=!1){const l={},u={};mo(u,Io,1),e.propsDefaults=Object.create(null),tu(e,i,l,u);for(const h in e.propsOptions[0])h in l||(l[h]=void 0);s?e.props=r?l:kl(l):e.type.props?e.props=l:e.props=u,e.attrs=u}function Nf(e,i,s,r){const{props:l,attrs:u,vnode:{patchFlag:h}}=e,p=xt(l),[d]=e.propsOptions;let g=!1;if((r||h>0)&&!(h&16)){if(h&8){const _=e.vnode.dynamicProps;for(let m=0;m<_.length;m++){let w=_[m];if(So(e.emitsOptions,w))continue;const T=i[w];if(d)if(wt(u,w))T!==u[w]&&(u[w]=T,g=!0);else{const O=Wn(w);l[O]=Os(d,p,O,T,e,!1)}else T!==u[w]&&(u[w]=T,g=!0)}}}else{tu(e,i,l,u)&&(g=!0);let _;for(const m in p)(!i||!wt(i,m)&&((_=Jn(m))===m||!wt(i,_)))&&(d?s&&(s[m]!==void 0||s[_]!==void 0)&&(l[m]=Os(d,p,m,void 0,e,!0)):delete l[m]);if(u!==p)for(const m in u)(!i||!wt(i,m))&&(delete u[m],g=!0)}g&&je(e,"set","$attrs")}function tu(e,i,s,r){const[l,u]=e.propsOptions;let h=!1,p;if(i)for(let d in i){if(ho(d))continue;const g=i[d];let _;l&&wt(l,_=Wn(d))?!u||!u.includes(_)?s[_]=g:(p||(p={}))[_]=g:So(e.emitsOptions,d)||(!(d in r)||g!==r[d])&&(r[d]=g,h=!0)}if(u){const d=xt(s),g=p||At;for(let _=0;_{d=!0;const[w,T]=eu(m,i,!0);$t(h,w),T&&p.push(...T)};!s&&i.mixins.length&&i.mixins.forEach(_),e.extends&&_(e.extends),e.mixins&&e.mixins.forEach(_)}if(!u&&!d)return It(e)&&r.set(e,Dn),Dn;if(ot(u))for(let _=0;_-1,T[1]=R<0||O-1||wt(T,"default"))&&p.push(m)}}}const g=[h,p];return It(e)&&r.set(e,g),g}function Aa(e){return e[0]!=="$"}function Ia(e){const i=e&&e.toString().match(/^\s*(function|class) (\w+)/);return i?i[2]:e===null?"null":""}function ka(e,i){return Ia(e)===Ia(i)}function Ra(e,i){return ot(i)?i.findIndex(s=>ka(s,e)):ft(i)&&ka(i,e)?0:-1}const nu=e=>e[0]==="_"||e==="$stable",rr=e=>ot(e)?e.map(me):[me(e)],Df=(e,i,s)=>{if(i._n)return i;const r=$n((...l)=>rr(i(...l)),s);return r._c=!1,r},iu=(e,i,s)=>{const r=e._ctx;for(const l in e){if(nu(l))continue;const u=e[l];if(ft(u))i[l]=Df(l,u,r);else if(u!=null){const h=rr(u);i[l]=()=>h}}},ou=(e,i)=>{const s=rr(i);e.slots.default=()=>s},Ff=(e,i)=>{if(e.vnode.shapeFlag&32){const s=i._;s?(e.slots=xt(i),mo(i,"_",s)):iu(i,e.slots={})}else e.slots={},i&&ou(e,i);mo(e.slots,Io,1)},jf=(e,i,s)=>{const{vnode:r,slots:l}=e;let u=!0,h=At;if(r.shapeFlag&32){const p=i._;p?s&&p===1?u=!1:($t(l,i),!s&&p===1&&delete l._):(u=!i.$stable,iu(i,l)),h=i}else i&&(ou(e,i),h={default:1});if(u)for(const p in l)!nu(p)&&!(p in h)&&delete l[p]};function As(e,i,s,r,l=!1){if(ot(e)){e.forEach((w,T)=>As(w,i&&(ot(i)?i[T]:i),s,r,l));return}if(fo(r)&&!l)return;const u=r.shapeFlag&4?ur(r.component)||r.component.proxy:r.el,h=l?null:u,{i:p,r:d}=e,g=i&&i.r,_=p.refs===At?p.refs={}:p.refs,m=p.setupState;if(g!=null&&g!==d&&(Wt(g)?(_[g]=null,wt(m,g)&&(m[g]=null)):Dt(g)&&(g.value=null)),ft(d))sn(d,p,12,[h,_]);else{const w=Wt(d),T=Dt(d);if(w||T){const O=()=>{if(e.f){const R=w?wt(m,d)?m[d]:_[d]:d.value;l?ot(R)&&Us(R,u):ot(R)?R.includes(u)||R.push(u):w?(_[d]=[u],wt(m,d)&&(m[d]=_[d])):(d.value=[u],e.k&&(_[e.k]=d.value))}else w?(_[d]=h,wt(m,d)&&(m[d]=h)):T&&(d.value=h,e.k&&(_[e.k]=h))};h?(O.id=-1,ie(O,s)):O()}}}const ie=pf;function Hf(e){return Wf(e)}function Wf(e,i){const s=xs();s.__VUE__=!0;const{insert:r,remove:l,patchProp:u,createElement:h,createText:p,createComment:d,setText:g,setElementText:_,parentNode:m,nextSibling:w,setScopeId:T=ye,insertStaticContent:O}=e,R=(v,b,x,E=null,M=null,k=null,H=!1,Z=null,F=!!b.dynamicChildren)=>{if(v===b)return;v&&!en(v,b)&&(E=S(v),Ct(v,M,k,!0),v=null),b.patchFlag===-2&&(F=!1,b.dynamicChildren=null);const{type:B,ref:Q,shapeFlag:G}=b;switch(B){case Oo:K(v,b,x,E);break;case He:N(v,b,x,E);break;case po:v==null&&D(b,x,E,H);break;case he:Lt(v,b,x,E,M,k,H,Z,F);break;default:G&1?U(v,b,x,E,M,k,H,Z,F):G&6?Ft(v,b,x,E,M,k,H,Z,F):(G&64||G&128)&&B.process(v,b,x,E,M,k,H,Z,F,j)}Q!=null&&M&&As(Q,v&&v.ref,k,b||v,!b)},K=(v,b,x,E)=>{if(v==null)r(b.el=p(b.children),x,E);else{const M=b.el=v.el;b.children!==v.children&&g(M,b.children)}},N=(v,b,x,E)=>{v==null?r(b.el=d(b.children||""),x,E):b.el=v.el},D=(v,b,x,E)=>{[v.el,v.anchor]=O(v.children,b,x,E,v.el,v.anchor)},V=({el:v,anchor:b},x,E)=>{let M;for(;v&&v!==b;)M=w(v),r(v,x,E),v=M;r(b,x,E)},I=({el:v,anchor:b})=>{let x;for(;v&&v!==b;)x=w(v),l(v),v=x;l(b)},U=(v,b,x,E,M,k,H,Z,F)=>{H=H||b.type==="svg",v==null?at(b,x,E,M,k,H,Z,F):z(v,b,M,k,H,Z,F)},at=(v,b,x,E,M,k,H,Z)=>{let F,B;const{type:Q,props:G,shapeFlag:et,transition:st,dirs:dt}=v;if(F=v.el=h(v.type,k,G&&G.is,G),et&8?_(F,v.children):et&16&&J(v.children,F,null,E,M,k&&Q!=="foreignObject",H,Z),dt&&pn(v,null,E,"created"),ct(F,v,v.scopeId,H,E),G){for(const Tt in G)Tt!=="value"&&!ho(Tt)&&u(F,Tt,null,G[Tt],k,v.children,E,M,ut);"value"in G&&u(F,"value",null,G.value),(B=G.onVnodeBeforeMount)&&Ee(B,E,v)}dt&&pn(v,null,E,"beforeMount");const Et=(!M||M&&!M.pendingBranch)&&st&&!st.persisted;Et&&st.beforeEnter(F),r(F,b,x),((B=G&&G.onVnodeMounted)||Et||dt)&&ie(()=>{B&&Ee(B,E,v),Et&&st.enter(F),dt&&pn(v,null,E,"mounted")},M)},ct=(v,b,x,E,M)=>{if(x&&T(v,x),E)for(let k=0;k{for(let B=F;B{const Z=b.el=v.el;let{patchFlag:F,dynamicChildren:B,dirs:Q}=b;F|=v.patchFlag&16;const G=v.props||At,et=b.props||At;let st;x&&_n(x,!1),(st=et.onVnodeBeforeUpdate)&&Ee(st,x,b,v),Q&&pn(b,v,x,"beforeUpdate"),x&&_n(x,!0);const dt=M&&b.type!=="foreignObject";if(B?X(v.dynamicChildren,B,Z,x,E,dt,k):H||$(v,b,Z,null,x,E,dt,k,!1),F>0){if(F&16)lt(Z,b,G,et,x,E,M);else if(F&2&&G.class!==et.class&&u(Z,"class",null,et.class,M),F&4&&u(Z,"style",G.style,et.style,M),F&8){const Et=b.dynamicProps;for(let Tt=0;Tt{st&&Ee(st,x,b,v),Q&&pn(b,v,x,"updated")},E)},X=(v,b,x,E,M,k,H)=>{for(let Z=0;Z{if(x!==E){if(x!==At)for(const Z in x)!ho(Z)&&!(Z in E)&&u(v,Z,x[Z],null,H,b.children,M,k,ut);for(const Z in E){if(ho(Z))continue;const F=E[Z],B=x[Z];F!==B&&Z!=="value"&&u(v,Z,B,F,H,b.children,M,k,ut)}"value"in E&&u(v,"value",x.value,E.value)}},Lt=(v,b,x,E,M,k,H,Z,F)=>{const B=b.el=v?v.el:p(""),Q=b.anchor=v?v.anchor:p("");let{patchFlag:G,dynamicChildren:et,slotScopeIds:st}=b;st&&(Z=Z?Z.concat(st):st),v==null?(r(B,x,E),r(Q,x,E),J(b.children,x,Q,M,k,H,Z,F)):G>0&&G&64&&et&&v.dynamicChildren?(X(v.dynamicChildren,et,x,M,k,H,Z),(b.key!=null||M&&b===M.subTree)&&su(v,b,!0)):$(v,b,x,Q,M,k,H,Z,F)},Ft=(v,b,x,E,M,k,H,Z,F)=>{b.slotScopeIds=Z,v==null?b.shapeFlag&512?M.ctx.activate(b,x,E,H,F):kt(b,x,E,M,k,H,F):qt(v,b,F)},kt=(v,b,x,E,M,k,H)=>{const Z=v.component=Jf(v,E,M);if(Gl(v)&&(Z.ctx.renderer=j),Xf(Z),Z.asyncDep){if(M&&M.registerDep(Z,it),!v.el){const F=Z.subTree=zt(He);N(null,F,b,x)}return}it(Z,v,b,x,M,k,H)},qt=(v,b,x)=>{const E=b.component=v.component;if(rf(v,b,x))if(E.asyncDep&&!E.asyncResolved){_t(E,b,x);return}else E.next=b,Qh(E.update),E.update();else b.el=v.el,E.vnode=b},it=(v,b,x,E,M,k,H)=>{const Z=()=>{if(v.isMounted){let{next:Q,bu:G,u:et,parent:st,vnode:dt}=v,Et=Q,Tt;_n(v,!1),Q?(Q.el=dt.el,_t(v,Q,H)):Q=dt,G&&ds(G),(Tt=Q.props&&Q.props.onVnodeBeforeUpdate)&&Ee(Tt,st,Q,dt),_n(v,!0);const Bt=_s(v),ne=v.subTree;v.subTree=Bt,R(ne,Bt,m(ne.el),S(ne),v,M,k),Q.el=Bt.el,Et===null&&ir(v,Bt.el),et&&ie(et,M),(Tt=Q.props&&Q.props.onVnodeUpdated)&&ie(()=>Ee(Tt,st,Q,dt),M)}else{let Q;const{el:G,props:et}=b,{bm:st,m:dt,parent:Et}=v,Tt=fo(b);if(_n(v,!1),st&&ds(st),!Tt&&(Q=et&&et.onVnodeBeforeMount)&&Ee(Q,Et,b),_n(v,!0),G&&vt){const Bt=()=>{v.subTree=_s(v),vt(G,v.subTree,v,M,null)};Tt?b.type.__asyncLoader().then(()=>!v.isUnmounted&&Bt()):Bt()}else{const Bt=v.subTree=_s(v);R(null,Bt,x,E,v,M,k),b.el=Bt.el}if(dt&&ie(dt,M),!Tt&&(Q=et&&et.onVnodeMounted)){const Bt=b;ie(()=>Ee(Q,Et,Bt),M)}(b.shapeFlag&256||Et&&fo(Et.vnode)&&Et.vnode.shapeFlag&256)&&v.a&&ie(v.a,M),v.isMounted=!0,b=x=E=null}},F=v.effect=new Gs(Z,()=>nr(B),v.scope),B=v.update=()=>F.run();B.id=v.uid,_n(v,!0),B()},_t=(v,b,x)=>{b.component=v;const E=v.vnode.props;v.vnode=b,v.next=null,Nf(v,b.props,E,x),jf(v,b.children,x),Xn(),Pa(),Qn()},$=(v,b,x,E,M,k,H,Z,F=!1)=>{const B=v&&v.children,Q=v?v.shapeFlag:0,G=b.children,{patchFlag:et,shapeFlag:st}=b;if(et>0){if(et&128){nt(B,G,x,E,M,k,H,Z,F);return}else if(et&256){re(B,G,x,E,M,k,H,Z,F);return}}st&8?(Q&16&&ut(B,M,k),G!==B&&_(x,G)):Q&16?st&16?nt(B,G,x,E,M,k,H,Z,F):ut(B,M,k,!0):(Q&8&&_(x,""),st&16&&J(G,x,E,M,k,H,Z,F))},re=(v,b,x,E,M,k,H,Z,F)=>{v=v||Dn,b=b||Dn;const B=v.length,Q=b.length,G=Math.min(B,Q);let et;for(et=0;etQ?ut(v,M,k,!0,!1,G):J(b,x,E,M,k,H,Z,F,G)},nt=(v,b,x,E,M,k,H,Z,F)=>{let B=0;const Q=b.length;let G=v.length-1,et=Q-1;for(;B<=G&&B<=et;){const st=v[B],dt=b[B]=F?Qe(b[B]):me(b[B]);if(en(st,dt))R(st,dt,x,null,M,k,H,Z,F);else break;B++}for(;B<=G&&B<=et;){const st=v[G],dt=b[et]=F?Qe(b[et]):me(b[et]);if(en(st,dt))R(st,dt,x,null,M,k,H,Z,F);else break;G--,et--}if(B>G){if(B<=et){const st=et+1,dt=stet)for(;B<=G;)Ct(v[B],M,k,!0),B++;else{const st=B,dt=B,Et=new Map;for(B=dt;B<=et;B++){const Yt=b[B]=F?Qe(b[B]):me(b[B]);Yt.key!=null&&Et.set(Yt.key,B)}let Tt,Bt=0;const ne=et-dt+1;let ke=!1,Zi=0;const $e=new Array(ne);for(B=0;B=ne){Ct(Yt,M,k,!0);continue}let ae;if(Yt.key!=null)ae=Et.get(Yt.key);else for(Tt=dt;Tt<=et;Tt++)if($e[Tt-dt]===0&&en(Yt,b[Tt])){ae=Tt;break}ae===void 0?Ct(Yt,M,k,!0):($e[ae-dt]=B+1,ae>=Zi?Zi=ae:ke=!0,R(Yt,b[ae],x,null,M,k,H,Z,F),Bt++)}const Tn=ke?Uf($e):Dn;for(Tt=Tn.length-1,B=ne-1;B>=0;B--){const Yt=dt+B,ae=b[Yt],qe=Yt+1{const{el:k,type:H,transition:Z,children:F,shapeFlag:B}=v;if(B&6){gt(v.component.subTree,b,x,E);return}if(B&128){v.suspense.move(b,x,E);return}if(B&64){H.move(v,b,x,j);return}if(H===he){r(k,b,x);for(let G=0;GZ.enter(k),M);else{const{leave:G,delayLeave:et,afterLeave:st}=Z,dt=()=>r(k,b,x),Et=()=>{G(k,()=>{dt(),st&&st()})};et?et(k,dt,Et):Et()}else r(k,b,x)},Ct=(v,b,x,E=!1,M=!1)=>{const{type:k,props:H,ref:Z,children:F,dynamicChildren:B,shapeFlag:Q,patchFlag:G,dirs:et}=v;if(Z!=null&&As(Z,null,x,v,!0),Q&256){b.ctx.deactivate(v);return}const st=Q&1&&et,dt=!fo(v);let Et;if(dt&&(Et=H&&H.onVnodeBeforeUnmount)&&Ee(Et,b,v),Q&6)bt(v.component,x,E);else{if(Q&128){v.suspense.unmount(x,E);return}st&&pn(v,null,b,"beforeUnmount"),Q&64?v.type.remove(v,b,x,M,j,E):B&&(k!==he||G>0&&G&64)?ut(B,b,x,!1,!0):(k===he&&G&384||!M&&Q&16)&&ut(F,b,x),E&&Zt(v)}(dt&&(Et=H&&H.onVnodeUnmounted)||st)&&ie(()=>{Et&&Ee(Et,b,v),st&&pn(v,null,b,"unmounted")},x)},Zt=v=>{const{type:b,el:x,anchor:E,transition:M}=v;if(b===he){Ot(x,E);return}if(b===po){I(v);return}const k=()=>{l(x),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(v.shapeFlag&1&&M&&!M.persisted){const{leave:H,delayLeave:Z}=M,F=()=>H(x,k);Z?Z(v.el,k,F):F()}else k()},Ot=(v,b)=>{let x;for(;v!==b;)x=w(v),l(v),v=x;l(b)},bt=(v,b,x)=>{const{bum:E,scope:M,update:k,subTree:H,um:Z}=v;E&&ds(E),M.stop(),k&&(k.active=!1,Ct(H,v,b,x)),Z&&ie(Z,b),ie(()=>{v.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},ut=(v,b,x,E=!1,M=!1,k=0)=>{for(let H=k;Hv.shapeFlag&6?S(v.component.subTree):v.shapeFlag&128?v.suspense.next():w(v.anchor||v.el),W=(v,b,x)=>{v==null?b._vnode&&Ct(b._vnode,null,null,!0):R(b._vnode||null,v,b,null,null,null,x),Pa(),Wl(),b._vnode=v},j={p:R,um:Ct,m:gt,r:Zt,mt:kt,mc:J,pc:$,pbc:X,n:S,o:e};let Y,vt;return i&&([Y,vt]=i(j)),{render:W,hydrate:Y,createApp:Bf(W,Y)}}function _n({effect:e,update:i},s){e.allowRecurse=i.allowRecurse=s}function su(e,i,s=!1){const r=e.children,l=i.children;if(ot(r)&&ot(l))for(let u=0;u>1,e[s[p]]0&&(i[r]=s[u-1]),s[u]=r)}}for(u=s.length,h=s[u-1];u-- >0;)s[u]=h,h=i[h];return s}const $f=e=>e.__isTeleport,he=Symbol.for("v-fgt"),Oo=Symbol.for("v-txt"),He=Symbol.for("v-cmt"),po=Symbol.for("v-stc"),wi=[];let fe=null;function te(e=!1){wi.push(fe=e?null:[])}function ru(){wi.pop(),fe=wi[wi.length-1]||null}let qn=1;function Ba(e){qn+=e}function au(e){return e.dynamicChildren=qn>0?fe||Dn:null,ru(),qn>0&&fe&&fe.push(e),e}function Se(e,i,s,r,l,u){return au(Ae(e,i,s,r,l,u,!0))}function Ao(e,i,s,r,l){return au(zt(e,i,s,r,l,!0))}function wo(e){return e?e.__v_isVNode===!0:!1}function en(e,i){return e.type===i.type&&e.key===i.key}const Io="__vInternal",lu=({key:e})=>e??null,_o=({ref:e,ref_key:i,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?Wt(e)||Dt(e)||ft(e)?{i:ve,r:e,k:i,f:!!s}:e:null);function Ae(e,i=null,s=null,r=0,l=null,u=e===he?0:1,h=!1,p=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:i,key:i&&lu(i),ref:i&&_o(i),scopeId:ql,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:u,patchFlag:r,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:ve};return p?(ar(d,s),u&128&&e.normalize(d)):s&&(d.shapeFlag|=Wt(s)?8:16),qn>0&&!h&&fe&&(d.patchFlag>0||u&6)&&d.patchFlag!==32&&fe.push(d),d}const zt=qf;function qf(e,i=null,s=null,r=0,l=null,u=!1){if((!e||e===Ef)&&(e=He),wo(e)){const p=Kn(e,i,!0);return s&&ar(p,s),qn>0&&!u&&fe&&(p.shapeFlag&6?fe[fe.indexOf(e)]=p:fe.push(p)),p.patchFlag|=-2,p}if(nd(e)&&(e=e.__vccOpts),i){i=Kf(i);let{class:p,style:d}=i;p&&!Wt(p)&&(i.class=Co(p)),It(d)&&(Bl(d)&&!ot(d)&&(d=$t({},d)),i.style=Ks(d))}const h=Wt(e)?1:af(e)?128:$f(e)?64:It(e)?4:ft(e)?2:0;return Ae(e,i,s,r,l,h,u,!0)}function Kf(e){return e?Bl(e)||Io in e?$t({},e):e:null}function Kn(e,i,s=!1){const{props:r,ref:l,patchFlag:u,children:h}=e,p=i?Vf(r||{},i):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&lu(p),ref:i&&i.ref?s&&l?ot(l)?l.concat(_o(i)):[l,_o(i)]:_o(i):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:h,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:i&&e.type!==he?u===-1?16:u|16:u,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kn(e.ssContent),ssFallback:e.ssFallback&&Kn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ai(e=" ",i=0){return zt(Oo,null,e,i)}function A_(e,i){const s=zt(po,null,e);return s.staticCount=i,s}function Is(e="",i=!1){return i?(te(),Ao(He,null,e)):zt(He,null,e)}function me(e){return e==null||typeof e=="boolean"?zt(He):ot(e)?zt(he,null,e.slice()):typeof e=="object"?Qe(e):zt(Oo,null,String(e))}function Qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kn(e)}function ar(e,i){let s=0;const{shapeFlag:r}=e;if(i==null)i=null;else if(ot(i))s=16;else if(typeof i=="object")if(r&65){const l=i.default;l&&(l._c&&(l._d=!1),ar(e,l()),l._c&&(l._d=!0));return}else{s=32;const l=i._;!l&&!(Io in i)?i._ctx=ve:l===3&&ve&&(ve.slots._===1?i._=1:(i._=2,e.patchFlag|=1024))}else ft(i)?(i={default:i,_ctx:ve},s=32):(i=String(i),r&64?(s=16,i=[Ai(i)]):s=8);e.children=i,e.shapeFlag|=s}function Vf(...e){const i={};for(let s=0;sGt=e),lr=e=>{Rn.length>1?Rn.forEach(i=>i(e)):Rn[0](e)};const Vn=e=>{lr(e),e.scope.on()},wn=()=>{Gt&&Gt.scope.off(),lr(null)};function uu(e){return e.vnode.shapeFlag&4}let Ii=!1;function Xf(e,i=!1){Ii=i;const{props:s,children:r}=e.vnode,l=uu(e);Zf(e,s,l,i),Ff(e,r);const u=l?Qf(e,i):void 0;return Ii=!1,u}function Qf(e,i){const s=e.type;e.accessCache=Object.create(null),e.proxy=We(new Proxy(e.ctx,Sf));const{setup:r}=s;if(r){const l=e.setupContext=r.length>1?ed(e):null;Vn(e),Xn();const u=sn(r,e,0,[e.props,l]);if(Qn(),wn(),pl(u)){if(u.then(wn,wn),i)return u.then(h=>{ks(e,h,i)}).catch(h=>{Ri(h,e,0)});e.asyncDep=u}else ks(e,u,i)}else cu(e,i)}function ks(e,i,s){ft(i)?e.type.__ssrInlineRender?e.ssrRender=i:e.render=i:It(i)&&(e.setupState=Dl(i)),cu(e,s)}let Za;function cu(e,i,s){const r=e.type;if(!e.render){if(!i&&Za&&!r.render){const l=r.template||sr(e).template;if(l){const{isCustomElement:u,compilerOptions:h}=e.appContext.config,{delimiters:p,compilerOptions:d}=r,g=$t($t({isCustomElement:u,delimiters:p},h),d);r.render=Za(l,g)}}e.render=r.render||ye}Vn(e),Xn(),Mf(e),Qn(),wn()}function td(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(i,s){return oe(e,"get","$attrs"),i[s]}}))}function ed(e){const i=s=>{e.exposed=s||{}};return{get attrs(){return td(e)},slots:e.slots,emit:e.emit,expose:i}}function ur(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Dl(We(e.exposed)),{get(i,s){if(s in i)return i[s];if(s in bi)return bi[s](e)},has(i,s){return s in i||s in bi}}))}function nd(e){return ft(e)&&"__vccOpts"in e}const Xt=(e,i)=>Yh(e,i,Ii);function Pn(e,i,s){const r=arguments.length;return r===2?It(i)&&!ot(i)?wo(i)?zt(e,null,[i]):zt(e,i):zt(e,null,i):(r>3?s=Array.prototype.slice.call(arguments,2):r===3&&wo(s)&&(s=[s]),zt(e,i,s))}const id=Symbol.for("v-scx"),od=()=>Ut(id),sd="3.3.4",rd="http://www.w3.org/2000/svg",vn=typeof document<"u"?document:null,Na=vn&&vn.createElement("template"),ad={insert:(e,i,s)=>{i.insertBefore(e,s||null)},remove:e=>{const i=e.parentNode;i&&i.removeChild(e)},createElement:(e,i,s,r)=>{const l=i?vn.createElementNS(rd,e):vn.createElement(e,s?{is:s}:void 0);return e==="select"&&r&&r.multiple!=null&&l.setAttribute("multiple",r.multiple),l},createText:e=>vn.createTextNode(e),createComment:e=>vn.createComment(e),setText:(e,i)=>{e.nodeValue=i},setElementText:(e,i)=>{e.textContent=i},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vn.querySelector(e),setScopeId(e,i){e.setAttribute(i,"")},insertStaticContent(e,i,s,r,l,u){const h=s?s.previousSibling:i.lastChild;if(l&&(l===u||l.nextSibling))for(;i.insertBefore(l.cloneNode(!0),s),!(l===u||!(l=l.nextSibling)););else{Na.innerHTML=r?`${e}`:e;const p=Na.content;if(r){const d=p.firstChild;for(;d.firstChild;)p.appendChild(d.firstChild);p.removeChild(d)}i.insertBefore(p,s)}return[h?h.nextSibling:i.firstChild,s?s.previousSibling:i.lastChild]}};function ld(e,i,s){const r=e._vtc;r&&(i=(i?[i,...r]:[...r]).join(" ")),i==null?e.removeAttribute("class"):s?e.setAttribute("class",i):e.className=i}function ud(e,i,s){const r=e.style,l=Wt(s);if(s&&!l){if(i&&!Wt(i))for(const u in i)s[u]==null&&Rs(r,u,"");for(const u in s)Rs(r,u,s[u])}else{const u=r.display;l?i!==s&&(r.cssText=s):i&&e.removeAttribute("style"),"_vod"in e&&(r.display=u)}}const Da=/\s*!important$/;function Rs(e,i,s){if(ot(s))s.forEach(r=>Rs(e,i,r));else if(s==null&&(s=""),i.startsWith("--"))e.setProperty(i,s);else{const r=cd(e,i);Da.test(s)?e.setProperty(Jn(r),s.replace(Da,""),"important"):e[r]=s}}const Fa=["Webkit","Moz","ms"],gs={};function cd(e,i){const s=gs[i];if(s)return s;let r=Wn(i);if(r!=="filter"&&r in e)return gs[i]=r;r=gl(r);for(let l=0;lvs||(gd.then(()=>vs=0),vs=Date.now());function yd(e,i){const s=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=s.attached)return;be(bd(r,s.value),i,5,[r])};return s.value=e,s.attached=vd(),s}function bd(e,i){if(ot(i)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},i.map(r=>l=>!l._stopped&&r&&r(l))}else return i}const Wa=/^on[a-z]/,wd=(e,i,s,r,l=!1,u,h,p,d)=>{i==="class"?ld(e,r,l):i==="style"?ud(e,s,r):Po(i)?Ws(i)||_d(e,i,s,r,h):(i[0]==="."?(i=i.slice(1),!0):i[0]==="^"?(i=i.slice(1),!1):xd(e,i,r,l))?fd(e,i,r,u,h,p,d):(i==="true-value"?e._trueValue=r:i==="false-value"&&(e._falseValue=r),hd(e,i,r,l))};function xd(e,i,s,r){return r?!!(i==="innerHTML"||i==="textContent"||i in e&&Wa.test(i)&&ft(s)):i==="spellcheck"||i==="draggable"||i==="translate"||i==="form"||i==="list"&&e.tagName==="INPUT"||i==="type"&&e.tagName==="TEXTAREA"||Wa.test(i)&&Wt(s)?!1:i in e}const Pd=$t({patchProp:wd},ad);let Ua;function hu(){return Ua||(Ua=Hf(Pd))}const Ld=(...e)=>{hu().render(...e)},Td=(...e)=>{const i=hu().createApp(...e),{mount:s}=i;return i.mount=r=>{const l=Cd(r);if(!l)return;const u=i._component;!ft(u)&&!u.render&&!u.template&&(u.template=l.innerHTML),l.innerHTML="";const h=s(l,!1,l instanceof SVGElement);return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),h},i};function Cd(e){return Wt(e)?document.querySelector(e):e}var Ed=!1;/*! + * pinia v2.1.7 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let fu;const ko=e=>fu=e,du=Symbol();function Bs(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var xi;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(xi||(xi={}));function Sd(){const e=wl(!0),i=e.run(()=>ee({}));let s=[],r=[];const l=We({install(u){ko(l),l._a=u,u.provide(du,l),u.config.globalProperties.$pinia=l,r.forEach(h=>s.push(h)),r=[]},use(u){return!this._a&&!Ed?r.push(u):s.push(u),this},_p:s,_a:null,_e:e,_s:new Map,state:i});return l}const pu=()=>{};function $a(e,i,s,r=pu){e.push(i);const l=()=>{const u=e.indexOf(i);u>-1&&(e.splice(u,1),r())};return!s&&xl()&&_h(l),l}function Bn(e,...i){e.slice().forEach(s=>{s(...i)})}const Md=e=>e();function zs(e,i){e instanceof Map&&i instanceof Map&&i.forEach((s,r)=>e.set(r,s)),e instanceof Set&&i instanceof Set&&i.forEach(e.add,e);for(const s in i){if(!i.hasOwnProperty(s))continue;const r=i[s],l=e[s];Bs(l)&&Bs(r)&&e.hasOwnProperty(s)&&!Dt(r)&&!on(r)?e[s]=zs(l,r):e[s]=r}return e}const Od=Symbol();function Ad(e){return!Bs(e)||!e.hasOwnProperty(Od)}const{assign:Xe}=Object;function Id(e){return!!(Dt(e)&&e.effect)}function kd(e,i,s,r){const{state:l,actions:u,getters:h}=i,p=s.state.value[e];let d;function g(){p||(s.state.value[e]=l?l():{});const _=qh(s.state.value[e]);return Xe(_,u,Object.keys(h||{}).reduce((m,w)=>(m[w]=We(Xt(()=>{ko(s);const T=s._s.get(e);return h[w].call(T,T)})),m),{}))}return d=_u(e,g,i,s,r,!0),d}function _u(e,i,s={},r,l,u){let h;const p=Xe({actions:{}},s),d={deep:!0};let g,_,m=[],w=[],T;const O=r.state.value[e];!u&&!O&&(r.state.value[e]={}),ee({});let R;function K(J){let z;g=_=!1,typeof J=="function"?(J(r.state.value[e]),z={type:xi.patchFunction,storeId:e,events:T}):(zs(r.state.value[e],J),z={type:xi.patchObject,payload:J,storeId:e,events:T});const X=R=Symbol();Ie().then(()=>{R===X&&(g=!0)}),_=!0,Bn(m,z,r.state.value[e])}const N=u?function(){const{state:z}=s,X=z?z():{};this.$patch(lt=>{Xe(lt,X)})}:pu;function D(){h.stop(),m=[],w=[],r._s.delete(e)}function V(J,z){return function(){ko(r);const X=Array.from(arguments),lt=[],Lt=[];function Ft(it){lt.push(it)}function kt(it){Lt.push(it)}Bn(w,{args:X,name:J,store:U,after:Ft,onError:kt});let qt;try{qt=z.apply(this&&this.$id===e?this:U,X)}catch(it){throw Bn(Lt,it),it}return qt instanceof Promise?qt.then(it=>(Bn(lt,it),it)).catch(it=>(Bn(Lt,it),Promise.reject(it))):(Bn(lt,qt),qt)}}const I={_p:r,$id:e,$onAction:$a.bind(null,w),$patch:K,$reset:N,$subscribe(J,z={}){const X=$a(m,J,z.detached,()=>lt()),lt=h.run(()=>bn(()=>r.state.value[e],Lt=>{(z.flush==="sync"?_:g)&&J({storeId:e,type:xi.direct,events:T},Lt)},Xe({},d,z)));return X},$dispose:D},U=ti(I);r._s.set(e,U);const ct=(r._a&&r._a.runWithContext||Md)(()=>r._e.run(()=>(h=wl()).run(i)));for(const J in ct){const z=ct[J];if(Dt(z)&&!Id(z)||on(z))u||(O&&Ad(z)&&(Dt(z)?z.value=O[J]:zs(z,O[J])),r.state.value[e][J]=z);else if(typeof z=="function"){const X=V(J,z);ct[J]=X,p.actions[J]=z}}return Xe(U,ct),Xe(xt(U),ct),Object.defineProperty(U,"$state",{get:()=>r.state.value[e],set:J=>{K(z=>{Xe(z,J)})}}),r._p.forEach(J=>{Xe(U,h.run(()=>J({store:U,app:r._a,pinia:r,options:p})))}),O&&u&&s.hydrate&&s.hydrate(U.$state,O),g=!0,_=!0,U}function Rd(e,i,s){let r,l;const u=typeof i=="function";typeof e=="string"?(r=e,l=u?s:i):(l=e,r=e.id);function h(p,d){const g=zf();return p=p||(g?Ut(du,null):null),p&&ko(p),p=fu,p._s.has(r)||(u?_u(r,i,l,p):kd(r,l,p)),p._s.get(r)}return h.$id=r,h}/*! + * vue-router v4.2.5 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */const zn=typeof window<"u";function Bd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const St=Object.assign;function ys(e,i){const s={};for(const r in i){const l=i[r];s[r]=xe(l)?l.map(e):e(l)}return s}const Pi=()=>{},xe=Array.isArray,zd=/\/$/,Zd=e=>e.replace(zd,"");function bs(e,i,s="/"){let r,l={},u="",h="";const p=i.indexOf("#");let d=i.indexOf("?");return p=0&&(d=-1),d>-1&&(r=i.slice(0,d),u=i.slice(d+1,p>-1?p:i.length),l=e(u)),p>-1&&(r=r||i.slice(0,p),h=i.slice(p,i.length)),r=jd(r??i,s),{fullPath:r+(u&&"?")+u+h,path:r,query:l,hash:h}}function Nd(e,i){const s=i.query?e(i.query):"";return i.path+(s&&"?")+s+(i.hash||"")}function qa(e,i){return!i||!e.toLowerCase().startsWith(i.toLowerCase())?e:e.slice(i.length)||"/"}function Dd(e,i,s){const r=i.matched.length-1,l=s.matched.length-1;return r>-1&&r===l&&Gn(i.matched[r],s.matched[l])&&mu(i.params,s.params)&&e(i.query)===e(s.query)&&i.hash===s.hash}function Gn(e,i){return(e.aliasOf||e)===(i.aliasOf||i)}function mu(e,i){if(Object.keys(e).length!==Object.keys(i).length)return!1;for(const s in e)if(!Fd(e[s],i[s]))return!1;return!0}function Fd(e,i){return xe(e)?Ka(e,i):xe(i)?Ka(i,e):e===i}function Ka(e,i){return xe(i)?e.length===i.length&&e.every((s,r)=>s===i[r]):e.length===1&&e[0]===i}function jd(e,i){if(e.startsWith("/"))return e;if(!e)return i;const s=i.split("/"),r=e.split("/"),l=r[r.length-1];(l===".."||l===".")&&r.push("");let u=s.length-1,h,p;for(h=0;h1&&u--;else break;return s.slice(0,u).join("/")+"/"+r.slice(h-(h===r.length?1:0)).join("/")}var ki;(function(e){e.pop="pop",e.push="push"})(ki||(ki={}));var Li;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Li||(Li={}));function Hd(e){if(!e)if(zn){const i=document.querySelector("base");e=i&&i.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Zd(e)}const Wd=/^[^#]+#/;function Ud(e,i){return e.replace(Wd,"#")+i}function $d(e,i){const s=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:i.behavior,left:r.left-s.left-(i.left||0),top:r.top-s.top-(i.top||0)}}const Ro=()=>({left:window.pageXOffset,top:window.pageYOffset});function qd(e){let i;if("el"in e){const s=e.el,r=typeof s=="string"&&s.startsWith("#"),l=typeof s=="string"?r?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!l)return;i=$d(l,e)}else i=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(i):window.scrollTo(i.left!=null?i.left:window.pageXOffset,i.top!=null?i.top:window.pageYOffset)}function Va(e,i){return(history.state?history.state.position-i:-1)+e}const Zs=new Map;function Kd(e,i){Zs.set(e,i)}function Vd(e){const i=Zs.get(e);return Zs.delete(e),i}let Gd=()=>location.protocol+"//"+location.host;function gu(e,i){const{pathname:s,search:r,hash:l}=i,u=e.indexOf("#");if(u>-1){let p=l.includes(e.slice(u))?e.slice(u).length:1,d=l.slice(p);return d[0]!=="/"&&(d="/"+d),qa(d,"")}return qa(s,e)+r+l}function Yd(e,i,s,r){let l=[],u=[],h=null;const p=({state:w})=>{const T=gu(e,location),O=s.value,R=i.value;let K=0;if(w){if(s.value=T,i.value=w,h&&h===O){h=null;return}K=R?w.position-R.position:0}else r(T);l.forEach(N=>{N(s.value,O,{delta:K,type:ki.pop,direction:K?K>0?Li.forward:Li.back:Li.unknown})})};function d(){h=s.value}function g(w){l.push(w);const T=()=>{const O=l.indexOf(w);O>-1&&l.splice(O,1)};return u.push(T),T}function _(){const{history:w}=window;w.state&&w.replaceState(St({},w.state,{scroll:Ro()}),"")}function m(){for(const w of u)w();u=[],window.removeEventListener("popstate",p),window.removeEventListener("beforeunload",_)}return window.addEventListener("popstate",p),window.addEventListener("beforeunload",_,{passive:!0}),{pauseListeners:d,listen:g,destroy:m}}function Ga(e,i,s,r=!1,l=!1){return{back:e,current:i,forward:s,replaced:r,position:window.history.length,scroll:l?Ro():null}}function Jd(e){const{history:i,location:s}=window,r={value:gu(e,s)},l={value:i.state};l.value||u(r.value,{back:null,current:r.value,forward:null,position:i.length-1,replaced:!0,scroll:null},!0);function u(d,g,_){const m=e.indexOf("#"),w=m>-1?(s.host&&document.querySelector("base")?e:e.slice(m))+d:Gd()+e+d;try{i[_?"replaceState":"pushState"](g,"",w),l.value=g}catch(T){console.error(T),s[_?"replace":"assign"](w)}}function h(d,g){const _=St({},i.state,Ga(l.value.back,d,l.value.forward,!0),g,{position:l.value.position});u(d,_,!0),r.value=d}function p(d,g){const _=St({},l.value,i.state,{forward:d,scroll:Ro()});u(_.current,_,!0);const m=St({},Ga(r.value,d,null),{position:_.position+1},g);u(d,m,!1),r.value=d}return{location:r,state:l,push:p,replace:h}}function Xd(e){e=Hd(e);const i=Jd(e),s=Yd(e,i.state,i.location,i.replace);function r(u,h=!0){h||s.pauseListeners(),history.go(u)}const l=St({location:"",base:e,go:r,createHref:Ud.bind(null,e)},i,s);return Object.defineProperty(l,"location",{enumerable:!0,get:()=>i.location.value}),Object.defineProperty(l,"state",{enumerable:!0,get:()=>i.state.value}),l}function Qd(e){return typeof e=="string"||e&&typeof e=="object"}function vu(e){return typeof e=="string"||typeof e=="symbol"}const Je={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},yu=Symbol("");var Ya;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ya||(Ya={}));function Yn(e,i){return St(new Error,{type:e,[yu]:!0},i)}function Ne(e,i){return e instanceof Error&&yu in e&&(i==null||!!(e.type&i))}const Ja="[^/]+?",tp={sensitive:!1,strict:!1,start:!0,end:!0},ep=/[.+*?^${}()[\]/\\]/g;function np(e,i){const s=St({},tp,i),r=[];let l=s.start?"^":"";const u=[];for(const g of e){const _=g.length?[]:[90];s.strict&&!g.length&&(l+="/");for(let m=0;mi.length?i.length===1&&i[0]===40+40?1:-1:0}function op(e,i){let s=0;const r=e.score,l=i.score;for(;s0&&i[i.length-1]<0}const sp={type:0,value:""},rp=/[a-zA-Z0-9_]/;function ap(e){if(!e)return[[]];if(e==="/")return[[sp]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function i(T){throw new Error(`ERR (${s})/"${g}": ${T}`)}let s=0,r=s;const l=[];let u;function h(){u&&l.push(u),u=[]}let p=0,d,g="",_="";function m(){g&&(s===0?u.push({type:0,value:g}):s===1||s===2||s===3?(u.length>1&&(d==="*"||d==="+")&&i(`A repeatable param (${g}) must be alone in its segment. eg: '/:ids+.`),u.push({type:1,value:g,regexp:_,repeatable:d==="*"||d==="+",optional:d==="*"||d==="?"})):i("Invalid state to consume buffer"),g="")}function w(){g+=d}for(;p{h(D)}:Pi}function h(_){if(vu(_)){const m=r.get(_);m&&(r.delete(_),s.splice(s.indexOf(m),1),m.children.forEach(h),m.alias.forEach(h))}else{const m=s.indexOf(_);m>-1&&(s.splice(m,1),_.record.name&&r.delete(_.record.name),_.children.forEach(h),_.alias.forEach(h))}}function p(){return s}function d(_){let m=0;for(;m=0&&(_.record.path!==s[m].record.path||!bu(_,s[m]));)m++;s.splice(m,0,_),_.record.name&&!tl(_)&&r.set(_.record.name,_)}function g(_,m){let w,T={},O,R;if("name"in _&&_.name){if(w=r.get(_.name),!w)throw Yn(1,{location:_});R=w.record.name,T=St(Qa(m.params,w.keys.filter(D=>!D.optional).map(D=>D.name)),_.params&&Qa(_.params,w.keys.map(D=>D.name))),O=w.stringify(T)}else if("path"in _)O=_.path,w=s.find(D=>D.re.test(O)),w&&(T=w.parse(O),R=w.record.name);else{if(w=m.name?r.get(m.name):s.find(D=>D.re.test(m.path)),!w)throw Yn(1,{location:_,currentLocation:m});R=w.record.name,T=St({},m.params,_.params),O=w.stringify(T)}const K=[];let N=w;for(;N;)K.unshift(N.record),N=N.parent;return{name:R,path:O,params:T,matched:K,meta:fp(K)}}return e.forEach(_=>u(_)),{addRoute:u,resolve:g,removeRoute:h,getRoutes:p,getRecordMatcher:l}}function Qa(e,i){const s={};for(const r of i)r in e&&(s[r]=e[r]);return s}function cp(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:hp(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function hp(e){const i={},s=e.props||!1;if("component"in e)i.default=s;else for(const r in e.components)i[r]=typeof s=="object"?s[r]:s;return i}function tl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function fp(e){return e.reduce((i,s)=>St(i,s.meta),{})}function el(e,i){const s={};for(const r in e)s[r]=r in i?i[r]:e[r];return s}function bu(e,i){return i.children.some(s=>s===e||bu(e,s))}const wu=/#/g,dp=/&/g,pp=/\//g,_p=/=/g,mp=/\?/g,xu=/\+/g,gp=/%5B/g,vp=/%5D/g,Pu=/%5E/g,yp=/%60/g,Lu=/%7B/g,bp=/%7C/g,Tu=/%7D/g,wp=/%20/g;function cr(e){return encodeURI(""+e).replace(bp,"|").replace(gp,"[").replace(vp,"]")}function xp(e){return cr(e).replace(Lu,"{").replace(Tu,"}").replace(Pu,"^")}function Ns(e){return cr(e).replace(xu,"%2B").replace(wp,"+").replace(wu,"%23").replace(dp,"%26").replace(yp,"`").replace(Lu,"{").replace(Tu,"}").replace(Pu,"^")}function Pp(e){return Ns(e).replace(_p,"%3D")}function Lp(e){return cr(e).replace(wu,"%23").replace(mp,"%3F")}function Tp(e){return e==null?"":Lp(e).replace(pp,"%2F")}function xo(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Cp(e){const i={};if(e===""||e==="?")return i;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let l=0;lu&&Ns(u)):[r&&Ns(r)]).forEach(u=>{u!==void 0&&(i+=(i.length?"&":"")+s,u!=null&&(i+="="+u))})}return i}function Ep(e){const i={};for(const s in e){const r=e[s];r!==void 0&&(i[s]=xe(r)?r.map(l=>l==null?null:""+l):r==null?r:""+r)}return i}const Sp=Symbol(""),il=Symbol(""),Bo=Symbol(""),hr=Symbol(""),Ds=Symbol("");function gi(){let e=[];function i(r){return e.push(r),()=>{const l=e.indexOf(r);l>-1&&e.splice(l,1)}}function s(){e=[]}return{add:i,list:()=>e.slice(),reset:s}}function tn(e,i,s,r,l){const u=r&&(r.enterCallbacks[l]=r.enterCallbacks[l]||[]);return()=>new Promise((h,p)=>{const d=m=>{m===!1?p(Yn(4,{from:s,to:i})):m instanceof Error?p(m):Qd(m)?p(Yn(2,{from:i,to:m})):(u&&r.enterCallbacks[l]===u&&typeof m=="function"&&u.push(m),h())},g=e.call(r&&r.instances[l],i,s,d);let _=Promise.resolve(g);e.length<3&&(_=_.then(d)),_.catch(m=>p(m))})}function ws(e,i,s,r){const l=[];for(const u of e)for(const h in u.components){let p=u.components[h];if(!(i!=="beforeRouteEnter"&&!u.instances[h]))if(Mp(p)){const g=(p.__vccOpts||p)[i];g&&l.push(tn(g,s,r,u,h))}else{let d=p();l.push(()=>d.then(g=>{if(!g)return Promise.reject(new Error(`Couldn't resolve component "${h}" at "${u.path}"`));const _=Bd(g)?g.default:g;u.components[h]=_;const w=(_.__vccOpts||_)[i];return w&&tn(w,s,r,u,h)()}))}}return l}function Mp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ol(e){const i=Ut(Bo),s=Ut(hr),r=Xt(()=>i.resolve(Vt(e.to))),l=Xt(()=>{const{matched:d}=r.value,{length:g}=d,_=d[g-1],m=s.matched;if(!_||!m.length)return-1;const w=m.findIndex(Gn.bind(null,_));if(w>-1)return w;const T=sl(d[g-2]);return g>1&&sl(_)===T&&m[m.length-1].path!==T?m.findIndex(Gn.bind(null,d[g-2])):w}),u=Xt(()=>l.value>-1&&Ip(s.params,r.value.params)),h=Xt(()=>l.value>-1&&l.value===s.matched.length-1&&mu(s.params,r.value.params));function p(d={}){return Ap(d)?i[Vt(e.replace)?"replace":"push"](Vt(e.to)).catch(Pi):Promise.resolve()}return{route:r,href:Xt(()=>r.value.href),isActive:u,isExactActive:h,navigate:p}}const Op=de({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ol,setup(e,{slots:i}){const s=ti(ol(e)),{options:r}=Ut(Bo),l=Xt(()=>({[rl(e.activeClass,r.linkActiveClass,"router-link-active")]:s.isActive,[rl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const u=i.default&&i.default(s);return e.custom?u:Pn("a",{"aria-current":s.isExactActive?e.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:l.value},u)}}}),Fs=Op;function Ap(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const i=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(i))return}return e.preventDefault&&e.preventDefault(),!0}}function Ip(e,i){for(const s in i){const r=i[s],l=e[s];if(typeof r=="string"){if(r!==l)return!1}else if(!xe(l)||l.length!==r.length||r.some((u,h)=>u!==l[h]))return!1}return!0}function sl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const rl=(e,i,s)=>e??i??s,kp=de({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:i,slots:s}){const r=Ut(Ds),l=Xt(()=>e.route||r.value),u=Ut(il,0),h=Xt(()=>{let g=Vt(u);const{matched:_}=l.value;let m;for(;(m=_[g])&&!m.components;)g++;return g}),p=Xt(()=>l.value.matched[h.value]);Oe(il,Xt(()=>h.value+1)),Oe(Sp,p),Oe(Ds,l);const d=ee();return bn(()=>[d.value,p.value,e.name],([g,_,m],[w,T,O])=>{_&&(_.instances[m]=g,T&&T!==_&&g&&g===w&&(_.leaveGuards.size||(_.leaveGuards=T.leaveGuards),_.updateGuards.size||(_.updateGuards=T.updateGuards))),g&&_&&(!T||!Gn(_,T)||!w)&&(_.enterCallbacks[m]||[]).forEach(R=>R(g))},{flush:"post"}),()=>{const g=l.value,_=e.name,m=p.value,w=m&&m.components[_];if(!w)return al(s.default,{Component:w,route:g});const T=m.props[_],O=T?T===!0?g.params:typeof T=="function"?T(g):T:null,K=Pn(w,St({},O,i,{onVnodeUnmounted:N=>{N.component.isUnmounted&&(m.instances[_]=null)},ref:d}));return al(s.default,{Component:K,route:g})||K}}});function al(e,i){if(!e)return null;const s=e(i);return s.length===1?s[0]:s}const Cu=kp;function Rp(e){const i=up(e.routes,e),s=e.parseQuery||Cp,r=e.stringifyQuery||nl,l=e.history,u=gi(),h=gi(),p=gi(),d=Wh(Je);let g=Je;zn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const _=ys.bind(null,S=>""+S),m=ys.bind(null,Tp),w=ys.bind(null,xo);function T(S,W){let j,Y;return vu(S)?(j=i.getRecordMatcher(S),Y=W):Y=S,i.addRoute(Y,j)}function O(S){const W=i.getRecordMatcher(S);W&&i.removeRoute(W)}function R(){return i.getRoutes().map(S=>S.record)}function K(S){return!!i.getRecordMatcher(S)}function N(S,W){if(W=St({},W||d.value),typeof S=="string"){const x=bs(s,S,W.path),E=i.resolve({path:x.path},W),M=l.createHref(x.fullPath);return St(x,E,{params:w(E.params),hash:xo(x.hash),redirectedFrom:void 0,href:M})}let j;if("path"in S)j=St({},S,{path:bs(s,S.path,W.path).path});else{const x=St({},S.params);for(const E in x)x[E]==null&&delete x[E];j=St({},S,{params:m(x)}),W.params=m(W.params)}const Y=i.resolve(j,W),vt=S.hash||"";Y.params=_(w(Y.params));const v=Nd(r,St({},S,{hash:xp(vt),path:Y.path})),b=l.createHref(v);return St({fullPath:v,hash:vt,query:r===nl?Ep(S.query):S.query||{}},Y,{redirectedFrom:void 0,href:b})}function D(S){return typeof S=="string"?bs(s,S,d.value.path):St({},S)}function V(S,W){if(g!==S)return Yn(8,{from:W,to:S})}function I(S){return ct(S)}function U(S){return I(St(D(S),{replace:!0}))}function at(S){const W=S.matched[S.matched.length-1];if(W&&W.redirect){const{redirect:j}=W;let Y=typeof j=="function"?j(S):j;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=D(Y):{path:Y},Y.params={}),St({query:S.query,hash:S.hash,params:"path"in Y?{}:S.params},Y)}}function ct(S,W){const j=g=N(S),Y=d.value,vt=S.state,v=S.force,b=S.replace===!0,x=at(j);if(x)return ct(St(D(x),{state:typeof x=="object"?St({},vt,x.state):vt,force:v,replace:b}),W||j);const E=j;E.redirectedFrom=W;let M;return!v&&Dd(r,Y,j)&&(M=Yn(16,{to:E,from:Y}),gt(Y,Y,!0,!1)),(M?Promise.resolve(M):X(E,Y)).catch(k=>Ne(k)?Ne(k,2)?k:nt(k):$(k,E,Y)).then(k=>{if(k){if(Ne(k,2))return ct(St({replace:b},D(k.to),{state:typeof k.to=="object"?St({},vt,k.to.state):vt,force:v}),W||E)}else k=Lt(E,Y,!0,b,vt);return lt(E,Y,k),k})}function J(S,W){const j=V(S,W);return j?Promise.reject(j):Promise.resolve()}function z(S){const W=Ot.values().next().value;return W&&typeof W.runWithContext=="function"?W.runWithContext(S):S()}function X(S,W){let j;const[Y,vt,v]=Bp(S,W);j=ws(Y.reverse(),"beforeRouteLeave",S,W);for(const x of Y)x.leaveGuards.forEach(E=>{j.push(tn(E,S,W))});const b=J.bind(null,S,W);return j.push(b),ut(j).then(()=>{j=[];for(const x of u.list())j.push(tn(x,S,W));return j.push(b),ut(j)}).then(()=>{j=ws(vt,"beforeRouteUpdate",S,W);for(const x of vt)x.updateGuards.forEach(E=>{j.push(tn(E,S,W))});return j.push(b),ut(j)}).then(()=>{j=[];for(const x of v)if(x.beforeEnter)if(xe(x.beforeEnter))for(const E of x.beforeEnter)j.push(tn(E,S,W));else j.push(tn(x.beforeEnter,S,W));return j.push(b),ut(j)}).then(()=>(S.matched.forEach(x=>x.enterCallbacks={}),j=ws(v,"beforeRouteEnter",S,W),j.push(b),ut(j))).then(()=>{j=[];for(const x of h.list())j.push(tn(x,S,W));return j.push(b),ut(j)}).catch(x=>Ne(x,8)?x:Promise.reject(x))}function lt(S,W,j){p.list().forEach(Y=>z(()=>Y(S,W,j)))}function Lt(S,W,j,Y,vt){const v=V(S,W);if(v)return v;const b=W===Je,x=zn?history.state:{};j&&(Y||b?l.replace(S.fullPath,St({scroll:b&&x&&x.scroll},vt)):l.push(S.fullPath,vt)),d.value=S,gt(S,W,j,b),nt()}let Ft;function kt(){Ft||(Ft=l.listen((S,W,j)=>{if(!bt.listening)return;const Y=N(S),vt=at(Y);if(vt){ct(St(vt,{replace:!0}),Y).catch(Pi);return}g=Y;const v=d.value;zn&&Kd(Va(v.fullPath,j.delta),Ro()),X(Y,v).catch(b=>Ne(b,12)?b:Ne(b,2)?(ct(b.to,Y).then(x=>{Ne(x,20)&&!j.delta&&j.type===ki.pop&&l.go(-1,!1)}).catch(Pi),Promise.reject()):(j.delta&&l.go(-j.delta,!1),$(b,Y,v))).then(b=>{b=b||Lt(Y,v,!1),b&&(j.delta&&!Ne(b,8)?l.go(-j.delta,!1):j.type===ki.pop&&Ne(b,20)&&l.go(-1,!1)),lt(Y,v,b)}).catch(Pi)}))}let qt=gi(),it=gi(),_t;function $(S,W,j){nt(S);const Y=it.list();return Y.length?Y.forEach(vt=>vt(S,W,j)):console.error(S),Promise.reject(S)}function re(){return _t&&d.value!==Je?Promise.resolve():new Promise((S,W)=>{qt.add([S,W])})}function nt(S){return _t||(_t=!S,kt(),qt.list().forEach(([W,j])=>S?j(S):W()),qt.reset()),S}function gt(S,W,j,Y){const{scrollBehavior:vt}=e;if(!zn||!vt)return Promise.resolve();const v=!j&&Vd(Va(S.fullPath,0))||(Y||!j)&&history.state&&history.state.scroll||null;return Ie().then(()=>vt(S,W,v)).then(b=>b&&qd(b)).catch(b=>$(b,S,W))}const Ct=S=>l.go(S);let Zt;const Ot=new Set,bt={currentRoute:d,listening:!0,addRoute:T,removeRoute:O,hasRoute:K,getRoutes:R,resolve:N,options:e,push:I,replace:U,go:Ct,back:()=>Ct(-1),forward:()=>Ct(1),beforeEach:u.add,beforeResolve:h.add,afterEach:p.add,onError:it.add,isReady:re,install(S){const W=this;S.component("RouterLink",Fs),S.component("RouterView",Cu),S.config.globalProperties.$router=W,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>Vt(d)}),zn&&!Zt&&d.value===Je&&(Zt=!0,I(l.location).catch(vt=>{}));const j={};for(const vt in Je)Object.defineProperty(j,vt,{get:()=>d.value[vt],enumerable:!0});S.provide(Bo,W),S.provide(hr,kl(j)),S.provide(Ds,d);const Y=S.unmount;Ot.add(S),S.unmount=function(){Ot.delete(S),Ot.size<1&&(g=Je,Ft&&Ft(),Ft=null,d.value=Je,Zt=!1,_t=!1),Y()}}};function ut(S){return S.reduce((W,j)=>W.then(()=>z(j)),Promise.resolve())}return bt}function Bp(e,i){const s=[],r=[],l=[],u=Math.max(i.matched.length,e.matched.length);for(let h=0;hGn(g,p))?r.push(p):s.push(p));const d=e.matched[h];d&&(i.matched.find(g=>Gn(g,d))||l.push(d))}return[s,r,l]}function Eu(){return Ut(Bo)}function zp(){return Ut(hr)}const fr=Rd("map",{state:()=>({zoom:10,location:{lat:34.844526,lng:-82.401078},loadedMaps:{},availableMaps:{},maintainersOfActiveLayers:{}}),getters:{locationArray({location:{lat:e,lng:i}}){return[e,i]}},actions:{setLocation(e){this.location=e},setZoom(e){this.zoom=e},addMapLayer(e,i,s){i.visible?this.maintainersOfActiveLayers[e]=s:delete this.maintainersOfActiveLayers[e],this.loadedMaps[e]=i},removeMapLayer(e){delete this.loadedMaps[e]},async fetchGeoJson({mapTitle:e}){const i=this.availableMaps[e];return i.geoJson||await fetch(i.geoJsonUrl).then(s=>s.json()).then(s=>{this.availableMaps[i.mapTitle].geoJson=s}).catch(s=>{console.error(`error while fetching ${i.mapSlug} geoJson from ${i.geoJsonUrl}`,s),Promise.reject()}),this.availableMaps[e].geoJson},async fetchAvailableMaps(){return Object.keys(this.availableMaps).length==0&&await fetch("https://data.openupstate.org/rest/maps?_format=json").then(e=>e.json()).then(e=>{e.filter(i=>{var s,r,l,u,h,p;return((r=(s=i==null?void 0:i.field_slug)==null?void 0:s[0])==null?void 0:r.value)&&((u=(l=i==null?void 0:i.field_geojson_link)==null?void 0:l[0])==null?void 0:u.uri)&&((p=(h=i==null?void 0:i.title)==null?void 0:h[0])==null?void 0:p.value)}).map(async i=>{const s=new URL(i.field_geojson_link[0].uri.toString().replace("internal:","https://data.openupstate.org")),r={mapSlug:i.field_slug[0].value,mapTitle:i.title[0].value,geoJsonUrl:s,color:Zp(i.field_slug[0].value),maintainers:i.field_maintainers,contributionInfo:i.field_contribute_link[0]};this.availableMaps[r.mapTitle]=r})}).catch(e=>{console.error("error fetching list of available maps",e),Promise.reject()}),this.availableMaps}}});function Zp(e){const i=["aqua","black","blue","fuchsia","green","lime","maroon","navy","olive","purple","red","teal","yellow"];return i[Math.floor(Math.abs(Math.sin(Np(e)))*i.length)]}function Np(e){let i=0;for(let s=0;si.loadedMaps[u].visible).join(",")||void 0;return s.resolve({name:"map",query:{lat:i.location.lat,lng:i.location.lng,zoom:i.zoom,maps:l}})}return(l,u)=>(te(),Se(he,null,[Ae("div",Dp,[zt(Vt(Cu))]),Ae("header",Fp,[Ae("nav",jp,[zt(Vt(Fs),{class:"link",to:r()},{default:$n(()=>[Ai("Map")]),_:1},8,["to"]),zt(Vt(Fs),{class:"link",to:"/about"},{default:$n(()=>[Ai("About")]),_:1})])])],64))}}),Wp="modulepreload",Up=function(e){return"/open-map-data-multi-layers-demo/"+e},ll={},we=function(i,s,r){if(!s||s.length===0)return i();const l=document.getElementsByTagName("link");return Promise.all(s.map(u=>{if(u=Up(u),u in ll)return;ll[u]=!0;const h=u.endsWith(".css"),p=h?'[rel="stylesheet"]':"";if(!!r)for(let _=l.length-1;_>=0;_--){const m=l[_];if(m.href===u&&(!h||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${p}`))return;const g=document.createElement("link");if(g.rel=h?"stylesheet":Wp,h||(g.as="script",g.crossOrigin=""),g.href=u,document.head.appendChild(g),h)return new Promise((_,m)=>{g.addEventListener("load",_),g.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${u}`)))})})).then(()=>i()).catch(u=>{const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=u,window.dispatchEvent(h),!h.defaultPrevented)throw u})},ul=(e,i)=>{for(const s of Object.keys(i))e.on(s,i[s])},$p=e=>{for(const i of Object.keys(e)){const s=e[i];s&&mn(s.cancel)&&s.cancel()}},qp=e=>!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1),mn=e=>typeof e=="function",ei=(e,i,s)=>{for(const r in s){const l="set"+qp(r);e[l]?bn(()=>s[r],(u,h)=>{e[l](u,h)}):i[l]&&bn(()=>s[r],u=>{i[l](u)})}},Ln=(e,i,s={})=>{const r={...s};for(const l in e){const u=i[l],h=e[l];u&&(u&&u.custom===!0||h!==void 0&&(r[l]=h))}return r},zo=e=>{const i={},s={};for(const r in e)if(r.startsWith("on")&&!r.startsWith("onUpdate")&&r!=="onReady"){const l=r.slice(2).toLocaleLowerCase();i[l]=e[r]}else s[r]=e[r];return{listeners:i,attrs:s}},Kp=async e=>{const i=await Promise.all([we(()=>import("./marker-icon-2x-e148f0f7.js"),[]),we(()=>import("./marker-icon-d6994ad0.js"),[]),we(()=>import("./marker-shadow-a7f70f89.js"),[])]);delete e.Default.prototype._getIconUrl,e.Default.mergeOptions({iconRetinaUrl:i[0].default,iconUrl:i[1].default,shadowUrl:i[2].default})},uo=e=>{const i=ee((...r)=>console.warn(`Method ${e} has been invoked without being replaced`)),s=(...r)=>i.value(...r);return s.wrapped=i,Oe(e,s),s},co=(e,i)=>e.wrapped.value=i,rn=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||globalThis,Fe=e=>{const i=Ut(e);if(i===void 0)throw new Error(`Attempt to inject ${e.description} before it was provided.`);return i},ni=Symbol("useGlobalLeaflet"),Zo=Symbol("addLayer"),Su=Symbol("removeLayer"),dr=Symbol("registerControl"),Vp=Symbol("registerLayerControl"),Gp=Symbol("canSetParentHtml"),Yp=Symbol("setParentHtml"),Jp=Symbol("setIcon"),Xp=Symbol("bindPopup"),Qp=Symbol("bindTooltip"),t_=Symbol("unbindPopup"),e_=Symbol("unbindTooltip"),zi={options:{type:Object,default:()=>({}),custom:!0}},No=e=>({options:e.options,methods:{}}),ii={...zi,pane:{type:String},attribution:{type:String},name:{type:String,custom:!0},layerType:{type:String,custom:!0},visible:{type:Boolean,custom:!0,default:!0}},n_=(e,i,s)=>{const r=Fe(Zo),l=Fe(Su),{options:u,methods:h}=No(e),p=Ln(e,ii,u),d=()=>r({leafletObject:i.value}),g=()=>l({leafletObject:i.value}),_={...h,setAttribution(m){g(),i.value.options.attribution=m,e.visible&&d()},setName(){g(),e.visible&&d()},setLayerType(){g(),e.visible&&d()},setVisible(m){i.value&&(m?d():g())},bindPopup(m){if(!i.value||!mn(i.value.bindPopup)){console.warn("Attempt to bind popup before bindPopup method available on layer.");return}i.value.bindPopup(m)},bindTooltip(m){if(!i.value||!mn(i.value.bindTooltip)){console.warn("Attempt to bind tooltip before bindTooltip method available on layer.");return}i.value.bindTooltip(m)},unbindTooltip(){i.value&&(mn(i.value.closeTooltip)&&i.value.closeTooltip(),mn(i.value.unbindTooltip)&&i.value.unbindTooltip())},unbindPopup(){i.value&&(mn(i.value.closePopup)&&i.value.closePopup(),mn(i.value.unbindPopup)&&i.value.unbindPopup())},updateVisibleProp(m){s.emit("update:visible",m)}};return Oe(Xp,_.bindPopup),Oe(Qp,_.bindTooltip),Oe(t_,_.unbindPopup),Oe(e_,_.unbindTooltip),Bi(()=>{_.unbindPopup(),_.unbindTooltip(),g()}),{options:p,methods:_}},i_={...ii,interactive:{type:Boolean,default:void 0},bubblingMouseEvents:{type:Boolean,default:void 0}},Mu={...i_,stroke:{type:Boolean,default:void 0},color:{type:String},weight:{type:Number},opacity:{type:Number},lineCap:{type:String},lineJoin:{type:String},dashArray:{type:String},dashOffset:{type:String},fill:{type:Boolean,default:void 0},fillColor:{type:String},fillOpacity:{type:Number},fillRule:{type:String},className:{type:String}},o_={...Mu,radius:{type:Number},latLng:{type:[Object,Array],required:!0,custom:!0}};({...o_});const oi={...zi,position:{type:String}},Ou=(e,i)=>{const{options:s,methods:r}=No(e),l=Ln(e,oi,s),u={...r,setPosition(h){i.value&&i.value.setPosition(h)}};return Bi(()=>{i.value&&i.value.remove()}),{options:l,methods:u}},s_=e=>e.default?Pn("div",{ref:"root"},e.default()):null,r_=de({name:"LControl",props:{...oi,disableClickPropagation:{type:Boolean,custom:!0,default:!0},disableScrollPropagation:{type:Boolean,custom:!0,default:!1}},setup(e,i){const s=ee(),r=ee(),l=Ut(ni),u=Fe(dr),{options:h,methods:p}=Ou(e,s);return xn(async()=>{const{Control:d,DomEvent:g}=l?rn.L:await we(()=>import("./leaflet-src.esm-457c3857.js"),[]),_=d.extend({onAdd(){return r.value}});s.value=We(new _(h)),ei(p,s.value,e),u({leafletObject:s.value}),e.disableClickPropagation&&r.value&&g.disableClickPropagation(r.value),e.disableScrollPropagation&&r.value&&g.disableScrollPropagation(r.value),Ie(()=>i.emit("ready",s.value))}),{root:r,leafletObject:s}},render(){return s_(this.$slots)}}),Au={...oi,prefix:{type:String}},a_=(e,i)=>{const{options:s,methods:r}=Ou(e,i),l=Ln(e,Au,s),u={...r,setPrefix(h){i.value.setPrefix(h)}};return{options:l,methods:u}},l_=de({name:"LControlAttribution",props:Au,setup(e,i){const s=ee(),r=Ut(ni),l=Fe(dr),{options:u,methods:h}=a_(e,s);return xn(async()=>{const{control:p}=r?rn.L:await we(()=>import("./leaflet-src.esm-457c3857.js"),[]);s.value=We(p.attribution(u)),ei(h,s.value,e),l({leafletObject:s.value}),Ie(()=>i.emit("ready",s.value))}),{leafletObject:s}},render(){return null}});({...oi});({...oi});({...oi});const Iu={...ii};({...Iu});({...Iu});const pr={...ii,opacity:{type:Number},zIndex:{type:Number},tileSize:{type:[Number,Array,Object]},noWrap:{type:Boolean,default:void 0},minZoom:{type:Number},maxZoom:{type:Number},className:{type:String}},ku=(e,i,s)=>{const{options:r,methods:l}=n_(e,i,s),u=Ln(e,pr,r),h={...l,setTileComponent(){var p;(p=i.value)==null||p.redraw()}};return Bi(()=>{i.value.off()}),{options:u,methods:h}},u_=(e,i,s,r)=>e.extend({initialize(l){this.tileComponents={},this.on("tileunload",this._unloadTile),s.setOptions(this,l)},createTile(l){const u=this._tileCoordsToKey(l);this.tileComponents[u]=i.create("div");const h=Pn({setup:r,props:["coords"]},{coords:l});return Ld(h,this.tileComponents[u]),this.tileComponents[u]},_unloadTile(l){const u=this._tileCoordsToKey(l.coords);this.tileComponents[u]&&(this.tileComponents[u].innerHTML="",this.tileComponents[u]=void 0)}});de({props:{...pr,childRender:{type:Function,required:!0}},setup(e,i){const s=ee(),r=ee(null),l=ee(!1),u=Ut(ni),h=Fe(Zo),{options:p,methods:d}=ku(e,s,i);return xn(async()=>{const{GridLayer:g,DomUtil:_,Util:m}=u?rn.L:await we(()=>import("./leaflet-src.esm-457c3857.js"),[]),w=u_(g,_,m,e.childRender);s.value=We(new w(p));const{listeners:T}=zo(i.attrs);s.value.on(T),ei(d,s.value,e),h({...e,...d,leafletObject:s.value}),l.value=!0,Ie(()=>i.emit("ready",s.value))}),{root:r,ready:l,leafletObject:s}},render(){return this.ready?Pn("div",{style:{display:"none"},ref:"root"}):null}});const cl={iconUrl:{type:String},iconRetinaUrl:{type:String},iconSize:{type:[Object,Array]},iconAnchor:{type:[Object,Array]},popupAnchor:{type:[Object,Array]},tooltipAnchor:{type:[Object,Array]},shadowUrl:{type:String},shadowRetinaUrl:{type:String},shadowSize:{type:[Object,Array]},shadowAnchor:{type:[Object,Array]},bgPos:{type:[Object,Array]},className:{type:String}};de({name:"LIcon",props:{...cl,...zi},setup(e,i){const s=ee(),r=Ut(ni),l=Fe(Gp),u=Fe(Yp),h=Fe(Jp);let p,d,g,_,m;const w=(K,N,D)=>{const V=K&&K.innerHTML;if(!N){D&&m&&l()&&u(V);return}const{listeners:I}=zo(i.attrs);m&&d(m,I);const{options:U}=No(e),at=Ln(e,cl,U);V&&(at.html=V),m=at.html?g(at):_(at),p(m,I),h(m)},T=()=>{Ie(()=>w(s.value,!0,!1))},O=()=>{Ie(()=>w(s.value,!1,!0))},R={setIconUrl:T,setIconRetinaUrl:T,setIconSize:T,setIconAnchor:T,setPopupAnchor:T,setTooltipAnchor:T,setShadowUrl:T,setShadowRetinaUrl:T,setShadowAnchor:T,setBgPos:T,setClassName:T,setHtml:T};return xn(async()=>{const{DomEvent:K,divIcon:N,icon:D}=r?rn.L:await we(()=>import("./leaflet-src.esm-457c3857.js"),[]);p=K.on,d=K.off,g=N,_=D,ei(R,{},e),new MutationObserver(O).observe(s.value,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),T()}),{root:s}},render(){const e=this.$slots.default?this.$slots.default():void 0;return Pn("div",{ref:"root"},e)}});({...ii});function c_(e,i,s){var r,l,u;i===void 0&&(i=50),s===void 0&&(s={});var h=(r=s.isImmediate)!=null&&r,p=(l=s.callback)!=null&&l,d=s.maxWait,g=Date.now(),_=[];function m(){if(d!==void 0){var T=Date.now()-g;if(T+i>=d)return d-T}return i}var w=function(){var T=[].slice.call(arguments),O=this;return new Promise(function(R,K){var N=h&&u===void 0;if(u!==void 0&&clearTimeout(u),u=setTimeout(function(){if(u=void 0,g=Date.now(),!h){var V=e.apply(O,T);p&&p(V),_.forEach(function(I){return(0,I.resolve)(V)}),_=[]}},m()),N){var D=e.apply(O,T);return p&&p(D),R(D)}_.push({resolve:R,reject:K})})};return w.cancel=function(T){u!==void 0&&clearTimeout(u),_.forEach(function(O){return(0,O.reject)(T)}),_=[]},w}const hl={...zi,center:{type:[Object,Array]},bounds:{type:[Array,Object]},maxBounds:{type:[Array,Object]},zoom:{type:Number},minZoom:{type:Number},maxZoom:{type:Number},paddingBottomRight:{type:[Object,Array]},paddingTopLeft:{type:Object},padding:{type:Object},worldCopyJump:{type:Boolean,default:void 0},crs:{type:[String,Object]},maxBoundsViscosity:{type:Number},inertia:{type:Boolean,default:void 0},inertiaDeceleration:{type:Number},inertiaMaxSpeed:{type:Number},easeLinearity:{type:Number},zoomAnimation:{type:Boolean,default:void 0},zoomAnimationThreshold:{type:Number},fadeAnimation:{type:Boolean,default:void 0},markerZoomAnimation:{type:Boolean,default:void 0},noBlockingAnimations:{type:Boolean,default:void 0},useGlobalLeaflet:{type:Boolean,default:!0,custom:!0}},h_=de({inheritAttrs:!1,emits:["ready","update:zoom","update:center","update:bounds"],props:hl,setup(e,i){const s=ee(),r=ti({ready:!1,layersToAdd:[],layersInControl:[]}),{options:l}=No(e),u=Ln(e,hl,l),{listeners:h,attrs:p}=zo(i.attrs),d=uo(Zo),g=uo(Su),_=uo(dr),m=uo(Vp);Oe(ni,e.useGlobalLeaflet);const w=Xt(()=>{const N={};return e.noBlockingAnimations&&(N.animate=!1),N}),T=Xt(()=>{const N=w.value;return e.padding&&(N.padding=e.padding),e.paddingTopLeft&&(N.paddingTopLeft=e.paddingTopLeft),e.paddingBottomRight&&(N.paddingBottomRight=e.paddingBottomRight),N}),O={moveend:c_(N=>{r.leafletRef&&(i.emit("update:zoom",r.leafletRef.getZoom()),i.emit("update:center",r.leafletRef.getCenter()),i.emit("update:bounds",r.leafletRef.getBounds()))}),overlayadd(N){const D=r.layersInControl.find(V=>V.name===N.name);D&&D.updateVisibleProp(!0)},overlayremove(N){const D=r.layersInControl.find(V=>V.name===N.name);D&&D.updateVisibleProp(!1)}};xn(async()=>{e.useGlobalLeaflet&&(rn.L=rn.L||await we(()=>Promise.resolve().then(()=>C_),void 0));const{map:N,CRS:D,Icon:V,latLngBounds:I,latLng:U,stamp:at}=e.useGlobalLeaflet?rn.L:await we(()=>import("./leaflet-src.esm-457c3857.js"),[]);try{u.beforeMapMount&&await u.beforeMapMount()}catch(z){console.error(`The following error occurred running the provided beforeMapMount hook ${z.message}`)}await Kp(V);const ct=typeof u.crs=="string"?D[u.crs]:u.crs;u.crs=ct||D.EPSG3857;const J={addLayer(z){z.layerType!==void 0&&(r.layerControl===void 0?r.layersToAdd.push(z):r.layersInControl.find(X=>at(X.leafletObject)===at(z.leafletObject))||(r.layerControl.addLayer(z),r.layersInControl.push(z))),z.visible!==!1&&r.leafletRef.addLayer(z.leafletObject)},removeLayer(z){z.layerType!==void 0&&(r.layerControl===void 0?r.layersToAdd=r.layersToAdd.filter(X=>X.name!==z.name):(r.layerControl.removeLayer(z.leafletObject),r.layersInControl=r.layersInControl.filter(X=>at(X.leafletObject)!==at(z.leafletObject)))),r.leafletRef.removeLayer(z.leafletObject)},registerLayerControl(z){r.layerControl=z,r.layersToAdd.forEach(X=>{r.layerControl.addLayer(X)}),r.layersToAdd=[],_(z)},registerControl(z){r.leafletRef.addControl(z.leafletObject)},setZoom(z){const X=r.leafletRef.getZoom();z!==X&&r.leafletRef.setZoom(z,w.value)},setCrs(z){const X=r.leafletRef.getBounds();r.leafletRef.options.crs=z,r.leafletRef.fitBounds(X,{animate:!1,padding:[0,0]})},fitBounds(z){r.leafletRef.fitBounds(z,T.value)},setBounds(z){if(!z)return;const X=I(z);X.isValid()&&!(r.lastSetBounds||r.leafletRef.getBounds()).equals(X,0)&&(r.lastSetBounds=X,r.leafletRef.fitBounds(X))},setCenter(z){if(z==null)return;const X=U(z),lt=r.lastSetCenter||r.leafletRef.getCenter();(lt.lat!==X.lat||lt.lng!==X.lng)&&(r.lastSetCenter=X,r.leafletRef.panTo(X,w.value))}};co(d,J.addLayer),co(g,J.removeLayer),co(_,J.registerControl),co(m,J.registerLayerControl),r.leafletRef=We(N(s.value,u)),ei(J,r.leafletRef,e),ul(r.leafletRef,O),ul(r.leafletRef,h),r.ready=!0,Ie(()=>i.emit("ready",r.leafletRef))}),Jl(()=>{$p(O),r.leafletRef&&(r.leafletRef.off(),r.leafletRef.remove())});const R=Xt(()=>r.leafletRef),K=Xt(()=>r.ready);return{root:s,ready:K,leafletObject:R,attrs:p}},render({attrs:e}){return e.style||(e.style={}),e.style.width||(e.style.width="100%"),e.style.height||(e.style.height="100%"),Pn("div",{...e,ref:"root"},this.ready&&this.$slots.default?this.$slots.default():{})}});({...ii});const f_={...Mu,smoothFactor:{type:Number},noClip:{type:Boolean,default:void 0},latLngs:{type:Array,required:!0,custom:!0}},fl={...f_},Ru={...zi,content:{type:String,default:null}};({...Ru});({...fl,latLngs:{...fl.latLngs}});const _r={...pr,tms:{type:Boolean,default:void 0},subdomains:{type:[String,Array],validator:e=>typeof e=="string"?!0:Array.isArray(e)?e.every(i=>typeof i=="string"):!1},detectRetina:{type:Boolean,default:void 0},url:{type:String,required:!0,custom:!0}},d_=(e,i,s)=>{const{options:r,methods:l}=ku(e,i,s),u=Ln(e,_r,r),h={...l};return{options:u,methods:h}},p_=de({props:_r,setup(e,i){const s=ee(),r=Ut(ni),l=Fe(Zo),{options:u,methods:h}=d_(e,s,i);return xn(async()=>{const{tileLayer:p}=r?rn.L:await we(()=>import("./leaflet-src.esm-457c3857.js"),[]);s.value=We(p(e.url,u));const{listeners:d}=zo(i.attrs);s.value.on(d),ei(h,s.value,e),l({...e,...h,leafletObject:s.value}),Ie(()=>i.emit("ready",s.value))}),{leafletObject:s}},render(){return null}});({...Ru});({..._r});const __={key:0,class:"w-64 md:w-[256px] lg:w-[512px] px-2 max-h-[75vh] md:max-w-max overflow-y-auto"},m_=Ae("h1",{class:"text-slate-950 text-lg sm:text-xl font-bold py-2"}," Maintainers of Active Layers: ",-1),g_={class:"text-slate-800 text-sm sm:text-base font-bold"},v_={key:0},y_=["href"],b_={class:"list-disc list-inside"},w_=["href"],x_={key:1,class:"text-zinc-900"},P_=de({__name:"MaintainersViewerControl",setup(e){const i=fr(),s=ee(!1);return(r,l)=>(te(),Ao(Vt(r_),{class:"leaflet-control-maintainers leaflet-control",position:"topright","aria-haspopup":"true",onMouseover:l[0]||(l[0]=u=>s.value=!0),onMouseleave:l[1]||(l[1]=u=>s.value=!1)},{default:$n(()=>[Ae("a",{class:Co({"leaflet-control-maintainers-toggle":!s.value}),href:"#",title:"Maintainers",role:"button"},null,2),s.value?(te(),Se("section",__,[m_,(te(!0),Se(he,null,Ca(Vt(i).maintainersOfActiveLayers,(u,h)=>(te(),Se("div",{class:"mb-2",key:h},[Ae("h2",g_,[Ai(ps(u.maintainedMapTitle)+" ",1),u.contributionInfo?(te(),Se("span",v_,[Ai(" - "),Ae("a",{href:u.contributionInfo.uri,target:"_blank"}," Contribute ",8,y_)])):Is("",!0)]),Ae("ul",b_,[(te(!0),Se(he,null,Ca(u.maintainers,p=>(te(),Se("li",{class:"text-sm",key:p.title},[p.uri.length>0?(te(),Se("a",{key:0,href:p.uri,target:"_blank"},ps(p.title),9,w_)):(te(),Se("span",x_,ps(p.title),1))]))),128))])]))),128))])):Is("",!0)]),_:1}))}});var L_=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function T_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var js={exports:{}};/* @preserve + * Leaflet 1.9.3, a JS library for interactive maps. https://leafletjs.com + * (c) 2010-2022 Vladimir Agafonkin, (c) 2010-2011 CloudMade + */(function(e,i){(function(s,r){r(i)})(L_,function(s){var r="1.9.3";function l(t){var n,o,a,c;for(o=1,a=arguments.length;o"u"||!L||!L.Mixin)){t=V(t)?t:[t];for(var n=0;n0?Math.floor(t):Math.ceil(t)};$.prototype={clone:function(){return new $(this.x,this.y)},add:function(t){return this.clone()._add(nt(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(nt(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new $(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new $(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=re(this.x),this.y=re(this.y),this},distanceTo:function(t){t=nt(t);var n=t.x-this.x,o=t.y-this.y;return Math.sqrt(n*n+o*o)},equals:function(t){return t=nt(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=nt(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+w(this.x)+", "+w(this.y)+")"}};function nt(t,n,o){return t instanceof $?t:V(t)?new $(t[0],t[1]):t==null?t:typeof t=="object"&&"x"in t&&"y"in t?new $(t.x,t.y):new $(t,n,o)}function gt(t,n){if(t)for(var o=n?[t,n]:t,a=0,c=o.length;a=this.min.x&&o.x<=this.max.x&&n.y>=this.min.y&&o.y<=this.max.y},intersects:function(t){t=Ct(t);var n=this.min,o=this.max,a=t.min,c=t.max,f=c.x>=n.x&&a.x<=o.x,y=c.y>=n.y&&a.y<=o.y;return f&&y},overlaps:function(t){t=Ct(t);var n=this.min,o=this.max,a=t.min,c=t.max,f=c.x>n.x&&a.xn.y&&a.y=n.lat&&c.lat<=o.lat&&a.lng>=n.lng&&c.lng<=o.lng},intersects:function(t){t=Ot(t);var n=this._southWest,o=this._northEast,a=t.getSouthWest(),c=t.getNorthEast(),f=c.lat>=n.lat&&a.lat<=o.lat,y=c.lng>=n.lng&&a.lng<=o.lng;return f&&y},overlaps:function(t){t=Ot(t);var n=this._southWest,o=this._northEast,a=t.getSouthWest(),c=t.getNorthEast(),f=c.lat>n.lat&&a.latn.lng&&a.lng1,Hu=function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",m,n),window.removeEventListener("testPassiveEventSupport",m,n)}catch{}return t}(),Wu=function(){return!!document.createElement("canvas").getContext}(),Do=!!(document.createElementNS&&E("svg").createSVGRect),Uu=!!Do&&function(){var t=document.createElement("div");return t.innerHTML="",(t.firstChild&&t.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),$u=!Do&&function(){try{var t=document.createElement("div");t.innerHTML='';var n=t.firstChild;return n.style.behavior="url(#default#VML)",n&&typeof n.adj=="object"}catch{return!1}}(),qu=navigator.platform.indexOf("Mac")===0,Ku=navigator.platform.indexOf("Linux")===0;function Pe(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var tt={ie:H,ielt9:Z,edge:F,webkit:B,android:Q,android23:G,androidStock:st,opera:dt,chrome:Et,gecko:Tt,safari:Bt,phantom:ne,opera12:ke,win:Zi,ie3d:$e,webkit3d:Tn,gecko3d:Yt,any3d:ae,mobile:qe,mobileWebkit:zu,mobileWebkit3d:Zu,msPointer:gr,pointer:vr,touch:Nu,touchNative:yr,mobileOpera:Du,mobileGecko:Fu,retina:ju,passiveEvents:Hu,canvas:Wu,svg:Do,vml:$u,inlineSvg:Uu,mac:qu,linux:Ku},br=tt.msPointer?"MSPointerDown":"pointerdown",wr=tt.msPointer?"MSPointerMove":"pointermove",xr=tt.msPointer?"MSPointerUp":"pointerup",Pr=tt.msPointer?"MSPointerCancel":"pointercancel",Fo={touchstart:br,touchmove:wr,touchend:xr,touchcancel:Pr},Lr={touchstart:Qu,touchmove:Ni,touchend:Ni,touchcancel:Ni},Cn={},Tr=!1;function Vu(t,n,o){return n==="touchstart"&&Xu(),Lr[n]?(o=Lr[n].bind(this,o),t.addEventListener(Fo[n],o,!1),o):(console.warn("wrong event specified:",n),m)}function Gu(t,n,o){if(!Fo[n]){console.warn("wrong event specified:",n);return}t.removeEventListener(Fo[n],o,!1)}function Yu(t){Cn[t.pointerId]=t}function Ju(t){Cn[t.pointerId]&&(Cn[t.pointerId]=t)}function Cr(t){delete Cn[t.pointerId]}function Xu(){Tr||(document.addEventListener(br,Yu,!0),document.addEventListener(wr,Ju,!0),document.addEventListener(xr,Cr,!0),document.addEventListener(Pr,Cr,!0),Tr=!0)}function Ni(t,n){if(n.pointerType!==(n.MSPOINTER_TYPE_MOUSE||"mouse")){n.touches=[];for(var o in Cn)n.touches.push(Cn[o]);n.changedTouches=[n],t(n)}}function Qu(t,n){n.MSPOINTER_TYPE_TOUCH&&n.pointerType===n.MSPOINTER_TYPE_TOUCH&&Kt(n),Ni(t,n)}function tc(t){var n={},o,a;for(a in t)o=t[a],n[a]=o&&o.bind?o.bind(t):o;return t=n,n.type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}var ec=200;function nc(t,n){t.addEventListener("dblclick",n);var o=0,a;function c(f){if(f.detail!==1){a=f.detail;return}if(!(f.pointerType==="mouse"||f.sourceCapabilities&&!f.sourceCapabilities.firesTouchEvents)){var y=Ar(f);if(!(y.some(function(C){return C instanceof HTMLLabelElement&&C.attributes.for})&&!y.some(function(C){return C instanceof HTMLInputElement||C instanceof HTMLSelectElement}))){var P=Date.now();P-o<=ec?(a++,a===2&&n(tc(f))):a=1,o=P}}}return t.addEventListener("click",c),{dblclick:n,simDblclick:c}}function ic(t,n){t.removeEventListener("dblclick",n.dblclick),t.removeEventListener("click",n.simDblclick)}var jo=ji(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),si=ji(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Er=si==="webkitTransition"||si==="OTransition"?si+"End":"transitionend";function Sr(t){return typeof t=="string"?document.getElementById(t):t}function ri(t,n){var o=t.style[n]||t.currentStyle&&t.currentStyle[n];if((!o||o==="auto")&&document.defaultView){var a=document.defaultView.getComputedStyle(t,null);o=a?a[n]:null}return o==="auto"?null:o}function Pt(t,n,o){var a=document.createElement(t);return a.className=n||"",o&&o.appendChild(a),a}function Rt(t){var n=t.parentNode;n&&n.removeChild(t)}function Di(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function En(t){var n=t.parentNode;n&&n.lastChild!==t&&n.appendChild(t)}function Sn(t){var n=t.parentNode;n&&n.firstChild!==t&&n.insertBefore(t,n.firstChild)}function Ho(t,n){if(t.classList!==void 0)return t.classList.contains(n);var o=Fi(t);return o.length>0&&new RegExp("(^|\\s)"+n+"(\\s|$)").test(o)}function pt(t,n){if(t.classList!==void 0)for(var o=O(n),a=0,c=o.length;a0?2*window.devicePixelRatio:1;function kr(t){return tt.edge?t.wheelDeltaY/2:t.deltaY&&t.deltaMode===0?-t.deltaY/rc:t.deltaY&&t.deltaMode===1?-t.deltaY*20:t.deltaY&&t.deltaMode===2?-t.deltaY*60:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?-t.detail*20:t.detail?t.detail/-32765*60:0}function ts(t,n){var o=n.relatedTarget;if(!o)return!0;try{for(;o&&o!==t;)o=o.parentNode}catch{return!1}return o!==t}var ac={__proto__:null,on:ht,off:Mt,stopPropagation:cn,disableScrollPropagation:Qo,disableClickPropagation:ci,preventDefault:Kt,stop:hn,getPropagationPath:Ar,getMousePosition:Ir,getWheelDelta:kr,isExternalTarget:ts,addListener:ht,removeListener:Mt},Rr=_t.extend({run:function(t,n,o,a){this.stop(),this._el=t,this._inProgress=!0,this._duration=o||.25,this._easeOutPower=1/Math.max(a||.5,.2),this._startPos=un(t),this._offset=n.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=lt(this._animate,this),this._step()},_step:function(t){var n=+new Date-this._startTime,o=this._duration*1e3;nthis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,n){this._enforcingBounds=!0;var o=this.getCenter(),a=this._limitCenter(o,this._zoom,Ot(t));return o.equals(a)||this.panTo(a,n),this._enforcingBounds=!1,this},panInside:function(t,n){n=n||{};var o=nt(n.paddingTopLeft||n.padding||[0,0]),a=nt(n.paddingBottomRight||n.padding||[0,0]),c=this.project(this.getCenter()),f=this.project(t),y=this.getPixelBounds(),P=Ct([y.min.add(o),y.max.subtract(a)]),C=P.getSize();if(!P.contains(f)){this._enforcingBounds=!0;var A=f.subtract(P.getCenter()),q=P.extend(f).getSize().subtract(C);c.x+=A.x<0?-q.x:q.x,c.y+=A.y<0?-q.y:q.y,this.panTo(this.unproject(c),n),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=l({animate:!1,pan:!0},t===!0?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),a=n.divideBy(2).round(),c=o.divideBy(2).round(),f=a.subtract(c);return!f.x&&!f.y?this:(t.animate&&t.pan?this.panBy(f):(t.pan&&this._rawPanBy(f),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(h(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:o}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=l({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=h(this._handleGeolocationResponse,this),o=h(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,o,t):navigator.geolocation.getCurrentPosition(n,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 n=t.code,o=t.message||(n===1?"permission denied":n===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:n,message:"Geolocation error: "+o+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var n=t.coords.latitude,o=t.coords.longitude,a=new bt(n,o),c=a.toBounds(t.coords.accuracy*2),f=this._locateOptions;if(f.setView){var y=this.getBoundsZoom(c);this.setView(a,f.maxZoom?Math.min(y,f.maxZoom):y)}var P={latlng:a,bounds:c,timestamp:t.timestamp};for(var C in t.coords)typeof t.coords[C]=="number"&&(P[C]=t.coords[C]);this.fire("locationfound",P)}},addHandler:function(t,n){if(!n)return this;var o=this[t]=new n(this);return this._handlers.push(o),this.options[t]&&o.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{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),Rt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(Lt(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var t;for(t in this._layers)this._layers[t].remove();for(t in this._panes)Rt(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,n){var o="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),a=Pt("div",o,n||this._mapPane);return t&&(this._panes[t]=a),a},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(),n=this.unproject(t.getBottomLeft()),o=this.unproject(t.getTopRight());return new Zt(n,o)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,n,o){t=Ot(t),o=nt(o||[0,0]);var a=this.getZoom()||0,c=this.getMinZoom(),f=this.getMaxZoom(),y=t.getNorthWest(),P=t.getSouthEast(),C=this.getSize().subtract(o),A=Ct(this.project(P,a),this.project(y,a)).getSize(),q=tt.any3d?this.options.zoomSnap:1,rt=C.x/A.x,mt=C.y/A.y,ce=n?Math.max(rt,mt):Math.min(rt,mt);return a=this.getScaleZoom(ce,a),q&&(a=Math.round(a/(q/100))*(q/100),a=n?Math.ceil(a/q)*q:Math.floor(a/q)*q),Math.max(c,Math.min(f,a))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new $(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,n){var o=this._getTopLeftPoint(t,n);return new gt(o,o.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(t===void 0?this.getZoom():t)},getPane:function(t){return typeof t=="string"?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,n){var o=this.options.crs;return n=n===void 0?this._zoom:n,o.scale(t)/o.scale(n)},getScaleZoom:function(t,n){var o=this.options.crs;n=n===void 0?this._zoom:n;var a=o.zoom(t*o.scale(n));return isNaN(a)?1/0:a},project:function(t,n){return n=n===void 0?this._zoom:n,this.options.crs.latLngToPoint(ut(t),n)},unproject:function(t,n){return n=n===void 0?this._zoom:n,this.options.crs.pointToLatLng(nt(t),n)},layerPointToLatLng:function(t){var n=nt(t).add(this.getPixelOrigin());return this.unproject(n)},latLngToLayerPoint:function(t){var n=this.project(ut(t))._round();return n._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(ut(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(Ot(t))},distance:function(t,n){return this.options.crs.distance(ut(t),ut(n))},containerPointToLayerPoint:function(t){return nt(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return nt(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var n=this.containerPointToLayerPoint(nt(t));return this.layerPointToLatLng(n)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(ut(t)))},mouseEventToContainerPoint:function(t){return Ir(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 n=this._container=Sr(t);if(n){if(n._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");ht(n,"scroll",this._onScroll,this),this._containerId=d(n)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&tt.any3d,pt(t,"leaflet-container"+(tt.touch?" leaflet-touch":"")+(tt.retina?" leaflet-retina":"")+(tt.ielt9?" leaflet-oldie":"")+(tt.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var n=ri(t,"position");n!=="absolute"&&n!=="relative"&&n!=="fixed"&&n!=="sticky"&&(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),jt(this._mapPane,new $(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(pt(t.markerPane,"leaflet-zoom-hide"),pt(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,n,o){jt(this._mapPane,new $(0,0));var a=!this._loaded;this._loaded=!0,n=this._limitZoom(n),this.fire("viewprereset");var c=this._zoom!==n;this._moveStart(c,o)._move(t,n)._moveEnd(c),this.fire("viewreset"),a&&this.fire("load")},_moveStart:function(t,n){return t&&this.fire("zoomstart"),n||this.fire("movestart"),this},_move:function(t,n,o,a){n===void 0&&(n=this._zoom);var c=this._zoom!==n;return this._zoom=n,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),a?o&&o.pinch&&this.fire("zoom",o):((c||o&&o.pinch)&&this.fire("zoom",o),this.fire("move",o)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return Lt(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){jt(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[d(this._container)]=this;var n=t?Mt:ht;n(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&n(window,"resize",this._onResize,this),tt.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){Lt(this._resizeRequest),this._resizeRequest=lt(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,n){for(var o=[],a,c=n==="mouseout"||n==="mouseover",f=t.target||t.srcElement,y=!1;f;){if(a=this._targets[d(f)],a&&(n==="click"||n==="preclick")&&this._draggableMoved(a)){y=!0;break}if(a&&a.listens(n,!0)&&(c&&!ts(f,t)||(o.push(a),c))||f===this._container)break;f=f.parentNode}return!o.length&&!y&&!c&&this.listens(n,!0)&&(o=[this]),o},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var n=t.target||t.srcElement;if(!(!this._loaded||n._leaflet_disable_events||t.type==="click"&&this._isClickDisabled(n))){var o=t.type;o==="mousedown"&&Vo(n),this._fireDOMEvent(t,o)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,o){if(t.type==="click"){var a=l({},t);a.type="preclick",this._fireDOMEvent(a,a.type,o)}var c=this._findEventTargets(t,n);if(o){for(var f=[],y=0;y0?Math.round(t-n)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(n))},_limitZoom:function(t){var n=this.getMinZoom(),o=this.getMaxZoom(),a=tt.any3d?this.options.zoomSnap:1;return a&&(t=Math.round(t/a)*a),Math.max(n,Math.min(o,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){Nt(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,n){var o=this._getCenterOffset(t)._trunc();return(n&&n.animate)!==!0&&!this.getSize().contains(o)?!1:(this.panBy(o,n),!0)},_createAnimProxy:function(){var t=this._proxy=Pt("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(n){var o=jo,a=this._proxy.style[o];ln(this._proxy,this.project(n.center,n.zoom),this.getZoomScale(n.zoom,1)),a===this._proxy.style[o]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Rt(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),n=this.getZoom();ln(this._proxy,this.project(t,n),this.getZoomScale(n,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,n,o){if(this._animatingZoom)return!0;if(o=o||{},!this._zoomAnimated||o.animate===!1||this._nothingToAnimate()||Math.abs(n-this._zoom)>this.options.zoomAnimationThreshold)return!1;var a=this.getZoomScale(n),c=this._getCenterOffset(t)._divideBy(1-1/a);return o.animate!==!0&&!this.getSize().contains(c)?!1:(lt(function(){this._moveStart(!0,!1)._animateZoom(t,n,!0)},this),!0)},_animateZoom:function(t,n,o,a){this._mapPane&&(o&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=n,pt(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:n,noUpdate:a}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(h(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&Nt(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 lc(t,n){return new yt(t,n)}var pe=kt.extend({options:{position:"topright"},initialize:function(t){R(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var n=this._map;return n&&n.removeControl(this),this.options.position=t,n&&n.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var n=this._container=this.onAdd(t),o=this.getPosition(),a=t._controlCorners[o];return pt(n,"leaflet-control"),o.indexOf("bottom")!==-1?a.insertBefore(n,a.firstChild):a.appendChild(n),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Rt(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()}}),hi=function(t){return new pe(t)};yt.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},n="leaflet-",o=this._controlContainer=Pt("div",n+"control-container",this._container);function a(c,f){var y=n+c+" "+n+f;t[c+f]=Pt("div",y,o)}a("top","left"),a("top","right"),a("bottom","left"),a("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)Rt(this._controlCorners[t]);Rt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Br=pe.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,n,o,a){return o1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=n&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var n=this._getLayer(d(t.target)),o=n.overlay?t.type==="add"?"overlayadd":"overlayremove":t.type==="add"?"baselayerchange":null;o&&this._map.fire(o,n)},_createRadioElement:function(t,n){var o='",a=document.createElement("div");return a.innerHTML=o,a.firstChild},_addItem:function(t){var n=document.createElement("label"),o=this._map.hasLayer(t.layer),a;t.overlay?(a=document.createElement("input"),a.type="checkbox",a.className="leaflet-control-layers-selector",a.defaultChecked=o):a=this._createRadioElement("leaflet-base-layers_"+d(this),o),this._layerControlInputs.push(a),a.layerId=d(t.layer),ht(a,"click",this._onInputClick,this);var c=document.createElement("span");c.innerHTML=" "+t.name;var f=document.createElement("span");n.appendChild(f),f.appendChild(a),f.appendChild(c);var y=t.overlay?this._overlaysList:this._baseLayersList;return y.appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t=this._layerControlInputs,n,o,a=[],c=[];this._handlingClick=!0;for(var f=t.length-1;f>=0;f--)n=t[f],o=this._getLayer(n.layerId).layer,n.checked?a.push(o):n.checked||c.push(o);for(f=0;f=0;c--)n=t[c],o=this._getLayer(n.layerId).layer,n.disabled=o.options.minZoom!==void 0&&ao.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;ht(t,"click",Kt),this.expand(),setTimeout(function(){Mt(t,"click",Kt)})}}),uc=function(t,n,o){return new Br(t,n,o)},es=pe.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(t){var n="leaflet-control-zoom",o=Pt("div",n+" leaflet-bar"),a=this.options;return this._zoomInButton=this._createButton(a.zoomInText,a.zoomInTitle,n+"-in",o,this._zoomIn),this._zoomOutButton=this._createButton(a.zoomOutText,a.zoomOutTitle,n+"-out",o,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),o},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,n,o,a,c){var f=Pt("a",o,a);return f.innerHTML=t,f.href="#",f.title=n,f.setAttribute("role","button"),f.setAttribute("aria-label",n),ci(f),ht(f,"click",hn),ht(f,"click",c,this),ht(f,"click",this._refocusOnMap,this),f},_updateDisabled:function(){var t=this._map,n="leaflet-disabled";Nt(this._zoomInButton,n),Nt(this._zoomOutButton,n),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(pt(this._zoomOutButton,n),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(pt(this._zoomInButton,n),this._zoomInButton.setAttribute("aria-disabled","true"))}});yt.mergeOptions({zoomControl:!0}),yt.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new es,this.addControl(this.zoomControl))});var cc=function(t){return new es(t)},zr=pe.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var n="leaflet-control-scale",o=Pt("div",n),a=this.options;return this._addScales(a,n+"-line",o),t.on(a.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),o},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,n,o){t.metric&&(this._mScale=Pt("div",n,o)),t.imperial&&(this._iScale=Pt("div",n,o))},_update:function(){var t=this._map,n=t.getSize().y/2,o=t.distance(t.containerPointToLatLng([0,n]),t.containerPointToLatLng([this.options.maxWidth,n]));this._updateScales(o)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var n=this._getRoundNum(t),o=n<1e3?n+" m":n/1e3+" km";this._updateScale(this._mScale,o,n/t)},_updateImperial:function(t){var n=t*3.2808399,o,a,c;n>5280?(o=n/5280,a=this._getRoundNum(o),this._updateScale(this._iScale,a+" mi",a/o)):(c=this._getRoundNum(n),this._updateScale(this._iScale,c+" ft",c/n))},_updateScale:function(t,n,o){t.style.width=Math.round(this.options.maxWidth*o)+"px",t.innerHTML=n},_getRoundNum:function(t){var n=Math.pow(10,(Math.floor(t)+"").length-1),o=t/n;return o=o>=10?10:o>=5?5:o>=3?3:o>=2?2:1,n*o}}),hc=function(t){return new zr(t)},fc='',ns=pe.extend({options:{position:"bottomright",prefix:''+(tt.inlineSvg?fc+" ":"")+"Leaflet"},initialize:function(t){R(this,t),this._attributions={}},onAdd:function(t){t.attributionControl=this,this._container=Pt("div","leaflet-control-attribution"),ci(this._container);for(var n in t._layers)t._layers[n].getAttribution&&this.addAttribution(t._layers[n].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 n in this._attributions)this._attributions[n]&&t.push(n);var o=[];this.options.prefix&&o.push(this.options.prefix),t.length&&o.push(t.join(", ")),this._container.innerHTML=o.join(' ')}}});yt.mergeOptions({attributionControl:!0}),yt.addInitHook(function(){this.options.attributionControl&&new ns().addTo(this)});var dc=function(t){return new ns(t)};pe.Layers=Br,pe.Zoom=es,pe.Scale=zr,pe.Attribution=ns,hi.layers=uc,hi.zoom=cc,hi.scale=hc,hi.attribution=dc;var Te=kt.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Te.addTo=function(t,n){return t.addHandler(n,this),this};var pc={Events:it},Zr=tt.touch?"touchstart mousedown":"mousedown",Ke=_t.extend({options:{clickTolerance:3},initialize:function(t,n,o,a){R(this,a),this._element=t,this._dragStartTarget=n||t,this._preventOutline=o},enable:function(){this._enabled||(ht(this._dragStartTarget,Zr,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Ke._dragging===this&&this.finishDrag(!0),Mt(this._dragStartTarget,Zr,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!Ho(this._element,"leaflet-zoom-anim"))){if(t.touches&&t.touches.length!==1){Ke._dragging===this&&this.finishDrag();return}if(!(Ke._dragging||t.shiftKey||t.which!==1&&t.button!==1&&!t.touches)&&(Ke._dragging=this,this._preventOutline&&Vo(this._element),$o(),ai(),!this._moving)){this.fire("down");var n=t.touches?t.touches[0]:t,o=Mr(this._element);this._startPoint=new $(n.clientX,n.clientY),this._startPos=un(this._element),this._parentScale=Go(o);var a=t.type==="mousedown";ht(document,a?"mousemove":"touchmove",this._onMove,this),ht(document,a?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(t){if(this._enabled){if(t.touches&&t.touches.length>1){this._moved=!0;return}var n=t.touches&&t.touches.length===1?t.touches[0]:t,o=new $(n.clientX,n.clientY)._subtract(this._startPoint);!o.x&&!o.y||Math.abs(o.x)+Math.abs(o.y)f&&(y=P,f=C);f>o&&(n[y]=1,is(t,n,o,a,y),is(t,n,o,y,c))}function gc(t,n){for(var o=[t[0]],a=1,c=0,f=t.length;an&&(o.push(t[a]),c=a);return cn.max.x&&(o|=2),t.yn.max.y&&(o|=8),o}function vc(t,n){var o=n.x-t.x,a=n.y-t.y;return o*o+a*a}function fi(t,n,o,a){var c=n.x,f=n.y,y=o.x-c,P=o.y-f,C=y*y+P*P,A;return C>0&&(A=((t.x-c)*y+(t.y-f)*P)/C,A>1?(c=o.x,f=o.y):A>0&&(c+=y*A,f+=P*A)),y=t.x-c,P=t.y-f,a?y*y+P*P:new $(c,f)}function ue(t){return!V(t[0])||typeof t[0][0]!="object"&&typeof t[0][0]<"u"}function Hr(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),ue(t)}function Wr(t,n){var o,a,c,f,y,P,C,A;if(!t||t.length===0)throw new Error("latlngs not passed");ue(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var q=[];for(var rt in t)q.push(n.project(ut(t[rt])));var mt=q.length;for(o=0,a=0;oa){C=(f-a)/c,A=[P.x-C*(P.x-y.x),P.y-C*(P.y-y.y)];break}return n.unproject(nt(A))}var yc={__proto__:null,simplify:Nr,pointToSegmentDistance:Dr,closestPointOnSegment:_c,clipSegment:jr,_getEdgeIntersection:Ui,_getBitCode:fn,_sqClosestPointOnSegment:fi,isFlat:ue,_flat:Hr,polylineCenter:Wr};function Ur(t,n,o){var a,c=[1,4,2,8],f,y,P,C,A,q,rt,mt;for(f=0,q=t.length;f1e-7;P++)A=c*Math.sin(y),A=Math.pow((1-A)/(1+A),c/2),C=Math.PI/2-2*Math.atan(f*A)-y,y+=C;return new bt(y*n,t.x*n/o)}},wc={__proto__:null,LonLat:os,Mercator:ss,SphericalMercator:Y},xc=l({},W,{code:"EPSG:3395",projection:ss,transformation:function(){var t=.5/(Math.PI*ss.R);return v(t,.5,-t,.5)}()}),qr=l({},W,{code:"EPSG:4326",projection:os,transformation:v(1/180,1,-1/180,.5)}),Pc=l({},S,{projection:os,transformation:v(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,n){var o=n.lng-t.lng,a=n.lat-t.lat;return Math.sqrt(o*o+a*a)},infinite:!0});S.Earth=W,S.EPSG3395=xc,S.EPSG3857=b,S.EPSG900913=x,S.EPSG4326=qr,S.Simple=Pc;var _e=_t.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[d(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[d(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var n=t.target;if(n.hasLayer(this)){if(this._map=n,this._zoomAnimated=n._zoomAnimated,this.getEvents){var o=this.getEvents();n.on(o,this),this.once("remove",function(){n.off(o,this)},this)}this.onAdd(n),this.fire("add"),n.fire("layeradd",{layer:this})}}});yt.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var n=d(t);return this._layers[n]?this:(this._layers[n]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t),this)},removeLayer:function(t){var n=d(t);return this._layers[n]?(this._loaded&&t.onRemove(this),delete this._layers[n],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return d(t)in this._layers},eachLayer:function(t,n){for(var o in this._layers)t.call(n,this._layers[o]);return this},_addLayers:function(t){t=t?V(t)?t:[t]:[];for(var n=0,o=t.length;nthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&n[0]instanceof bt&&n[0].equals(n[o-1])&&n.pop(),n},_setLatLngs:function(t){Be.prototype._setLatLngs.call(this,t),ue(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return ue(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,n=this.options.weight,o=new $(n,n);if(t=new gt(t.min.subtract(o),t.max.add(o)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(t))){if(this.options.noClip){this._parts=this._rings;return}for(var a=0,c=this._rings.length,f;at.y!=c.y>t.y&&t.x<(c.x-a.x)*(t.y-a.y)/(c.y-a.y)+a.x&&(n=!n);return n||Be.prototype._containsPoint.call(this,t,!0)}});function Ac(t,n){return new An(t,n)}var ze=Re.extend({initialize:function(t,n){R(this,n),this._layers={},t&&this.addData(t)},addData:function(t){var n=V(t)?t:t.features,o,a,c;if(n){for(o=0,a=n.length;o0?a:[n.src];return}V(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(n.style,"objectFit")&&(n.style.objectFit="fill"),n.autoplay=!!this.options.autoplay,n.loop=!!this.options.loop,n.muted=!!this.options.muted,n.playsInline=!!this.options.playsInline;for(var f=0;fc?(n.height=c+"px",pt(t,f)):Nt(t,f),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var n=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),o=this._getAnchor();jt(this._container,n.add(o))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var t=this._map,n=parseInt(ri(this._container,"marginBottom"),10)||0,o=this._container.offsetHeight+n,a=this._containerWidth,c=new $(this._containerLeft,-o-this._containerBottom);c._add(un(this._container));var f=t.layerPointToContainerPoint(c),y=nt(this.options.autoPanPadding),P=nt(this.options.autoPanPaddingTopLeft||y),C=nt(this.options.autoPanPaddingBottomRight||y),A=t.getSize(),q=0,rt=0;f.x+a+C.x>A.x&&(q=f.x+a-A.x+C.x),f.x-q-P.x<0&&(q=f.x-P.x),f.y+o+C.y>A.y&&(rt=f.y+o-A.y+C.y),f.y-rt-P.y<0&&(rt=f.y-P.y),(q||rt)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([q,rt]))}},_getAnchor:function(){return nt(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),zc=function(t,n){return new Xi(t,n)};yt.mergeOptions({closePopupOnClick:!0}),yt.include({openPopup:function(t,n,o){return this._initOverlay(Xi,t,n,o).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),_e.include({bindPopup:function(t,n){return this._popup=this._initOverlay(Xi,this._popup,t,n),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 Re||(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():!1},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(!(!this._popup||!this._map)){hn(t);var n=t.layer||t.target;if(this._popup._source===n&&!(n instanceof Ve)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng);return}this._popup._source=n,this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){t.originalEvent.keyCode===13&&this._openPopup(t)}});var Qi=Ce.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){Ce.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){Ce.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=Ce.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip",n=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=Pt("div",n),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+d(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var n,o,a=this._map,c=this._container,f=a.latLngToContainerPoint(a.getCenter()),y=a.layerPointToContainerPoint(t),P=this.options.direction,C=c.offsetWidth,A=c.offsetHeight,q=nt(this.options.offset),rt=this._getAnchor();P==="top"?(n=C/2,o=A):P==="bottom"?(n=C/2,o=0):P==="center"?(n=C/2,o=A/2):P==="right"?(n=0,o=A/2):P==="left"?(n=C,o=A/2):y.xthis.options.maxZoom||oa?this._retainParent(c,f,y,a):!1)},_retainChildren:function(t,n,o,a){for(var c=2*t;c<2*t+2;c++)for(var f=2*n;f<2*n+2;f++){var y=new $(c,f);y.z=o+1;var P=this._tileCoordsToKey(y),C=this._tiles[P];if(C&&C.active){C.retain=!0;continue}else C&&C.loaded&&(C.retain=!0);o+1this.options.maxZoom||this.options.minZoom!==void 0&&c1){this._setView(t,o);return}for(var rt=c.min.y;rt<=c.max.y;rt++)for(var mt=c.min.x;mt<=c.max.x;mt++){var ce=new $(mt,rt);if(ce.z=this._tileZoom,!!this._isValidTile(ce)){var dn=this._tiles[this._tileCoordsToKey(ce)];dn?dn.current=!0:y.push(ce)}}if(y.sort(function(Ge,cs){return Ge.distanceTo(f)-cs.distanceTo(f)}),y.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var eo=document.createDocumentFragment();for(mt=0;mto.max.x)||!n.wrapLat&&(t.yo.max.y))return!1}if(!this.options.bounds)return!0;var a=this._tileCoordsToBounds(t);return Ot(this.options.bounds).overlaps(a)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var n=this._map,o=this.getTileSize(),a=t.scaleBy(o),c=a.add(o),f=n.unproject(a,t.z),y=n.unproject(c,t.z);return[f,y]},_tileCoordsToBounds:function(t){var n=this._tileCoordsToNwSe(t),o=new Zt(n[0],n[1]);return this.options.noWrap||(o=this._map.wrapLatLngBounds(o)),o},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var n=t.split(":"),o=new $(+n[0],+n[1]);return o.z=+n[2],o},_removeTile:function(t){var n=this._tiles[t];n&&(Rt(n.el),delete this._tiles[t],this.fire("tileunload",{tile:n.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){pt(t,"leaflet-tile");var n=this.getTileSize();t.style.width=n.x+"px",t.style.height=n.y+"px",t.onselectstart=m,t.onmousemove=m,tt.ielt9&&this.options.opacity<1&&le(t,this.options.opacity)},_addTile:function(t,n){var o=this._getTilePos(t),a=this._tileCoordsToKey(t),c=this.createTile(this._wrapCoords(t),h(this._tileReady,this,t));this._initTile(c),this.createTile.length<2&<(h(this._tileReady,this,t,null,c)),jt(c,o),this._tiles[a]={el:c,coords:t,current:!0},n.appendChild(c),this.fire("tileloadstart",{tile:c,coords:t})},_tileReady:function(t,n,o){n&&this.fire("tileerror",{error:n,tile:o,coords:t});var a=this._tileCoordsToKey(t);o=this._tiles[a],o&&(o.loaded=+new Date,this._map._fadeAnimated?(le(o.el,0),Lt(this._fadeFrame),this._fadeFrame=lt(this._updateOpacity,this)):(o.active=!0,this._pruneTiles()),n||(pt(o.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:o.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),tt.ielt9||!this._map._fadeAnimated?lt(this._pruneTiles,this):setTimeout(h(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var n=new $(this._wrapX?_(t.x,this._wrapX):t.x,this._wrapY?_(t.y,this._wrapY):t.y);return n.z=t.z,n},_pxBoundsToTileRange:function(t){var n=this.getTileSize();return new gt(t.min.unscaleBy(n).floor(),t.max.unscaleBy(n).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function Dc(t){return new pi(t)}var kn=pi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,n){this._url=t,n=R(this,n),n.detectRetina&&tt.retina&&n.maxZoom>0?(n.tileSize=Math.floor(n.tileSize/2),n.zoomReverse?(n.zoomOffset--,n.minZoom=Math.min(n.maxZoom,n.minZoom+1)):(n.zoomOffset++,n.maxZoom=Math.max(n.minZoom,n.maxZoom-1)),n.minZoom=Math.max(0,n.minZoom)):n.zoomReverse?n.minZoom=Math.min(n.maxZoom,n.minZoom):n.maxZoom=Math.max(n.minZoom,n.maxZoom),typeof n.subdomains=="string"&&(n.subdomains=n.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,n){return this._url===t&&n===void 0&&(n=!0),this._url=t,n||this.redraw(),this},createTile:function(t,n){var o=document.createElement("img");return ht(o,"load",h(this._tileOnLoad,this,n,o)),ht(o,"error",h(this._tileOnError,this,n,o)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(o.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(o.referrerPolicy=this.options.referrerPolicy),o.alt="",o.src=this.getTileUrl(t),o},getTileUrl:function(t){var n={r:tt.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&&(n.y=o),n["-y"]=o}return D(this._url,l(n,this.options))},_tileOnLoad:function(t,n){tt.ielt9?setTimeout(h(t,this,null,n),0):t(null,n)},_tileOnError:function(t,n,o){var a=this.options.errorTileUrl;a&&n.getAttribute("src")!==a&&(n.src=a),t(o,n)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,n=this.options.maxZoom,o=this.options.zoomReverse,a=this.options.zoomOffset;return o&&(t=n-t),t+a},_getSubdomain:function(t){var n=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[n]},_abortLoading:function(){var t,n;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&(n=this._tiles[t].el,n.onload=m,n.onerror=m,!n.complete)){n.src=U;var o=this._tiles[t].coords;Rt(n),delete this._tiles[t],this.fire("tileabort",{tile:n,coords:o})}},_removeTile:function(t){var n=this._tiles[t];if(n)return n.el.setAttribute("src",U),pi.prototype._removeTile.call(this,t)},_tileReady:function(t,n,o){if(!(!this._map||o&&o.getAttribute("src")===U))return pi.prototype._tileReady.call(this,t,n,o)}});function Qr(t,n){return new kn(t,n)}var ta=kn.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,n){this._url=t;var o=l({},this.defaultWmsParams);for(var a in n)a in this.options||(o[a]=n[a]);n=R(this,n);var c=n.detectRetina&&tt.retina?2:1,f=this.getTileSize();o.width=f.x*c,o.height=f.y*c,this.wmsParams=o},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var n=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[n]=this._crs.code,kn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var n=this._tileCoordsToNwSe(t),o=this._crs,a=Ct(o.project(n[0]),o.project(n[1])),c=a.min,f=a.max,y=(this._wmsVersion>=1.3&&this._crs===qr?[c.y,c.x,f.y,f.x]:[c.x,c.y,f.x,f.y]).join(","),P=kn.prototype.getTileUrl.call(this,t);return P+K(this.wmsParams,P,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+y},setParams:function(t,n){return l(this.wmsParams,t),n||this.redraw(),this}});function Fc(t,n){return new ta(t,n)}kn.WMS=ta,Qr.wms=Fc;var Ze=_e.extend({options:{padding:.1},initialize:function(t){R(this,t),d(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&pt(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,n){var o=this._map.getZoomScale(n,this._zoom),a=this._map.getSize().multiplyBy(.5+this.options.padding),c=this._map.project(this._center,n),f=a.multiplyBy(-o).add(c).subtract(this._map._getNewPixelOrigin(t,n));tt.any3d?ln(this._container,f,o):jt(this._container,f)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var t in 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,n=this._map.getSize(),o=this._map.containerPointToLayerPoint(n.multiplyBy(-t)).round();this._bounds=new gt(o,o.add(n.multiplyBy(1+t*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ea=Ze.extend({options:{tolerance:0},getEvents:function(){var t=Ze.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Ze.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");ht(t,"mousemove",this._onMouseMove,this),ht(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ht(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){Lt(this._redrawRequest),delete this._ctx,Rt(this._container),Mt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;this._redrawBounds=null;for(var n in this._layers)t=this._layers[n],t._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Ze.prototype._update.call(this);var t=this._bounds,n=this._container,o=t.getSize(),a=tt.retina?2:1;jt(n,t.min),n.width=a*o.x,n.height=a*o.y,n.style.width=o.x+"px",n.style.height=o.y+"px",tt.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){Ze.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[d(t)]=t;var n=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=n),this._drawLast=n,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var n=t._order,o=n.next,a=n.prev;o?o.prev=a:this._drawLast=a,a?a.next=o:this._drawFirst=o,delete t._order,delete this._layers[d(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(typeof t.options.dashArray=="string"){var n=t.options.dashArray.split(/[, ]+/),o=[],a,c;for(c=0;c')}}catch{}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),jc={_initContainer:function(){this._container=Pt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Ze.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var n=t._container=_i("shape");pt(n,"leaflet-vml-shape "+(this.options.className||"")),n.coordsize="1 1",t._path=_i("path"),n.appendChild(t._path),this._updateStyle(t),this._layers[d(t)]=t},_addPath:function(t){var n=t._container;this._container.appendChild(n),t.options.interactive&&t.addInteractiveTarget(n)},_removePath:function(t){var n=t._container;Rt(n),t.removeInteractiveTarget(n),delete this._layers[d(t)]},_updateStyle:function(t){var n=t._stroke,o=t._fill,a=t.options,c=t._container;c.stroked=!!a.stroke,c.filled=!!a.fill,a.stroke?(n||(n=t._stroke=_i("stroke")),c.appendChild(n),n.weight=a.weight+"px",n.color=a.color,n.opacity=a.opacity,a.dashArray?n.dashStyle=V(a.dashArray)?a.dashArray.join(" "):a.dashArray.replace(/( *, *)/g," "):n.dashStyle="",n.endcap=a.lineCap.replace("butt","flat"),n.joinstyle=a.lineJoin):n&&(c.removeChild(n),t._stroke=null),a.fill?(o||(o=t._fill=_i("fill")),c.appendChild(o),o.color=a.fillColor||a.color,o.opacity=a.fillOpacity):o&&(c.removeChild(o),t._fill=null)},_updateCircle:function(t){var n=t._point.round(),o=Math.round(t._radius),a=Math.round(t._radiusY||o);this._setPath(t,t._empty()?"M0 0":"AL "+n.x+","+n.y+" "+o+","+a+" 0,"+65535*360)},_setPath:function(t,n){t._path.v=n},_bringToFront:function(t){En(t._container)},_bringToBack:function(t){Sn(t._container)}},to=tt.vml?_i:E,mi=Ze.extend({_initContainer:function(){this._container=to("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=to("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Rt(this._container),Mt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Ze.prototype._update.call(this);var t=this._bounds,n=t.getSize(),o=this._container;(!this._svgSize||!this._svgSize.equals(n))&&(this._svgSize=n,o.setAttribute("width",n.x),o.setAttribute("height",n.y)),jt(o,t.min),o.setAttribute("viewBox",[t.min.x,t.min.y,n.x,n.y].join(" ")),this.fire("update")}},_initPath:function(t){var n=t._path=to("path");t.options.className&&pt(n,t.options.className),t.options.interactive&&pt(n,"leaflet-interactive"),this._updateStyle(t),this._layers[d(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){Rt(t._path),t.removeInteractiveTarget(t._path),delete this._layers[d(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var n=t._path,o=t.options;n&&(o.stroke?(n.setAttribute("stroke",o.color),n.setAttribute("stroke-opacity",o.opacity),n.setAttribute("stroke-width",o.weight),n.setAttribute("stroke-linecap",o.lineCap),n.setAttribute("stroke-linejoin",o.lineJoin),o.dashArray?n.setAttribute("stroke-dasharray",o.dashArray):n.removeAttribute("stroke-dasharray"),o.dashOffset?n.setAttribute("stroke-dashoffset",o.dashOffset):n.removeAttribute("stroke-dashoffset")):n.setAttribute("stroke","none"),o.fill?(n.setAttribute("fill",o.fillColor||o.color),n.setAttribute("fill-opacity",o.fillOpacity),n.setAttribute("fill-rule",o.fillRule||"evenodd")):n.setAttribute("fill","none"))},_updatePoly:function(t,n){this._setPath(t,M(t._parts,n))},_updateCircle:function(t){var n=t._point,o=Math.max(Math.round(t._radius),1),a=Math.max(Math.round(t._radiusY),1)||o,c="a"+o+","+a+" 0 1,0 ",f=t._empty()?"M0 0":"M"+(n.x-o)+","+n.y+c+o*2+",0 "+c+-o*2+",0 ";this._setPath(t,f)},_setPath:function(t,n){t._path.setAttribute("d",n)},_bringToFront:function(t){En(t._path)},_bringToBack:function(t){Sn(t._path)}});tt.vml&&mi.include(jc);function ia(t){return tt.svg||tt.vml?new mi(t):null}yt.include({getRenderer:function(t){var n=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return n||(n=this._renderer=this._createRenderer()),this.hasLayer(n)||this.addLayer(n),n},_getPaneRenderer:function(t){if(t==="overlayPane"||t===void 0)return!1;var n=this._paneRenderers[t];return n===void 0&&(n=this._createRenderer({pane:t}),this._paneRenderers[t]=n),n},_createRenderer:function(t){return this.options.preferCanvas&&na(t)||ia(t)}});var oa=An.extend({initialize:function(t,n){An.prototype.initialize.call(this,this._boundsToLatLngs(t),n)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=Ot(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function Hc(t,n){return new oa(t,n)}mi.create=to,mi.pointsToPath=M,ze.geometryToLayer=Ki,ze.coordsToLatLng=as,ze.coordsToLatLngs=Vi,ze.latLngToCoords=ls,ze.latLngsToCoords=Gi,ze.getFeature=In,ze.asFeature=Yi,yt.mergeOptions({boxZoom:!0});var sa=Te.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(){ht(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Mt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Rt(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||t.which!==1&&t.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),ai(),$o(),this._startPoint=this._map.mouseEventToContainerPoint(t),ht(document,{contextmenu:hn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=Pt("div","leaflet-zoom-box",this._container),pt(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var n=new gt(this._point,this._startPoint),o=n.getSize();jt(this._box,n.min),this._box.style.width=o.x+"px",this._box.style.height=o.y+"px"},_finish:function(){this._moved&&(Rt(this._box),Nt(this._container,"leaflet-crosshair")),li(),qo(),Mt(document,{contextmenu:hn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if(!(t.which!==1&&t.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(h(this._resetState,this),0);var n=new Zt(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(n).fire("boxzoomend",{boxZoomBounds:n})}},_onKeyDown:function(t){t.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});yt.addInitHook("addHandler","boxZoom",sa),yt.mergeOptions({doubleClickZoom:!0});var ra=Te.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var n=this._map,o=n.getZoom(),a=n.options.zoomDelta,c=t.originalEvent.shiftKey?o-a:o+a;n.options.doubleClickZoom==="center"?n.setZoom(c):n.setZoomAround(t.containerPoint,c)}});yt.addInitHook("addHandler","doubleClickZoom",ra),yt.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var aa=Te.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new Ke(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))}pt(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Nt(this._map._container,"leaflet-grab"),Nt(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 n=Ot(this._map.options.maxBounds);this._offsetLimit=Ct(this._map.latLngToContainerPoint(n.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(n.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 n=this._lastTime=+new Date,o=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(o),this._times.push(n),this._prunePositions(n)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),n=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=n.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,n){return t-(t-n)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var t=this._draggable._newPos.subtract(this._draggable._startPos),n=this._offsetLimit;t.xn.max.x&&(t.x=this._viscousLimit(t.x,n.max.x)),t.y>n.max.y&&(t.y=this._viscousLimit(t.y,n.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,n=Math.round(t/2),o=this._initialWorldOffset,a=this._draggable._newPos.x,c=(a-n+o)%t+n-o,f=(a+n+o)%t-n-o,y=Math.abs(c+o)0?f:-f))-n;this._delta=0,this._startTime=null,y&&(t.options.scrollWheelZoom==="center"?t.setZoom(n+y):t.setZoomAround(this._lastMousePos,n+y))}});yt.addInitHook("addHandler","scrollWheelZoom",ua);var Wc=600;yt.mergeOptions({tapHold:tt.touchNative&&tt.safari&&tt.mobile,tapTolerance:15});var ca=Te.extend({addHooks:function(){ht(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Mt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),t.touches.length===1){var n=t.touches[0];this._startPos=this._newPos=new $(n.clientX,n.clientY),this._holdTimeout=setTimeout(h(function(){this._cancel(),this._isTapValid()&&(ht(document,"touchend",Kt),ht(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",n))},this),Wc),ht(document,"touchend touchcancel contextmenu",this._cancel,this),ht(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){Mt(document,"touchend",Kt),Mt(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),Mt(document,"touchend touchcancel contextmenu",this._cancel,this),Mt(document,"touchmove",this._onMove,this)},_onMove:function(t){var n=t.touches[0];this._newPos=new $(n.clientX,n.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,n){var o=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:n.screenX,screenY:n.screenY,clientX:n.clientX,clientY:n.clientY});o._simulated=!0,n.target.dispatchEvent(o)}});yt.addInitHook("addHandler","tapHold",ca),yt.mergeOptions({touchZoom:tt.touch,bounceAtZoomLimits:!0});var ha=Te.extend({addHooks:function(){pt(this._map._container,"leaflet-touch-zoom"),ht(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){Nt(this._map._container,"leaflet-touch-zoom"),Mt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var n=this._map;if(!(!t.touches||t.touches.length!==2||n._animatingZoom||this._zooming)){var o=n.mouseEventToContainerPoint(t.touches[0]),a=n.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=n.getSize()._divideBy(2),this._startLatLng=n.containerPointToLatLng(this._centerPoint),n.options.touchZoom!=="center"&&(this._pinchStartLatLng=n.containerPointToLatLng(o.add(a)._divideBy(2))),this._startDist=o.distanceTo(a),this._startZoom=n.getZoom(),this._moved=!1,this._zooming=!0,n._stop(),ht(document,"touchmove",this._onTouchMove,this),ht(document,"touchend touchcancel",this._onTouchEnd,this),Kt(t)}},_onTouchMove:function(t){if(!(!t.touches||t.touches.length!==2||!this._zooming)){var n=this._map,o=n.mouseEventToContainerPoint(t.touches[0]),a=n.mouseEventToContainerPoint(t.touches[1]),c=o.distanceTo(a)/this._startDist;if(this._zoom=n.getScaleZoom(c,this._startZoom),!n.options.bounceAtZoomLimits&&(this._zoomn.getMaxZoom()&&c>1)&&(this._zoom=n._limitZoom(this._zoom)),n.options.touchZoom==="center"){if(this._center=this._startLatLng,c===1)return}else{var f=o._add(a)._divideBy(2)._subtract(this._centerPoint);if(c===1&&f.x===0&&f.y===0)return;this._center=n.unproject(n.project(this._pinchStartLatLng,this._zoom).subtract(f),this._zoom)}this._moved||(n._moveStart(!0,!1),this._moved=!0),Lt(this._animRequest);var y=h(n._move,n,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=lt(y,this,!0),Kt(t)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,Lt(this._animRequest),Mt(document,"touchmove",this._onTouchMove,this),Mt(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))}});yt.addInitHook("addHandler","touchZoom",ha),yt.BoxZoom=sa,yt.DoubleClickZoom=ra,yt.Drag=aa,yt.Keyboard=la,yt.ScrollWheelZoom=ua,yt.TapHold=ca,yt.TouchZoom=ha,s.Bounds=gt,s.Browser=tt,s.CRS=S,s.Canvas=ea,s.Circle=rs,s.CircleMarker=qi,s.Class=kt,s.Control=pe,s.DivIcon=Xr,s.DivOverlay=Ce,s.DomEvent=ac,s.DomUtil=sc,s.Draggable=Ke,s.Evented=_t,s.FeatureGroup=Re,s.GeoJSON=ze,s.GridLayer=pi,s.Handler=Te,s.Icon=On,s.ImageOverlay=Ji,s.LatLng=bt,s.LatLngBounds=Zt,s.Layer=_e,s.LayerGroup=Mn,s.LineUtil=yc,s.Map=yt,s.Marker=$i,s.Mixin=pc,s.Path=Ve,s.Point=$,s.PolyUtil=bc,s.Polygon=An,s.Polyline=Be,s.Popup=Xi,s.PosAnimation=Rr,s.Projection=wc,s.Rectangle=oa,s.Renderer=Ze,s.SVG=mi,s.SVGOverlay=Jr,s.TileLayer=kn,s.Tooltip=Qi,s.Transformation=vt,s.Util=Ft,s.VideoOverlay=Yr,s.bind=h,s.bounds=Ct,s.canvas=na,s.circle=Mc,s.circleMarker=Sc,s.control=hi,s.divIcon=Nc,s.extend=l,s.featureGroup=Tc,s.geoJSON=Gr,s.geoJson=Ic,s.gridLayer=Dc,s.icon=Cc,s.imageOverlay=kc,s.latLng=ut,s.latLngBounds=Ot,s.layerGroup=Lc,s.map=lc,s.marker=Ec,s.point=nt,s.polygon=Ac,s.polyline=Oc,s.popup=zc,s.rectangle=Hc,s.setOptions=R,s.stamp=d,s.svg=ia,s.svgOverlay=Bc,s.tileLayer=Qr,s.tooltip=Zc,s.transformation=v,s.version=r,s.videoOverlay=Rc;var Uc=window.L;s.noConflict=function(){return window.L=Uc,this},window.L=s})})(js,js.exports);var Bu=js.exports;const Zn=T_(Bu),C_=Qc({__proto__:null,default:Zn},[Bu]),E_={class:"w-full h-full inline-block"},S_=de({__name:"MainMap",setup(e){const i=fr(),s=Eu(),r=zp(),l=ee(!1);typeof r.query.lat=="string"&&typeof r.query.lng=="string"&&i.setLocation(new Zn.LatLng(Number(r.query.lat),Number(r.query.lng))),typeof r.query.zoom=="string"&&i.setZoom(parseInt(r.query.zoom)||i.zoom);let u=new Set;typeof r.query.maps=="string"&&(u=new Set(r.query.maps.split(",")));async function h(_){const m=Zn.control.layers(void 0,void 0,{hideSingleBase:!0,sortLayers:!0});for(const w in await i.fetchAvailableMaps()){const T=i.availableMaps[w];await p(_,m,T,!1),u.has(T.mapSlug)&&p(_,m,T,!0)}m.addTo(_),_.on("moveend zoomend",function(){i.setLocation(_.getCenter()),i.setZoom(_.getZoom()),d()}),_.on("overlayadd",async function(w){const T=w.name.toString().replace(/ \(.+\)$/,"");p(_,m,i.availableMaps[T],!0)}),_.on("overlayremove",async function(w){const T=w.name.toString().replace(/ \(.+\)$/,"");p(_,m,i.availableMaps[T],!1)}),l.value=!0}async function p(_,m,w,T){const O=i.loadedMaps[w.mapSlug],R={contributionInfo:w.contributionInfo,maintainedMapTitle:w.mapTitle,maintainers:w.maintainers};if(O!=null&&O.loaded){O.visible=T,i.addMapLayer(w.mapSlug,O,R),d();return}let K;if(O)K=O.layer;else{const D={style:function(){return{fillColor:w.color,color:w.color}},pointToLayer:function(V,I){const U=` + background-color: ${w.color}; + width: 2rem; + height: 2rem; + display: block; + left: -1rem; + top: -1rem; + position: relative; + border-radius: 2rem 2rem 0; + transform: rotate(45deg); + border: 1px solid #FFFFFFAA`,at=Zn.divIcon({className:"",iconAnchor:[0,24],popupAnchor:[0,-36],html:``});return Zn.marker(I,{icon:at})},onEachFeature:function(V,I){if(V&&V.properties){const U=V.properties,at=`
Map: ${w.mapTitle}
`+Object.keys(U).filter(ct=>ct!="OBJECTID"&&U[ct]).map(ct=>{var X,lt;const J=g(ct.toString()).replace(/_/g," ");let z;return(X=U[ct])!=null&&X.toString().startsWith("http")||(lt=U[ct])!=null&<.toString().startsWith("tel")?z=`${U[ct]}`:z=U[ct],`
${J}: ${z}
`}).join("");I.bindPopup(at,{})}}};K=Zn.geoJSON([],D),m.addOverlay(K,`${w.mapTitle} (${w.color})`)}const N={layer:K,loaded:T,visible:T};i.addMapLayer(w.mapSlug,N,R),T&&(i.fetchGeoJson(w).then(D=>{D&&K.addData(D)}),K.addTo(_)),d()}function d(){const _=Object.keys(i.loadedMaps).filter(m=>i.loadedMaps[m].visible).join(",")||void 0;s.push({name:"map",query:{lat:i.location.lat,lng:i.location.lng,zoom:i.zoom,maps:_}})}function g(_){return _.replace(/\w\S*/g,function(m){return m.charAt(0).toUpperCase()+m.substr(1).toLowerCase()})}return(_,m)=>(te(),Se("div",E_,[zt(Vt(h_),{ref:"map",zoom:Vt(i).zoom,minZoom:7,maxZoom:20,center:Vt(i).locationArray,options:{attributionControl:!1},onReady:h},{default:$n(()=>[zt(Vt(l_),{position:"bottomright",prefix:"Brought to you by HackGreenville Labs. Click here to contribute!"}),zt(Vt(p_),{url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png","layer-type":"base",name:"OpenStreetMap",attribution:"© OpenStreetMap contributors"}),l.value&&Object.keys(Vt(i).maintainersOfActiveLayers).length>0?(te(),Ao(P_,{key:0})):Is("",!0)]),_:1},8,["zoom","center"])]))}}),M_=de({__name:"MapView",setup(e){return(i,s)=>(te(),Ao(uf,null,{default:$n(()=>[zt(S_)]),_:1}))}}),O_=Rp({history:Xd("/open-map-data-multi-layers-demo/"),routes:[{path:"/",name:"map",component:M_},{path:"/about",name:"about",component:()=>we(()=>import("./AboutView-31c08eb9.js"),[])}]});const mr=Td(Hp);mr.use(Sd());mr.use(O_);mr.mount("#app");export{A_ as a,Se as c,te as o}; +//# sourceMappingURL=index-8d0214d1.js.map diff --git a/assets/index-8d0214d1.js.map b/assets/index-8d0214d1.js.map new file mode 100644 index 0000000..23b5426 --- /dev/null +++ b/assets/index-8d0214d1.js.map @@ -0,0 +1 @@ +{"version":3,"mappings":"6hCAAA,SAASA,GAAQC,EAAKC,EAAkB,CACtC,MAAMC,EAAsB,OAAO,OAAO,IAAI,EACxCC,EAAOH,EAAI,MAAM,GAAG,EAC1B,QAASI,EAAI,EAAGA,EAAID,EAAK,OAAQC,IAC/BF,EAAIC,EAAKC,CAAC,CAAC,EAAI,GAEjB,OAAOH,EAAoBI,GAAQ,CAAC,CAACH,EAAIG,EAAI,YAAa,GAAKA,GAAQ,CAAC,CAACH,EAAIG,CAAG,CAClF,CAEA,MAAMC,GAA4E,GAC5EC,GAA4E,GAC5EC,GAAO,IAAM,CACnB,EACMC,GAAK,IAAM,GACXC,GAAO,YACPC,GAAQC,GAAQF,GAAK,KAAKE,CAAG,EAC7BC,GAAmBD,GAAQA,EAAI,WAAW,WAAW,EACrDE,GAAS,OAAO,OAChBC,GAAS,CAACC,EAAKC,IAAO,CAC1B,MAAMb,EAAIY,EAAI,QAAQC,CAAE,EACpBb,EAAI,IACNY,EAAI,OAAOZ,EAAG,CAAC,CAEnB,EACMc,GAAiB,OAAO,UAAU,eAClCC,GAAS,CAACd,EAAKO,IAAQM,GAAe,KAAKb,EAAKO,CAAG,EACnDQ,GAAU,MAAM,QAChBC,GAAShB,GAAQiB,GAAajB,CAAG,IAAM,eACvCkB,GAASlB,GAAQiB,GAAajB,CAAG,IAAM,eAGvCmB,GAAcnB,GAAQ,OAAOA,GAAQ,WACrCoB,GAAYpB,GAAQ,OAAOA,GAAQ,SACnCqB,GAAYrB,GAAQ,OAAOA,GAAQ,SACnCsB,GAAYtB,GAAQA,IAAQ,MAAQ,OAAOA,GAAQ,SACnDuB,GAAavB,GACVsB,GAAStB,CAAG,GAAKmB,GAAWnB,EAAI,IAAI,GAAKmB,GAAWnB,EAAI,KA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AAQ,KAAK,GAAG,CACpE,CAEA,MAAMgyB,EAA0B,CAAE,MAAAzV,EAAO,OAAQ+U,EAAS,QAAAA,CAAQ,EAClEzwB,EAAS,YAAYb,EAAQ,QAASgyB,EAAcT,CAAc,EAE9DD,IACFzwB,EAAS,aAAab,CAAO,EAAE,KAAMC,GAAa,CAC5CA,GACFsc,EAAM,QAAQtc,CAAQ,CACxB,CACD,EACDsc,EAAM,MAAMlvD,CAAG,GAGV+jE,GACT,CAEA,SAASA,GAAS,CAChB,MAAMrwB,EACJ,OAAO,KAAKF,EAAS,UAAU,EAC5B,OAAQ9yC,GAAQ8yC,EAAS,WAAW9yC,CAAG,EAAE,OAAO,EAChD,KAAK,GAAG,GAAK,OAElB0qC,EAAO,KAAK,CACV,KAAM,MACN,MAAO,CACL,IAAKoI,EAAS,SAAS,IACvB,IAAKA,EAAS,SAAS,IACvB,KAAMA,EAAS,KACf,KAAME,CACR,EACD,CACH,CAEA,SAAS+wB,EAAYG,EAAgB,CACnC,OAAOA,EAAO,QAAQ,SAAU,SAAUC,EAAK,CACtC,OAAAA,EAAI,OAAO,CAAC,EAAE,cAAgBA,EAAI,OAAO,CAAC,EAAE,aAAY,CAChE,CACH,ozBC/MMz5B,GAAS0C,GAAa,CAC1B,QAAStL,GAAiB,mCAAwB,EAClD,OAAQ,CACN,CACE,KAAM,IACN,KAAM,MACN,UAAWsiC,EACb,EACA,CACE,KAAM,SACN,KAAM,QAIN,UAAW,WAAM,OAAO,yBAAwB,KAClD,CACF,CACF,CAAC,ECZD,MAAMh/C,GAAM0S,GAAUusC,EAAG,EAEzBj/C,GAAI,IAAIqT,IAAa,EACrBrT,GAAI,IAAIslB,EAAM,EAEdtlB,GAAI,MAAM,MAAM","names":["makeMap","str","expectsLowerCase","map","list","i","val","EMPTY_OBJ","EMPTY_ARR","NOOP","NO","onRE","isOn","key","isModelListener","extend","remove","arr","el","hasOwnProperty","hasOwn","isArray","isMap","toTypeString","isSet","isFunction","isString","isSymbol","isObject","isPromise","objectToString","value","toRawType","isPlainObject","isIntegerKey","isReservedProp","cacheStringFunction","fn","cache","camelizeRE","camelize","_","c","hyphenateRE","hyphenate","capitalize","toHandlerKey","hasChanged","oldValue","invokeArrayFns","fns","arg","def","obj","looseToNumber","n","toNumber","_globalThis","getGlobalThis","normalizeStyle","res","item","normalized","parseStringStyle","listDelimiterRE","propertyDelimiterRE","styleCommentRE","cssText","ret","tmp","normalizeClass","name","specialBooleanAttrs","isSpecialBooleanAttr","includeBooleanAttr","toDisplayString","replacer","_key","entries","val2","activeEffectScope","EffectScope","detached","currentEffectScope","fromParent","l","last","effectScope","recordEffectScope","effect","scope","getCurrentScope","onScopeDispose","createDep","effects","dep","wasTracked","trackOpBit","newTracked","initDepMarkers","deps","finalizeDepMarkers","ptr","targetMap","effectTrackDepth","maxMarkerBits","activeEffect","ITERATE_KEY","MAP_KEY_ITERATE_KEY","ReactiveEffect","scheduler","parent","lastShouldTrack","shouldTrack","cleanupEffect","effect2","trackStack","pauseTracking","resetTracking","track","target","type","depsMap","trackEffects","debuggerEventExtraInfo","shouldTrack2","trigger","newValue","oldTarget","newLength","key2","triggerEffects","triggerEffect","getDepFromReactive","object","_a","isNonTrackableKeys","builtInSymbols","get$1","createGetter","shallowGet","readonlyGet","arrayInstrumentations","createArrayInstrumentations","instrumentations","args","toRaw","isReadonly2","shallow","receiver","shallowReadonlyMap","readonlyMap","shallowReactiveMap","reactiveMap","targetIsArray","isRef","readonly","reactive","set$1","createSetter","shallowSet","isReadonly","isShallow","hadKey","result","deleteProperty","has$1","ownKeys","mutableHandlers","readonlyHandlers","shallowReactiveHandlers","toShallow","getProto","v","get","rawTarget","rawKey","has2","wrap","toReadonly","toReactive","has","size","add","set","get2","deleteEntry","clear","hadItems","createForEach","callback","thisArg","observed","createIterableMethod","method","targetIsMap","isPair","isKeyOnly","innerIterator","done","createReadonlyMethod","createInstrumentations","mutableInstrumentations2","shallowInstrumentations2","readonlyInstrumentations2","shallowReadonlyInstrumentations2","mutableInstrumentations","readonlyInstrumentations","shallowInstrumentations","shallowReadonlyInstrumentations","createInstrumentationGetter","mutableCollectionHandlers","shallowCollectionHandlers","readonlyCollectionHandlers","targetTypeMap","rawType","getTargetType","createReactiveObject","shallowReactive","baseHandlers","collectionHandlers","proxyMap","existingProxy","targetType","proxy","isReactive","isProxy","raw","markRaw","trackRefValue","ref2","triggerRefValue","newVal","r","ref","createRef","shallowRef","rawValue","RefImpl","__v_isShallow","useDirectValue","unref","shallowUnwrapHandlers","proxyRefs","objectWithRefs","toRefs","propertyToRef","ObjectRefImpl","_object","_defaultValue","source","defaultValue","ComputedRefImpl","getter","_setter","isSSR","self","computed","getterOrOptions","debugOptions","setter","onlyGetter","callWithErrorHandling","instance","err","handleError","callWithAsyncErrorHandling","values","throwInDev","contextVNode","cur","exposedInstance","errorInfo","errorCapturedHooks","appErrorHandler","logError","isFlushing","isFlushPending","queue","flushIndex","pendingPostFlushCbs","activePostFlushCbs","postFlushIndex","resolvedPromise","currentFlushPromise","nextTick","p","findInsertionIndex","id","start","end","middle","getId","queueJob","job","queueFlush","flushJobs","invalidateJob","queuePostFlushCb","cb","flushPreFlushCbs","seen","flushPostFlushCbs","deduped","a","b","comparator","diff","check","emit","event","rawArgs","props","modelArg","modifiersKey","number","trim","handlerName","handler","onceHandler","normalizeEmitsOptions","comp","appContext","asMixin","cached","hasExtends","extendEmits","raw2","normalizedFromExtend","isEmitListener","options","currentRenderingInstance","currentScopeId","setCurrentRenderingInstance","prev","withCtx","ctx","isNonScopedSlot","renderFnWithContext","setBlockTracking","prevInstance","renderComponentRoot","Component","vnode","withProxy","propsOptions","slots","attrs","render","renderCache","data","setupState","inheritAttrs","fallthroughAttrs","proxyToUse","normalizeVNode","render2","getFunctionalFallthrough","blockStack","createVNode","Comment","root","keys","shapeFlag","filterModelListeners","cloneVNode","filterSingleRoot","children","singleRoot","child","isVNode","shouldUpdateComponent","prevVNode","nextVNode","optimized","prevProps","prevChildren","component","nextProps","nextChildren","patchFlag","emits","hasPropsChanged","dynamicProps","emitsOptions","nextKeys","updateHOCHostEl","isSuspense","SuspenseImpl","n1","n2","container","anchor","parentComponent","parentSuspense","isSVG","slotScopeIds","rendererInternals","mountSuspense","patchSuspense","hydrateSuspense","createSuspenseBoundary","normalizeSuspenseChildren","Suspense","triggerEvent","eventListener","patch","createElement","hiddenContainer","suspense","setActiveBranch","unmount","newBranch","newFallback","activeBranch","pendingBranch","isInFallback","isHydrating","isSameVNodeType","timeout","pendingId","move","next","parentNode","parentSuspenseId","isSuspensible","isVNodeSuspensible","resume","sync","vnode2","parentComponent2","container2","delayEnter","anchor2","hasUnresolvedAncestor","fallbackVNode","isSVG2","mountFallback","setupRenderEffect","isInPendingSuspense","hydratedEl","asyncSetupResult","handleSetupResult","placeholder","parentSuspense2","doRemove","node","hydrateNode","isSlotChildren","normalizeSuspenseSlot","s","block","trackBlock","isBlockTreeEnabled","openBlock","currentBlock","closeBlock","queueEffectWithSuspense","branch","INITIAL_WATCHER_VALUE","watch","doWatch","immediate","deep","flush","onTrack","onTrigger","currentInstance","forceTrigger","isMultiSource","isShallow$1","traverse","cleanup","onCleanup","baseGetter","ssrCleanup","isInSSRComponentSetup","useSSRContext","queuePostRenderEffect","unwatch","instanceWatch","publicThis","createPathGetter","setCurrentInstance","unsetCurrentInstance","path","segments","invokeDirectiveHook","bindings","oldBindings","binding","hook","defineComponent","extraOptions","isAsyncWrapper","isKeepAlive","onActivated","registerKeepAliveHook","onDeactivated","wrappedHook","current","injectHook","injectToKeepAliveRoot","keepAliveRoot","injected","onUnmounted","prepend","hooks","createHook","lifecycle","onBeforeMount","onMounted","onBeforeUpdate","onUpdated","onBeforeUnmount","onServerPrefetch","onRenderTriggered","onRenderTracked","onErrorCaptured","NULL_DYNAMIC_COMPONENT","renderList","renderItem","index","getPublicInstance","isStatefulComponent","getExposeProxy","publicPropertiesMap","resolveMergedOptions","hasSetupBinding","state","PublicInstanceProxyHandlers","accessCache","normalizedProps","shouldCacheAccess","publicGetter","cssModule","globalProperties","descriptor","normalizePropsOrEmits","applyOptions","callHook","dataOptions","computedOptions","methods","watchOptions","provideOptions","injectOptions","created","beforeMount","mounted","beforeUpdate","updated","activated","deactivated","beforeDestroy","beforeUnmount","destroyed","unmounted","renderTracked","renderTriggered","errorCaptured","serverPrefetch","expose","components","directives","filters","resolveInjections","methodHandler","opt","createWatcher","provides","provide","registerLifecycleHook","register","_hook","exposed","checkDuplicateProperties","normalizeInject","inject","h","base","mixins","extendsOptions","globalMixins","optionMergeStrategies","resolved","m","mergeOptions","to","from","strats","strat","internalOptionMergeStrats","mergeDataFn","mergeEmitsOrPropsOptions","mergeObjectOptions","mergeAsArray","mergeWatchOptions","mergeInject","merged","createAppContext","uid$1","createAppAPI","hydrate","rootComponent","rootProps","context","installedPlugins","isMounted","app","version","plugin","mixin","directive","rootContainer","isHydrate","currentApp","parentProvides","treatDefaultAsFactory","hasInjectionContext","initProps","rawProps","isStateful","InternalObjectKey","setFullProps","updateProps","rawPrevProps","rawCurrentProps","hasAttrsChanged","propsToUpdate","camelizedKey","resolvePropValue","kebabKey","needCastKeys","rawCastValues","camelKey","castValues","isAbsent","hasDefault","propsDefaults","normalizePropsOptions","extendProps","normalizedKey","validatePropName","prop","booleanIndex","getTypeIndex","stringIndex","getType","ctor","match","isSameType","expectedTypes","t","isInternalKey","normalizeSlotValue","normalizeSlot","rawSlot","normalizeObjectSlots","rawSlots","normalizeVNodeSlots","initSlots","updateSlots","needDeletionCheck","deletionComparisonTarget","setRef","rawRef","oldRawRef","isUnmount","refValue","owner","oldRef","refs","_isString","_isRef","doSet","existing","createRenderer","baseCreateRenderer","createHydrationFns","hostInsert","hostRemove","hostPatchProp","hostCreateElement","hostCreateText","hostCreateComment","hostSetText","hostSetElementText","hostParentNode","hostNextSibling","hostSetScopeId","hostInsertStaticContent","getNextHostNode","Text","processText","processCommentNode","Static","mountStaticNode","Fragment","processFragment","processElement","processComponent","internals","moveStaticNode","nextSibling","removeStaticNode","mountElement","patchElement","vnodeHook","transition","dirs","mountChildren","setScopeId","unmountChildren","invokeVNodeHook","needCallTransitionHooks","scopeId","subTree","parentVNode","cloneIfMounted","dynamicChildren","oldProps","newProps","toggleRecurse","areChildrenSVG","patchBlockChildren","patchChildren","patchProps","oldChildren","newChildren","fallbackContainer","oldVNode","newVNode","fragmentStartAnchor","fragmentEndAnchor","fragmentSlotScopeIds","traverseStaticChildren","mountComponent","updateComponent","initialVNode","createComponentInstance","setupComponent","updateComponentPreRender","componentUpdateFn","bu","u","originNext","nextTree","prevTree","bm","isAsyncWrapperVNode","hydrateSubTree","scopedInitialVNode","update","c1","prevShapeFlag","c2","patchKeyedChildren","patchUnkeyedChildren","oldLength","commonLength","nextChild","parentAnchor","l2","e1","e2","nextPos","s1","s2","keyToNewIndexMap","j","patched","toBePatched","moved","maxNewIndexSoFar","newIndexToOldIndexMap","prevChild","newIndex","increasingNewIndexSequence","getSequence","nextIndex","moveType","leave","delayLeave","afterLeave","remove2","performLeave","shouldInvokeDirs","shouldInvokeVnodeHook","unmountComponent","removeFragment","performRemove","bum","um","allowed","ch1","ch2","len","arrI","isTeleport","disableTracking","setupBlock","createElementBlock","createBaseVNode","createBlock","normalizeKey","normalizeRef","ref_key","ref_for","isBlockNode","needFullChildrenNormalization","normalizeChildren","_createVNode","cloned","isClassComponent","guardReactiveProps","klass","style","extraProps","mergeRef","mergedProps","mergeProps","createTextVNode","text","flag","createStaticVNode","content","numberOfNodes","createCommentVNode","asBlock","slot","slotFlag","toMerge","incoming","emptyAppContext","uid","internalSetCurrentInstance","globalCurrentInstanceSetters","settersKey","setupResult","setupStatefulComponent","setup","setupContext","createSetupContext","resolvedResult","e","finishComponentSetup","compile","skipOptions","template","isCustomElement","compilerOptions","delimiters","componentCompilerOptions","finalCompilerOptions","getAttrsProxy","computed$1","propsOrChildren","ssrContextKey","svgNS","doc","templateContainer","nodeOps","tag","is","selector","before","wrapper","patchClass","transitionClasses","patchStyle","isCssString","setStyle","currentDisplay","importantRE","prefixed","autoPrefix","prefixes","prefixCache","rawName","xlinkNS","patchAttr","isBoolean","patchDOMProp","needRemove","addEventListener","removeEventListener","patchEvent","prevValue","nextValue","invokers","existingInvoker","parseName","invoker","createInvoker","optionsModifierRE","cachedNow","getNow","initialValue","patchStopImmediatePropagation","originalStop","nativeOnRE","patchProp","shouldSetAsProp","rendererOptions","renderer","ensureRenderer","createApp","mount","containerOrSelector","normalizeContainer","isVue2","activePinia","setActivePinia","pinia","piniaSymbol","o","MutationType","createPinia","_p","toBeInstalled","noop","addSubscription","subscriptions","removeSubscription","idx","triggerSubscriptions","fallbackRunWithContext","mergeReactiveObjects","patchToApply","subPatch","targetValue","skipHydrateSymbol","shouldHydrate","assign","isComputed","createOptionsStore","hot","actions","getters","initialState","store","localState","computedGetters","createSetupStore","$id","isOptionsStore","optionsForPlugin","$subscribeOptions","isListening","isSyncListening","actionSubscriptions","debuggerEvents","activeListener","$patch","partialStateOrMutator","subscriptionMutation","myListenerId","$reset","newState","$state","$dispose","wrapAction","action","afterCallbackList","onErrorCallbackList","after","onError","error","partialStore","stopWatcher","setupStore","actionValue","extender","defineStore","idOrOptions","setupOptions","isSetupStore","useStore","hasContext","isBrowser","isESModule","applyToParams","params","newParams","TRAILING_SLASH_RE","removeTrailingSlash","parseURL","parseQuery","location","currentLocation","query","searchString","hash","hashPos","searchPos","resolveRelativePath","stringifyURL","stringifyQuery","stripBase","pathname","isSameRouteLocation","aLastIndex","bLastIndex","isSameRouteRecord","isSameRouteLocationParams","isSameRouteLocationParamsValue","isEquivalentArray","fromSegments","toSegments","lastToSegment","position","toPosition","segment","NavigationType","NavigationDirection","normalizeBase","baseEl","BEFORE_HASH_RE","createHref","getElementPosition","offset","docRect","elRect","computeScrollPosition","scrollToPosition","scrollToOptions","positionEl","isIdSelector","getScrollKey","delta","scrollPositions","saveScrollPosition","scrollPosition","getSavedScrollPosition","scroll","createBaseLocation","createCurrentLocation","search","slicePos","pathFromHash","useHistoryListeners","historyState","replace","listeners","teardowns","pauseState","popStateHandler","fromState","listener","pauseListeners","listen","teardown","beforeUnloadListener","history","destroy","buildState","back","forward","replaced","computeScroll","useHistoryStateNavigation","changeLocation","hashIndex","url","push","currentState","createWebHistory","historyNavigation","historyListeners","go","triggerListeners","routerHistory","isRouteLocation","route","isRouteName","START_LOCATION_NORMALIZED","NavigationFailureSymbol","NavigationFailureType","createRouterError","isNavigationFailure","BASE_PARAM_PATTERN","BASE_PATH_PARSER_OPTIONS","REGEX_CHARS_RE","tokensToParser","score","pattern","segmentScores","tokenIndex","token","subSegmentScore","repeatable","optional","regexp","re","subPattern","parse","stringify","avoidDuplicatedSlash","param","compareScoreArray","comparePathParserScore","aScore","bScore","isLastScoreNegative","ROOT_TOKEN","VALID_PARAM_RE","tokenizePath","crash","message","buffer","previousState","tokens","finalizeSegment","char","customRe","consumeBuffer","addCharToBuffer","createRouteRecordMatcher","record","parser","matcher","createRouterMatcher","routes","globalOptions","matchers","matcherMap","getRecordMatcher","addRoute","originalRecord","isRootAdd","mainNormalizedRecord","normalizeRouteRecord","normalizedRecords","aliases","alias","originalMatcher","normalizedRecord","parentPath","connectingSlash","isAliasRecord","removeRoute","insertMatcher","matcherRef","getRoutes","isRecordChildOf","resolve","paramsFromLocation","k","matched","parentMatcher","mergeMetaFields","normalizeRecordProps","propsObject","meta","defaults","partialOptions","HASH_RE","AMPERSAND_RE","SLASH_RE","EQUAL_RE","IM_RE","PLUS_RE","ENC_BRACKET_OPEN_RE","ENC_BRACKET_CLOSE_RE","ENC_CARET_RE","ENC_BACKTICK_RE","ENC_CURLY_OPEN_RE","ENC_PIPE_RE","ENC_CURLY_CLOSE_RE","ENC_SPACE_RE","commonEncode","encodeHash","encodeQueryValue","encodeQueryKey","encodePath","encodeParam","decode","searchParams","searchParam","eqPos","currentValue","normalizeQuery","normalizedQuery","matchedRouteKey","viewDepthKey","routerKey","routeLocationKey","routerViewLocationKey","useCallbacks","handlers","reset","guardToPromiseFn","guard","enterCallbackArray","reject","valid","guardReturn","guardCall","extractComponentsGuards","guardType","guards","rawComponent","isRouteComponent","componentPromise","resolvedComponent","useLink","router","currentRoute","activeRecordIndex","length","routeMatched","currentMatched","parentRecordPath","getOriginalPath","isActive","includesParams","isExactActive","navigate","guardEvent","RouterLinkImpl","link","elClass","getLinkClass","RouterLink","outer","inner","innerValue","outerValue","propClass","globalClass","defaultClass","RouterViewImpl","injectedRoute","routeToDisplay","injectedDepth","depth","initialDepth","matchedRoute","matchedRouteRef","viewRef","oldInstance","oldName","currentName","ViewComponent","routePropsOption","routeProps","slotContent","RouterView","createRouter","parseQuery$1","stringifyQuery$1","beforeGuards","beforeResolveGuards","afterGuards","pendingLocation","normalizeParams","paramValue","encodeParams","decodeParams","parentOrRoute","recordMatcher","routeMatcher","hasRoute","rawLocation","locationNormalized","href","matcherLocation","targetParams","fullPath","locationAsObject","checkCanceledNavigation","pushWithRedirect","handleRedirectRecord","lastMatched","redirect","newTargetLocation","redirectedFrom","targetLocation","force","shouldRedirect","toLocation","failure","handleScroll","markAsReady","triggerError","finalizeNavigation","triggerAfterEach","checkCanceledNavigationAndReject","runWithContext","installedApps","leavingRecords","updatingRecords","enteringRecords","extractChangingRecords","canceledNavigationCheck","runGuardQueue","beforeEnter","isPush","isFirstNavigation","removeHistoryListener","setupListeners","_from","info","readyHandlers","errorListeners","ready","isReady","scrollBehavior","started","reactiveRoute","unmountApp","promise","recordFrom","recordTo","useRouter","useRoute","useMapStore","lat","lng","coords","zoom","mapSlug","layerData","maintainers","mapTitle","mapData","response","_b","_d","_c","_f","_e","mapDataJson","geoJsonUrl","getRandomColor","title","colors","simpleHash","mapStore","mapLink","slugsList","ce","ye","Je","L","He","f","T","qe","__vitePreload","Y","A","V","O","M","ee","H","me","ve","be","fe","ge","Le","he","Oe","W","J","D","q","d","y","pe","Se","ne","F","K","Xe","U","Vt","S","g","Ce","Ye","xt","te","ae","Ae","ot","mt","de","N","P","B","I","E","ue","$","z","Z","rt","We","io","vt","oe","leafletSrc","yt","Q","C","X","R","le","x","ke","ie","Ze","vo","showMaintainers","global","factory","exports","this","dest","src","create$2","proto","bind","slice","lastId","stamp","throttle","time","lock","wrapperFn","later","wrapNum","range","includeMax","max","min","falseFn","formatNum","num","precision","pow","splitWords","setOptions","getParamString","existingUrl","uppercase","templateRe","indexOf","array","emptyImageUrl","getPrefixed","lastTime","timeoutDefer","timeToCall","requestFn","cancelFn","requestAnimFrame","cancelAnimFrame","Util","Class","NewClass","parentProto","checkDeprecatedMixinEvents","parentOptions","init","includes","Events","types","removeAll","_once","newListener","propagate","_fn","Evented","Point","round","trunc","point","toPoint","Bounds","points","min2","max2","toBounds","bounds","xIntersects","yIntersects","xOverlaps","yOverlaps","bufferRatio","heightBuffer","widthBuffer","LatLngBounds","corner1","corner2","latlngs","sw","sw2","ne2","LatLng","toLatLng","toLatLngBounds","latIntersects","lngIntersects","latOverlaps","lngOverlaps","maxMargin","alt","margin","other","Earth","sizeInMeters","latAccuracy","lngAccuracy","CRS","latlng","projectedPoint","scale","untransformedPoint","center","newCenter","latShift","lngShift","newSw","newNe","latlng1","latlng2","rad","lat1","lat2","sinDLat","sinDLon","earthRadius","SphericalMercator","sin","Transformation","toTransformation","EPSG3857","EPSG900913","svgCreate","pointsToPath","rings","closed","len2","Browser","ielt9","edge","webkit","userAgentContains","android","android23","webkitVer","androidStock","opera","chrome","gecko","safari","phantom","opera12","win","ie3d","webkit3d","gecko3d","any3d","mobile","mobileWebkit","mobileWebkit3d","msPointer","pointer","touchNative","touch","mobileOpera","mobileGecko","retina","passiveEvents","supportsPassiveOption","opts","canvas$1","svg$1","inlineSvg","div","vml","shape","mac","linux","POINTER_DOWN","POINTER_MOVE","POINTER_UP","POINTER_CANCEL","pEvent","handle","_onPointerStart","_handlePointer","_pointers","_pointerDocListener","addPointerListener","_addPointerDocListener","removePointerListener","_globalPointerDown","_globalPointerMove","_globalPointerUp","preventDefault","makeDblclick","newEvent","delay","addDoubleTapListener","detail","simDblclick","getPropagationPath","now","removeDoubleTapListener","TRANSFORM","testProp","TRANSITION","TRANSITION_END","getStyle","css","create$1","tagName","className","empty","toFront","toBack","hasClass","getClass","addClass","classes","setClass","removeClass","setOpacity","_setOpacityIE","filter","filterName","setTransform","pos","setPosition","getPosition","disableTextSelection","enableTextSelection","_userSelect","on","off","userSelectProperty","disableImageDrag","enableImageDrag","_outlineElement","_outlineStyle","preventOutline","element","restoreOutline","getSizedParentNode","getScale","rect","DomUtil","addOne","eventsKey","batchRemove","removeOne","filterFn","mouseSubst","originalHandler","isExternalTarget","stopPropagation","disableScrollPropagation","disableClickPropagation","stop","ev","getMousePosition","wheelPxFactor","getWheelDelta","related","DomEvent","PosAnimation","newPos","duration","easeLinearity","elapsed","progress","Map","viewHalf","containerPoint","centerOffset","paddingTL","paddingBR","paddingOffset","swPoint","nePoint","targetCenter","targetZoom","startZoom","w0","w1","u1","rho","rho2","t1","b1","sq","log","sinh","cosh","tanh","r0","w","easeOut","frame","oldZoom","pixelCenter","pixelPoint","pixelBounds","paddedBounds","paddedSize","oldSize","newSize","oldCenter","onResponse","HandlerClass","pane","inside","padding","nw","se","boundsSize","snap","scalex","scaley","topLeftPoint","toZoom","fromZoom","crs","layerPoint","panes","noMoveStart","loading","zoomChanged","supressEvent","onOff","targets","isHover","dragging","canvasTargets","synth","filtered","isMarker","pixelOrigin","topLeft","latLngBounds","centerPoint","viewBounds","newBounds","pxBounds","maxBounds","projectedMaxBounds","minOffset","maxOffset","dx","dy","left","right","transform","startAnim","noUpdate","createMap","Control","corner","control","corners","createCorner","vSide","hSide","Layers","layerA","layerB","nameA","nameB","baseLayers","overlays","layer","acceptableHeight","collapsed","section","overlay","baseLayersPresent","overlaysPresent","baseLayersCount","checked","radioHtml","radioFragment","label","input","holder","inputs","addedLayers","removedLayers","layers","Zoom","zoomName","html","Scale","maxMeters","meters","maxFeet","maxMiles","miles","feet","ratio","pow10","ukrainianFlag","Attribution","prefix","attribs","prefixAndAttribs","attribution","Handler","Mixin","START","Draggable","dragStartTarget","first","sizedParent","mouseevent","noInertia","simplify","tolerance","sqTolerance","_reducePoints","_simplifyDP","pointToSegmentDistance","p1","p2","_sqClosestPointOnSegment","closestPointOnSegment","ArrayConstructor","markers","_simplifyDPStep","newPoints","maxSqDist","sqDist","reducedPoints","_sqDist","_lastCode","clipSegment","useLastCode","codeA","_getBitCode","codeB","codeOut","newCode","_getEdgeIntersection","code","dot","isFlat","_flat","polylineCenter","halfDist","segDist","dist","LineUtil","clipPolygon","clippedPoints","edges","polygonCenter","area","PolyUtil","LonLat","Mercator","con","ts","phi","dphi","EPSG3395","EPSG4326","Simple","Layer","targetEl","events","minZoom","maxZoom","oldZoomSpan","LayerGroup","layerId","methodName","zIndex","layerGroup","FeatureGroup","featureGroup","Icon","oldIcon","img","sizeOption","icon","IconDefault","strip","MarkerDrag","marker","speed","iconPos","origin","panBounds","movement","shadow","Marker","oldLatLng","classToAdd","addIcon","newShadow","addShadow","draggable","opacity","iconOpts","Path","CircleMarker","radius","r2","circleMarker","Circle","legacyOptions","half","latR","top","bottom","lngR","circle","Polyline","minDistance","minPoint","closest","jLen","flat","projectedBounds","ring","parts","part","polyline","Polygon","clipped","polygon","GeoJSON","geojson","features","feature","geometryToLayer","asFeature","geometry","pointToLayer","_coordsToLatLng","coordsToLatLng","_pointToLayer","coordsToLatLngs","geoLayer","featureLayer","pointToLayerFn","levelsDeep","latLngToCoords","latLngsToCoords","getFeature","newGeometry","PointToGeoJSON","multi","holes","isGeometryCollection","jsons","json","geoJSON","geoJson","ImageOverlay","styleOpts","wasElementSupplied","image","errorUrl","imageOverlay","VideoOverlay","vid","sourceElements","sources","videoOverlay","video","SVGOverlay","svgOverlay","DivOverlay","OverlayClass","old","Popup","closeButton","width","height","maxHeight","scrolledClass","marginBottom","containerHeight","containerWidth","layerPos","containerPos","popup","Tooltip","subX","subY","tooltipPoint","direction","tooltipWidth","tooltipHeight","tooltip","DivIcon","bgPos","divIcon","GridLayer","tileZoom","compare","edgeZIndex","nextFrame","willPrune","tile","fade","level","x2","y2","z2","coords2","animating","noPrune","tileZoomChanged","translate","tileSize","mapZoom","halfSize","tileRange","tileCenter","noPruneRange","fragment","tileBounds","nwPoint","sePoint","bp","tilePos","newCoords","gridLayer","TileLayer","noRedraw","invertedY","zoomReverse","zoomOffset","tilePoint","tileLayer","TileLayerWMS","wmsParams","realRetina","projectionKey","bbox","tileLayerWMS","Renderer","currentCenterPoint","topLeftOffset","Canvas","order","dashArray","dashValue","clickedLayer","candidateHoveredLayer","canvas","vmlCreate","vmlMixin","stroke","fill","create","SVG","arc","svg","Rectangle","rectangle","BoxZoom","DoubleClickZoom","Drag","pxCenter","pxWorldCenter","threshold","limit","worldWidth","halfWidth","newX1","newX2","newX","ease","speedVector","limitedSpeed","limitedSpeedVector","decelerationDuration","Keyboard","body","docEl","panDelta","codes","zoomDelta","newLatLng","ScrollWheelZoom","debounce","d2","d3","d4","tapHoldDelay","TapHold","cancelClickPrevent","simulatedEvent","TouchZoom","moveFn","oldL","mapInitialized","mapsToEnable","initializeMap","layersControl","addMapLayer","setUrl","mapName","visible","maintainerData","_feature","markerHtmlStyles","markerIcon","properties","tooltipString","propertyName","toTitleCase","propertyValue","newLayerData","string","txt","MapView","App"],"sources":["../../node_modules/@vue/shared/dist/shared.esm-bundler.js","../../node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","../../node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","../../node_modules/pinia/node_modules/vue-demi/lib/index.mjs","../../node_modules/pinia/dist/pinia.mjs","../../node_modules/vue-router/dist/vue-router.mjs","../../src/stores/map.ts","../../src/App.vue","../../node_modules/@vue-leaflet/vue-leaflet/dist/vue-leaflet.es.js","../../src/components/MaintainersViewerControl.vue","../../node_modules/leaflet/dist/leaflet-src.js","../../src/components/MainMap.vue","../../src/router/index.ts","../../src/main.ts"],"sourcesContent":["function makeMap(str, expectsLowerCase) {\n const map = /* @__PURE__ */ Object.create(null);\n const list = str.split(\",\");\n for (let i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];\n}\n\nconst EMPTY_OBJ = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze({}) : {};\nconst EMPTY_ARR = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze([]) : [];\nconst NOOP = () => {\n};\nconst NO = () => false;\nconst onRE = /^on[^a-z]/;\nconst isOn = (key) => onRE.test(key);\nconst isModelListener = (key) => key.startsWith(\"onUpdate:\");\nconst extend = Object.assign;\nconst remove = (arr, el) => {\n const i = arr.indexOf(el);\n if (i > -1) {\n arr.splice(i, 1);\n }\n};\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst isArray = Array.isArray;\nconst isMap = (val) => toTypeString(val) === \"[object Map]\";\nconst isSet = (val) => toTypeString(val) === \"[object Set]\";\nconst isDate = (val) => toTypeString(val) === \"[object Date]\";\nconst isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\nconst isFunction = (val) => typeof val === \"function\";\nconst isString = (val) => typeof val === \"string\";\nconst isSymbol = (val) => typeof val === \"symbol\";\nconst isObject = (val) => val !== null && typeof val === \"object\";\nconst isPromise = (val) => {\n return isObject(val) && isFunction(val.then) && isFunction(val.catch);\n};\nconst objectToString = Object.prototype.toString;\nconst toTypeString = (value) => objectToString.call(value);\nconst toRawType = (value) => {\n return toTypeString(value).slice(8, -1);\n};\nconst isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\nconst isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\nconst isReservedProp = /* @__PURE__ */ makeMap(\n // the leading comma is intentional so empty string \"\" is also included\n \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\n);\nconst isBuiltInDirective = /* @__PURE__ */ makeMap(\n \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\n);\nconst cacheStringFunction = (fn) => {\n const cache = /* @__PURE__ */ Object.create(null);\n return (str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n};\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cacheStringFunction((str) => {\n return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n});\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction(\n (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\n);\nconst capitalize = cacheStringFunction(\n (str) => str.charAt(0).toUpperCase() + str.slice(1)\n);\nconst toHandlerKey = cacheStringFunction(\n (str) => str ? `on${capitalize(str)}` : ``\n);\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\nconst invokeArrayFns = (fns, arg) => {\n for (let i = 0; i < fns.length; i++) {\n fns[i](arg);\n }\n};\nconst def = (obj, key, value) => {\n Object.defineProperty(obj, key, {\n configurable: true,\n enumerable: false,\n value\n });\n};\nconst looseToNumber = (val) => {\n const n = parseFloat(val);\n return isNaN(n) ? val : n;\n};\nconst toNumber = (val) => {\n const n = isString(val) ? Number(val) : NaN;\n return isNaN(n) ? val : n;\n};\nlet _globalThis;\nconst getGlobalThis = () => {\n return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n};\nconst identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\nfunction genPropsAccessExp(name) {\n return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\n}\n\nconst PatchFlagNames = {\n [1]: `TEXT`,\n [2]: `CLASS`,\n [4]: `STYLE`,\n [8]: `PROPS`,\n [16]: `FULL_PROPS`,\n [32]: `HYDRATE_EVENTS`,\n [64]: `STABLE_FRAGMENT`,\n [128]: `KEYED_FRAGMENT`,\n [256]: `UNKEYED_FRAGMENT`,\n [512]: `NEED_PATCH`,\n [1024]: `DYNAMIC_SLOTS`,\n [2048]: `DEV_ROOT_FRAGMENT`,\n [-1]: `HOISTED`,\n [-2]: `BAIL`\n};\n\nconst slotFlagsText = {\n [1]: \"STABLE\",\n [2]: \"DYNAMIC\",\n [3]: \"FORWARDED\"\n};\n\nconst GLOBALS_WHITE_LISTED = \"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console\";\nconst isGloballyWhitelisted = /* @__PURE__ */ makeMap(GLOBALS_WHITE_LISTED);\n\nconst range = 2;\nfunction generateCodeFrame(source, start = 0, end = source.length) {\n let lines = source.split(/(\\r?\\n)/);\n const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n lines = lines.filter((_, idx) => idx % 2 === 0);\n let count = 0;\n const res = [];\n for (let i = 0; i < lines.length; i++) {\n count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);\n if (count >= start) {\n for (let j = i - range; j <= i + range || end > count; j++) {\n if (j < 0 || j >= lines.length)\n continue;\n const line = j + 1;\n res.push(\n `${line}${\" \".repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`\n );\n const lineLength = lines[j].length;\n const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;\n if (j === i) {\n const pad = start - (count - (lineLength + newLineSeqLength));\n const length = Math.max(\n 1,\n end > count ? lineLength - pad : end - start\n );\n res.push(` | ` + \" \".repeat(pad) + \"^\".repeat(length));\n } else if (j > i) {\n if (end > count) {\n const length = Math.max(Math.min(end - count, lineLength), 1);\n res.push(` | ` + \"^\".repeat(length));\n }\n count += lineLength + newLineSeqLength;\n }\n }\n break;\n }\n }\n return res.join(\"\\n\");\n}\n\nfunction normalizeStyle(value) {\n if (isArray(value)) {\n const res = {};\n for (let i = 0; i < value.length; i++) {\n const item = value[i];\n const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);\n if (normalized) {\n for (const key in normalized) {\n res[key] = normalized[key];\n }\n }\n }\n return res;\n } else if (isString(value)) {\n return value;\n } else if (isObject(value)) {\n return value;\n }\n}\nconst listDelimiterRE = /;(?![^(]*\\))/g;\nconst propertyDelimiterRE = /:([^]+)/;\nconst styleCommentRE = /\\/\\*[^]*?\\*\\//g;\nfunction parseStringStyle(cssText) {\n const ret = {};\n cssText.replace(styleCommentRE, \"\").split(listDelimiterRE).forEach((item) => {\n if (item) {\n const tmp = item.split(propertyDelimiterRE);\n tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n }\n });\n return ret;\n}\nfunction stringifyStyle(styles) {\n let ret = \"\";\n if (!styles || isString(styles)) {\n return ret;\n }\n for (const key in styles) {\n const value = styles[key];\n const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n if (isString(value) || typeof value === \"number\") {\n ret += `${normalizedKey}:${value};`;\n }\n }\n return ret;\n}\nfunction normalizeClass(value) {\n let res = \"\";\n if (isString(value)) {\n res = value;\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n const normalized = normalizeClass(value[i]);\n if (normalized) {\n res += normalized + \" \";\n }\n }\n } else if (isObject(value)) {\n for (const name in value) {\n if (value[name]) {\n res += name + \" \";\n }\n }\n }\n return res.trim();\n}\nfunction normalizeProps(props) {\n if (!props)\n return null;\n let { class: klass, style } = props;\n if (klass && !isString(klass)) {\n props.class = normalizeClass(klass);\n }\n if (style) {\n props.style = normalizeStyle(style);\n }\n return props;\n}\n\nconst HTML_TAGS = \"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot\";\nconst SVG_TAGS = \"svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view\";\nconst VOID_TAGS = \"area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr\";\nconst isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);\nconst isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);\nconst isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);\n\nconst specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\nconst isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);\nconst isBooleanAttr = /* @__PURE__ */ makeMap(\n specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`\n);\nfunction includeBooleanAttr(value) {\n return !!value || value === \"\";\n}\nconst unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\nconst attrValidationCache = {};\nfunction isSSRSafeAttrName(name) {\n if (attrValidationCache.hasOwnProperty(name)) {\n return attrValidationCache[name];\n }\n const isUnsafe = unsafeAttrCharRE.test(name);\n if (isUnsafe) {\n console.error(`unsafe attribute name: ${name}`);\n }\n return attrValidationCache[name] = !isUnsafe;\n}\nconst propsToAttrMap = {\n acceptCharset: \"accept-charset\",\n className: \"class\",\n htmlFor: \"for\",\n httpEquiv: \"http-equiv\"\n};\nconst isKnownHtmlAttr = /* @__PURE__ */ makeMap(\n `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`\n);\nconst isKnownSvgAttr = /* @__PURE__ */ makeMap(\n `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`\n);\n\nconst escapeRE = /[\"'&<>]/;\nfunction escapeHtml(string) {\n const str = \"\" + string;\n const match = escapeRE.exec(str);\n if (!match) {\n return str;\n }\n let html = \"\";\n let escaped;\n let index;\n let lastIndex = 0;\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34:\n escaped = \""\";\n break;\n case 38:\n escaped = \"&\";\n break;\n case 39:\n escaped = \"'\";\n break;\n case 60:\n escaped = \"<\";\n break;\n case 62:\n escaped = \">\";\n break;\n default:\n continue;\n }\n if (lastIndex !== index) {\n html += str.slice(lastIndex, index);\n }\n lastIndex = index + 1;\n html += escaped;\n }\n return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n}\nconst commentStripRE = /^-?>||--!>| looseEqual(item, val));\n}\n\nconst toDisplayString = (val) => {\n return isString(val) ? val : val == null ? \"\" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);\n};\nconst replacer = (_key, val) => {\n if (val && val.__v_isRef) {\n return replacer(_key, val.value);\n } else if (isMap(val)) {\n return {\n [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val2]) => {\n entries[`${key} =>`] = val2;\n return entries;\n }, {})\n };\n } else if (isSet(val)) {\n return {\n [`Set(${val.size})`]: [...val.values()]\n };\n } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n return String(val);\n }\n return val;\n};\n\nexport { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, genPropsAccessExp, generateCodeFrame, getGlobalThis, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isArray, isBooleanAttr, isBuiltInDirective, isDate, isFunction, isGloballyWhitelisted, isHTMLTag, isIntegerKey, isKnownHtmlAttr, isKnownSvgAttr, isMap, isModelListener, isObject, isOn, isPlainObject, isPromise, isRegExp, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, looseToNumber, makeMap, normalizeClass, normalizeProps, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, slotFlagsText, stringifyStyle, toDisplayString, toHandlerKey, toNumber, toRawType, toTypeString };\n","import { extend, isArray, isMap, isIntegerKey, hasOwn, isSymbol, isObject, hasChanged, makeMap, capitalize, toRawType, def, isFunction, NOOP } from '@vue/shared';\n\nfunction warn(msg, ...args) {\n console.warn(`[Vue warn] ${msg}`, ...args);\n}\n\nlet activeEffectScope;\nclass EffectScope {\n constructor(detached = false) {\n this.detached = detached;\n /**\n * @internal\n */\n this._active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(\n this\n ) - 1;\n }\n }\n get active() {\n return this._active;\n }\n run(fn) {\n if (this._active) {\n const currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n } finally {\n activeEffectScope = currentEffectScope;\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(`cannot run an inactive effect scope.`);\n }\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n on() {\n activeEffectScope = this;\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n off() {\n activeEffectScope = this.parent;\n }\n stop(fromParent) {\n if (this._active) {\n let i, l;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].stop();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n if (!this.detached && this.parent && !fromParent) {\n const last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = void 0;\n this._active = false;\n }\n }\n}\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\nfunction recordEffectScope(effect, scope = activeEffectScope) {\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `onScopeDispose() is called when there is no active effect scope to be associated with.`\n );\n }\n}\n\nconst createDep = (effects) => {\n const dep = new Set(effects);\n dep.w = 0;\n dep.n = 0;\n return dep;\n};\nconst wasTracked = (dep) => (dep.w & trackOpBit) > 0;\nconst newTracked = (dep) => (dep.n & trackOpBit) > 0;\nconst initDepMarkers = ({ deps }) => {\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].w |= trackOpBit;\n }\n }\n};\nconst finalizeDepMarkers = (effect) => {\n const { deps } = effect;\n if (deps.length) {\n let ptr = 0;\n for (let i = 0; i < deps.length; i++) {\n const dep = deps[i];\n if (wasTracked(dep) && !newTracked(dep)) {\n dep.delete(effect);\n } else {\n deps[ptr++] = dep;\n }\n dep.w &= ~trackOpBit;\n dep.n &= ~trackOpBit;\n }\n deps.length = ptr;\n }\n};\n\nconst targetMap = /* @__PURE__ */ new WeakMap();\nlet effectTrackDepth = 0;\nlet trackOpBit = 1;\nconst maxMarkerBits = 30;\nlet activeEffect;\nconst ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"iterate\" : \"\");\nconst MAP_KEY_ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"Map key iterate\" : \"\");\nclass ReactiveEffect {\n constructor(fn, scheduler = null, scope) {\n this.fn = fn;\n this.scheduler = scheduler;\n this.active = true;\n this.deps = [];\n this.parent = void 0;\n recordEffectScope(this, scope);\n }\n run() {\n if (!this.active) {\n return this.fn();\n }\n let parent = activeEffect;\n let lastShouldTrack = shouldTrack;\n while (parent) {\n if (parent === this) {\n return;\n }\n parent = parent.parent;\n }\n try {\n this.parent = activeEffect;\n activeEffect = this;\n shouldTrack = true;\n trackOpBit = 1 << ++effectTrackDepth;\n if (effectTrackDepth <= maxMarkerBits) {\n initDepMarkers(this);\n } else {\n cleanupEffect(this);\n }\n return this.fn();\n } finally {\n if (effectTrackDepth <= maxMarkerBits) {\n finalizeDepMarkers(this);\n }\n trackOpBit = 1 << --effectTrackDepth;\n activeEffect = this.parent;\n shouldTrack = lastShouldTrack;\n this.parent = void 0;\n if (this.deferStop) {\n this.stop();\n }\n }\n }\n stop() {\n if (activeEffect === this) {\n this.deferStop = true;\n } else if (this.active) {\n cleanupEffect(this);\n if (this.onStop) {\n this.onStop();\n }\n this.active = false;\n }\n }\n}\nfunction cleanupEffect(effect2) {\n const { deps } = effect2;\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].delete(effect2);\n }\n deps.length = 0;\n }\n}\nfunction effect(fn, options) {\n if (fn.effect) {\n fn = fn.effect.fn;\n }\n const _effect = new ReactiveEffect(fn);\n if (options) {\n extend(_effect, options);\n if (options.scope)\n recordEffectScope(_effect, options.scope);\n }\n if (!options || !options.lazy) {\n _effect.run();\n }\n const runner = _effect.run.bind(_effect);\n runner.effect = _effect;\n return runner;\n}\nfunction stop(runner) {\n runner.effect.stop();\n}\nlet shouldTrack = true;\nconst trackStack = [];\nfunction pauseTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = false;\n}\nfunction enableTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = true;\n}\nfunction resetTracking() {\n const last = trackStack.pop();\n shouldTrack = last === void 0 ? true : last;\n}\nfunction track(target, type, key) {\n if (shouldTrack && activeEffect) {\n let depsMap = targetMap.get(target);\n if (!depsMap) {\n targetMap.set(target, depsMap = /* @__PURE__ */ new Map());\n }\n let dep = depsMap.get(key);\n if (!dep) {\n depsMap.set(key, dep = createDep());\n }\n const eventInfo = !!(process.env.NODE_ENV !== \"production\") ? { effect: activeEffect, target, type, key } : void 0;\n trackEffects(dep, eventInfo);\n }\n}\nfunction trackEffects(dep, debuggerEventExtraInfo) {\n let shouldTrack2 = false;\n if (effectTrackDepth <= maxMarkerBits) {\n if (!newTracked(dep)) {\n dep.n |= trackOpBit;\n shouldTrack2 = !wasTracked(dep);\n }\n } else {\n shouldTrack2 = !dep.has(activeEffect);\n }\n if (shouldTrack2) {\n dep.add(activeEffect);\n activeEffect.deps.push(dep);\n if (!!(process.env.NODE_ENV !== \"production\") && activeEffect.onTrack) {\n activeEffect.onTrack(\n extend(\n {\n effect: activeEffect\n },\n debuggerEventExtraInfo\n )\n );\n }\n }\n}\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\n const depsMap = targetMap.get(target);\n if (!depsMap) {\n return;\n }\n let deps = [];\n if (type === \"clear\") {\n deps = [...depsMap.values()];\n } else if (key === \"length\" && isArray(target)) {\n const newLength = Number(newValue);\n depsMap.forEach((dep, key2) => {\n if (key2 === \"length\" || key2 >= newLength) {\n deps.push(dep);\n }\n });\n } else {\n if (key !== void 0) {\n deps.push(depsMap.get(key));\n }\n switch (type) {\n case \"add\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n } else if (isIntegerKey(key)) {\n deps.push(depsMap.get(\"length\"));\n }\n break;\n case \"delete\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n }\n break;\n case \"set\":\n if (isMap(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n }\n break;\n }\n }\n const eventInfo = !!(process.env.NODE_ENV !== \"production\") ? { target, type, key, newValue, oldValue, oldTarget } : void 0;\n if (deps.length === 1) {\n if (deps[0]) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(deps[0], eventInfo);\n } else {\n triggerEffects(deps[0]);\n }\n }\n } else {\n const effects = [];\n for (const dep of deps) {\n if (dep) {\n effects.push(...dep);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(createDep(effects), eventInfo);\n } else {\n triggerEffects(createDep(effects));\n }\n }\n}\nfunction triggerEffects(dep, debuggerEventExtraInfo) {\n const effects = isArray(dep) ? dep : [...dep];\n for (const effect2 of effects) {\n if (effect2.computed) {\n triggerEffect(effect2, debuggerEventExtraInfo);\n }\n }\n for (const effect2 of effects) {\n if (!effect2.computed) {\n triggerEffect(effect2, debuggerEventExtraInfo);\n }\n }\n}\nfunction triggerEffect(effect2, debuggerEventExtraInfo) {\n if (effect2 !== activeEffect || effect2.allowRecurse) {\n if (!!(process.env.NODE_ENV !== \"production\") && effect2.onTrigger) {\n effect2.onTrigger(extend({ effect: effect2 }, debuggerEventExtraInfo));\n }\n if (effect2.scheduler) {\n effect2.scheduler();\n } else {\n effect2.run();\n }\n }\n}\nfunction getDepFromReactive(object, key) {\n var _a;\n return (_a = targetMap.get(object)) == null ? void 0 : _a.get(key);\n}\n\nconst isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);\nconst builtInSymbols = new Set(\n /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== \"arguments\" && key !== \"caller\").map((key) => Symbol[key]).filter(isSymbol)\n);\nconst get$1 = /* @__PURE__ */ createGetter();\nconst shallowGet = /* @__PURE__ */ createGetter(false, true);\nconst readonlyGet = /* @__PURE__ */ createGetter(true);\nconst shallowReadonlyGet = /* @__PURE__ */ createGetter(true, true);\nconst arrayInstrumentations = /* @__PURE__ */ createArrayInstrumentations();\nfunction createArrayInstrumentations() {\n const instrumentations = {};\n [\"includes\", \"indexOf\", \"lastIndexOf\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n const arr = toRaw(this);\n for (let i = 0, l = this.length; i < l; i++) {\n track(arr, \"get\", i + \"\");\n }\n const res = arr[key](...args);\n if (res === -1 || res === false) {\n return arr[key](...args.map(toRaw));\n } else {\n return res;\n }\n };\n });\n [\"push\", \"pop\", \"shift\", \"unshift\", \"splice\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n pauseTracking();\n const res = toRaw(this)[key].apply(this, args);\n resetTracking();\n return res;\n };\n });\n return instrumentations;\n}\nfunction hasOwnProperty(key) {\n const obj = toRaw(this);\n track(obj, \"has\", key);\n return obj.hasOwnProperty(key);\n}\nfunction createGetter(isReadonly2 = false, shallow = false) {\n return function get2(target, key, receiver) {\n if (key === \"__v_isReactive\") {\n return !isReadonly2;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly2;\n } else if (key === \"__v_isShallow\") {\n return shallow;\n } else if (key === \"__v_raw\" && receiver === (isReadonly2 ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(target)) {\n return target;\n }\n const targetIsArray = isArray(target);\n if (!isReadonly2) {\n if (targetIsArray && hasOwn(arrayInstrumentations, key)) {\n return Reflect.get(arrayInstrumentations, key, receiver);\n }\n if (key === \"hasOwnProperty\") {\n return hasOwnProperty;\n }\n }\n const res = Reflect.get(target, key, receiver);\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\n return res;\n }\n if (!isReadonly2) {\n track(target, \"get\", key);\n }\n if (shallow) {\n return res;\n }\n if (isRef(res)) {\n return targetIsArray && isIntegerKey(key) ? res : res.value;\n }\n if (isObject(res)) {\n return isReadonly2 ? readonly(res) : reactive(res);\n }\n return res;\n };\n}\nconst set$1 = /* @__PURE__ */ createSetter();\nconst shallowSet = /* @__PURE__ */ createSetter(true);\nfunction createSetter(shallow = false) {\n return function set2(target, key, value, receiver) {\n let oldValue = target[key];\n if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {\n return false;\n }\n if (!shallow) {\n if (!isShallow(value) && !isReadonly(value)) {\n oldValue = toRaw(oldValue);\n value = toRaw(value);\n }\n if (!isArray(target) && isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n }\n }\n const hadKey = isArray(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);\n const result = Reflect.set(target, key, value, receiver);\n if (target === toRaw(receiver)) {\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n }\n return result;\n };\n}\nfunction deleteProperty(target, key) {\n const hadKey = hasOwn(target, key);\n const oldValue = target[key];\n const result = Reflect.deleteProperty(target, key);\n if (result && hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n}\nfunction has$1(target, key) {\n const result = Reflect.has(target, key);\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\n track(target, \"has\", key);\n }\n return result;\n}\nfunction ownKeys(target) {\n track(target, \"iterate\", isArray(target) ? \"length\" : ITERATE_KEY);\n return Reflect.ownKeys(target);\n}\nconst mutableHandlers = {\n get: get$1,\n set: set$1,\n deleteProperty,\n has: has$1,\n ownKeys\n};\nconst readonlyHandlers = {\n get: readonlyGet,\n set(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Set operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n },\n deleteProperty(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Delete operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n};\nconst shallowReactiveHandlers = /* @__PURE__ */ extend(\n {},\n mutableHandlers,\n {\n get: shallowGet,\n set: shallowSet\n }\n);\nconst shallowReadonlyHandlers = /* @__PURE__ */ extend(\n {},\n readonlyHandlers,\n {\n get: shallowReadonlyGet\n }\n);\n\nconst toShallow = (value) => value;\nconst getProto = (v) => Reflect.getPrototypeOf(v);\nfunction get(target, key, isReadonly = false, isShallow = false) {\n target = target[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (key !== rawKey) {\n track(rawTarget, \"get\", key);\n }\n track(rawTarget, \"get\", rawKey);\n }\n const { has: has2 } = getProto(rawTarget);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n if (has2.call(rawTarget, key)) {\n return wrap(target.get(key));\n } else if (has2.call(rawTarget, rawKey)) {\n return wrap(target.get(rawKey));\n } else if (target !== rawTarget) {\n target.get(key);\n }\n}\nfunction has(key, isReadonly = false) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (key !== rawKey) {\n track(rawTarget, \"has\", key);\n }\n track(rawTarget, \"has\", rawKey);\n }\n return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);\n}\nfunction size(target, isReadonly = false) {\n target = target[\"__v_raw\"];\n !isReadonly && track(toRaw(target), \"iterate\", ITERATE_KEY);\n return Reflect.get(target, \"size\", target);\n}\nfunction add(value) {\n value = toRaw(value);\n const target = toRaw(this);\n const proto = getProto(target);\n const hadKey = proto.has.call(target, value);\n if (!hadKey) {\n target.add(value);\n trigger(target, \"add\", value, value);\n }\n return this;\n}\nfunction set(key, value) {\n value = toRaw(value);\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2.call(target, key);\n target.set(key, value);\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n return this;\n}\nfunction deleteEntry(key) {\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2 ? get2.call(target, key) : void 0;\n const result = target.delete(key);\n if (hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n}\nfunction clear() {\n const target = toRaw(this);\n const hadItems = target.size !== 0;\n const oldTarget = !!(process.env.NODE_ENV !== \"production\") ? isMap(target) ? new Map(target) : new Set(target) : void 0;\n const result = target.clear();\n if (hadItems) {\n trigger(target, \"clear\", void 0, void 0, oldTarget);\n }\n return result;\n}\nfunction createForEach(isReadonly, isShallow) {\n return function forEach(callback, thisArg) {\n const observed = this;\n const target = observed[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(rawTarget, \"iterate\", ITERATE_KEY);\n return target.forEach((value, key) => {\n return callback.call(thisArg, wrap(value), wrap(key), observed);\n });\n };\n}\nfunction createIterableMethod(method, isReadonly, isShallow) {\n return function(...args) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const targetIsMap = isMap(rawTarget);\n const isPair = method === \"entries\" || method === Symbol.iterator && targetIsMap;\n const isKeyOnly = method === \"keys\" && targetIsMap;\n const innerIterator = target[method](...args);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(\n rawTarget,\n \"iterate\",\n isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY\n );\n return {\n // iterator protocol\n next() {\n const { value, done } = innerIterator.next();\n return done ? { value, done } : {\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\n done\n };\n },\n // iterable protocol\n [Symbol.iterator]() {\n return this;\n }\n };\n };\n}\nfunction createReadonlyMethod(type) {\n return function(...args) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\n console.warn(\n `${capitalize(type)} operation ${key}failed: target is readonly.`,\n toRaw(this)\n );\n }\n return type === \"delete\" ? false : this;\n };\n}\nfunction createInstrumentations() {\n const mutableInstrumentations2 = {\n get(key) {\n return get(this, key);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, false)\n };\n const shallowInstrumentations2 = {\n get(key) {\n return get(this, key, false, true);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, true)\n };\n const readonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, false)\n };\n const shallowReadonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, true)\n };\n const iteratorMethods = [\"keys\", \"values\", \"entries\", Symbol.iterator];\n iteratorMethods.forEach((method) => {\n mutableInstrumentations2[method] = createIterableMethod(\n method,\n false,\n false\n );\n readonlyInstrumentations2[method] = createIterableMethod(\n method,\n true,\n false\n );\n shallowInstrumentations2[method] = createIterableMethod(\n method,\n false,\n true\n );\n shallowReadonlyInstrumentations2[method] = createIterableMethod(\n method,\n true,\n true\n );\n });\n return [\n mutableInstrumentations2,\n readonlyInstrumentations2,\n shallowInstrumentations2,\n shallowReadonlyInstrumentations2\n ];\n}\nconst [\n mutableInstrumentations,\n readonlyInstrumentations,\n shallowInstrumentations,\n shallowReadonlyInstrumentations\n] = /* @__PURE__ */ createInstrumentations();\nfunction createInstrumentationGetter(isReadonly, shallow) {\n const instrumentations = shallow ? isReadonly ? shallowReadonlyInstrumentations : shallowInstrumentations : isReadonly ? readonlyInstrumentations : mutableInstrumentations;\n return (target, key, receiver) => {\n if (key === \"__v_isReactive\") {\n return !isReadonly;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly;\n } else if (key === \"__v_raw\") {\n return target;\n }\n return Reflect.get(\n hasOwn(instrumentations, key) && key in target ? instrumentations : target,\n key,\n receiver\n );\n };\n}\nconst mutableCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, false)\n};\nconst shallowCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, true)\n};\nconst readonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, false)\n};\nconst shallowReadonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, true)\n};\nfunction checkIdentityKeys(target, has2, key) {\n const rawKey = toRaw(key);\n if (rawKey !== key && has2.call(target, rawKey)) {\n const type = toRawType(target);\n console.warn(\n `Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`\n );\n }\n}\n\nconst reactiveMap = /* @__PURE__ */ new WeakMap();\nconst shallowReactiveMap = /* @__PURE__ */ new WeakMap();\nconst readonlyMap = /* @__PURE__ */ new WeakMap();\nconst shallowReadonlyMap = /* @__PURE__ */ new WeakMap();\nfunction targetTypeMap(rawType) {\n switch (rawType) {\n case \"Object\":\n case \"Array\":\n return 1 /* COMMON */;\n case \"Map\":\n case \"Set\":\n case \"WeakMap\":\n case \"WeakSet\":\n return 2 /* COLLECTION */;\n default:\n return 0 /* INVALID */;\n }\n}\nfunction getTargetType(value) {\n return value[\"__v_skip\"] || !Object.isExtensible(value) ? 0 /* INVALID */ : targetTypeMap(toRawType(value));\n}\nfunction reactive(target) {\n if (isReadonly(target)) {\n return target;\n }\n return createReactiveObject(\n target,\n false,\n mutableHandlers,\n mutableCollectionHandlers,\n reactiveMap\n );\n}\nfunction shallowReactive(target) {\n return createReactiveObject(\n target,\n false,\n shallowReactiveHandlers,\n shallowCollectionHandlers,\n shallowReactiveMap\n );\n}\nfunction readonly(target) {\n return createReactiveObject(\n target,\n true,\n readonlyHandlers,\n readonlyCollectionHandlers,\n readonlyMap\n );\n}\nfunction shallowReadonly(target) {\n return createReactiveObject(\n target,\n true,\n shallowReadonlyHandlers,\n shallowReadonlyCollectionHandlers,\n shallowReadonlyMap\n );\n}\nfunction createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {\n if (!isObject(target)) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n console.warn(`value cannot be made reactive: ${String(target)}`);\n }\n return target;\n }\n if (target[\"__v_raw\"] && !(isReadonly2 && target[\"__v_isReactive\"])) {\n return target;\n }\n const existingProxy = proxyMap.get(target);\n if (existingProxy) {\n return existingProxy;\n }\n const targetType = getTargetType(target);\n if (targetType === 0 /* INVALID */) {\n return target;\n }\n const proxy = new Proxy(\n target,\n targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers\n );\n proxyMap.set(target, proxy);\n return proxy;\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\"]);\n }\n return !!(value && value[\"__v_isReactive\"]);\n}\nfunction isReadonly(value) {\n return !!(value && value[\"__v_isReadonly\"]);\n}\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\"]);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\"];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n def(value, \"__v_skip\", true);\n return value;\n}\nconst toReactive = (value) => isObject(value) ? reactive(value) : value;\nconst toReadonly = (value) => isObject(value) ? readonly(value) : value;\n\nfunction trackRefValue(ref2) {\n if (shouldTrack && activeEffect) {\n ref2 = toRaw(ref2);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n trackEffects(ref2.dep || (ref2.dep = createDep()), {\n target: ref2,\n type: \"get\",\n key: \"value\"\n });\n } else {\n trackEffects(ref2.dep || (ref2.dep = createDep()));\n }\n }\n}\nfunction triggerRefValue(ref2, newVal) {\n ref2 = toRaw(ref2);\n const dep = ref2.dep;\n if (dep) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(dep, {\n target: ref2,\n type: \"set\",\n key: \"value\",\n newValue: newVal\n });\n } else {\n triggerEffects(dep);\n }\n }\n}\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n return new RefImpl(rawValue, shallow);\n}\nclass RefImpl {\n constructor(value, __v_isShallow) {\n this.__v_isShallow = __v_isShallow;\n this.dep = void 0;\n this.__v_isRef = true;\n this._rawValue = __v_isShallow ? value : toRaw(value);\n this._value = __v_isShallow ? value : toReactive(value);\n }\n get value() {\n trackRefValue(this);\n return this._value;\n }\n set value(newVal) {\n const useDirectValue = this.__v_isShallow || isShallow(newVal) || isReadonly(newVal);\n newVal = useDirectValue ? newVal : toRaw(newVal);\n if (hasChanged(newVal, this._rawValue)) {\n this._rawValue = newVal;\n this._value = useDirectValue ? newVal : toReactive(newVal);\n triggerRefValue(this, newVal);\n }\n }\n}\nfunction triggerRef(ref2) {\n triggerRefValue(ref2, !!(process.env.NODE_ENV !== \"production\") ? ref2.value : void 0);\n}\nfunction unref(ref2) {\n return isRef(ref2) ? ref2.value : ref2;\n}\nfunction toValue(source) {\n return isFunction(source) ? source() : unref(source);\n}\nconst shallowUnwrapHandlers = {\n get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),\n set: (target, key, value, receiver) => {\n const oldValue = target[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n } else {\n return Reflect.set(target, key, value, receiver);\n }\n }\n};\nfunction proxyRefs(objectWithRefs) {\n return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);\n}\nclass CustomRefImpl {\n constructor(factory) {\n this.dep = void 0;\n this.__v_isRef = true;\n const { get, set } = factory(\n () => trackRefValue(this),\n () => triggerRefValue(this)\n );\n this._get = get;\n this._set = set;\n }\n get value() {\n return this._get();\n }\n set value(newVal) {\n this._set(newVal);\n }\n}\nfunction customRef(factory) {\n return new CustomRefImpl(factory);\n}\nfunction toRefs(object) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isProxy(object)) {\n console.warn(`toRefs() expects a reactive object but received a plain one.`);\n }\n const ret = isArray(object) ? new Array(object.length) : {};\n for (const key in object) {\n ret[key] = propertyToRef(object, key);\n }\n return ret;\n}\nclass ObjectRefImpl {\n constructor(_object, _key, _defaultValue) {\n this._object = _object;\n this._key = _key;\n this._defaultValue = _defaultValue;\n this.__v_isRef = true;\n }\n get value() {\n const val = this._object[this._key];\n return val === void 0 ? this._defaultValue : val;\n }\n set value(newVal) {\n this._object[this._key] = newVal;\n }\n get dep() {\n return getDepFromReactive(toRaw(this._object), this._key);\n }\n}\nclass GetterRefImpl {\n constructor(_getter) {\n this._getter = _getter;\n this.__v_isRef = true;\n this.__v_isReadonly = true;\n }\n get value() {\n return this._getter();\n }\n}\nfunction toRef(source, key, defaultValue) {\n if (isRef(source)) {\n return source;\n } else if (isFunction(source)) {\n return new GetterRefImpl(source);\n } else if (isObject(source) && arguments.length > 1) {\n return propertyToRef(source, key, defaultValue);\n } else {\n return ref(source);\n }\n}\nfunction propertyToRef(source, key, defaultValue) {\n const val = source[key];\n return isRef(val) ? val : new ObjectRefImpl(\n source,\n key,\n defaultValue\n );\n}\n\nclass ComputedRefImpl {\n constructor(getter, _setter, isReadonly, isSSR) {\n this._setter = _setter;\n this.dep = void 0;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = false;\n this._dirty = true;\n this.effect = new ReactiveEffect(getter, () => {\n if (!this._dirty) {\n this._dirty = true;\n triggerRefValue(this);\n }\n });\n this.effect.computed = this;\n this.effect.active = this._cacheable = !isSSR;\n this[\"__v_isReadonly\"] = isReadonly;\n }\n get value() {\n const self = toRaw(this);\n trackRefValue(self);\n if (self._dirty || !self._cacheable) {\n self._dirty = false;\n self._value = self.effect.run();\n }\n return self._value;\n }\n set value(newValue) {\n this._setter(newValue);\n }\n}\nfunction computed(getterOrOptions, debugOptions, isSSR = false) {\n let getter;\n let setter;\n const onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = !!(process.env.NODE_ENV !== \"production\") ? () => {\n console.warn(\"Write operation failed: computed value is readonly\");\n } : NOOP;\n } else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);\n if (!!(process.env.NODE_ENV !== \"production\") && debugOptions && !isSSR) {\n cRef.effect.onTrack = debugOptions.onTrack;\n cRef.effect.onTrigger = debugOptions.onTrigger;\n }\n return cRef;\n}\n\nconst tick = /* @__PURE__ */ Promise.resolve();\nconst queue = [];\nlet queued = false;\nconst scheduler = (fn) => {\n queue.push(fn);\n if (!queued) {\n queued = true;\n tick.then(flush);\n }\n};\nconst flush = () => {\n for (let i = 0; i < queue.length; i++) {\n queue[i]();\n }\n queue.length = 0;\n queued = false;\n};\nclass DeferredComputedRefImpl {\n constructor(getter) {\n this.dep = void 0;\n this._dirty = true;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = true;\n let compareTarget;\n let hasCompareTarget = false;\n let scheduled = false;\n this.effect = new ReactiveEffect(getter, (computedTrigger) => {\n if (this.dep) {\n if (computedTrigger) {\n compareTarget = this._value;\n hasCompareTarget = true;\n } else if (!scheduled) {\n const valueToCompare = hasCompareTarget ? compareTarget : this._value;\n scheduled = true;\n hasCompareTarget = false;\n scheduler(() => {\n if (this.effect.active && this._get() !== valueToCompare) {\n triggerRefValue(this);\n }\n scheduled = false;\n });\n }\n for (const e of this.dep) {\n if (e.computed instanceof DeferredComputedRefImpl) {\n e.scheduler(\n true\n /* computedTrigger */\n );\n }\n }\n }\n this._dirty = true;\n });\n this.effect.computed = this;\n }\n _get() {\n if (this._dirty) {\n this._dirty = false;\n return this._value = this.effect.run();\n }\n return this._value;\n }\n get value() {\n trackRefValue(this);\n return toRaw(this)._get();\n }\n}\nfunction deferredComputed(getter) {\n return new DeferredComputedRefImpl(getter);\n}\n\nexport { EffectScope, ITERATE_KEY, ReactiveEffect, computed, customRef, deferredComputed, effect, effectScope, enableTracking, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, pauseTracking, proxyRefs, reactive, readonly, ref, resetTracking, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, track, trigger, triggerRef, unref };\n","import { pauseTracking, resetTracking, isRef, toRaw, getCurrentScope, isShallow as isShallow$1, isReactive, ReactiveEffect, ref, shallowReadonly, track, reactive, shallowReactive, trigger, isProxy, proxyRefs, markRaw, EffectScope, computed as computed$1, isReadonly } from '@vue/reactivity';\nexport { EffectScope, ReactiveEffect, customRef, effect, effectScope, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, triggerRef, unref } from '@vue/reactivity';\nimport { isString, isFunction, isPromise, isArray, NOOP, getGlobalThis, extend, EMPTY_OBJ, toHandlerKey, looseToNumber, hyphenate, camelize, isObject, isOn, hasOwn, isModelListener, toNumber, hasChanged, remove, isSet, isMap, isPlainObject, isBuiltInDirective, invokeArrayFns, isRegExp, capitalize, isGloballyWhitelisted, NO, def, isReservedProp, EMPTY_ARR, toRawType, makeMap, normalizeClass, normalizeStyle } from '@vue/shared';\nexport { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';\n\nconst stack = [];\nfunction pushWarningContext(vnode) {\n stack.push(vnode);\n}\nfunction popWarningContext() {\n stack.pop();\n}\nfunction warn(msg, ...args) {\n if (!!!(process.env.NODE_ENV !== \"production\"))\n return;\n pauseTracking();\n const instance = stack.length ? stack[stack.length - 1].component : null;\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\n const trace = getComponentTrace();\n if (appWarnHandler) {\n callWithErrorHandling(\n appWarnHandler,\n instance,\n 11,\n [\n msg + args.join(\"\"),\n instance && instance.proxy,\n trace.map(\n ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`\n ).join(\"\\n\"),\n trace\n ]\n );\n } else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n if (trace.length && // avoid spamming console during tests\n true) {\n warnArgs.push(`\n`, ...formatTrace(trace));\n }\n console.warn(...warnArgs);\n }\n resetTracking();\n}\nfunction getComponentTrace() {\n let currentVNode = stack[stack.length - 1];\n if (!currentVNode) {\n return [];\n }\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n } else {\n normalizedStack.push({\n vnode: currentVNode,\n recurseCount: 0\n });\n }\n const parentInstance = currentVNode.component && currentVNode.component.parent;\n currentVNode = parentInstance && parentInstance.vnode;\n }\n return normalizedStack;\n}\nfunction formatTrace(trace) {\n const logs = [];\n trace.forEach((entry, i) => {\n logs.push(...i === 0 ? [] : [`\n`], ...formatTraceEntry(entry));\n });\n return logs;\n}\nfunction formatTraceEntry({ vnode, recurseCount }) {\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\n const isRoot = vnode.component ? vnode.component.parent == null : false;\n const open = ` at <${formatComponentName(\n vnode.component,\n vnode.type,\n isRoot\n )}`;\n const close = `>` + postfix;\n return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close];\n}\nfunction formatProps(props) {\n const res = [];\n const keys = Object.keys(props);\n keys.slice(0, 3).forEach((key) => {\n res.push(...formatProp(key, props[key]));\n });\n if (keys.length > 3) {\n res.push(` ...`);\n }\n return res;\n}\nfunction formatProp(key, value, raw) {\n if (isString(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n } else if (typeof value === \"number\" || typeof value === \"boolean\" || value == null) {\n return raw ? value : [`${key}=${value}`];\n } else if (isRef(value)) {\n value = formatProp(key, toRaw(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n } else if (isFunction(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n } else {\n value = toRaw(value);\n return raw ? value : [`${key}=`, value];\n }\n}\nfunction assertNumber(val, type) {\n if (!!!(process.env.NODE_ENV !== \"production\"))\n return;\n if (val === void 0) {\n return;\n } else if (typeof val !== \"number\") {\n warn(`${type} is not a valid number - got ${JSON.stringify(val)}.`);\n } else if (isNaN(val)) {\n warn(`${type} is NaN - the duration expression might be incorrect.`);\n }\n}\n\nconst ErrorTypeStrings = {\n [\"sp\"]: \"serverPrefetch hook\",\n [\"bc\"]: \"beforeCreate hook\",\n [\"c\"]: \"created hook\",\n [\"bm\"]: \"beforeMount hook\",\n [\"m\"]: \"mounted hook\",\n [\"bu\"]: \"beforeUpdate hook\",\n [\"u\"]: \"updated\",\n [\"bum\"]: \"beforeUnmount hook\",\n [\"um\"]: \"unmounted hook\",\n [\"a\"]: \"activated hook\",\n [\"da\"]: \"deactivated hook\",\n [\"ec\"]: \"errorCaptured hook\",\n [\"rtc\"]: \"renderTracked hook\",\n [\"rtg\"]: \"renderTriggered hook\",\n [0]: \"setup function\",\n [1]: \"render function\",\n [2]: \"watcher getter\",\n [3]: \"watcher callback\",\n [4]: \"watcher cleanup function\",\n [5]: \"native event handler\",\n [6]: \"component event handler\",\n [7]: \"vnode hook\",\n [8]: \"directive hook\",\n [9]: \"transition hook\",\n [10]: \"app errorHandler\",\n [11]: \"app warnHandler\",\n [12]: \"ref function\",\n [13]: \"async component loader\",\n [14]: \"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core\"\n};\nfunction callWithErrorHandling(fn, instance, type, args) {\n let res;\n try {\n res = args ? fn(...args) : fn();\n } catch (err) {\n handleError(err, instance, type);\n }\n return res;\n}\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\n if (isFunction(fn)) {\n const res = callWithErrorHandling(fn, instance, type, args);\n if (res && isPromise(res)) {\n res.catch((err) => {\n handleError(err, instance, type);\n });\n }\n return res;\n }\n const values = [];\n for (let i = 0; i < fn.length; i++) {\n values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\n }\n return values;\n}\nfunction handleError(err, instance, type, throwInDev = true) {\n const contextVNode = instance ? instance.vnode : null;\n if (instance) {\n let cur = instance.parent;\n const exposedInstance = instance.proxy;\n const errorInfo = !!(process.env.NODE_ENV !== \"production\") ? ErrorTypeStrings[type] : type;\n while (cur) {\n const errorCapturedHooks = cur.ec;\n if (errorCapturedHooks) {\n for (let i = 0; i < errorCapturedHooks.length; i++) {\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\n return;\n }\n }\n }\n cur = cur.parent;\n }\n const appErrorHandler = instance.appContext.config.errorHandler;\n if (appErrorHandler) {\n callWithErrorHandling(\n appErrorHandler,\n null,\n 10,\n [err, exposedInstance, errorInfo]\n );\n return;\n }\n }\n logError(err, type, contextVNode, throwInDev);\n}\nfunction logError(err, type, contextVNode, throwInDev = true) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const info = ErrorTypeStrings[type];\n if (contextVNode) {\n pushWarningContext(contextVNode);\n }\n warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\n if (contextVNode) {\n popWarningContext();\n }\n if (throwInDev) {\n throw err;\n } else {\n console.error(err);\n }\n } else {\n console.error(err);\n }\n}\n\nlet isFlushing = false;\nlet isFlushPending = false;\nconst queue = [];\nlet flushIndex = 0;\nconst pendingPostFlushCbs = [];\nlet activePostFlushCbs = null;\nlet postFlushIndex = 0;\nconst resolvedPromise = /* @__PURE__ */ Promise.resolve();\nlet currentFlushPromise = null;\nconst RECURSION_LIMIT = 100;\nfunction nextTick(fn) {\n const p = currentFlushPromise || resolvedPromise;\n return fn ? p.then(this ? fn.bind(this) : fn) : p;\n}\nfunction findInsertionIndex(id) {\n let start = flushIndex + 1;\n let end = queue.length;\n while (start < end) {\n const middle = start + end >>> 1;\n const middleJobId = getId(queue[middle]);\n middleJobId < id ? start = middle + 1 : end = middle;\n }\n return start;\n}\nfunction queueJob(job) {\n if (!queue.length || !queue.includes(\n job,\n isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex\n )) {\n if (job.id == null) {\n queue.push(job);\n } else {\n queue.splice(findInsertionIndex(job.id), 0, job);\n }\n queueFlush();\n }\n}\nfunction queueFlush() {\n if (!isFlushing && !isFlushPending) {\n isFlushPending = true;\n currentFlushPromise = resolvedPromise.then(flushJobs);\n }\n}\nfunction invalidateJob(job) {\n const i = queue.indexOf(job);\n if (i > flushIndex) {\n queue.splice(i, 1);\n }\n}\nfunction queuePostFlushCb(cb) {\n if (!isArray(cb)) {\n if (!activePostFlushCbs || !activePostFlushCbs.includes(\n cb,\n cb.allowRecurse ? postFlushIndex + 1 : postFlushIndex\n )) {\n pendingPostFlushCbs.push(cb);\n }\n } else {\n pendingPostFlushCbs.push(...cb);\n }\n queueFlush();\n}\nfunction flushPreFlushCbs(seen, i = isFlushing ? flushIndex + 1 : 0) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n for (; i < queue.length; i++) {\n const cb = queue[i];\n if (cb && cb.pre) {\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, cb)) {\n continue;\n }\n queue.splice(i, 1);\n i--;\n cb();\n }\n }\n}\nfunction flushPostFlushCbs(seen) {\n if (pendingPostFlushCbs.length) {\n const deduped = [...new Set(pendingPostFlushCbs)];\n pendingPostFlushCbs.length = 0;\n if (activePostFlushCbs) {\n activePostFlushCbs.push(...deduped);\n return;\n }\n activePostFlushCbs = deduped;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n activePostFlushCbs.sort((a, b) => getId(a) - getId(b));\n for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {\n continue;\n }\n activePostFlushCbs[postFlushIndex]();\n }\n activePostFlushCbs = null;\n postFlushIndex = 0;\n }\n}\nconst getId = (job) => job.id == null ? Infinity : job.id;\nconst comparator = (a, b) => {\n const diff = getId(a) - getId(b);\n if (diff === 0) {\n if (a.pre && !b.pre)\n return -1;\n if (b.pre && !a.pre)\n return 1;\n }\n return diff;\n};\nfunction flushJobs(seen) {\n isFlushPending = false;\n isFlushing = true;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n queue.sort(comparator);\n const check = !!(process.env.NODE_ENV !== \"production\") ? (job) => checkRecursiveUpdates(seen, job) : NOOP;\n try {\n for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\n const job = queue[flushIndex];\n if (job && job.active !== false) {\n if (!!(process.env.NODE_ENV !== \"production\") && check(job)) {\n continue;\n }\n callWithErrorHandling(job, null, 14);\n }\n }\n } finally {\n flushIndex = 0;\n queue.length = 0;\n flushPostFlushCbs(seen);\n isFlushing = false;\n currentFlushPromise = null;\n if (queue.length || pendingPostFlushCbs.length) {\n flushJobs(seen);\n }\n }\n}\nfunction checkRecursiveUpdates(seen, fn) {\n if (!seen.has(fn)) {\n seen.set(fn, 1);\n } else {\n const count = seen.get(fn);\n if (count > RECURSION_LIMIT) {\n const instance = fn.ownerInstance;\n const componentName = instance && getComponentName(instance.type);\n warn(\n `Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`\n );\n return true;\n } else {\n seen.set(fn, count + 1);\n }\n }\n}\n\nlet isHmrUpdating = false;\nconst hmrDirtyComponents = /* @__PURE__ */ new Set();\nif (!!(process.env.NODE_ENV !== \"production\")) {\n getGlobalThis().__VUE_HMR_RUNTIME__ = {\n createRecord: tryWrap(createRecord),\n rerender: tryWrap(rerender),\n reload: tryWrap(reload)\n };\n}\nconst map = /* @__PURE__ */ new Map();\nfunction registerHMR(instance) {\n const id = instance.type.__hmrId;\n let record = map.get(id);\n if (!record) {\n createRecord(id, instance.type);\n record = map.get(id);\n }\n record.instances.add(instance);\n}\nfunction unregisterHMR(instance) {\n map.get(instance.type.__hmrId).instances.delete(instance);\n}\nfunction createRecord(id, initialDef) {\n if (map.has(id)) {\n return false;\n }\n map.set(id, {\n initialDef: normalizeClassComponent(initialDef),\n instances: /* @__PURE__ */ new Set()\n });\n return true;\n}\nfunction normalizeClassComponent(component) {\n return isClassComponent(component) ? component.__vccOpts : component;\n}\nfunction rerender(id, newRender) {\n const record = map.get(id);\n if (!record) {\n return;\n }\n record.initialDef.render = newRender;\n [...record.instances].forEach((instance) => {\n if (newRender) {\n instance.render = newRender;\n normalizeClassComponent(instance.type).render = newRender;\n }\n instance.renderCache = [];\n isHmrUpdating = true;\n instance.update();\n isHmrUpdating = false;\n });\n}\nfunction reload(id, newComp) {\n const record = map.get(id);\n if (!record)\n return;\n newComp = normalizeClassComponent(newComp);\n updateComponentDef(record.initialDef, newComp);\n const instances = [...record.instances];\n for (const instance of instances) {\n const oldComp = normalizeClassComponent(instance.type);\n if (!hmrDirtyComponents.has(oldComp)) {\n if (oldComp !== record.initialDef) {\n updateComponentDef(oldComp, newComp);\n }\n hmrDirtyComponents.add(oldComp);\n }\n instance.appContext.propsCache.delete(instance.type);\n instance.appContext.emitsCache.delete(instance.type);\n instance.appContext.optionsCache.delete(instance.type);\n if (instance.ceReload) {\n hmrDirtyComponents.add(oldComp);\n instance.ceReload(newComp.styles);\n hmrDirtyComponents.delete(oldComp);\n } else if (instance.parent) {\n queueJob(instance.parent.update);\n } else if (instance.appContext.reload) {\n instance.appContext.reload();\n } else if (typeof window !== \"undefined\") {\n window.location.reload();\n } else {\n console.warn(\n \"[HMR] Root or manually mounted instance modified. Full reload required.\"\n );\n }\n }\n queuePostFlushCb(() => {\n for (const instance of instances) {\n hmrDirtyComponents.delete(\n normalizeClassComponent(instance.type)\n );\n }\n });\n}\nfunction updateComponentDef(oldComp, newComp) {\n extend(oldComp, newComp);\n for (const key in oldComp) {\n if (key !== \"__file\" && !(key in newComp)) {\n delete oldComp[key];\n }\n }\n}\nfunction tryWrap(fn) {\n return (id, arg) => {\n try {\n return fn(id, arg);\n } catch (e) {\n console.error(e);\n console.warn(\n `[HMR] Something went wrong during Vue component hot-reload. Full reload required.`\n );\n }\n };\n}\n\nlet devtools;\nlet buffer = [];\nlet devtoolsNotInstalled = false;\nfunction emit$1(event, ...args) {\n if (devtools) {\n devtools.emit(event, ...args);\n } else if (!devtoolsNotInstalled) {\n buffer.push({ event, args });\n }\n}\nfunction setDevtoolsHook(hook, target) {\n var _a, _b;\n devtools = hook;\n if (devtools) {\n devtools.enabled = true;\n buffer.forEach(({ event, args }) => devtools.emit(event, ...args));\n buffer = [];\n } else if (\n // handle late devtools injection - only do this if we are in an actual\n // browser environment to avoid the timer handle stalling test runner exit\n // (#4815)\n typeof window !== \"undefined\" && // some envs mock window but not fully\n window.HTMLElement && // also exclude jsdom\n !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes(\"jsdom\"))\n ) {\n const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];\n replay.push((newHook) => {\n setDevtoolsHook(newHook, target);\n });\n setTimeout(() => {\n if (!devtools) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n devtoolsNotInstalled = true;\n buffer = [];\n }\n }, 3e3);\n } else {\n devtoolsNotInstalled = true;\n buffer = [];\n }\n}\nfunction devtoolsInitApp(app, version) {\n emit$1(\"app:init\" /* APP_INIT */, app, version, {\n Fragment,\n Text,\n Comment,\n Static\n });\n}\nfunction devtoolsUnmountApp(app) {\n emit$1(\"app:unmount\" /* APP_UNMOUNT */, app);\n}\nconst devtoolsComponentAdded = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:added\" /* COMPONENT_ADDED */\n);\nconst devtoolsComponentUpdated = /* @__PURE__ */ createDevtoolsComponentHook(\"component:updated\" /* COMPONENT_UPDATED */);\nconst _devtoolsComponentRemoved = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:removed\" /* COMPONENT_REMOVED */\n);\nconst devtoolsComponentRemoved = (component) => {\n if (devtools && typeof devtools.cleanupBuffer === \"function\" && // remove the component if it wasn't buffered\n !devtools.cleanupBuffer(component)) {\n _devtoolsComponentRemoved(component);\n }\n};\nfunction createDevtoolsComponentHook(hook) {\n return (component) => {\n emit$1(\n hook,\n component.appContext.app,\n component.uid,\n component.parent ? component.parent.uid : void 0,\n component\n );\n };\n}\nconst devtoolsPerfStart = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:start\" /* PERFORMANCE_START */\n);\nconst devtoolsPerfEnd = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:end\" /* PERFORMANCE_END */\n);\nfunction createDevtoolsPerformanceHook(hook) {\n return (component, type, time) => {\n emit$1(hook, component.appContext.app, component.uid, component, type, time);\n };\n}\nfunction devtoolsComponentEmit(component, event, params) {\n emit$1(\n \"component:emit\" /* COMPONENT_EMIT */,\n component.appContext.app,\n component,\n event,\n params\n );\n}\n\nfunction emit(instance, event, ...rawArgs) {\n if (instance.isUnmounted)\n return;\n const props = instance.vnode.props || EMPTY_OBJ;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const {\n emitsOptions,\n propsOptions: [propsOptions]\n } = instance;\n if (emitsOptions) {\n if (!(event in emitsOptions) && true) {\n if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {\n warn(\n `Component emitted event \"${event}\" but it is neither declared in the emits option nor as an \"${toHandlerKey(event)}\" prop.`\n );\n }\n } else {\n const validator = emitsOptions[event];\n if (isFunction(validator)) {\n const isValid = validator(...rawArgs);\n if (!isValid) {\n warn(\n `Invalid event arguments: event validation failed for event \"${event}\".`\n );\n }\n }\n }\n }\n }\n let args = rawArgs;\n const isModelListener = event.startsWith(\"update:\");\n const modelArg = isModelListener && event.slice(7);\n if (modelArg && modelArg in props) {\n const modifiersKey = `${modelArg === \"modelValue\" ? \"model\" : modelArg}Modifiers`;\n const { number, trim } = props[modifiersKey] || EMPTY_OBJ;\n if (trim) {\n args = rawArgs.map((a) => isString(a) ? a.trim() : a);\n }\n if (number) {\n args = rawArgs.map(looseToNumber);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentEmit(instance, event, args);\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const lowerCaseEvent = event.toLowerCase();\n if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {\n warn(\n `Event \"${lowerCaseEvent}\" is emitted in component ${formatComponentName(\n instance,\n instance.type\n )} but the handler is registered for \"${event}\". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use \"${hyphenate(event)}\" instead of \"${event}\".`\n );\n }\n }\n let handlerName;\n let handler = props[handlerName = toHandlerKey(event)] || // also try camelCase event handler (#2249)\n props[handlerName = toHandlerKey(camelize(event))];\n if (!handler && isModelListener) {\n handler = props[handlerName = toHandlerKey(hyphenate(event))];\n }\n if (handler) {\n callWithAsyncErrorHandling(\n handler,\n instance,\n 6,\n args\n );\n }\n const onceHandler = props[handlerName + `Once`];\n if (onceHandler) {\n if (!instance.emitted) {\n instance.emitted = {};\n } else if (instance.emitted[handlerName]) {\n return;\n }\n instance.emitted[handlerName] = true;\n callWithAsyncErrorHandling(\n onceHandler,\n instance,\n 6,\n args\n );\n }\n}\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\n const cache = appContext.emitsCache;\n const cached = cache.get(comp);\n if (cached !== void 0) {\n return cached;\n }\n const raw = comp.emits;\n let normalized = {};\n let hasExtends = false;\n if (__VUE_OPTIONS_API__ && !isFunction(comp)) {\n const extendEmits = (raw2) => {\n const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);\n if (normalizedFromExtend) {\n hasExtends = true;\n extend(normalized, normalizedFromExtend);\n }\n };\n if (!asMixin && appContext.mixins.length) {\n appContext.mixins.forEach(extendEmits);\n }\n if (comp.extends) {\n extendEmits(comp.extends);\n }\n if (comp.mixins) {\n comp.mixins.forEach(extendEmits);\n }\n }\n if (!raw && !hasExtends) {\n if (isObject(comp)) {\n cache.set(comp, null);\n }\n return null;\n }\n if (isArray(raw)) {\n raw.forEach((key) => normalized[key] = null);\n } else {\n extend(normalized, raw);\n }\n if (isObject(comp)) {\n cache.set(comp, normalized);\n }\n return normalized;\n}\nfunction isEmitListener(options, key) {\n if (!options || !isOn(key)) {\n return false;\n }\n key = key.slice(2).replace(/Once$/, \"\");\n return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);\n}\n\nlet currentRenderingInstance = null;\nlet currentScopeId = null;\nfunction setCurrentRenderingInstance(instance) {\n const prev = currentRenderingInstance;\n currentRenderingInstance = instance;\n currentScopeId = instance && instance.type.__scopeId || null;\n return prev;\n}\nfunction pushScopeId(id) {\n currentScopeId = id;\n}\nfunction popScopeId() {\n currentScopeId = null;\n}\nconst withScopeId = (_id) => withCtx;\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {\n if (!ctx)\n return fn;\n if (fn._n) {\n return fn;\n }\n const renderFnWithContext = (...args) => {\n if (renderFnWithContext._d) {\n setBlockTracking(-1);\n }\n const prevInstance = setCurrentRenderingInstance(ctx);\n let res;\n try {\n res = fn(...args);\n } finally {\n setCurrentRenderingInstance(prevInstance);\n if (renderFnWithContext._d) {\n setBlockTracking(1);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentUpdated(ctx);\n }\n return res;\n };\n renderFnWithContext._n = true;\n renderFnWithContext._c = true;\n renderFnWithContext._d = true;\n return renderFnWithContext;\n}\n\nlet accessedAttrs = false;\nfunction markAttrsAccessed() {\n accessedAttrs = true;\n}\nfunction renderComponentRoot(instance) {\n const {\n type: Component,\n vnode,\n proxy,\n withProxy,\n props,\n propsOptions: [propsOptions],\n slots,\n attrs,\n emit,\n render,\n renderCache,\n data,\n setupState,\n ctx,\n inheritAttrs\n } = instance;\n let result;\n let fallthroughAttrs;\n const prev = setCurrentRenderingInstance(instance);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n accessedAttrs = false;\n }\n try {\n if (vnode.shapeFlag & 4) {\n const proxyToUse = withProxy || proxy;\n result = normalizeVNode(\n render.call(\n proxyToUse,\n proxyToUse,\n renderCache,\n props,\n setupState,\n data,\n ctx\n )\n );\n fallthroughAttrs = attrs;\n } else {\n const render2 = Component;\n if (!!(process.env.NODE_ENV !== \"production\") && attrs === props) {\n markAttrsAccessed();\n }\n result = normalizeVNode(\n render2.length > 1 ? render2(\n props,\n !!(process.env.NODE_ENV !== \"production\") ? {\n get attrs() {\n markAttrsAccessed();\n return attrs;\n },\n slots,\n emit\n } : { attrs, slots, emit }\n ) : render2(\n props,\n null\n /* we know it doesn't need it */\n )\n );\n fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);\n }\n } catch (err) {\n blockStack.length = 0;\n handleError(err, instance, 1);\n result = createVNode(Comment);\n }\n let root = result;\n let setRoot = void 0;\n if (!!(process.env.NODE_ENV !== \"production\") && result.patchFlag > 0 && result.patchFlag & 2048) {\n [root, setRoot] = getChildRoot(result);\n }\n if (fallthroughAttrs && inheritAttrs !== false) {\n const keys = Object.keys(fallthroughAttrs);\n const { shapeFlag } = root;\n if (keys.length) {\n if (shapeFlag & (1 | 6)) {\n if (propsOptions && keys.some(isModelListener)) {\n fallthroughAttrs = filterModelListeners(\n fallthroughAttrs,\n propsOptions\n );\n }\n root = cloneVNode(root, fallthroughAttrs);\n } else if (!!(process.env.NODE_ENV !== \"production\") && !accessedAttrs && root.type !== Comment) {\n const allAttrs = Object.keys(attrs);\n const eventAttrs = [];\n const extraAttrs = [];\n for (let i = 0, l = allAttrs.length; i < l; i++) {\n const key = allAttrs[i];\n if (isOn(key)) {\n if (!isModelListener(key)) {\n eventAttrs.push(key[2].toLowerCase() + key.slice(3));\n }\n } else {\n extraAttrs.push(key);\n }\n }\n if (extraAttrs.length) {\n warn(\n `Extraneous non-props attributes (${extraAttrs.join(\", \")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`\n );\n }\n if (eventAttrs.length) {\n warn(\n `Extraneous non-emits event listeners (${eventAttrs.join(\", \")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the \"emits\" option.`\n );\n }\n }\n }\n }\n if (vnode.dirs) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isElementRoot(root)) {\n warn(\n `Runtime directive used on component with non-element root node. The directives will not function as intended.`\n );\n }\n root = cloneVNode(root);\n root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;\n }\n if (vnode.transition) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isElementRoot(root)) {\n warn(\n `Component inside renders non-element root node that cannot be animated.`\n );\n }\n root.transition = vnode.transition;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && setRoot) {\n setRoot(root);\n } else {\n result = root;\n }\n setCurrentRenderingInstance(prev);\n return result;\n}\nconst getChildRoot = (vnode) => {\n const rawChildren = vnode.children;\n const dynamicChildren = vnode.dynamicChildren;\n const childRoot = filterSingleRoot(rawChildren);\n if (!childRoot) {\n return [vnode, void 0];\n }\n const index = rawChildren.indexOf(childRoot);\n const dynamicIndex = dynamicChildren ? dynamicChildren.indexOf(childRoot) : -1;\n const setRoot = (updatedRoot) => {\n rawChildren[index] = updatedRoot;\n if (dynamicChildren) {\n if (dynamicIndex > -1) {\n dynamicChildren[dynamicIndex] = updatedRoot;\n } else if (updatedRoot.patchFlag > 0) {\n vnode.dynamicChildren = [...dynamicChildren, updatedRoot];\n }\n }\n };\n return [normalizeVNode(childRoot), setRoot];\n};\nfunction filterSingleRoot(children) {\n let singleRoot;\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n if (isVNode(child)) {\n if (child.type !== Comment || child.children === \"v-if\") {\n if (singleRoot) {\n return;\n } else {\n singleRoot = child;\n }\n }\n } else {\n return;\n }\n }\n return singleRoot;\n}\nconst getFunctionalFallthrough = (attrs) => {\n let res;\n for (const key in attrs) {\n if (key === \"class\" || key === \"style\" || isOn(key)) {\n (res || (res = {}))[key] = attrs[key];\n }\n }\n return res;\n};\nconst filterModelListeners = (attrs, props) => {\n const res = {};\n for (const key in attrs) {\n if (!isModelListener(key) || !(key.slice(9) in props)) {\n res[key] = attrs[key];\n }\n }\n return res;\n};\nconst isElementRoot = (vnode) => {\n return vnode.shapeFlag & (6 | 1) || vnode.type === Comment;\n};\nfunction shouldUpdateComponent(prevVNode, nextVNode, optimized) {\n const { props: prevProps, children: prevChildren, component } = prevVNode;\n const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;\n const emits = component.emitsOptions;\n if (!!(process.env.NODE_ENV !== \"production\") && (prevChildren || nextChildren) && isHmrUpdating) {\n return true;\n }\n if (nextVNode.dirs || nextVNode.transition) {\n return true;\n }\n if (optimized && patchFlag >= 0) {\n if (patchFlag & 1024) {\n return true;\n }\n if (patchFlag & 16) {\n if (!prevProps) {\n return !!nextProps;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n } else if (patchFlag & 8) {\n const dynamicProps = nextVNode.dynamicProps;\n for (let i = 0; i < dynamicProps.length; i++) {\n const key = dynamicProps[i];\n if (nextProps[key] !== prevProps[key] && !isEmitListener(emits, key)) {\n return true;\n }\n }\n }\n } else {\n if (prevChildren || nextChildren) {\n if (!nextChildren || !nextChildren.$stable) {\n return true;\n }\n }\n if (prevProps === nextProps) {\n return false;\n }\n if (!prevProps) {\n return !!nextProps;\n }\n if (!nextProps) {\n return true;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n }\n return false;\n}\nfunction hasPropsChanged(prevProps, nextProps, emitsOptions) {\n const nextKeys = Object.keys(nextProps);\n if (nextKeys.length !== Object.keys(prevProps).length) {\n return true;\n }\n for (let i = 0; i < nextKeys.length; i++) {\n const key = nextKeys[i];\n if (nextProps[key] !== prevProps[key] && !isEmitListener(emitsOptions, key)) {\n return true;\n }\n }\n return false;\n}\nfunction updateHOCHostEl({ vnode, parent }, el) {\n while (parent && parent.subTree === vnode) {\n (vnode = parent.vnode).el = el;\n parent = parent.parent;\n }\n}\n\nconst isSuspense = (type) => type.__isSuspense;\nconst SuspenseImpl = {\n name: \"Suspense\",\n // In order to make Suspense tree-shakable, we need to avoid importing it\n // directly in the renderer. The renderer checks for the __isSuspense flag\n // on a vnode's type and calls the `process` method, passing in renderer\n // internals.\n __isSuspense: true,\n process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n if (n1 == null) {\n mountSuspense(\n n2,\n container,\n anchor,\n parentComponent,\n parentSuspense,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n } else {\n patchSuspense(\n n1,\n n2,\n container,\n anchor,\n parentComponent,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n }\n },\n hydrate: hydrateSuspense,\n create: createSuspenseBoundary,\n normalize: normalizeSuspenseChildren\n};\nconst Suspense = SuspenseImpl ;\nfunction triggerEvent(vnode, name) {\n const eventListener = vnode.props && vnode.props[name];\n if (isFunction(eventListener)) {\n eventListener();\n }\n}\nfunction mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n const {\n p: patch,\n o: { createElement }\n } = rendererInternals;\n const hiddenContainer = createElement(\"div\");\n const suspense = vnode.suspense = createSuspenseBoundary(\n vnode,\n parentSuspense,\n parentComponent,\n container,\n hiddenContainer,\n anchor,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n patch(\n null,\n suspense.pendingBranch = vnode.ssContent,\n hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds\n );\n if (suspense.deps > 0) {\n triggerEvent(vnode, \"onPending\");\n triggerEvent(vnode, \"onFallback\");\n patch(\n null,\n vnode.ssFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds\n );\n setActiveBranch(suspense, vnode.ssFallback);\n } else {\n suspense.resolve(false, true);\n }\n}\nfunction patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, { p: patch, um: unmount, o: { createElement } }) {\n const suspense = n2.suspense = n1.suspense;\n suspense.vnode = n2;\n n2.el = n1.el;\n const newBranch = n2.ssContent;\n const newFallback = n2.ssFallback;\n const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;\n if (pendingBranch) {\n suspense.pendingBranch = newBranch;\n if (isSameVNodeType(newBranch, pendingBranch)) {\n patch(\n pendingBranch,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else if (isInFallback) {\n patch(\n activeBranch,\n newFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newFallback);\n }\n } else {\n suspense.pendingId++;\n if (isHydrating) {\n suspense.isHydrating = false;\n suspense.activeBranch = pendingBranch;\n } else {\n unmount(pendingBranch, parentComponent, suspense);\n }\n suspense.deps = 0;\n suspense.effects.length = 0;\n suspense.hiddenContainer = createElement(\"div\");\n if (isInFallback) {\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else {\n patch(\n activeBranch,\n newFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newFallback);\n }\n } else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n patch(\n activeBranch,\n newBranch,\n container,\n anchor,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n suspense.resolve(true);\n } else {\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n }\n }\n } else {\n if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n patch(\n activeBranch,\n newBranch,\n container,\n anchor,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newBranch);\n } else {\n triggerEvent(n2, \"onPending\");\n suspense.pendingBranch = newBranch;\n suspense.pendingId++;\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else {\n const { timeout, pendingId } = suspense;\n if (timeout > 0) {\n setTimeout(() => {\n if (suspense.pendingId === pendingId) {\n suspense.fallback(newFallback);\n }\n }, timeout);\n } else if (timeout === 0) {\n suspense.fallback(newFallback);\n }\n }\n }\n }\n}\nlet hasWarned = false;\nfunction createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {\n if (!!(process.env.NODE_ENV !== \"production\") && true && !hasWarned) {\n hasWarned = true;\n console[console.info ? \"info\" : \"log\"](\n ` is an experimental feature and its API will likely change.`\n );\n }\n const {\n p: patch,\n m: move,\n um: unmount,\n n: next,\n o: { parentNode, remove }\n } = rendererInternals;\n let parentSuspenseId;\n const isSuspensible = isVNodeSuspensible(vnode);\n if (isSuspensible) {\n if (parentSuspense == null ? void 0 : parentSuspense.pendingBranch) {\n parentSuspenseId = parentSuspense.pendingId;\n parentSuspense.deps++;\n }\n }\n const timeout = vnode.props ? toNumber(vnode.props.timeout) : void 0;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n assertNumber(timeout, `Suspense timeout`);\n }\n const suspense = {\n vnode,\n parent: parentSuspense,\n parentComponent,\n isSVG,\n container,\n hiddenContainer,\n anchor,\n deps: 0,\n pendingId: 0,\n timeout: typeof timeout === \"number\" ? timeout : -1,\n activeBranch: null,\n pendingBranch: null,\n isInFallback: true,\n isHydrating,\n isUnmounted: false,\n effects: [],\n resolve(resume = false, sync = false) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n if (!resume && !suspense.pendingBranch) {\n throw new Error(\n `suspense.resolve() is called without a pending branch.`\n );\n }\n if (suspense.isUnmounted) {\n throw new Error(\n `suspense.resolve() is called on an already unmounted suspense boundary.`\n );\n }\n }\n const {\n vnode: vnode2,\n activeBranch,\n pendingBranch,\n pendingId,\n effects,\n parentComponent: parentComponent2,\n container: container2\n } = suspense;\n if (suspense.isHydrating) {\n suspense.isHydrating = false;\n } else if (!resume) {\n const delayEnter = activeBranch && pendingBranch.transition && pendingBranch.transition.mode === \"out-in\";\n if (delayEnter) {\n activeBranch.transition.afterLeave = () => {\n if (pendingId === suspense.pendingId) {\n move(pendingBranch, container2, anchor2, 0);\n }\n };\n }\n let { anchor: anchor2 } = suspense;\n if (activeBranch) {\n anchor2 = next(activeBranch);\n unmount(activeBranch, parentComponent2, suspense, true);\n }\n if (!delayEnter) {\n move(pendingBranch, container2, anchor2, 0);\n }\n }\n setActiveBranch(suspense, pendingBranch);\n suspense.pendingBranch = null;\n suspense.isInFallback = false;\n let parent = suspense.parent;\n let hasUnresolvedAncestor = false;\n while (parent) {\n if (parent.pendingBranch) {\n parent.effects.push(...effects);\n hasUnresolvedAncestor = true;\n break;\n }\n parent = parent.parent;\n }\n if (!hasUnresolvedAncestor) {\n queuePostFlushCb(effects);\n }\n suspense.effects = [];\n if (isSuspensible) {\n if (parentSuspense && parentSuspense.pendingBranch && parentSuspenseId === parentSuspense.pendingId) {\n parentSuspense.deps--;\n if (parentSuspense.deps === 0 && !sync) {\n parentSuspense.resolve();\n }\n }\n }\n triggerEvent(vnode2, \"onResolve\");\n },\n fallback(fallbackVNode) {\n if (!suspense.pendingBranch) {\n return;\n }\n const { vnode: vnode2, activeBranch, parentComponent: parentComponent2, container: container2, isSVG: isSVG2 } = suspense;\n triggerEvent(vnode2, \"onFallback\");\n const anchor2 = next(activeBranch);\n const mountFallback = () => {\n if (!suspense.isInFallback) {\n return;\n }\n patch(\n null,\n fallbackVNode,\n container2,\n anchor2,\n parentComponent2,\n null,\n // fallback tree will not have suspense context\n isSVG2,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, fallbackVNode);\n };\n const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === \"out-in\";\n if (delayEnter) {\n activeBranch.transition.afterLeave = mountFallback;\n }\n suspense.isInFallback = true;\n unmount(\n activeBranch,\n parentComponent2,\n null,\n // no suspense so unmount hooks fire now\n true\n // shouldRemove\n );\n if (!delayEnter) {\n mountFallback();\n }\n },\n move(container2, anchor2, type) {\n suspense.activeBranch && move(suspense.activeBranch, container2, anchor2, type);\n suspense.container = container2;\n },\n next() {\n return suspense.activeBranch && next(suspense.activeBranch);\n },\n registerDep(instance, setupRenderEffect) {\n const isInPendingSuspense = !!suspense.pendingBranch;\n if (isInPendingSuspense) {\n suspense.deps++;\n }\n const hydratedEl = instance.vnode.el;\n instance.asyncDep.catch((err) => {\n handleError(err, instance, 0);\n }).then((asyncSetupResult) => {\n if (instance.isUnmounted || suspense.isUnmounted || suspense.pendingId !== instance.suspenseId) {\n return;\n }\n instance.asyncResolved = true;\n const { vnode: vnode2 } = instance;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n pushWarningContext(vnode2);\n }\n handleSetupResult(instance, asyncSetupResult, false);\n if (hydratedEl) {\n vnode2.el = hydratedEl;\n }\n const placeholder = !hydratedEl && instance.subTree.el;\n setupRenderEffect(\n instance,\n vnode2,\n // component may have been moved before resolve.\n // if this is not a hydration, instance.subTree will be the comment\n // placeholder.\n parentNode(hydratedEl || instance.subTree.el),\n // anchor will not be used if this is hydration, so only need to\n // consider the comment placeholder case.\n hydratedEl ? null : next(instance.subTree),\n suspense,\n isSVG,\n optimized\n );\n if (placeholder) {\n remove(placeholder);\n }\n updateHOCHostEl(instance, vnode2.el);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n popWarningContext();\n }\n if (isInPendingSuspense && --suspense.deps === 0) {\n suspense.resolve();\n }\n });\n },\n unmount(parentSuspense2, doRemove) {\n suspense.isUnmounted = true;\n if (suspense.activeBranch) {\n unmount(\n suspense.activeBranch,\n parentComponent,\n parentSuspense2,\n doRemove\n );\n }\n if (suspense.pendingBranch) {\n unmount(\n suspense.pendingBranch,\n parentComponent,\n parentSuspense2,\n doRemove\n );\n }\n }\n };\n return suspense;\n}\nfunction hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {\n const suspense = vnode.suspense = createSuspenseBoundary(\n vnode,\n parentSuspense,\n parentComponent,\n node.parentNode,\n document.createElement(\"div\"),\n null,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals,\n true\n /* hydrating */\n );\n const result = hydrateNode(\n node,\n suspense.pendingBranch = vnode.ssContent,\n parentComponent,\n suspense,\n slotScopeIds,\n optimized\n );\n if (suspense.deps === 0) {\n suspense.resolve(false, true);\n }\n return result;\n}\nfunction normalizeSuspenseChildren(vnode) {\n const { shapeFlag, children } = vnode;\n const isSlotChildren = shapeFlag & 32;\n vnode.ssContent = normalizeSuspenseSlot(\n isSlotChildren ? children.default : children\n );\n vnode.ssFallback = isSlotChildren ? normalizeSuspenseSlot(children.fallback) : createVNode(Comment);\n}\nfunction normalizeSuspenseSlot(s) {\n let block;\n if (isFunction(s)) {\n const trackBlock = isBlockTreeEnabled && s._c;\n if (trackBlock) {\n s._d = false;\n openBlock();\n }\n s = s();\n if (trackBlock) {\n s._d = true;\n block = currentBlock;\n closeBlock();\n }\n }\n if (isArray(s)) {\n const singleChild = filterSingleRoot(s);\n if (!!(process.env.NODE_ENV !== \"production\") && !singleChild) {\n warn(` slots expect a single root node.`);\n }\n s = singleChild;\n }\n s = normalizeVNode(s);\n if (block && !s.dynamicChildren) {\n s.dynamicChildren = block.filter((c) => c !== s);\n }\n return s;\n}\nfunction queueEffectWithSuspense(fn, suspense) {\n if (suspense && suspense.pendingBranch) {\n if (isArray(fn)) {\n suspense.effects.push(...fn);\n } else {\n suspense.effects.push(fn);\n }\n } else {\n queuePostFlushCb(fn);\n }\n}\nfunction setActiveBranch(suspense, branch) {\n suspense.activeBranch = branch;\n const { vnode, parentComponent } = suspense;\n const el = vnode.el = branch.el;\n if (parentComponent && parentComponent.subTree === vnode) {\n parentComponent.vnode.el = el;\n updateHOCHostEl(parentComponent, el);\n }\n}\nfunction isVNodeSuspensible(vnode) {\n var _a;\n return ((_a = vnode.props) == null ? void 0 : _a.suspensible) != null && vnode.props.suspensible !== false;\n}\n\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"post\" }) : { flush: \"post\" }\n );\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"sync\" }) : { flush: \"sync\" }\n );\n}\nconst INITIAL_WATCHER_VALUE = {};\nfunction watch(source, cb, options) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isFunction(cb)) {\n warn(\n `\\`watch(fn, options?)\\` signature has been moved to a separate API. Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only supports \\`watch(source, cb, options?) signature.`\n );\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EMPTY_OBJ) {\n var _a;\n if (!!(process.env.NODE_ENV !== \"production\") && !cb) {\n if (immediate !== void 0) {\n warn(\n `watch() \"immediate\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n if (deep !== void 0) {\n warn(\n `watch() \"deep\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n }\n const warnInvalidSource = (s) => {\n warn(\n `Invalid watch source: `,\n s,\n `A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`\n );\n };\n const instance = getCurrentScope() === ((_a = currentInstance) == null ? void 0 : _a.scope) ? currentInstance : null;\n let getter;\n let forceTrigger = false;\n let isMultiSource = false;\n if (isRef(source)) {\n getter = () => source.value;\n forceTrigger = isShallow$1(source);\n } else if (isReactive(source)) {\n getter = () => source;\n deep = true;\n } else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some((s) => isReactive(s) || isShallow$1(s));\n getter = () => source.map((s) => {\n if (isRef(s)) {\n return s.value;\n } else if (isReactive(s)) {\n return traverse(s);\n } else if (isFunction(s)) {\n return callWithErrorHandling(s, instance, 2);\n } else {\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(s);\n }\n });\n } else if (isFunction(source)) {\n if (cb) {\n getter = () => callWithErrorHandling(source, instance, 2);\n } else {\n getter = () => {\n if (instance && instance.isUnmounted) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return callWithAsyncErrorHandling(\n source,\n instance,\n 3,\n [onCleanup]\n );\n };\n }\n } else {\n getter = NOOP;\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(source);\n }\n if (cb && deep) {\n const baseGetter = getter;\n getter = () => traverse(baseGetter());\n }\n let cleanup;\n let onCleanup = (fn) => {\n cleanup = effect.onStop = () => {\n callWithErrorHandling(fn, instance, 4);\n };\n };\n let ssrCleanup;\n if (isInSSRComponentSetup) {\n onCleanup = NOOP;\n if (!cb) {\n getter();\n } else if (immediate) {\n callWithAsyncErrorHandling(cb, instance, 3, [\n getter(),\n isMultiSource ? [] : void 0,\n onCleanup\n ]);\n }\n if (flush === \"sync\") {\n const ctx = useSSRContext();\n ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);\n } else {\n return NOOP;\n }\n }\n let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;\n const job = () => {\n if (!effect.active) {\n return;\n }\n if (cb) {\n const newValue = effect.run();\n if (deep || forceTrigger || (isMultiSource ? newValue.some(\n (v, i) => hasChanged(v, oldValue[i])\n ) : hasChanged(newValue, oldValue)) || false) {\n if (cleanup) {\n cleanup();\n }\n callWithAsyncErrorHandling(cb, instance, 3, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n } else {\n effect.run();\n }\n };\n job.allowRecurse = !!cb;\n let scheduler;\n if (flush === \"sync\") {\n scheduler = job;\n } else if (flush === \"post\") {\n scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);\n } else {\n job.pre = true;\n if (instance)\n job.id = instance.uid;\n scheduler = () => queueJob(job);\n }\n const effect = new ReactiveEffect(getter, scheduler);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n effect.onTrack = onTrack;\n effect.onTrigger = onTrigger;\n }\n if (cb) {\n if (immediate) {\n job();\n } else {\n oldValue = effect.run();\n }\n } else if (flush === \"post\") {\n queuePostRenderEffect(\n effect.run.bind(effect),\n instance && instance.suspense\n );\n } else {\n effect.run();\n }\n const unwatch = () => {\n effect.stop();\n if (instance && instance.scope) {\n remove(instance.scope.effects, effect);\n }\n };\n if (ssrCleanup)\n ssrCleanup.push(unwatch);\n return unwatch;\n}\nfunction instanceWatch(source, value, options) {\n const publicThis = this.proxy;\n const getter = isString(source) ? source.includes(\".\") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);\n let cb;\n if (isFunction(value)) {\n cb = value;\n } else {\n cb = value.handler;\n options = value;\n }\n const cur = currentInstance;\n setCurrentInstance(this);\n const res = doWatch(getter, cb.bind(publicThis), options);\n if (cur) {\n setCurrentInstance(cur);\n } else {\n unsetCurrentInstance();\n }\n return res;\n}\nfunction createPathGetter(ctx, path) {\n const segments = path.split(\".\");\n return () => {\n let cur = ctx;\n for (let i = 0; i < segments.length && cur; i++) {\n cur = cur[segments[i]];\n }\n return cur;\n };\n}\nfunction traverse(value, seen) {\n if (!isObject(value) || value[\"__v_skip\"]) {\n return value;\n }\n seen = seen || /* @__PURE__ */ new Set();\n if (seen.has(value)) {\n return value;\n }\n seen.add(value);\n if (isRef(value)) {\n traverse(value.value, seen);\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n traverse(value[i], seen);\n }\n } else if (isSet(value) || isMap(value)) {\n value.forEach((v) => {\n traverse(v, seen);\n });\n } else if (isPlainObject(value)) {\n for (const key in value) {\n traverse(value[key], seen);\n }\n }\n return value;\n}\n\nfunction validateDirectiveName(name) {\n if (isBuiltInDirective(name)) {\n warn(\"Do not use built-in directive ids as custom directive id: \" + name);\n }\n}\nfunction withDirectives(vnode, directives) {\n const internalInstance = currentRenderingInstance;\n if (internalInstance === null) {\n !!(process.env.NODE_ENV !== \"production\") && warn(`withDirectives can only be used inside render functions.`);\n return vnode;\n }\n const instance = getExposeProxy(internalInstance) || internalInstance.proxy;\n const bindings = vnode.dirs || (vnode.dirs = []);\n for (let i = 0; i < directives.length; i++) {\n let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];\n if (dir) {\n if (isFunction(dir)) {\n dir = {\n mounted: dir,\n updated: dir\n };\n }\n if (dir.deep) {\n traverse(value);\n }\n bindings.push({\n dir,\n instance,\n value,\n oldValue: void 0,\n arg,\n modifiers\n });\n }\n }\n return vnode;\n}\nfunction invokeDirectiveHook(vnode, prevVNode, instance, name) {\n const bindings = vnode.dirs;\n const oldBindings = prevVNode && prevVNode.dirs;\n for (let i = 0; i < bindings.length; i++) {\n const binding = bindings[i];\n if (oldBindings) {\n binding.oldValue = oldBindings[i].value;\n }\n let hook = binding.dir[name];\n if (hook) {\n pauseTracking();\n callWithAsyncErrorHandling(hook, instance, 8, [\n vnode.el,\n binding,\n vnode,\n prevVNode\n ]);\n resetTracking();\n }\n }\n}\n\nfunction useTransitionState() {\n const state = {\n isMounted: false,\n isLeaving: false,\n isUnmounting: false,\n leavingVNodes: /* @__PURE__ */ new Map()\n };\n onMounted(() => {\n state.isMounted = true;\n });\n onBeforeUnmount(() => {\n state.isUnmounting = true;\n });\n return state;\n}\nconst TransitionHookValidator = [Function, Array];\nconst BaseTransitionPropsValidators = {\n mode: String,\n appear: Boolean,\n persisted: Boolean,\n // enter\n onBeforeEnter: TransitionHookValidator,\n onEnter: TransitionHookValidator,\n onAfterEnter: TransitionHookValidator,\n onEnterCancelled: TransitionHookValidator,\n // leave\n onBeforeLeave: TransitionHookValidator,\n onLeave: TransitionHookValidator,\n onAfterLeave: TransitionHookValidator,\n onLeaveCancelled: TransitionHookValidator,\n // appear\n onBeforeAppear: TransitionHookValidator,\n onAppear: TransitionHookValidator,\n onAfterAppear: TransitionHookValidator,\n onAppearCancelled: TransitionHookValidator\n};\nconst BaseTransitionImpl = {\n name: `BaseTransition`,\n props: BaseTransitionPropsValidators,\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const state = useTransitionState();\n let prevTransitionKey;\n return () => {\n const children = slots.default && getTransitionRawChildren(slots.default(), true);\n if (!children || !children.length) {\n return;\n }\n let child = children[0];\n if (children.length > 1) {\n let hasFound = false;\n for (const c of children) {\n if (c.type !== Comment) {\n if (!!(process.env.NODE_ENV !== \"production\") && hasFound) {\n warn(\n \" can only be used on a single element or component. Use for lists.\"\n );\n break;\n }\n child = c;\n hasFound = true;\n if (!!!(process.env.NODE_ENV !== \"production\"))\n break;\n }\n }\n }\n const rawProps = toRaw(props);\n const { mode } = rawProps;\n if (!!(process.env.NODE_ENV !== \"production\") && mode && mode !== \"in-out\" && mode !== \"out-in\" && mode !== \"default\") {\n warn(`invalid mode: ${mode}`);\n }\n if (state.isLeaving) {\n return emptyPlaceholder(child);\n }\n const innerChild = getKeepAliveChild(child);\n if (!innerChild) {\n return emptyPlaceholder(child);\n }\n const enterHooks = resolveTransitionHooks(\n innerChild,\n rawProps,\n state,\n instance\n );\n setTransitionHooks(innerChild, enterHooks);\n const oldChild = instance.subTree;\n const oldInnerChild = oldChild && getKeepAliveChild(oldChild);\n let transitionKeyChanged = false;\n const { getTransitionKey } = innerChild.type;\n if (getTransitionKey) {\n const key = getTransitionKey();\n if (prevTransitionKey === void 0) {\n prevTransitionKey = key;\n } else if (key !== prevTransitionKey) {\n prevTransitionKey = key;\n transitionKeyChanged = true;\n }\n }\n if (oldInnerChild && oldInnerChild.type !== Comment && (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {\n const leavingHooks = resolveTransitionHooks(\n oldInnerChild,\n rawProps,\n state,\n instance\n );\n setTransitionHooks(oldInnerChild, leavingHooks);\n if (mode === \"out-in\") {\n state.isLeaving = true;\n leavingHooks.afterLeave = () => {\n state.isLeaving = false;\n if (instance.update.active !== false) {\n instance.update();\n }\n };\n return emptyPlaceholder(child);\n } else if (mode === \"in-out\" && innerChild.type !== Comment) {\n leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\n const leavingVNodesCache = getLeavingNodesForType(\n state,\n oldInnerChild\n );\n leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\n el._leaveCb = () => {\n earlyRemove();\n el._leaveCb = void 0;\n delete enterHooks.delayedLeave;\n };\n enterHooks.delayedLeave = delayedLeave;\n };\n }\n }\n return child;\n };\n }\n};\nconst BaseTransition = BaseTransitionImpl;\nfunction getLeavingNodesForType(state, vnode) {\n const { leavingVNodes } = state;\n let leavingVNodesCache = leavingVNodes.get(vnode.type);\n if (!leavingVNodesCache) {\n leavingVNodesCache = /* @__PURE__ */ Object.create(null);\n leavingVNodes.set(vnode.type, leavingVNodesCache);\n }\n return leavingVNodesCache;\n}\nfunction resolveTransitionHooks(vnode, props, state, instance) {\n const {\n appear,\n mode,\n persisted = false,\n onBeforeEnter,\n onEnter,\n onAfterEnter,\n onEnterCancelled,\n onBeforeLeave,\n onLeave,\n onAfterLeave,\n onLeaveCancelled,\n onBeforeAppear,\n onAppear,\n onAfterAppear,\n onAppearCancelled\n } = props;\n const key = String(vnode.key);\n const leavingVNodesCache = getLeavingNodesForType(state, vnode);\n const callHook = (hook, args) => {\n hook && callWithAsyncErrorHandling(\n hook,\n instance,\n 9,\n args\n );\n };\n const callAsyncHook = (hook, args) => {\n const done = args[1];\n callHook(hook, args);\n if (isArray(hook)) {\n if (hook.every((hook2) => hook2.length <= 1))\n done();\n } else if (hook.length <= 1) {\n done();\n }\n };\n const hooks = {\n mode,\n persisted,\n beforeEnter(el) {\n let hook = onBeforeEnter;\n if (!state.isMounted) {\n if (appear) {\n hook = onBeforeAppear || onBeforeEnter;\n } else {\n return;\n }\n }\n if (el._leaveCb) {\n el._leaveCb(\n true\n /* cancelled */\n );\n }\n const leavingVNode = leavingVNodesCache[key];\n if (leavingVNode && isSameVNodeType(vnode, leavingVNode) && leavingVNode.el._leaveCb) {\n leavingVNode.el._leaveCb();\n }\n callHook(hook, [el]);\n },\n enter(el) {\n let hook = onEnter;\n let afterHook = onAfterEnter;\n let cancelHook = onEnterCancelled;\n if (!state.isMounted) {\n if (appear) {\n hook = onAppear || onEnter;\n afterHook = onAfterAppear || onAfterEnter;\n cancelHook = onAppearCancelled || onEnterCancelled;\n } else {\n return;\n }\n }\n let called = false;\n const done = el._enterCb = (cancelled) => {\n if (called)\n return;\n called = true;\n if (cancelled) {\n callHook(cancelHook, [el]);\n } else {\n callHook(afterHook, [el]);\n }\n if (hooks.delayedLeave) {\n hooks.delayedLeave();\n }\n el._enterCb = void 0;\n };\n if (hook) {\n callAsyncHook(hook, [el, done]);\n } else {\n done();\n }\n },\n leave(el, remove) {\n const key2 = String(vnode.key);\n if (el._enterCb) {\n el._enterCb(\n true\n /* cancelled */\n );\n }\n if (state.isUnmounting) {\n return remove();\n }\n callHook(onBeforeLeave, [el]);\n let called = false;\n const done = el._leaveCb = (cancelled) => {\n if (called)\n return;\n called = true;\n remove();\n if (cancelled) {\n callHook(onLeaveCancelled, [el]);\n } else {\n callHook(onAfterLeave, [el]);\n }\n el._leaveCb = void 0;\n if (leavingVNodesCache[key2] === vnode) {\n delete leavingVNodesCache[key2];\n }\n };\n leavingVNodesCache[key2] = vnode;\n if (onLeave) {\n callAsyncHook(onLeave, [el, done]);\n } else {\n done();\n }\n },\n clone(vnode2) {\n return resolveTransitionHooks(vnode2, props, state, instance);\n }\n };\n return hooks;\n}\nfunction emptyPlaceholder(vnode) {\n if (isKeepAlive(vnode)) {\n vnode = cloneVNode(vnode);\n vnode.children = null;\n return vnode;\n }\n}\nfunction getKeepAliveChild(vnode) {\n return isKeepAlive(vnode) ? vnode.children ? vnode.children[0] : void 0 : vnode;\n}\nfunction setTransitionHooks(vnode, hooks) {\n if (vnode.shapeFlag & 6 && vnode.component) {\n setTransitionHooks(vnode.component.subTree, hooks);\n } else if (vnode.shapeFlag & 128) {\n vnode.ssContent.transition = hooks.clone(vnode.ssContent);\n vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\n } else {\n vnode.transition = hooks;\n }\n}\nfunction getTransitionRawChildren(children, keepComment = false, parentKey) {\n let ret = [];\n let keyedFragmentCount = 0;\n for (let i = 0; i < children.length; i++) {\n let child = children[i];\n const key = parentKey == null ? child.key : String(parentKey) + String(child.key != null ? child.key : i);\n if (child.type === Fragment) {\n if (child.patchFlag & 128)\n keyedFragmentCount++;\n ret = ret.concat(\n getTransitionRawChildren(child.children, keepComment, key)\n );\n } else if (keepComment || child.type !== Comment) {\n ret.push(key != null ? cloneVNode(child, { key }) : child);\n }\n }\n if (keyedFragmentCount > 1) {\n for (let i = 0; i < ret.length; i++) {\n ret[i].patchFlag = -2;\n }\n }\n return ret;\n}\n\nfunction defineComponent(options, extraOptions) {\n return isFunction(options) ? (\n // #8326: extend call and options.name access are considered side-effects\n // by Rollup, so we have to wrap it in a pure-annotated IIFE.\n /* @__PURE__ */ (() => extend({ name: options.name }, extraOptions, { setup: options }))()\n ) : options;\n}\n\nconst isAsyncWrapper = (i) => !!i.type.__asyncLoader;\nfunction defineAsyncComponent(source) {\n if (isFunction(source)) {\n source = { loader: source };\n }\n const {\n loader,\n loadingComponent,\n errorComponent,\n delay = 200,\n timeout,\n // undefined = never times out\n suspensible = true,\n onError: userOnError\n } = source;\n let pendingRequest = null;\n let resolvedComp;\n let retries = 0;\n const retry = () => {\n retries++;\n pendingRequest = null;\n return load();\n };\n const load = () => {\n let thisRequest;\n return pendingRequest || (thisRequest = pendingRequest = loader().catch((err) => {\n err = err instanceof Error ? err : new Error(String(err));\n if (userOnError) {\n return new Promise((resolve, reject) => {\n const userRetry = () => resolve(retry());\n const userFail = () => reject(err);\n userOnError(err, userRetry, userFail, retries + 1);\n });\n } else {\n throw err;\n }\n }).then((comp) => {\n if (thisRequest !== pendingRequest && pendingRequest) {\n return pendingRequest;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && !comp) {\n warn(\n `Async component loader resolved to undefined. If you are using retry(), make sure to return its return value.`\n );\n }\n if (comp && (comp.__esModule || comp[Symbol.toStringTag] === \"Module\")) {\n comp = comp.default;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && comp && !isObject(comp) && !isFunction(comp)) {\n throw new Error(`Invalid async component load result: ${comp}`);\n }\n resolvedComp = comp;\n return comp;\n }));\n };\n return defineComponent({\n name: \"AsyncComponentWrapper\",\n __asyncLoader: load,\n get __asyncResolved() {\n return resolvedComp;\n },\n setup() {\n const instance = currentInstance;\n if (resolvedComp) {\n return () => createInnerComp(resolvedComp, instance);\n }\n const onError = (err) => {\n pendingRequest = null;\n handleError(\n err,\n instance,\n 13,\n !errorComponent\n /* do not throw in dev if user provided error component */\n );\n };\n if (suspensible && instance.suspense || isInSSRComponentSetup) {\n return load().then((comp) => {\n return () => createInnerComp(comp, instance);\n }).catch((err) => {\n onError(err);\n return () => errorComponent ? createVNode(errorComponent, {\n error: err\n }) : null;\n });\n }\n const loaded = ref(false);\n const error = ref();\n const delayed = ref(!!delay);\n if (delay) {\n setTimeout(() => {\n delayed.value = false;\n }, delay);\n }\n if (timeout != null) {\n setTimeout(() => {\n if (!loaded.value && !error.value) {\n const err = new Error(\n `Async component timed out after ${timeout}ms.`\n );\n onError(err);\n error.value = err;\n }\n }, timeout);\n }\n load().then(() => {\n loaded.value = true;\n if (instance.parent && isKeepAlive(instance.parent.vnode)) {\n queueJob(instance.parent.update);\n }\n }).catch((err) => {\n onError(err);\n error.value = err;\n });\n return () => {\n if (loaded.value && resolvedComp) {\n return createInnerComp(resolvedComp, instance);\n } else if (error.value && errorComponent) {\n return createVNode(errorComponent, {\n error: error.value\n });\n } else if (loadingComponent && !delayed.value) {\n return createVNode(loadingComponent);\n }\n };\n }\n });\n}\nfunction createInnerComp(comp, parent) {\n const { ref: ref2, props, children, ce } = parent.vnode;\n const vnode = createVNode(comp, props, children);\n vnode.ref = ref2;\n vnode.ce = ce;\n delete parent.vnode.ce;\n return vnode;\n}\n\nconst isKeepAlive = (vnode) => vnode.type.__isKeepAlive;\nconst KeepAliveImpl = {\n name: `KeepAlive`,\n // Marker for special handling inside the renderer. We are not using a ===\n // check directly on KeepAlive in the renderer, because importing it directly\n // would prevent it from being tree-shaken.\n __isKeepAlive: true,\n props: {\n include: [String, RegExp, Array],\n exclude: [String, RegExp, Array],\n max: [String, Number]\n },\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const sharedContext = instance.ctx;\n if (!sharedContext.renderer) {\n return () => {\n const children = slots.default && slots.default();\n return children && children.length === 1 ? children[0] : children;\n };\n }\n const cache = /* @__PURE__ */ new Map();\n const keys = /* @__PURE__ */ new Set();\n let current = null;\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n instance.__v_cache = cache;\n }\n const parentSuspense = instance.suspense;\n const {\n renderer: {\n p: patch,\n m: move,\n um: _unmount,\n o: { createElement }\n }\n } = sharedContext;\n const storageContainer = createElement(\"div\");\n sharedContext.activate = (vnode, container, anchor, isSVG, optimized) => {\n const instance2 = vnode.component;\n move(vnode, container, anchor, 0, parentSuspense);\n patch(\n instance2.vnode,\n vnode,\n container,\n anchor,\n instance2,\n parentSuspense,\n isSVG,\n vnode.slotScopeIds,\n optimized\n );\n queuePostRenderEffect(() => {\n instance2.isDeactivated = false;\n if (instance2.a) {\n invokeArrayFns(instance2.a);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeMounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n };\n sharedContext.deactivate = (vnode) => {\n const instance2 = vnode.component;\n move(vnode, storageContainer, null, 1, parentSuspense);\n queuePostRenderEffect(() => {\n if (instance2.da) {\n invokeArrayFns(instance2.da);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n instance2.isDeactivated = true;\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n };\n function unmount(vnode) {\n resetShapeFlag(vnode);\n _unmount(vnode, instance, parentSuspense, true);\n }\n function pruneCache(filter) {\n cache.forEach((vnode, key) => {\n const name = getComponentName(vnode.type);\n if (name && (!filter || !filter(name))) {\n pruneCacheEntry(key);\n }\n });\n }\n function pruneCacheEntry(key) {\n const cached = cache.get(key);\n if (!current || !isSameVNodeType(cached, current)) {\n unmount(cached);\n } else if (current) {\n resetShapeFlag(current);\n }\n cache.delete(key);\n keys.delete(key);\n }\n watch(\n () => [props.include, props.exclude],\n ([include, exclude]) => {\n include && pruneCache((name) => matches(include, name));\n exclude && pruneCache((name) => !matches(exclude, name));\n },\n // prune post-render after `current` has been updated\n { flush: \"post\", deep: true }\n );\n let pendingCacheKey = null;\n const cacheSubtree = () => {\n if (pendingCacheKey != null) {\n cache.set(pendingCacheKey, getInnerChild(instance.subTree));\n }\n };\n onMounted(cacheSubtree);\n onUpdated(cacheSubtree);\n onBeforeUnmount(() => {\n cache.forEach((cached) => {\n const { subTree, suspense } = instance;\n const vnode = getInnerChild(subTree);\n if (cached.type === vnode.type && cached.key === vnode.key) {\n resetShapeFlag(vnode);\n const da = vnode.component.da;\n da && queuePostRenderEffect(da, suspense);\n return;\n }\n unmount(cached);\n });\n });\n return () => {\n pendingCacheKey = null;\n if (!slots.default) {\n return null;\n }\n const children = slots.default();\n const rawVNode = children[0];\n if (children.length > 1) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(`KeepAlive should contain exactly one component child.`);\n }\n current = null;\n return children;\n } else if (!isVNode(rawVNode) || !(rawVNode.shapeFlag & 4) && !(rawVNode.shapeFlag & 128)) {\n current = null;\n return rawVNode;\n }\n let vnode = getInnerChild(rawVNode);\n const comp = vnode.type;\n const name = getComponentName(\n isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : comp\n );\n const { include, exclude, max } = props;\n if (include && (!name || !matches(include, name)) || exclude && name && matches(exclude, name)) {\n current = vnode;\n return rawVNode;\n }\n const key = vnode.key == null ? comp : vnode.key;\n const cachedVNode = cache.get(key);\n if (vnode.el) {\n vnode = cloneVNode(vnode);\n if (rawVNode.shapeFlag & 128) {\n rawVNode.ssContent = vnode;\n }\n }\n pendingCacheKey = key;\n if (cachedVNode) {\n vnode.el = cachedVNode.el;\n vnode.component = cachedVNode.component;\n if (vnode.transition) {\n setTransitionHooks(vnode, vnode.transition);\n }\n vnode.shapeFlag |= 512;\n keys.delete(key);\n keys.add(key);\n } else {\n keys.add(key);\n if (max && keys.size > parseInt(max, 10)) {\n pruneCacheEntry(keys.values().next().value);\n }\n }\n vnode.shapeFlag |= 256;\n current = vnode;\n return isSuspense(rawVNode.type) ? rawVNode : vnode;\n };\n }\n};\nconst KeepAlive = KeepAliveImpl;\nfunction matches(pattern, name) {\n if (isArray(pattern)) {\n return pattern.some((p) => matches(p, name));\n } else if (isString(pattern)) {\n return pattern.split(\",\").includes(name);\n } else if (isRegExp(pattern)) {\n return pattern.test(name);\n }\n return false;\n}\nfunction onActivated(hook, target) {\n registerKeepAliveHook(hook, \"a\", target);\n}\nfunction onDeactivated(hook, target) {\n registerKeepAliveHook(hook, \"da\", target);\n}\nfunction registerKeepAliveHook(hook, type, target = currentInstance) {\n const wrappedHook = hook.__wdc || (hook.__wdc = () => {\n let current = target;\n while (current) {\n if (current.isDeactivated) {\n return;\n }\n current = current.parent;\n }\n return hook();\n });\n injectHook(type, wrappedHook, target);\n if (target) {\n let current = target.parent;\n while (current && current.parent) {\n if (isKeepAlive(current.parent.vnode)) {\n injectToKeepAliveRoot(wrappedHook, type, target, current);\n }\n current = current.parent;\n }\n }\n}\nfunction injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {\n const injected = injectHook(\n type,\n hook,\n keepAliveRoot,\n true\n /* prepend */\n );\n onUnmounted(() => {\n remove(keepAliveRoot[type], injected);\n }, target);\n}\nfunction resetShapeFlag(vnode) {\n vnode.shapeFlag &= ~256;\n vnode.shapeFlag &= ~512;\n}\nfunction getInnerChild(vnode) {\n return vnode.shapeFlag & 128 ? vnode.ssContent : vnode;\n}\n\nfunction injectHook(type, hook, target = currentInstance, prepend = false) {\n if (target) {\n const hooks = target[type] || (target[type] = []);\n const wrappedHook = hook.__weh || (hook.__weh = (...args) => {\n if (target.isUnmounted) {\n return;\n }\n pauseTracking();\n setCurrentInstance(target);\n const res = callWithAsyncErrorHandling(hook, target, type, args);\n unsetCurrentInstance();\n resetTracking();\n return res;\n });\n if (prepend) {\n hooks.unshift(wrappedHook);\n } else {\n hooks.push(wrappedHook);\n }\n return wrappedHook;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n const apiName = toHandlerKey(ErrorTypeStrings[type].replace(/ hook$/, \"\"));\n warn(\n `${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().` + (` If you are using async setup(), make sure to register lifecycle hooks before the first await statement.` )\n );\n }\n}\nconst createHook = (lifecycle) => (hook, target = currentInstance) => (\n // post-create lifecycle registrations are noops during SSR (except for serverPrefetch)\n (!isInSSRComponentSetup || lifecycle === \"sp\") && injectHook(lifecycle, (...args) => hook(...args), target)\n);\nconst onBeforeMount = createHook(\"bm\");\nconst onMounted = createHook(\"m\");\nconst onBeforeUpdate = createHook(\"bu\");\nconst onUpdated = createHook(\"u\");\nconst onBeforeUnmount = createHook(\"bum\");\nconst onUnmounted = createHook(\"um\");\nconst onServerPrefetch = createHook(\"sp\");\nconst onRenderTriggered = createHook(\n \"rtg\"\n);\nconst onRenderTracked = createHook(\n \"rtc\"\n);\nfunction onErrorCaptured(hook, target = currentInstance) {\n injectHook(\"ec\", hook, target);\n}\n\nconst COMPONENTS = \"components\";\nconst DIRECTIVES = \"directives\";\nfunction resolveComponent(name, maybeSelfReference) {\n return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;\n}\nconst NULL_DYNAMIC_COMPONENT = Symbol.for(\"v-ndc\");\nfunction resolveDynamicComponent(component) {\n if (isString(component)) {\n return resolveAsset(COMPONENTS, component, false) || component;\n } else {\n return component || NULL_DYNAMIC_COMPONENT;\n }\n}\nfunction resolveDirective(name) {\n return resolveAsset(DIRECTIVES, name);\n}\nfunction resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {\n const instance = currentRenderingInstance || currentInstance;\n if (instance) {\n const Component = instance.type;\n if (type === COMPONENTS) {\n const selfName = getComponentName(\n Component,\n false\n /* do not include inferred name to avoid breaking existing code */\n );\n if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) {\n return Component;\n }\n }\n const res = (\n // local registration\n // check instance[type] first which is resolved for options API\n resolve(instance[type] || Component[type], name) || // global registration\n resolve(instance.appContext[type], name)\n );\n if (!res && maybeSelfReference) {\n return Component;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && warnMissing && !res) {\n const extra = type === COMPONENTS ? `\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``;\n warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);\n }\n return res;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().`\n );\n }\n}\nfunction resolve(registry, name) {\n return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]);\n}\n\nfunction renderList(source, renderItem, cache, index) {\n let ret;\n const cached = cache && cache[index];\n if (isArray(source) || isString(source)) {\n ret = new Array(source.length);\n for (let i = 0, l = source.length; i < l; i++) {\n ret[i] = renderItem(source[i], i, void 0, cached && cached[i]);\n }\n } else if (typeof source === \"number\") {\n if (!!(process.env.NODE_ENV !== \"production\") && !Number.isInteger(source)) {\n warn(`The v-for range expect an integer value but got ${source}.`);\n }\n ret = new Array(source);\n for (let i = 0; i < source; i++) {\n ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);\n }\n } else if (isObject(source)) {\n if (source[Symbol.iterator]) {\n ret = Array.from(\n source,\n (item, i) => renderItem(item, i, void 0, cached && cached[i])\n );\n } else {\n const keys = Object.keys(source);\n ret = new Array(keys.length);\n for (let i = 0, l = keys.length; i < l; i++) {\n const key = keys[i];\n ret[i] = renderItem(source[key], key, i, cached && cached[i]);\n }\n }\n } else {\n ret = [];\n }\n if (cache) {\n cache[index] = ret;\n }\n return ret;\n}\n\nfunction createSlots(slots, dynamicSlots) {\n for (let i = 0; i < dynamicSlots.length; i++) {\n const slot = dynamicSlots[i];\n if (isArray(slot)) {\n for (let j = 0; j < slot.length; j++) {\n slots[slot[j].name] = slot[j].fn;\n }\n } else if (slot) {\n slots[slot.name] = slot.key ? (...args) => {\n const res = slot.fn(...args);\n if (res)\n res.key = slot.key;\n return res;\n } : slot.fn;\n }\n }\n return slots;\n}\n\nfunction renderSlot(slots, name, props = {}, fallback, noSlotted) {\n if (currentRenderingInstance.isCE || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.isCE) {\n if (name !== \"default\")\n props.name = name;\n return createVNode(\"slot\", props, fallback && fallback());\n }\n let slot = slots[name];\n if (!!(process.env.NODE_ENV !== \"production\") && slot && slot.length > 1) {\n warn(\n `SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template.`\n );\n slot = () => [];\n }\n if (slot && slot._c) {\n slot._d = false;\n }\n openBlock();\n const validSlotContent = slot && ensureValidVNode(slot(props));\n const rendered = createBlock(\n Fragment,\n {\n key: props.key || // slot content array of a dynamic conditional slot may have a branch\n // key attached in the `createSlots` helper, respect that\n validSlotContent && validSlotContent.key || `_${name}`\n },\n validSlotContent || (fallback ? fallback() : []),\n validSlotContent && slots._ === 1 ? 64 : -2\n );\n if (!noSlotted && rendered.scopeId) {\n rendered.slotScopeIds = [rendered.scopeId + \"-s\"];\n }\n if (slot && slot._c) {\n slot._d = true;\n }\n return rendered;\n}\nfunction ensureValidVNode(vnodes) {\n return vnodes.some((child) => {\n if (!isVNode(child))\n return true;\n if (child.type === Comment)\n return false;\n if (child.type === Fragment && !ensureValidVNode(child.children))\n return false;\n return true;\n }) ? vnodes : null;\n}\n\nfunction toHandlers(obj, preserveCaseIfNecessary) {\n const ret = {};\n if (!!(process.env.NODE_ENV !== \"production\") && !isObject(obj)) {\n warn(`v-on with no argument expects an object value.`);\n return ret;\n }\n for (const key in obj) {\n ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];\n }\n return ret;\n}\n\nconst getPublicInstance = (i) => {\n if (!i)\n return null;\n if (isStatefulComponent(i))\n return getExposeProxy(i) || i.proxy;\n return getPublicInstance(i.parent);\n};\nconst publicPropertiesMap = (\n // Move PURE marker to new line to workaround compiler discarding it\n // due to type annotation\n /* @__PURE__ */ extend(/* @__PURE__ */ Object.create(null), {\n $: (i) => i,\n $el: (i) => i.vnode.el,\n $data: (i) => i.data,\n $props: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.props) : i.props,\n $attrs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.attrs) : i.attrs,\n $slots: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.slots) : i.slots,\n $refs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.refs) : i.refs,\n $parent: (i) => getPublicInstance(i.parent),\n $root: (i) => getPublicInstance(i.root),\n $emit: (i) => i.emit,\n $options: (i) => __VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type,\n $forceUpdate: (i) => i.f || (i.f = () => queueJob(i.update)),\n $nextTick: (i) => i.n || (i.n = nextTick.bind(i.proxy)),\n $watch: (i) => __VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP\n })\n);\nconst isReservedPrefix = (key) => key === \"_\" || key === \"$\";\nconst hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScriptSetup && hasOwn(state, key);\nconst PublicInstanceProxyHandlers = {\n get({ _: instance }, key) {\n const { ctx, setupState, data, props, accessCache, type, appContext } = instance;\n if (!!(process.env.NODE_ENV !== \"production\") && key === \"__isVue\") {\n return true;\n }\n let normalizedProps;\n if (key[0] !== \"$\") {\n const n = accessCache[key];\n if (n !== void 0) {\n switch (n) {\n case 1 /* SETUP */:\n return setupState[key];\n case 2 /* DATA */:\n return data[key];\n case 4 /* CONTEXT */:\n return ctx[key];\n case 3 /* PROPS */:\n return props[key];\n }\n } else if (hasSetupBinding(setupState, key)) {\n accessCache[key] = 1 /* SETUP */;\n return setupState[key];\n } else if (data !== EMPTY_OBJ && hasOwn(data, key)) {\n accessCache[key] = 2 /* DATA */;\n return data[key];\n } else if (\n // only cache other properties when instance has declared (thus stable)\n // props\n (normalizedProps = instance.propsOptions[0]) && hasOwn(normalizedProps, key)\n ) {\n accessCache[key] = 3 /* PROPS */;\n return props[key];\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (!__VUE_OPTIONS_API__ || shouldCacheAccess) {\n accessCache[key] = 0 /* OTHER */;\n }\n }\n const publicGetter = publicPropertiesMap[key];\n let cssModule, globalProperties;\n if (publicGetter) {\n if (key === \"$attrs\") {\n track(instance, \"get\", key);\n !!(process.env.NODE_ENV !== \"production\") && markAttrsAccessed();\n } else if (!!(process.env.NODE_ENV !== \"production\") && key === \"$slots\") {\n track(instance, \"get\", key);\n }\n return publicGetter(instance);\n } else if (\n // css module (injected by vue-loader)\n (cssModule = type.__cssModules) && (cssModule = cssModule[key])\n ) {\n return cssModule;\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (\n // global properties\n globalProperties = appContext.config.globalProperties, hasOwn(globalProperties, key)\n ) {\n {\n return globalProperties[key];\n }\n } else if (!!(process.env.NODE_ENV !== \"production\") && currentRenderingInstance && (!isString(key) || // #1091 avoid internal isRef/isVNode checks on component instance leading\n // to infinite warning loop\n key.indexOf(\"__v\") !== 0)) {\n if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {\n warn(\n `Property ${JSON.stringify(\n key\n )} must be accessed via $data because it starts with a reserved character (\"$\" or \"_\") and is not proxied on the render context.`\n );\n } else if (instance === currentRenderingInstance) {\n warn(\n `Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.`\n );\n }\n }\n },\n set({ _: instance }, key, value) {\n const { data, setupState, ctx } = instance;\n if (hasSetupBinding(setupState, key)) {\n setupState[key] = value;\n return true;\n } else if (!!(process.env.NODE_ENV !== \"production\") && setupState.__isScriptSetup && hasOwn(setupState, key)) {\n warn(`Cannot mutate \n\n\n","import { watch as He, ref as c, provide as A, inject as O, onUnmounted as pe, h as U, onBeforeUnmount as R, defineComponent as S, onMounted as _, markRaw as j, nextTick as g, render as mt, reactive as vt, computed as oe } from \"vue\";\nconst ce = (e, o) => {\n for (const t of Object.keys(o))\n e.on(t, o[t]);\n}, ye = (e) => {\n for (const o of Object.keys(e)) {\n const t = e[o];\n t && k(t.cancel) && t.cancel();\n }\n}, Je = (e) => !e || typeof e.charAt != \"function\" ? e : e.charAt(0).toUpperCase() + e.slice(1), k = (e) => typeof e == \"function\", L = (e, o, t) => {\n for (const n in t) {\n const s = \"set\" + Je(n);\n e[s] ? He(\n () => t[n],\n (r, l) => {\n e[s](r, l);\n }\n ) : o[s] && He(\n () => t[n],\n (r) => {\n o[s](r);\n }\n );\n }\n}, f = (e, o, t = {}) => {\n const n = { ...t };\n for (const s in e) {\n const r = o[s], l = e[s];\n r && (r && r.custom === !0 || l !== void 0 && (n[s] = l));\n }\n return n;\n}, T = (e) => {\n const o = {}, t = {};\n for (const n in e)\n if (n.startsWith(\"on\") && !n.startsWith(\"onUpdate\") && n !== \"onReady\") {\n const s = n.slice(2).toLocaleLowerCase();\n o[s] = e[n];\n } else\n t[n] = e[n];\n return { listeners: o, attrs: t };\n}, qe = async (e) => {\n const o = await Promise.all([\n import(\"leaflet/dist/images/marker-icon-2x.png\"),\n import(\"leaflet/dist/images/marker-icon.png\"),\n import(\"leaflet/dist/images/marker-shadow.png\")\n ]);\n delete e.Default.prototype._getIconUrl, e.Default.mergeOptions({\n iconRetinaUrl: o[0].default,\n iconUrl: o[1].default,\n shadowUrl: o[2].default\n });\n}, Y = (e) => {\n const o = c(\n (...n) => console.warn(`Method ${e} has been invoked without being replaced`)\n ), t = (...n) => o.value(...n);\n return t.wrapped = o, A(e, t), t;\n}, V = (e, o) => e.wrapped.value = o, b = typeof self == \"object\" && self.self === self && self || typeof global == \"object\" && global.global === global && global || globalThis, m = (e) => {\n const o = O(e);\n if (o === void 0)\n throw new Error(\n `Attempt to inject ${e.description} before it was provided.`\n );\n return o;\n}, Kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n WINDOW_OR_GLOBAL: b,\n assertInject: m,\n bindEventHandlers: ce,\n cancelDebounces: ye,\n capitalizeFirstLetter: Je,\n isFunction: k,\n propsBinder: L,\n propsToLeafletOptions: f,\n provideLeafletWrapper: Y,\n remapEvents: T,\n resetWebpackIcon: qe,\n updateLeafletWrapper: V\n}, Symbol.toStringTag, { value: \"Module\" })), h = Symbol(\n \"useGlobalLeaflet\"\n), M = Symbol(\"addLayer\"), ee = Symbol(\"removeLayer\"), H = Symbol(\n \"registerControl\"\n), me = Symbol(\n \"registerLayerControl\"\n), ve = Symbol(\n \"canSetParentHtml\"\n), be = Symbol(\"setParentHtml\"), fe = Symbol(\"setIcon\"), ge = Symbol(\"bindPopup\"), Le = Symbol(\"bindTooltip\"), he = Symbol(\"unbindPopup\"), Oe = Symbol(\"unbindTooltip\"), Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n AddLayerInjection: M,\n BindPopupInjection: ge,\n BindTooltipInjection: Le,\n CanSetParentHtmlInjection: ve,\n RegisterControlInjection: H,\n RegisterLayerControlInjection: me,\n RemoveLayerInjection: ee,\n SetIconInjection: fe,\n SetParentHtmlInjection: be,\n UnbindPopupInjection: he,\n UnbindTooltipInjection: Oe,\n UseGlobalLeafletInjection: h\n}, Symbol.toStringTag, { value: \"Module\" })), W = {\n options: {\n type: Object,\n default: () => ({}),\n custom: !0\n }\n}, J = (e) => ({ options: e.options, methods: {} }), bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n componentProps: W,\n setupComponent: J\n}, Symbol.toStringTag, { value: \"Module\" })), D = {\n ...W,\n pane: {\n type: String\n },\n attribution: {\n type: String\n },\n name: {\n type: String,\n custom: !0\n },\n layerType: {\n type: String,\n custom: !0\n },\n visible: {\n type: Boolean,\n custom: !0,\n default: !0\n }\n}, q = (e, o, t) => {\n const n = m(M), s = m(ee), { options: r, methods: l } = J(e), a = f(\n e,\n D,\n r\n ), i = () => n({ leafletObject: o.value }), u = () => s({ leafletObject: o.value }), d = {\n ...l,\n setAttribution(y) {\n u(), o.value.options.attribution = y, e.visible && i();\n },\n setName() {\n u(), e.visible && i();\n },\n setLayerType() {\n u(), e.visible && i();\n },\n setVisible(y) {\n o.value && (y ? i() : u());\n },\n bindPopup(y) {\n if (!o.value || !k(o.value.bindPopup)) {\n console.warn(\n \"Attempt to bind popup before bindPopup method available on layer.\"\n );\n return;\n }\n o.value.bindPopup(y);\n },\n bindTooltip(y) {\n if (!o.value || !k(o.value.bindTooltip)) {\n console.warn(\n \"Attempt to bind tooltip before bindTooltip method available on layer.\"\n );\n return;\n }\n o.value.bindTooltip(y);\n },\n unbindTooltip() {\n o.value && (k(o.value.closeTooltip) && o.value.closeTooltip(), k(o.value.unbindTooltip) && o.value.unbindTooltip());\n },\n unbindPopup() {\n o.value && (k(o.value.closePopup) && o.value.closePopup(), k(o.value.unbindPopup) && o.value.unbindPopup());\n },\n updateVisibleProp(y) {\n t.emit(\"update:visible\", y);\n }\n };\n return A(ge, d.bindPopup), A(Le, d.bindTooltip), A(he, d.unbindPopup), A(Oe, d.unbindTooltip), pe(() => {\n d.unbindPopup(), d.unbindTooltip(), u();\n }), { options: a, methods: d };\n}, G = (e, o) => {\n if (e && o.default)\n return U(\"div\", { style: { display: \"none\" } }, o.default());\n}, ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n layerProps: D,\n render: G,\n setupLayer: q\n}, Symbol.toStringTag, { value: \"Module\" })), Se = {\n ...D,\n interactive: {\n type: Boolean,\n default: void 0\n },\n bubblingMouseEvents: {\n type: Boolean,\n default: void 0\n }\n}, Ke = (e, o, t) => {\n const { options: n, methods: s } = q(\n e,\n o,\n t\n );\n return { options: f(\n e,\n Se,\n n\n ), methods: s };\n}, gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n interactiveLayerProps: Se,\n setupInteractiveLayer: Ke\n}, Symbol.toStringTag, { value: \"Module\" })), ne = {\n ...Se,\n stroke: {\n type: Boolean,\n default: void 0\n },\n color: {\n type: String\n },\n weight: {\n type: Number\n },\n opacity: {\n type: Number\n },\n lineCap: {\n type: String\n },\n lineJoin: {\n type: String\n },\n dashArray: {\n type: String\n },\n dashOffset: {\n type: String\n },\n fill: {\n type: Boolean,\n default: void 0\n },\n fillColor: {\n type: String\n },\n fillOpacity: {\n type: Number\n },\n fillRule: {\n type: String\n },\n className: {\n type: String\n }\n}, _e = (e, o, t) => {\n const { options: n, methods: s } = Ke(e, o, t), r = f(\n e,\n ne,\n n\n ), l = m(ee), a = {\n ...s,\n setStroke(i) {\n o.value.setStyle({ stroke: i });\n },\n setColor(i) {\n o.value.setStyle({ color: i });\n },\n setWeight(i) {\n o.value.setStyle({ weight: i });\n },\n setOpacity(i) {\n o.value.setStyle({ opacity: i });\n },\n setLineCap(i) {\n o.value.setStyle({ lineCap: i });\n },\n setLineJoin(i) {\n o.value.setStyle({ lineJoin: i });\n },\n setDashArray(i) {\n o.value.setStyle({ dashArray: i });\n },\n setDashOffset(i) {\n o.value.setStyle({ dashOffset: i });\n },\n setFill(i) {\n o.value.setStyle({ fill: i });\n },\n setFillColor(i) {\n o.value.setStyle({ fillColor: i });\n },\n setFillOpacity(i) {\n o.value.setStyle({ fillOpacity: i });\n },\n setFillRule(i) {\n o.value.setStyle({ fillRule: i });\n },\n setClassName(i) {\n o.value.setStyle({ className: i });\n }\n };\n return R(() => {\n l({ leafletObject: o.value });\n }), { options: r, methods: a };\n}, Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n pathProps: ne,\n setupPath: _e\n}, Symbol.toStringTag, { value: \"Module\" })), re = {\n ...ne,\n /**\n * Radius of the marker in pixels.\n */\n radius: {\n type: Number\n },\n latLng: {\n type: [Object, Array],\n required: !0,\n custom: !0\n }\n}, je = (e, o, t) => {\n const { options: n, methods: s } = _e(\n e,\n o,\n t\n ), r = f(\n e,\n re,\n n\n ), l = {\n ...s,\n setRadius(a) {\n o.value.setRadius(a);\n },\n setLatLng(a) {\n o.value.setLatLng(a);\n }\n };\n return { options: r, methods: l };\n}, ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n circleMarkerProps: re,\n setupCircleMarker: je\n}, Symbol.toStringTag, { value: \"Module\" })), Pe = {\n ...re,\n /**\n * Radius of the circle in meters.\n */\n radius: {\n type: Number\n }\n}, Qe = (e, o, t) => {\n const { options: n, methods: s } = je(e, o, t), r = f(\n e,\n Pe,\n n\n ), l = {\n ...s\n };\n return { options: r, methods: l };\n}, Ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n circleProps: Pe,\n setupCircle: Qe\n}, Symbol.toStringTag, { value: \"Module\" })), Xt = S({\n name: \"LCircle\",\n props: Pe,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { options: l, methods: a } = Qe(e, t, o);\n return _(async () => {\n const { circle: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(i(e.latLng, l));\n const { listeners: u } = T(o.attrs);\n t.value.on(u), L(a, t.value, e), r({\n ...e,\n ...a,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), Yt = S({\n name: \"LCircleMarker\",\n props: re,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { options: l, methods: a } = je(\n e,\n t,\n o\n );\n return _(async () => {\n const { circleMarker: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n i(e.latLng, l)\n );\n const { listeners: u } = T(o.attrs);\n t.value.on(u), L(a, t.value, e), r({\n ...e,\n ...a,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), F = {\n ...W,\n position: {\n type: String\n }\n}, K = (e, o) => {\n const { options: t, methods: n } = J(e), s = f(\n e,\n F,\n t\n ), r = {\n ...n,\n setPosition(l) {\n o.value && o.value.setPosition(l);\n }\n };\n return pe(() => {\n o.value && o.value.remove();\n }), { options: s, methods: r };\n}, Xe = (e) => e.default ? U(\"div\", { ref: \"root\" }, e.default()) : null, St = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n controlProps: F,\n renderLControl: Xe,\n setupControl: K\n}, Symbol.toStringTag, { value: \"Module\" })), Vt = S({\n name: \"LControl\",\n props: {\n ...F,\n disableClickPropagation: {\n type: Boolean,\n custom: !0,\n default: !0\n },\n disableScrollPropagation: {\n type: Boolean,\n custom: !0,\n default: !1\n }\n },\n setup(e, o) {\n const t = c(), n = c(), s = O(h), r = m(H), { options: l, methods: a } = K(e, t);\n return _(async () => {\n const { Control: i, DomEvent: u } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\"), d = i.extend({\n onAdd() {\n return n.value;\n }\n });\n t.value = j(new d(l)), L(a, t.value, e), r({ leafletObject: t.value }), e.disableClickPropagation && n.value && u.disableClickPropagation(n.value), e.disableScrollPropagation && n.value && u.disableScrollPropagation(n.value), g(() => o.emit(\"ready\", t.value));\n }), { root: n, leafletObject: t };\n },\n render() {\n return Xe(this.$slots);\n }\n}), Ce = {\n ...F,\n prefix: {\n type: String\n }\n}, Ye = (e, o) => {\n const { options: t, methods: n } = K(\n e,\n o\n ), s = f(\n e,\n Ce,\n t\n ), r = {\n ...n,\n setPrefix(l) {\n o.value.setPrefix(l);\n }\n };\n return { options: s, methods: r };\n}, _t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n controlAttributionProps: Ce,\n setupControlAttribution: Ye\n}, Symbol.toStringTag, { value: \"Module\" })), xt = S({\n name: \"LControlAttribution\",\n props: Ce,\n setup(e, o) {\n const t = c(), n = O(h), s = m(H), { options: r, methods: l } = Ye(e, t);\n return _(async () => {\n const { control: a } = n ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n a.attribution(r)\n ), L(l, t.value, e), s({ leafletObject: t.value }), g(() => o.emit(\"ready\", t.value));\n }), { leafletObject: t };\n },\n render() {\n return null;\n }\n}), Te = {\n ...F,\n collapsed: {\n type: Boolean,\n default: void 0\n },\n autoZIndex: {\n type: Boolean,\n default: void 0\n },\n hideSingleBase: {\n type: Boolean,\n default: void 0\n },\n sortLayers: {\n type: Boolean,\n default: void 0\n },\n sortFunction: {\n type: Function\n }\n}, Ve = (e, o) => {\n const { options: t } = K(e, o);\n return { options: f(\n e,\n Te,\n t\n ), methods: {\n addLayer(r) {\n r.layerType === \"base\" ? o.value.addBaseLayer(r.leafletObject, r.name) : r.layerType === \"overlay\" && o.value.addOverlay(r.leafletObject, r.name);\n },\n removeLayer(r) {\n o.value.removeLayer(r.leafletObject);\n }\n } };\n}, jt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n controlLayersProps: Te,\n setupControlLayers: Ve\n}, Symbol.toStringTag, { value: \"Module\" })), Rt = S({\n name: \"LControlLayers\",\n props: Te,\n setup(e, o) {\n const t = c(), n = O(h), s = m(me), { options: r, methods: l } = Ve(e, t);\n return _(async () => {\n const { control: a } = n ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n a.layers(void 0, void 0, r)\n ), L(l, t.value, e), s({\n ...e,\n ...l,\n leafletObject: t.value\n }), g(() => o.emit(\"ready\", t.value));\n }), { leafletObject: t };\n },\n render() {\n return null;\n }\n}), Me = {\n ...F,\n maxWidth: {\n type: Number\n },\n metric: {\n type: Boolean,\n default: void 0\n },\n imperial: {\n type: Boolean,\n default: void 0\n },\n updateWhenIdle: {\n type: Boolean,\n default: void 0\n }\n}, xe = (e, o) => {\n const { options: t, methods: n } = K(\n e,\n o\n );\n return { options: f(\n e,\n Me,\n t\n ), methods: n };\n}, Pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n controlScaleProps: Me,\n setupControlScale: xe\n}, Symbol.toStringTag, { value: \"Module\" })), eo = S({\n name: \"LControlScale\",\n props: Me,\n setup(e, o) {\n const t = c(), n = O(h), s = m(H), { options: r, methods: l } = xe(e, t);\n return _(async () => {\n const { control: a } = n ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(a.scale(r)), L(l, t.value, e), s({ leafletObject: t.value }), g(() => o.emit(\"ready\", t.value));\n }), { leafletObject: t };\n },\n render() {\n return null;\n }\n}), Be = {\n ...F,\n zoomInText: {\n type: String\n },\n zoomInTitle: {\n type: String\n },\n zoomOutText: {\n type: String\n },\n zoomOutTitle: {\n type: String\n }\n}, Re = (e, o) => {\n const { options: t, methods: n } = K(\n e,\n o\n );\n return { options: f(\n e,\n Be,\n t\n ), methods: n };\n}, Ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n controlZoomProps: Be,\n setupControlZoom: Re\n}, Symbol.toStringTag, { value: \"Module\" })), to = S({\n name: \"LControlZoom\",\n props: Be,\n setup(e, o) {\n const t = c(), n = O(h), s = m(H), { options: r, methods: l } = Re(e, t);\n return _(async () => {\n const { control: a } = n ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(a.zoom(r)), L(l, t.value, e), s({ leafletObject: t.value }), g(() => o.emit(\"ready\", t.value));\n }), { leafletObject: t };\n },\n render() {\n return null;\n }\n}), te = {\n ...D\n}, se = (e, o, t) => {\n const { options: n, methods: s } = q(\n e,\n o,\n t\n ), r = f(\n e,\n te,\n n\n ), l = {\n ...s,\n addLayer(a) {\n o.value.addLayer(a.leafletObject);\n },\n removeLayer(a) {\n o.value.removeLayer(a.leafletObject);\n }\n };\n return A(M, l.addLayer), A(ee, l.removeLayer), { options: r, methods: l };\n}, Tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n layerGroupProps: te,\n setupLayerGroup: se\n}, Symbol.toStringTag, { value: \"Module\" })), we = {\n ...te\n}, et = (e, o, t) => {\n const { options: n, methods: s } = se(\n e,\n o,\n t\n ), r = f(\n e,\n we,\n n\n ), l = {\n ...s\n };\n return { options: r, methods: l };\n}, Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n featureGroupProps: we,\n setupFeatureGroup: et\n}, Symbol.toStringTag, { value: \"Module\" })), oo = S({\n props: we,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { methods: l, options: a } = et(\n e,\n t,\n o\n );\n return _(async () => {\n const { featureGroup: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n i(void 0, a)\n );\n const { listeners: u } = T(o.attrs);\n t.value.on(u), L(l, t.value, e), r({\n ...e,\n ...l,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), Ie = {\n ...te,\n geojson: {\n type: [Object, Array],\n custom: !0\n },\n optionsStyle: {\n type: Function,\n custom: !0\n }\n}, tt = (e, o, t) => {\n const { options: n, methods: s } = se(\n e,\n o,\n t\n ), r = f(\n e,\n Ie,\n n\n );\n Object.prototype.hasOwnProperty.call(e, \"optionsStyle\") && (r.style = e.optionsStyle);\n const l = {\n ...s,\n setGeojson(a) {\n o.value.clearLayers(), o.value.addData(a);\n },\n setOptionsStyle(a) {\n o.value.setStyle(a);\n },\n getGeoJSONData() {\n return o.value.toGeoJSON();\n },\n getBounds() {\n return o.value.getBounds();\n }\n };\n return { options: r, methods: l };\n}, Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n geoJSONProps: Ie,\n setupGeoJSON: tt\n}, Symbol.toStringTag, { value: \"Module\" })), no = S({\n props: Ie,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { methods: l, options: a } = tt(e, t, o);\n return _(async () => {\n const { geoJSON: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(i(e.geojson, a));\n const { listeners: u } = T(o.attrs);\n t.value.on(u), L(l, t.value, e), r({\n ...e,\n ...l,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), ae = {\n ...D,\n opacity: {\n type: Number\n },\n zIndex: {\n type: Number\n },\n tileSize: {\n type: [Number, Array, Object]\n },\n noWrap: {\n type: Boolean,\n default: void 0\n },\n minZoom: {\n type: Number\n },\n maxZoom: {\n type: Number\n },\n className: {\n type: String\n }\n}, Ae = (e, o, t) => {\n const { options: n, methods: s } = q(\n e,\n o,\n t\n ), r = f(\n e,\n ae,\n n\n ), l = {\n ...s,\n setTileComponent() {\n var a;\n (a = o.value) == null || a.redraw();\n }\n };\n return pe(() => {\n o.value.off();\n }), { options: r, methods: l };\n}, ot = (e, o, t, n) => e.extend({\n initialize(s) {\n this.tileComponents = {}, this.on(\"tileunload\", this._unloadTile), t.setOptions(this, s);\n },\n createTile(s) {\n const r = this._tileCoordsToKey(s);\n this.tileComponents[r] = o.create(\"div\");\n const l = U({ setup: n, props: [\"coords\"] }, { coords: s });\n return mt(l, this.tileComponents[r]), this.tileComponents[r];\n },\n _unloadTile(s) {\n const r = this._tileCoordsToKey(s.coords);\n this.tileComponents[r] && (this.tileComponents[r].innerHTML = \"\", this.tileComponents[r] = void 0);\n }\n}), wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n CreateVueGridLayer: ot,\n gridLayerProps: ae,\n setupGridLayer: Ae\n}, Symbol.toStringTag, { value: \"Module\" })), ro = S({\n props: {\n ...ae,\n childRender: {\n type: Function,\n required: !0\n }\n },\n setup(e, o) {\n const t = c(), n = c(null), s = c(!1), r = O(h), l = m(M), { options: a, methods: i } = Ae(e, t, o);\n return _(async () => {\n const { GridLayer: u, DomUtil: d, Util: y } = r ? b.L : await import(\"leaflet/dist/leaflet-src.esm\"), w = ot(\n u,\n d,\n y,\n e.childRender\n );\n t.value = j(new w(a));\n const { listeners: v } = T(o.attrs);\n t.value.on(v), L(i, t.value, e), l({\n ...e,\n ...i,\n leafletObject: t.value\n }), s.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { root: n, ready: s, leafletObject: t };\n },\n render() {\n return this.ready ? U(\"div\", { style: { display: \"none\" }, ref: \"root\" }) : null;\n }\n}), de = {\n iconUrl: {\n type: String\n },\n iconRetinaUrl: {\n type: String\n },\n iconSize: {\n type: [Object, Array]\n },\n iconAnchor: {\n type: [Object, Array]\n },\n popupAnchor: {\n type: [Object, Array]\n },\n tooltipAnchor: {\n type: [Object, Array]\n },\n shadowUrl: {\n type: String\n },\n shadowRetinaUrl: {\n type: String\n },\n shadowSize: {\n type: [Object, Array]\n },\n shadowAnchor: {\n type: [Object, Array]\n },\n bgPos: {\n type: [Object, Array]\n },\n className: {\n type: String\n }\n}, It = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n iconProps: de\n}, Symbol.toStringTag, { value: \"Module\" })), so = S({\n name: \"LIcon\",\n props: {\n ...de,\n ...W\n },\n setup(e, o) {\n const t = c(), n = O(h), s = m(ve), r = m(be), l = m(fe);\n let a, i, u, d, y;\n const w = (N, P, B) => {\n const I = N && N.innerHTML;\n if (!P) {\n B && y && s() && r(I);\n return;\n }\n const { listeners: E } = T(o.attrs);\n y && i(y, E);\n const { options: ue } = J(e), $ = f(\n e,\n de,\n ue\n );\n I && ($.html = I), y = $.html ? u($) : d($), a(y, E), l(y);\n }, v = () => {\n g(() => w(t.value, !0, !1));\n }, z = () => {\n g(() => w(t.value, !1, !0));\n }, Z = {\n setIconUrl: v,\n setIconRetinaUrl: v,\n setIconSize: v,\n setIconAnchor: v,\n setPopupAnchor: v,\n setTooltipAnchor: v,\n setShadowUrl: v,\n setShadowRetinaUrl: v,\n setShadowAnchor: v,\n setBgPos: v,\n setClassName: v,\n setHtml: v\n };\n return _(async () => {\n const {\n DomEvent: N,\n divIcon: P,\n icon: B\n } = n ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n a = N.on, i = N.off, u = P, d = B, L(Z, {}, e), new MutationObserver(z).observe(t.value, {\n attributes: !0,\n childList: !0,\n characterData: !0,\n subtree: !0\n }), v();\n }), { root: t };\n },\n render() {\n const e = this.$slots.default ? this.$slots.default() : void 0;\n return U(\"div\", { ref: \"root\" }, e);\n }\n}), Ge = {\n ...D,\n opacity: {\n type: Number\n },\n alt: {\n type: String\n },\n interactive: {\n type: Boolean,\n default: void 0\n },\n crossOrigin: {\n type: Boolean,\n default: void 0\n },\n errorOverlayUrl: {\n type: String\n },\n zIndex: {\n type: Number\n },\n className: {\n type: String\n },\n url: {\n type: String,\n required: !0,\n custom: !0\n },\n bounds: {\n type: [Array, Object],\n required: !0,\n custom: !0\n }\n}, nt = (e, o, t) => {\n const { options: n, methods: s } = q(\n e,\n o,\n t\n ), r = f(\n e,\n Ge,\n n\n ), l = {\n ...s,\n /**\n * Sets the opacity of the overlay.\n * @param {number} opacity\n */\n setOpacity(a) {\n return o.value.setOpacity(a);\n },\n /**\n * Changes the URL of the image.\n * @param {string} url\n */\n setUrl(a) {\n return o.value.setUrl(a);\n },\n /**\n * Update the bounds that this ImageOverlay covers\n * @param {LatLngBounds | Array>} bounds\n */\n setBounds(a) {\n return o.value.setBounds(a);\n },\n /**\n * Get the bounds that this ImageOverlay covers\n * @returns {LatLngBounds}\n */\n getBounds() {\n return o.value.getBounds();\n },\n /**\n * Returns the instance of HTMLImageElement used by this overlay.\n * @returns {HTMLElement}\n */\n getElement() {\n return o.value.getElement();\n },\n /**\n * Brings the layer to the top of all overlays.\n */\n bringToFront() {\n return o.value.bringToFront();\n },\n /**\n * Brings the layer to the bottom of all overlays.\n */\n bringToBack() {\n return o.value.bringToBack();\n },\n /**\n * Changes the zIndex of the image overlay.\n * @param {number} zIndex\n */\n setZIndex(a) {\n return o.value.setZIndex(a);\n }\n };\n return { options: r, methods: l };\n}, At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n imageOverlayProps: Ge,\n setupImageOverlay: nt\n}, Symbol.toStringTag, { value: \"Module\" })), ao = S({\n name: \"LImageOverlay\",\n props: Ge,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { options: l, methods: a } = nt(\n e,\n t,\n o\n );\n return _(async () => {\n const { imageOverlay: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n i(e.url, e.bounds, l)\n );\n const { listeners: u } = T(o.attrs);\n t.value.on(u), L(a, t.value, e), r({\n ...e,\n ...a,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), lo = S({\n props: te,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { methods: l } = se(e, t, o);\n return _(async () => {\n const { layerGroup: a } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n a(void 0, e.options)\n );\n const { listeners: i } = T(o.attrs);\n t.value.on(i), L(l, t.value, e), r({\n ...e,\n ...l,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n});\nfunction rt(e, o, t) {\n var n, s, r;\n o === void 0 && (o = 50), t === void 0 && (t = {});\n var l = (n = t.isImmediate) != null && n, a = (s = t.callback) != null && s, i = t.maxWait, u = Date.now(), d = [];\n function y() {\n if (i !== void 0) {\n var v = Date.now() - u;\n if (v + o >= i)\n return i - v;\n }\n return o;\n }\n var w = function() {\n var v = [].slice.call(arguments), z = this;\n return new Promise(function(Z, N) {\n var P = l && r === void 0;\n if (r !== void 0 && clearTimeout(r), r = setTimeout(function() {\n if (r = void 0, u = Date.now(), !l) {\n var I = e.apply(z, v);\n a && a(I), d.forEach(function(E) {\n return (0, E.resolve)(I);\n }), d = [];\n }\n }, y()), P) {\n var B = e.apply(z, v);\n return a && a(B), Z(B);\n }\n d.push({ resolve: Z, reject: N });\n });\n };\n return w.cancel = function(v) {\n r !== void 0 && clearTimeout(r), d.forEach(function(z) {\n return (0, z.reject)(v);\n }), d = [];\n }, w;\n}\nconst We = {\n ...W,\n /**\n * The center of the map, supports .sync modifier\n */\n center: {\n type: [Object, Array]\n },\n /**\n * The bounds of the map, supports .sync modifier\n */\n bounds: {\n type: [Array, Object]\n },\n /**\n * The max bounds of the map\n */\n maxBounds: {\n type: [Array, Object]\n },\n /**\n * The zoom of the map, supports .sync modifier\n */\n zoom: {\n type: Number\n },\n /**\n * The minZoom of the map\n */\n minZoom: {\n type: Number\n },\n /**\n * The maxZoom of the map\n */\n maxZoom: {\n type: Number\n },\n /**\n * The paddingBottomRight of the map\n */\n paddingBottomRight: {\n type: [Object, Array]\n },\n /**\n * The paddingTopLeft of the map\n */\n paddingTopLeft: {\n type: Object\n },\n /**\n * The padding of the map\n */\n padding: {\n type: Object\n },\n /**\n * The worldCopyJump option for the map\n */\n worldCopyJump: {\n type: Boolean,\n default: void 0\n },\n /**\n * The CRS to use for the map. Can be an object that defines a coordinate reference\n * system for projecting geographical points into screen coordinates and back\n * (see https://leafletjs.com/reference-1.7.1.html#crs-l-crs-base), or a string\n * name identifying one of Leaflet's defined CRSs, such as \"EPSG4326\".\n */\n crs: {\n type: [String, Object]\n },\n maxBoundsViscosity: {\n type: Number\n },\n inertia: {\n type: Boolean,\n default: void 0\n },\n inertiaDeceleration: {\n type: Number\n },\n inertiaMaxSpeed: {\n type: Number\n },\n easeLinearity: {\n type: Number\n },\n zoomAnimation: {\n type: Boolean,\n default: void 0\n },\n zoomAnimationThreshold: {\n type: Number\n },\n fadeAnimation: {\n type: Boolean,\n default: void 0\n },\n markerZoomAnimation: {\n type: Boolean,\n default: void 0\n },\n noBlockingAnimations: {\n type: Boolean,\n default: void 0\n },\n useGlobalLeaflet: {\n type: Boolean,\n default: !0,\n custom: !0\n }\n}, io = S({\n inheritAttrs: !1,\n emits: [\"ready\", \"update:zoom\", \"update:center\", \"update:bounds\"],\n props: We,\n setup(e, o) {\n const t = c(), n = vt({\n ready: !1,\n layersToAdd: [],\n layersInControl: []\n }), { options: s } = J(e), r = f(\n e,\n We,\n s\n ), { listeners: l, attrs: a } = T(o.attrs), i = Y(M), u = Y(ee), d = Y(H), y = Y(\n me\n );\n A(h, e.useGlobalLeaflet);\n const w = oe(() => {\n const P = {};\n return e.noBlockingAnimations && (P.animate = !1), P;\n }), v = oe(() => {\n const P = w.value;\n return e.padding && (P.padding = e.padding), e.paddingTopLeft && (P.paddingTopLeft = e.paddingTopLeft), e.paddingBottomRight && (P.paddingBottomRight = e.paddingBottomRight), P;\n }), z = {\n moveend: rt((P) => {\n n.leafletRef && (o.emit(\"update:zoom\", n.leafletRef.getZoom()), o.emit(\"update:center\", n.leafletRef.getCenter()), o.emit(\"update:bounds\", n.leafletRef.getBounds()));\n }),\n overlayadd(P) {\n const B = n.layersInControl.find((I) => I.name === P.name);\n B && B.updateVisibleProp(!0);\n },\n overlayremove(P) {\n const B = n.layersInControl.find((I) => I.name === P.name);\n B && B.updateVisibleProp(!1);\n }\n };\n _(async () => {\n e.useGlobalLeaflet && (b.L = b.L || await import(\"leaflet\"));\n const { map: P, CRS: B, Icon: I, latLngBounds: E, latLng: ue, stamp: $ } = e.useGlobalLeaflet ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n try {\n r.beforeMapMount && await r.beforeMapMount();\n } catch (p) {\n console.error(\n `The following error occurred running the provided beforeMapMount hook ${p.message}`\n );\n }\n await qe(I);\n const yt = typeof r.crs == \"string\" ? B[r.crs] : r.crs;\n r.crs = yt || B.EPSG3857;\n const Q = {\n addLayer(p) {\n p.layerType !== void 0 && (n.layerControl === void 0 ? n.layersToAdd.push(p) : n.layersInControl.find(\n (X) => $(X.leafletObject) === $(p.leafletObject)\n ) || (n.layerControl.addLayer(p), n.layersInControl.push(p))), p.visible !== !1 && n.leafletRef.addLayer(p.leafletObject);\n },\n removeLayer(p) {\n p.layerType !== void 0 && (n.layerControl === void 0 ? n.layersToAdd = n.layersToAdd.filter(\n (C) => C.name !== p.name\n ) : (n.layerControl.removeLayer(p.leafletObject), n.layersInControl = n.layersInControl.filter(\n (C) => $(C.leafletObject) !== $(p.leafletObject)\n ))), n.leafletRef.removeLayer(p.leafletObject);\n },\n registerLayerControl(p) {\n n.layerControl = p, n.layersToAdd.forEach((C) => {\n n.layerControl.addLayer(C);\n }), n.layersToAdd = [], d(p);\n },\n registerControl(p) {\n n.leafletRef.addControl(p.leafletObject);\n },\n setZoom(p) {\n const C = n.leafletRef.getZoom();\n p !== C && n.leafletRef.setZoom(p, w.value);\n },\n setCrs(p) {\n const C = n.leafletRef.getBounds();\n n.leafletRef.options.crs = p, n.leafletRef.fitBounds(C, {\n animate: !1,\n padding: [0, 0]\n });\n },\n fitBounds(p) {\n n.leafletRef.fitBounds(p, v.value);\n },\n setBounds(p) {\n if (!p)\n return;\n const C = E(p);\n if (!C.isValid())\n return;\n !(n.lastSetBounds || n.leafletRef.getBounds()).equals(C, 0) && (n.lastSetBounds = C, n.leafletRef.fitBounds(C));\n },\n setCenter(p) {\n if (p == null)\n return;\n const C = ue(p), X = n.lastSetCenter || n.leafletRef.getCenter();\n (X.lat !== C.lat || X.lng !== C.lng) && (n.lastSetCenter = C, n.leafletRef.panTo(C, w.value));\n }\n };\n V(i, Q.addLayer), V(u, Q.removeLayer), V(d, Q.registerControl), V(y, Q.registerLayerControl), n.leafletRef = j(P(t.value, r)), L(Q, n.leafletRef, e), ce(n.leafletRef, z), ce(n.leafletRef, l), n.ready = !0, g(() => o.emit(\"ready\", n.leafletRef));\n }), R(() => {\n ye(z), n.leafletRef && (n.leafletRef.off(), n.leafletRef.remove());\n });\n const Z = oe(() => n.leafletRef), N = oe(() => n.ready);\n return { root: t, ready: N, leafletObject: Z, attrs: a };\n },\n render({ attrs: e }) {\n return e.style || (e.style = {}), e.style.width || (e.style.width = \"100%\"), e.style.height || (e.style.height = \"100%\"), U(\n \"div\",\n {\n ...e,\n ref: \"root\"\n },\n this.ready && this.$slots.default ? this.$slots.default() : {}\n );\n }\n}), Gt = [\"Symbol(Comment)\", \"Symbol(Text)\"], zt = [\"LTooltip\", \"LPopup\"], ze = {\n ...D,\n draggable: {\n type: Boolean,\n default: void 0\n },\n icon: {\n type: [Object]\n },\n zIndexOffset: {\n type: Number\n },\n latLng: {\n type: [Object, Array],\n custom: !0,\n required: !0\n }\n}, st = (e, o, t) => {\n const { options: n, methods: s } = q(\n e,\n o,\n t\n ), r = f(\n e,\n ze,\n n\n ), l = {\n ...s,\n setDraggable(a) {\n o.value.dragging && (a ? o.value.dragging.enable() : o.value.dragging.disable());\n },\n latLngSync(a) {\n t.emit(\"update:latLng\", a.latlng), t.emit(\"update:lat-lng\", a.latlng);\n },\n setLatLng(a) {\n if (a != null && o.value) {\n const i = o.value.getLatLng();\n (!i || !i.equals(a)) && o.value.setLatLng(a);\n }\n }\n };\n return { options: r, methods: l };\n}, at = (e, o) => {\n const t = o.slots.default && o.slots.default();\n return t && t.length && t.some(Nt);\n};\nfunction Nt(e) {\n return !(Gt.includes(e.type.toString()) || zt.includes(e.type.name));\n}\nconst $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n markerProps: ze,\n setupMarker: st,\n shouldBlankIcon: at\n}, Symbol.toStringTag, { value: \"Module\" })), uo = S({\n name: \"LMarker\",\n props: ze,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M);\n A(\n ve,\n () => {\n var u;\n return !!((u = t.value) != null && u.getElement());\n }\n ), A(be, (u) => {\n var y, w;\n const d = k((y = t.value) == null ? void 0 : y.getElement) && ((w = t.value) == null ? void 0 : w.getElement());\n d && (d.innerHTML = u);\n }), A(\n fe,\n (u) => {\n var d;\n return ((d = t.value) == null ? void 0 : d.setIcon) && t.value.setIcon(u);\n }\n );\n const { options: l, methods: a } = st(e, t, o), i = {\n moveHandler: rt(a.latLngSync)\n };\n return _(async () => {\n const { marker: u, divIcon: d } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n at(l, o) && (l.icon = d({ className: \"\" })), t.value = j(u(e.latLng, l));\n const { listeners: y } = T(o.attrs);\n t.value.on(y), t.value.on(\"move\", i.moveHandler), L(a, t.value, e), r({\n ...e,\n ...a,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), R(() => ye(i)), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), le = {\n ...ne,\n smoothFactor: {\n type: Number\n },\n noClip: {\n type: Boolean,\n default: void 0\n },\n latLngs: {\n type: Array,\n required: !0,\n custom: !0\n }\n}, Ne = (e, o, t) => {\n const { options: n, methods: s } = _e(\n e,\n o,\n t\n ), r = f(\n e,\n le,\n n\n ), l = {\n ...s,\n setSmoothFactor(a) {\n o.value.setStyle({ smoothFactor: a });\n },\n setNoClip(a) {\n o.value.setStyle({ noClip: a });\n },\n addLatLng(a) {\n o.value.addLatLng(a);\n }\n };\n return { options: r, methods: l };\n}, kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n polylineProps: le,\n setupPolyline: Ne\n}, Symbol.toStringTag, { value: \"Module\" })), x = {\n ...le\n}, $e = (e, o, t) => {\n const { options: n, methods: s } = Ne(\n e,\n o,\n t\n ), r = f(\n e,\n x,\n n\n ), l = {\n ...s,\n toGeoJSON(a) {\n return o.value.toGeoJSON(a);\n }\n };\n return { options: r, methods: l };\n}, Ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n polygonProps: x,\n setupPolygon: $e\n}, Symbol.toStringTag, { value: \"Module\" })), co = S({\n name: \"LPolygon\",\n props: x,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { options: l, methods: a } = $e(e, t, o);\n return _(async () => {\n const { polygon: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(i(e.latLngs, l));\n const { listeners: u } = T(o.attrs);\n t.value.on(u), L(a, t.value, e), r({\n ...e,\n ...a,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), po = S({\n name: \"LPolyline\",\n props: le,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { options: l, methods: a } = Ne(e, t, o);\n return _(async () => {\n const { polyline: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n i(e.latLngs, l)\n );\n const { listeners: u } = T(o.attrs);\n t.value.on(u), L(a, t.value, e), r({\n ...e,\n ...a,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), ke = {\n ...W,\n content: {\n type: String,\n default: null\n }\n}, Ue = (e, o) => {\n const { options: t, methods: n } = J(e), s = {\n ...n,\n setContent(r) {\n o.value && r !== null && r !== void 0 && o.value.setContent(r);\n }\n };\n return { options: t, methods: s };\n}, De = (e) => e.default ? U(\"div\", { ref: \"root\" }, e.default()) : null, Dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n popperProps: ke,\n render: De,\n setupPopper: Ue\n}, Symbol.toStringTag, { value: \"Module\" })), lt = {\n ...ke,\n latLng: {\n type: [Object, Array],\n default: () => []\n }\n}, it = (e, o) => {\n const { options: t, methods: n } = Ue(e, o);\n return { options: t, methods: n };\n}, Ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n popupProps: lt,\n setupPopup: it\n}, Symbol.toStringTag, { value: \"Module\" })), yo = S({\n name: \"LPopup\",\n props: lt,\n setup(e, o) {\n const t = c(), n = c(null), s = O(h), r = m(ge), l = m(he), { options: a, methods: i } = it(e, t);\n return _(async () => {\n const { popup: u } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(u(a)), e.latLng !== void 0 && t.value.setLatLng(e.latLng), L(i, t.value, e);\n const { listeners: d } = T(o.attrs);\n t.value.on(d), t.value.setContent(e.content || n.value || \"\"), r(t.value), g(() => o.emit(\"ready\", t.value));\n }), R(() => {\n l();\n }), { root: n, leafletObject: t };\n },\n render() {\n return De(this.$slots);\n }\n}), Fe = {\n ...x,\n latLngs: {\n ...x.latLngs,\n required: !1\n },\n bounds: {\n type: Object,\n custom: !0\n }\n}, ut = (e, o, t) => {\n const { options: n, methods: s } = $e(\n e,\n o,\n t\n ), r = f(\n e,\n Fe,\n n\n ), l = {\n ...s,\n setBounds(a) {\n o.value.setBounds(a);\n },\n setLatLngs(a) {\n o.value.setBounds(a);\n }\n };\n return { options: r, methods: l };\n}, Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n rectangleProps: Fe,\n setupRectangle: ut\n}, Symbol.toStringTag, { value: \"Module\" })), mo = S({\n name: \"LRectangle\",\n props: Fe,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { options: l, methods: a } = ut(e, t, o);\n return _(async () => {\n const { rectangle: i, latLngBounds: u } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\"), d = e.bounds ? u(e.bounds) : u(e.latLngs || []);\n t.value = j(i(d, l));\n const { listeners: y } = T(o.attrs);\n t.value.on(y), L(a, t.value, e), r({\n ...e,\n ...a,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), ie = {\n ...ae,\n tms: {\n type: Boolean,\n default: void 0\n },\n subdomains: {\n type: [String, Array],\n validator: (e) => typeof e == \"string\" ? !0 : Array.isArray(e) ? e.every((o) => typeof o == \"string\") : !1\n },\n detectRetina: {\n type: Boolean,\n default: void 0\n },\n url: {\n type: String,\n required: !0,\n custom: !0\n }\n}, Ze = (e, o, t) => {\n const { options: n, methods: s } = Ae(e, o, t), r = f(\n e,\n ie,\n n\n ), l = {\n ...s\n };\n return { options: r, methods: l };\n}, Et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n setupTileLayer: Ze,\n tileLayerProps: ie\n}, Symbol.toStringTag, { value: \"Module\" })), vo = S({\n props: ie,\n setup(e, o) {\n const t = c(), n = O(h), s = m(M), { options: r, methods: l } = Ze(e, t, o);\n return _(async () => {\n const { tileLayer: a } = n ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(a(e.url, r));\n const { listeners: i } = T(o.attrs);\n t.value.on(i), L(l, t.value, e), s({\n ...e,\n ...l,\n leafletObject: t.value\n }), g(() => o.emit(\"ready\", t.value));\n }), { leafletObject: t };\n },\n render() {\n return null;\n }\n}), ct = {\n ...ke\n}, dt = (e, o) => {\n const { options: t, methods: n } = Ue(e, o), s = m(Oe);\n return R(() => {\n s();\n }), { options: t, methods: n };\n}, Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n setupTooltip: dt,\n tooltipProps: ct\n}, Symbol.toStringTag, { value: \"Module\" })), bo = S({\n name: \"LTooltip\",\n props: ct,\n setup(e, o) {\n const t = c(), n = c(null), s = O(h), r = m(Le), { options: l, methods: a } = dt(e, t);\n return _(async () => {\n const { tooltip: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(i(l)), L(a, t.value, e);\n const { listeners: u } = T(o.attrs);\n t.value.on(u), t.value.setContent(e.content || n.value || \"\"), r(t.value), g(() => o.emit(\"ready\", t.value));\n }), { root: n, leafletObject: t };\n },\n render() {\n return De(this.$slots);\n }\n}), Ee = {\n ...ie,\n layers: {\n type: String,\n required: !0\n },\n styles: {\n type: String\n },\n format: {\n type: String\n },\n transparent: {\n type: Boolean,\n default: void 0\n },\n version: {\n type: String\n },\n crs: {\n type: Object\n },\n uppercase: {\n type: Boolean,\n default: void 0\n }\n}, pt = (e, o, t) => {\n const { options: n, methods: s } = Ze(e, o, t);\n return {\n options: f(\n e,\n Ee,\n n\n ),\n methods: {\n ...s\n }\n };\n}, Wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n setupWMSTileLayer: pt,\n wmsTileLayerProps: Ee\n}, Symbol.toStringTag, { value: \"Module\" })), fo = S({\n props: Ee,\n setup(e, o) {\n const t = c(), n = O(h), s = m(M), { options: r, methods: l } = pt(\n e,\n t,\n o\n );\n return _(async () => {\n const { tileLayer: a } = n ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n a.wms(e.url, r)\n );\n const { listeners: i } = T(o.attrs);\n t.value.on(i), L(l, t.value, e), s({\n ...e,\n ...l,\n leafletObject: t.value\n }), g(() => o.emit(\"ready\", t.value));\n }), { leafletObject: t };\n },\n render() {\n return null;\n }\n}), go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n Circle: Ot,\n CircleMarker: ht,\n Component: bt,\n Control: St,\n ControlAttribution: _t,\n ControlLayers: jt,\n ControlScale: Pt,\n ControlZoom: Ct,\n FeatureGroup: Mt,\n GeoJSON: Bt,\n GridLayer: wt,\n Icon: It,\n ImageOverlay: At,\n InteractiveLayer: gt,\n Layer: ft,\n LayerGroup: Tt,\n Marker: $t,\n Path: Lt,\n Polygon: Ut,\n Polyline: kt,\n Popper: Dt,\n Popup: Ft,\n Rectangle: Zt,\n TileLayer: Et,\n Tooltip: Ht,\n WmsTileLayer: Wt\n}, Symbol.toStringTag, { value: \"Module\" }));\nexport {\n go as Functions,\n Qt as InjectionKeys,\n Xt as LCircle,\n Yt as LCircleMarker,\n Vt as LControl,\n xt as LControlAttribution,\n Rt as LControlLayers,\n eo as LControlScale,\n to as LControlZoom,\n oo as LFeatureGroup,\n no as LGeoJson,\n ro as LGridLayer,\n so as LIcon,\n ao as LImageOverlay,\n lo as LLayerGroup,\n io as LMap,\n uo as LMarker,\n co as LPolygon,\n po as LPolyline,\n yo as LPopup,\n mo as LRectangle,\n vo as LTileLayer,\n bo as LTooltip,\n fo as LWmsTileLayer,\n Kt as Utilities\n};\n","\n\n\n\n\n","/* @preserve\n * Leaflet 1.9.3, a JS library for interactive maps. https://leafletjs.com\n * (c) 2010-2022 Vladimir Agafonkin, (c) 2010-2011 CloudMade\n */\n\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.leaflet = {}));\n})(this, (function (exports) { 'use strict';\n\n var version = \"1.9.3\";\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//