diff --git a/assets/appStore-DaLaHjzx.js b/assets/appStore-DaLaHjzx.js new file mode 100644 index 00000000..2d397388 --- /dev/null +++ b/assets/appStore-DaLaHjzx.js @@ -0,0 +1 @@ +import{as as a}from"./index-CCVue5GR.js";const i=async t=>await(await fetch(`resources/${t}`)).json(),c=async()=>await i("config.json"),l=async(t,s)=>await i(`indicators/indicators-${t}-ADM${s}.json`),r=async(t,s)=>await i(`geojson/geoBoundaries-${t}-ADM${s}_simplified.geojson`),g=a("app",{state:()=>({loading:!0,appConfig:null,selectedCountryLevels:null,allIndicators:{},allGeojson:{},selectedIndicator:""}),getters:{selectedIndicators:t=>{const{selectedCountryLevels:s,allIndicators:e}=t;if(!s||!Object.keys(e).length)return null;const n={};return Object.keys(s).forEach(o=>{o in e&&(n[o]=e[o][s[o]])}),n},selectedGeojson:t=>{const{selectedCountryLevels:s,allGeojson:e}=t;if(!s||!Object.keys(e).length)return null;const n={};return Object.keys(s).forEach(o=>{o in e&&(n[o]=e[o][s[o]])}),n}},actions:{async initialiseData(){this.appConfig=await c(),this.selectedCountryLevels=Object.fromEntries(this.appConfig.countries.map(e=>[e,1]));const t={},s={};for(const e of this.appConfig.countries){(!(e in t)||!(e in s))&&(t[e]={},s[e]={});const n=this.selectedCountryLevels[e];(!(n in t[e])||!(n in s[e]))&&(t[e][n]=await l(e,n),s[e][n]=await r(e,n))}this.selectedIndicator=Object.keys(this.appConfig.indicators)[0],console.log(`selected ind is ${this.selectedIndicator}`),Object.assign(this.allIndicators,t),Object.assign(this.allGeojson,s),this.loading=!1}}});export{g as u}; diff --git a/assets/default-C0wMDwQ2.js b/assets/default-C0wMDwQ2.js new file mode 100644 index 00000000..b750cd40 --- /dev/null +++ b/assets/default-C0wMDwQ2.js @@ -0,0 +1 @@ +import{i as de,p as C,m as A,a as j,g as I,u as z,c as u,T as Ge,b as ye,h as be,d as kt,t as wt,e as Se,f as m,j as T,k as W,l as Fe,n as Pe,o as Tt,q as It,r as Bt,s as H,v as K,S as _e,w as E,x as se,y as V,z as O,A as N,B as Vt,C as Ue,D as Q,E as ve,F as qe,G as Ce,H as Pt,I as Z,J as ee,K as Ye,L as Et,M as Xe,N as Lt,O as Je,P as $t,Q as Nt,R as zt,U as Ke,V as Y,W as Rt,X as Qe,Y as At,Z as Ht,_ as Ze,$ as Ot,a0 as Dt,a1 as fe,a2 as Mt,a3 as Wt,a4 as jt,a5 as Gt,a6 as Ft,a7 as Ee,a8 as Ut,a9 as Le,aa as qt,ab as Yt,ac as Xt,ad as q,ae as Jt,af as Kt,ag as ue,ah as $e,ai as Ne,aj as Qt,ak as Zt,al as ze,am as en,an as tn}from"./index-CCVue5GR.js";import{u as Re}from"./appStore-DaLaHjzx.js";const nn=["top","bottom"],an=["start","end","left","right"];function sn(e,a){let[t,n]=e.split(" ");return n||(n=de(nn,t)?"start":de(an,t)?"top":"center"),{side:Ae(t,a),align:Ae(n,a)}}function Ae(e,a){return e==="start"?a?"right":"left":e==="end"?a?"left":"right":e}const et=C({text:String,...A(),...j()},"VToolbarTitle"),tt=I()({name:"VToolbarTitle",props:et(),setup(e,a){let{slots:t}=a;return z(()=>{const n=!!(t.default||t.text||e.text);return u(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var i;return[n&&u("div",{class:"v-toolbar-title__placeholder"},[t.text?t.text():e.text,(i=t.default)==null?void 0:i.call(t)])]}})}),{}}}),ln=C({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function L(e,a,t){return I()({name:e,props:ln({mode:t,origin:a}),setup(n,i){let{slots:s}=i;const l={onBeforeEnter(o){n.origin&&(o.style.transformOrigin=n.origin)},onLeave(o){if(n.leaveAbsolute){const{offsetTop:r,offsetLeft:f,offsetWidth:v,offsetHeight:y}=o;o._transitionInitialStyles={position:o.style.position,top:o.style.top,left:o.style.left,width:o.style.width,height:o.style.height},o.style.position="absolute",o.style.top=`${r}px`,o.style.left=`${f}px`,o.style.width=`${v}px`,o.style.height=`${y}px`}n.hideOnLeave&&o.style.setProperty("display","none","important")},onAfterLeave(o){if(n.leaveAbsolute&&(o!=null&&o._transitionInitialStyles)){const{position:r,top:f,left:v,width:y,height:d}=o._transitionInitialStyles;delete o._transitionInitialStyles,o.style.position=r||"",o.style.top=f||"",o.style.left=v||"",o.style.width=y||"",o.style.height=d||""}}};return()=>{const o=n.group?Ge:ye;return be(o,{name:n.disabled?"":e,css:!n.disabled,...n.group?void 0:{mode:n.mode},...n.disabled?{}:l},s.default)}}})}function nt(e,a){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return I()({name:e,props:{mode:{type:String,default:t},disabled:Boolean},setup(n,i){let{slots:s}=i;return()=>be(ye,{name:n.disabled?"":e,css:!n.disabled,...n.disabled?{}:a},s.default)}})}function at(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const t=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",n=kt(`offset-${t}`);return{onBeforeEnter(l){l._parent=l.parentNode,l._initialStyle={transition:l.style.transition,overflow:l.style.overflow,[t]:l.style[t]}},onEnter(l){const o=l._initialStyle;l.style.setProperty("transition","none","important"),l.style.overflow="hidden";const r=`${l[n]}px`;l.style[t]="0",l.offsetHeight,l.style.transition=o.transition,e&&l._parent&&l._parent.classList.add(e),requestAnimationFrame(()=>{l.style[t]=r})},onAfterEnter:s,onEnterCancelled:s,onLeave(l){l._initialStyle={transition:"",overflow:l.style.overflow,[t]:l.style[t]},l.style.overflow="hidden",l.style[t]=`${l[n]}px`,l.offsetHeight,requestAnimationFrame(()=>l.style[t]="0")},onAfterLeave:i,onLeaveCancelled:i};function i(l){e&&l._parent&&l._parent.classList.remove(e),s(l)}function s(l){const o=l._initialStyle[t];l.style.overflow=l._initialStyle.overflow,o!=null&&(l.style[t]=o),delete l._initialStyle}}L("fab-transition","center center","out-in");L("dialog-bottom-transition");L("dialog-top-transition");L("fade-transition");L("scale-transition");L("scroll-x-transition");L("scroll-x-reverse-transition");L("scroll-y-transition");L("scroll-y-reverse-transition");L("slide-x-transition");L("slide-x-reverse-transition");L("slide-y-transition");L("slide-y-reverse-transition");const on=nt("expand-transition",at());nt("expand-x-transition",at("",!0));const rn=C({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),M=I(!1)({name:"VDefaultsProvider",props:rn(),setup(e,a){let{slots:t}=a;const{defaults:n,disabled:i,reset:s,root:l,scoped:o}=wt(e);return Se(n,{reset:s,root:l,scoped:o,disabled:i}),()=>{var r;return(r=t.default)==null?void 0:r.call(t)}}}),st=C({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function it(e){return{dimensionStyles:m(()=>({height:T(e.height),maxHeight:T(e.maxHeight),maxWidth:T(e.maxWidth),minHeight:T(e.minHeight),minWidth:T(e.minWidth),width:T(e.width)}))}}function un(e){return{aspectStyles:m(()=>{const a=Number(e.aspectRatio);return a?{paddingBottom:String(1/a*100)+"%"}:void 0})}}const lt=C({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...A(),...st()},"VResponsive"),He=I()({name:"VResponsive",props:lt(),setup(e,a){let{slots:t}=a;const{aspectStyles:n}=un(e),{dimensionStyles:i}=it(e);return z(()=>{var s;return u("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[i.value,e.style]},[u("div",{class:"v-responsive__sizer",style:n.value},null),(s=t.additional)==null?void 0:s.call(t),t.default&&u("div",{class:["v-responsive__content",e.contentClass]},[t.default()])])}),{}}});function pe(e){return Fe(()=>{const a=[],t={};if(e.value.background)if(Pe(e.value.background)){if(t.backgroundColor=e.value.background,!e.value.text&&Tt(e.value.background)){const n=It(e.value.background);if(n.a==null||n.a===1){const i=Bt(n);t.color=i,t.caretColor=i}}}else a.push(`bg-${e.value.background}`);return e.value.text&&(Pe(e.value.text)?(t.color=e.value.text,t.caretColor=e.value.text):a.push(`text-${e.value.text}`)),{colorClasses:a,colorStyles:t}})}function me(e,a){const t=m(()=>({text:W(e)?e.value:a?e[a]:null})),{colorClasses:n,colorStyles:i}=pe(t);return{textColorClasses:n,textColorStyles:i}}function ot(e,a){const t=m(()=>({background:W(e)?e.value:a?e[a]:null})),{colorClasses:n,colorStyles:i}=pe(t);return{backgroundColorClasses:n,backgroundColorStyles:i}}const ie=C({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function le(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:H();return{roundedClasses:m(()=>{const n=W(e)?e.value:e.rounded,i=W(e)?e.value:e.tile,s=[];if(n===!0||n==="")s.push(`${a}--rounded`);else if(typeof n=="string"||n===0)for(const l of String(n).split(" "))s.push(`rounded-${l}`);else i&&s.push("rounded-0");return s})}}const cn=C({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),ne=(e,a)=>{let{slots:t}=a;const{transition:n,disabled:i,group:s,...l}=e,{component:o=s?Ge:ye,...r}=typeof n=="object"?n:{};return be(o,K(typeof n=="string"?{name:i?"":n}:r,typeof n=="string"?{}:{disabled:i,group:s},l),t)};function dn(e,a){if(!_e)return;const t=a.modifiers||{},n=a.value,{handler:i,options:s}=typeof n=="object"?n:{handler:n,options:{}},l=new IntersectionObserver(function(){var y;let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1?arguments[1]:void 0;const f=(y=e._observe)==null?void 0:y[a.instance.$.uid];if(!f)return;const v=o.some(d=>d.isIntersecting);i&&(!t.quiet||f.init)&&(!t.once||v||f.init)&&i(v,o,r),v&&t.once?rt(e,a):f.init=!0},s);e._observe=Object(e._observe),e._observe[a.instance.$.uid]={init:!1,observer:l},l.observe(e)}function rt(e,a){var n;const t=(n=e._observe)==null?void 0:n[a.instance.$.uid];t&&(t.observer.unobserve(e),delete e._observe[a.instance.$.uid])}const vn={mounted:dn,unmounted:rt},fn=vn,mn=C({alt:String,cover:Boolean,color:String,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...lt(),...A(),...ie(),...cn()},"VImg"),gn=I()({name:"VImg",directives:{intersect:fn},props:mn(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,a){let{emit:t,slots:n}=a;const{backgroundColorClasses:i,backgroundColorStyles:s}=ot(E(e,"color")),{roundedClasses:l}=le(e),o=se("VImg"),r=V(""),f=O(),v=V(e.eager?"loading":"idle"),y=V(),d=V(),c=m(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),S=m(()=>c.value.aspect||y.value/d.value||0);N(()=>e.src,()=>{b(v.value!=="idle")}),N(S,(_,k)=>{!_&&k&&f.value&&w(f.value)}),Vt(()=>b());function b(_){if(!(e.eager&&_)&&!(_e&&!_&&!e.eager)){if(v.value="loading",c.value.lazySrc){const k=new Image;k.src=c.value.lazySrc,w(k,null)}c.value.src&&Ue(()=>{var k;t("loadstart",((k=f.value)==null?void 0:k.currentSrc)||c.value.src),setTimeout(()=>{var $;if(!o.isUnmounted)if(($=f.value)!=null&&$.complete){if(f.value.naturalWidth||g(),v.value==="error")return;S.value||w(f.value,null),v.value==="loading"&&x()}else S.value||w(f.value),h()})})}}function x(){var _;o.isUnmounted||(h(),w(f.value),v.value="loaded",t("load",((_=f.value)==null?void 0:_.currentSrc)||c.value.src))}function g(){var _;o.isUnmounted||(v.value="error",t("error",((_=f.value)==null?void 0:_.currentSrc)||c.value.src))}function h(){const _=f.value;_&&(r.value=_.currentSrc||_.src)}let p=-1;Q(()=>{clearTimeout(p)});function w(_){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const $=()=>{if(clearTimeout(p),o.isUnmounted)return;const{naturalHeight:F,naturalWidth:U}=_;F||U?(y.value=U,d.value=F):!_.complete&&v.value==="loading"&&k!=null?p=window.setTimeout($,k):(_.currentSrc.endsWith(".svg")||_.currentSrc.startsWith("data:image/svg+xml"))&&(y.value=1,d.value=1)};$()}const R=m(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),G=()=>{var $;if(!c.value.src||v.value==="idle")return null;const _=u("img",{class:["v-img__img",R.value],style:{objectPosition:e.position},src:c.value.src,srcset:c.value.srcset,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:f,onLoad:x,onError:g},null),k=($=n.sources)==null?void 0:$.call(n);return u(ne,{transition:e.transition,appear:!0},{default:()=>[ve(k?u("picture",{class:"v-img__picture"},[k,_]):_,[[Pt,v.value==="loaded"]])]})},oe=()=>u(ne,{transition:e.transition},{default:()=>[c.value.lazySrc&&v.value!=="loaded"&&u("img",{class:["v-img__img","v-img__img--preload",R.value],style:{objectPosition:e.position},src:c.value.lazySrc,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),re=()=>n.placeholder?u(ne,{transition:e.transition,appear:!0},{default:()=>[(v.value==="loading"||v.value==="error"&&!n.error)&&u("div",{class:"v-img__placeholder"},[n.placeholder()])]}):null,B=()=>n.error?u(ne,{transition:e.transition,appear:!0},{default:()=>[v.value==="error"&&u("div",{class:"v-img__error"},[n.error()])]}):null,D=()=>e.gradient?u("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,te=V(!1);{const _=N(S,k=>{k&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{te.value=!0})}),_())})}return z(()=>{const _=He.filterProps(e);return ve(u(He,K({class:["v-img",{"v-img--booting":!te.value},i.value,l.value,e.class],style:[{width:T(e.width==="auto"?y.value:e.width)},s.value,e.style]},_,{aspectRatio:S.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>u(Ce,null,[u(G,null,null),u(oe,null,null),u(D,null,null),u(re,null,null),u(B,null,null)]),default:n.default}),[[qe("intersect"),{handler:b,options:e.options},null,{once:!0}]])}),{currentSrc:r,image:f,state:v,naturalWidth:y,naturalHeight:d}}}),xe=C({border:[Boolean,Number,String]},"border");function ke(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:H();return{borderClasses:m(()=>{const n=W(e)?e.value:e.border,i=[];if(n===!0||n==="")i.push(`${a}--border`);else if(typeof n=="string"||n===0)for(const s of String(n).split(" "))i.push(`border-${s}`);return i})}}const we=C({elevation:{type:[Number,String],validator(e){const a=parseInt(e);return!isNaN(a)&&a>=0&&a<=24}}},"elevation");function Te(e){return{elevationClasses:m(()=>{const t=W(e)?e.value:e.elevation,n=[];return t==null||n.push(`elevation-${t}`),n})}}const hn=[null,"prominent","default","comfortable","compact"],ut=C({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>hn.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...xe(),...A(),...we(),...ie(),...j({tag:"header"}),...Z()},"VToolbar"),Oe=I()({name:"VToolbar",props:ut(),setup(e,a){var c;let{slots:t}=a;const{backgroundColorClasses:n,backgroundColorStyles:i}=ot(E(e,"color")),{borderClasses:s}=ke(e),{elevationClasses:l}=Te(e),{roundedClasses:o}=le(e),{themeClasses:r}=ee(e),{rtlClasses:f}=Ye(),v=V(!!(e.extended||(c=t.extension)!=null&&c.call(t))),y=m(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),d=m(()=>v.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return Se({VBtn:{variant:"text"}}),z(()=>{var g;const S=!!(e.title||t.title),b=!!(t.image||e.image),x=(g=t.extension)==null?void 0:g.call(t);return v.value=!!(e.extended||x),u(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},n.value,s.value,l.value,o.value,r.value,f.value,e.class],style:[i.value,e.style]},{default:()=>[b&&u("div",{key:"image",class:"v-toolbar__image"},[t.image?u(M,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},t.image):u(gn,{key:"image-img",cover:!0,src:e.image},null)]),u(M,{defaults:{VTabs:{height:T(y.value)}}},{default:()=>{var h,p,w;return[u("div",{class:"v-toolbar__content",style:{height:T(y.value)}},[t.prepend&&u("div",{class:"v-toolbar__prepend"},[(h=t.prepend)==null?void 0:h.call(t)]),S&&u(tt,{key:"title",text:e.title},{text:t.title}),(p=t.default)==null?void 0:p.call(t),t.append&&u("div",{class:"v-toolbar__append"},[(w=t.append)==null?void 0:w.call(t)])])]}}),u(M,{defaults:{VTabs:{height:T(d.value)}}},{default:()=>[u(on,null,{default:()=>[v.value&&u("div",{class:"v-toolbar__extension",style:{height:T(d.value)}},[x])]})]})]})}),{contentHeight:y,extensionHeight:d}}}),yn=C({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function bn(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:t}=a;let n=0;const i=O(null),s=V(0),l=V(0),o=V(0),r=V(!1),f=V(!1),v=m(()=>Number(e.scrollThreshold)),y=m(()=>Et((v.value-s.value)/v.value||0)),d=()=>{const c=i.value;!c||t&&!t.value||(n=s.value,s.value="window"in c?c.pageYOffset:c.scrollTop,f.value=s.value{l.value=l.value||s.value}),N(r,()=>{l.value=0}),Xe(()=>{N(()=>e.scrollTarget,c=>{var b;const S=c?document.querySelector(c):window;S&&S!==i.value&&((b=i.value)==null||b.removeEventListener("scroll",d),i.value=S,i.value.addEventListener("scroll",d,{passive:!0}))},{immediate:!0})}),Q(()=>{var c;(c=i.value)==null||c.removeEventListener("scroll",d)}),t&&N(t,d,{immediate:!0}),{scrollThreshold:v,currentScroll:s,currentThreshold:o,isScrollActive:r,scrollRatio:y,isScrollingUp:f,savedScroll:l}}const Sn=C({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...ut(),...Lt(),...yn(),height:{type:[Number,String],default:64}},"VAppBar"),_n=I()({name:"VAppBar",props:Sn(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:t}=a;const n=O(),i=Je(e,"modelValue"),s=m(()=>{var h;const g=new Set(((h=e.scrollBehavior)==null?void 0:h.split(" "))??[]);return{hide:g.has("hide"),inverted:g.has("inverted"),collapse:g.has("collapse"),elevate:g.has("elevate"),fadeImage:g.has("fade-image")}}),l=m(()=>{const g=s.value;return g.hide||g.inverted||g.collapse||g.elevate||g.fadeImage||!i.value}),{currentScroll:o,scrollThreshold:r,isScrollingUp:f,scrollRatio:v}=bn(e,{canScroll:l}),y=m(()=>e.collapse||s.value.collapse&&(s.value.inverted?v.value>0:v.value===0)),d=m(()=>e.flat||s.value.elevate&&(s.value.inverted?o.value>0:o.value===0)),c=m(()=>s.value.fadeImage?s.value.inverted?1-v.value:v.value:void 0),S=m(()=>{var p,w;if(s.value.hide&&s.value.inverted)return 0;const g=((p=n.value)==null?void 0:p.contentHeight)??0,h=((w=n.value)==null?void 0:w.extensionHeight)??0;return g+h});$t(m(()=>!!e.scrollBehavior),()=>{Ke(()=>{s.value.hide?s.value.inverted?i.value=o.value>r.value:i.value=f.value||o.valueparseInt(e.order,10)),position:E(e,"location"),layoutSize:S,elementSize:V(void 0),active:i,absolute:E(e,"absolute")});return z(()=>{const g=Oe.filterProps(e);return u(Oe,K({ref:n,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...x.value,"--v-toolbar-image-opacity":c.value,height:void 0,...b.value},e.style]},g,{collapse:y.value,flat:d.value}),t)}),{}}}),Cn=[null,"default","comfortable","compact"],ct=C({density:{type:String,default:"default",validator:e=>Cn.includes(e)}},"density");function dt(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:H();return{densityClasses:m(()=>`${a}--density-${e.density}`)}}const pn=["elevated","flat","tonal","outlined","text","plain"];function xn(e,a){return u(Ce,null,[e&&u("span",{key:"overlay",class:`${a}__overlay`},null),u("span",{key:"underlay",class:`${a}__underlay`},null)])}const vt=C({color:String,variant:{type:String,default:"elevated",validator:e=>pn.includes(e)}},"variant");function kn(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:H();const t=m(()=>{const{variant:s}=Y(e);return`${a}--variant-${s}`}),{colorClasses:n,colorStyles:i}=pe(m(()=>{const{variant:s,color:l}=Y(e);return{[["elevated","flat"].includes(s)?"background":"text"]:l}}));return{colorClasses:n,colorStyles:i,variantClasses:t}}const ft=C({divided:Boolean,...xe(),...A(),...ct(),...we(),...ie(),...j(),...Z(),...vt()},"VBtnGroup"),De=I()({name:"VBtnGroup",props:ft(),setup(e,a){let{slots:t}=a;const{themeClasses:n}=ee(e),{densityClasses:i}=dt(e),{borderClasses:s}=ke(e),{elevationClasses:l}=Te(e),{roundedClasses:o}=le(e);Se({VBtn:{height:"auto",color:E(e,"color"),density:E(e,"density"),flat:!0,variant:E(e,"variant")}}),z(()=>u(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},n.value,s.value,i.value,l.value,o.value,e.class],style:e.style},t))}}),wn=C({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Tn=C({value:null,disabled:Boolean,selectedClass:String},"group-item");function In(e,a){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const n=se("useGroupItem");if(!n)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const i=Rt();Qe(Symbol.for(`${a.description}:id`),i);const s=At(a,null);if(!s){if(!t)return s;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${a.description}`)}const l=E(e,"value"),o=m(()=>!!(s.disabled.value||e.disabled));s.register({id:i,value:l,disabled:o},n),Q(()=>{s.unregister(i)});const r=m(()=>s.isSelected(i)),f=m(()=>r.value&&[s.selectedClass.value,e.selectedClass]);return N(r,v=>{n.emit("group:selected",{value:v})},{flush:"sync"}),{id:i,isSelected:r,toggle:()=>s.select(i,!r.value),select:v=>s.select(i,v),selectedClass:f,value:l,disabled:o,group:s}}function Bn(e,a){let t=!1;const n=Ht([]),i=Je(e,"modelValue",[],d=>d==null?[]:mt(n,Ot(d)),d=>{const c=Pn(n,d);return e.multiple?c:c[0]}),s=se("useGroup");function l(d,c){const S=d,b=Symbol.for(`${a.description}:id`),g=Dt(b,s==null?void 0:s.vnode).indexOf(c);Y(S.value)==null&&(S.value=g),g>-1?n.splice(g,0,S):n.push(S)}function o(d){if(t)return;r();const c=n.findIndex(S=>S.id===d);n.splice(c,1)}function r(){const d=n.find(c=>!c.disabled);d&&e.mandatory==="force"&&!i.value.length&&(i.value=[d.id])}Xe(()=>{r()}),Q(()=>{t=!0});function f(d,c){const S=n.find(b=>b.id===d);if(!(c&&(S!=null&&S.disabled)))if(e.multiple){const b=i.value.slice(),x=b.findIndex(h=>h===d),g=~x;if(c=c??!g,g&&e.mandatory&&b.length<=1||!g&&e.max!=null&&b.length+1>e.max)return;x<0&&c?b.push(d):x>=0&&!c&&b.splice(x,1),i.value=b}else{const b=i.value.includes(d);if(e.mandatory&&b)return;i.value=c??!b?[d]:[]}}function v(d){if(e.multiple,i.value.length){const c=i.value[0],S=n.findIndex(g=>g.id===c);let b=(S+d)%n.length,x=n[b];for(;x.disabled&&b!==S;)b=(b+d)%n.length,x=n[b];if(x.disabled)return;i.value=[n[b].id]}else{const c=n.find(S=>!S.disabled);c&&(i.value=[c.id])}}const y={register:l,unregister:o,selected:i,select:f,disabled:E(e,"disabled"),prev:()=>v(n.length-1),next:()=>v(1),isSelected:d=>i.value.includes(d),selectedClass:m(()=>e.selectedClass),items:m(()=>n),getItemIndex:d=>Vn(n,d)};return Qe(a,y),y}function Vn(e,a){const t=mt(e,[a]);return t.length?e.findIndex(n=>n.id===t[0]):-1}function mt(e,a){const t=[];return a.forEach(n=>{const i=e.find(l=>Ze(n,l.value)),s=e[n];(i==null?void 0:i.value)!=null?t.push(i.id):s!=null&&t.push(s.id)}),t}function Pn(e,a){const t=[];return a.forEach(n=>{const i=e.findIndex(s=>s.id===n);if(~i){const s=e[i];t.push(s.value!=null?s.value:i)}}),t}const gt=Symbol.for("vuetify:v-btn-toggle"),En=C({...ft(),...wn()},"VBtnToggle");I()({name:"VBtnToggle",props:En(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:t}=a;const{isSelected:n,next:i,prev:s,select:l,selected:o}=Bn(e,gt);return z(()=>{const r=De.filterProps(e);return u(De,K({class:["v-btn-toggle",e.class]},r,{style:e.style}),{default:()=>{var f;return[(f=t.default)==null?void 0:f.call(t,{isSelected:n,next:i,prev:s,select:l,selected:o})]}})}),{next:i,prev:s,select:l}}});const Ln=["x-small","small","default","large","x-large"],Ie=C({size:{type:[String,Number],default:"default"}},"size");function Be(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:H();return Fe(()=>{let t,n;return de(Ln,e.size)?t=`${a}--size-${e.size}`:e.size&&(n={width:T(e.size),height:T(e.size)}),{sizeClasses:t,sizeStyles:n}})}const $n=C({color:String,start:Boolean,end:Boolean,icon:fe,...A(),...Ie(),...j({tag:"i"}),...Z()},"VIcon"),ce=I()({name:"VIcon",props:$n(),setup(e,a){let{attrs:t,slots:n}=a;const i=O(),{themeClasses:s}=ee(e),{iconData:l}=Mt(m(()=>i.value||e.icon)),{sizeClasses:o}=Be(e),{textColorClasses:r,textColorStyles:f}=me(E(e,"color"));return z(()=>{var y,d;const v=(y=n.default)==null?void 0:y.call(n);return v&&(i.value=(d=Wt(v).filter(c=>c.type===jt&&c.children&&typeof c.children=="string")[0])==null?void 0:d.children),u(l.value.component,{tag:e.tag,icon:l.value.icon,class:["v-icon","notranslate",s.value,o.value,r.value,{"v-icon--clickable":!!t.onClick,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[o.value?void 0:{fontSize:T(e.size),height:T(e.size),width:T(e.size)},f.value,e.style],role:t.onClick?"button":void 0,"aria-hidden":!t.onClick},{default:()=>[v]})}),{}}});function Nn(e,a){const t=O(),n=V(!1);if(_e){const i=new IntersectionObserver(s=>{e==null||e(s,i),n.value=!!s.find(l=>l.isIntersecting)},a);Q(()=>{i.disconnect()}),N(t,(s,l)=>{l&&(i.unobserve(l),n.value=!1),s&&i.observe(s)},{flush:"post"})}return{intersectionRef:t,isIntersecting:n}}const zn=C({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...A(),...Ie(),...j({tag:"div"}),...Z()},"VProgressCircular"),Rn=I()({name:"VProgressCircular",props:zn(),setup(e,a){let{slots:t}=a;const n=20,i=2*Math.PI*n,s=O(),{themeClasses:l}=ee(e),{sizeClasses:o,sizeStyles:r}=Be(e),{textColorClasses:f,textColorStyles:v}=me(E(e,"color")),{textColorClasses:y,textColorStyles:d}=me(E(e,"bgColor")),{intersectionRef:c,isIntersecting:S}=Nn(),{resizeRef:b,contentRect:x}=Gt(),g=m(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),h=m(()=>Number(e.width)),p=m(()=>r.value?Number(e.size):x.value?x.value.width:Math.max(h.value,32)),w=m(()=>n/(1-h.value/p.value)*2),R=m(()=>h.value/p.value*w.value),G=m(()=>T((100-g.value)/100*i));return Ke(()=>{c.value=s.value,b.value=s.value}),z(()=>u(e.tag,{ref:s,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":S.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},l.value,o.value,f.value,e.class],style:[r.value,v.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:g.value},{default:()=>[u("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${w.value} ${w.value}`},[u("circle",{class:["v-progress-circular__underlay",y.value],style:d.value,fill:"transparent",cx:"50%",cy:"50%",r:n,"stroke-width":R.value,"stroke-dasharray":i,"stroke-dashoffset":0},null),u("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:n,"stroke-width":R.value,"stroke-dasharray":i,"stroke-dashoffset":G.value},null)]),t.default&&u("div",{class:"v-progress-circular__content"},[t.default({value:g.value})])]})),{}}}),Me={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},An=C({location:String},"location");function Hn(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,t=arguments.length>2?arguments[2]:void 0;const{isRtl:n}=Ye();return{locationStyles:m(()=>{if(!e.location)return{};const{side:s,align:l}=sn(e.location.split(" ").length>1?e.location:`${e.location} center`,n.value);function o(f){return t?t(f):0}const r={};return s!=="center"&&(a?r[Me[s]]=`calc(100% - ${o(s)}px)`:r[s]=0),l!=="center"?a?r[Me[l]]=`calc(100% - ${o(l)}px)`:r[l]=0:(s==="center"?r.top=r.left="50%":r[{top:"left",bottom:"left",left:"top",right:"top"}[s]]="50%",r.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[s]),r})}}const On=C({loading:[Boolean,String]},"loader");function Dn(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:H();return{loaderClasses:m(()=>({[`${a}--loading`]:e.loading}))}}const Mn=["static","relative","fixed","absolute","sticky"],Wn=C({position:{type:String,validator:e=>Mn.includes(e)}},"position");function jn(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:H();return{positionClasses:m(()=>e.position?`${a}--${e.position}`:void 0)}}function Gn(){const e=se("useRoute");return m(()=>{var a;return(a=e==null?void 0:e.proxy)==null?void 0:a.$route})}function Fn(e,a){const t=Ft("RouterLink"),n=m(()=>!!(e.href||e.to)),i=m(()=>(n==null?void 0:n.value)||Ee(a,"click")||Ee(e,"click"));if(typeof t=="string")return{isLink:n,isClickable:i,href:E(e,"href")};const s=e.to?t.useLink(e):void 0,l=Gn();return{isLink:n,isClickable:i,route:s==null?void 0:s.route,navigate:s==null?void 0:s.navigate,isActive:s&&m(()=>{var o,r,f;return e.exact?l.value?((f=s.isExactActive)==null?void 0:f.value)&&Ze(s.route.value.query,l.value.query):(r=s.isExactActive)==null?void 0:r.value:(o=s.isActive)==null?void 0:o.value}),href:m(()=>e.to?s==null?void 0:s.route.value.href:e.href)}}const Un=C({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");function qn(e,a){N(()=>{var t;return(t=e.isActive)==null?void 0:t.value},t=>{e.isLink.value&&t&&a&&Ue(()=>{a(!0)})},{immediate:!0})}const ge=Symbol("rippleStop"),Yn=80;function We(e,a){e.style.transform=a,e.style.webkitTransform=a}function he(e){return e.constructor.name==="TouchEvent"}function ht(e){return e.constructor.name==="KeyboardEvent"}const Xn=function(e,a){var y;let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=0,i=0;if(!ht(e)){const d=a.getBoundingClientRect(),c=he(e)?e.touches[e.touches.length-1]:e;n=c.clientX-d.left,i=c.clientY-d.top}let s=0,l=.3;(y=a._ripple)!=null&&y.circle?(l=.15,s=a.clientWidth/2,s=t.center?s:s+Math.sqrt((n-s)**2+(i-s)**2)/4):s=Math.sqrt(a.clientWidth**2+a.clientHeight**2)/2;const o=`${(a.clientWidth-s*2)/2}px`,r=`${(a.clientHeight-s*2)/2}px`,f=t.center?o:`${n-s}px`,v=t.center?r:`${i-s}px`;return{radius:s,scale:l,x:f,y:v,centerX:o,centerY:r}},ae={show(e,a){var c;let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((c=a==null?void 0:a._ripple)!=null&&c.enabled))return;const n=document.createElement("span"),i=document.createElement("span");n.appendChild(i),n.className="v-ripple__container",t.class&&(n.className+=` ${t.class}`);const{radius:s,scale:l,x:o,y:r,centerX:f,centerY:v}=Xn(e,a,t),y=`${s*2}px`;i.className="v-ripple__animation",i.style.width=y,i.style.height=y,a.appendChild(n);const d=window.getComputedStyle(a);d&&d.position==="static"&&(a.style.position="relative",a.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),We(i,`translate(${o}, ${r}) scale3d(${l},${l},${l})`),i.dataset.activated=String(performance.now()),setTimeout(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),We(i,`translate(${f}, ${v}) scale3d(1,1,1)`)},0)},hide(e){var s;if(!((s=e==null?void 0:e._ripple)!=null&&s.enabled))return;const a=e.getElementsByClassName("v-ripple__animation");if(a.length===0)return;const t=a[a.length-1];if(t.dataset.isHiding)return;t.dataset.isHiding="true";const n=performance.now()-Number(t.dataset.activated),i=Math.max(250-n,0);setTimeout(()=>{t.classList.remove("v-ripple__animation--in"),t.classList.add("v-ripple__animation--out"),setTimeout(()=>{var o;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((o=t.parentNode)==null?void 0:o.parentNode)===e&&e.removeChild(t.parentNode)},300)},i)}};function yt(e){return typeof e>"u"||!!e}function X(e){const a={},t=e.currentTarget;if(!(!(t!=null&&t._ripple)||t._ripple.touched||e[ge])){if(e[ge]=!0,he(e))t._ripple.touched=!0,t._ripple.isTouch=!0;else if(t._ripple.isTouch)return;if(a.center=t._ripple.centered||ht(e),t._ripple.class&&(a.class=t._ripple.class),he(e)){if(t._ripple.showTimerCommit)return;t._ripple.showTimerCommit=()=>{ae.show(e,t,a)},t._ripple.showTimer=window.setTimeout(()=>{var n;(n=t==null?void 0:t._ripple)!=null&&n.showTimerCommit&&(t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null)},Yn)}else ae.show(e,t,a)}}function je(e){e[ge]=!0}function P(e){const a=e.currentTarget;if(a!=null&&a._ripple){if(window.clearTimeout(a._ripple.showTimer),e.type==="touchend"&&a._ripple.showTimerCommit){a._ripple.showTimerCommit(),a._ripple.showTimerCommit=null,a._ripple.showTimer=window.setTimeout(()=>{P(e)});return}window.setTimeout(()=>{a._ripple&&(a._ripple.touched=!1)}),ae.hide(a)}}function bt(e){const a=e.currentTarget;a!=null&&a._ripple&&(a._ripple.showTimerCommit&&(a._ripple.showTimerCommit=null),window.clearTimeout(a._ripple.showTimer))}let J=!1;function St(e){!J&&(e.keyCode===Le.enter||e.keyCode===Le.space)&&(J=!0,X(e))}function _t(e){J=!1,P(e)}function Ct(e){J&&(J=!1,P(e))}function pt(e,a,t){const{value:n,modifiers:i}=a,s=yt(n);if(s||ae.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=s,e._ripple.centered=i.center,e._ripple.circle=i.circle,Ut(n)&&n.class&&(e._ripple.class=n.class),s&&!t){if(i.stop){e.addEventListener("touchstart",je,{passive:!0}),e.addEventListener("mousedown",je);return}e.addEventListener("touchstart",X,{passive:!0}),e.addEventListener("touchend",P,{passive:!0}),e.addEventListener("touchmove",bt,{passive:!0}),e.addEventListener("touchcancel",P),e.addEventListener("mousedown",X),e.addEventListener("mouseup",P),e.addEventListener("mouseleave",P),e.addEventListener("keydown",St),e.addEventListener("keyup",_t),e.addEventListener("blur",Ct),e.addEventListener("dragstart",P,{passive:!0})}else!s&&t&&xt(e)}function xt(e){e.removeEventListener("mousedown",X),e.removeEventListener("touchstart",X),e.removeEventListener("touchend",P),e.removeEventListener("touchmove",bt),e.removeEventListener("touchcancel",P),e.removeEventListener("mouseup",P),e.removeEventListener("mouseleave",P),e.removeEventListener("keydown",St),e.removeEventListener("keyup",_t),e.removeEventListener("dragstart",P),e.removeEventListener("blur",Ct)}function Jn(e,a){pt(e,a,!1)}function Kn(e){delete e._ripple,xt(e)}function Qn(e,a){if(a.value===a.oldValue)return;const t=yt(a.oldValue);pt(e,a,t)}const Zn={mounted:Jn,unmounted:Kn,updated:Qn},ea=C({active:{type:Boolean,default:void 0},symbol:{type:null,default:gt},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:fe,appendIcon:fe,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...xe(),...A(),...ct(),...st(),...we(),...Tn(),...On(),...An(),...Wn(),...ie(),...Un(),...Ie(),...j({tag:"button"}),...Z(),...vt({variant:"elevated"})},"VBtn"),ta=I()({name:"VBtn",directives:{Ripple:Zn},props:ea(),emits:{"group:selected":e=>!0},setup(e,a){let{attrs:t,slots:n}=a;const{themeClasses:i}=ee(e),{borderClasses:s}=ke(e),{colorClasses:l,colorStyles:o,variantClasses:r}=kn(e),{densityClasses:f}=dt(e),{dimensionStyles:v}=it(e),{elevationClasses:y}=Te(e),{loaderClasses:d}=Dn(e),{locationStyles:c}=Hn(e),{positionClasses:S}=jn(e),{roundedClasses:b}=le(e),{sizeClasses:x,sizeStyles:g}=Be(e),h=In(e,e.symbol,!1),p=Fn(e,t),w=m(()=>{var B;return e.active!==void 0?e.active:p.isLink.value?(B=p.isActive)==null?void 0:B.value:h==null?void 0:h.isSelected.value}),R=m(()=>(h==null?void 0:h.disabled.value)||e.disabled),G=m(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),oe=m(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function re(B){var D;R.value||p.isLink.value&&(B.metaKey||B.ctrlKey||B.shiftKey||B.button!==0||t.target==="_blank")||((D=p.navigate)==null||D.call(p,B),h==null||h.toggle())}return qn(p,h==null?void 0:h.select),z(()=>{var $,F;const B=p.isLink.value?"a":e.tag,D=!!(e.prependIcon||n.prepend),te=!!(e.appendIcon||n.append),_=!!(e.icon&&e.icon!==!0),k=(h==null?void 0:h.isSelected.value)&&(!p.isLink.value||(($=p.isActive)==null?void 0:$.value))||!h||((F=p.isActive)==null?void 0:F.value);return ve(u(B,{type:B==="a"?void 0:"button",class:["v-btn",h==null?void 0:h.selectedClass.value,{"v-btn--active":w.value,"v-btn--block":e.block,"v-btn--disabled":R.value,"v-btn--elevated":G.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},i.value,s.value,k?l.value:void 0,f.value,y.value,d.value,S.value,b.value,x.value,r.value,e.class],style:[k?o.value:void 0,v.value,c.value,g.value,e.style],disabled:R.value||void 0,href:p.href.value,onClick:re,value:oe.value},{default:()=>{var U;return[xn(!0,"v-btn"),!e.icon&&D&&u("span",{key:"prepend",class:"v-btn__prepend"},[n.prepend?u(M,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},n.prepend):u(ce,{key:"prepend-icon",icon:e.prependIcon},null)]),u("span",{class:"v-btn__content","data-no-activator":""},[!n.default&&_?u(ce,{key:"content-icon",icon:e.icon},null):u(M,{key:"content-defaults",disabled:!_,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var Ve;return[((Ve=n.default)==null?void 0:Ve.call(n))??e.text]}})]),!e.icon&&te&&u("span",{key:"append",class:"v-btn__append"},[n.append?u(M,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},n.append):u(ce,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&u("span",{key:"loader",class:"v-btn__loader"},[((U=n.loader)==null?void 0:U.call(n))??u(Rn,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[qe("ripple"),!R.value&&e.ripple,null]])}),{group:h}}}),na=I()({name:"VAppBarTitle",props:et(),setup(e,a){let{slots:t}=a;return z(()=>u(tt,K(e,{class:"v-app-bar-title"}),t)),{}}}),aa={class:"sticky-footer"},la=qt({__name:"default",setup(e){O(null);const{initialiseData:a}=Re(),{appConfig:t,selectedIndicator:n}=Yt(Re()),i=m(()=>t.value?Object.keys(t.value.indicators):{});return a(),N(t,()=>{window.document.title=t.value.title}),(s,l)=>{const o=Kt("router-view");return ue(),Xt(Jt,null,{default:q(()=>[u(_n,{absolute:!0},{default:q(()=>[u(na,null,{default:q(()=>{var r;return[$e(Ne((r=Y(t))==null?void 0:r.title),1)]}),_:1})]),_:1}),u(Qt,null,{default:q(()=>[u(o)]),_:1}),Zt("div",aa,[(ue(!0),ze(Ce,null,en(i.value,r=>(ue(),ze("div",null,[u(ta,{link:"",class:tn(["floating-btn mb-2",r===Y(n)?"bg-blue":"bg-black"]),rounded:"xl",onClick:f=>n.value=r},{default:q(()=>[$e(Ne(r),1)]),_:2},1032,["class","onClick"])]))),256))])]),_:1})}}});export{la as default}; diff --git a/assets/index-CCVue5GR.js b/assets/index-CCVue5GR.js new file mode 100644 index 00000000..6770d2eb --- /dev/null +++ b/assets/index-CCVue5GR.js @@ -0,0 +1,35 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/index-DJMKflJ5.js","assets/appStore-DaLaHjzx.js","assets/index-HupOsEJb.css","assets/default-C0wMDwQ2.js","assets/default-PikMWWv_.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();/** +* @vue/shared v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function ts(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const ae={},Bt=[],Le=()=>{},uc=()=>!1,qn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ns=e=>e.startsWith("onUpdate:"),ge=Object.assign,rs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fc=Object.prototype.hasOwnProperty,te=(e,t)=>fc.call(e,t),V=Array.isArray,jt=e=>Zn(e)==="[object Map]",mi=e=>Zn(e)==="[object Set]",z=e=>typeof e=="function",he=e=>typeof e=="string",qt=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",pi=e=>(ce(e)||z(e))&&z(e.then)&&z(e.catch),gi=Object.prototype.toString,Zn=e=>gi.call(e),dc=e=>Zn(e).slice(8,-1),yi=e=>Zn(e)==="[object Object]",ss=e=>he(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,nn=ts(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},hc=/-(\w)/g,Ze=Qn(e=>e.replace(hc,(t,n)=>n?n.toUpperCase():"")),mc=/\B([A-Z])/g,Zt=Qn(e=>e.replace(mc,"-$1").toLowerCase()),vn=Qn(e=>e.charAt(0).toUpperCase()+e.slice(1)),vr=Qn(e=>e?`on${vn(e)}`:""),_t=(e,t)=>!Object.is(e,t),br=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},pc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},gc=e=>{const t=he(e)?Number(e):NaN;return isNaN(t)?e:t};let Ls;const vi=()=>Ls||(Ls=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function os(e){if(V(e)){const t={};for(let n=0;n{if(n){const r=n.split(vc);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function is(e){let t="";if(he(e))t=e;else if(V(e))for(let n=0;nhe(e)?e:e==null?"":V(e)||ce(e)&&(e.toString===gi||!z(e.toString))?JSON.stringify(e,_i,2):String(e),_i=(e,t)=>t&&t.__v_isRef?_i(e,t.value):jt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[_r(r,o)+" =>"]=s,n),{})}:mi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>_r(n))}:qt(t)?_r(t):ce(t)&&!V(t)&&!yi(t)?String(t):t,_r=(e,t="")=>{var n;return qt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Te;class wi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Te,!t&&Te&&(this.index=(Te.scopes||(Te.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Te;try{return Te=this,t()}finally{Te=n}}}on(){Te=this}off(){Te=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Ft()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=vt,n=Tt;try{return vt=!0,Tt=this,this._runnings++,ks(this),this.fn()}finally{$s(this),this._runnings--,Tt=n,vt=t}}stop(){var t;this.active&&(ks(this),$s(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Cc(e){return e.value}function ks(e){e._trackId++,e._depsLength=0}function $s(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Hn=new WeakMap,Mt=Symbol(""),kr=Symbol("");function Re(e,t,n){if(vt&&Tt){let r=Hn.get(e);r||Hn.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Pi(()=>r.delete(n))),Ri(Tt,s)}}function et(e,t,n,r,s,o){const i=Hn.get(e);if(!i)return;let c=[];if(t==="clear")c=[...i.values()];else if(n==="length"&&V(e)){const l=Number(r);i.forEach((u,a)=>{(a==="length"||!qt(a)&&a>=l)&&c.push(u)})}else switch(n!==void 0&&c.push(i.get(n)),t){case"add":V(e)?ss(n)&&c.push(i.get("length")):(c.push(i.get(Mt)),jt(e)&&c.push(i.get(kr)));break;case"delete":V(e)||(c.push(i.get(Mt)),jt(e)&&c.push(i.get(kr)));break;case"set":jt(e)&&c.push(i.get(Mt));break}as();for(const l of c)l&&Ai(l,4);us()}function xc(e,t){var n;return(n=Hn.get(e))==null?void 0:n.get(t)}const Rc=ts("__proto__,__v_isRef,__isVue"),Oi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(qt)),Ns=Ac();function Ac(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Q(this);for(let o=0,i=this.length;o{e[t]=function(...n){Dt(),as();const r=Q(this)[t].apply(this,n);return us(),Ft(),r}}),e}function Pc(e){const t=Q(this);return Re(t,"has",e),t.hasOwnProperty(e)}class Ti{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?jc:Fi:o?Di:Ii).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=V(t);if(!s){if(i&&te(Ns,n))return Reflect.get(Ns,n,r);if(n==="hasOwnProperty")return Pc}const c=Reflect.get(t,n,r);return(qt(n)?Oi.has(n):Rc(n))||(s||Re(t,"get",n),o)?c:me(c)?i&&ss(n)?c:c.value:ce(c)?s?Xn(c):xe(c):c}}class Mi extends Ti{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=Wt(o);if(!Bn(r)&&!Wt(r)&&(o=Q(o),r=Q(r)),!V(t)&&me(o)&&!me(r))return l?!1:(o.value=r,!0)}const i=V(t)&&ss(n)?Number(n)e,Jn=e=>Reflect.getPrototypeOf(e);function wn(e,t,n=!1,r=!1){e=e.__v_raw;const s=Q(e),o=Q(t);n||(_t(t,o)&&Re(s,"get",t),Re(s,"get",o));const{has:i}=Jn(s),c=r?fs:n?ms:an;if(i.call(s,t))return c(e.get(t));if(i.call(s,o))return c(e.get(o));e!==s&&e.get(t)}function En(e,t=!1){const n=this.__v_raw,r=Q(n),s=Q(e);return t||(_t(e,s)&&Re(r,"has",e),Re(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Sn(e,t=!1){return e=e.__v_raw,!t&&Re(Q(e),"iterate",Mt),Reflect.get(e,"size",e)}function Hs(e){e=Q(e);const t=Q(this);return Jn(t).has.call(t,e)||(t.add(e),et(t,"add",e,e)),this}function Bs(e,t){t=Q(t);const n=Q(this),{has:r,get:s}=Jn(n);let o=r.call(n,e);o||(e=Q(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?_t(t,i)&&et(n,"set",e,t):et(n,"add",e,t),this}function js(e){const t=Q(this),{has:n,get:r}=Jn(t);let s=n.call(t,e);s||(e=Q(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&et(t,"delete",e,void 0),o}function Vs(){const e=Q(this),t=e.size!==0,n=e.clear();return t&&et(e,"clear",void 0,void 0),n}function Cn(e,t){return function(r,s){const o=this,i=o.__v_raw,c=Q(i),l=t?fs:e?ms:an;return!e&&Re(c,"iterate",Mt),i.forEach((u,a)=>r.call(s,l(u),l(a),o))}}function xn(e,t,n){return function(...r){const s=this.__v_raw,o=Q(s),i=jt(o),c=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),a=n?fs:t?ms:an;return!t&&Re(o,"iterate",l?kr:Mt),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:c?[a(f[0]),a(f[1])]:a(f),done:h}},[Symbol.iterator](){return this}}}}function ct(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Dc(){const e={get(o){return wn(this,o)},get size(){return Sn(this)},has:En,add:Hs,set:Bs,delete:js,clear:Vs,forEach:Cn(!1,!1)},t={get(o){return wn(this,o,!1,!0)},get size(){return Sn(this)},has:En,add:Hs,set:Bs,delete:js,clear:Vs,forEach:Cn(!1,!0)},n={get(o){return wn(this,o,!0)},get size(){return Sn(this,!0)},has(o){return En.call(this,o,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:Cn(!0,!1)},r={get(o){return wn(this,o,!0,!0)},get size(){return Sn(this,!0)},has(o){return En.call(this,o,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:Cn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=xn(o,!1,!1),n[o]=xn(o,!0,!1),t[o]=xn(o,!1,!0),r[o]=xn(o,!0,!0)}),[e,n,t,r]}const[Fc,Lc,kc,$c]=Dc();function ds(e,t){const n=t?e?$c:kc:e?Lc:Fc;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(te(n,s)&&s in r?n:r,s,o)}const Nc={get:ds(!1,!1)},Hc={get:ds(!1,!0)},Bc={get:ds(!0,!1)},Ii=new WeakMap,Di=new WeakMap,Fi=new WeakMap,jc=new WeakMap;function Vc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Uc(e){return e.__v_skip||!Object.isExtensible(e)?0:Vc(dc(e))}function xe(e){return Wt(e)?e:hs(e,!1,Tc,Nc,Ii)}function Li(e){return hs(e,!1,Ic,Hc,Di)}function Xn(e){return hs(e,!0,Mc,Bc,Fi)}function hs(e,t,n,r,s){if(!ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Uc(e);if(i===0)return e;const c=new Proxy(e,i===2?r:n);return s.set(e,c),c}function tt(e){return Wt(e)?tt(e.__v_raw):!!(e&&e.__v_isReactive)}function Wt(e){return!!(e&&e.__v_isReadonly)}function Bn(e){return!!(e&&e.__v_isShallow)}function ki(e){return tt(e)||Wt(e)}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function er(e){return Object.isExtensible(e)&&Nn(e,"__v_skip",!0),e}const an=e=>ce(e)?xe(e):e,ms=e=>ce(e)?Xn(e):e;class $i{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new cs(()=>t(this._value),()=>In(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Q(this);return(!t._cacheable||t.effect.dirty)&&_t(t._value,t._value=t.effect.run())&&In(t,4),Ni(t),t.effect._dirtyLevel>=2&&In(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Wc(e,t,n=!1){let r,s;const o=z(e);return o?(r=e,s=Le):(r=e.get,s=e.set),new $i(r,s,o||!s,n)}function Ni(e){var t;vt&&Tt&&(e=Q(e),Ri(Tt,(t=e.dep)!=null?t:e.dep=Pi(()=>e.dep=void 0,e instanceof $i?e:void 0)))}function In(e,t=4,n){e=Q(e);const r=e.dep;r&&Ai(r,t)}function me(e){return!!(e&&e.__v_isRef===!0)}function Ae(e){return Hi(e,!1)}function qe(e){return Hi(e,!0)}function Hi(e,t){return me(e)?e:new Kc(e,t)}class Kc{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Q(t),this._value=n?t:an(t)}get value(){return Ni(this),this._value}set value(t){const n=this.__v_isShallow||Bn(t)||Wt(t);t=n?t:Q(t),_t(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:an(t),In(this,4))}}function Be(e){return me(e)?e.value:e}const zc={get:(e,t,n)=>Be(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return me(s)&&!me(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Bi(e){return tt(e)?e:new Proxy(e,zc)}function ps(e){const t=V(e)?new Array(e.length):{};for(const n in e)t[n]=ji(e,n);return t}class Gc{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return xc(Q(this._object),this._key)}}class Yc{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function qc(e,t,n){return me(e)?e:z(e)?new Yc(e):ce(e)&&arguments.length>1?ji(e,t,n):Ae(e)}function ji(e,t,n){const r=e[t];return me(r)?r:new Gc(e,t,n)}/** +* @vue/runtime-core v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function bt(e,t,n,r){try{return r?e(...r):e()}catch(s){tr(s,t,n)}}function $e(e,t,n,r){if(z(e)){const o=bt(e,t,n,r);return o&&pi(o)&&o.catch(i=>{tr(i,t,n)}),o}const s=[];for(let o=0;o>>1,s=we[r],o=fn(s);oYe&&we.splice(t,1)}function Xc(e){V(e)?Vt.push(...e):(!ht||!ht.includes(e,e.allowRecurse?At+1:At))&&Vt.push(e),Ui()}function Us(e,t,n=un?Ye+1:0){for(;nfn(n)-fn(r));if(Vt.length=0,ht){ht.push(...t);return}for(ht=t,At=0;Ate.id==null?1/0:e.id,ea=(e,t)=>{const n=fn(e)-fn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ki(e){$r=!1,un=!0,we.sort(ea);try{for(Ye=0;Yehe(p)?p.trim():p)),f&&(s=n.map(pc))}let c,l=r[c=vr(t)]||r[c=vr(Ze(t))];!l&&o&&(l=r[c=vr(Zt(t))]),l&&$e(l,e,6,s);const u=r[c+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,$e(u,e,6,s)}}function zi(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},c=!1;if(!z(e)){const l=u=>{const a=zi(u,t,!0);a&&(c=!0,ge(i,a))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!c?(ce(e)&&r.set(e,null),null):(V(o)?o.forEach(l=>i[l]=null):ge(i,o),ce(e)&&r.set(e,i),i)}function rr(e,t){return!e||!qn(t)?!1:(t=t.slice(2).replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,Zt(t))||te(e,t))}let Ee=null,Gi=null;function jn(e){const t=Ee;return Ee=e,Gi=e&&e.type.__scopeId||null,t}function Nr(e,t=Ee,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&to(-1);const o=jn(t);let i;try{i=e(...s)}finally{jn(o),r._d&&to(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function wr(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:c,attrs:l,emit:u,render:a,renderCache:f,data:h,setupState:p,ctx:y,inheritAttrs:w}=e;let R,M;const k=jn(e);try{if(n.shapeFlag&4){const G=s||r,K=G;R=Ge(a.call(K,G,f,o,p,h,y)),M=l}else{const G=t;R=Ge(G.length>1?G(o,{attrs:l,slots:c,emit:u}):G(o,null)),M=t.props?l:na(l)}}catch(G){sn.length=0,tr(G,e,1),R=ie(rt)}let B=R;if(M&&w!==!1){const G=Object.keys(M),{shapeFlag:K}=B;G.length&&K&7&&(i&&G.some(ns)&&(M=ra(M,i)),B=wt(B,M))}return n.dirs&&(B=wt(B),B.dirs=B.dirs?B.dirs.concat(n.dirs):n.dirs),n.transition&&(B.transition=n.transition),R=B,jn(k),R}const na=e=>{let t;for(const n in e)(n==="class"||n==="style"||qn(n))&&((t||(t={}))[n]=e[n]);return t},ra=(e,t)=>{const n={};for(const r in e)(!ns(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function sa(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:c,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Ws(r,i,u):!!i;if(l&8){const a=t.dynamicProps;for(let f=0;fe.__isSuspense;function aa(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):Xc(e)}const ua=Symbol.for("v-scx"),fa=()=>_e(ua);function sr(e,t){return _s(e,null,t)}const Rn={};function Ne(e,t,n){return _s(e,t,n)}function _s(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:c}=ae){if(t&&o){const I=t;t=(...Y)=>{I(...Y),K()}}const l=ve,u=I=>r===!0?I:Ot(I,r===!1?1:void 0);let a,f=!1,h=!1;if(me(e)?(a=()=>e.value,f=Bn(e)):tt(e)?(a=()=>u(e),f=!0):V(e)?(h=!0,f=e.some(I=>tt(I)||Bn(I)),a=()=>e.map(I=>{if(me(I))return I.value;if(tt(I))return u(I);if(z(I))return bt(I,l,2)})):z(e)?t?a=()=>bt(e,l,2):a=()=>(p&&p(),$e(e,l,3,[y])):a=Le,t&&r){const I=a;a=()=>Ot(I())}let p,y=I=>{p=B.onStop=()=>{bt(I,l,4),p=B.onStop=void 0}},w;if(dr)if(y=Le,t?n&&$e(t,l,3,[a(),h?[]:void 0,y]):a(),s==="sync"){const I=fa();w=I.__watcherHandles||(I.__watcherHandles=[])}else return Le;let R=h?new Array(e.length).fill(Rn):Rn;const M=()=>{if(!(!B.active||!B.dirty))if(t){const I=B.run();(r||f||(h?I.some((Y,S)=>_t(Y,R[S])):_t(I,R)))&&(p&&p(),$e(t,l,3,[I,R===Rn?void 0:h&&R[0]===Rn?[]:R,y]),R=I)}else B.run()};M.allowRecurse=!!t;let k;s==="sync"?k=M:s==="post"?k=()=>Ce(M,l&&l.suspense):(M.pre=!0,l&&(M.id=l.uid),k=()=>ys(M));const B=new cs(a,Le,k),G=Ei(),K=()=>{B.stop(),G&&rs(G.effects,B)};return t?n?M():R=B.run():s==="post"?Ce(B.run.bind(B),l&&l.suspense):B.run(),w&&w.push(K),K}function da(e,t,n){const r=this.proxy,s=he(e)?e.includes(".")?qi(r,e):()=>r[e]:e.bind(r,r);let o;z(t)?o=t:(o=t.handler,n=t);const i=bn(this),c=_s(s,o.bind(r),n);return i(),c}function qi(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),me(e))Ot(e.value,t,n,r);else if(V(e))for(let s=0;s{Ot(s,t,n,r)});else if(yi(e))for(const s in e)Ot(e[s],t,n,r);return e}function tm(e,t){if(Ee===null)return e;const n=hr(Ee)||Ee.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),ar(()=>{e.isUnmounting=!0}),e}const De=[Function,Array],Qi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:De,onEnter:De,onAfterEnter:De,onEnterCancelled:De,onBeforeLeave:De,onLeave:De,onAfterLeave:De,onLeaveCancelled:De,onBeforeAppear:De,onAppear:De,onAfterAppear:De,onAppearCancelled:De},ha={name:"BaseTransition",props:Qi,setup(e,{slots:t}){const n=xs(),r=Zi();return()=>{const s=t.default&&ws(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const h of s)if(h.type!==rt){o=h;break}}const i=Q(e),{mode:c}=i;if(r.isLeaving)return Er(o);const l=zs(o);if(!l)return Er(o);const u=dn(l,i,r,n);hn(l,u);const a=n.subTree,f=a&&zs(a);if(f&&f.type!==rt&&!Pt(l,f)){const h=dn(f,i,r,n);if(hn(f,h),c==="out-in")return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Er(o);c==="in-out"&&l.type!==rt&&(h.delayLeave=(p,y,w)=>{const R=Ji(r,f);R[String(f.key)]=f,p[mt]=()=>{y(),p[mt]=void 0,delete u.delayedLeave},u.delayedLeave=w})}return o}}},ma=ha;function Ji(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function dn(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:a,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:y,onBeforeAppear:w,onAppear:R,onAfterAppear:M,onAppearCancelled:k}=t,B=String(e.key),G=Ji(n,e),K=(S,D)=>{S&&$e(S,r,9,D)},I=(S,D)=>{const N=D[1];K(S,D),V(S)?S.every(q=>q.length<=1)&&N():S.length<=1&&N()},Y={mode:o,persisted:i,beforeEnter(S){let D=c;if(!n.isMounted)if(s)D=w||c;else return;S[mt]&&S[mt](!0);const N=G[B];N&&Pt(e,N)&&N.el[mt]&&N.el[mt](),K(D,[S])},enter(S){let D=l,N=u,q=a;if(!n.isMounted)if(s)D=R||l,N=M||u,q=k||a;else return;let T=!1;const Z=S[An]=de=>{T||(T=!0,de?K(q,[S]):K(N,[S]),Y.delayedLeave&&Y.delayedLeave(),S[An]=void 0)};D?I(D,[S,Z]):Z()},leave(S,D){const N=String(e.key);if(S[An]&&S[An](!0),n.isUnmounting)return D();K(f,[S]);let q=!1;const T=S[mt]=Z=>{q||(q=!0,D(),Z?K(y,[S]):K(p,[S]),S[mt]=void 0,G[N]===e&&delete G[N])};G[N]=e,h?I(h,[S,T]):T()},clone(S){return dn(S,t,n,r)}};return Y}function Er(e){if(ir(e))return e=wt(e),e.children=null,e}function zs(e){return ir(e)?e.children?e.children[0]:void 0:e}function hn(e,t){e.shapeFlag&6&&e.component?hn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ws(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader,ir=e=>e.type.__isKeepAlive;function Xi(e,t){tl(e,"a",t)}function el(e,t){tl(e,"da",t)}function tl(e,t,n=ve){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(lr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ir(s.parent.vnode)&&pa(r,t,n,s),s=s.parent}}function pa(e,t,n,r){const s=lr(t,e,r,!0);rl(()=>{rs(r[t],s)},n)}function lr(e,t,n=ve,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Dt();const c=bn(n),l=$e(t,n,e,i);return c(),Ft(),l});return r?s.unshift(o):s.push(o),o}}const st=e=>(t,n=ve)=>(!dr||e==="sp")&&lr(e,(...r)=>t(...r),n),ga=st("bm"),cr=st("m"),ya=st("bu"),nl=st("u"),ar=st("bum"),rl=st("um"),va=st("sp"),ba=st("rtg"),_a=st("rtc");function wa(e,t=ve){lr("ec",e,t)}function nm(e,t,n,r){let s;const o=n&&n[r];if(V(e)||he(e)){s=new Array(e.length);for(let i=0,c=e.length;it(i,c,void 0,o&&o[c]));else{const i=Object.keys(e);s=new Array(i.length);for(let c=0,l=i.length;ce?yl(e)?hr(e)||e.proxy:Hr(e.parent):null,rn=ge(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=>Hr(e.parent),$root:e=>Hr(e.root),$emit:e=>e.emit,$options:e=>Es(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,ys(e.update)}),$nextTick:e=>e.n||(e.n=nr.bind(e.proxy)),$watch:e=>da.bind(e)}),Sr=(e,t)=>e!==ae&&!e.__isScriptSetup&&te(e,t),Ea={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:c,appContext:l}=e;let u;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Sr(r,t))return i[t]=1,r[t];if(s!==ae&&te(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&te(u,t))return i[t]=3,o[t];if(n!==ae&&te(n,t))return i[t]=4,n[t];Br&&(i[t]=0)}}const a=rn[t];let f,h;if(a)return t==="$attrs"&&Re(e,"get",t),a(e);if((f=c.__cssModules)&&(f=f[t]))return f;if(n!==ae&&te(n,t))return i[t]=4,n[t];if(h=l.config.globalProperties,te(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Sr(s,t)?(s[t]=n,!0):r!==ae&&te(r,t)?(r[t]=n,!0):te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let c;return!!n[i]||e!==ae&&te(e,i)||Sr(t,i)||(c=o[0])&&te(c,i)||te(r,i)||te(rn,i)||te(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Gs(e){return V(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Br=!0;function Sa(e){const t=Es(e),n=e.proxy,r=e.ctx;Br=!1,t.beforeCreate&&Ys(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:c,provide:l,inject:u,created:a,beforeMount:f,mounted:h,beforeUpdate:p,updated:y,activated:w,deactivated:R,beforeDestroy:M,beforeUnmount:k,destroyed:B,unmounted:G,render:K,renderTracked:I,renderTriggered:Y,errorCaptured:S,serverPrefetch:D,expose:N,inheritAttrs:q,components:T,directives:Z,filters:de}=t;if(u&&Ca(u,r,null),i)for(const ne in i){const ee=i[ne];z(ee)&&(r[ne]=ee.bind(n))}if(s){const ne=s.call(n,n);ce(ne)&&(e.data=xe(ne))}if(Br=!0,o)for(const ne in o){const ee=o[ne],Pe=z(ee)?ee.bind(n,n):z(ee.get)?ee.get.bind(n,n):Le,Ue=!z(ee)&&z(ee.set)?ee.set.bind(n):Le,Ie=U({get:Pe,set:Ue});Object.defineProperty(r,ne,{enumerable:!0,configurable:!0,get:()=>Ie.value,set:pe=>Ie.value=pe})}if(c)for(const ne in c)sl(c[ne],r,n,ne);if(l){const ne=z(l)?l.call(n):l;Reflect.ownKeys(ne).forEach(ee=>{nt(ee,ne[ee])})}a&&Ys(a,e,"c");function X(ne,ee){V(ee)?ee.forEach(Pe=>ne(Pe.bind(n))):ee&&ne(ee.bind(n))}if(X(ga,f),X(cr,h),X(ya,p),X(nl,y),X(Xi,w),X(el,R),X(wa,S),X(_a,I),X(ba,Y),X(ar,k),X(rl,G),X(va,D),V(N))if(N.length){const ne=e.exposed||(e.exposed={});N.forEach(ee=>{Object.defineProperty(ne,ee,{get:()=>n[ee],set:Pe=>n[ee]=Pe})})}else e.exposed||(e.exposed={});K&&e.render===Le&&(e.render=K),q!=null&&(e.inheritAttrs=q),T&&(e.components=T),Z&&(e.directives=Z)}function Ca(e,t,n=Le){V(e)&&(e=jr(e));for(const r in e){const s=e[r];let o;ce(s)?"default"in s?o=_e(s.from||r,s.default,!0):o=_e(s.from||r):o=_e(s),me(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Ys(e,t,n){$e(V(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function sl(e,t,n,r){const s=r.includes(".")?qi(n,r):()=>n[r];if(he(e)){const o=t[e];z(o)&&Ne(s,o)}else if(z(e))Ne(s,e.bind(n));else if(ce(e))if(V(e))e.forEach(o=>sl(o,t,n,r));else{const o=z(e.handler)?e.handler.bind(n):t[e.handler];z(o)&&Ne(s,o,e)}}function Es(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,c=o.get(t);let l;return c?l=c:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>Vn(l,u,i,!0)),Vn(l,t,i)),ce(t)&&o.set(t,l),l}function Vn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Vn(e,o,n,!0),s&&s.forEach(i=>Vn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const c=xa[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const xa={data:qs,props:Zs,emits:Zs,methods:tn,computed:tn,beforeCreate:Se,created:Se,beforeMount:Se,mounted:Se,beforeUpdate:Se,updated:Se,beforeDestroy:Se,beforeUnmount:Se,destroyed:Se,unmounted:Se,activated:Se,deactivated:Se,errorCaptured:Se,serverPrefetch:Se,components:tn,directives:tn,watch:Aa,provide:qs,inject:Ra};function qs(e,t){return t?e?function(){return ge(z(e)?e.call(this,this):e,z(t)?t.call(this,this):t)}:t:e}function Ra(e,t){return tn(jr(e),jr(t))}function jr(e){if(V(e)){const t={};for(let n=0;n1)return n&&z(t)?t.call(r&&r.proxy):t}}function Ta(){return!!(ve||Ee||Ut)}function Ma(e,t,n,r=!1){const s={},o={};Nn(o,fr,1),e.propsDefaults=Object.create(null),il(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Li(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Ia(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,c=Q(s),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[h,p]=ll(f,t,!0);ge(i,h),p&&c.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!l)return ce(e)&&r.set(e,Bt),Bt;if(V(o))for(let a=0;a-1,p[1]=w<0||y-1||te(p,"default"))&&c.push(f)}}}const u=[i,c];return ce(e)&&r.set(e,u),u}function Qs(e){return e[0]!=="$"&&!nn(e)}function Js(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Xs(e,t){return Js(e)===Js(t)}function eo(e,t){return V(t)?t.findIndex(n=>Xs(n,e)):z(t)&&Xs(t,e)?0:-1}const cl=e=>e[0]==="_"||e==="$stable",Ss=e=>V(e)?e.map(Ge):[Ge(e)],Da=(e,t,n)=>{if(t._n)return t;const r=Nr((...s)=>Ss(t(...s)),n);return r._c=!1,r},al=(e,t,n)=>{const r=e._ctx;for(const s in e){if(cl(s))continue;const o=e[s];if(z(o))t[s]=Da(s,o,r);else if(o!=null){const i=Ss(o);t[s]=()=>i}}},ul=(e,t)=>{const n=Ss(t);e.slots.default=()=>n},Fa=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Q(t),Nn(t,"_",n)):al(t,e.slots={})}else e.slots={},t&&ul(e,t);Nn(e.slots,fr,1)},La=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ae;if(r.shapeFlag&32){const c=t._;c?n&&c===1?o=!1:(ge(s,t),!n&&c===1&&delete s._):(o=!t.$stable,al(t,s)),i=t}else t&&(ul(e,t),i={default:1});if(o)for(const c in s)!cl(c)&&i[c]==null&&delete s[c]};function Ur(e,t,n,r,s=!1){if(V(e)){e.forEach((h,p)=>Ur(h,t&&(V(t)?t[p]:t),n,r,s));return}if(Dn(r)&&!s)return;const o=r.shapeFlag&4?hr(r.component)||r.component.proxy:r.el,i=s?null:o,{i:c,r:l}=e,u=t&&t.r,a=c.refs===ae?c.refs={}:c.refs,f=c.setupState;if(u!=null&&u!==l&&(he(u)?(a[u]=null,te(f,u)&&(f[u]=null)):me(u)&&(u.value=null)),z(l))bt(l,c,12,[i,a]);else{const h=he(l),p=me(l);if(h||p){const y=()=>{if(e.f){const w=h?te(f,l)?f[l]:a[l]:l.value;s?V(w)&&rs(w,o):V(w)?w.includes(o)||w.push(o):h?(a[l]=[o],te(f,l)&&(f[l]=a[l])):(l.value=[o],e.k&&(a[e.k]=l.value))}else h?(a[l]=i,te(f,l)&&(f[l]=i)):p&&(l.value=i,e.k&&(a[e.k]=i))};i?(y.id=-1,Ce(y,n)):y()}}}const Ce=aa;function ka(e){return $a(e)}function $a(e,t){const n=vi();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:c,createComment:l,setText:u,setElementText:a,parentNode:f,nextSibling:h,setScopeId:p=Le,insertStaticContent:y}=e,w=(d,m,g,_=null,b=null,x=null,O=void 0,C=null,A=!!m.dynamicChildren)=>{if(d===m)return;d&&!Pt(d,m)&&(_=v(d),pe(d,b,x,!0),d=null),m.patchFlag===-2&&(A=!1,m.dynamicChildren=null);const{type:E,ref:L,shapeFlag:j}=m;switch(E){case ur:R(d,m,g,_);break;case rt:M(d,m,g,_);break;case xr:d==null&&k(m,g,_,O);break;case Fe:T(d,m,g,_,b,x,O,C,A);break;default:j&1?K(d,m,g,_,b,x,O,C,A):j&6?Z(d,m,g,_,b,x,O,C,A):(j&64||j&128)&&E.process(d,m,g,_,b,x,O,C,A,$)}L!=null&&b&&Ur(L,d&&d.ref,x,m||d,!m)},R=(d,m,g,_)=>{if(d==null)r(m.el=c(m.children),g,_);else{const b=m.el=d.el;m.children!==d.children&&u(b,m.children)}},M=(d,m,g,_)=>{d==null?r(m.el=l(m.children||""),g,_):m.el=d.el},k=(d,m,g,_)=>{[d.el,d.anchor]=y(d.children,m,g,_,d.el,d.anchor)},B=({el:d,anchor:m},g,_)=>{let b;for(;d&&d!==m;)b=h(d),r(d,g,_),d=b;r(m,g,_)},G=({el:d,anchor:m})=>{let g;for(;d&&d!==m;)g=h(d),s(d),d=g;s(m)},K=(d,m,g,_,b,x,O,C,A)=>{m.type==="svg"?O="svg":m.type==="math"&&(O="mathml"),d==null?I(m,g,_,b,x,O,C,A):D(d,m,b,x,O,C,A)},I=(d,m,g,_,b,x,O,C)=>{let A,E;const{props:L,shapeFlag:j,transition:H,dirs:W}=d;if(A=d.el=i(d.type,x,L&&L.is,L),j&8?a(A,d.children):j&16&&S(d.children,A,null,_,b,Cr(d,x),O,C),W&&St(d,null,_,"created"),Y(A,d,d.scopeId,O,_),L){for(const oe in L)oe!=="value"&&!nn(oe)&&o(A,oe,null,L[oe],x,d.children,_,b,le);"value"in L&&o(A,"value",null,L.value,x),(E=L.onVnodeBeforeMount)&&ze(E,_,d)}W&&St(d,null,_,"beforeMount");const J=Na(b,H);J&&H.beforeEnter(A),r(A,m,g),((E=L&&L.onVnodeMounted)||J||W)&&Ce(()=>{E&&ze(E,_,d),J&&H.enter(A),W&&St(d,null,_,"mounted")},b)},Y=(d,m,g,_,b)=>{if(g&&p(d,g),_)for(let x=0;x<_.length;x++)p(d,_[x]);if(b){let x=b.subTree;if(m===x){const O=b.vnode;Y(d,O,O.scopeId,O.slotScopeIds,b.parent)}}},S=(d,m,g,_,b,x,O,C,A=0)=>{for(let E=A;E{const C=m.el=d.el;let{patchFlag:A,dynamicChildren:E,dirs:L}=m;A|=d.patchFlag&16;const j=d.props||ae,H=m.props||ae;let W;if(g&&Ct(g,!1),(W=H.onVnodeBeforeUpdate)&&ze(W,g,m,d),L&&St(m,d,g,"beforeUpdate"),g&&Ct(g,!0),E?N(d.dynamicChildren,E,C,g,_,Cr(m,b),x):O||ee(d,m,C,null,g,_,Cr(m,b),x,!1),A>0){if(A&16)q(C,m,j,H,g,_,b);else if(A&2&&j.class!==H.class&&o(C,"class",null,H.class,b),A&4&&o(C,"style",j.style,H.style,b),A&8){const J=m.dynamicProps;for(let oe=0;oe{W&&ze(W,g,m,d),L&&St(m,d,g,"updated")},_)},N=(d,m,g,_,b,x,O)=>{for(let C=0;C{if(g!==_){if(g!==ae)for(const C in g)!nn(C)&&!(C in _)&&o(d,C,g[C],null,O,m.children,b,x,le);for(const C in _){if(nn(C))continue;const A=_[C],E=g[C];A!==E&&C!=="value"&&o(d,C,E,A,O,m.children,b,x,le)}"value"in _&&o(d,"value",g.value,_.value,O)}},T=(d,m,g,_,b,x,O,C,A)=>{const E=m.el=d?d.el:c(""),L=m.anchor=d?d.anchor:c("");let{patchFlag:j,dynamicChildren:H,slotScopeIds:W}=m;W&&(C=C?C.concat(W):W),d==null?(r(E,g,_),r(L,g,_),S(m.children||[],g,L,b,x,O,C,A)):j>0&&j&64&&H&&d.dynamicChildren?(N(d.dynamicChildren,H,g,b,x,O,C),(m.key!=null||b&&m===b.subTree)&&fl(d,m,!0)):ee(d,m,g,L,b,x,O,C,A)},Z=(d,m,g,_,b,x,O,C,A)=>{m.slotScopeIds=C,d==null?m.shapeFlag&512?b.ctx.activate(m,g,_,O,A):de(m,g,_,b,x,O,A):be(d,m,A)},de=(d,m,g,_,b,x,O)=>{const C=d.component=qa(d,_,b);if(ir(d)&&(C.ctx.renderer=$),Za(C),C.asyncDep){if(b&&b.registerDep(C,X),!d.el){const A=C.subTree=ie(rt);M(null,A,m,g)}}else X(C,d,m,g,b,x,O)},be=(d,m,g)=>{const _=m.component=d.component;if(sa(d,m,g))if(_.asyncDep&&!_.asyncResolved){ne(_,m,g);return}else _.next=m,Jc(_.update),_.effect.dirty=!0,_.update();else m.el=d.el,_.vnode=m},X=(d,m,g,_,b,x,O)=>{const C=()=>{if(d.isMounted){let{next:L,bu:j,u:H,parent:W,vnode:J}=d;{const Lt=dl(d);if(Lt){L&&(L.el=J.el,ne(d,L,O)),Lt.asyncDep.then(()=>{d.isUnmounted||C()});return}}let oe=L,fe;Ct(d,!1),L?(L.el=J.el,ne(d,L,O)):L=J,j&&br(j),(fe=L.props&&L.props.onVnodeBeforeUpdate)&&ze(fe,W,L,J),Ct(d,!0);const ye=wr(d),He=d.subTree;d.subTree=ye,w(He,ye,f(He.el),v(He),d,b,x),L.el=ye.el,oe===null&&oa(d,ye.el),H&&Ce(H,b),(fe=L.props&&L.props.onVnodeUpdated)&&Ce(()=>ze(fe,W,L,J),b)}else{let L;const{el:j,props:H}=m,{bm:W,m:J,parent:oe}=d,fe=Dn(m);if(Ct(d,!1),W&&br(W),!fe&&(L=H&&H.onVnodeBeforeMount)&&ze(L,oe,m),Ct(d,!0),j&&ue){const ye=()=>{d.subTree=wr(d),ue(j,d.subTree,d,b,null)};fe?m.type.__asyncLoader().then(()=>!d.isUnmounted&&ye()):ye()}else{const ye=d.subTree=wr(d);w(null,ye,g,_,d,b,x),m.el=ye.el}if(J&&Ce(J,b),!fe&&(L=H&&H.onVnodeMounted)){const ye=m;Ce(()=>ze(L,oe,ye),b)}(m.shapeFlag&256||oe&&Dn(oe.vnode)&&oe.vnode.shapeFlag&256)&&d.a&&Ce(d.a,b),d.isMounted=!0,m=g=_=null}},A=d.effect=new cs(C,Le,()=>ys(E),d.scope),E=d.update=()=>{A.dirty&&A.run()};E.id=d.uid,Ct(d,!0),E()},ne=(d,m,g)=>{m.component=d;const _=d.vnode.props;d.vnode=m,d.next=null,Ia(d,m.props,_,g),La(d,m.children,g),Dt(),Us(d),Ft()},ee=(d,m,g,_,b,x,O,C,A=!1)=>{const E=d&&d.children,L=d?d.shapeFlag:0,j=m.children,{patchFlag:H,shapeFlag:W}=m;if(H>0){if(H&128){Ue(E,j,g,_,b,x,O,C,A);return}else if(H&256){Pe(E,j,g,_,b,x,O,C,A);return}}W&8?(L&16&&le(E,b,x),j!==E&&a(g,j)):L&16?W&16?Ue(E,j,g,_,b,x,O,C,A):le(E,b,x,!0):(L&8&&a(g,""),W&16&&S(j,g,_,b,x,O,C,A))},Pe=(d,m,g,_,b,x,O,C,A)=>{d=d||Bt,m=m||Bt;const E=d.length,L=m.length,j=Math.min(E,L);let H;for(H=0;HL?le(d,b,x,!0,!1,j):S(m,g,_,b,x,O,C,A,j)},Ue=(d,m,g,_,b,x,O,C,A)=>{let E=0;const L=m.length;let j=d.length-1,H=L-1;for(;E<=j&&E<=H;){const W=d[E],J=m[E]=A?pt(m[E]):Ge(m[E]);if(Pt(W,J))w(W,J,g,null,b,x,O,C,A);else break;E++}for(;E<=j&&E<=H;){const W=d[j],J=m[H]=A?pt(m[H]):Ge(m[H]);if(Pt(W,J))w(W,J,g,null,b,x,O,C,A);else break;j--,H--}if(E>j){if(E<=H){const W=H+1,J=WH)for(;E<=j;)pe(d[E],b,x,!0),E++;else{const W=E,J=E,oe=new Map;for(E=J;E<=H;E++){const Oe=m[E]=A?pt(m[E]):Ge(m[E]);Oe.key!=null&&oe.set(Oe.key,E)}let fe,ye=0;const He=H-J+1;let Lt=!1,Is=0;const Qt=new Array(He);for(E=0;E=He){pe(Oe,b,x,!0);continue}let Ke;if(Oe.key!=null)Ke=oe.get(Oe.key);else for(fe=J;fe<=H;fe++)if(Qt[fe-J]===0&&Pt(Oe,m[fe])){Ke=fe;break}Ke===void 0?pe(Oe,b,x,!0):(Qt[Ke-J]=E+1,Ke>=Is?Is=Ke:Lt=!0,w(Oe,m[Ke],g,null,b,x,O,C,A),ye++)}const Ds=Lt?Ha(Qt):Bt;for(fe=Ds.length-1,E=He-1;E>=0;E--){const Oe=J+E,Ke=m[Oe],Fs=Oe+1{const{el:x,type:O,transition:C,children:A,shapeFlag:E}=d;if(E&6){Ie(d.component.subTree,m,g,_);return}if(E&128){d.suspense.move(m,g,_);return}if(E&64){O.move(d,m,g,$);return}if(O===Fe){r(x,m,g);for(let j=0;jC.enter(x),b);else{const{leave:j,delayLeave:H,afterLeave:W}=C,J=()=>r(x,m,g),oe=()=>{j(x,()=>{J(),W&&W()})};H?H(x,J,oe):oe()}else r(x,m,g)},pe=(d,m,g,_=!1,b=!1)=>{const{type:x,props:O,ref:C,children:A,dynamicChildren:E,shapeFlag:L,patchFlag:j,dirs:H}=d;if(C!=null&&Ur(C,null,g,d,!0),L&256){m.ctx.deactivate(d);return}const W=L&1&&H,J=!Dn(d);let oe;if(J&&(oe=O&&O.onVnodeBeforeUnmount)&&ze(oe,m,d),L&6)Et(d.component,g,_);else{if(L&128){d.suspense.unmount(g,_);return}W&&St(d,null,m,"beforeUnmount"),L&64?d.type.remove(d,m,g,b,$,_):E&&(x!==Fe||j>0&&j&64)?le(E,m,g,!1,!0):(x===Fe&&j&384||!b&&L&16)&&le(A,m,g),_&&We(d)}(J&&(oe=O&&O.onVnodeUnmounted)||W)&&Ce(()=>{oe&&ze(oe,m,d),W&&St(d,null,m,"unmounted")},g)},We=d=>{const{type:m,el:g,anchor:_,transition:b}=d;if(m===Fe){lt(g,_);return}if(m===xr){G(d);return}const x=()=>{s(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(d.shapeFlag&1&&b&&!b.persisted){const{leave:O,delayLeave:C}=b,A=()=>O(g,x);C?C(d.el,x,A):A()}else x()},lt=(d,m)=>{let g;for(;d!==m;)g=h(d),s(d),d=g;s(m)},Et=(d,m,g)=>{const{bum:_,scope:b,update:x,subTree:O,um:C}=d;_&&br(_),b.stop(),x&&(x.active=!1,pe(O,d,m,g)),C&&Ce(C,m),Ce(()=>{d.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},le=(d,m,g,_=!1,b=!1,x=0)=>{for(let O=x;Od.shapeFlag&6?v(d.component.subTree):d.shapeFlag&128?d.suspense.next():h(d.anchor||d.el);let F=!1;const P=(d,m,g)=>{d==null?m._vnode&&pe(m._vnode,null,null,!0):w(m._vnode||null,d,m,null,null,null,g),F||(F=!0,Us(),Wi(),F=!1),m._vnode=d},$={p:w,um:pe,m:Ie,r:We,mt:de,mc:S,pc:ee,pbc:N,n:v,o:e};let re,ue;return t&&([re,ue]=t($)),{render:P,hydrate:re,createApp:Oa(P,re)}}function Cr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ct({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Na(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function fl(e,t,n=!1){const r=e.children,s=t.children;if(V(r)&&V(s))for(let o=0;o>1,e[n[c]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function dl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:dl(t)}const Ba=e=>e.__isTeleport,Fe=Symbol.for("v-fgt"),ur=Symbol.for("v-txt"),rt=Symbol.for("v-cmt"),xr=Symbol.for("v-stc"),sn=[];let je=null;function ja(e=!1){sn.push(je=e?null:[])}function Va(){sn.pop(),je=sn[sn.length-1]||null}let mn=1;function to(e){mn+=e}function hl(e){return e.dynamicChildren=mn>0?je||Bt:null,Va(),mn>0&&je&&je.push(e),e}function rm(e,t,n,r,s,o){return hl(pl(e,t,n,r,s,o,!0))}function Ua(e,t,n,r,s){return hl(ie(e,t,n,r,s,!0))}function Wr(e){return e?e.__v_isVNode===!0:!1}function Pt(e,t){return e.type===t.type&&e.key===t.key}const fr="__vInternal",ml=({key:e})=>e??null,Fn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?he(e)||me(e)||z(e)?{i:Ee,r:e,k:t,f:!!n}:e:null);function pl(e,t=null,n=null,r=0,s=null,o=e===Fe?0:1,i=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ml(t),ref:t&&Fn(t),scopeId:Gi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ee};return c?(Cs(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=he(n)?8:16),mn>0&&!i&&je&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&je.push(l),l}const ie=Wa;function Wa(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Yi)&&(e=rt),Wr(e)){const c=wt(e,t,!0);return n&&Cs(c,n),mn>0&&!o&&je&&(c.shapeFlag&6?je[je.indexOf(e)]=c:je.push(c)),c.patchFlag|=-2,c}if(tu(e)&&(e=e.__vccOpts),t){t=Ka(t);let{class:c,style:l}=t;c&&!he(c)&&(t.class=is(c)),ce(l)&&(ki(l)&&!V(l)&&(l=ge({},l)),t.style=os(l))}const i=he(e)?1:ca(e)?128:Ba(e)?64:ce(e)?4:z(e)?2:0;return pl(e,t,n,r,s,i,o,!0)}function Ka(e){return e?ki(e)||fr in e?ge({},e):e:null}function wt(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,c=t?gl(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ml(c),ref:t&&t.ref?n&&s?V(s)?s.concat(Fn(t)):[s,Fn(t)]:Fn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&wt(e.ssContent),ssFallback:e.ssFallback&&wt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function za(e=" ",t=0){return ie(ur,null,e,t)}function Ge(e){return e==null||typeof e=="boolean"?ie(rt):V(e)?ie(Fe,null,e.slice()):typeof e=="object"?pt(e):ie(ur,null,String(e))}function pt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:wt(e)}function Cs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(V(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Cs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(fr in t)?t._ctx=Ee:s===3&&Ee&&(Ee.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else z(t)?(t={default:t,_ctx:Ee},n=32):(t=String(t),r&64?(n=16,t=[za(t)]):n=8);e.children=t,e.shapeFlag|=n}function gl(...e){const t={};for(let n=0;nve||Ee;let Un,Kr;{const e=vi(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Un=t("__VUE_INSTANCE_SETTERS__",n=>ve=n),Kr=t("__VUE_SSR_SETTERS__",n=>dr=n)}const bn=e=>{const t=ve;return Un(e),e.scope.on(),()=>{e.scope.off(),Un(t)}},no=()=>{ve&&ve.scope.off(),Un(null)};function yl(e){return e.vnode.shapeFlag&4}let dr=!1;function Za(e,t=!1){t&&Kr(t);const{props:n,children:r}=e.vnode,s=yl(e);Ma(e,n,s,t),Fa(e,r);const o=s?Qa(e,t):void 0;return t&&Kr(!1),o}function Qa(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=er(new Proxy(e.ctx,Ea));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Xa(e):null,o=bn(e);Dt();const i=bt(r,e,0,[e.props,s]);if(Ft(),o(),pi(i)){if(i.then(no,no),t)return i.then(c=>{ro(e,c,t)}).catch(c=>{tr(c,e,0)});e.asyncDep=i}else ro(e,i,t)}else vl(e,t)}function ro(e,t,n){z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ce(t)&&(e.setupState=Bi(t)),vl(e,n)}let so;function vl(e,t,n){const r=e.type;if(!e.render){if(!t&&so&&!r.render){const s=r.template||Es(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:l}=r,u=ge(ge({isCustomElement:o,delimiters:c},i),l);r.render=so(s,u)}}e.render=r.render||Le}{const s=bn(e);Dt();try{Sa(e)}finally{Ft(),s()}}}function Ja(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Re(e,"get","$attrs"),t[n]}}))}function Xa(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Ja(e)},slots:e.slots,emit:e.emit,expose:t}}function hr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Bi(er(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in rn)return rn[n](e)},has(t,n){return n in t||n in rn}}))}function eu(e,t=!0){return z(e)?e.displayName||e.name:e.name||t&&e.__name}function tu(e){return z(e)&&"__vccOpts"in e}const U=(e,t)=>Wc(e,t,dr);function mr(e,t,n){const r=arguments.length;return r===2?ce(t)&&!V(t)?Wr(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Wr(n)&&(n=[n]),ie(e,t,n))}const nu="3.4.21";/** +* @vue/runtime-dom v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const ru="http://www.w3.org/2000/svg",su="http://www.w3.org/1998/Math/MathML",gt=typeof document<"u"?document:null,oo=gt&>.createElement("template"),ou={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?gt.createElementNS(ru,e):t==="mathml"?gt.createElementNS(su,e):gt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>gt.createTextNode(e),createComment:e=>gt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>gt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{oo.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const c=oo.content;if(r==="svg"||r==="mathml"){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},at="transition",Jt="animation",Kt=Symbol("_vtc"),bl=(e,{slots:t})=>mr(ma,wl(e),t);bl.displayName="Transition";const _l={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},iu=bl.props=ge({},Qi,_l),xt=(e,t=[])=>{V(e)?e.forEach(n=>n(...t)):e&&e(...t)},io=e=>e?V(e)?e.some(t=>t.length>1):e.length>1:!1;function wl(e){const t={};for(const T in e)T in _l||(t[T]=e[T]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=i,appearToClass:a=c,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,y=lu(s),w=y&&y[0],R=y&&y[1],{onBeforeEnter:M,onEnter:k,onEnterCancelled:B,onLeave:G,onLeaveCancelled:K,onBeforeAppear:I=M,onAppear:Y=k,onAppearCancelled:S=B}=t,D=(T,Z,de)=>{ft(T,Z?a:c),ft(T,Z?u:i),de&&de()},N=(T,Z)=>{T._isLeaving=!1,ft(T,f),ft(T,p),ft(T,h),Z&&Z()},q=T=>(Z,de)=>{const be=T?Y:k,X=()=>D(Z,T,de);xt(be,[Z,X]),lo(()=>{ft(Z,T?l:o),Je(Z,T?a:c),io(be)||co(Z,r,w,X)})};return ge(t,{onBeforeEnter(T){xt(M,[T]),Je(T,o),Je(T,i)},onBeforeAppear(T){xt(I,[T]),Je(T,l),Je(T,u)},onEnter:q(!1),onAppear:q(!0),onLeave(T,Z){T._isLeaving=!0;const de=()=>N(T,Z);Je(T,f),Sl(),Je(T,h),lo(()=>{T._isLeaving&&(ft(T,f),Je(T,p),io(G)||co(T,r,R,de))}),xt(G,[T,de])},onEnterCancelled(T){D(T,!1),xt(B,[T])},onAppearCancelled(T){D(T,!0),xt(S,[T])},onLeaveCancelled(T){N(T),xt(K,[T])}})}function lu(e){if(e==null)return null;if(ce(e))return[Rr(e.enter),Rr(e.leave)];{const t=Rr(e);return[t,t]}}function Rr(e){return gc(e)}function Je(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Kt]||(e[Kt]=new Set)).add(t)}function ft(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Kt];n&&(n.delete(t),n.size||(e[Kt]=void 0))}function lo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let cu=0;function co(e,t,n,r){const s=e._endId=++cu,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:c,propCount:l}=El(e,t);if(!i)return r();const u=i+"end";let a=0;const f=()=>{e.removeEventListener(u,h),o()},h=p=>{p.target===e&&++a>=l&&f()};setTimeout(()=>{a(n[y]||"").split(", "),s=r(`${at}Delay`),o=r(`${at}Duration`),i=ao(s,o),c=r(`${Jt}Delay`),l=r(`${Jt}Duration`),u=ao(c,l);let a=null,f=0,h=0;t===at?i>0&&(a=at,f=i,h=o.length):t===Jt?u>0&&(a=Jt,f=u,h=l.length):(f=Math.max(i,u),a=f>0?i>u?at:Jt:null,h=a?a===at?o.length:l.length:0);const p=a===at&&/\b(transform|all)(,|$)/.test(r(`${at}Property`).toString());return{type:a,timeout:f,propCount:h,hasTransform:p}}function ao(e,t){for(;e.lengthuo(n)+uo(e[r])))}function uo(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Sl(){return document.body.offsetHeight}function au(e,t,n){const r=e[Kt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Wn=Symbol("_vod"),Cl=Symbol("_vsh"),sm={beforeMount(e,{value:t},{transition:n}){e[Wn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Xt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Xt(e,!0),r.enter(e)):r.leave(e,()=>{Xt(e,!1)}):Xt(e,t))},beforeUnmount(e,{value:t}){Xt(e,t)}};function Xt(e,t){e.style.display=t?e[Wn]:"none",e[Cl]=!t}const uu=Symbol(""),fu=/(^|;)\s*display\s*:/;function du(e,t,n){const r=e.style,s=he(n);let o=!1;if(n&&!s){if(t)if(he(t))for(const i of t.split(";")){const c=i.slice(0,i.indexOf(":")).trim();n[c]==null&&Ln(r,c,"")}else for(const i in t)n[i]==null&&Ln(r,i,"");for(const i in n)i==="display"&&(o=!0),Ln(r,i,n[i])}else if(s){if(t!==n){const i=r[uu];i&&(n+=";"+i),r.cssText=n,o=fu.test(n)}}else t&&e.removeAttribute("style");Wn in e&&(e[Wn]=o?r.display:"",e[Cl]&&(r.display="none"))}const fo=/\s*!important$/;function Ln(e,t,n){if(V(n))n.forEach(r=>Ln(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=hu(e,t);fo.test(n)?e.setProperty(Zt(r),n.replace(fo,""),"important"):e[r]=n}}const ho=["Webkit","Moz","ms"],Ar={};function hu(e,t){const n=Ar[t];if(n)return n;let r=Ze(t);if(r!=="filter"&&r in e)return Ar[t]=r;r=vn(r);for(let s=0;sPr||(_u.then(()=>Pr=0),Pr=Date.now());function Eu(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;$e(Su(r,n.value),t,5,[r])};return n.value=e,n.attached=wu(),n}function Su(e,t){if(V(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const yo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Cu=(e,t,n,r,s,o,i,c,l)=>{const u=s==="svg";t==="class"?au(e,r,u):t==="style"?du(e,n,r):qn(t)?ns(t)||vu(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):xu(e,t,r,u))?pu(e,t,r,o,i,c,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),mu(e,t,r,u))};function xu(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&yo(t)&&z(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return yo(t)&&he(n)?!1:t in e}const xl=new WeakMap,Rl=new WeakMap,Kn=Symbol("_moveCb"),vo=Symbol("_enterCb"),Al={name:"TransitionGroup",props:ge({},iu,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xs(),r=Zi();let s,o;return nl(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Tu(s[0].el,n.vnode.el,i))return;s.forEach(Au),s.forEach(Pu);const c=s.filter(Ou);Sl(),c.forEach(l=>{const u=l.el,a=u.style;Je(u,i),a.transform=a.webkitTransform=a.transitionDuration="";const f=u[Kn]=h=>{h&&h.target!==u||(!h||/transform$/.test(h.propertyName))&&(u.removeEventListener("transitionend",f),u[Kn]=null,ft(u,i))};u.addEventListener("transitionend",f)})}),()=>{const i=Q(e),c=wl(i);let l=i.tag||Fe;s=o,o=t.default?ws(t.default()):[];for(let u=0;udelete e.mode;Al.props;const om=Al;function Au(e){const t=e.el;t[Kn]&&t[Kn](),t[vo]&&t[vo]()}function Pu(e){Rl.set(e,e.el.getBoundingClientRect())}function Ou(e){const t=xl.get(e),n=Rl.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function Tu(e,t,n){const r=e.cloneNode(),s=e[Kt];s&&s.forEach(c=>{c.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(c=>c&&r.classList.add(c)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=El(r);return o.removeChild(r),i}const Mu=ge({patchProp:Cu},ou);let bo;function Pl(){return bo||(bo=ka(Mu))}const im=(...e)=>{Pl().render(...e)},Iu=(...e)=>{const t=Pl().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Fu(r);if(!s)return;const o=t._component;!z(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,Du(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function Du(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Fu(e){return he(e)?document.querySelector(e):e}function Lu(e,t){let n;function r(){n=ls(),n.run(()=>t.length?t(()=>{n==null||n.stop(),r()}):t())}Ne(e,s=>{s&&!n?r():s||(n==null||n.stop(),n=void 0)},{immediate:!0}),Si(()=>{n==null||n.stop()})}const ke=typeof window<"u",lm=ke&&"IntersectionObserver"in window,ku=ke&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function $u(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let s=0;sNu(e[r],t[r]))}function _o(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),$u(e,t.split("."),n))}function Ol(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function Pn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function wo(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Eo(e){if(e&&"$el"in e){const t=e.$el;return(t==null?void 0:t.nodeType)===Node.TEXT_NODE?t.nextElementSibling:t}return e}const cm=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function Or(e,t){return t.every(n=>e.hasOwnProperty(n))}function Hu(e,t){const n={},r=new Set(Object.keys(e));for(const s of t)r.has(s)&&(n[s]=e[s]);return n}function am(e){return e==null?[]:Array.isArray(e)?e:[e]}function Bu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function So(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function Co(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function ju(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const s in e)r[s]=e[s];for(const s in t){const o=e[s],i=t[s];if(wo(o)&&wo(i)){r[s]=Me(o,i,n);continue}if(Array.isArray(o)&&Array.isArray(i)&&n){r[s]=n(o,i);continue}r[s]=i}return r}function Vu(e){return e.map(t=>t.type===Fe?Vu(t.children):t).flat()}function It(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(It.cache.has(e))return It.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return It.cache.set(e,t),t}It.cache=new Map;function kn(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>kn(e,n)).flat(1);if(Array.isArray(t.children))return t.children.map(n=>kn(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return kn(e,t.component.subTree).flat(1)}return[]}function um(e){const t=xe({}),n=U(e);return sr(()=>{for(const r in n.value)t[r]=n.value[r]},{flush:"sync"}),ps(t)}function fm(e,t){return e.includes(t)}function dm(e,t){return t="on"+vn(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}const kt=2.4,xo=.2126729,Ro=.7151522,Ao=.072175,Uu=.55,Wu=.58,Ku=.57,zu=.62,On=.03,Po=1.45,Gu=5e-4,Yu=1.25,qu=1.25,Oo=.078,To=12.82051282051282,Tn=.06,Mo=.001;function Io(e,t){const n=(e.r/255)**kt,r=(e.g/255)**kt,s=(e.b/255)**kt,o=(t.r/255)**kt,i=(t.g/255)**kt,c=(t.b/255)**kt;let l=n*xo+r*Ro+s*Ao,u=o*xo+i*Ro+c*Ao;if(l<=On&&(l+=(On-l)**Po),u<=On&&(u+=(On-u)**Po),Math.abs(u-l)l){const f=(u**Uu-l**Wu)*Yu;a=f-Mo?0:f>-Oo?f-f*To*Tn:f+Tn}return a*100}const zn=.20689655172413793,Zu=e=>e>zn**3?Math.cbrt(e):e/(3*zn**2)+4/29,Qu=e=>e>zn?e**3:3*zn**2*(e-4/29);function Tl(e){const t=Zu,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function Ml(e){const t=Qu,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const Ju=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],Xu=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,ef=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],tf=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Il(e){const t=Array(3),n=Xu,r=Ju;for(let s=0;s<3;++s)t[s]=Math.round(Bu(n(r[s][0]*e[0]+r[s][1]*e[1]+r[s][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function Rs(e){let{r:t,g:n,b:r}=e;const s=[0,0,0],o=tf,i=ef;t=o(t/255),n=o(n/255),r=o(r/255);for(let c=0;c<3;++c)s[c]=i[c][0]*t+i[c][1]*n+i[c][2]*r;return s}function nf(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function hm(e){return nf(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const Do=/^(?(?:rgb|hsl)a?)\((?.+)\)/,rf={rgb:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),rgba:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),hsl:(e,t,n,r)=>Fo({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>Fo({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>pn({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>pn({h:e,s:t,v:n,a:r})};function Xe(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&Do.test(e)){const{groups:t}=e.match(Do),{fn:n,values:r}=t,s=r.split(/,\s*/).map(o=>o.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(o)/100:parseFloat(o));return rf[n](...s)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),of(t)}else if(typeof e=="object"){if(Or(e,["r","g","b"]))return e;if(Or(e,["h","s","l"]))return pn(Dl(e));if(Or(e,["h","s","v"]))return pn(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} +Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function pn(e){const{h:t,s:n,v:r,a:s}=e,o=c=>{const l=(c+t/60)%6;return r-r*n*Math.max(Math.min(l,4-l,1),0)},i=[o(5),o(3),o(1)].map(c=>Math.round(c*255));return{r:i[0],g:i[1],b:i[2],a:s}}function Fo(e){return pn(Dl(e))}function Dl(e){const{h:t,s:n,l:r,a:s}=e,o=r+n*Math.min(r,1-r),i=o===0?0:2-2*r/o;return{h:t,s:i,v:o,a:s}}function Mn(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function sf(e){let{r:t,g:n,b:r,a:s}=e;return`#${[Mn(t),Mn(n),Mn(r),s!==void 0?Mn(Math.round(s*255)):""].join("")}`}function of(e){e=lf(e);let[t,n,r,s]=ju(e,2).map(o=>parseInt(o,16));return s=s===void 0?s:s/255,{r:t,g:n,b:r,a:s}}function lf(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=So(So(e,6),8,"F")),e}function cf(e,t){const n=Tl(Rs(e));return n[0]=n[0]+t*10,Il(Ml(n))}function af(e,t){const n=Tl(Rs(e));return n[0]=n[0]-t*10,Il(Ml(n))}function uf(e){const t=Xe(e);return Rs(t)[1]}function ff(e){const t=Math.abs(Io(Xe(0),Xe(e)));return Math.abs(Io(Xe(16777215),Xe(e)))>Math.min(t,50)?"#fff":"#000"}function ot(e,t){return n=>Object.keys(e).reduce((r,s)=>{const i=typeof e[s]=="object"&&e[s]!=null&&!Array.isArray(e[s])?e[s]:{type:e[s]};return n&&s in n?r[s]={...i,default:n[s]}:r[s]=i,t&&!r[s].source&&(r[s].source=t),r},{})}const Fl=ot({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),zt=Symbol.for("vuetify:defaults");function df(e){return Ae(e)}function As(){const e=_e(zt);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function mm(e,t){const n=As(),r=Ae(e),s=U(()=>{if(Be(t==null?void 0:t.disabled))return n.value;const i=Be(t==null?void 0:t.scoped),c=Be(t==null?void 0:t.reset),l=Be(t==null?void 0:t.root);if(r.value==null&&!(i||c||l))return n.value;let u=Me(r.value,{prev:n.value});if(i)return u;if(c||l){const a=Number(c||1/0);for(let f=0;f<=a&&!(!u||!("prev"in u));f++)u=u.prev;return u&&typeof l=="string"&&l in u&&(u=Me(Me(u,{prev:u}),u[l])),u}return u.prev?Me(u.prev,u):u});return nt(zt,s),s}function hf(e,t){var n,r;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((r=e.props)==null?void 0:r[It(t)])<"u"}function mf(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:As();const r=it("useDefaults");if(t=t??r.type.name??r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const s=U(()=>{var l;return(l=n.value)==null?void 0:l[e._as??t]}),o=new Proxy(e,{get(l,u){var f,h,p,y;const a=Reflect.get(l,u);return u==="class"||u==="style"?[(f=s.value)==null?void 0:f[u],a].filter(w=>w!=null):typeof u=="string"&&!hf(r.vnode,u)?((h=s.value)==null?void 0:h[u])??((y=(p=n.value)==null?void 0:p.global)==null?void 0:y[u])??a:a}}),i=qe();sr(()=>{if(s.value){const l=Object.entries(s.value).filter(u=>{let[a]=u;return a.startsWith(a[0].toUpperCase())});i.value=l.length?Object.fromEntries(l):void 0}else i.value=void 0});function c(){const l=pf(zt,r);nt(zt,U(()=>i.value?Me((l==null?void 0:l.value)??{},i.value):l==null?void 0:l.value))}return{props:o,provideSubDefaults:c}}function _n(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=ot(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(r){return Hu(r,t)},e.props._as=String,e.setup=function(r,s){const o=As();if(!o.value)return e._setup(r,s);const{props:i,provideSubDefaults:c}=mf(r,r._as??e.name,o),l=e._setup(i,s);return c(),l}}return e}function Ps(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?_n:or)(t)}function it(e,t){const n=xs();if(!n)throw new Error(`[Vuetify] ${e} ${t||"must be called from inside a setup function"}`);return n}function pm(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=it(e).type;return It((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let Ll=0,$n=new WeakMap;function Os(){const e=it("getUid");if($n.has(e))return $n.get(e);{const t=Ll++;return $n.set(e,t),t}}Os.reset=()=>{Ll=0,$n=new WeakMap};function pf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:it("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}function kl(e){const t=it("useRender");t.render=e}function gf(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f=>f,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:f=>f;const o=it("useProxiedModel"),i=Ae(e[t]!==void 0?e[t]:n),c=It(t),u=U(c!==t?()=>{var f,h,p,y;return e[t],!!(((f=o.vnode.props)!=null&&f.hasOwnProperty(t)||(h=o.vnode.props)!=null&&h.hasOwnProperty(c))&&((p=o.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${t}`)||(y=o.vnode.props)!=null&&y.hasOwnProperty(`onUpdate:${c}`)))}:()=>{var f,h;return e[t],!!((f=o.vnode.props)!=null&&f.hasOwnProperty(t)&&((h=o.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${t}`)))});Lu(()=>!u.value,()=>{Ne(()=>e[t],f=>{i.value=f})});const a=U({get(){const f=e[t];return r(u.value?f:i.value)},set(f){const h=s(f),p=Q(u.value?e[t]:i.value);p===h||r(p)===f||(i.value=h,o==null||o.emit(`update:${t}`,h))}});return Object.defineProperty(a,"externalValue",{get:()=>u.value?e[t]:i.value}),a}const yf={badge:"Badge",open:"Open",close:"Close",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},Lo="$vuetify.",ko=(e,t)=>e.replace(/\{(\d+)\}/g,(n,r)=>String(t[+r])),$l=(e,t,n)=>function(r){for(var s=arguments.length,o=new Array(s>1?s-1:0),i=1;inew Intl.NumberFormat([e.value,t.value],r).format(n)}function Tr(e,t,n){const r=gf(e,t,e[t]??n.value);return r.value=e[t]??n.value,Ne(n,s=>{e[t]==null&&(r.value=n.value)}),r}function Hl(e){return t=>{const n=Tr(t,"locale",e.current),r=Tr(t,"fallback",e.fallback),s=Tr(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:r,messages:s,t:$l(n,r,s),n:Nl(n,r),provide:Hl({current:n,fallback:r,messages:s})}}}function vf(e){const t=qe((e==null?void 0:e.locale)??"en"),n=qe((e==null?void 0:e.fallback)??"en"),r=Ae({en:yf,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:r,t:$l(t,n,r),n:Nl(t,n),provide:Hl({current:t,fallback:n,messages:r})}}const zr=Symbol.for("vuetify:locale");function bf(e){return e.name!=null}function _f(e){const t=e!=null&&e.adapter&&bf(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:vf(e),n=Ef(t,e);return{...t,...n}}function wf(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function Ef(e,t){const n=Ae((t==null?void 0:t.rtl)??wf()),r=U(()=>n.value[e.current.value]??!1);return{isRtl:r,rtl:n,rtlClasses:U(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function Sf(){const e=_e(zr);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const Gr={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function Cf(e,t){const n=[];let r=[];const s=Bl(e),o=jl(e),i=(s.getDay()-Gr[t.slice(-2).toUpperCase()]+7)%7,c=(o.getDay()-Gr[t.slice(-2).toUpperCase()]+7)%7;for(let l=0;l0&&n.push(r),n}function xf(e){const t=new Date(e);for(;t.getDay()!==0;)t.setDate(t.getDate()-1);return t}function Rf(e){const t=new Date(e);for(;t.getDay()!==6;)t.setDate(t.getDate()+1);return t}function Bl(e){return new Date(e.getFullYear(),e.getMonth(),1)}function jl(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function Af(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const Pf=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function Vl(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(Pf.test(e))return Af(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const $o=new Date(2e3,0,2);function Of(e){const t=Gr[e.slice(-2).toUpperCase()];return Ol(7).map(n=>{const r=new Date($o);return r.setDate($o.getDate()+t+n),new Intl.DateTimeFormat(e,{weekday:"narrow"}).format(r)})}function Tf(e,t,n,r){const s=Vl(e)??new Date,o=r==null?void 0:r[t];if(typeof o=="function")return o(s,t,n);let i={};switch(t){case"fullDateWithWeekday":i={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"hours12h":i={hour:"numeric",hour12:!0};break;case"normalDateWithWeekday":i={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":i={day:"2-digit",month:"2-digit",year:"numeric"};break;case"monthAndDate":i={month:"long",day:"numeric"};break;case"monthAndYear":i={month:"long",year:"numeric"};break;case"month":i={month:"long"};break;case"monthShort":i={month:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(n).format(s.getDate());case"shortDate":i={year:"2-digit",month:"numeric",day:"numeric"};break;case"weekdayShort":i={weekday:"short"};break;case"year":i={year:"numeric"};break;default:i=o??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,i).format(s)}function Mf(e,t){const n=e.toJsDate(t),r=n.getFullYear(),s=Co(String(n.getMonth()+1),2,"0"),o=Co(String(n.getDate()),2,"0");return`${r}-${s}-${o}`}function If(e){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}function Df(e,t){const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function Ff(e,t){const n=new Date(e);return n.setHours(n.getHours()+t),n}function Lf(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function kf(e,t){const n=new Date(e);return n.setDate(n.getDate()+t*7),n}function $f(e,t){const n=new Date(e);return n.setMonth(n.getMonth()+t),n}function Nf(e){return e.getFullYear()}function Hf(e){return e.getMonth()}function Bf(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function jf(e){return e.getHours()}function Vf(e){return e.getMinutes()}function Uf(e){return new Date(e.getFullYear(),0,1)}function Wf(e){return new Date(e.getFullYear(),11,31)}function Kf(e,t){return Yr(e,t[0])&&Gf(e,t[1])}function zf(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function Yr(e,t){return e.getTime()>t.getTime()}function Gf(e,t){return e.getTime(){n.locale=e.locale[r]??r??n.locale}),n}const Bo=Symbol.for("vuetify:display"),jo={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},ld=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:jo;return Me(jo,e)};function Vo(e){return ke&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function Uo(e){return ke&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function Wo(e){const t=ke&&!e?window.navigator.userAgent:"ssr";function n(y){return!!t.match(y)}const r=n(/android/i),s=n(/iphone|ipad|ipod/i),o=n(/cordova/i),i=n(/electron/i),c=n(/chrome/i),l=n(/edge/i),u=n(/firefox/i),a=n(/opera/i),f=n(/win/i),h=n(/mac/i),p=n(/linux/i);return{android:r,ios:s,cordova:o,electron:i,chrome:c,edge:l,firefox:u,opera:a,win:f,mac:h,linux:p,touch:ku,ssr:t==="ssr"}}function cd(e,t){const{thresholds:n,mobileBreakpoint:r}=ld(e),s=qe(Uo(t)),o=qe(Wo(t)),i=xe({}),c=qe(Vo(t));function l(){s.value=Uo(),c.value=Vo()}function u(){l(),o.value=Wo()}return sr(()=>{const a=c.value=n.xxl,R=a?"xs":f?"sm":h?"md":p?"lg":y?"xl":"xxl",M=typeof r=="number"?r:n[r],k=c.valuee,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5}}}function fd(e,t){return{rtl:t.isRtl,options:Me(ud(),e)}}const dd={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",eyeDropper:"mdi-eyedropper"},hd={component:e=>mr(Wl,{...e,class:"mdi"})},md=[String,Function,Object,Array],qr=Symbol.for("vuetify:icons"),pr=ot({icon:{type:md},tag:{type:String,required:!0}},"icon"),Ko=Ps()({name:"VComponentIcon",props:pr(),setup(e,t){let{slots:n}=t;return()=>{const r=e.icon;return ie(e.tag,null,{default:()=>{var s;return[e.icon?ie(r,null,null):(s=n.default)==null?void 0:s.call(n)]}})}}}),Ul=_n({name:"VSvgIcon",inheritAttrs:!1,props:pr(),setup(e,t){let{attrs:n}=t;return()=>ie(e.tag,gl(n,{style:null}),{default:()=>[ie("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(r=>Array.isArray(r)?ie("path",{d:r[0],"fill-opacity":r[1]},null):ie("path",{d:r},null)):ie("path",{d:e.icon},null)])]})}});_n({name:"VLigatureIcon",props:pr(),setup(e){return()=>ie(e.tag,null,{default:()=>[e.icon]})}});const Wl=_n({name:"VClassIcon",props:pr(),setup(e){return()=>ie(e.tag,{class:e.icon},null)}});function pd(){return{svg:{component:Ul},class:{component:Wl}}}function gd(e){const t=pd(),n=(e==null?void 0:e.defaultSet)??"mdi";return n==="mdi"&&!t.mdi&&(t.mdi=hd),Me({defaultSet:n,sets:t,aliases:{...dd,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},e)}const gm=e=>{const t=_e(qr);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:U(()=>{var l;const r=Be(e);if(!r)return{component:Ko};let s=r;if(typeof s=="string"&&(s=s.trim(),s.startsWith("$")&&(s=(l=t.aliases)==null?void 0:l[s.slice(1)])),!s)throw new Error(`Could not find aliased icon "${r}"`);if(Array.isArray(s))return{component:Ul,icon:s};if(typeof s!="string")return{component:Ko,icon:s};const o=Object.keys(t.sets).find(u=>typeof s=="string"&&s.startsWith(`${u}:`)),i=o?s.slice(o.length+1):s;return{component:t.sets[o??t.defaultSet].component,icon:i}})}},Gn=Symbol.for("vuetify:theme"),yd=ot({theme:String},"theme");function zo(){return{defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}}function vd(){var r,s;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:zo();const t=zo();if(!e)return{...t,isDisabled:!0};const n={};for(const[o,i]of Object.entries(e.themes??{})){const c=i.dark||o==="dark"?(r=t.themes)==null?void 0:r.dark:(s=t.themes)==null?void 0:s.light;n[o]=Me(c,i)}return Me(t,{...e,themes:n})}function bd(e){const t=vd(e),n=Ae(t.defaultTheme),r=Ae(t.themes),s=U(()=>{const a={};for(const[f,h]of Object.entries(r.value)){const p=a[f]={...h,colors:{...h.colors}};if(t.variations)for(const y of t.variations.colors){const w=p.colors[y];if(w)for(const R of["lighten","darken"]){const M=R==="lighten"?cf:af;for(const k of Ol(t.variations[R],1))p.colors[`${y}-${R}-${k}`]=sf(M(Xe(w),k))}}for(const y of Object.keys(p.colors)){if(/^on-[a-z]/.test(y)||p.colors[`on-${y}`])continue;const w=`on-${y}`,R=Xe(p.colors[y]);p.colors[w]=ff(R)}}return a}),o=U(()=>s.value[n.value]),i=U(()=>{const a=[];o.value.dark&&Rt(a,":root",["color-scheme: dark"]),Rt(a,":root",Go(o.value));for(const[y,w]of Object.entries(s.value))Rt(a,`.v-theme--${y}`,[`color-scheme: ${w.dark?"dark":"normal"}`,...Go(w)]);const f=[],h=[],p=new Set(Object.values(s.value).flatMap(y=>Object.keys(y.colors)));for(const y of p)/^on-[a-z]/.test(y)?Rt(h,`.${y}`,[`color: rgb(var(--v-theme-${y})) !important`]):(Rt(f,`.bg-${y}`,[`--v-theme-overlay-multiplier: var(--v-theme-${y}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${y})) !important`,`color: rgb(var(--v-theme-on-${y})) !important`]),Rt(h,`.text-${y}`,[`color: rgb(var(--v-theme-${y})) !important`]),Rt(h,`.border-${y}`,[`--v-border-color: var(--v-theme-${y})`]));return a.push(...f,...h),a.map((y,w)=>w===0?y:` ${y}`).join("")});function c(){return{style:[{children:i.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function l(a){if(t.isDisabled)return;const f=a._context.provides.usehead;if(f)if(f.push){const h=f.push(c);ke&&Ne(i,()=>{h.patch(c)})}else ke?(f.addHeadObjs(U(c)),sr(()=>f.updateDOM())):f.addHeadObjs(c());else{let p=function(){if(typeof document<"u"&&!h){const y=document.createElement("style");y.type="text/css",y.id="vuetify-theme-stylesheet",t.cspNonce&&y.setAttribute("nonce",t.cspNonce),h=y,document.head.appendChild(h)}h&&(h.innerHTML=i.value)},h=ke?document.getElementById("vuetify-theme-stylesheet"):null;ke?Ne(i,p,{immediate:!0}):p()}}const u=U(()=>t.isDisabled?void 0:`v-theme--${n.value}`);return{install:l,isDisabled:t.isDisabled,name:n,themes:r,current:o,computedThemes:s,themeClasses:u,styles:i,global:{name:n,current:o}}}function _d(e){it("provideTheme");const t=_e(Gn,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=U(()=>e.theme??t.name.value),r=U(()=>t.themes.value[n.value]),s=U(()=>t.isDisabled?void 0:`v-theme--${n.value}`),o={...t,name:n,current:r,themeClasses:s};return nt(Gn,o),o}function Rt(e,t,n){e.push(`${t} { +`,...n.map(r=>` ${r}; +`),`} +`)}function Go(e){const t=e.dark?2:1,n=e.dark?1:2,r=[];for(const[s,o]of Object.entries(e.colors)){const i=Xe(o);r.push(`--v-theme-${s}: ${i.r},${i.g},${i.b}`),s.startsWith("on-")||r.push(`--v-theme-${s}-overlay-multiplier: ${uf(o)>.18?t:n}`)}for(const[s,o]of Object.entries(e.variables)){const i=typeof o=="string"&&o.startsWith("#")?Xe(o):void 0,c=i?`${i.r}, ${i.g}, ${i.b}`:void 0;r.push(`--v-${s}: ${c??o}`)}return r}function wd(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const n=Ae(),r=Ae();if(ke){const s=new ResizeObserver(o=>{e==null||e(o,s),o.length&&(t==="content"?r.value=o[0].contentRect:r.value=o[0].target.getBoundingClientRect())});ar(()=>{s.disconnect()}),Ne(n,(o,i)=>{i&&(s.unobserve(Eo(i)),r.value=void 0),o&&s.observe(Eo(o))},{flush:"post"})}return{resizeRef:n,contentRect:Xn(r)}}const Yn=Symbol.for("vuetify:layout"),Kl=Symbol.for("vuetify:layout-item"),Yo=1e3,Ed=ot({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),ym=ot({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function Sd(){const e=_e(Yn);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function vm(e){const t=_e(Yn);if(!t)throw new Error("[Vuetify] Could not find injected layout");const n=e.id??`layout-item-${Os()}`,r=it("useLayoutItem");nt(Kl,{id:n});const s=qe(!1);el(()=>s.value=!0),Xi(()=>s.value=!1);const{layoutItemStyles:o,layoutItemScrimStyles:i}=t.register(r,{...e,active:U(()=>s.value?!1:e.active.value),id:n});return ar(()=>t.unregister(n)),{layoutItemStyles:o,layoutRect:t.layoutRect,layoutItemScrimStyles:i}}const Cd=(e,t,n,r)=>{let s={top:0,left:0,right:0,bottom:0};const o=[{id:"",layer:{...s}}];for(const i of e){const c=t.get(i),l=n.get(i),u=r.get(i);if(!c||!l||!u)continue;const a={...s,[c.value]:parseInt(s[c.value],10)+(u.value?parseInt(l.value,10):0)};o.push({id:i,layer:a}),s=a}return o};function xd(e){const t=_e(Yn,null),n=U(()=>t?t.rootZIndex.value-100:Yo),r=Ae([]),s=xe(new Map),o=xe(new Map),i=xe(new Map),c=xe(new Map),l=xe(new Map),{resizeRef:u,contentRect:a}=wd(),f=U(()=>{const I=new Map,Y=e.overlaps??[];for(const S of Y.filter(D=>D.includes(":"))){const[D,N]=S.split(":");if(!r.value.includes(D)||!r.value.includes(N))continue;const q=s.get(D),T=s.get(N),Z=o.get(D),de=o.get(N);!q||!T||!Z||!de||(I.set(N,{position:q.value,amount:parseInt(Z.value,10)}),I.set(D,{position:T.value,amount:-parseInt(de.value,10)}))}return I}),h=U(()=>{const I=[...new Set([...i.values()].map(S=>S.value))].sort((S,D)=>S-D),Y=[];for(const S of I){const D=r.value.filter(N=>{var q;return((q=i.get(N))==null?void 0:q.value)===S});Y.push(...D)}return Cd(Y,s,o,c)}),p=U(()=>!Array.from(l.values()).some(I=>I.value)),y=U(()=>h.value[h.value.length-1].layer),w=U(()=>({"--v-layout-left":Pn(y.value.left),"--v-layout-right":Pn(y.value.right),"--v-layout-top":Pn(y.value.top),"--v-layout-bottom":Pn(y.value.bottom),...p.value?void 0:{transition:"none"}})),R=U(()=>h.value.slice(1).map((I,Y)=>{let{id:S}=I;const{layer:D}=h.value[Y],N=o.get(S),q=s.get(S);return{id:S,...D,size:Number(N.value),position:q.value}})),M=I=>R.value.find(Y=>Y.id===I),k=it("createLayout"),B=qe(!1);cr(()=>{B.value=!0}),nt(Yn,{register:(I,Y)=>{let{id:S,order:D,position:N,layoutSize:q,elementSize:T,active:Z,disableTransitions:de,absolute:be}=Y;i.set(S,D),s.set(S,N),o.set(S,q),c.set(S,Z),de&&l.set(S,de);const ne=kn(Kl,k==null?void 0:k.vnode).indexOf(I);ne>-1?r.value.splice(ne,0,S):r.value.push(S);const ee=U(()=>R.value.findIndex(pe=>pe.id===S)),Pe=U(()=>n.value+h.value.length*2-ee.value*2),Ue=U(()=>{const pe=N.value==="left"||N.value==="right",We=N.value==="right",lt=N.value==="bottom",Et={[N.value]:0,zIndex:Pe.value,transform:`translate${pe?"X":"Y"}(${(Z.value?0:-110)*(We||lt?-1:1)}%)`,position:be.value||n.value!==Yo?"absolute":"fixed",...p.value?void 0:{transition:"none"}};if(!B.value)return Et;const le=R.value[ee.value];if(!le)throw new Error(`[Vuetify] Could not find layout item "${S}"`);const v=f.value.get(S);return v&&(le[v.position]+=v.amount),{...Et,height:pe?`calc(100% - ${le.top}px - ${le.bottom}px)`:T.value?`${T.value}px`:void 0,left:We?void 0:`${le.left}px`,right:We?`${le.right}px`:void 0,top:N.value!=="bottom"?`${le.top}px`:void 0,bottom:N.value!=="top"?`${le.bottom}px`:void 0,width:pe?T.value?`${T.value}px`:void 0:`calc(100% - ${le.left}px - ${le.right}px)`}}),Ie=U(()=>({zIndex:Pe.value-1}));return{layoutItemStyles:Ue,layoutItemScrimStyles:Ie,zIndex:Pe}},unregister:I=>{i.delete(I),s.delete(I),o.delete(I),c.delete(I),l.delete(I),r.value=r.value.filter(Y=>Y!==I)},mainRect:y,mainStyles:w,getLayoutItem:M,items:R,layoutRect:a,rootZIndex:n});const G=U(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),K=U(()=>({zIndex:t?n.value:void 0,position:t?"relative":void 0,overflow:t?"hidden":void 0}));return{layoutClasses:G,layoutStyles:K,getLayoutItem:M,items:R,layoutRect:a,layoutRef:u}}function zl(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,r=Me(t,n),{aliases:s={},components:o={},directives:i={}}=r,c=df(r.defaults),l=cd(r.display,r.ssr),u=bd(r.theme),a=gd(r.icons),f=_f(r.locale),h=od(r.date,f),p=fd(r.goTo,f);return{install:w=>{for(const R in i)w.directive(R,i[R]);for(const R in o)w.component(R,o[R]);for(const R in s)w.component(R,_n({...s[R],name:R,aliasName:s[R].name}));if(u.install(w),w.provide(zt,c),w.provide(Bo,l),w.provide(Gn,u),w.provide(qr,a),w.provide(zr,f),w.provide(sd,h.options),w.provide(Ho,h.instance),w.provide(ad,p),ke&&r.ssr)if(w.$nuxt)w.$nuxt.hook("app:suspense:resolve",()=>{l.update()});else{const{mount:R}=w;w.mount=function(){const M=R(...arguments);return nr(()=>l.update()),w.mount=R,M}}Os.reset(),w.mixin({computed:{$vuetify(){return xe({defaults:$t.call(this,zt),display:$t.call(this,Bo),theme:$t.call(this,Gn),icons:$t.call(this,qr),locale:$t.call(this,zr),date:$t.call(this,Ho)})}}})},defaults:c,display:l,theme:u,icons:a,locale:f,date:h,goTo:p}}const Rd="3.5.9";zl.version=Rd;function $t(e){var r,s;const t=this.$,n=((r=t.parent)==null?void 0:r.provides)??((s=t.vnode.appContext)==null?void 0:s.provides);if(n&&e in n)return n[e]}const Ad=zl({theme:{defaultTheme:"dark"}});var Pd=!1;/*! + * pinia v2.1.7 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let Gl;const gr=e=>Gl=e,Yl=Symbol();function Zr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var on;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(on||(on={}));function Od(){const e=ls(!0),t=e.run(()=>Ae({}));let n=[],r=[];const s=er({install(o){gr(s),s._a=o,o.provide(Yl,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return!this._a&&!Pd?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const ql=()=>{};function qo(e,t,n,r=ql){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&Ei()&&Si(s),s}function Nt(e,...t){e.slice().forEach(n=>{n(...t)})}const Td=e=>e();function Qr(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Zr(s)&&Zr(r)&&e.hasOwnProperty(n)&&!me(r)&&!tt(r)?e[n]=Qr(s,r):e[n]=r}return e}const Md=Symbol();function Id(e){return!Zr(e)||!e.hasOwnProperty(Md)}const{assign:dt}=Object;function Dd(e){return!!(me(e)&&e.effect)}function Fd(e,t,n,r){const{state:s,actions:o,getters:i}=t,c=n.state.value[e];let l;function u(){c||(n.state.value[e]=s?s():{});const a=ps(n.state.value[e]);return dt(a,o,Object.keys(i||{}).reduce((f,h)=>(f[h]=er(U(()=>{gr(n);const p=n._s.get(e);return i[h].call(p,p)})),f),{}))}return l=Zl(e,u,t,n,r,!0),l}function Zl(e,t,n={},r,s,o){let i;const c=dt({actions:{}},n),l={deep:!0};let u,a,f=[],h=[],p;const y=r.state.value[e];!o&&!y&&(r.state.value[e]={}),Ae({});let w;function R(S){let D;u=a=!1,typeof S=="function"?(S(r.state.value[e]),D={type:on.patchFunction,storeId:e,events:p}):(Qr(r.state.value[e],S),D={type:on.patchObject,payload:S,storeId:e,events:p});const N=w=Symbol();nr().then(()=>{w===N&&(u=!0)}),a=!0,Nt(f,D,r.state.value[e])}const M=o?function(){const{state:D}=n,N=D?D():{};this.$patch(q=>{dt(q,N)})}:ql;function k(){i.stop(),f=[],h=[],r._s.delete(e)}function B(S,D){return function(){gr(r);const N=Array.from(arguments),q=[],T=[];function Z(X){q.push(X)}function de(X){T.push(X)}Nt(h,{args:N,name:S,store:K,after:Z,onError:de});let be;try{be=D.apply(this&&this.$id===e?this:K,N)}catch(X){throw Nt(T,X),X}return be instanceof Promise?be.then(X=>(Nt(q,X),X)).catch(X=>(Nt(T,X),Promise.reject(X))):(Nt(q,be),be)}}const G={_p:r,$id:e,$onAction:qo.bind(null,h),$patch:R,$reset:M,$subscribe(S,D={}){const N=qo(f,S,D.detached,()=>q()),q=i.run(()=>Ne(()=>r.state.value[e],T=>{(D.flush==="sync"?a:u)&&S({storeId:e,type:on.direct,events:p},T)},dt({},l,D)));return N},$dispose:k},K=xe(G);r._s.set(e,K);const Y=(r._a&&r._a.runWithContext||Td)(()=>r._e.run(()=>(i=ls()).run(t)));for(const S in Y){const D=Y[S];if(me(D)&&!Dd(D)||tt(D))o||(y&&Id(D)&&(me(D)?D.value=y[S]:Qr(D,y[S])),r.state.value[e][S]=D);else if(typeof D=="function"){const N=B(S,D);Y[S]=N,c.actions[S]=D}}return dt(K,Y),dt(Q(K),Y),Object.defineProperty(K,"$state",{get:()=>r.state.value[e],set:S=>{R(D=>{dt(D,S)})}}),r._p.forEach(S=>{dt(K,i.run(()=>S({store:K,app:r._a,pinia:r,options:c})))}),y&&o&&n.hydrate&&n.hydrate(K.$state,y),u=!0,a=!0,K}function bm(e,t,n){let r,s;const o=typeof t=="function";typeof e=="string"?(r=e,s=o?n:t):(s=e,r=e.id);function i(c,l){const u=Ta();return c=c||(u?_e(Yl,null):null),c&&gr(c),c=Gl,c._s.has(r)||(o?Zl(r,t,s,c):Fd(r,s,c)),c._s.get(r)}return i.$id=r,i}function _m(e){{e=Q(e);const t={};for(const n in e){const r=e[n];(me(r)||tt(r))&&(t[n]=qc(e,n))}return t}}const Ld=Od(),kd="modulepreload",$d=function(e){return"/arbomap/"+e},Zo={},Ql=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link");s=Promise.all(n.map(i=>{if(i=$d(i),i in Zo)return;Zo[i]=!0;const c=i.endsWith(".css"),l=c?'[rel="stylesheet"]':"";if(!!r)for(let f=o.length-1;f>=0;f--){const h=o[f];if(h.href===i&&(!c||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const a=document.createElement("link");if(a.rel=c?"stylesheet":kd,c||(a.as="script",a.crossOrigin=""),a.href=i,document.head.appendChild(a),c)return new Promise((f,h)=>{a.addEventListener("load",f),a.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${i}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},Qo=[{path:"/",name:"/",component:()=>Ql(()=>import("./index-DJMKflJ5.js"),__vite__mapDeps([0,1,2]))}];/*! + * vue-router v4.3.0 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const Ht=typeof document<"u";function Nd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const se=Object.assign;function Mr(e,t){const n={};for(const r in t){const s=t[r];n[r]=Ve(s)?s.map(e):e(s)}return n}const ln=()=>{},Ve=Array.isArray,Jl=/#/g,Hd=/&/g,Bd=/\//g,jd=/=/g,Vd=/\?/g,Xl=/\+/g,Ud=/%5B/g,Wd=/%5D/g,ec=/%5E/g,Kd=/%60/g,tc=/%7B/g,zd=/%7C/g,nc=/%7D/g,Gd=/%20/g;function Ts(e){return encodeURI(""+e).replace(zd,"|").replace(Ud,"[").replace(Wd,"]")}function Yd(e){return Ts(e).replace(tc,"{").replace(nc,"}").replace(ec,"^")}function Jr(e){return Ts(e).replace(Xl,"%2B").replace(Gd,"+").replace(Jl,"%23").replace(Hd,"%26").replace(Kd,"`").replace(tc,"{").replace(nc,"}").replace(ec,"^")}function qd(e){return Jr(e).replace(jd,"%3D")}function Zd(e){return Ts(e).replace(Jl,"%23").replace(Vd,"%3F")}function Qd(e){return e==null?"":Zd(e).replace(Bd,"%2F")}function gn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Jd=/\/$/,Xd=e=>e.replace(Jd,"");function Ir(e,t,n="/"){let r,s={},o="",i="";const c=t.indexOf("#");let l=t.indexOf("?");return c=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,c>-1?c:t.length),s=e(o)),c>-1&&(r=r||t.slice(0,c),i=t.slice(c,t.length)),r=rh(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:gn(i)}}function eh(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Jo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function th(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Gt(t.matched[r],n.matched[s])&&rc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Gt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function rc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!nh(e[n],t[n]))return!1;return!0}function nh(e,t){return Ve(e)?Xo(e,t):Ve(t)?Xo(t,e):e===t}function Xo(e,t){return Ve(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function rh(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,c;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}var yn;(function(e){e.pop="pop",e.push="push"})(yn||(yn={}));var cn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(cn||(cn={}));function sh(e){if(!e)if(Ht){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Xd(e)}const oh=/^[^#]+#/;function ih(e,t){return e.replace(oh,"#")+t}function lh(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const yr=()=>({left:window.scrollX,top:window.scrollY});function ch(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=lh(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ei(e,t){return(history.state?history.state.position-t:-1)+e}const Xr=new Map;function ah(e,t){Xr.set(e,t)}function uh(e){const t=Xr.get(e);return Xr.delete(e),t}let fh=()=>location.protocol+"//"+location.host;function sc(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let c=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(c);return l[0]!=="/"&&(l="/"+l),Jo(l,"")}return Jo(n,e)+r+s}function dh(e,t,n,r){let s=[],o=[],i=null;const c=({state:h})=>{const p=sc(e,location),y=n.value,w=t.value;let R=0;if(h){if(n.value=p,t.value=h,i&&i===y){i=null;return}R=w?h.position-w.position:0}else r(p);s.forEach(M=>{M(n.value,y,{delta:R,type:yn.pop,direction:R?R>0?cn.forward:cn.back:cn.unknown})})};function l(){i=n.value}function u(h){s.push(h);const p=()=>{const y=s.indexOf(h);y>-1&&s.splice(y,1)};return o.push(p),p}function a(){const{history:h}=window;h.state&&h.replaceState(se({},h.state,{scroll:yr()}),"")}function f(){for(const h of o)h();o=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",a)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",a,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function ti(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?yr():null}}function hh(e){const{history:t,location:n}=window,r={value:sc(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,a){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:fh()+e+l;try{t[a?"replaceState":"pushState"](u,"",h),s.value=u}catch(p){console.error(p),n[a?"replace":"assign"](h)}}function i(l,u){const a=se({},t.state,ti(s.value.back,l,s.value.forward,!0),u,{position:s.value.position});o(l,a,!0),r.value=l}function c(l,u){const a=se({},s.value,t.state,{forward:l,scroll:yr()});o(a.current,a,!0);const f=se({},ti(r.value,l,null),{position:a.position+1},u);o(l,f,!1),r.value=l}return{location:r,state:s,push:c,replace:i}}function mh(e){e=sh(e);const t=hh(e),n=dh(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=se({location:"",base:e,go:r,createHref:ih.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function ph(e){return typeof e=="string"||e&&typeof e=="object"}function oc(e){return typeof e=="string"||typeof e=="symbol"}const ut={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ic=Symbol("");var ni;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ni||(ni={}));function Yt(e,t){return se(new Error,{type:e,[ic]:!0},t)}function Qe(e,t){return e instanceof Error&&ic in e&&(t==null||!!(e.type&t))}const ri="[^/]+?",gh={sensitive:!1,strict:!1,start:!0,end:!0},yh=/[.+*?^${}()[\]/\\]/g;function vh(e,t){const n=se({},gh,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const a=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function _h(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const wh={type:0,value:""},Eh=/[a-zA-Z0-9_]/;function Sh(e){if(!e)return[[]];if(e==="/")return[[wh]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let c=0,l,u="",a="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:a,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=l}for(;c{i(k)}:ln}function i(a){if(oc(a)){const f=r.get(a);f&&(r.delete(a),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(a);f>-1&&(n.splice(f,1),a.record.name&&r.delete(a.record.name),a.children.forEach(i),a.alias.forEach(i))}}function c(){return n}function l(a){let f=0;for(;f=0&&(a.record.path!==n[f].record.path||!lc(a,n[f]));)f++;n.splice(f,0,a),a.record.name&&!ii(a)&&r.set(a.record.name,a)}function u(a,f){let h,p={},y,w;if("name"in a&&a.name){if(h=r.get(a.name),!h)throw Yt(1,{location:a});w=h.record.name,p=se(oi(f.params,h.keys.filter(k=>!k.optional).concat(h.parent?h.parent.keys.filter(k=>k.optional):[]).map(k=>k.name)),a.params&&oi(a.params,h.keys.map(k=>k.name))),y=h.stringify(p)}else if(a.path!=null)y=a.path,h=n.find(k=>k.re.test(y)),h&&(p=h.parse(y),w=h.record.name);else{if(h=f.name?r.get(f.name):n.find(k=>k.re.test(f.path)),!h)throw Yt(1,{location:a,currentLocation:f});w=h.record.name,p=se({},f.params,a.params),y=h.stringify(p)}const R=[];let M=h;for(;M;)R.unshift(M.record),M=M.parent;return{name:w,path:y,params:p,matched:R,meta:Ph(R)}}return e.forEach(a=>o(a)),{addRoute:o,resolve:u,removeRoute:i,getRoutes:c,getRecordMatcher:s}}function oi(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Rh(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Ah(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 Ah(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function ii(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ph(e){return e.reduce((t,n)=>se(t,n.meta),{})}function li(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function lc(e,t){return t.children.some(n=>n===e||lc(e,n))}function Oh(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Jr(o)):[r&&Jr(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Th(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ve(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Mh=Symbol(""),ai=Symbol(""),Ms=Symbol(""),cc=Symbol(""),es=Symbol("");function en(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function yt(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((c,l)=>{const u=h=>{h===!1?l(Yt(4,{from:n,to:t})):h instanceof Error?l(h):ph(h)?l(Yt(2,{from:t,to:h})):(i&&r.enterCallbacks[s]===i&&typeof h=="function"&&i.push(h),c())},a=o(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(a);e.length<3&&(f=f.then(u)),f.catch(h=>l(h))})}function Dr(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const c in i.components){let l=i.components[c];if(!(t!=="beforeRouteEnter"&&!i.instances[c]))if(Ih(l)){const a=(l.__vccOpts||l)[t];a&&o.push(yt(a,n,r,i,c,s))}else{let u=l();o.push(()=>u.then(a=>{if(!a)return Promise.reject(new Error(`Couldn't resolve component "${c}" at "${i.path}"`));const f=Nd(a)?a.default:a;i.components[c]=f;const p=(f.__vccOpts||f)[t];return p&&yt(p,n,r,i,c,s)()}))}}return o}function Ih(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ui(e){const t=_e(Ms),n=_e(cc),r=U(()=>t.resolve(Be(e.to))),s=U(()=>{const{matched:l}=r.value,{length:u}=l,a=l[u-1],f=n.matched;if(!a||!f.length)return-1;const h=f.findIndex(Gt.bind(null,a));if(h>-1)return h;const p=fi(l[u-2]);return u>1&&fi(a)===p&&f[f.length-1].path!==p?f.findIndex(Gt.bind(null,l[u-2])):h}),o=U(()=>s.value>-1&&kh(n.params,r.value.params)),i=U(()=>s.value>-1&&s.value===n.matched.length-1&&rc(n.params,r.value.params));function c(l={}){return Lh(l)?t[Be(e.replace)?"replace":"push"](Be(e.to)).catch(ln):Promise.resolve()}return{route:r,href:U(()=>r.value.href),isActive:o,isExactActive:i,navigate:c}}const Dh=or({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:ui,setup(e,{slots:t}){const n=xe(ui(e)),{options:r}=_e(Ms),s=U(()=>({[di(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[di(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:mr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Fh=Dh;function Lh(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 t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function kh(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Ve(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function fi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const di=(e,t,n)=>e??t??n,$h=or({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=_e(es),s=U(()=>e.route||r.value),o=_e(ai,0),i=U(()=>{let u=Be(o);const{matched:a}=s.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),c=U(()=>s.value.matched[i.value]);nt(ai,U(()=>i.value+1)),nt(Mh,c),nt(es,s);const l=Ae();return Ne(()=>[l.value,c.value,e.name],([u,a,f],[h,p,y])=>{a&&(a.instances[f]=u,p&&p!==a&&u&&u===h&&(a.leaveGuards.size||(a.leaveGuards=p.leaveGuards),a.updateGuards.size||(a.updateGuards=p.updateGuards))),u&&a&&(!p||!Gt(a,p)||!h)&&(a.enterCallbacks[f]||[]).forEach(w=>w(u))},{flush:"post"}),()=>{const u=s.value,a=e.name,f=c.value,h=f&&f.components[a];if(!h)return hi(n.default,{Component:h,route:u});const p=f.props[a],y=p?p===!0?u.params:typeof p=="function"?p(u):p:null,R=mr(h,se({},y,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(f.instances[a]=null)},ref:l}));return hi(n.default,{Component:R,route:u})||R}}});function hi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Nh=$h;function Hh(e){const t=xh(e.routes,e),n=e.parseQuery||Oh,r=e.stringifyQuery||ci,s=e.history,o=en(),i=en(),c=en(),l=qe(ut);let u=ut;Ht&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=Mr.bind(null,v=>""+v),f=Mr.bind(null,Qd),h=Mr.bind(null,gn);function p(v,F){let P,$;return oc(v)?(P=t.getRecordMatcher(v),$=F):$=v,t.addRoute($,P)}function y(v){const F=t.getRecordMatcher(v);F&&t.removeRoute(F)}function w(){return t.getRoutes().map(v=>v.record)}function R(v){return!!t.getRecordMatcher(v)}function M(v,F){if(F=se({},F||l.value),typeof v=="string"){const m=Ir(n,v,F.path),g=t.resolve({path:m.path},F),_=s.createHref(m.fullPath);return se(m,g,{params:h(g.params),hash:gn(m.hash),redirectedFrom:void 0,href:_})}let P;if(v.path!=null)P=se({},v,{path:Ir(n,v.path,F.path).path});else{const m=se({},v.params);for(const g in m)m[g]==null&&delete m[g];P=se({},v,{params:f(m)}),F.params=f(F.params)}const $=t.resolve(P,F),re=v.hash||"";$.params=a(h($.params));const ue=eh(r,se({},v,{hash:Yd(re),path:$.path})),d=s.createHref(ue);return se({fullPath:ue,hash:re,query:r===ci?Th(v.query):v.query||{}},$,{redirectedFrom:void 0,href:d})}function k(v){return typeof v=="string"?Ir(n,v,l.value.path):se({},v)}function B(v,F){if(u!==v)return Yt(8,{from:F,to:v})}function G(v){return Y(v)}function K(v){return G(se(k(v),{replace:!0}))}function I(v){const F=v.matched[v.matched.length-1];if(F&&F.redirect){const{redirect:P}=F;let $=typeof P=="function"?P(v):P;return typeof $=="string"&&($=$.includes("?")||$.includes("#")?$=k($):{path:$},$.params={}),se({query:v.query,hash:v.hash,params:$.path!=null?{}:v.params},$)}}function Y(v,F){const P=u=M(v),$=l.value,re=v.state,ue=v.force,d=v.replace===!0,m=I(P);if(m)return Y(se(k(m),{state:typeof m=="object"?se({},re,m.state):re,force:ue,replace:d}),F||P);const g=P;g.redirectedFrom=F;let _;return!ue&&th(r,$,P)&&(_=Yt(16,{to:g,from:$}),Ie($,$,!0,!1)),(_?Promise.resolve(_):N(g,$)).catch(b=>Qe(b)?Qe(b,2)?b:Ue(b):ee(b,g,$)).then(b=>{if(b){if(Qe(b,2))return Y(se({replace:d},k(b.to),{state:typeof b.to=="object"?se({},re,b.to.state):re,force:ue}),F||g)}else b=T(g,$,!0,d,re);return q(g,$,b),b})}function S(v,F){const P=B(v,F);return P?Promise.reject(P):Promise.resolve()}function D(v){const F=lt.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(v):v()}function N(v,F){let P;const[$,re,ue]=Bh(v,F);P=Dr($.reverse(),"beforeRouteLeave",v,F);for(const m of $)m.leaveGuards.forEach(g=>{P.push(yt(g,v,F))});const d=S.bind(null,v,F);return P.push(d),le(P).then(()=>{P=[];for(const m of o.list())P.push(yt(m,v,F));return P.push(d),le(P)}).then(()=>{P=Dr(re,"beforeRouteUpdate",v,F);for(const m of re)m.updateGuards.forEach(g=>{P.push(yt(g,v,F))});return P.push(d),le(P)}).then(()=>{P=[];for(const m of ue)if(m.beforeEnter)if(Ve(m.beforeEnter))for(const g of m.beforeEnter)P.push(yt(g,v,F));else P.push(yt(m.beforeEnter,v,F));return P.push(d),le(P)}).then(()=>(v.matched.forEach(m=>m.enterCallbacks={}),P=Dr(ue,"beforeRouteEnter",v,F,D),P.push(d),le(P))).then(()=>{P=[];for(const m of i.list())P.push(yt(m,v,F));return P.push(d),le(P)}).catch(m=>Qe(m,8)?m:Promise.reject(m))}function q(v,F,P){c.list().forEach($=>D(()=>$(v,F,P)))}function T(v,F,P,$,re){const ue=B(v,F);if(ue)return ue;const d=F===ut,m=Ht?history.state:{};P&&($||d?s.replace(v.fullPath,se({scroll:d&&m&&m.scroll},re)):s.push(v.fullPath,re)),l.value=v,Ie(v,F,P,d),Ue()}let Z;function de(){Z||(Z=s.listen((v,F,P)=>{if(!Et.listening)return;const $=M(v),re=I($);if(re){Y(se(re,{replace:!0}),$).catch(ln);return}u=$;const ue=l.value;Ht&&ah(ei(ue.fullPath,P.delta),yr()),N($,ue).catch(d=>Qe(d,12)?d:Qe(d,2)?(Y(d.to,$).then(m=>{Qe(m,20)&&!P.delta&&P.type===yn.pop&&s.go(-1,!1)}).catch(ln),Promise.reject()):(P.delta&&s.go(-P.delta,!1),ee(d,$,ue))).then(d=>{d=d||T($,ue,!1),d&&(P.delta&&!Qe(d,8)?s.go(-P.delta,!1):P.type===yn.pop&&Qe(d,20)&&s.go(-1,!1)),q($,ue,d)}).catch(ln)}))}let be=en(),X=en(),ne;function ee(v,F,P){Ue(v);const $=X.list();return $.length?$.forEach(re=>re(v,F,P)):console.error(v),Promise.reject(v)}function Pe(){return ne&&l.value!==ut?Promise.resolve():new Promise((v,F)=>{be.add([v,F])})}function Ue(v){return ne||(ne=!v,de(),be.list().forEach(([F,P])=>v?P(v):F()),be.reset()),v}function Ie(v,F,P,$){const{scrollBehavior:re}=e;if(!Ht||!re)return Promise.resolve();const ue=!P&&uh(ei(v.fullPath,0))||($||!P)&&history.state&&history.state.scroll||null;return nr().then(()=>re(v,F,ue)).then(d=>d&&ch(d)).catch(d=>ee(d,v,F))}const pe=v=>s.go(v);let We;const lt=new Set,Et={currentRoute:l,listening:!0,addRoute:p,removeRoute:y,hasRoute:R,getRoutes:w,resolve:M,options:e,push:G,replace:K,go:pe,back:()=>pe(-1),forward:()=>pe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:c.add,onError:X.add,isReady:Pe,install(v){const F=this;v.component("RouterLink",Fh),v.component("RouterView",Nh),v.config.globalProperties.$router=F,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>Be(l)}),Ht&&!We&&l.value===ut&&(We=!0,G(s.location).catch(re=>{}));const P={};for(const re in ut)Object.defineProperty(P,re,{get:()=>l.value[re],enumerable:!0});v.provide(Ms,F),v.provide(cc,Li(P)),v.provide(es,l);const $=v.unmount;lt.add(v),v.unmount=function(){lt.delete(v),lt.size<1&&(u=ut,Z&&Z(),Z=null,l.value=ut,We=!1,ne=!1),$()}}};function le(v){return v.reduce((F,P)=>F.then(()=>D(P)),Promise.resolve())}return Et}function Bh(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iGt(u,c))?r.push(c):n.push(c));const l=e.matched[i];l&&(t.matched.find(u=>Gt(u,l))||s.push(l))}return[n,r,s]}function jh(e){const{extendRoutes:t}=e;return Hh(Object.assign(e,{routes:typeof t=="function"?t(Qo):Qo}))}const Vh=e=>{const t={};Object.entries(Object.assign({"/src/layouts/default.vue":()=>Ql(()=>import("./default-C0wMDwQ2.js"),__vite__mapDeps([3,1,4]))})).forEach(([s,o])=>{let i=s.replace("/src/layouts/","").replace(".vue","");t[i]=o});function r(s,o=!0){return s.map(i=>{var c,l,u,a,f,h;if(((c=i.children)==null?void 0:c.length)>0&&(i.children=r(i.children,!1)),o){if(!i.component&&((l=i.children)==null?void 0:l.find(y=>{var w;return(y.path===""||y.path==="/")&&((w=y.meta)==null?void 0:w.isLayout)})))return i;if(((u=i.meta)==null?void 0:u.layout)!==!1)return{path:i.path,component:t[((a=i.meta)==null?void 0:a.layout)||"default"],children:i.path==="/"?[i]:[{...i,path:""}],meta:{isLayout:!0}}}return(f=i.meta)!=null&&f.layout?{path:i.path,component:t[(h=i.meta)==null?void 0:h.layout],children:[{...i,path:""}],meta:{isLayout:!0}}:i})}return r(e)};console.log("base url is /arbomap/");const Uh=jh({history:mh("/arbomap/"),extendRoutes:Vh});function Wh(e){e.use(Ad).use(Uh).use(Ld)}const Kh=ot({...Fl(),...Ed({fullHeight:!0}),...yd()},"VApp"),zh=Ps()({name:"VApp",props:Kh(),setup(e,t){let{slots:n}=t;const r=_d(e),{layoutClasses:s,getLayoutItem:o,items:i,layoutRef:c}=xd(e),{rtlClasses:l}=Sf();return kl(()=>{var u;return ie("div",{ref:c,class:["v-application",r.themeClasses.value,s.value,l.value,e.class],style:[e.style]},[ie("div",{class:"v-application__wrap"},[(u=n.default)==null?void 0:u.call(n)])])}),{getLayoutItem:o,items:i,theme:r}}});function Gh(){const e=qe(!1);return cr(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:U(()=>e.value?void 0:{transition:"none !important"}),isBooted:Xn(e)}}const Yh=ot({tag:{type:String,default:"div"}},"tag"),qh=ot({scrollable:Boolean,...Fl(),...Yh({tag:"main"})},"VMain"),Zh=Ps()({name:"VMain",props:qh(),setup(e,t){let{slots:n}=t;const{mainStyles:r}=Sd(),{ssrBootStyles:s}=Gh();return kl(()=>ie(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[r.value,s.value,e.style]},{default:()=>{var o,i;return[e.scrollable?ie("div",{class:"v-main__scroller"},[(o=n.default)==null?void 0:o.call(n)]):(i=n.default)==null?void 0:i.call(n)]}})),{}}}),Qh=or({__name:"App",setup(e){return(t,n)=>{const r=la("router-view");return ja(),Ua(zh,null,{default:Nr(()=>[ie(Zh,null,{default:Nr(()=>[ie(r)]),_:1})]),_:1})}}}),ac=Iu(Qh);Wh(ac);ac.mount("#app");export{am as $,Ne as A,ga as B,nr as C,ar as D,tm as E,em as F,Fe as G,sm as H,yd as I,_d as J,Sf as K,Bu as L,cr as M,ym as N,gf as O,Lu as P,Gh as Q,vm as R,lm as S,om as T,sr as U,Be as V,Os as W,nt as X,_e as Y,xe as Z,Nu as _,Yh as a,kn as a0,md as a1,gm as a2,Vu as a3,ur as a4,wd as a5,Xh as a6,dm as a7,wo as a8,cm as a9,or as aa,_m as ab,Ua as ac,Nr as ad,zh as ae,la as af,ja as ag,za as ah,Jh as ai,Zh as aj,pl as ak,rm as al,nm as am,is as an,Ql as ao,er as ap,rl as aq,im as ar,bm as as,bl as b,ie as c,Ze as d,mm as e,U as f,Ps as g,mr as h,fm as i,Pn as j,me as k,um as l,Fl as m,nf as n,hm as o,ot as p,Xe as q,ff as r,pm as s,ps as t,kl as u,gl as v,qc as w,it as x,qe as y,Ae as z}; diff --git a/assets/index-DJMKflJ5.js b/assets/index-DJMKflJ5.js new file mode 100644 index 00000000..59100768 --- /dev/null +++ b/assets/index-DJMKflJ5.js @@ -0,0 +1,10 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = [] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{aa as jt,z as lt,Y as ue,M as _e,ao as Mt,ap as Fe,C as Qt,h as me,Z as as,X as Ht,f as It,D as rs,A as on,aq as rn,ar as ss,ab as Uo,ag as Re,al as tn,c as Ao,ad as fs,V as en,G as cs,am as hs,ac as Vo}from"./index-CCVue5GR.js";import{u as qo}from"./appStore-DaLaHjzx.js";function ds(a,f){for(var s=0;sh[u]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var ls=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function us(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var an={exports:{}};/* @preserve + * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com + * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade + */(function(a,f){(function(s,h){h(f)})(ls,function(s){var h="1.9.4";function u(t){var e,i,n,o;for(i=1,n=arguments.length;i"u"||!L||!L.Mixin)){t=W(t)?t:[t];for(var e=0;e0?Math.floor(t):Math.ceil(t)};S.prototype={clone:function(){return new S(this.x,this.y)},add:function(t){return this.clone()._add(M(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(M(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 S(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new S(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=vn(this.x),this.y=vn(this.y),this},distanceTo:function(t){t=M(t);var e=t.x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},equals:function(t){return t=M(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=M(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+D(this.x)+", "+D(this.y)+")"}};function M(t,e,i){return t instanceof S?t:W(t)?new S(t[0],t[1]):t==null?t:typeof t=="object"&&"x"in t&&"y"in t?new S(t.x,t.y):new S(t,e,i)}function V(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=ft(t);var e=this.min,i=this.max,n=t.min,o=t.max,r=o.x>=e.x&&n.x<=i.x,c=o.y>=e.y&&n.y<=i.y;return r&&c},overlaps:function(t){t=ft(t);var e=this.min,i=this.max,n=t.min,o=t.max,r=o.x>e.x&&n.xe.y&&n.y=e.lat&&o.lat<=i.lat&&n.lng>=e.lng&&o.lng<=i.lng},intersects:function(t){t=tt(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),r=o.lat>=e.lat&&n.lat<=i.lat,c=o.lng>=e.lng&&n.lng<=i.lng;return r&&c},overlaps:function(t){t=tt(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),r=o.lat>e.lat&&n.late.lng&&n.lng1,qa=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",P,e),window.removeEventListener("testPassiveEventSupport",P,e)}catch{}return t}(),Ya=function(){return!!document.createElement("canvas").getContext}(),Si=!!(document.createElementNS&&yn("svg").createSVGRect),Ka=!!Si&&function(){var t=document.createElement("div");return t.innerHTML="",(t.firstChild&&t.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),Ja=!Si&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&typeof e.adj=="object"}catch{return!1}}(),Xa=navigator.platform.indexOf("Mac")===0,Qa=navigator.platform.indexOf("Linux")===0;function wt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var y={ie:Ge,ielt9:Za,edge:wn,webkit:Li,android:Pn,android23:Ln,androidStock:Na,opera:Ti,chrome:Tn,gecko:Mn,safari:Da,phantom:Sn,opera12:Cn,win:Ha,ie3d:On,webkit3d:Mi,gecko3d:An,any3d:Fa,mobile:Le,mobileWebkit:ja,mobileWebkit3d:Wa,msPointer:En,pointer:zn,touch:Ga,touchNative:Bn,mobileOpera:$a,mobileGecko:Ua,retina:Va,passiveEvents:qa,canvas:Ya,svg:Si,vml:Ja,inlineSvg:Ka,mac:Xa,linux:Qa},kn=y.msPointer?"MSPointerDown":"pointerdown",In=y.msPointer?"MSPointerMove":"pointermove",Zn=y.msPointer?"MSPointerUp":"pointerup",Rn=y.msPointer?"MSPointerCancel":"pointercancel",Ci={touchstart:kn,touchmove:In,touchend:Zn,touchcancel:Rn},Nn={touchstart:ar,touchmove:$e,touchend:$e,touchcancel:$e},ee={},Dn=!1;function tr(t,e,i){return e==="touchstart"&&or(),Nn[e]?(i=Nn[e].bind(this,i),t.addEventListener(Ci[e],i,!1),i):(console.warn("wrong event specified:",e),P)}function er(t,e,i){if(!Ci[e]){console.warn("wrong event specified:",e);return}t.removeEventListener(Ci[e],i,!1)}function ir(t){ee[t.pointerId]=t}function nr(t){ee[t.pointerId]&&(ee[t.pointerId]=t)}function Hn(t){delete ee[t.pointerId]}function or(){Dn||(document.addEventListener(kn,ir,!0),document.addEventListener(In,nr,!0),document.addEventListener(Zn,Hn,!0),document.addEventListener(Rn,Hn,!0),Dn=!0)}function $e(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){e.touches=[];for(var i in ee)e.touches.push(ee[i]);e.changedTouches=[e],t(e)}}function ar(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&ot(e),$e(t,e)}function rr(t){var e={},i,n;for(n in t)i=t[n],e[n]=i&&i.bind?i.bind(t):i;return t=e,e.type="dblclick",e.detail=2,e.isTrusted=!1,e._simulated=!0,e}var sr=200;function fr(t,e){t.addEventListener("dblclick",e);var i=0,n;function o(r){if(r.detail!==1){n=r.detail;return}if(!(r.pointerType==="mouse"||r.sourceCapabilities&&!r.sourceCapabilities.firesTouchEvents)){var c=$n(r);if(!(c.some(function(l){return l instanceof HTMLLabelElement&&l.attributes.for})&&!c.some(function(l){return l instanceof HTMLInputElement||l instanceof HTMLSelectElement}))){var d=Date.now();d-i<=sr?(n++,n===2&&e(rr(r))):n=1,i=d}}}return t.addEventListener("click",o),{dblclick:e,simDblclick:o}}function cr(t,e){t.removeEventListener("dblclick",e.dblclick),t.removeEventListener("click",e.simDblclick)}var Oi=qe(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Te=qe(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Fn=Te==="webkitTransition"||Te==="OTransition"?Te+"End":"transitionend";function jn(t){return typeof t=="string"?document.getElementById(t):t}function Me(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!i||i==="auto")&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);i=n?n[e]:null}return i==="auto"?null:i}function R(t,e,i){var n=document.createElement(t);return n.className=e||"",i&&i.appendChild(n),n}function q(t){var e=t.parentNode;e&&e.removeChild(t)}function Ue(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function ie(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ne(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function Ai(t,e){if(t.classList!==void 0)return t.classList.contains(e);var i=Ve(t);return i.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(i)}function A(t,e){if(t.classList!==void 0)for(var i=J(e),n=0,o=i.length;n0?2*window.devicePixelRatio:1;function Vn(t){return y.edge?t.wheelDeltaY/2:t.deltaY&&t.deltaMode===0?-t.deltaY/lr: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 ji(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch{return!1}return i!==t}var ur={__proto__:null,on:C,off:G,stopPropagation:Ut,disableScrollPropagation:Fi,disableClickPropagation:Ae,preventDefault:ot,stop:Vt,getPropagationPath:$n,getMousePosition:Un,getWheelDelta:Vn,isExternalTarget:ji,addListener:C,removeListener:G},qn=we.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=$t(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=Y(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=this._duration*1e3;ethis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,tt(t));return i.equals(n)||this.panTo(n,e),this._enforcingBounds=!1,this},panInside:function(t,e){e=e||{};var i=M(e.paddingTopLeft||e.padding||[0,0]),n=M(e.paddingBottomRight||e.padding||[0,0]),o=this.project(this.getCenter()),r=this.project(t),c=this.getPixelBounds(),d=ft([c.min.add(i),c.max.subtract(n)]),l=d.getSize();if(!d.contains(r)){this._enforcingBounds=!0;var m=r.subtract(d.getCenter()),b=d.extend(r).getSize().subtract(l);o.x+=m.x<0?-b.x:b.x,o.y+=m.y<0?-b.y:b.y,this.panTo(this.unproject(o),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=u({animate:!1,pan:!0},t===!0?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var i=this.getSize(),n=e.divideBy(2).round(),o=i.divideBy(2).round(),r=n.subtract(o);return!r.x&&!r.y?this:(t.animate&&t.pan?this.panBy(r):(t.pan&&this._rawPanBy(r),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(p(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:i}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=u({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=p(this._handleGeolocationResponse,this),i=p(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,i,t):navigator.geolocation.getCurrentPosition(e,i,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var e=t.code,i=t.message||(e===1?"permission denied":e===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+i+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e=t.coords.latitude,i=t.coords.longitude,n=new F(e,i),o=n.toBounds(t.coords.accuracy*2),r=this._locateOptions;if(r.setView){var c=this.getBoundsZoom(o);this.setView(n,r.maxZoom?Math.min(c,r.maxZoom):c)}var d={latlng:n,bounds:o,timestamp:t.timestamp};for(var l in t.coords)typeof t.coords[l]=="number"&&(d[l]=t.coords[l]);this.fire("locationfound",d)}},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.enable(),this},remove:function(){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(),q(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(_t(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)q(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var i="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),n=R("div",i,e||this._mapPane);return t&&(this._panes[t]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),e=this.unproject(t.getBottomLeft()),i=this.unproject(t.getTopRight());return new ct(e,i)},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,e,i){t=tt(t),i=M(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),r=this.getMaxZoom(),c=t.getNorthWest(),d=t.getSouthEast(),l=this.getSize().subtract(i),m=ft(this.project(d,n),this.project(c,n)).getSize(),b=y.any3d?this.options.zoomSnap:1,w=l.x/m.x,z=l.y/m.y,rt=e?Math.max(w,z):Math.min(w,z);return n=this.getScaleZoom(rt,n),b&&(n=Math.round(n/(b/100))*(b/100),n=e?Math.ceil(n/b)*b:Math.floor(n/b)*b),Math.max(o,Math.min(r,n))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new S(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var i=this._getTopLeftPoint(t,e);return new V(i,i.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,e){var i=this.options.crs;return e=e===void 0?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs;e=e===void 0?this._zoom:e;var n=i.zoom(t*i.scale(e));return isNaN(n)?1/0:n},project:function(t,e){return e=e===void 0?this._zoom:e,this.options.crs.latLngToPoint(k(t),e)},unproject:function(t,e){return e=e===void 0?this._zoom:e,this.options.crs.pointToLatLng(M(t),e)},layerPointToLatLng:function(t){var e=M(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){var e=this.project(k(t))._round();return e._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(k(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(tt(t))},distance:function(t,e){return this.options.crs.distance(k(t),k(e))},containerPointToLayerPoint:function(t){return M(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return M(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(M(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(k(t)))},mouseEventToContainerPoint:function(t){return Un(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=jn(t);if(e){if(e._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");C(e,"scroll",this._onScroll,this),this._containerId=g(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&y.any3d,A(t,"leaflet-container"+(y.touch?" leaflet-touch":"")+(y.retina?" leaflet-retina":"")+(y.ielt9?" leaflet-oldie":"")+(y.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=Me(t,"position");e!=="absolute"&&e!=="relative"&&e!=="fixed"&&e!=="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),et(this._mapPane,new S(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(A(t.markerPane,"leaflet-zoom-hide"),A(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,i){et(this._mapPane,new S(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var o=this._zoom!==e;this._moveStart(o,i)._move(t,e)._moveEnd(o),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,i,n){e===void 0&&(e=this._zoom);var o=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),n?i&&i.pinch&&this.fire("zoom",i):((o||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return _t(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){et(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[g(this._container)]=this;var e=t?G:C;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),y.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){_t(this._resizeRequest),this._resizeRequest=Y(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i=[],n,o=e==="mouseout"||e==="mouseover",r=t.target||t.srcElement,c=!1;r;){if(n=this._targets[g(r)],n&&(e==="click"||e==="preclick")&&this._draggableMoved(n)){c=!0;break}if(n&&n.listens(e,!0)&&(o&&!ji(r,t)||(i.push(n),o))||r===this._container)break;r=r.parentNode}return!i.length&&!c&&!o&&this.listens(e,!0)&&(i=[this]),i},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e=t.target||t.srcElement;if(!(!this._loaded||e._leaflet_disable_events||t.type==="click"&&this._isClickDisabled(e))){var i=t.type;i==="mousedown"&&Zi(e),this._fireDOMEvent(t,i)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,i){if(t.type==="click"){var n=u({},t);n.type="preclick",this._fireDOMEvent(n,n.type,i)}var o=this._findEventTargets(t,e);if(i){for(var r=[],c=0;c0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=y.any3d?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){K(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._trunc();return(e&&e.animate)!==!0&&!this.getSize().contains(i)?!1:(this.panBy(i,e),!0)},_createAnimProxy:function(){var t=this._proxy=R("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(e){var i=Oi,n=this._proxy.style[i];Gt(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),n===this._proxy.style[i]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){q(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();Gt(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||i.animate===!1||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/n);return i.animate!==!0&&!this.getSize().contains(o)?!1:(Y(function(){this._moveStart(!0,i.noMoveStart||!1)._animateZoom(t,e,!0)},this),!0)},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,A(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(p(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&K(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 _r(t,e){return new I(t,e)}var vt=Ot.extend({options:{position:"topright"},initialize:function(t){Z(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),n=t._controlCorners[i];return A(e,"leaflet-control"),i.indexOf("bottom")!==-1?n.insertBefore(e,n.firstChild):n.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(q(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()}}),Ee=function(t){return new vt(t)};I.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",i=this._controlContainer=R("div",e+"control-container",this._container);function n(o,r){var c=e+o+" "+e+r;t[o+r]=R("div",c,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)q(this._controlCorners[t]);q(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Yn=vt.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(g(t.target)),i=e.overlay?t.type==="add"?"overlayadd":"overlayremove":t.type==="add"?"baselayerchange":null;i&&this._map.fire(i,e)},_createRadioElement:function(t,e){var i='",n=document.createElement("div");return n.innerHTML=i,n.firstChild},_addItem:function(t){var e=document.createElement("label"),i=this._map.hasLayer(t.layer),n;t.overlay?(n=document.createElement("input"),n.type="checkbox",n.className="leaflet-control-layers-selector",n.defaultChecked=i):n=this._createRadioElement("leaflet-base-layers_"+g(this),i),this._layerControlInputs.push(n),n.layerId=g(t.layer),C(n,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var r=document.createElement("span");e.appendChild(r),r.appendChild(n),r.appendChild(o);var c=t.overlay?this._overlaysList:this._baseLayersList;return c.appendChild(e),this._checkDisabledLayers(),e},_onInputClick:function(){if(!this._preventClick){var t=this._layerControlInputs,e,i,n=[],o=[];this._handlingClick=!0;for(var r=t.length-1;r>=0;r--)e=t[r],i=this._getLayer(e.layerId).layer,e.checked?n.push(i):e.checked||o.push(i);for(r=0;r=0;o--)e=t[o],i=this._getLayer(e.layerId).layer,e.disabled=i.options.minZoom!==void 0&&ni.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,C(t,"click",ot),this.expand();var e=this;setTimeout(function(){G(t,"click",ot),e._preventClick=!1})}}),mr=function(t,e,i){return new Yn(t,e,i)},Wi=vt.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=R("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,i,n,o){var r=R("a",i,n);return r.innerHTML=t,r.href="#",r.title=e,r.setAttribute("role","button"),r.setAttribute("aria-label",e),Ae(r),C(r,"click",Vt),C(r,"click",o,this),C(r,"click",this._refocusOnMap,this),r},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";K(this._zoomInButton,e),K(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(A(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(A(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}});I.mergeOptions({zoomControl:!0}),I.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Wi,this.addControl(this.zoomControl))});var pr=function(t){return new Wi(t)},Kn=vt.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=R("div",e),n=this.options;return this._addScales(n,e+"-line",i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=R("div",e,i)),t.imperial&&(this._iScale=R("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,i=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(i)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),i=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,i,e/t)},_updateImperial:function(t){var e=t*3.2808399,i,n,o;e>5280?(i=e/5280,n=this._getRoundNum(i),this._updateScale(this._iScale,n+" mi",n/i)):(o=this._getRoundNum(e),this._updateScale(this._iScale,o+" ft",o/e))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),i=t/e;return i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1,e*i}}),gr=function(t){return new Kn(t)},vr='',Gi=vt.extend({options:{position:"bottomright",prefix:''+(y.inlineSvg?vr+" ":"")+"Leaflet"},initialize:function(t){Z(this,t),this._attributions={}},onAdd:function(t){t.attributionControl=this,this._container=R("div","leaflet-control-attribution"),Ae(this._container);for(var e in t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(' ')}}});I.mergeOptions({attributionControl:!0}),I.addInitHook(function(){this.options.attributionControl&&new Gi().addTo(this)});var br=function(t){return new Gi(t)};vt.Layers=Yn,vt.Zoom=Wi,vt.Scale=Kn,vt.Attribution=Gi,Ee.layers=mr,Ee.zoom=pr,Ee.scale=gr,Ee.attribution=br;var Lt=Ot.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}});Lt.addTo=function(t,e){return t.addHandler(e,this),this};var yr={Events:dt},Jn=y.touch?"touchstart mousedown":"mousedown",Nt=we.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){Z(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(C(this._dragStartTarget,Jn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Nt._dragging===this&&this.finishDrag(!0),G(this._dragStartTarget,Jn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!Ai(this._element,"leaflet-zoom-anim"))){if(t.touches&&t.touches.length!==1){Nt._dragging===this&&this.finishDrag();return}if(!(Nt._dragging||t.shiftKey||t.which!==1&&t.button!==1&&!t.touches)&&(Nt._dragging=this,this._preventOutline&&Zi(this._element),Bi(),Se(),!this._moving)){this.fire("down");var e=t.touches?t.touches[0]:t,i=Wn(this._element);this._startPoint=new S(e.clientX,e.clientY),this._startPos=$t(this._element),this._parentScale=Ri(i);var n=t.type==="mousedown";C(document,n?"mousemove":"touchmove",this._onMove,this),C(document,n?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(t){if(this._enabled){if(t.touches&&t.touches.length>1){this._moved=!0;return}var e=t.touches&&t.touches.length===1?t.touches[0]:t,i=new S(e.clientX,e.clientY)._subtract(this._startPoint);!i.x&&!i.y||Math.abs(i.x)+Math.abs(i.y)r&&(c=d,r=l);r>i&&(e[c]=1,Ui(t,e,i,n,c),Ui(t,e,i,c,o))}function Lr(t,e){for(var i=[t[0]],n=1,o=0,r=t.length;ne&&(i.push(t[n]),o=n);return oe.max.x&&(i|=2),t.ye.max.y&&(i|=8),i}function Tr(t,e){var i=e.x-t.x,n=e.y-t.y;return i*i+n*n}function ze(t,e,i,n){var o=e.x,r=e.y,c=i.x-o,d=i.y-r,l=c*c+d*d,m;return l>0&&(m=((t.x-o)*c+(t.y-r)*d)/l,m>1?(o=i.x,r=i.y):m>0&&(o+=c*m,r+=d*m)),c=t.x-o,d=t.y-r,n?c*c+d*d:new S(o,r)}function pt(t){return!W(t[0])||typeof t[0][0]!="object"&&typeof t[0][0]<"u"}function oo(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),pt(t)}function ao(t,e){var i,n,o,r,c,d,l,m;if(!t||t.length===0)throw new Error("latlngs not passed");pt(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var b=k([0,0]),w=tt(t),z=w.getNorthWest().distanceTo(w.getSouthWest())*w.getNorthEast().distanceTo(w.getNorthWest());z<1700&&(b=$i(t));var rt=t.length,nt=[];for(i=0;in){l=(r-n)/o,m=[d.x-l*(d.x-c.x),d.y-l*(d.y-c.y)];break}var ht=e.unproject(M(m));return k([ht.lat+b.lat,ht.lng+b.lng])}var Mr={__proto__:null,simplify:to,pointToSegmentDistance:eo,closestPointOnSegment:wr,clipSegment:no,_getEdgeIntersection:Je,_getBitCode:qt,_sqClosestPointOnSegment:ze,isFlat:pt,_flat:oo,polylineCenter:ao},Vi={project:function(t){return new S(t.lng,t.lat)},unproject:function(t){return new F(t.y,t.x)},bounds:new V([-180,-90],[180,90])},qi={R:6378137,R_MINOR:6356752314245179e-9,bounds:new V([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,o=this.R_MINOR/i,r=Math.sqrt(1-o*o),c=r*Math.sin(n),d=Math.tan(Math.PI/4-n/2)/Math.pow((1-c)/(1+c),r/2);return n=-i*Math.log(Math.max(d,1e-10)),new S(t.lng*e*i,n)},unproject:function(t){for(var e=180/Math.PI,i=this.R,n=this.R_MINOR/i,o=Math.sqrt(1-n*n),r=Math.exp(-t.y/i),c=Math.PI/2-2*Math.atan(r),d=0,l=.1,m;d<15&&Math.abs(l)>1e-7;d++)m=o*Math.sin(c),m=Math.pow((1-m)/(1+m),o/2),l=Math.PI/2-2*Math.atan(r*m)-c,c+=l;return new F(c*e,t.x*e/i)}},Sr={__proto__:null,LonLat:Vi,Mercator:qi,SphericalMercator:yi},Cr=u({},Rt,{code:"EPSG:3395",projection:qi,transformation:function(){var t=.5/(Math.PI*qi.R);return Pe(t,.5,-t,.5)}()}),ro=u({},Rt,{code:"EPSG:4326",projection:Vi,transformation:Pe(1/180,1,-1/180,.5)}),Or=u({},At,{projection:Vi,transformation:Pe(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,n=e.lat-t.lat;return Math.sqrt(i*i+n*n)},infinite:!0});At.Earth=Rt,At.EPSG3395=Cr,At.EPSG3857=wi,At.EPSG900913=Ia,At.EPSG4326=ro,At.Simple=Or;var bt=we.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[g(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[g(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var i=this.getEvents();e.on(i,this),this.once("remove",function(){e.off(i,this)},this)}this.onAdd(e),this.fire("add"),e.fire("layeradd",{layer:this})}}});I.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=g(t);return this._layers[e]?this:(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t),this)},removeLayer:function(t){var e=g(t);return this._layers[e]?(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return g(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){t=t?W(t)?t:[t]:[];for(var e=0,i=t.length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&e[0]instanceof F&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){zt.prototype._setLatLngs.call(this,t),pt(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return pt(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new S(e,e);if(t=new V(t.min.subtract(i),t.max.add(i)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(t))){if(this.options.noClip){this._parts=this._rings;return}for(var n=0,o=this._rings.length,r;nt.y!=o.y>t.y&&t.x<(o.x-n.x)*(t.y-n.y)/(o.y-n.y)+n.x&&(e=!e);return e||zt.prototype._containsPoint.call(this,t,!0)}});function Rr(t,e){return new re(t,e)}var Bt=Et.extend({initialize:function(t,e){Z(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e=W(t)?t:t.features,i,n,o;if(e){for(i=0,n=e.length;i0&&o.push(o[0].slice()),o}function se(t,e){return t.feature?u({},t.feature,{geometry:e}):ni(e)}function ni(t){return t.type==="Feature"||t.type==="FeatureCollection"?t:{type:"Feature",properties:{},geometry:t}}var Xi={toGeoJSON:function(t){return se(this,{type:"Point",coordinates:Ji(this.getLatLng(),t)})}};Xe.include(Xi),Yi.include(Xi),Qe.include(Xi),zt.include({toGeoJSON:function(t){var e=!pt(this._latlngs),i=ii(this._latlngs,e?1:0,!1,t);return se(this,{type:(e?"Multi":"")+"LineString",coordinates:i})}}),re.include({toGeoJSON:function(t){var e=!pt(this._latlngs),i=e&&!pt(this._latlngs[0]),n=ii(this._latlngs,i?2:e?1:0,!0,t);return e||(n=[n]),se(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),oe.include({toMultiPoint:function(t){var e=[];return this.eachLayer(function(i){e.push(i.toGeoJSON(t).geometry.coordinates)}),se(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(e==="MultiPoint")return this.toMultiPoint(t);var i=e==="GeometryCollection",n=[];return this.eachLayer(function(o){if(o.toGeoJSON){var r=o.toGeoJSON(t);if(i)n.push(r.geometry);else{var c=ni(r);c.type==="FeatureCollection"?n.push.apply(n,c.features):n.push(c)}}}),i?se(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});function co(t,e){return new Bt(t,e)}var Nr=co,oi=bt.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=tt(e),Z(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(A(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){q(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&ie(this._image),this},bringToBack:function(){return this._map&&ne(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=tt(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t=this._url.tagName==="IMG",e=this._image=t?this._url:R("img");if(A(e,"leaflet-image-layer"),this._zoomAnimated&&A(e,"leaflet-zoom-animated"),this.options.className&&A(e,this.options.className),e.onselectstart=P,e.onmousemove=P,e.onload=p(this.fire,this,"load"),e.onerror=p(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(e.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t){this._url=e.src;return}e.src=this._url,e.alt=this.options.alt},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;Gt(this._image,i,e)},_reset:function(){var t=this._image,e=new V(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();et(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){mt(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),Dr=function(t,e,i){return new oi(t,e,i)},ho=oi.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t=this._url.tagName==="VIDEO",e=this._image=t?this._url:R("video");if(A(e,"leaflet-image-layer"),this._zoomAnimated&&A(e,"leaflet-zoom-animated"),this.options.className&&A(e,this.options.className),e.onselectstart=P,e.onmousemove=P,e.onloadeddata=p(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),n=[],o=0;o0?n:[e.src];return}W(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var r=0;ro?(e.height=o+"px",A(t,r)):K(t,r),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();et(this._container,e.add(i))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var t=this._map,e=parseInt(Me(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+e,n=this._containerWidth,o=new S(this._containerLeft,-i-this._containerBottom);o._add($t(this._container));var r=t.layerPointToContainerPoint(o),c=M(this.options.autoPanPadding),d=M(this.options.autoPanPaddingTopLeft||c),l=M(this.options.autoPanPaddingBottomRight||c),m=t.getSize(),b=0,w=0;r.x+n+l.x>m.x&&(b=r.x+n-m.x+l.x),r.x-b-d.x<0&&(b=r.x-d.x),r.y+i+l.y>m.y&&(w=r.y+i-m.y+l.y),r.y-w-d.y<0&&(w=r.y-d.y),(b||w)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([b,w]))}},_getAnchor:function(){return M(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),jr=function(t,e){return new ai(t,e)};I.mergeOptions({closePopupOnClick:!0}),I.include({openPopup:function(t,e,i){return this._initOverlay(ai,t,e,i).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),bt.include({bindPopup:function(t,e){return this._popup=this._initOverlay(ai,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof Et||(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)){Vt(t);var e=t.layer||t.target;if(this._popup._source===e&&!(e instanceof Dt)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng);return}this._popup._source=e,this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){t.originalEvent.keyCode===13&&this._openPopup(t)}});var ri=Tt.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){Tt.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){Tt.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=Tt.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip",e=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=R("div",e),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+g(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,i,n=this._map,o=this._container,r=n.latLngToContainerPoint(n.getCenter()),c=n.layerPointToContainerPoint(t),d=this.options.direction,l=o.offsetWidth,m=o.offsetHeight,b=M(this.options.offset),w=this._getAnchor();d==="top"?(e=l/2,i=m):d==="bottom"?(e=l/2,i=0):d==="center"?(e=l/2,i=m/2):d==="right"?(e=0,i=m/2):d==="left"?(e=l,i=m/2):c.xthis.options.maxZoom||in?this._retainParent(o,r,c,n):!1)},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var r=2*e;r<2*e+2;r++){var c=new S(o,r);c.z=i+1;var d=this._tileCoordsToKey(c),l=this._tiles[d];if(l&&l.active){l.retain=!0;continue}else l&&l.loaded&&(l.retain=!0);i+1this.options.maxZoom||this.options.minZoom!==void 0&&o1){this._setView(t,i);return}for(var w=o.min.y;w<=o.max.y;w++)for(var z=o.min.x;z<=o.max.x;z++){var rt=new S(z,w);if(rt.z=this._tileZoom,!!this._isValidTile(rt)){var nt=this._tiles[this._tileCoordsToKey(rt)];nt?nt.current=!0:c.push(rt)}}if(c.sort(function(ht,ce){return ht.distanceTo(r)-ce.distanceTo(r)}),c.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var gt=document.createDocumentFragment();for(z=0;zi.max.x)||!e.wrapLat&&(t.yi.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return tt(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),o=n.add(i),r=e.unproject(n,t.z),c=e.unproject(o,t.z);return[r,c]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),i=new ct(e[0],e[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),i=new S(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(q(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){A(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=P,t.onmousemove=P,y.ielt9&&this.options.opacity<1&&mt(t,this.options.opacity)},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),p(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&Y(p(this._tileReady,this,t,null,o)),et(o,i),this._tiles[n]={el:o,coords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);i=this._tiles[n],i&&(i.loaded=+new Date,this._map._fadeAnimated?(mt(i.el,0),_t(this._fadeFrame),this._fadeFrame=Y(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(A(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),y.ielt9||!this._map._fadeAnimated?Y(this._pruneTiles,this):setTimeout(p(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new S(this._wrapX?x(t.x,this._wrapX):t.x,this._wrapY?x(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new V(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function $r(t){return new ke(t)}var fe=ke.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,e=Z(this,e),e.detectRetina&&y.retina&&e.maxZoom>0?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),typeof e.subdomains=="string"&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&e===void 0&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return C(i,"load",p(this._tileOnLoad,this,e,i)),C(i,"error",p(this._tileOnError,this,e,i)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(i.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(i.referrerPolicy=this.options.referrerPolicy),i.alt="",i.src=this.getTileUrl(t),i},getTileUrl:function(t){var e={r:y.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=i),e["-y"]=i}return X(this._url,u(e,this.options))},_tileOnLoad:function(t,e){y.ielt9?setTimeout(p(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom,i=this.options.zoomReverse,n=this.options.zoomOffset;return i&&(t=e-t),t+n},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&(e=this._tiles[t].el,e.onload=P,e.onerror=P,!e.complete)){e.src=xt;var i=this._tiles[t].coords;q(e),delete this._tiles[t],this.fire("tileabort",{tile:e,coords:i})}},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",xt),ke.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(!(!this._map||i&&i.getAttribute("src")===xt))return ke.prototype._tileReady.call(this,t,e,i)}});function _o(t,e){return new fe(t,e)}var mo=fe.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var i=u({},this.defaultWmsParams);for(var n in e)n in this.options||(i[n]=e[n]);e=Z(this,e);var o=e.detectRetina&&y.retina?2:1,r=this.getTileSize();i.width=r.x*o,i.height=r.y*o,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,fe.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,n=ft(i.project(e[0]),i.project(e[1])),o=n.min,r=n.max,c=(this._wmsVersion>=1.3&&this._crs===ro?[o.y,o.x,r.y,r.x]:[o.x,o.y,r.x,r.y]).join(","),d=fe.prototype.getTileUrl.call(this,t);return d+st(this.wmsParams,d,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+c},setParams:function(t,e){return u(this.wmsParams,t),e||this.redraw(),this}});function Ur(t,e){return new mo(t,e)}fe.WMS=mo,_o.wms=Ur;var kt=bt.extend({options:{padding:.1},initialize:function(t){Z(this,t),g(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),A(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e),r=n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t,e));y.any3d?Gt(this._container,r,i):et(this._container,r)},_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,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new V(i,i.add(e.multiplyBy(1+t*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),po=kt.extend({options:{tolerance:0},getEvents:function(){var t=kt.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){kt.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");C(t,"mousemove",this._onMouseMove,this),C(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),C(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){_t(this._redrawRequest),delete this._ctx,q(this._container),G(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;this._redrawBounds=null;for(var e in this._layers)t=this._layers[e],t._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){kt.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),n=y.retina?2:1;et(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",y.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){kt.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[g(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,n=e.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete t._order,delete this._layers[g(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if(typeof t.options.dashArray=="string"){var e=t.options.dashArray.split(/[, ]+/),i=[],n,o;for(o=0;o')}}catch{}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Vr={_initContainer:function(){this._container=R("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(kt.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Ie("shape");A(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Ie("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[g(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;q(e),t.removeInteractiveTarget(e),delete this._layers[g(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e||(e=t._stroke=Ie("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=W(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i||(i=t._fill=Ie("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,"+65535*360)},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){ie(t._container)},_bringToBack:function(t){ne(t._container)}},si=y.vml?Ie:yn,Ze=kt.extend({_initContainer:function(){this._container=si("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=si("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){q(this._container),G(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){kt.prototype._update.call(this);var t=this._bounds,e=t.getSize(),i=this._container;(!this._svgSize||!this._svgSize.equals(e))&&(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),et(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=si("path");t.options.className&&A(e,t.options.className),t.options.interactive&&A(e,"leaflet-interactive"),this._updateStyle(t),this._layers[g(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){q(t._path),t.removeInteractiveTarget(t._path),delete this._layers[g(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,i=t.options;e&&(i.stroke?(e.setAttribute("stroke",i.color),e.setAttribute("stroke-opacity",i.opacity),e.setAttribute("stroke-width",i.weight),e.setAttribute("stroke-linecap",i.lineCap),e.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?e.setAttribute("stroke-dasharray",i.dashArray):e.removeAttribute("stroke-dasharray"),i.dashOffset?e.setAttribute("stroke-dashoffset",i.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),i.fill?(e.setAttribute("fill",i.fillColor||i.color),e.setAttribute("fill-opacity",i.fillOpacity),e.setAttribute("fill-rule",i.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,xn(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n=Math.max(Math.round(t._radiusY),1)||i,o="a"+i+","+n+" 0 1,0 ",r=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+o+i*2+",0 "+o+-i*2+",0 ";this._setPath(t,r)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){ie(t._path)},_bringToBack:function(t){ne(t._path)}});y.vml&&Ze.include(Vr);function vo(t){return y.svg||y.vml?new Ze(t):null}I.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if(t==="overlayPane"||t===void 0)return!1;var e=this._paneRenderers[t];return e===void 0&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&go(t)||vo(t)}});var bo=re.extend({initialize:function(t,e){re.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=tt(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function qr(t,e){return new bo(t,e)}Ze.create=si,Ze.pointsToPath=xn,Bt.geometryToLayer=ti,Bt.coordsToLatLng=Ki,Bt.coordsToLatLngs=ei,Bt.latLngToCoords=Ji,Bt.latLngsToCoords=ii,Bt.getFeature=se,Bt.asFeature=ni,I.mergeOptions({boxZoom:!0});var yo=Lt.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(){C(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){G(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){q(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(),Se(),Bi(),this._startPoint=this._map.mouseEventToContainerPoint(t),C(document,{contextmenu:Vt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=R("div","leaflet-zoom-box",this._container),A(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new V(this._point,this._startPoint),i=e.getSize();et(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(q(this._box),K(this._container,"leaflet-crosshair")),Ce(),ki(),G(document,{contextmenu:Vt,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(p(this._resetState,this),0);var e=new ct(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){t.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});I.addInitHook("addHandler","boxZoom",yo),I.mergeOptions({doubleClickZoom:!0});var xo=Lt.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,o=t.originalEvent.shiftKey?i-n:i+n;e.options.doubleClickZoom==="center"?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}});I.addInitHook("addHandler","doubleClickZoom",xo),I.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var wo=Lt.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new Nt(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))}A(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){K(this._map._container,"leaflet-grab"),K(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=tt(this._map.options.maxBounds);this._offsetLimit=ft(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,r=(n+e+i)%t-e-i,c=Math.abs(o+i)0?r:-r))-e;this._delta=0,this._startTime=null,c&&(t.options.scrollWheelZoom==="center"?t.setZoom(e+c):t.setZoomAround(this._lastMousePos,e+c))}});I.addInitHook("addHandler","scrollWheelZoom",Lo);var Yr=600;I.mergeOptions({tapHold:y.touchNative&&y.safari&&y.mobile,tapTolerance:15});var To=Lt.extend({addHooks:function(){C(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){G(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),t.touches.length===1){var e=t.touches[0];this._startPos=this._newPos=new S(e.clientX,e.clientY),this._holdTimeout=setTimeout(p(function(){this._cancel(),this._isTapValid()&&(C(document,"touchend",ot),C(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))},this),Yr),C(document,"touchend touchcancel contextmenu",this._cancel,this),C(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){G(document,"touchend",ot),G(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),G(document,"touchend touchcancel contextmenu",this._cancel,this),G(document,"touchmove",this._onMove,this)},_onMove:function(t){var e=t.touches[0];this._newPos=new S(e.clientX,e.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){var i=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});i._simulated=!0,e.target.dispatchEvent(i)}});I.addInitHook("addHandler","tapHold",To),I.mergeOptions({touchZoom:y.touch,bounceAtZoomLimits:!0});var Mo=Lt.extend({addHooks:function(){A(this._map._container,"leaflet-touch-zoom"),C(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){K(this._map._container,"leaflet-touch-zoom"),G(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(!(!t.touches||t.touches.length!==2||e._animatingZoom||this._zooming)){var i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),e.options.touchZoom!=="center"&&(this._pinchStartLatLng=e.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),C(document,"touchmove",this._onTouchMove,this),C(document,"touchend touchcancel",this._onTouchEnd,this),ot(t)}},_onTouchMove:function(t){if(!(!t.touches||t.touches.length!==2||!this._zooming)){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),o=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&o>1)&&(this._zoom=e._limitZoom(this._zoom)),e.options.touchZoom==="center"){if(this._center=this._startLatLng,o===1)return}else{var r=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(o===1&&r.x===0&&r.y===0)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),_t(this._animRequest);var c=p(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=Y(c,this,!0),ot(t)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,_t(this._animRequest),G(document,"touchmove",this._onTouchMove,this),G(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))}});I.addInitHook("addHandler","touchZoom",Mo),I.BoxZoom=yo,I.DoubleClickZoom=xo,I.Drag=wo,I.Keyboard=Po,I.ScrollWheelZoom=Lo,I.TapHold=To,I.TouchZoom=Mo,s.Bounds=V,s.Browser=y,s.CRS=At,s.Canvas=po,s.Circle=Yi,s.CircleMarker=Qe,s.Class=Ot,s.Control=vt,s.DivIcon=uo,s.DivOverlay=Tt,s.DomEvent=ur,s.DomUtil=dr,s.Draggable=Nt,s.Evented=we,s.FeatureGroup=Et,s.GeoJSON=Bt,s.GridLayer=ke,s.Handler=Lt,s.Icon=ae,s.ImageOverlay=oi,s.LatLng=F,s.LatLngBounds=ct,s.Layer=bt,s.LayerGroup=oe,s.LineUtil=Mr,s.Map=I,s.Marker=Xe,s.Mixin=yr,s.Path=Dt,s.Point=S,s.PolyUtil=xr,s.Polygon=re,s.Polyline=zt,s.Popup=ai,s.PosAnimation=qn,s.Projection=Sr,s.Rectangle=bo,s.Renderer=kt,s.SVG=Ze,s.SVGOverlay=lo,s.TileLayer=fe,s.Tooltip=ri,s.Transformation=xi,s.Util=Ba,s.VideoOverlay=ho,s.bind=p,s.bounds=ft,s.canvas=go,s.circle=Ir,s.circleMarker=kr,s.control=Ee,s.divIcon=Gr,s.extend=u,s.featureGroup=Er,s.geoJSON=co,s.geoJson=Nr,s.gridLayer=$r,s.icon=zr,s.imageOverlay=Dr,s.latLng=k,s.latLngBounds=tt,s.layerGroup=Ar,s.map=_r,s.marker=Br,s.point=M,s.polygon=Rr,s.polyline=Zr,s.popup=jr,s.rectangle=qr,s.setOptions=Z,s.stamp=g,s.svg=vo,s.svgOverlay=Fr,s.tileLayer=_o,s.tooltip=Wr,s.transformation=Pe,s.version=h,s.videoOverlay=Hr;var Kr=window.L;s.noConflict=function(){return window.L=Kr,this},window.L=s})})(an,an.exports);var sn=an.exports;const _s=us(sn),ms=ds({__proto__:null,default:_s},[sn]),Eo=(a,f)=>{for(const s of Object.keys(f))a.on(s,f[s])},ps=a=>{for(const f of Object.keys(a)){const s=a[f];s&&Yt(s.cancel)&&s.cancel()}},gs=a=>!a||typeof a.charAt!="function"?a:a.charAt(0).toUpperCase()+a.slice(1),Yt=a=>typeof a=="function",pe=(a,f,s)=>{for(const h in s){const u="set"+gs(h);a[u]?on(()=>s[h],(_,p)=>{a[u](_,p)}):f[u]&&on(()=>s[h],_=>{f[u](_)})}},Wt=(a,f,s={})=>{const h={...s};for(const u in a){const _=f[u],p=a[u];_&&(_&&_.custom===!0||p!==void 0&&(h[u]=p))}return h},je=a=>{const f={},s={};for(const h in a)if(h.startsWith("on")&&!h.startsWith("onUpdate")&&h!=="onReady"){const u=h.slice(2).toLocaleLowerCase();f[u]=a[h]}else s[h]=a[h];return{listeners:f,attrs:s}},vs=async a=>{const f=await Promise.all([Mt(()=>import("./marker-icon-2x-D4k_ikNW.js"),__vite__mapDeps([])),Mt(()=>import("./marker-icon-C2eJqgqv.js"),__vite__mapDeps([])),Mt(()=>import("./marker-shadow-DU6CIJ0p.js"),__vite__mapDeps([]))]);delete a.Default.prototype._getIconUrl,a.Default.mergeOptions({iconRetinaUrl:f[0].default,iconUrl:f[1].default,shadowUrl:f[2].default})},ci=a=>{const f=lt((...h)=>console.warn(`Method ${a} has been invoked without being replaced`)),s=(...h)=>f.value(...h);return s.wrapped=f,Ht(a,s),s},hi=(a,f)=>a.wrapped.value=f,Ft=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||globalThis,Zt=a=>{const f=ue(a);if(f===void 0)throw new Error(`Attempt to inject ${a.description} before it was provided.`);return f},ge=Symbol("useGlobalLeaflet"),ve=Symbol("addLayer"),fn=Symbol("removeLayer"),Yo=Symbol("registerControl"),bs=Symbol("registerLayerControl"),ys=Symbol("canSetParentHtml"),xs=Symbol("setParentHtml"),ws=Symbol("setIcon"),Ps=Symbol("bindPopup"),Ls=Symbol("bindTooltip"),Ts=Symbol("unbindPopup"),Ms=Symbol("unbindTooltip"),We={options:{type:Object,default:()=>({}),custom:!0}},pi=a=>({options:a.options,methods:{}}),be={...We,pane:{type:String},attribution:{type:String},name:{type:String,custom:!0},layerType:{type:String,custom:!0},visible:{type:Boolean,custom:!0,default:!0}},Ko=(a,f,s)=>{const h=Zt(ve),u=Zt(fn),{options:_,methods:p}=pi(a),v=Wt(a,be,_),g=()=>h({leafletObject:f.value}),T=()=>u({leafletObject:f.value}),x={...p,setAttribution(P){T(),f.value.options.attribution=P,a.visible&&g()},setName(){T(),a.visible&&g()},setLayerType(){T(),a.visible&&g()},setVisible(P){f.value&&(P?g():T())},bindPopup(P){if(!f.value||!Yt(f.value.bindPopup)){console.warn("Attempt to bind popup before bindPopup method available on layer.");return}f.value.bindPopup(P)},bindTooltip(P){if(!f.value||!Yt(f.value.bindTooltip)){console.warn("Attempt to bind tooltip before bindTooltip method available on layer.");return}f.value.bindTooltip(P)},unbindTooltip(){f.value&&(Yt(f.value.closeTooltip)&&f.value.closeTooltip(),Yt(f.value.unbindTooltip)&&f.value.unbindTooltip())},unbindPopup(){f.value&&(Yt(f.value.closePopup)&&f.value.closePopup(),Yt(f.value.unbindPopup)&&f.value.unbindPopup())},updateVisibleProp(P){s.emit("update:visible",P)}};return Ht(Ps,x.bindPopup),Ht(Ls,x.bindTooltip),Ht(Ts,x.unbindPopup),Ht(Ms,x.unbindTooltip),rn(()=>{x.unbindPopup(),x.unbindTooltip(),T()}),{options:v,methods:x}},Ss=(a,f)=>{if(a&&f.default)return me("div",{style:{display:"none"}},f.default())},Cs={...be,interactive:{type:Boolean,default:void 0},bubblingMouseEvents:{type:Boolean,default:void 0}},Jo={...Cs,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}},Os={...Jo,radius:{type:Number},latLng:{type:[Object,Array],required:!0,custom:!0}};({...Os});const ye={...We,position:{type:String}},As=(a,f)=>{const{options:s,methods:h}=pi(a),u=Wt(a,ye,s),_={...h,setPosition(p){f.value&&f.value.setPosition(p)}};return rn(()=>{f.value&&f.value.remove()}),{options:u,methods:_}},Es=a=>a.default?me("div",{ref:"root"},a.default()):null;jt({name:"LControl",props:{...ye,disableClickPropagation:{type:Boolean,custom:!0,default:!0},disableScrollPropagation:{type:Boolean,custom:!0,default:!1}},setup(a,f){const s=lt(),h=lt(),u=ue(ge),_=Zt(Yo),{options:p,methods:v}=As(a,s);return _e(async()=>{const{Control:g,DomEvent:T}=u?Ft.L:await Mt(()=>import("./leaflet-src.esm-HdBnhJze.js"),__vite__mapDeps([])),x=g.extend({onAdd(){return h.value}});s.value=Fe(new x(p)),pe(v,s.value,a),_({leafletObject:s.value}),a.disableClickPropagation&&h.value&&T.disableClickPropagation(h.value),a.disableScrollPropagation&&h.value&&T.disableScrollPropagation(h.value),Qt(()=>f.emit("ready",s.value))}),{root:h,leafletObject:s}},render(){return Es(this.$slots)}});({...ye});({...ye});({...ye});({...ye});const cn={...be},zs=(a,f,s)=>{const{options:h,methods:u}=Ko(a,f,s),_=Wt(a,cn,h),p={...u,addLayer(v){f.value.addLayer(v.leafletObject)},removeLayer(v){f.value.removeLayer(v.leafletObject)}};return Ht(ve,p.addLayer),Ht(fn,p.removeLayer),{options:_,methods:p}};({...cn});const Xo={...cn,geojson:{type:[Object,Array],custom:!0},optionsStyle:{type:Function,custom:!0}},Bs=(a,f,s)=>{const{options:h,methods:u}=zs(a,f,s),_=Wt(a,Xo,h);Object.prototype.hasOwnProperty.call(a,"optionsStyle")&&(_.style=a.optionsStyle);const p={...u,setGeojson(v){f.value.clearLayers(),f.value.addData(v)},setOptionsStyle(v){f.value.setStyle(v)},getGeoJSONData(){return f.value.toGeoJSON()},getBounds(){return f.value.getBounds()}};return{options:_,methods:p}},ks=jt({props:Xo,setup(a,f){const s=lt(),h=lt(!1),u=ue(ge),_=Zt(ve),{methods:p,options:v}=Bs(a,s,f);return _e(async()=>{const{geoJSON:g}=u?Ft.L:await Mt(()=>import("./leaflet-src.esm-HdBnhJze.js"),__vite__mapDeps([]));s.value=Fe(g(a.geojson,v));const{listeners:T}=je(f.attrs);s.value.on(T),pe(p,s.value,a),_({...a,...p,leafletObject:s.value}),h.value=!0,Qt(()=>f.emit("ready",s.value))}),{ready:h,leafletObject:s}},render(){return Ss(this.ready,this.$slots)}}),hn={...be,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}},Qo=(a,f,s)=>{const{options:h,methods:u}=Ko(a,f,s),_=Wt(a,hn,h),p={...u,setTileComponent(){var v;(v=f.value)==null||v.redraw()}};return rn(()=>{f.value.off()}),{options:_,methods:p}},Is=(a,f,s,h)=>a.extend({initialize(u){this.tileComponents={},this.on("tileunload",this._unloadTile),s.setOptions(this,u)},createTile(u){const _=this._tileCoordsToKey(u);this.tileComponents[_]=f.create("div");const p=me({setup:h,props:["coords"]},{coords:u});return ss(p,this.tileComponents[_]),this.tileComponents[_]},_unloadTile(u){const _=this._tileCoordsToKey(u.coords);this.tileComponents[_]&&(this.tileComponents[_].innerHTML="",this.tileComponents[_]=void 0)}});jt({props:{...hn,childRender:{type:Function,required:!0}},setup(a,f){const s=lt(),h=lt(null),u=lt(!1),_=ue(ge),p=Zt(ve),{options:v,methods:g}=Qo(a,s,f);return _e(async()=>{const{GridLayer:T,DomUtil:x,Util:P}=_?Ft.L:await Mt(()=>import("./leaflet-src.esm-HdBnhJze.js"),__vite__mapDeps([])),D=Is(T,x,P,a.childRender);s.value=Fe(new D(v));const{listeners:N}=je(f.attrs);s.value.on(N),pe(g,s.value,a),p({...a,...g,leafletObject:s.value}),u.value=!0,Qt(()=>f.emit("ready",s.value))}),{root:h,ready:u,leafletObject:s}},render(){return this.ready?me("div",{style:{display:"none"},ref:"root"}):null}});const zo={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}};jt({name:"LIcon",props:{...zo,...We},setup(a,f){const s=lt(),h=ue(ge),u=Zt(ys),_=Zt(xs),p=Zt(ws);let v,g,T,x,P;const D=(st,$,X)=>{const W=st&&st.innerHTML;if(!$){X&&P&&u()&&_(W);return}const{listeners:ut}=je(f.attrs);P&&g(P,ut);const{options:xt}=pi(a),B=Wt(a,zo,xt);W&&(B.html=W),P=B.html?T(B):x(B),v(P,ut),p(P)},N=()=>{Qt(()=>D(s.value,!0,!1))},J=()=>{Qt(()=>D(s.value,!1,!0))},Z={setIconUrl:N,setIconRetinaUrl:N,setIconSize:N,setIconAnchor:N,setPopupAnchor:N,setTooltipAnchor:N,setShadowUrl:N,setShadowRetinaUrl:N,setShadowAnchor:N,setBgPos:N,setClassName:N,setHtml:N};return _e(async()=>{const{DomEvent:st,divIcon:$,icon:X}=h?Ft.L:await Mt(()=>import("./leaflet-src.esm-HdBnhJze.js"),__vite__mapDeps([]));v=st.on,g=st.off,T=$,x=X,pe(Z,{},a),new MutationObserver(J).observe(s.value,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),N()}),{root:s}},render(){const a=this.$slots.default?this.$slots.default():void 0;return me("div",{ref:"root"},a)}});({...be});function Zs(a,f,s){var h,u,_;f===void 0&&(f=50),s===void 0&&(s={});var p=(h=s.isImmediate)!=null&&h,v=(u=s.callback)!=null&&u,g=s.maxWait,T=Date.now(),x=[];function P(){if(g!==void 0){var N=Date.now()-T;if(N+f>=g)return g-N}return f}var D=function(){var N=[].slice.call(arguments),J=this;return new Promise(function(Z,st){var $=p&&_===void 0;if(_!==void 0&&clearTimeout(_),_=setTimeout(function(){if(_=void 0,T=Date.now(),!p){var W=a.apply(J,N);v&&v(W),x.forEach(function(ut){return(0,ut.resolve)(W)}),x=[]}},P()),$){var X=a.apply(J,N);return v&&v(X),Z(X)}x.push({resolve:Z,reject:st})})};return D.cancel=function(N){_!==void 0&&clearTimeout(_),x.forEach(function(J){return(0,J.reject)(N)}),x=[]},D}const Bo={...We,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}},Rs=jt({inheritAttrs:!1,emits:["ready","update:zoom","update:center","update:bounds"],props:Bo,setup(a,f){const s=lt(),h=as({ready:!1,layersToAdd:[],layersInControl:[]}),{options:u}=pi(a),_=Wt(a,Bo,u),{listeners:p,attrs:v}=je(f.attrs),g=ci(ve),T=ci(fn),x=ci(Yo),P=ci(bs);Ht(ge,a.useGlobalLeaflet);const D=It(()=>{const $={};return a.noBlockingAnimations&&($.animate=!1),$}),N=It(()=>{const $=D.value;return a.padding&&($.padding=a.padding),a.paddingTopLeft&&($.paddingTopLeft=a.paddingTopLeft),a.paddingBottomRight&&($.paddingBottomRight=a.paddingBottomRight),$}),J={moveend:Zs($=>{h.leafletRef&&(f.emit("update:zoom",h.leafletRef.getZoom()),f.emit("update:center",h.leafletRef.getCenter()),f.emit("update:bounds",h.leafletRef.getBounds()))}),overlayadd($){const X=h.layersInControl.find(W=>W.name===$.name);X&&X.updateVisibleProp(!0)},overlayremove($){const X=h.layersInControl.find(W=>W.name===$.name);X&&X.updateVisibleProp(!1)}};_e(async()=>{a.useGlobalLeaflet&&(Ft.L=Ft.L||await Mt(()=>Promise.resolve().then(()=>ms),void 0));const{map:$,CRS:X,Icon:W,latLngBounds:ut,latLng:xt,stamp:B}=a.useGlobalLeaflet?Ft.L:await Mt(()=>import("./leaflet-src.esm-HdBnhJze.js"),__vite__mapDeps([]));try{_.beforeMapMount&&await _.beforeMapMount()}catch(E){console.error(`The following error occurred running the provided beforeMapMount hook ${E.message}`)}await vs(W);const Q=typeof _.crs=="string"?X[_.crs]:_.crs;_.crs=Q||X.EPSG3857;const U={addLayer(E){E.layerType!==void 0&&(h.layerControl===void 0?h.layersToAdd.push(E):h.layersInControl.find(H=>B(H.leafletObject)===B(E.leafletObject))||(h.layerControl.addLayer(E),h.layersInControl.push(E))),E.visible!==!1&&h.leafletRef.addLayer(E.leafletObject)},removeLayer(E){E.layerType!==void 0&&(h.layerControl===void 0?h.layersToAdd=h.layersToAdd.filter(H=>H.name!==E.name):(h.layerControl.removeLayer(E.leafletObject),h.layersInControl=h.layersInControl.filter(H=>B(H.leafletObject)!==B(E.leafletObject)))),h.leafletRef.removeLayer(E.leafletObject)},registerLayerControl(E){h.layerControl=E,h.layersToAdd.forEach(H=>{h.layerControl.addLayer(H)}),h.layersToAdd=[],x(E)},registerControl(E){h.leafletRef.addControl(E.leafletObject)},setZoom(E){const H=h.leafletRef.getZoom();E!==H&&h.leafletRef.setZoom(E,D.value)},setCrs(E){const H=h.leafletRef.getBounds();h.leafletRef.options.crs=E,h.leafletRef.fitBounds(H,{animate:!1,padding:[0,0]})},fitBounds(E){h.leafletRef.fitBounds(E,N.value)},setBounds(E){if(!E)return;const H=ut(E);H.isValid()&&!(h.lastSetBounds||h.leafletRef.getBounds()).equals(H,0)&&(h.lastSetBounds=H,h.leafletRef.fitBounds(H))},setCenter(E){if(E==null)return;const H=xt(E),Y=h.lastSetCenter||h.leafletRef.getCenter();(Y.lat!==H.lat||Y.lng!==H.lng)&&(h.lastSetCenter=H,h.leafletRef.panTo(H,D.value))}};hi(g,U.addLayer),hi(T,U.removeLayer),hi(x,U.registerControl),hi(P,U.registerLayerControl),h.leafletRef=Fe($(s.value,_)),pe(U,h.leafletRef,a),Eo(h.leafletRef,J),Eo(h.leafletRef,p),h.ready=!0,Qt(()=>f.emit("ready",h.leafletRef))}),rs(()=>{ps(J),h.leafletRef&&(h.leafletRef.off(),h.leafletRef.remove())});const Z=It(()=>h.leafletRef),st=It(()=>h.ready);return{root:s,ready:st,leafletObject:Z,attrs:v}},render({attrs:a}){return a.style||(a.style={}),a.style.width||(a.style.width="100%"),a.style.height||(a.style.height="100%"),me("div",{...a,ref:"root"},this.ready&&this.$slots.default?this.$slots.default():{})}});({...be});const Ns={...Jo,smoothFactor:{type:Number},noClip:{type:Boolean,default:void 0},latLngs:{type:Array,required:!0,custom:!0}},ko={...Ns},ta={...We,content:{type:String,default:null}};({...ta});({...ko,latLngs:{...ko.latLngs}});const dn={...hn,tms:{type:Boolean,default:void 0},subdomains:{type:[String,Array],validator:a=>typeof a=="string"?!0:Array.isArray(a)?a.every(f=>typeof f=="string"):!1},detectRetina:{type:Boolean,default:void 0},url:{type:String,required:!0,custom:!0}},Ds=(a,f,s)=>{const{options:h,methods:u}=Qo(a,f,s),_=Wt(a,dn,h),p={...u};return{options:_,methods:p}},Hs=jt({props:dn,setup(a,f){const s=lt(),h=ue(ge),u=Zt(ve),{options:_,methods:p}=Ds(a,s,f);return _e(async()=>{const{tileLayer:v}=h?Ft.L:await Mt(()=>import("./leaflet-src.esm-HdBnhJze.js"),__vite__mapDeps([]));s.value=Fe(v(a.url,_));const{listeners:g}=je(f.attrs);s.value.on(g),pe(p,s.value,a),u({...a,...p,leafletObject:s.value}),Qt(()=>f.emit("ready",s.value))}),{leafletObject:s}},render(){return null}});({...ta});({...dn});function O(a){for(var f=a.length/6|0,s=new Array(f),h=0;h>8&15|f>>4&240,f>>4&15|f&240,(f&15)<<4|f&15,1):s===8?di(f>>24&255,f>>16&255,f>>8&255,(f&255)/255):s===4?di(f>>12&15|f>>8&240,f>>8&15|f>>4&240,f>>4&15|f&240,((f&15)<<4|f&15)/255):null):(f=Qs.exec(a))?new at(f[1],f[2],f[3],1):(f=tf.exec(a))?new at(f[1]*255/100,f[2]*255/100,f[3]*255/100,1):(f=ef.exec(a))?di(f[1],f[2],f[3],f[4]):(f=nf.exec(a))?di(f[1]*255/100,f[2]*255/100,f[3]*255/100,f[4]):(f=of.exec(a))?Fo(f[1],f[2]/100,f[3]/100,1):(f=af.exec(a))?Fo(f[1],f[2]/100,f[3]/100,f[4]):Io.hasOwnProperty(a)?No(Io[a]):a==="transparent"?new at(NaN,NaN,NaN,0):null}function No(a){return new at(a>>16&255,a>>8&255,a&255,1)}function di(a,f,s,h){return h<=0&&(a=f=s=NaN),new at(a,f,s,h)}function ea(a){return a instanceof xe||(a=un(a)),a?(a=a.rgb(),new at(a.r,a.g,a.b,a.opacity)):new at}function De(a,f,s,h){return arguments.length===1?ea(a):new at(a,f,s,h??1)}function at(a,f,s,h){this.r=+a,this.g=+f,this.b=+s,this.opacity=+h}gi(at,De,ln(xe,{brighter(a){return a=a==null?le:Math.pow(le,a),new at(this.r*a,this.g*a,this.b*a,this.opacity)},darker(a){return a=a==null?te:Math.pow(te,a),new at(this.r*a,this.g*a,this.b*a,this.opacity)},rgb(){return this},clamp(){return new at(Jt(this.r),Jt(this.g),Jt(this.b),mi(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Do,formatHex:Do,formatHex8:ff,formatRgb:Ho,toString:Ho}));function Do(){return`#${Kt(this.r)}${Kt(this.g)}${Kt(this.b)}`}function ff(){return`#${Kt(this.r)}${Kt(this.g)}${Kt(this.b)}${Kt((isNaN(this.opacity)?1:this.opacity)*255)}`}function Ho(){const a=mi(this.opacity);return`${a===1?"rgb(":"rgba("}${Jt(this.r)}, ${Jt(this.g)}, ${Jt(this.b)}${a===1?")":`, ${a})`}`}function mi(a){return isNaN(a)?1:Math.max(0,Math.min(1,a))}function Jt(a){return Math.max(0,Math.min(255,Math.round(a)||0))}function Kt(a){return a=Jt(a),(a<16?"0":"")+a.toString(16)}function Fo(a,f,s,h){return h<=0?a=f=s=NaN:s<=0||s>=1?a=f=NaN:f<=0&&(a=NaN),new yt(a,f,s,h)}function ia(a){if(a instanceof yt)return new yt(a.h,a.s,a.l,a.opacity);if(a instanceof xe||(a=un(a)),!a)return new yt;if(a instanceof yt)return a;a=a.rgb();var f=a.r/255,s=a.g/255,h=a.b/255,u=Math.min(f,s,h),_=Math.max(f,s,h),p=NaN,v=_-u,g=(_+u)/2;return v?(f===_?p=(s-h)/v+(s0&&g<1?0:p,new yt(p,v,g,a.opacity)}function cf(a,f,s,h){return arguments.length===1?ia(a):new yt(a,f,s,h??1)}function yt(a,f,s,h){this.h=+a,this.s=+f,this.l=+s,this.opacity=+h}gi(yt,cf,ln(xe,{brighter(a){return a=a==null?le:Math.pow(le,a),new yt(this.h,this.s,this.l*a,this.opacity)},darker(a){return a=a==null?te:Math.pow(te,a),new yt(this.h,this.s,this.l*a,this.opacity)},rgb(){var a=this.h%360+(this.h<0)*360,f=isNaN(a)||isNaN(this.s)?0:this.s,s=this.l,h=s+(s<.5?s:1-s)*f,u=2*s-h;return new at(nn(a>=240?a-240:a+120,u,h),nn(a,u,h),nn(a<120?a+240:a-120,u,h),this.opacity)},clamp(){return new yt(jo(this.h),li(this.s),li(this.l),mi(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const a=mi(this.opacity);return`${a===1?"hsl(":"hsla("}${jo(this.h)}, ${li(this.s)*100}%, ${li(this.l)*100}%${a===1?")":`, ${a})`}`}}));function jo(a){return a=(a||0)%360,a<0?a+360:a}function li(a){return Math.max(0,Math.min(1,a||0))}function nn(a,f,s){return(a<60?f+(s-f)*a/60:a<180?s:a<240?f+(s-f)*(240-a)/60:f)*255}const hf=Math.PI/180,df=180/Math.PI;var na=-.14861,_n=1.78277,mn=-.29227,vi=-.90649,He=1.97294,Wo=He*vi,Go=He*_n,$o=_n*mn-vi*na;function lf(a){if(a instanceof Xt)return new Xt(a.h,a.s,a.l,a.opacity);a instanceof at||(a=ea(a));var f=a.r/255,s=a.g/255,h=a.b/255,u=($o*h+Wo*f-Go*s)/($o+Wo-Go),_=h-u,p=(He*(s-u)-mn*_)/vi,v=Math.sqrt(p*p+_*_)/(He*u*(1-u)),g=v?Math.atan2(p,_)*df-120:NaN;return new Xt(g<0?g+360:g,v,u,a.opacity)}function Ct(a,f,s,h){return arguments.length===1?lf(a):new Xt(a,f,s,h??1)}function Xt(a,f,s,h){this.h=+a,this.s=+f,this.l=+s,this.opacity=+h}gi(Xt,Ct,ln(xe,{brighter(a){return a=a==null?le:Math.pow(le,a),new Xt(this.h,this.s,this.l*a,this.opacity)},darker(a){return a=a==null?te:Math.pow(te,a),new Xt(this.h,this.s,this.l*a,this.opacity)},rgb(){var a=isNaN(this.h)?0:(this.h+120)*hf,f=+this.l,s=isNaN(this.s)?0:this.s*f*(1-f),h=Math.cos(a),u=Math.sin(a);return new at(255*(f+s*(na*h+_n*u)),255*(f+s*(mn*h+vi*u)),255*(f+s*(He*h)),this.opacity)}}));function uf(a,f,s,h,u){var _=a*a,p=_*a;return((1-3*a+3*_-p)*f+(4-6*_+3*p)*s+(1+3*a+3*_-3*p)*h+p*u)/6}function _f(a){var f=a.length-1;return function(s){var h=s<=0?s=0:s>=1?(s=1,f-1):Math.floor(s*f),u=a[h],_=a[h+1],p=h>0?a[h-1]:2*u-_,v=h()=>a;function oa(a,f){return function(s){return a+s*f}}function mf(a,f,s){return a=Math.pow(a,s),f=Math.pow(f,s)-a,s=1/s,function(h){return Math.pow(a+h*f,s)}}function pf(a,f){var s=f-a;return s?oa(a,s>180||s<-180?s-360*Math.round(s/360):s):pn(isNaN(a)?f:a)}function gf(a){return(a=+a)==1?de:function(f,s){return s-f?mf(f,s,a):pn(isNaN(f)?s:f)}}function de(a,f){var s=f-a;return s?oa(a,s):pn(isNaN(a)?f:a)}(function a(f){var s=gf(f);function h(u,_){var p=s((u=De(u)).r,(_=De(_)).r),v=s(u.g,_.g),g=s(u.b,_.b),T=de(u.opacity,_.opacity);return function(x){return u.r=p(x),u.g=v(x),u.b=g(x),u.opacity=T(x),u+""}}return h.gamma=a,h})(1);function vf(a){return function(f){var s=f.length,h=new Array(s),u=new Array(s),_=new Array(s),p,v;for(p=0;pbf(a[a.length-1]);var ra=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(O);const yf=j(ra);var sa=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(O);const xf=j(sa);var fa=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(O);const wf=j(fa);var ca=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(O);const Pf=j(ca);var ha=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(O);const Lf=j(ha);var da=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(O);const Tf=j(da);var la=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(O);const Mf=j(la);var ua=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(O);const Sf=j(ua);var _a=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(O);const Cf=j(_a);var ma=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(O);const Of=j(ma);var pa=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(O);const Af=j(pa);var ga=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(O);const Ef=j(ga);var va=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(O);const zf=j(va);var ba=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(O);const Bf=j(ba);var ya=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(O);const kf=j(ya);var xa=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(O);const If=j(xa);var wa=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(O);const Zf=j(wa);var Pa=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(O);const Rf=j(Pa);var La=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(O);const Nf=j(La);var Ta=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(O);const Df=j(Ta);var Ma=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(O);const Hf=j(Ma);var Sa=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(O);const Ff=j(Sa);var Ca=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(O);const jf=j(Ca);var Oa=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(O);const Wf=j(Oa);var Aa=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(O);const Gf=j(Aa);var Ea=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(O);const $f=j(Ea);var za=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(O);const Uf=j(za);function Vf(a){return a=Math.max(0,Math.min(1,a)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-a*(35.34-a*(2381.73-a*(6402.7-a*(7024.72-a*2710.57)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+a*(170.73+a*(52.82-a*(131.46-a*(176.58-a*67.37)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+a*(442.36-a*(2482.43-a*(6167.24-a*(6614.94-a*2475.67)))))))+")"}const qf=gn(Ct(300,.5,0),Ct(-240,.5,1));var Yf=gn(Ct(-100,.75,.35),Ct(80,1.5,.8)),Kf=gn(Ct(260,.75,.35),Ct(80,1.5,.8)),ui=Ct();function Jf(a){(a<0||a>1)&&(a-=Math.floor(a));var f=Math.abs(a-.5);return ui.h=360*a-100,ui.s=1.5-1.5*f,ui.l=.8-.9*f,ui+""}var _i=De(),Xf=Math.PI/3,Qf=Math.PI*2/3;function tc(a){var f;return a=(.5-a)*Math.PI,_i.r=255*(f=Math.sin(a))*f,_i.g=255*(f=Math.sin(a+Xf))*f,_i.b=255*(f=Math.sin(a+Qf))*f,_i+""}function ec(a){return a=Math.max(0,Math.min(1,a)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+a*(1172.33-a*(10793.56-a*(33300.12-a*(38394.49-a*14825.05)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+a*(557.33+a*(1225.33-a*(3574.96-a*(1073.77+a*707.56)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+a*(3211.1-a*(15327.97-a*(27814-a*(22569.18-a*6838.66)))))))+")"}function bi(a){var f=a.length;return function(s){return a[Math.max(0,Math.min(f-1,Math.floor(s*f)))]}}const ic=bi(O("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var nc=bi(O("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),oc=bi(O("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),ac=bi(O("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));const rc=Object.freeze(Object.defineProperty({__proto__:null,interpolateBlues:Ff,interpolateBrBG:yf,interpolateBuGn:Of,interpolateBuPu:Af,interpolateCividis:Vf,interpolateCool:Kf,interpolateCubehelixDefault:qf,interpolateGnBu:Ef,interpolateGreens:jf,interpolateGreys:Wf,interpolateInferno:oc,interpolateMagma:nc,interpolateOrRd:zf,interpolateOranges:Uf,interpolatePRGn:xf,interpolatePiYG:wf,interpolatePlasma:ac,interpolatePuBu:kf,interpolatePuBuGn:Bf,interpolatePuOr:Pf,interpolatePuRd:If,interpolatePurples:Gf,interpolateRainbow:Jf,interpolateRdBu:Lf,interpolateRdGy:Tf,interpolateRdPu:Zf,interpolateRdYlBu:Mf,interpolateRdYlGn:Sf,interpolateReds:$f,interpolateSinebow:tc,interpolateSpectral:Cf,interpolateTurbo:ec,interpolateViridis:ic,interpolateWarm:Yf,interpolateYlGn:Nf,interpolateYlGnBu:Rf,interpolateYlOrBr:Df,interpolateYlOrRd:Hf,schemeAccent:js,schemeBlues:Sa,schemeBrBG:ra,schemeBuGn:ma,schemeBuPu:pa,schemeCategory10:Fs,schemeDark2:Ws,schemeGnBu:ga,schemeGreens:Ca,schemeGreys:Oa,schemeObservable10:Gs,schemeOrRd:va,schemeOranges:za,schemePRGn:sa,schemePaired:$s,schemePastel1:Us,schemePastel2:Vs,schemePiYG:fa,schemePuBu:ya,schemePuBuGn:ba,schemePuOr:ca,schemePuRd:xa,schemePurples:Aa,schemeRdBu:ha,schemeRdGy:da,schemeRdPu:wa,schemeRdYlBu:la,schemeRdYlGn:ua,schemeReds:Ea,schemeSet1:qs,schemeSet2:Ys,schemeSet3:Ks,schemeSpectral:_a,schemeTableau10:Js,schemeYlGn:La,schemeYlGnBu:Pa,schemeYlOrBr:Ta,schemeYlOrRd:Ma},Symbol.toStringTag,{value:"Module"})),sc=a=>{const f=Uo(qo()).appConfig,s=It(()=>{const _={};if(f.value){const p=f.value.indicators;Object.keys(p).forEach(v=>{var T;const g=((T=p[v].colourScale)==null?void 0:T.name)||"interpolateGreens";_[v]=rc[g]})}return _}),h=It(()=>{const _={};return Object.values(a.value).forEach(v=>{Object.entries(v).forEach(([g,T])=>{const x=T.mean;g in _?x>_[g].max?_[g].max=x:x<_[g].min&&(_[g].min=x):_[g]={min:x,max:x}})}),Object.keys(_).forEach(v=>{const g=_[v];g.range=g.max!=g.min?g.max-g.min:1}),_});return{colourScales:s,getColour:(_,p)=>{const v=p[_].mean;if(!h.value||!s.value)return"rgb(200, 200, 200)";const g=h.value[_];let T=(v-g.min)/g.range;T>1&&(T=1),T<0&&(T=0);const x=s.value[_];return x(T)}}},fc={key:0},cc={key:1},hc="shapeISO",dc="shapeName",lc=jt({__name:"Choropleth",setup(a){const{selectedGeojson:f,selectedIndicators:s,loading:h,selectedIndicator:u}=Uo(qo()),_=lt(null),p=lt([]),v={url:"https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}",attribution:"Tiles © Esri — Esri, DeLorme, NAVTEQ",maxZoom:10,minZoom:3},g=It(()=>{if(h.value)return[];const B=u.value;return Object.values(f.value).flatMap(Q=>Q.features.map(U=>({feature:U,colour:st(U,B)})))}),T=It(()=>{if(h.value)return{};const B=Object.values(s.value);return Object.assign({},...B)}),{colourScales:x,getColour:P}=sc(T),D=B=>B.properties[hc],N=B=>B.properties[dc],J=()=>{h.value||_.value&&_.value.leafletObject&&_.value.leafletObject.fitBounds(g.value.map(B=>new sn.GeoJSON(B.feature).getBounds()))},Z=It(()=>h.value&&!g.value.length&&!T.value.length&&!Object.keys(x.value).length),st=(B,Q)=>{console.log("recomputing getColourForFeature");const U=T.value[D(B)];return P(Q,U)},$=B=>{let Q="";const U=D(B);if(U in T.value){const H=T.value[U];Q=Object.keys(H).map(Y=>`${Y}: ${H[Y].mean} (+/- ${H[Y].sd})
`).join("")}return`
${N(B)||D(B)}
${Q}
`},X={onEachFeature:(B,Q)=>{Q.bindTooltip($(B)).openTooltip()}},W=()=>{ut()},ut=()=>{g.value.forEach(B=>{const Q=p.value.find(U=>D(U.geojson)===D(U.feature));Q&&Q.geojson&&Q.leafletObject&&Q.leafletObject.eachLayer(U=>{U.setTooltipContent($(B.feature))})})},xt={className:"geojson"};return on([f,s],()=>{J(),W()}),(B,Q)=>Z.value?(Re(),tn("div",fc,"loading..")):(Re(),tn("div",cc,[Ao(en(Rs),{ref_key:"map",ref:_,style:{height:"100vh",width:"100%"},onReady:J},{default:fs(()=>[Ao(en(Hs),{url:v.url,attribution:v.attribution,"max-zoom":v.maxZoom,"min-zoom":v.minZoom},null,8,["url","attribution","max-zoom","min-zoom"]),(Re(!0),tn(cs,null,hs(g.value,U=>(Re(),Vo(en(ks),{ref_for:!0,ref_key:"featureRefs",ref:p,key:D(U.feature),geojson:U.feature,options:X,"options-style":()=>({...xt,fillColor:U.colour})},null,8,["geojson","options-style"]))),128))]),_:1},512)]))}}),mc=jt({__name:"index",setup(a){return(f,s)=>{const h=lc;return Re(),Vo(h)}}});export{mc as default}; diff --git a/index.html b/index.html index 70457fc8..5f81b204 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@ - +