@peterbud/nuxt-query 1.8.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/BRcKKP0I.js +1 -0
- package/dist/client/_nuxt/Be5AXvKQ.js +1 -0
- package/dist/client/_nuxt/C5rZpPvR.js +1 -0
- package/dist/client/_nuxt/CWXSD_Q6.js +1 -0
- package/dist/client/_nuxt/CrtzxPo3.js +5 -0
- package/dist/client/_nuxt/Dgp62Tmb.js +1 -0
- package/dist/client/_nuxt/El7xeapg.js +3 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/f23d3952-85df-42dd-8419-8a92b040db9d.json +1 -0
- package/dist/client/_nuxt/entry.DioeeqK_.css +1 -0
- package/dist/client/_nuxt/error-404.CjFeGVyC.css +1 -0
- package/dist/client/_nuxt/error-500.BOfIh7Q3.css +1 -0
- package/dist/client/_nuxt/vue-query.qleLzYMN.css +1 -0
- package/dist/client/index.html +1 -1
- package/dist/client/vue-query/index.html +1 -1
- package/dist/module.json +3 -3
- package/dist/module.mjs +1 -1
- package/package.json +15 -15
- package/dist/client/_nuxt/2dXNUnx1.js +0 -6
- package/dist/client/_nuxt/B2r_XhG2.js +0 -1
- package/dist/client/_nuxt/Dq7n71tD.js +0 -1
- package/dist/client/_nuxt/Dr9aL-KJ.js +0 -1
- package/dist/client/_nuxt/W4diRMiu.js +0 -1
- package/dist/client/_nuxt/XcwUq7tr.js +0 -1
- package/dist/client/_nuxt/builds/meta/f530576b-c79d-40ef-9ec1-38baa4dc0510.json +0 -1
- package/dist/client/_nuxt/entry.COLzTHLw.css +0 -1
- package/dist/client/_nuxt/error-404.CyG2nj6o.css +0 -1
- package/dist/client/_nuxt/error-500.BseRBpsq.css +0 -1
- package/dist/client/_nuxt/vue-query.BSJAA3JE.css +0 -1
package/dist/client/200.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-query-client/_nuxt/entry.
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-query-client/_nuxt/CrtzxPo3.js"}}</script><link rel="stylesheet" href="/__nuxt-query-client/_nuxt/entry.DioeeqK_.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/CrtzxPo3.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/Dgp62Tmb.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/El7xeapg.js"><script type="module" src="/__nuxt-query-client/_nuxt/CrtzxPo3.js" crossorigin></script><link rel="prefetch" as="style" crossorigin href="/__nuxt-query-client/_nuxt/error-500.BOfIh7Q3.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-query-client/_nuxt/CWXSD_Q6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-query-client/_nuxt/Be5AXvKQ.js"></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-query-client",buildId:"f23d3952-85df-42dd-8419-8a92b040db9d",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1786188887764,false]</script></body></html>
|
package/dist/client/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-query-client/_nuxt/entry.
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-query-client/_nuxt/CrtzxPo3.js"}}</script><link rel="stylesheet" href="/__nuxt-query-client/_nuxt/entry.DioeeqK_.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/CrtzxPo3.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/Dgp62Tmb.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/El7xeapg.js"><script type="module" src="/__nuxt-query-client/_nuxt/CrtzxPo3.js" crossorigin></script><link rel="prefetch" as="style" crossorigin href="/__nuxt-query-client/_nuxt/error-500.BOfIh7Q3.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-query-client/_nuxt/CWXSD_Q6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-query-client/_nuxt/Be5AXvKQ.js"></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-query-client",buildId:"f23d3952-85df-42dd-8419-8a92b040db9d",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1786188887764,false]</script></body></html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as e,B as t,D as n,F as r,H as i,I as a,J as o,L as s,M as c,N as l,P as u,R as d,S as f,T as p,V as m,X as h,Z as g,_,_t as v,b as y,bt as b,c as x,d as S,et as C,h as w,j as T,l as E,m as D,r as O,s as k,tt as A,u as j,v as M,w as ee,yt as N,z as P}from"./El7xeapg.js";import{n as F,r as I}from"#entry";var te=Object.assign(_({inheritAttrs:!1,__name:`AppButton`,props:{size:{default:`default`},active:{type:Boolean,default:!1},iconOnly:{type:Boolean,default:!1}},setup(e){let t=s(),n=k(()=>[`inline-flex items-center gap-2 rounded border transition-colors disabled:cursor-not-allowed disabled:op50`,e.size===`small`?`min-h-8 px-2 text-xs`:`min-h-9 px-3 text-sm`,e.iconOnly?`justify-center px-2`:`justify-center`,e.active?`nq-button-active`:`nq-button`,t.class]);return(e,r)=>(T(),S(`button`,ee(A(t),{type:`button`,class:n.value}),[u(e.$slots,`icon`),u(e.$slots,`default`)],16))}}),{__name:`AppButton`}),L={fetching:0,paused:1,stale:2,fresh:3,inactive:4},R={Loading:0,Success:1,Error:2,Paused:3,Idle:4};function z(e,t){return e.localeCompare(t)}function B(e,t){return e-t}function V(e,t){return t===`desc`?-e:e}function H(e){return e.queryKey?.toString().toLowerCase()||``}function U(e){return e.options.mutationKey?.toString().toLowerCase()||``}function W(e,t,n){return e.map((e,t)=>({query:e,index:t})).sort((e,r)=>{let i=e.query,a=r.query,o;if(t===`status`){let e=G(i),t=G(a);o=B(L[e]??2**53-1,L[t]??2**53-1)}else o=t===`key`?z(H(i),H(a)):B(i.state.dataUpdatedAt||0,a.state.dataUpdatedAt||0);return o===0?(o=z(i.queryHash,a.queryHash),o===0?B(e.index,r.index):o):V(o,n)}).map(e=>e.query)}function ne(e,t,n){return e.map((e,t)=>({mutation:e,index:t})).sort((e,r)=>{let i=e.mutation,a=r.mutation,o;if(t===`status`){let e=q(i),t=q(a);o=B(R[e]??2**53-1,R[t]??2**53-1)}else o=t===`key`?z(U(i),U(a)):B(i.state.submittedAt||0,a.state.submittedAt||0);return o===0?(o=B(i.mutationId,a.mutationId),o===0?B(e.index,r.index):o):V(o,n)}).map(e=>e.mutation)}function G(e){return e.state.fetchStatus===`fetching`?`fetching`:e.observers.length<1?`inactive`:e.state.fetchStatus===`paused`?`paused`:g(e)?.isStale()?`stale`:`fresh`}function K(e){return e.state.fetchStatus===`fetching`?`blue`:e.observers.length<1?`gray`:e.state.fetchStatus===`paused`?`purple`:g(e)?.isStale()?`orange`:`green`}function q(e){let{status:t}=e.state;return e.state.isPaused?`Paused`:t===`error`?`Error`:t===`pending`?`Loading`:t===`success`?`Success`:`Idle`}function J(e){let{status:t}=e.state;return e.state.isPaused?`purple`:t===`error`?`red`:t===`pending`?`yellow`:t===`success`?`green`:`gray`}var re={class:`flex flex-wrap gap-2 p-2`,style:{"border-bottom":`1px solid var(--nq-border-strong)`}},Y={class:`op75`},ie={class:`font-mono`,style:{color:`var(--nq-text-muted)`}},ae=Object.assign(_({__name:`QueryCacheSummary`,props:{queries:{}},setup(e){let t=e,n=[{key:`fetching`,label:`Fetching`},{key:`stale`,label:`Stale`},{key:`fresh`,label:`Fresh`},{key:`inactive`,label:`Inactive`},{key:`paused`,label:`Paused`}],r={fetching:`blue`,inactive:`gray`,paused:`purple`,stale:`orange`,fresh:`green`},i=k(()=>t.queries.reduce((e,t)=>{let n=G(t);return e[n]+=1,e},{fetching:0,inactive:0,paused:0,stale:0,fresh:0}));function a(e){let n=t.queries.find(t=>G(t)===e);return n?K(n):r[e]}return(e,t)=>(T(),S(`div`,re,[(T(),S(O,null,l(n,e=>x(`div`,{key:e.key,class:`inline-flex items-center gap-2 rounded px-2 py-2 text-xs`,style:{"background-color":`var(--nq-surface-muted)`}},[x(`span`,{style:N({width:`0.75em`,height:`0.75em`,"border-radius":`2px`,"background-color":a(e.key)})},null,4),x(`span`,Y,b(e.label),1),x(`span`,ie,b(i.value[e.key]),1)])),64))]))}}),{__name:`QueryCacheSummary`}),oe={class:`flex flex-wrap gap-2 p-2`,style:{"border-bottom":`1px solid var(--nq-border-strong)`}},X={class:`op75`},Z={class:`font-mono`,style:{color:`var(--nq-text-muted)`}},se=Object.assign(_({__name:`MutationCacheSummary`,props:{mutations:{}},setup(e){let t=e,n=[{key:`Loading`,label:`Loading`},{key:`Success`,label:`Success`},{key:`Error`,label:`Error`},{key:`Paused`,label:`Paused`},{key:`Idle`,label:`Idle`}],r={Paused:`purple`,Error:`red`,Loading:`yellow`,Success:`green`,Idle:`gray`},i=k(()=>t.mutations.reduce((e,t)=>{let n=q(t);return e[n]+=1,e},{Paused:0,Error:0,Loading:0,Success:0,Idle:0}));function a(e){let n=t.mutations.find(t=>q(t)===e);return n?J(n):r[e]}return(e,t)=>(T(),S(`div`,oe,[(T(),S(O,null,l(n,e=>x(`div`,{key:e.key,class:`inline-flex items-center gap-2 rounded px-2 py-1 text-xs`,style:{"background-color":`var(--nq-surface-muted)`}},[x(`span`,{style:N({width:`0.75em`,height:`0.75em`,"border-radius":`2px`,"background-color":a(e.key)})},null,4),x(`span`,X,b(e.label),1),x(`span`,Z,b(i.value[e.key]),1)])),64))]))}}),{__name:`MutationCacheSummary`}),ce={class:`grid gap-2 p-2 b-b-1`,style:{"border-color":`var(--nq-border-strong)`}},le={class:`grid items-center gap-2 grid-cols-[minmax(7em,1fr)_auto]`},ue={class:`flex min-w-16 items-center gap-2 rounded pl-2`,style:{border:`1px solid var(--nq-border-strong)`,"background-color":`var(--nq-surface-muted)`}},de={class:`grid items-center gap-2 grid-cols-[auto_auto_auto]`},fe=[`value`],pe={class:`text-sm`},me={op50:``},he=Object.assign(_({__name:`FilterSortControls`,props:{search:{},totalCount:{},itemLabel:{},sortField:{},sortDirection:{}},emits:[`update:search`,`update:sortField`,`update:sortDirection`],setup(e,{emit:t}){let n=e,r=t,a=k({get:()=>n.search,set:e=>r(`update:search`,e)});function o(){r(`update:sortDirection`,n.sortDirection===`asc`?`desc`:`asc`)}return(t,n)=>{let s=te;return T(),S(`div`,ce,[x(`div`,le,[x(`div`,ue,[n[2]||=x(`span`,{class:`i-carbon-search h-4 w-4 shrink-0 op50`},null,-1),i(x(`input`,{"onUpdate:modelValue":n[0]||=e=>a.value=e,type:`text`,class:`block min-w-0 flex-1 appearance-none border-0 bg-transparent px-0 py-2 text-sm outline-none`,placeholder:`Search...`,"aria-label":`Search`},null,512),[[F,a.value]])]),x(`div`,de,[n[4]||=x(`label`,{class:`text-xs op75`,for:`sort-field`},` Sort `,-1),x(`select`,{id:`sort-field`,class:`rounded px-2 text-xs min-w-16 h-8`,value:e.sortField,onChange:n[1]||=e=>r(`update:sortField`,e.target.value)},[...n[3]||=[x(`option`,{value:`status`},` Status `,-1),x(`option`,{value:`key`},` Key `,-1),x(`option`,{value:`date`},` Date/Time `,-1)]],40,fe),w(s,{size:`small`,class:`w-auto`,title:e.sortDirection===`asc`?`Ascending`:`Descending`,onClick:o},{default:m(()=>[D(b(e.sortDirection===`asc`?`ASC`:`DESC`),1)]),_:1},8,[`title`])])]),x(`div`,pe,[x(`span`,me,b(e.totalCount)+` `+b(e.itemLabel)+` in total`,1)])])}}}),{__name:`FilterSortControls`}),ge={class:`grid gap-2 px-2 py-0.5 cursor-pointer truncate max-w-full nq-list-item`,style:{"grid-template-columns":`1em 1fr auto auto auto`}},_e={class:`truncate`},ve={class:`text-right`},ye={class:`text-right`},be={class:`text-right`},xe=Object.assign(_({__name:`QueryListItem`,props:{item:{},index:{}},setup(e){return(t,n)=>(T(),S(`div`,ge,[x(`div`,{style:N({width:`1em`,height:`1em`,"border-radius":`10%`,"align-self":`center`,"background-color":(`getQueryBackgroundColor`in t?t.getQueryBackgroundColor:A(K))(e.item)})},null,4),x(`div`,_e,b(e.item.queryKey),1),x(`div`,ve,[x(`div`,{class:v({"i-carbon-play-outline-filled text-green":e.item.state.fetchStatus===`fetching`,"i-carbon-pause-outline-filled text-gray":e.item.state.fetchStatus===`paused`,"i-carbon-navaid-helipad text-blue":e.item.state.fetchStatus===`idle`})},null,2)]),x(`div`,ye,[x(`div`,{class:v({"i-carbon-checkmark-filled text-green":e.item.state.status===`success`,"i-carbon-error-filled text-red":e.item.state.status===`error`,"i-carbon-help-filled text-gray":e.item.state.status===`pending`})},null,2)]),x(`div`,be,[x(`div`,{class:v({"i-carbon-view-off-filled text-gray":e.item.observers.length===0,"i-carbon-view-filled text-blue":e.item.observers.length!==0})},null,2)])]))}}),{__name:`QueryListItem`}),Se={class:`nq-section-block border rounded overflow-hidden`},Ce={class:`nq-section-block-header flex items-center gap-2 px-3 py-2 border-b`},we={class:`truncate`},Te={key:0,class:`flex items-center gap-2`},Ee=Object.assign(_({__name:`AppSectionBlock`,props:{icon:{},text:{},open:{type:Boolean,default:!0},padding:{type:Boolean,default:!1}},setup(e){let t=o(e.open);P(()=>e.open,e=>{t.value=e});let n=k(()=>e.padding?`px-2 py-2`:``);function r(){t.value=!t.value}return(a,o)=>(T(),S(`section`,Se,[x(`div`,Ce,[x(`button`,{type:`button`,class:`flex min-w-0 flex-1 items-center gap-2 text-left text-lg font-medium nq-text-strong`,onClick:r},[e.icon?(T(),S(`span`,{key:0,class:v([e.icon,`shrink-0 op75`])},null,2)):j(``,!0),x(`span`,we,b(e.text),1),x(`span`,{class:v([t.value?`i-carbon-chevron-down`:`i-carbon-chevron-right`,`ml-auto shrink-0 op60`])},null,2)]),a.$slots.actions?(T(),S(`div`,Te,[u(a.$slots,`actions`)])):j(``,!0)]),i(x(`div`,{class:v(n.value)},[u(a.$slots,`default`)],2),[[I,t.value]])]))}}),{__name:`AppSectionBlock`}),De=Object.assign({inheritAttrs:!1},{__name:`splitpanes`,props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1},keyboardStep:{type:Number,default:5}},emits:[`ready`,`resize`,`resized`,`pane-click`,`pane-maximize`,`pane-add`,`pane-remove`,`splitter-click`,`splitter-dblclick`,`direction-changed`],setup(t,{emit:r}){let i=r,l=t,u=s(),f=d(),m=o([]),h=k(()=>m.value.reduce((e,t)=>(e[~~t.id]=t)&&e,{})),g=k(()=>m.value.length),_=o(null),v=o(!1),b=o({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),x=o({splitter:null,timeoutId:null}),S=k(()=>({[`splitpanes splitpanes--${l.horizontal?`horizontal`:`vertical`}`]:!0,"splitpanes--dragging":b.value.dragging,"splitpanes--ready":v.value})),C=()=>{document.addEventListener(`mousemove`,O,{passive:!1}),document.addEventListener(`mouseup`,A),`ontouchstart`in window&&(document.addEventListener(`touchmove`,O,{passive:!1}),document.addEventListener(`touchend`,A))},w=()=>{document.removeEventListener(`mousemove`,O,{passive:!1}),document.removeEventListener(`mouseup`,A),`ontouchstart`in window&&(document.removeEventListener(`touchmove`,O,{passive:!1}),document.removeEventListener(`touchend`,A))},D=(e,t)=>{let n=e.target.closest(`.splitpanes__splitter`);if(n){let{left:t,top:r}=n.getBoundingClientRect(),{clientX:i,clientY:a}=`ontouchstart`in window&&e.touches?e.touches[0]:e;b.value.cursorOffset=l.horizontal?a-r:i-t}C(),b.value.mouseDown=!0,b.value.activeSplitter=t,document.documentElement.style.cursor=l.horizontal?`row-resize`:`col-resize`},O=e=>{b.value.mouseDown&&(e.preventDefault(),b.value.dragging||(window.getSelection()?.removeAllRanges(),b.value.dragging=!0),requestAnimationFrame(()=>{te(F(e)),Z(`resize`,{event:e},!0)}))},A=e=>{b.value.dragging&&(window.getSelection()?.removeAllRanges(),Z(`resized`,{event:e},!0)),b.value.mouseDown=!1,b.value.activeSplitter=null,setTimeout(()=>{b.value.dragging=!1,w(),document.documentElement.style.cursor=``},100)},j=(e,t)=>{`ontouchstart`in window&&(e.preventDefault(),x.value.splitter===t?(clearTimeout(x.value.timeoutId),x.value.timeoutId=null,M(e,t),x.value.splitter=null):(x.value.splitter=t,x.value.timeoutId=setTimeout(()=>x.value.splitter=null,500))),b.value.dragging||Z(`splitter-click`,{event:e,index:t},!0)},M=(e,t)=>{if(Z(`splitter-dblclick`,{event:e,index:t},!0),l.maximizePanes){let n=0;m.value=m.value.map((e,r)=>(e.size=r===t?e.max:e.min,r!==t&&(n+=e.min),e)),m.value[t].size-=n,Z(`pane-maximize`,{event:e,index:t,pane:m.value[t]}),Z(`resized`,{event:e,index:t},!0)}},ee=(e,t)=>{if(!l.keyboardStep)return;let n=l.horizontal?e.key===`ArrowDown`:e.key===`ArrowRight`,r=l.horizontal?e.key===`ArrowUp`:e.key===`ArrowLeft`;if(!n&&!r)return;e.preventDefault(),b.value.activeSplitter=t;let i=(n?1:-1)*(l.rtl&&!l.horizontal?-1:1),a=z(t)+m.value[t].size;L(Math.min(Math.max(a+i*l.keyboardStep,0),100)),Z(`resize`,{event:e},!0),Z(`resized`,{event:e},!0),b.value.activeSplitter=null},N=(e,t)=>{let n=h.value[t];n&&Z(`pane-click`,{event:e,index:n.index,pane:n})},F=e=>{let t=_.value.getBoundingClientRect(),{clientX:n,clientY:r}=`ontouchstart`in window&&e.touches?e.touches[0]:e;return{x:n-(l.horizontal?0:b.value.cursorOffset)-t.left,y:r-(l.horizontal?b.value.cursorOffset:0)-t.top}},I=e=>{e=e[l.horizontal?`y`:`x`];let t=_.value[l.horizontal?`clientHeight`:`clientWidth`];return l.rtl&&!l.horizontal&&(e=t-e),e*100/t},te=e=>{L(I(e))},L=e=>{let t=b.value.activeSplitter;if(t===null||t>=m.value.length-1)return;let n={prevPanesSize:z(t),nextPanesSize:B(t),prevReachedMinPanes:0,nextReachedMinPanes:0},r=0+(l.pushOtherPanes?0:n.prevPanesSize),i=100-(l.pushOtherPanes?0:n.nextPanesSize);e=Math.max(Math.min(e,i),r);let a=[t,t+1],o=m.value[a[0]]||null,s=m.value[a[1]]||null,c=o!==null&&o.max<100&&e>=o.max+n.prevPanesSize,u=s!==null&&s.max<100&&e<=100-(s.max+B(t+1));if(c||u){c?(o.size=o.max,s.size=Math.min(Math.max(100-o.max-n.prevPanesSize-n.nextPanesSize,s.min),s.max)):(o.size=Math.min(Math.max(100-s.max-n.prevPanesSize-B(t+1),o.min),o.max),s.size=s.max);return}if(l.pushOtherPanes){let t=R(n,e);if(!t)return;({sums:n,panesToResize:a}=t),o=m.value[a[0]]||null,s=m.value[a[1]]||null}o!==null&&(o.size=Math.min(Math.max(e-n.prevPanesSize-n.prevReachedMinPanes,o.min),o.max)),s!==null&&(s.size=Math.min(Math.max(100-e-n.nextPanesSize-n.nextReachedMinPanes,s.min),s.max))},R=(e,t)=>{let n=b.value.activeSplitter,r=[n,n+1];if(t<e.prevPanesSize+m.value[r[0]].min){if(r[0]=V(n).index,e.prevReachedMinPanes=0,r[0]<n&&m.value.forEach((t,i)=>{i>r[0]&&i<=n&&(t.size=t.min,e.prevReachedMinPanes+=t.min)}),r[0]===void 0)return e.prevReachedMinPanes=0,m.value[0].size=m.value[0].min,m.value.forEach((t,r)=>{r>0&&r<=n&&(t.size=t.min,e.prevReachedMinPanes+=t.min)}),m.value[r[1]].size=100-e.prevReachedMinPanes-m.value[0].min-e.prevPanesSize-e.nextPanesSize,null;e.prevPanesSize=z(r[0])}return t>100-e.nextPanesSize-m.value[r[1]].min&&(r[1]=H(n).index,e.nextReachedMinPanes=0,r[1]>n+1&&m.value.forEach((t,i)=>{i>n&&i<r[1]&&(t.size=t.min,e.nextReachedMinPanes+=t.min)}),e.nextPanesSize=r[1]===void 0?0:B(r[1]-1),r[1]===void 0)?(e.nextReachedMinPanes=0,m.value.forEach((t,r)=>{r>=n+1&&(t.size=t.min,e.nextReachedMinPanes+=t.min)}),r[0]!==void 0&&(m.value[r[0]].size=100-e.prevPanesSize-B(r[0]-1)),null):{sums:e,panesToResize:r}},z=e=>m.value.reduce((t,n,r)=>t+(r<e?n.size:0),0),B=e=>m.value.reduce((t,n,r)=>t+(r>e+1?n.size:0),0),V=e=>[...m.value].reverse().find(t=>t.index<e&&t.size>t.min)||{},H=e=>m.value.find(t=>t.index>e+1&&t.size>t.min)||{},U=()=>{let e=Array.from(_.value?.children||[]);for(let t of e){let e=t.classList.contains(`splitpanes__pane`),n=t.classList.contains(`splitpanes__splitter`);!e&&!n&&(t.remove(),console.warn(`Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed.`))}},W=(e,t,n=!1)=>{let r=e-1,i=document.createElement(`div`);i.classList.add(`splitpanes__splitter`),n||(i.onmousedown=e=>D(e,r),typeof window<`u`&&`ontouchstart`in window&&(i.ontouchstart=e=>D(e,r)),i.onclick=e=>j(e,r+1),l.keyboardStep&&(i.setAttribute(`tabindex`,`0`),i.setAttribute(`role`,`separator`),i.setAttribute(`aria-orientation`,l.horizontal?`horizontal`:`vertical`),i.onkeydown=e=>ee(e,r))),i.ondblclick=e=>M(e,r+1),t.parentNode.insertBefore(i,t)},ne=e=>{e.onmousedown=null,e.onclick=null,e.ondblclick=null,e.onkeydown=null,e.remove()},G=()=>{let e=Array.from(_.value?.children||[]);for(let t of e)t.className.includes(`splitpanes__splitter`)&&ne(t);let t=0;for(let n of e)n.className.includes(`splitpanes__pane`)&&(!t&&l.firstSplitter?W(t,n,!0):t&&W(t,n),t++)},K=({uid:e,...t})=>{let n=h.value[e];for(let[e,r]of Object.entries(t))n[e]=r},q=!1,J=e=>{let t=-1;Array.from(_.value?.children||[]).some(n=>(n.className.includes(`splitpanes__pane`)&&t++,n.isSameNode(e.el))),m.value.splice(t,0,{...e,index:t}),m.value.forEach((e,t)=>e.index=t),v.value&&!q&&(q=!0,p(()=>{G(),Y({addedPane:m.value[t]}),Z(`pane-add`,{pane:m.value[t]}),q=!1}))},re=e=>{let t=m.value.findIndex(t=>t.id===e);m.value[t].el=null;let n=m.value.splice(t,1)[0];m.value.forEach((e,t)=>e.index=t),p(()=>{G(),Z(`pane-remove`,{pane:n}),Y({removedPane:{...n,index:t}})})},Y=(e={})=>{!e.addedPane&&!e.removedPane?ae():m.value.some(e=>e.givenSize!==null||e.min||e.max<100)?oe(e):ie(),v.value&&Z(`resized`)},ie=()=>{let e=100/g.value,t=100,n=[],r=[];for(let i of m.value)i.size=Math.max(Math.min(e,i.max),i.min),t-=i.size,i.size>=i.max&&n.push(i.id),i.size<=i.min&&r.push(i.id);Math.abs(t)>.1&&X(t,n,r)},ae=()=>{let e=100,t=[],n=[],r=0;for(let i of m.value)e-=i.size,i.givenSize!==null&&r++,i.size>=i.max&&t.push(i.id),i.size<=i.min&&n.push(i.id);let i=100;if(e>.1){for(let t of m.value)t.givenSize===null&&(t.size=Math.max(Math.min(e/(g.value-r),t.max),t.min)),i-=t.size;i>.1&&X(i,t,n)}},oe=({addedPane:e,removedPane:t}={})=>{let n=m.value.reduce((e,t)=>e+(t.givenSize===null?0:t.givenSize),0),r=m.value.filter(e=>e.givenSize===null).length,i=r>0?(100-n)/r:0,a=0,o=[],s=[];for(let e of m.value)a-=e.size,e.size>=e.max&&o.push(e.id),e.size<=e.min&&s.push(e.id);if(!(Math.abs(a)<.1)){a=100;for(let e of m.value)e.givenSize===null&&(e.size=Math.max(Math.min(i,e.max),e.min)),a-=e.size,e.size>=e.max&&o.push(e.id),e.size<=e.min&&s.push(e.id);Math.abs(a)>.1&&X(a,o,s)}},X=(e,t,n)=>{let r;r=e>0?e/(g.value-t.length):e/(g.value-n.length),m.value.forEach((i,a)=>{if(e>0&&!t.includes(i.id)){let t=Math.max(Math.min(i.size+r,i.max),i.min),n=t-i.size;e-=n,i.size=t}else if(!n.includes(i.id)){let t=Math.max(Math.min(i.size+r,i.max),i.min),n=t-i.size;e-=n,i.size=t}}),Math.abs(e)>.1&&v.value&&console.warn(`Splitpanes: Could not resize panes correctly due to their constraints.`)},Z=(e,t=void 0,n=!1)=>{let r=t?.index??b.value.activeSplitter??null;i(e,{...t,...r!==null&&{index:r},...n&&r!==null&&{prevPane:m.value[r-+!!l.firstSplitter],nextPane:m.value[r+ +!l.firstSplitter]},panes:m.value.map(e=>({min:e.min,max:e.max,size:e.size}))})};P(()=>l.firstSplitter,()=>G()),P(()=>l.horizontal,e=>p(()=>{i(`direction-changed`,{horizontal:e,panes:m.value.map(e=>({min:e.min,max:e.max,size:e.size}))})})),e(()=>{U(),G(),Y(),Z(`ready`),v.value=!0}),n(()=>v.value=!1);let se=()=>{let{class:e,...t}=u;return y(`div`,{ref:_,class:[S.value,e],...t},f.default?.())};return c(`panes`,m),c(`indexedPanes`,h),c(`horizontal`,k(()=>l.horizontal)),c(`requestUpdate`,K),c(`onPaneAdd`,J),c(`onPaneRemove`,re),c(`onPaneClick`,N),(e,t)=>(T(),E(a(se)))}}),Oe={__name:`pane`,props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(t){let r=t,i=f(`requestUpdate`),a=f(`onPaneAdd`),s=f(`horizontal`),c=f(`onPaneRemove`),l=f(`onPaneClick`),d=M()?.uid,p=f(`indexedPanes`),m=k(()=>p.value[d]),h=o(null),g=k(()=>{let e=isNaN(r.size)||r.size===void 0?0:parseFloat(r.size);return Math.max(Math.min(e,v.value),_.value)}),_=k(()=>{let e=parseFloat(r.minSize);return isNaN(e)?0:e}),v=k(()=>{let e=parseFloat(r.maxSize);return isNaN(e)?100:e}),y=k(()=>{let e=m.value?.size??(r.size===void 0?void 0:g.value);return e===void 0?``:`${s.value?`height`:`width`}: ${e}%`});return P(()=>g.value,e=>i({uid:d,size:e})),P(()=>_.value,e=>i({uid:d,min:e})),P(()=>v.value,e=>i({uid:d,max:e})),e(()=>{a({id:d,el:h.value,min:_.value,max:v.value,givenSize:r.size===void 0?null:g.value,size:g.value})}),n(()=>c(d)),(e,t)=>(T(),S(`div`,{ref_key:`paneEl`,ref:h,class:`splitpanes__pane`,onClick:t[0]||=t=>A(l)(t,e._.uid),style:N(y.value)},[u(e.$slots,`default`)],4))}},ke=Object.assign(_({__name:`AppSplitPane`,props:{storageKey:{},leftSize:{default:35},rightSize:{default:65},leftMinSize:{default:20},rightMinSize:{default:25}},setup(t){let n=o(t.leftSize),r=o(t.rightSize),i=o(!1);function a(e){let[t,i]=e;!t||!i||(n.value=t.size,r.value=i.size)}function s(){!t.storageKey||typeof window>`u`||localStorage.setItem(t.storageKey,JSON.stringify([n.value,r.value]))}function c(e){i.value||a(e.panes)}function l(e){a(e.panes),s()}return e(()=>{if(!t.storageKey||typeof window>`u`)return;let e=localStorage.getItem(t.storageKey);if(e)try{let t=JSON.parse(e);Array.isArray(t)&&t.length===2&&t.every(e=>typeof e==`number`&&Number.isFinite(e))&&(n.value=t[0],r.value=t[1],i.value=!0)}catch{localStorage.removeItem(t.storageKey)}}),(e,i)=>(T(),E(A(De),{class:`h-full app-split-pane`,onReady:c,onResized:l},{default:m(()=>[w(A(Oe),{size:n.value,"min-size":t.leftMinSize},{default:m(()=>[u(e.$slots,`left`)]),_:3},8,[`size`,`min-size`]),w(A(Oe),{size:r.value,"min-size":t.rightMinSize},{default:m(()=>[u(e.$slots,`right`)]),_:3},8,[`size`,`min-size`])]),_:3}))}}),{__name:`AppSplitPane`}),Ae=Object.assign(_({__name:`MutationListItem`,props:{item:{}},emits:[`click`],setup(e){return(t,n)=>(T(),S(`div`,{class:`grid gap-2 px-2 py-1.5 cursor-pointer truncate max-w-full nq-list-item`,style:{"grid-template-columns":`1em 1fr`},onClick:n[0]||=e=>t.$emit(`click`)},[x(`div`,{style:N({width:`1em`,height:`1em`,"border-radius":`10%`,"align-self":`center`,"background-color":(`getMutationBackgroundColor`in t?t.getMutationBackgroundColor:A(J))(e.item)})},null,4),x(`div`,null,b(e.item.options.mutationKey||`No mutation key provided`),1)]))}}),{__name:`MutationListItem`}),Q,$=[];function je(e){if($.push(e),!(typeof window>`u`))return window.__NUXT_DEVTOOLS__&&$.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&$.forEach(t=>t(e))},get(){return Q.value},configurable:!0}),()=>{$.splice($.indexOf(e),1)}}function Me(){Q||(Q=h(),je(t));function e(){Q&&C(Q)}function t(t){Q.value=t,t.host&&t.host.hooks.hook(`host:update:reactivity`,e)}return Q}var Ne={class:`h-full flex flex-col`},Pe={class:`flex gap-2 p-2`,style:{"border-bottom":`1px solid var(--nq-border-strong)`}},Fe={class:`grid gap-3 p-2`},Ie={key:0,class:`w-full`},Le={xmlns:`http://www.w3.org/2000/svg`,width:`32`,height:`32`,viewBox:`0 0 32 32`,style:{display:`block`,width:`24px`,"min-width":`24px`,height:`24px`,flex:`none`}},Re={xmlns:`http://www.w3.org/2000/svg`,width:`32`,height:`32`,viewBox:`0 0 32 32`,style:{display:`block`,width:`24px`,"min-width":`24px`,height:`24px`,flex:`none`}},ze={xmlns:`http://www.w3.org/2000/svg`,width:`32`,height:`32`,viewBox:`0 0 32 32`,style:{display:`block`,width:`24px`,"min-width":`24px`,height:`24px`,flex:`none`}},Be={xmlns:`http://www.w3.org/2000/svg`,width:`32`,height:`32`,viewBox:`0 0 32 32`,style:{display:`block`,width:`24px`,"min-width":`24px`,height:`24px`,flex:`none`}},Ve={xmlns:`http://www.w3.org/2000/svg`,width:`32`,height:`32`,viewBox:`0 0 32 32`,style:{display:`block`,width:`24px`,"min-width":`24px`,height:`24px`,flex:`none`}},He={class:`grid grid-cols-[auto_1fr] gap-1 px-2 py-2`},Ue={class:`grid grid-cols-[auto_1fr] gap-1 px-2 py-2`},We={key:1},Ge={class:`grid gap-3 p-2`},Ke={key:0,class:`w-full`},qe={class:`grid grid-cols-[auto_1fr] gap-1 px-2 py-2`},Je={class:`grid grid-cols-[auto_1fr] gap-1 px-2 py-2`},Ye={key:1},Xe=_({__name:`vue-query`,setup(e){let i=o(`query`),a=o(``),s=o([]),c=o(null),u=o([]),d=o(null),f=o(``),p=o(`key`),h=o(`asc`),_=o(`key`),v=o(`asc`),y=Me(),C=k(()=>y.value?.host?.nuxt.vueApp.config.globalProperties?.$queryClient),j=k(()=>C.value?.getQueryCache()),M=k(()=>C.value?.getMutationCache()),ee=k(()=>W(s.value?a.value?s.value.filter(e=>e.queryKey.toString().toLowerCase().includes(a.value.toLowerCase())):s.value:[],p.value,h.value)),P=k(()=>ne(u.value?f.value?u.value.filter(e=>e.options.mutationKey?.toString().toLowerCase().includes(f.value.toLowerCase())):u.value:[],_.value,v.value));function F(e){switch(e.type){case`observerResultsUpdated`:case`observerAdded`:case`observerRemoved`:case`updated`:{let t=s.value.find(t=>t.queryHash===e.query.queryHash);t&&(t.state={...e.query.state});break}case`added`:s.value.push(e.query);break;case`removed`:{let t=s.value.findIndex(t=>t.queryHash===e.query.queryHash);t!==-1&&s.value.splice(t,1),c.value?.queryHash===e.query.queryHash&&(c.value=null);break}}}function I(e){switch(e.type){case`added`:u.value.push(e.mutation);break;case`removed`:{let t=u.value.findIndex(t=>t.mutationId===e.mutation.mutationId);t!==-1&&u.value.splice(t,1),d.value?.mutationId===e.mutation.mutationId&&(d.value=null);break}case`updated`:{let t=u.value.find(t=>t.mutationId===e.mutation.mutationId);t&&(t.state={...e.mutation.state});break}}}t(()=>{if(!j.value)return;j.value.getAll().forEach(e=>{s.value.push(e)});let e=j.value.subscribe(F);n(()=>{s.value=[],j.value?.clear(),e()})}),t(()=>{if(!M.value)return;M.value.getAll().forEach(e=>{u.value.push(e)});let e=M.value.subscribe(I);n(()=>{u.value=[],M.value?.clear(),e()})});function L(e){c.value=g(e)}function R(e){d.value=g(e)}function z(e){return Object.entries(e.options).reduce((e,[t,n])=>(typeof n==`function`||t===`queryKey`||t===`queryHash`||t===`meta`||t.startsWith(`_`)||(e[t]=n),e),{})}function B(e){if(e.state.error)e.reset(),e.fetch();else{let t=Error(`Unknown error from devtools`),n=e.options;e.setState({status:`error`,error:t,fetchMeta:{...e.state.fetchMeta,__previousQueryOptions:n}})}}function V(e){let t=e.state,n=e.state.fetchMeta?e.state.fetchMeta.__previousQueryOptions:null;e.cancel({silent:!0}),e.setState({...t,fetchStatus:`idle`,fetchMeta:null}),n&&e.fetch(n)}function H(e){if(e.state.data===void 0)V(e);else{if(!e)return;let t=e.options;e.fetch({...t,queryFn:()=>new Promise(()=>{}),gcTime:-1}),e.setState({data:void 0,status:`pending`,fetchMeta:{...e.state.fetchMeta,__previousQueryOptions:t}})}}return(e,t)=>{let n=te,o=ae,y=se,C=he,k=xe,j=Ee,M=r(`VueJsonPretty`),F=ke,I=Ae;return T(),S(`div`,Ne,[x(`div`,Pe,[w(n,{active:A(i)===`query`,onClick:t[0]||=e=>i.value=`query`},{default:m(()=>[...t[13]||=[D(` Query Cache `,-1)]]),_:1},8,[`active`]),w(n,{active:A(i)===`mutation`,onClick:t[1]||=e=>i.value=`mutation`},{default:m(()=>[...t[14]||=[D(` Mutation Cache `,-1)]]),_:1},8,[`active`])]),A(i)===`query`?(T(),E(o,{key:0,queries:A(s)},null,8,[`queries`])):(T(),E(y,{key:1,mutations:A(u)},null,8,[`mutations`])),A(i)===`query`?(T(),E(F,{key:2,"storage-key":`tab-vue-query`},{left:m(()=>[w(C,{search:A(a),"item-label":`queries`,"total-count":A(s)?.length||0,"sort-field":A(p),"sort-direction":A(h),"onUpdate:search":t[2]||=e=>a.value=e,"onUpdate:sortField":t[3]||=e=>p.value=e,"onUpdate:sortDirection":t[4]||=e=>h.value=e},null,8,[`search`,`total-count`,`sort-field`,`sort-direction`]),(T(!0),S(O,null,l(A(ee),e=>(T(),E(k,{key:e.queryHash,item:e,onClick:t=>L(e)},null,8,[`item`,`onClick`]))),128))]),right:m(()=>[x(`div`,Fe,[A(c)?(T(),S(`div`,Ie,[w(j,{icon:`i-carbon-query`,text:`Query Overview`},{actions:m(()=>[w(n,{title:`Refetch`,"aria-label":`Refetch`,class:`self-start`,"icon-only":``,disabled:A(c).state.fetchStatus===`fetching`,onClick:t[5]||=t=>(`toRaw`in e?e.toRaw:A(g))(A(c))?.fetch()},{icon:m(()=>[(T(),S(`svg`,Le,[...t[15]||=[x(`path`,{fill:`currentColor`,d:`m29.508 22.255l-2.078-3.74l-1.748.97l2.078 3.742a1.85 1.85 0 0 1-.023 1.853c-.34.576-.941.92-1.61.92H18.83l2.58-2.59L20 22l-5 5l5 5l1.41-1.41L18.83 28h7.298a3.83 3.83 0 0 0 3.332-1.906a3.83 3.83 0 0 0 .048-3.84zM5.873 26a1.85 1.85 0 0 1-1.61-.92a1.85 1.85 0 0 1-.022-1.853l4.11-7.4l1.049 3.52l1.912-.567L9.303 12l-6.78 2.008l.567 1.912l3.493-1.03l-4.09 7.365a3.83 3.83 0 0 0 .047 3.84A3.83 3.83 0 0 0 5.873 28H12v-2zM25.51 9.654l-1.048 3.519L19.35 3.97C18.664 2.737 17.412 2 16 2s-2.665.737-3.35 1.971L9.57 9.515l1.749.97l3.08-5.543C14.725 4.352 15.324 4 16 4s1.274.353 1.602.942l5.092 9.167l-3.494-1.03l-.566 1.913L25.414 17l2.008-6.78z`},null,-1)]]))]),_:1},8,[`disabled`]),w(n,{title:`Invalidate`,"aria-label":`Invalidate`,class:`self-start`,"icon-only":``,disabled:A(c).state.status===`pending`,onClick:t[6]||=t=>(`toRaw`in e?e.toRaw:A(g))(A(c))?.invalidate()},{icon:m(()=>[(T(),S(`svg`,Re,[...t[16]||=[x(`path`,{fill:`currentColor`,d:`M12 12h2v12h-2zm6 0h2v12h-2z`},null,-1),x(`path`,{fill:`currentColor`,d:`M4 6v2h2v20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h2V6zm4 22V8h16v20zm4-26h8v2h-8z`},null,-1)]]))]),_:1},8,[`disabled`]),w(n,{title:`Reset`,"aria-label":`Reset`,class:`self-start`,"icon-only":``,disabled:A(c).state.status===`pending`,onClick:t[7]||=t=>(`toRaw`in e?e.toRaw:A(g))(A(c))?.reset()},{icon:m(()=>[(T(),S(`svg`,ze,[...t[17]||=[x(`path`,{fill:`currentColor`,d:`M26 18A10 10 0 1 1 16 8h6.182l-3.584 3.585L20 13l6-6l-6-6l-1.402 1.414L22.185 6H16a12 12 0 1 0 12 12Z`},null,-1)]]))]),_:1},8,[`disabled`]),w(n,{title:A(c).state.status===`pending`?`Restore Loading`:`Trigger Loading`,"aria-label":A(c).state.status===`pending`?`Restore Loading`:`Trigger Loading`,class:`self-start`,"icon-only":``,onClick:t[8]||=t=>H((`toRaw`in e?e.toRaw:A(g))(A(c)))},{icon:m(()=>[(T(),S(`svg`,Be,[...t[18]||=[x(`path`,{fill:`currentColor`,d:`M15 19h2v2h-2zm0 4h2v2h-2z`},null,-1),x(`path`,{fill:`currentColor`,d:`M23 11.67V4h3V2H6v2h3v7.67a2 2 0 0 0 .4 1.2L11.75 16L9.4 19.13a2 2 0 0 0-.4 1.2V28H6v2h20v-2h-3v-7.67a2 2 0 0 0-.4-1.2L20.25 16l2.35-3.13a2 2 0 0 0 .4-1.2M21 4v7H11V4Zm0 16.33V28H11v-7.67L14.25 16L12 13h8l-2.25 3Z`},null,-1)]]))]),_:1},8,[`title`,`aria-label`]),w(n,{title:A(c).state.status===`error`?`Restore Error`:`Trigger Error`,"aria-label":A(c).state.status===`error`?`Restore Error`:`Trigger Error`,class:`self-start`,"icon-only":``,disabled:A(c).state.status===`pending`,onClick:t[9]||=t=>B((`toRaw`in e?e.toRaw:A(g))(A(c)))},{icon:m(()=>[(T(),S(`svg`,Ve,[...t[19]||=[x(`path`,{fill:`currentColor`,d:`M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m0 26a12 12 0 1 1 12-12a12 12 0 0 1-12 12`},null,-1),x(`path`,{fill:`currentColor`,d:`M15 8h2v11h-2zm1 14a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 16 22`},null,-1)]]))]),_:1},8,[`title`,`aria-label`,`disabled`])]),default:m(()=>[x(`div`,He,[t[20]||=x(`div`,null,[x(`strong`,null,`Query Key:`)],-1),x(`div`,null,b(A(c)?.queryKey),1),t[21]||=x(`div`,null,[x(`strong`,null,`Observers:`)],-1),x(`div`,null,b(A(c).observers.length),1),t[22]||=x(`div`,null,[x(`strong`,null,`Overall status:`)],-1),x(`div`,null,[x(`span`,{class:`rounded whitespace-nowrap select-none mx-0.5 px-1.5 py-0.5`,style:N({"background-color":`${A(K)(A(c))}`})},b(A(G)(A(c))),5)]),t[23]||=x(`div`,null,[x(`strong`,null,`Last Updated:`)],-1),x(`div`,null,b(new Date(A(c).state.dataUpdatedAt).toLocaleString()),1)])]),_:1}),w(j,{icon:`i-carbon-cube`,text:`Data Explorer`,padding:!0,open:!1},{default:m(()=>[w(M,{data:A(c).state.data,deep:2,virtual:!0,height:150},null,8,[`data`])]),_:1}),w(j,{icon:`i-carbon-query-queue`,text:`Query Details`},{default:m(()=>[x(`div`,Ue,[t[24]||=x(`div`,null,[x(`strong`,null,`Status:`)],-1),x(`div`,null,b(A(c).state.status),1),t[25]||=x(`div`,null,[x(`strong`,null,`Fetch Status:`)],-1),x(`div`,null,b(A(c).state.fetchStatus),1),t[26]||=x(`div`,null,[x(`strong`,null,`Invalidated:`)],-1),x(`div`,null,b(A(c).state.isInvalidated),1),t[27]||=x(`div`,null,[x(`strong`,null,`Update Count:`)],-1),x(`div`,null,b(A(c).state.dataUpdateCount),1),t[28]||=x(`div`,null,[x(`strong`,null,`Active:`)],-1),x(`div`,null,b(A(c).observers.length===0?`Inactive`:`Active`),1),t[29]||=x(`div`,null,[x(`strong`,null,`IsStale:`)],-1),x(`div`,null,b((`toRaw`in e?e.toRaw:A(g))(A(c))?.isStale()),1),t[30]||=x(`div`,null,[x(`strong`,null,`Disabled:`)],-1),x(`div`,null,b((`toRaw`in e?e.toRaw:A(g))(A(c))?.isDisabled()),1),t[31]||=x(`div`,null,[x(`strong`,null,`GCTime:`)],-1),x(`div`,null,b(A(c).gcTime),1),t[32]||=x(`div`,null,[x(`strong`,null,`Options:`)],-1),w(M,{data:z(A(c)),deep:2,virtual:!0,height:150},null,8,[`data`]),t[33]||=x(`div`,null,[x(`strong`,null,`Meta:`)],-1),w(M,{data:(`toRaw`in e?e.toRaw:A(g))(A(c))?.meta,deep:2,virtual:!0,height:150},null,8,[`data`])])]),_:1})])):(T(),S(`div`,We,[...t[34]||=[x(`span`,{class:`op75`},`Select a query`,-1)]]))])]),_:1})):(T(),E(F,{key:3,"storage-key":`tab-vue-mutation`},{left:m(()=>[w(C,{search:A(f),"item-label":`mutations`,"total-count":A(u)?.length||0,"sort-field":A(_),"sort-direction":A(v),"onUpdate:search":t[10]||=e=>f.value=e,"onUpdate:sortField":t[11]||=e=>_.value=e,"onUpdate:sortDirection":t[12]||=e=>v.value=e},null,8,[`search`,`total-count`,`sort-field`,`sort-direction`]),(T(!0),S(O,null,l(A(P),e=>(T(),E(I,{key:e.mutationId,item:e,onClick:t=>R(e)},null,8,[`item`,`onClick`]))),128))]),right:m(()=>[x(`div`,Ge,[A(d)?(T(),S(`div`,Ke,[w(j,{icon:`i-carbon-status-change`,text:`Mutation Overview`},{default:m(()=>[x(`div`,qe,[t[35]||=x(`div`,null,[x(`strong`,null,`Mutation Key:`)],-1),x(`div`,null,b(A(d)?.options.mutationKey),1),t[36]||=x(`div`,null,[x(`strong`,null,`Status:`)],-1),x(`div`,null,[x(`span`,{class:`rounded whitespace-nowrap select-none mx-0.5 px-1.5 py-0.5`,style:N({"background-color":`${A(J)(A(d))}`})},b(A(q)(A(d))),5)]),t[37]||=x(`div`,null,[x(`strong`,null,`Submitted:`)],-1),x(`div`,null,b(new Date(A(d).state.submittedAt).toLocaleString()),1)])]),_:1}),w(j,{icon:`i-carbon-cube`,text:`Data Explorer`,padding:!0,open:!1},{default:m(()=>[w(M,{data:A(d).state.data,deep:2,virtual:!0,height:150},null,8,[`data`])]),_:1}),w(j,{icon:`i-carbon-query-queue`,text:`Mutation Details`},{default:m(()=>[x(`div`,Je,[t[38]||=x(`div`,null,[x(`strong`,null,`Status:`)],-1),x(`div`,null,b(A(d).state.status),1),t[39]||=x(`div`,null,[x(`strong`,null,`Mutation Id:`)],-1),x(`div`,null,b(A(d).mutationId),1),t[40]||=x(`div`,null,[x(`strong`,null,`IsPaused:`)],-1),x(`div`,null,b(A(d).state.isPaused),1),t[41]||=x(`div`,null,[x(`strong`,null,`Failure Count:`)],-1),x(`div`,null,b(A(d).state.failureCount),1),t[42]||=x(`div`,null,[x(`strong`,null,`Failure Reason:`)],-1),x(`div`,null,b(A(d).state.failureReason),1),t[43]||=x(`div`,null,[x(`strong`,null,`GCTime:`)],-1),x(`div`,null,b(A(d).gcTime),1),t[44]||=x(`div`,null,[x(`strong`,null,`Variables:`)],-1),w(M,{data:(`toRaw`in e?e.toRaw:A(g))(A(d))?.state?.variables,deep:2,virtual:!0,height:150},null,8,[`data`]),t[45]||=x(`div`,null,[x(`strong`,null,`Meta:`)],-1),w(M,{data:(`toRaw`in e?e.toRaw:A(g))(A(d))?.meta,deep:2,virtual:!0,height:150},null,8,[`data`])])]),_:1})])):(T(),S(`div`,Ye,[...t[46]||=[x(`span`,{class:`op75`},`Select a mutation`,-1)]]))])]),_:1}))])}}});export{Xe as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as e,O as t,k as n,r,u as i,v as a}from"./Dgp62Tmb.js";import{$ as o,B as s,D as c,E as l,J as u,K as d,O as f,S as p,W as m,v as h,x as g}from"./El7xeapg.js";var _=Object.assign((e,t)=>d(t)?o(t):t,{_static:!0});function v(e,t={}){let n=t.head||r();return n.ssr?n.push(e||{},t):y(n,e,t)}function y(e,t,n={}){let r=m();if(r&&!r.active)return{patch(){},dispose(){},_i:-1};let a=u(!1);if(n.onRendered&&r){let e=n.onRendered;n={...n,onRendered:t=>r.run(()=>e(t))}}let o;return s(()=>{let r=a.value?{}:i(t,_);o?o.patch(r):o=e.push(r,n)}),h()&&(c(()=>{o.dispose()}),f(()=>{a.value=!0}),l(()=>{a.value=!1})),o}var b=e({docsBase:t,reporters:n});function x(e){let t=e||a();return t.ssrContext?.head||t.runWithContext(()=>{if(g()){let e=p(`usehead`);if(!e)throw b.NUXT_E6001();return e}})}function S(e,t={}){return v(e,{head:t.head||x(t.nuxt),...t})}export{S as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./Dgp62Tmb.js";import{V as t,bt as n,c as r,d as i,h as a,j as o,m as s}from"./El7xeapg.js";import{t as c}from"./Be5AXvKQ.js";import{t as l}from"#entry";var u={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},d={class:`max-w-520px text-center`},f=[`textContent`],p=[`textContent`],m=[`textContent`],h={class:`flex items-center justify-center w-full`},g=e({__name:`error-404`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:404},statusText:{type:String,default:`Page not found`},description:{type:String,default:`Sorry, the page you are looking for could not be found.`},backHome:{type:String,default:`Go back home`}},setup(e){let g=e;return c({title:`${g.status} - ${g.statusText} | ${g.appName}`,script:[{innerHTML:`!function(){let e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(let e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(let t of e)if("childList"===t.type)for(let e of t.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;let r=function(e){let r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),r.credentials="use-credentials"===e.crossOrigin?"include":"anonymous"===e.crossOrigin?"omit":"same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--un-default-border-color,#e5e7eb)}:after,:before{--un-content:""}html{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 #0000;--un-ring-shadow:0 0 #0000;--un-shadow-inset: ;--un-shadow:0 0 #0000;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:#93c5fd80;--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(c,g)=>{let _=l;return o(),i(`div`,u,[r(`div`,d,[r(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:n(e.status)},null,8,f),r(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:n(e.statusText)},null,8,p),r(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:n(e.description)},null,8,m),r(`div`,h,[a(_,{to:`/`,class:`font-medium hover:text-[#00DC82] text-sm underline underline-offset-3`},{default:t(()=>[s(n(e.backHome),1)]),_:1})])])])}}},[[`__scopeId`,`data-v-31a8f624`]]);export{g as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./Dgp62Tmb.js";import{bt as t,c as n,d as r,j as i}from"./El7xeapg.js";import{t as a}from"./Be5AXvKQ.js";var o={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},s={class:`max-w-520px text-center`},c=[`textContent`],l=[`textContent`],u=[`textContent`],d=e({__name:`error-500`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:500},statusText:{type:String,default:`Internal server error`},description:{type:String,default:`This page is temporarily unavailable.`},refresh:{type:String,default:`Refresh this page`}},setup(e){let d=e;return a({title:`${d.status} - ${d.statusText} | ${d.appName}`,script:[{innerHTML:`!function(){let e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(let e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(let t of e)if("childList"===t.type)for(let e of t.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;let r=function(e){let r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),r.credentials="use-credentials"===e.crossOrigin?"include":"anonymous"===e.crossOrigin?"omit":"same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--un-default-border-color,#e5e7eb)}:after,:before{--un-content:""}html{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 #0000;--un-ring-shadow:0 0 #0000;--un-shadow-inset: ;--un-shadow:0 0 #0000;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:#93c5fd80;--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(a,d)=>(i(),r(`div`,o,[n(`div`,s,[n(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:t(e.status)},null,8,c),n(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:t(e.statusText)},null,8,l),n(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:t(e.description)},null,8,u)])]))}},[[`__scopeId`,`data-v-552885a6`]]);export{d as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BRcKKP0I.js","./El7xeapg.js","./vue-query.qleLzYMN.css","./C5rZpPvR.js","./Dgp62Tmb.js","./Be5AXvKQ.js","./error-404.CjFeGVyC.css","./CWXSD_Q6.js","./error-500.BOfIh7Q3.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{A as e,C as t,D as n,E as r,O as i,S as a,T as o,_ as s,a as c,b as l,c as u,d,f,g as p,h as m,i as h,k as g,l as _,m as v,o as y,p as b,s as x,t as S,v as C,w,y as T}from"./Dgp62Tmb.js";import{A as ee,B as E,C as te,D,F as ne,G as re,I as ie,J as O,M as k,Q as ae,S as A,T as oe,V as se,W as ce,X as le,Y as ue,_ as j,a as de,at as fe,b as M,ct as pe,d as me,dt as he,f as ge,ft as _e,g as ve,gt as ye,h as be,ht as xe,i as Se,it as Ce,j as N,k as we,l as Te,lt as Ee,m as De,mt as Oe,n as ke,nt as Ae,o as je,ot as Me,p as Ne,pt as Pe,q as Fe,r as Ie,rt as Le,s as P,st as Re,t as ze,tt as F,u as Be,ut as Ve,v as He,vt as Ue,w as We,x as Ge,xt as Ke,y as qe,z as Je}from"./El7xeapg.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var Ye=void 0,Xe=typeof window<`u`&&window.trustedTypes;if(Xe)try{Ye=Xe.createPolicy(`vue`,{createHTML:e=>e})}catch{}var Ze=Ye?e=>Ye.createHTML(e):e=>e,Qe=`http://www.w3.org/2000/svg`,$e=`http://www.w3.org/1998/Math/MathML`,I=typeof document<`u`?document:null,et=I&&I.createElement(`template`),tt={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?I.createElementNS(Qe,e):t===`mathml`?I.createElementNS($e,e):n?I.createElement(e,{is:n}):I.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>I.createTextNode(e),createComment:e=>I.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>I.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{et.innerHTML=Ze(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=et.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},L=`transition`,nt=`animation`,rt=Symbol(`_vtc`),it={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},at=Ce({},ke,it),ot=(e=>(e.displayName=`Transition`,e.props=at,e))((e,{slots:t})=>M(ze,ct(e),t)),R=(e,t=[])=>{pe(e)?e.forEach(e=>e(...t)):e&&e(...t)},st=e=>e?pe(e)?e.some(e=>e.length>1):e.length>1:!1;function ct(e){let t={};for(let n in e)n in it||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:l=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=lt(i),h=m&&m[0],g=m&&m[1],{onBeforeEnter:_,onEnter:v,onEnterCancelled:y,onLeave:b,onLeaveCancelled:x,onBeforeAppear:S=_,onAppear:C=v,onAppearCancelled:w=y}=t,T=(e,t,n,r)=>{e._enterCancelled=r,dt(e,t?u:s),dt(e,t?l:o),n&&n()},ee=(e,t)=>{e._isLeaving=!1,dt(e,d),dt(e,p),dt(e,f),t&&t()},E=e=>(t,n)=>{let i=e?C:v,o=()=>T(t,e,n);R(i,[t,o]),ft(()=>{dt(t,e?c:a),z(t,e?u:s),st(i)||mt(t,r,h,o)})};return Ce(t,{onBeforeEnter(e){R(_,[e]),z(e,a),z(e,o)},onBeforeAppear(e){R(S,[e]),z(e,c),z(e,l)},onEnter:E(!1),onAppear:E(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>ee(e,t);z(e,d),e._enterCancelled?(z(e,f),vt(e)):(vt(e),z(e,f)),ft(()=>{e._isLeaving&&(dt(e,d),z(e,p),st(b)||mt(e,r,g,n))}),R(b,[e,n])},onEnterCancelled(e){T(e,!1,void 0,!0),R(y,[e])},onAppearCancelled(e){T(e,!0,void 0,!0),R(w,[e])},onLeaveCancelled(e){ee(e),R(x,[e])}})}function lt(e){if(e==null)return null;if(he(e))return[ut(e.enter),ut(e.leave)];{let t=ut(e);return[t,t]}}function ut(e){return Ke(e)}function z(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[rt]||(e[rt]=new Set)).add(t)}function dt(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[rt];n&&(n.delete(t),n.size||(e[rt]=void 0))}function ft(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var pt=0;function mt(e,t,n,r){let i=e._endId=++pt,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=ht(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function ht(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${L}Delay`),a=r(`${L}Duration`),o=gt(i,a),s=r(`${nt}Delay`),c=r(`${nt}Duration`),l=gt(s,c),u=null,d=0,f=0;t===L?o>0&&(u=L,d=o,f=a.length):t===nt?l>0&&(u=nt,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?L:nt:null,f=u?u===L?a.length:c.length:0);let p=u===L&&/\b(?:transform|all)(?:,|$)/.test(r(`${L}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function gt(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>_t(t)+_t(e[n])))}function _t(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function vt(e){return(e?e.ownerDocument:document).body.offsetHeight}function yt(e,t,n){let r=e[rt];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var bt=Symbol(`_vod`),xt=Symbol(`_vsh`),St={name:`show`,beforeMount(e,{value:t},{transition:n}){e[bt]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):Ct(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Ct(e,!0),r.enter(e)):r.leave(e,()=>{Ct(e,!1)}):Ct(e,t))},beforeUnmount(e,{value:t}){Ct(e,t)}};function Ct(e,t){e.style.display=t?e[bt]:`none`,e[xt]=!t}var wt=Symbol(``),Tt=/(?:^|;)\s*display\s*:/;function Et(e,t,n){let r=e.style,i=Oe(n),a=!1;if(n&&!i){if(t){if(Oe(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??Ot(r,t,``)}else for(let e in t)n[e]??Ot(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?Ot(r,i,``):Mt(e,i,!Oe(t)&&t?t[i]:void 0,o)||Ot(r,i,o)}}else if(i){if(t!==n){let e=r[wt];e&&(n+=`;`+e),r.cssText=n,a=Tt.test(n)}}else t&&e.removeAttribute(`style`);bt in e&&(e[bt]=a?r.display:``,e[xt]&&(r.display=`none`))}var Dt=/\s*!important$/;function Ot(e,t,n){if(pe(n))n.forEach(n=>Ot(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=jt(e,t);Dt.test(n)?e.setProperty(fe(r),n.replace(Dt,``),`important`):e[r]=n}}var kt=[`Webkit`,`Moz`,`ms`],At={};function jt(e,t){let n=At[t];if(n)return n;let r=Ae(t);if(r!==`filter`&&r in e)return At[t]=r;r=Le(r);for(let n=0;n<kt.length;n++){let i=kt[n]+r;if(i in e)return At[t]=i}return t}function Mt(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&Oe(r)&&n===r}var Nt=`http://www.w3.org/1999/xlink`;function Pt(e,t,n,r,i,a=Pe(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(Nt,t.slice(6,t.length)):e.setAttributeNS(Nt,t,n):n==null||a&&!Me(n)?e.removeAttribute(t):e.setAttribute(t,a?``:xe(n)?String(n):n)}function Ft(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?Ze(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=Me(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function It(e,t,n,r){e.addEventListener(t,n,r)}function Lt(e,t,n,r){e.removeEventListener(t,n,r)}var Rt=Symbol(`_vei`);function zt(e,t,n,r,i=null){let a=e[Rt]||(e[Rt]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=Ht(t);r?It(e,n,a[t]=Kt(r,i),s):o&&(Lt(e,n,o,s),a[t]=void 0)}}var Bt=/(Once|Passive|Capture)$/,Vt=/^on:?(?:Once|Passive|Capture)$/;function Ht(e){let t,n;for(;(n=e.match(Bt))&&!Vt.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):fe(e.slice(2)),t]}var Ut=0,Wt=Promise.resolve(),Gt=()=>Ut||=(Wt.then(()=>Ut=0),Date.now());function Kt(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(pe(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&je(e,t,5,a)}}else je(r,t,5,[e])};return n.value=e,n.attached=Gt(),n}var qt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Jt=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?yt(e,r,o):t===`style`?Et(e,n,r):_e(t)?Ve(t)||zt(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):Yt(e,t,r,o))?(Ft(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&Pt(e,t,r,o,a,t!==`value`)):e._isVueCE&&(Xt(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Oe(r)))?Ft(e,Ae(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),Pt(e,t,r,o))};function Yt(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&qt(t)&&Ee(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return qt(t)&&Oe(n)?!1:t in e}function Xt(e,t){let n=e._def.props;if(!n)return!1;let r=Ae(t);return Array.isArray(n)?n.some(e=>Ae(e)===r):Object.keys(n).some(e=>Ae(e)===r)}var Zt=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return pe(t)?e=>Re(t,e):t};function Qt(e){e.target.composing=!0}function $t(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var en=Symbol(`_assign`),tn=Symbol(`_initialValue`);function nn(e,t,n){return t&&(e=e.trim()),n&&(e=ye(e)),e}var rn={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e.parentNode&&(e.type===`text`?e[tn]=e.defaultValue.replace(/[\r\n]/g,``):e.type===`textarea`&&(e[tn]=e.defaultValue.replace(/\r\n?/g,`
|
|
3
|
+
`))),e[en]=Zt(i);let a=r||i.props&&i.props.type===`number`;It(e,t?`change`:`input`,t=>{t.target.composing||e[en](nn(e.value,n,a))}),(n||a)&&It(e,`change`,()=>{e.value=nn(e.value,n,a)}),t||(It(e,`compositionstart`,Qt),It(e,`compositionend`,$t),It(e,`change`,$t))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){let i=t??``,a=e[tn];delete e[tn],a!==void 0&&(e.type===`text`||e.type===`textarea`)&&e.value!==a?e[en](nn(e.value,n,r)):e.value=i},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[en]=Zt(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?ye(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},an=Ce({patchProp:Jt},tt),on,sn=!1;function cn(){return on||=Ne(an)}function ln(){return on=sn?on:ge(an),sn=!0,on}var un=((...e)=>{let t=cn().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=pn(e);if(!r)return;let i=t._component;!Ee(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,fn(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),dn=((...e)=>{let t=ln().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=pn(e);if(t)return n(t,!0,fn(t))},t});function fn(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function pn(e){return Oe(e)?document.querySelector(e):e}var mn=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function hn(e){return mn.test(e)}import.meta.url.replace(/\/app\/.*$/,`/`);var gn=Symbol(`layout-meta`),_n=Symbol(`layout`),B=Symbol(`route`),vn=e({docsBase:i,reporters:g});String.fromCharCode;var yn=/#/g,bn=/&/g,xn=/\//g,Sn=/=/g,Cn=/\?/g,wn=/\+/g,Tn=/%5e/gi,En=/%60/gi,Dn=/%7c/gi,On=/%20/gi,kn=/%2f/gi,An=/%252f/gi;function jn(e){return encodeURI(``+e).replace(Dn,`|`)}function Mn(e){return jn(typeof e==`string`?e:JSON.stringify(e)).replace(wn,`%2B`).replace(On,`+`).replace(yn,`%23`).replace(bn,`%26`).replace(En,"`").replace(Tn,`^`).replace(xn,`%2F`)}function Nn(e){return Mn(e).replace(Sn,`%3D`)}function Pn(e){return jn(e).replace(yn,`%23`).replace(Cn,`%3F`).replace(An,`%2F`).replace(bn,`%26`).replace(wn,`%2B`)}function Fn(e=``){try{return decodeURIComponent(``+e)}catch{return``+e}}function In(e){return Fn(e.replace(kn,`%252F`))}function Ln(e){return Fn(e.replace(wn,` `))}function Rn(e){return Fn(e.replace(wn,` `))}function zn(e=``){let t=Object.create(null);e[0]===`?`&&(e=e.slice(1));for(let n of e.split(`&`)){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let r=Ln(e[1]);if(r===`__proto__`||r===`constructor`)continue;let i=Rn(e[2]||``);t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function Bn(e,t){return(typeof t==`number`||typeof t==`boolean`)&&(t=String(t)),t?Array.isArray(t)?t.map(t=>`${Nn(e)}=${Mn(t)}`).join(`&`):`${Nn(e)}=${Mn(t)}`:Nn(e)}function Vn(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Bn(t,e[t])).filter(Boolean).join(`&`)}var Hn=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Un=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Wn=/^([/\\]\s*){2,}[^/\\]/,Gn=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Kn=/\/$|\/\?|\/#/,qn=/^\.?\//;function V(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?Hn.test(e):Un.test(e)||(t.acceptRelative?Wn.test(e):!1)}function Jn(e){return!!e&&Gn.test(e)}function Yn(e=``,t){return t?Kn.test(e):e.endsWith(`/`)}function Xn(e=``,t){if(!t)return(Yn(e)?e.slice(0,-1):e)||`/`;if(!Yn(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);i!==-1&&(n=e.slice(0,i),r=e.slice(i));let[a,...o]=n.split(`?`);return((a.endsWith(`/`)?a.slice(0,-1):a)||`/`)+(o.length>0?`?${o.join(`?`)}`:``)+r}function Zn(e=``,t){if(!t)return e.endsWith(`/`)?e:e+`/`;if(Yn(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;let[a,...o]=n.split(`?`);return a+`/`+(o.length>0?`?${o.join(`?`)}`:``)+r}function Qn(e,t){if(tr(t)||V(e))return e;let n=Xn(t);if(e.startsWith(n)){let t=e[n.length];if(!t||t===`/`||t===`?`)return e}return rr(n,e)}function $n(e,t){if(tr(t))return e;let n=Xn(t);if(!e.startsWith(n))return e;let r=e[n.length];return r&&r!==`/`&&r!==`?`?e:`/`+e.slice(n.length).replace(/^\/+/,``)}function er(e,t){let n=sr(e);return n.search=Vn({...zn(n.search),...t}),lr(n)}function tr(e){return!e||e===`/`}function nr(e){return e&&e!==`/`}function rr(e,...t){let n=e||``;for(let e of t.filter(e=>nr(e)))if(n){let t=e.replace(qn,``);n=Zn(n)+t}else n=e;return n}function ir(...e){let t=/\/(?!\/)/,n=e.filter(Boolean),r=[],i=0;for(let e of n)if(!(!e||e===`/`)){for(let[n,a]of e.split(t).entries())if(!(!a||a===`.`)){if(a===`..`){if(r.length===1&&V(r[0]))continue;r.pop(),i--;continue}if(n===1&&r[r.length-1]?.endsWith(`:/`)){r[r.length-1]+=`/`+a;continue}r.push(a),i++}}let a=r.join(`/`);return i>=0?n[0]?.startsWith(`/`)&&!a.startsWith(`/`)?a=`/`+a:n[0]?.startsWith(`./`)&&!a.startsWith(`./`)&&(a=`./`+a):a=`../`.repeat(-1*i)+a,n[n.length-1]?.endsWith(`/`)&&!a.endsWith(`/`)&&(a+=`/`),a}function ar(e,t){return Fn(Xn(e))===Fn(Xn(t))}var or=Symbol.for(`ufo:protocolRelative`);function sr(e=``,t){let n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){let[,e,t=``]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:``,host:``,search:``,hash:``}}if(!V(e,{acceptRelative:!0}))return t?sr(t+e):cr(e);let[,r=``,i,a=``]=e.replace(/\\/g,`/`).match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o=``,s=``]=a.match(/([^#/?]*)(.*)?/)||[];r===`file:`&&(s=s.replace(/\/(?=[A-Za-z]:)/,``));let{pathname:c,search:l,hash:u}=cr(s);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):``,host:o,pathname:c,search:l,hash:u,[or]:!r}}function cr(e=``){let[t=``,n=``,r=``]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function lr(e){let t=e.pathname||``,n=e.search?(e.search.startsWith(`?`)?``:`?`)+e.search:``,r=e.hash||``,i=e.auth?e.auth+`@`:``,a=e.host||``;return(e.protocol||e[or]?(e.protocol||``)+`//`:``)+i+a+t+n+r}function ur(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function dr(e,t,n=`.`,r){if(!ur(t))return dr(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(i[t]=Array.isArray(a)&&Array.isArray(i[t])?[...a,...i[t]]:ur(a)&&ur(i[t])?dr(a,i[t],(n?`${n}.`:``)+t.toString(),r):a))}return i}function fr(e){return(...t)=>t.reduce((t,n)=>dr(t,n,``,e),{})}var pr=fr(),mr=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,hr=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,gr=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function _r(e,t){if(e===`__proto__`||e===`constructor`&&t&&typeof t==`object`&&`prototype`in t){vr(e);return}return t}function vr(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function yr(e,t={}){if(typeof e!=`string`)return e;if(e[0]===`"`&&e[e.length-1]===`"`&&e.indexOf(`\\`)===-1)return e.slice(1,-1);let n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case`true`:return!0;case`false`:return!1;case`undefined`:return;case`null`:return null;case`nan`:return NaN;case`infinity`:return 1/0;case`-infinity`:return-1/0}if(!gr.test(e)){if(t.strict)throw SyntaxError(`[destr] Invalid JSON`);return e}try{if(mr.test(e)||hr.test(e)){if(t.strict)throw Error(`[destr] Possible prototype pollution`);return JSON.parse(e,_r)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}function br(e,t){try{return t in e}catch{return!1}}var xr=class extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){let e={message:this.message,statusCode:Er(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=Tr(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}};function Sr(e){if(typeof e==`string`)return new xr(e);if(Cr(e))return e;let t=new xr(e.message??e.statusMessage??``,{cause:e.cause||e});if(br(e,`stack`))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Er(e.statusCode,t.statusCode):e.status&&(t.statusCode=Er(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){let e=t.statusMessage;Tr(t.statusMessage)!==e&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Cr(e){return e?.constructor?.__h3_error__===!0}var wr=/[^\u0009\u0020-\u007E]/g;function Tr(e=``){return e.replace(wr,``)}function Er(e,t=200){return!e||(typeof e==`string`&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}globalThis.Headers,globalThis.Response;var H=()=>C()?.$router;function Dr(e){let t=e.scope,n=ce();for(;n;){if(n===t)return!0;n=n.parent}return!1}var Or=(()=>{if(Ge()){let e=He();if(!e||Dr(e))return A(B,C()._route)}return C()._route});function kr(e){return e}var Ar=()=>{try{if(C()._processingMiddleware)return!0}catch{return!1}return!1},jr=(e,t)=>{e||=`/`;let n=typeof e==`string`?e:`path`in e?Mr(e):H().resolve(e).href;if(t?.open){let{protocol:e}=new URL(n,window.location.href);if(e&&Jn(e))throw vn.NUXT_E2002({toPath:n,protocol:e});let{target:r=`_blank`,windowFeatures:i={}}=t.open,a=[];for(let[e,t]of Object.entries(i))t!==void 0&&a.push(`${e.toLowerCase()}=${t}`);return open(n,r,a.join(`, `)),Promise.resolve()}let r=V(n,{acceptRelative:!0}),i=t?.external||r;if(i){if(!t?.external)throw vn.NUXT_E2001({toPath:n});let{protocol:e}=new URL(n,window.location.href);if(e&&Jn(e))throw vn.NUXT_E2002({toPath:n,protocol:e})}let a=Ar();if(!i&&a){if(t?.replace){if(typeof e==`string`){let{pathname:t,search:n,hash:r}=sr(e);return{path:t,...n&&{query:zn(n)},...r&&{hash:r},replace:!0}}return{...e,replace:!0}}return e}let o=H(),s=C();if(i)return s._scope.stop(),t?.replace?location.replace(n):location.href=n,a?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve();let c=typeof e==`string`?Nr(e):e;return t?.replace?o.replace(c):o.push(c)};function Mr(e){return er(e.path||``,e.query||{})+(e.hash||``)}function Nr(e){let t=sr(e);return Pn(In(t.pathname))+t.search+t.hash}var Pr=`__nuxt_error`,Fr=()=>ae(C().payload,`error`),Ir=e=>{let t=U(e);try{let e=Fr();C().hooks.callHook(`app:error`,t),e.value||=t}catch{throw t}return t},Lr=(e,t)=>{let r=e.callHook(`app:error`,U(t));return n.NUXT_E1012({userAgent:navigator.userAgent,cause:t}),r},Rr=async(e,t)=>{if(hn(navigator.userAgent)){await Lr(e,t);return}await e.runWithContext(()=>Ir(t))},zr=async(e={})=>{let t=C(),n=Fr();t.callHook(`app:error:cleared`,e),e.redirect&&await H().replace(e.redirect),n.value=void 0},Br=e=>!!e&&typeof e==`object`&&`__nuxt_error`in e,U=e=>{typeof e!=`string`&&e.statusText&&(e.message??=e.statusText);let t=Sr(e);return Object.defineProperty(t,Pr,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t},Vr=class extends Error{constructor(e,t){super(e,t),this.name=`FetchError`,t?.cause&&!this.cause&&(this.cause=t.cause)}};function Hr(e){let t=e.error?.message||e.error?.toString()||``,n=e.request?.method||e.options?.method||`GET`,r=e.request?.url||String(e.request)||`/`,i=new Vr(`${`[${n}] ${JSON.stringify(r)}`}: ${e.response?`${e.response.status} ${e.response.statusText}`:`<no response>`}${t?` ${t}`:``}`,e.error?{cause:e.error}:void 0);for(let t of[`request`,`options`,`response`])Object.defineProperty(i,t,{get(){return e[t]}});for(let[t,n]of[[`data`,`_data`],[`status`,`status`],[`statusCode`,`status`],[`statusText`,`statusText`],[`statusMessage`,`statusText`]])Object.defineProperty(i,t,{get(){return e.response&&e.response[n]}});return i}var Ur=new Set(Object.freeze([`PATCH`,`POST`,`PUT`,`DELETE`]));function Wr(e=`GET`){return Ur.has(e.toUpperCase())}function Gr(e){if(e===void 0)return!1;let t=typeof e;return t===`string`||t===`number`||t===`boolean`||t===null?!0:t===`object`?Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name===`Object`||typeof e.toJSON==`function`:!1}var Kr=new Set([`image/svg`,`application/xml`,`application/xhtml`,`application/html`]),qr=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Jr(e=``){if(!e)return`json`;let t=e.split(`;`).shift()||``;return qr.test(t)?`json`:t===`text/event-stream`?`stream`:Kr.has(t)||t.startsWith(`text/`)?`text`:`blob`}function Yr(e,t,n,r){let i=Xr(t?.headers??e?.headers,n?.headers,r),a;return(n?.query||n?.params||t?.params||t?.query)&&(a={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:a,params:a,headers:i}}function Xr(e,t,n){if(!t)return new n(e);let r=new n(t);if(e)for(let[t,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(t,i);return r}async function Zr(e,t){if(t){if(Array.isArray(t))for(let n of t)await n(e);else await t(e)}}var Qr=new Set([408,409,425,429,500,502,503,504]),$r=new Set([101,204,205,304]);function ei(e={}){let{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function i(e){let t=e.error&&e.error.name===`AbortError`&&!e.options.timeout||!1;if(e.options.retry!==!1&&!t){let t;t=typeof e.options.retry==`number`?e.options.retry:+!Wr(e.options.method);let n=e.response&&e.response.status||500;if(t>0&&(Array.isArray(e.options.retryStatusCodes)?e.options.retryStatusCodes.includes(n):Qr.has(n))){let n=typeof e.options.retryDelay==`function`?e.options.retryDelay(e):e.options.retryDelay||0;return n>0&&await new Promise(e=>setTimeout(e,n)),a(e.request,{...e.options,retry:t-1})}}let n=Hr(e);throw Error.captureStackTrace&&Error.captureStackTrace(n,a),n}let a=async function(a,o={}){let s={request:a,options:Yr(a,o,e.defaults,n),response:void 0,error:void 0};if(s.options.method&&(s.options.method=s.options.method.toUpperCase()),s.options.onRequest&&(await Zr(s,s.options.onRequest),s.options.headers instanceof n||(s.options.headers=new n(s.options.headers||{}))),typeof s.request==`string`&&(s.options.baseURL&&(s.request=Qn(s.request,s.options.baseURL)),s.options.query&&(s.request=er(s.request,s.options.query),delete s.options.query),`query`in s.options&&delete s.options.query,`params`in s.options&&delete s.options.params),s.options.body&&Wr(s.options.method)){if(Gr(s.options.body)){let e=s.options.headers.get(`content-type`);typeof s.options.body!=`string`&&(s.options.body=e===`application/x-www-form-urlencoded`?new URLSearchParams(s.options.body).toString():JSON.stringify(s.options.body)),e||s.options.headers.set(`content-type`,`application/json`),s.options.headers.has(`accept`)||s.options.headers.set(`accept`,`application/json`)}else(`pipeTo`in s.options.body&&typeof s.options.body.pipeTo==`function`||typeof s.options.body.pipe==`function`)&&(`duplex`in s.options||(s.options.duplex=`half`))}let c;if(!s.options.signal&&s.options.timeout){let e=new r;c=setTimeout(()=>{let t=Error(`[TimeoutError]: The operation was aborted due to timeout`);t.name=`TimeoutError`,t.code=23,e.abort(t)},s.options.timeout),s.options.signal=e.signal}try{s.response=await t(s.request,s.options)}catch(e){return s.error=e,s.options.onRequestError&&await Zr(s,s.options.onRequestError),await i(s)}finally{c&&clearTimeout(c)}if((s.response.body||s.response._bodyInit)&&!$r.has(s.response.status)&&s.options.method!==`HEAD`){let e=(s.options.parseResponse?`json`:s.options.responseType)||Jr(s.response.headers.get(`content-type`)||``);switch(e){case`json`:{let e=await s.response.text(),t=s.options.parseResponse||yr;s.response._data=t(e);break}case`stream`:s.response._data=s.response.body||s.response._bodyInit;break;default:s.response._data=await s.response[e]()}}return s.options.onResponse&&await Zr(s,s.options.onResponse),!s.options.ignoreResponseError&&s.response.status>=400&&s.response.status<600?(s.options.onResponseError&&await Zr(s,s.options.onResponseError),await i(s)):s.response},o=async function(e,t){return(await a(e,t))._data};return o.raw=a,o.native=(...e)=>t(...e),o.create=(t={},n={})=>ei({...e,...n,defaults:{...e.defaults,...n.defaults,...t}}),o}var ti=(function(){if(typeof globalThis<`u`)return globalThis;if(typeof self<`u`)return self;if(typeof window<`u`)return window;if(typeof global<`u`)return global;throw Error(`unable to locate global object`)})(),ni=ti.fetch?(...e)=>ti.fetch(...e):()=>Promise.reject(Error(`[ofetch] global.fetch is not supported!`)),ri=ti.Headers,ii=ti.AbortController,ai=ei({fetch:ni,Headers:ri,AbortController:ii}),oi=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,si=()=>oi().app,ci=()=>si().baseURL,li=()=>si().buildAssetsDir,ui=(...e)=>ir(di(),li(),...e),di=(...e)=>{let t=si(),n=t.cdnURL||t.baseURL;return e.length?ir(n,...e):n};globalThis.__buildAssetsURL=ui,globalThis.__publicAssetsURL=di,globalThis.$fetch||(globalThis.$fetch=ai.create({baseURL:ci()}));var fi=globalThis.$fetch;`global`in globalThis||(globalThis.global=globalThis);function pi(e,t){t.push(l),e.vueApp.use(t);let n=!0,r=()=>{n=!1,t.render()};t.hooks?.hook(`dom:beforeRender`,e=>{e.shouldRender=!n}),e.hooks.hook(`page:start`,()=>{n=!0}),e.hooks.hook(`page:finish`,()=>{e.isHydrating||r()}),e.hooks.hook(`app:error`,r),e.hooks.hook(`app:suspense:resolve`,r);let i=t.push.bind(t);t.push=((t,n)=>{let r=i(t,n),a=r.dispose.bind(r);return r.dispose=()=>{let t=e[`~transitionPromise`];t?t.finally(a):a()},r})}function mi(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function hi(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>mi(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}function gi(e,t,n){let r=e.push,i=e;return i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>mi(i,e),i.render=()=>n(i),i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,t.callHook(`entries:updated`,i)},i.push=(n,a)=>{let o=a?.onRendered?t.hook(`dom:rendered`,a.onRendered):void 0,s=r(n,a),c=e.entries.get(s._i);return c&&(c._o=n),i.dirty=!0,t.callHook(`entries:updated`,i),{_i:s._i,patch(e){s.patch(e),i.dirty=!0,t.callHook(`entries:updated`,i)},dispose(){o?.(),e.entries.has(s._i)&&(s.dispose(),i.invalidate())}}},t.hook(`entries:updated`,()=>{i.render()}),i}var _i=/\s+/;function vi(e={}){return t=>Si(t,e)}function yi(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function bi(e){for(let t in e._s)e._s[t]();for(let t in e._p)e._p[t]();e._s={},e._p={},e._e.clear(),e._l.clear()}function xi(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let e of[...t.body.children,...t.head.children]){let t=e.tagName.toLowerCase();if(!b.has(t))continue;let r={innerHTML:e.innerHTML};for(let t of e.getAttributeNames())r[t]=e.getAttribute(t);let i=u({tag:t,props:{}},r);i.key=e.getAttribute(`data-hid`)||void 0;let a=c(i)||y(i),o=a,s=1;for(;n._e.has(o);)o=`${a}:${s++}`;n._e.set(o,e)}for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(_i))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function Si(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom,i=!!r&&r._d!==n;if(!n||r&&!i&&!e.dirty&&!yi(e)||e._du)return!1;let a=n.defaultView;e._du=!0;let o=!1;try{let r=function(e,t,n,r){let i=`${e}:${t}`;f._s[i]=!r&&f._p[i]||n,delete f._p[i]},i=function(e){let t=f._p[e];return delete f._p[e],t},s=function(e,t,n,i,a,o){let s=`event:${t}`,c=`${e}:${s}`,l=f._l.get(c);if(l&&l[0]===o&&l[1]===n&&l[2]===i){r(e,s,l[4]);return}l?.[4]();let u=`data-${t}`,d=(e=>i.call(a,e)),p=()=>{o.removeEventListener(n,d),a.getAttribute(u)===``&&a.removeAttribute(u),f._l.get(c)?.[3]===d&&f._l.delete(c)};o.addEventListener(n,d),f._l.set(c,[o,n,i,d,p]),a.setAttribute(u,``),r(e,s,p,!0)},c=function({id:e,$el:t,tag:n}){let o=n.tag.endsWith(`Attrs`);if(f._e.set(e,t),!o){let a=n.textContent;a!=null&&a!==``&&(a!==t.textContent&&(t.textContent=a),r(e,`text`,()=>{t.textContent===a&&(t.textContent=``)},!0));let o=n.innerHTML;o!=null&&o!==``&&(o!==t.innerHTML&&(t.innerHTML=o),r(e,`html`,()=>{t.innerHTML===o&&(t.innerHTML=``)},!0));let s=`${e}:el`;f._s[s]=i(s)||(()=>{t?.remove(),f._e.delete(e)})}for(let r in n.props){let o=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof o==`function`){let i=r.slice(2);t?.dataset?.[`${r}fired`]&&o.call(t,new((a?.Event)||Event)(i)),s(e,r,i,o,t,n.tag===`bodyAttrs`&&a?a:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&o)for(let e of o){let n=`${c}:${e}`;f._s[n]=i(n)||(()=>t.classList.remove(e)),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&o)for(let[e,n]of o){let r=`${c}:${e}`;f._s[r]=i(r)||(()=>t.style.removeProperty(e)),t.style.setProperty(e,n)}else o!==!1&&o!==null&&(t.getAttribute(r)!==o&&t.setAttribute(r,o===!0?``:String(o)),f._s[c]=i(c)||(()=>t.removeAttribute(r)))}},l={shouldRender:!0,tags:[]};if(d(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=e._dom;u?._d!==n&&(u&&bi(u),u=void 0),u?u._p=u._s:u=xi(e,n),u._s={};let f=u,p=[],m={};e.dirty=!1;let h=_(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),g=[],v={};for(let e of h){let t=v[e._d]||0,i=(t?`${e._d}:${t}`:e._d)||e._h,a={tag:e,id:i,shouldRender:!0};if(e.tag===`meta`&&e._d&&x(e._d)&&(v[e._d]=t+1),g.push(a),e.tag===`title`){n.title=e.textContent,r(`title`,``,()=>n.title=f._t);continue}a.$el=f._e.get(i),a.$el?c(a):b.has(e.tag)&&p.push(a)}for(let e of p)e.$el=n.createElement(e.tag.tag),c(e),(m[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el);m.head&&n.head.appendChild(m.head),m.bodyOpen&&n.body.insertBefore(m.bodyOpen,n.body.firstChild),m.bodyClose&&n.body.appendChild(m.bodyClose);for(let e in f._p)f._p[e]();e._dom=f,o=!0,d(e,`dom:rendered`,{renders:g})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return o&&(e.dirty||yi(e))&&Si(e,t),o}var Ci=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(v[e.tagPriority]||0);function wi(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||vi({document:e.document}),n=gi(hi(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:Ci,init:[]}),f(e.hooks),t);return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}function Ti(e,t){return t&&typeof e==`function`&&(e.key=t),e}var Ei=/\\/g,Di=/</g,Oi=/"/g,ki=/%\w+(?:\.\w+)?/g,Ai=`%separator`;function ji(e,t,n=!1){let r;if(t===`s`||t===`pageTitle`)r=e.pageTitle;else if(t.includes(`.`)){let n=t.indexOf(`.`);r=e[t.substring(0,n)]?.[t.substring(n+1)]}else r=e[t];if(r!==void 0)return n?(r||``).replace(Ei,`\\\\`).replace(Di,`\\u003C`).replace(Oi,`\\"`):r||``}function Mi(e,t,n,r=!1){if(typeof e!=`string`||!e.includes(`%`))return e;let i=e;try{i=decodeURI(e)}catch{}let a=i.match(ki);if(!a)return e;let o=e.includes(Ai);return e=e.replace(ki,e=>{if(e===Ai||!a.includes(e))return e;let n=ji(t,e.slice(1),r);return n===void 0?e:n}).trim(),o&&(e=e.split(Ai).map(e=>e.trim()).filter(e=>e!==``).join(n?` ${n} `:` `)),e}var Ni=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Pi=e=>e.includes(`:key`)?e:e.split(`:`).join(`:key:`),Fi=Ti({key:`aliasSorting`,hooks:{"tags:resolve":e=>{let t=!1;for(let n of e.tags){let r=n.tagPriority;if(!r)continue;let i=String(r);if(i.startsWith(`before:`)){let r=Pi(i.slice(7)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p-1,t=!0)}else if(i.startsWith(`after:`)){let r=Pi(i.slice(6)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Ni))}}}),Ii=Ti({key:`deprecations`,hooks:{"entries:normalize":({tags:e})=>{for(let t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),`body`in t.props&&(t.props.body&&(t.tagPosition=`bodyClose`),delete t.props.body),t.props.renderPriority!=null&&(t.tagPriority=t.props.renderPriority,delete t.props.renderPriority)}}});function Li(e){return typeof e?.then==`function`}function Ri(e){if(typeof e==`function`)return e;if(Li(e))return Promise.resolve(e).then(Ri);if(Array.isArray(e)){let t=e.map(Ri);return t.some(Li)?Promise.all(t):e}if(e?.constructor===Object){let t=Object.keys(e),n=t.map(t=>Ri(e[t]));if(n.some(Li))return Promise.all(n).then(e=>Object.fromEntries(t.map((t,n)=>[t,e[n]])))}return e}var zi=Ti(e=>{let t=new WeakMap;return{key:`promises`,hooks:{"entries:resolve":n=>{for(let r=n.entries.length-1;r>=0;r--){let i=n.entries[r],a=i.input;if(t.get(i)===a){n.entries.splice(r,1);continue}let o=Ri(a);if(!Li(o)){t.delete(i);continue}t.set(i,a),n.entries.splice(r,1),Promise.resolve(o).then(n=>{t.get(i)===a&&(t.delete(i),i.input=n,delete i._tags,e.invalidate?.())},()=>{t.get(i)===a&&t.delete(i)})}}}}},`promises`),Bi={meta:`content`,link:`href`,htmlAttrs:`lang`},Vi=[`innerHTML`,`textContent`],Hi=Ti(e=>({key:`template-params`,hooks:{"tags:resolve":({tagMap:t,tags:n})=>{let r=t.get(`templateParams`)?.props||{},i=r.separator||`|`;delete r.separator,r.pageTitle=Mi(r.pageTitle||e._title||``,r,i);for(let e of n){if(e.processTemplateParams===!1)continue;let t=Bi[e.tag];if(t&&typeof e.props[t]==`string`)e.props[t]=Mi(e.props[t],r,i);else if(e.processTemplateParams||e.tag===`titleTemplate`||e.tag===`title`)for(let t of Vi)typeof e[t]==`string`&&(e[t]=Mi(e[t],r,i,e.tag===`script`&&typeof e.props.type==`string`&&e.props.type.endsWith(`json`)))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tagMap:t})=>{let n=t.get(`title`);n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=Mi(n.textContent,e._templateParams,e._separator))}}}),`template-params`);function Ui(e={}){let t=vi(),n,r=0;return n=wi({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=h(n),n}var Wi={disableDefaults:!0,plugins:[Ii,zi,Hi,Fi]},Gi=s({name:`nuxt:head`,enforce:`pre`,setup(e){pi(e,Ui(Wi))}}),Ki=/(:\w+)\([^)]+\)/g,qi=/(:\w+)[?+*]/g,Ji=/:\w+/g,Yi=(e,t)=>t.path.replace(Ki,`$1`).replace(qi,`$1`).replace(Ji,t=>e.params[t.slice(1)]?.toString()||``),Xi=(e,t)=>{let n=e.route.matched.find(t=>t.components?.default===e.Component.type),r=t??n?.meta.key??(n&&Yi(e.route,n));return typeof r==`function`?r(e.route):r},Zi=(e,t)=>({default:()=>e?M(Se,e===!0?{}:e,t):t});function Qi(e){return Array.isArray(e)?e:[e]}function $i(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function ea(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&$i(e.default)}var W=Object.assign;function ta(e,t){let n={};for(let r in t){let i=t[r];n[r]=G(i)?i.map(e):e(i)}return n}var na=()=>{},G=Array.isArray;function ra(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var ia=Symbol(``);function aa(e,t){return W(Error(),{type:e,[ia]:!0},t)}function K(e,t){return e instanceof Error&&ia in e&&(t==null||!!(e.type&t))}var oa=Symbol(``),sa=Symbol(``),ca=Symbol(``),la=Symbol(``),ua=Symbol(``);function da(e){return A(la)}var fa=typeof document<`u`,pa=/#/g,ma=/&/g,ha=/\//g,ga=/=/g,_a=/\?/g,va=/\+/g,ya=/%5B/g,ba=/%5D/g,xa=/%5E/g,Sa=/%60/g,Ca=/%7B/g,wa=/%7C/g,Ta=/%7D/g,Ea=/%20/g;function Da(e){return e==null?``:encodeURI(``+e).replace(wa,`|`).replace(ya,`[`).replace(ba,`]`)}function Oa(e){return Da(e).replace(Ca,`{`).replace(Ta,`}`).replace(xa,`^`)}function ka(e){return Da(e).replace(va,`%2B`).replace(Ea,`+`).replace(pa,`%23`).replace(ma,`%26`).replace(Sa,"`").replace(Ca,`{`).replace(Ta,`}`).replace(xa,`^`)}function Aa(e){return ka(e).replace(ga,`%3D`)}function ja(e){return Da(e).replace(pa,`%23`).replace(_a,`%3F`)}function Ma(e){return ja(e).replace(ha,`%2F`)}function Na(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var Pa=/\/$/,Fa=e=>e.replace(Pa,``);function Ia(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=Wa(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:Na(o)}}function La(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function Ra(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function za(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Ba(t.matched[r],n.matched[i])&&Va(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ba(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Va(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Ha(e[n],t[n]))return!1;return!0}function Ha(e,t){return G(e)?Ua(e,t):G(t)?Ua(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Ua(e,t){return G(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Wa(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`){if(s===`..`)a>1&&a--;else break}return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var q={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0};function Ga(e){if(!e){if(fa){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^/]+/,``)}else e=`/`}return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),Fa(e)}var Ka=/^[^#]+#/;function qa(e,t){return e.replace(Ka,`#`)+t}function Ja(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var Ya=()=>({left:window.scrollX,top:window.scrollY});function Xa(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Ja(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Za(e,t){return(history.state?history.state.position-t:-1)+e}var Qa=new Map;function $a(e,t){Qa.set(e,t)}function eo(e){let t=Qa.get(e);return Qa.delete(e),t}function to(e){return typeof e==`string`||e&&typeof e==`object`}function no(e){return typeof e==`string`||typeof e==`symbol`}function ro(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(va,` `),i=r.indexOf(`=`),a=Na(i<0?r:r.slice(0,i)),o=i<0?null:Na(r.slice(i+1));if(a in t){let e=t[a];G(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function io(e){let t=``;for(let n in e){let r=e[n];if(n=Aa(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(G(r)?r.map(e=>e&&ka(e)):[r&&ka(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function ao(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=G(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function oo(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function J(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(aa(4,{from:n,to:t})):e instanceof Error?c(e):to(e)?c(aa(2,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function so(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e])){if($i(s)){let c=(s.__vccOpts||s)[t];c&&a.push(J(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=ea(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&J(c,n,r,o,e,i)()}))}}}return a}function co(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>Ba(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>Ba(e,s))||i.push(s))}return[n,r,i]}var lo=()=>location.protocol+`//`+location.host;function uo(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),Ra(n,``)}return Ra(n,e)+r+i}function fo(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=uo(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:`pop`,direction:u?u>0?`forward`:`back`:``})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(W({},e.state,{scroll:Ya()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function po(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Ya():null}}function mo(e){let{history:t,location:n}=window,r={value:uo(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:lo()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,W({},t.state,po(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=W({},i.value,t.state,{forward:e,scroll:Ya()});a(o.current,o,!0),a(e,W({},po(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function ho(e){e=Ga(e);let t=mo(e),n=fo(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=W({location:``,base:e,go:r,createHref:qa.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}var go={type:0,value:``},_o=/[a-zA-Z0-9_]/;function vo(e){if(!e)return[[]];if(e===`/`)return[[go]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;)switch(c=e[s++],n){case 0:c===`\\`?(r=n,n=4):c===`/`?(l&&d(),o()):c===`:`?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c===`(`?n=2:_o.test(c)?f():(d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case 2:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`)}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var yo=`[^/]+?`,bo={sensitive:!1,strict:!1,start:!0,end:!0},xo=/[.+*?^${}()[\]/\\]/g;function So(e,t){let n=W({},bo,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[90];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=40+(n.sensitive?.25:0);if(o.type===0)r||(i+=`/`),i+=o.value.replace(xo,`\\$&`),s+=40;else if(o.type===1){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||yo;if(u!==yo){s+=10;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=20,c&&(s+=-8),n&&(s+=-20),u===`.*`&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===0)n+=e.value;else if(e.type===1){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(G(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=G(c)?c.join(`/`):c;if(!l){if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`)}n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function Co(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function wo(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=Co(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(To(r))return 1;if(To(i))return-1}return i.length-r.length}function To(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var Eo={strict:!1,end:!0,sensitive:!1};function Do(e,t,n){let r=W(So(vo(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Oo(e,t){let n=[],r=new Map;t=ra(Eo,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=Ao(e);s.aliasOf=r&&r.record;let l=ra(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(Ao(W({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=Do(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!Mo(d)&&o(e.name)),Io(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:na}function o(e){if(no(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=Po(e,n);n.splice(t,0,e),e.record.name&&!Mo(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw aa(1,{location:e});s=i.record.name,a=W(ko(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&ko(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw aa(1,{location:e,currentLocation:t});s=i.record.name,a=W({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:No(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function ko(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function Ao(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:jo(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function jo(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function Mo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function No(e){return e.reduce((e,t)=>W(e,t.meta),{})}function Po(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;wo(e,t[i])<0?r=i:n=i+1}let i=Fo(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function Fo(e){let t=e;for(;t=t.parent;)if(Io(t)&&wo(e,t)===0)return t}function Io({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Lo(e){let t=A(ca),n=A(la),r=P(()=>{let n=F(e.to);return t.resolve(n)}),i=P(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(Ba.bind(null,i));if(o>-1)return o;let s=Ho(e[t-2]);return t>1&&Ho(i)===s&&a[a.length-1].path!==s?a.findIndex(Ba.bind(null,e[t-2])):o}),a=P(()=>i.value>-1&&Vo(n.params,r.value.params)),o=P(()=>i.value>-1&&i.value===n.matched.length-1&&Va(n.params,r.value.params));function s(n={}){if(Bo(n)){let n=t[F(e.replace)?`replace`:`push`](F(e.to)).catch(na);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:P(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function Ro(e){return e.length===1?e[0]:e}var zo=j({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`},viewTransition:Boolean},useLink:Lo,setup(e,{slots:t}){let n=Fe(Lo(e)),{options:r}=A(ca),i=P(()=>({[Uo(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[Uo(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&Ro(t.default(n));return e.custom?r:M(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function Bo(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(e.button===void 0||e.button===0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Vo(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!G(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function Ho(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var Uo=(e,t,n)=>e??t??n,Wo=j({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=A(ua),i=P(()=>e.route||r.value),a=A(sa,0),o=P(()=>{let e=F(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=P(()=>i.value.matched[o.value]);k(sa,P(()=>o.value+1)),k(oa,s),k(ua,i);let c=O();return Je(()=>[c.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!Ba(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,l=o&&o.components[a];if(!l)return Go(n.default,{Component:l,route:r});let u=o.props[a],d=u?u===!0?r.params:typeof u==`function`?u(r):u:null,f=M(l,W({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:c}));return Go(n.default,{Component:f,route:r})||f}}});function Go(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Ko=Wo;function qo(e){let t=Oo(e.routes,e),n=e.parseQuery||ro,r=e.stringifyQuery||io,i=e.history,a=oo(),o=oo(),s=oo(),c=le(q),l=q;fa&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let u=ta.bind(null,e=>``+e),d=ta.bind(null,Ma),f=ta.bind(null,Na);function p(e,n){let r,i;return no(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function m(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function h(){return t.getRoutes().map(e=>e.record)}function g(e){return!!t.getRecordMatcher(e)}function _(e,a){if(a=W({},a||c.value),typeof e==`string`){let r=Ia(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return W(r,o,{params:f(o.params),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=W({},e,{path:Ia(n,e.path,a.path).path});else{let t=W({},e.params);for(let e in t)t[e]??delete t[e];o=W({},e,{params:d(t)}),a.params=d(a.params)}let s=t.resolve(o,a),l=e.hash||``;s.params=u(f(s.params));let p=La(r,W({},e,{hash:Oa(l),path:s.path})),m=i.createHref(p);return W({fullPath:p,hash:l,query:r===io?ao(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function v(e){return typeof e==`string`?Ia(n,e,c.value.path):W({},e)}function y(e,t){if(l!==e)return aa(8,{from:t,to:e})}function b(e){return C(e)}function x(e){return b(W(v(e),{replace:!0}))}function S(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=v(i):{path:i},i.params={}),W({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function C(e,t){let n=l=_(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,u=S(n,i);if(u)return C(W(v(u),{state:typeof u==`object`?W({},a,u.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&za(r,i,n)&&(f=aa(16,{to:d,from:i}),se(i,i,!0,!1)),(f?Promise.resolve(f):ee(d,i)).catch(e=>K(e)?K(e,2)?e:A(e):k(e,d,i)).then(e=>{if(e){if(K(e,2))return C(W({replace:s},v(e.to),{state:typeof e.to==`object`?W({},a,e.to.state):a,force:o}),t||d)}else e=te(d,i,!0,s,a);return E(d,i,e),e})}function w(e,t){let n=y(e,t);return n?Promise.reject(n):Promise.resolve()}function T(e){let t=de.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function ee(e,t){let n,[r,i,s]=co(e,t);n=so(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(J(r,e,t))});let c=w.bind(null,e,t);return n.push(c),M(n).then(()=>{n=[];for(let r of a.list())n.push(J(r,e,t));return n.push(c),M(n)}).then(()=>{n=so(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(J(r,e,t))});return n.push(c),M(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter){if(G(r.beforeEnter))for(let i of r.beforeEnter)n.push(J(i,e,t));else n.push(J(r.beforeEnter,e,t))}return n.push(c),M(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=so(s,`beforeRouteEnter`,e,t,T),n.push(c),M(n))).then(()=>{n=[];for(let r of o.list())n.push(J(r,e,t));return n.push(c),M(n)}).catch(e=>K(e,8)?e:Promise.reject(e))}function E(e,t,n){s.list().forEach(r=>T(()=>r(e,t,n)))}function te(e,t,n,r,a){let o=y(e,t);if(o)return o;let s=t===q,l=fa?history.state:{};n&&(r||s?i.replace(e.fullPath,W({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,se(e,t,n,s),A()}let D;function ne(){D||=i.listen((e,t,n)=>{if(!fe.listening)return;let r=_(e),a=S(r,fe.currentRoute.value);if(a){C(W(a,{replace:!0,force:!0}),r).catch(na);return}l=r;let o=c.value;fa&&$a(Za(o.fullPath,n.delta),Ya()),ee(r,o).catch(e=>K(e,12)?e:K(e,2)?(C(W(v(e.to),{force:!0}),r).then(e=>{K(e,20)&&!n.delta&&n.type===`pop`&&i.go(-1,!1)}).catch(na),Promise.reject()):(n.delta&&i.go(-n.delta,!1),k(e,r,o))).then(e=>{e||=te(r,o,!1),e&&(n.delta&&!K(e,8)?i.go(-n.delta,!1):n.type===`pop`&&K(e,20)&&i.go(-1,!1)),E(r,o,e)}).catch(na)})}let re=oo(),ie=oo(),O;function k(e,t,n){A(e);let r=ie.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function ae(){return O&&c.value!==q?Promise.resolve():new Promise((e,t)=>{re.add([e,t])})}function A(e){return O||(O=!e,ne(),re.list().forEach(([t,n])=>e?n(e):t()),re.reset()),e}function se(t,n,r,i){let{scrollBehavior:a}=e;if(!fa||!a)return Promise.resolve();let o=!r&&eo(Za(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return oe().then(()=>a(t,n,o)).then(e=>t===c.value&&e&&Xa(e)).catch(e=>t===c.value&&k(e,t,n))}let ce=e=>i.go(e),j,de=new Set,fe={currentRoute:c,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:h,resolve:_,options:e,push:b,replace:x,go:ce,back:()=>ce(-1),forward:()=>ce(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:ie.add,isReady:ae,install(e){e.component(`RouterLink`,zo),e.component(`RouterView`,Ko),e.config.globalProperties.$router=fe,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>F(c)}),fa&&!j&&c.value===q&&(j=!0,b(i.location).catch(e=>{}));let t={};for(let e in q)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(ca,fe),e.provide(la,ue(t)),e.provide(ua,c);let n=e.unmount;de.add(e),e.unmount=function(){de.delete(e),de.size<1&&(l=q,D&&D(),D=null,c.value=q,j=!1,O=!1),n()}}};function M(e){return e.reduce((e,t)=>e.then(()=>T(t)),Promise.resolve())}return fe}var Jo=(e,t)=>({default:()=>e?M(ot,e===!0?{}:e,t):t.default?.()}),Yo=/(:\w+)\([^)]+\)/g,Xo=/(:\w+)[?+*]/g,Zo=/:\w+/g;function Qo(e){let t=e?.meta.key??e.path.replace(Yo,`$1`).replace(Xo,`$1`).replace(Zo,t=>e.params[t.slice(1)]?.toString()||``);return typeof t==`function`?t(e):t}function $o(e,t){return e===t||t===q?!1:Qo(e)!==Qo(t)||!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default)}function es(e){return Array.isArray(e)?e:[e]}function ts(e){let t=[];for(let n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?es(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?es(n.onBeforeLeave):void 0});return pr(...t)}var ns={scrollBehavior(e,t,n){let r=C(),i=H(),a=i.options?.scrollBehaviorType??`auto`;return e.path.replace(/\/$/,``)===t.path.replace(/\/$/,``)?t.hash&&!e.hash?n??{left:0,top:0}:e.hash?{el:e.hash,top:rs(e.hash),behavior:a}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===q?is(e,t,n,a):new Promise(o=>{let s=()=>{requestAnimationFrame(()=>{if(i.currentRoute.value.fullPath!==e.fullPath){o(!1);return}o(is(e,t,n,a))})};r.hooks.hookOnce(`page:loading:end`,()=>{let e=r[`~transitionPromise`];e?e.then(s):s()})})}};function rs(e){try{let t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function is(e,t,n,r){return n||(e.hash?{el:e.hash,top:rs(e.hash),behavior:$o(e,t)?r:`instant`}:{left:0,top:0})}var Y={hashMode:!1,scrollBehaviorType:`auto`,...ns},as=kr(async e=>{let t,n;if(!e.meta?.validate)return;let i=([t,n]=r(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(i!==!0)return U({fatal:!0,status:i&&(i.status||i.statusCode)||404,statusText:i&&(i.statusText||i.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}})},1),os=e({docsBase:i,reporters:g}),ss=(e,t)=>[],cs=ss,ls=function(e){if(!e.includes(`%`))return e;let t=e.indexOf(`?`),n=t===-1?e:e.slice(0,t);try{return t===-1?decodeURI(n):decodeURI(n)+e.slice(t)}catch{return e}},us=(e,t)=>{if(typeof e!=`string`)return e;let n=ls(e);return t?n.toLowerCase():n},ds=e=>Y.sensitive?pr({},...ss(``,us(e,!1)).map(e=>e.data).reverse()):pr({},...cs(``,us(e,!0)).map(e=>e.data).reverse()),fs=`modulepreload`,ps=function(e,t){return new URL(e,t).href},ms={},hs=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=ps(t,n),t=s(t),t in ms)return;ms[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:fs,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},gs=fi,_s=ds,vs;function ys(){let e;return e=gs(ui(`builds/meta/${T().app.buildId}.json`),{responseType:`json`}).then(e=>{if(!e||typeof e!=`object`||!Array.isArray(e.prerendered))throw os.NUXT_E5004();return e}),vs=e,e.catch(t=>{vs===e&&(vs=void 0),os.NUXT_E5002({cause:t})}),e}function bs(){return vs||ys()}function xs(e){let t=typeof e==`string`?e:e.path;try{return _s(t)}catch(e){return os.NUXT_E5003({path:t,cause:e}),{}}}var Ss=[as,kr(e=>{let t=xs({path:e.path});if(t.redirect){let n=t.redirect.includes(`#`)?t.redirect:t.redirect+e.hash;return V(n,{acceptRelative:!0})?(window.location.href=n,!1):n}})],Cs={},ws=[{name:`vue-query`,path:`/vue-query`,component:()=>hs(()=>import(`./BRcKKP0I.js`),__vite__mapDeps([0,1,2]),import.meta.url)}];function Ts(e,t,n){let{pathname:r,search:i,hash:a}=t,o=e.indexOf(`#`);if(o>-1){let t=a.includes(e.slice(o))?e.slice(o).length:1,n=a.slice(t);return n[0]!==`/`&&(n=`/`+n),$n(n,``)}let s=$n(r,e),c=!n||ar(s,n)?s:n;return c+(c.includes(`?`)?``:i)+a}var Es=s({name:`nuxt:router`,enforce:`pre`,async setup(e){let t,n,i=T().app.baseURL,a=Y.history?.(i)??ho(i),o=Y.routes?([t,n]=r(()=>Y.routes(ws)),t=await t,n(),t??ws):ws,s,c=qo({...Y,scrollBehavior:(e,t,n)=>{if(t===q){s=n;return}if(Y.scrollBehavior){if(c.options.scrollBehavior=Y.scrollBehavior,`scrollRestoration`in window.history){let e=c.beforeEach(()=>{e(),window.history.scrollRestoration=`manual`})}return Y.scrollBehavior(e,q,s||n)}},history:a,routes:o});`scrollRestoration`in window.history&&(window.history.scrollRestoration=`auto`),e.vueApp.use(c);let l=le(c.currentRoute.value);c.afterEach((e,t)=>{l.value=t}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});let u=Ts(i,window.location,e.payload.path),d=le(c.currentRoute.value),f=()=>{d.value=c.currentRoute.value};c.afterEach((e,t)=>{let n=e.matched.at(-1)?.components?.default,r=t.matched.at(-1)?.components?.default;if(n===r){Xi({route:e,Component:{type:n}})===Xi({route:t,Component:{type:r}})&&f();return}e.matched.length<t.matched.length&&e.matched.every((e,n)=>e.components?.default===t.matched[n]?.components?.default)&&f()});let p={sync:f};for(let e in d.value)Object.defineProperty(p,e,{get:()=>d.value[e],enumerable:!0});e._route=ue(p),e._middleware||={global:[],named:{}};let m=Fr();c.afterEach(async(t,n,r)=>{delete e._processingMiddleware,!e.isHydrating&&m.value&&await e.runWithContext(zr),r&&await e.callHook(`page:loading:end`)});try{[t,n]=r(()=>c.isReady()),await t,n()}catch(i){[t,n]=r(()=>Rr(e,i)),await t,n()}let h=u===c.currentRoute.value.fullPath?c.currentRoute.value:c.resolve(u),g=c.currentRoute.value.fullPath,_=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&u!==e.payload.path&&ar(c.currentRoute.value.path,e.payload.path);f();function v(t){!e.isHydrating&&t.fullPath!==Ts(i,window.location)&&a.push(t.fullPath)}let y=e.payload.state._layout;return c.beforeEach(async(t,n)=>{await e.callHook(`page:loading:start`),t.meta=Fe(t.meta),e.isHydrating&&y&&!re(t.meta.layout)&&(t.meta.layout=y),e._processingMiddleware=!0;{let r=new Set([...Ss,...e._middleware.global]);for(let e of t.matched){let t=e.meta.middleware;if(t)for(let e of Qi(t))r.add(e)}let i=xs({path:t.path});if(i.appMiddleware)for(let e in i.appMiddleware)i.appMiddleware[e]?r.add(e):r.delete(e);for(let i of r){let r=typeof i==`string`?e._middleware.named[i]||await Cs[i]?.().then(e=>e.default||e):i;if(!r)throw vn.NUXT_E2004({entry:String(i),validMiddleware:void 0});try{let i=await e.runWithContext(()=>r(t,n));if(!e.payload.serverRendered&&e.isHydrating&&(i===!1||i instanceof Error)){let t=i||U({status:404,statusText:`Page Not Found: ${u}`});return await e.runWithContext(()=>Ir(t)),!1}if(i===!0)continue;if(i===!1)return i;if(i)return Br(i)&&i.fatal&&(await e.runWithContext(()=>Ir(i)),v(t)),i}catch(n){let r=U(n);return r.fatal&&(await e.runWithContext(()=>Ir(r)),v(t)),r}}}}),c.onError(async()=>{delete e._processingMiddleware,await e.callHook(`page:loading:end`)}),c.afterEach(t=>{if(t.matched.length===0&&!m.value)return e.runWithContext(()=>Ir(U({status:404,fatal:!1,statusText:`Page not found: ${t.fullPath}`,data:{path:t.fullPath}})))}),e.hooks.hookOnce(`app:created`,async()=>{try{if(`name`in h&&(h.name=void 0),c.currentRoute.value.fullPath===g){if(_){let t=c.resolve(e.payload.path);`name`in t&&(t.name=void 0),await c.replace({...t,force:!0});let n=()=>{e[`~restoreDeferredRoute`]&&(e[`~restoreDeferredRoute`]=void 0,c.currentRoute.value=c.resolve(u),f(),c.replace({...h,force:!0}).catch(()=>{}))};e[`~restoreDeferredRoute`]=n,e.hooks.hookOnce(`app:suspense:resolve`,n)}else await c.replace({...h,force:!0})}c.options.scrollBehavior=Y.scrollBehavior}catch(t){await Rr(e,t)}}),{provide:{router:c}}}},1),Ds=globalThis.requestIdleCallback||(e=>{let t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Os=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),ks=e=>{let t=C();t.isHydrating?t.hooks.hookOnce(`app:suspense:resolve`,()=>{Ds(()=>e())}):Ds(()=>e())},As=s(()=>{let e=H();ks(()=>{e.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),js=s(e=>{let t;async function n(){let r;try{r=await bs()}catch(e){let t=e;if(!(`status`in t&&(t.status===404||t.status===403)))throw t}t&&clearTimeout(t),t=setTimeout(n,w);try{let n=await fi(ui(`builds/latest.json`)+`?${Date.now()}`);n.id!==r?.id&&(e.hooks.callHook(`app:manifest:update`,n),t&&clearTimeout(t))}catch{}}ks(()=>{t=setTimeout(n,w)})});function Ms(e={}){let t=e.path||window.location.pathname,n=new URL(t,window.location.href);if(n.host!==window.location.host)throw vn.NUXT_E2010({path:t});if(n.protocol&&Jn(n.protocol))throw vn.NUXT_E2002({toPath:t,protocol:n.protocol});let r={};try{r=JSON.parse(sessionStorage.getItem(`nuxt:reload`)||`{}`)}catch{}if(e.force||r?.path!==t||r?.expires<Date.now()){try{sessionStorage.setItem(`nuxt:reload`,JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem(`nuxt:reload:state`,JSON.stringify({state:C().payload.state}))}catch{}window.location.pathname===t?window.location.reload():window.location.href=t}}var Ns=s({name:`nuxt:chunk-reload-crawler`,setup(e){let t=!0;e.hooks.hookOnce(`app:suspense:resolve`,()=>{t=!1}),e.hook(`app:chunkError`,()=>{t&&hn(navigator.userAgent)&&Ms()})}}),Ps=s({name:`nuxt:chunk-reload`,setup(e){let t=H(),n=T(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook(`app:chunkError`,({error:e})=>{r.add(e)});function i(e){Ms({path:rr(n.app.baseURL,e.fullPath),persistState:!0})}e.hook(`app:manifest:update`,()=>{t.beforeResolve(i)}),t.onError((e,t)=>{r.has(e)&&i(t)})}});function Fs(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function Is(e,t=H()){let{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;let i=t._preloadPromises||=[];if(i.length>4)return Promise.all(i).then(()=>Is(e,t));t._routePreloaded.add(n);for(let e of r){let t=e.components?.default;if(typeof t!=`function`)continue;let n=Promise.resolve(t()).catch(()=>{}).finally(()=>i.splice(i.indexOf(n),1));i.push(n)}await Promise.all(i)}var Ls=(...e)=>e.find(e=>e!==void 0);function Rs(e){let t=e.replace(/[\u0000-\u001F\s]+/g,``);for(;t.toLowerCase().startsWith(`view-source:`);)t=t.slice(12);let n=t.indexOf(`:`);return n>0&&Jn(t.slice(0,n+1))?null:e}function zs(e){let t=e.componentName||`NuxtLink`;function n(e){return typeof e==`string`&&e.startsWith(`#`)}function r(t,n,r){let i=r??e.trailingSlash;if(!t||i!==`append`&&i!==`remove`)return t;if(typeof t==`string`)return Vs(t,i);let a=`path`in t&&t.path!==void 0?t.path:n(t).path;return{...t,name:void 0,path:Vs(a,i)}}function i(t){let i=H(),a=T(),o=P(()=>!!F(t.target)&&F(t.target)!==`_self`),s=P(()=>{let e=F(t.to)||F(t.href)||``;return typeof e==`string`&&V(e,{acceptRelative:!0})}),c=ne(`RouterLink`),l=c&&typeof c!=`string`?c.useLink:void 0,u=P(()=>{if(F(t.external))return!0;let e=F(t.to)||F(t.href)||``;return typeof e==`object`?!1:e===``||s.value}),d=P(()=>{let e=F(t.to)||F(t.href)||``;return u.value?e:r(e,i.resolve,F(t.trailingSlash))}),f=u.value?void 0:l?.({...t,to:d,viewTransition:F(t.viewTransition)}),p=P(()=>{let r=F(t.trailingSlash)??e.trailingSlash;if(!d.value||s.value||n(d.value)){let e=d.value;return typeof e==`string`?Rs(e):e}if(u.value){let e=typeof d.value==`object`&&`path`in d.value?Mr(d.value):d.value,t=typeof e==`object`?i.resolve(e).href:e,n=typeof t==`string`?Rs(t):t;return n===null?null:Vs(n,r)}return typeof d.value==`object`?i.resolve(d.value)?.href??null:Vs(rr(a.app.baseURL,d.value),r)});return{to:d,hasTarget:o,isAbsoluteUrl:s,isExternal:u,href:p,isActive:f?.isActive??P(()=>d.value===i.currentRoute.value.path),isExactActive:f?.isExactActive??P(()=>d.value===i.currentRoute.value.path),route:f?.route??P(()=>i.resolve(d.value)),async navigate(e){p.value!==null&&await jr(p.value,{replace:F(t.replace),external:u.value||o.value})}}}return j({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:i,setup(t,{slots:r}){let a=H(),{to:o,href:s,navigate:c,isExternal:l,hasTarget:u,isAbsoluteUrl:d}=i(t),f=le(!1),p=O(null),m=e=>{p.value=t.custom?e?.$el?.nextElementSibling:e?.$el};function h(n){return!!(!f.value&&(typeof t.prefetchOn==`string`?t.prefetchOn===n:t.prefetchOn?.[n]??e.prefetchOn?.[n])&&(t.prefetch??e.prefetch)!==!1&&t.noPrefetch!==!0&&t.target!==`_blank`&&!Ws())}async function g(e=C()){if(f.value||s.value===null)return;f.value=!0;let t=typeof o.value==`string`?o.value:l.value?Mr(o.value):a.resolve(o.value).fullPath,n=l.value?new URL(t,window.location.href).href:t;await Promise.all([e.hooks.callHook(`link:prefetch`,n)?.catch(()=>{}),!l.value&&!u.value&&Is(o.value,a).catch(()=>{})])}if(!t.custom&&h(`visibility`)){let e=C(),t,n=null;ee(()=>{let r=Hs();ks(()=>{t=Ds(()=>{p?.value?.tagName&&(n=r.observe(p.value,async()=>{n?.(),n=null,await g(e)}))})})}),D(()=>{t&&Os(t),n?.(),n=null})}return()=>{let i=t.target||null,_=Ls(t.noRel?``:t.rel,e.externalRelAttribute,d.value||u.value?`noopener noreferrer`:``)||null,v=e=>({href:s.value,navigate:c,get route(){if(!s.value)return;let e=new URL(s.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return zn(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:s.value}},rel:_,target:i,isExternal:l.value||u.value,isActive:!1,isExactActive:!1,...e,prefetch:g,prefetched:f.value,shouldPrefetch:h});if(!l.value&&!u.value&&!n(o.value)){let n={ref:m,to:o.value,activeClass:t.activeClass||e.activeClass,exactActiveClass:t.exactActiveClass||e.exactActiveClass,replace:t.replace,ariaCurrentValue:t.ariaCurrentValue,custom:t.custom};return t.custom||(h(`interaction`)&&(n.onPointerenter=g.bind(null,void 0),n.onFocus=g.bind(null,void 0)),f.value&&(n.class=t.prefetchedClass||e.prefetchedClass),n.rel=t.rel||void 0),M(ne(`RouterLink`),n,t.custom&&r.default?{default:e=>r.default(v(e))}:r.default)}return t.custom?r.default?r.default(v()):null:M(`a`,{ref:p,href:s.value||null,rel:_,target:i,onClick:async e=>{if(!(l.value||u.value)){e.preventDefault();try{let e=Nr(s.value??``);return await(t.replace?a.replace(e):a.push(e))}finally{if(n(o.value)){let e=o.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},r.default?.())}}})}var Bs=zs(t);function Vs(e,t){if(t!==`append`&&t!==`remove`)return e;let n=t===`append`?Zn:Xn;return V(e)&&!e.startsWith(`http`)?e:n(e,!0)}function Hs(){let e=C();if(e._observer)return e._observer;let t=null,n=new Map;return e._observer={observe:(e,r)=>(t||=new IntersectionObserver(e=>{for(let t of e){let e=n.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),n.set(e,r),t.observe(e),()=>{n.delete(e),t?.unobserve(e),n.size===0&&(t?.disconnect(),t=null)})}}var Us=/2g/;function Ws(){let e=navigator.connection;return!!(e&&(e.saveData||Us.test(e.effectiveType)))}var Gs=s({name:`nuxt:island-link-navigation`,setup(e){}}),Ks=s({name:`nuxt:global-components`}),X={},qs=s({name:`nuxt:prefetch`,setup(e){let t=H();e.hooks.hook(`app:mounted`,()=>{t.beforeEach(async e=>{let t=e?.meta?.layout;t&&typeof X[t]==`function`&&await X[t]()})}),e.hooks.hook(`link:prefetch`,e=>{if(V(e))return;let n=t.resolve(e);if(!n)return;let r=n.meta.layout,i=Qi(n.meta.middleware).filter(e=>typeof e==`string`);for(let e of i){let t=Cs[e];typeof t==`function`&&t()}typeof r==`string`&&r in X&&Fs(X[r])})}}),Js=s(()=>{}),Ys={207:(e,t,n)=>{e.exports=n(452)},452:e=>{var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,i=typeof Symbol==`function`?Symbol:{},a=i.iterator||`@@iterator`,o=i.asyncIterator||`@@asyncIterator`,s=i.toStringTag||`@@toStringTag`;function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},``)}catch{c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype);return a._invoke=function(e,t,n){var r=d;return function(i,a){if(r===p)throw Error(`Generator is already running`);if(r===m){if(i===`throw`)throw a;return ne()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=T(o,n);if(s){if(s===h)continue;return s}}if(n.method===`next`)n.sent=n._sent=n.arg;else if(n.method===`throw`){if(r===d)throw r=m,n.arg;n.dispatchException(n.arg)}else n.method===`return`&&n.abrupt(`return`,n.arg);r=p;var c=u(e,t,n);if(c.type===`normal`){if(r=n.done?m:f,c.arg===h)continue;return{value:c.arg,done:n.done}}c.type===`throw`&&(r=m,n.method=`throw`,n.arg=c.arg)}}}(e,n,new te(r||[])),a}function u(e,t,n){try{return{type:`normal`,arg:e.call(t,n)}}catch(e){return{type:`throw`,arg:e}}}e.wrap=l;var d=`suspendedStart`,f=`suspendedYield`,p=`executing`,m=`completed`,h={};function g(){}function _(){}function v(){}var y={};c(y,a,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(D([])));x&&x!==n&&r.call(x,a)&&(y=x);var S=v.prototype=g.prototype=Object.create(y);function C(e){[`next`,`throw`,`return`].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function n(i,a,o,s){var c=u(e[i],e,a);if(c.type!==`throw`){var l=c.arg,d=l.value;return d&&typeof d==`object`&&r.call(d,`__await`)?t.resolve(d.__await).then((function(e){n(`next`,e,o,s)}),(function(e){n(`throw`,e,o,s)})):t.resolve(d).then((function(e){l.value=e,o(l)}),(function(e){return n(`throw`,e,o,s)}))}s(c.arg)}var i;this._invoke=function(e,r){function a(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(a,a):a()}}function T(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,n.method===`throw`){if(e.iterator.return&&(n.method=`return`,n.arg=t,T(e,n),n.method===`throw`))return h;n.method=`throw`,n.arg=TypeError(`The iterator does not provide a 'throw' method`)}return h}var i=u(r,e.iterator,n.arg);if(i.type===`throw`)return n.method=`throw`,n.arg=i.arg,n.delegate=null,h;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,n.method!==`return`&&(n.method=`next`,n.arg=t),n.delegate=null,h):a:(n.method=`throw`,n.arg=TypeError(`iterator result is not an object`),n.delegate=null,h)}function ee(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type=`normal`,delete t.arg,e.completion=t}function te(e){this.tryEntries=[{tryLoc:`root`}],e.forEach(ee,this),this.reset(!0)}function D(e){if(e){var n=e[a];if(n)return n.call(e);if(typeof e.next==`function`)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:ne}}function ne(){return{value:t,done:!0}}return _.prototype=v,c(S,`constructor`,v),c(v,`constructor`,_),_.displayName=c(v,s,`GeneratorFunction`),e.isGeneratorFunction=function(e){var t=typeof e==`function`&&e.constructor;return!!t&&(t===_||(t.displayName||t.name)===`GeneratorFunction`)},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,s,`GeneratorFunction`)),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},C(w.prototype),c(w.prototype,o,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,i,a){a===void 0&&(a=Promise);var o=new w(l(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},C(S),c(S,s,`Generator`),c(S,a,(function(){return this})),c(S,`toString`,(function(){return`[object Generator]`})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=D,te.prototype={constructor:te,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method=`next`,this.arg=t,this.tryEntries.forEach(E),!e)for(var n in this)n.charAt(0)===`t`&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(e.type===`throw`)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type=`throw`,s.arg=e,n.next=r,i&&(n.method=`next`,n.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if(o.tryLoc===`root`)return i(`end`);if(o.tryLoc<=this.prev){var c=r.call(o,`catchLoc`),l=r.call(o,`finallyLoc`);if(c&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw Error(`try statement without catch or finally`);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,`finallyLoc`)&&this.prev<i.finallyLoc){var a=i;break}}a&&(e===`break`||e===`continue`)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method=`next`,this.next=a.finallyLoc,h):this.complete(o)},complete:function(e,t){if(e.type===`throw`)throw e.arg;return e.type===`break`||e.type===`continue`?this.next=e.arg:e.type===`return`?(this.rval=this.arg=e.arg,this.method=`return`,this.next=`end`):e.type===`normal`&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(r.type===`throw`){var i=r.arg;E(n)}return i}}throw Error(`illegal catch attempt`)},delegateYield:function(e,n,r){return this.delegate={iterator:D(e),resultName:n,nextLoc:r},this.method===`next`&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis==`object`?globalThis.regeneratorRuntime=t:Function(`r`,`regeneratorRuntime = r`)(t)}}},Xs={};function Z(e){var t=Xs[e];if(t!==void 0)return t.exports;var n=Xs[e]={exports:{}};return Ys[e](n,n.exports,Z),n.exports}Z.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return Z.d(t,{a:t}),t},Z.d=(e,t)=>{for(var n in t)Z.o(t,n)&&!Z.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},Z.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var Zs={};function Qs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function $s(e,t){if(e){if(typeof e==`string`)return Qs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qs(e,t):void 0}}function ec(e){return function(e){if(Array.isArray(e))return Qs(e)}(e)||function(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}(e)||$s(e)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function tc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Z.d(Zs,{A:()=>bc});var Q=(ac={Fragment:()=>Ie,computed:()=>P,createTextVNode:()=>De,createVNode:()=>be,defineComponent:()=>j,nextTick:()=>oe,reactive:()=>Fe,ref:()=>O,watch:()=>Je,watchEffect:()=>E},oc={},Z.d(oc,ac),oc),nc=(0,Q.defineComponent)({props:{data:{required:!0,type:String},onClick:Function},render:function(){var e=this.data,t=this.onClick;return(0,Q.createVNode)(`span`,{class:`vjs-tree-brackets`,onClick:t},[e])}}),rc=(0,Q.defineComponent)({emits:[`change`,`update:modelValue`],props:{checked:{type:Boolean,default:!1},isMultiple:Boolean,onChange:Function},setup:function(e,t){var n=t.emit;return{uiType:(0,Q.computed)((function(){return e.isMultiple?`checkbox`:`radio`})),model:(0,Q.computed)({get:function(){return e.checked},set:function(e){return n(`update:modelValue`,e)}})}},render:function(){var e=this.uiType,t=this.model,n=this.$emit;return(0,Q.createVNode)(`label`,{class:[`vjs-check-controller`,t?`is-checked`:``],onClick:function(e){return e.stopPropagation()}},[(0,Q.createVNode)(`span`,{class:`vjs-check-controller-inner is-${e}`},null),(0,Q.createVNode)(`input`,{checked:t,class:`vjs-check-controller-original is-${e}`,type:e,onChange:function(){return n(`change`,t)}},null)])}}),ic=(0,Q.defineComponent)({props:{nodeType:{required:!0,type:String},onClick:Function},render:function(){var e=this.nodeType,t=this.onClick,n=e===`objectStart`||e===`arrayStart`;return n||e===`objectCollapsed`||e===`arrayCollapsed`?(0,Q.createVNode)(`span`,{class:`vjs-carets vjs-carets-${n?`open`:`close`}`,onClick:t},[(0,Q.createVNode)(`svg`,{viewBox:`0 0 1024 1024`,focusable:`false`,"data-icon":`caret-down`,width:`1em`,height:`1em`,fill:`currentColor`,"aria-hidden":`true`},[(0,Q.createVNode)(`path`,{d:`M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z`},null)])]):null}}),ac,oc;function sc(e){return sc=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},sc(e)}function cc(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function lc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`root`,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=(arguments.length>3?arguments[3]:void 0)||{},i=r.key,a=r.index,o=r.type,s=o===void 0?`content`:o,c=r.showComma,l=c!==void 0&&c,u=r.length,d=u===void 0?1:u,f=cc(e);if(f===`array`){var p=uc(e.map((function(e,r,i){return lc(e,`${t}[${r}]`,n+1,{index:r,showComma:r!==i.length-1,length:d,type:s})})));return[lc(`[`,t,n,{showComma:!1,key:i,length:e.length,type:`arrayStart`})[0]].concat(p,lc(`]`,t,n,{showComma:l,length:e.length,type:`arrayEnd`})[0])}if(f===`object`){var m=Object.keys(e),h=uc(m.map((function(r,i,a){return lc(e[r],/^[a-zA-Z_]\w*$/.test(r)?`${t}.${r}`:`${t}["${r}"]`,n+1,{key:r,showComma:i!==a.length-1,length:d,type:s})})));return[lc(`{`,t,n,{showComma:!1,key:i,index:a,length:m.length,type:`objectStart`})[0]].concat(h,lc(`}`,t,n,{showComma:l,length:m.length,type:`objectEnd`})[0])}return[{content:e,level:n,key:i,index:a,path:t,showComma:l,length:d,type:s}]}function uc(e){if(typeof Array.prototype.flat==`function`)return e.flat();for(var t=ec(e),n=[];t.length;){var r=t.shift();Array.isArray(r)?t.unshift.apply(t,ec(r)):n.push(r)}return n}function dc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(e==null)return e;if(e instanceof Date)return new Date(e);if(e instanceof RegExp)return new RegExp(e);if(sc(e)!==`object`)return e;if(t.get(e))return t.get(e);if(Array.isArray(e)){var n=e.map((function(e){return dc(e,t)}));return t.set(e,n),n}var r={};for(var i in e)r[i]=dc(e[i],t);return t.set(e,r),r}function fc(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,i)}var pc=Z(207),mc=Z.n(pc);function hc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?hc(Object(n),!0).forEach((function(t){tc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _c={data:{type:[String,Number,Boolean,Array,Object],default:null},rootPath:{type:String,default:`root`},indent:{type:Number,default:2},showLength:{type:Boolean,default:!1},showDoubleQuotes:{type:Boolean,default:!0},renderNodeKey:Function,renderNodeValue:Function,renderNodeActions:{type:[Boolean,Function],default:void 0},selectableType:String,showSelectController:{type:Boolean,default:!1},showLine:{type:Boolean,default:!0},showLineNumber:{type:Boolean,default:!1},selectOnClickNode:{type:Boolean,default:!0},nodeSelectable:{type:Function,default:function(){return!0}},highlightSelectedNode:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!1},theme:{type:String,default:`light`},showKeyValueSpace:{type:Boolean,default:!0},editable:{type:Boolean,default:!1},editableTrigger:{type:String,default:`click`},onNodeClick:{type:Function},onNodeMouseover:{type:Function},onBracketsClick:{type:Function},onIconClick:{type:Function},onValueChange:{type:Function}},vc=(0,Q.defineComponent)({name:`TreeNode`,props:gc(gc({},_c),{},{node:{type:Object,required:!0},collapsed:Boolean,checked:Boolean,style:Object,onSelectedChange:{type:Function}}),emits:[`nodeClick`,`nodeMouseover`,`bracketsClick`,`iconClick`,`selectedChange`,`valueChange`],setup:function(e,t){var n=t.emit,r=(0,Q.computed)((function(){return cc(e.node.content)})),i=(0,Q.computed)((function(){return`vjs-value vjs-value-${r.value}`})),a=(0,Q.computed)((function(){return e.showDoubleQuotes?`"${e.node.key}"`:e.node.key})),o=(0,Q.computed)((function(){return e.selectableType===`multiple`})),s=(0,Q.computed)((function(){return e.selectableType===`single`})),c=(0,Q.computed)((function(){return e.nodeSelectable(e.node)&&(o.value||s.value)})),l=(0,Q.reactive)({editing:!1}),u=function(t){var r;n(`valueChange`,(r=t.target?.value)===`null`?null:r===`undefined`?void 0:r===`true`||r!==`false`&&(r[0]+r[r.length-1]===`""`||r[0]+r[r.length-1]===`''`?r.slice(1,-1):typeof Number(r)==`number`&&!isNaN(Number(r))||r===`NaN`?Number(r):r),e.node.path)},d=(0,Q.computed)((function(){var t=e.node?.content;return t===null?t=`null`:t===void 0&&(t=`undefined`),r.value===`string`?`"${t}"`:t+``})),f=function(){var t=e.renderNodeValue;return t?t({node:e.node,defaultValue:d.value}):d.value},p=function(){n(`bracketsClick`,!e.collapsed,e.node)},m=function(){n(`iconClick`,!e.collapsed,e.node)},h=function(){n(`selectedChange`,e.node)},g=function(){n(`nodeClick`,e.node),c.value&&e.selectOnClickNode&&n(`selectedChange`,e.node)},_=function(){n(`nodeMouseover`,e.node)},v=function(t){if(e.editable&&!l.editing){l.editing=!0;var n=function e(n){n.target!==t.target&&n.target?.parentElement!==t.target&&(l.editing=!1,document.removeEventListener(`click`,e))};document.removeEventListener(`click`,n),document.addEventListener(`click`,n)}},y=function(){var e=(0,Q.ref)(!1);return{copy:function(){var t,n=(t=mc().mark((function t(n){return mc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,navigator.clipboard.writeText(n);case 3:e.value=!0,setTimeout((function(){e.value=!1}),300),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.error(`[vue-json-pretty] Copy failed: `,t.t0);case 10:case`end`:return t.stop()}}),t,null,[[0,7]])})),function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function o(e){fc(a,r,i,o,s,`next`,e)}function s(e){fc(a,r,i,o,s,`throw`,e)}o(void 0)}))});return function(e){return n.apply(this,arguments)}}()}}().copy,b=function(){var t=e.node,n=t.key,r=t.path,i=e.rootPath,a=Function(`data`,`return data${r.slice(i.length)}`)(e.data);y(JSON.stringify(n?tc({},n,a):a,null,2))},x=function(){var t=e.renderNodeActions;if(!t)return null;var n={copy:b};return typeof t==`function`?t({node:e.node,defaultActions:n}):(0,Q.createVNode)(`span`,{onClick:b,class:`vjs-tree-node-actions-item`},[(0,Q.createTextVNode)(`copy`)])};return function(){var t,n=e.node;return(0,Q.createVNode)(`div`,{class:{"vjs-tree-node":!0,"has-selector":e.showSelectController,"has-carets":e.showIcon,"is-highlight":e.highlightSelectedNode&&e.checked,dark:e.theme===`dark`},onClick:g,onMouseover:_,style:e.style},[e.showLineNumber&&(0,Q.createVNode)(`span`,{class:`vjs-node-index`},[n.id+1]),e.showSelectController&&c.value&&n.type!==`objectEnd`&&n.type!==`arrayEnd`&&(0,Q.createVNode)(rc,{isMultiple:o.value,checked:e.checked,onChange:h},null),(0,Q.createVNode)(`div`,{class:`vjs-indent`},[Array.from(Array(n.level)).map((function(t,n){return(0,Q.createVNode)(`div`,{key:n,class:{"vjs-indent-unit":!0,"has-line":e.showLine}},[Array.from(Array(e.indent)).map((function(){return(0,Q.createVNode)(Q.Fragment,null,[(0,Q.createTextVNode)(`\xA0`)])}))])})),e.showIcon&&(0,Q.createVNode)(ic,{nodeType:n.type,onClick:m},null)]),n.key&&(0,Q.createVNode)(`span`,{class:`vjs-key`},[(t=e.renderNodeKey,t?t({node:e.node,defaultKey:a.value||``}):a.value),(0,Q.createVNode)(`span`,{class:`vjs-colon`},[`:${e.showKeyValueSpace?` `:``}`])]),(0,Q.createVNode)(`span`,null,[n.type!==`content`&&n.content?(0,Q.createVNode)(nc,{data:n.content.toString(),onClick:p},null):(0,Q.createVNode)(`span`,{class:i.value,onClick:!e.editable||e.editableTrigger&&e.editableTrigger!==`click`?void 0:v,onDblclick:e.editable&&e.editableTrigger===`dblclick`?v:void 0},[e.editable&&l.editing?(0,Q.createVNode)(`input`,{value:d.value,onChange:u,style:{padding:`3px 8px`,border:`1px solid #eee`,boxShadow:`none`,boxSizing:`border-box`,borderRadius:5,fontFamily:`inherit`}},null):f()]),n.showComma&&(0,Q.createVNode)(`span`,null,[`,`]),e.showLength&&e.collapsed&&(0,Q.createVNode)(`span`,{class:`vjs-comment`},[(0,Q.createTextVNode)(` // `),n.length,(0,Q.createTextVNode)(` items `)])]),e.renderNodeActions&&(0,Q.createVNode)(`span`,{class:`vjs-tree-node-actions`},[x()])])}}});function yc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?yc(Object(n),!0).forEach((function(t){tc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var bc=(0,Q.defineComponent)({name:`Tree`,props:$($({},_c),{},{collapsedNodeLength:{type:Number,default:1/0},deep:{type:Number,default:1/0},pathCollapsible:{type:Function,default:function(){return!1}},virtual:{type:Boolean,default:!1},height:{type:Number,default:400},itemHeight:{type:Number,default:20},dynamicHeight:{type:Boolean,default:!0},selectedValue:{type:[String,Array],default:function(){return``}},collapsedOnClickBrackets:{type:Boolean,default:!0},style:Object,onSelectedChange:{type:Function},theme:{type:String,default:`light`}}),slots:[`renderNodeKey`,`renderNodeValue`,`renderNodeActions`],emits:[`nodeClick`,`nodeMouseover`,`bracketsClick`,`iconClick`,`selectedChange`,`update:selectedValue`,`update:data`],setup:function(e,t){var n=t.emit,r=t.slots,i=(0,Q.ref)(),a=(0,Q.computed)((function(){return lc(e.data,e.rootPath)})),o=function(t,n){return a.value.reduce((function(r,i){var a=i.level>=t||i.length>=n,o=e.pathCollapsible?.call(e,i);return i.type!==`objectStart`&&i.type!==`arrayStart`||!a&&!o?r:$($({},r),{},tc({},i.path,1))}),{})},s=(0,Q.reactive)({translateY:0,visibleData:null,hiddenPaths:o(e.deep,e.collapsedNodeLength),startIndex:0,endIndex:0}),c=[],l=[],u=0,d={},f=function(t){c=Array(t).fill(0).map((function(){return e.itemHeight||20})),(l=Array(t+1))[0]=0;for(var n=0;n<t;n++)l[n+1]=l[n]+c[n];u=l[t]||0},p=function(e){var t=c.length;e<0&&(e=0),e>t&&(e=t);for(var n=e;n<t;n++)l[n+1]=l[n]+c[n];u=l[t]||0},m=function(e,t){for(var n=0,r=e.length-1;n<r;){var i=n+r>>>1;e[i]<t?n=i+1:r=i}return n},h=(0,Q.computed)((function(){for(var e=null,t=[],n=a.value.length,r=0;r<n;r++){var i=$($({},a.value[r]),{},{id:r}),o=s.hiddenPaths[i.path];if(e&&e.path===i.path){var c=e.type===`objectStart`,l=$($($({},i),e),{},{showComma:i.showComma,content:c?`{...}`:`[...]`,type:c?`objectCollapsed`:`arrayCollapsed`});e=null,t.push(l)}else{if(o&&!e){e=i;continue}if(e)continue;t.push(i)}}return t})),g=(0,Q.computed)((function(){var t=e.selectedValue;return t&&e.selectableType===`multiple`&&Array.isArray(t)?t:[t]})),_=(0,Q.computed)((function(){return!e.selectableType||e.selectOnClickNode||e.showSelectController?``:`When selectableType is not null, selectOnClickNode and showSelectController cannot be false at the same time, because this will cause the selection to fail.`})),v=(0,Q.computed)((function(){return e.dynamicHeight?u||0:h.value.length*e.itemHeight})),y=function t(){var n=h.value;if(n){if(e.virtual){var r=i.value?.scrollTop||0;if(e.dynamicHeight){c.length!==n.length&&f(n.length);var a=function(e){var t=m(l,e+1e-4);return Math.max(0,Math.min(t-1,c.length-1))}(r),o=function(e,t){var n=m(l,e+t);return Math.max(0,Math.min(n+1,c.length))}(r,e.height),u=Math.max(0,a-5),g=Math.min(n.length,o+5);s.startIndex=u,s.endIndex=g,s.translateY=l[u]||0,s.visibleData=n.slice(u,g),(0,Q.nextTick)().then((function(){for(var e=!1,n=s.startIndex;n<s.endIndex;n++){var r=d[n];if(r){var i=r.offsetHeight;i&&c[n]!==i&&(c[n]=i,l[n+1]=l[n]+c[n],p(n+1),e=!0)}}e&&t()}))}else{var _=e.height/e.itemHeight,v=Math.floor(r/e.itemHeight),y=v<0?0:v+_>n.length?n.length-_:v;y<0&&(y=0);var b=y+_;s.translateY=y*e.itemHeight,s.startIndex=y,s.endIndex=b,s.visibleData=n.slice(y,b)}}else s.translateY=0,s.startIndex=0,s.endIndex=n.length,s.visibleData=n}},b=null,x=function(){b&&cancelAnimationFrame(b),b=requestAnimationFrame((function(){y()}))},S=function(t){var r,i,a=t.path,o=e.selectableType;if(o===`multiple`){var s=g.value.findIndex((function(e){return e===a})),c=ec(g.value);s===-1?c.push(a):c.splice(s,1),n(`update:selectedValue`,c),n(`selectedChange`,c,ec(g.value))}else if(o===`single`&&g.value[0]!==a){var l=(r=g.value,i=1,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){s=!0,i=e}finally{try{o||n.return==null||n.return()}finally{if(s)throw i}}return a}}(r,i)||$s(r,i)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
5
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],u=a;n(`update:selectedValue`,u),n(`selectedChange`,u,l)}},C=function(e){n(`nodeClick`,e)},w=function(e){n(`nodeMouseover`,e)},T=function(e,t){if(e)s.hiddenPaths=$($({},s.hiddenPaths),{},tc({},t,1));else{var n=$({},s.hiddenPaths);delete n[t],s.hiddenPaths=n}},ee=function(t,r){e.collapsedOnClickBrackets&&T(t,r.path),n(`bracketsClick`,t,r)},E=function(e,t){T(e,t.path),n(`iconClick`,e,t)},te=function(t,r){var i=dc(e.data),a=e.rootPath;Function(`data`,`val`,`data${r.slice(a.length)}=val`)(i,t),n(`update:data`,i)};return(0,Q.watchEffect)((function(){_.value&&function(e){throw Error(`[VueJSONPretty] ${e}`)}(_.value)})),(0,Q.watchEffect)((function(){h.value&&(e.virtual&&e.dynamicHeight&&c.length!==h.value.length&&f(h.value.length),y())})),(0,Q.watch)((function(){return[e.dynamicHeight,e.itemHeight,a.value.length]}),(function(){e.virtual&&e.dynamicHeight&&(f(h.value.length),(0,Q.nextTick)(y))})),(0,Q.watch)((function(){return e.deep}),(function(t){t&&(s.hiddenPaths=o(t,e.collapsedNodeLength))})),(0,Q.watch)((function(){return e.collapsedNodeLength}),(function(t){t&&(s.hiddenPaths=o(e.deep,t))})),function(){var t,n=e.renderNodeKey??r.renderNodeKey,o=e.renderNodeValue??r.renderNodeValue,c=(t=e.renderNodeActions??r.renderNodeActions)!=null&&t,l=s.visibleData?.map((function(t,r){var i=s.startIndex+r;return(0,Q.createVNode)(`div`,{key:t.id,ref:function(e){return function(e,t){t?d[e]=t:delete d[e]}(i,e||null)}},[(0,Q.createVNode)(vc,{data:e.data,rootPath:e.rootPath,indent:e.indent,node:t,collapsed:!!s.hiddenPaths[t.path],theme:e.theme,showDoubleQuotes:e.showDoubleQuotes,showLength:e.showLength,checked:g.value.includes(t.path),selectableType:e.selectableType,showLine:e.showLine,showLineNumber:e.showLineNumber,showSelectController:e.showSelectController,selectOnClickNode:e.selectOnClickNode,nodeSelectable:e.nodeSelectable,highlightSelectedNode:e.highlightSelectedNode,editable:e.editable,editableTrigger:e.editableTrigger,showIcon:e.showIcon,showKeyValueSpace:e.showKeyValueSpace,renderNodeKey:n,renderNodeValue:o,renderNodeActions:c,onNodeClick:C,onNodeMouseover:w,onBracketsClick:ee,onIconClick:E,onSelectedChange:S,onValueChange:te,class:e.dynamicHeight?`dynamic-height`:void 0,style:e.dynamicHeight?{}:e.itemHeight&&e.itemHeight!==20?{lineHeight:`${e.itemHeight}px`}:{}},null)])}));return(0,Q.createVNode)(`div`,{ref:i,class:{"vjs-tree":!0,"is-virtual":e.virtual,dark:e.theme===`dark`},onScroll:e.virtual?x:void 0,style:e.showLineNumber?$({paddingLeft:`${12*Number(a.value.length.toString().length)}px`},e.style):e.style},[e.virtual?(0,Q.createVNode)(`div`,{class:`vjs-tree-list`,style:{height:`${e.height}px`}},[(0,Q.createVNode)(`div`,{class:`vjs-tree-list-holder`,style:{height:`${v.value}px`}},[(0,Q.createVNode)(`div`,{class:`vjs-tree-list-holder-inner`,style:{transform:`translateY(${s.translateY}px)`}},[l])])]):l])}}}),xc=Zs.A,Sc=[Gi,Es,As,js,Ns,Ps,Gs,Ks,qs,Js,s(e=>{e.vueApp.component(`VueJsonPretty`,xc)})],Cc=(e=`RouteProvider`)=>j({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean,routeRecord:Object},setup(e){let t=e.renderKey,n=e.route,r={};for(let i in e.route)Object.defineProperty(r,i,{get:()=>t===e.renderKey?e.route[i]:n[i],enumerable:!0});return k(B,ue(r)),()=>e.vnode?M(e.vnode,{ref:e.vnodeRef}):e.vnode}}),wc=Cc(),Tc=new WeakMap,Ec=j({name:`NuxtPage`,inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=C(),a=O(),o=A(B,null),s=new Set,c;r({pageRef:a});let l=A(gn,null),u,d=i.deferHydration(),f=!1,p=!1,m,h=0;if(i.isHydrating){let e=i.hooks.hookOnce(`app:error`,d),t=H().beforeEach(()=>{e(),t()})}e.pageKey&&Je(()=>e.pageKey,(e,t)=>{e!==t&&i.callHook(`page:loading:start`)});let g=!1;{let e=H().beforeResolve(()=>{g=!1});D(()=>{e(),d()})}return()=>M(Ko,{name:e.name,route:e.route,...t},{default:kc(t=>{let r=Dc(o,t.route,t.Component),_=o&&o.matched.length===t.route.matched.length;if(!t.Component){if(u&&!_&&!jc(u))return u;d();return}if(u&&l&&!jc(u)&&!l.isCurrent(t.route))return u;if(r&&o&&(!l||l?.isCurrent(o)))return(_||u)&&!jc(u)?u:null;let v=Xi(t,e.pageKey),y=Oc(o,t.route,t.Component);!i.isHydrating&&c===v&&!y&&oe(()=>{g||(g=!0,i.callHook(`page:loading:end`))}),f&&c!==v&&p&&h++,c=v;let b=!!(e.transition??t.route.meta.pageTransition??!1),x=b&&ts([e.transition,t.route.meta.pageTransition,!1,{onAfterLeave(){i[`~transitionFinish`]?.(),delete i[`~transitionFinish`],delete i[`~transitionPromise`],i.callHook(`page:transition:finish`,t.Component)}}]),S=e.keepalive??t.route.meta.keepalive??!1,C=t.Component.type,w=C.name||C.__name;t.route.meta.keepalive&&w&&s.add(w);let T;if(s.size>0&&e.keepalive==null&&(!S||typeof S==`object`&&S&&S.include)){let e=typeof S==`object`&&S?{...S}:{},t=e.include?Array.isArray(e.include)?e.include:[e.include]:[];T={...e,include:Array.from(new Set([...t,...s]))}}else T=S;return u=Jo(b&&x,Zi(T,M(de,{key:h,suspensible:!0,onPending:()=>{f=!0,b&&!i[`~transitionPromise`]&&(i[`~transitionPromise`]=new Promise(e=>{i[`~transitionFinish`]=e})),m=i.callHook(`page:start`,t.Component)},onResolve:async()=>{f=!1,p=!0,i.isHydrating&&i[`~restoreDeferredRoute`]?.();try{await oe(),i._route.sync?.(),await m,await i.callHook(`page:finish`,t.Component),!g&&!y&&(g=!0,await i.callHook(`page:loading:end`))}finally{d()}}},{default:()=>{let e={key:v||void 0,vnode:n.default?Ac(n.default,t):t.Component,route:t.route,renderKey:v||void 0,trackRootNodes:b,vnodeRef:a,routeRecord:void 0};if(!T)return M(wc,e);let r=C,i=Tc.get(r);return i||(i=Cc(w),Tc.set(r,i)),M(i,e)}}))).default(),u})})}});function Dc(e,t,n){if(!e)return!1;let r=t.matched.findIndex(e=>e.components?.default===n?.type);if(r===-1)return!1;let i=t.matched.slice(0,r).filter(e=>e.components?.default);if(!i.length)return!1;let a=e.matched.filter(e=>e.components?.default);return i.some((e,t)=>e.components?.default!==a[t]?.components?.default)||n&&Xi({route:t,Component:n})!==Xi({route:e,Component:n})}function Oc(e,t,n){return e?t.matched.findIndex(e=>e.components?.default===n?.type)<t.matched.length-1:!1}function kc(e){let t=(t=>{let n=e(t);return Array.isArray(n)?n:n==null||!te(n)?[Be()]:[n]});return t._n=!0,t}function Ac(e,t){let n=e(t);return n.length===1?M(n[0]):M(Ie,void 0,n)}function jc(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}var Mc=ds;function Nc(e,t){return F(t)??e?.meta.layout??Mc(e?.path??`/`).appLayout??`default`}var Pc=j({name:`LayoutLoader`,inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>M(X[e.name],e.layoutProps,t.slots)}}),Fc=j({name:`NuxtLayout`,inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){let n=C(),r=A(B),i=!r||r===Or()?da():r,a=P(()=>{let t=Nc(i,e.name);return t&&!(t in X)&&e.fallback&&(t=F(e.fallback)),t});k(_n,a);let o=le();t.expose({layoutRef:o});let s=n.deferHydration();if(n.isHydrating){let e=n.hooks.hookOnce(`app:error`,s),t=H().beforeEach(()=>{e(),t()})}let c;return()=>{let r=!!a.value&&a.value in X&&!!(i?.meta.layoutTransition??!1),l=r&&ts([i?.meta.layoutTransition,!1,{onBeforeLeave(){n[`~transitionPromise`]=new Promise(e=>{n[`~transitionFinish`]=e})},onAfterLeave(){n[`~transitionFinish`]?.(),delete n[`~transitionFinish`],delete n[`~transitionPromise`]}}]),u=c;return c=a.value,Jo(l,{default:()=>M(de,{suspensible:!0,onResolve:async()=>{await oe(s)}},{default:()=>M(Ic,{layoutProps:We(t.attrs,i.meta.layoutProps??{},{ref:o}),key:a.value||void 0,name:a.value,shouldProvide:!e.name,isRenderingNewLayout:e=>e!==u&&e===a.value,hasTransition:r},t.slots)})}).default()}}}),Ic=j({name:`NuxtLayoutProvider`,inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){let n=e.name;e.shouldProvide&&k(gn,{isCurrent:e=>n===!1||n===Nc(e)});let r=A(B),i=r&&r===Or(),a=A(gn,null);if(i){let t=da(),n={};for(let i in t){let o=i;Object.defineProperty(n,o,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)&&(!a||a.isCurrent(t))?t[o]:r[o]})}k(B,ue(n))}return()=>!n||typeof n==`string`&&!(n in X)?t.slots.default?.():M(Pc,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),Lc={},Rc={class:`app-shell`};function zc(e,t){let n=Ec,r=Fc;return N(),me(`div`,Rc,[be(r,null,{default:se(()=>[be(n)]),_:1})])}var Bc=S(Lc,[[`render`,zc]]),Vc={__name:`nuxt-error-page`,props:{error:Object},setup(e){let t=e.error,n=Number(t.statusCode||500),r=n===404,i=t.statusMessage??(r?`Page Not Found`:`Internal Server Error`),a=t.message||t.toString(),o=ve(()=>hs(()=>import(`./C5rZpPvR.js`),__vite__mapDeps([3,4,1,5,6]),import.meta.url)),s=ve(()=>hs(()=>import(`./CWXSD_Q6.js`),__vite__mapDeps([7,4,1,5,8]),import.meta.url)),c=r?o:s;return(e,t)=>(N(),Te(F(c),Ue(qe({status:F(n),statusText:F(i),statusCode:F(n),statusMessage:F(i),description:F(a),stack:F(void 0)})),null,16))}},Hc=()=>null,Uc={key:0},Wc={__name:`nuxt-root`,setup(e){let t=C(),n=t.deferHydration();if(t.isHydrating){let e=t.hooks.hookOnce(`app:error`,n),r=H().beforeEach(()=>{e(),r()})}window.location.pathname,k(B,Or()),t.hooks.callHookWith(e=>e.map(e=>e()),`vue:setup`,[]);let r=Fr();function i(e,n,r){let i=t.vueApp.config.errorHandler;if(i&&!i.__nuxt_default)try{i(e,n,r)}catch(e){console.error("[nuxt] Error in `app.config.errorHandler`",e)}}return we((e,n,r)=>{if(t.hooks.callHook(`vue:error`,e,n,r)?.catch(e=>console.error("[nuxt] Error in `vue:error` hook",e)),hn(navigator.userAgent))return Lr(t,e),!1;if(Br(e)&&(e.fatal||e.unhandled))return t.runWithContext(()=>Ir(e)),i(e,n,r),!1}),(e,t)=>(N(),Te(de,{onResolve:F(n)},{default:se(()=>[F(!1)?(N(),me(`div`,Uc)):F(r)?(N(),Te(F(Vc),{key:1,error:F(r)},null,8,[`error`])):F(!1)?(N(),Te(F(Hc),{key:2,context:F(!1)},null,8,[`context`])):F(!1)?(N(),Te(ie(F(!1)),{key:3})):(N(),Te(F(Bc),{key:4}))]),_:1},8,[`onResolve`]))}},Gc;{let e;Gc=async function(){if(e)return e;let t=!!(window.__NUXT__?.serverRendered??document.getElementById(`__NUXT_DATA__`)?.dataset.ssr===`true`),n=t?dn(Wc):un(Wc),r=p({vueApp:n});async function i(e){await r.callHook(`app:error`,e),r.payload.error||=U(e)}i.__nuxt_default=!0,n.config.errorHandler=i,r.hook(`app:suspense:resolve`,()=>{n.config.errorHandler===i&&(n.config.errorHandler=void 0)}),!t&&a.id&&r.hook(`app:suspense:resolve`,()=>{document.getElementById(a.id)?.remove()});try{await m(r,Sc)}catch(e){i(e)}try{await r.hooks.callHook(`app:created`,n),await r.hooks.callHook(`app:beforeMount`,n),n.mount(o),await r.hooks.callHook(`app:mounted`,n),await oe()}catch(e){i(e)}return n},e=Gc().catch(e=>{throw n.NUXT_E1009({cause:e}),e})}export{rn as n,St as r,Bs as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{S as e,U as t,W as n,Y as r,q as i,v as a,x as o}from"./El7xeapg.js";var s=Error.captureStackTrace,ee=class e extends Error{name;code;docs;fix;sources;get why(){return this.message}constructor(t,n=e){super(t.why,{cause:t.cause}),this.code=this.name=t.code,this.fix=t.fix,this.docs=t.docs,this.sources=t.sources,s?.(this,n)}toJSON(){return{name:this.name,why:this.why,fix:this.fix,docs:this.docs,sources:this.sources,cause:this.cause,stack:this.stack}}};function te(e,t){return typeof e==`string`?`${e}/${t.toLowerCase()}`:e?.(t)}function c(e={}){let{docsBase:t,reporters:n=[]}=e;return new Proxy({},{get(e,r){if(typeof r!=`string`)return;let i=(e={},a={})=>{let o=te(t,r),s=new ee({code:r,why:o??``,docs:o,cause:e.cause,sources:e.sources},i);for(let e of n)e(s,a);return s};return i}})}function l(e){return`https://nuxt.com/docs/4.x/errors/${e.replace(`NUXT_`,``).toLowerCase()}`}var u=[e=>{console.error(`[${e.name}]`)}],d=c({docsBase:l,reporters:u});function f(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?f(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var p=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function m(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>m(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function ne(e,t,n){if(e.length>0)return m(e,t,0,p(n))}function re(e,t,n){if(e.length>0){let r=p(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function h(e,t){for(let n of[...e])n(t)}var ie=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>`_`+e.replace(/\W+/g,`_`)+`_hook_cb`,configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=f(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=f(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(ne,e,t)}callHookParallel(e,...t){return this.callHookWith(re,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&h(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&h(this._after,r)}):(this._after&&r&&h(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function g(){return new ie}var _=class{_hooks;constructor(){this._hooks={}}hook(e,t){return!e||typeof t!=`function`?()=>{}:(this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)})}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}callHook(e,...t){let n=this._hooks[e];if(!(!n||n.length===0))return m(n,t,0)}};function v(){return globalThis.AsyncLocalStorage||globalThis.process?.getBuiltinModule?.(`node:async_hooks`)?.AsyncLocalStorage}function y(e={}){let t,n=!1,r=e=>{if(t&&t!==e)throw Error(`Context conflict`)},i;if(e.asyncContext){let t=e.AsyncLocalStorage||v();t?i=new t:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}let a=e=>i&&typeof e==`object`&&e?{__unctx_weak:new WeakRef(e)}:e,o=e=>e&&e.__unctx_weak?e.__unctx_weak.deref():e,s=()=>{if(i){let e=i.getStore();if(e!==void 0)return o(e)}return t};return{use:()=>{let e=s();if(e===void 0)throw Error(`Context is not available`);return e},tryUse:()=>s(),set:(e,i)=>{i||r(e),t=e,n=!0},unset:()=>{t=void 0,n=!1},call:(e,o)=>{r(e),t=e;try{return i?i.run(a(e),o):o()}finally{n||(t=void 0)}},async callAsync(e,r){t=e;let o=()=>{t=e},s=()=>t===e?o:void 0;C.add(s);try{let o=i?i.run(a(e),r):r();return n||(t=void 0),await o}finally{C.delete(s)}}}}function ae(e={}){let t={};return{get(n,r={}){return t[n]||(t[n]=y({...e,...r})),t[n]}}}var b=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof global<`u`?global:typeof window<`u`?window:{},x=`__unctx__`,oe=b[x]||(b[x]=ae()),se=(e,t={})=>oe.get(e,t),S=`__unctx_async_handlers__`,C=b[S]||(b[S]=new Set);function ce(e){let t=[];for(let e of C){let n=e();n&&t.push(n)}let n=()=>{for(let e of t)e()},r=e();return r&&typeof r==`object`&&`catch`in r&&(r=r.catch(e=>{throw n(),e})),[r,n]}var le={meta:[{name:`viewport`,content:`width=device-width, initial-scale=1`},{charset:`utf-8`}],link:[],style:[],script:[],noscript:[]},ue={id:`__nuxt-loader`},de={componentName:`NuxtLink`,prefetch:!0,prefetchOn:{visibility:!0}},fe=`#__nuxt`,pe=`nuxt-app`,me=36e5,he=`vite:preloadError`;function w(e=`nuxt-app`){return se(e,{asyncContext:!1})}var ge=`__nuxt_plugin`;function T(e){let a=0,o={_id:e.id||`nuxt-app`,_scope:t(),provide:void 0,versions:{get nuxt(){return`4.5.2`},get vue(){return o.vueApp.version}},payload:r({...e.ssrContext?.payload||{},data:r({}),state:i({}),once:new Set,_errors:r({})}),static:{data:{}},runWithContext(e){return o._scope.active&&!n()?o._scope.run(()=>k(o,e)):k(o,e)},isHydrating:!0,deferHydration(){if(!o.isHydrating)return()=>{};a++;let e=!1;return()=>{if(!e&&(e=!0,a--,a===0))return o.isHydrating=!1,o.callHook(`app:suspense:resolve`)}},_asyncDataPromises:{},_asyncData:r({}),_state:r({}),_payloadRevivers:{},...e};{let e=window.__NUXT__;if(e)for(let t in e)switch(t){case`data`:case`state`:case`_errors`:Object.assign(o.payload[t],e[t]);break;default:o.payload[t]=e[t]}}o.hooks=g(),o.hook=o.hooks.hook;{let e=o.hooks.callHook;o.hooks.callHook=(t,...n)=>Promise.resolve().then(()=>e(t,...n))}o.callHook=o.hooks.callHook,o.provide=(e,t)=>{let n=`$`+e;N(o,n,t),N(o.vueApp.config.globalProperties,n,t)},N(o.vueApp,`$nuxt`,o),N(o.vueApp.config.globalProperties,`$nuxt`,o);{window.addEventListener(he,e=>{o.callHook(`app:chunkError`,{error:e.payload}),e.payload?.message?.includes(`Unable to preload CSS`)&&e.preventDefault()}),window.useNuxtApp||=j;let e=o.hook(`app:error`,(...e)=>{d.NUXT_E1005({cause:e.length>1?e:e[0]})});o.hook(`app:mounted`,e)}let s=o.payload.config;return o.provide(`config`,s),o}async function E(e,t){if(typeof t==`function`){let{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n==`object`)for(let t in n)e.provide(t,n[t])}}async function D(e,t){let n;for(let r of t)try{await E(e,r)}catch(t){if(!e.payload.error)throw t;n||=t}if(n)throw e.payload.error||n}function O(e){if(typeof e==`function`)return e;let t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[ge]:!0,_name:t})}function k(e,t,n){return w(e._id).set(e),e.vueApp.runWithContext(()=>n?t(...n):t())}function A(e){let t;return o()&&(t=a()?.appContext.app.$nuxt),t||=w(e).tryUse(),t||null}function j(e){let t=A(e);if(!t)throw d.NUXT_E1001();return t}function M(e){return j().$config}function N(e,t,n){Object.defineProperty(e,t,{get:()=>n})}var P=new Set([`link`,`style`,`script`,`noscript`]),F=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),I=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),L=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),_e=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),R=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),ve=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),ye=new Set([`theme-color`,`google-site-verification`,`author`,`og:locale:alternate`,`og:image`,`og:video`,`og:audio`,`article:author`,`article:tag`,`book:author`,`book:tag`,`twitter:image`]),be={critical:-8,high:-1,low:2},z=e=>typeof e==`number`?Number.isFinite(e):e;function B(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function xe(e){let t=new _;for(let n in e||{})t.hook(n,e[n]);return t}function V(e,t,n){if(e.hooks?._hooks?.[t]?.length)return e.hooks?.callHook(t,n)}var Se=/^(?:viewport|description|keywords|robots)$/,Ce=[`name`,`property`,`http-equiv`];function H(e){let t=e.indexOf(`:`);if(t===-1)return!1;let n=e.slice(t+1);return ye.has(n)||n.startsWith(`og:image:`)||n.startsWith(`og:video:`)||n.startsWith(`og:audio:`)||n.startsWith(`twitter:image:`)}function U(e){let{props:t,tag:n,key:r}=e;if(_e.has(n))return n;if(n===`link`){if(t.rel===`canonical`)return`canonical`;if(t.rel===`alternate`&&t.hreflang)return`alternate:${t.hreflang}`}if(t.charset)return`charset`;if(n===`meta`)for(let e of Ce){let n=t[e];if(n!==void 0)return`meta:${n}${(typeof n!=`string`||!n.includes(`:`))&&!Se.test(n)&&r?`:key:${r}`:``}`}return r?`${n}:key:${r}`:t.id?`${n}:id:${t.id}`:n===`link`&&t.rel&&t.href?`link:${t.rel}:${t.href}`:F.has(n)&&(e.textContent||e.innerHTML)?`${n}:content:${e.textContent||e.innerHTML}`:void 0}function W(e){let t=e._h||e._d||e.textContent||e.innerHTML;if(t)return t;let n=Object.keys(e.props).sort(),r=`${e.tag}:`,i=``;for(let t of n)r+=`${i}${t}:${String(e.props[t])}`,i=`,`;return r}function G(e,t,n){if(n===`_resolver`)return e;typeof e==`function`&&(!n||n!==`titleTemplate`&&!n.startsWith(`on`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r)){let e;for(let n=0;n<r.length;n++){let i=G(r[n],t);e?e[n]=i:i!==r[n]&&(e=r.slice(0,n),e[n]=i)}return e||r}if(r?.constructor===Object){let e;for(let n in r){let i=B(n),a=i?void 0:G(r[n],t,n);if(!e&&(i||a!==r[n])){e={};for(let t in r){if(t===n)break;e[t]=r[t]}}e&&!i&&(e[n]=a)}return e||r}return r}var we=/[\s"'<>/=\x00-\x1F\x7F]/;function Te(e,t){let n=e===`style`,r=n?new Map:new Set,i=e=>{if(e){if(n){let t=e.indexOf(`:`);t>0&&r.set(e.slice(0,t).trim(),e.slice(t+1).trim())}else e.split(` `).forEach(e=>e&&r.add(e))}};if(typeof t==`string`)(n?t.split(`;`):[t]).forEach(i);else if(Array.isArray(t))t.forEach(i);else if(t&&typeof t==`object`)for(let e in t){let a=t[e];a&&a!==`false`&&(n?r.set(e.trim(),String(a)):i(e))}return r}function K(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=I.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;for(let r in t){if(B(r))continue;let i=r.startsWith(`data-`),a=n&&!R.has(r),o=a&&!i?r.toLowerCase():r;if(a&&(!o||we.test(o)))continue;let s=t[r];if(s===null)e.props[o]=null;else if(r===`class`||r===`style`)e.props[r]=Te(r,s);else if(R.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof s==`object`){let n=t.type||`application/json`;(n.endsWith(`json`)||n===`speculationrules`||n===`importmap`)&&(e.props.type=t.type=n,e[r]=JSON.stringify(s))}else e[r]=s}else if(s!==void 0){let t=String(s),n=e.tag===`meta`&&o===`content`;e.props[o]=t===`true`||t===``?i||n?t:!0:!s&&i&&t===`false`?`false`:s}}return e}function Ee(e,t){let n;return t.length&&(n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n},e=n(void 0,e)),G(e,n)}function q(e,t){let n=K({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});if(n.key&&P.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)){let e=[];for(let t of n.props.content)e.push({...n,props:{...n.props,content:t}});return e}return n}function J(e,t){if(Array.isArray(t))for(let n of t)e.push(n);else e.push(t)}function De(e,t){if(!e)return[];typeof e==`function`&&(e=e()),e=Ee(e,t);let n=[];for(let t in e){let r=e[t];if(r!==void 0){if(Array.isArray(r))for(let e of r)J(n,q(t,e));else J(n,q(t,r))}}return n}var Oe=/</g,ke=/<\/script/g,Y=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Ae=()=>100;function X(e){for(let t in e)return!1;return!0}var je=/^tags:|:render/;function Z(e,t){let n=(t[`entries:resolve`]?.length||0)+(t[`entries:normalize`]?.length||0);if(e._h!==n){e._h=n;for(let t of e.entries.values())delete t._tags}}function Q(e){for(let t=0;t<e.length;t++){let n=e[t],r={...n.props};r.class instanceof Set&&(r.class=new Set(r.class)),r.style instanceof Map&&(r.style=new Map(r.style)),e[t]={...n,props:r}}}function Me(e,t){let n=e.tags,r=0;for(let t of e.tagMap.values())if(Array.isArray(t))for(let e of t)n[r++]=e;else n[r++]=t;n.length=r,t&&n.sort(Y)}function Ne(e){let t=!1;for(let n of e.tags.sort(Y)){let r=n._d||W(n);if(!r)continue;let i=e.tagMap.get(r);if(!i){e.tagMap.set(r,n);continue}if((n.tagDuplicateStrategy||(ve.has(n.tag)?`merge`:null)||(n.key&&n.key===i.key?`merge`:null))===`merge`){let t={...i.props};for(let e in n.props)t[e]=e===`style`?new Map([...i.props.style||new Map,...n.props[e]]):e===`class`?new Set([...i.props.class||[],...n.props[e]]):n.props[e];e.tagMap.set(r,{...n,props:t})}else n._p>>10==i._p>>10&&n.tag===`meta`&&H(r)?(e.tagMap.set(r,Object.assign([...Array.isArray(i)?i:[i],n],n)),t=!0):(n._w===i._w?n._p>i._p:n._w<i._w)&&e.tagMap.set(r,n)}return t}function Pe(e,t){let n=e.tagMap.get(`title`),r=e.tagMap.get(`titleTemplate`);if(t._title=n?.textContent,!r)return;let i=r.textContent;if(t._titleTemplate=i,!i)return;let a=typeof i==`function`?i(n?.textContent):i;typeof a==`string`&&!t.plugins.has(`template-params`)&&(a=a.replace(`%s`,n?.textContent||``)),n?a===null?e.tagMap.delete(`title`):e.tagMap.set(`title`,{...n,textContent:a}):e.tagMap.set(`titleTemplate`,{...r,tag:`title`,textContent:a})}function Fe(e){let t=0;for(let n of e){let{innerHTML:r,tag:i,props:a}=n;if(!(!L.has(i)||X(a)&&!z(r)&&!z(n.textContent))&&!(i===`meta`&&!z(a.content)&&!a[`http-equiv`]&&!a.charset)){if(i===`script`&&(r||n.textContent)){let e=String(a.type),t=e.endsWith(`json`)||e===`importmap`||e===`speculationrules`,i=e=>t?(typeof e==`string`?e:JSON.stringify(e)).replace(Oe,`\\u003C`):typeof e==`string`?e.replace(ke,`<\\/script`):e;n={...n},r&&(n.innerHTML=i(r)),n.textContent&&(n.textContent=i(n.textContent)),n._d=U(n)}e[t++]=n}}return e.length=t,e}function Ie(e,t){let n=t?.tagWeight??e.resolvedOptions._tagWeight??Ae,r={tagMap:new Map,tags:[]},i=e.hooks?._hooks||{};Z(e,i);for(let t of e.entries.values())t._pending!==void 0&&(t.input=t._pending,delete t._pending,delete t._tags,delete t._precomputedTags);let a;(i[`entries:resolve`]?.length||i[`entries:normalize`]?.length)&&(a=[...e.entries.values()],i[`entries:resolve`]?.length&&V(e,`entries:resolve`,{entries:a,...r})),Z(e,i);for(let t of a||e.entries.values()){let a=t._tags;if(!a){if(t._precomputedTags&&n===e.resolvedOptions._tagWeight&&!i[`entries:normalize`]?.length&&!i[`entries:resolve`]?.length&&(!t.options||X(t.options)))a=t._precomputedTags;else{if(a=De(t.input,e.resolvedOptions.propResolvers||[]),t.options&&!X(t.options))for(let e of a)Object.assign(e,t.options);if(i[`entries:normalize`]?.length){let n={tags:a,entry:t};V(e,`entries:normalize`,n),a=n.tags}for(let e=0;e<a.length;e++){let r=a[e];r._w=n(r),r._p=(t._i<<10)+e,r._d=U(r),r._d||(r._h=W(r))}t._tags=a}}r.tags.push(...a)}for(let e in i)if(i[e]?.length&&je.test(e)){Q(r.tags);break}let o=Ne(r);return Pe(r,e),Me(r,o),V(e,`tags:beforeResolve`,r),V(e,`tags:resolve`,r),V(e,`tags:afterResolve`,r),Fe(r.tags)}var $=`usehead`;function Le(){if(o()){let t=e($);if(t)return t}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function Re(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide($,e)}}.install}var ze=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n};export{c as A,de as C,d as D,ce as E,l as O,ue as S,fe as T,O as _,U as a,le as b,K as c,V as d,xe as f,T as g,D as h,Re as i,u as k,Ie as l,be as m,$ as n,W as o,I as p,Le as r,H as s,ze as t,G as u,j as v,me as w,pe as x,M as y};
|