@xcpcio/board-app 0.55.2 → 0.56.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.
Files changed (44) hide show
  1. package/dist/404.html +1 -1
  2. package/dist/assets/{Balloon.vue_vue_type_script_setup_true_lang-CmkJalmb.js → Balloon.vue_vue_type_script_setup_true_lang-CcrYnek7.js} +1 -1
  3. package/dist/assets/{Board-DI2_Xyh3.css → Board-BpIs5VPc.css} +1 -1
  4. package/dist/assets/{Board-Dum-tExZ.js → Board-C_xlB792.js} +1 -1
  5. package/dist/assets/{ContestStateBadge-hRbbyZ5a.js → ContestStateBadge-Bl0ICQ8T.js} +1 -1
  6. package/dist/assets/{Countdown-DAdiIlkO.js → Countdown-CDH8Uny-.js} +1 -1
  7. package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-J0bb2eXG.js → DataSourceInput.vue_vue_type_script_setup_true_lang-CcYSvVSA.js} +1 -1
  8. package/dist/assets/{Footer.vue_vue_type_script_setup_true_lang-CZWhuawj.js → Footer.vue_vue_type_script_setup_true_lang-28x5etfb.js} +1 -1
  9. package/dist/assets/{NavBar-o7LroIec.js → NavBar-DvOGMegH.js} +1 -1
  10. package/dist/assets/{Resolver-DQAiggp3.js → Resolver-CYUDKyhZ.js} +1 -1
  11. package/dist/assets/{RightArrowIcon-DcfHXHHq.js → RightArrowIcon-HSJV9i1B.js} +1 -1
  12. package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-DsqG2YZ8.js → TheInput.vue_vue_type_script_setup_true_lang-BgiR6pm9.js} +1 -1
  13. package/dist/assets/{Tooltip.vue_vue_type_script_setup_true_lang-OTaxJAgs.js → Tooltip.vue_vue_type_script_setup_true_lang-sT6aO1Ww.js} +1 -1
  14. package/dist/assets/{_...all_-Dkuyof0N.js → _...all_-DrBs104J.js} +1 -1
  15. package/dist/assets/{_...all_-CWEYFf-1.js → _...all_-DxZtuOys.js} +1 -1
  16. package/dist/assets/{_name_-DkCB2ylA.js → _name_-Dmat1829.js} +1 -1
  17. package/dist/assets/{about-Bei-zdpH.js → about-DhfDQGjX.js} +1 -1
  18. package/dist/assets/board-C0tLBmUo.js +1 -0
  19. package/dist/assets/{board-layout-K8sw8NsP.js → board-layout-DrWRfbCv.js} +1 -1
  20. package/dist/assets/{constant-2MSuUQN9.js → constant-ChsR9qCE.js} +1 -1
  21. package/dist/assets/{default-1E2MOw97.js → default-BzUSPED6.js} +1 -1
  22. package/dist/assets/{headless-Sa2QJJjX.js → headless-BRQIRaS0.js} +1 -1
  23. package/dist/assets/{home-CtJUZVCZ.js → home-DiH_R9s9.js} +1 -1
  24. package/dist/assets/{index-B15dCUpg.js → index-6fmqLh8C.js} +1 -1
  25. package/dist/assets/{index-BYh7ktqe.js → index-BANTi8Ss.js} +30 -30
  26. package/dist/assets/{index-DXMw63yv.js → index-BQVslLwa.js} +1 -1
  27. package/dist/assets/{index-CYsJ2gG-.js → index-BZaxCyEC.js} +4 -4
  28. package/dist/assets/{index-6jZiIup0.js → index-Bp89uTRa.js} +1 -1
  29. package/dist/assets/{index-DIl_xwmv.js → index-CPQOIpLS.js} +1 -1
  30. package/dist/assets/{index-CPJc3gEW.js → index-Cbob_EDi.js} +1 -1
  31. package/dist/assets/{index-Biv_orBr.js → index-Dh_2evah.js} +1 -1
  32. package/dist/assets/{index-layout-D7MYCKsY.js → index-layout-DW6DHLVB.js} +1 -1
  33. package/dist/assets/{index-BNZRV8LR.js → index-mk-YkHPa.js} +1 -1
  34. package/dist/assets/{pagination-D1pCU19r.js → pagination-D0hAjcfx.js} +1 -1
  35. package/dist/assets/{query-DfOnN8jV.js → query-0FO5Gmcb.js} +1 -1
  36. package/dist/assets/{test-C0jX_snI.js → test-CaN7Xx1P.js} +1 -1
  37. package/dist/assets/{use-vmodel-CT985YGh.js → use-vmodel-C2qX9zQU.js} +1 -1
  38. package/dist/assets/{user-bpzU-F74.js → user-B6T7lMns.js} +1 -1
  39. package/dist/assets/{virtual_pwa-register-C3KS-ZjO.js → virtual_pwa-register-_ZouVQyg.js} +1 -1
  40. package/dist/index.html +1 -1
  41. package/dist/sw.js +1 -1
  42. package/package.json +3 -3
  43. package/src/components/board/Board.vue +10 -0
  44. package/dist/assets/board-DYwZDF6d.js +0 -1
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.__toAssetUrl("assets/board-layout-K8sw8NsP.js"),window.__toAssetUrl("assets/Footer.vue_vue_type_script_setup_true_lang-CZWhuawj.js"),window.__toAssetUrl("assets/Tooltip.vue_vue_type_script_setup_true_lang-OTaxJAgs.js"),window.__toAssetUrl("assets/Tooltip-DzyPDwbo.css"),window.__toAssetUrl("assets/constant-2MSuUQN9.js"),window.__toAssetUrl("assets/index-BNZRV8LR.js"),window.__toAssetUrl("assets/NavBar-o7LroIec.js"),window.__toAssetUrl("assets/_plugin-vue_export-helper-DlAUqK2U.js"),window.__toAssetUrl("assets/NavBar-C0cqpBnK.css"),window.__toAssetUrl("assets/default-1E2MOw97.js"),window.__toAssetUrl("assets/headless-Sa2QJJjX.js"),window.__toAssetUrl("assets/home-CtJUZVCZ.js"),window.__toAssetUrl("assets/index-layout-D7MYCKsY.js"),window.__toAssetUrl("assets/index-CPJc3gEW.js"),window.__toAssetUrl("assets/index-DXMw63yv.js"),window.__toAssetUrl("assets/index-BYh7ktqe.js"),window.__toAssetUrl("assets/RightArrowIcon-DcfHXHHq.js"),window.__toAssetUrl("assets/ContestStateBadge-hRbbyZ5a.js"),window.__toAssetUrl("assets/ContestStateBadge-DawlTsHs.css"),window.__toAssetUrl("assets/use-vmodel-CT985YGh.js"),window.__toAssetUrl("assets/route-block-B_A1xBdJ.js"),window.__toAssetUrl("assets/index-CkWanoDO.css"),window.__toAssetUrl("assets/_...all_-Dkuyof0N.js"),window.__toAssetUrl("assets/Countdown-DAdiIlkO.js"),window.__toAssetUrl("assets/query-DfOnN8jV.js"),window.__toAssetUrl("assets/Countdown-CGwMuG9S.css"),window.__toAssetUrl("assets/Balloon.vue_vue_type_script_setup_true_lang-CmkJalmb.js"),window.__toAssetUrl("assets/Resolver-DQAiggp3.js"),window.__toAssetUrl("assets/Resolver-B6m5f_LD.css"),window.__toAssetUrl("assets/Board-Dum-tExZ.js"),window.__toAssetUrl("assets/pagination-D1pCU19r.js"),window.__toAssetUrl("assets/TheInput.vue_vue_type_script_setup_true_lang-DsqG2YZ8.js"),window.__toAssetUrl("assets/Board-DI2_Xyh3.css"),window.__toAssetUrl("assets/index-Biv_orBr.js"),window.__toAssetUrl("assets/DataSourceInput.vue_vue_type_script_setup_true_lang-J0bb2eXG.js"),window.__toAssetUrl("assets/board-DYwZDF6d.js"),window.__toAssetUrl("assets/index-6jZiIup0.js"),window.__toAssetUrl("assets/_name_-DkCB2ylA.js"),window.__toAssetUrl("assets/user-bpzU-F74.js"),window.__toAssetUrl("assets/index-B15dCUpg.js"),window.__toAssetUrl("assets/index-D0wLFbYO.css"),window.__toAssetUrl("assets/_...all_-CWEYFf-1.js"),window.__toAssetUrl("assets/_..-5I0UWqRG.css"),window.__toAssetUrl("assets/index-DIl_xwmv.js"),window.__toAssetUrl("assets/test-C0jX_snI.js")])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.__toAssetUrl("assets/board-layout-DrWRfbCv.js"),window.__toAssetUrl("assets/Footer.vue_vue_type_script_setup_true_lang-28x5etfb.js"),window.__toAssetUrl("assets/Tooltip.vue_vue_type_script_setup_true_lang-sT6aO1Ww.js"),window.__toAssetUrl("assets/Tooltip-DzyPDwbo.css"),window.__toAssetUrl("assets/constant-ChsR9qCE.js"),window.__toAssetUrl("assets/index-mk-YkHPa.js"),window.__toAssetUrl("assets/NavBar-DvOGMegH.js"),window.__toAssetUrl("assets/_plugin-vue_export-helper-DlAUqK2U.js"),window.__toAssetUrl("assets/NavBar-C0cqpBnK.css"),window.__toAssetUrl("assets/default-BzUSPED6.js"),window.__toAssetUrl("assets/headless-BRQIRaS0.js"),window.__toAssetUrl("assets/home-DiH_R9s9.js"),window.__toAssetUrl("assets/index-layout-DW6DHLVB.js"),window.__toAssetUrl("assets/index-Cbob_EDi.js"),window.__toAssetUrl("assets/index-BQVslLwa.js"),window.__toAssetUrl("assets/index-BANTi8Ss.js"),window.__toAssetUrl("assets/RightArrowIcon-HSJV9i1B.js"),window.__toAssetUrl("assets/ContestStateBadge-Bl0ICQ8T.js"),window.__toAssetUrl("assets/ContestStateBadge-DawlTsHs.css"),window.__toAssetUrl("assets/use-vmodel-C2qX9zQU.js"),window.__toAssetUrl("assets/route-block-B_A1xBdJ.js"),window.__toAssetUrl("assets/index-CkWanoDO.css"),window.__toAssetUrl("assets/_...all_-DrBs104J.js"),window.__toAssetUrl("assets/Countdown-CDH8Uny-.js"),window.__toAssetUrl("assets/query-0FO5Gmcb.js"),window.__toAssetUrl("assets/Countdown-CGwMuG9S.css"),window.__toAssetUrl("assets/Balloon.vue_vue_type_script_setup_true_lang-CcrYnek7.js"),window.__toAssetUrl("assets/Resolver-CYUDKyhZ.js"),window.__toAssetUrl("assets/Resolver-B6m5f_LD.css"),window.__toAssetUrl("assets/Board-C_xlB792.js"),window.__toAssetUrl("assets/pagination-D0hAjcfx.js"),window.__toAssetUrl("assets/TheInput.vue_vue_type_script_setup_true_lang-BgiR6pm9.js"),window.__toAssetUrl("assets/Board-BpIs5VPc.css"),window.__toAssetUrl("assets/index-Dh_2evah.js"),window.__toAssetUrl("assets/DataSourceInput.vue_vue_type_script_setup_true_lang-CcYSvVSA.js"),window.__toAssetUrl("assets/board-C0tLBmUo.js"),window.__toAssetUrl("assets/index-Bp89uTRa.js"),window.__toAssetUrl("assets/_name_-Dmat1829.js"),window.__toAssetUrl("assets/user-B6T7lMns.js"),window.__toAssetUrl("assets/index-6fmqLh8C.js"),window.__toAssetUrl("assets/index-D0wLFbYO.css"),window.__toAssetUrl("assets/_...all_-DxZtuOys.js"),window.__toAssetUrl("assets/_..-5I0UWqRG.css"),window.__toAssetUrl("assets/index-CPQOIpLS.js"),window.__toAssetUrl("assets/test-CaN7Xx1P.js")])))=>i.map(i=>d[i]);
2
2
  var Yf=e=>{throw TypeError(e)};var ja=(e,t,n)=>t.has(e)||Yf("Cannot "+n);var V=(e,t,n)=>(ja(e,t,"read from private field"),n?n.call(e):t.get(e)),Ee=(e,t,n)=>t.has(e)?Yf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),le=(e,t,n,s)=>(ja(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n),pt=(e,t,n)=>(ja(e,t,"access private method"),n);var Mo=(e,t,n,s)=>({set _(r){le(e,t,r,n)},get _(){return V(e,t,s)}});(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();const Bv="modulepreload",jv=function(e,t){return new URL(e,t).href},Qf={},et=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=jv(c,s),c in Qf)return;Qf[c]=!0;const f=c.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(!!s)for(let m=o.length-1;m>=0;m--){const d=o[m];if(d.href===c&&(!f||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${u}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":Bv,f||(p.as="script"),p.crossOrigin="",p.href=c,a&&p.setAttribute("nonce",a),document.head.appendChild(p),f)return new Promise((m,d)=>{p.addEventListener("load",m),p.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})};/*!
3
3
  * shared v11.1.3
4
4
  * (c) 2025 kazuya kawaguchi
@@ -40,7 +40,7 @@ var Yf=e=>{throw TypeError(e)};var ja=(e,t,n)=>t.has(e)||Yf("Cannot "+n);var V=(
40
40
  * pinia v3.0.2
41
41
  * (c) 2025 Eduardo San Martin Morote
42
42
  * @license MIT
43
- */let L_;const _a=e=>L_=e,M_=Symbol();function eu(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Pi;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Pi||(Pi={}));function Jw(){const e=ta(!0),t=e.run(()=>it({}));let n=[],s=[];const r=aa({install(i){_a(r),r._a=i,i.provide(M_,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return this._a?n.push(i):s.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const k_=()=>{};function yh(e,t,n,s=k_){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),s())};return!n&&na()&&Lu(r),r}function Or(e,...t){e.slice().forEach(n=>{n(...t)})}const Zw=e=>e(),vh=Symbol(),ac=Symbol();function tu(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];eu(r)&&eu(s)&&e.hasOwnProperty(n)&&!Se(s)&&!An(s)?e[n]=tu(r,s):e[n]=s}return e}const eC=Symbol();function tC(e){return!eu(e)||!Object.prototype.hasOwnProperty.call(e,eC)}const{assign:ds}=Object;function nC(e){return!!(Se(e)&&e.effect)}function sC(e,t,n,s){const{state:r,actions:i,getters:o}=t,l=n.state.value[e];let a;function c(){l||(n.state.value[e]=r?r():{});const f=Km(n.state.value[e]);return ds(f,i,Object.keys(o||{}).reduce((u,h)=>(u[h]=aa(he(()=>{_a(n);const p=n._s.get(e);return o[h].call(p,p)})),u),{}))}return a=x_(e,c,t,n,s,!0),a}function x_(e,t,n={},s,r,i){let o;const l=ds({actions:{}},n),a={deep:!0};let c,f,u=[],h=[],p;const m=s.state.value[e];!i&&!m&&(s.state.value[e]={}),it({});let d;function E(C){let S;c=f=!1,typeof C=="function"?(C(s.state.value[e]),S={type:Pi.patchFunction,storeId:e,events:p}):(tu(s.state.value[e],C),S={type:Pi.patchObject,payload:C,storeId:e,events:p});const P=d=Symbol();Ht().then(()=>{d===P&&(c=!0)}),f=!0,Or(u,S,s.state.value[e])}const g=i?function(){const{state:S}=n,P=S?S():{};this.$patch(M=>{ds(M,P)})}:k_;function v(){o.stop(),u=[],h=[],s._s.delete(e)}const _=(C,S="")=>{if(vh in C)return C[ac]=S,C;const P=function(){_a(s);const M=Array.from(arguments),R=[],x=[];function X(K){R.push(K)}function Y(K){x.push(K)}Or(h,{args:M,name:P[ac],store:b,after:X,onError:Y});let j;try{j=C.apply(this&&this.$id===e?this:b,M)}catch(K){throw Or(x,K),K}return j instanceof Promise?j.then(K=>(Or(R,K),K)).catch(K=>(Or(x,K),Promise.reject(K))):(Or(R,j),j)};return P[vh]=!0,P[ac]=S,P},y={_p:s,$id:e,$onAction:yh.bind(null,h),$patch:E,$reset:g,$subscribe(C,S={}){const P=yh(u,C,S.detached,()=>M()),M=o.run(()=>De(()=>s.state.value[e],R=>{(S.flush==="sync"?f:c)&&C({storeId:e,type:Pi.direct,events:p},R)},ds({},a,S)));return P},$dispose:v},b=Rn(y);s._s.set(e,b);const A=(s._a&&s._a.runWithContext||Zw)(()=>s._e.run(()=>(o=ta()).run(()=>t({action:_}))));for(const C in A){const S=A[C];if(Se(S)&&!nC(S)||An(S))i||(m&&tC(S)&&(Se(S)?S.value=m[C]:tu(S,m[C])),s.state.value[e][C]=S);else if(typeof S=="function"){const P=_(S,C);A[C]=P,l.actions[C]=S}}return ds(b,A),ds(de(b),A),Object.defineProperty(b,"$state",{get:()=>s.state.value[e],set:C=>{E(S=>{ds(S,C)})}}),s._p.forEach(C=>{ds(b,o.run(()=>C({store:b,app:s._a,pinia:s,options:l})))}),m&&i&&n.hydrate&&n.hydrate(b.$state,m),c=!0,f=!0,b}/*! #__NO_SIDE_EFFECTS__ */function fI(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function i(o,l){const a=So();return o=o||(a?St(M_,null):null),o&&_a(o),o=L_,o._s.has(e)||(r?x_(e,t,s,o):sC(e,s,o)),o._s.get(e)}return i.$id=e,i}const rC=({isClient:e,initialState:t,app:n})=>{const s=Jw();n.use(s),e?s.state.value=t.pinia||{}:t.pinia=s.state.value},iC=Object.freeze(Object.defineProperty({__proto__:null,install:rC},Symbol.toStringTag,{value:"Module"})),oC=({isClient:e,router:t})=>{e&&t.isReady().then(async()=>{const{registerSW:n}=await et(async()=>{const{registerSW:s}=await import("./virtual_pwa-register-C3KS-ZjO.js");return{registerSW:s}},[],import.meta.url);n({immediate:!0})}).catch(()=>{})},lC=Object.freeze(Object.defineProperty({__proto__:null,install:oC},Symbol.toStringTag,{value:"Module"}));var ll={exports:{}},cc={exports:{}},uc={};/**
43
+ */let L_;const _a=e=>L_=e,M_=Symbol();function eu(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Pi;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Pi||(Pi={}));function Jw(){const e=ta(!0),t=e.run(()=>it({}));let n=[],s=[];const r=aa({install(i){_a(r),r._a=i,i.provide(M_,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return this._a?n.push(i):s.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const k_=()=>{};function yh(e,t,n,s=k_){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),s())};return!n&&na()&&Lu(r),r}function Or(e,...t){e.slice().forEach(n=>{n(...t)})}const Zw=e=>e(),vh=Symbol(),ac=Symbol();function tu(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];eu(r)&&eu(s)&&e.hasOwnProperty(n)&&!Se(s)&&!An(s)?e[n]=tu(r,s):e[n]=s}return e}const eC=Symbol();function tC(e){return!eu(e)||!Object.prototype.hasOwnProperty.call(e,eC)}const{assign:ds}=Object;function nC(e){return!!(Se(e)&&e.effect)}function sC(e,t,n,s){const{state:r,actions:i,getters:o}=t,l=n.state.value[e];let a;function c(){l||(n.state.value[e]=r?r():{});const f=Km(n.state.value[e]);return ds(f,i,Object.keys(o||{}).reduce((u,h)=>(u[h]=aa(he(()=>{_a(n);const p=n._s.get(e);return o[h].call(p,p)})),u),{}))}return a=x_(e,c,t,n,s,!0),a}function x_(e,t,n={},s,r,i){let o;const l=ds({actions:{}},n),a={deep:!0};let c,f,u=[],h=[],p;const m=s.state.value[e];!i&&!m&&(s.state.value[e]={}),it({});let d;function E(C){let S;c=f=!1,typeof C=="function"?(C(s.state.value[e]),S={type:Pi.patchFunction,storeId:e,events:p}):(tu(s.state.value[e],C),S={type:Pi.patchObject,payload:C,storeId:e,events:p});const P=d=Symbol();Ht().then(()=>{d===P&&(c=!0)}),f=!0,Or(u,S,s.state.value[e])}const g=i?function(){const{state:S}=n,P=S?S():{};this.$patch(M=>{ds(M,P)})}:k_;function v(){o.stop(),u=[],h=[],s._s.delete(e)}const _=(C,S="")=>{if(vh in C)return C[ac]=S,C;const P=function(){_a(s);const M=Array.from(arguments),R=[],x=[];function X(K){R.push(K)}function Y(K){x.push(K)}Or(h,{args:M,name:P[ac],store:b,after:X,onError:Y});let j;try{j=C.apply(this&&this.$id===e?this:b,M)}catch(K){throw Or(x,K),K}return j instanceof Promise?j.then(K=>(Or(R,K),K)).catch(K=>(Or(x,K),Promise.reject(K))):(Or(R,j),j)};return P[vh]=!0,P[ac]=S,P},y={_p:s,$id:e,$onAction:yh.bind(null,h),$patch:E,$reset:g,$subscribe(C,S={}){const P=yh(u,C,S.detached,()=>M()),M=o.run(()=>De(()=>s.state.value[e],R=>{(S.flush==="sync"?f:c)&&C({storeId:e,type:Pi.direct,events:p},R)},ds({},a,S)));return P},$dispose:v},b=Rn(y);s._s.set(e,b);const A=(s._a&&s._a.runWithContext||Zw)(()=>s._e.run(()=>(o=ta()).run(()=>t({action:_}))));for(const C in A){const S=A[C];if(Se(S)&&!nC(S)||An(S))i||(m&&tC(S)&&(Se(S)?S.value=m[C]:tu(S,m[C])),s.state.value[e][C]=S);else if(typeof S=="function"){const P=_(S,C);A[C]=P,l.actions[C]=S}}return ds(b,A),ds(de(b),A),Object.defineProperty(b,"$state",{get:()=>s.state.value[e],set:C=>{E(S=>{ds(S,C)})}}),s._p.forEach(C=>{ds(b,o.run(()=>C({store:b,app:s._a,pinia:s,options:l})))}),m&&i&&n.hydrate&&n.hydrate(b.$state,m),c=!0,f=!0,b}/*! #__NO_SIDE_EFFECTS__ */function fI(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function i(o,l){const a=So();return o=o||(a?St(M_,null):null),o&&_a(o),o=L_,o._s.has(e)||(r?x_(e,t,s,o):sC(e,s,o)),o._s.get(e)}return i.$id=e,i}const rC=({isClient:e,initialState:t,app:n})=>{const s=Jw();n.use(s),e?s.state.value=t.pinia||{}:t.pinia=s.state.value},iC=Object.freeze(Object.defineProperty({__proto__:null,install:rC},Symbol.toStringTag,{value:"Module"})),oC=({isClient:e,router:t})=>{e&&t.isReady().then(async()=>{const{registerSW:n}=await et(async()=>{const{registerSW:s}=await import("./virtual_pwa-register-_ZouVQyg.js");return{registerSW:s}},[],import.meta.url);n({immediate:!0})}).catch(()=>{})},lC=Object.freeze(Object.defineProperty({__proto__:null,install:oC},Symbol.toStringTag,{value:"Module"}));var ll={exports:{}},cc={exports:{}},uc={};/**
44
44
  * @vue/compiler-core v3.5.13
45
45
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
46
46
  * @license MIT
@@ -60,8 +60,8 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
60
60
  * vue v3.5.13
61
61
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
62
62
  * @license MIT
63
- **/var Fh;function rN(){return Fh||(Fh=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=tN,n=nN,s=sN;function r(a){var c=Object.create(null);if(a)for(var f in a)c[f]=a[f];return c.default=a,Object.freeze(c)}var i=r(n);const o=Object.create(null);function l(a,c){if(!s.isString(a))if(a.nodeType)a=a.innerHTML;else return s.NOOP;const f=s.genCacheKey(a,c),u=o[f];if(u)return u;if(a[0]==="#"){const d=document.querySelector(a);a=d?d.innerHTML:""}const h=s.extend({hoistStatic:!0,onError:void 0,onWarn:s.NOOP},c);!h.isCustomElement&&typeof customElements<"u"&&(h.isCustomElement=d=>!!customElements.get(d));const{code:p}=t.compile(a,h),m=new Function("Vue",p)(i);return m._rc=!0,o[f]=m}n.registerRuntimeCompiler(l),e.compile=l,Object.keys(n).forEach(function(a){a!=="default"&&!Object.prototype.hasOwnProperty.call(e,a)&&(e[a]=n[a])})}(uc)),uc}var $h;function iN(){return $h||($h=1,cc.exports=rN()),cc.exports}var oN=ll.exports,Hh;function lN(){return Hh||(Hh=1,function(e,t){(function(s,r){e.exports=r(iN())})(oN,n=>(()=>{var s={113:(C,S)=>{Object.defineProperty(S,"__esModule",{value:!0}),S.default=(P,M)=>{const R=P.__vccOpts||P;for(const[x,X]of M)R[x]=X;return R}},594:C=>{C.exports=n}},r={};function i(C){var S=r[C];if(S!==void 0)return S.exports;var P=r[C]={exports:{}};return s[C](P,P.exports,i),P.exports}i.d=(C,S)=>{for(var P in S)i.o(S,P)&&!i.o(C,P)&&Object.defineProperty(C,P,{enumerable:!0,get:S[P]})},i.o=(C,S)=>Object.prototype.hasOwnProperty.call(C,S),i.r=C=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{ToastComponent:()=>y,ToastPlugin:()=>N,ToastPositions:()=>p,default:()=>A,useToast:()=>b});var l=i(594);const a=["innerHTML"];function c(C,S,P,M,R,x){return(0,l.openBlock)(),(0,l.createBlock)(l.Transition,{"enter-active-class":C.transition.enter,"leave-active-class":C.transition.leave},{default:(0,l.withCtx)(()=>[(0,l.withDirectives)((0,l.createElementVNode)("div",{ref:"root",role:"alert",class:(0,l.normalizeClass)(["v-toast__item",[`v-toast__item--${C.type}`,`v-toast__item--${C.position}`]]),onMouseover:S[0]||(S[0]=X=>C.toggleTimer(!0)),onMouseleave:S[1]||(S[1]=X=>C.toggleTimer(!1)),onClick:S[2]||(S[2]=function(){return C.whenClicked&&C.whenClicked(...arguments)})},[S[3]||(S[3]=(0,l.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,l.createElementVNode)("p",{class:"v-toast__text",innerHTML:C.message},null,8,a)],34),[[l.vShow,C.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function f(C){var S;typeof C.remove<"u"?C.remove():(S=C.parentNode)==null||S.removeChild(C)}function u(C,S,P){let M=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const R=(0,l.h)(C,S,M),x=document.createElement("div");return x.classList.add("v-toast--pending"),P.appendChild(x),(0,l.render)(R,x),R.component}class h{constructor(S,P){this.startedAt=Date.now(),this.callback=S,this.delay=P,this.timer=setTimeout(S,P)}pause(){this.stop(),this.delay-=Date.now()-this.startedAt}resume(){this.stop(),this.startedAt=Date.now(),this.timer=setTimeout(this.callback,this.delay)}stop(){clearTimeout(this.timer)}}const p=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function m(C){return{all:C=C||new Map,on:function(S,P){var M=C.get(S);M?M.push(P):C.set(S,[P])},off:function(S,P){var M=C.get(S);M&&(P?M.splice(M.indexOf(P)>>>0,1):C.set(S,[]))},emit:function(S,P){var M=C.get(S);M&&M.slice().map(function(R){R(P)}),(M=C.get("*"))&&M.slice().map(function(R){R(S,P)})}}}const E=m(),g=(0,l.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:p.BOTTOM_RIGHT,validator(C){return Object.values(p).includes(C)}},duration:{type:Number,default:3e3},dismissible:{type:Boolean,default:!0},onDismiss:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},queue:Boolean,pauseOnHover:{type:Boolean,default:!0}},data(){return{isActive:!1,parentTop:null,parentBottom:null,isHovered:!1}},beforeMount(){this.setupContainer()},mounted(){this.showNotice(),E.on("toast-clear",this.dismiss)},methods:{setupContainer(){if(this.parentTop=document.querySelector(".v-toast.v-toast--top"),this.parentBottom=document.querySelector(".v-toast.v-toast--bottom"),this.parentTop&&this.parentBottom)return;this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="v-toast v-toast--top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="v-toast v-toast--bottom");const C=document.body;C.appendChild(this.parentTop),C.appendChild(this.parentBottom)},shouldQueue(){return this.queue?this.parentTop.childElementCount>0||this.parentBottom.childElementCount>0:!1},dismiss(){this.timer&&this.timer.stop(),clearTimeout(this.queueTimer),this.isActive=!1,setTimeout(()=>{this.onDismiss.apply(null,arguments);const C=this.$refs.root;(0,l.render)(null,C),f(C)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const C=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),f(C),this.isActive=!0,this.duration&&(this.timer=new h(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(C){!this.pauseOnHover||!this.timer||(C?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case p.TOP:case p.TOP_RIGHT:case p.TOP_LEFT:return this.parentTop;case p.BOTTOM:case p.BOTTOM_RIGHT:case p.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case p.TOP:case p.TOP_RIGHT:case p.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case p.BOTTOM:case p.BOTTOM_RIGHT:case p.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){E.off("toast-clear",this.dismiss)}});var v=i(113);const y=(0,v.default)(g,[["render",c]]),b=function(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(S){let P=null;typeof S=="string"&&(P=S);const R=Object.assign({},{message:P},C,S);return{dismiss:u(y,R,document.body).ctx.dismiss}},clear(){E.emit("toast-clear")},success(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"success"},P))},error(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"error"},P))},info(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"info"},P))},warning(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"warning"},P))},default(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"default"},P))}}},N={install:function(C){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=b(S);C.config.globalProperties.$toast=P,C.provide("$toast",P)}},A=N;return o})())}(ll)),ll.exports}var aN=lN();const cN=I_(aN),uN=({app:e})=>{e.use(cN,{position:"bottom-right"})},fN=Object.freeze(Object.defineProperty({__proto__:null,install:uN},Symbol.toStringTag,{value:"Module"}));var xa=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Ro=typeof window>"u"||"Deno"in globalThis;function rn(){}function dN(e,t){return typeof e=="function"?e(t):e}function hN(e){return typeof e=="number"&&e>=0&&e!==1/0}function pN(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Vh(e,t){return typeof e=="function"?e(t):e}function mN(e,t){return typeof e=="function"?e(t):e}function Uh(e,t){const{type:n="all",exact:s,fetchStatus:r,predicate:i,queryKey:o,stale:l}=e;if(o){if(s){if(t.queryHash!==$f(o,t.options))return!1}else if(!oo(t.queryKey,o))return!1}if(n!=="all"){const a=t.isActive();if(n==="active"&&!a||n==="inactive"&&a)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||r&&r!==t.state.fetchStatus||i&&!i(t))}function Bh(e,t){const{exact:n,status:s,predicate:r,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(io(t.options.mutationKey)!==io(i))return!1}else if(!oo(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function $f(e,t){return((t==null?void 0:t.queryKeyHashFn)||io)(e)}function io(e){return JSON.stringify(e,(t,n)=>ou(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function oo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>oo(e[n],t[n])):!1}function $y(e,t){if(e===t)return e;const n=jh(e)&&jh(t);if(n||ou(e)&&ou(t)){const s=n?e:Object.keys(e),r=s.length,i=n?t:Object.keys(t),o=i.length,l=n?[]:{};let a=0;for(let c=0;c<o;c++){const f=n?c:i[c];(!n&&s.includes(f)||n)&&e[f]===void 0&&t[f]===void 0?(l[f]=void 0,a++):(l[f]=$y(e[f],t[f]),l[f]===e[f]&&e[f]!==void 0&&a++)}return r===o&&a===r?e:l}return t}function dI(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function jh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ou(e){if(!Wh(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Wh(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Wh(e){return Object.prototype.toString.call(e)==="[object Object]"}function gN(e){return new Promise(t=>{setTimeout(t,e)})}function _N(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?$y(e,t):t}function yN(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function vN(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var Hf=Symbol();function Hy(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Hf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Qs,Ts,Hr,Bp,EN=(Bp=class extends xa{constructor(){super();Ee(this,Qs);Ee(this,Ts);Ee(this,Hr);le(this,Hr,t=>{if(!Ro&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){V(this,Ts)||this.setEventListener(V(this,Hr))}onUnsubscribe(){var t;this.hasListeners()||((t=V(this,Ts))==null||t.call(this),le(this,Ts,void 0))}setEventListener(t){var n;le(this,Hr,t),(n=V(this,Ts))==null||n.call(this),le(this,Ts,t(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(t){V(this,Qs)!==t&&(le(this,Qs,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof V(this,Qs)=="boolean"?V(this,Qs):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Qs=new WeakMap,Ts=new WeakMap,Hr=new WeakMap,Bp),Vy=new EN,Vr,Ss,Ur,jp,bN=(jp=class extends xa{constructor(){super();Ee(this,Vr,!0);Ee(this,Ss);Ee(this,Ur);le(this,Ur,t=>{if(!Ro&&window.addEventListener){const n=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",s)}}})}onSubscribe(){V(this,Ss)||this.setEventListener(V(this,Ur))}onUnsubscribe(){var t;this.hasListeners()||((t=V(this,Ss))==null||t.call(this),le(this,Ss,void 0))}setEventListener(t){var n;le(this,Ur,t),(n=V(this,Ss))==null||n.call(this),le(this,Ss,t(this.setOnline.bind(this)))}setOnline(t){V(this,Vr)!==t&&(le(this,Vr,t),this.listeners.forEach(s=>{s(t)}))}isOnline(){return V(this,Vr)}},Vr=new WeakMap,Ss=new WeakMap,Ur=new WeakMap,jp),Hl=new bN;function TN(){let e,t;const n=new Promise((r,i)=>{e=r,t=i});n.status="pending",n.catch(()=>{});function s(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{s({status:"fulfilled",value:r}),e(r)},n.reject=r=>{s({status:"rejected",reason:r}),t(r)},n}function SN(e){return Math.min(1e3*2**e,3e4)}function Uy(e){return(e??"online")==="online"?Hl.isOnline():!0}var By=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function dc(e){return e instanceof By}function jy(e){let t=!1,n=0,s=!1,r;const i=TN(),o=d=>{var E;s||(h(new By(d)),(E=e.abort)==null||E.call(e))},l=()=>{t=!0},a=()=>{t=!1},c=()=>Vy.isFocused()&&(e.networkMode==="always"||Hl.isOnline())&&e.canRun(),f=()=>Uy(e.networkMode)&&e.canRun(),u=d=>{var E;s||(s=!0,(E=e.onSuccess)==null||E.call(e,d),r==null||r(),i.resolve(d))},h=d=>{var E;s||(s=!0,(E=e.onError)==null||E.call(e,d),r==null||r(),i.reject(d))},p=()=>new Promise(d=>{var E;r=g=>{(s||c())&&d(g)},(E=e.onPause)==null||E.call(e)}).then(()=>{var d;r=void 0,s||(d=e.onContinue)==null||d.call(e)}),m=()=>{if(s)return;let d;const E=n===0?e.initialPromise:void 0;try{d=E??e.fn()}catch(g){d=Promise.reject(g)}Promise.resolve(d).then(u).catch(g=>{var N;if(s)return;const v=e.retry??(Ro?0:3),_=e.retryDelay??SN,y=typeof _=="function"?_(n,g):_,b=v===!0||typeof v=="number"&&n<v||typeof v=="function"&&v(n,g);if(t||!b){h(g);return}n++,(N=e.onFail)==null||N.call(e,n,g),gN(y).then(()=>c()?void 0:p()).then(()=>{t?h(g):m()})})};return{promise:i,cancel:o,continue:()=>(r==null||r(),i),cancelRetry:l,continueRetry:a,canStart:f,start:()=>(f()?m():p().then(m),i)}}var wN=e=>setTimeout(e,0);function CN(){let e=[],t=0,n=l=>{l()},s=l=>{l()},r=wN;const i=l=>{t?e.push(l):r(()=>{n(l)})},o=()=>{const l=e;e=[],l.length&&r(()=>{s(()=>{l.forEach(a=>{n(a)})})})};return{batch:l=>{let a;t++;try{a=l()}finally{t--,t||o()}return a},batchCalls:l=>(...a)=>{i(()=>{l(...a)})},schedule:i,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{s=l},setScheduler:l=>{r=l}}}var Rt=CN(),Js,Wp,Wy=(Wp=class{constructor(){Ee(this,Js)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),hN(this.gcTime)&&le(this,Js,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ro?1/0:5*60*1e3))}clearGcTimeout(){V(this,Js)&&(clearTimeout(V(this,Js)),le(this,Js,void 0))}},Js=new WeakMap,Wp),Br,jr,Yt,Zs,gt,mo,er,on,Hn,Kp,ON=(Kp=class extends Wy{constructor(t){super();Ee(this,on);Ee(this,Br);Ee(this,jr);Ee(this,Yt);Ee(this,Zs);Ee(this,gt);Ee(this,mo);Ee(this,er);le(this,er,!1),le(this,mo,t.defaultOptions),this.setOptions(t.options),this.observers=[],le(this,Zs,t.client),le(this,Yt,V(this,Zs).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,le(this,Br,AN(this.options)),this.state=t.state??V(this,Br),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=V(this,gt))==null?void 0:t.promise}setOptions(t){this.options={...V(this,mo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&V(this,Yt).remove(this)}setData(t,n){const s=_N(this.state.data,t,this.options);return pt(this,on,Hn).call(this,{data:s,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),s}setState(t,n){pt(this,on,Hn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var s,r;const n=(s=V(this,gt))==null?void 0:s.promise;return(r=V(this,gt))==null||r.cancel(t),n?n.then(rn).catch(rn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(V(this,Br))}isActive(){return this.observers.some(t=>mN(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Hf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!pN(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(s=>s.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=V(this,gt))==null||n.continue()}onOnline(){var n;const t=this.observers.find(s=>s.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=V(this,gt))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),V(this,Yt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(V(this,gt)&&(V(this,er)?V(this,gt).cancel({revert:!0}):V(this,gt).cancelRetry()),this.scheduleGc()),V(this,Yt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||pt(this,on,Hn).call(this,{type:"invalidate"})}fetch(t,n){var a,c,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(V(this,gt))return V(this,gt).continueRetry(),V(this,gt).promise}if(t&&this.setOptions(t),!this.options.queryFn){const u=this.observers.find(h=>h.options.queryFn);u&&this.setOptions(u.options)}const s=new AbortController,r=u=>{Object.defineProperty(u,"signal",{enumerable:!0,get:()=>(le(this,er,!0),s.signal)})},i=()=>{const u=Hy(this.options,n),h={client:V(this,Zs),queryKey:this.queryKey,meta:this.meta};return r(h),le(this,er,!1),this.options.persister?this.options.persister(u,h,this):u(h)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:V(this,Zs),state:this.state,fetchFn:i};r(o),(a=this.options.behavior)==null||a.onFetch(o,this),le(this,jr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=o.fetchOptions)==null?void 0:c.meta))&&pt(this,on,Hn).call(this,{type:"fetch",meta:(f=o.fetchOptions)==null?void 0:f.meta});const l=u=>{var h,p,m,d;dc(u)&&u.silent||pt(this,on,Hn).call(this,{type:"error",error:u}),dc(u)||((p=(h=V(this,Yt).config).onError)==null||p.call(h,u,this),(d=(m=V(this,Yt).config).onSettled)==null||d.call(m,this.state.data,u,this)),this.scheduleGc()};return le(this,gt,jy({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:s.abort.bind(s),onSuccess:u=>{var h,p,m,d;if(u===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(u)}catch(E){l(E);return}(p=(h=V(this,Yt).config).onSuccess)==null||p.call(h,u,this),(d=(m=V(this,Yt).config).onSettled)==null||d.call(m,u,this.state.error,this),this.scheduleGc()},onError:l,onFail:(u,h)=>{pt(this,on,Hn).call(this,{type:"failed",failureCount:u,error:h})},onPause:()=>{pt(this,on,Hn).call(this,{type:"pause"})},onContinue:()=>{pt(this,on,Hn).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),V(this,gt).start()}},Br=new WeakMap,jr=new WeakMap,Yt=new WeakMap,Zs=new WeakMap,gt=new WeakMap,mo=new WeakMap,er=new WeakMap,on=new WeakSet,Hn=function(t){const n=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...NN(s.data,this.options),fetchMeta:t.meta??null};case"success":return{...s,data:t.data,dataUpdateCount:s.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const r=t.error;return dc(r)&&r.revert&&V(this,jr)?{...V(this,jr),fetchStatus:"idle"}:{...s,error:r,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=n(this.state),Rt.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),V(this,Yt).notify({query:this,type:"updated",action:t})})},Kp);function NN(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Uy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function AN(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,s=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Sn,Xp,Ky=(Xp=class extends xa{constructor(n={}){super();Ee(this,Sn);this.config=n,le(this,Sn,new Map)}build(n,s,r){const i=s.queryKey,o=s.queryHash??$f(i,s);let l=this.get(o);return l||(l=new ON({client:n,queryKey:i,queryHash:o,options:n.defaultQueryOptions(s),state:r,defaultOptions:n.getQueryDefaults(i)}),this.add(l)),l}add(n){V(this,Sn).has(n.queryHash)||(V(this,Sn).set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const s=V(this,Sn).get(n.queryHash);s&&(n.destroy(),s===n&&V(this,Sn).delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){Rt.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return V(this,Sn).get(n)}getAll(){return[...V(this,Sn).values()]}find(n){const s={exact:!0,...n};return this.getAll().find(r=>Uh(s,r))}findAll(n={}){const s=this.getAll();return Object.keys(n).length>0?s.filter(r=>Uh(n,r)):s}notify(n){Rt.batch(()=>{this.listeners.forEach(s=>{s(n)})})}onFocus(){Rt.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){Rt.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},Sn=new WeakMap,Xp),wn,Nt,tr,Cn,hs,qp,PN=(qp=class extends Wy{constructor(t){super();Ee(this,Cn);Ee(this,wn);Ee(this,Nt);Ee(this,tr);this.mutationId=t.mutationId,le(this,Nt,t.mutationCache),le(this,wn,[]),this.state=t.state||IN(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){V(this,wn).includes(t)||(V(this,wn).push(t),this.clearGcTimeout(),V(this,Nt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){le(this,wn,V(this,wn).filter(n=>n!==t)),this.scheduleGc(),V(this,Nt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){V(this,wn).length||(this.state.status==="pending"?this.scheduleGc():V(this,Nt).remove(this))}continue(){var t;return((t=V(this,tr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var r,i,o,l,a,c,f,u,h,p,m,d,E,g,v,_,y,b,N,A;le(this,tr,jy({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(C,S)=>{pt(this,Cn,hs).call(this,{type:"failed",failureCount:C,error:S})},onPause:()=>{pt(this,Cn,hs).call(this,{type:"pause"})},onContinue:()=>{pt(this,Cn,hs).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>V(this,Nt).canRun(this)}));const n=this.state.status==="pending",s=!V(this,tr).canStart();try{if(!n){pt(this,Cn,hs).call(this,{type:"pending",variables:t,isPaused:s}),await((i=(r=V(this,Nt).config).onMutate)==null?void 0:i.call(r,t,this));const S=await((l=(o=this.options).onMutate)==null?void 0:l.call(o,t));S!==this.state.context&&pt(this,Cn,hs).call(this,{type:"pending",context:S,variables:t,isPaused:s})}const C=await V(this,tr).start();return await((c=(a=V(this,Nt).config).onSuccess)==null?void 0:c.call(a,C,t,this.state.context,this)),await((u=(f=this.options).onSuccess)==null?void 0:u.call(f,C,t,this.state.context)),await((p=(h=V(this,Nt).config).onSettled)==null?void 0:p.call(h,C,null,this.state.variables,this.state.context,this)),await((d=(m=this.options).onSettled)==null?void 0:d.call(m,C,null,t,this.state.context)),pt(this,Cn,hs).call(this,{type:"success",data:C}),C}catch(C){try{throw await((g=(E=V(this,Nt).config).onError)==null?void 0:g.call(E,C,t,this.state.context,this)),await((_=(v=this.options).onError)==null?void 0:_.call(v,C,t,this.state.context)),await((b=(y=V(this,Nt).config).onSettled)==null?void 0:b.call(y,void 0,C,this.state.variables,this.state.context,this)),await((A=(N=this.options).onSettled)==null?void 0:A.call(N,void 0,C,t,this.state.context)),C}finally{pt(this,Cn,hs).call(this,{type:"error",error:C})}}finally{V(this,Nt).runNext(this)}}},wn=new WeakMap,Nt=new WeakMap,tr=new WeakMap,Cn=new WeakSet,hs=function(t){const n=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Rt.batch(()=>{V(this,wn).forEach(s=>{s.onMutationUpdate(t)}),V(this,Nt).notify({mutation:this,type:"updated",action:t})})},qp);function IN(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Un,ln,go,Gp,Xy=(Gp=class extends xa{constructor(n={}){super();Ee(this,Un);Ee(this,ln);Ee(this,go);this.config=n,le(this,Un,new Set),le(this,ln,new Map),le(this,go,0)}build(n,s,r){const i=new PN({mutationCache:this,mutationId:++Mo(this,go)._,options:n.defaultMutationOptions(s),state:r});return this.add(i),i}add(n){V(this,Un).add(n);const s=Yo(n);if(typeof s=="string"){const r=V(this,ln).get(s);r?r.push(n):V(this,ln).set(s,[n])}this.notify({type:"added",mutation:n})}remove(n){if(V(this,Un).delete(n)){const s=Yo(n);if(typeof s=="string"){const r=V(this,ln).get(s);if(r)if(r.length>1){const i=r.indexOf(n);i!==-1&&r.splice(i,1)}else r[0]===n&&V(this,ln).delete(s)}}this.notify({type:"removed",mutation:n})}canRun(n){const s=Yo(n);if(typeof s=="string"){const r=V(this,ln).get(s),i=r==null?void 0:r.find(o=>o.state.status==="pending");return!i||i===n}else return!0}runNext(n){var r;const s=Yo(n);if(typeof s=="string"){const i=(r=V(this,ln).get(s))==null?void 0:r.find(o=>o!==n&&o.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Rt.batch(()=>{V(this,Un).forEach(n=>{this.notify({type:"removed",mutation:n})}),V(this,Un).clear(),V(this,ln).clear()})}getAll(){return Array.from(V(this,Un))}find(n){const s={exact:!0,...n};return this.getAll().find(r=>Bh(s,r))}findAll(n={}){return this.getAll().filter(s=>Bh(n,s))}notify(n){Rt.batch(()=>{this.listeners.forEach(s=>{s(n)})})}resumePausedMutations(){const n=this.getAll().filter(s=>s.state.isPaused);return Rt.batch(()=>Promise.all(n.map(s=>s.continue().catch(rn))))}},Un=new WeakMap,ln=new WeakMap,go=new WeakMap,Gp);function Yo(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Kh(e){return{onFetch:(t,n)=>{var f,u,h,p,m;const s=t.options,r=(h=(u=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:u.fetchMore)==null?void 0:h.direction,i=((p=t.state.data)==null?void 0:p.pages)||[],o=((m=t.state.data)==null?void 0:m.pageParams)||[];let l={pages:[],pageParams:[]},a=0;const c=async()=>{let d=!1;const E=_=>{Object.defineProperty(_,"signal",{enumerable:!0,get:()=>(t.signal.aborted?d=!0:t.signal.addEventListener("abort",()=>{d=!0}),t.signal)})},g=Hy(t.options,t.fetchOptions),v=async(_,y,b)=>{if(d)return Promise.reject();if(y==null&&_.pages.length)return Promise.resolve(_);const N={client:t.client,queryKey:t.queryKey,pageParam:y,direction:b?"backward":"forward",meta:t.options.meta};E(N);const A=await g(N),{maxPages:C}=t.options,S=b?vN:yN;return{pages:S(_.pages,A,C),pageParams:S(_.pageParams,y,C)}};if(r&&i.length){const _=r==="backward",y=_?RN:Xh,b={pages:i,pageParams:o},N=y(s,b);l=await v(b,N,_)}else{const _=e??i.length;do{const y=a===0?o[0]??s.initialPageParam:Xh(s,l);if(a>0&&y==null)break;l=await v(l,y),a++}while(a<_)}return l};t.options.persister?t.fetchFn=()=>{var d,E;return(E=(d=t.options).persister)==null?void 0:E.call(d,c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function Xh(e,{pages:t,pageParams:n}){const s=t.length-1;return t.length>0?e.getNextPageParam(t[s],t,n[s],n):void 0}function RN(e,{pages:t,pageParams:n}){var s;return t.length>0?(s=e.getPreviousPageParam)==null?void 0:s.call(e,t[0],t,n[0],n):void 0}var je,ws,Cs,Wr,Kr,Os,Xr,qr,zp,LN=(zp=class{constructor(t={}){Ee(this,je);Ee(this,ws);Ee(this,Cs);Ee(this,Wr);Ee(this,Kr);Ee(this,Os);Ee(this,Xr);Ee(this,qr);le(this,je,t.queryCache||new Ky),le(this,ws,t.mutationCache||new Xy),le(this,Cs,t.defaultOptions||{}),le(this,Wr,new Map),le(this,Kr,new Map),le(this,Os,0)}mount(){Mo(this,Os)._++,V(this,Os)===1&&(le(this,Xr,Vy.subscribe(async t=>{t&&(await this.resumePausedMutations(),V(this,je).onFocus())})),le(this,qr,Hl.subscribe(async t=>{t&&(await this.resumePausedMutations(),V(this,je).onOnline())})))}unmount(){var t,n;Mo(this,Os)._--,V(this,Os)===0&&((t=V(this,Xr))==null||t.call(this),le(this,Xr,void 0),(n=V(this,qr))==null||n.call(this),le(this,qr,void 0))}isFetching(t){return V(this,je).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return V(this,ws).findAll({...t,status:"pending"}).length}getQueryData(t){var s;const n=this.defaultQueryOptions({queryKey:t});return(s=V(this,je).get(n.queryHash))==null?void 0:s.state.data}ensureQueryData(t){const n=this.defaultQueryOptions(t),s=V(this,je).build(this,n),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(Vh(n.staleTime,s))&&this.prefetchQuery(n),Promise.resolve(r))}getQueriesData(t){return V(this,je).findAll(t).map(({queryKey:n,state:s})=>{const r=s.data;return[n,r]})}setQueryData(t,n,s){const r=this.defaultQueryOptions({queryKey:t}),i=V(this,je).get(r.queryHash),o=i==null?void 0:i.state.data,l=dN(n,o);if(l!==void 0)return V(this,je).build(this,r).setData(l,{...s,manual:!0})}setQueriesData(t,n,s){return Rt.batch(()=>V(this,je).findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,n,s)]))}getQueryState(t){var s;const n=this.defaultQueryOptions({queryKey:t});return(s=V(this,je).get(n.queryHash))==null?void 0:s.state}removeQueries(t){const n=V(this,je);Rt.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=V(this,je);return Rt.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const s={revert:!0,...n},r=Rt.batch(()=>V(this,je).findAll(t).map(i=>i.cancel(s)));return Promise.all(r).then(rn).catch(rn)}invalidateQueries(t,n={}){return Rt.batch(()=>(V(this,je).findAll(t).forEach(s=>{s.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},n)))}refetchQueries(t,n={}){const s={...n,cancelRefetch:n.cancelRefetch??!0},r=Rt.batch(()=>V(this,je).findAll(t).filter(i=>!i.isDisabled()).map(i=>{let o=i.fetch(void 0,s);return s.throwOnError||(o=o.catch(rn)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(rn)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const s=V(this,je).build(this,n);return s.isStaleByTime(Vh(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(rn).catch(rn)}fetchInfiniteQuery(t){return t.behavior=Kh(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(rn).catch(rn)}ensureInfiniteQueryData(t){return t.behavior=Kh(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Hl.isOnline()?V(this,ws).resumePausedMutations():Promise.resolve()}getQueryCache(){return V(this,je)}getMutationCache(){return V(this,ws)}getDefaultOptions(){return V(this,Cs)}setDefaultOptions(t){le(this,Cs,t)}setQueryDefaults(t,n){V(this,Wr).set(io(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...V(this,Wr).values()],s={};return n.forEach(r=>{oo(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,n){V(this,Kr).set(io(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...V(this,Kr).values()],s={};return n.forEach(r=>{oo(t,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const n={...V(this,Cs).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=$f(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===Hf&&(n.enabled=!1),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...V(this,Cs).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){V(this,je).clear(),V(this,ws).clear()}},je=new WeakMap,ws=new WeakMap,Cs=new WeakMap,Wr=new WeakMap,Kr=new WeakMap,Os=new WeakMap,Xr=new WeakMap,qr=new WeakMap,zp),MN="VUE_QUERY_CLIENT";function kN(e){const t=e?`:${e}`:"";return`${MN}${t}`}function gI(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function lu(e,t,n="",s=0){if(t){const r=t(e,n,s);if(r===void 0&&Se(e)||r!==void 0)return r}if(Array.isArray(e))return e.map((r,i)=>lu(r,t,String(i),s+1));if(typeof e=="object"&&DN(e)){const r=Object.entries(e).map(([i,o])=>[i,lu(o,t,i,s+1)]);return Object.fromEntries(r)}return e}function xN(e,t){return lu(e,t)}function ce(e,t=!1){return xN(e,(n,s,r)=>{if(r===1&&s==="queryKey")return ce(n,!0);if(t&&FN(n))return ce(n(),t);if(Se(n))return ce(dn(n),t)})}function DN(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function FN(e){return typeof e=="function"}function _I(e,t){return typeof e=="function"?e(...t):!!e}var $N=class extends Ky{find(e){return super.find(ce(e))}findAll(e={}){return super.findAll(ce(e))}},HN=class extends Xy{find(e){return super.find(ce(e))}findAll(e={}){return super.findAll(ce(e))}},VN=class extends LN{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new $N,mutationCache:e.mutationCache||new HN};super(t),this.isRestoring=it(!1)}isFetching(e={}){return super.isFetching(ce(e))}isMutating(e={}){return super.isMutating(ce(e))}getQueryData(e){return super.getQueryData(ce(e))}ensureQueryData(e){return super.ensureQueryData(ce(e))}getQueriesData(e){return super.getQueriesData(ce(e))}setQueryData(e,t,n={}){return super.setQueryData(ce(e),t,ce(n))}setQueriesData(e,t,n={}){return super.setQueriesData(ce(e),t,ce(n))}getQueryState(e){return super.getQueryState(ce(e))}removeQueries(e={}){return super.removeQueries(ce(e))}resetQueries(e={},t={}){return super.resetQueries(ce(e),ce(t))}cancelQueries(e={},t={}){return super.cancelQueries(ce(e),ce(t))}invalidateQueries(e={},t={}){const n=ce(e),s=ce(t);if(super.invalidateQueries({...n,refetchType:"none"},s),n.refetchType==="none")return Promise.resolve();const r={...n,type:n.refetchType??n.type??"active"};return Ht().then(()=>super.refetchQueries(r,s))}refetchQueries(e={},t={}){return super.refetchQueries(ce(e),ce(t))}fetchQuery(e){return super.fetchQuery(ce(e))}prefetchQuery(e){return super.prefetchQuery(ce(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(ce(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(ce(e))}setDefaultOptions(e){super.setDefaultOptions(ce(e))}setQueryDefaults(e,t){super.setQueryDefaults(ce(e),ce(t))}getQueryDefaults(e){return super.getQueryDefaults(ce(e))}setMutationDefaults(e,t){super.setMutationDefaults(ce(e),ce(t))}getMutationDefaults(e){return super.getMutationDefaults(ce(e))}},UN={install:(e,t={})=>{const n=kN(t.queryClientKey);let s;if("queryClient"in t&&t.queryClient)s=t.queryClient;else{const o="queryClientConfig"in t?t.queryClientConfig:void 0;s=new VN(o)}Ro||s.mount();let r=()=>{};if(t.clientPersister){s.isRestoring.value=!0;const[o,l]=t.clientPersister(s);r=o,l.then(()=>{var a;s.isRestoring.value=!1,(a=t.clientPersisterOnSuccess)==null||a.call(t,s)})}const i=()=>{s.unmount(),r()};if(e.onUnmount)e.onUnmount(i);else{const o=e.unmount;e.unmount=function(){i(),o()}}e.provide(n,s)}};const BN=["top","right","bottom","left"],qh=["start","end"],Gh=BN.reduce((e,t)=>e.concat(t,t+"-"+qh[0],t+"-"+qh[1]),[]),lo=Math.min,zs=Math.max,jN={left:"right",right:"left",bottom:"top",top:"bottom"},WN={start:"end",end:"start"};function au(e,t,n){return zs(e,lo(t,n))}function Sr(e,t){return typeof e=="function"?e(t):e}function Mn(e){return e.split("-")[0]}function hn(e){return e.split("-")[1]}function qy(e){return e==="x"?"y":"x"}function Vf(e){return e==="y"?"height":"width"}function vr(e){return["top","bottom"].includes(Mn(e))?"y":"x"}function Uf(e){return qy(vr(e))}function Gy(e,t,n){n===void 0&&(n=!1);const s=hn(e),r=Uf(e),i=Vf(r);let o=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=Ul(o)),[o,Ul(o)]}function KN(e){const t=Ul(e);return[Vl(e),t,Vl(t)]}function Vl(e){return e.replace(/start|end/g,t=>WN[t])}function XN(e,t,n){const s=["left","right"],r=["right","left"],i=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:s:t?s:r;case"left":case"right":return t?i:o;default:return[]}}function qN(e,t,n,s){const r=hn(e);let i=XN(Mn(e),n==="start",s);return r&&(i=i.map(o=>o+"-"+r),t&&(i=i.concat(i.map(Vl)))),i}function Ul(e){return e.replace(/left|right|bottom|top/g,t=>jN[t])}function GN(e){return{top:0,right:0,bottom:0,left:0,...e}}function zy(e){return typeof e!="number"?GN(e):{top:e,right:e,bottom:e,left:e}}function Ii(e){const{x:t,y:n,width:s,height:r}=e;return{width:s,height:r,top:n,left:t,right:t+s,bottom:n+r,x:t,y:n}}function zh(e,t,n){let{reference:s,floating:r}=e;const i=vr(t),o=Uf(t),l=Vf(o),a=Mn(t),c=i==="y",f=s.x+s.width/2-r.width/2,u=s.y+s.height/2-r.height/2,h=s[l]/2-r[l]/2;let p;switch(a){case"top":p={x:f,y:s.y-r.height};break;case"bottom":p={x:f,y:s.y+s.height};break;case"right":p={x:s.x+s.width,y:u};break;case"left":p={x:s.x-r.width,y:u};break;default:p={x:s.x,y:s.y}}switch(hn(t)){case"start":p[o]-=h*(n&&c?-1:1);break;case"end":p[o]+=h*(n&&c?-1:1);break}return p}const zN=async(e,t,n)=>{const{placement:s="bottom",strategy:r="absolute",middleware:i=[],platform:o}=n,l=i.filter(Boolean),a=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:r}),{x:f,y:u}=zh(c,s,a),h=s,p={},m=0;for(let d=0;d<l.length;d++){const{name:E,fn:g}=l[d],{x:v,y:_,data:y,reset:b}=await g({x:f,y:u,initialPlacement:s,placement:h,strategy:r,middlewareData:p,rects:c,platform:o,elements:{reference:e,floating:t}});f=v??f,u=_??u,p={...p,[E]:{...p[E],...y}},b&&m<=50&&(m++,typeof b=="object"&&(b.placement&&(h=b.placement),b.rects&&(c=b.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:r}):b.rects),{x:f,y:u}=zh(c,h,a)),d=-1)}return{x:f,y:u,placement:h,strategy:r,middlewareData:p}};async function Da(e,t){var n;t===void 0&&(t={});const{x:s,y:r,platform:i,rects:o,elements:l,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:p=0}=Sr(t,e),m=zy(p),E=l[h?u==="floating"?"reference":"floating":u],g=Ii(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(E)))==null||n?E:E.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:a})),v=u==="floating"?{x:s,y:r,width:o.floating.width,height:o.floating.height}:o.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),y=await(i.isElement==null?void 0:i.isElement(_))?await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1}:{x:1,y:1},b=Ii(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:_,strategy:a}):v);return{top:(g.top-b.top+m.top)/y.y,bottom:(b.bottom-g.bottom+m.bottom)/y.y,left:(g.left-b.left+m.left)/y.x,right:(b.right-g.right+m.right)/y.x}}const YN=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:r,rects:i,platform:o,elements:l,middlewareData:a}=t,{element:c,padding:f=0}=Sr(e,t)||{};if(c==null)return{};const u=zy(f),h={x:n,y:s},p=Uf(r),m=Vf(p),d=await o.getDimensions(c),E=p==="y",g=E?"top":"left",v=E?"bottom":"right",_=E?"clientHeight":"clientWidth",y=i.reference[m]+i.reference[p]-h[p]-i.floating[m],b=h[p]-i.reference[p],N=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let A=N?N[_]:0;(!A||!await(o.isElement==null?void 0:o.isElement(N)))&&(A=l.floating[_]||i.floating[m]);const C=y/2-b/2,S=A/2-d[m]/2-1,P=lo(u[g],S),M=lo(u[v],S),R=P,x=A-d[m]-M,X=A/2-d[m]/2+C,Y=au(R,X,x),j=!a.arrow&&hn(r)!=null&&X!==Y&&i.reference[m]/2-(X<R?P:M)-d[m]/2<0,K=j?X<R?X-R:X-x:0;return{[p]:h[p]+K,data:{[p]:Y,centerOffset:X-Y-K,...j&&{alignmentOffset:K}},reset:j}}});function QN(e,t,n){return(e?[...n.filter(r=>hn(r)===e),...n.filter(r=>hn(r)!==e)]:n.filter(r=>Mn(r)===r)).filter(r=>e?hn(r)===e||(t?Vl(r)!==r:!1):!0)}const JN=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,s,r;const{rects:i,middlewareData:o,placement:l,platform:a,elements:c}=t,{crossAxis:f=!1,alignment:u,allowedPlacements:h=Gh,autoAlignment:p=!0,...m}=Sr(e,t),d=u!==void 0||h===Gh?QN(u||null,p,h):h,E=await Da(t,m),g=((n=o.autoPlacement)==null?void 0:n.index)||0,v=d[g];if(v==null)return{};const _=Gy(v,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==v)return{reset:{placement:d[0]}};const y=[E[Mn(v)],E[_[0]],E[_[1]]],b=[...((s=o.autoPlacement)==null?void 0:s.overflows)||[],{placement:v,overflows:y}],N=d[g+1];if(N)return{data:{index:g+1,overflows:b},reset:{placement:N}};const A=b.map(P=>{const M=hn(P.placement);return[P.placement,M&&f?P.overflows.slice(0,2).reduce((R,x)=>R+x,0):P.overflows[0],P.overflows]}).sort((P,M)=>P[1]-M[1]),S=((r=A.filter(P=>P[2].slice(0,hn(P[0])?2:3).every(M=>M<=0))[0])==null?void 0:r[0])||A[0][0];return S!==l?{data:{index:g+1,overflows:b},reset:{placement:S}}:{}}}},ZN=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,s;const{placement:r,middlewareData:i,rects:o,initialPlacement:l,platform:a,elements:c}=t,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:d=!0,...E}=Sr(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=Mn(r),v=vr(l),_=Mn(l)===l,y=await(a.isRTL==null?void 0:a.isRTL(c.floating)),b=h||(_||!d?[Ul(l)]:KN(l)),N=m!=="none";!h&&N&&b.push(...qN(l,d,m,y));const A=[l,...b],C=await Da(t,E),S=[];let P=((s=i.flip)==null?void 0:s.overflows)||[];if(f&&S.push(C[g]),u){const X=Gy(r,o,y);S.push(C[X[0]],C[X[1]])}if(P=[...P,{placement:r,overflows:S}],!S.every(X=>X<=0)){var M,R;const X=(((M=i.flip)==null?void 0:M.index)||0)+1,Y=A[X];if(Y)return{data:{index:X,overflows:P},reset:{placement:Y}};let j=(R=P.filter(K=>K.overflows[0]<=0).sort((K,G)=>K.overflows[1]-G.overflows[1])[0])==null?void 0:R.placement;if(!j)switch(p){case"bestFit":{var x;const K=(x=P.filter(G=>{if(N){const re=vr(G.placement);return re===v||re==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(re=>re>0).reduce((re,Ae)=>re+Ae,0)]).sort((G,re)=>G[1]-re[1])[0])==null?void 0:x[0];K&&(j=K);break}case"initialPlacement":j=l;break}if(r!==j)return{reset:{placement:j}}}return{}}}};async function eA(e,t){const{placement:n,platform:s,elements:r}=e,i=await(s.isRTL==null?void 0:s.isRTL(r.floating)),o=Mn(n),l=hn(n),a=vr(n)==="y",c=["left","top"].includes(o)?-1:1,f=i&&a?-1:1,u=Sr(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:m}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof m=="number"&&(p=l==="end"?m*-1:m),a?{x:p*f,y:h*c}:{x:h*c,y:p*f}}const tA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,s;const{x:r,y:i,placement:o,middlewareData:l}=t,a=await eA(t,e);return o===((n=l.offset)==null?void 0:n.placement)&&(s=l.arrow)!=null&&s.alignmentOffset?{}:{x:r+a.x,y:i+a.y,data:{...a,placement:o}}}}},nA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:r}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:l={fn:E=>{let{x:g,y:v}=E;return{x:g,y:v}}},...a}=Sr(e,t),c={x:n,y:s},f=await Da(t,a),u=vr(Mn(r)),h=qy(u);let p=c[h],m=c[u];if(i){const E=h==="y"?"top":"left",g=h==="y"?"bottom":"right",v=p+f[E],_=p-f[g];p=au(v,p,_)}if(o){const E=u==="y"?"top":"left",g=u==="y"?"bottom":"right",v=m+f[E],_=m-f[g];m=au(v,m,_)}const d=l.fn({...t,[h]:p,[u]:m});return{...d,data:{x:d.x-n,y:d.y-s,enabled:{[h]:i,[u]:o}}}}}},sA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,s;const{placement:r,rects:i,platform:o,elements:l}=t,{apply:a=()=>{},...c}=Sr(e,t),f=await Da(t,c),u=Mn(r),h=hn(r),p=vr(r)==="y",{width:m,height:d}=i.floating;let E,g;u==="top"||u==="bottom"?(E=u,g=h===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(g=u,E=h==="end"?"top":"bottom");const v=d-f.top-f.bottom,_=m-f.left-f.right,y=lo(d-f[E],v),b=lo(m-f[g],_),N=!t.middlewareData.shift;let A=y,C=b;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(C=_),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(A=v),N&&!h){const P=zs(f.left,0),M=zs(f.right,0),R=zs(f.top,0),x=zs(f.bottom,0);p?C=m-2*(P!==0||M!==0?P+M:zs(f.left,f.right)):A=d-2*(R!==0||x!==0?R+x:zs(f.top,f.bottom))}await a({...t,availableWidth:C,availableHeight:A});const S=await o.getDimensions(l.floating);return m!==S.width||d!==S.height?{reset:{rects:!0}}:{}}}};function Jt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Pn(e){return Jt(e).getComputedStyle(e)}const Yh=Math.min,Ri=Math.max,Bl=Math.round;function Yy(e){const t=Pn(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,i=e.offsetHeight,o=Bl(n)!==r||Bl(s)!==i;return o&&(n=r,s=i),{width:n,height:s,fallback:o}}function Ds(e){return Jy(e)?(e.nodeName||"").toLowerCase():""}let Qo;function Qy(){if(Qo)return Qo;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Qo=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Qo):navigator.userAgent}function In(e){return e instanceof Jt(e).HTMLElement}function Is(e){return e instanceof Jt(e).Element}function Jy(e){return e instanceof Jt(e).Node}function Qh(e){return typeof ShadowRoot>"u"?!1:e instanceof Jt(e).ShadowRoot||e instanceof ShadowRoot}function Fa(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=Pn(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function rA(e){return["table","td","th"].includes(Ds(e))}function cu(e){const t=/firefox/i.test(Qy()),n=Pn(e),s=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!s&&s!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(r=>n.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const i=n.contain;return i!=null&&i.includes(r)})}function Zy(){return!/^((?!chrome|android).)*safari/i.test(Qy())}function Bf(e){return["html","body","#document"].includes(Ds(e))}function ev(e){return Is(e)?e:e.contextElement}const tv={x:1,y:1};function Fr(e){const t=ev(e);if(!In(t))return tv;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:i}=Yy(t);let o=(i?Bl(n.width):n.width)/s,l=(i?Bl(n.height):n.height)/r;return o&&Number.isFinite(o)||(o=1),l&&Number.isFinite(l)||(l=1),{x:o,y:l}}function ao(e,t,n,s){var r,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),l=ev(e);let a=tv;t&&(s?Is(s)&&(a=Fr(s)):a=Fr(e));const c=l?Jt(l):window,f=!Zy()&&n;let u=(o.left+(f&&((r=c.visualViewport)==null?void 0:r.offsetLeft)||0))/a.x,h=(o.top+(f&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/a.y,p=o.width/a.x,m=o.height/a.y;if(l){const d=Jt(l),E=s&&Is(s)?Jt(s):s;let g=d.frameElement;for(;g&&s&&E!==d;){const v=Fr(g),_=g.getBoundingClientRect(),y=getComputedStyle(g);_.x+=(g.clientLeft+parseFloat(y.paddingLeft))*v.x,_.y+=(g.clientTop+parseFloat(y.paddingTop))*v.y,u*=v.x,h*=v.y,p*=v.x,m*=v.y,u+=_.x,h+=_.y,g=Jt(g).frameElement}}return{width:p,height:m,top:h,right:u+p,bottom:h+m,left:u,x:u,y:h}}function Rs(e){return((Jy(e)?e.ownerDocument:e.document)||window.document).documentElement}function $a(e){return Is(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function nv(e){return ao(Rs(e)).left+$a(e).scrollLeft}function co(e){if(Ds(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Qh(e)&&e.host||Rs(e);return Qh(t)?t.host:t}function sv(e){const t=co(e);return Bf(t)?t.ownerDocument.body:In(t)&&Fa(t)?t:sv(t)}function jl(e,t){var n;t===void 0&&(t=[]);const s=sv(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),i=Jt(s);return r?t.concat(i,i.visualViewport||[],Fa(s)?s:[]):t.concat(s,jl(s))}function Jh(e,t,n){return t==="viewport"?Ii(function(s,r){const i=Jt(s),o=Rs(s),l=i.visualViewport;let a=o.clientWidth,c=o.clientHeight,f=0,u=0;if(l){a=l.width,c=l.height;const h=Zy();(h||!h&&r==="fixed")&&(f=l.offsetLeft,u=l.offsetTop)}return{width:a,height:c,x:f,y:u}}(e,n)):Is(t)?Ii(function(s,r){const i=ao(s,!0,r==="fixed"),o=i.top+s.clientTop,l=i.left+s.clientLeft,a=In(s)?Fr(s):{x:1,y:1};return{width:s.clientWidth*a.x,height:s.clientHeight*a.y,x:l*a.x,y:o*a.y}}(t,n)):Ii(function(s){const r=Rs(s),i=$a(s),o=s.ownerDocument.body,l=Ri(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),a=Ri(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let c=-i.scrollLeft+nv(s);const f=-i.scrollTop;return Pn(o).direction==="rtl"&&(c+=Ri(r.clientWidth,o.clientWidth)-l),{width:l,height:a,x:c,y:f}}(Rs(e)))}function Zh(e){return In(e)&&Pn(e).position!=="fixed"?e.offsetParent:null}function ep(e){const t=Jt(e);let n=Zh(e);for(;n&&rA(n)&&Pn(n).position==="static";)n=Zh(n);return n&&(Ds(n)==="html"||Ds(n)==="body"&&Pn(n).position==="static"&&!cu(n))?t:n||function(s){let r=co(s);for(;In(r)&&!Bf(r);){if(cu(r))return r;r=co(r)}return null}(e)||t}function iA(e,t,n){const s=In(t),r=Rs(t),i=ao(e,!0,n==="fixed",t);let o={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(s||!s&&n!=="fixed")if((Ds(t)!=="body"||Fa(r))&&(o=$a(t)),In(t)){const a=ao(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else r&&(l.x=nv(r));return{x:i.left+o.scrollLeft-l.x,y:i.top+o.scrollTop-l.y,width:i.width,height:i.height}}const oA={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:s,strategy:r}=e;const i=n==="clippingAncestors"?function(c,f){const u=f.get(c);if(u)return u;let h=jl(c).filter(E=>Is(E)&&Ds(E)!=="body"),p=null;const m=Pn(c).position==="fixed";let d=m?co(c):c;for(;Is(d)&&!Bf(d);){const E=Pn(d),g=cu(d);(m?g||p:g||E.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=E:h=h.filter(v=>v!==d),d=co(d)}return f.set(c,h),h}(t,this._c):[].concat(n),o=[...i,s],l=o[0],a=o.reduce((c,f)=>{const u=Jh(t,f,r);return c.top=Ri(u.top,c.top),c.right=Yh(u.right,c.right),c.bottom=Yh(u.bottom,c.bottom),c.left=Ri(u.left,c.left),c},Jh(t,l,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:s}=e;const r=In(n),i=Rs(n);if(n===i)return t;let o={scrollLeft:0,scrollTop:0},l={x:1,y:1};const a={x:0,y:0};if((r||!r&&s!=="fixed")&&((Ds(n)!=="body"||Fa(i))&&(o=$a(n)),In(n))){const c=ao(n);l=Fr(n),a.x=c.x+n.clientLeft,a.y=c.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-o.scrollLeft*l.x+a.x,y:t.y*l.y-o.scrollTop*l.y+a.y}},isElement:Is,getDimensions:function(e){return In(e)?Yy(e):e.getBoundingClientRect()},getOffsetParent:ep,getDocumentElement:Rs,getScale:Fr,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||ep,i=this.getDimensions;return{reference:iA(t,await r(n),s),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Pn(e).direction==="rtl"},lA=(e,t,n)=>{const s=new Map,r={platform:oA,...n},i={...r.platform,_c:s};return zN(e,t,{...r,platform:i})};function rv(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?rv(e[n],t[n]):e[n]=t[n])}const pn={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function uo(e,t){let n=pn.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=pn.themes[n.$extend]||{}:(n=null,s=pn[t]):n=null;while(n);return s}function aA(e){const t=[e];let n=pn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=pn.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function tp(e){const t=[e];let n=pn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=pn.themes[n.$extend]||{}):n=null;while(n);return t}let oi=!1;if(typeof window<"u"){oi=!1;try{const e=Object.defineProperty({},"passive",{get(){oi=!0}});window.addEventListener("test",null,e)}catch{}}let iv=!1;typeof window<"u"&&typeof navigator<"u"&&(iv=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const ov=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),np={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},sp={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function rp(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function hc(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const cn=[];let qs=null;const ip={};function op(e){let t=ip[e];return t||(t=ip[e]=[]),t}let uu=function(){};typeof window<"u"&&(uu=window.Element);function _e(e){return function(t){return uo(t.theme,e)}}const pc="__floating-vue__popper",lv=()=>Ut({name:"VPopper",provide(){return{[pc]:{parentPopper:this}}},inject:{[pc]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:_e("disabled")},positioningDisabled:{type:Boolean,default:_e("positioningDisabled")},placement:{type:String,default:_e("placement"),validator:e=>ov.includes(e)},delay:{type:[String,Number,Object],default:_e("delay")},distance:{type:[Number,String],default:_e("distance")},skidding:{type:[Number,String],default:_e("skidding")},triggers:{type:Array,default:_e("triggers")},showTriggers:{type:[Array,Function],default:_e("showTriggers")},hideTriggers:{type:[Array,Function],default:_e("hideTriggers")},popperTriggers:{type:Array,default:_e("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:_e("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:_e("popperHideTriggers")},container:{type:[String,Object,uu,Boolean],default:_e("container")},boundary:{type:[String,uu],default:_e("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:_e("strategy")},autoHide:{type:[Boolean,Function],default:_e("autoHide")},handleResize:{type:Boolean,default:_e("handleResize")},instantMove:{type:Boolean,default:_e("instantMove")},eagerMount:{type:Boolean,default:_e("eagerMount")},popperClass:{type:[String,Array,Object],default:_e("popperClass")},computeTransformOrigin:{type:Boolean,default:_e("computeTransformOrigin")},autoMinSize:{type:Boolean,default:_e("autoMinSize")},autoSize:{type:[Boolean,String],default:_e("autoSize")},autoMaxSize:{type:Boolean,default:_e("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:_e("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:_e("preventOverflow")},overflowPadding:{type:[Number,String],default:_e("overflowPadding")},arrowPadding:{type:[Number,String],default:_e("arrowPadding")},arrowOverflow:{type:Boolean,default:_e("arrowOverflow")},flip:{type:Boolean,default:_e("flip")},shift:{type:Boolean,default:_e("shift")},shiftCrossAxis:{type:Boolean,default:_e("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:_e("noAutoFocus")},disposeTimeout:{type:Number,default:_e("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[pc])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var s,r;(s=this.parentPopper)!=null&&s.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(tA({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(JN({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(nA({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(ZN({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(YN({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:s,rects:r,middlewareData:i})=>{let o;const{centerOffset:l}=i.arrow;return s.startsWith("top")||s.startsWith("bottom")?o=Math.abs(l)>r.reference.width/2:o=Math.abs(l)>r.reference.height/2,{data:{overflow:o}}}}),this.autoMinSize||this.autoSize){const s=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:r,placement:i,middlewareData:o})=>{var l;if((l=o.autoSize)!=null&&l.skip)return{};let a,c;return i.startsWith("top")||i.startsWith("bottom")?a=r.reference.width:c=r.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=a!=null?`${a}px`:null,this.$_innerNode.style[s==="min"?"minHeight":s==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(sA({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:s,availableHeight:r})=>{this.$_innerNode.style.maxWidth=s!=null?`${s}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const n=await lA(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),qs&&this.instantMove&&qs.instantMove&&qs!==this.parentPopper){qs.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(qs=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await hc(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...jl(this.$_referenceNode),...jl(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),s=n.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(s.left+n.offsetLeft),i=t.y+t.height/2-(s.top+n.offsetTop);this.result.transformOrigin=`${r}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<cn.length;n++)t=cn[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}cn.push(this),document.body.classList.add("v-popper--some-open");for(const t of tp(this.theme))op(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await hc(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,rp(cn,this),cn.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of tp(this.theme)){const s=op(n);rp(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}qs===this&&(qs=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await hc(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,np,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],np,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,sp,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],sp,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(s=>s.addEventListener(t,n,oi?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,s,r){let i=n;s!=null&&(i=typeof s=="function"?s(i):s),i.forEach(o=>{const l=t[o];l&&this.$_registerEventListeners(e,l,r)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:s,eventType:r,handler:i}=n;!e||e===r?s.forEach(o=>o.removeEventListener(r,i)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const s=n.getAttribute(e);s&&(n.removeAttribute(e),n.setAttribute(t,s))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const s=e[n];s==null?t.removeAttribute(n):t.setAttribute(n,s)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Li>=e.left&&Li<=e.right&&Mi>=e.top&&Mi<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Li-ps,s=Mi-ms,r=t.left+t.width/2-ps+(t.top+t.height/2)-ms+t.width+t.height,i=ps+n*r,o=ms+s*r;return Jo(ps,ms,i,o,t.left,t.top,t.left,t.bottom)||Jo(ps,ms,i,o,t.left,t.top,t.right,t.top)||Jo(ps,ms,i,o,t.right,t.top,t.right,t.bottom)||Jo(ps,ms,i,o,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(iv){const e=oi?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>lp(t,!0),e),document.addEventListener("touchend",t=>ap(t,!0),e)}else window.addEventListener("mousedown",e=>lp(e,!1),!0),window.addEventListener("click",e=>ap(e,!1),!0);window.addEventListener("resize",uA)}function lp(e,t){if(pn.autoHideOnMousedown)av(e,t);else for(let n=0;n<cn.length;n++){const s=cn[n];try{s.mouseDownContains=s.popperNode().contains(e.target)}catch{}}}function ap(e,t){pn.autoHideOnMousedown||av(e,t)}function av(e,t){const n={};for(let s=cn.length-1;s>=0;s--){const r=cn[s];try{const i=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!n[r.randomId]&&cp(r,i,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let l=r.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let o=r.parentPopper;for(;o&&cp(o,o.containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function cp(e,t,n){return n.closeAllPopover||n.closePopover&&t||cA(e,n)&&!t}function cA(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function uA(){for(let e=0;e<cn.length;e++)cn[e].$_computePosition()}let ps=0,ms=0,Li=0,Mi=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{ps=Li,ms=Mi,Li=e.clientX,Mi=e.clientY},oi?{passive:!0}:void 0);function Jo(e,t,n,s,r,i,o,l){const a=((o-r)*(t-i)-(l-i)*(e-r))/((l-i)*(n-e)-(o-r)*(s-t)),c=((n-e)*(t-i)-(s-t)*(e-r))/((l-i)*(n-e)-(o-r)*(s-t));return a>=0&&a<=1&&c>=0&&c<=1}const fA={extends:lv()},Ha=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function dA(e,t,n,s,r,i){return Mt(),Yr("div",{ref:"reference",class:rs(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Gi(e.$slots,"default",Pu(ef(e.slotData)))],2)}const hA=Ha(fA,[["render",dA]]);function pA(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var s=e.indexOf("rv:");return parseInt(e.substring(s+3,e.indexOf(".",s)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let pl;function fu(){fu.init||(fu.init=!0,pl=pA()!==-1)}var Va={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){fu(),Ht(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",pl&&this.$el.appendChild(e),e.data="about:blank",pl||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!pl&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const mA=ng();eg("data-v-b329ee4c");const gA={class:"resize-observer",tabindex:"-1"};tg();const _A=mA((e,t,n,s,r,i)=>(Mt(),ts("div",gA)));Va.render=_A;Va.__scopeId="data-v-b329ee4c";Va.__file="src/components/ResizeObserver.vue";const cv=(e="theme")=>({computed:{themeClass(){return aA(this[e])}}}),yA=Ut({name:"VPopperContent",components:{ResizeObserver:Va},mixins:[cv()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),vA=["id","aria-hidden","tabindex","data-popper-placement"],EA={ref:"inner",class:"v-popper__inner"},bA=On("div",{class:"v-popper__arrow-outer"},null,-1),TA=On("div",{class:"v-popper__arrow-inner"},null,-1),SA=[bA,TA];function wA(e,t,n,s,r,i){const o=dr("ResizeObserver");return Mt(),Yr("div",{id:e.popperId,ref:"popover",class:rs(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:zn(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=m_(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[On("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),On("div",{class:"v-popper__wrapper",style:zn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[On("div",EA,[e.mounted?(Mt(),Yr(Ge,{key:0},[On("div",null,[Gi(e.$slots,"default")]),e.handleResize?(Mt(),ts(o,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):Vc("",!0)],64)):Vc("",!0)],512),On("div",{ref:"arrow",class:"v-popper__arrow-container",style:zn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},SA,4)],4)],46,vA)}const uv=Ha(yA,[["render",wA]]),fv={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let du=function(){};typeof window<"u"&&(du=window.Element);const CA=Ut({name:"VPopperWrapper",components:{Popper:hA,PopperContent:uv},mixins:[fv,cv("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,du,Boolean],default:void 0},boundary:{type:[String,du],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function OA(e,t,n,s,r,i){const o=dr("PopperContent"),l=dr("Popper");return Mt(),ts(l,ma({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=a=>e.$emit("update:shown",a)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:fr(({popperId:a,isShown:c,shouldMountContent:f,skipTransition:u,autoHide:h,show:p,hide:m,handleResize:d,onResize:E,classes:g,result:v})=>[Gi(e.$slots,"default",{shown:c,show:p,hide:m}),Le(o,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:c,mounted:f,"skip-transition":u,"auto-hide":h,"handle-resize":d,classes:g,result:v,onHide:m,onResize:E},{default:fr(()=>[Gi(e.$slots,"popper",{shown:c,hide:m})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const jf=Ha(CA,[["render",OA]]),NA={...jf,name:"VDropdown",vPopperTheme:"dropdown"},AA={...jf,name:"VMenu",vPopperTheme:"menu"},PA={...jf,name:"VTooltip",vPopperTheme:"tooltip"},IA=Ut({name:"VTooltipDirective",components:{Popper:lv(),PopperContent:uv},mixins:[fv],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>uo(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>uo(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(s=>this.onResult(t,s)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),RA=["innerHTML"],LA=["textContent"];function MA(e,t,n,s,r,i){const o=dr("PopperContent"),l=dr("Popper");return Mt(),ts(l,ma({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:fr(({popperId:a,isShown:c,shouldMountContent:f,skipTransition:u,autoHide:h,hide:p,handleResize:m,onResize:d,classes:E,result:g})=>[Le(o,{ref:"popperContent",class:rs({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:c,mounted:f,"skip-transition":u,"auto-hide":h,"handle-resize":m,classes:E,result:g,onHide:p,onResize:d},{default:fr(()=>[e.html?(Mt(),Yr("div",{key:0,innerHTML:e.finalContent},null,8,RA)):(Mt(),Yr("div",{key:1,textContent:ea(e.finalContent)},null,8,LA))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const kA=Ha(IA,[["render",MA]]),dv="v-popper--has-tooltip";function xA(e,t){let n=e.placement;if(!n&&t)for(const s of ov)t[s]&&(n=s);return n||(n=uo(e.theme||"tooltip","placement")),n}function hv(e,t,n){let s;const r=typeof t;return r==="string"?s={content:t}:t&&r==="object"?s=t:s={content:!1},s.placement=xA(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let mc,fo,DA=0;function FA(){if(mc)return;fo=it([]),mc=Qi({name:"VTooltipDirectiveApp",setup(){return{directives:fo}},render(){return this.directives.map(t=>Tr(kA,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),mc.mount(e)}function $A(e,t,n){FA();const s=it(hv(e,t,n)),r=it(!1),i={id:DA++,options:s,shown:r};return fo.value.push(i),e.classList&&e.classList.add(dv),e.$_popper={options:s,item:i,show(){r.value=!0},hide(){r.value=!1}}}function pv(e){if(e.$_popper){const t=fo.value.indexOf(e.$_popper.item);t!==-1&&fo.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(dv)}function up(e,{value:t,modifiers:n}){const s=hv(e,t,n);if(!s.content||uo(s.theme||"tooltip","disabled"))pv(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=$A(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const HA={beforeMount:up,updated:up,beforeUnmount(e){pv(e)}};function fp(e){e.addEventListener("mousedown",Wl),e.addEventListener("click",Wl),e.addEventListener("touchstart",mv,oi?{passive:!0}:!1)}function dp(e){e.removeEventListener("mousedown",Wl),e.removeEventListener("click",Wl),e.removeEventListener("touchstart",mv),e.removeEventListener("touchend",gv),e.removeEventListener("touchcancel",_v)}function Wl(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function mv(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",gv),t.addEventListener("touchcancel",_v)}}function gv(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],s=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-s.screenY)<20&&Math.abs(n.screenX-s.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function _v(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const VA={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&fp(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?fp(e):dp(e))},beforeUnmount(e){dp(e)}};function UA(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,rv(pn,t),e.directive("tooltip",HA),e.directive("close-popper",VA),e.component("VTooltip",PA),e.component("VDropdown",NA),e.component("VMenu",AA))}const BA={version:"5.2.2",install:UA,options:pn},jA=e=>{const t={};Object.entries(Object.assign({"/src/layouts/board-layout.vue":()=>et(()=>import("./board-layout-K8sw8NsP.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url),"/src/layouts/default.vue":()=>et(()=>import("./default-1E2MOw97.js"),__vite__mapDeps([9,1,2,3,4,5,6,7,8]),import.meta.url),"/src/layouts/headless.vue":()=>et(()=>import("./headless-Sa2QJJjX.js"),__vite__mapDeps([10,7]),import.meta.url),"/src/layouts/home.vue":()=>et(()=>import("./home-CtJUZVCZ.js"),__vite__mapDeps([11,1,2,3,4,5,7]),import.meta.url),"/src/layouts/index-layout.vue":()=>et(()=>import("./index-layout-D7MYCKsY.js"),__vite__mapDeps([12,1,2,3,4,5,6,7,8]),import.meta.url)})).forEach(([r,i])=>{let o=r.replace("/src/layouts/","").replace(".vue","");t[o]=i});function s(r,i=!0){return r.map(o=>{var l,a,c,f,u,h;if(((l=o.children)==null?void 0:l.length)>0&&(o.children=s(o.children,!1)),i){if(!o.component&&((a=o.children)==null?void 0:a.find(m=>{var d;return(m.path===""||m.path==="/")&&((d=m.meta)==null?void 0:d.isLayout)})))return o;if(((c=o.meta)==null?void 0:c.layout)!==!1)return{path:o.path,component:t[((f=o.meta)==null?void 0:f.layout)||"default"],children:o.path==="/"?[o]:[{...o,path:""}],meta:{isLayout:!0}}}return(u=o.meta)!=null&&u.layout?{path:o.path,component:t[(h=o.meta)==null?void 0:h.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return s(e)},WA=new Set(["link","style","script","noscript"]),KA=new Set(["title","titleTemplate","script","style","noscript"]),hp=new Set(["base","meta","link","style","script","noscript"]),XA=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),qA=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),GA=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),zA=new Set(["templateParams","htmlAttrs","bodyAttrs"]),YA=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),QA=["name","property","http-equiv"];function yv(e){const t=e.split(":")[1];return YA.has(t)}function hu(e){const{props:t,tag:n}=e;if(qA.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const s of QA)if(t[s]!==void 0)return`${n}:${t[s]}`}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(KA.has(n)){const s=e.textContent||e.innerHTML;if(s)return`${n}:content:${s}`}}function pp(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([s,r])=>`${s}:${String(r)}`).join(",")}`}function Kl(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let r;if(t&&(r=t(n,e)),Array.isArray(r))return r.map(i=>Kl(i,t));if((r==null?void 0:r.constructor)===Object){const i={};for(const o of Object.keys(r))i[o]=Kl(r[o],t,o);return i}return r}function JA(e,t){const n=e==="style"?new Map:new Set;function s(r){const i=r.trim();if(i)if(e==="style"){const[o,...l]=i.split(":").map(a=>a.trim());o&&l.length&&n.set(o,l.join(":"))}else i.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof t=="string"?e==="style"?t.split(";").forEach(s):s(t):Array.isArray(t)?t.forEach(r=>s(r)):t&&typeof t=="object"&&Object.entries(t).forEach(([r,i])=>{i&&i!=="false"&&(e==="style"?n.set(r.trim(),i):s(r))}),n}function vv(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,s])=>{if(s===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=JA(n,s);return}if(GA.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof s=="object"){let o=t.type;if(t.type||(o="application/json"),!(o!=null&&o.endsWith("json"))&&o!=="speculationrules")return;t.type=o,e.props.type=o,e[n]=JSON.stringify(s)}else e[n]=s;return}const r=String(s),i=n.startsWith("data-");r==="true"||r===""?e.props[n]=i?r:!0:!s&&i&&r==="false"?e.props[n]="false":s!==void 0&&(e.props[n]=s)}),e}function ZA(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},s=vv({tag:e,props:{}},n);return s.key&&WA.has(s.tag)&&(s.props["data-hid"]=s._h=s.key),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(r=>({...s,props:{...s.props,content:r}})):s}function eP(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(r,i)=>{for(let o=0;o<t.length;o++)i=t[o](r,i);return i};e=n(void 0,e);const s=[];return e=Kl(e,n),Object.entries(e||{}).forEach(([r,i])=>{if(i!==void 0)for(const o of Array.isArray(i)?i:[i])s.push(ZA(r,o))}),s.flat()}const mp=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,gp={base:-10,title:10},tP={critical:-8,high:-1,low:2},_p={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},nP=/@import/,yi=e=>e===""||e===!0;function sP(e,t){var i;if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const s=tP[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:_p;if(t.tag in gp)n=gp[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=_p.meta[o])}else t.tag==="link"&&t.props.rel?n=r.link[t.props.rel]:t.tag==="script"?yi(t.props.async)?n=r.script.async:t.props.src&&!yi(t.props.defer)&&!yi(t.props.async)&&t.props.type!=="module"&&!((i=t.props.type)!=null&&i.endsWith("json"))?n=r.script.sync:yi(t.props.defer)&&t.props.src&&!yi(t.props.async)&&(n=r.script.defer):t.tag==="style"&&(n=t.innerHTML&&nP.test(t.innerHTML)?r.style.imported:r.style.sync);return(n||100)+s}function yp(e,t){const n=typeof t=="function"?t(e):t,s=n.key||String(e.plugins.size+1);e.plugins.get(s)||(e.plugins.set(s,n),e.hooks.addHooks(n.hooks||{}))}function rP(e={}){var l;const t=Qw();t.addHooks(e.hooks||{});const n=!e.document,s=new Map,r=new Map,i=[],o={_entryCount:1,plugins:r,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:s,headEntries(){return[...s.values()]},use:a=>yp(o,a),push(a,c){const f={...c||{}};delete f.head;const u=f._index??o._entryCount++,h={_i:u,input:a,options:f},p={_poll(m=!1){o.dirty=!0,!m&&i.push(u),t.callHook("entries:updated",o)},dispose(){s.delete(u)&&p._poll(!0)},patch(m){(!f.mode||f.mode==="server"&&n||f.mode==="client"&&!n)&&(h.input=m,s.set(u,h),p._poll())}};return p.patch(a),p},async resolveTags(){var p;const a={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",a);i.length;){const m=i.shift(),d=s.get(m);if(d){const E={tags:eP(d.input,e.propResolvers||[]).map(g=>Object.assign(g,d.options)),entry:d};await t.callHook("entries:normalize",E),d._tags=E.tags.map((g,v)=>(g._w=sP(o,g),g._p=(d._i<<10)+v,g._d=hu(g),g))}}let c=!1;a.entries.flatMap(m=>(m._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(mp).reduce((m,d)=>{const E=String(d._d||d._p);if(!m.has(E))return m.set(E,d);const g=m.get(E);if(((d==null?void 0:d.tagDuplicateStrategy)||(zA.has(d.tag)?"merge":null)||(d.key&&d.key===g.key?"merge":null))==="merge"){const _={...g.props};Object.entries(d.props).forEach(([y,b])=>_[y]=y==="style"?new Map([...g.props.style||new Map,...b]):y==="class"?new Set([...g.props.class||new Set,...b]):b),m.set(E,{...d,props:_})}else d._p>>10===g._p>>10&&yv(d._d)?(m.set(E,Object.assign([...Array.isArray(g)?g:[g],d],d)),c=!0):(d._w===g._w?d._p>g._p:(d==null?void 0:d._w)<(g==null?void 0:g._w))&&m.set(E,d);return m},a.tagMap);const f=a.tagMap.get("title"),u=a.tagMap.get("titleTemplate");if(o._title=f==null?void 0:f.textContent,u){const m=u==null?void 0:u.textContent;if(o._titleTemplate=m,m){let d=typeof m=="function"?m(f==null?void 0:f.textContent):m;typeof d=="string"&&!o.plugins.has("template-params")&&(d=d.replace("%s",(f==null?void 0:f.textContent)||"")),f?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...f,textContent:d}):(u.tag="title",u.textContent=d)}}a.tags=Array.from(a.tagMap.values()),c&&(a.tags=a.tags.flat().sort(mp)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const h=[];for(const m of a.tags){const{innerHTML:d,tag:E,props:g}=m;if(XA.has(E)&&!(Object.keys(g).length===0&&!m.innerHTML&&!m.textContent)&&!(E==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(E==="script"&&d){if((p=g.type)!=null&&p.endsWith("json")){const v=typeof d=="string"?d:JSON.stringify(d);m.innerHTML=v.replace(/</g,"\\u003C")}else typeof d=="string"&&(m.innerHTML=d.replace(new RegExp(`</${E}`,"g"),`<\\/${E}`));m._d=hu(m)}h.push(m)}}return h}};return((e==null?void 0:e.plugins)||[]).forEach(a=>yp(o,a)),o.hooks.callHook("init",o),(l=e.init)==null||l.forEach(a=>a&&o.push(a)),o}async function Ev(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{var p;const i=new Map,o=new Promise(m=>{e.resolveTags().then(d=>{m(d.map(E=>{const g=i.get(E._d)||0,v={tag:E,id:(g?`${E._d}:${g}`:E._d)||pp(E),shouldRender:!0};return E._d&&yv(E._d)&&i.set(E._d,g+1),v}))})});let l=e._dom;if(!l){l={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const m of["body","head"]){const d=(p=n[m])==null?void 0:p.children;for(const E of d){const g=E.tagName.toLowerCase();if(!hp.has(g))continue;const v=vv({tag:g,props:{}},{innerHTML:E.innerHTML,...E.getAttributeNames().reduce((_,y)=>(_[y]=E.getAttribute(y),_),{})||{}});if(v.key=E.getAttribute("data-hid")||void 0,v._d=hu(v)||pp(v),l.elMap.has(v._d)){let _=1,y=v._d;for(;l.elMap.has(y);)y=`${v._d}:${_++}`;l.elMap.set(y,E)}else l.elMap.set(v._d,E)}}}l.pendingSideEffects={...l.sideEffects},l.sideEffects={};function a(m,d,E){const g=`${m}:${d}`;l.sideEffects[g]=E,delete l.pendingSideEffects[g]}function c({id:m,$el:d,tag:E}){const g=E.tag.endsWith("Attrs");l.elMap.set(m,d),g||(E.textContent&&E.textContent!==d.textContent&&(d.textContent=E.textContent),E.innerHTML&&E.innerHTML!==d.innerHTML&&(d.innerHTML=E.innerHTML),a(m,"el",()=>{d==null||d.remove(),l.elMap.delete(m)}));for(const v in E.props){if(!Object.prototype.hasOwnProperty.call(E.props,v))continue;const _=E.props[v];if(v.startsWith("on")&&typeof _=="function"){const b=d==null?void 0:d.dataset;if(b&&b[`${v}fired`]){const N=v.slice(0,-5);_.call(d,new Event(N.substring(2)))}d.getAttribute(`data-${v}`)!==""&&((E.tag==="bodyAttrs"?n.defaultView:d).addEventListener(v.substring(2),_.bind(d)),d.setAttribute(`data-${v}`,""));continue}const y=`attr:${v}`;if(v==="class"){if(!_)continue;for(const b of _)g&&a(m,`${y}:${b}`,()=>d.classList.remove(b)),!d.classList.contains(b)&&d.classList.add(b)}else if(v==="style"){if(!_)continue;for(const[b,N]of _)a(m,`${y}:${b}`,()=>{d.style.removeProperty(b)}),d.style.setProperty(b,N)}else _!==!1&&_!==null&&(d.getAttribute(v)!==_&&d.setAttribute(v,_===!0?"":String(_)),g&&a(m,y,()=>d.removeAttribute(v)))}}const f=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await o;for(const m of h){const{tag:d,shouldRender:E,id:g}=m;if(E){if(d.tag==="title"){n.title=d.textContent,a("title","",()=>n.title=l.title);continue}m.$el=m.$el||l.elMap.get(g),m.$el?c(m):hp.has(d.tag)&&f.push(m)}}for(const m of f){const d=m.tag.tagPosition||"head";m.$el=n.createElement(m.tag.tag),c(m),u[d]=u[d]||n.createDocumentFragment(),u[d].appendChild(m.$el)}for(const m of h)await e.hooks.callHook("dom:renderTag",m,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const m in l.pendingSideEffects)l.pendingSideEffects[m]();e._dom=l,await e.hooks.callHook("dom:rendered",{renders:h}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function iP(e={}){var s,r,i;const t=((s=e.domOptions)==null?void 0:s.render)||Ev;e.document=e.document||(typeof window<"u"?document:void 0);const n=((i=(r=e.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:i.innerHTML)||!1;return rP({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function oP(e,t){let n=0;return()=>{const s=++n;t(()=>{n===s&&e()})}}const lP=(e,t)=>Se(t)?ae(t):t,bv="usehead";function aP(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(bv,e)}}.install}function cP(){if(So()){const e=St(bv);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function uP(e,t={}){const n=t.head||cP();return n.ssr?n.push(e||{},t):fP(n,e,t)}function fP(e,t,n={}){const s=it(!1);let r;return Zu(()=>{const o=s.value?{}:Kl(t,lP);r?r.patch(o):r=e.push(o,n)}),Ze()&&(bo(()=>{r.dispose()}),Ku(()=>{s.value=!0}),Wu(()=>{s.value=!1})),r}function dP(e={}){const t=iP({domOptions:{render:oP(()=>Ev(t),n=>setTimeout(n,0))},...e});return t.install=aP(t),t}/*!
63
+ **/var Fh;function rN(){return Fh||(Fh=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=tN,n=nN,s=sN;function r(a){var c=Object.create(null);if(a)for(var f in a)c[f]=a[f];return c.default=a,Object.freeze(c)}var i=r(n);const o=Object.create(null);function l(a,c){if(!s.isString(a))if(a.nodeType)a=a.innerHTML;else return s.NOOP;const f=s.genCacheKey(a,c),u=o[f];if(u)return u;if(a[0]==="#"){const d=document.querySelector(a);a=d?d.innerHTML:""}const h=s.extend({hoistStatic:!0,onError:void 0,onWarn:s.NOOP},c);!h.isCustomElement&&typeof customElements<"u"&&(h.isCustomElement=d=>!!customElements.get(d));const{code:p}=t.compile(a,h),m=new Function("Vue",p)(i);return m._rc=!0,o[f]=m}n.registerRuntimeCompiler(l),e.compile=l,Object.keys(n).forEach(function(a){a!=="default"&&!Object.prototype.hasOwnProperty.call(e,a)&&(e[a]=n[a])})}(uc)),uc}var $h;function iN(){return $h||($h=1,cc.exports=rN()),cc.exports}var oN=ll.exports,Hh;function lN(){return Hh||(Hh=1,function(e,t){(function(s,r){e.exports=r(iN())})(oN,n=>(()=>{var s={113:(C,S)=>{Object.defineProperty(S,"__esModule",{value:!0}),S.default=(P,M)=>{const R=P.__vccOpts||P;for(const[x,X]of M)R[x]=X;return R}},594:C=>{C.exports=n}},r={};function i(C){var S=r[C];if(S!==void 0)return S.exports;var P=r[C]={exports:{}};return s[C](P,P.exports,i),P.exports}i.d=(C,S)=>{for(var P in S)i.o(S,P)&&!i.o(C,P)&&Object.defineProperty(C,P,{enumerable:!0,get:S[P]})},i.o=(C,S)=>Object.prototype.hasOwnProperty.call(C,S),i.r=C=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{ToastComponent:()=>y,ToastPlugin:()=>N,ToastPositions:()=>p,default:()=>A,useToast:()=>b});var l=i(594);const a=["innerHTML"];function c(C,S,P,M,R,x){return(0,l.openBlock)(),(0,l.createBlock)(l.Transition,{"enter-active-class":C.transition.enter,"leave-active-class":C.transition.leave},{default:(0,l.withCtx)(()=>[(0,l.withDirectives)((0,l.createElementVNode)("div",{ref:"root",role:"alert",class:(0,l.normalizeClass)(["v-toast__item",[`v-toast__item--${C.type}`,`v-toast__item--${C.position}`]]),onMouseover:S[0]||(S[0]=X=>C.toggleTimer(!0)),onMouseleave:S[1]||(S[1]=X=>C.toggleTimer(!1)),onClick:S[2]||(S[2]=function(){return C.whenClicked&&C.whenClicked(...arguments)})},[S[3]||(S[3]=(0,l.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,l.createElementVNode)("p",{class:"v-toast__text",innerHTML:C.message},null,8,a)],34),[[l.vShow,C.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function f(C){var S;typeof C.remove<"u"?C.remove():(S=C.parentNode)==null||S.removeChild(C)}function u(C,S,P){let M=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const R=(0,l.h)(C,S,M),x=document.createElement("div");return x.classList.add("v-toast--pending"),P.appendChild(x),(0,l.render)(R,x),R.component}class h{constructor(S,P){this.startedAt=Date.now(),this.callback=S,this.delay=P,this.timer=setTimeout(S,P)}pause(){this.stop(),this.delay-=Date.now()-this.startedAt}resume(){this.stop(),this.startedAt=Date.now(),this.timer=setTimeout(this.callback,this.delay)}stop(){clearTimeout(this.timer)}}const p=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function m(C){return{all:C=C||new Map,on:function(S,P){var M=C.get(S);M?M.push(P):C.set(S,[P])},off:function(S,P){var M=C.get(S);M&&(P?M.splice(M.indexOf(P)>>>0,1):C.set(S,[]))},emit:function(S,P){var M=C.get(S);M&&M.slice().map(function(R){R(P)}),(M=C.get("*"))&&M.slice().map(function(R){R(S,P)})}}}const E=m(),g=(0,l.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:p.BOTTOM_RIGHT,validator(C){return Object.values(p).includes(C)}},duration:{type:Number,default:3e3},dismissible:{type:Boolean,default:!0},onDismiss:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},queue:Boolean,pauseOnHover:{type:Boolean,default:!0}},data(){return{isActive:!1,parentTop:null,parentBottom:null,isHovered:!1}},beforeMount(){this.setupContainer()},mounted(){this.showNotice(),E.on("toast-clear",this.dismiss)},methods:{setupContainer(){if(this.parentTop=document.querySelector(".v-toast.v-toast--top"),this.parentBottom=document.querySelector(".v-toast.v-toast--bottom"),this.parentTop&&this.parentBottom)return;this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="v-toast v-toast--top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="v-toast v-toast--bottom");const C=document.body;C.appendChild(this.parentTop),C.appendChild(this.parentBottom)},shouldQueue(){return this.queue?this.parentTop.childElementCount>0||this.parentBottom.childElementCount>0:!1},dismiss(){this.timer&&this.timer.stop(),clearTimeout(this.queueTimer),this.isActive=!1,setTimeout(()=>{this.onDismiss.apply(null,arguments);const C=this.$refs.root;(0,l.render)(null,C),f(C)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const C=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),f(C),this.isActive=!0,this.duration&&(this.timer=new h(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(C){!this.pauseOnHover||!this.timer||(C?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case p.TOP:case p.TOP_RIGHT:case p.TOP_LEFT:return this.parentTop;case p.BOTTOM:case p.BOTTOM_RIGHT:case p.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case p.TOP:case p.TOP_RIGHT:case p.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case p.BOTTOM:case p.BOTTOM_RIGHT:case p.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){E.off("toast-clear",this.dismiss)}});var v=i(113);const y=(0,v.default)(g,[["render",c]]),b=function(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(S){let P=null;typeof S=="string"&&(P=S);const R=Object.assign({},{message:P},C,S);return{dismiss:u(y,R,document.body).ctx.dismiss}},clear(){E.emit("toast-clear")},success(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"success"},P))},error(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"error"},P))},info(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"info"},P))},warning(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"warning"},P))},default(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"default"},P))}}},N={install:function(C){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=b(S);C.config.globalProperties.$toast=P,C.provide("$toast",P)}},A=N;return o})())}(ll)),ll.exports}var aN=lN();const cN=I_(aN),uN=({app:e})=>{e.use(cN,{position:"bottom-right"})},fN=Object.freeze(Object.defineProperty({__proto__:null,install:uN},Symbol.toStringTag,{value:"Module"}));var xa=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Ro=typeof window>"u"||"Deno"in globalThis;function rn(){}function dN(e,t){return typeof e=="function"?e(t):e}function hN(e){return typeof e=="number"&&e>=0&&e!==1/0}function pN(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Vh(e,t){return typeof e=="function"?e(t):e}function mN(e,t){return typeof e=="function"?e(t):e}function Uh(e,t){const{type:n="all",exact:s,fetchStatus:r,predicate:i,queryKey:o,stale:l}=e;if(o){if(s){if(t.queryHash!==$f(o,t.options))return!1}else if(!oo(t.queryKey,o))return!1}if(n!=="all"){const a=t.isActive();if(n==="active"&&!a||n==="inactive"&&a)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||r&&r!==t.state.fetchStatus||i&&!i(t))}function Bh(e,t){const{exact:n,status:s,predicate:r,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(io(t.options.mutationKey)!==io(i))return!1}else if(!oo(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function $f(e,t){return((t==null?void 0:t.queryKeyHashFn)||io)(e)}function io(e){return JSON.stringify(e,(t,n)=>ou(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function oo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>oo(e[n],t[n])):!1}function $y(e,t){if(e===t)return e;const n=jh(e)&&jh(t);if(n||ou(e)&&ou(t)){const s=n?e:Object.keys(e),r=s.length,i=n?t:Object.keys(t),o=i.length,l=n?[]:{};let a=0;for(let c=0;c<o;c++){const f=n?c:i[c];(!n&&s.includes(f)||n)&&e[f]===void 0&&t[f]===void 0?(l[f]=void 0,a++):(l[f]=$y(e[f],t[f]),l[f]===e[f]&&e[f]!==void 0&&a++)}return r===o&&a===r?e:l}return t}function dI(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function jh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ou(e){if(!Wh(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Wh(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Wh(e){return Object.prototype.toString.call(e)==="[object Object]"}function gN(e){return new Promise(t=>{setTimeout(t,e)})}function _N(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?$y(e,t):t}function yN(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function vN(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var Hf=Symbol();function Hy(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Hf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Qs,Ts,Hr,Bp,EN=(Bp=class extends xa{constructor(){super();Ee(this,Qs);Ee(this,Ts);Ee(this,Hr);le(this,Hr,t=>{if(!Ro&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){V(this,Ts)||this.setEventListener(V(this,Hr))}onUnsubscribe(){var t;this.hasListeners()||((t=V(this,Ts))==null||t.call(this),le(this,Ts,void 0))}setEventListener(t){var n;le(this,Hr,t),(n=V(this,Ts))==null||n.call(this),le(this,Ts,t(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(t){V(this,Qs)!==t&&(le(this,Qs,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof V(this,Qs)=="boolean"?V(this,Qs):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Qs=new WeakMap,Ts=new WeakMap,Hr=new WeakMap,Bp),Vy=new EN,Vr,Ss,Ur,jp,bN=(jp=class extends xa{constructor(){super();Ee(this,Vr,!0);Ee(this,Ss);Ee(this,Ur);le(this,Ur,t=>{if(!Ro&&window.addEventListener){const n=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",s)}}})}onSubscribe(){V(this,Ss)||this.setEventListener(V(this,Ur))}onUnsubscribe(){var t;this.hasListeners()||((t=V(this,Ss))==null||t.call(this),le(this,Ss,void 0))}setEventListener(t){var n;le(this,Ur,t),(n=V(this,Ss))==null||n.call(this),le(this,Ss,t(this.setOnline.bind(this)))}setOnline(t){V(this,Vr)!==t&&(le(this,Vr,t),this.listeners.forEach(s=>{s(t)}))}isOnline(){return V(this,Vr)}},Vr=new WeakMap,Ss=new WeakMap,Ur=new WeakMap,jp),Hl=new bN;function TN(){let e,t;const n=new Promise((r,i)=>{e=r,t=i});n.status="pending",n.catch(()=>{});function s(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{s({status:"fulfilled",value:r}),e(r)},n.reject=r=>{s({status:"rejected",reason:r}),t(r)},n}function SN(e){return Math.min(1e3*2**e,3e4)}function Uy(e){return(e??"online")==="online"?Hl.isOnline():!0}var By=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function dc(e){return e instanceof By}function jy(e){let t=!1,n=0,s=!1,r;const i=TN(),o=d=>{var E;s||(h(new By(d)),(E=e.abort)==null||E.call(e))},l=()=>{t=!0},a=()=>{t=!1},c=()=>Vy.isFocused()&&(e.networkMode==="always"||Hl.isOnline())&&e.canRun(),f=()=>Uy(e.networkMode)&&e.canRun(),u=d=>{var E;s||(s=!0,(E=e.onSuccess)==null||E.call(e,d),r==null||r(),i.resolve(d))},h=d=>{var E;s||(s=!0,(E=e.onError)==null||E.call(e,d),r==null||r(),i.reject(d))},p=()=>new Promise(d=>{var E;r=g=>{(s||c())&&d(g)},(E=e.onPause)==null||E.call(e)}).then(()=>{var d;r=void 0,s||(d=e.onContinue)==null||d.call(e)}),m=()=>{if(s)return;let d;const E=n===0?e.initialPromise:void 0;try{d=E??e.fn()}catch(g){d=Promise.reject(g)}Promise.resolve(d).then(u).catch(g=>{var N;if(s)return;const v=e.retry??(Ro?0:3),_=e.retryDelay??SN,y=typeof _=="function"?_(n,g):_,b=v===!0||typeof v=="number"&&n<v||typeof v=="function"&&v(n,g);if(t||!b){h(g);return}n++,(N=e.onFail)==null||N.call(e,n,g),gN(y).then(()=>c()?void 0:p()).then(()=>{t?h(g):m()})})};return{promise:i,cancel:o,continue:()=>(r==null||r(),i),cancelRetry:l,continueRetry:a,canStart:f,start:()=>(f()?m():p().then(m),i)}}var wN=e=>setTimeout(e,0);function CN(){let e=[],t=0,n=l=>{l()},s=l=>{l()},r=wN;const i=l=>{t?e.push(l):r(()=>{n(l)})},o=()=>{const l=e;e=[],l.length&&r(()=>{s(()=>{l.forEach(a=>{n(a)})})})};return{batch:l=>{let a;t++;try{a=l()}finally{t--,t||o()}return a},batchCalls:l=>(...a)=>{i(()=>{l(...a)})},schedule:i,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{s=l},setScheduler:l=>{r=l}}}var Rt=CN(),Js,Wp,Wy=(Wp=class{constructor(){Ee(this,Js)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),hN(this.gcTime)&&le(this,Js,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ro?1/0:5*60*1e3))}clearGcTimeout(){V(this,Js)&&(clearTimeout(V(this,Js)),le(this,Js,void 0))}},Js=new WeakMap,Wp),Br,jr,Yt,Zs,gt,mo,er,on,Hn,Kp,ON=(Kp=class extends Wy{constructor(t){super();Ee(this,on);Ee(this,Br);Ee(this,jr);Ee(this,Yt);Ee(this,Zs);Ee(this,gt);Ee(this,mo);Ee(this,er);le(this,er,!1),le(this,mo,t.defaultOptions),this.setOptions(t.options),this.observers=[],le(this,Zs,t.client),le(this,Yt,V(this,Zs).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,le(this,Br,AN(this.options)),this.state=t.state??V(this,Br),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=V(this,gt))==null?void 0:t.promise}setOptions(t){this.options={...V(this,mo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&V(this,Yt).remove(this)}setData(t,n){const s=_N(this.state.data,t,this.options);return pt(this,on,Hn).call(this,{data:s,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),s}setState(t,n){pt(this,on,Hn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var s,r;const n=(s=V(this,gt))==null?void 0:s.promise;return(r=V(this,gt))==null||r.cancel(t),n?n.then(rn).catch(rn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(V(this,Br))}isActive(){return this.observers.some(t=>mN(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Hf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!pN(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(s=>s.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=V(this,gt))==null||n.continue()}onOnline(){var n;const t=this.observers.find(s=>s.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=V(this,gt))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),V(this,Yt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(V(this,gt)&&(V(this,er)?V(this,gt).cancel({revert:!0}):V(this,gt).cancelRetry()),this.scheduleGc()),V(this,Yt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||pt(this,on,Hn).call(this,{type:"invalidate"})}fetch(t,n){var a,c,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(V(this,gt))return V(this,gt).continueRetry(),V(this,gt).promise}if(t&&this.setOptions(t),!this.options.queryFn){const u=this.observers.find(h=>h.options.queryFn);u&&this.setOptions(u.options)}const s=new AbortController,r=u=>{Object.defineProperty(u,"signal",{enumerable:!0,get:()=>(le(this,er,!0),s.signal)})},i=()=>{const u=Hy(this.options,n),h={client:V(this,Zs),queryKey:this.queryKey,meta:this.meta};return r(h),le(this,er,!1),this.options.persister?this.options.persister(u,h,this):u(h)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:V(this,Zs),state:this.state,fetchFn:i};r(o),(a=this.options.behavior)==null||a.onFetch(o,this),le(this,jr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=o.fetchOptions)==null?void 0:c.meta))&&pt(this,on,Hn).call(this,{type:"fetch",meta:(f=o.fetchOptions)==null?void 0:f.meta});const l=u=>{var h,p,m,d;dc(u)&&u.silent||pt(this,on,Hn).call(this,{type:"error",error:u}),dc(u)||((p=(h=V(this,Yt).config).onError)==null||p.call(h,u,this),(d=(m=V(this,Yt).config).onSettled)==null||d.call(m,this.state.data,u,this)),this.scheduleGc()};return le(this,gt,jy({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:s.abort.bind(s),onSuccess:u=>{var h,p,m,d;if(u===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(u)}catch(E){l(E);return}(p=(h=V(this,Yt).config).onSuccess)==null||p.call(h,u,this),(d=(m=V(this,Yt).config).onSettled)==null||d.call(m,u,this.state.error,this),this.scheduleGc()},onError:l,onFail:(u,h)=>{pt(this,on,Hn).call(this,{type:"failed",failureCount:u,error:h})},onPause:()=>{pt(this,on,Hn).call(this,{type:"pause"})},onContinue:()=>{pt(this,on,Hn).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),V(this,gt).start()}},Br=new WeakMap,jr=new WeakMap,Yt=new WeakMap,Zs=new WeakMap,gt=new WeakMap,mo=new WeakMap,er=new WeakMap,on=new WeakSet,Hn=function(t){const n=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...NN(s.data,this.options),fetchMeta:t.meta??null};case"success":return{...s,data:t.data,dataUpdateCount:s.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const r=t.error;return dc(r)&&r.revert&&V(this,jr)?{...V(this,jr),fetchStatus:"idle"}:{...s,error:r,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=n(this.state),Rt.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),V(this,Yt).notify({query:this,type:"updated",action:t})})},Kp);function NN(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Uy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function AN(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,s=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Sn,Xp,Ky=(Xp=class extends xa{constructor(n={}){super();Ee(this,Sn);this.config=n,le(this,Sn,new Map)}build(n,s,r){const i=s.queryKey,o=s.queryHash??$f(i,s);let l=this.get(o);return l||(l=new ON({client:n,queryKey:i,queryHash:o,options:n.defaultQueryOptions(s),state:r,defaultOptions:n.getQueryDefaults(i)}),this.add(l)),l}add(n){V(this,Sn).has(n.queryHash)||(V(this,Sn).set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const s=V(this,Sn).get(n.queryHash);s&&(n.destroy(),s===n&&V(this,Sn).delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){Rt.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return V(this,Sn).get(n)}getAll(){return[...V(this,Sn).values()]}find(n){const s={exact:!0,...n};return this.getAll().find(r=>Uh(s,r))}findAll(n={}){const s=this.getAll();return Object.keys(n).length>0?s.filter(r=>Uh(n,r)):s}notify(n){Rt.batch(()=>{this.listeners.forEach(s=>{s(n)})})}onFocus(){Rt.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){Rt.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},Sn=new WeakMap,Xp),wn,Nt,tr,Cn,hs,qp,PN=(qp=class extends Wy{constructor(t){super();Ee(this,Cn);Ee(this,wn);Ee(this,Nt);Ee(this,tr);this.mutationId=t.mutationId,le(this,Nt,t.mutationCache),le(this,wn,[]),this.state=t.state||IN(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){V(this,wn).includes(t)||(V(this,wn).push(t),this.clearGcTimeout(),V(this,Nt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){le(this,wn,V(this,wn).filter(n=>n!==t)),this.scheduleGc(),V(this,Nt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){V(this,wn).length||(this.state.status==="pending"?this.scheduleGc():V(this,Nt).remove(this))}continue(){var t;return((t=V(this,tr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var r,i,o,l,a,c,f,u,h,p,m,d,E,g,v,_,y,b,N,A;le(this,tr,jy({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(C,S)=>{pt(this,Cn,hs).call(this,{type:"failed",failureCount:C,error:S})},onPause:()=>{pt(this,Cn,hs).call(this,{type:"pause"})},onContinue:()=>{pt(this,Cn,hs).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>V(this,Nt).canRun(this)}));const n=this.state.status==="pending",s=!V(this,tr).canStart();try{if(!n){pt(this,Cn,hs).call(this,{type:"pending",variables:t,isPaused:s}),await((i=(r=V(this,Nt).config).onMutate)==null?void 0:i.call(r,t,this));const S=await((l=(o=this.options).onMutate)==null?void 0:l.call(o,t));S!==this.state.context&&pt(this,Cn,hs).call(this,{type:"pending",context:S,variables:t,isPaused:s})}const C=await V(this,tr).start();return await((c=(a=V(this,Nt).config).onSuccess)==null?void 0:c.call(a,C,t,this.state.context,this)),await((u=(f=this.options).onSuccess)==null?void 0:u.call(f,C,t,this.state.context)),await((p=(h=V(this,Nt).config).onSettled)==null?void 0:p.call(h,C,null,this.state.variables,this.state.context,this)),await((d=(m=this.options).onSettled)==null?void 0:d.call(m,C,null,t,this.state.context)),pt(this,Cn,hs).call(this,{type:"success",data:C}),C}catch(C){try{throw await((g=(E=V(this,Nt).config).onError)==null?void 0:g.call(E,C,t,this.state.context,this)),await((_=(v=this.options).onError)==null?void 0:_.call(v,C,t,this.state.context)),await((b=(y=V(this,Nt).config).onSettled)==null?void 0:b.call(y,void 0,C,this.state.variables,this.state.context,this)),await((A=(N=this.options).onSettled)==null?void 0:A.call(N,void 0,C,t,this.state.context)),C}finally{pt(this,Cn,hs).call(this,{type:"error",error:C})}}finally{V(this,Nt).runNext(this)}}},wn=new WeakMap,Nt=new WeakMap,tr=new WeakMap,Cn=new WeakSet,hs=function(t){const n=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Rt.batch(()=>{V(this,wn).forEach(s=>{s.onMutationUpdate(t)}),V(this,Nt).notify({mutation:this,type:"updated",action:t})})},qp);function IN(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Un,ln,go,Gp,Xy=(Gp=class extends xa{constructor(n={}){super();Ee(this,Un);Ee(this,ln);Ee(this,go);this.config=n,le(this,Un,new Set),le(this,ln,new Map),le(this,go,0)}build(n,s,r){const i=new PN({mutationCache:this,mutationId:++Mo(this,go)._,options:n.defaultMutationOptions(s),state:r});return this.add(i),i}add(n){V(this,Un).add(n);const s=Yo(n);if(typeof s=="string"){const r=V(this,ln).get(s);r?r.push(n):V(this,ln).set(s,[n])}this.notify({type:"added",mutation:n})}remove(n){if(V(this,Un).delete(n)){const s=Yo(n);if(typeof s=="string"){const r=V(this,ln).get(s);if(r)if(r.length>1){const i=r.indexOf(n);i!==-1&&r.splice(i,1)}else r[0]===n&&V(this,ln).delete(s)}}this.notify({type:"removed",mutation:n})}canRun(n){const s=Yo(n);if(typeof s=="string"){const r=V(this,ln).get(s),i=r==null?void 0:r.find(o=>o.state.status==="pending");return!i||i===n}else return!0}runNext(n){var r;const s=Yo(n);if(typeof s=="string"){const i=(r=V(this,ln).get(s))==null?void 0:r.find(o=>o!==n&&o.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Rt.batch(()=>{V(this,Un).forEach(n=>{this.notify({type:"removed",mutation:n})}),V(this,Un).clear(),V(this,ln).clear()})}getAll(){return Array.from(V(this,Un))}find(n){const s={exact:!0,...n};return this.getAll().find(r=>Bh(s,r))}findAll(n={}){return this.getAll().filter(s=>Bh(n,s))}notify(n){Rt.batch(()=>{this.listeners.forEach(s=>{s(n)})})}resumePausedMutations(){const n=this.getAll().filter(s=>s.state.isPaused);return Rt.batch(()=>Promise.all(n.map(s=>s.continue().catch(rn))))}},Un=new WeakMap,ln=new WeakMap,go=new WeakMap,Gp);function Yo(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Kh(e){return{onFetch:(t,n)=>{var f,u,h,p,m;const s=t.options,r=(h=(u=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:u.fetchMore)==null?void 0:h.direction,i=((p=t.state.data)==null?void 0:p.pages)||[],o=((m=t.state.data)==null?void 0:m.pageParams)||[];let l={pages:[],pageParams:[]},a=0;const c=async()=>{let d=!1;const E=_=>{Object.defineProperty(_,"signal",{enumerable:!0,get:()=>(t.signal.aborted?d=!0:t.signal.addEventListener("abort",()=>{d=!0}),t.signal)})},g=Hy(t.options,t.fetchOptions),v=async(_,y,b)=>{if(d)return Promise.reject();if(y==null&&_.pages.length)return Promise.resolve(_);const N={client:t.client,queryKey:t.queryKey,pageParam:y,direction:b?"backward":"forward",meta:t.options.meta};E(N);const A=await g(N),{maxPages:C}=t.options,S=b?vN:yN;return{pages:S(_.pages,A,C),pageParams:S(_.pageParams,y,C)}};if(r&&i.length){const _=r==="backward",y=_?RN:Xh,b={pages:i,pageParams:o},N=y(s,b);l=await v(b,N,_)}else{const _=e??i.length;do{const y=a===0?o[0]??s.initialPageParam:Xh(s,l);if(a>0&&y==null)break;l=await v(l,y),a++}while(a<_)}return l};t.options.persister?t.fetchFn=()=>{var d,E;return(E=(d=t.options).persister)==null?void 0:E.call(d,c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function Xh(e,{pages:t,pageParams:n}){const s=t.length-1;return t.length>0?e.getNextPageParam(t[s],t,n[s],n):void 0}function RN(e,{pages:t,pageParams:n}){var s;return t.length>0?(s=e.getPreviousPageParam)==null?void 0:s.call(e,t[0],t,n[0],n):void 0}var je,ws,Cs,Wr,Kr,Os,Xr,qr,zp,LN=(zp=class{constructor(t={}){Ee(this,je);Ee(this,ws);Ee(this,Cs);Ee(this,Wr);Ee(this,Kr);Ee(this,Os);Ee(this,Xr);Ee(this,qr);le(this,je,t.queryCache||new Ky),le(this,ws,t.mutationCache||new Xy),le(this,Cs,t.defaultOptions||{}),le(this,Wr,new Map),le(this,Kr,new Map),le(this,Os,0)}mount(){Mo(this,Os)._++,V(this,Os)===1&&(le(this,Xr,Vy.subscribe(async t=>{t&&(await this.resumePausedMutations(),V(this,je).onFocus())})),le(this,qr,Hl.subscribe(async t=>{t&&(await this.resumePausedMutations(),V(this,je).onOnline())})))}unmount(){var t,n;Mo(this,Os)._--,V(this,Os)===0&&((t=V(this,Xr))==null||t.call(this),le(this,Xr,void 0),(n=V(this,qr))==null||n.call(this),le(this,qr,void 0))}isFetching(t){return V(this,je).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return V(this,ws).findAll({...t,status:"pending"}).length}getQueryData(t){var s;const n=this.defaultQueryOptions({queryKey:t});return(s=V(this,je).get(n.queryHash))==null?void 0:s.state.data}ensureQueryData(t){const n=this.defaultQueryOptions(t),s=V(this,je).build(this,n),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(Vh(n.staleTime,s))&&this.prefetchQuery(n),Promise.resolve(r))}getQueriesData(t){return V(this,je).findAll(t).map(({queryKey:n,state:s})=>{const r=s.data;return[n,r]})}setQueryData(t,n,s){const r=this.defaultQueryOptions({queryKey:t}),i=V(this,je).get(r.queryHash),o=i==null?void 0:i.state.data,l=dN(n,o);if(l!==void 0)return V(this,je).build(this,r).setData(l,{...s,manual:!0})}setQueriesData(t,n,s){return Rt.batch(()=>V(this,je).findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,n,s)]))}getQueryState(t){var s;const n=this.defaultQueryOptions({queryKey:t});return(s=V(this,je).get(n.queryHash))==null?void 0:s.state}removeQueries(t){const n=V(this,je);Rt.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=V(this,je);return Rt.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const s={revert:!0,...n},r=Rt.batch(()=>V(this,je).findAll(t).map(i=>i.cancel(s)));return Promise.all(r).then(rn).catch(rn)}invalidateQueries(t,n={}){return Rt.batch(()=>(V(this,je).findAll(t).forEach(s=>{s.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},n)))}refetchQueries(t,n={}){const s={...n,cancelRefetch:n.cancelRefetch??!0},r=Rt.batch(()=>V(this,je).findAll(t).filter(i=>!i.isDisabled()).map(i=>{let o=i.fetch(void 0,s);return s.throwOnError||(o=o.catch(rn)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(rn)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const s=V(this,je).build(this,n);return s.isStaleByTime(Vh(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(rn).catch(rn)}fetchInfiniteQuery(t){return t.behavior=Kh(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(rn).catch(rn)}ensureInfiniteQueryData(t){return t.behavior=Kh(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Hl.isOnline()?V(this,ws).resumePausedMutations():Promise.resolve()}getQueryCache(){return V(this,je)}getMutationCache(){return V(this,ws)}getDefaultOptions(){return V(this,Cs)}setDefaultOptions(t){le(this,Cs,t)}setQueryDefaults(t,n){V(this,Wr).set(io(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...V(this,Wr).values()],s={};return n.forEach(r=>{oo(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,n){V(this,Kr).set(io(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...V(this,Kr).values()],s={};return n.forEach(r=>{oo(t,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const n={...V(this,Cs).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=$f(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===Hf&&(n.enabled=!1),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...V(this,Cs).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){V(this,je).clear(),V(this,ws).clear()}},je=new WeakMap,ws=new WeakMap,Cs=new WeakMap,Wr=new WeakMap,Kr=new WeakMap,Os=new WeakMap,Xr=new WeakMap,qr=new WeakMap,zp),MN="VUE_QUERY_CLIENT";function kN(e){const t=e?`:${e}`:"";return`${MN}${t}`}function gI(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function lu(e,t,n="",s=0){if(t){const r=t(e,n,s);if(r===void 0&&Se(e)||r!==void 0)return r}if(Array.isArray(e))return e.map((r,i)=>lu(r,t,String(i),s+1));if(typeof e=="object"&&DN(e)){const r=Object.entries(e).map(([i,o])=>[i,lu(o,t,i,s+1)]);return Object.fromEntries(r)}return e}function xN(e,t){return lu(e,t)}function ce(e,t=!1){return xN(e,(n,s,r)=>{if(r===1&&s==="queryKey")return ce(n,!0);if(t&&FN(n))return ce(n(),t);if(Se(n))return ce(dn(n),t)})}function DN(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function FN(e){return typeof e=="function"}function _I(e,t){return typeof e=="function"?e(...t):!!e}var $N=class extends Ky{find(e){return super.find(ce(e))}findAll(e={}){return super.findAll(ce(e))}},HN=class extends Xy{find(e){return super.find(ce(e))}findAll(e={}){return super.findAll(ce(e))}},VN=class extends LN{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new $N,mutationCache:e.mutationCache||new HN};super(t),this.isRestoring=it(!1)}isFetching(e={}){return super.isFetching(ce(e))}isMutating(e={}){return super.isMutating(ce(e))}getQueryData(e){return super.getQueryData(ce(e))}ensureQueryData(e){return super.ensureQueryData(ce(e))}getQueriesData(e){return super.getQueriesData(ce(e))}setQueryData(e,t,n={}){return super.setQueryData(ce(e),t,ce(n))}setQueriesData(e,t,n={}){return super.setQueriesData(ce(e),t,ce(n))}getQueryState(e){return super.getQueryState(ce(e))}removeQueries(e={}){return super.removeQueries(ce(e))}resetQueries(e={},t={}){return super.resetQueries(ce(e),ce(t))}cancelQueries(e={},t={}){return super.cancelQueries(ce(e),ce(t))}invalidateQueries(e={},t={}){const n=ce(e),s=ce(t);if(super.invalidateQueries({...n,refetchType:"none"},s),n.refetchType==="none")return Promise.resolve();const r={...n,type:n.refetchType??n.type??"active"};return Ht().then(()=>super.refetchQueries(r,s))}refetchQueries(e={},t={}){return super.refetchQueries(ce(e),ce(t))}fetchQuery(e){return super.fetchQuery(ce(e))}prefetchQuery(e){return super.prefetchQuery(ce(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(ce(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(ce(e))}setDefaultOptions(e){super.setDefaultOptions(ce(e))}setQueryDefaults(e,t){super.setQueryDefaults(ce(e),ce(t))}getQueryDefaults(e){return super.getQueryDefaults(ce(e))}setMutationDefaults(e,t){super.setMutationDefaults(ce(e),ce(t))}getMutationDefaults(e){return super.getMutationDefaults(ce(e))}},UN={install:(e,t={})=>{const n=kN(t.queryClientKey);let s;if("queryClient"in t&&t.queryClient)s=t.queryClient;else{const o="queryClientConfig"in t?t.queryClientConfig:void 0;s=new VN(o)}Ro||s.mount();let r=()=>{};if(t.clientPersister){s.isRestoring.value=!0;const[o,l]=t.clientPersister(s);r=o,l.then(()=>{var a;s.isRestoring.value=!1,(a=t.clientPersisterOnSuccess)==null||a.call(t,s)})}const i=()=>{s.unmount(),r()};if(e.onUnmount)e.onUnmount(i);else{const o=e.unmount;e.unmount=function(){i(),o()}}e.provide(n,s)}};const BN=["top","right","bottom","left"],qh=["start","end"],Gh=BN.reduce((e,t)=>e.concat(t,t+"-"+qh[0],t+"-"+qh[1]),[]),lo=Math.min,zs=Math.max,jN={left:"right",right:"left",bottom:"top",top:"bottom"},WN={start:"end",end:"start"};function au(e,t,n){return zs(e,lo(t,n))}function Sr(e,t){return typeof e=="function"?e(t):e}function Mn(e){return e.split("-")[0]}function hn(e){return e.split("-")[1]}function qy(e){return e==="x"?"y":"x"}function Vf(e){return e==="y"?"height":"width"}function vr(e){return["top","bottom"].includes(Mn(e))?"y":"x"}function Uf(e){return qy(vr(e))}function Gy(e,t,n){n===void 0&&(n=!1);const s=hn(e),r=Uf(e),i=Vf(r);let o=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=Ul(o)),[o,Ul(o)]}function KN(e){const t=Ul(e);return[Vl(e),t,Vl(t)]}function Vl(e){return e.replace(/start|end/g,t=>WN[t])}function XN(e,t,n){const s=["left","right"],r=["right","left"],i=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:s:t?s:r;case"left":case"right":return t?i:o;default:return[]}}function qN(e,t,n,s){const r=hn(e);let i=XN(Mn(e),n==="start",s);return r&&(i=i.map(o=>o+"-"+r),t&&(i=i.concat(i.map(Vl)))),i}function Ul(e){return e.replace(/left|right|bottom|top/g,t=>jN[t])}function GN(e){return{top:0,right:0,bottom:0,left:0,...e}}function zy(e){return typeof e!="number"?GN(e):{top:e,right:e,bottom:e,left:e}}function Ii(e){const{x:t,y:n,width:s,height:r}=e;return{width:s,height:r,top:n,left:t,right:t+s,bottom:n+r,x:t,y:n}}function zh(e,t,n){let{reference:s,floating:r}=e;const i=vr(t),o=Uf(t),l=Vf(o),a=Mn(t),c=i==="y",f=s.x+s.width/2-r.width/2,u=s.y+s.height/2-r.height/2,h=s[l]/2-r[l]/2;let p;switch(a){case"top":p={x:f,y:s.y-r.height};break;case"bottom":p={x:f,y:s.y+s.height};break;case"right":p={x:s.x+s.width,y:u};break;case"left":p={x:s.x-r.width,y:u};break;default:p={x:s.x,y:s.y}}switch(hn(t)){case"start":p[o]-=h*(n&&c?-1:1);break;case"end":p[o]+=h*(n&&c?-1:1);break}return p}const zN=async(e,t,n)=>{const{placement:s="bottom",strategy:r="absolute",middleware:i=[],platform:o}=n,l=i.filter(Boolean),a=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:r}),{x:f,y:u}=zh(c,s,a),h=s,p={},m=0;for(let d=0;d<l.length;d++){const{name:E,fn:g}=l[d],{x:v,y:_,data:y,reset:b}=await g({x:f,y:u,initialPlacement:s,placement:h,strategy:r,middlewareData:p,rects:c,platform:o,elements:{reference:e,floating:t}});f=v??f,u=_??u,p={...p,[E]:{...p[E],...y}},b&&m<=50&&(m++,typeof b=="object"&&(b.placement&&(h=b.placement),b.rects&&(c=b.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:r}):b.rects),{x:f,y:u}=zh(c,h,a)),d=-1)}return{x:f,y:u,placement:h,strategy:r,middlewareData:p}};async function Da(e,t){var n;t===void 0&&(t={});const{x:s,y:r,platform:i,rects:o,elements:l,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:p=0}=Sr(t,e),m=zy(p),E=l[h?u==="floating"?"reference":"floating":u],g=Ii(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(E)))==null||n?E:E.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:a})),v=u==="floating"?{x:s,y:r,width:o.floating.width,height:o.floating.height}:o.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),y=await(i.isElement==null?void 0:i.isElement(_))?await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1}:{x:1,y:1},b=Ii(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:_,strategy:a}):v);return{top:(g.top-b.top+m.top)/y.y,bottom:(b.bottom-g.bottom+m.bottom)/y.y,left:(g.left-b.left+m.left)/y.x,right:(b.right-g.right+m.right)/y.x}}const YN=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:r,rects:i,platform:o,elements:l,middlewareData:a}=t,{element:c,padding:f=0}=Sr(e,t)||{};if(c==null)return{};const u=zy(f),h={x:n,y:s},p=Uf(r),m=Vf(p),d=await o.getDimensions(c),E=p==="y",g=E?"top":"left",v=E?"bottom":"right",_=E?"clientHeight":"clientWidth",y=i.reference[m]+i.reference[p]-h[p]-i.floating[m],b=h[p]-i.reference[p],N=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let A=N?N[_]:0;(!A||!await(o.isElement==null?void 0:o.isElement(N)))&&(A=l.floating[_]||i.floating[m]);const C=y/2-b/2,S=A/2-d[m]/2-1,P=lo(u[g],S),M=lo(u[v],S),R=P,x=A-d[m]-M,X=A/2-d[m]/2+C,Y=au(R,X,x),j=!a.arrow&&hn(r)!=null&&X!==Y&&i.reference[m]/2-(X<R?P:M)-d[m]/2<0,K=j?X<R?X-R:X-x:0;return{[p]:h[p]+K,data:{[p]:Y,centerOffset:X-Y-K,...j&&{alignmentOffset:K}},reset:j}}});function QN(e,t,n){return(e?[...n.filter(r=>hn(r)===e),...n.filter(r=>hn(r)!==e)]:n.filter(r=>Mn(r)===r)).filter(r=>e?hn(r)===e||(t?Vl(r)!==r:!1):!0)}const JN=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,s,r;const{rects:i,middlewareData:o,placement:l,platform:a,elements:c}=t,{crossAxis:f=!1,alignment:u,allowedPlacements:h=Gh,autoAlignment:p=!0,...m}=Sr(e,t),d=u!==void 0||h===Gh?QN(u||null,p,h):h,E=await Da(t,m),g=((n=o.autoPlacement)==null?void 0:n.index)||0,v=d[g];if(v==null)return{};const _=Gy(v,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==v)return{reset:{placement:d[0]}};const y=[E[Mn(v)],E[_[0]],E[_[1]]],b=[...((s=o.autoPlacement)==null?void 0:s.overflows)||[],{placement:v,overflows:y}],N=d[g+1];if(N)return{data:{index:g+1,overflows:b},reset:{placement:N}};const A=b.map(P=>{const M=hn(P.placement);return[P.placement,M&&f?P.overflows.slice(0,2).reduce((R,x)=>R+x,0):P.overflows[0],P.overflows]}).sort((P,M)=>P[1]-M[1]),S=((r=A.filter(P=>P[2].slice(0,hn(P[0])?2:3).every(M=>M<=0))[0])==null?void 0:r[0])||A[0][0];return S!==l?{data:{index:g+1,overflows:b},reset:{placement:S}}:{}}}},ZN=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,s;const{placement:r,middlewareData:i,rects:o,initialPlacement:l,platform:a,elements:c}=t,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:d=!0,...E}=Sr(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=Mn(r),v=vr(l),_=Mn(l)===l,y=await(a.isRTL==null?void 0:a.isRTL(c.floating)),b=h||(_||!d?[Ul(l)]:KN(l)),N=m!=="none";!h&&N&&b.push(...qN(l,d,m,y));const A=[l,...b],C=await Da(t,E),S=[];let P=((s=i.flip)==null?void 0:s.overflows)||[];if(f&&S.push(C[g]),u){const X=Gy(r,o,y);S.push(C[X[0]],C[X[1]])}if(P=[...P,{placement:r,overflows:S}],!S.every(X=>X<=0)){var M,R;const X=(((M=i.flip)==null?void 0:M.index)||0)+1,Y=A[X];if(Y)return{data:{index:X,overflows:P},reset:{placement:Y}};let j=(R=P.filter(K=>K.overflows[0]<=0).sort((K,G)=>K.overflows[1]-G.overflows[1])[0])==null?void 0:R.placement;if(!j)switch(p){case"bestFit":{var x;const K=(x=P.filter(G=>{if(N){const re=vr(G.placement);return re===v||re==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(re=>re>0).reduce((re,Ae)=>re+Ae,0)]).sort((G,re)=>G[1]-re[1])[0])==null?void 0:x[0];K&&(j=K);break}case"initialPlacement":j=l;break}if(r!==j)return{reset:{placement:j}}}return{}}}};async function eA(e,t){const{placement:n,platform:s,elements:r}=e,i=await(s.isRTL==null?void 0:s.isRTL(r.floating)),o=Mn(n),l=hn(n),a=vr(n)==="y",c=["left","top"].includes(o)?-1:1,f=i&&a?-1:1,u=Sr(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:m}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof m=="number"&&(p=l==="end"?m*-1:m),a?{x:p*f,y:h*c}:{x:h*c,y:p*f}}const tA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,s;const{x:r,y:i,placement:o,middlewareData:l}=t,a=await eA(t,e);return o===((n=l.offset)==null?void 0:n.placement)&&(s=l.arrow)!=null&&s.alignmentOffset?{}:{x:r+a.x,y:i+a.y,data:{...a,placement:o}}}}},nA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:r}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:l={fn:E=>{let{x:g,y:v}=E;return{x:g,y:v}}},...a}=Sr(e,t),c={x:n,y:s},f=await Da(t,a),u=vr(Mn(r)),h=qy(u);let p=c[h],m=c[u];if(i){const E=h==="y"?"top":"left",g=h==="y"?"bottom":"right",v=p+f[E],_=p-f[g];p=au(v,p,_)}if(o){const E=u==="y"?"top":"left",g=u==="y"?"bottom":"right",v=m+f[E],_=m-f[g];m=au(v,m,_)}const d=l.fn({...t,[h]:p,[u]:m});return{...d,data:{x:d.x-n,y:d.y-s,enabled:{[h]:i,[u]:o}}}}}},sA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,s;const{placement:r,rects:i,platform:o,elements:l}=t,{apply:a=()=>{},...c}=Sr(e,t),f=await Da(t,c),u=Mn(r),h=hn(r),p=vr(r)==="y",{width:m,height:d}=i.floating;let E,g;u==="top"||u==="bottom"?(E=u,g=h===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(g=u,E=h==="end"?"top":"bottom");const v=d-f.top-f.bottom,_=m-f.left-f.right,y=lo(d-f[E],v),b=lo(m-f[g],_),N=!t.middlewareData.shift;let A=y,C=b;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(C=_),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(A=v),N&&!h){const P=zs(f.left,0),M=zs(f.right,0),R=zs(f.top,0),x=zs(f.bottom,0);p?C=m-2*(P!==0||M!==0?P+M:zs(f.left,f.right)):A=d-2*(R!==0||x!==0?R+x:zs(f.top,f.bottom))}await a({...t,availableWidth:C,availableHeight:A});const S=await o.getDimensions(l.floating);return m!==S.width||d!==S.height?{reset:{rects:!0}}:{}}}};function Jt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Pn(e){return Jt(e).getComputedStyle(e)}const Yh=Math.min,Ri=Math.max,Bl=Math.round;function Yy(e){const t=Pn(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,i=e.offsetHeight,o=Bl(n)!==r||Bl(s)!==i;return o&&(n=r,s=i),{width:n,height:s,fallback:o}}function Ds(e){return Jy(e)?(e.nodeName||"").toLowerCase():""}let Qo;function Qy(){if(Qo)return Qo;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Qo=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Qo):navigator.userAgent}function In(e){return e instanceof Jt(e).HTMLElement}function Is(e){return e instanceof Jt(e).Element}function Jy(e){return e instanceof Jt(e).Node}function Qh(e){return typeof ShadowRoot>"u"?!1:e instanceof Jt(e).ShadowRoot||e instanceof ShadowRoot}function Fa(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=Pn(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function rA(e){return["table","td","th"].includes(Ds(e))}function cu(e){const t=/firefox/i.test(Qy()),n=Pn(e),s=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!s&&s!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(r=>n.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const i=n.contain;return i!=null&&i.includes(r)})}function Zy(){return!/^((?!chrome|android).)*safari/i.test(Qy())}function Bf(e){return["html","body","#document"].includes(Ds(e))}function ev(e){return Is(e)?e:e.contextElement}const tv={x:1,y:1};function Fr(e){const t=ev(e);if(!In(t))return tv;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:i}=Yy(t);let o=(i?Bl(n.width):n.width)/s,l=(i?Bl(n.height):n.height)/r;return o&&Number.isFinite(o)||(o=1),l&&Number.isFinite(l)||(l=1),{x:o,y:l}}function ao(e,t,n,s){var r,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),l=ev(e);let a=tv;t&&(s?Is(s)&&(a=Fr(s)):a=Fr(e));const c=l?Jt(l):window,f=!Zy()&&n;let u=(o.left+(f&&((r=c.visualViewport)==null?void 0:r.offsetLeft)||0))/a.x,h=(o.top+(f&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/a.y,p=o.width/a.x,m=o.height/a.y;if(l){const d=Jt(l),E=s&&Is(s)?Jt(s):s;let g=d.frameElement;for(;g&&s&&E!==d;){const v=Fr(g),_=g.getBoundingClientRect(),y=getComputedStyle(g);_.x+=(g.clientLeft+parseFloat(y.paddingLeft))*v.x,_.y+=(g.clientTop+parseFloat(y.paddingTop))*v.y,u*=v.x,h*=v.y,p*=v.x,m*=v.y,u+=_.x,h+=_.y,g=Jt(g).frameElement}}return{width:p,height:m,top:h,right:u+p,bottom:h+m,left:u,x:u,y:h}}function Rs(e){return((Jy(e)?e.ownerDocument:e.document)||window.document).documentElement}function $a(e){return Is(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function nv(e){return ao(Rs(e)).left+$a(e).scrollLeft}function co(e){if(Ds(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Qh(e)&&e.host||Rs(e);return Qh(t)?t.host:t}function sv(e){const t=co(e);return Bf(t)?t.ownerDocument.body:In(t)&&Fa(t)?t:sv(t)}function jl(e,t){var n;t===void 0&&(t=[]);const s=sv(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),i=Jt(s);return r?t.concat(i,i.visualViewport||[],Fa(s)?s:[]):t.concat(s,jl(s))}function Jh(e,t,n){return t==="viewport"?Ii(function(s,r){const i=Jt(s),o=Rs(s),l=i.visualViewport;let a=o.clientWidth,c=o.clientHeight,f=0,u=0;if(l){a=l.width,c=l.height;const h=Zy();(h||!h&&r==="fixed")&&(f=l.offsetLeft,u=l.offsetTop)}return{width:a,height:c,x:f,y:u}}(e,n)):Is(t)?Ii(function(s,r){const i=ao(s,!0,r==="fixed"),o=i.top+s.clientTop,l=i.left+s.clientLeft,a=In(s)?Fr(s):{x:1,y:1};return{width:s.clientWidth*a.x,height:s.clientHeight*a.y,x:l*a.x,y:o*a.y}}(t,n)):Ii(function(s){const r=Rs(s),i=$a(s),o=s.ownerDocument.body,l=Ri(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),a=Ri(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let c=-i.scrollLeft+nv(s);const f=-i.scrollTop;return Pn(o).direction==="rtl"&&(c+=Ri(r.clientWidth,o.clientWidth)-l),{width:l,height:a,x:c,y:f}}(Rs(e)))}function Zh(e){return In(e)&&Pn(e).position!=="fixed"?e.offsetParent:null}function ep(e){const t=Jt(e);let n=Zh(e);for(;n&&rA(n)&&Pn(n).position==="static";)n=Zh(n);return n&&(Ds(n)==="html"||Ds(n)==="body"&&Pn(n).position==="static"&&!cu(n))?t:n||function(s){let r=co(s);for(;In(r)&&!Bf(r);){if(cu(r))return r;r=co(r)}return null}(e)||t}function iA(e,t,n){const s=In(t),r=Rs(t),i=ao(e,!0,n==="fixed",t);let o={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(s||!s&&n!=="fixed")if((Ds(t)!=="body"||Fa(r))&&(o=$a(t)),In(t)){const a=ao(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else r&&(l.x=nv(r));return{x:i.left+o.scrollLeft-l.x,y:i.top+o.scrollTop-l.y,width:i.width,height:i.height}}const oA={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:s,strategy:r}=e;const i=n==="clippingAncestors"?function(c,f){const u=f.get(c);if(u)return u;let h=jl(c).filter(E=>Is(E)&&Ds(E)!=="body"),p=null;const m=Pn(c).position==="fixed";let d=m?co(c):c;for(;Is(d)&&!Bf(d);){const E=Pn(d),g=cu(d);(m?g||p:g||E.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=E:h=h.filter(v=>v!==d),d=co(d)}return f.set(c,h),h}(t,this._c):[].concat(n),o=[...i,s],l=o[0],a=o.reduce((c,f)=>{const u=Jh(t,f,r);return c.top=Ri(u.top,c.top),c.right=Yh(u.right,c.right),c.bottom=Yh(u.bottom,c.bottom),c.left=Ri(u.left,c.left),c},Jh(t,l,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:s}=e;const r=In(n),i=Rs(n);if(n===i)return t;let o={scrollLeft:0,scrollTop:0},l={x:1,y:1};const a={x:0,y:0};if((r||!r&&s!=="fixed")&&((Ds(n)!=="body"||Fa(i))&&(o=$a(n)),In(n))){const c=ao(n);l=Fr(n),a.x=c.x+n.clientLeft,a.y=c.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-o.scrollLeft*l.x+a.x,y:t.y*l.y-o.scrollTop*l.y+a.y}},isElement:Is,getDimensions:function(e){return In(e)?Yy(e):e.getBoundingClientRect()},getOffsetParent:ep,getDocumentElement:Rs,getScale:Fr,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||ep,i=this.getDimensions;return{reference:iA(t,await r(n),s),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Pn(e).direction==="rtl"},lA=(e,t,n)=>{const s=new Map,r={platform:oA,...n},i={...r.platform,_c:s};return zN(e,t,{...r,platform:i})};function rv(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?rv(e[n],t[n]):e[n]=t[n])}const pn={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function uo(e,t){let n=pn.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=pn.themes[n.$extend]||{}:(n=null,s=pn[t]):n=null;while(n);return s}function aA(e){const t=[e];let n=pn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=pn.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function tp(e){const t=[e];let n=pn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=pn.themes[n.$extend]||{}):n=null;while(n);return t}let oi=!1;if(typeof window<"u"){oi=!1;try{const e=Object.defineProperty({},"passive",{get(){oi=!0}});window.addEventListener("test",null,e)}catch{}}let iv=!1;typeof window<"u"&&typeof navigator<"u"&&(iv=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const ov=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),np={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},sp={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function rp(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function hc(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const cn=[];let qs=null;const ip={};function op(e){let t=ip[e];return t||(t=ip[e]=[]),t}let uu=function(){};typeof window<"u"&&(uu=window.Element);function _e(e){return function(t){return uo(t.theme,e)}}const pc="__floating-vue__popper",lv=()=>Ut({name:"VPopper",provide(){return{[pc]:{parentPopper:this}}},inject:{[pc]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:_e("disabled")},positioningDisabled:{type:Boolean,default:_e("positioningDisabled")},placement:{type:String,default:_e("placement"),validator:e=>ov.includes(e)},delay:{type:[String,Number,Object],default:_e("delay")},distance:{type:[Number,String],default:_e("distance")},skidding:{type:[Number,String],default:_e("skidding")},triggers:{type:Array,default:_e("triggers")},showTriggers:{type:[Array,Function],default:_e("showTriggers")},hideTriggers:{type:[Array,Function],default:_e("hideTriggers")},popperTriggers:{type:Array,default:_e("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:_e("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:_e("popperHideTriggers")},container:{type:[String,Object,uu,Boolean],default:_e("container")},boundary:{type:[String,uu],default:_e("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:_e("strategy")},autoHide:{type:[Boolean,Function],default:_e("autoHide")},handleResize:{type:Boolean,default:_e("handleResize")},instantMove:{type:Boolean,default:_e("instantMove")},eagerMount:{type:Boolean,default:_e("eagerMount")},popperClass:{type:[String,Array,Object],default:_e("popperClass")},computeTransformOrigin:{type:Boolean,default:_e("computeTransformOrigin")},autoMinSize:{type:Boolean,default:_e("autoMinSize")},autoSize:{type:[Boolean,String],default:_e("autoSize")},autoMaxSize:{type:Boolean,default:_e("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:_e("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:_e("preventOverflow")},overflowPadding:{type:[Number,String],default:_e("overflowPadding")},arrowPadding:{type:[Number,String],default:_e("arrowPadding")},arrowOverflow:{type:Boolean,default:_e("arrowOverflow")},flip:{type:Boolean,default:_e("flip")},shift:{type:Boolean,default:_e("shift")},shiftCrossAxis:{type:Boolean,default:_e("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:_e("noAutoFocus")},disposeTimeout:{type:Number,default:_e("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[pc])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var s,r;(s=this.parentPopper)!=null&&s.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(tA({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(JN({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(nA({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(ZN({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(YN({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:s,rects:r,middlewareData:i})=>{let o;const{centerOffset:l}=i.arrow;return s.startsWith("top")||s.startsWith("bottom")?o=Math.abs(l)>r.reference.width/2:o=Math.abs(l)>r.reference.height/2,{data:{overflow:o}}}}),this.autoMinSize||this.autoSize){const s=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:r,placement:i,middlewareData:o})=>{var l;if((l=o.autoSize)!=null&&l.skip)return{};let a,c;return i.startsWith("top")||i.startsWith("bottom")?a=r.reference.width:c=r.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=a!=null?`${a}px`:null,this.$_innerNode.style[s==="min"?"minHeight":s==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(sA({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:s,availableHeight:r})=>{this.$_innerNode.style.maxWidth=s!=null?`${s}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const n=await lA(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),qs&&this.instantMove&&qs.instantMove&&qs!==this.parentPopper){qs.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(qs=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await hc(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...jl(this.$_referenceNode),...jl(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),s=n.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(s.left+n.offsetLeft),i=t.y+t.height/2-(s.top+n.offsetTop);this.result.transformOrigin=`${r}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<cn.length;n++)t=cn[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}cn.push(this),document.body.classList.add("v-popper--some-open");for(const t of tp(this.theme))op(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await hc(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,rp(cn,this),cn.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of tp(this.theme)){const s=op(n);rp(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}qs===this&&(qs=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await hc(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,np,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],np,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,sp,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],sp,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(s=>s.addEventListener(t,n,oi?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,s,r){let i=n;s!=null&&(i=typeof s=="function"?s(i):s),i.forEach(o=>{const l=t[o];l&&this.$_registerEventListeners(e,l,r)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:s,eventType:r,handler:i}=n;!e||e===r?s.forEach(o=>o.removeEventListener(r,i)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const s=n.getAttribute(e);s&&(n.removeAttribute(e),n.setAttribute(t,s))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const s=e[n];s==null?t.removeAttribute(n):t.setAttribute(n,s)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Li>=e.left&&Li<=e.right&&Mi>=e.top&&Mi<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Li-ps,s=Mi-ms,r=t.left+t.width/2-ps+(t.top+t.height/2)-ms+t.width+t.height,i=ps+n*r,o=ms+s*r;return Jo(ps,ms,i,o,t.left,t.top,t.left,t.bottom)||Jo(ps,ms,i,o,t.left,t.top,t.right,t.top)||Jo(ps,ms,i,o,t.right,t.top,t.right,t.bottom)||Jo(ps,ms,i,o,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(iv){const e=oi?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>lp(t,!0),e),document.addEventListener("touchend",t=>ap(t,!0),e)}else window.addEventListener("mousedown",e=>lp(e,!1),!0),window.addEventListener("click",e=>ap(e,!1),!0);window.addEventListener("resize",uA)}function lp(e,t){if(pn.autoHideOnMousedown)av(e,t);else for(let n=0;n<cn.length;n++){const s=cn[n];try{s.mouseDownContains=s.popperNode().contains(e.target)}catch{}}}function ap(e,t){pn.autoHideOnMousedown||av(e,t)}function av(e,t){const n={};for(let s=cn.length-1;s>=0;s--){const r=cn[s];try{const i=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!n[r.randomId]&&cp(r,i,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let l=r.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let o=r.parentPopper;for(;o&&cp(o,o.containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function cp(e,t,n){return n.closeAllPopover||n.closePopover&&t||cA(e,n)&&!t}function cA(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function uA(){for(let e=0;e<cn.length;e++)cn[e].$_computePosition()}let ps=0,ms=0,Li=0,Mi=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{ps=Li,ms=Mi,Li=e.clientX,Mi=e.clientY},oi?{passive:!0}:void 0);function Jo(e,t,n,s,r,i,o,l){const a=((o-r)*(t-i)-(l-i)*(e-r))/((l-i)*(n-e)-(o-r)*(s-t)),c=((n-e)*(t-i)-(s-t)*(e-r))/((l-i)*(n-e)-(o-r)*(s-t));return a>=0&&a<=1&&c>=0&&c<=1}const fA={extends:lv()},Ha=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function dA(e,t,n,s,r,i){return Mt(),Yr("div",{ref:"reference",class:rs(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Gi(e.$slots,"default",Pu(ef(e.slotData)))],2)}const hA=Ha(fA,[["render",dA]]);function pA(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var s=e.indexOf("rv:");return parseInt(e.substring(s+3,e.indexOf(".",s)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let pl;function fu(){fu.init||(fu.init=!0,pl=pA()!==-1)}var Va={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){fu(),Ht(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",pl&&this.$el.appendChild(e),e.data="about:blank",pl||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!pl&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const mA=ng();eg("data-v-b329ee4c");const gA={class:"resize-observer",tabindex:"-1"};tg();const _A=mA((e,t,n,s,r,i)=>(Mt(),ts("div",gA)));Va.render=_A;Va.__scopeId="data-v-b329ee4c";Va.__file="src/components/ResizeObserver.vue";const cv=(e="theme")=>({computed:{themeClass(){return aA(this[e])}}}),yA=Ut({name:"VPopperContent",components:{ResizeObserver:Va},mixins:[cv()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),vA=["id","aria-hidden","tabindex","data-popper-placement"],EA={ref:"inner",class:"v-popper__inner"},bA=On("div",{class:"v-popper__arrow-outer"},null,-1),TA=On("div",{class:"v-popper__arrow-inner"},null,-1),SA=[bA,TA];function wA(e,t,n,s,r,i){const o=dr("ResizeObserver");return Mt(),Yr("div",{id:e.popperId,ref:"popover",class:rs(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:zn(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=m_(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[On("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),On("div",{class:"v-popper__wrapper",style:zn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[On("div",EA,[e.mounted?(Mt(),Yr(Ge,{key:0},[On("div",null,[Gi(e.$slots,"default")]),e.handleResize?(Mt(),ts(o,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):Vc("",!0)],64)):Vc("",!0)],512),On("div",{ref:"arrow",class:"v-popper__arrow-container",style:zn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},SA,4)],4)],46,vA)}const uv=Ha(yA,[["render",wA]]),fv={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let du=function(){};typeof window<"u"&&(du=window.Element);const CA=Ut({name:"VPopperWrapper",components:{Popper:hA,PopperContent:uv},mixins:[fv,cv("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,du,Boolean],default:void 0},boundary:{type:[String,du],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function OA(e,t,n,s,r,i){const o=dr("PopperContent"),l=dr("Popper");return Mt(),ts(l,ma({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=a=>e.$emit("update:shown",a)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:fr(({popperId:a,isShown:c,shouldMountContent:f,skipTransition:u,autoHide:h,show:p,hide:m,handleResize:d,onResize:E,classes:g,result:v})=>[Gi(e.$slots,"default",{shown:c,show:p,hide:m}),Le(o,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:c,mounted:f,"skip-transition":u,"auto-hide":h,"handle-resize":d,classes:g,result:v,onHide:m,onResize:E},{default:fr(()=>[Gi(e.$slots,"popper",{shown:c,hide:m})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const jf=Ha(CA,[["render",OA]]),NA={...jf,name:"VDropdown",vPopperTheme:"dropdown"},AA={...jf,name:"VMenu",vPopperTheme:"menu"},PA={...jf,name:"VTooltip",vPopperTheme:"tooltip"},IA=Ut({name:"VTooltipDirective",components:{Popper:lv(),PopperContent:uv},mixins:[fv],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>uo(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>uo(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(s=>this.onResult(t,s)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),RA=["innerHTML"],LA=["textContent"];function MA(e,t,n,s,r,i){const o=dr("PopperContent"),l=dr("Popper");return Mt(),ts(l,ma({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:fr(({popperId:a,isShown:c,shouldMountContent:f,skipTransition:u,autoHide:h,hide:p,handleResize:m,onResize:d,classes:E,result:g})=>[Le(o,{ref:"popperContent",class:rs({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:c,mounted:f,"skip-transition":u,"auto-hide":h,"handle-resize":m,classes:E,result:g,onHide:p,onResize:d},{default:fr(()=>[e.html?(Mt(),Yr("div",{key:0,innerHTML:e.finalContent},null,8,RA)):(Mt(),Yr("div",{key:1,textContent:ea(e.finalContent)},null,8,LA))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const kA=Ha(IA,[["render",MA]]),dv="v-popper--has-tooltip";function xA(e,t){let n=e.placement;if(!n&&t)for(const s of ov)t[s]&&(n=s);return n||(n=uo(e.theme||"tooltip","placement")),n}function hv(e,t,n){let s;const r=typeof t;return r==="string"?s={content:t}:t&&r==="object"?s=t:s={content:!1},s.placement=xA(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let mc,fo,DA=0;function FA(){if(mc)return;fo=it([]),mc=Qi({name:"VTooltipDirectiveApp",setup(){return{directives:fo}},render(){return this.directives.map(t=>Tr(kA,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),mc.mount(e)}function $A(e,t,n){FA();const s=it(hv(e,t,n)),r=it(!1),i={id:DA++,options:s,shown:r};return fo.value.push(i),e.classList&&e.classList.add(dv),e.$_popper={options:s,item:i,show(){r.value=!0},hide(){r.value=!1}}}function pv(e){if(e.$_popper){const t=fo.value.indexOf(e.$_popper.item);t!==-1&&fo.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(dv)}function up(e,{value:t,modifiers:n}){const s=hv(e,t,n);if(!s.content||uo(s.theme||"tooltip","disabled"))pv(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=$A(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const HA={beforeMount:up,updated:up,beforeUnmount(e){pv(e)}};function fp(e){e.addEventListener("mousedown",Wl),e.addEventListener("click",Wl),e.addEventListener("touchstart",mv,oi?{passive:!0}:!1)}function dp(e){e.removeEventListener("mousedown",Wl),e.removeEventListener("click",Wl),e.removeEventListener("touchstart",mv),e.removeEventListener("touchend",gv),e.removeEventListener("touchcancel",_v)}function Wl(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function mv(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",gv),t.addEventListener("touchcancel",_v)}}function gv(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],s=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-s.screenY)<20&&Math.abs(n.screenX-s.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function _v(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const VA={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&fp(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?fp(e):dp(e))},beforeUnmount(e){dp(e)}};function UA(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,rv(pn,t),e.directive("tooltip",HA),e.directive("close-popper",VA),e.component("VTooltip",PA),e.component("VDropdown",NA),e.component("VMenu",AA))}const BA={version:"5.2.2",install:UA,options:pn},jA=e=>{const t={};Object.entries(Object.assign({"/src/layouts/board-layout.vue":()=>et(()=>import("./board-layout-DrWRfbCv.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url),"/src/layouts/default.vue":()=>et(()=>import("./default-BzUSPED6.js"),__vite__mapDeps([9,1,2,3,4,5,6,7,8]),import.meta.url),"/src/layouts/headless.vue":()=>et(()=>import("./headless-BRQIRaS0.js"),__vite__mapDeps([10,7]),import.meta.url),"/src/layouts/home.vue":()=>et(()=>import("./home-DiH_R9s9.js"),__vite__mapDeps([11,1,2,3,4,5,7]),import.meta.url),"/src/layouts/index-layout.vue":()=>et(()=>import("./index-layout-DW6DHLVB.js"),__vite__mapDeps([12,1,2,3,4,5,6,7,8]),import.meta.url)})).forEach(([r,i])=>{let o=r.replace("/src/layouts/","").replace(".vue","");t[o]=i});function s(r,i=!0){return r.map(o=>{var l,a,c,f,u,h;if(((l=o.children)==null?void 0:l.length)>0&&(o.children=s(o.children,!1)),i){if(!o.component&&((a=o.children)==null?void 0:a.find(m=>{var d;return(m.path===""||m.path==="/")&&((d=m.meta)==null?void 0:d.isLayout)})))return o;if(((c=o.meta)==null?void 0:c.layout)!==!1)return{path:o.path,component:t[((f=o.meta)==null?void 0:f.layout)||"default"],children:o.path==="/"?[o]:[{...o,path:""}],meta:{isLayout:!0}}}return(u=o.meta)!=null&&u.layout?{path:o.path,component:t[(h=o.meta)==null?void 0:h.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return s(e)},WA=new Set(["link","style","script","noscript"]),KA=new Set(["title","titleTemplate","script","style","noscript"]),hp=new Set(["base","meta","link","style","script","noscript"]),XA=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),qA=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),GA=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),zA=new Set(["templateParams","htmlAttrs","bodyAttrs"]),YA=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),QA=["name","property","http-equiv"];function yv(e){const t=e.split(":")[1];return YA.has(t)}function hu(e){const{props:t,tag:n}=e;if(qA.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const s of QA)if(t[s]!==void 0)return`${n}:${t[s]}`}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(KA.has(n)){const s=e.textContent||e.innerHTML;if(s)return`${n}:content:${s}`}}function pp(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([s,r])=>`${s}:${String(r)}`).join(",")}`}function Kl(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let r;if(t&&(r=t(n,e)),Array.isArray(r))return r.map(i=>Kl(i,t));if((r==null?void 0:r.constructor)===Object){const i={};for(const o of Object.keys(r))i[o]=Kl(r[o],t,o);return i}return r}function JA(e,t){const n=e==="style"?new Map:new Set;function s(r){const i=r.trim();if(i)if(e==="style"){const[o,...l]=i.split(":").map(a=>a.trim());o&&l.length&&n.set(o,l.join(":"))}else i.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof t=="string"?e==="style"?t.split(";").forEach(s):s(t):Array.isArray(t)?t.forEach(r=>s(r)):t&&typeof t=="object"&&Object.entries(t).forEach(([r,i])=>{i&&i!=="false"&&(e==="style"?n.set(r.trim(),i):s(r))}),n}function vv(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,s])=>{if(s===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=JA(n,s);return}if(GA.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof s=="object"){let o=t.type;if(t.type||(o="application/json"),!(o!=null&&o.endsWith("json"))&&o!=="speculationrules")return;t.type=o,e.props.type=o,e[n]=JSON.stringify(s)}else e[n]=s;return}const r=String(s),i=n.startsWith("data-");r==="true"||r===""?e.props[n]=i?r:!0:!s&&i&&r==="false"?e.props[n]="false":s!==void 0&&(e.props[n]=s)}),e}function ZA(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},s=vv({tag:e,props:{}},n);return s.key&&WA.has(s.tag)&&(s.props["data-hid"]=s._h=s.key),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(r=>({...s,props:{...s.props,content:r}})):s}function eP(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(r,i)=>{for(let o=0;o<t.length;o++)i=t[o](r,i);return i};e=n(void 0,e);const s=[];return e=Kl(e,n),Object.entries(e||{}).forEach(([r,i])=>{if(i!==void 0)for(const o of Array.isArray(i)?i:[i])s.push(ZA(r,o))}),s.flat()}const mp=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,gp={base:-10,title:10},tP={critical:-8,high:-1,low:2},_p={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},nP=/@import/,yi=e=>e===""||e===!0;function sP(e,t){var i;if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const s=tP[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:_p;if(t.tag in gp)n=gp[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=_p.meta[o])}else t.tag==="link"&&t.props.rel?n=r.link[t.props.rel]:t.tag==="script"?yi(t.props.async)?n=r.script.async:t.props.src&&!yi(t.props.defer)&&!yi(t.props.async)&&t.props.type!=="module"&&!((i=t.props.type)!=null&&i.endsWith("json"))?n=r.script.sync:yi(t.props.defer)&&t.props.src&&!yi(t.props.async)&&(n=r.script.defer):t.tag==="style"&&(n=t.innerHTML&&nP.test(t.innerHTML)?r.style.imported:r.style.sync);return(n||100)+s}function yp(e,t){const n=typeof t=="function"?t(e):t,s=n.key||String(e.plugins.size+1);e.plugins.get(s)||(e.plugins.set(s,n),e.hooks.addHooks(n.hooks||{}))}function rP(e={}){var l;const t=Qw();t.addHooks(e.hooks||{});const n=!e.document,s=new Map,r=new Map,i=[],o={_entryCount:1,plugins:r,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:s,headEntries(){return[...s.values()]},use:a=>yp(o,a),push(a,c){const f={...c||{}};delete f.head;const u=f._index??o._entryCount++,h={_i:u,input:a,options:f},p={_poll(m=!1){o.dirty=!0,!m&&i.push(u),t.callHook("entries:updated",o)},dispose(){s.delete(u)&&p._poll(!0)},patch(m){(!f.mode||f.mode==="server"&&n||f.mode==="client"&&!n)&&(h.input=m,s.set(u,h),p._poll())}};return p.patch(a),p},async resolveTags(){var p;const a={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",a);i.length;){const m=i.shift(),d=s.get(m);if(d){const E={tags:eP(d.input,e.propResolvers||[]).map(g=>Object.assign(g,d.options)),entry:d};await t.callHook("entries:normalize",E),d._tags=E.tags.map((g,v)=>(g._w=sP(o,g),g._p=(d._i<<10)+v,g._d=hu(g),g))}}let c=!1;a.entries.flatMap(m=>(m._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(mp).reduce((m,d)=>{const E=String(d._d||d._p);if(!m.has(E))return m.set(E,d);const g=m.get(E);if(((d==null?void 0:d.tagDuplicateStrategy)||(zA.has(d.tag)?"merge":null)||(d.key&&d.key===g.key?"merge":null))==="merge"){const _={...g.props};Object.entries(d.props).forEach(([y,b])=>_[y]=y==="style"?new Map([...g.props.style||new Map,...b]):y==="class"?new Set([...g.props.class||new Set,...b]):b),m.set(E,{...d,props:_})}else d._p>>10===g._p>>10&&yv(d._d)?(m.set(E,Object.assign([...Array.isArray(g)?g:[g],d],d)),c=!0):(d._w===g._w?d._p>g._p:(d==null?void 0:d._w)<(g==null?void 0:g._w))&&m.set(E,d);return m},a.tagMap);const f=a.tagMap.get("title"),u=a.tagMap.get("titleTemplate");if(o._title=f==null?void 0:f.textContent,u){const m=u==null?void 0:u.textContent;if(o._titleTemplate=m,m){let d=typeof m=="function"?m(f==null?void 0:f.textContent):m;typeof d=="string"&&!o.plugins.has("template-params")&&(d=d.replace("%s",(f==null?void 0:f.textContent)||"")),f?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...f,textContent:d}):(u.tag="title",u.textContent=d)}}a.tags=Array.from(a.tagMap.values()),c&&(a.tags=a.tags.flat().sort(mp)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const h=[];for(const m of a.tags){const{innerHTML:d,tag:E,props:g}=m;if(XA.has(E)&&!(Object.keys(g).length===0&&!m.innerHTML&&!m.textContent)&&!(E==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(E==="script"&&d){if((p=g.type)!=null&&p.endsWith("json")){const v=typeof d=="string"?d:JSON.stringify(d);m.innerHTML=v.replace(/</g,"\\u003C")}else typeof d=="string"&&(m.innerHTML=d.replace(new RegExp(`</${E}`,"g"),`<\\/${E}`));m._d=hu(m)}h.push(m)}}return h}};return((e==null?void 0:e.plugins)||[]).forEach(a=>yp(o,a)),o.hooks.callHook("init",o),(l=e.init)==null||l.forEach(a=>a&&o.push(a)),o}async function Ev(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{var p;const i=new Map,o=new Promise(m=>{e.resolveTags().then(d=>{m(d.map(E=>{const g=i.get(E._d)||0,v={tag:E,id:(g?`${E._d}:${g}`:E._d)||pp(E),shouldRender:!0};return E._d&&yv(E._d)&&i.set(E._d,g+1),v}))})});let l=e._dom;if(!l){l={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const m of["body","head"]){const d=(p=n[m])==null?void 0:p.children;for(const E of d){const g=E.tagName.toLowerCase();if(!hp.has(g))continue;const v=vv({tag:g,props:{}},{innerHTML:E.innerHTML,...E.getAttributeNames().reduce((_,y)=>(_[y]=E.getAttribute(y),_),{})||{}});if(v.key=E.getAttribute("data-hid")||void 0,v._d=hu(v)||pp(v),l.elMap.has(v._d)){let _=1,y=v._d;for(;l.elMap.has(y);)y=`${v._d}:${_++}`;l.elMap.set(y,E)}else l.elMap.set(v._d,E)}}}l.pendingSideEffects={...l.sideEffects},l.sideEffects={};function a(m,d,E){const g=`${m}:${d}`;l.sideEffects[g]=E,delete l.pendingSideEffects[g]}function c({id:m,$el:d,tag:E}){const g=E.tag.endsWith("Attrs");l.elMap.set(m,d),g||(E.textContent&&E.textContent!==d.textContent&&(d.textContent=E.textContent),E.innerHTML&&E.innerHTML!==d.innerHTML&&(d.innerHTML=E.innerHTML),a(m,"el",()=>{d==null||d.remove(),l.elMap.delete(m)}));for(const v in E.props){if(!Object.prototype.hasOwnProperty.call(E.props,v))continue;const _=E.props[v];if(v.startsWith("on")&&typeof _=="function"){const b=d==null?void 0:d.dataset;if(b&&b[`${v}fired`]){const N=v.slice(0,-5);_.call(d,new Event(N.substring(2)))}d.getAttribute(`data-${v}`)!==""&&((E.tag==="bodyAttrs"?n.defaultView:d).addEventListener(v.substring(2),_.bind(d)),d.setAttribute(`data-${v}`,""));continue}const y=`attr:${v}`;if(v==="class"){if(!_)continue;for(const b of _)g&&a(m,`${y}:${b}`,()=>d.classList.remove(b)),!d.classList.contains(b)&&d.classList.add(b)}else if(v==="style"){if(!_)continue;for(const[b,N]of _)a(m,`${y}:${b}`,()=>{d.style.removeProperty(b)}),d.style.setProperty(b,N)}else _!==!1&&_!==null&&(d.getAttribute(v)!==_&&d.setAttribute(v,_===!0?"":String(_)),g&&a(m,y,()=>d.removeAttribute(v)))}}const f=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await o;for(const m of h){const{tag:d,shouldRender:E,id:g}=m;if(E){if(d.tag==="title"){n.title=d.textContent,a("title","",()=>n.title=l.title);continue}m.$el=m.$el||l.elMap.get(g),m.$el?c(m):hp.has(d.tag)&&f.push(m)}}for(const m of f){const d=m.tag.tagPosition||"head";m.$el=n.createElement(m.tag.tag),c(m),u[d]=u[d]||n.createDocumentFragment(),u[d].appendChild(m.$el)}for(const m of h)await e.hooks.callHook("dom:renderTag",m,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const m in l.pendingSideEffects)l.pendingSideEffects[m]();e._dom=l,await e.hooks.callHook("dom:rendered",{renders:h}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function iP(e={}){var s,r,i;const t=((s=e.domOptions)==null?void 0:s.render)||Ev;e.document=e.document||(typeof window<"u"?document:void 0);const n=((i=(r=e.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:i.innerHTML)||!1;return rP({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function oP(e,t){let n=0;return()=>{const s=++n;t(()=>{n===s&&e()})}}const lP=(e,t)=>Se(t)?ae(t):t,bv="usehead";function aP(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(bv,e)}}.install}function cP(){if(So()){const e=St(bv);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function uP(e,t={}){const n=t.head||cP();return n.ssr?n.push(e||{},t):fP(n,e,t)}function fP(e,t,n={}){const s=it(!1);let r;return Zu(()=>{const o=s.value?{}:Kl(t,lP);r?r.patch(o):r=e.push(o,n)}),Ze()&&(bo(()=>{r.dispose()}),Ku(()=>{s.value=!0}),Wu(()=>{s.value=!1})),r}function dP(e={}){const t=iP({domOptions:{render:oP(()=>Ev(t),n=>setTimeout(n,0))},...e});return t.install=aP(t),t}/*!
64
64
  * vue-router v4.5.0
65
65
  * (c) 2024 Eduardo San Martin Morote
66
66
  * @license MIT
67
- */const Rr=typeof document<"u";function Tv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function hP(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Tv(e.default)}const Ne=Object.assign;function gc(e,t){const n={};for(const s in t){const r=t[s];n[s]=_n(r)?r.map(e):e(r)}return n}const ki=()=>{},_n=Array.isArray,Sv=/#/g,pP=/&/g,mP=/\//g,gP=/=/g,_P=/\?/g,wv=/\+/g,yP=/%5B/g,vP=/%5D/g,Cv=/%5E/g,EP=/%60/g,Ov=/%7B/g,bP=/%7C/g,Nv=/%7D/g,TP=/%20/g;function Wf(e){return encodeURI(""+e).replace(bP,"|").replace(yP,"[").replace(vP,"]")}function SP(e){return Wf(e).replace(Ov,"{").replace(Nv,"}").replace(Cv,"^")}function pu(e){return Wf(e).replace(wv,"%2B").replace(TP,"+").replace(Sv,"%23").replace(pP,"%26").replace(EP,"`").replace(Ov,"{").replace(Nv,"}").replace(Cv,"^")}function wP(e){return pu(e).replace(gP,"%3D")}function CP(e){return Wf(e).replace(Sv,"%23").replace(_P,"%3F")}function OP(e){return e==null?"":CP(e).replace(mP,"%2F")}function ho(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const NP=/\/$/,AP=e=>e.replace(NP,"");function _c(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let a=t.indexOf("?");return l<a&&l>=0&&(a=-1),a>-1&&(s=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),r=e(i)),l>-1&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=LP(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:ho(o)}}function PP(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function vp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function IP(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&li(t.matched[s],n.matched[r])&&Av(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function li(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Av(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!RP(e[n],t[n]))return!1;return!0}function RP(e,t){return _n(e)?Ep(e,t):_n(t)?Ep(t,e):e===t}function Ep(e,t){return _n(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function LP(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const us={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var po;(function(e){e.pop="pop",e.push="push"})(po||(po={}));var xi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(xi||(xi={}));function MP(e){if(!e)if(Rr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),AP(e)}const kP=/^[^#]+#/;function xP(e,t){return e.replace(kP,"#")+t}function DP(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Ua=()=>({left:window.scrollX,top:window.scrollY});function FP(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=DP(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function bp(e,t){return(history.state?history.state.position-t:-1)+e}const mu=new Map;function $P(e,t){mu.set(e,t)}function HP(e){const t=mu.get(e);return mu.delete(e),t}let VP=()=>location.protocol+"//"+location.host;function Pv(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let l=r.includes(e.slice(i))?e.slice(i).length:1,a=r.slice(l);return a[0]!=="/"&&(a="/"+a),vp(a,"")}return vp(n,e)+s+r}function UP(e,t,n,s){let r=[],i=[],o=null;const l=({state:h})=>{const p=Pv(e,location),m=n.value,d=t.value;let E=0;if(h){if(n.value=p,t.value=h,o&&o===m){o=null;return}E=d?h.position-d.position:0}else s(p);r.forEach(g=>{g(n.value,m,{delta:E,type:po.pop,direction:E?E>0?xi.forward:xi.back:xi.unknown})})};function a(){o=n.value}function c(h){r.push(h);const p=()=>{const m=r.indexOf(h);m>-1&&r.splice(m,1)};return i.push(p),p}function f(){const{history:h}=window;h.state&&h.replaceState(Ne({},h.state,{scroll:Ua()}),"")}function u(){for(const h of i)h();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:a,listen:c,destroy:u}}function Tp(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Ua():null}}function BP(e){const{history:t,location:n}=window,s={value:Pv(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(a,c,f){const u=e.indexOf("#"),h=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+a:VP()+e+a;try{t[f?"replaceState":"pushState"](c,"",h),r.value=c}catch(p){console.error(p),n[f?"replace":"assign"](h)}}function o(a,c){const f=Ne({},t.state,Tp(r.value.back,a,r.value.forward,!0),c,{position:r.value.position});i(a,f,!0),s.value=a}function l(a,c){const f=Ne({},r.value,t.state,{forward:a,scroll:Ua()});i(f.current,f,!0);const u=Ne({},Tp(s.value,a,null),{position:f.position+1},c);i(a,u,!1),s.value=a}return{location:s,state:r,push:l,replace:o}}function jP(e){e=MP(e);const t=BP(e),n=UP(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Ne({location:"",base:e,go:s,createHref:xP.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function WP(e){return typeof e=="string"||e&&typeof e=="object"}function Iv(e){return typeof e=="string"||typeof e=="symbol"}const Rv=Symbol("");var Sp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Sp||(Sp={}));function ai(e,t){return Ne(new Error,{type:e,[Rv]:!0},t)}function Fn(e,t){return e instanceof Error&&Rv in e&&(t==null||!!(e.type&t))}const wp="[^/]+?",KP={sensitive:!1,strict:!1,start:!0,end:!0},XP=/[.+*?^${}()[\]/\\]/g;function qP(e,t){const n=Ne({},KP,t),s=[];let r=n.start?"^":"";const i=[];for(const c of e){const f=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let u=0;u<c.length;u++){const h=c[u];let p=40+(n.sensitive?.25:0);if(h.type===0)u||(r+="/"),r+=h.value.replace(XP,"\\$&"),p+=40;else if(h.type===1){const{value:m,repeatable:d,optional:E,regexp:g}=h;i.push({name:m,repeatable:d,optional:E});const v=g||wp;if(v!==wp){p+=10;try{new RegExp(`(${v})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${m}" (${v}): `+y.message)}}let _=d?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;u||(_=E&&c.length<2?`(?:/${_})`:"/"+_),E&&(_+="?"),r+=_,p+=20,E&&(p+=-8),d&&(p+=-20),v===".*"&&(p+=-50)}f.push(p)}s.push(f)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(c){const f=c.match(o),u={};if(!f)return null;for(let h=1;h<f.length;h++){const p=f[h]||"",m=i[h-1];u[m.name]=p&&m.repeatable?p.split("/"):p}return u}function a(c){let f="",u=!1;for(const h of e){(!u||!f.endsWith("/"))&&(f+="/"),u=!1;for(const p of h)if(p.type===0)f+=p.value;else if(p.type===1){const{value:m,repeatable:d,optional:E}=p,g=m in c?c[m]:"";if(_n(g)&&!d)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const v=_n(g)?g.join("/"):g;if(!v)if(E)h.length<2&&(f.endsWith("/")?f=f.slice(0,-1):u=!0);else throw new Error(`Missing required param "${m}"`);f+=v}}return f||"/"}return{re:o,score:s,keys:i,parse:l,stringify:a}}function GP(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;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 Lv(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=GP(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(Cp(s))return 1;if(Cp(r))return-1}return r.length-s.length}function Cp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const zP={type:0,value:""},YP=/[a-zA-Z0-9_]/;function QP(e){if(!e)return[[]];if(e==="/")return[[zP]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,a,c="",f="";function u(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:f,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:a==="/"?(c&&u(),o()):a===":"?(u(),n=1):h();break;case 4:h(),n=s;break;case 1:a==="("?n=2:YP.test(a)?h():(u(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case 2:a===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+a:n=3:f+=a;break;case 3:u(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--,f="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),u(),o(),r}function JP(e,t,n){const s=qP(QP(e.path),n),r=Ne(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ZP(e,t){const n=[],s=new Map;t=Pp({strict:!1,end:!0,sensitive:!1},t);function r(u){return s.get(u)}function i(u,h,p){const m=!p,d=Np(u);d.aliasOf=p&&p.record;const E=Pp(t,u),g=[d];if("alias"in u){const y=typeof u.alias=="string"?[u.alias]:u.alias;for(const b of y)g.push(Np(Ne({},d,{components:p?p.record.components:d.components,path:b,aliasOf:p?p.record:d})))}let v,_;for(const y of g){const{path:b}=y;if(h&&b[0]!=="/"){const N=h.record.path,A=N[N.length-1]==="/"?"":"/";y.path=h.record.path+(b&&A+b)}if(v=JP(y,h,E),p?p.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),m&&u.name&&!Ap(v)&&o(u.name)),Mv(v)&&a(v),d.children){const N=d.children;for(let A=0;A<N.length;A++)i(N[A],v,p&&p.children[A])}p=p||v}return _?()=>{o(_)}:ki}function o(u){if(Iv(u)){const h=s.get(u);h&&(s.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&s.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function l(){return n}function a(u){const h=n1(u,n);n.splice(h,0,u),u.record.name&&!Ap(u)&&s.set(u.record.name,u)}function c(u,h){let p,m={},d,E;if("name"in u&&u.name){if(p=s.get(u.name),!p)throw ai(1,{location:u});E=p.record.name,m=Ne(Op(h.params,p.keys.filter(_=>!_.optional).concat(p.parent?p.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),u.params&&Op(u.params,p.keys.map(_=>_.name))),d=p.stringify(m)}else if(u.path!=null)d=u.path,p=n.find(_=>_.re.test(d)),p&&(m=p.parse(d),E=p.record.name);else{if(p=h.name?s.get(h.name):n.find(_=>_.re.test(h.path)),!p)throw ai(1,{location:u,currentLocation:h});E=p.record.name,m=Ne({},h.params,u.params),d=p.stringify(m)}const g=[];let v=p;for(;v;)g.unshift(v.record),v=v.parent;return{name:E,path:d,params:m,matched:g,meta:t1(g)}}e.forEach(u=>i(u));function f(){n.length=0,s.clear()}return{addRoute:i,resolve:c,removeRoute:o,clearRoutes:f,getRoutes:l,getRecordMatcher:r}}function Op(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Np(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:e1(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 e1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Ap(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function t1(e){return e.reduce((t,n)=>Ne(t,n.meta),{})}function Pp(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function n1(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;Lv(e,t[i])<0?s=i:n=i+1}const r=s1(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function s1(e){let t=e;for(;t=t.parent;)if(Mv(t)&&Lv(e,t)===0)return t}function Mv({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function r1(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const i=s[r].replace(wv," "),o=i.indexOf("="),l=ho(o<0?i:i.slice(0,o)),a=o<0?null:ho(i.slice(o+1));if(l in t){let c=t[l];_n(c)||(c=t[l]=[c]),c.push(a)}else t[l]=a}return t}function Ip(e){let t="";for(let n in e){const s=e[n];if(n=wP(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(_n(s)?s.map(i=>i&&pu(i)):[s&&pu(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function i1(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=_n(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const o1=Symbol(""),Rp=Symbol(""),Ba=Symbol(""),Kf=Symbol(""),gu=Symbol("");function vi(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function bs(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const c=h=>{h===!1?a(ai(4,{from:n,to:t})):h instanceof Error?a(h):WP(h)?a(ai(2,{from:t,to:h})):(o&&s.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),l())},f=i(()=>e.call(s&&s.instances[r],t,n,c));let u=Promise.resolve(f);e.length<3&&(u=u.then(c)),u.catch(h=>a(h))})}function yc(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const l in o.components){let a=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(Tv(a)){const f=(a.__vccOpts||a)[t];f&&i.push(bs(f,n,s,o,l,r))}else{let c=a();i.push(()=>c.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const u=hP(f)?f.default:f;o.mods[l]=f,o.components[l]=u;const p=(u.__vccOpts||u)[t];return p&&bs(p,n,s,o,l,r)()}))}}return i}function Lp(e){const t=St(Ba),n=St(Kf),s=he(()=>{const a=dn(e.to);return t.resolve(a)}),r=he(()=>{const{matched:a}=s.value,{length:c}=a,f=a[c-1],u=n.matched;if(!f||!u.length)return-1;const h=u.findIndex(li.bind(null,f));if(h>-1)return h;const p=Mp(a[c-2]);return c>1&&Mp(f)===p&&u[u.length-1].path!==p?u.findIndex(li.bind(null,a[c-2])):h}),i=he(()=>r.value>-1&&f1(n.params,s.value.params)),o=he(()=>r.value>-1&&r.value===n.matched.length-1&&Av(n.params,s.value.params));function l(a={}){if(u1(a)){const c=t[dn(e.replace)?"replace":"push"](dn(e.to)).catch(ki);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:he(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}function l1(e){return e.length===1?e[0]:e}const a1=Ut({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Lp,setup(e,{slots:t}){const n=Rn(Lp(e)),{options:s}=St(Ba),r=he(()=>({[kp(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[kp(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&l1(t.default(n));return e.custom?i:Tr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),c1=a1;function u1(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function f1(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!_n(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function Mp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const kp=(e,t,n)=>e??t??n,d1=Ut({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=St(gu),r=he(()=>e.route||s.value),i=St(Rp,0),o=he(()=>{let c=dn(i);const{matched:f}=r.value;let u;for(;(u=f[c])&&!u.components;)c++;return c}),l=he(()=>r.value.matched[o.value]);Oi(Rp,he(()=>o.value+1)),Oi(o1,l),Oi(gu,r);const a=it();return De(()=>[a.value,l.value,e.name],([c,f,u],[h,p,m])=>{f&&(f.instances[u]=c,p&&p!==f&&c&&c===h&&(f.leaveGuards.size||(f.leaveGuards=p.leaveGuards),f.updateGuards.size||(f.updateGuards=p.updateGuards))),c&&f&&(!p||!li(f,p)||!h)&&(f.enterCallbacks[u]||[]).forEach(d=>d(c))},{flush:"post"}),()=>{const c=r.value,f=e.name,u=l.value,h=u&&u.components[f];if(!h)return xp(n.default,{Component:h,route:c});const p=u.props[f],m=p?p===!0?c.params:typeof p=="function"?p(c):p:null,E=Tr(h,Ne({},m,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(u.instances[f]=null)},ref:a}));return xp(n.default,{Component:E,route:c})||E}}});function xp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const h1=d1;function p1(e){const t=ZP(e.routes,e),n=e.parseQuery||r1,s=e.stringifyQuery||Ip,r=e.history,i=vi(),o=vi(),l=vi(),a=Te(us);let c=us;Rr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=gc.bind(null,U=>""+U),u=gc.bind(null,OP),h=gc.bind(null,ho);function p(U,Z){let z,te;return Iv(U)?(z=t.getRecordMatcher(U),te=Z):te=U,t.addRoute(te,z)}function m(U){const Z=t.getRecordMatcher(U);Z&&t.removeRoute(Z)}function d(){return t.getRoutes().map(U=>U.record)}function E(U){return!!t.getRecordMatcher(U)}function g(U,Z){if(Z=Ne({},Z||a.value),typeof U=="string"){const I=_c(n,U,Z.path),D=t.resolve({path:I.path},Z),W=r.createHref(I.fullPath);return Ne(I,D,{params:h(D.params),hash:ho(I.hash),redirectedFrom:void 0,href:W})}let z;if(U.path!=null)z=Ne({},U,{path:_c(n,U.path,Z.path).path});else{const I=Ne({},U.params);for(const D in I)I[D]==null&&delete I[D];z=Ne({},U,{params:u(I)}),Z.params=u(Z.params)}const te=t.resolve(z,Z),pe=U.hash||"";te.params=f(h(te.params));const Ie=PP(s,Ne({},U,{hash:SP(pe),path:te.path})),w=r.createHref(Ie);return Ne({fullPath:Ie,hash:pe,query:s===Ip?i1(U.query):U.query||{}},te,{redirectedFrom:void 0,href:w})}function v(U){return typeof U=="string"?_c(n,U,a.value.path):Ne({},U)}function _(U,Z){if(c!==U)return ai(8,{from:Z,to:U})}function y(U){return A(U)}function b(U){return y(Ne(v(U),{replace:!0}))}function N(U){const Z=U.matched[U.matched.length-1];if(Z&&Z.redirect){const{redirect:z}=Z;let te=typeof z=="function"?z(U):z;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=v(te):{path:te},te.params={}),Ne({query:U.query,hash:U.hash,params:te.path!=null?{}:U.params},te)}}function A(U,Z){const z=c=g(U),te=a.value,pe=U.state,Ie=U.force,w=U.replace===!0,I=N(z);if(I)return A(Ne(v(I),{state:typeof I=="object"?Ne({},pe,I.state):pe,force:Ie,replace:w}),Z||z);const D=z;D.redirectedFrom=Z;let W;return!Ie&&IP(s,te,z)&&(W=ai(16,{to:D,from:te}),Me(te,te,!0,!1)),(W?Promise.resolve(W):P(D,te)).catch(H=>Fn(H)?Fn(H,2)?H:Ae(H):G(H,D,te)).then(H=>{if(H){if(Fn(H,2))return A(Ne({replace:w},v(H.to),{state:typeof H.to=="object"?Ne({},pe,H.to.state):pe,force:Ie}),Z||D)}else H=R(D,te,!0,w,pe);return M(D,te,H),H})}function C(U,Z){const z=_(U,Z);return z?Promise.reject(z):Promise.resolve()}function S(U){const Z=at.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(U):U()}function P(U,Z){let z;const[te,pe,Ie]=m1(U,Z);z=yc(te.reverse(),"beforeRouteLeave",U,Z);for(const I of te)I.leaveGuards.forEach(D=>{z.push(bs(D,U,Z))});const w=C.bind(null,U,Z);return z.push(w),Be(z).then(()=>{z=[];for(const I of i.list())z.push(bs(I,U,Z));return z.push(w),Be(z)}).then(()=>{z=yc(pe,"beforeRouteUpdate",U,Z);for(const I of pe)I.updateGuards.forEach(D=>{z.push(bs(D,U,Z))});return z.push(w),Be(z)}).then(()=>{z=[];for(const I of Ie)if(I.beforeEnter)if(_n(I.beforeEnter))for(const D of I.beforeEnter)z.push(bs(D,U,Z));else z.push(bs(I.beforeEnter,U,Z));return z.push(w),Be(z)}).then(()=>(U.matched.forEach(I=>I.enterCallbacks={}),z=yc(Ie,"beforeRouteEnter",U,Z,S),z.push(w),Be(z))).then(()=>{z=[];for(const I of o.list())z.push(bs(I,U,Z));return z.push(w),Be(z)}).catch(I=>Fn(I,8)?I:Promise.reject(I))}function M(U,Z,z){l.list().forEach(te=>S(()=>te(U,Z,z)))}function R(U,Z,z,te,pe){const Ie=_(U,Z);if(Ie)return Ie;const w=Z===us,I=Rr?history.state:{};z&&(te||w?r.replace(U.fullPath,Ne({scroll:w&&I&&I.scroll},pe)):r.push(U.fullPath,pe)),a.value=U,Me(U,Z,z,w),Ae()}let x;function X(){x||(x=r.listen((U,Z,z)=>{if(!$e.listening)return;const te=g(U),pe=N(te);if(pe){A(Ne(pe,{replace:!0,force:!0}),te).catch(ki);return}c=te;const Ie=a.value;Rr&&$P(bp(Ie.fullPath,z.delta),Ua()),P(te,Ie).catch(w=>Fn(w,12)?w:Fn(w,2)?(A(Ne(v(w.to),{force:!0}),te).then(I=>{Fn(I,20)&&!z.delta&&z.type===po.pop&&r.go(-1,!1)}).catch(ki),Promise.reject()):(z.delta&&r.go(-z.delta,!1),G(w,te,Ie))).then(w=>{w=w||R(te,Ie,!1),w&&(z.delta&&!Fn(w,8)?r.go(-z.delta,!1):z.type===po.pop&&Fn(w,20)&&r.go(-1,!1)),M(te,Ie,w)}).catch(ki)}))}let Y=vi(),j=vi(),K;function G(U,Z,z){Ae(U);const te=j.list();return te.length?te.forEach(pe=>pe(U,Z,z)):console.error(U),Promise.reject(U)}function re(){return K&&a.value!==us?Promise.resolve():new Promise((U,Z)=>{Y.add([U,Z])})}function Ae(U){return K||(K=!U,X(),Y.list().forEach(([Z,z])=>U?z(U):Z()),Y.reset()),U}function Me(U,Z,z,te){const{scrollBehavior:pe}=e;if(!Rr||!pe)return Promise.resolve();const Ie=!z&&HP(bp(U.fullPath,0))||(te||!z)&&history.state&&history.state.scroll||null;return Ht().then(()=>pe(U,Z,Ie)).then(w=>w&&FP(w)).catch(w=>G(w,U,Z))}const Xe=U=>r.go(U);let lt;const at=new Set,$e={currentRoute:a,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:d,resolve:g,options:e,push:y,replace:b,go:Xe,back:()=>Xe(-1),forward:()=>Xe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:j.add,isReady:re,install(U){const Z=this;U.component("RouterLink",c1),U.component("RouterView",h1),U.config.globalProperties.$router=Z,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>dn(a)}),Rr&&!lt&&a.value===us&&(lt=!0,y(r.location).catch(pe=>{}));const z={};for(const pe in us)Object.defineProperty(z,pe,{get:()=>a.value[pe],enumerable:!0});U.provide(Ba,Z),U.provide(Kf,Du(z)),U.provide(gu,a);const te=U.unmount;at.add(U),U.unmount=function(){at.delete(U),at.size<1&&(c=us,x&&x(),x=null,a.value=us,lt=!1,K=!1),te()}}};function Be(U){return U.reduce((Z,z)=>Z.then(()=>S(z)),Promise.resolve())}return $e}function m1(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const l=t.matched[o];l&&(e.matched.find(c=>li(c,l))?s.push(l):n.push(l));const a=e.matched[o];a&&(t.matched.find(c=>li(c,a))||r.push(a))}return[n,s,r]}function yI(){return St(Ba)}function vI(e){return St(Kf)}function g1(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}const _1=Ut({setup(e,{slots:t}){const n=it(!1);return os(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function y1(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function v1(e,t,n,s){const{transformState:r,registerComponents:i=!0,useHead:o=!0,rootContainer:l="#app"}={};async function a(c=!1,f){const u=Qi(e);let h;o&&u.use(h=dP());const p=p1({history:jP(t.base),...t}),{routes:m}=t;i&&u.component("ClientOnly",_1);const d=[],v={app:u,head:h,isClient:!0,router:p,routes:m,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(d.map(N=>N())),initialState:{},transformState:r,routePath:f};await g1(),v.initialState=(r==null?void 0:r(window.__INITIAL_STATE__||{}))||y1(window.__INITIAL_STATE__),await(n==null?void 0:n(v)),u.use(p);let _,y=!0;p.beforeEach((N,A,C)=>{(y||_&&_===N.path)&&(y=!1,_=N.path,N.meta.state=v.initialState),C()});const b=v.initialState;return{...v,initialState:b}}return(async()=>{const{app:c,router:f}=await a();await f.isReady(),c.mount(l,!0)})(),a}const E1=[{path:"/",name:"/",component:()=>et(()=>import("./index-CPJc3gEW.js"),__vite__mapDeps([13,14,15,5,16,7,17,18,2,3,19,4,20,21]),import.meta.url),meta:{layout:"index-layout"}},{path:"/:all(.*)",name:"/[...all]",component:()=>et(()=>import("./_...all_-Dkuyof0N.js"),__vite__mapDeps([22,23,15,5,4,24,14,7,25,26,27,28,29,30,2,3,31,19,17,18,32,20]),import.meta.url),meta:{layout:"board-layout"}},{path:"/about",name:"/about",component:()=>et(()=>import("./about-Bei-zdpH.js"),[],import.meta.url)},{path:"/balloon",children:[{path:"",name:"/balloon/",component:()=>et(()=>import("./index-Biv_orBr.js"),__vite__mapDeps([33,26,15,5,4,24,14,34,31,19,20,7]),import.meta.url),meta:{layout:"headless"}}]},{path:"/board",name:"/board",component:()=>et(()=>import("./board-DYwZDF6d.js"),__vite__mapDeps([35,29,30,2,3,31,19,15,5,24,4,14,7,17,18,32,34,20]),import.meta.url),meta:{layout:"board-layout"}},{path:"/countdown",children:[{path:"",name:"/countdown/",component:()=>et(()=>import("./index-6jZiIup0.js"),__vite__mapDeps([36,23,15,5,4,24,14,7,25,34,31,19,20]),import.meta.url),meta:{layout:"headless"}}]},{path:"/hi",children:[{path:":name",name:"/hi/[name]",component:()=>et(()=>import("./_name_-DkCB2ylA.js"),__vite__mapDeps([37,38]),import.meta.url)}]},{path:"/rating",children:[{path:"",name:"/rating/",component:()=>et(()=>import("./index-B15dCUpg.js"),__vite__mapDeps([39,16,7,2,3,4,20,40]),import.meta.url),meta:{layout:"index-layout"}},{path:":all(.*)",name:"/rating/[...all]",component:()=>et(()=>import("./_...all_-CWEYFf-1.js"),__vite__mapDeps([41,30,2,3,15,5,4,42]),import.meta.url)}]},{path:"/resolver",children:[{path:"",name:"/resolver/",component:()=>et(()=>import("./index-DIl_xwmv.js"),__vite__mapDeps([43,27,7,15,5,4,24,14,28,34,31,19,20]),import.meta.url),meta:{layout:"headless"}}]},{path:"/test",name:"/test",component:()=>et(()=>import("./test-C0jX_snI.js"),__vite__mapDeps([44,31,19,38,20]),import.meta.url),meta:{layout:"home"}}];function ss(e){return na()?(Lu(e),!0):!1}function vc(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const o=()=>t(i);return ss(o),{off:o}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(o=>o(...i))),clear:()=>{e.clear()}}}const Ec=new WeakMap,b1=(...e)=>{var t;const n=e[0],s=(t=Ze())==null?void 0:t.proxy;if(s==null&&!So())throw new Error("injectLocal must be called in setup");return s&&Ec.has(s)&&n in Ec.get(s)?Ec.get(s)[n]:St(...e)},ci=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const T1=e=>typeof e<"u",kv=e=>e!=null,S1=Object.prototype.toString,w1=e=>S1.call(e)==="[object Object]",mn=()=>{};function $r(...e){if(e.length!==1)return Xm(...e);const t=e[0];return typeof t=="function"?Ls(Hu(()=>({get:t,set:mn}))):it(t)}function Xf(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const xv=e=>e();function C1(e,t={}){let n,s,r=mn;const i=a=>{clearTimeout(a),r(),r=mn};let o;return a=>{const c=ae(e),f=ae(t.maxWait);return n&&i(n),c<=0||f!==void 0&&f<=0?(s&&(i(s),s=null),Promise.resolve(a())):new Promise((u,h)=>{r=t.rejectOnCancel?h:u,o=a,f&&!s&&(s=setTimeout(()=>{n&&i(n),s=null,u(o())},f)),n=setTimeout(()=>{s&&i(s),s=null,u(a())},c)})}}function O1(...e){let t=0,n,s=!0,r=mn,i,o,l,a,c;!Se(e[0])&&typeof e[0]=="object"?{delay:o,trailing:l=!0,leading:a=!0,rejectOnCancel:c=!1}=e[0]:[o,l=!0,a=!0,c=!1]=e;const f=()=>{n&&(clearTimeout(n),n=void 0,r(),r=mn)};return h=>{const p=ae(o),m=Date.now()-t,d=()=>i=h();return f(),p<=0?(t=Date.now(),d()):(m>p&&(a||!s)?(t=Date.now(),d()):l&&(i=new Promise((E,g)=>{r=c?g:E,n=setTimeout(()=>{t=Date.now(),s=!0,E(d()),f()},Math.max(0,p-m))})),!a&&!n&&(n=setTimeout(()=>s=!0,p)),s=!1,i)}}function N1(e=xv,t={}){const{initialState:n="active"}=t,s=$r(n==="active");function r(){s.value=!1}function i(){s.value=!0}const o=(...l)=>{s.value&&e(...l)};return{isActive:Ls(s),pause:r,resume:i,eventFilter:o}}function Dp(e,t=!1,n="Timeout"){return new Promise((s,r)=>{setTimeout(t?()=>r(n):s,e)})}function A1(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const s=t;t=void 0,s&&await s},n}function P1(e,...t){return t.some(n=>n in e)}function Fp(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Di(e){return Array.isArray(e)?e:[e]}function I1(e){return Ze()}function R1(e,t=200,n={}){return Xf(C1(t,n),e)}function L1(e,t=200,n=!1,s=!0,r=!1){return Xf(O1(t,n,s,r),e)}function M1(e,t,n={}){const{eventFilter:s=xv,...r}=n;return De(e,Xf(s,t),r)}function k1(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:o,pause:l,resume:a,isActive:c}=N1(s,{initialState:r});return{stop:M1(e,t,{...i,eventFilter:o}),pause:l,resume:a,isActive:c}}function qf(e,t=!0,n){I1()?os(e,n):t?e():Ht(e)}function _u(e,t=!1){function n(u,{flush:h="sync",deep:p=!1,timeout:m,throwOnTimeout:d}={}){let E=null;const v=[new Promise(_=>{E=De(e,y=>{u(y)!==t&&(E?E():Ht(()=>E==null?void 0:E()),_(y))},{flush:h,deep:p,immediate:!0})})];return m!=null&&v.push(Dp(m,d).then(()=>ae(e)).finally(()=>E==null?void 0:E())),Promise.race(v)}function s(u,h){if(!Se(u))return n(y=>y===u,h);const{flush:p="sync",deep:m=!1,timeout:d,throwOnTimeout:E}=h??{};let g=null;const _=[new Promise(y=>{g=De([e,u],([b,N])=>{t!==(b===N)&&(g?g():Ht(()=>g==null?void 0:g()),y(b))},{flush:p,deep:m,immediate:!0})})];return d!=null&&_.push(Dp(d,E).then(()=>ae(e)).finally(()=>(g==null||g(),ae(e)))),Promise.race(_)}function r(u){return n(h=>!!h,u)}function i(u){return s(null,u)}function o(u){return s(void 0,u)}function l(u){return n(Number.isNaN,u)}function a(u,h){return n(p=>{const m=Array.from(p);return m.includes(u)||m.includes(ae(u))},h)}function c(u){return f(1,u)}function f(u=1,h){let p=-1;return n(()=>(p+=1,p>=u),h)}return Array.isArray(ae(e))?{toMatch:n,toContains:a,changed:c,changedTimes:f,get not(){return _u(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:r,toBeNull:i,toBeNaN:l,toBeUndefined:o,changed:c,changedTimes:f,get not(){return _u(e,!t)}}}function x1(e){return _u(e)}function D1(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let i=null;const o=Te(!1);function l(){i&&(clearInterval(i),i=null)}function a(){o.value=!1,l()}function c(){const f=ae(t);f<=0||(o.value=!0,r&&e(),l(),o.value&&(i=setInterval(e,f)))}if(s&&ci&&c(),Se(t)||typeof t=="function"){const f=De(t,()=>{o.value&&ci&&c()});ss(f)}return ss(a),{isActive:Fu(o),pause:a,resume:c}}function Dv(e,t,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n,i=Te(!1);let o=null;function l(){o&&(clearTimeout(o),o=null)}function a(){i.value=!1,l()}function c(...f){r&&e(),l(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=null,e(...f)},ae(t))}return s&&(i.value=!0,ci&&c()),ss(a),{isPending:Fu(i),start:c,stop:a}}function F1(e=!1,t={}){const{truthyValue:n=!0,falsyValue:s=!1}=t,r=Se(e),i=Te(e);function o(l){if(arguments.length)return i.value=l,i.value;{const a=ae(n);return i.value=i.value===a?ae(s):a,i.value}}return r?o:[i,o]}function $1(e,t,n){return De(e,t,{...n,immediate:!0})}function H1(e,t,n){const s=De(e,(...r)=>(Ht(()=>s()),t(...r)),n);return s}const Vt=ci?window:void 0,Fv=ci?window.document:void 0,$v=ci?window.navigator:void 0;function ur(e){var t;const n=ae(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Xt(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},s=(l,a,c,f)=>(l.addEventListener(a,c,f),()=>l.removeEventListener(a,c,f)),r=he(()=>{const l=Di(ae(e[0])).filter(a=>a!=null);return l.every(a=>typeof a!="string")?l:void 0}),i=$1(()=>{var l,a;return[(a=(l=r.value)==null?void 0:l.map(c=>ur(c)))!=null?a:[Vt].filter(c=>c!=null),Di(ae(r.value?e[1]:e[0])),Di(dn(r.value?e[2]:e[1])),ae(r.value?e[3]:e[2])]},([l,a,c,f])=>{if(n(),!(l!=null&&l.length)||!(a!=null&&a.length)||!(c!=null&&c.length))return;const u=w1(f)?{...f}:f;t.push(...l.flatMap(h=>a.flatMap(p=>c.map(m=>s(h,p,m,u)))))},{flush:"post"}),o=()=>{i(),n()};return ss(n),o}function V1(){const e=Te(!1),t=Ze();return t&&os(()=>{e.value=!0},t),e}function Lo(e){const t=V1();return he(()=>(t.value,!!e()))}function U1(e,t,n={}){const{window:s=Vt,...r}=n;let i;const o=Lo(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},a=he(()=>{const h=ae(e),p=Di(h).map(ur).filter(kv);return new Set(p)}),c=De(()=>a.value,h=>{l(),o.value&&h.size&&(i=new MutationObserver(t),h.forEach(p=>i.observe(p,r)))},{immediate:!0,flush:"post"}),f=()=>i==null?void 0:i.takeRecords(),u=()=>{c(),l()};return ss(u),{isSupported:o,stop:u,takeRecords:f}}function B1(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function j1(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Vt,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,a=B1(t);return Xt(r,i,f=>{f.repeat&&ae(l)||a(f)&&n(f)},o)}function EI(e,t,n={}){return j1(e,t,{...n,eventName:"keyup"})}function W1(e,t={}){const{immediate:n=!0,fpsLimit:s=void 0,window:r=Vt,once:i=!1}=t,o=Te(!1),l=he(()=>s?1e3/ae(s):null);let a=0,c=null;function f(p){if(!o.value||!r)return;a||(a=p);const m=p-a;if(l.value&&m<l.value){c=r.requestAnimationFrame(f);return}if(a=p,e({delta:m,timestamp:p}),i){o.value=!1,c=null;return}c=r.requestAnimationFrame(f)}function u(){!o.value&&r&&(o.value=!0,a=0,c=r.requestAnimationFrame(f))}function h(){o.value=!1,c!=null&&r&&(r.cancelAnimationFrame(c),c=null)}return n&&u(),ss(h),{isActive:Ls(o),pause:h,resume:u}}const K1=Symbol("vueuse-ssr-width");function X1(){const e=So()?b1(K1,null):null;return typeof e=="number"?e:void 0}function q1(e,t={}){const{window:n=Vt,ssrWidth:s=X1()}=t,r=Lo(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Te(typeof s=="number"),o=Te(),l=Te(!1),a=c=>{l.value=c.matches};return Zu(()=>{if(i.value){i.value=!r.value;const c=ae(e).split(",");l.value=c.some(f=>{const u=f.includes("not all"),h=f.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=f.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let m=!!(h||p);return h&&m&&(m=s>=Fp(h[1])),p&&m&&(m=s<=Fp(p[1])),u?!m:m});return}r.value&&(o.value=n.matchMedia(ae(e)),l.value=o.value.matches)}),Xt(o,"change",a,{passive:!0}),he(()=>l.value)}function $p(e,t={}){const{controls:n=!1,navigator:s=$v}=t,r=Lo(()=>s&&"permissions"in s),i=Te(),o=typeof e=="string"?{name:e}:e,l=Te(),a=()=>{var f,u;l.value=(u=(f=i.value)==null?void 0:f.state)!=null?u:"prompt"};Xt(i,"change",a,{passive:!0});const c=A1(async()=>{if(r.value){if(!i.value)try{i.value=await s.permissions.query(o)}catch{i.value=void 0}finally{a()}if(n)return de(i.value)}});return c(),n?{state:l,isSupported:r,query:c}:l}function bI(e={}){const{navigator:t=$v,read:n=!1,source:s,copiedDuring:r=1500,legacy:i=!1}=e,o=Lo(()=>t&&"clipboard"in t),l=$p("clipboard-read"),a=$p("clipboard-write"),c=he(()=>o.value||i),f=Te(""),u=Te(!1),h=Dv(()=>u.value=!1,r,{immediate:!1});async function p(){let v=!(o.value&&g(l.value));if(!v)try{f.value=await t.clipboard.readText()}catch{v=!0}v&&(f.value=E())}c.value&&n&&Xt(["copy","cut"],p,{passive:!0});async function m(v=ae(s)){if(c.value&&v!=null){let _=!(o.value&&g(a.value));if(!_)try{await t.clipboard.writeText(v)}catch{_=!0}_&&d(v),f.value=v,u.value=!0,h.start()}}function d(v){const _=document.createElement("textarea");_.value=v??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function E(){var v,_,y;return(y=(_=(v=document==null?void 0:document.getSelection)==null?void 0:v.call(document))==null?void 0:_.toString())!=null?y:""}function g(v){return v==="granted"||v==="prompt"}return{isSupported:c,text:f,copied:u,copy:m}}function G1(e){return JSON.parse(JSON.stringify(e))}const Zo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},el="__vueuse_ssr_handlers__",z1=Y1();function Y1(){return el in Zo||(Zo[el]=Zo[el]||{}),Zo[el]}function Hv(e,t){return z1[e]||t}function Vv(e){return q1("(prefers-color-scheme: dark)",e)}function Q1(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const J1={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Hp="vueuse-storage";function Z1(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:f,window:u=Vt,eventFilter:h,onError:p=M=>{console.error(M)},initOnMounted:m}=s,d=(f?Te:it)(typeof t=="function"?t():t),E=he(()=>ae(e));if(!n)try{n=Hv("getDefaultStorage",()=>{var M;return(M=Vt)==null?void 0:M.localStorage})()}catch(M){p(M)}if(!n)return d;const g=ae(t),v=Q1(g),_=(r=s.serializer)!=null?r:J1[v],{pause:y,resume:b}=k1(d,()=>A(d.value),{flush:i,deep:o,eventFilter:h});De(E,()=>S(),{flush:i}),u&&l&&qf(()=>{n instanceof Storage?Xt(u,"storage",S,{passive:!0}):Xt(u,Hp,P),m&&S()}),m||S();function N(M,R){if(u){const x={key:E.value,oldValue:M,newValue:R,storageArea:n};u.dispatchEvent(n instanceof Storage?new StorageEvent("storage",x):new CustomEvent(Hp,{detail:x}))}}function A(M){try{const R=n.getItem(E.value);if(M==null)N(R,null),n.removeItem(E.value);else{const x=_.write(M);R!==x&&(n.setItem(E.value,x),N(R,x))}}catch(R){p(R)}}function C(M){const R=M?M.newValue:n.getItem(E.value);if(R==null)return a&&g!=null&&n.setItem(E.value,_.write(g)),g;if(!M&&c){const x=_.read(R);return typeof c=="function"?c(x,g):v==="object"&&!Array.isArray(x)?{...g,...x}:x}else return typeof R!="string"?R:_.read(R)}function S(M){if(!(M&&M.storageArea!==n)){if(M&&M.key==null){d.value=g;return}if(!(M&&M.key!==E.value)){y();try{(M==null?void 0:M.newValue)!==_.write(d.value)&&(d.value=C(M))}catch(R){p(R)}finally{M?Ht(b):b()}}}}function P(M){S(M.detail)}return d}const eI="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function tI(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Vt,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:a,emitAuto:c,disableTransition:f=!0}=e,u={auto:"",light:"light",dark:"dark",...e.modes||{}},h=Vv({window:r}),p=he(()=>h.value?"dark":"light"),m=a||(o==null?$r(s):Z1(o,s,i,{window:r,listenToStorageChanges:l})),d=he(()=>m.value==="auto"?p.value:m.value),E=Hv("updateHTMLAttrs",(y,b,N)=>{const A=typeof y=="string"?r==null?void 0:r.document.querySelector(y):ur(y);if(!A)return;const C=new Set,S=new Set;let P=null;if(b==="class"){const R=N.split(/\s/g);Object.values(u).flatMap(x=>(x||"").split(/\s/g)).filter(Boolean).forEach(x=>{R.includes(x)?C.add(x):S.add(x)})}else P={key:b,value:N};if(C.size===0&&S.size===0&&P===null)return;let M;f&&(M=r.document.createElement("style"),M.appendChild(document.createTextNode(eI)),r.document.head.appendChild(M));for(const R of C)A.classList.add(R);for(const R of S)A.classList.remove(R);P&&A.setAttribute(P.key,P.value),f&&(r.getComputedStyle(M).opacity,document.head.removeChild(M))});function g(y){var b;E(t,n,(b=u[y])!=null?b:y)}function v(y){e.onChanged?e.onChanged(y,g):g(y)}De(d,v,{flush:"post",immediate:!0}),qf(()=>v(d.value));const _=he({get(){return c?m.value:d.value},set(y){m.value=y}});return Object.assign(_,{store:m,system:p,state:d})}function nI(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=tI({...e,onChanged:(o,l)=>{var a;e.onChanged?(a=e.onChanged)==null||a.call(e,o==="dark",l,o):l(o)},modes:{dark:t,light:n}}),r=he(()=>s.system.value);return he({get(){return s.value==="dark"},set(o){const l=o?"dark":"light";r.value===l?s.value="auto":s.value=l}})}function TI(e={}){const{document:t=Fv}=e;if(!t)return Te("visible");const n=Te(t.visibilityState);return Xt(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function sI(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:i=0,window:o=Vt,immediate:l=!0}=n,a=Lo(()=>o&&"IntersectionObserver"in o),c=he(()=>{const m=ae(e);return Di(m).map(ur).filter(kv)});let f=mn;const u=Te(l),h=a.value?De(()=>[c.value,ur(s),u.value],([m,d])=>{if(f(),!u.value||!m.length)return;const E=new IntersectionObserver(t,{root:ur(d),rootMargin:r,threshold:i});m.forEach(g=>g&&E.observe(g)),f=()=>{E.disconnect(),f=mn}},{immediate:l,flush:"post"}):mn,p=()=>{f(),h(),u.value=!1};return ss(p),{isSupported:a,isActive:u,pause(){f(),u.value=!1},resume(){u.value=!0},stop:p}}function SI(e,t={}){const{window:n=Vt,scrollTarget:s,threshold:r=0,rootMargin:i,once:o=!1}=t,l=Te(!1),{stop:a}=sI(e,c=>{let f=l.value,u=0;for(const h of c)h.time>=u&&(u=h.time,f=h.isIntersecting);l.value=f,o&&H1(l,()=>{a()})},{root:s,window:n,threshold:r,rootMargin:ae(i)});return l}const rI={json:"application/json",text:"text/plain"};function Vp(e){return e&&P1(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function bc(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function wI(e,...t){var n;const s=typeof AbortController=="function";let r={},i={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const o={method:"GET",type:"text",payload:void 0};t.length>0&&(Vp(t[0])?i={...i,...t[0]}:r=t[0]),t.length>1&&Vp(t[1])&&(i={...i,...t[1]});const{fetch:l=(n=Vt)==null?void 0:n.fetch,initialData:a,timeout:c}=i,f=vc(),u=vc(),h=vc(),p=Te(!1),m=Te(!1),d=Te(!1),E=Te(null),g=Te(null),v=Te(null),_=Te(a||null),y=he(()=>s&&m.value);let b,N;const A=()=>{s&&(b==null||b.abort(),b=new AbortController,b.signal.onabort=()=>d.value=!0,r={...r,signal:b.signal})},C=j=>{m.value=j,p.value=!j};c&&(N=Dv(A,c,{immediate:!1}));let S=0;const P=async(j=!1)=>{var K,G;A(),C(!0),v.value=null,E.value=null,d.value=!1,S+=1;const re=S,Ae={method:o.method,headers:{}},Me=ae(o.payload);if(Me){const $e=bc(Ae.headers),Be=Object.getPrototypeOf(Me);!o.payloadType&&Me&&(Be===Object.prototype||Array.isArray(Be))&&!(Me instanceof FormData)&&(o.payloadType="json"),o.payloadType&&($e["Content-Type"]=(K=rI[o.payloadType])!=null?K:o.payloadType),Ae.body=o.payloadType==="json"?JSON.stringify(Me):Me}let Xe=!1;const lt={url:ae(e),options:{...Ae,...r},cancel:()=>{Xe=!0}};if(i.beforeFetch&&Object.assign(lt,await i.beforeFetch(lt)),Xe||!l)return C(!1),Promise.resolve(null);let at=null;return N&&N.start(),l(lt.url,{...Ae,...lt.options,headers:{...bc(Ae.headers),...bc((G=lt.options)==null?void 0:G.headers)}}).then(async $e=>{if(g.value=$e,E.value=$e.status,at=await $e.clone()[o.type](),!$e.ok)throw _.value=a||null,new Error($e.statusText);return i.afterFetch&&({data:at}=await i.afterFetch({data:at,response:$e,context:lt,execute:P})),_.value=at,f.trigger($e),$e}).catch(async $e=>{let Be=$e.message||$e.name;if(i.onFetchError&&({error:Be,data:at}=await i.onFetchError({data:at,error:$e,response:g.value,context:lt,execute:P})),v.value=Be,i.updateDataOnError&&(_.value=at),u.trigger($e),j)throw $e;return null}).finally(()=>{re===S&&C(!1),N&&N.stop(),h.trigger(null)})},M=$r(i.refetch);De([M,$r(e)],([j])=>j&&P(),{deep:!0});const R={isFinished:Ls(p),isFetching:Ls(m),statusCode:E,response:g,error:v,data:_,canAbort:y,aborted:d,abort:A,execute:P,onFetchResponse:f.on,onFetchError:u.on,onFetchFinally:h.on,get:x("GET"),put:x("PUT"),post:x("POST"),delete:x("DELETE"),patch:x("PATCH"),head:x("HEAD"),options:x("OPTIONS"),json:Y("json"),text:Y("text"),blob:Y("blob"),arrayBuffer:Y("arrayBuffer"),formData:Y("formData")};function x(j){return(K,G)=>{if(!m.value)return o.method=j,o.payload=K,o.payloadType=G,Se(o.payload)&&De([M,$r(o.payload)],([re])=>re&&P(),{deep:!0}),{...R,then(re,Ae){return X().then(re,Ae)}}}}function X(){return new Promise((j,K)=>{x1(p).toBe(!0).then(()=>j(R)).catch(K)})}function Y(j){return()=>{if(!m.value)return o.type=j,{...R,then(K,G){return X().then(K,G)}}}}return i.immediate&&Promise.resolve().then(()=>P()),{...R,then(j,K){return X().then(j,K)}}}const Up=1;function iI(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=mn,onScroll:i=mn,offset:o={left:0,right:0,top:0,bottom:0},eventListenerOptions:l={capture:!1,passive:!0},behavior:a="auto",window:c=Vt,onError:f=A=>{console.error(A)}}=t,u=Te(0),h=Te(0),p=he({get(){return u.value},set(A){d(A,void 0)}}),m=he({get(){return h.value},set(A){d(void 0,A)}});function d(A,C){var S,P,M,R;if(!c)return;const x=ae(e);if(!x)return;(M=x instanceof Document?c.document.body:x)==null||M.scrollTo({top:(S=ae(C))!=null?S:m.value,left:(P=ae(A))!=null?P:p.value,behavior:ae(a)});const X=((R=x==null?void 0:x.document)==null?void 0:R.documentElement)||(x==null?void 0:x.documentElement)||x;p!=null&&(u.value=X.scrollLeft),m!=null&&(h.value=X.scrollTop)}const E=Te(!1),g=Rn({left:!0,right:!1,top:!0,bottom:!1}),v=Rn({left:!1,right:!1,top:!1,bottom:!1}),_=A=>{E.value&&(E.value=!1,v.left=!1,v.right=!1,v.top=!1,v.bottom=!1,r(A))},y=R1(_,n+s),b=A=>{var C;if(!c)return;const S=((C=A==null?void 0:A.document)==null?void 0:C.documentElement)||(A==null?void 0:A.documentElement)||ur(A),{display:P,flexDirection:M,direction:R}=getComputedStyle(S),x=R==="rtl"?-1:1,X=S.scrollLeft;v.left=X<u.value,v.right=X>u.value;const Y=Math.abs(X*x)<=(o.left||0),j=Math.abs(X*x)+S.clientWidth>=S.scrollWidth-(o.right||0)-Up;P==="flex"&&M==="row-reverse"?(g.left=j,g.right=Y):(g.left=Y,g.right=j),u.value=X;let K=S.scrollTop;A===c.document&&!K&&(K=c.document.body.scrollTop),v.top=K<h.value,v.bottom=K>h.value;const G=Math.abs(K)<=(o.top||0),re=Math.abs(K)+S.clientHeight>=S.scrollHeight-(o.bottom||0)-Up;P==="flex"&&M==="column-reverse"?(g.top=re,g.bottom=G):(g.top=G,g.bottom=re),h.value=K},N=A=>{var C;if(!c)return;const S=(C=A.target.documentElement)!=null?C:A.target;b(S),E.value=!0,y(A),i(A)};return Xt(e,"scroll",n?L1(N,n,!0,!1):N,l),qf(()=>{try{const A=ae(e);if(!A)return;b(A)}catch(A){f(A)}}),Xt(e,"scrollend",_,l),{x:p,y:m,isScrolling:E,arrivedState:g,directions:v,measure(){const A=ae(e);c&&A&&b(A)}}}const oI={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function CI(e={}){const{reactive:t=!1,target:n=Vt,aliasMap:s=oI,passive:r=!0,onEventFired:i=mn}=e,o=Rn(new Set),l={toJSON(){return{}},current:o},a=t?Rn(l):l,c=new Set,f=new Set;function u(d,E){d in a&&(t?a[d]=E:a[d].value=E)}function h(){o.clear();for(const d of f)u(d,!1)}function p(d,E){var g,v;const _=(g=d.key)==null?void 0:g.toLowerCase(),b=[(v=d.code)==null?void 0:v.toLowerCase(),_].filter(Boolean);_&&(E?o.add(_):o.delete(_));for(const N of b)f.add(N),u(N,E);_==="meta"&&!E?(c.forEach(N=>{o.delete(N),u(N,!1)}),c.clear()):typeof d.getModifierState=="function"&&d.getModifierState("Meta")&&E&&[...o,...b].forEach(N=>c.add(N))}Xt(n,"keydown",d=>(p(d,!0),i(d)),{passive:r}),Xt(n,"keyup",d=>(p(d,!1),i(d)),{passive:r}),Xt("blur",h,{passive:r}),Xt("focus",h,{passive:r});const m=new Proxy(a,{get(d,E,g){if(typeof E!="string")return Reflect.get(d,E,g);if(E=E.toLowerCase(),E in s&&(E=s[E]),!(E in a))if(/[+_-]/.test(E)){const _=E.split(/[+_-]/g).map(y=>y.trim());a[E]=he(()=>_.map(y=>ae(m[y])).every(Boolean))}else a[E]=Te(!1);const v=Reflect.get(d,E,g);return t?ae(v):v}});return m}function OI(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,s=it(new Date),r=()=>s.value=new Date,i=n==="requestAnimationFrame"?W1(r,{immediate:!0}):D1(r,n,{immediate:!0});return t?{now:s,...i}:s}function NI(e=null,t={}){var n,s,r;const{document:i=Fv,restoreOnUnmount:o=u=>u}=t,l=(n=i==null?void 0:i.title)!=null?n:"",a=$r((s=e??(i==null?void 0:i.title))!=null?s:null),c=!!(e&&typeof e=="function");function f(u){if(!("titleTemplate"in t))return u;const h=t.titleTemplate||"%s";return typeof h=="function"?h(u):ae(h).replace(/%s/g,u)}return De(a,(u,h)=>{u!==h&&i&&(i.title=f(u??""))},{immediate:!0}),t.observe&&!t.titleTemplate&&i&&!c&&U1((r=i.head)==null?void 0:r.querySelector("title"),()=>{i&&i.title!==a.value&&(a.value=f(i.title))},{childList:!0}),ss(()=>{if(o){const u=o(l,a.value||"");u!=null&&i&&(i.title=u)}}),a}function AI(e,t,n,s={}){var r,i,o;const{clone:l=!1,passive:a=!1,eventName:c,deep:f=!1,defaultValue:u,shouldEmit:h}=s,p=Ze(),m=(p==null?void 0:p.emit)||((r=p==null?void 0:p.$emit)==null?void 0:r.bind(p))||((o=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(p==null?void 0:p.proxy));let d=c;t||(t="modelValue"),d=d||`update:${t.toString()}`;const E=_=>l?typeof l=="function"?l(_):G1(_):_,g=()=>T1(e[t])?E(e[t]):u,v=_=>{h?h(_)&&m(d,_):m(d,_)};if(a){const _=g(),y=it(_);let b=!1;return De(()=>e[t],N=>{b||(b=!0,y.value=E(N),Ht(()=>b=!1))}),De(y,N=>{!b&&(N!==e[t]||f)&&v(N)},{deep:f}),y}else return he({get(){return g()},set(_){v(_)}})}function PI(e={}){const{window:t=Vt,...n}=e;return iI(t,n)}const Uv=nI(),II=F1(Uv),lI=Vv(),aI=Ut({__name:"App",setup(e){return uP({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>Uv.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>lI.value?"/favicon-dark.svg":"/favicon.svg"}]}),(t,n)=>{const s=dr("RouterView");return Mt(),ts(s)}}});v1(aI,{routes:jA(E1),base:"/"},e=>{Object.values([Vw,Kw,iC,lC,fN]).forEach(t=>{var n;return(n=t.install)==null?void 0:n.call(t,e)}),e.app.use(BA),e.app.use(UN)});export{TI as $,NI as A,wI as B,De as C,To as D,fS as E,Ge as F,ts as G,yI as H,uP as I,i0 as J,zn as K,Gi as L,sf as M,Z1 as N,m_ as O,Ht as P,uI as Q,I_ as R,aN as S,J0 as T,bI as U,lw as V,os as W,D1 as X,j1 as Y,L1 as Z,et as _,Le as a,Zu as a0,CI as a1,iN as a2,EI as a3,xa as a4,TN as a5,mN as a6,dI as a7,Vh as a8,rn as a9,Ro as aa,hN as ab,pN as ac,Vy as ad,NN as ae,_N as af,Rt as ag,So as ah,St as ai,kN as aj,ce as ak,Du as al,gI as am,Lu as an,_I as ao,Km as ap,ss as aq,Hu as ar,ae as as,af as at,fI as au,h_ as av,Ze as aw,AI as ax,On as b,Yr as c,Ut as d,PI as e,he as f,vI as g,dn as h,$w as i,tf as j,ea as k,P_ as l,OI as m,rs as n,Mt as o,it as p,SI as q,dr as r,Vc as s,II as t,lf as u,VT as v,fr as w,Il as x,ma as y,Se as z};
67
+ */const Rr=typeof document<"u";function Tv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function hP(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Tv(e.default)}const Ne=Object.assign;function gc(e,t){const n={};for(const s in t){const r=t[s];n[s]=_n(r)?r.map(e):e(r)}return n}const ki=()=>{},_n=Array.isArray,Sv=/#/g,pP=/&/g,mP=/\//g,gP=/=/g,_P=/\?/g,wv=/\+/g,yP=/%5B/g,vP=/%5D/g,Cv=/%5E/g,EP=/%60/g,Ov=/%7B/g,bP=/%7C/g,Nv=/%7D/g,TP=/%20/g;function Wf(e){return encodeURI(""+e).replace(bP,"|").replace(yP,"[").replace(vP,"]")}function SP(e){return Wf(e).replace(Ov,"{").replace(Nv,"}").replace(Cv,"^")}function pu(e){return Wf(e).replace(wv,"%2B").replace(TP,"+").replace(Sv,"%23").replace(pP,"%26").replace(EP,"`").replace(Ov,"{").replace(Nv,"}").replace(Cv,"^")}function wP(e){return pu(e).replace(gP,"%3D")}function CP(e){return Wf(e).replace(Sv,"%23").replace(_P,"%3F")}function OP(e){return e==null?"":CP(e).replace(mP,"%2F")}function ho(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const NP=/\/$/,AP=e=>e.replace(NP,"");function _c(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let a=t.indexOf("?");return l<a&&l>=0&&(a=-1),a>-1&&(s=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),r=e(i)),l>-1&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=LP(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:ho(o)}}function PP(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function vp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function IP(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&li(t.matched[s],n.matched[r])&&Av(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function li(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Av(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!RP(e[n],t[n]))return!1;return!0}function RP(e,t){return _n(e)?Ep(e,t):_n(t)?Ep(t,e):e===t}function Ep(e,t){return _n(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function LP(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const us={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var po;(function(e){e.pop="pop",e.push="push"})(po||(po={}));var xi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(xi||(xi={}));function MP(e){if(!e)if(Rr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),AP(e)}const kP=/^[^#]+#/;function xP(e,t){return e.replace(kP,"#")+t}function DP(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Ua=()=>({left:window.scrollX,top:window.scrollY});function FP(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=DP(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function bp(e,t){return(history.state?history.state.position-t:-1)+e}const mu=new Map;function $P(e,t){mu.set(e,t)}function HP(e){const t=mu.get(e);return mu.delete(e),t}let VP=()=>location.protocol+"//"+location.host;function Pv(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let l=r.includes(e.slice(i))?e.slice(i).length:1,a=r.slice(l);return a[0]!=="/"&&(a="/"+a),vp(a,"")}return vp(n,e)+s+r}function UP(e,t,n,s){let r=[],i=[],o=null;const l=({state:h})=>{const p=Pv(e,location),m=n.value,d=t.value;let E=0;if(h){if(n.value=p,t.value=h,o&&o===m){o=null;return}E=d?h.position-d.position:0}else s(p);r.forEach(g=>{g(n.value,m,{delta:E,type:po.pop,direction:E?E>0?xi.forward:xi.back:xi.unknown})})};function a(){o=n.value}function c(h){r.push(h);const p=()=>{const m=r.indexOf(h);m>-1&&r.splice(m,1)};return i.push(p),p}function f(){const{history:h}=window;h.state&&h.replaceState(Ne({},h.state,{scroll:Ua()}),"")}function u(){for(const h of i)h();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:a,listen:c,destroy:u}}function Tp(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Ua():null}}function BP(e){const{history:t,location:n}=window,s={value:Pv(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(a,c,f){const u=e.indexOf("#"),h=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+a:VP()+e+a;try{t[f?"replaceState":"pushState"](c,"",h),r.value=c}catch(p){console.error(p),n[f?"replace":"assign"](h)}}function o(a,c){const f=Ne({},t.state,Tp(r.value.back,a,r.value.forward,!0),c,{position:r.value.position});i(a,f,!0),s.value=a}function l(a,c){const f=Ne({},r.value,t.state,{forward:a,scroll:Ua()});i(f.current,f,!0);const u=Ne({},Tp(s.value,a,null),{position:f.position+1},c);i(a,u,!1),s.value=a}return{location:s,state:r,push:l,replace:o}}function jP(e){e=MP(e);const t=BP(e),n=UP(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Ne({location:"",base:e,go:s,createHref:xP.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function WP(e){return typeof e=="string"||e&&typeof e=="object"}function Iv(e){return typeof e=="string"||typeof e=="symbol"}const Rv=Symbol("");var Sp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Sp||(Sp={}));function ai(e,t){return Ne(new Error,{type:e,[Rv]:!0},t)}function Fn(e,t){return e instanceof Error&&Rv in e&&(t==null||!!(e.type&t))}const wp="[^/]+?",KP={sensitive:!1,strict:!1,start:!0,end:!0},XP=/[.+*?^${}()[\]/\\]/g;function qP(e,t){const n=Ne({},KP,t),s=[];let r=n.start?"^":"";const i=[];for(const c of e){const f=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let u=0;u<c.length;u++){const h=c[u];let p=40+(n.sensitive?.25:0);if(h.type===0)u||(r+="/"),r+=h.value.replace(XP,"\\$&"),p+=40;else if(h.type===1){const{value:m,repeatable:d,optional:E,regexp:g}=h;i.push({name:m,repeatable:d,optional:E});const v=g||wp;if(v!==wp){p+=10;try{new RegExp(`(${v})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${m}" (${v}): `+y.message)}}let _=d?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;u||(_=E&&c.length<2?`(?:/${_})`:"/"+_),E&&(_+="?"),r+=_,p+=20,E&&(p+=-8),d&&(p+=-20),v===".*"&&(p+=-50)}f.push(p)}s.push(f)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(c){const f=c.match(o),u={};if(!f)return null;for(let h=1;h<f.length;h++){const p=f[h]||"",m=i[h-1];u[m.name]=p&&m.repeatable?p.split("/"):p}return u}function a(c){let f="",u=!1;for(const h of e){(!u||!f.endsWith("/"))&&(f+="/"),u=!1;for(const p of h)if(p.type===0)f+=p.value;else if(p.type===1){const{value:m,repeatable:d,optional:E}=p,g=m in c?c[m]:"";if(_n(g)&&!d)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const v=_n(g)?g.join("/"):g;if(!v)if(E)h.length<2&&(f.endsWith("/")?f=f.slice(0,-1):u=!0);else throw new Error(`Missing required param "${m}"`);f+=v}}return f||"/"}return{re:o,score:s,keys:i,parse:l,stringify:a}}function GP(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;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 Lv(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=GP(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(Cp(s))return 1;if(Cp(r))return-1}return r.length-s.length}function Cp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const zP={type:0,value:""},YP=/[a-zA-Z0-9_]/;function QP(e){if(!e)return[[]];if(e==="/")return[[zP]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,a,c="",f="";function u(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:f,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:a==="/"?(c&&u(),o()):a===":"?(u(),n=1):h();break;case 4:h(),n=s;break;case 1:a==="("?n=2:YP.test(a)?h():(u(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case 2:a===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+a:n=3:f+=a;break;case 3:u(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--,f="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),u(),o(),r}function JP(e,t,n){const s=qP(QP(e.path),n),r=Ne(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ZP(e,t){const n=[],s=new Map;t=Pp({strict:!1,end:!0,sensitive:!1},t);function r(u){return s.get(u)}function i(u,h,p){const m=!p,d=Np(u);d.aliasOf=p&&p.record;const E=Pp(t,u),g=[d];if("alias"in u){const y=typeof u.alias=="string"?[u.alias]:u.alias;for(const b of y)g.push(Np(Ne({},d,{components:p?p.record.components:d.components,path:b,aliasOf:p?p.record:d})))}let v,_;for(const y of g){const{path:b}=y;if(h&&b[0]!=="/"){const N=h.record.path,A=N[N.length-1]==="/"?"":"/";y.path=h.record.path+(b&&A+b)}if(v=JP(y,h,E),p?p.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),m&&u.name&&!Ap(v)&&o(u.name)),Mv(v)&&a(v),d.children){const N=d.children;for(let A=0;A<N.length;A++)i(N[A],v,p&&p.children[A])}p=p||v}return _?()=>{o(_)}:ki}function o(u){if(Iv(u)){const h=s.get(u);h&&(s.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&s.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function l(){return n}function a(u){const h=n1(u,n);n.splice(h,0,u),u.record.name&&!Ap(u)&&s.set(u.record.name,u)}function c(u,h){let p,m={},d,E;if("name"in u&&u.name){if(p=s.get(u.name),!p)throw ai(1,{location:u});E=p.record.name,m=Ne(Op(h.params,p.keys.filter(_=>!_.optional).concat(p.parent?p.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),u.params&&Op(u.params,p.keys.map(_=>_.name))),d=p.stringify(m)}else if(u.path!=null)d=u.path,p=n.find(_=>_.re.test(d)),p&&(m=p.parse(d),E=p.record.name);else{if(p=h.name?s.get(h.name):n.find(_=>_.re.test(h.path)),!p)throw ai(1,{location:u,currentLocation:h});E=p.record.name,m=Ne({},h.params,u.params),d=p.stringify(m)}const g=[];let v=p;for(;v;)g.unshift(v.record),v=v.parent;return{name:E,path:d,params:m,matched:g,meta:t1(g)}}e.forEach(u=>i(u));function f(){n.length=0,s.clear()}return{addRoute:i,resolve:c,removeRoute:o,clearRoutes:f,getRoutes:l,getRecordMatcher:r}}function Op(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Np(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:e1(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 e1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Ap(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function t1(e){return e.reduce((t,n)=>Ne(t,n.meta),{})}function Pp(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function n1(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;Lv(e,t[i])<0?s=i:n=i+1}const r=s1(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function s1(e){let t=e;for(;t=t.parent;)if(Mv(t)&&Lv(e,t)===0)return t}function Mv({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function r1(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const i=s[r].replace(wv," "),o=i.indexOf("="),l=ho(o<0?i:i.slice(0,o)),a=o<0?null:ho(i.slice(o+1));if(l in t){let c=t[l];_n(c)||(c=t[l]=[c]),c.push(a)}else t[l]=a}return t}function Ip(e){let t="";for(let n in e){const s=e[n];if(n=wP(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(_n(s)?s.map(i=>i&&pu(i)):[s&&pu(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function i1(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=_n(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const o1=Symbol(""),Rp=Symbol(""),Ba=Symbol(""),Kf=Symbol(""),gu=Symbol("");function vi(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function bs(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const c=h=>{h===!1?a(ai(4,{from:n,to:t})):h instanceof Error?a(h):WP(h)?a(ai(2,{from:t,to:h})):(o&&s.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),l())},f=i(()=>e.call(s&&s.instances[r],t,n,c));let u=Promise.resolve(f);e.length<3&&(u=u.then(c)),u.catch(h=>a(h))})}function yc(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const l in o.components){let a=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(Tv(a)){const f=(a.__vccOpts||a)[t];f&&i.push(bs(f,n,s,o,l,r))}else{let c=a();i.push(()=>c.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const u=hP(f)?f.default:f;o.mods[l]=f,o.components[l]=u;const p=(u.__vccOpts||u)[t];return p&&bs(p,n,s,o,l,r)()}))}}return i}function Lp(e){const t=St(Ba),n=St(Kf),s=he(()=>{const a=dn(e.to);return t.resolve(a)}),r=he(()=>{const{matched:a}=s.value,{length:c}=a,f=a[c-1],u=n.matched;if(!f||!u.length)return-1;const h=u.findIndex(li.bind(null,f));if(h>-1)return h;const p=Mp(a[c-2]);return c>1&&Mp(f)===p&&u[u.length-1].path!==p?u.findIndex(li.bind(null,a[c-2])):h}),i=he(()=>r.value>-1&&f1(n.params,s.value.params)),o=he(()=>r.value>-1&&r.value===n.matched.length-1&&Av(n.params,s.value.params));function l(a={}){if(u1(a)){const c=t[dn(e.replace)?"replace":"push"](dn(e.to)).catch(ki);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:he(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}function l1(e){return e.length===1?e[0]:e}const a1=Ut({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Lp,setup(e,{slots:t}){const n=Rn(Lp(e)),{options:s}=St(Ba),r=he(()=>({[kp(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[kp(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&l1(t.default(n));return e.custom?i:Tr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),c1=a1;function u1(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function f1(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!_n(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function Mp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const kp=(e,t,n)=>e??t??n,d1=Ut({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=St(gu),r=he(()=>e.route||s.value),i=St(Rp,0),o=he(()=>{let c=dn(i);const{matched:f}=r.value;let u;for(;(u=f[c])&&!u.components;)c++;return c}),l=he(()=>r.value.matched[o.value]);Oi(Rp,he(()=>o.value+1)),Oi(o1,l),Oi(gu,r);const a=it();return De(()=>[a.value,l.value,e.name],([c,f,u],[h,p,m])=>{f&&(f.instances[u]=c,p&&p!==f&&c&&c===h&&(f.leaveGuards.size||(f.leaveGuards=p.leaveGuards),f.updateGuards.size||(f.updateGuards=p.updateGuards))),c&&f&&(!p||!li(f,p)||!h)&&(f.enterCallbacks[u]||[]).forEach(d=>d(c))},{flush:"post"}),()=>{const c=r.value,f=e.name,u=l.value,h=u&&u.components[f];if(!h)return xp(n.default,{Component:h,route:c});const p=u.props[f],m=p?p===!0?c.params:typeof p=="function"?p(c):p:null,E=Tr(h,Ne({},m,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(u.instances[f]=null)},ref:a}));return xp(n.default,{Component:E,route:c})||E}}});function xp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const h1=d1;function p1(e){const t=ZP(e.routes,e),n=e.parseQuery||r1,s=e.stringifyQuery||Ip,r=e.history,i=vi(),o=vi(),l=vi(),a=Te(us);let c=us;Rr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=gc.bind(null,U=>""+U),u=gc.bind(null,OP),h=gc.bind(null,ho);function p(U,Z){let z,te;return Iv(U)?(z=t.getRecordMatcher(U),te=Z):te=U,t.addRoute(te,z)}function m(U){const Z=t.getRecordMatcher(U);Z&&t.removeRoute(Z)}function d(){return t.getRoutes().map(U=>U.record)}function E(U){return!!t.getRecordMatcher(U)}function g(U,Z){if(Z=Ne({},Z||a.value),typeof U=="string"){const I=_c(n,U,Z.path),D=t.resolve({path:I.path},Z),W=r.createHref(I.fullPath);return Ne(I,D,{params:h(D.params),hash:ho(I.hash),redirectedFrom:void 0,href:W})}let z;if(U.path!=null)z=Ne({},U,{path:_c(n,U.path,Z.path).path});else{const I=Ne({},U.params);for(const D in I)I[D]==null&&delete I[D];z=Ne({},U,{params:u(I)}),Z.params=u(Z.params)}const te=t.resolve(z,Z),pe=U.hash||"";te.params=f(h(te.params));const Ie=PP(s,Ne({},U,{hash:SP(pe),path:te.path})),w=r.createHref(Ie);return Ne({fullPath:Ie,hash:pe,query:s===Ip?i1(U.query):U.query||{}},te,{redirectedFrom:void 0,href:w})}function v(U){return typeof U=="string"?_c(n,U,a.value.path):Ne({},U)}function _(U,Z){if(c!==U)return ai(8,{from:Z,to:U})}function y(U){return A(U)}function b(U){return y(Ne(v(U),{replace:!0}))}function N(U){const Z=U.matched[U.matched.length-1];if(Z&&Z.redirect){const{redirect:z}=Z;let te=typeof z=="function"?z(U):z;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=v(te):{path:te},te.params={}),Ne({query:U.query,hash:U.hash,params:te.path!=null?{}:U.params},te)}}function A(U,Z){const z=c=g(U),te=a.value,pe=U.state,Ie=U.force,w=U.replace===!0,I=N(z);if(I)return A(Ne(v(I),{state:typeof I=="object"?Ne({},pe,I.state):pe,force:Ie,replace:w}),Z||z);const D=z;D.redirectedFrom=Z;let W;return!Ie&&IP(s,te,z)&&(W=ai(16,{to:D,from:te}),Me(te,te,!0,!1)),(W?Promise.resolve(W):P(D,te)).catch(H=>Fn(H)?Fn(H,2)?H:Ae(H):G(H,D,te)).then(H=>{if(H){if(Fn(H,2))return A(Ne({replace:w},v(H.to),{state:typeof H.to=="object"?Ne({},pe,H.to.state):pe,force:Ie}),Z||D)}else H=R(D,te,!0,w,pe);return M(D,te,H),H})}function C(U,Z){const z=_(U,Z);return z?Promise.reject(z):Promise.resolve()}function S(U){const Z=at.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(U):U()}function P(U,Z){let z;const[te,pe,Ie]=m1(U,Z);z=yc(te.reverse(),"beforeRouteLeave",U,Z);for(const I of te)I.leaveGuards.forEach(D=>{z.push(bs(D,U,Z))});const w=C.bind(null,U,Z);return z.push(w),Be(z).then(()=>{z=[];for(const I of i.list())z.push(bs(I,U,Z));return z.push(w),Be(z)}).then(()=>{z=yc(pe,"beforeRouteUpdate",U,Z);for(const I of pe)I.updateGuards.forEach(D=>{z.push(bs(D,U,Z))});return z.push(w),Be(z)}).then(()=>{z=[];for(const I of Ie)if(I.beforeEnter)if(_n(I.beforeEnter))for(const D of I.beforeEnter)z.push(bs(D,U,Z));else z.push(bs(I.beforeEnter,U,Z));return z.push(w),Be(z)}).then(()=>(U.matched.forEach(I=>I.enterCallbacks={}),z=yc(Ie,"beforeRouteEnter",U,Z,S),z.push(w),Be(z))).then(()=>{z=[];for(const I of o.list())z.push(bs(I,U,Z));return z.push(w),Be(z)}).catch(I=>Fn(I,8)?I:Promise.reject(I))}function M(U,Z,z){l.list().forEach(te=>S(()=>te(U,Z,z)))}function R(U,Z,z,te,pe){const Ie=_(U,Z);if(Ie)return Ie;const w=Z===us,I=Rr?history.state:{};z&&(te||w?r.replace(U.fullPath,Ne({scroll:w&&I&&I.scroll},pe)):r.push(U.fullPath,pe)),a.value=U,Me(U,Z,z,w),Ae()}let x;function X(){x||(x=r.listen((U,Z,z)=>{if(!$e.listening)return;const te=g(U),pe=N(te);if(pe){A(Ne(pe,{replace:!0,force:!0}),te).catch(ki);return}c=te;const Ie=a.value;Rr&&$P(bp(Ie.fullPath,z.delta),Ua()),P(te,Ie).catch(w=>Fn(w,12)?w:Fn(w,2)?(A(Ne(v(w.to),{force:!0}),te).then(I=>{Fn(I,20)&&!z.delta&&z.type===po.pop&&r.go(-1,!1)}).catch(ki),Promise.reject()):(z.delta&&r.go(-z.delta,!1),G(w,te,Ie))).then(w=>{w=w||R(te,Ie,!1),w&&(z.delta&&!Fn(w,8)?r.go(-z.delta,!1):z.type===po.pop&&Fn(w,20)&&r.go(-1,!1)),M(te,Ie,w)}).catch(ki)}))}let Y=vi(),j=vi(),K;function G(U,Z,z){Ae(U);const te=j.list();return te.length?te.forEach(pe=>pe(U,Z,z)):console.error(U),Promise.reject(U)}function re(){return K&&a.value!==us?Promise.resolve():new Promise((U,Z)=>{Y.add([U,Z])})}function Ae(U){return K||(K=!U,X(),Y.list().forEach(([Z,z])=>U?z(U):Z()),Y.reset()),U}function Me(U,Z,z,te){const{scrollBehavior:pe}=e;if(!Rr||!pe)return Promise.resolve();const Ie=!z&&HP(bp(U.fullPath,0))||(te||!z)&&history.state&&history.state.scroll||null;return Ht().then(()=>pe(U,Z,Ie)).then(w=>w&&FP(w)).catch(w=>G(w,U,Z))}const Xe=U=>r.go(U);let lt;const at=new Set,$e={currentRoute:a,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:d,resolve:g,options:e,push:y,replace:b,go:Xe,back:()=>Xe(-1),forward:()=>Xe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:j.add,isReady:re,install(U){const Z=this;U.component("RouterLink",c1),U.component("RouterView",h1),U.config.globalProperties.$router=Z,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>dn(a)}),Rr&&!lt&&a.value===us&&(lt=!0,y(r.location).catch(pe=>{}));const z={};for(const pe in us)Object.defineProperty(z,pe,{get:()=>a.value[pe],enumerable:!0});U.provide(Ba,Z),U.provide(Kf,Du(z)),U.provide(gu,a);const te=U.unmount;at.add(U),U.unmount=function(){at.delete(U),at.size<1&&(c=us,x&&x(),x=null,a.value=us,lt=!1,K=!1),te()}}};function Be(U){return U.reduce((Z,z)=>Z.then(()=>S(z)),Promise.resolve())}return $e}function m1(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const l=t.matched[o];l&&(e.matched.find(c=>li(c,l))?s.push(l):n.push(l));const a=e.matched[o];a&&(t.matched.find(c=>li(c,a))||r.push(a))}return[n,s,r]}function yI(){return St(Ba)}function vI(e){return St(Kf)}function g1(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}const _1=Ut({setup(e,{slots:t}){const n=it(!1);return os(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function y1(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function v1(e,t,n,s){const{transformState:r,registerComponents:i=!0,useHead:o=!0,rootContainer:l="#app"}={};async function a(c=!1,f){const u=Qi(e);let h;o&&u.use(h=dP());const p=p1({history:jP(t.base),...t}),{routes:m}=t;i&&u.component("ClientOnly",_1);const d=[],v={app:u,head:h,isClient:!0,router:p,routes:m,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(d.map(N=>N())),initialState:{},transformState:r,routePath:f};await g1(),v.initialState=(r==null?void 0:r(window.__INITIAL_STATE__||{}))||y1(window.__INITIAL_STATE__),await(n==null?void 0:n(v)),u.use(p);let _,y=!0;p.beforeEach((N,A,C)=>{(y||_&&_===N.path)&&(y=!1,_=N.path,N.meta.state=v.initialState),C()});const b=v.initialState;return{...v,initialState:b}}return(async()=>{const{app:c,router:f}=await a();await f.isReady(),c.mount(l,!0)})(),a}const E1=[{path:"/",name:"/",component:()=>et(()=>import("./index-Cbob_EDi.js"),__vite__mapDeps([13,14,15,5,16,7,17,18,2,3,19,4,20,21]),import.meta.url),meta:{layout:"index-layout"}},{path:"/:all(.*)",name:"/[...all]",component:()=>et(()=>import("./_...all_-DrBs104J.js"),__vite__mapDeps([22,23,15,5,4,24,14,7,25,26,27,28,29,30,2,3,31,19,17,18,32,20]),import.meta.url),meta:{layout:"board-layout"}},{path:"/about",name:"/about",component:()=>et(()=>import("./about-DhfDQGjX.js"),[],import.meta.url)},{path:"/balloon",children:[{path:"",name:"/balloon/",component:()=>et(()=>import("./index-Dh_2evah.js"),__vite__mapDeps([33,26,15,5,4,24,14,34,31,19,20,7]),import.meta.url),meta:{layout:"headless"}}]},{path:"/board",name:"/board",component:()=>et(()=>import("./board-C0tLBmUo.js"),__vite__mapDeps([35,29,30,2,3,31,19,15,5,24,4,14,7,17,18,32,34,20]),import.meta.url),meta:{layout:"board-layout"}},{path:"/countdown",children:[{path:"",name:"/countdown/",component:()=>et(()=>import("./index-Bp89uTRa.js"),__vite__mapDeps([36,23,15,5,4,24,14,7,25,34,31,19,20]),import.meta.url),meta:{layout:"headless"}}]},{path:"/hi",children:[{path:":name",name:"/hi/[name]",component:()=>et(()=>import("./_name_-Dmat1829.js"),__vite__mapDeps([37,38]),import.meta.url)}]},{path:"/rating",children:[{path:"",name:"/rating/",component:()=>et(()=>import("./index-6fmqLh8C.js"),__vite__mapDeps([39,16,7,2,3,4,20,40]),import.meta.url),meta:{layout:"index-layout"}},{path:":all(.*)",name:"/rating/[...all]",component:()=>et(()=>import("./_...all_-DxZtuOys.js"),__vite__mapDeps([41,30,2,3,15,5,4,42]),import.meta.url)}]},{path:"/resolver",children:[{path:"",name:"/resolver/",component:()=>et(()=>import("./index-CPQOIpLS.js"),__vite__mapDeps([43,27,7,15,5,4,24,14,28,34,31,19,20]),import.meta.url),meta:{layout:"headless"}}]},{path:"/test",name:"/test",component:()=>et(()=>import("./test-CaN7Xx1P.js"),__vite__mapDeps([44,31,19,38,20]),import.meta.url),meta:{layout:"home"}}];function ss(e){return na()?(Lu(e),!0):!1}function vc(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const o=()=>t(i);return ss(o),{off:o}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(o=>o(...i))),clear:()=>{e.clear()}}}const Ec=new WeakMap,b1=(...e)=>{var t;const n=e[0],s=(t=Ze())==null?void 0:t.proxy;if(s==null&&!So())throw new Error("injectLocal must be called in setup");return s&&Ec.has(s)&&n in Ec.get(s)?Ec.get(s)[n]:St(...e)},ci=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const T1=e=>typeof e<"u",kv=e=>e!=null,S1=Object.prototype.toString,w1=e=>S1.call(e)==="[object Object]",mn=()=>{};function $r(...e){if(e.length!==1)return Xm(...e);const t=e[0];return typeof t=="function"?Ls(Hu(()=>({get:t,set:mn}))):it(t)}function Xf(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const xv=e=>e();function C1(e,t={}){let n,s,r=mn;const i=a=>{clearTimeout(a),r(),r=mn};let o;return a=>{const c=ae(e),f=ae(t.maxWait);return n&&i(n),c<=0||f!==void 0&&f<=0?(s&&(i(s),s=null),Promise.resolve(a())):new Promise((u,h)=>{r=t.rejectOnCancel?h:u,o=a,f&&!s&&(s=setTimeout(()=>{n&&i(n),s=null,u(o())},f)),n=setTimeout(()=>{s&&i(s),s=null,u(a())},c)})}}function O1(...e){let t=0,n,s=!0,r=mn,i,o,l,a,c;!Se(e[0])&&typeof e[0]=="object"?{delay:o,trailing:l=!0,leading:a=!0,rejectOnCancel:c=!1}=e[0]:[o,l=!0,a=!0,c=!1]=e;const f=()=>{n&&(clearTimeout(n),n=void 0,r(),r=mn)};return h=>{const p=ae(o),m=Date.now()-t,d=()=>i=h();return f(),p<=0?(t=Date.now(),d()):(m>p&&(a||!s)?(t=Date.now(),d()):l&&(i=new Promise((E,g)=>{r=c?g:E,n=setTimeout(()=>{t=Date.now(),s=!0,E(d()),f()},Math.max(0,p-m))})),!a&&!n&&(n=setTimeout(()=>s=!0,p)),s=!1,i)}}function N1(e=xv,t={}){const{initialState:n="active"}=t,s=$r(n==="active");function r(){s.value=!1}function i(){s.value=!0}const o=(...l)=>{s.value&&e(...l)};return{isActive:Ls(s),pause:r,resume:i,eventFilter:o}}function Dp(e,t=!1,n="Timeout"){return new Promise((s,r)=>{setTimeout(t?()=>r(n):s,e)})}function A1(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const s=t;t=void 0,s&&await s},n}function P1(e,...t){return t.some(n=>n in e)}function Fp(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Di(e){return Array.isArray(e)?e:[e]}function I1(e){return Ze()}function R1(e,t=200,n={}){return Xf(C1(t,n),e)}function L1(e,t=200,n=!1,s=!0,r=!1){return Xf(O1(t,n,s,r),e)}function M1(e,t,n={}){const{eventFilter:s=xv,...r}=n;return De(e,Xf(s,t),r)}function k1(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:o,pause:l,resume:a,isActive:c}=N1(s,{initialState:r});return{stop:M1(e,t,{...i,eventFilter:o}),pause:l,resume:a,isActive:c}}function qf(e,t=!0,n){I1()?os(e,n):t?e():Ht(e)}function _u(e,t=!1){function n(u,{flush:h="sync",deep:p=!1,timeout:m,throwOnTimeout:d}={}){let E=null;const v=[new Promise(_=>{E=De(e,y=>{u(y)!==t&&(E?E():Ht(()=>E==null?void 0:E()),_(y))},{flush:h,deep:p,immediate:!0})})];return m!=null&&v.push(Dp(m,d).then(()=>ae(e)).finally(()=>E==null?void 0:E())),Promise.race(v)}function s(u,h){if(!Se(u))return n(y=>y===u,h);const{flush:p="sync",deep:m=!1,timeout:d,throwOnTimeout:E}=h??{};let g=null;const _=[new Promise(y=>{g=De([e,u],([b,N])=>{t!==(b===N)&&(g?g():Ht(()=>g==null?void 0:g()),y(b))},{flush:p,deep:m,immediate:!0})})];return d!=null&&_.push(Dp(d,E).then(()=>ae(e)).finally(()=>(g==null||g(),ae(e)))),Promise.race(_)}function r(u){return n(h=>!!h,u)}function i(u){return s(null,u)}function o(u){return s(void 0,u)}function l(u){return n(Number.isNaN,u)}function a(u,h){return n(p=>{const m=Array.from(p);return m.includes(u)||m.includes(ae(u))},h)}function c(u){return f(1,u)}function f(u=1,h){let p=-1;return n(()=>(p+=1,p>=u),h)}return Array.isArray(ae(e))?{toMatch:n,toContains:a,changed:c,changedTimes:f,get not(){return _u(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:r,toBeNull:i,toBeNaN:l,toBeUndefined:o,changed:c,changedTimes:f,get not(){return _u(e,!t)}}}function x1(e){return _u(e)}function D1(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let i=null;const o=Te(!1);function l(){i&&(clearInterval(i),i=null)}function a(){o.value=!1,l()}function c(){const f=ae(t);f<=0||(o.value=!0,r&&e(),l(),o.value&&(i=setInterval(e,f)))}if(s&&ci&&c(),Se(t)||typeof t=="function"){const f=De(t,()=>{o.value&&ci&&c()});ss(f)}return ss(a),{isActive:Fu(o),pause:a,resume:c}}function Dv(e,t,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n,i=Te(!1);let o=null;function l(){o&&(clearTimeout(o),o=null)}function a(){i.value=!1,l()}function c(...f){r&&e(),l(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=null,e(...f)},ae(t))}return s&&(i.value=!0,ci&&c()),ss(a),{isPending:Fu(i),start:c,stop:a}}function F1(e=!1,t={}){const{truthyValue:n=!0,falsyValue:s=!1}=t,r=Se(e),i=Te(e);function o(l){if(arguments.length)return i.value=l,i.value;{const a=ae(n);return i.value=i.value===a?ae(s):a,i.value}}return r?o:[i,o]}function $1(e,t,n){return De(e,t,{...n,immediate:!0})}function H1(e,t,n){const s=De(e,(...r)=>(Ht(()=>s()),t(...r)),n);return s}const Vt=ci?window:void 0,Fv=ci?window.document:void 0,$v=ci?window.navigator:void 0;function ur(e){var t;const n=ae(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Xt(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},s=(l,a,c,f)=>(l.addEventListener(a,c,f),()=>l.removeEventListener(a,c,f)),r=he(()=>{const l=Di(ae(e[0])).filter(a=>a!=null);return l.every(a=>typeof a!="string")?l:void 0}),i=$1(()=>{var l,a;return[(a=(l=r.value)==null?void 0:l.map(c=>ur(c)))!=null?a:[Vt].filter(c=>c!=null),Di(ae(r.value?e[1]:e[0])),Di(dn(r.value?e[2]:e[1])),ae(r.value?e[3]:e[2])]},([l,a,c,f])=>{if(n(),!(l!=null&&l.length)||!(a!=null&&a.length)||!(c!=null&&c.length))return;const u=w1(f)?{...f}:f;t.push(...l.flatMap(h=>a.flatMap(p=>c.map(m=>s(h,p,m,u)))))},{flush:"post"}),o=()=>{i(),n()};return ss(n),o}function V1(){const e=Te(!1),t=Ze();return t&&os(()=>{e.value=!0},t),e}function Lo(e){const t=V1();return he(()=>(t.value,!!e()))}function U1(e,t,n={}){const{window:s=Vt,...r}=n;let i;const o=Lo(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},a=he(()=>{const h=ae(e),p=Di(h).map(ur).filter(kv);return new Set(p)}),c=De(()=>a.value,h=>{l(),o.value&&h.size&&(i=new MutationObserver(t),h.forEach(p=>i.observe(p,r)))},{immediate:!0,flush:"post"}),f=()=>i==null?void 0:i.takeRecords(),u=()=>{c(),l()};return ss(u),{isSupported:o,stop:u,takeRecords:f}}function B1(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function j1(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Vt,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,a=B1(t);return Xt(r,i,f=>{f.repeat&&ae(l)||a(f)&&n(f)},o)}function EI(e,t,n={}){return j1(e,t,{...n,eventName:"keyup"})}function W1(e,t={}){const{immediate:n=!0,fpsLimit:s=void 0,window:r=Vt,once:i=!1}=t,o=Te(!1),l=he(()=>s?1e3/ae(s):null);let a=0,c=null;function f(p){if(!o.value||!r)return;a||(a=p);const m=p-a;if(l.value&&m<l.value){c=r.requestAnimationFrame(f);return}if(a=p,e({delta:m,timestamp:p}),i){o.value=!1,c=null;return}c=r.requestAnimationFrame(f)}function u(){!o.value&&r&&(o.value=!0,a=0,c=r.requestAnimationFrame(f))}function h(){o.value=!1,c!=null&&r&&(r.cancelAnimationFrame(c),c=null)}return n&&u(),ss(h),{isActive:Ls(o),pause:h,resume:u}}const K1=Symbol("vueuse-ssr-width");function X1(){const e=So()?b1(K1,null):null;return typeof e=="number"?e:void 0}function q1(e,t={}){const{window:n=Vt,ssrWidth:s=X1()}=t,r=Lo(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Te(typeof s=="number"),o=Te(),l=Te(!1),a=c=>{l.value=c.matches};return Zu(()=>{if(i.value){i.value=!r.value;const c=ae(e).split(",");l.value=c.some(f=>{const u=f.includes("not all"),h=f.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=f.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let m=!!(h||p);return h&&m&&(m=s>=Fp(h[1])),p&&m&&(m=s<=Fp(p[1])),u?!m:m});return}r.value&&(o.value=n.matchMedia(ae(e)),l.value=o.value.matches)}),Xt(o,"change",a,{passive:!0}),he(()=>l.value)}function $p(e,t={}){const{controls:n=!1,navigator:s=$v}=t,r=Lo(()=>s&&"permissions"in s),i=Te(),o=typeof e=="string"?{name:e}:e,l=Te(),a=()=>{var f,u;l.value=(u=(f=i.value)==null?void 0:f.state)!=null?u:"prompt"};Xt(i,"change",a,{passive:!0});const c=A1(async()=>{if(r.value){if(!i.value)try{i.value=await s.permissions.query(o)}catch{i.value=void 0}finally{a()}if(n)return de(i.value)}});return c(),n?{state:l,isSupported:r,query:c}:l}function bI(e={}){const{navigator:t=$v,read:n=!1,source:s,copiedDuring:r=1500,legacy:i=!1}=e,o=Lo(()=>t&&"clipboard"in t),l=$p("clipboard-read"),a=$p("clipboard-write"),c=he(()=>o.value||i),f=Te(""),u=Te(!1),h=Dv(()=>u.value=!1,r,{immediate:!1});async function p(){let v=!(o.value&&g(l.value));if(!v)try{f.value=await t.clipboard.readText()}catch{v=!0}v&&(f.value=E())}c.value&&n&&Xt(["copy","cut"],p,{passive:!0});async function m(v=ae(s)){if(c.value&&v!=null){let _=!(o.value&&g(a.value));if(!_)try{await t.clipboard.writeText(v)}catch{_=!0}_&&d(v),f.value=v,u.value=!0,h.start()}}function d(v){const _=document.createElement("textarea");_.value=v??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function E(){var v,_,y;return(y=(_=(v=document==null?void 0:document.getSelection)==null?void 0:v.call(document))==null?void 0:_.toString())!=null?y:""}function g(v){return v==="granted"||v==="prompt"}return{isSupported:c,text:f,copied:u,copy:m}}function G1(e){return JSON.parse(JSON.stringify(e))}const Zo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},el="__vueuse_ssr_handlers__",z1=Y1();function Y1(){return el in Zo||(Zo[el]=Zo[el]||{}),Zo[el]}function Hv(e,t){return z1[e]||t}function Vv(e){return q1("(prefers-color-scheme: dark)",e)}function Q1(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const J1={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Hp="vueuse-storage";function Z1(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:f,window:u=Vt,eventFilter:h,onError:p=M=>{console.error(M)},initOnMounted:m}=s,d=(f?Te:it)(typeof t=="function"?t():t),E=he(()=>ae(e));if(!n)try{n=Hv("getDefaultStorage",()=>{var M;return(M=Vt)==null?void 0:M.localStorage})()}catch(M){p(M)}if(!n)return d;const g=ae(t),v=Q1(g),_=(r=s.serializer)!=null?r:J1[v],{pause:y,resume:b}=k1(d,()=>A(d.value),{flush:i,deep:o,eventFilter:h});De(E,()=>S(),{flush:i}),u&&l&&qf(()=>{n instanceof Storage?Xt(u,"storage",S,{passive:!0}):Xt(u,Hp,P),m&&S()}),m||S();function N(M,R){if(u){const x={key:E.value,oldValue:M,newValue:R,storageArea:n};u.dispatchEvent(n instanceof Storage?new StorageEvent("storage",x):new CustomEvent(Hp,{detail:x}))}}function A(M){try{const R=n.getItem(E.value);if(M==null)N(R,null),n.removeItem(E.value);else{const x=_.write(M);R!==x&&(n.setItem(E.value,x),N(R,x))}}catch(R){p(R)}}function C(M){const R=M?M.newValue:n.getItem(E.value);if(R==null)return a&&g!=null&&n.setItem(E.value,_.write(g)),g;if(!M&&c){const x=_.read(R);return typeof c=="function"?c(x,g):v==="object"&&!Array.isArray(x)?{...g,...x}:x}else return typeof R!="string"?R:_.read(R)}function S(M){if(!(M&&M.storageArea!==n)){if(M&&M.key==null){d.value=g;return}if(!(M&&M.key!==E.value)){y();try{(M==null?void 0:M.newValue)!==_.write(d.value)&&(d.value=C(M))}catch(R){p(R)}finally{M?Ht(b):b()}}}}function P(M){S(M.detail)}return d}const eI="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function tI(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Vt,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:a,emitAuto:c,disableTransition:f=!0}=e,u={auto:"",light:"light",dark:"dark",...e.modes||{}},h=Vv({window:r}),p=he(()=>h.value?"dark":"light"),m=a||(o==null?$r(s):Z1(o,s,i,{window:r,listenToStorageChanges:l})),d=he(()=>m.value==="auto"?p.value:m.value),E=Hv("updateHTMLAttrs",(y,b,N)=>{const A=typeof y=="string"?r==null?void 0:r.document.querySelector(y):ur(y);if(!A)return;const C=new Set,S=new Set;let P=null;if(b==="class"){const R=N.split(/\s/g);Object.values(u).flatMap(x=>(x||"").split(/\s/g)).filter(Boolean).forEach(x=>{R.includes(x)?C.add(x):S.add(x)})}else P={key:b,value:N};if(C.size===0&&S.size===0&&P===null)return;let M;f&&(M=r.document.createElement("style"),M.appendChild(document.createTextNode(eI)),r.document.head.appendChild(M));for(const R of C)A.classList.add(R);for(const R of S)A.classList.remove(R);P&&A.setAttribute(P.key,P.value),f&&(r.getComputedStyle(M).opacity,document.head.removeChild(M))});function g(y){var b;E(t,n,(b=u[y])!=null?b:y)}function v(y){e.onChanged?e.onChanged(y,g):g(y)}De(d,v,{flush:"post",immediate:!0}),qf(()=>v(d.value));const _=he({get(){return c?m.value:d.value},set(y){m.value=y}});return Object.assign(_,{store:m,system:p,state:d})}function nI(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=tI({...e,onChanged:(o,l)=>{var a;e.onChanged?(a=e.onChanged)==null||a.call(e,o==="dark",l,o):l(o)},modes:{dark:t,light:n}}),r=he(()=>s.system.value);return he({get(){return s.value==="dark"},set(o){const l=o?"dark":"light";r.value===l?s.value="auto":s.value=l}})}function TI(e={}){const{document:t=Fv}=e;if(!t)return Te("visible");const n=Te(t.visibilityState);return Xt(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function sI(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:i=0,window:o=Vt,immediate:l=!0}=n,a=Lo(()=>o&&"IntersectionObserver"in o),c=he(()=>{const m=ae(e);return Di(m).map(ur).filter(kv)});let f=mn;const u=Te(l),h=a.value?De(()=>[c.value,ur(s),u.value],([m,d])=>{if(f(),!u.value||!m.length)return;const E=new IntersectionObserver(t,{root:ur(d),rootMargin:r,threshold:i});m.forEach(g=>g&&E.observe(g)),f=()=>{E.disconnect(),f=mn}},{immediate:l,flush:"post"}):mn,p=()=>{f(),h(),u.value=!1};return ss(p),{isSupported:a,isActive:u,pause(){f(),u.value=!1},resume(){u.value=!0},stop:p}}function SI(e,t={}){const{window:n=Vt,scrollTarget:s,threshold:r=0,rootMargin:i,once:o=!1}=t,l=Te(!1),{stop:a}=sI(e,c=>{let f=l.value,u=0;for(const h of c)h.time>=u&&(u=h.time,f=h.isIntersecting);l.value=f,o&&H1(l,()=>{a()})},{root:s,window:n,threshold:r,rootMargin:ae(i)});return l}const rI={json:"application/json",text:"text/plain"};function Vp(e){return e&&P1(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function bc(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function wI(e,...t){var n;const s=typeof AbortController=="function";let r={},i={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const o={method:"GET",type:"text",payload:void 0};t.length>0&&(Vp(t[0])?i={...i,...t[0]}:r=t[0]),t.length>1&&Vp(t[1])&&(i={...i,...t[1]});const{fetch:l=(n=Vt)==null?void 0:n.fetch,initialData:a,timeout:c}=i,f=vc(),u=vc(),h=vc(),p=Te(!1),m=Te(!1),d=Te(!1),E=Te(null),g=Te(null),v=Te(null),_=Te(a||null),y=he(()=>s&&m.value);let b,N;const A=()=>{s&&(b==null||b.abort(),b=new AbortController,b.signal.onabort=()=>d.value=!0,r={...r,signal:b.signal})},C=j=>{m.value=j,p.value=!j};c&&(N=Dv(A,c,{immediate:!1}));let S=0;const P=async(j=!1)=>{var K,G;A(),C(!0),v.value=null,E.value=null,d.value=!1,S+=1;const re=S,Ae={method:o.method,headers:{}},Me=ae(o.payload);if(Me){const $e=bc(Ae.headers),Be=Object.getPrototypeOf(Me);!o.payloadType&&Me&&(Be===Object.prototype||Array.isArray(Be))&&!(Me instanceof FormData)&&(o.payloadType="json"),o.payloadType&&($e["Content-Type"]=(K=rI[o.payloadType])!=null?K:o.payloadType),Ae.body=o.payloadType==="json"?JSON.stringify(Me):Me}let Xe=!1;const lt={url:ae(e),options:{...Ae,...r},cancel:()=>{Xe=!0}};if(i.beforeFetch&&Object.assign(lt,await i.beforeFetch(lt)),Xe||!l)return C(!1),Promise.resolve(null);let at=null;return N&&N.start(),l(lt.url,{...Ae,...lt.options,headers:{...bc(Ae.headers),...bc((G=lt.options)==null?void 0:G.headers)}}).then(async $e=>{if(g.value=$e,E.value=$e.status,at=await $e.clone()[o.type](),!$e.ok)throw _.value=a||null,new Error($e.statusText);return i.afterFetch&&({data:at}=await i.afterFetch({data:at,response:$e,context:lt,execute:P})),_.value=at,f.trigger($e),$e}).catch(async $e=>{let Be=$e.message||$e.name;if(i.onFetchError&&({error:Be,data:at}=await i.onFetchError({data:at,error:$e,response:g.value,context:lt,execute:P})),v.value=Be,i.updateDataOnError&&(_.value=at),u.trigger($e),j)throw $e;return null}).finally(()=>{re===S&&C(!1),N&&N.stop(),h.trigger(null)})},M=$r(i.refetch);De([M,$r(e)],([j])=>j&&P(),{deep:!0});const R={isFinished:Ls(p),isFetching:Ls(m),statusCode:E,response:g,error:v,data:_,canAbort:y,aborted:d,abort:A,execute:P,onFetchResponse:f.on,onFetchError:u.on,onFetchFinally:h.on,get:x("GET"),put:x("PUT"),post:x("POST"),delete:x("DELETE"),patch:x("PATCH"),head:x("HEAD"),options:x("OPTIONS"),json:Y("json"),text:Y("text"),blob:Y("blob"),arrayBuffer:Y("arrayBuffer"),formData:Y("formData")};function x(j){return(K,G)=>{if(!m.value)return o.method=j,o.payload=K,o.payloadType=G,Se(o.payload)&&De([M,$r(o.payload)],([re])=>re&&P(),{deep:!0}),{...R,then(re,Ae){return X().then(re,Ae)}}}}function X(){return new Promise((j,K)=>{x1(p).toBe(!0).then(()=>j(R)).catch(K)})}function Y(j){return()=>{if(!m.value)return o.type=j,{...R,then(K,G){return X().then(K,G)}}}}return i.immediate&&Promise.resolve().then(()=>P()),{...R,then(j,K){return X().then(j,K)}}}const Up=1;function iI(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=mn,onScroll:i=mn,offset:o={left:0,right:0,top:0,bottom:0},eventListenerOptions:l={capture:!1,passive:!0},behavior:a="auto",window:c=Vt,onError:f=A=>{console.error(A)}}=t,u=Te(0),h=Te(0),p=he({get(){return u.value},set(A){d(A,void 0)}}),m=he({get(){return h.value},set(A){d(void 0,A)}});function d(A,C){var S,P,M,R;if(!c)return;const x=ae(e);if(!x)return;(M=x instanceof Document?c.document.body:x)==null||M.scrollTo({top:(S=ae(C))!=null?S:m.value,left:(P=ae(A))!=null?P:p.value,behavior:ae(a)});const X=((R=x==null?void 0:x.document)==null?void 0:R.documentElement)||(x==null?void 0:x.documentElement)||x;p!=null&&(u.value=X.scrollLeft),m!=null&&(h.value=X.scrollTop)}const E=Te(!1),g=Rn({left:!0,right:!1,top:!0,bottom:!1}),v=Rn({left:!1,right:!1,top:!1,bottom:!1}),_=A=>{E.value&&(E.value=!1,v.left=!1,v.right=!1,v.top=!1,v.bottom=!1,r(A))},y=R1(_,n+s),b=A=>{var C;if(!c)return;const S=((C=A==null?void 0:A.document)==null?void 0:C.documentElement)||(A==null?void 0:A.documentElement)||ur(A),{display:P,flexDirection:M,direction:R}=getComputedStyle(S),x=R==="rtl"?-1:1,X=S.scrollLeft;v.left=X<u.value,v.right=X>u.value;const Y=Math.abs(X*x)<=(o.left||0),j=Math.abs(X*x)+S.clientWidth>=S.scrollWidth-(o.right||0)-Up;P==="flex"&&M==="row-reverse"?(g.left=j,g.right=Y):(g.left=Y,g.right=j),u.value=X;let K=S.scrollTop;A===c.document&&!K&&(K=c.document.body.scrollTop),v.top=K<h.value,v.bottom=K>h.value;const G=Math.abs(K)<=(o.top||0),re=Math.abs(K)+S.clientHeight>=S.scrollHeight-(o.bottom||0)-Up;P==="flex"&&M==="column-reverse"?(g.top=re,g.bottom=G):(g.top=G,g.bottom=re),h.value=K},N=A=>{var C;if(!c)return;const S=(C=A.target.documentElement)!=null?C:A.target;b(S),E.value=!0,y(A),i(A)};return Xt(e,"scroll",n?L1(N,n,!0,!1):N,l),qf(()=>{try{const A=ae(e);if(!A)return;b(A)}catch(A){f(A)}}),Xt(e,"scrollend",_,l),{x:p,y:m,isScrolling:E,arrivedState:g,directions:v,measure(){const A=ae(e);c&&A&&b(A)}}}const oI={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function CI(e={}){const{reactive:t=!1,target:n=Vt,aliasMap:s=oI,passive:r=!0,onEventFired:i=mn}=e,o=Rn(new Set),l={toJSON(){return{}},current:o},a=t?Rn(l):l,c=new Set,f=new Set;function u(d,E){d in a&&(t?a[d]=E:a[d].value=E)}function h(){o.clear();for(const d of f)u(d,!1)}function p(d,E){var g,v;const _=(g=d.key)==null?void 0:g.toLowerCase(),b=[(v=d.code)==null?void 0:v.toLowerCase(),_].filter(Boolean);_&&(E?o.add(_):o.delete(_));for(const N of b)f.add(N),u(N,E);_==="meta"&&!E?(c.forEach(N=>{o.delete(N),u(N,!1)}),c.clear()):typeof d.getModifierState=="function"&&d.getModifierState("Meta")&&E&&[...o,...b].forEach(N=>c.add(N))}Xt(n,"keydown",d=>(p(d,!0),i(d)),{passive:r}),Xt(n,"keyup",d=>(p(d,!1),i(d)),{passive:r}),Xt("blur",h,{passive:r}),Xt("focus",h,{passive:r});const m=new Proxy(a,{get(d,E,g){if(typeof E!="string")return Reflect.get(d,E,g);if(E=E.toLowerCase(),E in s&&(E=s[E]),!(E in a))if(/[+_-]/.test(E)){const _=E.split(/[+_-]/g).map(y=>y.trim());a[E]=he(()=>_.map(y=>ae(m[y])).every(Boolean))}else a[E]=Te(!1);const v=Reflect.get(d,E,g);return t?ae(v):v}});return m}function OI(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,s=it(new Date),r=()=>s.value=new Date,i=n==="requestAnimationFrame"?W1(r,{immediate:!0}):D1(r,n,{immediate:!0});return t?{now:s,...i}:s}function NI(e=null,t={}){var n,s,r;const{document:i=Fv,restoreOnUnmount:o=u=>u}=t,l=(n=i==null?void 0:i.title)!=null?n:"",a=$r((s=e??(i==null?void 0:i.title))!=null?s:null),c=!!(e&&typeof e=="function");function f(u){if(!("titleTemplate"in t))return u;const h=t.titleTemplate||"%s";return typeof h=="function"?h(u):ae(h).replace(/%s/g,u)}return De(a,(u,h)=>{u!==h&&i&&(i.title=f(u??""))},{immediate:!0}),t.observe&&!t.titleTemplate&&i&&!c&&U1((r=i.head)==null?void 0:r.querySelector("title"),()=>{i&&i.title!==a.value&&(a.value=f(i.title))},{childList:!0}),ss(()=>{if(o){const u=o(l,a.value||"");u!=null&&i&&(i.title=u)}}),a}function AI(e,t,n,s={}){var r,i,o;const{clone:l=!1,passive:a=!1,eventName:c,deep:f=!1,defaultValue:u,shouldEmit:h}=s,p=Ze(),m=(p==null?void 0:p.emit)||((r=p==null?void 0:p.$emit)==null?void 0:r.bind(p))||((o=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(p==null?void 0:p.proxy));let d=c;t||(t="modelValue"),d=d||`update:${t.toString()}`;const E=_=>l?typeof l=="function"?l(_):G1(_):_,g=()=>T1(e[t])?E(e[t]):u,v=_=>{h?h(_)&&m(d,_):m(d,_)};if(a){const _=g(),y=it(_);let b=!1;return De(()=>e[t],N=>{b||(b=!0,y.value=E(N),Ht(()=>b=!1))}),De(y,N=>{!b&&(N!==e[t]||f)&&v(N)},{deep:f}),y}else return he({get(){return g()},set(_){v(_)}})}function PI(e={}){const{window:t=Vt,...n}=e;return iI(t,n)}const Uv=nI(),II=F1(Uv),lI=Vv(),aI=Ut({__name:"App",setup(e){return uP({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>Uv.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>lI.value?"/favicon-dark.svg":"/favicon.svg"}]}),(t,n)=>{const s=dr("RouterView");return Mt(),ts(s)}}});v1(aI,{routes:jA(E1),base:"/"},e=>{Object.values([Vw,Kw,iC,lC,fN]).forEach(t=>{var n;return(n=t.install)==null?void 0:n.call(t,e)}),e.app.use(BA),e.app.use(UN)});export{TI as $,NI as A,wI as B,De as C,To as D,fS as E,Ge as F,ts as G,yI as H,uP as I,i0 as J,zn as K,Gi as L,sf as M,Z1 as N,m_ as O,Ht as P,uI as Q,I_ as R,aN as S,J0 as T,bI as U,lw as V,os as W,D1 as X,j1 as Y,L1 as Z,et as _,Le as a,Zu as a0,CI as a1,iN as a2,EI as a3,xa as a4,TN as a5,mN as a6,dI as a7,Vh as a8,rn as a9,Ro as aa,hN as ab,pN as ac,Vy as ad,NN as ae,_N as af,Rt as ag,So as ah,St as ai,kN as aj,ce as ak,Du as al,gI as am,Lu as an,_I as ao,Km as ap,ss as aq,Hu as ar,ae as as,af as at,fI as au,h_ as av,Ze as aw,AI as ax,On as b,Yr as c,Ut as d,PI as e,he as f,vI as g,dn as h,$w as i,tf as j,ea as k,P_ as l,OI as m,rs as n,Mt as o,it as p,SI as q,dr as r,Vc as s,II as t,lf as u,VT as v,fr as w,Il as x,ma as y,Se as z};