@xcpcio/board-app 0.74.1 → 0.75.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/404.html +1 -1
- package/dist/assets/Balloon.vue_vue_type_script_setup_true_lang-D1FgknH-.js +1 -0
- package/dist/assets/{Board-CDmVknLp.js → Board-DjCZZlDZ.js} +12 -12
- package/dist/assets/{Board-BwblFaIo.css → Board-JvA5b1h4.css} +1 -1
- package/dist/assets/{ContestStateBadge-2-IqOHtS.js → ContestStateBadge-BcWWr0vn.js} +1 -1
- package/dist/assets/Countdown-CLZfeAst.css +1 -0
- package/dist/assets/Countdown-D_UUNiMj.js +1 -0
- package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-2RH0qEnY.js → DataSourceInput.vue_vue_type_script_setup_true_lang-WXUmTUzJ.js} +1 -1
- package/dist/assets/{NavBar-Cyd_3B6z.js → NavBar-Bh02f6cT.js} +1 -1
- package/dist/assets/{Resolver-WB6joHhI.css → Resolver-DV9FleNP.css} +1 -1
- package/dist/assets/{Resolver-CrD0lAgS.js → Resolver-oax2vTMR.js} +4 -4
- package/dist/assets/{RightArrowIcon-BCtV5NaN.js → RightArrowIcon-UwLTIJrW.js} +1 -1
- package/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-C4V5Kgtf.js +1 -0
- package/dist/assets/{Tooltip.vue_vue_type_script_setup_true_lang-BnfvXkQl.js → Tooltip.vue_vue_type_script_setup_true_lang-CqovKM2f.js} +1 -1
- package/dist/assets/{_...all_-CJ-wCFRG.js → _...all_-BXkOsr0e.js} +1 -1
- package/dist/assets/{_...all_-BAHZYr8d.js → _...all_-CgZvPdCs.js} +1 -1
- package/dist/assets/{board-layout-CeOh-ZCs.js → board-layout-BJ9XOEk7.js} +1 -1
- package/dist/assets/constant-DBo_2lNG.js +1 -0
- package/dist/assets/{dayjs-BTtDHzxO.js → dayjs-DHI77Sx3.js} +1 -1
- package/dist/assets/default-DXQxfsL1.js +1 -0
- package/dist/assets/{headless-B9z-UUTO.js → headless-CT9JmEUq.js} +1 -1
- package/dist/assets/{index-CUCowXSF.js → index-BPfG3xFX.js} +1 -1
- package/dist/assets/{index-_fMCJNi3.js → index-C6xFsYYS.js} +1 -1
- package/dist/assets/index-CHIQkSeX.js +1 -0
- package/dist/assets/{index-B1073arl.js → index-C_1CeIsX.js} +3 -3
- package/dist/assets/{index-BR1Jeymt.js → index-Cvxk8k_Q.js} +1 -1
- package/dist/assets/{index-C_1MUfam.js → index-DfhIQ1rz.js} +1 -1
- package/dist/assets/index-DoiqlG5Q.js +1 -0
- package/dist/assets/{index-layout-CWkCP9X6.js → index-layout-DYzYhlvo.js} +1 -1
- package/dist/assets/{pagination-D1x1HgQB.js → pagination-MGvyo3KY.js} +1 -1
- package/dist/assets/{person-BZPbTU5K.js → person-BwrHTBeO.js} +1 -1
- package/dist/assets/{rank-D-r3krAA.js → rank-XvBOaFgJ.js} +1 -1
- package/dist/assets/{use-vmodel-BtnCl86J.js → use-vmodel-Byn458t1.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/src/components/Balloon.vue +1 -2
- package/src/components/Countdown.vue +1 -1
- package/src/components/Resolver.vue +1 -2
- package/src/components/board/Board.vue +1 -1
- package/src/composables/useQueryBoardData.ts +12 -25
- package/src/shims.d.ts +1 -0
- package/dist/assets/Balloon.vue_vue_type_script_setup_true_lang-Ds4ljgE5.js +0 -1
- package/dist/assets/Countdown-BzEYBgj7.css +0 -1
- package/dist/assets/Countdown-behPk5oB.js +0 -1
- package/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-CMFAx4px.js +0 -1
- package/dist/assets/constant-DcnmUm-i.js +0 -1
- package/dist/assets/default-Cmhn5CHv.js +0 -1
- package/dist/assets/index-DOBgzkLx.js +0 -1
- package/dist/assets/index-DQeCOqY8.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.__toAssetUrl("assets/board-layout-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.__toAssetUrl("assets/board-layout-BJ9XOEk7.js"),window.__toAssetUrl("assets/NavBar-Bh02f6cT.js"),window.__toAssetUrl("assets/Tooltip.vue_vue_type_script_setup_true_lang-CqovKM2f.js"),window.__toAssetUrl("assets/Tooltip-DzyPDwbo.css"),window.__toAssetUrl("assets/constant-DBo_2lNG.js"),window.__toAssetUrl("assets/_plugin-vue_export-helper-DlAUqK2U.js"),window.__toAssetUrl("assets/NavBar-aT2xEvYz.css"),window.__toAssetUrl("assets/default-DXQxfsL1.js"),window.__toAssetUrl("assets/headless-CT9JmEUq.js"),window.__toAssetUrl("assets/index-layout-DYzYhlvo.js"),window.__toAssetUrl("assets/index-C6xFsYYS.js"),window.__toAssetUrl("assets/RightArrowIcon-UwLTIJrW.js"),window.__toAssetUrl("assets/ContestStateBadge-BcWWr0vn.js"),window.__toAssetUrl("assets/use-vmodel-Byn458t1.js"),window.__toAssetUrl("assets/dayjs-DHI77Sx3.js"),window.__toAssetUrl("assets/ContestStateBadge-D6uf8wH-.css"),window.__toAssetUrl("assets/route-block-B_A1xBdJ.js"),window.__toAssetUrl("assets/index-Bce8wPYb.css"),window.__toAssetUrl("assets/_...all_-CgZvPdCs.js"),window.__toAssetUrl("assets/Countdown-D_UUNiMj.js"),window.__toAssetUrl("assets/TheInput.vue_vue_type_script_setup_true_lang-C4V5Kgtf.js"),window.__toAssetUrl("assets/Countdown-CLZfeAst.css"),window.__toAssetUrl("assets/Balloon.vue_vue_type_script_setup_true_lang-D1FgknH-.js"),window.__toAssetUrl("assets/rank-XvBOaFgJ.js"),window.__toAssetUrl("assets/person-BwrHTBeO.js"),window.__toAssetUrl("assets/Resolver-oax2vTMR.js"),window.__toAssetUrl("assets/Resolver-DV9FleNP.css"),window.__toAssetUrl("assets/Board-DjCZZlDZ.js"),window.__toAssetUrl("assets/pagination-MGvyo3KY.js"),window.__toAssetUrl("assets/Board-JvA5b1h4.css"),window.__toAssetUrl("assets/index-BPfG3xFX.js"),window.__toAssetUrl("assets/DataSourceInput.vue_vue_type_script_setup_true_lang-WXUmTUzJ.js"),window.__toAssetUrl("assets/index-CHIQkSeX.js"),window.__toAssetUrl("assets/index-DfhIQ1rz.js"),window.__toAssetUrl("assets/index-Cvxk8k_Q.js"),window.__toAssetUrl("assets/index-D-msPqye.css"),window.__toAssetUrl("assets/_...all_-BXkOsr0e.js"),window.__toAssetUrl("assets/_..-5I0UWqRG.css"),window.__toAssetUrl("assets/index-DoiqlG5Q.js")])))=>i.map(i=>d[i]);
|
|
2
2
|
(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 Xy="modulepreload",Qy=function(e,t){return new URL(e,t).href},mf={},Rt=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.map(f=>Promise.resolve(f).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const o=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");r=c(n.map(u=>{if(u=Qy(u,s),u in mf)return;mf[u]=!0;const f=u.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(s)for(let p=o.length-1;p>=0;p--){const m=o[p];if(m.href===u&&(!f||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${h}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":Xy,f||(d.as="script"),d.crossOrigin="",d.href=u,l&&d.setAttribute("nonce",l),document.head.appendChild(d),f)return new Promise((p,m)=>{d.addEventListener("load",p),d.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return r.then(o=>{for(const a of o||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};/*!
|
|
3
3
|
* shared v11.1.12
|
|
4
4
|
* (c) 2025 kazuya kawaguchi
|
|
@@ -60,7 +60,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
60
60
|
* vue v3.5.22
|
|
61
61
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
62
62
|
* @license MIT
|
|
63
|
-
**/var nh;function oO(){return nh||(nh=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=sO,n=rO,s=iO;function r(l){var c=Object.create(null);if(l)for(var u in l)c[u]=l[u];return c.default=l,Object.freeze(c)}var i=r(n);const o=Object.create(null);function a(l,c){if(!s.isString(l))if(l.nodeType)l=l.innerHTML;else return s.NOOP;const u=s.genCacheKey(l,c),f=o[u];if(f)return f;if(l[0]==="#"){const m=document.querySelector(l);l=m?m.innerHTML:""}const h=s.extend({hoistStatic:!0,onError:void 0,onWarn:s.NOOP},c);!h.isCustomElement&&typeof customElements<"u"&&(h.isCustomElement=m=>!!customElements.get(m));const{code:d}=t.compile(l,h),p=new Function("Vue",d)(i);return p._rc=!0,o[u]=p}n.registerRuntimeCompiler(a),e.compile=a,Object.keys(n).forEach(function(l){l!=="default"&&!Object.prototype.hasOwnProperty.call(e,l)&&(e[l]=n[l])})})(Tl)),Tl}var sh;function aO(){return sh||(sh=1,bl.exports=oO()),bl.exports}var lO=To.exports,rh;function cO(){return rh||(rh=1,(function(e,t){(function(s,r){e.exports=r(aO())})(lO,n=>(()=>{var s={113:((I,S)=>{Object.defineProperty(S,"__esModule",{value:!0}),S.default=(P,x)=>{const R=P.__vccOpts||P;for(const[$,V]of x)R[$]=V;return R}}),594:(I=>{I.exports=n})},r={};function i(I){var S=r[I];if(S!==void 0)return S.exports;var P=r[I]={exports:{}};return s[I](P,P.exports,i),P.exports}i.d=(I,S)=>{for(var P in S)i.o(S,P)&&!i.o(I,P)&&Object.defineProperty(I,P,{enumerable:!0,get:S[P]})},i.o=(I,S)=>Object.prototype.hasOwnProperty.call(I,S),i.r=I=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(I,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(I,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{ToastComponent:()=>y,ToastPlugin:()=>O,ToastPositions:()=>d,default:()=>N,useToast:()=>T});var a=i(594);const l=["innerHTML"];function c(I,S,P,x,R,$){return(0,a.openBlock)(),(0,a.createBlock)(a.Transition,{"enter-active-class":I.transition.enter,"leave-active-class":I.transition.leave},{default:(0,a.withCtx)(()=>[(0,a.withDirectives)((0,a.createElementVNode)("div",{ref:"root",role:"alert",class:(0,a.normalizeClass)(["v-toast__item",[`v-toast__item--${I.type}`,`v-toast__item--${I.position}`]]),onMouseover:S[0]||(S[0]=V=>I.toggleTimer(!0)),onMouseleave:S[1]||(S[1]=V=>I.toggleTimer(!1)),onClick:S[2]||(S[2]=function(){return I.whenClicked&&I.whenClicked(...arguments)})},[S[3]||(S[3]=(0,a.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,a.createElementVNode)("p",{class:"v-toast__text",innerHTML:I.message},null,8,l)],34),[[a.vShow,I.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function u(I){typeof I.remove<"u"?I.remove():I.parentNode?.removeChild(I)}function f(I,S,P){let x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const R=(0,a.h)(I,S,x),$=document.createElement("div");return $.classList.add("v-toast--pending"),P.appendChild($),(0,a.render)(R,$),R.component}class h{constructor(S,P){this.startedAt=Date.now(),this.callback=S,this.delay=P,this.timer=setTimeout(S,P)}pause(){this.stop(),this.delay-=Date.now()-this.startedAt}resume(){this.stop(),this.startedAt=Date.now(),this.timer=setTimeout(this.callback,this.delay)}stop(){clearTimeout(this.timer)}}const d=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function p(I){return{all:I=I||new Map,on:function(S,P){var x=I.get(S);x?x.push(P):I.set(S,[P])},off:function(S,P){var x=I.get(S);x&&(P?x.splice(x.indexOf(P)>>>0,1):I.set(S,[]))},emit:function(S,P){var x=I.get(S);x&&x.slice().map(function(R){R(P)}),(x=I.get("*"))&&x.slice().map(function(R){R(S,P)})}}}const E=p(),g=(0,a.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:d.BOTTOM_RIGHT,validator(I){return Object.values(d).includes(I)}},duration:{type:Number,default:3e3},dismissible:{type:Boolean,default:!0},onDismiss:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},queue:Boolean,pauseOnHover:{type:Boolean,default:!0}},data(){return{isActive:!1,parentTop:null,parentBottom:null,isHovered:!1}},beforeMount(){this.setupContainer()},mounted(){this.showNotice(),E.on("toast-clear",this.dismiss)},methods:{setupContainer(){if(this.parentTop=document.querySelector(".v-toast.v-toast--top"),this.parentBottom=document.querySelector(".v-toast.v-toast--bottom"),this.parentTop&&this.parentBottom)return;this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="v-toast v-toast--top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="v-toast v-toast--bottom");const I=document.body;I.appendChild(this.parentTop),I.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 I=this.$refs.root;(0,a.render)(null,I),u(I)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const I=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),u(I),this.isActive=!0,this.duration&&(this.timer=new h(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(I){!this.pauseOnHover||!this.timer||(I?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case d.TOP:case d.TOP_RIGHT:case d.TOP_LEFT:return this.parentTop;case d.BOTTOM:case d.BOTTOM_RIGHT:case d.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case d.TOP:case d.TOP_RIGHT:case d.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case d.BOTTOM:case d.BOTTOM_RIGHT:case d.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){E.off("toast-clear",this.dismiss)}});var v=i(113);const y=(0,v.default)(g,[["render",c]]),T=function(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(S){let P=null;typeof S=="string"&&(P=S);const R=Object.assign({},{message:P},I,S);return{dismiss:f(y,R,document.body).ctx.dismiss}},clear(){E.emit("toast-clear")},success(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"success"},P))},error(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"error"},P))},info(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"info"},P))},warning(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"warning"},P))},default(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"default"},P))}}},O={install:function(I){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=T(S);I.config.globalProperties.$toast=P,I.provide("$toast",P)}},N=O;return o})())})(To)),To.exports}var uO=cO();const fO=Hg(uO),dO=({app:e})=>{e.use(fO,{position:"bottom-right"})},hO=Object.freeze(Object.defineProperty({__proto__:null,install:dO},Symbol.toStringTag,{value:"Module"}));var Qa=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(){}},pO={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},mO=class{#e=pO;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},gc=new mO;function gO(e){setTimeout(e,0)}var Ki=typeof window>"u"||"Deno"in globalThis;function Zt(){}function _O(e,t){return typeof e=="function"?e(t):e}function yO(e){return typeof e=="number"&&e>=0&&e!==1/0}function vO(e,t){return Math.max(e+(t||0)-Date.now(),0)}function _c(e,t){return typeof e=="function"?e(t):e}function EO(e,t){return typeof e=="function"?e(t):e}function ih(e,t){const{type:n="all",exact:s,fetchStatus:r,predicate:i,queryKey:o,stale:a}=e;if(o){if(s){if(t.queryHash!==tf(o,t.options))return!1}else if(!Oi(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||r&&r!==t.state.fetchStatus||i&&!i(t))}function oh(e,t){const{exact:n,status:s,predicate:r,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Ci(t.options.mutationKey)!==Ci(i))return!1}else if(!Oi(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function tf(e,t){return(t?.queryKeyHashFn||Ci)(e)}function Ci(e){return JSON.stringify(e,(t,n)=>yc(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function Oi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Oi(e[n],t[n])):!1}var bO=Object.prototype.hasOwnProperty;function W_(e,t){if(e===t)return e;const n=ah(e)&&ah(t);if(!n&&!(yc(e)&&yc(t)))return t;const r=(n?e:Object.keys(e)).length,i=n?t:Object.keys(t),o=i.length,a=n?new Array(o):{};let l=0;for(let c=0;c<o;c++){const u=n?c:i[c],f=e[u],h=t[u];if(f===h){a[u]=f,(n?c<r:bO.call(e,u))&&l++;continue}if(f===null||h===null||typeof f!="object"||typeof h!="object"){a[u]=h;continue}const d=W_(f,h);a[u]=d,d===f&&l++}return r===o&&l===r?e:a}function yI(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 ah(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function yc(e){if(!lh(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!lh(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function lh(e){return Object.prototype.toString.call(e)==="[object Object]"}function TO(e){return new Promise(t=>{gc.setTimeout(t,e)})}function SO(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?W_(e,t):t}function wO(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function CO(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var nf=Symbol();function G_(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===nf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function vI(e,t){return typeof e=="function"?e(...t):!!e}var OO=class extends Qa{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!Ki&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},K_=new OO;function NO(){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}var AO=gO;function PO(){let e=[],t=0,n=a=>{a()},s=a=>{a()},r=AO;const i=a=>{t?e.push(a):r(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&r(()=>{s(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{s=a},setScheduler:a=>{r=a}}}var wt=PO(),IO=class extends Qa{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!Ki&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},na=new IO;function RO(e){return Math.min(1e3*2**e,3e4)}function q_(e){return(e??"online")==="online"?na.isOnline():!0}var vc=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function X_(e){let t=!1,n=0,s;const r=NO(),i=()=>r.status!=="pending",o=m=>{if(!i()){const E=new vc(m);h(E),e.onCancel?.(E)}},a=()=>{t=!0},l=()=>{t=!1},c=()=>K_.isFocused()&&(e.networkMode==="always"||na.isOnline())&&e.canRun(),u=()=>q_(e.networkMode)&&e.canRun(),f=m=>{i()||(s?.(),r.resolve(m))},h=m=>{i()||(s?.(),r.reject(m))},d=()=>new Promise(m=>{s=E=>{(i()||c())&&m(E)},e.onPause?.()}).then(()=>{s=void 0,i()||e.onContinue?.()}),p=()=>{if(i())return;let m;const E=n===0?e.initialPromise:void 0;try{m=E??e.fn()}catch(g){m=Promise.reject(g)}Promise.resolve(m).then(f).catch(g=>{if(i())return;const v=e.retry??(Ki?0:3),_=e.retryDelay??RO,y=typeof _=="function"?_(n,g):_,T=v===!0||typeof v=="number"&&n<v||typeof v=="function"&&v(n,g);if(t||!T){h(g);return}n++,e.onFail?.(n,g),TO(y).then(()=>c()?void 0:d()).then(()=>{t?h(g):p()})})};return{promise:r,status:()=>r.status,cancel:o,continue:()=>(s?.(),r),cancelRetry:a,continueRetry:l,canStart:u,start:()=>(u()?p():d().then(p),r)}}var Q_=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),yO(this.gcTime)&&(this.#e=gc.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ki?1/0:300*1e3))}clearGcTimeout(){this.#e&&(gc.clearTimeout(this.#e),this.#e=void 0)}},LO=class extends Q_{#e;#t;#n;#r;#s;#o;#a;constructor(e){super(),this.#a=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#n=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=ch(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#s?.promise}setOptions(e){if(this.options={...this.#o,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=ch(this.options);t.data!==void 0&&(this.setData(t.data,{updatedAt:t.dataUpdatedAt,manual:!0}),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=SO(this.state.data,e,this.options);return this.#i({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#i({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#s?.promise;return this.#s?.cancel(e),t?t.then(Zt).catch(Zt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>EO(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===nf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>_c(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!vO(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#s?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#s?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#s&&(this.#a?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#i({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#s?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#s)return this.#s.continueRetry(),this.#s.promise}if(e&&this.setOptions(e),!this.options.queryFn){const a=this.observers.find(l=>l.options.queryFn);a&&this.setOptions(a.options)}const n=new AbortController,s=a=>{Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(this.#a=!0,n.signal)})},r=()=>{const a=G_(this.options,t),c=(()=>{const u={client:this.#r,queryKey:this.queryKey,meta:this.meta};return s(u),u})();return this.#a=!1,this.options.persister?this.options.persister(a,c,this):a(c)},o=(()=>{const a={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:r};return s(a),a})();this.options.behavior?.onFetch(o,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#i({type:"fetch",meta:o.fetchOptions?.meta}),this.#s=X_({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:a=>{a instanceof vc&&a.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(a,l)=>{this.#i({type:"failed",failureCount:a,error:l})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{const a=await this.#s.start();if(a===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(a),this.#n.config.onSuccess?.(a,this),this.#n.config.onSettled?.(a,this.state.error,this),a}catch(a){if(a instanceof vc){if(a.silent)return this.#s.promise;if(a.revert){if(this.state.data===void 0)throw a;return this.state.data}}throw this.#i({type:"error",error:a}),this.#n.config.onError?.(a,this),this.#n.config.onSettled?.(this.state.data,a,this),a}finally{this.scheduleGc()}}#i(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...MO(n.data,this.options),fetchMeta:e.meta??null};case"success":const s={...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?s:void 0,s;case"error":const r=e.error;return{...n,error:r,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),wt.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function MO(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:q_(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ch(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"}}function uh(e){return{onFetch:(t,n)=>{const s=t.options,r=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],o=t.state.data?.pageParams||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let u=!1;const f=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",()=>{u=!0}),t.signal)})},h=G_(t.options,t.fetchOptions),d=async(p,m,E)=>{if(u)return Promise.reject();if(m==null&&p.pages.length)return Promise.resolve(p);const v=(()=>{const O={client:t.client,queryKey:t.queryKey,pageParam:m,direction:E?"backward":"forward",meta:t.options.meta};return f(O),O})(),_=await h(v),{maxPages:y}=t.options,T=E?CO:wO;return{pages:T(p.pages,_,y),pageParams:T(p.pageParams,m,y)}};if(r&&i.length){const p=r==="backward",m=p?xO:fh,E={pages:i,pageParams:o},g=m(s,E);a=await d(E,g,p)}else{const p=e??i.length;do{const m=l===0?o[0]??s.initialPageParam:fh(s,a);if(l>0&&m==null)break;a=await d(a,m),l++}while(l<p)}return a};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=c}}}function fh(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 xO(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var DO=class extends Q_{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||kO(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#s({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=X_({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(i,o)=>{this.#s({type:"failed",failureCount:i,error:o})},onPause:()=>{this.#s({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const s=this.state.status==="pending",r=!this.#r.canStart();try{if(s)t();else{this.#s({type:"pending",variables:e,isPaused:r}),await this.#n.config.onMutate?.(e,this,n);const o=await this.options.onMutate?.(e,n);o!==this.state.context&&this.#s({type:"pending",context:o,variables:e,isPaused:r})}const i=await this.#r.start();return await this.#n.config.onSuccess?.(i,e,this.state.context,this,n),await this.options.onSuccess?.(i,e,this.state.context,n),await this.#n.config.onSettled?.(i,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(i,null,e,this.state.context,n),this.#s({type:"success",data:i}),i}catch(i){try{throw await this.#n.config.onError?.(i,e,this.state.context,this,n),await this.options.onError?.(i,e,this.state.context,n),await this.#n.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,i,e,this.state.context,n),i}finally{this.#s({type:"error",error:i})}}finally{this.#n.runNext(this)}}#s(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),wt.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function kO(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Y_=class extends Qa{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,n,s){const r=new DO({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(n),state:s});return this.add(r),r}add(t){this.#e.add(t);const n=uo(t);if(typeof n=="string"){const s=this.#t.get(n);s?s.push(t):this.#t.set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const n=uo(t);if(typeof n=="string"){const s=this.#t.get(n);if(s)if(s.length>1){const r=s.indexOf(t);r!==-1&&s.splice(r,1)}else s[0]===t&&this.#t.delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=uo(t);if(typeof n=="string"){const r=this.#t.get(n)?.find(i=>i.state.status==="pending");return!r||r===t}else return!0}runNext(t){const n=uo(t);return typeof n=="string"?this.#t.get(n)?.find(r=>r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){wt.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const n={exact:!0,...t};return this.getAll().find(s=>oh(n,s))}findAll(t={}){return this.getAll().filter(n=>oh(t,n))}notify(t){wt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return wt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Zt))))}};function uo(e){return e.options.scope?.id}var z_=class extends Qa{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,n,s){const r=n.queryKey,i=n.queryHash??tf(r,n);let o=this.get(i);return o||(o=new LO({client:t,queryKey:r,queryHash:i,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(o)),o}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=this.#e.get(t.queryHash);n&&(t.destroy(),n===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){wt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>ih(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>ih(t,s)):n}notify(t){wt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){wt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){wt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},FO=class{#e;#t;#n;#r;#s;#o;#a;#i;constructor(t={}){this.#e=t.queryCache||new z_,this.#t=t.mutationCache||new Y_,this.#n=t.defaultOptions||{},this.#r=new Map,this.#s=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#a=K_.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=na.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#a?.(),this.#a=void 0,this.#i?.(),this.#i=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const n=this.defaultQueryOptions({queryKey:t});return this.#e.get(n.queryHash)?.state.data}ensureQueryData(t){const n=this.defaultQueryOptions(t),s=this.#e.build(this,n),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(_c(n.staleTime,s))&&this.prefetchQuery(n),Promise.resolve(r))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:n,state:s})=>{const r=s.data;return[n,r]})}setQueryData(t,n,s){const r=this.defaultQueryOptions({queryKey:t}),o=this.#e.get(r.queryHash)?.state.data,a=_O(n,o);if(a!==void 0)return this.#e.build(this,r).setData(a,{...s,manual:!0})}setQueriesData(t,n,s){return wt.batch(()=>this.#e.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,n,s)]))}getQueryState(t){const n=this.defaultQueryOptions({queryKey:t});return this.#e.get(n.queryHash)?.state}removeQueries(t){const n=this.#e;wt.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=this.#e;return wt.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const s={revert:!0,...n},r=wt.batch(()=>this.#e.findAll(t).map(i=>i.cancel(s)));return Promise.all(r).then(Zt).catch(Zt)}invalidateQueries(t,n={}){return wt.batch(()=>(this.#e.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},n)))}refetchQueries(t,n={}){const s={...n,cancelRefetch:n.cancelRefetch??!0},r=wt.batch(()=>this.#e.findAll(t).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,s);return s.throwOnError||(o=o.catch(Zt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Zt)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const s=this.#e.build(this,n);return s.isStaleByTime(_c(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Zt).catch(Zt)}fetchInfiniteQuery(t){return t.behavior=uh(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Zt).catch(Zt)}ensureInfiniteQueryData(t){return t.behavior=uh(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return na.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,n){this.#r.set(Ci(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...this.#r.values()],s={};return n.forEach(r=>{Oi(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,n){this.#s.set(Ci(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...this.#s.values()],s={};return n.forEach(r=>{Oi(t,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const n={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=tf(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===nf&&(n.enabled=!1),n}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},$O="VUE_QUERY_CLIENT";function VO(e){const t=e?`:${e}`:"";return`${$O}${t}`}function SI(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function Ec(e,t,n="",s=0){if(t){const r=t(e,n,s);if(r===void 0&&Re(e)||r!==void 0)return r}if(Array.isArray(e))return e.map((r,i)=>Ec(r,t,String(i),s+1));if(typeof e=="object"&&UO(e)){const r=Object.entries(e).map(([i,o])=>[i,Ec(o,t,i,s+1)]);return Object.fromEntries(r)}return e}function HO(e,t){return Ec(e,t)}function ce(e,t=!1){return HO(e,(n,s,r)=>{if(r===1&&s==="queryKey")return ce(n,!0);if(t&&BO(n))return ce(n(),t);if(Re(n))return ce(rn(n),t)})}function UO(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function BO(e){return typeof e=="function"}var jO=class extends z_{find(e){return super.find(ce(e))}findAll(e={}){return super.findAll(ce(e))}},WO=class extends Y_{find(e){return super.find(ce(e))}findAll(e={}){return super.findAll(ce(e))}},GO=class extends FO{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new jO,mutationCache:e.mutationCache||new WO};super(t),this.isRestoring=it(!1)}isFetching(e={}){return super.isFetching(ce(e))}isMutating(e={}){return super.isMutating(ce(e))}getQueryData(e){return super.getQueryData(ce(e))}ensureQueryData(e){return super.ensureQueryData(ce(e))}getQueriesData(e){return super.getQueriesData(ce(e))}setQueryData(e,t,n={}){return super.setQueryData(ce(e),t,ce(n))}setQueriesData(e,t,n={}){return super.setQueriesData(ce(e),t,ce(n))}getQueryState(e){return super.getQueryState(ce(e))}removeQueries(e={}){return super.removeQueries(ce(e))}resetQueries(e={},t={}){return super.resetQueries(ce(e),ce(t))}cancelQueries(e={},t={}){return super.cancelQueries(ce(e),ce(t))}invalidateQueries(e={},t={}){const n=ce(e),s=ce(t);if(super.invalidateQueries({...n,refetchType:"none"},s),n.refetchType==="none")return Promise.resolve();const r={...n,type:n.refetchType??n.type??"active"};return Yt().then(()=>super.refetchQueries(r,s))}refetchQueries(e={},t={}){return super.refetchQueries(ce(e),ce(t))}fetchQuery(e){return super.fetchQuery(ce(e))}prefetchQuery(e){return super.prefetchQuery(ce(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(ce(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(ce(e))}setDefaultOptions(e){super.setDefaultOptions(ce(e))}setQueryDefaults(e,t){super.setQueryDefaults(ce(e),ce(t))}getQueryDefaults(e){return super.getQueryDefaults(ce(e))}setMutationDefaults(e,t){super.setMutationDefaults(ce(e),ce(t))}getMutationDefaults(e){return super.getMutationDefaults(ce(e))}},KO={install:(e,t={})=>{const n=VO(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 GO(o)}Ki||s.mount();let r=()=>{};if(t.clientPersister){s.isRestoring&&(s.isRestoring.value=!0);const[o,a]=t.clientPersister(s);r=o,a.then(()=>{s.isRestoring&&(s.isRestoring.value=!1),t.clientPersisterOnSuccess?.(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 qO=["top","right","bottom","left"],dh=["start","end"],hh=qO.reduce((e,t)=>e.concat(t,t+"-"+dh[0],t+"-"+dh[1]),[]),Ni=Math.min,Is=Math.max,XO={left:"right",right:"left",bottom:"top",top:"bottom"},QO={start:"end",end:"start"};function bc(e,t,n){return Is(e,Ni(t,n))}function tr(e,t){return typeof e=="function"?e(t):e}function Sn(e){return e.split("-")[0]}function on(e){return e.split("-")[1]}function J_(e){return e==="x"?"y":"x"}function sf(e){return e==="y"?"height":"width"}function zs(e){return["top","bottom"].includes(Sn(e))?"y":"x"}function rf(e){return J_(zs(e))}function Z_(e,t,n){n===void 0&&(n=!1);const s=on(e),r=rf(e),i=sf(r);let o=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=ra(o)),[o,ra(o)]}function YO(e){const t=ra(e);return[sa(e),t,sa(t)]}function sa(e){return e.replace(/start|end/g,t=>QO[t])}function zO(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 JO(e,t,n,s){const r=on(e);let i=zO(Sn(e),n==="start",s);return r&&(i=i.map(o=>o+"-"+r),t&&(i=i.concat(i.map(sa)))),i}function ra(e){return e.replace(/left|right|bottom|top/g,t=>XO[t])}function ZO(e){return{top:0,right:0,bottom:0,left:0,...e}}function ey(e){return typeof e!="number"?ZO(e):{top:e,right:e,bottom:e,left:e}}function zr(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 ph(e,t,n){let{reference:s,floating:r}=e;const i=zs(t),o=rf(t),a=sf(o),l=Sn(t),c=i==="y",u=s.x+s.width/2-r.width/2,f=s.y+s.height/2-r.height/2,h=s[a]/2-r[a]/2;let d;switch(l){case"top":d={x:u,y:s.y-r.height};break;case"bottom":d={x:u,y:s.y+s.height};break;case"right":d={x:s.x+s.width,y:f};break;case"left":d={x:s.x-r.width,y:f};break;default:d={x:s.x,y:s.y}}switch(on(t)){case"start":d[o]-=h*(n&&c?-1:1);break;case"end":d[o]+=h*(n&&c?-1:1);break}return d}const eN=async(e,t,n)=>{const{placement:s="bottom",strategy:r="absolute",middleware:i=[],platform:o}=n,a=i.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:f}=ph(c,s,l),h=s,d={},p=0;for(let m=0;m<a.length;m++){const{name:E,fn:g}=a[m],{x:v,y:_,data:y,reset:T}=await g({x:u,y:f,initialPlacement:s,placement:h,strategy:r,middlewareData:d,rects:c,platform:o,elements:{reference:e,floating:t}});u=v??u,f=_??f,d={...d,[E]:{...d[E],...y}},T&&p<=50&&(p++,typeof T=="object"&&(T.placement&&(h=T.placement),T.rects&&(c=T.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:r}):T.rects),{x:u,y:f}=ph(c,h,l)),m=-1)}return{x:u,y:f,placement:h,strategy:r,middlewareData:d}};async function Ya(e,t){var n;t===void 0&&(t={});const{x:s,y:r,platform:i,rects:o,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=tr(t,e),p=ey(d),E=a[h?f==="floating"?"reference":"floating":f],g=zr(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(E)))==null||n?E:E.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),v=f==="floating"?{x:s,y:r,width:o.floating.width,height:o.floating.height}:o.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),y=await(i.isElement==null?void 0:i.isElement(_))?await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1}:{x:1,y:1},T=zr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:_,strategy:l}):v);return{top:(g.top-T.top+p.top)/y.y,bottom:(T.bottom-g.bottom+p.bottom)/y.y,left:(g.left-T.left+p.left)/y.x,right:(T.right-g.right+p.right)/y.x}}const tN=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:r,rects:i,platform:o,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=tr(e,t)||{};if(c==null)return{};const f=ey(u),h={x:n,y:s},d=rf(r),p=sf(d),m=await o.getDimensions(c),E=d==="y",g=E?"top":"left",v=E?"bottom":"right",_=E?"clientHeight":"clientWidth",y=i.reference[p]+i.reference[d]-h[d]-i.floating[p],T=h[d]-i.reference[d],O=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let N=O?O[_]:0;(!N||!await(o.isElement==null?void 0:o.isElement(O)))&&(N=a.floating[_]||i.floating[p]);const I=y/2-T/2,S=N/2-m[p]/2-1,P=Ni(f[g],S),x=Ni(f[v],S),R=P,$=N-m[p]-x,V=N/2-m[p]/2+I,G=bc(R,V,$),j=!l.arrow&&on(r)!=null&&V!==G&&i.reference[p]/2-(V<R?P:x)-m[p]/2<0,X=j?V<R?V-R:V-$:0;return{[d]:h[d]+X,data:{[d]:G,centerOffset:V-G-X,...j&&{alignmentOffset:X}},reset:j}}});function nN(e,t,n){return(e?[...n.filter(r=>on(r)===e),...n.filter(r=>on(r)!==e)]:n.filter(r=>Sn(r)===r)).filter(r=>e?on(r)===e||(t?sa(r)!==r:!1):!0)}const sN=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,s,r;const{rects:i,middlewareData:o,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:h=hh,autoAlignment:d=!0,...p}=tr(e,t),m=f!==void 0||h===hh?nN(f||null,d,h):h,E=await Ya(t,p),g=((n=o.autoPlacement)==null?void 0:n.index)||0,v=m[g];if(v==null)return{};const _=Z_(v,i,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:m[0]}};const y=[E[Sn(v)],E[_[0]],E[_[1]]],T=[...((s=o.autoPlacement)==null?void 0:s.overflows)||[],{placement:v,overflows:y}],O=m[g+1];if(O)return{data:{index:g+1,overflows:T},reset:{placement:O}};const N=T.map(P=>{const x=on(P.placement);return[P.placement,x&&u?P.overflows.slice(0,2).reduce((R,$)=>R+$,0):P.overflows[0],P.overflows]}).sort((P,x)=>P[1]-x[1]),S=((r=N.filter(P=>P[2].slice(0,on(P[0])?2:3).every(x=>x<=0))[0])==null?void 0:r[0])||N[0][0];return S!==a?{data:{index:g+1,overflows:T},reset:{placement:S}}:{}}}},rN=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:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...E}=tr(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=Sn(r),v=zs(a),_=Sn(a)===a,y=await(l.isRTL==null?void 0:l.isRTL(c.floating)),T=h||(_||!m?[ra(a)]:YO(a)),O=p!=="none";!h&&O&&T.push(...JO(a,m,p,y));const N=[a,...T],I=await Ya(t,E),S=[];let P=((s=i.flip)==null?void 0:s.overflows)||[];if(u&&S.push(I[g]),f){const V=Z_(r,o,y);S.push(I[V[0]],I[V[1]])}if(P=[...P,{placement:r,overflows:S}],!S.every(V=>V<=0)){var x,R;const V=(((x=i.flip)==null?void 0:x.index)||0)+1,G=N[V];if(G)return{data:{index:V,overflows:P},reset:{placement:G}};let j=(R=P.filter(X=>X.overflows[0]<=0).sort((X,K)=>X.overflows[1]-K.overflows[1])[0])==null?void 0:R.placement;if(!j)switch(d){case"bestFit":{var $;const X=($=P.filter(K=>{if(O){const ee=zs(K.placement);return ee===v||ee==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(ee=>ee>0).reduce((ee,we)=>ee+we,0)]).sort((K,ee)=>K[1]-ee[1])[0])==null?void 0:$[0];X&&(j=X);break}case"initialPlacement":j=a;break}if(r!==j)return{reset:{placement:j}}}return{}}}};async function iN(e,t){const{placement:n,platform:s,elements:r}=e,i=await(s.isRTL==null?void 0:s.isRTL(r.floating)),o=Sn(n),a=on(n),l=zs(n)==="y",c=["left","top"].includes(o)?-1:1,u=i&&l?-1:1,f=tr(t,e);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof p=="number"&&(d=a==="end"?p*-1:p),l?{x:d*u,y:h*c}:{x:h*c,y:d*u}}const oN=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:a}=t,l=await iN(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(s=a.arrow)!=null&&s.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:o}}}}},aN=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:a={fn:E=>{let{x:g,y:v}=E;return{x:g,y:v}}},...l}=tr(e,t),c={x:n,y:s},u=await Ya(t,l),f=zs(Sn(r)),h=J_(f);let d=c[h],p=c[f];if(i){const E=h==="y"?"top":"left",g=h==="y"?"bottom":"right",v=d+u[E],_=d-u[g];d=bc(v,d,_)}if(o){const E=f==="y"?"top":"left",g=f==="y"?"bottom":"right",v=p+u[E],_=p-u[g];p=bc(v,p,_)}const m=a.fn({...t,[h]:d,[f]:p});return{...m,data:{x:m.x-n,y:m.y-s,enabled:{[h]:i,[f]:o}}}}}},lN=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:a}=t,{apply:l=()=>{},...c}=tr(e,t),u=await Ya(t,c),f=Sn(r),h=on(r),d=zs(r)==="y",{width:p,height:m}=i.floating;let E,g;f==="top"||f==="bottom"?(E=f,g=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(g=f,E=h==="end"?"top":"bottom");const v=m-u.top-u.bottom,_=p-u.left-u.right,y=Ni(m-u[E],v),T=Ni(p-u[g],_),O=!t.middlewareData.shift;let N=y,I=T;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(I=_),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(N=v),O&&!h){const P=Is(u.left,0),x=Is(u.right,0),R=Is(u.top,0),$=Is(u.bottom,0);d?I=p-2*(P!==0||x!==0?P+x:Is(u.left,u.right)):N=m-2*(R!==0||$!==0?R+$:Is(u.top,u.bottom))}await l({...t,availableWidth:I,availableHeight:N});const S=await o.getDimensions(a.floating);return p!==S.width||m!==S.height?{reset:{rects:!0}}:{}}}};function Kt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function En(e){return Kt(e).getComputedStyle(e)}const mh=Math.min,Jr=Math.max,ia=Math.round;function ty(e){const t=En(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,i=e.offsetHeight,o=ia(n)!==r||ia(s)!==i;return o&&(n=r,s=i),{width:n,height:s,fallback:o}}function vs(e){return sy(e)?(e.nodeName||"").toLowerCase():""}let fo;function ny(){if(fo)return fo;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(fo=e.brands.map((t=>t.brand+"/"+t.version)).join(" "),fo):navigator.userAgent}function bn(e){return e instanceof Kt(e).HTMLElement}function ms(e){return e instanceof Kt(e).Element}function sy(e){return e instanceof Kt(e).Node}function gh(e){return typeof ShadowRoot>"u"?!1:e instanceof Kt(e).ShadowRoot||e instanceof ShadowRoot}function za(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=En(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function cN(e){return["table","td","th"].includes(vs(e))}function Tc(e){const t=/firefox/i.test(ny()),n=En(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 ry(){return!/^((?!chrome|android).)*safari/i.test(ny())}function of(e){return["html","body","#document"].includes(vs(e))}function iy(e){return ms(e)?e:e.contextElement}const oy={x:1,y:1};function pr(e){const t=iy(e);if(!bn(t))return oy;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:i}=ty(t);let o=(i?ia(n.width):n.width)/s,a=(i?ia(n.height):n.height)/r;return o&&Number.isFinite(o)||(o=1),a&&Number.isFinite(a)||(a=1),{x:o,y:a}}function Ai(e,t,n,s){var r,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=iy(e);let l=oy;t&&(s?ms(s)&&(l=pr(s)):l=pr(e));const c=a?Kt(a):window,u=!ry()&&n;let f=(o.left+(u&&((r=c.visualViewport)==null?void 0:r.offsetLeft)||0))/l.x,h=(o.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/l.y,d=o.width/l.x,p=o.height/l.y;if(a){const m=Kt(a),E=s&&ms(s)?Kt(s):s;let g=m.frameElement;for(;g&&s&&E!==m;){const v=pr(g),_=g.getBoundingClientRect(),y=getComputedStyle(g);_.x+=(g.clientLeft+parseFloat(y.paddingLeft))*v.x,_.y+=(g.clientTop+parseFloat(y.paddingTop))*v.y,f*=v.x,h*=v.y,d*=v.x,p*=v.y,f+=_.x,h+=_.y,g=Kt(g).frameElement}}return{width:d,height:p,top:h,right:f+d,bottom:h+p,left:f,x:f,y:h}}function gs(e){return((sy(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ja(e){return ms(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ay(e){return Ai(gs(e)).left+Ja(e).scrollLeft}function Pi(e){if(vs(e)==="html")return e;const t=e.assignedSlot||e.parentNode||gh(e)&&e.host||gs(e);return gh(t)?t.host:t}function ly(e){const t=Pi(e);return of(t)?t.ownerDocument.body:bn(t)&&za(t)?t:ly(t)}function oa(e,t){var n;t===void 0&&(t=[]);const s=ly(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),i=Kt(s);return r?t.concat(i,i.visualViewport||[],za(s)?s:[]):t.concat(s,oa(s))}function _h(e,t,n){return t==="viewport"?zr((function(s,r){const i=Kt(s),o=gs(s),a=i.visualViewport;let l=o.clientWidth,c=o.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const h=ry();(h||!h&&r==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}})(e,n)):ms(t)?zr((function(s,r){const i=Ai(s,!0,r==="fixed"),o=i.top+s.clientTop,a=i.left+s.clientLeft,l=bn(s)?pr(s):{x:1,y:1};return{width:s.clientWidth*l.x,height:s.clientHeight*l.y,x:a*l.x,y:o*l.y}})(t,n)):zr((function(s){const r=gs(s),i=Ja(s),o=s.ownerDocument.body,a=Jr(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),l=Jr(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let c=-i.scrollLeft+ay(s);const u=-i.scrollTop;return En(o).direction==="rtl"&&(c+=Jr(r.clientWidth,o.clientWidth)-a),{width:a,height:l,x:c,y:u}})(gs(e)))}function yh(e){return bn(e)&&En(e).position!=="fixed"?e.offsetParent:null}function vh(e){const t=Kt(e);let n=yh(e);for(;n&&cN(n)&&En(n).position==="static";)n=yh(n);return n&&(vs(n)==="html"||vs(n)==="body"&&En(n).position==="static"&&!Tc(n))?t:n||(function(s){let r=Pi(s);for(;bn(r)&&!of(r);){if(Tc(r))return r;r=Pi(r)}return null})(e)||t}function uN(e,t,n){const s=bn(t),r=gs(t),i=Ai(e,!0,n==="fixed",t);let o={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(s||!s&&n!=="fixed")if((vs(t)!=="body"||za(r))&&(o=Ja(t)),bn(t)){const l=Ai(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else r&&(a.x=ay(r));return{x:i.left+o.scrollLeft-a.x,y:i.top+o.scrollTop-a.y,width:i.width,height:i.height}}const fN={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:s,strategy:r}=e;const i=n==="clippingAncestors"?(function(c,u){const f=u.get(c);if(f)return f;let h=oa(c).filter((E=>ms(E)&&vs(E)!=="body")),d=null;const p=En(c).position==="fixed";let m=p?Pi(c):c;for(;ms(m)&&!of(m);){const E=En(m),g=Tc(m);(p?g||d:g||E.position!=="static"||!d||!["absolute","fixed"].includes(d.position))?d=E:h=h.filter((v=>v!==m)),m=Pi(m)}return u.set(c,h),h})(t,this._c):[].concat(n),o=[...i,s],a=o[0],l=o.reduce(((c,u)=>{const f=_h(t,u,r);return c.top=Jr(f.top,c.top),c.right=mh(f.right,c.right),c.bottom=mh(f.bottom,c.bottom),c.left=Jr(f.left,c.left),c}),_h(t,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:s}=e;const r=bn(n),i=gs(n);if(n===i)return t;let o={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((r||!r&&s!=="fixed")&&((vs(n)!=="body"||za(i))&&(o=Ja(n)),bn(n))){const c=Ai(n);a=pr(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-o.scrollLeft*a.x+l.x,y:t.y*a.y-o.scrollTop*a.y+l.y}},isElement:ms,getDimensions:function(e){return bn(e)?ty(e):e.getBoundingClientRect()},getOffsetParent:vh,getDocumentElement:gs,getScale:pr,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||vh,i=this.getDimensions;return{reference:uN(t,await r(n),s),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>En(e).direction==="rtl"},dN=(e,t,n)=>{const s=new Map,r={platform:fN,...n},i={...r.platform,_c:s};return eN(e,t,{...r,platform:i})};function cy(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?cy(e[n],t[n]):e[n]=t[n])}const an={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 Ii(e,t){let n=an.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=an.themes[n.$extend]||{}:(n=null,s=an[t]):n=null;while(n);return s}function hN(e){const t=[e];let n=an.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=an.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function Eh(e){const t=[e];let n=an.themes[e]||{};do n.$extend?(t.push(n.$extend),n=an.themes[n.$extend]||{}):n=null;while(n);return t}let Ar=!1;if(typeof window<"u"){Ar=!1;try{const e=Object.defineProperty({},"passive",{get(){Ar=!0}});window.addEventListener("test",null,e)}catch{}}let uy=!1;typeof window<"u"&&typeof navigator<"u"&&(uy=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const fy=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),bh={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Th={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Sh(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function wl(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const tn=[];let As=null;const wh={};function Ch(e){let t=wh[e];return t||(t=wh[e]=[]),t}let Sc=function(){};typeof window<"u"&&(Sc=window.Element);function ge(e){return function(t){return Ii(t.theme,e)}}const Cl="__floating-vue__popper",dy=()=>Dt({name:"VPopper",provide(){return{[Cl]:{parentPopper:this}}},inject:{[Cl]:{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:ge("disabled")},positioningDisabled:{type:Boolean,default:ge("positioningDisabled")},placement:{type:String,default:ge("placement"),validator:e=>fy.includes(e)},delay:{type:[String,Number,Object],default:ge("delay")},distance:{type:[Number,String],default:ge("distance")},skidding:{type:[Number,String],default:ge("skidding")},triggers:{type:Array,default:ge("triggers")},showTriggers:{type:[Array,Function],default:ge("showTriggers")},hideTriggers:{type:[Array,Function],default:ge("hideTriggers")},popperTriggers:{type:Array,default:ge("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ge("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ge("popperHideTriggers")},container:{type:[String,Object,Sc,Boolean],default:ge("container")},boundary:{type:[String,Sc],default:ge("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ge("strategy")},autoHide:{type:[Boolean,Function],default:ge("autoHide")},handleResize:{type:Boolean,default:ge("handleResize")},instantMove:{type:Boolean,default:ge("instantMove")},eagerMount:{type:Boolean,default:ge("eagerMount")},popperClass:{type:[String,Array,Object],default:ge("popperClass")},computeTransformOrigin:{type:Boolean,default:ge("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ge("autoMinSize")},autoSize:{type:[Boolean,String],default:ge("autoSize")},autoMaxSize:{type:Boolean,default:ge("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ge("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ge("preventOverflow")},overflowPadding:{type:[Number,String],default:ge("overflowPadding")},arrowPadding:{type:[Number,String],default:ge("arrowPadding")},arrowOverflow:{type:Boolean,default:ge("arrowOverflow")},flip:{type:Boolean,default:ge("flip")},shift:{type:Boolean,default:ge("shift")},shiftCrossAxis:{type:Boolean,default:ge("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ge("noAutoFocus")},disposeTimeout:{type:Number,default:ge("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[Cl])==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(oN({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(sN({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(aN({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(rN({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(tN({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:s,rects:r,middlewareData:i})=>{let o;const{centerOffset:a}=i.arrow;return s.startsWith("top")||s.startsWith("bottom")?o=Math.abs(a)>r.reference.width/2:o=Math.abs(a)>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 a;if((a=o.autoSize)!=null&&a.skip)return{};let l,c;return i.startsWith("top")||i.startsWith("bottom")?l=r.reference.width:c=r.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=l!=null?`${l}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(lN({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 dN(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),As&&this.instantMove&&As.instantMove&&As!==this.parentPopper){As.$_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&&(As=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 wl(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...oa(this.$_referenceNode),...oa(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<tn.length;n++)t=tn[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}tn.push(this),document.body.classList.add("v-popper--some-open");for(const t of Eh(this.theme))Ch(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 wl(),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,Sh(tn,this),tn.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Eh(this.theme)){const s=Ch(n);Sh(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}As===this&&(As=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 wl(),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,bh,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],bh,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Th,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Th,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,Ar?{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 a=t[o];a&&this.$_registerEventListeners(e,a,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(Zr>=e.left&&Zr<=e.right&&ei>=e.top&&ei<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Zr-rs,s=ei-is,r=t.left+t.width/2-rs+(t.top+t.height/2)-is+t.width+t.height,i=rs+n*r,o=is+s*r;return ho(rs,is,i,o,t.left,t.top,t.left,t.bottom)||ho(rs,is,i,o,t.left,t.top,t.right,t.top)||ho(rs,is,i,o,t.right,t.top,t.right,t.bottom)||ho(rs,is,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(uy){const e=Ar?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Oh(t,!0),e),document.addEventListener("touchend",t=>Nh(t,!0),e)}else window.addEventListener("mousedown",e=>Oh(e,!1),!0),window.addEventListener("click",e=>Nh(e,!1),!0);window.addEventListener("resize",mN)}function Oh(e,t){if(an.autoHideOnMousedown)hy(e,t);else for(let n=0;n<tn.length;n++){const s=tn[n];try{s.mouseDownContains=s.popperNode().contains(e.target)}catch{}}}function Nh(e,t){an.autoHideOnMousedown||hy(e,t)}function hy(e,t){const n={};for(let s=tn.length-1;s>=0;s--){const r=tn[s];try{const i=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!n[r.randomId]&&Ah(r,i,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let a=r.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let o=r.parentPopper;for(;o&&Ah(o,o.containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function Ah(e,t,n){return n.closeAllPopover||n.closePopover&&t||pN(e,n)&&!t}function pN(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function mN(){for(let e=0;e<tn.length;e++)tn[e].$_computePosition()}let rs=0,is=0,Zr=0,ei=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{rs=Zr,is=ei,Zr=e.clientX,ei=e.clientY},Ar?{passive:!0}:void 0);function ho(e,t,n,s,r,i,o,a){const l=((o-r)*(t-i)-(a-i)*(e-r))/((a-i)*(n-e)-(o-r)*(s-t)),c=((n-e)*(t-i)-(s-t)*(e-r))/((a-i)*(n-e)-(o-r)*(s-t));return l>=0&&l<=1&&c>=0&&c<=1}const gN={extends:dy()},Za=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function _N(e,t,n,s,r,i){return Nt(),yr("div",{ref:"reference",class:zn(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[hi(e.$slots,"default",jc(_u(e.slotData)))],2)}const yN=Za(gN,[["render",_N]]);function vN(){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 Po;function wc(){wc.init||(wc.init=!0,Po=vN()!==-1)}var el={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){wc(),Yt(()=>{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",Po&&this.$el.appendChild(e),e.data="about:blank",Po||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&&(!Po&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const EN=hm();fm("data-v-b329ee4c");const bN={class:"resize-observer",tabindex:"-1"};dm();const TN=EN((e,t,n,s,r,i)=>(Nt(),Xn("div",bN)));el.render=TN;el.__scopeId="data-v-b329ee4c";el.__file="src/components/ResizeObserver.vue";const py=(e="theme")=>({computed:{themeClass(){return hN(this[e])}}}),SN=Dt({name:"VPopperContent",components:{ResizeObserver:el},mixins:[py()],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}}}),wN=["id","aria-hidden","tabindex","data-popper-placement"],CN={ref:"inner",class:"v-popper__inner"},ON=_n("div",{class:"v-popper__arrow-outer"},null,-1),NN=_n("div",{class:"v-popper__arrow-inner"},null,-1),AN=[ON,NN];function PN(e,t,n,s,r,i){const o=Ws("ResizeObserver");return Nt(),yr("div",{id:e.popperId,ref:"popover",class:zn(["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:Fn(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]=Cg(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[_n("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),_n("div",{class:"v-popper__wrapper",style:Fn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[_n("div",CN,[e.mounted?(Nt(),yr(Ke,{key:0},[_n("div",null,[hi(e.$slots,"default")]),e.handleResize?(Nt(),Xn(o,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Yl("",!0)],64)):Yl("",!0)],512),_n("div",{ref:"arrow",class:"v-popper__arrow-container",style:Fn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},AN,4)],4)],46,wN)}const my=Za(SN,[["render",PN]]),gy={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 Cc=function(){};typeof window<"u"&&(Cc=window.Element);const IN=Dt({name:"VPopperWrapper",components:{Popper:yN,PopperContent:my},mixins:[gy,py("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,Cc,Boolean],default:void 0},boundary:{type:[String,Cc],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 RN(e,t,n,s,r,i){const o=Ws("PopperContent"),a=Ws("Popper");return Nt(),Xn(a,Ia({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]=l=>e.$emit("update:shown",l)),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:js(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,show:d,hide:p,handleResize:m,onResize:E,classes:g,result:v})=>[hi(e.$slots,"default",{shown:c,show:d,hide:p}),Ie(o,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":m,classes:g,result:v,onHide:p,onResize:E},{default:js(()=>[hi(e.$slots,"popper",{shown:c,hide:p})]),_: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 af=Za(IN,[["render",RN]]),LN={...af,name:"VDropdown",vPopperTheme:"dropdown"},MN={...af,name:"VMenu",vPopperTheme:"menu"},xN={...af,name:"VTooltip",vPopperTheme:"tooltip"},DN=Dt({name:"VTooltipDirective",components:{Popper:dy(),PopperContent:my},mixins:[gy],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Ii(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Ii(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}}}),kN=["innerHTML"],FN=["textContent"];function $N(e,t,n,s,r,i){const o=Ws("PopperContent"),a=Ws("Popper");return Nt(),Xn(a,Ia({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:js(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,hide:d,handleResize:p,onResize:m,classes:E,result:g})=>[Ie(o,{ref:"popperContent",class:zn({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":p,classes:E,result:g,onHide:d,onResize:m},{default:js(()=>[e.html?(Nt(),yr("div",{key:0,innerHTML:e.finalContent},null,8,kN)):(Nt(),yr("div",{key:1,textContent:_a(e.finalContent)},null,8,FN))]),_: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 VN=Za(DN,[["render",$N]]),_y="v-popper--has-tooltip";function HN(e,t){let n=e.placement;if(!n&&t)for(const s of fy)t[s]&&(n=s);return n||(n=Ii(e.theme||"tooltip","placement")),n}function yy(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=HN(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let Ol,Ri,UN=0;function BN(){if(Ol)return;Ri=it([]),Ol=_i({name:"VTooltipDirectiveApp",setup(){return{directives:Ri}},render(){return this.directives.map(t=>er(VN,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Ol.mount(e)}function jN(e,t,n){BN();const s=it(yy(e,t,n)),r=it(!1),i={id:UN++,options:s,shown:r};return Ri.value.push(i),e.classList&&e.classList.add(_y),e.$_popper={options:s,item:i,show(){r.value=!0},hide(){r.value=!1}}}function vy(e){if(e.$_popper){const t=Ri.value.indexOf(e.$_popper.item);t!==-1&&Ri.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(_y)}function Ph(e,{value:t,modifiers:n}){const s=yy(e,t,n);if(!s.content||Ii(s.theme||"tooltip","disabled"))vy(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=jN(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const WN={beforeMount:Ph,updated:Ph,beforeUnmount(e){vy(e)}};function Ih(e){e.addEventListener("mousedown",aa),e.addEventListener("click",aa),e.addEventListener("touchstart",Ey,Ar?{passive:!0}:!1)}function Rh(e){e.removeEventListener("mousedown",aa),e.removeEventListener("click",aa),e.removeEventListener("touchstart",Ey),e.removeEventListener("touchend",by),e.removeEventListener("touchcancel",Ty)}function aa(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Ey(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",by),t.addEventListener("touchcancel",Ty)}}function by(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 Ty(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const GN={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Ih(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?Ih(e):Rh(e))},beforeUnmount(e){Rh(e)}};function KN(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,cy(an,t),e.directive("tooltip",WN),e.directive("close-popper",GN),e.component("VTooltip",xN),e.component("VDropdown",LN),e.component("VMenu",MN))}const qN={version:"5.2.2",install:KN,options:an},XN=e=>{const t={};Object.entries(Object.assign({"/src/layouts/board-layout.vue":()=>Rt(()=>import("./board-layout-CeOh-ZCs.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"/src/layouts/default.vue":()=>Rt(()=>import("./default-Cmhn5CHv.js"),__vite__mapDeps([7,1,2,3,4,5,6]),import.meta.url),"/src/layouts/headless.vue":()=>Rt(()=>import("./headless-B9z-UUTO.js"),__vite__mapDeps([8,5]),import.meta.url),"/src/layouts/index-layout.vue":()=>Rt(()=>import("./index-layout-CWkCP9X6.js"),__vite__mapDeps([9,1,2,3,4,5,6]),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=>{if(o.children?.length>0&&(o.children=s(o.children,!1)),i){if(!o.component&&o.children?.find(l=>(l.path===""||l.path==="/")&&l.meta?.isLayout))return o;if(o.meta?.layout!==!1)return{path:o.path,component:t[o.meta?.layout||"default"],children:o.path==="/"?[o]:[{...o,path:""}],meta:{isLayout:!0}}}return o.meta?.layout?{path:o.path,component:t[o.meta?.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return s(e)},QN=new Set(["link","style","script","noscript"]),YN=new Set(["title","titleTemplate","script","style","noscript"]),Lh=new Set(["base","meta","link","style","script","noscript"]),zN=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),JN=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),ZN=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),eA=new Set(["templateParams","htmlAttrs","bodyAttrs"]),tA=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),nA=["name","property","http-equiv"],sA=new Set(["viewport","description","keywords","robots"]);function Sy(e){const t=e.split(":");return t.length?tA.has(t[1]):!1}function Oc(e){const{props:t,tag:n}=e;if(JN.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const s of nA)if(t[s]!==void 0){const r=t[s],i=r.includes(":"),o=sA.has(r),l=!(i||o)&&e.key?`:key:${e.key}`:"";return`${n}:${r}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(YN.has(n)){const s=e.textContent||e.innerHTML;if(s)return`${n}:content:${s}`}}function Mh(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([s,r])=>`${s}:${String(r)}`).join(",")}`}function la(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let r;if(t&&(r=t(n,e)),Array.isArray(r))return r.map(i=>la(i,t));if(r?.constructor===Object){const i={};for(const o of Object.keys(r))i[o]=la(r[o],t,o);return i}return r}function rA(e,t){const n=e==="style"?new Map:new Set;function s(r){const i=r.trim();if(i)if(e==="style"){const[o,...a]=i.split(":").map(l=>l.trim());o&&a.length&&n.set(o,a.join(":"))}else i.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof t=="string"?e==="style"?t.split(";").forEach(s):s(t):Array.isArray(t)?t.forEach(r=>s(r)):t&&typeof t=="object"&&Object.entries(t).forEach(([r,i])=>{i&&i!=="false"&&(e==="style"?n.set(r.trim(),i):s(r))}),n}function wy(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,s])=>{if(s===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=rA(n,s);return}if(ZN.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof s=="object"){let o=t.type;if(t.type||(o="application/json"),!o?.endsWith("json")&&o!=="speculationrules")return;t.type=o,e.props.type=o,e[n]=JSON.stringify(s)}else e[n]=s;return}const r=String(s),i=n.startsWith("data-");r==="true"||r===""?e.props[n]=i?r:!0:!s&&i&&r==="false"?e.props[n]="false":s!==void 0&&(e.props[n]=s)}),e):e}function iA(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},s=wy({tag:e,props:{}},n);return s.key&&QN.has(s.tag)&&(s.props["data-hid"]=s._h=s.key),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(r=>({...s,props:{...s.props,content:r}})):s}function oA(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(r,i)=>{for(let o=0;o<t.length;o++)i=t[o](r,i);return i};e=n(void 0,e);const s=[];return e=la(e,n),Object.entries(e||{}).forEach(([r,i])=>{if(i!==void 0)for(const o of Array.isArray(i)?i:[i])s.push(iA(r,o))}),s.flat()}const xh=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Dh={base:-10,title:10},aA={critical:-8,high:-1,low:2},kh={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},lA=/@import/,Hr=e=>e===""||e===!0;function cA(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const s=aA[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:kh;if(t.tag in Dh)n=Dh[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=kh.meta[i])}else t.tag==="link"&&t.props.rel?n=r.link[t.props.rel]:t.tag==="script"?Hr(t.props.async)?n=r.script.async:t.props.src&&!Hr(t.props.defer)&&!Hr(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=r.script.sync:Hr(t.props.defer)&&t.props.src&&!Hr(t.props.async)&&(n=r.script.defer):t.tag==="style"&&(n=t.innerHTML&&lA.test(t.innerHTML)?r.style.imported:r.style.sync);return(n||100)+s}function Fh(e,t){const n=typeof t=="function"?t(e):t,s=n.key||String(e.plugins.size+1);e.plugins.get(s)||(e.plugins.set(s,n),e.hooks.addHooks(n.hooks||{}))}function uA(e={}){const t=ow();t.addHooks(e.hooks||{});const n=!e.document,s=new Map,r=new Map,i=new Set,o={_entryCount:1,plugins:r,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:s,headEntries(){return[...s.values()]},use:a=>Fh(o,a),push(a,l){const c={...l||{}};delete c.head;const u=c._index??o._entryCount++,f={_i:u,input:a,options:c},h={_poll(d=!1){o.dirty=!0,!d&&i.add(u),t.callHook("entries:updated",o)},dispose(){s.delete(u)&&o.invalidate()},patch(d){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(f.input=d,s.set(u,f),h._poll())}};return h.patch(a),h},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const h=i.values().next().value;i.delete(h);const d=s.get(h);if(d){const p={tags:oA(d.input,e.propResolvers||[]).map(m=>Object.assign(m,d.options)),entry:d};await t.callHook("entries:normalize",p),d._tags=p.tags.map((m,E)=>(m._w=cA(o,m),m._p=(d._i<<10)+E,m._d=Oc(m),m))}}let l=!1;a.entries.flatMap(h=>(h._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(xh).reduce((h,d)=>{const p=String(d._d||d._p);if(!h.has(p))return h.set(p,d);const m=h.get(p);if((d?.tagDuplicateStrategy||(eA.has(d.tag)?"merge":null)||(d.key&&d.key===m.key?"merge":null))==="merge"){const g={...m.props};Object.entries(d.props).forEach(([v,_])=>g[v]=v==="style"?new Map([...m.props.style||new Map,..._]):v==="class"?new Set([...m.props.class||new Set,..._]):_),h.set(p,{...d,props:g})}else d._p>>10===m._p>>10&&d.tag==="meta"&&Sy(p)?(h.set(p,Object.assign([...Array.isArray(m)?m:[m],d],d)),l=!0):(d._w===m._w?d._p>m._p:d?._w<m?._w)&&h.set(p,d);return h},a.tagMap);const c=a.tagMap.get("title"),u=a.tagMap.get("titleTemplate");if(o._title=c?.textContent,u){const h=u?.textContent;if(o._titleTemplate=h,h){let d=typeof h=="function"?h(c?.textContent):h;typeof d=="string"&&!o.plugins.has("template-params")&&(d=d.replace("%s",c?.textContent||"")),c?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...c,textContent:d}):(u.tag="title",u.textContent=d)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(xh)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const h of a.tags){const{innerHTML:d,tag:p,props:m}=h;if(zN.has(p)&&!(Object.keys(m).length===0&&!h.innerHTML&&!h.textContent)&&!(p==="meta"&&!m.content&&!m["http-equiv"]&&!m.charset)){if(p==="script"&&d){if(m.type?.endsWith("json")){const E=typeof d=="string"?d:JSON.stringify(d);h.innerHTML=E.replace(/</g,"\\u003C")}else typeof d=="string"&&(h.innerHTML=d.replace(new RegExp(`</${p}`,"g"),`<\\/${p}`));h._d=Oc(h)}f.push(h)}}return f},invalidate(){for(const a of s.values())i.add(a._i);o.dirty=!0,t.callHook("entries:updated",o)}};return(e?.plugins||[]).forEach(a=>Fh(o,a)),o.hooks.callHook("init",o),e.init?.forEach(a=>a&&o.push(a)),o}async function Cy(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=>{const i=new Map,o=new Promise(d=>{e.resolveTags().then(p=>{d(p.map(m=>{const E=i.get(m._d)||0,g={tag:m,id:(E?`${m._d}:${E}`:m._d)||Mh(m),shouldRender:!0};return m._d&&Sy(m._d)&&i.set(m._d,E+1),g}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const p=n[d]?.children;for(const m of p){const E=m.tagName.toLowerCase();if(!Lh.has(E))continue;const g=wy({tag:E,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((v,_)=>(v[_]=m.getAttribute(_),v),{})||{}});if(g.key=m.getAttribute("data-hid")||void 0,g._d=Oc(g)||Mh(g),a.elMap.has(g._d)){let v=1,_=g._d;for(;a.elMap.has(_);)_=`${g._d}:${v++}`;a.elMap.set(_,m)}else a.elMap.set(g._d,m)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(d,p,m){const E=`${d}:${p}`;a.sideEffects[E]=m,delete a.pendingSideEffects[E]}function c({id:d,$el:p,tag:m}){const E=m.tag.endsWith("Attrs");a.elMap.set(d,p),E||(m.textContent&&m.textContent!==p.textContent&&(p.textContent=m.textContent),m.innerHTML&&m.innerHTML!==p.innerHTML&&(p.innerHTML=m.innerHTML),l(d,"el",()=>{p?.remove(),a.elMap.delete(d)}));for(const g in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,g))continue;const v=m.props[g];if(g.startsWith("on")&&typeof v=="function"){const y=p?.dataset;if(y&&y[`${g}fired`]){const T=g.slice(0,-5);v.call(p,new Event(T.substring(2)))}p.getAttribute(`data-${g}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:p).addEventListener(g.substring(2),v.bind(p)),p.setAttribute(`data-${g}`,""));continue}const _=`attr:${g}`;if(g==="class"){if(!v)continue;for(const y of v)E&&l(d,`${_}:${y}`,()=>p.classList.remove(y)),!p.classList.contains(y)&&p.classList.add(y)}else if(g==="style"){if(!v)continue;for(const[y,T]of v)l(d,`${_}:${y}`,()=>{p.style.removeProperty(y)}),p.style.setProperty(y,T)}else v!==!1&&v!==null&&(p.getAttribute(g)!==v&&p.setAttribute(g,v===!0?"":String(v)),E&&l(d,_,()=>p.removeAttribute(g)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await o;for(const d of h){const{tag:p,shouldRender:m,id:E}=d;if(m){if(p.tag==="title"){n.title=p.textContent,l("title","",()=>n.title=a.title);continue}d.$el=d.$el||a.elMap.get(E),d.$el?c(d):Lh.has(p.tag)&&u.push(d)}}for(const d of u){const p=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),c(d),f[p]=f[p]||n.createDocumentFragment(),f[p].appendChild(d.$el)}for(const d of h)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 a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:h}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function fA(e={}){const t=e.domOptions?.render||Cy;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return uA({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function dA(e,t){let n=0;return()=>{const s=++n;t(()=>{n===s&&e()})}}const hA=(e,t)=>Re(t)?ae(t):t,Oy="usehead";function pA(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Oy,e)}}.install}function mA(){if(Na()){const e=Ot(Oy);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function gA(e,t={}){const n=t.head||mA();return n.ssr?n.push(e||{},t):_A(n,e,t)}function _A(e,t,n={}){const s=it(!1);let r;return gu(()=>{const o=s.value?{}:la(t,hA);r?r.patch(o):r=e.push(o,n)}),Be()&&(Fi(()=>{r.dispose()}),au(()=>{s.value=!0}),ou(()=>{s.value=!1})),r}function yA(e={}){const t=fA({domOptions:{render:dA(()=>Cy(t),n=>setTimeout(n,0))},...e});return t.install=pA(t),t}/*!
|
|
63
|
+
**/var nh;function oO(){return nh||(nh=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=sO,n=rO,s=iO;function r(l){var c=Object.create(null);if(l)for(var u in l)c[u]=l[u];return c.default=l,Object.freeze(c)}var i=r(n);const o=Object.create(null);function a(l,c){if(!s.isString(l))if(l.nodeType)l=l.innerHTML;else return s.NOOP;const u=s.genCacheKey(l,c),f=o[u];if(f)return f;if(l[0]==="#"){const m=document.querySelector(l);l=m?m.innerHTML:""}const h=s.extend({hoistStatic:!0,onError:void 0,onWarn:s.NOOP},c);!h.isCustomElement&&typeof customElements<"u"&&(h.isCustomElement=m=>!!customElements.get(m));const{code:d}=t.compile(l,h),p=new Function("Vue",d)(i);return p._rc=!0,o[u]=p}n.registerRuntimeCompiler(a),e.compile=a,Object.keys(n).forEach(function(l){l!=="default"&&!Object.prototype.hasOwnProperty.call(e,l)&&(e[l]=n[l])})})(Tl)),Tl}var sh;function aO(){return sh||(sh=1,bl.exports=oO()),bl.exports}var lO=To.exports,rh;function cO(){return rh||(rh=1,(function(e,t){(function(s,r){e.exports=r(aO())})(lO,n=>(()=>{var s={113:((I,S)=>{Object.defineProperty(S,"__esModule",{value:!0}),S.default=(P,x)=>{const R=P.__vccOpts||P;for(const[$,V]of x)R[$]=V;return R}}),594:(I=>{I.exports=n})},r={};function i(I){var S=r[I];if(S!==void 0)return S.exports;var P=r[I]={exports:{}};return s[I](P,P.exports,i),P.exports}i.d=(I,S)=>{for(var P in S)i.o(S,P)&&!i.o(I,P)&&Object.defineProperty(I,P,{enumerable:!0,get:S[P]})},i.o=(I,S)=>Object.prototype.hasOwnProperty.call(I,S),i.r=I=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(I,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(I,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{ToastComponent:()=>y,ToastPlugin:()=>O,ToastPositions:()=>d,default:()=>N,useToast:()=>T});var a=i(594);const l=["innerHTML"];function c(I,S,P,x,R,$){return(0,a.openBlock)(),(0,a.createBlock)(a.Transition,{"enter-active-class":I.transition.enter,"leave-active-class":I.transition.leave},{default:(0,a.withCtx)(()=>[(0,a.withDirectives)((0,a.createElementVNode)("div",{ref:"root",role:"alert",class:(0,a.normalizeClass)(["v-toast__item",[`v-toast__item--${I.type}`,`v-toast__item--${I.position}`]]),onMouseover:S[0]||(S[0]=V=>I.toggleTimer(!0)),onMouseleave:S[1]||(S[1]=V=>I.toggleTimer(!1)),onClick:S[2]||(S[2]=function(){return I.whenClicked&&I.whenClicked(...arguments)})},[S[3]||(S[3]=(0,a.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,a.createElementVNode)("p",{class:"v-toast__text",innerHTML:I.message},null,8,l)],34),[[a.vShow,I.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function u(I){typeof I.remove<"u"?I.remove():I.parentNode?.removeChild(I)}function f(I,S,P){let x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const R=(0,a.h)(I,S,x),$=document.createElement("div");return $.classList.add("v-toast--pending"),P.appendChild($),(0,a.render)(R,$),R.component}class h{constructor(S,P){this.startedAt=Date.now(),this.callback=S,this.delay=P,this.timer=setTimeout(S,P)}pause(){this.stop(),this.delay-=Date.now()-this.startedAt}resume(){this.stop(),this.startedAt=Date.now(),this.timer=setTimeout(this.callback,this.delay)}stop(){clearTimeout(this.timer)}}const d=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function p(I){return{all:I=I||new Map,on:function(S,P){var x=I.get(S);x?x.push(P):I.set(S,[P])},off:function(S,P){var x=I.get(S);x&&(P?x.splice(x.indexOf(P)>>>0,1):I.set(S,[]))},emit:function(S,P){var x=I.get(S);x&&x.slice().map(function(R){R(P)}),(x=I.get("*"))&&x.slice().map(function(R){R(S,P)})}}}const E=p(),g=(0,a.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:d.BOTTOM_RIGHT,validator(I){return Object.values(d).includes(I)}},duration:{type:Number,default:3e3},dismissible:{type:Boolean,default:!0},onDismiss:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},queue:Boolean,pauseOnHover:{type:Boolean,default:!0}},data(){return{isActive:!1,parentTop:null,parentBottom:null,isHovered:!1}},beforeMount(){this.setupContainer()},mounted(){this.showNotice(),E.on("toast-clear",this.dismiss)},methods:{setupContainer(){if(this.parentTop=document.querySelector(".v-toast.v-toast--top"),this.parentBottom=document.querySelector(".v-toast.v-toast--bottom"),this.parentTop&&this.parentBottom)return;this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="v-toast v-toast--top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="v-toast v-toast--bottom");const I=document.body;I.appendChild(this.parentTop),I.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 I=this.$refs.root;(0,a.render)(null,I),u(I)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const I=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),u(I),this.isActive=!0,this.duration&&(this.timer=new h(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(I){!this.pauseOnHover||!this.timer||(I?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case d.TOP:case d.TOP_RIGHT:case d.TOP_LEFT:return this.parentTop;case d.BOTTOM:case d.BOTTOM_RIGHT:case d.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case d.TOP:case d.TOP_RIGHT:case d.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case d.BOTTOM:case d.BOTTOM_RIGHT:case d.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){E.off("toast-clear",this.dismiss)}});var v=i(113);const y=(0,v.default)(g,[["render",c]]),T=function(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(S){let P=null;typeof S=="string"&&(P=S);const R=Object.assign({},{message:P},I,S);return{dismiss:f(y,R,document.body).ctx.dismiss}},clear(){E.emit("toast-clear")},success(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"success"},P))},error(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"error"},P))},info(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"info"},P))},warning(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"warning"},P))},default(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"default"},P))}}},O={install:function(I){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=T(S);I.config.globalProperties.$toast=P,I.provide("$toast",P)}},N=O;return o})())})(To)),To.exports}var uO=cO();const fO=Hg(uO),dO=({app:e})=>{e.use(fO,{position:"bottom-right"})},hO=Object.freeze(Object.defineProperty({__proto__:null,install:dO},Symbol.toStringTag,{value:"Module"}));var Qa=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(){}},pO={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},mO=class{#e=pO;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},gc=new mO;function gO(e){setTimeout(e,0)}var Ki=typeof window>"u"||"Deno"in globalThis;function Zt(){}function _O(e,t){return typeof e=="function"?e(t):e}function yO(e){return typeof e=="number"&&e>=0&&e!==1/0}function vO(e,t){return Math.max(e+(t||0)-Date.now(),0)}function _c(e,t){return typeof e=="function"?e(t):e}function EO(e,t){return typeof e=="function"?e(t):e}function ih(e,t){const{type:n="all",exact:s,fetchStatus:r,predicate:i,queryKey:o,stale:a}=e;if(o){if(s){if(t.queryHash!==tf(o,t.options))return!1}else if(!Oi(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||r&&r!==t.state.fetchStatus||i&&!i(t))}function oh(e,t){const{exact:n,status:s,predicate:r,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Ci(t.options.mutationKey)!==Ci(i))return!1}else if(!Oi(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function tf(e,t){return(t?.queryKeyHashFn||Ci)(e)}function Ci(e){return JSON.stringify(e,(t,n)=>yc(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function Oi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Oi(e[n],t[n])):!1}var bO=Object.prototype.hasOwnProperty;function W_(e,t){if(e===t)return e;const n=ah(e)&&ah(t);if(!n&&!(yc(e)&&yc(t)))return t;const r=(n?e:Object.keys(e)).length,i=n?t:Object.keys(t),o=i.length,a=n?new Array(o):{};let l=0;for(let c=0;c<o;c++){const u=n?c:i[c],f=e[u],h=t[u];if(f===h){a[u]=f,(n?c<r:bO.call(e,u))&&l++;continue}if(f===null||h===null||typeof f!="object"||typeof h!="object"){a[u]=h;continue}const d=W_(f,h);a[u]=d,d===f&&l++}return r===o&&l===r?e:a}function yI(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 ah(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function yc(e){if(!lh(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!lh(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function lh(e){return Object.prototype.toString.call(e)==="[object Object]"}function TO(e){return new Promise(t=>{gc.setTimeout(t,e)})}function SO(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?W_(e,t):t}function wO(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function CO(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var nf=Symbol();function G_(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===nf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function vI(e,t){return typeof e=="function"?e(...t):!!e}var OO=class extends Qa{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!Ki&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},K_=new OO;function NO(){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}var AO=gO;function PO(){let e=[],t=0,n=a=>{a()},s=a=>{a()},r=AO;const i=a=>{t?e.push(a):r(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&r(()=>{s(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{s=a},setScheduler:a=>{r=a}}}var wt=PO(),IO=class extends Qa{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!Ki&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},na=new IO;function RO(e){return Math.min(1e3*2**e,3e4)}function q_(e){return(e??"online")==="online"?na.isOnline():!0}var vc=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function X_(e){let t=!1,n=0,s;const r=NO(),i=()=>r.status!=="pending",o=m=>{if(!i()){const E=new vc(m);h(E),e.onCancel?.(E)}},a=()=>{t=!0},l=()=>{t=!1},c=()=>K_.isFocused()&&(e.networkMode==="always"||na.isOnline())&&e.canRun(),u=()=>q_(e.networkMode)&&e.canRun(),f=m=>{i()||(s?.(),r.resolve(m))},h=m=>{i()||(s?.(),r.reject(m))},d=()=>new Promise(m=>{s=E=>{(i()||c())&&m(E)},e.onPause?.()}).then(()=>{s=void 0,i()||e.onContinue?.()}),p=()=>{if(i())return;let m;const E=n===0?e.initialPromise:void 0;try{m=E??e.fn()}catch(g){m=Promise.reject(g)}Promise.resolve(m).then(f).catch(g=>{if(i())return;const v=e.retry??(Ki?0:3),_=e.retryDelay??RO,y=typeof _=="function"?_(n,g):_,T=v===!0||typeof v=="number"&&n<v||typeof v=="function"&&v(n,g);if(t||!T){h(g);return}n++,e.onFail?.(n,g),TO(y).then(()=>c()?void 0:d()).then(()=>{t?h(g):p()})})};return{promise:r,status:()=>r.status,cancel:o,continue:()=>(s?.(),r),cancelRetry:a,continueRetry:l,canStart:u,start:()=>(u()?p():d().then(p),r)}}var Q_=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),yO(this.gcTime)&&(this.#e=gc.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ki?1/0:300*1e3))}clearGcTimeout(){this.#e&&(gc.clearTimeout(this.#e),this.#e=void 0)}},LO=class extends Q_{#e;#t;#n;#r;#s;#o;#a;constructor(e){super(),this.#a=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#n=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=ch(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#s?.promise}setOptions(e){if(this.options={...this.#o,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=ch(this.options);t.data!==void 0&&(this.setData(t.data,{updatedAt:t.dataUpdatedAt,manual:!0}),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=SO(this.state.data,e,this.options);return this.#i({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#i({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#s?.promise;return this.#s?.cancel(e),t?t.then(Zt).catch(Zt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>EO(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===nf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>_c(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!vO(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#s?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#s?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#s&&(this.#a?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#i({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#s?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#s)return this.#s.continueRetry(),this.#s.promise}if(e&&this.setOptions(e),!this.options.queryFn){const a=this.observers.find(l=>l.options.queryFn);a&&this.setOptions(a.options)}const n=new AbortController,s=a=>{Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(this.#a=!0,n.signal)})},r=()=>{const a=G_(this.options,t),c=(()=>{const u={client:this.#r,queryKey:this.queryKey,meta:this.meta};return s(u),u})();return this.#a=!1,this.options.persister?this.options.persister(a,c,this):a(c)},o=(()=>{const a={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:r};return s(a),a})();this.options.behavior?.onFetch(o,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#i({type:"fetch",meta:o.fetchOptions?.meta}),this.#s=X_({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:a=>{a instanceof vc&&a.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(a,l)=>{this.#i({type:"failed",failureCount:a,error:l})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{const a=await this.#s.start();if(a===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(a),this.#n.config.onSuccess?.(a,this),this.#n.config.onSettled?.(a,this.state.error,this),a}catch(a){if(a instanceof vc){if(a.silent)return this.#s.promise;if(a.revert){if(this.state.data===void 0)throw a;return this.state.data}}throw this.#i({type:"error",error:a}),this.#n.config.onError?.(a,this),this.#n.config.onSettled?.(this.state.data,a,this),a}finally{this.scheduleGc()}}#i(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...MO(n.data,this.options),fetchMeta:e.meta??null};case"success":const s={...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?s:void 0,s;case"error":const r=e.error;return{...n,error:r,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),wt.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function MO(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:q_(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ch(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"}}function uh(e){return{onFetch:(t,n)=>{const s=t.options,r=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],o=t.state.data?.pageParams||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let u=!1;const f=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",()=>{u=!0}),t.signal)})},h=G_(t.options,t.fetchOptions),d=async(p,m,E)=>{if(u)return Promise.reject();if(m==null&&p.pages.length)return Promise.resolve(p);const v=(()=>{const O={client:t.client,queryKey:t.queryKey,pageParam:m,direction:E?"backward":"forward",meta:t.options.meta};return f(O),O})(),_=await h(v),{maxPages:y}=t.options,T=E?CO:wO;return{pages:T(p.pages,_,y),pageParams:T(p.pageParams,m,y)}};if(r&&i.length){const p=r==="backward",m=p?xO:fh,E={pages:i,pageParams:o},g=m(s,E);a=await d(E,g,p)}else{const p=e??i.length;do{const m=l===0?o[0]??s.initialPageParam:fh(s,a);if(l>0&&m==null)break;a=await d(a,m),l++}while(l<p)}return a};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=c}}}function fh(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 xO(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var DO=class extends Q_{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||kO(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#s({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=X_({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(i,o)=>{this.#s({type:"failed",failureCount:i,error:o})},onPause:()=>{this.#s({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const s=this.state.status==="pending",r=!this.#r.canStart();try{if(s)t();else{this.#s({type:"pending",variables:e,isPaused:r}),await this.#n.config.onMutate?.(e,this,n);const o=await this.options.onMutate?.(e,n);o!==this.state.context&&this.#s({type:"pending",context:o,variables:e,isPaused:r})}const i=await this.#r.start();return await this.#n.config.onSuccess?.(i,e,this.state.context,this,n),await this.options.onSuccess?.(i,e,this.state.context,n),await this.#n.config.onSettled?.(i,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(i,null,e,this.state.context,n),this.#s({type:"success",data:i}),i}catch(i){try{throw await this.#n.config.onError?.(i,e,this.state.context,this,n),await this.options.onError?.(i,e,this.state.context,n),await this.#n.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,i,e,this.state.context,n),i}finally{this.#s({type:"error",error:i})}}finally{this.#n.runNext(this)}}#s(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),wt.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function kO(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Y_=class extends Qa{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,n,s){const r=new DO({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(n),state:s});return this.add(r),r}add(t){this.#e.add(t);const n=uo(t);if(typeof n=="string"){const s=this.#t.get(n);s?s.push(t):this.#t.set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const n=uo(t);if(typeof n=="string"){const s=this.#t.get(n);if(s)if(s.length>1){const r=s.indexOf(t);r!==-1&&s.splice(r,1)}else s[0]===t&&this.#t.delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=uo(t);if(typeof n=="string"){const r=this.#t.get(n)?.find(i=>i.state.status==="pending");return!r||r===t}else return!0}runNext(t){const n=uo(t);return typeof n=="string"?this.#t.get(n)?.find(r=>r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){wt.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const n={exact:!0,...t};return this.getAll().find(s=>oh(n,s))}findAll(t={}){return this.getAll().filter(n=>oh(t,n))}notify(t){wt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return wt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Zt))))}};function uo(e){return e.options.scope?.id}var z_=class extends Qa{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,n,s){const r=n.queryKey,i=n.queryHash??tf(r,n);let o=this.get(i);return o||(o=new LO({client:t,queryKey:r,queryHash:i,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(o)),o}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=this.#e.get(t.queryHash);n&&(t.destroy(),n===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){wt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>ih(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>ih(t,s)):n}notify(t){wt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){wt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){wt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},FO=class{#e;#t;#n;#r;#s;#o;#a;#i;constructor(t={}){this.#e=t.queryCache||new z_,this.#t=t.mutationCache||new Y_,this.#n=t.defaultOptions||{},this.#r=new Map,this.#s=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#a=K_.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=na.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#a?.(),this.#a=void 0,this.#i?.(),this.#i=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const n=this.defaultQueryOptions({queryKey:t});return this.#e.get(n.queryHash)?.state.data}ensureQueryData(t){const n=this.defaultQueryOptions(t),s=this.#e.build(this,n),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(_c(n.staleTime,s))&&this.prefetchQuery(n),Promise.resolve(r))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:n,state:s})=>{const r=s.data;return[n,r]})}setQueryData(t,n,s){const r=this.defaultQueryOptions({queryKey:t}),o=this.#e.get(r.queryHash)?.state.data,a=_O(n,o);if(a!==void 0)return this.#e.build(this,r).setData(a,{...s,manual:!0})}setQueriesData(t,n,s){return wt.batch(()=>this.#e.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,n,s)]))}getQueryState(t){const n=this.defaultQueryOptions({queryKey:t});return this.#e.get(n.queryHash)?.state}removeQueries(t){const n=this.#e;wt.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=this.#e;return wt.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const s={revert:!0,...n},r=wt.batch(()=>this.#e.findAll(t).map(i=>i.cancel(s)));return Promise.all(r).then(Zt).catch(Zt)}invalidateQueries(t,n={}){return wt.batch(()=>(this.#e.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},n)))}refetchQueries(t,n={}){const s={...n,cancelRefetch:n.cancelRefetch??!0},r=wt.batch(()=>this.#e.findAll(t).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,s);return s.throwOnError||(o=o.catch(Zt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Zt)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const s=this.#e.build(this,n);return s.isStaleByTime(_c(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Zt).catch(Zt)}fetchInfiniteQuery(t){return t.behavior=uh(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Zt).catch(Zt)}ensureInfiniteQueryData(t){return t.behavior=uh(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return na.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,n){this.#r.set(Ci(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...this.#r.values()],s={};return n.forEach(r=>{Oi(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,n){this.#s.set(Ci(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...this.#s.values()],s={};return n.forEach(r=>{Oi(t,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const n={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=tf(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===nf&&(n.enabled=!1),n}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},$O="VUE_QUERY_CLIENT";function VO(e){const t=e?`:${e}`:"";return`${$O}${t}`}function SI(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function Ec(e,t,n="",s=0){if(t){const r=t(e,n,s);if(r===void 0&&Re(e)||r!==void 0)return r}if(Array.isArray(e))return e.map((r,i)=>Ec(r,t,String(i),s+1));if(typeof e=="object"&&UO(e)){const r=Object.entries(e).map(([i,o])=>[i,Ec(o,t,i,s+1)]);return Object.fromEntries(r)}return e}function HO(e,t){return Ec(e,t)}function ce(e,t=!1){return HO(e,(n,s,r)=>{if(r===1&&s==="queryKey")return ce(n,!0);if(t&&BO(n))return ce(n(),t);if(Re(n))return ce(rn(n),t)})}function UO(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function BO(e){return typeof e=="function"}var jO=class extends z_{find(e){return super.find(ce(e))}findAll(e={}){return super.findAll(ce(e))}},WO=class extends Y_{find(e){return super.find(ce(e))}findAll(e={}){return super.findAll(ce(e))}},GO=class extends FO{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new jO,mutationCache:e.mutationCache||new WO};super(t),this.isRestoring=it(!1)}isFetching(e={}){return super.isFetching(ce(e))}isMutating(e={}){return super.isMutating(ce(e))}getQueryData(e){return super.getQueryData(ce(e))}ensureQueryData(e){return super.ensureQueryData(ce(e))}getQueriesData(e){return super.getQueriesData(ce(e))}setQueryData(e,t,n={}){return super.setQueryData(ce(e),t,ce(n))}setQueriesData(e,t,n={}){return super.setQueriesData(ce(e),t,ce(n))}getQueryState(e){return super.getQueryState(ce(e))}removeQueries(e={}){return super.removeQueries(ce(e))}resetQueries(e={},t={}){return super.resetQueries(ce(e),ce(t))}cancelQueries(e={},t={}){return super.cancelQueries(ce(e),ce(t))}invalidateQueries(e={},t={}){const n=ce(e),s=ce(t);if(super.invalidateQueries({...n,refetchType:"none"},s),n.refetchType==="none")return Promise.resolve();const r={...n,type:n.refetchType??n.type??"active"};return Yt().then(()=>super.refetchQueries(r,s))}refetchQueries(e={},t={}){return super.refetchQueries(ce(e),ce(t))}fetchQuery(e){return super.fetchQuery(ce(e))}prefetchQuery(e){return super.prefetchQuery(ce(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(ce(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(ce(e))}setDefaultOptions(e){super.setDefaultOptions(ce(e))}setQueryDefaults(e,t){super.setQueryDefaults(ce(e),ce(t))}getQueryDefaults(e){return super.getQueryDefaults(ce(e))}setMutationDefaults(e,t){super.setMutationDefaults(ce(e),ce(t))}getMutationDefaults(e){return super.getMutationDefaults(ce(e))}},KO={install:(e,t={})=>{const n=VO(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 GO(o)}Ki||s.mount();let r=()=>{};if(t.clientPersister){s.isRestoring&&(s.isRestoring.value=!0);const[o,a]=t.clientPersister(s);r=o,a.then(()=>{s.isRestoring&&(s.isRestoring.value=!1),t.clientPersisterOnSuccess?.(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 qO=["top","right","bottom","left"],dh=["start","end"],hh=qO.reduce((e,t)=>e.concat(t,t+"-"+dh[0],t+"-"+dh[1]),[]),Ni=Math.min,Is=Math.max,XO={left:"right",right:"left",bottom:"top",top:"bottom"},QO={start:"end",end:"start"};function bc(e,t,n){return Is(e,Ni(t,n))}function tr(e,t){return typeof e=="function"?e(t):e}function Sn(e){return e.split("-")[0]}function on(e){return e.split("-")[1]}function J_(e){return e==="x"?"y":"x"}function sf(e){return e==="y"?"height":"width"}function zs(e){return["top","bottom"].includes(Sn(e))?"y":"x"}function rf(e){return J_(zs(e))}function Z_(e,t,n){n===void 0&&(n=!1);const s=on(e),r=rf(e),i=sf(r);let o=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=ra(o)),[o,ra(o)]}function YO(e){const t=ra(e);return[sa(e),t,sa(t)]}function sa(e){return e.replace(/start|end/g,t=>QO[t])}function zO(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 JO(e,t,n,s){const r=on(e);let i=zO(Sn(e),n==="start",s);return r&&(i=i.map(o=>o+"-"+r),t&&(i=i.concat(i.map(sa)))),i}function ra(e){return e.replace(/left|right|bottom|top/g,t=>XO[t])}function ZO(e){return{top:0,right:0,bottom:0,left:0,...e}}function ey(e){return typeof e!="number"?ZO(e):{top:e,right:e,bottom:e,left:e}}function zr(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 ph(e,t,n){let{reference:s,floating:r}=e;const i=zs(t),o=rf(t),a=sf(o),l=Sn(t),c=i==="y",u=s.x+s.width/2-r.width/2,f=s.y+s.height/2-r.height/2,h=s[a]/2-r[a]/2;let d;switch(l){case"top":d={x:u,y:s.y-r.height};break;case"bottom":d={x:u,y:s.y+s.height};break;case"right":d={x:s.x+s.width,y:f};break;case"left":d={x:s.x-r.width,y:f};break;default:d={x:s.x,y:s.y}}switch(on(t)){case"start":d[o]-=h*(n&&c?-1:1);break;case"end":d[o]+=h*(n&&c?-1:1);break}return d}const eN=async(e,t,n)=>{const{placement:s="bottom",strategy:r="absolute",middleware:i=[],platform:o}=n,a=i.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:f}=ph(c,s,l),h=s,d={},p=0;for(let m=0;m<a.length;m++){const{name:E,fn:g}=a[m],{x:v,y:_,data:y,reset:T}=await g({x:u,y:f,initialPlacement:s,placement:h,strategy:r,middlewareData:d,rects:c,platform:o,elements:{reference:e,floating:t}});u=v??u,f=_??f,d={...d,[E]:{...d[E],...y}},T&&p<=50&&(p++,typeof T=="object"&&(T.placement&&(h=T.placement),T.rects&&(c=T.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:r}):T.rects),{x:u,y:f}=ph(c,h,l)),m=-1)}return{x:u,y:f,placement:h,strategy:r,middlewareData:d}};async function Ya(e,t){var n;t===void 0&&(t={});const{x:s,y:r,platform:i,rects:o,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=tr(t,e),p=ey(d),E=a[h?f==="floating"?"reference":"floating":f],g=zr(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(E)))==null||n?E:E.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),v=f==="floating"?{x:s,y:r,width:o.floating.width,height:o.floating.height}:o.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),y=await(i.isElement==null?void 0:i.isElement(_))?await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1}:{x:1,y:1},T=zr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:_,strategy:l}):v);return{top:(g.top-T.top+p.top)/y.y,bottom:(T.bottom-g.bottom+p.bottom)/y.y,left:(g.left-T.left+p.left)/y.x,right:(T.right-g.right+p.right)/y.x}}const tN=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:r,rects:i,platform:o,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=tr(e,t)||{};if(c==null)return{};const f=ey(u),h={x:n,y:s},d=rf(r),p=sf(d),m=await o.getDimensions(c),E=d==="y",g=E?"top":"left",v=E?"bottom":"right",_=E?"clientHeight":"clientWidth",y=i.reference[p]+i.reference[d]-h[d]-i.floating[p],T=h[d]-i.reference[d],O=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let N=O?O[_]:0;(!N||!await(o.isElement==null?void 0:o.isElement(O)))&&(N=a.floating[_]||i.floating[p]);const I=y/2-T/2,S=N/2-m[p]/2-1,P=Ni(f[g],S),x=Ni(f[v],S),R=P,$=N-m[p]-x,V=N/2-m[p]/2+I,G=bc(R,V,$),j=!l.arrow&&on(r)!=null&&V!==G&&i.reference[p]/2-(V<R?P:x)-m[p]/2<0,X=j?V<R?V-R:V-$:0;return{[d]:h[d]+X,data:{[d]:G,centerOffset:V-G-X,...j&&{alignmentOffset:X}},reset:j}}});function nN(e,t,n){return(e?[...n.filter(r=>on(r)===e),...n.filter(r=>on(r)!==e)]:n.filter(r=>Sn(r)===r)).filter(r=>e?on(r)===e||(t?sa(r)!==r:!1):!0)}const sN=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,s,r;const{rects:i,middlewareData:o,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:h=hh,autoAlignment:d=!0,...p}=tr(e,t),m=f!==void 0||h===hh?nN(f||null,d,h):h,E=await Ya(t,p),g=((n=o.autoPlacement)==null?void 0:n.index)||0,v=m[g];if(v==null)return{};const _=Z_(v,i,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:m[0]}};const y=[E[Sn(v)],E[_[0]],E[_[1]]],T=[...((s=o.autoPlacement)==null?void 0:s.overflows)||[],{placement:v,overflows:y}],O=m[g+1];if(O)return{data:{index:g+1,overflows:T},reset:{placement:O}};const N=T.map(P=>{const x=on(P.placement);return[P.placement,x&&u?P.overflows.slice(0,2).reduce((R,$)=>R+$,0):P.overflows[0],P.overflows]}).sort((P,x)=>P[1]-x[1]),S=((r=N.filter(P=>P[2].slice(0,on(P[0])?2:3).every(x=>x<=0))[0])==null?void 0:r[0])||N[0][0];return S!==a?{data:{index:g+1,overflows:T},reset:{placement:S}}:{}}}},rN=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:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...E}=tr(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=Sn(r),v=zs(a),_=Sn(a)===a,y=await(l.isRTL==null?void 0:l.isRTL(c.floating)),T=h||(_||!m?[ra(a)]:YO(a)),O=p!=="none";!h&&O&&T.push(...JO(a,m,p,y));const N=[a,...T],I=await Ya(t,E),S=[];let P=((s=i.flip)==null?void 0:s.overflows)||[];if(u&&S.push(I[g]),f){const V=Z_(r,o,y);S.push(I[V[0]],I[V[1]])}if(P=[...P,{placement:r,overflows:S}],!S.every(V=>V<=0)){var x,R;const V=(((x=i.flip)==null?void 0:x.index)||0)+1,G=N[V];if(G)return{data:{index:V,overflows:P},reset:{placement:G}};let j=(R=P.filter(X=>X.overflows[0]<=0).sort((X,K)=>X.overflows[1]-K.overflows[1])[0])==null?void 0:R.placement;if(!j)switch(d){case"bestFit":{var $;const X=($=P.filter(K=>{if(O){const ee=zs(K.placement);return ee===v||ee==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(ee=>ee>0).reduce((ee,we)=>ee+we,0)]).sort((K,ee)=>K[1]-ee[1])[0])==null?void 0:$[0];X&&(j=X);break}case"initialPlacement":j=a;break}if(r!==j)return{reset:{placement:j}}}return{}}}};async function iN(e,t){const{placement:n,platform:s,elements:r}=e,i=await(s.isRTL==null?void 0:s.isRTL(r.floating)),o=Sn(n),a=on(n),l=zs(n)==="y",c=["left","top"].includes(o)?-1:1,u=i&&l?-1:1,f=tr(t,e);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof p=="number"&&(d=a==="end"?p*-1:p),l?{x:d*u,y:h*c}:{x:h*c,y:d*u}}const oN=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:a}=t,l=await iN(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(s=a.arrow)!=null&&s.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:o}}}}},aN=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:a={fn:E=>{let{x:g,y:v}=E;return{x:g,y:v}}},...l}=tr(e,t),c={x:n,y:s},u=await Ya(t,l),f=zs(Sn(r)),h=J_(f);let d=c[h],p=c[f];if(i){const E=h==="y"?"top":"left",g=h==="y"?"bottom":"right",v=d+u[E],_=d-u[g];d=bc(v,d,_)}if(o){const E=f==="y"?"top":"left",g=f==="y"?"bottom":"right",v=p+u[E],_=p-u[g];p=bc(v,p,_)}const m=a.fn({...t,[h]:d,[f]:p});return{...m,data:{x:m.x-n,y:m.y-s,enabled:{[h]:i,[f]:o}}}}}},lN=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:a}=t,{apply:l=()=>{},...c}=tr(e,t),u=await Ya(t,c),f=Sn(r),h=on(r),d=zs(r)==="y",{width:p,height:m}=i.floating;let E,g;f==="top"||f==="bottom"?(E=f,g=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(g=f,E=h==="end"?"top":"bottom");const v=m-u.top-u.bottom,_=p-u.left-u.right,y=Ni(m-u[E],v),T=Ni(p-u[g],_),O=!t.middlewareData.shift;let N=y,I=T;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(I=_),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(N=v),O&&!h){const P=Is(u.left,0),x=Is(u.right,0),R=Is(u.top,0),$=Is(u.bottom,0);d?I=p-2*(P!==0||x!==0?P+x:Is(u.left,u.right)):N=m-2*(R!==0||$!==0?R+$:Is(u.top,u.bottom))}await l({...t,availableWidth:I,availableHeight:N});const S=await o.getDimensions(a.floating);return p!==S.width||m!==S.height?{reset:{rects:!0}}:{}}}};function Kt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function En(e){return Kt(e).getComputedStyle(e)}const mh=Math.min,Jr=Math.max,ia=Math.round;function ty(e){const t=En(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,i=e.offsetHeight,o=ia(n)!==r||ia(s)!==i;return o&&(n=r,s=i),{width:n,height:s,fallback:o}}function vs(e){return sy(e)?(e.nodeName||"").toLowerCase():""}let fo;function ny(){if(fo)return fo;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(fo=e.brands.map((t=>t.brand+"/"+t.version)).join(" "),fo):navigator.userAgent}function bn(e){return e instanceof Kt(e).HTMLElement}function ms(e){return e instanceof Kt(e).Element}function sy(e){return e instanceof Kt(e).Node}function gh(e){return typeof ShadowRoot>"u"?!1:e instanceof Kt(e).ShadowRoot||e instanceof ShadowRoot}function za(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=En(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function cN(e){return["table","td","th"].includes(vs(e))}function Tc(e){const t=/firefox/i.test(ny()),n=En(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 ry(){return!/^((?!chrome|android).)*safari/i.test(ny())}function of(e){return["html","body","#document"].includes(vs(e))}function iy(e){return ms(e)?e:e.contextElement}const oy={x:1,y:1};function pr(e){const t=iy(e);if(!bn(t))return oy;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:i}=ty(t);let o=(i?ia(n.width):n.width)/s,a=(i?ia(n.height):n.height)/r;return o&&Number.isFinite(o)||(o=1),a&&Number.isFinite(a)||(a=1),{x:o,y:a}}function Ai(e,t,n,s){var r,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=iy(e);let l=oy;t&&(s?ms(s)&&(l=pr(s)):l=pr(e));const c=a?Kt(a):window,u=!ry()&&n;let f=(o.left+(u&&((r=c.visualViewport)==null?void 0:r.offsetLeft)||0))/l.x,h=(o.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/l.y,d=o.width/l.x,p=o.height/l.y;if(a){const m=Kt(a),E=s&&ms(s)?Kt(s):s;let g=m.frameElement;for(;g&&s&&E!==m;){const v=pr(g),_=g.getBoundingClientRect(),y=getComputedStyle(g);_.x+=(g.clientLeft+parseFloat(y.paddingLeft))*v.x,_.y+=(g.clientTop+parseFloat(y.paddingTop))*v.y,f*=v.x,h*=v.y,d*=v.x,p*=v.y,f+=_.x,h+=_.y,g=Kt(g).frameElement}}return{width:d,height:p,top:h,right:f+d,bottom:h+p,left:f,x:f,y:h}}function gs(e){return((sy(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ja(e){return ms(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ay(e){return Ai(gs(e)).left+Ja(e).scrollLeft}function Pi(e){if(vs(e)==="html")return e;const t=e.assignedSlot||e.parentNode||gh(e)&&e.host||gs(e);return gh(t)?t.host:t}function ly(e){const t=Pi(e);return of(t)?t.ownerDocument.body:bn(t)&&za(t)?t:ly(t)}function oa(e,t){var n;t===void 0&&(t=[]);const s=ly(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),i=Kt(s);return r?t.concat(i,i.visualViewport||[],za(s)?s:[]):t.concat(s,oa(s))}function _h(e,t,n){return t==="viewport"?zr((function(s,r){const i=Kt(s),o=gs(s),a=i.visualViewport;let l=o.clientWidth,c=o.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const h=ry();(h||!h&&r==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}})(e,n)):ms(t)?zr((function(s,r){const i=Ai(s,!0,r==="fixed"),o=i.top+s.clientTop,a=i.left+s.clientLeft,l=bn(s)?pr(s):{x:1,y:1};return{width:s.clientWidth*l.x,height:s.clientHeight*l.y,x:a*l.x,y:o*l.y}})(t,n)):zr((function(s){const r=gs(s),i=Ja(s),o=s.ownerDocument.body,a=Jr(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),l=Jr(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let c=-i.scrollLeft+ay(s);const u=-i.scrollTop;return En(o).direction==="rtl"&&(c+=Jr(r.clientWidth,o.clientWidth)-a),{width:a,height:l,x:c,y:u}})(gs(e)))}function yh(e){return bn(e)&&En(e).position!=="fixed"?e.offsetParent:null}function vh(e){const t=Kt(e);let n=yh(e);for(;n&&cN(n)&&En(n).position==="static";)n=yh(n);return n&&(vs(n)==="html"||vs(n)==="body"&&En(n).position==="static"&&!Tc(n))?t:n||(function(s){let r=Pi(s);for(;bn(r)&&!of(r);){if(Tc(r))return r;r=Pi(r)}return null})(e)||t}function uN(e,t,n){const s=bn(t),r=gs(t),i=Ai(e,!0,n==="fixed",t);let o={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(s||!s&&n!=="fixed")if((vs(t)!=="body"||za(r))&&(o=Ja(t)),bn(t)){const l=Ai(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else r&&(a.x=ay(r));return{x:i.left+o.scrollLeft-a.x,y:i.top+o.scrollTop-a.y,width:i.width,height:i.height}}const fN={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:s,strategy:r}=e;const i=n==="clippingAncestors"?(function(c,u){const f=u.get(c);if(f)return f;let h=oa(c).filter((E=>ms(E)&&vs(E)!=="body")),d=null;const p=En(c).position==="fixed";let m=p?Pi(c):c;for(;ms(m)&&!of(m);){const E=En(m),g=Tc(m);(p?g||d:g||E.position!=="static"||!d||!["absolute","fixed"].includes(d.position))?d=E:h=h.filter((v=>v!==m)),m=Pi(m)}return u.set(c,h),h})(t,this._c):[].concat(n),o=[...i,s],a=o[0],l=o.reduce(((c,u)=>{const f=_h(t,u,r);return c.top=Jr(f.top,c.top),c.right=mh(f.right,c.right),c.bottom=mh(f.bottom,c.bottom),c.left=Jr(f.left,c.left),c}),_h(t,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:s}=e;const r=bn(n),i=gs(n);if(n===i)return t;let o={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((r||!r&&s!=="fixed")&&((vs(n)!=="body"||za(i))&&(o=Ja(n)),bn(n))){const c=Ai(n);a=pr(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-o.scrollLeft*a.x+l.x,y:t.y*a.y-o.scrollTop*a.y+l.y}},isElement:ms,getDimensions:function(e){return bn(e)?ty(e):e.getBoundingClientRect()},getOffsetParent:vh,getDocumentElement:gs,getScale:pr,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||vh,i=this.getDimensions;return{reference:uN(t,await r(n),s),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>En(e).direction==="rtl"},dN=(e,t,n)=>{const s=new Map,r={platform:fN,...n},i={...r.platform,_c:s};return eN(e,t,{...r,platform:i})};function cy(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?cy(e[n],t[n]):e[n]=t[n])}const an={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 Ii(e,t){let n=an.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=an.themes[n.$extend]||{}:(n=null,s=an[t]):n=null;while(n);return s}function hN(e){const t=[e];let n=an.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=an.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function Eh(e){const t=[e];let n=an.themes[e]||{};do n.$extend?(t.push(n.$extend),n=an.themes[n.$extend]||{}):n=null;while(n);return t}let Ar=!1;if(typeof window<"u"){Ar=!1;try{const e=Object.defineProperty({},"passive",{get(){Ar=!0}});window.addEventListener("test",null,e)}catch{}}let uy=!1;typeof window<"u"&&typeof navigator<"u"&&(uy=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const fy=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),bh={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Th={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Sh(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function wl(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const tn=[];let As=null;const wh={};function Ch(e){let t=wh[e];return t||(t=wh[e]=[]),t}let Sc=function(){};typeof window<"u"&&(Sc=window.Element);function ge(e){return function(t){return Ii(t.theme,e)}}const Cl="__floating-vue__popper",dy=()=>Dt({name:"VPopper",provide(){return{[Cl]:{parentPopper:this}}},inject:{[Cl]:{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:ge("disabled")},positioningDisabled:{type:Boolean,default:ge("positioningDisabled")},placement:{type:String,default:ge("placement"),validator:e=>fy.includes(e)},delay:{type:[String,Number,Object],default:ge("delay")},distance:{type:[Number,String],default:ge("distance")},skidding:{type:[Number,String],default:ge("skidding")},triggers:{type:Array,default:ge("triggers")},showTriggers:{type:[Array,Function],default:ge("showTriggers")},hideTriggers:{type:[Array,Function],default:ge("hideTriggers")},popperTriggers:{type:Array,default:ge("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ge("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ge("popperHideTriggers")},container:{type:[String,Object,Sc,Boolean],default:ge("container")},boundary:{type:[String,Sc],default:ge("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ge("strategy")},autoHide:{type:[Boolean,Function],default:ge("autoHide")},handleResize:{type:Boolean,default:ge("handleResize")},instantMove:{type:Boolean,default:ge("instantMove")},eagerMount:{type:Boolean,default:ge("eagerMount")},popperClass:{type:[String,Array,Object],default:ge("popperClass")},computeTransformOrigin:{type:Boolean,default:ge("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ge("autoMinSize")},autoSize:{type:[Boolean,String],default:ge("autoSize")},autoMaxSize:{type:Boolean,default:ge("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ge("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ge("preventOverflow")},overflowPadding:{type:[Number,String],default:ge("overflowPadding")},arrowPadding:{type:[Number,String],default:ge("arrowPadding")},arrowOverflow:{type:Boolean,default:ge("arrowOverflow")},flip:{type:Boolean,default:ge("flip")},shift:{type:Boolean,default:ge("shift")},shiftCrossAxis:{type:Boolean,default:ge("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ge("noAutoFocus")},disposeTimeout:{type:Number,default:ge("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[Cl])==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(oN({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(sN({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(aN({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(rN({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(tN({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:s,rects:r,middlewareData:i})=>{let o;const{centerOffset:a}=i.arrow;return s.startsWith("top")||s.startsWith("bottom")?o=Math.abs(a)>r.reference.width/2:o=Math.abs(a)>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 a;if((a=o.autoSize)!=null&&a.skip)return{};let l,c;return i.startsWith("top")||i.startsWith("bottom")?l=r.reference.width:c=r.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=l!=null?`${l}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(lN({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 dN(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),As&&this.instantMove&&As.instantMove&&As!==this.parentPopper){As.$_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&&(As=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 wl(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...oa(this.$_referenceNode),...oa(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<tn.length;n++)t=tn[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}tn.push(this),document.body.classList.add("v-popper--some-open");for(const t of Eh(this.theme))Ch(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 wl(),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,Sh(tn,this),tn.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Eh(this.theme)){const s=Ch(n);Sh(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}As===this&&(As=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 wl(),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,bh,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],bh,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Th,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Th,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,Ar?{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 a=t[o];a&&this.$_registerEventListeners(e,a,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(Zr>=e.left&&Zr<=e.right&&ei>=e.top&&ei<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Zr-rs,s=ei-is,r=t.left+t.width/2-rs+(t.top+t.height/2)-is+t.width+t.height,i=rs+n*r,o=is+s*r;return ho(rs,is,i,o,t.left,t.top,t.left,t.bottom)||ho(rs,is,i,o,t.left,t.top,t.right,t.top)||ho(rs,is,i,o,t.right,t.top,t.right,t.bottom)||ho(rs,is,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(uy){const e=Ar?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Oh(t,!0),e),document.addEventListener("touchend",t=>Nh(t,!0),e)}else window.addEventListener("mousedown",e=>Oh(e,!1),!0),window.addEventListener("click",e=>Nh(e,!1),!0);window.addEventListener("resize",mN)}function Oh(e,t){if(an.autoHideOnMousedown)hy(e,t);else for(let n=0;n<tn.length;n++){const s=tn[n];try{s.mouseDownContains=s.popperNode().contains(e.target)}catch{}}}function Nh(e,t){an.autoHideOnMousedown||hy(e,t)}function hy(e,t){const n={};for(let s=tn.length-1;s>=0;s--){const r=tn[s];try{const i=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!n[r.randomId]&&Ah(r,i,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let a=r.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let o=r.parentPopper;for(;o&&Ah(o,o.containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function Ah(e,t,n){return n.closeAllPopover||n.closePopover&&t||pN(e,n)&&!t}function pN(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function mN(){for(let e=0;e<tn.length;e++)tn[e].$_computePosition()}let rs=0,is=0,Zr=0,ei=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{rs=Zr,is=ei,Zr=e.clientX,ei=e.clientY},Ar?{passive:!0}:void 0);function ho(e,t,n,s,r,i,o,a){const l=((o-r)*(t-i)-(a-i)*(e-r))/((a-i)*(n-e)-(o-r)*(s-t)),c=((n-e)*(t-i)-(s-t)*(e-r))/((a-i)*(n-e)-(o-r)*(s-t));return l>=0&&l<=1&&c>=0&&c<=1}const gN={extends:dy()},Za=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function _N(e,t,n,s,r,i){return Nt(),yr("div",{ref:"reference",class:zn(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[hi(e.$slots,"default",jc(_u(e.slotData)))],2)}const yN=Za(gN,[["render",_N]]);function vN(){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 Po;function wc(){wc.init||(wc.init=!0,Po=vN()!==-1)}var el={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){wc(),Yt(()=>{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",Po&&this.$el.appendChild(e),e.data="about:blank",Po||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&&(!Po&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const EN=hm();fm("data-v-b329ee4c");const bN={class:"resize-observer",tabindex:"-1"};dm();const TN=EN((e,t,n,s,r,i)=>(Nt(),Xn("div",bN)));el.render=TN;el.__scopeId="data-v-b329ee4c";el.__file="src/components/ResizeObserver.vue";const py=(e="theme")=>({computed:{themeClass(){return hN(this[e])}}}),SN=Dt({name:"VPopperContent",components:{ResizeObserver:el},mixins:[py()],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}}}),wN=["id","aria-hidden","tabindex","data-popper-placement"],CN={ref:"inner",class:"v-popper__inner"},ON=_n("div",{class:"v-popper__arrow-outer"},null,-1),NN=_n("div",{class:"v-popper__arrow-inner"},null,-1),AN=[ON,NN];function PN(e,t,n,s,r,i){const o=Ws("ResizeObserver");return Nt(),yr("div",{id:e.popperId,ref:"popover",class:zn(["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:Fn(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]=Cg(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[_n("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),_n("div",{class:"v-popper__wrapper",style:Fn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[_n("div",CN,[e.mounted?(Nt(),yr(Ke,{key:0},[_n("div",null,[hi(e.$slots,"default")]),e.handleResize?(Nt(),Xn(o,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Yl("",!0)],64)):Yl("",!0)],512),_n("div",{ref:"arrow",class:"v-popper__arrow-container",style:Fn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},AN,4)],4)],46,wN)}const my=Za(SN,[["render",PN]]),gy={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 Cc=function(){};typeof window<"u"&&(Cc=window.Element);const IN=Dt({name:"VPopperWrapper",components:{Popper:yN,PopperContent:my},mixins:[gy,py("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,Cc,Boolean],default:void 0},boundary:{type:[String,Cc],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 RN(e,t,n,s,r,i){const o=Ws("PopperContent"),a=Ws("Popper");return Nt(),Xn(a,Ia({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]=l=>e.$emit("update:shown",l)),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:js(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,show:d,hide:p,handleResize:m,onResize:E,classes:g,result:v})=>[hi(e.$slots,"default",{shown:c,show:d,hide:p}),Ie(o,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":m,classes:g,result:v,onHide:p,onResize:E},{default:js(()=>[hi(e.$slots,"popper",{shown:c,hide:p})]),_: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 af=Za(IN,[["render",RN]]),LN={...af,name:"VDropdown",vPopperTheme:"dropdown"},MN={...af,name:"VMenu",vPopperTheme:"menu"},xN={...af,name:"VTooltip",vPopperTheme:"tooltip"},DN=Dt({name:"VTooltipDirective",components:{Popper:dy(),PopperContent:my},mixins:[gy],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Ii(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Ii(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}}}),kN=["innerHTML"],FN=["textContent"];function $N(e,t,n,s,r,i){const o=Ws("PopperContent"),a=Ws("Popper");return Nt(),Xn(a,Ia({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:js(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,hide:d,handleResize:p,onResize:m,classes:E,result:g})=>[Ie(o,{ref:"popperContent",class:zn({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":p,classes:E,result:g,onHide:d,onResize:m},{default:js(()=>[e.html?(Nt(),yr("div",{key:0,innerHTML:e.finalContent},null,8,kN)):(Nt(),yr("div",{key:1,textContent:_a(e.finalContent)},null,8,FN))]),_: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 VN=Za(DN,[["render",$N]]),_y="v-popper--has-tooltip";function HN(e,t){let n=e.placement;if(!n&&t)for(const s of fy)t[s]&&(n=s);return n||(n=Ii(e.theme||"tooltip","placement")),n}function yy(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=HN(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let Ol,Ri,UN=0;function BN(){if(Ol)return;Ri=it([]),Ol=_i({name:"VTooltipDirectiveApp",setup(){return{directives:Ri}},render(){return this.directives.map(t=>er(VN,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Ol.mount(e)}function jN(e,t,n){BN();const s=it(yy(e,t,n)),r=it(!1),i={id:UN++,options:s,shown:r};return Ri.value.push(i),e.classList&&e.classList.add(_y),e.$_popper={options:s,item:i,show(){r.value=!0},hide(){r.value=!1}}}function vy(e){if(e.$_popper){const t=Ri.value.indexOf(e.$_popper.item);t!==-1&&Ri.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(_y)}function Ph(e,{value:t,modifiers:n}){const s=yy(e,t,n);if(!s.content||Ii(s.theme||"tooltip","disabled"))vy(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=jN(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const WN={beforeMount:Ph,updated:Ph,beforeUnmount(e){vy(e)}};function Ih(e){e.addEventListener("mousedown",aa),e.addEventListener("click",aa),e.addEventListener("touchstart",Ey,Ar?{passive:!0}:!1)}function Rh(e){e.removeEventListener("mousedown",aa),e.removeEventListener("click",aa),e.removeEventListener("touchstart",Ey),e.removeEventListener("touchend",by),e.removeEventListener("touchcancel",Ty)}function aa(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Ey(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",by),t.addEventListener("touchcancel",Ty)}}function by(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 Ty(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const GN={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Ih(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?Ih(e):Rh(e))},beforeUnmount(e){Rh(e)}};function KN(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,cy(an,t),e.directive("tooltip",WN),e.directive("close-popper",GN),e.component("VTooltip",xN),e.component("VDropdown",LN),e.component("VMenu",MN))}const qN={version:"5.2.2",install:KN,options:an},XN=e=>{const t={};Object.entries(Object.assign({"/src/layouts/board-layout.vue":()=>Rt(()=>import("./board-layout-BJ9XOEk7.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"/src/layouts/default.vue":()=>Rt(()=>import("./default-DXQxfsL1.js"),__vite__mapDeps([7,1,2,3,4,5,6]),import.meta.url),"/src/layouts/headless.vue":()=>Rt(()=>import("./headless-CT9JmEUq.js"),__vite__mapDeps([8,5]),import.meta.url),"/src/layouts/index-layout.vue":()=>Rt(()=>import("./index-layout-DYzYhlvo.js"),__vite__mapDeps([9,1,2,3,4,5,6]),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=>{if(o.children?.length>0&&(o.children=s(o.children,!1)),i){if(!o.component&&o.children?.find(l=>(l.path===""||l.path==="/")&&l.meta?.isLayout))return o;if(o.meta?.layout!==!1)return{path:o.path,component:t[o.meta?.layout||"default"],children:o.path==="/"?[o]:[{...o,path:""}],meta:{isLayout:!0}}}return o.meta?.layout?{path:o.path,component:t[o.meta?.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return s(e)},QN=new Set(["link","style","script","noscript"]),YN=new Set(["title","titleTemplate","script","style","noscript"]),Lh=new Set(["base","meta","link","style","script","noscript"]),zN=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),JN=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),ZN=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),eA=new Set(["templateParams","htmlAttrs","bodyAttrs"]),tA=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),nA=["name","property","http-equiv"],sA=new Set(["viewport","description","keywords","robots"]);function Sy(e){const t=e.split(":");return t.length?tA.has(t[1]):!1}function Oc(e){const{props:t,tag:n}=e;if(JN.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const s of nA)if(t[s]!==void 0){const r=t[s],i=r.includes(":"),o=sA.has(r),l=!(i||o)&&e.key?`:key:${e.key}`:"";return`${n}:${r}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(YN.has(n)){const s=e.textContent||e.innerHTML;if(s)return`${n}:content:${s}`}}function Mh(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([s,r])=>`${s}:${String(r)}`).join(",")}`}function la(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let r;if(t&&(r=t(n,e)),Array.isArray(r))return r.map(i=>la(i,t));if(r?.constructor===Object){const i={};for(const o of Object.keys(r))i[o]=la(r[o],t,o);return i}return r}function rA(e,t){const n=e==="style"?new Map:new Set;function s(r){const i=r.trim();if(i)if(e==="style"){const[o,...a]=i.split(":").map(l=>l.trim());o&&a.length&&n.set(o,a.join(":"))}else i.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof t=="string"?e==="style"?t.split(";").forEach(s):s(t):Array.isArray(t)?t.forEach(r=>s(r)):t&&typeof t=="object"&&Object.entries(t).forEach(([r,i])=>{i&&i!=="false"&&(e==="style"?n.set(r.trim(),i):s(r))}),n}function wy(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,s])=>{if(s===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=rA(n,s);return}if(ZN.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof s=="object"){let o=t.type;if(t.type||(o="application/json"),!o?.endsWith("json")&&o!=="speculationrules")return;t.type=o,e.props.type=o,e[n]=JSON.stringify(s)}else e[n]=s;return}const r=String(s),i=n.startsWith("data-");r==="true"||r===""?e.props[n]=i?r:!0:!s&&i&&r==="false"?e.props[n]="false":s!==void 0&&(e.props[n]=s)}),e):e}function iA(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},s=wy({tag:e,props:{}},n);return s.key&&QN.has(s.tag)&&(s.props["data-hid"]=s._h=s.key),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(r=>({...s,props:{...s.props,content:r}})):s}function oA(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(r,i)=>{for(let o=0;o<t.length;o++)i=t[o](r,i);return i};e=n(void 0,e);const s=[];return e=la(e,n),Object.entries(e||{}).forEach(([r,i])=>{if(i!==void 0)for(const o of Array.isArray(i)?i:[i])s.push(iA(r,o))}),s.flat()}const xh=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Dh={base:-10,title:10},aA={critical:-8,high:-1,low:2},kh={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},lA=/@import/,Hr=e=>e===""||e===!0;function cA(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const s=aA[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:kh;if(t.tag in Dh)n=Dh[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=kh.meta[i])}else t.tag==="link"&&t.props.rel?n=r.link[t.props.rel]:t.tag==="script"?Hr(t.props.async)?n=r.script.async:t.props.src&&!Hr(t.props.defer)&&!Hr(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=r.script.sync:Hr(t.props.defer)&&t.props.src&&!Hr(t.props.async)&&(n=r.script.defer):t.tag==="style"&&(n=t.innerHTML&&lA.test(t.innerHTML)?r.style.imported:r.style.sync);return(n||100)+s}function Fh(e,t){const n=typeof t=="function"?t(e):t,s=n.key||String(e.plugins.size+1);e.plugins.get(s)||(e.plugins.set(s,n),e.hooks.addHooks(n.hooks||{}))}function uA(e={}){const t=ow();t.addHooks(e.hooks||{});const n=!e.document,s=new Map,r=new Map,i=new Set,o={_entryCount:1,plugins:r,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:s,headEntries(){return[...s.values()]},use:a=>Fh(o,a),push(a,l){const c={...l||{}};delete c.head;const u=c._index??o._entryCount++,f={_i:u,input:a,options:c},h={_poll(d=!1){o.dirty=!0,!d&&i.add(u),t.callHook("entries:updated",o)},dispose(){s.delete(u)&&o.invalidate()},patch(d){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(f.input=d,s.set(u,f),h._poll())}};return h.patch(a),h},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const h=i.values().next().value;i.delete(h);const d=s.get(h);if(d){const p={tags:oA(d.input,e.propResolvers||[]).map(m=>Object.assign(m,d.options)),entry:d};await t.callHook("entries:normalize",p),d._tags=p.tags.map((m,E)=>(m._w=cA(o,m),m._p=(d._i<<10)+E,m._d=Oc(m),m))}}let l=!1;a.entries.flatMap(h=>(h._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(xh).reduce((h,d)=>{const p=String(d._d||d._p);if(!h.has(p))return h.set(p,d);const m=h.get(p);if((d?.tagDuplicateStrategy||(eA.has(d.tag)?"merge":null)||(d.key&&d.key===m.key?"merge":null))==="merge"){const g={...m.props};Object.entries(d.props).forEach(([v,_])=>g[v]=v==="style"?new Map([...m.props.style||new Map,..._]):v==="class"?new Set([...m.props.class||new Set,..._]):_),h.set(p,{...d,props:g})}else d._p>>10===m._p>>10&&d.tag==="meta"&&Sy(p)?(h.set(p,Object.assign([...Array.isArray(m)?m:[m],d],d)),l=!0):(d._w===m._w?d._p>m._p:d?._w<m?._w)&&h.set(p,d);return h},a.tagMap);const c=a.tagMap.get("title"),u=a.tagMap.get("titleTemplate");if(o._title=c?.textContent,u){const h=u?.textContent;if(o._titleTemplate=h,h){let d=typeof h=="function"?h(c?.textContent):h;typeof d=="string"&&!o.plugins.has("template-params")&&(d=d.replace("%s",c?.textContent||"")),c?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...c,textContent:d}):(u.tag="title",u.textContent=d)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(xh)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const h of a.tags){const{innerHTML:d,tag:p,props:m}=h;if(zN.has(p)&&!(Object.keys(m).length===0&&!h.innerHTML&&!h.textContent)&&!(p==="meta"&&!m.content&&!m["http-equiv"]&&!m.charset)){if(p==="script"&&d){if(m.type?.endsWith("json")){const E=typeof d=="string"?d:JSON.stringify(d);h.innerHTML=E.replace(/</g,"\\u003C")}else typeof d=="string"&&(h.innerHTML=d.replace(new RegExp(`</${p}`,"g"),`<\\/${p}`));h._d=Oc(h)}f.push(h)}}return f},invalidate(){for(const a of s.values())i.add(a._i);o.dirty=!0,t.callHook("entries:updated",o)}};return(e?.plugins||[]).forEach(a=>Fh(o,a)),o.hooks.callHook("init",o),e.init?.forEach(a=>a&&o.push(a)),o}async function Cy(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=>{const i=new Map,o=new Promise(d=>{e.resolveTags().then(p=>{d(p.map(m=>{const E=i.get(m._d)||0,g={tag:m,id:(E?`${m._d}:${E}`:m._d)||Mh(m),shouldRender:!0};return m._d&&Sy(m._d)&&i.set(m._d,E+1),g}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const p=n[d]?.children;for(const m of p){const E=m.tagName.toLowerCase();if(!Lh.has(E))continue;const g=wy({tag:E,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((v,_)=>(v[_]=m.getAttribute(_),v),{})||{}});if(g.key=m.getAttribute("data-hid")||void 0,g._d=Oc(g)||Mh(g),a.elMap.has(g._d)){let v=1,_=g._d;for(;a.elMap.has(_);)_=`${g._d}:${v++}`;a.elMap.set(_,m)}else a.elMap.set(g._d,m)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(d,p,m){const E=`${d}:${p}`;a.sideEffects[E]=m,delete a.pendingSideEffects[E]}function c({id:d,$el:p,tag:m}){const E=m.tag.endsWith("Attrs");a.elMap.set(d,p),E||(m.textContent&&m.textContent!==p.textContent&&(p.textContent=m.textContent),m.innerHTML&&m.innerHTML!==p.innerHTML&&(p.innerHTML=m.innerHTML),l(d,"el",()=>{p?.remove(),a.elMap.delete(d)}));for(const g in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,g))continue;const v=m.props[g];if(g.startsWith("on")&&typeof v=="function"){const y=p?.dataset;if(y&&y[`${g}fired`]){const T=g.slice(0,-5);v.call(p,new Event(T.substring(2)))}p.getAttribute(`data-${g}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:p).addEventListener(g.substring(2),v.bind(p)),p.setAttribute(`data-${g}`,""));continue}const _=`attr:${g}`;if(g==="class"){if(!v)continue;for(const y of v)E&&l(d,`${_}:${y}`,()=>p.classList.remove(y)),!p.classList.contains(y)&&p.classList.add(y)}else if(g==="style"){if(!v)continue;for(const[y,T]of v)l(d,`${_}:${y}`,()=>{p.style.removeProperty(y)}),p.style.setProperty(y,T)}else v!==!1&&v!==null&&(p.getAttribute(g)!==v&&p.setAttribute(g,v===!0?"":String(v)),E&&l(d,_,()=>p.removeAttribute(g)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await o;for(const d of h){const{tag:p,shouldRender:m,id:E}=d;if(m){if(p.tag==="title"){n.title=p.textContent,l("title","",()=>n.title=a.title);continue}d.$el=d.$el||a.elMap.get(E),d.$el?c(d):Lh.has(p.tag)&&u.push(d)}}for(const d of u){const p=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),c(d),f[p]=f[p]||n.createDocumentFragment(),f[p].appendChild(d.$el)}for(const d of h)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 a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:h}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function fA(e={}){const t=e.domOptions?.render||Cy;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return uA({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function dA(e,t){let n=0;return()=>{const s=++n;t(()=>{n===s&&e()})}}const hA=(e,t)=>Re(t)?ae(t):t,Oy="usehead";function pA(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Oy,e)}}.install}function mA(){if(Na()){const e=Ot(Oy);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function gA(e,t={}){const n=t.head||mA();return n.ssr?n.push(e||{},t):_A(n,e,t)}function _A(e,t,n={}){const s=it(!1);let r;return gu(()=>{const o=s.value?{}:la(t,hA);r?r.patch(o):r=e.push(o,n)}),Be()&&(Fi(()=>{r.dispose()}),au(()=>{s.value=!0}),ou(()=>{s.value=!1})),r}function yA(e={}){const t=fA({domOptions:{render:dA(()=>Cy(t),n=>setTimeout(n,0))},...e});return t.install=pA(t),t}/*!
|
|
64
64
|
* vue-router v4.6.3
|
|
65
65
|
* (c) 2025 Eduardo San Martin Morote
|
|
66
66
|
* @license MIT
|
|
@@ -68,4 +68,4 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
68
68
|
* vue-router v4.6.3
|
|
69
69
|
* (c) 2025 Eduardo San Martin Morote
|
|
70
70
|
* @license MIT
|
|
71
|
-
*/let ZA=()=>location.protocol+"//"+location.host;function ky(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,a=r.slice(o);return a[0]!=="/"&&(a="/"+a),Vh(a,"")}return Vh(n,e)+s+r}function eP(e,t,n,s){let r=[],i=[],o=null;const a=({state:h})=>{const d=ky(e,location),p=n.value,m=t.value;let E=0;if(h){if(n.value=d,t.value=h,o&&o===p){o=null;return}E=m?h.position-m.position:0}else s(d);r.forEach(g=>{g(n.value,p,{delta:E,type:Ac.pop,direction:E?E>0?Pl.forward:Pl.back:Pl.unknown})})};function l(){o=n.value}function c(h){r.push(h);const d=()=>{const p=r.indexOf(h);p>-1&&r.splice(p,1)};return i.push(d),d}function u(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(Oe({},h.state,{scroll:tl()}),"")}}function f(){for(const h of i)h();i=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:f}}function Wh(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?tl():null}}function tP(e){const{history:t,location:n}=window,s={value:ky(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(l,c,u){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:ZA()+e+l;try{t[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(d){console.error(d),n[u?"replace":"assign"](h)}}function o(l,c){i(l,Oe({},t.state,Wh(r.value.back,l,r.value.forward,!0),c,{position:r.value.position}),!0),s.value=l}function a(l,c){const u=Oe({},r.value,t.state,{forward:l,scroll:tl()});i(u.current,u,!0),i(l,Oe({},Wh(s.value,l,null),{position:u.position+1},c),!1),s.value=l}return{location:s,state:r,push:a,replace:o}}function nP(e){e=VA(e);const t=tP(e),n=eP(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Oe({location:"",base:e,go:s,createHref:UA.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}let Ms=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var ze=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(ze||{});const sP={type:Ms.Static,value:""},rP=/[a-zA-Z0-9_]/;function iP(e){if(!e)return[[]];if(e==="/")return[[sP]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${c}": ${d}`)}let n=ze.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let a=0,l,c="",u="";function f(){c&&(n===ze.Static?i.push({type:Ms.Static,value:c}):n===ze.Param||n===ze.ParamRegExp||n===ze.ParamRegExpEnd?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Ms.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==ze.ParamRegExp){s=n,n=ze.EscapeNext;continue}switch(n){case ze.Static:l==="/"?(c&&f(),o()):l===":"?(f(),n=ze.Param):h();break;case ze.EscapeNext:h(),n=s;break;case ze.Param:l==="("?n=ze.ParamRegExp:rP.test(l)?h():(f(),n=ze.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case ze.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=ze.ParamRegExpEnd:u+=l;break;case ze.ParamRegExpEnd:f(),n=ze.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===ze.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),o(),r}const Gh="[^/]+?",oP={sensitive:!1,strict:!1,start:!0,end:!0};var bt=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(bt||{});const aP=/[.+*?^${}()[\]/\\]/g;function lP(e,t){const n=Oe({},oP,t),s=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[bt.Root];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let d=bt.Segment+(n.sensitive?bt.BonusCaseSensitive:0);if(h.type===Ms.Static)f||(r+="/"),r+=h.value.replace(aP,"\\$&"),d+=bt.Static;else if(h.type===Ms.Param){const{value:p,repeatable:m,optional:E,regexp:g}=h;i.push({name:p,repeatable:m,optional:E});const v=g||Gh;if(v!==Gh){d+=bt.BonusCustomRegExp;try{`${v}`}catch(y){throw new Error(`Invalid custom RegExp for param "${p}" (${v}): `+y.message)}}let _=m?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(_=E&&c.length<2?`(?:/${_})`:"/"+_),E&&(_+="?"),r+=_,d+=bt.Dynamic,E&&(d+=bt.BonusOptional),m&&(d+=bt.BonusRepeatable),v===".*"&&(d+=bt.BonusWildcard)}u.push(d)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=bt.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function a(c){const u=c.match(o),f={};if(!u)return null;for(let h=1;h<u.length;h++){const d=u[h]||"",p=i[h-1];f[p.name]=d&&p.repeatable?d.split("/"):d}return f}function l(c){let u="",f=!1;for(const h of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const d of h)if(d.type===Ms.Static)u+=d.value;else if(d.type===Ms.Param){const{value:p,repeatable:m,optional:E}=d,g=p in c?c[p]:"";if(un(g)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const v=un(g)?g.join("/"):g;if(!v)if(E)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=v}}return u||"/"}return{re:o,score:s,keys:i,parse:a,stringify:l}}function cP(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]===bt.Static+bt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===bt.Static+bt.Segment?1:-1:0}function Fy(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=cP(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(Kh(s))return 1;if(Kh(r))return-1}return r.length-s.length}function Kh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const uP={strict:!1,end:!0,sensitive:!1};function fP(e,t,n){const s=lP(iP(e.path),n),r=Oe(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function dP(e,t){const n=[],s=new Map;t=$h(uP,t);function r(f){return s.get(f)}function i(f,h,d){const p=!d,m=Xh(f);m.aliasOf=d&&d.record;const E=$h(t,f),g=[m];if("alias"in f){const y=typeof f.alias=="string"?[f.alias]:f.alias;for(const T of y)g.push(Xh(Oe({},m,{components:d?d.record.components:m.components,path:T,aliasOf:d?d.record:m})))}let v,_;for(const y of g){const{path:T}=y;if(h&&T[0]!=="/"){const O=h.record.path,N=O[O.length-1]==="/"?"":"/";y.path=h.record.path+(T&&N+T)}if(v=fP(y,h,E),d?d.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),p&&f.name&&!Qh(v)&&o(f.name)),$y(v)&&l(v),m.children){const O=m.children;for(let N=0;N<O.length;N++)i(O[N],v,d&&d.children[N])}d=d||v}return _?()=>{o(_)}:ti}function o(f){if(xy(f)){const h=s.get(f);h&&(s.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&s.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return n}function l(f){const h=mP(f,n);n.splice(h,0,f),f.record.name&&!Qh(f)&&s.set(f.record.name,f)}function c(f,h){let d,p={},m,E;if("name"in f&&f.name){if(d=s.get(f.name),!d)throw Ir(He.MATCHER_NOT_FOUND,{location:f});E=d.record.name,p=Oe(qh(h.params,d.keys.filter(_=>!_.optional).concat(d.parent?d.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),f.params&&qh(f.params,d.keys.map(_=>_.name))),m=d.stringify(p)}else if(f.path!=null)m=f.path,d=n.find(_=>_.re.test(m)),d&&(p=d.parse(m),E=d.record.name);else{if(d=h.name?s.get(h.name):n.find(_=>_.re.test(h.path)),!d)throw Ir(He.MATCHER_NOT_FOUND,{location:f,currentLocation:h});E=d.record.name,p=Oe({},h.params,f.params),m=d.stringify(p)}const g=[];let v=d;for(;v;)g.unshift(v.record),v=v.parent;return{name:E,path:m,params:p,matched:g,meta:pP(g)}}e.forEach(f=>i(f));function u(){n.length=0,s.clear()}return{addRoute:i,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:r}}function qh(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Xh(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:hP(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 hP(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 Qh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pP(e){return e.reduce((t,n)=>Oe(t,n.meta),{})}function mP(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;Fy(e,t[i])<0?s=i:n=i+1}const r=gP(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function gP(e){let t=e;for(;t=t.parent;)if($y(t)&&Fy(e,t)===0)return t}function $y({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Yh(e){const t=Ot(nl),n=Ot(cf),s=he(()=>{const l=rn(e.to);return t.resolve(l)}),r=he(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const h=f.findIndex(Pr.bind(null,u));if(h>-1)return h;const d=zh(l[c-2]);return c>1&&zh(u)===d&&f[f.length-1].path!==d?f.findIndex(Pr.bind(null,l[c-2])):h}),i=he(()=>r.value>-1&&bP(n.params,s.value.params)),o=he(()=>r.value>-1&&r.value===n.matched.length-1&&My(n.params,s.value.params));function a(l={}){if(EP(l)){const c=t[rn(e.replace)?"replace":"push"](rn(e.to)).catch(ti);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:he(()=>s.value.href),isActive:i,isExactActive:o,navigate:a}}function _P(e){return e.length===1?e[0]:e}const yP=Dt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Yh,setup(e,{slots:t}){const n=Wn(Yh(e)),{options:s}=Ot(nl),r=he(()=>({[Jh(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Jh(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&_P(t.default(n));return e.custom?i:er("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),vP=yP;function EP(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 bP(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(!un(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function zh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Jh=(e,t,n)=>e??t??n,TP=Dt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ot(Ic),r=he(()=>e.route||s.value),i=Ot(jh,0),o=he(()=>{let c=rn(i);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=he(()=>r.value.matched[o.value]);Xr(jh,he(()=>o.value+1)),Xr(zA,a),Xr(Ic,r);const l=it();return ke(()=>[l.value,a.value,e.name],([c,u,f],[h,d,p])=>{u&&(u.instances[f]=c,d&&d!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!Pr(u,d)||!h)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=a.value,h=f&&f.components[u];if(!h)return Zh(n.default,{Component:h,route:c});const d=f.props[u],p=d?d===!0?c.params:typeof d=="function"?d(c):d:null,E=er(h,Oe({},p,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Zh(n.default,{Component:E,route:c})||E}}});function Zh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const SP=TP;function wP(e){const t=dP(e.routes,e),n=e.parseQuery||QA,s=e.stringifyQuery||Bh,r=e.history,i=Ur(),o=Ur(),a=Ur(),l=Ee(ns);let c=ns;lr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Nl.bind(null,H=>""+H),f=Nl.bind(null,LA),h=Nl.bind(null,Li);function d(H,J){let Q,te;return xy(H)?(Q=t.getRecordMatcher(H),te=J):te=H,t.addRoute(te,Q)}function p(H){const J=t.getRecordMatcher(H);J&&t.removeRoute(J)}function m(){return t.getRoutes().map(H=>H.record)}function E(H){return!!t.getRecordMatcher(H)}function g(H,J){if(J=Oe({},J||l.value),typeof H=="string"){const A=Al(n,H,J.path),D=t.resolve({path:A.path},J),W=r.createHref(A.fullPath);return Oe(A,D,{params:h(D.params),hash:Li(A.hash),redirectedFrom:void 0,href:W})}let Q;if(H.path!=null)Q=Oe({},H,{path:Al(n,H.path,J.path).path});else{const A=Oe({},H.params);for(const D in A)A[D]==null&&delete A[D];Q=Oe({},H,{params:f(A)}),J.params=f(J.params)}const te=t.resolve(Q,J),oe=H.hash||"";te.params=u(h(te.params));const Ae=DA(s,Oe({},H,{hash:PA(oe),path:te.path})),w=r.createHref(Ae);return Oe({fullPath:Ae,hash:oe,query:s===Bh?YA(H.query):H.query||{}},te,{redirectedFrom:void 0,href:w})}function v(H){return typeof H=="string"?Al(n,H,l.value.path):Oe({},H)}function _(H,J){if(c!==H)return Ir(He.NAVIGATION_CANCELLED,{from:J,to:H})}function y(H){return N(H)}function T(H){return y(Oe(v(H),{replace:!0}))}function O(H,J){const Q=H.matched[H.matched.length-1];if(Q&&Q.redirect){const{redirect:te}=Q;let oe=typeof te=="function"?te(H,J):te;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=v(oe):{path:oe},oe.params={}),Oe({query:H.query,hash:H.hash,params:oe.path!=null?{}:H.params},oe)}}function N(H,J){const Q=c=g(H),te=l.value,oe=H.state,Ae=H.force,w=H.replace===!0,A=O(Q,te);if(A)return N(Oe(v(A),{state:typeof A=="object"?Oe({},oe,A.state):oe,force:Ae,replace:w}),J||Q);const D=Q;D.redirectedFrom=J;let W;return!Ae&&kA(s,te,Q)&&(W=Ir(He.NAVIGATION_DUPLICATED,{to:D,from:te}),Ce(te,te,!0,!1)),(W?Promise.resolve(W):P(D,te)).catch(U=>Nn(U)?Nn(U,He.NAVIGATION_GUARD_REDIRECT)?U:we(U):K(U,D,te)).then(U=>{if(U){if(Nn(U,He.NAVIGATION_GUARD_REDIRECT))return N(Oe({replace:w},v(U.to),{state:typeof U.to=="object"?Oe({},oe,U.to.state):oe,force:Ae}),J||D)}else U=R(D,te,!0,w,oe);return x(D,te,U),U})}function I(H,J){const Q=_(H,J);return Q?Promise.reject(Q):Promise.resolve()}function S(H){const J=et.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(H):H()}function P(H,J){let Q;const[te,oe,Ae]=JA(H,J);Q=Il(te.reverse(),"beforeRouteLeave",H,J);for(const A of te)A.leaveGuards.forEach(D=>{Q.push(us(D,H,J))});const w=I.bind(null,H,J);return Q.push(w),ye(Q).then(()=>{Q=[];for(const A of i.list())Q.push(us(A,H,J));return Q.push(w),ye(Q)}).then(()=>{Q=Il(oe,"beforeRouteUpdate",H,J);for(const A of oe)A.updateGuards.forEach(D=>{Q.push(us(D,H,J))});return Q.push(w),ye(Q)}).then(()=>{Q=[];for(const A of Ae)if(A.beforeEnter)if(un(A.beforeEnter))for(const D of A.beforeEnter)Q.push(us(D,H,J));else Q.push(us(A.beforeEnter,H,J));return Q.push(w),ye(Q)}).then(()=>(H.matched.forEach(A=>A.enterCallbacks={}),Q=Il(Ae,"beforeRouteEnter",H,J,S),Q.push(w),ye(Q))).then(()=>{Q=[];for(const A of o.list())Q.push(us(A,H,J));return Q.push(w),ye(Q)}).catch(A=>Nn(A,He.NAVIGATION_CANCELLED)?A:Promise.reject(A))}function x(H,J,Q){a.list().forEach(te=>S(()=>te(H,J,Q)))}function R(H,J,Q,te,oe){const Ae=_(H,J);if(Ae)return Ae;const w=J===ns,A=lr?history.state:{};Q&&(te||w?r.replace(H.fullPath,Oe({scroll:w&&A&&A.scroll},oe)):r.push(H.fullPath,oe)),l.value=H,Ce(H,J,Q,w),we()}let $;function V(){$||($=r.listen((H,J,Q)=>{if(!tt.listening)return;const te=g(H),oe=O(te,tt.currentRoute.value);if(oe){N(Oe(oe,{replace:!0,force:!0}),te).catch(ti);return}c=te;const Ae=l.value;lr&&WA(Uh(Ae.fullPath,Q.delta),tl()),P(te,Ae).catch(w=>Nn(w,He.NAVIGATION_ABORTED|He.NAVIGATION_CANCELLED)?w:Nn(w,He.NAVIGATION_GUARD_REDIRECT)?(N(Oe(v(w.to),{force:!0}),te).then(A=>{Nn(A,He.NAVIGATION_ABORTED|He.NAVIGATION_DUPLICATED)&&!Q.delta&&Q.type===Ac.pop&&r.go(-1,!1)}).catch(ti),Promise.reject()):(Q.delta&&r.go(-Q.delta,!1),K(w,te,Ae))).then(w=>{w=w||R(te,Ae,!1),w&&(Q.delta&&!Nn(w,He.NAVIGATION_CANCELLED)?r.go(-Q.delta,!1):Q.type===Ac.pop&&Nn(w,He.NAVIGATION_ABORTED|He.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),x(te,Ae,w)}).catch(ti)}))}let G=Ur(),j=Ur(),X;function K(H,J,Q){we(H);const te=j.list();return te.length?te.forEach(oe=>oe(H,J,Q)):console.error(H),Promise.reject(H)}function ee(){return X&&l.value!==ns?Promise.resolve():new Promise((H,J)=>{G.add([H,J])})}function we(H){return X||(X=!H,V(),G.list().forEach(([J,Q])=>H?Q(H):J()),G.reset()),H}function Ce(H,J,Q,te){const{scrollBehavior:oe}=e;if(!lr||!oe)return Promise.resolve();const Ae=!Q&&GA(Uh(H.fullPath,0))||(te||!Q)&&history.state&&history.state.scroll||null;return Yt().then(()=>oe(H,J,Ae)).then(w=>w&&jA(w)).catch(w=>K(w,H,J))}const xe=H=>r.go(H);let kt;const et=new Set,tt={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:m,resolve:g,options:e,push:y,replace:T,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:j.add,isReady:ee,install(H){H.component("RouterLink",vP),H.component("RouterView",SP),H.config.globalProperties.$router=tt,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>rn(l)}),lr&&!kt&&l.value===ns&&(kt=!0,y(r.location).catch(te=>{}));const J={};for(const te in ns)Object.defineProperty(J,te,{get:()=>l.value[te],enumerable:!0});H.provide(nl,tt),H.provide(cf,zc(J)),H.provide(Ic,l);const Q=H.unmount;et.add(H),H.unmount=function(){et.delete(H),et.size<1&&(c=ns,$&&$(),$=null,l.value=ns,kt=!1,X=!1),Q()}}};function ye(H){return H.reduce((J,Q)=>J.then(()=>S(Q)),Promise.resolve())}return tt}function wI(){return Ot(nl)}function CI(e){return Ot(cf)}function CP(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}const OP=Dt({setup(e,{slots:t}){const n=it(!1);return Zn(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function NP(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function AP(e,t,n,s){const{transformState:r,registerComponents:i=!0,useHead:o=!0,rootContainer:a="#app"}={};async function l(c){const u=_i(e);let f;o&&u.use(f=yA());const h=wP({history:nP(t.base),...t}),{routes:d}=t;i&&u.component("ClientOnly",OP);const p=[],g={app:u,head:f,isClient:!0,router:h,routes:d,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(p.map(T=>T())),initialState:{},transformState:r,routePath:c};await CP(),g.initialState=r?.(window.__INITIAL_STATE__||{})||NP(window.__INITIAL_STATE__),await n?.(g),u.use(h);let v,_=!0;h.beforeEach((T,O,N)=>{(_||v&&v===T.path)&&(_=!1,v=T.path,T.meta.state=g.initialState),N()});const y=g.initialState;return{...g,initialState:y}}return(async()=>{const{app:c,router:u}=await l();await u.isReady(),c.mount(a,!0)})(),l}const PP=[{path:"/",name:"/",component:()=>Rt(()=>import("./index-_fMCJNi3.js"),__vite__mapDeps([10,11,5,12,13,14,15,2,3,4,16,17]),import.meta.url),meta:{layout:"index-layout"}},{path:"/:all(.*)",name:"/[...all]",component:()=>Rt(()=>import("./_...all_-BAHZYr8d.js"),__vite__mapDeps([18,19,13,14,4,20,5,21,22,23,24,25,26,27,28,2,3,12,15,29,16]),import.meta.url),meta:{layout:"board-layout"}},{path:"/balloon",children:[{path:"",name:"/balloon/",component:()=>Rt(()=>import("./index-CUCowXSF.js"),__vite__mapDeps([30,22,4,23,13,14,24,20,31,16,5]),import.meta.url),meta:{layout:"headless"}}]},{path:"/board",children:[{path:"",name:"/board/",component:()=>Rt(()=>import("./index-DOBgzkLx.js"),__vite__mapDeps([32,27,28,2,3,20,4,13,14,23,24,5,12,15,29,31,16]),import.meta.url),meta:{layout:"board-layout"}}]},{path:"/countdown",children:[{path:"",name:"/countdown/",component:()=>Rt(()=>import("./index-C_1MUfam.js"),__vite__mapDeps([33,19,13,14,4,20,5,21,31,16]),import.meta.url),meta:{layout:"headless"}}]},{path:"/rating",children:[{path:"",name:"/rating/",component:()=>Rt(()=>import("./index-BR1Jeymt.js"),__vite__mapDeps([34,11,5,2,3,4,16,35]),import.meta.url),meta:{layout:"index-layout"}},{path:":all(.*)",name:"/rating/[...all]",component:()=>Rt(()=>import("./_...all_-CJ-wCFRG.js"),__vite__mapDeps([36,28,2,3,4,14,24,37]),import.meta.url)}]},{path:"/resolver",children:[{path:"",name:"/resolver/",component:()=>Rt(()=>import("./index-DQeCOqY8.js"),__vite__mapDeps([38,25,5,13,14,23,24,4,20,26,31,16]),import.meta.url),meta:{layout:"headless"}}]}];function Yn(e){return qc()?(Hp(e),!0):!1}function Rl(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const o=()=>t(i);return Yn(o),{off:o}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(o=>o(...i))),clear:()=>{e.clear()}}}const Ll=new WeakMap,IP=(...e)=>{var t;const n=e[0],s=(t=Be())==null?void 0:t.proxy;if(s==null&&!Na())throw new Error("injectLocal must be called in setup");return s&&Ll.has(s)&&n in Ll.get(s)?Ll.get(s)[n]:Ot(...e)},Rr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const RP=e=>typeof e<"u",Vy=e=>e!=null,LP=Object.prototype.toString,MP=e=>LP.call(e)==="[object Object]",ln=()=>{};function mr(...e){if(e.length!==1)return sm(...e);const t=e[0];return typeof t=="function"?Gn(tu(()=>({get:t,set:ln}))):it(t)}function uf(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 Hy=e=>e();function xP(e,t={}){let n,s,r=ln;const i=l=>{clearTimeout(l),r(),r=ln};let o;return l=>{const c=ae(e),u=ae(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(s&&(i(s),s=void 0),Promise.resolve(l())):new Promise((f,h)=>{r=t.rejectOnCancel?h:f,o=l,u&&!s&&(s=setTimeout(()=>{n&&i(n),s=void 0,f(o())},u)),n=setTimeout(()=>{s&&i(s),s=void 0,f(l())},c)})}}function DP(...e){let t=0,n,s=!0,r=ln,i,o,a,l,c;!Re(e[0])&&typeof e[0]=="object"?{delay:o,trailing:a=!0,leading:l=!0,rejectOnCancel:c=!1}=e[0]:[o,a=!0,l=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,r(),r=ln)};return h=>{const d=ae(o),p=Date.now()-t,m=()=>i=h();return u(),d<=0?(t=Date.now(),m()):(p>d&&(l||!s)?(t=Date.now(),m()):a&&(i=new Promise((E,g)=>{r=c?g:E,n=setTimeout(()=>{t=Date.now(),s=!0,E(m()),u()},Math.max(0,d-p))})),!l&&!n&&(n=setTimeout(()=>s=!0,d)),s=!1,i)}}function kP(e=Hy,t={}){const{initialState:n="active"}=t,s=mr(n==="active");function r(){s.value=!1}function i(){s.value=!0}const o=(...a)=>{s.value&&e(...a)};return{isActive:Gn(s),pause:r,resume:i,eventFilter:o}}function ep(e,t=!1,n="Timeout"){return new Promise((s,r)=>{setTimeout(t?()=>r(n):s,e)})}function FP(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 $P(e,...t){return t.some(n=>n in e)}function tp(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function ni(e){return Array.isArray(e)?e:[e]}function VP(e){return Be()}function HP(e,t=200,n={}){return uf(xP(t,n),e)}function UP(e,t=200,n=!1,s=!0,r=!1){return uf(DP(t,n,s,r),e)}function BP(e,t,n={}){const{eventFilter:s=Hy,...r}=n;return ke(e,uf(s,t),r)}function jP(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:o,pause:a,resume:l,isActive:c}=kP(s,{initialState:r});return{stop:BP(e,t,{...i,eventFilter:o}),pause:a,resume:l,isActive:c}}function ff(e,t=!0,n){VP()?Zn(e,n):t?e():Yt(e)}function Rc(e,t=!1){function n(f,{flush:h="sync",deep:d=!1,timeout:p,throwOnTimeout:m}={}){let E=null;const v=[new Promise(_=>{E=ke(e,y=>{f(y)!==t&&(E?E():Yt(()=>E?.()),_(y))},{flush:h,deep:d,immediate:!0})})];return p!=null&&v.push(ep(p,m).then(()=>ae(e)).finally(()=>E?.())),Promise.race(v)}function s(f,h){if(!Re(f))return n(y=>y===f,h);const{flush:d="sync",deep:p=!1,timeout:m,throwOnTimeout:E}=h??{};let g=null;const _=[new Promise(y=>{g=ke([e,f],([T,O])=>{t!==(T===O)&&(g?g():Yt(()=>g?.()),y(T))},{flush:d,deep:p,immediate:!0})})];return m!=null&&_.push(ep(m,E).then(()=>ae(e)).finally(()=>(g?.(),ae(e)))),Promise.race(_)}function r(f){return n(h=>!!h,f)}function i(f){return s(null,f)}function o(f){return s(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,h){return n(d=>{const p=Array.from(d);return p.includes(f)||p.includes(ae(f))},h)}function c(f){return u(1,f)}function u(f=1,h){let d=-1;return n(()=>(d+=1,d>=f),h)}return Array.isArray(ae(e))?{toMatch:n,toContains:l,changed:c,changedTimes:u,get not(){return Rc(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:r,toBeNull:i,toBeNaN:a,toBeUndefined:o,changed:c,changedTimes:u,get not(){return Rc(e,!t)}}}function WP(e){return Rc(e)}function GP(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let i=null;const o=Ee(!1);function a(){i&&(clearInterval(i),i=null)}function l(){o.value=!1,a()}function c(){const u=ae(t);u<=0||(o.value=!0,r&&e(),a(),o.value&&(i=setInterval(e,u)))}if(s&&Rr&&c(),Re(t)||typeof t=="function"){const u=ke(t,()=>{o.value&&Rr&&c()});Yn(u)}return Yn(l),{isActive:Jc(o),pause:l,resume:c}}function Uy(e,t,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n,i=Ee(!1);let o;function a(){o&&(clearTimeout(o),o=void 0)}function l(){i.value=!1,a()}function c(...u){r&&e(),a(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=void 0,e(...u)},ae(t))}return s&&(i.value=!0,Rr&&c()),Yn(l),{isPending:Jc(i),start:c,stop:l}}function KP(e=!1,t={}){const{truthyValue:n=!0,falsyValue:s=!1}=t,r=Re(e),i=Ee(e);function o(a){if(arguments.length)return i.value=a,i.value;{const l=ae(n);return i.value=i.value===l?ae(s):l,i.value}}return r?o:[i,o]}function qP(e,t,n){return ke(e,t,{...n,immediate:!0})}function XP(e,t,n){return ke(e,t,{...n,once:!0})}const xt=Rr?window:void 0,By=Rr?window.document:void 0,jy=Rr?window.navigator:void 0;function Bs(e){var t;const n=ae(e);return(t=n?.$el)!=null?t:n}function Ut(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},s=(a,l,c,u)=>(a.addEventListener(l,c,u),()=>a.removeEventListener(l,c,u)),r=he(()=>{const a=ni(ae(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),i=qP(()=>{var a,l;return[(l=(a=r.value)==null?void 0:a.map(c=>Bs(c)))!=null?l:[xt].filter(c=>c!=null),ni(ae(r.value?e[1]:e[0])),ni(rn(r.value?e[2]:e[1])),ae(r.value?e[3]:e[2])]},([a,l,c,u])=>{if(n(),!a?.length||!l?.length||!c?.length)return;const f=MP(u)?{...u}:u;t.push(...a.flatMap(h=>l.flatMap(d=>c.map(p=>s(h,d,p,f)))))},{flush:"post"}),o=()=>{i(),n()};return Yn(n),o}function QP(){const e=Ee(!1),t=Be();return t&&Zn(()=>{e.value=!0},t),e}function qi(e){const t=QP();return he(()=>(t.value,!!e()))}function Wy(e,t,n={}){const{window:s=xt,...r}=n;let i;const o=qi(()=>s&&"MutationObserver"in s),a=()=>{i&&(i.disconnect(),i=void 0)},l=he(()=>{const h=ae(e),d=ni(h).map(Bs).filter(Vy);return new Set(d)}),c=ke(l,h=>{a(),o.value&&h.size&&(i=new MutationObserver(t),h.forEach(d=>i.observe(d,r)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),f=()=>{c(),a()};return Yn(f),{isSupported:o,stop:f,takeRecords:u}}function YP(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function zP(...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=xt,eventName:i="keydown",passive:o=!1,dedupe:a=!1}=s,l=YP(t);return Ut(r,i,u=>{u.repeat&&ae(a)||l(u)&&n(u)},o)}function OI(e,t,n={}){return zP(e,t,{...n,eventName:"keyup"})}function JP(e,t={}){const{immediate:n=!0,fpsLimit:s=void 0,window:r=xt,once:i=!1}=t,o=Ee(!1),a=he(()=>s?1e3/ae(s):null);let l=0,c=null;function u(d){if(!o.value||!r)return;l||(l=d);const p=d-l;if(a.value&&p<a.value){c=r.requestAnimationFrame(u);return}if(l=d,e({delta:p,timestamp:d}),i){o.value=!1,c=null;return}c=r.requestAnimationFrame(u)}function f(){!o.value&&r&&(o.value=!0,l=0,c=r.requestAnimationFrame(u))}function h(){o.value=!1,c!=null&&r&&(r.cancelAnimationFrame(c),c=null)}return n&&f(),Yn(h),{isActive:Gn(o),pause:h,resume:f}}const ZP=Symbol("vueuse-ssr-width");function eI(){const e=Na()?IP(ZP,null):null;return typeof e=="number"?e:void 0}function tI(e,t={}){const{window:n=xt,ssrWidth:s=eI()}=t,r=qi(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Ee(typeof s=="number"),o=Ee(),a=Ee(!1),l=c=>{a.value=c.matches};return gu(()=>{if(i.value){i.value=!r.value;const c=ae(e).split(",");a.value=c.some(u=>{const f=u.includes("not all"),h=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(h||d);return h&&p&&(p=s>=tp(h[1])),d&&p&&(p=s<=tp(d[1])),f?!p:p});return}r.value&&(o.value=n.matchMedia(ae(e)),a.value=o.value.matches)}),Ut(o,"change",l,{passive:!0}),he(()=>a.value)}function np(e,t={}){const{controls:n=!1,navigator:s=jy}=t,r=qi(()=>s&&"permissions"in s),i=Ee(),o=typeof e=="string"?{name:e}:e,a=Ee(),l=()=>{var u,f;a.value=(f=(u=i.value)==null?void 0:u.state)!=null?f:"prompt"};Ut(i,"change",l,{passive:!0});const c=FP(async()=>{if(r.value){if(!i.value)try{i.value=await s.permissions.query(o)}catch{i.value=void 0}finally{l()}if(n)return de(i.value)}});return c(),n?{state:a,isSupported:r,query:c}:a}function NI(e={}){const{navigator:t=jy,read:n=!1,source:s,copiedDuring:r=1500,legacy:i=!1}=e,o=qi(()=>t&&"clipboard"in t),a=np("clipboard-read"),l=np("clipboard-write"),c=he(()=>o.value||i),u=Ee(""),f=Ee(!1),h=Uy(()=>f.value=!1,r,{immediate:!1});async function d(){let v=!(o.value&&g(a.value));if(!v)try{u.value=await t.clipboard.readText()}catch{v=!0}v&&(u.value=E())}c.value&&n&&Ut(["copy","cut"],d,{passive:!0});async function p(v=ae(s)){if(c.value&&v!=null){let _=!(o.value&&g(l.value));if(!_)try{await t.clipboard.writeText(v)}catch{_=!0}_&&m(v),u.value=v,f.value=!0,h.start()}}function m(v){const _=document.createElement("textarea");_.value=v??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function E(){var v,_,y;return(y=(_=(v=document?.getSelection)==null?void 0:v.call(document))==null?void 0:_.toString())!=null?y:""}function g(v){return v==="granted"||v==="prompt"}return{isSupported:c,text:u,copied:f,copy:p}}function nI(e){return JSON.parse(JSON.stringify(e))}const po=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},mo="__vueuse_ssr_handlers__",sI=rI();function rI(){return mo in po||(po[mo]=po[mo]||{}),po[mo]}function Gy(e,t){return sI[e]||t}function Ky(e){return tI("(prefers-color-scheme: dark)",e)}function iI(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 oI={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()}},sp="vueuse-storage";function aI(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=xt,eventFilter:h,onError:d=V=>{console.error(V)},initOnMounted:p}=s,m=(u?Ee:it)(typeof t=="function"?t():t),E=he(()=>ae(e));if(!n)try{n=Gy("getDefaultStorage",()=>{var V;return(V=xt)==null?void 0:V.localStorage})()}catch(V){d(V)}if(!n)return m;const g=ae(t),v=iI(g),_=(r=s.serializer)!=null?r:oI[v],{pause:y,resume:T}=jP(m,V=>P(V),{flush:i,deep:o,eventFilter:h});ke(E,()=>R(),{flush:i});let O=!1;const N=V=>{p&&!O||R(V)},I=V=>{p&&!O||$(V)};f&&a&&(n instanceof Storage?Ut(f,"storage",N,{passive:!0}):Ut(f,sp,I)),p?ff(()=>{O=!0,R()}):R();function S(V,G){if(f){const j={key:E.value,oldValue:V,newValue:G,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",j):new CustomEvent(sp,{detail:j}))}}function P(V){try{const G=n.getItem(E.value);if(V==null)S(G,null),n.removeItem(E.value);else{const j=_.write(V);G!==j&&(n.setItem(E.value,j),S(G,j))}}catch(G){d(G)}}function x(V){const G=V?V.newValue:n.getItem(E.value);if(G==null)return l&&g!=null&&n.setItem(E.value,_.write(g)),g;if(!V&&c){const j=_.read(G);return typeof c=="function"?c(j,g):v==="object"&&!Array.isArray(j)?{...g,...j}:j}else return typeof G!="string"?G:_.read(G)}function R(V){if(!(V&&V.storageArea!==n)){if(V&&V.key==null){m.value=g;return}if(!(V&&V.key!==E.value)){y();try{const G=_.write(m.value);(V===void 0||V?.newValue!==G)&&(m.value=x(V))}catch(G){d(G)}finally{V?Yt(T):T()}}}}function $(V){R(V.detail)}return m}const lI="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function cI(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=xt,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},h=Ky({window:r}),d=he(()=>h.value?"dark":"light"),p=l||(o==null?mr(s):aI(o,s,i,{window:r,listenToStorageChanges:a})),m=he(()=>p.value==="auto"?d.value:p.value),E=Gy("updateHTMLAttrs",(y,T,O)=>{const N=typeof y=="string"?r?.document.querySelector(y):Bs(y);if(!N)return;const I=new Set,S=new Set;let P=null;if(T==="class"){const R=O.split(/\s/g);Object.values(f).flatMap($=>($||"").split(/\s/g)).filter(Boolean).forEach($=>{R.includes($)?I.add($):S.add($)})}else P={key:T,value:O};if(I.size===0&&S.size===0&&P===null)return;let x;u&&(x=r.document.createElement("style"),x.appendChild(document.createTextNode(lI)),r.document.head.appendChild(x));for(const R of I)N.classList.add(R);for(const R of S)N.classList.remove(R);P&&N.setAttribute(P.key,P.value),u&&(r.getComputedStyle(x).opacity,document.head.removeChild(x))});function g(y){var T;E(t,n,(T=f[y])!=null?T:y)}function v(y){e.onChanged?e.onChanged(y,g):g(y)}ke(m,v,{flush:"post",immediate:!0}),ff(()=>v(m.value));const _=he({get(){return c?p.value:m.value},set(y){p.value=y}});return Object.assign(_,{store:p,system:d,state:m})}function uI(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=cI({...e,onChanged:(o,a)=>{var l;e.onChanged?(l=e.onChanged)==null||l.call(e,o==="dark",a,o):a(o)},modes:{dark:t,light:n}}),r=he(()=>s.system.value);return he({get(){return s.value==="dark"},set(o){const a=o?"dark":"light";r.value===a?s.value="auto":s.value=a}})}function AI(e={}){const{document:t=By}=e;if(!t)return Ee("visible");const n=Ee(t.visibilityState);return Ut(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function fI(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:i=0,window:o=xt,immediate:a=!0}=n,l=qi(()=>o&&"IntersectionObserver"in o),c=he(()=>{const p=ae(e);return ni(p).map(Bs).filter(Vy)});let u=ln;const f=Ee(a),h=l.value?ke(()=>[c.value,Bs(s),f.value],([p,m])=>{if(u(),!f.value||!p.length)return;const E=new IntersectionObserver(t,{root:Bs(m),rootMargin:r,threshold:i});p.forEach(g=>g&&E.observe(g)),u=()=>{E.disconnect(),u=ln}},{immediate:a,flush:"post"}):ln,d=()=>{u(),h(),f.value=!1};return Yn(d),{isSupported:l,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:d}}function PI(e,t={}){const{window:n=xt,scrollTarget:s,threshold:r=0,rootMargin:i,once:o=!1}=t,a=Ee(!1),{stop:l}=fI(e,c=>{let u=a.value,f=0;for(const h of c)h.time>=f&&(f=h.time,u=h.isIntersecting);a.value=u,o&&XP(a,()=>{l()})},{root:s,window:n,threshold:r,rootMargin:ae(i)});return a}const dI={json:"application/json",text:"text/plain"};function rp(e){return e&&$P(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function Ml(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function II(e,...t){var n,s;const r=typeof AbortController=="function";let i={},o={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const a={method:"GET",type:"text",payload:void 0};t.length>0&&(rp(t[0])?o={...o,...t[0]}:i=t[0]),t.length>1&&rp(t[1])&&(o={...o,...t[1]});const{fetch:l=(s=(n=xt)==null?void 0:n.fetch)!=null?s:globalThis?.fetch,initialData:c,timeout:u}=o,f=Rl(),h=Rl(),d=Rl(),p=Ee(!1),m=Ee(!1),E=Ee(!1),g=Ee(null),v=Ee(null),_=Ee(null),y=Ee(c||null),T=he(()=>r&&m.value);let O,N;const I=X=>{r&&(O?.abort(X),O=new AbortController,O.signal.onabort=()=>E.value=!0,i={...i,signal:O.signal})},S=X=>{m.value=X,p.value=!X};u&&(N=Uy(I,u,{immediate:!1}));let P=0;const x=async(X=!1)=>{var K,ee;I(),S(!0),_.value=null,g.value=null,E.value=!1,P+=1;const we=P,Ce={method:a.method,headers:{}},xe=ae(a.payload);if(xe){const ye=Ml(Ce.headers),H=Object.getPrototypeOf(xe);!a.payloadType&&xe&&(H===Object.prototype||Array.isArray(H))&&!(xe instanceof FormData)&&(a.payloadType="json"),a.payloadType&&(ye["Content-Type"]=(K=dI[a.payloadType])!=null?K:a.payloadType),Ce.body=a.payloadType==="json"?JSON.stringify(xe):xe}let kt=!1;const et={url:ae(e),options:{...Ce,...i},cancel:()=>{kt=!0}};if(o.beforeFetch&&Object.assign(et,await o.beforeFetch(et)),kt||!l)return S(!1),Promise.resolve(null);let tt=null;return N&&N.start(),l(et.url,{...Ce,...et.options,headers:{...Ml(Ce.headers),...Ml((ee=et.options)==null?void 0:ee.headers)}}).then(async ye=>{if(v.value=ye,g.value=ye.status,tt=await ye.clone()[a.type](),!ye.ok)throw y.value=c||null,new Error(ye.statusText);return o.afterFetch&&({data:tt}=await o.afterFetch({data:tt,response:ye,context:et,execute:x})),y.value=tt,f.trigger(ye),ye}).catch(async ye=>{let H=ye.message||ye.name;if(o.onFetchError&&({error:H,data:tt}=await o.onFetchError({data:tt,error:ye,response:v.value,context:et,execute:x})),_.value=H,o.updateDataOnError&&(y.value=tt),h.trigger(ye),X)throw ye;return null}).finally(()=>{we===P&&S(!1),N&&N.stop(),d.trigger(null)})},R=mr(o.refetch);ke([R,mr(e)],([X])=>X&&x(),{deep:!0});const $={isFinished:Gn(p),isFetching:Gn(m),statusCode:g,response:v,error:_,data:y,canAbort:T,aborted:E,abort:I,execute:x,onFetchResponse:f.on,onFetchError:h.on,onFetchFinally:d.on,get:V("GET"),put:V("PUT"),post:V("POST"),delete:V("DELETE"),patch:V("PATCH"),head:V("HEAD"),options:V("OPTIONS"),json:j("json"),text:j("text"),blob:j("blob"),arrayBuffer:j("arrayBuffer"),formData:j("formData")};function V(X){return(K,ee)=>{if(!m.value)return a.method=X,a.payload=K,a.payloadType=ee,Re(a.payload)&&ke([R,mr(a.payload)],([we])=>we&&x(),{deep:!0}),{...$,then(we,Ce){return G().then(we,Ce)}}}}function G(){return new Promise((X,K)=>{WP(p).toBe(!0).then(()=>X($)).catch(K)})}function j(X){return()=>{if(!m.value)return a.type=X,{...$,then(K,ee){return G().then(K,ee)}}}}return o.immediate&&Promise.resolve().then(()=>x()),{...$,then(X,K){return G().then(X,K)}}}const ip=1;function hI(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=ln,onScroll:i=ln,offset:o={left:0,right:0,top:0,bottom:0},observe:a={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:c="auto",window:u=xt,onError:f=S=>{console.error(S)}}=t,h=typeof a=="boolean"?{mutation:a}:a,d=Ee(0),p=Ee(0),m=he({get(){return d.value},set(S){g(S,void 0)}}),E=he({get(){return p.value},set(S){g(void 0,S)}});function g(S,P){var x,R,$,V;if(!u)return;const G=ae(e);if(!G)return;($=G instanceof Document?u.document.body:G)==null||$.scrollTo({top:(x=ae(P))!=null?x:E.value,left:(R=ae(S))!=null?R:m.value,behavior:ae(c)});const j=((V=G?.document)==null?void 0:V.documentElement)||G?.documentElement||G;m!=null&&(d.value=j.scrollLeft),E!=null&&(p.value=j.scrollTop)}const v=Ee(!1),_=Wn({left:!0,right:!1,top:!0,bottom:!1}),y=Wn({left:!1,right:!1,top:!1,bottom:!1}),T=S=>{v.value&&(v.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,r(S))},O=HP(T,n+s),N=S=>{var P;if(!u)return;const x=((P=S?.document)==null?void 0:P.documentElement)||S?.documentElement||Bs(S),{display:R,flexDirection:$,direction:V}=getComputedStyle(x),G=V==="rtl"?-1:1,j=x.scrollLeft;y.left=j<d.value,y.right=j>d.value;const X=Math.abs(j*G)<=(o.left||0),K=Math.abs(j*G)+x.clientWidth>=x.scrollWidth-(o.right||0)-ip;R==="flex"&&$==="row-reverse"?(_.left=K,_.right=X):(_.left=X,_.right=K),d.value=j;let ee=x.scrollTop;S===u.document&&!ee&&(ee=u.document.body.scrollTop),y.top=ee<p.value,y.bottom=ee>p.value;const we=Math.abs(ee)<=(o.top||0),Ce=Math.abs(ee)+x.clientHeight>=x.scrollHeight-(o.bottom||0)-ip;R==="flex"&&$==="column-reverse"?(_.top=Ce,_.bottom=we):(_.top=we,_.bottom=Ce),p.value=ee},I=S=>{var P;if(!u)return;const x=(P=S.target.documentElement)!=null?P:S.target;N(x),v.value=!0,O(S),i(S)};return Ut(e,"scroll",n?UP(I,n,!0,!1):I,l),ff(()=>{try{const S=ae(e);if(!S)return;N(S)}catch(S){f(S)}}),h?.mutation&&e!=null&&e!==u&&e!==document&&Wy(e,()=>{const S=ae(e);S&&N(S)},{attributes:!0,childList:!0,subtree:!0}),Ut(e,"scrollend",T,l),{x:m,y:E,isScrolling:v,arrivedState:_,directions:y,measure(){const S=ae(e);u&&S&&N(S)}}}const pI={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function RI(e={}){const{reactive:t=!1,target:n=xt,aliasMap:s=pI,passive:r=!0,onEventFired:i=ln}=e,o=Wn(new Set),a={toJSON(){return{}},current:o},l=t?Wn(a):a,c=new Set,u=new Set,f=new Set;function h(E,g){E in l&&(t?l[E]=g:l[E].value=g)}function d(){o.clear();for(const E of f)h(E,!1)}function p(E,g){var v,_;const y=(v=E.key)==null?void 0:v.toLowerCase(),O=[(_=E.code)==null?void 0:_.toLowerCase(),y].filter(Boolean);y&&(g?o.add(y):o.delete(y));for(const N of O)f.add(N),h(N,g);if(y==="shift"&&!g){const N=Array.from(u),I=N.indexOf("shift");N.forEach((S,P)=>{P>=I&&(o.delete(S),h(S,!1))}),u.clear()}else typeof E.getModifierState=="function"&&E.getModifierState("Shift")&&g&&[...o,...O].forEach(N=>u.add(N));y==="meta"&&!g?(c.forEach(N=>{o.delete(N),h(N,!1)}),c.clear()):typeof E.getModifierState=="function"&&E.getModifierState("Meta")&&g&&[...o,...O].forEach(N=>c.add(N))}Ut(n,"keydown",E=>(p(E,!0),i(E)),{passive:r}),Ut(n,"keyup",E=>(p(E,!1),i(E)),{passive:r}),Ut("blur",d,{passive:r}),Ut("focus",d,{passive:r});const m=new Proxy(l,{get(E,g,v){if(typeof g!="string")return Reflect.get(E,g,v);if(g=g.toLowerCase(),g in s&&(g=s[g]),!(g in l))if(/[+_-]/.test(g)){const y=g.split(/[+_-]/g).map(T=>T.trim());l[g]=he(()=>y.map(T=>ae(m[T])).every(Boolean))}else l[g]=Ee(!1);const _=Reflect.get(E,g,v);return t?ae(_):_}});return m}function LI(e={}){const{controls:t=!1,interval:n="requestAnimationFrame",immediate:s=!0}=e,r=it(new Date),i=()=>r.value=new Date,o=n==="requestAnimationFrame"?JP(i,{immediate:s}):GP(i,n,{immediate:s});return t?{now:r,...o}:r}function MI(e=null,t={}){var n,s,r;const{document:i=By,restoreOnUnmount:o=f=>f}=t,a=(n=i?.title)!=null?n:"",l=mr((s=e??i?.title)!=null?s:null),c=!!(e&&typeof e=="function");function u(f){if(!("titleTemplate"in t))return f;const h=t.titleTemplate||"%s";return typeof h=="function"?h(f):ae(h).replace(/%s/g,f)}return ke(l,(f,h)=>{f!==h&&i&&(i.title=u(f??""))},{immediate:!0}),t.observe&&!t.titleTemplate&&i&&!c&&Wy((r=i.head)==null?void 0:r.querySelector("title"),()=>{i&&i.title!==l.value&&(l.value=u(i.title))},{childList:!0}),Yn(()=>{if(o){const f=o(a,l.value||"");f!=null&&i&&(i.title=f)}}),l}function xI(e,t,n,s={}){var r,i,o;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:h}=s,d=Be(),p=d?.emit||((r=d?.$emit)==null?void 0:r.bind(d))||((o=(i=d?.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(d?.proxy));let m=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const E=_=>a?typeof a=="function"?a(_):nI(_):_,g=()=>RP(e[t])?E(e[t]):f,v=_=>{h?h(_)&&p(m,_):p(m,_)};if(l){const _=g(),y=it(_);let T=!1;return ke(()=>e[t],O=>{T||(T=!0,y.value=E(O),Yt(()=>T=!1))}),ke(y,O=>{!T&&(O!==e[t]||u)&&v(O)},{deep:u}),y}else return he({get(){return g()},set(_){v(_)}})}function DI(e={}){const{window:t=xt,...n}=e;return hI(t,n)}const qy=uI(),kI=KP(qy),mI=Ky(),gI=Dt({__name:"App",setup(e){return gA({title:"Board - XCPCIO",meta:[{name:"theme-color",content:()=>qy.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>mI.value?"/favicon-dark.svg":"/favicon.svg"}]}),(t,n)=>{const s=Ws("RouterView");return Nt(),Xn(s)}}});AP(gI,{routes:XN(PP),base:"/"},e=>{Object.values([Q0,ew,uw,hO]).forEach(t=>t.install?.(e)),e.app.use(qN),e.app.use(KO)});export{Cg as $,MI as A,II as B,ke as C,$i as D,vT as E,Ke as F,Xn as G,wI as H,Fn as I,wu as J,Hg as K,hi as L,Eu as M,Yt as N,aI as O,_I as P,uO as Q,NI as R,g0 as S,a0 as T,Zn as U,pS as V,GP as W,zP as X,AI as Y,UP as Z,RI as _,Ie as a,aO as a0,OI as a1,Qa as a2,NO as a3,EO as a4,yI as a5,_c as a6,Zt as a7,Ki as a8,yO as a9,vO as aa,gc as ab,K_ as ac,MO as ad,SO as ae,wt as af,Na as ag,Ot as ah,VO as ai,ce as aj,zc as ak,Wn as al,SI as am,Hp as an,vI as ao,Jc as ap,Gn as aq,Lb as ar,Sg as as,Yn as at,tu as au,ae as av,Be as aw,xI as ax,_n as b,yr as c,yu as d,Dt as e,Su as f,DI as g,he as h,CI as i,kI as j,q0 as k,Vg as l,it as m,zn as n,Nt as o,PI as p,Yl as q,Ws as r,LI as s,_a as t,rn as u,Xb as v,js as w,qo as x,Ia as y,Re as z};
|
|
71
|
+
*/let ZA=()=>location.protocol+"//"+location.host;function ky(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,a=r.slice(o);return a[0]!=="/"&&(a="/"+a),Vh(a,"")}return Vh(n,e)+s+r}function eP(e,t,n,s){let r=[],i=[],o=null;const a=({state:h})=>{const d=ky(e,location),p=n.value,m=t.value;let E=0;if(h){if(n.value=d,t.value=h,o&&o===p){o=null;return}E=m?h.position-m.position:0}else s(d);r.forEach(g=>{g(n.value,p,{delta:E,type:Ac.pop,direction:E?E>0?Pl.forward:Pl.back:Pl.unknown})})};function l(){o=n.value}function c(h){r.push(h);const d=()=>{const p=r.indexOf(h);p>-1&&r.splice(p,1)};return i.push(d),d}function u(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(Oe({},h.state,{scroll:tl()}),"")}}function f(){for(const h of i)h();i=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:f}}function Wh(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?tl():null}}function tP(e){const{history:t,location:n}=window,s={value:ky(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(l,c,u){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:ZA()+e+l;try{t[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(d){console.error(d),n[u?"replace":"assign"](h)}}function o(l,c){i(l,Oe({},t.state,Wh(r.value.back,l,r.value.forward,!0),c,{position:r.value.position}),!0),s.value=l}function a(l,c){const u=Oe({},r.value,t.state,{forward:l,scroll:tl()});i(u.current,u,!0),i(l,Oe({},Wh(s.value,l,null),{position:u.position+1},c),!1),s.value=l}return{location:s,state:r,push:a,replace:o}}function nP(e){e=VA(e);const t=tP(e),n=eP(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Oe({location:"",base:e,go:s,createHref:UA.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}let Ms=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var ze=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(ze||{});const sP={type:Ms.Static,value:""},rP=/[a-zA-Z0-9_]/;function iP(e){if(!e)return[[]];if(e==="/")return[[sP]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${c}": ${d}`)}let n=ze.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let a=0,l,c="",u="";function f(){c&&(n===ze.Static?i.push({type:Ms.Static,value:c}):n===ze.Param||n===ze.ParamRegExp||n===ze.ParamRegExpEnd?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Ms.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==ze.ParamRegExp){s=n,n=ze.EscapeNext;continue}switch(n){case ze.Static:l==="/"?(c&&f(),o()):l===":"?(f(),n=ze.Param):h();break;case ze.EscapeNext:h(),n=s;break;case ze.Param:l==="("?n=ze.ParamRegExp:rP.test(l)?h():(f(),n=ze.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case ze.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=ze.ParamRegExpEnd:u+=l;break;case ze.ParamRegExpEnd:f(),n=ze.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===ze.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),o(),r}const Gh="[^/]+?",oP={sensitive:!1,strict:!1,start:!0,end:!0};var bt=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(bt||{});const aP=/[.+*?^${}()[\]/\\]/g;function lP(e,t){const n=Oe({},oP,t),s=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[bt.Root];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let d=bt.Segment+(n.sensitive?bt.BonusCaseSensitive:0);if(h.type===Ms.Static)f||(r+="/"),r+=h.value.replace(aP,"\\$&"),d+=bt.Static;else if(h.type===Ms.Param){const{value:p,repeatable:m,optional:E,regexp:g}=h;i.push({name:p,repeatable:m,optional:E});const v=g||Gh;if(v!==Gh){d+=bt.BonusCustomRegExp;try{`${v}`}catch(y){throw new Error(`Invalid custom RegExp for param "${p}" (${v}): `+y.message)}}let _=m?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(_=E&&c.length<2?`(?:/${_})`:"/"+_),E&&(_+="?"),r+=_,d+=bt.Dynamic,E&&(d+=bt.BonusOptional),m&&(d+=bt.BonusRepeatable),v===".*"&&(d+=bt.BonusWildcard)}u.push(d)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=bt.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function a(c){const u=c.match(o),f={};if(!u)return null;for(let h=1;h<u.length;h++){const d=u[h]||"",p=i[h-1];f[p.name]=d&&p.repeatable?d.split("/"):d}return f}function l(c){let u="",f=!1;for(const h of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const d of h)if(d.type===Ms.Static)u+=d.value;else if(d.type===Ms.Param){const{value:p,repeatable:m,optional:E}=d,g=p in c?c[p]:"";if(un(g)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const v=un(g)?g.join("/"):g;if(!v)if(E)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=v}}return u||"/"}return{re:o,score:s,keys:i,parse:a,stringify:l}}function cP(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]===bt.Static+bt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===bt.Static+bt.Segment?1:-1:0}function Fy(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=cP(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(Kh(s))return 1;if(Kh(r))return-1}return r.length-s.length}function Kh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const uP={strict:!1,end:!0,sensitive:!1};function fP(e,t,n){const s=lP(iP(e.path),n),r=Oe(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function dP(e,t){const n=[],s=new Map;t=$h(uP,t);function r(f){return s.get(f)}function i(f,h,d){const p=!d,m=Xh(f);m.aliasOf=d&&d.record;const E=$h(t,f),g=[m];if("alias"in f){const y=typeof f.alias=="string"?[f.alias]:f.alias;for(const T of y)g.push(Xh(Oe({},m,{components:d?d.record.components:m.components,path:T,aliasOf:d?d.record:m})))}let v,_;for(const y of g){const{path:T}=y;if(h&&T[0]!=="/"){const O=h.record.path,N=O[O.length-1]==="/"?"":"/";y.path=h.record.path+(T&&N+T)}if(v=fP(y,h,E),d?d.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),p&&f.name&&!Qh(v)&&o(f.name)),$y(v)&&l(v),m.children){const O=m.children;for(let N=0;N<O.length;N++)i(O[N],v,d&&d.children[N])}d=d||v}return _?()=>{o(_)}:ti}function o(f){if(xy(f)){const h=s.get(f);h&&(s.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&s.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return n}function l(f){const h=mP(f,n);n.splice(h,0,f),f.record.name&&!Qh(f)&&s.set(f.record.name,f)}function c(f,h){let d,p={},m,E;if("name"in f&&f.name){if(d=s.get(f.name),!d)throw Ir(He.MATCHER_NOT_FOUND,{location:f});E=d.record.name,p=Oe(qh(h.params,d.keys.filter(_=>!_.optional).concat(d.parent?d.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),f.params&&qh(f.params,d.keys.map(_=>_.name))),m=d.stringify(p)}else if(f.path!=null)m=f.path,d=n.find(_=>_.re.test(m)),d&&(p=d.parse(m),E=d.record.name);else{if(d=h.name?s.get(h.name):n.find(_=>_.re.test(h.path)),!d)throw Ir(He.MATCHER_NOT_FOUND,{location:f,currentLocation:h});E=d.record.name,p=Oe({},h.params,f.params),m=d.stringify(p)}const g=[];let v=d;for(;v;)g.unshift(v.record),v=v.parent;return{name:E,path:m,params:p,matched:g,meta:pP(g)}}e.forEach(f=>i(f));function u(){n.length=0,s.clear()}return{addRoute:i,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:r}}function qh(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Xh(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:hP(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 hP(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 Qh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pP(e){return e.reduce((t,n)=>Oe(t,n.meta),{})}function mP(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;Fy(e,t[i])<0?s=i:n=i+1}const r=gP(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function gP(e){let t=e;for(;t=t.parent;)if($y(t)&&Fy(e,t)===0)return t}function $y({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Yh(e){const t=Ot(nl),n=Ot(cf),s=he(()=>{const l=rn(e.to);return t.resolve(l)}),r=he(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const h=f.findIndex(Pr.bind(null,u));if(h>-1)return h;const d=zh(l[c-2]);return c>1&&zh(u)===d&&f[f.length-1].path!==d?f.findIndex(Pr.bind(null,l[c-2])):h}),i=he(()=>r.value>-1&&bP(n.params,s.value.params)),o=he(()=>r.value>-1&&r.value===n.matched.length-1&&My(n.params,s.value.params));function a(l={}){if(EP(l)){const c=t[rn(e.replace)?"replace":"push"](rn(e.to)).catch(ti);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:he(()=>s.value.href),isActive:i,isExactActive:o,navigate:a}}function _P(e){return e.length===1?e[0]:e}const yP=Dt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Yh,setup(e,{slots:t}){const n=Wn(Yh(e)),{options:s}=Ot(nl),r=he(()=>({[Jh(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Jh(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&_P(t.default(n));return e.custom?i:er("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),vP=yP;function EP(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 bP(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(!un(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function zh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Jh=(e,t,n)=>e??t??n,TP=Dt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ot(Ic),r=he(()=>e.route||s.value),i=Ot(jh,0),o=he(()=>{let c=rn(i);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=he(()=>r.value.matched[o.value]);Xr(jh,he(()=>o.value+1)),Xr(zA,a),Xr(Ic,r);const l=it();return ke(()=>[l.value,a.value,e.name],([c,u,f],[h,d,p])=>{u&&(u.instances[f]=c,d&&d!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!Pr(u,d)||!h)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=a.value,h=f&&f.components[u];if(!h)return Zh(n.default,{Component:h,route:c});const d=f.props[u],p=d?d===!0?c.params:typeof d=="function"?d(c):d:null,E=er(h,Oe({},p,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Zh(n.default,{Component:E,route:c})||E}}});function Zh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const SP=TP;function wP(e){const t=dP(e.routes,e),n=e.parseQuery||QA,s=e.stringifyQuery||Bh,r=e.history,i=Ur(),o=Ur(),a=Ur(),l=Ee(ns);let c=ns;lr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Nl.bind(null,H=>""+H),f=Nl.bind(null,LA),h=Nl.bind(null,Li);function d(H,J){let Q,te;return xy(H)?(Q=t.getRecordMatcher(H),te=J):te=H,t.addRoute(te,Q)}function p(H){const J=t.getRecordMatcher(H);J&&t.removeRoute(J)}function m(){return t.getRoutes().map(H=>H.record)}function E(H){return!!t.getRecordMatcher(H)}function g(H,J){if(J=Oe({},J||l.value),typeof H=="string"){const A=Al(n,H,J.path),D=t.resolve({path:A.path},J),W=r.createHref(A.fullPath);return Oe(A,D,{params:h(D.params),hash:Li(A.hash),redirectedFrom:void 0,href:W})}let Q;if(H.path!=null)Q=Oe({},H,{path:Al(n,H.path,J.path).path});else{const A=Oe({},H.params);for(const D in A)A[D]==null&&delete A[D];Q=Oe({},H,{params:f(A)}),J.params=f(J.params)}const te=t.resolve(Q,J),oe=H.hash||"";te.params=u(h(te.params));const Ae=DA(s,Oe({},H,{hash:PA(oe),path:te.path})),w=r.createHref(Ae);return Oe({fullPath:Ae,hash:oe,query:s===Bh?YA(H.query):H.query||{}},te,{redirectedFrom:void 0,href:w})}function v(H){return typeof H=="string"?Al(n,H,l.value.path):Oe({},H)}function _(H,J){if(c!==H)return Ir(He.NAVIGATION_CANCELLED,{from:J,to:H})}function y(H){return N(H)}function T(H){return y(Oe(v(H),{replace:!0}))}function O(H,J){const Q=H.matched[H.matched.length-1];if(Q&&Q.redirect){const{redirect:te}=Q;let oe=typeof te=="function"?te(H,J):te;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=v(oe):{path:oe},oe.params={}),Oe({query:H.query,hash:H.hash,params:oe.path!=null?{}:H.params},oe)}}function N(H,J){const Q=c=g(H),te=l.value,oe=H.state,Ae=H.force,w=H.replace===!0,A=O(Q,te);if(A)return N(Oe(v(A),{state:typeof A=="object"?Oe({},oe,A.state):oe,force:Ae,replace:w}),J||Q);const D=Q;D.redirectedFrom=J;let W;return!Ae&&kA(s,te,Q)&&(W=Ir(He.NAVIGATION_DUPLICATED,{to:D,from:te}),Ce(te,te,!0,!1)),(W?Promise.resolve(W):P(D,te)).catch(U=>Nn(U)?Nn(U,He.NAVIGATION_GUARD_REDIRECT)?U:we(U):K(U,D,te)).then(U=>{if(U){if(Nn(U,He.NAVIGATION_GUARD_REDIRECT))return N(Oe({replace:w},v(U.to),{state:typeof U.to=="object"?Oe({},oe,U.to.state):oe,force:Ae}),J||D)}else U=R(D,te,!0,w,oe);return x(D,te,U),U})}function I(H,J){const Q=_(H,J);return Q?Promise.reject(Q):Promise.resolve()}function S(H){const J=et.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(H):H()}function P(H,J){let Q;const[te,oe,Ae]=JA(H,J);Q=Il(te.reverse(),"beforeRouteLeave",H,J);for(const A of te)A.leaveGuards.forEach(D=>{Q.push(us(D,H,J))});const w=I.bind(null,H,J);return Q.push(w),ye(Q).then(()=>{Q=[];for(const A of i.list())Q.push(us(A,H,J));return Q.push(w),ye(Q)}).then(()=>{Q=Il(oe,"beforeRouteUpdate",H,J);for(const A of oe)A.updateGuards.forEach(D=>{Q.push(us(D,H,J))});return Q.push(w),ye(Q)}).then(()=>{Q=[];for(const A of Ae)if(A.beforeEnter)if(un(A.beforeEnter))for(const D of A.beforeEnter)Q.push(us(D,H,J));else Q.push(us(A.beforeEnter,H,J));return Q.push(w),ye(Q)}).then(()=>(H.matched.forEach(A=>A.enterCallbacks={}),Q=Il(Ae,"beforeRouteEnter",H,J,S),Q.push(w),ye(Q))).then(()=>{Q=[];for(const A of o.list())Q.push(us(A,H,J));return Q.push(w),ye(Q)}).catch(A=>Nn(A,He.NAVIGATION_CANCELLED)?A:Promise.reject(A))}function x(H,J,Q){a.list().forEach(te=>S(()=>te(H,J,Q)))}function R(H,J,Q,te,oe){const Ae=_(H,J);if(Ae)return Ae;const w=J===ns,A=lr?history.state:{};Q&&(te||w?r.replace(H.fullPath,Oe({scroll:w&&A&&A.scroll},oe)):r.push(H.fullPath,oe)),l.value=H,Ce(H,J,Q,w),we()}let $;function V(){$||($=r.listen((H,J,Q)=>{if(!tt.listening)return;const te=g(H),oe=O(te,tt.currentRoute.value);if(oe){N(Oe(oe,{replace:!0,force:!0}),te).catch(ti);return}c=te;const Ae=l.value;lr&&WA(Uh(Ae.fullPath,Q.delta),tl()),P(te,Ae).catch(w=>Nn(w,He.NAVIGATION_ABORTED|He.NAVIGATION_CANCELLED)?w:Nn(w,He.NAVIGATION_GUARD_REDIRECT)?(N(Oe(v(w.to),{force:!0}),te).then(A=>{Nn(A,He.NAVIGATION_ABORTED|He.NAVIGATION_DUPLICATED)&&!Q.delta&&Q.type===Ac.pop&&r.go(-1,!1)}).catch(ti),Promise.reject()):(Q.delta&&r.go(-Q.delta,!1),K(w,te,Ae))).then(w=>{w=w||R(te,Ae,!1),w&&(Q.delta&&!Nn(w,He.NAVIGATION_CANCELLED)?r.go(-Q.delta,!1):Q.type===Ac.pop&&Nn(w,He.NAVIGATION_ABORTED|He.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),x(te,Ae,w)}).catch(ti)}))}let G=Ur(),j=Ur(),X;function K(H,J,Q){we(H);const te=j.list();return te.length?te.forEach(oe=>oe(H,J,Q)):console.error(H),Promise.reject(H)}function ee(){return X&&l.value!==ns?Promise.resolve():new Promise((H,J)=>{G.add([H,J])})}function we(H){return X||(X=!H,V(),G.list().forEach(([J,Q])=>H?Q(H):J()),G.reset()),H}function Ce(H,J,Q,te){const{scrollBehavior:oe}=e;if(!lr||!oe)return Promise.resolve();const Ae=!Q&&GA(Uh(H.fullPath,0))||(te||!Q)&&history.state&&history.state.scroll||null;return Yt().then(()=>oe(H,J,Ae)).then(w=>w&&jA(w)).catch(w=>K(w,H,J))}const xe=H=>r.go(H);let kt;const et=new Set,tt={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:m,resolve:g,options:e,push:y,replace:T,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:j.add,isReady:ee,install(H){H.component("RouterLink",vP),H.component("RouterView",SP),H.config.globalProperties.$router=tt,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>rn(l)}),lr&&!kt&&l.value===ns&&(kt=!0,y(r.location).catch(te=>{}));const J={};for(const te in ns)Object.defineProperty(J,te,{get:()=>l.value[te],enumerable:!0});H.provide(nl,tt),H.provide(cf,zc(J)),H.provide(Ic,l);const Q=H.unmount;et.add(H),H.unmount=function(){et.delete(H),et.size<1&&(c=ns,$&&$(),$=null,l.value=ns,kt=!1,X=!1),Q()}}};function ye(H){return H.reduce((J,Q)=>J.then(()=>S(Q)),Promise.resolve())}return tt}function wI(){return Ot(nl)}function CI(e){return Ot(cf)}function CP(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}const OP=Dt({setup(e,{slots:t}){const n=it(!1);return Zn(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function NP(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function AP(e,t,n,s){const{transformState:r,registerComponents:i=!0,useHead:o=!0,rootContainer:a="#app"}={};async function l(c){const u=_i(e);let f;o&&u.use(f=yA());const h=wP({history:nP(t.base),...t}),{routes:d}=t;i&&u.component("ClientOnly",OP);const p=[],g={app:u,head:f,isClient:!0,router:h,routes:d,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(p.map(T=>T())),initialState:{},transformState:r,routePath:c};await CP(),g.initialState=r?.(window.__INITIAL_STATE__||{})||NP(window.__INITIAL_STATE__),await n?.(g),u.use(h);let v,_=!0;h.beforeEach((T,O,N)=>{(_||v&&v===T.path)&&(_=!1,v=T.path,T.meta.state=g.initialState),N()});const y=g.initialState;return{...g,initialState:y}}return(async()=>{const{app:c,router:u}=await l();await u.isReady(),c.mount(a,!0)})(),l}const PP=[{path:"/",name:"/",component:()=>Rt(()=>import("./index-C6xFsYYS.js"),__vite__mapDeps([10,11,5,12,13,14,15,2,3,4,16,17]),import.meta.url),meta:{layout:"index-layout"}},{path:"/:all(.*)",name:"/[...all]",component:()=>Rt(()=>import("./_...all_-CgZvPdCs.js"),__vite__mapDeps([18,19,13,14,4,20,5,21,22,23,24,25,26,27,28,2,3,12,15,29,16]),import.meta.url),meta:{layout:"board-layout"}},{path:"/balloon",children:[{path:"",name:"/balloon/",component:()=>Rt(()=>import("./index-BPfG3xFX.js"),__vite__mapDeps([30,22,4,23,13,14,24,20,31,16,5]),import.meta.url),meta:{layout:"headless"}}]},{path:"/board",children:[{path:"",name:"/board/",component:()=>Rt(()=>import("./index-CHIQkSeX.js"),__vite__mapDeps([32,27,28,2,3,20,13,14,23,24,5,12,15,4,29,31,16]),import.meta.url),meta:{layout:"board-layout"}}]},{path:"/countdown",children:[{path:"",name:"/countdown/",component:()=>Rt(()=>import("./index-DfhIQ1rz.js"),__vite__mapDeps([33,19,13,14,4,20,5,21,31,16]),import.meta.url),meta:{layout:"headless"}}]},{path:"/rating",children:[{path:"",name:"/rating/",component:()=>Rt(()=>import("./index-Cvxk8k_Q.js"),__vite__mapDeps([34,11,5,2,3,4,16,35]),import.meta.url),meta:{layout:"index-layout"}},{path:":all(.*)",name:"/rating/[...all]",component:()=>Rt(()=>import("./_...all_-BXkOsr0e.js"),__vite__mapDeps([36,28,2,3,4,14,24,37]),import.meta.url)}]},{path:"/resolver",children:[{path:"",name:"/resolver/",component:()=>Rt(()=>import("./index-DoiqlG5Q.js"),__vite__mapDeps([38,25,5,13,14,23,24,4,20,26,31,16]),import.meta.url),meta:{layout:"headless"}}]}];function Yn(e){return qc()?(Hp(e),!0):!1}function Rl(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const o=()=>t(i);return Yn(o),{off:o}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(o=>o(...i))),clear:()=>{e.clear()}}}const Ll=new WeakMap,IP=(...e)=>{var t;const n=e[0],s=(t=Be())==null?void 0:t.proxy;if(s==null&&!Na())throw new Error("injectLocal must be called in setup");return s&&Ll.has(s)&&n in Ll.get(s)?Ll.get(s)[n]:Ot(...e)},Rr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const RP=e=>typeof e<"u",Vy=e=>e!=null,LP=Object.prototype.toString,MP=e=>LP.call(e)==="[object Object]",ln=()=>{};function mr(...e){if(e.length!==1)return sm(...e);const t=e[0];return typeof t=="function"?Gn(tu(()=>({get:t,set:ln}))):it(t)}function uf(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 Hy=e=>e();function xP(e,t={}){let n,s,r=ln;const i=l=>{clearTimeout(l),r(),r=ln};let o;return l=>{const c=ae(e),u=ae(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(s&&(i(s),s=void 0),Promise.resolve(l())):new Promise((f,h)=>{r=t.rejectOnCancel?h:f,o=l,u&&!s&&(s=setTimeout(()=>{n&&i(n),s=void 0,f(o())},u)),n=setTimeout(()=>{s&&i(s),s=void 0,f(l())},c)})}}function DP(...e){let t=0,n,s=!0,r=ln,i,o,a,l,c;!Re(e[0])&&typeof e[0]=="object"?{delay:o,trailing:a=!0,leading:l=!0,rejectOnCancel:c=!1}=e[0]:[o,a=!0,l=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,r(),r=ln)};return h=>{const d=ae(o),p=Date.now()-t,m=()=>i=h();return u(),d<=0?(t=Date.now(),m()):(p>d&&(l||!s)?(t=Date.now(),m()):a&&(i=new Promise((E,g)=>{r=c?g:E,n=setTimeout(()=>{t=Date.now(),s=!0,E(m()),u()},Math.max(0,d-p))})),!l&&!n&&(n=setTimeout(()=>s=!0,d)),s=!1,i)}}function kP(e=Hy,t={}){const{initialState:n="active"}=t,s=mr(n==="active");function r(){s.value=!1}function i(){s.value=!0}const o=(...a)=>{s.value&&e(...a)};return{isActive:Gn(s),pause:r,resume:i,eventFilter:o}}function ep(e,t=!1,n="Timeout"){return new Promise((s,r)=>{setTimeout(t?()=>r(n):s,e)})}function FP(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 $P(e,...t){return t.some(n=>n in e)}function tp(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function ni(e){return Array.isArray(e)?e:[e]}function VP(e){return Be()}function HP(e,t=200,n={}){return uf(xP(t,n),e)}function UP(e,t=200,n=!1,s=!0,r=!1){return uf(DP(t,n,s,r),e)}function BP(e,t,n={}){const{eventFilter:s=Hy,...r}=n;return ke(e,uf(s,t),r)}function jP(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:o,pause:a,resume:l,isActive:c}=kP(s,{initialState:r});return{stop:BP(e,t,{...i,eventFilter:o}),pause:a,resume:l,isActive:c}}function ff(e,t=!0,n){VP()?Zn(e,n):t?e():Yt(e)}function Rc(e,t=!1){function n(f,{flush:h="sync",deep:d=!1,timeout:p,throwOnTimeout:m}={}){let E=null;const v=[new Promise(_=>{E=ke(e,y=>{f(y)!==t&&(E?E():Yt(()=>E?.()),_(y))},{flush:h,deep:d,immediate:!0})})];return p!=null&&v.push(ep(p,m).then(()=>ae(e)).finally(()=>E?.())),Promise.race(v)}function s(f,h){if(!Re(f))return n(y=>y===f,h);const{flush:d="sync",deep:p=!1,timeout:m,throwOnTimeout:E}=h??{};let g=null;const _=[new Promise(y=>{g=ke([e,f],([T,O])=>{t!==(T===O)&&(g?g():Yt(()=>g?.()),y(T))},{flush:d,deep:p,immediate:!0})})];return m!=null&&_.push(ep(m,E).then(()=>ae(e)).finally(()=>(g?.(),ae(e)))),Promise.race(_)}function r(f){return n(h=>!!h,f)}function i(f){return s(null,f)}function o(f){return s(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,h){return n(d=>{const p=Array.from(d);return p.includes(f)||p.includes(ae(f))},h)}function c(f){return u(1,f)}function u(f=1,h){let d=-1;return n(()=>(d+=1,d>=f),h)}return Array.isArray(ae(e))?{toMatch:n,toContains:l,changed:c,changedTimes:u,get not(){return Rc(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:r,toBeNull:i,toBeNaN:a,toBeUndefined:o,changed:c,changedTimes:u,get not(){return Rc(e,!t)}}}function WP(e){return Rc(e)}function GP(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let i=null;const o=Ee(!1);function a(){i&&(clearInterval(i),i=null)}function l(){o.value=!1,a()}function c(){const u=ae(t);u<=0||(o.value=!0,r&&e(),a(),o.value&&(i=setInterval(e,u)))}if(s&&Rr&&c(),Re(t)||typeof t=="function"){const u=ke(t,()=>{o.value&&Rr&&c()});Yn(u)}return Yn(l),{isActive:Jc(o),pause:l,resume:c}}function Uy(e,t,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n,i=Ee(!1);let o;function a(){o&&(clearTimeout(o),o=void 0)}function l(){i.value=!1,a()}function c(...u){r&&e(),a(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=void 0,e(...u)},ae(t))}return s&&(i.value=!0,Rr&&c()),Yn(l),{isPending:Jc(i),start:c,stop:l}}function KP(e=!1,t={}){const{truthyValue:n=!0,falsyValue:s=!1}=t,r=Re(e),i=Ee(e);function o(a){if(arguments.length)return i.value=a,i.value;{const l=ae(n);return i.value=i.value===l?ae(s):l,i.value}}return r?o:[i,o]}function qP(e,t,n){return ke(e,t,{...n,immediate:!0})}function XP(e,t,n){return ke(e,t,{...n,once:!0})}const xt=Rr?window:void 0,By=Rr?window.document:void 0,jy=Rr?window.navigator:void 0;function Bs(e){var t;const n=ae(e);return(t=n?.$el)!=null?t:n}function Ut(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},s=(a,l,c,u)=>(a.addEventListener(l,c,u),()=>a.removeEventListener(l,c,u)),r=he(()=>{const a=ni(ae(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),i=qP(()=>{var a,l;return[(l=(a=r.value)==null?void 0:a.map(c=>Bs(c)))!=null?l:[xt].filter(c=>c!=null),ni(ae(r.value?e[1]:e[0])),ni(rn(r.value?e[2]:e[1])),ae(r.value?e[3]:e[2])]},([a,l,c,u])=>{if(n(),!a?.length||!l?.length||!c?.length)return;const f=MP(u)?{...u}:u;t.push(...a.flatMap(h=>l.flatMap(d=>c.map(p=>s(h,d,p,f)))))},{flush:"post"}),o=()=>{i(),n()};return Yn(n),o}function QP(){const e=Ee(!1),t=Be();return t&&Zn(()=>{e.value=!0},t),e}function qi(e){const t=QP();return he(()=>(t.value,!!e()))}function Wy(e,t,n={}){const{window:s=xt,...r}=n;let i;const o=qi(()=>s&&"MutationObserver"in s),a=()=>{i&&(i.disconnect(),i=void 0)},l=he(()=>{const h=ae(e),d=ni(h).map(Bs).filter(Vy);return new Set(d)}),c=ke(l,h=>{a(),o.value&&h.size&&(i=new MutationObserver(t),h.forEach(d=>i.observe(d,r)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),f=()=>{c(),a()};return Yn(f),{isSupported:o,stop:f,takeRecords:u}}function YP(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function zP(...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=xt,eventName:i="keydown",passive:o=!1,dedupe:a=!1}=s,l=YP(t);return Ut(r,i,u=>{u.repeat&&ae(a)||l(u)&&n(u)},o)}function OI(e,t,n={}){return zP(e,t,{...n,eventName:"keyup"})}function JP(e,t={}){const{immediate:n=!0,fpsLimit:s=void 0,window:r=xt,once:i=!1}=t,o=Ee(!1),a=he(()=>s?1e3/ae(s):null);let l=0,c=null;function u(d){if(!o.value||!r)return;l||(l=d);const p=d-l;if(a.value&&p<a.value){c=r.requestAnimationFrame(u);return}if(l=d,e({delta:p,timestamp:d}),i){o.value=!1,c=null;return}c=r.requestAnimationFrame(u)}function f(){!o.value&&r&&(o.value=!0,l=0,c=r.requestAnimationFrame(u))}function h(){o.value=!1,c!=null&&r&&(r.cancelAnimationFrame(c),c=null)}return n&&f(),Yn(h),{isActive:Gn(o),pause:h,resume:f}}const ZP=Symbol("vueuse-ssr-width");function eI(){const e=Na()?IP(ZP,null):null;return typeof e=="number"?e:void 0}function tI(e,t={}){const{window:n=xt,ssrWidth:s=eI()}=t,r=qi(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Ee(typeof s=="number"),o=Ee(),a=Ee(!1),l=c=>{a.value=c.matches};return gu(()=>{if(i.value){i.value=!r.value;const c=ae(e).split(",");a.value=c.some(u=>{const f=u.includes("not all"),h=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(h||d);return h&&p&&(p=s>=tp(h[1])),d&&p&&(p=s<=tp(d[1])),f?!p:p});return}r.value&&(o.value=n.matchMedia(ae(e)),a.value=o.value.matches)}),Ut(o,"change",l,{passive:!0}),he(()=>a.value)}function np(e,t={}){const{controls:n=!1,navigator:s=jy}=t,r=qi(()=>s&&"permissions"in s),i=Ee(),o=typeof e=="string"?{name:e}:e,a=Ee(),l=()=>{var u,f;a.value=(f=(u=i.value)==null?void 0:u.state)!=null?f:"prompt"};Ut(i,"change",l,{passive:!0});const c=FP(async()=>{if(r.value){if(!i.value)try{i.value=await s.permissions.query(o)}catch{i.value=void 0}finally{l()}if(n)return de(i.value)}});return c(),n?{state:a,isSupported:r,query:c}:a}function NI(e={}){const{navigator:t=jy,read:n=!1,source:s,copiedDuring:r=1500,legacy:i=!1}=e,o=qi(()=>t&&"clipboard"in t),a=np("clipboard-read"),l=np("clipboard-write"),c=he(()=>o.value||i),u=Ee(""),f=Ee(!1),h=Uy(()=>f.value=!1,r,{immediate:!1});async function d(){let v=!(o.value&&g(a.value));if(!v)try{u.value=await t.clipboard.readText()}catch{v=!0}v&&(u.value=E())}c.value&&n&&Ut(["copy","cut"],d,{passive:!0});async function p(v=ae(s)){if(c.value&&v!=null){let _=!(o.value&&g(l.value));if(!_)try{await t.clipboard.writeText(v)}catch{_=!0}_&&m(v),u.value=v,f.value=!0,h.start()}}function m(v){const _=document.createElement("textarea");_.value=v??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function E(){var v,_,y;return(y=(_=(v=document?.getSelection)==null?void 0:v.call(document))==null?void 0:_.toString())!=null?y:""}function g(v){return v==="granted"||v==="prompt"}return{isSupported:c,text:u,copied:f,copy:p}}function nI(e){return JSON.parse(JSON.stringify(e))}const po=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},mo="__vueuse_ssr_handlers__",sI=rI();function rI(){return mo in po||(po[mo]=po[mo]||{}),po[mo]}function Gy(e,t){return sI[e]||t}function Ky(e){return tI("(prefers-color-scheme: dark)",e)}function iI(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 oI={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()}},sp="vueuse-storage";function aI(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=xt,eventFilter:h,onError:d=V=>{console.error(V)},initOnMounted:p}=s,m=(u?Ee:it)(typeof t=="function"?t():t),E=he(()=>ae(e));if(!n)try{n=Gy("getDefaultStorage",()=>{var V;return(V=xt)==null?void 0:V.localStorage})()}catch(V){d(V)}if(!n)return m;const g=ae(t),v=iI(g),_=(r=s.serializer)!=null?r:oI[v],{pause:y,resume:T}=jP(m,V=>P(V),{flush:i,deep:o,eventFilter:h});ke(E,()=>R(),{flush:i});let O=!1;const N=V=>{p&&!O||R(V)},I=V=>{p&&!O||$(V)};f&&a&&(n instanceof Storage?Ut(f,"storage",N,{passive:!0}):Ut(f,sp,I)),p?ff(()=>{O=!0,R()}):R();function S(V,G){if(f){const j={key:E.value,oldValue:V,newValue:G,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",j):new CustomEvent(sp,{detail:j}))}}function P(V){try{const G=n.getItem(E.value);if(V==null)S(G,null),n.removeItem(E.value);else{const j=_.write(V);G!==j&&(n.setItem(E.value,j),S(G,j))}}catch(G){d(G)}}function x(V){const G=V?V.newValue:n.getItem(E.value);if(G==null)return l&&g!=null&&n.setItem(E.value,_.write(g)),g;if(!V&&c){const j=_.read(G);return typeof c=="function"?c(j,g):v==="object"&&!Array.isArray(j)?{...g,...j}:j}else return typeof G!="string"?G:_.read(G)}function R(V){if(!(V&&V.storageArea!==n)){if(V&&V.key==null){m.value=g;return}if(!(V&&V.key!==E.value)){y();try{const G=_.write(m.value);(V===void 0||V?.newValue!==G)&&(m.value=x(V))}catch(G){d(G)}finally{V?Yt(T):T()}}}}function $(V){R(V.detail)}return m}const lI="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function cI(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=xt,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},h=Ky({window:r}),d=he(()=>h.value?"dark":"light"),p=l||(o==null?mr(s):aI(o,s,i,{window:r,listenToStorageChanges:a})),m=he(()=>p.value==="auto"?d.value:p.value),E=Gy("updateHTMLAttrs",(y,T,O)=>{const N=typeof y=="string"?r?.document.querySelector(y):Bs(y);if(!N)return;const I=new Set,S=new Set;let P=null;if(T==="class"){const R=O.split(/\s/g);Object.values(f).flatMap($=>($||"").split(/\s/g)).filter(Boolean).forEach($=>{R.includes($)?I.add($):S.add($)})}else P={key:T,value:O};if(I.size===0&&S.size===0&&P===null)return;let x;u&&(x=r.document.createElement("style"),x.appendChild(document.createTextNode(lI)),r.document.head.appendChild(x));for(const R of I)N.classList.add(R);for(const R of S)N.classList.remove(R);P&&N.setAttribute(P.key,P.value),u&&(r.getComputedStyle(x).opacity,document.head.removeChild(x))});function g(y){var T;E(t,n,(T=f[y])!=null?T:y)}function v(y){e.onChanged?e.onChanged(y,g):g(y)}ke(m,v,{flush:"post",immediate:!0}),ff(()=>v(m.value));const _=he({get(){return c?p.value:m.value},set(y){p.value=y}});return Object.assign(_,{store:p,system:d,state:m})}function uI(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=cI({...e,onChanged:(o,a)=>{var l;e.onChanged?(l=e.onChanged)==null||l.call(e,o==="dark",a,o):a(o)},modes:{dark:t,light:n}}),r=he(()=>s.system.value);return he({get(){return s.value==="dark"},set(o){const a=o?"dark":"light";r.value===a?s.value="auto":s.value=a}})}function AI(e={}){const{document:t=By}=e;if(!t)return Ee("visible");const n=Ee(t.visibilityState);return Ut(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function fI(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:i=0,window:o=xt,immediate:a=!0}=n,l=qi(()=>o&&"IntersectionObserver"in o),c=he(()=>{const p=ae(e);return ni(p).map(Bs).filter(Vy)});let u=ln;const f=Ee(a),h=l.value?ke(()=>[c.value,Bs(s),f.value],([p,m])=>{if(u(),!f.value||!p.length)return;const E=new IntersectionObserver(t,{root:Bs(m),rootMargin:r,threshold:i});p.forEach(g=>g&&E.observe(g)),u=()=>{E.disconnect(),u=ln}},{immediate:a,flush:"post"}):ln,d=()=>{u(),h(),f.value=!1};return Yn(d),{isSupported:l,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:d}}function PI(e,t={}){const{window:n=xt,scrollTarget:s,threshold:r=0,rootMargin:i,once:o=!1}=t,a=Ee(!1),{stop:l}=fI(e,c=>{let u=a.value,f=0;for(const h of c)h.time>=f&&(f=h.time,u=h.isIntersecting);a.value=u,o&&XP(a,()=>{l()})},{root:s,window:n,threshold:r,rootMargin:ae(i)});return a}const dI={json:"application/json",text:"text/plain"};function rp(e){return e&&$P(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function Ml(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function II(e,...t){var n,s;const r=typeof AbortController=="function";let i={},o={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const a={method:"GET",type:"text",payload:void 0};t.length>0&&(rp(t[0])?o={...o,...t[0]}:i=t[0]),t.length>1&&rp(t[1])&&(o={...o,...t[1]});const{fetch:l=(s=(n=xt)==null?void 0:n.fetch)!=null?s:globalThis?.fetch,initialData:c,timeout:u}=o,f=Rl(),h=Rl(),d=Rl(),p=Ee(!1),m=Ee(!1),E=Ee(!1),g=Ee(null),v=Ee(null),_=Ee(null),y=Ee(c||null),T=he(()=>r&&m.value);let O,N;const I=X=>{r&&(O?.abort(X),O=new AbortController,O.signal.onabort=()=>E.value=!0,i={...i,signal:O.signal})},S=X=>{m.value=X,p.value=!X};u&&(N=Uy(I,u,{immediate:!1}));let P=0;const x=async(X=!1)=>{var K,ee;I(),S(!0),_.value=null,g.value=null,E.value=!1,P+=1;const we=P,Ce={method:a.method,headers:{}},xe=ae(a.payload);if(xe){const ye=Ml(Ce.headers),H=Object.getPrototypeOf(xe);!a.payloadType&&xe&&(H===Object.prototype||Array.isArray(H))&&!(xe instanceof FormData)&&(a.payloadType="json"),a.payloadType&&(ye["Content-Type"]=(K=dI[a.payloadType])!=null?K:a.payloadType),Ce.body=a.payloadType==="json"?JSON.stringify(xe):xe}let kt=!1;const et={url:ae(e),options:{...Ce,...i},cancel:()=>{kt=!0}};if(o.beforeFetch&&Object.assign(et,await o.beforeFetch(et)),kt||!l)return S(!1),Promise.resolve(null);let tt=null;return N&&N.start(),l(et.url,{...Ce,...et.options,headers:{...Ml(Ce.headers),...Ml((ee=et.options)==null?void 0:ee.headers)}}).then(async ye=>{if(v.value=ye,g.value=ye.status,tt=await ye.clone()[a.type](),!ye.ok)throw y.value=c||null,new Error(ye.statusText);return o.afterFetch&&({data:tt}=await o.afterFetch({data:tt,response:ye,context:et,execute:x})),y.value=tt,f.trigger(ye),ye}).catch(async ye=>{let H=ye.message||ye.name;if(o.onFetchError&&({error:H,data:tt}=await o.onFetchError({data:tt,error:ye,response:v.value,context:et,execute:x})),_.value=H,o.updateDataOnError&&(y.value=tt),h.trigger(ye),X)throw ye;return null}).finally(()=>{we===P&&S(!1),N&&N.stop(),d.trigger(null)})},R=mr(o.refetch);ke([R,mr(e)],([X])=>X&&x(),{deep:!0});const $={isFinished:Gn(p),isFetching:Gn(m),statusCode:g,response:v,error:_,data:y,canAbort:T,aborted:E,abort:I,execute:x,onFetchResponse:f.on,onFetchError:h.on,onFetchFinally:d.on,get:V("GET"),put:V("PUT"),post:V("POST"),delete:V("DELETE"),patch:V("PATCH"),head:V("HEAD"),options:V("OPTIONS"),json:j("json"),text:j("text"),blob:j("blob"),arrayBuffer:j("arrayBuffer"),formData:j("formData")};function V(X){return(K,ee)=>{if(!m.value)return a.method=X,a.payload=K,a.payloadType=ee,Re(a.payload)&&ke([R,mr(a.payload)],([we])=>we&&x(),{deep:!0}),{...$,then(we,Ce){return G().then(we,Ce)}}}}function G(){return new Promise((X,K)=>{WP(p).toBe(!0).then(()=>X($)).catch(K)})}function j(X){return()=>{if(!m.value)return a.type=X,{...$,then(K,ee){return G().then(K,ee)}}}}return o.immediate&&Promise.resolve().then(()=>x()),{...$,then(X,K){return G().then(X,K)}}}const ip=1;function hI(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=ln,onScroll:i=ln,offset:o={left:0,right:0,top:0,bottom:0},observe:a={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:c="auto",window:u=xt,onError:f=S=>{console.error(S)}}=t,h=typeof a=="boolean"?{mutation:a}:a,d=Ee(0),p=Ee(0),m=he({get(){return d.value},set(S){g(S,void 0)}}),E=he({get(){return p.value},set(S){g(void 0,S)}});function g(S,P){var x,R,$,V;if(!u)return;const G=ae(e);if(!G)return;($=G instanceof Document?u.document.body:G)==null||$.scrollTo({top:(x=ae(P))!=null?x:E.value,left:(R=ae(S))!=null?R:m.value,behavior:ae(c)});const j=((V=G?.document)==null?void 0:V.documentElement)||G?.documentElement||G;m!=null&&(d.value=j.scrollLeft),E!=null&&(p.value=j.scrollTop)}const v=Ee(!1),_=Wn({left:!0,right:!1,top:!0,bottom:!1}),y=Wn({left:!1,right:!1,top:!1,bottom:!1}),T=S=>{v.value&&(v.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,r(S))},O=HP(T,n+s),N=S=>{var P;if(!u)return;const x=((P=S?.document)==null?void 0:P.documentElement)||S?.documentElement||Bs(S),{display:R,flexDirection:$,direction:V}=getComputedStyle(x),G=V==="rtl"?-1:1,j=x.scrollLeft;y.left=j<d.value,y.right=j>d.value;const X=Math.abs(j*G)<=(o.left||0),K=Math.abs(j*G)+x.clientWidth>=x.scrollWidth-(o.right||0)-ip;R==="flex"&&$==="row-reverse"?(_.left=K,_.right=X):(_.left=X,_.right=K),d.value=j;let ee=x.scrollTop;S===u.document&&!ee&&(ee=u.document.body.scrollTop),y.top=ee<p.value,y.bottom=ee>p.value;const we=Math.abs(ee)<=(o.top||0),Ce=Math.abs(ee)+x.clientHeight>=x.scrollHeight-(o.bottom||0)-ip;R==="flex"&&$==="column-reverse"?(_.top=Ce,_.bottom=we):(_.top=we,_.bottom=Ce),p.value=ee},I=S=>{var P;if(!u)return;const x=(P=S.target.documentElement)!=null?P:S.target;N(x),v.value=!0,O(S),i(S)};return Ut(e,"scroll",n?UP(I,n,!0,!1):I,l),ff(()=>{try{const S=ae(e);if(!S)return;N(S)}catch(S){f(S)}}),h?.mutation&&e!=null&&e!==u&&e!==document&&Wy(e,()=>{const S=ae(e);S&&N(S)},{attributes:!0,childList:!0,subtree:!0}),Ut(e,"scrollend",T,l),{x:m,y:E,isScrolling:v,arrivedState:_,directions:y,measure(){const S=ae(e);u&&S&&N(S)}}}const pI={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function RI(e={}){const{reactive:t=!1,target:n=xt,aliasMap:s=pI,passive:r=!0,onEventFired:i=ln}=e,o=Wn(new Set),a={toJSON(){return{}},current:o},l=t?Wn(a):a,c=new Set,u=new Set,f=new Set;function h(E,g){E in l&&(t?l[E]=g:l[E].value=g)}function d(){o.clear();for(const E of f)h(E,!1)}function p(E,g){var v,_;const y=(v=E.key)==null?void 0:v.toLowerCase(),O=[(_=E.code)==null?void 0:_.toLowerCase(),y].filter(Boolean);y&&(g?o.add(y):o.delete(y));for(const N of O)f.add(N),h(N,g);if(y==="shift"&&!g){const N=Array.from(u),I=N.indexOf("shift");N.forEach((S,P)=>{P>=I&&(o.delete(S),h(S,!1))}),u.clear()}else typeof E.getModifierState=="function"&&E.getModifierState("Shift")&&g&&[...o,...O].forEach(N=>u.add(N));y==="meta"&&!g?(c.forEach(N=>{o.delete(N),h(N,!1)}),c.clear()):typeof E.getModifierState=="function"&&E.getModifierState("Meta")&&g&&[...o,...O].forEach(N=>c.add(N))}Ut(n,"keydown",E=>(p(E,!0),i(E)),{passive:r}),Ut(n,"keyup",E=>(p(E,!1),i(E)),{passive:r}),Ut("blur",d,{passive:r}),Ut("focus",d,{passive:r});const m=new Proxy(l,{get(E,g,v){if(typeof g!="string")return Reflect.get(E,g,v);if(g=g.toLowerCase(),g in s&&(g=s[g]),!(g in l))if(/[+_-]/.test(g)){const y=g.split(/[+_-]/g).map(T=>T.trim());l[g]=he(()=>y.map(T=>ae(m[T])).every(Boolean))}else l[g]=Ee(!1);const _=Reflect.get(E,g,v);return t?ae(_):_}});return m}function LI(e={}){const{controls:t=!1,interval:n="requestAnimationFrame",immediate:s=!0}=e,r=it(new Date),i=()=>r.value=new Date,o=n==="requestAnimationFrame"?JP(i,{immediate:s}):GP(i,n,{immediate:s});return t?{now:r,...o}:r}function MI(e=null,t={}){var n,s,r;const{document:i=By,restoreOnUnmount:o=f=>f}=t,a=(n=i?.title)!=null?n:"",l=mr((s=e??i?.title)!=null?s:null),c=!!(e&&typeof e=="function");function u(f){if(!("titleTemplate"in t))return f;const h=t.titleTemplate||"%s";return typeof h=="function"?h(f):ae(h).replace(/%s/g,f)}return ke(l,(f,h)=>{f!==h&&i&&(i.title=u(f??""))},{immediate:!0}),t.observe&&!t.titleTemplate&&i&&!c&&Wy((r=i.head)==null?void 0:r.querySelector("title"),()=>{i&&i.title!==l.value&&(l.value=u(i.title))},{childList:!0}),Yn(()=>{if(o){const f=o(a,l.value||"");f!=null&&i&&(i.title=f)}}),l}function xI(e,t,n,s={}){var r,i,o;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:h}=s,d=Be(),p=d?.emit||((r=d?.$emit)==null?void 0:r.bind(d))||((o=(i=d?.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(d?.proxy));let m=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const E=_=>a?typeof a=="function"?a(_):nI(_):_,g=()=>RP(e[t])?E(e[t]):f,v=_=>{h?h(_)&&p(m,_):p(m,_)};if(l){const _=g(),y=it(_);let T=!1;return ke(()=>e[t],O=>{T||(T=!0,y.value=E(O),Yt(()=>T=!1))}),ke(y,O=>{!T&&(O!==e[t]||u)&&v(O)},{deep:u}),y}else return he({get(){return g()},set(_){v(_)}})}function DI(e={}){const{window:t=xt,...n}=e;return hI(t,n)}const qy=uI(),kI=KP(qy),mI=Ky(),gI=Dt({__name:"App",setup(e){return gA({title:"Board - XCPCIO",meta:[{name:"theme-color",content:()=>qy.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>mI.value?"/favicon-dark.svg":"/favicon.svg"}]}),(t,n)=>{const s=Ws("RouterView");return Nt(),Xn(s)}}});AP(gI,{routes:XN(PP),base:"/"},e=>{Object.values([Q0,ew,uw,hO]).forEach(t=>t.install?.(e)),e.app.use(qN),e.app.use(KO)});export{Cg as $,MI as A,II as B,ke as C,$i as D,vT as E,Ke as F,Xn as G,wI as H,Fn as I,wu as J,Hg as K,hi as L,Eu as M,Yt as N,aI as O,_I as P,uO as Q,NI as R,g0 as S,a0 as T,Zn as U,pS as V,GP as W,zP as X,AI as Y,UP as Z,RI as _,Ie as a,aO as a0,OI as a1,Qa as a2,NO as a3,EO as a4,yI as a5,_c as a6,Zt as a7,Ki as a8,yO as a9,vO as aa,gc as ab,K_ as ac,MO as ad,SO as ae,wt as af,Na as ag,Ot as ah,VO as ai,ce as aj,zc as ak,Wn as al,SI as am,Hp as an,vI as ao,Jc as ap,Gn as aq,Lb as ar,Sg as as,Yn as at,tu as au,ae as av,Be as aw,xI as ax,_n as b,yr as c,yu as d,Dt as e,Su as f,DI as g,he as h,CI as i,kI as j,q0 as k,Vg as l,it as m,zn as n,Nt as o,PI as p,Yl as q,Ws as r,LI as s,_a as t,rn as u,Xb as v,js as w,qo as x,Ia as y,Re as z};
|