@xcpcio/board-app 0.53.0 → 0.53.2

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 (62) hide show
  1. package/dist/404.html +1 -1
  2. package/dist/assets/Balloon.vue_vue_type_script_setup_true_lang-CNaNh1cd.js +1 -0
  3. package/dist/assets/Board-D7W2MZ4t.js +1 -0
  4. package/dist/assets/Board-_AOcbImO.css +1 -0
  5. package/dist/assets/{ContestStateBadge-SaSIRVZw.js → ContestStateBadge-fTJw-IjF.js} +1 -1
  6. package/dist/assets/Countdown-1A-2QJ7m.js +1 -0
  7. package/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-CXts-riZ.js +1 -0
  8. package/dist/assets/{Footer.vue_vue_type_script_setup_true_lang-DtriOyxw.js → Footer.vue_vue_type_script_setup_true_lang-Bk0nFBfB.js} +1 -1
  9. package/dist/assets/{NavBar-CTO09sVc.js → NavBar-C6sQ5txU.js} +1 -1
  10. package/dist/assets/Resolver-A6qSPE_R.js +25 -0
  11. package/dist/assets/{RightArrowIcon-93I3m1Dg.js → RightArrowIcon-ClOVVo1B.js} +1 -1
  12. package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-Bstp0Uq6.js → TheInput.vue_vue_type_script_setup_true_lang-D5spkHqx.js} +1 -1
  13. package/dist/assets/{Tooltip.vue_vue_type_script_setup_true_lang-IVJ6kO8Y.js → Tooltip.vue_vue_type_script_setup_true_lang-FgOX36Lq.js} +1 -1
  14. package/dist/assets/{_...all_-CajB1u6j.js → _...all_-BSvAEkM-.js} +1 -1
  15. package/dist/assets/_...all_-DmfbP4Ao.js +1 -0
  16. package/dist/assets/{_name_-CKcXFscu.js → _name_-AmLA_ZW6.js} +1 -1
  17. package/dist/assets/{about-Bt1E61e1.js → about-tPNAra1j.js} +1 -1
  18. package/dist/assets/board-D0VTebOf.js +1 -0
  19. package/dist/assets/{board-layout-BDGSSQnD.js → board-layout-C2v-fo1W.js} +1 -1
  20. package/dist/assets/{constant-D5AETBoS.js → constant-b2ZZlr_Y.js} +1 -1
  21. package/dist/assets/{default-g2FZdb_E.js → default-D4907N0j.js} +1 -1
  22. package/dist/assets/{headless-AGI21K3d.js → headless-C_cFBCtG.js} +1 -1
  23. package/dist/assets/{home-CIo2SGx9.js → home-CRZ6rGwZ.js} +1 -1
  24. package/dist/assets/{index-Ci3FURub.css → index-BjCWriHl.css} +1 -1
  25. package/dist/assets/{index-CsD1PvIl.js → index-BnOiKE-V.js} +1 -1
  26. package/dist/assets/index-Bvki346r.js +1 -0
  27. package/dist/assets/{index-Bqug296L.js → index-CVZtA3I-.js} +3 -3
  28. package/dist/assets/{index-CDb5YJlm.js → index-ClcpF-3G.js} +1 -1
  29. package/dist/assets/index-D5Eq7tNN.js +1 -0
  30. package/dist/assets/{index-B0AiC33S.js → index-DQYGiW5A.js} +1 -1
  31. package/dist/assets/{index-BJlHNlHk.js → index-Dar9HUtt.js} +1 -1
  32. package/dist/assets/{index-eEOWm26O.js → index-XjAdtRAz.js} +1 -1
  33. package/dist/assets/index-cu4LZbd6.js +1 -0
  34. package/dist/assets/{index-layout-B9ZsHAPN.js → index-layout-Bp7ERlAB.js} +1 -1
  35. package/dist/assets/{pagination-SF0231GF.js → pagination-CHOfWwrE.js} +1 -1
  36. package/dist/assets/query-C-pLpLZb.js +1 -0
  37. package/dist/assets/{test-BmgsMNrG.js → test-Bw2mUsPy.js} +1 -1
  38. package/dist/assets/{use-vmodel-DKmkNt1c.js → use-vmodel-BKVjZ-1P.js} +1 -1
  39. package/dist/assets/{user-DVMgLOCG.js → user-o9hs8HNN.js} +1 -1
  40. package/dist/assets/{virtual_pwa-register-G08q8i_v.js → virtual_pwa-register-8shrxAmh.js} +1 -1
  41. package/dist/index.html +1 -1
  42. package/dist/sw.js +1 -1
  43. package/package.json +3 -3
  44. package/src/components/board/Board.vue +10 -5
  45. package/src/components/board/Standings.less +4 -4
  46. package/src/components/board/Utility.vue +18 -3
  47. package/src/composables/useQueryBoardData.ts +28 -14
  48. package/src/pages/[...all].vue +15 -4
  49. package/src/shims.d.ts +1 -0
  50. package/src/styles/color.css +10 -0
  51. package/vite.config.ts +8 -8
  52. package/dist/assets/Board--Fj0eIxn.css +0 -1
  53. package/dist/assets/Board-DVycq7Hb.js +0 -1
  54. package/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-ButnX5NG.js +0 -1
  55. package/dist/assets/_...all_-DkFLHLY4.js +0 -1
  56. package/dist/assets/board-BuZxK-RS.js +0 -1
  57. package/dist/assets/index-BVqqkkh8.js +0 -25
  58. package/dist/assets/index-ByBDbX-Q.js +0 -1
  59. package/dist/assets/index-DtIE9gnq.js +0 -1
  60. package/dist/assets/useQueryBoardData-MYqwKv9X.js +0 -1
  61. /package/dist/assets/{index-De6dfmWB.css → Countdown-De6dfmWB.css} +0 -0
  62. /package/dist/assets/{index-DRiWpQTB.css → Resolver-DRiWpQTB.css} +0 -0
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/board-layout-BDGSSQnD.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/Footer.vue_vue_type_script_setup_true_lang-DtriOyxw.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/Tooltip.vue_vue_type_script_setup_true_lang-IVJ6kO8Y.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/Tooltip-VVqtpO6L.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/constant-D5AETBoS.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/index-B0AiC33S.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/NavBar-CTO09sVc.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/_plugin-vue_export-helper-DlAUqK2U.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/NavBar-K1-1c5jR.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/default-g2FZdb_E.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/headless-AGI21K3d.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/home-CIo2SGx9.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/index-layout-B9ZsHAPN.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/index-CsD1PvIl.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/index-CDb5YJlm.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/index-BJlHNlHk.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/RightArrowIcon-93I3m1Dg.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/ContestStateBadge-SaSIRVZw.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/ContestStateBadge-yOXRkC0c.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/use-vmodel-DKmkNt1c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/route-block-B_A1xBdJ.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/index-BP90wE2A.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/_...all_-DkFLHLY4.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/Board-DVycq7Hb.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/pagination-SF0231GF.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-Bstp0Uq6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/useQueryBoardData-MYqwKv9X.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/Board--Fj0eIxn.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/index-ByBDbX-Q.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-ButnX5NG.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/board-BuZxK-RS.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/index-DtIE9gnq.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/index-De6dfmWB.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/_name_-CKcXFscu.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/user-DVMgLOCG.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/index-eEOWm26O.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/index-BerApwlM.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/_...all_-CajB1u6j.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/_..-8Wh-Y8sB.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/index-BVqqkkh8.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/index-DRiWpQTB.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.53.0/dist/assets/test-BmgsMNrG.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.__toAssetUrl("assets/board-layout-C2v-fo1W.js"),window.__toAssetUrl("assets/Footer.vue_vue_type_script_setup_true_lang-Bk0nFBfB.js"),window.__toAssetUrl("assets/Tooltip.vue_vue_type_script_setup_true_lang-FgOX36Lq.js"),window.__toAssetUrl("assets/Tooltip-VVqtpO6L.css"),window.__toAssetUrl("assets/constant-b2ZZlr_Y.js"),window.__toAssetUrl("assets/index-DQYGiW5A.js"),window.__toAssetUrl("assets/NavBar-C6sQ5txU.js"),window.__toAssetUrl("assets/_plugin-vue_export-helper-DlAUqK2U.js"),window.__toAssetUrl("assets/NavBar-K1-1c5jR.css"),window.__toAssetUrl("assets/default-D4907N0j.js"),window.__toAssetUrl("assets/headless-C_cFBCtG.js"),window.__toAssetUrl("assets/home-CRZ6rGwZ.js"),window.__toAssetUrl("assets/index-layout-Bp7ERlAB.js"),window.__toAssetUrl("assets/index-BnOiKE-V.js"),window.__toAssetUrl("assets/index-ClcpF-3G.js"),window.__toAssetUrl("assets/index-Dar9HUtt.js"),window.__toAssetUrl("assets/RightArrowIcon-ClOVVo1B.js"),window.__toAssetUrl("assets/ContestStateBadge-fTJw-IjF.js"),window.__toAssetUrl("assets/ContestStateBadge-yOXRkC0c.css"),window.__toAssetUrl("assets/use-vmodel-BKVjZ-1P.js"),window.__toAssetUrl("assets/route-block-B_A1xBdJ.js"),window.__toAssetUrl("assets/index-BP90wE2A.css"),window.__toAssetUrl("assets/_...all_-DmfbP4Ao.js"),window.__toAssetUrl("assets/Countdown-1A-2QJ7m.js"),window.__toAssetUrl("assets/query-C-pLpLZb.js"),window.__toAssetUrl("assets/Countdown-De6dfmWB.css"),window.__toAssetUrl("assets/Balloon.vue_vue_type_script_setup_true_lang-CNaNh1cd.js"),window.__toAssetUrl("assets/Resolver-A6qSPE_R.js"),window.__toAssetUrl("assets/Resolver-DRiWpQTB.css"),window.__toAssetUrl("assets/Board-D7W2MZ4t.js"),window.__toAssetUrl("assets/pagination-CHOfWwrE.js"),window.__toAssetUrl("assets/TheInput.vue_vue_type_script_setup_true_lang-D5spkHqx.js"),window.__toAssetUrl("assets/Board-_AOcbImO.css"),window.__toAssetUrl("assets/index-Bvki346r.js"),window.__toAssetUrl("assets/DataSourceInput.vue_vue_type_script_setup_true_lang-CXts-riZ.js"),window.__toAssetUrl("assets/board-D0VTebOf.js"),window.__toAssetUrl("assets/index-cu4LZbd6.js"),window.__toAssetUrl("assets/_name_-AmLA_ZW6.js"),window.__toAssetUrl("assets/user-o9hs8HNN.js"),window.__toAssetUrl("assets/index-XjAdtRAz.js"),window.__toAssetUrl("assets/index-BerApwlM.css"),window.__toAssetUrl("assets/_...all_-BSvAEkM-.js"),window.__toAssetUrl("assets/_..-8Wh-Y8sB.css"),window.__toAssetUrl("assets/index-D5Eq7tNN.js"),window.__toAssetUrl("assets/test-Bw2mUsPy.js")])))=>i.map(i=>d[i]);
2
2
  var hc=e=>{throw TypeError(e)};var zo=(e,t,n)=>t.has(e)||hc("Cannot "+n);var U=(e,t,n)=>(zo(e,t,"read from private field"),n?n.call(e):t.get(e)),ve=(e,t,n)=>t.has(e)?hc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),oe=(e,t,n,s)=>(zo(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n),Ze=(e,t,n)=>(zo(e,t,"access private method"),n);var ui=(e,t,n,s)=>({set _(r){oe(e,t,r,n)},get _(){return U(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 Mm="modulepreload",Dm=function(e,t){return new URL(e,t).href},pc={},He=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=Dm(c,s),c in pc)return;pc[c]=!0;const f=c.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(!!s)for(let m=o.length-1;m>=0;m--){const g=o[m];if(g.href===c&&(!f||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${u}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":Mm,f||(h.as="script"),h.crossOrigin="",h.href=c,a&&h.setAttribute("nonce",a),document.head.appendChild(h),f)return new Promise((m,g)=>{h.addEventListener("load",m),h.addEventListener("error",()=>g(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 v10.0.4
4
4
  * (c) 2024 kazuya kawaguchi
@@ -43,8 +43,8 @@ var hc=e=>{throw TypeError(e)};var zo=(e,t,n)=>t.has(e)||hc("Cannot "+n);var U=(
43
43
  * pinia v2.2.4
44
44
  * (c) 2024 Eduardo San Martin Morote
45
45
  * @license MIT
46
- */let yp;const jo=e=>yp=e,_p=Symbol();function Yl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Or;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Or||(Or={}));function gw(){const e=So(!0),t=e.run(()=>ie({}));let n=[],s=[];const r=ko({install(i){jo(r),r._a=i,i.provide(_p,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!mw?s.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const vp=()=>{};function $u(e,t,n,s=vp){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),s())};return!n&&Co()&&Sa(r),r}function As(e,...t){e.slice().forEach(n=>{n(...t)})}const yw=e=>e(),Fu=Symbol(),fl=Symbol();function Xl(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];Yl(r)&&Yl(s)&&e.hasOwnProperty(n)&&!_e(s)&&!Xt(s)?e[n]=Xl(r,s):e[n]=s}return e}const _w=Symbol();function vw(e){return!Yl(e)||!e.hasOwnProperty(_w)}const{assign:Rn}=Object;function bw(e){return!!(_e(e)&&e.effect)}function ww(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=Rd(n.state.value[e]);return Rn(f,i,Object.keys(o||{}).reduce((u,d)=>(u[d]=ko(me(()=>{jo(n);const h=n._s.get(e);return o[d].call(h,h)})),u),{}))}return a=bp(e,c,t,n,s,!0),a}function bp(e,t,n={},s,r,i){let o;const l=Rn({actions:{}},n),a={deep:!0};let c,f,u=[],d=[],h;const m=s.state.value[e];!i&&!m&&(s.state.value[e]={}),ie({});let g;function b(R){let O;c=f=!1,typeof R=="function"?(R(s.state.value[e]),O={type:Or.patchFunction,storeId:e,events:h}):(Xl(s.state.value[e],R),O={type:Or.patchObject,payload:R,storeId:e,events:h});const A=g=Symbol();gt().then(()=>{g===A&&(c=!0)}),f=!0,As(u,O,s.state.value[e])}const _=i?function(){const{state:O}=n,A=O?O():{};this.$patch(D=>{Rn(D,A)})}:vp;function v(){o.stop(),u=[],d=[],s._s.delete(e)}const p=(R,O="")=>{if(Fu in R)return R[fl]=O,R;const A=function(){jo(s);const D=Array.from(arguments),N=[],B=[];function X(q){N.push(q)}function se(q){B.push(q)}As(d,{args:D,name:A[fl],store:E,after:X,onError:se});let W;try{W=R.apply(this&&this.$id===e?this:E,D)}catch(q){throw As(B,q),q}return W instanceof Promise?W.then(q=>(As(N,q),q)).catch(q=>(As(B,q),Promise.reject(q))):(As(N,W),W)};return A[Fu]=!0,A[fl]=O,A},y={_p:s,$id:e,$onAction:$u.bind(null,d),$patch:b,$reset:_,$subscribe(R,O={}){const A=$u(u,R,O.detached,()=>D()),D=o.run(()=>Le(()=>s.state.value[e],N=>{(O.flush==="sync"?f:c)&&R({storeId:e,type:Or.direct,events:h},N)},Rn({},a,O)));return A},$dispose:v},E=Yn(y);s._s.set(e,E);const L=(s._a&&s._a.runWithContext||yw)(()=>s._e.run(()=>(o=So()).run(()=>t({action:p}))));for(const R in L){const O=L[R];if(_e(O)&&!bw(O)||Xt(O))i||(m&&vw(O)&&(_e(O)?O.value=m[R]:Xl(O,m[R])),s.state.value[e][R]=O);else if(typeof O=="function"){const A=p(O,R);L[R]=A,l.actions[R]=O}}return Rn(E,L),Rn(ae(E),L),Object.defineProperty(E,"$state",{get:()=>s.state.value[e],set:R=>{b(O=>{Rn(O,R)})}}),s._p.forEach(R=>{Rn(E,o.run(()=>R({store:E,app:s._a,pinia:s,options:l})))}),m&&i&&n.hydrate&&n.hydrate(E.$state,m),c=!0,f=!0,E}function HS(e,t,n){let s,r;const i=typeof t=="function";s=e,r=i?n:t;function o(l,a){const c=rh();return l=l||(c?ft(_p,null):null),l&&jo(l),l=yp,l._s.has(s)||(i?bp(s,t,r,l):ww(s,r,l)),l._s.get(s)}return o.$id=s,o}const Ew=({isClient:e,initialState:t,app:n})=>{const s=gw();n.use(s),e?s.state.value=t.pinia||{}:t.pinia=s.state.value},Tw=Object.freeze(Object.defineProperty({__proto__:null,install:Ew},Symbol.toStringTag,{value:"Module"})),Sw=({isClient:e,router:t})=>{e&&t.isReady().then(async()=>{const{registerSW:n}=await He(async()=>{const{registerSW:s}=await import("./virtual_pwa-register-G08q8i_v.js");return{registerSW:s}},[],import.meta.url);n({immediate:!0})}).catch(()=>{})},Cw=Object.freeze(Object.defineProperty({__proto__:null,install:Sw},Symbol.toStringTag,{value:"Module"}));var wp={exports:{}};const Pw=fw(Mb);(function(e,t){(function(s,r){e.exports=r(Pw)})(pp,n=>(()=>{var s={113:(R,O)=>{Object.defineProperty(O,"__esModule",{value:!0}),O.default=(A,D)=>{const N=A.__vccOpts||A;for(const[B,X]of D)N[B]=X;return N}},594:R=>{R.exports=n}},r={};function i(R){var O=r[R];if(O!==void 0)return O.exports;var A=r[R]={exports:{}};return s[R](A,A.exports,i),A.exports}i.d=(R,O)=>{for(var A in O)i.o(O,A)&&!i.o(R,A)&&Object.defineProperty(R,A,{enumerable:!0,get:O[A]})},i.o=(R,O)=>Object.prototype.hasOwnProperty.call(R,O),i.r=R=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(R,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(R,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{ToastComponent:()=>y,ToastPlugin:()=>C,ToastPositions:()=>h,default:()=>L,useToast:()=>E});var l=i(594);const a=["innerHTML"];function c(R,O,A,D,N,B){return(0,l.openBlock)(),(0,l.createBlock)(l.Transition,{"enter-active-class":R.transition.enter,"leave-active-class":R.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--${R.type}`,`v-toast__item--${R.position}`]]),onMouseover:O[0]||(O[0]=X=>R.toggleTimer(!0)),onMouseleave:O[1]||(O[1]=X=>R.toggleTimer(!1)),onClick:O[2]||(O[2]=function(){return R.whenClicked&&R.whenClicked(...arguments)})},[O[3]||(O[3]=(0,l.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,l.createElementVNode)("p",{class:"v-toast__text",innerHTML:R.message},null,8,a)],34),[[l.vShow,R.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function f(R){var O;typeof R.remove<"u"?R.remove():(O=R.parentNode)==null||O.removeChild(R)}function u(R,O,A){let D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const N=(0,l.h)(R,O,D),B=document.createElement("div");return B.classList.add("v-toast--pending"),A.appendChild(B),(0,l.render)(N,B),N.component}class d{constructor(O,A){this.startedAt=Date.now(),this.callback=O,this.delay=A,this.timer=setTimeout(O,A)}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 h=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function m(R){return{all:R=R||new Map,on:function(O,A){var D=R.get(O);D?D.push(A):R.set(O,[A])},off:function(O,A){var D=R.get(O);D&&(A?D.splice(D.indexOf(A)>>>0,1):R.set(O,[]))},emit:function(O,A){var D=R.get(O);D&&D.slice().map(function(N){N(A)}),(D=R.get("*"))&&D.slice().map(function(N){N(O,A)})}}}const b=m(),_=(0,l.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:h.BOTTOM_RIGHT,validator(R){return Object.values(h).includes(R)}},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(),b.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 R=document.body;R.appendChild(this.parentTop),R.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 R=this.$refs.root;(0,l.render)(null,R),f(R)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const R=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),f(R),this.isActive=!0,this.duration&&(this.timer=new d(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(R){!this.pauseOnHover||!this.timer||(R?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case h.TOP:case h.TOP_RIGHT:case h.TOP_LEFT:return this.parentTop;case h.BOTTOM:case h.BOTTOM_RIGHT:case h.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case h.TOP:case h.TOP_RIGHT:case h.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case h.BOTTOM:case h.BOTTOM_RIGHT:case h.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){b.off("toast-clear",this.dismiss)}});var v=i(113);const y=(0,v.default)(_,[["render",c]]),E=function(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(O){let A=null;typeof O=="string"&&(A=O);const N=Object.assign({},{message:A},R,O);return{dismiss:u(y,N,document.body).ctx.dismiss}},clear(){b.emit("toast-clear")},success(O){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:O,type:"success"},A))},error(O){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:O,type:"error"},A))},info(O){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:O,type:"info"},A))},warning(O){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:O,type:"warning"},A))},default(O){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:O,type:"default"},A))}}},C={install:function(R){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},A=E(O);R.config.globalProperties.$toast=A,R.provide("$toast",A)}},L=C;return o})())})(wp);var Ow=wp.exports;const Aw=mp(Ow),Rw=({app:e})=>{e.use(Aw,{position:"bottom-right"})},Lw=Object.freeze(Object.defineProperty({__proto__:null,install:Rw},Symbol.toStringTag,{value:"Module"}));var Uo=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(){}},ai=typeof window>"u"||"Deno"in globalThis;function kt(){}function xw(e,t){return typeof e=="function"?e(t):e}function kw(e){return typeof e=="number"&&e>=0&&e!==1/0}function Nw(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Hu(e,t){return typeof e=="function"?e(t):e}function Iw(e,t){return typeof e=="function"?e(t):e}function ju(e,t){const{type:n="all",exact:s,fetchStatus:r,predicate:i,queryKey:o,stale:l}=e;if(o){if(s){if(t.queryHash!==sc(o,t.options))return!1}else if(!qr(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 Uu(e,t){const{exact:n,status:s,predicate:r,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Kr(t.options.mutationKey)!==Kr(i))return!1}else if(!qr(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function sc(e,t){return((t==null?void 0:t.queryKeyHashFn)||Kr)(e)}function Kr(e){return JSON.stringify(e,(t,n)=>Jl(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function qr(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!qr(e[n],t[n])):!1}function Ep(e,t){if(e===t)return e;const n=Vu(e)&&Vu(t);if(n||Jl(e)&&Jl(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]=Ep(e[f],t[f]),l[f]===e[f]&&e[f]!==void 0&&a++)}return r===o&&a===r?e:l}return t}function jS(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 Vu(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Jl(e){if(!Bu(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Bu(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Bu(e){return Object.prototype.toString.call(e)==="[object Object]"}function Mw(e){return new Promise(t=>{setTimeout(t,e)})}function Dw(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Ep(e,t):t}function $w(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function Fw(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var Tp=Symbol();function Sp(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Tp?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var cs,Hn,Vs,Uf,Hw=(Uf=class extends Uo{constructor(){super();ve(this,cs);ve(this,Hn);ve(this,Vs);oe(this,Vs,t=>{if(!ai&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){U(this,Hn)||this.setEventListener(U(this,Vs))}onUnsubscribe(){var t;this.hasListeners()||((t=U(this,Hn))==null||t.call(this),oe(this,Hn,void 0))}setEventListener(t){var n;oe(this,Vs,t),(n=U(this,Hn))==null||n.call(this),oe(this,Hn,t(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(t){U(this,cs)!==t&&(oe(this,cs,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof U(this,cs)=="boolean"?U(this,cs):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},cs=new WeakMap,Hn=new WeakMap,Vs=new WeakMap,Uf),Cp=new Hw,Bs,jn,Ws,Vf,jw=(Vf=class extends Uo{constructor(){super();ve(this,Bs,!0);ve(this,jn);ve(this,Ws);oe(this,Ws,t=>{if(!ai&&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(){U(this,jn)||this.setEventListener(U(this,Ws))}onUnsubscribe(){var t;this.hasListeners()||((t=U(this,jn))==null||t.call(this),oe(this,jn,void 0))}setEventListener(t){var n;oe(this,Ws,t),(n=U(this,jn))==null||n.call(this),oe(this,jn,t(this.setOnline.bind(this)))}setOnline(t){U(this,Bs)!==t&&(oe(this,Bs,t),this.listeners.forEach(s=>{s(t)}))}isOnline(){return U(this,Bs)}},Bs=new WeakMap,jn=new WeakMap,Ws=new WeakMap,Vf),lo=new jw;function Uw(){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 Vw(e){return Math.min(1e3*2**e,3e4)}function Pp(e){return(e??"online")==="online"?lo.isOnline():!0}var Op=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function dl(e){return e instanceof Op}function Ap(e){let t=!1,n=0,s=!1,r;const i=Uw(),o=g=>{var b;s||(d(new Op(g)),(b=e.abort)==null||b.call(e))},l=()=>{t=!0},a=()=>{t=!1},c=()=>Cp.isFocused()&&(e.networkMode==="always"||lo.isOnline())&&e.canRun(),f=()=>Pp(e.networkMode)&&e.canRun(),u=g=>{var b;s||(s=!0,(b=e.onSuccess)==null||b.call(e,g),r==null||r(),i.resolve(g))},d=g=>{var b;s||(s=!0,(b=e.onError)==null||b.call(e,g),r==null||r(),i.reject(g))},h=()=>new Promise(g=>{var b;r=_=>{(s||c())&&g(_)},(b=e.onPause)==null||b.call(e)}).then(()=>{var g;r=void 0,s||(g=e.onContinue)==null||g.call(e)}),m=()=>{if(s)return;let g;const b=n===0?e.initialPromise:void 0;try{g=b??e.fn()}catch(_){g=Promise.reject(_)}Promise.resolve(g).then(u).catch(_=>{var C;if(s)return;const v=e.retry??(ai?0:3),p=e.retryDelay??Vw,y=typeof p=="function"?p(n,_):p,E=v===!0||typeof v=="number"&&n<v||typeof v=="function"&&v(n,_);if(t||!E){d(_);return}n++,(C=e.onFail)==null||C.call(e,n,_),Mw(y).then(()=>c()?void 0:h()).then(()=>{t?d(_):m()})})};return{promise:i,cancel:o,continue:()=>(r==null||r(),i),cancelRetry:l,continueRetry:a,canStart:f,start:()=>(f()?m():h().then(m),i)}}function Bw(){let e=[],t=0,n=l=>{l()},s=l=>{l()},r=l=>setTimeout(l,0);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 ut=Bw(),us,Bf,Rp=(Bf=class{constructor(){ve(this,us)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),kw(this.gcTime)&&oe(this,us,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ai?1/0:5*60*1e3))}clearGcTimeout(){U(this,us)&&(clearTimeout(U(this,us)),oe(this,us,void 0))}},us=new WeakMap,Bf),Ks,qs,Pt,et,Zr,fs,Nt,cn,Wf,Ww=(Wf=class extends Rp{constructor(t){super();ve(this,Nt);ve(this,Ks);ve(this,qs);ve(this,Pt);ve(this,et);ve(this,Zr);ve(this,fs);oe(this,fs,!1),oe(this,Zr,t.defaultOptions),this.setOptions(t.options),this.observers=[],oe(this,Pt,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,oe(this,Ks,qw(this.options)),this.state=t.state??U(this,Ks),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=U(this,et))==null?void 0:t.promise}setOptions(t){this.options={...U(this,Zr),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&U(this,Pt).remove(this)}setData(t,n){const s=Dw(this.state.data,t,this.options);return Ze(this,Nt,cn).call(this,{data:s,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),s}setState(t,n){Ze(this,Nt,cn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var s,r;const n=(s=U(this,et))==null?void 0:s.promise;return(r=U(this,et))==null||r.cancel(t),n?n.then(kt).catch(kt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(U(this,Ks))}isActive(){return this.observers.some(t=>Iw(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}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||!Nw(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(s=>s.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=U(this,et))==null||n.continue()}onOnline(){var n;const t=this.observers.find(s=>s.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=U(this,et))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),U(this,Pt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(U(this,et)&&(U(this,fs)?U(this,et).cancel({revert:!0}):U(this,et).cancelRetry()),this.scheduleGc()),U(this,Pt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ze(this,Nt,cn).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(U(this,et))return U(this,et).continueRetry(),U(this,et).promise}if(t&&this.setOptions(t),!this.options.queryFn){const u=this.observers.find(d=>d.options.queryFn);u&&this.setOptions(u.options)}const s=new AbortController,r=u=>{Object.defineProperty(u,"signal",{enumerable:!0,get:()=>(oe(this,fs,!0),s.signal)})},i=()=>{const u=Sp(this.options,n),d={queryKey:this.queryKey,meta:this.meta};return r(d),oe(this,fs,!1),this.options.persister?this.options.persister(u,d,this):u(d)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:i};r(o),(a=this.options.behavior)==null||a.onFetch(o,this),oe(this,qs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=o.fetchOptions)==null?void 0:c.meta))&&Ze(this,Nt,cn).call(this,{type:"fetch",meta:(f=o.fetchOptions)==null?void 0:f.meta});const l=u=>{var d,h,m,g;dl(u)&&u.silent||Ze(this,Nt,cn).call(this,{type:"error",error:u}),dl(u)||((h=(d=U(this,Pt).config).onError)==null||h.call(d,u,this),(g=(m=U(this,Pt).config).onSettled)==null||g.call(m,this.state.data,u,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return oe(this,et,Ap({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:s.abort.bind(s),onSuccess:u=>{var d,h,m,g;if(u===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(u)}catch(b){l(b);return}(h=(d=U(this,Pt).config).onSuccess)==null||h.call(d,u,this),(g=(m=U(this,Pt).config).onSettled)==null||g.call(m,u,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(u,d)=>{Ze(this,Nt,cn).call(this,{type:"failed",failureCount:u,error:d})},onPause:()=>{Ze(this,Nt,cn).call(this,{type:"pause"})},onContinue:()=>{Ze(this,Nt,cn).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),U(this,et).start()}},Ks=new WeakMap,qs=new WeakMap,Pt=new WeakMap,et=new WeakMap,Zr=new WeakMap,fs=new WeakMap,Nt=new WeakSet,cn=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,...Kw(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 dl(r)&&r.revert&&U(this,qs)?{...U(this,qs),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),ut.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),U(this,Pt).notify({query:this,type:"updated",action:t})})},Wf);function Kw(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Pp(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function qw(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 Gt,Kf,Lp=(Kf=class extends Uo{constructor(n={}){super();ve(this,Gt);this.config=n,oe(this,Gt,new Map)}build(n,s,r){const i=s.queryKey,o=s.queryHash??sc(i,s);let l=this.get(o);return l||(l=new Ww({cache:this,queryKey:i,queryHash:o,options:n.defaultQueryOptions(s),state:r,defaultOptions:n.getQueryDefaults(i)}),this.add(l)),l}add(n){U(this,Gt).has(n.queryHash)||(U(this,Gt).set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const s=U(this,Gt).get(n.queryHash);s&&(n.destroy(),s===n&&U(this,Gt).delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){ut.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return U(this,Gt).get(n)}getAll(){return[...U(this,Gt).values()]}find(n){const s={exact:!0,...n};return this.getAll().find(r=>ju(s,r))}findAll(n={}){const s=this.getAll();return Object.keys(n).length>0?s.filter(r=>ju(n,r)):s}notify(n){ut.batch(()=>{this.listeners.forEach(s=>{s(n)})})}onFocus(){ut.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){ut.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},Gt=new WeakMap,Kf),Qt,ot,ds,zt,Ln,qf,Gw=(qf=class extends Rp{constructor(t){super();ve(this,zt);ve(this,Qt);ve(this,ot);ve(this,ds);this.mutationId=t.mutationId,oe(this,ot,t.mutationCache),oe(this,Qt,[]),this.state=t.state||Qw(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){U(this,Qt).includes(t)||(U(this,Qt).push(t),this.clearGcTimeout(),U(this,ot).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){oe(this,Qt,U(this,Qt).filter(n=>n!==t)),this.scheduleGc(),U(this,ot).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){U(this,Qt).length||(this.state.status==="pending"?this.scheduleGc():U(this,ot).remove(this))}continue(){var t;return((t=U(this,ds))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var r,i,o,l,a,c,f,u,d,h,m,g,b,_,v,p,y,E,C,L;oe(this,ds,Ap({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(R,O)=>{Ze(this,zt,Ln).call(this,{type:"failed",failureCount:R,error:O})},onPause:()=>{Ze(this,zt,Ln).call(this,{type:"pause"})},onContinue:()=>{Ze(this,zt,Ln).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>U(this,ot).canRun(this)}));const n=this.state.status==="pending",s=!U(this,ds).canStart();try{if(!n){Ze(this,zt,Ln).call(this,{type:"pending",variables:t,isPaused:s}),await((i=(r=U(this,ot).config).onMutate)==null?void 0:i.call(r,t,this));const O=await((l=(o=this.options).onMutate)==null?void 0:l.call(o,t));O!==this.state.context&&Ze(this,zt,Ln).call(this,{type:"pending",context:O,variables:t,isPaused:s})}const R=await U(this,ds).start();return await((c=(a=U(this,ot).config).onSuccess)==null?void 0:c.call(a,R,t,this.state.context,this)),await((u=(f=this.options).onSuccess)==null?void 0:u.call(f,R,t,this.state.context)),await((h=(d=U(this,ot).config).onSettled)==null?void 0:h.call(d,R,null,this.state.variables,this.state.context,this)),await((g=(m=this.options).onSettled)==null?void 0:g.call(m,R,null,t,this.state.context)),Ze(this,zt,Ln).call(this,{type:"success",data:R}),R}catch(R){try{throw await((_=(b=U(this,ot).config).onError)==null?void 0:_.call(b,R,t,this.state.context,this)),await((p=(v=this.options).onError)==null?void 0:p.call(v,R,t,this.state.context)),await((E=(y=U(this,ot).config).onSettled)==null?void 0:E.call(y,void 0,R,this.state.variables,this.state.context,this)),await((L=(C=this.options).onSettled)==null?void 0:L.call(C,void 0,R,t,this.state.context)),R}finally{Ze(this,zt,Ln).call(this,{type:"error",error:R})}}finally{U(this,ot).runNext(this)}}},Qt=new WeakMap,ot=new WeakMap,ds=new WeakMap,zt=new WeakSet,Ln=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),ut.batch(()=>{U(this,Qt).forEach(s=>{s.onMutationUpdate(t)}),U(this,ot).notify({mutation:this,type:"updated",action:t})})},qf);function Qw(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var wt,ei,Gf,xp=(Gf=class extends Uo{constructor(n={}){super();ve(this,wt);ve(this,ei);this.config=n,oe(this,wt,new Map),oe(this,ei,Date.now())}build(n,s,r){const i=new Gw({mutationCache:this,mutationId:++ui(this,ei)._,options:n.defaultMutationOptions(s),state:r});return this.add(i),i}add(n){const s=Pi(n),r=U(this,wt).get(s)??[];r.push(n),U(this,wt).set(s,r),this.notify({type:"added",mutation:n})}remove(n){var r;const s=Pi(n);if(U(this,wt).has(s)){const i=(r=U(this,wt).get(s))==null?void 0:r.filter(o=>o!==n);i&&(i.length===0?U(this,wt).delete(s):U(this,wt).set(s,i))}this.notify({type:"removed",mutation:n})}canRun(n){var r;const s=(r=U(this,wt).get(Pi(n)))==null?void 0:r.find(i=>i.state.status==="pending");return!s||s===n}runNext(n){var r;const s=(r=U(this,wt).get(Pi(n)))==null?void 0:r.find(i=>i!==n&&i.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}clear(){ut.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}getAll(){return[...U(this,wt).values()].flat()}find(n){const s={exact:!0,...n};return this.getAll().find(r=>Uu(s,r))}findAll(n={}){return this.getAll().filter(s=>Uu(n,s))}notify(n){ut.batch(()=>{this.listeners.forEach(s=>{s(n)})})}resumePausedMutations(){const n=this.getAll().filter(s=>s.state.isPaused);return ut.batch(()=>Promise.all(n.map(s=>s.continue().catch(kt))))}},wt=new WeakMap,ei=new WeakMap,Gf);function Pi(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Wu(e){return{onFetch:(t,n)=>{var f,u,d,h,m;const s=t.options,r=(d=(u=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:u.fetchMore)==null?void 0:d.direction,i=((h=t.state.data)==null?void 0:h.pages)||[],o=((m=t.state.data)==null?void 0:m.pageParams)||[];let l={pages:[],pageParams:[]},a=0;const c=async()=>{let g=!1;const b=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},_=Sp(t.options,t.fetchOptions),v=async(p,y,E)=>{if(g)return Promise.reject();if(y==null&&p.pages.length)return Promise.resolve(p);const C={queryKey:t.queryKey,pageParam:y,direction:E?"backward":"forward",meta:t.options.meta};b(C);const L=await _(C),{maxPages:R}=t.options,O=E?Fw:$w;return{pages:O(p.pages,L,R),pageParams:O(p.pageParams,y,R)}};if(r&&i.length){const p=r==="backward",y=p?zw:Ku,E={pages:i,pageParams:o},C=y(s,E);l=await v(E,C,p)}else{const p=e??i.length;do{const y=a===0?o[0]??s.initialPageParam:Ku(s,l);if(a>0&&y==null)break;l=await v(l,y),a++}while(a<p)}return l};t.options.persister?t.fetchFn=()=>{var g,b;return(b=(g=t.options).persister)==null?void 0:b.call(g,c,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function Ku(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 zw(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 Me,Un,Vn,Gs,Qs,Bn,zs,Ys,Qf,Yw=(Qf=class{constructor(t={}){ve(this,Me);ve(this,Un);ve(this,Vn);ve(this,Gs);ve(this,Qs);ve(this,Bn);ve(this,zs);ve(this,Ys);oe(this,Me,t.queryCache||new Lp),oe(this,Un,t.mutationCache||new xp),oe(this,Vn,t.defaultOptions||{}),oe(this,Gs,new Map),oe(this,Qs,new Map),oe(this,Bn,0)}mount(){ui(this,Bn)._++,U(this,Bn)===1&&(oe(this,zs,Cp.subscribe(async t=>{t&&(await this.resumePausedMutations(),U(this,Me).onFocus())})),oe(this,Ys,lo.subscribe(async t=>{t&&(await this.resumePausedMutations(),U(this,Me).onOnline())})))}unmount(){var t,n;ui(this,Bn)._--,U(this,Bn)===0&&((t=U(this,zs))==null||t.call(this),oe(this,zs,void 0),(n=U(this,Ys))==null||n.call(this),oe(this,Ys,void 0))}isFetching(t){return U(this,Me).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return U(this,Un).findAll({...t,status:"pending"}).length}getQueryData(t){var s;const n=this.defaultQueryOptions({queryKey:t});return(s=U(this,Me).get(n.queryHash))==null?void 0:s.state.data}ensureQueryData(t){const n=this.getQueryData(t.queryKey);if(n===void 0)return this.fetchQuery(t);{const s=this.defaultQueryOptions(t),r=U(this,Me).build(this,s);return t.revalidateIfStale&&r.isStaleByTime(Hu(s.staleTime,r))&&this.prefetchQuery(s),Promise.resolve(n)}}getQueriesData(t){return U(this,Me).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=U(this,Me).get(r.queryHash),o=i==null?void 0:i.state.data,l=xw(n,o);if(l!==void 0)return U(this,Me).build(this,r).setData(l,{...s,manual:!0})}setQueriesData(t,n,s){return ut.batch(()=>U(this,Me).findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,n,s)]))}getQueryState(t){var s;const n=this.defaultQueryOptions({queryKey:t});return(s=U(this,Me).get(n.queryHash))==null?void 0:s.state}removeQueries(t){const n=U(this,Me);ut.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=U(this,Me),r={type:"active",...t};return ut.batch(()=>(s.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries(r,n)))}cancelQueries(t={},n={}){const s={revert:!0,...n},r=ut.batch(()=>U(this,Me).findAll(t).map(i=>i.cancel(s)));return Promise.all(r).then(kt).catch(kt)}invalidateQueries(t={},n={}){return ut.batch(()=>{if(U(this,Me).findAll(t).forEach(r=>{r.invalidate()}),t.refetchType==="none")return Promise.resolve();const s={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(s,n)})}refetchQueries(t={},n){const s={...n,cancelRefetch:(n==null?void 0:n.cancelRefetch)??!0},r=ut.batch(()=>U(this,Me).findAll(t).filter(i=>!i.isDisabled()).map(i=>{let o=i.fetch(void 0,s);return s.throwOnError||(o=o.catch(kt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(kt)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const s=U(this,Me).build(this,n);return s.isStaleByTime(Hu(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(kt).catch(kt)}fetchInfiniteQuery(t){return t.behavior=Wu(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(kt).catch(kt)}ensureInfiniteQueryData(t){return t.behavior=Wu(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return lo.isOnline()?U(this,Un).resumePausedMutations():Promise.resolve()}getQueryCache(){return U(this,Me)}getMutationCache(){return U(this,Un)}getDefaultOptions(){return U(this,Vn)}setDefaultOptions(t){oe(this,Vn,t)}setQueryDefaults(t,n){U(this,Gs).set(Kr(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...U(this,Gs).values()];let s={};return n.forEach(r=>{qr(t,r.queryKey)&&(s={...s,...r.defaultOptions})}),s}setMutationDefaults(t,n){U(this,Qs).set(Kr(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...U(this,Qs).values()];let s={};return n.forEach(r=>{qr(t,r.mutationKey)&&(s={...s,...r.defaultOptions})}),s}defaultQueryOptions(t){if(t._defaulted)return t;const n={...U(this,Vn).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=sc(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.enabled!==!0&&n.queryFn===Tp&&(n.enabled=!1),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...U(this,Vn).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){U(this,Me).clear(),U(this,Un).clear()}},Me=new WeakMap,Un=new WeakMap,Vn=new WeakMap,Gs=new WeakMap,Qs=new WeakMap,Bn=new WeakMap,zs=new WeakMap,Ys=new WeakMap,Qf),Xw="VUE_QUERY_CLIENT";function Jw(e){const t=e?`:${e}`:"";return`${Xw}${t}`}function WS(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function Zl(e,t,n="",s=0){if(t){const r=t(e,n,s);if(r===void 0&&_e(e)||r!==void 0)return r}if(Array.isArray(e))return e.map((r,i)=>Zl(r,t,String(i),s+1));if(typeof e=="object"&&e0(e)){const r=Object.entries(e).map(([i,o])=>[i,Zl(o,t,i,s+1)]);return Object.fromEntries(r)}return e}function Zw(e,t){return Zl(e,t)}function le(e,t=!1){return Zw(e,(n,s,r)=>{if(r===1&&s==="queryKey")return le(n,!0);if(t&&t0(n))return le(n(),t);if(_e(n))return le(Tt(n),t)})}function e0(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function t0(e){return typeof e=="function"}function KS(e,t){return typeof e=="function"?e(...t):!!e}var n0=class extends Lp{find(e){return super.find(le(e))}findAll(e={}){return super.findAll(le(e))}},s0=class extends xp{find(e){return super.find(le(e))}findAll(e={}){return super.findAll(le(e))}},r0=class extends Yw{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new n0,mutationCache:e.mutationCache||new s0};super(t),this.isRestoring=ie(!1)}isFetching(e={}){return super.isFetching(le(e))}isMutating(e={}){return super.isMutating(le(e))}getQueryData(e){return super.getQueryData(le(e))}ensureQueryData(e){return super.ensureQueryData(le(e))}getQueriesData(e){return super.getQueriesData(le(e))}setQueryData(e,t,n={}){return super.setQueryData(le(e),t,le(n))}setQueriesData(e,t,n={}){return super.setQueriesData(le(e),t,le(n))}getQueryState(e){return super.getQueryState(le(e))}removeQueries(e={}){return super.removeQueries(le(e))}resetQueries(e={},t={}){return super.resetQueries(le(e),le(t))}cancelQueries(e={},t={}){return super.cancelQueries(le(e),le(t))}invalidateQueries(e={},t={}){const n=le(e),s=le(t);if(super.invalidateQueries({...n,refetchType:"none"},s),n.refetchType==="none")return Promise.resolve();const r={...n,type:n.refetchType??n.type??"active"};return gt().then(()=>super.refetchQueries(r,s))}refetchQueries(e={},t={}){return super.refetchQueries(le(e),le(t))}fetchQuery(e){return super.fetchQuery(le(e))}prefetchQuery(e){return super.prefetchQuery(le(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(le(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(le(e))}setDefaultOptions(e){super.setDefaultOptions(le(e))}setQueryDefaults(e,t){super.setQueryDefaults(le(e),le(t))}getQueryDefaults(e){return super.getQueryDefaults(le(e))}setMutationDefaults(e,t){super.setMutationDefaults(le(e),le(t))}getMutationDefaults(e){return super.getMutationDefaults(le(e))}},i0={install:(e,t={})=>{const n=Jw(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 r0(o)}ai||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 o0=["top","right","bottom","left"],qu=["start","end"],Gu=o0.reduce((e,t)=>e.concat(t,t+"-"+qu[0],t+"-"+qu[1]),[]),Gr=Math.min,as=Math.max,l0={left:"right",right:"left",bottom:"top",top:"bottom"},a0={start:"end",end:"start"};function ea(e,t,n){return as(e,Gr(t,n))}function Cs(e,t){return typeof e=="function"?e(t):e}function sn(e){return e.split("-")[0]}function Ht(e){return e.split("-")[1]}function kp(e){return e==="x"?"y":"x"}function rc(e){return e==="y"?"height":"width"}function ws(e){return["top","bottom"].includes(sn(e))?"y":"x"}function ic(e){return kp(ws(e))}function Np(e,t,n){n===void 0&&(n=!1);const s=Ht(e),r=ic(e),i=rc(r);let o=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=co(o)),[o,co(o)]}function c0(e){const t=co(e);return[ao(e),t,ao(t)]}function ao(e){return e.replace(/start|end/g,t=>a0[t])}function u0(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 f0(e,t,n,s){const r=Ht(e);let i=u0(sn(e),n==="start",s);return r&&(i=i.map(o=>o+"-"+r),t&&(i=i.concat(i.map(ao)))),i}function co(e){return e.replace(/left|right|bottom|top/g,t=>l0[t])}function d0(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ip(e){return typeof e!="number"?d0(e):{top:e,right:e,bottom:e,left:e}}function Ar(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 Qu(e,t,n){let{reference:s,floating:r}=e;const i=ws(t),o=ic(t),l=rc(o),a=sn(t),c=i==="y",f=s.x+s.width/2-r.width/2,u=s.y+s.height/2-r.height/2,d=s[l]/2-r[l]/2;let h;switch(a){case"top":h={x:f,y:s.y-r.height};break;case"bottom":h={x:f,y:s.y+s.height};break;case"right":h={x:s.x+s.width,y:u};break;case"left":h={x:s.x-r.width,y:u};break;default:h={x:s.x,y:s.y}}switch(Ht(t)){case"start":h[o]-=d*(n&&c?-1:1);break;case"end":h[o]+=d*(n&&c?-1:1);break}return h}const h0=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}=Qu(c,s,a),d=s,h={},m=0;for(let g=0;g<l.length;g++){const{name:b,fn:_}=l[g],{x:v,y:p,data:y,reset:E}=await _({x:f,y:u,initialPlacement:s,placement:d,strategy:r,middlewareData:h,rects:c,platform:o,elements:{reference:e,floating:t}});f=v??f,u=p??u,h={...h,[b]:{...h[b],...y}},E&&m<=50&&(m++,typeof E=="object"&&(E.placement&&(d=E.placement),E.rects&&(c=E.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:r}):E.rects),{x:f,y:u}=Qu(c,d,a)),g=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:h}};async function Vo(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:d=!1,padding:h=0}=Cs(t,e),m=Ip(h),b=l[d?u==="floating"?"reference":"floating":u],_=Ar(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(b)))==null||n?b:b.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,p=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),y=await(i.isElement==null?void 0:i.isElement(p))?await(i.getScale==null?void 0:i.getScale(p))||{x:1,y:1}:{x:1,y:1},E=Ar(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:p,strategy:a}):v);return{top:(_.top-E.top+m.top)/y.y,bottom:(E.bottom-_.bottom+m.bottom)/y.y,left:(_.left-E.left+m.left)/y.x,right:(E.right-_.right+m.right)/y.x}}const p0=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}=Cs(e,t)||{};if(c==null)return{};const u=Ip(f),d={x:n,y:s},h=ic(r),m=rc(h),g=await o.getDimensions(c),b=h==="y",_=b?"top":"left",v=b?"bottom":"right",p=b?"clientHeight":"clientWidth",y=i.reference[m]+i.reference[h]-d[h]-i.floating[m],E=d[h]-i.reference[h],C=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let L=C?C[p]:0;(!L||!await(o.isElement==null?void 0:o.isElement(C)))&&(L=l.floating[p]||i.floating[m]);const R=y/2-E/2,O=L/2-g[m]/2-1,A=Gr(u[_],O),D=Gr(u[v],O),N=A,B=L-g[m]-D,X=L/2-g[m]/2+R,se=ea(N,X,B),W=!a.arrow&&Ht(r)!=null&&X!==se&&i.reference[m]/2-(X<N?A:D)-g[m]/2<0,q=W?X<N?X-N:X-B:0;return{[h]:d[h]+q,data:{[h]:se,centerOffset:X-se-q,...W&&{alignmentOffset:q}},reset:W}}});function m0(e,t,n){return(e?[...n.filter(r=>Ht(r)===e),...n.filter(r=>Ht(r)!==e)]:n.filter(r=>sn(r)===r)).filter(r=>e?Ht(r)===e||(t?ao(r)!==r:!1):!0)}const g0=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:d=Gu,autoAlignment:h=!0,...m}=Cs(e,t),g=u!==void 0||d===Gu?m0(u||null,h,d):d,b=await Vo(t,m),_=((n=o.autoPlacement)==null?void 0:n.index)||0,v=g[_];if(v==null)return{};const p=Np(v,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==v)return{reset:{placement:g[0]}};const y=[b[sn(v)],b[p[0]],b[p[1]]],E=[...((s=o.autoPlacement)==null?void 0:s.overflows)||[],{placement:v,overflows:y}],C=g[_+1];if(C)return{data:{index:_+1,overflows:E},reset:{placement:C}};const L=E.map(A=>{const D=Ht(A.placement);return[A.placement,D&&f?A.overflows.slice(0,2).reduce((N,B)=>N+B,0):A.overflows[0],A.overflows]}).sort((A,D)=>A[1]-D[1]),O=((r=L.filter(A=>A[2].slice(0,Ht(A[0])?2:3).every(D=>D<=0))[0])==null?void 0:r[0])||L[0][0];return O!==l?{data:{index:_+1,overflows:E},reset:{placement:O}}:{}}}},y0=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:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...b}=Cs(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const _=sn(r),v=ws(l),p=sn(l)===l,y=await(a.isRTL==null?void 0:a.isRTL(c.floating)),E=d||(p||!g?[co(l)]:c0(l)),C=m!=="none";!d&&C&&E.push(...f0(l,g,m,y));const L=[l,...E],R=await Vo(t,b),O=[];let A=((s=i.flip)==null?void 0:s.overflows)||[];if(f&&O.push(R[_]),u){const X=Np(r,o,y);O.push(R[X[0]],R[X[1]])}if(A=[...A,{placement:r,overflows:O}],!O.every(X=>X<=0)){var D,N;const X=(((D=i.flip)==null?void 0:D.index)||0)+1,se=L[X];if(se)return{data:{index:X,overflows:A},reset:{placement:se}};let W=(N=A.filter(q=>q.overflows[0]<=0).sort((q,G)=>q.overflows[1]-G.overflows[1])[0])==null?void 0:N.placement;if(!W)switch(h){case"bestFit":{var B;const q=(B=A.filter(G=>{if(C){const re=ws(G.placement);return re===v||re==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(re=>re>0).reduce((re,xe)=>re+xe,0)]).sort((G,re)=>G[1]-re[1])[0])==null?void 0:B[0];q&&(W=q);break}case"initialPlacement":W=l;break}if(r!==W)return{reset:{placement:W}}}return{}}}};async function _0(e,t){const{placement:n,platform:s,elements:r}=e,i=await(s.isRTL==null?void 0:s.isRTL(r.floating)),o=sn(n),l=Ht(n),a=ws(n)==="y",c=["left","top"].includes(o)?-1:1,f=i&&a?-1:1,u=Cs(t,e);let{mainAxis:d,crossAxis:h,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"&&(h=l==="end"?m*-1:m),a?{x:h*f,y:d*c}:{x:d*c,y:h*f}}const v0=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 _0(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}}}}},b0=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:b=>{let{x:_,y:v}=b;return{x:_,y:v}}},...a}=Cs(e,t),c={x:n,y:s},f=await Vo(t,a),u=ws(sn(r)),d=kp(u);let h=c[d],m=c[u];if(i){const b=d==="y"?"top":"left",_=d==="y"?"bottom":"right",v=h+f[b],p=h-f[_];h=ea(v,h,p)}if(o){const b=u==="y"?"top":"left",_=u==="y"?"bottom":"right",v=m+f[b],p=m-f[_];m=ea(v,m,p)}const g=l.fn({...t,[d]:h,[u]:m});return{...g,data:{x:g.x-n,y:g.y-s,enabled:{[d]:i,[u]:o}}}}}},w0=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}=Cs(e,t),f=await Vo(t,c),u=sn(r),d=Ht(r),h=ws(r)==="y",{width:m,height:g}=i.floating;let b,_;u==="top"||u==="bottom"?(b=u,_=d===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(_=u,b=d==="end"?"top":"bottom");const v=g-f.top-f.bottom,p=m-f.left-f.right,y=Gr(g-f[b],v),E=Gr(m-f[_],p),C=!t.middlewareData.shift;let L=y,R=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(R=p),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(L=v),C&&!d){const A=as(f.left,0),D=as(f.right,0),N=as(f.top,0),B=as(f.bottom,0);h?R=m-2*(A!==0||D!==0?A+D:as(f.left,f.right)):L=g-2*(N!==0||B!==0?N+B:as(f.top,f.bottom))}await a({...t,availableWidth:R,availableHeight:L});const O=await o.getDimensions(l.floating);return m!==O.width||g!==O.height?{reset:{rects:!0}}:{}}}};function At(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Zt(e){return At(e).getComputedStyle(e)}const zu=Math.min,Rr=Math.max,uo=Math.round;function Mp(e){const t=Zt(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,i=e.offsetHeight,o=uo(n)!==r||uo(s)!==i;return o&&(n=r,s=i),{width:n,height:s,fallback:o}}function Zn(e){return $p(e)?(e.nodeName||"").toLowerCase():""}let Oi;function Dp(){if(Oi)return Oi;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Oi=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Oi):navigator.userAgent}function en(e){return e instanceof At(e).HTMLElement}function qn(e){return e instanceof At(e).Element}function $p(e){return e instanceof At(e).Node}function Yu(e){return typeof ShadowRoot>"u"?!1:e instanceof At(e).ShadowRoot||e instanceof ShadowRoot}function Bo(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=Zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function E0(e){return["table","td","th"].includes(Zn(e))}function ta(e){const t=/firefox/i.test(Dp()),n=Zt(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 Fp(){return!/^((?!chrome|android).)*safari/i.test(Dp())}function oc(e){return["html","body","#document"].includes(Zn(e))}function Hp(e){return qn(e)?e:e.contextElement}const jp={x:1,y:1};function js(e){const t=Hp(e);if(!en(t))return jp;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:i}=Mp(t);let o=(i?uo(n.width):n.width)/s,l=(i?uo(n.height):n.height)/r;return o&&Number.isFinite(o)||(o=1),l&&Number.isFinite(l)||(l=1),{x:o,y:l}}function Qr(e,t,n,s){var r,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),l=Hp(e);let a=jp;t&&(s?qn(s)&&(a=js(s)):a=js(e));const c=l?At(l):window,f=!Fp()&&n;let u=(o.left+(f&&((r=c.visualViewport)==null?void 0:r.offsetLeft)||0))/a.x,d=(o.top+(f&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/a.y,h=o.width/a.x,m=o.height/a.y;if(l){const g=At(l),b=s&&qn(s)?At(s):s;let _=g.frameElement;for(;_&&s&&b!==g;){const v=js(_),p=_.getBoundingClientRect(),y=getComputedStyle(_);p.x+=(_.clientLeft+parseFloat(y.paddingLeft))*v.x,p.y+=(_.clientTop+parseFloat(y.paddingTop))*v.y,u*=v.x,d*=v.y,h*=v.x,m*=v.y,u+=p.x,d+=p.y,_=At(_).frameElement}}return{width:h,height:m,top:d,right:u+h,bottom:d+m,left:u,x:u,y:d}}function Gn(e){return(($p(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wo(e){return qn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Up(e){return Qr(Gn(e)).left+Wo(e).scrollLeft}function zr(e){if(Zn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Yu(e)&&e.host||Gn(e);return Yu(t)?t.host:t}function Vp(e){const t=zr(e);return oc(t)?t.ownerDocument.body:en(t)&&Bo(t)?t:Vp(t)}function fo(e,t){var n;t===void 0&&(t=[]);const s=Vp(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),i=At(s);return r?t.concat(i,i.visualViewport||[],Bo(s)?s:[]):t.concat(s,fo(s))}function Xu(e,t,n){return t==="viewport"?Ar(function(s,r){const i=At(s),o=Gn(s),l=i.visualViewport;let a=o.clientWidth,c=o.clientHeight,f=0,u=0;if(l){a=l.width,c=l.height;const d=Fp();(d||!d&&r==="fixed")&&(f=l.offsetLeft,u=l.offsetTop)}return{width:a,height:c,x:f,y:u}}(e,n)):qn(t)?Ar(function(s,r){const i=Qr(s,!0,r==="fixed"),o=i.top+s.clientTop,l=i.left+s.clientLeft,a=en(s)?js(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)):Ar(function(s){const r=Gn(s),i=Wo(s),o=s.ownerDocument.body,l=Rr(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),a=Rr(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let c=-i.scrollLeft+Up(s);const f=-i.scrollTop;return Zt(o).direction==="rtl"&&(c+=Rr(r.clientWidth,o.clientWidth)-l),{width:l,height:a,x:c,y:f}}(Gn(e)))}function Ju(e){return en(e)&&Zt(e).position!=="fixed"?e.offsetParent:null}function Zu(e){const t=At(e);let n=Ju(e);for(;n&&E0(n)&&Zt(n).position==="static";)n=Ju(n);return n&&(Zn(n)==="html"||Zn(n)==="body"&&Zt(n).position==="static"&&!ta(n))?t:n||function(s){let r=zr(s);for(;en(r)&&!oc(r);){if(ta(r))return r;r=zr(r)}return null}(e)||t}function T0(e,t,n){const s=en(t),r=Gn(t),i=Qr(e,!0,n==="fixed",t);let o={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(s||!s&&n!=="fixed")if((Zn(t)!=="body"||Bo(r))&&(o=Wo(t)),en(t)){const a=Qr(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else r&&(l.x=Up(r));return{x:i.left+o.scrollLeft-l.x,y:i.top+o.scrollTop-l.y,width:i.width,height:i.height}}const S0={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 d=fo(c).filter(b=>qn(b)&&Zn(b)!=="body"),h=null;const m=Zt(c).position==="fixed";let g=m?zr(c):c;for(;qn(g)&&!oc(g);){const b=Zt(g),_=ta(g);(m?_||h:_||b.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=b:d=d.filter(v=>v!==g),g=zr(g)}return f.set(c,d),d}(t,this._c):[].concat(n),o=[...i,s],l=o[0],a=o.reduce((c,f)=>{const u=Xu(t,f,r);return c.top=Rr(u.top,c.top),c.right=zu(u.right,c.right),c.bottom=zu(u.bottom,c.bottom),c.left=Rr(u.left,c.left),c},Xu(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=en(n),i=Gn(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")&&((Zn(n)!=="body"||Bo(i))&&(o=Wo(n)),en(n))){const c=Qr(n);l=js(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:qn,getDimensions:function(e){return en(e)?Mp(e):e.getBoundingClientRect()},getOffsetParent:Zu,getDocumentElement:Gn,getScale:js,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||Zu,i=this.getDimensions;return{reference:T0(t,await r(n),s),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Zt(e).direction==="rtl"},C0=(e,t,n)=>{const s=new Map,r={platform:S0,...n},i={...r.platform,_c:s};return h0(e,t,{...r,platform:i})};function Bp(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Bp(e[n],t[n]):e[n]=t[n])}const jt={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 Yr(e,t){let n=jt.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=jt.themes[n.$extend]||{}:(n=null,s=jt[t]):n=null;while(n);return s}function P0(e){const t=[e];let n=jt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=jt.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function ef(e){const t=[e];let n=jt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=jt.themes[n.$extend]||{}):n=null;while(n);return t}let sr=!1;if(typeof window<"u"){sr=!1;try{const e=Object.defineProperty({},"passive",{get(){sr=!0}});window.addEventListener("test",null,e)}catch{}}let Wp=!1;typeof window<"u"&&typeof navigator<"u"&&(Wp=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Kp=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),tf={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},nf={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function sf(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function hl(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Mt=[];let ls=null;const rf={};function of(e){let t=rf[e];return t||(t=rf[e]=[]),t}let na=function(){};typeof window<"u"&&(na=window.Element);function he(e){return function(t){return Yr(t.theme,e)}}const pl="__floating-vue__popper",qp=()=>_t({name:"VPopper",provide(){return{[pl]:{parentPopper:this}}},inject:{[pl]:{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:he("disabled")},positioningDisabled:{type:Boolean,default:he("positioningDisabled")},placement:{type:String,default:he("placement"),validator:e=>Kp.includes(e)},delay:{type:[String,Number,Object],default:he("delay")},distance:{type:[Number,String],default:he("distance")},skidding:{type:[Number,String],default:he("skidding")},triggers:{type:Array,default:he("triggers")},showTriggers:{type:[Array,Function],default:he("showTriggers")},hideTriggers:{type:[Array,Function],default:he("hideTriggers")},popperTriggers:{type:Array,default:he("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:he("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:he("popperHideTriggers")},container:{type:[String,Object,na,Boolean],default:he("container")},boundary:{type:[String,na],default:he("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:he("strategy")},autoHide:{type:[Boolean,Function],default:he("autoHide")},handleResize:{type:Boolean,default:he("handleResize")},instantMove:{type:Boolean,default:he("instantMove")},eagerMount:{type:Boolean,default:he("eagerMount")},popperClass:{type:[String,Array,Object],default:he("popperClass")},computeTransformOrigin:{type:Boolean,default:he("computeTransformOrigin")},autoMinSize:{type:Boolean,default:he("autoMinSize")},autoSize:{type:[Boolean,String],default:he("autoSize")},autoMaxSize:{type:Boolean,default:he("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:he("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:he("preventOverflow")},overflowPadding:{type:[Number,String],default:he("overflowPadding")},arrowPadding:{type:[Number,String],default:he("arrowPadding")},arrowOverflow:{type:Boolean,default:he("arrowOverflow")},flip:{type:Boolean,default:he("flip")},shift:{type:Boolean,default:he("shift")},shiftCrossAxis:{type:Boolean,default:he("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:he("noAutoFocus")},disposeTimeout:{type:Number,default:he("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[pl])==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(v0({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(g0({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(b0({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(y0({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(p0({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(w0({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 C0(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),ls&&this.instantMove&&ls.instantMove&&ls!==this.parentPopper){ls.$_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&&(ls=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 hl(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...fo(this.$_referenceNode),...fo(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<Mt.length;n++)t=Mt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Mt.push(this),document.body.classList.add("v-popper--some-open");for(const t of ef(this.theme))of(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 hl(),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,sf(Mt,this),Mt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of ef(this.theme)){const s=of(n);sf(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}ls===this&&(ls=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 hl(),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,tf,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],tf,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,nf,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],nf,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,sr?{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(Lr>=e.left&&Lr<=e.right&&xr>=e.top&&xr<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Lr-xn,s=xr-kn,r=t.left+t.width/2-xn+(t.top+t.height/2)-kn+t.width+t.height,i=xn+n*r,o=kn+s*r;return Ai(xn,kn,i,o,t.left,t.top,t.left,t.bottom)||Ai(xn,kn,i,o,t.left,t.top,t.right,t.top)||Ai(xn,kn,i,o,t.right,t.top,t.right,t.bottom)||Ai(xn,kn,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(Wp){const e=sr?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>lf(t,!0),e),document.addEventListener("touchend",t=>af(t,!0),e)}else window.addEventListener("mousedown",e=>lf(e,!1),!0),window.addEventListener("click",e=>af(e,!1),!0);window.addEventListener("resize",A0)}function lf(e,t){if(jt.autoHideOnMousedown)Gp(e,t);else for(let n=0;n<Mt.length;n++){const s=Mt[n];try{s.mouseDownContains=s.popperNode().contains(e.target)}catch{}}}function af(e,t){jt.autoHideOnMousedown||Gp(e,t)}function Gp(e,t){const n={};for(let s=Mt.length-1;s>=0;s--){const r=Mt[s];try{const i=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!n[r.randomId]&&cf(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&&cf(o,o.containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function cf(e,t,n){return n.closeAllPopover||n.closePopover&&t||O0(e,n)&&!t}function O0(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function A0(){for(let e=0;e<Mt.length;e++)Mt[e].$_computePosition()}let xn=0,kn=0,Lr=0,xr=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{xn=Lr,kn=xr,Lr=e.clientX,xr=e.clientY},sr?{passive:!0}:void 0);function Ai(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 R0={extends:qp()},Ko=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function L0(e,t,n,s,r,i){return dt(),er("div",{ref:"reference",class:ns(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[jr(e.$slots,"default",cd(Qa(e.slotData)))],2)}const x0=Ko(R0,[["render",L0]]);function k0(){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 $i;function sa(){sa.init||(sa.init=!0,$i=k0()!==-1)}var qo={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){sa(),gt(()=>{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",$i&&this.$el.appendChild(e),e.data="about:blank",$i||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&&(!$i&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const N0=jd();Fd("data-v-b329ee4c");const I0={class:"resize-observer",tabindex:"-1"};Hd();const M0=N0((e,t,n,s,r,i)=>(dt(),vn("div",I0)));qo.render=M0;qo.__scopeId="data-v-b329ee4c";qo.__file="src/components/ResizeObserver.vue";const Qp=(e="theme")=>({computed:{themeClass(){return P0(this[e])}}}),D0=_t({name:"VPopperContent",components:{ResizeObserver:qo},mixins:[Qp()],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}}}),$0=["id","aria-hidden","tabindex","data-popper-placement"],F0={ref:"inner",class:"v-popper__inner"},H0=Yt("div",{class:"v-popper__arrow-outer"},null,-1),j0=Yt("div",{class:"v-popper__arrow-inner"},null,-1),U0=[H0,j0];function V0(e,t,n,s,r,i){const o=_s("ResizeObserver");return dt(),er("div",{id:e.popperId,ref:"popover",class:ns(["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:Wn(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]=ep(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[Yt("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),Yt("div",{class:"v-popper__wrapper",style:Wn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[Yt("div",F0,[e.mounted?(dt(),er(De,{key:0},[Yt("div",null,[jr(e.$slots,"default")]),e.handleResize?(dt(),vn(o,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):Fl("",!0)],64)):Fl("",!0)],512),Yt("div",{ref:"arrow",class:"v-popper__arrow-container",style:Wn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},U0,4)],4)],46,$0)}const zp=Ko(D0,[["render",V0]]),Yp={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 ra=function(){};typeof window<"u"&&(ra=window.Element);const B0=_t({name:"VPopperWrapper",components:{Popper:x0,PopperContent:zp},mixins:[Yp,Qp("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,ra,Boolean],default:void 0},boundary:{type:[String,ra],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 W0(e,t,n,s,r,i){const o=_s("PopperContent"),l=_s("Popper");return dt(),vn(l,Fo({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:ys(({popperId:a,isShown:c,shouldMountContent:f,skipTransition:u,autoHide:d,show:h,hide:m,handleResize:g,onResize:b,classes:_,result:v})=>[jr(e.$slots,"default",{shown:c,show:h,hide:m}),Te(o,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:c,mounted:f,"skip-transition":u,"auto-hide":d,"handle-resize":g,classes:_,result:v,onHide:m,onResize:b},{default:ys(()=>[jr(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 lc=Ko(B0,[["render",W0]]),K0={...lc,name:"VDropdown",vPopperTheme:"dropdown"},q0={...lc,name:"VMenu",vPopperTheme:"menu"},G0={...lc,name:"VTooltip",vPopperTheme:"tooltip"},Q0=_t({name:"VTooltipDirective",components:{Popper:qp(),PopperContent:zp},mixins:[Yp],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Yr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Yr(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}}}),z0=["innerHTML"],Y0=["textContent"];function X0(e,t,n,s,r,i){const o=_s("PopperContent"),l=_s("Popper");return dt(),vn(l,Fo({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:ys(({popperId:a,isShown:c,shouldMountContent:f,skipTransition:u,autoHide:d,hide:h,handleResize:m,onResize:g,classes:b,result:_})=>[Te(o,{ref:"popperContent",class:ns({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:c,mounted:f,"skip-transition":u,"auto-hide":d,"handle-resize":m,classes:b,result:_,onHide:h,onResize:g},{default:ys(()=>[e.html?(dt(),er("div",{key:0,innerHTML:e.finalContent},null,8,z0)):(dt(),er("div",{key:1,textContent:Ea(e.finalContent)},null,8,Y0))]),_: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 J0=Ko(Q0,[["render",X0]]),Xp="v-popper--has-tooltip";function Z0(e,t){let n=e.placement;if(!n&&t)for(const s of Kp)t[s]&&(n=s);return n||(n=Yr(e.theme||"tooltip","placement")),n}function Jp(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=Z0(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let ml,Xr,eE=0;function tE(){if(ml)return;Xr=ie([]),ml=Br({name:"VTooltipDirectiveApp",setup(){return{directives:Xr}},render(){return this.directives.map(t=>Ss(J0,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ml.mount(e)}function nE(e,t,n){tE();const s=ie(Jp(e,t,n)),r=ie(!1),i={id:eE++,options:s,shown:r};return Xr.value.push(i),e.classList&&e.classList.add(Xp),e.$_popper={options:s,item:i,show(){r.value=!0},hide(){r.value=!1}}}function Zp(e){if(e.$_popper){const t=Xr.value.indexOf(e.$_popper.item);t!==-1&&Xr.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Xp)}function uf(e,{value:t,modifiers:n}){const s=Jp(e,t,n);if(!s.content||Yr(s.theme||"tooltip","disabled"))Zp(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=nE(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const sE={beforeMount:uf,updated:uf,beforeUnmount(e){Zp(e)}};function ff(e){e.addEventListener("mousedown",ho),e.addEventListener("click",ho),e.addEventListener("touchstart",em,sr?{passive:!0}:!1)}function df(e){e.removeEventListener("mousedown",ho),e.removeEventListener("click",ho),e.removeEventListener("touchstart",em),e.removeEventListener("touchend",tm),e.removeEventListener("touchcancel",nm)}function ho(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function em(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",tm),t.addEventListener("touchcancel",nm)}}function tm(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 nm(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const rE={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&ff(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?ff(e):df(e))},beforeUnmount(e){df(e)}};function iE(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Bp(jt,t),e.directive("tooltip",sE),e.directive("close-popper",rE),e.component("VTooltip",G0),e.component("VDropdown",K0),e.component("VMenu",q0))}const oE={version:"5.2.2",install:iE,options:jt},lE=e=>{const t={};Object.entries(Object.assign({"/src/layouts/board-layout.vue":()=>He(()=>import("./board-layout-BDGSSQnD.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url),"/src/layouts/default.vue":()=>He(()=>import("./default-g2FZdb_E.js"),__vite__mapDeps([9,1,2,3,4,5,6,7,8]),import.meta.url),"/src/layouts/headless.vue":()=>He(()=>import("./headless-AGI21K3d.js"),__vite__mapDeps([10,7]),import.meta.url),"/src/layouts/home.vue":()=>He(()=>import("./home-CIo2SGx9.js"),__vite__mapDeps([11,1,2,3,4,5,7]),import.meta.url),"/src/layouts/index-layout.vue":()=>He(()=>import("./index-layout-B9ZsHAPN.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,d;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 g;return(m.path===""||m.path==="/")&&((g=m.meta)==null?void 0:g.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[(d=o.meta)==null?void 0:d.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return s(e)};/*!
46
+ */let yp;const jo=e=>yp=e,_p=Symbol();function Yl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Or;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Or||(Or={}));function gw(){const e=So(!0),t=e.run(()=>ie({}));let n=[],s=[];const r=ko({install(i){jo(r),r._a=i,i.provide(_p,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!mw?s.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const vp=()=>{};function $u(e,t,n,s=vp){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),s())};return!n&&Co()&&Sa(r),r}function As(e,...t){e.slice().forEach(n=>{n(...t)})}const yw=e=>e(),Fu=Symbol(),fl=Symbol();function Xl(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];Yl(r)&&Yl(s)&&e.hasOwnProperty(n)&&!_e(s)&&!Xt(s)?e[n]=Xl(r,s):e[n]=s}return e}const _w=Symbol();function vw(e){return!Yl(e)||!e.hasOwnProperty(_w)}const{assign:Rn}=Object;function bw(e){return!!(_e(e)&&e.effect)}function ww(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=Rd(n.state.value[e]);return Rn(f,i,Object.keys(o||{}).reduce((u,d)=>(u[d]=ko(me(()=>{jo(n);const h=n._s.get(e);return o[d].call(h,h)})),u),{}))}return a=bp(e,c,t,n,s,!0),a}function bp(e,t,n={},s,r,i){let o;const l=Rn({actions:{}},n),a={deep:!0};let c,f,u=[],d=[],h;const m=s.state.value[e];!i&&!m&&(s.state.value[e]={}),ie({});let g;function b(R){let O;c=f=!1,typeof R=="function"?(R(s.state.value[e]),O={type:Or.patchFunction,storeId:e,events:h}):(Xl(s.state.value[e],R),O={type:Or.patchObject,payload:R,storeId:e,events:h});const A=g=Symbol();gt().then(()=>{g===A&&(c=!0)}),f=!0,As(u,O,s.state.value[e])}const _=i?function(){const{state:O}=n,A=O?O():{};this.$patch(D=>{Rn(D,A)})}:vp;function v(){o.stop(),u=[],d=[],s._s.delete(e)}const p=(R,O="")=>{if(Fu in R)return R[fl]=O,R;const A=function(){jo(s);const D=Array.from(arguments),N=[],B=[];function X(q){N.push(q)}function se(q){B.push(q)}As(d,{args:D,name:A[fl],store:E,after:X,onError:se});let W;try{W=R.apply(this&&this.$id===e?this:E,D)}catch(q){throw As(B,q),q}return W instanceof Promise?W.then(q=>(As(N,q),q)).catch(q=>(As(B,q),Promise.reject(q))):(As(N,W),W)};return A[Fu]=!0,A[fl]=O,A},y={_p:s,$id:e,$onAction:$u.bind(null,d),$patch:b,$reset:_,$subscribe(R,O={}){const A=$u(u,R,O.detached,()=>D()),D=o.run(()=>Le(()=>s.state.value[e],N=>{(O.flush==="sync"?f:c)&&R({storeId:e,type:Or.direct,events:h},N)},Rn({},a,O)));return A},$dispose:v},E=Yn(y);s._s.set(e,E);const L=(s._a&&s._a.runWithContext||yw)(()=>s._e.run(()=>(o=So()).run(()=>t({action:p}))));for(const R in L){const O=L[R];if(_e(O)&&!bw(O)||Xt(O))i||(m&&vw(O)&&(_e(O)?O.value=m[R]:Xl(O,m[R])),s.state.value[e][R]=O);else if(typeof O=="function"){const A=p(O,R);L[R]=A,l.actions[R]=O}}return Rn(E,L),Rn(ae(E),L),Object.defineProperty(E,"$state",{get:()=>s.state.value[e],set:R=>{b(O=>{Rn(O,R)})}}),s._p.forEach(R=>{Rn(E,o.run(()=>R({store:E,app:s._a,pinia:s,options:l})))}),m&&i&&n.hydrate&&n.hydrate(E.$state,m),c=!0,f=!0,E}function HS(e,t,n){let s,r;const i=typeof t=="function";s=e,r=i?n:t;function o(l,a){const c=rh();return l=l||(c?ft(_p,null):null),l&&jo(l),l=yp,l._s.has(s)||(i?bp(s,t,r,l):ww(s,r,l)),l._s.get(s)}return o.$id=s,o}const Ew=({isClient:e,initialState:t,app:n})=>{const s=gw();n.use(s),e?s.state.value=t.pinia||{}:t.pinia=s.state.value},Tw=Object.freeze(Object.defineProperty({__proto__:null,install:Ew},Symbol.toStringTag,{value:"Module"})),Sw=({isClient:e,router:t})=>{e&&t.isReady().then(async()=>{const{registerSW:n}=await He(async()=>{const{registerSW:s}=await import("./virtual_pwa-register-8shrxAmh.js");return{registerSW:s}},[],import.meta.url);n({immediate:!0})}).catch(()=>{})},Cw=Object.freeze(Object.defineProperty({__proto__:null,install:Sw},Symbol.toStringTag,{value:"Module"}));var wp={exports:{}};const Pw=fw(Mb);(function(e,t){(function(s,r){e.exports=r(Pw)})(pp,n=>(()=>{var s={113:(R,O)=>{Object.defineProperty(O,"__esModule",{value:!0}),O.default=(A,D)=>{const N=A.__vccOpts||A;for(const[B,X]of D)N[B]=X;return N}},594:R=>{R.exports=n}},r={};function i(R){var O=r[R];if(O!==void 0)return O.exports;var A=r[R]={exports:{}};return s[R](A,A.exports,i),A.exports}i.d=(R,O)=>{for(var A in O)i.o(O,A)&&!i.o(R,A)&&Object.defineProperty(R,A,{enumerable:!0,get:O[A]})},i.o=(R,O)=>Object.prototype.hasOwnProperty.call(R,O),i.r=R=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(R,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(R,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{ToastComponent:()=>y,ToastPlugin:()=>C,ToastPositions:()=>h,default:()=>L,useToast:()=>E});var l=i(594);const a=["innerHTML"];function c(R,O,A,D,N,B){return(0,l.openBlock)(),(0,l.createBlock)(l.Transition,{"enter-active-class":R.transition.enter,"leave-active-class":R.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--${R.type}`,`v-toast__item--${R.position}`]]),onMouseover:O[0]||(O[0]=X=>R.toggleTimer(!0)),onMouseleave:O[1]||(O[1]=X=>R.toggleTimer(!1)),onClick:O[2]||(O[2]=function(){return R.whenClicked&&R.whenClicked(...arguments)})},[O[3]||(O[3]=(0,l.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,l.createElementVNode)("p",{class:"v-toast__text",innerHTML:R.message},null,8,a)],34),[[l.vShow,R.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function f(R){var O;typeof R.remove<"u"?R.remove():(O=R.parentNode)==null||O.removeChild(R)}function u(R,O,A){let D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const N=(0,l.h)(R,O,D),B=document.createElement("div");return B.classList.add("v-toast--pending"),A.appendChild(B),(0,l.render)(N,B),N.component}class d{constructor(O,A){this.startedAt=Date.now(),this.callback=O,this.delay=A,this.timer=setTimeout(O,A)}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 h=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function m(R){return{all:R=R||new Map,on:function(O,A){var D=R.get(O);D?D.push(A):R.set(O,[A])},off:function(O,A){var D=R.get(O);D&&(A?D.splice(D.indexOf(A)>>>0,1):R.set(O,[]))},emit:function(O,A){var D=R.get(O);D&&D.slice().map(function(N){N(A)}),(D=R.get("*"))&&D.slice().map(function(N){N(O,A)})}}}const b=m(),_=(0,l.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:h.BOTTOM_RIGHT,validator(R){return Object.values(h).includes(R)}},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(),b.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 R=document.body;R.appendChild(this.parentTop),R.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 R=this.$refs.root;(0,l.render)(null,R),f(R)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const R=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),f(R),this.isActive=!0,this.duration&&(this.timer=new d(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(R){!this.pauseOnHover||!this.timer||(R?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case h.TOP:case h.TOP_RIGHT:case h.TOP_LEFT:return this.parentTop;case h.BOTTOM:case h.BOTTOM_RIGHT:case h.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case h.TOP:case h.TOP_RIGHT:case h.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case h.BOTTOM:case h.BOTTOM_RIGHT:case h.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){b.off("toast-clear",this.dismiss)}});var v=i(113);const y=(0,v.default)(_,[["render",c]]),E=function(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(O){let A=null;typeof O=="string"&&(A=O);const N=Object.assign({},{message:A},R,O);return{dismiss:u(y,N,document.body).ctx.dismiss}},clear(){b.emit("toast-clear")},success(O){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:O,type:"success"},A))},error(O){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:O,type:"error"},A))},info(O){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:O,type:"info"},A))},warning(O){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:O,type:"warning"},A))},default(O){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:O,type:"default"},A))}}},C={install:function(R){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},A=E(O);R.config.globalProperties.$toast=A,R.provide("$toast",A)}},L=C;return o})())})(wp);var Ow=wp.exports;const Aw=mp(Ow),Rw=({app:e})=>{e.use(Aw,{position:"bottom-right"})},Lw=Object.freeze(Object.defineProperty({__proto__:null,install:Rw},Symbol.toStringTag,{value:"Module"}));var Uo=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(){}},ai=typeof window>"u"||"Deno"in globalThis;function kt(){}function xw(e,t){return typeof e=="function"?e(t):e}function kw(e){return typeof e=="number"&&e>=0&&e!==1/0}function Nw(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Hu(e,t){return typeof e=="function"?e(t):e}function Iw(e,t){return typeof e=="function"?e(t):e}function ju(e,t){const{type:n="all",exact:s,fetchStatus:r,predicate:i,queryKey:o,stale:l}=e;if(o){if(s){if(t.queryHash!==sc(o,t.options))return!1}else if(!qr(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 Uu(e,t){const{exact:n,status:s,predicate:r,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Kr(t.options.mutationKey)!==Kr(i))return!1}else if(!qr(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function sc(e,t){return((t==null?void 0:t.queryKeyHashFn)||Kr)(e)}function Kr(e){return JSON.stringify(e,(t,n)=>Jl(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function qr(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!qr(e[n],t[n])):!1}function Ep(e,t){if(e===t)return e;const n=Vu(e)&&Vu(t);if(n||Jl(e)&&Jl(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]=Ep(e[f],t[f]),l[f]===e[f]&&e[f]!==void 0&&a++)}return r===o&&a===r?e:l}return t}function jS(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 Vu(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Jl(e){if(!Bu(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Bu(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Bu(e){return Object.prototype.toString.call(e)==="[object Object]"}function Mw(e){return new Promise(t=>{setTimeout(t,e)})}function Dw(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Ep(e,t):t}function $w(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function Fw(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var Tp=Symbol();function Sp(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Tp?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var cs,Hn,Vs,Uf,Hw=(Uf=class extends Uo{constructor(){super();ve(this,cs);ve(this,Hn);ve(this,Vs);oe(this,Vs,t=>{if(!ai&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){U(this,Hn)||this.setEventListener(U(this,Vs))}onUnsubscribe(){var t;this.hasListeners()||((t=U(this,Hn))==null||t.call(this),oe(this,Hn,void 0))}setEventListener(t){var n;oe(this,Vs,t),(n=U(this,Hn))==null||n.call(this),oe(this,Hn,t(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(t){U(this,cs)!==t&&(oe(this,cs,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof U(this,cs)=="boolean"?U(this,cs):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},cs=new WeakMap,Hn=new WeakMap,Vs=new WeakMap,Uf),Cp=new Hw,Bs,jn,Ws,Vf,jw=(Vf=class extends Uo{constructor(){super();ve(this,Bs,!0);ve(this,jn);ve(this,Ws);oe(this,Ws,t=>{if(!ai&&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(){U(this,jn)||this.setEventListener(U(this,Ws))}onUnsubscribe(){var t;this.hasListeners()||((t=U(this,jn))==null||t.call(this),oe(this,jn,void 0))}setEventListener(t){var n;oe(this,Ws,t),(n=U(this,jn))==null||n.call(this),oe(this,jn,t(this.setOnline.bind(this)))}setOnline(t){U(this,Bs)!==t&&(oe(this,Bs,t),this.listeners.forEach(s=>{s(t)}))}isOnline(){return U(this,Bs)}},Bs=new WeakMap,jn=new WeakMap,Ws=new WeakMap,Vf),lo=new jw;function Uw(){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 Vw(e){return Math.min(1e3*2**e,3e4)}function Pp(e){return(e??"online")==="online"?lo.isOnline():!0}var Op=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function dl(e){return e instanceof Op}function Ap(e){let t=!1,n=0,s=!1,r;const i=Uw(),o=g=>{var b;s||(d(new Op(g)),(b=e.abort)==null||b.call(e))},l=()=>{t=!0},a=()=>{t=!1},c=()=>Cp.isFocused()&&(e.networkMode==="always"||lo.isOnline())&&e.canRun(),f=()=>Pp(e.networkMode)&&e.canRun(),u=g=>{var b;s||(s=!0,(b=e.onSuccess)==null||b.call(e,g),r==null||r(),i.resolve(g))},d=g=>{var b;s||(s=!0,(b=e.onError)==null||b.call(e,g),r==null||r(),i.reject(g))},h=()=>new Promise(g=>{var b;r=_=>{(s||c())&&g(_)},(b=e.onPause)==null||b.call(e)}).then(()=>{var g;r=void 0,s||(g=e.onContinue)==null||g.call(e)}),m=()=>{if(s)return;let g;const b=n===0?e.initialPromise:void 0;try{g=b??e.fn()}catch(_){g=Promise.reject(_)}Promise.resolve(g).then(u).catch(_=>{var C;if(s)return;const v=e.retry??(ai?0:3),p=e.retryDelay??Vw,y=typeof p=="function"?p(n,_):p,E=v===!0||typeof v=="number"&&n<v||typeof v=="function"&&v(n,_);if(t||!E){d(_);return}n++,(C=e.onFail)==null||C.call(e,n,_),Mw(y).then(()=>c()?void 0:h()).then(()=>{t?d(_):m()})})};return{promise:i,cancel:o,continue:()=>(r==null||r(),i),cancelRetry:l,continueRetry:a,canStart:f,start:()=>(f()?m():h().then(m),i)}}function Bw(){let e=[],t=0,n=l=>{l()},s=l=>{l()},r=l=>setTimeout(l,0);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 ut=Bw(),us,Bf,Rp=(Bf=class{constructor(){ve(this,us)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),kw(this.gcTime)&&oe(this,us,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ai?1/0:5*60*1e3))}clearGcTimeout(){U(this,us)&&(clearTimeout(U(this,us)),oe(this,us,void 0))}},us=new WeakMap,Bf),Ks,qs,Pt,et,Zr,fs,Nt,cn,Wf,Ww=(Wf=class extends Rp{constructor(t){super();ve(this,Nt);ve(this,Ks);ve(this,qs);ve(this,Pt);ve(this,et);ve(this,Zr);ve(this,fs);oe(this,fs,!1),oe(this,Zr,t.defaultOptions),this.setOptions(t.options),this.observers=[],oe(this,Pt,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,oe(this,Ks,qw(this.options)),this.state=t.state??U(this,Ks),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=U(this,et))==null?void 0:t.promise}setOptions(t){this.options={...U(this,Zr),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&U(this,Pt).remove(this)}setData(t,n){const s=Dw(this.state.data,t,this.options);return Ze(this,Nt,cn).call(this,{data:s,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),s}setState(t,n){Ze(this,Nt,cn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var s,r;const n=(s=U(this,et))==null?void 0:s.promise;return(r=U(this,et))==null||r.cancel(t),n?n.then(kt).catch(kt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(U(this,Ks))}isActive(){return this.observers.some(t=>Iw(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}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||!Nw(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(s=>s.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=U(this,et))==null||n.continue()}onOnline(){var n;const t=this.observers.find(s=>s.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=U(this,et))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),U(this,Pt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(U(this,et)&&(U(this,fs)?U(this,et).cancel({revert:!0}):U(this,et).cancelRetry()),this.scheduleGc()),U(this,Pt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ze(this,Nt,cn).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(U(this,et))return U(this,et).continueRetry(),U(this,et).promise}if(t&&this.setOptions(t),!this.options.queryFn){const u=this.observers.find(d=>d.options.queryFn);u&&this.setOptions(u.options)}const s=new AbortController,r=u=>{Object.defineProperty(u,"signal",{enumerable:!0,get:()=>(oe(this,fs,!0),s.signal)})},i=()=>{const u=Sp(this.options,n),d={queryKey:this.queryKey,meta:this.meta};return r(d),oe(this,fs,!1),this.options.persister?this.options.persister(u,d,this):u(d)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:i};r(o),(a=this.options.behavior)==null||a.onFetch(o,this),oe(this,qs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=o.fetchOptions)==null?void 0:c.meta))&&Ze(this,Nt,cn).call(this,{type:"fetch",meta:(f=o.fetchOptions)==null?void 0:f.meta});const l=u=>{var d,h,m,g;dl(u)&&u.silent||Ze(this,Nt,cn).call(this,{type:"error",error:u}),dl(u)||((h=(d=U(this,Pt).config).onError)==null||h.call(d,u,this),(g=(m=U(this,Pt).config).onSettled)==null||g.call(m,this.state.data,u,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return oe(this,et,Ap({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:s.abort.bind(s),onSuccess:u=>{var d,h,m,g;if(u===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(u)}catch(b){l(b);return}(h=(d=U(this,Pt).config).onSuccess)==null||h.call(d,u,this),(g=(m=U(this,Pt).config).onSettled)==null||g.call(m,u,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(u,d)=>{Ze(this,Nt,cn).call(this,{type:"failed",failureCount:u,error:d})},onPause:()=>{Ze(this,Nt,cn).call(this,{type:"pause"})},onContinue:()=>{Ze(this,Nt,cn).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),U(this,et).start()}},Ks=new WeakMap,qs=new WeakMap,Pt=new WeakMap,et=new WeakMap,Zr=new WeakMap,fs=new WeakMap,Nt=new WeakSet,cn=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,...Kw(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 dl(r)&&r.revert&&U(this,qs)?{...U(this,qs),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),ut.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),U(this,Pt).notify({query:this,type:"updated",action:t})})},Wf);function Kw(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Pp(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function qw(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 Gt,Kf,Lp=(Kf=class extends Uo{constructor(n={}){super();ve(this,Gt);this.config=n,oe(this,Gt,new Map)}build(n,s,r){const i=s.queryKey,o=s.queryHash??sc(i,s);let l=this.get(o);return l||(l=new Ww({cache:this,queryKey:i,queryHash:o,options:n.defaultQueryOptions(s),state:r,defaultOptions:n.getQueryDefaults(i)}),this.add(l)),l}add(n){U(this,Gt).has(n.queryHash)||(U(this,Gt).set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const s=U(this,Gt).get(n.queryHash);s&&(n.destroy(),s===n&&U(this,Gt).delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){ut.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return U(this,Gt).get(n)}getAll(){return[...U(this,Gt).values()]}find(n){const s={exact:!0,...n};return this.getAll().find(r=>ju(s,r))}findAll(n={}){const s=this.getAll();return Object.keys(n).length>0?s.filter(r=>ju(n,r)):s}notify(n){ut.batch(()=>{this.listeners.forEach(s=>{s(n)})})}onFocus(){ut.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){ut.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},Gt=new WeakMap,Kf),Qt,ot,ds,zt,Ln,qf,Gw=(qf=class extends Rp{constructor(t){super();ve(this,zt);ve(this,Qt);ve(this,ot);ve(this,ds);this.mutationId=t.mutationId,oe(this,ot,t.mutationCache),oe(this,Qt,[]),this.state=t.state||Qw(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){U(this,Qt).includes(t)||(U(this,Qt).push(t),this.clearGcTimeout(),U(this,ot).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){oe(this,Qt,U(this,Qt).filter(n=>n!==t)),this.scheduleGc(),U(this,ot).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){U(this,Qt).length||(this.state.status==="pending"?this.scheduleGc():U(this,ot).remove(this))}continue(){var t;return((t=U(this,ds))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var r,i,o,l,a,c,f,u,d,h,m,g,b,_,v,p,y,E,C,L;oe(this,ds,Ap({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(R,O)=>{Ze(this,zt,Ln).call(this,{type:"failed",failureCount:R,error:O})},onPause:()=>{Ze(this,zt,Ln).call(this,{type:"pause"})},onContinue:()=>{Ze(this,zt,Ln).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>U(this,ot).canRun(this)}));const n=this.state.status==="pending",s=!U(this,ds).canStart();try{if(!n){Ze(this,zt,Ln).call(this,{type:"pending",variables:t,isPaused:s}),await((i=(r=U(this,ot).config).onMutate)==null?void 0:i.call(r,t,this));const O=await((l=(o=this.options).onMutate)==null?void 0:l.call(o,t));O!==this.state.context&&Ze(this,zt,Ln).call(this,{type:"pending",context:O,variables:t,isPaused:s})}const R=await U(this,ds).start();return await((c=(a=U(this,ot).config).onSuccess)==null?void 0:c.call(a,R,t,this.state.context,this)),await((u=(f=this.options).onSuccess)==null?void 0:u.call(f,R,t,this.state.context)),await((h=(d=U(this,ot).config).onSettled)==null?void 0:h.call(d,R,null,this.state.variables,this.state.context,this)),await((g=(m=this.options).onSettled)==null?void 0:g.call(m,R,null,t,this.state.context)),Ze(this,zt,Ln).call(this,{type:"success",data:R}),R}catch(R){try{throw await((_=(b=U(this,ot).config).onError)==null?void 0:_.call(b,R,t,this.state.context,this)),await((p=(v=this.options).onError)==null?void 0:p.call(v,R,t,this.state.context)),await((E=(y=U(this,ot).config).onSettled)==null?void 0:E.call(y,void 0,R,this.state.variables,this.state.context,this)),await((L=(C=this.options).onSettled)==null?void 0:L.call(C,void 0,R,t,this.state.context)),R}finally{Ze(this,zt,Ln).call(this,{type:"error",error:R})}}finally{U(this,ot).runNext(this)}}},Qt=new WeakMap,ot=new WeakMap,ds=new WeakMap,zt=new WeakSet,Ln=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),ut.batch(()=>{U(this,Qt).forEach(s=>{s.onMutationUpdate(t)}),U(this,ot).notify({mutation:this,type:"updated",action:t})})},qf);function Qw(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var wt,ei,Gf,xp=(Gf=class extends Uo{constructor(n={}){super();ve(this,wt);ve(this,ei);this.config=n,oe(this,wt,new Map),oe(this,ei,Date.now())}build(n,s,r){const i=new Gw({mutationCache:this,mutationId:++ui(this,ei)._,options:n.defaultMutationOptions(s),state:r});return this.add(i),i}add(n){const s=Pi(n),r=U(this,wt).get(s)??[];r.push(n),U(this,wt).set(s,r),this.notify({type:"added",mutation:n})}remove(n){var r;const s=Pi(n);if(U(this,wt).has(s)){const i=(r=U(this,wt).get(s))==null?void 0:r.filter(o=>o!==n);i&&(i.length===0?U(this,wt).delete(s):U(this,wt).set(s,i))}this.notify({type:"removed",mutation:n})}canRun(n){var r;const s=(r=U(this,wt).get(Pi(n)))==null?void 0:r.find(i=>i.state.status==="pending");return!s||s===n}runNext(n){var r;const s=(r=U(this,wt).get(Pi(n)))==null?void 0:r.find(i=>i!==n&&i.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}clear(){ut.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}getAll(){return[...U(this,wt).values()].flat()}find(n){const s={exact:!0,...n};return this.getAll().find(r=>Uu(s,r))}findAll(n={}){return this.getAll().filter(s=>Uu(n,s))}notify(n){ut.batch(()=>{this.listeners.forEach(s=>{s(n)})})}resumePausedMutations(){const n=this.getAll().filter(s=>s.state.isPaused);return ut.batch(()=>Promise.all(n.map(s=>s.continue().catch(kt))))}},wt=new WeakMap,ei=new WeakMap,Gf);function Pi(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Wu(e){return{onFetch:(t,n)=>{var f,u,d,h,m;const s=t.options,r=(d=(u=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:u.fetchMore)==null?void 0:d.direction,i=((h=t.state.data)==null?void 0:h.pages)||[],o=((m=t.state.data)==null?void 0:m.pageParams)||[];let l={pages:[],pageParams:[]},a=0;const c=async()=>{let g=!1;const b=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},_=Sp(t.options,t.fetchOptions),v=async(p,y,E)=>{if(g)return Promise.reject();if(y==null&&p.pages.length)return Promise.resolve(p);const C={queryKey:t.queryKey,pageParam:y,direction:E?"backward":"forward",meta:t.options.meta};b(C);const L=await _(C),{maxPages:R}=t.options,O=E?Fw:$w;return{pages:O(p.pages,L,R),pageParams:O(p.pageParams,y,R)}};if(r&&i.length){const p=r==="backward",y=p?zw:Ku,E={pages:i,pageParams:o},C=y(s,E);l=await v(E,C,p)}else{const p=e??i.length;do{const y=a===0?o[0]??s.initialPageParam:Ku(s,l);if(a>0&&y==null)break;l=await v(l,y),a++}while(a<p)}return l};t.options.persister?t.fetchFn=()=>{var g,b;return(b=(g=t.options).persister)==null?void 0:b.call(g,c,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function Ku(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 zw(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 Me,Un,Vn,Gs,Qs,Bn,zs,Ys,Qf,Yw=(Qf=class{constructor(t={}){ve(this,Me);ve(this,Un);ve(this,Vn);ve(this,Gs);ve(this,Qs);ve(this,Bn);ve(this,zs);ve(this,Ys);oe(this,Me,t.queryCache||new Lp),oe(this,Un,t.mutationCache||new xp),oe(this,Vn,t.defaultOptions||{}),oe(this,Gs,new Map),oe(this,Qs,new Map),oe(this,Bn,0)}mount(){ui(this,Bn)._++,U(this,Bn)===1&&(oe(this,zs,Cp.subscribe(async t=>{t&&(await this.resumePausedMutations(),U(this,Me).onFocus())})),oe(this,Ys,lo.subscribe(async t=>{t&&(await this.resumePausedMutations(),U(this,Me).onOnline())})))}unmount(){var t,n;ui(this,Bn)._--,U(this,Bn)===0&&((t=U(this,zs))==null||t.call(this),oe(this,zs,void 0),(n=U(this,Ys))==null||n.call(this),oe(this,Ys,void 0))}isFetching(t){return U(this,Me).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return U(this,Un).findAll({...t,status:"pending"}).length}getQueryData(t){var s;const n=this.defaultQueryOptions({queryKey:t});return(s=U(this,Me).get(n.queryHash))==null?void 0:s.state.data}ensureQueryData(t){const n=this.getQueryData(t.queryKey);if(n===void 0)return this.fetchQuery(t);{const s=this.defaultQueryOptions(t),r=U(this,Me).build(this,s);return t.revalidateIfStale&&r.isStaleByTime(Hu(s.staleTime,r))&&this.prefetchQuery(s),Promise.resolve(n)}}getQueriesData(t){return U(this,Me).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=U(this,Me).get(r.queryHash),o=i==null?void 0:i.state.data,l=xw(n,o);if(l!==void 0)return U(this,Me).build(this,r).setData(l,{...s,manual:!0})}setQueriesData(t,n,s){return ut.batch(()=>U(this,Me).findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,n,s)]))}getQueryState(t){var s;const n=this.defaultQueryOptions({queryKey:t});return(s=U(this,Me).get(n.queryHash))==null?void 0:s.state}removeQueries(t){const n=U(this,Me);ut.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=U(this,Me),r={type:"active",...t};return ut.batch(()=>(s.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries(r,n)))}cancelQueries(t={},n={}){const s={revert:!0,...n},r=ut.batch(()=>U(this,Me).findAll(t).map(i=>i.cancel(s)));return Promise.all(r).then(kt).catch(kt)}invalidateQueries(t={},n={}){return ut.batch(()=>{if(U(this,Me).findAll(t).forEach(r=>{r.invalidate()}),t.refetchType==="none")return Promise.resolve();const s={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(s,n)})}refetchQueries(t={},n){const s={...n,cancelRefetch:(n==null?void 0:n.cancelRefetch)??!0},r=ut.batch(()=>U(this,Me).findAll(t).filter(i=>!i.isDisabled()).map(i=>{let o=i.fetch(void 0,s);return s.throwOnError||(o=o.catch(kt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(kt)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const s=U(this,Me).build(this,n);return s.isStaleByTime(Hu(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(kt).catch(kt)}fetchInfiniteQuery(t){return t.behavior=Wu(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(kt).catch(kt)}ensureInfiniteQueryData(t){return t.behavior=Wu(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return lo.isOnline()?U(this,Un).resumePausedMutations():Promise.resolve()}getQueryCache(){return U(this,Me)}getMutationCache(){return U(this,Un)}getDefaultOptions(){return U(this,Vn)}setDefaultOptions(t){oe(this,Vn,t)}setQueryDefaults(t,n){U(this,Gs).set(Kr(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...U(this,Gs).values()];let s={};return n.forEach(r=>{qr(t,r.queryKey)&&(s={...s,...r.defaultOptions})}),s}setMutationDefaults(t,n){U(this,Qs).set(Kr(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...U(this,Qs).values()];let s={};return n.forEach(r=>{qr(t,r.mutationKey)&&(s={...s,...r.defaultOptions})}),s}defaultQueryOptions(t){if(t._defaulted)return t;const n={...U(this,Vn).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=sc(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.enabled!==!0&&n.queryFn===Tp&&(n.enabled=!1),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...U(this,Vn).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){U(this,Me).clear(),U(this,Un).clear()}},Me=new WeakMap,Un=new WeakMap,Vn=new WeakMap,Gs=new WeakMap,Qs=new WeakMap,Bn=new WeakMap,zs=new WeakMap,Ys=new WeakMap,Qf),Xw="VUE_QUERY_CLIENT";function Jw(e){const t=e?`:${e}`:"";return`${Xw}${t}`}function WS(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function Zl(e,t,n="",s=0){if(t){const r=t(e,n,s);if(r===void 0&&_e(e)||r!==void 0)return r}if(Array.isArray(e))return e.map((r,i)=>Zl(r,t,String(i),s+1));if(typeof e=="object"&&e0(e)){const r=Object.entries(e).map(([i,o])=>[i,Zl(o,t,i,s+1)]);return Object.fromEntries(r)}return e}function Zw(e,t){return Zl(e,t)}function le(e,t=!1){return Zw(e,(n,s,r)=>{if(r===1&&s==="queryKey")return le(n,!0);if(t&&t0(n))return le(n(),t);if(_e(n))return le(Tt(n),t)})}function e0(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function t0(e){return typeof e=="function"}function KS(e,t){return typeof e=="function"?e(...t):!!e}var n0=class extends Lp{find(e){return super.find(le(e))}findAll(e={}){return super.findAll(le(e))}},s0=class extends xp{find(e){return super.find(le(e))}findAll(e={}){return super.findAll(le(e))}},r0=class extends Yw{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new n0,mutationCache:e.mutationCache||new s0};super(t),this.isRestoring=ie(!1)}isFetching(e={}){return super.isFetching(le(e))}isMutating(e={}){return super.isMutating(le(e))}getQueryData(e){return super.getQueryData(le(e))}ensureQueryData(e){return super.ensureQueryData(le(e))}getQueriesData(e){return super.getQueriesData(le(e))}setQueryData(e,t,n={}){return super.setQueryData(le(e),t,le(n))}setQueriesData(e,t,n={}){return super.setQueriesData(le(e),t,le(n))}getQueryState(e){return super.getQueryState(le(e))}removeQueries(e={}){return super.removeQueries(le(e))}resetQueries(e={},t={}){return super.resetQueries(le(e),le(t))}cancelQueries(e={},t={}){return super.cancelQueries(le(e),le(t))}invalidateQueries(e={},t={}){const n=le(e),s=le(t);if(super.invalidateQueries({...n,refetchType:"none"},s),n.refetchType==="none")return Promise.resolve();const r={...n,type:n.refetchType??n.type??"active"};return gt().then(()=>super.refetchQueries(r,s))}refetchQueries(e={},t={}){return super.refetchQueries(le(e),le(t))}fetchQuery(e){return super.fetchQuery(le(e))}prefetchQuery(e){return super.prefetchQuery(le(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(le(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(le(e))}setDefaultOptions(e){super.setDefaultOptions(le(e))}setQueryDefaults(e,t){super.setQueryDefaults(le(e),le(t))}getQueryDefaults(e){return super.getQueryDefaults(le(e))}setMutationDefaults(e,t){super.setMutationDefaults(le(e),le(t))}getMutationDefaults(e){return super.getMutationDefaults(le(e))}},i0={install:(e,t={})=>{const n=Jw(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 r0(o)}ai||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 o0=["top","right","bottom","left"],qu=["start","end"],Gu=o0.reduce((e,t)=>e.concat(t,t+"-"+qu[0],t+"-"+qu[1]),[]),Gr=Math.min,as=Math.max,l0={left:"right",right:"left",bottom:"top",top:"bottom"},a0={start:"end",end:"start"};function ea(e,t,n){return as(e,Gr(t,n))}function Cs(e,t){return typeof e=="function"?e(t):e}function sn(e){return e.split("-")[0]}function Ht(e){return e.split("-")[1]}function kp(e){return e==="x"?"y":"x"}function rc(e){return e==="y"?"height":"width"}function ws(e){return["top","bottom"].includes(sn(e))?"y":"x"}function ic(e){return kp(ws(e))}function Np(e,t,n){n===void 0&&(n=!1);const s=Ht(e),r=ic(e),i=rc(r);let o=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=co(o)),[o,co(o)]}function c0(e){const t=co(e);return[ao(e),t,ao(t)]}function ao(e){return e.replace(/start|end/g,t=>a0[t])}function u0(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 f0(e,t,n,s){const r=Ht(e);let i=u0(sn(e),n==="start",s);return r&&(i=i.map(o=>o+"-"+r),t&&(i=i.concat(i.map(ao)))),i}function co(e){return e.replace(/left|right|bottom|top/g,t=>l0[t])}function d0(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ip(e){return typeof e!="number"?d0(e):{top:e,right:e,bottom:e,left:e}}function Ar(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 Qu(e,t,n){let{reference:s,floating:r}=e;const i=ws(t),o=ic(t),l=rc(o),a=sn(t),c=i==="y",f=s.x+s.width/2-r.width/2,u=s.y+s.height/2-r.height/2,d=s[l]/2-r[l]/2;let h;switch(a){case"top":h={x:f,y:s.y-r.height};break;case"bottom":h={x:f,y:s.y+s.height};break;case"right":h={x:s.x+s.width,y:u};break;case"left":h={x:s.x-r.width,y:u};break;default:h={x:s.x,y:s.y}}switch(Ht(t)){case"start":h[o]-=d*(n&&c?-1:1);break;case"end":h[o]+=d*(n&&c?-1:1);break}return h}const h0=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}=Qu(c,s,a),d=s,h={},m=0;for(let g=0;g<l.length;g++){const{name:b,fn:_}=l[g],{x:v,y:p,data:y,reset:E}=await _({x:f,y:u,initialPlacement:s,placement:d,strategy:r,middlewareData:h,rects:c,platform:o,elements:{reference:e,floating:t}});f=v??f,u=p??u,h={...h,[b]:{...h[b],...y}},E&&m<=50&&(m++,typeof E=="object"&&(E.placement&&(d=E.placement),E.rects&&(c=E.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:r}):E.rects),{x:f,y:u}=Qu(c,d,a)),g=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:h}};async function Vo(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:d=!1,padding:h=0}=Cs(t,e),m=Ip(h),b=l[d?u==="floating"?"reference":"floating":u],_=Ar(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(b)))==null||n?b:b.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,p=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),y=await(i.isElement==null?void 0:i.isElement(p))?await(i.getScale==null?void 0:i.getScale(p))||{x:1,y:1}:{x:1,y:1},E=Ar(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:p,strategy:a}):v);return{top:(_.top-E.top+m.top)/y.y,bottom:(E.bottom-_.bottom+m.bottom)/y.y,left:(_.left-E.left+m.left)/y.x,right:(E.right-_.right+m.right)/y.x}}const p0=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}=Cs(e,t)||{};if(c==null)return{};const u=Ip(f),d={x:n,y:s},h=ic(r),m=rc(h),g=await o.getDimensions(c),b=h==="y",_=b?"top":"left",v=b?"bottom":"right",p=b?"clientHeight":"clientWidth",y=i.reference[m]+i.reference[h]-d[h]-i.floating[m],E=d[h]-i.reference[h],C=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let L=C?C[p]:0;(!L||!await(o.isElement==null?void 0:o.isElement(C)))&&(L=l.floating[p]||i.floating[m]);const R=y/2-E/2,O=L/2-g[m]/2-1,A=Gr(u[_],O),D=Gr(u[v],O),N=A,B=L-g[m]-D,X=L/2-g[m]/2+R,se=ea(N,X,B),W=!a.arrow&&Ht(r)!=null&&X!==se&&i.reference[m]/2-(X<N?A:D)-g[m]/2<0,q=W?X<N?X-N:X-B:0;return{[h]:d[h]+q,data:{[h]:se,centerOffset:X-se-q,...W&&{alignmentOffset:q}},reset:W}}});function m0(e,t,n){return(e?[...n.filter(r=>Ht(r)===e),...n.filter(r=>Ht(r)!==e)]:n.filter(r=>sn(r)===r)).filter(r=>e?Ht(r)===e||(t?ao(r)!==r:!1):!0)}const g0=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:d=Gu,autoAlignment:h=!0,...m}=Cs(e,t),g=u!==void 0||d===Gu?m0(u||null,h,d):d,b=await Vo(t,m),_=((n=o.autoPlacement)==null?void 0:n.index)||0,v=g[_];if(v==null)return{};const p=Np(v,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==v)return{reset:{placement:g[0]}};const y=[b[sn(v)],b[p[0]],b[p[1]]],E=[...((s=o.autoPlacement)==null?void 0:s.overflows)||[],{placement:v,overflows:y}],C=g[_+1];if(C)return{data:{index:_+1,overflows:E},reset:{placement:C}};const L=E.map(A=>{const D=Ht(A.placement);return[A.placement,D&&f?A.overflows.slice(0,2).reduce((N,B)=>N+B,0):A.overflows[0],A.overflows]}).sort((A,D)=>A[1]-D[1]),O=((r=L.filter(A=>A[2].slice(0,Ht(A[0])?2:3).every(D=>D<=0))[0])==null?void 0:r[0])||L[0][0];return O!==l?{data:{index:_+1,overflows:E},reset:{placement:O}}:{}}}},y0=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:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...b}=Cs(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const _=sn(r),v=ws(l),p=sn(l)===l,y=await(a.isRTL==null?void 0:a.isRTL(c.floating)),E=d||(p||!g?[co(l)]:c0(l)),C=m!=="none";!d&&C&&E.push(...f0(l,g,m,y));const L=[l,...E],R=await Vo(t,b),O=[];let A=((s=i.flip)==null?void 0:s.overflows)||[];if(f&&O.push(R[_]),u){const X=Np(r,o,y);O.push(R[X[0]],R[X[1]])}if(A=[...A,{placement:r,overflows:O}],!O.every(X=>X<=0)){var D,N;const X=(((D=i.flip)==null?void 0:D.index)||0)+1,se=L[X];if(se)return{data:{index:X,overflows:A},reset:{placement:se}};let W=(N=A.filter(q=>q.overflows[0]<=0).sort((q,G)=>q.overflows[1]-G.overflows[1])[0])==null?void 0:N.placement;if(!W)switch(h){case"bestFit":{var B;const q=(B=A.filter(G=>{if(C){const re=ws(G.placement);return re===v||re==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(re=>re>0).reduce((re,xe)=>re+xe,0)]).sort((G,re)=>G[1]-re[1])[0])==null?void 0:B[0];q&&(W=q);break}case"initialPlacement":W=l;break}if(r!==W)return{reset:{placement:W}}}return{}}}};async function _0(e,t){const{placement:n,platform:s,elements:r}=e,i=await(s.isRTL==null?void 0:s.isRTL(r.floating)),o=sn(n),l=Ht(n),a=ws(n)==="y",c=["left","top"].includes(o)?-1:1,f=i&&a?-1:1,u=Cs(t,e);let{mainAxis:d,crossAxis:h,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"&&(h=l==="end"?m*-1:m),a?{x:h*f,y:d*c}:{x:d*c,y:h*f}}const v0=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 _0(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}}}}},b0=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:b=>{let{x:_,y:v}=b;return{x:_,y:v}}},...a}=Cs(e,t),c={x:n,y:s},f=await Vo(t,a),u=ws(sn(r)),d=kp(u);let h=c[d],m=c[u];if(i){const b=d==="y"?"top":"left",_=d==="y"?"bottom":"right",v=h+f[b],p=h-f[_];h=ea(v,h,p)}if(o){const b=u==="y"?"top":"left",_=u==="y"?"bottom":"right",v=m+f[b],p=m-f[_];m=ea(v,m,p)}const g=l.fn({...t,[d]:h,[u]:m});return{...g,data:{x:g.x-n,y:g.y-s,enabled:{[d]:i,[u]:o}}}}}},w0=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}=Cs(e,t),f=await Vo(t,c),u=sn(r),d=Ht(r),h=ws(r)==="y",{width:m,height:g}=i.floating;let b,_;u==="top"||u==="bottom"?(b=u,_=d===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(_=u,b=d==="end"?"top":"bottom");const v=g-f.top-f.bottom,p=m-f.left-f.right,y=Gr(g-f[b],v),E=Gr(m-f[_],p),C=!t.middlewareData.shift;let L=y,R=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(R=p),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(L=v),C&&!d){const A=as(f.left,0),D=as(f.right,0),N=as(f.top,0),B=as(f.bottom,0);h?R=m-2*(A!==0||D!==0?A+D:as(f.left,f.right)):L=g-2*(N!==0||B!==0?N+B:as(f.top,f.bottom))}await a({...t,availableWidth:R,availableHeight:L});const O=await o.getDimensions(l.floating);return m!==O.width||g!==O.height?{reset:{rects:!0}}:{}}}};function At(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Zt(e){return At(e).getComputedStyle(e)}const zu=Math.min,Rr=Math.max,uo=Math.round;function Mp(e){const t=Zt(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,i=e.offsetHeight,o=uo(n)!==r||uo(s)!==i;return o&&(n=r,s=i),{width:n,height:s,fallback:o}}function Zn(e){return $p(e)?(e.nodeName||"").toLowerCase():""}let Oi;function Dp(){if(Oi)return Oi;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Oi=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Oi):navigator.userAgent}function en(e){return e instanceof At(e).HTMLElement}function qn(e){return e instanceof At(e).Element}function $p(e){return e instanceof At(e).Node}function Yu(e){return typeof ShadowRoot>"u"?!1:e instanceof At(e).ShadowRoot||e instanceof ShadowRoot}function Bo(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=Zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function E0(e){return["table","td","th"].includes(Zn(e))}function ta(e){const t=/firefox/i.test(Dp()),n=Zt(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 Fp(){return!/^((?!chrome|android).)*safari/i.test(Dp())}function oc(e){return["html","body","#document"].includes(Zn(e))}function Hp(e){return qn(e)?e:e.contextElement}const jp={x:1,y:1};function js(e){const t=Hp(e);if(!en(t))return jp;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:i}=Mp(t);let o=(i?uo(n.width):n.width)/s,l=(i?uo(n.height):n.height)/r;return o&&Number.isFinite(o)||(o=1),l&&Number.isFinite(l)||(l=1),{x:o,y:l}}function Qr(e,t,n,s){var r,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),l=Hp(e);let a=jp;t&&(s?qn(s)&&(a=js(s)):a=js(e));const c=l?At(l):window,f=!Fp()&&n;let u=(o.left+(f&&((r=c.visualViewport)==null?void 0:r.offsetLeft)||0))/a.x,d=(o.top+(f&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/a.y,h=o.width/a.x,m=o.height/a.y;if(l){const g=At(l),b=s&&qn(s)?At(s):s;let _=g.frameElement;for(;_&&s&&b!==g;){const v=js(_),p=_.getBoundingClientRect(),y=getComputedStyle(_);p.x+=(_.clientLeft+parseFloat(y.paddingLeft))*v.x,p.y+=(_.clientTop+parseFloat(y.paddingTop))*v.y,u*=v.x,d*=v.y,h*=v.x,m*=v.y,u+=p.x,d+=p.y,_=At(_).frameElement}}return{width:h,height:m,top:d,right:u+h,bottom:d+m,left:u,x:u,y:d}}function Gn(e){return(($p(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wo(e){return qn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Up(e){return Qr(Gn(e)).left+Wo(e).scrollLeft}function zr(e){if(Zn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Yu(e)&&e.host||Gn(e);return Yu(t)?t.host:t}function Vp(e){const t=zr(e);return oc(t)?t.ownerDocument.body:en(t)&&Bo(t)?t:Vp(t)}function fo(e,t){var n;t===void 0&&(t=[]);const s=Vp(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),i=At(s);return r?t.concat(i,i.visualViewport||[],Bo(s)?s:[]):t.concat(s,fo(s))}function Xu(e,t,n){return t==="viewport"?Ar(function(s,r){const i=At(s),o=Gn(s),l=i.visualViewport;let a=o.clientWidth,c=o.clientHeight,f=0,u=0;if(l){a=l.width,c=l.height;const d=Fp();(d||!d&&r==="fixed")&&(f=l.offsetLeft,u=l.offsetTop)}return{width:a,height:c,x:f,y:u}}(e,n)):qn(t)?Ar(function(s,r){const i=Qr(s,!0,r==="fixed"),o=i.top+s.clientTop,l=i.left+s.clientLeft,a=en(s)?js(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)):Ar(function(s){const r=Gn(s),i=Wo(s),o=s.ownerDocument.body,l=Rr(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),a=Rr(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let c=-i.scrollLeft+Up(s);const f=-i.scrollTop;return Zt(o).direction==="rtl"&&(c+=Rr(r.clientWidth,o.clientWidth)-l),{width:l,height:a,x:c,y:f}}(Gn(e)))}function Ju(e){return en(e)&&Zt(e).position!=="fixed"?e.offsetParent:null}function Zu(e){const t=At(e);let n=Ju(e);for(;n&&E0(n)&&Zt(n).position==="static";)n=Ju(n);return n&&(Zn(n)==="html"||Zn(n)==="body"&&Zt(n).position==="static"&&!ta(n))?t:n||function(s){let r=zr(s);for(;en(r)&&!oc(r);){if(ta(r))return r;r=zr(r)}return null}(e)||t}function T0(e,t,n){const s=en(t),r=Gn(t),i=Qr(e,!0,n==="fixed",t);let o={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(s||!s&&n!=="fixed")if((Zn(t)!=="body"||Bo(r))&&(o=Wo(t)),en(t)){const a=Qr(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else r&&(l.x=Up(r));return{x:i.left+o.scrollLeft-l.x,y:i.top+o.scrollTop-l.y,width:i.width,height:i.height}}const S0={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 d=fo(c).filter(b=>qn(b)&&Zn(b)!=="body"),h=null;const m=Zt(c).position==="fixed";let g=m?zr(c):c;for(;qn(g)&&!oc(g);){const b=Zt(g),_=ta(g);(m?_||h:_||b.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=b:d=d.filter(v=>v!==g),g=zr(g)}return f.set(c,d),d}(t,this._c):[].concat(n),o=[...i,s],l=o[0],a=o.reduce((c,f)=>{const u=Xu(t,f,r);return c.top=Rr(u.top,c.top),c.right=zu(u.right,c.right),c.bottom=zu(u.bottom,c.bottom),c.left=Rr(u.left,c.left),c},Xu(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=en(n),i=Gn(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")&&((Zn(n)!=="body"||Bo(i))&&(o=Wo(n)),en(n))){const c=Qr(n);l=js(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:qn,getDimensions:function(e){return en(e)?Mp(e):e.getBoundingClientRect()},getOffsetParent:Zu,getDocumentElement:Gn,getScale:js,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||Zu,i=this.getDimensions;return{reference:T0(t,await r(n),s),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Zt(e).direction==="rtl"},C0=(e,t,n)=>{const s=new Map,r={platform:S0,...n},i={...r.platform,_c:s};return h0(e,t,{...r,platform:i})};function Bp(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Bp(e[n],t[n]):e[n]=t[n])}const jt={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 Yr(e,t){let n=jt.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=jt.themes[n.$extend]||{}:(n=null,s=jt[t]):n=null;while(n);return s}function P0(e){const t=[e];let n=jt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=jt.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function ef(e){const t=[e];let n=jt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=jt.themes[n.$extend]||{}):n=null;while(n);return t}let sr=!1;if(typeof window<"u"){sr=!1;try{const e=Object.defineProperty({},"passive",{get(){sr=!0}});window.addEventListener("test",null,e)}catch{}}let Wp=!1;typeof window<"u"&&typeof navigator<"u"&&(Wp=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Kp=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),tf={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},nf={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function sf(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function hl(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Mt=[];let ls=null;const rf={};function of(e){let t=rf[e];return t||(t=rf[e]=[]),t}let na=function(){};typeof window<"u"&&(na=window.Element);function he(e){return function(t){return Yr(t.theme,e)}}const pl="__floating-vue__popper",qp=()=>_t({name:"VPopper",provide(){return{[pl]:{parentPopper:this}}},inject:{[pl]:{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:he("disabled")},positioningDisabled:{type:Boolean,default:he("positioningDisabled")},placement:{type:String,default:he("placement"),validator:e=>Kp.includes(e)},delay:{type:[String,Number,Object],default:he("delay")},distance:{type:[Number,String],default:he("distance")},skidding:{type:[Number,String],default:he("skidding")},triggers:{type:Array,default:he("triggers")},showTriggers:{type:[Array,Function],default:he("showTriggers")},hideTriggers:{type:[Array,Function],default:he("hideTriggers")},popperTriggers:{type:Array,default:he("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:he("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:he("popperHideTriggers")},container:{type:[String,Object,na,Boolean],default:he("container")},boundary:{type:[String,na],default:he("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:he("strategy")},autoHide:{type:[Boolean,Function],default:he("autoHide")},handleResize:{type:Boolean,default:he("handleResize")},instantMove:{type:Boolean,default:he("instantMove")},eagerMount:{type:Boolean,default:he("eagerMount")},popperClass:{type:[String,Array,Object],default:he("popperClass")},computeTransformOrigin:{type:Boolean,default:he("computeTransformOrigin")},autoMinSize:{type:Boolean,default:he("autoMinSize")},autoSize:{type:[Boolean,String],default:he("autoSize")},autoMaxSize:{type:Boolean,default:he("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:he("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:he("preventOverflow")},overflowPadding:{type:[Number,String],default:he("overflowPadding")},arrowPadding:{type:[Number,String],default:he("arrowPadding")},arrowOverflow:{type:Boolean,default:he("arrowOverflow")},flip:{type:Boolean,default:he("flip")},shift:{type:Boolean,default:he("shift")},shiftCrossAxis:{type:Boolean,default:he("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:he("noAutoFocus")},disposeTimeout:{type:Number,default:he("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[pl])==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(v0({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(g0({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(b0({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(y0({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(p0({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(w0({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 C0(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),ls&&this.instantMove&&ls.instantMove&&ls!==this.parentPopper){ls.$_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&&(ls=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 hl(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...fo(this.$_referenceNode),...fo(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<Mt.length;n++)t=Mt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Mt.push(this),document.body.classList.add("v-popper--some-open");for(const t of ef(this.theme))of(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 hl(),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,sf(Mt,this),Mt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of ef(this.theme)){const s=of(n);sf(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}ls===this&&(ls=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 hl(),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,tf,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],tf,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,nf,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],nf,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,sr?{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(Lr>=e.left&&Lr<=e.right&&xr>=e.top&&xr<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Lr-xn,s=xr-kn,r=t.left+t.width/2-xn+(t.top+t.height/2)-kn+t.width+t.height,i=xn+n*r,o=kn+s*r;return Ai(xn,kn,i,o,t.left,t.top,t.left,t.bottom)||Ai(xn,kn,i,o,t.left,t.top,t.right,t.top)||Ai(xn,kn,i,o,t.right,t.top,t.right,t.bottom)||Ai(xn,kn,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(Wp){const e=sr?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>lf(t,!0),e),document.addEventListener("touchend",t=>af(t,!0),e)}else window.addEventListener("mousedown",e=>lf(e,!1),!0),window.addEventListener("click",e=>af(e,!1),!0);window.addEventListener("resize",A0)}function lf(e,t){if(jt.autoHideOnMousedown)Gp(e,t);else for(let n=0;n<Mt.length;n++){const s=Mt[n];try{s.mouseDownContains=s.popperNode().contains(e.target)}catch{}}}function af(e,t){jt.autoHideOnMousedown||Gp(e,t)}function Gp(e,t){const n={};for(let s=Mt.length-1;s>=0;s--){const r=Mt[s];try{const i=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!n[r.randomId]&&cf(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&&cf(o,o.containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function cf(e,t,n){return n.closeAllPopover||n.closePopover&&t||O0(e,n)&&!t}function O0(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function A0(){for(let e=0;e<Mt.length;e++)Mt[e].$_computePosition()}let xn=0,kn=0,Lr=0,xr=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{xn=Lr,kn=xr,Lr=e.clientX,xr=e.clientY},sr?{passive:!0}:void 0);function Ai(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 R0={extends:qp()},Ko=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function L0(e,t,n,s,r,i){return dt(),er("div",{ref:"reference",class:ns(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[jr(e.$slots,"default",cd(Qa(e.slotData)))],2)}const x0=Ko(R0,[["render",L0]]);function k0(){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 $i;function sa(){sa.init||(sa.init=!0,$i=k0()!==-1)}var qo={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){sa(),gt(()=>{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",$i&&this.$el.appendChild(e),e.data="about:blank",$i||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&&(!$i&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const N0=jd();Fd("data-v-b329ee4c");const I0={class:"resize-observer",tabindex:"-1"};Hd();const M0=N0((e,t,n,s,r,i)=>(dt(),vn("div",I0)));qo.render=M0;qo.__scopeId="data-v-b329ee4c";qo.__file="src/components/ResizeObserver.vue";const Qp=(e="theme")=>({computed:{themeClass(){return P0(this[e])}}}),D0=_t({name:"VPopperContent",components:{ResizeObserver:qo},mixins:[Qp()],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}}}),$0=["id","aria-hidden","tabindex","data-popper-placement"],F0={ref:"inner",class:"v-popper__inner"},H0=Yt("div",{class:"v-popper__arrow-outer"},null,-1),j0=Yt("div",{class:"v-popper__arrow-inner"},null,-1),U0=[H0,j0];function V0(e,t,n,s,r,i){const o=_s("ResizeObserver");return dt(),er("div",{id:e.popperId,ref:"popover",class:ns(["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:Wn(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]=ep(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[Yt("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),Yt("div",{class:"v-popper__wrapper",style:Wn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[Yt("div",F0,[e.mounted?(dt(),er(De,{key:0},[Yt("div",null,[jr(e.$slots,"default")]),e.handleResize?(dt(),vn(o,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):Fl("",!0)],64)):Fl("",!0)],512),Yt("div",{ref:"arrow",class:"v-popper__arrow-container",style:Wn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},U0,4)],4)],46,$0)}const zp=Ko(D0,[["render",V0]]),Yp={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 ra=function(){};typeof window<"u"&&(ra=window.Element);const B0=_t({name:"VPopperWrapper",components:{Popper:x0,PopperContent:zp},mixins:[Yp,Qp("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,ra,Boolean],default:void 0},boundary:{type:[String,ra],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 W0(e,t,n,s,r,i){const o=_s("PopperContent"),l=_s("Popper");return dt(),vn(l,Fo({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:ys(({popperId:a,isShown:c,shouldMountContent:f,skipTransition:u,autoHide:d,show:h,hide:m,handleResize:g,onResize:b,classes:_,result:v})=>[jr(e.$slots,"default",{shown:c,show:h,hide:m}),Te(o,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:c,mounted:f,"skip-transition":u,"auto-hide":d,"handle-resize":g,classes:_,result:v,onHide:m,onResize:b},{default:ys(()=>[jr(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 lc=Ko(B0,[["render",W0]]),K0={...lc,name:"VDropdown",vPopperTheme:"dropdown"},q0={...lc,name:"VMenu",vPopperTheme:"menu"},G0={...lc,name:"VTooltip",vPopperTheme:"tooltip"},Q0=_t({name:"VTooltipDirective",components:{Popper:qp(),PopperContent:zp},mixins:[Yp],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Yr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Yr(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}}}),z0=["innerHTML"],Y0=["textContent"];function X0(e,t,n,s,r,i){const o=_s("PopperContent"),l=_s("Popper");return dt(),vn(l,Fo({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:ys(({popperId:a,isShown:c,shouldMountContent:f,skipTransition:u,autoHide:d,hide:h,handleResize:m,onResize:g,classes:b,result:_})=>[Te(o,{ref:"popperContent",class:ns({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:c,mounted:f,"skip-transition":u,"auto-hide":d,"handle-resize":m,classes:b,result:_,onHide:h,onResize:g},{default:ys(()=>[e.html?(dt(),er("div",{key:0,innerHTML:e.finalContent},null,8,z0)):(dt(),er("div",{key:1,textContent:Ea(e.finalContent)},null,8,Y0))]),_: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 J0=Ko(Q0,[["render",X0]]),Xp="v-popper--has-tooltip";function Z0(e,t){let n=e.placement;if(!n&&t)for(const s of Kp)t[s]&&(n=s);return n||(n=Yr(e.theme||"tooltip","placement")),n}function Jp(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=Z0(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let ml,Xr,eE=0;function tE(){if(ml)return;Xr=ie([]),ml=Br({name:"VTooltipDirectiveApp",setup(){return{directives:Xr}},render(){return this.directives.map(t=>Ss(J0,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ml.mount(e)}function nE(e,t,n){tE();const s=ie(Jp(e,t,n)),r=ie(!1),i={id:eE++,options:s,shown:r};return Xr.value.push(i),e.classList&&e.classList.add(Xp),e.$_popper={options:s,item:i,show(){r.value=!0},hide(){r.value=!1}}}function Zp(e){if(e.$_popper){const t=Xr.value.indexOf(e.$_popper.item);t!==-1&&Xr.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Xp)}function uf(e,{value:t,modifiers:n}){const s=Jp(e,t,n);if(!s.content||Yr(s.theme||"tooltip","disabled"))Zp(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=nE(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const sE={beforeMount:uf,updated:uf,beforeUnmount(e){Zp(e)}};function ff(e){e.addEventListener("mousedown",ho),e.addEventListener("click",ho),e.addEventListener("touchstart",em,sr?{passive:!0}:!1)}function df(e){e.removeEventListener("mousedown",ho),e.removeEventListener("click",ho),e.removeEventListener("touchstart",em),e.removeEventListener("touchend",tm),e.removeEventListener("touchcancel",nm)}function ho(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function em(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",tm),t.addEventListener("touchcancel",nm)}}function tm(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 nm(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const rE={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&ff(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?ff(e):df(e))},beforeUnmount(e){df(e)}};function iE(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Bp(jt,t),e.directive("tooltip",sE),e.directive("close-popper",rE),e.component("VTooltip",G0),e.component("VDropdown",K0),e.component("VMenu",q0))}const oE={version:"5.2.2",install:iE,options:jt},lE=e=>{const t={};Object.entries(Object.assign({"/src/layouts/board-layout.vue":()=>He(()=>import("./board-layout-C2v-fo1W.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url),"/src/layouts/default.vue":()=>He(()=>import("./default-D4907N0j.js"),__vite__mapDeps([9,1,2,3,4,5,6,7,8]),import.meta.url),"/src/layouts/headless.vue":()=>He(()=>import("./headless-C_cFBCtG.js"),__vite__mapDeps([10,7]),import.meta.url),"/src/layouts/home.vue":()=>He(()=>import("./home-CRZ6rGwZ.js"),__vite__mapDeps([11,1,2,3,4,5,7]),import.meta.url),"/src/layouts/index-layout.vue":()=>He(()=>import("./index-layout-Bp7ERlAB.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,d;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 g;return(m.path===""||m.path==="/")&&((g=m.meta)==null?void 0:g.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[(d=o.meta)==null?void 0:d.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return s(e)};/*!
47
47
  * vue-router v4.4.5
48
48
  * (c) 2024 Eduardo San Martin Morote
49
49
  * @license MIT
50
- */const ks=typeof document<"u";function sm(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function aE(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&sm(e.default)}const be=Object.assign;function gl(e,t){const n={};for(const s in t){const r=t[s];n[s]=Vt(r)?r.map(e):e(r)}return n}const kr=()=>{},Vt=Array.isArray,rm=/#/g,cE=/&/g,uE=/\//g,fE=/=/g,dE=/\?/g,im=/\+/g,hE=/%5B/g,pE=/%5D/g,om=/%5E/g,mE=/%60/g,lm=/%7B/g,gE=/%7C/g,am=/%7D/g,yE=/%20/g;function ac(e){return encodeURI(""+e).replace(gE,"|").replace(hE,"[").replace(pE,"]")}function _E(e){return ac(e).replace(lm,"{").replace(am,"}").replace(om,"^")}function ia(e){return ac(e).replace(im,"%2B").replace(yE,"+").replace(rm,"%23").replace(cE,"%26").replace(mE,"`").replace(lm,"{").replace(am,"}").replace(om,"^")}function vE(e){return ia(e).replace(fE,"%3D")}function bE(e){return ac(e).replace(rm,"%23").replace(dE,"%3F")}function wE(e){return e==null?"":bE(e).replace(uE,"%2F")}function Jr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const EE=/\/$/,TE=e=>e.replace(EE,"");function yl(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=OE(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:Jr(o)}}function SE(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function hf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function CE(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&rr(t.matched[s],n.matched[r])&&cm(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function rr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function cm(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!PE(e[n],t[n]))return!1;return!0}function PE(e,t){return Vt(e)?pf(e,t):Vt(t)?pf(t,e):e===t}function pf(e,t){return Vt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function OE(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 On={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ir;(function(e){e.pop="pop",e.push="push"})(ir||(ir={}));var gs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(gs||(gs={}));const _l="";function um(e){if(!e)if(ks){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),TE(e)}const AE=/^[^#]+#/;function fm(e,t){return e.replace(AE,"#")+t}function RE(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 Go=()=>({left:window.scrollX,top:window.scrollY});function LE(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=RE(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 mf(e,t){return(history.state?history.state.position-t:-1)+e}const oa=new Map;function xE(e,t){oa.set(e,t)}function kE(e){const t=oa.get(e);return oa.delete(e),t}let NE=()=>location.protocol+"//"+location.host;function dm(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),hf(a,"")}return hf(n,e)+s+r}function IE(e,t,n,s){let r=[],i=[],o=null;const l=({state:d})=>{const h=dm(e,location),m=n.value,g=t.value;let b=0;if(d){if(n.value=h,t.value=d,o&&o===m){o=null;return}b=g?d.position-g.position:0}else s(h);r.forEach(_=>{_(n.value,m,{delta:b,type:ir.pop,direction:b?b>0?gs.forward:gs.back:gs.unknown})})};function a(){o=n.value}function c(d){r.push(d);const h=()=>{const m=r.indexOf(d);m>-1&&r.splice(m,1)};return i.push(h),h}function f(){const{history:d}=window;d.state&&d.replaceState(be({},d.state,{scroll:Go()}),"")}function u(){for(const d of i)d();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 gf(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Go():null}}function ME(e){const{history:t,location:n}=window,s={value:dm(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("#"),d=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+a:NE()+e+a;try{t[f?"replaceState":"pushState"](c,"",d),r.value=c}catch(h){console.error(h),n[f?"replace":"assign"](d)}}function o(a,c){const f=be({},t.state,gf(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=be({},r.value,t.state,{forward:a,scroll:Go()});i(f.current,f,!0);const u=be({},gf(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 DE(e){e=um(e);const t=ME(e),n=IE(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=be({location:"",base:e,go:s,createHref:fm.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 $E(e=""){let t=[],n=[_l],s=0;e=um(e);function r(l){s++,s!==n.length&&n.splice(s),n.push(l)}function i(l,a,{direction:c,delta:f}){const u={direction:c,delta:f,type:ir.pop};for(const d of t)d(l,a,u)}const o={location:_l,state:{},base:e,createHref:fm.bind(null,e),replace(l){n.splice(s--,1),r(l)},push(l,a){r(l)},listen(l){return t.push(l),()=>{const a=t.indexOf(l);a>-1&&t.splice(a,1)}},destroy(){t=[],n=[_l],s=0},go(l,a=!0){const c=this.location,f=l<0?gs.back:gs.forward;s=Math.max(0,Math.min(s+l,n.length-1)),a&&i(this.location,c,{direction:f,delta:l})}};return Object.defineProperty(o,"location",{enumerable:!0,get:()=>n[s]}),o}function FE(e){return typeof e=="string"||e&&typeof e=="object"}function hm(e){return typeof e=="string"||typeof e=="symbol"}const pm=Symbol("");var yf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(yf||(yf={}));function or(e,t){return be(new Error,{type:e,[pm]:!0},t)}function ln(e,t){return e instanceof Error&&pm in e&&(t==null||!!(e.type&t))}const _f="[^/]+?",HE={sensitive:!1,strict:!1,start:!0,end:!0},jE=/[.+*?^${}()[\]/\\]/g;function UE(e,t){const n=be({},HE,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 d=c[u];let h=40+(n.sensitive?.25:0);if(d.type===0)u||(r+="/"),r+=d.value.replace(jE,"\\$&"),h+=40;else if(d.type===1){const{value:m,repeatable:g,optional:b,regexp:_}=d;i.push({name:m,repeatable:g,optional:b});const v=_||_f;if(v!==_f){h+=10;try{new RegExp(`(${v})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${m}" (${v}): `+y.message)}}let p=g?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;u||(p=b&&c.length<2?`(?:/${p})`:"/"+p),b&&(p+="?"),r+=p,h+=20,b&&(h+=-8),g&&(h+=-20),v===".*"&&(h+=-50)}f.push(h)}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+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(c){const f=c.match(o),u={};if(!f)return null;for(let d=1;d<f.length;d++){const h=f[d]||"",m=i[d-1];u[m.name]=h&&m.repeatable?h.split("/"):h}return u}function a(c){let f="",u=!1;for(const d of e){(!u||!f.endsWith("/"))&&(f+="/"),u=!1;for(const h of d)if(h.type===0)f+=h.value;else if(h.type===1){const{value:m,repeatable:g,optional:b}=h,_=m in c?c[m]:"";if(Vt(_)&&!g)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const v=Vt(_)?_.join("/"):_;if(!v)if(b)d.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 VE(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 mm(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=VE(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(vf(s))return 1;if(vf(r))return-1}return r.length-s.length}function vf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const BE={type:0,value:""},WE=/[a-zA-Z0-9_]/;function KE(e){if(!e)return[[]];if(e==="/")return[[BE]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}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 d(){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):d();break;case 4:d(),n=s;break;case 1:a==="("?n=2:WE.test(a)?d():(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 qE(e,t,n){const s=UE(KE(e.path),n),r=be(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function GE(e,t){const n=[],s=new Map;t=Tf({strict:!1,end:!0,sensitive:!1},t);function r(u){return s.get(u)}function i(u,d,h){const m=!h,g=wf(u);g.aliasOf=h&&h.record;const b=Tf(t,u),_=[g];if("alias"in u){const y=typeof u.alias=="string"?[u.alias]:u.alias;for(const E of y)_.push(wf(be({},g,{components:h?h.record.components:g.components,path:E,aliasOf:h?h.record:g})))}let v,p;for(const y of _){const{path:E}=y;if(d&&E[0]!=="/"){const C=d.record.path,L=C[C.length-1]==="/"?"":"/";y.path=d.record.path+(E&&L+E)}if(v=qE(y,d,b),h?h.alias.push(v):(p=p||v,p!==v&&p.alias.push(v),m&&u.name&&!Ef(v)&&o(u.name)),gm(v)&&a(v),g.children){const C=g.children;for(let L=0;L<C.length;L++)i(C[L],v,h&&h.children[L])}h=h||v}return p?()=>{o(p)}:kr}function o(u){if(hm(u)){const d=s.get(u);d&&(s.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,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 d=YE(u,n);n.splice(d,0,u),u.record.name&&!Ef(u)&&s.set(u.record.name,u)}function c(u,d){let h,m={},g,b;if("name"in u&&u.name){if(h=s.get(u.name),!h)throw or(1,{location:u});b=h.record.name,m=be(bf(d.params,h.keys.filter(p=>!p.optional).concat(h.parent?h.parent.keys.filter(p=>p.optional):[]).map(p=>p.name)),u.params&&bf(u.params,h.keys.map(p=>p.name))),g=h.stringify(m)}else if(u.path!=null)g=u.path,h=n.find(p=>p.re.test(g)),h&&(m=h.parse(g),b=h.record.name);else{if(h=d.name?s.get(d.name):n.find(p=>p.re.test(d.path)),!h)throw or(1,{location:u,currentLocation:d});b=h.record.name,m=be({},d.params,u.params),g=h.stringify(m)}const _=[];let v=h;for(;v;)_.unshift(v.record),v=v.parent;return{name:b,path:g,params:m,matched:_,meta:zE(_)}}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 bf(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function wf(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:QE(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 QE(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 Ef(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function zE(e){return e.reduce((t,n)=>be(t,n.meta),{})}function Tf(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function YE(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;mm(e,t[i])<0?s=i:n=i+1}const r=XE(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function XE(e){let t=e;for(;t=t.parent;)if(gm(t)&&mm(e,t)===0)return t}function gm({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function JE(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(im," "),o=i.indexOf("="),l=Jr(o<0?i:i.slice(0,o)),a=o<0?null:Jr(i.slice(o+1));if(l in t){let c=t[l];Vt(c)||(c=t[l]=[c]),c.push(a)}else t[l]=a}return t}function Sf(e){let t="";for(let n in e){const s=e[n];if(n=vE(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Vt(s)?s.map(i=>i&&ia(i)):[s&&ia(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function ZE(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Vt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const eT=Symbol(""),Cf=Symbol(""),Qo=Symbol(""),cc=Symbol(""),la=Symbol("");function gr(){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 $n(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const c=d=>{d===!1?a(or(4,{from:n,to:t})):d instanceof Error?a(d):FE(d)?a(or(2,{from:t,to:d})):(o&&s.enterCallbacks[r]===o&&typeof d=="function"&&o.push(d),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(d=>a(d))})}function vl(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(sm(a)){const f=(a.__vccOpts||a)[t];f&&i.push($n(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=aE(f)?f.default:f;o.mods[l]=f,o.components[l]=u;const h=(u.__vccOpts||u)[t];return h&&$n(h,n,s,o,l,r)()}))}}return i}function Pf(e){const t=ft(Qo),n=ft(cc),s=me(()=>{const a=Tt(e.to);return t.resolve(a)}),r=me(()=>{const{matched:a}=s.value,{length:c}=a,f=a[c-1],u=n.matched;if(!f||!u.length)return-1;const d=u.findIndex(rr.bind(null,f));if(d>-1)return d;const h=Of(a[c-2]);return c>1&&Of(f)===h&&u[u.length-1].path!==h?u.findIndex(rr.bind(null,a[c-2])):d}),i=me(()=>r.value>-1&&rT(n.params,s.value.params)),o=me(()=>r.value>-1&&r.value===n.matched.length-1&&cm(n.params,s.value.params));function l(a={}){return sT(a)?t[Tt(e.replace)?"replace":"push"](Tt(e.to)).catch(kr):Promise.resolve()}return{route:s,href:me(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}const tT=_t({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:Pf,setup(e,{slots:t}){const n=Yn(Pf(e)),{options:s}=ft(Qo),r=me(()=>({[Af(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Af(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Ss("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),nT=tT;function sT(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 rT(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(!Vt(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function Of(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Af=(e,t,n)=>e??t??n,iT=_t({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ft(la),r=me(()=>e.route||s.value),i=ft(Cf,0),o=me(()=>{let c=Tt(i);const{matched:f}=r.value;let u;for(;(u=f[c])&&!u.components;)c++;return c}),l=me(()=>r.value.matched[o.value]);Sr(Cf,me(()=>o.value+1)),Sr(eT,l),Sr(la,r);const a=ie();return Le(()=>[a.value,l.value,e.name],([c,f,u],[d,h,m])=>{f&&(f.instances[u]=c,h&&h!==f&&c&&c===d&&(f.leaveGuards.size||(f.leaveGuards=h.leaveGuards),f.updateGuards.size||(f.updateGuards=h.updateGuards))),c&&f&&(!h||!rr(f,h)||!d)&&(f.enterCallbacks[u]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=r.value,f=e.name,u=l.value,d=u&&u.components[f];if(!d)return Rf(n.default,{Component:d,route:c});const h=u.props[f],m=h?h===!0?c.params:typeof h=="function"?h(c):h:null,b=Ss(d,be({},m,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(u.instances[f]=null)},ref:a}));return Rf(n.default,{Component:b,route:c})||b}}});function Rf(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const oT=iT;function lT(e){const t=GE(e.routes,e),n=e.parseQuery||JE,s=e.stringifyQuery||Sf,r=e.history,i=gr(),o=gr(),l=gr(),a=Jt(On);let c=On;ks&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=gl.bind(null,H=>""+H),u=gl.bind(null,wE),d=gl.bind(null,Jr);function h(H,Y){let Q,ee;return hm(H)?(Q=t.getRecordMatcher(H),ee=Y):ee=H,t.addRoute(ee,Q)}function m(H){const Y=t.getRecordMatcher(H);Y&&t.removeRoute(Y)}function g(){return t.getRoutes().map(H=>H.record)}function b(H){return!!t.getRecordMatcher(H)}function _(H,Y){if(Y=be({},Y||a.value),typeof H=="string"){const P=yl(n,H,Y.path),I=t.resolve({path:P.path},Y),V=r.createHref(P.fullPath);return be(P,I,{params:d(I.params),hash:Jr(P.hash),redirectedFrom:void 0,href:V})}let Q;if(H.path!=null)Q=be({},H,{path:yl(n,H.path,Y.path).path});else{const P=be({},H.params);for(const I in P)P[I]==null&&delete P[I];Q=be({},H,{params:u(P)}),Y.params=u(Y.params)}const ee=t.resolve(Q,Y),ue=H.hash||"";ee.params=f(d(ee.params));const Ee=SE(s,be({},H,{hash:_E(ue),path:ee.path})),T=r.createHref(Ee);return be({fullPath:Ee,hash:ue,query:s===Sf?ZE(H.query):H.query||{}},ee,{redirectedFrom:void 0,href:T})}function v(H){return typeof H=="string"?yl(n,H,a.value.path):be({},H)}function p(H,Y){if(c!==H)return or(8,{from:Y,to:H})}function y(H){return L(H)}function E(H){return y(be(v(H),{replace:!0}))}function C(H){const Y=H.matched[H.matched.length-1];if(Y&&Y.redirect){const{redirect:Q}=Y;let ee=typeof Q=="function"?Q(H):Q;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=v(ee):{path:ee},ee.params={}),be({query:H.query,hash:H.hash,params:ee.path!=null?{}:H.params},ee)}}function L(H,Y){const Q=c=_(H),ee=a.value,ue=H.state,Ee=H.force,T=H.replace===!0,P=C(Q);if(P)return L(be(v(P),{state:typeof P=="object"?be({},ue,P.state):ue,force:Ee,replace:T}),Y||Q);const I=Q;I.redirectedFrom=Y;let V;return!Ee&&CE(s,ee,Q)&&(V=or(16,{to:I,from:ee}),We(ee,ee,!0,!1)),(V?Promise.resolve(V):A(I,ee)).catch(F=>ln(F)?ln(F,2)?F:xe(F):G(F,I,ee)).then(F=>{if(F){if(ln(F,2))return L(be({replace:T},v(F.to),{state:typeof F.to=="object"?be({},ue,F.to.state):ue,force:Ee}),Y||I)}else F=N(I,ee,!0,T,ue);return D(I,ee,F),F})}function R(H,Y){const Q=p(H,Y);return Q?Promise.reject(Q):Promise.resolve()}function O(H){const Y=Ce.values().next().value;return Y&&typeof Y.runWithContext=="function"?Y.runWithContext(H):H()}function A(H,Y){let Q;const[ee,ue,Ee]=aT(H,Y);Q=vl(ee.reverse(),"beforeRouteLeave",H,Y);for(const P of ee)P.leaveGuards.forEach(I=>{Q.push($n(I,H,Y))});const T=R.bind(null,H,Y);return Q.push(T),Je(Q).then(()=>{Q=[];for(const P of i.list())Q.push($n(P,H,Y));return Q.push(T),Je(Q)}).then(()=>{Q=vl(ue,"beforeRouteUpdate",H,Y);for(const P of ue)P.updateGuards.forEach(I=>{Q.push($n(I,H,Y))});return Q.push(T),Je(Q)}).then(()=>{Q=[];for(const P of Ee)if(P.beforeEnter)if(Vt(P.beforeEnter))for(const I of P.beforeEnter)Q.push($n(I,H,Y));else Q.push($n(P.beforeEnter,H,Y));return Q.push(T),Je(Q)}).then(()=>(H.matched.forEach(P=>P.enterCallbacks={}),Q=vl(Ee,"beforeRouteEnter",H,Y,O),Q.push(T),Je(Q))).then(()=>{Q=[];for(const P of o.list())Q.push($n(P,H,Y));return Q.push(T),Je(Q)}).catch(P=>ln(P,8)?P:Promise.reject(P))}function D(H,Y,Q){l.list().forEach(ee=>O(()=>ee(H,Y,Q)))}function N(H,Y,Q,ee,ue){const Ee=p(H,Y);if(Ee)return Ee;const T=Y===On,P=ks?history.state:{};Q&&(ee||T?r.replace(H.fullPath,be({scroll:T&&P&&P.scroll},ue)):r.push(H.fullPath,ue)),a.value=H,We(H,Y,Q,T),xe()}let B;function X(){B||(B=r.listen((H,Y,Q)=>{if(!Xe.listening)return;const ee=_(H),ue=C(ee);if(ue){L(be(ue,{replace:!0}),ee).catch(kr);return}c=ee;const Ee=a.value;ks&&xE(mf(Ee.fullPath,Q.delta),Go()),A(ee,Ee).catch(T=>ln(T,12)?T:ln(T,2)?(L(T.to,ee).then(P=>{ln(P,20)&&!Q.delta&&Q.type===ir.pop&&r.go(-1,!1)}).catch(kr),Promise.reject()):(Q.delta&&r.go(-Q.delta,!1),G(T,ee,Ee))).then(T=>{T=T||N(ee,Ee,!1),T&&(Q.delta&&!ln(T,8)?r.go(-Q.delta,!1):Q.type===ir.pop&&ln(T,20)&&r.go(-1,!1)),D(ee,Ee,T)}).catch(kr)}))}let se=gr(),W=gr(),q;function G(H,Y,Q){xe(H);const ee=W.list();return ee.length?ee.forEach(ue=>ue(H,Y,Q)):console.error(H),Promise.reject(H)}function re(){return q&&a.value!==On?Promise.resolve():new Promise((H,Y)=>{se.add([H,Y])})}function xe(H){return q||(q=!H,X(),se.list().forEach(([Y,Q])=>H?Q(H):Y()),se.reset()),H}function We(H,Y,Q,ee){const{scrollBehavior:ue}=e;if(!ks||!ue)return Promise.resolve();const Ee=!Q&&kE(mf(H.fullPath,0))||(ee||!Q)&&history.state&&history.state.scroll||null;return gt().then(()=>ue(H,Y,Ee)).then(T=>T&&LE(T)).catch(T=>G(T,H,Y))}const Re=H=>r.go(H);let Ke;const Ce=new Set,Xe={currentRoute:a,listening:!0,addRoute:h,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:g,resolve:_,options:e,push:y,replace:E,go:Re,back:()=>Re(-1),forward:()=>Re(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:W.add,isReady:re,install(H){const Y=this;H.component("RouterLink",nT),H.component("RouterView",oT),H.config.globalProperties.$router=Y,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>Tt(a)}),ks&&!Ke&&a.value===On&&(Ke=!0,y(r.location).catch(ue=>{}));const Q={};for(const ue in On)Object.defineProperty(Q,ue,{get:()=>a.value[ue],enumerable:!0});H.provide(Qo,Y),H.provide(cc,Ra(Q)),H.provide(la,a);const ee=H.unmount;Ce.add(H),H.unmount=function(){Ce.delete(H),Ce.size<1&&(c=On,B&&B(),B=null,a.value=On,Ke=!1,q=!1),ee()}}};function Je(H){return H.reduce((Y,Q)=>Y.then(()=>O(Q)),Promise.resolve())}return Xe}function aT(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=>rr(c,l))?s.push(l):n.push(l));const a=e.matched[o];a&&(t.matched.find(c=>rr(c,a))||r.push(a))}return[n,s,r]}function qS(){return ft(Qo)}function GS(e){return ft(cc)}const cT=new Set(["title","titleTemplate","script","style","noscript"]),Fi=new Set(["base","meta","link","style","script","noscript"]),uT=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),fT=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),ym=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),dT=typeof window<"u";function po(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function aa(e){if(e._h)return e._h;if(e._d)return po(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return po(t)}function hT(e,t){return e instanceof Promise?e.then(t):t(e)}function ca(e,t,n,s){const r=s||vm(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(r instanceof Promise)return r.then(o=>ca(e,t,n,o));const i={tag:e,props:r};for(const o of ym){const l=i.props[o]!==void 0?i.props[o]:n[o];l!==void 0&&((!(o==="innerHTML"||o==="textContent"||o==="children")||cT.has(i.tag))&&(i[o==="children"?"innerHTML":o]=l),delete i.props[o])}return i.props.body&&(i.tagPosition="bodyClose",delete i.props.body),i.tag==="script"&&typeof i.innerHTML=="object"&&(i.innerHTML=JSON.stringify(i.innerHTML),i.props.type=i.props.type||"application/json"),Array.isArray(i.props.content)?i.props.content.map(o=>({...i,props:{...i.props,content:o}})):i}function pT(e,t){var s;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,i])=>e==="style"?`${r}:${i}`:r)),(s=String(Array.isArray(t)?t.join(n):t))==null?void 0:s.split(n).filter(r=>!!r.trim()).join(n)}function _m(e,t,n,s){for(let r=s;r<n.length;r+=1){const i=n[r];if(i==="class"||i==="style"){e[i]=pT(i,e[i]);continue}if(e[i]instanceof Promise)return e[i].then(o=>(e[i]=o,_m(e,t,n,r)));if(!t&&!ym.has(i)){const o=String(e[i]),l=i.startsWith("data-");o==="true"||o===""?e[i]=l?"true":!0:e[i]||(l&&o==="false"?e[i]="false":delete e[i])}}}function vm(e,t=!1){const n=_m(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const mT=10;function bm(e,t,n){for(let s=n;s<t.length;s+=1){const r=t[s];if(r instanceof Promise)return r.then(i=>(t[s]=i,bm(e,t,s)));Array.isArray(r)?e.push(...r):e.push(r)}}function gT(e){const t=[],n=e.resolvedInput;for(const r in n){if(!Object.prototype.hasOwnProperty.call(n,r))continue;const i=n[r];if(!(i===void 0||!uT.has(r))){if(Array.isArray(i)){for(const o of i)t.push(ca(r,o,e));continue}t.push(ca(r,i,e))}}if(t.length===0)return[];const s=[];return hT(bm(s,t,0),()=>s.map((r,i)=>(r._e=e._i,e.mode&&(r._m=e.mode),r._p=(e._i<<mT)+i,r)))}const Lf=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),xf={base:-10,title:10},kf={critical:-80,high:-10,low:20};function mo(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in xf&&(n=xf[e.tag]),t&&t in kf?n+kf[t]:n}const yT=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],_T=["name","property","http-equiv"];function wm(e){const{props:t,tag:n}=e;if(fT.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const s of _T)if(t[s]!==void 0)return`${n}:${s}:${t[s]}`;return!1}const Fn="%separator";function vT(e,t){var s;let n;if(t==="s"||t==="pageTitle")n=e.pageTitle;else if(t.includes(".")){const r=t.indexOf(".");n=(s=e[t.substring(0,r)])==null?void 0:s[t.substring(r+1)]}else n=e[t];return n!==void 0?(n||"").replace(/"/g,'\\"'):void 0}const bT=new RegExp(`${Fn}(?:\\s*${Fn})*`,"g");function Ri(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const r=s.match(/%\w+(?:\.\w+)?/g);if(!r)return e;const i=e.includes(Fn);return e=e.replace(/%\w+(?:\.\w+)?/g,o=>{if(o===Fn||!r.includes(o))return o;const l=vT(t,o.slice(1));return l!==void 0?l:o}).trim(),i&&(e.endsWith(Fn)&&(e=e.slice(0,-Fn.length)),e.startsWith(Fn)&&(e=e.slice(Fn.length)),e=e.replace(bT,n).trim()),e}function Nf(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function wT(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 u;const i=(await e.resolveTags()).map(d=>({tag:d,id:Fi.has(d.tag)?aa(d):d.tag,shouldRender:!0}));let o=e._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const d=new Set;for(const h of["body","head"]){const m=(u=n[h])==null?void 0:u.children;for(const g of m){const b=g.tagName.toLowerCase();if(!Fi.has(b))continue;const _={tag:b,props:await vm(g.getAttributeNames().reduce((E,C)=>({...E,[C]:g.getAttribute(C)}),{})),innerHTML:g.innerHTML},v=wm(_);let p=v,y=1;for(;p&&d.has(p);)p=`${v}:${y++}`;p&&(_._d=p,d.add(p)),o.elMap[g.getAttribute("data-hid")||aa(_)]=g}}}o.pendingSideEffects={...o.sideEffects},o.sideEffects={};function l(d,h,m){const g=`${d}:${h}`;o.sideEffects[g]=m,delete o.pendingSideEffects[g]}function a({id:d,$el:h,tag:m}){const g=m.tag.endsWith("Attrs");if(o.elMap[d]=h,g||(m.textContent&&m.textContent!==h.textContent&&(h.textContent=m.textContent),m.innerHTML&&m.innerHTML!==h.innerHTML&&(h.innerHTML=m.innerHTML),l(d,"el",()=>{var b;(b=o.elMap[d])==null||b.remove(),delete o.elMap[d]})),m._eventHandlers)for(const b in m._eventHandlers)Object.prototype.hasOwnProperty.call(m._eventHandlers,b)&&h.getAttribute(`data-${b}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:h).addEventListener(b.substring(2),m._eventHandlers[b].bind(h)),h.setAttribute(`data-${b}`,""));for(const b in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,b))continue;const _=m.props[b],v=`attr:${b}`;if(b==="class"){if(!_)continue;for(const p of _.split(" "))g&&l(d,`${v}:${p}`,()=>h.classList.remove(p)),!h.classList.contains(p)&&h.classList.add(p)}else if(b==="style"){if(!_)continue;for(const p of _.split(";")){const y=p.indexOf(":"),E=p.substring(0,y).trim(),C=p.substring(y+1).trim();l(d,`${v}:${E}`,()=>{h.style.removeProperty(E)}),h.style.setProperty(E,C)}}else h.getAttribute(b)!==_&&h.setAttribute(b,_===!0?"":String(_)),g&&l(d,v,()=>h.removeAttribute(b))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of i){const{tag:h,shouldRender:m,id:g}=d;if(m){if(h.tag==="title"){n.title=h.textContent;continue}d.$el=d.$el||o.elMap[g],d.$el?a(d):Fi.has(h.tag)&&c.push(d)}}for(const d of c){const h=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),a(d),f[h]=f[h]||n.createDocumentFragment(),f[h].appendChild(d.$el)}for(const d of i)await e.hooks.callHook("dom:renderTag",d,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const d in o.pendingSideEffects)o.pendingSideEffects[d]();e._dom=o,await e.hooks.callHook("dom:rendered",{renders:i}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function ET(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(s=>n(()=>wT(e,t).then(()=>{delete e._domDebouncedUpdatePromise,s()})))}function TT(e){return t=>{var s,r;const n=((r=(s=t.resolvedOptions.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":i=>{ET(i,e)}}}}}function ua(e,t={},n){for(const s in e){const r=e[s],i=n?`${n}:${s}`:s;typeof r=="object"&&r!==null?ua(r,t,i):typeof r=="function"&&(t[i]=r)}return t}const ST={run:e=>e()},CT=()=>ST,Em=typeof console.createTask<"u"?console.createTask:CT;function PT(e,t){const n=t.shift(),s=Em(n);return e.reduce((r,i)=>r.then(()=>s.run(()=>i(...t))),Promise.resolve())}function OT(e,t){const n=t.shift(),s=Em(n);return Promise.all(e.map(r=>s.run(()=>r(...t))))}function bl(e,t){for(const n of[...e])n(t)}class AT{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,s={}){if(!t||typeof n!="function")return()=>{};const r=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!s.allowDeprecated){let o=i.message;o||(o=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let s,r=(...i)=>(typeof s=="function"&&s(),s=void 0,r=void 0,n(...i));return s=this.hook(t,r),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];delete this._hooks[t];for(const r of s)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ua(t),s=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of s.splice(0,s.length))r()}}removeHooks(t){const n=ua(t);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(PT,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(OT,t,...n)}callHookWith(t,n,...s){const r=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&bl(this._before,r);const i=t(n in this._hooks?[...this._hooks[n]]:[],s);return i instanceof Promise?i.finally(()=>{this._after&&r&&bl(this._after,r)}):(this._after&&r&&bl(this._after,r),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function RT(){return new AT}const LT=new Set(["templateParams","htmlAttrs","bodyAttrs"]),xT={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=wm(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const s of e.tags){const r=(s.key?`${s.tag}:${s.key}`:s._d)||aa(s),i=t[r];if(i){let l=s==null?void 0:s.tagDuplicateStrategy;if(!l&&LT.has(s.tag)&&(l="merge"),l==="merge"){const a=i.props;a.style&&s.props.style&&(a.style[a.style.length-1]!==";"&&(a.style+=";"),s.props.style=`${a.style} ${s.props.style}`),a.class&&s.props.class?s.props.class=`${a.class} ${s.props.class}`:a.class&&(s.props.class=a.class),t[r].props={...a,...s.props};continue}else if(s._e===i._e){i._duped=i._duped||[],s._d=`${i._d}:${i._duped.length+1}`,i._duped.push(s);continue}else if(mo(s)>mo(i))continue}if(!(s.innerHTML||s.textContent||Object.keys(s.props).length!==0)&&Fi.has(s.tag)){delete t[r];continue}t[r]=s}const n=[];for(const s in t){const r=t[s],i=r._duped;n.push(r),i&&(delete r._duped,n.push(...i))}e.tags=n,e.tags=e.tags.filter(s=>!(s.tag==="meta"&&(s.props.name||s.props.property)&&!s.props.content))}}},kT=new Set(["script","link","bodyAttrs"]),NT=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!kT.has(n.tag))continue;const s=n.props;for(const r in s){if(r[0]!=="o"||r[1]!=="n"||!Object.prototype.hasOwnProperty.call(s,r))continue;const i=s[r];typeof i=="function"&&(e.ssr&&Lf.has(r)?s[r]=`this.dataset.${r}fired = true`:delete s[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=i)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||po(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var r,i;const s=t==null?void 0:t.dataset;if(s)for(const o in s){if(!o.endsWith("fired"))continue;const l=o.slice(0,-5);Lf.has(l)&&((i=(r=n._eventHandlers)==null?void 0:r[l])==null||i.call(t,new Event(l.substring(2))))}}}}),IT=new Set(["link","style","script","noscript"]),MT={hooks:{"tag:normalise":({tag:e})=>{e.key&&IT.has(e.tag)&&(e.props["data-hid"]=e._h=po(e.key))}}},DT={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const s of e.tags)s._m!=="server"||s.tag!=="titleTemplate"&&s.tag!=="templateParams"&&s.tag!=="title"||(t[s.tag]=s.tag==="title"||s.tag==="titleTemplate"?s.textContent:s.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},$T={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:s,offset:r}of yT){if(!n.tagPriority.startsWith(s))continue;const i=n.tagPriority.substring(s.length),o=(t=e.tags.find(l=>l._d===i))==null?void 0:t._p;if(o!==void 0){n._p=o+r;break}}e.tags.sort((n,s)=>{const r=mo(n),i=mo(s);return r<i?-1:r>i?1:n._p-s._p})}}},FT={meta:"content",link:"href",htmlAttrs:"lang"},HT=["innerHTML","textContent"],jT=e=>({hooks:{"tags:resolve":t=>{var o;const{tags:n}=t;let s;for(let l=0;l<n.length;l+=1)n[l].tag==="templateParams"&&(s=t.tags.splice(l,1)[0].props,l-=1);const r=s||{},i=r.separator||"|";delete r.separator,r.pageTitle=Ri(r.pageTitle||((o=n.find(l=>l.tag==="title"))==null?void 0:o.textContent)||"",r,i);for(const l of n){if(l.processTemplateParams===!1)continue;const a=FT[l.tag];if(a&&typeof l.props[a]=="string")l.props[a]=Ri(l.props[a],r,i);else if(l.processTemplateParams||l.tag==="titleTemplate"||l.tag==="title")for(const c of HT)typeof l[c]=="string"&&(l[c]=Ri(l[c],r,i))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tags:t})=>{let n;for(let s=0;s<t.length;s+=1){const r=t[s];r.tag==="title"&&r.processTemplateParams!==!1&&(n=r)}n!=null&&n.textContent&&(n.textContent=Ri(n.textContent,e._templateParams,e._separator))}}}),UT={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,s;for(let r=0;r<t.length;r+=1){const i=t[r];i.tag==="title"?n=i:i.tag==="titleTemplate"&&(s=i)}if(s&&n){const r=Nf(s.textContent,n.textContent);r!==null?n.textContent=r||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(s){const r=Nf(s.textContent);r!==null&&(s.textContent=r,s.tag="title",s=void 0)}s&&e.tags.splice(e.tags.indexOf(s),1)}}},VT={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let Tm;function BT(e={}){const t=WT(e);return t.use(TT()),Tm=t}function If(e,t){return!e||e==="server"&&t||e==="client"&&!t}function WT(e={}){const t=RT();t.addHooks(e.hooks||{}),e.document=e.document||(dT?document:void 0);const n=!e.document,s=()=>{l.dirty=!0,t.callHook("entries:updated",l)};let r=0,i=[];const o=[],l={plugins:o,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(a){const c=typeof a=="function"?a(l):a;(!c.key||!o.some(f=>f.key===c.key))&&(o.push(c),If(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const f={_i:r++,input:a,...c};return If(f.mode,n)&&(i.push(f),s()),{dispose(){i=i.filter(u=>u._i!==f._i),s()},patch(u){for(const d of i)d._i===f._i&&(d.input=f.input=u);s()}}},async resolveTags(){const a={tags:[],entries:[...i]};await t.callHook("entries:resolve",a);for(const c of a.entries){const f=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(f):f),c.resolvedInput)for(const u of await gT(c)){const d={tag:u,entry:c,resolvedOptions:l.resolvedOptions};await t.callHook("tag:normalise",d),a.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a),a.tags},ssr:n};return[xT,DT,NT,MT,$T,jT,UT,VT,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}function KT(){return Tm}const qT=Xa[0]==="3";function GT(e){return typeof e=="function"?e():Tt(e)}function go(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=GT(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>go(n));if(typeof t=="object"){const n={};for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)){if(s==="titleTemplate"||s[0]==="o"&&s[1]==="n"){n[s]=Tt(t[s]);continue}n[s]=go(t[s])}return n}return t}const QT={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=go(t.input)}}},Sm="usehead";function zT(e){return{install(n){qT&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Sm,e))}}.install}function YT(e={}){e.domDelayFn=e.domDelayFn||(n=>gt(()=>setTimeout(()=>n(),0)));const t=BT(e);return t.use(QT),t.install=zT(t),t}const Mf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Df="__unhead_injection_handler__";function XT(){if(Df in Mf)return Mf[Df]();const e=ft(Sm);return e||KT()}function JT(e,t={}){const n=t.head||XT();if(n)return n.ssr?n.push(e,t):ZT(n,e,t)}function ZT(e,t,n={}){const s=ie(!1),r=ie({});qa(()=>{r.value=s.value?{}:go(t)});const i=e.push(r.value,n);return Le(r,l=>{i.patch(l)}),Be()&&(ur(()=>{i.dispose()}),Fa(()=>{s.value=!0}),$a(()=>{s.value=!1})),i}function eS(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function tS(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}const nS=_t({setup(e,{slots:t}){const n=ie(!1);return Tn(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function sS(e,t,n,s={}){const{transformState:r,registerComponents:i=!0,useHead:o=!0,rootContainer:l="#app"}=s,a=typeof window<"u";async function c(f=!1,u){const d=f?Br(e):ec(e);let h;o&&(h=YT(),d.use(h));const m=lT({history:f?DE(t.base):$E(t.base),...t}),{routes:g}=t;i&&d.component("ClientOnly",nS);const b=[],p={app:d,head:h,isClient:a,router:m,routes:g,onSSRAppRendered:f?()=>{}:L=>b.push(L),triggerOnSSRAppRendered:()=>Promise.all(b.map(L=>L())),initialState:{},transformState:r,routePath:u};f&&(await tS(),p.initialState=(r==null?void 0:r(window.__INITIAL_STATE__||{}))||eS(window.__INITIAL_STATE__)),await(n==null?void 0:n(p)),d.use(m);let y,E=!0;if(m.beforeEach((L,R,O)=>{(E||y&&y===L.path)&&(E=!1,y=L.path,L.meta.state=p.initialState),O()}),!f){const L=p.routePath??"/";m.push(L),await m.isReady(),p.initialState=m.currentRoute.value.meta.state||{}}const C=p.initialState;return{...p,initialState:C}}return a&&(async()=>{const{app:f,router:u}=await c(!0);await u.isReady(),f.mount(l,!0)})(),c}const rS=[{path:"/",name:"/",component:()=>He(()=>import("./index-CsD1PvIl.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:()=>He(()=>import("./_...all_-DkFLHLY4.js"),__vite__mapDeps([22,23,24,2,3,25,19,15,5,26,14,4,7,17,18,27,20]),import.meta.url),meta:{layout:"board-layout"}},{path:"/about",name:"/about",component:()=>He(()=>import("./about-Bt1E61e1.js"),[],import.meta.url)},{path:"/balloon",children:[{path:"",name:"/balloon/",component:()=>He(()=>import("./index-ByBDbX-Q.js"),__vite__mapDeps([28,15,5,4,26,14,29,25,19,20,7]),import.meta.url),meta:{layout:"headless"}}]},{path:"/board",name:"/board",component:()=>He(()=>import("./board-BuZxK-RS.js"),__vite__mapDeps([30,23,24,2,3,25,19,15,5,26,14,4,7,17,18,27,29,20]),import.meta.url),meta:{layout:"board-layout"}},{path:"/countdown",children:[{path:"",name:"/countdown/",component:()=>He(()=>import("./index-DtIE9gnq.js"),__vite__mapDeps([31,15,5,4,26,14,7,29,25,19,20,32]),import.meta.url),meta:{layout:"headless"}}]},{path:"/hi",children:[{path:":name",name:"/hi/[name]",component:()=>He(()=>import("./_name_-CKcXFscu.js"),__vite__mapDeps([33,34]),import.meta.url)}]},{path:"/rating",children:[{path:"",name:"/rating/",component:()=>He(()=>import("./index-eEOWm26O.js"),__vite__mapDeps([35,16,7,2,3,4,20,36]),import.meta.url),meta:{layout:"index-layout"}},{path:":all(.*)",name:"/rating/[...all]",component:()=>He(()=>import("./_...all_-CajB1u6j.js"),__vite__mapDeps([37,24,2,3,15,5,4,38]),import.meta.url)}]},{path:"/resolver",children:[{path:"",name:"/resolver/",component:()=>He(()=>import("./index-BVqqkkh8.js"),__vite__mapDeps([39,2,3,7,15,5,4,26,14,29,25,19,20,40]),import.meta.url),meta:{layout:"headless"}}]},{path:"/test",name:"/test",component:()=>He(()=>import("./test-BmgsMNrG.js"),__vite__mapDeps([41,25,19,34,20]),import.meta.url),meta:{layout:"home"}}];function wn(e){return Co()?(Sa(e),!0):!1}function wl(){const e=new Set,t=r=>{e.delete(r)};return{on:r=>{e.add(r);const i=()=>t(r);return wn(i),{off:i}},off:t,trigger:(...r)=>Promise.all(Array.from(e).map(i=>i(...r)))}}function Ie(e){return typeof e=="function"?e():Tt(e)}const lr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const iS=e=>typeof e<"u",Cm=e=>e!=null,oS=Object.prototype.toString,lS=e=>oS.call(e)==="[object Object]",Qn=()=>{};function Pm(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 Om=e=>e();function aS(...e){let t=0,n,s=!0,r=Qn,i,o,l,a,c;!_e(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=Qn)};return d=>{const h=Ie(o),m=Date.now()-t,g=()=>i=d();return f(),h<=0?(t=Date.now(),g()):(m>h&&(a||!s)?(t=Date.now(),g()):l&&(i=new Promise((b,_)=>{r=c?_:b,n=setTimeout(()=>{t=Date.now(),s=!0,b(g()),f()},Math.max(0,h-m))})),!a&&!n&&(n=setTimeout(()=>s=!0,h)),s=!1,i)}}function cS(e=Om){const t=ie(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:yn(t),pause:n,resume:s,eventFilter:r}}function $f(e,t=!1,n="Timeout"){return new Promise((s,r)=>{setTimeout(t?()=>r(n):s,e)})}function uS(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 fS(e,...t){return t.some(n=>n in e)}function Am(e){return Be()}function Nr(...e){if(e.length!==1)return Ld(...e);const t=e[0];return typeof t=="function"?yn(ka(()=>({get:t,set:Qn}))):ie(t)}function QS(e,t=200,n=!1,s=!0,r=!1){return Pm(aS(t,n,s,r),e)}function dS(e,t,n={}){const{eventFilter:s=Om,...r}=n;return Le(e,Pm(s,t),r)}function hS(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:i,pause:o,resume:l,isActive:a}=cS(s);return{stop:dS(e,t,{...r,eventFilter:i}),pause:o,resume:l,isActive:a}}function pS(e,t){Am()&&ur(e,t)}function Rm(e,t=!0,n){Am()?Tn(e,n):t?e():gt(e)}function fa(e,t=!1){function n(u,{flush:d="sync",deep:h=!1,timeout:m,throwOnTimeout:g}={}){let b=null;const v=[new Promise(p=>{b=Le(e,y=>{u(y)!==t&&(b?b():gt(()=>b==null?void 0:b()),p(y))},{flush:d,deep:h,immediate:!0})})];return m!=null&&v.push($f(m,g).then(()=>Ie(e)).finally(()=>b==null?void 0:b())),Promise.race(v)}function s(u,d){if(!_e(u))return n(y=>y===u,d);const{flush:h="sync",deep:m=!1,timeout:g,throwOnTimeout:b}=d??{};let _=null;const p=[new Promise(y=>{_=Le([e,u],([E,C])=>{t!==(E===C)&&(_?_():gt(()=>_==null?void 0:_()),y(E))},{flush:h,deep:m,immediate:!0})})];return g!=null&&p.push($f(g,b).then(()=>Ie(e)).finally(()=>(_==null||_(),Ie(e)))),Promise.race(p)}function r(u){return n(d=>!!d,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,d){return n(h=>{const m=Array.from(h);return m.includes(u)||m.includes(Ie(u))},d)}function c(u){return f(1,u)}function f(u=1,d){let h=-1;return n(()=>(h+=1,h>=u),d)}return Array.isArray(Ie(e))?{toMatch:n,toContains:a,changed:c,changedTimes:f,get not(){return fa(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:r,toBeNull:i,toBeNaN:l,toBeUndefined:o,changed:c,changedTimes:f,get not(){return fa(e,!t)}}}function mS(e){return fa(e)}function gS(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let i=null;const o=ie(!1);function l(){i&&(clearInterval(i),i=null)}function a(){o.value=!1,l()}function c(){const f=Ie(t);f<=0||(o.value=!0,r&&e(),l(),i=setInterval(e,f))}if(s&&lr&&c(),_e(t)||typeof t=="function"){const f=Le(t,()=>{o.value&&lr&&c()});wn(f)}return wn(a),{isActive:o,pause:a,resume:c}}function Lm(e,t,n={}){const{immediate:s=!0}=n,r=ie(!1);let i=null;function o(){i&&(clearTimeout(i),i=null)}function l(){r.value=!1,o()}function a(...c){o(),r.value=!0,i=setTimeout(()=>{r.value=!1,i=null,e(...c)},Ie(t))}return s&&(r.value=!0,lr&&a()),wn(l),{isPending:yn(r),start:a,stop:l}}function yS(e=!1,t={}){const{truthyValue:n=!0,falsyValue:s=!1}=t,r=_e(e),i=ie(e);function o(l){if(arguments.length)return i.value=l,i.value;{const a=Ie(n);return i.value=i.value===a?Ie(s):a,i.value}}return r?o:[i,o]}const yt=lr?window:void 0,xm=lr?window.document:void 0,km=lr?window.navigator:void 0;function Us(e){var t;const n=Ie(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Dt(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=yt):[t,n,s,r]=e,!t)return Qn;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(f=>f()),i.length=0},l=(f,u,d,h)=>(f.addEventListener(u,d,h),()=>f.removeEventListener(u,d,h)),a=Le(()=>[Us(t),Ie(r)],([f,u])=>{if(o(),!f)return;const d=lS(u)?{...u}:u;i.push(...n.flatMap(h=>s.map(m=>l(f,h,m,d))))},{immediate:!0,flush:"post"}),c=()=>{a(),o()};return wn(c),c}function _S(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function vS(...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=yt,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,a=_S(t);return Dt(r,i,f=>{f.repeat&&Ie(l)||a(f)&&n(f)},o)}function zS(e,t,n={}){return vS(e,t,{...n,eventName:"keyup"})}function bS(){const e=ie(!1),t=Be();return t&&Tn(()=>{e.value=!0},t),e}function ci(e){const t=bS();return me(()=>(t.value,!!e()))}function wS(e,t,n={}){const{window:s=yt,...r}=n;let i;const o=ci(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},a=me(()=>{const d=Ie(e),h=(Array.isArray(d)?d:[d]).map(Us).filter(Cm);return new Set(h)}),c=Le(()=>a.value,d=>{l(),o.value&&d.size&&(i=new MutationObserver(t),d.forEach(h=>i.observe(h,r)))},{immediate:!0,flush:"post"}),f=()=>i==null?void 0:i.takeRecords(),u=()=>{c(),l()};return wn(u),{isSupported:o,stop:u,takeRecords:f}}function ES(e,t={}){const{immediate:n=!0,fpsLimit:s=void 0,window:r=yt}=t,i=ie(!1),o=s?1e3/s:null;let l=0,a=null;function c(d){if(!i.value||!r)return;l||(l=d);const h=d-l;if(o&&h<o){a=r.requestAnimationFrame(c);return}l=d,e({delta:h,timestamp:d}),a=r.requestAnimationFrame(c)}function f(){!i.value&&r&&(i.value=!0,l=0,a=r.requestAnimationFrame(c))}function u(){i.value=!1,a!=null&&r&&(r.cancelAnimationFrame(a),a=null)}return n&&f(),wn(u),{isActive:yn(i),pause:u,resume:f}}function TS(e,t={}){const{window:n=yt}=t,s=ci(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=ie(!1),o=c=>{i.value=c.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},a=qa(()=>{s.value&&(l(),r=n.matchMedia(Ie(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),i.value=r.matches)});return wn(()=>{a(),l(),r=void 0}),i}function Ff(e,t={}){const{controls:n=!1,navigator:s=km}=t,r=ci(()=>s&&"permissions"in s),i=Jt(),o=typeof e=="string"?{name:e}:e,l=Jt(),a=()=>{var f,u;l.value=(u=(f=i.value)==null?void 0:f.state)!=null?u:"prompt"};Dt(i,"change",a);const c=uS(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 ae(i.value)}});return c(),n?{state:l,isSupported:r,query:c}:l}function YS(e={}){const{navigator:t=km,read:n=!1,source:s,copiedDuring:r=1500,legacy:i=!1}=e,o=ci(()=>t&&"clipboard"in t),l=Ff("clipboard-read"),a=Ff("clipboard-write"),c=me(()=>o.value||i),f=ie(""),u=ie(!1),d=Lm(()=>u.value=!1,r);function h(){o.value&&_(l.value)?t.clipboard.readText().then(v=>{f.value=v}):f.value=b()}c.value&&n&&Dt(["copy","cut"],h);async function m(v=Ie(s)){c.value&&v!=null&&(o.value&&_(a.value)?await t.clipboard.writeText(v):g(v),f.value=v,u.value=!0,d.start())}function g(v){const p=document.createElement("textarea");p.value=v??"",p.style.position="absolute",p.style.opacity="0",document.body.appendChild(p),p.select(),document.execCommand("copy"),p.remove()}function b(){var v,p,y;return(y=(p=(v=document==null?void 0:document.getSelection)==null?void 0:v.call(document))==null?void 0:p.toString())!=null?y:""}function _(v){return v==="granted"||v==="prompt"}return{isSupported:c,text:f,copied:u,copy:m}}function SS(e){return JSON.parse(JSON.stringify(e))}const Li=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xi="__vueuse_ssr_handlers__",CS=PS();function PS(){return xi in Li||(Li[xi]=Li[xi]||{}),Li[xi]}function Nm(e,t){return CS[e]||t}function uc(e){return TS("(prefers-color-scheme: dark)",e)}function OS(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 AS={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()}},Hf="vueuse-storage";function RS(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=yt,eventFilter:d,onError:h=A=>{console.error(A)},initOnMounted:m}=s,g=(f?Jt:ie)(typeof t=="function"?t():t);if(!n)try{n=Nm("getDefaultStorage",()=>{var A;return(A=yt)==null?void 0:A.localStorage})()}catch(A){h(A)}if(!n)return g;const b=Ie(t),_=OS(b),v=(r=s.serializer)!=null?r:AS[_],{pause:p,resume:y}=hS(g,()=>C(g.value),{flush:i,deep:o,eventFilter:d});u&&l&&Rm(()=>{n instanceof Storage?Dt(u,"storage",R):Dt(u,Hf,O),m&&R()}),m||R();function E(A,D){if(u){const N={key:e,oldValue:A,newValue:D,storageArea:n};u.dispatchEvent(n instanceof Storage?new StorageEvent("storage",N):new CustomEvent(Hf,{detail:N}))}}function C(A){try{const D=n.getItem(e);if(A==null)E(D,null),n.removeItem(e);else{const N=v.write(A);D!==N&&(n.setItem(e,N),E(D,N))}}catch(D){h(D)}}function L(A){const D=A?A.newValue:n.getItem(e);if(D==null)return a&&b!=null&&n.setItem(e,v.write(b)),b;if(!A&&c){const N=v.read(D);return typeof c=="function"?c(N,b):_==="object"&&!Array.isArray(N)?{...b,...N}:N}else return typeof D!="string"?D:v.read(D)}function R(A){if(!(A&&A.storageArea!==n)){if(A&&A.key==null){g.value=b;return}if(!(A&&A.key!==e)){p();try{(A==null?void 0:A.newValue)!==v.write(g.value)&&(g.value=L(A))}catch(D){h(D)}finally{A?gt(y):y()}}}}function O(A){R(A.detail)}return g}const LS="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function xS(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=yt,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||{}},d=uc({window:r}),h=me(()=>d.value?"dark":"light"),m=a||(o==null?Nr(s):RS(o,s,i,{window:r,listenToStorageChanges:l})),g=me(()=>m.value==="auto"?h.value:m.value),b=Nm("updateHTMLAttrs",(y,E,C)=>{const L=typeof y=="string"?r==null?void 0:r.document.querySelector(y):Us(y);if(!L)return;const R=new Set,O=new Set;let A=null;if(E==="class"){const N=C.split(/\s/g);Object.values(u).flatMap(B=>(B||"").split(/\s/g)).filter(Boolean).forEach(B=>{N.includes(B)?R.add(B):O.add(B)})}else A={key:E,value:C};if(R.size===0&&O.size===0&&A===null)return;let D;f&&(D=r.document.createElement("style"),D.appendChild(document.createTextNode(LS)),r.document.head.appendChild(D));for(const N of R)L.classList.add(N);for(const N of O)L.classList.remove(N);A&&L.setAttribute(A.key,A.value),f&&(r.getComputedStyle(D).opacity,document.head.removeChild(D))});function _(y){var E;b(t,n,(E=u[y])!=null?E:y)}function v(y){e.onChanged?e.onChanged(y,_):_(y)}Le(g,v,{flush:"post",immediate:!0}),Rm(()=>v(g.value));const p=me({get(){return c?m.value:g.value},set(y){m.value=y}});try{return Object.assign(p,{store:m,system:h,state:g})}catch{return p}}function kS(e={}){const{valueDark:t="dark",valueLight:n="",window:s=yt}=e,r=xS({...e,onChanged:(l,a)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,l==="dark",a,l):a(l)},modes:{dark:t,light:n}}),i=me(()=>r.system?r.system.value:uc({window:s}).value?"dark":"light");return me({get(){return r.value==="dark"},set(l){const a=l?"dark":"light";i.value===a?r.value="auto":r.value=a}})}function XS(e={}){const{document:t=xm}=e;if(!t)return ie("visible");const n=ie(t.visibilityState);return Dt(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function NS(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:i=0,window:o=yt,immediate:l=!0}=n,a=ci(()=>o&&"IntersectionObserver"in o),c=me(()=>{const m=Ie(e);return(Array.isArray(m)?m:[m]).map(Us).filter(Cm)});let f=Qn;const u=ie(l),d=a.value?Le(()=>[c.value,Us(s),u.value],([m,g])=>{if(f(),!u.value||!m.length)return;const b=new IntersectionObserver(t,{root:Us(g),rootMargin:r,threshold:i});m.forEach(_=>_&&b.observe(_)),f=()=>{b.disconnect(),f=Qn}},{immediate:l,flush:"post"}):Qn,h=()=>{f(),d(),u.value=!1};return wn(h),{isSupported:a,isActive:u,pause(){f(),u.value=!1},resume(){u.value=!0},stop:h}}function JS(e,t={}){const{window:n=yt,scrollTarget:s,threshold:r=0}=t,i=ie(!1);return NS(e,o=>{let l=i.value,a=0;for(const c of o)c.time>=a&&(a=c.time,l=c.isIntersecting);i.value=l},{root:s,window:n,threshold:r}),i}const IS={json:"application/json",text:"text/plain"};function jf(e){return e&&fS(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function El(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function ZS(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&&(jf(t[0])?i={...i,...t[0]}:r=t[0]),t.length>1&&jf(t[1])&&(i={...i,...t[1]});const{fetch:l=(n=yt)==null?void 0:n.fetch,initialData:a,timeout:c}=i,f=wl(),u=wl(),d=wl(),h=ie(!1),m=ie(!1),g=ie(!1),b=ie(null),_=Jt(null),v=Jt(null),p=Jt(a||null),y=me(()=>s&&m.value);let E,C;const L=()=>{s&&(E==null||E.abort(),E=new AbortController,E.signal.onabort=()=>g.value=!0,r={...r,signal:E.signal})},R=W=>{m.value=W,h.value=!W};c&&(C=Lm(L,c,{immediate:!1}));let O=0;const A=async(W=!1)=>{var q,G;L(),R(!0),v.value=null,b.value=null,g.value=!1,O+=1;const re=O,xe={method:o.method,headers:{}};if(o.payload){const Ce=El(xe.headers),Xe=Ie(o.payload);!o.payloadType&&Xe&&Object.getPrototypeOf(Xe)===Object.prototype&&!(Xe instanceof FormData)&&(o.payloadType="json"),o.payloadType&&(Ce["Content-Type"]=(q=IS[o.payloadType])!=null?q:o.payloadType),xe.body=o.payloadType==="json"?JSON.stringify(Xe):Xe}let We=!1;const Re={url:Ie(e),options:{...xe,...r},cancel:()=>{We=!0}};if(i.beforeFetch&&Object.assign(Re,await i.beforeFetch(Re)),We||!l)return R(!1),Promise.resolve(null);let Ke=null;return C&&C.start(),l(Re.url,{...xe,...Re.options,headers:{...El(xe.headers),...El((G=Re.options)==null?void 0:G.headers)}}).then(async Ce=>{if(_.value=Ce,b.value=Ce.status,Ke=await Ce.clone()[o.type](),!Ce.ok)throw p.value=a||null,new Error(Ce.statusText);return i.afterFetch&&({data:Ke}=await i.afterFetch({data:Ke,response:Ce})),p.value=Ke,f.trigger(Ce),Ce}).catch(async Ce=>{let Xe=Ce.message||Ce.name;if(i.onFetchError&&({error:Xe,data:Ke}=await i.onFetchError({data:Ke,error:Ce,response:_.value})),v.value=Xe,i.updateDataOnError&&(p.value=Ke),u.trigger(Ce),W)throw Ce;return null}).finally(()=>{re===O&&R(!1),C&&C.stop(),d.trigger(null)})},D=Nr(i.refetch);Le([D,Nr(e)],([W])=>W&&A(),{deep:!0});const N={isFinished:yn(h),isFetching:yn(m),statusCode:b,response:_,error:v,data:p,canAbort:y,aborted:g,abort:L,execute:A,onFetchResponse:f.on,onFetchError:u.on,onFetchFinally:d.on,get:B("GET"),put:B("PUT"),post:B("POST"),delete:B("DELETE"),patch:B("PATCH"),head:B("HEAD"),options:B("OPTIONS"),json:se("json"),text:se("text"),blob:se("blob"),arrayBuffer:se("arrayBuffer"),formData:se("formData")};function B(W){return(q,G)=>{if(!m.value)return o.method=W,o.payload=q,o.payloadType=G,_e(o.payload)&&Le([D,Nr(o.payload)],([re])=>re&&A(),{deep:!0}),{...N,then(re,xe){return X().then(re,xe)}}}}function X(){return new Promise((W,q)=>{mS(h).toBe(!0).then(()=>W(N)).catch(G=>q(G))})}function se(W){return()=>{if(!m.value)return o.type=W,{...N,then(q,G){return X().then(q,G)}}}}return i.immediate&&Promise.resolve().then(()=>A()),{...N,then(W,q){return X().then(W,q)}}}const MS={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function eC(e={}){const{reactive:t=!1,target:n=yt,aliasMap:s=MS,passive:r=!0,onEventFired:i=Qn}=e,o=Yn(new Set),l={toJSON(){return{}},current:o},a=t?Yn(l):l,c=new Set,f=new Set;function u(g,b){g in a&&(t?a[g]=b:a[g].value=b)}function d(){o.clear();for(const g of f)u(g,!1)}function h(g,b){var _,v;const p=(_=g.key)==null?void 0:_.toLowerCase(),E=[(v=g.code)==null?void 0:v.toLowerCase(),p].filter(Boolean);p&&(b?o.add(p):o.delete(p));for(const C of E)f.add(C),u(C,b);p==="meta"&&!b?(c.forEach(C=>{o.delete(C),u(C,!1)}),c.clear()):typeof g.getModifierState=="function"&&g.getModifierState("Meta")&&b&&[...o,...E].forEach(C=>c.add(C))}Dt(n,"keydown",g=>(h(g,!0),i(g)),{passive:r}),Dt(n,"keyup",g=>(h(g,!1),i(g)),{passive:r}),Dt("blur",d,{passive:!0}),Dt("focus",d,{passive:!0});const m=new Proxy(a,{get(g,b,_){if(typeof b!="string")return Reflect.get(g,b,_);if(b=b.toLowerCase(),b in s&&(b=s[b]),!(b in a))if(/[+_-]/.test(b)){const p=b.split(/[+_-]/g).map(y=>y.trim());a[b]=me(()=>p.every(y=>Ie(m[y])))}else a[b]=ie(!1);const v=Reflect.get(g,b,_);return t?Ie(v):v}});return m}function tC(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,s=ie(new Date),r=()=>s.value=new Date,i=n==="requestAnimationFrame"?ES(r,{immediate:!0}):gS(r,n,{immediate:!0});return t?{now:s,...i}:s}function nC(e=null,t={}){var n,s,r;const{document:i=xm,restoreOnUnmount:o=u=>u}=t,l=(n=i==null?void 0:i.title)!=null?n:"",a=Nr((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 d=t.titleTemplate||"%s";return typeof d=="function"?d(u):Ie(d).replace(/%s/g,u)}return Le(a,(u,d)=>{u!==d&&i&&(i.title=f(typeof u=="string"?u:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&i&&!c&&wS((r=i.head)==null?void 0:r.querySelector("title"),()=>{i&&i.title!==a.value&&(a.value=f(i.title))},{childList:!0}),pS(()=>{if(o){const u=o(l,a.value||"");u!=null&&i&&(i.title=u)}}),a}function sC(e,t,n,s={}){var r,i,o;const{clone:l=!1,passive:a=!1,eventName:c,deep:f=!1,defaultValue:u,shouldEmit:d}=s,h=Be(),m=(h==null?void 0:h.emit)||((r=h==null?void 0:h.$emit)==null?void 0:r.bind(h))||((o=(i=h==null?void 0:h.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(h==null?void 0:h.proxy));let g=c;t||(t="modelValue"),g=g||`update:${t.toString()}`;const b=p=>l?typeof l=="function"?l(p):SS(p):p,_=()=>iS(e[t])?b(e[t]):u,v=p=>{d?d(p)&&m(g,p):m(g,p)};if(a){const p=_(),y=ie(p);let E=!1;return Le(()=>e[t],C=>{E||(E=!0,y.value=b(C),gt(()=>E=!1))}),Le(y,C=>{!E&&(C!==e[t]||f)&&v(C)},{deep:f}),y}else return me({get(){return _()},set(p){v(p)}})}function rC(e={}){const{window:t=yt,behavior:n="auto"}=e;if(!t)return{x:ie(0),y:ie(0)};const s=ie(t.scrollX),r=ie(t.scrollY),i=me({get(){return s.value},set(l){scrollTo({left:l,behavior:n})}}),o=me({get(){return r.value},set(l){scrollTo({top:l,behavior:n})}});return Dt(t,"scroll",()=>{s.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}const Im=kS(),iC=yS(Im),DS=uc(),$S=_t({__name:"App",setup(e){return JT({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>Im.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>DS.value?"/favicon-dark.svg":"/favicon.svg"}]}),(t,n)=>{const s=_s("RouterView");return dt(),vn(s)}}});sS($S,{routes:lE(rS),base:"/"},e=>{Object.values(Object.assign({"./modules/i18n.ts":uw,"./modules/nprogress.ts":pw,"./modules/pinia.ts":Tw,"./modules/pwa.ts":Cw,"./modules/toast.ts":Lw})).forEach(t=>{var n;return(n=t.install)==null?void 0:n.call(t,e)}),e.app.use(oE),e.app.use(i0)});export{XS as $,nC as A,ZS as B,Le as C,ri as D,M_ as E,De as F,vn as G,qS as H,JT as I,Av as J,Wn as K,Ja as L,jr as M,RS as N,ep as O,gt as P,pp as Q,mp as R,Ow as S,wb as T,YS as U,Lb as V,Tn as W,gS as X,vS as Y,QS as Z,He as _,Te as a,qa as a0,eC as a1,Pw as a2,zS as a3,Uo as a4,Uw as a5,Iw as a6,jS as a7,Hu as a8,kt as a9,ai as aa,kw as ab,Nw as ac,Cp as ad,Kw as ae,Dw as af,ut as ag,rh as ah,ft as ai,Jw as aj,le as ak,Ra as al,WS as am,Sa as an,KS as ao,Rd as ap,wn as aq,ka as ar,Ie as as,fw as at,HS as au,Jh as av,Be as aw,sC as ax,Yt as b,er as c,_t as d,rC as e,GS as f,me as g,Tt as h,aw as i,za as j,Ea as k,hp as l,tC as m,ns as n,dt as o,ie as p,JS as q,_s as r,Fl as s,iC as t,nc as u,u_ as v,ys as w,io as x,Fo as y,_e as z};
50
+ */const ks=typeof document<"u";function sm(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function aE(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&sm(e.default)}const be=Object.assign;function gl(e,t){const n={};for(const s in t){const r=t[s];n[s]=Vt(r)?r.map(e):e(r)}return n}const kr=()=>{},Vt=Array.isArray,rm=/#/g,cE=/&/g,uE=/\//g,fE=/=/g,dE=/\?/g,im=/\+/g,hE=/%5B/g,pE=/%5D/g,om=/%5E/g,mE=/%60/g,lm=/%7B/g,gE=/%7C/g,am=/%7D/g,yE=/%20/g;function ac(e){return encodeURI(""+e).replace(gE,"|").replace(hE,"[").replace(pE,"]")}function _E(e){return ac(e).replace(lm,"{").replace(am,"}").replace(om,"^")}function ia(e){return ac(e).replace(im,"%2B").replace(yE,"+").replace(rm,"%23").replace(cE,"%26").replace(mE,"`").replace(lm,"{").replace(am,"}").replace(om,"^")}function vE(e){return ia(e).replace(fE,"%3D")}function bE(e){return ac(e).replace(rm,"%23").replace(dE,"%3F")}function wE(e){return e==null?"":bE(e).replace(uE,"%2F")}function Jr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const EE=/\/$/,TE=e=>e.replace(EE,"");function yl(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=OE(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:Jr(o)}}function SE(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function hf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function CE(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&rr(t.matched[s],n.matched[r])&&cm(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function rr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function cm(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!PE(e[n],t[n]))return!1;return!0}function PE(e,t){return Vt(e)?pf(e,t):Vt(t)?pf(t,e):e===t}function pf(e,t){return Vt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function OE(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 On={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ir;(function(e){e.pop="pop",e.push="push"})(ir||(ir={}));var gs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(gs||(gs={}));const _l="";function um(e){if(!e)if(ks){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),TE(e)}const AE=/^[^#]+#/;function fm(e,t){return e.replace(AE,"#")+t}function RE(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 Go=()=>({left:window.scrollX,top:window.scrollY});function LE(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=RE(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 mf(e,t){return(history.state?history.state.position-t:-1)+e}const oa=new Map;function xE(e,t){oa.set(e,t)}function kE(e){const t=oa.get(e);return oa.delete(e),t}let NE=()=>location.protocol+"//"+location.host;function dm(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),hf(a,"")}return hf(n,e)+s+r}function IE(e,t,n,s){let r=[],i=[],o=null;const l=({state:d})=>{const h=dm(e,location),m=n.value,g=t.value;let b=0;if(d){if(n.value=h,t.value=d,o&&o===m){o=null;return}b=g?d.position-g.position:0}else s(h);r.forEach(_=>{_(n.value,m,{delta:b,type:ir.pop,direction:b?b>0?gs.forward:gs.back:gs.unknown})})};function a(){o=n.value}function c(d){r.push(d);const h=()=>{const m=r.indexOf(d);m>-1&&r.splice(m,1)};return i.push(h),h}function f(){const{history:d}=window;d.state&&d.replaceState(be({},d.state,{scroll:Go()}),"")}function u(){for(const d of i)d();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 gf(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Go():null}}function ME(e){const{history:t,location:n}=window,s={value:dm(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("#"),d=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+a:NE()+e+a;try{t[f?"replaceState":"pushState"](c,"",d),r.value=c}catch(h){console.error(h),n[f?"replace":"assign"](d)}}function o(a,c){const f=be({},t.state,gf(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=be({},r.value,t.state,{forward:a,scroll:Go()});i(f.current,f,!0);const u=be({},gf(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 DE(e){e=um(e);const t=ME(e),n=IE(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=be({location:"",base:e,go:s,createHref:fm.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 $E(e=""){let t=[],n=[_l],s=0;e=um(e);function r(l){s++,s!==n.length&&n.splice(s),n.push(l)}function i(l,a,{direction:c,delta:f}){const u={direction:c,delta:f,type:ir.pop};for(const d of t)d(l,a,u)}const o={location:_l,state:{},base:e,createHref:fm.bind(null,e),replace(l){n.splice(s--,1),r(l)},push(l,a){r(l)},listen(l){return t.push(l),()=>{const a=t.indexOf(l);a>-1&&t.splice(a,1)}},destroy(){t=[],n=[_l],s=0},go(l,a=!0){const c=this.location,f=l<0?gs.back:gs.forward;s=Math.max(0,Math.min(s+l,n.length-1)),a&&i(this.location,c,{direction:f,delta:l})}};return Object.defineProperty(o,"location",{enumerable:!0,get:()=>n[s]}),o}function FE(e){return typeof e=="string"||e&&typeof e=="object"}function hm(e){return typeof e=="string"||typeof e=="symbol"}const pm=Symbol("");var yf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(yf||(yf={}));function or(e,t){return be(new Error,{type:e,[pm]:!0},t)}function ln(e,t){return e instanceof Error&&pm in e&&(t==null||!!(e.type&t))}const _f="[^/]+?",HE={sensitive:!1,strict:!1,start:!0,end:!0},jE=/[.+*?^${}()[\]/\\]/g;function UE(e,t){const n=be({},HE,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 d=c[u];let h=40+(n.sensitive?.25:0);if(d.type===0)u||(r+="/"),r+=d.value.replace(jE,"\\$&"),h+=40;else if(d.type===1){const{value:m,repeatable:g,optional:b,regexp:_}=d;i.push({name:m,repeatable:g,optional:b});const v=_||_f;if(v!==_f){h+=10;try{new RegExp(`(${v})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${m}" (${v}): `+y.message)}}let p=g?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;u||(p=b&&c.length<2?`(?:/${p})`:"/"+p),b&&(p+="?"),r+=p,h+=20,b&&(h+=-8),g&&(h+=-20),v===".*"&&(h+=-50)}f.push(h)}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+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(c){const f=c.match(o),u={};if(!f)return null;for(let d=1;d<f.length;d++){const h=f[d]||"",m=i[d-1];u[m.name]=h&&m.repeatable?h.split("/"):h}return u}function a(c){let f="",u=!1;for(const d of e){(!u||!f.endsWith("/"))&&(f+="/"),u=!1;for(const h of d)if(h.type===0)f+=h.value;else if(h.type===1){const{value:m,repeatable:g,optional:b}=h,_=m in c?c[m]:"";if(Vt(_)&&!g)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const v=Vt(_)?_.join("/"):_;if(!v)if(b)d.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 VE(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 mm(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=VE(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(vf(s))return 1;if(vf(r))return-1}return r.length-s.length}function vf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const BE={type:0,value:""},WE=/[a-zA-Z0-9_]/;function KE(e){if(!e)return[[]];if(e==="/")return[[BE]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}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 d(){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):d();break;case 4:d(),n=s;break;case 1:a==="("?n=2:WE.test(a)?d():(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 qE(e,t,n){const s=UE(KE(e.path),n),r=be(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function GE(e,t){const n=[],s=new Map;t=Tf({strict:!1,end:!0,sensitive:!1},t);function r(u){return s.get(u)}function i(u,d,h){const m=!h,g=wf(u);g.aliasOf=h&&h.record;const b=Tf(t,u),_=[g];if("alias"in u){const y=typeof u.alias=="string"?[u.alias]:u.alias;for(const E of y)_.push(wf(be({},g,{components:h?h.record.components:g.components,path:E,aliasOf:h?h.record:g})))}let v,p;for(const y of _){const{path:E}=y;if(d&&E[0]!=="/"){const C=d.record.path,L=C[C.length-1]==="/"?"":"/";y.path=d.record.path+(E&&L+E)}if(v=qE(y,d,b),h?h.alias.push(v):(p=p||v,p!==v&&p.alias.push(v),m&&u.name&&!Ef(v)&&o(u.name)),gm(v)&&a(v),g.children){const C=g.children;for(let L=0;L<C.length;L++)i(C[L],v,h&&h.children[L])}h=h||v}return p?()=>{o(p)}:kr}function o(u){if(hm(u)){const d=s.get(u);d&&(s.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,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 d=YE(u,n);n.splice(d,0,u),u.record.name&&!Ef(u)&&s.set(u.record.name,u)}function c(u,d){let h,m={},g,b;if("name"in u&&u.name){if(h=s.get(u.name),!h)throw or(1,{location:u});b=h.record.name,m=be(bf(d.params,h.keys.filter(p=>!p.optional).concat(h.parent?h.parent.keys.filter(p=>p.optional):[]).map(p=>p.name)),u.params&&bf(u.params,h.keys.map(p=>p.name))),g=h.stringify(m)}else if(u.path!=null)g=u.path,h=n.find(p=>p.re.test(g)),h&&(m=h.parse(g),b=h.record.name);else{if(h=d.name?s.get(d.name):n.find(p=>p.re.test(d.path)),!h)throw or(1,{location:u,currentLocation:d});b=h.record.name,m=be({},d.params,u.params),g=h.stringify(m)}const _=[];let v=h;for(;v;)_.unshift(v.record),v=v.parent;return{name:b,path:g,params:m,matched:_,meta:zE(_)}}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 bf(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function wf(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:QE(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 QE(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 Ef(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function zE(e){return e.reduce((t,n)=>be(t,n.meta),{})}function Tf(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function YE(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;mm(e,t[i])<0?s=i:n=i+1}const r=XE(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function XE(e){let t=e;for(;t=t.parent;)if(gm(t)&&mm(e,t)===0)return t}function gm({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function JE(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(im," "),o=i.indexOf("="),l=Jr(o<0?i:i.slice(0,o)),a=o<0?null:Jr(i.slice(o+1));if(l in t){let c=t[l];Vt(c)||(c=t[l]=[c]),c.push(a)}else t[l]=a}return t}function Sf(e){let t="";for(let n in e){const s=e[n];if(n=vE(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Vt(s)?s.map(i=>i&&ia(i)):[s&&ia(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function ZE(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Vt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const eT=Symbol(""),Cf=Symbol(""),Qo=Symbol(""),cc=Symbol(""),la=Symbol("");function gr(){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 $n(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const c=d=>{d===!1?a(or(4,{from:n,to:t})):d instanceof Error?a(d):FE(d)?a(or(2,{from:t,to:d})):(o&&s.enterCallbacks[r]===o&&typeof d=="function"&&o.push(d),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(d=>a(d))})}function vl(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(sm(a)){const f=(a.__vccOpts||a)[t];f&&i.push($n(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=aE(f)?f.default:f;o.mods[l]=f,o.components[l]=u;const h=(u.__vccOpts||u)[t];return h&&$n(h,n,s,o,l,r)()}))}}return i}function Pf(e){const t=ft(Qo),n=ft(cc),s=me(()=>{const a=Tt(e.to);return t.resolve(a)}),r=me(()=>{const{matched:a}=s.value,{length:c}=a,f=a[c-1],u=n.matched;if(!f||!u.length)return-1;const d=u.findIndex(rr.bind(null,f));if(d>-1)return d;const h=Of(a[c-2]);return c>1&&Of(f)===h&&u[u.length-1].path!==h?u.findIndex(rr.bind(null,a[c-2])):d}),i=me(()=>r.value>-1&&rT(n.params,s.value.params)),o=me(()=>r.value>-1&&r.value===n.matched.length-1&&cm(n.params,s.value.params));function l(a={}){return sT(a)?t[Tt(e.replace)?"replace":"push"](Tt(e.to)).catch(kr):Promise.resolve()}return{route:s,href:me(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}const tT=_t({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:Pf,setup(e,{slots:t}){const n=Yn(Pf(e)),{options:s}=ft(Qo),r=me(()=>({[Af(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Af(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Ss("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),nT=tT;function sT(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 rT(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(!Vt(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function Of(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Af=(e,t,n)=>e??t??n,iT=_t({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ft(la),r=me(()=>e.route||s.value),i=ft(Cf,0),o=me(()=>{let c=Tt(i);const{matched:f}=r.value;let u;for(;(u=f[c])&&!u.components;)c++;return c}),l=me(()=>r.value.matched[o.value]);Sr(Cf,me(()=>o.value+1)),Sr(eT,l),Sr(la,r);const a=ie();return Le(()=>[a.value,l.value,e.name],([c,f,u],[d,h,m])=>{f&&(f.instances[u]=c,h&&h!==f&&c&&c===d&&(f.leaveGuards.size||(f.leaveGuards=h.leaveGuards),f.updateGuards.size||(f.updateGuards=h.updateGuards))),c&&f&&(!h||!rr(f,h)||!d)&&(f.enterCallbacks[u]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=r.value,f=e.name,u=l.value,d=u&&u.components[f];if(!d)return Rf(n.default,{Component:d,route:c});const h=u.props[f],m=h?h===!0?c.params:typeof h=="function"?h(c):h:null,b=Ss(d,be({},m,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(u.instances[f]=null)},ref:a}));return Rf(n.default,{Component:b,route:c})||b}}});function Rf(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const oT=iT;function lT(e){const t=GE(e.routes,e),n=e.parseQuery||JE,s=e.stringifyQuery||Sf,r=e.history,i=gr(),o=gr(),l=gr(),a=Jt(On);let c=On;ks&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=gl.bind(null,H=>""+H),u=gl.bind(null,wE),d=gl.bind(null,Jr);function h(H,Y){let Q,ee;return hm(H)?(Q=t.getRecordMatcher(H),ee=Y):ee=H,t.addRoute(ee,Q)}function m(H){const Y=t.getRecordMatcher(H);Y&&t.removeRoute(Y)}function g(){return t.getRoutes().map(H=>H.record)}function b(H){return!!t.getRecordMatcher(H)}function _(H,Y){if(Y=be({},Y||a.value),typeof H=="string"){const P=yl(n,H,Y.path),I=t.resolve({path:P.path},Y),V=r.createHref(P.fullPath);return be(P,I,{params:d(I.params),hash:Jr(P.hash),redirectedFrom:void 0,href:V})}let Q;if(H.path!=null)Q=be({},H,{path:yl(n,H.path,Y.path).path});else{const P=be({},H.params);for(const I in P)P[I]==null&&delete P[I];Q=be({},H,{params:u(P)}),Y.params=u(Y.params)}const ee=t.resolve(Q,Y),ue=H.hash||"";ee.params=f(d(ee.params));const Ee=SE(s,be({},H,{hash:_E(ue),path:ee.path})),T=r.createHref(Ee);return be({fullPath:Ee,hash:ue,query:s===Sf?ZE(H.query):H.query||{}},ee,{redirectedFrom:void 0,href:T})}function v(H){return typeof H=="string"?yl(n,H,a.value.path):be({},H)}function p(H,Y){if(c!==H)return or(8,{from:Y,to:H})}function y(H){return L(H)}function E(H){return y(be(v(H),{replace:!0}))}function C(H){const Y=H.matched[H.matched.length-1];if(Y&&Y.redirect){const{redirect:Q}=Y;let ee=typeof Q=="function"?Q(H):Q;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=v(ee):{path:ee},ee.params={}),be({query:H.query,hash:H.hash,params:ee.path!=null?{}:H.params},ee)}}function L(H,Y){const Q=c=_(H),ee=a.value,ue=H.state,Ee=H.force,T=H.replace===!0,P=C(Q);if(P)return L(be(v(P),{state:typeof P=="object"?be({},ue,P.state):ue,force:Ee,replace:T}),Y||Q);const I=Q;I.redirectedFrom=Y;let V;return!Ee&&CE(s,ee,Q)&&(V=or(16,{to:I,from:ee}),We(ee,ee,!0,!1)),(V?Promise.resolve(V):A(I,ee)).catch(F=>ln(F)?ln(F,2)?F:xe(F):G(F,I,ee)).then(F=>{if(F){if(ln(F,2))return L(be({replace:T},v(F.to),{state:typeof F.to=="object"?be({},ue,F.to.state):ue,force:Ee}),Y||I)}else F=N(I,ee,!0,T,ue);return D(I,ee,F),F})}function R(H,Y){const Q=p(H,Y);return Q?Promise.reject(Q):Promise.resolve()}function O(H){const Y=Ce.values().next().value;return Y&&typeof Y.runWithContext=="function"?Y.runWithContext(H):H()}function A(H,Y){let Q;const[ee,ue,Ee]=aT(H,Y);Q=vl(ee.reverse(),"beforeRouteLeave",H,Y);for(const P of ee)P.leaveGuards.forEach(I=>{Q.push($n(I,H,Y))});const T=R.bind(null,H,Y);return Q.push(T),Je(Q).then(()=>{Q=[];for(const P of i.list())Q.push($n(P,H,Y));return Q.push(T),Je(Q)}).then(()=>{Q=vl(ue,"beforeRouteUpdate",H,Y);for(const P of ue)P.updateGuards.forEach(I=>{Q.push($n(I,H,Y))});return Q.push(T),Je(Q)}).then(()=>{Q=[];for(const P of Ee)if(P.beforeEnter)if(Vt(P.beforeEnter))for(const I of P.beforeEnter)Q.push($n(I,H,Y));else Q.push($n(P.beforeEnter,H,Y));return Q.push(T),Je(Q)}).then(()=>(H.matched.forEach(P=>P.enterCallbacks={}),Q=vl(Ee,"beforeRouteEnter",H,Y,O),Q.push(T),Je(Q))).then(()=>{Q=[];for(const P of o.list())Q.push($n(P,H,Y));return Q.push(T),Je(Q)}).catch(P=>ln(P,8)?P:Promise.reject(P))}function D(H,Y,Q){l.list().forEach(ee=>O(()=>ee(H,Y,Q)))}function N(H,Y,Q,ee,ue){const Ee=p(H,Y);if(Ee)return Ee;const T=Y===On,P=ks?history.state:{};Q&&(ee||T?r.replace(H.fullPath,be({scroll:T&&P&&P.scroll},ue)):r.push(H.fullPath,ue)),a.value=H,We(H,Y,Q,T),xe()}let B;function X(){B||(B=r.listen((H,Y,Q)=>{if(!Xe.listening)return;const ee=_(H),ue=C(ee);if(ue){L(be(ue,{replace:!0}),ee).catch(kr);return}c=ee;const Ee=a.value;ks&&xE(mf(Ee.fullPath,Q.delta),Go()),A(ee,Ee).catch(T=>ln(T,12)?T:ln(T,2)?(L(T.to,ee).then(P=>{ln(P,20)&&!Q.delta&&Q.type===ir.pop&&r.go(-1,!1)}).catch(kr),Promise.reject()):(Q.delta&&r.go(-Q.delta,!1),G(T,ee,Ee))).then(T=>{T=T||N(ee,Ee,!1),T&&(Q.delta&&!ln(T,8)?r.go(-Q.delta,!1):Q.type===ir.pop&&ln(T,20)&&r.go(-1,!1)),D(ee,Ee,T)}).catch(kr)}))}let se=gr(),W=gr(),q;function G(H,Y,Q){xe(H);const ee=W.list();return ee.length?ee.forEach(ue=>ue(H,Y,Q)):console.error(H),Promise.reject(H)}function re(){return q&&a.value!==On?Promise.resolve():new Promise((H,Y)=>{se.add([H,Y])})}function xe(H){return q||(q=!H,X(),se.list().forEach(([Y,Q])=>H?Q(H):Y()),se.reset()),H}function We(H,Y,Q,ee){const{scrollBehavior:ue}=e;if(!ks||!ue)return Promise.resolve();const Ee=!Q&&kE(mf(H.fullPath,0))||(ee||!Q)&&history.state&&history.state.scroll||null;return gt().then(()=>ue(H,Y,Ee)).then(T=>T&&LE(T)).catch(T=>G(T,H,Y))}const Re=H=>r.go(H);let Ke;const Ce=new Set,Xe={currentRoute:a,listening:!0,addRoute:h,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:g,resolve:_,options:e,push:y,replace:E,go:Re,back:()=>Re(-1),forward:()=>Re(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:W.add,isReady:re,install(H){const Y=this;H.component("RouterLink",nT),H.component("RouterView",oT),H.config.globalProperties.$router=Y,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>Tt(a)}),ks&&!Ke&&a.value===On&&(Ke=!0,y(r.location).catch(ue=>{}));const Q={};for(const ue in On)Object.defineProperty(Q,ue,{get:()=>a.value[ue],enumerable:!0});H.provide(Qo,Y),H.provide(cc,Ra(Q)),H.provide(la,a);const ee=H.unmount;Ce.add(H),H.unmount=function(){Ce.delete(H),Ce.size<1&&(c=On,B&&B(),B=null,a.value=On,Ke=!1,q=!1),ee()}}};function Je(H){return H.reduce((Y,Q)=>Y.then(()=>O(Q)),Promise.resolve())}return Xe}function aT(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=>rr(c,l))?s.push(l):n.push(l));const a=e.matched[o];a&&(t.matched.find(c=>rr(c,a))||r.push(a))}return[n,s,r]}function qS(){return ft(Qo)}function GS(e){return ft(cc)}const cT=new Set(["title","titleTemplate","script","style","noscript"]),Fi=new Set(["base","meta","link","style","script","noscript"]),uT=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),fT=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),ym=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),dT=typeof window<"u";function po(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function aa(e){if(e._h)return e._h;if(e._d)return po(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return po(t)}function hT(e,t){return e instanceof Promise?e.then(t):t(e)}function ca(e,t,n,s){const r=s||vm(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(r instanceof Promise)return r.then(o=>ca(e,t,n,o));const i={tag:e,props:r};for(const o of ym){const l=i.props[o]!==void 0?i.props[o]:n[o];l!==void 0&&((!(o==="innerHTML"||o==="textContent"||o==="children")||cT.has(i.tag))&&(i[o==="children"?"innerHTML":o]=l),delete i.props[o])}return i.props.body&&(i.tagPosition="bodyClose",delete i.props.body),i.tag==="script"&&typeof i.innerHTML=="object"&&(i.innerHTML=JSON.stringify(i.innerHTML),i.props.type=i.props.type||"application/json"),Array.isArray(i.props.content)?i.props.content.map(o=>({...i,props:{...i.props,content:o}})):i}function pT(e,t){var s;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,i])=>e==="style"?`${r}:${i}`:r)),(s=String(Array.isArray(t)?t.join(n):t))==null?void 0:s.split(n).filter(r=>!!r.trim()).join(n)}function _m(e,t,n,s){for(let r=s;r<n.length;r+=1){const i=n[r];if(i==="class"||i==="style"){e[i]=pT(i,e[i]);continue}if(e[i]instanceof Promise)return e[i].then(o=>(e[i]=o,_m(e,t,n,r)));if(!t&&!ym.has(i)){const o=String(e[i]),l=i.startsWith("data-");o==="true"||o===""?e[i]=l?"true":!0:e[i]||(l&&o==="false"?e[i]="false":delete e[i])}}}function vm(e,t=!1){const n=_m(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const mT=10;function bm(e,t,n){for(let s=n;s<t.length;s+=1){const r=t[s];if(r instanceof Promise)return r.then(i=>(t[s]=i,bm(e,t,s)));Array.isArray(r)?e.push(...r):e.push(r)}}function gT(e){const t=[],n=e.resolvedInput;for(const r in n){if(!Object.prototype.hasOwnProperty.call(n,r))continue;const i=n[r];if(!(i===void 0||!uT.has(r))){if(Array.isArray(i)){for(const o of i)t.push(ca(r,o,e));continue}t.push(ca(r,i,e))}}if(t.length===0)return[];const s=[];return hT(bm(s,t,0),()=>s.map((r,i)=>(r._e=e._i,e.mode&&(r._m=e.mode),r._p=(e._i<<mT)+i,r)))}const Lf=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),xf={base:-10,title:10},kf={critical:-80,high:-10,low:20};function mo(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in xf&&(n=xf[e.tag]),t&&t in kf?n+kf[t]:n}const yT=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],_T=["name","property","http-equiv"];function wm(e){const{props:t,tag:n}=e;if(fT.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const s of _T)if(t[s]!==void 0)return`${n}:${s}:${t[s]}`;return!1}const Fn="%separator";function vT(e,t){var s;let n;if(t==="s"||t==="pageTitle")n=e.pageTitle;else if(t.includes(".")){const r=t.indexOf(".");n=(s=e[t.substring(0,r)])==null?void 0:s[t.substring(r+1)]}else n=e[t];return n!==void 0?(n||"").replace(/"/g,'\\"'):void 0}const bT=new RegExp(`${Fn}(?:\\s*${Fn})*`,"g");function Ri(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const r=s.match(/%\w+(?:\.\w+)?/g);if(!r)return e;const i=e.includes(Fn);return e=e.replace(/%\w+(?:\.\w+)?/g,o=>{if(o===Fn||!r.includes(o))return o;const l=vT(t,o.slice(1));return l!==void 0?l:o}).trim(),i&&(e.endsWith(Fn)&&(e=e.slice(0,-Fn.length)),e.startsWith(Fn)&&(e=e.slice(Fn.length)),e=e.replace(bT,n).trim()),e}function Nf(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function wT(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 u;const i=(await e.resolveTags()).map(d=>({tag:d,id:Fi.has(d.tag)?aa(d):d.tag,shouldRender:!0}));let o=e._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const d=new Set;for(const h of["body","head"]){const m=(u=n[h])==null?void 0:u.children;for(const g of m){const b=g.tagName.toLowerCase();if(!Fi.has(b))continue;const _={tag:b,props:await vm(g.getAttributeNames().reduce((E,C)=>({...E,[C]:g.getAttribute(C)}),{})),innerHTML:g.innerHTML},v=wm(_);let p=v,y=1;for(;p&&d.has(p);)p=`${v}:${y++}`;p&&(_._d=p,d.add(p)),o.elMap[g.getAttribute("data-hid")||aa(_)]=g}}}o.pendingSideEffects={...o.sideEffects},o.sideEffects={};function l(d,h,m){const g=`${d}:${h}`;o.sideEffects[g]=m,delete o.pendingSideEffects[g]}function a({id:d,$el:h,tag:m}){const g=m.tag.endsWith("Attrs");if(o.elMap[d]=h,g||(m.textContent&&m.textContent!==h.textContent&&(h.textContent=m.textContent),m.innerHTML&&m.innerHTML!==h.innerHTML&&(h.innerHTML=m.innerHTML),l(d,"el",()=>{var b;(b=o.elMap[d])==null||b.remove(),delete o.elMap[d]})),m._eventHandlers)for(const b in m._eventHandlers)Object.prototype.hasOwnProperty.call(m._eventHandlers,b)&&h.getAttribute(`data-${b}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:h).addEventListener(b.substring(2),m._eventHandlers[b].bind(h)),h.setAttribute(`data-${b}`,""));for(const b in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,b))continue;const _=m.props[b],v=`attr:${b}`;if(b==="class"){if(!_)continue;for(const p of _.split(" "))g&&l(d,`${v}:${p}`,()=>h.classList.remove(p)),!h.classList.contains(p)&&h.classList.add(p)}else if(b==="style"){if(!_)continue;for(const p of _.split(";")){const y=p.indexOf(":"),E=p.substring(0,y).trim(),C=p.substring(y+1).trim();l(d,`${v}:${E}`,()=>{h.style.removeProperty(E)}),h.style.setProperty(E,C)}}else h.getAttribute(b)!==_&&h.setAttribute(b,_===!0?"":String(_)),g&&l(d,v,()=>h.removeAttribute(b))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of i){const{tag:h,shouldRender:m,id:g}=d;if(m){if(h.tag==="title"){n.title=h.textContent;continue}d.$el=d.$el||o.elMap[g],d.$el?a(d):Fi.has(h.tag)&&c.push(d)}}for(const d of c){const h=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),a(d),f[h]=f[h]||n.createDocumentFragment(),f[h].appendChild(d.$el)}for(const d of i)await e.hooks.callHook("dom:renderTag",d,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const d in o.pendingSideEffects)o.pendingSideEffects[d]();e._dom=o,await e.hooks.callHook("dom:rendered",{renders:i}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function ET(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(s=>n(()=>wT(e,t).then(()=>{delete e._domDebouncedUpdatePromise,s()})))}function TT(e){return t=>{var s,r;const n=((r=(s=t.resolvedOptions.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":i=>{ET(i,e)}}}}}function ua(e,t={},n){for(const s in e){const r=e[s],i=n?`${n}:${s}`:s;typeof r=="object"&&r!==null?ua(r,t,i):typeof r=="function"&&(t[i]=r)}return t}const ST={run:e=>e()},CT=()=>ST,Em=typeof console.createTask<"u"?console.createTask:CT;function PT(e,t){const n=t.shift(),s=Em(n);return e.reduce((r,i)=>r.then(()=>s.run(()=>i(...t))),Promise.resolve())}function OT(e,t){const n=t.shift(),s=Em(n);return Promise.all(e.map(r=>s.run(()=>r(...t))))}function bl(e,t){for(const n of[...e])n(t)}class AT{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,s={}){if(!t||typeof n!="function")return()=>{};const r=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!s.allowDeprecated){let o=i.message;o||(o=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let s,r=(...i)=>(typeof s=="function"&&s(),s=void 0,r=void 0,n(...i));return s=this.hook(t,r),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];delete this._hooks[t];for(const r of s)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ua(t),s=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of s.splice(0,s.length))r()}}removeHooks(t){const n=ua(t);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(PT,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(OT,t,...n)}callHookWith(t,n,...s){const r=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&bl(this._before,r);const i=t(n in this._hooks?[...this._hooks[n]]:[],s);return i instanceof Promise?i.finally(()=>{this._after&&r&&bl(this._after,r)}):(this._after&&r&&bl(this._after,r),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function RT(){return new AT}const LT=new Set(["templateParams","htmlAttrs","bodyAttrs"]),xT={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=wm(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const s of e.tags){const r=(s.key?`${s.tag}:${s.key}`:s._d)||aa(s),i=t[r];if(i){let l=s==null?void 0:s.tagDuplicateStrategy;if(!l&&LT.has(s.tag)&&(l="merge"),l==="merge"){const a=i.props;a.style&&s.props.style&&(a.style[a.style.length-1]!==";"&&(a.style+=";"),s.props.style=`${a.style} ${s.props.style}`),a.class&&s.props.class?s.props.class=`${a.class} ${s.props.class}`:a.class&&(s.props.class=a.class),t[r].props={...a,...s.props};continue}else if(s._e===i._e){i._duped=i._duped||[],s._d=`${i._d}:${i._duped.length+1}`,i._duped.push(s);continue}else if(mo(s)>mo(i))continue}if(!(s.innerHTML||s.textContent||Object.keys(s.props).length!==0)&&Fi.has(s.tag)){delete t[r];continue}t[r]=s}const n=[];for(const s in t){const r=t[s],i=r._duped;n.push(r),i&&(delete r._duped,n.push(...i))}e.tags=n,e.tags=e.tags.filter(s=>!(s.tag==="meta"&&(s.props.name||s.props.property)&&!s.props.content))}}},kT=new Set(["script","link","bodyAttrs"]),NT=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!kT.has(n.tag))continue;const s=n.props;for(const r in s){if(r[0]!=="o"||r[1]!=="n"||!Object.prototype.hasOwnProperty.call(s,r))continue;const i=s[r];typeof i=="function"&&(e.ssr&&Lf.has(r)?s[r]=`this.dataset.${r}fired = true`:delete s[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=i)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||po(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var r,i;const s=t==null?void 0:t.dataset;if(s)for(const o in s){if(!o.endsWith("fired"))continue;const l=o.slice(0,-5);Lf.has(l)&&((i=(r=n._eventHandlers)==null?void 0:r[l])==null||i.call(t,new Event(l.substring(2))))}}}}),IT=new Set(["link","style","script","noscript"]),MT={hooks:{"tag:normalise":({tag:e})=>{e.key&&IT.has(e.tag)&&(e.props["data-hid"]=e._h=po(e.key))}}},DT={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const s of e.tags)s._m!=="server"||s.tag!=="titleTemplate"&&s.tag!=="templateParams"&&s.tag!=="title"||(t[s.tag]=s.tag==="title"||s.tag==="titleTemplate"?s.textContent:s.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},$T={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:s,offset:r}of yT){if(!n.tagPriority.startsWith(s))continue;const i=n.tagPriority.substring(s.length),o=(t=e.tags.find(l=>l._d===i))==null?void 0:t._p;if(o!==void 0){n._p=o+r;break}}e.tags.sort((n,s)=>{const r=mo(n),i=mo(s);return r<i?-1:r>i?1:n._p-s._p})}}},FT={meta:"content",link:"href",htmlAttrs:"lang"},HT=["innerHTML","textContent"],jT=e=>({hooks:{"tags:resolve":t=>{var o;const{tags:n}=t;let s;for(let l=0;l<n.length;l+=1)n[l].tag==="templateParams"&&(s=t.tags.splice(l,1)[0].props,l-=1);const r=s||{},i=r.separator||"|";delete r.separator,r.pageTitle=Ri(r.pageTitle||((o=n.find(l=>l.tag==="title"))==null?void 0:o.textContent)||"",r,i);for(const l of n){if(l.processTemplateParams===!1)continue;const a=FT[l.tag];if(a&&typeof l.props[a]=="string")l.props[a]=Ri(l.props[a],r,i);else if(l.processTemplateParams||l.tag==="titleTemplate"||l.tag==="title")for(const c of HT)typeof l[c]=="string"&&(l[c]=Ri(l[c],r,i))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tags:t})=>{let n;for(let s=0;s<t.length;s+=1){const r=t[s];r.tag==="title"&&r.processTemplateParams!==!1&&(n=r)}n!=null&&n.textContent&&(n.textContent=Ri(n.textContent,e._templateParams,e._separator))}}}),UT={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,s;for(let r=0;r<t.length;r+=1){const i=t[r];i.tag==="title"?n=i:i.tag==="titleTemplate"&&(s=i)}if(s&&n){const r=Nf(s.textContent,n.textContent);r!==null?n.textContent=r||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(s){const r=Nf(s.textContent);r!==null&&(s.textContent=r,s.tag="title",s=void 0)}s&&e.tags.splice(e.tags.indexOf(s),1)}}},VT={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let Tm;function BT(e={}){const t=WT(e);return t.use(TT()),Tm=t}function If(e,t){return!e||e==="server"&&t||e==="client"&&!t}function WT(e={}){const t=RT();t.addHooks(e.hooks||{}),e.document=e.document||(dT?document:void 0);const n=!e.document,s=()=>{l.dirty=!0,t.callHook("entries:updated",l)};let r=0,i=[];const o=[],l={plugins:o,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(a){const c=typeof a=="function"?a(l):a;(!c.key||!o.some(f=>f.key===c.key))&&(o.push(c),If(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const f={_i:r++,input:a,...c};return If(f.mode,n)&&(i.push(f),s()),{dispose(){i=i.filter(u=>u._i!==f._i),s()},patch(u){for(const d of i)d._i===f._i&&(d.input=f.input=u);s()}}},async resolveTags(){const a={tags:[],entries:[...i]};await t.callHook("entries:resolve",a);for(const c of a.entries){const f=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(f):f),c.resolvedInput)for(const u of await gT(c)){const d={tag:u,entry:c,resolvedOptions:l.resolvedOptions};await t.callHook("tag:normalise",d),a.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a),a.tags},ssr:n};return[xT,DT,NT,MT,$T,jT,UT,VT,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}function KT(){return Tm}const qT=Xa[0]==="3";function GT(e){return typeof e=="function"?e():Tt(e)}function go(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=GT(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>go(n));if(typeof t=="object"){const n={};for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)){if(s==="titleTemplate"||s[0]==="o"&&s[1]==="n"){n[s]=Tt(t[s]);continue}n[s]=go(t[s])}return n}return t}const QT={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=go(t.input)}}},Sm="usehead";function zT(e){return{install(n){qT&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Sm,e))}}.install}function YT(e={}){e.domDelayFn=e.domDelayFn||(n=>gt(()=>setTimeout(()=>n(),0)));const t=BT(e);return t.use(QT),t.install=zT(t),t}const Mf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Df="__unhead_injection_handler__";function XT(){if(Df in Mf)return Mf[Df]();const e=ft(Sm);return e||KT()}function JT(e,t={}){const n=t.head||XT();if(n)return n.ssr?n.push(e,t):ZT(n,e,t)}function ZT(e,t,n={}){const s=ie(!1),r=ie({});qa(()=>{r.value=s.value?{}:go(t)});const i=e.push(r.value,n);return Le(r,l=>{i.patch(l)}),Be()&&(ur(()=>{i.dispose()}),Fa(()=>{s.value=!0}),$a(()=>{s.value=!1})),i}function eS(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function tS(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}const nS=_t({setup(e,{slots:t}){const n=ie(!1);return Tn(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function sS(e,t,n,s={}){const{transformState:r,registerComponents:i=!0,useHead:o=!0,rootContainer:l="#app"}=s,a=typeof window<"u";async function c(f=!1,u){const d=f?Br(e):ec(e);let h;o&&(h=YT(),d.use(h));const m=lT({history:f?DE(t.base):$E(t.base),...t}),{routes:g}=t;i&&d.component("ClientOnly",nS);const b=[],p={app:d,head:h,isClient:a,router:m,routes:g,onSSRAppRendered:f?()=>{}:L=>b.push(L),triggerOnSSRAppRendered:()=>Promise.all(b.map(L=>L())),initialState:{},transformState:r,routePath:u};f&&(await tS(),p.initialState=(r==null?void 0:r(window.__INITIAL_STATE__||{}))||eS(window.__INITIAL_STATE__)),await(n==null?void 0:n(p)),d.use(m);let y,E=!0;if(m.beforeEach((L,R,O)=>{(E||y&&y===L.path)&&(E=!1,y=L.path,L.meta.state=p.initialState),O()}),!f){const L=p.routePath??"/";m.push(L),await m.isReady(),p.initialState=m.currentRoute.value.meta.state||{}}const C=p.initialState;return{...p,initialState:C}}return a&&(async()=>{const{app:f,router:u}=await c(!0);await u.isReady(),f.mount(l,!0)})(),c}const rS=[{path:"/",name:"/",component:()=>He(()=>import("./index-BnOiKE-V.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:()=>He(()=>import("./_...all_-DmfbP4Ao.js"),__vite__mapDeps([22,23,15,5,4,24,14,7,25,26,27,2,3,28,29,30,31,19,17,18,32,20]),import.meta.url),meta:{layout:"board-layout"}},{path:"/about",name:"/about",component:()=>He(()=>import("./about-tPNAra1j.js"),[],import.meta.url)},{path:"/balloon",children:[{path:"",name:"/balloon/",component:()=>He(()=>import("./index-Bvki346r.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:()=>He(()=>import("./board-D0VTebOf.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:()=>He(()=>import("./index-cu4LZbd6.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:()=>He(()=>import("./_name_-AmLA_ZW6.js"),__vite__mapDeps([37,38]),import.meta.url)}]},{path:"/rating",children:[{path:"",name:"/rating/",component:()=>He(()=>import("./index-XjAdtRAz.js"),__vite__mapDeps([39,16,7,2,3,4,20,40]),import.meta.url),meta:{layout:"index-layout"}},{path:":all(.*)",name:"/rating/[...all]",component:()=>He(()=>import("./_...all_-BSvAEkM-.js"),__vite__mapDeps([41,30,2,3,15,5,4,42]),import.meta.url)}]},{path:"/resolver",children:[{path:"",name:"/resolver/",component:()=>He(()=>import("./index-D5Eq7tNN.js"),__vite__mapDeps([43,27,2,3,7,15,5,4,24,14,28,34,31,19,20]),import.meta.url),meta:{layout:"headless"}}]},{path:"/test",name:"/test",component:()=>He(()=>import("./test-Bw2mUsPy.js"),__vite__mapDeps([44,31,19,38,20]),import.meta.url),meta:{layout:"home"}}];function wn(e){return Co()?(Sa(e),!0):!1}function wl(){const e=new Set,t=r=>{e.delete(r)};return{on:r=>{e.add(r);const i=()=>t(r);return wn(i),{off:i}},off:t,trigger:(...r)=>Promise.all(Array.from(e).map(i=>i(...r)))}}function Ie(e){return typeof e=="function"?e():Tt(e)}const lr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const iS=e=>typeof e<"u",Cm=e=>e!=null,oS=Object.prototype.toString,lS=e=>oS.call(e)==="[object Object]",Qn=()=>{};function Pm(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 Om=e=>e();function aS(...e){let t=0,n,s=!0,r=Qn,i,o,l,a,c;!_e(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=Qn)};return d=>{const h=Ie(o),m=Date.now()-t,g=()=>i=d();return f(),h<=0?(t=Date.now(),g()):(m>h&&(a||!s)?(t=Date.now(),g()):l&&(i=new Promise((b,_)=>{r=c?_:b,n=setTimeout(()=>{t=Date.now(),s=!0,b(g()),f()},Math.max(0,h-m))})),!a&&!n&&(n=setTimeout(()=>s=!0,h)),s=!1,i)}}function cS(e=Om){const t=ie(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:yn(t),pause:n,resume:s,eventFilter:r}}function $f(e,t=!1,n="Timeout"){return new Promise((s,r)=>{setTimeout(t?()=>r(n):s,e)})}function uS(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 fS(e,...t){return t.some(n=>n in e)}function Am(e){return Be()}function Nr(...e){if(e.length!==1)return Ld(...e);const t=e[0];return typeof t=="function"?yn(ka(()=>({get:t,set:Qn}))):ie(t)}function QS(e,t=200,n=!1,s=!0,r=!1){return Pm(aS(t,n,s,r),e)}function dS(e,t,n={}){const{eventFilter:s=Om,...r}=n;return Le(e,Pm(s,t),r)}function hS(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:i,pause:o,resume:l,isActive:a}=cS(s);return{stop:dS(e,t,{...r,eventFilter:i}),pause:o,resume:l,isActive:a}}function pS(e,t){Am()&&ur(e,t)}function Rm(e,t=!0,n){Am()?Tn(e,n):t?e():gt(e)}function fa(e,t=!1){function n(u,{flush:d="sync",deep:h=!1,timeout:m,throwOnTimeout:g}={}){let b=null;const v=[new Promise(p=>{b=Le(e,y=>{u(y)!==t&&(b?b():gt(()=>b==null?void 0:b()),p(y))},{flush:d,deep:h,immediate:!0})})];return m!=null&&v.push($f(m,g).then(()=>Ie(e)).finally(()=>b==null?void 0:b())),Promise.race(v)}function s(u,d){if(!_e(u))return n(y=>y===u,d);const{flush:h="sync",deep:m=!1,timeout:g,throwOnTimeout:b}=d??{};let _=null;const p=[new Promise(y=>{_=Le([e,u],([E,C])=>{t!==(E===C)&&(_?_():gt(()=>_==null?void 0:_()),y(E))},{flush:h,deep:m,immediate:!0})})];return g!=null&&p.push($f(g,b).then(()=>Ie(e)).finally(()=>(_==null||_(),Ie(e)))),Promise.race(p)}function r(u){return n(d=>!!d,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,d){return n(h=>{const m=Array.from(h);return m.includes(u)||m.includes(Ie(u))},d)}function c(u){return f(1,u)}function f(u=1,d){let h=-1;return n(()=>(h+=1,h>=u),d)}return Array.isArray(Ie(e))?{toMatch:n,toContains:a,changed:c,changedTimes:f,get not(){return fa(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:r,toBeNull:i,toBeNaN:l,toBeUndefined:o,changed:c,changedTimes:f,get not(){return fa(e,!t)}}}function mS(e){return fa(e)}function gS(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let i=null;const o=ie(!1);function l(){i&&(clearInterval(i),i=null)}function a(){o.value=!1,l()}function c(){const f=Ie(t);f<=0||(o.value=!0,r&&e(),l(),i=setInterval(e,f))}if(s&&lr&&c(),_e(t)||typeof t=="function"){const f=Le(t,()=>{o.value&&lr&&c()});wn(f)}return wn(a),{isActive:o,pause:a,resume:c}}function Lm(e,t,n={}){const{immediate:s=!0}=n,r=ie(!1);let i=null;function o(){i&&(clearTimeout(i),i=null)}function l(){r.value=!1,o()}function a(...c){o(),r.value=!0,i=setTimeout(()=>{r.value=!1,i=null,e(...c)},Ie(t))}return s&&(r.value=!0,lr&&a()),wn(l),{isPending:yn(r),start:a,stop:l}}function yS(e=!1,t={}){const{truthyValue:n=!0,falsyValue:s=!1}=t,r=_e(e),i=ie(e);function o(l){if(arguments.length)return i.value=l,i.value;{const a=Ie(n);return i.value=i.value===a?Ie(s):a,i.value}}return r?o:[i,o]}const yt=lr?window:void 0,xm=lr?window.document:void 0,km=lr?window.navigator:void 0;function Us(e){var t;const n=Ie(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Dt(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=yt):[t,n,s,r]=e,!t)return Qn;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(f=>f()),i.length=0},l=(f,u,d,h)=>(f.addEventListener(u,d,h),()=>f.removeEventListener(u,d,h)),a=Le(()=>[Us(t),Ie(r)],([f,u])=>{if(o(),!f)return;const d=lS(u)?{...u}:u;i.push(...n.flatMap(h=>s.map(m=>l(f,h,m,d))))},{immediate:!0,flush:"post"}),c=()=>{a(),o()};return wn(c),c}function _S(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function vS(...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=yt,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,a=_S(t);return Dt(r,i,f=>{f.repeat&&Ie(l)||a(f)&&n(f)},o)}function zS(e,t,n={}){return vS(e,t,{...n,eventName:"keyup"})}function bS(){const e=ie(!1),t=Be();return t&&Tn(()=>{e.value=!0},t),e}function ci(e){const t=bS();return me(()=>(t.value,!!e()))}function wS(e,t,n={}){const{window:s=yt,...r}=n;let i;const o=ci(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},a=me(()=>{const d=Ie(e),h=(Array.isArray(d)?d:[d]).map(Us).filter(Cm);return new Set(h)}),c=Le(()=>a.value,d=>{l(),o.value&&d.size&&(i=new MutationObserver(t),d.forEach(h=>i.observe(h,r)))},{immediate:!0,flush:"post"}),f=()=>i==null?void 0:i.takeRecords(),u=()=>{c(),l()};return wn(u),{isSupported:o,stop:u,takeRecords:f}}function ES(e,t={}){const{immediate:n=!0,fpsLimit:s=void 0,window:r=yt}=t,i=ie(!1),o=s?1e3/s:null;let l=0,a=null;function c(d){if(!i.value||!r)return;l||(l=d);const h=d-l;if(o&&h<o){a=r.requestAnimationFrame(c);return}l=d,e({delta:h,timestamp:d}),a=r.requestAnimationFrame(c)}function f(){!i.value&&r&&(i.value=!0,l=0,a=r.requestAnimationFrame(c))}function u(){i.value=!1,a!=null&&r&&(r.cancelAnimationFrame(a),a=null)}return n&&f(),wn(u),{isActive:yn(i),pause:u,resume:f}}function TS(e,t={}){const{window:n=yt}=t,s=ci(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=ie(!1),o=c=>{i.value=c.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},a=qa(()=>{s.value&&(l(),r=n.matchMedia(Ie(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),i.value=r.matches)});return wn(()=>{a(),l(),r=void 0}),i}function Ff(e,t={}){const{controls:n=!1,navigator:s=km}=t,r=ci(()=>s&&"permissions"in s),i=Jt(),o=typeof e=="string"?{name:e}:e,l=Jt(),a=()=>{var f,u;l.value=(u=(f=i.value)==null?void 0:f.state)!=null?u:"prompt"};Dt(i,"change",a);const c=uS(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 ae(i.value)}});return c(),n?{state:l,isSupported:r,query:c}:l}function YS(e={}){const{navigator:t=km,read:n=!1,source:s,copiedDuring:r=1500,legacy:i=!1}=e,o=ci(()=>t&&"clipboard"in t),l=Ff("clipboard-read"),a=Ff("clipboard-write"),c=me(()=>o.value||i),f=ie(""),u=ie(!1),d=Lm(()=>u.value=!1,r);function h(){o.value&&_(l.value)?t.clipboard.readText().then(v=>{f.value=v}):f.value=b()}c.value&&n&&Dt(["copy","cut"],h);async function m(v=Ie(s)){c.value&&v!=null&&(o.value&&_(a.value)?await t.clipboard.writeText(v):g(v),f.value=v,u.value=!0,d.start())}function g(v){const p=document.createElement("textarea");p.value=v??"",p.style.position="absolute",p.style.opacity="0",document.body.appendChild(p),p.select(),document.execCommand("copy"),p.remove()}function b(){var v,p,y;return(y=(p=(v=document==null?void 0:document.getSelection)==null?void 0:v.call(document))==null?void 0:p.toString())!=null?y:""}function _(v){return v==="granted"||v==="prompt"}return{isSupported:c,text:f,copied:u,copy:m}}function SS(e){return JSON.parse(JSON.stringify(e))}const Li=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xi="__vueuse_ssr_handlers__",CS=PS();function PS(){return xi in Li||(Li[xi]=Li[xi]||{}),Li[xi]}function Nm(e,t){return CS[e]||t}function uc(e){return TS("(prefers-color-scheme: dark)",e)}function OS(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 AS={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()}},Hf="vueuse-storage";function RS(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=yt,eventFilter:d,onError:h=A=>{console.error(A)},initOnMounted:m}=s,g=(f?Jt:ie)(typeof t=="function"?t():t);if(!n)try{n=Nm("getDefaultStorage",()=>{var A;return(A=yt)==null?void 0:A.localStorage})()}catch(A){h(A)}if(!n)return g;const b=Ie(t),_=OS(b),v=(r=s.serializer)!=null?r:AS[_],{pause:p,resume:y}=hS(g,()=>C(g.value),{flush:i,deep:o,eventFilter:d});u&&l&&Rm(()=>{n instanceof Storage?Dt(u,"storage",R):Dt(u,Hf,O),m&&R()}),m||R();function E(A,D){if(u){const N={key:e,oldValue:A,newValue:D,storageArea:n};u.dispatchEvent(n instanceof Storage?new StorageEvent("storage",N):new CustomEvent(Hf,{detail:N}))}}function C(A){try{const D=n.getItem(e);if(A==null)E(D,null),n.removeItem(e);else{const N=v.write(A);D!==N&&(n.setItem(e,N),E(D,N))}}catch(D){h(D)}}function L(A){const D=A?A.newValue:n.getItem(e);if(D==null)return a&&b!=null&&n.setItem(e,v.write(b)),b;if(!A&&c){const N=v.read(D);return typeof c=="function"?c(N,b):_==="object"&&!Array.isArray(N)?{...b,...N}:N}else return typeof D!="string"?D:v.read(D)}function R(A){if(!(A&&A.storageArea!==n)){if(A&&A.key==null){g.value=b;return}if(!(A&&A.key!==e)){p();try{(A==null?void 0:A.newValue)!==v.write(g.value)&&(g.value=L(A))}catch(D){h(D)}finally{A?gt(y):y()}}}}function O(A){R(A.detail)}return g}const LS="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function xS(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=yt,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||{}},d=uc({window:r}),h=me(()=>d.value?"dark":"light"),m=a||(o==null?Nr(s):RS(o,s,i,{window:r,listenToStorageChanges:l})),g=me(()=>m.value==="auto"?h.value:m.value),b=Nm("updateHTMLAttrs",(y,E,C)=>{const L=typeof y=="string"?r==null?void 0:r.document.querySelector(y):Us(y);if(!L)return;const R=new Set,O=new Set;let A=null;if(E==="class"){const N=C.split(/\s/g);Object.values(u).flatMap(B=>(B||"").split(/\s/g)).filter(Boolean).forEach(B=>{N.includes(B)?R.add(B):O.add(B)})}else A={key:E,value:C};if(R.size===0&&O.size===0&&A===null)return;let D;f&&(D=r.document.createElement("style"),D.appendChild(document.createTextNode(LS)),r.document.head.appendChild(D));for(const N of R)L.classList.add(N);for(const N of O)L.classList.remove(N);A&&L.setAttribute(A.key,A.value),f&&(r.getComputedStyle(D).opacity,document.head.removeChild(D))});function _(y){var E;b(t,n,(E=u[y])!=null?E:y)}function v(y){e.onChanged?e.onChanged(y,_):_(y)}Le(g,v,{flush:"post",immediate:!0}),Rm(()=>v(g.value));const p=me({get(){return c?m.value:g.value},set(y){m.value=y}});try{return Object.assign(p,{store:m,system:h,state:g})}catch{return p}}function kS(e={}){const{valueDark:t="dark",valueLight:n="",window:s=yt}=e,r=xS({...e,onChanged:(l,a)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,l==="dark",a,l):a(l)},modes:{dark:t,light:n}}),i=me(()=>r.system?r.system.value:uc({window:s}).value?"dark":"light");return me({get(){return r.value==="dark"},set(l){const a=l?"dark":"light";i.value===a?r.value="auto":r.value=a}})}function XS(e={}){const{document:t=xm}=e;if(!t)return ie("visible");const n=ie(t.visibilityState);return Dt(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function NS(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:i=0,window:o=yt,immediate:l=!0}=n,a=ci(()=>o&&"IntersectionObserver"in o),c=me(()=>{const m=Ie(e);return(Array.isArray(m)?m:[m]).map(Us).filter(Cm)});let f=Qn;const u=ie(l),d=a.value?Le(()=>[c.value,Us(s),u.value],([m,g])=>{if(f(),!u.value||!m.length)return;const b=new IntersectionObserver(t,{root:Us(g),rootMargin:r,threshold:i});m.forEach(_=>_&&b.observe(_)),f=()=>{b.disconnect(),f=Qn}},{immediate:l,flush:"post"}):Qn,h=()=>{f(),d(),u.value=!1};return wn(h),{isSupported:a,isActive:u,pause(){f(),u.value=!1},resume(){u.value=!0},stop:h}}function JS(e,t={}){const{window:n=yt,scrollTarget:s,threshold:r=0}=t,i=ie(!1);return NS(e,o=>{let l=i.value,a=0;for(const c of o)c.time>=a&&(a=c.time,l=c.isIntersecting);i.value=l},{root:s,window:n,threshold:r}),i}const IS={json:"application/json",text:"text/plain"};function jf(e){return e&&fS(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function El(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function ZS(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&&(jf(t[0])?i={...i,...t[0]}:r=t[0]),t.length>1&&jf(t[1])&&(i={...i,...t[1]});const{fetch:l=(n=yt)==null?void 0:n.fetch,initialData:a,timeout:c}=i,f=wl(),u=wl(),d=wl(),h=ie(!1),m=ie(!1),g=ie(!1),b=ie(null),_=Jt(null),v=Jt(null),p=Jt(a||null),y=me(()=>s&&m.value);let E,C;const L=()=>{s&&(E==null||E.abort(),E=new AbortController,E.signal.onabort=()=>g.value=!0,r={...r,signal:E.signal})},R=W=>{m.value=W,h.value=!W};c&&(C=Lm(L,c,{immediate:!1}));let O=0;const A=async(W=!1)=>{var q,G;L(),R(!0),v.value=null,b.value=null,g.value=!1,O+=1;const re=O,xe={method:o.method,headers:{}};if(o.payload){const Ce=El(xe.headers),Xe=Ie(o.payload);!o.payloadType&&Xe&&Object.getPrototypeOf(Xe)===Object.prototype&&!(Xe instanceof FormData)&&(o.payloadType="json"),o.payloadType&&(Ce["Content-Type"]=(q=IS[o.payloadType])!=null?q:o.payloadType),xe.body=o.payloadType==="json"?JSON.stringify(Xe):Xe}let We=!1;const Re={url:Ie(e),options:{...xe,...r},cancel:()=>{We=!0}};if(i.beforeFetch&&Object.assign(Re,await i.beforeFetch(Re)),We||!l)return R(!1),Promise.resolve(null);let Ke=null;return C&&C.start(),l(Re.url,{...xe,...Re.options,headers:{...El(xe.headers),...El((G=Re.options)==null?void 0:G.headers)}}).then(async Ce=>{if(_.value=Ce,b.value=Ce.status,Ke=await Ce.clone()[o.type](),!Ce.ok)throw p.value=a||null,new Error(Ce.statusText);return i.afterFetch&&({data:Ke}=await i.afterFetch({data:Ke,response:Ce})),p.value=Ke,f.trigger(Ce),Ce}).catch(async Ce=>{let Xe=Ce.message||Ce.name;if(i.onFetchError&&({error:Xe,data:Ke}=await i.onFetchError({data:Ke,error:Ce,response:_.value})),v.value=Xe,i.updateDataOnError&&(p.value=Ke),u.trigger(Ce),W)throw Ce;return null}).finally(()=>{re===O&&R(!1),C&&C.stop(),d.trigger(null)})},D=Nr(i.refetch);Le([D,Nr(e)],([W])=>W&&A(),{deep:!0});const N={isFinished:yn(h),isFetching:yn(m),statusCode:b,response:_,error:v,data:p,canAbort:y,aborted:g,abort:L,execute:A,onFetchResponse:f.on,onFetchError:u.on,onFetchFinally:d.on,get:B("GET"),put:B("PUT"),post:B("POST"),delete:B("DELETE"),patch:B("PATCH"),head:B("HEAD"),options:B("OPTIONS"),json:se("json"),text:se("text"),blob:se("blob"),arrayBuffer:se("arrayBuffer"),formData:se("formData")};function B(W){return(q,G)=>{if(!m.value)return o.method=W,o.payload=q,o.payloadType=G,_e(o.payload)&&Le([D,Nr(o.payload)],([re])=>re&&A(),{deep:!0}),{...N,then(re,xe){return X().then(re,xe)}}}}function X(){return new Promise((W,q)=>{mS(h).toBe(!0).then(()=>W(N)).catch(G=>q(G))})}function se(W){return()=>{if(!m.value)return o.type=W,{...N,then(q,G){return X().then(q,G)}}}}return i.immediate&&Promise.resolve().then(()=>A()),{...N,then(W,q){return X().then(W,q)}}}const MS={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function eC(e={}){const{reactive:t=!1,target:n=yt,aliasMap:s=MS,passive:r=!0,onEventFired:i=Qn}=e,o=Yn(new Set),l={toJSON(){return{}},current:o},a=t?Yn(l):l,c=new Set,f=new Set;function u(g,b){g in a&&(t?a[g]=b:a[g].value=b)}function d(){o.clear();for(const g of f)u(g,!1)}function h(g,b){var _,v;const p=(_=g.key)==null?void 0:_.toLowerCase(),E=[(v=g.code)==null?void 0:v.toLowerCase(),p].filter(Boolean);p&&(b?o.add(p):o.delete(p));for(const C of E)f.add(C),u(C,b);p==="meta"&&!b?(c.forEach(C=>{o.delete(C),u(C,!1)}),c.clear()):typeof g.getModifierState=="function"&&g.getModifierState("Meta")&&b&&[...o,...E].forEach(C=>c.add(C))}Dt(n,"keydown",g=>(h(g,!0),i(g)),{passive:r}),Dt(n,"keyup",g=>(h(g,!1),i(g)),{passive:r}),Dt("blur",d,{passive:!0}),Dt("focus",d,{passive:!0});const m=new Proxy(a,{get(g,b,_){if(typeof b!="string")return Reflect.get(g,b,_);if(b=b.toLowerCase(),b in s&&(b=s[b]),!(b in a))if(/[+_-]/.test(b)){const p=b.split(/[+_-]/g).map(y=>y.trim());a[b]=me(()=>p.every(y=>Ie(m[y])))}else a[b]=ie(!1);const v=Reflect.get(g,b,_);return t?Ie(v):v}});return m}function tC(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,s=ie(new Date),r=()=>s.value=new Date,i=n==="requestAnimationFrame"?ES(r,{immediate:!0}):gS(r,n,{immediate:!0});return t?{now:s,...i}:s}function nC(e=null,t={}){var n,s,r;const{document:i=xm,restoreOnUnmount:o=u=>u}=t,l=(n=i==null?void 0:i.title)!=null?n:"",a=Nr((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 d=t.titleTemplate||"%s";return typeof d=="function"?d(u):Ie(d).replace(/%s/g,u)}return Le(a,(u,d)=>{u!==d&&i&&(i.title=f(typeof u=="string"?u:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&i&&!c&&wS((r=i.head)==null?void 0:r.querySelector("title"),()=>{i&&i.title!==a.value&&(a.value=f(i.title))},{childList:!0}),pS(()=>{if(o){const u=o(l,a.value||"");u!=null&&i&&(i.title=u)}}),a}function sC(e,t,n,s={}){var r,i,o;const{clone:l=!1,passive:a=!1,eventName:c,deep:f=!1,defaultValue:u,shouldEmit:d}=s,h=Be(),m=(h==null?void 0:h.emit)||((r=h==null?void 0:h.$emit)==null?void 0:r.bind(h))||((o=(i=h==null?void 0:h.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(h==null?void 0:h.proxy));let g=c;t||(t="modelValue"),g=g||`update:${t.toString()}`;const b=p=>l?typeof l=="function"?l(p):SS(p):p,_=()=>iS(e[t])?b(e[t]):u,v=p=>{d?d(p)&&m(g,p):m(g,p)};if(a){const p=_(),y=ie(p);let E=!1;return Le(()=>e[t],C=>{E||(E=!0,y.value=b(C),gt(()=>E=!1))}),Le(y,C=>{!E&&(C!==e[t]||f)&&v(C)},{deep:f}),y}else return me({get(){return _()},set(p){v(p)}})}function rC(e={}){const{window:t=yt,behavior:n="auto"}=e;if(!t)return{x:ie(0),y:ie(0)};const s=ie(t.scrollX),r=ie(t.scrollY),i=me({get(){return s.value},set(l){scrollTo({left:l,behavior:n})}}),o=me({get(){return r.value},set(l){scrollTo({top:l,behavior:n})}});return Dt(t,"scroll",()=>{s.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}const Im=kS(),iC=yS(Im),DS=uc(),$S=_t({__name:"App",setup(e){return JT({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>Im.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>DS.value?"/favicon-dark.svg":"/favicon.svg"}]}),(t,n)=>{const s=_s("RouterView");return dt(),vn(s)}}});sS($S,{routes:lE(rS),base:"/"},e=>{Object.values(Object.assign({"./modules/i18n.ts":uw,"./modules/nprogress.ts":pw,"./modules/pinia.ts":Tw,"./modules/pwa.ts":Cw,"./modules/toast.ts":Lw})).forEach(t=>{var n;return(n=t.install)==null?void 0:n.call(t,e)}),e.app.use(oE),e.app.use(i0)});export{XS as $,nC as A,ZS as B,Le as C,ri as D,M_ as E,De as F,vn as G,qS as H,JT as I,Av as J,Wn as K,Ja as L,jr as M,RS as N,ep as O,gt as P,pp as Q,mp as R,Ow as S,wb as T,YS as U,Lb as V,Tn as W,gS as X,vS as Y,QS as Z,He as _,Te as a,qa as a0,eC as a1,Pw as a2,zS as a3,Uo as a4,Uw as a5,Iw as a6,jS as a7,Hu as a8,kt as a9,ai as aa,kw as ab,Nw as ac,Cp as ad,Kw as ae,Dw as af,ut as ag,rh as ah,ft as ai,Jw as aj,le as ak,Ra as al,WS as am,Sa as an,KS as ao,Rd as ap,wn as aq,ka as ar,Ie as as,fw as at,HS as au,Jh as av,Be as aw,sC as ax,Yt as b,er as c,_t as d,rC as e,GS as f,me as g,Tt as h,aw as i,za as j,Ea as k,hp as l,tC as m,ns as n,dt as o,ie as p,JS as q,_s as r,Fl as s,iC as t,nc as u,u_ as v,ys as w,io as x,Fo as y,_e as z};