From 6701cb68f1d87964bbe7d9b06fabbcf56402041e Mon Sep 17 00:00:00 2001 From: Justin Reese Date: Tue, 24 Sep 2024 17:04:00 -0500 Subject: [PATCH 1/2] Always reset map pins when changing routes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prior to this commit, we only reset all pins styling when changing between artwork detail pages. This meant going back to the index page didn’t reset them, leaving the last highlighted pin highlighted. Now, we reset them whenever the route changes, which is what we intend. Issue #103 Highlighted map pin doesn't reset when returning to search results --- front-end/src/components/LeafletMap.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/front-end/src/components/LeafletMap.vue b/front-end/src/components/LeafletMap.vue index 90a590c..53fdeb7 100644 --- a/front-end/src/components/LeafletMap.vue +++ b/front-end/src/components/LeafletMap.vue @@ -114,11 +114,11 @@ onMounted(() => { watch( () => route.params.id, (newId) => { + markerTable.forEach((marker) => { + marker.setIcon(defaultIcon); + marker.setZIndexOffset(0); + }); if (newId) { - markerTable.forEach((marker) => { - marker.setIcon(defaultIcon); - marker.setZIndexOffset(0); - }); const marker = markerTable.get(newId as string); if (marker) { marker.setIcon(activeIcon); From f6fc31b7b8954194615a68510663727d6c141966 Mon Sep 17 00:00:00 2001 From: Justin Reese Date: Tue, 24 Sep 2024 17:04:19 -0500 Subject: [PATCH 2/2] Commit build assets --- .../static/vite_build/.vite/manifest.json | 4 ++-- .../{index-DxYgfFyc.js => index-Dd0NdgQo.js} | 18 +++++++++--------- .../{index-CkyBGNpN.css => index-Ds3kQY6k.css} | 2 +- archesdataviewer/static/vite_build/index.html | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-) rename archesdataviewer/static/vite_build/assets/{index-DxYgfFyc.js => index-Dd0NdgQo.js} (61%) rename archesdataviewer/static/vite_build/assets/{index-CkyBGNpN.css => index-Ds3kQY6k.css} (98%) diff --git a/archesdataviewer/static/vite_build/.vite/manifest.json b/archesdataviewer/static/vite_build/.vite/manifest.json index cc84859..f2ebccb 100644 --- a/archesdataviewer/static/vite_build/.vite/manifest.json +++ b/archesdataviewer/static/vite_build/.vite/manifest.json @@ -1,11 +1,11 @@ { "index.html": { - "file": "assets/index-DxYgfFyc.js", + "file": "assets/index-Dd0NdgQo.js", "name": "index", "src": "index.html", "isEntry": true, "css": [ - "assets/index-CkyBGNpN.css" + "assets/index-Ds3kQY6k.css" ] } } \ No newline at end of file diff --git a/archesdataviewer/static/vite_build/assets/index-DxYgfFyc.js b/archesdataviewer/static/vite_build/assets/index-Dd0NdgQo.js similarity index 61% rename from archesdataviewer/static/vite_build/assets/index-DxYgfFyc.js rename to archesdataviewer/static/vite_build/assets/index-Dd0NdgQo.js index 0df917d..c7dcce8 100644 --- a/archesdataviewer/static/vite_build/assets/index-DxYgfFyc.js +++ b/archesdataviewer/static/vite_build/assets/index-Dd0NdgQo.js @@ -2,30 +2,30 @@ * @vue/shared v3.5.4 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function ka(e){const n=Object.create(null);for(const r of e.split(","))n[r]=1;return r=>r in n}const He={},Mi=[],dn=()=>{},Yp=()=>!1,Bs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Oa=e=>e.startsWith("onUpdate:"),ut=Object.assign,Ra=(e,n)=>{const r=e.indexOf(n);r>-1&&e.splice(r,1)},Xp=Object.prototype.hasOwnProperty,je=(e,n)=>Xp.call(e,n),ye=Array.isArray,Ii=e=>Zs(e)==="[object Map]",wf=e=>Zs(e)==="[object Set]",Pe=e=>typeof e=="function",Ye=e=>typeof e=="string",Wn=e=>typeof e=="symbol",We=e=>e!==null&&typeof e=="object",bf=e=>(We(e)||Pe(e))&&Pe(e.then)&&Pe(e.catch),Pf=Object.prototype.toString,Zs=e=>Pf.call(e),Qp=e=>Zs(e).slice(8,-1),$f=e=>Zs(e)==="[object Object]",Ma=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_r=ka(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Fs=e=>{const n=Object.create(null);return r=>n[r]||(n[r]=e(r))},em=/-(\w)/g,Qt=Fs(e=>e.replace(em,(n,r)=>r?r.toUpperCase():"")),tm=/\B([A-Z])/g,gi=Fs(e=>e.replace(tm,"-$1").toLowerCase()),Vs=Fs(e=>e.charAt(0).toUpperCase()+e.slice(1)),zo=Fs(e=>e?`on${Vs(e)}`:""),Un=(e,n)=>!Object.is(e,n),bs=(e,...n)=>{for(let r=0;r{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,writable:s,value:r})},ra=e=>{const n=parseFloat(e);return isNaN(n)?e:n},nm=e=>{const n=Ye(e)?Number(e):NaN;return isNaN(n)?e:n};let Zc;const Ef=()=>Zc||(Zc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ia(e){if(ye(e)){const n={};for(let r=0;r{if(r){const s=r.split(rm);s.length>1&&(n[s[0].trim()]=s[1].trim())}}),n}function di(e){let n="";if(Ye(e))n=e;else if(ye(e))for(let r=0;r!!(e&&e.__v_isRef===!0),Ct=e=>Ye(e)?e:e==null?"":ye(e)||We(e)&&(e.toString===Pf||!Pe(e.toString))?xf(e)?Ct(e.value):JSON.stringify(e,Lf,2):String(e),Lf=(e,n)=>xf(n)?Lf(e,n.value):Ii(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((r,[s,a],l)=>(r[Do(s,l)+" =>"]=a,r),{})}:wf(n)?{[`Set(${n.size})`]:[...n.values()].map(r=>Do(r))}:Wn(n)?Do(n):We(n)&&!ye(n)&&!$f(n)?String(n):n,Do=(e,n="")=>{var r;return Wn(e)?`Symbol(${(r=e.description)!=null?r:n})`:e};/** +**//*! #__NO_SIDE_EFFECTS__ */function ka(e){const n=Object.create(null);for(const r of e.split(","))n[r]=1;return r=>r in n}const He={},Mi=[],dn=()=>{},Gp=()=>!1,Bs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Oa=e=>e.startsWith("onUpdate:"),ut=Object.assign,Ra=(e,n)=>{const r=e.indexOf(n);r>-1&&e.splice(r,1)},Jp=Object.prototype.hasOwnProperty,je=(e,n)=>Jp.call(e,n),ye=Array.isArray,Ii=e=>Zs(e)==="[object Map]",gf=e=>Zs(e)==="[object Set]",Pe=e=>typeof e=="function",Ye=e=>typeof e=="string",Wn=e=>typeof e=="symbol",We=e=>e!==null&&typeof e=="object",vf=e=>(We(e)||Pe(e))&&Pe(e.then)&&Pe(e.catch),yf=Object.prototype.toString,Zs=e=>yf.call(e),Yp=e=>Zs(e).slice(8,-1),wf=e=>Zs(e)==="[object Object]",Ma=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_r=ka(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Fs=e=>{const n=Object.create(null);return r=>n[r]||(n[r]=e(r))},Xp=/-(\w)/g,Qt=Fs(e=>e.replace(Xp,(n,r)=>r?r.toUpperCase():"")),Qp=/\B([A-Z])/g,gi=Fs(e=>e.replace(Qp,"-$1").toLowerCase()),Vs=Fs(e=>e.charAt(0).toUpperCase()+e.slice(1)),zo=Fs(e=>e?`on${Vs(e)}`:""),Un=(e,n)=>!Object.is(e,n),bs=(e,...n)=>{for(let r=0;r{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,writable:s,value:r})},ra=e=>{const n=parseFloat(e);return isNaN(n)?e:n},em=e=>{const n=Ye(e)?Number(e):NaN;return isNaN(n)?e:n};let Bc;const Pf=()=>Bc||(Bc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ia(e){if(ye(e)){const n={};for(let r=0;r{if(r){const s=r.split(nm);s.length>1&&(n[s[0].trim()]=s[1].trim())}}),n}function di(e){let n="";if(Ye(e))n=e;else if(ye(e))for(let r=0;r!!(e&&e.__v_isRef===!0),Ct=e=>Ye(e)?e:e==null?"":ye(e)||We(e)&&(e.toString===yf||!Pe(e.toString))?Sf(e)?Ct(e.value):JSON.stringify(e,Ef,2):String(e),Ef=(e,n)=>Sf(n)?Ef(e,n.value):Ii(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((r,[s,a],l)=>(r[Do(s,l)+" =>"]=a,r),{})}:gf(n)?{[`Set(${n.size})`]:[...n.values()].map(r=>Do(r))}:Wn(n)?Do(n):We(n)&&!ye(n)&&!wf(n)?String(n):n,Do=(e,n="")=>{var r;return Wn(e)?`Symbol(${(r=e.description)!=null?r:n})`:e};/** * @vue/reactivity v3.5.4 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let zt;class cm{constructor(n=!1){this.detached=n,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=zt,!n&&zt&&(this.index=(zt.scopes||(zt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let n,r;if(this.scopes)for(n=0,r=this.scopes.length;n0)return;let e;for(;gr;){let n=gr;for(gr=void 0;n;){const r=n.nextEffect;if(n.nextEffect=void 0,n.flags&=-9,n.flags&1)try{n.trigger()}catch(s){e||(e=s)}n=r}}if(e)throw e}function Of(e){for(let n=e.deps;n;n=n.nextDep)n.version=-1,n.prevActiveLink=n.dep.activeLink,n.dep.activeLink=n}function Rf(e){let n,r=e.depsTail;for(let s=r;s;s=s.prevDep)s.version===-1?(s===r&&(r=s.prevDep),za(s),fm(s)):n=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0;e.deps=n,e.depsTail=r}function sa(e){for(let n=e.deps;n;n=n.nextDep)if(n.dep.version!==n.version||n.dep.computed&&Mf(n.dep.computed)||n.dep.version!==n.version)return!0;return!!e._dirty}function Mf(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xr))return;e.globalVersion=xr;const n=e.dep;if(e.flags|=2,n.version>0&&!e.isSSR&&!sa(e)){e.flags&=-3;return}const r=Fe,s=Yt;Fe=e,Yt=!0;try{Of(e);const a=e.fn(e._value);(n.version===0||Un(a,e._value))&&(e._value=a,n.version++)}catch(a){throw n.version++,a}finally{Fe=r,Yt=s,Rf(e),e.flags&=-3}}function za(e){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r),!n.subs&&n.computed){n.computed.flags&=-5;for(let a=n.computed.deps;a;a=a.nextDep)za(a)}}function fm(e){const{prevDep:n,nextDep:r}=e;n&&(n.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=n,e.nextDep=void 0)}let Yt=!0;const If=[];function Kn(){If.push(Yt),Yt=!1}function Gn(){const e=If.pop();Yt=e===void 0?!0:e}function Fc(e){const{cleanup:n}=e;if(e.cleanup=void 0,n){const r=Fe;Fe=void 0;try{n()}finally{Fe=r}}}let xr=0;class Da{constructor(n){this.computed=n,this.version=0,this.activeLink=void 0,this.subs=void 0}track(n){if(!Fe||!Yt||Fe===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==Fe)r=this.activeLink={dep:this,sub:Fe,version:this.version,nextDep:void 0,prevDep:void 0,nextSub:void 0,prevSub:void 0,prevActiveLink:void 0},Fe.deps?(r.prevDep=Fe.depsTail,Fe.depsTail.nextDep=r,Fe.depsTail=r):Fe.deps=Fe.depsTail=r,Fe.flags&4&&Af(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const s=r.nextDep;s.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=s),r.prevDep=Fe.depsTail,r.nextDep=void 0,Fe.depsTail.nextDep=r,Fe.depsTail=r,Fe.deps===r&&(Fe.deps=s)}return r}trigger(n){this.version++,xr++,this.notify(n)}notify(n){Aa();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()}finally{Na()}}}function Af(e){const n=e.dep.computed;if(n&&!e.dep.subs){n.flags|=20;for(let s=n.deps;s;s=s.nextDep)Af(s)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}const oa=new WeakMap,fi=Symbol(""),aa=Symbol(""),Lr=Symbol("");function St(e,n,r){if(Yt&&Fe){let s=oa.get(e);s||oa.set(e,s=new Map);let a=s.get(r);a||s.set(r,a=new Da),a.track()}}function xn(e,n,r,s,a,l){const u=oa.get(e);if(!u){xr++;return}const f=h=>{h&&h.trigger()};if(Aa(),n==="clear")u.forEach(f);else{const h=ye(e),p=h&&Ma(r);if(h&&r==="length"){const m=Number(s);u.forEach((_,y)=>{(y==="length"||y===Lr||!Wn(y)&&y>=m)&&f(_)})}else switch(r!==void 0&&f(u.get(r)),p&&f(u.get(Lr)),n){case"add":h?p&&f(u.get("length")):(f(u.get(fi)),Ii(e)&&f(u.get(aa)));break;case"delete":h||(f(u.get(fi)),Ii(e)&&f(u.get(aa)));break;case"set":Ii(e)&&f(u.get(fi));break}}Na()}function xi(e){const n=De(e);return n===e?n:(St(n,"iterate",Lr),Ht(e)?n:n.map(Pt))}function Hs(e){return St(e=De(e),"iterate",Lr),e}const hm={__proto__:null,[Symbol.iterator](){return Bo(this,Symbol.iterator,Pt)},concat(...e){return xi(this).concat(...e.map(n=>ye(n)?xi(n):n))},entries(){return Bo(this,"entries",e=>(e[1]=Pt(e[1]),e))},every(e,n){return wn(this,"every",e,n,void 0,arguments)},filter(e,n){return wn(this,"filter",e,n,r=>r.map(Pt),arguments)},find(e,n){return wn(this,"find",e,n,Pt,arguments)},findIndex(e,n){return wn(this,"findIndex",e,n,void 0,arguments)},findLast(e,n){return wn(this,"findLast",e,n,Pt,arguments)},findLastIndex(e,n){return wn(this,"findLastIndex",e,n,void 0,arguments)},forEach(e,n){return wn(this,"forEach",e,n,void 0,arguments)},includes(...e){return Zo(this,"includes",e)},indexOf(...e){return Zo(this,"indexOf",e)},join(e){return xi(this).join(e)},lastIndexOf(...e){return Zo(this,"lastIndexOf",e)},map(e,n){return wn(this,"map",e,n,void 0,arguments)},pop(){return ar(this,"pop")},push(...e){return ar(this,"push",e)},reduce(e,...n){return Vc(this,"reduce",e,n)},reduceRight(e,...n){return Vc(this,"reduceRight",e,n)},shift(){return ar(this,"shift")},some(e,n){return wn(this,"some",e,n,void 0,arguments)},splice(...e){return ar(this,"splice",e)},toReversed(){return xi(this).toReversed()},toSorted(e){return xi(this).toSorted(e)},toSpliced(...e){return xi(this).toSpliced(...e)},unshift(...e){return ar(this,"unshift",e)},values(){return Bo(this,"values",Pt)}};function Bo(e,n,r){const s=Hs(e),a=s[n]();return s!==e&&!Ht(e)&&(a._next=a.next,a.next=()=>{const l=a._next();return l.value&&(l.value=r(l.value)),l}),a}const dm=Array.prototype;function wn(e,n,r,s,a,l){const u=Hs(e),f=u!==e&&!Ht(e),h=u[n];if(h!==dm[n]){const _=h.apply(e,l);return f?Pt(_):_}let p=r;u!==e&&(f?p=function(_,y){return r.call(this,Pt(_),y,e)}:r.length>2&&(p=function(_,y){return r.call(this,_,y,e)}));const m=h.call(u,p,s);return f&&a?a(m):m}function Vc(e,n,r,s){const a=Hs(e);let l=r;return a!==e&&(Ht(e)?r.length>3&&(l=function(u,f,h){return r.call(this,u,f,h,e)}):l=function(u,f,h){return r.call(this,u,Pt(f),h,e)}),a[n](l,...s)}function Zo(e,n,r){const s=De(e);St(s,"iterate",Lr);const a=s[n](...r);return(a===-1||a===!1)&&Fa(r[0])?(r[0]=De(r[0]),s[n](...r)):a}function ar(e,n,r=[]){Kn(),Aa();const s=De(e)[n].apply(e,r);return Na(),Gn(),s}const pm=ka("__proto__,__v_isRef,__isVue"),Nf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Wn));function mm(e){Wn(e)||(e=String(e));const n=De(this);return St(n,"has",e),n.hasOwnProperty(e)}class zf{constructor(n=!1,r=!1){this._isReadonly=n,this._isShallow=r}get(n,r,s){const a=this._isReadonly,l=this._isShallow;if(r==="__v_isReactive")return!a;if(r==="__v_isReadonly")return a;if(r==="__v_isShallow")return l;if(r==="__v_raw")return s===(a?l?Lm:Zf:l?Bf:jf).get(n)||Object.getPrototypeOf(n)===Object.getPrototypeOf(s)?n:void 0;const u=ye(n);if(!a){let h;if(u&&(h=hm[r]))return h;if(r==="hasOwnProperty")return mm}const f=Reflect.get(n,r,$t(n)?n:s);return(Wn(r)?Nf.has(r):pm(r))||(a||St(n,"get",r),l)?f:$t(f)?u&&Ma(r)?f:f.value:We(f)?a?Vf(f):qs(f):f}}class Df extends zf{constructor(n=!1){super(!1,n)}set(n,r,s,a){let l=n[r];if(!this._isShallow){const h=pi(l);if(!Ht(s)&&!pi(s)&&(l=De(l),s=De(s)),!ye(n)&&$t(l)&&!$t(s))return h?!1:(l.value=s,!0)}const u=ye(n)&&Ma(r)?Number(r)e,Us=e=>Reflect.getPrototypeOf(e);function as(e,n,r=!1,s=!1){e=e.__v_raw;const a=De(e),l=De(n);r||(Un(n,l)&&St(a,"get",n),St(a,"get",l));const{has:u}=Us(a),f=s?ja:r?Va:Pt;if(u.call(a,n))return f(e.get(n));if(u.call(a,l))return f(e.get(l));e!==a&&e.get(n)}function ls(e,n=!1){const r=this.__v_raw,s=De(r),a=De(e);return n||(Un(e,a)&&St(s,"has",e),St(s,"has",a)),e===a?r.has(e):r.has(e)||r.has(a)}function cs(e,n=!1){return e=e.__v_raw,!n&&St(De(e),"iterate",fi),Reflect.get(e,"size",e)}function Hc(e,n=!1){!n&&!Ht(e)&&!pi(e)&&(e=De(e));const r=De(this);return Us(r).has.call(r,e)||(r.add(e),xn(r,"add",e,e)),this}function Uc(e,n,r=!1){!r&&!Ht(n)&&!pi(n)&&(n=De(n));const s=De(this),{has:a,get:l}=Us(s);let u=a.call(s,e);u||(e=De(e),u=a.call(s,e));const f=l.call(s,e);return s.set(e,n),u?Un(n,f)&&xn(s,"set",e,n):xn(s,"add",e,n),this}function qc(e){const n=De(this),{has:r,get:s}=Us(n);let a=r.call(n,e);a||(e=De(e),a=r.call(n,e)),s&&s.call(n,e);const l=n.delete(e);return a&&xn(n,"delete",e,void 0),l}function Wc(){const e=De(this),n=e.size!==0,r=e.clear();return n&&xn(e,"clear",void 0,void 0),r}function us(e,n){return function(s,a){const l=this,u=l.__v_raw,f=De(u),h=n?ja:e?Va:Pt;return!e&&St(f,"iterate",fi),u.forEach((p,m)=>s.call(a,h(p),h(m),l))}}function fs(e,n,r){return function(...s){const a=this.__v_raw,l=De(a),u=Ii(l),f=e==="entries"||e===Symbol.iterator&&u,h=e==="keys"&&u,p=a[e](...s),m=r?ja:n?Va:Pt;return!n&&St(l,"iterate",h?aa:fi),{next(){const{value:_,done:y}=p.next();return y?{value:_,done:y}:{value:f?[m(_[0]),m(_[1])]:m(_),done:y}},[Symbol.iterator](){return this}}}}function In(e){return function(...n){return e==="delete"?!1:e==="clear"?void 0:this}}function wm(){const e={get(l){return as(this,l)},get size(){return cs(this)},has:ls,add:Hc,set:Uc,delete:qc,clear:Wc,forEach:us(!1,!1)},n={get(l){return as(this,l,!1,!0)},get size(){return cs(this)},has:ls,add(l){return Hc.call(this,l,!0)},set(l,u){return Uc.call(this,l,u,!0)},delete:qc,clear:Wc,forEach:us(!1,!0)},r={get(l){return as(this,l,!0)},get size(){return cs(this,!0)},has(l){return ls.call(this,l,!0)},add:In("add"),set:In("set"),delete:In("delete"),clear:In("clear"),forEach:us(!0,!1)},s={get(l){return as(this,l,!0,!0)},get size(){return cs(this,!0)},has(l){return ls.call(this,l,!0)},add:In("add"),set:In("set"),delete:In("delete"),clear:In("clear"),forEach:us(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{e[l]=fs(l,!1,!1),r[l]=fs(l,!0,!1),n[l]=fs(l,!1,!0),s[l]=fs(l,!0,!0)}),[e,r,n,s]}const[bm,Pm,$m,Sm]=wm();function Ba(e,n){const r=n?e?Sm:$m:e?Pm:bm;return(s,a,l)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?s:Reflect.get(je(r,a)&&a in s?r:s,a,l)}const Em={get:Ba(!1,!1)},Tm={get:Ba(!1,!0)},xm={get:Ba(!0,!1)};const jf=new WeakMap,Bf=new WeakMap,Zf=new WeakMap,Lm=new WeakMap;function Cm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function km(e){return e.__v_skip||!Object.isExtensible(e)?0:Cm(Qp(e))}function qs(e){return pi(e)?e:Za(e,!1,gm,Em,jf)}function Ff(e){return Za(e,!1,ym,Tm,Bf)}function Vf(e){return Za(e,!0,vm,xm,Zf)}function Za(e,n,r,s,a){if(!We(e)||e.__v_raw&&!(n&&e.__v_isReactive))return e;const l=a.get(e);if(l)return l;const u=km(e);if(u===0)return e;const f=new Proxy(e,u===2?s:r);return a.set(e,f),f}function Ai(e){return pi(e)?Ai(e.__v_raw):!!(e&&e.__v_isReactive)}function pi(e){return!!(e&&e.__v_isReadonly)}function Ht(e){return!!(e&&e.__v_isShallow)}function Fa(e){return e?!!e.__v_raw:!1}function De(e){const n=e&&e.__v_raw;return n?De(n):e}function Om(e){return!je(e,"__v_skip")&&Object.isExtensible(e)&&Sf(e,"__v_skip",!0),e}const Pt=e=>We(e)?qs(e):e,Va=e=>We(e)?Vf(e):e;function $t(e){return e?e.__v_isRef===!0:!1}function lt(e){return Hf(e,!1)}function Rm(e){return Hf(e,!0)}function Hf(e,n){return $t(e)?e:new Mm(e,n)}class Mm{constructor(n,r){this.dep=new Da,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?n:De(n),this._value=r?n:Pt(n),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(n){const r=this._rawValue,s=this.__v_isShallow||Ht(n)||pi(n);n=s?n:De(n),Un(n,r)&&(this._rawValue=n,this._value=s?n:Pt(n),this.dep.trigger())}}function ke(e){return $t(e)?e.value:e}const Im={get:(e,n,r)=>n==="__v_raw"?e:ke(Reflect.get(e,n,r)),set:(e,n,r,s)=>{const a=e[n];return $t(a)&&!$t(r)?(a.value=r,!0):Reflect.set(e,n,r,s)}};function Uf(e){return Ai(e)?e:new Proxy(e,Im)}class Am{constructor(n,r,s){this.fn=n,this.setter=r,this._value=void 0,this.dep=new Da(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xr-1,this.effect=this,this.__v_isReadonly=!r,this.isSSR=s}notify(){this.flags|=16,Fe!==this&&this.dep.notify()}get value(){const n=this.dep.track();return Mf(this),n&&(n.version=this.dep.version),this._value}set value(n){this.setter&&this.setter(n)}}function Nm(e,n,r=!1){let s,a;return Pe(e)?s=e:(s=e.get,a=e.set),new Am(s,a,r)}const hs={},Os=new WeakMap;let ai;function zm(e,n=!1,r=ai){if(r){let s=Os.get(r);s||Os.set(r,s=[]),s.push(e)}}function Dm(e,n,r=He){const{immediate:s,deep:a,once:l,scheduler:u,augmentJob:f,call:h}=r,p=B=>a?B:Ht(B)||a===!1||a===0?Tn(B,1):Tn(B);let m,_,y,P,$=!1,T=!1;if($t(e)?(_=()=>e.value,$=Ht(e)):Ai(e)?(_=()=>p(e),$=!0):ye(e)?(T=!0,$=e.some(B=>Ai(B)||Ht(B)),_=()=>e.map(B=>{if($t(B))return B.value;if(Ai(B))return p(B);if(Pe(B))return h?h(B,2):B()})):Pe(e)?n?_=h?()=>h(e,2):e:_=()=>{if(y){Kn();try{y()}finally{Gn()}}const B=ai;ai=m;try{return h?h(e,3,[P]):e(P)}finally{ai=B}}:_=dn,n&&a){const B=_,G=a===!0?1/0:a;_=()=>Tn(B(),G)}const C=um(),S=()=>{m.stop(),C&&Ra(C.effects,m)};if(l)if(n){const B=n;n=(...G)=>{B(...G),S()}}else{const B=_;_=()=>{B(),S()}}let R=T?new Array(e.length).fill(hs):hs;const j=B=>{if(!(!(m.flags&1)||!m.dirty&&!B))if(n){const G=m.run();if(a||$||(T?G.some((le,ue)=>Un(le,R[ue])):Un(G,R))){y&&y();const le=ai;ai=m;try{const ue=[G,R===hs?void 0:T&&R[0]===hs?[]:R,P];h?h(n,3,ue):n(...ue),R=G}finally{ai=le}}}else m.run()};return f&&f(j),m=new Cf(_),m.scheduler=u?()=>u(j,!1):j,P=B=>zm(B,!1,m),y=m.onStop=()=>{const B=Os.get(m);if(B){if(h)h(B,4);else for(const G of B)G();Os.delete(m)}},n?s?j(!0):R=m.run():u?u(j.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function Tn(e,n=1/0,r){if(n<=0||!We(e)||e.__v_skip||(r=r||new Set,r.has(e)))return e;if(r.add(e),n--,$t(e))Tn(e.value,n,r);else if(ye(e))for(let s=0;s{Tn(s,n,r)});else if($f(e)){for(const s in e)Tn(e[s],n,r);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Tn(e[s],n,r)}return e}/** +**/let zt;class am{constructor(n=!1){this.detached=n,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=zt,!n&&zt&&(this.index=(zt.scopes||(zt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let n,r;if(this.scopes)for(n=0,r=this.scopes.length;n0)return;let e;for(;gr;){let n=gr;for(gr=void 0;n;){const r=n.nextEffect;if(n.nextEffect=void 0,n.flags&=-9,n.flags&1)try{n.trigger()}catch(s){e||(e=s)}n=r}}if(e)throw e}function Lf(e){for(let n=e.deps;n;n=n.nextDep)n.version=-1,n.prevActiveLink=n.dep.activeLink,n.dep.activeLink=n}function Cf(e){let n,r=e.depsTail;for(let s=r;s;s=s.prevDep)s.version===-1?(s===r&&(r=s.prevDep),za(s),cm(s)):n=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0;e.deps=n,e.depsTail=r}function sa(e){for(let n=e.deps;n;n=n.nextDep)if(n.dep.version!==n.version||n.dep.computed&&kf(n.dep.computed)||n.dep.version!==n.version)return!0;return!!e._dirty}function kf(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xr))return;e.globalVersion=xr;const n=e.dep;if(e.flags|=2,n.version>0&&!e.isSSR&&!sa(e)){e.flags&=-3;return}const r=Fe,s=Yt;Fe=e,Yt=!0;try{Lf(e);const a=e.fn(e._value);(n.version===0||Un(a,e._value))&&(e._value=a,n.version++)}catch(a){throw n.version++,a}finally{Fe=r,Yt=s,Cf(e),e.flags&=-3}}function za(e){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r),!n.subs&&n.computed){n.computed.flags&=-5;for(let a=n.computed.deps;a;a=a.nextDep)za(a)}}function cm(e){const{prevDep:n,nextDep:r}=e;n&&(n.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=n,e.nextDep=void 0)}let Yt=!0;const Of=[];function Kn(){Of.push(Yt),Yt=!1}function Gn(){const e=Of.pop();Yt=e===void 0?!0:e}function Zc(e){const{cleanup:n}=e;if(e.cleanup=void 0,n){const r=Fe;Fe=void 0;try{n()}finally{Fe=r}}}let xr=0;class Da{constructor(n){this.computed=n,this.version=0,this.activeLink=void 0,this.subs=void 0}track(n){if(!Fe||!Yt||Fe===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==Fe)r=this.activeLink={dep:this,sub:Fe,version:this.version,nextDep:void 0,prevDep:void 0,nextSub:void 0,prevSub:void 0,prevActiveLink:void 0},Fe.deps?(r.prevDep=Fe.depsTail,Fe.depsTail.nextDep=r,Fe.depsTail=r):Fe.deps=Fe.depsTail=r,Fe.flags&4&&Rf(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const s=r.nextDep;s.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=s),r.prevDep=Fe.depsTail,r.nextDep=void 0,Fe.depsTail.nextDep=r,Fe.depsTail=r,Fe.deps===r&&(Fe.deps=s)}return r}trigger(n){this.version++,xr++,this.notify(n)}notify(n){Aa();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()}finally{Na()}}}function Rf(e){const n=e.dep.computed;if(n&&!e.dep.subs){n.flags|=20;for(let s=n.deps;s;s=s.nextDep)Rf(s)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}const oa=new WeakMap,fi=Symbol(""),aa=Symbol(""),Lr=Symbol("");function St(e,n,r){if(Yt&&Fe){let s=oa.get(e);s||oa.set(e,s=new Map);let a=s.get(r);a||s.set(r,a=new Da),a.track()}}function Tn(e,n,r,s,a,l){const u=oa.get(e);if(!u){xr++;return}const f=h=>{h&&h.trigger()};if(Aa(),n==="clear")u.forEach(f);else{const h=ye(e),p=h&&Ma(r);if(h&&r==="length"){const m=Number(s);u.forEach((_,y)=>{(y==="length"||y===Lr||!Wn(y)&&y>=m)&&f(_)})}else switch(r!==void 0&&f(u.get(r)),p&&f(u.get(Lr)),n){case"add":h?p&&f(u.get("length")):(f(u.get(fi)),Ii(e)&&f(u.get(aa)));break;case"delete":h||(f(u.get(fi)),Ii(e)&&f(u.get(aa)));break;case"set":Ii(e)&&f(u.get(fi));break}}Na()}function xi(e){const n=De(e);return n===e?n:(St(n,"iterate",Lr),Ht(e)?n:n.map(Pt))}function Hs(e){return St(e=De(e),"iterate",Lr),e}const um={__proto__:null,[Symbol.iterator](){return Bo(this,Symbol.iterator,Pt)},concat(...e){return xi(this).concat(...e.map(n=>ye(n)?xi(n):n))},entries(){return Bo(this,"entries",e=>(e[1]=Pt(e[1]),e))},every(e,n){return wn(this,"every",e,n,void 0,arguments)},filter(e,n){return wn(this,"filter",e,n,r=>r.map(Pt),arguments)},find(e,n){return wn(this,"find",e,n,Pt,arguments)},findIndex(e,n){return wn(this,"findIndex",e,n,void 0,arguments)},findLast(e,n){return wn(this,"findLast",e,n,Pt,arguments)},findLastIndex(e,n){return wn(this,"findLastIndex",e,n,void 0,arguments)},forEach(e,n){return wn(this,"forEach",e,n,void 0,arguments)},includes(...e){return Zo(this,"includes",e)},indexOf(...e){return Zo(this,"indexOf",e)},join(e){return xi(this).join(e)},lastIndexOf(...e){return Zo(this,"lastIndexOf",e)},map(e,n){return wn(this,"map",e,n,void 0,arguments)},pop(){return ar(this,"pop")},push(...e){return ar(this,"push",e)},reduce(e,...n){return Fc(this,"reduce",e,n)},reduceRight(e,...n){return Fc(this,"reduceRight",e,n)},shift(){return ar(this,"shift")},some(e,n){return wn(this,"some",e,n,void 0,arguments)},splice(...e){return ar(this,"splice",e)},toReversed(){return xi(this).toReversed()},toSorted(e){return xi(this).toSorted(e)},toSpliced(...e){return xi(this).toSpliced(...e)},unshift(...e){return ar(this,"unshift",e)},values(){return Bo(this,"values",Pt)}};function Bo(e,n,r){const s=Hs(e),a=s[n]();return s!==e&&!Ht(e)&&(a._next=a.next,a.next=()=>{const l=a._next();return l.value&&(l.value=r(l.value)),l}),a}const fm=Array.prototype;function wn(e,n,r,s,a,l){const u=Hs(e),f=u!==e&&!Ht(e),h=u[n];if(h!==fm[n]){const _=h.apply(e,l);return f?Pt(_):_}let p=r;u!==e&&(f?p=function(_,y){return r.call(this,Pt(_),y,e)}:r.length>2&&(p=function(_,y){return r.call(this,_,y,e)}));const m=h.call(u,p,s);return f&&a?a(m):m}function Fc(e,n,r,s){const a=Hs(e);let l=r;return a!==e&&(Ht(e)?r.length>3&&(l=function(u,f,h){return r.call(this,u,f,h,e)}):l=function(u,f,h){return r.call(this,u,Pt(f),h,e)}),a[n](l,...s)}function Zo(e,n,r){const s=De(e);St(s,"iterate",Lr);const a=s[n](...r);return(a===-1||a===!1)&&Fa(r[0])?(r[0]=De(r[0]),s[n](...r)):a}function ar(e,n,r=[]){Kn(),Aa();const s=De(e)[n].apply(e,r);return Na(),Gn(),s}const hm=ka("__proto__,__v_isRef,__isVue"),Mf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Wn));function dm(e){Wn(e)||(e=String(e));const n=De(this);return St(n,"has",e),n.hasOwnProperty(e)}class If{constructor(n=!1,r=!1){this._isReadonly=n,this._isShallow=r}get(n,r,s){const a=this._isReadonly,l=this._isShallow;if(r==="__v_isReactive")return!a;if(r==="__v_isReadonly")return a;if(r==="__v_isShallow")return l;if(r==="__v_raw")return s===(a?l?Tm:Df:l?zf:Nf).get(n)||Object.getPrototypeOf(n)===Object.getPrototypeOf(s)?n:void 0;const u=ye(n);if(!a){let h;if(u&&(h=um[r]))return h;if(r==="hasOwnProperty")return dm}const f=Reflect.get(n,r,$t(n)?n:s);return(Wn(r)?Mf.has(r):hm(r))||(a||St(n,"get",r),l)?f:$t(f)?u&&Ma(r)?f:f.value:We(f)?a?Bf(f):qs(f):f}}class Af extends If{constructor(n=!1){super(!1,n)}set(n,r,s,a){let l=n[r];if(!this._isShallow){const h=pi(l);if(!Ht(s)&&!pi(s)&&(l=De(l),s=De(s)),!ye(n)&&$t(l)&&!$t(s))return h?!1:(l.value=s,!0)}const u=ye(n)&&Ma(r)?Number(r)e,Us=e=>Reflect.getPrototypeOf(e);function ls(e,n,r=!1,s=!1){e=e.__v_raw;const a=De(e),l=De(n);r||(Un(n,l)&&St(a,"get",n),St(a,"get",l));const{has:u}=Us(a),f=s?ja:r?Va:Pt;if(u.call(a,n))return f(e.get(n));if(u.call(a,l))return f(e.get(l));e!==a&&e.get(n)}function cs(e,n=!1){const r=this.__v_raw,s=De(r),a=De(e);return n||(Un(e,a)&&St(s,"has",e),St(s,"has",a)),e===a?r.has(e):r.has(e)||r.has(a)}function us(e,n=!1){return e=e.__v_raw,!n&&St(De(e),"iterate",fi),Reflect.get(e,"size",e)}function Vc(e,n=!1){!n&&!Ht(e)&&!pi(e)&&(e=De(e));const r=De(this);return Us(r).has.call(r,e)||(r.add(e),Tn(r,"add",e,e)),this}function Hc(e,n,r=!1){!r&&!Ht(n)&&!pi(n)&&(n=De(n));const s=De(this),{has:a,get:l}=Us(s);let u=a.call(s,e);u||(e=De(e),u=a.call(s,e));const f=l.call(s,e);return s.set(e,n),u?Un(n,f)&&Tn(s,"set",e,n):Tn(s,"add",e,n),this}function Uc(e){const n=De(this),{has:r,get:s}=Us(n);let a=r.call(n,e);a||(e=De(e),a=r.call(n,e)),s&&s.call(n,e);const l=n.delete(e);return a&&Tn(n,"delete",e,void 0),l}function qc(){const e=De(this),n=e.size!==0,r=e.clear();return n&&Tn(e,"clear",void 0,void 0),r}function fs(e,n){return function(s,a){const l=this,u=l.__v_raw,f=De(u),h=n?ja:e?Va:Pt;return!e&&St(f,"iterate",fi),u.forEach((p,m)=>s.call(a,h(p),h(m),l))}}function hs(e,n,r){return function(...s){const a=this.__v_raw,l=De(a),u=Ii(l),f=e==="entries"||e===Symbol.iterator&&u,h=e==="keys"&&u,p=a[e](...s),m=r?ja:n?Va:Pt;return!n&&St(l,"iterate",h?aa:fi),{next(){const{value:_,done:y}=p.next();return y?{value:_,done:y}:{value:f?[m(_[0]),m(_[1])]:m(_),done:y}},[Symbol.iterator](){return this}}}}function In(e){return function(...n){return e==="delete"?!1:e==="clear"?void 0:this}}function vm(){const e={get(l){return ls(this,l)},get size(){return us(this)},has:cs,add:Vc,set:Hc,delete:Uc,clear:qc,forEach:fs(!1,!1)},n={get(l){return ls(this,l,!1,!0)},get size(){return us(this)},has:cs,add(l){return Vc.call(this,l,!0)},set(l,u){return Hc.call(this,l,u,!0)},delete:Uc,clear:qc,forEach:fs(!1,!0)},r={get(l){return ls(this,l,!0)},get size(){return us(this,!0)},has(l){return cs.call(this,l,!0)},add:In("add"),set:In("set"),delete:In("delete"),clear:In("clear"),forEach:fs(!0,!1)},s={get(l){return ls(this,l,!0,!0)},get size(){return us(this,!0)},has(l){return cs.call(this,l,!0)},add:In("add"),set:In("set"),delete:In("delete"),clear:In("clear"),forEach:fs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{e[l]=hs(l,!1,!1),r[l]=hs(l,!0,!1),n[l]=hs(l,!1,!0),s[l]=hs(l,!0,!0)}),[e,r,n,s]}const[ym,wm,bm,Pm]=vm();function Ba(e,n){const r=n?e?Pm:bm:e?wm:ym;return(s,a,l)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?s:Reflect.get(je(r,a)&&a in s?r:s,a,l)}const $m={get:Ba(!1,!1)},Sm={get:Ba(!1,!0)},Em={get:Ba(!0,!1)};const Nf=new WeakMap,zf=new WeakMap,Df=new WeakMap,Tm=new WeakMap;function xm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Lm(e){return e.__v_skip||!Object.isExtensible(e)?0:xm(Yp(e))}function qs(e){return pi(e)?e:Za(e,!1,mm,$m,Nf)}function jf(e){return Za(e,!1,gm,Sm,zf)}function Bf(e){return Za(e,!0,_m,Em,Df)}function Za(e,n,r,s,a){if(!We(e)||e.__v_raw&&!(n&&e.__v_isReactive))return e;const l=a.get(e);if(l)return l;const u=Lm(e);if(u===0)return e;const f=new Proxy(e,u===2?s:r);return a.set(e,f),f}function Ai(e){return pi(e)?Ai(e.__v_raw):!!(e&&e.__v_isReactive)}function pi(e){return!!(e&&e.__v_isReadonly)}function Ht(e){return!!(e&&e.__v_isShallow)}function Fa(e){return e?!!e.__v_raw:!1}function De(e){const n=e&&e.__v_raw;return n?De(n):e}function Cm(e){return!je(e,"__v_skip")&&Object.isExtensible(e)&&bf(e,"__v_skip",!0),e}const Pt=e=>We(e)?qs(e):e,Va=e=>We(e)?Bf(e):e;function $t(e){return e?e.__v_isRef===!0:!1}function lt(e){return Zf(e,!1)}function km(e){return Zf(e,!0)}function Zf(e,n){return $t(e)?e:new Om(e,n)}class Om{constructor(n,r){this.dep=new Da,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?n:De(n),this._value=r?n:Pt(n),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(n){const r=this._rawValue,s=this.__v_isShallow||Ht(n)||pi(n);n=s?n:De(n),Un(n,r)&&(this._rawValue=n,this._value=s?n:Pt(n),this.dep.trigger())}}function ke(e){return $t(e)?e.value:e}const Rm={get:(e,n,r)=>n==="__v_raw"?e:ke(Reflect.get(e,n,r)),set:(e,n,r,s)=>{const a=e[n];return $t(a)&&!$t(r)?(a.value=r,!0):Reflect.set(e,n,r,s)}};function Ff(e){return Ai(e)?e:new Proxy(e,Rm)}class Mm{constructor(n,r,s){this.fn=n,this.setter=r,this._value=void 0,this.dep=new Da(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xr-1,this.effect=this,this.__v_isReadonly=!r,this.isSSR=s}notify(){this.flags|=16,Fe!==this&&this.dep.notify()}get value(){const n=this.dep.track();return kf(this),n&&(n.version=this.dep.version),this._value}set value(n){this.setter&&this.setter(n)}}function Im(e,n,r=!1){let s,a;return Pe(e)?s=e:(s=e.get,a=e.set),new Mm(s,a,r)}const ds={},Os=new WeakMap;let ai;function Am(e,n=!1,r=ai){if(r){let s=Os.get(r);s||Os.set(r,s=[]),s.push(e)}}function Nm(e,n,r=He){const{immediate:s,deep:a,once:l,scheduler:u,augmentJob:f,call:h}=r,p=B=>a?B:Ht(B)||a===!1||a===0?En(B,1):En(B);let m,_,y,P,S=!1,T=!1;if($t(e)?(_=()=>e.value,S=Ht(e)):Ai(e)?(_=()=>p(e),S=!0):ye(e)?(T=!0,S=e.some(B=>Ai(B)||Ht(B)),_=()=>e.map(B=>{if($t(B))return B.value;if(Ai(B))return p(B);if(Pe(B))return h?h(B,2):B()})):Pe(e)?n?_=h?()=>h(e,2):e:_=()=>{if(y){Kn();try{y()}finally{Gn()}}const B=ai;ai=m;try{return h?h(e,3,[P]):e(P)}finally{ai=B}}:_=dn,n&&a){const B=_,G=a===!0?1/0:a;_=()=>En(B(),G)}const C=lm(),$=()=>{m.stop(),C&&Ra(C.effects,m)};if(l)if(n){const B=n;n=(...G)=>{B(...G),$()}}else{const B=_;_=()=>{B(),$()}}let R=T?new Array(e.length).fill(ds):ds;const j=B=>{if(!(!(m.flags&1)||!m.dirty&&!B))if(n){const G=m.run();if(a||S||(T?G.some((le,ue)=>Un(le,R[ue])):Un(G,R))){y&&y();const le=ai;ai=m;try{const ue=[G,R===ds?void 0:T&&R[0]===ds?[]:R,P];h?h(n,3,ue):n(...ue),R=G}finally{ai=le}}}else m.run()};return f&&f(j),m=new Tf(_),m.scheduler=u?()=>u(j,!1):j,P=B=>Am(B,!1,m),y=m.onStop=()=>{const B=Os.get(m);if(B){if(h)h(B,4);else for(const G of B)G();Os.delete(m)}},n?s?j(!0):R=m.run():u?u(j.bind(null,!0),!0):m.run(),$.pause=m.pause.bind(m),$.resume=m.resume.bind(m),$.stop=$,$}function En(e,n=1/0,r){if(n<=0||!We(e)||e.__v_skip||(r=r||new Set,r.has(e)))return e;if(r.add(e),n--,$t(e))En(e.value,n,r);else if(ye(e))for(let s=0;s{En(s,n,r)});else if(wf(e)){for(const s in e)En(e[s],n,r);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&En(e[s],n,r)}return e}/** * @vue/runtime-core v3.5.4 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function zr(e,n,r,s){try{return s?e(...s):e()}catch(a){Ws(a,n,r)}}function en(e,n,r,s){if(Pe(e)){const a=zr(e,n,r,s);return a&&bf(a)&&a.catch(l=>{Ws(l,n,r)}),a}if(ye(e)){const a=[];for(let l=0;l>>1,a=Lt[s],l=kr(a);l=kr(r)?Lt.push(e):Lt.splice(Bm(n),0,e),e.flags|=1,Kf()}}function Kf(){!Cr&&!la&&(la=!0,Ha=qf.then(Jf))}function Zm(e){ye(e)?Ni.push(...e):Bn&&e.id===-1?Bn.splice(Ci+1,0,e):e.flags&1||(Ni.push(e),e.flags|=1),Kf()}function Kc(e,n,r=Cr?ln+1:0){for(;rkr(r)-kr(s));if(Ni.length=0,Bn){Bn.push(...n);return}for(Bn=n,Ci=0;Cie.id==null?e.flags&2?-1:1/0:e.id;function Jf(e){la=!1,Cr=!0;try{for(ln=0;ln{s._d&&ru(-1);const l=Rs(n);let u;try{u=e(...a)}finally{Rs(l),s._d&&ru(1)}return u};return s._n=!0,s._c=!0,s._d=!0,s}function Fm(e,n){if(dt===null)return e;const r=Qs(dt),s=e.dirs||(e.dirs=[]);for(let a=0;ae.__isTeleport,Zn=Symbol("_leaveCb"),ds=Symbol("_enterCb");function Hm(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return qa(()=>{e.isMounted=!0}),oh(()=>{e.isUnmounting=!0}),e}const Ft=[Function,Array],Qf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ft,onEnter:Ft,onAfterEnter:Ft,onEnterCancelled:Ft,onBeforeLeave:Ft,onLeave:Ft,onAfterLeave:Ft,onLeaveCancelled:Ft,onBeforeAppear:Ft,onAppear:Ft,onAfterAppear:Ft,onAppearCancelled:Ft},eh=e=>{const n=e.subTree;return n.component?eh(n.component):n},Um={name:"BaseTransition",props:Qf,setup(e,{slots:n}){const r=B_(),s=Hm();return()=>{const a=n.default&&ih(n.default(),!0);if(!a||!a.length)return;const l=th(a),u=De(e),{mode:f}=u;if(s.isLeaving)return Fo(l);const h=Gc(l);if(!h)return Fo(l);let p=ca(h,u,s,r,y=>p=y);h.type!==kt&&Or(h,p);const m=r.subTree,_=m&&Gc(m);if(_&&_.type!==kt&&!li(h,_)&&eh(r).type!==kt){const y=ca(_,u,s,r);if(Or(_,y),f==="out-in"&&h.type!==kt)return s.isLeaving=!0,y.afterLeave=()=>{s.isLeaving=!1,r.job.flags&8||r.update(),delete y.afterLeave},Fo(l);f==="in-out"&&h.type!==kt&&(y.delayLeave=(P,$,T)=>{const C=nh(s,_);C[String(_.key)]=_,P[Zn]=()=>{$(),P[Zn]=void 0,delete p.delayedLeave},p.delayedLeave=T})}return l}}};function th(e){let n=e[0];if(e.length>1){for(const r of e)if(r.type!==kt){n=r;break}}return n}const qm=Um;function nh(e,n){const{leavingVNodes:r}=e;let s=r.get(n.type);return s||(s=Object.create(null),r.set(n.type,s)),s}function ca(e,n,r,s,a){const{appear:l,mode:u,persisted:f=!1,onBeforeEnter:h,onEnter:p,onAfterEnter:m,onEnterCancelled:_,onBeforeLeave:y,onLeave:P,onAfterLeave:$,onLeaveCancelled:T,onBeforeAppear:C,onAppear:S,onAfterAppear:R,onAppearCancelled:j}=n,B=String(e.key),G=nh(r,e),le=(fe,we)=>{fe&&en(fe,s,9,we)},ue=(fe,we)=>{const me=we[1];le(fe,we),ye(fe)?fe.every(ne=>ne.length<=1)&&me():fe.length<=1&&me()},Me={mode:u,persisted:f,beforeEnter(fe){let we=h;if(!r.isMounted)if(l)we=C||h;else return;fe[Zn]&&fe[Zn](!0);const me=G[B];me&&li(e,me)&&me.el[Zn]&&me.el[Zn](),le(we,[fe])},enter(fe){let we=p,me=m,ne=_;if(!r.isMounted)if(l)we=S||p,me=R||m,ne=j||_;else return;let pe=!1;const _e=fe[ds]=Ge=>{pe||(pe=!0,Ge?le(ne,[fe]):le(me,[fe]),Me.delayedLeave&&Me.delayedLeave(),fe[ds]=void 0)};we?ue(we,[fe,_e]):_e()},leave(fe,we){const me=String(e.key);if(fe[ds]&&fe[ds](!0),r.isUnmounting)return we();le(y,[fe]);let ne=!1;const pe=fe[Zn]=_e=>{ne||(ne=!0,we(),_e?le(T,[fe]):le($,[fe]),fe[Zn]=void 0,G[me]===e&&delete G[me])};G[me]=e,P?ue(P,[fe,pe]):pe()},clone(fe){const we=ca(fe,n,r,s,a);return a&&a(we),we}};return Me}function Fo(e){if(Ks(e))return e=qn(e),e.children=null,e}function Gc(e){if(!Ks(e))return Xf(e.type)&&e.children?th(e.children):e;const{shapeFlag:n,children:r}=e;if(r){if(n&16)return r[0];if(n&32&&Pe(r.default))return r.default()}}function Or(e,n){e.shapeFlag&6&&e.component?(e.transition=n,Or(e.component.subTree,n)):e.shapeFlag&128?(e.ssContent.transition=n.clone(e.ssContent),e.ssFallback.transition=n.clone(e.ssFallback)):e.transition=n}function ih(e,n=!1,r){let s=[],a=0;for(let l=0;l1)for(let l=0;lua($,n&&(ye(n)?n[T]:n),r,s,a));return}if(zi(s)&&!a)return;const l=s.shapeFlag&4?Qs(s.component):s.el,u=a?null:l,{i:f,r:h}=e,p=n&&n.r,m=f.refs===He?f.refs={}:f.refs,_=f.setupState,y=De(_),P=_===He?()=>!1:$=>je(y,$);if(p!=null&&p!==h&&(Ye(p)?(m[p]=null,P(p)&&(_[p]=null)):$t(p)&&(p.value=null)),Pe(h))zr(h,f,12,[u,m]);else{const $=Ye(h),T=$t(h);if($||T){const C=()=>{if(e.f){const S=$?P(h)?_[h]:m[h]:h.value;a?ye(S)&&Ra(S,l):ye(S)?S.includes(l)||S.push(l):$?(m[h]=[l],P(h)&&(_[h]=m[h])):(h.value=[l],e.k&&(m[e.k]=h.value))}else $?(m[h]=u,P(h)&&(_[h]=u)):T&&(h.value=u,e.k&&(m[e.k]=u))};u?(C.id=-1,Nt(C,r)):C()}}}const zi=e=>!!e.type.__asyncLoader,Ks=e=>e.type.__isKeepAlive;function Wm(e,n){sh(e,"a",n)}function Km(e,n){sh(e,"da",n)}function sh(e,n,r=gt){const s=e.__wdc||(e.__wdc=()=>{let a=r;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Gs(n,s,r),r){let a=r.parent;for(;a&&a.parent;)Ks(a.parent.vnode)&&Gm(s,n,r,a),a=a.parent}}function Gm(e,n,r,s){const a=Gs(n,e,s,!0);ah(()=>{Ra(s[n],a)},r)}function Gs(e,n,r=gt,s=!1){if(r){const a=r[e]||(r[e]=[]),l=n.__weh||(n.__weh=(...u)=>{Kn();const f=Dr(r),h=en(n,r,e,u);return f(),Gn(),h});return s?a.unshift(l):a.push(l),l}}const kn=e=>(n,r=gt)=>{(!Xs||e==="sp")&&Gs(e,(...s)=>n(...s),r)},Jm=kn("bm"),qa=kn("m"),Ym=kn("bu"),Xm=kn("u"),oh=kn("bum"),ah=kn("um"),Qm=kn("sp"),e_=kn("rtg"),t_=kn("rtc");function n_(e,n=gt){Gs("ec",e,n)}const lh="components";function Hi(e,n){return uh(lh,e,!0,n)||e}const ch=Symbol.for("v-ndc");function i_(e){return Ye(e)?uh(lh,e,!1)||e:e||ch}function uh(e,n,r=!0,s=!1){const a=dt||gt;if(a){const l=a.type;{const f=U_(l,!1);if(f&&(f===n||f===Qt(n)||f===Vs(Qt(n))))return l}const u=Jc(a[e]||l[e],n)||Jc(a.appContext[e],n);return!u&&s?l:u}}function Jc(e,n){return e&&(e[n]||e[Qt(n)]||e[Vs(Qt(n))])}function vr(e,n,r,s){let a;const l=r,u=ye(e);if(u||Ye(e)){const f=u&&Ai(e);let h=!1;f&&(h=!Ht(e),e=Hs(e)),a=new Array(e.length);for(let p=0,m=e.length;pn(f,h,void 0,l));else{const f=Object.keys(e);a=new Array(f.length);for(let h=0,p=f.length;h{const l=s.fn(...a);return l&&(l.key=s.key),l}:s.fn)}return e}function un(e,n,r={},s,a){if(dt.ce||dt.parent&&zi(dt.parent)&&dt.parent.ce)return n!=="default"&&(r.name=n),ve(),it(at,null,[Ke("slot",r,s)],64);let l=e[n];l&&l._c&&(l._d=!1),ve();const u=l&&hh(l(r)),f=it(at,{key:(r.key||u&&u.key||`_${n}`)+(!u&&s?"_fb":"")},u||[],u&&e._===1?64:-2);return!a&&f.scopeId&&(f.slotScopeIds=[f.scopeId+"-s"]),l&&l._c&&(l._d=!0),f}function hh(e){return e.some(n=>Is(n)?!(n.type===kt||n.type===at&&!hh(n.children)):!0)?e:null}const fa=e=>e?Rh(e)?Qs(e):fa(e.parent):null,yr=ut(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=>fa(e.parent),$root:e=>fa(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Wa(e),$forceUpdate:e=>e.f||(e.f=()=>{Ua(e.update)}),$nextTick:e=>e.n||(e.n=Wf.bind(e.proxy)),$watch:e=>S_.bind(e)}),Vo=(e,n)=>e!==He&&!e.__isScriptSetup&&je(e,n),r_={get({_:e},n){if(n==="__v_skip")return!0;const{ctx:r,setupState:s,data:a,props:l,accessCache:u,type:f,appContext:h}=e;let p;if(n[0]!=="$"){const P=u[n];if(P!==void 0)switch(P){case 1:return s[n];case 2:return a[n];case 4:return r[n];case 3:return l[n]}else{if(Vo(s,n))return u[n]=1,s[n];if(a!==He&&je(a,n))return u[n]=2,a[n];if((p=e.propsOptions[0])&&je(p,n))return u[n]=3,l[n];if(r!==He&&je(r,n))return u[n]=4,r[n];ha&&(u[n]=0)}}const m=yr[n];let _,y;if(m)return n==="$attrs"&&St(e.attrs,"get",""),m(e);if((_=f.__cssModules)&&(_=_[n]))return _;if(r!==He&&je(r,n))return u[n]=4,r[n];if(y=h.config.globalProperties,je(y,n))return y[n]},set({_:e},n,r){const{data:s,setupState:a,ctx:l}=e;return Vo(a,n)?(a[n]=r,!0):s!==He&&je(s,n)?(s[n]=r,!0):je(e.props,n)||n[0]==="$"&&n.slice(1)in e?!1:(l[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:s,appContext:a,propsOptions:l}},u){let f;return!!r[u]||e!==He&&je(e,u)||Vo(n,u)||(f=l[0])&&je(f,u)||je(s,u)||je(yr,u)||je(a.config.globalProperties,u)},defineProperty(e,n,r){return r.get!=null?e._.accessCache[n]=0:je(r,"value")&&this.set(e,n,r.value,null),Reflect.defineProperty(e,n,r)}};function Yc(e){return ye(e)?e.reduce((n,r)=>(n[r]=null,n),{}):e}let ha=!0;function s_(e){const n=Wa(e),r=e.proxy,s=e.ctx;ha=!1,n.beforeCreate&&Xc(n.beforeCreate,e,"bc");const{data:a,computed:l,methods:u,watch:f,provide:h,inject:p,created:m,beforeMount:_,mounted:y,beforeUpdate:P,updated:$,activated:T,deactivated:C,beforeDestroy:S,beforeUnmount:R,destroyed:j,unmounted:B,render:G,renderTracked:le,renderTriggered:ue,errorCaptured:Me,serverPrefetch:fe,expose:we,inheritAttrs:me,components:ne,directives:pe,filters:_e}=n;if(p&&o_(p,s,null),u)for(const Ee in u){const ie=u[Ee];Pe(ie)&&(s[Ee]=ie.bind(r))}if(a){const Ee=a.call(r,r);We(Ee)&&(e.data=qs(Ee))}if(ha=!0,l)for(const Ee in l){const ie=l[Ee],rt=Pe(ie)?ie.bind(r,r):Pe(ie.get)?ie.get.bind(r,r):dn,U=!Pe(ie)&&Pe(ie.set)?ie.set.bind(r):dn,M=ct({get:rt,set:U});Object.defineProperty(s,Ee,{enumerable:!0,configurable:!0,get:()=>M.value,set:q=>M.value=q})}if(f)for(const Ee in f)dh(f[Ee],s,r,Ee);if(h){const Ee=Pe(h)?h.call(r):h;Reflect.ownKeys(Ee).forEach(ie=>{Ps(ie,Ee[ie])})}m&&Xc(m,e,"c");function $e(Ee,ie){ye(ie)?ie.forEach(rt=>Ee(rt.bind(r))):ie&&Ee(ie.bind(r))}if($e(Jm,_),$e(qa,y),$e(Ym,P),$e(Xm,$),$e(Wm,T),$e(Km,C),$e(n_,Me),$e(t_,le),$e(e_,ue),$e(oh,R),$e(ah,B),$e(Qm,fe),ye(we))if(we.length){const Ee=e.exposed||(e.exposed={});we.forEach(ie=>{Object.defineProperty(Ee,ie,{get:()=>r[ie],set:rt=>r[ie]=rt})})}else e.exposed||(e.exposed={});G&&e.render===dn&&(e.render=G),me!=null&&(e.inheritAttrs=me),ne&&(e.components=ne),pe&&(e.directives=pe),fe&&rh(e)}function o_(e,n,r=dn){ye(e)&&(e=da(e));for(const s in e){const a=e[s];let l;We(a)?"default"in a?l=Xt(a.from||s,a.default,!0):l=Xt(a.from||s):l=Xt(a),$t(l)?Object.defineProperty(n,s,{enumerable:!0,configurable:!0,get:()=>l.value,set:u=>l.value=u}):n[s]=l}}function Xc(e,n,r){en(ye(e)?e.map(s=>s.bind(n.proxy)):e.bind(n.proxy),n,r)}function dh(e,n,r,s){let a=s.includes(".")?xh(r,s):()=>r[s];if(Ye(e)){const l=n[e];Pe(l)&&hi(a,l)}else if(Pe(e))hi(a,e.bind(r));else if(We(e))if(ye(e))e.forEach(l=>dh(l,n,r,s));else{const l=Pe(e.handler)?e.handler.bind(r):n[e.handler];Pe(l)&&hi(a,l,e)}}function Wa(e){const n=e.type,{mixins:r,extends:s}=n,{mixins:a,optionsCache:l,config:{optionMergeStrategies:u}}=e.appContext,f=l.get(n);let h;return f?h=f:!a.length&&!r&&!s?h=n:(h={},a.length&&a.forEach(p=>Ms(h,p,u,!0)),Ms(h,n,u)),We(n)&&l.set(n,h),h}function Ms(e,n,r,s=!1){const{mixins:a,extends:l}=n;l&&Ms(e,l,r,!0),a&&a.forEach(u=>Ms(e,u,r,!0));for(const u in n)if(!(s&&u==="expose")){const f=a_[u]||r&&r[u];e[u]=f?f(e[u],n[u]):n[u]}return e}const a_={data:Qc,props:eu,emits:eu,methods:dr,computed:dr,beforeCreate:xt,created:xt,beforeMount:xt,mounted:xt,beforeUpdate:xt,updated:xt,beforeDestroy:xt,beforeUnmount:xt,destroyed:xt,unmounted:xt,activated:xt,deactivated:xt,errorCaptured:xt,serverPrefetch:xt,components:dr,directives:dr,watch:c_,provide:Qc,inject:l_};function Qc(e,n){return n?e?function(){return ut(Pe(e)?e.call(this,this):e,Pe(n)?n.call(this,this):n)}:n:e}function l_(e,n){return dr(da(e),da(n))}function da(e){if(ye(e)){const n={};for(let r=0;r1)return r&&Pe(n)?n.call(s&&s.proxy):n}}const mh={},_h=()=>Object.create(mh),gh=e=>Object.getPrototypeOf(e)===mh;function h_(e,n,r,s=!1){const a={},l=_h();e.propsDefaults=Object.create(null),vh(e,n,a,l);for(const u in e.propsOptions[0])u in a||(a[u]=void 0);r?e.props=s?a:Ff(a):e.type.props?e.props=a:e.props=l,e.attrs=l}function d_(e,n,r,s){const{props:a,attrs:l,vnode:{patchFlag:u}}=e,f=De(a),[h]=e.propsOptions;let p=!1;if((s||u>0)&&!(u&16)){if(u&8){const m=e.vnode.dynamicProps;for(let _=0;_{h=!0;const[y,P]=yh(_,n,!0);ut(u,y),P&&f.push(...P)};!r&&n.mixins.length&&n.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!l&&!h)return We(e)&&s.set(e,Mi),Mi;if(ye(l))for(let m=0;me[0]==="_"||e==="$stable",Ka=e=>ye(e)?e.map(cn):[cn(e)],m_=(e,n,r)=>{if(n._n)return n;const s=nt((...a)=>Ka(n(...a)),r);return s._c=!1,s},bh=(e,n,r)=>{const s=e._ctx;for(const a in e){if(wh(a))continue;const l=e[a];if(Pe(l))n[a]=m_(a,l,s);else if(l!=null){const u=Ka(l);n[a]=()=>u}}},Ph=(e,n)=>{const r=Ka(n);e.slots.default=()=>r},$h=(e,n,r)=>{for(const s in n)(r||s!=="_")&&(e[s]=n[s])},__=(e,n,r)=>{const s=e.slots=_h();if(e.vnode.shapeFlag&32){const a=n._;a?($h(s,n,r),r&&Sf(s,"_",a,!0)):bh(n,s)}else n&&Ph(e,n)},g_=(e,n,r)=>{const{vnode:s,slots:a}=e;let l=!0,u=He;if(s.shapeFlag&32){const f=n._;f?r&&f===1?l=!1:$h(a,n,r):(l=!n.$stable,bh(n,a)),u=n}else n&&(Ph(e,n),u={default:1});if(l)for(const f in a)!wh(f)&&u[f]==null&&delete a[f]},Nt=O_;function v_(e){return y_(e)}function y_(e,n){const r=Ef();r.__VUE__=!0;const{insert:s,remove:a,patchProp:l,createElement:u,createText:f,createComment:h,setText:p,setElementText:m,parentNode:_,nextSibling:y,setScopeId:P=dn,insertStaticContent:$}=e,T=(g,b,O,F=null,V=null,W=null,te=void 0,ee=null,Y=!!b.dynamicChildren)=>{if(g===b)return;g&&!li(g,b)&&(F=I(g),q(g,V,W,!0),g=null),b.patchFlag===-2&&(Y=!1,b.dynamicChildren=null);const{type:X,ref:ae,shapeFlag:re}=b;switch(X){case Ys:C(g,b,O,F);break;case kt:S(g,b,O,F);break;case $s:g==null&&R(b,O,F,te);break;case at:ne(g,b,O,F,V,W,te,ee,Y);break;default:re&1?G(g,b,O,F,V,W,te,ee,Y):re&6?pe(g,b,O,F,V,W,te,ee,Y):(re&64||re&128)&&X.process(g,b,O,F,V,W,te,ee,Y,Q)}ae!=null&&V&&ua(ae,g&&g.ref,W,b||g,!b)},C=(g,b,O,F)=>{if(g==null)s(b.el=f(b.children),O,F);else{const V=b.el=g.el;b.children!==g.children&&p(V,b.children)}},S=(g,b,O,F)=>{g==null?s(b.el=h(b.children||""),O,F):b.el=g.el},R=(g,b,O,F)=>{[g.el,g.anchor]=$(g.children,b,O,F,g.el,g.anchor)},j=({el:g,anchor:b},O,F)=>{let V;for(;g&&g!==b;)V=y(g),s(g,O,F),g=V;s(b,O,F)},B=({el:g,anchor:b})=>{let O;for(;g&&g!==b;)O=y(g),a(g),g=O;a(b)},G=(g,b,O,F,V,W,te,ee,Y)=>{b.type==="svg"?te="svg":b.type==="math"&&(te="mathml"),g==null?le(b,O,F,V,W,te,ee,Y):fe(g,b,V,W,te,ee,Y)},le=(g,b,O,F,V,W,te,ee)=>{let Y,X;const{props:ae,shapeFlag:re,transition:ce,dirs:de}=g;if(Y=g.el=u(g.type,W,ae&&ae.is,ae),re&8?m(Y,g.children):re&16&&Me(g.children,Y,null,F,V,Ho(g,W),te,ee),de&&ti(g,null,F,"created"),ue(Y,g,g.scopeId,te,F),ae){for(const Ne in ae)Ne!=="value"&&!_r(Ne)&&l(Y,Ne,null,ae[Ne],W,F);"value"in ae&&l(Y,"value",null,ae.value,W),(X=ae.onVnodeBeforeMount)&&an(X,F,g)}de&&ti(g,null,F,"beforeMount");const Te=w_(V,ce);Te&&ce.beforeEnter(Y),s(Y,b,O),((X=ae&&ae.onVnodeMounted)||Te||de)&&Nt(()=>{X&&an(X,F,g),Te&&ce.enter(Y),de&&ti(g,null,F,"mounted")},V)},ue=(g,b,O,F,V)=>{if(O&&P(g,O),F)for(let W=0;W{for(let X=Y;X{const ee=b.el=g.el;let{patchFlag:Y,dynamicChildren:X,dirs:ae}=b;Y|=g.patchFlag&16;const re=g.props||He,ce=b.props||He;let de;if(O&&ni(O,!1),(de=ce.onVnodeBeforeUpdate)&&an(de,O,b,g),ae&&ti(b,g,O,"beforeUpdate"),O&&ni(O,!0),(re.innerHTML&&ce.innerHTML==null||re.textContent&&ce.textContent==null)&&m(ee,""),X?we(g.dynamicChildren,X,ee,O,F,Ho(b,V),W):te||ie(g,b,ee,null,O,F,Ho(b,V),W,!1),Y>0){if(Y&16)me(ee,re,ce,O,V);else if(Y&2&&re.class!==ce.class&&l(ee,"class",null,ce.class,V),Y&4&&l(ee,"style",re.style,ce.style,V),Y&8){const Te=b.dynamicProps;for(let Ne=0;Ne{de&&an(de,O,b,g),ae&&ti(b,g,O,"updated")},F)},we=(g,b,O,F,V,W,te)=>{for(let ee=0;ee{if(b!==O){if(b!==He)for(const W in b)!_r(W)&&!(W in O)&&l(g,W,b[W],null,V,F);for(const W in O){if(_r(W))continue;const te=O[W],ee=b[W];te!==ee&&W!=="value"&&l(g,W,ee,te,V,F)}"value"in O&&l(g,"value",b.value,O.value,V)}},ne=(g,b,O,F,V,W,te,ee,Y)=>{const X=b.el=g?g.el:f(""),ae=b.anchor=g?g.anchor:f("");let{patchFlag:re,dynamicChildren:ce,slotScopeIds:de}=b;de&&(ee=ee?ee.concat(de):de),g==null?(s(X,O,F),s(ae,O,F),Me(b.children||[],O,ae,V,W,te,ee,Y)):re>0&&re&64&&ce&&g.dynamicChildren?(we(g.dynamicChildren,ce,O,V,W,te,ee),(b.key!=null||V&&b===V.subTree)&&Sh(g,b,!0)):ie(g,b,O,ae,V,W,te,ee,Y)},pe=(g,b,O,F,V,W,te,ee,Y)=>{b.slotScopeIds=ee,g==null?b.shapeFlag&512?V.ctx.activate(b,O,F,te,Y):_e(b,O,F,V,W,te,Y):Ge(g,b,Y)},_e=(g,b,O,F,V,W,te)=>{const ee=g.component=j_(g,F,V);if(Ks(g)&&(ee.ctx.renderer=Q),Z_(ee,!1,te),ee.asyncDep){if(V&&V.registerDep(ee,$e,te),!g.el){const Y=ee.subTree=Ke(kt);S(null,Y,b,O)}}else $e(ee,g,b,O,V,W,te)},Ge=(g,b,O)=>{const F=b.component=g.component;if(C_(g,b,O))if(F.asyncDep&&!F.asyncResolved){Ee(F,b,O);return}else F.next=b,F.update();else b.el=g.el,F.vnode=b},$e=(g,b,O,F,V,W,te)=>{const ee=()=>{if(g.isMounted){let{next:re,bu:ce,u:de,parent:Te,vnode:Ne}=g;{const yt=Eh(g);if(yt){re&&(re.el=Ne.el,Ee(g,re,te)),yt.asyncDep.then(()=>{g.isUnmounted||ee()});return}}let Ie=re,ft;ni(g,!1),re?(re.el=Ne.el,Ee(g,re,te)):re=Ne,ce&&bs(ce),(ft=re.props&&re.props.onVnodeBeforeUpdate)&&an(ft,Te,re,Ne),ni(g,!0);const st=Uo(g),At=g.subTree;g.subTree=st,T(At,st,_(At.el),I(At),g,V,W),re.el=st.el,Ie===null&&k_(g,st.el),de&&Nt(de,V),(ft=re.props&&re.props.onVnodeUpdated)&&Nt(()=>an(ft,Te,re,Ne),V)}else{let re;const{el:ce,props:de}=b,{bm:Te,m:Ne,parent:Ie,root:ft,type:st}=g,At=zi(b);if(ni(g,!1),Te&&bs(Te),!At&&(re=de&&de.onVnodeBeforeMount)&&an(re,Ie,b),ni(g,!0),ce&&A){const yt=()=>{g.subTree=Uo(g),A(ce,g.subTree,g,V,null)};At&&st.__asyncHydrate?st.__asyncHydrate(ce,g,yt):yt()}else{ft.ce&&ft.ce._injectChildStyle(st);const yt=g.subTree=Uo(g);T(null,yt,O,F,g,V,W),b.el=yt.el}if(Ne&&Nt(Ne,V),!At&&(re=de&&de.onVnodeMounted)){const yt=b;Nt(()=>an(re,Ie,yt),V)}(b.shapeFlag&256||Ie&&zi(Ie.vnode)&&Ie.vnode.shapeFlag&256)&&g.a&&Nt(g.a,V),g.isMounted=!0,b=O=F=null}};g.scope.on();const Y=g.effect=new Cf(ee);g.scope.off();const X=g.update=Y.run.bind(Y),ae=g.job=Y.runIfDirty.bind(Y);ae.i=g,ae.id=g.uid,Y.scheduler=()=>Ua(ae),ni(g,!0),X()},Ee=(g,b,O)=>{b.component=g;const F=g.vnode.props;g.vnode=b,g.next=null,d_(g,b.props,F,O),g_(g,b.children,O),Kn(),Kc(g),Gn()},ie=(g,b,O,F,V,W,te,ee,Y=!1)=>{const X=g&&g.children,ae=g?g.shapeFlag:0,re=b.children,{patchFlag:ce,shapeFlag:de}=b;if(ce>0){if(ce&128){U(X,re,O,F,V,W,te,ee,Y);return}else if(ce&256){rt(X,re,O,F,V,W,te,ee,Y);return}}de&8?(ae&16&&N(X,V,W),re!==X&&m(O,re)):ae&16?de&16?U(X,re,O,F,V,W,te,ee,Y):N(X,V,W,!0):(ae&8&&m(O,""),de&16&&Me(re,O,F,V,W,te,ee,Y))},rt=(g,b,O,F,V,W,te,ee,Y)=>{g=g||Mi,b=b||Mi;const X=g.length,ae=b.length,re=Math.min(X,ae);let ce;for(ce=0;ceae?N(g,V,W,!0,!1,re):Me(b,O,F,V,W,te,ee,Y,re)},U=(g,b,O,F,V,W,te,ee,Y)=>{let X=0;const ae=b.length;let re=g.length-1,ce=ae-1;for(;X<=re&&X<=ce;){const de=g[X],Te=b[X]=Y?Fn(b[X]):cn(b[X]);if(li(de,Te))T(de,Te,O,null,V,W,te,ee,Y);else break;X++}for(;X<=re&&X<=ce;){const de=g[re],Te=b[ce]=Y?Fn(b[ce]):cn(b[ce]);if(li(de,Te))T(de,Te,O,null,V,W,te,ee,Y);else break;re--,ce--}if(X>re){if(X<=ce){const de=ce+1,Te=dece)for(;X<=re;)q(g[X],V,W,!0),X++;else{const de=X,Te=X,Ne=new Map;for(X=Te;X<=ce;X++){const Et=b[X]=Y?Fn(b[X]):cn(b[X]);Et.key!=null&&Ne.set(Et.key,X)}let Ie,ft=0;const st=ce-Te+1;let At=!1,yt=0;const mn=new Array(st);for(X=0;X=st){q(Et,V,W,!0);continue}let wt;if(Et.key!=null)wt=Ne.get(Et.key);else for(Ie=Te;Ie<=ce;Ie++)if(mn[Ie-Te]===0&&li(Et,b[Ie])){wt=Ie;break}wt===void 0?q(Et,V,W,!0):(mn[wt-Te]=X+1,wt>=yt?yt=wt:At=!0,T(Et,b[wt],O,null,V,W,te,ee,Y),ft++)}const Ki=At?b_(mn):Mi;for(Ie=Ki.length-1,X=st-1;X>=0;X--){const Et=Te+X,wt=b[Et],Fr=Et+1{const{el:W,type:te,transition:ee,children:Y,shapeFlag:X}=g;if(X&6){M(g.component.subTree,b,O,F);return}if(X&128){g.suspense.move(b,O,F);return}if(X&64){te.move(g,b,O,Q);return}if(te===at){s(W,b,O);for(let re=0;reee.enter(W),V);else{const{leave:re,delayLeave:ce,afterLeave:de}=ee,Te=()=>s(W,b,O),Ne=()=>{re(W,()=>{Te(),de&&de()})};ce?ce(W,Te,Ne):Ne()}else s(W,b,O)},q=(g,b,O,F=!1,V=!1)=>{const{type:W,props:te,ref:ee,children:Y,dynamicChildren:X,shapeFlag:ae,patchFlag:re,dirs:ce,cacheIndex:de}=g;if(re===-2&&(V=!1),ee!=null&&ua(ee,null,O,g,!0),de!=null&&(b.renderCache[de]=void 0),ae&256){b.ctx.deactivate(g);return}const Te=ae&1&&ce,Ne=!zi(g);let Ie;if(Ne&&(Ie=te&&te.onVnodeBeforeUnmount)&&an(Ie,b,g),ae&6)E(g.component,O,F);else{if(ae&128){g.suspense.unmount(O,F);return}Te&&ti(g,null,b,"beforeUnmount"),ae&64?g.type.remove(g,b,O,Q,F):X&&!X.hasOnce&&(W!==at||re>0&&re&64)?N(X,b,O,!1,!0):(W===at&&re&384||!V&&ae&16)&&N(Y,b,O),F&&z(g)}(Ne&&(Ie=te&&te.onVnodeUnmounted)||Te)&&Nt(()=>{Ie&&an(Ie,b,g),Te&&ti(g,null,b,"unmounted")},O)},z=g=>{const{type:b,el:O,anchor:F,transition:V}=g;if(b===at){w(O,F);return}if(b===$s){B(g);return}const W=()=>{a(O),V&&!V.persisted&&V.afterLeave&&V.afterLeave()};if(g.shapeFlag&1&&V&&!V.persisted){const{leave:te,delayLeave:ee}=V,Y=()=>te(O,W);ee?ee(g.el,W,Y):Y()}else W()},w=(g,b)=>{let O;for(;g!==b;)O=y(g),a(g),g=O;a(b)},E=(g,b,O)=>{const{bum:F,scope:V,job:W,subTree:te,um:ee,m:Y,a:X}=g;nu(Y),nu(X),F&&bs(F),V.stop(),W&&(W.flags|=8,q(te,g,b,O)),ee&&Nt(ee,b),Nt(()=>{g.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},N=(g,b,O,F=!1,V=!1,W=0)=>{for(let te=W;te{if(g.shapeFlag&6)return I(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const b=y(g.anchor||g.el),O=b&&b[Vm];return O?y(O):b};let H=!1;const K=(g,b,O)=>{g==null?b._vnode&&q(b._vnode,null,null,!0):T(b._vnode||null,g,b,null,null,null,O),b._vnode=g,H||(H=!0,Kc(),Gf(),H=!1)},Q={p:T,um:q,m:M,r:z,mt:_e,mc:Me,pc:ie,pbc:we,n:I,o:e};let k,A;return{render:K,hydrate:k,createApp:f_(K,k)}}function Ho({type:e,props:n},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&n&&n.encoding&&n.encoding.includes("html")?void 0:r}function ni({effect:e,job:n},r){r?(e.flags|=32,n.flags|=4):(e.flags&=-33,n.flags&=-5)}function w_(e,n){return(!e||e&&!e.pendingBranch)&&n&&!n.persisted}function Sh(e,n,r=!1){const s=e.children,a=n.children;if(ye(s)&&ye(a))for(let l=0;l>1,e[r[f]]0&&(n[s]=r[l-1]),r[l]=s)}}for(l=r.length,u=r[l-1];l-- >0;)r[l]=u,u=n[u];return r}function Eh(e){const n=e.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:Eh(n)}function nu(e){if(e)for(let n=0;nXt(P_);function hi(e,n,r){return Th(e,n,r)}function Th(e,n,r=He){const{immediate:s,deep:a,flush:l,once:u}=r,f=ut({},r);let h;if(Xs)if(l==="sync"){const y=$_();h=y.__watcherHandles||(y.__watcherHandles=[])}else if(!n||s)f.once=!0;else return{stop:dn,resume:dn,pause:dn};const p=gt;f.call=(y,P,$)=>en(y,p,P,$);let m=!1;l==="post"?f.scheduler=y=>{Nt(y,p&&p.suspense)}:l!=="sync"&&(m=!0,f.scheduler=(y,P)=>{P?y():Ua(y)}),f.augmentJob=y=>{n&&(y.flags|=4),m&&(y.flags|=2,p&&(y.id=p.uid,y.i=p))};const _=Dm(e,n,f);return h&&h.push(_),_}function S_(e,n,r){const s=this.proxy,a=Ye(e)?e.includes(".")?xh(s,e):()=>s[e]:e.bind(s,s);let l;Pe(n)?l=n:(l=n.handler,r=n);const u=Dr(this),f=Th(a,l.bind(s),r);return u(),f}function xh(e,n){const r=n.split(".");return()=>{let s=e;for(let a=0;an==="modelValue"||n==="model-value"?e.modelModifiers:e[`${n}Modifiers`]||e[`${Qt(n)}Modifiers`]||e[`${gi(n)}Modifiers`];function T_(e,n,...r){if(e.isUnmounted)return;const s=e.vnode.props||He;let a=r;const l=n.startsWith("update:"),u=l&&E_(s,n.slice(7));u&&(u.trim&&(a=r.map(m=>Ye(m)?m.trim():m)),u.number&&(a=r.map(ra)));let f,h=s[f=zo(n)]||s[f=zo(Qt(n))];!h&&l&&(h=s[f=zo(gi(n))]),h&&en(h,e,6,a);const p=s[f+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,en(p,e,6,a)}}function Lh(e,n,r=!1){const s=n.emitsCache,a=s.get(e);if(a!==void 0)return a;const l=e.emits;let u={},f=!1;if(!Pe(e)){const h=p=>{const m=Lh(p,n,!0);m&&(f=!0,ut(u,m))};!r&&n.mixins.length&&n.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}return!l&&!f?(We(e)&&s.set(e,null),null):(ye(l)?l.forEach(h=>u[h]=null):ut(u,l),We(e)&&s.set(e,u),u)}function Js(e,n){return!e||!Bs(n)?!1:(n=n.slice(2).replace(/Once$/,""),je(e,n[0].toLowerCase()+n.slice(1))||je(e,gi(n))||je(e,n))}function Uo(e){const{type:n,vnode:r,proxy:s,withProxy:a,propsOptions:[l],slots:u,attrs:f,emit:h,render:p,renderCache:m,props:_,data:y,setupState:P,ctx:$,inheritAttrs:T}=e,C=Rs(e);let S,R;try{if(r.shapeFlag&4){const B=a||s,G=B;S=cn(p.call(G,B,m,_,P,y,$)),R=f}else{const B=n;S=cn(B.length>1?B(_,{attrs:f,slots:u,emit:h}):B(_,null)),R=n.props?f:x_(f)}}catch(B){wr.length=0,Ws(B,e,1),S=Ke(kt)}let j=S;if(R&&T!==!1){const B=Object.keys(R),{shapeFlag:G}=j;B.length&&G&7&&(l&&B.some(Oa)&&(R=L_(R,l)),j=qn(j,R,!1,!0))}return r.dirs&&(j=qn(j,null,!1,!0),j.dirs=j.dirs?j.dirs.concat(r.dirs):r.dirs),r.transition&&Or(j,r.transition),S=j,Rs(C),S}const x_=e=>{let n;for(const r in e)(r==="class"||r==="style"||Bs(r))&&((n||(n={}))[r]=e[r]);return n},L_=(e,n)=>{const r={};for(const s in e)(!Oa(s)||!(s.slice(9)in n))&&(r[s]=e[s]);return r};function C_(e,n,r){const{props:s,children:a,component:l}=e,{props:u,children:f,patchFlag:h}=n,p=l.emitsOptions;if(n.dirs||n.transition)return!0;if(r&&h>=0){if(h&1024)return!0;if(h&16)return s?iu(s,u,p):!!u;if(h&8){const m=n.dynamicProps;for(let _=0;_e.__isSuspense;function O_(e,n){n&&n.pendingBranch?ye(e)?n.effects.push(...e):n.effects.push(e):Zm(e)}const at=Symbol.for("v-fgt"),Ys=Symbol.for("v-txt"),kt=Symbol.for("v-cmt"),$s=Symbol.for("v-stc"),wr=[];let Dt=null;function ve(e=!1){wr.push(Dt=e?null:[])}function R_(){wr.pop(),Dt=wr[wr.length-1]||null}let Rr=1;function ru(e){Rr+=e,e<0&&Dt&&(Dt.hasOnce=!0)}function kh(e){return e.dynamicChildren=Rr>0?Dt||Mi:null,R_(),Rr>0&&Dt&&Dt.push(e),e}function Ze(e,n,r,s,a,l){return kh(be(e,n,r,s,a,l,!0))}function it(e,n,r,s,a){return kh(Ke(e,n,r,s,a,!0))}function Is(e){return e?e.__v_isVNode===!0:!1}function li(e,n){return e.type===n.type&&e.key===n.key}const Oh=({key:e})=>e??null,Ss=({ref:e,ref_key:n,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Ye(e)||$t(e)||Pe(e)?{i:dt,r:e,k:n,f:!!r}:e:null);function be(e,n=null,r=null,s=0,a=null,l=e===at?0:1,u=!1,f=!1){const h={__v_isVNode:!0,__v_skip:!0,type:e,props:n,key:n&&Oh(n),ref:n&&Ss(n),scopeId:Yf,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:s,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:dt};return f?(Ga(h,r),l&128&&e.normalize(h)):r&&(h.shapeFlag|=Ye(r)?8:16),Rr>0&&!u&&Dt&&(h.patchFlag>0||l&6)&&h.patchFlag!==32&&Dt.push(h),h}const Ke=M_;function M_(e,n=null,r=null,s=0,a=null,l=!1){if((!e||e===ch)&&(e=kt),Is(e)){const f=qn(e,n,!0);return r&&Ga(f,r),Rr>0&&!l&&Dt&&(f.shapeFlag&6?Dt[Dt.indexOf(e)]=f:Dt.push(f)),f.patchFlag=-2,f}if(q_(e)&&(e=e.__vccOpts),n){n=I_(n);let{class:f,style:h}=n;f&&!Ye(f)&&(n.class=di(f)),We(h)&&(Fa(h)&&!ye(h)&&(h=ut({},h)),n.style=Ia(h))}const u=Ye(e)?1:Ch(e)?128:Xf(e)?64:We(e)?4:Pe(e)?2:0;return be(e,n,r,s,a,u,l,!0)}function I_(e){return e?Fa(e)||gh(e)?ut({},e):e:null}function qn(e,n,r=!1,s=!1){const{props:a,ref:l,patchFlag:u,children:f,transition:h}=e,p=n?N_(a||{},n):a,m={__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&Oh(p),ref:n&&n.ref?r&&l?ye(l)?l.concat(Ss(n)):[l,Ss(n)]:Ss(n):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:f,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==at?u===-1?16:u|16:u,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:h,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qn(e.ssContent),ssFallback:e.ssFallback&&qn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return h&&s&&Or(m,h.clone(m)),m}function Ln(e=" ",n=0){return Ke(Ys,null,e,n)}function A_(e,n){const r=Ke($s,null,e);return r.staticCount=n,r}function vt(e="",n=!1){return n?(ve(),it(kt,null,e)):Ke(kt,null,e)}function cn(e){return e==null||typeof e=="boolean"?Ke(kt):ye(e)?Ke(at,null,e.slice()):typeof e=="object"?Fn(e):Ke(Ys,null,String(e))}function Fn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qn(e)}function Ga(e,n){let r=0;const{shapeFlag:s}=e;if(n==null)n=null;else if(ye(n))r=16;else if(typeof n=="object")if(s&65){const a=n.default;a&&(a._c&&(a._d=!1),Ga(e,a()),a._c&&(a._d=!0));return}else{r=32;const a=n._;!a&&!gh(n)?n._ctx=dt:a===3&&dt&&(dt.slots._===1?n._=1:(n._=2,e.patchFlag|=1024))}else Pe(n)?(n={default:n,_ctx:dt},r=32):(n=String(n),s&64?(r=16,n=[Ln(n)]):r=8);e.children=n,e.shapeFlag|=r}function N_(...e){const n={};for(let r=0;rgt||dt;let As,ma;{const e=Ef(),n=(r,s)=>{let a;return(a=e[r])||(a=e[r]=[]),a.push(s),l=>{a.length>1?a.forEach(u=>u(l)):a[0](l)}};As=n("__VUE_INSTANCE_SETTERS__",r=>gt=r),ma=n("__VUE_SSR_SETTERS__",r=>Xs=r)}const Dr=e=>{const n=gt;return As(e),e.scope.on(),()=>{e.scope.off(),As(n)}},su=()=>{gt&>.scope.off(),As(null)};function Rh(e){return e.vnode.shapeFlag&4}let Xs=!1;function Z_(e,n=!1,r=!1){n&&ma(n);const{props:s,children:a}=e.vnode,l=Rh(e);h_(e,s,l,n),__(e,a,r);const u=l?F_(e,n):void 0;return n&&ma(!1),u}function F_(e,n){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,r_);const{setup:s}=r;if(s){const a=e.setupContext=s.length>1?H_(e):null,l=Dr(e);Kn();const u=zr(s,e,0,[e.props,a]);if(Gn(),l(),bf(u)){if(zi(e)||rh(e),u.then(su,su),n)return u.then(f=>{ou(e,f,n)}).catch(f=>{Ws(f,e,0)});e.asyncDep=u}else ou(e,u,n)}else Mh(e,n)}function ou(e,n,r){Pe(n)?e.type.__ssrInlineRender?e.ssrRender=n:e.render=n:We(n)&&(e.setupState=Uf(n)),Mh(e,r)}let au;function Mh(e,n,r){const s=e.type;if(!e.render){if(!n&&au&&!s.render){const a=s.template||Wa(e).template;if(a){const{isCustomElement:l,compilerOptions:u}=e.appContext.config,{delimiters:f,compilerOptions:h}=s,p=ut(ut({isCustomElement:l,delimiters:f},u),h);s.render=au(a,p)}}e.render=s.render||dn}{const a=Dr(e);Kn();try{s_(e)}finally{Gn(),a()}}}const V_={get(e,n){return St(e,"get",""),e[n]}};function H_(e){const n=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,V_),slots:e.slots,emit:e.emit,expose:n}}function Qs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Uf(Om(e.exposed)),{get(n,r){if(r in n)return n[r];if(r in yr)return yr[r](e)},has(n,r){return r in n||r in yr}})):e.proxy}function U_(e,n=!0){return Pe(e)?e.displayName||e.name:e.name||n&&e.__name}function q_(e){return Pe(e)&&"__vccOpts"in e}const ct=(e,n)=>Nm(e,n,Xs);function Ja(e,n,r){const s=arguments.length;return s===2?We(n)&&!ye(n)?Is(n)?Ke(e,null,[n]):Ke(e,n):Ke(e,null,n):(s>3?r=Array.prototype.slice.call(arguments,2):s===3&&Is(r)&&(r=[r]),Ke(e,n,r))}const W_="3.5.4";/** +**/function zr(e,n,r,s){try{return s?e(...s):e()}catch(a){Ws(a,n,r)}}function en(e,n,r,s){if(Pe(e)){const a=zr(e,n,r,s);return a&&vf(a)&&a.catch(l=>{Ws(l,n,r)}),a}if(ye(e)){const a=[];for(let l=0;l>>1,a=Lt[s],l=kr(a);l=kr(r)?Lt.push(e):Lt.splice(Dm(n),0,e),e.flags|=1,Uf()}}function Uf(){!Cr&&!la&&(la=!0,Ha=Vf.then(Wf))}function jm(e){ye(e)?Ni.push(...e):Bn&&e.id===-1?Bn.splice(Ci+1,0,e):e.flags&1||(Ni.push(e),e.flags|=1),Uf()}function Wc(e,n,r=Cr?ln+1:0){for(;rkr(r)-kr(s));if(Ni.length=0,Bn){Bn.push(...n);return}for(Bn=n,Ci=0;Cie.id==null?e.flags&2?-1:1/0:e.id;function Wf(e){la=!1,Cr=!0;try{for(ln=0;ln{s._d&&iu(-1);const l=Rs(n);let u;try{u=e(...a)}finally{Rs(l),s._d&&iu(1)}return u};return s._n=!0,s._c=!0,s._d=!0,s}function Bm(e,n){if(dt===null)return e;const r=Qs(dt),s=e.dirs||(e.dirs=[]);for(let a=0;ae.__isTeleport,Zn=Symbol("_leaveCb"),ps=Symbol("_enterCb");function Fm(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return qa(()=>{e.isMounted=!0}),ih(()=>{e.isUnmounting=!0}),e}const Ft=[Function,Array],Jf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ft,onEnter:Ft,onAfterEnter:Ft,onEnterCancelled:Ft,onBeforeLeave:Ft,onLeave:Ft,onAfterLeave:Ft,onLeaveCancelled:Ft,onBeforeAppear:Ft,onAppear:Ft,onAfterAppear:Ft,onAppearCancelled:Ft},Yf=e=>{const n=e.subTree;return n.component?Yf(n.component):n},Vm={name:"BaseTransition",props:Jf,setup(e,{slots:n}){const r=D_(),s=Fm();return()=>{const a=n.default&&eh(n.default(),!0);if(!a||!a.length)return;const l=Xf(a),u=De(e),{mode:f}=u;if(s.isLeaving)return Fo(l);const h=Kc(l);if(!h)return Fo(l);let p=ca(h,u,s,r,y=>p=y);h.type!==kt&&Or(h,p);const m=r.subTree,_=m&&Kc(m);if(_&&_.type!==kt&&!li(h,_)&&Yf(r).type!==kt){const y=ca(_,u,s,r);if(Or(_,y),f==="out-in"&&h.type!==kt)return s.isLeaving=!0,y.afterLeave=()=>{s.isLeaving=!1,r.job.flags&8||r.update(),delete y.afterLeave},Fo(l);f==="in-out"&&h.type!==kt&&(y.delayLeave=(P,S,T)=>{const C=Qf(s,_);C[String(_.key)]=_,P[Zn]=()=>{S(),P[Zn]=void 0,delete p.delayedLeave},p.delayedLeave=T})}return l}}};function Xf(e){let n=e[0];if(e.length>1){for(const r of e)if(r.type!==kt){n=r;break}}return n}const Hm=Vm;function Qf(e,n){const{leavingVNodes:r}=e;let s=r.get(n.type);return s||(s=Object.create(null),r.set(n.type,s)),s}function ca(e,n,r,s,a){const{appear:l,mode:u,persisted:f=!1,onBeforeEnter:h,onEnter:p,onAfterEnter:m,onEnterCancelled:_,onBeforeLeave:y,onLeave:P,onAfterLeave:S,onLeaveCancelled:T,onBeforeAppear:C,onAppear:$,onAfterAppear:R,onAppearCancelled:j}=n,B=String(e.key),G=Qf(r,e),le=(fe,we)=>{fe&&en(fe,s,9,we)},ue=(fe,we)=>{const me=we[1];le(fe,we),ye(fe)?fe.every(ne=>ne.length<=1)&&me():fe.length<=1&&me()},Me={mode:u,persisted:f,beforeEnter(fe){let we=h;if(!r.isMounted)if(l)we=C||h;else return;fe[Zn]&&fe[Zn](!0);const me=G[B];me&&li(e,me)&&me.el[Zn]&&me.el[Zn](),le(we,[fe])},enter(fe){let we=p,me=m,ne=_;if(!r.isMounted)if(l)we=$||p,me=R||m,ne=j||_;else return;let pe=!1;const _e=fe[ps]=Ge=>{pe||(pe=!0,Ge?le(ne,[fe]):le(me,[fe]),Me.delayedLeave&&Me.delayedLeave(),fe[ps]=void 0)};we?ue(we,[fe,_e]):_e()},leave(fe,we){const me=String(e.key);if(fe[ps]&&fe[ps](!0),r.isUnmounting)return we();le(y,[fe]);let ne=!1;const pe=fe[Zn]=_e=>{ne||(ne=!0,we(),_e?le(T,[fe]):le(S,[fe]),fe[Zn]=void 0,G[me]===e&&delete G[me])};G[me]=e,P?ue(P,[fe,pe]):pe()},clone(fe){const we=ca(fe,n,r,s,a);return a&&a(we),we}};return Me}function Fo(e){if(Ks(e))return e=qn(e),e.children=null,e}function Kc(e){if(!Ks(e))return Gf(e.type)&&e.children?Xf(e.children):e;const{shapeFlag:n,children:r}=e;if(r){if(n&16)return r[0];if(n&32&&Pe(r.default))return r.default()}}function Or(e,n){e.shapeFlag&6&&e.component?(e.transition=n,Or(e.component.subTree,n)):e.shapeFlag&128?(e.ssContent.transition=n.clone(e.ssContent),e.ssFallback.transition=n.clone(e.ssFallback)):e.transition=n}function eh(e,n=!1,r){let s=[],a=0;for(let l=0;l1)for(let l=0;lua(S,n&&(ye(n)?n[T]:n),r,s,a));return}if(zi(s)&&!a)return;const l=s.shapeFlag&4?Qs(s.component):s.el,u=a?null:l,{i:f,r:h}=e,p=n&&n.r,m=f.refs===He?f.refs={}:f.refs,_=f.setupState,y=De(_),P=_===He?()=>!1:S=>je(y,S);if(p!=null&&p!==h&&(Ye(p)?(m[p]=null,P(p)&&(_[p]=null)):$t(p)&&(p.value=null)),Pe(h))zr(h,f,12,[u,m]);else{const S=Ye(h),T=$t(h);if(S||T){const C=()=>{if(e.f){const $=S?P(h)?_[h]:m[h]:h.value;a?ye($)&&Ra($,l):ye($)?$.includes(l)||$.push(l):S?(m[h]=[l],P(h)&&(_[h]=m[h])):(h.value=[l],e.k&&(m[e.k]=h.value))}else S?(m[h]=u,P(h)&&(_[h]=u)):T&&(h.value=u,e.k&&(m[e.k]=u))};u?(C.id=-1,Nt(C,r)):C()}}}const zi=e=>!!e.type.__asyncLoader,Ks=e=>e.type.__isKeepAlive;function Um(e,n){nh(e,"a",n)}function qm(e,n){nh(e,"da",n)}function nh(e,n,r=gt){const s=e.__wdc||(e.__wdc=()=>{let a=r;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Gs(n,s,r),r){let a=r.parent;for(;a&&a.parent;)Ks(a.parent.vnode)&&Wm(s,n,r,a),a=a.parent}}function Wm(e,n,r,s){const a=Gs(n,e,s,!0);rh(()=>{Ra(s[n],a)},r)}function Gs(e,n,r=gt,s=!1){if(r){const a=r[e]||(r[e]=[]),l=n.__weh||(n.__weh=(...u)=>{Kn();const f=Dr(r),h=en(n,r,e,u);return f(),Gn(),h});return s?a.unshift(l):a.push(l),l}}const kn=e=>(n,r=gt)=>{(!Xs||e==="sp")&&Gs(e,(...s)=>n(...s),r)},Km=kn("bm"),qa=kn("m"),Gm=kn("bu"),Jm=kn("u"),ih=kn("bum"),rh=kn("um"),Ym=kn("sp"),Xm=kn("rtg"),Qm=kn("rtc");function e_(e,n=gt){Gs("ec",e,n)}const sh="components";function Hi(e,n){return ah(sh,e,!0,n)||e}const oh=Symbol.for("v-ndc");function t_(e){return Ye(e)?ah(sh,e,!1)||e:e||oh}function ah(e,n,r=!0,s=!1){const a=dt||gt;if(a){const l=a.type;{const f=V_(l,!1);if(f&&(f===n||f===Qt(n)||f===Vs(Qt(n))))return l}const u=Gc(a[e]||l[e],n)||Gc(a.appContext[e],n);return!u&&s?l:u}}function Gc(e,n){return e&&(e[n]||e[Qt(n)]||e[Vs(Qt(n))])}function vr(e,n,r,s){let a;const l=r,u=ye(e);if(u||Ye(e)){const f=u&&Ai(e);let h=!1;f&&(h=!Ht(e),e=Hs(e)),a=new Array(e.length);for(let p=0,m=e.length;pn(f,h,void 0,l));else{const f=Object.keys(e);a=new Array(f.length);for(let h=0,p=f.length;h{const l=s.fn(...a);return l&&(l.key=s.key),l}:s.fn)}return e}function un(e,n,r={},s,a){if(dt.ce||dt.parent&&zi(dt.parent)&&dt.parent.ce)return n!=="default"&&(r.name=n),ve(),it(at,null,[Ke("slot",r,s)],64);let l=e[n];l&&l._c&&(l._d=!1),ve();const u=l&&ch(l(r)),f=it(at,{key:(r.key||u&&u.key||`_${n}`)+(!u&&s?"_fb":"")},u||[],u&&e._===1?64:-2);return!a&&f.scopeId&&(f.slotScopeIds=[f.scopeId+"-s"]),l&&l._c&&(l._d=!0),f}function ch(e){return e.some(n=>Is(n)?!(n.type===kt||n.type===at&&!ch(n.children)):!0)?e:null}const fa=e=>e?Ch(e)?Qs(e):fa(e.parent):null,yr=ut(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=>fa(e.parent),$root:e=>fa(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Wa(e),$forceUpdate:e=>e.f||(e.f=()=>{Ua(e.update)}),$nextTick:e=>e.n||(e.n=Hf.bind(e.proxy)),$watch:e=>P_.bind(e)}),Vo=(e,n)=>e!==He&&!e.__isScriptSetup&&je(e,n),n_={get({_:e},n){if(n==="__v_skip")return!0;const{ctx:r,setupState:s,data:a,props:l,accessCache:u,type:f,appContext:h}=e;let p;if(n[0]!=="$"){const P=u[n];if(P!==void 0)switch(P){case 1:return s[n];case 2:return a[n];case 4:return r[n];case 3:return l[n]}else{if(Vo(s,n))return u[n]=1,s[n];if(a!==He&&je(a,n))return u[n]=2,a[n];if((p=e.propsOptions[0])&&je(p,n))return u[n]=3,l[n];if(r!==He&&je(r,n))return u[n]=4,r[n];ha&&(u[n]=0)}}const m=yr[n];let _,y;if(m)return n==="$attrs"&&St(e.attrs,"get",""),m(e);if((_=f.__cssModules)&&(_=_[n]))return _;if(r!==He&&je(r,n))return u[n]=4,r[n];if(y=h.config.globalProperties,je(y,n))return y[n]},set({_:e},n,r){const{data:s,setupState:a,ctx:l}=e;return Vo(a,n)?(a[n]=r,!0):s!==He&&je(s,n)?(s[n]=r,!0):je(e.props,n)||n[0]==="$"&&n.slice(1)in e?!1:(l[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:s,appContext:a,propsOptions:l}},u){let f;return!!r[u]||e!==He&&je(e,u)||Vo(n,u)||(f=l[0])&&je(f,u)||je(s,u)||je(yr,u)||je(a.config.globalProperties,u)},defineProperty(e,n,r){return r.get!=null?e._.accessCache[n]=0:je(r,"value")&&this.set(e,n,r.value,null),Reflect.defineProperty(e,n,r)}};function Jc(e){return ye(e)?e.reduce((n,r)=>(n[r]=null,n),{}):e}let ha=!0;function i_(e){const n=Wa(e),r=e.proxy,s=e.ctx;ha=!1,n.beforeCreate&&Yc(n.beforeCreate,e,"bc");const{data:a,computed:l,methods:u,watch:f,provide:h,inject:p,created:m,beforeMount:_,mounted:y,beforeUpdate:P,updated:S,activated:T,deactivated:C,beforeDestroy:$,beforeUnmount:R,destroyed:j,unmounted:B,render:G,renderTracked:le,renderTriggered:ue,errorCaptured:Me,serverPrefetch:fe,expose:we,inheritAttrs:me,components:ne,directives:pe,filters:_e}=n;if(p&&r_(p,s,null),u)for(const Ee in u){const ie=u[Ee];Pe(ie)&&(s[Ee]=ie.bind(r))}if(a){const Ee=a.call(r,r);We(Ee)&&(e.data=qs(Ee))}if(ha=!0,l)for(const Ee in l){const ie=l[Ee],rt=Pe(ie)?ie.bind(r,r):Pe(ie.get)?ie.get.bind(r,r):dn,U=!Pe(ie)&&Pe(ie.set)?ie.set.bind(r):dn,M=ct({get:rt,set:U});Object.defineProperty(s,Ee,{enumerable:!0,configurable:!0,get:()=>M.value,set:q=>M.value=q})}if(f)for(const Ee in f)uh(f[Ee],s,r,Ee);if(h){const Ee=Pe(h)?h.call(r):h;Reflect.ownKeys(Ee).forEach(ie=>{Ps(ie,Ee[ie])})}m&&Yc(m,e,"c");function $e(Ee,ie){ye(ie)?ie.forEach(rt=>Ee(rt.bind(r))):ie&&Ee(ie.bind(r))}if($e(Km,_),$e(qa,y),$e(Gm,P),$e(Jm,S),$e(Um,T),$e(qm,C),$e(e_,Me),$e(Qm,le),$e(Xm,ue),$e(ih,R),$e(rh,B),$e(Ym,fe),ye(we))if(we.length){const Ee=e.exposed||(e.exposed={});we.forEach(ie=>{Object.defineProperty(Ee,ie,{get:()=>r[ie],set:rt=>r[ie]=rt})})}else e.exposed||(e.exposed={});G&&e.render===dn&&(e.render=G),me!=null&&(e.inheritAttrs=me),ne&&(e.components=ne),pe&&(e.directives=pe),fe&&th(e)}function r_(e,n,r=dn){ye(e)&&(e=da(e));for(const s in e){const a=e[s];let l;We(a)?"default"in a?l=Xt(a.from||s,a.default,!0):l=Xt(a.from||s):l=Xt(a),$t(l)?Object.defineProperty(n,s,{enumerable:!0,configurable:!0,get:()=>l.value,set:u=>l.value=u}):n[s]=l}}function Yc(e,n,r){en(ye(e)?e.map(s=>s.bind(n.proxy)):e.bind(n.proxy),n,r)}function uh(e,n,r,s){let a=s.includes(".")?Sh(r,s):()=>r[s];if(Ye(e)){const l=n[e];Pe(l)&&hi(a,l)}else if(Pe(e))hi(a,e.bind(r));else if(We(e))if(ye(e))e.forEach(l=>uh(l,n,r,s));else{const l=Pe(e.handler)?e.handler.bind(r):n[e.handler];Pe(l)&&hi(a,l,e)}}function Wa(e){const n=e.type,{mixins:r,extends:s}=n,{mixins:a,optionsCache:l,config:{optionMergeStrategies:u}}=e.appContext,f=l.get(n);let h;return f?h=f:!a.length&&!r&&!s?h=n:(h={},a.length&&a.forEach(p=>Ms(h,p,u,!0)),Ms(h,n,u)),We(n)&&l.set(n,h),h}function Ms(e,n,r,s=!1){const{mixins:a,extends:l}=n;l&&Ms(e,l,r,!0),a&&a.forEach(u=>Ms(e,u,r,!0));for(const u in n)if(!(s&&u==="expose")){const f=s_[u]||r&&r[u];e[u]=f?f(e[u],n[u]):n[u]}return e}const s_={data:Xc,props:Qc,emits:Qc,methods:dr,computed:dr,beforeCreate:xt,created:xt,beforeMount:xt,mounted:xt,beforeUpdate:xt,updated:xt,beforeDestroy:xt,beforeUnmount:xt,destroyed:xt,unmounted:xt,activated:xt,deactivated:xt,errorCaptured:xt,serverPrefetch:xt,components:dr,directives:dr,watch:a_,provide:Xc,inject:o_};function Xc(e,n){return n?e?function(){return ut(Pe(e)?e.call(this,this):e,Pe(n)?n.call(this,this):n)}:n:e}function o_(e,n){return dr(da(e),da(n))}function da(e){if(ye(e)){const n={};for(let r=0;r1)return r&&Pe(n)?n.call(s&&s.proxy):n}}const hh={},dh=()=>Object.create(hh),ph=e=>Object.getPrototypeOf(e)===hh;function u_(e,n,r,s=!1){const a={},l=dh();e.propsDefaults=Object.create(null),mh(e,n,a,l);for(const u in e.propsOptions[0])u in a||(a[u]=void 0);r?e.props=s?a:jf(a):e.type.props?e.props=a:e.props=l,e.attrs=l}function f_(e,n,r,s){const{props:a,attrs:l,vnode:{patchFlag:u}}=e,f=De(a),[h]=e.propsOptions;let p=!1;if((s||u>0)&&!(u&16)){if(u&8){const m=e.vnode.dynamicProps;for(let _=0;_{h=!0;const[y,P]=_h(_,n,!0);ut(u,y),P&&f.push(...P)};!r&&n.mixins.length&&n.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!l&&!h)return We(e)&&s.set(e,Mi),Mi;if(ye(l))for(let m=0;me[0]==="_"||e==="$stable",Ka=e=>ye(e)?e.map(cn):[cn(e)],d_=(e,n,r)=>{if(n._n)return n;const s=nt((...a)=>Ka(n(...a)),r);return s._c=!1,s},vh=(e,n,r)=>{const s=e._ctx;for(const a in e){if(gh(a))continue;const l=e[a];if(Pe(l))n[a]=d_(a,l,s);else if(l!=null){const u=Ka(l);n[a]=()=>u}}},yh=(e,n)=>{const r=Ka(n);e.slots.default=()=>r},wh=(e,n,r)=>{for(const s in n)(r||s!=="_")&&(e[s]=n[s])},p_=(e,n,r)=>{const s=e.slots=dh();if(e.vnode.shapeFlag&32){const a=n._;a?(wh(s,n,r),r&&bf(s,"_",a,!0)):vh(n,s)}else n&&yh(e,n)},m_=(e,n,r)=>{const{vnode:s,slots:a}=e;let l=!0,u=He;if(s.shapeFlag&32){const f=n._;f?r&&f===1?l=!1:wh(a,n,r):(l=!n.$stable,vh(n,a)),u=n}else n&&(yh(e,n),u={default:1});if(l)for(const f in a)!gh(f)&&u[f]==null&&delete a[f]},Nt=C_;function __(e){return g_(e)}function g_(e,n){const r=Pf();r.__VUE__=!0;const{insert:s,remove:a,patchProp:l,createElement:u,createText:f,createComment:h,setText:p,setElementText:m,parentNode:_,nextSibling:y,setScopeId:P=dn,insertStaticContent:S}=e,T=(g,b,O,F=null,V=null,W=null,te=void 0,ee=null,Y=!!b.dynamicChildren)=>{if(g===b)return;g&&!li(g,b)&&(F=I(g),q(g,V,W,!0),g=null),b.patchFlag===-2&&(Y=!1,b.dynamicChildren=null);const{type:X,ref:ae,shapeFlag:re}=b;switch(X){case Ys:C(g,b,O,F);break;case kt:$(g,b,O,F);break;case $s:g==null&&R(b,O,F,te);break;case at:ne(g,b,O,F,V,W,te,ee,Y);break;default:re&1?G(g,b,O,F,V,W,te,ee,Y):re&6?pe(g,b,O,F,V,W,te,ee,Y):(re&64||re&128)&&X.process(g,b,O,F,V,W,te,ee,Y,Q)}ae!=null&&V&&ua(ae,g&&g.ref,W,b||g,!b)},C=(g,b,O,F)=>{if(g==null)s(b.el=f(b.children),O,F);else{const V=b.el=g.el;b.children!==g.children&&p(V,b.children)}},$=(g,b,O,F)=>{g==null?s(b.el=h(b.children||""),O,F):b.el=g.el},R=(g,b,O,F)=>{[g.el,g.anchor]=S(g.children,b,O,F,g.el,g.anchor)},j=({el:g,anchor:b},O,F)=>{let V;for(;g&&g!==b;)V=y(g),s(g,O,F),g=V;s(b,O,F)},B=({el:g,anchor:b})=>{let O;for(;g&&g!==b;)O=y(g),a(g),g=O;a(b)},G=(g,b,O,F,V,W,te,ee,Y)=>{b.type==="svg"?te="svg":b.type==="math"&&(te="mathml"),g==null?le(b,O,F,V,W,te,ee,Y):fe(g,b,V,W,te,ee,Y)},le=(g,b,O,F,V,W,te,ee)=>{let Y,X;const{props:ae,shapeFlag:re,transition:ce,dirs:de}=g;if(Y=g.el=u(g.type,W,ae&&ae.is,ae),re&8?m(Y,g.children):re&16&&Me(g.children,Y,null,F,V,Ho(g,W),te,ee),de&&ti(g,null,F,"created"),ue(Y,g,g.scopeId,te,F),ae){for(const Ne in ae)Ne!=="value"&&!_r(Ne)&&l(Y,Ne,null,ae[Ne],W,F);"value"in ae&&l(Y,"value",null,ae.value,W),(X=ae.onVnodeBeforeMount)&&an(X,F,g)}de&&ti(g,null,F,"beforeMount");const Te=v_(V,ce);Te&&ce.beforeEnter(Y),s(Y,b,O),((X=ae&&ae.onVnodeMounted)||Te||de)&&Nt(()=>{X&&an(X,F,g),Te&&ce.enter(Y),de&&ti(g,null,F,"mounted")},V)},ue=(g,b,O,F,V)=>{if(O&&P(g,O),F)for(let W=0;W{for(let X=Y;X{const ee=b.el=g.el;let{patchFlag:Y,dynamicChildren:X,dirs:ae}=b;Y|=g.patchFlag&16;const re=g.props||He,ce=b.props||He;let de;if(O&&ni(O,!1),(de=ce.onVnodeBeforeUpdate)&&an(de,O,b,g),ae&&ti(b,g,O,"beforeUpdate"),O&&ni(O,!0),(re.innerHTML&&ce.innerHTML==null||re.textContent&&ce.textContent==null)&&m(ee,""),X?we(g.dynamicChildren,X,ee,O,F,Ho(b,V),W):te||ie(g,b,ee,null,O,F,Ho(b,V),W,!1),Y>0){if(Y&16)me(ee,re,ce,O,V);else if(Y&2&&re.class!==ce.class&&l(ee,"class",null,ce.class,V),Y&4&&l(ee,"style",re.style,ce.style,V),Y&8){const Te=b.dynamicProps;for(let Ne=0;Ne{de&&an(de,O,b,g),ae&&ti(b,g,O,"updated")},F)},we=(g,b,O,F,V,W,te)=>{for(let ee=0;ee{if(b!==O){if(b!==He)for(const W in b)!_r(W)&&!(W in O)&&l(g,W,b[W],null,V,F);for(const W in O){if(_r(W))continue;const te=O[W],ee=b[W];te!==ee&&W!=="value"&&l(g,W,ee,te,V,F)}"value"in O&&l(g,"value",b.value,O.value,V)}},ne=(g,b,O,F,V,W,te,ee,Y)=>{const X=b.el=g?g.el:f(""),ae=b.anchor=g?g.anchor:f("");let{patchFlag:re,dynamicChildren:ce,slotScopeIds:de}=b;de&&(ee=ee?ee.concat(de):de),g==null?(s(X,O,F),s(ae,O,F),Me(b.children||[],O,ae,V,W,te,ee,Y)):re>0&&re&64&&ce&&g.dynamicChildren?(we(g.dynamicChildren,ce,O,V,W,te,ee),(b.key!=null||V&&b===V.subTree)&&bh(g,b,!0)):ie(g,b,O,ae,V,W,te,ee,Y)},pe=(g,b,O,F,V,W,te,ee,Y)=>{b.slotScopeIds=ee,g==null?b.shapeFlag&512?V.ctx.activate(b,O,F,te,Y):_e(b,O,F,V,W,te,Y):Ge(g,b,Y)},_e=(g,b,O,F,V,W,te)=>{const ee=g.component=z_(g,F,V);if(Ks(g)&&(ee.ctx.renderer=Q),j_(ee,!1,te),ee.asyncDep){if(V&&V.registerDep(ee,$e,te),!g.el){const Y=ee.subTree=Ke(kt);$(null,Y,b,O)}}else $e(ee,g,b,O,V,W,te)},Ge=(g,b,O)=>{const F=b.component=g.component;if(x_(g,b,O))if(F.asyncDep&&!F.asyncResolved){Ee(F,b,O);return}else F.next=b,F.update();else b.el=g.el,F.vnode=b},$e=(g,b,O,F,V,W,te)=>{const ee=()=>{if(g.isMounted){let{next:re,bu:ce,u:de,parent:Te,vnode:Ne}=g;{const yt=Ph(g);if(yt){re&&(re.el=Ne.el,Ee(g,re,te)),yt.asyncDep.then(()=>{g.isUnmounted||ee()});return}}let Ie=re,ft;ni(g,!1),re?(re.el=Ne.el,Ee(g,re,te)):re=Ne,ce&&bs(ce),(ft=re.props&&re.props.onVnodeBeforeUpdate)&&an(ft,Te,re,Ne),ni(g,!0);const st=Uo(g),At=g.subTree;g.subTree=st,T(At,st,_(At.el),I(At),g,V,W),re.el=st.el,Ie===null&&L_(g,st.el),de&&Nt(de,V),(ft=re.props&&re.props.onVnodeUpdated)&&Nt(()=>an(ft,Te,re,Ne),V)}else{let re;const{el:ce,props:de}=b,{bm:Te,m:Ne,parent:Ie,root:ft,type:st}=g,At=zi(b);if(ni(g,!1),Te&&bs(Te),!At&&(re=de&&de.onVnodeBeforeMount)&&an(re,Ie,b),ni(g,!0),ce&&A){const yt=()=>{g.subTree=Uo(g),A(ce,g.subTree,g,V,null)};At&&st.__asyncHydrate?st.__asyncHydrate(ce,g,yt):yt()}else{ft.ce&&ft.ce._injectChildStyle(st);const yt=g.subTree=Uo(g);T(null,yt,O,F,g,V,W),b.el=yt.el}if(Ne&&Nt(Ne,V),!At&&(re=de&&de.onVnodeMounted)){const yt=b;Nt(()=>an(re,Ie,yt),V)}(b.shapeFlag&256||Ie&&zi(Ie.vnode)&&Ie.vnode.shapeFlag&256)&&g.a&&Nt(g.a,V),g.isMounted=!0,b=O=F=null}};g.scope.on();const Y=g.effect=new Tf(ee);g.scope.off();const X=g.update=Y.run.bind(Y),ae=g.job=Y.runIfDirty.bind(Y);ae.i=g,ae.id=g.uid,Y.scheduler=()=>Ua(ae),ni(g,!0),X()},Ee=(g,b,O)=>{b.component=g;const F=g.vnode.props;g.vnode=b,g.next=null,f_(g,b.props,F,O),m_(g,b.children,O),Kn(),Wc(g),Gn()},ie=(g,b,O,F,V,W,te,ee,Y=!1)=>{const X=g&&g.children,ae=g?g.shapeFlag:0,re=b.children,{patchFlag:ce,shapeFlag:de}=b;if(ce>0){if(ce&128){U(X,re,O,F,V,W,te,ee,Y);return}else if(ce&256){rt(X,re,O,F,V,W,te,ee,Y);return}}de&8?(ae&16&&N(X,V,W),re!==X&&m(O,re)):ae&16?de&16?U(X,re,O,F,V,W,te,ee,Y):N(X,V,W,!0):(ae&8&&m(O,""),de&16&&Me(re,O,F,V,W,te,ee,Y))},rt=(g,b,O,F,V,W,te,ee,Y)=>{g=g||Mi,b=b||Mi;const X=g.length,ae=b.length,re=Math.min(X,ae);let ce;for(ce=0;ceae?N(g,V,W,!0,!1,re):Me(b,O,F,V,W,te,ee,Y,re)},U=(g,b,O,F,V,W,te,ee,Y)=>{let X=0;const ae=b.length;let re=g.length-1,ce=ae-1;for(;X<=re&&X<=ce;){const de=g[X],Te=b[X]=Y?Fn(b[X]):cn(b[X]);if(li(de,Te))T(de,Te,O,null,V,W,te,ee,Y);else break;X++}for(;X<=re&&X<=ce;){const de=g[re],Te=b[ce]=Y?Fn(b[ce]):cn(b[ce]);if(li(de,Te))T(de,Te,O,null,V,W,te,ee,Y);else break;re--,ce--}if(X>re){if(X<=ce){const de=ce+1,Te=dece)for(;X<=re;)q(g[X],V,W,!0),X++;else{const de=X,Te=X,Ne=new Map;for(X=Te;X<=ce;X++){const Et=b[X]=Y?Fn(b[X]):cn(b[X]);Et.key!=null&&Ne.set(Et.key,X)}let Ie,ft=0;const st=ce-Te+1;let At=!1,yt=0;const mn=new Array(st);for(X=0;X=st){q(Et,V,W,!0);continue}let wt;if(Et.key!=null)wt=Ne.get(Et.key);else for(Ie=Te;Ie<=ce;Ie++)if(mn[Ie-Te]===0&&li(Et,b[Ie])){wt=Ie;break}wt===void 0?q(Et,V,W,!0):(mn[wt-Te]=X+1,wt>=yt?yt=wt:At=!0,T(Et,b[wt],O,null,V,W,te,ee,Y),ft++)}const Ki=At?y_(mn):Mi;for(Ie=Ki.length-1,X=st-1;X>=0;X--){const Et=Te+X,wt=b[Et],Vr=Et+1{const{el:W,type:te,transition:ee,children:Y,shapeFlag:X}=g;if(X&6){M(g.component.subTree,b,O,F);return}if(X&128){g.suspense.move(b,O,F);return}if(X&64){te.move(g,b,O,Q);return}if(te===at){s(W,b,O);for(let re=0;reee.enter(W),V);else{const{leave:re,delayLeave:ce,afterLeave:de}=ee,Te=()=>s(W,b,O),Ne=()=>{re(W,()=>{Te(),de&&de()})};ce?ce(W,Te,Ne):Ne()}else s(W,b,O)},q=(g,b,O,F=!1,V=!1)=>{const{type:W,props:te,ref:ee,children:Y,dynamicChildren:X,shapeFlag:ae,patchFlag:re,dirs:ce,cacheIndex:de}=g;if(re===-2&&(V=!1),ee!=null&&ua(ee,null,O,g,!0),de!=null&&(b.renderCache[de]=void 0),ae&256){b.ctx.deactivate(g);return}const Te=ae&1&&ce,Ne=!zi(g);let Ie;if(Ne&&(Ie=te&&te.onVnodeBeforeUnmount)&&an(Ie,b,g),ae&6)E(g.component,O,F);else{if(ae&128){g.suspense.unmount(O,F);return}Te&&ti(g,null,b,"beforeUnmount"),ae&64?g.type.remove(g,b,O,Q,F):X&&!X.hasOnce&&(W!==at||re>0&&re&64)?N(X,b,O,!1,!0):(W===at&&re&384||!V&&ae&16)&&N(Y,b,O),F&&z(g)}(Ne&&(Ie=te&&te.onVnodeUnmounted)||Te)&&Nt(()=>{Ie&&an(Ie,b,g),Te&&ti(g,null,b,"unmounted")},O)},z=g=>{const{type:b,el:O,anchor:F,transition:V}=g;if(b===at){w(O,F);return}if(b===$s){B(g);return}const W=()=>{a(O),V&&!V.persisted&&V.afterLeave&&V.afterLeave()};if(g.shapeFlag&1&&V&&!V.persisted){const{leave:te,delayLeave:ee}=V,Y=()=>te(O,W);ee?ee(g.el,W,Y):Y()}else W()},w=(g,b)=>{let O;for(;g!==b;)O=y(g),a(g),g=O;a(b)},E=(g,b,O)=>{const{bum:F,scope:V,job:W,subTree:te,um:ee,m:Y,a:X}=g;tu(Y),tu(X),F&&bs(F),V.stop(),W&&(W.flags|=8,q(te,g,b,O)),ee&&Nt(ee,b),Nt(()=>{g.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},N=(g,b,O,F=!1,V=!1,W=0)=>{for(let te=W;te{if(g.shapeFlag&6)return I(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const b=y(g.anchor||g.el),O=b&&b[Zm];return O?y(O):b};let H=!1;const K=(g,b,O)=>{g==null?b._vnode&&q(b._vnode,null,null,!0):T(b._vnode||null,g,b,null,null,null,O),b._vnode=g,H||(H=!0,Wc(),qf(),H=!1)},Q={p:T,um:q,m:M,r:z,mt:_e,mc:Me,pc:ie,pbc:we,n:I,o:e};let k,A;return{render:K,hydrate:k,createApp:c_(K,k)}}function Ho({type:e,props:n},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&n&&n.encoding&&n.encoding.includes("html")?void 0:r}function ni({effect:e,job:n},r){r?(e.flags|=32,n.flags|=4):(e.flags&=-33,n.flags&=-5)}function v_(e,n){return(!e||e&&!e.pendingBranch)&&n&&!n.persisted}function bh(e,n,r=!1){const s=e.children,a=n.children;if(ye(s)&&ye(a))for(let l=0;l>1,e[r[f]]0&&(n[s]=r[l-1]),r[l]=s)}}for(l=r.length,u=r[l-1];l-- >0;)r[l]=u,u=n[u];return r}function Ph(e){const n=e.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:Ph(n)}function tu(e){if(e)for(let n=0;nXt(w_);function hi(e,n,r){return $h(e,n,r)}function $h(e,n,r=He){const{immediate:s,deep:a,flush:l,once:u}=r,f=ut({},r);let h;if(Xs)if(l==="sync"){const y=b_();h=y.__watcherHandles||(y.__watcherHandles=[])}else if(!n||s)f.once=!0;else return{stop:dn,resume:dn,pause:dn};const p=gt;f.call=(y,P,S)=>en(y,p,P,S);let m=!1;l==="post"?f.scheduler=y=>{Nt(y,p&&p.suspense)}:l!=="sync"&&(m=!0,f.scheduler=(y,P)=>{P?y():Ua(y)}),f.augmentJob=y=>{n&&(y.flags|=4),m&&(y.flags|=2,p&&(y.id=p.uid,y.i=p))};const _=Nm(e,n,f);return h&&h.push(_),_}function P_(e,n,r){const s=this.proxy,a=Ye(e)?e.includes(".")?Sh(s,e):()=>s[e]:e.bind(s,s);let l;Pe(n)?l=n:(l=n.handler,r=n);const u=Dr(this),f=$h(a,l.bind(s),r);return u(),f}function Sh(e,n){const r=n.split(".");return()=>{let s=e;for(let a=0;an==="modelValue"||n==="model-value"?e.modelModifiers:e[`${n}Modifiers`]||e[`${Qt(n)}Modifiers`]||e[`${gi(n)}Modifiers`];function S_(e,n,...r){if(e.isUnmounted)return;const s=e.vnode.props||He;let a=r;const l=n.startsWith("update:"),u=l&&$_(s,n.slice(7));u&&(u.trim&&(a=r.map(m=>Ye(m)?m.trim():m)),u.number&&(a=r.map(ra)));let f,h=s[f=zo(n)]||s[f=zo(Qt(n))];!h&&l&&(h=s[f=zo(gi(n))]),h&&en(h,e,6,a);const p=s[f+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,en(p,e,6,a)}}function Eh(e,n,r=!1){const s=n.emitsCache,a=s.get(e);if(a!==void 0)return a;const l=e.emits;let u={},f=!1;if(!Pe(e)){const h=p=>{const m=Eh(p,n,!0);m&&(f=!0,ut(u,m))};!r&&n.mixins.length&&n.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}return!l&&!f?(We(e)&&s.set(e,null),null):(ye(l)?l.forEach(h=>u[h]=null):ut(u,l),We(e)&&s.set(e,u),u)}function Js(e,n){return!e||!Bs(n)?!1:(n=n.slice(2).replace(/Once$/,""),je(e,n[0].toLowerCase()+n.slice(1))||je(e,gi(n))||je(e,n))}function Uo(e){const{type:n,vnode:r,proxy:s,withProxy:a,propsOptions:[l],slots:u,attrs:f,emit:h,render:p,renderCache:m,props:_,data:y,setupState:P,ctx:S,inheritAttrs:T}=e,C=Rs(e);let $,R;try{if(r.shapeFlag&4){const B=a||s,G=B;$=cn(p.call(G,B,m,_,P,y,S)),R=f}else{const B=n;$=cn(B.length>1?B(_,{attrs:f,slots:u,emit:h}):B(_,null)),R=n.props?f:E_(f)}}catch(B){wr.length=0,Ws(B,e,1),$=Ke(kt)}let j=$;if(R&&T!==!1){const B=Object.keys(R),{shapeFlag:G}=j;B.length&&G&7&&(l&&B.some(Oa)&&(R=T_(R,l)),j=qn(j,R,!1,!0))}return r.dirs&&(j=qn(j,null,!1,!0),j.dirs=j.dirs?j.dirs.concat(r.dirs):r.dirs),r.transition&&Or(j,r.transition),$=j,Rs(C),$}const E_=e=>{let n;for(const r in e)(r==="class"||r==="style"||Bs(r))&&((n||(n={}))[r]=e[r]);return n},T_=(e,n)=>{const r={};for(const s in e)(!Oa(s)||!(s.slice(9)in n))&&(r[s]=e[s]);return r};function x_(e,n,r){const{props:s,children:a,component:l}=e,{props:u,children:f,patchFlag:h}=n,p=l.emitsOptions;if(n.dirs||n.transition)return!0;if(r&&h>=0){if(h&1024)return!0;if(h&16)return s?nu(s,u,p):!!u;if(h&8){const m=n.dynamicProps;for(let _=0;_e.__isSuspense;function C_(e,n){n&&n.pendingBranch?ye(e)?n.effects.push(...e):n.effects.push(e):jm(e)}const at=Symbol.for("v-fgt"),Ys=Symbol.for("v-txt"),kt=Symbol.for("v-cmt"),$s=Symbol.for("v-stc"),wr=[];let Dt=null;function ve(e=!1){wr.push(Dt=e?null:[])}function k_(){wr.pop(),Dt=wr[wr.length-1]||null}let Rr=1;function iu(e){Rr+=e,e<0&&Dt&&(Dt.hasOnce=!0)}function xh(e){return e.dynamicChildren=Rr>0?Dt||Mi:null,k_(),Rr>0&&Dt&&Dt.push(e),e}function Ze(e,n,r,s,a,l){return xh(be(e,n,r,s,a,l,!0))}function it(e,n,r,s,a){return xh(Ke(e,n,r,s,a,!0))}function Is(e){return e?e.__v_isVNode===!0:!1}function li(e,n){return e.type===n.type&&e.key===n.key}const Lh=({key:e})=>e??null,Ss=({ref:e,ref_key:n,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Ye(e)||$t(e)||Pe(e)?{i:dt,r:e,k:n,f:!!r}:e:null);function be(e,n=null,r=null,s=0,a=null,l=e===at?0:1,u=!1,f=!1){const h={__v_isVNode:!0,__v_skip:!0,type:e,props:n,key:n&&Lh(n),ref:n&&Ss(n),scopeId:Kf,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:s,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:dt};return f?(Ga(h,r),l&128&&e.normalize(h)):r&&(h.shapeFlag|=Ye(r)?8:16),Rr>0&&!u&&Dt&&(h.patchFlag>0||l&6)&&h.patchFlag!==32&&Dt.push(h),h}const Ke=O_;function O_(e,n=null,r=null,s=0,a=null,l=!1){if((!e||e===oh)&&(e=kt),Is(e)){const f=qn(e,n,!0);return r&&Ga(f,r),Rr>0&&!l&&Dt&&(f.shapeFlag&6?Dt[Dt.indexOf(e)]=f:Dt.push(f)),f.patchFlag=-2,f}if(H_(e)&&(e=e.__vccOpts),n){n=R_(n);let{class:f,style:h}=n;f&&!Ye(f)&&(n.class=di(f)),We(h)&&(Fa(h)&&!ye(h)&&(h=ut({},h)),n.style=Ia(h))}const u=Ye(e)?1:Th(e)?128:Gf(e)?64:We(e)?4:Pe(e)?2:0;return be(e,n,r,s,a,u,l,!0)}function R_(e){return e?Fa(e)||ph(e)?ut({},e):e:null}function qn(e,n,r=!1,s=!1){const{props:a,ref:l,patchFlag:u,children:f,transition:h}=e,p=n?I_(a||{},n):a,m={__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&Lh(p),ref:n&&n.ref?r&&l?ye(l)?l.concat(Ss(n)):[l,Ss(n)]:Ss(n):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:f,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==at?u===-1?16:u|16:u,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:h,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qn(e.ssContent),ssFallback:e.ssFallback&&qn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return h&&s&&Or(m,h.clone(m)),m}function xn(e=" ",n=0){return Ke(Ys,null,e,n)}function M_(e,n){const r=Ke($s,null,e);return r.staticCount=n,r}function vt(e="",n=!1){return n?(ve(),it(kt,null,e)):Ke(kt,null,e)}function cn(e){return e==null||typeof e=="boolean"?Ke(kt):ye(e)?Ke(at,null,e.slice()):typeof e=="object"?Fn(e):Ke(Ys,null,String(e))}function Fn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qn(e)}function Ga(e,n){let r=0;const{shapeFlag:s}=e;if(n==null)n=null;else if(ye(n))r=16;else if(typeof n=="object")if(s&65){const a=n.default;a&&(a._c&&(a._d=!1),Ga(e,a()),a._c&&(a._d=!0));return}else{r=32;const a=n._;!a&&!ph(n)?n._ctx=dt:a===3&&dt&&(dt.slots._===1?n._=1:(n._=2,e.patchFlag|=1024))}else Pe(n)?(n={default:n,_ctx:dt},r=32):(n=String(n),s&64?(r=16,n=[xn(n)]):r=8);e.children=n,e.shapeFlag|=r}function I_(...e){const n={};for(let r=0;rgt||dt;let As,ma;{const e=Pf(),n=(r,s)=>{let a;return(a=e[r])||(a=e[r]=[]),a.push(s),l=>{a.length>1?a.forEach(u=>u(l)):a[0](l)}};As=n("__VUE_INSTANCE_SETTERS__",r=>gt=r),ma=n("__VUE_SSR_SETTERS__",r=>Xs=r)}const Dr=e=>{const n=gt;return As(e),e.scope.on(),()=>{e.scope.off(),As(n)}},ru=()=>{gt&>.scope.off(),As(null)};function Ch(e){return e.vnode.shapeFlag&4}let Xs=!1;function j_(e,n=!1,r=!1){n&&ma(n);const{props:s,children:a}=e.vnode,l=Ch(e);u_(e,s,l,n),p_(e,a,r);const u=l?B_(e,n):void 0;return n&&ma(!1),u}function B_(e,n){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,n_);const{setup:s}=r;if(s){const a=e.setupContext=s.length>1?F_(e):null,l=Dr(e);Kn();const u=zr(s,e,0,[e.props,a]);if(Gn(),l(),vf(u)){if(zi(e)||th(e),u.then(ru,ru),n)return u.then(f=>{su(e,f,n)}).catch(f=>{Ws(f,e,0)});e.asyncDep=u}else su(e,u,n)}else kh(e,n)}function su(e,n,r){Pe(n)?e.type.__ssrInlineRender?e.ssrRender=n:e.render=n:We(n)&&(e.setupState=Ff(n)),kh(e,r)}let ou;function kh(e,n,r){const s=e.type;if(!e.render){if(!n&&ou&&!s.render){const a=s.template||Wa(e).template;if(a){const{isCustomElement:l,compilerOptions:u}=e.appContext.config,{delimiters:f,compilerOptions:h}=s,p=ut(ut({isCustomElement:l,delimiters:f},u),h);s.render=ou(a,p)}}e.render=s.render||dn}{const a=Dr(e);Kn();try{i_(e)}finally{Gn(),a()}}}const Z_={get(e,n){return St(e,"get",""),e[n]}};function F_(e){const n=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,Z_),slots:e.slots,emit:e.emit,expose:n}}function Qs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ff(Cm(e.exposed)),{get(n,r){if(r in n)return n[r];if(r in yr)return yr[r](e)},has(n,r){return r in n||r in yr}})):e.proxy}function V_(e,n=!0){return Pe(e)?e.displayName||e.name:e.name||n&&e.__name}function H_(e){return Pe(e)&&"__vccOpts"in e}const ct=(e,n)=>Im(e,n,Xs);function Ja(e,n,r){const s=arguments.length;return s===2?We(n)&&!ye(n)?Is(n)?Ke(e,null,[n]):Ke(e,n):Ke(e,null,n):(s>3?r=Array.prototype.slice.call(arguments,2):s===3&&Is(r)&&(r=[r]),Ke(e,n,r))}const U_="3.5.4";/** * @vue/runtime-dom v3.5.4 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let _a;const lu=typeof window<"u"&&window.trustedTypes;if(lu)try{_a=lu.createPolicy("vue",{createHTML:e=>e})}catch{}const Ih=_a?e=>_a.createHTML(e):e=>e,K_="http://www.w3.org/2000/svg",G_="http://www.w3.org/1998/Math/MathML",En=typeof document<"u"?document:null,cu=En&&En.createElement("template"),J_={insert:(e,n,r)=>{n.insertBefore(e,r||null)},remove:e=>{const n=e.parentNode;n&&n.removeChild(e)},createElement:(e,n,r,s)=>{const a=n==="svg"?En.createElementNS(K_,e):n==="mathml"?En.createElementNS(G_,e):r?En.createElement(e,{is:r}):En.createElement(e);return e==="select"&&s&&s.multiple!=null&&a.setAttribute("multiple",s.multiple),a},createText:e=>En.createTextNode(e),createComment:e=>En.createComment(e),setText:(e,n)=>{e.nodeValue=n},setElementText:(e,n)=>{e.textContent=n},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>En.querySelector(e),setScopeId(e,n){e.setAttribute(n,"")},insertStaticContent(e,n,r,s,a,l){const u=r?r.previousSibling:n.lastChild;if(a&&(a===l||a.nextSibling))for(;n.insertBefore(a.cloneNode(!0),r),!(a===l||!(a=a.nextSibling)););else{cu.innerHTML=Ih(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const f=cu.content;if(s==="svg"||s==="mathml"){const h=f.firstChild;for(;h.firstChild;)f.appendChild(h.firstChild);f.removeChild(h)}n.insertBefore(f,r)}return[u?u.nextSibling:n.firstChild,r?r.previousSibling:n.lastChild]}},An="transition",lr="animation",Mr=Symbol("_vtc"),Ah={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},Y_=ut({},Qf,Ah),X_=e=>(e.displayName="Transition",e.props=Y_,e),Nh=X_((e,{slots:n})=>Ja(qm,Q_(e),n)),ii=(e,n=[])=>{ye(e)?e.forEach(r=>r(...n)):e&&e(...n)},uu=e=>e?ye(e)?e.some(n=>n.length>1):e.length>1:!1;function Q_(e){const n={};for(const ne in e)ne in Ah||(n[ne]=e[ne]);if(e.css===!1)return n;const{name:r="v",type:s,duration:a,enterFromClass:l=`${r}-enter-from`,enterActiveClass:u=`${r}-enter-active`,enterToClass:f=`${r}-enter-to`,appearFromClass:h=l,appearActiveClass:p=u,appearToClass:m=f,leaveFromClass:_=`${r}-leave-from`,leaveActiveClass:y=`${r}-leave-active`,leaveToClass:P=`${r}-leave-to`}=e,$=eg(a),T=$&&$[0],C=$&&$[1],{onBeforeEnter:S,onEnter:R,onEnterCancelled:j,onLeave:B,onLeaveCancelled:G,onBeforeAppear:le=S,onAppear:ue=R,onAppearCancelled:Me=j}=n,fe=(ne,pe,_e)=>{ri(ne,pe?m:f),ri(ne,pe?p:u),_e&&_e()},we=(ne,pe)=>{ne._isLeaving=!1,ri(ne,_),ri(ne,P),ri(ne,y),pe&&pe()},me=ne=>(pe,_e)=>{const Ge=ne?ue:R,$e=()=>fe(pe,ne,_e);ii(Ge,[pe,$e]),fu(()=>{ri(pe,ne?h:l),Nn(pe,ne?m:f),uu(Ge)||hu(pe,s,T,$e)})};return ut(n,{onBeforeEnter(ne){ii(S,[ne]),Nn(ne,l),Nn(ne,u)},onBeforeAppear(ne){ii(le,[ne]),Nn(ne,h),Nn(ne,p)},onEnter:me(!1),onAppear:me(!0),onLeave(ne,pe){ne._isLeaving=!0;const _e=()=>we(ne,pe);Nn(ne,_),Nn(ne,y),ig(),fu(()=>{ne._isLeaving&&(ri(ne,_),Nn(ne,P),uu(B)||hu(ne,s,C,_e))}),ii(B,[ne,_e])},onEnterCancelled(ne){fe(ne,!1),ii(j,[ne])},onAppearCancelled(ne){fe(ne,!0),ii(Me,[ne])},onLeaveCancelled(ne){we(ne),ii(G,[ne])}})}function eg(e){if(e==null)return null;if(We(e))return[qo(e.enter),qo(e.leave)];{const n=qo(e);return[n,n]}}function qo(e){return nm(e)}function Nn(e,n){n.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[Mr]||(e[Mr]=new Set)).add(n)}function ri(e,n){n.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const r=e[Mr];r&&(r.delete(n),r.size||(e[Mr]=void 0))}function fu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let tg=0;function hu(e,n,r,s){const a=e._endId=++tg,l=()=>{a===e._endId&&s()};if(r)return setTimeout(l,r);const{type:u,timeout:f,propCount:h}=ng(e,n);if(!u)return s();const p=u+"end";let m=0;const _=()=>{e.removeEventListener(p,y),l()},y=P=>{P.target===e&&++m>=h&&_()};setTimeout(()=>{m(r[$]||"").split(", "),a=s(`${An}Delay`),l=s(`${An}Duration`),u=du(a,l),f=s(`${lr}Delay`),h=s(`${lr}Duration`),p=du(f,h);let m=null,_=0,y=0;n===An?u>0&&(m=An,_=u,y=l.length):n===lr?p>0&&(m=lr,_=p,y=h.length):(_=Math.max(u,p),m=_>0?u>p?An:lr:null,y=m?m===An?l.length:h.length:0);const P=m===An&&/\b(transform|all)(,|$)/.test(s(`${An}Property`).toString());return{type:m,timeout:_,propCount:y,hasTransform:P}}function du(e,n){for(;e.lengthpu(r)+pu(e[s])))}function pu(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ig(){return document.body.offsetHeight}function rg(e,n,r){const s=e[Mr];s&&(n=(n?[n,...s]:[...s]).join(" ")),n==null?e.removeAttribute("class"):r?e.setAttribute("class",n):e.className=n}const mu=Symbol("_vod"),sg=Symbol("_vsh"),og=Symbol(""),ag=/(^|;)\s*display\s*:/;function lg(e,n,r){const s=e.style,a=Ye(r);let l=!1;if(r&&!a){if(n)if(Ye(n))for(const u of n.split(";")){const f=u.slice(0,u.indexOf(":")).trim();r[f]==null&&Es(s,f,"")}else for(const u in n)r[u]==null&&Es(s,u,"");for(const u in r)u==="display"&&(l=!0),Es(s,u,r[u])}else if(a){if(n!==r){const u=s[og];u&&(r+=";"+u),s.cssText=r,l=ag.test(r)}}else n&&e.removeAttribute("style");mu in e&&(e[mu]=l?s.display:"",e[sg]&&(s.display="none"))}const _u=/\s*!important$/;function Es(e,n,r){if(ye(r))r.forEach(s=>Es(e,n,s));else if(r==null&&(r=""),n.startsWith("--"))e.setProperty(n,r);else{const s=cg(e,n);_u.test(r)?e.setProperty(gi(s),r.replace(_u,""),"important"):e[s]=r}}const gu=["Webkit","Moz","ms"],Wo={};function cg(e,n){const r=Wo[n];if(r)return r;let s=Qt(n);if(s!=="filter"&&s in e)return Wo[n]=s;s=Vs(s);for(let a=0;aKo||(pg.then(()=>Ko=0),Ko=Date.now());function _g(e,n){const r=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=r.attached)return;en(gg(s,r.value),n,5,[s])};return r.value=e,r.attached=mg(),r}function gg(e,n){if(ye(n)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},n.map(s=>a=>!a._stopped&&s&&s(a))}else return n}const Pu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,vg=(e,n,r,s,a,l)=>{const u=a==="svg";n==="class"?rg(e,s,u):n==="style"?lg(e,r,s):Bs(n)?Oa(n)||hg(e,n,r,s,l):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):yg(e,n,s,u))?(ug(e,n,s),!e.tagName.includes("-")&&(n==="value"||n==="checked"||n==="selected")&&yu(e,n,s,u,l,n!=="value")):(n==="true-value"?e._trueValue=s:n==="false-value"&&(e._falseValue=s),yu(e,n,s,u))};function yg(e,n,r,s){if(s)return!!(n==="innerHTML"||n==="textContent"||n in e&&Pu(n)&&Pe(r));if(n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&e.tagName==="INPUT"||n==="type"&&e.tagName==="TEXTAREA")return!1;if(n==="width"||n==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return Pu(n)&&Ye(r)?!1:!!(n in e||e._isVueCE&&(/[A-Z]/.test(n)||!Ye(r)))}const $u=e=>{const n=e.props["onUpdate:modelValue"]||!1;return ye(n)?r=>bs(n,r):n};function wg(e){e.target.composing=!0}function Su(e){const n=e.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const Go=Symbol("_assign"),bg={created(e,{modifiers:{lazy:n,trim:r,number:s}},a){e[Go]=$u(a);const l=s||a.props&&a.props.type==="number";ki(e,n?"change":"input",u=>{if(u.target.composing)return;let f=e.value;r&&(f=f.trim()),l&&(f=ra(f)),e[Go](f)}),r&&ki(e,"change",()=>{e.value=e.value.trim()}),n||(ki(e,"compositionstart",wg),ki(e,"compositionend",Su),ki(e,"change",Su))},mounted(e,{value:n}){e.value=n??""},beforeUpdate(e,{value:n,oldValue:r,modifiers:{lazy:s,trim:a,number:l}},u){if(e[Go]=$u(u),e.composing)return;const f=(l||e.type==="number")&&!/^0\d/.test(e.value)?ra(e.value):e.value,h=n??"";f!==h&&(document.activeElement===e&&e.type!=="range"&&(s&&n===r||a&&e.value.trim()===h)||(e.value=h))}},Pg=ut({patchProp:vg},J_);let Eu;function $g(){return Eu||(Eu=v_(Pg))}const Sg=(...e)=>{const n=$g().createApp(...e),{mount:r}=n;return n.mount=s=>{const a=Tg(s);if(!a)return;const l=n._component;!Pe(l)&&!l.render&&!l.template&&(l.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const u=r(a,!1,Eg(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),u},n};function Eg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Tg(e){return Ye(e)?document.querySelector(e):e}/*! +**/let _a;const au=typeof window<"u"&&window.trustedTypes;if(au)try{_a=au.createPolicy("vue",{createHTML:e=>e})}catch{}const Oh=_a?e=>_a.createHTML(e):e=>e,q_="http://www.w3.org/2000/svg",W_="http://www.w3.org/1998/Math/MathML",Sn=typeof document<"u"?document:null,lu=Sn&&Sn.createElement("template"),K_={insert:(e,n,r)=>{n.insertBefore(e,r||null)},remove:e=>{const n=e.parentNode;n&&n.removeChild(e)},createElement:(e,n,r,s)=>{const a=n==="svg"?Sn.createElementNS(q_,e):n==="mathml"?Sn.createElementNS(W_,e):r?Sn.createElement(e,{is:r}):Sn.createElement(e);return e==="select"&&s&&s.multiple!=null&&a.setAttribute("multiple",s.multiple),a},createText:e=>Sn.createTextNode(e),createComment:e=>Sn.createComment(e),setText:(e,n)=>{e.nodeValue=n},setElementText:(e,n)=>{e.textContent=n},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Sn.querySelector(e),setScopeId(e,n){e.setAttribute(n,"")},insertStaticContent(e,n,r,s,a,l){const u=r?r.previousSibling:n.lastChild;if(a&&(a===l||a.nextSibling))for(;n.insertBefore(a.cloneNode(!0),r),!(a===l||!(a=a.nextSibling)););else{lu.innerHTML=Oh(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const f=lu.content;if(s==="svg"||s==="mathml"){const h=f.firstChild;for(;h.firstChild;)f.appendChild(h.firstChild);f.removeChild(h)}n.insertBefore(f,r)}return[u?u.nextSibling:n.firstChild,r?r.previousSibling:n.lastChild]}},An="transition",lr="animation",Mr=Symbol("_vtc"),Rh={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},G_=ut({},Jf,Rh),J_=e=>(e.displayName="Transition",e.props=G_,e),Mh=J_((e,{slots:n})=>Ja(Hm,Y_(e),n)),ii=(e,n=[])=>{ye(e)?e.forEach(r=>r(...n)):e&&e(...n)},cu=e=>e?ye(e)?e.some(n=>n.length>1):e.length>1:!1;function Y_(e){const n={};for(const ne in e)ne in Rh||(n[ne]=e[ne]);if(e.css===!1)return n;const{name:r="v",type:s,duration:a,enterFromClass:l=`${r}-enter-from`,enterActiveClass:u=`${r}-enter-active`,enterToClass:f=`${r}-enter-to`,appearFromClass:h=l,appearActiveClass:p=u,appearToClass:m=f,leaveFromClass:_=`${r}-leave-from`,leaveActiveClass:y=`${r}-leave-active`,leaveToClass:P=`${r}-leave-to`}=e,S=X_(a),T=S&&S[0],C=S&&S[1],{onBeforeEnter:$,onEnter:R,onEnterCancelled:j,onLeave:B,onLeaveCancelled:G,onBeforeAppear:le=$,onAppear:ue=R,onAppearCancelled:Me=j}=n,fe=(ne,pe,_e)=>{ri(ne,pe?m:f),ri(ne,pe?p:u),_e&&_e()},we=(ne,pe)=>{ne._isLeaving=!1,ri(ne,_),ri(ne,P),ri(ne,y),pe&&pe()},me=ne=>(pe,_e)=>{const Ge=ne?ue:R,$e=()=>fe(pe,ne,_e);ii(Ge,[pe,$e]),uu(()=>{ri(pe,ne?h:l),Nn(pe,ne?m:f),cu(Ge)||fu(pe,s,T,$e)})};return ut(n,{onBeforeEnter(ne){ii($,[ne]),Nn(ne,l),Nn(ne,u)},onBeforeAppear(ne){ii(le,[ne]),Nn(ne,h),Nn(ne,p)},onEnter:me(!1),onAppear:me(!0),onLeave(ne,pe){ne._isLeaving=!0;const _e=()=>we(ne,pe);Nn(ne,_),Nn(ne,y),tg(),uu(()=>{ne._isLeaving&&(ri(ne,_),Nn(ne,P),cu(B)||fu(ne,s,C,_e))}),ii(B,[ne,_e])},onEnterCancelled(ne){fe(ne,!1),ii(j,[ne])},onAppearCancelled(ne){fe(ne,!0),ii(Me,[ne])},onLeaveCancelled(ne){we(ne),ii(G,[ne])}})}function X_(e){if(e==null)return null;if(We(e))return[qo(e.enter),qo(e.leave)];{const n=qo(e);return[n,n]}}function qo(e){return em(e)}function Nn(e,n){n.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[Mr]||(e[Mr]=new Set)).add(n)}function ri(e,n){n.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const r=e[Mr];r&&(r.delete(n),r.size||(e[Mr]=void 0))}function uu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Q_=0;function fu(e,n,r,s){const a=e._endId=++Q_,l=()=>{a===e._endId&&s()};if(r)return setTimeout(l,r);const{type:u,timeout:f,propCount:h}=eg(e,n);if(!u)return s();const p=u+"end";let m=0;const _=()=>{e.removeEventListener(p,y),l()},y=P=>{P.target===e&&++m>=h&&_()};setTimeout(()=>{m(r[S]||"").split(", "),a=s(`${An}Delay`),l=s(`${An}Duration`),u=hu(a,l),f=s(`${lr}Delay`),h=s(`${lr}Duration`),p=hu(f,h);let m=null,_=0,y=0;n===An?u>0&&(m=An,_=u,y=l.length):n===lr?p>0&&(m=lr,_=p,y=h.length):(_=Math.max(u,p),m=_>0?u>p?An:lr:null,y=m?m===An?l.length:h.length:0);const P=m===An&&/\b(transform|all)(,|$)/.test(s(`${An}Property`).toString());return{type:m,timeout:_,propCount:y,hasTransform:P}}function hu(e,n){for(;e.lengthdu(r)+du(e[s])))}function du(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function tg(){return document.body.offsetHeight}function ng(e,n,r){const s=e[Mr];s&&(n=(n?[n,...s]:[...s]).join(" ")),n==null?e.removeAttribute("class"):r?e.setAttribute("class",n):e.className=n}const pu=Symbol("_vod"),ig=Symbol("_vsh"),rg=Symbol(""),sg=/(^|;)\s*display\s*:/;function og(e,n,r){const s=e.style,a=Ye(r);let l=!1;if(r&&!a){if(n)if(Ye(n))for(const u of n.split(";")){const f=u.slice(0,u.indexOf(":")).trim();r[f]==null&&Es(s,f,"")}else for(const u in n)r[u]==null&&Es(s,u,"");for(const u in r)u==="display"&&(l=!0),Es(s,u,r[u])}else if(a){if(n!==r){const u=s[rg];u&&(r+=";"+u),s.cssText=r,l=sg.test(r)}}else n&&e.removeAttribute("style");pu in e&&(e[pu]=l?s.display:"",e[ig]&&(s.display="none"))}const mu=/\s*!important$/;function Es(e,n,r){if(ye(r))r.forEach(s=>Es(e,n,s));else if(r==null&&(r=""),n.startsWith("--"))e.setProperty(n,r);else{const s=ag(e,n);mu.test(r)?e.setProperty(gi(s),r.replace(mu,""),"important"):e[s]=r}}const _u=["Webkit","Moz","ms"],Wo={};function ag(e,n){const r=Wo[n];if(r)return r;let s=Qt(n);if(s!=="filter"&&s in e)return Wo[n]=s;s=Vs(s);for(let a=0;a<_u.length;a++){const l=_u[a]+s;if(l in e)return Wo[n]=l}return n}const gu="http://www.w3.org/1999/xlink";function vu(e,n,r,s,a,l=om(n)){s&&n.startsWith("xlink:")?r==null?e.removeAttributeNS(gu,n.slice(6,n.length)):e.setAttributeNS(gu,n,r):r==null||l&&!$f(r)?e.removeAttribute(n):e.setAttribute(n,l?"":Wn(r)?String(r):r)}function lg(e,n,r,s){if(n==="innerHTML"||n==="textContent"){r!=null&&(e[n]=n==="innerHTML"?Oh(r):r);return}const a=e.tagName;if(n==="value"&&a!=="PROGRESS"&&!a.includes("-")){const u=a==="OPTION"?e.getAttribute("value")||"":e.value,f=r==null?e.type==="checkbox"?"on":"":String(r);(u!==f||!("_value"in e))&&(e.value=f),r==null&&e.removeAttribute(n),e._value=r;return}let l=!1;if(r===""||r==null){const u=typeof e[n];u==="boolean"?r=$f(r):r==null&&u==="string"?(r="",l=!0):u==="number"&&(r=0,l=!0)}try{e[n]=r}catch{}l&&e.removeAttribute(n)}function ki(e,n,r,s){e.addEventListener(n,r,s)}function cg(e,n,r,s){e.removeEventListener(n,r,s)}const yu=Symbol("_vei");function ug(e,n,r,s,a=null){const l=e[yu]||(e[yu]={}),u=l[n];if(s&&u)u.value=s;else{const[f,h]=fg(n);if(s){const p=l[n]=pg(s,a);ki(e,f,p,h)}else u&&(cg(e,f,u,h),l[n]=void 0)}}const wu=/(?:Once|Passive|Capture)$/;function fg(e){let n;if(wu.test(e)){n={};let s;for(;s=e.match(wu);)e=e.slice(0,e.length-s[0].length),n[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):gi(e.slice(2)),n]}let Ko=0;const hg=Promise.resolve(),dg=()=>Ko||(hg.then(()=>Ko=0),Ko=Date.now());function pg(e,n){const r=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=r.attached)return;en(mg(s,r.value),n,5,[s])};return r.value=e,r.attached=dg(),r}function mg(e,n){if(ye(n)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},n.map(s=>a=>!a._stopped&&s&&s(a))}else return n}const bu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_g=(e,n,r,s,a,l)=>{const u=a==="svg";n==="class"?ng(e,s,u):n==="style"?og(e,r,s):Bs(n)?Oa(n)||ug(e,n,r,s,l):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):gg(e,n,s,u))?(lg(e,n,s),!e.tagName.includes("-")&&(n==="value"||n==="checked"||n==="selected")&&vu(e,n,s,u,l,n!=="value")):(n==="true-value"?e._trueValue=s:n==="false-value"&&(e._falseValue=s),vu(e,n,s,u))};function gg(e,n,r,s){if(s)return!!(n==="innerHTML"||n==="textContent"||n in e&&bu(n)&&Pe(r));if(n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&e.tagName==="INPUT"||n==="type"&&e.tagName==="TEXTAREA")return!1;if(n==="width"||n==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return bu(n)&&Ye(r)?!1:!!(n in e||e._isVueCE&&(/[A-Z]/.test(n)||!Ye(r)))}const Pu=e=>{const n=e.props["onUpdate:modelValue"]||!1;return ye(n)?r=>bs(n,r):n};function vg(e){e.target.composing=!0}function $u(e){const n=e.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const Go=Symbol("_assign"),yg={created(e,{modifiers:{lazy:n,trim:r,number:s}},a){e[Go]=Pu(a);const l=s||a.props&&a.props.type==="number";ki(e,n?"change":"input",u=>{if(u.target.composing)return;let f=e.value;r&&(f=f.trim()),l&&(f=ra(f)),e[Go](f)}),r&&ki(e,"change",()=>{e.value=e.value.trim()}),n||(ki(e,"compositionstart",vg),ki(e,"compositionend",$u),ki(e,"change",$u))},mounted(e,{value:n}){e.value=n??""},beforeUpdate(e,{value:n,oldValue:r,modifiers:{lazy:s,trim:a,number:l}},u){if(e[Go]=Pu(u),e.composing)return;const f=(l||e.type==="number")&&!/^0\d/.test(e.value)?ra(e.value):e.value,h=n??"";f!==h&&(document.activeElement===e&&e.type!=="range"&&(s&&n===r||a&&e.value.trim()===h)||(e.value=h))}},wg=ut({patchProp:_g},K_);let Su;function bg(){return Su||(Su=__(wg))}const Pg=(...e)=>{const n=bg().createApp(...e),{mount:r}=n;return n.mount=s=>{const a=Sg(s);if(!a)return;const l=n._component;!Pe(l)&&!l.render&&!l.template&&(l.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const u=r(a,!1,$g(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),u},n};function $g(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Sg(e){return Ye(e)?document.querySelector(e):e}/*! * vue-router v4.4.4 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const Oi=typeof document<"u";function zh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function xg(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&zh(e.default)}const Be=Object.assign;function Jo(e,n){const r={};for(const s in n){const a=n[s];r[s]=tn(a)?a.map(e):e(a)}return r}const br=()=>{},tn=Array.isArray,Dh=/#/g,Lg=/&/g,Cg=/\//g,kg=/=/g,Og=/\?/g,jh=/\+/g,Rg=/%5B/g,Mg=/%5D/g,Bh=/%5E/g,Ig=/%60/g,Zh=/%7B/g,Ag=/%7C/g,Fh=/%7D/g,Ng=/%20/g;function Ya(e){return encodeURI(""+e).replace(Ag,"|").replace(Rg,"[").replace(Mg,"]")}function zg(e){return Ya(e).replace(Zh,"{").replace(Fh,"}").replace(Bh,"^")}function ga(e){return Ya(e).replace(jh,"%2B").replace(Ng,"+").replace(Dh,"%23").replace(Lg,"%26").replace(Ig,"`").replace(Zh,"{").replace(Fh,"}").replace(Bh,"^")}function Dg(e){return ga(e).replace(kg,"%3D")}function jg(e){return Ya(e).replace(Dh,"%23").replace(Og,"%3F")}function Bg(e){return e==null?"":jg(e).replace(Cg,"%2F")}function Ir(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Zg=/\/$/,Fg=e=>e.replace(Zg,"");function Yo(e,n,r="/"){let s,a={},l="",u="";const f=n.indexOf("#");let h=n.indexOf("?");return f=0&&(h=-1),h>-1&&(s=n.slice(0,h),l=n.slice(h+1,f>-1?f:n.length),a=e(l)),f>-1&&(s=s||n.slice(0,f),u=n.slice(f,n.length)),s=qg(s??n,r),{fullPath:s+(l&&"?")+l+u,path:s,query:a,hash:Ir(u)}}function Vg(e,n){const r=n.query?e(n.query):"";return n.path+(r&&"?")+r+(n.hash||"")}function Tu(e,n){return!n||!e.toLowerCase().startsWith(n.toLowerCase())?e:e.slice(n.length)||"/"}function Hg(e,n,r){const s=n.matched.length-1,a=r.matched.length-1;return s>-1&&s===a&&Zi(n.matched[s],r.matched[a])&&Vh(n.params,r.params)&&e(n.query)===e(r.query)&&n.hash===r.hash}function Zi(e,n){return(e.aliasOf||e)===(n.aliasOf||n)}function Vh(e,n){if(Object.keys(e).length!==Object.keys(n).length)return!1;for(const r in e)if(!Ug(e[r],n[r]))return!1;return!0}function Ug(e,n){return tn(e)?xu(e,n):tn(n)?xu(n,e):e===n}function xu(e,n){return tn(n)?e.length===n.length&&e.every((r,s)=>r===n[s]):e.length===1&&e[0]===n}function qg(e,n){if(e.startsWith("/"))return e;if(!e)return n;const r=n.split("/"),s=e.split("/"),a=s[s.length-1];(a===".."||a===".")&&s.push("");let l=r.length-1,u,f;for(u=0;u1&&l--;else break;return r.slice(0,l).join("/")+"/"+s.slice(u).join("/")}const zn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ar;(function(e){e.pop="pop",e.push="push"})(Ar||(Ar={}));var Pr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Pr||(Pr={}));function Wg(e){if(!e)if(Oi){const n=document.querySelector("base");e=n&&n.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Fg(e)}const Kg=/^[^#]+#/;function Gg(e,n){return e.replace(Kg,"#")+n}function Jg(e,n){const r=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:n.behavior,left:s.left-r.left-(n.left||0),top:s.top-r.top-(n.top||0)}}const eo=()=>({left:window.scrollX,top:window.scrollY});function Yg(e){let n;if("el"in e){const r=e.el,s=typeof r=="string"&&r.startsWith("#"),a=typeof r=="string"?s?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!a)return;n=Jg(a,e)}else n=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(n):window.scrollTo(n.left!=null?n.left:window.scrollX,n.top!=null?n.top:window.scrollY)}function Lu(e,n){return(history.state?history.state.position-n:-1)+e}const va=new Map;function Xg(e,n){va.set(e,n)}function Qg(e){const n=va.get(e);return va.delete(e),n}let ev=()=>location.protocol+"//"+location.host;function Hh(e,n){const{pathname:r,search:s,hash:a}=n,l=e.indexOf("#");if(l>-1){let f=a.includes(e.slice(l))?e.slice(l).length:1,h=a.slice(f);return h[0]!=="/"&&(h="/"+h),Tu(h,"")}return Tu(r,e)+s+a}function tv(e,n,r,s){let a=[],l=[],u=null;const f=({state:y})=>{const P=Hh(e,location),$=r.value,T=n.value;let C=0;if(y){if(r.value=P,n.value=y,u&&u===$){u=null;return}C=T?y.position-T.position:0}else s(P);a.forEach(S=>{S(r.value,$,{delta:C,type:Ar.pop,direction:C?C>0?Pr.forward:Pr.back:Pr.unknown})})};function h(){u=r.value}function p(y){a.push(y);const P=()=>{const $=a.indexOf(y);$>-1&&a.splice($,1)};return l.push(P),P}function m(){const{history:y}=window;y.state&&y.replaceState(Be({},y.state,{scroll:eo()}),"")}function _(){for(const y of l)y();l=[],window.removeEventListener("popstate",f),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",f),window.addEventListener("beforeunload",m,{passive:!0}),{pauseListeners:h,listen:p,destroy:_}}function Cu(e,n,r,s=!1,a=!1){return{back:e,current:n,forward:r,replaced:s,position:window.history.length,scroll:a?eo():null}}function nv(e){const{history:n,location:r}=window,s={value:Hh(e,r)},a={value:n.state};a.value||l(s.value,{back:null,current:s.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function l(h,p,m){const _=e.indexOf("#"),y=_>-1?(r.host&&document.querySelector("base")?e:e.slice(_))+h:ev()+e+h;try{n[m?"replaceState":"pushState"](p,"",y),a.value=p}catch(P){console.error(P),r[m?"replace":"assign"](y)}}function u(h,p){const m=Be({},n.state,Cu(a.value.back,h,a.value.forward,!0),p,{position:a.value.position});l(h,m,!0),s.value=h}function f(h,p){const m=Be({},a.value,n.state,{forward:h,scroll:eo()});l(m.current,m,!0);const _=Be({},Cu(s.value,h,null),{position:m.position+1},p);l(h,_,!1),s.value=h}return{location:s,state:a,push:f,replace:u}}function iv(e){e=Wg(e);const n=nv(e),r=tv(e,n.state,n.location,n.replace);function s(l,u=!0){u||r.pauseListeners(),history.go(l)}const a=Be({location:"",base:e,go:s,createHref:Gg.bind(null,e)},n,r);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>n.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>n.state.value}),a}function rv(e){return typeof e=="string"||e&&typeof e=="object"}function Uh(e){return typeof e=="string"||typeof e=="symbol"}const qh=Symbol("");var ku;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ku||(ku={}));function Fi(e,n){return Be(new Error,{type:e,[qh]:!0},n)}function bn(e,n){return e instanceof Error&&qh in e&&(n==null||!!(e.type&n))}const Ou="[^/]+?",sv={sensitive:!1,strict:!1,start:!0,end:!0},ov=/[.+*?^${}()[\]/\\]/g;function av(e,n){const r=Be({},sv,n),s=[];let a=r.start?"^":"";const l=[];for(const p of e){const m=p.length?[]:[90];r.strict&&!p.length&&(a+="/");for(let _=0;_n.length?n.length===1&&n[0]===80?1:-1:0}function Wh(e,n){let r=0;const s=e.score,a=n.score;for(;r0&&n[n.length-1]<0}const cv={type:0,value:""},uv=/[a-zA-Z0-9_]/;function fv(e){if(!e)return[[]];if(e==="/")return[[cv]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function n(P){throw new Error(`ERR (${r})/"${p}": ${P}`)}let r=0,s=r;const a=[];let l;function u(){l&&a.push(l),l=[]}let f=0,h,p="",m="";function _(){p&&(r===0?l.push({type:0,value:p}):r===1||r===2||r===3?(l.length>1&&(h==="*"||h==="+")&&n(`A repeatable param (${p}) must be alone in its segment. eg: '/:ids+.`),l.push({type:1,value:p,regexp:m,repeatable:h==="*"||h==="+",optional:h==="*"||h==="?"})):n("Invalid state to consume buffer"),p="")}function y(){p+=h}for(;f{u(j)}:br}function u(_){if(Uh(_)){const y=s.get(_);y&&(s.delete(_),r.splice(r.indexOf(y),1),y.children.forEach(u),y.alias.forEach(u))}else{const y=r.indexOf(_);y>-1&&(r.splice(y,1),_.record.name&&s.delete(_.record.name),_.children.forEach(u),_.alias.forEach(u))}}function f(){return r}function h(_){const y=gv(_,r);r.splice(y,0,_),_.record.name&&!Iu(_)&&s.set(_.record.name,_)}function p(_,y){let P,$={},T,C;if("name"in _&&_.name){if(P=s.get(_.name),!P)throw Fi(1,{location:_});C=P.record.name,$=Be(Mu(y.params,P.keys.filter(j=>!j.optional).concat(P.parent?P.parent.keys.filter(j=>j.optional):[]).map(j=>j.name)),_.params&&Mu(_.params,P.keys.map(j=>j.name))),T=P.stringify($)}else if(_.path!=null)T=_.path,P=r.find(j=>j.re.test(T)),P&&($=P.parse(T),C=P.record.name);else{if(P=y.name?s.get(y.name):r.find(j=>j.re.test(y.path)),!P)throw Fi(1,{location:_,currentLocation:y});C=P.record.name,$=Be({},y.params,_.params),T=P.stringify($)}const S=[];let R=P;for(;R;)S.unshift(R.record),R=R.parent;return{name:C,path:T,params:$,matched:S,meta:_v(S)}}e.forEach(_=>l(_));function m(){r.length=0,s.clear()}return{addRoute:l,resolve:p,removeRoute:u,clearRoutes:m,getRoutes:f,getRecordMatcher:a}}function Mu(e,n){const r={};for(const s of n)s in e&&(r[s]=e[s]);return r}function pv(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:mv(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},mods:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function mv(e){const n={},r=e.props||!1;if("component"in e)n.default=r;else for(const s in e.components)n[s]=typeof r=="object"?r[s]:r;return n}function Iu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function _v(e){return e.reduce((n,r)=>Be(n,r.meta),{})}function Au(e,n){const r={};for(const s in e)r[s]=s in n?n[s]:e[s];return r}function gv(e,n){let r=0,s=n.length;for(;r!==s;){const l=r+s>>1;Wh(e,n[l])<0?s=l:r=l+1}const a=vv(e);return a&&(s=n.lastIndexOf(a,s-1)),s}function vv(e){let n=e;for(;n=n.parent;)if(Kh(n)&&Wh(e,n)===0)return n}function Kh({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function yv(e){const n={};if(e===""||e==="?")return n;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let a=0;al&&ga(l)):[s&&ga(s)]).forEach(l=>{l!==void 0&&(n+=(n.length?"&":"")+r,l!=null&&(n+="="+l))})}return n}function wv(e){const n={};for(const r in e){const s=e[r];s!==void 0&&(n[r]=tn(s)?s.map(a=>a==null?null:""+a):s==null?s:""+s)}return n}const bv=Symbol(""),zu=Symbol(""),to=Symbol(""),Xa=Symbol(""),ya=Symbol("");function cr(){let e=[];function n(s){return e.push(s),()=>{const a=e.indexOf(s);a>-1&&e.splice(a,1)}}function r(){e=[]}return{add:n,list:()=>e.slice(),reset:r}}function Vn(e,n,r,s,a,l=u=>u()){const u=s&&(s.enterCallbacks[a]=s.enterCallbacks[a]||[]);return()=>new Promise((f,h)=>{const p=y=>{y===!1?h(Fi(4,{from:r,to:n})):y instanceof Error?h(y):rv(y)?h(Fi(2,{from:n,to:y})):(u&&s.enterCallbacks[a]===u&&typeof y=="function"&&u.push(y),f())},m=l(()=>e.call(s&&s.instances[a],n,r,p));let _=Promise.resolve(m);e.length<3&&(_=_.then(p)),_.catch(y=>h(y))})}function Xo(e,n,r,s,a=l=>l()){const l=[];for(const u of e)for(const f in u.components){let h=u.components[f];if(!(n!=="beforeRouteEnter"&&!u.instances[f]))if(zh(h)){const m=(h.__vccOpts||h)[n];m&&l.push(Vn(m,r,s,u,f,a))}else{let p=h();l.push(()=>p.then(m=>{if(!m)throw new Error(`Couldn't resolve component "${f}" at "${u.path}"`);const _=xg(m)?m.default:m;u.mods[f]=m,u.components[f]=_;const P=(_.__vccOpts||_)[n];return P&&Vn(P,r,s,u,f,a)()}))}}return l}function Du(e){const n=Xt(to),r=Xt(Xa),s=ct(()=>{const h=ke(e.to);return n.resolve(h)}),a=ct(()=>{const{matched:h}=s.value,{length:p}=h,m=h[p-1],_=r.matched;if(!m||!_.length)return-1;const y=_.findIndex(Zi.bind(null,m));if(y>-1)return y;const P=ju(h[p-2]);return p>1&&ju(m)===P&&_[_.length-1].path!==P?_.findIndex(Zi.bind(null,h[p-2])):y}),l=ct(()=>a.value>-1&&Ev(r.params,s.value.params)),u=ct(()=>a.value>-1&&a.value===r.matched.length-1&&Vh(r.params,s.value.params));function f(h={}){return Sv(h)?n[ke(e.replace)?"replace":"push"](ke(e.to)).catch(br):Promise.resolve()}return{route:s,href:ct(()=>s.value.href),isActive:l,isExactActive:u,navigate:f}}const Pv=Ot({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:Du,setup(e,{slots:n}){const r=qs(Du(e)),{options:s}=Xt(to),a=ct(()=>({[Bu(e.activeClass,s.linkActiveClass,"router-link-active")]:r.isActive,[Bu(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const l=n.default&&n.default(r);return e.custom?l:Ja("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},l)}}}),$v=Pv;function Sv(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 n=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return e.preventDefault&&e.preventDefault(),!0}}function Ev(e,n){for(const r in n){const s=n[r],a=e[r];if(typeof s=="string"){if(s!==a)return!1}else if(!tn(a)||a.length!==s.length||s.some((l,u)=>l!==a[u]))return!1}return!0}function ju(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Bu=(e,n,r)=>e??n??r,Tv=Ot({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:n,slots:r}){const s=Xt(ya),a=ct(()=>e.route||s.value),l=Xt(zu,0),u=ct(()=>{let p=ke(l);const{matched:m}=a.value;let _;for(;(_=m[p])&&!_.components;)p++;return p}),f=ct(()=>a.value.matched[u.value]);Ps(zu,ct(()=>u.value+1)),Ps(bv,f),Ps(ya,a);const h=lt();return hi(()=>[h.value,f.value,e.name],([p,m,_],[y,P,$])=>{m&&(m.instances[_]=p,P&&P!==m&&p&&p===y&&(m.leaveGuards.size||(m.leaveGuards=P.leaveGuards),m.updateGuards.size||(m.updateGuards=P.updateGuards))),p&&m&&(!P||!Zi(m,P)||!y)&&(m.enterCallbacks[_]||[]).forEach(T=>T(p))},{flush:"post"}),()=>{const p=a.value,m=e.name,_=f.value,y=_&&_.components[m];if(!y)return Zu(r.default,{Component:y,route:p});const P=_.props[m],$=P?P===!0?p.params:typeof P=="function"?P(p):P:null,C=Ja(y,Be({},$,n,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(_.instances[m]=null)},ref:h}));return Zu(r.default,{Component:C,route:p})||C}}});function Zu(e,n){if(!e)return null;const r=e(n);return r.length===1?r[0]:r}const xv=Tv;function Lv(e){const n=dv(e.routes,e),r=e.parseQuery||yv,s=e.stringifyQuery||Nu,a=e.history,l=cr(),u=cr(),f=cr(),h=Rm(zn);let p=zn;Oi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Jo.bind(null,I=>""+I),_=Jo.bind(null,Bg),y=Jo.bind(null,Ir);function P(I,H){let K,Q;return Uh(I)?(K=n.getRecordMatcher(I),Q=H):Q=I,n.addRoute(Q,K)}function $(I){const H=n.getRecordMatcher(I);H&&n.removeRoute(H)}function T(){return n.getRoutes().map(I=>I.record)}function C(I){return!!n.getRecordMatcher(I)}function S(I,H){if(H=Be({},H||h.value),typeof I=="string"){const b=Yo(r,I,H.path),O=n.resolve({path:b.path},H),F=a.createHref(b.fullPath);return Be(b,O,{params:y(O.params),hash:Ir(b.hash),redirectedFrom:void 0,href:F})}let K;if(I.path!=null)K=Be({},I,{path:Yo(r,I.path,H.path).path});else{const b=Be({},I.params);for(const O in b)b[O]==null&&delete b[O];K=Be({},I,{params:_(b)}),H.params=_(H.params)}const Q=n.resolve(K,H),k=I.hash||"";Q.params=m(y(Q.params));const A=Vg(s,Be({},I,{hash:zg(k),path:Q.path})),g=a.createHref(A);return Be({fullPath:A,hash:k,query:s===Nu?wv(I.query):I.query||{}},Q,{redirectedFrom:void 0,href:g})}function R(I){return typeof I=="string"?Yo(r,I,h.value.path):Be({},I)}function j(I,H){if(p!==I)return Fi(8,{from:H,to:I})}function B(I){return ue(I)}function G(I){return B(Be(R(I),{replace:!0}))}function le(I){const H=I.matched[I.matched.length-1];if(H&&H.redirect){const{redirect:K}=H;let Q=typeof K=="function"?K(I):K;return typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=R(Q):{path:Q},Q.params={}),Be({query:I.query,hash:I.hash,params:Q.path!=null?{}:I.params},Q)}}function ue(I,H){const K=p=S(I),Q=h.value,k=I.state,A=I.force,g=I.replace===!0,b=le(K);if(b)return ue(Be(R(b),{state:typeof b=="object"?Be({},k,b.state):k,force:A,replace:g}),H||K);const O=K;O.redirectedFrom=H;let F;return!A&&Hg(s,Q,K)&&(F=Fi(16,{to:O,from:Q}),M(Q,Q,!0,!1)),(F?Promise.resolve(F):we(O,Q)).catch(V=>bn(V)?bn(V,2)?V:U(V):ie(V,O,Q)).then(V=>{if(V){if(bn(V,2))return ue(Be({replace:g},R(V.to),{state:typeof V.to=="object"?Be({},k,V.to.state):k,force:A}),H||O)}else V=ne(O,Q,!0,g,k);return me(O,Q,V),V})}function Me(I,H){const K=j(I,H);return K?Promise.reject(K):Promise.resolve()}function fe(I){const H=w.values().next().value;return H&&typeof H.runWithContext=="function"?H.runWithContext(I):I()}function we(I,H){let K;const[Q,k,A]=Cv(I,H);K=Xo(Q.reverse(),"beforeRouteLeave",I,H);for(const b of Q)b.leaveGuards.forEach(O=>{K.push(Vn(O,I,H))});const g=Me.bind(null,I,H);return K.push(g),N(K).then(()=>{K=[];for(const b of l.list())K.push(Vn(b,I,H));return K.push(g),N(K)}).then(()=>{K=Xo(k,"beforeRouteUpdate",I,H);for(const b of k)b.updateGuards.forEach(O=>{K.push(Vn(O,I,H))});return K.push(g),N(K)}).then(()=>{K=[];for(const b of A)if(b.beforeEnter)if(tn(b.beforeEnter))for(const O of b.beforeEnter)K.push(Vn(O,I,H));else K.push(Vn(b.beforeEnter,I,H));return K.push(g),N(K)}).then(()=>(I.matched.forEach(b=>b.enterCallbacks={}),K=Xo(A,"beforeRouteEnter",I,H,fe),K.push(g),N(K))).then(()=>{K=[];for(const b of u.list())K.push(Vn(b,I,H));return K.push(g),N(K)}).catch(b=>bn(b,8)?b:Promise.reject(b))}function me(I,H,K){f.list().forEach(Q=>fe(()=>Q(I,H,K)))}function ne(I,H,K,Q,k){const A=j(I,H);if(A)return A;const g=H===zn,b=Oi?history.state:{};K&&(Q||g?a.replace(I.fullPath,Be({scroll:g&&b&&b.scroll},k)):a.push(I.fullPath,k)),h.value=I,M(I,H,K,g),U()}let pe;function _e(){pe||(pe=a.listen((I,H,K)=>{if(!E.listening)return;const Q=S(I),k=le(Q);if(k){ue(Be(k,{replace:!0}),Q).catch(br);return}p=Q;const A=h.value;Oi&&Xg(Lu(A.fullPath,K.delta),eo()),we(Q,A).catch(g=>bn(g,12)?g:bn(g,2)?(ue(g.to,Q).then(b=>{bn(b,20)&&!K.delta&&K.type===Ar.pop&&a.go(-1,!1)}).catch(br),Promise.reject()):(K.delta&&a.go(-K.delta,!1),ie(g,Q,A))).then(g=>{g=g||ne(Q,A,!1),g&&(K.delta&&!bn(g,8)?a.go(-K.delta,!1):K.type===Ar.pop&&bn(g,20)&&a.go(-1,!1)),me(Q,A,g)}).catch(br)}))}let Ge=cr(),$e=cr(),Ee;function ie(I,H,K){U(I);const Q=$e.list();return Q.length?Q.forEach(k=>k(I,H,K)):console.error(I),Promise.reject(I)}function rt(){return Ee&&h.value!==zn?Promise.resolve():new Promise((I,H)=>{Ge.add([I,H])})}function U(I){return Ee||(Ee=!I,_e(),Ge.list().forEach(([H,K])=>I?K(I):H()),Ge.reset()),I}function M(I,H,K,Q){const{scrollBehavior:k}=e;if(!Oi||!k)return Promise.resolve();const A=!K&&Qg(Lu(I.fullPath,0))||(Q||!K)&&history.state&&history.state.scroll||null;return Wf().then(()=>k(I,H,A)).then(g=>g&&Yg(g)).catch(g=>ie(g,I,H))}const q=I=>a.go(I);let z;const w=new Set,E={currentRoute:h,listening:!0,addRoute:P,removeRoute:$,clearRoutes:n.clearRoutes,hasRoute:C,getRoutes:T,resolve:S,options:e,push:B,replace:G,go:q,back:()=>q(-1),forward:()=>q(1),beforeEach:l.add,beforeResolve:u.add,afterEach:f.add,onError:$e.add,isReady:rt,install(I){const H=this;I.component("RouterLink",$v),I.component("RouterView",xv),I.config.globalProperties.$router=H,Object.defineProperty(I.config.globalProperties,"$route",{enumerable:!0,get:()=>ke(h)}),Oi&&!z&&h.value===zn&&(z=!0,B(a.location).catch(k=>{}));const K={};for(const k in zn)Object.defineProperty(K,k,{get:()=>h.value[k],enumerable:!0});I.provide(to,H),I.provide(Xa,Ff(K)),I.provide(ya,h);const Q=I.unmount;w.add(I),I.unmount=function(){w.delete(I),w.size<1&&(p=zn,pe&&pe(),pe=null,h.value=zn,z=!1,Ee=!1),Q()}}};function N(I){return I.reduce((H,K)=>H.then(()=>fe(K)),Promise.resolve())}return E}function Cv(e,n){const r=[],s=[],a=[],l=Math.max(n.matched.length,e.matched.length);for(let u=0;uZi(p,f))?s.push(f):r.push(f));const h=e.matched[u];h&&(n.matched.find(p=>Zi(p,h))||a.push(h))}return[r,s,a]}function kv(){return Xt(to)}function no(e){return Xt(Xa)}var Ov=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Gh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wa={exports:{}},Jh={},Pn={},si={},jr={},Re={},Nr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class n{}e._CodeOrName=n,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{constructor(R){if(super(),!e.IDENTIFIER.test(R))throw new Error("CodeGen: name must be a valid identifier");this.str=R}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class s extends n{constructor(R){super(),this._items=typeof R=="string"?[R]:R}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const R=this._items[0];return R===""||R==='""'}get str(){var R;return(R=this._str)!==null&&R!==void 0?R:this._str=this._items.reduce((j,B)=>`${j}${B}`,"")}get names(){var R;return(R=this._names)!==null&&R!==void 0?R:this._names=this._items.reduce((j,B)=>(B instanceof r&&(j[B.str]=(j[B.str]||0)+1),j),{})}}e._Code=s,e.nil=new s("");function a(S,...R){const j=[S[0]];let B=0;for(;B{if(_.scopePath===void 0)throw new Error(`CodeGen: name "${_}" has no value`);return(0,n._)`${p}${_.scopePath}`})}scopeCode(p=this._values,m,_){return this._reduceValues(p,y=>{if(y.value===void 0)throw new Error(`CodeGen: name "${y}" has no value`);return y.value.code},m,_)}_reduceValues(p,m,_={},y){let P=n.nil;for(const $ in p){const T=p[$];if(!T)continue;const C=_[$]=_[$]||new Map;T.forEach(S=>{if(C.has(S))return;C.set(S,s.Started);let R=m(S);if(R){const j=this.opts.es5?e.varKinds.var:e.varKinds.const;P=(0,n._)`${P}${j} ${S} = ${R};${this.opts._n}`}else if(R=y==null?void 0:y(S))P=(0,n._)`${P}${R}${this.opts._n}`;else throw new r(S);C.set(S,s.Completed)})}return P}}e.ValueScope=f})(ba);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const n=Nr,r=ba;var s=Nr;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return s.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return s.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return s.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return s.Name}});var a=ba;Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return a.varKinds}}),e.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class l{optimizeNodes(){return this}optimizeNames(w,E){return this}}class u extends l{constructor(w,E,N){super(),this.varKind=w,this.name=E,this.rhs=N}render({es5:w,_n:E}){const N=w?r.varKinds.var:this.varKind,I=this.rhs===void 0?"":` = ${this.rhs}`;return`${N} ${this.name}${I};`+E}optimizeNames(w,E){if(w[this.name.str])return this.rhs&&(this.rhs=_e(this.rhs,w,E)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class f extends l{constructor(w,E,N){super(),this.lhs=w,this.rhs=E,this.sideEffects=N}render({_n:w}){return`${this.lhs} = ${this.rhs};`+w}optimizeNames(w,E){if(!(this.lhs instanceof n.Name&&!w[this.lhs.str]&&!this.sideEffects))return this.rhs=_e(this.rhs,w,E),this}get names(){const w=this.lhs instanceof n.Name?{}:{...this.lhs.names};return pe(w,this.rhs)}}class h extends f{constructor(w,E,N,I){super(w,N,I),this.op=E}render({_n:w}){return`${this.lhs} ${this.op}= ${this.rhs};`+w}}class p extends l{constructor(w){super(),this.label=w,this.names={}}render({_n:w}){return`${this.label}:`+w}}class m extends l{constructor(w){super(),this.label=w,this.names={}}render({_n:w}){return`break${this.label?` ${this.label}`:""};`+w}}class _ extends l{constructor(w){super(),this.error=w}render({_n:w}){return`throw ${this.error};`+w}get names(){return this.error.names}}class y extends l{constructor(w){super(),this.code=w}render({_n:w}){return`${this.code};`+w}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(w,E){return this.code=_e(this.code,w,E),this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class P extends l{constructor(w=[]){super(),this.nodes=w}render(w){return this.nodes.reduce((E,N)=>E+N.render(w),"")}optimizeNodes(){const{nodes:w}=this;let E=w.length;for(;E--;){const N=w[E].optimizeNodes();Array.isArray(N)?w.splice(E,1,...N):N?w[E]=N:w.splice(E,1)}return w.length>0?this:void 0}optimizeNames(w,E){const{nodes:N}=this;let I=N.length;for(;I--;){const H=N[I];H.optimizeNames(w,E)||(Ge(w,H.names),N.splice(I,1))}return N.length>0?this:void 0}get names(){return this.nodes.reduce((w,E)=>ne(w,E.names),{})}}class $ extends P{render(w){return"{"+w._n+super.render(w)+"}"+w._n}}class T extends P{}class C extends ${}C.kind="else";class S extends ${constructor(w,E){super(E),this.condition=w}render(w){let E=`if(${this.condition})`+super.render(w);return this.else&&(E+="else "+this.else.render(w)),E}optimizeNodes(){super.optimizeNodes();const w=this.condition;if(w===!0)return this.nodes;let E=this.else;if(E){const N=E.optimizeNodes();E=this.else=Array.isArray(N)?new C(N):N}if(E)return w===!1?E instanceof S?E:E.nodes:this.nodes.length?this:new S($e(w),E instanceof S?[E]:E.nodes);if(!(w===!1||!this.nodes.length))return this}optimizeNames(w,E){var N;if(this.else=(N=this.else)===null||N===void 0?void 0:N.optimizeNames(w,E),!!(super.optimizeNames(w,E)||this.else))return this.condition=_e(this.condition,w,E),this}get names(){const w=super.names;return pe(w,this.condition),this.else&&ne(w,this.else.names),w}}S.kind="if";class R extends ${}R.kind="for";class j extends R{constructor(w){super(),this.iteration=w}render(w){return`for(${this.iteration})`+super.render(w)}optimizeNames(w,E){if(super.optimizeNames(w,E))return this.iteration=_e(this.iteration,w,E),this}get names(){return ne(super.names,this.iteration.names)}}class B extends R{constructor(w,E,N,I){super(),this.varKind=w,this.name=E,this.from=N,this.to=I}render(w){const E=w.es5?r.varKinds.var:this.varKind,{name:N,from:I,to:H}=this;return`for(${E} ${N}=${I}; ${N}<${H}; ${N}++)`+super.render(w)}get names(){const w=pe(super.names,this.from);return pe(w,this.to)}}class G extends R{constructor(w,E,N,I){super(),this.loop=w,this.varKind=E,this.name=N,this.iterable=I}render(w){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(w)}optimizeNames(w,E){if(super.optimizeNames(w,E))return this.iterable=_e(this.iterable,w,E),this}get names(){return ne(super.names,this.iterable.names)}}class le extends ${constructor(w,E,N){super(),this.name=w,this.args=E,this.async=N}render(w){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(w)}}le.kind="func";class ue extends P{render(w){return"return "+super.render(w)}}ue.kind="return";class Me extends ${render(w){let E="try"+super.render(w);return this.catch&&(E+=this.catch.render(w)),this.finally&&(E+=this.finally.render(w)),E}optimizeNodes(){var w,E;return super.optimizeNodes(),(w=this.catch)===null||w===void 0||w.optimizeNodes(),(E=this.finally)===null||E===void 0||E.optimizeNodes(),this}optimizeNames(w,E){var N,I;return super.optimizeNames(w,E),(N=this.catch)===null||N===void 0||N.optimizeNames(w,E),(I=this.finally)===null||I===void 0||I.optimizeNames(w,E),this}get names(){const w=super.names;return this.catch&&ne(w,this.catch.names),this.finally&&ne(w,this.finally.names),w}}class fe extends ${constructor(w){super(),this.error=w}render(w){return`catch(${this.error})`+super.render(w)}}fe.kind="catch";class we extends ${render(w){return"finally"+super.render(w)}}we.kind="finally";class me{constructor(w,E={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...E,_n:E.lines?` -`:""},this._extScope=w,this._scope=new r.Scope({parent:w}),this._nodes=[new T]}toString(){return this._root.render(this.opts)}name(w){return this._scope.name(w)}scopeName(w){return this._extScope.name(w)}scopeValue(w,E){const N=this._extScope.value(w,E);return(this._values[N.prefix]||(this._values[N.prefix]=new Set)).add(N),N}getScopeValue(w,E){return this._extScope.getValue(w,E)}scopeRefs(w){return this._extScope.scopeRefs(w,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(w,E,N,I){const H=this._scope.toName(E);return N!==void 0&&I&&(this._constants[H.str]=N),this._leafNode(new u(w,H,N)),H}const(w,E,N){return this._def(r.varKinds.const,w,E,N)}let(w,E,N){return this._def(r.varKinds.let,w,E,N)}var(w,E,N){return this._def(r.varKinds.var,w,E,N)}assign(w,E,N){return this._leafNode(new f(w,E,N))}add(w,E){return this._leafNode(new h(w,e.operators.ADD,E))}code(w){return typeof w=="function"?w():w!==n.nil&&this._leafNode(new y(w)),this}object(...w){const E=["{"];for(const[N,I]of w)E.length>1&&E.push(","),E.push(N),(N!==I||this.opts.es5)&&(E.push(":"),(0,n.addCodeArg)(E,I));return E.push("}"),new n._Code(E)}if(w,E,N){if(this._blockNode(new S(w)),E&&N)this.code(E).else().code(N).endIf();else if(E)this.code(E).endIf();else if(N)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(w){return this._elseNode(new S(w))}else(){return this._elseNode(new C)}endIf(){return this._endBlockNode(S,C)}_for(w,E){return this._blockNode(w),E&&this.code(E).endFor(),this}for(w,E){return this._for(new j(w),E)}forRange(w,E,N,I,H=this.opts.es5?r.varKinds.var:r.varKinds.let){const K=this._scope.toName(w);return this._for(new B(H,K,E,N),()=>I(K))}forOf(w,E,N,I=r.varKinds.const){const H=this._scope.toName(w);if(this.opts.es5){const K=E instanceof n.Name?E:this.var("_arr",E);return this.forRange("_i",0,(0,n._)`${K}.length`,Q=>{this.var(H,(0,n._)`${K}[${Q}]`),N(H)})}return this._for(new G("of",I,H,E),()=>N(H))}forIn(w,E,N,I=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(w,(0,n._)`Object.keys(${E})`,N);const H=this._scope.toName(w);return this._for(new G("in",I,H,E),()=>N(H))}endFor(){return this._endBlockNode(R)}label(w){return this._leafNode(new p(w))}break(w){return this._leafNode(new m(w))}return(w){const E=new ue;if(this._blockNode(E),this.code(w),E.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(ue)}try(w,E,N){if(!E&&!N)throw new Error('CodeGen: "try" without "catch" and "finally"');const I=new Me;if(this._blockNode(I),this.code(w),E){const H=this.name("e");this._currNode=I.catch=new fe(H),E(H)}return N&&(this._currNode=I.finally=new we,this.code(N)),this._endBlockNode(fe,we)}throw(w){return this._leafNode(new _(w))}block(w,E){return this._blockStarts.push(this._nodes.length),w&&this.code(w).endBlock(E),this}endBlock(w){const E=this._blockStarts.pop();if(E===void 0)throw new Error("CodeGen: not in self-balancing block");const N=this._nodes.length-E;if(N<0||w!==void 0&&N!==w)throw new Error(`CodeGen: wrong number of nodes: ${N} vs ${w} expected`);return this._nodes.length=E,this}func(w,E=n.nil,N,I){return this._blockNode(new le(w,E,N)),I&&this.code(I).endFunc(),this}endFunc(){return this._endBlockNode(le)}optimize(w=1){for(;w-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(w){return this._currNode.nodes.push(w),this}_blockNode(w){this._currNode.nodes.push(w),this._nodes.push(w)}_endBlockNode(w,E){const N=this._currNode;if(N instanceof w||E&&N instanceof E)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${E?`${w.kind}/${E.kind}`:w.kind}"`)}_elseNode(w){const E=this._currNode;if(!(E instanceof S))throw new Error('CodeGen: "else" without "if"');return this._currNode=E.else=w,this}get _root(){return this._nodes[0]}get _currNode(){const w=this._nodes;return w[w.length-1]}set _currNode(w){const E=this._nodes;E[E.length-1]=w}}e.CodeGen=me;function ne(z,w){for(const E in w)z[E]=(z[E]||0)+(w[E]||0);return z}function pe(z,w){return w instanceof n._CodeOrName?ne(z,w.names):z}function _e(z,w,E){if(z instanceof n.Name)return N(z);if(!I(z))return z;return new n._Code(z._items.reduce((H,K)=>(K instanceof n.Name&&(K=N(K)),K instanceof n._Code?H.push(...K._items):H.push(K),H),[]));function N(H){const K=E[H.str];return K===void 0||w[H.str]!==1?H:(delete w[H.str],K)}function I(H){return H instanceof n._Code&&H._items.some(K=>K instanceof n.Name&&w[K.str]===1&&E[K.str]!==void 0)}}function Ge(z,w){for(const E in w)z[E]=(z[E]||0)-(w[E]||0)}function $e(z){return typeof z=="boolean"||typeof z=="number"||z===null?!z:(0,n._)`!${q(z)}`}e.not=$e;const Ee=M(e.operators.AND);function ie(...z){return z.reduce(Ee)}e.and=ie;const rt=M(e.operators.OR);function U(...z){return z.reduce(rt)}e.or=U;function M(z){return(w,E)=>w===n.nil?E:E===n.nil?w:(0,n._)`${q(w)} ${z} ${q(E)}`}function q(z){return z instanceof n.Name?z:(0,n._)`(${z})`}})(Re);var oe={};Object.defineProperty(oe,"__esModule",{value:!0});oe.checkStrictMode=oe.getErrorPath=oe.Type=oe.useFunc=oe.setEvaluated=oe.evaluatedPropsToName=oe.mergeEvaluated=oe.eachItem=oe.unescapeJsonPointer=oe.escapeJsonPointer=oe.escapeFragment=oe.unescapeFragment=oe.schemaRefOrVal=oe.schemaHasRulesButRef=oe.schemaHasRules=oe.checkUnknownRules=oe.alwaysValidSchema=oe.toHash=void 0;const Ve=Re,Rv=Nr;function Mv(e){const n={};for(const r of e)n[r]=!0;return n}oe.toHash=Mv;function Iv(e,n){return typeof n=="boolean"?n:Object.keys(n).length===0?!0:(Yh(e,n),!Xh(n,e.self.RULES.all))}oe.alwaysValidSchema=Iv;function Yh(e,n=e.schema){const{opts:r,self:s}=e;if(!r.strictSchema||typeof n=="boolean")return;const a=s.RULES.keywords;for(const l in n)a[l]||td(e,`unknown keyword: "${l}"`)}oe.checkUnknownRules=Yh;function Xh(e,n){if(typeof e=="boolean")return!e;for(const r in e)if(n[r])return!0;return!1}oe.schemaHasRules=Xh;function Av(e,n){if(typeof e=="boolean")return!e;for(const r in e)if(r!=="$ref"&&n.all[r])return!0;return!1}oe.schemaHasRulesButRef=Av;function Nv({topSchemaRef:e,schemaPath:n},r,s,a){if(!a){if(typeof r=="number"||typeof r=="boolean")return r;if(typeof r=="string")return(0,Ve._)`${r}`}return(0,Ve._)`${e}${n}${(0,Ve.getProperty)(s)}`}oe.schemaRefOrVal=Nv;function zv(e){return Qh(decodeURIComponent(e))}oe.unescapeFragment=zv;function Dv(e){return encodeURIComponent(Qa(e))}oe.escapeFragment=Dv;function Qa(e){return typeof e=="number"?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}oe.escapeJsonPointer=Qa;function Qh(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}oe.unescapeJsonPointer=Qh;function jv(e,n){if(Array.isArray(e))for(const r of e)n(r);else n(e)}oe.eachItem=jv;function Fu({mergeNames:e,mergeToName:n,mergeValues:r,resultToName:s}){return(a,l,u,f)=>{const h=u===void 0?l:u instanceof Ve.Name?(l instanceof Ve.Name?e(a,l,u):n(a,l,u),u):l instanceof Ve.Name?(n(a,u,l),l):r(l,u);return f===Ve.Name&&!(h instanceof Ve.Name)?s(a,h):h}}oe.mergeEvaluated={props:Fu({mergeNames:(e,n,r)=>e.if((0,Ve._)`${r} !== true && ${n} !== undefined`,()=>{e.if((0,Ve._)`${n} === true`,()=>e.assign(r,!0),()=>e.assign(r,(0,Ve._)`${r} || {}`).code((0,Ve._)`Object.assign(${r}, ${n})`))}),mergeToName:(e,n,r)=>e.if((0,Ve._)`${r} !== true`,()=>{n===!0?e.assign(r,!0):(e.assign(r,(0,Ve._)`${r} || {}`),el(e,r,n))}),mergeValues:(e,n)=>e===!0?!0:{...e,...n},resultToName:ed}),items:Fu({mergeNames:(e,n,r)=>e.if((0,Ve._)`${r} !== true && ${n} !== undefined`,()=>e.assign(r,(0,Ve._)`${n} === true ? true : ${r} > ${n} ? ${r} : ${n}`)),mergeToName:(e,n,r)=>e.if((0,Ve._)`${r} !== true`,()=>e.assign(r,n===!0?!0:(0,Ve._)`${r} > ${n} ? ${r} : ${n}`)),mergeValues:(e,n)=>e===!0?!0:Math.max(e,n),resultToName:(e,n)=>e.var("items",n)})};function ed(e,n){if(n===!0)return e.var("props",!0);const r=e.var("props",(0,Ve._)`{}`);return n!==void 0&&el(e,r,n),r}oe.evaluatedPropsToName=ed;function el(e,n,r){Object.keys(r).forEach(s=>e.assign((0,Ve._)`${n}${(0,Ve.getProperty)(s)}`,!0))}oe.setEvaluated=el;const Vu={};function Bv(e,n){return e.scopeValue("func",{ref:n,code:Vu[n.code]||(Vu[n.code]=new Rv._Code(n.code))})}oe.useFunc=Bv;var Pa;(function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"})(Pa||(oe.Type=Pa={}));function Zv(e,n,r){if(e instanceof Ve.Name){const s=n===Pa.Num;return r?s?(0,Ve._)`"[" + ${e} + "]"`:(0,Ve._)`"['" + ${e} + "']"`:s?(0,Ve._)`"/" + ${e}`:(0,Ve._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,Ve.getProperty)(e).toString():"/"+Qa(e)}oe.getErrorPath=Zv;function td(e,n,r=e.opts.strictSchema){if(r){if(n=`strict mode: ${n}`,r===!0)throw new Error(n);e.self.logger.warn(n)}}oe.checkStrictMode=td;var pn={};Object.defineProperty(pn,"__esModule",{value:!0});const bt=Re,Fv={data:new bt.Name("data"),valCxt:new bt.Name("valCxt"),instancePath:new bt.Name("instancePath"),parentData:new bt.Name("parentData"),parentDataProperty:new bt.Name("parentDataProperty"),rootData:new bt.Name("rootData"),dynamicAnchors:new bt.Name("dynamicAnchors"),vErrors:new bt.Name("vErrors"),errors:new bt.Name("errors"),this:new bt.Name("this"),self:new bt.Name("self"),scope:new bt.Name("scope"),json:new bt.Name("json"),jsonPos:new bt.Name("jsonPos"),jsonLen:new bt.Name("jsonLen"),jsonPart:new bt.Name("jsonPart")};pn.default=Fv;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const n=Re,r=oe,s=pn;e.keywordError={message:({keyword:C})=>(0,n.str)`must pass "${C}" keyword validation`},e.keyword$DataError={message:({keyword:C,schemaType:S})=>S?(0,n.str)`"${C}" keyword must be ${S} ($data)`:(0,n.str)`"${C}" keyword is invalid ($data)`};function a(C,S=e.keywordError,R,j){const{it:B}=C,{gen:G,compositeRule:le,allErrors:ue}=B,Me=_(C,S,R);j??(le||ue)?h(G,Me):p(B,(0,n._)`[${Me}]`)}e.reportError=a;function l(C,S=e.keywordError,R){const{it:j}=C,{gen:B,compositeRule:G,allErrors:le}=j,ue=_(C,S,R);h(B,ue),G||le||p(j,s.default.vErrors)}e.reportExtraError=l;function u(C,S){C.assign(s.default.errors,S),C.if((0,n._)`${s.default.vErrors} !== null`,()=>C.if(S,()=>C.assign((0,n._)`${s.default.vErrors}.length`,S),()=>C.assign(s.default.vErrors,null)))}e.resetErrorsCount=u;function f({gen:C,keyword:S,schemaValue:R,data:j,errsCount:B,it:G}){if(B===void 0)throw new Error("ajv implementation error");const le=C.name("err");C.forRange("i",B,s.default.errors,ue=>{C.const(le,(0,n._)`${s.default.vErrors}[${ue}]`),C.if((0,n._)`${le}.instancePath === undefined`,()=>C.assign((0,n._)`${le}.instancePath`,(0,n.strConcat)(s.default.instancePath,G.errorPath))),C.assign((0,n._)`${le}.schemaPath`,(0,n.str)`${G.errSchemaPath}/${S}`),G.opts.verbose&&(C.assign((0,n._)`${le}.schema`,R),C.assign((0,n._)`${le}.data`,j))})}e.extendErrors=f;function h(C,S){const R=C.const("err",S);C.if((0,n._)`${s.default.vErrors} === null`,()=>C.assign(s.default.vErrors,(0,n._)`[${R}]`),(0,n._)`${s.default.vErrors}.push(${R})`),C.code((0,n._)`${s.default.errors}++`)}function p(C,S){const{gen:R,validateName:j,schemaEnv:B}=C;B.$async?R.throw((0,n._)`new ${C.ValidationError}(${S})`):(R.assign((0,n._)`${j}.errors`,S),R.return(!1))}const m={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function _(C,S,R){const{createErrors:j}=C.it;return j===!1?(0,n._)`{}`:y(C,S,R)}function y(C,S,R={}){const{gen:j,it:B}=C,G=[P(B,R),$(C,R)];return T(C,S,G),j.object(...G)}function P({errorPath:C},{instancePath:S}){const R=S?(0,n.str)`${C}${(0,r.getErrorPath)(S,r.Type.Str)}`:C;return[s.default.instancePath,(0,n.strConcat)(s.default.instancePath,R)]}function $({keyword:C,it:{errSchemaPath:S}},{schemaPath:R,parentSchema:j}){let B=j?S:(0,n.str)`${S}/${C}`;return R&&(B=(0,n.str)`${B}${(0,r.getErrorPath)(R,r.Type.Str)}`),[m.schemaPath,B]}function T(C,{params:S,message:R},j){const{keyword:B,data:G,schemaValue:le,it:ue}=C,{opts:Me,propertyName:fe,topSchemaRef:we,schemaPath:me}=ue;j.push([m.keyword,B],[m.params,typeof S=="function"?S(C):S||(0,n._)`{}`]),Me.messages&&j.push([m.message,typeof R=="function"?R(C):R]),Me.verbose&&j.push([m.schema,le],[m.parentSchema,(0,n._)`${we}${me}`],[s.default.data,G]),fe&&j.push([m.propertyName,fe])}})(jr);var Hu;function Vv(){if(Hu)return si;Hu=1,Object.defineProperty(si,"__esModule",{value:!0}),si.boolOrEmptySchema=si.topBoolOrEmptySchema=void 0;const e=jr,n=Re,r=pn,s={message:"boolean schema is false"};function a(f){const{gen:h,schema:p,validateName:m}=f;p===!1?u(f,!1):typeof p=="object"&&p.$async===!0?h.return(r.default.data):(h.assign((0,n._)`${m}.errors`,null),h.return(!0))}si.topBoolOrEmptySchema=a;function l(f,h){const{gen:p,schema:m}=f;m===!1?(p.var(h,!1),u(f)):p.var(h,!0)}si.boolOrEmptySchema=l;function u(f,h){const{gen:p,data:m}=f,_={gen:p,keyword:"false schema",data:m,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:f};(0,e.reportError)(_,s,void 0,h)}return si}var ot={},mi={};Object.defineProperty(mi,"__esModule",{value:!0});mi.getRules=mi.isJSONType=void 0;const Hv=["string","number","integer","boolean","null","object","array"],Uv=new Set(Hv);function qv(e){return typeof e=="string"&&Uv.has(e)}mi.isJSONType=qv;function Wv(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}mi.getRules=Wv;var $n={},Uu;function nd(){if(Uu)return $n;Uu=1,Object.defineProperty($n,"__esModule",{value:!0}),$n.shouldUseRule=$n.shouldUseGroup=$n.schemaHasRulesForType=void 0;function e({schema:s,self:a},l){const u=a.RULES.types[l];return u&&u!==!0&&n(s,u)}$n.schemaHasRulesForType=e;function n(s,a){return a.rules.some(l=>r(s,l))}$n.shouldUseGroup=n;function r(s,a){var l;return s[a.keyword]!==void 0||((l=a.definition.implements)===null||l===void 0?void 0:l.some(u=>s[u]!==void 0))}return $n.shouldUseRule=r,$n}Object.defineProperty(ot,"__esModule",{value:!0});ot.reportTypeError=ot.checkDataTypes=ot.checkDataType=ot.coerceAndCheckDataType=ot.getJSONTypes=ot.getSchemaTypes=ot.DataType=void 0;const Kv=mi,Gv=nd(),Jv=jr,xe=Re,id=oe;var ji;(function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"})(ji||(ot.DataType=ji={}));function Yv(e){const n=rd(e.type);if(n.includes("null")){if(e.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!n.length&&e.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');e.nullable===!0&&n.push("null")}return n}ot.getSchemaTypes=Yv;function rd(e){const n=Array.isArray(e)?e:e?[e]:[];if(n.every(Kv.isJSONType))return n;throw new Error("type must be JSONType or JSONType[]: "+n.join(","))}ot.getJSONTypes=rd;function Xv(e,n){const{gen:r,data:s,opts:a}=e,l=Qv(n,a.coerceTypes),u=n.length>0&&!(l.length===0&&n.length===1&&(0,Gv.schemaHasRulesForType)(e,n[0]));if(u){const f=tl(n,s,a.strictNumbers,ji.Wrong);r.if(f,()=>{l.length?ey(e,n,l):nl(e)})}return u}ot.coerceAndCheckDataType=Xv;const sd=new Set(["string","number","integer","boolean","null"]);function Qv(e,n){return n?e.filter(r=>sd.has(r)||n==="array"&&r==="array"):[]}function ey(e,n,r){const{gen:s,data:a,opts:l}=e,u=s.let("dataType",(0,xe._)`typeof ${a}`),f=s.let("coerced",(0,xe._)`undefined`);l.coerceTypes==="array"&&s.if((0,xe._)`${u} == 'object' && Array.isArray(${a}) && ${a}.length == 1`,()=>s.assign(a,(0,xe._)`${a}[0]`).assign(u,(0,xe._)`typeof ${a}`).if(tl(n,a,l.strictNumbers),()=>s.assign(f,a))),s.if((0,xe._)`${f} !== undefined`);for(const p of r)(sd.has(p)||p==="array"&&l.coerceTypes==="array")&&h(p);s.else(),nl(e),s.endIf(),s.if((0,xe._)`${f} !== undefined`,()=>{s.assign(a,f),ty(e,f)});function h(p){switch(p){case"string":s.elseIf((0,xe._)`${u} == "number" || ${u} == "boolean"`).assign(f,(0,xe._)`"" + ${a}`).elseIf((0,xe._)`${a} === null`).assign(f,(0,xe._)`""`);return;case"number":s.elseIf((0,xe._)`${u} == "boolean" || ${a} === null + */const Oi=typeof document<"u";function Ih(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Eg(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ih(e.default)}const Be=Object.assign;function Jo(e,n){const r={};for(const s in n){const a=n[s];r[s]=tn(a)?a.map(e):e(a)}return r}const br=()=>{},tn=Array.isArray,Ah=/#/g,Tg=/&/g,xg=/\//g,Lg=/=/g,Cg=/\?/g,Nh=/\+/g,kg=/%5B/g,Og=/%5D/g,zh=/%5E/g,Rg=/%60/g,Dh=/%7B/g,Mg=/%7C/g,jh=/%7D/g,Ig=/%20/g;function Ya(e){return encodeURI(""+e).replace(Mg,"|").replace(kg,"[").replace(Og,"]")}function Ag(e){return Ya(e).replace(Dh,"{").replace(jh,"}").replace(zh,"^")}function ga(e){return Ya(e).replace(Nh,"%2B").replace(Ig,"+").replace(Ah,"%23").replace(Tg,"%26").replace(Rg,"`").replace(Dh,"{").replace(jh,"}").replace(zh,"^")}function Ng(e){return ga(e).replace(Lg,"%3D")}function zg(e){return Ya(e).replace(Ah,"%23").replace(Cg,"%3F")}function Dg(e){return e==null?"":zg(e).replace(xg,"%2F")}function Ir(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const jg=/\/$/,Bg=e=>e.replace(jg,"");function Yo(e,n,r="/"){let s,a={},l="",u="";const f=n.indexOf("#");let h=n.indexOf("?");return f=0&&(h=-1),h>-1&&(s=n.slice(0,h),l=n.slice(h+1,f>-1?f:n.length),a=e(l)),f>-1&&(s=s||n.slice(0,f),u=n.slice(f,n.length)),s=Hg(s??n,r),{fullPath:s+(l&&"?")+l+u,path:s,query:a,hash:Ir(u)}}function Zg(e,n){const r=n.query?e(n.query):"";return n.path+(r&&"?")+r+(n.hash||"")}function Eu(e,n){return!n||!e.toLowerCase().startsWith(n.toLowerCase())?e:e.slice(n.length)||"/"}function Fg(e,n,r){const s=n.matched.length-1,a=r.matched.length-1;return s>-1&&s===a&&Zi(n.matched[s],r.matched[a])&&Bh(n.params,r.params)&&e(n.query)===e(r.query)&&n.hash===r.hash}function Zi(e,n){return(e.aliasOf||e)===(n.aliasOf||n)}function Bh(e,n){if(Object.keys(e).length!==Object.keys(n).length)return!1;for(const r in e)if(!Vg(e[r],n[r]))return!1;return!0}function Vg(e,n){return tn(e)?Tu(e,n):tn(n)?Tu(n,e):e===n}function Tu(e,n){return tn(n)?e.length===n.length&&e.every((r,s)=>r===n[s]):e.length===1&&e[0]===n}function Hg(e,n){if(e.startsWith("/"))return e;if(!e)return n;const r=n.split("/"),s=e.split("/"),a=s[s.length-1];(a===".."||a===".")&&s.push("");let l=r.length-1,u,f;for(u=0;u1&&l--;else break;return r.slice(0,l).join("/")+"/"+s.slice(u).join("/")}const zn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ar;(function(e){e.pop="pop",e.push="push"})(Ar||(Ar={}));var Pr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Pr||(Pr={}));function Ug(e){if(!e)if(Oi){const n=document.querySelector("base");e=n&&n.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Bg(e)}const qg=/^[^#]+#/;function Wg(e,n){return e.replace(qg,"#")+n}function Kg(e,n){const r=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:n.behavior,left:s.left-r.left-(n.left||0),top:s.top-r.top-(n.top||0)}}const eo=()=>({left:window.scrollX,top:window.scrollY});function Gg(e){let n;if("el"in e){const r=e.el,s=typeof r=="string"&&r.startsWith("#"),a=typeof r=="string"?s?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!a)return;n=Kg(a,e)}else n=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(n):window.scrollTo(n.left!=null?n.left:window.scrollX,n.top!=null?n.top:window.scrollY)}function xu(e,n){return(history.state?history.state.position-n:-1)+e}const va=new Map;function Jg(e,n){va.set(e,n)}function Yg(e){const n=va.get(e);return va.delete(e),n}let Xg=()=>location.protocol+"//"+location.host;function Zh(e,n){const{pathname:r,search:s,hash:a}=n,l=e.indexOf("#");if(l>-1){let f=a.includes(e.slice(l))?e.slice(l).length:1,h=a.slice(f);return h[0]!=="/"&&(h="/"+h),Eu(h,"")}return Eu(r,e)+s+a}function Qg(e,n,r,s){let a=[],l=[],u=null;const f=({state:y})=>{const P=Zh(e,location),S=r.value,T=n.value;let C=0;if(y){if(r.value=P,n.value=y,u&&u===S){u=null;return}C=T?y.position-T.position:0}else s(P);a.forEach($=>{$(r.value,S,{delta:C,type:Ar.pop,direction:C?C>0?Pr.forward:Pr.back:Pr.unknown})})};function h(){u=r.value}function p(y){a.push(y);const P=()=>{const S=a.indexOf(y);S>-1&&a.splice(S,1)};return l.push(P),P}function m(){const{history:y}=window;y.state&&y.replaceState(Be({},y.state,{scroll:eo()}),"")}function _(){for(const y of l)y();l=[],window.removeEventListener("popstate",f),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",f),window.addEventListener("beforeunload",m,{passive:!0}),{pauseListeners:h,listen:p,destroy:_}}function Lu(e,n,r,s=!1,a=!1){return{back:e,current:n,forward:r,replaced:s,position:window.history.length,scroll:a?eo():null}}function ev(e){const{history:n,location:r}=window,s={value:Zh(e,r)},a={value:n.state};a.value||l(s.value,{back:null,current:s.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function l(h,p,m){const _=e.indexOf("#"),y=_>-1?(r.host&&document.querySelector("base")?e:e.slice(_))+h:Xg()+e+h;try{n[m?"replaceState":"pushState"](p,"",y),a.value=p}catch(P){console.error(P),r[m?"replace":"assign"](y)}}function u(h,p){const m=Be({},n.state,Lu(a.value.back,h,a.value.forward,!0),p,{position:a.value.position});l(h,m,!0),s.value=h}function f(h,p){const m=Be({},a.value,n.state,{forward:h,scroll:eo()});l(m.current,m,!0);const _=Be({},Lu(s.value,h,null),{position:m.position+1},p);l(h,_,!1),s.value=h}return{location:s,state:a,push:f,replace:u}}function tv(e){e=Ug(e);const n=ev(e),r=Qg(e,n.state,n.location,n.replace);function s(l,u=!0){u||r.pauseListeners(),history.go(l)}const a=Be({location:"",base:e,go:s,createHref:Wg.bind(null,e)},n,r);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>n.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>n.state.value}),a}function nv(e){return typeof e=="string"||e&&typeof e=="object"}function Fh(e){return typeof e=="string"||typeof e=="symbol"}const Vh=Symbol("");var Cu;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Cu||(Cu={}));function Fi(e,n){return Be(new Error,{type:e,[Vh]:!0},n)}function bn(e,n){return e instanceof Error&&Vh in e&&(n==null||!!(e.type&n))}const ku="[^/]+?",iv={sensitive:!1,strict:!1,start:!0,end:!0},rv=/[.+*?^${}()[\]/\\]/g;function sv(e,n){const r=Be({},iv,n),s=[];let a=r.start?"^":"";const l=[];for(const p of e){const m=p.length?[]:[90];r.strict&&!p.length&&(a+="/");for(let _=0;_n.length?n.length===1&&n[0]===80?1:-1:0}function Hh(e,n){let r=0;const s=e.score,a=n.score;for(;r0&&n[n.length-1]<0}const av={type:0,value:""},lv=/[a-zA-Z0-9_]/;function cv(e){if(!e)return[[]];if(e==="/")return[[av]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function n(P){throw new Error(`ERR (${r})/"${p}": ${P}`)}let r=0,s=r;const a=[];let l;function u(){l&&a.push(l),l=[]}let f=0,h,p="",m="";function _(){p&&(r===0?l.push({type:0,value:p}):r===1||r===2||r===3?(l.length>1&&(h==="*"||h==="+")&&n(`A repeatable param (${p}) must be alone in its segment. eg: '/:ids+.`),l.push({type:1,value:p,regexp:m,repeatable:h==="*"||h==="+",optional:h==="*"||h==="?"})):n("Invalid state to consume buffer"),p="")}function y(){p+=h}for(;f{u(j)}:br}function u(_){if(Fh(_)){const y=s.get(_);y&&(s.delete(_),r.splice(r.indexOf(y),1),y.children.forEach(u),y.alias.forEach(u))}else{const y=r.indexOf(_);y>-1&&(r.splice(y,1),_.record.name&&s.delete(_.record.name),_.children.forEach(u),_.alias.forEach(u))}}function f(){return r}function h(_){const y=mv(_,r);r.splice(y,0,_),_.record.name&&!Mu(_)&&s.set(_.record.name,_)}function p(_,y){let P,S={},T,C;if("name"in _&&_.name){if(P=s.get(_.name),!P)throw Fi(1,{location:_});C=P.record.name,S=Be(Ru(y.params,P.keys.filter(j=>!j.optional).concat(P.parent?P.parent.keys.filter(j=>j.optional):[]).map(j=>j.name)),_.params&&Ru(_.params,P.keys.map(j=>j.name))),T=P.stringify(S)}else if(_.path!=null)T=_.path,P=r.find(j=>j.re.test(T)),P&&(S=P.parse(T),C=P.record.name);else{if(P=y.name?s.get(y.name):r.find(j=>j.re.test(y.path)),!P)throw Fi(1,{location:_,currentLocation:y});C=P.record.name,S=Be({},y.params,_.params),T=P.stringify(S)}const $=[];let R=P;for(;R;)$.unshift(R.record),R=R.parent;return{name:C,path:T,params:S,matched:$,meta:pv($)}}e.forEach(_=>l(_));function m(){r.length=0,s.clear()}return{addRoute:l,resolve:p,removeRoute:u,clearRoutes:m,getRoutes:f,getRecordMatcher:a}}function Ru(e,n){const r={};for(const s of n)s in e&&(r[s]=e[s]);return r}function hv(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:dv(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},mods:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function dv(e){const n={},r=e.props||!1;if("component"in e)n.default=r;else for(const s in e.components)n[s]=typeof r=="object"?r[s]:r;return n}function Mu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pv(e){return e.reduce((n,r)=>Be(n,r.meta),{})}function Iu(e,n){const r={};for(const s in e)r[s]=s in n?n[s]:e[s];return r}function mv(e,n){let r=0,s=n.length;for(;r!==s;){const l=r+s>>1;Hh(e,n[l])<0?s=l:r=l+1}const a=_v(e);return a&&(s=n.lastIndexOf(a,s-1)),s}function _v(e){let n=e;for(;n=n.parent;)if(Uh(n)&&Hh(e,n)===0)return n}function Uh({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function gv(e){const n={};if(e===""||e==="?")return n;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let a=0;al&&ga(l)):[s&&ga(s)]).forEach(l=>{l!==void 0&&(n+=(n.length?"&":"")+r,l!=null&&(n+="="+l))})}return n}function vv(e){const n={};for(const r in e){const s=e[r];s!==void 0&&(n[r]=tn(s)?s.map(a=>a==null?null:""+a):s==null?s:""+s)}return n}const yv=Symbol(""),Nu=Symbol(""),to=Symbol(""),Xa=Symbol(""),ya=Symbol("");function cr(){let e=[];function n(s){return e.push(s),()=>{const a=e.indexOf(s);a>-1&&e.splice(a,1)}}function r(){e=[]}return{add:n,list:()=>e.slice(),reset:r}}function Vn(e,n,r,s,a,l=u=>u()){const u=s&&(s.enterCallbacks[a]=s.enterCallbacks[a]||[]);return()=>new Promise((f,h)=>{const p=y=>{y===!1?h(Fi(4,{from:r,to:n})):y instanceof Error?h(y):nv(y)?h(Fi(2,{from:n,to:y})):(u&&s.enterCallbacks[a]===u&&typeof y=="function"&&u.push(y),f())},m=l(()=>e.call(s&&s.instances[a],n,r,p));let _=Promise.resolve(m);e.length<3&&(_=_.then(p)),_.catch(y=>h(y))})}function Xo(e,n,r,s,a=l=>l()){const l=[];for(const u of e)for(const f in u.components){let h=u.components[f];if(!(n!=="beforeRouteEnter"&&!u.instances[f]))if(Ih(h)){const m=(h.__vccOpts||h)[n];m&&l.push(Vn(m,r,s,u,f,a))}else{let p=h();l.push(()=>p.then(m=>{if(!m)throw new Error(`Couldn't resolve component "${f}" at "${u.path}"`);const _=Eg(m)?m.default:m;u.mods[f]=m,u.components[f]=_;const P=(_.__vccOpts||_)[n];return P&&Vn(P,r,s,u,f,a)()}))}}return l}function zu(e){const n=Xt(to),r=Xt(Xa),s=ct(()=>{const h=ke(e.to);return n.resolve(h)}),a=ct(()=>{const{matched:h}=s.value,{length:p}=h,m=h[p-1],_=r.matched;if(!m||!_.length)return-1;const y=_.findIndex(Zi.bind(null,m));if(y>-1)return y;const P=Du(h[p-2]);return p>1&&Du(m)===P&&_[_.length-1].path!==P?_.findIndex(Zi.bind(null,h[p-2])):y}),l=ct(()=>a.value>-1&&$v(r.params,s.value.params)),u=ct(()=>a.value>-1&&a.value===r.matched.length-1&&Bh(r.params,s.value.params));function f(h={}){return Pv(h)?n[ke(e.replace)?"replace":"push"](ke(e.to)).catch(br):Promise.resolve()}return{route:s,href:ct(()=>s.value.href),isActive:l,isExactActive:u,navigate:f}}const wv=Ot({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:zu,setup(e,{slots:n}){const r=qs(zu(e)),{options:s}=Xt(to),a=ct(()=>({[ju(e.activeClass,s.linkActiveClass,"router-link-active")]:r.isActive,[ju(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const l=n.default&&n.default(r);return e.custom?l:Ja("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},l)}}}),bv=wv;function Pv(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 n=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return e.preventDefault&&e.preventDefault(),!0}}function $v(e,n){for(const r in n){const s=n[r],a=e[r];if(typeof s=="string"){if(s!==a)return!1}else if(!tn(a)||a.length!==s.length||s.some((l,u)=>l!==a[u]))return!1}return!0}function Du(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ju=(e,n,r)=>e??n??r,Sv=Ot({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:n,slots:r}){const s=Xt(ya),a=ct(()=>e.route||s.value),l=Xt(Nu,0),u=ct(()=>{let p=ke(l);const{matched:m}=a.value;let _;for(;(_=m[p])&&!_.components;)p++;return p}),f=ct(()=>a.value.matched[u.value]);Ps(Nu,ct(()=>u.value+1)),Ps(yv,f),Ps(ya,a);const h=lt();return hi(()=>[h.value,f.value,e.name],([p,m,_],[y,P,S])=>{m&&(m.instances[_]=p,P&&P!==m&&p&&p===y&&(m.leaveGuards.size||(m.leaveGuards=P.leaveGuards),m.updateGuards.size||(m.updateGuards=P.updateGuards))),p&&m&&(!P||!Zi(m,P)||!y)&&(m.enterCallbacks[_]||[]).forEach(T=>T(p))},{flush:"post"}),()=>{const p=a.value,m=e.name,_=f.value,y=_&&_.components[m];if(!y)return Bu(r.default,{Component:y,route:p});const P=_.props[m],S=P?P===!0?p.params:typeof P=="function"?P(p):P:null,C=Ja(y,Be({},S,n,{onVnodeUnmounted:$=>{$.component.isUnmounted&&(_.instances[m]=null)},ref:h}));return Bu(r.default,{Component:C,route:p})||C}}});function Bu(e,n){if(!e)return null;const r=e(n);return r.length===1?r[0]:r}const Ev=Sv;function Tv(e){const n=fv(e.routes,e),r=e.parseQuery||gv,s=e.stringifyQuery||Au,a=e.history,l=cr(),u=cr(),f=cr(),h=km(zn);let p=zn;Oi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Jo.bind(null,I=>""+I),_=Jo.bind(null,Dg),y=Jo.bind(null,Ir);function P(I,H){let K,Q;return Fh(I)?(K=n.getRecordMatcher(I),Q=H):Q=I,n.addRoute(Q,K)}function S(I){const H=n.getRecordMatcher(I);H&&n.removeRoute(H)}function T(){return n.getRoutes().map(I=>I.record)}function C(I){return!!n.getRecordMatcher(I)}function $(I,H){if(H=Be({},H||h.value),typeof I=="string"){const b=Yo(r,I,H.path),O=n.resolve({path:b.path},H),F=a.createHref(b.fullPath);return Be(b,O,{params:y(O.params),hash:Ir(b.hash),redirectedFrom:void 0,href:F})}let K;if(I.path!=null)K=Be({},I,{path:Yo(r,I.path,H.path).path});else{const b=Be({},I.params);for(const O in b)b[O]==null&&delete b[O];K=Be({},I,{params:_(b)}),H.params=_(H.params)}const Q=n.resolve(K,H),k=I.hash||"";Q.params=m(y(Q.params));const A=Zg(s,Be({},I,{hash:Ag(k),path:Q.path})),g=a.createHref(A);return Be({fullPath:A,hash:k,query:s===Au?vv(I.query):I.query||{}},Q,{redirectedFrom:void 0,href:g})}function R(I){return typeof I=="string"?Yo(r,I,h.value.path):Be({},I)}function j(I,H){if(p!==I)return Fi(8,{from:H,to:I})}function B(I){return ue(I)}function G(I){return B(Be(R(I),{replace:!0}))}function le(I){const H=I.matched[I.matched.length-1];if(H&&H.redirect){const{redirect:K}=H;let Q=typeof K=="function"?K(I):K;return typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=R(Q):{path:Q},Q.params={}),Be({query:I.query,hash:I.hash,params:Q.path!=null?{}:I.params},Q)}}function ue(I,H){const K=p=$(I),Q=h.value,k=I.state,A=I.force,g=I.replace===!0,b=le(K);if(b)return ue(Be(R(b),{state:typeof b=="object"?Be({},k,b.state):k,force:A,replace:g}),H||K);const O=K;O.redirectedFrom=H;let F;return!A&&Fg(s,Q,K)&&(F=Fi(16,{to:O,from:Q}),M(Q,Q,!0,!1)),(F?Promise.resolve(F):we(O,Q)).catch(V=>bn(V)?bn(V,2)?V:U(V):ie(V,O,Q)).then(V=>{if(V){if(bn(V,2))return ue(Be({replace:g},R(V.to),{state:typeof V.to=="object"?Be({},k,V.to.state):k,force:A}),H||O)}else V=ne(O,Q,!0,g,k);return me(O,Q,V),V})}function Me(I,H){const K=j(I,H);return K?Promise.reject(K):Promise.resolve()}function fe(I){const H=w.values().next().value;return H&&typeof H.runWithContext=="function"?H.runWithContext(I):I()}function we(I,H){let K;const[Q,k,A]=xv(I,H);K=Xo(Q.reverse(),"beforeRouteLeave",I,H);for(const b of Q)b.leaveGuards.forEach(O=>{K.push(Vn(O,I,H))});const g=Me.bind(null,I,H);return K.push(g),N(K).then(()=>{K=[];for(const b of l.list())K.push(Vn(b,I,H));return K.push(g),N(K)}).then(()=>{K=Xo(k,"beforeRouteUpdate",I,H);for(const b of k)b.updateGuards.forEach(O=>{K.push(Vn(O,I,H))});return K.push(g),N(K)}).then(()=>{K=[];for(const b of A)if(b.beforeEnter)if(tn(b.beforeEnter))for(const O of b.beforeEnter)K.push(Vn(O,I,H));else K.push(Vn(b.beforeEnter,I,H));return K.push(g),N(K)}).then(()=>(I.matched.forEach(b=>b.enterCallbacks={}),K=Xo(A,"beforeRouteEnter",I,H,fe),K.push(g),N(K))).then(()=>{K=[];for(const b of u.list())K.push(Vn(b,I,H));return K.push(g),N(K)}).catch(b=>bn(b,8)?b:Promise.reject(b))}function me(I,H,K){f.list().forEach(Q=>fe(()=>Q(I,H,K)))}function ne(I,H,K,Q,k){const A=j(I,H);if(A)return A;const g=H===zn,b=Oi?history.state:{};K&&(Q||g?a.replace(I.fullPath,Be({scroll:g&&b&&b.scroll},k)):a.push(I.fullPath,k)),h.value=I,M(I,H,K,g),U()}let pe;function _e(){pe||(pe=a.listen((I,H,K)=>{if(!E.listening)return;const Q=$(I),k=le(Q);if(k){ue(Be(k,{replace:!0}),Q).catch(br);return}p=Q;const A=h.value;Oi&&Jg(xu(A.fullPath,K.delta),eo()),we(Q,A).catch(g=>bn(g,12)?g:bn(g,2)?(ue(g.to,Q).then(b=>{bn(b,20)&&!K.delta&&K.type===Ar.pop&&a.go(-1,!1)}).catch(br),Promise.reject()):(K.delta&&a.go(-K.delta,!1),ie(g,Q,A))).then(g=>{g=g||ne(Q,A,!1),g&&(K.delta&&!bn(g,8)?a.go(-K.delta,!1):K.type===Ar.pop&&bn(g,20)&&a.go(-1,!1)),me(Q,A,g)}).catch(br)}))}let Ge=cr(),$e=cr(),Ee;function ie(I,H,K){U(I);const Q=$e.list();return Q.length?Q.forEach(k=>k(I,H,K)):console.error(I),Promise.reject(I)}function rt(){return Ee&&h.value!==zn?Promise.resolve():new Promise((I,H)=>{Ge.add([I,H])})}function U(I){return Ee||(Ee=!I,_e(),Ge.list().forEach(([H,K])=>I?K(I):H()),Ge.reset()),I}function M(I,H,K,Q){const{scrollBehavior:k}=e;if(!Oi||!k)return Promise.resolve();const A=!K&&Yg(xu(I.fullPath,0))||(Q||!K)&&history.state&&history.state.scroll||null;return Hf().then(()=>k(I,H,A)).then(g=>g&&Gg(g)).catch(g=>ie(g,I,H))}const q=I=>a.go(I);let z;const w=new Set,E={currentRoute:h,listening:!0,addRoute:P,removeRoute:S,clearRoutes:n.clearRoutes,hasRoute:C,getRoutes:T,resolve:$,options:e,push:B,replace:G,go:q,back:()=>q(-1),forward:()=>q(1),beforeEach:l.add,beforeResolve:u.add,afterEach:f.add,onError:$e.add,isReady:rt,install(I){const H=this;I.component("RouterLink",bv),I.component("RouterView",Ev),I.config.globalProperties.$router=H,Object.defineProperty(I.config.globalProperties,"$route",{enumerable:!0,get:()=>ke(h)}),Oi&&!z&&h.value===zn&&(z=!0,B(a.location).catch(k=>{}));const K={};for(const k in zn)Object.defineProperty(K,k,{get:()=>h.value[k],enumerable:!0});I.provide(to,H),I.provide(Xa,jf(K)),I.provide(ya,h);const Q=I.unmount;w.add(I),I.unmount=function(){w.delete(I),w.size<1&&(p=zn,pe&&pe(),pe=null,h.value=zn,z=!1,Ee=!1),Q()}}};function N(I){return I.reduce((H,K)=>H.then(()=>fe(K)),Promise.resolve())}return E}function xv(e,n){const r=[],s=[],a=[],l=Math.max(n.matched.length,e.matched.length);for(let u=0;uZi(p,f))?s.push(f):r.push(f));const h=e.matched[u];h&&(n.matched.find(p=>Zi(p,h))||a.push(h))}return[r,s,a]}function Lv(){return Xt(to)}function no(e){return Xt(Xa)}var Cv=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wa={exports:{}},Wh={},Pn={},si={},jr={},Re={},Nr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class n{}e._CodeOrName=n,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{constructor(R){if(super(),!e.IDENTIFIER.test(R))throw new Error("CodeGen: name must be a valid identifier");this.str=R}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class s extends n{constructor(R){super(),this._items=typeof R=="string"?[R]:R}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const R=this._items[0];return R===""||R==='""'}get str(){var R;return(R=this._str)!==null&&R!==void 0?R:this._str=this._items.reduce((j,B)=>`${j}${B}`,"")}get names(){var R;return(R=this._names)!==null&&R!==void 0?R:this._names=this._items.reduce((j,B)=>(B instanceof r&&(j[B.str]=(j[B.str]||0)+1),j),{})}}e._Code=s,e.nil=new s("");function a($,...R){const j=[$[0]];let B=0;for(;B{if(_.scopePath===void 0)throw new Error(`CodeGen: name "${_}" has no value`);return(0,n._)`${p}${_.scopePath}`})}scopeCode(p=this._values,m,_){return this._reduceValues(p,y=>{if(y.value===void 0)throw new Error(`CodeGen: name "${y}" has no value`);return y.value.code},m,_)}_reduceValues(p,m,_={},y){let P=n.nil;for(const S in p){const T=p[S];if(!T)continue;const C=_[S]=_[S]||new Map;T.forEach($=>{if(C.has($))return;C.set($,s.Started);let R=m($);if(R){const j=this.opts.es5?e.varKinds.var:e.varKinds.const;P=(0,n._)`${P}${j} ${$} = ${R};${this.opts._n}`}else if(R=y==null?void 0:y($))P=(0,n._)`${P}${R}${this.opts._n}`;else throw new r($);C.set($,s.Completed)})}return P}}e.ValueScope=f})(ba);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const n=Nr,r=ba;var s=Nr;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return s.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return s.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return s.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return s.Name}});var a=ba;Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return a.varKinds}}),e.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class l{optimizeNodes(){return this}optimizeNames(w,E){return this}}class u extends l{constructor(w,E,N){super(),this.varKind=w,this.name=E,this.rhs=N}render({es5:w,_n:E}){const N=w?r.varKinds.var:this.varKind,I=this.rhs===void 0?"":` = ${this.rhs}`;return`${N} ${this.name}${I};`+E}optimizeNames(w,E){if(w[this.name.str])return this.rhs&&(this.rhs=_e(this.rhs,w,E)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class f extends l{constructor(w,E,N){super(),this.lhs=w,this.rhs=E,this.sideEffects=N}render({_n:w}){return`${this.lhs} = ${this.rhs};`+w}optimizeNames(w,E){if(!(this.lhs instanceof n.Name&&!w[this.lhs.str]&&!this.sideEffects))return this.rhs=_e(this.rhs,w,E),this}get names(){const w=this.lhs instanceof n.Name?{}:{...this.lhs.names};return pe(w,this.rhs)}}class h extends f{constructor(w,E,N,I){super(w,N,I),this.op=E}render({_n:w}){return`${this.lhs} ${this.op}= ${this.rhs};`+w}}class p extends l{constructor(w){super(),this.label=w,this.names={}}render({_n:w}){return`${this.label}:`+w}}class m extends l{constructor(w){super(),this.label=w,this.names={}}render({_n:w}){return`break${this.label?` ${this.label}`:""};`+w}}class _ extends l{constructor(w){super(),this.error=w}render({_n:w}){return`throw ${this.error};`+w}get names(){return this.error.names}}class y extends l{constructor(w){super(),this.code=w}render({_n:w}){return`${this.code};`+w}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(w,E){return this.code=_e(this.code,w,E),this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class P extends l{constructor(w=[]){super(),this.nodes=w}render(w){return this.nodes.reduce((E,N)=>E+N.render(w),"")}optimizeNodes(){const{nodes:w}=this;let E=w.length;for(;E--;){const N=w[E].optimizeNodes();Array.isArray(N)?w.splice(E,1,...N):N?w[E]=N:w.splice(E,1)}return w.length>0?this:void 0}optimizeNames(w,E){const{nodes:N}=this;let I=N.length;for(;I--;){const H=N[I];H.optimizeNames(w,E)||(Ge(w,H.names),N.splice(I,1))}return N.length>0?this:void 0}get names(){return this.nodes.reduce((w,E)=>ne(w,E.names),{})}}class S extends P{render(w){return"{"+w._n+super.render(w)+"}"+w._n}}class T extends P{}class C extends S{}C.kind="else";class $ extends S{constructor(w,E){super(E),this.condition=w}render(w){let E=`if(${this.condition})`+super.render(w);return this.else&&(E+="else "+this.else.render(w)),E}optimizeNodes(){super.optimizeNodes();const w=this.condition;if(w===!0)return this.nodes;let E=this.else;if(E){const N=E.optimizeNodes();E=this.else=Array.isArray(N)?new C(N):N}if(E)return w===!1?E instanceof $?E:E.nodes:this.nodes.length?this:new $($e(w),E instanceof $?[E]:E.nodes);if(!(w===!1||!this.nodes.length))return this}optimizeNames(w,E){var N;if(this.else=(N=this.else)===null||N===void 0?void 0:N.optimizeNames(w,E),!!(super.optimizeNames(w,E)||this.else))return this.condition=_e(this.condition,w,E),this}get names(){const w=super.names;return pe(w,this.condition),this.else&&ne(w,this.else.names),w}}$.kind="if";class R extends S{}R.kind="for";class j extends R{constructor(w){super(),this.iteration=w}render(w){return`for(${this.iteration})`+super.render(w)}optimizeNames(w,E){if(super.optimizeNames(w,E))return this.iteration=_e(this.iteration,w,E),this}get names(){return ne(super.names,this.iteration.names)}}class B extends R{constructor(w,E,N,I){super(),this.varKind=w,this.name=E,this.from=N,this.to=I}render(w){const E=w.es5?r.varKinds.var:this.varKind,{name:N,from:I,to:H}=this;return`for(${E} ${N}=${I}; ${N}<${H}; ${N}++)`+super.render(w)}get names(){const w=pe(super.names,this.from);return pe(w,this.to)}}class G extends R{constructor(w,E,N,I){super(),this.loop=w,this.varKind=E,this.name=N,this.iterable=I}render(w){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(w)}optimizeNames(w,E){if(super.optimizeNames(w,E))return this.iterable=_e(this.iterable,w,E),this}get names(){return ne(super.names,this.iterable.names)}}class le extends S{constructor(w,E,N){super(),this.name=w,this.args=E,this.async=N}render(w){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(w)}}le.kind="func";class ue extends P{render(w){return"return "+super.render(w)}}ue.kind="return";class Me extends S{render(w){let E="try"+super.render(w);return this.catch&&(E+=this.catch.render(w)),this.finally&&(E+=this.finally.render(w)),E}optimizeNodes(){var w,E;return super.optimizeNodes(),(w=this.catch)===null||w===void 0||w.optimizeNodes(),(E=this.finally)===null||E===void 0||E.optimizeNodes(),this}optimizeNames(w,E){var N,I;return super.optimizeNames(w,E),(N=this.catch)===null||N===void 0||N.optimizeNames(w,E),(I=this.finally)===null||I===void 0||I.optimizeNames(w,E),this}get names(){const w=super.names;return this.catch&&ne(w,this.catch.names),this.finally&&ne(w,this.finally.names),w}}class fe extends S{constructor(w){super(),this.error=w}render(w){return`catch(${this.error})`+super.render(w)}}fe.kind="catch";class we extends S{render(w){return"finally"+super.render(w)}}we.kind="finally";class me{constructor(w,E={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...E,_n:E.lines?` +`:""},this._extScope=w,this._scope=new r.Scope({parent:w}),this._nodes=[new T]}toString(){return this._root.render(this.opts)}name(w){return this._scope.name(w)}scopeName(w){return this._extScope.name(w)}scopeValue(w,E){const N=this._extScope.value(w,E);return(this._values[N.prefix]||(this._values[N.prefix]=new Set)).add(N),N}getScopeValue(w,E){return this._extScope.getValue(w,E)}scopeRefs(w){return this._extScope.scopeRefs(w,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(w,E,N,I){const H=this._scope.toName(E);return N!==void 0&&I&&(this._constants[H.str]=N),this._leafNode(new u(w,H,N)),H}const(w,E,N){return this._def(r.varKinds.const,w,E,N)}let(w,E,N){return this._def(r.varKinds.let,w,E,N)}var(w,E,N){return this._def(r.varKinds.var,w,E,N)}assign(w,E,N){return this._leafNode(new f(w,E,N))}add(w,E){return this._leafNode(new h(w,e.operators.ADD,E))}code(w){return typeof w=="function"?w():w!==n.nil&&this._leafNode(new y(w)),this}object(...w){const E=["{"];for(const[N,I]of w)E.length>1&&E.push(","),E.push(N),(N!==I||this.opts.es5)&&(E.push(":"),(0,n.addCodeArg)(E,I));return E.push("}"),new n._Code(E)}if(w,E,N){if(this._blockNode(new $(w)),E&&N)this.code(E).else().code(N).endIf();else if(E)this.code(E).endIf();else if(N)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(w){return this._elseNode(new $(w))}else(){return this._elseNode(new C)}endIf(){return this._endBlockNode($,C)}_for(w,E){return this._blockNode(w),E&&this.code(E).endFor(),this}for(w,E){return this._for(new j(w),E)}forRange(w,E,N,I,H=this.opts.es5?r.varKinds.var:r.varKinds.let){const K=this._scope.toName(w);return this._for(new B(H,K,E,N),()=>I(K))}forOf(w,E,N,I=r.varKinds.const){const H=this._scope.toName(w);if(this.opts.es5){const K=E instanceof n.Name?E:this.var("_arr",E);return this.forRange("_i",0,(0,n._)`${K}.length`,Q=>{this.var(H,(0,n._)`${K}[${Q}]`),N(H)})}return this._for(new G("of",I,H,E),()=>N(H))}forIn(w,E,N,I=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(w,(0,n._)`Object.keys(${E})`,N);const H=this._scope.toName(w);return this._for(new G("in",I,H,E),()=>N(H))}endFor(){return this._endBlockNode(R)}label(w){return this._leafNode(new p(w))}break(w){return this._leafNode(new m(w))}return(w){const E=new ue;if(this._blockNode(E),this.code(w),E.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(ue)}try(w,E,N){if(!E&&!N)throw new Error('CodeGen: "try" without "catch" and "finally"');const I=new Me;if(this._blockNode(I),this.code(w),E){const H=this.name("e");this._currNode=I.catch=new fe(H),E(H)}return N&&(this._currNode=I.finally=new we,this.code(N)),this._endBlockNode(fe,we)}throw(w){return this._leafNode(new _(w))}block(w,E){return this._blockStarts.push(this._nodes.length),w&&this.code(w).endBlock(E),this}endBlock(w){const E=this._blockStarts.pop();if(E===void 0)throw new Error("CodeGen: not in self-balancing block");const N=this._nodes.length-E;if(N<0||w!==void 0&&N!==w)throw new Error(`CodeGen: wrong number of nodes: ${N} vs ${w} expected`);return this._nodes.length=E,this}func(w,E=n.nil,N,I){return this._blockNode(new le(w,E,N)),I&&this.code(I).endFunc(),this}endFunc(){return this._endBlockNode(le)}optimize(w=1){for(;w-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(w){return this._currNode.nodes.push(w),this}_blockNode(w){this._currNode.nodes.push(w),this._nodes.push(w)}_endBlockNode(w,E){const N=this._currNode;if(N instanceof w||E&&N instanceof E)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${E?`${w.kind}/${E.kind}`:w.kind}"`)}_elseNode(w){const E=this._currNode;if(!(E instanceof $))throw new Error('CodeGen: "else" without "if"');return this._currNode=E.else=w,this}get _root(){return this._nodes[0]}get _currNode(){const w=this._nodes;return w[w.length-1]}set _currNode(w){const E=this._nodes;E[E.length-1]=w}}e.CodeGen=me;function ne(z,w){for(const E in w)z[E]=(z[E]||0)+(w[E]||0);return z}function pe(z,w){return w instanceof n._CodeOrName?ne(z,w.names):z}function _e(z,w,E){if(z instanceof n.Name)return N(z);if(!I(z))return z;return new n._Code(z._items.reduce((H,K)=>(K instanceof n.Name&&(K=N(K)),K instanceof n._Code?H.push(...K._items):H.push(K),H),[]));function N(H){const K=E[H.str];return K===void 0||w[H.str]!==1?H:(delete w[H.str],K)}function I(H){return H instanceof n._Code&&H._items.some(K=>K instanceof n.Name&&w[K.str]===1&&E[K.str]!==void 0)}}function Ge(z,w){for(const E in w)z[E]=(z[E]||0)-(w[E]||0)}function $e(z){return typeof z=="boolean"||typeof z=="number"||z===null?!z:(0,n._)`!${q(z)}`}e.not=$e;const Ee=M(e.operators.AND);function ie(...z){return z.reduce(Ee)}e.and=ie;const rt=M(e.operators.OR);function U(...z){return z.reduce(rt)}e.or=U;function M(z){return(w,E)=>w===n.nil?E:E===n.nil?w:(0,n._)`${q(w)} ${z} ${q(E)}`}function q(z){return z instanceof n.Name?z:(0,n._)`(${z})`}})(Re);var oe={};Object.defineProperty(oe,"__esModule",{value:!0});oe.checkStrictMode=oe.getErrorPath=oe.Type=oe.useFunc=oe.setEvaluated=oe.evaluatedPropsToName=oe.mergeEvaluated=oe.eachItem=oe.unescapeJsonPointer=oe.escapeJsonPointer=oe.escapeFragment=oe.unescapeFragment=oe.schemaRefOrVal=oe.schemaHasRulesButRef=oe.schemaHasRules=oe.checkUnknownRules=oe.alwaysValidSchema=oe.toHash=void 0;const Ve=Re,kv=Nr;function Ov(e){const n={};for(const r of e)n[r]=!0;return n}oe.toHash=Ov;function Rv(e,n){return typeof n=="boolean"?n:Object.keys(n).length===0?!0:(Kh(e,n),!Gh(n,e.self.RULES.all))}oe.alwaysValidSchema=Rv;function Kh(e,n=e.schema){const{opts:r,self:s}=e;if(!r.strictSchema||typeof n=="boolean")return;const a=s.RULES.keywords;for(const l in n)a[l]||Xh(e,`unknown keyword: "${l}"`)}oe.checkUnknownRules=Kh;function Gh(e,n){if(typeof e=="boolean")return!e;for(const r in e)if(n[r])return!0;return!1}oe.schemaHasRules=Gh;function Mv(e,n){if(typeof e=="boolean")return!e;for(const r in e)if(r!=="$ref"&&n.all[r])return!0;return!1}oe.schemaHasRulesButRef=Mv;function Iv({topSchemaRef:e,schemaPath:n},r,s,a){if(!a){if(typeof r=="number"||typeof r=="boolean")return r;if(typeof r=="string")return(0,Ve._)`${r}`}return(0,Ve._)`${e}${n}${(0,Ve.getProperty)(s)}`}oe.schemaRefOrVal=Iv;function Av(e){return Jh(decodeURIComponent(e))}oe.unescapeFragment=Av;function Nv(e){return encodeURIComponent(Qa(e))}oe.escapeFragment=Nv;function Qa(e){return typeof e=="number"?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}oe.escapeJsonPointer=Qa;function Jh(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}oe.unescapeJsonPointer=Jh;function zv(e,n){if(Array.isArray(e))for(const r of e)n(r);else n(e)}oe.eachItem=zv;function Zu({mergeNames:e,mergeToName:n,mergeValues:r,resultToName:s}){return(a,l,u,f)=>{const h=u===void 0?l:u instanceof Ve.Name?(l instanceof Ve.Name?e(a,l,u):n(a,l,u),u):l instanceof Ve.Name?(n(a,u,l),l):r(l,u);return f===Ve.Name&&!(h instanceof Ve.Name)?s(a,h):h}}oe.mergeEvaluated={props:Zu({mergeNames:(e,n,r)=>e.if((0,Ve._)`${r} !== true && ${n} !== undefined`,()=>{e.if((0,Ve._)`${n} === true`,()=>e.assign(r,!0),()=>e.assign(r,(0,Ve._)`${r} || {}`).code((0,Ve._)`Object.assign(${r}, ${n})`))}),mergeToName:(e,n,r)=>e.if((0,Ve._)`${r} !== true`,()=>{n===!0?e.assign(r,!0):(e.assign(r,(0,Ve._)`${r} || {}`),el(e,r,n))}),mergeValues:(e,n)=>e===!0?!0:{...e,...n},resultToName:Yh}),items:Zu({mergeNames:(e,n,r)=>e.if((0,Ve._)`${r} !== true && ${n} !== undefined`,()=>e.assign(r,(0,Ve._)`${n} === true ? true : ${r} > ${n} ? ${r} : ${n}`)),mergeToName:(e,n,r)=>e.if((0,Ve._)`${r} !== true`,()=>e.assign(r,n===!0?!0:(0,Ve._)`${r} > ${n} ? ${r} : ${n}`)),mergeValues:(e,n)=>e===!0?!0:Math.max(e,n),resultToName:(e,n)=>e.var("items",n)})};function Yh(e,n){if(n===!0)return e.var("props",!0);const r=e.var("props",(0,Ve._)`{}`);return n!==void 0&&el(e,r,n),r}oe.evaluatedPropsToName=Yh;function el(e,n,r){Object.keys(r).forEach(s=>e.assign((0,Ve._)`${n}${(0,Ve.getProperty)(s)}`,!0))}oe.setEvaluated=el;const Fu={};function Dv(e,n){return e.scopeValue("func",{ref:n,code:Fu[n.code]||(Fu[n.code]=new kv._Code(n.code))})}oe.useFunc=Dv;var Pa;(function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"})(Pa||(oe.Type=Pa={}));function jv(e,n,r){if(e instanceof Ve.Name){const s=n===Pa.Num;return r?s?(0,Ve._)`"[" + ${e} + "]"`:(0,Ve._)`"['" + ${e} + "']"`:s?(0,Ve._)`"/" + ${e}`:(0,Ve._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,Ve.getProperty)(e).toString():"/"+Qa(e)}oe.getErrorPath=jv;function Xh(e,n,r=e.opts.strictSchema){if(r){if(n=`strict mode: ${n}`,r===!0)throw new Error(n);e.self.logger.warn(n)}}oe.checkStrictMode=Xh;var pn={};Object.defineProperty(pn,"__esModule",{value:!0});const bt=Re,Bv={data:new bt.Name("data"),valCxt:new bt.Name("valCxt"),instancePath:new bt.Name("instancePath"),parentData:new bt.Name("parentData"),parentDataProperty:new bt.Name("parentDataProperty"),rootData:new bt.Name("rootData"),dynamicAnchors:new bt.Name("dynamicAnchors"),vErrors:new bt.Name("vErrors"),errors:new bt.Name("errors"),this:new bt.Name("this"),self:new bt.Name("self"),scope:new bt.Name("scope"),json:new bt.Name("json"),jsonPos:new bt.Name("jsonPos"),jsonLen:new bt.Name("jsonLen"),jsonPart:new bt.Name("jsonPart")};pn.default=Bv;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const n=Re,r=oe,s=pn;e.keywordError={message:({keyword:C})=>(0,n.str)`must pass "${C}" keyword validation`},e.keyword$DataError={message:({keyword:C,schemaType:$})=>$?(0,n.str)`"${C}" keyword must be ${$} ($data)`:(0,n.str)`"${C}" keyword is invalid ($data)`};function a(C,$=e.keywordError,R,j){const{it:B}=C,{gen:G,compositeRule:le,allErrors:ue}=B,Me=_(C,$,R);j??(le||ue)?h(G,Me):p(B,(0,n._)`[${Me}]`)}e.reportError=a;function l(C,$=e.keywordError,R){const{it:j}=C,{gen:B,compositeRule:G,allErrors:le}=j,ue=_(C,$,R);h(B,ue),G||le||p(j,s.default.vErrors)}e.reportExtraError=l;function u(C,$){C.assign(s.default.errors,$),C.if((0,n._)`${s.default.vErrors} !== null`,()=>C.if($,()=>C.assign((0,n._)`${s.default.vErrors}.length`,$),()=>C.assign(s.default.vErrors,null)))}e.resetErrorsCount=u;function f({gen:C,keyword:$,schemaValue:R,data:j,errsCount:B,it:G}){if(B===void 0)throw new Error("ajv implementation error");const le=C.name("err");C.forRange("i",B,s.default.errors,ue=>{C.const(le,(0,n._)`${s.default.vErrors}[${ue}]`),C.if((0,n._)`${le}.instancePath === undefined`,()=>C.assign((0,n._)`${le}.instancePath`,(0,n.strConcat)(s.default.instancePath,G.errorPath))),C.assign((0,n._)`${le}.schemaPath`,(0,n.str)`${G.errSchemaPath}/${$}`),G.opts.verbose&&(C.assign((0,n._)`${le}.schema`,R),C.assign((0,n._)`${le}.data`,j))})}e.extendErrors=f;function h(C,$){const R=C.const("err",$);C.if((0,n._)`${s.default.vErrors} === null`,()=>C.assign(s.default.vErrors,(0,n._)`[${R}]`),(0,n._)`${s.default.vErrors}.push(${R})`),C.code((0,n._)`${s.default.errors}++`)}function p(C,$){const{gen:R,validateName:j,schemaEnv:B}=C;B.$async?R.throw((0,n._)`new ${C.ValidationError}(${$})`):(R.assign((0,n._)`${j}.errors`,$),R.return(!1))}const m={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function _(C,$,R){const{createErrors:j}=C.it;return j===!1?(0,n._)`{}`:y(C,$,R)}function y(C,$,R={}){const{gen:j,it:B}=C,G=[P(B,R),S(C,R)];return T(C,$,G),j.object(...G)}function P({errorPath:C},{instancePath:$}){const R=$?(0,n.str)`${C}${(0,r.getErrorPath)($,r.Type.Str)}`:C;return[s.default.instancePath,(0,n.strConcat)(s.default.instancePath,R)]}function S({keyword:C,it:{errSchemaPath:$}},{schemaPath:R,parentSchema:j}){let B=j?$:(0,n.str)`${$}/${C}`;return R&&(B=(0,n.str)`${B}${(0,r.getErrorPath)(R,r.Type.Str)}`),[m.schemaPath,B]}function T(C,{params:$,message:R},j){const{keyword:B,data:G,schemaValue:le,it:ue}=C,{opts:Me,propertyName:fe,topSchemaRef:we,schemaPath:me}=ue;j.push([m.keyword,B],[m.params,typeof $=="function"?$(C):$||(0,n._)`{}`]),Me.messages&&j.push([m.message,typeof R=="function"?R(C):R]),Me.verbose&&j.push([m.schema,le],[m.parentSchema,(0,n._)`${we}${me}`],[s.default.data,G]),fe&&j.push([m.propertyName,fe])}})(jr);var Vu;function Zv(){if(Vu)return si;Vu=1,Object.defineProperty(si,"__esModule",{value:!0}),si.boolOrEmptySchema=si.topBoolOrEmptySchema=void 0;const e=jr,n=Re,r=pn,s={message:"boolean schema is false"};function a(f){const{gen:h,schema:p,validateName:m}=f;p===!1?u(f,!1):typeof p=="object"&&p.$async===!0?h.return(r.default.data):(h.assign((0,n._)`${m}.errors`,null),h.return(!0))}si.topBoolOrEmptySchema=a;function l(f,h){const{gen:p,schema:m}=f;m===!1?(p.var(h,!1),u(f)):p.var(h,!0)}si.boolOrEmptySchema=l;function u(f,h){const{gen:p,data:m}=f,_={gen:p,keyword:"false schema",data:m,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:f};(0,e.reportError)(_,s,void 0,h)}return si}var ot={},mi={};Object.defineProperty(mi,"__esModule",{value:!0});mi.getRules=mi.isJSONType=void 0;const Fv=["string","number","integer","boolean","null","object","array"],Vv=new Set(Fv);function Hv(e){return typeof e=="string"&&Vv.has(e)}mi.isJSONType=Hv;function Uv(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}mi.getRules=Uv;var Ln={};Object.defineProperty(Ln,"__esModule",{value:!0});Ln.shouldUseRule=Ln.shouldUseGroup=Ln.schemaHasRulesForType=void 0;function qv({schema:e,self:n},r){const s=n.RULES.types[r];return s&&s!==!0&&Qh(e,s)}Ln.schemaHasRulesForType=qv;function Qh(e,n){return n.rules.some(r=>ed(e,r))}Ln.shouldUseGroup=Qh;function ed(e,n){var r;return e[n.keyword]!==void 0||((r=n.definition.implements)===null||r===void 0?void 0:r.some(s=>e[s]!==void 0))}Ln.shouldUseRule=ed;Object.defineProperty(ot,"__esModule",{value:!0});ot.reportTypeError=ot.checkDataTypes=ot.checkDataType=ot.coerceAndCheckDataType=ot.getJSONTypes=ot.getSchemaTypes=ot.DataType=void 0;const Wv=mi,Kv=Ln,Gv=jr,xe=Re,td=oe;var ji;(function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"})(ji||(ot.DataType=ji={}));function Jv(e){const n=nd(e.type);if(n.includes("null")){if(e.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!n.length&&e.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');e.nullable===!0&&n.push("null")}return n}ot.getSchemaTypes=Jv;function nd(e){const n=Array.isArray(e)?e:e?[e]:[];if(n.every(Wv.isJSONType))return n;throw new Error("type must be JSONType or JSONType[]: "+n.join(","))}ot.getJSONTypes=nd;function Yv(e,n){const{gen:r,data:s,opts:a}=e,l=Xv(n,a.coerceTypes),u=n.length>0&&!(l.length===0&&n.length===1&&(0,Kv.schemaHasRulesForType)(e,n[0]));if(u){const f=tl(n,s,a.strictNumbers,ji.Wrong);r.if(f,()=>{l.length?Qv(e,n,l):nl(e)})}return u}ot.coerceAndCheckDataType=Yv;const id=new Set(["string","number","integer","boolean","null"]);function Xv(e,n){return n?e.filter(r=>id.has(r)||n==="array"&&r==="array"):[]}function Qv(e,n,r){const{gen:s,data:a,opts:l}=e,u=s.let("dataType",(0,xe._)`typeof ${a}`),f=s.let("coerced",(0,xe._)`undefined`);l.coerceTypes==="array"&&s.if((0,xe._)`${u} == 'object' && Array.isArray(${a}) && ${a}.length == 1`,()=>s.assign(a,(0,xe._)`${a}[0]`).assign(u,(0,xe._)`typeof ${a}`).if(tl(n,a,l.strictNumbers),()=>s.assign(f,a))),s.if((0,xe._)`${f} !== undefined`);for(const p of r)(id.has(p)||p==="array"&&l.coerceTypes==="array")&&h(p);s.else(),nl(e),s.endIf(),s.if((0,xe._)`${f} !== undefined`,()=>{s.assign(a,f),ey(e,f)});function h(p){switch(p){case"string":s.elseIf((0,xe._)`${u} == "number" || ${u} == "boolean"`).assign(f,(0,xe._)`"" + ${a}`).elseIf((0,xe._)`${a} === null`).assign(f,(0,xe._)`""`);return;case"number":s.elseIf((0,xe._)`${u} == "boolean" || ${a} === null || (${u} == "string" && ${a} && ${a} == +${a})`).assign(f,(0,xe._)`+${a}`);return;case"integer":s.elseIf((0,xe._)`${u} === "boolean" || ${a} === null || (${u} === "string" && ${a} && ${a} == +${a} && !(${a} % 1))`).assign(f,(0,xe._)`+${a}`);return;case"boolean":s.elseIf((0,xe._)`${a} === "false" || ${a} === 0 || ${a} === null`).assign(f,!1).elseIf((0,xe._)`${a} === "true" || ${a} === 1`).assign(f,!0);return;case"null":s.elseIf((0,xe._)`${a} === "" || ${a} === 0 || ${a} === false`),s.assign(f,null);return;case"array":s.elseIf((0,xe._)`${u} === "string" || ${u} === "number" - || ${u} === "boolean" || ${a} === null`).assign(f,(0,xe._)`[${a}]`)}}}function ty({gen:e,parentData:n,parentDataProperty:r},s){e.if((0,xe._)`${n} !== undefined`,()=>e.assign((0,xe._)`${n}[${r}]`,s))}function $a(e,n,r,s=ji.Correct){const a=s===ji.Correct?xe.operators.EQ:xe.operators.NEQ;let l;switch(e){case"null":return(0,xe._)`${n} ${a} null`;case"array":l=(0,xe._)`Array.isArray(${n})`;break;case"object":l=(0,xe._)`${n} && typeof ${n} == "object" && !Array.isArray(${n})`;break;case"integer":l=u((0,xe._)`!(${n} % 1) && !isNaN(${n})`);break;case"number":l=u();break;default:return(0,xe._)`typeof ${n} ${a} ${e}`}return s===ji.Correct?l:(0,xe.not)(l);function u(f=xe.nil){return(0,xe.and)((0,xe._)`typeof ${n} == "number"`,f,r?(0,xe._)`isFinite(${n})`:xe.nil)}}ot.checkDataType=$a;function tl(e,n,r,s){if(e.length===1)return $a(e[0],n,r,s);let a;const l=(0,id.toHash)(e);if(l.array&&l.object){const u=(0,xe._)`typeof ${n} != "object"`;a=l.null?u:(0,xe._)`!${n} || ${u}`,delete l.null,delete l.array,delete l.object}else a=xe.nil;l.number&&delete l.integer;for(const u in l)a=(0,xe.and)(a,$a(u,n,r,s));return a}ot.checkDataTypes=tl;const ny={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:n})=>typeof e=="string"?(0,xe._)`{type: ${e}}`:(0,xe._)`{type: ${n}}`};function nl(e){const n=iy(e);(0,Jv.reportError)(n,ny)}ot.reportTypeError=nl;function iy(e){const{gen:n,data:r,schema:s}=e,a=(0,id.schemaRefOrVal)(e,s,"type");return{gen:n,keyword:"type",data:r,schema:s.type,schemaCode:a,schemaValue:a,parentSchema:s,params:{},it:e}}var ur={},qu;function ry(){if(qu)return ur;qu=1,Object.defineProperty(ur,"__esModule",{value:!0}),ur.assignDefaults=void 0;const e=Re,n=oe;function r(a,l){const{properties:u,items:f}=a.schema;if(l==="object"&&u)for(const h in u)s(a,h,u[h].default);else l==="array"&&Array.isArray(f)&&f.forEach((h,p)=>s(a,p,h.default))}ur.assignDefaults=r;function s(a,l,u){const{gen:f,compositeRule:h,data:p,opts:m}=a;if(u===void 0)return;const _=(0,e._)`${p}${(0,e.getProperty)(l)}`;if(h){(0,n.checkStrictMode)(a,`default is ignored for: ${_}`);return}let y=(0,e._)`${_} === undefined`;m.useDefaults==="empty"&&(y=(0,e._)`${y} || ${_} === null || ${_} === ""`),f.if(y,(0,e._)`${_} = ${(0,e.stringify)(u)}`)}return ur}var Wt={},Oe={};Object.defineProperty(Oe,"__esModule",{value:!0});Oe.validateUnion=Oe.validateArray=Oe.usePattern=Oe.callValidateCode=Oe.schemaProperties=Oe.allSchemaProperties=Oe.noPropertyInData=Oe.propertyInData=Oe.isOwnProperty=Oe.hasPropFunc=Oe.reportMissingProp=Oe.checkMissingProp=Oe.checkReportMissingProp=void 0;const qe=Re,il=oe,Dn=pn,sy=oe;function oy(e,n){const{gen:r,data:s,it:a}=e;r.if(sl(r,s,n,a.opts.ownProperties),()=>{e.setParams({missingProperty:(0,qe._)`${n}`},!0),e.error()})}Oe.checkReportMissingProp=oy;function ay({gen:e,data:n,it:{opts:r}},s,a){return(0,qe.or)(...s.map(l=>(0,qe.and)(sl(e,n,l,r.ownProperties),(0,qe._)`${a} = ${l}`)))}Oe.checkMissingProp=ay;function ly(e,n){e.setParams({missingProperty:n},!0),e.error()}Oe.reportMissingProp=ly;function od(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,qe._)`Object.prototype.hasOwnProperty`})}Oe.hasPropFunc=od;function rl(e,n,r){return(0,qe._)`${od(e)}.call(${n}, ${r})`}Oe.isOwnProperty=rl;function cy(e,n,r,s){const a=(0,qe._)`${n}${(0,qe.getProperty)(r)} !== undefined`;return s?(0,qe._)`${a} && ${rl(e,n,r)}`:a}Oe.propertyInData=cy;function sl(e,n,r,s){const a=(0,qe._)`${n}${(0,qe.getProperty)(r)} === undefined`;return s?(0,qe.or)(a,(0,qe.not)(rl(e,n,r))):a}Oe.noPropertyInData=sl;function ad(e){return e?Object.keys(e).filter(n=>n!=="__proto__"):[]}Oe.allSchemaProperties=ad;function uy(e,n){return ad(n).filter(r=>!(0,il.alwaysValidSchema)(e,n[r]))}Oe.schemaProperties=uy;function fy({schemaCode:e,data:n,it:{gen:r,topSchemaRef:s,schemaPath:a,errorPath:l},it:u},f,h,p){const m=p?(0,qe._)`${e}, ${n}, ${s}${a}`:n,_=[[Dn.default.instancePath,(0,qe.strConcat)(Dn.default.instancePath,l)],[Dn.default.parentData,u.parentData],[Dn.default.parentDataProperty,u.parentDataProperty],[Dn.default.rootData,Dn.default.rootData]];u.opts.dynamicRef&&_.push([Dn.default.dynamicAnchors,Dn.default.dynamicAnchors]);const y=(0,qe._)`${m}, ${r.object(..._)}`;return h!==qe.nil?(0,qe._)`${f}.call(${h}, ${y})`:(0,qe._)`${f}(${y})`}Oe.callValidateCode=fy;const hy=(0,qe._)`new RegExp`;function dy({gen:e,it:{opts:n}},r){const s=n.unicodeRegExp?"u":"",{regExp:a}=n.code,l=a(r,s);return e.scopeValue("pattern",{key:l.toString(),ref:l,code:(0,qe._)`${a.code==="new RegExp"?hy:(0,sy.useFunc)(e,a)}(${r}, ${s})`})}Oe.usePattern=dy;function py(e){const{gen:n,data:r,keyword:s,it:a}=e,l=n.name("valid");if(a.allErrors){const f=n.let("valid",!0);return u(()=>n.assign(f,!1)),f}return n.var(l,!0),u(()=>n.break()),l;function u(f){const h=n.const("len",(0,qe._)`${r}.length`);n.forRange("i",0,h,p=>{e.subschema({keyword:s,dataProp:p,dataPropType:il.Type.Num},l),n.if((0,qe.not)(l),f)})}}Oe.validateArray=py;function my(e){const{gen:n,schema:r,keyword:s,it:a}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(r.some(h=>(0,il.alwaysValidSchema)(a,h))&&!a.opts.unevaluated)return;const u=n.let("valid",!1),f=n.name("_valid");n.block(()=>r.forEach((h,p)=>{const m=e.subschema({keyword:s,schemaProp:p,compositeRule:!0},f);n.assign(u,(0,qe._)`${u} || ${f}`),e.mergeValidEvaluated(m,f)||n.if((0,qe.not)(u))})),e.result(u,()=>e.reset(),()=>e.error(!0))}Oe.validateUnion=my;var Wu;function _y(){if(Wu)return Wt;Wu=1,Object.defineProperty(Wt,"__esModule",{value:!0}),Wt.validateKeywordUsage=Wt.validSchemaType=Wt.funcKeywordCode=Wt.macroKeywordCode=void 0;const e=Re,n=pn,r=Oe,s=jr;function a(y,P){const{gen:$,keyword:T,schema:C,parentSchema:S,it:R}=y,j=P.macro.call(R.self,C,S,R),B=p($,T,j);R.opts.validateSchema!==!1&&R.self.validateSchema(j,!0);const G=$.name("valid");y.subschema({schema:j,schemaPath:e.nil,errSchemaPath:`${R.errSchemaPath}/${T}`,topSchemaRef:B,compositeRule:!0},G),y.pass(G,()=>y.error(!0))}Wt.macroKeywordCode=a;function l(y,P){var $;const{gen:T,keyword:C,schema:S,parentSchema:R,$data:j,it:B}=y;h(B,P);const G=!j&&P.compile?P.compile.call(B.self,S,R,B):P.validate,le=p(T,C,G),ue=T.let("valid");y.block$data(ue,Me),y.ok(($=P.valid)!==null&&$!==void 0?$:ue);function Me(){if(P.errors===!1)me(),P.modifying&&u(y),ne(()=>y.error());else{const pe=P.async?fe():we();P.modifying&&u(y),ne(()=>f(y,pe))}}function fe(){const pe=T.let("ruleErrs",null);return T.try(()=>me((0,e._)`await `),_e=>T.assign(ue,!1).if((0,e._)`${_e} instanceof ${B.ValidationError}`,()=>T.assign(pe,(0,e._)`${_e}.errors`),()=>T.throw(_e))),pe}function we(){const pe=(0,e._)`${le}.errors`;return T.assign(pe,null),me(e.nil),pe}function me(pe=P.async?(0,e._)`await `:e.nil){const _e=B.opts.passContext?n.default.this:n.default.self,Ge=!("compile"in P&&!j||P.schema===!1);T.assign(ue,(0,e._)`${pe}${(0,r.callValidateCode)(y,le,_e,Ge)}`,P.modifying)}function ne(pe){var _e;T.if((0,e.not)((_e=P.valid)!==null&&_e!==void 0?_e:ue),pe)}}Wt.funcKeywordCode=l;function u(y){const{gen:P,data:$,it:T}=y;P.if(T.parentData,()=>P.assign($,(0,e._)`${T.parentData}[${T.parentDataProperty}]`))}function f(y,P){const{gen:$}=y;$.if((0,e._)`Array.isArray(${P})`,()=>{$.assign(n.default.vErrors,(0,e._)`${n.default.vErrors} === null ? ${P} : ${n.default.vErrors}.concat(${P})`).assign(n.default.errors,(0,e._)`${n.default.vErrors}.length`),(0,s.extendErrors)(y)},()=>y.error())}function h({schemaEnv:y},P){if(P.async&&!y.$async)throw new Error("async keyword in sync schema")}function p(y,P,$){if($===void 0)throw new Error(`keyword "${P}" failed to compile`);return y.scopeValue("keyword",typeof $=="function"?{ref:$}:{ref:$,code:(0,e.stringify)($)})}function m(y,P,$=!1){return!P.length||P.some(T=>T==="array"?Array.isArray(y):T==="object"?y&&typeof y=="object"&&!Array.isArray(y):typeof y==T||$&&typeof y>"u")}Wt.validSchemaType=m;function _({schema:y,opts:P,self:$,errSchemaPath:T},C,S){if(Array.isArray(C.keyword)?!C.keyword.includes(S):C.keyword!==S)throw new Error("ajv implementation error");const R=C.dependencies;if(R!=null&&R.some(j=>!Object.prototype.hasOwnProperty.call(y,j)))throw new Error(`parent schema must have dependencies of ${S}: ${R.join(",")}`);if(C.validateSchema&&!C.validateSchema(y[S])){const B=`keyword "${S}" value is invalid at path "${T}": `+$.errorsText(C.validateSchema.errors);if(P.validateSchema==="log")$.logger.error(B);else throw new Error(B)}}return Wt.validateKeywordUsage=_,Wt}var Sn={},Ku;function gy(){if(Ku)return Sn;Ku=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.extendSubschemaMode=Sn.extendSubschemaData=Sn.getSubschema=void 0;const e=Re,n=oe;function r(l,{keyword:u,schemaProp:f,schema:h,schemaPath:p,errSchemaPath:m,topSchemaRef:_}){if(u!==void 0&&h!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(u!==void 0){const y=l.schema[u];return f===void 0?{schema:y,schemaPath:(0,e._)`${l.schemaPath}${(0,e.getProperty)(u)}`,errSchemaPath:`${l.errSchemaPath}/${u}`}:{schema:y[f],schemaPath:(0,e._)`${l.schemaPath}${(0,e.getProperty)(u)}${(0,e.getProperty)(f)}`,errSchemaPath:`${l.errSchemaPath}/${u}/${(0,n.escapeFragment)(f)}`}}if(h!==void 0){if(p===void 0||m===void 0||_===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:h,schemaPath:p,topSchemaRef:_,errSchemaPath:m}}throw new Error('either "keyword" or "schema" must be passed')}Sn.getSubschema=r;function s(l,u,{dataProp:f,dataPropType:h,data:p,dataTypes:m,propertyName:_}){if(p!==void 0&&f!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:y}=u;if(f!==void 0){const{errorPath:$,dataPathArr:T,opts:C}=u,S=y.let("data",(0,e._)`${u.data}${(0,e.getProperty)(f)}`,!0);P(S),l.errorPath=(0,e.str)`${$}${(0,n.getErrorPath)(f,h,C.jsPropertySyntax)}`,l.parentDataProperty=(0,e._)`${f}`,l.dataPathArr=[...T,l.parentDataProperty]}if(p!==void 0){const $=p instanceof e.Name?p:y.let("data",p,!0);P($),_!==void 0&&(l.propertyName=_)}m&&(l.dataTypes=m);function P($){l.data=$,l.dataLevel=u.dataLevel+1,l.dataTypes=[],u.definedProperties=new Set,l.parentData=u.data,l.dataNames=[...u.dataNames,$]}}Sn.extendSubschemaData=s;function a(l,{jtdDiscriminator:u,jtdMetadata:f,compositeRule:h,createErrors:p,allErrors:m}){h!==void 0&&(l.compositeRule=h),p!==void 0&&(l.createErrors=p),m!==void 0&&(l.allErrors=m),l.jtdDiscriminator=u,l.jtdMetadata=f}return Sn.extendSubschemaMode=a,Sn}var _t={},ld=function e(n,r){if(n===r)return!0;if(n&&r&&typeof n=="object"&&typeof r=="object"){if(n.constructor!==r.constructor)return!1;var s,a,l;if(Array.isArray(n)){if(s=n.length,s!=r.length)return!1;for(a=s;a--!==0;)if(!e(n[a],r[a]))return!1;return!0}if(n.constructor===RegExp)return n.source===r.source&&n.flags===r.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===r.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===r.toString();if(l=Object.keys(n),s=l.length,s!==Object.keys(r).length)return!1;for(a=s;a--!==0;)if(!Object.prototype.hasOwnProperty.call(r,l[a]))return!1;for(a=s;a--!==0;){var u=l[a];if(!e(n[u],r[u]))return!1}return!0}return n!==n&&r!==r},cd={exports:{}},Hn=cd.exports=function(e,n,r){typeof n=="function"&&(r=n,n={}),r=n.cb||r;var s=typeof r=="function"?r:r.pre||function(){},a=r.post||function(){};Ts(n,s,a,e,"",e)};Hn.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Hn.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Hn.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Hn.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function Ts(e,n,r,s,a,l,u,f,h,p){if(s&&typeof s=="object"&&!Array.isArray(s)){n(s,a,l,u,f,h,p);for(var m in s){var _=s[m];if(Array.isArray(_)){if(m in Hn.arrayKeywords)for(var y=0;y<_.length;y++)Ts(e,n,r,_[y],a+"/"+m+"/"+y,l,a,m,s,y)}else if(m in Hn.propsKeywords){if(_&&typeof _=="object")for(var P in _)Ts(e,n,r,_[P],a+"/"+m+"/"+vy(P),l,a,m,s,P)}else(m in Hn.keywords||e.allKeys&&!(m in Hn.skipKeywords))&&Ts(e,n,r,_,a+"/"+m,l,a,m,s)}r(s,a,l,u,f,h,p)}}function vy(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}var yy=cd.exports;Object.defineProperty(_t,"__esModule",{value:!0});_t.getSchemaRefs=_t.resolveUrl=_t.normalizeId=_t._getFullPath=_t.getFullPath=_t.inlineRef=void 0;const wy=oe,by=ld,Py=yy,$y=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function Sy(e,n=!0){return typeof e=="boolean"?!0:n===!0?!Sa(e):n?ud(e)<=n:!1}_t.inlineRef=Sy;const Ey=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function Sa(e){for(const n in e){if(Ey.has(n))return!0;const r=e[n];if(Array.isArray(r)&&r.some(Sa)||typeof r=="object"&&Sa(r))return!0}return!1}function ud(e){let n=0;for(const r in e){if(r==="$ref")return 1/0;if(n++,!$y.has(r)&&(typeof e[r]=="object"&&(0,wy.eachItem)(e[r],s=>n+=ud(s)),n===1/0))return 1/0}return n}function fd(e,n="",r){r!==!1&&(n=Bi(n));const s=e.parse(n);return hd(e,s)}_t.getFullPath=fd;function hd(e,n){return e.serialize(n).split("#")[0]+"#"}_t._getFullPath=hd;const Ty=/#\/?$/;function Bi(e){return e?e.replace(Ty,""):""}_t.normalizeId=Bi;function xy(e,n,r){return r=Bi(r),e.resolve(n,r)}_t.resolveUrl=xy;const Ly=/^[a-z_][-a-z0-9._]*$/i;function Cy(e,n){if(typeof e=="boolean")return{};const{schemaId:r,uriResolver:s}=this.opts,a=Bi(e[r]||n),l={"":a},u=fd(s,a,!1),f={},h=new Set;return Py(e,{allKeys:!0},(_,y,P,$)=>{if($===void 0)return;const T=u+y;let C=l[$];typeof _[r]=="string"&&(C=S.call(this,_[r])),R.call(this,_.$anchor),R.call(this,_.$dynamicAnchor),l[y]=C;function S(j){const B=this.opts.uriResolver.resolve;if(j=Bi(C?B(C,j):j),h.has(j))throw m(j);h.add(j);let G=this.refs[j];return typeof G=="string"&&(G=this.refs[G]),typeof G=="object"?p(_,G.schema,j):j!==Bi(T)&&(j[0]==="#"?(p(_,f[j],j),f[j]=_):this.refs[j]=T),j}function R(j){if(typeof j=="string"){if(!Ly.test(j))throw new Error(`invalid anchor "${j}"`);S.call(this,`#${j}`)}}}),f;function p(_,y,P){if(y!==void 0&&!by(_,y))throw m(P)}function m(_){return new Error(`reference "${_}" resolves to more than one schema`)}}_t.getSchemaRefs=Cy;var Gu;function io(){if(Gu)return Pn;Gu=1,Object.defineProperty(Pn,"__esModule",{value:!0}),Pn.getData=Pn.KeywordCxt=Pn.validateFunctionCode=void 0;const e=Vv(),n=ot,r=nd(),s=ot,a=ry(),l=_y(),u=gy(),f=Re,h=pn,p=_t,m=oe,_=jr;function y(k){if(G(k)&&(ue(k),B(k))){C(k);return}P(k,()=>(0,e.topBoolOrEmptySchema)(k))}Pn.validateFunctionCode=y;function P({gen:k,validateName:A,schema:g,schemaEnv:b,opts:O},F){O.code.es5?k.func(A,(0,f._)`${h.default.data}, ${h.default.valCxt}`,b.$async,()=>{k.code((0,f._)`"use strict"; ${R(g,O)}`),T(k,O),k.code(F)}):k.func(A,(0,f._)`${h.default.data}, ${$(O)}`,b.$async,()=>k.code(R(g,O)).code(F))}function $(k){return(0,f._)`{${h.default.instancePath}="", ${h.default.parentData}, ${h.default.parentDataProperty}, ${h.default.rootData}=${h.default.data}${k.dynamicRef?(0,f._)`, ${h.default.dynamicAnchors}={}`:f.nil}}={}`}function T(k,A){k.if(h.default.valCxt,()=>{k.var(h.default.instancePath,(0,f._)`${h.default.valCxt}.${h.default.instancePath}`),k.var(h.default.parentData,(0,f._)`${h.default.valCxt}.${h.default.parentData}`),k.var(h.default.parentDataProperty,(0,f._)`${h.default.valCxt}.${h.default.parentDataProperty}`),k.var(h.default.rootData,(0,f._)`${h.default.valCxt}.${h.default.rootData}`),A.dynamicRef&&k.var(h.default.dynamicAnchors,(0,f._)`${h.default.valCxt}.${h.default.dynamicAnchors}`)},()=>{k.var(h.default.instancePath,(0,f._)`""`),k.var(h.default.parentData,(0,f._)`undefined`),k.var(h.default.parentDataProperty,(0,f._)`undefined`),k.var(h.default.rootData,h.default.data),A.dynamicRef&&k.var(h.default.dynamicAnchors,(0,f._)`{}`)})}function C(k){const{schema:A,opts:g,gen:b}=k;P(k,()=>{g.$comment&&A.$comment&&pe(k),we(k),b.let(h.default.vErrors,null),b.let(h.default.errors,0),g.unevaluated&&S(k),Me(k),_e(k)})}function S(k){const{gen:A,validateName:g}=k;k.evaluated=A.const("evaluated",(0,f._)`${g}.evaluated`),A.if((0,f._)`${k.evaluated}.dynamicProps`,()=>A.assign((0,f._)`${k.evaluated}.props`,(0,f._)`undefined`)),A.if((0,f._)`${k.evaluated}.dynamicItems`,()=>A.assign((0,f._)`${k.evaluated}.items`,(0,f._)`undefined`))}function R(k,A){const g=typeof k=="object"&&k[A.schemaId];return g&&(A.code.source||A.code.process)?(0,f._)`/*# sourceURL=${g} */`:f.nil}function j(k,A){if(G(k)&&(ue(k),B(k))){le(k,A);return}(0,e.boolOrEmptySchema)(k,A)}function B({schema:k,self:A}){if(typeof k=="boolean")return!k;for(const g in k)if(A.RULES.all[g])return!0;return!1}function G(k){return typeof k.schema!="boolean"}function le(k,A){const{schema:g,gen:b,opts:O}=k;O.$comment&&g.$comment&&pe(k),me(k),ne(k);const F=b.const("_errs",h.default.errors);Me(k,F),b.var(A,(0,f._)`${F} === ${h.default.errors}`)}function ue(k){(0,m.checkUnknownRules)(k),fe(k)}function Me(k,A){if(k.opts.jtd)return $e(k,[],!1,A);const g=(0,n.getSchemaTypes)(k.schema),b=(0,n.coerceAndCheckDataType)(k,g);$e(k,g,!b,A)}function fe(k){const{schema:A,errSchemaPath:g,opts:b,self:O}=k;A.$ref&&b.ignoreKeywordsWithRef&&(0,m.schemaHasRulesButRef)(A,O.RULES)&&O.logger.warn(`$ref: keywords ignored in schema at path "${g}"`)}function we(k){const{schema:A,opts:g}=k;A.default!==void 0&&g.useDefaults&&g.strictSchema&&(0,m.checkStrictMode)(k,"default is ignored in the schema root")}function me(k){const A=k.schema[k.opts.schemaId];A&&(k.baseId=(0,p.resolveUrl)(k.opts.uriResolver,k.baseId,A))}function ne(k){if(k.schema.$async&&!k.schemaEnv.$async)throw new Error("async schema in sync schema")}function pe({gen:k,schemaEnv:A,schema:g,errSchemaPath:b,opts:O}){const F=g.$comment;if(O.$comment===!0)k.code((0,f._)`${h.default.self}.logger.log(${F})`);else if(typeof O.$comment=="function"){const V=(0,f.str)`${b}/$comment`,W=k.scopeValue("root",{ref:A.root});k.code((0,f._)`${h.default.self}.opts.$comment(${F}, ${V}, ${W}.schema)`)}}function _e(k){const{gen:A,schemaEnv:g,validateName:b,ValidationError:O,opts:F}=k;g.$async?A.if((0,f._)`${h.default.errors} === 0`,()=>A.return(h.default.data),()=>A.throw((0,f._)`new ${O}(${h.default.vErrors})`)):(A.assign((0,f._)`${b}.errors`,h.default.vErrors),F.unevaluated&&Ge(k),A.return((0,f._)`${h.default.errors} === 0`))}function Ge({gen:k,evaluated:A,props:g,items:b}){g instanceof f.Name&&k.assign((0,f._)`${A}.props`,g),b instanceof f.Name&&k.assign((0,f._)`${A}.items`,b)}function $e(k,A,g,b){const{gen:O,schema:F,data:V,allErrors:W,opts:te,self:ee}=k,{RULES:Y}=ee;if(F.$ref&&(te.ignoreKeywordsWithRef||!(0,m.schemaHasRulesButRef)(F,Y))){O.block(()=>I(k,"$ref",Y.all.$ref.definition));return}te.jtd||ie(k,A),O.block(()=>{for(const ae of Y.rules)X(ae);X(Y.post)});function X(ae){(0,r.shouldUseGroup)(F,ae)&&(ae.type?(O.if((0,s.checkDataType)(ae.type,V,te.strictNumbers)),Ee(k,ae),A.length===1&&A[0]===ae.type&&g&&(O.else(),(0,s.reportTypeError)(k)),O.endIf()):Ee(k,ae),W||O.if((0,f._)`${h.default.errors} === ${b||0}`))}}function Ee(k,A){const{gen:g,schema:b,opts:{useDefaults:O}}=k;O&&(0,a.assignDefaults)(k,A.type),g.block(()=>{for(const F of A.rules)(0,r.shouldUseRule)(b,F)&&I(k,F.keyword,F.definition,A.type)})}function ie(k,A){k.schemaEnv.meta||!k.opts.strictTypes||(rt(k,A),k.opts.allowUnionTypes||U(k,A),M(k,k.dataTypes))}function rt(k,A){if(A.length){if(!k.dataTypes.length){k.dataTypes=A;return}A.forEach(g=>{z(k.dataTypes,g)||E(k,`type "${g}" not allowed by context "${k.dataTypes.join(",")}"`)}),w(k,A)}}function U(k,A){A.length>1&&!(A.length===2&&A.includes("null"))&&E(k,"use allowUnionTypes to allow union type keyword")}function M(k,A){const g=k.self.RULES.all;for(const b in g){const O=g[b];if(typeof O=="object"&&(0,r.shouldUseRule)(k.schema,O)){const{type:F}=O.definition;F.length&&!F.some(V=>q(A,V))&&E(k,`missing type "${F.join(",")}" for keyword "${b}"`)}}}function q(k,A){return k.includes(A)||A==="number"&&k.includes("integer")}function z(k,A){return k.includes(A)||A==="integer"&&k.includes("number")}function w(k,A){const g=[];for(const b of k.dataTypes)z(A,b)?g.push(b):A.includes("integer")&&b==="number"&&g.push("integer");k.dataTypes=g}function E(k,A){const g=k.schemaEnv.baseId+k.errSchemaPath;A+=` at "${g}" (strictTypes)`,(0,m.checkStrictMode)(k,A,k.opts.strictTypes)}class N{constructor(A,g,b){if((0,l.validateKeywordUsage)(A,g,b),this.gen=A.gen,this.allErrors=A.allErrors,this.keyword=b,this.data=A.data,this.schema=A.schema[b],this.$data=g.$data&&A.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,m.schemaRefOrVal)(A,this.schema,b,this.$data),this.schemaType=g.schemaType,this.parentSchema=A.schema,this.params={},this.it=A,this.def=g,this.$data)this.schemaCode=A.gen.const("vSchema",Q(this.$data,A));else if(this.schemaCode=this.schemaValue,!(0,l.validSchemaType)(this.schema,g.schemaType,g.allowUndefined))throw new Error(`${b} value must be ${JSON.stringify(g.schemaType)}`);("code"in g?g.trackErrors:g.errors!==!1)&&(this.errsCount=A.gen.const("_errs",h.default.errors))}result(A,g,b){this.failResult((0,f.not)(A),g,b)}failResult(A,g,b){this.gen.if(A),b?b():this.error(),g?(this.gen.else(),g(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(A,g){this.failResult((0,f.not)(A),void 0,g)}fail(A){if(A===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(A),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(A){if(!this.$data)return this.fail(A);const{schemaCode:g}=this;this.fail((0,f._)`${g} !== undefined && (${(0,f.or)(this.invalid$data(),A)})`)}error(A,g,b){if(g){this.setParams(g),this._error(A,b),this.setParams({});return}this._error(A,b)}_error(A,g){(A?_.reportExtraError:_.reportError)(this,this.def.error,g)}$dataError(){(0,_.reportError)(this,this.def.$dataError||_.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,_.resetErrorsCount)(this.gen,this.errsCount)}ok(A){this.allErrors||this.gen.if(A)}setParams(A,g){g?Object.assign(this.params,A):this.params=A}block$data(A,g,b=f.nil){this.gen.block(()=>{this.check$data(A,b),g()})}check$data(A=f.nil,g=f.nil){if(!this.$data)return;const{gen:b,schemaCode:O,schemaType:F,def:V}=this;b.if((0,f.or)((0,f._)`${O} === undefined`,g)),A!==f.nil&&b.assign(A,!0),(F.length||V.validateSchema)&&(b.elseIf(this.invalid$data()),this.$dataError(),A!==f.nil&&b.assign(A,!1)),b.else()}invalid$data(){const{gen:A,schemaCode:g,schemaType:b,def:O,it:F}=this;return(0,f.or)(V(),W());function V(){if(b.length){if(!(g instanceof f.Name))throw new Error("ajv implementation error");const te=Array.isArray(b)?b:[b];return(0,f._)`${(0,s.checkDataTypes)(te,g,F.opts.strictNumbers,s.DataType.Wrong)}`}return f.nil}function W(){if(O.validateSchema){const te=A.scopeValue("validate$data",{ref:O.validateSchema});return(0,f._)`!${te}(${g})`}return f.nil}}subschema(A,g){const b=(0,u.getSubschema)(this.it,A);(0,u.extendSubschemaData)(b,this.it,A),(0,u.extendSubschemaMode)(b,A);const O={...this.it,...b,items:void 0,props:void 0};return j(O,g),O}mergeEvaluated(A,g){const{it:b,gen:O}=this;b.opts.unevaluated&&(b.props!==!0&&A.props!==void 0&&(b.props=m.mergeEvaluated.props(O,A.props,b.props,g)),b.items!==!0&&A.items!==void 0&&(b.items=m.mergeEvaluated.items(O,A.items,b.items,g)))}mergeValidEvaluated(A,g){const{it:b,gen:O}=this;if(b.opts.unevaluated&&(b.props!==!0||b.items!==!0))return O.if(g,()=>this.mergeEvaluated(A,f.Name)),!0}}Pn.KeywordCxt=N;function I(k,A,g,b){const O=new N(k,g,A);"code"in g?g.code(O,b):O.$data&&g.validate?(0,l.funcKeywordCode)(O,g):"macro"in g?(0,l.macroKeywordCode)(O,g):(g.compile||g.validate)&&(0,l.funcKeywordCode)(O,g)}const H=/^\/(?:[^~]|~0|~1)*$/,K=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Q(k,{dataLevel:A,dataNames:g,dataPathArr:b}){let O,F;if(k==="")return h.default.rootData;if(k[0]==="/"){if(!H.test(k))throw new Error(`Invalid JSON-pointer: ${k}`);O=k,F=h.default.rootData}else{const ee=K.exec(k);if(!ee)throw new Error(`Invalid JSON-pointer: ${k}`);const Y=+ee[1];if(O=ee[2],O==="#"){if(Y>=A)throw new Error(te("property/index",Y));return b[A-Y]}if(Y>A)throw new Error(te("data",Y));if(F=g[A-Y],!O)return F}let V=F;const W=O.split("/");for(const ee of W)ee&&(F=(0,f._)`${F}${(0,f.getProperty)((0,m.unescapeJsonPointer)(ee))}`,V=(0,f._)`${V} && ${F}`);return V;function te(ee,Y){return`Cannot access ${ee} ${Y} levels up, current level is ${A}`}}return Pn.getData=Q,Pn}var ps={},Ju;function ol(){if(Ju)return ps;Ju=1,Object.defineProperty(ps,"__esModule",{value:!0});class e extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}}return ps.default=e,ps}var Ui={};Object.defineProperty(Ui,"__esModule",{value:!0});const Qo=_t;class ky extends Error{constructor(n,r,s,a){super(a||`can't resolve reference ${s} from id ${r}`),this.missingRef=(0,Qo.resolveUrl)(n,r,s),this.missingSchema=(0,Qo.normalizeId)((0,Qo.getFullPath)(n,this.missingRef))}}Ui.default=ky;var It={};Object.defineProperty(It,"__esModule",{value:!0});It.resolveSchema=It.getCompilingSchema=It.resolveRef=It.compileSchema=It.SchemaEnv=void 0;const Kt=Re,Oy=ol(),oi=pn,Jt=_t,Yu=oe,Ry=io();class ro{constructor(n){var r;this.refs={},this.dynamicAnchors={};let s;typeof n.schema=="object"&&(s=n.schema),this.schema=n.schema,this.schemaId=n.schemaId,this.root=n.root||this,this.baseId=(r=n.baseId)!==null&&r!==void 0?r:(0,Jt.normalizeId)(s==null?void 0:s[n.schemaId||"$id"]),this.schemaPath=n.schemaPath,this.localRefs=n.localRefs,this.meta=n.meta,this.$async=s==null?void 0:s.$async,this.refs={}}}It.SchemaEnv=ro;function al(e){const n=dd.call(this,e);if(n)return n;const r=(0,Jt.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:s,lines:a}=this.opts.code,{ownProperties:l}=this.opts,u=new Kt.CodeGen(this.scope,{es5:s,lines:a,ownProperties:l});let f;e.$async&&(f=u.scopeValue("Error",{ref:Oy.default,code:(0,Kt._)`require("ajv/dist/runtime/validation_error").default`}));const h=u.scopeName("validate");e.validateName=h;const p={gen:u,allErrors:this.opts.allErrors,data:oi.default.data,parentData:oi.default.parentData,parentDataProperty:oi.default.parentDataProperty,dataNames:[oi.default.data],dataPathArr:[Kt.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:u.scopeValue("schema",this.opts.code.source===!0?{ref:e.schema,code:(0,Kt.stringify)(e.schema)}:{ref:e.schema}),validateName:h,ValidationError:f,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:Kt.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,Kt._)`""`,opts:this.opts,self:this};let m;try{this._compilations.add(e),(0,Ry.validateFunctionCode)(p),u.optimize(this.opts.code.optimize);const _=u.toString();m=`${u.scopeRefs(oi.default.scope)}return ${_}`,this.opts.code.process&&(m=this.opts.code.process(m,e));const P=new Function(`${oi.default.self}`,`${oi.default.scope}`,m)(this,this.scope.get());if(this.scope.value(h,{ref:P}),P.errors=null,P.schema=e.schema,P.schemaEnv=e,e.$async&&(P.$async=!0),this.opts.code.source===!0&&(P.source={validateName:h,validateCode:_,scopeValues:u._values}),this.opts.unevaluated){const{props:$,items:T}=p;P.evaluated={props:$ instanceof Kt.Name?void 0:$,items:T instanceof Kt.Name?void 0:T,dynamicProps:$ instanceof Kt.Name,dynamicItems:T instanceof Kt.Name},P.source&&(P.source.evaluated=(0,Kt.stringify)(P.evaluated))}return e.validate=P,e}catch(_){throw delete e.validate,delete e.validateName,m&&this.logger.error("Error compiling schema, function code:",m),_}finally{this._compilations.delete(e)}}It.compileSchema=al;function My(e,n,r){var s;r=(0,Jt.resolveUrl)(this.opts.uriResolver,n,r);const a=e.refs[r];if(a)return a;let l=Ny.call(this,e,r);if(l===void 0){const u=(s=e.localRefs)===null||s===void 0?void 0:s[r],{schemaId:f}=this.opts;u&&(l=new ro({schema:u,schemaId:f,root:e,baseId:n}))}if(l!==void 0)return e.refs[r]=Iy.call(this,l)}It.resolveRef=My;function Iy(e){return(0,Jt.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:al.call(this,e)}function dd(e){for(const n of this._compilations)if(Ay(n,e))return n}It.getCompilingSchema=dd;function Ay(e,n){return e.schema===n.schema&&e.root===n.root&&e.baseId===n.baseId}function Ny(e,n){let r;for(;typeof(r=this.refs[n])=="string";)n=r;return r||this.schemas[n]||so.call(this,e,n)}function so(e,n){const r=this.opts.uriResolver.parse(n),s=(0,Jt._getFullPath)(this.opts.uriResolver,r);let a=(0,Jt.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&s===a)return ea.call(this,r,e);const l=(0,Jt.normalizeId)(s),u=this.refs[l]||this.schemas[l];if(typeof u=="string"){const f=so.call(this,e,u);return typeof(f==null?void 0:f.schema)!="object"?void 0:ea.call(this,r,f)}if(typeof(u==null?void 0:u.schema)=="object"){if(u.validate||al.call(this,u),l===(0,Jt.normalizeId)(n)){const{schema:f}=u,{schemaId:h}=this.opts,p=f[h];return p&&(a=(0,Jt.resolveUrl)(this.opts.uriResolver,a,p)),new ro({schema:f,schemaId:h,root:e,baseId:a})}return ea.call(this,r,u)}}It.resolveSchema=so;const zy=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function ea(e,{baseId:n,schema:r,root:s}){var a;if(((a=e.fragment)===null||a===void 0?void 0:a[0])!=="/")return;for(const f of e.fragment.slice(1).split("/")){if(typeof r=="boolean")return;const h=r[(0,Yu.unescapeFragment)(f)];if(h===void 0)return;r=h;const p=typeof r=="object"&&r[this.opts.schemaId];!zy.has(f)&&p&&(n=(0,Jt.resolveUrl)(this.opts.uriResolver,n,p))}let l;if(typeof r!="boolean"&&r.$ref&&!(0,Yu.schemaHasRulesButRef)(r,this.RULES)){const f=(0,Jt.resolveUrl)(this.opts.uriResolver,n,r.$ref);l=so.call(this,s,f)}const{schemaId:u}=this.opts;if(l=l||new ro({schema:r,schemaId:u,root:s,baseId:n}),l.schema!==l.root.schema)return l}const Dy="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",jy="Meta-schema for $data reference (JSON AnySchema extension proposal)",By="object",Zy=["$data"],Fy={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Vy=!1,Hy={$id:Dy,description:jy,type:By,required:Zy,properties:Fy,additionalProperties:Vy};var ll={},oo={exports:{}};const Uy={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};var qy={HEX:Uy};const{HEX:Wy}=qy;function pd(e){if(_d(e,".")<3)return{host:e,isIPV4:!1};const n=e.match(/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/u)||[],[r]=n;return r?{host:Gy(r,"."),isIPV4:!0}:{host:e,isIPV4:!1}}function Ea(e,n=!1){let r="",s=!0;for(const a of e){if(Wy[a]===void 0)return;a!=="0"&&s===!0&&(s=!1),s||(r+=a)}return n&&r.length===0&&(r="0"),r}function Ky(e){let n=0;const r={error:!1,address:"",zone:""},s=[],a=[];let l=!1,u=!1,f=!1;function h(){if(a.length){if(l===!1){const p=Ea(a);if(p!==void 0)s.push(p);else return r.error=!0,!1}a.length=0}return!0}for(let p=0;p7){r.error=!0;break}p-1>=0&&e[p-1]===":"&&(u=!0);continue}else if(m==="%"){if(!h())break;l=!0}else{a.push(m);continue}}return a.length&&(l?r.zone=a.join(""):f?s.push(a.join("")):s.push(Ea(a))),r.address=s.join(""),r}function md(e,n={}){if(_d(e,":")<2)return{host:e,isIPV6:!1};const r=Ky(e);if(r.error)return{host:e,isIPV6:!1};{let s=r.address,a=r.address;return r.zone&&(s+="%"+r.zone,a+="%25"+r.zone),{host:s,escapedHost:a,isIPV6:!0}}}function Gy(e,n){let r="",s=!0;const a=e.length;for(let l=0;l/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(n)));function b0(e){let n=0;for(let r=0,s=e.length;r126||w0[n])return!0;return!1}const P0=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function Cn(e,n){const r=Object.assign({},n),s={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},a=e.indexOf("%")!==-1;let l=!1;r.reference==="suffix"&&(e=(r.scheme?r.scheme+":":"")+"//"+e);const u=e.match(P0);if(u){if(s.scheme=u[1],s.userinfo=u[3],s.host=u[4],s.port=parseInt(u[5],10),s.path=u[6]||"",s.query=u[7],s.fragment=u[8],isNaN(s.port)&&(s.port=u[5]),s.host){const h=m0(s.host);if(h.isIPV4===!1){const p=p0(h.host,{isIPV4:!1});s.host=p.host.toLowerCase(),l=p.isIPV6}else s.host=h.host,l=!0}s.scheme===void 0&&s.userinfo===void 0&&s.host===void 0&&s.port===void 0&&!s.path&&s.query===void 0?s.reference="same-document":s.scheme===void 0?s.reference="relative":s.fragment===void 0?s.reference="absolute":s.reference="uri",r.reference&&r.reference!=="suffix"&&r.reference!==s.reference&&(s.error=s.error||"URI is not a "+r.reference+" reference.");const f=ul[(r.scheme||s.scheme||"").toLowerCase()];if(!r.unicodeSupport&&(!f||!f.unicodeSupport)&&s.host&&(r.domainHost||f&&f.domainHost)&&l===!1&&b0(s.host))try{s.host=URL.domainToASCII(s.host.toLowerCase())}catch(h){s.error=s.error||"Host's domain name can not be converted to ASCII: "+h}(!f||f&&!f.skipNormalize)&&(a&&s.scheme!==void 0&&(s.scheme=unescape(s.scheme)),a&&s.userinfo!==void 0&&(s.userinfo=unescape(s.userinfo)),a&&s.host!==void 0&&(s.host=unescape(s.host)),s.path!==void 0&&s.path.length&&(s.path=escape(unescape(s.path))),s.fragment!==void 0&&s.fragment.length&&(s.fragment=encodeURI(decodeURIComponent(s.fragment)))),f&&f.parse&&f.parse(s,r)}else s.error=s.error||"URI can not be parsed.";return s}const fl={SCHEMES:ul,normalize:g0,resolve:v0,resolveComponents:bd,equal:y0,serialize:hn,parse:Cn};oo.exports=fl;oo.exports.default=fl;oo.exports.fastUri=fl;var $0=oo.exports;Object.defineProperty(ll,"__esModule",{value:!0});const Pd=$0;Pd.code='require("ajv/dist/runtime/uri").default';ll.default=Pd;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var n=io();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return n.KeywordCxt}});var r=Re;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const s=ol(),a=Ui,l=mi,u=It,f=Re,h=_t,p=ot,m=oe,_=Hy,y=ll,P=(U,M)=>new RegExp(U,M);P.code="new RegExp";const $=["removeAdditional","useDefaults","coerceTypes"],T=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),C={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},S={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},R=200;function j(U){var M,q,z,w,E,N,I,H,K,Q,k,A,g,b,O,F,V,W,te,ee,Y,X,ae,re,ce;const de=U.strict,Te=(M=U.code)===null||M===void 0?void 0:M.optimize,Ne=Te===!0||Te===void 0?1:Te||0,Ie=(z=(q=U.code)===null||q===void 0?void 0:q.regExp)!==null&&z!==void 0?z:P,ft=(w=U.uriResolver)!==null&&w!==void 0?w:y.default;return{strictSchema:(N=(E=U.strictSchema)!==null&&E!==void 0?E:de)!==null&&N!==void 0?N:!0,strictNumbers:(H=(I=U.strictNumbers)!==null&&I!==void 0?I:de)!==null&&H!==void 0?H:!0,strictTypes:(Q=(K=U.strictTypes)!==null&&K!==void 0?K:de)!==null&&Q!==void 0?Q:"log",strictTuples:(A=(k=U.strictTuples)!==null&&k!==void 0?k:de)!==null&&A!==void 0?A:"log",strictRequired:(b=(g=U.strictRequired)!==null&&g!==void 0?g:de)!==null&&b!==void 0?b:!1,code:U.code?{...U.code,optimize:Ne,regExp:Ie}:{optimize:Ne,regExp:Ie},loopRequired:(O=U.loopRequired)!==null&&O!==void 0?O:R,loopEnum:(F=U.loopEnum)!==null&&F!==void 0?F:R,meta:(V=U.meta)!==null&&V!==void 0?V:!0,messages:(W=U.messages)!==null&&W!==void 0?W:!0,inlineRefs:(te=U.inlineRefs)!==null&&te!==void 0?te:!0,schemaId:(ee=U.schemaId)!==null&&ee!==void 0?ee:"$id",addUsedSchema:(Y=U.addUsedSchema)!==null&&Y!==void 0?Y:!0,validateSchema:(X=U.validateSchema)!==null&&X!==void 0?X:!0,validateFormats:(ae=U.validateFormats)!==null&&ae!==void 0?ae:!0,unicodeRegExp:(re=U.unicodeRegExp)!==null&&re!==void 0?re:!0,int32range:(ce=U.int32range)!==null&&ce!==void 0?ce:!0,uriResolver:ft}}class B{constructor(M={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,M=this.opts={...M,...j(M)};const{es5:q,lines:z}=this.opts.code;this.scope=new f.ValueScope({scope:{},prefixes:T,es5:q,lines:z}),this.logger=ne(M.logger);const w=M.validateFormats;M.validateFormats=!1,this.RULES=(0,l.getRules)(),G.call(this,C,M,"NOT SUPPORTED"),G.call(this,S,M,"DEPRECATED","warn"),this._metaOpts=we.call(this),M.formats&&Me.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),M.keywords&&fe.call(this,M.keywords),typeof M.meta=="object"&&this.addMetaSchema(M.meta),ue.call(this),M.validateFormats=w}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:M,meta:q,schemaId:z}=this.opts;let w=_;z==="id"&&(w={..._},w.id=w.$id,delete w.$id),q&&M&&this.addMetaSchema(w,w[z],!1)}defaultMeta(){const{meta:M,schemaId:q}=this.opts;return this.opts.defaultMeta=typeof M=="object"?M[q]||M:void 0}validate(M,q){let z;if(typeof M=="string"){if(z=this.getSchema(M),!z)throw new Error(`no schema with key or ref "${M}"`)}else z=this.compile(M);const w=z(q);return"$async"in z||(this.errors=z.errors),w}compile(M,q){const z=this._addSchema(M,q);return z.validate||this._compileSchemaEnv(z)}compileAsync(M,q){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:z}=this.opts;return w.call(this,M,q);async function w(Q,k){await E.call(this,Q.$schema);const A=this._addSchema(Q,k);return A.validate||N.call(this,A)}async function E(Q){Q&&!this.getSchema(Q)&&await w.call(this,{$ref:Q},!0)}async function N(Q){try{return this._compileSchemaEnv(Q)}catch(k){if(!(k instanceof a.default))throw k;return I.call(this,k),await H.call(this,k.missingSchema),N.call(this,Q)}}function I({missingSchema:Q,missingRef:k}){if(this.refs[Q])throw new Error(`AnySchema ${Q} is loaded but ${k} cannot be resolved`)}async function H(Q){const k=await K.call(this,Q);this.refs[Q]||await E.call(this,k.$schema),this.refs[Q]||this.addSchema(k,Q,q)}async function K(Q){const k=this._loading[Q];if(k)return k;try{return await(this._loading[Q]=z(Q))}finally{delete this._loading[Q]}}}addSchema(M,q,z,w=this.opts.validateSchema){if(Array.isArray(M)){for(const N of M)this.addSchema(N,void 0,z,w);return this}let E;if(typeof M=="object"){const{schemaId:N}=this.opts;if(E=M[N],E!==void 0&&typeof E!="string")throw new Error(`schema ${N} must be string`)}return q=(0,h.normalizeId)(q||E),this._checkUnique(q),this.schemas[q]=this._addSchema(M,z,q,w,!0),this}addMetaSchema(M,q,z=this.opts.validateSchema){return this.addSchema(M,q,!0,z),this}validateSchema(M,q){if(typeof M=="boolean")return!0;let z;if(z=M.$schema,z!==void 0&&typeof z!="string")throw new Error("$schema must be a string");if(z=z||this.opts.defaultMeta||this.defaultMeta(),!z)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const w=this.validate(z,M);if(!w&&q){const E="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(E);else throw new Error(E)}return w}getSchema(M){let q;for(;typeof(q=le.call(this,M))=="string";)M=q;if(q===void 0){const{schemaId:z}=this.opts,w=new u.SchemaEnv({schema:{},schemaId:z});if(q=u.resolveSchema.call(this,w,M),!q)return;this.refs[M]=q}return q.validate||this._compileSchemaEnv(q)}removeSchema(M){if(M instanceof RegExp)return this._removeAllSchemas(this.schemas,M),this._removeAllSchemas(this.refs,M),this;switch(typeof M){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const q=le.call(this,M);return typeof q=="object"&&this._cache.delete(q.schema),delete this.schemas[M],delete this.refs[M],this}case"object":{const q=M;this._cache.delete(q);let z=M[this.opts.schemaId];return z&&(z=(0,h.normalizeId)(z),delete this.schemas[z],delete this.refs[z]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(M){for(const q of M)this.addKeyword(q);return this}addKeyword(M,q){let z;if(typeof M=="string")z=M,typeof q=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),q.keyword=z);else if(typeof M=="object"&&q===void 0){if(q=M,z=q.keyword,Array.isArray(z)&&!z.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(_e.call(this,z,q),!q)return(0,m.eachItem)(z,E=>Ge.call(this,E)),this;Ee.call(this,q);const w={...q,type:(0,p.getJSONTypes)(q.type),schemaType:(0,p.getJSONTypes)(q.schemaType)};return(0,m.eachItem)(z,w.type.length===0?E=>Ge.call(this,E,w):E=>w.type.forEach(N=>Ge.call(this,E,w,N))),this}getKeyword(M){const q=this.RULES.all[M];return typeof q=="object"?q.definition:!!q}removeKeyword(M){const{RULES:q}=this;delete q.keywords[M],delete q.all[M];for(const z of q.rules){const w=z.rules.findIndex(E=>E.keyword===M);w>=0&&z.rules.splice(w,1)}return this}addFormat(M,q){return typeof q=="string"&&(q=new RegExp(q)),this.formats[M]=q,this}errorsText(M=this.errors,{separator:q=", ",dataVar:z="data"}={}){return!M||M.length===0?"No errors":M.map(w=>`${z}${w.instancePath} ${w.message}`).reduce((w,E)=>w+q+E)}$dataMetaSchema(M,q){const z=this.RULES.all;M=JSON.parse(JSON.stringify(M));for(const w of q){const E=w.split("/").slice(1);let N=M;for(const I of E)N=N[I];for(const I in z){const H=z[I];if(typeof H!="object")continue;const{$data:K}=H.definition,Q=N[I];K&&Q&&(N[I]=rt(Q))}}return M}_removeAllSchemas(M,q){for(const z in M){const w=M[z];(!q||q.test(z))&&(typeof w=="string"?delete M[z]:w&&!w.meta&&(this._cache.delete(w.schema),delete M[z]))}}_addSchema(M,q,z,w=this.opts.validateSchema,E=this.opts.addUsedSchema){let N;const{schemaId:I}=this.opts;if(typeof M=="object")N=M[I];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof M!="boolean")throw new Error("schema must be object or boolean")}let H=this._cache.get(M);if(H!==void 0)return H;z=(0,h.normalizeId)(N||z);const K=h.getSchemaRefs.call(this,M,z);return H=new u.SchemaEnv({schema:M,schemaId:I,meta:q,baseId:z,localRefs:K}),this._cache.set(H.schema,H),E&&!z.startsWith("#")&&(z&&this._checkUnique(z),this.refs[z]=H),w&&this.validateSchema(M,!0),H}_checkUnique(M){if(this.schemas[M]||this.refs[M])throw new Error(`schema with key or id "${M}" already exists`)}_compileSchemaEnv(M){if(M.meta?this._compileMetaSchema(M):u.compileSchema.call(this,M),!M.validate)throw new Error("ajv implementation error");return M.validate}_compileMetaSchema(M){const q=this.opts;this.opts=this._metaOpts;try{u.compileSchema.call(this,M)}finally{this.opts=q}}}B.ValidationError=s.default,B.MissingRefError=a.default,e.default=B;function G(U,M,q,z="error"){for(const w in U){const E=w;E in M&&this.logger[z](`${q}: option ${w}. ${U[E]}`)}}function le(U){return U=(0,h.normalizeId)(U),this.schemas[U]||this.refs[U]}function ue(){const U=this.opts.schemas;if(U)if(Array.isArray(U))this.addSchema(U);else for(const M in U)this.addSchema(U[M],M)}function Me(){for(const U in this.opts.formats){const M=this.opts.formats[U];M&&this.addFormat(U,M)}}function fe(U){if(Array.isArray(U)){this.addVocabulary(U);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const M in U){const q=U[M];q.keyword||(q.keyword=M),this.addKeyword(q)}}function we(){const U={...this.opts};for(const M of $)delete U[M];return U}const me={log(){},warn(){},error(){}};function ne(U){if(U===!1)return me;if(U===void 0)return console;if(U.log&&U.warn&&U.error)return U;throw new Error("logger must implement log, warn and error methods")}const pe=/^[a-z_$][a-z0-9_$:-]*$/i;function _e(U,M){const{RULES:q}=this;if((0,m.eachItem)(U,z=>{if(q.keywords[z])throw new Error(`Keyword ${z} is already defined`);if(!pe.test(z))throw new Error(`Keyword ${z} has invalid name`)}),!!M&&M.$data&&!("code"in M||"validate"in M))throw new Error('$data keyword must have "code" or "validate" function')}function Ge(U,M,q){var z;const w=M==null?void 0:M.post;if(q&&w)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:E}=this;let N=w?E.post:E.rules.find(({type:H})=>H===q);if(N||(N={type:q,rules:[]},E.rules.push(N)),E.keywords[U]=!0,!M)return;const I={keyword:U,definition:{...M,type:(0,p.getJSONTypes)(M.type),schemaType:(0,p.getJSONTypes)(M.schemaType)}};M.before?$e.call(this,N,I,M.before):N.rules.push(I),E.all[U]=I,(z=M.implements)===null||z===void 0||z.forEach(H=>this.addKeyword(H))}function $e(U,M,q){const z=U.rules.findIndex(w=>w.keyword===q);z>=0?U.rules.splice(z,0,M):(U.rules.push(M),this.logger.warn(`rule ${q} is not defined`))}function Ee(U){let{metaSchema:M}=U;M!==void 0&&(U.$data&&this.opts.$data&&(M=rt(M)),U.validateSchema=this.compile(M,!0))}const ie={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function rt(U){return{anyOf:[U,ie]}}})(Jh);var hl={},dl={},pl={};Object.defineProperty(pl,"__esModule",{value:!0});const S0={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};pl.default=S0;var _i={};Object.defineProperty(_i,"__esModule",{value:!0});_i.callRef=_i.getValidate=void 0;const E0=Ui,tf=Oe,Mt=Re,Li=pn,nf=It,_s=oe,T0={keyword:"$ref",schemaType:"string",code(e){const{gen:n,schema:r,it:s}=e,{baseId:a,schemaEnv:l,validateName:u,opts:f,self:h}=s,{root:p}=l;if((r==="#"||r==="#/")&&a===p.baseId)return _();const m=nf.resolveRef.call(h,p,a,r);if(m===void 0)throw new E0.default(s.opts.uriResolver,a,r);if(m instanceof nf.SchemaEnv)return y(m);return P(m);function _(){if(l===p)return Ls(e,u,l,l.$async);const $=n.scopeValue("root",{ref:p});return Ls(e,(0,Mt._)`${$}.validate`,p,p.$async)}function y($){const T=$d(e,$);Ls(e,T,$,$.$async)}function P($){const T=n.scopeValue("schema",f.code.source===!0?{ref:$,code:(0,Mt.stringify)($)}:{ref:$}),C=n.name("valid"),S=e.subschema({schema:$,dataTypes:[],schemaPath:Mt.nil,topSchemaRef:T,errSchemaPath:r},C);e.mergeEvaluated(S),e.ok(C)}}};function $d(e,n){const{gen:r}=e;return n.validate?r.scopeValue("validate",{ref:n.validate}):(0,Mt._)`${r.scopeValue("wrapper",{ref:n})}.validate`}_i.getValidate=$d;function Ls(e,n,r,s){const{gen:a,it:l}=e,{allErrors:u,schemaEnv:f,opts:h}=l,p=h.passContext?Li.default.this:Mt.nil;s?m():_();function m(){if(!f.$async)throw new Error("async schema referenced by sync schema");const $=a.let("valid");a.try(()=>{a.code((0,Mt._)`await ${(0,tf.callValidateCode)(e,n,p)}`),P(n),u||a.assign($,!0)},T=>{a.if((0,Mt._)`!(${T} instanceof ${l.ValidationError})`,()=>a.throw(T)),y(T),u||a.assign($,!1)}),e.ok($)}function _(){e.result((0,tf.callValidateCode)(e,n,p),()=>P(n),()=>y(n))}function y($){const T=(0,Mt._)`${$}.errors`;a.assign(Li.default.vErrors,(0,Mt._)`${Li.default.vErrors} === null ? ${T} : ${Li.default.vErrors}.concat(${T})`),a.assign(Li.default.errors,(0,Mt._)`${Li.default.vErrors}.length`)}function P($){var T;if(!l.opts.unevaluated)return;const C=(T=r==null?void 0:r.validate)===null||T===void 0?void 0:T.evaluated;if(l.props!==!0)if(C&&!C.dynamicProps)C.props!==void 0&&(l.props=_s.mergeEvaluated.props(a,C.props,l.props));else{const S=a.var("props",(0,Mt._)`${$}.evaluated.props`);l.props=_s.mergeEvaluated.props(a,S,l.props,Mt.Name)}if(l.items!==!0)if(C&&!C.dynamicItems)C.items!==void 0&&(l.items=_s.mergeEvaluated.items(a,C.items,l.items));else{const S=a.var("items",(0,Mt._)`${$}.evaluated.items`);l.items=_s.mergeEvaluated.items(a,S,l.items,Mt.Name)}}}_i.callRef=Ls;_i.default=T0;Object.defineProperty(dl,"__esModule",{value:!0});const x0=pl,L0=_i,C0=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",x0.default,L0.default];dl.default=C0;var ml={},_l={};Object.defineProperty(_l,"__esModule",{value:!0});const Ns=Re,jn=Ns.operators,zs={maximum:{okStr:"<=",ok:jn.LTE,fail:jn.GT},minimum:{okStr:">=",ok:jn.GTE,fail:jn.LT},exclusiveMaximum:{okStr:"<",ok:jn.LT,fail:jn.GTE},exclusiveMinimum:{okStr:">",ok:jn.GT,fail:jn.LTE}},k0={message:({keyword:e,schemaCode:n})=>(0,Ns.str)`must be ${zs[e].okStr} ${n}`,params:({keyword:e,schemaCode:n})=>(0,Ns._)`{comparison: ${zs[e].okStr}, limit: ${n}}`},O0={keyword:Object.keys(zs),type:"number",schemaType:"number",$data:!0,error:k0,code(e){const{keyword:n,data:r,schemaCode:s}=e;e.fail$data((0,Ns._)`${r} ${zs[n].fail} ${s} || isNaN(${r})`)}};_l.default=O0;var gl={};Object.defineProperty(gl,"__esModule",{value:!0});const $r=Re,R0={message:({schemaCode:e})=>(0,$r.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,$r._)`{multipleOf: ${e}}`},M0={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:R0,code(e){const{gen:n,data:r,schemaCode:s,it:a}=e,l=a.opts.multipleOfPrecision,u=n.let("res"),f=l?(0,$r._)`Math.abs(Math.round(${u}) - ${u}) > 1e-${l}`:(0,$r._)`${u} !== parseInt(${u})`;e.fail$data((0,$r._)`(${s} === 0 || (${u} = ${r}/${s}, ${f}))`)}};gl.default=M0;var vl={},yl={};Object.defineProperty(yl,"__esModule",{value:!0});function Sd(e){const n=e.length;let r=0,s=0,a;for(;s=55296&&a<=56319&&s(0,ci._)`{limit: ${e}}`},z0={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:N0,code(e){const{keyword:n,data:r,schemaCode:s,it:a}=e,l=n==="maxLength"?ci.operators.GT:ci.operators.LT,u=a.opts.unicode===!1?(0,ci._)`${r}.length`:(0,ci._)`${(0,I0.useFunc)(e.gen,A0.default)}(${r})`;e.fail$data((0,ci._)`${u} ${l} ${s}`)}};vl.default=z0;var wl={};Object.defineProperty(wl,"__esModule",{value:!0});const D0=Oe,Ds=Re,j0={message:({schemaCode:e})=>(0,Ds.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,Ds._)`{pattern: ${e}}`},B0={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:j0,code(e){const{data:n,$data:r,schema:s,schemaCode:a,it:l}=e,u=l.opts.unicodeRegExp?"u":"",f=r?(0,Ds._)`(new RegExp(${a}, ${u}))`:(0,D0.usePattern)(e,s);e.fail$data((0,Ds._)`!${f}.test(${n})`)}};wl.default=B0;var bl={};Object.defineProperty(bl,"__esModule",{value:!0});const Sr=Re,Z0={message({keyword:e,schemaCode:n}){const r=e==="maxProperties"?"more":"fewer";return(0,Sr.str)`must NOT have ${r} than ${n} properties`},params:({schemaCode:e})=>(0,Sr._)`{limit: ${e}}`},F0={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:Z0,code(e){const{keyword:n,data:r,schemaCode:s}=e,a=n==="maxProperties"?Sr.operators.GT:Sr.operators.LT;e.fail$data((0,Sr._)`Object.keys(${r}).length ${a} ${s}`)}};bl.default=F0;var Pl={};Object.defineProperty(Pl,"__esModule",{value:!0});const fr=Oe,Er=Re,V0=oe,H0={message:({params:{missingProperty:e}})=>(0,Er.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,Er._)`{missingProperty: ${e}}`},U0={keyword:"required",type:"object",schemaType:"array",$data:!0,error:H0,code(e){const{gen:n,schema:r,schemaCode:s,data:a,$data:l,it:u}=e,{opts:f}=u;if(!l&&r.length===0)return;const h=r.length>=f.loopRequired;if(u.allErrors?p():m(),f.strictRequired){const P=e.parentSchema.properties,{definedProperties:$}=e.it;for(const T of r)if((P==null?void 0:P[T])===void 0&&!$.has(T)){const C=u.schemaEnv.baseId+u.errSchemaPath,S=`required property "${T}" is not defined at "${C}" (strictRequired)`;(0,V0.checkStrictMode)(u,S,u.opts.strictRequired)}}function p(){if(h||l)e.block$data(Er.nil,_);else for(const P of r)(0,fr.checkReportMissingProp)(e,P)}function m(){const P=n.let("missing");if(h||l){const $=n.let("valid",!0);e.block$data($,()=>y(P,$)),e.ok($)}else n.if((0,fr.checkMissingProp)(e,r,P)),(0,fr.reportMissingProp)(e,P),n.else()}function _(){n.forOf("prop",s,P=>{e.setParams({missingProperty:P}),n.if((0,fr.noPropertyInData)(n,a,P,f.ownProperties),()=>e.error())})}function y(P,$){e.setParams({missingProperty:P}),n.forOf(P,s,()=>{n.assign($,(0,fr.propertyInData)(n,a,P,f.ownProperties)),n.if((0,Er.not)($),()=>{e.error(),n.break()})},Er.nil)}}};Pl.default=U0;var $l={};Object.defineProperty($l,"__esModule",{value:!0});const Tr=Re,q0={message({keyword:e,schemaCode:n}){const r=e==="maxItems"?"more":"fewer";return(0,Tr.str)`must NOT have ${r} than ${n} items`},params:({schemaCode:e})=>(0,Tr._)`{limit: ${e}}`},W0={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:q0,code(e){const{keyword:n,data:r,schemaCode:s}=e,a=n==="maxItems"?Tr.operators.GT:Tr.operators.LT;e.fail$data((0,Tr._)`${r}.length ${a} ${s}`)}};$l.default=W0;var Sl={},Br={};Object.defineProperty(Br,"__esModule",{value:!0});const Ed=ld;Ed.code='require("ajv/dist/runtime/equal").default';Br.default=Ed;Object.defineProperty(Sl,"__esModule",{value:!0});const ta=ot,mt=Re,K0=oe,G0=Br,J0={message:({params:{i:e,j:n}})=>(0,mt.str)`must NOT have duplicate items (items ## ${n} and ${e} are identical)`,params:({params:{i:e,j:n}})=>(0,mt._)`{i: ${e}, j: ${n}}`},Y0={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:J0,code(e){const{gen:n,data:r,$data:s,schema:a,parentSchema:l,schemaCode:u,it:f}=e;if(!s&&!a)return;const h=n.let("valid"),p=l.items?(0,ta.getSchemaTypes)(l.items):[];e.block$data(h,m,(0,mt._)`${u} === false`),e.ok(h);function m(){const $=n.let("i",(0,mt._)`${r}.length`),T=n.let("j");e.setParams({i:$,j:T}),n.assign(h,!0),n.if((0,mt._)`${$} > 1`,()=>(_()?y:P)($,T))}function _(){return p.length>0&&!p.some($=>$==="object"||$==="array")}function y($,T){const C=n.name("item"),S=(0,ta.checkDataTypes)(p,C,f.opts.strictNumbers,ta.DataType.Wrong),R=n.const("indices",(0,mt._)`{}`);n.for((0,mt._)`;${$}--;`,()=>{n.let(C,(0,mt._)`${r}[${$}]`),n.if(S,(0,mt._)`continue`),p.length>1&&n.if((0,mt._)`typeof ${C} == "string"`,(0,mt._)`${C} += "_"`),n.if((0,mt._)`typeof ${R}[${C}] == "number"`,()=>{n.assign(T,(0,mt._)`${R}[${C}]`),e.error(),n.assign(h,!1).break()}).code((0,mt._)`${R}[${C}] = ${$}`)})}function P($,T){const C=(0,K0.useFunc)(n,G0.default),S=n.name("outer");n.label(S).for((0,mt._)`;${$}--;`,()=>n.for((0,mt._)`${T} = ${$}; ${T}--;`,()=>n.if((0,mt._)`${C}(${r}[${$}], ${r}[${T}])`,()=>{e.error(),n.assign(h,!1).break(S)})))}}};Sl.default=Y0;var El={};Object.defineProperty(El,"__esModule",{value:!0});const Ta=Re,X0=oe,Q0=Br,ew={message:"must be equal to constant",params:({schemaCode:e})=>(0,Ta._)`{allowedValue: ${e}}`},tw={keyword:"const",$data:!0,error:ew,code(e){const{gen:n,data:r,$data:s,schemaCode:a,schema:l}=e;s||l&&typeof l=="object"?e.fail$data((0,Ta._)`!${(0,X0.useFunc)(n,Q0.default)}(${r}, ${a})`):e.fail((0,Ta._)`${l} !== ${r}`)}};El.default=tw;var Tl={};Object.defineProperty(Tl,"__esModule",{value:!0});const mr=Re,nw=oe,iw=Br,rw={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,mr._)`{allowedValues: ${e}}`},sw={keyword:"enum",schemaType:"array",$data:!0,error:rw,code(e){const{gen:n,data:r,$data:s,schema:a,schemaCode:l,it:u}=e;if(!s&&a.length===0)throw new Error("enum must have non-empty array");const f=a.length>=u.opts.loopEnum;let h;const p=()=>h??(h=(0,nw.useFunc)(n,iw.default));let m;if(f||s)m=n.let("valid"),e.block$data(m,_);else{if(!Array.isArray(a))throw new Error("ajv implementation error");const P=n.const("vSchema",l);m=(0,mr.or)(...a.map(($,T)=>y(P,T)))}e.pass(m);function _(){n.assign(m,!1),n.forOf("v",l,P=>n.if((0,mr._)`${p()}(${r}, ${P})`,()=>n.assign(m,!0).break()))}function y(P,$){const T=a[$];return typeof T=="object"&&T!==null?(0,mr._)`${p()}(${r}, ${P}[${$}])`:(0,mr._)`${r} === ${T}`}}};Tl.default=sw;Object.defineProperty(ml,"__esModule",{value:!0});const ow=_l,aw=gl,lw=vl,cw=wl,uw=bl,fw=Pl,hw=$l,dw=Sl,pw=El,mw=Tl,_w=[ow.default,aw.default,lw.default,cw.default,uw.default,fw.default,hw.default,dw.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},pw.default,mw.default];ml.default=_w;var xl={},qi={};Object.defineProperty(qi,"__esModule",{value:!0});qi.validateAdditionalItems=void 0;const ui=Re,xa=oe,gw={message:({params:{len:e}})=>(0,ui.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,ui._)`{limit: ${e}}`},vw={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:gw,code(e){const{parentSchema:n,it:r}=e,{items:s}=n;if(!Array.isArray(s)){(0,xa.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas');return}Td(e,s)}};function Td(e,n){const{gen:r,schema:s,data:a,keyword:l,it:u}=e;u.items=!0;const f=r.const("len",(0,ui._)`${a}.length`);if(s===!1)e.setParams({len:n.length}),e.pass((0,ui._)`${f} <= ${n.length}`);else if(typeof s=="object"&&!(0,xa.alwaysValidSchema)(u,s)){const p=r.var("valid",(0,ui._)`${f} <= ${n.length}`);r.if((0,ui.not)(p),()=>h(p)),e.ok(p)}function h(p){r.forRange("i",n.length,f,m=>{e.subschema({keyword:l,dataProp:m,dataPropType:xa.Type.Num},p),u.allErrors||r.if((0,ui.not)(p),()=>r.break())})}}qi.validateAdditionalItems=Td;qi.default=vw;var Ll={},Wi={};Object.defineProperty(Wi,"__esModule",{value:!0});Wi.validateTuple=void 0;const rf=Re,Cs=oe,yw=Oe,ww={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:n,it:r}=e;if(Array.isArray(n))return xd(e,"additionalItems",n);r.items=!0,!(0,Cs.alwaysValidSchema)(r,n)&&e.ok((0,yw.validateArray)(e))}};function xd(e,n,r=e.schema){const{gen:s,parentSchema:a,data:l,keyword:u,it:f}=e;m(a),f.opts.unevaluated&&r.length&&f.items!==!0&&(f.items=Cs.mergeEvaluated.items(s,r.length,f.items));const h=s.name("valid"),p=s.const("len",(0,rf._)`${l}.length`);r.forEach((_,y)=>{(0,Cs.alwaysValidSchema)(f,_)||(s.if((0,rf._)`${p} > ${y}`,()=>e.subschema({keyword:u,schemaProp:y,dataProp:y},h)),e.ok(h))});function m(_){const{opts:y,errSchemaPath:P}=f,$=r.length,T=$===_.minItems&&($===_.maxItems||_[n]===!1);if(y.strictTuples&&!T){const C=`"${u}" is ${$}-tuple, but minItems or maxItems/${n} are not specified or different at path "${P}"`;(0,Cs.checkStrictMode)(f,C,y.strictTuples)}}}Wi.validateTuple=xd;Wi.default=ww;Object.defineProperty(Ll,"__esModule",{value:!0});const bw=Wi,Pw={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,bw.validateTuple)(e,"items")};Ll.default=Pw;var Cl={};Object.defineProperty(Cl,"__esModule",{value:!0});const sf=Re,$w=oe,Sw=Oe,Ew=qi,Tw={message:({params:{len:e}})=>(0,sf.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,sf._)`{limit: ${e}}`},xw={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:Tw,code(e){const{schema:n,parentSchema:r,it:s}=e,{prefixItems:a}=r;s.items=!0,!(0,$w.alwaysValidSchema)(s,n)&&(a?(0,Ew.validateAdditionalItems)(e,a):e.ok((0,Sw.validateArray)(e)))}};Cl.default=xw;var kl={};Object.defineProperty(kl,"__esModule",{value:!0});const Vt=Re,gs=oe,Lw={message:({params:{min:e,max:n}})=>n===void 0?(0,Vt.str)`must contain at least ${e} valid item(s)`:(0,Vt.str)`must contain at least ${e} and no more than ${n} valid item(s)`,params:({params:{min:e,max:n}})=>n===void 0?(0,Vt._)`{minContains: ${e}}`:(0,Vt._)`{minContains: ${e}, maxContains: ${n}}`},Cw={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:Lw,code(e){const{gen:n,schema:r,parentSchema:s,data:a,it:l}=e;let u,f;const{minContains:h,maxContains:p}=s;l.opts.next?(u=h===void 0?1:h,f=p):u=1;const m=n.const("len",(0,Vt._)`${a}.length`);if(e.setParams({min:u,max:f}),f===void 0&&u===0){(0,gs.checkStrictMode)(l,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(f!==void 0&&u>f){(0,gs.checkStrictMode)(l,'"minContains" > "maxContains" is always invalid'),e.fail();return}if((0,gs.alwaysValidSchema)(l,r)){let T=(0,Vt._)`${m} >= ${u}`;f!==void 0&&(T=(0,Vt._)`${T} && ${m} <= ${f}`),e.pass(T);return}l.items=!0;const _=n.name("valid");f===void 0&&u===1?P(_,()=>n.if(_,()=>n.break())):u===0?(n.let(_,!0),f!==void 0&&n.if((0,Vt._)`${a}.length > 0`,y)):(n.let(_,!1),y()),e.result(_,()=>e.reset());function y(){const T=n.name("_valid"),C=n.let("count",0);P(T,()=>n.if(T,()=>$(C)))}function P(T,C){n.forRange("i",0,m,S=>{e.subschema({keyword:"contains",dataProp:S,dataPropType:gs.Type.Num,compositeRule:!0},T),C()})}function $(T){n.code((0,Vt._)`${T}++`),f===void 0?n.if((0,Vt._)`${T} >= ${u}`,()=>n.assign(_,!0).break()):(n.if((0,Vt._)`${T} > ${f}`,()=>n.assign(_,!1).break()),u===1?n.assign(_,!0):n.if((0,Vt._)`${T} >= ${u}`,()=>n.assign(_,!0)))}}};kl.default=Cw;var Ld={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const n=Re,r=oe,s=Oe;e.error={message:({params:{property:h,depsCount:p,deps:m}})=>{const _=p===1?"property":"properties";return(0,n.str)`must have ${_} ${m} when property ${h} is present`},params:({params:{property:h,depsCount:p,deps:m,missingProperty:_}})=>(0,n._)`{property: ${h}, + || ${u} === "boolean" || ${a} === null`).assign(f,(0,xe._)`[${a}]`)}}}function ey({gen:e,parentData:n,parentDataProperty:r},s){e.if((0,xe._)`${n} !== undefined`,()=>e.assign((0,xe._)`${n}[${r}]`,s))}function $a(e,n,r,s=ji.Correct){const a=s===ji.Correct?xe.operators.EQ:xe.operators.NEQ;let l;switch(e){case"null":return(0,xe._)`${n} ${a} null`;case"array":l=(0,xe._)`Array.isArray(${n})`;break;case"object":l=(0,xe._)`${n} && typeof ${n} == "object" && !Array.isArray(${n})`;break;case"integer":l=u((0,xe._)`!(${n} % 1) && !isNaN(${n})`);break;case"number":l=u();break;default:return(0,xe._)`typeof ${n} ${a} ${e}`}return s===ji.Correct?l:(0,xe.not)(l);function u(f=xe.nil){return(0,xe.and)((0,xe._)`typeof ${n} == "number"`,f,r?(0,xe._)`isFinite(${n})`:xe.nil)}}ot.checkDataType=$a;function tl(e,n,r,s){if(e.length===1)return $a(e[0],n,r,s);let a;const l=(0,td.toHash)(e);if(l.array&&l.object){const u=(0,xe._)`typeof ${n} != "object"`;a=l.null?u:(0,xe._)`!${n} || ${u}`,delete l.null,delete l.array,delete l.object}else a=xe.nil;l.number&&delete l.integer;for(const u in l)a=(0,xe.and)(a,$a(u,n,r,s));return a}ot.checkDataTypes=tl;const ty={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:n})=>typeof e=="string"?(0,xe._)`{type: ${e}}`:(0,xe._)`{type: ${n}}`};function nl(e){const n=ny(e);(0,Gv.reportError)(n,ty)}ot.reportTypeError=nl;function ny(e){const{gen:n,data:r,schema:s}=e,a=(0,td.schemaRefOrVal)(e,s,"type");return{gen:n,keyword:"type",data:r,schema:s.type,schemaCode:a,schemaValue:a,parentSchema:s,params:{},it:e}}var ur={},Hu;function iy(){if(Hu)return ur;Hu=1,Object.defineProperty(ur,"__esModule",{value:!0}),ur.assignDefaults=void 0;const e=Re,n=oe;function r(a,l){const{properties:u,items:f}=a.schema;if(l==="object"&&u)for(const h in u)s(a,h,u[h].default);else l==="array"&&Array.isArray(f)&&f.forEach((h,p)=>s(a,p,h.default))}ur.assignDefaults=r;function s(a,l,u){const{gen:f,compositeRule:h,data:p,opts:m}=a;if(u===void 0)return;const _=(0,e._)`${p}${(0,e.getProperty)(l)}`;if(h){(0,n.checkStrictMode)(a,`default is ignored for: ${_}`);return}let y=(0,e._)`${_} === undefined`;m.useDefaults==="empty"&&(y=(0,e._)`${y} || ${_} === null || ${_} === ""`),f.if(y,(0,e._)`${_} = ${(0,e.stringify)(u)}`)}return ur}var Wt={},Oe={};Object.defineProperty(Oe,"__esModule",{value:!0});Oe.validateUnion=Oe.validateArray=Oe.usePattern=Oe.callValidateCode=Oe.schemaProperties=Oe.allSchemaProperties=Oe.noPropertyInData=Oe.propertyInData=Oe.isOwnProperty=Oe.hasPropFunc=Oe.reportMissingProp=Oe.checkMissingProp=Oe.checkReportMissingProp=void 0;const qe=Re,il=oe,Dn=pn,ry=oe;function sy(e,n){const{gen:r,data:s,it:a}=e;r.if(sl(r,s,n,a.opts.ownProperties),()=>{e.setParams({missingProperty:(0,qe._)`${n}`},!0),e.error()})}Oe.checkReportMissingProp=sy;function oy({gen:e,data:n,it:{opts:r}},s,a){return(0,qe.or)(...s.map(l=>(0,qe.and)(sl(e,n,l,r.ownProperties),(0,qe._)`${a} = ${l}`)))}Oe.checkMissingProp=oy;function ay(e,n){e.setParams({missingProperty:n},!0),e.error()}Oe.reportMissingProp=ay;function rd(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,qe._)`Object.prototype.hasOwnProperty`})}Oe.hasPropFunc=rd;function rl(e,n,r){return(0,qe._)`${rd(e)}.call(${n}, ${r})`}Oe.isOwnProperty=rl;function ly(e,n,r,s){const a=(0,qe._)`${n}${(0,qe.getProperty)(r)} !== undefined`;return s?(0,qe._)`${a} && ${rl(e,n,r)}`:a}Oe.propertyInData=ly;function sl(e,n,r,s){const a=(0,qe._)`${n}${(0,qe.getProperty)(r)} === undefined`;return s?(0,qe.or)(a,(0,qe.not)(rl(e,n,r))):a}Oe.noPropertyInData=sl;function sd(e){return e?Object.keys(e).filter(n=>n!=="__proto__"):[]}Oe.allSchemaProperties=sd;function cy(e,n){return sd(n).filter(r=>!(0,il.alwaysValidSchema)(e,n[r]))}Oe.schemaProperties=cy;function uy({schemaCode:e,data:n,it:{gen:r,topSchemaRef:s,schemaPath:a,errorPath:l},it:u},f,h,p){const m=p?(0,qe._)`${e}, ${n}, ${s}${a}`:n,_=[[Dn.default.instancePath,(0,qe.strConcat)(Dn.default.instancePath,l)],[Dn.default.parentData,u.parentData],[Dn.default.parentDataProperty,u.parentDataProperty],[Dn.default.rootData,Dn.default.rootData]];u.opts.dynamicRef&&_.push([Dn.default.dynamicAnchors,Dn.default.dynamicAnchors]);const y=(0,qe._)`${m}, ${r.object(..._)}`;return h!==qe.nil?(0,qe._)`${f}.call(${h}, ${y})`:(0,qe._)`${f}(${y})`}Oe.callValidateCode=uy;const fy=(0,qe._)`new RegExp`;function hy({gen:e,it:{opts:n}},r){const s=n.unicodeRegExp?"u":"",{regExp:a}=n.code,l=a(r,s);return e.scopeValue("pattern",{key:l.toString(),ref:l,code:(0,qe._)`${a.code==="new RegExp"?fy:(0,ry.useFunc)(e,a)}(${r}, ${s})`})}Oe.usePattern=hy;function dy(e){const{gen:n,data:r,keyword:s,it:a}=e,l=n.name("valid");if(a.allErrors){const f=n.let("valid",!0);return u(()=>n.assign(f,!1)),f}return n.var(l,!0),u(()=>n.break()),l;function u(f){const h=n.const("len",(0,qe._)`${r}.length`);n.forRange("i",0,h,p=>{e.subschema({keyword:s,dataProp:p,dataPropType:il.Type.Num},l),n.if((0,qe.not)(l),f)})}}Oe.validateArray=dy;function py(e){const{gen:n,schema:r,keyword:s,it:a}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(r.some(h=>(0,il.alwaysValidSchema)(a,h))&&!a.opts.unevaluated)return;const u=n.let("valid",!1),f=n.name("_valid");n.block(()=>r.forEach((h,p)=>{const m=e.subschema({keyword:s,schemaProp:p,compositeRule:!0},f);n.assign(u,(0,qe._)`${u} || ${f}`),e.mergeValidEvaluated(m,f)||n.if((0,qe.not)(u))})),e.result(u,()=>e.reset(),()=>e.error(!0))}Oe.validateUnion=py;var Uu;function my(){if(Uu)return Wt;Uu=1,Object.defineProperty(Wt,"__esModule",{value:!0}),Wt.validateKeywordUsage=Wt.validSchemaType=Wt.funcKeywordCode=Wt.macroKeywordCode=void 0;const e=Re,n=pn,r=Oe,s=jr;function a(y,P){const{gen:S,keyword:T,schema:C,parentSchema:$,it:R}=y,j=P.macro.call(R.self,C,$,R),B=p(S,T,j);R.opts.validateSchema!==!1&&R.self.validateSchema(j,!0);const G=S.name("valid");y.subschema({schema:j,schemaPath:e.nil,errSchemaPath:`${R.errSchemaPath}/${T}`,topSchemaRef:B,compositeRule:!0},G),y.pass(G,()=>y.error(!0))}Wt.macroKeywordCode=a;function l(y,P){var S;const{gen:T,keyword:C,schema:$,parentSchema:R,$data:j,it:B}=y;h(B,P);const G=!j&&P.compile?P.compile.call(B.self,$,R,B):P.validate,le=p(T,C,G),ue=T.let("valid");y.block$data(ue,Me),y.ok((S=P.valid)!==null&&S!==void 0?S:ue);function Me(){if(P.errors===!1)me(),P.modifying&&u(y),ne(()=>y.error());else{const pe=P.async?fe():we();P.modifying&&u(y),ne(()=>f(y,pe))}}function fe(){const pe=T.let("ruleErrs",null);return T.try(()=>me((0,e._)`await `),_e=>T.assign(ue,!1).if((0,e._)`${_e} instanceof ${B.ValidationError}`,()=>T.assign(pe,(0,e._)`${_e}.errors`),()=>T.throw(_e))),pe}function we(){const pe=(0,e._)`${le}.errors`;return T.assign(pe,null),me(e.nil),pe}function me(pe=P.async?(0,e._)`await `:e.nil){const _e=B.opts.passContext?n.default.this:n.default.self,Ge=!("compile"in P&&!j||P.schema===!1);T.assign(ue,(0,e._)`${pe}${(0,r.callValidateCode)(y,le,_e,Ge)}`,P.modifying)}function ne(pe){var _e;T.if((0,e.not)((_e=P.valid)!==null&&_e!==void 0?_e:ue),pe)}}Wt.funcKeywordCode=l;function u(y){const{gen:P,data:S,it:T}=y;P.if(T.parentData,()=>P.assign(S,(0,e._)`${T.parentData}[${T.parentDataProperty}]`))}function f(y,P){const{gen:S}=y;S.if((0,e._)`Array.isArray(${P})`,()=>{S.assign(n.default.vErrors,(0,e._)`${n.default.vErrors} === null ? ${P} : ${n.default.vErrors}.concat(${P})`).assign(n.default.errors,(0,e._)`${n.default.vErrors}.length`),(0,s.extendErrors)(y)},()=>y.error())}function h({schemaEnv:y},P){if(P.async&&!y.$async)throw new Error("async keyword in sync schema")}function p(y,P,S){if(S===void 0)throw new Error(`keyword "${P}" failed to compile`);return y.scopeValue("keyword",typeof S=="function"?{ref:S}:{ref:S,code:(0,e.stringify)(S)})}function m(y,P,S=!1){return!P.length||P.some(T=>T==="array"?Array.isArray(y):T==="object"?y&&typeof y=="object"&&!Array.isArray(y):typeof y==T||S&&typeof y>"u")}Wt.validSchemaType=m;function _({schema:y,opts:P,self:S,errSchemaPath:T},C,$){if(Array.isArray(C.keyword)?!C.keyword.includes($):C.keyword!==$)throw new Error("ajv implementation error");const R=C.dependencies;if(R!=null&&R.some(j=>!Object.prototype.hasOwnProperty.call(y,j)))throw new Error(`parent schema must have dependencies of ${$}: ${R.join(",")}`);if(C.validateSchema&&!C.validateSchema(y[$])){const B=`keyword "${$}" value is invalid at path "${T}": `+S.errorsText(C.validateSchema.errors);if(P.validateSchema==="log")S.logger.error(B);else throw new Error(B)}}return Wt.validateKeywordUsage=_,Wt}var $n={},qu;function _y(){if(qu)return $n;qu=1,Object.defineProperty($n,"__esModule",{value:!0}),$n.extendSubschemaMode=$n.extendSubschemaData=$n.getSubschema=void 0;const e=Re,n=oe;function r(l,{keyword:u,schemaProp:f,schema:h,schemaPath:p,errSchemaPath:m,topSchemaRef:_}){if(u!==void 0&&h!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(u!==void 0){const y=l.schema[u];return f===void 0?{schema:y,schemaPath:(0,e._)`${l.schemaPath}${(0,e.getProperty)(u)}`,errSchemaPath:`${l.errSchemaPath}/${u}`}:{schema:y[f],schemaPath:(0,e._)`${l.schemaPath}${(0,e.getProperty)(u)}${(0,e.getProperty)(f)}`,errSchemaPath:`${l.errSchemaPath}/${u}/${(0,n.escapeFragment)(f)}`}}if(h!==void 0){if(p===void 0||m===void 0||_===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:h,schemaPath:p,topSchemaRef:_,errSchemaPath:m}}throw new Error('either "keyword" or "schema" must be passed')}$n.getSubschema=r;function s(l,u,{dataProp:f,dataPropType:h,data:p,dataTypes:m,propertyName:_}){if(p!==void 0&&f!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:y}=u;if(f!==void 0){const{errorPath:S,dataPathArr:T,opts:C}=u,$=y.let("data",(0,e._)`${u.data}${(0,e.getProperty)(f)}`,!0);P($),l.errorPath=(0,e.str)`${S}${(0,n.getErrorPath)(f,h,C.jsPropertySyntax)}`,l.parentDataProperty=(0,e._)`${f}`,l.dataPathArr=[...T,l.parentDataProperty]}if(p!==void 0){const S=p instanceof e.Name?p:y.let("data",p,!0);P(S),_!==void 0&&(l.propertyName=_)}m&&(l.dataTypes=m);function P(S){l.data=S,l.dataLevel=u.dataLevel+1,l.dataTypes=[],u.definedProperties=new Set,l.parentData=u.data,l.dataNames=[...u.dataNames,S]}}$n.extendSubschemaData=s;function a(l,{jtdDiscriminator:u,jtdMetadata:f,compositeRule:h,createErrors:p,allErrors:m}){h!==void 0&&(l.compositeRule=h),p!==void 0&&(l.createErrors=p),m!==void 0&&(l.allErrors=m),l.jtdDiscriminator=u,l.jtdMetadata=f}return $n.extendSubschemaMode=a,$n}var _t={},od=function e(n,r){if(n===r)return!0;if(n&&r&&typeof n=="object"&&typeof r=="object"){if(n.constructor!==r.constructor)return!1;var s,a,l;if(Array.isArray(n)){if(s=n.length,s!=r.length)return!1;for(a=s;a--!==0;)if(!e(n[a],r[a]))return!1;return!0}if(n.constructor===RegExp)return n.source===r.source&&n.flags===r.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===r.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===r.toString();if(l=Object.keys(n),s=l.length,s!==Object.keys(r).length)return!1;for(a=s;a--!==0;)if(!Object.prototype.hasOwnProperty.call(r,l[a]))return!1;for(a=s;a--!==0;){var u=l[a];if(!e(n[u],r[u]))return!1}return!0}return n!==n&&r!==r},ad={exports:{}},Hn=ad.exports=function(e,n,r){typeof n=="function"&&(r=n,n={}),r=n.cb||r;var s=typeof r=="function"?r:r.pre||function(){},a=r.post||function(){};Ts(n,s,a,e,"",e)};Hn.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Hn.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Hn.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Hn.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function Ts(e,n,r,s,a,l,u,f,h,p){if(s&&typeof s=="object"&&!Array.isArray(s)){n(s,a,l,u,f,h,p);for(var m in s){var _=s[m];if(Array.isArray(_)){if(m in Hn.arrayKeywords)for(var y=0;y<_.length;y++)Ts(e,n,r,_[y],a+"/"+m+"/"+y,l,a,m,s,y)}else if(m in Hn.propsKeywords){if(_&&typeof _=="object")for(var P in _)Ts(e,n,r,_[P],a+"/"+m+"/"+gy(P),l,a,m,s,P)}else(m in Hn.keywords||e.allKeys&&!(m in Hn.skipKeywords))&&Ts(e,n,r,_,a+"/"+m,l,a,m,s)}r(s,a,l,u,f,h,p)}}function gy(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}var vy=ad.exports;Object.defineProperty(_t,"__esModule",{value:!0});_t.getSchemaRefs=_t.resolveUrl=_t.normalizeId=_t._getFullPath=_t.getFullPath=_t.inlineRef=void 0;const yy=oe,wy=od,by=vy,Py=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function $y(e,n=!0){return typeof e=="boolean"?!0:n===!0?!Sa(e):n?ld(e)<=n:!1}_t.inlineRef=$y;const Sy=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function Sa(e){for(const n in e){if(Sy.has(n))return!0;const r=e[n];if(Array.isArray(r)&&r.some(Sa)||typeof r=="object"&&Sa(r))return!0}return!1}function ld(e){let n=0;for(const r in e){if(r==="$ref")return 1/0;if(n++,!Py.has(r)&&(typeof e[r]=="object"&&(0,yy.eachItem)(e[r],s=>n+=ld(s)),n===1/0))return 1/0}return n}function cd(e,n="",r){r!==!1&&(n=Bi(n));const s=e.parse(n);return ud(e,s)}_t.getFullPath=cd;function ud(e,n){return e.serialize(n).split("#")[0]+"#"}_t._getFullPath=ud;const Ey=/#\/?$/;function Bi(e){return e?e.replace(Ey,""):""}_t.normalizeId=Bi;function Ty(e,n,r){return r=Bi(r),e.resolve(n,r)}_t.resolveUrl=Ty;const xy=/^[a-z_][-a-z0-9._]*$/i;function Ly(e,n){if(typeof e=="boolean")return{};const{schemaId:r,uriResolver:s}=this.opts,a=Bi(e[r]||n),l={"":a},u=cd(s,a,!1),f={},h=new Set;return by(e,{allKeys:!0},(_,y,P,S)=>{if(S===void 0)return;const T=u+y;let C=l[S];typeof _[r]=="string"&&(C=$.call(this,_[r])),R.call(this,_.$anchor),R.call(this,_.$dynamicAnchor),l[y]=C;function $(j){const B=this.opts.uriResolver.resolve;if(j=Bi(C?B(C,j):j),h.has(j))throw m(j);h.add(j);let G=this.refs[j];return typeof G=="string"&&(G=this.refs[G]),typeof G=="object"?p(_,G.schema,j):j!==Bi(T)&&(j[0]==="#"?(p(_,f[j],j),f[j]=_):this.refs[j]=T),j}function R(j){if(typeof j=="string"){if(!xy.test(j))throw new Error(`invalid anchor "${j}"`);$.call(this,`#${j}`)}}}),f;function p(_,y,P){if(y!==void 0&&!wy(_,y))throw m(P)}function m(_){return new Error(`reference "${_}" resolves to more than one schema`)}}_t.getSchemaRefs=Ly;var Wu;function io(){if(Wu)return Pn;Wu=1,Object.defineProperty(Pn,"__esModule",{value:!0}),Pn.getData=Pn.KeywordCxt=Pn.validateFunctionCode=void 0;const e=Zv(),n=ot,r=Ln,s=ot,a=iy(),l=my(),u=_y(),f=Re,h=pn,p=_t,m=oe,_=jr;function y(k){if(G(k)&&(ue(k),B(k))){C(k);return}P(k,()=>(0,e.topBoolOrEmptySchema)(k))}Pn.validateFunctionCode=y;function P({gen:k,validateName:A,schema:g,schemaEnv:b,opts:O},F){O.code.es5?k.func(A,(0,f._)`${h.default.data}, ${h.default.valCxt}`,b.$async,()=>{k.code((0,f._)`"use strict"; ${R(g,O)}`),T(k,O),k.code(F)}):k.func(A,(0,f._)`${h.default.data}, ${S(O)}`,b.$async,()=>k.code(R(g,O)).code(F))}function S(k){return(0,f._)`{${h.default.instancePath}="", ${h.default.parentData}, ${h.default.parentDataProperty}, ${h.default.rootData}=${h.default.data}${k.dynamicRef?(0,f._)`, ${h.default.dynamicAnchors}={}`:f.nil}}={}`}function T(k,A){k.if(h.default.valCxt,()=>{k.var(h.default.instancePath,(0,f._)`${h.default.valCxt}.${h.default.instancePath}`),k.var(h.default.parentData,(0,f._)`${h.default.valCxt}.${h.default.parentData}`),k.var(h.default.parentDataProperty,(0,f._)`${h.default.valCxt}.${h.default.parentDataProperty}`),k.var(h.default.rootData,(0,f._)`${h.default.valCxt}.${h.default.rootData}`),A.dynamicRef&&k.var(h.default.dynamicAnchors,(0,f._)`${h.default.valCxt}.${h.default.dynamicAnchors}`)},()=>{k.var(h.default.instancePath,(0,f._)`""`),k.var(h.default.parentData,(0,f._)`undefined`),k.var(h.default.parentDataProperty,(0,f._)`undefined`),k.var(h.default.rootData,h.default.data),A.dynamicRef&&k.var(h.default.dynamicAnchors,(0,f._)`{}`)})}function C(k){const{schema:A,opts:g,gen:b}=k;P(k,()=>{g.$comment&&A.$comment&&pe(k),we(k),b.let(h.default.vErrors,null),b.let(h.default.errors,0),g.unevaluated&&$(k),Me(k),_e(k)})}function $(k){const{gen:A,validateName:g}=k;k.evaluated=A.const("evaluated",(0,f._)`${g}.evaluated`),A.if((0,f._)`${k.evaluated}.dynamicProps`,()=>A.assign((0,f._)`${k.evaluated}.props`,(0,f._)`undefined`)),A.if((0,f._)`${k.evaluated}.dynamicItems`,()=>A.assign((0,f._)`${k.evaluated}.items`,(0,f._)`undefined`))}function R(k,A){const g=typeof k=="object"&&k[A.schemaId];return g&&(A.code.source||A.code.process)?(0,f._)`/*# sourceURL=${g} */`:f.nil}function j(k,A){if(G(k)&&(ue(k),B(k))){le(k,A);return}(0,e.boolOrEmptySchema)(k,A)}function B({schema:k,self:A}){if(typeof k=="boolean")return!k;for(const g in k)if(A.RULES.all[g])return!0;return!1}function G(k){return typeof k.schema!="boolean"}function le(k,A){const{schema:g,gen:b,opts:O}=k;O.$comment&&g.$comment&&pe(k),me(k),ne(k);const F=b.const("_errs",h.default.errors);Me(k,F),b.var(A,(0,f._)`${F} === ${h.default.errors}`)}function ue(k){(0,m.checkUnknownRules)(k),fe(k)}function Me(k,A){if(k.opts.jtd)return $e(k,[],!1,A);const g=(0,n.getSchemaTypes)(k.schema),b=(0,n.coerceAndCheckDataType)(k,g);$e(k,g,!b,A)}function fe(k){const{schema:A,errSchemaPath:g,opts:b,self:O}=k;A.$ref&&b.ignoreKeywordsWithRef&&(0,m.schemaHasRulesButRef)(A,O.RULES)&&O.logger.warn(`$ref: keywords ignored in schema at path "${g}"`)}function we(k){const{schema:A,opts:g}=k;A.default!==void 0&&g.useDefaults&&g.strictSchema&&(0,m.checkStrictMode)(k,"default is ignored in the schema root")}function me(k){const A=k.schema[k.opts.schemaId];A&&(k.baseId=(0,p.resolveUrl)(k.opts.uriResolver,k.baseId,A))}function ne(k){if(k.schema.$async&&!k.schemaEnv.$async)throw new Error("async schema in sync schema")}function pe({gen:k,schemaEnv:A,schema:g,errSchemaPath:b,opts:O}){const F=g.$comment;if(O.$comment===!0)k.code((0,f._)`${h.default.self}.logger.log(${F})`);else if(typeof O.$comment=="function"){const V=(0,f.str)`${b}/$comment`,W=k.scopeValue("root",{ref:A.root});k.code((0,f._)`${h.default.self}.opts.$comment(${F}, ${V}, ${W}.schema)`)}}function _e(k){const{gen:A,schemaEnv:g,validateName:b,ValidationError:O,opts:F}=k;g.$async?A.if((0,f._)`${h.default.errors} === 0`,()=>A.return(h.default.data),()=>A.throw((0,f._)`new ${O}(${h.default.vErrors})`)):(A.assign((0,f._)`${b}.errors`,h.default.vErrors),F.unevaluated&&Ge(k),A.return((0,f._)`${h.default.errors} === 0`))}function Ge({gen:k,evaluated:A,props:g,items:b}){g instanceof f.Name&&k.assign((0,f._)`${A}.props`,g),b instanceof f.Name&&k.assign((0,f._)`${A}.items`,b)}function $e(k,A,g,b){const{gen:O,schema:F,data:V,allErrors:W,opts:te,self:ee}=k,{RULES:Y}=ee;if(F.$ref&&(te.ignoreKeywordsWithRef||!(0,m.schemaHasRulesButRef)(F,Y))){O.block(()=>I(k,"$ref",Y.all.$ref.definition));return}te.jtd||ie(k,A),O.block(()=>{for(const ae of Y.rules)X(ae);X(Y.post)});function X(ae){(0,r.shouldUseGroup)(F,ae)&&(ae.type?(O.if((0,s.checkDataType)(ae.type,V,te.strictNumbers)),Ee(k,ae),A.length===1&&A[0]===ae.type&&g&&(O.else(),(0,s.reportTypeError)(k)),O.endIf()):Ee(k,ae),W||O.if((0,f._)`${h.default.errors} === ${b||0}`))}}function Ee(k,A){const{gen:g,schema:b,opts:{useDefaults:O}}=k;O&&(0,a.assignDefaults)(k,A.type),g.block(()=>{for(const F of A.rules)(0,r.shouldUseRule)(b,F)&&I(k,F.keyword,F.definition,A.type)})}function ie(k,A){k.schemaEnv.meta||!k.opts.strictTypes||(rt(k,A),k.opts.allowUnionTypes||U(k,A),M(k,k.dataTypes))}function rt(k,A){if(A.length){if(!k.dataTypes.length){k.dataTypes=A;return}A.forEach(g=>{z(k.dataTypes,g)||E(k,`type "${g}" not allowed by context "${k.dataTypes.join(",")}"`)}),w(k,A)}}function U(k,A){A.length>1&&!(A.length===2&&A.includes("null"))&&E(k,"use allowUnionTypes to allow union type keyword")}function M(k,A){const g=k.self.RULES.all;for(const b in g){const O=g[b];if(typeof O=="object"&&(0,r.shouldUseRule)(k.schema,O)){const{type:F}=O.definition;F.length&&!F.some(V=>q(A,V))&&E(k,`missing type "${F.join(",")}" for keyword "${b}"`)}}}function q(k,A){return k.includes(A)||A==="number"&&k.includes("integer")}function z(k,A){return k.includes(A)||A==="integer"&&k.includes("number")}function w(k,A){const g=[];for(const b of k.dataTypes)z(A,b)?g.push(b):A.includes("integer")&&b==="number"&&g.push("integer");k.dataTypes=g}function E(k,A){const g=k.schemaEnv.baseId+k.errSchemaPath;A+=` at "${g}" (strictTypes)`,(0,m.checkStrictMode)(k,A,k.opts.strictTypes)}class N{constructor(A,g,b){if((0,l.validateKeywordUsage)(A,g,b),this.gen=A.gen,this.allErrors=A.allErrors,this.keyword=b,this.data=A.data,this.schema=A.schema[b],this.$data=g.$data&&A.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,m.schemaRefOrVal)(A,this.schema,b,this.$data),this.schemaType=g.schemaType,this.parentSchema=A.schema,this.params={},this.it=A,this.def=g,this.$data)this.schemaCode=A.gen.const("vSchema",Q(this.$data,A));else if(this.schemaCode=this.schemaValue,!(0,l.validSchemaType)(this.schema,g.schemaType,g.allowUndefined))throw new Error(`${b} value must be ${JSON.stringify(g.schemaType)}`);("code"in g?g.trackErrors:g.errors!==!1)&&(this.errsCount=A.gen.const("_errs",h.default.errors))}result(A,g,b){this.failResult((0,f.not)(A),g,b)}failResult(A,g,b){this.gen.if(A),b?b():this.error(),g?(this.gen.else(),g(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(A,g){this.failResult((0,f.not)(A),void 0,g)}fail(A){if(A===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(A),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(A){if(!this.$data)return this.fail(A);const{schemaCode:g}=this;this.fail((0,f._)`${g} !== undefined && (${(0,f.or)(this.invalid$data(),A)})`)}error(A,g,b){if(g){this.setParams(g),this._error(A,b),this.setParams({});return}this._error(A,b)}_error(A,g){(A?_.reportExtraError:_.reportError)(this,this.def.error,g)}$dataError(){(0,_.reportError)(this,this.def.$dataError||_.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,_.resetErrorsCount)(this.gen,this.errsCount)}ok(A){this.allErrors||this.gen.if(A)}setParams(A,g){g?Object.assign(this.params,A):this.params=A}block$data(A,g,b=f.nil){this.gen.block(()=>{this.check$data(A,b),g()})}check$data(A=f.nil,g=f.nil){if(!this.$data)return;const{gen:b,schemaCode:O,schemaType:F,def:V}=this;b.if((0,f.or)((0,f._)`${O} === undefined`,g)),A!==f.nil&&b.assign(A,!0),(F.length||V.validateSchema)&&(b.elseIf(this.invalid$data()),this.$dataError(),A!==f.nil&&b.assign(A,!1)),b.else()}invalid$data(){const{gen:A,schemaCode:g,schemaType:b,def:O,it:F}=this;return(0,f.or)(V(),W());function V(){if(b.length){if(!(g instanceof f.Name))throw new Error("ajv implementation error");const te=Array.isArray(b)?b:[b];return(0,f._)`${(0,s.checkDataTypes)(te,g,F.opts.strictNumbers,s.DataType.Wrong)}`}return f.nil}function W(){if(O.validateSchema){const te=A.scopeValue("validate$data",{ref:O.validateSchema});return(0,f._)`!${te}(${g})`}return f.nil}}subschema(A,g){const b=(0,u.getSubschema)(this.it,A);(0,u.extendSubschemaData)(b,this.it,A),(0,u.extendSubschemaMode)(b,A);const O={...this.it,...b,items:void 0,props:void 0};return j(O,g),O}mergeEvaluated(A,g){const{it:b,gen:O}=this;b.opts.unevaluated&&(b.props!==!0&&A.props!==void 0&&(b.props=m.mergeEvaluated.props(O,A.props,b.props,g)),b.items!==!0&&A.items!==void 0&&(b.items=m.mergeEvaluated.items(O,A.items,b.items,g)))}mergeValidEvaluated(A,g){const{it:b,gen:O}=this;if(b.opts.unevaluated&&(b.props!==!0||b.items!==!0))return O.if(g,()=>this.mergeEvaluated(A,f.Name)),!0}}Pn.KeywordCxt=N;function I(k,A,g,b){const O=new N(k,g,A);"code"in g?g.code(O,b):O.$data&&g.validate?(0,l.funcKeywordCode)(O,g):"macro"in g?(0,l.macroKeywordCode)(O,g):(g.compile||g.validate)&&(0,l.funcKeywordCode)(O,g)}const H=/^\/(?:[^~]|~0|~1)*$/,K=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Q(k,{dataLevel:A,dataNames:g,dataPathArr:b}){let O,F;if(k==="")return h.default.rootData;if(k[0]==="/"){if(!H.test(k))throw new Error(`Invalid JSON-pointer: ${k}`);O=k,F=h.default.rootData}else{const ee=K.exec(k);if(!ee)throw new Error(`Invalid JSON-pointer: ${k}`);const Y=+ee[1];if(O=ee[2],O==="#"){if(Y>=A)throw new Error(te("property/index",Y));return b[A-Y]}if(Y>A)throw new Error(te("data",Y));if(F=g[A-Y],!O)return F}let V=F;const W=O.split("/");for(const ee of W)ee&&(F=(0,f._)`${F}${(0,f.getProperty)((0,m.unescapeJsonPointer)(ee))}`,V=(0,f._)`${V} && ${F}`);return V;function te(ee,Y){return`Cannot access ${ee} ${Y} levels up, current level is ${A}`}}return Pn.getData=Q,Pn}var Br={};Object.defineProperty(Br,"__esModule",{value:!0});class Cy extends Error{constructor(n){super("validation failed"),this.errors=n,this.ajv=this.validation=!0}}Br.default=Cy;var Ui={};Object.defineProperty(Ui,"__esModule",{value:!0});const Qo=_t;class ky extends Error{constructor(n,r,s,a){super(a||`can't resolve reference ${s} from id ${r}`),this.missingRef=(0,Qo.resolveUrl)(n,r,s),this.missingSchema=(0,Qo.normalizeId)((0,Qo.getFullPath)(n,this.missingRef))}}Ui.default=ky;var It={};Object.defineProperty(It,"__esModule",{value:!0});It.resolveSchema=It.getCompilingSchema=It.resolveRef=It.compileSchema=It.SchemaEnv=void 0;const Kt=Re,Oy=Br,oi=pn,Jt=_t,Ku=oe,Ry=io();class ro{constructor(n){var r;this.refs={},this.dynamicAnchors={};let s;typeof n.schema=="object"&&(s=n.schema),this.schema=n.schema,this.schemaId=n.schemaId,this.root=n.root||this,this.baseId=(r=n.baseId)!==null&&r!==void 0?r:(0,Jt.normalizeId)(s==null?void 0:s[n.schemaId||"$id"]),this.schemaPath=n.schemaPath,this.localRefs=n.localRefs,this.meta=n.meta,this.$async=s==null?void 0:s.$async,this.refs={}}}It.SchemaEnv=ro;function ol(e){const n=fd.call(this,e);if(n)return n;const r=(0,Jt.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:s,lines:a}=this.opts.code,{ownProperties:l}=this.opts,u=new Kt.CodeGen(this.scope,{es5:s,lines:a,ownProperties:l});let f;e.$async&&(f=u.scopeValue("Error",{ref:Oy.default,code:(0,Kt._)`require("ajv/dist/runtime/validation_error").default`}));const h=u.scopeName("validate");e.validateName=h;const p={gen:u,allErrors:this.opts.allErrors,data:oi.default.data,parentData:oi.default.parentData,parentDataProperty:oi.default.parentDataProperty,dataNames:[oi.default.data],dataPathArr:[Kt.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:u.scopeValue("schema",this.opts.code.source===!0?{ref:e.schema,code:(0,Kt.stringify)(e.schema)}:{ref:e.schema}),validateName:h,ValidationError:f,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:Kt.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,Kt._)`""`,opts:this.opts,self:this};let m;try{this._compilations.add(e),(0,Ry.validateFunctionCode)(p),u.optimize(this.opts.code.optimize);const _=u.toString();m=`${u.scopeRefs(oi.default.scope)}return ${_}`,this.opts.code.process&&(m=this.opts.code.process(m,e));const P=new Function(`${oi.default.self}`,`${oi.default.scope}`,m)(this,this.scope.get());if(this.scope.value(h,{ref:P}),P.errors=null,P.schema=e.schema,P.schemaEnv=e,e.$async&&(P.$async=!0),this.opts.code.source===!0&&(P.source={validateName:h,validateCode:_,scopeValues:u._values}),this.opts.unevaluated){const{props:S,items:T}=p;P.evaluated={props:S instanceof Kt.Name?void 0:S,items:T instanceof Kt.Name?void 0:T,dynamicProps:S instanceof Kt.Name,dynamicItems:T instanceof Kt.Name},P.source&&(P.source.evaluated=(0,Kt.stringify)(P.evaluated))}return e.validate=P,e}catch(_){throw delete e.validate,delete e.validateName,m&&this.logger.error("Error compiling schema, function code:",m),_}finally{this._compilations.delete(e)}}It.compileSchema=ol;function My(e,n,r){var s;r=(0,Jt.resolveUrl)(this.opts.uriResolver,n,r);const a=e.refs[r];if(a)return a;let l=Ny.call(this,e,r);if(l===void 0){const u=(s=e.localRefs)===null||s===void 0?void 0:s[r],{schemaId:f}=this.opts;u&&(l=new ro({schema:u,schemaId:f,root:e,baseId:n}))}if(l!==void 0)return e.refs[r]=Iy.call(this,l)}It.resolveRef=My;function Iy(e){return(0,Jt.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:ol.call(this,e)}function fd(e){for(const n of this._compilations)if(Ay(n,e))return n}It.getCompilingSchema=fd;function Ay(e,n){return e.schema===n.schema&&e.root===n.root&&e.baseId===n.baseId}function Ny(e,n){let r;for(;typeof(r=this.refs[n])=="string";)n=r;return r||this.schemas[n]||so.call(this,e,n)}function so(e,n){const r=this.opts.uriResolver.parse(n),s=(0,Jt._getFullPath)(this.opts.uriResolver,r);let a=(0,Jt.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&s===a)return ea.call(this,r,e);const l=(0,Jt.normalizeId)(s),u=this.refs[l]||this.schemas[l];if(typeof u=="string"){const f=so.call(this,e,u);return typeof(f==null?void 0:f.schema)!="object"?void 0:ea.call(this,r,f)}if(typeof(u==null?void 0:u.schema)=="object"){if(u.validate||ol.call(this,u),l===(0,Jt.normalizeId)(n)){const{schema:f}=u,{schemaId:h}=this.opts,p=f[h];return p&&(a=(0,Jt.resolveUrl)(this.opts.uriResolver,a,p)),new ro({schema:f,schemaId:h,root:e,baseId:a})}return ea.call(this,r,u)}}It.resolveSchema=so;const zy=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function ea(e,{baseId:n,schema:r,root:s}){var a;if(((a=e.fragment)===null||a===void 0?void 0:a[0])!=="/")return;for(const f of e.fragment.slice(1).split("/")){if(typeof r=="boolean")return;const h=r[(0,Ku.unescapeFragment)(f)];if(h===void 0)return;r=h;const p=typeof r=="object"&&r[this.opts.schemaId];!zy.has(f)&&p&&(n=(0,Jt.resolveUrl)(this.opts.uriResolver,n,p))}let l;if(typeof r!="boolean"&&r.$ref&&!(0,Ku.schemaHasRulesButRef)(r,this.RULES)){const f=(0,Jt.resolveUrl)(this.opts.uriResolver,n,r.$ref);l=so.call(this,s,f)}const{schemaId:u}=this.opts;if(l=l||new ro({schema:r,schemaId:u,root:s,baseId:n}),l.schema!==l.root.schema)return l}const Dy="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",jy="Meta-schema for $data reference (JSON AnySchema extension proposal)",By="object",Zy=["$data"],Fy={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Vy=!1,Hy={$id:Dy,description:jy,type:By,required:Zy,properties:Fy,additionalProperties:Vy};var al={},oo={exports:{}};const Uy={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};var qy={HEX:Uy};const{HEX:Wy}=qy;function hd(e){if(pd(e,".")<3)return{host:e,isIPV4:!1};const n=e.match(/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/u)||[],[r]=n;return r?{host:Gy(r,"."),isIPV4:!0}:{host:e,isIPV4:!1}}function Ea(e,n=!1){let r="",s=!0;for(const a of e){if(Wy[a]===void 0)return;a!=="0"&&s===!0&&(s=!1),s||(r+=a)}return n&&r.length===0&&(r="0"),r}function Ky(e){let n=0;const r={error:!1,address:"",zone:""},s=[],a=[];let l=!1,u=!1,f=!1;function h(){if(a.length){if(l===!1){const p=Ea(a);if(p!==void 0)s.push(p);else return r.error=!0,!1}a.length=0}return!0}for(let p=0;p7){r.error=!0;break}p-1>=0&&e[p-1]===":"&&(u=!0);continue}else if(m==="%"){if(!h())break;l=!0}else{a.push(m);continue}}return a.length&&(l?r.zone=a.join(""):f?s.push(a.join("")):s.push(Ea(a))),r.address=s.join(""),r}function dd(e,n={}){if(pd(e,":")<2)return{host:e,isIPV6:!1};const r=Ky(e);if(r.error)return{host:e,isIPV6:!1};{let s=r.address,a=r.address;return r.zone&&(s+="%"+r.zone,a+="%25"+r.zone),{host:s,escapedHost:a,isIPV6:!0}}}function Gy(e,n){let r="",s=!0;const a=e.length;for(let l=0;l/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(n)));function b0(e){let n=0;for(let r=0,s=e.length;r126||w0[n])return!0;return!1}const P0=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function Cn(e,n){const r=Object.assign({},n),s={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},a=e.indexOf("%")!==-1;let l=!1;r.reference==="suffix"&&(e=(r.scheme?r.scheme+":":"")+"//"+e);const u=e.match(P0);if(u){if(s.scheme=u[1],s.userinfo=u[3],s.host=u[4],s.port=parseInt(u[5],10),s.path=u[6]||"",s.query=u[7],s.fragment=u[8],isNaN(s.port)&&(s.port=u[5]),s.host){const h=m0(s.host);if(h.isIPV4===!1){const p=p0(h.host,{isIPV4:!1});s.host=p.host.toLowerCase(),l=p.isIPV6}else s.host=h.host,l=!0}s.scheme===void 0&&s.userinfo===void 0&&s.host===void 0&&s.port===void 0&&!s.path&&s.query===void 0?s.reference="same-document":s.scheme===void 0?s.reference="relative":s.fragment===void 0?s.reference="absolute":s.reference="uri",r.reference&&r.reference!=="suffix"&&r.reference!==s.reference&&(s.error=s.error||"URI is not a "+r.reference+" reference.");const f=cl[(r.scheme||s.scheme||"").toLowerCase()];if(!r.unicodeSupport&&(!f||!f.unicodeSupport)&&s.host&&(r.domainHost||f&&f.domainHost)&&l===!1&&b0(s.host))try{s.host=URL.domainToASCII(s.host.toLowerCase())}catch(h){s.error=s.error||"Host's domain name can not be converted to ASCII: "+h}(!f||f&&!f.skipNormalize)&&(a&&s.scheme!==void 0&&(s.scheme=unescape(s.scheme)),a&&s.userinfo!==void 0&&(s.userinfo=unescape(s.userinfo)),a&&s.host!==void 0&&(s.host=unescape(s.host)),s.path!==void 0&&s.path.length&&(s.path=escape(unescape(s.path))),s.fragment!==void 0&&s.fragment.length&&(s.fragment=encodeURI(decodeURIComponent(s.fragment)))),f&&f.parse&&f.parse(s,r)}else s.error=s.error||"URI can not be parsed.";return s}const ul={SCHEMES:cl,normalize:g0,resolve:v0,resolveComponents:yd,equal:y0,serialize:hn,parse:Cn};oo.exports=ul;oo.exports.default=ul;oo.exports.fastUri=ul;var $0=oo.exports;Object.defineProperty(al,"__esModule",{value:!0});const wd=$0;wd.code='require("ajv/dist/runtime/uri").default';al.default=wd;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var n=io();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return n.KeywordCxt}});var r=Re;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const s=Br,a=Ui,l=mi,u=It,f=Re,h=_t,p=ot,m=oe,_=Hy,y=al,P=(U,M)=>new RegExp(U,M);P.code="new RegExp";const S=["removeAdditional","useDefaults","coerceTypes"],T=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),C={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},$={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},R=200;function j(U){var M,q,z,w,E,N,I,H,K,Q,k,A,g,b,O,F,V,W,te,ee,Y,X,ae,re,ce;const de=U.strict,Te=(M=U.code)===null||M===void 0?void 0:M.optimize,Ne=Te===!0||Te===void 0?1:Te||0,Ie=(z=(q=U.code)===null||q===void 0?void 0:q.regExp)!==null&&z!==void 0?z:P,ft=(w=U.uriResolver)!==null&&w!==void 0?w:y.default;return{strictSchema:(N=(E=U.strictSchema)!==null&&E!==void 0?E:de)!==null&&N!==void 0?N:!0,strictNumbers:(H=(I=U.strictNumbers)!==null&&I!==void 0?I:de)!==null&&H!==void 0?H:!0,strictTypes:(Q=(K=U.strictTypes)!==null&&K!==void 0?K:de)!==null&&Q!==void 0?Q:"log",strictTuples:(A=(k=U.strictTuples)!==null&&k!==void 0?k:de)!==null&&A!==void 0?A:"log",strictRequired:(b=(g=U.strictRequired)!==null&&g!==void 0?g:de)!==null&&b!==void 0?b:!1,code:U.code?{...U.code,optimize:Ne,regExp:Ie}:{optimize:Ne,regExp:Ie},loopRequired:(O=U.loopRequired)!==null&&O!==void 0?O:R,loopEnum:(F=U.loopEnum)!==null&&F!==void 0?F:R,meta:(V=U.meta)!==null&&V!==void 0?V:!0,messages:(W=U.messages)!==null&&W!==void 0?W:!0,inlineRefs:(te=U.inlineRefs)!==null&&te!==void 0?te:!0,schemaId:(ee=U.schemaId)!==null&&ee!==void 0?ee:"$id",addUsedSchema:(Y=U.addUsedSchema)!==null&&Y!==void 0?Y:!0,validateSchema:(X=U.validateSchema)!==null&&X!==void 0?X:!0,validateFormats:(ae=U.validateFormats)!==null&&ae!==void 0?ae:!0,unicodeRegExp:(re=U.unicodeRegExp)!==null&&re!==void 0?re:!0,int32range:(ce=U.int32range)!==null&&ce!==void 0?ce:!0,uriResolver:ft}}class B{constructor(M={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,M=this.opts={...M,...j(M)};const{es5:q,lines:z}=this.opts.code;this.scope=new f.ValueScope({scope:{},prefixes:T,es5:q,lines:z}),this.logger=ne(M.logger);const w=M.validateFormats;M.validateFormats=!1,this.RULES=(0,l.getRules)(),G.call(this,C,M,"NOT SUPPORTED"),G.call(this,$,M,"DEPRECATED","warn"),this._metaOpts=we.call(this),M.formats&&Me.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),M.keywords&&fe.call(this,M.keywords),typeof M.meta=="object"&&this.addMetaSchema(M.meta),ue.call(this),M.validateFormats=w}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:M,meta:q,schemaId:z}=this.opts;let w=_;z==="id"&&(w={..._},w.id=w.$id,delete w.$id),q&&M&&this.addMetaSchema(w,w[z],!1)}defaultMeta(){const{meta:M,schemaId:q}=this.opts;return this.opts.defaultMeta=typeof M=="object"?M[q]||M:void 0}validate(M,q){let z;if(typeof M=="string"){if(z=this.getSchema(M),!z)throw new Error(`no schema with key or ref "${M}"`)}else z=this.compile(M);const w=z(q);return"$async"in z||(this.errors=z.errors),w}compile(M,q){const z=this._addSchema(M,q);return z.validate||this._compileSchemaEnv(z)}compileAsync(M,q){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:z}=this.opts;return w.call(this,M,q);async function w(Q,k){await E.call(this,Q.$schema);const A=this._addSchema(Q,k);return A.validate||N.call(this,A)}async function E(Q){Q&&!this.getSchema(Q)&&await w.call(this,{$ref:Q},!0)}async function N(Q){try{return this._compileSchemaEnv(Q)}catch(k){if(!(k instanceof a.default))throw k;return I.call(this,k),await H.call(this,k.missingSchema),N.call(this,Q)}}function I({missingSchema:Q,missingRef:k}){if(this.refs[Q])throw new Error(`AnySchema ${Q} is loaded but ${k} cannot be resolved`)}async function H(Q){const k=await K.call(this,Q);this.refs[Q]||await E.call(this,k.$schema),this.refs[Q]||this.addSchema(k,Q,q)}async function K(Q){const k=this._loading[Q];if(k)return k;try{return await(this._loading[Q]=z(Q))}finally{delete this._loading[Q]}}}addSchema(M,q,z,w=this.opts.validateSchema){if(Array.isArray(M)){for(const N of M)this.addSchema(N,void 0,z,w);return this}let E;if(typeof M=="object"){const{schemaId:N}=this.opts;if(E=M[N],E!==void 0&&typeof E!="string")throw new Error(`schema ${N} must be string`)}return q=(0,h.normalizeId)(q||E),this._checkUnique(q),this.schemas[q]=this._addSchema(M,z,q,w,!0),this}addMetaSchema(M,q,z=this.opts.validateSchema){return this.addSchema(M,q,!0,z),this}validateSchema(M,q){if(typeof M=="boolean")return!0;let z;if(z=M.$schema,z!==void 0&&typeof z!="string")throw new Error("$schema must be a string");if(z=z||this.opts.defaultMeta||this.defaultMeta(),!z)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const w=this.validate(z,M);if(!w&&q){const E="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(E);else throw new Error(E)}return w}getSchema(M){let q;for(;typeof(q=le.call(this,M))=="string";)M=q;if(q===void 0){const{schemaId:z}=this.opts,w=new u.SchemaEnv({schema:{},schemaId:z});if(q=u.resolveSchema.call(this,w,M),!q)return;this.refs[M]=q}return q.validate||this._compileSchemaEnv(q)}removeSchema(M){if(M instanceof RegExp)return this._removeAllSchemas(this.schemas,M),this._removeAllSchemas(this.refs,M),this;switch(typeof M){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const q=le.call(this,M);return typeof q=="object"&&this._cache.delete(q.schema),delete this.schemas[M],delete this.refs[M],this}case"object":{const q=M;this._cache.delete(q);let z=M[this.opts.schemaId];return z&&(z=(0,h.normalizeId)(z),delete this.schemas[z],delete this.refs[z]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(M){for(const q of M)this.addKeyword(q);return this}addKeyword(M,q){let z;if(typeof M=="string")z=M,typeof q=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),q.keyword=z);else if(typeof M=="object"&&q===void 0){if(q=M,z=q.keyword,Array.isArray(z)&&!z.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(_e.call(this,z,q),!q)return(0,m.eachItem)(z,E=>Ge.call(this,E)),this;Ee.call(this,q);const w={...q,type:(0,p.getJSONTypes)(q.type),schemaType:(0,p.getJSONTypes)(q.schemaType)};return(0,m.eachItem)(z,w.type.length===0?E=>Ge.call(this,E,w):E=>w.type.forEach(N=>Ge.call(this,E,w,N))),this}getKeyword(M){const q=this.RULES.all[M];return typeof q=="object"?q.definition:!!q}removeKeyword(M){const{RULES:q}=this;delete q.keywords[M],delete q.all[M];for(const z of q.rules){const w=z.rules.findIndex(E=>E.keyword===M);w>=0&&z.rules.splice(w,1)}return this}addFormat(M,q){return typeof q=="string"&&(q=new RegExp(q)),this.formats[M]=q,this}errorsText(M=this.errors,{separator:q=", ",dataVar:z="data"}={}){return!M||M.length===0?"No errors":M.map(w=>`${z}${w.instancePath} ${w.message}`).reduce((w,E)=>w+q+E)}$dataMetaSchema(M,q){const z=this.RULES.all;M=JSON.parse(JSON.stringify(M));for(const w of q){const E=w.split("/").slice(1);let N=M;for(const I of E)N=N[I];for(const I in z){const H=z[I];if(typeof H!="object")continue;const{$data:K}=H.definition,Q=N[I];K&&Q&&(N[I]=rt(Q))}}return M}_removeAllSchemas(M,q){for(const z in M){const w=M[z];(!q||q.test(z))&&(typeof w=="string"?delete M[z]:w&&!w.meta&&(this._cache.delete(w.schema),delete M[z]))}}_addSchema(M,q,z,w=this.opts.validateSchema,E=this.opts.addUsedSchema){let N;const{schemaId:I}=this.opts;if(typeof M=="object")N=M[I];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof M!="boolean")throw new Error("schema must be object or boolean")}let H=this._cache.get(M);if(H!==void 0)return H;z=(0,h.normalizeId)(N||z);const K=h.getSchemaRefs.call(this,M,z);return H=new u.SchemaEnv({schema:M,schemaId:I,meta:q,baseId:z,localRefs:K}),this._cache.set(H.schema,H),E&&!z.startsWith("#")&&(z&&this._checkUnique(z),this.refs[z]=H),w&&this.validateSchema(M,!0),H}_checkUnique(M){if(this.schemas[M]||this.refs[M])throw new Error(`schema with key or id "${M}" already exists`)}_compileSchemaEnv(M){if(M.meta?this._compileMetaSchema(M):u.compileSchema.call(this,M),!M.validate)throw new Error("ajv implementation error");return M.validate}_compileMetaSchema(M){const q=this.opts;this.opts=this._metaOpts;try{u.compileSchema.call(this,M)}finally{this.opts=q}}}B.ValidationError=s.default,B.MissingRefError=a.default,e.default=B;function G(U,M,q,z="error"){for(const w in U){const E=w;E in M&&this.logger[z](`${q}: option ${w}. ${U[E]}`)}}function le(U){return U=(0,h.normalizeId)(U),this.schemas[U]||this.refs[U]}function ue(){const U=this.opts.schemas;if(U)if(Array.isArray(U))this.addSchema(U);else for(const M in U)this.addSchema(U[M],M)}function Me(){for(const U in this.opts.formats){const M=this.opts.formats[U];M&&this.addFormat(U,M)}}function fe(U){if(Array.isArray(U)){this.addVocabulary(U);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const M in U){const q=U[M];q.keyword||(q.keyword=M),this.addKeyword(q)}}function we(){const U={...this.opts};for(const M of S)delete U[M];return U}const me={log(){},warn(){},error(){}};function ne(U){if(U===!1)return me;if(U===void 0)return console;if(U.log&&U.warn&&U.error)return U;throw new Error("logger must implement log, warn and error methods")}const pe=/^[a-z_$][a-z0-9_$:-]*$/i;function _e(U,M){const{RULES:q}=this;if((0,m.eachItem)(U,z=>{if(q.keywords[z])throw new Error(`Keyword ${z} is already defined`);if(!pe.test(z))throw new Error(`Keyword ${z} has invalid name`)}),!!M&&M.$data&&!("code"in M||"validate"in M))throw new Error('$data keyword must have "code" or "validate" function')}function Ge(U,M,q){var z;const w=M==null?void 0:M.post;if(q&&w)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:E}=this;let N=w?E.post:E.rules.find(({type:H})=>H===q);if(N||(N={type:q,rules:[]},E.rules.push(N)),E.keywords[U]=!0,!M)return;const I={keyword:U,definition:{...M,type:(0,p.getJSONTypes)(M.type),schemaType:(0,p.getJSONTypes)(M.schemaType)}};M.before?$e.call(this,N,I,M.before):N.rules.push(I),E.all[U]=I,(z=M.implements)===null||z===void 0||z.forEach(H=>this.addKeyword(H))}function $e(U,M,q){const z=U.rules.findIndex(w=>w.keyword===q);z>=0?U.rules.splice(z,0,M):(U.rules.push(M),this.logger.warn(`rule ${q} is not defined`))}function Ee(U){let{metaSchema:M}=U;M!==void 0&&(U.$data&&this.opts.$data&&(M=rt(M)),U.validateSchema=this.compile(M,!0))}const ie={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function rt(U){return{anyOf:[U,ie]}}})(Wh);var fl={},hl={},dl={};Object.defineProperty(dl,"__esModule",{value:!0});const S0={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};dl.default=S0;var _i={};Object.defineProperty(_i,"__esModule",{value:!0});_i.callRef=_i.getValidate=void 0;const E0=Ui,Xu=Oe,Mt=Re,Li=pn,Qu=It,_s=oe,T0={keyword:"$ref",schemaType:"string",code(e){const{gen:n,schema:r,it:s}=e,{baseId:a,schemaEnv:l,validateName:u,opts:f,self:h}=s,{root:p}=l;if((r==="#"||r==="#/")&&a===p.baseId)return _();const m=Qu.resolveRef.call(h,p,a,r);if(m===void 0)throw new E0.default(s.opts.uriResolver,a,r);if(m instanceof Qu.SchemaEnv)return y(m);return P(m);function _(){if(l===p)return Ls(e,u,l,l.$async);const S=n.scopeValue("root",{ref:p});return Ls(e,(0,Mt._)`${S}.validate`,p,p.$async)}function y(S){const T=bd(e,S);Ls(e,T,S,S.$async)}function P(S){const T=n.scopeValue("schema",f.code.source===!0?{ref:S,code:(0,Mt.stringify)(S)}:{ref:S}),C=n.name("valid"),$=e.subschema({schema:S,dataTypes:[],schemaPath:Mt.nil,topSchemaRef:T,errSchemaPath:r},C);e.mergeEvaluated($),e.ok(C)}}};function bd(e,n){const{gen:r}=e;return n.validate?r.scopeValue("validate",{ref:n.validate}):(0,Mt._)`${r.scopeValue("wrapper",{ref:n})}.validate`}_i.getValidate=bd;function Ls(e,n,r,s){const{gen:a,it:l}=e,{allErrors:u,schemaEnv:f,opts:h}=l,p=h.passContext?Li.default.this:Mt.nil;s?m():_();function m(){if(!f.$async)throw new Error("async schema referenced by sync schema");const S=a.let("valid");a.try(()=>{a.code((0,Mt._)`await ${(0,Xu.callValidateCode)(e,n,p)}`),P(n),u||a.assign(S,!0)},T=>{a.if((0,Mt._)`!(${T} instanceof ${l.ValidationError})`,()=>a.throw(T)),y(T),u||a.assign(S,!1)}),e.ok(S)}function _(){e.result((0,Xu.callValidateCode)(e,n,p),()=>P(n),()=>y(n))}function y(S){const T=(0,Mt._)`${S}.errors`;a.assign(Li.default.vErrors,(0,Mt._)`${Li.default.vErrors} === null ? ${T} : ${Li.default.vErrors}.concat(${T})`),a.assign(Li.default.errors,(0,Mt._)`${Li.default.vErrors}.length`)}function P(S){var T;if(!l.opts.unevaluated)return;const C=(T=r==null?void 0:r.validate)===null||T===void 0?void 0:T.evaluated;if(l.props!==!0)if(C&&!C.dynamicProps)C.props!==void 0&&(l.props=_s.mergeEvaluated.props(a,C.props,l.props));else{const $=a.var("props",(0,Mt._)`${S}.evaluated.props`);l.props=_s.mergeEvaluated.props(a,$,l.props,Mt.Name)}if(l.items!==!0)if(C&&!C.dynamicItems)C.items!==void 0&&(l.items=_s.mergeEvaluated.items(a,C.items,l.items));else{const $=a.var("items",(0,Mt._)`${S}.evaluated.items`);l.items=_s.mergeEvaluated.items(a,$,l.items,Mt.Name)}}}_i.callRef=Ls;_i.default=T0;Object.defineProperty(hl,"__esModule",{value:!0});const x0=dl,L0=_i,C0=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",x0.default,L0.default];hl.default=C0;var pl={},ml={};Object.defineProperty(ml,"__esModule",{value:!0});const Ns=Re,jn=Ns.operators,zs={maximum:{okStr:"<=",ok:jn.LTE,fail:jn.GT},minimum:{okStr:">=",ok:jn.GTE,fail:jn.LT},exclusiveMaximum:{okStr:"<",ok:jn.LT,fail:jn.GTE},exclusiveMinimum:{okStr:">",ok:jn.GT,fail:jn.LTE}},k0={message:({keyword:e,schemaCode:n})=>(0,Ns.str)`must be ${zs[e].okStr} ${n}`,params:({keyword:e,schemaCode:n})=>(0,Ns._)`{comparison: ${zs[e].okStr}, limit: ${n}}`},O0={keyword:Object.keys(zs),type:"number",schemaType:"number",$data:!0,error:k0,code(e){const{keyword:n,data:r,schemaCode:s}=e;e.fail$data((0,Ns._)`${r} ${zs[n].fail} ${s} || isNaN(${r})`)}};ml.default=O0;var _l={};Object.defineProperty(_l,"__esModule",{value:!0});const $r=Re,R0={message:({schemaCode:e})=>(0,$r.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,$r._)`{multipleOf: ${e}}`},M0={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:R0,code(e){const{gen:n,data:r,schemaCode:s,it:a}=e,l=a.opts.multipleOfPrecision,u=n.let("res"),f=l?(0,$r._)`Math.abs(Math.round(${u}) - ${u}) > 1e-${l}`:(0,$r._)`${u} !== parseInt(${u})`;e.fail$data((0,$r._)`(${s} === 0 || (${u} = ${r}/${s}, ${f}))`)}};_l.default=M0;var gl={},vl={};Object.defineProperty(vl,"__esModule",{value:!0});function Pd(e){const n=e.length;let r=0,s=0,a;for(;s=55296&&a<=56319&&s(0,ci._)`{limit: ${e}}`},z0={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:N0,code(e){const{keyword:n,data:r,schemaCode:s,it:a}=e,l=n==="maxLength"?ci.operators.GT:ci.operators.LT,u=a.opts.unicode===!1?(0,ci._)`${r}.length`:(0,ci._)`${(0,I0.useFunc)(e.gen,A0.default)}(${r})`;e.fail$data((0,ci._)`${u} ${l} ${s}`)}};gl.default=z0;var yl={};Object.defineProperty(yl,"__esModule",{value:!0});const D0=Oe,Ds=Re,j0={message:({schemaCode:e})=>(0,Ds.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,Ds._)`{pattern: ${e}}`},B0={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:j0,code(e){const{data:n,$data:r,schema:s,schemaCode:a,it:l}=e,u=l.opts.unicodeRegExp?"u":"",f=r?(0,Ds._)`(new RegExp(${a}, ${u}))`:(0,D0.usePattern)(e,s);e.fail$data((0,Ds._)`!${f}.test(${n})`)}};yl.default=B0;var wl={};Object.defineProperty(wl,"__esModule",{value:!0});const Sr=Re,Z0={message({keyword:e,schemaCode:n}){const r=e==="maxProperties"?"more":"fewer";return(0,Sr.str)`must NOT have ${r} than ${n} properties`},params:({schemaCode:e})=>(0,Sr._)`{limit: ${e}}`},F0={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:Z0,code(e){const{keyword:n,data:r,schemaCode:s}=e,a=n==="maxProperties"?Sr.operators.GT:Sr.operators.LT;e.fail$data((0,Sr._)`Object.keys(${r}).length ${a} ${s}`)}};wl.default=F0;var bl={};Object.defineProperty(bl,"__esModule",{value:!0});const fr=Oe,Er=Re,V0=oe,H0={message:({params:{missingProperty:e}})=>(0,Er.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,Er._)`{missingProperty: ${e}}`},U0={keyword:"required",type:"object",schemaType:"array",$data:!0,error:H0,code(e){const{gen:n,schema:r,schemaCode:s,data:a,$data:l,it:u}=e,{opts:f}=u;if(!l&&r.length===0)return;const h=r.length>=f.loopRequired;if(u.allErrors?p():m(),f.strictRequired){const P=e.parentSchema.properties,{definedProperties:S}=e.it;for(const T of r)if((P==null?void 0:P[T])===void 0&&!S.has(T)){const C=u.schemaEnv.baseId+u.errSchemaPath,$=`required property "${T}" is not defined at "${C}" (strictRequired)`;(0,V0.checkStrictMode)(u,$,u.opts.strictRequired)}}function p(){if(h||l)e.block$data(Er.nil,_);else for(const P of r)(0,fr.checkReportMissingProp)(e,P)}function m(){const P=n.let("missing");if(h||l){const S=n.let("valid",!0);e.block$data(S,()=>y(P,S)),e.ok(S)}else n.if((0,fr.checkMissingProp)(e,r,P)),(0,fr.reportMissingProp)(e,P),n.else()}function _(){n.forOf("prop",s,P=>{e.setParams({missingProperty:P}),n.if((0,fr.noPropertyInData)(n,a,P,f.ownProperties),()=>e.error())})}function y(P,S){e.setParams({missingProperty:P}),n.forOf(P,s,()=>{n.assign(S,(0,fr.propertyInData)(n,a,P,f.ownProperties)),n.if((0,Er.not)(S),()=>{e.error(),n.break()})},Er.nil)}}};bl.default=U0;var Pl={};Object.defineProperty(Pl,"__esModule",{value:!0});const Tr=Re,q0={message({keyword:e,schemaCode:n}){const r=e==="maxItems"?"more":"fewer";return(0,Tr.str)`must NOT have ${r} than ${n} items`},params:({schemaCode:e})=>(0,Tr._)`{limit: ${e}}`},W0={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:q0,code(e){const{keyword:n,data:r,schemaCode:s}=e,a=n==="maxItems"?Tr.operators.GT:Tr.operators.LT;e.fail$data((0,Tr._)`${r}.length ${a} ${s}`)}};Pl.default=W0;var $l={},Zr={};Object.defineProperty(Zr,"__esModule",{value:!0});const $d=od;$d.code='require("ajv/dist/runtime/equal").default';Zr.default=$d;Object.defineProperty($l,"__esModule",{value:!0});const ta=ot,mt=Re,K0=oe,G0=Zr,J0={message:({params:{i:e,j:n}})=>(0,mt.str)`must NOT have duplicate items (items ## ${n} and ${e} are identical)`,params:({params:{i:e,j:n}})=>(0,mt._)`{i: ${e}, j: ${n}}`},Y0={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:J0,code(e){const{gen:n,data:r,$data:s,schema:a,parentSchema:l,schemaCode:u,it:f}=e;if(!s&&!a)return;const h=n.let("valid"),p=l.items?(0,ta.getSchemaTypes)(l.items):[];e.block$data(h,m,(0,mt._)`${u} === false`),e.ok(h);function m(){const S=n.let("i",(0,mt._)`${r}.length`),T=n.let("j");e.setParams({i:S,j:T}),n.assign(h,!0),n.if((0,mt._)`${S} > 1`,()=>(_()?y:P)(S,T))}function _(){return p.length>0&&!p.some(S=>S==="object"||S==="array")}function y(S,T){const C=n.name("item"),$=(0,ta.checkDataTypes)(p,C,f.opts.strictNumbers,ta.DataType.Wrong),R=n.const("indices",(0,mt._)`{}`);n.for((0,mt._)`;${S}--;`,()=>{n.let(C,(0,mt._)`${r}[${S}]`),n.if($,(0,mt._)`continue`),p.length>1&&n.if((0,mt._)`typeof ${C} == "string"`,(0,mt._)`${C} += "_"`),n.if((0,mt._)`typeof ${R}[${C}] == "number"`,()=>{n.assign(T,(0,mt._)`${R}[${C}]`),e.error(),n.assign(h,!1).break()}).code((0,mt._)`${R}[${C}] = ${S}`)})}function P(S,T){const C=(0,K0.useFunc)(n,G0.default),$=n.name("outer");n.label($).for((0,mt._)`;${S}--;`,()=>n.for((0,mt._)`${T} = ${S}; ${T}--;`,()=>n.if((0,mt._)`${C}(${r}[${S}], ${r}[${T}])`,()=>{e.error(),n.assign(h,!1).break($)})))}}};$l.default=Y0;var Sl={};Object.defineProperty(Sl,"__esModule",{value:!0});const Ta=Re,X0=oe,Q0=Zr,ew={message:"must be equal to constant",params:({schemaCode:e})=>(0,Ta._)`{allowedValue: ${e}}`},tw={keyword:"const",$data:!0,error:ew,code(e){const{gen:n,data:r,$data:s,schemaCode:a,schema:l}=e;s||l&&typeof l=="object"?e.fail$data((0,Ta._)`!${(0,X0.useFunc)(n,Q0.default)}(${r}, ${a})`):e.fail((0,Ta._)`${l} !== ${r}`)}};Sl.default=tw;var El={};Object.defineProperty(El,"__esModule",{value:!0});const mr=Re,nw=oe,iw=Zr,rw={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,mr._)`{allowedValues: ${e}}`},sw={keyword:"enum",schemaType:"array",$data:!0,error:rw,code(e){const{gen:n,data:r,$data:s,schema:a,schemaCode:l,it:u}=e;if(!s&&a.length===0)throw new Error("enum must have non-empty array");const f=a.length>=u.opts.loopEnum;let h;const p=()=>h??(h=(0,nw.useFunc)(n,iw.default));let m;if(f||s)m=n.let("valid"),e.block$data(m,_);else{if(!Array.isArray(a))throw new Error("ajv implementation error");const P=n.const("vSchema",l);m=(0,mr.or)(...a.map((S,T)=>y(P,T)))}e.pass(m);function _(){n.assign(m,!1),n.forOf("v",l,P=>n.if((0,mr._)`${p()}(${r}, ${P})`,()=>n.assign(m,!0).break()))}function y(P,S){const T=a[S];return typeof T=="object"&&T!==null?(0,mr._)`${p()}(${r}, ${P}[${S}])`:(0,mr._)`${r} === ${T}`}}};El.default=sw;Object.defineProperty(pl,"__esModule",{value:!0});const ow=ml,aw=_l,lw=gl,cw=yl,uw=wl,fw=bl,hw=Pl,dw=$l,pw=Sl,mw=El,_w=[ow.default,aw.default,lw.default,cw.default,uw.default,fw.default,hw.default,dw.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},pw.default,mw.default];pl.default=_w;var Tl={},qi={};Object.defineProperty(qi,"__esModule",{value:!0});qi.validateAdditionalItems=void 0;const ui=Re,xa=oe,gw={message:({params:{len:e}})=>(0,ui.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,ui._)`{limit: ${e}}`},vw={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:gw,code(e){const{parentSchema:n,it:r}=e,{items:s}=n;if(!Array.isArray(s)){(0,xa.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas');return}Sd(e,s)}};function Sd(e,n){const{gen:r,schema:s,data:a,keyword:l,it:u}=e;u.items=!0;const f=r.const("len",(0,ui._)`${a}.length`);if(s===!1)e.setParams({len:n.length}),e.pass((0,ui._)`${f} <= ${n.length}`);else if(typeof s=="object"&&!(0,xa.alwaysValidSchema)(u,s)){const p=r.var("valid",(0,ui._)`${f} <= ${n.length}`);r.if((0,ui.not)(p),()=>h(p)),e.ok(p)}function h(p){r.forRange("i",n.length,f,m=>{e.subschema({keyword:l,dataProp:m,dataPropType:xa.Type.Num},p),u.allErrors||r.if((0,ui.not)(p),()=>r.break())})}}qi.validateAdditionalItems=Sd;qi.default=vw;var xl={},Wi={};Object.defineProperty(Wi,"__esModule",{value:!0});Wi.validateTuple=void 0;const ef=Re,Cs=oe,yw=Oe,ww={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:n,it:r}=e;if(Array.isArray(n))return Ed(e,"additionalItems",n);r.items=!0,!(0,Cs.alwaysValidSchema)(r,n)&&e.ok((0,yw.validateArray)(e))}};function Ed(e,n,r=e.schema){const{gen:s,parentSchema:a,data:l,keyword:u,it:f}=e;m(a),f.opts.unevaluated&&r.length&&f.items!==!0&&(f.items=Cs.mergeEvaluated.items(s,r.length,f.items));const h=s.name("valid"),p=s.const("len",(0,ef._)`${l}.length`);r.forEach((_,y)=>{(0,Cs.alwaysValidSchema)(f,_)||(s.if((0,ef._)`${p} > ${y}`,()=>e.subschema({keyword:u,schemaProp:y,dataProp:y},h)),e.ok(h))});function m(_){const{opts:y,errSchemaPath:P}=f,S=r.length,T=S===_.minItems&&(S===_.maxItems||_[n]===!1);if(y.strictTuples&&!T){const C=`"${u}" is ${S}-tuple, but minItems or maxItems/${n} are not specified or different at path "${P}"`;(0,Cs.checkStrictMode)(f,C,y.strictTuples)}}}Wi.validateTuple=Ed;Wi.default=ww;Object.defineProperty(xl,"__esModule",{value:!0});const bw=Wi,Pw={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,bw.validateTuple)(e,"items")};xl.default=Pw;var Ll={};Object.defineProperty(Ll,"__esModule",{value:!0});const tf=Re,$w=oe,Sw=Oe,Ew=qi,Tw={message:({params:{len:e}})=>(0,tf.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,tf._)`{limit: ${e}}`},xw={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:Tw,code(e){const{schema:n,parentSchema:r,it:s}=e,{prefixItems:a}=r;s.items=!0,!(0,$w.alwaysValidSchema)(s,n)&&(a?(0,Ew.validateAdditionalItems)(e,a):e.ok((0,Sw.validateArray)(e)))}};Ll.default=xw;var Cl={};Object.defineProperty(Cl,"__esModule",{value:!0});const Vt=Re,gs=oe,Lw={message:({params:{min:e,max:n}})=>n===void 0?(0,Vt.str)`must contain at least ${e} valid item(s)`:(0,Vt.str)`must contain at least ${e} and no more than ${n} valid item(s)`,params:({params:{min:e,max:n}})=>n===void 0?(0,Vt._)`{minContains: ${e}}`:(0,Vt._)`{minContains: ${e}, maxContains: ${n}}`},Cw={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:Lw,code(e){const{gen:n,schema:r,parentSchema:s,data:a,it:l}=e;let u,f;const{minContains:h,maxContains:p}=s;l.opts.next?(u=h===void 0?1:h,f=p):u=1;const m=n.const("len",(0,Vt._)`${a}.length`);if(e.setParams({min:u,max:f}),f===void 0&&u===0){(0,gs.checkStrictMode)(l,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(f!==void 0&&u>f){(0,gs.checkStrictMode)(l,'"minContains" > "maxContains" is always invalid'),e.fail();return}if((0,gs.alwaysValidSchema)(l,r)){let T=(0,Vt._)`${m} >= ${u}`;f!==void 0&&(T=(0,Vt._)`${T} && ${m} <= ${f}`),e.pass(T);return}l.items=!0;const _=n.name("valid");f===void 0&&u===1?P(_,()=>n.if(_,()=>n.break())):u===0?(n.let(_,!0),f!==void 0&&n.if((0,Vt._)`${a}.length > 0`,y)):(n.let(_,!1),y()),e.result(_,()=>e.reset());function y(){const T=n.name("_valid"),C=n.let("count",0);P(T,()=>n.if(T,()=>S(C)))}function P(T,C){n.forRange("i",0,m,$=>{e.subschema({keyword:"contains",dataProp:$,dataPropType:gs.Type.Num,compositeRule:!0},T),C()})}function S(T){n.code((0,Vt._)`${T}++`),f===void 0?n.if((0,Vt._)`${T} >= ${u}`,()=>n.assign(_,!0).break()):(n.if((0,Vt._)`${T} > ${f}`,()=>n.assign(_,!1).break()),u===1?n.assign(_,!0):n.if((0,Vt._)`${T} >= ${u}`,()=>n.assign(_,!0)))}}};Cl.default=Cw;var Td={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const n=Re,r=oe,s=Oe;e.error={message:({params:{property:h,depsCount:p,deps:m}})=>{const _=p===1?"property":"properties";return(0,n.str)`must have ${_} ${m} when property ${h} is present`},params:({params:{property:h,depsCount:p,deps:m,missingProperty:_}})=>(0,n._)`{property: ${h}, missingProperty: ${_}, depsCount: ${p}, - deps: ${m}}`};const a={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(h){const[p,m]=l(h);u(h,p),f(h,m)}};function l({schema:h}){const p={},m={};for(const _ in h){if(_==="__proto__")continue;const y=Array.isArray(h[_])?p:m;y[_]=h[_]}return[p,m]}function u(h,p=h.schema){const{gen:m,data:_,it:y}=h;if(Object.keys(p).length===0)return;const P=m.let("missing");for(const $ in p){const T=p[$];if(T.length===0)continue;const C=(0,s.propertyInData)(m,_,$,y.opts.ownProperties);h.setParams({property:$,depsCount:T.length,deps:T.join(", ")}),y.allErrors?m.if(C,()=>{for(const S of T)(0,s.checkReportMissingProp)(h,S)}):(m.if((0,n._)`${C} && (${(0,s.checkMissingProp)(h,T,P)})`),(0,s.reportMissingProp)(h,P),m.else())}}e.validatePropertyDeps=u;function f(h,p=h.schema){const{gen:m,data:_,keyword:y,it:P}=h,$=m.name("valid");for(const T in p)(0,r.alwaysValidSchema)(P,p[T])||(m.if((0,s.propertyInData)(m,_,T,P.opts.ownProperties),()=>{const C=h.subschema({keyword:y,schemaProp:T},$);h.mergeValidEvaluated(C,$)},()=>m.var($,!0)),h.ok($))}e.validateSchemaDeps=f,e.default=a})(Ld);var Ol={};Object.defineProperty(Ol,"__esModule",{value:!0});const Cd=Re,kw=oe,Ow={message:"property name must be valid",params:({params:e})=>(0,Cd._)`{propertyName: ${e.propertyName}}`},Rw={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:Ow,code(e){const{gen:n,schema:r,data:s,it:a}=e;if((0,kw.alwaysValidSchema)(a,r))return;const l=n.name("valid");n.forIn("key",s,u=>{e.setParams({propertyName:u}),e.subschema({keyword:"propertyNames",data:u,dataTypes:["string"],propertyName:u,compositeRule:!0},l),n.if((0,Cd.not)(l),()=>{e.error(!0),a.allErrors||n.break()})}),e.ok(l)}};Ol.default=Rw;var ao={};Object.defineProperty(ao,"__esModule",{value:!0});const vs=Oe,Gt=Re,Mw=pn,ys=oe,Iw={message:"must NOT have additional properties",params:({params:e})=>(0,Gt._)`{additionalProperty: ${e.additionalProperty}}`},Aw={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:Iw,code(e){const{gen:n,schema:r,parentSchema:s,data:a,errsCount:l,it:u}=e;if(!l)throw new Error("ajv implementation error");const{allErrors:f,opts:h}=u;if(u.props=!0,h.removeAdditional!=="all"&&(0,ys.alwaysValidSchema)(u,r))return;const p=(0,vs.allSchemaProperties)(s.properties),m=(0,vs.allSchemaProperties)(s.patternProperties);_(),e.ok((0,Gt._)`${l} === ${Mw.default.errors}`);function _(){n.forIn("key",a,C=>{!p.length&&!m.length?$(C):n.if(y(C),()=>$(C))})}function y(C){let S;if(p.length>8){const R=(0,ys.schemaRefOrVal)(u,s.properties,"properties");S=(0,vs.isOwnProperty)(n,R,C)}else p.length?S=(0,Gt.or)(...p.map(R=>(0,Gt._)`${C} === ${R}`)):S=Gt.nil;return m.length&&(S=(0,Gt.or)(S,...m.map(R=>(0,Gt._)`${(0,vs.usePattern)(e,R)}.test(${C})`))),(0,Gt.not)(S)}function P(C){n.code((0,Gt._)`delete ${a}[${C}]`)}function $(C){if(h.removeAdditional==="all"||h.removeAdditional&&r===!1){P(C);return}if(r===!1){e.setParams({additionalProperty:C}),e.error(),f||n.break();return}if(typeof r=="object"&&!(0,ys.alwaysValidSchema)(u,r)){const S=n.name("valid");h.removeAdditional==="failing"?(T(C,S,!1),n.if((0,Gt.not)(S),()=>{e.reset(),P(C)})):(T(C,S),f||n.if((0,Gt.not)(S),()=>n.break()))}}function T(C,S,R){const j={keyword:"additionalProperties",dataProp:C,dataPropType:ys.Type.Str};R===!1&&Object.assign(j,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(j,S)}}};ao.default=Aw;var Rl={};Object.defineProperty(Rl,"__esModule",{value:!0});const Nw=io(),of=Oe,na=oe,af=ao,zw={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:n,schema:r,parentSchema:s,data:a,it:l}=e;l.opts.removeAdditional==="all"&&s.additionalProperties===void 0&&af.default.code(new Nw.KeywordCxt(l,af.default,"additionalProperties"));const u=(0,of.allSchemaProperties)(r);for(const _ of u)l.definedProperties.add(_);l.opts.unevaluated&&u.length&&l.props!==!0&&(l.props=na.mergeEvaluated.props(n,(0,na.toHash)(u),l.props));const f=u.filter(_=>!(0,na.alwaysValidSchema)(l,r[_]));if(f.length===0)return;const h=n.name("valid");for(const _ of f)p(_)?m(_):(n.if((0,of.propertyInData)(n,a,_,l.opts.ownProperties)),m(_),l.allErrors||n.else().var(h,!0),n.endIf()),e.it.definedProperties.add(_),e.ok(h);function p(_){return l.opts.useDefaults&&!l.compositeRule&&r[_].default!==void 0}function m(_){e.subschema({keyword:"properties",schemaProp:_,dataProp:_},h)}}};Rl.default=zw;var Ml={};Object.defineProperty(Ml,"__esModule",{value:!0});const lf=Oe,ws=Re,cf=oe,uf=oe,Dw={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:n,schema:r,data:s,parentSchema:a,it:l}=e,{opts:u}=l,f=(0,lf.allSchemaProperties)(r),h=f.filter(T=>(0,cf.alwaysValidSchema)(l,r[T]));if(f.length===0||h.length===f.length&&(!l.opts.unevaluated||l.props===!0))return;const p=u.strictSchema&&!u.allowMatchingProperties&&a.properties,m=n.name("valid");l.props!==!0&&!(l.props instanceof ws.Name)&&(l.props=(0,uf.evaluatedPropsToName)(n,l.props));const{props:_}=l;y();function y(){for(const T of f)p&&P(T),l.allErrors?$(T):(n.var(m,!0),$(T),n.if(m))}function P(T){for(const C in p)new RegExp(T).test(C)&&(0,cf.checkStrictMode)(l,`property ${C} matches pattern ${T} (use allowMatchingProperties)`)}function $(T){n.forIn("key",s,C=>{n.if((0,ws._)`${(0,lf.usePattern)(e,T)}.test(${C})`,()=>{const S=h.includes(T);S||e.subschema({keyword:"patternProperties",schemaProp:T,dataProp:C,dataPropType:uf.Type.Str},m),l.opts.unevaluated&&_!==!0?n.assign((0,ws._)`${_}[${C}]`,!0):!S&&!l.allErrors&&n.if((0,ws.not)(m),()=>n.break())})})}}};Ml.default=Dw;var Il={};Object.defineProperty(Il,"__esModule",{value:!0});const jw=oe,Bw={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:n,schema:r,it:s}=e;if((0,jw.alwaysValidSchema)(s,r)){e.fail();return}const a=n.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},a),e.failResult(a,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};Il.default=Bw;var Al={};Object.defineProperty(Al,"__esModule",{value:!0});const Zw=Oe,Fw={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Zw.validateUnion,error:{message:"must match a schema in anyOf"}};Al.default=Fw;var Nl={};Object.defineProperty(Nl,"__esModule",{value:!0});const ks=Re,Vw=oe,Hw={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,ks._)`{passingSchemas: ${e.passing}}`},Uw={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Hw,code(e){const{gen:n,schema:r,parentSchema:s,it:a}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(a.opts.discriminator&&s.discriminator)return;const l=r,u=n.let("valid",!1),f=n.let("passing",null),h=n.name("_valid");e.setParams({passing:f}),n.block(p),e.result(u,()=>e.reset(),()=>e.error(!0));function p(){l.forEach((m,_)=>{let y;(0,Vw.alwaysValidSchema)(a,m)?n.var(h,!0):y=e.subschema({keyword:"oneOf",schemaProp:_,compositeRule:!0},h),_>0&&n.if((0,ks._)`${h} && ${u}`).assign(u,!1).assign(f,(0,ks._)`[${f}, ${_}]`).else(),n.if(h,()=>{n.assign(u,!0),n.assign(f,_),y&&e.mergeEvaluated(y,ks.Name)})})}}};Nl.default=Uw;var zl={};Object.defineProperty(zl,"__esModule",{value:!0});const qw=oe,Ww={keyword:"allOf",schemaType:"array",code(e){const{gen:n,schema:r,it:s}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const a=n.name("valid");r.forEach((l,u)=>{if((0,qw.alwaysValidSchema)(s,l))return;const f=e.subschema({keyword:"allOf",schemaProp:u},a);e.ok(a),e.mergeEvaluated(f)})}};zl.default=Ww;var Dl={};Object.defineProperty(Dl,"__esModule",{value:!0});const js=Re,kd=oe,Kw={message:({params:e})=>(0,js.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,js._)`{failingKeyword: ${e.ifClause}}`},Gw={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Kw,code(e){const{gen:n,parentSchema:r,it:s}=e;r.then===void 0&&r.else===void 0&&(0,kd.checkStrictMode)(s,'"if" without "then" and "else" is ignored');const a=ff(s,"then"),l=ff(s,"else");if(!a&&!l)return;const u=n.let("valid",!0),f=n.name("_valid");if(h(),e.reset(),a&&l){const m=n.let("ifClause");e.setParams({ifClause:m}),n.if(f,p("then",m),p("else",m))}else a?n.if(f,p("then")):n.if((0,js.not)(f),p("else"));e.pass(u,()=>e.error(!0));function h(){const m=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);e.mergeEvaluated(m)}function p(m,_){return()=>{const y=e.subschema({keyword:m},f);n.assign(u,f),e.mergeValidEvaluated(y,u),_?n.assign(_,(0,js._)`${m}`):e.setParams({ifClause:m})}}}};function ff(e,n){const r=e.schema[n];return r!==void 0&&!(0,kd.alwaysValidSchema)(e,r)}Dl.default=Gw;var jl={};Object.defineProperty(jl,"__esModule",{value:!0});const Jw=oe,Yw={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:n,it:r}){n.if===void 0&&(0,Jw.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};jl.default=Yw;Object.defineProperty(xl,"__esModule",{value:!0});const Xw=qi,Qw=Ll,eb=Wi,tb=Cl,nb=kl,ib=Ld,rb=Ol,sb=ao,ob=Rl,ab=Ml,lb=Il,cb=Al,ub=Nl,fb=zl,hb=Dl,db=jl;function pb(e=!1){const n=[lb.default,cb.default,ub.default,fb.default,hb.default,db.default,rb.default,sb.default,ib.default,ob.default,ab.default];return e?n.push(Qw.default,tb.default):n.push(Xw.default,eb.default),n.push(nb.default),n}xl.default=pb;var Bl={},Zl={};Object.defineProperty(Zl,"__esModule",{value:!0});const Qe=Re,mb={message:({schemaCode:e})=>(0,Qe.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,Qe._)`{format: ${e}}`},_b={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:mb,code(e,n){const{gen:r,data:s,$data:a,schema:l,schemaCode:u,it:f}=e,{opts:h,errSchemaPath:p,schemaEnv:m,self:_}=f;if(!h.validateFormats)return;a?y():P();function y(){const $=r.scopeValue("formats",{ref:_.formats,code:h.code.formats}),T=r.const("fDef",(0,Qe._)`${$}[${u}]`),C=r.let("fType"),S=r.let("format");r.if((0,Qe._)`typeof ${T} == "object" && !(${T} instanceof RegExp)`,()=>r.assign(C,(0,Qe._)`${T}.type || "string"`).assign(S,(0,Qe._)`${T}.validate`),()=>r.assign(C,(0,Qe._)`"string"`).assign(S,T)),e.fail$data((0,Qe.or)(R(),j()));function R(){return h.strictSchema===!1?Qe.nil:(0,Qe._)`${u} && !${S}`}function j(){const B=m.$async?(0,Qe._)`(${T}.async ? await ${S}(${s}) : ${S}(${s}))`:(0,Qe._)`${S}(${s})`,G=(0,Qe._)`(typeof ${S} == "function" ? ${B} : ${S}.test(${s}))`;return(0,Qe._)`${S} && ${S} !== true && ${C} === ${n} && !${G}`}}function P(){const $=_.formats[l];if(!$){R();return}if($===!0)return;const[T,C,S]=j($);T===n&&e.pass(B());function R(){if(h.strictSchema===!1){_.logger.warn(G());return}throw new Error(G());function G(){return`unknown format "${l}" ignored in schema at path "${p}"`}}function j(G){const le=G instanceof RegExp?(0,Qe.regexpCode)(G):h.code.formats?(0,Qe._)`${h.code.formats}${(0,Qe.getProperty)(l)}`:void 0,ue=r.scopeValue("formats",{key:l,ref:G,code:le});return typeof G=="object"&&!(G instanceof RegExp)?[G.type||"string",G.validate,(0,Qe._)`${ue}.validate`]:["string",G,ue]}function B(){if(typeof $=="object"&&!($ instanceof RegExp)&&$.async){if(!m.$async)throw new Error("async format in sync schema");return(0,Qe._)`await ${S}(${s})`}return typeof C=="function"?(0,Qe._)`${S}(${s})`:(0,Qe._)`${S}.test(${s})`}}}};Zl.default=_b;Object.defineProperty(Bl,"__esModule",{value:!0});const gb=Zl,vb=[gb.default];Bl.default=vb;var Vi={};Object.defineProperty(Vi,"__esModule",{value:!0});Vi.contentVocabulary=Vi.metadataVocabulary=void 0;Vi.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Vi.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"];Object.defineProperty(hl,"__esModule",{value:!0});const yb=dl,wb=ml,bb=xl,Pb=Bl,hf=Vi,$b=[yb.default,wb.default,(0,bb.default)(),Pb.default,hf.metadataVocabulary,hf.contentVocabulary];hl.default=$b;var Fl={},lo={};Object.defineProperty(lo,"__esModule",{value:!0});lo.DiscrError=void 0;var df;(function(e){e.Tag="tag",e.Mapping="mapping"})(df||(lo.DiscrError=df={}));Object.defineProperty(Fl,"__esModule",{value:!0});const Ri=Re,La=lo,pf=It,Sb=Ui,Eb=oe,Tb={message:({params:{discrError:e,tagName:n}})=>e===La.DiscrError.Tag?`tag "${n}" must be string`:`value of tag "${n}" must be in oneOf`,params:({params:{discrError:e,tag:n,tagName:r}})=>(0,Ri._)`{error: ${e}, tag: ${r}, tagValue: ${n}}`},xb={keyword:"discriminator",type:"object",schemaType:"object",error:Tb,code(e){const{gen:n,data:r,schema:s,parentSchema:a,it:l}=e,{oneOf:u}=a;if(!l.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=s.propertyName;if(typeof f!="string")throw new Error("discriminator: requires propertyName");if(s.mapping)throw new Error("discriminator: mapping is not supported");if(!u)throw new Error("discriminator: requires oneOf keyword");const h=n.let("valid",!1),p=n.const("tag",(0,Ri._)`${r}${(0,Ri.getProperty)(f)}`);n.if((0,Ri._)`typeof ${p} == "string"`,()=>m(),()=>e.error(!1,{discrError:La.DiscrError.Tag,tag:p,tagName:f})),e.ok(h);function m(){const P=y();n.if(!1);for(const $ in P)n.elseIf((0,Ri._)`${p} === ${$}`),n.assign(h,_(P[$]));n.else(),e.error(!1,{discrError:La.DiscrError.Mapping,tag:p,tagName:f}),n.endIf()}function _(P){const $=n.name("valid"),T=e.subschema({keyword:"oneOf",schemaProp:P},$);return e.mergeEvaluated(T,Ri.Name),$}function y(){var P;const $={},T=S(a);let C=!0;for(let B=0;Bthis.addVocabulary($)),this.opts.discriminator&&this.addKeyword(a.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const $=this.opts.$data?this.$dataMetaSchema(l,u):l;this.addMetaSchema($,f,!1),this.refs["http://json-schema.org/schema"]=f}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(f)?f:void 0)}}n.Ajv=h,e.exports=n=h,e.exports.Ajv=h,Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var p=io();Object.defineProperty(n,"KeywordCxt",{enumerable:!0,get:function(){return p.KeywordCxt}});var m=Re;Object.defineProperty(n,"_",{enumerable:!0,get:function(){return m._}}),Object.defineProperty(n,"str",{enumerable:!0,get:function(){return m.str}}),Object.defineProperty(n,"stringify",{enumerable:!0,get:function(){return m.stringify}}),Object.defineProperty(n,"nil",{enumerable:!0,get:function(){return m.nil}}),Object.defineProperty(n,"Name",{enumerable:!0,get:function(){return m.Name}}),Object.defineProperty(n,"CodeGen",{enumerable:!0,get:function(){return m.CodeGen}});var _=ol();Object.defineProperty(n,"ValidationError",{enumerable:!0,get:function(){return _.default}});var y=Ui;Object.defineProperty(n,"MissingRefError",{enumerable:!0,get:function(){return y.default}})})(wa,wa.exports);var Ab=wa.exports;const Nb=Gh(Ab),Zr=new Nb({coerceTypes:!0}),zb={type:"object",properties:{Name:{type:"string"}},required:["Name"],additionalProperties:!0};Zr.compile(zb);const Db={type:"object",properties:{Artist:{type:"string",nullable:!0},Description:{type:"string",nullable:!0},Photograph:{type:"object",properties:{Image:{type:"string"},Photographer:{type:"string"}},required:["Image","Photographer"],nullable:!0},Location:{type:"object",properties:{Coordinates:{type:"string",nullable:!0},"Located On":{type:"string"}},required:["Located On"],nullable:!0},Medium:{type:"string",nullable:!0},Title:{type:"string",nullable:!0}},additionalProperties:!0},Od=Zr.compile(Db),jb={type:"object",properties:{type:{type:"string"},features:{type:"array",items:{type:"object",properties:{id:{type:"string"},type:{type:"string"},geometry:{type:"object",properties:{type:{type:"string"},coordinates:{type:"array",items:{type:"number"}}},required:["type","coordinates"]},properties:{type:"object",properties:{nodeId:{type:"string"}},required:["nodeId"]}},required:["id","type","properties"]}}},nullable:!0,required:["type","features"]};Zr.compile(jb);const Bb={type:"object",properties:{Name:{type:"string"}},required:["Name"],additionalProperties:!0};Zr.compile(Bb);var fn=(e=>(e.ARTWORK="Artwork",e.ARTIST="Artist",e.STRUCTURE="Structure",e.PHOTOGRAPHER="Photographer",e))(fn||{});const Zb={type:"object",properties:{Location:{type:"object",properties:{Address:{type:"string"},Coordinates:{type:"string",nullable:!0}},required:["Address"]}},required:["Location"],additionalProperties:!0};Zr.compile(Zb);const Rd=(e,n,r,s)=>{if(s.graphIdToNameTable[e.graph_id]==="Artwork"){const u=n.find(f=>f.resourceinstance_id===e.resourceinstanceid);return(u==null?void 0:u.data[s.imageNodeId])??void 0}const a=r.find(u=>u.resourceinstanceidto_id===e.resourceinstanceid&&u.resourceinstancefrom_graphid_id===s.nameToGraphIdTable.Artwork);if(!a)return;const l=n.find(u=>u.resourceinstance_id===a.resourceinstanceidfrom_id);return(l==null?void 0:l.data[s.imageNodeId])??void 0},Fb=(e,n,r,s)=>{if(s.graphIdToNameTable[e.graph_id]!=="Artist")return;const a=r.filter(f=>f.resourceinstanceidto_id===e.resourceinstanceid&&f.resourceinstancefrom_graphid_id===s.nameToGraphIdTable.Artwork);if(!a)return;const l=a.map(f=>f.resourceinstanceidfrom_id);return n.filter(f=>l.includes(f.resourceinstanceid))??void 0},Vb={class:"search-result"},Hb={class:"metadata"},Ub={class:"resource-type"},qb={class:"title"},Wb={key:0,class:"description"},Kb=["src"],Gb=["src"],Jb=Ot({__name:"SearchListItem",props:{resourceName:{},resourceId:{},resourceDescription:{},resourceType:{},imageTileData:{}},setup(e){const n=e,r=!0,s=n.imageTileData?"https://arches-app-demo.opentechstrategies.com"+n.imageTileData[0].url:void 0;return(a,l)=>{const u=Hi("RouterLink");return ve(),it(u,{to:`/archesdataviewer/home/resource/${n.resourceId}`,class:"search-result-container"},{default:nt(()=>[be("div",Vb,[be("div",Hb,[be("div",Ub,Ct(n.resourceType??"Resource"),1),be("div",qb,Ct(n.resourceName),1),n.resourceDescription&&n.resourceDescription!=="Undefined"?(ve(),Ze("div",Wb,Ct(n.resourceDescription),1)):vt("",!0)]),ke(s)?(ve(),Ze("img",{key:0,class:"image",loading:"lazy",src:ke(s),alt:"thumbnail image"},null,8,Kb)):(ve(),Ze("img",{key:1,class:"image",src:ke(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png":"/noimage.png",alt:"no image available",loading:"lazy"},null,8,Gb))])]),_:1},8,["to"])}}}),On=(e,n)=>{const r=e.__vccOpts||e;for(const[s,a]of n)r[s]=a;return r},Yb=On(Jb,[["__scopeId","data-v-92222f0d"]]),Xb={class:"search-list-container"},Qb={class:"search-header"},eP={class:"resource-selection-menu"},tP=["placeholder"],nP={class:"search-results"},iP=Ot({__name:"SearchList",props:{resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{}},setup(e){const n=lt(""),r=lt("Artwork"),s=e,a=ct(()=>s.resourcesPrefetch.filter(f=>{const h=f.descriptors.en.name.toLowerCase().includes(n.value.toLowerCase()),p=r.value?s.idReferences.graphIdToNameTable[f.graph_id]===r.value:!0;return h&&p})),l=f=>{r.value=f},u=ct(()=>r.value==="Artwork"?"Search artworks by name...":r.value==="Artist"?"Search artists by name...":"");return(f,h)=>(ve(),Ze("div",Xb,[be("div",Qb,[be("div",eP,[be("button",{type:"button",class:di({active:r.value==="Artwork"}),onClick:h[0]||(h[0]=p=>l("Artwork"))}," Artworks ",2),be("button",{type:"button",class:di({active:r.value==="Artist"}),onClick:h[1]||(h[1]=p=>l("Artist"))}," Artists ",2)]),Fm(be("input",{"onUpdate:modelValue":h[2]||(h[2]=p=>n.value=p),class:"search-input",placeholder:u.value},null,8,tP),[[bg,n.value]])]),be("div",nP,[(ve(!0),Ze(at,null,vr(a.value,p=>(ve(),it(Yb,{key:p.resourceinstanceid,"resource-name":p.descriptors.en.name,"resource-description":p.descriptors.en.description,"resource-id":p.resourceinstanceid,"resource-type":s.idReferences.graphIdToNameTable[p.graph_id],"image-tile-data":ke(Rd)(p,s.imagesPrefetch,s.resourceRelationsPrefetch,s.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data"]))),128))])]))}}),rP=On(iP,[["__scopeId","data-v-a2fd9aa9"]]),mf=Ot({__name:"SearchView",props:{resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{}},setup(e){const n=e;return(r,s)=>(ve(),it(rP,{"resource-relations-prefetch":n.resourceRelationsPrefetch,"images-prefetch":n.imagesPrefetch,"resources-prefetch":n.resourcesPrefetch,"id-references":n.idReferences},null,8,["resource-relations-prefetch","images-prefetch","resources-prefetch","id-references"]))}}),sP=Ot({__name:"ResourcePanelProvider",props:{id:{}},setup(e){const n=e,r=no(),s=lt(),a=lt(),l=lt(!1);async function u(){try{const p=new URL(`https://arches-app-demo.opentechstrategies.com/resources/${n.id}`),m=new URLSearchParams({format:"json"});p.search=m.toString();const y=await(await fetch(p.toString())).json();s.value=y}catch{s.value=void 0,l.value=!0}}async function f(){const p=new URL(`https://arches-app-demo.opentechstrategies.com/resource/related/${n.id}`),m=await fetch(p.toString()).then(_=>_.json());a.value=m.related_resources.related_resources}async function h(){try{await u(),await f()}catch{l.value=!0}}return hi(()=>r.params.id,h,{immediate:!0}),(p,m)=>(ve(),it(Nh,null,{default:nt(()=>[s.value&&a.value?un(p.$slots,"default",{key:0,resource:s.value,resourceRelations:a.value,error:l.value}):vt("",!0)]),_:3}))}});function oP(e,n){return ve(),Ze("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[be("path",{"fill-rule":"evenodd",d:"M7.72 12.53a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 1 1 1.06 1.06L9.31 12l6.97 6.97a.75.75 0 1 1-1.06 1.06l-7.5-7.5Z","clip-rule":"evenodd"})])}function aP(e,n){return ve(),Ze("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[be("path",{"fill-rule":"evenodd",d:"M16.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L14.69 12 7.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5Z","clip-rule":"evenodd"})])}const lP={},cP={class:"resource-detail-header"},uP={class:"resource-detail-type"},fP={class:"resource-detail-title"},hP={key:0,class:"resource-detail-more-by-artist"},dP={class:"resource-detail-metadata"},pP={class:"resource-detail-metadata-content"};function mP(e,n){return ve(),Ze(at,null,[be("div",cP,[be("div",uP,[un(e.$slots,"header-label",{},void 0,!0)]),be("div",fP,[un(e.$slots,"header-title",{},void 0,!0)])]),un(e.$slots,"items",{},void 0,!0),e.$slots["more-by-artist"]?(ve(),Ze("div",hP,[un(e.$slots,"more-by-artist",{},void 0,!0)])):vt("",!0),be("div",dP,[n[0]||(n[0]=be("div",{class:"resource-detail-metadata-title"},"Arches metadata:",-1)),be("div",pP,[un(e.$slots,"metadata",{},void 0,!0)])])],64)}const _P=On(lP,[["render",mP],["__scopeId","data-v-ac051309"]]),gP={class:"resource-detail-item"},vP={class:"resource-detail-item-header"},yP={key:0,class:"resource-detail-item-title"},wP={key:1,class:"resource-detail-item-byline"},bP={class:"resource-detail-item-image"},PP=["src"],$P=["src"],SP={key:2,class:"resource-detail-item-credit"},EP={key:0,class:"resource-detail-item-description"},TP=Ot({__name:"ResourceDetailItem",props:{imageUrl:{}},setup(e){const r=e,s=ct(()=>r.imageUrl?"https://arches-app-demo.opentechstrategies.com"+r.imageUrl:void 0);return(a,l)=>(ve(),Ze("div",gP,[be("div",vP,[a.$slots["item-header-title"]?(ve(),Ze("div",yP,[un(a.$slots,"item-header-title",{},void 0,!0)])):vt("",!0),a.$slots["item-header-byline"]?(ve(),Ze("div",wP,[un(a.$slots,"item-header-byline",{},void 0,!0)])):vt("",!0)]),be("figure",bP,[s.value?(ve(),Ze("img",{key:0,src:s.value,alt:"resource image"},null,8,PP)):(ve(),Ze("img",{key:1,src:ke(!0)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png":"/noimage.png",alt:"no image available",loading:"lazy"},null,8,$P)),a.$slots["item-credit"]?(ve(),Ze("figcaption",SP,[un(a.$slots,"item-credit",{},void 0,!0)])):vt("",!0)]),a.$slots["item-description"]?(ve(),Ze("div",EP,[un(a.$slots,"item-description",{},void 0,!0)])):vt("",!0)]))}}),xP=On(TP,[["__scopeId","data-v-34d6af25"]]),LP={key:0},CP={key:1},Md=Ot({__name:"ArtworkDetailItem",props:{artwork:{},artworkId:{},panelResourceType:{},resourceRelations:{},idReferences:{}},setup(e){const n=lt(),r=lt(),s=lt(),a=e,{graphIdToNameTable:l}=a.idReferences;return hi(()=>a.resourceRelations,u=>{n.value=u.find(f=>l[f.graph_id]==="Photographer"),r.value=u.find(f=>l[f.graph_id]==="Structure"),s.value=u.find(f=>l[f.graph_id]==="Artist")},{immediate:!0}),(u,f)=>{var p;const h=Hi("RouterLink");return a.panelResourceType!==void 0?(ve(),it(xP,{key:0,"image-url":(p=a.artwork.Photograph)==null?void 0:p.Image},fh({_:2},[a.panelResourceType!==ke(fn).ARTWORK?{name:"item-header-title",fn:nt(()=>[Ke(h,{to:`/archesdataviewer/home/resource/${a.artworkId}`,class:"resource-link"},{default:nt(()=>[Ln(Ct(u.artwork.Title),1)]),_:1},8,["to"])]),key:"0"}:void 0,s.value&&r.value?{name:"item-header-byline",fn:nt(()=>[be("span",null,[a.panelResourceType!==ke(fn).ARTIST?(ve(),Ze("span",LP,[f[0]||(f[0]=Ln("by ")),Ke(h,{to:`/archesdataviewer/home/resource/${s.value.resourceinstanceid}`,class:"resource-link"},{default:nt(()=>[Ln(Ct(s.value.displayname),1)]),_:1},8,["to"])])):vt("",!0),a.panelResourceType!==ke(fn).STRUCTURE?(ve(),Ze("span",CP," at "+Ct(r.value.displayname),1)):vt("",!0)])]),key:"1"}:void 0,n.value&&a.panelResourceType!==ke(fn).PHOTOGRAPHER?{name:"item-credit",fn:nt(()=>[be("span",null," Photographer: "+Ct(n.value.displayname),1)]),key:"2"}:void 0,a.artwork.Description&&a.panelResourceType===ke(fn).ARTWORK?{name:"item-description",fn:nt(()=>[be("p",null,Ct(a.artwork.Description),1)]),key:"3"}:void 0]),1032,["image-url"])):vt("",!0)}}}),ia=Ot({__name:"RelatedArtworkDetailItem",props:{relatedArtwork:{},idReferences:{},panelResourceType:{}},setup(e){const n=e,{graphIdToNameTable:r}=n.idReferences,s=lt(),a=lt();async function l(){const f=new URL(`https://arches-app-demo.opentechstrategies.com/resources/${n.relatedArtwork.resourceinstanceid}`),h=new URLSearchParams({format:"json"});f.search=h.toString();const m=await(await fetch(f.toString())).json();s.value=m}async function u(){const f=new URL(`https://arches-app-demo.opentechstrategies.com/resource/related/${n.relatedArtwork.resourceinstanceid}`),h=await fetch(f.toString()).then(p=>p.json());a.value=h.related_resources.related_resources}return l(),u(),(f,h)=>{var p;return ke(Od)((p=s.value)==null?void 0:p.resource)&&ke(r)[s.value.graph_id]==="Artwork"&&a.value&&s.value!==void 0?(ve(),it(Md,{key:0,artwork:s.value.resource,"artwork-id":s.value.resourceinstanceid,"resource-relations":a.value,"id-references":n.idReferences,"panel-resource-type":n.panelResourceType},null,8,["artwork","artwork-id","resource-relations","id-references","panel-resource-type"])):vt("",!0)}}}),kP=["src","alt"],OP=Ot({__name:"MoreArtworksByArtistItem",props:{artwork:{},imageTileData:{}},setup(e){const n=no(),r=e,s=ct(()=>{var u;return(u=r.imageTileData)!=null&&u.length?"https://arches-app-demo.opentechstrategies.com"+r.imageTileData[0].url:void 0}),a=ct(()=>"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png"),l=ct(()=>{var u;return((u=n.params)==null?void 0:u.id)===r.artwork.resourceinstanceid});return(u,f)=>{const h=Hi("RouterLink");return ve(),it(h,{to:`/archesdataviewer/home/resource/${r.artwork.resourceinstanceid}`},{default:nt(()=>[be("div",null,[be("img",{class:di(["more-artwork-image",{blocked:l.value}]),src:s.value||a.value,alt:s.value?"Thumbnail image":"No image available"},null,10,kP)])]),_:1},8,["to"])}}}),RP=On(OP,[["__scopeId","data-v-f9a8b566"]]),MP={key:0},IP={key:0,class:"more-artworks-by-artist-title"},AP={class:"more-artworks-by-artist-gallery"},NP=Ot({__name:"MoreArtworksByArtist",props:{resource:{},resourcesPrefetch:{},resourceRelations:{},idReferences:{},resourceRelationsPrefetch:{},imagesPrefetch:{}},setup(e){const n=e,r=ct(()=>n.resourceRelations.find(a=>n.idReferences.graphIdToNameTable[a.graph_id]==="Artist")),s=ct(()=>{if(r.value)return Fb(r.value,n.resourcesPrefetch,n.resourceRelationsPrefetch,n.idReferences)});return(a,l)=>{const u=Hi("RouterLink");return s.value&&s.value.length>1?(ve(),Ze("div",MP,[r.value?(ve(),Ze("div",IP,[l[0]||(l[0]=Ln(" More artwork by ")),Ke(u,{to:`/archesdataviewer/home/resource/${r.value.resourceinstanceid}`,class:"resource-link"},{default:nt(()=>[Ln(Ct(r.value.displayname),1)]),_:1},8,["to"])])):vt("",!0),be("div",AP,[(ve(!0),Ze(at,null,vr(s.value,f=>(ve(),it(RP,{key:f.resourceinstanceid,artwork:f,"image-tile-data":ke(Rd)(f,n.imagesPrefetch,n.resourceRelationsPrefetch,n.idReferences)},null,8,["artwork","image-tile-data"]))),128))])])):vt("",!0)}}}),zP=On(NP,[["__scopeId","data-v-0665300e"]]),DP={key:0,class:"resource-detail"},jP=["href"],BP=Ot({__name:"ResourcePanel",props:{resource:{},resourceRelations:{},resourceRelationsPrefetch:{},imagesPrefetch:{},idReferences:{},resourcesPrefetch:{}},setup(e){const n=e,{graphIdToNameTable:r}=n.idReferences,s="https://arches-app-demo.opentechstrategies.com";return(a,l)=>{const u=Hi("RouterLink");return n.resource?(ve(),Ze("div",DP,[be("div",null,[Ke(u,{to:"/archesdataviewer/home/",class:"button"},{default:nt(()=>[Ke(ke(oP),{class:"button-icon"}),l[0]||(l[0]=be("span",null,"Back to search",-1))]),_:1})]),Ke(_P,null,fh({"header-label":nt(()=>[Ln(Ct(ke(r)[n.resource.graph_id]),1)]),"header-title":nt(()=>[Ln(Ct(n.resource.displayname??""),1)]),items:nt(()=>[ke(Od)(n.resource.resource)&&ke(r)[n.resource.graph_id]==="Artwork"?(ve(),it(Md,{key:0,artwork:n.resource.resource,"artwork-id":n.resource.resourceinstanceid,"resource-relations":n.resourceRelations,"id-references":n.idReferences,"panel-resource-type":ke(fn).ARTWORK},null,8,["artwork","artwork-id","resource-relations","id-references","panel-resource-type"])):ke(r)[n.resource.graph_id]==="Artist"?(ve(!0),Ze(at,{key:1},vr(a.resourceRelations.filter(f=>ke(r)[f.graph_id]==="Artwork"),f=>(ve(),it(ia,{key:f.graph_id,"related-artwork":f,"id-references":n.idReferences,"panel-resource-type":ke(fn).ARTIST},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):ke(r)[n.resource.graph_id]==="Structure"?(ve(!0),Ze(at,{key:2},vr(a.resourceRelations.filter(f=>ke(r)[f.graph_id]==="Artwork"),f=>(ve(),it(ia,{key:f.resourceinstanceid,"related-artwork":f,"id-references":n.idReferences,"panel-resource-type":ke(fn).STRUCTURE},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):ke(r)[n.resource.graph_id]==="Photographer"?(ve(!0),Ze(at,{key:3},vr(a.resourceRelations.filter(f=>ke(r)[f.graph_id]==="Artwork"),f=>(ve(),it(ia,{key:f.root_ontology_class,"related-artwork":f,"id-references":n.idReferences,"panel-resource-type":ke(fn).PHOTOGRAPHER},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):vt("",!0)]),metadata:nt(()=>[be("div",null,"Graph ID: "+Ct(n.resource.graph_id),1),be("div",null,[l[1]||(l[1]=Ln(" Resource Instance ID: ")),be("a",{href:`${ke(s)}/report/${n.resource.resourceinstanceid}`},Ct(n.resource.resourceinstanceid),9,jP)])]),_:2},[ke(r)[n.resource.graph_id]==="Artwork"?{name:"more-by-artist",fn:nt(()=>[Ke(zP,{resource:n.resource,"resource-relations":a.resourceRelations,"resource-relations-prefetch":n.resourceRelationsPrefetch,"resources-prefetch":n.resourcesPrefetch,"images-prefetch":n.imagesPrefetch,"id-references":n.idReferences},null,8,["resource","resource-relations","resource-relations-prefetch","resources-prefetch","images-prefetch","id-references"])]),key:"0"}:void 0]),1024)])):vt("",!0)}}}),ZP=On(BP,[["__scopeId","data-v-a5da39c2"]]),FP={key:1},VP=Ot({__name:"ResourceDetailView",props:{resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{}},setup(e){const n=no(),r=e;return(s,a)=>(ve(),it(sP,{id:ke(n).params.id},{default:nt(({resource:l,resourceRelations:u,error:f})=>[l&&u&&!f?(ve(),it(ZP,{key:0,resource:l,"resource-relations":u,"id-references":r.idReferences,"resource-relations-prefetch":r.resourceRelationsPrefetch,"images-prefetch":r.imagesPrefetch,"resources-prefetch":r.resourcesPrefetch},null,8,["resource","resource-relations","id-references","resource-relations-prefetch","images-prefetch","resources-prefetch"])):f?(ve(),Ze("div",FP,[be("p",null,"No Resource found with id "+Ct(ke(n).params.id),1)])):vt("",!0)]),_:1},8,["id"]))}}),HP=[{path:"/archesdataviewer/home/",component:mf},{path:"/",component:mf},{path:"/archesdataviewer/home/resource/:id",component:VP}],UP=Lv({history:iv(),routes:HP});var Ca={exports:{}};/* @preserve + deps: ${m}}`};const a={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(h){const[p,m]=l(h);u(h,p),f(h,m)}};function l({schema:h}){const p={},m={};for(const _ in h){if(_==="__proto__")continue;const y=Array.isArray(h[_])?p:m;y[_]=h[_]}return[p,m]}function u(h,p=h.schema){const{gen:m,data:_,it:y}=h;if(Object.keys(p).length===0)return;const P=m.let("missing");for(const S in p){const T=p[S];if(T.length===0)continue;const C=(0,s.propertyInData)(m,_,S,y.opts.ownProperties);h.setParams({property:S,depsCount:T.length,deps:T.join(", ")}),y.allErrors?m.if(C,()=>{for(const $ of T)(0,s.checkReportMissingProp)(h,$)}):(m.if((0,n._)`${C} && (${(0,s.checkMissingProp)(h,T,P)})`),(0,s.reportMissingProp)(h,P),m.else())}}e.validatePropertyDeps=u;function f(h,p=h.schema){const{gen:m,data:_,keyword:y,it:P}=h,S=m.name("valid");for(const T in p)(0,r.alwaysValidSchema)(P,p[T])||(m.if((0,s.propertyInData)(m,_,T,P.opts.ownProperties),()=>{const C=h.subschema({keyword:y,schemaProp:T},S);h.mergeValidEvaluated(C,S)},()=>m.var(S,!0)),h.ok(S))}e.validateSchemaDeps=f,e.default=a})(Td);var kl={};Object.defineProperty(kl,"__esModule",{value:!0});const xd=Re,kw=oe,Ow={message:"property name must be valid",params:({params:e})=>(0,xd._)`{propertyName: ${e.propertyName}}`},Rw={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:Ow,code(e){const{gen:n,schema:r,data:s,it:a}=e;if((0,kw.alwaysValidSchema)(a,r))return;const l=n.name("valid");n.forIn("key",s,u=>{e.setParams({propertyName:u}),e.subschema({keyword:"propertyNames",data:u,dataTypes:["string"],propertyName:u,compositeRule:!0},l),n.if((0,xd.not)(l),()=>{e.error(!0),a.allErrors||n.break()})}),e.ok(l)}};kl.default=Rw;var ao={};Object.defineProperty(ao,"__esModule",{value:!0});const vs=Oe,Gt=Re,Mw=pn,ys=oe,Iw={message:"must NOT have additional properties",params:({params:e})=>(0,Gt._)`{additionalProperty: ${e.additionalProperty}}`},Aw={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:Iw,code(e){const{gen:n,schema:r,parentSchema:s,data:a,errsCount:l,it:u}=e;if(!l)throw new Error("ajv implementation error");const{allErrors:f,opts:h}=u;if(u.props=!0,h.removeAdditional!=="all"&&(0,ys.alwaysValidSchema)(u,r))return;const p=(0,vs.allSchemaProperties)(s.properties),m=(0,vs.allSchemaProperties)(s.patternProperties);_(),e.ok((0,Gt._)`${l} === ${Mw.default.errors}`);function _(){n.forIn("key",a,C=>{!p.length&&!m.length?S(C):n.if(y(C),()=>S(C))})}function y(C){let $;if(p.length>8){const R=(0,ys.schemaRefOrVal)(u,s.properties,"properties");$=(0,vs.isOwnProperty)(n,R,C)}else p.length?$=(0,Gt.or)(...p.map(R=>(0,Gt._)`${C} === ${R}`)):$=Gt.nil;return m.length&&($=(0,Gt.or)($,...m.map(R=>(0,Gt._)`${(0,vs.usePattern)(e,R)}.test(${C})`))),(0,Gt.not)($)}function P(C){n.code((0,Gt._)`delete ${a}[${C}]`)}function S(C){if(h.removeAdditional==="all"||h.removeAdditional&&r===!1){P(C);return}if(r===!1){e.setParams({additionalProperty:C}),e.error(),f||n.break();return}if(typeof r=="object"&&!(0,ys.alwaysValidSchema)(u,r)){const $=n.name("valid");h.removeAdditional==="failing"?(T(C,$,!1),n.if((0,Gt.not)($),()=>{e.reset(),P(C)})):(T(C,$),f||n.if((0,Gt.not)($),()=>n.break()))}}function T(C,$,R){const j={keyword:"additionalProperties",dataProp:C,dataPropType:ys.Type.Str};R===!1&&Object.assign(j,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(j,$)}}};ao.default=Aw;var Ol={};Object.defineProperty(Ol,"__esModule",{value:!0});const Nw=io(),nf=Oe,na=oe,rf=ao,zw={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:n,schema:r,parentSchema:s,data:a,it:l}=e;l.opts.removeAdditional==="all"&&s.additionalProperties===void 0&&rf.default.code(new Nw.KeywordCxt(l,rf.default,"additionalProperties"));const u=(0,nf.allSchemaProperties)(r);for(const _ of u)l.definedProperties.add(_);l.opts.unevaluated&&u.length&&l.props!==!0&&(l.props=na.mergeEvaluated.props(n,(0,na.toHash)(u),l.props));const f=u.filter(_=>!(0,na.alwaysValidSchema)(l,r[_]));if(f.length===0)return;const h=n.name("valid");for(const _ of f)p(_)?m(_):(n.if((0,nf.propertyInData)(n,a,_,l.opts.ownProperties)),m(_),l.allErrors||n.else().var(h,!0),n.endIf()),e.it.definedProperties.add(_),e.ok(h);function p(_){return l.opts.useDefaults&&!l.compositeRule&&r[_].default!==void 0}function m(_){e.subschema({keyword:"properties",schemaProp:_,dataProp:_},h)}}};Ol.default=zw;var Rl={};Object.defineProperty(Rl,"__esModule",{value:!0});const sf=Oe,ws=Re,of=oe,af=oe,Dw={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:n,schema:r,data:s,parentSchema:a,it:l}=e,{opts:u}=l,f=(0,sf.allSchemaProperties)(r),h=f.filter(T=>(0,of.alwaysValidSchema)(l,r[T]));if(f.length===0||h.length===f.length&&(!l.opts.unevaluated||l.props===!0))return;const p=u.strictSchema&&!u.allowMatchingProperties&&a.properties,m=n.name("valid");l.props!==!0&&!(l.props instanceof ws.Name)&&(l.props=(0,af.evaluatedPropsToName)(n,l.props));const{props:_}=l;y();function y(){for(const T of f)p&&P(T),l.allErrors?S(T):(n.var(m,!0),S(T),n.if(m))}function P(T){for(const C in p)new RegExp(T).test(C)&&(0,of.checkStrictMode)(l,`property ${C} matches pattern ${T} (use allowMatchingProperties)`)}function S(T){n.forIn("key",s,C=>{n.if((0,ws._)`${(0,sf.usePattern)(e,T)}.test(${C})`,()=>{const $=h.includes(T);$||e.subschema({keyword:"patternProperties",schemaProp:T,dataProp:C,dataPropType:af.Type.Str},m),l.opts.unevaluated&&_!==!0?n.assign((0,ws._)`${_}[${C}]`,!0):!$&&!l.allErrors&&n.if((0,ws.not)(m),()=>n.break())})})}}};Rl.default=Dw;var Ml={};Object.defineProperty(Ml,"__esModule",{value:!0});const jw=oe,Bw={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:n,schema:r,it:s}=e;if((0,jw.alwaysValidSchema)(s,r)){e.fail();return}const a=n.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},a),e.failResult(a,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};Ml.default=Bw;var Il={};Object.defineProperty(Il,"__esModule",{value:!0});const Zw=Oe,Fw={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Zw.validateUnion,error:{message:"must match a schema in anyOf"}};Il.default=Fw;var Al={};Object.defineProperty(Al,"__esModule",{value:!0});const ks=Re,Vw=oe,Hw={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,ks._)`{passingSchemas: ${e.passing}}`},Uw={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Hw,code(e){const{gen:n,schema:r,parentSchema:s,it:a}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(a.opts.discriminator&&s.discriminator)return;const l=r,u=n.let("valid",!1),f=n.let("passing",null),h=n.name("_valid");e.setParams({passing:f}),n.block(p),e.result(u,()=>e.reset(),()=>e.error(!0));function p(){l.forEach((m,_)=>{let y;(0,Vw.alwaysValidSchema)(a,m)?n.var(h,!0):y=e.subschema({keyword:"oneOf",schemaProp:_,compositeRule:!0},h),_>0&&n.if((0,ks._)`${h} && ${u}`).assign(u,!1).assign(f,(0,ks._)`[${f}, ${_}]`).else(),n.if(h,()=>{n.assign(u,!0),n.assign(f,_),y&&e.mergeEvaluated(y,ks.Name)})})}}};Al.default=Uw;var Nl={};Object.defineProperty(Nl,"__esModule",{value:!0});const qw=oe,Ww={keyword:"allOf",schemaType:"array",code(e){const{gen:n,schema:r,it:s}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const a=n.name("valid");r.forEach((l,u)=>{if((0,qw.alwaysValidSchema)(s,l))return;const f=e.subschema({keyword:"allOf",schemaProp:u},a);e.ok(a),e.mergeEvaluated(f)})}};Nl.default=Ww;var zl={};Object.defineProperty(zl,"__esModule",{value:!0});const js=Re,Ld=oe,Kw={message:({params:e})=>(0,js.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,js._)`{failingKeyword: ${e.ifClause}}`},Gw={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Kw,code(e){const{gen:n,parentSchema:r,it:s}=e;r.then===void 0&&r.else===void 0&&(0,Ld.checkStrictMode)(s,'"if" without "then" and "else" is ignored');const a=lf(s,"then"),l=lf(s,"else");if(!a&&!l)return;const u=n.let("valid",!0),f=n.name("_valid");if(h(),e.reset(),a&&l){const m=n.let("ifClause");e.setParams({ifClause:m}),n.if(f,p("then",m),p("else",m))}else a?n.if(f,p("then")):n.if((0,js.not)(f),p("else"));e.pass(u,()=>e.error(!0));function h(){const m=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);e.mergeEvaluated(m)}function p(m,_){return()=>{const y=e.subschema({keyword:m},f);n.assign(u,f),e.mergeValidEvaluated(y,u),_?n.assign(_,(0,js._)`${m}`):e.setParams({ifClause:m})}}}};function lf(e,n){const r=e.schema[n];return r!==void 0&&!(0,Ld.alwaysValidSchema)(e,r)}zl.default=Gw;var Dl={};Object.defineProperty(Dl,"__esModule",{value:!0});const Jw=oe,Yw={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:n,it:r}){n.if===void 0&&(0,Jw.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};Dl.default=Yw;Object.defineProperty(Tl,"__esModule",{value:!0});const Xw=qi,Qw=xl,eb=Wi,tb=Ll,nb=Cl,ib=Td,rb=kl,sb=ao,ob=Ol,ab=Rl,lb=Ml,cb=Il,ub=Al,fb=Nl,hb=zl,db=Dl;function pb(e=!1){const n=[lb.default,cb.default,ub.default,fb.default,hb.default,db.default,rb.default,sb.default,ib.default,ob.default,ab.default];return e?n.push(Qw.default,tb.default):n.push(Xw.default,eb.default),n.push(nb.default),n}Tl.default=pb;var jl={},Bl={};Object.defineProperty(Bl,"__esModule",{value:!0});const Qe=Re,mb={message:({schemaCode:e})=>(0,Qe.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,Qe._)`{format: ${e}}`},_b={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:mb,code(e,n){const{gen:r,data:s,$data:a,schema:l,schemaCode:u,it:f}=e,{opts:h,errSchemaPath:p,schemaEnv:m,self:_}=f;if(!h.validateFormats)return;a?y():P();function y(){const S=r.scopeValue("formats",{ref:_.formats,code:h.code.formats}),T=r.const("fDef",(0,Qe._)`${S}[${u}]`),C=r.let("fType"),$=r.let("format");r.if((0,Qe._)`typeof ${T} == "object" && !(${T} instanceof RegExp)`,()=>r.assign(C,(0,Qe._)`${T}.type || "string"`).assign($,(0,Qe._)`${T}.validate`),()=>r.assign(C,(0,Qe._)`"string"`).assign($,T)),e.fail$data((0,Qe.or)(R(),j()));function R(){return h.strictSchema===!1?Qe.nil:(0,Qe._)`${u} && !${$}`}function j(){const B=m.$async?(0,Qe._)`(${T}.async ? await ${$}(${s}) : ${$}(${s}))`:(0,Qe._)`${$}(${s})`,G=(0,Qe._)`(typeof ${$} == "function" ? ${B} : ${$}.test(${s}))`;return(0,Qe._)`${$} && ${$} !== true && ${C} === ${n} && !${G}`}}function P(){const S=_.formats[l];if(!S){R();return}if(S===!0)return;const[T,C,$]=j(S);T===n&&e.pass(B());function R(){if(h.strictSchema===!1){_.logger.warn(G());return}throw new Error(G());function G(){return`unknown format "${l}" ignored in schema at path "${p}"`}}function j(G){const le=G instanceof RegExp?(0,Qe.regexpCode)(G):h.code.formats?(0,Qe._)`${h.code.formats}${(0,Qe.getProperty)(l)}`:void 0,ue=r.scopeValue("formats",{key:l,ref:G,code:le});return typeof G=="object"&&!(G instanceof RegExp)?[G.type||"string",G.validate,(0,Qe._)`${ue}.validate`]:["string",G,ue]}function B(){if(typeof S=="object"&&!(S instanceof RegExp)&&S.async){if(!m.$async)throw new Error("async format in sync schema");return(0,Qe._)`await ${$}(${s})`}return typeof C=="function"?(0,Qe._)`${$}(${s})`:(0,Qe._)`${$}.test(${s})`}}}};Bl.default=_b;Object.defineProperty(jl,"__esModule",{value:!0});const gb=Bl,vb=[gb.default];jl.default=vb;var Vi={};Object.defineProperty(Vi,"__esModule",{value:!0});Vi.contentVocabulary=Vi.metadataVocabulary=void 0;Vi.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Vi.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"];Object.defineProperty(fl,"__esModule",{value:!0});const yb=hl,wb=pl,bb=Tl,Pb=jl,cf=Vi,$b=[yb.default,wb.default,(0,bb.default)(),Pb.default,cf.metadataVocabulary,cf.contentVocabulary];fl.default=$b;var Zl={},lo={};Object.defineProperty(lo,"__esModule",{value:!0});lo.DiscrError=void 0;var uf;(function(e){e.Tag="tag",e.Mapping="mapping"})(uf||(lo.DiscrError=uf={}));Object.defineProperty(Zl,"__esModule",{value:!0});const Ri=Re,La=lo,ff=It,Sb=Ui,Eb=oe,Tb={message:({params:{discrError:e,tagName:n}})=>e===La.DiscrError.Tag?`tag "${n}" must be string`:`value of tag "${n}" must be in oneOf`,params:({params:{discrError:e,tag:n,tagName:r}})=>(0,Ri._)`{error: ${e}, tag: ${r}, tagValue: ${n}}`},xb={keyword:"discriminator",type:"object",schemaType:"object",error:Tb,code(e){const{gen:n,data:r,schema:s,parentSchema:a,it:l}=e,{oneOf:u}=a;if(!l.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=s.propertyName;if(typeof f!="string")throw new Error("discriminator: requires propertyName");if(s.mapping)throw new Error("discriminator: mapping is not supported");if(!u)throw new Error("discriminator: requires oneOf keyword");const h=n.let("valid",!1),p=n.const("tag",(0,Ri._)`${r}${(0,Ri.getProperty)(f)}`);n.if((0,Ri._)`typeof ${p} == "string"`,()=>m(),()=>e.error(!1,{discrError:La.DiscrError.Tag,tag:p,tagName:f})),e.ok(h);function m(){const P=y();n.if(!1);for(const S in P)n.elseIf((0,Ri._)`${p} === ${S}`),n.assign(h,_(P[S]));n.else(),e.error(!1,{discrError:La.DiscrError.Mapping,tag:p,tagName:f}),n.endIf()}function _(P){const S=n.name("valid"),T=e.subschema({keyword:"oneOf",schemaProp:P},S);return e.mergeEvaluated(T,Ri.Name),S}function y(){var P;const S={},T=$(a);let C=!0;for(let B=0;Bthis.addVocabulary(S)),this.opts.discriminator&&this.addKeyword(a.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const S=this.opts.$data?this.$dataMetaSchema(l,u):l;this.addMetaSchema(S,f,!1),this.refs["http://json-schema.org/schema"]=f}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(f)?f:void 0)}}n.Ajv=h,e.exports=n=h,e.exports.Ajv=h,Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var p=io();Object.defineProperty(n,"KeywordCxt",{enumerable:!0,get:function(){return p.KeywordCxt}});var m=Re;Object.defineProperty(n,"_",{enumerable:!0,get:function(){return m._}}),Object.defineProperty(n,"str",{enumerable:!0,get:function(){return m.str}}),Object.defineProperty(n,"stringify",{enumerable:!0,get:function(){return m.stringify}}),Object.defineProperty(n,"nil",{enumerable:!0,get:function(){return m.nil}}),Object.defineProperty(n,"Name",{enumerable:!0,get:function(){return m.Name}}),Object.defineProperty(n,"CodeGen",{enumerable:!0,get:function(){return m.CodeGen}});var _=Br;Object.defineProperty(n,"ValidationError",{enumerable:!0,get:function(){return _.default}});var y=Ui;Object.defineProperty(n,"MissingRefError",{enumerable:!0,get:function(){return y.default}})})(wa,wa.exports);var Ab=wa.exports;const Nb=qh(Ab),Fr=new Nb({coerceTypes:!0}),zb={type:"object",properties:{Name:{type:"string"}},required:["Name"],additionalProperties:!0};Fr.compile(zb);const Db={type:"object",properties:{Artist:{type:"string",nullable:!0},Description:{type:"string",nullable:!0},Photograph:{type:"object",properties:{Image:{type:"string"},Photographer:{type:"string"}},required:["Image","Photographer"],nullable:!0},Location:{type:"object",properties:{Coordinates:{type:"string",nullable:!0},"Located On":{type:"string"}},required:["Located On"],nullable:!0},Medium:{type:"string",nullable:!0},Title:{type:"string",nullable:!0}},additionalProperties:!0},Cd=Fr.compile(Db),jb={type:"object",properties:{type:{type:"string"},features:{type:"array",items:{type:"object",properties:{id:{type:"string"},type:{type:"string"},geometry:{type:"object",properties:{type:{type:"string"},coordinates:{type:"array",items:{type:"number"}}},required:["type","coordinates"]},properties:{type:"object",properties:{nodeId:{type:"string"}},required:["nodeId"]}},required:["id","type","properties"]}}},nullable:!0,required:["type","features"]};Fr.compile(jb);const Bb={type:"object",properties:{Name:{type:"string"}},required:["Name"],additionalProperties:!0};Fr.compile(Bb);var fn=(e=>(e.ARTWORK="Artwork",e.ARTIST="Artist",e.STRUCTURE="Structure",e.PHOTOGRAPHER="Photographer",e))(fn||{});const Zb={type:"object",properties:{Location:{type:"object",properties:{Address:{type:"string"},Coordinates:{type:"string",nullable:!0}},required:["Address"]}},required:["Location"],additionalProperties:!0};Fr.compile(Zb);const kd=(e,n,r,s)=>{if(s.graphIdToNameTable[e.graph_id]==="Artwork"){const u=n.find(f=>f.resourceinstance_id===e.resourceinstanceid);return(u==null?void 0:u.data[s.imageNodeId])??void 0}const a=r.find(u=>u.resourceinstanceidto_id===e.resourceinstanceid&&u.resourceinstancefrom_graphid_id===s.nameToGraphIdTable.Artwork);if(!a)return;const l=n.find(u=>u.resourceinstance_id===a.resourceinstanceidfrom_id);return(l==null?void 0:l.data[s.imageNodeId])??void 0},Fb=(e,n,r,s)=>{if(s.graphIdToNameTable[e.graph_id]!=="Artist")return;const a=r.filter(f=>f.resourceinstanceidto_id===e.resourceinstanceid&&f.resourceinstancefrom_graphid_id===s.nameToGraphIdTable.Artwork);if(!a)return;const l=a.map(f=>f.resourceinstanceidfrom_id);return n.filter(f=>l.includes(f.resourceinstanceid))??void 0},Vb={class:"search-result"},Hb={class:"metadata"},Ub={class:"resource-type"},qb={class:"title"},Wb={key:0,class:"description"},Kb=["src"],Gb=["src"],Jb=Ot({__name:"SearchListItem",props:{resourceName:{},resourceId:{},resourceDescription:{},resourceType:{},imageTileData:{}},setup(e){const n=e,r=!0,s=n.imageTileData?"https://arches-app-demo.opentechstrategies.com"+n.imageTileData[0].url:void 0;return(a,l)=>{const u=Hi("RouterLink");return ve(),it(u,{to:`/archesdataviewer/home/resource/${n.resourceId}`,class:"search-result-container"},{default:nt(()=>[be("div",Vb,[be("div",Hb,[be("div",Ub,Ct(n.resourceType??"Resource"),1),be("div",qb,Ct(n.resourceName),1),n.resourceDescription&&n.resourceDescription!=="Undefined"?(ve(),Ze("div",Wb,Ct(n.resourceDescription),1)):vt("",!0)]),ke(s)?(ve(),Ze("img",{key:0,class:"image",loading:"lazy",src:ke(s),alt:"thumbnail image"},null,8,Kb)):(ve(),Ze("img",{key:1,class:"image",src:ke(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png":"/noimage.png",alt:"no image available",loading:"lazy"},null,8,Gb))])]),_:1},8,["to"])}}}),On=(e,n)=>{const r=e.__vccOpts||e;for(const[s,a]of n)r[s]=a;return r},Yb=On(Jb,[["__scopeId","data-v-92222f0d"]]),Xb={class:"search-list-container"},Qb={class:"search-header"},eP={class:"resource-selection-menu"},tP=["placeholder"],nP={class:"search-results"},iP=Ot({__name:"SearchList",props:{resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{}},setup(e){const n=lt(""),r=lt("Artwork"),s=e,a=ct(()=>s.resourcesPrefetch.filter(f=>{const h=f.descriptors.en.name.toLowerCase().includes(n.value.toLowerCase()),p=r.value?s.idReferences.graphIdToNameTable[f.graph_id]===r.value:!0;return h&&p})),l=f=>{r.value=f},u=ct(()=>r.value==="Artwork"?"Search artworks by name...":r.value==="Artist"?"Search artists by name...":"");return(f,h)=>(ve(),Ze("div",Xb,[be("div",Qb,[be("div",eP,[be("button",{type:"button",class:di({active:r.value==="Artwork"}),onClick:h[0]||(h[0]=p=>l("Artwork"))}," Artworks ",2),be("button",{type:"button",class:di({active:r.value==="Artist"}),onClick:h[1]||(h[1]=p=>l("Artist"))}," Artists ",2)]),Bm(be("input",{"onUpdate:modelValue":h[2]||(h[2]=p=>n.value=p),class:"search-input",placeholder:u.value},null,8,tP),[[yg,n.value]])]),be("div",nP,[(ve(!0),Ze(at,null,vr(a.value,p=>(ve(),it(Yb,{key:p.resourceinstanceid,"resource-name":p.descriptors.en.name,"resource-description":p.descriptors.en.description,"resource-id":p.resourceinstanceid,"resource-type":s.idReferences.graphIdToNameTable[p.graph_id],"image-tile-data":ke(kd)(p,s.imagesPrefetch,s.resourceRelationsPrefetch,s.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data"]))),128))])]))}}),rP=On(iP,[["__scopeId","data-v-a2fd9aa9"]]),hf=Ot({__name:"SearchView",props:{resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{}},setup(e){const n=e;return(r,s)=>(ve(),it(rP,{"resource-relations-prefetch":n.resourceRelationsPrefetch,"images-prefetch":n.imagesPrefetch,"resources-prefetch":n.resourcesPrefetch,"id-references":n.idReferences},null,8,["resource-relations-prefetch","images-prefetch","resources-prefetch","id-references"]))}}),sP=Ot({__name:"ResourcePanelProvider",props:{id:{}},setup(e){const n=e,r=no(),s=lt(),a=lt(),l=lt(!1);async function u(){try{const p=new URL(`https://arches-app-demo.opentechstrategies.com/resources/${n.id}`),m=new URLSearchParams({format:"json"});p.search=m.toString();const y=await(await fetch(p.toString())).json();s.value=y}catch{s.value=void 0,l.value=!0}}async function f(){const p=new URL(`https://arches-app-demo.opentechstrategies.com/resource/related/${n.id}`),m=await fetch(p.toString()).then(_=>_.json());a.value=m.related_resources.related_resources}async function h(){try{await u(),await f()}catch{l.value=!0}}return hi(()=>r.params.id,h,{immediate:!0}),(p,m)=>(ve(),it(Mh,null,{default:nt(()=>[s.value&&a.value?un(p.$slots,"default",{key:0,resource:s.value,resourceRelations:a.value,error:l.value}):vt("",!0)]),_:3}))}});function oP(e,n){return ve(),Ze("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[be("path",{"fill-rule":"evenodd",d:"M7.72 12.53a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 1 1 1.06 1.06L9.31 12l6.97 6.97a.75.75 0 1 1-1.06 1.06l-7.5-7.5Z","clip-rule":"evenodd"})])}function aP(e,n){return ve(),Ze("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[be("path",{"fill-rule":"evenodd",d:"M16.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L14.69 12 7.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5Z","clip-rule":"evenodd"})])}const lP={},cP={class:"resource-detail-header"},uP={class:"resource-detail-type"},fP={class:"resource-detail-title"},hP={key:0,class:"resource-detail-more-by-artist"},dP={class:"resource-detail-metadata"},pP={class:"resource-detail-metadata-content"};function mP(e,n){return ve(),Ze(at,null,[be("div",cP,[be("div",uP,[un(e.$slots,"header-label",{},void 0,!0)]),be("div",fP,[un(e.$slots,"header-title",{},void 0,!0)])]),un(e.$slots,"items",{},void 0,!0),e.$slots["more-by-artist"]?(ve(),Ze("div",hP,[un(e.$slots,"more-by-artist",{},void 0,!0)])):vt("",!0),be("div",dP,[n[0]||(n[0]=be("div",{class:"resource-detail-metadata-title"},"Arches metadata:",-1)),be("div",pP,[un(e.$slots,"metadata",{},void 0,!0)])])],64)}const _P=On(lP,[["render",mP],["__scopeId","data-v-ac051309"]]),gP={class:"resource-detail-item"},vP={class:"resource-detail-item-header"},yP={key:0,class:"resource-detail-item-title"},wP={key:1,class:"resource-detail-item-byline"},bP={class:"resource-detail-item-image"},PP=["src"],$P=["src"],SP={key:2,class:"resource-detail-item-credit"},EP={key:0,class:"resource-detail-item-description"},TP=Ot({__name:"ResourceDetailItem",props:{imageUrl:{}},setup(e){const r=e,s=ct(()=>r.imageUrl?"https://arches-app-demo.opentechstrategies.com"+r.imageUrl:void 0);return(a,l)=>(ve(),Ze("div",gP,[be("div",vP,[a.$slots["item-header-title"]?(ve(),Ze("div",yP,[un(a.$slots,"item-header-title",{},void 0,!0)])):vt("",!0),a.$slots["item-header-byline"]?(ve(),Ze("div",wP,[un(a.$slots,"item-header-byline",{},void 0,!0)])):vt("",!0)]),be("figure",bP,[s.value?(ve(),Ze("img",{key:0,src:s.value,alt:"resource image"},null,8,PP)):(ve(),Ze("img",{key:1,src:ke(!0)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png":"/noimage.png",alt:"no image available",loading:"lazy"},null,8,$P)),a.$slots["item-credit"]?(ve(),Ze("figcaption",SP,[un(a.$slots,"item-credit",{},void 0,!0)])):vt("",!0)]),a.$slots["item-description"]?(ve(),Ze("div",EP,[un(a.$slots,"item-description",{},void 0,!0)])):vt("",!0)]))}}),xP=On(TP,[["__scopeId","data-v-34d6af25"]]),LP={key:0},CP={key:1},Od=Ot({__name:"ArtworkDetailItem",props:{artwork:{},artworkId:{},panelResourceType:{},resourceRelations:{},idReferences:{}},setup(e){const n=lt(),r=lt(),s=lt(),a=e,{graphIdToNameTable:l}=a.idReferences;return hi(()=>a.resourceRelations,u=>{n.value=u.find(f=>l[f.graph_id]==="Photographer"),r.value=u.find(f=>l[f.graph_id]==="Structure"),s.value=u.find(f=>l[f.graph_id]==="Artist")},{immediate:!0}),(u,f)=>{var p;const h=Hi("RouterLink");return a.panelResourceType!==void 0?(ve(),it(xP,{key:0,"image-url":(p=a.artwork.Photograph)==null?void 0:p.Image},lh({_:2},[a.panelResourceType!==ke(fn).ARTWORK?{name:"item-header-title",fn:nt(()=>[Ke(h,{to:`/archesdataviewer/home/resource/${a.artworkId}`,class:"resource-link"},{default:nt(()=>[xn(Ct(u.artwork.Title),1)]),_:1},8,["to"])]),key:"0"}:void 0,s.value&&r.value?{name:"item-header-byline",fn:nt(()=>[be("span",null,[a.panelResourceType!==ke(fn).ARTIST?(ve(),Ze("span",LP,[f[0]||(f[0]=xn("by ")),Ke(h,{to:`/archesdataviewer/home/resource/${s.value.resourceinstanceid}`,class:"resource-link"},{default:nt(()=>[xn(Ct(s.value.displayname),1)]),_:1},8,["to"])])):vt("",!0),a.panelResourceType!==ke(fn).STRUCTURE?(ve(),Ze("span",CP," at "+Ct(r.value.displayname),1)):vt("",!0)])]),key:"1"}:void 0,n.value&&a.panelResourceType!==ke(fn).PHOTOGRAPHER?{name:"item-credit",fn:nt(()=>[be("span",null," Photographer: "+Ct(n.value.displayname),1)]),key:"2"}:void 0,a.artwork.Description&&a.panelResourceType===ke(fn).ARTWORK?{name:"item-description",fn:nt(()=>[be("p",null,Ct(a.artwork.Description),1)]),key:"3"}:void 0]),1032,["image-url"])):vt("",!0)}}}),ia=Ot({__name:"RelatedArtworkDetailItem",props:{relatedArtwork:{},idReferences:{},panelResourceType:{}},setup(e){const n=e,{graphIdToNameTable:r}=n.idReferences,s=lt(),a=lt();async function l(){const f=new URL(`https://arches-app-demo.opentechstrategies.com/resources/${n.relatedArtwork.resourceinstanceid}`),h=new URLSearchParams({format:"json"});f.search=h.toString();const m=await(await fetch(f.toString())).json();s.value=m}async function u(){const f=new URL(`https://arches-app-demo.opentechstrategies.com/resource/related/${n.relatedArtwork.resourceinstanceid}`),h=await fetch(f.toString()).then(p=>p.json());a.value=h.related_resources.related_resources}return l(),u(),(f,h)=>{var p;return ke(Cd)((p=s.value)==null?void 0:p.resource)&&ke(r)[s.value.graph_id]==="Artwork"&&a.value&&s.value!==void 0?(ve(),it(Od,{key:0,artwork:s.value.resource,"artwork-id":s.value.resourceinstanceid,"resource-relations":a.value,"id-references":n.idReferences,"panel-resource-type":n.panelResourceType},null,8,["artwork","artwork-id","resource-relations","id-references","panel-resource-type"])):vt("",!0)}}}),kP=["src","alt"],OP=Ot({__name:"MoreArtworksByArtistItem",props:{artwork:{},imageTileData:{}},setup(e){const n=no(),r=e,s=ct(()=>{var u;return(u=r.imageTileData)!=null&&u.length?"https://arches-app-demo.opentechstrategies.com"+r.imageTileData[0].url:void 0}),a=ct(()=>"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png"),l=ct(()=>{var u;return((u=n.params)==null?void 0:u.id)===r.artwork.resourceinstanceid});return(u,f)=>{const h=Hi("RouterLink");return ve(),it(h,{to:`/archesdataviewer/home/resource/${r.artwork.resourceinstanceid}`},{default:nt(()=>[be("div",null,[be("img",{class:di(["more-artwork-image",{blocked:l.value}]),src:s.value||a.value,alt:s.value?"Thumbnail image":"No image available"},null,10,kP)])]),_:1},8,["to"])}}}),RP=On(OP,[["__scopeId","data-v-f9a8b566"]]),MP={key:0},IP={key:0,class:"more-artworks-by-artist-title"},AP={class:"more-artworks-by-artist-gallery"},NP=Ot({__name:"MoreArtworksByArtist",props:{resource:{},resourcesPrefetch:{},resourceRelations:{},idReferences:{},resourceRelationsPrefetch:{},imagesPrefetch:{}},setup(e){const n=e,r=ct(()=>n.resourceRelations.find(a=>n.idReferences.graphIdToNameTable[a.graph_id]==="Artist")),s=ct(()=>{if(r.value)return Fb(r.value,n.resourcesPrefetch,n.resourceRelationsPrefetch,n.idReferences)});return(a,l)=>{const u=Hi("RouterLink");return s.value&&s.value.length>1?(ve(),Ze("div",MP,[r.value?(ve(),Ze("div",IP,[l[0]||(l[0]=xn(" More artwork by ")),Ke(u,{to:`/archesdataviewer/home/resource/${r.value.resourceinstanceid}`,class:"resource-link"},{default:nt(()=>[xn(Ct(r.value.displayname),1)]),_:1},8,["to"])])):vt("",!0),be("div",AP,[(ve(!0),Ze(at,null,vr(s.value,f=>(ve(),it(RP,{key:f.resourceinstanceid,artwork:f,"image-tile-data":ke(kd)(f,n.imagesPrefetch,n.resourceRelationsPrefetch,n.idReferences)},null,8,["artwork","image-tile-data"]))),128))])])):vt("",!0)}}}),zP=On(NP,[["__scopeId","data-v-0665300e"]]),DP={key:0,class:"resource-detail"},jP=["href"],BP=Ot({__name:"ResourcePanel",props:{resource:{},resourceRelations:{},resourceRelationsPrefetch:{},imagesPrefetch:{},idReferences:{},resourcesPrefetch:{}},setup(e){const n=e,{graphIdToNameTable:r}=n.idReferences,s="https://arches-app-demo.opentechstrategies.com";return(a,l)=>{const u=Hi("RouterLink");return n.resource?(ve(),Ze("div",DP,[be("div",null,[Ke(u,{to:"/archesdataviewer/home/",class:"button"},{default:nt(()=>[Ke(ke(oP),{class:"button-icon"}),l[0]||(l[0]=be("span",null,"Back to search",-1))]),_:1})]),Ke(_P,null,lh({"header-label":nt(()=>[xn(Ct(ke(r)[n.resource.graph_id]),1)]),"header-title":nt(()=>[xn(Ct(n.resource.displayname??""),1)]),items:nt(()=>[ke(Cd)(n.resource.resource)&&ke(r)[n.resource.graph_id]==="Artwork"?(ve(),it(Od,{key:0,artwork:n.resource.resource,"artwork-id":n.resource.resourceinstanceid,"resource-relations":n.resourceRelations,"id-references":n.idReferences,"panel-resource-type":ke(fn).ARTWORK},null,8,["artwork","artwork-id","resource-relations","id-references","panel-resource-type"])):ke(r)[n.resource.graph_id]==="Artist"?(ve(!0),Ze(at,{key:1},vr(a.resourceRelations.filter(f=>ke(r)[f.graph_id]==="Artwork"),f=>(ve(),it(ia,{key:f.graph_id,"related-artwork":f,"id-references":n.idReferences,"panel-resource-type":ke(fn).ARTIST},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):ke(r)[n.resource.graph_id]==="Structure"?(ve(!0),Ze(at,{key:2},vr(a.resourceRelations.filter(f=>ke(r)[f.graph_id]==="Artwork"),f=>(ve(),it(ia,{key:f.resourceinstanceid,"related-artwork":f,"id-references":n.idReferences,"panel-resource-type":ke(fn).STRUCTURE},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):ke(r)[n.resource.graph_id]==="Photographer"?(ve(!0),Ze(at,{key:3},vr(a.resourceRelations.filter(f=>ke(r)[f.graph_id]==="Artwork"),f=>(ve(),it(ia,{key:f.root_ontology_class,"related-artwork":f,"id-references":n.idReferences,"panel-resource-type":ke(fn).PHOTOGRAPHER},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):vt("",!0)]),metadata:nt(()=>[be("div",null,"Graph ID: "+Ct(n.resource.graph_id),1),be("div",null,[l[1]||(l[1]=xn(" Resource Instance ID: ")),be("a",{href:`${ke(s)}/report/${n.resource.resourceinstanceid}`},Ct(n.resource.resourceinstanceid),9,jP)])]),_:2},[ke(r)[n.resource.graph_id]==="Artwork"?{name:"more-by-artist",fn:nt(()=>[Ke(zP,{resource:n.resource,"resource-relations":a.resourceRelations,"resource-relations-prefetch":n.resourceRelationsPrefetch,"resources-prefetch":n.resourcesPrefetch,"images-prefetch":n.imagesPrefetch,"id-references":n.idReferences},null,8,["resource","resource-relations","resource-relations-prefetch","resources-prefetch","images-prefetch","id-references"])]),key:"0"}:void 0]),1024)])):vt("",!0)}}}),ZP=On(BP,[["__scopeId","data-v-a5da39c2"]]),FP={key:1},VP=Ot({__name:"ResourceDetailView",props:{resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{}},setup(e){const n=no(),r=e;return(s,a)=>(ve(),it(sP,{id:ke(n).params.id},{default:nt(({resource:l,resourceRelations:u,error:f})=>[l&&u&&!f?(ve(),it(ZP,{key:0,resource:l,"resource-relations":u,"id-references":r.idReferences,"resource-relations-prefetch":r.resourceRelationsPrefetch,"images-prefetch":r.imagesPrefetch,"resources-prefetch":r.resourcesPrefetch},null,8,["resource","resource-relations","id-references","resource-relations-prefetch","images-prefetch","resources-prefetch"])):f?(ve(),Ze("div",FP,[be("p",null,"No Resource found with id "+Ct(ke(n).params.id),1)])):vt("",!0)]),_:1},8,["id"]))}}),HP=[{path:"/archesdataviewer/home/",component:hf},{path:"/",component:hf},{path:"/archesdataviewer/home/resource/:id",component:VP}],UP=Tv({history:tv(),routes:HP});var Ca={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(e,n){(function(r,s){s(n)})(Ov,function(r){var s="1.9.4";function a(t){var i,o,c,d;for(o=1,c=arguments.length;o"u"||!L||!L.Mixin)){t=j(t)?t:[t];for(var i=0;i0?Math.floor(t):Math.ceil(t)};ie.prototype={clone:function(){return new ie(this.x,this.y)},add:function(t){return this.clone()._add(U(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(U(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 ie(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new ie(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=rt(this.x),this.y=rt(this.y),this},distanceTo:function(t){t=U(t);var i=t.x-this.x,o=t.y-this.y;return Math.sqrt(i*i+o*o)},equals:function(t){return t=U(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=U(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+y(this.x)+", "+y(this.y)+")"}};function U(t,i,o){return t instanceof ie?t:j(t)?new ie(t[0],t[1]):t==null?t:typeof t=="object"&&"x"in t&&"y"in t?new ie(t.x,t.y):new ie(t,i,o)}function M(t,i){if(t)for(var o=i?[t,i]:t,c=0,d=o.length;c=this.min.x&&o.x<=this.max.x&&i.y>=this.min.y&&o.y<=this.max.y},intersects:function(t){t=q(t);var i=this.min,o=this.max,c=t.min,d=t.max,v=d.x>=i.x&&c.x<=o.x,x=d.y>=i.y&&c.y<=o.y;return v&&x},overlaps:function(t){t=q(t);var i=this.min,o=this.max,c=t.min,d=t.max,v=d.x>i.x&&c.xi.y&&c.y=i.lat&&d.lat<=o.lat&&c.lng>=i.lng&&d.lng<=o.lng},intersects:function(t){t=w(t);var i=this._southWest,o=this._northEast,c=t.getSouthWest(),d=t.getNorthEast(),v=d.lat>=i.lat&&c.lat<=o.lat,x=d.lng>=i.lng&&c.lng<=o.lng;return v&&x},overlaps:function(t){t=w(t);var i=this._southWest,o=this._northEast,c=t.getSouthWest(),d=t.getNorthEast(),v=d.lat>i.lat&&c.lati.lng&&c.lng1,Bd=function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",_,i),window.removeEventListener("testPassiveEventSupport",_,i)}catch{}return t}(),Zd=function(){return!!document.createElement("canvas").getContext}(),co=!!(document.createElementNS&&O("svg").createSVGRect),Fd=!!co&&function(){var t=document.createElement("div");return t.innerHTML="",(t.firstChild&&t.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),Vd=!co&&function(){try{var t=document.createElement("div");t.innerHTML='';var i=t.firstChild;return i.style.behavior="url(#default#VML)",i&&typeof i.adj=="object"}catch{return!1}}(),Hd=navigator.platform.indexOf("Mac")===0,Ud=navigator.platform.indexOf("Linux")===0;function nn(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var he={ie:W,ielt9:te,edge:ee,webkit:Y,android:X,android23:ae,androidStock:ce,opera:de,chrome:Te,gecko:Ne,safari:Ie,phantom:ft,opera12:st,win:At,ie3d:yt,webkit3d:mn,gecko3d:Ki,any3d:Et,mobile:wt,mobileWebkit:Fr,mobileWebkit3d:Ad,msPointer:Vl,pointer:Hl,touch:Nd,touchNative:Ul,mobileOpera:zd,mobileGecko:Dd,retina:jd,passiveEvents:Bd,canvas:Zd,svg:co,vml:Vd,inlineSvg:Fd,mac:Hd,linux:Ud},ql=he.msPointer?"MSPointerDown":"pointerdown",Wl=he.msPointer?"MSPointerMove":"pointermove",Kl=he.msPointer?"MSPointerUp":"pointerup",Gl=he.msPointer?"MSPointerCancel":"pointercancel",uo={touchstart:ql,touchmove:Wl,touchend:Kl,touchcancel:Gl},Jl={touchstart:Yd,touchmove:Vr,touchend:Vr,touchcancel:Vr},vi={},Yl=!1;function qd(t,i,o){return i==="touchstart"&&Jd(),Jl[i]?(o=Jl[i].bind(this,o),t.addEventListener(uo[i],o,!1),o):(console.warn("wrong event specified:",i),_)}function Wd(t,i,o){if(!uo[i]){console.warn("wrong event specified:",i);return}t.removeEventListener(uo[i],o,!1)}function Kd(t){vi[t.pointerId]=t}function Gd(t){vi[t.pointerId]&&(vi[t.pointerId]=t)}function Xl(t){delete vi[t.pointerId]}function Jd(){Yl||(document.addEventListener(ql,Kd,!0),document.addEventListener(Wl,Gd,!0),document.addEventListener(Kl,Xl,!0),document.addEventListener(Gl,Xl,!0),Yl=!0)}function Vr(t,i){if(i.pointerType!==(i.MSPOINTER_TYPE_MOUSE||"mouse")){i.touches=[];for(var o in vi)i.touches.push(vi[o]);i.changedTouches=[i],t(i)}}function Yd(t,i){i.MSPOINTER_TYPE_TOUCH&&i.pointerType===i.MSPOINTER_TYPE_TOUCH&&pt(i),Vr(t,i)}function Xd(t){var i={},o,c;for(c in t)o=t[c],i[c]=o&&o.bind?o.bind(t):o;return t=i,i.type="dblclick",i.detail=2,i.isTrusted=!1,i._simulated=!0,i}var Qd=200;function ep(t,i){t.addEventListener("dblclick",i);var o=0,c;function d(v){if(v.detail!==1){c=v.detail;return}if(!(v.pointerType==="mouse"||v.sourceCapabilities&&!v.sourceCapabilities.firesTouchEvents)){var x=ic(v);if(!(x.some(function(Z){return Z instanceof HTMLLabelElement&&Z.attributes.for})&&!x.some(function(Z){return Z instanceof HTMLInputElement||Z instanceof HTMLSelectElement}))){var D=Date.now();D-o<=Qd?(c++,c===2&&i(Xd(v))):c=1,o=D}}}return t.addEventListener("click",d),{dblclick:i,simDblclick:d}}function tp(t,i){t.removeEventListener("dblclick",i.dblclick),t.removeEventListener("click",i.simDblclick)}var fo=qr(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Gi=qr(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Ql=Gi==="webkitTransition"||Gi==="OTransition"?Gi+"End":"transitionend";function ec(t){return typeof t=="string"?document.getElementById(t):t}function Ji(t,i){var o=t.style[i]||t.currentStyle&&t.currentStyle[i];if((!o||o==="auto")&&document.defaultView){var c=document.defaultView.getComputedStyle(t,null);o=c?c[i]:null}return o==="auto"?null:o}function ze(t,i,o){var c=document.createElement(t);return c.className=i||"",o&&o.appendChild(c),c}function Je(t){var i=t.parentNode;i&&i.removeChild(t)}function Hr(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function yi(t){var i=t.parentNode;i&&i.lastChild!==t&&i.appendChild(t)}function wi(t){var i=t.parentNode;i&&i.firstChild!==t&&i.insertBefore(t,i.firstChild)}function ho(t,i){if(t.classList!==void 0)return t.classList.contains(i);var o=Ur(t);return o.length>0&&new RegExp("(^|\\s)"+i+"(\\s|$)").test(o)}function Le(t,i){if(t.classList!==void 0)for(var o=$(i),c=0,d=o.length;c0?2*window.devicePixelRatio:1;function sc(t){return he.edge?t.wheelDeltaY/2:t.deltaY&&t.deltaMode===0?-t.deltaY/rp: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 Eo(t,i){var o=i.relatedTarget;if(!o)return!0;try{for(;o&&o!==t;)o=o.parentNode}catch{return!1}return o!==t}var sp={__proto__:null,on:Se,off:Ue,stopPropagation:Xn,disableScrollPropagation:So,disableClickPropagation:er,preventDefault:pt,stop:Qn,getPropagationPath:ic,getMousePosition:rc,getWheelDelta:sc,isExternalTarget:Eo,addListener:Se,removeListener:Ue},oc=Ee.extend({run:function(t,i,o,c){this.stop(),this._el=t,this._inProgress=!0,this._duration=o||.25,this._easeOutPower=1/Math.max(c||.5,.2),this._startPos=Yn(t),this._offset=i.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=me(this._animate,this),this._step()},_step:function(t){var i=+new Date-this._startTime,o=this._duration*1e3;ithis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,i){this._enforcingBounds=!0;var o=this.getCenter(),c=this._limitCenter(o,this._zoom,w(t));return o.equals(c)||this.panTo(c,i),this._enforcingBounds=!1,this},panInside:function(t,i){i=i||{};var o=U(i.paddingTopLeft||i.padding||[0,0]),c=U(i.paddingBottomRight||i.padding||[0,0]),d=this.project(this.getCenter()),v=this.project(t),x=this.getPixelBounds(),D=q([x.min.add(o),x.max.subtract(c)]),Z=D.getSize();if(!D.contains(v)){this._enforcingBounds=!0;var J=v.subtract(D.getCenter()),se=D.extend(v).getSize().subtract(Z);d.x+=J.x<0?-se.x:se.x,d.y+=J.y<0?-se.y:se.y,this.panTo(this.unproject(d),i),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=a({animate:!1,pan:!0},t===!0?{animate:!0}:t);var i=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),c=i.divideBy(2).round(),d=o.divideBy(2).round(),v=c.subtract(d);return!v.x&&!v.y?this:(t.animate&&t.pan?this.panBy(v):(t.pan&&this._rawPanBy(v),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(u(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:i,newSize:o}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=a({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var i=u(this._handleGeolocationResponse,this),o=u(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(i,o,t):navigator.geolocation.getCurrentPosition(i,o,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var i=t.code,o=t.message||(i===1?"permission denied":i===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:i,message:"Geolocation error: "+o+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var i=t.coords.latitude,o=t.coords.longitude,c=new E(i,o),d=c.toBounds(t.coords.accuracy*2),v=this._locateOptions;if(v.setView){var x=this.getBoundsZoom(d);this.setView(c,v.maxZoom?Math.min(x,v.maxZoom):x)}var D={latlng:c,bounds:d,timestamp:t.timestamp};for(var Z in t.coords)typeof t.coords[Z]=="number"&&(D[Z]=t.coords[Z]);this.fire("locationfound",D)}},addHandler:function(t,i){if(!i)return this;var o=this[t]=new i(this);return this._handlers.push(o),this.options[t]&&o.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),Je(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(ne(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)Je(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,i){var o="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),c=ze("div",o,i||this._mapPane);return t&&(this._panes[t]=c),c},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(),i=this.unproject(t.getBottomLeft()),o=this.unproject(t.getTopRight());return new z(i,o)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,i,o){t=w(t),o=U(o||[0,0]);var c=this.getZoom()||0,d=this.getMinZoom(),v=this.getMaxZoom(),x=t.getNorthWest(),D=t.getSouthEast(),Z=this.getSize().subtract(o),J=q(this.project(D,c),this.project(x,c)).getSize(),se=he.any3d?this.options.zoomSnap:1,ge=Z.x/J.x,Ce=Z.y/J.y,Tt=i?Math.max(ge,Ce):Math.min(ge,Ce);return c=this.getScaleZoom(Tt,c),se&&(c=Math.round(c/(se/100))*(se/100),c=i?Math.ceil(c/se)*se:Math.floor(c/se)*se),Math.max(d,Math.min(v,c))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new ie(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,i){var o=this._getTopLeftPoint(t,i);return new M(o,o.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(t===void 0?this.getZoom():t)},getPane:function(t){return typeof t=="string"?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,i){var o=this.options.crs;return i=i===void 0?this._zoom:i,o.scale(t)/o.scale(i)},getScaleZoom:function(t,i){var o=this.options.crs;i=i===void 0?this._zoom:i;var c=o.zoom(t*o.scale(i));return isNaN(c)?1/0:c},project:function(t,i){return i=i===void 0?this._zoom:i,this.options.crs.latLngToPoint(N(t),i)},unproject:function(t,i){return i=i===void 0?this._zoom:i,this.options.crs.pointToLatLng(U(t),i)},layerPointToLatLng:function(t){var i=U(t).add(this.getPixelOrigin());return this.unproject(i)},latLngToLayerPoint:function(t){var i=this.project(N(t))._round();return i._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(N(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(w(t))},distance:function(t,i){return this.options.crs.distance(N(t),N(i))},containerPointToLayerPoint:function(t){return U(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return U(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var i=this.containerPointToLayerPoint(U(t));return this.layerPointToLatLng(i)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(N(t)))},mouseEventToContainerPoint:function(t){return rc(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 i=this._container=ec(t);if(i){if(i._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");Se(i,"scroll",this._onScroll,this),this._containerId=h(i)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&he.any3d,Le(t,"leaflet-container"+(he.touch?" leaflet-touch":"")+(he.retina?" leaflet-retina":"")+(he.ielt9?" leaflet-oldie":"")+(he.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var i=Ji(t,"position");i!=="absolute"&&i!=="relative"&&i!=="fixed"&&i!=="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 ie(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Le(t.markerPane,"leaflet-zoom-hide"),Le(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,i,o){et(this._mapPane,new ie(0,0));var c=!this._loaded;this._loaded=!0,i=this._limitZoom(i),this.fire("viewprereset");var d=this._zoom!==i;this._moveStart(d,o)._move(t,i)._moveEnd(d),this.fire("viewreset"),c&&this.fire("load")},_moveStart:function(t,i){return t&&this.fire("zoomstart"),i||this.fire("movestart"),this},_move:function(t,i,o,c){i===void 0&&(i=this._zoom);var d=this._zoom!==i;return this._zoom=i,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),c?o&&o.pinch&&this.fire("zoom",o):((d||o&&o.pinch)&&this.fire("zoom",o),this.fire("move",o)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return ne(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[h(this._container)]=this;var i=t?Ue:Se;i(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&i(window,"resize",this._onResize,this),he.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){ne(this._resizeRequest),this._resizeRequest=me(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,i){for(var o=[],c,d=i==="mouseout"||i==="mouseover",v=t.target||t.srcElement,x=!1;v;){if(c=this._targets[h(v)],c&&(i==="click"||i==="preclick")&&this._draggableMoved(c)){x=!0;break}if(c&&c.listens(i,!0)&&(d&&!Eo(v,t)||(o.push(c),d))||v===this._container)break;v=v.parentNode}return!o.length&&!x&&!d&&this.listens(i,!0)&&(o=[this]),o},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var i=t.target||t.srcElement;if(!(!this._loaded||i._leaflet_disable_events||t.type==="click"&&this._isClickDisabled(i))){var o=t.type;o==="mousedown"&&yo(i),this._fireDOMEvent(t,o)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,i,o){if(t.type==="click"){var c=a({},t);c.type="preclick",this._fireDOMEvent(c,c.type,o)}var d=this._findEventTargets(t,i);if(o){for(var v=[],x=0;x0?Math.round(t-i)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(i))},_limitZoom:function(t){var i=this.getMinZoom(),o=this.getMaxZoom(),c=he.any3d?this.options.zoomSnap:1;return c&&(t=Math.round(t/c)*c),Math.max(i,Math.min(o,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){Xe(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,i){var o=this._getCenterOffset(t)._trunc();return(i&&i.animate)!==!0&&!this.getSize().contains(o)?!1:(this.panBy(o,i),!0)},_createAnimProxy:function(){var t=this._proxy=ze("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(i){var o=fo,c=this._proxy.style[o];Jn(this._proxy,this.project(i.center,i.zoom),this.getZoomScale(i.zoom,1)),c===this._proxy.style[o]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Je(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),i=this.getZoom();Jn(this._proxy,this.project(t,i),this.getZoomScale(i,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,i,o){if(this._animatingZoom)return!0;if(o=o||{},!this._zoomAnimated||o.animate===!1||this._nothingToAnimate()||Math.abs(i-this._zoom)>this.options.zoomAnimationThreshold)return!1;var c=this.getZoomScale(i),d=this._getCenterOffset(t)._divideBy(1-1/c);return o.animate!==!0&&!this.getSize().contains(d)?!1:(me(function(){this._moveStart(!0,o.noMoveStart||!1)._animateZoom(t,i,!0)},this),!0)},_animateZoom:function(t,i,o,c){this._mapPane&&(o&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=i,Le(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:i,noUpdate:c}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(u(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&Xe(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 op(t,i){return new Ae(t,i)}var Ut=_e.extend({options:{position:"topright"},initialize:function(t){T(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var i=this._map;return i&&i.removeControl(this),this.options.position=t,i&&i.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var i=this._container=this.onAdd(t),o=this.getPosition(),c=t._controlCorners[o];return Le(i,"leaflet-control"),o.indexOf("bottom")!==-1?c.insertBefore(i,c.firstChild):c.appendChild(i),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Je(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()}}),tr=function(t){return new Ut(t)};Ae.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},i="leaflet-",o=this._controlContainer=ze("div",i+"control-container",this._container);function c(d,v){var x=i+d+" "+i+v;t[d+v]=ze("div",x,o)}c("top","left"),c("top","right"),c("bottom","left"),c("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)Je(this._controlCorners[t]);Je(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var ac=Ut.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,i,o,c){return o1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=i&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var i=this._getLayer(h(t.target)),o=i.overlay?t.type==="add"?"overlayadd":"overlayremove":t.type==="add"?"baselayerchange":null;o&&this._map.fire(o,i)},_createRadioElement:function(t,i){var o='",c=document.createElement("div");return c.innerHTML=o,c.firstChild},_addItem:function(t){var i=document.createElement("label"),o=this._map.hasLayer(t.layer),c;t.overlay?(c=document.createElement("input"),c.type="checkbox",c.className="leaflet-control-layers-selector",c.defaultChecked=o):c=this._createRadioElement("leaflet-base-layers_"+h(this),o),this._layerControlInputs.push(c),c.layerId=h(t.layer),Se(c,"click",this._onInputClick,this);var d=document.createElement("span");d.innerHTML=" "+t.name;var v=document.createElement("span");i.appendChild(v),v.appendChild(c),v.appendChild(d);var x=t.overlay?this._overlaysList:this._baseLayersList;return x.appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var t=this._layerControlInputs,i,o,c=[],d=[];this._handlingClick=!0;for(var v=t.length-1;v>=0;v--)i=t[v],o=this._getLayer(i.layerId).layer,i.checked?c.push(o):i.checked||d.push(o);for(v=0;v=0;d--)i=t[d],o=this._getLayer(i.layerId).layer,i.disabled=o.options.minZoom!==void 0&&co.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,Se(t,"click",pt),this.expand();var i=this;setTimeout(function(){Ue(t,"click",pt),i._preventClick=!1})}}),ap=function(t,i,o){return new ac(t,i,o)},To=Ut.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(t){var i="leaflet-control-zoom",o=ze("div",i+" leaflet-bar"),c=this.options;return this._zoomInButton=this._createButton(c.zoomInText,c.zoomInTitle,i+"-in",o,this._zoomIn),this._zoomOutButton=this._createButton(c.zoomOutText,c.zoomOutTitle,i+"-out",o,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),o},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,i,o,c,d){var v=ze("a",o,c);return v.innerHTML=t,v.href="#",v.title=i,v.setAttribute("role","button"),v.setAttribute("aria-label",i),er(v),Se(v,"click",Qn),Se(v,"click",d,this),Se(v,"click",this._refocusOnMap,this),v},_updateDisabled:function(){var t=this._map,i="leaflet-disabled";Xe(this._zoomInButton,i),Xe(this._zoomOutButton,i),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(Le(this._zoomOutButton,i),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(Le(this._zoomInButton,i),this._zoomInButton.setAttribute("aria-disabled","true"))}});Ae.mergeOptions({zoomControl:!0}),Ae.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new To,this.addControl(this.zoomControl))});var lp=function(t){return new To(t)},lc=Ut.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var i="leaflet-control-scale",o=ze("div",i),c=this.options;return this._addScales(c,i+"-line",o),t.on(c.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),o},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,i,o){t.metric&&(this._mScale=ze("div",i,o)),t.imperial&&(this._iScale=ze("div",i,o))},_update:function(){var t=this._map,i=t.getSize().y/2,o=t.distance(t.containerPointToLatLng([0,i]),t.containerPointToLatLng([this.options.maxWidth,i]));this._updateScales(o)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var i=this._getRoundNum(t),o=i<1e3?i+" m":i/1e3+" km";this._updateScale(this._mScale,o,i/t)},_updateImperial:function(t){var i=t*3.2808399,o,c,d;i>5280?(o=i/5280,c=this._getRoundNum(o),this._updateScale(this._iScale,c+" mi",c/o)):(d=this._getRoundNum(i),this._updateScale(this._iScale,d+" ft",d/i))},_updateScale:function(t,i,o){t.style.width=Math.round(this.options.maxWidth*o)+"px",t.innerHTML=i},_getRoundNum:function(t){var i=Math.pow(10,(Math.floor(t)+"").length-1),o=t/i;return o=o>=10?10:o>=5?5:o>=3?3:o>=2?2:1,i*o}}),cp=function(t){return new lc(t)},up='',xo=Ut.extend({options:{position:"bottomright",prefix:''+(he.inlineSvg?up+" ":"")+"Leaflet"},initialize:function(t){T(this,t),this._attributions={}},onAdd:function(t){t.attributionControl=this,this._container=ze("div","leaflet-control-attribution"),er(this._container);for(var i in t._layers)t._layers[i].getAttribution&&this.addAttribution(t._layers[i].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 i in this._attributions)this._attributions[i]&&t.push(i);var o=[];this.options.prefix&&o.push(this.options.prefix),t.length&&o.push(t.join(", ")),this._container.innerHTML=o.join(' ')}}});Ae.mergeOptions({attributionControl:!0}),Ae.addInitHook(function(){this.options.attributionControl&&new xo().addTo(this)});var fp=function(t){return new xo(t)};Ut.Layers=ac,Ut.Zoom=To,Ut.Scale=lc,Ut.Attribution=xo,tr.layers=ap,tr.zoom=lp,tr.scale=cp,tr.attribution=fp;var sn=_e.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}});sn.addTo=function(t,i){return t.addHandler(i,this),this};var hp={Events:$e},cc=he.touch?"touchstart mousedown":"mousedown",Rn=Ee.extend({options:{clickTolerance:3},initialize:function(t,i,o,c){T(this,c),this._element=t,this._dragStartTarget=i||t,this._preventOutline=o},enable:function(){this._enabled||(Se(this._dragStartTarget,cc,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Rn._dragging===this&&this.finishDrag(!0),Ue(this._dragStartTarget,cc,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!ho(this._element,"leaflet-zoom-anim"))){if(t.touches&&t.touches.length!==1){Rn._dragging===this&&this.finishDrag();return}if(!(Rn._dragging||t.shiftKey||t.which!==1&&t.button!==1&&!t.touches)&&(Rn._dragging=this,this._preventOutline&&yo(this._element),_o(),Yi(),!this._moving)){this.fire("down");var i=t.touches?t.touches[0]:t,o=tc(this._element);this._startPoint=new ie(i.clientX,i.clientY),this._startPos=Yn(this._element),this._parentScale=wo(o);var c=t.type==="mousedown";Se(document,c?"mousemove":"touchmove",this._onMove,this),Se(document,c?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(t){if(this._enabled){if(t.touches&&t.touches.length>1){this._moved=!0;return}var i=t.touches&&t.touches.length===1?t.touches[0]:t,o=new ie(i.clientX,i.clientY)._subtract(this._startPoint);!o.x&&!o.y||Math.abs(o.x)+Math.abs(o.y)v&&(x=D,v=Z);v>o&&(i[x]=1,Co(t,i,o,c,x),Co(t,i,o,x,d))}function _p(t,i){for(var o=[t[0]],c=1,d=0,v=t.length;ci&&(o.push(t[c]),d=c);return di.max.x&&(o|=2),t.yi.max.y&&(o|=8),o}function gp(t,i){var o=i.x-t.x,c=i.y-t.y;return o*o+c*c}function nr(t,i,o,c){var d=i.x,v=i.y,x=o.x-d,D=o.y-v,Z=x*x+D*D,J;return Z>0&&(J=((t.x-d)*x+(t.y-v)*D)/Z,J>1?(d=o.x,v=o.y):J>0&&(d+=x*J,v+=D*J)),x=t.x-d,D=t.y-v,c?x*x+D*D:new ie(d,v)}function Bt(t){return!j(t[0])||typeof t[0][0]!="object"&&typeof t[0][0]<"u"}function _c(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Bt(t)}function gc(t,i){var o,c,d,v,x,D,Z,J;if(!t||t.length===0)throw new Error("latlngs not passed");Bt(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var se=N([0,0]),ge=w(t),Ce=ge.getNorthWest().distanceTo(ge.getSouthWest())*ge.getNorthEast().distanceTo(ge.getNorthWest());Ce<1700&&(se=Lo(t));var Tt=t.length,ht=[];for(o=0;oc){Z=(v-c)/d,J=[D.x-Z*(D.x-x.x),D.y-Z*(D.y-x.y)];break}var Rt=i.unproject(U(J));return N([Rt.lat+se.lat,Rt.lng+se.lng])}var vp={__proto__:null,simplify:hc,pointToSegmentDistance:dc,closestPointOnSegment:pp,clipSegment:mc,_getEdgeIntersection:Gr,_getBitCode:ei,_sqClosestPointOnSegment:nr,isFlat:Bt,_flat:_c,polylineCenter:gc},ko={project:function(t){return new ie(t.lng,t.lat)},unproject:function(t){return new E(t.y,t.x)},bounds:new M([-180,-90],[180,90])},Oo={R:6378137,R_MINOR:6356752314245179e-9,bounds:new M([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(t){var i=Math.PI/180,o=this.R,c=t.lat*i,d=this.R_MINOR/o,v=Math.sqrt(1-d*d),x=v*Math.sin(c),D=Math.tan(Math.PI/4-c/2)/Math.pow((1-x)/(1+x),v/2);return c=-o*Math.log(Math.max(D,1e-10)),new ie(t.lng*i*o,c)},unproject:function(t){for(var i=180/Math.PI,o=this.R,c=this.R_MINOR/o,d=Math.sqrt(1-c*c),v=Math.exp(-t.y/o),x=Math.PI/2-2*Math.atan(v),D=0,Z=.1,J;D<15&&Math.abs(Z)>1e-7;D++)J=d*Math.sin(x),J=Math.pow((1-J)/(1+J),d/2),Z=Math.PI/2-2*Math.atan(v*J)-x,x+=Z;return new E(x*i,t.x*i/o)}},yp={__proto__:null,LonLat:ko,Mercator:Oo,SphericalMercator:Q},wp=a({},H,{code:"EPSG:3395",projection:Oo,transformation:function(){var t=.5/(Math.PI*Oo.R);return A(t,.5,-t,.5)}()}),vc=a({},H,{code:"EPSG:4326",projection:ko,transformation:A(1/180,1,-1/180,.5)}),bp=a({},I,{projection:ko,transformation:A(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,i){var o=i.lng-t.lng,c=i.lat-t.lat;return Math.sqrt(o*o+c*c)},infinite:!0});I.Earth=H,I.EPSG3395=wp,I.EPSG3857=g,I.EPSG900913=b,I.EPSG4326=vc,I.Simple=bp;var qt=Ee.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[h(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[h(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var i=t.target;if(i.hasLayer(this)){if(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents){var o=this.getEvents();i.on(o,this),this.once("remove",function(){i.off(o,this)},this)}this.onAdd(i),this.fire("add"),i.fire("layeradd",{layer:this})}}});Ae.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var i=h(t);return this._layers[i]?this:(this._layers[i]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t),this)},removeLayer:function(t){var i=h(t);return this._layers[i]?(this._loaded&&t.onRemove(this),delete this._layers[i],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return h(t)in this._layers},eachLayer:function(t,i){for(var o in this._layers)t.call(i,this._layers[o]);return this},_addLayers:function(t){t=t?j(t)?t:[t]:[];for(var i=0,o=t.length;ithis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&i[0]instanceof E&&i[0].equals(i[o-1])&&i.pop(),i},_setLatLngs:function(t){gn.prototype._setLatLngs.call(this,t),Bt(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Bt(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,i=this.options.weight,o=new ie(i,i);if(t=new M(t.min.subtract(o),t.max.add(o)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(t))){if(this.options.noClip){this._parts=this._rings;return}for(var c=0,d=this._rings.length,v;ct.y!=d.y>t.y&&t.x<(d.x-c.x)*(t.y-c.y)/(d.y-c.y)+c.x&&(i=!i);return i||gn.prototype._containsPoint.call(this,t,!0)}});function Cp(t,i){return new $i(t,i)}var vn=_n.extend({initialize:function(t,i){T(this,i),this._layers={},t&&this.addData(t)},addData:function(t){var i=j(t)?t:t.features,o,c,d;if(i){for(o=0,c=i.length;o0&&d.push(d[0].slice()),d}function Si(t,i){return t.feature?a({},t.feature,{geometry:i}):ts(i)}function ts(t){return t.type==="Feature"||t.type==="FeatureCollection"?t:{type:"Feature",properties:{},geometry:t}}var Ao={toGeoJSON:function(t){return Si(this,{type:"Point",coordinates:Io(this.getLatLng(),t)})}};Jr.include(Ao),Ro.include(Ao),Yr.include(Ao),gn.include({toGeoJSON:function(t){var i=!Bt(this._latlngs),o=es(this._latlngs,i?1:0,!1,t);return Si(this,{type:(i?"Multi":"")+"LineString",coordinates:o})}}),$i.include({toGeoJSON:function(t){var i=!Bt(this._latlngs),o=i&&!Bt(this._latlngs[0]),c=es(this._latlngs,o?2:i?1:0,!0,t);return i||(c=[c]),Si(this,{type:(o?"Multi":"")+"Polygon",coordinates:c})}}),bi.include({toMultiPoint:function(t){var i=[];return this.eachLayer(function(o){i.push(o.toGeoJSON(t).geometry.coordinates)}),Si(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(t){var i=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(i==="MultiPoint")return this.toMultiPoint(t);var o=i==="GeometryCollection",c=[];return this.eachLayer(function(d){if(d.toGeoJSON){var v=d.toGeoJSON(t);if(o)c.push(v.geometry);else{var x=ts(v);x.type==="FeatureCollection"?c.push.apply(c,x.features):c.push(x)}}}),o?Si(this,{geometries:c,type:"GeometryCollection"}):{type:"FeatureCollection",features:c}}});function bc(t,i){return new vn(t,i)}var kp=bc,ns=qt.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,i,o){this._url=t,this._bounds=w(i),T(this,o)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Le(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Je(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&&yi(this._image),this},bringToBack:function(){return this._map&&wi(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=w(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",i=this._image=t?this._url:ze("img");if(Le(i,"leaflet-image-layer"),this._zoomAnimated&&Le(i,"leaflet-zoom-animated"),this.options.className&&Le(i,this.options.className),i.onselectstart=_,i.onmousemove=_,i.onload=u(this.fire,this,"load"),i.onerror=u(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(i.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t){this._url=i.src;return}i.src=this._url,i.alt=this.options.alt},_animateZoom:function(t){var i=this._map.getZoomScale(t.zoom),o=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;Jn(this._image,o,i)},_reset:function(){var t=this._image,i=new M(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),o=i.getSize();et(t,i.min),t.style.width=o.x+"px",t.style.height=o.y+"px"},_updateOpacity:function(){jt(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()}}),Op=function(t,i,o){return new ns(t,i,o)},Pc=ns.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t=this._url.tagName==="VIDEO",i=this._image=t?this._url:ze("video");if(Le(i,"leaflet-image-layer"),this._zoomAnimated&&Le(i,"leaflet-zoom-animated"),this.options.className&&Le(i,this.options.className),i.onselectstart=_,i.onmousemove=_,i.onloadeddata=u(this.fire,this,"load"),t){for(var o=i.getElementsByTagName("source"),c=[],d=0;d0?c:[i.src];return}j(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(i.style,"objectFit")&&(i.style.objectFit="fill"),i.autoplay=!!this.options.autoplay,i.loop=!!this.options.loop,i.muted=!!this.options.muted,i.playsInline=!!this.options.playsInline;for(var v=0;vd?(i.height=d+"px",Le(t,v)):Xe(t,v),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),o=this._getAnchor();et(this._container,i.add(o))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var t=this._map,i=parseInt(Ji(this._container,"marginBottom"),10)||0,o=this._container.offsetHeight+i,c=this._containerWidth,d=new ie(this._containerLeft,-o-this._containerBottom);d._add(Yn(this._container));var v=t.layerPointToContainerPoint(d),x=U(this.options.autoPanPadding),D=U(this.options.autoPanPaddingTopLeft||x),Z=U(this.options.autoPanPaddingBottomRight||x),J=t.getSize(),se=0,ge=0;v.x+c+Z.x>J.x&&(se=v.x+c-J.x+Z.x),v.x-se-D.x<0&&(se=v.x-D.x),v.y+o+Z.y>J.y&&(ge=v.y+o-J.y+Z.y),v.y-ge-D.y<0&&(ge=v.y-D.y),(se||ge)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([se,ge]))}},_getAnchor:function(){return U(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Ip=function(t,i){return new is(t,i)};Ae.mergeOptions({closePopupOnClick:!0}),Ae.include({openPopup:function(t,i,o){return this._initOverlay(is,t,i,o).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),qt.include({bindPopup:function(t,i){return this._popup=this._initOverlay(is,this._popup,t,i),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 _n||(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)){Qn(t);var i=t.layer||t.target;if(this._popup._source===i&&!(i instanceof Mn)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng);return}this._popup._source=i,this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){t.originalEvent.keyCode===13&&this._openPopup(t)}});var rs=on.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){on.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){on.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=on.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip",i=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ze("div",i),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+h(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var i,o,c=this._map,d=this._container,v=c.latLngToContainerPoint(c.getCenter()),x=c.layerPointToContainerPoint(t),D=this.options.direction,Z=d.offsetWidth,J=d.offsetHeight,se=U(this.options.offset),ge=this._getAnchor();D==="top"?(i=Z/2,o=J):D==="bottom"?(i=Z/2,o=0):D==="center"?(i=Z/2,o=J/2):D==="right"?(i=0,o=J/2):D==="left"?(i=Z,o=J/2):x.xthis.options.maxZoom||oc?this._retainParent(d,v,x,c):!1)},_retainChildren:function(t,i,o,c){for(var d=2*t;d<2*t+2;d++)for(var v=2*i;v<2*i+2;v++){var x=new ie(d,v);x.z=o+1;var D=this._tileCoordsToKey(x),Z=this._tiles[D];if(Z&&Z.active){Z.retain=!0;continue}else Z&&Z.loaded&&(Z.retain=!0);o+1this.options.maxZoom||this.options.minZoom!==void 0&&d1){this._setView(t,o);return}for(var ge=d.min.y;ge<=d.max.y;ge++)for(var Ce=d.min.x;Ce<=d.max.x;Ce++){var Tt=new ie(Ce,ge);if(Tt.z=this._tileZoom,!!this._isValidTile(Tt)){var ht=this._tiles[this._tileCoordsToKey(Tt)];ht?ht.current=!0:x.push(Tt)}}if(x.sort(function(Rt,Ti){return Rt.distanceTo(v)-Ti.distanceTo(v)}),x.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var Zt=document.createDocumentFragment();for(Ce=0;Ceo.max.x)||!i.wrapLat&&(t.yo.max.y))return!1}if(!this.options.bounds)return!0;var c=this._tileCoordsToBounds(t);return w(this.options.bounds).overlaps(c)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var i=this._map,o=this.getTileSize(),c=t.scaleBy(o),d=c.add(o),v=i.unproject(c,t.z),x=i.unproject(d,t.z);return[v,x]},_tileCoordsToBounds:function(t){var i=this._tileCoordsToNwSe(t),o=new z(i[0],i[1]);return this.options.noWrap||(o=this._map.wrapLatLngBounds(o)),o},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var i=t.split(":"),o=new ie(+i[0],+i[1]);return o.z=+i[2],o},_removeTile:function(t){var i=this._tiles[t];i&&(Je(i.el),delete this._tiles[t],this.fire("tileunload",{tile:i.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){Le(t,"leaflet-tile");var i=this.getTileSize();t.style.width=i.x+"px",t.style.height=i.y+"px",t.onselectstart=_,t.onmousemove=_,he.ielt9&&this.options.opacity<1&&jt(t,this.options.opacity)},_addTile:function(t,i){var o=this._getTilePos(t),c=this._tileCoordsToKey(t),d=this.createTile(this._wrapCoords(t),u(this._tileReady,this,t));this._initTile(d),this.createTile.length<2&&me(u(this._tileReady,this,t,null,d)),et(d,o),this._tiles[c]={el:d,coords:t,current:!0},i.appendChild(d),this.fire("tileloadstart",{tile:d,coords:t})},_tileReady:function(t,i,o){i&&this.fire("tileerror",{error:i,tile:o,coords:t});var c=this._tileCoordsToKey(t);o=this._tiles[c],o&&(o.loaded=+new Date,this._map._fadeAnimated?(jt(o.el,0),ne(this._fadeFrame),this._fadeFrame=me(this._updateOpacity,this)):(o.active=!0,this._pruneTiles()),i||(Le(o.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:o.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),he.ielt9||!this._map._fadeAnimated?me(this._pruneTiles,this):setTimeout(u(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var i=new ie(this._wrapX?m(t.x,this._wrapX):t.x,this._wrapY?m(t.y,this._wrapY):t.y);return i.z=t.z,i},_pxBoundsToTileRange:function(t){var i=this.getTileSize();return new M(t.min.unscaleBy(i).floor(),t.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function zp(t){return new rr(t)}var Ei=rr.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,i){this._url=t,i=T(this,i),i.detectRetina&&he.retina&&i.maxZoom>0?(i.tileSize=Math.floor(i.tileSize/2),i.zoomReverse?(i.zoomOffset--,i.minZoom=Math.min(i.maxZoom,i.minZoom+1)):(i.zoomOffset++,i.maxZoom=Math.max(i.minZoom,i.maxZoom-1)),i.minZoom=Math.max(0,i.minZoom)):i.zoomReverse?i.minZoom=Math.min(i.maxZoom,i.minZoom):i.maxZoom=Math.max(i.minZoom,i.maxZoom),typeof i.subdomains=="string"&&(i.subdomains=i.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,i){return this._url===t&&i===void 0&&(i=!0),this._url=t,i||this.redraw(),this},createTile:function(t,i){var o=document.createElement("img");return Se(o,"load",u(this._tileOnLoad,this,i,o)),Se(o,"error",u(this._tileOnError,this,i,o)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(o.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(o.referrerPolicy=this.options.referrerPolicy),o.alt="",o.src=this.getTileUrl(t),o},getTileUrl:function(t){var i={r:he.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var o=this._globalTileRange.max.y-t.y;this.options.tms&&(i.y=o),i["-y"]=o}return R(this._url,a(i,this.options))},_tileOnLoad:function(t,i){he.ielt9?setTimeout(u(t,this,null,i),0):t(null,i)},_tileOnError:function(t,i,o){var c=this.options.errorTileUrl;c&&i.getAttribute("src")!==c&&(i.src=c),t(o,i)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,i=this.options.maxZoom,o=this.options.zoomReverse,c=this.options.zoomOffset;return o&&(t=i-t),t+c},_getSubdomain:function(t){var i=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[i]},_abortLoading:function(){var t,i;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&(i=this._tiles[t].el,i.onload=_,i.onerror=_,!i.complete)){i.src=G;var o=this._tiles[t].coords;Je(i),delete this._tiles[t],this.fire("tileabort",{tile:i,coords:o})}},_removeTile:function(t){var i=this._tiles[t];if(i)return i.el.setAttribute("src",G),rr.prototype._removeTile.call(this,t)},_tileReady:function(t,i,o){if(!(!this._map||o&&o.getAttribute("src")===G))return rr.prototype._tileReady.call(this,t,i,o)}});function Ec(t,i){return new Ei(t,i)}var Tc=Ei.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,i){this._url=t;var o=a({},this.defaultWmsParams);for(var c in i)c in this.options||(o[c]=i[c]);i=T(this,i);var d=i.detectRetina&&he.retina?2:1,v=this.getTileSize();o.width=v.x*d,o.height=v.y*d,this.wmsParams=o},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var i=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[i]=this._crs.code,Ei.prototype.onAdd.call(this,t)},getTileUrl:function(t){var i=this._tileCoordsToNwSe(t),o=this._crs,c=q(o.project(i[0]),o.project(i[1])),d=c.min,v=c.max,x=(this._wmsVersion>=1.3&&this._crs===vc?[d.y,d.x,v.y,v.x]:[d.x,d.y,v.x,v.y]).join(","),D=Ei.prototype.getTileUrl.call(this,t);return D+C(this.wmsParams,D,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+x},setParams:function(t,i){return a(this.wmsParams,t),i||this.redraw(),this}});function Dp(t,i){return new Tc(t,i)}Ei.WMS=Tc,Ec.wms=Dp;var yn=qt.extend({options:{padding:.1},initialize:function(t){T(this,t),h(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),Le(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,i){var o=this._map.getZoomScale(i,this._zoom),c=this._map.getSize().multiplyBy(.5+this.options.padding),d=this._map.project(this._center,i),v=c.multiplyBy(-o).add(d).subtract(this._map._getNewPixelOrigin(t,i));he.any3d?Jn(this._container,v,o):et(this._container,v)},_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,i=this._map.getSize(),o=this._map.containerPointToLayerPoint(i.multiplyBy(-t)).round();this._bounds=new M(o,o.add(i.multiplyBy(1+t*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),xc=yn.extend({options:{tolerance:0},getEvents:function(){var t=yn.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){yn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Se(t,"mousemove",this._onMouseMove,this),Se(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Se(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){ne(this._redrawRequest),delete this._ctx,Je(this._container),Ue(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;this._redrawBounds=null;for(var i in this._layers)t=this._layers[i],t._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){yn.prototype._update.call(this);var t=this._bounds,i=this._container,o=t.getSize(),c=he.retina?2:1;et(i,t.min),i.width=c*o.x,i.height=c*o.y,i.style.width=o.x+"px",i.style.height=o.y+"px",he.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){yn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[h(t)]=t;var i=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=i),this._drawLast=i,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var i=t._order,o=i.next,c=i.prev;o?o.prev=c:this._drawLast=c,c?c.next=o:this._drawFirst=o,delete t._order,delete this._layers[h(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 i=t.options.dashArray.split(/[, ]+/),o=[],c,d;for(d=0;d')}}catch{}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),jp={_initContainer:function(){this._container=ze("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(yn.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var i=t._container=sr("shape");Le(i,"leaflet-vml-shape "+(this.options.className||"")),i.coordsize="1 1",t._path=sr("path"),i.appendChild(t._path),this._updateStyle(t),this._layers[h(t)]=t},_addPath:function(t){var i=t._container;this._container.appendChild(i),t.options.interactive&&t.addInteractiveTarget(i)},_removePath:function(t){var i=t._container;Je(i),t.removeInteractiveTarget(i),delete this._layers[h(t)]},_updateStyle:function(t){var i=t._stroke,o=t._fill,c=t.options,d=t._container;d.stroked=!!c.stroke,d.filled=!!c.fill,c.stroke?(i||(i=t._stroke=sr("stroke")),d.appendChild(i),i.weight=c.weight+"px",i.color=c.color,i.opacity=c.opacity,c.dashArray?i.dashStyle=j(c.dashArray)?c.dashArray.join(" "):c.dashArray.replace(/( *, *)/g," "):i.dashStyle="",i.endcap=c.lineCap.replace("butt","flat"),i.joinstyle=c.lineJoin):i&&(d.removeChild(i),t._stroke=null),c.fill?(o||(o=t._fill=sr("fill")),d.appendChild(o),o.color=c.fillColor||c.color,o.opacity=c.fillOpacity):o&&(d.removeChild(o),t._fill=null)},_updateCircle:function(t){var i=t._point.round(),o=Math.round(t._radius),c=Math.round(t._radiusY||o);this._setPath(t,t._empty()?"M0 0":"AL "+i.x+","+i.y+" "+o+","+c+" 0,"+65535*360)},_setPath:function(t,i){t._path.v=i},_bringToFront:function(t){yi(t._container)},_bringToBack:function(t){wi(t._container)}},ss=he.vml?sr:O,or=yn.extend({_initContainer:function(){this._container=ss("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=ss("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Je(this._container),Ue(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){yn.prototype._update.call(this);var t=this._bounds,i=t.getSize(),o=this._container;(!this._svgSize||!this._svgSize.equals(i))&&(this._svgSize=i,o.setAttribute("width",i.x),o.setAttribute("height",i.y)),et(o,t.min),o.setAttribute("viewBox",[t.min.x,t.min.y,i.x,i.y].join(" ")),this.fire("update")}},_initPath:function(t){var i=t._path=ss("path");t.options.className&&Le(i,t.options.className),t.options.interactive&&Le(i,"leaflet-interactive"),this._updateStyle(t),this._layers[h(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){Je(t._path),t.removeInteractiveTarget(t._path),delete this._layers[h(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var i=t._path,o=t.options;i&&(o.stroke?(i.setAttribute("stroke",o.color),i.setAttribute("stroke-opacity",o.opacity),i.setAttribute("stroke-width",o.weight),i.setAttribute("stroke-linecap",o.lineCap),i.setAttribute("stroke-linejoin",o.lineJoin),o.dashArray?i.setAttribute("stroke-dasharray",o.dashArray):i.removeAttribute("stroke-dasharray"),o.dashOffset?i.setAttribute("stroke-dashoffset",o.dashOffset):i.removeAttribute("stroke-dashoffset")):i.setAttribute("stroke","none"),o.fill?(i.setAttribute("fill",o.fillColor||o.color),i.setAttribute("fill-opacity",o.fillOpacity),i.setAttribute("fill-rule",o.fillRule||"evenodd")):i.setAttribute("fill","none"))},_updatePoly:function(t,i){this._setPath(t,F(t._parts,i))},_updateCircle:function(t){var i=t._point,o=Math.max(Math.round(t._radius),1),c=Math.max(Math.round(t._radiusY),1)||o,d="a"+o+","+c+" 0 1,0 ",v=t._empty()?"M0 0":"M"+(i.x-o)+","+i.y+d+o*2+",0 "+d+-o*2+",0 ";this._setPath(t,v)},_setPath:function(t,i){t._path.setAttribute("d",i)},_bringToFront:function(t){yi(t._path)},_bringToBack:function(t){wi(t._path)}});he.vml&&or.include(jp);function Cc(t){return he.svg||he.vml?new or(t):null}Ae.include({getRenderer:function(t){var i=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return i||(i=this._renderer=this._createRenderer()),this.hasLayer(i)||this.addLayer(i),i},_getPaneRenderer:function(t){if(t==="overlayPane"||t===void 0)return!1;var i=this._paneRenderers[t];return i===void 0&&(i=this._createRenderer({pane:t}),this._paneRenderers[t]=i),i},_createRenderer:function(t){return this.options.preferCanvas&&Lc(t)||Cc(t)}});var kc=$i.extend({initialize:function(t,i){$i.prototype.initialize.call(this,this._boundsToLatLngs(t),i)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=w(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function Bp(t,i){return new kc(t,i)}or.create=ss,or.pointsToPath=F,vn.geometryToLayer=Xr,vn.coordsToLatLng=Mo,vn.coordsToLatLngs=Qr,vn.latLngToCoords=Io,vn.latLngsToCoords=es,vn.getFeature=Si,vn.asFeature=ts,Ae.mergeOptions({boxZoom:!0});var Oc=sn.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(){Se(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ue(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Je(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(),Yi(),_o(),this._startPoint=this._map.mouseEventToContainerPoint(t),Se(document,{contextmenu:Qn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ze("div","leaflet-zoom-box",this._container),Le(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var i=new M(this._point,this._startPoint),o=i.getSize();et(this._box,i.min),this._box.style.width=o.x+"px",this._box.style.height=o.y+"px"},_finish:function(){this._moved&&(Je(this._box),Xe(this._container,"leaflet-crosshair")),Xi(),go(),Ue(document,{contextmenu:Qn,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(u(this._resetState,this),0);var i=new z(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(i).fire("boxzoomend",{boxZoomBounds:i})}},_onKeyDown:function(t){t.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Ae.addInitHook("addHandler","boxZoom",Oc),Ae.mergeOptions({doubleClickZoom:!0});var Rc=sn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var i=this._map,o=i.getZoom(),c=i.options.zoomDelta,d=t.originalEvent.shiftKey?o-c:o+c;i.options.doubleClickZoom==="center"?i.setZoom(d):i.setZoomAround(t.containerPoint,d)}});Ae.addInitHook("addHandler","doubleClickZoom",Rc),Ae.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Mc=sn.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new Rn(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))}Le(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Xe(this._map._container,"leaflet-grab"),Xe(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 i=w(this._map.options.maxBounds);this._offsetLimit=q(this._map.latLngToContainerPoint(i.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(i.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 i=this._lastTime=+new Date,o=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(o),this._times.push(i),this._prunePositions(i)}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),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,i){return t-(t-i)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var t=this._draggable._newPos.subtract(this._draggable._startPos),i=this._offsetLimit;t.xi.max.x&&(t.x=this._viscousLimit(t.x,i.max.x)),t.y>i.max.y&&(t.y=this._viscousLimit(t.y,i.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,i=Math.round(t/2),o=this._initialWorldOffset,c=this._draggable._newPos.x,d=(c-i+o)%t+i-o,v=(c+i+o)%t-i-o,x=Math.abs(d+o)0?v:-v))-i;this._delta=0,this._startTime=null,x&&(t.options.scrollWheelZoom==="center"?t.setZoom(i+x):t.setZoomAround(this._lastMousePos,i+x))}});Ae.addInitHook("addHandler","scrollWheelZoom",Ac);var Zp=600;Ae.mergeOptions({tapHold:he.touchNative&&he.safari&&he.mobile,tapTolerance:15});var Nc=sn.extend({addHooks:function(){Se(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ue(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),t.touches.length===1){var i=t.touches[0];this._startPos=this._newPos=new ie(i.clientX,i.clientY),this._holdTimeout=setTimeout(u(function(){this._cancel(),this._isTapValid()&&(Se(document,"touchend",pt),Se(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",i))},this),Zp),Se(document,"touchend touchcancel contextmenu",this._cancel,this),Se(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){Ue(document,"touchend",pt),Ue(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),Ue(document,"touchend touchcancel contextmenu",this._cancel,this),Ue(document,"touchmove",this._onMove,this)},_onMove:function(t){var i=t.touches[0];this._newPos=new ie(i.clientX,i.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,i){var o=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:i.screenX,screenY:i.screenY,clientX:i.clientX,clientY:i.clientY});o._simulated=!0,i.target.dispatchEvent(o)}});Ae.addInitHook("addHandler","tapHold",Nc),Ae.mergeOptions({touchZoom:he.touch,bounceAtZoomLimits:!0});var zc=sn.extend({addHooks:function(){Le(this._map._container,"leaflet-touch-zoom"),Se(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){Xe(this._map._container,"leaflet-touch-zoom"),Ue(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var i=this._map;if(!(!t.touches||t.touches.length!==2||i._animatingZoom||this._zooming)){var o=i.mouseEventToContainerPoint(t.touches[0]),c=i.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=i.getSize()._divideBy(2),this._startLatLng=i.containerPointToLatLng(this._centerPoint),i.options.touchZoom!=="center"&&(this._pinchStartLatLng=i.containerPointToLatLng(o.add(c)._divideBy(2))),this._startDist=o.distanceTo(c),this._startZoom=i.getZoom(),this._moved=!1,this._zooming=!0,i._stop(),Se(document,"touchmove",this._onTouchMove,this),Se(document,"touchend touchcancel",this._onTouchEnd,this),pt(t)}},_onTouchMove:function(t){if(!(!t.touches||t.touches.length!==2||!this._zooming)){var i=this._map,o=i.mouseEventToContainerPoint(t.touches[0]),c=i.mouseEventToContainerPoint(t.touches[1]),d=o.distanceTo(c)/this._startDist;if(this._zoom=i.getScaleZoom(d,this._startZoom),!i.options.bounceAtZoomLimits&&(this._zoomi.getMaxZoom()&&d>1)&&(this._zoom=i._limitZoom(this._zoom)),i.options.touchZoom==="center"){if(this._center=this._startLatLng,d===1)return}else{var v=o._add(c)._divideBy(2)._subtract(this._centerPoint);if(d===1&&v.x===0&&v.y===0)return;this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(v),this._zoom)}this._moved||(i._moveStart(!0,!1),this._moved=!0),ne(this._animRequest);var x=u(i._move,i,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=me(x,this,!0),pt(t)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,ne(this._animRequest),Ue(document,"touchmove",this._onTouchMove,this),Ue(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))}});Ae.addInitHook("addHandler","touchZoom",zc),Ae.BoxZoom=Oc,Ae.DoubleClickZoom=Rc,Ae.Drag=Mc,Ae.Keyboard=Ic,Ae.ScrollWheelZoom=Ac,Ae.TapHold=Nc,Ae.TouchZoom=zc,r.Bounds=M,r.Browser=he,r.CRS=I,r.Canvas=xc,r.Circle=Ro,r.CircleMarker=Yr,r.Class=_e,r.Control=Ut,r.DivIcon=Sc,r.DivOverlay=on,r.DomEvent=sp,r.DomUtil=ip,r.Draggable=Rn,r.Evented=Ee,r.FeatureGroup=_n,r.GeoJSON=vn,r.GridLayer=rr,r.Handler=sn,r.Icon=Pi,r.ImageOverlay=ns,r.LatLng=E,r.LatLngBounds=z,r.Layer=qt,r.LayerGroup=bi,r.LineUtil=vp,r.Map=Ae,r.Marker=Jr,r.Mixin=hp,r.Path=Mn,r.Point=ie,r.PolyUtil=dp,r.Polygon=$i,r.Polyline=gn,r.Popup=is,r.PosAnimation=oc,r.Projection=yp,r.Rectangle=kc,r.Renderer=yn,r.SVG=or,r.SVGOverlay=$c,r.TileLayer=Ei,r.Tooltip=rs,r.Transformation=k,r.Util=pe,r.VideoOverlay=Pc,r.bind=u,r.bounds=q,r.canvas=Lc,r.circle=xp,r.circleMarker=Tp,r.control=tr,r.divIcon=Np,r.extend=a,r.featureGroup=$p,r.geoJSON=bc,r.geoJson=kp,r.gridLayer=zp,r.icon=Sp,r.imageOverlay=Op,r.latLng=N,r.latLngBounds=w,r.layerGroup=Pp,r.map=op,r.marker=Ep,r.point=U,r.polygon=Cp,r.polyline=Lp,r.popup=Ip,r.rectangle=Bp,r.setOptions=T,r.stamp=h,r.svg=Cc,r.svgOverlay=Mp,r.tileLayer=Ec,r.tooltip=Ap,r.transformation=A,r.version=s,r.videoOverlay=Rp;var Fp=window.L;r.noConflict=function(){return window.L=Fp,this},window.L=r})})(Ca,Ca.exports);var qP=Ca.exports;const hr=Gh(qP),WP={class:"toggle-map-container"},KP={class:"map-wrapper"},_f=41.87213786,gf=-87.62576558,vf=14,yf=18,GP=Ot({__name:"LeafletMap",props:{resourcesPrefetch:{},locationsPrefetch:{},idReferences:{}},setup(e){const n=kv(),r=no(),s=lt(!1),a=lt([]),l=e;a.value=l.resourcesPrefetch.map(y=>{var P;return{resource:y,coordinates:((P=l.locationsPrefetch.find($=>$.resourceinstance_id===y.resourceinstanceid))==null?void 0:P.data[l.idReferences.coordinatesNodeId])??void 0}});const u=lt(null);let f;const h=new Map,p=hr.icon({iconUrl:"https://arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon.png",iconSize:[22,34],popupAnchor:[0,-32]}),m=hr.icon({iconUrl:"https://arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon-active.png",iconSize:[33,51],popupAnchor:[0,-32]}),_=y=>{const P=hr.map(y).setView([_f,gf],vf);return f=P,hr.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:20,attribution:'© OpenStreetMap'}).addTo(P),a.value.forEach($=>{var T;if($.coordinates){const C=((T=$.coordinates)==null?void 0:T.features[0].geometry.coordinates)??void 0;if(C){const S=hr.marker([C[1],C[0]],{icon:p});S.bindPopup(`${$.resource.descriptors.en.name}`),S.on("click",()=>{n.push(`/archesdataviewer/home/resource/${$.resource.resourceinstanceid}`)}),h.set($.resource.resourceinstanceid,S),S.addTo(P)}}}),f};return qa(()=>{if(u.value&&(f=_(u.value),r.params.id)){const y=h.get(r.params.id);y&&(y.openPopup(),f==null||f.flyTo(y.getLatLng(),yf))}}),hi(()=>r.params.id,y=>{if(y){h.forEach($=>{$.setIcon(p),$.setZIndexOffset(0)});const P=h.get(y);P?(P.setIcon(m),P.setZIndexOffset(1e3),P.openPopup(),f==null||f.flyTo(P.getLatLng(),yf)):f==null||f.closePopup()}else f==null||f.closePopup(),f==null||f.setView([_f,gf],vf)},{immediate:!0}),(y,P)=>(ve(),Ze("div",{class:di(s.value?"map-container expanded":"map-container collapsed")},[be("div",WP,[be("button",{type:"button",class:"toggle-map",onClick:P[0]||(P[0]=$=>s.value=!s.value)},[P[2]||(P[2]=be("span",null,"Explore the artwork geographically",-1)),Ke(ke(aP),{class:"button-icon"})])]),be("div",{onClick:P[1]||(P[1]=$=>s.value=!0)},[be("div",KP,[be("div",{id:"map",ref_key:"mapElement",ref:u},null,512)])])],2))}}),JP=On(GP,[["__scopeId","data-v-bf98f7ed"]]),YP={class:"home"},XP={id:"map-container"},QP={key:1,class:"map-placeholder"},e$={id:"search-list-container"},t$=Ot({__name:"App",setup(e){const n=lt(void 0),r=lt(void 0),s=lt(void 0),a=lt(void 0),l=lt(void 0);async function u(){try{const f=new URL("https://arches-app-demo.opentechstrategies.com/archesdataviewer/prefetch/"),p=await(await fetch(f.toString())).json();n.value=p.idReferences,r.value=p.images,s.value=p.locations,a.value=p.resourceRelations,l.value=p.resources}catch{n.value=void 0,r.value=void 0,s.value=void 0,a.value=void 0,l.value=void 0}}return u(),(f,h)=>{const p=Hi("RouterView");return ve(),Ze("div",YP,[h[0]||(h[0]=be("header",{class:"welcome"},[be("h1",null,"Explore Chicago’s Wabash Arts Corridor"),be("p",null," In 2013, Columbia College Chicago launched the Wabash Arts Corridor to immerse students in the creative spirit by using urban spaces and reclaimable resources to revitalize and transform the South Loop business district into one of the city’s major cultural assets. The heart of WAC is Wabash Avenue from Van Buren to Roosevelt and is framed to the east by Michigan Avenue and to the west by State Street. The corridor is regarded as an “living urban canvas” due to its ever-growing number of large-scale mural installations and collaborative projects. ")],-1)),be("main",null,[be("div",XP,[l.value&&n.value&&s.value?(ve(),it(JP,{key:0,"resources-prefetch":l.value,"id-references":n.value,"locations-prefetch":s.value},null,8,["resources-prefetch","id-references","locations-prefetch"])):(ve(),Ze("div",QP,"Loading map…"))]),be("div",e$,[Ke(p,null,{default:nt(({Component:m})=>[l.value&&a.value&&n.value&&r.value?(ve(),it(Nh,{key:0},{default:nt(()=>[(ve(),it(i_(m),{"resources-prefetch":l.value,"resource-relations-prefetch":a.value,"id-references":n.value,"images-prefetch":r.value},null,8,["resources-prefetch","resource-relations-prefetch","id-references","images-prefetch"]))]),_:2},1024)):vt("",!0)]),_:1})])]),h[1]||(h[1]=A_('',1))])}}}),n$=On(t$,[["__scopeId","data-v-d10d50b6"]]),Id=Sg(n$);Id.use(UP);Id.mount("#app"); + */(function(e,n){(function(r,s){s(n)})(Cv,function(r){var s="1.9.4";function a(t){var i,o,c,d;for(o=1,c=arguments.length;o"u"||!L||!L.Mixin)){t=j(t)?t:[t];for(var i=0;i0?Math.floor(t):Math.ceil(t)};ie.prototype={clone:function(){return new ie(this.x,this.y)},add:function(t){return this.clone()._add(U(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(U(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 ie(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new ie(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=rt(this.x),this.y=rt(this.y),this},distanceTo:function(t){t=U(t);var i=t.x-this.x,o=t.y-this.y;return Math.sqrt(i*i+o*o)},equals:function(t){return t=U(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=U(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+y(this.x)+", "+y(this.y)+")"}};function U(t,i,o){return t instanceof ie?t:j(t)?new ie(t[0],t[1]):t==null?t:typeof t=="object"&&"x"in t&&"y"in t?new ie(t.x,t.y):new ie(t,i,o)}function M(t,i){if(t)for(var o=i?[t,i]:t,c=0,d=o.length;c=this.min.x&&o.x<=this.max.x&&i.y>=this.min.y&&o.y<=this.max.y},intersects:function(t){t=q(t);var i=this.min,o=this.max,c=t.min,d=t.max,v=d.x>=i.x&&c.x<=o.x,x=d.y>=i.y&&c.y<=o.y;return v&&x},overlaps:function(t){t=q(t);var i=this.min,o=this.max,c=t.min,d=t.max,v=d.x>i.x&&c.xi.y&&c.y=i.lat&&d.lat<=o.lat&&c.lng>=i.lng&&d.lng<=o.lng},intersects:function(t){t=w(t);var i=this._southWest,o=this._northEast,c=t.getSouthWest(),d=t.getNorthEast(),v=d.lat>=i.lat&&c.lat<=o.lat,x=d.lng>=i.lng&&c.lng<=o.lng;return v&&x},overlaps:function(t){t=w(t);var i=this._southWest,o=this._northEast,c=t.getSouthWest(),d=t.getNorthEast(),v=d.lat>i.lat&&c.lati.lng&&c.lng1,Dd=function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",_,i),window.removeEventListener("testPassiveEventSupport",_,i)}catch{}return t}(),jd=function(){return!!document.createElement("canvas").getContext}(),co=!!(document.createElementNS&&O("svg").createSVGRect),Bd=!!co&&function(){var t=document.createElement("div");return t.innerHTML="",(t.firstChild&&t.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),Zd=!co&&function(){try{var t=document.createElement("div");t.innerHTML='';var i=t.firstChild;return i.style.behavior="url(#default#VML)",i&&typeof i.adj=="object"}catch{return!1}}(),Fd=navigator.platform.indexOf("Mac")===0,Vd=navigator.platform.indexOf("Linux")===0;function nn(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var he={ie:W,ielt9:te,edge:ee,webkit:Y,android:X,android23:ae,androidStock:ce,opera:de,chrome:Te,gecko:Ne,safari:Ie,phantom:ft,opera12:st,win:At,ie3d:yt,webkit3d:mn,gecko3d:Ki,any3d:Et,mobile:wt,mobileWebkit:Vr,mobileWebkit3d:Md,msPointer:Fl,pointer:Vl,touch:Id,touchNative:Hl,mobileOpera:Ad,mobileGecko:Nd,retina:zd,passiveEvents:Dd,canvas:jd,svg:co,vml:Zd,inlineSvg:Bd,mac:Fd,linux:Vd},Ul=he.msPointer?"MSPointerDown":"pointerdown",ql=he.msPointer?"MSPointerMove":"pointermove",Wl=he.msPointer?"MSPointerUp":"pointerup",Kl=he.msPointer?"MSPointerCancel":"pointercancel",uo={touchstart:Ul,touchmove:ql,touchend:Wl,touchcancel:Kl},Gl={touchstart:Gd,touchmove:Hr,touchend:Hr,touchcancel:Hr},vi={},Jl=!1;function Hd(t,i,o){return i==="touchstart"&&Kd(),Gl[i]?(o=Gl[i].bind(this,o),t.addEventListener(uo[i],o,!1),o):(console.warn("wrong event specified:",i),_)}function Ud(t,i,o){if(!uo[i]){console.warn("wrong event specified:",i);return}t.removeEventListener(uo[i],o,!1)}function qd(t){vi[t.pointerId]=t}function Wd(t){vi[t.pointerId]&&(vi[t.pointerId]=t)}function Yl(t){delete vi[t.pointerId]}function Kd(){Jl||(document.addEventListener(Ul,qd,!0),document.addEventListener(ql,Wd,!0),document.addEventListener(Wl,Yl,!0),document.addEventListener(Kl,Yl,!0),Jl=!0)}function Hr(t,i){if(i.pointerType!==(i.MSPOINTER_TYPE_MOUSE||"mouse")){i.touches=[];for(var o in vi)i.touches.push(vi[o]);i.changedTouches=[i],t(i)}}function Gd(t,i){i.MSPOINTER_TYPE_TOUCH&&i.pointerType===i.MSPOINTER_TYPE_TOUCH&&pt(i),Hr(t,i)}function Jd(t){var i={},o,c;for(c in t)o=t[c],i[c]=o&&o.bind?o.bind(t):o;return t=i,i.type="dblclick",i.detail=2,i.isTrusted=!1,i._simulated=!0,i}var Yd=200;function Xd(t,i){t.addEventListener("dblclick",i);var o=0,c;function d(v){if(v.detail!==1){c=v.detail;return}if(!(v.pointerType==="mouse"||v.sourceCapabilities&&!v.sourceCapabilities.firesTouchEvents)){var x=nc(v);if(!(x.some(function(Z){return Z instanceof HTMLLabelElement&&Z.attributes.for})&&!x.some(function(Z){return Z instanceof HTMLInputElement||Z instanceof HTMLSelectElement}))){var D=Date.now();D-o<=Yd?(c++,c===2&&i(Jd(v))):c=1,o=D}}}return t.addEventListener("click",d),{dblclick:i,simDblclick:d}}function Qd(t,i){t.removeEventListener("dblclick",i.dblclick),t.removeEventListener("click",i.simDblclick)}var fo=Wr(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Gi=Wr(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Xl=Gi==="webkitTransition"||Gi==="OTransition"?Gi+"End":"transitionend";function Ql(t){return typeof t=="string"?document.getElementById(t):t}function Ji(t,i){var o=t.style[i]||t.currentStyle&&t.currentStyle[i];if((!o||o==="auto")&&document.defaultView){var c=document.defaultView.getComputedStyle(t,null);o=c?c[i]:null}return o==="auto"?null:o}function ze(t,i,o){var c=document.createElement(t);return c.className=i||"",o&&o.appendChild(c),c}function Je(t){var i=t.parentNode;i&&i.removeChild(t)}function Ur(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function yi(t){var i=t.parentNode;i&&i.lastChild!==t&&i.appendChild(t)}function wi(t){var i=t.parentNode;i&&i.firstChild!==t&&i.insertBefore(t,i.firstChild)}function ho(t,i){if(t.classList!==void 0)return t.classList.contains(i);var o=qr(t);return o.length>0&&new RegExp("(^|\\s)"+i+"(\\s|$)").test(o)}function Le(t,i){if(t.classList!==void 0)for(var o=S(i),c=0,d=o.length;c0?2*window.devicePixelRatio:1;function rc(t){return he.edge?t.wheelDeltaY/2:t.deltaY&&t.deltaMode===0?-t.deltaY/np: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 Eo(t,i){var o=i.relatedTarget;if(!o)return!0;try{for(;o&&o!==t;)o=o.parentNode}catch{return!1}return o!==t}var ip={__proto__:null,on:Se,off:Ue,stopPropagation:Xn,disableScrollPropagation:So,disableClickPropagation:er,preventDefault:pt,stop:Qn,getPropagationPath:nc,getMousePosition:ic,getWheelDelta:rc,isExternalTarget:Eo,addListener:Se,removeListener:Ue},sc=Ee.extend({run:function(t,i,o,c){this.stop(),this._el=t,this._inProgress=!0,this._duration=o||.25,this._easeOutPower=1/Math.max(c||.5,.2),this._startPos=Yn(t),this._offset=i.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=me(this._animate,this),this._step()},_step:function(t){var i=+new Date-this._startTime,o=this._duration*1e3;ithis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,i){this._enforcingBounds=!0;var o=this.getCenter(),c=this._limitCenter(o,this._zoom,w(t));return o.equals(c)||this.panTo(c,i),this._enforcingBounds=!1,this},panInside:function(t,i){i=i||{};var o=U(i.paddingTopLeft||i.padding||[0,0]),c=U(i.paddingBottomRight||i.padding||[0,0]),d=this.project(this.getCenter()),v=this.project(t),x=this.getPixelBounds(),D=q([x.min.add(o),x.max.subtract(c)]),Z=D.getSize();if(!D.contains(v)){this._enforcingBounds=!0;var J=v.subtract(D.getCenter()),se=D.extend(v).getSize().subtract(Z);d.x+=J.x<0?-se.x:se.x,d.y+=J.y<0?-se.y:se.y,this.panTo(this.unproject(d),i),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=a({animate:!1,pan:!0},t===!0?{animate:!0}:t);var i=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),c=i.divideBy(2).round(),d=o.divideBy(2).round(),v=c.subtract(d);return!v.x&&!v.y?this:(t.animate&&t.pan?this.panBy(v):(t.pan&&this._rawPanBy(v),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(u(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:i,newSize:o}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=a({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var i=u(this._handleGeolocationResponse,this),o=u(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(i,o,t):navigator.geolocation.getCurrentPosition(i,o,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var i=t.code,o=t.message||(i===1?"permission denied":i===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:i,message:"Geolocation error: "+o+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var i=t.coords.latitude,o=t.coords.longitude,c=new E(i,o),d=c.toBounds(t.coords.accuracy*2),v=this._locateOptions;if(v.setView){var x=this.getBoundsZoom(d);this.setView(c,v.maxZoom?Math.min(x,v.maxZoom):x)}var D={latlng:c,bounds:d,timestamp:t.timestamp};for(var Z in t.coords)typeof t.coords[Z]=="number"&&(D[Z]=t.coords[Z]);this.fire("locationfound",D)}},addHandler:function(t,i){if(!i)return this;var o=this[t]=new i(this);return this._handlers.push(o),this.options[t]&&o.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),Je(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(ne(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)Je(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,i){var o="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),c=ze("div",o,i||this._mapPane);return t&&(this._panes[t]=c),c},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(),i=this.unproject(t.getBottomLeft()),o=this.unproject(t.getTopRight());return new z(i,o)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,i,o){t=w(t),o=U(o||[0,0]);var c=this.getZoom()||0,d=this.getMinZoom(),v=this.getMaxZoom(),x=t.getNorthWest(),D=t.getSouthEast(),Z=this.getSize().subtract(o),J=q(this.project(D,c),this.project(x,c)).getSize(),se=he.any3d?this.options.zoomSnap:1,ge=Z.x/J.x,Ce=Z.y/J.y,Tt=i?Math.max(ge,Ce):Math.min(ge,Ce);return c=this.getScaleZoom(Tt,c),se&&(c=Math.round(c/(se/100))*(se/100),c=i?Math.ceil(c/se)*se:Math.floor(c/se)*se),Math.max(d,Math.min(v,c))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new ie(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,i){var o=this._getTopLeftPoint(t,i);return new M(o,o.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(t===void 0?this.getZoom():t)},getPane:function(t){return typeof t=="string"?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,i){var o=this.options.crs;return i=i===void 0?this._zoom:i,o.scale(t)/o.scale(i)},getScaleZoom:function(t,i){var o=this.options.crs;i=i===void 0?this._zoom:i;var c=o.zoom(t*o.scale(i));return isNaN(c)?1/0:c},project:function(t,i){return i=i===void 0?this._zoom:i,this.options.crs.latLngToPoint(N(t),i)},unproject:function(t,i){return i=i===void 0?this._zoom:i,this.options.crs.pointToLatLng(U(t),i)},layerPointToLatLng:function(t){var i=U(t).add(this.getPixelOrigin());return this.unproject(i)},latLngToLayerPoint:function(t){var i=this.project(N(t))._round();return i._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(N(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(w(t))},distance:function(t,i){return this.options.crs.distance(N(t),N(i))},containerPointToLayerPoint:function(t){return U(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return U(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var i=this.containerPointToLayerPoint(U(t));return this.layerPointToLatLng(i)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(N(t)))},mouseEventToContainerPoint:function(t){return ic(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 i=this._container=Ql(t);if(i){if(i._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");Se(i,"scroll",this._onScroll,this),this._containerId=h(i)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&he.any3d,Le(t,"leaflet-container"+(he.touch?" leaflet-touch":"")+(he.retina?" leaflet-retina":"")+(he.ielt9?" leaflet-oldie":"")+(he.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var i=Ji(t,"position");i!=="absolute"&&i!=="relative"&&i!=="fixed"&&i!=="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 ie(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Le(t.markerPane,"leaflet-zoom-hide"),Le(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,i,o){et(this._mapPane,new ie(0,0));var c=!this._loaded;this._loaded=!0,i=this._limitZoom(i),this.fire("viewprereset");var d=this._zoom!==i;this._moveStart(d,o)._move(t,i)._moveEnd(d),this.fire("viewreset"),c&&this.fire("load")},_moveStart:function(t,i){return t&&this.fire("zoomstart"),i||this.fire("movestart"),this},_move:function(t,i,o,c){i===void 0&&(i=this._zoom);var d=this._zoom!==i;return this._zoom=i,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),c?o&&o.pinch&&this.fire("zoom",o):((d||o&&o.pinch)&&this.fire("zoom",o),this.fire("move",o)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return ne(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[h(this._container)]=this;var i=t?Ue:Se;i(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&i(window,"resize",this._onResize,this),he.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){ne(this._resizeRequest),this._resizeRequest=me(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,i){for(var o=[],c,d=i==="mouseout"||i==="mouseover",v=t.target||t.srcElement,x=!1;v;){if(c=this._targets[h(v)],c&&(i==="click"||i==="preclick")&&this._draggableMoved(c)){x=!0;break}if(c&&c.listens(i,!0)&&(d&&!Eo(v,t)||(o.push(c),d))||v===this._container)break;v=v.parentNode}return!o.length&&!x&&!d&&this.listens(i,!0)&&(o=[this]),o},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var i=t.target||t.srcElement;if(!(!this._loaded||i._leaflet_disable_events||t.type==="click"&&this._isClickDisabled(i))){var o=t.type;o==="mousedown"&&yo(i),this._fireDOMEvent(t,o)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,i,o){if(t.type==="click"){var c=a({},t);c.type="preclick",this._fireDOMEvent(c,c.type,o)}var d=this._findEventTargets(t,i);if(o){for(var v=[],x=0;x0?Math.round(t-i)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(i))},_limitZoom:function(t){var i=this.getMinZoom(),o=this.getMaxZoom(),c=he.any3d?this.options.zoomSnap:1;return c&&(t=Math.round(t/c)*c),Math.max(i,Math.min(o,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){Xe(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,i){var o=this._getCenterOffset(t)._trunc();return(i&&i.animate)!==!0&&!this.getSize().contains(o)?!1:(this.panBy(o,i),!0)},_createAnimProxy:function(){var t=this._proxy=ze("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(i){var o=fo,c=this._proxy.style[o];Jn(this._proxy,this.project(i.center,i.zoom),this.getZoomScale(i.zoom,1)),c===this._proxy.style[o]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Je(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),i=this.getZoom();Jn(this._proxy,this.project(t,i),this.getZoomScale(i,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,i,o){if(this._animatingZoom)return!0;if(o=o||{},!this._zoomAnimated||o.animate===!1||this._nothingToAnimate()||Math.abs(i-this._zoom)>this.options.zoomAnimationThreshold)return!1;var c=this.getZoomScale(i),d=this._getCenterOffset(t)._divideBy(1-1/c);return o.animate!==!0&&!this.getSize().contains(d)?!1:(me(function(){this._moveStart(!0,o.noMoveStart||!1)._animateZoom(t,i,!0)},this),!0)},_animateZoom:function(t,i,o,c){this._mapPane&&(o&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=i,Le(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:i,noUpdate:c}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(u(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&Xe(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 rp(t,i){return new Ae(t,i)}var Ut=_e.extend({options:{position:"topright"},initialize:function(t){T(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var i=this._map;return i&&i.removeControl(this),this.options.position=t,i&&i.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var i=this._container=this.onAdd(t),o=this.getPosition(),c=t._controlCorners[o];return Le(i,"leaflet-control"),o.indexOf("bottom")!==-1?c.insertBefore(i,c.firstChild):c.appendChild(i),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Je(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()}}),tr=function(t){return new Ut(t)};Ae.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},i="leaflet-",o=this._controlContainer=ze("div",i+"control-container",this._container);function c(d,v){var x=i+d+" "+i+v;t[d+v]=ze("div",x,o)}c("top","left"),c("top","right"),c("bottom","left"),c("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)Je(this._controlCorners[t]);Je(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var oc=Ut.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,i,o,c){return o1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=i&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var i=this._getLayer(h(t.target)),o=i.overlay?t.type==="add"?"overlayadd":"overlayremove":t.type==="add"?"baselayerchange":null;o&&this._map.fire(o,i)},_createRadioElement:function(t,i){var o='",c=document.createElement("div");return c.innerHTML=o,c.firstChild},_addItem:function(t){var i=document.createElement("label"),o=this._map.hasLayer(t.layer),c;t.overlay?(c=document.createElement("input"),c.type="checkbox",c.className="leaflet-control-layers-selector",c.defaultChecked=o):c=this._createRadioElement("leaflet-base-layers_"+h(this),o),this._layerControlInputs.push(c),c.layerId=h(t.layer),Se(c,"click",this._onInputClick,this);var d=document.createElement("span");d.innerHTML=" "+t.name;var v=document.createElement("span");i.appendChild(v),v.appendChild(c),v.appendChild(d);var x=t.overlay?this._overlaysList:this._baseLayersList;return x.appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var t=this._layerControlInputs,i,o,c=[],d=[];this._handlingClick=!0;for(var v=t.length-1;v>=0;v--)i=t[v],o=this._getLayer(i.layerId).layer,i.checked?c.push(o):i.checked||d.push(o);for(v=0;v=0;d--)i=t[d],o=this._getLayer(i.layerId).layer,i.disabled=o.options.minZoom!==void 0&&co.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,Se(t,"click",pt),this.expand();var i=this;setTimeout(function(){Ue(t,"click",pt),i._preventClick=!1})}}),sp=function(t,i,o){return new oc(t,i,o)},To=Ut.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(t){var i="leaflet-control-zoom",o=ze("div",i+" leaflet-bar"),c=this.options;return this._zoomInButton=this._createButton(c.zoomInText,c.zoomInTitle,i+"-in",o,this._zoomIn),this._zoomOutButton=this._createButton(c.zoomOutText,c.zoomOutTitle,i+"-out",o,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),o},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,i,o,c,d){var v=ze("a",o,c);return v.innerHTML=t,v.href="#",v.title=i,v.setAttribute("role","button"),v.setAttribute("aria-label",i),er(v),Se(v,"click",Qn),Se(v,"click",d,this),Se(v,"click",this._refocusOnMap,this),v},_updateDisabled:function(){var t=this._map,i="leaflet-disabled";Xe(this._zoomInButton,i),Xe(this._zoomOutButton,i),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(Le(this._zoomOutButton,i),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(Le(this._zoomInButton,i),this._zoomInButton.setAttribute("aria-disabled","true"))}});Ae.mergeOptions({zoomControl:!0}),Ae.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new To,this.addControl(this.zoomControl))});var op=function(t){return new To(t)},ac=Ut.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var i="leaflet-control-scale",o=ze("div",i),c=this.options;return this._addScales(c,i+"-line",o),t.on(c.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),o},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,i,o){t.metric&&(this._mScale=ze("div",i,o)),t.imperial&&(this._iScale=ze("div",i,o))},_update:function(){var t=this._map,i=t.getSize().y/2,o=t.distance(t.containerPointToLatLng([0,i]),t.containerPointToLatLng([this.options.maxWidth,i]));this._updateScales(o)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var i=this._getRoundNum(t),o=i<1e3?i+" m":i/1e3+" km";this._updateScale(this._mScale,o,i/t)},_updateImperial:function(t){var i=t*3.2808399,o,c,d;i>5280?(o=i/5280,c=this._getRoundNum(o),this._updateScale(this._iScale,c+" mi",c/o)):(d=this._getRoundNum(i),this._updateScale(this._iScale,d+" ft",d/i))},_updateScale:function(t,i,o){t.style.width=Math.round(this.options.maxWidth*o)+"px",t.innerHTML=i},_getRoundNum:function(t){var i=Math.pow(10,(Math.floor(t)+"").length-1),o=t/i;return o=o>=10?10:o>=5?5:o>=3?3:o>=2?2:1,i*o}}),ap=function(t){return new ac(t)},lp='',xo=Ut.extend({options:{position:"bottomright",prefix:''+(he.inlineSvg?lp+" ":"")+"Leaflet"},initialize:function(t){T(this,t),this._attributions={}},onAdd:function(t){t.attributionControl=this,this._container=ze("div","leaflet-control-attribution"),er(this._container);for(var i in t._layers)t._layers[i].getAttribution&&this.addAttribution(t._layers[i].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 i in this._attributions)this._attributions[i]&&t.push(i);var o=[];this.options.prefix&&o.push(this.options.prefix),t.length&&o.push(t.join(", ")),this._container.innerHTML=o.join(' ')}}});Ae.mergeOptions({attributionControl:!0}),Ae.addInitHook(function(){this.options.attributionControl&&new xo().addTo(this)});var cp=function(t){return new xo(t)};Ut.Layers=oc,Ut.Zoom=To,Ut.Scale=ac,Ut.Attribution=xo,tr.layers=sp,tr.zoom=op,tr.scale=ap,tr.attribution=cp;var sn=_e.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}});sn.addTo=function(t,i){return t.addHandler(i,this),this};var up={Events:$e},lc=he.touch?"touchstart mousedown":"mousedown",Rn=Ee.extend({options:{clickTolerance:3},initialize:function(t,i,o,c){T(this,c),this._element=t,this._dragStartTarget=i||t,this._preventOutline=o},enable:function(){this._enabled||(Se(this._dragStartTarget,lc,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Rn._dragging===this&&this.finishDrag(!0),Ue(this._dragStartTarget,lc,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!ho(this._element,"leaflet-zoom-anim"))){if(t.touches&&t.touches.length!==1){Rn._dragging===this&&this.finishDrag();return}if(!(Rn._dragging||t.shiftKey||t.which!==1&&t.button!==1&&!t.touches)&&(Rn._dragging=this,this._preventOutline&&yo(this._element),_o(),Yi(),!this._moving)){this.fire("down");var i=t.touches?t.touches[0]:t,o=ec(this._element);this._startPoint=new ie(i.clientX,i.clientY),this._startPos=Yn(this._element),this._parentScale=wo(o);var c=t.type==="mousedown";Se(document,c?"mousemove":"touchmove",this._onMove,this),Se(document,c?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(t){if(this._enabled){if(t.touches&&t.touches.length>1){this._moved=!0;return}var i=t.touches&&t.touches.length===1?t.touches[0]:t,o=new ie(i.clientX,i.clientY)._subtract(this._startPoint);!o.x&&!o.y||Math.abs(o.x)+Math.abs(o.y)v&&(x=D,v=Z);v>o&&(i[x]=1,Co(t,i,o,c,x),Co(t,i,o,x,d))}function pp(t,i){for(var o=[t[0]],c=1,d=0,v=t.length;ci&&(o.push(t[c]),d=c);return di.max.x&&(o|=2),t.yi.max.y&&(o|=8),o}function mp(t,i){var o=i.x-t.x,c=i.y-t.y;return o*o+c*c}function nr(t,i,o,c){var d=i.x,v=i.y,x=o.x-d,D=o.y-v,Z=x*x+D*D,J;return Z>0&&(J=((t.x-d)*x+(t.y-v)*D)/Z,J>1?(d=o.x,v=o.y):J>0&&(d+=x*J,v+=D*J)),x=t.x-d,D=t.y-v,c?x*x+D*D:new ie(d,v)}function Bt(t){return!j(t[0])||typeof t[0][0]!="object"&&typeof t[0][0]<"u"}function mc(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Bt(t)}function _c(t,i){var o,c,d,v,x,D,Z,J;if(!t||t.length===0)throw new Error("latlngs not passed");Bt(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var se=N([0,0]),ge=w(t),Ce=ge.getNorthWest().distanceTo(ge.getSouthWest())*ge.getNorthEast().distanceTo(ge.getNorthWest());Ce<1700&&(se=Lo(t));var Tt=t.length,ht=[];for(o=0;oc){Z=(v-c)/d,J=[D.x-Z*(D.x-x.x),D.y-Z*(D.y-x.y)];break}var Rt=i.unproject(U(J));return N([Rt.lat+se.lat,Rt.lng+se.lng])}var _p={__proto__:null,simplify:fc,pointToSegmentDistance:hc,closestPointOnSegment:hp,clipSegment:pc,_getEdgeIntersection:Jr,_getBitCode:ei,_sqClosestPointOnSegment:nr,isFlat:Bt,_flat:mc,polylineCenter:_c},ko={project:function(t){return new ie(t.lng,t.lat)},unproject:function(t){return new E(t.y,t.x)},bounds:new M([-180,-90],[180,90])},Oo={R:6378137,R_MINOR:6356752314245179e-9,bounds:new M([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(t){var i=Math.PI/180,o=this.R,c=t.lat*i,d=this.R_MINOR/o,v=Math.sqrt(1-d*d),x=v*Math.sin(c),D=Math.tan(Math.PI/4-c/2)/Math.pow((1-x)/(1+x),v/2);return c=-o*Math.log(Math.max(D,1e-10)),new ie(t.lng*i*o,c)},unproject:function(t){for(var i=180/Math.PI,o=this.R,c=this.R_MINOR/o,d=Math.sqrt(1-c*c),v=Math.exp(-t.y/o),x=Math.PI/2-2*Math.atan(v),D=0,Z=.1,J;D<15&&Math.abs(Z)>1e-7;D++)J=d*Math.sin(x),J=Math.pow((1-J)/(1+J),d/2),Z=Math.PI/2-2*Math.atan(v*J)-x,x+=Z;return new E(x*i,t.x*i/o)}},gp={__proto__:null,LonLat:ko,Mercator:Oo,SphericalMercator:Q},vp=a({},H,{code:"EPSG:3395",projection:Oo,transformation:function(){var t=.5/(Math.PI*Oo.R);return A(t,.5,-t,.5)}()}),gc=a({},H,{code:"EPSG:4326",projection:ko,transformation:A(1/180,1,-1/180,.5)}),yp=a({},I,{projection:ko,transformation:A(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,i){var o=i.lng-t.lng,c=i.lat-t.lat;return Math.sqrt(o*o+c*c)},infinite:!0});I.Earth=H,I.EPSG3395=vp,I.EPSG3857=g,I.EPSG900913=b,I.EPSG4326=gc,I.Simple=yp;var qt=Ee.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[h(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[h(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var i=t.target;if(i.hasLayer(this)){if(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents){var o=this.getEvents();i.on(o,this),this.once("remove",function(){i.off(o,this)},this)}this.onAdd(i),this.fire("add"),i.fire("layeradd",{layer:this})}}});Ae.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var i=h(t);return this._layers[i]?this:(this._layers[i]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t),this)},removeLayer:function(t){var i=h(t);return this._layers[i]?(this._loaded&&t.onRemove(this),delete this._layers[i],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return h(t)in this._layers},eachLayer:function(t,i){for(var o in this._layers)t.call(i,this._layers[o]);return this},_addLayers:function(t){t=t?j(t)?t:[t]:[];for(var i=0,o=t.length;ithis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&i[0]instanceof E&&i[0].equals(i[o-1])&&i.pop(),i},_setLatLngs:function(t){gn.prototype._setLatLngs.call(this,t),Bt(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Bt(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,i=this.options.weight,o=new ie(i,i);if(t=new M(t.min.subtract(o),t.max.add(o)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(t))){if(this.options.noClip){this._parts=this._rings;return}for(var c=0,d=this._rings.length,v;ct.y!=d.y>t.y&&t.x<(d.x-c.x)*(t.y-c.y)/(d.y-c.y)+c.x&&(i=!i);return i||gn.prototype._containsPoint.call(this,t,!0)}});function xp(t,i){return new $i(t,i)}var vn=_n.extend({initialize:function(t,i){T(this,i),this._layers={},t&&this.addData(t)},addData:function(t){var i=j(t)?t:t.features,o,c,d;if(i){for(o=0,c=i.length;o0&&d.push(d[0].slice()),d}function Si(t,i){return t.feature?a({},t.feature,{geometry:i}):ns(i)}function ns(t){return t.type==="Feature"||t.type==="FeatureCollection"?t:{type:"Feature",properties:{},geometry:t}}var Ao={toGeoJSON:function(t){return Si(this,{type:"Point",coordinates:Io(this.getLatLng(),t)})}};Yr.include(Ao),Ro.include(Ao),Xr.include(Ao),gn.include({toGeoJSON:function(t){var i=!Bt(this._latlngs),o=ts(this._latlngs,i?1:0,!1,t);return Si(this,{type:(i?"Multi":"")+"LineString",coordinates:o})}}),$i.include({toGeoJSON:function(t){var i=!Bt(this._latlngs),o=i&&!Bt(this._latlngs[0]),c=ts(this._latlngs,o?2:i?1:0,!0,t);return i||(c=[c]),Si(this,{type:(o?"Multi":"")+"Polygon",coordinates:c})}}),bi.include({toMultiPoint:function(t){var i=[];return this.eachLayer(function(o){i.push(o.toGeoJSON(t).geometry.coordinates)}),Si(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(t){var i=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(i==="MultiPoint")return this.toMultiPoint(t);var o=i==="GeometryCollection",c=[];return this.eachLayer(function(d){if(d.toGeoJSON){var v=d.toGeoJSON(t);if(o)c.push(v.geometry);else{var x=ns(v);x.type==="FeatureCollection"?c.push.apply(c,x.features):c.push(x)}}}),o?Si(this,{geometries:c,type:"GeometryCollection"}):{type:"FeatureCollection",features:c}}});function wc(t,i){return new vn(t,i)}var Lp=wc,is=qt.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,i,o){this._url=t,this._bounds=w(i),T(this,o)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Le(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Je(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&&yi(this._image),this},bringToBack:function(){return this._map&&wi(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=w(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",i=this._image=t?this._url:ze("img");if(Le(i,"leaflet-image-layer"),this._zoomAnimated&&Le(i,"leaflet-zoom-animated"),this.options.className&&Le(i,this.options.className),i.onselectstart=_,i.onmousemove=_,i.onload=u(this.fire,this,"load"),i.onerror=u(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(i.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t){this._url=i.src;return}i.src=this._url,i.alt=this.options.alt},_animateZoom:function(t){var i=this._map.getZoomScale(t.zoom),o=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;Jn(this._image,o,i)},_reset:function(){var t=this._image,i=new M(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),o=i.getSize();et(t,i.min),t.style.width=o.x+"px",t.style.height=o.y+"px"},_updateOpacity:function(){jt(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()}}),Cp=function(t,i,o){return new is(t,i,o)},bc=is.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t=this._url.tagName==="VIDEO",i=this._image=t?this._url:ze("video");if(Le(i,"leaflet-image-layer"),this._zoomAnimated&&Le(i,"leaflet-zoom-animated"),this.options.className&&Le(i,this.options.className),i.onselectstart=_,i.onmousemove=_,i.onloadeddata=u(this.fire,this,"load"),t){for(var o=i.getElementsByTagName("source"),c=[],d=0;d0?c:[i.src];return}j(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(i.style,"objectFit")&&(i.style.objectFit="fill"),i.autoplay=!!this.options.autoplay,i.loop=!!this.options.loop,i.muted=!!this.options.muted,i.playsInline=!!this.options.playsInline;for(var v=0;vd?(i.height=d+"px",Le(t,v)):Xe(t,v),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),o=this._getAnchor();et(this._container,i.add(o))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var t=this._map,i=parseInt(Ji(this._container,"marginBottom"),10)||0,o=this._container.offsetHeight+i,c=this._containerWidth,d=new ie(this._containerLeft,-o-this._containerBottom);d._add(Yn(this._container));var v=t.layerPointToContainerPoint(d),x=U(this.options.autoPanPadding),D=U(this.options.autoPanPaddingTopLeft||x),Z=U(this.options.autoPanPaddingBottomRight||x),J=t.getSize(),se=0,ge=0;v.x+c+Z.x>J.x&&(se=v.x+c-J.x+Z.x),v.x-se-D.x<0&&(se=v.x-D.x),v.y+o+Z.y>J.y&&(ge=v.y+o-J.y+Z.y),v.y-ge-D.y<0&&(ge=v.y-D.y),(se||ge)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([se,ge]))}},_getAnchor:function(){return U(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Rp=function(t,i){return new rs(t,i)};Ae.mergeOptions({closePopupOnClick:!0}),Ae.include({openPopup:function(t,i,o){return this._initOverlay(rs,t,i,o).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),qt.include({bindPopup:function(t,i){return this._popup=this._initOverlay(rs,this._popup,t,i),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 _n||(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)){Qn(t);var i=t.layer||t.target;if(this._popup._source===i&&!(i instanceof Mn)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng);return}this._popup._source=i,this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){t.originalEvent.keyCode===13&&this._openPopup(t)}});var ss=on.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){on.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){on.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=on.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip",i=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ze("div",i),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+h(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var i,o,c=this._map,d=this._container,v=c.latLngToContainerPoint(c.getCenter()),x=c.layerPointToContainerPoint(t),D=this.options.direction,Z=d.offsetWidth,J=d.offsetHeight,se=U(this.options.offset),ge=this._getAnchor();D==="top"?(i=Z/2,o=J):D==="bottom"?(i=Z/2,o=0):D==="center"?(i=Z/2,o=J/2):D==="right"?(i=0,o=J/2):D==="left"?(i=Z,o=J/2):x.xthis.options.maxZoom||oc?this._retainParent(d,v,x,c):!1)},_retainChildren:function(t,i,o,c){for(var d=2*t;d<2*t+2;d++)for(var v=2*i;v<2*i+2;v++){var x=new ie(d,v);x.z=o+1;var D=this._tileCoordsToKey(x),Z=this._tiles[D];if(Z&&Z.active){Z.retain=!0;continue}else Z&&Z.loaded&&(Z.retain=!0);o+1this.options.maxZoom||this.options.minZoom!==void 0&&d1){this._setView(t,o);return}for(var ge=d.min.y;ge<=d.max.y;ge++)for(var Ce=d.min.x;Ce<=d.max.x;Ce++){var Tt=new ie(Ce,ge);if(Tt.z=this._tileZoom,!!this._isValidTile(Tt)){var ht=this._tiles[this._tileCoordsToKey(Tt)];ht?ht.current=!0:x.push(Tt)}}if(x.sort(function(Rt,Ti){return Rt.distanceTo(v)-Ti.distanceTo(v)}),x.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var Zt=document.createDocumentFragment();for(Ce=0;Ceo.max.x)||!i.wrapLat&&(t.yo.max.y))return!1}if(!this.options.bounds)return!0;var c=this._tileCoordsToBounds(t);return w(this.options.bounds).overlaps(c)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var i=this._map,o=this.getTileSize(),c=t.scaleBy(o),d=c.add(o),v=i.unproject(c,t.z),x=i.unproject(d,t.z);return[v,x]},_tileCoordsToBounds:function(t){var i=this._tileCoordsToNwSe(t),o=new z(i[0],i[1]);return this.options.noWrap||(o=this._map.wrapLatLngBounds(o)),o},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var i=t.split(":"),o=new ie(+i[0],+i[1]);return o.z=+i[2],o},_removeTile:function(t){var i=this._tiles[t];i&&(Je(i.el),delete this._tiles[t],this.fire("tileunload",{tile:i.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){Le(t,"leaflet-tile");var i=this.getTileSize();t.style.width=i.x+"px",t.style.height=i.y+"px",t.onselectstart=_,t.onmousemove=_,he.ielt9&&this.options.opacity<1&&jt(t,this.options.opacity)},_addTile:function(t,i){var o=this._getTilePos(t),c=this._tileCoordsToKey(t),d=this.createTile(this._wrapCoords(t),u(this._tileReady,this,t));this._initTile(d),this.createTile.length<2&&me(u(this._tileReady,this,t,null,d)),et(d,o),this._tiles[c]={el:d,coords:t,current:!0},i.appendChild(d),this.fire("tileloadstart",{tile:d,coords:t})},_tileReady:function(t,i,o){i&&this.fire("tileerror",{error:i,tile:o,coords:t});var c=this._tileCoordsToKey(t);o=this._tiles[c],o&&(o.loaded=+new Date,this._map._fadeAnimated?(jt(o.el,0),ne(this._fadeFrame),this._fadeFrame=me(this._updateOpacity,this)):(o.active=!0,this._pruneTiles()),i||(Le(o.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:o.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),he.ielt9||!this._map._fadeAnimated?me(this._pruneTiles,this):setTimeout(u(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var i=new ie(this._wrapX?m(t.x,this._wrapX):t.x,this._wrapY?m(t.y,this._wrapY):t.y);return i.z=t.z,i},_pxBoundsToTileRange:function(t){var i=this.getTileSize();return new M(t.min.unscaleBy(i).floor(),t.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function Ap(t){return new rr(t)}var Ei=rr.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,i){this._url=t,i=T(this,i),i.detectRetina&&he.retina&&i.maxZoom>0?(i.tileSize=Math.floor(i.tileSize/2),i.zoomReverse?(i.zoomOffset--,i.minZoom=Math.min(i.maxZoom,i.minZoom+1)):(i.zoomOffset++,i.maxZoom=Math.max(i.minZoom,i.maxZoom-1)),i.minZoom=Math.max(0,i.minZoom)):i.zoomReverse?i.minZoom=Math.min(i.maxZoom,i.minZoom):i.maxZoom=Math.max(i.minZoom,i.maxZoom),typeof i.subdomains=="string"&&(i.subdomains=i.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,i){return this._url===t&&i===void 0&&(i=!0),this._url=t,i||this.redraw(),this},createTile:function(t,i){var o=document.createElement("img");return Se(o,"load",u(this._tileOnLoad,this,i,o)),Se(o,"error",u(this._tileOnError,this,i,o)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(o.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(o.referrerPolicy=this.options.referrerPolicy),o.alt="",o.src=this.getTileUrl(t),o},getTileUrl:function(t){var i={r:he.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var o=this._globalTileRange.max.y-t.y;this.options.tms&&(i.y=o),i["-y"]=o}return R(this._url,a(i,this.options))},_tileOnLoad:function(t,i){he.ielt9?setTimeout(u(t,this,null,i),0):t(null,i)},_tileOnError:function(t,i,o){var c=this.options.errorTileUrl;c&&i.getAttribute("src")!==c&&(i.src=c),t(o,i)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,i=this.options.maxZoom,o=this.options.zoomReverse,c=this.options.zoomOffset;return o&&(t=i-t),t+c},_getSubdomain:function(t){var i=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[i]},_abortLoading:function(){var t,i;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&(i=this._tiles[t].el,i.onload=_,i.onerror=_,!i.complete)){i.src=G;var o=this._tiles[t].coords;Je(i),delete this._tiles[t],this.fire("tileabort",{tile:i,coords:o})}},_removeTile:function(t){var i=this._tiles[t];if(i)return i.el.setAttribute("src",G),rr.prototype._removeTile.call(this,t)},_tileReady:function(t,i,o){if(!(!this._map||o&&o.getAttribute("src")===G))return rr.prototype._tileReady.call(this,t,i,o)}});function Sc(t,i){return new Ei(t,i)}var Ec=Ei.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,i){this._url=t;var o=a({},this.defaultWmsParams);for(var c in i)c in this.options||(o[c]=i[c]);i=T(this,i);var d=i.detectRetina&&he.retina?2:1,v=this.getTileSize();o.width=v.x*d,o.height=v.y*d,this.wmsParams=o},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var i=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[i]=this._crs.code,Ei.prototype.onAdd.call(this,t)},getTileUrl:function(t){var i=this._tileCoordsToNwSe(t),o=this._crs,c=q(o.project(i[0]),o.project(i[1])),d=c.min,v=c.max,x=(this._wmsVersion>=1.3&&this._crs===gc?[d.y,d.x,v.y,v.x]:[d.x,d.y,v.x,v.y]).join(","),D=Ei.prototype.getTileUrl.call(this,t);return D+C(this.wmsParams,D,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+x},setParams:function(t,i){return a(this.wmsParams,t),i||this.redraw(),this}});function Np(t,i){return new Ec(t,i)}Ei.WMS=Ec,Sc.wms=Np;var yn=qt.extend({options:{padding:.1},initialize:function(t){T(this,t),h(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),Le(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,i){var o=this._map.getZoomScale(i,this._zoom),c=this._map.getSize().multiplyBy(.5+this.options.padding),d=this._map.project(this._center,i),v=c.multiplyBy(-o).add(d).subtract(this._map._getNewPixelOrigin(t,i));he.any3d?Jn(this._container,v,o):et(this._container,v)},_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,i=this._map.getSize(),o=this._map.containerPointToLayerPoint(i.multiplyBy(-t)).round();this._bounds=new M(o,o.add(i.multiplyBy(1+t*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Tc=yn.extend({options:{tolerance:0},getEvents:function(){var t=yn.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){yn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Se(t,"mousemove",this._onMouseMove,this),Se(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Se(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){ne(this._redrawRequest),delete this._ctx,Je(this._container),Ue(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;this._redrawBounds=null;for(var i in this._layers)t=this._layers[i],t._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){yn.prototype._update.call(this);var t=this._bounds,i=this._container,o=t.getSize(),c=he.retina?2:1;et(i,t.min),i.width=c*o.x,i.height=c*o.y,i.style.width=o.x+"px",i.style.height=o.y+"px",he.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){yn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[h(t)]=t;var i=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=i),this._drawLast=i,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var i=t._order,o=i.next,c=i.prev;o?o.prev=c:this._drawLast=c,c?c.next=o:this._drawFirst=o,delete t._order,delete this._layers[h(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 i=t.options.dashArray.split(/[, ]+/),o=[],c,d;for(d=0;d')}}catch{}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),zp={_initContainer:function(){this._container=ze("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(yn.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var i=t._container=sr("shape");Le(i,"leaflet-vml-shape "+(this.options.className||"")),i.coordsize="1 1",t._path=sr("path"),i.appendChild(t._path),this._updateStyle(t),this._layers[h(t)]=t},_addPath:function(t){var i=t._container;this._container.appendChild(i),t.options.interactive&&t.addInteractiveTarget(i)},_removePath:function(t){var i=t._container;Je(i),t.removeInteractiveTarget(i),delete this._layers[h(t)]},_updateStyle:function(t){var i=t._stroke,o=t._fill,c=t.options,d=t._container;d.stroked=!!c.stroke,d.filled=!!c.fill,c.stroke?(i||(i=t._stroke=sr("stroke")),d.appendChild(i),i.weight=c.weight+"px",i.color=c.color,i.opacity=c.opacity,c.dashArray?i.dashStyle=j(c.dashArray)?c.dashArray.join(" "):c.dashArray.replace(/( *, *)/g," "):i.dashStyle="",i.endcap=c.lineCap.replace("butt","flat"),i.joinstyle=c.lineJoin):i&&(d.removeChild(i),t._stroke=null),c.fill?(o||(o=t._fill=sr("fill")),d.appendChild(o),o.color=c.fillColor||c.color,o.opacity=c.fillOpacity):o&&(d.removeChild(o),t._fill=null)},_updateCircle:function(t){var i=t._point.round(),o=Math.round(t._radius),c=Math.round(t._radiusY||o);this._setPath(t,t._empty()?"M0 0":"AL "+i.x+","+i.y+" "+o+","+c+" 0,"+65535*360)},_setPath:function(t,i){t._path.v=i},_bringToFront:function(t){yi(t._container)},_bringToBack:function(t){wi(t._container)}},os=he.vml?sr:O,or=yn.extend({_initContainer:function(){this._container=os("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=os("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Je(this._container),Ue(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){yn.prototype._update.call(this);var t=this._bounds,i=t.getSize(),o=this._container;(!this._svgSize||!this._svgSize.equals(i))&&(this._svgSize=i,o.setAttribute("width",i.x),o.setAttribute("height",i.y)),et(o,t.min),o.setAttribute("viewBox",[t.min.x,t.min.y,i.x,i.y].join(" ")),this.fire("update")}},_initPath:function(t){var i=t._path=os("path");t.options.className&&Le(i,t.options.className),t.options.interactive&&Le(i,"leaflet-interactive"),this._updateStyle(t),this._layers[h(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){Je(t._path),t.removeInteractiveTarget(t._path),delete this._layers[h(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var i=t._path,o=t.options;i&&(o.stroke?(i.setAttribute("stroke",o.color),i.setAttribute("stroke-opacity",o.opacity),i.setAttribute("stroke-width",o.weight),i.setAttribute("stroke-linecap",o.lineCap),i.setAttribute("stroke-linejoin",o.lineJoin),o.dashArray?i.setAttribute("stroke-dasharray",o.dashArray):i.removeAttribute("stroke-dasharray"),o.dashOffset?i.setAttribute("stroke-dashoffset",o.dashOffset):i.removeAttribute("stroke-dashoffset")):i.setAttribute("stroke","none"),o.fill?(i.setAttribute("fill",o.fillColor||o.color),i.setAttribute("fill-opacity",o.fillOpacity),i.setAttribute("fill-rule",o.fillRule||"evenodd")):i.setAttribute("fill","none"))},_updatePoly:function(t,i){this._setPath(t,F(t._parts,i))},_updateCircle:function(t){var i=t._point,o=Math.max(Math.round(t._radius),1),c=Math.max(Math.round(t._radiusY),1)||o,d="a"+o+","+c+" 0 1,0 ",v=t._empty()?"M0 0":"M"+(i.x-o)+","+i.y+d+o*2+",0 "+d+-o*2+",0 ";this._setPath(t,v)},_setPath:function(t,i){t._path.setAttribute("d",i)},_bringToFront:function(t){yi(t._path)},_bringToBack:function(t){wi(t._path)}});he.vml&&or.include(zp);function Lc(t){return he.svg||he.vml?new or(t):null}Ae.include({getRenderer:function(t){var i=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return i||(i=this._renderer=this._createRenderer()),this.hasLayer(i)||this.addLayer(i),i},_getPaneRenderer:function(t){if(t==="overlayPane"||t===void 0)return!1;var i=this._paneRenderers[t];return i===void 0&&(i=this._createRenderer({pane:t}),this._paneRenderers[t]=i),i},_createRenderer:function(t){return this.options.preferCanvas&&xc(t)||Lc(t)}});var Cc=$i.extend({initialize:function(t,i){$i.prototype.initialize.call(this,this._boundsToLatLngs(t),i)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=w(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function Dp(t,i){return new Cc(t,i)}or.create=os,or.pointsToPath=F,vn.geometryToLayer=Qr,vn.coordsToLatLng=Mo,vn.coordsToLatLngs=es,vn.latLngToCoords=Io,vn.latLngsToCoords=ts,vn.getFeature=Si,vn.asFeature=ns,Ae.mergeOptions({boxZoom:!0});var kc=sn.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(){Se(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ue(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Je(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(),Yi(),_o(),this._startPoint=this._map.mouseEventToContainerPoint(t),Se(document,{contextmenu:Qn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ze("div","leaflet-zoom-box",this._container),Le(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var i=new M(this._point,this._startPoint),o=i.getSize();et(this._box,i.min),this._box.style.width=o.x+"px",this._box.style.height=o.y+"px"},_finish:function(){this._moved&&(Je(this._box),Xe(this._container,"leaflet-crosshair")),Xi(),go(),Ue(document,{contextmenu:Qn,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(u(this._resetState,this),0);var i=new z(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(i).fire("boxzoomend",{boxZoomBounds:i})}},_onKeyDown:function(t){t.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Ae.addInitHook("addHandler","boxZoom",kc),Ae.mergeOptions({doubleClickZoom:!0});var Oc=sn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var i=this._map,o=i.getZoom(),c=i.options.zoomDelta,d=t.originalEvent.shiftKey?o-c:o+c;i.options.doubleClickZoom==="center"?i.setZoom(d):i.setZoomAround(t.containerPoint,d)}});Ae.addInitHook("addHandler","doubleClickZoom",Oc),Ae.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Rc=sn.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new Rn(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))}Le(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Xe(this._map._container,"leaflet-grab"),Xe(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 i=w(this._map.options.maxBounds);this._offsetLimit=q(this._map.latLngToContainerPoint(i.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(i.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 i=this._lastTime=+new Date,o=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(o),this._times.push(i),this._prunePositions(i)}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),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,i){return t-(t-i)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var t=this._draggable._newPos.subtract(this._draggable._startPos),i=this._offsetLimit;t.xi.max.x&&(t.x=this._viscousLimit(t.x,i.max.x)),t.y>i.max.y&&(t.y=this._viscousLimit(t.y,i.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,i=Math.round(t/2),o=this._initialWorldOffset,c=this._draggable._newPos.x,d=(c-i+o)%t+i-o,v=(c+i+o)%t-i-o,x=Math.abs(d+o)0?v:-v))-i;this._delta=0,this._startTime=null,x&&(t.options.scrollWheelZoom==="center"?t.setZoom(i+x):t.setZoomAround(this._lastMousePos,i+x))}});Ae.addInitHook("addHandler","scrollWheelZoom",Ic);var jp=600;Ae.mergeOptions({tapHold:he.touchNative&&he.safari&&he.mobile,tapTolerance:15});var Ac=sn.extend({addHooks:function(){Se(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ue(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),t.touches.length===1){var i=t.touches[0];this._startPos=this._newPos=new ie(i.clientX,i.clientY),this._holdTimeout=setTimeout(u(function(){this._cancel(),this._isTapValid()&&(Se(document,"touchend",pt),Se(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",i))},this),jp),Se(document,"touchend touchcancel contextmenu",this._cancel,this),Se(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){Ue(document,"touchend",pt),Ue(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),Ue(document,"touchend touchcancel contextmenu",this._cancel,this),Ue(document,"touchmove",this._onMove,this)},_onMove:function(t){var i=t.touches[0];this._newPos=new ie(i.clientX,i.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,i){var o=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:i.screenX,screenY:i.screenY,clientX:i.clientX,clientY:i.clientY});o._simulated=!0,i.target.dispatchEvent(o)}});Ae.addInitHook("addHandler","tapHold",Ac),Ae.mergeOptions({touchZoom:he.touch,bounceAtZoomLimits:!0});var Nc=sn.extend({addHooks:function(){Le(this._map._container,"leaflet-touch-zoom"),Se(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){Xe(this._map._container,"leaflet-touch-zoom"),Ue(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var i=this._map;if(!(!t.touches||t.touches.length!==2||i._animatingZoom||this._zooming)){var o=i.mouseEventToContainerPoint(t.touches[0]),c=i.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=i.getSize()._divideBy(2),this._startLatLng=i.containerPointToLatLng(this._centerPoint),i.options.touchZoom!=="center"&&(this._pinchStartLatLng=i.containerPointToLatLng(o.add(c)._divideBy(2))),this._startDist=o.distanceTo(c),this._startZoom=i.getZoom(),this._moved=!1,this._zooming=!0,i._stop(),Se(document,"touchmove",this._onTouchMove,this),Se(document,"touchend touchcancel",this._onTouchEnd,this),pt(t)}},_onTouchMove:function(t){if(!(!t.touches||t.touches.length!==2||!this._zooming)){var i=this._map,o=i.mouseEventToContainerPoint(t.touches[0]),c=i.mouseEventToContainerPoint(t.touches[1]),d=o.distanceTo(c)/this._startDist;if(this._zoom=i.getScaleZoom(d,this._startZoom),!i.options.bounceAtZoomLimits&&(this._zoomi.getMaxZoom()&&d>1)&&(this._zoom=i._limitZoom(this._zoom)),i.options.touchZoom==="center"){if(this._center=this._startLatLng,d===1)return}else{var v=o._add(c)._divideBy(2)._subtract(this._centerPoint);if(d===1&&v.x===0&&v.y===0)return;this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(v),this._zoom)}this._moved||(i._moveStart(!0,!1),this._moved=!0),ne(this._animRequest);var x=u(i._move,i,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=me(x,this,!0),pt(t)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,ne(this._animRequest),Ue(document,"touchmove",this._onTouchMove,this),Ue(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))}});Ae.addInitHook("addHandler","touchZoom",Nc),Ae.BoxZoom=kc,Ae.DoubleClickZoom=Oc,Ae.Drag=Rc,Ae.Keyboard=Mc,Ae.ScrollWheelZoom=Ic,Ae.TapHold=Ac,Ae.TouchZoom=Nc,r.Bounds=M,r.Browser=he,r.CRS=I,r.Canvas=Tc,r.Circle=Ro,r.CircleMarker=Xr,r.Class=_e,r.Control=Ut,r.DivIcon=$c,r.DivOverlay=on,r.DomEvent=ip,r.DomUtil=tp,r.Draggable=Rn,r.Evented=Ee,r.FeatureGroup=_n,r.GeoJSON=vn,r.GridLayer=rr,r.Handler=sn,r.Icon=Pi,r.ImageOverlay=is,r.LatLng=E,r.LatLngBounds=z,r.Layer=qt,r.LayerGroup=bi,r.LineUtil=_p,r.Map=Ae,r.Marker=Yr,r.Mixin=up,r.Path=Mn,r.Point=ie,r.PolyUtil=fp,r.Polygon=$i,r.Polyline=gn,r.Popup=rs,r.PosAnimation=sc,r.Projection=gp,r.Rectangle=Cc,r.Renderer=yn,r.SVG=or,r.SVGOverlay=Pc,r.TileLayer=Ei,r.Tooltip=ss,r.Transformation=k,r.Util=pe,r.VideoOverlay=bc,r.bind=u,r.bounds=q,r.canvas=xc,r.circle=Ep,r.circleMarker=Sp,r.control=tr,r.divIcon=Ip,r.extend=a,r.featureGroup=bp,r.geoJSON=wc,r.geoJson=Lp,r.gridLayer=Ap,r.icon=Pp,r.imageOverlay=Cp,r.latLng=N,r.latLngBounds=w,r.layerGroup=wp,r.map=rp,r.marker=$p,r.point=U,r.polygon=xp,r.polyline=Tp,r.popup=Rp,r.rectangle=Dp,r.setOptions=T,r.stamp=h,r.svg=Lc,r.svgOverlay=Op,r.tileLayer=Sc,r.tooltip=Mp,r.transformation=A,r.version=s,r.videoOverlay=kp;var Bp=window.L;r.noConflict=function(){return window.L=Bp,this},window.L=r})})(Ca,Ca.exports);var qP=Ca.exports;const hr=qh(qP),WP={class:"toggle-map-container"},KP={class:"map-wrapper"},df=41.87213786,pf=-87.62576558,mf=14,_f=18,GP=Ot({__name:"LeafletMap",props:{resourcesPrefetch:{},locationsPrefetch:{},idReferences:{}},setup(e){const n=Lv(),r=no(),s=lt(!1),a=lt([]),l=e;a.value=l.resourcesPrefetch.map(y=>{var P;return{resource:y,coordinates:((P=l.locationsPrefetch.find(S=>S.resourceinstance_id===y.resourceinstanceid))==null?void 0:P.data[l.idReferences.coordinatesNodeId])??void 0}});const u=lt(null);let f;const h=new Map,p=hr.icon({iconUrl:"https://arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon.png",iconSize:[22,34],popupAnchor:[0,-32]}),m=hr.icon({iconUrl:"https://arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon-active.png",iconSize:[33,51],popupAnchor:[0,-32]}),_=y=>{const P=hr.map(y).setView([df,pf],mf);return f=P,hr.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:20,attribution:'© OpenStreetMap'}).addTo(P),a.value.forEach(S=>{var T;if(S.coordinates){const C=((T=S.coordinates)==null?void 0:T.features[0].geometry.coordinates)??void 0;if(C){const $=hr.marker([C[1],C[0]],{icon:p});$.bindPopup(`${S.resource.descriptors.en.name}`),$.on("click",()=>{n.push(`/archesdataviewer/home/resource/${S.resource.resourceinstanceid}`)}),h.set(S.resource.resourceinstanceid,$),$.addTo(P)}}}),f};return qa(()=>{if(u.value&&(f=_(u.value),r.params.id)){const y=h.get(r.params.id);y&&(y.openPopup(),f==null||f.flyTo(y.getLatLng(),_f))}}),hi(()=>r.params.id,y=>{if(h.forEach(P=>{P.setIcon(p),P.setZIndexOffset(0)}),y){const P=h.get(y);P?(P.setIcon(m),P.setZIndexOffset(1e3),P.openPopup(),f==null||f.flyTo(P.getLatLng(),_f)):f==null||f.closePopup()}else f==null||f.closePopup(),f==null||f.setView([df,pf],mf)},{immediate:!0}),(y,P)=>(ve(),Ze("div",{class:di(s.value?"map-container expanded":"map-container collapsed")},[be("div",WP,[be("button",{type:"button",class:"toggle-map",onClick:P[0]||(P[0]=S=>s.value=!s.value)},[P[2]||(P[2]=be("span",null,"Explore the artwork geographically",-1)),Ke(ke(aP),{class:"button-icon"})])]),be("div",{onClick:P[1]||(P[1]=S=>s.value=!0)},[be("div",KP,[be("div",{id:"map",ref_key:"mapElement",ref:u},null,512)])])],2))}}),JP=On(GP,[["__scopeId","data-v-197e8971"]]),YP={class:"home"},XP={id:"map-container"},QP={key:1,class:"map-placeholder"},e$={id:"search-list-container"},t$=Ot({__name:"App",setup(e){const n=lt(void 0),r=lt(void 0),s=lt(void 0),a=lt(void 0),l=lt(void 0);async function u(){try{const f=new URL("https://arches-app-demo.opentechstrategies.com/archesdataviewer/prefetch/"),p=await(await fetch(f.toString())).json();n.value=p.idReferences,r.value=p.images,s.value=p.locations,a.value=p.resourceRelations,l.value=p.resources}catch{n.value=void 0,r.value=void 0,s.value=void 0,a.value=void 0,l.value=void 0}}return u(),(f,h)=>{const p=Hi("RouterView");return ve(),Ze("div",YP,[h[0]||(h[0]=be("header",{class:"welcome"},[be("h1",null,"Explore Chicago’s Wabash Arts Corridor"),be("p",null," In 2013, Columbia College Chicago launched the Wabash Arts Corridor to immerse students in the creative spirit by using urban spaces and reclaimable resources to revitalize and transform the South Loop business district into one of the city’s major cultural assets. The heart of WAC is Wabash Avenue from Van Buren to Roosevelt and is framed to the east by Michigan Avenue and to the west by State Street. The corridor is regarded as an “living urban canvas” due to its ever-growing number of large-scale mural installations and collaborative projects. ")],-1)),be("main",null,[be("div",XP,[l.value&&n.value&&s.value?(ve(),it(JP,{key:0,"resources-prefetch":l.value,"id-references":n.value,"locations-prefetch":s.value},null,8,["resources-prefetch","id-references","locations-prefetch"])):(ve(),Ze("div",QP,"Loading map…"))]),be("div",e$,[Ke(p,null,{default:nt(({Component:m})=>[l.value&&a.value&&n.value&&r.value?(ve(),it(Mh,{key:0},{default:nt(()=>[(ve(),it(t_(m),{"resources-prefetch":l.value,"resource-relations-prefetch":a.value,"id-references":n.value,"images-prefetch":r.value},null,8,["resources-prefetch","resource-relations-prefetch","id-references","images-prefetch"]))]),_:2},1024)):vt("",!0)]),_:1})])]),h[1]||(h[1]=M_('',1))])}}}),n$=On(t$,[["__scopeId","data-v-d10d50b6"]]),Rd=Pg(n$);Rd.use(UP);Rd.mount("#app"); diff --git a/archesdataviewer/static/vite_build/assets/index-CkyBGNpN.css b/archesdataviewer/static/vite_build/assets/index-Ds3kQY6k.css similarity index 98% rename from archesdataviewer/static/vite_build/assets/index-CkyBGNpN.css rename to archesdataviewer/static/vite_build/assets/index-Ds3kQY6k.css index 936f175..7bd03cb 100644 --- a/archesdataviewer/static/vite_build/assets/index-CkyBGNpN.css +++ b/archesdataviewer/static/vite_build/assets/index-Ds3kQY6k.css @@ -1 +1 @@ -:root{--wac--font-size: 16px;--wac--font-size--sm: calc(var(--wac--font-size) * .75);--wac--font-size--lg: calc(var(--wac--font-size) * 1.25);--wac--font-size--xl: calc(var(--wac--font-size) * 1.5);--wac--font-size--xxl: calc(var(--wac--font-size) * 2);--wac--font-size--xxxl: calc(var(--wac--font-size) * 3);--wac--font-size--xxxxl: calc(var(--wac--font-size) * 4);--wac--line-height: 1.4;--wac--line-height--tight: 1.2;--wac--font-weight--normal: 400;--wac--font-weight--bold: 700;--wac--font-weight--xbold: 900;--wac--color--gray: #999;--wac--color--gray--dark: #363636;--wac--color--highlight: #ffe16a;--wac--fixed-spacing--1x: 10px;--wac--fixed-spacing--2x: calc(2 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--3x: calc(3 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--4x: calc(4 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--6x: calc(6 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--8x: calc(8 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--10x: calc(10 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--halfx: calc(var(--wac--fixed-spacing--1x) / 2);--wac--accessible-spacing--1x: .625rem;--wac--accessible-spacing--2x: calc(2 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--3x: calc(3 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--4x: calc(4 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--6x: calc(6 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--8x: calc(8 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--10x: calc(10 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--15x: calc(15 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--halfx: calc(var(--wac--accessible-spacing--1x) / 2);--wac--semantic-spacing--primary: var(--wac--accessible-spacing--8x);--wac--semantic-spacing--secondary: var(--wac--accessible-spacing--4x);--wac--semantic-spacing--tertiary: var(--wac--accessible-spacing--2x);--wac--semantic-spacing--quartary: var(--wac--accessible-spacing--1x);--wac--semantic-spacing--quintary: var(--wac--accessible-spacing--halfx);--wac--text--sensible-max-width: 60ch;--wac--image--thumbnail-size: var(--wac--accessible-spacing--15x);--wac--outline--color: blue;--wac--outline--width: 2px;--wac--outline: var(--wac--outline--width) solid var(--wac--outline--color)}*,*:before,*:after{box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:var(--wac--font-size);line-height:var(--wac--line-height);background-color:#fff;color:#000;padding:var(--wac--semantic-spacing--tertiary);transition:padding .2s}h1,h2,h3,h4,h5,h6{margin:0;padding:0;font-weight:var(--wac--font-weight--bold);font-size:inherit}h1{font-weight:var(--wac--font-weight--xbold)}p,figure{margin:0;padding:0}a{text-decoration:underline;color:inherit}a:hover{text-decoration:none}a:focus-visible{outline:var(--wac--outline)}button,.button{--wac--button--padding: var(--wac--accessible-spacing--1x);all:unset;font-weight:var(--wac--font-weight--bold);padding:var(--wac--button--padding);border:2px solid black;transition-property:background-color,border-color,outline;transition-duration:.1s;transition-timing-function:ease;cursor:pointer}button:has(.button-icon),.button:has(.button-icon){display:inline-flex;justify-content:flex-start;align-items:center;gap:.4ch}button:focus-visible,.button:focus-visible{outline:var(--wac--outline);border-color:var(--wac--outline--color)}.button-icon{width:calc(var(--wac--line-height) * 1em);height:calc(var(--wac--line-height) * 1em);transition:transform .1s ease}.expanded .button-icon{transform:rotate(90deg)}@media screen and (min-width: 940px){body{padding:var(--wac--semantic-spacing--primary)}}.v-enter-active,.v-leave-active{transition:opacity .5s ease}.v-enter-from,.v-leave-to{opacity:0}.search-result-container[data-v-92222f0d]{text-decoration:none}.search-result[data-v-92222f0d]{display:flex;justify-content:flex-end;flex-direction:row-reverse;gap:var(--wac--semantic-spacing--tertiary);cursor:pointer}.metadata[data-v-92222f0d]{display:flex;flex-direction:column;align-items:flex-start;gap:var(--wac--accessible-spacing--halfx);line-height:var(--wac--line-height--tight)}.title[data-v-92222f0d]{font-size:var(--wac--font-size--lg);font-weight:var(--wac--font-weight--xbold);text-decoration:underline}.description[data-v-92222f0d]{font-size:var(--wac--font-size--sm);margin-top:var(--wac--accessible-spacing--1x);-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;display:-webkit-box;text-overflow:ellipsis;overflow:hidden}.image[data-v-92222f0d]{width:var(--wac--image--thumbnail-size);height:var(--wac--image--thumbnail-size);object-fit:cover;flex-shrink:0}@media screen and (min-width: 940px){.title[data-v-92222f0d]{font-size:var(--wac--font-size--xl)}.description[data-v-92222f0d]{font-size:var(--wac--font-size)}}.search-list-container[data-v-a2fd9aa9]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--secondary)}.search-header[data-v-a2fd9aa9]{--wac--search-header--internal-spacing: var(--wac--semantic-spacing--tertiary);position:sticky;top:0;display:flex;flex-direction:column;align-items:flex-start;gap:var(--wac--search-header--internal-spacing);padding-block:var(--wac--search-header--internal-spacing);background:linear-gradient(180deg,#fff calc(100% - var(--wac--search-header--internal-spacing)),#fff0)}.resource-selection-menu[data-v-a2fd9aa9]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;align-content:space-between;gap:var(--wac--accessible-spacing--halfx)}.resource-selection-menu button[data-v-a2fd9aa9]{--wac--button--padding: var(--wac--accessible-spacing--halfx)}.resource-selection-menu button.active[data-v-a2fd9aa9]{background:var(--wac--color--highlight)}.search-input[data-v-a2fd9aa9]{width:100%;padding:var(--wac--accessible-spacing--1x);border:2px solid black;border-radius:var(--wac--fixed-spacing--halfx);font-size:inherit}.search-input[data-v-a2fd9aa9]:focus{outline:var(--wac--outline);border-color:#00f}.search-results[data-v-a2fd9aa9]{display:flex;flex-direction:column;align-items:stretch;gap:var(--wac--semantic-spacing--tertiary)}@media screen and (min-width: 940px){.search-list-container[data-v-a2fd9aa9]{gap:var(--wac--semantic-spacing--primary)}.search-input[data-v-a2fd9aa9]{padding:var(--wac--accessible-spacing--2x)}}.resource-detail-header[data-v-ac051309]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quintary)}.resource-detail-type[data-v-ac051309]{font-size:var(--wac--font-size--lg);line-height:var(--wac--line-height--tight)}.resource-detail-title[data-v-ac051309]{font-weight:var(--wac--font-weight--xbold);font-size:var(--wac--font-size--xxl);line-height:var(--wac--line-height--tight)}.resource-detail-more-by-artist[data-v-ac051309]{display:flex;flex-direction:column;align-items:flex-start;padding:0;gap:16px}.resource-detail-metadata[data-v-ac051309]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary);color:var(--wac--color--gray)}.resource-detail-metadata-title[data-v-ac051309]{font-weight:var(--wac--font-weight--bold)}.resource-detail-item[data-v-34d6af25]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary)}.resource-detail-item-header[data-v-34d6af25]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary);line-height:var(--wac--line-height--tight)}.resource-detail-item-title[data-v-34d6af25]{font-weight:var(--wac--font-weight--xbold);font-size:var(--wac--font-size--lg);text-decoration-line:underline}.resource-detail-item-byline[data-v-34d6af25]{font-weight:var(--wac--font-weight--bold)}.resource-detail-item-image[data-v-34d6af25]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary)}.resource-detail-item-image>img[data-v-34d6af25]{width:100%;height:100%}.resource-detail-item-credit[data-v-34d6af25]{color:var(--wac--color--gray)}.resource-detail-item-description[data-v-34d6af25]{font-size:var(--wac--font-size--lg)}.more-artwork-image[data-v-f9a8b566]{width:150px;height:150px;object-fit:cover;flex-shrink:0;cursor:pointer;transition:opacity .3s ease,filter .3s ease}.more-artwork-image[data-v-f9a8b566]:hover{opacity:.5}.blocked[data-v-f9a8b566]{filter:brightness(50%);pointer-events:none}.more-artworks-by-artist-title[data-v-0665300e]{font-style:normal;font-weight:700;font-size:var(--wac--font-size);line-height:100%;color:#000}.more-artworks-by-artist-gallery[data-v-0665300e]{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;padding:0;gap:16px;isolation:isolate}.resource-detail[data-v-a5da39c2]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--secondary)}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.map-container[data-v-bf98f7ed]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary)}#map[data-v-bf98f7ed]{width:100%;height:100%}.map-wrapper[data-v-bf98f7ed]{--wac--map-collapsed-height: 90px;--wac--map-expanded-height: 600px;height:var(--wac--map-expanded-height);transition:height .5s ease}.collapsed .map-wrapper[data-v-bf98f7ed]{height:var(--wac--map-collapsed-height);pointer-events:none}@media screen and (min-width: 940px){.toggle-map-container[data-v-bf98f7ed]{display:none}.map-container[data-v-bf98f7ed]{position:sticky;top:0;padding-top:var(--wac--semantic-spacing--tertiary);gap:var(--wac--semantic-spacing--tertiary)}.map-container.collapsed .map-wrapper[data-v-bf98f7ed]{height:var(--wac--map-expanded-height);pointer-events:all}}.home[data-v-d10d50b6]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--primary)}.welcome[data-v-d10d50b6]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--halfx);font-size:var(--wac--font-size);line-height:var(--wac--line-height--tight);font-size:var(--wac--font-size--lg);max-width:var(--wac--text--sensible-max-width);text-wrap:balance}.footer[data-v-d10d50b6]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--2x);max-width:calc(var(--wac--text--sensible-max-width) * 1.5);text-wrap:balance}.footer-blurb[data-v-d10d50b6]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--1x)}main[data-v-d10d50b6]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--primary)}#map-container[data-v-d10d50b6],#search-list-container[data-v-d10d50b6]{flex-basis:50%}@media screen and (min-width: 940px){.welcome[data-v-d10d50b6]{font-size:var(--wac--font-size--xxl)}main[data-v-d10d50b6]{flex-direction:row-reverse}} +:root{--wac--font-size: 16px;--wac--font-size--sm: calc(var(--wac--font-size) * .75);--wac--font-size--lg: calc(var(--wac--font-size) * 1.25);--wac--font-size--xl: calc(var(--wac--font-size) * 1.5);--wac--font-size--xxl: calc(var(--wac--font-size) * 2);--wac--font-size--xxxl: calc(var(--wac--font-size) * 3);--wac--font-size--xxxxl: calc(var(--wac--font-size) * 4);--wac--line-height: 1.4;--wac--line-height--tight: 1.2;--wac--font-weight--normal: 400;--wac--font-weight--bold: 700;--wac--font-weight--xbold: 900;--wac--color--gray: #999;--wac--color--gray--dark: #363636;--wac--color--highlight: #ffe16a;--wac--fixed-spacing--1x: 10px;--wac--fixed-spacing--2x: calc(2 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--3x: calc(3 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--4x: calc(4 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--6x: calc(6 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--8x: calc(8 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--10x: calc(10 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--halfx: calc(var(--wac--fixed-spacing--1x) / 2);--wac--accessible-spacing--1x: .625rem;--wac--accessible-spacing--2x: calc(2 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--3x: calc(3 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--4x: calc(4 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--6x: calc(6 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--8x: calc(8 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--10x: calc(10 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--15x: calc(15 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--halfx: calc(var(--wac--accessible-spacing--1x) / 2);--wac--semantic-spacing--primary: var(--wac--accessible-spacing--8x);--wac--semantic-spacing--secondary: var(--wac--accessible-spacing--4x);--wac--semantic-spacing--tertiary: var(--wac--accessible-spacing--2x);--wac--semantic-spacing--quartary: var(--wac--accessible-spacing--1x);--wac--semantic-spacing--quintary: var(--wac--accessible-spacing--halfx);--wac--text--sensible-max-width: 60ch;--wac--image--thumbnail-size: var(--wac--accessible-spacing--15x);--wac--outline--color: blue;--wac--outline--width: 2px;--wac--outline: var(--wac--outline--width) solid var(--wac--outline--color)}*,*:before,*:after{box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:var(--wac--font-size);line-height:var(--wac--line-height);background-color:#fff;color:#000;padding:var(--wac--semantic-spacing--tertiary);transition:padding .2s}h1,h2,h3,h4,h5,h6{margin:0;padding:0;font-weight:var(--wac--font-weight--bold);font-size:inherit}h1{font-weight:var(--wac--font-weight--xbold)}p,figure{margin:0;padding:0}a{text-decoration:underline;color:inherit}a:hover{text-decoration:none}a:focus-visible{outline:var(--wac--outline)}button,.button{--wac--button--padding: var(--wac--accessible-spacing--1x);all:unset;font-weight:var(--wac--font-weight--bold);padding:var(--wac--button--padding);border:2px solid black;transition-property:background-color,border-color,outline;transition-duration:.1s;transition-timing-function:ease;cursor:pointer}button:has(.button-icon),.button:has(.button-icon){display:inline-flex;justify-content:flex-start;align-items:center;gap:.4ch}button:focus-visible,.button:focus-visible{outline:var(--wac--outline);border-color:var(--wac--outline--color)}.button-icon{width:calc(var(--wac--line-height) * 1em);height:calc(var(--wac--line-height) * 1em);transition:transform .1s ease}.expanded .button-icon{transform:rotate(90deg)}@media screen and (min-width: 940px){body{padding:var(--wac--semantic-spacing--primary)}}.v-enter-active,.v-leave-active{transition:opacity .5s ease}.v-enter-from,.v-leave-to{opacity:0}.search-result-container[data-v-92222f0d]{text-decoration:none}.search-result[data-v-92222f0d]{display:flex;justify-content:flex-end;flex-direction:row-reverse;gap:var(--wac--semantic-spacing--tertiary);cursor:pointer}.metadata[data-v-92222f0d]{display:flex;flex-direction:column;align-items:flex-start;gap:var(--wac--accessible-spacing--halfx);line-height:var(--wac--line-height--tight)}.title[data-v-92222f0d]{font-size:var(--wac--font-size--lg);font-weight:var(--wac--font-weight--xbold);text-decoration:underline}.description[data-v-92222f0d]{font-size:var(--wac--font-size--sm);margin-top:var(--wac--accessible-spacing--1x);-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;display:-webkit-box;text-overflow:ellipsis;overflow:hidden}.image[data-v-92222f0d]{width:var(--wac--image--thumbnail-size);height:var(--wac--image--thumbnail-size);object-fit:cover;flex-shrink:0}@media screen and (min-width: 940px){.title[data-v-92222f0d]{font-size:var(--wac--font-size--xl)}.description[data-v-92222f0d]{font-size:var(--wac--font-size)}}.search-list-container[data-v-a2fd9aa9]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--secondary)}.search-header[data-v-a2fd9aa9]{--wac--search-header--internal-spacing: var(--wac--semantic-spacing--tertiary);position:sticky;top:0;display:flex;flex-direction:column;align-items:flex-start;gap:var(--wac--search-header--internal-spacing);padding-block:var(--wac--search-header--internal-spacing);background:linear-gradient(180deg,#fff calc(100% - var(--wac--search-header--internal-spacing)),#fff0)}.resource-selection-menu[data-v-a2fd9aa9]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;align-content:space-between;gap:var(--wac--accessible-spacing--halfx)}.resource-selection-menu button[data-v-a2fd9aa9]{--wac--button--padding: var(--wac--accessible-spacing--halfx)}.resource-selection-menu button.active[data-v-a2fd9aa9]{background:var(--wac--color--highlight)}.search-input[data-v-a2fd9aa9]{width:100%;padding:var(--wac--accessible-spacing--1x);border:2px solid black;border-radius:var(--wac--fixed-spacing--halfx);font-size:inherit}.search-input[data-v-a2fd9aa9]:focus{outline:var(--wac--outline);border-color:#00f}.search-results[data-v-a2fd9aa9]{display:flex;flex-direction:column;align-items:stretch;gap:var(--wac--semantic-spacing--tertiary)}@media screen and (min-width: 940px){.search-list-container[data-v-a2fd9aa9]{gap:var(--wac--semantic-spacing--primary)}.search-input[data-v-a2fd9aa9]{padding:var(--wac--accessible-spacing--2x)}}.resource-detail-header[data-v-ac051309]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quintary)}.resource-detail-type[data-v-ac051309]{font-size:var(--wac--font-size--lg);line-height:var(--wac--line-height--tight)}.resource-detail-title[data-v-ac051309]{font-weight:var(--wac--font-weight--xbold);font-size:var(--wac--font-size--xxl);line-height:var(--wac--line-height--tight)}.resource-detail-more-by-artist[data-v-ac051309]{display:flex;flex-direction:column;align-items:flex-start;padding:0;gap:16px}.resource-detail-metadata[data-v-ac051309]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary);color:var(--wac--color--gray)}.resource-detail-metadata-title[data-v-ac051309]{font-weight:var(--wac--font-weight--bold)}.resource-detail-item[data-v-34d6af25]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary)}.resource-detail-item-header[data-v-34d6af25]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary);line-height:var(--wac--line-height--tight)}.resource-detail-item-title[data-v-34d6af25]{font-weight:var(--wac--font-weight--xbold);font-size:var(--wac--font-size--lg);text-decoration-line:underline}.resource-detail-item-byline[data-v-34d6af25]{font-weight:var(--wac--font-weight--bold)}.resource-detail-item-image[data-v-34d6af25]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary)}.resource-detail-item-image>img[data-v-34d6af25]{width:100%;height:100%}.resource-detail-item-credit[data-v-34d6af25]{color:var(--wac--color--gray)}.resource-detail-item-description[data-v-34d6af25]{font-size:var(--wac--font-size--lg)}.more-artwork-image[data-v-f9a8b566]{width:150px;height:150px;object-fit:cover;flex-shrink:0;cursor:pointer;transition:opacity .3s ease,filter .3s ease}.more-artwork-image[data-v-f9a8b566]:hover{opacity:.5}.blocked[data-v-f9a8b566]{filter:brightness(50%);pointer-events:none}.more-artworks-by-artist-title[data-v-0665300e]{font-style:normal;font-weight:700;font-size:var(--wac--font-size);line-height:100%;color:#000}.more-artworks-by-artist-gallery[data-v-0665300e]{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;padding:0;gap:16px;isolation:isolate}.resource-detail[data-v-a5da39c2]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--secondary)}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.map-container[data-v-197e8971]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary)}#map[data-v-197e8971]{width:100%;height:100%}.map-wrapper[data-v-197e8971]{--wac--map-collapsed-height: 90px;--wac--map-expanded-height: 600px;height:var(--wac--map-expanded-height);transition:height .5s ease}.collapsed .map-wrapper[data-v-197e8971]{height:var(--wac--map-collapsed-height);pointer-events:none}@media screen and (min-width: 940px){.toggle-map-container[data-v-197e8971]{display:none}.map-container[data-v-197e8971]{position:sticky;top:0;padding-top:var(--wac--semantic-spacing--tertiary);gap:var(--wac--semantic-spacing--tertiary)}.map-container.collapsed .map-wrapper[data-v-197e8971]{height:var(--wac--map-expanded-height);pointer-events:all}}.home[data-v-d10d50b6]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--primary)}.welcome[data-v-d10d50b6]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--halfx);font-size:var(--wac--font-size);line-height:var(--wac--line-height--tight);font-size:var(--wac--font-size--lg);max-width:var(--wac--text--sensible-max-width);text-wrap:balance}.footer[data-v-d10d50b6]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--2x);max-width:calc(var(--wac--text--sensible-max-width) * 1.5);text-wrap:balance}.footer-blurb[data-v-d10d50b6]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--1x)}main[data-v-d10d50b6]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--primary)}#map-container[data-v-d10d50b6],#search-list-container[data-v-d10d50b6]{flex-basis:50%}@media screen and (min-width: 940px){.welcome[data-v-d10d50b6]{font-size:var(--wac--font-size--xxl)}main[data-v-d10d50b6]{flex-direction:row-reverse}} diff --git a/archesdataviewer/static/vite_build/index.html b/archesdataviewer/static/vite_build/index.html index 3e2d401..c469ebc 100644 --- a/archesdataviewer/static/vite_build/index.html +++ b/archesdataviewer/static/vite_build/index.html @@ -4,8 +4,8 @@ Arches Data Viewer - - + +