diff --git a/README.md b/README.md index c6c9580..6552c21 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ it is used only to serve the front-end component as bundeled javascript. The ```front-end``` folder contains a Vue Application, built with Vite and Typescript. The ultimate goal of this application is to provide an alternative UI to the current Arches platform, using a modern web framework like Vue. Currently, the Vue code is bundled by vite into the static directory of the Django Application, which is then served on the user's Arches server. -The application also supports fetching data from external api sources, as seen in the `src/components/ArtistNote.vue` component. This component is designed around a simple API endpoint that is foreign-keyed to the Arches database, linking the arches dataset to an external custom set. The repository for the external API is [here](https://code.librehq.com/ots/arches/archesappremoteserver). +The application also supports fetching data from external api sources, as seen in the `src/components/ArtistNote.vue` component. This component is designed around a simple API endpoint that is foreign-keyed to the Arches database, linking the arches dataset to an external custom set. The repository for the external API is [here](https://github.com/OpenTechStrategies/archesAppRemoteServer). # Installation Instructions *Credits to users @apeters and @chiatt* diff --git a/archesdataviewer/static/vite_build/.vite/manifest.json b/archesdataviewer/static/vite_build/.vite/manifest.json index b039751..ff5f82e 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-CVuN95tD.js", + "file": "assets/index-B4kQKGQ7.js", "name": "index", "src": "index.html", "isEntry": true, "css": [ - "assets/index-Byc3Ge_L.css" + "assets/index-CxkG8-XR.css" ] } } \ No newline at end of file diff --git a/archesdataviewer/static/vite_build/assets/index-CVuN95tD.js b/archesdataviewer/static/vite_build/assets/index-B4kQKGQ7.js similarity index 95% rename from archesdataviewer/static/vite_build/assets/index-CVuN95tD.js rename to archesdataviewer/static/vite_build/assets/index-B4kQKGQ7.js index 32de91b..d2ff413 100644 --- a/archesdataviewer/static/vite_build/assets/index-CVuN95tD.js +++ b/archesdataviewer/static/vite_build/assets/index-B4kQKGQ7.js @@ -10,22 +10,22 @@ * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function _r(t,n,r,s){try{return s?t(...s):t()}catch(a){Hs(a,n,r)}}function Vt(t,n,r,s){if(Te(t)){const a=_r(t,n,r,s);return a&&pf(a)&&a.catch(u=>{Hs(u,n,r)}),a}if(Pe(t)){const a=[];for(let u=0;u>>1,a=bt[s],u=ur(a);u=ur(r)?bt.push(t):bt.splice(rm(n),0,t),t.flags|=1,qf()}}function qf(){ks||(ks=jf.then(Ff))}function sm(t){Pe(t)?Si.push(...t):Ln&&t.id===-1?Ln.splice(gi+1,0,t):t.flags&1||(Si.push(t),t.flags|=1),qf()}function Uu(t,n,r=Xt+1){for(;rur(r)-ur(s));if(Si.length=0,Ln){Ln.push(...n);return}for(Ln=n,gi=0;git.id==null?t.flags&2?-1:1/0:t.id;function Ff(t){try{for(Xt=0;Xt{s._d&&ic(-1);const u=Os(n);let l;try{l=t(...a)}finally{Os(u),s._d&&ic(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function om(t,n){if(ct===null)return t;const r=Js(ct),s=t.dirs||(t.dirs=[]);for(let a=0;at.__isTeleport,xn=Symbol("_leaveCb"),Br=Symbol("_enterCb");function um(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return gr(()=>{t.isMounted=!0}),Qf(()=>{t.isUnmounting=!0}),t}const Mt=[Function,Array],Uf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Mt,onEnter:Mt,onAfterEnter:Mt,onEnterCancelled:Mt,onBeforeLeave:Mt,onLeave:Mt,onAfterLeave:Mt,onLeaveCancelled:Mt,onBeforeAppear:Mt,onAppear:Mt,onAfterAppear:Mt,onAppearCancelled:Mt},Kf=t=>{const n=t.subTree;return n.component?Kf(n.component):n},cm={name:"BaseTransition",props:Uf,setup(t,{slots:n}){const r=r_(),s=um();return()=>{const a=n.default&&Jf(n.default(),!0);if(!a||!a.length)return;const u=Wf(a),l=je(t),{mode:f}=l;if(s.isLeaving)return Bo(u);const h=Ku(u);if(!h)return Bo(u);let _=pa(h,l,s,r,g=>_=g);h.type!==Pt&&cr(h,_);let m=r.subTree&&Ku(r.subTree);if(m&&m.type!==Pt&&!Yn(h,m)&&Kf(r).type!==Pt){let g=pa(m,l,s,r);if(cr(m,g),f==="out-in"&&h.type!==Pt)return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,r.job.flags&8||r.update(),delete g.afterLeave,m=void 0},Bo(u);f==="in-out"&&h.type!==Pt?g.delayLeave=(y,E,$)=>{const x=Gf(s,m);x[String(m.key)]=m,y[xn]=()=>{E(),y[xn]=void 0,delete _.delayedLeave,m=void 0},_.delayedLeave=()=>{$(),delete _.delayedLeave,m=void 0}}:m=void 0}else m&&(m=void 0);return u}}};function Wf(t){let n=t[0];if(t.length>1){for(const r of t)if(r.type!==Pt){n=r;break}}return n}const lm=cm;function Gf(t,n){const{leavingVNodes:r}=t;let s=r.get(n.type);return s||(s=Object.create(null),r.set(n.type,s)),s}function pa(t,n,r,s,a){const{appear:u,mode:l,persisted:f=!1,onBeforeEnter:h,onEnter:_,onAfterEnter:m,onEnterCancelled:g,onBeforeLeave:y,onLeave:E,onAfterLeave:$,onLeaveCancelled:x,onBeforeAppear:b,onAppear:P,onAfterAppear:p,onAppearCancelled:v}=n,C=String(t.key),O=Gf(r,t),k=(W,se)=>{W&&Vt(W,s,9,se)},I=(W,se)=>{const ne=se[1];k(W,se),Pe(W)?W.every(X=>X.length<=1)&&ne():W.length<=1&&ne()},V={mode:l,persisted:f,beforeEnter(W){let se=h;if(!r.isMounted)if(u)se=b||h;else return;W[xn]&&W[xn](!0);const ne=O[C];ne&&Yn(t,ne)&&ne.el[xn]&&ne.el[xn](),k(se,[W])},enter(W){let se=_,ne=m,X=g;if(!r.isMounted)if(u)se=P||_,ne=p||m,X=v||g;else return;let fe=!1;const me=W[Br]=Ie=>{fe||(fe=!0,Ie?k(X,[W]):k(ne,[W]),V.delayedLeave&&V.delayedLeave(),W[Br]=void 0)};se?I(se,[W,me]):me()},leave(W,se){const ne=String(t.key);if(W[Br]&&W[Br](!0),r.isUnmounting)return se();k(y,[W]);let X=!1;const fe=W[xn]=me=>{X||(X=!0,se(),me?k(x,[W]):k($,[W]),W[xn]=void 0,O[ne]===t&&delete O[ne])};O[ne]=t,E?I(E,[W,fe]):fe()},clone(W){const se=pa(W,n,r,s,a);return a&&a(se),se}};return V}function Bo(t){if(Us(t))return t=In(t),t.children=null,t}function Ku(t){if(!Us(t))return Hf(t.type)&&t.children?Wf(t.children):t;const{shapeFlag:n,children:r}=t;if(r){if(n&16)return r[0];if(n&32&&Te(r.default))return r.default()}}function cr(t,n){t.shapeFlag&6&&t.component?(t.transition=n,cr(t.component.subTree,n)):t.shapeFlag&128?(t.ssContent.transition=n.clone(t.ssContent),t.ssFallback.transition=n.clone(t.ssFallback)):t.transition=n}function Jf(t,n=!1,r){let s=[],a=0;for(let u=0;u1)for(let u=0;uAs($,n&&(Pe(n)?n[x]:n),r,s,a));return}if($i(s)&&!a){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&As(t,n,r,s.component.subTree);return}const u=s.shapeFlag&4?Js(s.component):s.el,l=a?null:u,{i:f,r:h}=t,_=n&&n.r,m=f.refs===He?f.refs={}:f.refs,g=f.setupState,y=je(g),E=g===He?()=>!1:$=>qe(y,$);if(_!=null&&_!==h&&(Qe(_)?(m[_]=null,E(_)&&(g[_]=null)):gt(_)&&(_.value=null)),Te(h))_r(h,f,12,[l,m]);else{const $=Qe(h),x=gt(h);if($||x){const b=()=>{if(t.f){const P=$?E(h)?g[h]:m[h]:h.value;a?Pe(P)&&Ta(P,u):Pe(P)?P.includes(u)||P.push(u):$?(m[h]=[u],E(h)&&(g[h]=m[h])):(h.value=[u],t.k&&(m[t.k]=h.value))}else $?(m[h]=l,E(h)&&(g[h]=l)):x&&(h.value=l,t.k&&(m[t.k]=l))};l?(b.id=-1,Tt(b,r)):b()}}}Zs().requestIdleCallback;Zs().cancelIdleCallback;const $i=t=>!!t.type.__asyncLoader,Us=t=>t.type.__isKeepAlive;function fm(t,n){Xf(t,"a",n)}function hm(t,n){Xf(t,"da",n)}function Xf(t,n,r=dt){const s=t.__wdc||(t.__wdc=()=>{let a=r;for(;a;){if(a.isDeactivated)return;a=a.parent}return t()});if(Ks(n,s,r),r){let a=r.parent;for(;a&&a.parent;)Us(a.parent.vnode)&&dm(s,n,r,a),a=a.parent}}function dm(t,n,r,s){const a=Ks(n,t,s,!0);eh(()=>{Ta(s[n],a)},r)}function Ks(t,n,r=dt,s=!1){if(r){const a=r[t]||(r[t]=[]),u=n.__weh||(n.__weh=(...l)=>{Mn();const f=vr(r),h=Vt(n,r,t,l);return f(),Nn(),h});return s?a.unshift(u):a.push(u),u}}const bn=t=>(n,r=dt)=>{(!hr||t==="sp")&&Ks(t,(...s)=>n(...s),r)},pm=bn("bm"),gr=bn("m"),mm=bn("bu"),_m=bn("u"),Qf=bn("bum"),eh=bn("um"),gm=bn("sp"),vm=bn("rtg"),ym=bn("rtc");function wm(t,n=dt){Ks("ec",t,n)}const th="components";function ki(t,n){return ih(th,t,!0,n)||t}const nh=Symbol.for("v-ndc");function bm(t){return Qe(t)?ih(th,t,!1)||t:t||nh}function ih(t,n,r=!0,s=!1){const a=ct||dt;if(a){const u=a.type;{const f=c_(u,!1);if(f&&(f===n||f===Dt(n)||f===qs(Dt(n))))return u}const l=Wu(a[t]||u[t],n)||Wu(a.appContext[t],n);return!l&&s?u:l}}function Wu(t,n){return t&&(t[n]||t[Dt(n)]||t[qs(Dt(n))])}function nn(t,n,r,s){let a;const u=r,l=Pe(t);if(l||Qe(t)){const f=l&&Pi(t);let h=!1;f&&(h=!zt(t),t=Fs(t)),a=new Array(t.length);for(let _=0,m=t.length;_n(f,h,void 0,u));else{const f=Object.keys(t);a=new Array(f.length);for(let h=0,_=f.length;h<_;h++){const m=f[h];a[h]=n(t[m],m,h,u)}}else a=[];return a}function rh(t,n){for(let r=0;r{const u=s.fn(...a);return u&&(u.key=s.key),u}:s.fn)}return t}function Qn(t,n,r={},s,a){if(ct.ce||ct.parent&&$i(ct.parent)&&ct.parent.ce)return n!=="default"&&(r.name=n),he(),Fe(Ye,null,[ke("slot",r,s)],64);let u=t[n];u&&u._c&&(u._d=!1),he();const l=u&&sh(u(r)),f=r.key||l&&l.key,h=Fe(Ye,{key:(f&&!wn(f)?f:`_${n}`)+""},l||[],l&&t._===1?64:-2);return!a&&h.scopeId&&(h.slotScopeIds=[h.scopeId+"-s"]),u&&u._c&&(u._d=!0),h}function sh(t){return t.some(n=>fr(n)?!(n.type===Pt||n.type===Ye&&!sh(n.children)):!0)?t:null}const ma=t=>t?Th(t)?Js(t):ma(t.parent):null,nr=lt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>ma(t.parent),$root:t=>ma(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>ah(t),$forceUpdate:t=>t.f||(t.f=()=>{Na(t.update)}),$nextTick:t=>t.n||(t.n=Bf.bind(t.proxy)),$watch:t=>Zm.bind(t)}),qo=(t,n)=>t!==He&&!t.__isScriptSetup&&qe(t,n),Pm={get({_:t},n){if(n==="__v_skip")return!0;const{ctx:r,setupState:s,data:a,props:u,accessCache:l,type:f,appContext:h}=t;let _;if(n[0]!=="$"){const E=l[n];if(E!==void 0)switch(E){case 1:return s[n];case 2:return a[n];case 4:return r[n];case 3:return u[n]}else{if(qo(s,n))return l[n]=1,s[n];if(a!==He&&qe(a,n))return l[n]=2,a[n];if((_=t.propsOptions[0])&&qe(_,n))return l[n]=3,u[n];if(r!==He&&qe(r,n))return l[n]=4,r[n];_a&&(l[n]=0)}}const m=nr[n];let g,y;if(m)return n==="$attrs"&&mt(t.attrs,"get",""),m(t);if((g=f.__cssModules)&&(g=g[n]))return g;if(r!==He&&qe(r,n))return l[n]=4,r[n];if(y=h.config.globalProperties,qe(y,n))return y[n]},set({_:t},n,r){const{data:s,setupState:a,ctx:u}=t;return qo(a,n)?(a[n]=r,!0):s!==He&&qe(s,n)?(s[n]=r,!0):qe(t.props,n)||n[0]==="$"&&n.slice(1)in t?!1:(u[n]=r,!0)},has({_:{data:t,setupState:n,accessCache:r,ctx:s,appContext:a,propsOptions:u}},l){let f;return!!r[l]||t!==He&&qe(t,l)||qo(n,l)||(f=u[0])&&qe(f,l)||qe(s,l)||qe(nr,l)||qe(a.config.globalProperties,l)},defineProperty(t,n,r){return r.get!=null?t._.accessCache[n]=0:qe(r,"value")&&this.set(t,n,r.value,null),Reflect.defineProperty(t,n,r)}};function Gu(t){return Pe(t)?t.reduce((n,r)=>(n[r]=null,n),{}):t}let _a=!0;function Sm(t){const n=ah(t),r=t.proxy,s=t.ctx;_a=!1,n.beforeCreate&&Ju(n.beforeCreate,t,"bc");const{data:a,computed:u,methods:l,watch:f,provide:h,inject:_,created:m,beforeMount:g,mounted:y,beforeUpdate:E,updated:$,activated:x,deactivated:b,beforeDestroy:P,beforeUnmount:p,destroyed:v,unmounted:C,render:O,renderTracked:k,renderTriggered:I,errorCaptured:V,serverPrefetch:W,expose:se,inheritAttrs:ne,components:X,directives:fe,filters:me}=n;if(_&&$m(_,s,null),l)for(const $e in l){const re=l[$e];Te(re)&&(s[$e]=re.bind(r))}if(a){const $e=a.call(r,r);We($e)&&(t.data=Vs($e))}if(_a=!0,u)for(const $e in u){const re=u[$e],et=Te(re)?re.bind(r,r):Te(re.get)?re.get.bind(r,r):tn,K=!Te(re)&&Te(re.set)?re.set.bind(r):tn,D=st({get:et,set:K});Object.defineProperty(s,$e,{enumerable:!0,configurable:!0,get:()=>D.value,set:Y=>D.value=Y})}if(f)for(const $e in f)oh(f[$e],s,r,$e);if(h){const $e=Te(h)?h.call(r):h;Reflect.ownKeys($e).forEach(re=>{Ts(re,$e[re])})}m&&Ju(m,t,"c");function Se($e,re){Pe(re)?re.forEach(et=>$e(et.bind(r))):re&&$e(re.bind(r))}if(Se(pm,g),Se(gr,y),Se(mm,E),Se(_m,$),Se(fm,x),Se(hm,b),Se(wm,V),Se(ym,k),Se(vm,I),Se(Qf,p),Se(eh,C),Se(gm,W),Pe(se))if(se.length){const $e=t.exposed||(t.exposed={});se.forEach(re=>{Object.defineProperty($e,re,{get:()=>r[re],set:et=>r[re]=et})})}else t.exposed||(t.exposed={});O&&t.render===tn&&(t.render=O),ne!=null&&(t.inheritAttrs=ne),X&&(t.components=X),fe&&(t.directives=fe),W&&Yf(t)}function $m(t,n,r=tn){Pe(t)&&(t=ga(t));for(const s in t){const a=t[s];let u;We(a)?"default"in a?u=Ft(a.from||s,a.default,!0):u=Ft(a.from||s):u=Ft(a),gt(u)?Object.defineProperty(n,s,{enumerable:!0,configurable:!0,get:()=>u.value,set:l=>u.value=l}):n[s]=u}}function Ju(t,n,r){Vt(Pe(t)?t.map(s=>s.bind(n.proxy)):t.bind(n.proxy),n,r)}function oh(t,n,r,s){let a=s.includes(".")?bh(r,s):()=>r[s];if(Qe(t)){const u=n[t];Te(u)&&yn(a,u)}else if(Te(t))yn(a,t.bind(r));else if(We(t))if(Pe(t))t.forEach(u=>oh(u,n,r,s));else{const u=Te(t.handler)?t.handler.bind(r):n[t.handler];Te(u)&&yn(a,u,t)}}function ah(t){const n=t.type,{mixins:r,extends:s}=n,{mixins:a,optionsCache:u,config:{optionMergeStrategies:l}}=t.appContext,f=u.get(n);let h;return f?h=f:!a.length&&!r&&!s?h=n:(h={},a.length&&a.forEach(_=>Is(h,_,l,!0)),Is(h,n,l)),We(n)&&u.set(n,h),h}function Is(t,n,r,s=!1){const{mixins:a,extends:u}=n;u&&Is(t,u,r,!0),a&&a.forEach(l=>Is(t,l,r,!0));for(const l in n)if(!(s&&l==="expose")){const f=Em[l]||r&&r[l];t[l]=f?f(t[l],n[l]):n[l]}return t}const Em={data:Yu,props:Xu,emits:Xu,methods:Yi,computed:Yi,beforeCreate:wt,created:wt,beforeMount:wt,mounted:wt,beforeUpdate:wt,updated:wt,beforeDestroy:wt,beforeUnmount:wt,destroyed:wt,unmounted:wt,activated:wt,deactivated:wt,errorCaptured:wt,serverPrefetch:wt,components:Yi,directives:Yi,watch:Cm,provide:Yu,inject:Tm};function Yu(t,n){return n?t?function(){return lt(Te(t)?t.call(this,this):t,Te(n)?n.call(this,this):n)}:n:t}function Tm(t,n){return Yi(ga(t),ga(n))}function ga(t){if(Pe(t)){const n={};for(let r=0;r1)return r&&Te(n)?n.call(s&&s.proxy):n}}const ch={},lh=()=>Object.create(ch),fh=t=>Object.getPrototypeOf(t)===ch;function xm(t,n,r,s=!1){const a={},u=lh();t.propsDefaults=Object.create(null),hh(t,n,a,u);for(const l in t.propsOptions[0])l in a||(a[l]=void 0);r?t.props=s?a:Mf(a):t.type.props?t.props=a:t.props=u,t.attrs=u}function km(t,n,r,s){const{props:a,attrs:u,vnode:{patchFlag:l}}=t,f=je(a),[h]=t.propsOptions;let _=!1;if((s||l>0)&&!(l&16)){if(l&8){const m=t.vnode.dynamicProps;for(let g=0;g{h=!0;const[y,E]=dh(g,n,!0);lt(l,y),E&&f.push(...E)};!r&&n.mixins.length&&n.mixins.forEach(m),t.extends&&m(t.extends),t.mixins&&t.mixins.forEach(m)}if(!u&&!h)return We(t)&&s.set(t,wi),wi;if(Pe(u))for(let m=0;mt[0]==="_"||t==="$stable",za=t=>Pe(t)?t.map(Qt):[Qt(t)],Am=(t,n,r)=>{if(n._n)return n;const s=rt((...a)=>za(n(...a)),r);return s._c=!1,s},mh=(t,n,r)=>{const s=t._ctx;for(const a in t){if(ph(a))continue;const u=t[a];if(Te(u))n[a]=Am(a,u,s);else if(u!=null){const l=za(u);n[a]=()=>l}}},_h=(t,n)=>{const r=za(n);t.slots.default=()=>r},gh=(t,n,r)=>{for(const s in n)(r||s!=="_")&&(t[s]=n[s])},Im=(t,n,r)=>{const s=t.slots=lh();if(t.vnode.shapeFlag&32){const a=n._;a?(gh(s,n,r),r&&gf(s,"_",a,!0)):mh(n,s)}else n&&_h(t,n)},Mm=(t,n,r)=>{const{vnode:s,slots:a}=t;let u=!0,l=He;if(s.shapeFlag&32){const f=n._;f?r&&f===1?u=!1:gh(a,n,r):(u=!n.$stable,mh(n,a)),l=n}else n&&(_h(t,n),l={default:1});if(u)for(const f in a)!ph(f)&&l[f]==null&&delete a[f]},Tt=Gm;function Nm(t){return zm(t)}function zm(t,n){const r=Zs();r.__VUE__=!0;const{insert:s,remove:a,patchProp:u,createElement:l,createText:f,createComment:h,setText:_,setElementText:m,parentNode:g,nextSibling:y,setScopeId:E=tn,insertStaticContent:$}=t,x=(w,T,A,B=null,H=null,J=null,ce=void 0,ue=null,oe=!!T.dynamicChildren)=>{if(w===T)return;w&&!Yn(w,T)&&(B=j(w),Y(w,H,J,!0),w=null),T.patchFlag===-2&&(oe=!1,T.dynamicChildren=null);const{type:Q,ref:_e,shapeFlag:le}=T;switch(Q){case Gs:b(w,T,A,B);break;case Pt:P(w,T,A,B);break;case Cs:w==null&&p(T,A,B,ce);break;case Ye:X(w,T,A,B,H,J,ce,ue,oe);break;default:le&1?O(w,T,A,B,H,J,ce,ue,oe):le&6?fe(w,T,A,B,H,J,ce,ue,oe):(le&64||le&128)&&Q.process(w,T,A,B,H,J,ce,ue,oe,ae)}_e!=null&&H&&As(_e,w&&w.ref,J,T||w,!T)},b=(w,T,A,B)=>{if(w==null)s(T.el=f(T.children),A,B);else{const H=T.el=w.el;T.children!==w.children&&_(H,T.children)}},P=(w,T,A,B)=>{w==null?s(T.el=h(T.children||""),A,B):T.el=w.el},p=(w,T,A,B)=>{[w.el,w.anchor]=$(w.children,T,A,B,w.el,w.anchor)},v=({el:w,anchor:T},A,B)=>{let H;for(;w&&w!==T;)H=y(w),s(w,A,B),w=H;s(T,A,B)},C=({el:w,anchor:T})=>{let A;for(;w&&w!==T;)A=y(w),a(w),w=A;a(T)},O=(w,T,A,B,H,J,ce,ue,oe)=>{T.type==="svg"?ce="svg":T.type==="math"&&(ce="mathml"),w==null?k(T,A,B,H,J,ce,ue,oe):W(w,T,H,J,ce,ue,oe)},k=(w,T,A,B,H,J,ce,ue)=>{let oe,Q;const{props:_e,shapeFlag:le,transition:ge,dirs:ye}=w;if(oe=w.el=l(w.type,J,_e&&_e.is,_e),le&8?m(oe,w.children):le&16&&V(w.children,oe,null,B,H,Zo(w,J),ce,ue),ye&&Fn(w,null,B,"created"),I(oe,w,w.scopeId,ce,B),_e){for(const Ne in _e)Ne!=="value"&&!Qi(Ne)&&u(oe,Ne,null,_e[Ne],J,B);"value"in _e&&u(oe,"value",null,_e.value,J),(Q=_e.onVnodeBeforeMount)&&Yt(Q,B,w)}ye&&Fn(w,null,B,"beforeMount");const Ee=Dm(H,ge);Ee&&ge.beforeEnter(oe),s(oe,T,A),((Q=_e&&_e.onVnodeMounted)||Ee||ye)&&Tt(()=>{Q&&Yt(Q,B,w),Ee&&ge.enter(oe),ye&&Fn(w,null,B,"mounted")},H)},I=(w,T,A,B,H)=>{if(A&&E(w,A),B)for(let J=0;J{for(let Q=oe;Q{const ue=T.el=w.el;let{patchFlag:oe,dynamicChildren:Q,dirs:_e}=T;oe|=w.patchFlag&16;const le=w.props||He,ge=T.props||He;let ye;if(A&&Vn(A,!1),(ye=ge.onVnodeBeforeUpdate)&&Yt(ye,A,T,w),_e&&Fn(T,w,A,"beforeUpdate"),A&&Vn(A,!0),(le.innerHTML&&ge.innerHTML==null||le.textContent&&ge.textContent==null)&&m(ue,""),Q?se(w.dynamicChildren,Q,ue,A,B,Zo(T,H),J):ce||re(w,T,ue,null,A,B,Zo(T,H),J,!1),oe>0){if(oe&16)ne(ue,le,ge,A,H);else if(oe&2&&le.class!==ge.class&&u(ue,"class",null,ge.class,H),oe&4&&u(ue,"style",le.style,ge.style,H),oe&8){const Ee=T.dynamicProps;for(let Ne=0;Ne{ye&&Yt(ye,A,T,w),_e&&Fn(T,w,A,"updated")},B)},se=(w,T,A,B,H,J,ce)=>{for(let ue=0;ue{if(T!==A){if(T!==He)for(const J in T)!Qi(J)&&!(J in A)&&u(w,J,T[J],null,H,B);for(const J in A){if(Qi(J))continue;const ce=A[J],ue=T[J];ce!==ue&&J!=="value"&&u(w,J,ue,ce,H,B)}"value"in A&&u(w,"value",T.value,A.value,H)}},X=(w,T,A,B,H,J,ce,ue,oe)=>{const Q=T.el=w?w.el:f(""),_e=T.anchor=w?w.anchor:f("");let{patchFlag:le,dynamicChildren:ge,slotScopeIds:ye}=T;ye&&(ue=ue?ue.concat(ye):ye),w==null?(s(Q,A,B),s(_e,A,B),V(T.children||[],A,_e,H,J,ce,ue,oe)):le>0&&le&64&&ge&&w.dynamicChildren?(se(w.dynamicChildren,ge,A,H,J,ce,ue),(T.key!=null||H&&T===H.subTree)&&vh(w,T,!0)):re(w,T,A,_e,H,J,ce,ue,oe)},fe=(w,T,A,B,H,J,ce,ue,oe)=>{T.slotScopeIds=ue,w==null?T.shapeFlag&512?H.ctx.activate(T,A,B,ce,oe):me(T,A,B,H,J,ce,oe):Ie(w,T,oe)},me=(w,T,A,B,H,J,ce)=>{const ue=w.component=i_(w,B,H);if(Us(w)&&(ue.ctx.renderer=ae),s_(ue,!1,ce),ue.asyncDep){if(H&&H.registerDep(ue,Se,ce),!w.el){const oe=ue.subTree=ke(Pt);P(null,oe,T,A)}}else Se(ue,w,T,A,H,J,ce)},Ie=(w,T,A)=>{const B=T.component=w.component;if(Km(w,T,A))if(B.asyncDep&&!B.asyncResolved){$e(B,T,A);return}else B.next=T,B.update();else T.el=w.el,B.vnode=T},Se=(w,T,A,B,H,J,ce)=>{const ue=()=>{if(w.isMounted){let{next:le,bu:ge,u:ye,parent:Ee,vnode:Ne}=w;{const xt=yh(w);if(xt){le&&(le.el=Ne.el,$e(w,le,ce)),xt.asyncDep.then(()=>{w.isUnmounted||ue()});return}}let Ae=le,at;Vn(w,!1),le?(le.el=Ne.el,$e(w,le,ce)):le=Ne,ge&&Es(ge),(at=le.props&&le.props.onVnodeBeforeUpdate)&&Yt(at,Ee,le,Ne),Vn(w,!0);const ot=tc(w),$t=w.subTree;w.subTree=ot,x($t,ot,g($t.el),j($t),w,H,J),le.el=ot.el,Ae===null&&Wm(w,ot.el),ye&&Tt(ye,H),(at=le.props&&le.props.onVnodeUpdated)&&Tt(()=>Yt(at,Ee,le,Ne),H)}else{let le;const{el:ge,props:ye}=T,{bm:Ee,m:Ne,parent:Ae,root:at,type:ot}=w,$t=$i(T);Vn(w,!1),Ee&&Es(Ee),!$t&&(le=ye&&ye.onVnodeBeforeMount)&&Yt(le,Ae,T),Vn(w,!0);{at.ce&&at.ce._injectChildStyle(ot);const xt=w.subTree=tc(w);x(null,xt,A,B,w,H,J),T.el=xt.el}if(Ne&&Tt(Ne,H),!$t&&(le=ye&&ye.onVnodeMounted)){const xt=T;Tt(()=>Yt(le,Ae,xt),H)}(T.shapeFlag&256||Ae&&$i(Ae.vnode)&&Ae.vnode.shapeFlag&256)&&w.a&&Tt(w.a,H),w.isMounted=!0,T=A=B=null}};w.scope.on();const oe=w.effect=new bf(ue);w.scope.off();const Q=w.update=oe.run.bind(oe),_e=w.job=oe.runIfDirty.bind(oe);_e.i=w,_e.id=w.uid,oe.scheduler=()=>Na(_e),Vn(w,!0),Q()},$e=(w,T,A)=>{T.component=w;const B=w.vnode.props;w.vnode=T,w.next=null,km(w,T.props,B,A),Mm(w,T.children,A),Mn(),Uu(w),Nn()},re=(w,T,A,B,H,J,ce,ue,oe=!1)=>{const Q=w&&w.children,_e=w?w.shapeFlag:0,le=T.children,{patchFlag:ge,shapeFlag:ye}=T;if(ge>0){if(ge&128){K(Q,le,A,B,H,J,ce,ue,oe);return}else if(ge&256){et(Q,le,A,B,H,J,ce,ue,oe);return}}ye&8?(_e&16&&q(Q,H,J),le!==Q&&m(A,le)):_e&16?ye&16?K(Q,le,A,B,H,J,ce,ue,oe):q(Q,H,J,!0):(_e&8&&m(A,""),ye&16&&V(le,A,B,H,J,ce,ue,oe))},et=(w,T,A,B,H,J,ce,ue,oe)=>{w=w||wi,T=T||wi;const Q=w.length,_e=T.length,le=Math.min(Q,_e);let ge;for(ge=0;ge_e?q(w,H,J,!0,!1,le):V(T,A,B,H,J,ce,ue,oe,le)},K=(w,T,A,B,H,J,ce,ue,oe)=>{let Q=0;const _e=T.length;let le=w.length-1,ge=_e-1;for(;Q<=le&&Q<=ge;){const ye=w[Q],Ee=T[Q]=oe?kn(T[Q]):Qt(T[Q]);if(Yn(ye,Ee))x(ye,Ee,A,null,H,J,ce,ue,oe);else break;Q++}for(;Q<=le&&Q<=ge;){const ye=w[le],Ee=T[ge]=oe?kn(T[ge]):Qt(T[ge]);if(Yn(ye,Ee))x(ye,Ee,A,null,H,J,ce,ue,oe);else break;le--,ge--}if(Q>le){if(Q<=ge){const ye=ge+1,Ee=ye<_e?T[ye].el:B;for(;Q<=ge;)x(null,T[Q]=oe?kn(T[Q]):Qt(T[Q]),A,Ee,H,J,ce,ue,oe),Q++}}else if(Q>ge)for(;Q<=le;)Y(w[Q],H,J,!0),Q++;else{const ye=Q,Ee=Q,Ne=new Map;for(Q=Ee;Q<=ge;Q++){const pt=T[Q]=oe?kn(T[Q]):Qt(T[Q]);pt.key!=null&&Ne.set(pt.key,Q)}let Ae,at=0;const ot=ge-Ee+1;let $t=!1,xt=0;const Pn=new Array(ot);for(Q=0;Q=ot){Y(pt,H,J,!0);continue}let kt;if(pt.key!=null)kt=Ne.get(pt.key);else for(Ae=Ee;Ae<=ge;Ae++)if(Pn[Ae-Ee]===0&&Yn(pt,T[Ae])){kt=Ae;break}kt===void 0?Y(pt,H,J,!0):(Pn[kt-Ee]=Q+1,kt>=xt?xt=kt:$t=!0,x(pt,T[kt],A,null,H,J,ce,ue,oe),at++)}const ri=$t?jm(Pn):wi;for(Ae=ri.length-1,Q=ot-1;Q>=0;Q--){const pt=Ee+Q,kt=T[pt],Sn=pt+1<_e?T[pt+1].el:B;Pn[Q]===0?x(null,kt,A,Sn,H,J,ce,ue,oe):$t&&(Ae<0||Q!==ri[Ae]?D(kt,A,Sn,2):Ae--)}}},D=(w,T,A,B,H=null)=>{const{el:J,type:ce,transition:ue,children:oe,shapeFlag:Q}=w;if(Q&6){D(w.component.subTree,T,A,B);return}if(Q&128){w.suspense.move(T,A,B);return}if(Q&64){ce.move(w,T,A,ae);return}if(ce===Ye){s(J,T,A);for(let le=0;leue.enter(J),H);else{const{leave:le,delayLeave:ge,afterLeave:ye}=ue,Ee=()=>s(J,T,A),Ne=()=>{le(J,()=>{Ee(),ye&&ye()})};ge?ge(J,Ee,Ne):Ne()}else s(J,T,A)},Y=(w,T,A,B=!1,H=!1)=>{const{type:J,props:ce,ref:ue,children:oe,dynamicChildren:Q,shapeFlag:_e,patchFlag:le,dirs:ge,cacheIndex:ye}=w;if(le===-2&&(H=!1),ue!=null&&As(ue,null,A,w,!0),ye!=null&&(T.renderCache[ye]=void 0),_e&256){T.ctx.deactivate(w);return}const Ee=_e&1&&ge,Ne=!$i(w);let Ae;if(Ne&&(Ae=ce&&ce.onVnodeBeforeUnmount)&&Yt(Ae,T,w),_e&6)M(w.component,A,B);else{if(_e&128){w.suspense.unmount(A,B);return}Ee&&Fn(w,null,T,"beforeUnmount"),_e&64?w.type.remove(w,T,A,ae,B):Q&&!Q.hasOnce&&(J!==Ye||le>0&&le&64)?q(Q,T,A,!1,!0):(J===Ye&&le&384||!H&&_e&16)&&q(oe,T,A),B&&Z(w)}(Ne&&(Ae=ce&&ce.onVnodeUnmounted)||Ee)&&Tt(()=>{Ae&&Yt(Ae,T,w),Ee&&Fn(w,null,T,"unmounted")},A)},Z=w=>{const{type:T,el:A,anchor:B,transition:H}=w;if(T===Ye){R(A,B);return}if(T===Cs){C(w);return}const J=()=>{a(A),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(w.shapeFlag&1&&H&&!H.persisted){const{leave:ce,delayLeave:ue}=H,oe=()=>ce(A,J);ue?ue(w.el,J,oe):oe()}else J()},R=(w,T)=>{let A;for(;w!==T;)A=y(w),a(w),w=A;a(T)},M=(w,T,A)=>{const{bum:B,scope:H,job:J,subTree:ce,um:ue,m:oe,a:Q}=w;ec(oe),ec(Q),B&&Es(B),H.stop(),J&&(J.flags|=8,Y(ce,w,T,A)),ue&&Tt(ue,T),Tt(()=>{w.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},q=(w,T,A,B=!1,H=!1,J=0)=>{for(let ce=J;ce{if(w.shapeFlag&6)return j(w.component.subTree);if(w.shapeFlag&128)return w.suspense.next();const T=y(w.anchor||w.el),A=T&&T[am];return A?y(A):T};let G=!1;const ee=(w,T,A)=>{w==null?T._vnode&&Y(T._vnode,null,null,!0):x(T._vnode||null,w,T,null,null,null,A),T._vnode=w,G||(G=!0,Uu(),Zf(),G=!1)},ae={p:x,um:Y,m:D,r:Z,mt:me,mc:V,pc:re,pbc:se,n:j,o:t};return{render:ee,hydrate:void 0,createApp:Lm(ee)}}function Zo({type:t,props:n},r){return r==="svg"&&t==="foreignObject"||r==="mathml"&&t==="annotation-xml"&&n&&n.encoding&&n.encoding.includes("html")?void 0:r}function Vn({effect:t,job:n},r){r?(t.flags|=32,n.flags|=4):(t.flags&=-33,n.flags&=-5)}function Dm(t,n){return(!t||t&&!t.pendingBranch)&&n&&!n.persisted}function vh(t,n,r=!1){const s=t.children,a=n.children;if(Pe(s)&&Pe(a))for(let u=0;u>1,t[r[f]]<_?u=f+1:l=f;_0&&(n[s]=r[u-1]),r[u]=s)}}for(u=r.length,l=r[u-1];u-- >0;)r[u]=l,l=n[l];return r}function yh(t){const n=t.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:yh(n)}function ec(t){if(t)for(let n=0;nFt(Bm);function yn(t,n,r){return wh(t,n,r)}function wh(t,n,r=He){const{immediate:s,deep:a,flush:u,once:l}=r,f=lt({},r),h=n&&s||!n&&u!=="post";let _;if(hr){if(u==="sync"){const E=qm();_=E.__watcherHandles||(E.__watcherHandles=[])}else if(!h){const E=()=>{};return E.stop=tn,E.resume=tn,E.pause=tn,E}}const m=dt;f.call=(E,$,x)=>Vt(E,m,$,x);let g=!1;u==="post"?f.scheduler=E=>{Tt(E,m&&m.suspense)}:u!=="sync"&&(g=!0,f.scheduler=(E,$)=>{$?E():Na(E)}),f.augmentJob=E=>{n&&(E.flags|=4),g&&(E.flags|=2,m&&(E.id=m.uid,E.i=m))};const y=nm(t,n,f);return hr&&(_?_.push(y):h&&y()),y}function Zm(t,n,r){const s=this.proxy,a=Qe(t)?t.includes(".")?bh(s,t):()=>s[t]:t.bind(s,s);let u;Te(n)?u=n:(u=n.handler,r=n);const l=vr(this),f=wh(a,u.bind(s),r);return l(),f}function bh(t,n){const r=n.split(".");return()=>{let s=t;for(let a=0;an==="modelValue"||n==="model-value"?t.modelModifiers:t[`${n}Modifiers`]||t[`${Dt(n)}Modifiers`]||t[`${ii(n)}Modifiers`];function Vm(t,n,...r){if(t.isUnmounted)return;const s=t.vnode.props||He;let a=r;const u=n.startsWith("update:"),l=u&&Fm(s,n.slice(7));l&&(l.trim&&(a=r.map(m=>Qe(m)?m.trim():m)),l.number&&(a=r.map(ua)));let f,h=s[f=Mo(n)]||s[f=Mo(Dt(n))];!h&&u&&(h=s[f=Mo(ii(n))]),h&&Vt(h,t,6,a);const _=s[f+"Once"];if(_){if(!t.emitted)t.emitted={};else if(t.emitted[f])return;t.emitted[f]=!0,Vt(_,t,6,a)}}function Ph(t,n,r=!1){const s=n.emitsCache,a=s.get(t);if(a!==void 0)return a;const u=t.emits;let l={},f=!1;if(!Te(t)){const h=_=>{const m=Ph(_,n,!0);m&&(f=!0,lt(l,m))};!r&&n.mixins.length&&n.mixins.forEach(h),t.extends&&h(t.extends),t.mixins&&t.mixins.forEach(h)}return!u&&!f?(We(t)&&s.set(t,null),null):(Pe(u)?u.forEach(h=>l[h]=null):lt(l,u),We(t)&&s.set(t,l),l)}function Ws(t,n){return!t||!Ds(n)?!1:(n=n.slice(2).replace(/Once$/,""),qe(t,n[0].toLowerCase()+n.slice(1))||qe(t,ii(n))||qe(t,n))}function tc(t){const{type:n,vnode:r,proxy:s,withProxy:a,propsOptions:[u],slots:l,attrs:f,emit:h,render:_,renderCache:m,props:g,data:y,setupState:E,ctx:$,inheritAttrs:x}=t,b=Os(t);let P,p;try{if(r.shapeFlag&4){const C=a||s,O=C;P=Qt(_.call(O,C,m,g,E,y,$)),p=f}else{const C=n;P=Qt(C.length>1?C(g,{attrs:f,slots:l,emit:h}):C(g,null)),p=n.props?f:Hm(f)}}catch(C){ir.length=0,Hs(C,t,1),P=ke(Pt)}let v=P;if(p&&x!==!1){const C=Object.keys(p),{shapeFlag:O}=v;C.length&&O&7&&(u&&C.some(Ea)&&(p=Um(p,u)),v=In(v,p,!1,!0))}return r.dirs&&(v=In(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(r.dirs):r.dirs),r.transition&&cr(v,r.transition),P=v,Os(b),P}const Hm=t=>{let n;for(const r in t)(r==="class"||r==="style"||Ds(r))&&((n||(n={}))[r]=t[r]);return n},Um=(t,n)=>{const r={};for(const s in t)(!Ea(s)||!(s.slice(9)in n))&&(r[s]=t[s]);return r};function Km(t,n,r){const{props:s,children:a,component:u}=t,{props:l,children:f,patchFlag:h}=n,_=u.emitsOptions;if(n.dirs||n.transition)return!0;if(r&&h>=0){if(h&1024)return!0;if(h&16)return s?nc(s,l,_):!!l;if(h&8){const m=n.dynamicProps;for(let g=0;gt.__isSuspense;function Gm(t,n){n&&n.pendingBranch?Pe(t)?n.effects.push(...t):n.effects.push(t):sm(t)}const Ye=Symbol.for("v-fgt"),Gs=Symbol.for("v-txt"),Pt=Symbol.for("v-cmt"),Cs=Symbol.for("v-stc"),ir=[];let Rt=null;function he(t=!1){ir.push(Rt=t?null:[])}function Jm(){ir.pop(),Rt=ir[ir.length-1]||null}let lr=1;function ic(t,n=!1){lr+=t,t<0&&Rt&&n&&(Rt.hasOnce=!0)}function $h(t){return t.dynamicChildren=lr>0?Rt||wi:null,Jm(),lr>0&&Rt&&Rt.push(t),t}function we(t,n,r,s,a,u){return $h(ie(t,n,r,s,a,u,!0))}function Fe(t,n,r,s,a){return $h(ke(t,n,r,s,a,!0))}function fr(t){return t?t.__v_isVNode===!0:!1}function Yn(t,n){return t.type===n.type&&t.key===n.key}const Eh=({key:t})=>t??null,Rs=({ref:t,ref_key:n,ref_for:r})=>(typeof t=="number"&&(t=""+t),t!=null?Qe(t)||gt(t)||Te(t)?{i:ct,r:t,k:n,f:!!r}:t:null);function ie(t,n=null,r=null,s=0,a=null,u=t===Ye?0:1,l=!1,f=!1){const h={__v_isVNode:!0,__v_skip:!0,type:t,props:n,key:n&&Eh(n),ref:n&&Rs(n),scopeId:Vf,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:u,patchFlag:s,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:ct};return f?(Da(h,r),u&128&&t.normalize(h)):r&&(h.shapeFlag|=Qe(r)?8:16),lr>0&&!l&&Rt&&(h.patchFlag>0||u&6)&&h.patchFlag!==32&&Rt.push(h),h}const ke=Ym;function Ym(t,n=null,r=null,s=0,a=null,u=!1){if((!t||t===nh)&&(t=Pt),fr(t)){const f=In(t,n,!0);return r&&Da(f,r),lr>0&&!u&&Rt&&(f.shapeFlag&6?Rt[Rt.indexOf(t)]=f:Rt.push(f)),f.patchFlag=-2,f}if(l_(t)&&(t=t.__vccOpts),n){n=Xm(n);let{class:f,style:h}=n;f&&!Qe(f)&&(n.class=Xn(f)),We(h)&&(Ma(h)&&!Pe(h)&&(h=lt({},h)),n.style=Ra(h))}const l=Qe(t)?1:Sh(t)?128:Hf(t)?64:We(t)?4:Te(t)?2:0;return ie(t,n,r,s,a,l,u,!0)}function Xm(t){return t?Ma(t)||fh(t)?lt({},t):t:null}function In(t,n,r=!1,s=!1){const{props:a,ref:u,patchFlag:l,children:f,transition:h}=t,_=n?e_(a||{},n):a,m={__v_isVNode:!0,__v_skip:!0,type:t.type,props:_,key:_&&Eh(_),ref:n&&n.ref?r&&u?Pe(u)?u.concat(Rs(n)):[u,Rs(n)]:Rs(n):u,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:f,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:n&&t.type!==Ye?l===-1?16:l|16:l,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:h,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&In(t.ssContent),ssFallback:t.ssFallback&&In(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return h&&s&&cr(m,h.clone(m)),m}function rn(t=" ",n=0){return ke(Gs,null,t,n)}function Qm(t,n){const r=ke(Cs,null,t);return r.staticCount=n,r}function Ve(t="",n=!1){return n?(he(),Fe(Pt,null,t)):ke(Pt,null,t)}function Qt(t){return t==null||typeof t=="boolean"?ke(Pt):Pe(t)?ke(Ye,null,t.slice()):fr(t)?kn(t):ke(Gs,null,String(t))}function kn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:In(t)}function Da(t,n){let r=0;const{shapeFlag:s}=t;if(n==null)n=null;else if(Pe(n))r=16;else if(typeof n=="object")if(s&65){const a=n.default;a&&(a._c&&(a._d=!1),Da(t,a()),a._c&&(a._d=!0));return}else{r=32;const a=n._;!a&&!fh(n)?n._ctx=ct:a===3&&ct&&(ct.slots._===1?n._=1:(n._=2,t.patchFlag|=1024))}else Te(n)?(n={default:n,_ctx:ct},r=32):(n=String(n),s&64?(r=16,n=[rn(n)]):r=8);t.children=n,t.shapeFlag|=r}function e_(...t){const n={};for(let r=0;rdt||ct;let Ms,ya;{const t=Zs(),n=(r,s)=>{let a;return(a=t[r])||(a=t[r]=[]),a.push(s),u=>{a.length>1?a.forEach(l=>l(u)):a[0](u)}};Ms=n("__VUE_INSTANCE_SETTERS__",r=>dt=r),ya=n("__VUE_SSR_SETTERS__",r=>hr=r)}const vr=t=>{const n=dt;return Ms(t),t.scope.on(),()=>{t.scope.off(),Ms(n)}},rc=()=>{dt&&dt.scope.off(),Ms(null)};function Th(t){return t.vnode.shapeFlag&4}let hr=!1;function s_(t,n=!1,r=!1){n&&ya(n);const{props:s,children:a}=t.vnode,u=Th(t);xm(t,s,u,n),Im(t,a,r);const l=u?o_(t,n):void 0;return n&&ya(!1),l}function o_(t,n){const r=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Pm);const{setup:s}=r;if(s){Mn();const a=t.setupContext=s.length>1?u_(t):null,u=vr(t),l=_r(s,t,0,[t.props,a]),f=pf(l);if(Nn(),u(),(f||t.sp)&&!$i(t)&&Yf(t),f){if(l.then(rc,rc),n)return l.then(h=>{sc(t,h)}).catch(h=>{Hs(h,t,0)});t.asyncDep=l}else sc(t,l)}else Ch(t)}function sc(t,n,r){Te(n)?t.type.__ssrInlineRender?t.ssrRender=n:t.render=n:We(n)&&(t.setupState=Df(n)),Ch(t)}function Ch(t,n,r){const s=t.type;t.render||(t.render=s.render||tn);{const a=vr(t);Mn();try{Sm(t)}finally{Nn(),a()}}}const a_={get(t,n){return mt(t,"get",""),t[n]}};function u_(t){const n=r=>{t.exposed=r||{}};return{attrs:new Proxy(t.attrs,a_),slots:t.slots,emit:t.emit,expose:n}}function Js(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Df(Gp(t.exposed)),{get(n,r){if(r in n)return n[r];if(r in nr)return nr[r](t)},has(n,r){return r in n||r in nr}})):t.proxy}function c_(t,n=!0){return Te(t)?t.displayName||t.name:t.name||n&&t.__name}function l_(t){return Te(t)&&"__vccOpts"in t}const st=(t,n)=>em(t,n,hr);function ja(t,n,r){const s=arguments.length;return s===2?We(n)&&!Pe(n)?fr(n)?ke(t,null,[n]):ke(t,n):ke(t,null,n):(s>3?r=Array.prototype.slice.call(arguments,2):s===3&&fr(r)&&(r=[r]),ke(t,n,r))}const f_="3.5.13";/** +**/function _r(t,n,r,s){try{return s?t(...s):t()}catch(a){Hs(a,n,r)}}function Vt(t,n,r,s){if(Te(t)){const a=_r(t,n,r,s);return a&&pf(a)&&a.catch(u=>{Hs(u,n,r)}),a}if(Pe(t)){const a=[];for(let u=0;u>>1,a=bt[s],u=ur(a);u=ur(r)?bt.push(t):bt.splice(rm(n),0,t),t.flags|=1,qf()}}function qf(){ks||(ks=jf.then(Ff))}function sm(t){Pe(t)?Si.push(...t):Ln&&t.id===-1?Ln.splice(gi+1,0,t):t.flags&1||(Si.push(t),t.flags|=1),qf()}function Uu(t,n,r=Xt+1){for(;rur(r)-ur(s));if(Si.length=0,Ln){Ln.push(...n);return}for(Ln=n,gi=0;git.id==null?t.flags&2?-1:1/0:t.id;function Ff(t){try{for(Xt=0;Xt{s._d&&ic(-1);const u=Os(n);let l;try{l=t(...a)}finally{Os(u),s._d&&ic(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function om(t,n){if(ct===null)return t;const r=Js(ct),s=t.dirs||(t.dirs=[]);for(let a=0;at.__isTeleport,xn=Symbol("_leaveCb"),Br=Symbol("_enterCb");function um(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return gr(()=>{t.isMounted=!0}),Qf(()=>{t.isUnmounting=!0}),t}const Mt=[Function,Array],Uf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Mt,onEnter:Mt,onAfterEnter:Mt,onEnterCancelled:Mt,onBeforeLeave:Mt,onLeave:Mt,onAfterLeave:Mt,onLeaveCancelled:Mt,onBeforeAppear:Mt,onAppear:Mt,onAfterAppear:Mt,onAppearCancelled:Mt},Kf=t=>{const n=t.subTree;return n.component?Kf(n.component):n},cm={name:"BaseTransition",props:Uf,setup(t,{slots:n}){const r=r_(),s=um();return()=>{const a=n.default&&Jf(n.default(),!0);if(!a||!a.length)return;const u=Wf(a),l=je(t),{mode:f}=l;if(s.isLeaving)return Bo(u);const h=Ku(u);if(!h)return Bo(u);let _=pa(h,l,s,r,g=>_=g);h.type!==Pt&&cr(h,_);let m=r.subTree&&Ku(r.subTree);if(m&&m.type!==Pt&&!Yn(h,m)&&Kf(r).type!==Pt){let g=pa(m,l,s,r);if(cr(m,g),f==="out-in"&&h.type!==Pt)return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,r.job.flags&8||r.update(),delete g.afterLeave,m=void 0},Bo(u);f==="in-out"&&h.type!==Pt?g.delayLeave=(y,E,$)=>{const x=Gf(s,m);x[String(m.key)]=m,y[xn]=()=>{E(),y[xn]=void 0,delete _.delayedLeave,m=void 0},_.delayedLeave=()=>{$(),delete _.delayedLeave,m=void 0}}:m=void 0}else m&&(m=void 0);return u}}};function Wf(t){let n=t[0];if(t.length>1){for(const r of t)if(r.type!==Pt){n=r;break}}return n}const lm=cm;function Gf(t,n){const{leavingVNodes:r}=t;let s=r.get(n.type);return s||(s=Object.create(null),r.set(n.type,s)),s}function pa(t,n,r,s,a){const{appear:u,mode:l,persisted:f=!1,onBeforeEnter:h,onEnter:_,onAfterEnter:m,onEnterCancelled:g,onBeforeLeave:y,onLeave:E,onAfterLeave:$,onLeaveCancelled:x,onBeforeAppear:b,onAppear:P,onAfterAppear:p,onAppearCancelled:v}=n,C=String(t.key),O=Gf(r,t),k=(W,se)=>{W&&Vt(W,s,9,se)},I=(W,se)=>{const ie=se[1];k(W,se),Pe(W)?W.every(X=>X.length<=1)&&ie():W.length<=1&&ie()},V={mode:l,persisted:f,beforeEnter(W){let se=h;if(!r.isMounted)if(u)se=b||h;else return;W[xn]&&W[xn](!0);const ie=O[C];ie&&Yn(t,ie)&&ie.el[xn]&&ie.el[xn](),k(se,[W])},enter(W){let se=_,ie=m,X=g;if(!r.isMounted)if(u)se=P||_,ie=p||m,X=v||g;else return;let fe=!1;const me=W[Br]=Ie=>{fe||(fe=!0,Ie?k(X,[W]):k(ie,[W]),V.delayedLeave&&V.delayedLeave(),W[Br]=void 0)};se?I(se,[W,me]):me()},leave(W,se){const ie=String(t.key);if(W[Br]&&W[Br](!0),r.isUnmounting)return se();k(y,[W]);let X=!1;const fe=W[xn]=me=>{X||(X=!0,se(),me?k(x,[W]):k($,[W]),W[xn]=void 0,O[ie]===t&&delete O[ie])};O[ie]=t,E?I(E,[W,fe]):fe()},clone(W){const se=pa(W,n,r,s,a);return a&&a(se),se}};return V}function Bo(t){if(Us(t))return t=In(t),t.children=null,t}function Ku(t){if(!Us(t))return Hf(t.type)&&t.children?Wf(t.children):t;const{shapeFlag:n,children:r}=t;if(r){if(n&16)return r[0];if(n&32&&Te(r.default))return r.default()}}function cr(t,n){t.shapeFlag&6&&t.component?(t.transition=n,cr(t.component.subTree,n)):t.shapeFlag&128?(t.ssContent.transition=n.clone(t.ssContent),t.ssFallback.transition=n.clone(t.ssFallback)):t.transition=n}function Jf(t,n=!1,r){let s=[],a=0;for(let u=0;u1)for(let u=0;uAs($,n&&(Pe(n)?n[x]:n),r,s,a));return}if($i(s)&&!a){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&As(t,n,r,s.component.subTree);return}const u=s.shapeFlag&4?Js(s.component):s.el,l=a?null:u,{i:f,r:h}=t,_=n&&n.r,m=f.refs===He?f.refs={}:f.refs,g=f.setupState,y=je(g),E=g===He?()=>!1:$=>qe(y,$);if(_!=null&&_!==h&&(Qe(_)?(m[_]=null,E(_)&&(g[_]=null)):gt(_)&&(_.value=null)),Te(h))_r(h,f,12,[l,m]);else{const $=Qe(h),x=gt(h);if($||x){const b=()=>{if(t.f){const P=$?E(h)?g[h]:m[h]:h.value;a?Pe(P)&&Ta(P,u):Pe(P)?P.includes(u)||P.push(u):$?(m[h]=[u],E(h)&&(g[h]=m[h])):(h.value=[u],t.k&&(m[t.k]=h.value))}else $?(m[h]=l,E(h)&&(g[h]=l)):x&&(h.value=l,t.k&&(m[t.k]=l))};l?(b.id=-1,Tt(b,r)):b()}}}Zs().requestIdleCallback;Zs().cancelIdleCallback;const $i=t=>!!t.type.__asyncLoader,Us=t=>t.type.__isKeepAlive;function fm(t,n){Xf(t,"a",n)}function hm(t,n){Xf(t,"da",n)}function Xf(t,n,r=dt){const s=t.__wdc||(t.__wdc=()=>{let a=r;for(;a;){if(a.isDeactivated)return;a=a.parent}return t()});if(Ks(n,s,r),r){let a=r.parent;for(;a&&a.parent;)Us(a.parent.vnode)&&dm(s,n,r,a),a=a.parent}}function dm(t,n,r,s){const a=Ks(n,t,s,!0);eh(()=>{Ta(s[n],a)},r)}function Ks(t,n,r=dt,s=!1){if(r){const a=r[t]||(r[t]=[]),u=n.__weh||(n.__weh=(...l)=>{Mn();const f=vr(r),h=Vt(n,r,t,l);return f(),Nn(),h});return s?a.unshift(u):a.push(u),u}}const bn=t=>(n,r=dt)=>{(!hr||t==="sp")&&Ks(t,(...s)=>n(...s),r)},pm=bn("bm"),gr=bn("m"),mm=bn("bu"),_m=bn("u"),Qf=bn("bum"),eh=bn("um"),gm=bn("sp"),vm=bn("rtg"),ym=bn("rtc");function wm(t,n=dt){Ks("ec",t,n)}const th="components";function ki(t,n){return ih(th,t,!0,n)||t}const nh=Symbol.for("v-ndc");function bm(t){return Qe(t)?ih(th,t,!1)||t:t||nh}function ih(t,n,r=!0,s=!1){const a=ct||dt;if(a){const u=a.type;{const f=c_(u,!1);if(f&&(f===n||f===Dt(n)||f===qs(Dt(n))))return u}const l=Wu(a[t]||u[t],n)||Wu(a.appContext[t],n);return!l&&s?u:l}}function Wu(t,n){return t&&(t[n]||t[Dt(n)]||t[qs(Dt(n))])}function nn(t,n,r,s){let a;const u=r,l=Pe(t);if(l||Qe(t)){const f=l&&Pi(t);let h=!1;f&&(h=!zt(t),t=Fs(t)),a=new Array(t.length);for(let _=0,m=t.length;_n(f,h,void 0,u));else{const f=Object.keys(t);a=new Array(f.length);for(let h=0,_=f.length;h<_;h++){const m=f[h];a[h]=n(t[m],m,h,u)}}else a=[];return a}function rh(t,n){for(let r=0;r{const u=s.fn(...a);return u&&(u.key=s.key),u}:s.fn)}return t}function Qn(t,n,r={},s,a){if(ct.ce||ct.parent&&$i(ct.parent)&&ct.parent.ce)return n!=="default"&&(r.name=n),he(),Fe(Ye,null,[ke("slot",r,s)],64);let u=t[n];u&&u._c&&(u._d=!1),he();const l=u&&sh(u(r)),f=r.key||l&&l.key,h=Fe(Ye,{key:(f&&!wn(f)?f:`_${n}`)+""},l||[],l&&t._===1?64:-2);return!a&&h.scopeId&&(h.slotScopeIds=[h.scopeId+"-s"]),u&&u._c&&(u._d=!0),h}function sh(t){return t.some(n=>fr(n)?!(n.type===Pt||n.type===Ye&&!sh(n.children)):!0)?t:null}const ma=t=>t?Th(t)?Js(t):ma(t.parent):null,nr=lt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>ma(t.parent),$root:t=>ma(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>ah(t),$forceUpdate:t=>t.f||(t.f=()=>{Na(t.update)}),$nextTick:t=>t.n||(t.n=Bf.bind(t.proxy)),$watch:t=>Zm.bind(t)}),qo=(t,n)=>t!==He&&!t.__isScriptSetup&&qe(t,n),Pm={get({_:t},n){if(n==="__v_skip")return!0;const{ctx:r,setupState:s,data:a,props:u,accessCache:l,type:f,appContext:h}=t;let _;if(n[0]!=="$"){const E=l[n];if(E!==void 0)switch(E){case 1:return s[n];case 2:return a[n];case 4:return r[n];case 3:return u[n]}else{if(qo(s,n))return l[n]=1,s[n];if(a!==He&&qe(a,n))return l[n]=2,a[n];if((_=t.propsOptions[0])&&qe(_,n))return l[n]=3,u[n];if(r!==He&&qe(r,n))return l[n]=4,r[n];_a&&(l[n]=0)}}const m=nr[n];let g,y;if(m)return n==="$attrs"&&mt(t.attrs,"get",""),m(t);if((g=f.__cssModules)&&(g=g[n]))return g;if(r!==He&&qe(r,n))return l[n]=4,r[n];if(y=h.config.globalProperties,qe(y,n))return y[n]},set({_:t},n,r){const{data:s,setupState:a,ctx:u}=t;return qo(a,n)?(a[n]=r,!0):s!==He&&qe(s,n)?(s[n]=r,!0):qe(t.props,n)||n[0]==="$"&&n.slice(1)in t?!1:(u[n]=r,!0)},has({_:{data:t,setupState:n,accessCache:r,ctx:s,appContext:a,propsOptions:u}},l){let f;return!!r[l]||t!==He&&qe(t,l)||qo(n,l)||(f=u[0])&&qe(f,l)||qe(s,l)||qe(nr,l)||qe(a.config.globalProperties,l)},defineProperty(t,n,r){return r.get!=null?t._.accessCache[n]=0:qe(r,"value")&&this.set(t,n,r.value,null),Reflect.defineProperty(t,n,r)}};function Gu(t){return Pe(t)?t.reduce((n,r)=>(n[r]=null,n),{}):t}let _a=!0;function Sm(t){const n=ah(t),r=t.proxy,s=t.ctx;_a=!1,n.beforeCreate&&Ju(n.beforeCreate,t,"bc");const{data:a,computed:u,methods:l,watch:f,provide:h,inject:_,created:m,beforeMount:g,mounted:y,beforeUpdate:E,updated:$,activated:x,deactivated:b,beforeDestroy:P,beforeUnmount:p,destroyed:v,unmounted:C,render:O,renderTracked:k,renderTriggered:I,errorCaptured:V,serverPrefetch:W,expose:se,inheritAttrs:ie,components:X,directives:fe,filters:me}=n;if(_&&$m(_,s,null),l)for(const $e in l){const re=l[$e];Te(re)&&(s[$e]=re.bind(r))}if(a){const $e=a.call(r,r);We($e)&&(t.data=Vs($e))}if(_a=!0,u)for(const $e in u){const re=u[$e],et=Te(re)?re.bind(r,r):Te(re.get)?re.get.bind(r,r):tn,K=!Te(re)&&Te(re.set)?re.set.bind(r):tn,D=st({get:et,set:K});Object.defineProperty(s,$e,{enumerable:!0,configurable:!0,get:()=>D.value,set:Y=>D.value=Y})}if(f)for(const $e in f)oh(f[$e],s,r,$e);if(h){const $e=Te(h)?h.call(r):h;Reflect.ownKeys($e).forEach(re=>{Ts(re,$e[re])})}m&&Ju(m,t,"c");function Se($e,re){Pe(re)?re.forEach(et=>$e(et.bind(r))):re&&$e(re.bind(r))}if(Se(pm,g),Se(gr,y),Se(mm,E),Se(_m,$),Se(fm,x),Se(hm,b),Se(wm,V),Se(ym,k),Se(vm,I),Se(Qf,p),Se(eh,C),Se(gm,W),Pe(se))if(se.length){const $e=t.exposed||(t.exposed={});se.forEach(re=>{Object.defineProperty($e,re,{get:()=>r[re],set:et=>r[re]=et})})}else t.exposed||(t.exposed={});O&&t.render===tn&&(t.render=O),ie!=null&&(t.inheritAttrs=ie),X&&(t.components=X),fe&&(t.directives=fe),W&&Yf(t)}function $m(t,n,r=tn){Pe(t)&&(t=ga(t));for(const s in t){const a=t[s];let u;We(a)?"default"in a?u=Ft(a.from||s,a.default,!0):u=Ft(a.from||s):u=Ft(a),gt(u)?Object.defineProperty(n,s,{enumerable:!0,configurable:!0,get:()=>u.value,set:l=>u.value=l}):n[s]=u}}function Ju(t,n,r){Vt(Pe(t)?t.map(s=>s.bind(n.proxy)):t.bind(n.proxy),n,r)}function oh(t,n,r,s){let a=s.includes(".")?bh(r,s):()=>r[s];if(Qe(t)){const u=n[t];Te(u)&&yn(a,u)}else if(Te(t))yn(a,t.bind(r));else if(We(t))if(Pe(t))t.forEach(u=>oh(u,n,r,s));else{const u=Te(t.handler)?t.handler.bind(r):n[t.handler];Te(u)&&yn(a,u,t)}}function ah(t){const n=t.type,{mixins:r,extends:s}=n,{mixins:a,optionsCache:u,config:{optionMergeStrategies:l}}=t.appContext,f=u.get(n);let h;return f?h=f:!a.length&&!r&&!s?h=n:(h={},a.length&&a.forEach(_=>Is(h,_,l,!0)),Is(h,n,l)),We(n)&&u.set(n,h),h}function Is(t,n,r,s=!1){const{mixins:a,extends:u}=n;u&&Is(t,u,r,!0),a&&a.forEach(l=>Is(t,l,r,!0));for(const l in n)if(!(s&&l==="expose")){const f=Em[l]||r&&r[l];t[l]=f?f(t[l],n[l]):n[l]}return t}const Em={data:Yu,props:Xu,emits:Xu,methods:Yi,computed:Yi,beforeCreate:wt,created:wt,beforeMount:wt,mounted:wt,beforeUpdate:wt,updated:wt,beforeDestroy:wt,beforeUnmount:wt,destroyed:wt,unmounted:wt,activated:wt,deactivated:wt,errorCaptured:wt,serverPrefetch:wt,components:Yi,directives:Yi,watch:Cm,provide:Yu,inject:Tm};function Yu(t,n){return n?t?function(){return lt(Te(t)?t.call(this,this):t,Te(n)?n.call(this,this):n)}:n:t}function Tm(t,n){return Yi(ga(t),ga(n))}function ga(t){if(Pe(t)){const n={};for(let r=0;r1)return r&&Te(n)?n.call(s&&s.proxy):n}}const ch={},lh=()=>Object.create(ch),fh=t=>Object.getPrototypeOf(t)===ch;function xm(t,n,r,s=!1){const a={},u=lh();t.propsDefaults=Object.create(null),hh(t,n,a,u);for(const l in t.propsOptions[0])l in a||(a[l]=void 0);r?t.props=s?a:Mf(a):t.type.props?t.props=a:t.props=u,t.attrs=u}function km(t,n,r,s){const{props:a,attrs:u,vnode:{patchFlag:l}}=t,f=je(a),[h]=t.propsOptions;let _=!1;if((s||l>0)&&!(l&16)){if(l&8){const m=t.vnode.dynamicProps;for(let g=0;g{h=!0;const[y,E]=dh(g,n,!0);lt(l,y),E&&f.push(...E)};!r&&n.mixins.length&&n.mixins.forEach(m),t.extends&&m(t.extends),t.mixins&&t.mixins.forEach(m)}if(!u&&!h)return We(t)&&s.set(t,wi),wi;if(Pe(u))for(let m=0;mt[0]==="_"||t==="$stable",za=t=>Pe(t)?t.map(Qt):[Qt(t)],Am=(t,n,r)=>{if(n._n)return n;const s=rt((...a)=>za(n(...a)),r);return s._c=!1,s},mh=(t,n,r)=>{const s=t._ctx;for(const a in t){if(ph(a))continue;const u=t[a];if(Te(u))n[a]=Am(a,u,s);else if(u!=null){const l=za(u);n[a]=()=>l}}},_h=(t,n)=>{const r=za(n);t.slots.default=()=>r},gh=(t,n,r)=>{for(const s in n)(r||s!=="_")&&(t[s]=n[s])},Im=(t,n,r)=>{const s=t.slots=lh();if(t.vnode.shapeFlag&32){const a=n._;a?(gh(s,n,r),r&&gf(s,"_",a,!0)):mh(n,s)}else n&&_h(t,n)},Mm=(t,n,r)=>{const{vnode:s,slots:a}=t;let u=!0,l=He;if(s.shapeFlag&32){const f=n._;f?r&&f===1?u=!1:gh(a,n,r):(u=!n.$stable,mh(n,a)),l=n}else n&&(_h(t,n),l={default:1});if(u)for(const f in a)!ph(f)&&l[f]==null&&delete a[f]},Tt=Gm;function Nm(t){return zm(t)}function zm(t,n){const r=Zs();r.__VUE__=!0;const{insert:s,remove:a,patchProp:u,createElement:l,createText:f,createComment:h,setText:_,setElementText:m,parentNode:g,nextSibling:y,setScopeId:E=tn,insertStaticContent:$}=t,x=(w,T,A,B=null,H=null,J=null,ce=void 0,ue=null,oe=!!T.dynamicChildren)=>{if(w===T)return;w&&!Yn(w,T)&&(B=j(w),Y(w,H,J,!0),w=null),T.patchFlag===-2&&(oe=!1,T.dynamicChildren=null);const{type:Q,ref:_e,shapeFlag:le}=T;switch(Q){case Gs:b(w,T,A,B);break;case Pt:P(w,T,A,B);break;case Cs:w==null&&p(T,A,B,ce);break;case Ye:X(w,T,A,B,H,J,ce,ue,oe);break;default:le&1?O(w,T,A,B,H,J,ce,ue,oe):le&6?fe(w,T,A,B,H,J,ce,ue,oe):(le&64||le&128)&&Q.process(w,T,A,B,H,J,ce,ue,oe,ae)}_e!=null&&H&&As(_e,w&&w.ref,J,T||w,!T)},b=(w,T,A,B)=>{if(w==null)s(T.el=f(T.children),A,B);else{const H=T.el=w.el;T.children!==w.children&&_(H,T.children)}},P=(w,T,A,B)=>{w==null?s(T.el=h(T.children||""),A,B):T.el=w.el},p=(w,T,A,B)=>{[w.el,w.anchor]=$(w.children,T,A,B,w.el,w.anchor)},v=({el:w,anchor:T},A,B)=>{let H;for(;w&&w!==T;)H=y(w),s(w,A,B),w=H;s(T,A,B)},C=({el:w,anchor:T})=>{let A;for(;w&&w!==T;)A=y(w),a(w),w=A;a(T)},O=(w,T,A,B,H,J,ce,ue,oe)=>{T.type==="svg"?ce="svg":T.type==="math"&&(ce="mathml"),w==null?k(T,A,B,H,J,ce,ue,oe):W(w,T,H,J,ce,ue,oe)},k=(w,T,A,B,H,J,ce,ue)=>{let oe,Q;const{props:_e,shapeFlag:le,transition:ge,dirs:ye}=w;if(oe=w.el=l(w.type,J,_e&&_e.is,_e),le&8?m(oe,w.children):le&16&&V(w.children,oe,null,B,H,Zo(w,J),ce,ue),ye&&Fn(w,null,B,"created"),I(oe,w,w.scopeId,ce,B),_e){for(const Ne in _e)Ne!=="value"&&!Qi(Ne)&&u(oe,Ne,null,_e[Ne],J,B);"value"in _e&&u(oe,"value",null,_e.value,J),(Q=_e.onVnodeBeforeMount)&&Yt(Q,B,w)}ye&&Fn(w,null,B,"beforeMount");const Ee=Dm(H,ge);Ee&&ge.beforeEnter(oe),s(oe,T,A),((Q=_e&&_e.onVnodeMounted)||Ee||ye)&&Tt(()=>{Q&&Yt(Q,B,w),Ee&&ge.enter(oe),ye&&Fn(w,null,B,"mounted")},H)},I=(w,T,A,B,H)=>{if(A&&E(w,A),B)for(let J=0;J{for(let Q=oe;Q{const ue=T.el=w.el;let{patchFlag:oe,dynamicChildren:Q,dirs:_e}=T;oe|=w.patchFlag&16;const le=w.props||He,ge=T.props||He;let ye;if(A&&Vn(A,!1),(ye=ge.onVnodeBeforeUpdate)&&Yt(ye,A,T,w),_e&&Fn(T,w,A,"beforeUpdate"),A&&Vn(A,!0),(le.innerHTML&&ge.innerHTML==null||le.textContent&&ge.textContent==null)&&m(ue,""),Q?se(w.dynamicChildren,Q,ue,A,B,Zo(T,H),J):ce||re(w,T,ue,null,A,B,Zo(T,H),J,!1),oe>0){if(oe&16)ie(ue,le,ge,A,H);else if(oe&2&&le.class!==ge.class&&u(ue,"class",null,ge.class,H),oe&4&&u(ue,"style",le.style,ge.style,H),oe&8){const Ee=T.dynamicProps;for(let Ne=0;Ne{ye&&Yt(ye,A,T,w),_e&&Fn(T,w,A,"updated")},B)},se=(w,T,A,B,H,J,ce)=>{for(let ue=0;ue{if(T!==A){if(T!==He)for(const J in T)!Qi(J)&&!(J in A)&&u(w,J,T[J],null,H,B);for(const J in A){if(Qi(J))continue;const ce=A[J],ue=T[J];ce!==ue&&J!=="value"&&u(w,J,ue,ce,H,B)}"value"in A&&u(w,"value",T.value,A.value,H)}},X=(w,T,A,B,H,J,ce,ue,oe)=>{const Q=T.el=w?w.el:f(""),_e=T.anchor=w?w.anchor:f("");let{patchFlag:le,dynamicChildren:ge,slotScopeIds:ye}=T;ye&&(ue=ue?ue.concat(ye):ye),w==null?(s(Q,A,B),s(_e,A,B),V(T.children||[],A,_e,H,J,ce,ue,oe)):le>0&&le&64&&ge&&w.dynamicChildren?(se(w.dynamicChildren,ge,A,H,J,ce,ue),(T.key!=null||H&&T===H.subTree)&&vh(w,T,!0)):re(w,T,A,_e,H,J,ce,ue,oe)},fe=(w,T,A,B,H,J,ce,ue,oe)=>{T.slotScopeIds=ue,w==null?T.shapeFlag&512?H.ctx.activate(T,A,B,ce,oe):me(T,A,B,H,J,ce,oe):Ie(w,T,oe)},me=(w,T,A,B,H,J,ce)=>{const ue=w.component=i_(w,B,H);if(Us(w)&&(ue.ctx.renderer=ae),s_(ue,!1,ce),ue.asyncDep){if(H&&H.registerDep(ue,Se,ce),!w.el){const oe=ue.subTree=ke(Pt);P(null,oe,T,A)}}else Se(ue,w,T,A,H,J,ce)},Ie=(w,T,A)=>{const B=T.component=w.component;if(Km(w,T,A))if(B.asyncDep&&!B.asyncResolved){$e(B,T,A);return}else B.next=T,B.update();else T.el=w.el,B.vnode=T},Se=(w,T,A,B,H,J,ce)=>{const ue=()=>{if(w.isMounted){let{next:le,bu:ge,u:ye,parent:Ee,vnode:Ne}=w;{const xt=yh(w);if(xt){le&&(le.el=Ne.el,$e(w,le,ce)),xt.asyncDep.then(()=>{w.isUnmounted||ue()});return}}let Ae=le,at;Vn(w,!1),le?(le.el=Ne.el,$e(w,le,ce)):le=Ne,ge&&Es(ge),(at=le.props&&le.props.onVnodeBeforeUpdate)&&Yt(at,Ee,le,Ne),Vn(w,!0);const ot=tc(w),$t=w.subTree;w.subTree=ot,x($t,ot,g($t.el),j($t),w,H,J),le.el=ot.el,Ae===null&&Wm(w,ot.el),ye&&Tt(ye,H),(at=le.props&&le.props.onVnodeUpdated)&&Tt(()=>Yt(at,Ee,le,Ne),H)}else{let le;const{el:ge,props:ye}=T,{bm:Ee,m:Ne,parent:Ae,root:at,type:ot}=w,$t=$i(T);Vn(w,!1),Ee&&Es(Ee),!$t&&(le=ye&&ye.onVnodeBeforeMount)&&Yt(le,Ae,T),Vn(w,!0);{at.ce&&at.ce._injectChildStyle(ot);const xt=w.subTree=tc(w);x(null,xt,A,B,w,H,J),T.el=xt.el}if(Ne&&Tt(Ne,H),!$t&&(le=ye&&ye.onVnodeMounted)){const xt=T;Tt(()=>Yt(le,Ae,xt),H)}(T.shapeFlag&256||Ae&&$i(Ae.vnode)&&Ae.vnode.shapeFlag&256)&&w.a&&Tt(w.a,H),w.isMounted=!0,T=A=B=null}};w.scope.on();const oe=w.effect=new bf(ue);w.scope.off();const Q=w.update=oe.run.bind(oe),_e=w.job=oe.runIfDirty.bind(oe);_e.i=w,_e.id=w.uid,oe.scheduler=()=>Na(_e),Vn(w,!0),Q()},$e=(w,T,A)=>{T.component=w;const B=w.vnode.props;w.vnode=T,w.next=null,km(w,T.props,B,A),Mm(w,T.children,A),Mn(),Uu(w),Nn()},re=(w,T,A,B,H,J,ce,ue,oe=!1)=>{const Q=w&&w.children,_e=w?w.shapeFlag:0,le=T.children,{patchFlag:ge,shapeFlag:ye}=T;if(ge>0){if(ge&128){K(Q,le,A,B,H,J,ce,ue,oe);return}else if(ge&256){et(Q,le,A,B,H,J,ce,ue,oe);return}}ye&8?(_e&16&&q(Q,H,J),le!==Q&&m(A,le)):_e&16?ye&16?K(Q,le,A,B,H,J,ce,ue,oe):q(Q,H,J,!0):(_e&8&&m(A,""),ye&16&&V(le,A,B,H,J,ce,ue,oe))},et=(w,T,A,B,H,J,ce,ue,oe)=>{w=w||wi,T=T||wi;const Q=w.length,_e=T.length,le=Math.min(Q,_e);let ge;for(ge=0;ge_e?q(w,H,J,!0,!1,le):V(T,A,B,H,J,ce,ue,oe,le)},K=(w,T,A,B,H,J,ce,ue,oe)=>{let Q=0;const _e=T.length;let le=w.length-1,ge=_e-1;for(;Q<=le&&Q<=ge;){const ye=w[Q],Ee=T[Q]=oe?kn(T[Q]):Qt(T[Q]);if(Yn(ye,Ee))x(ye,Ee,A,null,H,J,ce,ue,oe);else break;Q++}for(;Q<=le&&Q<=ge;){const ye=w[le],Ee=T[ge]=oe?kn(T[ge]):Qt(T[ge]);if(Yn(ye,Ee))x(ye,Ee,A,null,H,J,ce,ue,oe);else break;le--,ge--}if(Q>le){if(Q<=ge){const ye=ge+1,Ee=ye<_e?T[ye].el:B;for(;Q<=ge;)x(null,T[Q]=oe?kn(T[Q]):Qt(T[Q]),A,Ee,H,J,ce,ue,oe),Q++}}else if(Q>ge)for(;Q<=le;)Y(w[Q],H,J,!0),Q++;else{const ye=Q,Ee=Q,Ne=new Map;for(Q=Ee;Q<=ge;Q++){const pt=T[Q]=oe?kn(T[Q]):Qt(T[Q]);pt.key!=null&&Ne.set(pt.key,Q)}let Ae,at=0;const ot=ge-Ee+1;let $t=!1,xt=0;const Pn=new Array(ot);for(Q=0;Q=ot){Y(pt,H,J,!0);continue}let kt;if(pt.key!=null)kt=Ne.get(pt.key);else for(Ae=Ee;Ae<=ge;Ae++)if(Pn[Ae-Ee]===0&&Yn(pt,T[Ae])){kt=Ae;break}kt===void 0?Y(pt,H,J,!0):(Pn[kt-Ee]=Q+1,kt>=xt?xt=kt:$t=!0,x(pt,T[kt],A,null,H,J,ce,ue,oe),at++)}const ri=$t?jm(Pn):wi;for(Ae=ri.length-1,Q=ot-1;Q>=0;Q--){const pt=Ee+Q,kt=T[pt],Sn=pt+1<_e?T[pt+1].el:B;Pn[Q]===0?x(null,kt,A,Sn,H,J,ce,ue,oe):$t&&(Ae<0||Q!==ri[Ae]?D(kt,A,Sn,2):Ae--)}}},D=(w,T,A,B,H=null)=>{const{el:J,type:ce,transition:ue,children:oe,shapeFlag:Q}=w;if(Q&6){D(w.component.subTree,T,A,B);return}if(Q&128){w.suspense.move(T,A,B);return}if(Q&64){ce.move(w,T,A,ae);return}if(ce===Ye){s(J,T,A);for(let le=0;leue.enter(J),H);else{const{leave:le,delayLeave:ge,afterLeave:ye}=ue,Ee=()=>s(J,T,A),Ne=()=>{le(J,()=>{Ee(),ye&&ye()})};ge?ge(J,Ee,Ne):Ne()}else s(J,T,A)},Y=(w,T,A,B=!1,H=!1)=>{const{type:J,props:ce,ref:ue,children:oe,dynamicChildren:Q,shapeFlag:_e,patchFlag:le,dirs:ge,cacheIndex:ye}=w;if(le===-2&&(H=!1),ue!=null&&As(ue,null,A,w,!0),ye!=null&&(T.renderCache[ye]=void 0),_e&256){T.ctx.deactivate(w);return}const Ee=_e&1&&ge,Ne=!$i(w);let Ae;if(Ne&&(Ae=ce&&ce.onVnodeBeforeUnmount)&&Yt(Ae,T,w),_e&6)M(w.component,A,B);else{if(_e&128){w.suspense.unmount(A,B);return}Ee&&Fn(w,null,T,"beforeUnmount"),_e&64?w.type.remove(w,T,A,ae,B):Q&&!Q.hasOnce&&(J!==Ye||le>0&&le&64)?q(Q,T,A,!1,!0):(J===Ye&&le&384||!H&&_e&16)&&q(oe,T,A),B&&Z(w)}(Ne&&(Ae=ce&&ce.onVnodeUnmounted)||Ee)&&Tt(()=>{Ae&&Yt(Ae,T,w),Ee&&Fn(w,null,T,"unmounted")},A)},Z=w=>{const{type:T,el:A,anchor:B,transition:H}=w;if(T===Ye){R(A,B);return}if(T===Cs){C(w);return}const J=()=>{a(A),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(w.shapeFlag&1&&H&&!H.persisted){const{leave:ce,delayLeave:ue}=H,oe=()=>ce(A,J);ue?ue(w.el,J,oe):oe()}else J()},R=(w,T)=>{let A;for(;w!==T;)A=y(w),a(w),w=A;a(T)},M=(w,T,A)=>{const{bum:B,scope:H,job:J,subTree:ce,um:ue,m:oe,a:Q}=w;ec(oe),ec(Q),B&&Es(B),H.stop(),J&&(J.flags|=8,Y(ce,w,T,A)),ue&&Tt(ue,T),Tt(()=>{w.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},q=(w,T,A,B=!1,H=!1,J=0)=>{for(let ce=J;ce{if(w.shapeFlag&6)return j(w.component.subTree);if(w.shapeFlag&128)return w.suspense.next();const T=y(w.anchor||w.el),A=T&&T[am];return A?y(A):T};let G=!1;const ee=(w,T,A)=>{w==null?T._vnode&&Y(T._vnode,null,null,!0):x(T._vnode||null,w,T,null,null,null,A),T._vnode=w,G||(G=!0,Uu(),Zf(),G=!1)},ae={p:x,um:Y,m:D,r:Z,mt:me,mc:V,pc:re,pbc:se,n:j,o:t};return{render:ee,hydrate:void 0,createApp:Lm(ee)}}function Zo({type:t,props:n},r){return r==="svg"&&t==="foreignObject"||r==="mathml"&&t==="annotation-xml"&&n&&n.encoding&&n.encoding.includes("html")?void 0:r}function Vn({effect:t,job:n},r){r?(t.flags|=32,n.flags|=4):(t.flags&=-33,n.flags&=-5)}function Dm(t,n){return(!t||t&&!t.pendingBranch)&&n&&!n.persisted}function vh(t,n,r=!1){const s=t.children,a=n.children;if(Pe(s)&&Pe(a))for(let u=0;u>1,t[r[f]]<_?u=f+1:l=f;_0&&(n[s]=r[u-1]),r[u]=s)}}for(u=r.length,l=r[u-1];u-- >0;)r[u]=l,l=n[l];return r}function yh(t){const n=t.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:yh(n)}function ec(t){if(t)for(let n=0;nFt(Bm);function yn(t,n,r){return wh(t,n,r)}function wh(t,n,r=He){const{immediate:s,deep:a,flush:u,once:l}=r,f=lt({},r),h=n&&s||!n&&u!=="post";let _;if(hr){if(u==="sync"){const E=qm();_=E.__watcherHandles||(E.__watcherHandles=[])}else if(!h){const E=()=>{};return E.stop=tn,E.resume=tn,E.pause=tn,E}}const m=dt;f.call=(E,$,x)=>Vt(E,m,$,x);let g=!1;u==="post"?f.scheduler=E=>{Tt(E,m&&m.suspense)}:u!=="sync"&&(g=!0,f.scheduler=(E,$)=>{$?E():Na(E)}),f.augmentJob=E=>{n&&(E.flags|=4),g&&(E.flags|=2,m&&(E.id=m.uid,E.i=m))};const y=nm(t,n,f);return hr&&(_?_.push(y):h&&y()),y}function Zm(t,n,r){const s=this.proxy,a=Qe(t)?t.includes(".")?bh(s,t):()=>s[t]:t.bind(s,s);let u;Te(n)?u=n:(u=n.handler,r=n);const l=vr(this),f=wh(a,u.bind(s),r);return l(),f}function bh(t,n){const r=n.split(".");return()=>{let s=t;for(let a=0;an==="modelValue"||n==="model-value"?t.modelModifiers:t[`${n}Modifiers`]||t[`${Dt(n)}Modifiers`]||t[`${ii(n)}Modifiers`];function Vm(t,n,...r){if(t.isUnmounted)return;const s=t.vnode.props||He;let a=r;const u=n.startsWith("update:"),l=u&&Fm(s,n.slice(7));l&&(l.trim&&(a=r.map(m=>Qe(m)?m.trim():m)),l.number&&(a=r.map(ua)));let f,h=s[f=Mo(n)]||s[f=Mo(Dt(n))];!h&&u&&(h=s[f=Mo(ii(n))]),h&&Vt(h,t,6,a);const _=s[f+"Once"];if(_){if(!t.emitted)t.emitted={};else if(t.emitted[f])return;t.emitted[f]=!0,Vt(_,t,6,a)}}function Ph(t,n,r=!1){const s=n.emitsCache,a=s.get(t);if(a!==void 0)return a;const u=t.emits;let l={},f=!1;if(!Te(t)){const h=_=>{const m=Ph(_,n,!0);m&&(f=!0,lt(l,m))};!r&&n.mixins.length&&n.mixins.forEach(h),t.extends&&h(t.extends),t.mixins&&t.mixins.forEach(h)}return!u&&!f?(We(t)&&s.set(t,null),null):(Pe(u)?u.forEach(h=>l[h]=null):lt(l,u),We(t)&&s.set(t,l),l)}function Ws(t,n){return!t||!Ds(n)?!1:(n=n.slice(2).replace(/Once$/,""),qe(t,n[0].toLowerCase()+n.slice(1))||qe(t,ii(n))||qe(t,n))}function tc(t){const{type:n,vnode:r,proxy:s,withProxy:a,propsOptions:[u],slots:l,attrs:f,emit:h,render:_,renderCache:m,props:g,data:y,setupState:E,ctx:$,inheritAttrs:x}=t,b=Os(t);let P,p;try{if(r.shapeFlag&4){const C=a||s,O=C;P=Qt(_.call(O,C,m,g,E,y,$)),p=f}else{const C=n;P=Qt(C.length>1?C(g,{attrs:f,slots:l,emit:h}):C(g,null)),p=n.props?f:Hm(f)}}catch(C){ir.length=0,Hs(C,t,1),P=ke(Pt)}let v=P;if(p&&x!==!1){const C=Object.keys(p),{shapeFlag:O}=v;C.length&&O&7&&(u&&C.some(Ea)&&(p=Um(p,u)),v=In(v,p,!1,!0))}return r.dirs&&(v=In(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(r.dirs):r.dirs),r.transition&&cr(v,r.transition),P=v,Os(b),P}const Hm=t=>{let n;for(const r in t)(r==="class"||r==="style"||Ds(r))&&((n||(n={}))[r]=t[r]);return n},Um=(t,n)=>{const r={};for(const s in t)(!Ea(s)||!(s.slice(9)in n))&&(r[s]=t[s]);return r};function Km(t,n,r){const{props:s,children:a,component:u}=t,{props:l,children:f,patchFlag:h}=n,_=u.emitsOptions;if(n.dirs||n.transition)return!0;if(r&&h>=0){if(h&1024)return!0;if(h&16)return s?nc(s,l,_):!!l;if(h&8){const m=n.dynamicProps;for(let g=0;gt.__isSuspense;function Gm(t,n){n&&n.pendingBranch?Pe(t)?n.effects.push(...t):n.effects.push(t):sm(t)}const Ye=Symbol.for("v-fgt"),Gs=Symbol.for("v-txt"),Pt=Symbol.for("v-cmt"),Cs=Symbol.for("v-stc"),ir=[];let Rt=null;function he(t=!1){ir.push(Rt=t?null:[])}function Jm(){ir.pop(),Rt=ir[ir.length-1]||null}let lr=1;function ic(t,n=!1){lr+=t,t<0&&Rt&&n&&(Rt.hasOnce=!0)}function $h(t){return t.dynamicChildren=lr>0?Rt||wi:null,Jm(),lr>0&&Rt&&Rt.push(t),t}function we(t,n,r,s,a,u){return $h(ne(t,n,r,s,a,u,!0))}function Fe(t,n,r,s,a){return $h(ke(t,n,r,s,a,!0))}function fr(t){return t?t.__v_isVNode===!0:!1}function Yn(t,n){return t.type===n.type&&t.key===n.key}const Eh=({key:t})=>t??null,Rs=({ref:t,ref_key:n,ref_for:r})=>(typeof t=="number"&&(t=""+t),t!=null?Qe(t)||gt(t)||Te(t)?{i:ct,r:t,k:n,f:!!r}:t:null);function ne(t,n=null,r=null,s=0,a=null,u=t===Ye?0:1,l=!1,f=!1){const h={__v_isVNode:!0,__v_skip:!0,type:t,props:n,key:n&&Eh(n),ref:n&&Rs(n),scopeId:Vf,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:u,patchFlag:s,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:ct};return f?(Da(h,r),u&128&&t.normalize(h)):r&&(h.shapeFlag|=Qe(r)?8:16),lr>0&&!l&&Rt&&(h.patchFlag>0||u&6)&&h.patchFlag!==32&&Rt.push(h),h}const ke=Ym;function Ym(t,n=null,r=null,s=0,a=null,u=!1){if((!t||t===nh)&&(t=Pt),fr(t)){const f=In(t,n,!0);return r&&Da(f,r),lr>0&&!u&&Rt&&(f.shapeFlag&6?Rt[Rt.indexOf(t)]=f:Rt.push(f)),f.patchFlag=-2,f}if(l_(t)&&(t=t.__vccOpts),n){n=Xm(n);let{class:f,style:h}=n;f&&!Qe(f)&&(n.class=Xn(f)),We(h)&&(Ma(h)&&!Pe(h)&&(h=lt({},h)),n.style=Ra(h))}const l=Qe(t)?1:Sh(t)?128:Hf(t)?64:We(t)?4:Te(t)?2:0;return ne(t,n,r,s,a,l,u,!0)}function Xm(t){return t?Ma(t)||fh(t)?lt({},t):t:null}function In(t,n,r=!1,s=!1){const{props:a,ref:u,patchFlag:l,children:f,transition:h}=t,_=n?e_(a||{},n):a,m={__v_isVNode:!0,__v_skip:!0,type:t.type,props:_,key:_&&Eh(_),ref:n&&n.ref?r&&u?Pe(u)?u.concat(Rs(n)):[u,Rs(n)]:Rs(n):u,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:f,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:n&&t.type!==Ye?l===-1?16:l|16:l,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:h,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&In(t.ssContent),ssFallback:t.ssFallback&&In(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return h&&s&&cr(m,h.clone(m)),m}function rn(t=" ",n=0){return ke(Gs,null,t,n)}function Qm(t,n){const r=ke(Cs,null,t);return r.staticCount=n,r}function Ve(t="",n=!1){return n?(he(),Fe(Pt,null,t)):ke(Pt,null,t)}function Qt(t){return t==null||typeof t=="boolean"?ke(Pt):Pe(t)?ke(Ye,null,t.slice()):fr(t)?kn(t):ke(Gs,null,String(t))}function kn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:In(t)}function Da(t,n){let r=0;const{shapeFlag:s}=t;if(n==null)n=null;else if(Pe(n))r=16;else if(typeof n=="object")if(s&65){const a=n.default;a&&(a._c&&(a._d=!1),Da(t,a()),a._c&&(a._d=!0));return}else{r=32;const a=n._;!a&&!fh(n)?n._ctx=ct:a===3&&ct&&(ct.slots._===1?n._=1:(n._=2,t.patchFlag|=1024))}else Te(n)?(n={default:n,_ctx:ct},r=32):(n=String(n),s&64?(r=16,n=[rn(n)]):r=8);t.children=n,t.shapeFlag|=r}function e_(...t){const n={};for(let r=0;rdt||ct;let Ms,ya;{const t=Zs(),n=(r,s)=>{let a;return(a=t[r])||(a=t[r]=[]),a.push(s),u=>{a.length>1?a.forEach(l=>l(u)):a[0](u)}};Ms=n("__VUE_INSTANCE_SETTERS__",r=>dt=r),ya=n("__VUE_SSR_SETTERS__",r=>hr=r)}const vr=t=>{const n=dt;return Ms(t),t.scope.on(),()=>{t.scope.off(),Ms(n)}},rc=()=>{dt&&dt.scope.off(),Ms(null)};function Th(t){return t.vnode.shapeFlag&4}let hr=!1;function s_(t,n=!1,r=!1){n&&ya(n);const{props:s,children:a}=t.vnode,u=Th(t);xm(t,s,u,n),Im(t,a,r);const l=u?o_(t,n):void 0;return n&&ya(!1),l}function o_(t,n){const r=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Pm);const{setup:s}=r;if(s){Mn();const a=t.setupContext=s.length>1?u_(t):null,u=vr(t),l=_r(s,t,0,[t.props,a]),f=pf(l);if(Nn(),u(),(f||t.sp)&&!$i(t)&&Yf(t),f){if(l.then(rc,rc),n)return l.then(h=>{sc(t,h)}).catch(h=>{Hs(h,t,0)});t.asyncDep=l}else sc(t,l)}else Ch(t)}function sc(t,n,r){Te(n)?t.type.__ssrInlineRender?t.ssrRender=n:t.render=n:We(n)&&(t.setupState=Df(n)),Ch(t)}function Ch(t,n,r){const s=t.type;t.render||(t.render=s.render||tn);{const a=vr(t);Mn();try{Sm(t)}finally{Nn(),a()}}}const a_={get(t,n){return mt(t,"get",""),t[n]}};function u_(t){const n=r=>{t.exposed=r||{}};return{attrs:new Proxy(t.attrs,a_),slots:t.slots,emit:t.emit,expose:n}}function Js(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Df(Gp(t.exposed)),{get(n,r){if(r in n)return n[r];if(r in nr)return nr[r](t)},has(n,r){return r in n||r in nr}})):t.proxy}function c_(t,n=!0){return Te(t)?t.displayName||t.name:t.name||n&&t.__name}function l_(t){return Te(t)&&"__vccOpts"in t}const st=(t,n)=>em(t,n,hr);function ja(t,n,r){const s=arguments.length;return s===2?We(n)&&!Pe(n)?fr(n)?ke(t,null,[n]):ke(t,n):ke(t,null,n):(s>3?r=Array.prototype.slice.call(arguments,2):s===3&&fr(r)&&(r=[r]),ke(t,n,r))}const f_="3.5.13";/** * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let wa;const oc=typeof window<"u"&&window.trustedTypes;if(oc)try{wa=oc.createPolicy("vue",{createHTML:t=>t})}catch{}const Rh=wa?t=>wa.createHTML(t):t=>t,h_="http://www.w3.org/2000/svg",d_="http://www.w3.org/1998/Math/MathML",mn=typeof document<"u"?document:null,ac=mn&&mn.createElement("template"),p_={insert:(t,n,r)=>{n.insertBefore(t,r||null)},remove:t=>{const n=t.parentNode;n&&n.removeChild(t)},createElement:(t,n,r,s)=>{const a=n==="svg"?mn.createElementNS(h_,t):n==="mathml"?mn.createElementNS(d_,t):r?mn.createElement(t,{is:r}):mn.createElement(t);return t==="select"&&s&&s.multiple!=null&&a.setAttribute("multiple",s.multiple),a},createText:t=>mn.createTextNode(t),createComment:t=>mn.createComment(t),setText:(t,n)=>{t.nodeValue=n},setElementText:(t,n)=>{t.textContent=n},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>mn.querySelector(t),setScopeId(t,n){t.setAttribute(n,"")},insertStaticContent(t,n,r,s,a,u){const l=r?r.previousSibling:n.lastChild;if(a&&(a===u||a.nextSibling))for(;n.insertBefore(a.cloneNode(!0),r),!(a===u||!(a=a.nextSibling)););else{ac.innerHTML=Rh(s==="svg"?`${t}`:s==="mathml"?`${t}`:t);const f=ac.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[l?l.nextSibling:n.firstChild,r?r.previousSibling:n.lastChild]}},Tn="transition",Ui="animation",dr=Symbol("_vtc"),Lh={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},m_=lt({},Uf,Lh),__=t=>(t.displayName="Transition",t.props=m_,t),Ti=__((t,{slots:n})=>ja(lm,g_(t),n)),Hn=(t,n=[])=>{Pe(t)?t.forEach(r=>r(...n)):t&&t(...n)},uc=t=>t?Pe(t)?t.some(n=>n.length>1):t.length>1:!1;function g_(t){const n={};for(const X in t)X in Lh||(n[X]=t[X]);if(t.css===!1)return n;const{name:r="v",type:s,duration:a,enterFromClass:u=`${r}-enter-from`,enterActiveClass:l=`${r}-enter-active`,enterToClass:f=`${r}-enter-to`,appearFromClass:h=u,appearActiveClass:_=l,appearToClass:m=f,leaveFromClass:g=`${r}-leave-from`,leaveActiveClass:y=`${r}-leave-active`,leaveToClass:E=`${r}-leave-to`}=t,$=v_(a),x=$&&$[0],b=$&&$[1],{onBeforeEnter:P,onEnter:p,onEnterCancelled:v,onLeave:C,onLeaveCancelled:O,onBeforeAppear:k=P,onAppear:I=p,onAppearCancelled:V=v}=n,W=(X,fe,me,Ie)=>{X._enterCancelled=Ie,Un(X,fe?m:f),Un(X,fe?_:l),me&&me()},se=(X,fe)=>{X._isLeaving=!1,Un(X,g),Un(X,E),Un(X,y),fe&&fe()},ne=X=>(fe,me)=>{const Ie=X?I:p,Se=()=>W(fe,X,me);Hn(Ie,[fe,Se]),cc(()=>{Un(fe,X?h:u),ln(fe,X?m:f),uc(Ie)||lc(fe,s,x,Se)})};return lt(n,{onBeforeEnter(X){Hn(P,[X]),ln(X,u),ln(X,l)},onBeforeAppear(X){Hn(k,[X]),ln(X,h),ln(X,_)},onEnter:ne(!1),onAppear:ne(!0),onLeave(X,fe){X._isLeaving=!0;const me=()=>se(X,fe);ln(X,g),X._enterCancelled?(ln(X,y),dc()):(dc(),ln(X,y)),cc(()=>{X._isLeaving&&(Un(X,g),ln(X,E),uc(C)||lc(X,s,b,me))}),Hn(C,[X,me])},onEnterCancelled(X){W(X,!1,void 0,!0),Hn(v,[X])},onAppearCancelled(X){W(X,!0,void 0,!0),Hn(V,[X])},onLeaveCancelled(X){se(X),Hn(O,[X])}})}function v_(t){if(t==null)return null;if(We(t))return[Fo(t.enter),Fo(t.leave)];{const n=Fo(t);return[n,n]}}function Fo(t){return Pp(t)}function ln(t,n){n.split(/\s+/).forEach(r=>r&&t.classList.add(r)),(t[dr]||(t[dr]=new Set)).add(n)}function Un(t,n){n.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const r=t[dr];r&&(r.delete(n),r.size||(t[dr]=void 0))}function cc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let y_=0;function lc(t,n,r,s){const a=t._endId=++y_,u=()=>{a===t._endId&&s()};if(r!=null)return setTimeout(u,r);const{type:l,timeout:f,propCount:h}=w_(t,n);if(!l)return s();const _=l+"end";let m=0;const g=()=>{t.removeEventListener(_,y),u()},y=E=>{E.target===t&&++m>=h&&g()};setTimeout(()=>{m(r[$]||"").split(", "),a=s(`${Tn}Delay`),u=s(`${Tn}Duration`),l=fc(a,u),f=s(`${Ui}Delay`),h=s(`${Ui}Duration`),_=fc(f,h);let m=null,g=0,y=0;n===Tn?l>0&&(m=Tn,g=l,y=u.length):n===Ui?_>0&&(m=Ui,g=_,y=h.length):(g=Math.max(l,_),m=g>0?l>_?Tn:Ui:null,y=m?m===Tn?u.length:h.length:0);const E=m===Tn&&/\b(transform|all)(,|$)/.test(s(`${Tn}Property`).toString());return{type:m,timeout:g,propCount:y,hasTransform:E}}function fc(t,n){for(;t.lengthhc(r)+hc(t[s])))}function hc(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function dc(){return document.body.offsetHeight}function b_(t,n,r){const s=t[dr];s&&(n=(n?[n,...s]:[...s]).join(" ")),n==null?t.removeAttribute("class"):r?t.setAttribute("class",n):t.className=n}const pc=Symbol("_vod"),P_=Symbol("_vsh"),S_=Symbol(""),$_=/(^|;)\s*display\s*:/;function E_(t,n,r){const s=t.style,a=Qe(r);let u=!1;if(r&&!a){if(n)if(Qe(n))for(const l of n.split(";")){const f=l.slice(0,l.indexOf(":")).trim();r[f]==null&&Ls(s,f,"")}else for(const l in n)r[l]==null&&Ls(s,l,"");for(const l in r)l==="display"&&(u=!0),Ls(s,l,r[l])}else if(a){if(n!==r){const l=s[S_];l&&(r+=";"+l),s.cssText=r,u=$_.test(r)}}else n&&t.removeAttribute("style");pc in t&&(t[pc]=u?s.display:"",t[P_]&&(s.display="none"))}const mc=/\s*!important$/;function Ls(t,n,r){if(Pe(r))r.forEach(s=>Ls(t,n,s));else if(r==null&&(r=""),n.startsWith("--"))t.setProperty(n,r);else{const s=T_(t,n);mc.test(r)?t.setProperty(ii(s),r.replace(mc,""),"important"):t[s]=r}}const _c=["Webkit","Moz","ms"],Vo={};function T_(t,n){const r=Vo[n];if(r)return r;let s=Dt(n);if(s!=="filter"&&s in t)return Vo[n]=s;s=qs(s);for(let a=0;a<_c.length;a++){const u=_c[a]+s;if(u in t)return Vo[n]=u}return n}const gc="http://www.w3.org/1999/xlink";function vc(t,n,r,s,a,u=Rp(n)){s&&n.startsWith("xlink:")?r==null?t.removeAttributeNS(gc,n.slice(6,n.length)):t.setAttributeNS(gc,n,r):r==null||u&&!vf(r)?t.removeAttribute(n):t.setAttribute(n,u?"":wn(r)?String(r):r)}function yc(t,n,r,s,a){if(n==="innerHTML"||n==="textContent"){r!=null&&(t[n]=n==="innerHTML"?Rh(r):r);return}const u=t.tagName;if(n==="value"&&u!=="PROGRESS"&&!u.includes("-")){const f=u==="OPTION"?t.getAttribute("value")||"":t.value,h=r==null?t.type==="checkbox"?"on":"":String(r);(f!==h||!("_value"in t))&&(t.value=h),r==null&&t.removeAttribute(n),t._value=r;return}let l=!1;if(r===""||r==null){const f=typeof t[n];f==="boolean"?r=vf(r):r==null&&f==="string"?(r="",l=!0):f==="number"&&(r=0,l=!0)}try{t[n]=r}catch{}l&&t.removeAttribute(a||n)}function vi(t,n,r,s){t.addEventListener(n,r,s)}function C_(t,n,r,s){t.removeEventListener(n,r,s)}const wc=Symbol("_vei");function R_(t,n,r,s,a=null){const u=t[wc]||(t[wc]={}),l=u[n];if(s&&l)l.value=s;else{const[f,h]=L_(n);if(s){const _=u[n]=O_(s,a);vi(t,f,_,h)}else l&&(C_(t,f,l,h),u[n]=void 0)}}const bc=/(?:Once|Passive|Capture)$/;function L_(t){let n;if(bc.test(t)){n={};let s;for(;s=t.match(bc);)t=t.slice(0,t.length-s[0].length),n[s[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):ii(t.slice(2)),n]}let Ho=0;const x_=Promise.resolve(),k_=()=>Ho||(x_.then(()=>Ho=0),Ho=Date.now());function O_(t,n){const r=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=r.attached)return;Vt(A_(s,r.value),n,5,[s])};return r.value=t,r.attached=k_(),r}function A_(t,n){if(Pe(n)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},n.map(s=>a=>!a._stopped&&s&&s(a))}else return n}const Pc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,I_=(t,n,r,s,a,u)=>{const l=a==="svg";n==="class"?b_(t,s,l):n==="style"?E_(t,r,s):Ds(n)?Ea(n)||R_(t,n,r,s,u):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):M_(t,n,s,l))?(yc(t,n,s),!t.tagName.includes("-")&&(n==="value"||n==="checked"||n==="selected")&&vc(t,n,s,l,u,n!=="value")):t._isVueCE&&(/[A-Z]/.test(n)||!Qe(s))?yc(t,Dt(n),s,u,n):(n==="true-value"?t._trueValue=s:n==="false-value"&&(t._falseValue=s),vc(t,n,s,l))};function M_(t,n,r,s){if(s)return!!(n==="innerHTML"||n==="textContent"||n in t&&Pc(n)&&Te(r));if(n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&t.tagName==="INPUT"||n==="type"&&t.tagName==="TEXTAREA")return!1;if(n==="width"||n==="height"){const a=t.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return Pc(n)&&Qe(r)?!1:n in t}const Sc=t=>{const n=t.props["onUpdate:modelValue"]||!1;return Pe(n)?r=>Es(n,r):n};function N_(t){t.target.composing=!0}function $c(t){const n=t.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const Uo=Symbol("_assign"),z_={created(t,{modifiers:{lazy:n,trim:r,number:s}},a){t[Uo]=Sc(a);const u=s||a.props&&a.props.type==="number";vi(t,n?"change":"input",l=>{if(l.target.composing)return;let f=t.value;r&&(f=f.trim()),u&&(f=ua(f)),t[Uo](f)}),r&&vi(t,"change",()=>{t.value=t.value.trim()}),n||(vi(t,"compositionstart",N_),vi(t,"compositionend",$c),vi(t,"change",$c))},mounted(t,{value:n}){t.value=n??""},beforeUpdate(t,{value:n,oldValue:r,modifiers:{lazy:s,trim:a,number:u}},l){if(t[Uo]=Sc(l),t.composing)return;const f=(u||t.type==="number")&&!/^0\d/.test(t.value)?ua(t.value):t.value,h=n??"";f!==h&&(document.activeElement===t&&t.type!=="range"&&(s&&n===r||a&&t.value.trim()===h)||(t.value=h))}},D_=lt({patchProp:I_},p_);let Ec;function j_(){return Ec||(Ec=Nm(D_))}const B_=(...t)=>{const n=j_().createApp(...t),{mount:r}=n;return n.mount=s=>{const a=Z_(s);if(!a)return;const u=n._component;!Te(u)&&!u.render&&!u.template&&(u.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const l=r(a,!1,q_(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),l},n};function q_(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Z_(t){return Qe(t)?document.querySelector(t):t}/*! +**/let wa;const oc=typeof window<"u"&&window.trustedTypes;if(oc)try{wa=oc.createPolicy("vue",{createHTML:t=>t})}catch{}const Rh=wa?t=>wa.createHTML(t):t=>t,h_="http://www.w3.org/2000/svg",d_="http://www.w3.org/1998/Math/MathML",mn=typeof document<"u"?document:null,ac=mn&&mn.createElement("template"),p_={insert:(t,n,r)=>{n.insertBefore(t,r||null)},remove:t=>{const n=t.parentNode;n&&n.removeChild(t)},createElement:(t,n,r,s)=>{const a=n==="svg"?mn.createElementNS(h_,t):n==="mathml"?mn.createElementNS(d_,t):r?mn.createElement(t,{is:r}):mn.createElement(t);return t==="select"&&s&&s.multiple!=null&&a.setAttribute("multiple",s.multiple),a},createText:t=>mn.createTextNode(t),createComment:t=>mn.createComment(t),setText:(t,n)=>{t.nodeValue=n},setElementText:(t,n)=>{t.textContent=n},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>mn.querySelector(t),setScopeId(t,n){t.setAttribute(n,"")},insertStaticContent(t,n,r,s,a,u){const l=r?r.previousSibling:n.lastChild;if(a&&(a===u||a.nextSibling))for(;n.insertBefore(a.cloneNode(!0),r),!(a===u||!(a=a.nextSibling)););else{ac.innerHTML=Rh(s==="svg"?`${t}`:s==="mathml"?`${t}`:t);const f=ac.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[l?l.nextSibling:n.firstChild,r?r.previousSibling:n.lastChild]}},Tn="transition",Ui="animation",dr=Symbol("_vtc"),Lh={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},m_=lt({},Uf,Lh),__=t=>(t.displayName="Transition",t.props=m_,t),Ti=__((t,{slots:n})=>ja(lm,g_(t),n)),Hn=(t,n=[])=>{Pe(t)?t.forEach(r=>r(...n)):t&&t(...n)},uc=t=>t?Pe(t)?t.some(n=>n.length>1):t.length>1:!1;function g_(t){const n={};for(const X in t)X in Lh||(n[X]=t[X]);if(t.css===!1)return n;const{name:r="v",type:s,duration:a,enterFromClass:u=`${r}-enter-from`,enterActiveClass:l=`${r}-enter-active`,enterToClass:f=`${r}-enter-to`,appearFromClass:h=u,appearActiveClass:_=l,appearToClass:m=f,leaveFromClass:g=`${r}-leave-from`,leaveActiveClass:y=`${r}-leave-active`,leaveToClass:E=`${r}-leave-to`}=t,$=v_(a),x=$&&$[0],b=$&&$[1],{onBeforeEnter:P,onEnter:p,onEnterCancelled:v,onLeave:C,onLeaveCancelled:O,onBeforeAppear:k=P,onAppear:I=p,onAppearCancelled:V=v}=n,W=(X,fe,me,Ie)=>{X._enterCancelled=Ie,Un(X,fe?m:f),Un(X,fe?_:l),me&&me()},se=(X,fe)=>{X._isLeaving=!1,Un(X,g),Un(X,E),Un(X,y),fe&&fe()},ie=X=>(fe,me)=>{const Ie=X?I:p,Se=()=>W(fe,X,me);Hn(Ie,[fe,Se]),cc(()=>{Un(fe,X?h:u),ln(fe,X?m:f),uc(Ie)||lc(fe,s,x,Se)})};return lt(n,{onBeforeEnter(X){Hn(P,[X]),ln(X,u),ln(X,l)},onBeforeAppear(X){Hn(k,[X]),ln(X,h),ln(X,_)},onEnter:ie(!1),onAppear:ie(!0),onLeave(X,fe){X._isLeaving=!0;const me=()=>se(X,fe);ln(X,g),X._enterCancelled?(ln(X,y),dc()):(dc(),ln(X,y)),cc(()=>{X._isLeaving&&(Un(X,g),ln(X,E),uc(C)||lc(X,s,b,me))}),Hn(C,[X,me])},onEnterCancelled(X){W(X,!1,void 0,!0),Hn(v,[X])},onAppearCancelled(X){W(X,!0,void 0,!0),Hn(V,[X])},onLeaveCancelled(X){se(X),Hn(O,[X])}})}function v_(t){if(t==null)return null;if(We(t))return[Fo(t.enter),Fo(t.leave)];{const n=Fo(t);return[n,n]}}function Fo(t){return Pp(t)}function ln(t,n){n.split(/\s+/).forEach(r=>r&&t.classList.add(r)),(t[dr]||(t[dr]=new Set)).add(n)}function Un(t,n){n.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const r=t[dr];r&&(r.delete(n),r.size||(t[dr]=void 0))}function cc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let y_=0;function lc(t,n,r,s){const a=t._endId=++y_,u=()=>{a===t._endId&&s()};if(r!=null)return setTimeout(u,r);const{type:l,timeout:f,propCount:h}=w_(t,n);if(!l)return s();const _=l+"end";let m=0;const g=()=>{t.removeEventListener(_,y),u()},y=E=>{E.target===t&&++m>=h&&g()};setTimeout(()=>{m(r[$]||"").split(", "),a=s(`${Tn}Delay`),u=s(`${Tn}Duration`),l=fc(a,u),f=s(`${Ui}Delay`),h=s(`${Ui}Duration`),_=fc(f,h);let m=null,g=0,y=0;n===Tn?l>0&&(m=Tn,g=l,y=u.length):n===Ui?_>0&&(m=Ui,g=_,y=h.length):(g=Math.max(l,_),m=g>0?l>_?Tn:Ui:null,y=m?m===Tn?u.length:h.length:0);const E=m===Tn&&/\b(transform|all)(,|$)/.test(s(`${Tn}Property`).toString());return{type:m,timeout:g,propCount:y,hasTransform:E}}function fc(t,n){for(;t.lengthhc(r)+hc(t[s])))}function hc(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function dc(){return document.body.offsetHeight}function b_(t,n,r){const s=t[dr];s&&(n=(n?[n,...s]:[...s]).join(" ")),n==null?t.removeAttribute("class"):r?t.setAttribute("class",n):t.className=n}const pc=Symbol("_vod"),P_=Symbol("_vsh"),S_=Symbol(""),$_=/(^|;)\s*display\s*:/;function E_(t,n,r){const s=t.style,a=Qe(r);let u=!1;if(r&&!a){if(n)if(Qe(n))for(const l of n.split(";")){const f=l.slice(0,l.indexOf(":")).trim();r[f]==null&&Ls(s,f,"")}else for(const l in n)r[l]==null&&Ls(s,l,"");for(const l in r)l==="display"&&(u=!0),Ls(s,l,r[l])}else if(a){if(n!==r){const l=s[S_];l&&(r+=";"+l),s.cssText=r,u=$_.test(r)}}else n&&t.removeAttribute("style");pc in t&&(t[pc]=u?s.display:"",t[P_]&&(s.display="none"))}const mc=/\s*!important$/;function Ls(t,n,r){if(Pe(r))r.forEach(s=>Ls(t,n,s));else if(r==null&&(r=""),n.startsWith("--"))t.setProperty(n,r);else{const s=T_(t,n);mc.test(r)?t.setProperty(ii(s),r.replace(mc,""),"important"):t[s]=r}}const _c=["Webkit","Moz","ms"],Vo={};function T_(t,n){const r=Vo[n];if(r)return r;let s=Dt(n);if(s!=="filter"&&s in t)return Vo[n]=s;s=qs(s);for(let a=0;a<_c.length;a++){const u=_c[a]+s;if(u in t)return Vo[n]=u}return n}const gc="http://www.w3.org/1999/xlink";function vc(t,n,r,s,a,u=Rp(n)){s&&n.startsWith("xlink:")?r==null?t.removeAttributeNS(gc,n.slice(6,n.length)):t.setAttributeNS(gc,n,r):r==null||u&&!vf(r)?t.removeAttribute(n):t.setAttribute(n,u?"":wn(r)?String(r):r)}function yc(t,n,r,s,a){if(n==="innerHTML"||n==="textContent"){r!=null&&(t[n]=n==="innerHTML"?Rh(r):r);return}const u=t.tagName;if(n==="value"&&u!=="PROGRESS"&&!u.includes("-")){const f=u==="OPTION"?t.getAttribute("value")||"":t.value,h=r==null?t.type==="checkbox"?"on":"":String(r);(f!==h||!("_value"in t))&&(t.value=h),r==null&&t.removeAttribute(n),t._value=r;return}let l=!1;if(r===""||r==null){const f=typeof t[n];f==="boolean"?r=vf(r):r==null&&f==="string"?(r="",l=!0):f==="number"&&(r=0,l=!0)}try{t[n]=r}catch{}l&&t.removeAttribute(a||n)}function vi(t,n,r,s){t.addEventListener(n,r,s)}function C_(t,n,r,s){t.removeEventListener(n,r,s)}const wc=Symbol("_vei");function R_(t,n,r,s,a=null){const u=t[wc]||(t[wc]={}),l=u[n];if(s&&l)l.value=s;else{const[f,h]=L_(n);if(s){const _=u[n]=O_(s,a);vi(t,f,_,h)}else l&&(C_(t,f,l,h),u[n]=void 0)}}const bc=/(?:Once|Passive|Capture)$/;function L_(t){let n;if(bc.test(t)){n={};let s;for(;s=t.match(bc);)t=t.slice(0,t.length-s[0].length),n[s[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):ii(t.slice(2)),n]}let Ho=0;const x_=Promise.resolve(),k_=()=>Ho||(x_.then(()=>Ho=0),Ho=Date.now());function O_(t,n){const r=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=r.attached)return;Vt(A_(s,r.value),n,5,[s])};return r.value=t,r.attached=k_(),r}function A_(t,n){if(Pe(n)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},n.map(s=>a=>!a._stopped&&s&&s(a))}else return n}const Pc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,I_=(t,n,r,s,a,u)=>{const l=a==="svg";n==="class"?b_(t,s,l):n==="style"?E_(t,r,s):Ds(n)?Ea(n)||R_(t,n,r,s,u):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):M_(t,n,s,l))?(yc(t,n,s),!t.tagName.includes("-")&&(n==="value"||n==="checked"||n==="selected")&&vc(t,n,s,l,u,n!=="value")):t._isVueCE&&(/[A-Z]/.test(n)||!Qe(s))?yc(t,Dt(n),s,u,n):(n==="true-value"?t._trueValue=s:n==="false-value"&&(t._falseValue=s),vc(t,n,s,l))};function M_(t,n,r,s){if(s)return!!(n==="innerHTML"||n==="textContent"||n in t&&Pc(n)&&Te(r));if(n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&t.tagName==="INPUT"||n==="type"&&t.tagName==="TEXTAREA")return!1;if(n==="width"||n==="height"){const a=t.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return Pc(n)&&Qe(r)?!1:n in t}const Sc=t=>{const n=t.props["onUpdate:modelValue"]||!1;return Pe(n)?r=>Es(n,r):n};function N_(t){t.target.composing=!0}function $c(t){const n=t.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const Uo=Symbol("_assign"),z_={created(t,{modifiers:{lazy:n,trim:r,number:s}},a){t[Uo]=Sc(a);const u=s||a.props&&a.props.type==="number";vi(t,n?"change":"input",l=>{if(l.target.composing)return;let f=t.value;r&&(f=f.trim()),u&&(f=ua(f)),t[Uo](f)}),r&&vi(t,"change",()=>{t.value=t.value.trim()}),n||(vi(t,"compositionstart",N_),vi(t,"compositionend",$c),vi(t,"change",$c))},mounted(t,{value:n}){t.value=n??""},beforeUpdate(t,{value:n,oldValue:r,modifiers:{lazy:s,trim:a,number:u}},l){if(t[Uo]=Sc(l),t.composing)return;const f=(u||t.type==="number")&&!/^0\d/.test(t.value)?ua(t.value):t.value,h=n??"";f!==h&&(document.activeElement===t&&t.type!=="range"&&(s&&n===r||a&&t.value.trim()===h)||(t.value=h))}},D_=lt({patchProp:I_},p_);let Ec;function j_(){return Ec||(Ec=Nm(D_))}const B_=(...t)=>{const n=j_().createApp(...t),{mount:r}=n;return n.mount=s=>{const a=Z_(s);if(!a)return;const u=n._component;!Te(u)&&!u.render&&!u.template&&(u.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const l=r(a,!1,q_(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),l},n};function q_(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Z_(t){return Qe(t)?document.querySelector(t):t}/*! * vue-router v4.5.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const yi=typeof document<"u";function xh(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function F_(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&xh(t.default)}const Be=Object.assign;function Ko(t,n){const r={};for(const s in n){const a=n[s];r[s]=Ht(a)?a.map(t):t(a)}return r}const rr=()=>{},Ht=Array.isArray,kh=/#/g,V_=/&/g,H_=/\//g,U_=/=/g,K_=/\?/g,Oh=/\+/g,W_=/%5B/g,G_=/%5D/g,Ah=/%5E/g,J_=/%60/g,Ih=/%7B/g,Y_=/%7C/g,Mh=/%7D/g,X_=/%20/g;function Ba(t){return encodeURI(""+t).replace(Y_,"|").replace(W_,"[").replace(G_,"]")}function Q_(t){return Ba(t).replace(Ih,"{").replace(Mh,"}").replace(Ah,"^")}function ba(t){return Ba(t).replace(Oh,"%2B").replace(X_,"+").replace(kh,"%23").replace(V_,"%26").replace(J_,"`").replace(Ih,"{").replace(Mh,"}").replace(Ah,"^")}function eg(t){return ba(t).replace(U_,"%3D")}function tg(t){return Ba(t).replace(kh,"%23").replace(K_,"%3F")}function ng(t){return t==null?"":tg(t).replace(H_,"%2F")}function pr(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const ig=/\/$/,rg=t=>t.replace(ig,"");function Wo(t,n,r="/"){let s,a={},u="",l="";const f=n.indexOf("#");let h=n.indexOf("?");return f=0&&(h=-1),h>-1&&(s=n.slice(0,h),u=n.slice(h+1,f>-1?f:n.length),a=t(u)),f>-1&&(s=s||n.slice(0,f),l=n.slice(f,n.length)),s=ug(s??n,r),{fullPath:s+(u&&"?")+u+l,path:s,query:a,hash:pr(l)}}function sg(t,n){const r=n.query?t(n.query):"";return n.path+(r&&"?")+r+(n.hash||"")}function Tc(t,n){return!n||!t.toLowerCase().startsWith(n.toLowerCase())?t:t.slice(n.length)||"/"}function og(t,n,r){const s=n.matched.length-1,a=r.matched.length-1;return s>-1&&s===a&&Li(n.matched[s],r.matched[a])&&Nh(n.params,r.params)&&t(n.query)===t(r.query)&&n.hash===r.hash}function Li(t,n){return(t.aliasOf||t)===(n.aliasOf||n)}function Nh(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const r in t)if(!ag(t[r],n[r]))return!1;return!0}function ag(t,n){return Ht(t)?Cc(t,n):Ht(n)?Cc(n,t):t===n}function Cc(t,n){return Ht(n)?t.length===n.length&&t.every((r,s)=>r===n[s]):t.length===1&&t[0]===n}function ug(t,n){if(t.startsWith("/"))return t;if(!t)return n;const r=n.split("/"),s=t.split("/"),a=s[s.length-1];(a===".."||a===".")&&s.push("");let u=r.length-1,l,f;for(l=0;l1&&u--;else break;return r.slice(0,u).join("/")+"/"+s.slice(l).join("/")}const Cn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var mr;(function(t){t.pop="pop",t.push="push"})(mr||(mr={}));var sr;(function(t){t.back="back",t.forward="forward",t.unknown=""})(sr||(sr={}));function cg(t){if(!t)if(yi){const n=document.querySelector("base");t=n&&n.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),rg(t)}const lg=/^[^#]+#/;function fg(t,n){return t.replace(lg,"#")+n}function hg(t,n){const r=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:n.behavior,left:s.left-r.left-(n.left||0),top:s.top-r.top-(n.top||0)}}const Ys=()=>({left:window.scrollX,top:window.scrollY});function dg(t){let n;if("el"in t){const r=t.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=hg(a,t)}else n=t;"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 Rc(t,n){return(history.state?history.state.position-n:-1)+t}const Pa=new Map;function pg(t,n){Pa.set(t,n)}function mg(t){const n=Pa.get(t);return Pa.delete(t),n}let _g=()=>location.protocol+"//"+location.host;function zh(t,n){const{pathname:r,search:s,hash:a}=n,u=t.indexOf("#");if(u>-1){let f=a.includes(t.slice(u))?t.slice(u).length:1,h=a.slice(f);return h[0]!=="/"&&(h="/"+h),Tc(h,"")}return Tc(r,t)+s+a}function gg(t,n,r,s){let a=[],u=[],l=null;const f=({state:y})=>{const E=zh(t,location),$=r.value,x=n.value;let b=0;if(y){if(r.value=E,n.value=y,l&&l===$){l=null;return}b=x?y.position-x.position:0}else s(E);a.forEach(P=>{P(r.value,$,{delta:b,type:mr.pop,direction:b?b>0?sr.forward:sr.back:sr.unknown})})};function h(){l=r.value}function _(y){a.push(y);const E=()=>{const $=a.indexOf(y);$>-1&&a.splice($,1)};return u.push(E),E}function m(){const{history:y}=window;y.state&&y.replaceState(Be({},y.state,{scroll:Ys()}),"")}function g(){for(const y of u)y();u=[],window.removeEventListener("popstate",f),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",f),window.addEventListener("beforeunload",m,{passive:!0}),{pauseListeners:h,listen:_,destroy:g}}function Lc(t,n,r,s=!1,a=!1){return{back:t,current:n,forward:r,replaced:s,position:window.history.length,scroll:a?Ys():null}}function vg(t){const{history:n,location:r}=window,s={value:zh(t,r)},a={value:n.state};a.value||u(s.value,{back:null,current:s.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function u(h,_,m){const g=t.indexOf("#"),y=g>-1?(r.host&&document.querySelector("base")?t:t.slice(g))+h:_g()+t+h;try{n[m?"replaceState":"pushState"](_,"",y),a.value=_}catch(E){console.error(E),r[m?"replace":"assign"](y)}}function l(h,_){const m=Be({},n.state,Lc(a.value.back,h,a.value.forward,!0),_,{position:a.value.position});u(h,m,!0),s.value=h}function f(h,_){const m=Be({},a.value,n.state,{forward:h,scroll:Ys()});u(m.current,m,!0);const g=Be({},Lc(s.value,h,null),{position:m.position+1},_);u(h,g,!1),s.value=h}return{location:s,state:a,push:f,replace:l}}function yg(t){t=cg(t);const n=vg(t),r=gg(t,n.state,n.location,n.replace);function s(u,l=!0){l||r.pauseListeners(),history.go(u)}const a=Be({location:"",base:t,go:s,createHref:fg.bind(null,t)},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 wg(t){return typeof t=="string"||t&&typeof t=="object"}function Dh(t){return typeof t=="string"||typeof t=="symbol"}const jh=Symbol("");var xc;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(xc||(xc={}));function xi(t,n){return Be(new Error,{type:t,[jh]:!0},n)}function fn(t,n){return t instanceof Error&&jh in t&&(n==null||!!(t.type&n))}const kc="[^/]+?",bg={sensitive:!1,strict:!1,start:!0,end:!0},Pg=/[.+*?^${}()[\]/\\]/g;function Sg(t,n){const r=Be({},bg,n),s=[];let a=r.start?"^":"";const u=[];for(const _ of t){const m=_.length?[]:[90];r.strict&&!_.length&&(a+="/");for(let g=0;g<_.length;g++){const y=_[g];let E=40+(r.sensitive?.25:0);if(y.type===0)g||(a+="/"),a+=y.value.replace(Pg,"\\$&"),E+=40;else if(y.type===1){const{value:$,repeatable:x,optional:b,regexp:P}=y;u.push({name:$,repeatable:x,optional:b});const p=P||kc;if(p!==kc){E+=10;try{new RegExp(`(${p})`)}catch(C){throw new Error(`Invalid custom RegExp for param "${$}" (${p}): `+C.message)}}let v=x?`((?:${p})(?:/(?:${p}))*)`:`(${p})`;g||(v=b&&_.length<2?`(?:/${v})`:"/"+v),b&&(v+="?"),a+=v,E+=20,b&&(E+=-8),x&&(E+=-20),p===".*"&&(E+=-50)}m.push(E)}s.push(m)}if(r.strict&&r.end){const _=s.length-1;s[_][s[_].length-1]+=.7000000000000001}r.strict||(a+="/?"),r.end?a+="$":r.strict&&!a.endsWith("/")&&(a+="(?:/|$)");const l=new RegExp(a,r.sensitive?"":"i");function f(_){const m=_.match(l),g={};if(!m)return null;for(let y=1;yn.length?n.length===1&&n[0]===80?1:-1:0}function Bh(t,n){let r=0;const s=t.score,a=n.score;for(;r0&&n[n.length-1]<0}const Eg={type:0,value:""},Tg=/[a-zA-Z0-9_]/;function Cg(t){if(!t)return[[]];if(t==="/")return[[Eg]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function n(E){throw new Error(`ERR (${r})/"${_}": ${E}`)}let r=0,s=r;const a=[];let u;function l(){u&&a.push(u),u=[]}let f=0,h,_="",m="";function g(){_&&(r===0?u.push({type:0,value:_}):r===1||r===2||r===3?(u.length>1&&(h==="*"||h==="+")&&n(`A repeatable param (${_}) must be alone in its segment. eg: '/:ids+.`),u.push({type:1,value:_,regexp:m,repeatable:h==="*"||h==="+",optional:h==="*"||h==="?"})):n("Invalid state to consume buffer"),_="")}function y(){_+=h}for(;f{l(v)}:rr}function l(g){if(Dh(g)){const y=s.get(g);y&&(s.delete(g),r.splice(r.indexOf(y),1),y.children.forEach(l),y.alias.forEach(l))}else{const y=r.indexOf(g);y>-1&&(r.splice(y,1),g.record.name&&s.delete(g.record.name),g.children.forEach(l),g.alias.forEach(l))}}function f(){return r}function h(g){const y=Og(g,r);r.splice(y,0,g),g.record.name&&!Mc(g)&&s.set(g.record.name,g)}function _(g,y){let E,$={},x,b;if("name"in g&&g.name){if(E=s.get(g.name),!E)throw xi(1,{location:g});b=E.record.name,$=Be(Ac(y.params,E.keys.filter(v=>!v.optional).concat(E.parent?E.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),g.params&&Ac(g.params,E.keys.map(v=>v.name))),x=E.stringify($)}else if(g.path!=null)x=g.path,E=r.find(v=>v.re.test(x)),E&&($=E.parse(x),b=E.record.name);else{if(E=y.name?s.get(y.name):r.find(v=>v.re.test(y.path)),!E)throw xi(1,{location:g,currentLocation:y});b=E.record.name,$=Be({},y.params,g.params),x=E.stringify($)}const P=[];let p=E;for(;p;)P.unshift(p.record),p=p.parent;return{name:b,path:x,params:$,matched:P,meta:kg(P)}}t.forEach(g=>u(g));function m(){r.length=0,s.clear()}return{addRoute:u,resolve:_,removeRoute:l,clearRoutes:m,getRoutes:f,getRecordMatcher:a}}function Ac(t,n){const r={};for(const s of n)s in t&&(r[s]=t[s]);return r}function Ic(t){const n={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:xg(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(n,"mods",{value:{}}),n}function xg(t){const n={},r=t.props||!1;if("component"in t)n.default=r;else for(const s in t.components)n[s]=typeof r=="object"?r[s]:r;return n}function Mc(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function kg(t){return t.reduce((n,r)=>Be(n,r.meta),{})}function Nc(t,n){const r={};for(const s in t)r[s]=s in n?n[s]:t[s];return r}function Og(t,n){let r=0,s=n.length;for(;r!==s;){const u=r+s>>1;Bh(t,n[u])<0?s=u:r=u+1}const a=Ag(t);return a&&(s=n.lastIndexOf(a,s-1)),s}function Ag(t){let n=t;for(;n=n.parent;)if(qh(n)&&Bh(t,n)===0)return n}function qh({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function Ig(t){const n={};if(t===""||t==="?")return n;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let a=0;au&&ba(u)):[s&&ba(s)]).forEach(u=>{u!==void 0&&(n+=(n.length?"&":"")+r,u!=null&&(n+="="+u))})}return n}function Mg(t){const n={};for(const r in t){const s=t[r];s!==void 0&&(n[r]=Ht(s)?s.map(a=>a==null?null:""+a):s==null?s:""+s)}return n}const Ng=Symbol(""),Dc=Symbol(""),Xs=Symbol(""),qa=Symbol(""),Sa=Symbol("");function Ki(){let t=[];function n(s){return t.push(s),()=>{const a=t.indexOf(s);a>-1&&t.splice(a,1)}}function r(){t=[]}return{add:n,list:()=>t.slice(),reset:r}}function On(t,n,r,s,a,u=l=>l()){const l=s&&(s.enterCallbacks[a]=s.enterCallbacks[a]||[]);return()=>new Promise((f,h)=>{const _=y=>{y===!1?h(xi(4,{from:r,to:n})):y instanceof Error?h(y):wg(y)?h(xi(2,{from:n,to:y})):(l&&s.enterCallbacks[a]===l&&typeof y=="function"&&l.push(y),f())},m=u(()=>t.call(s&&s.instances[a],n,r,_));let g=Promise.resolve(m);t.length<3&&(g=g.then(_)),g.catch(y=>h(y))})}function Go(t,n,r,s,a=u=>u()){const u=[];for(const l of t)for(const f in l.components){let h=l.components[f];if(!(n!=="beforeRouteEnter"&&!l.instances[f]))if(xh(h)){const m=(h.__vccOpts||h)[n];m&&u.push(On(m,r,s,l,f,a))}else{let _=h();u.push(()=>_.then(m=>{if(!m)throw new Error(`Couldn't resolve component "${f}" at "${l.path}"`);const g=F_(m)?m.default:m;l.mods[f]=m,l.components[f]=g;const E=(g.__vccOpts||g)[n];return E&&On(E,r,s,l,f,a)()}))}}return u}function jc(t){const n=Ft(Xs),r=Ft(qa),s=st(()=>{const h=pe(t.to);return n.resolve(h)}),a=st(()=>{const{matched:h}=s.value,{length:_}=h,m=h[_-1],g=r.matched;if(!m||!g.length)return-1;const y=g.findIndex(Li.bind(null,m));if(y>-1)return y;const E=Bc(h[_-2]);return _>1&&Bc(m)===E&&g[g.length-1].path!==E?g.findIndex(Li.bind(null,h[_-2])):y}),u=st(()=>a.value>-1&&qg(r.params,s.value.params)),l=st(()=>a.value>-1&&a.value===r.matched.length-1&&Nh(r.params,s.value.params));function f(h={}){if(Bg(h)){const _=n[pe(t.replace)?"replace":"push"](pe(t.to)).catch(rr);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>_),_}return Promise.resolve()}return{route:s,href:st(()=>s.value.href),isActive:u,isExactActive:l,navigate:f}}function zg(t){return t.length===1?t[0]:t}const Dg=Ge({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:jc,setup(t,{slots:n}){const r=Vs(jc(t)),{options:s}=Ft(Xs),a=st(()=>({[qc(t.activeClass,s.linkActiveClass,"router-link-active")]:r.isActive,[qc(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const u=n.default&&zg(n.default(r));return t.custom?u:ja("a",{"aria-current":r.isExactActive?t.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},u)}}}),jg=Dg;function Bg(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const n=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return t.preventDefault&&t.preventDefault(),!0}}function qg(t,n){for(const r in n){const s=n[r],a=t[r];if(typeof s=="string"){if(s!==a)return!1}else if(!Ht(a)||a.length!==s.length||s.some((u,l)=>u!==a[l]))return!1}return!0}function Bc(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const qc=(t,n,r)=>t??n??r,Zg=Ge({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:n,slots:r}){const s=Ft(Sa),a=st(()=>t.route||s.value),u=Ft(Dc,0),l=st(()=>{let _=pe(u);const{matched:m}=a.value;let g;for(;(g=m[_])&&!g.components;)_++;return _}),f=st(()=>a.value.matched[l.value]);Ts(Dc,st(()=>l.value+1)),Ts(Ng,f),Ts(Sa,a);const h=Je();return yn(()=>[h.value,f.value,t.name],([_,m,g],[y,E,$])=>{m&&(m.instances[g]=_,E&&E!==m&&_&&_===y&&(m.leaveGuards.size||(m.leaveGuards=E.leaveGuards),m.updateGuards.size||(m.updateGuards=E.updateGuards))),_&&m&&(!E||!Li(m,E)||!y)&&(m.enterCallbacks[g]||[]).forEach(x=>x(_))},{flush:"post"}),()=>{const _=a.value,m=t.name,g=f.value,y=g&&g.components[m];if(!y)return Zc(r.default,{Component:y,route:_});const E=g.props[m],$=E?E===!0?_.params:typeof E=="function"?E(_):E:null,b=ja(y,Be({},$,n,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(g.instances[m]=null)},ref:h}));return Zc(r.default,{Component:b,route:_})||b}}});function Zc(t,n){if(!t)return null;const r=t(n);return r.length===1?r[0]:r}const Fg=Zg;function Vg(t){const n=Lg(t.routes,t),r=t.parseQuery||Ig,s=t.stringifyQuery||zc,a=t.history,u=Ki(),l=Ki(),f=Ki(),h=Jp(Cn);let _=Cn;yi&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Ko.bind(null,j=>""+j),g=Ko.bind(null,ng),y=Ko.bind(null,pr);function E(j,G){let ee,ae;return Dh(j)?(ee=n.getRecordMatcher(j),ae=G):ae=j,n.addRoute(ae,ee)}function $(j){const G=n.getRecordMatcher(j);G&&n.removeRoute(G)}function x(){return n.getRoutes().map(j=>j.record)}function b(j){return!!n.getRecordMatcher(j)}function P(j,G){if(G=Be({},G||h.value),typeof j=="string"){const A=Wo(r,j,G.path),B=n.resolve({path:A.path},G),H=a.createHref(A.fullPath);return Be(A,B,{params:y(B.params),hash:pr(A.hash),redirectedFrom:void 0,href:H})}let ee;if(j.path!=null)ee=Be({},j,{path:Wo(r,j.path,G.path).path});else{const A=Be({},j.params);for(const B in A)A[B]==null&&delete A[B];ee=Be({},j,{params:g(A)}),G.params=g(G.params)}const ae=n.resolve(ee,G),z=j.hash||"";ae.params=m(y(ae.params));const w=sg(s,Be({},j,{hash:Q_(z),path:ae.path})),T=a.createHref(w);return Be({fullPath:w,hash:z,query:s===zc?Mg(j.query):j.query||{}},ae,{redirectedFrom:void 0,href:T})}function p(j){return typeof j=="string"?Wo(r,j,h.value.path):Be({},j)}function v(j,G){if(_!==j)return xi(8,{from:G,to:j})}function C(j){return I(j)}function O(j){return C(Be(p(j),{replace:!0}))}function k(j){const G=j.matched[j.matched.length-1];if(G&&G.redirect){const{redirect:ee}=G;let ae=typeof ee=="function"?ee(j):ee;return typeof ae=="string"&&(ae=ae.includes("?")||ae.includes("#")?ae=p(ae):{path:ae},ae.params={}),Be({query:j.query,hash:j.hash,params:ae.path!=null?{}:j.params},ae)}}function I(j,G){const ee=_=P(j),ae=h.value,z=j.state,w=j.force,T=j.replace===!0,A=k(ee);if(A)return I(Be(p(A),{state:typeof A=="object"?Be({},z,A.state):z,force:w,replace:T}),G||ee);const B=ee;B.redirectedFrom=G;let H;return!w&&og(s,ae,ee)&&(H=xi(16,{to:B,from:ae}),D(ae,ae,!0,!1)),(H?Promise.resolve(H):se(B,ae)).catch(J=>fn(J)?fn(J,2)?J:K(J):re(J,B,ae)).then(J=>{if(J){if(fn(J,2))return I(Be({replace:T},p(J.to),{state:typeof J.to=="object"?Be({},z,J.to.state):z,force:w}),G||B)}else J=X(B,ae,!0,T,z);return ne(B,ae,J),J})}function V(j,G){const ee=v(j,G);return ee?Promise.reject(ee):Promise.resolve()}function W(j){const G=R.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(j):j()}function se(j,G){let ee;const[ae,z,w]=Hg(j,G);ee=Go(ae.reverse(),"beforeRouteLeave",j,G);for(const A of ae)A.leaveGuards.forEach(B=>{ee.push(On(B,j,G))});const T=V.bind(null,j,G);return ee.push(T),q(ee).then(()=>{ee=[];for(const A of u.list())ee.push(On(A,j,G));return ee.push(T),q(ee)}).then(()=>{ee=Go(z,"beforeRouteUpdate",j,G);for(const A of z)A.updateGuards.forEach(B=>{ee.push(On(B,j,G))});return ee.push(T),q(ee)}).then(()=>{ee=[];for(const A of w)if(A.beforeEnter)if(Ht(A.beforeEnter))for(const B of A.beforeEnter)ee.push(On(B,j,G));else ee.push(On(A.beforeEnter,j,G));return ee.push(T),q(ee)}).then(()=>(j.matched.forEach(A=>A.enterCallbacks={}),ee=Go(w,"beforeRouteEnter",j,G,W),ee.push(T),q(ee))).then(()=>{ee=[];for(const A of l.list())ee.push(On(A,j,G));return ee.push(T),q(ee)}).catch(A=>fn(A,8)?A:Promise.reject(A))}function ne(j,G,ee){f.list().forEach(ae=>W(()=>ae(j,G,ee)))}function X(j,G,ee,ae,z){const w=v(j,G);if(w)return w;const T=G===Cn,A=yi?history.state:{};ee&&(ae||T?a.replace(j.fullPath,Be({scroll:T&&A&&A.scroll},z)):a.push(j.fullPath,z)),h.value=j,D(j,G,ee,T),K()}let fe;function me(){fe||(fe=a.listen((j,G,ee)=>{if(!M.listening)return;const ae=P(j),z=k(ae);if(z){I(Be(z,{replace:!0,force:!0}),ae).catch(rr);return}_=ae;const w=h.value;yi&&pg(Rc(w.fullPath,ee.delta),Ys()),se(ae,w).catch(T=>fn(T,12)?T:fn(T,2)?(I(Be(p(T.to),{force:!0}),ae).then(A=>{fn(A,20)&&!ee.delta&&ee.type===mr.pop&&a.go(-1,!1)}).catch(rr),Promise.reject()):(ee.delta&&a.go(-ee.delta,!1),re(T,ae,w))).then(T=>{T=T||X(ae,w,!1),T&&(ee.delta&&!fn(T,8)?a.go(-ee.delta,!1):ee.type===mr.pop&&fn(T,20)&&a.go(-1,!1)),ne(ae,w,T)}).catch(rr)}))}let Ie=Ki(),Se=Ki(),$e;function re(j,G,ee){K(j);const ae=Se.list();return ae.length?ae.forEach(z=>z(j,G,ee)):console.error(j),Promise.reject(j)}function et(){return $e&&h.value!==Cn?Promise.resolve():new Promise((j,G)=>{Ie.add([j,G])})}function K(j){return $e||($e=!j,me(),Ie.list().forEach(([G,ee])=>j?ee(j):G()),Ie.reset()),j}function D(j,G,ee,ae){const{scrollBehavior:z}=t;if(!yi||!z)return Promise.resolve();const w=!ee&&mg(Rc(j.fullPath,0))||(ae||!ee)&&history.state&&history.state.scroll||null;return Bf().then(()=>z(j,G,w)).then(T=>T&&dg(T)).catch(T=>re(T,j,G))}const Y=j=>a.go(j);let Z;const R=new Set,M={currentRoute:h,listening:!0,addRoute:E,removeRoute:$,clearRoutes:n.clearRoutes,hasRoute:b,getRoutes:x,resolve:P,options:t,push:C,replace:O,go:Y,back:()=>Y(-1),forward:()=>Y(1),beforeEach:u.add,beforeResolve:l.add,afterEach:f.add,onError:Se.add,isReady:et,install(j){const G=this;j.component("RouterLink",jg),j.component("RouterView",Fg),j.config.globalProperties.$router=G,Object.defineProperty(j.config.globalProperties,"$route",{enumerable:!0,get:()=>pe(h)}),yi&&!Z&&h.value===Cn&&(Z=!0,C(a.location).catch(z=>{}));const ee={};for(const z in Cn)Object.defineProperty(ee,z,{get:()=>h.value[z],enumerable:!0});j.provide(Xs,G),j.provide(qa,Mf(ee)),j.provide(Sa,h);const ae=j.unmount;R.add(j),j.unmount=function(){R.delete(j),R.size<1&&(_=Cn,fe&&fe(),fe=null,h.value=Cn,Z=!1,$e=!1),ae()}}};function q(j){return j.reduce((G,ee)=>G.then(()=>W(ee)),Promise.resolve())}return M}function Hg(t,n){const r=[],s=[],a=[],u=Math.max(n.matched.length,t.matched.length);for(let l=0;lLi(_,f))?s.push(f):r.push(f));const h=t.matched[l];h&&(n.matched.find(_=>Li(_,h))||a.push(h))}return[r,s,a]}function Qs(){return Ft(Xs)}function eo(t){return Ft(qa)}function Zh(t,n){return he(),we("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ie("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"})])}function Fh(t,n){return he(),we("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ie("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"})])}function Vh(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var qr={exports:{}},Jo={},hn={},Kn={},Yo={},Xo={},Qo={},Fc;function Ns(){return Fc||(Fc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{constructor(p){if(super(),!t.IDENTIFIER.test(p))throw new Error("CodeGen: name must be a valid identifier");this.str=p}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=r;class s extends n{constructor(p){super(),this._items=typeof p=="string"?[p]:p}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const p=this._items[0];return p===""||p==='""'}get str(){var p;return(p=this._str)!==null&&p!==void 0?p:this._str=this._items.reduce((v,C)=>`${v}${C}`,"")}get names(){var p;return(p=this._names)!==null&&p!==void 0?p:this._names=this._items.reduce((v,C)=>(C instanceof r&&(v[C.str]=(v[C.str]||0)+1),v),{})}}t._Code=s,t.nil=new s("");function a(P,...p){const v=[P[0]];let C=0;for(;C{if(g.scopePath===void 0)throw new Error(`CodeGen: name "${g}" has no value`);return(0,n._)`${_}${g.scopePath}`})}scopeCode(_=this._values,m,g){return this._reduceValues(_,y=>{if(y.value===void 0)throw new Error(`CodeGen: name "${y}" has no value`);return y.value.code},m,g)}_reduceValues(_,m,g={},y){let E=n.nil;for(const $ in _){const x=_[$];if(!x)continue;const b=g[$]=g[$]||new Map;x.forEach(P=>{if(b.has(P))return;b.set(P,s.Started);let p=m(P);if(p){const v=this.opts.es5?t.varKinds.var:t.varKinds.const;E=(0,n._)`${E}${v} ${P} = ${p};${this.opts._n}`}else if(p=y==null?void 0:y(P))E=(0,n._)`${E}${p}${this.opts._n}`;else throw new r(P);b.set(P,s.Completed)})}return E}}t.ValueScope=f}(ea)),ea}var Uc;function Oe(){return Uc||(Uc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const n=Ns(),r=Hc();var s=Ns();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return s.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return s.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return s.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return s.Name}});var a=Hc();Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return a.varKinds}}),t.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 u{optimizeNodes(){return this}optimizeNames(R,M){return this}}class l extends u{constructor(R,M,q){super(),this.varKind=R,this.name=M,this.rhs=q}render({es5:R,_n:M}){const q=R?r.varKinds.var:this.varKind,j=this.rhs===void 0?"":` = ${this.rhs}`;return`${q} ${this.name}${j};`+M}optimizeNames(R,M){if(R[this.name.str])return this.rhs&&(this.rhs=me(this.rhs,R,M)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class f extends u{constructor(R,M,q){super(),this.lhs=R,this.rhs=M,this.sideEffects=q}render({_n:R}){return`${this.lhs} = ${this.rhs};`+R}optimizeNames(R,M){if(!(this.lhs instanceof n.Name&&!R[this.lhs.str]&&!this.sideEffects))return this.rhs=me(this.rhs,R,M),this}get names(){const R=this.lhs instanceof n.Name?{}:{...this.lhs.names};return fe(R,this.rhs)}}class h extends f{constructor(R,M,q,j){super(R,q,j),this.op=M}render({_n:R}){return`${this.lhs} ${this.op}= ${this.rhs};`+R}}class _ extends u{constructor(R){super(),this.label=R,this.names={}}render({_n:R}){return`${this.label}:`+R}}class m extends u{constructor(R){super(),this.label=R,this.names={}}render({_n:R}){return`break${this.label?` ${this.label}`:""};`+R}}class g extends u{constructor(R){super(),this.error=R}render({_n:R}){return`throw ${this.error};`+R}get names(){return this.error.names}}class y extends u{constructor(R){super(),this.code=R}render({_n:R}){return`${this.code};`+R}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(R,M){return this.code=me(this.code,R,M),this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class E extends u{constructor(R=[]){super(),this.nodes=R}render(R){return this.nodes.reduce((M,q)=>M+q.render(R),"")}optimizeNodes(){const{nodes:R}=this;let M=R.length;for(;M--;){const q=R[M].optimizeNodes();Array.isArray(q)?R.splice(M,1,...q):q?R[M]=q:R.splice(M,1)}return R.length>0?this:void 0}optimizeNames(R,M){const{nodes:q}=this;let j=q.length;for(;j--;){const G=q[j];G.optimizeNames(R,M)||(Ie(R,G.names),q.splice(j,1))}return q.length>0?this:void 0}get names(){return this.nodes.reduce((R,M)=>X(R,M.names),{})}}class $ extends E{render(R){return"{"+R._n+super.render(R)+"}"+R._n}}class x extends E{}class b extends ${}b.kind="else";class P extends ${constructor(R,M){super(M),this.condition=R}render(R){let M=`if(${this.condition})`+super.render(R);return this.else&&(M+="else "+this.else.render(R)),M}optimizeNodes(){super.optimizeNodes();const R=this.condition;if(R===!0)return this.nodes;let M=this.else;if(M){const q=M.optimizeNodes();M=this.else=Array.isArray(q)?new b(q):q}if(M)return R===!1?M instanceof P?M:M.nodes:this.nodes.length?this:new P(Se(R),M instanceof P?[M]:M.nodes);if(!(R===!1||!this.nodes.length))return this}optimizeNames(R,M){var q;if(this.else=(q=this.else)===null||q===void 0?void 0:q.optimizeNames(R,M),!!(super.optimizeNames(R,M)||this.else))return this.condition=me(this.condition,R,M),this}get names(){const R=super.names;return fe(R,this.condition),this.else&&X(R,this.else.names),R}}P.kind="if";class p extends ${}p.kind="for";class v extends p{constructor(R){super(),this.iteration=R}render(R){return`for(${this.iteration})`+super.render(R)}optimizeNames(R,M){if(super.optimizeNames(R,M))return this.iteration=me(this.iteration,R,M),this}get names(){return X(super.names,this.iteration.names)}}class C extends p{constructor(R,M,q,j){super(),this.varKind=R,this.name=M,this.from=q,this.to=j}render(R){const M=R.es5?r.varKinds.var:this.varKind,{name:q,from:j,to:G}=this;return`for(${M} ${q}=${j}; ${q}<${G}; ${q}++)`+super.render(R)}get names(){const R=fe(super.names,this.from);return fe(R,this.to)}}class O extends p{constructor(R,M,q,j){super(),this.loop=R,this.varKind=M,this.name=q,this.iterable=j}render(R){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(R)}optimizeNames(R,M){if(super.optimizeNames(R,M))return this.iterable=me(this.iterable,R,M),this}get names(){return X(super.names,this.iterable.names)}}class k extends ${constructor(R,M,q){super(),this.name=R,this.args=M,this.async=q}render(R){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(R)}}k.kind="func";class I extends E{render(R){return"return "+super.render(R)}}I.kind="return";class V extends ${render(R){let M="try"+super.render(R);return this.catch&&(M+=this.catch.render(R)),this.finally&&(M+=this.finally.render(R)),M}optimizeNodes(){var R,M;return super.optimizeNodes(),(R=this.catch)===null||R===void 0||R.optimizeNodes(),(M=this.finally)===null||M===void 0||M.optimizeNodes(),this}optimizeNames(R,M){var q,j;return super.optimizeNames(R,M),(q=this.catch)===null||q===void 0||q.optimizeNames(R,M),(j=this.finally)===null||j===void 0||j.optimizeNames(R,M),this}get names(){const R=super.names;return this.catch&&X(R,this.catch.names),this.finally&&X(R,this.finally.names),R}}class W extends ${constructor(R){super(),this.error=R}render(R){return`catch(${this.error})`+super.render(R)}}W.kind="catch";class se extends ${render(R){return"finally"+super.render(R)}}se.kind="finally";class ne{constructor(R,M={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...M,_n:M.lines?` -`:""},this._extScope=R,this._scope=new r.Scope({parent:R}),this._nodes=[new x]}toString(){return this._root.render(this.opts)}name(R){return this._scope.name(R)}scopeName(R){return this._extScope.name(R)}scopeValue(R,M){const q=this._extScope.value(R,M);return(this._values[q.prefix]||(this._values[q.prefix]=new Set)).add(q),q}getScopeValue(R,M){return this._extScope.getValue(R,M)}scopeRefs(R){return this._extScope.scopeRefs(R,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(R,M,q,j){const G=this._scope.toName(M);return q!==void 0&&j&&(this._constants[G.str]=q),this._leafNode(new l(R,G,q)),G}const(R,M,q){return this._def(r.varKinds.const,R,M,q)}let(R,M,q){return this._def(r.varKinds.let,R,M,q)}var(R,M,q){return this._def(r.varKinds.var,R,M,q)}assign(R,M,q){return this._leafNode(new f(R,M,q))}add(R,M){return this._leafNode(new h(R,t.operators.ADD,M))}code(R){return typeof R=="function"?R():R!==n.nil&&this._leafNode(new y(R)),this}object(...R){const M=["{"];for(const[q,j]of R)M.length>1&&M.push(","),M.push(q),(q!==j||this.opts.es5)&&(M.push(":"),(0,n.addCodeArg)(M,j));return M.push("}"),new n._Code(M)}if(R,M,q){if(this._blockNode(new P(R)),M&&q)this.code(M).else().code(q).endIf();else if(M)this.code(M).endIf();else if(q)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(R){return this._elseNode(new P(R))}else(){return this._elseNode(new b)}endIf(){return this._endBlockNode(P,b)}_for(R,M){return this._blockNode(R),M&&this.code(M).endFor(),this}for(R,M){return this._for(new v(R),M)}forRange(R,M,q,j,G=this.opts.es5?r.varKinds.var:r.varKinds.let){const ee=this._scope.toName(R);return this._for(new C(G,ee,M,q),()=>j(ee))}forOf(R,M,q,j=r.varKinds.const){const G=this._scope.toName(R);if(this.opts.es5){const ee=M instanceof n.Name?M:this.var("_arr",M);return this.forRange("_i",0,(0,n._)`${ee}.length`,ae=>{this.var(G,(0,n._)`${ee}[${ae}]`),q(G)})}return this._for(new O("of",j,G,M),()=>q(G))}forIn(R,M,q,j=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(R,(0,n._)`Object.keys(${M})`,q);const G=this._scope.toName(R);return this._for(new O("in",j,G,M),()=>q(G))}endFor(){return this._endBlockNode(p)}label(R){return this._leafNode(new _(R))}break(R){return this._leafNode(new m(R))}return(R){const M=new I;if(this._blockNode(M),this.code(R),M.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(I)}try(R,M,q){if(!M&&!q)throw new Error('CodeGen: "try" without "catch" and "finally"');const j=new V;if(this._blockNode(j),this.code(R),M){const G=this.name("e");this._currNode=j.catch=new W(G),M(G)}return q&&(this._currNode=j.finally=new se,this.code(q)),this._endBlockNode(W,se)}throw(R){return this._leafNode(new g(R))}block(R,M){return this._blockStarts.push(this._nodes.length),R&&this.code(R).endBlock(M),this}endBlock(R){const M=this._blockStarts.pop();if(M===void 0)throw new Error("CodeGen: not in self-balancing block");const q=this._nodes.length-M;if(q<0||R!==void 0&&q!==R)throw new Error(`CodeGen: wrong number of nodes: ${q} vs ${R} expected`);return this._nodes.length=M,this}func(R,M=n.nil,q,j){return this._blockNode(new k(R,M,q)),j&&this.code(j).endFunc(),this}endFunc(){return this._endBlockNode(k)}optimize(R=1){for(;R-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(R){return this._currNode.nodes.push(R),this}_blockNode(R){this._currNode.nodes.push(R),this._nodes.push(R)}_endBlockNode(R,M){const q=this._currNode;if(q instanceof R||M&&q instanceof M)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${M?`${R.kind}/${M.kind}`:R.kind}"`)}_elseNode(R){const M=this._currNode;if(!(M instanceof P))throw new Error('CodeGen: "else" without "if"');return this._currNode=M.else=R,this}get _root(){return this._nodes[0]}get _currNode(){const R=this._nodes;return R[R.length-1]}set _currNode(R){const M=this._nodes;M[M.length-1]=R}}t.CodeGen=ne;function X(Z,R){for(const M in R)Z[M]=(Z[M]||0)+(R[M]||0);return Z}function fe(Z,R){return R instanceof n._CodeOrName?X(Z,R.names):Z}function me(Z,R,M){if(Z instanceof n.Name)return q(Z);if(!j(Z))return Z;return new n._Code(Z._items.reduce((G,ee)=>(ee instanceof n.Name&&(ee=q(ee)),ee instanceof n._Code?G.push(...ee._items):G.push(ee),G),[]));function q(G){const ee=M[G.str];return ee===void 0||R[G.str]!==1?G:(delete R[G.str],ee)}function j(G){return G instanceof n._Code&&G._items.some(ee=>ee instanceof n.Name&&R[ee.str]===1&&M[ee.str]!==void 0)}}function Ie(Z,R){for(const M in R)Z[M]=(Z[M]||0)-(R[M]||0)}function Se(Z){return typeof Z=="boolean"||typeof Z=="number"||Z===null?!Z:(0,n._)`!${Y(Z)}`}t.not=Se;const $e=D(t.operators.AND);function re(...Z){return Z.reduce($e)}t.and=re;const et=D(t.operators.OR);function K(...Z){return Z.reduce(et)}t.or=K;function D(Z){return(R,M)=>R===n.nil?M:M===n.nil?R:(0,n._)`${Y(R)} ${Z} ${Y(M)}`}function Y(Z){return Z instanceof n.Name?Z:(0,n._)`(${Z})`}}(Xo)),Xo}var Le={},Kc;function De(){if(Kc)return Le;Kc=1,Object.defineProperty(Le,"__esModule",{value:!0}),Le.checkStrictMode=Le.getErrorPath=Le.Type=Le.useFunc=Le.setEvaluated=Le.evaluatedPropsToName=Le.mergeEvaluated=Le.eachItem=Le.unescapeJsonPointer=Le.escapeJsonPointer=Le.escapeFragment=Le.unescapeFragment=Le.schemaRefOrVal=Le.schemaHasRulesButRef=Le.schemaHasRules=Le.checkUnknownRules=Le.alwaysValidSchema=Le.toHash=void 0;const t=Oe(),n=Ns();function r(O){const k={};for(const I of O)k[I]=!0;return k}Le.toHash=r;function s(O,k){return typeof k=="boolean"?k:Object.keys(k).length===0?!0:(a(O,k),!u(k,O.self.RULES.all))}Le.alwaysValidSchema=s;function a(O,k=O.schema){const{opts:I,self:V}=O;if(!I.strictSchema||typeof k=="boolean")return;const W=V.RULES.keywords;for(const se in k)W[se]||C(O,`unknown keyword: "${se}"`)}Le.checkUnknownRules=a;function u(O,k){if(typeof O=="boolean")return!O;for(const I in O)if(k[I])return!0;return!1}Le.schemaHasRules=u;function l(O,k){if(typeof O=="boolean")return!O;for(const I in O)if(I!=="$ref"&&k.all[I])return!0;return!1}Le.schemaHasRulesButRef=l;function f({topSchemaRef:O,schemaPath:k},I,V,W){if(!W){if(typeof I=="number"||typeof I=="boolean")return I;if(typeof I=="string")return(0,t._)`${I}`}return(0,t._)`${O}${k}${(0,t.getProperty)(V)}`}Le.schemaRefOrVal=f;function h(O){return g(decodeURIComponent(O))}Le.unescapeFragment=h;function _(O){return encodeURIComponent(m(O))}Le.escapeFragment=_;function m(O){return typeof O=="number"?`${O}`:O.replace(/~/g,"~0").replace(/\//g,"~1")}Le.escapeJsonPointer=m;function g(O){return O.replace(/~1/g,"/").replace(/~0/g,"~")}Le.unescapeJsonPointer=g;function y(O,k){if(Array.isArray(O))for(const I of O)k(I);else k(O)}Le.eachItem=y;function E({mergeNames:O,mergeToName:k,mergeValues:I,resultToName:V}){return(W,se,ne,X)=>{const fe=ne===void 0?se:ne instanceof t.Name?(se instanceof t.Name?O(W,se,ne):k(W,se,ne),ne):se instanceof t.Name?(k(W,ne,se),se):I(se,ne);return X===t.Name&&!(fe instanceof t.Name)?V(W,fe):fe}}Le.mergeEvaluated={props:E({mergeNames:(O,k,I)=>O.if((0,t._)`${I} !== true && ${k} !== undefined`,()=>{O.if((0,t._)`${k} === true`,()=>O.assign(I,!0),()=>O.assign(I,(0,t._)`${I} || {}`).code((0,t._)`Object.assign(${I}, ${k})`))}),mergeToName:(O,k,I)=>O.if((0,t._)`${I} !== true`,()=>{k===!0?O.assign(I,!0):(O.assign(I,(0,t._)`${I} || {}`),x(O,I,k))}),mergeValues:(O,k)=>O===!0?!0:{...O,...k},resultToName:$}),items:E({mergeNames:(O,k,I)=>O.if((0,t._)`${I} !== true && ${k} !== undefined`,()=>O.assign(I,(0,t._)`${k} === true ? true : ${I} > ${k} ? ${I} : ${k}`)),mergeToName:(O,k,I)=>O.if((0,t._)`${I} !== true`,()=>O.assign(I,k===!0?!0:(0,t._)`${I} > ${k} ? ${I} : ${k}`)),mergeValues:(O,k)=>O===!0?!0:Math.max(O,k),resultToName:(O,k)=>O.var("items",k)})};function $(O,k){if(k===!0)return O.var("props",!0);const I=O.var("props",(0,t._)`{}`);return k!==void 0&&x(O,I,k),I}Le.evaluatedPropsToName=$;function x(O,k,I){Object.keys(I).forEach(V=>O.assign((0,t._)`${k}${(0,t.getProperty)(V)}`,!0))}Le.setEvaluated=x;const b={};function P(O,k){return O.scopeValue("func",{ref:k,code:b[k.code]||(b[k.code]=new n._Code(k.code))})}Le.useFunc=P;var p;(function(O){O[O.Num=0]="Num",O[O.Str=1]="Str"})(p||(Le.Type=p={}));function v(O,k,I){if(O instanceof t.Name){const V=k===p.Num;return I?V?(0,t._)`"[" + ${O} + "]"`:(0,t._)`"['" + ${O} + "']"`:V?(0,t._)`"/" + ${O}`:(0,t._)`"/" + ${O}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return I?(0,t.getProperty)(O).toString():"/"+m(O)}Le.getErrorPath=v;function C(O,k,I=O.opts.strictSchema){if(I){if(k=`strict mode: ${k}`,I===!0)throw new Error(k);O.self.logger.warn(k)}}return Le.checkStrictMode=C,Le}var Zr={},Wc;function zn(){if(Wc)return Zr;Wc=1,Object.defineProperty(Zr,"__esModule",{value:!0});const t=Oe(),n={data:new t.Name("data"),valCxt:new t.Name("valCxt"),instancePath:new t.Name("instancePath"),parentData:new t.Name("parentData"),parentDataProperty:new t.Name("parentDataProperty"),rootData:new t.Name("rootData"),dynamicAnchors:new t.Name("dynamicAnchors"),vErrors:new t.Name("vErrors"),errors:new t.Name("errors"),this:new t.Name("this"),self:new t.Name("self"),scope:new t.Name("scope"),json:new t.Name("json"),jsonPos:new t.Name("jsonPos"),jsonLen:new t.Name("jsonLen"),jsonPart:new t.Name("jsonPart")};return Zr.default=n,Zr}var Gc;function to(){return Gc||(Gc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const n=Oe(),r=De(),s=zn();t.keywordError={message:({keyword:b})=>(0,n.str)`must pass "${b}" keyword validation`},t.keyword$DataError={message:({keyword:b,schemaType:P})=>P?(0,n.str)`"${b}" keyword must be ${P} ($data)`:(0,n.str)`"${b}" keyword is invalid ($data)`};function a(b,P=t.keywordError,p,v){const{it:C}=b,{gen:O,compositeRule:k,allErrors:I}=C,V=g(b,P,p);v??(k||I)?h(O,V):_(C,(0,n._)`[${V}]`)}t.reportError=a;function u(b,P=t.keywordError,p){const{it:v}=b,{gen:C,compositeRule:O,allErrors:k}=v,I=g(b,P,p);h(C,I),O||k||_(v,s.default.vErrors)}t.reportExtraError=u;function l(b,P){b.assign(s.default.errors,P),b.if((0,n._)`${s.default.vErrors} !== null`,()=>b.if(P,()=>b.assign((0,n._)`${s.default.vErrors}.length`,P),()=>b.assign(s.default.vErrors,null)))}t.resetErrorsCount=l;function f({gen:b,keyword:P,schemaValue:p,data:v,errsCount:C,it:O}){if(C===void 0)throw new Error("ajv implementation error");const k=b.name("err");b.forRange("i",C,s.default.errors,I=>{b.const(k,(0,n._)`${s.default.vErrors}[${I}]`),b.if((0,n._)`${k}.instancePath === undefined`,()=>b.assign((0,n._)`${k}.instancePath`,(0,n.strConcat)(s.default.instancePath,O.errorPath))),b.assign((0,n._)`${k}.schemaPath`,(0,n.str)`${O.errSchemaPath}/${P}`),O.opts.verbose&&(b.assign((0,n._)`${k}.schema`,p),b.assign((0,n._)`${k}.data`,v))})}t.extendErrors=f;function h(b,P){const p=b.const("err",P);b.if((0,n._)`${s.default.vErrors} === null`,()=>b.assign(s.default.vErrors,(0,n._)`[${p}]`),(0,n._)`${s.default.vErrors}.push(${p})`),b.code((0,n._)`${s.default.errors}++`)}function _(b,P){const{gen:p,validateName:v,schemaEnv:C}=b;C.$async?p.throw((0,n._)`new ${b.ValidationError}(${P})`):(p.assign((0,n._)`${v}.errors`,P),p.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 g(b,P,p){const{createErrors:v}=b.it;return v===!1?(0,n._)`{}`:y(b,P,p)}function y(b,P,p={}){const{gen:v,it:C}=b,O=[E(C,p),$(b,p)];return x(b,P,O),v.object(...O)}function E({errorPath:b},{instancePath:P}){const p=P?(0,n.str)`${b}${(0,r.getErrorPath)(P,r.Type.Str)}`:b;return[s.default.instancePath,(0,n.strConcat)(s.default.instancePath,p)]}function $({keyword:b,it:{errSchemaPath:P}},{schemaPath:p,parentSchema:v}){let C=v?P:(0,n.str)`${P}/${b}`;return p&&(C=(0,n.str)`${C}${(0,r.getErrorPath)(p,r.Type.Str)}`),[m.schemaPath,C]}function x(b,{params:P,message:p},v){const{keyword:C,data:O,schemaValue:k,it:I}=b,{opts:V,propertyName:W,topSchemaRef:se,schemaPath:ne}=I;v.push([m.keyword,C],[m.params,typeof P=="function"?P(b):P||(0,n._)`{}`]),V.messages&&v.push([m.message,typeof p=="function"?p(b):p]),V.verbose&&v.push([m.schema,k],[m.parentSchema,(0,n._)`${se}${ne}`],[s.default.data,O]),W&&v.push([m.propertyName,W])}}(Yo)),Yo}var Jc;function Ug(){if(Jc)return Kn;Jc=1,Object.defineProperty(Kn,"__esModule",{value:!0}),Kn.boolOrEmptySchema=Kn.topBoolOrEmptySchema=void 0;const t=to(),n=Oe(),r=zn(),s={message:"boolean schema is false"};function a(f){const{gen:h,schema:_,validateName:m}=f;_===!1?l(f,!1):typeof _=="object"&&_.$async===!0?h.return(r.default.data):(h.assign((0,n._)`${m}.errors`,null),h.return(!0))}Kn.topBoolOrEmptySchema=a;function u(f,h){const{gen:_,schema:m}=f;m===!1?(_.var(h,!1),l(f)):_.var(h,!0)}Kn.boolOrEmptySchema=u;function l(f,h){const{gen:_,data:m}=f,g={gen:_,keyword:"false schema",data:m,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:f};(0,t.reportError)(g,s,void 0,h)}return Kn}var ht={},Wn={},Yc;function Hh(){if(Yc)return Wn;Yc=1,Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.getRules=Wn.isJSONType=void 0;const t=["string","number","integer","boolean","null","object","array"],n=new Set(t);function r(a){return typeof a=="string"&&n.has(a)}Wn.isJSONType=r;function s(){const a={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...a,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},a.number,a.string,a.array,a.object],post:{rules:[]},all:{},keywords:{}}}return Wn.getRules=s,Wn}var dn={},Xc;function Uh(){if(Xc)return dn;Xc=1,Object.defineProperty(dn,"__esModule",{value:!0}),dn.shouldUseRule=dn.shouldUseGroup=dn.schemaHasRulesForType=void 0;function t({schema:s,self:a},u){const l=a.RULES.types[u];return l&&l!==!0&&n(s,l)}dn.schemaHasRulesForType=t;function n(s,a){return a.rules.some(u=>r(s,u))}dn.shouldUseGroup=n;function r(s,a){var u;return s[a.keyword]!==void 0||((u=a.definition.implements)===null||u===void 0?void 0:u.some(l=>s[l]!==void 0))}return dn.shouldUseRule=r,dn}var Qc;function zs(){if(Qc)return ht;Qc=1,Object.defineProperty(ht,"__esModule",{value:!0}),ht.reportTypeError=ht.checkDataTypes=ht.checkDataType=ht.coerceAndCheckDataType=ht.getJSONTypes=ht.getSchemaTypes=ht.DataType=void 0;const t=Hh(),n=Uh(),r=to(),s=Oe(),a=De();var u;(function(p){p[p.Correct=0]="Correct",p[p.Wrong=1]="Wrong"})(u||(ht.DataType=u={}));function l(p){const v=f(p.type);if(v.includes("null")){if(p.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!v.length&&p.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');p.nullable===!0&&v.push("null")}return v}ht.getSchemaTypes=l;function f(p){const v=Array.isArray(p)?p:p?[p]:[];if(v.every(t.isJSONType))return v;throw new Error("type must be JSONType or JSONType[]: "+v.join(","))}ht.getJSONTypes=f;function h(p,v){const{gen:C,data:O,opts:k}=p,I=m(v,k.coerceTypes),V=v.length>0&&!(I.length===0&&v.length===1&&(0,n.schemaHasRulesForType)(p,v[0]));if(V){const W=$(v,O,k.strictNumbers,u.Wrong);C.if(W,()=>{I.length?g(p,v,I):b(p)})}return V}ht.coerceAndCheckDataType=h;const _=new Set(["string","number","integer","boolean","null"]);function m(p,v){return v?p.filter(C=>_.has(C)||v==="array"&&C==="array"):[]}function g(p,v,C){const{gen:O,data:k,opts:I}=p,V=O.let("dataType",(0,s._)`typeof ${k}`),W=O.let("coerced",(0,s._)`undefined`);I.coerceTypes==="array"&&O.if((0,s._)`${V} == 'object' && Array.isArray(${k}) && ${k}.length == 1`,()=>O.assign(k,(0,s._)`${k}[0]`).assign(V,(0,s._)`typeof ${k}`).if($(v,k,I.strictNumbers),()=>O.assign(W,k))),O.if((0,s._)`${W} !== undefined`);for(const ne of C)(_.has(ne)||ne==="array"&&I.coerceTypes==="array")&&se(ne);O.else(),b(p),O.endIf(),O.if((0,s._)`${W} !== undefined`,()=>{O.assign(k,W),y(p,W)});function se(ne){switch(ne){case"string":O.elseIf((0,s._)`${V} == "number" || ${V} == "boolean"`).assign(W,(0,s._)`"" + ${k}`).elseIf((0,s._)`${k} === null`).assign(W,(0,s._)`""`);return;case"number":O.elseIf((0,s._)`${V} == "boolean" || ${k} === null + */const yi=typeof document<"u";function xh(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function F_(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&xh(t.default)}const Be=Object.assign;function Ko(t,n){const r={};for(const s in n){const a=n[s];r[s]=Ht(a)?a.map(t):t(a)}return r}const rr=()=>{},Ht=Array.isArray,kh=/#/g,V_=/&/g,H_=/\//g,U_=/=/g,K_=/\?/g,Oh=/\+/g,W_=/%5B/g,G_=/%5D/g,Ah=/%5E/g,J_=/%60/g,Ih=/%7B/g,Y_=/%7C/g,Mh=/%7D/g,X_=/%20/g;function Ba(t){return encodeURI(""+t).replace(Y_,"|").replace(W_,"[").replace(G_,"]")}function Q_(t){return Ba(t).replace(Ih,"{").replace(Mh,"}").replace(Ah,"^")}function ba(t){return Ba(t).replace(Oh,"%2B").replace(X_,"+").replace(kh,"%23").replace(V_,"%26").replace(J_,"`").replace(Ih,"{").replace(Mh,"}").replace(Ah,"^")}function eg(t){return ba(t).replace(U_,"%3D")}function tg(t){return Ba(t).replace(kh,"%23").replace(K_,"%3F")}function ng(t){return t==null?"":tg(t).replace(H_,"%2F")}function pr(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const ig=/\/$/,rg=t=>t.replace(ig,"");function Wo(t,n,r="/"){let s,a={},u="",l="";const f=n.indexOf("#");let h=n.indexOf("?");return f=0&&(h=-1),h>-1&&(s=n.slice(0,h),u=n.slice(h+1,f>-1?f:n.length),a=t(u)),f>-1&&(s=s||n.slice(0,f),l=n.slice(f,n.length)),s=ug(s??n,r),{fullPath:s+(u&&"?")+u+l,path:s,query:a,hash:pr(l)}}function sg(t,n){const r=n.query?t(n.query):"";return n.path+(r&&"?")+r+(n.hash||"")}function Tc(t,n){return!n||!t.toLowerCase().startsWith(n.toLowerCase())?t:t.slice(n.length)||"/"}function og(t,n,r){const s=n.matched.length-1,a=r.matched.length-1;return s>-1&&s===a&&Li(n.matched[s],r.matched[a])&&Nh(n.params,r.params)&&t(n.query)===t(r.query)&&n.hash===r.hash}function Li(t,n){return(t.aliasOf||t)===(n.aliasOf||n)}function Nh(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const r in t)if(!ag(t[r],n[r]))return!1;return!0}function ag(t,n){return Ht(t)?Cc(t,n):Ht(n)?Cc(n,t):t===n}function Cc(t,n){return Ht(n)?t.length===n.length&&t.every((r,s)=>r===n[s]):t.length===1&&t[0]===n}function ug(t,n){if(t.startsWith("/"))return t;if(!t)return n;const r=n.split("/"),s=t.split("/"),a=s[s.length-1];(a===".."||a===".")&&s.push("");let u=r.length-1,l,f;for(l=0;l1&&u--;else break;return r.slice(0,u).join("/")+"/"+s.slice(l).join("/")}const Cn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var mr;(function(t){t.pop="pop",t.push="push"})(mr||(mr={}));var sr;(function(t){t.back="back",t.forward="forward",t.unknown=""})(sr||(sr={}));function cg(t){if(!t)if(yi){const n=document.querySelector("base");t=n&&n.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),rg(t)}const lg=/^[^#]+#/;function fg(t,n){return t.replace(lg,"#")+n}function hg(t,n){const r=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:n.behavior,left:s.left-r.left-(n.left||0),top:s.top-r.top-(n.top||0)}}const Ys=()=>({left:window.scrollX,top:window.scrollY});function dg(t){let n;if("el"in t){const r=t.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=hg(a,t)}else n=t;"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 Rc(t,n){return(history.state?history.state.position-n:-1)+t}const Pa=new Map;function pg(t,n){Pa.set(t,n)}function mg(t){const n=Pa.get(t);return Pa.delete(t),n}let _g=()=>location.protocol+"//"+location.host;function zh(t,n){const{pathname:r,search:s,hash:a}=n,u=t.indexOf("#");if(u>-1){let f=a.includes(t.slice(u))?t.slice(u).length:1,h=a.slice(f);return h[0]!=="/"&&(h="/"+h),Tc(h,"")}return Tc(r,t)+s+a}function gg(t,n,r,s){let a=[],u=[],l=null;const f=({state:y})=>{const E=zh(t,location),$=r.value,x=n.value;let b=0;if(y){if(r.value=E,n.value=y,l&&l===$){l=null;return}b=x?y.position-x.position:0}else s(E);a.forEach(P=>{P(r.value,$,{delta:b,type:mr.pop,direction:b?b>0?sr.forward:sr.back:sr.unknown})})};function h(){l=r.value}function _(y){a.push(y);const E=()=>{const $=a.indexOf(y);$>-1&&a.splice($,1)};return u.push(E),E}function m(){const{history:y}=window;y.state&&y.replaceState(Be({},y.state,{scroll:Ys()}),"")}function g(){for(const y of u)y();u=[],window.removeEventListener("popstate",f),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",f),window.addEventListener("beforeunload",m,{passive:!0}),{pauseListeners:h,listen:_,destroy:g}}function Lc(t,n,r,s=!1,a=!1){return{back:t,current:n,forward:r,replaced:s,position:window.history.length,scroll:a?Ys():null}}function vg(t){const{history:n,location:r}=window,s={value:zh(t,r)},a={value:n.state};a.value||u(s.value,{back:null,current:s.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function u(h,_,m){const g=t.indexOf("#"),y=g>-1?(r.host&&document.querySelector("base")?t:t.slice(g))+h:_g()+t+h;try{n[m?"replaceState":"pushState"](_,"",y),a.value=_}catch(E){console.error(E),r[m?"replace":"assign"](y)}}function l(h,_){const m=Be({},n.state,Lc(a.value.back,h,a.value.forward,!0),_,{position:a.value.position});u(h,m,!0),s.value=h}function f(h,_){const m=Be({},a.value,n.state,{forward:h,scroll:Ys()});u(m.current,m,!0);const g=Be({},Lc(s.value,h,null),{position:m.position+1},_);u(h,g,!1),s.value=h}return{location:s,state:a,push:f,replace:l}}function yg(t){t=cg(t);const n=vg(t),r=gg(t,n.state,n.location,n.replace);function s(u,l=!0){l||r.pauseListeners(),history.go(u)}const a=Be({location:"",base:t,go:s,createHref:fg.bind(null,t)},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 wg(t){return typeof t=="string"||t&&typeof t=="object"}function Dh(t){return typeof t=="string"||typeof t=="symbol"}const jh=Symbol("");var xc;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(xc||(xc={}));function xi(t,n){return Be(new Error,{type:t,[jh]:!0},n)}function fn(t,n){return t instanceof Error&&jh in t&&(n==null||!!(t.type&n))}const kc="[^/]+?",bg={sensitive:!1,strict:!1,start:!0,end:!0},Pg=/[.+*?^${}()[\]/\\]/g;function Sg(t,n){const r=Be({},bg,n),s=[];let a=r.start?"^":"";const u=[];for(const _ of t){const m=_.length?[]:[90];r.strict&&!_.length&&(a+="/");for(let g=0;g<_.length;g++){const y=_[g];let E=40+(r.sensitive?.25:0);if(y.type===0)g||(a+="/"),a+=y.value.replace(Pg,"\\$&"),E+=40;else if(y.type===1){const{value:$,repeatable:x,optional:b,regexp:P}=y;u.push({name:$,repeatable:x,optional:b});const p=P||kc;if(p!==kc){E+=10;try{new RegExp(`(${p})`)}catch(C){throw new Error(`Invalid custom RegExp for param "${$}" (${p}): `+C.message)}}let v=x?`((?:${p})(?:/(?:${p}))*)`:`(${p})`;g||(v=b&&_.length<2?`(?:/${v})`:"/"+v),b&&(v+="?"),a+=v,E+=20,b&&(E+=-8),x&&(E+=-20),p===".*"&&(E+=-50)}m.push(E)}s.push(m)}if(r.strict&&r.end){const _=s.length-1;s[_][s[_].length-1]+=.7000000000000001}r.strict||(a+="/?"),r.end?a+="$":r.strict&&!a.endsWith("/")&&(a+="(?:/|$)");const l=new RegExp(a,r.sensitive?"":"i");function f(_){const m=_.match(l),g={};if(!m)return null;for(let y=1;yn.length?n.length===1&&n[0]===80?1:-1:0}function Bh(t,n){let r=0;const s=t.score,a=n.score;for(;r0&&n[n.length-1]<0}const Eg={type:0,value:""},Tg=/[a-zA-Z0-9_]/;function Cg(t){if(!t)return[[]];if(t==="/")return[[Eg]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function n(E){throw new Error(`ERR (${r})/"${_}": ${E}`)}let r=0,s=r;const a=[];let u;function l(){u&&a.push(u),u=[]}let f=0,h,_="",m="";function g(){_&&(r===0?u.push({type:0,value:_}):r===1||r===2||r===3?(u.length>1&&(h==="*"||h==="+")&&n(`A repeatable param (${_}) must be alone in its segment. eg: '/:ids+.`),u.push({type:1,value:_,regexp:m,repeatable:h==="*"||h==="+",optional:h==="*"||h==="?"})):n("Invalid state to consume buffer"),_="")}function y(){_+=h}for(;f{l(v)}:rr}function l(g){if(Dh(g)){const y=s.get(g);y&&(s.delete(g),r.splice(r.indexOf(y),1),y.children.forEach(l),y.alias.forEach(l))}else{const y=r.indexOf(g);y>-1&&(r.splice(y,1),g.record.name&&s.delete(g.record.name),g.children.forEach(l),g.alias.forEach(l))}}function f(){return r}function h(g){const y=Og(g,r);r.splice(y,0,g),g.record.name&&!Mc(g)&&s.set(g.record.name,g)}function _(g,y){let E,$={},x,b;if("name"in g&&g.name){if(E=s.get(g.name),!E)throw xi(1,{location:g});b=E.record.name,$=Be(Ac(y.params,E.keys.filter(v=>!v.optional).concat(E.parent?E.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),g.params&&Ac(g.params,E.keys.map(v=>v.name))),x=E.stringify($)}else if(g.path!=null)x=g.path,E=r.find(v=>v.re.test(x)),E&&($=E.parse(x),b=E.record.name);else{if(E=y.name?s.get(y.name):r.find(v=>v.re.test(y.path)),!E)throw xi(1,{location:g,currentLocation:y});b=E.record.name,$=Be({},y.params,g.params),x=E.stringify($)}const P=[];let p=E;for(;p;)P.unshift(p.record),p=p.parent;return{name:b,path:x,params:$,matched:P,meta:kg(P)}}t.forEach(g=>u(g));function m(){r.length=0,s.clear()}return{addRoute:u,resolve:_,removeRoute:l,clearRoutes:m,getRoutes:f,getRecordMatcher:a}}function Ac(t,n){const r={};for(const s of n)s in t&&(r[s]=t[s]);return r}function Ic(t){const n={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:xg(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(n,"mods",{value:{}}),n}function xg(t){const n={},r=t.props||!1;if("component"in t)n.default=r;else for(const s in t.components)n[s]=typeof r=="object"?r[s]:r;return n}function Mc(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function kg(t){return t.reduce((n,r)=>Be(n,r.meta),{})}function Nc(t,n){const r={};for(const s in t)r[s]=s in n?n[s]:t[s];return r}function Og(t,n){let r=0,s=n.length;for(;r!==s;){const u=r+s>>1;Bh(t,n[u])<0?s=u:r=u+1}const a=Ag(t);return a&&(s=n.lastIndexOf(a,s-1)),s}function Ag(t){let n=t;for(;n=n.parent;)if(qh(n)&&Bh(t,n)===0)return n}function qh({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function Ig(t){const n={};if(t===""||t==="?")return n;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let a=0;au&&ba(u)):[s&&ba(s)]).forEach(u=>{u!==void 0&&(n+=(n.length?"&":"")+r,u!=null&&(n+="="+u))})}return n}function Mg(t){const n={};for(const r in t){const s=t[r];s!==void 0&&(n[r]=Ht(s)?s.map(a=>a==null?null:""+a):s==null?s:""+s)}return n}const Ng=Symbol(""),Dc=Symbol(""),Xs=Symbol(""),qa=Symbol(""),Sa=Symbol("");function Ki(){let t=[];function n(s){return t.push(s),()=>{const a=t.indexOf(s);a>-1&&t.splice(a,1)}}function r(){t=[]}return{add:n,list:()=>t.slice(),reset:r}}function On(t,n,r,s,a,u=l=>l()){const l=s&&(s.enterCallbacks[a]=s.enterCallbacks[a]||[]);return()=>new Promise((f,h)=>{const _=y=>{y===!1?h(xi(4,{from:r,to:n})):y instanceof Error?h(y):wg(y)?h(xi(2,{from:n,to:y})):(l&&s.enterCallbacks[a]===l&&typeof y=="function"&&l.push(y),f())},m=u(()=>t.call(s&&s.instances[a],n,r,_));let g=Promise.resolve(m);t.length<3&&(g=g.then(_)),g.catch(y=>h(y))})}function Go(t,n,r,s,a=u=>u()){const u=[];for(const l of t)for(const f in l.components){let h=l.components[f];if(!(n!=="beforeRouteEnter"&&!l.instances[f]))if(xh(h)){const m=(h.__vccOpts||h)[n];m&&u.push(On(m,r,s,l,f,a))}else{let _=h();u.push(()=>_.then(m=>{if(!m)throw new Error(`Couldn't resolve component "${f}" at "${l.path}"`);const g=F_(m)?m.default:m;l.mods[f]=m,l.components[f]=g;const E=(g.__vccOpts||g)[n];return E&&On(E,r,s,l,f,a)()}))}}return u}function jc(t){const n=Ft(Xs),r=Ft(qa),s=st(()=>{const h=pe(t.to);return n.resolve(h)}),a=st(()=>{const{matched:h}=s.value,{length:_}=h,m=h[_-1],g=r.matched;if(!m||!g.length)return-1;const y=g.findIndex(Li.bind(null,m));if(y>-1)return y;const E=Bc(h[_-2]);return _>1&&Bc(m)===E&&g[g.length-1].path!==E?g.findIndex(Li.bind(null,h[_-2])):y}),u=st(()=>a.value>-1&&qg(r.params,s.value.params)),l=st(()=>a.value>-1&&a.value===r.matched.length-1&&Nh(r.params,s.value.params));function f(h={}){if(Bg(h)){const _=n[pe(t.replace)?"replace":"push"](pe(t.to)).catch(rr);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>_),_}return Promise.resolve()}return{route:s,href:st(()=>s.value.href),isActive:u,isExactActive:l,navigate:f}}function zg(t){return t.length===1?t[0]:t}const Dg=Ge({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:jc,setup(t,{slots:n}){const r=Vs(jc(t)),{options:s}=Ft(Xs),a=st(()=>({[qc(t.activeClass,s.linkActiveClass,"router-link-active")]:r.isActive,[qc(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const u=n.default&&zg(n.default(r));return t.custom?u:ja("a",{"aria-current":r.isExactActive?t.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},u)}}}),jg=Dg;function Bg(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const n=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return t.preventDefault&&t.preventDefault(),!0}}function qg(t,n){for(const r in n){const s=n[r],a=t[r];if(typeof s=="string"){if(s!==a)return!1}else if(!Ht(a)||a.length!==s.length||s.some((u,l)=>u!==a[l]))return!1}return!0}function Bc(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const qc=(t,n,r)=>t??n??r,Zg=Ge({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:n,slots:r}){const s=Ft(Sa),a=st(()=>t.route||s.value),u=Ft(Dc,0),l=st(()=>{let _=pe(u);const{matched:m}=a.value;let g;for(;(g=m[_])&&!g.components;)_++;return _}),f=st(()=>a.value.matched[l.value]);Ts(Dc,st(()=>l.value+1)),Ts(Ng,f),Ts(Sa,a);const h=Je();return yn(()=>[h.value,f.value,t.name],([_,m,g],[y,E,$])=>{m&&(m.instances[g]=_,E&&E!==m&&_&&_===y&&(m.leaveGuards.size||(m.leaveGuards=E.leaveGuards),m.updateGuards.size||(m.updateGuards=E.updateGuards))),_&&m&&(!E||!Li(m,E)||!y)&&(m.enterCallbacks[g]||[]).forEach(x=>x(_))},{flush:"post"}),()=>{const _=a.value,m=t.name,g=f.value,y=g&&g.components[m];if(!y)return Zc(r.default,{Component:y,route:_});const E=g.props[m],$=E?E===!0?_.params:typeof E=="function"?E(_):E:null,b=ja(y,Be({},$,n,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(g.instances[m]=null)},ref:h}));return Zc(r.default,{Component:b,route:_})||b}}});function Zc(t,n){if(!t)return null;const r=t(n);return r.length===1?r[0]:r}const Fg=Zg;function Vg(t){const n=Lg(t.routes,t),r=t.parseQuery||Ig,s=t.stringifyQuery||zc,a=t.history,u=Ki(),l=Ki(),f=Ki(),h=Jp(Cn);let _=Cn;yi&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Ko.bind(null,j=>""+j),g=Ko.bind(null,ng),y=Ko.bind(null,pr);function E(j,G){let ee,ae;return Dh(j)?(ee=n.getRecordMatcher(j),ae=G):ae=j,n.addRoute(ae,ee)}function $(j){const G=n.getRecordMatcher(j);G&&n.removeRoute(G)}function x(){return n.getRoutes().map(j=>j.record)}function b(j){return!!n.getRecordMatcher(j)}function P(j,G){if(G=Be({},G||h.value),typeof j=="string"){const A=Wo(r,j,G.path),B=n.resolve({path:A.path},G),H=a.createHref(A.fullPath);return Be(A,B,{params:y(B.params),hash:pr(A.hash),redirectedFrom:void 0,href:H})}let ee;if(j.path!=null)ee=Be({},j,{path:Wo(r,j.path,G.path).path});else{const A=Be({},j.params);for(const B in A)A[B]==null&&delete A[B];ee=Be({},j,{params:g(A)}),G.params=g(G.params)}const ae=n.resolve(ee,G),z=j.hash||"";ae.params=m(y(ae.params));const w=sg(s,Be({},j,{hash:Q_(z),path:ae.path})),T=a.createHref(w);return Be({fullPath:w,hash:z,query:s===zc?Mg(j.query):j.query||{}},ae,{redirectedFrom:void 0,href:T})}function p(j){return typeof j=="string"?Wo(r,j,h.value.path):Be({},j)}function v(j,G){if(_!==j)return xi(8,{from:G,to:j})}function C(j){return I(j)}function O(j){return C(Be(p(j),{replace:!0}))}function k(j){const G=j.matched[j.matched.length-1];if(G&&G.redirect){const{redirect:ee}=G;let ae=typeof ee=="function"?ee(j):ee;return typeof ae=="string"&&(ae=ae.includes("?")||ae.includes("#")?ae=p(ae):{path:ae},ae.params={}),Be({query:j.query,hash:j.hash,params:ae.path!=null?{}:j.params},ae)}}function I(j,G){const ee=_=P(j),ae=h.value,z=j.state,w=j.force,T=j.replace===!0,A=k(ee);if(A)return I(Be(p(A),{state:typeof A=="object"?Be({},z,A.state):z,force:w,replace:T}),G||ee);const B=ee;B.redirectedFrom=G;let H;return!w&&og(s,ae,ee)&&(H=xi(16,{to:B,from:ae}),D(ae,ae,!0,!1)),(H?Promise.resolve(H):se(B,ae)).catch(J=>fn(J)?fn(J,2)?J:K(J):re(J,B,ae)).then(J=>{if(J){if(fn(J,2))return I(Be({replace:T},p(J.to),{state:typeof J.to=="object"?Be({},z,J.to.state):z,force:w}),G||B)}else J=X(B,ae,!0,T,z);return ie(B,ae,J),J})}function V(j,G){const ee=v(j,G);return ee?Promise.reject(ee):Promise.resolve()}function W(j){const G=R.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(j):j()}function se(j,G){let ee;const[ae,z,w]=Hg(j,G);ee=Go(ae.reverse(),"beforeRouteLeave",j,G);for(const A of ae)A.leaveGuards.forEach(B=>{ee.push(On(B,j,G))});const T=V.bind(null,j,G);return ee.push(T),q(ee).then(()=>{ee=[];for(const A of u.list())ee.push(On(A,j,G));return ee.push(T),q(ee)}).then(()=>{ee=Go(z,"beforeRouteUpdate",j,G);for(const A of z)A.updateGuards.forEach(B=>{ee.push(On(B,j,G))});return ee.push(T),q(ee)}).then(()=>{ee=[];for(const A of w)if(A.beforeEnter)if(Ht(A.beforeEnter))for(const B of A.beforeEnter)ee.push(On(B,j,G));else ee.push(On(A.beforeEnter,j,G));return ee.push(T),q(ee)}).then(()=>(j.matched.forEach(A=>A.enterCallbacks={}),ee=Go(w,"beforeRouteEnter",j,G,W),ee.push(T),q(ee))).then(()=>{ee=[];for(const A of l.list())ee.push(On(A,j,G));return ee.push(T),q(ee)}).catch(A=>fn(A,8)?A:Promise.reject(A))}function ie(j,G,ee){f.list().forEach(ae=>W(()=>ae(j,G,ee)))}function X(j,G,ee,ae,z){const w=v(j,G);if(w)return w;const T=G===Cn,A=yi?history.state:{};ee&&(ae||T?a.replace(j.fullPath,Be({scroll:T&&A&&A.scroll},z)):a.push(j.fullPath,z)),h.value=j,D(j,G,ee,T),K()}let fe;function me(){fe||(fe=a.listen((j,G,ee)=>{if(!M.listening)return;const ae=P(j),z=k(ae);if(z){I(Be(z,{replace:!0,force:!0}),ae).catch(rr);return}_=ae;const w=h.value;yi&&pg(Rc(w.fullPath,ee.delta),Ys()),se(ae,w).catch(T=>fn(T,12)?T:fn(T,2)?(I(Be(p(T.to),{force:!0}),ae).then(A=>{fn(A,20)&&!ee.delta&&ee.type===mr.pop&&a.go(-1,!1)}).catch(rr),Promise.reject()):(ee.delta&&a.go(-ee.delta,!1),re(T,ae,w))).then(T=>{T=T||X(ae,w,!1),T&&(ee.delta&&!fn(T,8)?a.go(-ee.delta,!1):ee.type===mr.pop&&fn(T,20)&&a.go(-1,!1)),ie(ae,w,T)}).catch(rr)}))}let Ie=Ki(),Se=Ki(),$e;function re(j,G,ee){K(j);const ae=Se.list();return ae.length?ae.forEach(z=>z(j,G,ee)):console.error(j),Promise.reject(j)}function et(){return $e&&h.value!==Cn?Promise.resolve():new Promise((j,G)=>{Ie.add([j,G])})}function K(j){return $e||($e=!j,me(),Ie.list().forEach(([G,ee])=>j?ee(j):G()),Ie.reset()),j}function D(j,G,ee,ae){const{scrollBehavior:z}=t;if(!yi||!z)return Promise.resolve();const w=!ee&&mg(Rc(j.fullPath,0))||(ae||!ee)&&history.state&&history.state.scroll||null;return Bf().then(()=>z(j,G,w)).then(T=>T&&dg(T)).catch(T=>re(T,j,G))}const Y=j=>a.go(j);let Z;const R=new Set,M={currentRoute:h,listening:!0,addRoute:E,removeRoute:$,clearRoutes:n.clearRoutes,hasRoute:b,getRoutes:x,resolve:P,options:t,push:C,replace:O,go:Y,back:()=>Y(-1),forward:()=>Y(1),beforeEach:u.add,beforeResolve:l.add,afterEach:f.add,onError:Se.add,isReady:et,install(j){const G=this;j.component("RouterLink",jg),j.component("RouterView",Fg),j.config.globalProperties.$router=G,Object.defineProperty(j.config.globalProperties,"$route",{enumerable:!0,get:()=>pe(h)}),yi&&!Z&&h.value===Cn&&(Z=!0,C(a.location).catch(z=>{}));const ee={};for(const z in Cn)Object.defineProperty(ee,z,{get:()=>h.value[z],enumerable:!0});j.provide(Xs,G),j.provide(qa,Mf(ee)),j.provide(Sa,h);const ae=j.unmount;R.add(j),j.unmount=function(){R.delete(j),R.size<1&&(_=Cn,fe&&fe(),fe=null,h.value=Cn,Z=!1,$e=!1),ae()}}};function q(j){return j.reduce((G,ee)=>G.then(()=>W(ee)),Promise.resolve())}return M}function Hg(t,n){const r=[],s=[],a=[],u=Math.max(n.matched.length,t.matched.length);for(let l=0;lLi(_,f))?s.push(f):r.push(f));const h=t.matched[l];h&&(n.matched.find(_=>Li(_,h))||a.push(h))}return[r,s,a]}function Qs(){return Ft(Xs)}function eo(t){return Ft(qa)}function Zh(t,n){return he(),we("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"})])}function Fh(t,n){return he(),we("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"})])}function Vh(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var qr={exports:{}},Jo={},hn={},Kn={},Yo={},Xo={},Qo={},Fc;function Ns(){return Fc||(Fc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{constructor(p){if(super(),!t.IDENTIFIER.test(p))throw new Error("CodeGen: name must be a valid identifier");this.str=p}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=r;class s extends n{constructor(p){super(),this._items=typeof p=="string"?[p]:p}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const p=this._items[0];return p===""||p==='""'}get str(){var p;return(p=this._str)!==null&&p!==void 0?p:this._str=this._items.reduce((v,C)=>`${v}${C}`,"")}get names(){var p;return(p=this._names)!==null&&p!==void 0?p:this._names=this._items.reduce((v,C)=>(C instanceof r&&(v[C.str]=(v[C.str]||0)+1),v),{})}}t._Code=s,t.nil=new s("");function a(P,...p){const v=[P[0]];let C=0;for(;C{if(g.scopePath===void 0)throw new Error(`CodeGen: name "${g}" has no value`);return(0,n._)`${_}${g.scopePath}`})}scopeCode(_=this._values,m,g){return this._reduceValues(_,y=>{if(y.value===void 0)throw new Error(`CodeGen: name "${y}" has no value`);return y.value.code},m,g)}_reduceValues(_,m,g={},y){let E=n.nil;for(const $ in _){const x=_[$];if(!x)continue;const b=g[$]=g[$]||new Map;x.forEach(P=>{if(b.has(P))return;b.set(P,s.Started);let p=m(P);if(p){const v=this.opts.es5?t.varKinds.var:t.varKinds.const;E=(0,n._)`${E}${v} ${P} = ${p};${this.opts._n}`}else if(p=y==null?void 0:y(P))E=(0,n._)`${E}${p}${this.opts._n}`;else throw new r(P);b.set(P,s.Completed)})}return E}}t.ValueScope=f}(ea)),ea}var Uc;function Oe(){return Uc||(Uc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const n=Ns(),r=Hc();var s=Ns();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return s.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return s.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return s.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return s.Name}});var a=Hc();Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return a.varKinds}}),t.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 u{optimizeNodes(){return this}optimizeNames(R,M){return this}}class l extends u{constructor(R,M,q){super(),this.varKind=R,this.name=M,this.rhs=q}render({es5:R,_n:M}){const q=R?r.varKinds.var:this.varKind,j=this.rhs===void 0?"":` = ${this.rhs}`;return`${q} ${this.name}${j};`+M}optimizeNames(R,M){if(R[this.name.str])return this.rhs&&(this.rhs=me(this.rhs,R,M)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class f extends u{constructor(R,M,q){super(),this.lhs=R,this.rhs=M,this.sideEffects=q}render({_n:R}){return`${this.lhs} = ${this.rhs};`+R}optimizeNames(R,M){if(!(this.lhs instanceof n.Name&&!R[this.lhs.str]&&!this.sideEffects))return this.rhs=me(this.rhs,R,M),this}get names(){const R=this.lhs instanceof n.Name?{}:{...this.lhs.names};return fe(R,this.rhs)}}class h extends f{constructor(R,M,q,j){super(R,q,j),this.op=M}render({_n:R}){return`${this.lhs} ${this.op}= ${this.rhs};`+R}}class _ extends u{constructor(R){super(),this.label=R,this.names={}}render({_n:R}){return`${this.label}:`+R}}class m extends u{constructor(R){super(),this.label=R,this.names={}}render({_n:R}){return`break${this.label?` ${this.label}`:""};`+R}}class g extends u{constructor(R){super(),this.error=R}render({_n:R}){return`throw ${this.error};`+R}get names(){return this.error.names}}class y extends u{constructor(R){super(),this.code=R}render({_n:R}){return`${this.code};`+R}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(R,M){return this.code=me(this.code,R,M),this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class E extends u{constructor(R=[]){super(),this.nodes=R}render(R){return this.nodes.reduce((M,q)=>M+q.render(R),"")}optimizeNodes(){const{nodes:R}=this;let M=R.length;for(;M--;){const q=R[M].optimizeNodes();Array.isArray(q)?R.splice(M,1,...q):q?R[M]=q:R.splice(M,1)}return R.length>0?this:void 0}optimizeNames(R,M){const{nodes:q}=this;let j=q.length;for(;j--;){const G=q[j];G.optimizeNames(R,M)||(Ie(R,G.names),q.splice(j,1))}return q.length>0?this:void 0}get names(){return this.nodes.reduce((R,M)=>X(R,M.names),{})}}class $ extends E{render(R){return"{"+R._n+super.render(R)+"}"+R._n}}class x extends E{}class b extends ${}b.kind="else";class P extends ${constructor(R,M){super(M),this.condition=R}render(R){let M=`if(${this.condition})`+super.render(R);return this.else&&(M+="else "+this.else.render(R)),M}optimizeNodes(){super.optimizeNodes();const R=this.condition;if(R===!0)return this.nodes;let M=this.else;if(M){const q=M.optimizeNodes();M=this.else=Array.isArray(q)?new b(q):q}if(M)return R===!1?M instanceof P?M:M.nodes:this.nodes.length?this:new P(Se(R),M instanceof P?[M]:M.nodes);if(!(R===!1||!this.nodes.length))return this}optimizeNames(R,M){var q;if(this.else=(q=this.else)===null||q===void 0?void 0:q.optimizeNames(R,M),!!(super.optimizeNames(R,M)||this.else))return this.condition=me(this.condition,R,M),this}get names(){const R=super.names;return fe(R,this.condition),this.else&&X(R,this.else.names),R}}P.kind="if";class p extends ${}p.kind="for";class v extends p{constructor(R){super(),this.iteration=R}render(R){return`for(${this.iteration})`+super.render(R)}optimizeNames(R,M){if(super.optimizeNames(R,M))return this.iteration=me(this.iteration,R,M),this}get names(){return X(super.names,this.iteration.names)}}class C extends p{constructor(R,M,q,j){super(),this.varKind=R,this.name=M,this.from=q,this.to=j}render(R){const M=R.es5?r.varKinds.var:this.varKind,{name:q,from:j,to:G}=this;return`for(${M} ${q}=${j}; ${q}<${G}; ${q}++)`+super.render(R)}get names(){const R=fe(super.names,this.from);return fe(R,this.to)}}class O extends p{constructor(R,M,q,j){super(),this.loop=R,this.varKind=M,this.name=q,this.iterable=j}render(R){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(R)}optimizeNames(R,M){if(super.optimizeNames(R,M))return this.iterable=me(this.iterable,R,M),this}get names(){return X(super.names,this.iterable.names)}}class k extends ${constructor(R,M,q){super(),this.name=R,this.args=M,this.async=q}render(R){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(R)}}k.kind="func";class I extends E{render(R){return"return "+super.render(R)}}I.kind="return";class V extends ${render(R){let M="try"+super.render(R);return this.catch&&(M+=this.catch.render(R)),this.finally&&(M+=this.finally.render(R)),M}optimizeNodes(){var R,M;return super.optimizeNodes(),(R=this.catch)===null||R===void 0||R.optimizeNodes(),(M=this.finally)===null||M===void 0||M.optimizeNodes(),this}optimizeNames(R,M){var q,j;return super.optimizeNames(R,M),(q=this.catch)===null||q===void 0||q.optimizeNames(R,M),(j=this.finally)===null||j===void 0||j.optimizeNames(R,M),this}get names(){const R=super.names;return this.catch&&X(R,this.catch.names),this.finally&&X(R,this.finally.names),R}}class W extends ${constructor(R){super(),this.error=R}render(R){return`catch(${this.error})`+super.render(R)}}W.kind="catch";class se extends ${render(R){return"finally"+super.render(R)}}se.kind="finally";class ie{constructor(R,M={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...M,_n:M.lines?` +`:""},this._extScope=R,this._scope=new r.Scope({parent:R}),this._nodes=[new x]}toString(){return this._root.render(this.opts)}name(R){return this._scope.name(R)}scopeName(R){return this._extScope.name(R)}scopeValue(R,M){const q=this._extScope.value(R,M);return(this._values[q.prefix]||(this._values[q.prefix]=new Set)).add(q),q}getScopeValue(R,M){return this._extScope.getValue(R,M)}scopeRefs(R){return this._extScope.scopeRefs(R,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(R,M,q,j){const G=this._scope.toName(M);return q!==void 0&&j&&(this._constants[G.str]=q),this._leafNode(new l(R,G,q)),G}const(R,M,q){return this._def(r.varKinds.const,R,M,q)}let(R,M,q){return this._def(r.varKinds.let,R,M,q)}var(R,M,q){return this._def(r.varKinds.var,R,M,q)}assign(R,M,q){return this._leafNode(new f(R,M,q))}add(R,M){return this._leafNode(new h(R,t.operators.ADD,M))}code(R){return typeof R=="function"?R():R!==n.nil&&this._leafNode(new y(R)),this}object(...R){const M=["{"];for(const[q,j]of R)M.length>1&&M.push(","),M.push(q),(q!==j||this.opts.es5)&&(M.push(":"),(0,n.addCodeArg)(M,j));return M.push("}"),new n._Code(M)}if(R,M,q){if(this._blockNode(new P(R)),M&&q)this.code(M).else().code(q).endIf();else if(M)this.code(M).endIf();else if(q)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(R){return this._elseNode(new P(R))}else(){return this._elseNode(new b)}endIf(){return this._endBlockNode(P,b)}_for(R,M){return this._blockNode(R),M&&this.code(M).endFor(),this}for(R,M){return this._for(new v(R),M)}forRange(R,M,q,j,G=this.opts.es5?r.varKinds.var:r.varKinds.let){const ee=this._scope.toName(R);return this._for(new C(G,ee,M,q),()=>j(ee))}forOf(R,M,q,j=r.varKinds.const){const G=this._scope.toName(R);if(this.opts.es5){const ee=M instanceof n.Name?M:this.var("_arr",M);return this.forRange("_i",0,(0,n._)`${ee}.length`,ae=>{this.var(G,(0,n._)`${ee}[${ae}]`),q(G)})}return this._for(new O("of",j,G,M),()=>q(G))}forIn(R,M,q,j=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(R,(0,n._)`Object.keys(${M})`,q);const G=this._scope.toName(R);return this._for(new O("in",j,G,M),()=>q(G))}endFor(){return this._endBlockNode(p)}label(R){return this._leafNode(new _(R))}break(R){return this._leafNode(new m(R))}return(R){const M=new I;if(this._blockNode(M),this.code(R),M.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(I)}try(R,M,q){if(!M&&!q)throw new Error('CodeGen: "try" without "catch" and "finally"');const j=new V;if(this._blockNode(j),this.code(R),M){const G=this.name("e");this._currNode=j.catch=new W(G),M(G)}return q&&(this._currNode=j.finally=new se,this.code(q)),this._endBlockNode(W,se)}throw(R){return this._leafNode(new g(R))}block(R,M){return this._blockStarts.push(this._nodes.length),R&&this.code(R).endBlock(M),this}endBlock(R){const M=this._blockStarts.pop();if(M===void 0)throw new Error("CodeGen: not in self-balancing block");const q=this._nodes.length-M;if(q<0||R!==void 0&&q!==R)throw new Error(`CodeGen: wrong number of nodes: ${q} vs ${R} expected`);return this._nodes.length=M,this}func(R,M=n.nil,q,j){return this._blockNode(new k(R,M,q)),j&&this.code(j).endFunc(),this}endFunc(){return this._endBlockNode(k)}optimize(R=1){for(;R-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(R){return this._currNode.nodes.push(R),this}_blockNode(R){this._currNode.nodes.push(R),this._nodes.push(R)}_endBlockNode(R,M){const q=this._currNode;if(q instanceof R||M&&q instanceof M)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${M?`${R.kind}/${M.kind}`:R.kind}"`)}_elseNode(R){const M=this._currNode;if(!(M instanceof P))throw new Error('CodeGen: "else" without "if"');return this._currNode=M.else=R,this}get _root(){return this._nodes[0]}get _currNode(){const R=this._nodes;return R[R.length-1]}set _currNode(R){const M=this._nodes;M[M.length-1]=R}}t.CodeGen=ie;function X(Z,R){for(const M in R)Z[M]=(Z[M]||0)+(R[M]||0);return Z}function fe(Z,R){return R instanceof n._CodeOrName?X(Z,R.names):Z}function me(Z,R,M){if(Z instanceof n.Name)return q(Z);if(!j(Z))return Z;return new n._Code(Z._items.reduce((G,ee)=>(ee instanceof n.Name&&(ee=q(ee)),ee instanceof n._Code?G.push(...ee._items):G.push(ee),G),[]));function q(G){const ee=M[G.str];return ee===void 0||R[G.str]!==1?G:(delete R[G.str],ee)}function j(G){return G instanceof n._Code&&G._items.some(ee=>ee instanceof n.Name&&R[ee.str]===1&&M[ee.str]!==void 0)}}function Ie(Z,R){for(const M in R)Z[M]=(Z[M]||0)-(R[M]||0)}function Se(Z){return typeof Z=="boolean"||typeof Z=="number"||Z===null?!Z:(0,n._)`!${Y(Z)}`}t.not=Se;const $e=D(t.operators.AND);function re(...Z){return Z.reduce($e)}t.and=re;const et=D(t.operators.OR);function K(...Z){return Z.reduce(et)}t.or=K;function D(Z){return(R,M)=>R===n.nil?M:M===n.nil?R:(0,n._)`${Y(R)} ${Z} ${Y(M)}`}function Y(Z){return Z instanceof n.Name?Z:(0,n._)`(${Z})`}}(Xo)),Xo}var Le={},Kc;function De(){if(Kc)return Le;Kc=1,Object.defineProperty(Le,"__esModule",{value:!0}),Le.checkStrictMode=Le.getErrorPath=Le.Type=Le.useFunc=Le.setEvaluated=Le.evaluatedPropsToName=Le.mergeEvaluated=Le.eachItem=Le.unescapeJsonPointer=Le.escapeJsonPointer=Le.escapeFragment=Le.unescapeFragment=Le.schemaRefOrVal=Le.schemaHasRulesButRef=Le.schemaHasRules=Le.checkUnknownRules=Le.alwaysValidSchema=Le.toHash=void 0;const t=Oe(),n=Ns();function r(O){const k={};for(const I of O)k[I]=!0;return k}Le.toHash=r;function s(O,k){return typeof k=="boolean"?k:Object.keys(k).length===0?!0:(a(O,k),!u(k,O.self.RULES.all))}Le.alwaysValidSchema=s;function a(O,k=O.schema){const{opts:I,self:V}=O;if(!I.strictSchema||typeof k=="boolean")return;const W=V.RULES.keywords;for(const se in k)W[se]||C(O,`unknown keyword: "${se}"`)}Le.checkUnknownRules=a;function u(O,k){if(typeof O=="boolean")return!O;for(const I in O)if(k[I])return!0;return!1}Le.schemaHasRules=u;function l(O,k){if(typeof O=="boolean")return!O;for(const I in O)if(I!=="$ref"&&k.all[I])return!0;return!1}Le.schemaHasRulesButRef=l;function f({topSchemaRef:O,schemaPath:k},I,V,W){if(!W){if(typeof I=="number"||typeof I=="boolean")return I;if(typeof I=="string")return(0,t._)`${I}`}return(0,t._)`${O}${k}${(0,t.getProperty)(V)}`}Le.schemaRefOrVal=f;function h(O){return g(decodeURIComponent(O))}Le.unescapeFragment=h;function _(O){return encodeURIComponent(m(O))}Le.escapeFragment=_;function m(O){return typeof O=="number"?`${O}`:O.replace(/~/g,"~0").replace(/\//g,"~1")}Le.escapeJsonPointer=m;function g(O){return O.replace(/~1/g,"/").replace(/~0/g,"~")}Le.unescapeJsonPointer=g;function y(O,k){if(Array.isArray(O))for(const I of O)k(I);else k(O)}Le.eachItem=y;function E({mergeNames:O,mergeToName:k,mergeValues:I,resultToName:V}){return(W,se,ie,X)=>{const fe=ie===void 0?se:ie instanceof t.Name?(se instanceof t.Name?O(W,se,ie):k(W,se,ie),ie):se instanceof t.Name?(k(W,ie,se),se):I(se,ie);return X===t.Name&&!(fe instanceof t.Name)?V(W,fe):fe}}Le.mergeEvaluated={props:E({mergeNames:(O,k,I)=>O.if((0,t._)`${I} !== true && ${k} !== undefined`,()=>{O.if((0,t._)`${k} === true`,()=>O.assign(I,!0),()=>O.assign(I,(0,t._)`${I} || {}`).code((0,t._)`Object.assign(${I}, ${k})`))}),mergeToName:(O,k,I)=>O.if((0,t._)`${I} !== true`,()=>{k===!0?O.assign(I,!0):(O.assign(I,(0,t._)`${I} || {}`),x(O,I,k))}),mergeValues:(O,k)=>O===!0?!0:{...O,...k},resultToName:$}),items:E({mergeNames:(O,k,I)=>O.if((0,t._)`${I} !== true && ${k} !== undefined`,()=>O.assign(I,(0,t._)`${k} === true ? true : ${I} > ${k} ? ${I} : ${k}`)),mergeToName:(O,k,I)=>O.if((0,t._)`${I} !== true`,()=>O.assign(I,k===!0?!0:(0,t._)`${I} > ${k} ? ${I} : ${k}`)),mergeValues:(O,k)=>O===!0?!0:Math.max(O,k),resultToName:(O,k)=>O.var("items",k)})};function $(O,k){if(k===!0)return O.var("props",!0);const I=O.var("props",(0,t._)`{}`);return k!==void 0&&x(O,I,k),I}Le.evaluatedPropsToName=$;function x(O,k,I){Object.keys(I).forEach(V=>O.assign((0,t._)`${k}${(0,t.getProperty)(V)}`,!0))}Le.setEvaluated=x;const b={};function P(O,k){return O.scopeValue("func",{ref:k,code:b[k.code]||(b[k.code]=new n._Code(k.code))})}Le.useFunc=P;var p;(function(O){O[O.Num=0]="Num",O[O.Str=1]="Str"})(p||(Le.Type=p={}));function v(O,k,I){if(O instanceof t.Name){const V=k===p.Num;return I?V?(0,t._)`"[" + ${O} + "]"`:(0,t._)`"['" + ${O} + "']"`:V?(0,t._)`"/" + ${O}`:(0,t._)`"/" + ${O}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return I?(0,t.getProperty)(O).toString():"/"+m(O)}Le.getErrorPath=v;function C(O,k,I=O.opts.strictSchema){if(I){if(k=`strict mode: ${k}`,I===!0)throw new Error(k);O.self.logger.warn(k)}}return Le.checkStrictMode=C,Le}var Zr={},Wc;function zn(){if(Wc)return Zr;Wc=1,Object.defineProperty(Zr,"__esModule",{value:!0});const t=Oe(),n={data:new t.Name("data"),valCxt:new t.Name("valCxt"),instancePath:new t.Name("instancePath"),parentData:new t.Name("parentData"),parentDataProperty:new t.Name("parentDataProperty"),rootData:new t.Name("rootData"),dynamicAnchors:new t.Name("dynamicAnchors"),vErrors:new t.Name("vErrors"),errors:new t.Name("errors"),this:new t.Name("this"),self:new t.Name("self"),scope:new t.Name("scope"),json:new t.Name("json"),jsonPos:new t.Name("jsonPos"),jsonLen:new t.Name("jsonLen"),jsonPart:new t.Name("jsonPart")};return Zr.default=n,Zr}var Gc;function to(){return Gc||(Gc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const n=Oe(),r=De(),s=zn();t.keywordError={message:({keyword:b})=>(0,n.str)`must pass "${b}" keyword validation`},t.keyword$DataError={message:({keyword:b,schemaType:P})=>P?(0,n.str)`"${b}" keyword must be ${P} ($data)`:(0,n.str)`"${b}" keyword is invalid ($data)`};function a(b,P=t.keywordError,p,v){const{it:C}=b,{gen:O,compositeRule:k,allErrors:I}=C,V=g(b,P,p);v??(k||I)?h(O,V):_(C,(0,n._)`[${V}]`)}t.reportError=a;function u(b,P=t.keywordError,p){const{it:v}=b,{gen:C,compositeRule:O,allErrors:k}=v,I=g(b,P,p);h(C,I),O||k||_(v,s.default.vErrors)}t.reportExtraError=u;function l(b,P){b.assign(s.default.errors,P),b.if((0,n._)`${s.default.vErrors} !== null`,()=>b.if(P,()=>b.assign((0,n._)`${s.default.vErrors}.length`,P),()=>b.assign(s.default.vErrors,null)))}t.resetErrorsCount=l;function f({gen:b,keyword:P,schemaValue:p,data:v,errsCount:C,it:O}){if(C===void 0)throw new Error("ajv implementation error");const k=b.name("err");b.forRange("i",C,s.default.errors,I=>{b.const(k,(0,n._)`${s.default.vErrors}[${I}]`),b.if((0,n._)`${k}.instancePath === undefined`,()=>b.assign((0,n._)`${k}.instancePath`,(0,n.strConcat)(s.default.instancePath,O.errorPath))),b.assign((0,n._)`${k}.schemaPath`,(0,n.str)`${O.errSchemaPath}/${P}`),O.opts.verbose&&(b.assign((0,n._)`${k}.schema`,p),b.assign((0,n._)`${k}.data`,v))})}t.extendErrors=f;function h(b,P){const p=b.const("err",P);b.if((0,n._)`${s.default.vErrors} === null`,()=>b.assign(s.default.vErrors,(0,n._)`[${p}]`),(0,n._)`${s.default.vErrors}.push(${p})`),b.code((0,n._)`${s.default.errors}++`)}function _(b,P){const{gen:p,validateName:v,schemaEnv:C}=b;C.$async?p.throw((0,n._)`new ${b.ValidationError}(${P})`):(p.assign((0,n._)`${v}.errors`,P),p.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 g(b,P,p){const{createErrors:v}=b.it;return v===!1?(0,n._)`{}`:y(b,P,p)}function y(b,P,p={}){const{gen:v,it:C}=b,O=[E(C,p),$(b,p)];return x(b,P,O),v.object(...O)}function E({errorPath:b},{instancePath:P}){const p=P?(0,n.str)`${b}${(0,r.getErrorPath)(P,r.Type.Str)}`:b;return[s.default.instancePath,(0,n.strConcat)(s.default.instancePath,p)]}function $({keyword:b,it:{errSchemaPath:P}},{schemaPath:p,parentSchema:v}){let C=v?P:(0,n.str)`${P}/${b}`;return p&&(C=(0,n.str)`${C}${(0,r.getErrorPath)(p,r.Type.Str)}`),[m.schemaPath,C]}function x(b,{params:P,message:p},v){const{keyword:C,data:O,schemaValue:k,it:I}=b,{opts:V,propertyName:W,topSchemaRef:se,schemaPath:ie}=I;v.push([m.keyword,C],[m.params,typeof P=="function"?P(b):P||(0,n._)`{}`]),V.messages&&v.push([m.message,typeof p=="function"?p(b):p]),V.verbose&&v.push([m.schema,k],[m.parentSchema,(0,n._)`${se}${ie}`],[s.default.data,O]),W&&v.push([m.propertyName,W])}}(Yo)),Yo}var Jc;function Ug(){if(Jc)return Kn;Jc=1,Object.defineProperty(Kn,"__esModule",{value:!0}),Kn.boolOrEmptySchema=Kn.topBoolOrEmptySchema=void 0;const t=to(),n=Oe(),r=zn(),s={message:"boolean schema is false"};function a(f){const{gen:h,schema:_,validateName:m}=f;_===!1?l(f,!1):typeof _=="object"&&_.$async===!0?h.return(r.default.data):(h.assign((0,n._)`${m}.errors`,null),h.return(!0))}Kn.topBoolOrEmptySchema=a;function u(f,h){const{gen:_,schema:m}=f;m===!1?(_.var(h,!1),l(f)):_.var(h,!0)}Kn.boolOrEmptySchema=u;function l(f,h){const{gen:_,data:m}=f,g={gen:_,keyword:"false schema",data:m,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:f};(0,t.reportError)(g,s,void 0,h)}return Kn}var ht={},Wn={},Yc;function Hh(){if(Yc)return Wn;Yc=1,Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.getRules=Wn.isJSONType=void 0;const t=["string","number","integer","boolean","null","object","array"],n=new Set(t);function r(a){return typeof a=="string"&&n.has(a)}Wn.isJSONType=r;function s(){const a={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...a,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},a.number,a.string,a.array,a.object],post:{rules:[]},all:{},keywords:{}}}return Wn.getRules=s,Wn}var dn={},Xc;function Uh(){if(Xc)return dn;Xc=1,Object.defineProperty(dn,"__esModule",{value:!0}),dn.shouldUseRule=dn.shouldUseGroup=dn.schemaHasRulesForType=void 0;function t({schema:s,self:a},u){const l=a.RULES.types[u];return l&&l!==!0&&n(s,l)}dn.schemaHasRulesForType=t;function n(s,a){return a.rules.some(u=>r(s,u))}dn.shouldUseGroup=n;function r(s,a){var u;return s[a.keyword]!==void 0||((u=a.definition.implements)===null||u===void 0?void 0:u.some(l=>s[l]!==void 0))}return dn.shouldUseRule=r,dn}var Qc;function zs(){if(Qc)return ht;Qc=1,Object.defineProperty(ht,"__esModule",{value:!0}),ht.reportTypeError=ht.checkDataTypes=ht.checkDataType=ht.coerceAndCheckDataType=ht.getJSONTypes=ht.getSchemaTypes=ht.DataType=void 0;const t=Hh(),n=Uh(),r=to(),s=Oe(),a=De();var u;(function(p){p[p.Correct=0]="Correct",p[p.Wrong=1]="Wrong"})(u||(ht.DataType=u={}));function l(p){const v=f(p.type);if(v.includes("null")){if(p.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!v.length&&p.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');p.nullable===!0&&v.push("null")}return v}ht.getSchemaTypes=l;function f(p){const v=Array.isArray(p)?p:p?[p]:[];if(v.every(t.isJSONType))return v;throw new Error("type must be JSONType or JSONType[]: "+v.join(","))}ht.getJSONTypes=f;function h(p,v){const{gen:C,data:O,opts:k}=p,I=m(v,k.coerceTypes),V=v.length>0&&!(I.length===0&&v.length===1&&(0,n.schemaHasRulesForType)(p,v[0]));if(V){const W=$(v,O,k.strictNumbers,u.Wrong);C.if(W,()=>{I.length?g(p,v,I):b(p)})}return V}ht.coerceAndCheckDataType=h;const _=new Set(["string","number","integer","boolean","null"]);function m(p,v){return v?p.filter(C=>_.has(C)||v==="array"&&C==="array"):[]}function g(p,v,C){const{gen:O,data:k,opts:I}=p,V=O.let("dataType",(0,s._)`typeof ${k}`),W=O.let("coerced",(0,s._)`undefined`);I.coerceTypes==="array"&&O.if((0,s._)`${V} == 'object' && Array.isArray(${k}) && ${k}.length == 1`,()=>O.assign(k,(0,s._)`${k}[0]`).assign(V,(0,s._)`typeof ${k}`).if($(v,k,I.strictNumbers),()=>O.assign(W,k))),O.if((0,s._)`${W} !== undefined`);for(const ie of C)(_.has(ie)||ie==="array"&&I.coerceTypes==="array")&&se(ie);O.else(),b(p),O.endIf(),O.if((0,s._)`${W} !== undefined`,()=>{O.assign(k,W),y(p,W)});function se(ie){switch(ie){case"string":O.elseIf((0,s._)`${V} == "number" || ${V} == "boolean"`).assign(W,(0,s._)`"" + ${k}`).elseIf((0,s._)`${k} === null`).assign(W,(0,s._)`""`);return;case"number":O.elseIf((0,s._)`${V} == "boolean" || ${k} === null || (${V} == "string" && ${k} && ${k} == +${k})`).assign(W,(0,s._)`+${k}`);return;case"integer":O.elseIf((0,s._)`${V} === "boolean" || ${k} === null || (${V} === "string" && ${k} && ${k} == +${k} && !(${k} % 1))`).assign(W,(0,s._)`+${k}`);return;case"boolean":O.elseIf((0,s._)`${k} === "false" || ${k} === 0 || ${k} === null`).assign(W,!1).elseIf((0,s._)`${k} === "true" || ${k} === 1`).assign(W,!0);return;case"null":O.elseIf((0,s._)`${k} === "" || ${k} === 0 || ${k} === false`),O.assign(W,null);return;case"array":O.elseIf((0,s._)`${V} === "string" || ${V} === "number" - || ${V} === "boolean" || ${k} === null`).assign(W,(0,s._)`[${k}]`)}}}function y({gen:p,parentData:v,parentDataProperty:C},O){p.if((0,s._)`${v} !== undefined`,()=>p.assign((0,s._)`${v}[${C}]`,O))}function E(p,v,C,O=u.Correct){const k=O===u.Correct?s.operators.EQ:s.operators.NEQ;let I;switch(p){case"null":return(0,s._)`${v} ${k} null`;case"array":I=(0,s._)`Array.isArray(${v})`;break;case"object":I=(0,s._)`${v} && typeof ${v} == "object" && !Array.isArray(${v})`;break;case"integer":I=V((0,s._)`!(${v} % 1) && !isNaN(${v})`);break;case"number":I=V();break;default:return(0,s._)`typeof ${v} ${k} ${p}`}return O===u.Correct?I:(0,s.not)(I);function V(W=s.nil){return(0,s.and)((0,s._)`typeof ${v} == "number"`,W,C?(0,s._)`isFinite(${v})`:s.nil)}}ht.checkDataType=E;function $(p,v,C,O){if(p.length===1)return E(p[0],v,C,O);let k;const I=(0,a.toHash)(p);if(I.array&&I.object){const V=(0,s._)`typeof ${v} != "object"`;k=I.null?V:(0,s._)`!${v} || ${V}`,delete I.null,delete I.array,delete I.object}else k=s.nil;I.number&&delete I.integer;for(const V in I)k=(0,s.and)(k,E(V,v,C,O));return k}ht.checkDataTypes=$;const x={message:({schema:p})=>`must be ${p}`,params:({schema:p,schemaValue:v})=>typeof p=="string"?(0,s._)`{type: ${p}}`:(0,s._)`{type: ${v}}`};function b(p){const v=P(p);(0,r.reportError)(v,x)}ht.reportTypeError=b;function P(p){const{gen:v,data:C,schema:O}=p,k=(0,a.schemaRefOrVal)(p,O,"type");return{gen:v,keyword:"type",data:C,schema:O.type,schemaCode:k,schemaValue:k,parentSchema:O,params:{},it:p}}return ht}var Wi={},el;function Kg(){if(el)return Wi;el=1,Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.assignDefaults=void 0;const t=Oe(),n=De();function r(a,u){const{properties:l,items:f}=a.schema;if(u==="object"&&l)for(const h in l)s(a,h,l[h].default);else u==="array"&&Array.isArray(f)&&f.forEach((h,_)=>s(a,_,h.default))}Wi.assignDefaults=r;function s(a,u,l){const{gen:f,compositeRule:h,data:_,opts:m}=a;if(l===void 0)return;const g=(0,t._)`${_}${(0,t.getProperty)(u)}`;if(h){(0,n.checkStrictMode)(a,`default is ignored for: ${g}`);return}let y=(0,t._)`${g} === undefined`;m.useDefaults==="empty"&&(y=(0,t._)`${y} || ${g} === null || ${g} === ""`),f.if(y,(0,t._)`${g} = ${(0,t.stringify)(l)}`)}return Wi}var qt={},Ze={},tl;function Ut(){if(tl)return Ze;tl=1,Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.validateUnion=Ze.validateArray=Ze.usePattern=Ze.callValidateCode=Ze.schemaProperties=Ze.allSchemaProperties=Ze.noPropertyInData=Ze.propertyInData=Ze.isOwnProperty=Ze.hasPropFunc=Ze.reportMissingProp=Ze.checkMissingProp=Ze.checkReportMissingProp=void 0;const t=Oe(),n=De(),r=zn(),s=De();function a(p,v){const{gen:C,data:O,it:k}=p;C.if(m(C,O,v,k.opts.ownProperties),()=>{p.setParams({missingProperty:(0,t._)`${v}`},!0),p.error()})}Ze.checkReportMissingProp=a;function u({gen:p,data:v,it:{opts:C}},O,k){return(0,t.or)(...O.map(I=>(0,t.and)(m(p,v,I,C.ownProperties),(0,t._)`${k} = ${I}`)))}Ze.checkMissingProp=u;function l(p,v){p.setParams({missingProperty:v},!0),p.error()}Ze.reportMissingProp=l;function f(p){return p.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,t._)`Object.prototype.hasOwnProperty`})}Ze.hasPropFunc=f;function h(p,v,C){return(0,t._)`${f(p)}.call(${v}, ${C})`}Ze.isOwnProperty=h;function _(p,v,C,O){const k=(0,t._)`${v}${(0,t.getProperty)(C)} !== undefined`;return O?(0,t._)`${k} && ${h(p,v,C)}`:k}Ze.propertyInData=_;function m(p,v,C,O){const k=(0,t._)`${v}${(0,t.getProperty)(C)} === undefined`;return O?(0,t.or)(k,(0,t.not)(h(p,v,C))):k}Ze.noPropertyInData=m;function g(p){return p?Object.keys(p).filter(v=>v!=="__proto__"):[]}Ze.allSchemaProperties=g;function y(p,v){return g(v).filter(C=>!(0,n.alwaysValidSchema)(p,v[C]))}Ze.schemaProperties=y;function E({schemaCode:p,data:v,it:{gen:C,topSchemaRef:O,schemaPath:k,errorPath:I},it:V},W,se,ne){const X=ne?(0,t._)`${p}, ${v}, ${O}${k}`:v,fe=[[r.default.instancePath,(0,t.strConcat)(r.default.instancePath,I)],[r.default.parentData,V.parentData],[r.default.parentDataProperty,V.parentDataProperty],[r.default.rootData,r.default.rootData]];V.opts.dynamicRef&&fe.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);const me=(0,t._)`${X}, ${C.object(...fe)}`;return se!==t.nil?(0,t._)`${W}.call(${se}, ${me})`:(0,t._)`${W}(${me})`}Ze.callValidateCode=E;const $=(0,t._)`new RegExp`;function x({gen:p,it:{opts:v}},C){const O=v.unicodeRegExp?"u":"",{regExp:k}=v.code,I=k(C,O);return p.scopeValue("pattern",{key:I.toString(),ref:I,code:(0,t._)`${k.code==="new RegExp"?$:(0,s.useFunc)(p,k)}(${C}, ${O})`})}Ze.usePattern=x;function b(p){const{gen:v,data:C,keyword:O,it:k}=p,I=v.name("valid");if(k.allErrors){const W=v.let("valid",!0);return V(()=>v.assign(W,!1)),W}return v.var(I,!0),V(()=>v.break()),I;function V(W){const se=v.const("len",(0,t._)`${C}.length`);v.forRange("i",0,se,ne=>{p.subschema({keyword:O,dataProp:ne,dataPropType:n.Type.Num},I),v.if((0,t.not)(I),W)})}}Ze.validateArray=b;function P(p){const{gen:v,schema:C,keyword:O,it:k}=p;if(!Array.isArray(C))throw new Error("ajv implementation error");if(C.some(se=>(0,n.alwaysValidSchema)(k,se))&&!k.opts.unevaluated)return;const V=v.let("valid",!1),W=v.name("_valid");v.block(()=>C.forEach((se,ne)=>{const X=p.subschema({keyword:O,schemaProp:ne,compositeRule:!0},W);v.assign(V,(0,t._)`${V} || ${W}`),p.mergeValidEvaluated(X,W)||v.if((0,t.not)(V))})),p.result(V,()=>p.reset(),()=>p.error(!0))}return Ze.validateUnion=P,Ze}var nl;function Wg(){if(nl)return qt;nl=1,Object.defineProperty(qt,"__esModule",{value:!0}),qt.validateKeywordUsage=qt.validSchemaType=qt.funcKeywordCode=qt.macroKeywordCode=void 0;const t=Oe(),n=zn(),r=Ut(),s=to();function a(y,E){const{gen:$,keyword:x,schema:b,parentSchema:P,it:p}=y,v=E.macro.call(p.self,b,P,p),C=_($,x,v);p.opts.validateSchema!==!1&&p.self.validateSchema(v,!0);const O=$.name("valid");y.subschema({schema:v,schemaPath:t.nil,errSchemaPath:`${p.errSchemaPath}/${x}`,topSchemaRef:C,compositeRule:!0},O),y.pass(O,()=>y.error(!0))}qt.macroKeywordCode=a;function u(y,E){var $;const{gen:x,keyword:b,schema:P,parentSchema:p,$data:v,it:C}=y;h(C,E);const O=!v&&E.compile?E.compile.call(C.self,P,p,C):E.validate,k=_(x,b,O),I=x.let("valid");y.block$data(I,V),y.ok(($=E.valid)!==null&&$!==void 0?$:I);function V(){if(E.errors===!1)ne(),E.modifying&&l(y),X(()=>y.error());else{const fe=E.async?W():se();E.modifying&&l(y),X(()=>f(y,fe))}}function W(){const fe=x.let("ruleErrs",null);return x.try(()=>ne((0,t._)`await `),me=>x.assign(I,!1).if((0,t._)`${me} instanceof ${C.ValidationError}`,()=>x.assign(fe,(0,t._)`${me}.errors`),()=>x.throw(me))),fe}function se(){const fe=(0,t._)`${k}.errors`;return x.assign(fe,null),ne(t.nil),fe}function ne(fe=E.async?(0,t._)`await `:t.nil){const me=C.opts.passContext?n.default.this:n.default.self,Ie=!("compile"in E&&!v||E.schema===!1);x.assign(I,(0,t._)`${fe}${(0,r.callValidateCode)(y,k,me,Ie)}`,E.modifying)}function X(fe){var me;x.if((0,t.not)((me=E.valid)!==null&&me!==void 0?me:I),fe)}}qt.funcKeywordCode=u;function l(y){const{gen:E,data:$,it:x}=y;E.if(x.parentData,()=>E.assign($,(0,t._)`${x.parentData}[${x.parentDataProperty}]`))}function f(y,E){const{gen:$}=y;$.if((0,t._)`Array.isArray(${E})`,()=>{$.assign(n.default.vErrors,(0,t._)`${n.default.vErrors} === null ? ${E} : ${n.default.vErrors}.concat(${E})`).assign(n.default.errors,(0,t._)`${n.default.vErrors}.length`),(0,s.extendErrors)(y)},()=>y.error())}function h({schemaEnv:y},E){if(E.async&&!y.$async)throw new Error("async keyword in sync schema")}function _(y,E,$){if($===void 0)throw new Error(`keyword "${E}" failed to compile`);return y.scopeValue("keyword",typeof $=="function"?{ref:$}:{ref:$,code:(0,t.stringify)($)})}function m(y,E,$=!1){return!E.length||E.some(x=>x==="array"?Array.isArray(y):x==="object"?y&&typeof y=="object"&&!Array.isArray(y):typeof y==x||$&&typeof y>"u")}qt.validSchemaType=m;function g({schema:y,opts:E,self:$,errSchemaPath:x},b,P){if(Array.isArray(b.keyword)?!b.keyword.includes(P):b.keyword!==P)throw new Error("ajv implementation error");const p=b.dependencies;if(p!=null&&p.some(v=>!Object.prototype.hasOwnProperty.call(y,v)))throw new Error(`parent schema must have dependencies of ${P}: ${p.join(",")}`);if(b.validateSchema&&!b.validateSchema(y[P])){const C=`keyword "${P}" value is invalid at path "${x}": `+$.errorsText(b.validateSchema.errors);if(E.validateSchema==="log")$.logger.error(C);else throw new Error(C)}}return qt.validateKeywordUsage=g,qt}var pn={},il;function Gg(){if(il)return pn;il=1,Object.defineProperty(pn,"__esModule",{value:!0}),pn.extendSubschemaMode=pn.extendSubschemaData=pn.getSubschema=void 0;const t=Oe(),n=De();function r(u,{keyword:l,schemaProp:f,schema:h,schemaPath:_,errSchemaPath:m,topSchemaRef:g}){if(l!==void 0&&h!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(l!==void 0){const y=u.schema[l];return f===void 0?{schema:y,schemaPath:(0,t._)`${u.schemaPath}${(0,t.getProperty)(l)}`,errSchemaPath:`${u.errSchemaPath}/${l}`}:{schema:y[f],schemaPath:(0,t._)`${u.schemaPath}${(0,t.getProperty)(l)}${(0,t.getProperty)(f)}`,errSchemaPath:`${u.errSchemaPath}/${l}/${(0,n.escapeFragment)(f)}`}}if(h!==void 0){if(_===void 0||m===void 0||g===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:h,schemaPath:_,topSchemaRef:g,errSchemaPath:m}}throw new Error('either "keyword" or "schema" must be passed')}pn.getSubschema=r;function s(u,l,{dataProp:f,dataPropType:h,data:_,dataTypes:m,propertyName:g}){if(_!==void 0&&f!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:y}=l;if(f!==void 0){const{errorPath:$,dataPathArr:x,opts:b}=l,P=y.let("data",(0,t._)`${l.data}${(0,t.getProperty)(f)}`,!0);E(P),u.errorPath=(0,t.str)`${$}${(0,n.getErrorPath)(f,h,b.jsPropertySyntax)}`,u.parentDataProperty=(0,t._)`${f}`,u.dataPathArr=[...x,u.parentDataProperty]}if(_!==void 0){const $=_ instanceof t.Name?_:y.let("data",_,!0);E($),g!==void 0&&(u.propertyName=g)}m&&(u.dataTypes=m);function E($){u.data=$,u.dataLevel=l.dataLevel+1,u.dataTypes=[],l.definedProperties=new Set,u.parentData=l.data,u.dataNames=[...l.dataNames,$]}}pn.extendSubschemaData=s;function a(u,{jtdDiscriminator:l,jtdMetadata:f,compositeRule:h,createErrors:_,allErrors:m}){h!==void 0&&(u.compositeRule=h),_!==void 0&&(u.createErrors=_),m!==void 0&&(u.allErrors=m),u.jtdDiscriminator=l,u.jtdMetadata=f}return pn.extendSubschemaMode=a,pn}var yt={},ta,rl;function Kh(){return rl||(rl=1,ta=function t(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,u;if(Array.isArray(n)){if(s=n.length,s!=r.length)return!1;for(a=s;a--!==0;)if(!t(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(u=Object.keys(n),s=u.length,s!==Object.keys(r).length)return!1;for(a=s;a--!==0;)if(!Object.prototype.hasOwnProperty.call(r,u[a]))return!1;for(a=s;a--!==0;){var l=u[a];if(!t(n[l],r[l]))return!1}return!0}return n!==n&&r!==r}),ta}var na={exports:{}},sl;function Jg(){if(sl)return na.exports;sl=1;var t=na.exports=function(s,a,u){typeof a=="function"&&(u=a,a={}),u=a.cb||u;var l=typeof u=="function"?u:u.pre||function(){},f=u.post||function(){};n(a,l,f,s,"",s)};t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.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 n(s,a,u,l,f,h,_,m,g,y){if(l&&typeof l=="object"&&!Array.isArray(l)){a(l,f,h,_,m,g,y);for(var E in l){var $=l[E];if(Array.isArray($)){if(E in t.arrayKeywords)for(var x=0;x<$.length;x++)n(s,a,u,$[x],f+"/"+E+"/"+x,h,f,E,l,x)}else if(E in t.propsKeywords){if($&&typeof $=="object")for(var b in $)n(s,a,u,$[b],f+"/"+E+"/"+r(b),h,f,E,l,b)}else(E in t.keywords||s.allKeys&&!(E in t.skipKeywords))&&n(s,a,u,$,f+"/"+E,h,f,E,l)}u(l,f,h,_,m,g,y)}}function r(s){return s.replace(/~/g,"~0").replace(/\//g,"~1")}return na.exports}var ol;function no(){if(ol)return yt;ol=1,Object.defineProperty(yt,"__esModule",{value:!0}),yt.getSchemaRefs=yt.resolveUrl=yt.normalizeId=yt._getFullPath=yt.getFullPath=yt.inlineRef=void 0;const t=De(),n=Kh(),r=Jg(),s=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function a(x,b=!0){return typeof x=="boolean"?!0:b===!0?!l(x):b?f(x)<=b:!1}yt.inlineRef=a;const u=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function l(x){for(const b in x){if(u.has(b))return!0;const P=x[b];if(Array.isArray(P)&&P.some(l)||typeof P=="object"&&l(P))return!0}return!1}function f(x){let b=0;for(const P in x){if(P==="$ref")return 1/0;if(b++,!s.has(P)&&(typeof x[P]=="object"&&(0,t.eachItem)(x[P],p=>b+=f(p)),b===1/0))return 1/0}return b}function h(x,b="",P){P!==!1&&(b=g(b));const p=x.parse(b);return _(x,p)}yt.getFullPath=h;function _(x,b){return x.serialize(b).split("#")[0]+"#"}yt._getFullPath=_;const m=/#\/?$/;function g(x){return x?x.replace(m,""):""}yt.normalizeId=g;function y(x,b,P){return P=g(P),x.resolve(b,P)}yt.resolveUrl=y;const E=/^[a-z_][-a-z0-9._]*$/i;function $(x,b){if(typeof x=="boolean")return{};const{schemaId:P,uriResolver:p}=this.opts,v=g(x[P]||b),C={"":v},O=h(p,v,!1),k={},I=new Set;return r(x,{allKeys:!0},(se,ne,X,fe)=>{if(fe===void 0)return;const me=O+ne;let Ie=C[fe];typeof se[P]=="string"&&(Ie=Se.call(this,se[P])),$e.call(this,se.$anchor),$e.call(this,se.$dynamicAnchor),C[ne]=Ie;function Se(re){const et=this.opts.uriResolver.resolve;if(re=g(Ie?et(Ie,re):re),I.has(re))throw W(re);I.add(re);let K=this.refs[re];return typeof K=="string"&&(K=this.refs[K]),typeof K=="object"?V(se,K.schema,re):re!==g(me)&&(re[0]==="#"?(V(se,k[re],re),k[re]=se):this.refs[re]=me),re}function $e(re){if(typeof re=="string"){if(!E.test(re))throw new Error(`invalid anchor "${re}"`);Se.call(this,`#${re}`)}}}),k;function V(se,ne,X){if(ne!==void 0&&!n(se,ne))throw W(X)}function W(se){return new Error(`reference "${se}" resolves to more than one schema`)}}return yt.getSchemaRefs=$,yt}var al;function io(){if(al)return hn;al=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.getData=hn.KeywordCxt=hn.validateFunctionCode=void 0;const t=Ug(),n=zs(),r=Uh(),s=zs(),a=Kg(),u=Wg(),l=Gg(),f=Oe(),h=zn(),_=no(),m=De(),g=to();function y(z){if(O(z)&&(I(z),C(z))){b(z);return}E(z,()=>(0,t.topBoolOrEmptySchema)(z))}hn.validateFunctionCode=y;function E({gen:z,validateName:w,schema:T,schemaEnv:A,opts:B},H){B.code.es5?z.func(w,(0,f._)`${h.default.data}, ${h.default.valCxt}`,A.$async,()=>{z.code((0,f._)`"use strict"; ${p(T,B)}`),x(z,B),z.code(H)}):z.func(w,(0,f._)`${h.default.data}, ${$(B)}`,A.$async,()=>z.code(p(T,B)).code(H))}function $(z){return(0,f._)`{${h.default.instancePath}="", ${h.default.parentData}, ${h.default.parentDataProperty}, ${h.default.rootData}=${h.default.data}${z.dynamicRef?(0,f._)`, ${h.default.dynamicAnchors}={}`:f.nil}}={}`}function x(z,w){z.if(h.default.valCxt,()=>{z.var(h.default.instancePath,(0,f._)`${h.default.valCxt}.${h.default.instancePath}`),z.var(h.default.parentData,(0,f._)`${h.default.valCxt}.${h.default.parentData}`),z.var(h.default.parentDataProperty,(0,f._)`${h.default.valCxt}.${h.default.parentDataProperty}`),z.var(h.default.rootData,(0,f._)`${h.default.valCxt}.${h.default.rootData}`),w.dynamicRef&&z.var(h.default.dynamicAnchors,(0,f._)`${h.default.valCxt}.${h.default.dynamicAnchors}`)},()=>{z.var(h.default.instancePath,(0,f._)`""`),z.var(h.default.parentData,(0,f._)`undefined`),z.var(h.default.parentDataProperty,(0,f._)`undefined`),z.var(h.default.rootData,h.default.data),w.dynamicRef&&z.var(h.default.dynamicAnchors,(0,f._)`{}`)})}function b(z){const{schema:w,opts:T,gen:A}=z;E(z,()=>{T.$comment&&w.$comment&&fe(z),se(z),A.let(h.default.vErrors,null),A.let(h.default.errors,0),T.unevaluated&&P(z),V(z),me(z)})}function P(z){const{gen:w,validateName:T}=z;z.evaluated=w.const("evaluated",(0,f._)`${T}.evaluated`),w.if((0,f._)`${z.evaluated}.dynamicProps`,()=>w.assign((0,f._)`${z.evaluated}.props`,(0,f._)`undefined`)),w.if((0,f._)`${z.evaluated}.dynamicItems`,()=>w.assign((0,f._)`${z.evaluated}.items`,(0,f._)`undefined`))}function p(z,w){const T=typeof z=="object"&&z[w.schemaId];return T&&(w.code.source||w.code.process)?(0,f._)`/*# sourceURL=${T} */`:f.nil}function v(z,w){if(O(z)&&(I(z),C(z))){k(z,w);return}(0,t.boolOrEmptySchema)(z,w)}function C({schema:z,self:w}){if(typeof z=="boolean")return!z;for(const T in z)if(w.RULES.all[T])return!0;return!1}function O(z){return typeof z.schema!="boolean"}function k(z,w){const{schema:T,gen:A,opts:B}=z;B.$comment&&T.$comment&&fe(z),ne(z),X(z);const H=A.const("_errs",h.default.errors);V(z,H),A.var(w,(0,f._)`${H} === ${h.default.errors}`)}function I(z){(0,m.checkUnknownRules)(z),W(z)}function V(z,w){if(z.opts.jtd)return Se(z,[],!1,w);const T=(0,n.getSchemaTypes)(z.schema),A=(0,n.coerceAndCheckDataType)(z,T);Se(z,T,!A,w)}function W(z){const{schema:w,errSchemaPath:T,opts:A,self:B}=z;w.$ref&&A.ignoreKeywordsWithRef&&(0,m.schemaHasRulesButRef)(w,B.RULES)&&B.logger.warn(`$ref: keywords ignored in schema at path "${T}"`)}function se(z){const{schema:w,opts:T}=z;w.default!==void 0&&T.useDefaults&&T.strictSchema&&(0,m.checkStrictMode)(z,"default is ignored in the schema root")}function ne(z){const w=z.schema[z.opts.schemaId];w&&(z.baseId=(0,_.resolveUrl)(z.opts.uriResolver,z.baseId,w))}function X(z){if(z.schema.$async&&!z.schemaEnv.$async)throw new Error("async schema in sync schema")}function fe({gen:z,schemaEnv:w,schema:T,errSchemaPath:A,opts:B}){const H=T.$comment;if(B.$comment===!0)z.code((0,f._)`${h.default.self}.logger.log(${H})`);else if(typeof B.$comment=="function"){const J=(0,f.str)`${A}/$comment`,ce=z.scopeValue("root",{ref:w.root});z.code((0,f._)`${h.default.self}.opts.$comment(${H}, ${J}, ${ce}.schema)`)}}function me(z){const{gen:w,schemaEnv:T,validateName:A,ValidationError:B,opts:H}=z;T.$async?w.if((0,f._)`${h.default.errors} === 0`,()=>w.return(h.default.data),()=>w.throw((0,f._)`new ${B}(${h.default.vErrors})`)):(w.assign((0,f._)`${A}.errors`,h.default.vErrors),H.unevaluated&&Ie(z),w.return((0,f._)`${h.default.errors} === 0`))}function Ie({gen:z,evaluated:w,props:T,items:A}){T instanceof f.Name&&z.assign((0,f._)`${w}.props`,T),A instanceof f.Name&&z.assign((0,f._)`${w}.items`,A)}function Se(z,w,T,A){const{gen:B,schema:H,data:J,allErrors:ce,opts:ue,self:oe}=z,{RULES:Q}=oe;if(H.$ref&&(ue.ignoreKeywordsWithRef||!(0,m.schemaHasRulesButRef)(H,Q))){B.block(()=>j(z,"$ref",Q.all.$ref.definition));return}ue.jtd||re(z,w),B.block(()=>{for(const le of Q.rules)_e(le);_e(Q.post)});function _e(le){(0,r.shouldUseGroup)(H,le)&&(le.type?(B.if((0,s.checkDataType)(le.type,J,ue.strictNumbers)),$e(z,le),w.length===1&&w[0]===le.type&&T&&(B.else(),(0,s.reportTypeError)(z)),B.endIf()):$e(z,le),ce||B.if((0,f._)`${h.default.errors} === ${A||0}`))}}function $e(z,w){const{gen:T,schema:A,opts:{useDefaults:B}}=z;B&&(0,a.assignDefaults)(z,w.type),T.block(()=>{for(const H of w.rules)(0,r.shouldUseRule)(A,H)&&j(z,H.keyword,H.definition,w.type)})}function re(z,w){z.schemaEnv.meta||!z.opts.strictTypes||(et(z,w),z.opts.allowUnionTypes||K(z,w),D(z,z.dataTypes))}function et(z,w){if(w.length){if(!z.dataTypes.length){z.dataTypes=w;return}w.forEach(T=>{Z(z.dataTypes,T)||M(z,`type "${T}" not allowed by context "${z.dataTypes.join(",")}"`)}),R(z,w)}}function K(z,w){w.length>1&&!(w.length===2&&w.includes("null"))&&M(z,"use allowUnionTypes to allow union type keyword")}function D(z,w){const T=z.self.RULES.all;for(const A in T){const B=T[A];if(typeof B=="object"&&(0,r.shouldUseRule)(z.schema,B)){const{type:H}=B.definition;H.length&&!H.some(J=>Y(w,J))&&M(z,`missing type "${H.join(",")}" for keyword "${A}"`)}}}function Y(z,w){return z.includes(w)||w==="number"&&z.includes("integer")}function Z(z,w){return z.includes(w)||w==="integer"&&z.includes("number")}function R(z,w){const T=[];for(const A of z.dataTypes)Z(w,A)?T.push(A):w.includes("integer")&&A==="number"&&T.push("integer");z.dataTypes=T}function M(z,w){const T=z.schemaEnv.baseId+z.errSchemaPath;w+=` at "${T}" (strictTypes)`,(0,m.checkStrictMode)(z,w,z.opts.strictTypes)}class q{constructor(w,T,A){if((0,u.validateKeywordUsage)(w,T,A),this.gen=w.gen,this.allErrors=w.allErrors,this.keyword=A,this.data=w.data,this.schema=w.schema[A],this.$data=T.$data&&w.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,m.schemaRefOrVal)(w,this.schema,A,this.$data),this.schemaType=T.schemaType,this.parentSchema=w.schema,this.params={},this.it=w,this.def=T,this.$data)this.schemaCode=w.gen.const("vSchema",ae(this.$data,w));else if(this.schemaCode=this.schemaValue,!(0,u.validSchemaType)(this.schema,T.schemaType,T.allowUndefined))throw new Error(`${A} value must be ${JSON.stringify(T.schemaType)}`);("code"in T?T.trackErrors:T.errors!==!1)&&(this.errsCount=w.gen.const("_errs",h.default.errors))}result(w,T,A){this.failResult((0,f.not)(w),T,A)}failResult(w,T,A){this.gen.if(w),A?A():this.error(),T?(this.gen.else(),T(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(w,T){this.failResult((0,f.not)(w),void 0,T)}fail(w){if(w===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(w),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(w){if(!this.$data)return this.fail(w);const{schemaCode:T}=this;this.fail((0,f._)`${T} !== undefined && (${(0,f.or)(this.invalid$data(),w)})`)}error(w,T,A){if(T){this.setParams(T),this._error(w,A),this.setParams({});return}this._error(w,A)}_error(w,T){(w?g.reportExtraError:g.reportError)(this,this.def.error,T)}$dataError(){(0,g.reportError)(this,this.def.$dataError||g.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,g.resetErrorsCount)(this.gen,this.errsCount)}ok(w){this.allErrors||this.gen.if(w)}setParams(w,T){T?Object.assign(this.params,w):this.params=w}block$data(w,T,A=f.nil){this.gen.block(()=>{this.check$data(w,A),T()})}check$data(w=f.nil,T=f.nil){if(!this.$data)return;const{gen:A,schemaCode:B,schemaType:H,def:J}=this;A.if((0,f.or)((0,f._)`${B} === undefined`,T)),w!==f.nil&&A.assign(w,!0),(H.length||J.validateSchema)&&(A.elseIf(this.invalid$data()),this.$dataError(),w!==f.nil&&A.assign(w,!1)),A.else()}invalid$data(){const{gen:w,schemaCode:T,schemaType:A,def:B,it:H}=this;return(0,f.or)(J(),ce());function J(){if(A.length){if(!(T instanceof f.Name))throw new Error("ajv implementation error");const ue=Array.isArray(A)?A:[A];return(0,f._)`${(0,s.checkDataTypes)(ue,T,H.opts.strictNumbers,s.DataType.Wrong)}`}return f.nil}function ce(){if(B.validateSchema){const ue=w.scopeValue("validate$data",{ref:B.validateSchema});return(0,f._)`!${ue}(${T})`}return f.nil}}subschema(w,T){const A=(0,l.getSubschema)(this.it,w);(0,l.extendSubschemaData)(A,this.it,w),(0,l.extendSubschemaMode)(A,w);const B={...this.it,...A,items:void 0,props:void 0};return v(B,T),B}mergeEvaluated(w,T){const{it:A,gen:B}=this;A.opts.unevaluated&&(A.props!==!0&&w.props!==void 0&&(A.props=m.mergeEvaluated.props(B,w.props,A.props,T)),A.items!==!0&&w.items!==void 0&&(A.items=m.mergeEvaluated.items(B,w.items,A.items,T)))}mergeValidEvaluated(w,T){const{it:A,gen:B}=this;if(A.opts.unevaluated&&(A.props!==!0||A.items!==!0))return B.if(T,()=>this.mergeEvaluated(w,f.Name)),!0}}hn.KeywordCxt=q;function j(z,w,T,A){const B=new q(z,T,w);"code"in T?T.code(B,A):B.$data&&T.validate?(0,u.funcKeywordCode)(B,T):"macro"in T?(0,u.macroKeywordCode)(B,T):(T.compile||T.validate)&&(0,u.funcKeywordCode)(B,T)}const G=/^\/(?:[^~]|~0|~1)*$/,ee=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function ae(z,{dataLevel:w,dataNames:T,dataPathArr:A}){let B,H;if(z==="")return h.default.rootData;if(z[0]==="/"){if(!G.test(z))throw new Error(`Invalid JSON-pointer: ${z}`);B=z,H=h.default.rootData}else{const oe=ee.exec(z);if(!oe)throw new Error(`Invalid JSON-pointer: ${z}`);const Q=+oe[1];if(B=oe[2],B==="#"){if(Q>=w)throw new Error(ue("property/index",Q));return A[w-Q]}if(Q>w)throw new Error(ue("data",Q));if(H=T[w-Q],!B)return H}let J=H;const ce=B.split("/");for(const oe of ce)oe&&(H=(0,f._)`${H}${(0,f.getProperty)((0,m.unescapeJsonPointer)(oe))}`,J=(0,f._)`${J} && ${H}`);return J;function ue(oe,Q){return`Cannot access ${oe} ${Q} levels up, current level is ${w}`}}return hn.getData=ae,hn}var Fr={},ul;function Za(){if(ul)return Fr;ul=1,Object.defineProperty(Fr,"__esModule",{value:!0});class t extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}}return Fr.default=t,Fr}var Vr={},cl;function ro(){if(cl)return Vr;cl=1,Object.defineProperty(Vr,"__esModule",{value:!0});const t=no();class n extends Error{constructor(s,a,u,l){super(l||`can't resolve reference ${u} from id ${a}`),this.missingRef=(0,t.resolveUrl)(s,a,u),this.missingSchema=(0,t.normalizeId)((0,t.getFullPath)(s,this.missingRef))}}return Vr.default=n,Vr}var Et={},ll;function Fa(){if(ll)return Et;ll=1,Object.defineProperty(Et,"__esModule",{value:!0}),Et.resolveSchema=Et.getCompilingSchema=Et.resolveRef=Et.compileSchema=Et.SchemaEnv=void 0;const t=Oe(),n=Za(),r=zn(),s=no(),a=De(),u=io();class l{constructor(P){var p;this.refs={},this.dynamicAnchors={};let v;typeof P.schema=="object"&&(v=P.schema),this.schema=P.schema,this.schemaId=P.schemaId,this.root=P.root||this,this.baseId=(p=P.baseId)!==null&&p!==void 0?p:(0,s.normalizeId)(v==null?void 0:v[P.schemaId||"$id"]),this.schemaPath=P.schemaPath,this.localRefs=P.localRefs,this.meta=P.meta,this.$async=v==null?void 0:v.$async,this.refs={}}}Et.SchemaEnv=l;function f(b){const P=m.call(this,b);if(P)return P;const p=(0,s.getFullPath)(this.opts.uriResolver,b.root.baseId),{es5:v,lines:C}=this.opts.code,{ownProperties:O}=this.opts,k=new t.CodeGen(this.scope,{es5:v,lines:C,ownProperties:O});let I;b.$async&&(I=k.scopeValue("Error",{ref:n.default,code:(0,t._)`require("ajv/dist/runtime/validation_error").default`}));const V=k.scopeName("validate");b.validateName=V;const W={gen:k,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[t.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:k.scopeValue("schema",this.opts.code.source===!0?{ref:b.schema,code:(0,t.stringify)(b.schema)}:{ref:b.schema}),validateName:V,ValidationError:I,schema:b.schema,schemaEnv:b,rootId:p,baseId:b.baseId||p,schemaPath:t.nil,errSchemaPath:b.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,t._)`""`,opts:this.opts,self:this};let se;try{this._compilations.add(b),(0,u.validateFunctionCode)(W),k.optimize(this.opts.code.optimize);const ne=k.toString();se=`${k.scopeRefs(r.default.scope)}return ${ne}`,this.opts.code.process&&(se=this.opts.code.process(se,b));const fe=new Function(`${r.default.self}`,`${r.default.scope}`,se)(this,this.scope.get());if(this.scope.value(V,{ref:fe}),fe.errors=null,fe.schema=b.schema,fe.schemaEnv=b,b.$async&&(fe.$async=!0),this.opts.code.source===!0&&(fe.source={validateName:V,validateCode:ne,scopeValues:k._values}),this.opts.unevaluated){const{props:me,items:Ie}=W;fe.evaluated={props:me instanceof t.Name?void 0:me,items:Ie instanceof t.Name?void 0:Ie,dynamicProps:me instanceof t.Name,dynamicItems:Ie instanceof t.Name},fe.source&&(fe.source.evaluated=(0,t.stringify)(fe.evaluated))}return b.validate=fe,b}catch(ne){throw delete b.validate,delete b.validateName,se&&this.logger.error("Error compiling schema, function code:",se),ne}finally{this._compilations.delete(b)}}Et.compileSchema=f;function h(b,P,p){var v;p=(0,s.resolveUrl)(this.opts.uriResolver,P,p);const C=b.refs[p];if(C)return C;let O=y.call(this,b,p);if(O===void 0){const k=(v=b.localRefs)===null||v===void 0?void 0:v[p],{schemaId:I}=this.opts;k&&(O=new l({schema:k,schemaId:I,root:b,baseId:P}))}if(O!==void 0)return b.refs[p]=_.call(this,O)}Et.resolveRef=h;function _(b){return(0,s.inlineRef)(b.schema,this.opts.inlineRefs)?b.schema:b.validate?b:f.call(this,b)}function m(b){for(const P of this._compilations)if(g(P,b))return P}Et.getCompilingSchema=m;function g(b,P){return b.schema===P.schema&&b.root===P.root&&b.baseId===P.baseId}function y(b,P){let p;for(;typeof(p=this.refs[P])=="string";)P=p;return p||this.schemas[P]||E.call(this,b,P)}function E(b,P){const p=this.opts.uriResolver.parse(P),v=(0,s._getFullPath)(this.opts.uriResolver,p);let C=(0,s.getFullPath)(this.opts.uriResolver,b.baseId,void 0);if(Object.keys(b.schema).length>0&&v===C)return x.call(this,p,b);const O=(0,s.normalizeId)(v),k=this.refs[O]||this.schemas[O];if(typeof k=="string"){const I=E.call(this,b,k);return typeof(I==null?void 0:I.schema)!="object"?void 0:x.call(this,p,I)}if(typeof(k==null?void 0:k.schema)=="object"){if(k.validate||f.call(this,k),O===(0,s.normalizeId)(P)){const{schema:I}=k,{schemaId:V}=this.opts,W=I[V];return W&&(C=(0,s.resolveUrl)(this.opts.uriResolver,C,W)),new l({schema:I,schemaId:V,root:b,baseId:C})}return x.call(this,p,k)}}Et.resolveSchema=E;const $=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function x(b,{baseId:P,schema:p,root:v}){var C;if(((C=b.fragment)===null||C===void 0?void 0:C[0])!=="/")return;for(const I of b.fragment.slice(1).split("/")){if(typeof p=="boolean")return;const V=p[(0,a.unescapeFragment)(I)];if(V===void 0)return;p=V;const W=typeof p=="object"&&p[this.opts.schemaId];!$.has(I)&&W&&(P=(0,s.resolveUrl)(this.opts.uriResolver,P,W))}let O;if(typeof p!="boolean"&&p.$ref&&!(0,a.schemaHasRulesButRef)(p,this.RULES)){const I=(0,s.resolveUrl)(this.opts.uriResolver,P,p.$ref);O=E.call(this,v,I)}const{schemaId:k}=this.opts;if(O=O||new l({schema:p,schemaId:k,root:v,baseId:P}),O.schema!==O.root.schema)return O}return Et}const Yg="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Xg="Meta-schema for $data reference (JSON AnySchema extension proposal)",Qg="object",ev=["$data"],tv={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},nv=!1,iv={$id:Yg,description:Xg,type:Qg,required:ev,properties:tv,additionalProperties:nv};var Hr={},Gi={exports:{}},ia,fl;function rv(){return fl||(fl=1,ia={HEX:{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}}),ia}var ra,hl;function sv(){if(hl)return ra;hl=1;const{HEX:t}=rv();function n($){if(l($,".")<3)return{host:$,isIPV4:!1};const x=$.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)||[],[b]=x;return b?{host:u(b,"."),isIPV4:!0}:{host:$,isIPV4:!1}}function r($,x=!1){let b="",P=!0;for(const p of $){if(t[p]===void 0)return;p!=="0"&&P===!0&&(P=!1),P||(b+=p)}return x&&b.length===0&&(b="0"),b}function s($){let x=0;const b={error:!1,address:"",zone:""},P=[],p=[];let v=!1,C=!1,O=!1;function k(){if(p.length){if(v===!1){const I=r(p);if(I!==void 0)P.push(I);else return b.error=!0,!1}p.length=0}return!0}for(let I=0;I<$.length;I++){const V=$[I];if(!(V==="["||V==="]"))if(V===":"){if(C===!0&&(O=!0),!k())break;if(x++,P.push(":"),x>7){b.error=!0;break}I-1>=0&&$[I-1]===":"&&(C=!0);continue}else if(V==="%"){if(!k())break;v=!0}else{p.push(V);continue}}return p.length&&(v?b.zone=p.join(""):O?P.push(p.join("")):P.push(r(p))),b.address=P.join(""),b}function a($,x={}){if(l($,":")<2)return{host:$,isIPV6:!1};const b=s($);if(b.error)return{host:$,isIPV6:!1};{let P=b.address,p=b.address;return b.zone&&(P+="%"+b.zone,p+="%25"+b.zone),{host:P,escapedHost:p,isIPV6:!0}}}function u($,x){let b="",P=!0;const p=$.length;for(let v=0;v/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(P)));function y(b){let P=0;for(let p=0,v=b.length;p126||g[P])return!0;return!1}const E=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function $(b,P){const p=Object.assign({},P),v={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},C=b.indexOf("%")!==-1;let O=!1;p.reference==="suffix"&&(b=(p.scheme?p.scheme+":":"")+"//"+b);const k=b.match(E);if(k){if(v.scheme=k[1],v.userinfo=k[3],v.host=k[4],v.port=parseInt(k[5],10),v.path=k[6]||"",v.query=k[7],v.fragment=k[8],isNaN(v.port)&&(v.port=k[5]),v.host){const V=n(v.host);if(V.isIPV4===!1){const W=t(V.host,{isIPV4:!1});v.host=W.host.toLowerCase(),O=W.isIPV6}else v.host=V.host,O=!0}v.scheme===void 0&&v.userinfo===void 0&&v.host===void 0&&v.port===void 0&&!v.path&&v.query===void 0?v.reference="same-document":v.scheme===void 0?v.reference="relative":v.fragment===void 0?v.reference="absolute":v.reference="uri",p.reference&&p.reference!=="suffix"&&p.reference!==v.reference&&(v.error=v.error||"URI is not a "+p.reference+" reference.");const I=u[(p.scheme||v.scheme||"").toLowerCase()];if(!p.unicodeSupport&&(!I||!I.unicodeSupport)&&v.host&&(p.domainHost||I&&I.domainHost)&&O===!1&&y(v.host))try{v.host=URL.domainToASCII(v.host.toLowerCase())}catch(V){v.error=v.error||"Host's domain name can not be converted to ASCII: "+V}(!I||I&&!I.skipNormalize)&&(C&&v.scheme!==void 0&&(v.scheme=unescape(v.scheme)),C&&v.userinfo!==void 0&&(v.userinfo=unescape(v.userinfo)),C&&v.host!==void 0&&(v.host=unescape(v.host)),v.path!==void 0&&v.path.length&&(v.path=escape(unescape(v.path))),v.fragment!==void 0&&v.fragment.length&&(v.fragment=encodeURI(decodeURIComponent(v.fragment)))),I&&I.parse&&I.parse(v,p)}else v.error=v.error||"URI can not be parsed.";return v}const x={SCHEMES:u,normalize:l,resolve:f,resolveComponents:h,equal:_,serialize:m,parse:$};return Gi.exports=x,Gi.exports.default=x,Gi.exports.fastUri=x,Gi.exports}var ml;function uv(){if(ml)return Hr;ml=1,Object.defineProperty(Hr,"__esModule",{value:!0});const t=av();return t.code='require("ajv/dist/runtime/uri").default',Hr.default=t,Hr}var _l;function cv(){return _l||(_l=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var n=io();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return n.KeywordCxt}});var r=Oe();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const s=Za(),a=ro(),u=Hh(),l=Fa(),f=Oe(),h=no(),_=zs(),m=De(),g=iv,y=uv(),E=(K,D)=>new RegExp(K,D);E.code="new RegExp";const $=["removeAdditional","useDefaults","coerceTypes"],x=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),b={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."},P={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},p=200;function v(K){var D,Y,Z,R,M,q,j,G,ee,ae,z,w,T,A,B,H,J,ce,ue,oe,Q,_e,le,ge,ye;const Ee=K.strict,Ne=(D=K.code)===null||D===void 0?void 0:D.optimize,Ae=Ne===!0||Ne===void 0?1:Ne||0,at=(Z=(Y=K.code)===null||Y===void 0?void 0:Y.regExp)!==null&&Z!==void 0?Z:E,ot=(R=K.uriResolver)!==null&&R!==void 0?R:y.default;return{strictSchema:(q=(M=K.strictSchema)!==null&&M!==void 0?M:Ee)!==null&&q!==void 0?q:!0,strictNumbers:(G=(j=K.strictNumbers)!==null&&j!==void 0?j:Ee)!==null&&G!==void 0?G:!0,strictTypes:(ae=(ee=K.strictTypes)!==null&&ee!==void 0?ee:Ee)!==null&&ae!==void 0?ae:"log",strictTuples:(w=(z=K.strictTuples)!==null&&z!==void 0?z:Ee)!==null&&w!==void 0?w:"log",strictRequired:(A=(T=K.strictRequired)!==null&&T!==void 0?T:Ee)!==null&&A!==void 0?A:!1,code:K.code?{...K.code,optimize:Ae,regExp:at}:{optimize:Ae,regExp:at},loopRequired:(B=K.loopRequired)!==null&&B!==void 0?B:p,loopEnum:(H=K.loopEnum)!==null&&H!==void 0?H:p,meta:(J=K.meta)!==null&&J!==void 0?J:!0,messages:(ce=K.messages)!==null&&ce!==void 0?ce:!0,inlineRefs:(ue=K.inlineRefs)!==null&&ue!==void 0?ue:!0,schemaId:(oe=K.schemaId)!==null&&oe!==void 0?oe:"$id",addUsedSchema:(Q=K.addUsedSchema)!==null&&Q!==void 0?Q:!0,validateSchema:(_e=K.validateSchema)!==null&&_e!==void 0?_e:!0,validateFormats:(le=K.validateFormats)!==null&&le!==void 0?le:!0,unicodeRegExp:(ge=K.unicodeRegExp)!==null&&ge!==void 0?ge:!0,int32range:(ye=K.int32range)!==null&&ye!==void 0?ye:!0,uriResolver:ot}}class C{constructor(D={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,D=this.opts={...D,...v(D)};const{es5:Y,lines:Z}=this.opts.code;this.scope=new f.ValueScope({scope:{},prefixes:x,es5:Y,lines:Z}),this.logger=X(D.logger);const R=D.validateFormats;D.validateFormats=!1,this.RULES=(0,u.getRules)(),O.call(this,b,D,"NOT SUPPORTED"),O.call(this,P,D,"DEPRECATED","warn"),this._metaOpts=se.call(this),D.formats&&V.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),D.keywords&&W.call(this,D.keywords),typeof D.meta=="object"&&this.addMetaSchema(D.meta),I.call(this),D.validateFormats=R}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:D,meta:Y,schemaId:Z}=this.opts;let R=g;Z==="id"&&(R={...g},R.id=R.$id,delete R.$id),Y&&D&&this.addMetaSchema(R,R[Z],!1)}defaultMeta(){const{meta:D,schemaId:Y}=this.opts;return this.opts.defaultMeta=typeof D=="object"?D[Y]||D:void 0}validate(D,Y){let Z;if(typeof D=="string"){if(Z=this.getSchema(D),!Z)throw new Error(`no schema with key or ref "${D}"`)}else Z=this.compile(D);const R=Z(Y);return"$async"in Z||(this.errors=Z.errors),R}compile(D,Y){const Z=this._addSchema(D,Y);return Z.validate||this._compileSchemaEnv(Z)}compileAsync(D,Y){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:Z}=this.opts;return R.call(this,D,Y);async function R(ae,z){await M.call(this,ae.$schema);const w=this._addSchema(ae,z);return w.validate||q.call(this,w)}async function M(ae){ae&&!this.getSchema(ae)&&await R.call(this,{$ref:ae},!0)}async function q(ae){try{return this._compileSchemaEnv(ae)}catch(z){if(!(z instanceof a.default))throw z;return j.call(this,z),await G.call(this,z.missingSchema),q.call(this,ae)}}function j({missingSchema:ae,missingRef:z}){if(this.refs[ae])throw new Error(`AnySchema ${ae} is loaded but ${z} cannot be resolved`)}async function G(ae){const z=await ee.call(this,ae);this.refs[ae]||await M.call(this,z.$schema),this.refs[ae]||this.addSchema(z,ae,Y)}async function ee(ae){const z=this._loading[ae];if(z)return z;try{return await(this._loading[ae]=Z(ae))}finally{delete this._loading[ae]}}}addSchema(D,Y,Z,R=this.opts.validateSchema){if(Array.isArray(D)){for(const q of D)this.addSchema(q,void 0,Z,R);return this}let M;if(typeof D=="object"){const{schemaId:q}=this.opts;if(M=D[q],M!==void 0&&typeof M!="string")throw new Error(`schema ${q} must be string`)}return Y=(0,h.normalizeId)(Y||M),this._checkUnique(Y),this.schemas[Y]=this._addSchema(D,Z,Y,R,!0),this}addMetaSchema(D,Y,Z=this.opts.validateSchema){return this.addSchema(D,Y,!0,Z),this}validateSchema(D,Y){if(typeof D=="boolean")return!0;let Z;if(Z=D.$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 R=this.validate(Z,D);if(!R&&Y){const M="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(M);else throw new Error(M)}return R}getSchema(D){let Y;for(;typeof(Y=k.call(this,D))=="string";)D=Y;if(Y===void 0){const{schemaId:Z}=this.opts,R=new l.SchemaEnv({schema:{},schemaId:Z});if(Y=l.resolveSchema.call(this,R,D),!Y)return;this.refs[D]=Y}return Y.validate||this._compileSchemaEnv(Y)}removeSchema(D){if(D instanceof RegExp)return this._removeAllSchemas(this.schemas,D),this._removeAllSchemas(this.refs,D),this;switch(typeof D){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const Y=k.call(this,D);return typeof Y=="object"&&this._cache.delete(Y.schema),delete this.schemas[D],delete this.refs[D],this}case"object":{const Y=D;this._cache.delete(Y);let Z=D[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(D){for(const Y of D)this.addKeyword(Y);return this}addKeyword(D,Y){let Z;if(typeof D=="string")Z=D,typeof Y=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),Y.keyword=Z);else if(typeof D=="object"&&Y===void 0){if(Y=D,Z=Y.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(me.call(this,Z,Y),!Y)return(0,m.eachItem)(Z,M=>Ie.call(this,M)),this;$e.call(this,Y);const R={...Y,type:(0,_.getJSONTypes)(Y.type),schemaType:(0,_.getJSONTypes)(Y.schemaType)};return(0,m.eachItem)(Z,R.type.length===0?M=>Ie.call(this,M,R):M=>R.type.forEach(q=>Ie.call(this,M,R,q))),this}getKeyword(D){const Y=this.RULES.all[D];return typeof Y=="object"?Y.definition:!!Y}removeKeyword(D){const{RULES:Y}=this;delete Y.keywords[D],delete Y.all[D];for(const Z of Y.rules){const R=Z.rules.findIndex(M=>M.keyword===D);R>=0&&Z.rules.splice(R,1)}return this}addFormat(D,Y){return typeof Y=="string"&&(Y=new RegExp(Y)),this.formats[D]=Y,this}errorsText(D=this.errors,{separator:Y=", ",dataVar:Z="data"}={}){return!D||D.length===0?"No errors":D.map(R=>`${Z}${R.instancePath} ${R.message}`).reduce((R,M)=>R+Y+M)}$dataMetaSchema(D,Y){const Z=this.RULES.all;D=JSON.parse(JSON.stringify(D));for(const R of Y){const M=R.split("/").slice(1);let q=D;for(const j of M)q=q[j];for(const j in Z){const G=Z[j];if(typeof G!="object")continue;const{$data:ee}=G.definition,ae=q[j];ee&&ae&&(q[j]=et(ae))}}return D}_removeAllSchemas(D,Y){for(const Z in D){const R=D[Z];(!Y||Y.test(Z))&&(typeof R=="string"?delete D[Z]:R&&!R.meta&&(this._cache.delete(R.schema),delete D[Z]))}}_addSchema(D,Y,Z,R=this.opts.validateSchema,M=this.opts.addUsedSchema){let q;const{schemaId:j}=this.opts;if(typeof D=="object")q=D[j];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof D!="boolean")throw new Error("schema must be object or boolean")}let G=this._cache.get(D);if(G!==void 0)return G;Z=(0,h.normalizeId)(q||Z);const ee=h.getSchemaRefs.call(this,D,Z);return G=new l.SchemaEnv({schema:D,schemaId:j,meta:Y,baseId:Z,localRefs:ee}),this._cache.set(G.schema,G),M&&!Z.startsWith("#")&&(Z&&this._checkUnique(Z),this.refs[Z]=G),R&&this.validateSchema(D,!0),G}_checkUnique(D){if(this.schemas[D]||this.refs[D])throw new Error(`schema with key or id "${D}" already exists`)}_compileSchemaEnv(D){if(D.meta?this._compileMetaSchema(D):l.compileSchema.call(this,D),!D.validate)throw new Error("ajv implementation error");return D.validate}_compileMetaSchema(D){const Y=this.opts;this.opts=this._metaOpts;try{l.compileSchema.call(this,D)}finally{this.opts=Y}}}C.ValidationError=s.default,C.MissingRefError=a.default,t.default=C;function O(K,D,Y,Z="error"){for(const R in K){const M=R;M in D&&this.logger[Z](`${Y}: option ${R}. ${K[M]}`)}}function k(K){return K=(0,h.normalizeId)(K),this.schemas[K]||this.refs[K]}function I(){const K=this.opts.schemas;if(K)if(Array.isArray(K))this.addSchema(K);else for(const D in K)this.addSchema(K[D],D)}function V(){for(const K in this.opts.formats){const D=this.opts.formats[K];D&&this.addFormat(K,D)}}function W(K){if(Array.isArray(K)){this.addVocabulary(K);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const D in K){const Y=K[D];Y.keyword||(Y.keyword=D),this.addKeyword(Y)}}function se(){const K={...this.opts};for(const D of $)delete K[D];return K}const ne={log(){},warn(){},error(){}};function X(K){if(K===!1)return ne;if(K===void 0)return console;if(K.log&&K.warn&&K.error)return K;throw new Error("logger must implement log, warn and error methods")}const fe=/^[a-z_$][a-z0-9_$:-]*$/i;function me(K,D){const{RULES:Y}=this;if((0,m.eachItem)(K,Z=>{if(Y.keywords[Z])throw new Error(`Keyword ${Z} is already defined`);if(!fe.test(Z))throw new Error(`Keyword ${Z} has invalid name`)}),!!D&&D.$data&&!("code"in D||"validate"in D))throw new Error('$data keyword must have "code" or "validate" function')}function Ie(K,D,Y){var Z;const R=D==null?void 0:D.post;if(Y&&R)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:M}=this;let q=R?M.post:M.rules.find(({type:G})=>G===Y);if(q||(q={type:Y,rules:[]},M.rules.push(q)),M.keywords[K]=!0,!D)return;const j={keyword:K,definition:{...D,type:(0,_.getJSONTypes)(D.type),schemaType:(0,_.getJSONTypes)(D.schemaType)}};D.before?Se.call(this,q,j,D.before):q.rules.push(j),M.all[K]=j,(Z=D.implements)===null||Z===void 0||Z.forEach(G=>this.addKeyword(G))}function Se(K,D,Y){const Z=K.rules.findIndex(R=>R.keyword===Y);Z>=0?K.rules.splice(Z,0,D):(K.rules.push(D),this.logger.warn(`rule ${Y} is not defined`))}function $e(K){let{metaSchema:D}=K;D!==void 0&&(K.$data&&this.opts.$data&&(D=et(D)),K.validateSchema=this.compile(D,!0))}const re={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function et(K){return{anyOf:[K,re]}}}(Jo)),Jo}var Ur={},Kr={},Wr={},gl;function lv(){if(gl)return Wr;gl=1,Object.defineProperty(Wr,"__esModule",{value:!0});const t={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return Wr.default=t,Wr}var Rn={},vl;function fv(){if(vl)return Rn;vl=1,Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.callRef=Rn.getValidate=void 0;const t=ro(),n=Ut(),r=Oe(),s=zn(),a=Fa(),u=De(),l={keyword:"$ref",schemaType:"string",code(_){const{gen:m,schema:g,it:y}=_,{baseId:E,schemaEnv:$,validateName:x,opts:b,self:P}=y,{root:p}=$;if((g==="#"||g==="#/")&&E===p.baseId)return C();const v=a.resolveRef.call(P,p,E,g);if(v===void 0)throw new t.default(y.opts.uriResolver,E,g);if(v instanceof a.SchemaEnv)return O(v);return k(v);function C(){if($===p)return h(_,x,$,$.$async);const I=m.scopeValue("root",{ref:p});return h(_,(0,r._)`${I}.validate`,p,p.$async)}function O(I){const V=f(_,I);h(_,V,I,I.$async)}function k(I){const V=m.scopeValue("schema",b.code.source===!0?{ref:I,code:(0,r.stringify)(I)}:{ref:I}),W=m.name("valid"),se=_.subschema({schema:I,dataTypes:[],schemaPath:r.nil,topSchemaRef:V,errSchemaPath:g},W);_.mergeEvaluated(se),_.ok(W)}}};function f(_,m){const{gen:g}=_;return m.validate?g.scopeValue("validate",{ref:m.validate}):(0,r._)`${g.scopeValue("wrapper",{ref:m})}.validate`}Rn.getValidate=f;function h(_,m,g,y){const{gen:E,it:$}=_,{allErrors:x,schemaEnv:b,opts:P}=$,p=P.passContext?s.default.this:r.nil;y?v():C();function v(){if(!b.$async)throw new Error("async schema referenced by sync schema");const I=E.let("valid");E.try(()=>{E.code((0,r._)`await ${(0,n.callValidateCode)(_,m,p)}`),k(m),x||E.assign(I,!0)},V=>{E.if((0,r._)`!(${V} instanceof ${$.ValidationError})`,()=>E.throw(V)),O(V),x||E.assign(I,!1)}),_.ok(I)}function C(){_.result((0,n.callValidateCode)(_,m,p),()=>k(m),()=>O(m))}function O(I){const V=(0,r._)`${I}.errors`;E.assign(s.default.vErrors,(0,r._)`${s.default.vErrors} === null ? ${V} : ${s.default.vErrors}.concat(${V})`),E.assign(s.default.errors,(0,r._)`${s.default.vErrors}.length`)}function k(I){var V;if(!$.opts.unevaluated)return;const W=(V=g==null?void 0:g.validate)===null||V===void 0?void 0:V.evaluated;if($.props!==!0)if(W&&!W.dynamicProps)W.props!==void 0&&($.props=u.mergeEvaluated.props(E,W.props,$.props));else{const se=E.var("props",(0,r._)`${I}.evaluated.props`);$.props=u.mergeEvaluated.props(E,se,$.props,r.Name)}if($.items!==!0)if(W&&!W.dynamicItems)W.items!==void 0&&($.items=u.mergeEvaluated.items(E,W.items,$.items));else{const se=E.var("items",(0,r._)`${I}.evaluated.items`);$.items=u.mergeEvaluated.items(E,se,$.items,r.Name)}}}return Rn.callRef=h,Rn.default=l,Rn}var yl;function hv(){if(yl)return Kr;yl=1,Object.defineProperty(Kr,"__esModule",{value:!0});const t=lv(),n=fv(),r=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",t.default,n.default];return Kr.default=r,Kr}var Gr={},Jr={},wl;function dv(){if(wl)return Jr;wl=1,Object.defineProperty(Jr,"__esModule",{value:!0});const t=Oe(),n=t.operators,r={maximum:{okStr:"<=",ok:n.LTE,fail:n.GT},minimum:{okStr:">=",ok:n.GTE,fail:n.LT},exclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},exclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}},s={message:({keyword:u,schemaCode:l})=>(0,t.str)`must be ${r[u].okStr} ${l}`,params:({keyword:u,schemaCode:l})=>(0,t._)`{comparison: ${r[u].okStr}, limit: ${l}}`},a={keyword:Object.keys(r),type:"number",schemaType:"number",$data:!0,error:s,code(u){const{keyword:l,data:f,schemaCode:h}=u;u.fail$data((0,t._)`${f} ${r[l].fail} ${h} || isNaN(${f})`)}};return Jr.default=a,Jr}var Yr={},bl;function pv(){if(bl)return Yr;bl=1,Object.defineProperty(Yr,"__esModule",{value:!0});const t=Oe(),r={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:s})=>(0,t.str)`must be multiple of ${s}`,params:({schemaCode:s})=>(0,t._)`{multipleOf: ${s}}`},code(s){const{gen:a,data:u,schemaCode:l,it:f}=s,h=f.opts.multipleOfPrecision,_=a.let("res"),m=h?(0,t._)`Math.abs(Math.round(${_}) - ${_}) > 1e-${h}`:(0,t._)`${_} !== parseInt(${_})`;s.fail$data((0,t._)`(${l} === 0 || (${_} = ${u}/${l}, ${m}))`)}};return Yr.default=r,Yr}var Xr={},Qr={},Pl;function mv(){if(Pl)return Qr;Pl=1,Object.defineProperty(Qr,"__esModule",{value:!0});function t(n){const r=n.length;let s=0,a=0,u;for(;a=55296&&u<=56319&&a(0,t._)`{limit: ${u}}`},code(u){const{keyword:l,data:f,schemaCode:h,it:_}=u,m=l==="maxLength"?t.operators.GT:t.operators.LT,g=_.opts.unicode===!1?(0,t._)`${f}.length`:(0,t._)`${(0,n.useFunc)(u.gen,r.default)}(${f})`;u.fail$data((0,t._)`${g} ${m} ${h}`)}};return Xr.default=a,Xr}var es={},$l;function gv(){if($l)return es;$l=1,Object.defineProperty(es,"__esModule",{value:!0});const t=Ut(),n=Oe(),s={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:a})=>(0,n.str)`must match pattern "${a}"`,params:({schemaCode:a})=>(0,n._)`{pattern: ${a}}`},code(a){const{data:u,$data:l,schema:f,schemaCode:h,it:_}=a,m=_.opts.unicodeRegExp?"u":"",g=l?(0,n._)`(new RegExp(${h}, ${m}))`:(0,t.usePattern)(a,f);a.fail$data((0,n._)`!${g}.test(${u})`)}};return es.default=s,es}var ts={},El;function vv(){if(El)return ts;El=1,Object.defineProperty(ts,"__esModule",{value:!0});const t=Oe(),r={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:s,schemaCode:a}){const u=s==="maxProperties"?"more":"fewer";return(0,t.str)`must NOT have ${u} than ${a} properties`},params:({schemaCode:s})=>(0,t._)`{limit: ${s}}`},code(s){const{keyword:a,data:u,schemaCode:l}=s,f=a==="maxProperties"?t.operators.GT:t.operators.LT;s.fail$data((0,t._)`Object.keys(${u}).length ${f} ${l}`)}};return ts.default=r,ts}var ns={},Tl;function yv(){if(Tl)return ns;Tl=1,Object.defineProperty(ns,"__esModule",{value:!0});const t=Ut(),n=Oe(),r=De(),a={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:u}})=>(0,n.str)`must have required property '${u}'`,params:({params:{missingProperty:u}})=>(0,n._)`{missingProperty: ${u}}`},code(u){const{gen:l,schema:f,schemaCode:h,data:_,$data:m,it:g}=u,{opts:y}=g;if(!m&&f.length===0)return;const E=f.length>=y.loopRequired;if(g.allErrors?$():x(),y.strictRequired){const p=u.parentSchema.properties,{definedProperties:v}=u.it;for(const C of f)if((p==null?void 0:p[C])===void 0&&!v.has(C)){const O=g.schemaEnv.baseId+g.errSchemaPath,k=`required property "${C}" is not defined at "${O}" (strictRequired)`;(0,r.checkStrictMode)(g,k,g.opts.strictRequired)}}function $(){if(E||m)u.block$data(n.nil,b);else for(const p of f)(0,t.checkReportMissingProp)(u,p)}function x(){const p=l.let("missing");if(E||m){const v=l.let("valid",!0);u.block$data(v,()=>P(p,v)),u.ok(v)}else l.if((0,t.checkMissingProp)(u,f,p)),(0,t.reportMissingProp)(u,p),l.else()}function b(){l.forOf("prop",h,p=>{u.setParams({missingProperty:p}),l.if((0,t.noPropertyInData)(l,_,p,y.ownProperties),()=>u.error())})}function P(p,v){u.setParams({missingProperty:p}),l.forOf(p,h,()=>{l.assign(v,(0,t.propertyInData)(l,_,p,y.ownProperties)),l.if((0,n.not)(v),()=>{u.error(),l.break()})},n.nil)}}};return ns.default=a,ns}var is={},Cl;function wv(){if(Cl)return is;Cl=1,Object.defineProperty(is,"__esModule",{value:!0});const t=Oe(),r={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:s,schemaCode:a}){const u=s==="maxItems"?"more":"fewer";return(0,t.str)`must NOT have ${u} than ${a} items`},params:({schemaCode:s})=>(0,t._)`{limit: ${s}}`},code(s){const{keyword:a,data:u,schemaCode:l}=s,f=a==="maxItems"?t.operators.GT:t.operators.LT;s.fail$data((0,t._)`${u}.length ${f} ${l}`)}};return is.default=r,is}var rs={},ss={},Rl;function Va(){if(Rl)return ss;Rl=1,Object.defineProperty(ss,"__esModule",{value:!0});const t=Kh();return t.code='require("ajv/dist/runtime/equal").default',ss.default=t,ss}var Ll;function bv(){if(Ll)return rs;Ll=1,Object.defineProperty(rs,"__esModule",{value:!0});const t=zs(),n=Oe(),r=De(),s=Va(),u={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:l,j:f}})=>(0,n.str)`must NOT have duplicate items (items ## ${f} and ${l} are identical)`,params:({params:{i:l,j:f}})=>(0,n._)`{i: ${l}, j: ${f}}`},code(l){const{gen:f,data:h,$data:_,schema:m,parentSchema:g,schemaCode:y,it:E}=l;if(!_&&!m)return;const $=f.let("valid"),x=g.items?(0,t.getSchemaTypes)(g.items):[];l.block$data($,b,(0,n._)`${y} === false`),l.ok($);function b(){const C=f.let("i",(0,n._)`${h}.length`),O=f.let("j");l.setParams({i:C,j:O}),f.assign($,!0),f.if((0,n._)`${C} > 1`,()=>(P()?p:v)(C,O))}function P(){return x.length>0&&!x.some(C=>C==="object"||C==="array")}function p(C,O){const k=f.name("item"),I=(0,t.checkDataTypes)(x,k,E.opts.strictNumbers,t.DataType.Wrong),V=f.const("indices",(0,n._)`{}`);f.for((0,n._)`;${C}--;`,()=>{f.let(k,(0,n._)`${h}[${C}]`),f.if(I,(0,n._)`continue`),x.length>1&&f.if((0,n._)`typeof ${k} == "string"`,(0,n._)`${k} += "_"`),f.if((0,n._)`typeof ${V}[${k}] == "number"`,()=>{f.assign(O,(0,n._)`${V}[${k}]`),l.error(),f.assign($,!1).break()}).code((0,n._)`${V}[${k}] = ${C}`)})}function v(C,O){const k=(0,r.useFunc)(f,s.default),I=f.name("outer");f.label(I).for((0,n._)`;${C}--;`,()=>f.for((0,n._)`${O} = ${C}; ${O}--;`,()=>f.if((0,n._)`${k}(${h}[${C}], ${h}[${O}])`,()=>{l.error(),f.assign($,!1).break(I)})))}}};return rs.default=u,rs}var os={},xl;function Pv(){if(xl)return os;xl=1,Object.defineProperty(os,"__esModule",{value:!0});const t=Oe(),n=De(),r=Va(),a={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:u})=>(0,t._)`{allowedValue: ${u}}`},code(u){const{gen:l,data:f,$data:h,schemaCode:_,schema:m}=u;h||m&&typeof m=="object"?u.fail$data((0,t._)`!${(0,n.useFunc)(l,r.default)}(${f}, ${_})`):u.fail((0,t._)`${m} !== ${f}`)}};return os.default=a,os}var as={},kl;function Sv(){if(kl)return as;kl=1,Object.defineProperty(as,"__esModule",{value:!0});const t=Oe(),n=De(),r=Va(),a={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:u})=>(0,t._)`{allowedValues: ${u}}`},code(u){const{gen:l,data:f,$data:h,schema:_,schemaCode:m,it:g}=u;if(!h&&_.length===0)throw new Error("enum must have non-empty array");const y=_.length>=g.opts.loopEnum;let E;const $=()=>E??(E=(0,n.useFunc)(l,r.default));let x;if(y||h)x=l.let("valid"),u.block$data(x,b);else{if(!Array.isArray(_))throw new Error("ajv implementation error");const p=l.const("vSchema",m);x=(0,t.or)(..._.map((v,C)=>P(p,C)))}u.pass(x);function b(){l.assign(x,!1),l.forOf("v",m,p=>l.if((0,t._)`${$()}(${f}, ${p})`,()=>l.assign(x,!0).break()))}function P(p,v){const C=_[v];return typeof C=="object"&&C!==null?(0,t._)`${$()}(${f}, ${p}[${v}])`:(0,t._)`${f} === ${C}`}}};return as.default=a,as}var Ol;function $v(){if(Ol)return Gr;Ol=1,Object.defineProperty(Gr,"__esModule",{value:!0});const t=dv(),n=pv(),r=_v(),s=gv(),a=vv(),u=yv(),l=wv(),f=bv(),h=Pv(),_=Sv(),m=[t.default,n.default,r.default,s.default,a.default,u.default,l.default,f.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},h.default,_.default];return Gr.default=m,Gr}var us={},mi={},Al;function Wh(){if(Al)return mi;Al=1,Object.defineProperty(mi,"__esModule",{value:!0}),mi.validateAdditionalItems=void 0;const t=Oe(),n=De(),s={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:u}})=>(0,t.str)`must NOT have more than ${u} items`,params:({params:{len:u}})=>(0,t._)`{limit: ${u}}`},code(u){const{parentSchema:l,it:f}=u,{items:h}=l;if(!Array.isArray(h)){(0,n.checkStrictMode)(f,'"additionalItems" is ignored when "items" is not an array of schemas');return}a(u,h)}};function a(u,l){const{gen:f,schema:h,data:_,keyword:m,it:g}=u;g.items=!0;const y=f.const("len",(0,t._)`${_}.length`);if(h===!1)u.setParams({len:l.length}),u.pass((0,t._)`${y} <= ${l.length}`);else if(typeof h=="object"&&!(0,n.alwaysValidSchema)(g,h)){const $=f.var("valid",(0,t._)`${y} <= ${l.length}`);f.if((0,t.not)($),()=>E($)),u.ok($)}function E($){f.forRange("i",l.length,y,x=>{u.subschema({keyword:m,dataProp:x,dataPropType:n.Type.Num},$),g.allErrors||f.if((0,t.not)($),()=>f.break())})}}return mi.validateAdditionalItems=a,mi.default=s,mi}var cs={},_i={},Il;function Gh(){if(Il)return _i;Il=1,Object.defineProperty(_i,"__esModule",{value:!0}),_i.validateTuple=void 0;const t=Oe(),n=De(),r=Ut(),s={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(u){const{schema:l,it:f}=u;if(Array.isArray(l))return a(u,"additionalItems",l);f.items=!0,!(0,n.alwaysValidSchema)(f,l)&&u.ok((0,r.validateArray)(u))}};function a(u,l,f=u.schema){const{gen:h,parentSchema:_,data:m,keyword:g,it:y}=u;x(_),y.opts.unevaluated&&f.length&&y.items!==!0&&(y.items=n.mergeEvaluated.items(h,f.length,y.items));const E=h.name("valid"),$=h.const("len",(0,t._)`${m}.length`);f.forEach((b,P)=>{(0,n.alwaysValidSchema)(y,b)||(h.if((0,t._)`${$} > ${P}`,()=>u.subschema({keyword:g,schemaProp:P,dataProp:P},E)),u.ok(E))});function x(b){const{opts:P,errSchemaPath:p}=y,v=f.length,C=v===b.minItems&&(v===b.maxItems||b[l]===!1);if(P.strictTuples&&!C){const O=`"${g}" is ${v}-tuple, but minItems or maxItems/${l} are not specified or different at path "${p}"`;(0,n.checkStrictMode)(y,O,P.strictTuples)}}}return _i.validateTuple=a,_i.default=s,_i}var Ml;function Ev(){if(Ml)return cs;Ml=1,Object.defineProperty(cs,"__esModule",{value:!0});const t=Gh(),n={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:r=>(0,t.validateTuple)(r,"items")};return cs.default=n,cs}var ls={},Nl;function Tv(){if(Nl)return ls;Nl=1,Object.defineProperty(ls,"__esModule",{value:!0});const t=Oe(),n=De(),r=Ut(),s=Wh(),u={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:l}})=>(0,t.str)`must NOT have more than ${l} items`,params:({params:{len:l}})=>(0,t._)`{limit: ${l}}`},code(l){const{schema:f,parentSchema:h,it:_}=l,{prefixItems:m}=h;_.items=!0,!(0,n.alwaysValidSchema)(_,f)&&(m?(0,s.validateAdditionalItems)(l,m):l.ok((0,r.validateArray)(l)))}};return ls.default=u,ls}var fs={},zl;function Cv(){if(zl)return fs;zl=1,Object.defineProperty(fs,"__esModule",{value:!0});const t=Oe(),n=De(),s={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:a,max:u}})=>u===void 0?(0,t.str)`must contain at least ${a} valid item(s)`:(0,t.str)`must contain at least ${a} and no more than ${u} valid item(s)`,params:({params:{min:a,max:u}})=>u===void 0?(0,t._)`{minContains: ${a}}`:(0,t._)`{minContains: ${a}, maxContains: ${u}}`},code(a){const{gen:u,schema:l,parentSchema:f,data:h,it:_}=a;let m,g;const{minContains:y,maxContains:E}=f;_.opts.next?(m=y===void 0?1:y,g=E):m=1;const $=u.const("len",(0,t._)`${h}.length`);if(a.setParams({min:m,max:g}),g===void 0&&m===0){(0,n.checkStrictMode)(_,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(g!==void 0&&m>g){(0,n.checkStrictMode)(_,'"minContains" > "maxContains" is always invalid'),a.fail();return}if((0,n.alwaysValidSchema)(_,l)){let v=(0,t._)`${$} >= ${m}`;g!==void 0&&(v=(0,t._)`${v} && ${$} <= ${g}`),a.pass(v);return}_.items=!0;const x=u.name("valid");g===void 0&&m===1?P(x,()=>u.if(x,()=>u.break())):m===0?(u.let(x,!0),g!==void 0&&u.if((0,t._)`${h}.length > 0`,b)):(u.let(x,!1),b()),a.result(x,()=>a.reset());function b(){const v=u.name("_valid"),C=u.let("count",0);P(v,()=>u.if(v,()=>p(C)))}function P(v,C){u.forRange("i",0,$,O=>{a.subschema({keyword:"contains",dataProp:O,dataPropType:n.Type.Num,compositeRule:!0},v),C()})}function p(v){u.code((0,t._)`${v}++`),g===void 0?u.if((0,t._)`${v} >= ${m}`,()=>u.assign(x,!0).break()):(u.if((0,t._)`${v} > ${g}`,()=>u.assign(x,!1).break()),m===1?u.assign(x,!0):u.if((0,t._)`${v} >= ${m}`,()=>u.assign(x,!0)))}}};return fs.default=s,fs}var oa={},Dl;function Rv(){return Dl||(Dl=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const n=Oe(),r=De(),s=Ut();t.error={message:({params:{property:h,depsCount:_,deps:m}})=>{const g=_===1?"property":"properties";return(0,n.str)`must have ${g} ${m} when property ${h} is present`},params:({params:{property:h,depsCount:_,deps:m,missingProperty:g}})=>(0,n._)`{property: ${h}, + || ${V} === "boolean" || ${k} === null`).assign(W,(0,s._)`[${k}]`)}}}function y({gen:p,parentData:v,parentDataProperty:C},O){p.if((0,s._)`${v} !== undefined`,()=>p.assign((0,s._)`${v}[${C}]`,O))}function E(p,v,C,O=u.Correct){const k=O===u.Correct?s.operators.EQ:s.operators.NEQ;let I;switch(p){case"null":return(0,s._)`${v} ${k} null`;case"array":I=(0,s._)`Array.isArray(${v})`;break;case"object":I=(0,s._)`${v} && typeof ${v} == "object" && !Array.isArray(${v})`;break;case"integer":I=V((0,s._)`!(${v} % 1) && !isNaN(${v})`);break;case"number":I=V();break;default:return(0,s._)`typeof ${v} ${k} ${p}`}return O===u.Correct?I:(0,s.not)(I);function V(W=s.nil){return(0,s.and)((0,s._)`typeof ${v} == "number"`,W,C?(0,s._)`isFinite(${v})`:s.nil)}}ht.checkDataType=E;function $(p,v,C,O){if(p.length===1)return E(p[0],v,C,O);let k;const I=(0,a.toHash)(p);if(I.array&&I.object){const V=(0,s._)`typeof ${v} != "object"`;k=I.null?V:(0,s._)`!${v} || ${V}`,delete I.null,delete I.array,delete I.object}else k=s.nil;I.number&&delete I.integer;for(const V in I)k=(0,s.and)(k,E(V,v,C,O));return k}ht.checkDataTypes=$;const x={message:({schema:p})=>`must be ${p}`,params:({schema:p,schemaValue:v})=>typeof p=="string"?(0,s._)`{type: ${p}}`:(0,s._)`{type: ${v}}`};function b(p){const v=P(p);(0,r.reportError)(v,x)}ht.reportTypeError=b;function P(p){const{gen:v,data:C,schema:O}=p,k=(0,a.schemaRefOrVal)(p,O,"type");return{gen:v,keyword:"type",data:C,schema:O.type,schemaCode:k,schemaValue:k,parentSchema:O,params:{},it:p}}return ht}var Wi={},el;function Kg(){if(el)return Wi;el=1,Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.assignDefaults=void 0;const t=Oe(),n=De();function r(a,u){const{properties:l,items:f}=a.schema;if(u==="object"&&l)for(const h in l)s(a,h,l[h].default);else u==="array"&&Array.isArray(f)&&f.forEach((h,_)=>s(a,_,h.default))}Wi.assignDefaults=r;function s(a,u,l){const{gen:f,compositeRule:h,data:_,opts:m}=a;if(l===void 0)return;const g=(0,t._)`${_}${(0,t.getProperty)(u)}`;if(h){(0,n.checkStrictMode)(a,`default is ignored for: ${g}`);return}let y=(0,t._)`${g} === undefined`;m.useDefaults==="empty"&&(y=(0,t._)`${y} || ${g} === null || ${g} === ""`),f.if(y,(0,t._)`${g} = ${(0,t.stringify)(l)}`)}return Wi}var qt={},Ze={},tl;function Ut(){if(tl)return Ze;tl=1,Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.validateUnion=Ze.validateArray=Ze.usePattern=Ze.callValidateCode=Ze.schemaProperties=Ze.allSchemaProperties=Ze.noPropertyInData=Ze.propertyInData=Ze.isOwnProperty=Ze.hasPropFunc=Ze.reportMissingProp=Ze.checkMissingProp=Ze.checkReportMissingProp=void 0;const t=Oe(),n=De(),r=zn(),s=De();function a(p,v){const{gen:C,data:O,it:k}=p;C.if(m(C,O,v,k.opts.ownProperties),()=>{p.setParams({missingProperty:(0,t._)`${v}`},!0),p.error()})}Ze.checkReportMissingProp=a;function u({gen:p,data:v,it:{opts:C}},O,k){return(0,t.or)(...O.map(I=>(0,t.and)(m(p,v,I,C.ownProperties),(0,t._)`${k} = ${I}`)))}Ze.checkMissingProp=u;function l(p,v){p.setParams({missingProperty:v},!0),p.error()}Ze.reportMissingProp=l;function f(p){return p.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,t._)`Object.prototype.hasOwnProperty`})}Ze.hasPropFunc=f;function h(p,v,C){return(0,t._)`${f(p)}.call(${v}, ${C})`}Ze.isOwnProperty=h;function _(p,v,C,O){const k=(0,t._)`${v}${(0,t.getProperty)(C)} !== undefined`;return O?(0,t._)`${k} && ${h(p,v,C)}`:k}Ze.propertyInData=_;function m(p,v,C,O){const k=(0,t._)`${v}${(0,t.getProperty)(C)} === undefined`;return O?(0,t.or)(k,(0,t.not)(h(p,v,C))):k}Ze.noPropertyInData=m;function g(p){return p?Object.keys(p).filter(v=>v!=="__proto__"):[]}Ze.allSchemaProperties=g;function y(p,v){return g(v).filter(C=>!(0,n.alwaysValidSchema)(p,v[C]))}Ze.schemaProperties=y;function E({schemaCode:p,data:v,it:{gen:C,topSchemaRef:O,schemaPath:k,errorPath:I},it:V},W,se,ie){const X=ie?(0,t._)`${p}, ${v}, ${O}${k}`:v,fe=[[r.default.instancePath,(0,t.strConcat)(r.default.instancePath,I)],[r.default.parentData,V.parentData],[r.default.parentDataProperty,V.parentDataProperty],[r.default.rootData,r.default.rootData]];V.opts.dynamicRef&&fe.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);const me=(0,t._)`${X}, ${C.object(...fe)}`;return se!==t.nil?(0,t._)`${W}.call(${se}, ${me})`:(0,t._)`${W}(${me})`}Ze.callValidateCode=E;const $=(0,t._)`new RegExp`;function x({gen:p,it:{opts:v}},C){const O=v.unicodeRegExp?"u":"",{regExp:k}=v.code,I=k(C,O);return p.scopeValue("pattern",{key:I.toString(),ref:I,code:(0,t._)`${k.code==="new RegExp"?$:(0,s.useFunc)(p,k)}(${C}, ${O})`})}Ze.usePattern=x;function b(p){const{gen:v,data:C,keyword:O,it:k}=p,I=v.name("valid");if(k.allErrors){const W=v.let("valid",!0);return V(()=>v.assign(W,!1)),W}return v.var(I,!0),V(()=>v.break()),I;function V(W){const se=v.const("len",(0,t._)`${C}.length`);v.forRange("i",0,se,ie=>{p.subschema({keyword:O,dataProp:ie,dataPropType:n.Type.Num},I),v.if((0,t.not)(I),W)})}}Ze.validateArray=b;function P(p){const{gen:v,schema:C,keyword:O,it:k}=p;if(!Array.isArray(C))throw new Error("ajv implementation error");if(C.some(se=>(0,n.alwaysValidSchema)(k,se))&&!k.opts.unevaluated)return;const V=v.let("valid",!1),W=v.name("_valid");v.block(()=>C.forEach((se,ie)=>{const X=p.subschema({keyword:O,schemaProp:ie,compositeRule:!0},W);v.assign(V,(0,t._)`${V} || ${W}`),p.mergeValidEvaluated(X,W)||v.if((0,t.not)(V))})),p.result(V,()=>p.reset(),()=>p.error(!0))}return Ze.validateUnion=P,Ze}var nl;function Wg(){if(nl)return qt;nl=1,Object.defineProperty(qt,"__esModule",{value:!0}),qt.validateKeywordUsage=qt.validSchemaType=qt.funcKeywordCode=qt.macroKeywordCode=void 0;const t=Oe(),n=zn(),r=Ut(),s=to();function a(y,E){const{gen:$,keyword:x,schema:b,parentSchema:P,it:p}=y,v=E.macro.call(p.self,b,P,p),C=_($,x,v);p.opts.validateSchema!==!1&&p.self.validateSchema(v,!0);const O=$.name("valid");y.subschema({schema:v,schemaPath:t.nil,errSchemaPath:`${p.errSchemaPath}/${x}`,topSchemaRef:C,compositeRule:!0},O),y.pass(O,()=>y.error(!0))}qt.macroKeywordCode=a;function u(y,E){var $;const{gen:x,keyword:b,schema:P,parentSchema:p,$data:v,it:C}=y;h(C,E);const O=!v&&E.compile?E.compile.call(C.self,P,p,C):E.validate,k=_(x,b,O),I=x.let("valid");y.block$data(I,V),y.ok(($=E.valid)!==null&&$!==void 0?$:I);function V(){if(E.errors===!1)ie(),E.modifying&&l(y),X(()=>y.error());else{const fe=E.async?W():se();E.modifying&&l(y),X(()=>f(y,fe))}}function W(){const fe=x.let("ruleErrs",null);return x.try(()=>ie((0,t._)`await `),me=>x.assign(I,!1).if((0,t._)`${me} instanceof ${C.ValidationError}`,()=>x.assign(fe,(0,t._)`${me}.errors`),()=>x.throw(me))),fe}function se(){const fe=(0,t._)`${k}.errors`;return x.assign(fe,null),ie(t.nil),fe}function ie(fe=E.async?(0,t._)`await `:t.nil){const me=C.opts.passContext?n.default.this:n.default.self,Ie=!("compile"in E&&!v||E.schema===!1);x.assign(I,(0,t._)`${fe}${(0,r.callValidateCode)(y,k,me,Ie)}`,E.modifying)}function X(fe){var me;x.if((0,t.not)((me=E.valid)!==null&&me!==void 0?me:I),fe)}}qt.funcKeywordCode=u;function l(y){const{gen:E,data:$,it:x}=y;E.if(x.parentData,()=>E.assign($,(0,t._)`${x.parentData}[${x.parentDataProperty}]`))}function f(y,E){const{gen:$}=y;$.if((0,t._)`Array.isArray(${E})`,()=>{$.assign(n.default.vErrors,(0,t._)`${n.default.vErrors} === null ? ${E} : ${n.default.vErrors}.concat(${E})`).assign(n.default.errors,(0,t._)`${n.default.vErrors}.length`),(0,s.extendErrors)(y)},()=>y.error())}function h({schemaEnv:y},E){if(E.async&&!y.$async)throw new Error("async keyword in sync schema")}function _(y,E,$){if($===void 0)throw new Error(`keyword "${E}" failed to compile`);return y.scopeValue("keyword",typeof $=="function"?{ref:$}:{ref:$,code:(0,t.stringify)($)})}function m(y,E,$=!1){return!E.length||E.some(x=>x==="array"?Array.isArray(y):x==="object"?y&&typeof y=="object"&&!Array.isArray(y):typeof y==x||$&&typeof y>"u")}qt.validSchemaType=m;function g({schema:y,opts:E,self:$,errSchemaPath:x},b,P){if(Array.isArray(b.keyword)?!b.keyword.includes(P):b.keyword!==P)throw new Error("ajv implementation error");const p=b.dependencies;if(p!=null&&p.some(v=>!Object.prototype.hasOwnProperty.call(y,v)))throw new Error(`parent schema must have dependencies of ${P}: ${p.join(",")}`);if(b.validateSchema&&!b.validateSchema(y[P])){const C=`keyword "${P}" value is invalid at path "${x}": `+$.errorsText(b.validateSchema.errors);if(E.validateSchema==="log")$.logger.error(C);else throw new Error(C)}}return qt.validateKeywordUsage=g,qt}var pn={},il;function Gg(){if(il)return pn;il=1,Object.defineProperty(pn,"__esModule",{value:!0}),pn.extendSubschemaMode=pn.extendSubschemaData=pn.getSubschema=void 0;const t=Oe(),n=De();function r(u,{keyword:l,schemaProp:f,schema:h,schemaPath:_,errSchemaPath:m,topSchemaRef:g}){if(l!==void 0&&h!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(l!==void 0){const y=u.schema[l];return f===void 0?{schema:y,schemaPath:(0,t._)`${u.schemaPath}${(0,t.getProperty)(l)}`,errSchemaPath:`${u.errSchemaPath}/${l}`}:{schema:y[f],schemaPath:(0,t._)`${u.schemaPath}${(0,t.getProperty)(l)}${(0,t.getProperty)(f)}`,errSchemaPath:`${u.errSchemaPath}/${l}/${(0,n.escapeFragment)(f)}`}}if(h!==void 0){if(_===void 0||m===void 0||g===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:h,schemaPath:_,topSchemaRef:g,errSchemaPath:m}}throw new Error('either "keyword" or "schema" must be passed')}pn.getSubschema=r;function s(u,l,{dataProp:f,dataPropType:h,data:_,dataTypes:m,propertyName:g}){if(_!==void 0&&f!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:y}=l;if(f!==void 0){const{errorPath:$,dataPathArr:x,opts:b}=l,P=y.let("data",(0,t._)`${l.data}${(0,t.getProperty)(f)}`,!0);E(P),u.errorPath=(0,t.str)`${$}${(0,n.getErrorPath)(f,h,b.jsPropertySyntax)}`,u.parentDataProperty=(0,t._)`${f}`,u.dataPathArr=[...x,u.parentDataProperty]}if(_!==void 0){const $=_ instanceof t.Name?_:y.let("data",_,!0);E($),g!==void 0&&(u.propertyName=g)}m&&(u.dataTypes=m);function E($){u.data=$,u.dataLevel=l.dataLevel+1,u.dataTypes=[],l.definedProperties=new Set,u.parentData=l.data,u.dataNames=[...l.dataNames,$]}}pn.extendSubschemaData=s;function a(u,{jtdDiscriminator:l,jtdMetadata:f,compositeRule:h,createErrors:_,allErrors:m}){h!==void 0&&(u.compositeRule=h),_!==void 0&&(u.createErrors=_),m!==void 0&&(u.allErrors=m),u.jtdDiscriminator=l,u.jtdMetadata=f}return pn.extendSubschemaMode=a,pn}var yt={},ta,rl;function Kh(){return rl||(rl=1,ta=function t(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,u;if(Array.isArray(n)){if(s=n.length,s!=r.length)return!1;for(a=s;a--!==0;)if(!t(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(u=Object.keys(n),s=u.length,s!==Object.keys(r).length)return!1;for(a=s;a--!==0;)if(!Object.prototype.hasOwnProperty.call(r,u[a]))return!1;for(a=s;a--!==0;){var l=u[a];if(!t(n[l],r[l]))return!1}return!0}return n!==n&&r!==r}),ta}var na={exports:{}},sl;function Jg(){if(sl)return na.exports;sl=1;var t=na.exports=function(s,a,u){typeof a=="function"&&(u=a,a={}),u=a.cb||u;var l=typeof u=="function"?u:u.pre||function(){},f=u.post||function(){};n(a,l,f,s,"",s)};t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.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 n(s,a,u,l,f,h,_,m,g,y){if(l&&typeof l=="object"&&!Array.isArray(l)){a(l,f,h,_,m,g,y);for(var E in l){var $=l[E];if(Array.isArray($)){if(E in t.arrayKeywords)for(var x=0;x<$.length;x++)n(s,a,u,$[x],f+"/"+E+"/"+x,h,f,E,l,x)}else if(E in t.propsKeywords){if($&&typeof $=="object")for(var b in $)n(s,a,u,$[b],f+"/"+E+"/"+r(b),h,f,E,l,b)}else(E in t.keywords||s.allKeys&&!(E in t.skipKeywords))&&n(s,a,u,$,f+"/"+E,h,f,E,l)}u(l,f,h,_,m,g,y)}}function r(s){return s.replace(/~/g,"~0").replace(/\//g,"~1")}return na.exports}var ol;function no(){if(ol)return yt;ol=1,Object.defineProperty(yt,"__esModule",{value:!0}),yt.getSchemaRefs=yt.resolveUrl=yt.normalizeId=yt._getFullPath=yt.getFullPath=yt.inlineRef=void 0;const t=De(),n=Kh(),r=Jg(),s=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function a(x,b=!0){return typeof x=="boolean"?!0:b===!0?!l(x):b?f(x)<=b:!1}yt.inlineRef=a;const u=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function l(x){for(const b in x){if(u.has(b))return!0;const P=x[b];if(Array.isArray(P)&&P.some(l)||typeof P=="object"&&l(P))return!0}return!1}function f(x){let b=0;for(const P in x){if(P==="$ref")return 1/0;if(b++,!s.has(P)&&(typeof x[P]=="object"&&(0,t.eachItem)(x[P],p=>b+=f(p)),b===1/0))return 1/0}return b}function h(x,b="",P){P!==!1&&(b=g(b));const p=x.parse(b);return _(x,p)}yt.getFullPath=h;function _(x,b){return x.serialize(b).split("#")[0]+"#"}yt._getFullPath=_;const m=/#\/?$/;function g(x){return x?x.replace(m,""):""}yt.normalizeId=g;function y(x,b,P){return P=g(P),x.resolve(b,P)}yt.resolveUrl=y;const E=/^[a-z_][-a-z0-9._]*$/i;function $(x,b){if(typeof x=="boolean")return{};const{schemaId:P,uriResolver:p}=this.opts,v=g(x[P]||b),C={"":v},O=h(p,v,!1),k={},I=new Set;return r(x,{allKeys:!0},(se,ie,X,fe)=>{if(fe===void 0)return;const me=O+ie;let Ie=C[fe];typeof se[P]=="string"&&(Ie=Se.call(this,se[P])),$e.call(this,se.$anchor),$e.call(this,se.$dynamicAnchor),C[ie]=Ie;function Se(re){const et=this.opts.uriResolver.resolve;if(re=g(Ie?et(Ie,re):re),I.has(re))throw W(re);I.add(re);let K=this.refs[re];return typeof K=="string"&&(K=this.refs[K]),typeof K=="object"?V(se,K.schema,re):re!==g(me)&&(re[0]==="#"?(V(se,k[re],re),k[re]=se):this.refs[re]=me),re}function $e(re){if(typeof re=="string"){if(!E.test(re))throw new Error(`invalid anchor "${re}"`);Se.call(this,`#${re}`)}}}),k;function V(se,ie,X){if(ie!==void 0&&!n(se,ie))throw W(X)}function W(se){return new Error(`reference "${se}" resolves to more than one schema`)}}return yt.getSchemaRefs=$,yt}var al;function io(){if(al)return hn;al=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.getData=hn.KeywordCxt=hn.validateFunctionCode=void 0;const t=Ug(),n=zs(),r=Uh(),s=zs(),a=Kg(),u=Wg(),l=Gg(),f=Oe(),h=zn(),_=no(),m=De(),g=to();function y(z){if(O(z)&&(I(z),C(z))){b(z);return}E(z,()=>(0,t.topBoolOrEmptySchema)(z))}hn.validateFunctionCode=y;function E({gen:z,validateName:w,schema:T,schemaEnv:A,opts:B},H){B.code.es5?z.func(w,(0,f._)`${h.default.data}, ${h.default.valCxt}`,A.$async,()=>{z.code((0,f._)`"use strict"; ${p(T,B)}`),x(z,B),z.code(H)}):z.func(w,(0,f._)`${h.default.data}, ${$(B)}`,A.$async,()=>z.code(p(T,B)).code(H))}function $(z){return(0,f._)`{${h.default.instancePath}="", ${h.default.parentData}, ${h.default.parentDataProperty}, ${h.default.rootData}=${h.default.data}${z.dynamicRef?(0,f._)`, ${h.default.dynamicAnchors}={}`:f.nil}}={}`}function x(z,w){z.if(h.default.valCxt,()=>{z.var(h.default.instancePath,(0,f._)`${h.default.valCxt}.${h.default.instancePath}`),z.var(h.default.parentData,(0,f._)`${h.default.valCxt}.${h.default.parentData}`),z.var(h.default.parentDataProperty,(0,f._)`${h.default.valCxt}.${h.default.parentDataProperty}`),z.var(h.default.rootData,(0,f._)`${h.default.valCxt}.${h.default.rootData}`),w.dynamicRef&&z.var(h.default.dynamicAnchors,(0,f._)`${h.default.valCxt}.${h.default.dynamicAnchors}`)},()=>{z.var(h.default.instancePath,(0,f._)`""`),z.var(h.default.parentData,(0,f._)`undefined`),z.var(h.default.parentDataProperty,(0,f._)`undefined`),z.var(h.default.rootData,h.default.data),w.dynamicRef&&z.var(h.default.dynamicAnchors,(0,f._)`{}`)})}function b(z){const{schema:w,opts:T,gen:A}=z;E(z,()=>{T.$comment&&w.$comment&&fe(z),se(z),A.let(h.default.vErrors,null),A.let(h.default.errors,0),T.unevaluated&&P(z),V(z),me(z)})}function P(z){const{gen:w,validateName:T}=z;z.evaluated=w.const("evaluated",(0,f._)`${T}.evaluated`),w.if((0,f._)`${z.evaluated}.dynamicProps`,()=>w.assign((0,f._)`${z.evaluated}.props`,(0,f._)`undefined`)),w.if((0,f._)`${z.evaluated}.dynamicItems`,()=>w.assign((0,f._)`${z.evaluated}.items`,(0,f._)`undefined`))}function p(z,w){const T=typeof z=="object"&&z[w.schemaId];return T&&(w.code.source||w.code.process)?(0,f._)`/*# sourceURL=${T} */`:f.nil}function v(z,w){if(O(z)&&(I(z),C(z))){k(z,w);return}(0,t.boolOrEmptySchema)(z,w)}function C({schema:z,self:w}){if(typeof z=="boolean")return!z;for(const T in z)if(w.RULES.all[T])return!0;return!1}function O(z){return typeof z.schema!="boolean"}function k(z,w){const{schema:T,gen:A,opts:B}=z;B.$comment&&T.$comment&&fe(z),ie(z),X(z);const H=A.const("_errs",h.default.errors);V(z,H),A.var(w,(0,f._)`${H} === ${h.default.errors}`)}function I(z){(0,m.checkUnknownRules)(z),W(z)}function V(z,w){if(z.opts.jtd)return Se(z,[],!1,w);const T=(0,n.getSchemaTypes)(z.schema),A=(0,n.coerceAndCheckDataType)(z,T);Se(z,T,!A,w)}function W(z){const{schema:w,errSchemaPath:T,opts:A,self:B}=z;w.$ref&&A.ignoreKeywordsWithRef&&(0,m.schemaHasRulesButRef)(w,B.RULES)&&B.logger.warn(`$ref: keywords ignored in schema at path "${T}"`)}function se(z){const{schema:w,opts:T}=z;w.default!==void 0&&T.useDefaults&&T.strictSchema&&(0,m.checkStrictMode)(z,"default is ignored in the schema root")}function ie(z){const w=z.schema[z.opts.schemaId];w&&(z.baseId=(0,_.resolveUrl)(z.opts.uriResolver,z.baseId,w))}function X(z){if(z.schema.$async&&!z.schemaEnv.$async)throw new Error("async schema in sync schema")}function fe({gen:z,schemaEnv:w,schema:T,errSchemaPath:A,opts:B}){const H=T.$comment;if(B.$comment===!0)z.code((0,f._)`${h.default.self}.logger.log(${H})`);else if(typeof B.$comment=="function"){const J=(0,f.str)`${A}/$comment`,ce=z.scopeValue("root",{ref:w.root});z.code((0,f._)`${h.default.self}.opts.$comment(${H}, ${J}, ${ce}.schema)`)}}function me(z){const{gen:w,schemaEnv:T,validateName:A,ValidationError:B,opts:H}=z;T.$async?w.if((0,f._)`${h.default.errors} === 0`,()=>w.return(h.default.data),()=>w.throw((0,f._)`new ${B}(${h.default.vErrors})`)):(w.assign((0,f._)`${A}.errors`,h.default.vErrors),H.unevaluated&&Ie(z),w.return((0,f._)`${h.default.errors} === 0`))}function Ie({gen:z,evaluated:w,props:T,items:A}){T instanceof f.Name&&z.assign((0,f._)`${w}.props`,T),A instanceof f.Name&&z.assign((0,f._)`${w}.items`,A)}function Se(z,w,T,A){const{gen:B,schema:H,data:J,allErrors:ce,opts:ue,self:oe}=z,{RULES:Q}=oe;if(H.$ref&&(ue.ignoreKeywordsWithRef||!(0,m.schemaHasRulesButRef)(H,Q))){B.block(()=>j(z,"$ref",Q.all.$ref.definition));return}ue.jtd||re(z,w),B.block(()=>{for(const le of Q.rules)_e(le);_e(Q.post)});function _e(le){(0,r.shouldUseGroup)(H,le)&&(le.type?(B.if((0,s.checkDataType)(le.type,J,ue.strictNumbers)),$e(z,le),w.length===1&&w[0]===le.type&&T&&(B.else(),(0,s.reportTypeError)(z)),B.endIf()):$e(z,le),ce||B.if((0,f._)`${h.default.errors} === ${A||0}`))}}function $e(z,w){const{gen:T,schema:A,opts:{useDefaults:B}}=z;B&&(0,a.assignDefaults)(z,w.type),T.block(()=>{for(const H of w.rules)(0,r.shouldUseRule)(A,H)&&j(z,H.keyword,H.definition,w.type)})}function re(z,w){z.schemaEnv.meta||!z.opts.strictTypes||(et(z,w),z.opts.allowUnionTypes||K(z,w),D(z,z.dataTypes))}function et(z,w){if(w.length){if(!z.dataTypes.length){z.dataTypes=w;return}w.forEach(T=>{Z(z.dataTypes,T)||M(z,`type "${T}" not allowed by context "${z.dataTypes.join(",")}"`)}),R(z,w)}}function K(z,w){w.length>1&&!(w.length===2&&w.includes("null"))&&M(z,"use allowUnionTypes to allow union type keyword")}function D(z,w){const T=z.self.RULES.all;for(const A in T){const B=T[A];if(typeof B=="object"&&(0,r.shouldUseRule)(z.schema,B)){const{type:H}=B.definition;H.length&&!H.some(J=>Y(w,J))&&M(z,`missing type "${H.join(",")}" for keyword "${A}"`)}}}function Y(z,w){return z.includes(w)||w==="number"&&z.includes("integer")}function Z(z,w){return z.includes(w)||w==="integer"&&z.includes("number")}function R(z,w){const T=[];for(const A of z.dataTypes)Z(w,A)?T.push(A):w.includes("integer")&&A==="number"&&T.push("integer");z.dataTypes=T}function M(z,w){const T=z.schemaEnv.baseId+z.errSchemaPath;w+=` at "${T}" (strictTypes)`,(0,m.checkStrictMode)(z,w,z.opts.strictTypes)}class q{constructor(w,T,A){if((0,u.validateKeywordUsage)(w,T,A),this.gen=w.gen,this.allErrors=w.allErrors,this.keyword=A,this.data=w.data,this.schema=w.schema[A],this.$data=T.$data&&w.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,m.schemaRefOrVal)(w,this.schema,A,this.$data),this.schemaType=T.schemaType,this.parentSchema=w.schema,this.params={},this.it=w,this.def=T,this.$data)this.schemaCode=w.gen.const("vSchema",ae(this.$data,w));else if(this.schemaCode=this.schemaValue,!(0,u.validSchemaType)(this.schema,T.schemaType,T.allowUndefined))throw new Error(`${A} value must be ${JSON.stringify(T.schemaType)}`);("code"in T?T.trackErrors:T.errors!==!1)&&(this.errsCount=w.gen.const("_errs",h.default.errors))}result(w,T,A){this.failResult((0,f.not)(w),T,A)}failResult(w,T,A){this.gen.if(w),A?A():this.error(),T?(this.gen.else(),T(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(w,T){this.failResult((0,f.not)(w),void 0,T)}fail(w){if(w===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(w),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(w){if(!this.$data)return this.fail(w);const{schemaCode:T}=this;this.fail((0,f._)`${T} !== undefined && (${(0,f.or)(this.invalid$data(),w)})`)}error(w,T,A){if(T){this.setParams(T),this._error(w,A),this.setParams({});return}this._error(w,A)}_error(w,T){(w?g.reportExtraError:g.reportError)(this,this.def.error,T)}$dataError(){(0,g.reportError)(this,this.def.$dataError||g.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,g.resetErrorsCount)(this.gen,this.errsCount)}ok(w){this.allErrors||this.gen.if(w)}setParams(w,T){T?Object.assign(this.params,w):this.params=w}block$data(w,T,A=f.nil){this.gen.block(()=>{this.check$data(w,A),T()})}check$data(w=f.nil,T=f.nil){if(!this.$data)return;const{gen:A,schemaCode:B,schemaType:H,def:J}=this;A.if((0,f.or)((0,f._)`${B} === undefined`,T)),w!==f.nil&&A.assign(w,!0),(H.length||J.validateSchema)&&(A.elseIf(this.invalid$data()),this.$dataError(),w!==f.nil&&A.assign(w,!1)),A.else()}invalid$data(){const{gen:w,schemaCode:T,schemaType:A,def:B,it:H}=this;return(0,f.or)(J(),ce());function J(){if(A.length){if(!(T instanceof f.Name))throw new Error("ajv implementation error");const ue=Array.isArray(A)?A:[A];return(0,f._)`${(0,s.checkDataTypes)(ue,T,H.opts.strictNumbers,s.DataType.Wrong)}`}return f.nil}function ce(){if(B.validateSchema){const ue=w.scopeValue("validate$data",{ref:B.validateSchema});return(0,f._)`!${ue}(${T})`}return f.nil}}subschema(w,T){const A=(0,l.getSubschema)(this.it,w);(0,l.extendSubschemaData)(A,this.it,w),(0,l.extendSubschemaMode)(A,w);const B={...this.it,...A,items:void 0,props:void 0};return v(B,T),B}mergeEvaluated(w,T){const{it:A,gen:B}=this;A.opts.unevaluated&&(A.props!==!0&&w.props!==void 0&&(A.props=m.mergeEvaluated.props(B,w.props,A.props,T)),A.items!==!0&&w.items!==void 0&&(A.items=m.mergeEvaluated.items(B,w.items,A.items,T)))}mergeValidEvaluated(w,T){const{it:A,gen:B}=this;if(A.opts.unevaluated&&(A.props!==!0||A.items!==!0))return B.if(T,()=>this.mergeEvaluated(w,f.Name)),!0}}hn.KeywordCxt=q;function j(z,w,T,A){const B=new q(z,T,w);"code"in T?T.code(B,A):B.$data&&T.validate?(0,u.funcKeywordCode)(B,T):"macro"in T?(0,u.macroKeywordCode)(B,T):(T.compile||T.validate)&&(0,u.funcKeywordCode)(B,T)}const G=/^\/(?:[^~]|~0|~1)*$/,ee=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function ae(z,{dataLevel:w,dataNames:T,dataPathArr:A}){let B,H;if(z==="")return h.default.rootData;if(z[0]==="/"){if(!G.test(z))throw new Error(`Invalid JSON-pointer: ${z}`);B=z,H=h.default.rootData}else{const oe=ee.exec(z);if(!oe)throw new Error(`Invalid JSON-pointer: ${z}`);const Q=+oe[1];if(B=oe[2],B==="#"){if(Q>=w)throw new Error(ue("property/index",Q));return A[w-Q]}if(Q>w)throw new Error(ue("data",Q));if(H=T[w-Q],!B)return H}let J=H;const ce=B.split("/");for(const oe of ce)oe&&(H=(0,f._)`${H}${(0,f.getProperty)((0,m.unescapeJsonPointer)(oe))}`,J=(0,f._)`${J} && ${H}`);return J;function ue(oe,Q){return`Cannot access ${oe} ${Q} levels up, current level is ${w}`}}return hn.getData=ae,hn}var Fr={},ul;function Za(){if(ul)return Fr;ul=1,Object.defineProperty(Fr,"__esModule",{value:!0});class t extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}}return Fr.default=t,Fr}var Vr={},cl;function ro(){if(cl)return Vr;cl=1,Object.defineProperty(Vr,"__esModule",{value:!0});const t=no();class n extends Error{constructor(s,a,u,l){super(l||`can't resolve reference ${u} from id ${a}`),this.missingRef=(0,t.resolveUrl)(s,a,u),this.missingSchema=(0,t.normalizeId)((0,t.getFullPath)(s,this.missingRef))}}return Vr.default=n,Vr}var Et={},ll;function Fa(){if(ll)return Et;ll=1,Object.defineProperty(Et,"__esModule",{value:!0}),Et.resolveSchema=Et.getCompilingSchema=Et.resolveRef=Et.compileSchema=Et.SchemaEnv=void 0;const t=Oe(),n=Za(),r=zn(),s=no(),a=De(),u=io();class l{constructor(P){var p;this.refs={},this.dynamicAnchors={};let v;typeof P.schema=="object"&&(v=P.schema),this.schema=P.schema,this.schemaId=P.schemaId,this.root=P.root||this,this.baseId=(p=P.baseId)!==null&&p!==void 0?p:(0,s.normalizeId)(v==null?void 0:v[P.schemaId||"$id"]),this.schemaPath=P.schemaPath,this.localRefs=P.localRefs,this.meta=P.meta,this.$async=v==null?void 0:v.$async,this.refs={}}}Et.SchemaEnv=l;function f(b){const P=m.call(this,b);if(P)return P;const p=(0,s.getFullPath)(this.opts.uriResolver,b.root.baseId),{es5:v,lines:C}=this.opts.code,{ownProperties:O}=this.opts,k=new t.CodeGen(this.scope,{es5:v,lines:C,ownProperties:O});let I;b.$async&&(I=k.scopeValue("Error",{ref:n.default,code:(0,t._)`require("ajv/dist/runtime/validation_error").default`}));const V=k.scopeName("validate");b.validateName=V;const W={gen:k,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[t.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:k.scopeValue("schema",this.opts.code.source===!0?{ref:b.schema,code:(0,t.stringify)(b.schema)}:{ref:b.schema}),validateName:V,ValidationError:I,schema:b.schema,schemaEnv:b,rootId:p,baseId:b.baseId||p,schemaPath:t.nil,errSchemaPath:b.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,t._)`""`,opts:this.opts,self:this};let se;try{this._compilations.add(b),(0,u.validateFunctionCode)(W),k.optimize(this.opts.code.optimize);const ie=k.toString();se=`${k.scopeRefs(r.default.scope)}return ${ie}`,this.opts.code.process&&(se=this.opts.code.process(se,b));const fe=new Function(`${r.default.self}`,`${r.default.scope}`,se)(this,this.scope.get());if(this.scope.value(V,{ref:fe}),fe.errors=null,fe.schema=b.schema,fe.schemaEnv=b,b.$async&&(fe.$async=!0),this.opts.code.source===!0&&(fe.source={validateName:V,validateCode:ie,scopeValues:k._values}),this.opts.unevaluated){const{props:me,items:Ie}=W;fe.evaluated={props:me instanceof t.Name?void 0:me,items:Ie instanceof t.Name?void 0:Ie,dynamicProps:me instanceof t.Name,dynamicItems:Ie instanceof t.Name},fe.source&&(fe.source.evaluated=(0,t.stringify)(fe.evaluated))}return b.validate=fe,b}catch(ie){throw delete b.validate,delete b.validateName,se&&this.logger.error("Error compiling schema, function code:",se),ie}finally{this._compilations.delete(b)}}Et.compileSchema=f;function h(b,P,p){var v;p=(0,s.resolveUrl)(this.opts.uriResolver,P,p);const C=b.refs[p];if(C)return C;let O=y.call(this,b,p);if(O===void 0){const k=(v=b.localRefs)===null||v===void 0?void 0:v[p],{schemaId:I}=this.opts;k&&(O=new l({schema:k,schemaId:I,root:b,baseId:P}))}if(O!==void 0)return b.refs[p]=_.call(this,O)}Et.resolveRef=h;function _(b){return(0,s.inlineRef)(b.schema,this.opts.inlineRefs)?b.schema:b.validate?b:f.call(this,b)}function m(b){for(const P of this._compilations)if(g(P,b))return P}Et.getCompilingSchema=m;function g(b,P){return b.schema===P.schema&&b.root===P.root&&b.baseId===P.baseId}function y(b,P){let p;for(;typeof(p=this.refs[P])=="string";)P=p;return p||this.schemas[P]||E.call(this,b,P)}function E(b,P){const p=this.opts.uriResolver.parse(P),v=(0,s._getFullPath)(this.opts.uriResolver,p);let C=(0,s.getFullPath)(this.opts.uriResolver,b.baseId,void 0);if(Object.keys(b.schema).length>0&&v===C)return x.call(this,p,b);const O=(0,s.normalizeId)(v),k=this.refs[O]||this.schemas[O];if(typeof k=="string"){const I=E.call(this,b,k);return typeof(I==null?void 0:I.schema)!="object"?void 0:x.call(this,p,I)}if(typeof(k==null?void 0:k.schema)=="object"){if(k.validate||f.call(this,k),O===(0,s.normalizeId)(P)){const{schema:I}=k,{schemaId:V}=this.opts,W=I[V];return W&&(C=(0,s.resolveUrl)(this.opts.uriResolver,C,W)),new l({schema:I,schemaId:V,root:b,baseId:C})}return x.call(this,p,k)}}Et.resolveSchema=E;const $=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function x(b,{baseId:P,schema:p,root:v}){var C;if(((C=b.fragment)===null||C===void 0?void 0:C[0])!=="/")return;for(const I of b.fragment.slice(1).split("/")){if(typeof p=="boolean")return;const V=p[(0,a.unescapeFragment)(I)];if(V===void 0)return;p=V;const W=typeof p=="object"&&p[this.opts.schemaId];!$.has(I)&&W&&(P=(0,s.resolveUrl)(this.opts.uriResolver,P,W))}let O;if(typeof p!="boolean"&&p.$ref&&!(0,a.schemaHasRulesButRef)(p,this.RULES)){const I=(0,s.resolveUrl)(this.opts.uriResolver,P,p.$ref);O=E.call(this,v,I)}const{schemaId:k}=this.opts;if(O=O||new l({schema:p,schemaId:k,root:v,baseId:P}),O.schema!==O.root.schema)return O}return Et}const Yg="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Xg="Meta-schema for $data reference (JSON AnySchema extension proposal)",Qg="object",ev=["$data"],tv={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},nv=!1,iv={$id:Yg,description:Xg,type:Qg,required:ev,properties:tv,additionalProperties:nv};var Hr={},Gi={exports:{}},ia,fl;function rv(){return fl||(fl=1,ia={HEX:{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}}),ia}var ra,hl;function sv(){if(hl)return ra;hl=1;const{HEX:t}=rv();function n($){if(l($,".")<3)return{host:$,isIPV4:!1};const x=$.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)||[],[b]=x;return b?{host:u(b,"."),isIPV4:!0}:{host:$,isIPV4:!1}}function r($,x=!1){let b="",P=!0;for(const p of $){if(t[p]===void 0)return;p!=="0"&&P===!0&&(P=!1),P||(b+=p)}return x&&b.length===0&&(b="0"),b}function s($){let x=0;const b={error:!1,address:"",zone:""},P=[],p=[];let v=!1,C=!1,O=!1;function k(){if(p.length){if(v===!1){const I=r(p);if(I!==void 0)P.push(I);else return b.error=!0,!1}p.length=0}return!0}for(let I=0;I<$.length;I++){const V=$[I];if(!(V==="["||V==="]"))if(V===":"){if(C===!0&&(O=!0),!k())break;if(x++,P.push(":"),x>7){b.error=!0;break}I-1>=0&&$[I-1]===":"&&(C=!0);continue}else if(V==="%"){if(!k())break;v=!0}else{p.push(V);continue}}return p.length&&(v?b.zone=p.join(""):O?P.push(p.join("")):P.push(r(p))),b.address=P.join(""),b}function a($,x={}){if(l($,":")<2)return{host:$,isIPV6:!1};const b=s($);if(b.error)return{host:$,isIPV6:!1};{let P=b.address,p=b.address;return b.zone&&(P+="%"+b.zone,p+="%25"+b.zone),{host:P,escapedHost:p,isIPV6:!0}}}function u($,x){let b="",P=!0;const p=$.length;for(let v=0;v/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(P)));function y(b){let P=0;for(let p=0,v=b.length;p126||g[P])return!0;return!1}const E=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function $(b,P){const p=Object.assign({},P),v={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},C=b.indexOf("%")!==-1;let O=!1;p.reference==="suffix"&&(b=(p.scheme?p.scheme+":":"")+"//"+b);const k=b.match(E);if(k){if(v.scheme=k[1],v.userinfo=k[3],v.host=k[4],v.port=parseInt(k[5],10),v.path=k[6]||"",v.query=k[7],v.fragment=k[8],isNaN(v.port)&&(v.port=k[5]),v.host){const V=n(v.host);if(V.isIPV4===!1){const W=t(V.host,{isIPV4:!1});v.host=W.host.toLowerCase(),O=W.isIPV6}else v.host=V.host,O=!0}v.scheme===void 0&&v.userinfo===void 0&&v.host===void 0&&v.port===void 0&&!v.path&&v.query===void 0?v.reference="same-document":v.scheme===void 0?v.reference="relative":v.fragment===void 0?v.reference="absolute":v.reference="uri",p.reference&&p.reference!=="suffix"&&p.reference!==v.reference&&(v.error=v.error||"URI is not a "+p.reference+" reference.");const I=u[(p.scheme||v.scheme||"").toLowerCase()];if(!p.unicodeSupport&&(!I||!I.unicodeSupport)&&v.host&&(p.domainHost||I&&I.domainHost)&&O===!1&&y(v.host))try{v.host=URL.domainToASCII(v.host.toLowerCase())}catch(V){v.error=v.error||"Host's domain name can not be converted to ASCII: "+V}(!I||I&&!I.skipNormalize)&&(C&&v.scheme!==void 0&&(v.scheme=unescape(v.scheme)),C&&v.userinfo!==void 0&&(v.userinfo=unescape(v.userinfo)),C&&v.host!==void 0&&(v.host=unescape(v.host)),v.path!==void 0&&v.path.length&&(v.path=escape(unescape(v.path))),v.fragment!==void 0&&v.fragment.length&&(v.fragment=encodeURI(decodeURIComponent(v.fragment)))),I&&I.parse&&I.parse(v,p)}else v.error=v.error||"URI can not be parsed.";return v}const x={SCHEMES:u,normalize:l,resolve:f,resolveComponents:h,equal:_,serialize:m,parse:$};return Gi.exports=x,Gi.exports.default=x,Gi.exports.fastUri=x,Gi.exports}var ml;function uv(){if(ml)return Hr;ml=1,Object.defineProperty(Hr,"__esModule",{value:!0});const t=av();return t.code='require("ajv/dist/runtime/uri").default',Hr.default=t,Hr}var _l;function cv(){return _l||(_l=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var n=io();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return n.KeywordCxt}});var r=Oe();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const s=Za(),a=ro(),u=Hh(),l=Fa(),f=Oe(),h=no(),_=zs(),m=De(),g=iv,y=uv(),E=(K,D)=>new RegExp(K,D);E.code="new RegExp";const $=["removeAdditional","useDefaults","coerceTypes"],x=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),b={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."},P={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},p=200;function v(K){var D,Y,Z,R,M,q,j,G,ee,ae,z,w,T,A,B,H,J,ce,ue,oe,Q,_e,le,ge,ye;const Ee=K.strict,Ne=(D=K.code)===null||D===void 0?void 0:D.optimize,Ae=Ne===!0||Ne===void 0?1:Ne||0,at=(Z=(Y=K.code)===null||Y===void 0?void 0:Y.regExp)!==null&&Z!==void 0?Z:E,ot=(R=K.uriResolver)!==null&&R!==void 0?R:y.default;return{strictSchema:(q=(M=K.strictSchema)!==null&&M!==void 0?M:Ee)!==null&&q!==void 0?q:!0,strictNumbers:(G=(j=K.strictNumbers)!==null&&j!==void 0?j:Ee)!==null&&G!==void 0?G:!0,strictTypes:(ae=(ee=K.strictTypes)!==null&&ee!==void 0?ee:Ee)!==null&&ae!==void 0?ae:"log",strictTuples:(w=(z=K.strictTuples)!==null&&z!==void 0?z:Ee)!==null&&w!==void 0?w:"log",strictRequired:(A=(T=K.strictRequired)!==null&&T!==void 0?T:Ee)!==null&&A!==void 0?A:!1,code:K.code?{...K.code,optimize:Ae,regExp:at}:{optimize:Ae,regExp:at},loopRequired:(B=K.loopRequired)!==null&&B!==void 0?B:p,loopEnum:(H=K.loopEnum)!==null&&H!==void 0?H:p,meta:(J=K.meta)!==null&&J!==void 0?J:!0,messages:(ce=K.messages)!==null&&ce!==void 0?ce:!0,inlineRefs:(ue=K.inlineRefs)!==null&&ue!==void 0?ue:!0,schemaId:(oe=K.schemaId)!==null&&oe!==void 0?oe:"$id",addUsedSchema:(Q=K.addUsedSchema)!==null&&Q!==void 0?Q:!0,validateSchema:(_e=K.validateSchema)!==null&&_e!==void 0?_e:!0,validateFormats:(le=K.validateFormats)!==null&&le!==void 0?le:!0,unicodeRegExp:(ge=K.unicodeRegExp)!==null&&ge!==void 0?ge:!0,int32range:(ye=K.int32range)!==null&&ye!==void 0?ye:!0,uriResolver:ot}}class C{constructor(D={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,D=this.opts={...D,...v(D)};const{es5:Y,lines:Z}=this.opts.code;this.scope=new f.ValueScope({scope:{},prefixes:x,es5:Y,lines:Z}),this.logger=X(D.logger);const R=D.validateFormats;D.validateFormats=!1,this.RULES=(0,u.getRules)(),O.call(this,b,D,"NOT SUPPORTED"),O.call(this,P,D,"DEPRECATED","warn"),this._metaOpts=se.call(this),D.formats&&V.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),D.keywords&&W.call(this,D.keywords),typeof D.meta=="object"&&this.addMetaSchema(D.meta),I.call(this),D.validateFormats=R}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:D,meta:Y,schemaId:Z}=this.opts;let R=g;Z==="id"&&(R={...g},R.id=R.$id,delete R.$id),Y&&D&&this.addMetaSchema(R,R[Z],!1)}defaultMeta(){const{meta:D,schemaId:Y}=this.opts;return this.opts.defaultMeta=typeof D=="object"?D[Y]||D:void 0}validate(D,Y){let Z;if(typeof D=="string"){if(Z=this.getSchema(D),!Z)throw new Error(`no schema with key or ref "${D}"`)}else Z=this.compile(D);const R=Z(Y);return"$async"in Z||(this.errors=Z.errors),R}compile(D,Y){const Z=this._addSchema(D,Y);return Z.validate||this._compileSchemaEnv(Z)}compileAsync(D,Y){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:Z}=this.opts;return R.call(this,D,Y);async function R(ae,z){await M.call(this,ae.$schema);const w=this._addSchema(ae,z);return w.validate||q.call(this,w)}async function M(ae){ae&&!this.getSchema(ae)&&await R.call(this,{$ref:ae},!0)}async function q(ae){try{return this._compileSchemaEnv(ae)}catch(z){if(!(z instanceof a.default))throw z;return j.call(this,z),await G.call(this,z.missingSchema),q.call(this,ae)}}function j({missingSchema:ae,missingRef:z}){if(this.refs[ae])throw new Error(`AnySchema ${ae} is loaded but ${z} cannot be resolved`)}async function G(ae){const z=await ee.call(this,ae);this.refs[ae]||await M.call(this,z.$schema),this.refs[ae]||this.addSchema(z,ae,Y)}async function ee(ae){const z=this._loading[ae];if(z)return z;try{return await(this._loading[ae]=Z(ae))}finally{delete this._loading[ae]}}}addSchema(D,Y,Z,R=this.opts.validateSchema){if(Array.isArray(D)){for(const q of D)this.addSchema(q,void 0,Z,R);return this}let M;if(typeof D=="object"){const{schemaId:q}=this.opts;if(M=D[q],M!==void 0&&typeof M!="string")throw new Error(`schema ${q} must be string`)}return Y=(0,h.normalizeId)(Y||M),this._checkUnique(Y),this.schemas[Y]=this._addSchema(D,Z,Y,R,!0),this}addMetaSchema(D,Y,Z=this.opts.validateSchema){return this.addSchema(D,Y,!0,Z),this}validateSchema(D,Y){if(typeof D=="boolean")return!0;let Z;if(Z=D.$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 R=this.validate(Z,D);if(!R&&Y){const M="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(M);else throw new Error(M)}return R}getSchema(D){let Y;for(;typeof(Y=k.call(this,D))=="string";)D=Y;if(Y===void 0){const{schemaId:Z}=this.opts,R=new l.SchemaEnv({schema:{},schemaId:Z});if(Y=l.resolveSchema.call(this,R,D),!Y)return;this.refs[D]=Y}return Y.validate||this._compileSchemaEnv(Y)}removeSchema(D){if(D instanceof RegExp)return this._removeAllSchemas(this.schemas,D),this._removeAllSchemas(this.refs,D),this;switch(typeof D){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const Y=k.call(this,D);return typeof Y=="object"&&this._cache.delete(Y.schema),delete this.schemas[D],delete this.refs[D],this}case"object":{const Y=D;this._cache.delete(Y);let Z=D[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(D){for(const Y of D)this.addKeyword(Y);return this}addKeyword(D,Y){let Z;if(typeof D=="string")Z=D,typeof Y=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),Y.keyword=Z);else if(typeof D=="object"&&Y===void 0){if(Y=D,Z=Y.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(me.call(this,Z,Y),!Y)return(0,m.eachItem)(Z,M=>Ie.call(this,M)),this;$e.call(this,Y);const R={...Y,type:(0,_.getJSONTypes)(Y.type),schemaType:(0,_.getJSONTypes)(Y.schemaType)};return(0,m.eachItem)(Z,R.type.length===0?M=>Ie.call(this,M,R):M=>R.type.forEach(q=>Ie.call(this,M,R,q))),this}getKeyword(D){const Y=this.RULES.all[D];return typeof Y=="object"?Y.definition:!!Y}removeKeyword(D){const{RULES:Y}=this;delete Y.keywords[D],delete Y.all[D];for(const Z of Y.rules){const R=Z.rules.findIndex(M=>M.keyword===D);R>=0&&Z.rules.splice(R,1)}return this}addFormat(D,Y){return typeof Y=="string"&&(Y=new RegExp(Y)),this.formats[D]=Y,this}errorsText(D=this.errors,{separator:Y=", ",dataVar:Z="data"}={}){return!D||D.length===0?"No errors":D.map(R=>`${Z}${R.instancePath} ${R.message}`).reduce((R,M)=>R+Y+M)}$dataMetaSchema(D,Y){const Z=this.RULES.all;D=JSON.parse(JSON.stringify(D));for(const R of Y){const M=R.split("/").slice(1);let q=D;for(const j of M)q=q[j];for(const j in Z){const G=Z[j];if(typeof G!="object")continue;const{$data:ee}=G.definition,ae=q[j];ee&&ae&&(q[j]=et(ae))}}return D}_removeAllSchemas(D,Y){for(const Z in D){const R=D[Z];(!Y||Y.test(Z))&&(typeof R=="string"?delete D[Z]:R&&!R.meta&&(this._cache.delete(R.schema),delete D[Z]))}}_addSchema(D,Y,Z,R=this.opts.validateSchema,M=this.opts.addUsedSchema){let q;const{schemaId:j}=this.opts;if(typeof D=="object")q=D[j];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof D!="boolean")throw new Error("schema must be object or boolean")}let G=this._cache.get(D);if(G!==void 0)return G;Z=(0,h.normalizeId)(q||Z);const ee=h.getSchemaRefs.call(this,D,Z);return G=new l.SchemaEnv({schema:D,schemaId:j,meta:Y,baseId:Z,localRefs:ee}),this._cache.set(G.schema,G),M&&!Z.startsWith("#")&&(Z&&this._checkUnique(Z),this.refs[Z]=G),R&&this.validateSchema(D,!0),G}_checkUnique(D){if(this.schemas[D]||this.refs[D])throw new Error(`schema with key or id "${D}" already exists`)}_compileSchemaEnv(D){if(D.meta?this._compileMetaSchema(D):l.compileSchema.call(this,D),!D.validate)throw new Error("ajv implementation error");return D.validate}_compileMetaSchema(D){const Y=this.opts;this.opts=this._metaOpts;try{l.compileSchema.call(this,D)}finally{this.opts=Y}}}C.ValidationError=s.default,C.MissingRefError=a.default,t.default=C;function O(K,D,Y,Z="error"){for(const R in K){const M=R;M in D&&this.logger[Z](`${Y}: option ${R}. ${K[M]}`)}}function k(K){return K=(0,h.normalizeId)(K),this.schemas[K]||this.refs[K]}function I(){const K=this.opts.schemas;if(K)if(Array.isArray(K))this.addSchema(K);else for(const D in K)this.addSchema(K[D],D)}function V(){for(const K in this.opts.formats){const D=this.opts.formats[K];D&&this.addFormat(K,D)}}function W(K){if(Array.isArray(K)){this.addVocabulary(K);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const D in K){const Y=K[D];Y.keyword||(Y.keyword=D),this.addKeyword(Y)}}function se(){const K={...this.opts};for(const D of $)delete K[D];return K}const ie={log(){},warn(){},error(){}};function X(K){if(K===!1)return ie;if(K===void 0)return console;if(K.log&&K.warn&&K.error)return K;throw new Error("logger must implement log, warn and error methods")}const fe=/^[a-z_$][a-z0-9_$:-]*$/i;function me(K,D){const{RULES:Y}=this;if((0,m.eachItem)(K,Z=>{if(Y.keywords[Z])throw new Error(`Keyword ${Z} is already defined`);if(!fe.test(Z))throw new Error(`Keyword ${Z} has invalid name`)}),!!D&&D.$data&&!("code"in D||"validate"in D))throw new Error('$data keyword must have "code" or "validate" function')}function Ie(K,D,Y){var Z;const R=D==null?void 0:D.post;if(Y&&R)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:M}=this;let q=R?M.post:M.rules.find(({type:G})=>G===Y);if(q||(q={type:Y,rules:[]},M.rules.push(q)),M.keywords[K]=!0,!D)return;const j={keyword:K,definition:{...D,type:(0,_.getJSONTypes)(D.type),schemaType:(0,_.getJSONTypes)(D.schemaType)}};D.before?Se.call(this,q,j,D.before):q.rules.push(j),M.all[K]=j,(Z=D.implements)===null||Z===void 0||Z.forEach(G=>this.addKeyword(G))}function Se(K,D,Y){const Z=K.rules.findIndex(R=>R.keyword===Y);Z>=0?K.rules.splice(Z,0,D):(K.rules.push(D),this.logger.warn(`rule ${Y} is not defined`))}function $e(K){let{metaSchema:D}=K;D!==void 0&&(K.$data&&this.opts.$data&&(D=et(D)),K.validateSchema=this.compile(D,!0))}const re={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function et(K){return{anyOf:[K,re]}}}(Jo)),Jo}var Ur={},Kr={},Wr={},gl;function lv(){if(gl)return Wr;gl=1,Object.defineProperty(Wr,"__esModule",{value:!0});const t={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return Wr.default=t,Wr}var Rn={},vl;function fv(){if(vl)return Rn;vl=1,Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.callRef=Rn.getValidate=void 0;const t=ro(),n=Ut(),r=Oe(),s=zn(),a=Fa(),u=De(),l={keyword:"$ref",schemaType:"string",code(_){const{gen:m,schema:g,it:y}=_,{baseId:E,schemaEnv:$,validateName:x,opts:b,self:P}=y,{root:p}=$;if((g==="#"||g==="#/")&&E===p.baseId)return C();const v=a.resolveRef.call(P,p,E,g);if(v===void 0)throw new t.default(y.opts.uriResolver,E,g);if(v instanceof a.SchemaEnv)return O(v);return k(v);function C(){if($===p)return h(_,x,$,$.$async);const I=m.scopeValue("root",{ref:p});return h(_,(0,r._)`${I}.validate`,p,p.$async)}function O(I){const V=f(_,I);h(_,V,I,I.$async)}function k(I){const V=m.scopeValue("schema",b.code.source===!0?{ref:I,code:(0,r.stringify)(I)}:{ref:I}),W=m.name("valid"),se=_.subschema({schema:I,dataTypes:[],schemaPath:r.nil,topSchemaRef:V,errSchemaPath:g},W);_.mergeEvaluated(se),_.ok(W)}}};function f(_,m){const{gen:g}=_;return m.validate?g.scopeValue("validate",{ref:m.validate}):(0,r._)`${g.scopeValue("wrapper",{ref:m})}.validate`}Rn.getValidate=f;function h(_,m,g,y){const{gen:E,it:$}=_,{allErrors:x,schemaEnv:b,opts:P}=$,p=P.passContext?s.default.this:r.nil;y?v():C();function v(){if(!b.$async)throw new Error("async schema referenced by sync schema");const I=E.let("valid");E.try(()=>{E.code((0,r._)`await ${(0,n.callValidateCode)(_,m,p)}`),k(m),x||E.assign(I,!0)},V=>{E.if((0,r._)`!(${V} instanceof ${$.ValidationError})`,()=>E.throw(V)),O(V),x||E.assign(I,!1)}),_.ok(I)}function C(){_.result((0,n.callValidateCode)(_,m,p),()=>k(m),()=>O(m))}function O(I){const V=(0,r._)`${I}.errors`;E.assign(s.default.vErrors,(0,r._)`${s.default.vErrors} === null ? ${V} : ${s.default.vErrors}.concat(${V})`),E.assign(s.default.errors,(0,r._)`${s.default.vErrors}.length`)}function k(I){var V;if(!$.opts.unevaluated)return;const W=(V=g==null?void 0:g.validate)===null||V===void 0?void 0:V.evaluated;if($.props!==!0)if(W&&!W.dynamicProps)W.props!==void 0&&($.props=u.mergeEvaluated.props(E,W.props,$.props));else{const se=E.var("props",(0,r._)`${I}.evaluated.props`);$.props=u.mergeEvaluated.props(E,se,$.props,r.Name)}if($.items!==!0)if(W&&!W.dynamicItems)W.items!==void 0&&($.items=u.mergeEvaluated.items(E,W.items,$.items));else{const se=E.var("items",(0,r._)`${I}.evaluated.items`);$.items=u.mergeEvaluated.items(E,se,$.items,r.Name)}}}return Rn.callRef=h,Rn.default=l,Rn}var yl;function hv(){if(yl)return Kr;yl=1,Object.defineProperty(Kr,"__esModule",{value:!0});const t=lv(),n=fv(),r=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",t.default,n.default];return Kr.default=r,Kr}var Gr={},Jr={},wl;function dv(){if(wl)return Jr;wl=1,Object.defineProperty(Jr,"__esModule",{value:!0});const t=Oe(),n=t.operators,r={maximum:{okStr:"<=",ok:n.LTE,fail:n.GT},minimum:{okStr:">=",ok:n.GTE,fail:n.LT},exclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},exclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}},s={message:({keyword:u,schemaCode:l})=>(0,t.str)`must be ${r[u].okStr} ${l}`,params:({keyword:u,schemaCode:l})=>(0,t._)`{comparison: ${r[u].okStr}, limit: ${l}}`},a={keyword:Object.keys(r),type:"number",schemaType:"number",$data:!0,error:s,code(u){const{keyword:l,data:f,schemaCode:h}=u;u.fail$data((0,t._)`${f} ${r[l].fail} ${h} || isNaN(${f})`)}};return Jr.default=a,Jr}var Yr={},bl;function pv(){if(bl)return Yr;bl=1,Object.defineProperty(Yr,"__esModule",{value:!0});const t=Oe(),r={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:s})=>(0,t.str)`must be multiple of ${s}`,params:({schemaCode:s})=>(0,t._)`{multipleOf: ${s}}`},code(s){const{gen:a,data:u,schemaCode:l,it:f}=s,h=f.opts.multipleOfPrecision,_=a.let("res"),m=h?(0,t._)`Math.abs(Math.round(${_}) - ${_}) > 1e-${h}`:(0,t._)`${_} !== parseInt(${_})`;s.fail$data((0,t._)`(${l} === 0 || (${_} = ${u}/${l}, ${m}))`)}};return Yr.default=r,Yr}var Xr={},Qr={},Pl;function mv(){if(Pl)return Qr;Pl=1,Object.defineProperty(Qr,"__esModule",{value:!0});function t(n){const r=n.length;let s=0,a=0,u;for(;a=55296&&u<=56319&&a(0,t._)`{limit: ${u}}`},code(u){const{keyword:l,data:f,schemaCode:h,it:_}=u,m=l==="maxLength"?t.operators.GT:t.operators.LT,g=_.opts.unicode===!1?(0,t._)`${f}.length`:(0,t._)`${(0,n.useFunc)(u.gen,r.default)}(${f})`;u.fail$data((0,t._)`${g} ${m} ${h}`)}};return Xr.default=a,Xr}var es={},$l;function gv(){if($l)return es;$l=1,Object.defineProperty(es,"__esModule",{value:!0});const t=Ut(),n=Oe(),s={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:a})=>(0,n.str)`must match pattern "${a}"`,params:({schemaCode:a})=>(0,n._)`{pattern: ${a}}`},code(a){const{data:u,$data:l,schema:f,schemaCode:h,it:_}=a,m=_.opts.unicodeRegExp?"u":"",g=l?(0,n._)`(new RegExp(${h}, ${m}))`:(0,t.usePattern)(a,f);a.fail$data((0,n._)`!${g}.test(${u})`)}};return es.default=s,es}var ts={},El;function vv(){if(El)return ts;El=1,Object.defineProperty(ts,"__esModule",{value:!0});const t=Oe(),r={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:s,schemaCode:a}){const u=s==="maxProperties"?"more":"fewer";return(0,t.str)`must NOT have ${u} than ${a} properties`},params:({schemaCode:s})=>(0,t._)`{limit: ${s}}`},code(s){const{keyword:a,data:u,schemaCode:l}=s,f=a==="maxProperties"?t.operators.GT:t.operators.LT;s.fail$data((0,t._)`Object.keys(${u}).length ${f} ${l}`)}};return ts.default=r,ts}var ns={},Tl;function yv(){if(Tl)return ns;Tl=1,Object.defineProperty(ns,"__esModule",{value:!0});const t=Ut(),n=Oe(),r=De(),a={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:u}})=>(0,n.str)`must have required property '${u}'`,params:({params:{missingProperty:u}})=>(0,n._)`{missingProperty: ${u}}`},code(u){const{gen:l,schema:f,schemaCode:h,data:_,$data:m,it:g}=u,{opts:y}=g;if(!m&&f.length===0)return;const E=f.length>=y.loopRequired;if(g.allErrors?$():x(),y.strictRequired){const p=u.parentSchema.properties,{definedProperties:v}=u.it;for(const C of f)if((p==null?void 0:p[C])===void 0&&!v.has(C)){const O=g.schemaEnv.baseId+g.errSchemaPath,k=`required property "${C}" is not defined at "${O}" (strictRequired)`;(0,r.checkStrictMode)(g,k,g.opts.strictRequired)}}function $(){if(E||m)u.block$data(n.nil,b);else for(const p of f)(0,t.checkReportMissingProp)(u,p)}function x(){const p=l.let("missing");if(E||m){const v=l.let("valid",!0);u.block$data(v,()=>P(p,v)),u.ok(v)}else l.if((0,t.checkMissingProp)(u,f,p)),(0,t.reportMissingProp)(u,p),l.else()}function b(){l.forOf("prop",h,p=>{u.setParams({missingProperty:p}),l.if((0,t.noPropertyInData)(l,_,p,y.ownProperties),()=>u.error())})}function P(p,v){u.setParams({missingProperty:p}),l.forOf(p,h,()=>{l.assign(v,(0,t.propertyInData)(l,_,p,y.ownProperties)),l.if((0,n.not)(v),()=>{u.error(),l.break()})},n.nil)}}};return ns.default=a,ns}var is={},Cl;function wv(){if(Cl)return is;Cl=1,Object.defineProperty(is,"__esModule",{value:!0});const t=Oe(),r={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:s,schemaCode:a}){const u=s==="maxItems"?"more":"fewer";return(0,t.str)`must NOT have ${u} than ${a} items`},params:({schemaCode:s})=>(0,t._)`{limit: ${s}}`},code(s){const{keyword:a,data:u,schemaCode:l}=s,f=a==="maxItems"?t.operators.GT:t.operators.LT;s.fail$data((0,t._)`${u}.length ${f} ${l}`)}};return is.default=r,is}var rs={},ss={},Rl;function Va(){if(Rl)return ss;Rl=1,Object.defineProperty(ss,"__esModule",{value:!0});const t=Kh();return t.code='require("ajv/dist/runtime/equal").default',ss.default=t,ss}var Ll;function bv(){if(Ll)return rs;Ll=1,Object.defineProperty(rs,"__esModule",{value:!0});const t=zs(),n=Oe(),r=De(),s=Va(),u={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:l,j:f}})=>(0,n.str)`must NOT have duplicate items (items ## ${f} and ${l} are identical)`,params:({params:{i:l,j:f}})=>(0,n._)`{i: ${l}, j: ${f}}`},code(l){const{gen:f,data:h,$data:_,schema:m,parentSchema:g,schemaCode:y,it:E}=l;if(!_&&!m)return;const $=f.let("valid"),x=g.items?(0,t.getSchemaTypes)(g.items):[];l.block$data($,b,(0,n._)`${y} === false`),l.ok($);function b(){const C=f.let("i",(0,n._)`${h}.length`),O=f.let("j");l.setParams({i:C,j:O}),f.assign($,!0),f.if((0,n._)`${C} > 1`,()=>(P()?p:v)(C,O))}function P(){return x.length>0&&!x.some(C=>C==="object"||C==="array")}function p(C,O){const k=f.name("item"),I=(0,t.checkDataTypes)(x,k,E.opts.strictNumbers,t.DataType.Wrong),V=f.const("indices",(0,n._)`{}`);f.for((0,n._)`;${C}--;`,()=>{f.let(k,(0,n._)`${h}[${C}]`),f.if(I,(0,n._)`continue`),x.length>1&&f.if((0,n._)`typeof ${k} == "string"`,(0,n._)`${k} += "_"`),f.if((0,n._)`typeof ${V}[${k}] == "number"`,()=>{f.assign(O,(0,n._)`${V}[${k}]`),l.error(),f.assign($,!1).break()}).code((0,n._)`${V}[${k}] = ${C}`)})}function v(C,O){const k=(0,r.useFunc)(f,s.default),I=f.name("outer");f.label(I).for((0,n._)`;${C}--;`,()=>f.for((0,n._)`${O} = ${C}; ${O}--;`,()=>f.if((0,n._)`${k}(${h}[${C}], ${h}[${O}])`,()=>{l.error(),f.assign($,!1).break(I)})))}}};return rs.default=u,rs}var os={},xl;function Pv(){if(xl)return os;xl=1,Object.defineProperty(os,"__esModule",{value:!0});const t=Oe(),n=De(),r=Va(),a={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:u})=>(0,t._)`{allowedValue: ${u}}`},code(u){const{gen:l,data:f,$data:h,schemaCode:_,schema:m}=u;h||m&&typeof m=="object"?u.fail$data((0,t._)`!${(0,n.useFunc)(l,r.default)}(${f}, ${_})`):u.fail((0,t._)`${m} !== ${f}`)}};return os.default=a,os}var as={},kl;function Sv(){if(kl)return as;kl=1,Object.defineProperty(as,"__esModule",{value:!0});const t=Oe(),n=De(),r=Va(),a={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:u})=>(0,t._)`{allowedValues: ${u}}`},code(u){const{gen:l,data:f,$data:h,schema:_,schemaCode:m,it:g}=u;if(!h&&_.length===0)throw new Error("enum must have non-empty array");const y=_.length>=g.opts.loopEnum;let E;const $=()=>E??(E=(0,n.useFunc)(l,r.default));let x;if(y||h)x=l.let("valid"),u.block$data(x,b);else{if(!Array.isArray(_))throw new Error("ajv implementation error");const p=l.const("vSchema",m);x=(0,t.or)(..._.map((v,C)=>P(p,C)))}u.pass(x);function b(){l.assign(x,!1),l.forOf("v",m,p=>l.if((0,t._)`${$()}(${f}, ${p})`,()=>l.assign(x,!0).break()))}function P(p,v){const C=_[v];return typeof C=="object"&&C!==null?(0,t._)`${$()}(${f}, ${p}[${v}])`:(0,t._)`${f} === ${C}`}}};return as.default=a,as}var Ol;function $v(){if(Ol)return Gr;Ol=1,Object.defineProperty(Gr,"__esModule",{value:!0});const t=dv(),n=pv(),r=_v(),s=gv(),a=vv(),u=yv(),l=wv(),f=bv(),h=Pv(),_=Sv(),m=[t.default,n.default,r.default,s.default,a.default,u.default,l.default,f.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},h.default,_.default];return Gr.default=m,Gr}var us={},mi={},Al;function Wh(){if(Al)return mi;Al=1,Object.defineProperty(mi,"__esModule",{value:!0}),mi.validateAdditionalItems=void 0;const t=Oe(),n=De(),s={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:u}})=>(0,t.str)`must NOT have more than ${u} items`,params:({params:{len:u}})=>(0,t._)`{limit: ${u}}`},code(u){const{parentSchema:l,it:f}=u,{items:h}=l;if(!Array.isArray(h)){(0,n.checkStrictMode)(f,'"additionalItems" is ignored when "items" is not an array of schemas');return}a(u,h)}};function a(u,l){const{gen:f,schema:h,data:_,keyword:m,it:g}=u;g.items=!0;const y=f.const("len",(0,t._)`${_}.length`);if(h===!1)u.setParams({len:l.length}),u.pass((0,t._)`${y} <= ${l.length}`);else if(typeof h=="object"&&!(0,n.alwaysValidSchema)(g,h)){const $=f.var("valid",(0,t._)`${y} <= ${l.length}`);f.if((0,t.not)($),()=>E($)),u.ok($)}function E($){f.forRange("i",l.length,y,x=>{u.subschema({keyword:m,dataProp:x,dataPropType:n.Type.Num},$),g.allErrors||f.if((0,t.not)($),()=>f.break())})}}return mi.validateAdditionalItems=a,mi.default=s,mi}var cs={},_i={},Il;function Gh(){if(Il)return _i;Il=1,Object.defineProperty(_i,"__esModule",{value:!0}),_i.validateTuple=void 0;const t=Oe(),n=De(),r=Ut(),s={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(u){const{schema:l,it:f}=u;if(Array.isArray(l))return a(u,"additionalItems",l);f.items=!0,!(0,n.alwaysValidSchema)(f,l)&&u.ok((0,r.validateArray)(u))}};function a(u,l,f=u.schema){const{gen:h,parentSchema:_,data:m,keyword:g,it:y}=u;x(_),y.opts.unevaluated&&f.length&&y.items!==!0&&(y.items=n.mergeEvaluated.items(h,f.length,y.items));const E=h.name("valid"),$=h.const("len",(0,t._)`${m}.length`);f.forEach((b,P)=>{(0,n.alwaysValidSchema)(y,b)||(h.if((0,t._)`${$} > ${P}`,()=>u.subschema({keyword:g,schemaProp:P,dataProp:P},E)),u.ok(E))});function x(b){const{opts:P,errSchemaPath:p}=y,v=f.length,C=v===b.minItems&&(v===b.maxItems||b[l]===!1);if(P.strictTuples&&!C){const O=`"${g}" is ${v}-tuple, but minItems or maxItems/${l} are not specified or different at path "${p}"`;(0,n.checkStrictMode)(y,O,P.strictTuples)}}}return _i.validateTuple=a,_i.default=s,_i}var Ml;function Ev(){if(Ml)return cs;Ml=1,Object.defineProperty(cs,"__esModule",{value:!0});const t=Gh(),n={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:r=>(0,t.validateTuple)(r,"items")};return cs.default=n,cs}var ls={},Nl;function Tv(){if(Nl)return ls;Nl=1,Object.defineProperty(ls,"__esModule",{value:!0});const t=Oe(),n=De(),r=Ut(),s=Wh(),u={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:l}})=>(0,t.str)`must NOT have more than ${l} items`,params:({params:{len:l}})=>(0,t._)`{limit: ${l}}`},code(l){const{schema:f,parentSchema:h,it:_}=l,{prefixItems:m}=h;_.items=!0,!(0,n.alwaysValidSchema)(_,f)&&(m?(0,s.validateAdditionalItems)(l,m):l.ok((0,r.validateArray)(l)))}};return ls.default=u,ls}var fs={},zl;function Cv(){if(zl)return fs;zl=1,Object.defineProperty(fs,"__esModule",{value:!0});const t=Oe(),n=De(),s={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:a,max:u}})=>u===void 0?(0,t.str)`must contain at least ${a} valid item(s)`:(0,t.str)`must contain at least ${a} and no more than ${u} valid item(s)`,params:({params:{min:a,max:u}})=>u===void 0?(0,t._)`{minContains: ${a}}`:(0,t._)`{minContains: ${a}, maxContains: ${u}}`},code(a){const{gen:u,schema:l,parentSchema:f,data:h,it:_}=a;let m,g;const{minContains:y,maxContains:E}=f;_.opts.next?(m=y===void 0?1:y,g=E):m=1;const $=u.const("len",(0,t._)`${h}.length`);if(a.setParams({min:m,max:g}),g===void 0&&m===0){(0,n.checkStrictMode)(_,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(g!==void 0&&m>g){(0,n.checkStrictMode)(_,'"minContains" > "maxContains" is always invalid'),a.fail();return}if((0,n.alwaysValidSchema)(_,l)){let v=(0,t._)`${$} >= ${m}`;g!==void 0&&(v=(0,t._)`${v} && ${$} <= ${g}`),a.pass(v);return}_.items=!0;const x=u.name("valid");g===void 0&&m===1?P(x,()=>u.if(x,()=>u.break())):m===0?(u.let(x,!0),g!==void 0&&u.if((0,t._)`${h}.length > 0`,b)):(u.let(x,!1),b()),a.result(x,()=>a.reset());function b(){const v=u.name("_valid"),C=u.let("count",0);P(v,()=>u.if(v,()=>p(C)))}function P(v,C){u.forRange("i",0,$,O=>{a.subschema({keyword:"contains",dataProp:O,dataPropType:n.Type.Num,compositeRule:!0},v),C()})}function p(v){u.code((0,t._)`${v}++`),g===void 0?u.if((0,t._)`${v} >= ${m}`,()=>u.assign(x,!0).break()):(u.if((0,t._)`${v} > ${g}`,()=>u.assign(x,!1).break()),m===1?u.assign(x,!0):u.if((0,t._)`${v} >= ${m}`,()=>u.assign(x,!0)))}}};return fs.default=s,fs}var oa={},Dl;function Rv(){return Dl||(Dl=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const n=Oe(),r=De(),s=Ut();t.error={message:({params:{property:h,depsCount:_,deps:m}})=>{const g=_===1?"property":"properties";return(0,n.str)`must have ${g} ${m} when property ${h} is present`},params:({params:{property:h,depsCount:_,deps:m,missingProperty:g}})=>(0,n._)`{property: ${h}, missingProperty: ${g}, depsCount: ${_}, - deps: ${m}}`};const a={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(h){const[_,m]=u(h);l(h,_),f(h,m)}};function u({schema:h}){const _={},m={};for(const g in h){if(g==="__proto__")continue;const y=Array.isArray(h[g])?_:m;y[g]=h[g]}return[_,m]}function l(h,_=h.schema){const{gen:m,data:g,it:y}=h;if(Object.keys(_).length===0)return;const E=m.let("missing");for(const $ in _){const x=_[$];if(x.length===0)continue;const b=(0,s.propertyInData)(m,g,$,y.opts.ownProperties);h.setParams({property:$,depsCount:x.length,deps:x.join(", ")}),y.allErrors?m.if(b,()=>{for(const P of x)(0,s.checkReportMissingProp)(h,P)}):(m.if((0,n._)`${b} && (${(0,s.checkMissingProp)(h,x,E)})`),(0,s.reportMissingProp)(h,E),m.else())}}t.validatePropertyDeps=l;function f(h,_=h.schema){const{gen:m,data:g,keyword:y,it:E}=h,$=m.name("valid");for(const x in _)(0,r.alwaysValidSchema)(E,_[x])||(m.if((0,s.propertyInData)(m,g,x,E.opts.ownProperties),()=>{const b=h.subschema({keyword:y,schemaProp:x},$);h.mergeValidEvaluated(b,$)},()=>m.var($,!0)),h.ok($))}t.validateSchemaDeps=f,t.default=a}(oa)),oa}var hs={},jl;function Lv(){if(jl)return hs;jl=1,Object.defineProperty(hs,"__esModule",{value:!0});const t=Oe(),n=De(),s={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:a})=>(0,t._)`{propertyName: ${a.propertyName}}`},code(a){const{gen:u,schema:l,data:f,it:h}=a;if((0,n.alwaysValidSchema)(h,l))return;const _=u.name("valid");u.forIn("key",f,m=>{a.setParams({propertyName:m}),a.subschema({keyword:"propertyNames",data:m,dataTypes:["string"],propertyName:m,compositeRule:!0},_),u.if((0,t.not)(_),()=>{a.error(!0),h.allErrors||u.break()})}),a.ok(_)}};return hs.default=s,hs}var ds={},Bl;function Jh(){if(Bl)return ds;Bl=1,Object.defineProperty(ds,"__esModule",{value:!0});const t=Ut(),n=Oe(),r=zn(),s=De(),u={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:l})=>(0,n._)`{additionalProperty: ${l.additionalProperty}}`},code(l){const{gen:f,schema:h,parentSchema:_,data:m,errsCount:g,it:y}=l;if(!g)throw new Error("ajv implementation error");const{allErrors:E,opts:$}=y;if(y.props=!0,$.removeAdditional!=="all"&&(0,s.alwaysValidSchema)(y,h))return;const x=(0,t.allSchemaProperties)(_.properties),b=(0,t.allSchemaProperties)(_.patternProperties);P(),l.ok((0,n._)`${g} === ${r.default.errors}`);function P(){f.forIn("key",m,k=>{!x.length&&!b.length?C(k):f.if(p(k),()=>C(k))})}function p(k){let I;if(x.length>8){const V=(0,s.schemaRefOrVal)(y,_.properties,"properties");I=(0,t.isOwnProperty)(f,V,k)}else x.length?I=(0,n.or)(...x.map(V=>(0,n._)`${k} === ${V}`)):I=n.nil;return b.length&&(I=(0,n.or)(I,...b.map(V=>(0,n._)`${(0,t.usePattern)(l,V)}.test(${k})`))),(0,n.not)(I)}function v(k){f.code((0,n._)`delete ${m}[${k}]`)}function C(k){if($.removeAdditional==="all"||$.removeAdditional&&h===!1){v(k);return}if(h===!1){l.setParams({additionalProperty:k}),l.error(),E||f.break();return}if(typeof h=="object"&&!(0,s.alwaysValidSchema)(y,h)){const I=f.name("valid");$.removeAdditional==="failing"?(O(k,I,!1),f.if((0,n.not)(I),()=>{l.reset(),v(k)})):(O(k,I),E||f.if((0,n.not)(I),()=>f.break()))}}function O(k,I,V){const W={keyword:"additionalProperties",dataProp:k,dataPropType:s.Type.Str};V===!1&&Object.assign(W,{compositeRule:!0,createErrors:!1,allErrors:!1}),l.subschema(W,I)}}};return ds.default=u,ds}var ps={},ql;function xv(){if(ql)return ps;ql=1,Object.defineProperty(ps,"__esModule",{value:!0});const t=io(),n=Ut(),r=De(),s=Jh(),a={keyword:"properties",type:"object",schemaType:"object",code(u){const{gen:l,schema:f,parentSchema:h,data:_,it:m}=u;m.opts.removeAdditional==="all"&&h.additionalProperties===void 0&&s.default.code(new t.KeywordCxt(m,s.default,"additionalProperties"));const g=(0,n.allSchemaProperties)(f);for(const b of g)m.definedProperties.add(b);m.opts.unevaluated&&g.length&&m.props!==!0&&(m.props=r.mergeEvaluated.props(l,(0,r.toHash)(g),m.props));const y=g.filter(b=>!(0,r.alwaysValidSchema)(m,f[b]));if(y.length===0)return;const E=l.name("valid");for(const b of y)$(b)?x(b):(l.if((0,n.propertyInData)(l,_,b,m.opts.ownProperties)),x(b),m.allErrors||l.else().var(E,!0),l.endIf()),u.it.definedProperties.add(b),u.ok(E);function $(b){return m.opts.useDefaults&&!m.compositeRule&&f[b].default!==void 0}function x(b){u.subschema({keyword:"properties",schemaProp:b,dataProp:b},E)}}};return ps.default=a,ps}var ms={},Zl;function kv(){if(Zl)return ms;Zl=1,Object.defineProperty(ms,"__esModule",{value:!0});const t=Ut(),n=Oe(),r=De(),s=De(),a={keyword:"patternProperties",type:"object",schemaType:"object",code(u){const{gen:l,schema:f,data:h,parentSchema:_,it:m}=u,{opts:g}=m,y=(0,t.allSchemaProperties)(f),E=y.filter(C=>(0,r.alwaysValidSchema)(m,f[C]));if(y.length===0||E.length===y.length&&(!m.opts.unevaluated||m.props===!0))return;const $=g.strictSchema&&!g.allowMatchingProperties&&_.properties,x=l.name("valid");m.props!==!0&&!(m.props instanceof n.Name)&&(m.props=(0,s.evaluatedPropsToName)(l,m.props));const{props:b}=m;P();function P(){for(const C of y)$&&p(C),m.allErrors?v(C):(l.var(x,!0),v(C),l.if(x))}function p(C){for(const O in $)new RegExp(C).test(O)&&(0,r.checkStrictMode)(m,`property ${O} matches pattern ${C} (use allowMatchingProperties)`)}function v(C){l.forIn("key",h,O=>{l.if((0,n._)`${(0,t.usePattern)(u,C)}.test(${O})`,()=>{const k=E.includes(C);k||u.subschema({keyword:"patternProperties",schemaProp:C,dataProp:O,dataPropType:s.Type.Str},x),m.opts.unevaluated&&b!==!0?l.assign((0,n._)`${b}[${O}]`,!0):!k&&!m.allErrors&&l.if((0,n.not)(x),()=>l.break())})})}}};return ms.default=a,ms}var _s={},Fl;function Ov(){if(Fl)return _s;Fl=1,Object.defineProperty(_s,"__esModule",{value:!0});const t=De(),n={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(r){const{gen:s,schema:a,it:u}=r;if((0,t.alwaysValidSchema)(u,a)){r.fail();return}const l=s.name("valid");r.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},l),r.failResult(l,()=>r.reset(),()=>r.error())},error:{message:"must NOT be valid"}};return _s.default=n,_s}var gs={},Vl;function Av(){if(Vl)return gs;Vl=1,Object.defineProperty(gs,"__esModule",{value:!0});const n={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Ut().validateUnion,error:{message:"must match a schema in anyOf"}};return gs.default=n,gs}var vs={},Hl;function Iv(){if(Hl)return vs;Hl=1,Object.defineProperty(vs,"__esModule",{value:!0});const t=Oe(),n=De(),s={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:a})=>(0,t._)`{passingSchemas: ${a.passing}}`},code(a){const{gen:u,schema:l,parentSchema:f,it:h}=a;if(!Array.isArray(l))throw new Error("ajv implementation error");if(h.opts.discriminator&&f.discriminator)return;const _=l,m=u.let("valid",!1),g=u.let("passing",null),y=u.name("_valid");a.setParams({passing:g}),u.block(E),a.result(m,()=>a.reset(),()=>a.error(!0));function E(){_.forEach(($,x)=>{let b;(0,n.alwaysValidSchema)(h,$)?u.var(y,!0):b=a.subschema({keyword:"oneOf",schemaProp:x,compositeRule:!0},y),x>0&&u.if((0,t._)`${y} && ${m}`).assign(m,!1).assign(g,(0,t._)`[${g}, ${x}]`).else(),u.if(y,()=>{u.assign(m,!0),u.assign(g,x),b&&a.mergeEvaluated(b,t.Name)})})}}};return vs.default=s,vs}var ys={},Ul;function Mv(){if(Ul)return ys;Ul=1,Object.defineProperty(ys,"__esModule",{value:!0});const t=De(),n={keyword:"allOf",schemaType:"array",code(r){const{gen:s,schema:a,it:u}=r;if(!Array.isArray(a))throw new Error("ajv implementation error");const l=s.name("valid");a.forEach((f,h)=>{if((0,t.alwaysValidSchema)(u,f))return;const _=r.subschema({keyword:"allOf",schemaProp:h},l);r.ok(l),r.mergeEvaluated(_)})}};return ys.default=n,ys}var ws={},Kl;function Nv(){if(Kl)return ws;Kl=1,Object.defineProperty(ws,"__esModule",{value:!0});const t=Oe(),n=De(),s={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:u})=>(0,t.str)`must match "${u.ifClause}" schema`,params:({params:u})=>(0,t._)`{failingKeyword: ${u.ifClause}}`},code(u){const{gen:l,parentSchema:f,it:h}=u;f.then===void 0&&f.else===void 0&&(0,n.checkStrictMode)(h,'"if" without "then" and "else" is ignored');const _=a(h,"then"),m=a(h,"else");if(!_&&!m)return;const g=l.let("valid",!0),y=l.name("_valid");if(E(),u.reset(),_&&m){const x=l.let("ifClause");u.setParams({ifClause:x}),l.if(y,$("then",x),$("else",x))}else _?l.if(y,$("then")):l.if((0,t.not)(y),$("else"));u.pass(g,()=>u.error(!0));function E(){const x=u.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},y);u.mergeEvaluated(x)}function $(x,b){return()=>{const P=u.subschema({keyword:x},y);l.assign(g,y),u.mergeValidEvaluated(P,g),b?l.assign(b,(0,t._)`${x}`):u.setParams({ifClause:x})}}}};function a(u,l){const f=u.schema[l];return f!==void 0&&!(0,n.alwaysValidSchema)(u,f)}return ws.default=s,ws}var bs={},Wl;function zv(){if(Wl)return bs;Wl=1,Object.defineProperty(bs,"__esModule",{value:!0});const t=De(),n={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:r,parentSchema:s,it:a}){s.if===void 0&&(0,t.checkStrictMode)(a,`"${r}" without "if" is ignored`)}};return bs.default=n,bs}var Gl;function Dv(){if(Gl)return us;Gl=1,Object.defineProperty(us,"__esModule",{value:!0});const t=Wh(),n=Ev(),r=Gh(),s=Tv(),a=Cv(),u=Rv(),l=Lv(),f=Jh(),h=xv(),_=kv(),m=Ov(),g=Av(),y=Iv(),E=Mv(),$=Nv(),x=zv();function b(P=!1){const p=[m.default,g.default,y.default,E.default,$.default,x.default,l.default,f.default,u.default,h.default,_.default];return P?p.push(n.default,s.default):p.push(t.default,r.default),p.push(a.default),p}return us.default=b,us}var Ps={},Ss={},Jl;function jv(){if(Jl)return Ss;Jl=1,Object.defineProperty(Ss,"__esModule",{value:!0});const t=Oe(),r={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:s})=>(0,t.str)`must match format "${s}"`,params:({schemaCode:s})=>(0,t._)`{format: ${s}}`},code(s,a){const{gen:u,data:l,$data:f,schema:h,schemaCode:_,it:m}=s,{opts:g,errSchemaPath:y,schemaEnv:E,self:$}=m;if(!g.validateFormats)return;f?x():b();function x(){const P=u.scopeValue("formats",{ref:$.formats,code:g.code.formats}),p=u.const("fDef",(0,t._)`${P}[${_}]`),v=u.let("fType"),C=u.let("format");u.if((0,t._)`typeof ${p} == "object" && !(${p} instanceof RegExp)`,()=>u.assign(v,(0,t._)`${p}.type || "string"`).assign(C,(0,t._)`${p}.validate`),()=>u.assign(v,(0,t._)`"string"`).assign(C,p)),s.fail$data((0,t.or)(O(),k()));function O(){return g.strictSchema===!1?t.nil:(0,t._)`${_} && !${C}`}function k(){const I=E.$async?(0,t._)`(${p}.async ? await ${C}(${l}) : ${C}(${l}))`:(0,t._)`${C}(${l})`,V=(0,t._)`(typeof ${C} == "function" ? ${I} : ${C}.test(${l}))`;return(0,t._)`${C} && ${C} !== true && ${v} === ${a} && !${V}`}}function b(){const P=$.formats[h];if(!P){O();return}if(P===!0)return;const[p,v,C]=k(P);p===a&&s.pass(I());function O(){if(g.strictSchema===!1){$.logger.warn(V());return}throw new Error(V());function V(){return`unknown format "${h}" ignored in schema at path "${y}"`}}function k(V){const W=V instanceof RegExp?(0,t.regexpCode)(V):g.code.formats?(0,t._)`${g.code.formats}${(0,t.getProperty)(h)}`:void 0,se=u.scopeValue("formats",{key:h,ref:V,code:W});return typeof V=="object"&&!(V instanceof RegExp)?[V.type||"string",V.validate,(0,t._)`${se}.validate`]:["string",V,se]}function I(){if(typeof P=="object"&&!(P instanceof RegExp)&&P.async){if(!E.$async)throw new Error("async format in sync schema");return(0,t._)`await ${C}(${l})`}return typeof v=="function"?(0,t._)`${C}(${l})`:(0,t._)`${C}.test(${l})`}}}};return Ss.default=r,Ss}var Yl;function Bv(){if(Yl)return Ps;Yl=1,Object.defineProperty(Ps,"__esModule",{value:!0});const n=[jv().default];return Ps.default=n,Ps}var Gn={},Xl;function qv(){return Xl||(Xl=1,Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.contentVocabulary=Gn.metadataVocabulary=void 0,Gn.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],Gn.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),Gn}var Ql;function Zv(){if(Ql)return Ur;Ql=1,Object.defineProperty(Ur,"__esModule",{value:!0});const t=hv(),n=$v(),r=Dv(),s=Bv(),a=qv(),u=[t.default,n.default,(0,r.default)(),s.default,a.metadataVocabulary,a.contentVocabulary];return Ur.default=u,Ur}var $s={},Ji={},ef;function Fv(){if(ef)return Ji;ef=1,Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.DiscrError=void 0;var t;return function(n){n.Tag="tag",n.Mapping="mapping"}(t||(Ji.DiscrError=t={})),Ji}var tf;function Vv(){if(tf)return $s;tf=1,Object.defineProperty($s,"__esModule",{value:!0});const t=Oe(),n=Fv(),r=Fa(),s=ro(),a=De(),l={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:f,tagName:h}})=>f===n.DiscrError.Tag?`tag "${h}" must be string`:`value of tag "${h}" must be in oneOf`,params:({params:{discrError:f,tag:h,tagName:_}})=>(0,t._)`{error: ${f}, tag: ${_}, tagValue: ${h}}`},code(f){const{gen:h,data:_,schema:m,parentSchema:g,it:y}=f,{oneOf:E}=g;if(!y.opts.discriminator)throw new Error("discriminator: requires discriminator option");const $=m.propertyName;if(typeof $!="string")throw new Error("discriminator: requires propertyName");if(m.mapping)throw new Error("discriminator: mapping is not supported");if(!E)throw new Error("discriminator: requires oneOf keyword");const x=h.let("valid",!1),b=h.const("tag",(0,t._)`${_}${(0,t.getProperty)($)}`);h.if((0,t._)`typeof ${b} == "string"`,()=>P(),()=>f.error(!1,{discrError:n.DiscrError.Tag,tag:b,tagName:$})),f.ok(x);function P(){const C=v();h.if(!1);for(const O in C)h.elseIf((0,t._)`${b} === ${O}`),h.assign(x,p(C[O]));h.else(),f.error(!1,{discrError:n.DiscrError.Mapping,tag:b,tagName:$}),h.endIf()}function p(C){const O=h.name("valid"),k=f.subschema({keyword:"oneOf",schemaProp:C},O);return f.mergeEvaluated(k,t.Name),O}function v(){var C;const O={},k=V(g);let I=!0;for(let ne=0;nethis.addVocabulary($)),this.opts.discriminator&&this.addKeyword(a.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const $=this.opts.$data?this.$dataMetaSchema(u,l):u;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,t.exports=n=h,t.exports.Ajv=h,Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var _=io();Object.defineProperty(n,"KeywordCxt",{enumerable:!0,get:function(){return _.KeywordCxt}});var m=Oe();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 g=Za();Object.defineProperty(n,"ValidationError",{enumerable:!0,get:function(){return g.default}});var y=ro();Object.defineProperty(n,"MissingRefError",{enumerable:!0,get:function(){return y.default}})}(qr,qr.exports)),qr.exports}var Qv=Xv();const ey=Vh(Qv),Oi=new ey({coerceTypes:!0}),ty={type:"object",properties:{Name:{type:"string"},remoteServerId:{type:"string",nullable:!0}},required:["Name"],additionalProperties:!0},ny=Oi.compile(ty),iy={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},Yh=Oi.compile(iy),ry={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"]};Oi.compile(ry);const sy={type:"object",properties:{Name:{type:"string"}},required:["Name"],additionalProperties:!0};Oi.compile(sy);const oy={type:"object",properties:{arches_resource_id:{type:"string"},arches_tileid:{type:"string"},id:{type:"string"},name:{type:"string"},note:{type:"string"},url:{type:"string"}},required:["arches_resource_id","arches_tileid","id","name","note","url"],additionalProperties:!0},ay=Oi.compile(oy);var vn=(t=>(t.ARTWORK="Artwork",t.ARTIST="Artist",t.STRUCTURE="Structure",t.PHOTOGRAPHER="Photographer",t))(vn||{});const uy={type:"object",properties:{Location:{type:"object",properties:{Address:{type:"string"},Coordinates:{type:"string",nullable:!0}},required:["Address"]}},required:["Location"],additionalProperties:!0};Oi.compile(uy);const ti=(t,n,r,s)=>{if(s.graphIdToNameTable[t.graph_id]==="Artwork"){const l=n.find(f=>f.resourceinstance_id===t.resourceinstanceid);return(l==null?void 0:l.data[s.imageNodeId])??void 0}const a=r.find(l=>l.resourceinstanceidto_id===t.resourceinstanceid&&l.resourceinstancefrom_graphid_id===s.nameToGraphIdTable.Artwork);if(!a)return;const u=n.find(l=>l.resourceinstance_id===a.resourceinstanceidfrom_id);return(u==null?void 0:u.data[s.imageNodeId])??void 0},cy=(t,n,r,s)=>{if(s.graphIdToNameTable[t.graph_id]!=="Artist")return;const a=r.filter(f=>f.resourceinstanceidto_id===t.resourceinstanceid&&f.resourceinstancefrom_graphid_id===s.nameToGraphIdTable.Artwork);if(!a)return;const u=a.map(f=>f.resourceinstanceidfrom_id);return n.filter(f=>u.includes(f.resourceinstanceid))??void 0},Ci=(t,n,r,s)=>{const a=r.find(l=>l.resourceinstanceidfrom_id===t.resourceinstanceid&&l.resourceinstanceto_graphid_id===s.nameToGraphIdTable.Artist);return a?n==null?void 0:n.find(l=>l.resourceinstanceid===a.resourceinstanceidto_id):void 0},ly=t=>t.split("|"),fy={class:"search-result"},hy={class:"metadata"},dy={class:"title-wrapper"},py={class:"title"},my={key:0,class:"artist-credit h3-sub"},_y=["src"],gy=["src"],vy=Ge({__name:"SearchListItem",props:{resourceName:{},resourceId:{},resourceDescription:{},resourceType:{},imageTileData:{},artist:{}},setup(t){const n=t,r=!0,s=n.imageTileData?"https://arches.arches-app-demo.opentechstrategies.com"+n.imageTileData[0].url:void 0;return(a,u)=>{const l=ki("RouterLink");return pe(s)!==void 0?(he(),Fe(l,{key:0,to:`/wac/resource/${n.resourceId}`,class:"search-item-container"},{default:rt(()=>{var f,h;return[ie("div",fy,[ie("div",hy,[ie("div",dy,[ie("h3",py,Nt(n.resourceName),1)]),n.resourceType==="Artwork"?(he(),we("h3",my,Nt((f=n.artist)!=null&&f.displayname?` by ${(h=n.artist)==null?void 0:h.displayname}`:""),1)):Ve("",!0)]),pe(s)?(he(),we("img",{key:0,class:"image",src:pe(s),alt:"thumbnail image"},null,8,_y)):(he(),we("img",{key:1,class:"image",src:pe(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png":"/noimage.png",alt:"no image available"},null,8,gy))])]}),_:1},8,["to"])):Ve("",!0)}}}),Lt=(t,n)=>{const r=t.__vccOpts||t;for(const[s,a]of n)r[s]=a;return r},Ri=Lt(vy,[["__scopeId","data-v-1a04ce61"]]),yy=["width","height"],so=Ge({__name:"ArtistsIcon",props:{width:{default:25},height:{default:27}},setup(t){const n=t;return(r,s)=>(he(),we("svg",{width:n.width,height:n.height,viewBox:"0 0 25 27",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s[0]||(s[0]=[ie("path",{d:"M22.7166 25.2728V22.6754C22.7166 21.2976 22.1693 19.9763 21.1951 19.0021C20.2209 18.0278 18.8995 17.4805 17.5218 17.4805H7.1321C5.75434 17.4805 4.43301 18.0278 3.45879 19.0021C2.48457 19.9763 1.93726 21.2976 1.93726 22.6754V25.2728M17.5218 7.09084C17.5218 9.95987 15.196 12.2857 12.3269 12.2857C9.45791 12.2857 7.1321 9.95987 7.1321 7.09084C7.1321 4.22181 9.45791 1.896 12.3269 1.896C15.196 1.896 17.5218 4.22181 17.5218 7.09084Z",stroke:"#1E1E1E","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]),8,yy))}}),wy=["width","height"],oo=Ge({__name:"ArtworksIcon",props:{width:{default:28},height:{default:27}},setup(t){const n=t;return(r,s)=>(he(),we("svg",{width:n.width,height:n.height,viewBox:"0 0 28 27",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s[0]||(s[0]=[ie("path",{d:"M4.93495 25.2728H23.1169C24.5514 25.2728 25.7143 24.1099 25.7143 22.6754V4.49342C25.7143 3.0589 24.5514 1.896 23.1169 1.896H4.93495C3.50043 1.896 2.33752 3.0589 2.33752 4.49342V22.6754C2.33752 24.1099 3.50043 25.2728 4.93495 25.2728ZM4.93495 25.2728L19.2208 10.987L25.7143 17.4805M11.4285 9.0389C11.4285 10.1148 10.5563 10.987 9.48043 10.987C8.40454 10.987 7.53237 10.1148 7.53237 9.0389C7.53237 7.96302 8.40454 7.09084 9.48043 7.09084C10.5563 7.09084 11.4285 7.96302 11.4285 9.0389Z",stroke:"#1E1E1E","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]),8,wy))}}),by={class:"search-list-container"},Py={class:"search-content-container"},Sy={key:0,class:"search-results-container"},$y={class:"search-results-header"},Ey={class:"search-results-header-title"},Ty={class:"search-results-landing"},Cy={key:0,class:"search-results-container"},Ry={class:"search-results-header"},Ly={class:"search-results-header-title"},xy={class:"search-results-landing"},ky={key:0,class:"search-results-container"},Oy={class:"search-results-header"},Ay={class:"search-results-header-title"},Iy={class:"search-results"},My=Ge({__name:"SearchList",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=Qs(),r=Je(null),s=t,a=s.resourcesPrefetch.filter(f=>s.idReferences.graphIdToNameTable[f.graph_id]==="Artwork").slice(0,4),u=s.resourcesPrefetch.filter(f=>s.idReferences.graphIdToNameTable[f.graph_id]==="Artist").reverse().slice(0,8),l=st(()=>s.resourcesPrefetch.filter(f=>{const h=f.descriptors.en.name.toLowerCase().includes(s.query.toLowerCase()),_=r.value?s.idReferences.graphIdToNameTable[f.graph_id]===r.value:!0;return h&&_}));return(f,h)=>(he(),we("div",by,[ie("div",Py,[ke(Ti,null,{default:rt(()=>[s.query===""&&r.value===null?(he(),we("div",Sy,[ie("div",$y,[ie("div",Ey,[ke(oo,{class:"search-results-header-icon"}),h[2]||(h[2]=ie("h1",null,"Artworks",-1))]),ie("button",{type:"button",class:"see-all-button",onClick:h[0]||(h[0]=_=>pe(n).push("/artworks"))}," SEE ALL ")]),ie("div",Ty,[(he(!0),we(Ye,null,nn(pe(a),_=>(he(),Fe(Ri,{key:_.resourceinstanceid,"resource-name":_.descriptors.en.name,"resource-description":_.descriptors.en.description,"resource-id":_.resourceinstanceid,"resource-type":s.idReferences.graphIdToNameTable[_.graph_id],"image-tile-data":pe(ti)(_,s.imagesPrefetch,s.resourceRelationsPrefetch,s.idReferences),artist:pe(Ci)(_,s.resourcesPrefetch,s.resourceRelationsPrefetch,s.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])])):Ve("",!0)]),_:1}),ke(Ti,null,{default:rt(()=>[s.query===""&&r.value===null?(he(),we("div",Cy,[ie("div",Ry,[ie("div",Ly,[ke(so,{class:"search-results-header-icon"}),h[3]||(h[3]=ie("h1",null,"Artists",-1))]),ie("button",{type:"button",class:"see-all-button",onClick:h[1]||(h[1]=_=>pe(n).push("/artists"))}," SEE ALL ")]),ie("div",xy,[(he(!0),we(Ye,null,nn(pe(u),_=>(he(),Fe(Ri,{key:_.resourceinstanceid,"resource-name":_.descriptors.en.name,"resource-description":_.descriptors.en.description,"resource-id":_.resourceinstanceid,"resource-type":s.idReferences.graphIdToNameTable[_.graph_id],"image-tile-data":pe(ti)(_,s.imagesPrefetch,s.resourceRelationsPrefetch,s.idReferences),artist:pe(Ci)(_,s.resourcesPrefetch,s.resourceRelationsPrefetch,s.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])])):Ve("",!0)]),_:1}),ke(Ti,null,{default:rt(()=>[s.query!==""&&r.value===null?(he(),we("div",ky,[ie("div",Oy,[ie("div",Ay,[ke(pe(Fh),{class:"search-results-header-icon"}),h[4]||(h[4]=ie("h1",null,"Search Results",-1))])]),ie("div",Iy,[(he(!0),we(Ye,null,nn(l.value,_=>(he(),Fe(Ri,{key:_.resourceinstanceid,"resource-name":_.descriptors.en.name,"resource-description":_.descriptors.en.description,"resource-id":_.resourceinstanceid,"resource-type":s.idReferences.graphIdToNameTable[_.graph_id],"image-tile-data":pe(ti)(_,s.imagesPrefetch,s.resourceRelationsPrefetch,s.idReferences),artist:pe(Ci)(_,s.resourcesPrefetch,s.resourceRelationsPrefetch,s.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])])):Ve("",!0)]),_:1})])]))}}),Ny=Lt(My,[["__scopeId","data-v-6c54917f"]]),zy=Ge({__name:"SearchView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=t;return(r,s)=>(he(),Fe(Ny,{"resource-relations-prefetch":n.resourceRelationsPrefetch,"images-prefetch":n.imagesPrefetch,"resources-prefetch":n.resourcesPrefetch,"id-references":n.idReferences,"route-query":n.routeQuery,query:r.query},null,8,["resource-relations-prefetch","images-prefetch","resources-prefetch","id-references","route-query","query"]))}}),Dy=Ge({__name:"ResourcePanelProvider",props:{id:{}},setup(t){const n=t,r=eo(),s=Je(),a=Je(),u=Je(!1);async function l(){try{const _=new URL(`https://arches.arches-app-demo.opentechstrategies.com/resources/${n.id}`),m=new URLSearchParams({format:"json"});_.search=m.toString();const y=await(await fetch(_.toString())).json();s.value=y}catch{s.value=void 0,u.value=!0}}async function f(){const _=new URL(`https://arches.arches-app-demo.opentechstrategies.com/resource/related/${n.id}`),m=await fetch(_.toString()).then(g=>g.json());a.value=m.related_resources.related_resources}async function h(){try{await l(),await f()}catch{u.value=!0}}return yn(()=>r.params.id,h,{immediate:!0}),(_,m)=>(he(),Fe(Ti,null,{default:rt(()=>[s.value&&a.value?Qn(_.$slots,"default",{key:0,resource:s.value,resourceRelations:a.value,error:u.value}):Ve("",!0)]),_:3}))}}),jy={},By={key:0,class:"resource-detail-more-by-artist"};function qy(t,n){return he(),we(Ye,null,[n[0]||(n[0]=ie("div",{class:"resource-detail-header"},null,-1)),Qn(t.$slots,"items",{},void 0,!0),t.$slots["more-by-artist"]?(he(),we("div",By,[Qn(t.$slots,"more-by-artist",{},void 0,!0)])):Ve("",!0),n[1]||(n[1]=ie("div",null,null,-1))],64)}const Zy=Lt(jy,[["render",qy],["__scopeId","data-v-70164744"]]),Fy={class:"resource-detail-item"},Vy={class:"resource-detail-item-header"},Hy={key:0,class:"resource-detail-item-title"},Uy={key:1,class:"resource-detail-item-byline"},Ky={key:0,class:"resource-detail-item-image"},Wy=["src"],Gy=["src"],Jy={key:1,class:"resource-detail-item-credit"},Yy={key:1,class:"resource-detail-item-description"},Xy=Ge({__name:"ResourceDetailItem",props:{imageUrl:{}},setup(t){const r=t,s=st(()=>r.imageUrl?ly(r.imageUrl).map(a=>"https://arches.arches-app-demo.opentechstrategies.com"+a.trim()):void 0);return(a,u)=>(he(),we("div",Fy,[ie("div",Vy,[a.$slots["item-header-title"]?(he(),we("div",Hy,[Qn(a.$slots,"item-header-title",{},void 0,!0)])):Ve("",!0),a.$slots["item-header-byline"]?(he(),we("div",Uy,[Qn(a.$slots,"item-header-byline",{},void 0,!0)])):Ve("",!0)]),s.value?(he(),we("figure",Ky,[(he(!0),we(Ye,null,nn(s.value,l=>(he(),we("img",{key:l,src:l,alt:"resource image"},null,8,Wy))),128)),s.value?Ve("",!0):(he(),we("img",{key:0,src:pe(!0)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png":"/noimage.png",alt:"no image available",loading:"lazy"},null,8,Gy)),a.$slots["item-credit"]?(he(),we("figcaption",Jy,[Qn(a.$slots,"item-credit",{},void 0,!0)])):Ve("",!0)])):Ve("",!0),a.$slots["item-description"]?(he(),we("div",Yy,[Qn(a.$slots,"item-description",{},void 0,!0)])):Ve("",!0)]))}}),Qy=Lt(Xy,[["__scopeId","data-v-e8a8e62b"]]),ew={key:0,class:"h2-sub"},tw={key:1,class:"h2-sub"},Xh=Ge({__name:"ArtworkDetailItem",props:{artwork:{},artworkId:{},panelResourceType:{},resourceRelations:{},idReferences:{}},setup(t){const n=Je(),r=Je(),s=Je(),a=t,{graphIdToNameTable:u}=a.idReferences;return yn(()=>a.resourceRelations,l=>{n.value=l.find(f=>u[f.graph_id]==="Photographer"),r.value=l.find(f=>u[f.graph_id]==="Structure"),s.value=l.find(f=>u[f.graph_id]==="Artist")},{immediate:!0}),(l,f)=>{var _;const h=ki("RouterLink");return a.panelResourceType!==void 0?(he(),Fe(Qy,{key:0,"image-url":(_=a.artwork.Photograph)==null?void 0:_.Image},rh({_:2},[a.panelResourceType!==pe(vn).ARTWORK?{name:"item-header-title",fn:rt(()=>[ke(h,{to:`/wac/resource/${a.artworkId}`,class:"resource-link"},{default:rt(()=>[rn(Nt(l.artwork.Title),1)]),_:1},8,["to"])]),key:"0"}:void 0,s.value&&r.value?{name:"item-header-byline",fn:rt(()=>[a.panelResourceType!==pe(vn).ARTIST?(he(),we("h2",ew,[f[0]||(f[0]=rn(" by ")),ke(h,{to:`/wac/resource/${s.value.resourceinstanceid}`,class:"resource-link"},{default:rt(()=>[rn(Nt(s.value.displayname),1)]),_:1},8,["to"])])):Ve("",!0),a.panelResourceType!==pe(vn).STRUCTURE?(he(),we("h2",tw," at "+Nt(r.value.displayname),1)):Ve("",!0)]),key:"1"}:void 0,a.artwork.Description&&a.panelResourceType===pe(vn).ARTWORK?{name:"item-description",fn:rt(()=>[ie("p",null,Nt(a.artwork.Description),1)]),key:"2"}:void 0]),1032,["image-url"])):Ve("",!0)}}}),aa=Ge({__name:"RelatedArtworkDetailItem",props:{relatedArtwork:{},idReferences:{},panelResourceType:{}},setup(t){const n=t,{graphIdToNameTable:r}=n.idReferences,s=Je(),a=Je();async function u(){const f=new URL(`https://arches.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 l(){const f=new URL(`https://arches.arches-app-demo.opentechstrategies.com/resource/related/${n.relatedArtwork.resourceinstanceid}`),h=await fetch(f.toString()).then(_=>_.json());a.value=h.related_resources.related_resources}return u(),l(),(f,h)=>{var _;return pe(Yh)((_=s.value)==null?void 0:_.resource)&&pe(r)[s.value.graph_id]==="Artwork"&&a.value&&s.value!==void 0?(he(),Fe(Xh,{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"])):Ve("",!0)}}}),nw=["src","alt"],iw=Ge({__name:"MoreArtworksByArtistItem",props:{artwork:{},imageTileData:{}},setup(t){const n=t,r=st(()=>{var a;return(a=n.imageTileData)!=null&&a.length?"https://arches.arches-app-demo.opentechstrategies.com"+n.imageTileData[0].url:void 0}),s=st(()=>"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png");return(a,u)=>{const l=ki("RouterLink");return he(),Fe(l,{to:`/wac/resource/${n.artwork.resourceinstanceid}`},{default:rt(()=>[ie("div",null,[ie("img",{class:"more-artwork-image",src:r.value||s.value,alt:r.value?"Thumbnail image":"No image available"},null,8,nw)])]),_:1},8,["to"])}}}),rw=Lt(iw,[["__scopeId","data-v-ba592a51"]]),sw={key:0},ow={key:0,class:"more-artworks-by-artist-title"},aw={class:"more-artworks-by-artist-gallery"},uw=Ge({__name:"MoreArtworksByArtist",props:{resource:{},resourcesPrefetch:{},resourceRelations:{},idReferences:{},resourceRelationsPrefetch:{},imagesPrefetch:{}},setup(t){const n=t,r=st(()=>n.resourceRelations.find(a=>n.idReferences.graphIdToNameTable[a.graph_id]==="Artist")),s=st(()=>{if(r.value)return cy(r.value,n.resourcesPrefetch,n.resourceRelationsPrefetch,n.idReferences)});return(a,u)=>{var f;const l=ki("RouterLink");return s.value&&s.value.length>1?(he(),we("div",sw,[r.value?(he(),we("div",ow,[u[0]||(u[0]=rn(" More artwork by ")),ke(l,{to:`/wac/resource/${r.value.resourceinstanceid}`,class:"resource-link"},{default:rt(()=>[rn(Nt(r.value.displayname),1)]),_:1},8,["to"])])):Ve("",!0),ie("div",aw,[(he(!0),we(Ye,null,nn((f=s.value)==null?void 0:f.filter(h=>{var _;return(h==null?void 0:h.resourceinstanceid)!==((_=n.resource)==null?void 0:_.resourceinstanceid)}),h=>(he(),Fe(rw,{key:h.resourceinstanceid,artwork:h,"image-tile-data":pe(ti)(h,n.imagesPrefetch,n.resourceRelationsPrefetch,n.idReferences)},null,8,["artwork","image-tile-data"]))),128))])])):Ve("",!0)}}}),cw=Lt(uw,[["__scopeId","data-v-1336561a"]]),lw={key:0,class:"artist-note"},fw=["href"],hw=Ge({__name:"ArtistNote",props:{artist:{}},setup(t){const n=t,r=Je();async function s(){const a=new URL(`https://king-prawn-app-mhl6o.ondigitalocean.app/artist/${n.artist.remoteServerId}`),u=await fetch(a.toString()).then(l=>l.json());r.value=u}return gr(async()=>{await s()}),(a,u)=>pe(ay)(r.value)?(he(),we("div",lw,[ie("p",null,[rn(Nt(r.value.note)+" ",1),ie("a",{href:r.value.url,target:"_blank",rel:"noopener noreferrer"},Nt(r.value.url),9,fw)])])):Ve("",!0)}}),dw=Lt(hw,[["__scopeId","data-v-b3e5f951"]]),pw={key:0,class:"resource-detail"},mw={class:"resource-detail-header"},_w={class:"resource-detail-title"},gw={type:"button",class:"back-button"},vw=Ge({__name:"ResourcePanel",props:{resource:{},resourceRelations:{},resourceRelationsPrefetch:{},imagesPrefetch:{},idReferences:{},resourcesPrefetch:{}},setup(t){const n=t,{graphIdToNameTable:r}=n.idReferences;return(s,a)=>{const u=ki("RouterLink");return n.resource?(he(),we("div",pw,[ie("div",mw,[ie("div",_w,[pe(r)[n.resource.graph_id]==="Artwork"?(he(),Fe(oo,{key:0,class:"resource-header-icon"})):Ve("",!0),pe(r)[n.resource.graph_id]==="Artist"?(he(),Fe(so,{key:1,class:"resource-header-icon"})):Ve("",!0),ie("h1",null,Nt(n.resource.displayname??""),1)]),ke(u,{to:"/",class:"resource-detail-back-button"},{default:rt(()=>[ie("button",gw,[ke(pe(Zh),{class:"back-button-icon"}),a[0]||(a[0]=rn(" BACK "))])]),_:1})]),pe(ny)(n.resource.resource)?(he(),Fe(dw,{key:0,artist:n.resource.resource},null,8,["artist"])):Ve("",!0),ke(Zy,null,rh({items:rt(()=>[pe(Yh)(n.resource.resource)&&pe(r)[n.resource.graph_id]==="Artwork"?(he(),Fe(Xh,{key:0,artwork:n.resource.resource,"artwork-id":n.resource.resourceinstanceid,"resource-relations":n.resourceRelations,"id-references":n.idReferences,"panel-resource-type":pe(vn).ARTWORK},null,8,["artwork","artwork-id","resource-relations","id-references","panel-resource-type"])):pe(r)[n.resource.graph_id]==="Artist"?(he(!0),we(Ye,{key:1},nn(s.resourceRelations.filter(l=>pe(r)[l.graph_id]==="Artwork"),l=>(he(),Fe(aa,{key:l.graph_id,"related-artwork":l,"id-references":n.idReferences,"panel-resource-type":pe(vn).ARTIST},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):pe(r)[n.resource.graph_id]==="Structure"?(he(!0),we(Ye,{key:2},nn(s.resourceRelations.filter(l=>pe(r)[l.graph_id]==="Artwork"),l=>(he(),Fe(aa,{key:l.resourceinstanceid,"related-artwork":l,"id-references":n.idReferences,"panel-resource-type":pe(vn).STRUCTURE},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):pe(r)[n.resource.graph_id]==="Photographer"?(he(!0),we(Ye,{key:3},nn(s.resourceRelations.filter(l=>pe(r)[l.graph_id]==="Artwork"),l=>(he(),Fe(aa,{key:l.root_ontology_class,"related-artwork":l,"id-references":n.idReferences,"panel-resource-type":pe(vn).PHOTOGRAPHER},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):Ve("",!0)]),_:2},[pe(r)[n.resource.graph_id]==="Artwork"?{name:"more-by-artist",fn:rt(()=>[ke(cw,{resource:n.resource,"resource-relations":s.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)])):Ve("",!0)}}}),yw=Lt(vw,[["__scopeId","data-v-d811d843"]]),ww={key:1},bw=Ge({__name:"ResourceDetailView",props:{resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{}},setup(t){const n=eo(),r=t;return(s,a)=>(he(),Fe(Dy,{id:pe(n).params.id},{default:rt(({resource:u,resourceRelations:l,error:f})=>[u&&l&&!f?(he(),Fe(yw,{key:0,resource:u,"resource-relations":l,"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?(he(),we("div",ww,[ie("p",null,"No Resource found with id "+Nt(pe(n).params.id),1)])):Ve("",!0)]),_:1},8,["id"]))}}),Pw={class:"search-results-container about padded-view"},Sw={class:"search-results-header about-title"},$w={class:"back-button-icon"},Ew={class:"credits"},Tw={class:"credit"},Cw={class:"welcome-credit",target:"_blank",rel:"noopener noreferrer",href:"https://opentechstrategies.com/"},Rw=["src"],Lw={class:"credit"},xw={class:"welcome-credit",target:"_blank",rel:"noopener noreferrer",href:"https://www.archesproject.org/"},kw=["src"],Ow=Ge({__name:"AboutView",setup(t){const n=Qs(),r=!0;return(s,a)=>(he(),we("div",Pw,[ie("div",Sw,[a[2]||(a[2]=ie("div",{class:"search-results-header-title"},[ie("h1",null,"WAC: A Visual Journey")],-1)),ie("button",{type:"button",class:"back-button",onClick:a[0]||(a[0]=u=>pe(n).push("/"))},[ie("div",$w,[ke(pe(Zh))]),a[1]||(a[1]=ie("span",null,"BACK",-1))])]),a[5]||(a[5]=Qm('

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.


See Columbia College's page about the Wabash Arts Corridor for more information.


About / Credit This site is a project of Open Tech Strategies, LLC. Our thanks to the artists and curators who created and continue to build the Wabash Arts Corridor in Chicago. Please write us at info@opentechstrategies.com to suggest changes or improvements to this site.


This site is free & open source software, based on the Arches heritage data management platform. See the application code, the data, and our data import scripts, and the underlying Arches server that this application pulls data from. Contributions welcome.


',1)),ie("div",Ew,[ie("div",Tw,[a[3]||(a[3]=ie("p",null,"Designed by",-1)),ie("a",Cw,[ie("img",{src:pe(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/ots_logo.png":"/ots_logo.png",alt:"no image available",loading:"lazy"},null,8,Rw)])]),ie("div",Lw,[a[4]||(a[4]=ie("p",null,"Powered by",-1)),ie("a",xw,[ie("img",{src:pe(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/arches_logo.png":"/arches_logo.png",alt:"no image available",loading:"lazy"},null,8,kw)])])])]))}}),Aw=Lt(Ow,[["__scopeId","data-v-1a05c3a3"]]),Iw={class:"search-results-container padded-view"},Mw={class:"search-results-header"},Nw={class:"search-results-header-title"},zw={class:"search-results"},Dw="Artist",jw=Ge({__name:"ArtistsView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=t,r=st(()=>n.resourcesPrefetch.filter(s=>{const a=s.descriptors.en.name.toLowerCase().includes(n.query.toLowerCase()),u=n.idReferences.graphIdToNameTable[s.graph_id]===Dw;return a&&u}));return(s,a)=>(he(),we("div",Iw,[ie("div",Mw,[ie("div",Nw,[ke(so,{class:"search-results-header-icon"}),a[0]||(a[0]=ie("h1",null,"Artists",-1))])]),ie("div",zw,[(he(!0),we(Ye,null,nn(r.value,u=>(he(),Fe(Ri,{key:u.resourceinstanceid,"resource-name":u.descriptors.en.name,"resource-description":u.descriptors.en.description,"resource-id":u.resourceinstanceid,"resource-type":n.idReferences.graphIdToNameTable[u.graph_id],"image-tile-data":pe(ti)(u,n.imagesPrefetch,n.resourceRelationsPrefetch,n.idReferences),artist:pe(Ci)(u,n.resourcesPrefetch,n.resourceRelationsPrefetch,n.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])]))}}),Bw={class:"search-results-container padded-view"},qw={class:"search-results-header"},Zw={class:"search-results-header-title"},Fw={class:"search-results"},Vw="Artwork",Hw=Ge({__name:"ArtworksView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=t,r=st(()=>n.resourcesPrefetch.filter(s=>{const a=s.descriptors.en.name.toLowerCase().includes(n.query.toLowerCase()),u=n.idReferences.graphIdToNameTable[s.graph_id]===Vw;return a&&u}));return(s,a)=>(he(),we("div",Bw,[ie("div",qw,[ie("div",Zw,[ke(oo,{class:"search-results-header-icon"}),a[0]||(a[0]=ie("h1",null,"Artworks",-1))])]),ie("div",Fw,[(he(!0),we(Ye,null,nn(r.value,u=>(he(),Fe(Ri,{key:u.resourceinstanceid,"resource-name":u.descriptors.en.name,"resource-description":u.descriptors.en.description,"resource-id":u.resourceinstanceid,"resource-type":n.idReferences.graphIdToNameTable[u.graph_id],"image-tile-data":pe(ti)(u,n.imagesPrefetch,n.resourceRelationsPrefetch,n.idReferences),artist:pe(Ci)(u,n.resourcesPrefetch,n.resourceRelationsPrefetch,n.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])]))}});var Xi={exports:{}};/* @preserve + deps: ${m}}`};const a={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(h){const[_,m]=u(h);l(h,_),f(h,m)}};function u({schema:h}){const _={},m={};for(const g in h){if(g==="__proto__")continue;const y=Array.isArray(h[g])?_:m;y[g]=h[g]}return[_,m]}function l(h,_=h.schema){const{gen:m,data:g,it:y}=h;if(Object.keys(_).length===0)return;const E=m.let("missing");for(const $ in _){const x=_[$];if(x.length===0)continue;const b=(0,s.propertyInData)(m,g,$,y.opts.ownProperties);h.setParams({property:$,depsCount:x.length,deps:x.join(", ")}),y.allErrors?m.if(b,()=>{for(const P of x)(0,s.checkReportMissingProp)(h,P)}):(m.if((0,n._)`${b} && (${(0,s.checkMissingProp)(h,x,E)})`),(0,s.reportMissingProp)(h,E),m.else())}}t.validatePropertyDeps=l;function f(h,_=h.schema){const{gen:m,data:g,keyword:y,it:E}=h,$=m.name("valid");for(const x in _)(0,r.alwaysValidSchema)(E,_[x])||(m.if((0,s.propertyInData)(m,g,x,E.opts.ownProperties),()=>{const b=h.subschema({keyword:y,schemaProp:x},$);h.mergeValidEvaluated(b,$)},()=>m.var($,!0)),h.ok($))}t.validateSchemaDeps=f,t.default=a}(oa)),oa}var hs={},jl;function Lv(){if(jl)return hs;jl=1,Object.defineProperty(hs,"__esModule",{value:!0});const t=Oe(),n=De(),s={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:a})=>(0,t._)`{propertyName: ${a.propertyName}}`},code(a){const{gen:u,schema:l,data:f,it:h}=a;if((0,n.alwaysValidSchema)(h,l))return;const _=u.name("valid");u.forIn("key",f,m=>{a.setParams({propertyName:m}),a.subschema({keyword:"propertyNames",data:m,dataTypes:["string"],propertyName:m,compositeRule:!0},_),u.if((0,t.not)(_),()=>{a.error(!0),h.allErrors||u.break()})}),a.ok(_)}};return hs.default=s,hs}var ds={},Bl;function Jh(){if(Bl)return ds;Bl=1,Object.defineProperty(ds,"__esModule",{value:!0});const t=Ut(),n=Oe(),r=zn(),s=De(),u={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:l})=>(0,n._)`{additionalProperty: ${l.additionalProperty}}`},code(l){const{gen:f,schema:h,parentSchema:_,data:m,errsCount:g,it:y}=l;if(!g)throw new Error("ajv implementation error");const{allErrors:E,opts:$}=y;if(y.props=!0,$.removeAdditional!=="all"&&(0,s.alwaysValidSchema)(y,h))return;const x=(0,t.allSchemaProperties)(_.properties),b=(0,t.allSchemaProperties)(_.patternProperties);P(),l.ok((0,n._)`${g} === ${r.default.errors}`);function P(){f.forIn("key",m,k=>{!x.length&&!b.length?C(k):f.if(p(k),()=>C(k))})}function p(k){let I;if(x.length>8){const V=(0,s.schemaRefOrVal)(y,_.properties,"properties");I=(0,t.isOwnProperty)(f,V,k)}else x.length?I=(0,n.or)(...x.map(V=>(0,n._)`${k} === ${V}`)):I=n.nil;return b.length&&(I=(0,n.or)(I,...b.map(V=>(0,n._)`${(0,t.usePattern)(l,V)}.test(${k})`))),(0,n.not)(I)}function v(k){f.code((0,n._)`delete ${m}[${k}]`)}function C(k){if($.removeAdditional==="all"||$.removeAdditional&&h===!1){v(k);return}if(h===!1){l.setParams({additionalProperty:k}),l.error(),E||f.break();return}if(typeof h=="object"&&!(0,s.alwaysValidSchema)(y,h)){const I=f.name("valid");$.removeAdditional==="failing"?(O(k,I,!1),f.if((0,n.not)(I),()=>{l.reset(),v(k)})):(O(k,I),E||f.if((0,n.not)(I),()=>f.break()))}}function O(k,I,V){const W={keyword:"additionalProperties",dataProp:k,dataPropType:s.Type.Str};V===!1&&Object.assign(W,{compositeRule:!0,createErrors:!1,allErrors:!1}),l.subschema(W,I)}}};return ds.default=u,ds}var ps={},ql;function xv(){if(ql)return ps;ql=1,Object.defineProperty(ps,"__esModule",{value:!0});const t=io(),n=Ut(),r=De(),s=Jh(),a={keyword:"properties",type:"object",schemaType:"object",code(u){const{gen:l,schema:f,parentSchema:h,data:_,it:m}=u;m.opts.removeAdditional==="all"&&h.additionalProperties===void 0&&s.default.code(new t.KeywordCxt(m,s.default,"additionalProperties"));const g=(0,n.allSchemaProperties)(f);for(const b of g)m.definedProperties.add(b);m.opts.unevaluated&&g.length&&m.props!==!0&&(m.props=r.mergeEvaluated.props(l,(0,r.toHash)(g),m.props));const y=g.filter(b=>!(0,r.alwaysValidSchema)(m,f[b]));if(y.length===0)return;const E=l.name("valid");for(const b of y)$(b)?x(b):(l.if((0,n.propertyInData)(l,_,b,m.opts.ownProperties)),x(b),m.allErrors||l.else().var(E,!0),l.endIf()),u.it.definedProperties.add(b),u.ok(E);function $(b){return m.opts.useDefaults&&!m.compositeRule&&f[b].default!==void 0}function x(b){u.subschema({keyword:"properties",schemaProp:b,dataProp:b},E)}}};return ps.default=a,ps}var ms={},Zl;function kv(){if(Zl)return ms;Zl=1,Object.defineProperty(ms,"__esModule",{value:!0});const t=Ut(),n=Oe(),r=De(),s=De(),a={keyword:"patternProperties",type:"object",schemaType:"object",code(u){const{gen:l,schema:f,data:h,parentSchema:_,it:m}=u,{opts:g}=m,y=(0,t.allSchemaProperties)(f),E=y.filter(C=>(0,r.alwaysValidSchema)(m,f[C]));if(y.length===0||E.length===y.length&&(!m.opts.unevaluated||m.props===!0))return;const $=g.strictSchema&&!g.allowMatchingProperties&&_.properties,x=l.name("valid");m.props!==!0&&!(m.props instanceof n.Name)&&(m.props=(0,s.evaluatedPropsToName)(l,m.props));const{props:b}=m;P();function P(){for(const C of y)$&&p(C),m.allErrors?v(C):(l.var(x,!0),v(C),l.if(x))}function p(C){for(const O in $)new RegExp(C).test(O)&&(0,r.checkStrictMode)(m,`property ${O} matches pattern ${C} (use allowMatchingProperties)`)}function v(C){l.forIn("key",h,O=>{l.if((0,n._)`${(0,t.usePattern)(u,C)}.test(${O})`,()=>{const k=E.includes(C);k||u.subschema({keyword:"patternProperties",schemaProp:C,dataProp:O,dataPropType:s.Type.Str},x),m.opts.unevaluated&&b!==!0?l.assign((0,n._)`${b}[${O}]`,!0):!k&&!m.allErrors&&l.if((0,n.not)(x),()=>l.break())})})}}};return ms.default=a,ms}var _s={},Fl;function Ov(){if(Fl)return _s;Fl=1,Object.defineProperty(_s,"__esModule",{value:!0});const t=De(),n={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(r){const{gen:s,schema:a,it:u}=r;if((0,t.alwaysValidSchema)(u,a)){r.fail();return}const l=s.name("valid");r.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},l),r.failResult(l,()=>r.reset(),()=>r.error())},error:{message:"must NOT be valid"}};return _s.default=n,_s}var gs={},Vl;function Av(){if(Vl)return gs;Vl=1,Object.defineProperty(gs,"__esModule",{value:!0});const n={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Ut().validateUnion,error:{message:"must match a schema in anyOf"}};return gs.default=n,gs}var vs={},Hl;function Iv(){if(Hl)return vs;Hl=1,Object.defineProperty(vs,"__esModule",{value:!0});const t=Oe(),n=De(),s={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:a})=>(0,t._)`{passingSchemas: ${a.passing}}`},code(a){const{gen:u,schema:l,parentSchema:f,it:h}=a;if(!Array.isArray(l))throw new Error("ajv implementation error");if(h.opts.discriminator&&f.discriminator)return;const _=l,m=u.let("valid",!1),g=u.let("passing",null),y=u.name("_valid");a.setParams({passing:g}),u.block(E),a.result(m,()=>a.reset(),()=>a.error(!0));function E(){_.forEach(($,x)=>{let b;(0,n.alwaysValidSchema)(h,$)?u.var(y,!0):b=a.subschema({keyword:"oneOf",schemaProp:x,compositeRule:!0},y),x>0&&u.if((0,t._)`${y} && ${m}`).assign(m,!1).assign(g,(0,t._)`[${g}, ${x}]`).else(),u.if(y,()=>{u.assign(m,!0),u.assign(g,x),b&&a.mergeEvaluated(b,t.Name)})})}}};return vs.default=s,vs}var ys={},Ul;function Mv(){if(Ul)return ys;Ul=1,Object.defineProperty(ys,"__esModule",{value:!0});const t=De(),n={keyword:"allOf",schemaType:"array",code(r){const{gen:s,schema:a,it:u}=r;if(!Array.isArray(a))throw new Error("ajv implementation error");const l=s.name("valid");a.forEach((f,h)=>{if((0,t.alwaysValidSchema)(u,f))return;const _=r.subschema({keyword:"allOf",schemaProp:h},l);r.ok(l),r.mergeEvaluated(_)})}};return ys.default=n,ys}var ws={},Kl;function Nv(){if(Kl)return ws;Kl=1,Object.defineProperty(ws,"__esModule",{value:!0});const t=Oe(),n=De(),s={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:u})=>(0,t.str)`must match "${u.ifClause}" schema`,params:({params:u})=>(0,t._)`{failingKeyword: ${u.ifClause}}`},code(u){const{gen:l,parentSchema:f,it:h}=u;f.then===void 0&&f.else===void 0&&(0,n.checkStrictMode)(h,'"if" without "then" and "else" is ignored');const _=a(h,"then"),m=a(h,"else");if(!_&&!m)return;const g=l.let("valid",!0),y=l.name("_valid");if(E(),u.reset(),_&&m){const x=l.let("ifClause");u.setParams({ifClause:x}),l.if(y,$("then",x),$("else",x))}else _?l.if(y,$("then")):l.if((0,t.not)(y),$("else"));u.pass(g,()=>u.error(!0));function E(){const x=u.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},y);u.mergeEvaluated(x)}function $(x,b){return()=>{const P=u.subschema({keyword:x},y);l.assign(g,y),u.mergeValidEvaluated(P,g),b?l.assign(b,(0,t._)`${x}`):u.setParams({ifClause:x})}}}};function a(u,l){const f=u.schema[l];return f!==void 0&&!(0,n.alwaysValidSchema)(u,f)}return ws.default=s,ws}var bs={},Wl;function zv(){if(Wl)return bs;Wl=1,Object.defineProperty(bs,"__esModule",{value:!0});const t=De(),n={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:r,parentSchema:s,it:a}){s.if===void 0&&(0,t.checkStrictMode)(a,`"${r}" without "if" is ignored`)}};return bs.default=n,bs}var Gl;function Dv(){if(Gl)return us;Gl=1,Object.defineProperty(us,"__esModule",{value:!0});const t=Wh(),n=Ev(),r=Gh(),s=Tv(),a=Cv(),u=Rv(),l=Lv(),f=Jh(),h=xv(),_=kv(),m=Ov(),g=Av(),y=Iv(),E=Mv(),$=Nv(),x=zv();function b(P=!1){const p=[m.default,g.default,y.default,E.default,$.default,x.default,l.default,f.default,u.default,h.default,_.default];return P?p.push(n.default,s.default):p.push(t.default,r.default),p.push(a.default),p}return us.default=b,us}var Ps={},Ss={},Jl;function jv(){if(Jl)return Ss;Jl=1,Object.defineProperty(Ss,"__esModule",{value:!0});const t=Oe(),r={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:s})=>(0,t.str)`must match format "${s}"`,params:({schemaCode:s})=>(0,t._)`{format: ${s}}`},code(s,a){const{gen:u,data:l,$data:f,schema:h,schemaCode:_,it:m}=s,{opts:g,errSchemaPath:y,schemaEnv:E,self:$}=m;if(!g.validateFormats)return;f?x():b();function x(){const P=u.scopeValue("formats",{ref:$.formats,code:g.code.formats}),p=u.const("fDef",(0,t._)`${P}[${_}]`),v=u.let("fType"),C=u.let("format");u.if((0,t._)`typeof ${p} == "object" && !(${p} instanceof RegExp)`,()=>u.assign(v,(0,t._)`${p}.type || "string"`).assign(C,(0,t._)`${p}.validate`),()=>u.assign(v,(0,t._)`"string"`).assign(C,p)),s.fail$data((0,t.or)(O(),k()));function O(){return g.strictSchema===!1?t.nil:(0,t._)`${_} && !${C}`}function k(){const I=E.$async?(0,t._)`(${p}.async ? await ${C}(${l}) : ${C}(${l}))`:(0,t._)`${C}(${l})`,V=(0,t._)`(typeof ${C} == "function" ? ${I} : ${C}.test(${l}))`;return(0,t._)`${C} && ${C} !== true && ${v} === ${a} && !${V}`}}function b(){const P=$.formats[h];if(!P){O();return}if(P===!0)return;const[p,v,C]=k(P);p===a&&s.pass(I());function O(){if(g.strictSchema===!1){$.logger.warn(V());return}throw new Error(V());function V(){return`unknown format "${h}" ignored in schema at path "${y}"`}}function k(V){const W=V instanceof RegExp?(0,t.regexpCode)(V):g.code.formats?(0,t._)`${g.code.formats}${(0,t.getProperty)(h)}`:void 0,se=u.scopeValue("formats",{key:h,ref:V,code:W});return typeof V=="object"&&!(V instanceof RegExp)?[V.type||"string",V.validate,(0,t._)`${se}.validate`]:["string",V,se]}function I(){if(typeof P=="object"&&!(P instanceof RegExp)&&P.async){if(!E.$async)throw new Error("async format in sync schema");return(0,t._)`await ${C}(${l})`}return typeof v=="function"?(0,t._)`${C}(${l})`:(0,t._)`${C}.test(${l})`}}}};return Ss.default=r,Ss}var Yl;function Bv(){if(Yl)return Ps;Yl=1,Object.defineProperty(Ps,"__esModule",{value:!0});const n=[jv().default];return Ps.default=n,Ps}var Gn={},Xl;function qv(){return Xl||(Xl=1,Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.contentVocabulary=Gn.metadataVocabulary=void 0,Gn.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],Gn.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),Gn}var Ql;function Zv(){if(Ql)return Ur;Ql=1,Object.defineProperty(Ur,"__esModule",{value:!0});const t=hv(),n=$v(),r=Dv(),s=Bv(),a=qv(),u=[t.default,n.default,(0,r.default)(),s.default,a.metadataVocabulary,a.contentVocabulary];return Ur.default=u,Ur}var $s={},Ji={},ef;function Fv(){if(ef)return Ji;ef=1,Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.DiscrError=void 0;var t;return function(n){n.Tag="tag",n.Mapping="mapping"}(t||(Ji.DiscrError=t={})),Ji}var tf;function Vv(){if(tf)return $s;tf=1,Object.defineProperty($s,"__esModule",{value:!0});const t=Oe(),n=Fv(),r=Fa(),s=ro(),a=De(),l={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:f,tagName:h}})=>f===n.DiscrError.Tag?`tag "${h}" must be string`:`value of tag "${h}" must be in oneOf`,params:({params:{discrError:f,tag:h,tagName:_}})=>(0,t._)`{error: ${f}, tag: ${_}, tagValue: ${h}}`},code(f){const{gen:h,data:_,schema:m,parentSchema:g,it:y}=f,{oneOf:E}=g;if(!y.opts.discriminator)throw new Error("discriminator: requires discriminator option");const $=m.propertyName;if(typeof $!="string")throw new Error("discriminator: requires propertyName");if(m.mapping)throw new Error("discriminator: mapping is not supported");if(!E)throw new Error("discriminator: requires oneOf keyword");const x=h.let("valid",!1),b=h.const("tag",(0,t._)`${_}${(0,t.getProperty)($)}`);h.if((0,t._)`typeof ${b} == "string"`,()=>P(),()=>f.error(!1,{discrError:n.DiscrError.Tag,tag:b,tagName:$})),f.ok(x);function P(){const C=v();h.if(!1);for(const O in C)h.elseIf((0,t._)`${b} === ${O}`),h.assign(x,p(C[O]));h.else(),f.error(!1,{discrError:n.DiscrError.Mapping,tag:b,tagName:$}),h.endIf()}function p(C){const O=h.name("valid"),k=f.subschema({keyword:"oneOf",schemaProp:C},O);return f.mergeEvaluated(k,t.Name),O}function v(){var C;const O={},k=V(g);let I=!0;for(let ie=0;iethis.addVocabulary($)),this.opts.discriminator&&this.addKeyword(a.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const $=this.opts.$data?this.$dataMetaSchema(u,l):u;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,t.exports=n=h,t.exports.Ajv=h,Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var _=io();Object.defineProperty(n,"KeywordCxt",{enumerable:!0,get:function(){return _.KeywordCxt}});var m=Oe();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 g=Za();Object.defineProperty(n,"ValidationError",{enumerable:!0,get:function(){return g.default}});var y=ro();Object.defineProperty(n,"MissingRefError",{enumerable:!0,get:function(){return y.default}})}(qr,qr.exports)),qr.exports}var Qv=Xv();const ey=Vh(Qv),Oi=new ey({coerceTypes:!0}),ty={type:"object",properties:{Name:{type:"string"},remoteServerId:{type:"string",nullable:!0}},required:["Name"],additionalProperties:!0},ny=Oi.compile(ty),iy={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},Yh=Oi.compile(iy),ry={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"]};Oi.compile(ry);const sy={type:"object",properties:{Name:{type:"string"}},required:["Name"],additionalProperties:!0};Oi.compile(sy);const oy={type:"object",properties:{arches_resource_id:{type:"string"},arches_tileid:{type:"string"},id:{type:"string"},name:{type:"string"},note:{type:"string"},url:{type:"string"}},required:["arches_resource_id","arches_tileid","id","name","note","url"],additionalProperties:!0},ay=Oi.compile(oy);var vn=(t=>(t.ARTWORK="Artwork",t.ARTIST="Artist",t.STRUCTURE="Structure",t.PHOTOGRAPHER="Photographer",t))(vn||{});const uy={type:"object",properties:{Location:{type:"object",properties:{Address:{type:"string"},Coordinates:{type:"string",nullable:!0}},required:["Address"]}},required:["Location"],additionalProperties:!0};Oi.compile(uy);const ti=(t,n,r,s)=>{if(s.graphIdToNameTable[t.graph_id]==="Artwork"){const l=n.find(f=>f.resourceinstance_id===t.resourceinstanceid);return(l==null?void 0:l.data[s.imageNodeId])??void 0}const a=r.find(l=>l.resourceinstanceidto_id===t.resourceinstanceid&&l.resourceinstancefrom_graphid_id===s.nameToGraphIdTable.Artwork);if(!a)return;const u=n.find(l=>l.resourceinstance_id===a.resourceinstanceidfrom_id);return(u==null?void 0:u.data[s.imageNodeId])??void 0},cy=(t,n,r,s)=>{if(s.graphIdToNameTable[t.graph_id]!=="Artist")return;const a=r.filter(f=>f.resourceinstanceidto_id===t.resourceinstanceid&&f.resourceinstancefrom_graphid_id===s.nameToGraphIdTable.Artwork);if(!a)return;const u=a.map(f=>f.resourceinstanceidfrom_id);return n.filter(f=>u.includes(f.resourceinstanceid))??void 0},Ci=(t,n,r,s)=>{const a=r.find(l=>l.resourceinstanceidfrom_id===t.resourceinstanceid&&l.resourceinstanceto_graphid_id===s.nameToGraphIdTable.Artist);return a?n==null?void 0:n.find(l=>l.resourceinstanceid===a.resourceinstanceidto_id):void 0},ly=t=>t.split("|"),fy={class:"search-result"},hy={class:"metadata"},dy={class:"title-wrapper"},py={class:"title"},my={key:0,class:"artist-credit h3-sub"},_y=["src"],gy=["src"],vy=Ge({__name:"SearchListItem",props:{resourceName:{},resourceId:{},resourceDescription:{},resourceType:{},imageTileData:{},artist:{}},setup(t){const n=t,r=!0,s=n.imageTileData?"https://arches.arches-app-demo.opentechstrategies.com"+n.imageTileData[0].url:void 0;return(a,u)=>{const l=ki("RouterLink");return pe(s)!==void 0?(he(),Fe(l,{key:0,to:`/wac/resource/${n.resourceId}`,class:"search-item-container"},{default:rt(()=>{var f,h;return[ne("div",fy,[ne("div",hy,[ne("div",dy,[ne("h3",py,Nt(n.resourceName),1)]),n.resourceType==="Artwork"?(he(),we("h3",my,Nt((f=n.artist)!=null&&f.displayname?` by ${(h=n.artist)==null?void 0:h.displayname}`:""),1)):Ve("",!0)]),pe(s)?(he(),we("img",{key:0,class:"image",src:pe(s),alt:"thumbnail image"},null,8,_y)):(he(),we("img",{key:1,class:"image",src:pe(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png":"/noimage.png",alt:"no image available"},null,8,gy))])]}),_:1},8,["to"])):Ve("",!0)}}}),Lt=(t,n)=>{const r=t.__vccOpts||t;for(const[s,a]of n)r[s]=a;return r},Ri=Lt(vy,[["__scopeId","data-v-1a04ce61"]]),yy=["width","height"],so=Ge({__name:"ArtistsIcon",props:{width:{default:25},height:{default:27}},setup(t){const n=t;return(r,s)=>(he(),we("svg",{width:n.width,height:n.height,viewBox:"0 0 25 27",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s[0]||(s[0]=[ne("path",{d:"M22.7166 25.2728V22.6754C22.7166 21.2976 22.1693 19.9763 21.1951 19.0021C20.2209 18.0278 18.8995 17.4805 17.5218 17.4805H7.1321C5.75434 17.4805 4.43301 18.0278 3.45879 19.0021C2.48457 19.9763 1.93726 21.2976 1.93726 22.6754V25.2728M17.5218 7.09084C17.5218 9.95987 15.196 12.2857 12.3269 12.2857C9.45791 12.2857 7.1321 9.95987 7.1321 7.09084C7.1321 4.22181 9.45791 1.896 12.3269 1.896C15.196 1.896 17.5218 4.22181 17.5218 7.09084Z",stroke:"#1E1E1E","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]),8,yy))}}),wy=["width","height"],oo=Ge({__name:"ArtworksIcon",props:{width:{default:28},height:{default:27}},setup(t){const n=t;return(r,s)=>(he(),we("svg",{width:n.width,height:n.height,viewBox:"0 0 28 27",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s[0]||(s[0]=[ne("path",{d:"M4.93495 25.2728H23.1169C24.5514 25.2728 25.7143 24.1099 25.7143 22.6754V4.49342C25.7143 3.0589 24.5514 1.896 23.1169 1.896H4.93495C3.50043 1.896 2.33752 3.0589 2.33752 4.49342V22.6754C2.33752 24.1099 3.50043 25.2728 4.93495 25.2728ZM4.93495 25.2728L19.2208 10.987L25.7143 17.4805M11.4285 9.0389C11.4285 10.1148 10.5563 10.987 9.48043 10.987C8.40454 10.987 7.53237 10.1148 7.53237 9.0389C7.53237 7.96302 8.40454 7.09084 9.48043 7.09084C10.5563 7.09084 11.4285 7.96302 11.4285 9.0389Z",stroke:"#1E1E1E","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]),8,wy))}}),by={class:"search-list-container"},Py={class:"search-content-container"},Sy={key:0,class:"search-results-container"},$y={class:"search-results-header"},Ey={class:"search-results-header-title"},Ty={class:"search-results-landing"},Cy={key:0,class:"search-results-container"},Ry={class:"search-results-header"},Ly={class:"search-results-header-title"},xy={class:"search-results-landing"},ky={key:0,class:"search-results-container"},Oy={class:"search-results-header"},Ay={class:"search-results-header-title"},Iy={class:"search-results"},My=Ge({__name:"SearchList",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=Qs(),r=Je(null),s=t,a=s.resourcesPrefetch.filter(f=>s.idReferences.graphIdToNameTable[f.graph_id]==="Artwork").slice(0,4),u=s.resourcesPrefetch.filter(f=>s.idReferences.graphIdToNameTable[f.graph_id]==="Artist").reverse().slice(0,8),l=st(()=>s.resourcesPrefetch.filter(f=>{const h=f.descriptors.en.name.toLowerCase().includes(s.query.toLowerCase()),_=r.value?s.idReferences.graphIdToNameTable[f.graph_id]===r.value:!0;return h&&_}));return(f,h)=>(he(),we("div",by,[ne("div",Py,[ke(Ti,null,{default:rt(()=>[s.query===""&&r.value===null?(he(),we("div",Sy,[ne("div",$y,[ne("div",Ey,[ke(oo,{class:"search-results-header-icon"}),h[2]||(h[2]=ne("h1",null,"Artworks",-1))]),ne("button",{type:"button",class:"see-all-button",onClick:h[0]||(h[0]=_=>pe(n).push("/artworks"))}," SEE ALL ")]),ne("div",Ty,[(he(!0),we(Ye,null,nn(pe(a),_=>(he(),Fe(Ri,{key:_.resourceinstanceid,"resource-name":_.descriptors.en.name,"resource-description":_.descriptors.en.description,"resource-id":_.resourceinstanceid,"resource-type":s.idReferences.graphIdToNameTable[_.graph_id],"image-tile-data":pe(ti)(_,s.imagesPrefetch,s.resourceRelationsPrefetch,s.idReferences),artist:pe(Ci)(_,s.resourcesPrefetch,s.resourceRelationsPrefetch,s.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])])):Ve("",!0)]),_:1}),ke(Ti,null,{default:rt(()=>[s.query===""&&r.value===null?(he(),we("div",Cy,[ne("div",Ry,[ne("div",Ly,[ke(so,{class:"search-results-header-icon"}),h[3]||(h[3]=ne("h1",null,"Artists",-1))]),ne("button",{type:"button",class:"see-all-button",onClick:h[1]||(h[1]=_=>pe(n).push("/artists"))}," SEE ALL ")]),ne("div",xy,[(he(!0),we(Ye,null,nn(pe(u),_=>(he(),Fe(Ri,{key:_.resourceinstanceid,"resource-name":_.descriptors.en.name,"resource-description":_.descriptors.en.description,"resource-id":_.resourceinstanceid,"resource-type":s.idReferences.graphIdToNameTable[_.graph_id],"image-tile-data":pe(ti)(_,s.imagesPrefetch,s.resourceRelationsPrefetch,s.idReferences),artist:pe(Ci)(_,s.resourcesPrefetch,s.resourceRelationsPrefetch,s.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])])):Ve("",!0)]),_:1}),ke(Ti,null,{default:rt(()=>[s.query!==""&&r.value===null?(he(),we("div",ky,[ne("div",Oy,[ne("div",Ay,[ke(pe(Fh),{class:"search-results-header-icon"}),h[4]||(h[4]=ne("h1",null,"Search Results",-1))])]),ne("div",Iy,[(he(!0),we(Ye,null,nn(l.value,_=>(he(),Fe(Ri,{key:_.resourceinstanceid,"resource-name":_.descriptors.en.name,"resource-description":_.descriptors.en.description,"resource-id":_.resourceinstanceid,"resource-type":s.idReferences.graphIdToNameTable[_.graph_id],"image-tile-data":pe(ti)(_,s.imagesPrefetch,s.resourceRelationsPrefetch,s.idReferences),artist:pe(Ci)(_,s.resourcesPrefetch,s.resourceRelationsPrefetch,s.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])])):Ve("",!0)]),_:1})])]))}}),Ny=Lt(My,[["__scopeId","data-v-6c54917f"]]),zy=Ge({__name:"SearchView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=t;return(r,s)=>(he(),Fe(Ny,{"resource-relations-prefetch":n.resourceRelationsPrefetch,"images-prefetch":n.imagesPrefetch,"resources-prefetch":n.resourcesPrefetch,"id-references":n.idReferences,"route-query":n.routeQuery,query:r.query},null,8,["resource-relations-prefetch","images-prefetch","resources-prefetch","id-references","route-query","query"]))}}),Dy=Ge({__name:"ResourcePanelProvider",props:{id:{}},setup(t){const n=t,r=eo(),s=Je(),a=Je(),u=Je(!1);async function l(){try{const _=new URL(`https://arches.arches-app-demo.opentechstrategies.com/resources/${n.id}`),m=new URLSearchParams({format:"json"});_.search=m.toString();const y=await(await fetch(_.toString())).json();s.value=y}catch{s.value=void 0,u.value=!0}}async function f(){const _=new URL(`https://arches.arches-app-demo.opentechstrategies.com/resource/related/${n.id}`),m=await fetch(_.toString()).then(g=>g.json());a.value=m.related_resources.related_resources}async function h(){try{await l(),await f()}catch{u.value=!0}}return yn(()=>r.params.id,h,{immediate:!0}),(_,m)=>(he(),Fe(Ti,null,{default:rt(()=>[s.value&&a.value?Qn(_.$slots,"default",{key:0,resource:s.value,resourceRelations:a.value,error:u.value}):Ve("",!0)]),_:3}))}}),jy={},By={key:0,class:"resource-detail-more-by-artist"};function qy(t,n){return he(),we(Ye,null,[n[0]||(n[0]=ne("div",{class:"resource-detail-header"},null,-1)),Qn(t.$slots,"items",{},void 0,!0),t.$slots["more-by-artist"]?(he(),we("div",By,[Qn(t.$slots,"more-by-artist",{},void 0,!0)])):Ve("",!0),n[1]||(n[1]=ne("div",null,null,-1))],64)}const Zy=Lt(jy,[["render",qy],["__scopeId","data-v-70164744"]]),Fy={class:"resource-detail-item"},Vy={class:"resource-detail-item-header"},Hy={key:0,class:"resource-detail-item-title"},Uy={key:1,class:"resource-detail-item-byline"},Ky={key:0,class:"resource-detail-item-image"},Wy=["src"],Gy=["src"],Jy={key:1,class:"resource-detail-item-credit"},Yy={key:1,class:"resource-detail-item-description"},Xy=Ge({__name:"ResourceDetailItem",props:{imageUrl:{}},setup(t){const r=t,s=st(()=>r.imageUrl?ly(r.imageUrl).map(a=>"https://arches.arches-app-demo.opentechstrategies.com"+a.trim()):void 0);return(a,u)=>(he(),we("div",Fy,[ne("div",Vy,[a.$slots["item-header-title"]?(he(),we("div",Hy,[Qn(a.$slots,"item-header-title",{},void 0,!0)])):Ve("",!0),a.$slots["item-header-byline"]?(he(),we("div",Uy,[Qn(a.$slots,"item-header-byline",{},void 0,!0)])):Ve("",!0)]),s.value?(he(),we("figure",Ky,[(he(!0),we(Ye,null,nn(s.value,l=>(he(),we("img",{key:l,src:l,alt:"resource image"},null,8,Wy))),128)),s.value?Ve("",!0):(he(),we("img",{key:0,src:pe(!0)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png":"/noimage.png",alt:"no image available",loading:"lazy"},null,8,Gy)),a.$slots["item-credit"]?(he(),we("figcaption",Jy,[Qn(a.$slots,"item-credit",{},void 0,!0)])):Ve("",!0)])):Ve("",!0),a.$slots["item-description"]?(he(),we("div",Yy,[Qn(a.$slots,"item-description",{},void 0,!0)])):Ve("",!0)]))}}),Qy=Lt(Xy,[["__scopeId","data-v-e8a8e62b"]]),ew={key:0,class:"h2-sub"},tw={key:1,class:"h2-sub"},Xh=Ge({__name:"ArtworkDetailItem",props:{artwork:{},artworkId:{},panelResourceType:{},resourceRelations:{},idReferences:{}},setup(t){const n=Je(),r=Je(),s=Je(),a=t,{graphIdToNameTable:u}=a.idReferences;return yn(()=>a.resourceRelations,l=>{n.value=l.find(f=>u[f.graph_id]==="Photographer"),r.value=l.find(f=>u[f.graph_id]==="Structure"),s.value=l.find(f=>u[f.graph_id]==="Artist")},{immediate:!0}),(l,f)=>{var _;const h=ki("RouterLink");return a.panelResourceType!==void 0?(he(),Fe(Qy,{key:0,"image-url":(_=a.artwork.Photograph)==null?void 0:_.Image},rh({_:2},[a.panelResourceType!==pe(vn).ARTWORK?{name:"item-header-title",fn:rt(()=>[ke(h,{to:`/wac/resource/${a.artworkId}`,class:"resource-link"},{default:rt(()=>[rn(Nt(l.artwork.Title),1)]),_:1},8,["to"])]),key:"0"}:void 0,s.value&&r.value?{name:"item-header-byline",fn:rt(()=>[a.panelResourceType!==pe(vn).ARTIST?(he(),we("h2",ew,[f[0]||(f[0]=rn(" by ")),ke(h,{to:`/wac/resource/${s.value.resourceinstanceid}`,class:"resource-link"},{default:rt(()=>[rn(Nt(s.value.displayname),1)]),_:1},8,["to"])])):Ve("",!0),a.panelResourceType!==pe(vn).STRUCTURE?(he(),we("h2",tw," at "+Nt(r.value.displayname),1)):Ve("",!0)]),key:"1"}:void 0,a.artwork.Description&&a.panelResourceType===pe(vn).ARTWORK?{name:"item-description",fn:rt(()=>[ne("p",null,Nt(a.artwork.Description),1)]),key:"2"}:void 0]),1032,["image-url"])):Ve("",!0)}}}),aa=Ge({__name:"RelatedArtworkDetailItem",props:{relatedArtwork:{},idReferences:{},panelResourceType:{}},setup(t){const n=t,{graphIdToNameTable:r}=n.idReferences,s=Je(),a=Je();async function u(){const f=new URL(`https://arches.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 l(){const f=new URL(`https://arches.arches-app-demo.opentechstrategies.com/resource/related/${n.relatedArtwork.resourceinstanceid}`),h=await fetch(f.toString()).then(_=>_.json());a.value=h.related_resources.related_resources}return u(),l(),(f,h)=>{var _;return pe(Yh)((_=s.value)==null?void 0:_.resource)&&pe(r)[s.value.graph_id]==="Artwork"&&a.value&&s.value!==void 0?(he(),Fe(Xh,{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"])):Ve("",!0)}}}),nw=["src","alt"],iw=Ge({__name:"MoreArtworksByArtistItem",props:{artwork:{},imageTileData:{}},setup(t){const n=t,r=st(()=>{var a;return(a=n.imageTileData)!=null&&a.length?"https://arches.arches-app-demo.opentechstrategies.com"+n.imageTileData[0].url:void 0}),s=st(()=>"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png");return(a,u)=>{const l=ki("RouterLink");return he(),Fe(l,{to:`/wac/resource/${n.artwork.resourceinstanceid}`},{default:rt(()=>[ne("div",null,[ne("img",{class:"more-artwork-image",src:r.value||s.value,alt:r.value?"Thumbnail image":"No image available"},null,8,nw)])]),_:1},8,["to"])}}}),rw=Lt(iw,[["__scopeId","data-v-ba592a51"]]),sw={key:0},ow={key:0,class:"more-artworks-by-artist-title"},aw={class:"more-artworks-by-artist-gallery"},uw=Ge({__name:"MoreArtworksByArtist",props:{resource:{},resourcesPrefetch:{},resourceRelations:{},idReferences:{},resourceRelationsPrefetch:{},imagesPrefetch:{}},setup(t){const n=t,r=st(()=>n.resourceRelations.find(a=>n.idReferences.graphIdToNameTable[a.graph_id]==="Artist")),s=st(()=>{if(r.value)return cy(r.value,n.resourcesPrefetch,n.resourceRelationsPrefetch,n.idReferences)});return(a,u)=>{var f;const l=ki("RouterLink");return s.value&&s.value.length>1?(he(),we("div",sw,[r.value?(he(),we("div",ow,[u[0]||(u[0]=rn(" More artwork by ")),ke(l,{to:`/wac/resource/${r.value.resourceinstanceid}`,class:"resource-link"},{default:rt(()=>[rn(Nt(r.value.displayname),1)]),_:1},8,["to"])])):Ve("",!0),ne("div",aw,[(he(!0),we(Ye,null,nn((f=s.value)==null?void 0:f.filter(h=>{var _;return(h==null?void 0:h.resourceinstanceid)!==((_=n.resource)==null?void 0:_.resourceinstanceid)}),h=>(he(),Fe(rw,{key:h.resourceinstanceid,artwork:h,"image-tile-data":pe(ti)(h,n.imagesPrefetch,n.resourceRelationsPrefetch,n.idReferences)},null,8,["artwork","image-tile-data"]))),128))])])):Ve("",!0)}}}),cw=Lt(uw,[["__scopeId","data-v-1336561a"]]),lw={key:0,class:"artist-note"},fw=["href"],hw=Ge({__name:"ArtistNote",props:{artist:{}},setup(t){const n=t,r=Je();async function s(){const a=new URL(`https://king-prawn-app-mhl6o.ondigitalocean.app/artist/${n.artist.remoteServerId}`),u=await fetch(a.toString()).then(l=>l.json());r.value=u}return gr(async()=>{await s()}),(a,u)=>pe(ay)(r.value)?(he(),we("div",lw,[ne("p",null,[rn(Nt(r.value.note)+" ",1),u[0]||(u[0]=ne("br",null,null,-1)),u[1]||(u[1]=ne("br",null,null,-1)),ne("a",{href:r.value.url,target:"_blank",rel:"noopener noreferrer"},Nt(r.value.url),9,fw)])])):Ve("",!0)}}),dw=Lt(hw,[["__scopeId","data-v-9d65b615"]]),pw={key:0,class:"resource-detail"},mw={class:"resource-detail-header"},_w={class:"resource-detail-title"},gw={type:"button",class:"back-button"},vw=Ge({__name:"ResourcePanel",props:{resource:{},resourceRelations:{},resourceRelationsPrefetch:{},imagesPrefetch:{},idReferences:{},resourcesPrefetch:{}},setup(t){const n=t,{graphIdToNameTable:r}=n.idReferences;return(s,a)=>{const u=ki("RouterLink");return n.resource?(he(),we("div",pw,[ne("div",mw,[ne("div",_w,[pe(r)[n.resource.graph_id]==="Artwork"?(he(),Fe(oo,{key:0,class:"resource-header-icon"})):Ve("",!0),pe(r)[n.resource.graph_id]==="Artist"?(he(),Fe(so,{key:1,class:"resource-header-icon"})):Ve("",!0),ne("h1",null,Nt(n.resource.displayname??""),1)]),ke(u,{to:"/",class:"resource-detail-back-button"},{default:rt(()=>[ne("button",gw,[ke(pe(Zh),{class:"back-button-icon"}),a[0]||(a[0]=rn(" BACK "))])]),_:1})]),pe(ny)(n.resource.resource)?(he(),Fe(dw,{key:0,artist:n.resource.resource},null,8,["artist"])):Ve("",!0),ke(Zy,null,rh({items:rt(()=>[pe(Yh)(n.resource.resource)&&pe(r)[n.resource.graph_id]==="Artwork"?(he(),Fe(Xh,{key:0,artwork:n.resource.resource,"artwork-id":n.resource.resourceinstanceid,"resource-relations":n.resourceRelations,"id-references":n.idReferences,"panel-resource-type":pe(vn).ARTWORK},null,8,["artwork","artwork-id","resource-relations","id-references","panel-resource-type"])):pe(r)[n.resource.graph_id]==="Artist"?(he(!0),we(Ye,{key:1},nn(s.resourceRelations.filter(l=>pe(r)[l.graph_id]==="Artwork"),l=>(he(),Fe(aa,{key:l.graph_id,"related-artwork":l,"id-references":n.idReferences,"panel-resource-type":pe(vn).ARTIST},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):pe(r)[n.resource.graph_id]==="Structure"?(he(!0),we(Ye,{key:2},nn(s.resourceRelations.filter(l=>pe(r)[l.graph_id]==="Artwork"),l=>(he(),Fe(aa,{key:l.resourceinstanceid,"related-artwork":l,"id-references":n.idReferences,"panel-resource-type":pe(vn).STRUCTURE},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):pe(r)[n.resource.graph_id]==="Photographer"?(he(!0),we(Ye,{key:3},nn(s.resourceRelations.filter(l=>pe(r)[l.graph_id]==="Artwork"),l=>(he(),Fe(aa,{key:l.root_ontology_class,"related-artwork":l,"id-references":n.idReferences,"panel-resource-type":pe(vn).PHOTOGRAPHER},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):Ve("",!0)]),_:2},[pe(r)[n.resource.graph_id]==="Artwork"?{name:"more-by-artist",fn:rt(()=>[ke(cw,{resource:n.resource,"resource-relations":s.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)])):Ve("",!0)}}}),yw=Lt(vw,[["__scopeId","data-v-d811d843"]]),ww={key:1},bw=Ge({__name:"ResourceDetailView",props:{resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{}},setup(t){const n=eo(),r=t;return(s,a)=>(he(),Fe(Dy,{id:pe(n).params.id},{default:rt(({resource:u,resourceRelations:l,error:f})=>[u&&l&&!f?(he(),Fe(yw,{key:0,resource:u,"resource-relations":l,"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?(he(),we("div",ww,[ne("p",null,"No Resource found with id "+Nt(pe(n).params.id),1)])):Ve("",!0)]),_:1},8,["id"]))}}),Pw={class:"search-results-container about padded-view"},Sw={class:"search-results-header about-title"},$w={class:"back-button-icon"},Ew={class:"credits"},Tw={class:"credit"},Cw={class:"welcome-credit",target:"_blank",rel:"noopener noreferrer",href:"https://opentechstrategies.com/"},Rw=["src"],Lw={class:"credit"},xw={class:"welcome-credit",target:"_blank",rel:"noopener noreferrer",href:"https://www.archesproject.org/"},kw=["src"],Ow=Ge({__name:"AboutView",setup(t){const n=Qs(),r=!0;return(s,a)=>(he(),we("div",Pw,[ne("div",Sw,[a[2]||(a[2]=ne("div",{class:"search-results-header-title"},[ne("h1",null,"WAC: A Visual Journey")],-1)),ne("button",{type:"button",class:"back-button",onClick:a[0]||(a[0]=u=>pe(n).push("/"))},[ne("div",$w,[ke(pe(Zh))]),a[1]||(a[1]=ne("span",null,"BACK",-1))])]),a[5]||(a[5]=Qm('

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.


See Columbia College's page about the Wabash Arts Corridor for more information.


About / Credit This site is a project of Open Tech Strategies, LLC. Our thanks to the artists and curators who created and continue to build the Wabash Arts Corridor in Chicago. Please write us at info@opentechstrategies.com to suggest changes or improvements to this site.


This site is free & open source software, based on the Arches heritage data management platform. See the application code, the data, and our data import scripts, the underlying Arches server that this application pulls most of its data from, and the small external information server that this app also pulls from to demonstrate how data from non-Arches sources can be combined with data from Arches. Contributions welcome.


',1)),ne("div",Ew,[ne("div",Tw,[a[3]||(a[3]=ne("p",null,"Designed by",-1)),ne("a",Cw,[ne("img",{src:pe(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/ots_logo.png":"/ots_logo.png",alt:"no image available",loading:"lazy"},null,8,Rw)])]),ne("div",Lw,[a[4]||(a[4]=ne("p",null,"Powered by",-1)),ne("a",xw,[ne("img",{src:pe(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/arches_logo.png":"/arches_logo.png",alt:"no image available",loading:"lazy"},null,8,kw)])])])]))}}),Aw=Lt(Ow,[["__scopeId","data-v-d3e346a6"]]),Iw={class:"search-results-container padded-view"},Mw={class:"search-results-header"},Nw={class:"search-results-header-title"},zw={class:"search-results"},Dw="Artist",jw=Ge({__name:"ArtistsView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=t,r=st(()=>n.resourcesPrefetch.filter(s=>{const a=s.descriptors.en.name.toLowerCase().includes(n.query.toLowerCase()),u=n.idReferences.graphIdToNameTable[s.graph_id]===Dw;return a&&u}));return(s,a)=>(he(),we("div",Iw,[ne("div",Mw,[ne("div",Nw,[ke(so,{class:"search-results-header-icon"}),a[0]||(a[0]=ne("h1",null,"Artists",-1))])]),ne("div",zw,[(he(!0),we(Ye,null,nn(r.value,u=>(he(),Fe(Ri,{key:u.resourceinstanceid,"resource-name":u.descriptors.en.name,"resource-description":u.descriptors.en.description,"resource-id":u.resourceinstanceid,"resource-type":n.idReferences.graphIdToNameTable[u.graph_id],"image-tile-data":pe(ti)(u,n.imagesPrefetch,n.resourceRelationsPrefetch,n.idReferences),artist:pe(Ci)(u,n.resourcesPrefetch,n.resourceRelationsPrefetch,n.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])]))}}),Bw={class:"search-results-container padded-view"},qw={class:"search-results-header"},Zw={class:"search-results-header-title"},Fw={class:"search-results"},Vw="Artwork",Hw=Ge({__name:"ArtworksView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=t,r=st(()=>n.resourcesPrefetch.filter(s=>{const a=s.descriptors.en.name.toLowerCase().includes(n.query.toLowerCase()),u=n.idReferences.graphIdToNameTable[s.graph_id]===Vw;return a&&u}));return(s,a)=>(he(),we("div",Bw,[ne("div",qw,[ne("div",Zw,[ke(oo,{class:"search-results-header-icon"}),a[0]||(a[0]=ne("h1",null,"Artworks",-1))])]),ne("div",Fw,[(he(!0),we(Ye,null,nn(r.value,u=>(he(),Fe(Ri,{key:u.resourceinstanceid,"resource-name":u.descriptors.en.name,"resource-description":u.descriptors.en.description,"resource-id":u.resourceinstanceid,"resource-type":n.idReferences.graphIdToNameTable[u.graph_id],"image-tile-data":pe(ti)(u,n.imagesPrefetch,n.resourceRelationsPrefetch,n.idReferences),artist:pe(Ci)(u,n.resourcesPrefetch,n.resourceRelationsPrefetch,n.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])]))}});var Xi={exports:{}};/* @preserve * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade - */var Uw=Xi.exports,rf;function Kw(){return rf||(rf=1,function(t,n){(function(r,s){s(n)})(Uw,function(r){var s="1.9.4";function a(e){var i,o,c,d;for(o=1,c=arguments.length;o"u"||!L||!L.Mixin)){e=v(e)?e:[e];for(var i=0;i0?Math.floor(e):Math.ceil(e)};re.prototype={clone:function(){return new re(this.x,this.y)},add:function(e){return this.clone()._add(K(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(K(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new re(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new re(this.x/e.x,this.y/e.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=et(this.x),this.y=et(this.y),this},distanceTo:function(e){e=K(e);var i=e.x-this.x,o=e.y-this.y;return Math.sqrt(i*i+o*o)},equals:function(e){return e=K(e),e.x===this.x&&e.y===this.y},contains:function(e){return e=K(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+y(this.x)+", "+y(this.y)+")"}};function K(e,i,o){return e instanceof re?e:v(e)?new re(e[0],e[1]):e==null?e:typeof e=="object"&&"x"in e&&"y"in e?new re(e.x,e.y):new re(e,i,o)}function D(e,i){if(e)for(var o=i?[e,i]:e,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(e){e=Y(e);var i=this.min,o=this.max,c=e.min,d=e.max,S=d.x>=i.x&&c.x<=o.x,N=d.y>=i.y&&c.y<=o.y;return S&&N},overlaps:function(e){e=Y(e);var i=this.min,o=this.max,c=e.min,d=e.max,S=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(e){e=R(e);var i=this._southWest,o=this._northEast,c=e.getSouthWest(),d=e.getNorthEast(),S=d.lat>=i.lat&&c.lat<=o.lat,N=d.lng>=i.lng&&c.lng<=o.lng;return S&&N},overlaps:function(e){e=R(e);var i=this._southWest,o=this._northEast,c=e.getSouthWest(),d=e.getNorthEast(),S=d.lat>i.lat&&c.lati.lng&&c.lng1,od=function(){var e=!1;try{var i=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",g,i),window.removeEventListener("testPassiveEventSupport",g,i)}catch{}return e}(),ad=function(){return!!document.createElement("canvas").getContext}(),ao=!!(document.createElementNS&&B("svg").createSVGRect),ud=!!ao&&function(){var e=document.createElement("div");return e.innerHTML="",(e.firstChild&&e.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),cd=!ao&&function(){try{var e=document.createElement("div");e.innerHTML='';var i=e.firstChild;return i.style.behavior="url(#default#VML)",i&&typeof i.adj=="object"}catch{return!1}}(),ld=navigator.platform.indexOf("Mac")===0,fd=navigator.platform.indexOf("Linux")===0;function Kt(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var ve={ie:ce,ielt9:ue,edge:oe,webkit:Q,android:_e,android23:le,androidStock:ye,opera:Ee,chrome:Ne,gecko:Ae,safari:at,phantom:ot,opera12:$t,win:xt,ie3d:Pn,webkit3d:ri,gecko3d:pt,any3d:kt,mobile:Sn,mobileWebkit:ed,mobileWebkit3d:td,msPointer:Ha,pointer:Ua,touch:nd,touchNative:Ka,mobileOpera:id,mobileGecko:rd,retina:sd,passiveEvents:od,canvas:ad,svg:ao,vml:cd,inlineSvg:ud,mac:ld,linux:fd},Wa=ve.msPointer?"MSPointerDown":"pointerdown",Ga=ve.msPointer?"MSPointerMove":"pointermove",Ja=ve.msPointer?"MSPointerUp":"pointerup",Ya=ve.msPointer?"MSPointerCancel":"pointercancel",uo={touchstart:Wa,touchmove:Ga,touchend:Ja,touchcancel:Ya},Xa={touchstart:gd,touchmove:yr,touchend:yr,touchcancel:yr},si={},Qa=!1;function hd(e,i,o){return i==="touchstart"&&_d(),Xa[i]?(o=Xa[i].bind(this,o),e.addEventListener(uo[i],o,!1),o):(console.warn("wrong event specified:",i),g)}function dd(e,i,o){if(!uo[i]){console.warn("wrong event specified:",i);return}e.removeEventListener(uo[i],o,!1)}function pd(e){si[e.pointerId]=e}function md(e){si[e.pointerId]&&(si[e.pointerId]=e)}function eu(e){delete si[e.pointerId]}function _d(){Qa||(document.addEventListener(Wa,pd,!0),document.addEventListener(Ga,md,!0),document.addEventListener(Ja,eu,!0),document.addEventListener(Ya,eu,!0),Qa=!0)}function yr(e,i){if(i.pointerType!==(i.MSPOINTER_TYPE_MOUSE||"mouse")){i.touches=[];for(var o in si)i.touches.push(si[o]);i.changedTouches=[i],e(i)}}function gd(e,i){i.MSPOINTER_TYPE_TOUCH&&i.pointerType===i.MSPOINTER_TYPE_TOUCH&&ft(i),yr(e,i)}function vd(e){var i={},o,c;for(c in e)o=e[c],i[c]=o&&o.bind?o.bind(e):o;return e=i,i.type="dblclick",i.detail=2,i.isTrusted=!1,i._simulated=!0,i}var yd=200;function wd(e,i){e.addEventListener("dblclick",i);var o=0,c;function d(S){if(S.detail!==1){c=S.detail;return}if(!(S.pointerType==="mouse"||S.sourceCapabilities&&!S.sourceCapabilities.firesTouchEvents)){var N=su(S);if(!(N.some(function(U){return U instanceof HTMLLabelElement&&U.attributes.for})&&!N.some(function(U){return U instanceof HTMLInputElement||U instanceof HTMLSelectElement}))){var F=Date.now();F-o<=yd?(c++,c===2&&i(vd(S))):c=1,o=F}}}return e.addEventListener("click",d),{dblclick:i,simDblclick:d}}function bd(e,i){e.removeEventListener("dblclick",i.dblclick),e.removeEventListener("click",i.simDblclick)}var co=Pr(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Ai=Pr(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),tu=Ai==="webkitTransition"||Ai==="OTransition"?Ai+"End":"transitionend";function nu(e){return typeof e=="string"?document.getElementById(e):e}function Ii(e,i){var o=e.style[i]||e.currentStyle&&e.currentStyle[i];if((!o||o==="auto")&&document.defaultView){var c=document.defaultView.getComputedStyle(e,null);o=c?c[i]:null}return o==="auto"?null:o}function ze(e,i,o){var c=document.createElement(e);return c.className=i||"",o&&o.appendChild(c),c}function Xe(e){var i=e.parentNode;i&&i.removeChild(e)}function wr(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function oi(e){var i=e.parentNode;i&&i.lastChild!==e&&i.appendChild(e)}function ai(e){var i=e.parentNode;i&&i.firstChild!==e&&i.insertBefore(e,i.firstChild)}function lo(e,i){if(e.classList!==void 0)return e.classList.contains(i);var o=br(e);return o.length>0&&new RegExp("(^|\\s)"+i+"(\\s|$)").test(o)}function Re(e,i){if(e.classList!==void 0)for(var o=$(i),c=0,d=o.length;c0?2*window.devicePixelRatio:1;function au(e){return ve.edge?e.wheelDeltaY/2:e.deltaY&&e.deltaMode===0?-e.deltaY/$d:e.deltaY&&e.deltaMode===1?-e.deltaY*20:e.deltaY&&e.deltaMode===2?-e.deltaY*60:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?-e.detail*20:e.detail?e.detail/-32765*60:0}function So(e,i){var o=i.relatedTarget;if(!o)return!0;try{for(;o&&o!==e;)o=o.parentNode}catch{return!1}return o!==e}var Ed={__proto__:null,on:Ce,off:Ue,stopPropagation:Bn,disableScrollPropagation:Po,disableClickPropagation:Di,preventDefault:ft,stop:qn,getPropagationPath:su,getMousePosition:ou,getWheelDelta:au,isExternalTarget:So,addListener:Ce,removeListener:Ue},uu=$e.extend({run:function(e,i,o,c){this.stop(),this._el=e,this._inProgress=!0,this._duration=o||.25,this._easeOutPower=1/Math.max(c||.5,.2),this._startPos=jn(e),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=ne(this._animate,this),this._step()},_step:function(e){var i=+new Date-this._startTime,o=this._duration*1e3;ithis.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,i){this._enforcingBounds=!0;var o=this.getCenter(),c=this._limitCenter(o,this._zoom,R(e));return o.equals(c)||this.panTo(c,i),this._enforcingBounds=!1,this},panInside:function(e,i){i=i||{};var o=K(i.paddingTopLeft||i.padding||[0,0]),c=K(i.paddingBottomRight||i.padding||[0,0]),d=this.project(this.getCenter()),S=this.project(e),N=this.getPixelBounds(),F=Y([N.min.add(o),N.max.subtract(c)]),U=F.getSize();if(!F.contains(S)){this._enforcingBounds=!0;var te=S.subtract(F.getCenter()),de=F.extend(S).getSize().subtract(U);d.x+=te.x<0?-de.x:de.x,d.y+=te.y<0?-de.y:de.y,this.panTo(this.unproject(d),i),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=a({animate:!1,pan:!0},e===!0?{animate:!0}:e);var i=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),c=i.divideBy(2).round(),d=o.divideBy(2).round(),S=c.subtract(d);return!S.x&&!S.y?this:(e.animate&&e.pan?this.panBy(S):(e.pan&&this._rawPanBy(S),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(l(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(e){if(e=this._locateOptions=a({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var i=l(this._handleGeolocationResponse,this),o=l(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(i,o,e):navigator.geolocation.getCurrentPosition(i,o,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var i=e.code,o=e.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(e){if(this._container._leaflet_id){var i=e.coords.latitude,o=e.coords.longitude,c=new M(i,o),d=c.toBounds(e.coords.accuracy*2),S=this._locateOptions;if(S.setView){var N=this.getBoundsZoom(d);this.setView(c,S.maxZoom?Math.min(N,S.maxZoom):N)}var F={latlng:c,bounds:d,timestamp:e.timestamp};for(var U in e.coords)typeof e.coords[U]=="number"&&(F[U]=e.coords[U]);this.fire("locationfound",F)}},addHandler:function(e,i){if(!i)return this;var o=this[e]=new i(this);return this._handlers.push(o),this.options[e]&&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(),Xe(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(X(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var e;for(e in this._layers)this._layers[e].remove();for(e in this._panes)Xe(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,i){var o="leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),c=ze("div",o,i||this._mapPane);return e&&(this._panes[e]=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 e=this.getPixelBounds(),i=this.unproject(e.getBottomLeft()),o=this.unproject(e.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(e,i,o){e=R(e),o=K(o||[0,0]);var c=this.getZoom()||0,d=this.getMinZoom(),S=this.getMaxZoom(),N=e.getNorthWest(),F=e.getSouthEast(),U=this.getSize().subtract(o),te=Y(this.project(F,c),this.project(N,c)).getSize(),de=ve.any3d?this.options.zoomSnap:1,be=U.x/te.x,xe=U.y/te.y,vt=i?Math.max(be,xe):Math.min(be,xe);return c=this.getScaleZoom(vt,c),de&&(c=Math.round(c/(de/100))*(de/100),c=i?Math.ceil(c/de)*de:Math.floor(c/de)*de),Math.max(d,Math.min(S,c))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new re(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,i){var o=this._getTopLeftPoint(e,i);return new D(o,o.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(e===void 0?this.getZoom():e)},getPane:function(e){return typeof e=="string"?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,i){var o=this.options.crs;return i=i===void 0?this._zoom:i,o.scale(e)/o.scale(i)},getScaleZoom:function(e,i){var o=this.options.crs;i=i===void 0?this._zoom:i;var c=o.zoom(e*o.scale(i));return isNaN(c)?1/0:c},project:function(e,i){return i=i===void 0?this._zoom:i,this.options.crs.latLngToPoint(q(e),i)},unproject:function(e,i){return i=i===void 0?this._zoom:i,this.options.crs.pointToLatLng(K(e),i)},layerPointToLatLng:function(e){var i=K(e).add(this.getPixelOrigin());return this.unproject(i)},latLngToLayerPoint:function(e){var i=this.project(q(e))._round();return i._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(q(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(R(e))},distance:function(e,i){return this.options.crs.distance(q(e),q(i))},containerPointToLayerPoint:function(e){return K(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return K(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var i=this.containerPointToLayerPoint(K(e));return this.layerPointToLatLng(i)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(q(e)))},mouseEventToContainerPoint:function(e){return ou(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var i=this._container=nu(e);if(i){if(i._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");Ce(i,"scroll",this._onScroll,this),this._containerId=h(i)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&ve.any3d,Re(e,"leaflet-container"+(ve.touch?" leaflet-touch":"")+(ve.retina?" leaflet-retina":"")+(ve.ielt9?" leaflet-oldie":"")+(ve.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var i=Ii(e,"position");i!=="absolute"&&i!=="relative"&&i!=="fixed"&&i!=="sticky"&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),nt(this._mapPane,new re(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Re(e.markerPane,"leaflet-zoom-hide"),Re(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,i,o){nt(this._mapPane,new re(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(e,i)._moveEnd(d),this.fire("viewreset"),c&&this.fire("load")},_moveStart:function(e,i){return e&&this.fire("zoomstart"),i||this.fire("movestart"),this},_move:function(e,i,o,c){i===void 0&&(i=this._zoom);var d=this._zoom!==i;return this._zoom=i,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),c?o&&o.pinch&&this.fire("zoom",o):((d||o&&o.pinch)&&this.fire("zoom",o),this.fire("move",o)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return X(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){nt(this._mapPane,this._getMapPanePos().subtract(e))},_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(e){this._targets={},this._targets[h(this._container)]=this;var i=e?Ue:Ce;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),ve.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){X(this._resizeRequest),this._resizeRequest=ne(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,i){for(var o=[],c,d=i==="mouseout"||i==="mouseover",S=e.target||e.srcElement,N=!1;S;){if(c=this._targets[h(S)],c&&(i==="click"||i==="preclick")&&this._draggableMoved(c)){N=!0;break}if(c&&c.listens(i,!0)&&(d&&!So(S,e)||(o.push(c),d))||S===this._container)break;S=S.parentNode}return!o.length&&!N&&!d&&this.listens(i,!0)&&(o=[this]),o},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var i=e.target||e.srcElement;if(!(!this._loaded||i._leaflet_disable_events||e.type==="click"&&this._isClickDisabled(i))){var o=e.type;o==="mousedown"&&go(i),this._fireDOMEvent(e,o)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,i,o){if(e.type==="click"){var c=a({},e);c.type="preclick",this._fireDOMEvent(c,c.type,o)}var d=this._findEventTargets(e,i);if(o){for(var S=[],N=0;N0?Math.round(e-i)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(i))},_limitZoom:function(e){var i=this.getMinZoom(),o=this.getMaxZoom(),c=ve.any3d?this.options.zoomSnap:1;return c&&(e=Math.round(e/c)*c),Math.max(i,Math.min(o,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){tt(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,i){var o=this._getCenterOffset(e)._trunc();return(i&&i.animate)!==!0&&!this.getSize().contains(o)?!1:(this.panBy(o,i),!0)},_createAnimProxy:function(){var e=this._proxy=ze("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(i){var o=co,c=this._proxy.style[o];Dn(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(){Xe(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),i=this.getZoom();Dn(this._proxy,this.project(e,i),this.getZoomScale(i,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,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(e)._divideBy(1-1/c);return o.animate!==!0&&!this.getSize().contains(d)?!1:(ne(function(){this._moveStart(!0,o.noMoveStart||!1)._animateZoom(e,i,!0)},this),!0)},_animateZoom:function(e,i,o,c){this._mapPane&&(o&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=i,Re(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:i,noUpdate:c}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(l(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&tt(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 Td(e,i){return new Me(e,i)}var jt=me.extend({options:{position:"topright"},initialize:function(e){x(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var i=this._map;return i&&i.removeControl(this),this.options.position=e,i&&i.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var i=this._container=this.onAdd(e),o=this.getPosition(),c=e._controlCorners[o];return Re(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?(Xe(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),ji=function(e){return new jt(e)};Me.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},i="leaflet-",o=this._controlContainer=ze("div",i+"control-container",this._container);function c(d,S){var N=i+d+" "+i+S;e[d+S]=ze("div",N,o)}c("top","left"),c("top","right"),c("bottom","left"),c("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)Xe(this._controlCorners[e]);Xe(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var cu=jt.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,i,o,c){return o1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=i&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var i=this._getLayer(h(e.target)),o=i.overlay?e.type==="add"?"overlayadd":"overlayremove":e.type==="add"?"baselayerchange":null;o&&this._map.fire(o,i)},_createRadioElement:function(e,i){var o='",c=document.createElement("div");return c.innerHTML=o,c.firstChild},_addItem:function(e){var i=document.createElement("label"),o=this._map.hasLayer(e.layer),c;e.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(e.layer),Ce(c,"click",this._onInputClick,this);var d=document.createElement("span");d.innerHTML=" "+e.name;var S=document.createElement("span");i.appendChild(S),S.appendChild(c),S.appendChild(d);var N=e.overlay?this._overlaysList:this._baseLayersList;return N.appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var e=this._layerControlInputs,i,o,c=[],d=[];this._handlingClick=!0;for(var S=e.length-1;S>=0;S--)i=e[S],o=this._getLayer(i.layerId).layer,i.checked?c.push(o):i.checked||d.push(o);for(S=0;S=0;d--)i=e[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 e=this._section;this._preventClick=!0,Ce(e,"click",ft),this.expand();var i=this;setTimeout(function(){Ue(e,"click",ft),i._preventClick=!1})}}),Cd=function(e,i,o){return new cu(e,i,o)},$o=jt.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(e){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(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),o},onRemove:function(e){e.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(e){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,i,o,c,d){var S=ze("a",o,c);return S.innerHTML=e,S.href="#",S.title=i,S.setAttribute("role","button"),S.setAttribute("aria-label",i),Di(S),Ce(S,"click",qn),Ce(S,"click",d,this),Ce(S,"click",this._refocusOnMap,this),S},_updateDisabled:function(){var e=this._map,i="leaflet-disabled";tt(this._zoomInButton,i),tt(this._zoomOutButton,i),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMinZoom())&&(Re(this._zoomOutButton,i),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(Re(this._zoomInButton,i),this._zoomInButton.setAttribute("aria-disabled","true"))}});Me.mergeOptions({zoomControl:!0}),Me.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new $o,this.addControl(this.zoomControl))});var Rd=function(e){return new $o(e)},lu=jt.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var i="leaflet-control-scale",o=ze("div",i),c=this.options;return this._addScales(c,i+"-line",o),e.on(c.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),o},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,i,o){e.metric&&(this._mScale=ze("div",i,o)),e.imperial&&(this._iScale=ze("div",i,o))},_update:function(){var e=this._map,i=e.getSize().y/2,o=e.distance(e.containerPointToLatLng([0,i]),e.containerPointToLatLng([this.options.maxWidth,i]));this._updateScales(o)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var i=this._getRoundNum(e),o=i<1e3?i+" m":i/1e3+" km";this._updateScale(this._mScale,o,i/e)},_updateImperial:function(e){var i=e*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(e,i,o){e.style.width=Math.round(this.options.maxWidth*o)+"px",e.innerHTML=i},_getRoundNum:function(e){var i=Math.pow(10,(Math.floor(e)+"").length-1),o=e/i;return o=o>=10?10:o>=5?5:o>=3?3:o>=2?2:1,i*o}}),Ld=function(e){return new lu(e)},xd='',Eo=jt.extend({options:{position:"bottomright",prefix:''+(ve.inlineSvg?xd+" ":"")+"Leaflet"},initialize:function(e){x(this,e),this._attributions={}},onAdd:function(e){e.attributionControl=this,this._container=ze("div","leaflet-control-attribution"),Di(this._container);for(var i in e._layers)e._layers[i].getAttribution&&this.addAttribution(e._layers[i].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",function(){this.removeAttribution(e.layer.getAttribution())},this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var i in this._attributions)this._attributions[i]&&e.push(i);var o=[];this.options.prefix&&o.push(this.options.prefix),e.length&&o.push(e.join(", ")),this._container.innerHTML=o.join(' ')}}});Me.mergeOptions({attributionControl:!0}),Me.addInitHook(function(){this.options.attributionControl&&new Eo().addTo(this)});var kd=function(e){return new Eo(e)};jt.Layers=cu,jt.Zoom=$o,jt.Scale=lu,jt.Attribution=Eo,ji.layers=Cd,ji.zoom=Rd,ji.scale=Ld,ji.attribution=kd;var Gt=me.extend({initialize:function(e){this._map=e},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}});Gt.addTo=function(e,i){return e.addHandler(i,this),this};var Od={Events:Se},fu=ve.touch?"touchstart mousedown":"mousedown",$n=$e.extend({options:{clickTolerance:3},initialize:function(e,i,o,c){x(this,c),this._element=e,this._dragStartTarget=i||e,this._preventOutline=o},enable:function(){this._enabled||(Ce(this._dragStartTarget,fu,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&($n._dragging===this&&this.finishDrag(!0),Ue(this._dragStartTarget,fu,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!lo(this._element,"leaflet-zoom-anim"))){if(e.touches&&e.touches.length!==1){$n._dragging===this&&this.finishDrag();return}if(!($n._dragging||e.shiftKey||e.which!==1&&e.button!==1&&!e.touches)&&($n._dragging=this,this._preventOutline&&go(this._element),po(),Mi(),!this._moving)){this.fire("down");var i=e.touches?e.touches[0]:e,o=iu(this._element);this._startPoint=new re(i.clientX,i.clientY),this._startPos=jn(this._element),this._parentScale=vo(o);var c=e.type==="mousedown";Ce(document,c?"mousemove":"touchmove",this._onMove,this),Ce(document,c?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(e){if(this._enabled){if(e.touches&&e.touches.length>1){this._moved=!0;return}var i=e.touches&&e.touches.length===1?e.touches[0]:e,o=new re(i.clientX,i.clientY)._subtract(this._startPoint);!o.x&&!o.y||Math.abs(o.x)+Math.abs(o.y)S&&(N=F,S=U);S>o&&(i[N]=1,Co(e,i,o,c,N),Co(e,i,o,N,d))}function Nd(e,i){for(var o=[e[0]],c=1,d=0,S=e.length;ci&&(o.push(e[c]),d=c);return di.max.x&&(o|=2),e.yi.max.y&&(o|=8),o}function zd(e,i){var o=i.x-e.x,c=i.y-e.y;return o*o+c*c}function Bi(e,i,o,c){var d=i.x,S=i.y,N=o.x-d,F=o.y-S,U=N*N+F*F,te;return U>0&&(te=((e.x-d)*N+(e.y-S)*F)/U,te>1?(d=o.x,S=o.y):te>0&&(d+=N*te,S+=F*te)),N=e.x-d,F=e.y-S,c?N*N+F*F:new re(d,S)}function At(e){return!v(e[0])||typeof e[0][0]!="object"&&typeof e[0][0]<"u"}function vu(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),At(e)}function yu(e,i){var o,c,d,S,N,F,U,te;if(!e||e.length===0)throw new Error("latlngs not passed");At(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var de=q([0,0]),be=R(e),xe=be.getNorthWest().distanceTo(be.getSouthWest())*be.getNorthEast().distanceTo(be.getNorthWest());xe<1700&&(de=To(e));var vt=e.length,ut=[];for(o=0;oc){U=(S-c)/d,te=[F.x-U*(F.x-N.x),F.y-U*(F.y-N.y)];break}var St=i.unproject(K(te));return q([St.lat+de.lat,St.lng+de.lng])}var Dd={__proto__:null,simplify:pu,pointToSegmentDistance:mu,closestPointOnSegment:Id,clipSegment:gu,_getEdgeIntersection:Er,_getBitCode:Zn,_sqClosestPointOnSegment:Bi,isFlat:At,_flat:vu,polylineCenter:yu},Ro={project:function(e){return new re(e.lng,e.lat)},unproject:function(e){return new M(e.y,e.x)},bounds:new D([-180,-90],[180,90])},Lo={R:6378137,R_MINOR:6356752314245179e-9,bounds:new D([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(e){var i=Math.PI/180,o=this.R,c=e.lat*i,d=this.R_MINOR/o,S=Math.sqrt(1-d*d),N=S*Math.sin(c),F=Math.tan(Math.PI/4-c/2)/Math.pow((1-N)/(1+N),S/2);return c=-o*Math.log(Math.max(F,1e-10)),new re(e.lng*i*o,c)},unproject:function(e){for(var i=180/Math.PI,o=this.R,c=this.R_MINOR/o,d=Math.sqrt(1-c*c),S=Math.exp(-e.y/o),N=Math.PI/2-2*Math.atan(S),F=0,U=.1,te;F<15&&Math.abs(U)>1e-7;F++)te=d*Math.sin(N),te=Math.pow((1-te)/(1+te),d/2),U=Math.PI/2-2*Math.atan(S*te)-N,N+=U;return new M(N*i,e.x*i/o)}},jd={__proto__:null,LonLat:Ro,Mercator:Lo,SphericalMercator:ae},Bd=a({},G,{code:"EPSG:3395",projection:Lo,transformation:function(){var e=.5/(Math.PI*Lo.R);return w(e,.5,-e,.5)}()}),wu=a({},G,{code:"EPSG:4326",projection:Ro,transformation:w(1/180,1,-1/180,.5)}),qd=a({},j,{projection:Ro,transformation:w(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,i){var o=i.lng-e.lng,c=i.lat-e.lat;return Math.sqrt(o*o+c*c)},infinite:!0});j.Earth=G,j.EPSG3395=Bd,j.EPSG3857=T,j.EPSG900913=A,j.EPSG4326=wu,j.Simple=qd;var Bt=$e.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[h(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[h(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var i=e.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})}}});Me.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var i=h(e);return this._layers[i]?this:(this._layers[i]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e),this)},removeLayer:function(e){var i=h(e);return this._layers[i]?(this._loaded&&e.onRemove(this),delete this._layers[i],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return h(e)in this._layers},eachLayer:function(e,i){for(var o in this._layers)e.call(i,this._layers[o]);return this},_addLayers:function(e){e=e?v(e)?e:[e]:[];for(var i=0,o=e.length;ithis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&i[0]instanceof M&&i[0].equals(i[o-1])&&i.pop(),i},_setLatLngs:function(e){on.prototype._setLatLngs.call(this,e),At(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return At(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,i=this.options.weight,o=new re(i,i);if(e=new D(e.min.subtract(o),e.max.add(o)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(e))){if(this.options.noClip){this._parts=this._rings;return}for(var c=0,d=this._rings.length,S;ce.y!=d.y>e.y&&e.x<(d.x-c.x)*(e.y-c.y)/(d.y-c.y)+c.x&&(i=!i);return i||on.prototype._containsPoint.call(this,e,!0)}});function Gd(e,i){return new li(e,i)}var an=sn.extend({initialize:function(e,i){x(this,i),this._layers={},e&&this.addData(e)},addData:function(e){var i=v(e)?e:e.features,o,c,d;if(i){for(o=0,c=i.length;o0&&d.push(d[0].slice()),d}function fi(e,i){return e.feature?a({},e.feature,{geometry:i}):kr(i)}function kr(e){return e.type==="Feature"||e.type==="FeatureCollection"?e:{type:"Feature",properties:{},geometry:e}}var Ao={toGeoJSON:function(e){return fi(this,{type:"Point",coordinates:Oo(this.getLatLng(),e)})}};Tr.include(Ao),xo.include(Ao),Cr.include(Ao),on.include({toGeoJSON:function(e){var i=!At(this._latlngs),o=xr(this._latlngs,i?1:0,!1,e);return fi(this,{type:(i?"Multi":"")+"LineString",coordinates:o})}}),li.include({toGeoJSON:function(e){var i=!At(this._latlngs),o=i&&!At(this._latlngs[0]),c=xr(this._latlngs,o?2:i?1:0,!0,e);return i||(c=[c]),fi(this,{type:(o?"Multi":"")+"Polygon",coordinates:c})}}),ui.include({toMultiPoint:function(e){var i=[];return this.eachLayer(function(o){i.push(o.toGeoJSON(e).geometry.coordinates)}),fi(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(e){var i=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(i==="MultiPoint")return this.toMultiPoint(e);var o=i==="GeometryCollection",c=[];return this.eachLayer(function(d){if(d.toGeoJSON){var S=d.toGeoJSON(e);if(o)c.push(S.geometry);else{var N=kr(S);N.type==="FeatureCollection"?c.push.apply(c,N.features):c.push(N)}}}),o?fi(this,{geometries:c,type:"GeometryCollection"}):{type:"FeatureCollection",features:c}}});function Su(e,i){return new an(e,i)}var Jd=Su,Or=Bt.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,i,o){this._url=e,this._bounds=R(i),x(this,o)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Re(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Xe(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&oi(this._image),this},bringToBack:function(){return this._map&&ai(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=R(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e=this._url.tagName==="IMG",i=this._image=e?this._url:ze("img");if(Re(i,"leaflet-image-layer"),this._zoomAnimated&&Re(i,"leaflet-zoom-animated"),this.options.className&&Re(i,this.options.className),i.onselectstart=g,i.onmousemove=g,i.onload=l(this.fire,this,"load"),i.onerror=l(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(i.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e){this._url=i.src;return}i.src=this._url,i.alt=this.options.alt},_animateZoom:function(e){var i=this._map.getZoomScale(e.zoom),o=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;Dn(this._image,o,i)},_reset:function(){var e=this._image,i=new D(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),o=i.getSize();nt(e,i.min),e.style.width=o.x+"px",e.style.height=o.y+"px"},_updateOpacity:function(){Ot(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 e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),Yd=function(e,i,o){return new Or(e,i,o)},$u=Or.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e=this._url.tagName==="VIDEO",i=this._image=e?this._url:ze("video");if(Re(i,"leaflet-image-layer"),this._zoomAnimated&&Re(i,"leaflet-zoom-animated"),this.options.className&&Re(i,this.options.className),i.onselectstart=g,i.onmousemove=g,i.onloadeddata=l(this.fire,this,"load"),e){for(var o=i.getElementsByTagName("source"),c=[],d=0;d0?c:[i.src];return}v(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 S=0;Sd?(i.height=d+"px",Re(e,S)):tt(e,S),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var i=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),o=this._getAnchor();nt(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 e=this._map,i=parseInt(Ii(this._container,"marginBottom"),10)||0,o=this._container.offsetHeight+i,c=this._containerWidth,d=new re(this._containerLeft,-o-this._containerBottom);d._add(jn(this._container));var S=e.layerPointToContainerPoint(d),N=K(this.options.autoPanPadding),F=K(this.options.autoPanPaddingTopLeft||N),U=K(this.options.autoPanPaddingBottomRight||N),te=e.getSize(),de=0,be=0;S.x+c+U.x>te.x&&(de=S.x+c-te.x+U.x),S.x-de-F.x<0&&(de=S.x-F.x),S.y+o+U.y>te.y&&(be=S.y+o-te.y+U.y),S.y-be-F.y<0&&(be=S.y-F.y),(de||be)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([de,be]))}},_getAnchor:function(){return K(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),ep=function(e,i){return new Ar(e,i)};Me.mergeOptions({closePopupOnClick:!0}),Me.include({openPopup:function(e,i,o){return this._initOverlay(Ar,e,i,o).openOn(this),this},closePopup:function(e){return e=arguments.length?e:this._popup,e&&e.close(),this}}),Bt.include({bindPopup:function(e,i){return this._popup=this._initOverlay(Ar,this._popup,e,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(e){return this._popup&&(this instanceof sn||(this._popup._source=this),this._popup._prepareOpen(e||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(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(!(!this._popup||!this._map)){qn(e);var i=e.layer||e.target;if(this._popup._source===i&&!(i instanceof En)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng);return}this._popup._source=i,this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){e.originalEvent.keyCode===13&&this._openPopup(e)}});var Ir=Jt.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Jt.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){Jt.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=Jt.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip",i=e+" "+(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(e){var i,o,c=this._map,d=this._container,S=c.latLngToContainerPoint(c.getCenter()),N=c.layerPointToContainerPoint(e),F=this.options.direction,U=d.offsetWidth,te=d.offsetHeight,de=K(this.options.offset),be=this._getAnchor();F==="top"?(i=U/2,o=te):F==="bottom"?(i=U/2,o=0):F==="center"?(i=U/2,o=te/2):F==="right"?(i=0,o=te/2):F==="left"?(i=U,o=te/2):N.xthis.options.maxZoom||oc?this._retainParent(d,S,N,c):!1)},_retainChildren:function(e,i,o,c){for(var d=2*e;d<2*e+2;d++)for(var S=2*i;S<2*i+2;S++){var N=new re(d,S);N.z=o+1;var F=this._tileCoordsToKey(N),U=this._tiles[F];if(U&&U.active){U.retain=!0;continue}else U&&U.loaded&&(U.retain=!0);o+1this.options.maxZoom||this.options.minZoom!==void 0&&d1){this._setView(e,o);return}for(var be=d.min.y;be<=d.max.y;be++)for(var xe=d.min.x;xe<=d.max.x;xe++){var vt=new re(xe,be);if(vt.z=this._tileZoom,!!this._isValidTile(vt)){var ut=this._tiles[this._tileCoordsToKey(vt)];ut?ut.current=!0:N.push(vt)}}if(N.sort(function(St,di){return St.distanceTo(S)-di.distanceTo(S)}),N.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var It=document.createDocumentFragment();for(xe=0;xeo.max.x)||!i.wrapLat&&(e.yo.max.y))return!1}if(!this.options.bounds)return!0;var c=this._tileCoordsToBounds(e);return R(this.options.bounds).overlaps(c)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var i=this._map,o=this.getTileSize(),c=e.scaleBy(o),d=c.add(o),S=i.unproject(c,e.z),N=i.unproject(d,e.z);return[S,N]},_tileCoordsToBounds:function(e){var i=this._tileCoordsToNwSe(e),o=new Z(i[0],i[1]);return this.options.noWrap||(o=this._map.wrapLatLngBounds(o)),o},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var i=e.split(":"),o=new re(+i[0],+i[1]);return o.z=+i[2],o},_removeTile:function(e){var i=this._tiles[e];i&&(Xe(i.el),delete this._tiles[e],this.fire("tileunload",{tile:i.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){Re(e,"leaflet-tile");var i=this.getTileSize();e.style.width=i.x+"px",e.style.height=i.y+"px",e.onselectstart=g,e.onmousemove=g,ve.ielt9&&this.options.opacity<1&&Ot(e,this.options.opacity)},_addTile:function(e,i){var o=this._getTilePos(e),c=this._tileCoordsToKey(e),d=this.createTile(this._wrapCoords(e),l(this._tileReady,this,e));this._initTile(d),this.createTile.length<2&&ne(l(this._tileReady,this,e,null,d)),nt(d,o),this._tiles[c]={el:d,coords:e,current:!0},i.appendChild(d),this.fire("tileloadstart",{tile:d,coords:e})},_tileReady:function(e,i,o){i&&this.fire("tileerror",{error:i,tile:o,coords:e});var c=this._tileCoordsToKey(e);o=this._tiles[c],o&&(o.loaded=+new Date,this._map._fadeAnimated?(Ot(o.el,0),X(this._fadeFrame),this._fadeFrame=ne(this._updateOpacity,this)):(o.active=!0,this._pruneTiles()),i||(Re(o.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:o.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),ve.ielt9||!this._map._fadeAnimated?ne(this._pruneTiles,this):setTimeout(l(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var i=new re(this._wrapX?m(e.x,this._wrapX):e.x,this._wrapY?m(e.y,this._wrapY):e.y);return i.z=e.z,i},_pxBoundsToTileRange:function(e){var i=this.getTileSize();return new D(e.min.unscaleBy(i).floor(),e.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function ip(e){return new Zi(e)}var hi=Zi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,i){this._url=e,i=x(this,i),i.detectRetina&&ve.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(e,i){return this._url===e&&i===void 0&&(i=!0),this._url=e,i||this.redraw(),this},createTile:function(e,i){var o=document.createElement("img");return Ce(o,"load",l(this._tileOnLoad,this,i,o)),Ce(o,"error",l(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(e),o},getTileUrl:function(e){var i={r:ve.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var o=this._globalTileRange.max.y-e.y;this.options.tms&&(i.y=o),i["-y"]=o}return p(this._url,a(i,this.options))},_tileOnLoad:function(e,i){ve.ielt9?setTimeout(l(e,this,null,i),0):e(null,i)},_tileOnError:function(e,i,o){var c=this.options.errorTileUrl;c&&i.getAttribute("src")!==c&&(i.src=c),e(o,i)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,i=this.options.maxZoom,o=this.options.zoomReverse,c=this.options.zoomOffset;return o&&(e=i-e),e+c},_getSubdomain:function(e){var i=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[i]},_abortLoading:function(){var e,i;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&(i=this._tiles[e].el,i.onload=g,i.onerror=g,!i.complete)){i.src=O;var o=this._tiles[e].coords;Xe(i),delete this._tiles[e],this.fire("tileabort",{tile:i,coords:o})}},_removeTile:function(e){var i=this._tiles[e];if(i)return i.el.setAttribute("src",O),Zi.prototype._removeTile.call(this,e)},_tileReady:function(e,i,o){if(!(!this._map||o&&o.getAttribute("src")===O))return Zi.prototype._tileReady.call(this,e,i,o)}});function Cu(e,i){return new hi(e,i)}var Ru=hi.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,i){this._url=e;var o=a({},this.defaultWmsParams);for(var c in i)c in this.options||(o[c]=i[c]);i=x(this,i);var d=i.detectRetina&&ve.retina?2:1,S=this.getTileSize();o.width=S.x*d,o.height=S.y*d,this.wmsParams=o},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var i=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[i]=this._crs.code,hi.prototype.onAdd.call(this,e)},getTileUrl:function(e){var i=this._tileCoordsToNwSe(e),o=this._crs,c=Y(o.project(i[0]),o.project(i[1])),d=c.min,S=c.max,N=(this._wmsVersion>=1.3&&this._crs===wu?[d.y,d.x,S.y,S.x]:[d.x,d.y,S.x,S.y]).join(","),F=hi.prototype.getTileUrl.call(this,e);return F+b(this.wmsParams,F,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+N},setParams:function(e,i){return a(this.wmsParams,e),i||this.redraw(),this}});function rp(e,i){return new Ru(e,i)}hi.WMS=Ru,Cu.wms=rp;var un=Bt.extend({options:{padding:.1},initialize:function(e){x(this,e),h(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),Re(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 e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,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),S=c.multiplyBy(-o).add(d).subtract(this._map._getNewPixelOrigin(e,i));ve.any3d?Dn(this._container,S,o):nt(this._container,S)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var e in this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,i=this._map.getSize(),o=this._map.containerPointToLayerPoint(i.multiplyBy(-e)).round();this._bounds=new D(o,o.add(i.multiplyBy(1+e*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Lu=un.extend({options:{tolerance:0},getEvents:function(){var e=un.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){un.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");Ce(e,"mousemove",this._onMouseMove,this),Ce(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ce(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){X(this._redrawRequest),delete this._ctx,Xe(this._container),Ue(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var e;this._redrawBounds=null;for(var i in this._layers)e=this._layers[i],e._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){un.prototype._update.call(this);var e=this._bounds,i=this._container,o=e.getSize(),c=ve.retina?2:1;nt(i,e.min),i.width=c*o.x,i.height=c*o.y,i.style.width=o.x+"px",i.style.height=o.y+"px",ve.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){un.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[h(e)]=e;var i=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=i),this._drawLast=i,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var i=e._order,o=i.next,c=i.prev;o?o.prev=c:this._drawLast=c,c?c.next=o:this._drawFirst=o,delete e._order,delete this._layers[h(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if(typeof e.options.dashArray=="string"){var i=e.options.dashArray.split(/[, ]+/),o=[],c,d;for(d=0;d')}}catch{}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),sp={_initContainer:function(){this._container=ze("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(un.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var i=e._container=Fi("shape");Re(i,"leaflet-vml-shape "+(this.options.className||"")),i.coordsize="1 1",e._path=Fi("path"),i.appendChild(e._path),this._updateStyle(e),this._layers[h(e)]=e},_addPath:function(e){var i=e._container;this._container.appendChild(i),e.options.interactive&&e.addInteractiveTarget(i)},_removePath:function(e){var i=e._container;Xe(i),e.removeInteractiveTarget(i),delete this._layers[h(e)]},_updateStyle:function(e){var i=e._stroke,o=e._fill,c=e.options,d=e._container;d.stroked=!!c.stroke,d.filled=!!c.fill,c.stroke?(i||(i=e._stroke=Fi("stroke")),d.appendChild(i),i.weight=c.weight+"px",i.color=c.color,i.opacity=c.opacity,c.dashArray?i.dashStyle=v(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),e._stroke=null),c.fill?(o||(o=e._fill=Fi("fill")),d.appendChild(o),o.color=c.fillColor||c.color,o.opacity=c.fillOpacity):o&&(d.removeChild(o),e._fill=null)},_updateCircle:function(e){var i=e._point.round(),o=Math.round(e._radius),c=Math.round(e._radiusY||o);this._setPath(e,e._empty()?"M0 0":"AL "+i.x+","+i.y+" "+o+","+c+" 0,"+65535*360)},_setPath:function(e,i){e._path.v=i},_bringToFront:function(e){oi(e._container)},_bringToBack:function(e){ai(e._container)}},Mr=ve.vml?Fi:B,Vi=un.extend({_initContainer:function(){this._container=Mr("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Mr("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Xe(this._container),Ue(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){un.prototype._update.call(this);var e=this._bounds,i=e.getSize(),o=this._container;(!this._svgSize||!this._svgSize.equals(i))&&(this._svgSize=i,o.setAttribute("width",i.x),o.setAttribute("height",i.y)),nt(o,e.min),o.setAttribute("viewBox",[e.min.x,e.min.y,i.x,i.y].join(" ")),this.fire("update")}},_initPath:function(e){var i=e._path=Mr("path");e.options.className&&Re(i,e.options.className),e.options.interactive&&Re(i,"leaflet-interactive"),this._updateStyle(e),this._layers[h(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){Xe(e._path),e.removeInteractiveTarget(e._path),delete this._layers[h(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var i=e._path,o=e.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(e,i){this._setPath(e,H(e._parts,i))},_updateCircle:function(e){var i=e._point,o=Math.max(Math.round(e._radius),1),c=Math.max(Math.round(e._radiusY),1)||o,d="a"+o+","+c+" 0 1,0 ",S=e._empty()?"M0 0":"M"+(i.x-o)+","+i.y+d+o*2+",0 "+d+-o*2+",0 ";this._setPath(e,S)},_setPath:function(e,i){e._path.setAttribute("d",i)},_bringToFront:function(e){oi(e._path)},_bringToBack:function(e){ai(e._path)}});ve.vml&&Vi.include(sp);function ku(e){return ve.svg||ve.vml?new Vi(e):null}Me.include({getRenderer:function(e){var i=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return i||(i=this._renderer=this._createRenderer()),this.hasLayer(i)||this.addLayer(i),i},_getPaneRenderer:function(e){if(e==="overlayPane"||e===void 0)return!1;var i=this._paneRenderers[e];return i===void 0&&(i=this._createRenderer({pane:e}),this._paneRenderers[e]=i),i},_createRenderer:function(e){return this.options.preferCanvas&&xu(e)||ku(e)}});var Ou=li.extend({initialize:function(e,i){li.prototype.initialize.call(this,this._boundsToLatLngs(e),i)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return e=R(e),[e.getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function op(e,i){return new Ou(e,i)}Vi.create=Mr,Vi.pointsToPath=H,an.geometryToLayer=Rr,an.coordsToLatLng=ko,an.coordsToLatLngs=Lr,an.latLngToCoords=Oo,an.latLngsToCoords=xr,an.getFeature=fi,an.asFeature=kr,Me.mergeOptions({boxZoom:!0});var Au=Gt.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){Ce(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ue(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Xe(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(e){if(!e.shiftKey||e.which!==1&&e.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Mi(),po(),this._startPoint=this._map.mouseEventToContainerPoint(e),Ce(document,{contextmenu:qn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=ze("div","leaflet-zoom-box",this._container),Re(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var i=new D(this._point,this._startPoint),o=i.getSize();nt(this._box,i.min),this._box.style.width=o.x+"px",this._box.style.height=o.y+"px"},_finish:function(){this._moved&&(Xe(this._box),tt(this._container,"leaflet-crosshair")),Ni(),mo(),Ue(document,{contextmenu:qn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if(!(e.which!==1&&e.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(l(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(e){e.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Me.addInitHook("addHandler","boxZoom",Au),Me.mergeOptions({doubleClickZoom:!0});var Iu=Gt.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var i=this._map,o=i.getZoom(),c=i.options.zoomDelta,d=e.originalEvent.shiftKey?o-c:o+c;i.options.doubleClickZoom==="center"?i.setZoom(d):i.setZoomAround(e.containerPoint,d)}});Me.addInitHook("addHandler","doubleClickZoom",Iu),Me.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Mu=Gt.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new $n(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}Re(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){tt(this._map._container,"leaflet-grab"),tt(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 e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var i=R(this._map.options.maxBounds);this._offsetLimit=Y(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;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){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",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,i){return e-(e-i)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var e=this._draggable._newPos.subtract(this._draggable._startPos),i=this._offsetLimit;e.xi.max.x&&(e.x=this._viscousLimit(e.x,i.max.x)),e.y>i.max.y&&(e.y=this._viscousLimit(e.y,i.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,i=Math.round(e/2),o=this._initialWorldOffset,c=this._draggable._newPos.x,d=(c-i+o)%e+i-o,S=(c+i+o)%e-i-o,N=Math.abs(d+o)0?S:-S))-i;this._delta=0,this._startTime=null,N&&(e.options.scrollWheelZoom==="center"?e.setZoom(i+N):e.setZoomAround(this._lastMousePos,i+N))}});Me.addInitHook("addHandler","scrollWheelZoom",zu);var ap=600;Me.mergeOptions({tapHold:ve.touchNative&&ve.safari&&ve.mobile,tapTolerance:15});var Du=Gt.extend({addHooks:function(){Ce(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ue(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),e.touches.length===1){var i=e.touches[0];this._startPos=this._newPos=new re(i.clientX,i.clientY),this._holdTimeout=setTimeout(l(function(){this._cancel(),this._isTapValid()&&(Ce(document,"touchend",ft),Ce(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",i))},this),ap),Ce(document,"touchend touchcancel contextmenu",this._cancel,this),Ce(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){Ue(document,"touchend",ft),Ue(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),Ue(document,"touchend touchcancel contextmenu",this._cancel,this),Ue(document,"touchmove",this._onMove,this)},_onMove:function(e){var i=e.touches[0];this._newPos=new re(i.clientX,i.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,i){var o=new MouseEvent(e,{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)}});Me.addInitHook("addHandler","tapHold",Du),Me.mergeOptions({touchZoom:ve.touch,bounceAtZoomLimits:!0});var ju=Gt.extend({addHooks:function(){Re(this._map._container,"leaflet-touch-zoom"),Ce(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){tt(this._map._container,"leaflet-touch-zoom"),Ue(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var i=this._map;if(!(!e.touches||e.touches.length!==2||i._animatingZoom||this._zooming)){var o=i.mouseEventToContainerPoint(e.touches[0]),c=i.mouseEventToContainerPoint(e.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(),Ce(document,"touchmove",this._onTouchMove,this),Ce(document,"touchend touchcancel",this._onTouchEnd,this),ft(e)}},_onTouchMove:function(e){if(!(!e.touches||e.touches.length!==2||!this._zooming)){var i=this._map,o=i.mouseEventToContainerPoint(e.touches[0]),c=i.mouseEventToContainerPoint(e.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 S=o._add(c)._divideBy(2)._subtract(this._centerPoint);if(d===1&&S.x===0&&S.y===0)return;this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(S),this._zoom)}this._moved||(i._moveStart(!0,!1),this._moved=!0),X(this._animRequest);var N=l(i._move,i,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=ne(N,this,!0),ft(e)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,X(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))}});Me.addInitHook("addHandler","touchZoom",ju),Me.BoxZoom=Au,Me.DoubleClickZoom=Iu,Me.Drag=Mu,Me.Keyboard=Nu,Me.ScrollWheelZoom=zu,Me.TapHold=Du,Me.TouchZoom=ju,r.Bounds=D,r.Browser=ve,r.CRS=j,r.Canvas=Lu,r.Circle=xo,r.CircleMarker=Cr,r.Class=me,r.Control=jt,r.DivIcon=Tu,r.DivOverlay=Jt,r.DomEvent=Ed,r.DomUtil=Sd,r.Draggable=$n,r.Evented=$e,r.FeatureGroup=sn,r.GeoJSON=an,r.GridLayer=Zi,r.Handler=Gt,r.Icon=ci,r.ImageOverlay=Or,r.LatLng=M,r.LatLngBounds=Z,r.Layer=Bt,r.LayerGroup=ui,r.LineUtil=Dd,r.Map=Me,r.Marker=Tr,r.Mixin=Od,r.Path=En,r.Point=re,r.PolyUtil=Ad,r.Polygon=li,r.Polyline=on,r.Popup=Ar,r.PosAnimation=uu,r.Projection=jd,r.Rectangle=Ou,r.Renderer=un,r.SVG=Vi,r.SVGOverlay=Eu,r.TileLayer=hi,r.Tooltip=Ir,r.Transformation=z,r.Util=fe,r.VideoOverlay=$u,r.bind=l,r.bounds=Y,r.canvas=xu,r.circle=Kd,r.circleMarker=Ud,r.control=ji,r.divIcon=np,r.extend=a,r.featureGroup=Fd,r.geoJSON=Su,r.geoJson=Jd,r.gridLayer=ip,r.icon=Vd,r.imageOverlay=Yd,r.latLng=q,r.latLngBounds=R,r.layerGroup=Zd,r.map=Td,r.marker=Hd,r.point=K,r.polygon=Gd,r.polyline=Wd,r.popup=ep,r.rectangle=op,r.setOptions=x,r.stamp=h,r.svg=ku,r.svgOverlay=Qd,r.tileLayer=Cu,r.tooltip=tp,r.transformation=w,r.version=s,r.videoOverlay=Xd;var up=window.L;r.noConflict=function(){return window.L=up,this},window.L=r})}(Xi,Xi.exports)),Xi.exports}var Ww=Kw();const en=Vh(Ww),Gw={class:"map-container expanded"},Jw={class:"map-wrapper"},Yw={key:0,class:"search-list-item-wrapper"},sf=41.87213786,of=-87.62576558,af=14,uf=18,Xw=Ge({__name:"MobileLeafleftMap",props:{resourcesPrefetch:{},locationsPrefetch:{},idReferences:{},imagesPrefetch:{},resourceRelationsPrefetch:{}},setup(t){const n=eo(),r=Je([]),s=Je(void 0),a=Je(!1),u=t;r.value=u.resourcesPrefetch.map(E=>{var $;return{resource:E,coordinates:(($=u.locationsPrefetch.find(x=>x.resourceinstance_id===E.resourceinstanceid))==null?void 0:$.data[u.idReferences.coordinatesNodeId])??void 0}});const l=Je(null);let f;const h=new Map,_=en.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon.png",iconSize:[22,34],popupAnchor:[0,-32]}),m=en.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon-active.png",iconSize:[33,51],popupAnchor:[0,-32]}),g=E=>{const $=en.map(E).setView([sf,of],af);return f=$,en.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:20,attribution:'© OpenStreetMap'}).addTo($),$.attributionControl.setPosition("topright"),r.value.forEach(x=>{var b;if(x.coordinates){const P=((b=x.coordinates)==null?void 0:b.features[0].geometry.coordinates)??void 0;if(P){const p=en.marker([P[1],P[0]],{icon:_});p.bindPopup(`${x.resource.descriptors.en.name}`),p.on("click",()=>{a.value=!1,setTimeout(()=>{s.value=x.resource.resourceinstanceid,a.value=!0},200)}),h.set(x.resource.resourceinstanceid,p),p.addTo($)}}}),f};gr(()=>{if(l.value&&(f=g(l.value),n.params.id)){const E=h.get(n.params.id);E&&(E.openPopup(),f==null||f.flyTo(E.getLatLng(),uf))}}),yn(()=>s.value,E=>{if(h.forEach($=>{$.setIcon(_),$.setZIndexOffset(0)}),E){const $=h.get(E);$?($.setIcon(m),$.setZIndexOffset(1e3),$.openPopup(),f==null||f.flyTo($.getLatLng(),uf)):f==null||f.closePopup()}else f==null||f.closePopup(),f==null||f.setView([sf,of],af)},{immediate:!0});const y=st(()=>u.resourcesPrefetch.find(E=>E.resourceinstanceid===s.value));return(E,$)=>(he(),we("div",Gw,[ie("div",null,[ie("div",Jw,[ie("div",{id:"map",ref_key:"mapElement",ref:l},null,512)])]),ke(Ti,{name:"slide-up"},{default:rt(()=>[y.value&&a.value?(he(),we("div",Yw,[(he(),Fe(Ri,{key:y.value.resourceinstanceid,"resource-name":y.value.descriptors.en.name,"resource-description":y.value.descriptors.en.description,"resource-id":y.value.resourceinstanceid,"resource-type":u.idReferences.graphIdToNameTable[y.value.graph_id],class:"search-list-item","image-tile-data":pe(ti)(y.value,u.imagesPrefetch,u.resourceRelationsPrefetch,u.idReferences),artist:pe(Ci)(y.value,u.resourcesPrefetch,u.resourceRelationsPrefetch,u.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))])):Ve("",!0)]),_:1})]))}}),Qw=Lt(Xw,[["__scopeId","data-v-aaeccb3d"]]),e0={class:"mobile-map-container"},t0={key:1,class:"map-placeholder"},n0=Ge({__name:"MapView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},locationsPrefetch:{},query:{}},setup(t){const n=t;return(r,s)=>(he(),we("div",e0,[r.resourcesPrefetch&&r.idReferences&&r.locationsPrefetch&&r.imagesPrefetch&&r.resourceRelationsPrefetch?(he(),Fe(Qw,{key:0,"resources-prefetch":n.resourcesPrefetch,"id-references":n.idReferences,"locations-prefetch":n.locationsPrefetch,"images-prefetch":n.imagesPrefetch,"resource-relations-prefetch":n.resourceRelationsPrefetch},null,8,["resources-prefetch","id-references","locations-prefetch","images-prefetch","resource-relations-prefetch"])):(he(),we("div",t0,"Loading map…"))]))}}),i0=Lt(n0,[["__scopeId","data-v-32a80e45"]]),r0=[{path:"/",component:zy},{path:"/wac/resource/:id",component:bw},{path:"/artists",component:jw},{path:"/artworks",component:Hw},{path:"/about",component:Aw},{path:"/map",component:i0}],s0=Vg({history:yg(),routes:r0}),o0={class:"map-container expanded chevron-expanded"},a0={class:"map-wrapper"},cf=41.87213786,lf=-87.62576558,ff=16,hf=18,u0=Ge({__name:"DesktopLeafletMap",props:{resourcesPrefetch:{},locationsPrefetch:{},idReferences:{}},setup(t){const n=Qs(),r=eo(),s=Je([]),a=t;s.value=a.resourcesPrefetch.map(g=>{var y;return{resource:g,coordinates:((y=a.locationsPrefetch.find(E=>E.resourceinstance_id===g.resourceinstanceid))==null?void 0:y.data[a.idReferences.coordinatesNodeId])??void 0}});const u=Je(null);let l;const f=new Map,h=en.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon.png",iconSize:[22,34],popupAnchor:[0,-32]}),_=en.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon-active.png",iconSize:[33,51],popupAnchor:[0,-32]}),m=g=>{const y=en.map(g).setView([cf,lf],ff);return l=y,en.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:20,attribution:'© OpenStreetMap'}).addTo(y),s.value.forEach(E=>{var $;if(E.coordinates){const x=(($=E.coordinates)==null?void 0:$.features[0].geometry.coordinates)??void 0;if(x){const b=en.marker([x[1],x[0]],{icon:h});b.bindPopup(`${E.resource.descriptors.en.name}`),b.on("click",()=>{n.push(`/wac/resource/${E.resource.resourceinstanceid}`)}),f.set(E.resource.resourceinstanceid,b),b.addTo(y)}}}),l};return gr(()=>{if(u.value&&(l=m(u.value),r.params.id)){const g=f.get(r.params.id);g&&(g.openPopup(),l==null||l.flyTo(g.getLatLng(),hf))}}),yn(()=>r.params.id,g=>{if(f.forEach(y=>{y.setIcon(h),y.setZIndexOffset(0)}),g){const y=f.get(g);y?(y.setIcon(_),y.setZIndexOffset(1e3),y.openPopup(),l==null||l.flyTo(y.getLatLng(),hf)):l==null||l.closePopup()}else l==null||l.closePopup(),l==null||l.setView([cf,lf],ff)},{immediate:!0}),(g,y)=>(he(),we("div",o0,[ie("div",null,[ie("div",a0,[ie("div",{id:"map",ref_key:"mapElement",ref:u},null,512)])])]))}}),c0=Lt(u0,[["__scopeId","data-v-b6edf638"]]),l0=["width","height"],f0=Ge({__name:"InfoIcon",props:{width:{default:30},height:{default:30}},setup(t){const n=t;return(r,s)=>(he(),we("svg",{width:n.width,height:n.height,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s[0]||(s[0]=[ie("path",{d:"M14.9283 19.7796V14.5848M14.9283 9.38992H14.9413M27.9154 14.5848C27.9154 21.7573 22.1008 27.5719 14.9283 27.5719C7.75569 27.5719 1.94116 21.7573 1.94116 14.5848C1.94116 7.41218 7.75569 1.59766 14.9283 1.59766C22.1008 1.59766 27.9154 7.41218 27.9154 14.5848Z",stroke:"#1E1E1E","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]),8,l0))}}),h0=["width","height"],d0=Ge({__name:"MapIcon",props:{width:{default:27},height:{default:32}},setup(t){const n=t;return(r,s)=>(he(),we("svg",{width:n.width,height:n.height,viewBox:"0 0 27 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s[0]||(s[0]=[ie("path",{d:"M25.3159 12.9872C25.3159 22.0782 13.6275 29.8705 13.6275 29.8705C13.6275 29.8705 1.93909 22.0782 1.93909 12.9872C1.93909 9.88727 3.17054 6.91428 5.36254 4.72228C7.55454 2.53028 10.5275 1.29883 13.6275 1.29883C16.7274 1.29883 19.7004 2.53028 21.8924 4.72228C24.0844 6.91428 25.3159 9.88727 25.3159 12.9872Z",stroke:"#1E1E1E","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),ie("path",{d:"M13.6275 16.8833C15.7793 16.8833 17.5236 15.139 17.5236 12.9872C17.5236 10.8354 15.7793 9.09109 13.6275 9.09109C11.4757 9.09109 9.73135 10.8354 9.73135 12.9872C9.73135 15.139 11.4757 16.8833 13.6275 16.8833Z",stroke:"#1E1E1E","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]),8,h0))}}),p0={class:"home"},m0={class:"welcome"},_0={class:"welcome-content"},g0={class:"welcome-credits"},v0={class:"welcome-credit",rel:"noopener noreferrer",target:"_blank",href:"https://opentechstrategies.com/"},y0=["src"],w0={class:"welcome-credit",target:"_blank",rel:"noopener noreferrer",href:"https://www.archesproject.org/"},b0=["src"],P0={id:"map-container"},S0={key:1,class:"map-placeholder"},$0={id:"search-list-container"},E0={class:"search-header"},T0={class:"search-input-wrapper"},C0=Ge({__name:"App",setup(t){const n=Qs(),r=!0,s=Je(void 0),a=Je(void 0),u=Je(void 0),l=Je(void 0),f=Je(void 0),h=Je(""),_=Je("");async function m(){try{const g=new URL("https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/prefetch/"),E=await(await fetch(g.toString())).json();s.value=E.idReferences,a.value=E.images,u.value=E.locations,l.value=E.resourceRelations,f.value=E.resources}catch{s.value=void 0,a.value=void 0,u.value=void 0,l.value=void 0,f.value=void 0}}return m(),yn(()=>n.currentRoute.value,g=>(_.value=g.path,!0)),(g,y)=>{const E=ki("RouterView");return he(),we("div",p0,[ie("header",m0,[ie("div",_0,[y[7]||(y[7]=ie("h1",{class:"welcome-text"},[ie("a",{href:"/"},[rn(" Explore Chicago’s "),ie("br"),rn(" Wabash Arts Corridor ")])],-1)),ie("div",g0,[ie("a",v0,[y[5]||(y[5]=ie("p",null,"Designed by",-1)),ie("img",{id:"ots-logo",src:pe(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/ots_logo.png":"/ots_logo.png",alt:"no image available",loading:"lazy"},null,8,y0)]),ie("a",w0,[y[6]||(y[6]=ie("p",null,"Powered by",-1)),ie("img",{id:"arches-logo",src:pe(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/arches_logo.png":"/arches_logo.png",alt:"no image available",loading:"lazy"},null,8,b0)])])])]),ie("main",null,[ie("div",P0,[f.value&&s.value&&u.value?(he(),Fe(c0,{key:0,"resources-prefetch":f.value,"id-references":s.value,"locations-prefetch":u.value},null,8,["resources-prefetch","id-references","locations-prefetch"])):(he(),we("div",S0,"Loading map…"))]),ie("div",$0,[ie("div",E0,[ie("div",T0,[ke(pe(Fh),{class:"search-icon"}),om(ie("input",{"onUpdate:modelValue":y[0]||(y[0]=$=>h.value=$),class:"search-input",placeholder:"Search"},null,512),[[z_,h.value]])]),ie("button",{type:"button",class:Xn(["nav-button",{active:_.value==="/artworks"}]),onClick:y[1]||(y[1]=$=>pe(n).push("/artworks"))},[ke(so,{class:"button-icon"}),y[8]||(y[8]=ie("p",null,"Artworks",-1)),y[9]||(y[9]=ie("div",{class:"active-bar"},null,-1))],2),ie("button",{type:"button",class:Xn(["nav-button",{active:_.value==="/artists"}]),onClick:y[2]||(y[2]=$=>pe(n).push("/artists"))},[ke(oo,{class:"button-icon"}),y[10]||(y[10]=ie("p",null,"Artists",-1)),y[11]||(y[11]=ie("div",{class:"active-bar"},null,-1))],2),ie("button",{id:"map-icon",type:"button",class:Xn(["nav-button map-icon",{active:_.value==="/map"}]),onClick:y[3]||(y[3]=$=>pe(n).push("/map"))},[ke(d0,{class:"button-icon"}),y[12]||(y[12]=ie("p",null,"Map",-1)),y[13]||(y[13]=ie("div",{class:"active-bar"},null,-1))],2),ie("button",{type:"button",class:Xn(["nav-button",{active:_.value==="/about"}]),onClick:y[4]||(y[4]=$=>pe(n).push("/about"))},[ke(f0,{class:"button-icon"}),y[14]||(y[14]=ie("p",null,"About",-1)),y[15]||(y[15]=ie("div",{class:"active-bar"},null,-1))],2)]),ke(E,null,{default:rt(({Component:$})=>[f.value&&l.value&&s.value&&a.value&&u.value?(he(),Fe(Ti,{key:0},{default:rt(()=>[(he(),Fe(bm($),{"resources-prefetch":f.value,"resource-relations-prefetch":l.value,"id-references":s.value,"images-prefetch":a.value,"locations-prefetch":u.value,query:h.value},null,8,["resources-prefetch","resource-relations-prefetch","id-references","images-prefetch","locations-prefetch","query"]))]),_:2},1024)):Ve("",!0)]),_:1})])])])}}}),R0=Lt(C0,[["__scopeId","data-v-9bce2ee5"]]),Qh=B_(R0);Qh.use(s0);Qh.mount("#app"); + */var Uw=Xi.exports,rf;function Kw(){return rf||(rf=1,function(t,n){(function(r,s){s(n)})(Uw,function(r){var s="1.9.4";function a(e){var i,o,c,d;for(o=1,c=arguments.length;o"u"||!L||!L.Mixin)){e=v(e)?e:[e];for(var i=0;i0?Math.floor(e):Math.ceil(e)};re.prototype={clone:function(){return new re(this.x,this.y)},add:function(e){return this.clone()._add(K(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(K(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new re(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new re(this.x/e.x,this.y/e.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=et(this.x),this.y=et(this.y),this},distanceTo:function(e){e=K(e);var i=e.x-this.x,o=e.y-this.y;return Math.sqrt(i*i+o*o)},equals:function(e){return e=K(e),e.x===this.x&&e.y===this.y},contains:function(e){return e=K(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+y(this.x)+", "+y(this.y)+")"}};function K(e,i,o){return e instanceof re?e:v(e)?new re(e[0],e[1]):e==null?e:typeof e=="object"&&"x"in e&&"y"in e?new re(e.x,e.y):new re(e,i,o)}function D(e,i){if(e)for(var o=i?[e,i]:e,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(e){e=Y(e);var i=this.min,o=this.max,c=e.min,d=e.max,S=d.x>=i.x&&c.x<=o.x,N=d.y>=i.y&&c.y<=o.y;return S&&N},overlaps:function(e){e=Y(e);var i=this.min,o=this.max,c=e.min,d=e.max,S=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(e){e=R(e);var i=this._southWest,o=this._northEast,c=e.getSouthWest(),d=e.getNorthEast(),S=d.lat>=i.lat&&c.lat<=o.lat,N=d.lng>=i.lng&&c.lng<=o.lng;return S&&N},overlaps:function(e){e=R(e);var i=this._southWest,o=this._northEast,c=e.getSouthWest(),d=e.getNorthEast(),S=d.lat>i.lat&&c.lati.lng&&c.lng1,od=function(){var e=!1;try{var i=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",g,i),window.removeEventListener("testPassiveEventSupport",g,i)}catch{}return e}(),ad=function(){return!!document.createElement("canvas").getContext}(),ao=!!(document.createElementNS&&B("svg").createSVGRect),ud=!!ao&&function(){var e=document.createElement("div");return e.innerHTML="",(e.firstChild&&e.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),cd=!ao&&function(){try{var e=document.createElement("div");e.innerHTML='';var i=e.firstChild;return i.style.behavior="url(#default#VML)",i&&typeof i.adj=="object"}catch{return!1}}(),ld=navigator.platform.indexOf("Mac")===0,fd=navigator.platform.indexOf("Linux")===0;function Kt(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var ve={ie:ce,ielt9:ue,edge:oe,webkit:Q,android:_e,android23:le,androidStock:ye,opera:Ee,chrome:Ne,gecko:Ae,safari:at,phantom:ot,opera12:$t,win:xt,ie3d:Pn,webkit3d:ri,gecko3d:pt,any3d:kt,mobile:Sn,mobileWebkit:ed,mobileWebkit3d:td,msPointer:Ha,pointer:Ua,touch:nd,touchNative:Ka,mobileOpera:id,mobileGecko:rd,retina:sd,passiveEvents:od,canvas:ad,svg:ao,vml:cd,inlineSvg:ud,mac:ld,linux:fd},Wa=ve.msPointer?"MSPointerDown":"pointerdown",Ga=ve.msPointer?"MSPointerMove":"pointermove",Ja=ve.msPointer?"MSPointerUp":"pointerup",Ya=ve.msPointer?"MSPointerCancel":"pointercancel",uo={touchstart:Wa,touchmove:Ga,touchend:Ja,touchcancel:Ya},Xa={touchstart:gd,touchmove:yr,touchend:yr,touchcancel:yr},si={},Qa=!1;function hd(e,i,o){return i==="touchstart"&&_d(),Xa[i]?(o=Xa[i].bind(this,o),e.addEventListener(uo[i],o,!1),o):(console.warn("wrong event specified:",i),g)}function dd(e,i,o){if(!uo[i]){console.warn("wrong event specified:",i);return}e.removeEventListener(uo[i],o,!1)}function pd(e){si[e.pointerId]=e}function md(e){si[e.pointerId]&&(si[e.pointerId]=e)}function eu(e){delete si[e.pointerId]}function _d(){Qa||(document.addEventListener(Wa,pd,!0),document.addEventListener(Ga,md,!0),document.addEventListener(Ja,eu,!0),document.addEventListener(Ya,eu,!0),Qa=!0)}function yr(e,i){if(i.pointerType!==(i.MSPOINTER_TYPE_MOUSE||"mouse")){i.touches=[];for(var o in si)i.touches.push(si[o]);i.changedTouches=[i],e(i)}}function gd(e,i){i.MSPOINTER_TYPE_TOUCH&&i.pointerType===i.MSPOINTER_TYPE_TOUCH&&ft(i),yr(e,i)}function vd(e){var i={},o,c;for(c in e)o=e[c],i[c]=o&&o.bind?o.bind(e):o;return e=i,i.type="dblclick",i.detail=2,i.isTrusted=!1,i._simulated=!0,i}var yd=200;function wd(e,i){e.addEventListener("dblclick",i);var o=0,c;function d(S){if(S.detail!==1){c=S.detail;return}if(!(S.pointerType==="mouse"||S.sourceCapabilities&&!S.sourceCapabilities.firesTouchEvents)){var N=su(S);if(!(N.some(function(U){return U instanceof HTMLLabelElement&&U.attributes.for})&&!N.some(function(U){return U instanceof HTMLInputElement||U instanceof HTMLSelectElement}))){var F=Date.now();F-o<=yd?(c++,c===2&&i(vd(S))):c=1,o=F}}}return e.addEventListener("click",d),{dblclick:i,simDblclick:d}}function bd(e,i){e.removeEventListener("dblclick",i.dblclick),e.removeEventListener("click",i.simDblclick)}var co=Pr(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Ai=Pr(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),tu=Ai==="webkitTransition"||Ai==="OTransition"?Ai+"End":"transitionend";function nu(e){return typeof e=="string"?document.getElementById(e):e}function Ii(e,i){var o=e.style[i]||e.currentStyle&&e.currentStyle[i];if((!o||o==="auto")&&document.defaultView){var c=document.defaultView.getComputedStyle(e,null);o=c?c[i]:null}return o==="auto"?null:o}function ze(e,i,o){var c=document.createElement(e);return c.className=i||"",o&&o.appendChild(c),c}function Xe(e){var i=e.parentNode;i&&i.removeChild(e)}function wr(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function oi(e){var i=e.parentNode;i&&i.lastChild!==e&&i.appendChild(e)}function ai(e){var i=e.parentNode;i&&i.firstChild!==e&&i.insertBefore(e,i.firstChild)}function lo(e,i){if(e.classList!==void 0)return e.classList.contains(i);var o=br(e);return o.length>0&&new RegExp("(^|\\s)"+i+"(\\s|$)").test(o)}function Re(e,i){if(e.classList!==void 0)for(var o=$(i),c=0,d=o.length;c0?2*window.devicePixelRatio:1;function au(e){return ve.edge?e.wheelDeltaY/2:e.deltaY&&e.deltaMode===0?-e.deltaY/$d:e.deltaY&&e.deltaMode===1?-e.deltaY*20:e.deltaY&&e.deltaMode===2?-e.deltaY*60:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?-e.detail*20:e.detail?e.detail/-32765*60:0}function So(e,i){var o=i.relatedTarget;if(!o)return!0;try{for(;o&&o!==e;)o=o.parentNode}catch{return!1}return o!==e}var Ed={__proto__:null,on:Ce,off:Ue,stopPropagation:Bn,disableScrollPropagation:Po,disableClickPropagation:Di,preventDefault:ft,stop:qn,getPropagationPath:su,getMousePosition:ou,getWheelDelta:au,isExternalTarget:So,addListener:Ce,removeListener:Ue},uu=$e.extend({run:function(e,i,o,c){this.stop(),this._el=e,this._inProgress=!0,this._duration=o||.25,this._easeOutPower=1/Math.max(c||.5,.2),this._startPos=jn(e),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=ie(this._animate,this),this._step()},_step:function(e){var i=+new Date-this._startTime,o=this._duration*1e3;ithis.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,i){this._enforcingBounds=!0;var o=this.getCenter(),c=this._limitCenter(o,this._zoom,R(e));return o.equals(c)||this.panTo(c,i),this._enforcingBounds=!1,this},panInside:function(e,i){i=i||{};var o=K(i.paddingTopLeft||i.padding||[0,0]),c=K(i.paddingBottomRight||i.padding||[0,0]),d=this.project(this.getCenter()),S=this.project(e),N=this.getPixelBounds(),F=Y([N.min.add(o),N.max.subtract(c)]),U=F.getSize();if(!F.contains(S)){this._enforcingBounds=!0;var te=S.subtract(F.getCenter()),de=F.extend(S).getSize().subtract(U);d.x+=te.x<0?-de.x:de.x,d.y+=te.y<0?-de.y:de.y,this.panTo(this.unproject(d),i),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=a({animate:!1,pan:!0},e===!0?{animate:!0}:e);var i=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),c=i.divideBy(2).round(),d=o.divideBy(2).round(),S=c.subtract(d);return!S.x&&!S.y?this:(e.animate&&e.pan?this.panBy(S):(e.pan&&this._rawPanBy(S),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(l(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(e){if(e=this._locateOptions=a({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var i=l(this._handleGeolocationResponse,this),o=l(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(i,o,e):navigator.geolocation.getCurrentPosition(i,o,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var i=e.code,o=e.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(e){if(this._container._leaflet_id){var i=e.coords.latitude,o=e.coords.longitude,c=new M(i,o),d=c.toBounds(e.coords.accuracy*2),S=this._locateOptions;if(S.setView){var N=this.getBoundsZoom(d);this.setView(c,S.maxZoom?Math.min(N,S.maxZoom):N)}var F={latlng:c,bounds:d,timestamp:e.timestamp};for(var U in e.coords)typeof e.coords[U]=="number"&&(F[U]=e.coords[U]);this.fire("locationfound",F)}},addHandler:function(e,i){if(!i)return this;var o=this[e]=new i(this);return this._handlers.push(o),this.options[e]&&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(),Xe(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(X(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var e;for(e in this._layers)this._layers[e].remove();for(e in this._panes)Xe(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,i){var o="leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),c=ze("div",o,i||this._mapPane);return e&&(this._panes[e]=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 e=this.getPixelBounds(),i=this.unproject(e.getBottomLeft()),o=this.unproject(e.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(e,i,o){e=R(e),o=K(o||[0,0]);var c=this.getZoom()||0,d=this.getMinZoom(),S=this.getMaxZoom(),N=e.getNorthWest(),F=e.getSouthEast(),U=this.getSize().subtract(o),te=Y(this.project(F,c),this.project(N,c)).getSize(),de=ve.any3d?this.options.zoomSnap:1,be=U.x/te.x,xe=U.y/te.y,vt=i?Math.max(be,xe):Math.min(be,xe);return c=this.getScaleZoom(vt,c),de&&(c=Math.round(c/(de/100))*(de/100),c=i?Math.ceil(c/de)*de:Math.floor(c/de)*de),Math.max(d,Math.min(S,c))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new re(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,i){var o=this._getTopLeftPoint(e,i);return new D(o,o.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(e===void 0?this.getZoom():e)},getPane:function(e){return typeof e=="string"?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,i){var o=this.options.crs;return i=i===void 0?this._zoom:i,o.scale(e)/o.scale(i)},getScaleZoom:function(e,i){var o=this.options.crs;i=i===void 0?this._zoom:i;var c=o.zoom(e*o.scale(i));return isNaN(c)?1/0:c},project:function(e,i){return i=i===void 0?this._zoom:i,this.options.crs.latLngToPoint(q(e),i)},unproject:function(e,i){return i=i===void 0?this._zoom:i,this.options.crs.pointToLatLng(K(e),i)},layerPointToLatLng:function(e){var i=K(e).add(this.getPixelOrigin());return this.unproject(i)},latLngToLayerPoint:function(e){var i=this.project(q(e))._round();return i._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(q(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(R(e))},distance:function(e,i){return this.options.crs.distance(q(e),q(i))},containerPointToLayerPoint:function(e){return K(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return K(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var i=this.containerPointToLayerPoint(K(e));return this.layerPointToLatLng(i)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(q(e)))},mouseEventToContainerPoint:function(e){return ou(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var i=this._container=nu(e);if(i){if(i._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");Ce(i,"scroll",this._onScroll,this),this._containerId=h(i)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&ve.any3d,Re(e,"leaflet-container"+(ve.touch?" leaflet-touch":"")+(ve.retina?" leaflet-retina":"")+(ve.ielt9?" leaflet-oldie":"")+(ve.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var i=Ii(e,"position");i!=="absolute"&&i!=="relative"&&i!=="fixed"&&i!=="sticky"&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),nt(this._mapPane,new re(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Re(e.markerPane,"leaflet-zoom-hide"),Re(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,i,o){nt(this._mapPane,new re(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(e,i)._moveEnd(d),this.fire("viewreset"),c&&this.fire("load")},_moveStart:function(e,i){return e&&this.fire("zoomstart"),i||this.fire("movestart"),this},_move:function(e,i,o,c){i===void 0&&(i=this._zoom);var d=this._zoom!==i;return this._zoom=i,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),c?o&&o.pinch&&this.fire("zoom",o):((d||o&&o.pinch)&&this.fire("zoom",o),this.fire("move",o)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return X(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){nt(this._mapPane,this._getMapPanePos().subtract(e))},_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(e){this._targets={},this._targets[h(this._container)]=this;var i=e?Ue:Ce;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),ve.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){X(this._resizeRequest),this._resizeRequest=ie(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,i){for(var o=[],c,d=i==="mouseout"||i==="mouseover",S=e.target||e.srcElement,N=!1;S;){if(c=this._targets[h(S)],c&&(i==="click"||i==="preclick")&&this._draggableMoved(c)){N=!0;break}if(c&&c.listens(i,!0)&&(d&&!So(S,e)||(o.push(c),d))||S===this._container)break;S=S.parentNode}return!o.length&&!N&&!d&&this.listens(i,!0)&&(o=[this]),o},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var i=e.target||e.srcElement;if(!(!this._loaded||i._leaflet_disable_events||e.type==="click"&&this._isClickDisabled(i))){var o=e.type;o==="mousedown"&&go(i),this._fireDOMEvent(e,o)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,i,o){if(e.type==="click"){var c=a({},e);c.type="preclick",this._fireDOMEvent(c,c.type,o)}var d=this._findEventTargets(e,i);if(o){for(var S=[],N=0;N0?Math.round(e-i)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(i))},_limitZoom:function(e){var i=this.getMinZoom(),o=this.getMaxZoom(),c=ve.any3d?this.options.zoomSnap:1;return c&&(e=Math.round(e/c)*c),Math.max(i,Math.min(o,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){tt(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,i){var o=this._getCenterOffset(e)._trunc();return(i&&i.animate)!==!0&&!this.getSize().contains(o)?!1:(this.panBy(o,i),!0)},_createAnimProxy:function(){var e=this._proxy=ze("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(i){var o=co,c=this._proxy.style[o];Dn(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(){Xe(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),i=this.getZoom();Dn(this._proxy,this.project(e,i),this.getZoomScale(i,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,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(e)._divideBy(1-1/c);return o.animate!==!0&&!this.getSize().contains(d)?!1:(ie(function(){this._moveStart(!0,o.noMoveStart||!1)._animateZoom(e,i,!0)},this),!0)},_animateZoom:function(e,i,o,c){this._mapPane&&(o&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=i,Re(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:i,noUpdate:c}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(l(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&tt(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 Td(e,i){return new Me(e,i)}var jt=me.extend({options:{position:"topright"},initialize:function(e){x(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var i=this._map;return i&&i.removeControl(this),this.options.position=e,i&&i.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var i=this._container=this.onAdd(e),o=this.getPosition(),c=e._controlCorners[o];return Re(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?(Xe(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),ji=function(e){return new jt(e)};Me.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},i="leaflet-",o=this._controlContainer=ze("div",i+"control-container",this._container);function c(d,S){var N=i+d+" "+i+S;e[d+S]=ze("div",N,o)}c("top","left"),c("top","right"),c("bottom","left"),c("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)Xe(this._controlCorners[e]);Xe(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var cu=jt.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,i,o,c){return o1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=i&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var i=this._getLayer(h(e.target)),o=i.overlay?e.type==="add"?"overlayadd":"overlayremove":e.type==="add"?"baselayerchange":null;o&&this._map.fire(o,i)},_createRadioElement:function(e,i){var o='",c=document.createElement("div");return c.innerHTML=o,c.firstChild},_addItem:function(e){var i=document.createElement("label"),o=this._map.hasLayer(e.layer),c;e.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(e.layer),Ce(c,"click",this._onInputClick,this);var d=document.createElement("span");d.innerHTML=" "+e.name;var S=document.createElement("span");i.appendChild(S),S.appendChild(c),S.appendChild(d);var N=e.overlay?this._overlaysList:this._baseLayersList;return N.appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var e=this._layerControlInputs,i,o,c=[],d=[];this._handlingClick=!0;for(var S=e.length-1;S>=0;S--)i=e[S],o=this._getLayer(i.layerId).layer,i.checked?c.push(o):i.checked||d.push(o);for(S=0;S=0;d--)i=e[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 e=this._section;this._preventClick=!0,Ce(e,"click",ft),this.expand();var i=this;setTimeout(function(){Ue(e,"click",ft),i._preventClick=!1})}}),Cd=function(e,i,o){return new cu(e,i,o)},$o=jt.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(e){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(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),o},onRemove:function(e){e.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(e){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,i,o,c,d){var S=ze("a",o,c);return S.innerHTML=e,S.href="#",S.title=i,S.setAttribute("role","button"),S.setAttribute("aria-label",i),Di(S),Ce(S,"click",qn),Ce(S,"click",d,this),Ce(S,"click",this._refocusOnMap,this),S},_updateDisabled:function(){var e=this._map,i="leaflet-disabled";tt(this._zoomInButton,i),tt(this._zoomOutButton,i),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMinZoom())&&(Re(this._zoomOutButton,i),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(Re(this._zoomInButton,i),this._zoomInButton.setAttribute("aria-disabled","true"))}});Me.mergeOptions({zoomControl:!0}),Me.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new $o,this.addControl(this.zoomControl))});var Rd=function(e){return new $o(e)},lu=jt.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var i="leaflet-control-scale",o=ze("div",i),c=this.options;return this._addScales(c,i+"-line",o),e.on(c.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),o},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,i,o){e.metric&&(this._mScale=ze("div",i,o)),e.imperial&&(this._iScale=ze("div",i,o))},_update:function(){var e=this._map,i=e.getSize().y/2,o=e.distance(e.containerPointToLatLng([0,i]),e.containerPointToLatLng([this.options.maxWidth,i]));this._updateScales(o)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var i=this._getRoundNum(e),o=i<1e3?i+" m":i/1e3+" km";this._updateScale(this._mScale,o,i/e)},_updateImperial:function(e){var i=e*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(e,i,o){e.style.width=Math.round(this.options.maxWidth*o)+"px",e.innerHTML=i},_getRoundNum:function(e){var i=Math.pow(10,(Math.floor(e)+"").length-1),o=e/i;return o=o>=10?10:o>=5?5:o>=3?3:o>=2?2:1,i*o}}),Ld=function(e){return new lu(e)},xd='',Eo=jt.extend({options:{position:"bottomright",prefix:''+(ve.inlineSvg?xd+" ":"")+"Leaflet"},initialize:function(e){x(this,e),this._attributions={}},onAdd:function(e){e.attributionControl=this,this._container=ze("div","leaflet-control-attribution"),Di(this._container);for(var i in e._layers)e._layers[i].getAttribution&&this.addAttribution(e._layers[i].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",function(){this.removeAttribution(e.layer.getAttribution())},this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var i in this._attributions)this._attributions[i]&&e.push(i);var o=[];this.options.prefix&&o.push(this.options.prefix),e.length&&o.push(e.join(", ")),this._container.innerHTML=o.join(' ')}}});Me.mergeOptions({attributionControl:!0}),Me.addInitHook(function(){this.options.attributionControl&&new Eo().addTo(this)});var kd=function(e){return new Eo(e)};jt.Layers=cu,jt.Zoom=$o,jt.Scale=lu,jt.Attribution=Eo,ji.layers=Cd,ji.zoom=Rd,ji.scale=Ld,ji.attribution=kd;var Gt=me.extend({initialize:function(e){this._map=e},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}});Gt.addTo=function(e,i){return e.addHandler(i,this),this};var Od={Events:Se},fu=ve.touch?"touchstart mousedown":"mousedown",$n=$e.extend({options:{clickTolerance:3},initialize:function(e,i,o,c){x(this,c),this._element=e,this._dragStartTarget=i||e,this._preventOutline=o},enable:function(){this._enabled||(Ce(this._dragStartTarget,fu,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&($n._dragging===this&&this.finishDrag(!0),Ue(this._dragStartTarget,fu,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!lo(this._element,"leaflet-zoom-anim"))){if(e.touches&&e.touches.length!==1){$n._dragging===this&&this.finishDrag();return}if(!($n._dragging||e.shiftKey||e.which!==1&&e.button!==1&&!e.touches)&&($n._dragging=this,this._preventOutline&&go(this._element),po(),Mi(),!this._moving)){this.fire("down");var i=e.touches?e.touches[0]:e,o=iu(this._element);this._startPoint=new re(i.clientX,i.clientY),this._startPos=jn(this._element),this._parentScale=vo(o);var c=e.type==="mousedown";Ce(document,c?"mousemove":"touchmove",this._onMove,this),Ce(document,c?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(e){if(this._enabled){if(e.touches&&e.touches.length>1){this._moved=!0;return}var i=e.touches&&e.touches.length===1?e.touches[0]:e,o=new re(i.clientX,i.clientY)._subtract(this._startPoint);!o.x&&!o.y||Math.abs(o.x)+Math.abs(o.y)S&&(N=F,S=U);S>o&&(i[N]=1,Co(e,i,o,c,N),Co(e,i,o,N,d))}function Nd(e,i){for(var o=[e[0]],c=1,d=0,S=e.length;ci&&(o.push(e[c]),d=c);return di.max.x&&(o|=2),e.yi.max.y&&(o|=8),o}function zd(e,i){var o=i.x-e.x,c=i.y-e.y;return o*o+c*c}function Bi(e,i,o,c){var d=i.x,S=i.y,N=o.x-d,F=o.y-S,U=N*N+F*F,te;return U>0&&(te=((e.x-d)*N+(e.y-S)*F)/U,te>1?(d=o.x,S=o.y):te>0&&(d+=N*te,S+=F*te)),N=e.x-d,F=e.y-S,c?N*N+F*F:new re(d,S)}function At(e){return!v(e[0])||typeof e[0][0]!="object"&&typeof e[0][0]<"u"}function vu(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),At(e)}function yu(e,i){var o,c,d,S,N,F,U,te;if(!e||e.length===0)throw new Error("latlngs not passed");At(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var de=q([0,0]),be=R(e),xe=be.getNorthWest().distanceTo(be.getSouthWest())*be.getNorthEast().distanceTo(be.getNorthWest());xe<1700&&(de=To(e));var vt=e.length,ut=[];for(o=0;oc){U=(S-c)/d,te=[F.x-U*(F.x-N.x),F.y-U*(F.y-N.y)];break}var St=i.unproject(K(te));return q([St.lat+de.lat,St.lng+de.lng])}var Dd={__proto__:null,simplify:pu,pointToSegmentDistance:mu,closestPointOnSegment:Id,clipSegment:gu,_getEdgeIntersection:Er,_getBitCode:Zn,_sqClosestPointOnSegment:Bi,isFlat:At,_flat:vu,polylineCenter:yu},Ro={project:function(e){return new re(e.lng,e.lat)},unproject:function(e){return new M(e.y,e.x)},bounds:new D([-180,-90],[180,90])},Lo={R:6378137,R_MINOR:6356752314245179e-9,bounds:new D([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(e){var i=Math.PI/180,o=this.R,c=e.lat*i,d=this.R_MINOR/o,S=Math.sqrt(1-d*d),N=S*Math.sin(c),F=Math.tan(Math.PI/4-c/2)/Math.pow((1-N)/(1+N),S/2);return c=-o*Math.log(Math.max(F,1e-10)),new re(e.lng*i*o,c)},unproject:function(e){for(var i=180/Math.PI,o=this.R,c=this.R_MINOR/o,d=Math.sqrt(1-c*c),S=Math.exp(-e.y/o),N=Math.PI/2-2*Math.atan(S),F=0,U=.1,te;F<15&&Math.abs(U)>1e-7;F++)te=d*Math.sin(N),te=Math.pow((1-te)/(1+te),d/2),U=Math.PI/2-2*Math.atan(S*te)-N,N+=U;return new M(N*i,e.x*i/o)}},jd={__proto__:null,LonLat:Ro,Mercator:Lo,SphericalMercator:ae},Bd=a({},G,{code:"EPSG:3395",projection:Lo,transformation:function(){var e=.5/(Math.PI*Lo.R);return w(e,.5,-e,.5)}()}),wu=a({},G,{code:"EPSG:4326",projection:Ro,transformation:w(1/180,1,-1/180,.5)}),qd=a({},j,{projection:Ro,transformation:w(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,i){var o=i.lng-e.lng,c=i.lat-e.lat;return Math.sqrt(o*o+c*c)},infinite:!0});j.Earth=G,j.EPSG3395=Bd,j.EPSG3857=T,j.EPSG900913=A,j.EPSG4326=wu,j.Simple=qd;var Bt=$e.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[h(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[h(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var i=e.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})}}});Me.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var i=h(e);return this._layers[i]?this:(this._layers[i]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e),this)},removeLayer:function(e){var i=h(e);return this._layers[i]?(this._loaded&&e.onRemove(this),delete this._layers[i],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return h(e)in this._layers},eachLayer:function(e,i){for(var o in this._layers)e.call(i,this._layers[o]);return this},_addLayers:function(e){e=e?v(e)?e:[e]:[];for(var i=0,o=e.length;ithis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&i[0]instanceof M&&i[0].equals(i[o-1])&&i.pop(),i},_setLatLngs:function(e){on.prototype._setLatLngs.call(this,e),At(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return At(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,i=this.options.weight,o=new re(i,i);if(e=new D(e.min.subtract(o),e.max.add(o)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(e))){if(this.options.noClip){this._parts=this._rings;return}for(var c=0,d=this._rings.length,S;ce.y!=d.y>e.y&&e.x<(d.x-c.x)*(e.y-c.y)/(d.y-c.y)+c.x&&(i=!i);return i||on.prototype._containsPoint.call(this,e,!0)}});function Gd(e,i){return new li(e,i)}var an=sn.extend({initialize:function(e,i){x(this,i),this._layers={},e&&this.addData(e)},addData:function(e){var i=v(e)?e:e.features,o,c,d;if(i){for(o=0,c=i.length;o0&&d.push(d[0].slice()),d}function fi(e,i){return e.feature?a({},e.feature,{geometry:i}):kr(i)}function kr(e){return e.type==="Feature"||e.type==="FeatureCollection"?e:{type:"Feature",properties:{},geometry:e}}var Ao={toGeoJSON:function(e){return fi(this,{type:"Point",coordinates:Oo(this.getLatLng(),e)})}};Tr.include(Ao),xo.include(Ao),Cr.include(Ao),on.include({toGeoJSON:function(e){var i=!At(this._latlngs),o=xr(this._latlngs,i?1:0,!1,e);return fi(this,{type:(i?"Multi":"")+"LineString",coordinates:o})}}),li.include({toGeoJSON:function(e){var i=!At(this._latlngs),o=i&&!At(this._latlngs[0]),c=xr(this._latlngs,o?2:i?1:0,!0,e);return i||(c=[c]),fi(this,{type:(o?"Multi":"")+"Polygon",coordinates:c})}}),ui.include({toMultiPoint:function(e){var i=[];return this.eachLayer(function(o){i.push(o.toGeoJSON(e).geometry.coordinates)}),fi(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(e){var i=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(i==="MultiPoint")return this.toMultiPoint(e);var o=i==="GeometryCollection",c=[];return this.eachLayer(function(d){if(d.toGeoJSON){var S=d.toGeoJSON(e);if(o)c.push(S.geometry);else{var N=kr(S);N.type==="FeatureCollection"?c.push.apply(c,N.features):c.push(N)}}}),o?fi(this,{geometries:c,type:"GeometryCollection"}):{type:"FeatureCollection",features:c}}});function Su(e,i){return new an(e,i)}var Jd=Su,Or=Bt.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,i,o){this._url=e,this._bounds=R(i),x(this,o)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Re(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Xe(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&oi(this._image),this},bringToBack:function(){return this._map&&ai(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=R(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e=this._url.tagName==="IMG",i=this._image=e?this._url:ze("img");if(Re(i,"leaflet-image-layer"),this._zoomAnimated&&Re(i,"leaflet-zoom-animated"),this.options.className&&Re(i,this.options.className),i.onselectstart=g,i.onmousemove=g,i.onload=l(this.fire,this,"load"),i.onerror=l(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(i.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e){this._url=i.src;return}i.src=this._url,i.alt=this.options.alt},_animateZoom:function(e){var i=this._map.getZoomScale(e.zoom),o=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;Dn(this._image,o,i)},_reset:function(){var e=this._image,i=new D(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),o=i.getSize();nt(e,i.min),e.style.width=o.x+"px",e.style.height=o.y+"px"},_updateOpacity:function(){Ot(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 e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),Yd=function(e,i,o){return new Or(e,i,o)},$u=Or.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e=this._url.tagName==="VIDEO",i=this._image=e?this._url:ze("video");if(Re(i,"leaflet-image-layer"),this._zoomAnimated&&Re(i,"leaflet-zoom-animated"),this.options.className&&Re(i,this.options.className),i.onselectstart=g,i.onmousemove=g,i.onloadeddata=l(this.fire,this,"load"),e){for(var o=i.getElementsByTagName("source"),c=[],d=0;d0?c:[i.src];return}v(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 S=0;Sd?(i.height=d+"px",Re(e,S)):tt(e,S),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var i=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),o=this._getAnchor();nt(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 e=this._map,i=parseInt(Ii(this._container,"marginBottom"),10)||0,o=this._container.offsetHeight+i,c=this._containerWidth,d=new re(this._containerLeft,-o-this._containerBottom);d._add(jn(this._container));var S=e.layerPointToContainerPoint(d),N=K(this.options.autoPanPadding),F=K(this.options.autoPanPaddingTopLeft||N),U=K(this.options.autoPanPaddingBottomRight||N),te=e.getSize(),de=0,be=0;S.x+c+U.x>te.x&&(de=S.x+c-te.x+U.x),S.x-de-F.x<0&&(de=S.x-F.x),S.y+o+U.y>te.y&&(be=S.y+o-te.y+U.y),S.y-be-F.y<0&&(be=S.y-F.y),(de||be)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([de,be]))}},_getAnchor:function(){return K(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),ep=function(e,i){return new Ar(e,i)};Me.mergeOptions({closePopupOnClick:!0}),Me.include({openPopup:function(e,i,o){return this._initOverlay(Ar,e,i,o).openOn(this),this},closePopup:function(e){return e=arguments.length?e:this._popup,e&&e.close(),this}}),Bt.include({bindPopup:function(e,i){return this._popup=this._initOverlay(Ar,this._popup,e,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(e){return this._popup&&(this instanceof sn||(this._popup._source=this),this._popup._prepareOpen(e||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(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(!(!this._popup||!this._map)){qn(e);var i=e.layer||e.target;if(this._popup._source===i&&!(i instanceof En)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng);return}this._popup._source=i,this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){e.originalEvent.keyCode===13&&this._openPopup(e)}});var Ir=Jt.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Jt.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){Jt.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=Jt.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip",i=e+" "+(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(e){var i,o,c=this._map,d=this._container,S=c.latLngToContainerPoint(c.getCenter()),N=c.layerPointToContainerPoint(e),F=this.options.direction,U=d.offsetWidth,te=d.offsetHeight,de=K(this.options.offset),be=this._getAnchor();F==="top"?(i=U/2,o=te):F==="bottom"?(i=U/2,o=0):F==="center"?(i=U/2,o=te/2):F==="right"?(i=0,o=te/2):F==="left"?(i=U,o=te/2):N.xthis.options.maxZoom||oc?this._retainParent(d,S,N,c):!1)},_retainChildren:function(e,i,o,c){for(var d=2*e;d<2*e+2;d++)for(var S=2*i;S<2*i+2;S++){var N=new re(d,S);N.z=o+1;var F=this._tileCoordsToKey(N),U=this._tiles[F];if(U&&U.active){U.retain=!0;continue}else U&&U.loaded&&(U.retain=!0);o+1this.options.maxZoom||this.options.minZoom!==void 0&&d1){this._setView(e,o);return}for(var be=d.min.y;be<=d.max.y;be++)for(var xe=d.min.x;xe<=d.max.x;xe++){var vt=new re(xe,be);if(vt.z=this._tileZoom,!!this._isValidTile(vt)){var ut=this._tiles[this._tileCoordsToKey(vt)];ut?ut.current=!0:N.push(vt)}}if(N.sort(function(St,di){return St.distanceTo(S)-di.distanceTo(S)}),N.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var It=document.createDocumentFragment();for(xe=0;xeo.max.x)||!i.wrapLat&&(e.yo.max.y))return!1}if(!this.options.bounds)return!0;var c=this._tileCoordsToBounds(e);return R(this.options.bounds).overlaps(c)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var i=this._map,o=this.getTileSize(),c=e.scaleBy(o),d=c.add(o),S=i.unproject(c,e.z),N=i.unproject(d,e.z);return[S,N]},_tileCoordsToBounds:function(e){var i=this._tileCoordsToNwSe(e),o=new Z(i[0],i[1]);return this.options.noWrap||(o=this._map.wrapLatLngBounds(o)),o},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var i=e.split(":"),o=new re(+i[0],+i[1]);return o.z=+i[2],o},_removeTile:function(e){var i=this._tiles[e];i&&(Xe(i.el),delete this._tiles[e],this.fire("tileunload",{tile:i.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){Re(e,"leaflet-tile");var i=this.getTileSize();e.style.width=i.x+"px",e.style.height=i.y+"px",e.onselectstart=g,e.onmousemove=g,ve.ielt9&&this.options.opacity<1&&Ot(e,this.options.opacity)},_addTile:function(e,i){var o=this._getTilePos(e),c=this._tileCoordsToKey(e),d=this.createTile(this._wrapCoords(e),l(this._tileReady,this,e));this._initTile(d),this.createTile.length<2&&ie(l(this._tileReady,this,e,null,d)),nt(d,o),this._tiles[c]={el:d,coords:e,current:!0},i.appendChild(d),this.fire("tileloadstart",{tile:d,coords:e})},_tileReady:function(e,i,o){i&&this.fire("tileerror",{error:i,tile:o,coords:e});var c=this._tileCoordsToKey(e);o=this._tiles[c],o&&(o.loaded=+new Date,this._map._fadeAnimated?(Ot(o.el,0),X(this._fadeFrame),this._fadeFrame=ie(this._updateOpacity,this)):(o.active=!0,this._pruneTiles()),i||(Re(o.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:o.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),ve.ielt9||!this._map._fadeAnimated?ie(this._pruneTiles,this):setTimeout(l(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var i=new re(this._wrapX?m(e.x,this._wrapX):e.x,this._wrapY?m(e.y,this._wrapY):e.y);return i.z=e.z,i},_pxBoundsToTileRange:function(e){var i=this.getTileSize();return new D(e.min.unscaleBy(i).floor(),e.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function ip(e){return new Zi(e)}var hi=Zi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,i){this._url=e,i=x(this,i),i.detectRetina&&ve.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(e,i){return this._url===e&&i===void 0&&(i=!0),this._url=e,i||this.redraw(),this},createTile:function(e,i){var o=document.createElement("img");return Ce(o,"load",l(this._tileOnLoad,this,i,o)),Ce(o,"error",l(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(e),o},getTileUrl:function(e){var i={r:ve.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var o=this._globalTileRange.max.y-e.y;this.options.tms&&(i.y=o),i["-y"]=o}return p(this._url,a(i,this.options))},_tileOnLoad:function(e,i){ve.ielt9?setTimeout(l(e,this,null,i),0):e(null,i)},_tileOnError:function(e,i,o){var c=this.options.errorTileUrl;c&&i.getAttribute("src")!==c&&(i.src=c),e(o,i)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,i=this.options.maxZoom,o=this.options.zoomReverse,c=this.options.zoomOffset;return o&&(e=i-e),e+c},_getSubdomain:function(e){var i=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[i]},_abortLoading:function(){var e,i;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&(i=this._tiles[e].el,i.onload=g,i.onerror=g,!i.complete)){i.src=O;var o=this._tiles[e].coords;Xe(i),delete this._tiles[e],this.fire("tileabort",{tile:i,coords:o})}},_removeTile:function(e){var i=this._tiles[e];if(i)return i.el.setAttribute("src",O),Zi.prototype._removeTile.call(this,e)},_tileReady:function(e,i,o){if(!(!this._map||o&&o.getAttribute("src")===O))return Zi.prototype._tileReady.call(this,e,i,o)}});function Cu(e,i){return new hi(e,i)}var Ru=hi.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,i){this._url=e;var o=a({},this.defaultWmsParams);for(var c in i)c in this.options||(o[c]=i[c]);i=x(this,i);var d=i.detectRetina&&ve.retina?2:1,S=this.getTileSize();o.width=S.x*d,o.height=S.y*d,this.wmsParams=o},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var i=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[i]=this._crs.code,hi.prototype.onAdd.call(this,e)},getTileUrl:function(e){var i=this._tileCoordsToNwSe(e),o=this._crs,c=Y(o.project(i[0]),o.project(i[1])),d=c.min,S=c.max,N=(this._wmsVersion>=1.3&&this._crs===wu?[d.y,d.x,S.y,S.x]:[d.x,d.y,S.x,S.y]).join(","),F=hi.prototype.getTileUrl.call(this,e);return F+b(this.wmsParams,F,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+N},setParams:function(e,i){return a(this.wmsParams,e),i||this.redraw(),this}});function rp(e,i){return new Ru(e,i)}hi.WMS=Ru,Cu.wms=rp;var un=Bt.extend({options:{padding:.1},initialize:function(e){x(this,e),h(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),Re(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 e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,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),S=c.multiplyBy(-o).add(d).subtract(this._map._getNewPixelOrigin(e,i));ve.any3d?Dn(this._container,S,o):nt(this._container,S)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var e in this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,i=this._map.getSize(),o=this._map.containerPointToLayerPoint(i.multiplyBy(-e)).round();this._bounds=new D(o,o.add(i.multiplyBy(1+e*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Lu=un.extend({options:{tolerance:0},getEvents:function(){var e=un.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){un.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");Ce(e,"mousemove",this._onMouseMove,this),Ce(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ce(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){X(this._redrawRequest),delete this._ctx,Xe(this._container),Ue(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var e;this._redrawBounds=null;for(var i in this._layers)e=this._layers[i],e._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){un.prototype._update.call(this);var e=this._bounds,i=this._container,o=e.getSize(),c=ve.retina?2:1;nt(i,e.min),i.width=c*o.x,i.height=c*o.y,i.style.width=o.x+"px",i.style.height=o.y+"px",ve.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){un.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[h(e)]=e;var i=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=i),this._drawLast=i,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var i=e._order,o=i.next,c=i.prev;o?o.prev=c:this._drawLast=c,c?c.next=o:this._drawFirst=o,delete e._order,delete this._layers[h(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if(typeof e.options.dashArray=="string"){var i=e.options.dashArray.split(/[, ]+/),o=[],c,d;for(d=0;d')}}catch{}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),sp={_initContainer:function(){this._container=ze("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(un.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var i=e._container=Fi("shape");Re(i,"leaflet-vml-shape "+(this.options.className||"")),i.coordsize="1 1",e._path=Fi("path"),i.appendChild(e._path),this._updateStyle(e),this._layers[h(e)]=e},_addPath:function(e){var i=e._container;this._container.appendChild(i),e.options.interactive&&e.addInteractiveTarget(i)},_removePath:function(e){var i=e._container;Xe(i),e.removeInteractiveTarget(i),delete this._layers[h(e)]},_updateStyle:function(e){var i=e._stroke,o=e._fill,c=e.options,d=e._container;d.stroked=!!c.stroke,d.filled=!!c.fill,c.stroke?(i||(i=e._stroke=Fi("stroke")),d.appendChild(i),i.weight=c.weight+"px",i.color=c.color,i.opacity=c.opacity,c.dashArray?i.dashStyle=v(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),e._stroke=null),c.fill?(o||(o=e._fill=Fi("fill")),d.appendChild(o),o.color=c.fillColor||c.color,o.opacity=c.fillOpacity):o&&(d.removeChild(o),e._fill=null)},_updateCircle:function(e){var i=e._point.round(),o=Math.round(e._radius),c=Math.round(e._radiusY||o);this._setPath(e,e._empty()?"M0 0":"AL "+i.x+","+i.y+" "+o+","+c+" 0,"+65535*360)},_setPath:function(e,i){e._path.v=i},_bringToFront:function(e){oi(e._container)},_bringToBack:function(e){ai(e._container)}},Mr=ve.vml?Fi:B,Vi=un.extend({_initContainer:function(){this._container=Mr("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Mr("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Xe(this._container),Ue(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){un.prototype._update.call(this);var e=this._bounds,i=e.getSize(),o=this._container;(!this._svgSize||!this._svgSize.equals(i))&&(this._svgSize=i,o.setAttribute("width",i.x),o.setAttribute("height",i.y)),nt(o,e.min),o.setAttribute("viewBox",[e.min.x,e.min.y,i.x,i.y].join(" ")),this.fire("update")}},_initPath:function(e){var i=e._path=Mr("path");e.options.className&&Re(i,e.options.className),e.options.interactive&&Re(i,"leaflet-interactive"),this._updateStyle(e),this._layers[h(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){Xe(e._path),e.removeInteractiveTarget(e._path),delete this._layers[h(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var i=e._path,o=e.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(e,i){this._setPath(e,H(e._parts,i))},_updateCircle:function(e){var i=e._point,o=Math.max(Math.round(e._radius),1),c=Math.max(Math.round(e._radiusY),1)||o,d="a"+o+","+c+" 0 1,0 ",S=e._empty()?"M0 0":"M"+(i.x-o)+","+i.y+d+o*2+",0 "+d+-o*2+",0 ";this._setPath(e,S)},_setPath:function(e,i){e._path.setAttribute("d",i)},_bringToFront:function(e){oi(e._path)},_bringToBack:function(e){ai(e._path)}});ve.vml&&Vi.include(sp);function ku(e){return ve.svg||ve.vml?new Vi(e):null}Me.include({getRenderer:function(e){var i=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return i||(i=this._renderer=this._createRenderer()),this.hasLayer(i)||this.addLayer(i),i},_getPaneRenderer:function(e){if(e==="overlayPane"||e===void 0)return!1;var i=this._paneRenderers[e];return i===void 0&&(i=this._createRenderer({pane:e}),this._paneRenderers[e]=i),i},_createRenderer:function(e){return this.options.preferCanvas&&xu(e)||ku(e)}});var Ou=li.extend({initialize:function(e,i){li.prototype.initialize.call(this,this._boundsToLatLngs(e),i)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return e=R(e),[e.getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function op(e,i){return new Ou(e,i)}Vi.create=Mr,Vi.pointsToPath=H,an.geometryToLayer=Rr,an.coordsToLatLng=ko,an.coordsToLatLngs=Lr,an.latLngToCoords=Oo,an.latLngsToCoords=xr,an.getFeature=fi,an.asFeature=kr,Me.mergeOptions({boxZoom:!0});var Au=Gt.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){Ce(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ue(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Xe(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(e){if(!e.shiftKey||e.which!==1&&e.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Mi(),po(),this._startPoint=this._map.mouseEventToContainerPoint(e),Ce(document,{contextmenu:qn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=ze("div","leaflet-zoom-box",this._container),Re(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var i=new D(this._point,this._startPoint),o=i.getSize();nt(this._box,i.min),this._box.style.width=o.x+"px",this._box.style.height=o.y+"px"},_finish:function(){this._moved&&(Xe(this._box),tt(this._container,"leaflet-crosshair")),Ni(),mo(),Ue(document,{contextmenu:qn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if(!(e.which!==1&&e.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(l(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(e){e.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Me.addInitHook("addHandler","boxZoom",Au),Me.mergeOptions({doubleClickZoom:!0});var Iu=Gt.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var i=this._map,o=i.getZoom(),c=i.options.zoomDelta,d=e.originalEvent.shiftKey?o-c:o+c;i.options.doubleClickZoom==="center"?i.setZoom(d):i.setZoomAround(e.containerPoint,d)}});Me.addInitHook("addHandler","doubleClickZoom",Iu),Me.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Mu=Gt.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new $n(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}Re(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){tt(this._map._container,"leaflet-grab"),tt(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 e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var i=R(this._map.options.maxBounds);this._offsetLimit=Y(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;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){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",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,i){return e-(e-i)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var e=this._draggable._newPos.subtract(this._draggable._startPos),i=this._offsetLimit;e.xi.max.x&&(e.x=this._viscousLimit(e.x,i.max.x)),e.y>i.max.y&&(e.y=this._viscousLimit(e.y,i.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,i=Math.round(e/2),o=this._initialWorldOffset,c=this._draggable._newPos.x,d=(c-i+o)%e+i-o,S=(c+i+o)%e-i-o,N=Math.abs(d+o)0?S:-S))-i;this._delta=0,this._startTime=null,N&&(e.options.scrollWheelZoom==="center"?e.setZoom(i+N):e.setZoomAround(this._lastMousePos,i+N))}});Me.addInitHook("addHandler","scrollWheelZoom",zu);var ap=600;Me.mergeOptions({tapHold:ve.touchNative&&ve.safari&&ve.mobile,tapTolerance:15});var Du=Gt.extend({addHooks:function(){Ce(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ue(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),e.touches.length===1){var i=e.touches[0];this._startPos=this._newPos=new re(i.clientX,i.clientY),this._holdTimeout=setTimeout(l(function(){this._cancel(),this._isTapValid()&&(Ce(document,"touchend",ft),Ce(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",i))},this),ap),Ce(document,"touchend touchcancel contextmenu",this._cancel,this),Ce(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){Ue(document,"touchend",ft),Ue(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),Ue(document,"touchend touchcancel contextmenu",this._cancel,this),Ue(document,"touchmove",this._onMove,this)},_onMove:function(e){var i=e.touches[0];this._newPos=new re(i.clientX,i.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,i){var o=new MouseEvent(e,{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)}});Me.addInitHook("addHandler","tapHold",Du),Me.mergeOptions({touchZoom:ve.touch,bounceAtZoomLimits:!0});var ju=Gt.extend({addHooks:function(){Re(this._map._container,"leaflet-touch-zoom"),Ce(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){tt(this._map._container,"leaflet-touch-zoom"),Ue(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var i=this._map;if(!(!e.touches||e.touches.length!==2||i._animatingZoom||this._zooming)){var o=i.mouseEventToContainerPoint(e.touches[0]),c=i.mouseEventToContainerPoint(e.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(),Ce(document,"touchmove",this._onTouchMove,this),Ce(document,"touchend touchcancel",this._onTouchEnd,this),ft(e)}},_onTouchMove:function(e){if(!(!e.touches||e.touches.length!==2||!this._zooming)){var i=this._map,o=i.mouseEventToContainerPoint(e.touches[0]),c=i.mouseEventToContainerPoint(e.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 S=o._add(c)._divideBy(2)._subtract(this._centerPoint);if(d===1&&S.x===0&&S.y===0)return;this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(S),this._zoom)}this._moved||(i._moveStart(!0,!1),this._moved=!0),X(this._animRequest);var N=l(i._move,i,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=ie(N,this,!0),ft(e)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,X(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))}});Me.addInitHook("addHandler","touchZoom",ju),Me.BoxZoom=Au,Me.DoubleClickZoom=Iu,Me.Drag=Mu,Me.Keyboard=Nu,Me.ScrollWheelZoom=zu,Me.TapHold=Du,Me.TouchZoom=ju,r.Bounds=D,r.Browser=ve,r.CRS=j,r.Canvas=Lu,r.Circle=xo,r.CircleMarker=Cr,r.Class=me,r.Control=jt,r.DivIcon=Tu,r.DivOverlay=Jt,r.DomEvent=Ed,r.DomUtil=Sd,r.Draggable=$n,r.Evented=$e,r.FeatureGroup=sn,r.GeoJSON=an,r.GridLayer=Zi,r.Handler=Gt,r.Icon=ci,r.ImageOverlay=Or,r.LatLng=M,r.LatLngBounds=Z,r.Layer=Bt,r.LayerGroup=ui,r.LineUtil=Dd,r.Map=Me,r.Marker=Tr,r.Mixin=Od,r.Path=En,r.Point=re,r.PolyUtil=Ad,r.Polygon=li,r.Polyline=on,r.Popup=Ar,r.PosAnimation=uu,r.Projection=jd,r.Rectangle=Ou,r.Renderer=un,r.SVG=Vi,r.SVGOverlay=Eu,r.TileLayer=hi,r.Tooltip=Ir,r.Transformation=z,r.Util=fe,r.VideoOverlay=$u,r.bind=l,r.bounds=Y,r.canvas=xu,r.circle=Kd,r.circleMarker=Ud,r.control=ji,r.divIcon=np,r.extend=a,r.featureGroup=Fd,r.geoJSON=Su,r.geoJson=Jd,r.gridLayer=ip,r.icon=Vd,r.imageOverlay=Yd,r.latLng=q,r.latLngBounds=R,r.layerGroup=Zd,r.map=Td,r.marker=Hd,r.point=K,r.polygon=Gd,r.polyline=Wd,r.popup=ep,r.rectangle=op,r.setOptions=x,r.stamp=h,r.svg=ku,r.svgOverlay=Qd,r.tileLayer=Cu,r.tooltip=tp,r.transformation=w,r.version=s,r.videoOverlay=Xd;var up=window.L;r.noConflict=function(){return window.L=up,this},window.L=r})}(Xi,Xi.exports)),Xi.exports}var Ww=Kw();const en=Vh(Ww),Gw={class:"map-container expanded"},Jw={class:"map-wrapper"},Yw={key:0,class:"search-list-item-wrapper"},sf=41.87213786,of=-87.62576558,af=14,uf=18,Xw=Ge({__name:"MobileLeafleftMap",props:{resourcesPrefetch:{},locationsPrefetch:{},idReferences:{},imagesPrefetch:{},resourceRelationsPrefetch:{}},setup(t){const n=eo(),r=Je([]),s=Je(void 0),a=Je(!1),u=t;r.value=u.resourcesPrefetch.map(E=>{var $;return{resource:E,coordinates:(($=u.locationsPrefetch.find(x=>x.resourceinstance_id===E.resourceinstanceid))==null?void 0:$.data[u.idReferences.coordinatesNodeId])??void 0}});const l=Je(null);let f;const h=new Map,_=en.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon.png",iconSize:[22,34],popupAnchor:[0,-32]}),m=en.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon-active.png",iconSize:[33,51],popupAnchor:[0,-32]}),g=E=>{const $=en.map(E).setView([sf,of],af);return f=$,en.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:20,attribution:'© OpenStreetMap'}).addTo($),$.attributionControl.setPosition("topright"),r.value.forEach(x=>{var b;if(x.coordinates){const P=((b=x.coordinates)==null?void 0:b.features[0].geometry.coordinates)??void 0;if(P){const p=en.marker([P[1],P[0]],{icon:_});p.bindPopup(`${x.resource.descriptors.en.name}`),p.on("click",()=>{a.value=!1,setTimeout(()=>{s.value=x.resource.resourceinstanceid,a.value=!0},200)}),h.set(x.resource.resourceinstanceid,p),p.addTo($)}}}),f};gr(()=>{if(l.value&&(f=g(l.value),n.params.id)){const E=h.get(n.params.id);E&&(E.openPopup(),f==null||f.flyTo(E.getLatLng(),uf))}}),yn(()=>s.value,E=>{if(h.forEach($=>{$.setIcon(_),$.setZIndexOffset(0)}),E){const $=h.get(E);$?($.setIcon(m),$.setZIndexOffset(1e3),$.openPopup(),f==null||f.flyTo($.getLatLng(),uf)):f==null||f.closePopup()}else f==null||f.closePopup(),f==null||f.setView([sf,of],af)},{immediate:!0});const y=st(()=>u.resourcesPrefetch.find(E=>E.resourceinstanceid===s.value));return(E,$)=>(he(),we("div",Gw,[ne("div",null,[ne("div",Jw,[ne("div",{id:"map",ref_key:"mapElement",ref:l},null,512)])]),ke(Ti,{name:"slide-up"},{default:rt(()=>[y.value&&a.value?(he(),we("div",Yw,[(he(),Fe(Ri,{key:y.value.resourceinstanceid,"resource-name":y.value.descriptors.en.name,"resource-description":y.value.descriptors.en.description,"resource-id":y.value.resourceinstanceid,"resource-type":u.idReferences.graphIdToNameTable[y.value.graph_id],class:"search-list-item","image-tile-data":pe(ti)(y.value,u.imagesPrefetch,u.resourceRelationsPrefetch,u.idReferences),artist:pe(Ci)(y.value,u.resourcesPrefetch,u.resourceRelationsPrefetch,u.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))])):Ve("",!0)]),_:1})]))}}),Qw=Lt(Xw,[["__scopeId","data-v-aaeccb3d"]]),e0={class:"mobile-map-container"},t0={key:1,class:"map-placeholder"},n0=Ge({__name:"MapView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},locationsPrefetch:{},query:{}},setup(t){const n=t;return(r,s)=>(he(),we("div",e0,[r.resourcesPrefetch&&r.idReferences&&r.locationsPrefetch&&r.imagesPrefetch&&r.resourceRelationsPrefetch?(he(),Fe(Qw,{key:0,"resources-prefetch":n.resourcesPrefetch,"id-references":n.idReferences,"locations-prefetch":n.locationsPrefetch,"images-prefetch":n.imagesPrefetch,"resource-relations-prefetch":n.resourceRelationsPrefetch},null,8,["resources-prefetch","id-references","locations-prefetch","images-prefetch","resource-relations-prefetch"])):(he(),we("div",t0,"Loading map…"))]))}}),i0=Lt(n0,[["__scopeId","data-v-32a80e45"]]),r0=[{path:"/",component:zy},{path:"/wac/resource/:id",component:bw},{path:"/artists",component:jw},{path:"/artworks",component:Hw},{path:"/about",component:Aw},{path:"/map",component:i0}],s0=Vg({history:yg(),routes:r0}),o0={class:"map-container expanded chevron-expanded"},a0={class:"map-wrapper"},cf=41.87213786,lf=-87.62576558,ff=16,hf=18,u0=Ge({__name:"DesktopLeafletMap",props:{resourcesPrefetch:{},locationsPrefetch:{},idReferences:{}},setup(t){const n=Qs(),r=eo(),s=Je([]),a=t;s.value=a.resourcesPrefetch.map(g=>{var y;return{resource:g,coordinates:((y=a.locationsPrefetch.find(E=>E.resourceinstance_id===g.resourceinstanceid))==null?void 0:y.data[a.idReferences.coordinatesNodeId])??void 0}});const u=Je(null);let l;const f=new Map,h=en.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon.png",iconSize:[22,34],popupAnchor:[0,-32]}),_=en.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon-active.png",iconSize:[33,51],popupAnchor:[0,-32]}),m=g=>{const y=en.map(g).setView([cf,lf],ff);return l=y,en.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:20,attribution:'© OpenStreetMap'}).addTo(y),s.value.forEach(E=>{var $;if(E.coordinates){const x=(($=E.coordinates)==null?void 0:$.features[0].geometry.coordinates)??void 0;if(x){const b=en.marker([x[1],x[0]],{icon:h});b.bindPopup(`${E.resource.descriptors.en.name}`),b.on("click",()=>{n.push(`/wac/resource/${E.resource.resourceinstanceid}`)}),f.set(E.resource.resourceinstanceid,b),b.addTo(y)}}}),l};return gr(()=>{if(u.value&&(l=m(u.value),r.params.id)){const g=f.get(r.params.id);g&&(g.openPopup(),l==null||l.flyTo(g.getLatLng(),hf))}}),yn(()=>r.params.id,g=>{if(f.forEach(y=>{y.setIcon(h),y.setZIndexOffset(0)}),g){const y=f.get(g);y?(y.setIcon(_),y.setZIndexOffset(1e3),y.openPopup(),l==null||l.flyTo(y.getLatLng(),hf)):l==null||l.closePopup()}else l==null||l.closePopup(),l==null||l.setView([cf,lf],ff)},{immediate:!0}),(g,y)=>(he(),we("div",o0,[ne("div",null,[ne("div",a0,[ne("div",{id:"map",ref_key:"mapElement",ref:u},null,512)])])]))}}),c0=Lt(u0,[["__scopeId","data-v-b6edf638"]]),l0=["width","height"],f0=Ge({__name:"InfoIcon",props:{width:{default:30},height:{default:30}},setup(t){const n=t;return(r,s)=>(he(),we("svg",{width:n.width,height:n.height,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s[0]||(s[0]=[ne("path",{d:"M14.9283 19.7796V14.5848M14.9283 9.38992H14.9413M27.9154 14.5848C27.9154 21.7573 22.1008 27.5719 14.9283 27.5719C7.75569 27.5719 1.94116 21.7573 1.94116 14.5848C1.94116 7.41218 7.75569 1.59766 14.9283 1.59766C22.1008 1.59766 27.9154 7.41218 27.9154 14.5848Z",stroke:"#1E1E1E","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]),8,l0))}}),h0=["width","height"],d0=Ge({__name:"MapIcon",props:{width:{default:27},height:{default:32}},setup(t){const n=t;return(r,s)=>(he(),we("svg",{width:n.width,height:n.height,viewBox:"0 0 27 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s[0]||(s[0]=[ne("path",{d:"M25.3159 12.9872C25.3159 22.0782 13.6275 29.8705 13.6275 29.8705C13.6275 29.8705 1.93909 22.0782 1.93909 12.9872C1.93909 9.88727 3.17054 6.91428 5.36254 4.72228C7.55454 2.53028 10.5275 1.29883 13.6275 1.29883C16.7274 1.29883 19.7004 2.53028 21.8924 4.72228C24.0844 6.91428 25.3159 9.88727 25.3159 12.9872Z",stroke:"#1E1E1E","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),ne("path",{d:"M13.6275 16.8833C15.7793 16.8833 17.5236 15.139 17.5236 12.9872C17.5236 10.8354 15.7793 9.09109 13.6275 9.09109C11.4757 9.09109 9.73135 10.8354 9.73135 12.9872C9.73135 15.139 11.4757 16.8833 13.6275 16.8833Z",stroke:"#1E1E1E","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]),8,h0))}}),p0={class:"home"},m0={class:"welcome"},_0={class:"welcome-content"},g0={class:"welcome-credits"},v0={class:"welcome-credit",rel:"noopener noreferrer",target:"_blank",href:"https://opentechstrategies.com/"},y0=["src"],w0={class:"welcome-credit",target:"_blank",rel:"noopener noreferrer",href:"https://www.archesproject.org/"},b0=["src"],P0={id:"map-container"},S0={key:1,class:"map-placeholder"},$0={id:"search-list-container"},E0={class:"search-header"},T0={class:"search-input-wrapper"},C0=Ge({__name:"App",setup(t){const n=Qs(),r=!0,s=Je(void 0),a=Je(void 0),u=Je(void 0),l=Je(void 0),f=Je(void 0),h=Je(""),_=Je("");async function m(){try{const g=new URL("https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/prefetch/"),E=await(await fetch(g.toString())).json();s.value=E.idReferences,a.value=E.images,u.value=E.locations,l.value=E.resourceRelations,f.value=E.resources}catch{s.value=void 0,a.value=void 0,u.value=void 0,l.value=void 0,f.value=void 0}}return m(),yn(()=>n.currentRoute.value,g=>(_.value=g.path,!0)),(g,y)=>{const E=ki("RouterView");return he(),we("div",p0,[ne("header",m0,[ne("div",_0,[y[7]||(y[7]=ne("h1",{class:"welcome-text"},[ne("a",{href:"/"},[rn(" Explore Chicago’s "),ne("br"),rn(" Wabash Arts Corridor ")])],-1)),ne("div",g0,[ne("a",v0,[y[5]||(y[5]=ne("p",null,"Designed by",-1)),ne("img",{id:"ots-logo",src:pe(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/ots_logo.png":"/ots_logo.png",alt:"no image available",loading:"lazy"},null,8,y0)]),ne("a",w0,[y[6]||(y[6]=ne("p",null,"Powered by",-1)),ne("img",{id:"arches-logo",src:pe(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/arches_logo.png":"/arches_logo.png",alt:"no image available",loading:"lazy"},null,8,b0)])])])]),ne("main",null,[ne("div",P0,[f.value&&s.value&&u.value?(he(),Fe(c0,{key:0,"resources-prefetch":f.value,"id-references":s.value,"locations-prefetch":u.value},null,8,["resources-prefetch","id-references","locations-prefetch"])):(he(),we("div",S0,"Loading map…"))]),ne("div",$0,[ne("div",E0,[ne("div",T0,[ke(pe(Fh),{class:"search-icon"}),om(ne("input",{"onUpdate:modelValue":y[0]||(y[0]=$=>h.value=$),class:"search-input",placeholder:"Search"},null,512),[[z_,h.value]])]),ne("button",{type:"button",class:Xn(["nav-button",{active:_.value==="/artworks"}]),onClick:y[1]||(y[1]=$=>pe(n).push("/artworks"))},[ke(so,{class:"button-icon"}),y[8]||(y[8]=ne("p",null,"Artworks",-1)),y[9]||(y[9]=ne("div",{class:"active-bar"},null,-1))],2),ne("button",{type:"button",class:Xn(["nav-button",{active:_.value==="/artists"}]),onClick:y[2]||(y[2]=$=>pe(n).push("/artists"))},[ke(oo,{class:"button-icon"}),y[10]||(y[10]=ne("p",null,"Artists",-1)),y[11]||(y[11]=ne("div",{class:"active-bar"},null,-1))],2),ne("button",{id:"map-icon",type:"button",class:Xn(["nav-button map-icon",{active:_.value==="/map"}]),onClick:y[3]||(y[3]=$=>pe(n).push("/map"))},[ke(d0,{class:"button-icon"}),y[12]||(y[12]=ne("p",null,"Map",-1)),y[13]||(y[13]=ne("div",{class:"active-bar"},null,-1))],2),ne("button",{type:"button",class:Xn(["nav-button",{active:_.value==="/about"}]),onClick:y[4]||(y[4]=$=>pe(n).push("/about"))},[ke(f0,{class:"button-icon"}),y[14]||(y[14]=ne("p",null,"About",-1)),y[15]||(y[15]=ne("div",{class:"active-bar"},null,-1))],2)]),ke(E,null,{default:rt(({Component:$})=>[f.value&&l.value&&s.value&&a.value&&u.value?(he(),Fe(Ti,{key:0},{default:rt(()=>[(he(),Fe(bm($),{"resources-prefetch":f.value,"resource-relations-prefetch":l.value,"id-references":s.value,"images-prefetch":a.value,"locations-prefetch":u.value,query:h.value},null,8,["resources-prefetch","resource-relations-prefetch","id-references","images-prefetch","locations-prefetch","query"]))]),_:2},1024)):Ve("",!0)]),_:1})])])])}}}),R0=Lt(C0,[["__scopeId","data-v-9bce2ee5"]]),Qh=B_(R0);Qh.use(s0);Qh.mount("#app"); diff --git a/archesdataviewer/static/vite_build/assets/index-Byc3Ge_L.css b/archesdataviewer/static/vite_build/assets/index-CxkG8-XR.css similarity index 98% rename from archesdataviewer/static/vite_build/assets/index-Byc3Ge_L.css rename to archesdataviewer/static/vite_build/assets/index-CxkG8-XR.css index 24c28e6..638f8d2 100644 --- a/archesdataviewer/static/vite_build/assets/index-Byc3Ge_L.css +++ b/archesdataviewer/static/vite_build/assets/index-CxkG8-XR.css @@ -1 +1 @@ -@import"https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";:root{--wac--font-size: 18px;--wac--font-size--h1: 24px;--wac--font-size--h2: 18px;--wac--font-size--h3: 18px;--wac--font-size--h1-sub: 20px;--wac--font-size--h2-sub: 16px;--wac--font-weight: 400;--wac--font-weight--bold: 700;--wac--font-weight--semibold: 600;--wac--line-height: 16.8px;--wac--line-height--h1: 28px;--wac--line-height--h2: 21.6px;--wac--line-height--h3: 19.2px;--wac--line-height--h1-sub: 24px;--wac--line-height--h2-sub: 18px;--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--halfx: calc(.5 * var(--wac--accessible-spacing--1x));--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--20x: calc(20 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--30x: calc(30 * 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-x: 268px;--wac--image--thumbnail-size-y: 191px;--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:Poppins,-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);color:#000;background-image:linear-gradient(to bottom,#fff 30%,#fff0 70%),url(https://arches-app-demo.opentechstrategies.com/archesdataviewer/background.png);background-size:cover;background-repeat:no-repeat;background-attachment:fixed;margin:0}h1,h2,h3,h4,h5,h6{margin:0;padding:0;font-size:inherit;letter-spacing:-.02em;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}h1{font-size:var(--wac--font-size--h1);line-height:var(--wac--line-height--h1);letter-spacing:-.02em;font-weight:var(--wac--font-weight--bold)}.h1-sub{font-size:var(--wac--font-size--h1-sub);font-weight:var(--wac--font-weight);line-height:var(--wac--line-height--h1-sub)}h2{font-size:var(--wac--font-size--h2);font-weight:var(--wac--font-weight--semibold);line-height:var(--wac--line-height--h2)}.h2-sub{font-size:var(--wac--font-size--h2-sub);font-weight:var(--wac--font-weight);line-height:var(--wac--line-height--h2-sub)}h3{font-size:var(--wac--font-size--h3);font-weight:var(--wac--font-weight--semibold);line-height:var(--wac--line-height--h3)}.h3-sub{font-size:var(--wac--font-size--h3-sub);font-weight:var(--wac--font-weight);line-height:var(--wac--line-height)}p,figure{margin:0;padding:0}p{font-size:var(--wac--font-size);font-weight:var(--wac--font-weight);line-height:var(--wac--line-height--h3);text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}a{text-decoration:underline;color:inherit}a:hover{text-decoration:none}a:focus-visible{outline:var(--wac--outline)}button,.button{all:unset;font-size:11px;line-height:13.2px;font-weight:var(--wac--font-weight--semibold);padding:var(--wac--accessible-spacing--halfx) var(--wac--accessible-spacing--1x);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:var(--wac--line-height--h1);height:var(--wac--line-height--h1);transition:transform .1s ease,opacity .3s ease-in-out}.chevron-expanded .button-icon{transform:rotate(90deg)}.back-button{display:flex;align-items:center;gap:.5rem;border-radius:32px;text-decoration:none}.back-button-icon{display:flex;align-items:center;justify-content:center;width:var(--wac--line-height);height:var(--wac--line-height)}.map-icon{display:flex}.search-results-container{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--2x);scrollbar-width:none}.search-results{display:flex;flex-direction:column;gap:1rem;margin:auto;max-width:650px;overflow-x:scroll}.search-results-header{display:flex;justify-content:space-between}.search-results-header-icon{width:var(--wac--line-height--h1);height:var(--wac--line-height--h1)}.search-results-header-title{display:flex;font-size:var(--wac--font-size--xxl);gap:var(--wac--accessible-spacing--1x)}.padded-view{padding-left:var(--wac--accessible-spacing--2x);padding-right:var(--wac--accessible-spacing--2x);padding-top:var(--wac--accessible-spacing--2x)}.search-results{--wac--image--thumbnail-size-x: 100%;--wac--image--thumbnail-size-y: 250px}@media screen and (min-width: 768px) and (max-width: 1460px){body{padding:var(--wac--semantic-spacing--primary)}.map-icon{display:none}.search-results-header{margin-left:0%}.search-results{display:grid;flex-direction:column;grid-template-columns:1fr 1fr;gap:1rem;margin:0;max-width:none;overflow-x:scroll}}@media screen and (min-width: 1460px){body{padding:var(--wac--semantic-spacing--primary);margin:8px}.map-icon{display:none}.search-results-header{margin-left:0%}.search-results{display:grid;flex-direction:column;grid-template-columns:1fr 1fr;gap:1rem;margin:0;max-width:650px;overflow-x:scroll}}.v-enter-active,.v-leave-active{transition:opacity .5s ease}.v-enter-from,.v-leave-to{opacity:0}.search-item-container[data-v-1a04ce61]{text-decoration:none}.search-result[data-v-1a04ce61]{display:flex;justify-content:flex-end;flex-direction:column;gap:var(--wac--semantic-spacing--quartary);cursor:pointer}.metadata[data-v-1a04ce61]{display:flex;flex-direction:column;align-items:flex-start;gap:var(--wac--accessible-spacing--halfx);line-height:var(--wac--line-height--tight);text-overflow:ellipsis;max-width:var(--wac--image--thumbnail-size-x)}.title-wrapper[data-v-1a04ce61]{display:flex;gap:var(--wac--accessible-spacing--halfx)}.title[data-v-1a04ce61]{-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;display:-webkit-box;text-overflow:ellipsis;overflow:hidden}.image[data-v-1a04ce61]{width:var(--wac--image--thumbnail-size-x);height:var(--wac--image--thumbnail-size-y);object-fit:cover;flex-shrink:0;background-color:#fff;padding:var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--4x) var(--wac--accessible-spacing--1x);box-shadow:4px 4px 8px #ccc}.search-list-container[data-v-6c54917f]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary);height:100vh}.search-results[data-v-6c54917f]{display:flex;flex-direction:column;gap:1rem;margin:auto;max-width:650px;overflow-x:scroll}.search-results-landing[data-v-6c54917f]{display:flex;flex-direction:row;gap:1rem;margin:0;max-width:650px;overflow-x:scroll;scrollbar-width:none}.search-results-header[data-v-6c54917f]{display:flex;justify-content:space-between}.search-results-header-icon[data-v-6c54917f]{width:var(--wac--line-height--h1);height:var(--wac--line-height--h1)}.see-all-button[data-v-6c54917f]{border-radius:32px}.search-content-container[data-v-6c54917f]{background-color:#fff8e0;width:100vw;padding:var(--wac--accessible-spacing--2x);display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--2x)}@media screen and (min-width: 768px) and (max-width: 1460px){.search-content-container[data-v-6c54917f]{background-color:none;width:auto}.search-results-landing[data-v-6c54917f]{max-width:none}}@media screen and (min-width: 1460px){.search-content-container[data-v-6c54917f]{background-color:none;width:auto}.search-results[data-v-6c54917f]{display:grid;flex-direction:column;grid-template-columns:1fr 1fr;gap:1rem;margin:auto;max-width:650px;overflow-x:scroll}.search-results-landing[data-v-6c54917f]{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:0;max-width:650px}.search-list-container[data-v-6c54917f]{height:auto}}.resource-detail-header[data-v-70164744]{display:flex;flex-direction:row;justify-content:space-between;gap:var(--wac--semantic-spacing--quintary)}.resource-detail-more-by-artist[data-v-70164744]{display:flex;flex-direction:column;align-items:flex-start;padding:0;gap:16px}.resource-detail-item[data-v-e8a8e62b]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary)}.resource-detail-item-byline[data-v-e8a8e62b]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--halfx)}.resource-detail-item-header[data-v-e8a8e62b]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary)}.resource-detail-item-title[data-v-e8a8e62b]{text-decoration-line:underline}.resource-detail-item-image[data-v-e8a8e62b]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary)}.resource-detail-item-image>img[data-v-e8a8e62b]{width:100%;height:100%;max-height:600px;background-color:#fff;padding:var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--4x) var(--wac--accessible-spacing--1x);box-shadow:1px 2px 2px gray}.resource-detail-item-credit[data-v-e8a8e62b]{color:var(--wac--color--gray)}.resource-detail-item-description[data-v-e8a8e62b]{margin:var(--wac--accessible-spacing--1x)}@media screen and (min-width: 768px){.resource-detail-item-byline[data-v-e8a8e62b]{flex-direction:row}}.more-artwork-image[data-v-ba592a51]{width:150px;height:150px;object-fit:cover;flex-shrink:0;cursor:pointer;transition:opacity .3s ease,filter .3s ease}.more-artwork-image[data-v-ba592a51]:hover{opacity:.5}.more-artworks-by-artist-title[data-v-1336561a]{font-style:normal;font-weight:700;font-size:var(--wac--font-size);line-height:100%;color:#000}.more-artworks-by-artist-gallery[data-v-1336561a]{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;padding:0;margin-top:var(--wac--accessible-spacing--1x);gap:16px;isolation:isolate}.artist-note[data-v-b3e5f951]{color:var(--wac--color--gray);padding-top:var(--wac--accessible-spacing--1x);padding-bottom:var(--wac--accessible-spacing--1x)}.resource-header-icon[data-v-d811d843]{display:none}.resource-detail[data-v-d811d843]{display:flex;flex-direction:column;background-color:#fff8e0;padding:var(--wac--accessible-spacing--1x);height:100vh;margin-left:var(--wac--accessible-spacing--2x);margin-right:var(--wac--accessible-spacing--2x)}.resource-detail-header[data-v-d811d843]{display:flex;justify-content:space-between}.resource-detail-title[data-v-d811d843]{display:flex;gap:var(--wac--accessible-spacing--1x)}.resource-detail-back-button[data-v-d811d843]{text-decoration:none;justify-content:flex-end}.resource-header-icon[data-v-d811d843]{width:var(--wac--line-height--h1);height:var(--wac--line-height--h1)}@media screen and (min-width: 768px) and (max-width: 1460px){.resource-detail[data-v-d811d843]{height:100%}}@media screen and (min-width: 1460px){.resource-detail[data-v-d811d843]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--1x);background-color:#fff8e0;padding:none;height:auto;margin-left:var(--wac--accessible-spacing--2x);margin-right:var(--wac--accessible-spacing--2x)}.resource-header-icon[data-v-d811d843]{display:block}.resource-detail-back-button[data-v-d811d843]{font-size:var(--wac--font-size)}}span[data-v-1a05c3a3]{font-size:.875rem;text-align:center}.credits[data-v-1a05c3a3]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--2x);flex-wrap:wrap}.credit[data-v-1a05c3a3]{display:flex;align-items:center;gap:var(--wac--accessible-spacing--halfx)}.credits img[data-v-1a05c3a3]{max-height:50px;max-width:150px;height:auto;object-fit:contain}.about[data-v-1a05c3a3]{margin:var(--wac--accessible-spacing--2x)}.about-title[data-v-1a05c3a3]{margin-left:0%}.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-aaeccb3d]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary);z-index:-1}#map[data-v-aaeccb3d]{width:100%;height:100%}.map-wrapper[data-v-aaeccb3d]{--wac--map-expanded-height: 600px;overflow:hidden;z-index:1;height:var(--wac--map-expanded-height);transition:height .5s ease}.search-list-item-wrapper[data-v-aaeccb3d]{position:fixed;bottom:0;left:0;width:100%;max-height:80vh;overflow-y:auto;background-color:#fff8e0;z-index:999;box-shadow:0 -2px 10px #0003;border-top-left-radius:8px;border-top-right-radius:8px;display:flex;justify-content:center;padding-top:var(--wac--accessible-spacing--1x)}.search-list-item[data-v-aaeccb3d]{margin:auto}.slide-up-enter-active[data-v-aaeccb3d],.slide-up-leave-active[data-v-aaeccb3d]{transition:transform .3s ease-out}.slide-up-enter-from[data-v-aaeccb3d],.slide-up-leave-to[data-v-aaeccb3d]{transform:translateY(120%)}.slide-up-enter-to[data-v-aaeccb3d],.slide-up-leave-from[data-v-aaeccb3d]{transform:translateY(0)}@media screen and (min-width: 1460px){.mobile-map-container[data-v-32a80e45]{display:none}}.map-container[data-v-b6edf638]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary)}#map[data-v-b6edf638]{width:100%;height:100%}.map-wrapper[data-v-b6edf638]{--wac--map-expanded-height: 400px;overflow:hidden;height:var(--wac--map-expanded-height);transition:height .5s ease;border-top-right-radius:20px;border-bottom-right-radius:20px}@media screen and (min-width: 768px) and (max-width: 1460px){.map-wrapper[data-v-b6edf638]{border-top-right-radius:20px;border-top-left-radius:20px}}@media screen and (min-width: 1460px){#map[data-v-b6edf638]{border-radius:0}.map-wrapper[data-v-b6edf638]{--wac--map-expanded-height: 100vh}.map-container[data-v-b6edf638]{position:sticky;top:0;overflow:hidden;gap:var(--wac--semantic-spacing--tertiary)}.map-container.collapsed .map-wrapper[data-v-b6edf638]{height:var(--wac--map-expanded-height);pointer-events:all}}main[data-v-9bce2ee5]{border-radius:20px}.home[data-v-9bce2ee5]{display:flex;flex-direction:column}.welcome[data-v-9bce2ee5]{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);text-wrap:balance;margin:var(--wac--accessible-spacing--2x)}.welcome-content[data-v-9bce2ee5]{display:flex;flex-direction:column}.welcome-credits[data-v-9bce2ee5]{display:flex;gap:var(--wac--accessible-spacing--halfx);flex-wrap:wrap}.welcome-text[data-v-9bce2ee5]{font-size:32px;line-height:38.4px}.welcome-credit[data-v-9bce2ee5]{display:flex;align-items:center;gap:var(--wac--accessible-spacing--halfx);text-decoration:none}.welcome-credits img[data-v-9bce2ee5]{max-height:20px;max-width:150px;height:auto;object-fit:contain}.welcome-text a[data-v-9bce2ee5]{text-decoration:none}.welcome-credits p[data-v-9bce2ee5]{font-weight:var(--wac--font-weight--normal);font-size:var(--wac--font-size);margin:0;white-space:nowrap}main[data-v-9bce2ee5]{display:flex;flex-direction:column}#map-container[data-v-9bce2ee5],#search-list-container[data-v-9bce2ee5]{flex-basis:50%}#search-list-container[data-v-9bce2ee5]{order:-1;background:#fff8e0}#map-container[data-v-9bce2ee5]{display:none}.search-header[data-v-9bce2ee5]{--wac--search-header--internal-spacing: var(--wac--semantic-spacing--tertiary);position:sticky;top:0;display:grid;grid-template-columns:1fr 1fr 1fr 1fr;align-items:center;justify-content:center;background:#fff;width:100vw;gap:var(--wac--semantic-spacing--tertiary);z-index:999;padding-bottom:6px}.search-input-wrapper[data-v-9bce2ee5]{display:flex;align-items:center;background:#ffd54f;max-height:50px;width:95%;justify-content:center;border-radius:32px;padding:var(--wac--accessible-spacing--2x);gap:var(--wac--accessible-spacing--halfx);grid-column-start:1;grid-column-end:5;margin:auto}.search-input[data-v-9bce2ee5]{width:100%;border:none;font-size:inherit;background:transparent;outline:none}.search-icon[data-v-9bce2ee5]{width:24px;height:24px;color:#000}.active-bar[data-v-9bce2ee5]{width:0px}.nav-button[data-v-9bce2ee5]{display:flex;flex-direction:column;align-items:center;gap:var(--wac--accessible-spacing--halfx);border:none;background:none;font-size:inherit;cursor:pointer;font-weight:var(--wac--font-weight--normal)}.nav-button.active .active-bar[data-v-9bce2ee5]{background:#ffd54f;width:50px;height:2px;transition:width .5s;border-radius:20px}@media screen and (min-width: 768px) and (max-width: 1460px){main[data-v-9bce2ee5]{background-color:#fff8e0}.welcome-content[data-v-9bce2ee5]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.welcome h1[data-v-9bce2ee5]{flex:1}#arches-logo[data-v-9bce2ee5],#ots-logo[data-v-9bce2ee5]{max-height:26px}.welcome-credits[data-v-9bce2ee5]{display:flex;flex-direction:column;align-items:left;justify-content:flex-end;gap:var(--wac--accessible-spacing--halfx);flex-wrap:wrap}.welcome-credit[data-v-9bce2ee5]{display:flex;align-items:center;gap:var(--wac--accessible-spacing--halfx)}.welcome-credits img[data-v-9bce2ee5]{max-height:50px;max-width:150px;height:auto;object-fit:contain}.welcome[data-v-9bce2ee5]{font-size:var(--wac--font-size--xxl)}#search-list-container[data-v-9bce2ee5]{order:0;padding:var(--wac--accessible-spacing--2x);background:none}main[data-v-9bce2ee5]{flex-direction:column}#map-container[data-v-9bce2ee5]{display:block}.search-header[data-v-9bce2ee5]{--wac--search-header--internal-spacing: var(--wac--semantic-spacing--tertiary);position:sticky;top:0;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--wac--search-header--internal-spacing);padding-block:var(--wac--search-header--internal-spacing);width:100%;background:linear-gradient(180deg,#fff8e0 calc(100% - var(--wac--search-header--internal-spacing)),#fff0);margin-bottom:0}#map-icon[data-v-9bce2ee5]{display:none}.nav-button[data-v-9bce2ee5]{display:flex;flex-direction:column;align-items:center;gap:var(--wac--accessible-spacing--halfx);border:none;background:none;font-size:inherit;cursor:pointer;font-weight:var(--wac--font-weight--normal)}.nav-button.active .active-bar[data-v-9bce2ee5]{background:#000;width:30px;height:2px;transition:width .5s;border-radius:20px}}@media screen and (min-width: 1460px){main[data-v-9bce2ee5]{padding-left:var(--wac--accessible-spacing--2x);background-color:#fff8e0}.welcome-content[data-v-9bce2ee5]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.welcome h1[data-v-9bce2ee5]{flex:1}#arches-logo[data-v-9bce2ee5],#ots-logo[data-v-9bce2ee5]{max-height:26px}.welcome-credits[data-v-9bce2ee5]{display:flex;align-items:center;justify-content:flex-end;gap:var(--wac--accessible-spacing--halfx);flex-wrap:wrap}.welcome-credit[data-v-9bce2ee5]{display:flex;align-items:center;gap:var(--wac--accessible-spacing--halfx)}.welcome-credits img[data-v-9bce2ee5]{max-height:50px;max-width:150px;height:auto;object-fit:contain}.welcome[data-v-9bce2ee5]{font-size:var(--wac--font-size--xxl)}#search-list-container[data-v-9bce2ee5]{order:0;padding:var(--wac--accessible-spacing--2x);background:none}main[data-v-9bce2ee5]{flex-direction:row-reverse}#map-container[data-v-9bce2ee5]{display:block}.search-header[data-v-9bce2ee5]{--wac--search-header--internal-spacing: var(--wac--semantic-spacing--tertiary);position:sticky;top:0;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--wac--search-header--internal-spacing);padding-block:var(--wac--search-header--internal-spacing);width:100%;background:linear-gradient(180deg,#fff8e0 calc(100% - var(--wac--search-header--internal-spacing)),#fff0)}#map-icon[data-v-9bce2ee5]{display:none}.nav-button[data-v-9bce2ee5]{display:flex;flex-direction:column;align-items:center;gap:var(--wac--accessible-spacing--halfx);border:none;background:none;font-size:inherit;cursor:pointer;font-weight:var(--wac--font-weight--normal)}.nav-button.active .active-bar[data-v-9bce2ee5]{background:#000;width:30px;height:2px;transition:width .5s;border-radius:20px}} +@import"https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";:root{--wac--font-size: 18px;--wac--font-size--h1: 24px;--wac--font-size--h2: 18px;--wac--font-size--h3: 18px;--wac--font-size--h1-sub: 20px;--wac--font-size--h2-sub: 16px;--wac--font-weight: 400;--wac--font-weight--bold: 700;--wac--font-weight--semibold: 600;--wac--line-height: 16.8px;--wac--line-height--h1: 28px;--wac--line-height--h2: 21.6px;--wac--line-height--h3: 19.2px;--wac--line-height--h1-sub: 24px;--wac--line-height--h2-sub: 18px;--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--halfx: calc(.5 * var(--wac--accessible-spacing--1x));--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--20x: calc(20 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--30x: calc(30 * 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-x: 268px;--wac--image--thumbnail-size-y: 191px;--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:Poppins,-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);color:#000;background-image:linear-gradient(to bottom,#fff 30%,#fff0 70%),url(https://arches-app-demo.opentechstrategies.com/archesdataviewer/background.png);background-size:cover;background-repeat:no-repeat;background-attachment:fixed;margin:0}h1,h2,h3,h4,h5,h6{margin:0;padding:0;font-size:inherit;letter-spacing:-.02em;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}h1{font-size:var(--wac--font-size--h1);line-height:var(--wac--line-height--h1);letter-spacing:-.02em;font-weight:var(--wac--font-weight--bold)}.h1-sub{font-size:var(--wac--font-size--h1-sub);font-weight:var(--wac--font-weight);line-height:var(--wac--line-height--h1-sub)}h2{font-size:var(--wac--font-size--h2);font-weight:var(--wac--font-weight--semibold);line-height:var(--wac--line-height--h2)}.h2-sub{font-size:var(--wac--font-size--h2-sub);font-weight:var(--wac--font-weight);line-height:var(--wac--line-height--h2-sub)}h3{font-size:var(--wac--font-size--h3);font-weight:var(--wac--font-weight--semibold);line-height:var(--wac--line-height--h3)}.h3-sub{font-size:var(--wac--font-size--h3-sub);font-weight:var(--wac--font-weight);line-height:var(--wac--line-height)}p,figure{margin:0;padding:0}p{font-size:var(--wac--font-size);font-weight:var(--wac--font-weight);line-height:var(--wac--line-height--h3);text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}a{text-decoration:underline;color:inherit}a:hover{text-decoration:none}a:focus-visible{outline:var(--wac--outline)}button,.button{all:unset;font-size:11px;line-height:13.2px;font-weight:var(--wac--font-weight--semibold);padding:var(--wac--accessible-spacing--halfx) var(--wac--accessible-spacing--1x);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:var(--wac--line-height--h1);height:var(--wac--line-height--h1);transition:transform .1s ease,opacity .3s ease-in-out}.chevron-expanded .button-icon{transform:rotate(90deg)}.back-button{display:flex;align-items:center;gap:.5rem;border-radius:32px;text-decoration:none}.back-button-icon{display:flex;align-items:center;justify-content:center;width:var(--wac--line-height);height:var(--wac--line-height)}.map-icon{display:flex}.search-results-container{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--2x);scrollbar-width:none}.search-results{display:flex;flex-direction:column;gap:1rem;margin:auto;max-width:650px;overflow-x:scroll}.search-results-header{display:flex;justify-content:space-between}.search-results-header-icon{width:var(--wac--line-height--h1);height:var(--wac--line-height--h1)}.search-results-header-title{display:flex;font-size:var(--wac--font-size--xxl);gap:var(--wac--accessible-spacing--1x)}.padded-view{padding-left:var(--wac--accessible-spacing--2x);padding-right:var(--wac--accessible-spacing--2x);padding-top:var(--wac--accessible-spacing--2x)}.search-results{--wac--image--thumbnail-size-x: 100%;--wac--image--thumbnail-size-y: 250px}@media screen and (min-width: 768px) and (max-width: 1460px){body{padding:var(--wac--semantic-spacing--primary)}.map-icon{display:none}.search-results-header{margin-left:0%}.search-results{display:grid;flex-direction:column;grid-template-columns:1fr 1fr;gap:1rem;margin:0;max-width:none;overflow-x:scroll}}@media screen and (min-width: 1460px){body{padding:var(--wac--semantic-spacing--primary);margin:8px}.map-icon{display:none}.search-results-header{margin-left:0%}.search-results{display:grid;flex-direction:column;grid-template-columns:1fr 1fr;gap:1rem;margin:0;max-width:650px;overflow-x:scroll}}.v-enter-active,.v-leave-active{transition:opacity .5s ease}.v-enter-from,.v-leave-to{opacity:0}.search-item-container[data-v-1a04ce61]{text-decoration:none}.search-result[data-v-1a04ce61]{display:flex;justify-content:flex-end;flex-direction:column;gap:var(--wac--semantic-spacing--quartary);cursor:pointer}.metadata[data-v-1a04ce61]{display:flex;flex-direction:column;align-items:flex-start;gap:var(--wac--accessible-spacing--halfx);line-height:var(--wac--line-height--tight);text-overflow:ellipsis;max-width:var(--wac--image--thumbnail-size-x)}.title-wrapper[data-v-1a04ce61]{display:flex;gap:var(--wac--accessible-spacing--halfx)}.title[data-v-1a04ce61]{-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;display:-webkit-box;text-overflow:ellipsis;overflow:hidden}.image[data-v-1a04ce61]{width:var(--wac--image--thumbnail-size-x);height:var(--wac--image--thumbnail-size-y);object-fit:cover;flex-shrink:0;background-color:#fff;padding:var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--4x) var(--wac--accessible-spacing--1x);box-shadow:4px 4px 8px #ccc}.search-list-container[data-v-6c54917f]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary);height:100vh}.search-results[data-v-6c54917f]{display:flex;flex-direction:column;gap:1rem;margin:auto;max-width:650px;overflow-x:scroll}.search-results-landing[data-v-6c54917f]{display:flex;flex-direction:row;gap:1rem;margin:0;max-width:650px;overflow-x:scroll;scrollbar-width:none}.search-results-header[data-v-6c54917f]{display:flex;justify-content:space-between}.search-results-header-icon[data-v-6c54917f]{width:var(--wac--line-height--h1);height:var(--wac--line-height--h1)}.see-all-button[data-v-6c54917f]{border-radius:32px}.search-content-container[data-v-6c54917f]{background-color:#fff8e0;width:100vw;padding:var(--wac--accessible-spacing--2x);display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--2x)}@media screen and (min-width: 768px) and (max-width: 1460px){.search-content-container[data-v-6c54917f]{background-color:none;width:auto}.search-results-landing[data-v-6c54917f]{max-width:none}}@media screen and (min-width: 1460px){.search-content-container[data-v-6c54917f]{background-color:none;width:auto}.search-results[data-v-6c54917f]{display:grid;flex-direction:column;grid-template-columns:1fr 1fr;gap:1rem;margin:auto;max-width:650px;overflow-x:scroll}.search-results-landing[data-v-6c54917f]{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:0;max-width:650px}.search-list-container[data-v-6c54917f]{height:auto}}.resource-detail-header[data-v-70164744]{display:flex;flex-direction:row;justify-content:space-between;gap:var(--wac--semantic-spacing--quintary)}.resource-detail-more-by-artist[data-v-70164744]{display:flex;flex-direction:column;align-items:flex-start;padding:0;gap:16px}.resource-detail-item[data-v-e8a8e62b]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary)}.resource-detail-item-byline[data-v-e8a8e62b]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--halfx)}.resource-detail-item-header[data-v-e8a8e62b]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary)}.resource-detail-item-title[data-v-e8a8e62b]{text-decoration-line:underline}.resource-detail-item-image[data-v-e8a8e62b]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary)}.resource-detail-item-image>img[data-v-e8a8e62b]{width:100%;height:100%;max-height:600px;background-color:#fff;padding:var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--4x) var(--wac--accessible-spacing--1x);box-shadow:1px 2px 2px gray}.resource-detail-item-credit[data-v-e8a8e62b]{color:var(--wac--color--gray)}.resource-detail-item-description[data-v-e8a8e62b]{margin:var(--wac--accessible-spacing--1x)}@media screen and (min-width: 768px){.resource-detail-item-byline[data-v-e8a8e62b]{flex-direction:row}}.more-artwork-image[data-v-ba592a51]{width:150px;height:150px;object-fit:cover;flex-shrink:0;cursor:pointer;transition:opacity .3s ease,filter .3s ease}.more-artwork-image[data-v-ba592a51]:hover{opacity:.5}.more-artworks-by-artist-title[data-v-1336561a]{font-style:normal;font-weight:700;font-size:var(--wac--font-size);line-height:100%;color:#000}.more-artworks-by-artist-gallery[data-v-1336561a]{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;padding:0;margin-top:var(--wac--accessible-spacing--1x);gap:16px;isolation:isolate}.artist-note[data-v-9d65b615]{color:var(--wac--color--gray);padding-top:var(--wac--accessible-spacing--1x);padding-bottom:var(--wac--accessible-spacing--1x)}.resource-header-icon[data-v-d811d843]{display:none}.resource-detail[data-v-d811d843]{display:flex;flex-direction:column;background-color:#fff8e0;padding:var(--wac--accessible-spacing--1x);height:100vh;margin-left:var(--wac--accessible-spacing--2x);margin-right:var(--wac--accessible-spacing--2x)}.resource-detail-header[data-v-d811d843]{display:flex;justify-content:space-between}.resource-detail-title[data-v-d811d843]{display:flex;gap:var(--wac--accessible-spacing--1x)}.resource-detail-back-button[data-v-d811d843]{text-decoration:none;justify-content:flex-end}.resource-header-icon[data-v-d811d843]{width:var(--wac--line-height--h1);height:var(--wac--line-height--h1)}@media screen and (min-width: 768px) and (max-width: 1460px){.resource-detail[data-v-d811d843]{height:100%}}@media screen and (min-width: 1460px){.resource-detail[data-v-d811d843]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--1x);background-color:#fff8e0;padding:none;height:auto;margin-left:var(--wac--accessible-spacing--2x);margin-right:var(--wac--accessible-spacing--2x)}.resource-header-icon[data-v-d811d843]{display:block}.resource-detail-back-button[data-v-d811d843]{font-size:var(--wac--font-size)}}span[data-v-d3e346a6]{font-size:.875rem;text-align:center}.credits[data-v-d3e346a6]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--2x);flex-wrap:wrap}.credit[data-v-d3e346a6]{display:flex;align-items:center;gap:var(--wac--accessible-spacing--halfx)}.credits img[data-v-d3e346a6]{max-height:50px;max-width:150px;height:auto;object-fit:contain}.about[data-v-d3e346a6]{margin:var(--wac--accessible-spacing--2x)}.about-title[data-v-d3e346a6]{margin-left:0%}.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-aaeccb3d]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary);z-index:-1}#map[data-v-aaeccb3d]{width:100%;height:100%}.map-wrapper[data-v-aaeccb3d]{--wac--map-expanded-height: 600px;overflow:hidden;z-index:1;height:var(--wac--map-expanded-height);transition:height .5s ease}.search-list-item-wrapper[data-v-aaeccb3d]{position:fixed;bottom:0;left:0;width:100%;max-height:80vh;overflow-y:auto;background-color:#fff8e0;z-index:999;box-shadow:0 -2px 10px #0003;border-top-left-radius:8px;border-top-right-radius:8px;display:flex;justify-content:center;padding-top:var(--wac--accessible-spacing--1x)}.search-list-item[data-v-aaeccb3d]{margin:auto}.slide-up-enter-active[data-v-aaeccb3d],.slide-up-leave-active[data-v-aaeccb3d]{transition:transform .3s ease-out}.slide-up-enter-from[data-v-aaeccb3d],.slide-up-leave-to[data-v-aaeccb3d]{transform:translateY(120%)}.slide-up-enter-to[data-v-aaeccb3d],.slide-up-leave-from[data-v-aaeccb3d]{transform:translateY(0)}@media screen and (min-width: 1460px){.mobile-map-container[data-v-32a80e45]{display:none}}.map-container[data-v-b6edf638]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary)}#map[data-v-b6edf638]{width:100%;height:100%}.map-wrapper[data-v-b6edf638]{--wac--map-expanded-height: 400px;overflow:hidden;height:var(--wac--map-expanded-height);transition:height .5s ease;border-top-right-radius:20px;border-bottom-right-radius:20px}@media screen and (min-width: 768px) and (max-width: 1460px){.map-wrapper[data-v-b6edf638]{border-top-right-radius:20px;border-top-left-radius:20px}}@media screen and (min-width: 1460px){#map[data-v-b6edf638]{border-radius:0}.map-wrapper[data-v-b6edf638]{--wac--map-expanded-height: 100vh}.map-container[data-v-b6edf638]{position:sticky;top:0;overflow:hidden;gap:var(--wac--semantic-spacing--tertiary)}.map-container.collapsed .map-wrapper[data-v-b6edf638]{height:var(--wac--map-expanded-height);pointer-events:all}}main[data-v-9bce2ee5]{border-radius:20px}.home[data-v-9bce2ee5]{display:flex;flex-direction:column}.welcome[data-v-9bce2ee5]{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);text-wrap:balance;margin:var(--wac--accessible-spacing--2x)}.welcome-content[data-v-9bce2ee5]{display:flex;flex-direction:column}.welcome-credits[data-v-9bce2ee5]{display:flex;gap:var(--wac--accessible-spacing--halfx);flex-wrap:wrap}.welcome-text[data-v-9bce2ee5]{font-size:32px;line-height:38.4px}.welcome-credit[data-v-9bce2ee5]{display:flex;align-items:center;gap:var(--wac--accessible-spacing--halfx);text-decoration:none}.welcome-credits img[data-v-9bce2ee5]{max-height:20px;max-width:150px;height:auto;object-fit:contain}.welcome-text a[data-v-9bce2ee5]{text-decoration:none}.welcome-credits p[data-v-9bce2ee5]{font-weight:var(--wac--font-weight--normal);font-size:var(--wac--font-size);margin:0;white-space:nowrap}main[data-v-9bce2ee5]{display:flex;flex-direction:column}#map-container[data-v-9bce2ee5],#search-list-container[data-v-9bce2ee5]{flex-basis:50%}#search-list-container[data-v-9bce2ee5]{order:-1;background:#fff8e0}#map-container[data-v-9bce2ee5]{display:none}.search-header[data-v-9bce2ee5]{--wac--search-header--internal-spacing: var(--wac--semantic-spacing--tertiary);position:sticky;top:0;display:grid;grid-template-columns:1fr 1fr 1fr 1fr;align-items:center;justify-content:center;background:#fff;width:100vw;gap:var(--wac--semantic-spacing--tertiary);z-index:999;padding-bottom:6px}.search-input-wrapper[data-v-9bce2ee5]{display:flex;align-items:center;background:#ffd54f;max-height:50px;width:95%;justify-content:center;border-radius:32px;padding:var(--wac--accessible-spacing--2x);gap:var(--wac--accessible-spacing--halfx);grid-column-start:1;grid-column-end:5;margin:auto}.search-input[data-v-9bce2ee5]{width:100%;border:none;font-size:inherit;background:transparent;outline:none}.search-icon[data-v-9bce2ee5]{width:24px;height:24px;color:#000}.active-bar[data-v-9bce2ee5]{width:0px}.nav-button[data-v-9bce2ee5]{display:flex;flex-direction:column;align-items:center;gap:var(--wac--accessible-spacing--halfx);border:none;background:none;font-size:inherit;cursor:pointer;font-weight:var(--wac--font-weight--normal)}.nav-button.active .active-bar[data-v-9bce2ee5]{background:#ffd54f;width:50px;height:2px;transition:width .5s;border-radius:20px}@media screen and (min-width: 768px) and (max-width: 1460px){main[data-v-9bce2ee5]{background-color:#fff8e0}.welcome-content[data-v-9bce2ee5]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.welcome h1[data-v-9bce2ee5]{flex:1}#arches-logo[data-v-9bce2ee5],#ots-logo[data-v-9bce2ee5]{max-height:26px}.welcome-credits[data-v-9bce2ee5]{display:flex;flex-direction:column;align-items:left;justify-content:flex-end;gap:var(--wac--accessible-spacing--halfx);flex-wrap:wrap}.welcome-credit[data-v-9bce2ee5]{display:flex;align-items:center;gap:var(--wac--accessible-spacing--halfx)}.welcome-credits img[data-v-9bce2ee5]{max-height:50px;max-width:150px;height:auto;object-fit:contain}.welcome[data-v-9bce2ee5]{font-size:var(--wac--font-size--xxl)}#search-list-container[data-v-9bce2ee5]{order:0;padding:var(--wac--accessible-spacing--2x);background:none}main[data-v-9bce2ee5]{flex-direction:column}#map-container[data-v-9bce2ee5]{display:block}.search-header[data-v-9bce2ee5]{--wac--search-header--internal-spacing: var(--wac--semantic-spacing--tertiary);position:sticky;top:0;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--wac--search-header--internal-spacing);padding-block:var(--wac--search-header--internal-spacing);width:100%;background:linear-gradient(180deg,#fff8e0 calc(100% - var(--wac--search-header--internal-spacing)),#fff0);margin-bottom:0}#map-icon[data-v-9bce2ee5]{display:none}.nav-button[data-v-9bce2ee5]{display:flex;flex-direction:column;align-items:center;gap:var(--wac--accessible-spacing--halfx);border:none;background:none;font-size:inherit;cursor:pointer;font-weight:var(--wac--font-weight--normal)}.nav-button.active .active-bar[data-v-9bce2ee5]{background:#000;width:30px;height:2px;transition:width .5s;border-radius:20px}}@media screen and (min-width: 1460px){main[data-v-9bce2ee5]{padding-left:var(--wac--accessible-spacing--2x);background-color:#fff8e0}.welcome-content[data-v-9bce2ee5]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.welcome h1[data-v-9bce2ee5]{flex:1}#arches-logo[data-v-9bce2ee5],#ots-logo[data-v-9bce2ee5]{max-height:26px}.welcome-credits[data-v-9bce2ee5]{display:flex;align-items:center;justify-content:flex-end;gap:var(--wac--accessible-spacing--halfx);flex-wrap:wrap}.welcome-credit[data-v-9bce2ee5]{display:flex;align-items:center;gap:var(--wac--accessible-spacing--halfx)}.welcome-credits img[data-v-9bce2ee5]{max-height:50px;max-width:150px;height:auto;object-fit:contain}.welcome[data-v-9bce2ee5]{font-size:var(--wac--font-size--xxl)}#search-list-container[data-v-9bce2ee5]{order:0;padding:var(--wac--accessible-spacing--2x);background:none}main[data-v-9bce2ee5]{flex-direction:row-reverse}#map-container[data-v-9bce2ee5]{display:block}.search-header[data-v-9bce2ee5]{--wac--search-header--internal-spacing: var(--wac--semantic-spacing--tertiary);position:sticky;top:0;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--wac--search-header--internal-spacing);padding-block:var(--wac--search-header--internal-spacing);width:100%;background:linear-gradient(180deg,#fff8e0 calc(100% - var(--wac--search-header--internal-spacing)),#fff0)}#map-icon[data-v-9bce2ee5]{display:none}.nav-button[data-v-9bce2ee5]{display:flex;flex-direction:column;align-items:center;gap:var(--wac--accessible-spacing--halfx);border:none;background:none;font-size:inherit;cursor:pointer;font-weight:var(--wac--font-weight--normal)}.nav-button.active .active-bar[data-v-9bce2ee5]{background:#000;width:30px;height:2px;transition:width .5s;border-radius:20px}} diff --git a/archesdataviewer/static/vite_build/index.html b/archesdataviewer/static/vite_build/index.html index c5efb73..c4d85fc 100644 --- a/archesdataviewer/static/vite_build/index.html +++ b/archesdataviewer/static/vite_build/index.html @@ -4,8 +4,8 @@ Arches Data Viewer - - + +
diff --git a/front-end/src/components/ArtistNote.vue b/front-end/src/components/ArtistNote.vue index f678b88..41b9fba 100644 --- a/front-end/src/components/ArtistNote.vue +++ b/front-end/src/components/ArtistNote.vue @@ -2,6 +2,7 @@

{{ remoteServerResponse.note }} +

{{ remoteServerResponse.url }} diff --git a/front-end/src/views/AboutView.vue b/front-end/src/views/AboutView.vue index 62e96ec..d6c6215 100644 --- a/front-end/src/views/AboutView.vue +++ b/front-end/src/views/AboutView.vue @@ -41,10 +41,15 @@ href="https://code.librehq.com/ots/arches/arches-demo-data/-/tree/main/wac?ref_type=heads" >data, and our - data import scripts, and - the underlying + data import scripts, the + underlying Arches server that this - application pulls data from. Contributions welcome. + application pulls most of its data from, and the small + external information server + that this app also pulls from to demonstrate how data from non-Arches sources can be + combined with data from Arches. Contributions welcome.