@xcpcio/board-app 0.51.1 → 0.51.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/404.html +1 -1
- package/dist/assets/{Board-b8d1453a.js → Board-a6a37adf.js} +1 -1
- package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-c5f15c22.js → DataSourceInput.vue_vue_type_script_setup_true_lang-d2ea1ac6.js} +1 -1
- package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-8a64558b.js → TheInput.vue_vue_type_script_setup_true_lang-1ce252e6.js} +1 -1
- package/dist/assets/{_...all_-c9f36ec5.js → _...all_-198e3528.js} +1 -1
- package/dist/assets/{_...all_-e1b5a370.js → _...all_-61cb8860.js} +1 -1
- package/dist/assets/{_name_-1f4a93f9.js → _name_-f901a5ed.js} +1 -1
- package/dist/assets/{about-02a4c19e.js → about-9fdb1313.js} +1 -1
- package/dist/assets/{board-59a350bb.js → board-65f3126c.js} +1 -1
- package/dist/assets/{board-layout-636d6236.js → board-layout-598f9ee4.js} +1 -1
- package/dist/assets/{headless-aefb4c04.js → headless-e015e9d1.js} +1 -1
- package/dist/assets/{home-64be240a.js → home-89f287c8.js} +1 -1
- package/dist/assets/{index-6a41153b.js → index-7af0a9ca.js} +1 -1
- package/dist/assets/{index-bcded75b.js → index-8e5373fd.js} +1 -1
- package/dist/assets/{index-c3e5f0aa.js → index-d8432aad.js} +3 -3
- package/dist/assets/{index-3f6dac34.js → index-ea20d191.js} +1 -1
- package/dist/assets/{index-layout-899fd379.js → index-layout-60ef1a96.js} +1 -1
- package/dist/assets/{pagination-659cc442.js → pagination-95a79aa6.js} +1 -1
- package/dist/assets/{query-ae7df373.js → query-67fd6c27.js} +1 -1
- package/dist/assets/{test-daafb635.js → test-5c739ae1.js} +1 -1
- package/dist/assets/{user-cf30e1f8.js → user-03dfbe5d.js} +1 -1
- package/dist/assets/{virtual_pwa-register-876d5948.js → virtual_pwa-register-6ca2d3a0.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +4 -5
|
@@ -40,11 +40,11 @@ var ly=(t,r,i)=>{if(!r.has(t))throw TypeError("Cannot "+i)};var ut=(t,r,i)=>(ly(
|
|
|
40
40
|
* pinia v2.2.2
|
|
41
41
|
* (c) 2024 Eduardo San Martin Morote
|
|
42
42
|
* @license MIT
|
|
43
|
-
*/let X5;const ob=t=>X5=t,J5=Symbol();function x4(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var j1;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(j1||(j1={}));function y7(){const t=zv(!0),r=t.run(()=>er({}));let i=[],o=[];const n=Xv({install(e){ob(n),n._a=e,e.provide(J5,n),e.config.globalProperties.$pinia=n,o.forEach(f=>i.push(f)),o=[]},use(e){return!this._a&&!_7?o.push(e):i.push(e),this},_p:i,_a:null,_e:t,_s:new Map,state:r});return n}const Z5=()=>{};function Pw(t,r,i,o=Z5){t.push(r);const n=()=>{const e=t.indexOf(r);e>-1&&(t.splice(e,1),o())};return!i&&Vv()&&r3(n),n}function W0(t,...r){t.slice().forEach(i=>{i(...r)})}const D7=t=>t(),Nw=Symbol(),Ey=Symbol();function A4(t,r){t instanceof Map&&r instanceof Map?r.forEach((i,o)=>t.set(o,i)):t instanceof Set&&r instanceof Set&&r.forEach(t.add,t);for(const i in r){if(!r.hasOwnProperty(i))continue;const o=r[i],n=t[i];x4(n)&&x4(o)&&t.hasOwnProperty(i)&&!un(o)&&!Va(o)?t[i]=A4(n,o):t[i]=o}return t}const w7=Symbol();function E7(t){return!x4(t)||!t.hasOwnProperty(w7)}const{assign:Ec}=Object;function F7(t){return!!(un(t)&&t.effect)}function T7(t,r,i,o){const{state:n,actions:e,getters:f}=r,v=i.state.value[t];let _;function w(){v||(i.state.value[t]=n?n():{});const F=o6(i.state.value[t]);return Ec(F,e,Object.keys(f||{}).reduce((T,C)=>(T[C]=Xv(Sr(()=>{ob(i);const O=i._s.get(t);return f[C].call(O,O)})),T),{}))}return _=eT(t,w,r,i,o,!0),_}function eT(t,r,i={},o,n,e){let f;const v=Ec({actions:{}},i),_={deep:!0};let w,F,T=[],C=[],O;const N=o.state.value[t];!e&&!N&&(o.state.value[t]={}),er({});let B;function V(P){let I;w=F=!1,typeof P=="function"?(P(o.state.value[t]),I={type:j1.patchFunction,storeId:t,events:O}):(A4(o.state.value[t],P),I={type:j1.patchObject,payload:P,storeId:t,events:O});const W=B=Symbol();bo().then(()=>{B===W&&(w=!0)}),F=!0,W0(T,I,o.state.value[t])}const G=e?function(){const{state:I}=i,W=I?I():{};this.$patch(oe=>{Ec(oe,W)})}:Z5;function X(){f.stop(),T=[],C=[],o._s.delete(t)}const H=(P,I="")=>{if(Nw in P)return P[Ey]=I,P;const W=function(){ob(o);const oe=Array.from(arguments),ae=[],be=[];function Ee(fe){ae.push(fe)}function Ue(fe){be.push(fe)}W0(C,{args:oe,name:W[Ey],store:Y,after:Ee,onError:Ue});let ve;try{ve=P.apply(this&&this.$id===t?this:Y,oe)}catch(fe){throw W0(be,fe),fe}return ve instanceof Promise?ve.then(fe=>(W0(ae,fe),fe)).catch(fe=>(W0(be,fe),Promise.reject(fe))):(W0(ae,ve),ve)};return W[Nw]=!0,W[Ey]=I,W},z={_p:o,$id:t,$onAction:Pw.bind(null,C),$patch:V,$reset:G,$subscribe(P,I={}){const W=Pw(T,P,I.detached,()=>oe()),oe=f.run(()=>In(()=>o.state.value[t],ae=>{(I.flush==="sync"?F:w)&&P({storeId:t,type:j1.direct,events:O},ae)},Ec({},_,I)));return W},$dispose:X},Y=Kc(z);o._s.set(t,Y);const K=(o._a&&o._a.runWithContext||D7)(()=>o._e.run(()=>(f=zv()).run(()=>r({action:H}))));for(const P in K){const I=K[P];if(un(I)&&!F7(I)||Va(I))e||(N&&E7(I)&&(un(I)?I.value=N[P]:A4(I,N[P])),o.state.value[t][P]=I);else if(typeof I=="function"){const W=H(I,P);K[P]=W,v.actions[P]=I}}return Ec(Y,K),Ec(rn(Y),K),Object.defineProperty(Y,"$state",{get:()=>o.state.value[t],set:P=>{V(I=>{Ec(I,P)})}}),o._p.forEach(P=>{Ec(Y,f.run(()=>P({store:Y,app:o._a,pinia:o,options:v})))}),N&&e&&i.hydrate&&i.hydrate(Y.$state,N),w=!0,F=!0,Y}function DH(t,r,i){let o,n;const e=typeof r=="function";typeof t=="string"?(o=t,n=e?i:r):(n=t,o=t.id);function f(v,_){const w=M6();return v=v||(w?Ps(J5,null):null),v&&ob(v),v=X5,v._s.has(o)||(e?eT(o,r,n,v):T7(o,n,v)),v._s.get(o)}return f.$id=o,f}const x7=({isClient:t,initialState:r,app:i})=>{const o=y7();i.use(o),t?o.state.value=r.pinia||{}:r.pinia=o.state.value},A7=Object.freeze(Object.defineProperty({__proto__:null,install:x7},Symbol.toStringTag,{value:"Module"})),C7=({isClient:t,router:r})=>{t&&r.isReady().then(async()=>{const{registerSW:i}=await fs(()=>import("./virtual_pwa-register-876d5948.js"),[],import.meta.url);i({immediate:!0})}).catch(()=>{})},S7=Object.freeze(Object.defineProperty({__proto__:null,install:C7},Symbol.toStringTag,{value:"Module"}));var tT={exports:{}};const k7=q5($O);(function(t,r){(function(o,n){t.exports=n(k7)})(Yi,i=>(()=>{var o={113:(P,I)=>{Object.defineProperty(I,"__esModule",{value:!0}),I.default=(W,oe)=>{const ae=W.__vccOpts||W;for(const[be,Ee]of oe)ae[be]=Ee;return ae}},594:P=>{P.exports=i}},n={};function e(P){var I=n[P];if(I!==void 0)return I.exports;var W=n[P]={exports:{}};return o[P](W,W.exports,e),W.exports}e.d=(P,I)=>{for(var W in I)e.o(I,W)&&!e.o(P,W)&&Object.defineProperty(P,W,{enumerable:!0,get:I[W]})},e.o=(P,I)=>Object.prototype.hasOwnProperty.call(P,I),e.r=P=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(P,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(P,"__esModule",{value:!0})};var f={};e.r(f),e.d(f,{ToastComponent:()=>z,ToastPlugin:()=>ee,ToastPositions:()=>O,default:()=>K,useToast:()=>Y});var v=e(594);const _=["innerHTML"];function w(P,I,W,oe,ae,be){return(0,v.openBlock)(),(0,v.createBlock)(v.Transition,{"enter-active-class":P.transition.enter,"leave-active-class":P.transition.leave},{default:(0,v.withCtx)(()=>[(0,v.withDirectives)((0,v.createElementVNode)("div",{ref:"root",role:"alert",class:(0,v.normalizeClass)(["v-toast__item",[`v-toast__item--${P.type}`,`v-toast__item--${P.position}`]]),onMouseover:I[0]||(I[0]=Ee=>P.toggleTimer(!0)),onMouseleave:I[1]||(I[1]=Ee=>P.toggleTimer(!1)),onClick:I[2]||(I[2]=function(){return P.whenClicked&&P.whenClicked(...arguments)})},[I[3]||(I[3]=(0,v.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,v.createElementVNode)("p",{class:"v-toast__text",innerHTML:P.message},null,8,_)],34),[[v.vShow,P.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function F(P){var I;typeof P.remove<"u"?P.remove():(I=P.parentNode)==null||I.removeChild(P)}function T(P,I,W){let oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const ae=(0,v.h)(P,I,oe),be=document.createElement("div");return be.classList.add("v-toast--pending"),W.appendChild(be),(0,v.render)(ae,be),ae.component}class C{constructor(I,W){this.startedAt=Date.now(),this.callback=I,this.delay=W,this.timer=setTimeout(I,W)}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 O=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function N(P){return{all:P=P||new Map,on:function(I,W){var oe=P.get(I);oe?oe.push(W):P.set(I,[W])},off:function(I,W){var oe=P.get(I);oe&&(W?oe.splice(oe.indexOf(W)>>>0,1):P.set(I,[]))},emit:function(I,W){var oe=P.get(I);oe&&oe.slice().map(function(ae){ae(W)}),(oe=P.get("*"))&&oe.slice().map(function(ae){ae(I,W)})}}}const V=N(),G=(0,v.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:O.BOTTOM_RIGHT,validator(P){return Object.values(O).includes(P)}},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(),V.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 P=document.body;P.appendChild(this.parentTop),P.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 P=this.$refs.root;(0,v.render)(null,P),F(P)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const P=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),F(P),this.isActive=!0,this.duration&&(this.timer=new C(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(P){!this.pauseOnHover||!this.timer||(P?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case O.TOP:case O.TOP_RIGHT:case O.TOP_LEFT:return this.parentTop;case O.BOTTOM:case O.BOTTOM_RIGHT:case O.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case O.TOP:case O.TOP_RIGHT:case O.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case O.BOTTOM:case O.BOTTOM_RIGHT:case O.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){V.off("toast-clear",this.dismiss)}});var X=e(113);const z=(0,X.default)(G,[["render",w]]),Y=function(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(I){let W=null;typeof I=="string"&&(W=I);const ae=Object.assign({},{message:W},P,I);return{dismiss:T(z,ae,document.body).ctx.dismiss}},clear(){V.emit("toast-clear")},success(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"success"},W))},error(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"error"},W))},info(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"info"},W))},warning(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"warning"},W))},default(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"default"},W))}}},ee={install:function(P){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=Y(I);P.config.globalProperties.$toast=W,P.provide("$toast",W)}},K=ee;return f})())})(tT);var O7=tT.exports;const R7=Ns(O7);const I7=({app:t})=>{t.use(R7,{position:"bottom-right"})},P7=Object.freeze(Object.defineProperty({__proto__:null,install:I7},Symbol.toStringTag,{value:"Module"}));/*!
|
|
43
|
+
*/let X5;const ob=t=>X5=t,J5=Symbol();function x4(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var j1;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(j1||(j1={}));function y7(){const t=zv(!0),r=t.run(()=>er({}));let i=[],o=[];const n=Xv({install(e){ob(n),n._a=e,e.provide(J5,n),e.config.globalProperties.$pinia=n,o.forEach(f=>i.push(f)),o=[]},use(e){return!this._a&&!_7?o.push(e):i.push(e),this},_p:i,_a:null,_e:t,_s:new Map,state:r});return n}const Z5=()=>{};function Pw(t,r,i,o=Z5){t.push(r);const n=()=>{const e=t.indexOf(r);e>-1&&(t.splice(e,1),o())};return!i&&Vv()&&r3(n),n}function W0(t,...r){t.slice().forEach(i=>{i(...r)})}const D7=t=>t(),Nw=Symbol(),Ey=Symbol();function A4(t,r){t instanceof Map&&r instanceof Map?r.forEach((i,o)=>t.set(o,i)):t instanceof Set&&r instanceof Set&&r.forEach(t.add,t);for(const i in r){if(!r.hasOwnProperty(i))continue;const o=r[i],n=t[i];x4(n)&&x4(o)&&t.hasOwnProperty(i)&&!un(o)&&!Va(o)?t[i]=A4(n,o):t[i]=o}return t}const w7=Symbol();function E7(t){return!x4(t)||!t.hasOwnProperty(w7)}const{assign:Ec}=Object;function F7(t){return!!(un(t)&&t.effect)}function T7(t,r,i,o){const{state:n,actions:e,getters:f}=r,v=i.state.value[t];let _;function w(){v||(i.state.value[t]=n?n():{});const F=o6(i.state.value[t]);return Ec(F,e,Object.keys(f||{}).reduce((T,C)=>(T[C]=Xv(Sr(()=>{ob(i);const O=i._s.get(t);return f[C].call(O,O)})),T),{}))}return _=eT(t,w,r,i,o,!0),_}function eT(t,r,i={},o,n,e){let f;const v=Ec({actions:{}},i),_={deep:!0};let w,F,T=[],C=[],O;const N=o.state.value[t];!e&&!N&&(o.state.value[t]={}),er({});let B;function V(P){let I;w=F=!1,typeof P=="function"?(P(o.state.value[t]),I={type:j1.patchFunction,storeId:t,events:O}):(A4(o.state.value[t],P),I={type:j1.patchObject,payload:P,storeId:t,events:O});const W=B=Symbol();bo().then(()=>{B===W&&(w=!0)}),F=!0,W0(T,I,o.state.value[t])}const G=e?function(){const{state:I}=i,W=I?I():{};this.$patch(oe=>{Ec(oe,W)})}:Z5;function X(){f.stop(),T=[],C=[],o._s.delete(t)}const H=(P,I="")=>{if(Nw in P)return P[Ey]=I,P;const W=function(){ob(o);const oe=Array.from(arguments),ae=[],be=[];function Ee(fe){ae.push(fe)}function Ue(fe){be.push(fe)}W0(C,{args:oe,name:W[Ey],store:Y,after:Ee,onError:Ue});let ve;try{ve=P.apply(this&&this.$id===t?this:Y,oe)}catch(fe){throw W0(be,fe),fe}return ve instanceof Promise?ve.then(fe=>(W0(ae,fe),fe)).catch(fe=>(W0(be,fe),Promise.reject(fe))):(W0(ae,ve),ve)};return W[Nw]=!0,W[Ey]=I,W},z={_p:o,$id:t,$onAction:Pw.bind(null,C),$patch:V,$reset:G,$subscribe(P,I={}){const W=Pw(T,P,I.detached,()=>oe()),oe=f.run(()=>In(()=>o.state.value[t],ae=>{(I.flush==="sync"?F:w)&&P({storeId:t,type:j1.direct,events:O},ae)},Ec({},_,I)));return W},$dispose:X},Y=Kc(z);o._s.set(t,Y);const K=(o._a&&o._a.runWithContext||D7)(()=>o._e.run(()=>(f=zv()).run(()=>r({action:H}))));for(const P in K){const I=K[P];if(un(I)&&!F7(I)||Va(I))e||(N&&E7(I)&&(un(I)?I.value=N[P]:A4(I,N[P])),o.state.value[t][P]=I);else if(typeof I=="function"){const W=H(I,P);K[P]=W,v.actions[P]=I}}return Ec(Y,K),Ec(rn(Y),K),Object.defineProperty(Y,"$state",{get:()=>o.state.value[t],set:P=>{V(I=>{Ec(I,P)})}}),o._p.forEach(P=>{Ec(Y,f.run(()=>P({store:Y,app:o._a,pinia:o,options:v})))}),N&&e&&i.hydrate&&i.hydrate(Y.$state,N),w=!0,F=!0,Y}function DH(t,r,i){let o,n;const e=typeof r=="function";typeof t=="string"?(o=t,n=e?i:r):(n=t,o=t.id);function f(v,_){const w=M6();return v=v||(w?Ps(J5,null):null),v&&ob(v),v=X5,v._s.has(o)||(e?eT(o,r,n,v):T7(o,n,v)),v._s.get(o)}return f.$id=o,f}const x7=({isClient:t,initialState:r,app:i})=>{const o=y7();i.use(o),t?o.state.value=r.pinia||{}:r.pinia=o.state.value},A7=Object.freeze(Object.defineProperty({__proto__:null,install:x7},Symbol.toStringTag,{value:"Module"})),C7=({isClient:t,router:r})=>{t&&r.isReady().then(async()=>{const{registerSW:i}=await fs(()=>import("./virtual_pwa-register-6ca2d3a0.js"),[],import.meta.url);i({immediate:!0})}).catch(()=>{})},S7=Object.freeze(Object.defineProperty({__proto__:null,install:C7},Symbol.toStringTag,{value:"Module"}));var tT={exports:{}};const k7=q5($O);(function(t,r){(function(o,n){t.exports=n(k7)})(Yi,i=>(()=>{var o={113:(P,I)=>{Object.defineProperty(I,"__esModule",{value:!0}),I.default=(W,oe)=>{const ae=W.__vccOpts||W;for(const[be,Ee]of oe)ae[be]=Ee;return ae}},594:P=>{P.exports=i}},n={};function e(P){var I=n[P];if(I!==void 0)return I.exports;var W=n[P]={exports:{}};return o[P](W,W.exports,e),W.exports}e.d=(P,I)=>{for(var W in I)e.o(I,W)&&!e.o(P,W)&&Object.defineProperty(P,W,{enumerable:!0,get:I[W]})},e.o=(P,I)=>Object.prototype.hasOwnProperty.call(P,I),e.r=P=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(P,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(P,"__esModule",{value:!0})};var f={};e.r(f),e.d(f,{ToastComponent:()=>z,ToastPlugin:()=>ee,ToastPositions:()=>O,default:()=>K,useToast:()=>Y});var v=e(594);const _=["innerHTML"];function w(P,I,W,oe,ae,be){return(0,v.openBlock)(),(0,v.createBlock)(v.Transition,{"enter-active-class":P.transition.enter,"leave-active-class":P.transition.leave},{default:(0,v.withCtx)(()=>[(0,v.withDirectives)((0,v.createElementVNode)("div",{ref:"root",role:"alert",class:(0,v.normalizeClass)(["v-toast__item",[`v-toast__item--${P.type}`,`v-toast__item--${P.position}`]]),onMouseover:I[0]||(I[0]=Ee=>P.toggleTimer(!0)),onMouseleave:I[1]||(I[1]=Ee=>P.toggleTimer(!1)),onClick:I[2]||(I[2]=function(){return P.whenClicked&&P.whenClicked(...arguments)})},[I[3]||(I[3]=(0,v.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,v.createElementVNode)("p",{class:"v-toast__text",innerHTML:P.message},null,8,_)],34),[[v.vShow,P.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function F(P){var I;typeof P.remove<"u"?P.remove():(I=P.parentNode)==null||I.removeChild(P)}function T(P,I,W){let oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const ae=(0,v.h)(P,I,oe),be=document.createElement("div");return be.classList.add("v-toast--pending"),W.appendChild(be),(0,v.render)(ae,be),ae.component}class C{constructor(I,W){this.startedAt=Date.now(),this.callback=I,this.delay=W,this.timer=setTimeout(I,W)}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 O=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function N(P){return{all:P=P||new Map,on:function(I,W){var oe=P.get(I);oe?oe.push(W):P.set(I,[W])},off:function(I,W){var oe=P.get(I);oe&&(W?oe.splice(oe.indexOf(W)>>>0,1):P.set(I,[]))},emit:function(I,W){var oe=P.get(I);oe&&oe.slice().map(function(ae){ae(W)}),(oe=P.get("*"))&&oe.slice().map(function(ae){ae(I,W)})}}}const V=N(),G=(0,v.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:O.BOTTOM_RIGHT,validator(P){return Object.values(O).includes(P)}},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(),V.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 P=document.body;P.appendChild(this.parentTop),P.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 P=this.$refs.root;(0,v.render)(null,P),F(P)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const P=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),F(P),this.isActive=!0,this.duration&&(this.timer=new C(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(P){!this.pauseOnHover||!this.timer||(P?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case O.TOP:case O.TOP_RIGHT:case O.TOP_LEFT:return this.parentTop;case O.BOTTOM:case O.BOTTOM_RIGHT:case O.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case O.TOP:case O.TOP_RIGHT:case O.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case O.BOTTOM:case O.BOTTOM_RIGHT:case O.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){V.off("toast-clear",this.dismiss)}});var X=e(113);const z=(0,X.default)(G,[["render",w]]),Y=function(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(I){let W=null;typeof I=="string"&&(W=I);const ae=Object.assign({},{message:W},P,I);return{dismiss:T(z,ae,document.body).ctx.dismiss}},clear(){V.emit("toast-clear")},success(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"success"},W))},error(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"error"},W))},info(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"info"},W))},warning(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"warning"},W))},default(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"default"},W))}}},ee={install:function(P){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=Y(I);P.config.globalProperties.$toast=W,P.provide("$toast",W)}},K=ee;return f})())})(tT);var O7=tT.exports;const R7=Ns(O7);const I7=({app:t})=>{t.use(R7,{position:"bottom-right"})},P7=Object.freeze(Object.defineProperty({__proto__:null,install:I7},Symbol.toStringTag,{value:"Module"}));/*!
|
|
44
44
|
* vue-router v4.4.5
|
|
45
45
|
* (c) 2024 Eduardo San Martin Morote
|
|
46
46
|
* @license MIT
|
|
47
|
-
*/const K0=typeof document<"u";function rT(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function N7(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&rT(t.default)}const En=Object.assign;function Fy(t,r){const i={};for(const o in r){const n=r[o];i[o]=fa(n)?n.map(t):t(n)}return i}const Y1=()=>{},fa=Array.isArray,nT=/#/g,L7=/&/g,M7=/\//g,B7=/=/g,U7=/\?/g,iT=/\+/g,H7=/%5B/g,$7=/%5D/g,sT=/%5E/g,W7=/%60/g,oT=/%7B/g,z7=/%7C/g,aT=/%7D/g,V7=/%20/g;function P3(t){return encodeURI(""+t).replace(z7,"|").replace(H7,"[").replace($7,"]")}function G7(t){return P3(t).replace(oT,"{").replace(aT,"}").replace(sT,"^")}function C4(t){return P3(t).replace(iT,"%2B").replace(V7,"+").replace(nT,"%23").replace(L7,"%26").replace(W7,"`").replace(oT,"{").replace(aT,"}").replace(sT,"^")}function j7(t){return C4(t).replace(B7,"%3D")}function Y7(t){return P3(t).replace(nT,"%23").replace(U7,"%3F")}function K7(t){return t==null?"":Y7(t).replace(M7,"%2F")}function gp(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const q7=/\/$/,Q7=t=>t.replace(q7,"");function Ty(t,r,i="/"){let o,n={},e="",f="";const v=r.indexOf("#");let _=r.indexOf("?");return v<_&&v>=0&&(_=-1),_>-1&&(o=r.slice(0,_),e=r.slice(_+1,v>-1?v:r.length),n=t(e)),v>-1&&(o=o||r.slice(0,v),f=r.slice(v,r.length)),o=eR(o??r,i),{fullPath:o+(e&&"?")+e+f,path:o,query:n,hash:gp(f)}}function X7(t,r){const i=r.query?t(r.query):"";return r.path+(i&&"?")+i+(r.hash||"")}function Lw(t,r){return!r||!t.toLowerCase().startsWith(r.toLowerCase())?t:t.slice(r.length)||"/"}function J7(t,r,i){const o=r.matched.length-1,n=i.matched.length-1;return o>-1&&o===n&&wh(r.matched[o],i.matched[n])&&lT(r.params,i.params)&&t(r.query)===t(i.query)&&r.hash===i.hash}function wh(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function lT(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const i in t)if(!Z7(t[i],r[i]))return!1;return!0}function Z7(t,r){return fa(t)?Mw(t,r):fa(r)?Mw(r,t):t===r}function Mw(t,r){return fa(r)?t.length===r.length&&t.every((i,o)=>i===r[o]):t.length===1&&t[0]===r}function eR(t,r){if(t.startsWith("/"))return t;if(!t)return r;const i=r.split("/"),o=t.split("/"),n=o[o.length-1];(n===".."||n===".")&&o.push("");let e=i.length-1,f,v;for(f=0;f<o.length;f++)if(v=o[f],v!==".")if(v==="..")e>1&&e--;else break;return i.slice(0,e).join("/")+"/"+o.slice(f).join("/")}const Dc={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Eh;(function(t){t.pop="pop",t.push="push"})(Eh||(Eh={}));var _f;(function(t){t.back="back",t.forward="forward",t.unknown=""})(_f||(_f={}));const xy="";function cT(t){if(!t)if(K0){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Q7(t)}const tR=/^[^#]+#/;function uT(t,r){return t.replace(tR,"#")+r}function rR(t,r){const i=document.documentElement.getBoundingClientRect(),o=t.getBoundingClientRect();return{behavior:r.behavior,left:o.left-i.left-(r.left||0),top:o.top-i.top-(r.top||0)}}const ab=()=>({left:window.scrollX,top:window.scrollY});function nR(t){let r;if("el"in t){const i=t.el,o=typeof i=="string"&&i.startsWith("#"),n=typeof i=="string"?o?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!n)return;r=rR(n,t)}else r=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.scrollX,r.top!=null?r.top:window.scrollY)}function Bw(t,r){return(history.state?history.state.position-r:-1)+t}const S4=new Map;function iR(t,r){S4.set(t,r)}function sR(t){const r=S4.get(t);return S4.delete(t),r}let oR=()=>location.protocol+"//"+location.host;function fT(t,r){const{pathname:i,search:o,hash:n}=r,e=t.indexOf("#");if(e>-1){let v=n.includes(t.slice(e))?t.slice(e).length:1,_=n.slice(v);return _[0]!=="/"&&(_="/"+_),Lw(_,"")}return Lw(i,t)+o+n}function aR(t,r,i,o){let n=[],e=[],f=null;const v=({state:C})=>{const O=fT(t,location),N=i.value,B=r.value;let V=0;if(C){if(i.value=O,r.value=C,f&&f===N){f=null;return}V=B?C.position-B.position:0}else o(O);n.forEach(G=>{G(i.value,N,{delta:V,type:Eh.pop,direction:V?V>0?_f.forward:_f.back:_f.unknown})})};function _(){f=i.value}function w(C){n.push(C);const O=()=>{const N=n.indexOf(C);N>-1&&n.splice(N,1)};return e.push(O),O}function F(){const{history:C}=window;C.state&&C.replaceState(En({},C.state,{scroll:ab()}),"")}function T(){for(const C of e)C();e=[],window.removeEventListener("popstate",v),window.removeEventListener("beforeunload",F)}return window.addEventListener("popstate",v),window.addEventListener("beforeunload",F,{passive:!0}),{pauseListeners:_,listen:w,destroy:T}}function Uw(t,r,i,o=!1,n=!1){return{back:t,current:r,forward:i,replaced:o,position:window.history.length,scroll:n?ab():null}}function lR(t){const{history:r,location:i}=window,o={value:fT(t,i)},n={value:r.state};n.value||e(o.value,{back:null,current:o.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function e(_,w,F){const T=t.indexOf("#"),C=T>-1?(i.host&&document.querySelector("base")?t:t.slice(T))+_:oR()+t+_;try{r[F?"replaceState":"pushState"](w,"",C),n.value=w}catch(O){console.error(O),i[F?"replace":"assign"](C)}}function f(_,w){const F=En({},r.state,Uw(n.value.back,_,n.value.forward,!0),w,{position:n.value.position});e(_,F,!0),o.value=_}function v(_,w){const F=En({},n.value,r.state,{forward:_,scroll:ab()});e(F.current,F,!0);const T=En({},Uw(o.value,_,null),{position:F.position+1},w);e(_,T,!1),o.value=_}return{location:o,state:n,push:v,replace:f}}function cR(t){t=cT(t);const r=lR(t),i=aR(t,r.state,r.location,r.replace);function o(e,f=!0){f||i.pauseListeners(),history.go(e)}const n=En({location:"",base:t,go:o,createHref:uT.bind(null,t)},r,i);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>r.state.value}),n}function uR(t=""){let r=[],i=[xy],o=0;t=cT(t);function n(v){o++,o!==i.length&&i.splice(o),i.push(v)}function e(v,_,{direction:w,delta:F}){const T={direction:w,delta:F,type:Eh.pop};for(const C of r)C(v,_,T)}const f={location:xy,state:{},base:t,createHref:uT.bind(null,t),replace(v){i.splice(o--,1),n(v)},push(v,_){n(v)},listen(v){return r.push(v),()=>{const _=r.indexOf(v);_>-1&&r.splice(_,1)}},destroy(){r=[],i=[xy],o=0},go(v,_=!0){const w=this.location,F=v<0?_f.back:_f.forward;o=Math.max(0,Math.min(o+v,i.length-1)),_&&e(this.location,w,{direction:F,delta:v})}};return Object.defineProperty(f,"location",{enumerable:!0,get:()=>i[o]}),f}function fR(t){return typeof t=="string"||t&&typeof t=="object"}function hT(t){return typeof t=="string"||typeof t=="symbol"}const dT=Symbol("");var Hw;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Hw||(Hw={}));function Fh(t,r){return En(new Error,{type:t,[dT]:!0},r)}function Sl(t,r){return t instanceof Error&&dT in t&&(r==null||!!(t.type&r))}const $w="[^/]+?",hR={sensitive:!1,strict:!1,start:!0,end:!0},dR=/[.+*?^${}()[\]/\\]/g;function pR(t,r){const i=En({},hR,r),o=[];let n=i.start?"^":"";const e=[];for(const w of t){const F=w.length?[]:[90];i.strict&&!w.length&&(n+="/");for(let T=0;T<w.length;T++){const C=w[T];let O=40+(i.sensitive?.25:0);if(C.type===0)T||(n+="/"),n+=C.value.replace(dR,"\\$&"),O+=40;else if(C.type===1){const{value:N,repeatable:B,optional:V,regexp:G}=C;e.push({name:N,repeatable:B,optional:V});const X=G||$w;if(X!==$w){O+=10;try{new RegExp(`(${X})`)}catch(z){throw new Error(`Invalid custom RegExp for param "${N}" (${X}): `+z.message)}}let H=B?`((?:${X})(?:/(?:${X}))*)`:`(${X})`;T||(H=V&&w.length<2?`(?:/${H})`:"/"+H),V&&(H+="?"),n+=H,O+=20,V&&(O+=-8),B&&(O+=-20),X===".*"&&(O+=-50)}F.push(O)}o.push(F)}if(i.strict&&i.end){const w=o.length-1;o[w][o[w].length-1]+=.7000000000000001}i.strict||(n+="/?"),i.end?n+="$":i.strict&&(n+="(?:/|$)");const f=new RegExp(n,i.sensitive?"":"i");function v(w){const F=w.match(f),T={};if(!F)return null;for(let C=1;C<F.length;C++){const O=F[C]||"",N=e[C-1];T[N.name]=O&&N.repeatable?O.split("/"):O}return T}function _(w){let F="",T=!1;for(const C of t){(!T||!F.endsWith("/"))&&(F+="/"),T=!1;for(const O of C)if(O.type===0)F+=O.value;else if(O.type===1){const{value:N,repeatable:B,optional:V}=O,G=N in w?w[N]:"";if(fa(G)&&!B)throw new Error(`Provided param "${N}" is an array but it is not repeatable (* or + modifiers)`);const X=fa(G)?G.join("/"):G;if(!X)if(V)C.length<2&&(F.endsWith("/")?F=F.slice(0,-1):T=!0);else throw new Error(`Missing required param "${N}"`);F+=X}}return F||"/"}return{re:f,score:o,keys:e,parse:v,stringify:_}}function mR(t,r){let i=0;for(;i<t.length&&i<r.length;){const o=r[i]-t[i];if(o)return o;i++}return t.length<r.length?t.length===1&&t[0]===40+40?-1:1:t.length>r.length?r.length===1&&r[0]===40+40?1:-1:0}function pT(t,r){let i=0;const o=t.score,n=r.score;for(;i<o.length&&i<n.length;){const e=mR(o[i],n[i]);if(e)return e;i++}if(Math.abs(n.length-o.length)===1){if(Ww(o))return 1;if(Ww(n))return-1}return n.length-o.length}function Ww(t){const r=t[t.length-1];return t.length>0&&r[r.length-1]<0}const gR={type:0,value:""},vR=/[a-zA-Z0-9_]/;function bR(t){if(!t)return[[]];if(t==="/")return[[gR]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function r(O){throw new Error(`ERR (${i})/"${w}": ${O}`)}let i=0,o=i;const n=[];let e;function f(){e&&n.push(e),e=[]}let v=0,_,w="",F="";function T(){w&&(i===0?e.push({type:0,value:w}):i===1||i===2||i===3?(e.length>1&&(_==="*"||_==="+")&&r(`A repeatable param (${w}) must be alone in its segment. eg: '/:ids+.`),e.push({type:1,value:w,regexp:F,repeatable:_==="*"||_==="+",optional:_==="*"||_==="?"})):r("Invalid state to consume buffer"),w="")}function C(){w+=_}for(;v<t.length;){if(_=t[v++],_==="\\"&&i!==2){o=i,i=4;continue}switch(i){case 0:_==="/"?(w&&T(),f()):_===":"?(T(),i=1):C();break;case 4:C(),i=o;break;case 1:_==="("?i=2:vR.test(_)?C():(T(),i=0,_!=="*"&&_!=="?"&&_!=="+"&&v--);break;case 2:_===")"?F[F.length-1]=="\\"?F=F.slice(0,-1)+_:i=3:F+=_;break;case 3:T(),i=0,_!=="*"&&_!=="?"&&_!=="+"&&v--,F="";break;default:r("Unknown state");break}}return i===2&&r(`Unfinished custom RegExp for param "${w}"`),T(),f(),n}function _R(t,r,i){const o=pR(bR(t.path),i),n=En(o,{record:t,parent:r,children:[],alias:[]});return r&&!n.record.aliasOf==!r.record.aliasOf&&r.children.push(n),n}function yR(t,r){const i=[],o=new Map;r=jw({strict:!1,end:!0,sensitive:!1},r);function n(T){return o.get(T)}function e(T,C,O){const N=!O,B=Vw(T);B.aliasOf=O&&O.record;const V=jw(r,T),G=[B];if("alias"in T){const z=typeof T.alias=="string"?[T.alias]:T.alias;for(const Y of z)G.push(Vw(En({},B,{components:O?O.record.components:B.components,path:Y,aliasOf:O?O.record:B})))}let X,H;for(const z of G){const{path:Y}=z;if(C&&Y[0]!=="/"){const ee=C.record.path,K=ee[ee.length-1]==="/"?"":"/";z.path=C.record.path+(Y&&K+Y)}if(X=_R(z,C,V),O?O.alias.push(X):(H=H||X,H!==X&&H.alias.push(X),N&&T.name&&!Gw(X)&&f(T.name)),mT(X)&&_(X),B.children){const ee=B.children;for(let K=0;K<ee.length;K++)e(ee[K],X,O&&O.children[K])}O=O||X}return H?()=>{f(H)}:Y1}function f(T){if(hT(T)){const C=o.get(T);C&&(o.delete(T),i.splice(i.indexOf(C),1),C.children.forEach(f),C.alias.forEach(f))}else{const C=i.indexOf(T);C>-1&&(i.splice(C,1),T.record.name&&o.delete(T.record.name),T.children.forEach(f),T.alias.forEach(f))}}function v(){return i}function _(T){const C=ER(T,i);i.splice(C,0,T),T.record.name&&!Gw(T)&&o.set(T.record.name,T)}function w(T,C){let O,N={},B,V;if("name"in T&&T.name){if(O=o.get(T.name),!O)throw Fh(1,{location:T});V=O.record.name,N=En(zw(C.params,O.keys.filter(H=>!H.optional).concat(O.parent?O.parent.keys.filter(H=>H.optional):[]).map(H=>H.name)),T.params&&zw(T.params,O.keys.map(H=>H.name))),B=O.stringify(N)}else if(T.path!=null)B=T.path,O=i.find(H=>H.re.test(B)),O&&(N=O.parse(B),V=O.record.name);else{if(O=C.name?o.get(C.name):i.find(H=>H.re.test(C.path)),!O)throw Fh(1,{location:T,currentLocation:C});V=O.record.name,N=En({},C.params,T.params),B=O.stringify(N)}const G=[];let X=O;for(;X;)G.unshift(X.record),X=X.parent;return{name:V,path:B,params:N,matched:G,meta:wR(G)}}t.forEach(T=>e(T));function F(){i.length=0,o.clear()}return{addRoute:e,resolve:w,removeRoute:f,clearRoutes:F,getRoutes:v,getRecordMatcher:n}}function zw(t,r){const i={};for(const o of r)o in t&&(i[o]=t[o]);return i}function Vw(t){const r={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:DR(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(r,"mods",{value:{}}),r}function DR(t){const r={},i=t.props||!1;if("component"in t)r.default=i;else for(const o in t.components)r[o]=typeof i=="object"?i[o]:i;return r}function Gw(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function wR(t){return t.reduce((r,i)=>En(r,i.meta),{})}function jw(t,r){const i={};for(const o in t)i[o]=o in r?r[o]:t[o];return i}function ER(t,r){let i=0,o=r.length;for(;i!==o;){const e=i+o>>1;pT(t,r[e])<0?o=e:i=e+1}const n=FR(t);return n&&(o=r.lastIndexOf(n,o-1)),o}function FR(t){let r=t;for(;r=r.parent;)if(mT(r)&&pT(t,r)===0)return r}function mT({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function TR(t){const r={};if(t===""||t==="?")return r;const o=(t[0]==="?"?t.slice(1):t).split("&");for(let n=0;n<o.length;++n){const e=o[n].replace(iT," "),f=e.indexOf("="),v=gp(f<0?e:e.slice(0,f)),_=f<0?null:gp(e.slice(f+1));if(v in r){let w=r[v];fa(w)||(w=r[v]=[w]),w.push(_)}else r[v]=_}return r}function Yw(t){let r="";for(let i in t){const o=t[i];if(i=j7(i),o==null){o!==void 0&&(r+=(r.length?"&":"")+i);continue}(fa(o)?o.map(e=>e&&C4(e)):[o&&C4(o)]).forEach(e=>{e!==void 0&&(r+=(r.length?"&":"")+i,e!=null&&(r+="="+e))})}return r}function xR(t){const r={};for(const i in t){const o=t[i];o!==void 0&&(r[i]=fa(o)?o.map(n=>n==null?null:""+n):o==null?o:""+o)}return r}const AR=Symbol(""),Kw=Symbol(""),lb=Symbol(""),N3=Symbol(""),k4=Symbol("");function P1(){let t=[];function r(o){return t.push(o),()=>{const n=t.indexOf(o);n>-1&&t.splice(n,1)}}function i(){t=[]}return{add:r,list:()=>t.slice(),reset:i}}function Oc(t,r,i,o,n,e=f=>f()){const f=o&&(o.enterCallbacks[n]=o.enterCallbacks[n]||[]);return()=>new Promise((v,_)=>{const w=C=>{C===!1?_(Fh(4,{from:i,to:r})):C instanceof Error?_(C):fR(C)?_(Fh(2,{from:r,to:C})):(f&&o.enterCallbacks[n]===f&&typeof C=="function"&&f.push(C),v())},F=e(()=>t.call(o&&o.instances[n],r,i,w));let T=Promise.resolve(F);t.length<3&&(T=T.then(w)),T.catch(C=>_(C))})}function Ay(t,r,i,o,n=e=>e()){const e=[];for(const f of t)for(const v in f.components){let _=f.components[v];if(!(r!=="beforeRouteEnter"&&!f.instances[v]))if(rT(_)){const F=(_.__vccOpts||_)[r];F&&e.push(Oc(F,i,o,f,v,n))}else{let w=_();e.push(()=>w.then(F=>{if(!F)throw new Error(`Couldn't resolve component "${v}" at "${f.path}"`);const T=N7(F)?F.default:F;f.mods[v]=F,f.components[v]=T;const O=(T.__vccOpts||T)[r];return O&&Oc(O,i,o,f,v,n)()}))}}return e}function qw(t){const r=Ps(lb),i=Ps(N3),o=Sr(()=>{const _=Zt(t.to);return r.resolve(_)}),n=Sr(()=>{const{matched:_}=o.value,{length:w}=_,F=_[w-1],T=i.matched;if(!F||!T.length)return-1;const C=T.findIndex(wh.bind(null,F));if(C>-1)return C;const O=Qw(_[w-2]);return w>1&&Qw(F)===O&&T[T.length-1].path!==O?T.findIndex(wh.bind(null,_[w-2])):C}),e=Sr(()=>n.value>-1&&OR(i.params,o.value.params)),f=Sr(()=>n.value>-1&&n.value===i.matched.length-1&&lT(i.params,o.value.params));function v(_={}){return kR(_)?r[Zt(t.replace)?"replace":"push"](Zt(t.to)).catch(Y1):Promise.resolve()}return{route:o,href:Sr(()=>o.value.href),isActive:e,isExactActive:f,navigate:v}}const CR=ui({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:qw,setup(t,{slots:r}){const i=Kc(qw(t)),{options:o}=Ps(lb),n=Sr(()=>({[Xw(t.activeClass,o.linkActiveClass,"router-link-active")]:i.isActive,[Xw(t.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const e=r.default&&r.default(i);return t.custom?e:kf("a",{"aria-current":i.isExactActive?t.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:n.value},e)}}}),SR=CR;function kR(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const r=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return t.preventDefault&&t.preventDefault(),!0}}function OR(t,r){for(const i in r){const o=r[i],n=t[i];if(typeof o=="string"){if(o!==n)return!1}else if(!fa(n)||n.length!==o.length||o.some((e,f)=>e!==n[f]))return!1}return!0}function Qw(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Xw=(t,r,i)=>t??r??i,RR=ui({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:r,slots:i}){const o=Ps(k4),n=Sr(()=>t.route||o.value),e=Ps(Kw,0),f=Sr(()=>{let w=Zt(e);const{matched:F}=n.value;let T;for(;(T=F[w])&&!T.components;)w++;return w}),v=Sr(()=>n.value.matched[f.value]);z1(Kw,Sr(()=>f.value+1)),z1(AR,v),z1(k4,n);const _=er();return In(()=>[_.value,v.value,t.name],([w,F,T],[C,O,N])=>{F&&(F.instances[T]=w,O&&O!==F&&w&&w===C&&(F.leaveGuards.size||(F.leaveGuards=O.leaveGuards),F.updateGuards.size||(F.updateGuards=O.updateGuards))),w&&F&&(!O||!wh(F,O)||!C)&&(F.enterCallbacks[T]||[]).forEach(B=>B(w))},{flush:"post"}),()=>{const w=n.value,F=t.name,T=v.value,C=T&&T.components[F];if(!C)return Jw(i.default,{Component:C,route:w});const O=T.props[F],N=O?O===!0?w.params:typeof O=="function"?O(w):O:null,V=kf(C,En({},N,r,{onVnodeUnmounted:G=>{G.component.isUnmounted&&(T.instances[F]=null)},ref:_}));return Jw(i.default,{Component:V,route:w})||V}}});function Jw(t,r){if(!t)return null;const i=t(r);return i.length===1?i[0]:i}const IR=RR;function PR(t){const r=yR(t.routes,t),i=t.parseQuery||TR,o=t.stringifyQuery||Yw,n=t.history,e=P1(),f=P1(),v=P1(),_=Wc(Dc);let w=Dc;K0&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const F=Fy.bind(null,ie=>""+ie),T=Fy.bind(null,K7),C=Fy.bind(null,gp);function O(ie,Pe){let de,Ye;return hT(ie)?(de=r.getRecordMatcher(ie),Ye=Pe):Ye=ie,r.addRoute(Ye,de)}function N(ie){const Pe=r.getRecordMatcher(ie);Pe&&r.removeRoute(Pe)}function B(){return r.getRoutes().map(ie=>ie.record)}function V(ie){return!!r.getRecordMatcher(ie)}function G(ie,Pe){if(Pe=En({},Pe||_.value),typeof ie=="string"){const se=Ty(i,ie,Pe.path),Te=r.resolve({path:se.path},Pe),Me=n.createHref(se.fullPath);return En(se,Te,{params:C(Te.params),hash:gp(se.hash),redirectedFrom:void 0,href:Me})}let de;if(ie.path!=null)de=En({},ie,{path:Ty(i,ie.path,Pe.path).path});else{const se=En({},ie.params);for(const Te in se)se[Te]==null&&delete se[Te];de=En({},ie,{params:T(se)}),Pe.params=T(Pe.params)}const Ye=r.resolve(de,Pe),gt=ie.hash||"";Ye.params=F(C(Ye.params));const nt=X7(o,En({},ie,{hash:G7(gt),path:Ye.path})),J=n.createHref(nt);return En({fullPath:nt,hash:gt,query:o===Yw?xR(ie.query):ie.query||{}},Ye,{redirectedFrom:void 0,href:J})}function X(ie){return typeof ie=="string"?Ty(i,ie,_.value.path):En({},ie)}function H(ie,Pe){if(w!==ie)return Fh(8,{from:Pe,to:ie})}function z(ie){return K(ie)}function Y(ie){return z(En(X(ie),{replace:!0}))}function ee(ie){const Pe=ie.matched[ie.matched.length-1];if(Pe&&Pe.redirect){const{redirect:de}=Pe;let Ye=typeof de=="function"?de(ie):de;return typeof Ye=="string"&&(Ye=Ye.includes("?")||Ye.includes("#")?Ye=X(Ye):{path:Ye},Ye.params={}),En({query:ie.query,hash:ie.hash,params:Ye.path!=null?{}:ie.params},Ye)}}function K(ie,Pe){const de=w=G(ie),Ye=_.value,gt=ie.state,nt=ie.force,J=ie.replace===!0,se=ee(de);if(se)return K(En(X(se),{state:typeof se=="object"?En({},gt,se.state):gt,force:nt,replace:J}),Pe||de);const Te=de;Te.redirectedFrom=Pe;let Me;return!nt&&J7(o,Ye,de)&&(Me=Fh(16,{to:Te,from:Ye}),ce(Ye,Ye,!0,!1)),(Me?Promise.resolve(Me):W(Te,Ye)).catch(Ne=>Sl(Ne)?Sl(Ne,2)?Ne:Re(Ne):Fe(Ne,Te,Ye)).then(Ne=>{if(Ne){if(Sl(Ne,2))return K(En({replace:J},X(Ne.to),{state:typeof Ne.to=="object"?En({},gt,Ne.to.state):gt,force:nt}),Pe||Te)}else Ne=ae(Te,Ye,!0,J,gt);return oe(Te,Ye,Ne),Ne})}function P(ie,Pe){const de=H(ie,Pe);return de?Promise.reject(de):Promise.resolve()}function I(ie){const Pe=ke.values().next().value;return Pe&&typeof Pe.runWithContext=="function"?Pe.runWithContext(ie):ie()}function W(ie,Pe){let de;const[Ye,gt,nt]=NR(ie,Pe);de=Ay(Ye.reverse(),"beforeRouteLeave",ie,Pe);for(const se of Ye)se.leaveGuards.forEach(Te=>{de.push(Oc(Te,ie,Pe))});const J=P.bind(null,ie,Pe);return de.push(J),Ie(de).then(()=>{de=[];for(const se of e.list())de.push(Oc(se,ie,Pe));return de.push(J),Ie(de)}).then(()=>{de=Ay(gt,"beforeRouteUpdate",ie,Pe);for(const se of gt)se.updateGuards.forEach(Te=>{de.push(Oc(Te,ie,Pe))});return de.push(J),Ie(de)}).then(()=>{de=[];for(const se of nt)if(se.beforeEnter)if(fa(se.beforeEnter))for(const Te of se.beforeEnter)de.push(Oc(Te,ie,Pe));else de.push(Oc(se.beforeEnter,ie,Pe));return de.push(J),Ie(de)}).then(()=>(ie.matched.forEach(se=>se.enterCallbacks={}),de=Ay(nt,"beforeRouteEnter",ie,Pe,I),de.push(J),Ie(de))).then(()=>{de=[];for(const se of f.list())de.push(Oc(se,ie,Pe));return de.push(J),Ie(de)}).catch(se=>Sl(se,8)?se:Promise.reject(se))}function oe(ie,Pe,de){v.list().forEach(Ye=>I(()=>Ye(ie,Pe,de)))}function ae(ie,Pe,de,Ye,gt){const nt=H(ie,Pe);if(nt)return nt;const J=Pe===Dc,se=K0?history.state:{};de&&(Ye||J?n.replace(ie.fullPath,En({scroll:J&&se&&se.scroll},gt)):n.push(ie.fullPath,gt)),_.value=ie,ce(ie,Pe,de,J),Re()}let be;function Ee(){be||(be=n.listen((ie,Pe,de)=>{if(!ge.listening)return;const Ye=G(ie),gt=ee(Ye);if(gt){K(En(gt,{replace:!0}),Ye).catch(Y1);return}w=Ye;const nt=_.value;K0&&iR(Bw(nt.fullPath,de.delta),ab()),W(Ye,nt).catch(J=>Sl(J,12)?J:Sl(J,2)?(K(J.to,Ye).then(se=>{Sl(se,20)&&!de.delta&&de.type===Eh.pop&&n.go(-1,!1)}).catch(Y1),Promise.reject()):(de.delta&&n.go(-de.delta,!1),Fe(J,Ye,nt))).then(J=>{J=J||ae(Ye,nt,!1),J&&(de.delta&&!Sl(J,8)?n.go(-de.delta,!1):de.type===Eh.pop&&Sl(J,20)&&n.go(-1,!1)),oe(Ye,nt,J)}).catch(Y1)}))}let Ue=P1(),ve=P1(),fe;function Fe(ie,Pe,de){Re(ie);const Ye=ve.list();return Ye.length?Ye.forEach(gt=>gt(ie,Pe,de)):console.error(ie),Promise.reject(ie)}function Oe(){return fe&&_.value!==Dc?Promise.resolve():new Promise((ie,Pe)=>{Ue.add([ie,Pe])})}function Re(ie){return fe||(fe=!ie,Ee(),Ue.list().forEach(([Pe,de])=>ie?de(ie):Pe()),Ue.reset()),ie}function ce(ie,Pe,de,Ye){const{scrollBehavior:gt}=t;if(!K0||!gt)return Promise.resolve();const nt=!de&&sR(Bw(ie.fullPath,0))||(Ye||!de)&&history.state&&history.state.scroll||null;return bo().then(()=>gt(ie,Pe,nt)).then(J=>J&&nR(J)).catch(J=>Fe(J,ie,Pe))}const De=ie=>n.go(ie);let We;const ke=new Set,ge={currentRoute:_,listening:!0,addRoute:O,removeRoute:N,clearRoutes:r.clearRoutes,hasRoute:V,getRoutes:B,resolve:G,options:t,push:z,replace:Y,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:e.add,beforeResolve:f.add,afterEach:v.add,onError:ve.add,isReady:Oe,install(ie){const Pe=this;ie.component("RouterLink",SR),ie.component("RouterView",IR),ie.config.globalProperties.$router=Pe,Object.defineProperty(ie.config.globalProperties,"$route",{enumerable:!0,get:()=>Zt(_)}),K0&&!We&&_.value===Dc&&(We=!0,z(n.location).catch(gt=>{}));const de={};for(const gt in Dc)Object.defineProperty(de,gt,{get:()=>_.value[gt],enumerable:!0});ie.provide(lb,Pe),ie.provide(N3,a3(de)),ie.provide(k4,_);const Ye=ie.unmount;ke.add(ie),ie.unmount=function(){ke.delete(ie),ke.size<1&&(w=Dc,be&&be(),be=null,_.value=Dc,We=!1,fe=!1),Ye()}}};function Ie(ie){return ie.reduce((Pe,de)=>Pe.then(()=>I(de)),Promise.resolve())}return ge}function NR(t,r){const i=[],o=[],n=[],e=Math.max(r.matched.length,t.matched.length);for(let f=0;f<e;f++){const v=r.matched[f];v&&(t.matched.find(w=>wh(w,v))?o.push(v):i.push(v));const _=t.matched[f];_&&(r.matched.find(w=>wh(w,_))||n.push(_))}return[i,o,n]}function LR(){return Ps(lb)}function gT(t){return Ps(N3)}const MR=new Set(["title","titleTemplate","script","style","noscript"]),H2=new Set(["base","meta","link","style","script","noscript"]),BR=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),UR=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),vT=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),HR=typeof window<"u";function mv(t){let r=9;for(let i=0;i<t.length;)r=Math.imul(r^t.charCodeAt(i++),9**9);return((r^r>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function O4(t){if(t._h)return t._h;if(t._d)return mv(t._d);let r=`${t.tag}:${t.textContent||t.innerHTML||""}:`;for(const i in t.props)r+=`${i}:${String(t.props[i])},`;return mv(r)}function $R(t,r){return t instanceof Promise?t.then(r):r(t)}function R4(t,r,i,o){const n=o||_T(typeof r=="object"&&typeof r!="function"&&!(r instanceof Promise)?{...r}:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:r},t==="templateParams"||t==="titleTemplate");if(n instanceof Promise)return n.then(f=>R4(t,r,i,f));const e={tag:t,props:n};for(const f of vT){const v=e.props[f]!==void 0?e.props[f]:i[f];v!==void 0&&((!(f==="innerHTML"||f==="textContent"||f==="children")||MR.has(e.tag))&&(e[f==="children"?"innerHTML":f]=v),delete e.props[f])}return e.props.body&&(e.tagPosition="bodyClose",delete e.props.body),e.tag==="script"&&typeof e.innerHTML=="object"&&(e.innerHTML=JSON.stringify(e.innerHTML),e.props.type=e.props.type||"application/json"),Array.isArray(e.props.content)?e.props.content.map(f=>({...e,props:{...e.props,content:f}})):e}function WR(t,r){var o;const i=t==="class"?" ":";";return r&&typeof r=="object"&&!Array.isArray(r)&&(r=Object.entries(r).filter(([,n])=>n).map(([n,e])=>t==="style"?`${n}:${e}`:n)),(o=String(Array.isArray(r)?r.join(i):r))==null?void 0:o.split(i).filter(n=>!!n.trim()).join(i)}function bT(t,r,i,o){for(let n=o;n<i.length;n+=1){const e=i[n];if(e==="class"||e==="style"){t[e]=WR(e,t[e]);continue}if(t[e]instanceof Promise)return t[e].then(f=>(t[e]=f,bT(t,r,i,n)));if(!r&&!vT.has(e)){const f=String(t[e]),v=e.startsWith("data-");f==="true"||f===""?t[e]=v?"true":!0:t[e]||(v&&f==="false"?t[e]="false":delete t[e])}}}function _T(t,r=!1){const i=bT(t,r,Object.keys(t),0);return i instanceof Promise?i.then(()=>t):t}const zR=10;function yT(t,r,i){for(let o=i;o<r.length;o+=1){const n=r[o];if(n instanceof Promise)return n.then(e=>(r[o]=e,yT(t,r,o)));Array.isArray(n)?t.push(...n):t.push(n)}}function VR(t){const r=[],i=t.resolvedInput;for(const n in i){if(!Object.prototype.hasOwnProperty.call(i,n))continue;const e=i[n];if(!(e===void 0||!BR.has(n))){if(Array.isArray(e)){for(const f of e)r.push(R4(n,f,t));continue}r.push(R4(n,e,t))}}if(r.length===0)return[];const o=[];return $R(yT(o,r,0),()=>o.map((n,e)=>(n._e=t._i,t.mode&&(n._m=t.mode),n._p=(t._i<<zR)+e,n)))}const Zw=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),eE={base:-10,title:10},tE={critical:-80,high:-10,low:20};function gv(t){const r=t.tagPriority;if(typeof r=="number")return r;let i=100;return t.tag==="meta"?t.props["http-equiv"]==="content-security-policy"?i=-30:t.props.charset?i=-20:t.props.name==="viewport"&&(i=-15):t.tag==="link"&&t.props.rel==="preconnect"?i=20:t.tag in eE&&(i=eE[t.tag]),r&&r in tE?i+tE[r]:i}const GR=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],jR=["name","property","http-equiv"];function DT(t){const{props:r,tag:i}=t;if(UR.has(i))return i;if(i==="link"&&r.rel==="canonical")return"canonical";if(r.charset)return"charset";if(r.id)return`${i}:id:${r.id}`;for(const o of jR)if(r[o]!==void 0)return`${i}:${o}:${r[o]}`;return!1}const Rc="%separator";function YR(t,r){var o;let i;if(r==="s"||r==="pageTitle")i=t.pageTitle;else if(r.includes(".")){const n=r.indexOf(".");i=(o=t[r.substring(0,n)])==null?void 0:o[r.substring(n+1)]}else i=t[r];return i!==void 0?(i||"").replace(/"/g,'\\"'):void 0}const KR=new RegExp(`${Rc}(?:\\s*${Rc})*`,"g");function b2(t,r,i){if(typeof t!="string"||!t.includes("%"))return t;let o=t;try{o=decodeURI(t)}catch{}const n=o.match(/%\w+(?:\.\w+)?/g);if(!n)return t;const e=t.includes(Rc);return t=t.replace(/%\w+(?:\.\w+)?/g,f=>{if(f===Rc||!n.includes(f))return f;const v=YR(r,f.slice(1));return v!==void 0?v:f}).trim(),e&&(t.endsWith(Rc)&&(t=t.slice(0,-Rc.length)),t.startsWith(Rc)&&(t=t.slice(Rc.length)),t=t.replace(KR,i).trim()),t}function rE(t,r){return t==null?r||null:typeof t=="function"?t(r):t}async function qR(t,r={}){const i=r.document||t.resolvedOptions.document;if(!i||!t.dirty)return;const o={shouldRender:!0,tags:[]};if(await t.hooks.callHook("dom:beforeRender",o),!!o.shouldRender)return t._domUpdatePromise||(t._domUpdatePromise=new Promise(async n=>{var T;const e=(await t.resolveTags()).map(C=>({tag:C,id:H2.has(C.tag)?O4(C):C.tag,shouldRender:!0}));let f=t._dom;if(!f){f={elMap:{htmlAttrs:i.documentElement,bodyAttrs:i.body}};const C=new Set;for(const O of["body","head"]){const N=(T=i[O])==null?void 0:T.children;for(const B of N){const V=B.tagName.toLowerCase();if(!H2.has(V))continue;const G={tag:V,props:await _T(B.getAttributeNames().reduce((Y,ee)=>({...Y,[ee]:B.getAttribute(ee)}),{})),innerHTML:B.innerHTML},X=DT(G);let H=X,z=1;for(;H&&C.has(H);)H=`${X}:${z++}`;H&&(G._d=H,C.add(H)),f.elMap[B.getAttribute("data-hid")||O4(G)]=B}}}f.pendingSideEffects={...f.sideEffects},f.sideEffects={};function v(C,O,N){const B=`${C}:${O}`;f.sideEffects[B]=N,delete f.pendingSideEffects[B]}function _({id:C,$el:O,tag:N}){const B=N.tag.endsWith("Attrs");if(f.elMap[C]=O,B||(N.textContent&&N.textContent!==O.textContent&&(O.textContent=N.textContent),N.innerHTML&&N.innerHTML!==O.innerHTML&&(O.innerHTML=N.innerHTML),v(C,"el",()=>{var V;(V=f.elMap[C])==null||V.remove(),delete f.elMap[C]})),N._eventHandlers)for(const V in N._eventHandlers)Object.prototype.hasOwnProperty.call(N._eventHandlers,V)&&O.getAttribute(`data-${V}`)!==""&&((N.tag==="bodyAttrs"?i.defaultView:O).addEventListener(V.substring(2),N._eventHandlers[V].bind(O)),O.setAttribute(`data-${V}`,""));for(const V in N.props){if(!Object.prototype.hasOwnProperty.call(N.props,V))continue;const G=N.props[V],X=`attr:${V}`;if(V==="class"){if(!G)continue;for(const H of G.split(" "))B&&v(C,`${X}:${H}`,()=>O.classList.remove(H)),!O.classList.contains(H)&&O.classList.add(H)}else if(V==="style"){if(!G)continue;for(const H of G.split(";")){const z=H.indexOf(":"),Y=H.substring(0,z).trim(),ee=H.substring(z+1).trim();v(C,`${X}:${Y}`,()=>{O.style.removeProperty(Y)}),O.style.setProperty(Y,ee)}}else O.getAttribute(V)!==G&&O.setAttribute(V,G===!0?"":String(G)),B&&v(C,X,()=>O.removeAttribute(V))}}const w=[],F={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const C of e){const{tag:O,shouldRender:N,id:B}=C;if(N){if(O.tag==="title"){i.title=O.textContent;continue}C.$el=C.$el||f.elMap[B],C.$el?_(C):H2.has(O.tag)&&w.push(C)}}for(const C of w){const O=C.tag.tagPosition||"head";C.$el=i.createElement(C.tag.tag),_(C),F[O]=F[O]||i.createDocumentFragment(),F[O].appendChild(C.$el)}for(const C of e)await t.hooks.callHook("dom:renderTag",C,i,v);F.head&&i.head.appendChild(F.head),F.bodyOpen&&i.body.insertBefore(F.bodyOpen,i.body.firstChild),F.bodyClose&&i.body.appendChild(F.bodyClose);for(const C in f.pendingSideEffects)f.pendingSideEffects[C]();t._dom=f,await t.hooks.callHook("dom:rendered",{renders:e}),n()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise}function QR(t,r={}){const i=r.delayFn||(o=>setTimeout(o,10));return t._domDebouncedUpdatePromise=t._domDebouncedUpdatePromise||new Promise(o=>i(()=>qR(t,r).then(()=>{delete t._domDebouncedUpdatePromise,o()})))}function XR(t){return r=>{var o,n;const i=((n=(o=r.resolvedOptions.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:n.innerHTML)||!1;return i&&r.push(JSON.parse(i)),{mode:"client",hooks:{"entries:updated":e=>{QR(e,t)}}}}}function I4(t,r={},i){for(const o in t){const n=t[o],e=i?`${i}:${o}`:o;typeof n=="object"&&n!==null?I4(n,r,e):typeof n=="function"&&(r[e]=n)}return r}const JR={run:t=>t()},ZR=()=>JR,wT=typeof console.createTask<"u"?console.createTask:ZR;function e9(t,r){const i=r.shift(),o=wT(i);return t.reduce((n,e)=>n.then(()=>o.run(()=>e(...r))),Promise.resolve())}function t9(t,r){const i=r.shift(),o=wT(i);return Promise.all(t.map(n=>o.run(()=>n(...r))))}function Cy(t,r){for(const i of[...t])i(r)}class r9{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(r,i,o={}){if(!r||typeof i!="function")return()=>{};const n=r;let e;for(;this._deprecatedHooks[r];)e=this._deprecatedHooks[r],r=e.to;if(e&&!o.allowDeprecated){let f=e.message;f||(f=`${n} hook has been deprecated`+(e.to?`, please use ${e.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(f)||(console.warn(f),this._deprecatedMessages.add(f))}if(!i.name)try{Object.defineProperty(i,"name",{get:()=>"_"+r.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[r]=this._hooks[r]||[],this._hooks[r].push(i),()=>{i&&(this.removeHook(r,i),i=void 0)}}hookOnce(r,i){let o,n=(...e)=>(typeof o=="function"&&o(),o=void 0,n=void 0,i(...e));return o=this.hook(r,n),o}removeHook(r,i){if(this._hooks[r]){const o=this._hooks[r].indexOf(i);o!==-1&&this._hooks[r].splice(o,1),this._hooks[r].length===0&&delete this._hooks[r]}}deprecateHook(r,i){this._deprecatedHooks[r]=typeof i=="string"?{to:i}:i;const o=this._hooks[r]||[];delete this._hooks[r];for(const n of o)this.hook(r,n)}deprecateHooks(r){Object.assign(this._deprecatedHooks,r);for(const i in r)this.deprecateHook(i,r[i])}addHooks(r){const i=I4(r),o=Object.keys(i).map(n=>this.hook(n,i[n]));return()=>{for(const n of o.splice(0,o.length))n()}}removeHooks(r){const i=I4(r);for(const o in i)this.removeHook(o,i[o])}removeAllHooks(){for(const r in this._hooks)delete this._hooks[r]}callHook(r,...i){return i.unshift(r),this.callHookWith(e9,r,...i)}callHookParallel(r,...i){return i.unshift(r),this.callHookWith(t9,r,...i)}callHookWith(r,i,...o){const n=this._before||this._after?{name:i,args:o,context:{}}:void 0;this._before&&Cy(this._before,n);const e=r(i in this._hooks?[...this._hooks[i]]:[],o);return e instanceof Promise?e.finally(()=>{this._after&&n&&Cy(this._after,n)}):(this._after&&n&&Cy(this._after,n),e)}beforeEach(r){return this._before=this._before||[],this._before.push(r),()=>{if(this._before!==void 0){const i=this._before.indexOf(r);i!==-1&&this._before.splice(i,1)}}}afterEach(r){return this._after=this._after||[],this._after.push(r),()=>{if(this._after!==void 0){const i=this._after.indexOf(r);i!==-1&&this._after.splice(i,1)}}}}function n9(){return new r9}const i9=new Set(["templateParams","htmlAttrs","bodyAttrs"]),s9={hooks:{"tag:normalise":({tag:t})=>{t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.key&&(t.key=t.props.key,delete t.props.key);const r=DT(t);r&&!r.startsWith("meta:og:")&&!r.startsWith("meta:twitter:")&&delete t.key;const i=r||(t.key?`${t.tag}:${t.key}`:!1);i&&(t._d=i)},"tags:resolve":t=>{const r=Object.create(null);for(const o of t.tags){const n=(o.key?`${o.tag}:${o.key}`:o._d)||O4(o),e=r[n];if(e){let v=o==null?void 0:o.tagDuplicateStrategy;if(!v&&i9.has(o.tag)&&(v="merge"),v==="merge"){const _=e.props;_.style&&o.props.style&&(_.style[_.style.length-1]!==";"&&(_.style+=";"),o.props.style=`${_.style} ${o.props.style}`),_.class&&o.props.class?o.props.class=`${_.class} ${o.props.class}`:_.class&&(o.props.class=_.class),r[n].props={..._,...o.props};continue}else if(o._e===e._e){e._duped=e._duped||[],o._d=`${e._d}:${e._duped.length+1}`,e._duped.push(o);continue}else if(gv(o)>gv(e))continue}if(!(o.innerHTML||o.textContent||Object.keys(o.props).length!==0)&&H2.has(o.tag)){delete r[n];continue}r[n]=o}const i=[];for(const o in r){const n=r[o],e=n._duped;i.push(n),e&&(delete n._duped,i.push(...e))}t.tags=i,t.tags=t.tags.filter(o=>!(o.tag==="meta"&&(o.props.name||o.props.property)&&!o.props.content))}}},o9=new Set(["script","link","bodyAttrs"]),a9=t=>({hooks:{"tags:resolve":r=>{for(const i of r.tags){if(!o9.has(i.tag))continue;const o=i.props;for(const n in o){if(n[0]!=="o"||n[1]!=="n"||!Object.prototype.hasOwnProperty.call(o,n))continue;const e=o[n];typeof e=="function"&&(t.ssr&&Zw.has(n)?o[n]=`this.dataset.${n}fired = true`:delete o[n],i._eventHandlers=i._eventHandlers||{},i._eventHandlers[n]=e)}t.ssr&&i._eventHandlers&&(i.props.src||i.props.href)&&(i.key=i.key||mv(i.props.src||i.props.href))}},"dom:renderTag":({$el:r,tag:i})=>{var n,e;const o=r==null?void 0:r.dataset;if(o)for(const f in o){if(!f.endsWith("fired"))continue;const v=f.slice(0,-5);Zw.has(v)&&((e=(n=i._eventHandlers)==null?void 0:n[v])==null||e.call(r,new Event(v.substring(2))))}}}}),l9=new Set(["link","style","script","noscript"]),c9={hooks:{"tag:normalise":({tag:t})=>{t.key&&l9.has(t.tag)&&(t.props["data-hid"]=t._h=mv(t.key))}}},u9={mode:"server",hooks:{"tags:beforeResolve":t=>{const r={};let i=!1;for(const o of t.tags)o._m!=="server"||o.tag!=="titleTemplate"&&o.tag!=="templateParams"&&o.tag!=="title"||(r[o.tag]=o.tag==="title"||o.tag==="titleTemplate"?o.textContent:o.props,i=!0);i&&t.tags.push({tag:"script",innerHTML:JSON.stringify(r),props:{id:"unhead:payload",type:"application/json"}})}}},f9={hooks:{"tags:resolve":t=>{var r;for(const i of t.tags)if(typeof i.tagPriority=="string")for(const{prefix:o,offset:n}of GR){if(!i.tagPriority.startsWith(o))continue;const e=i.tagPriority.substring(o.length),f=(r=t.tags.find(v=>v._d===e))==null?void 0:r._p;if(f!==void 0){i._p=f+n;break}}t.tags.sort((i,o)=>{const n=gv(i),e=gv(o);return n<e?-1:n>e?1:i._p-o._p})}}},h9={meta:"content",link:"href",htmlAttrs:"lang"},d9=["innerHTML","textContent"],p9=t=>({hooks:{"tags:resolve":r=>{var f;const{tags:i}=r;let o;for(let v=0;v<i.length;v+=1)i[v].tag==="templateParams"&&(o=r.tags.splice(v,1)[0].props,v-=1);const n=o||{},e=n.separator||"|";delete n.separator,n.pageTitle=b2(n.pageTitle||((f=i.find(v=>v.tag==="title"))==null?void 0:f.textContent)||"",n,e);for(const v of i){if(v.processTemplateParams===!1)continue;const _=h9[v.tag];if(_&&typeof v.props[_]=="string")v.props[_]=b2(v.props[_],n,e);else if(v.processTemplateParams||v.tag==="titleTemplate"||v.tag==="title")for(const w of d9)typeof v[w]=="string"&&(v[w]=b2(v[w],n,e))}t._templateParams=n,t._separator=e},"tags:afterResolve":({tags:r})=>{let i;for(let o=0;o<r.length;o+=1){const n=r[o];n.tag==="title"&&n.processTemplateParams!==!1&&(i=n)}i!=null&&i.textContent&&(i.textContent=b2(i.textContent,t._templateParams,t._separator))}}}),m9={hooks:{"tags:resolve":t=>{const{tags:r}=t;let i,o;for(let n=0;n<r.length;n+=1){const e=r[n];e.tag==="title"?i=e:e.tag==="titleTemplate"&&(o=e)}if(o&&i){const n=rE(o.textContent,i.textContent);n!==null?i.textContent=n||i.textContent:t.tags.splice(t.tags.indexOf(i),1)}else if(o){const n=rE(o.textContent);n!==null&&(o.textContent=n,o.tag="title",o=void 0)}o&&t.tags.splice(t.tags.indexOf(o),1)}}},g9={hooks:{"tags:afterResolve":t=>{for(const r of t.tags)typeof r.innerHTML=="string"&&(r.innerHTML&&(r.props.type==="application/ld+json"||r.props.type==="application/json")?r.innerHTML=r.innerHTML.replace(/</g,"\\u003C"):r.innerHTML=r.innerHTML.replace(new RegExp(`</${r.tag}`,"g"),`<\\/${r.tag}`))}}};let ET;function v9(t={}){const r=b9(t);return r.use(XR()),ET=r}function nE(t,r){return!t||t==="server"&&r||t==="client"&&!r}function b9(t={}){const r=n9();r.addHooks(t.hooks||{}),t.document=t.document||(HR?document:void 0);const i=!t.document,o=()=>{v.dirty=!0,r.callHook("entries:updated",v)};let n=0,e=[];const f=[],v={plugins:f,dirty:!1,resolvedOptions:t,hooks:r,headEntries(){return e},use(_){const w=typeof _=="function"?_(v):_;(!w.key||!f.some(F=>F.key===w.key))&&(f.push(w),nE(w.mode,i)&&r.addHooks(w.hooks||{}))},push(_,w){w==null||delete w.head;const F={_i:n++,input:_,...w};return nE(F.mode,i)&&(e.push(F),o()),{dispose(){e=e.filter(T=>T._i!==F._i),o()},patch(T){for(const C of e)C._i===F._i&&(C.input=F.input=T);o()}}},async resolveTags(){const _={tags:[],entries:[...e]};await r.callHook("entries:resolve",_);for(const w of _.entries){const F=w.resolvedInput||w.input;if(w.resolvedInput=await(w.transform?w.transform(F):F),w.resolvedInput)for(const T of await VR(w)){const C={tag:T,entry:w,resolvedOptions:v.resolvedOptions};await r.callHook("tag:normalise",C),_.tags.push(C.tag)}}return await r.callHook("tags:beforeResolve",_),await r.callHook("tags:resolve",_),await r.callHook("tags:afterResolve",_),_.tags},ssr:i};return[s9,u9,a9,c9,f9,p9,m9,g9,...(t==null?void 0:t.plugins)||[]].forEach(_=>v.use(_)),v.hooks.callHook("init",v),v}function _9(){return ET}const y9=C3[0]==="3";function D9(t){return typeof t=="function"?t():Zt(t)}function vv(t){if(t instanceof Promise||t instanceof Date||t instanceof RegExp)return t;const r=D9(t);if(!t||!r)return r;if(Array.isArray(r))return r.map(i=>vv(i));if(typeof r=="object"){const i={};for(const o in r)if(Object.prototype.hasOwnProperty.call(r,o)){if(o==="titleTemplate"||o[0]==="o"&&o[1]==="n"){i[o]=Zt(r[o]);continue}i[o]=vv(r[o])}return i}return r}const w9={hooks:{"entries:resolve":t=>{for(const r of t.entries)r.resolvedInput=vv(r.input)}}},FT="usehead";function E9(t){return{install(i){y9&&(i.config.globalProperties.$unhead=t,i.config.globalProperties.$head=t,i.provide(FT,t))}}.install}function F9(t={}){t.domDelayFn=t.domDelayFn||(i=>bo(()=>setTimeout(()=>i(),0)));const r=v9(t);return r.use(w9),r.install=E9(r),r}const iE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},sE="__unhead_injection_handler__";function T9(){if(sE in iE)return iE[sE]();const t=Ps(FT);return t||_9()}function x9(t,r={}){const i=r.head||T9();if(i)return i.ssr?i.push(t,r):A9(i,t,r)}function A9(t,r,i={}){const o=er(!1),n=er({});F3(()=>{n.value=o.value?{}:vv(r)});const e=t.push(n.value,i);return In(n,v=>{e.patch(v)}),xi()&&(Ih(()=>{e.dispose()}),g3(()=>{o.value=!0}),m3(()=>{o.value=!1})),e}function C9(t){try{return JSON.parse(t||"{}")}catch(r){return console.error("[SSG] On state deserialization -",r,t),{}}}function S9(t){return document.readyState==="loading"?new Promise(r=>{document.addEventListener("DOMContentLoaded",()=>r(t))}):Promise.resolve(t)}const k9=ui({setup(t,{slots:r}){const i=er(!1);return da(()=>i.value=!0),()=>i.value?r.default&&r.default({}):r.placeholder&&r.placeholder({})}});function O9(t,r,i,o={}){const{transformState:n,registerComponents:e=!0,useHead:f=!0,rootContainer:v="#app"}=o,_=typeof window<"u";async function w(F=!1,T){const C=F?pp(t):O3(t);let O;f&&(O=F9(),C.use(O));const N=PR({history:F?cR(r.base):uR(r.base),...r}),{routes:B}=r;e&&C.component("ClientOnly",k9);const V=[],H={app:C,head:O,isClient:_,router:N,routes:B,onSSRAppRendered:F?()=>{}:K=>V.push(K),triggerOnSSRAppRendered:()=>Promise.all(V.map(K=>K())),initialState:{},transformState:n,routePath:T};F&&(await S9(),H.initialState=(n==null?void 0:n(window.__INITIAL_STATE__||{}))||C9(window.__INITIAL_STATE__)),await(i==null?void 0:i(H)),C.use(N);let z,Y=!0;if(N.beforeEach((K,P,I)=>{(Y||z&&z===K.path)&&(Y=!1,z=K.path,K.meta.state=H.initialState),I()}),!F){const K=H.routePath??"/";N.push(K),await N.isReady(),H.initialState=N.currentRoute.value.meta.state||{}}const ee=H.initialState;return{...H,initialState:ee}}return _&&(async()=>{const{app:F,router:T}=await w(!0);await T.isReady(),F.mount(v,!0)})(),w}var R9=function(){function t(r,i){i===void 0&&(i=[]),this._eventType=r,this._eventFunctions=i}return t.prototype.init=function(){var r=this;this._eventFunctions.forEach(function(i){typeof window<"u"&&window.addEventListener(r._eventType,i)})},t}(),bv=globalThis&&globalThis.__assign||function(){return bv=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},bv.apply(this,arguments)},_v={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},TT=function(){function t(r,i){r===void 0&&(r=[]),i===void 0&&(i=_v),this._items=r,this._options=bv(bv({},_v),i),this._init()}return t.prototype._init=function(){var r=this;this._items.length&&this._items.map(function(i){i.active&&r.open(i.id),i.triggerEl.addEventListener("click",function(){r.toggle(i.id)})})},t.prototype.getItem=function(r){return this._items.filter(function(i){return i.id===r})[0]},t.prototype.open=function(r){var i,o,n=this,e=this.getItem(r);this._options.alwaysOpen||this._items.map(function(f){var v,_;f!==e&&((v=f.triggerEl.classList).remove.apply(v,n._options.activeClasses.split(" ")),(_=f.triggerEl.classList).add.apply(_,n._options.inactiveClasses.split(" ")),f.targetEl.classList.add("hidden"),f.triggerEl.setAttribute("aria-expanded","false"),f.active=!1,f.iconEl&&f.iconEl.classList.remove("rotate-180"))}),(i=e.triggerEl.classList).add.apply(i,this._options.activeClasses.split(" ")),(o=e.triggerEl.classList).remove.apply(o,this._options.inactiveClasses.split(" ")),e.triggerEl.setAttribute("aria-expanded","true"),e.targetEl.classList.remove("hidden"),e.active=!0,e.iconEl&&e.iconEl.classList.add("rotate-180"),this._options.onOpen(this,e)},t.prototype.toggle=function(r){var i=this.getItem(r);i.active?this.close(r):this.open(r),this._options.onToggle(this,i)},t.prototype.close=function(r){var i,o,n=this.getItem(r);(i=n.triggerEl.classList).remove.apply(i,this._options.activeClasses.split(" ")),(o=n.triggerEl.classList).add.apply(o,this._options.inactiveClasses.split(" ")),n.targetEl.classList.add("hidden"),n.triggerEl.setAttribute("aria-expanded","false"),n.active=!1,n.iconEl&&n.iconEl.classList.remove("rotate-180"),this._options.onClose(this,n)},t}();function L3(){document.querySelectorAll("[data-accordion]").forEach(function(t){var r=t.getAttribute("data-accordion"),i=t.getAttribute("data-active-classes"),o=t.getAttribute("data-inactive-classes"),n=[];t.querySelectorAll("[data-accordion-target]").forEach(function(e){if(e.closest("[data-accordion]")===t){var f={id:e.getAttribute("data-accordion-target"),triggerEl:e,targetEl:document.querySelector(e.getAttribute("data-accordion-target")),iconEl:e.querySelector("[data-accordion-icon]"),active:e.getAttribute("aria-expanded")==="true"};n.push(f)}}),new TT(n,{alwaysOpen:r==="open",activeClasses:i||_v.activeClasses,inactiveClasses:o||_v.inactiveClasses})})}typeof window<"u"&&(window.Accordion=TT,window.initAccordions=L3);var yv=globalThis&&globalThis.__assign||function(){return yv=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},yv.apply(this,arguments)},oE={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},xT=function(){function t(r,i,o){r===void 0&&(r=null),i===void 0&&(i=null),o===void 0&&(o=oE),this._targetEl=r,this._triggerEl=i,this._options=yv(yv({},oE),o),this._visible=!1,this._init()}return t.prototype._init=function(){var r=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible=this._triggerEl.getAttribute("aria-expanded")==="true":this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",function(){r.toggle()}))},t.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},t.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},t.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},t}();function M3(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(t){var r=t.getAttribute("data-collapse-toggle"),i=document.getElementById(r);i?new xT(i,t):console.error('The target element with id "'.concat(r,'" does not exist. Please check the data-collapse-toggle attribute.'))})}typeof window<"u"&&(window.Collapse=xT,window.initCollapses=M3);var uf=globalThis&&globalThis.__assign||function(){return uf=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},uf.apply(this,arguments)},$2={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3e3,onNext:function(){},onPrev:function(){},onChange:function(){}},AT=function(){function t(r,i){r===void 0&&(r=[]),i===void 0&&(i=$2),this._items=r,this._options=uf(uf(uf({},$2),i),{indicators:uf(uf({},$2.indicators),i.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._init()}return t.prototype._init=function(){var r=this;this._items.map(function(i){i.el.classList.add("absolute","inset-0","transition-transform","transform")}),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map(function(i,o){i.el.addEventListener("click",function(){r.slideTo(o)})})},t.prototype.getItem=function(r){return this._items[r]},t.prototype.slideTo=function(r){var i=this._items[r],o={left:i.position===0?this._items[this._items.length-1]:this._items[i.position-1],middle:i,right:i.position===this._items.length-1?this._items[0]:this._items[i.position+1]};this._rotate(o),this._setActiveItem(i),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},t.prototype.next=function(){var r=this._getActiveItem(),i=null;r.position===this._items.length-1?i=this._items[0]:i=this._items[r.position+1],this.slideTo(i.position),this._options.onNext(this)},t.prototype.prev=function(){var r=this._getActiveItem(),i=null;r.position===0?i=this._items[this._items.length-1]:i=this._items[r.position-1],this.slideTo(i.position),this._options.onPrev(this)},t.prototype._rotate=function(r){this._items.map(function(i){i.el.classList.add("hidden")}),r.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),r.left.el.classList.add("-translate-x-full","z-10"),r.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),r.middle.el.classList.add("translate-x-0","z-20"),r.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),r.right.el.classList.add("translate-x-full","z-10")},t.prototype.cycle=function(){var r=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){r.next()},this._intervalDuration))},t.prototype.pause=function(){clearInterval(this._intervalInstance)},t.prototype._getActiveItem=function(){return this._activeItem},t.prototype._setActiveItem=function(r){var i,o,n=this;this._activeItem=r;var e=r.position;this._indicators.length&&(this._indicators.map(function(f){var v,_;f.el.setAttribute("aria-current","false"),(v=f.el.classList).remove.apply(v,n._options.indicators.activeClasses.split(" ")),(_=f.el.classList).add.apply(_,n._options.indicators.inactiveClasses.split(" "))}),(i=this._indicators[e].el.classList).add.apply(i,this._options.indicators.activeClasses.split(" ")),(o=this._indicators[e].el.classList).remove.apply(o,this._options.indicators.inactiveClasses.split(" ")),this._indicators[e].el.setAttribute("aria-current","true"))},t}();function B3(){document.querySelectorAll("[data-carousel]").forEach(function(t){var r=t.getAttribute("data-carousel-interval"),i=t.getAttribute("data-carousel")==="slide",o=[],n=0;t.querySelectorAll("[data-carousel-item]").length&&Array.from(t.querySelectorAll("[data-carousel-item]")).map(function(w,F){o.push({position:F,el:w}),w.getAttribute("data-carousel-item")==="active"&&(n=F)});var e=[];t.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(t.querySelectorAll("[data-carousel-slide-to]")).map(function(w){e.push({position:parseInt(w.getAttribute("data-carousel-slide-to")),el:w})});var f=new AT(o,{defaultPosition:n,indicators:{items:e},interval:r||$2.interval});i&&f.cycle();var v=t.querySelector("[data-carousel-next]"),_=t.querySelector("[data-carousel-prev]");v&&v.addEventListener("click",function(){f.next()}),_&&_.addEventListener("click",function(){f.prev()})})}typeof window<"u"&&(window.Carousel=AT,window.initCarousels=B3);var Dv=globalThis&&globalThis.__assign||function(){return Dv=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Dv.apply(this,arguments)},aE={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},CT=function(){function t(r,i,o){r===void 0&&(r=null),i===void 0&&(i=null),o===void 0&&(o=aE),this._targetEl=r,this._triggerEl=i,this._options=Dv(Dv({},aE),o),this._init()}return t.prototype._init=function(){var r=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){r.hide()})},t.prototype.hide=function(){var r=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){r._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},t}();function U3(){document.querySelectorAll("[data-dismiss-target]").forEach(function(t){var r=t.getAttribute("data-dismiss-target"),i=document.querySelector(r);i?new CT(i,t):console.error('The dismiss element with id "'.concat(r,'" does not exist. Please check the data-dismiss-target attribute.'))})}typeof window<"u"&&(window.Dismiss=CT,window.initDismisses=U3);var Qs="top",$o="bottom",Wo="right",Xs="left",H3="auto",Lp=[Qs,$o,Wo,Xs],Th="start",vp="end",I9="clippingParents",ST="viewport",N1="popper",P9="reference",lE=Lp.reduce(function(t,r){return t.concat([r+"-"+Th,r+"-"+vp])},[]),kT=[].concat(Lp,[H3]).reduce(function(t,r){return t.concat([r,r+"-"+Th,r+"-"+vp])},[]),N9="beforeRead",L9="read",M9="afterRead",B9="beforeMain",U9="main",H9="afterMain",$9="beforeWrite",W9="write",z9="afterWrite",V9=[N9,L9,M9,B9,U9,H9,$9,W9,z9];function Ja(t){return t?(t.nodeName||"").toLowerCase():null}function vo(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var r=t.ownerDocument;return r&&r.defaultView||window}return t}function Ff(t){var r=vo(t).Element;return t instanceof r||t instanceof Element}function Bo(t){var r=vo(t).HTMLElement;return t instanceof r||t instanceof HTMLElement}function $3(t){if(typeof ShadowRoot>"u")return!1;var r=vo(t).ShadowRoot;return t instanceof r||t instanceof ShadowRoot}function G9(t){var r=t.state;Object.keys(r.elements).forEach(function(i){var o=r.styles[i]||{},n=r.attributes[i]||{},e=r.elements[i];!Bo(e)||!Ja(e)||(Object.assign(e.style,o),Object.keys(n).forEach(function(f){var v=n[f];v===!1?e.removeAttribute(f):e.setAttribute(f,v===!0?"":v)}))})}function j9(t){var r=t.state,i={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,i.popper),r.styles=i,r.elements.arrow&&Object.assign(r.elements.arrow.style,i.arrow),function(){Object.keys(r.elements).forEach(function(o){var n=r.elements[o],e=r.attributes[o]||{},f=Object.keys(r.styles.hasOwnProperty(o)?r.styles[o]:i[o]),v=f.reduce(function(_,w){return _[w]="",_},{});!Bo(n)||!Ja(n)||(Object.assign(n.style,v),Object.keys(e).forEach(function(_){n.removeAttribute(_)}))})}}const Y9={name:"applyStyles",enabled:!0,phase:"write",fn:G9,effect:j9,requires:["computeStyles"]};function Ga(t){return t.split("-")[0]}var yf=Math.max,wv=Math.min,xh=Math.round;function P4(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function OT(){return!/^((?!chrome|android).)*safari/i.test(P4())}function Ah(t,r,i){r===void 0&&(r=!1),i===void 0&&(i=!1);var o=t.getBoundingClientRect(),n=1,e=1;r&&Bo(t)&&(n=t.offsetWidth>0&&xh(o.width)/t.offsetWidth||1,e=t.offsetHeight>0&&xh(o.height)/t.offsetHeight||1);var f=Ff(t)?vo(t):window,v=f.visualViewport,_=!OT()&&i,w=(o.left+(_&&v?v.offsetLeft:0))/n,F=(o.top+(_&&v?v.offsetTop:0))/e,T=o.width/n,C=o.height/e;return{width:T,height:C,top:F,right:w+T,bottom:F+C,left:w,x:w,y:F}}function W3(t){var r=Ah(t),i=t.offsetWidth,o=t.offsetHeight;return Math.abs(r.width-i)<=1&&(i=r.width),Math.abs(r.height-o)<=1&&(o=r.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:o}}function RT(t,r){var i=r.getRootNode&&r.getRootNode();if(t.contains(r))return!0;if(i&&$3(i)){var o=r;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function jl(t){return vo(t).getComputedStyle(t)}function K9(t){return["table","td","th"].indexOf(Ja(t))>=0}function ru(t){return((Ff(t)?t.ownerDocument:t.document)||window.document).documentElement}function cb(t){return Ja(t)==="html"?t:t.assignedSlot||t.parentNode||($3(t)?t.host:null)||ru(t)}function cE(t){return!Bo(t)||jl(t).position==="fixed"?null:t.offsetParent}function q9(t){var r=/firefox/i.test(P4()),i=/Trident/i.test(P4());if(i&&Bo(t)){var o=jl(t);if(o.position==="fixed")return null}var n=cb(t);for($3(n)&&(n=n.host);Bo(n)&&["html","body"].indexOf(Ja(n))<0;){var e=jl(n);if(e.transform!=="none"||e.perspective!=="none"||e.contain==="paint"||["transform","perspective"].indexOf(e.willChange)!==-1||r&&e.willChange==="filter"||r&&e.filter&&e.filter!=="none")return n;n=n.parentNode}return null}function Mp(t){for(var r=vo(t),i=cE(t);i&&K9(i)&&jl(i).position==="static";)i=cE(i);return i&&(Ja(i)==="html"||Ja(i)==="body"&&jl(i).position==="static")?r:i||q9(t)||r}function z3(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function K1(t,r,i){return yf(t,wv(r,i))}function Q9(t,r,i){var o=K1(t,r,i);return o>i?i:o}function IT(){return{top:0,right:0,bottom:0,left:0}}function PT(t){return Object.assign({},IT(),t)}function NT(t,r){return r.reduce(function(i,o){return i[o]=t,i},{})}var X9=function(r,i){return r=typeof r=="function"?r(Object.assign({},i.rects,{placement:i.placement})):r,PT(typeof r!="number"?r:NT(r,Lp))};function J9(t){var r,i=t.state,o=t.name,n=t.options,e=i.elements.arrow,f=i.modifiersData.popperOffsets,v=Ga(i.placement),_=z3(v),w=[Xs,Wo].indexOf(v)>=0,F=w?"height":"width";if(!(!e||!f)){var T=X9(n.padding,i),C=W3(e),O=_==="y"?Qs:Xs,N=_==="y"?$o:Wo,B=i.rects.reference[F]+i.rects.reference[_]-f[_]-i.rects.popper[F],V=f[_]-i.rects.reference[_],G=Mp(e),X=G?_==="y"?G.clientHeight||0:G.clientWidth||0:0,H=B/2-V/2,z=T[O],Y=X-C[F]-T[N],ee=X/2-C[F]/2+H,K=K1(z,ee,Y),P=_;i.modifiersData[o]=(r={},r[P]=K,r.centerOffset=K-ee,r)}}function Z9(t){var r=t.state,i=t.options,o=i.element,n=o===void 0?"[data-popper-arrow]":o;n!=null&&(typeof n=="string"&&(n=r.elements.popper.querySelector(n),!n)||RT(r.elements.popper,n)&&(r.elements.arrow=n))}const eI={name:"arrow",enabled:!0,phase:"main",fn:J9,effect:Z9,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ch(t){return t.split("-")[1]}var tI={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rI(t,r){var i=t.x,o=t.y,n=r.devicePixelRatio||1;return{x:xh(i*n)/n||0,y:xh(o*n)/n||0}}function uE(t){var r,i=t.popper,o=t.popperRect,n=t.placement,e=t.variation,f=t.offsets,v=t.position,_=t.gpuAcceleration,w=t.adaptive,F=t.roundOffsets,T=t.isFixed,C=f.x,O=C===void 0?0:C,N=f.y,B=N===void 0?0:N,V=typeof F=="function"?F({x:O,y:B}):{x:O,y:B};O=V.x,B=V.y;var G=f.hasOwnProperty("x"),X=f.hasOwnProperty("y"),H=Xs,z=Qs,Y=window;if(w){var ee=Mp(i),K="clientHeight",P="clientWidth";if(ee===vo(i)&&(ee=ru(i),jl(ee).position!=="static"&&v==="absolute"&&(K="scrollHeight",P="scrollWidth")),ee=ee,n===Qs||(n===Xs||n===Wo)&&e===vp){z=$o;var I=T&&ee===Y&&Y.visualViewport?Y.visualViewport.height:ee[K];B-=I-o.height,B*=_?1:-1}if(n===Xs||(n===Qs||n===$o)&&e===vp){H=Wo;var W=T&&ee===Y&&Y.visualViewport?Y.visualViewport.width:ee[P];O-=W-o.width,O*=_?1:-1}}var oe=Object.assign({position:v},w&&tI),ae=F===!0?rI({x:O,y:B},vo(i)):{x:O,y:B};if(O=ae.x,B=ae.y,_){var be;return Object.assign({},oe,(be={},be[z]=X?"0":"",be[H]=G?"0":"",be.transform=(Y.devicePixelRatio||1)<=1?"translate("+O+"px, "+B+"px)":"translate3d("+O+"px, "+B+"px, 0)",be))}return Object.assign({},oe,(r={},r[z]=X?B+"px":"",r[H]=G?O+"px":"",r.transform="",r))}function nI(t){var r=t.state,i=t.options,o=i.gpuAcceleration,n=o===void 0?!0:o,e=i.adaptive,f=e===void 0?!0:e,v=i.roundOffsets,_=v===void 0?!0:v,w={placement:Ga(r.placement),variation:Ch(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:n,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,uE(Object.assign({},w,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:f,roundOffsets:_})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,uE(Object.assign({},w,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:_})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}const iI={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:nI,data:{}};var _2={passive:!0};function sI(t){var r=t.state,i=t.instance,o=t.options,n=o.scroll,e=n===void 0?!0:n,f=o.resize,v=f===void 0?!0:f,_=vo(r.elements.popper),w=[].concat(r.scrollParents.reference,r.scrollParents.popper);return e&&w.forEach(function(F){F.addEventListener("scroll",i.update,_2)}),v&&_.addEventListener("resize",i.update,_2),function(){e&&w.forEach(function(F){F.removeEventListener("scroll",i.update,_2)}),v&&_.removeEventListener("resize",i.update,_2)}}const oI={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:sI,data:{}};var aI={left:"right",right:"left",bottom:"top",top:"bottom"};function W2(t){return t.replace(/left|right|bottom|top/g,function(r){return aI[r]})}var lI={start:"end",end:"start"};function fE(t){return t.replace(/start|end/g,function(r){return lI[r]})}function V3(t){var r=vo(t),i=r.pageXOffset,o=r.pageYOffset;return{scrollLeft:i,scrollTop:o}}function G3(t){return Ah(ru(t)).left+V3(t).scrollLeft}function cI(t,r){var i=vo(t),o=ru(t),n=i.visualViewport,e=o.clientWidth,f=o.clientHeight,v=0,_=0;if(n){e=n.width,f=n.height;var w=OT();(w||!w&&r==="fixed")&&(v=n.offsetLeft,_=n.offsetTop)}return{width:e,height:f,x:v+G3(t),y:_}}function uI(t){var r,i=ru(t),o=V3(t),n=(r=t.ownerDocument)==null?void 0:r.body,e=yf(i.scrollWidth,i.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),f=yf(i.scrollHeight,i.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),v=-o.scrollLeft+G3(t),_=-o.scrollTop;return jl(n||i).direction==="rtl"&&(v+=yf(i.clientWidth,n?n.clientWidth:0)-e),{width:e,height:f,x:v,y:_}}function j3(t){var r=jl(t),i=r.overflow,o=r.overflowX,n=r.overflowY;return/auto|scroll|overlay|hidden/.test(i+n+o)}function LT(t){return["html","body","#document"].indexOf(Ja(t))>=0?t.ownerDocument.body:Bo(t)&&j3(t)?t:LT(cb(t))}function q1(t,r){var i;r===void 0&&(r=[]);var o=LT(t),n=o===((i=t.ownerDocument)==null?void 0:i.body),e=vo(o),f=n?[e].concat(e.visualViewport||[],j3(o)?o:[]):o,v=r.concat(f);return n?v:v.concat(q1(cb(f)))}function N4(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function fI(t,r){var i=Ah(t,!1,r==="fixed");return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}function hE(t,r,i){return r===ST?N4(cI(t,i)):Ff(r)?fI(r,i):N4(uI(ru(t)))}function hI(t){var r=q1(cb(t)),i=["absolute","fixed"].indexOf(jl(t).position)>=0,o=i&&Bo(t)?Mp(t):t;return Ff(o)?r.filter(function(n){return Ff(n)&&RT(n,o)&&Ja(n)!=="body"}):[]}function dI(t,r,i,o){var n=r==="clippingParents"?hI(t):[].concat(r),e=[].concat(n,[i]),f=e[0],v=e.reduce(function(_,w){var F=hE(t,w,o);return _.top=yf(F.top,_.top),_.right=wv(F.right,_.right),_.bottom=wv(F.bottom,_.bottom),_.left=yf(F.left,_.left),_},hE(t,f,o));return v.width=v.right-v.left,v.height=v.bottom-v.top,v.x=v.left,v.y=v.top,v}function MT(t){var r=t.reference,i=t.element,o=t.placement,n=o?Ga(o):null,e=o?Ch(o):null,f=r.x+r.width/2-i.width/2,v=r.y+r.height/2-i.height/2,_;switch(n){case Qs:_={x:f,y:r.y-i.height};break;case $o:_={x:f,y:r.y+r.height};break;case Wo:_={x:r.x+r.width,y:v};break;case Xs:_={x:r.x-i.width,y:v};break;default:_={x:r.x,y:r.y}}var w=n?z3(n):null;if(w!=null){var F=w==="y"?"height":"width";switch(e){case Th:_[w]=_[w]-(r[F]/2-i[F]/2);break;case vp:_[w]=_[w]+(r[F]/2-i[F]/2);break}}return _}function bp(t,r){r===void 0&&(r={});var i=r,o=i.placement,n=o===void 0?t.placement:o,e=i.strategy,f=e===void 0?t.strategy:e,v=i.boundary,_=v===void 0?I9:v,w=i.rootBoundary,F=w===void 0?ST:w,T=i.elementContext,C=T===void 0?N1:T,O=i.altBoundary,N=O===void 0?!1:O,B=i.padding,V=B===void 0?0:B,G=PT(typeof V!="number"?V:NT(V,Lp)),X=C===N1?P9:N1,H=t.rects.popper,z=t.elements[N?X:C],Y=dI(Ff(z)?z:z.contextElement||ru(t.elements.popper),_,F,f),ee=Ah(t.elements.reference),K=MT({reference:ee,element:H,strategy:"absolute",placement:n}),P=N4(Object.assign({},H,K)),I=C===N1?P:ee,W={top:Y.top-I.top+G.top,bottom:I.bottom-Y.bottom+G.bottom,left:Y.left-I.left+G.left,right:I.right-Y.right+G.right},oe=t.modifiersData.offset;if(C===N1&&oe){var ae=oe[n];Object.keys(W).forEach(function(be){var Ee=[Wo,$o].indexOf(be)>=0?1:-1,Ue=[Qs,$o].indexOf(be)>=0?"y":"x";W[be]+=ae[Ue]*Ee})}return W}function pI(t,r){r===void 0&&(r={});var i=r,o=i.placement,n=i.boundary,e=i.rootBoundary,f=i.padding,v=i.flipVariations,_=i.allowedAutoPlacements,w=_===void 0?kT:_,F=Ch(o),T=F?v?lE:lE.filter(function(N){return Ch(N)===F}):Lp,C=T.filter(function(N){return w.indexOf(N)>=0});C.length===0&&(C=T);var O=C.reduce(function(N,B){return N[B]=bp(t,{placement:B,boundary:n,rootBoundary:e,padding:f})[Ga(B)],N},{});return Object.keys(O).sort(function(N,B){return O[N]-O[B]})}function mI(t){if(Ga(t)===H3)return[];var r=W2(t);return[fE(t),r,fE(r)]}function gI(t){var r=t.state,i=t.options,o=t.name;if(!r.modifiersData[o]._skip){for(var n=i.mainAxis,e=n===void 0?!0:n,f=i.altAxis,v=f===void 0?!0:f,_=i.fallbackPlacements,w=i.padding,F=i.boundary,T=i.rootBoundary,C=i.altBoundary,O=i.flipVariations,N=O===void 0?!0:O,B=i.allowedAutoPlacements,V=r.options.placement,G=Ga(V),X=G===V,H=_||(X||!N?[W2(V)]:mI(V)),z=[V].concat(H).reduce(function(ke,ge){return ke.concat(Ga(ge)===H3?pI(r,{placement:ge,boundary:F,rootBoundary:T,padding:w,flipVariations:N,allowedAutoPlacements:B}):ge)},[]),Y=r.rects.reference,ee=r.rects.popper,K=new Map,P=!0,I=z[0],W=0;W<z.length;W++){var oe=z[W],ae=Ga(oe),be=Ch(oe)===Th,Ee=[Qs,$o].indexOf(ae)>=0,Ue=Ee?"width":"height",ve=bp(r,{placement:oe,boundary:F,rootBoundary:T,altBoundary:C,padding:w}),fe=Ee?be?Wo:Xs:be?$o:Qs;Y[Ue]>ee[Ue]&&(fe=W2(fe));var Fe=W2(fe),Oe=[];if(e&&Oe.push(ve[ae]<=0),v&&Oe.push(ve[fe]<=0,ve[Fe]<=0),Oe.every(function(ke){return ke})){I=oe,P=!1;break}K.set(oe,Oe)}if(P)for(var Re=N?3:1,ce=function(ge){var Ie=z.find(function(ie){var Pe=K.get(ie);if(Pe)return Pe.slice(0,ge).every(function(de){return de})});if(Ie)return I=Ie,"break"},De=Re;De>0;De--){var We=ce(De);if(We==="break")break}r.placement!==I&&(r.modifiersData[o]._skip=!0,r.placement=I,r.reset=!0)}}const vI={name:"flip",enabled:!0,phase:"main",fn:gI,requiresIfExists:["offset"],data:{_skip:!1}};function dE(t,r,i){return i===void 0&&(i={x:0,y:0}),{top:t.top-r.height-i.y,right:t.right-r.width+i.x,bottom:t.bottom-r.height+i.y,left:t.left-r.width-i.x}}function pE(t){return[Qs,Wo,$o,Xs].some(function(r){return t[r]>=0})}function bI(t){var r=t.state,i=t.name,o=r.rects.reference,n=r.rects.popper,e=r.modifiersData.preventOverflow,f=bp(r,{elementContext:"reference"}),v=bp(r,{altBoundary:!0}),_=dE(f,o),w=dE(v,n,e),F=pE(_),T=pE(w);r.modifiersData[i]={referenceClippingOffsets:_,popperEscapeOffsets:w,isReferenceHidden:F,hasPopperEscaped:T},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":F,"data-popper-escaped":T})}const _I={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:bI};function yI(t,r,i){var o=Ga(t),n=[Xs,Qs].indexOf(o)>=0?-1:1,e=typeof i=="function"?i(Object.assign({},r,{placement:t})):i,f=e[0],v=e[1];return f=f||0,v=(v||0)*n,[Xs,Wo].indexOf(o)>=0?{x:v,y:f}:{x:f,y:v}}function DI(t){var r=t.state,i=t.options,o=t.name,n=i.offset,e=n===void 0?[0,0]:n,f=kT.reduce(function(F,T){return F[T]=yI(T,r.rects,e),F},{}),v=f[r.placement],_=v.x,w=v.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=_,r.modifiersData.popperOffsets.y+=w),r.modifiersData[o]=f}const wI={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:DI};function EI(t){var r=t.state,i=t.name;r.modifiersData[i]=MT({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}const FI={name:"popperOffsets",enabled:!0,phase:"read",fn:EI,data:{}};function TI(t){return t==="x"?"y":"x"}function xI(t){var r=t.state,i=t.options,o=t.name,n=i.mainAxis,e=n===void 0?!0:n,f=i.altAxis,v=f===void 0?!1:f,_=i.boundary,w=i.rootBoundary,F=i.altBoundary,T=i.padding,C=i.tether,O=C===void 0?!0:C,N=i.tetherOffset,B=N===void 0?0:N,V=bp(r,{boundary:_,rootBoundary:w,padding:T,altBoundary:F}),G=Ga(r.placement),X=Ch(r.placement),H=!X,z=z3(G),Y=TI(z),ee=r.modifiersData.popperOffsets,K=r.rects.reference,P=r.rects.popper,I=typeof B=="function"?B(Object.assign({},r.rects,{placement:r.placement})):B,W=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),oe=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,ae={x:0,y:0};if(ee){if(e){var be,Ee=z==="y"?Qs:Xs,Ue=z==="y"?$o:Wo,ve=z==="y"?"height":"width",fe=ee[z],Fe=fe+V[Ee],Oe=fe-V[Ue],Re=O?-P[ve]/2:0,ce=X===Th?K[ve]:P[ve],De=X===Th?-P[ve]:-K[ve],We=r.elements.arrow,ke=O&&We?W3(We):{width:0,height:0},ge=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:IT(),Ie=ge[Ee],ie=ge[Ue],Pe=K1(0,K[ve],ke[ve]),de=H?K[ve]/2-Re-Pe-Ie-W.mainAxis:ce-Pe-Ie-W.mainAxis,Ye=H?-K[ve]/2+Re+Pe+ie+W.mainAxis:De+Pe+ie+W.mainAxis,gt=r.elements.arrow&&Mp(r.elements.arrow),nt=gt?z==="y"?gt.clientTop||0:gt.clientLeft||0:0,J=(be=oe==null?void 0:oe[z])!=null?be:0,se=fe+de-J-nt,Te=fe+Ye-J,Me=K1(O?wv(Fe,se):Fe,fe,O?yf(Oe,Te):Oe);ee[z]=Me,ae[z]=Me-fe}if(v){var Ne,tt=z==="x"?Qs:Xs,yt=z==="x"?$o:Wo,lt=ee[Y],rt=Y==="y"?"height":"width",qe=lt+V[tt],pt=lt-V[yt],vt=[Qs,Xs].indexOf(G)!==-1,st=(Ne=oe==null?void 0:oe[Y])!=null?Ne:0,Ae=vt?qe:lt-K[rt]-P[rt]-st+W.altAxis,ze=vt?lt+K[rt]+P[rt]-st-W.altAxis:pt,Rt=O&&vt?Q9(Ae,lt,ze):K1(O?Ae:qe,lt,O?ze:pt);ee[Y]=Rt,ae[Y]=Rt-lt}r.modifiersData[o]=ae}}const AI={name:"preventOverflow",enabled:!0,phase:"main",fn:xI,requiresIfExists:["offset"]};function CI(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function SI(t){return t===vo(t)||!Bo(t)?V3(t):CI(t)}function kI(t){var r=t.getBoundingClientRect(),i=xh(r.width)/t.offsetWidth||1,o=xh(r.height)/t.offsetHeight||1;return i!==1||o!==1}function OI(t,r,i){i===void 0&&(i=!1);var o=Bo(r),n=Bo(r)&&kI(r),e=ru(r),f=Ah(t,n,i),v={scrollLeft:0,scrollTop:0},_={x:0,y:0};return(o||!o&&!i)&&((Ja(r)!=="body"||j3(e))&&(v=SI(r)),Bo(r)?(_=Ah(r,!0),_.x+=r.clientLeft,_.y+=r.clientTop):e&&(_.x=G3(e))),{x:f.left+v.scrollLeft-_.x,y:f.top+v.scrollTop-_.y,width:f.width,height:f.height}}function RI(t){var r=new Map,i=new Set,o=[];t.forEach(function(e){r.set(e.name,e)});function n(e){i.add(e.name);var f=[].concat(e.requires||[],e.requiresIfExists||[]);f.forEach(function(v){if(!i.has(v)){var _=r.get(v);_&&n(_)}}),o.push(e)}return t.forEach(function(e){i.has(e.name)||n(e)}),o}function II(t){var r=RI(t);return V9.reduce(function(i,o){return i.concat(r.filter(function(n){return n.phase===o}))},[])}function PI(t){var r;return function(){return r||(r=new Promise(function(i){Promise.resolve().then(function(){r=void 0,i(t())})})),r}}function NI(t){var r=t.reduce(function(i,o){var n=i[o.name];return i[o.name]=n?Object.assign({},n,o,{options:Object.assign({},n.options,o.options),data:Object.assign({},n.data,o.data)}):o,i},{});return Object.keys(r).map(function(i){return r[i]})}var mE={placement:"bottom",modifiers:[],strategy:"absolute"};function gE(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return!r.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function LI(t){t===void 0&&(t={});var r=t,i=r.defaultModifiers,o=i===void 0?[]:i,n=r.defaultOptions,e=n===void 0?mE:n;return function(v,_,w){w===void 0&&(w=e);var F={placement:"bottom",orderedModifiers:[],options:Object.assign({},mE,e),modifiersData:{},elements:{reference:v,popper:_},attributes:{},styles:{}},T=[],C=!1,O={state:F,setOptions:function(G){var X=typeof G=="function"?G(F.options):G;B(),F.options=Object.assign({},e,F.options,X),F.scrollParents={reference:Ff(v)?q1(v):v.contextElement?q1(v.contextElement):[],popper:q1(_)};var H=II(NI([].concat(o,F.options.modifiers)));return F.orderedModifiers=H.filter(function(z){return z.enabled}),N(),O.update()},forceUpdate:function(){if(!C){var G=F.elements,X=G.reference,H=G.popper;if(gE(X,H)){F.rects={reference:OI(X,Mp(H),F.options.strategy==="fixed"),popper:W3(H)},F.reset=!1,F.placement=F.options.placement,F.orderedModifiers.forEach(function(W){return F.modifiersData[W.name]=Object.assign({},W.data)});for(var z=0;z<F.orderedModifiers.length;z++){if(F.reset===!0){F.reset=!1,z=-1;continue}var Y=F.orderedModifiers[z],ee=Y.fn,K=Y.options,P=K===void 0?{}:K,I=Y.name;typeof ee=="function"&&(F=ee({state:F,options:P,name:I,instance:O})||F)}}}},update:PI(function(){return new Promise(function(V){O.forceUpdate(),V(F)})}),destroy:function(){B(),C=!0}};if(!gE(v,_))return O;O.setOptions(w).then(function(V){!C&&w.onFirstUpdate&&w.onFirstUpdate(V)});function N(){F.orderedModifiers.forEach(function(V){var G=V.name,X=V.options,H=X===void 0?{}:X,z=V.effect;if(typeof z=="function"){var Y=z({state:F,name:G,instance:O,options:H}),ee=function(){};T.push(Y||ee)}})}function B(){T.forEach(function(V){return V()}),T=[]}return O}}var MI=[oI,FI,iI,Y9,wI,vI,AI,eI,_I],Y3=LI({defaultModifiers:MI}),Ic=globalThis&&globalThis.__assign||function(){return Ic=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ic.apply(this,arguments)},y2=globalThis&&globalThis.__spreadArray||function(t,r,i){if(i||arguments.length===2)for(var o=0,n=r.length,e;o<n;o++)(e||!(o in r))&&(e||(e=Array.prototype.slice.call(r,0,o)),e[o]=r[o]);return t.concat(e||Array.prototype.slice.call(r))},Pc={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,ignoreClickOutsideClass:!1,onShow:function(){},onHide:function(){},onToggle:function(){}},BT=function(){function t(r,i,o){r===void 0&&(r=null),i===void 0&&(i=null),o===void 0&&(o=Pc),this._targetEl=r,this._triggerEl=i,this._options=Ic(Ic({},Pc),o),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var r=this,i=this._getTriggerEvents();this._options.triggerType==="click"&&i.showEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){r.toggle()})}),this._options.triggerType==="hover"&&(i.showEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){o==="click"?r.toggle():setTimeout(function(){r.show()},r._options.delay)}),r._targetEl.addEventListener(o,function(){r.show()})}),i.hideEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){setTimeout(function(){r._targetEl.matches(":hover")||r.hide()},r._options.delay)}),r._targetEl.addEventListener(o,function(){setTimeout(function(){r._triggerEl.matches(":hover")||r.hide()},r._options.delay)})}))},t.prototype._createPopperInstance=function(){return Y3(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var r=this;this._clickOutsideEventListener=function(i){r._handleClickOutside(i,r._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(r,i){var o=r.target,n=this._options.ignoreClickOutsideClass,e=!1;if(n){var f=document.querySelectorAll(".".concat(n));f.forEach(function(v){if(v.contains(o)){e=!0;return}})}o!==i&&!i.contains(o)&&!this._triggerEl.contains(o)&&!e&&this.isVisible()&&this.hide()},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["click"],hideEvents:[]}}},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.isVisible=function(){return this._visible},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(r){return Ic(Ic({},r),{modifiers:y2(y2([],r.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(r){return Ic(Ic({},r),{modifiers:y2(y2([],r.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();function K3(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(t){var r=t.getAttribute("data-dropdown-toggle"),i=document.getElementById(r);if(i){var o=t.getAttribute("data-dropdown-placement"),n=t.getAttribute("data-dropdown-offset-skidding"),e=t.getAttribute("data-dropdown-offset-distance"),f=t.getAttribute("data-dropdown-trigger"),v=t.getAttribute("data-dropdown-delay"),_=t.getAttribute("data-dropdown-ignore-click-outside-class");new BT(i,t,{placement:o||Pc.placement,triggerType:f||Pc.triggerType,offsetSkidding:n?parseInt(n):Pc.offsetSkidding,offsetDistance:e?parseInt(e):Pc.offsetDistance,delay:v?parseInt(v):Pc.delay,ignoreClickOutsideClass:_||Pc.ignoreClickOutsideClass})}else console.error('The dropdown element with id "'.concat(r,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}typeof window<"u"&&(window.Dropdown=BT,window.initDropdowns=K3);var Ev=globalThis&&globalThis.__assign||function(){return Ev=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ev.apply(this,arguments)},X0={placement:"center",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-40",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},L4=function(){function t(r,i){r===void 0&&(r=null),i===void 0&&(i=X0),this._targetEl=r,this._options=Ev(Ev({},X0),i),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var r=this;this._targetEl&&this._getPlacementClasses().map(function(i){r._targetEl.classList.add(i)})},t.prototype._createBackdrop=function(){var r;if(this._isHidden){var i=document.createElement("div");i.setAttribute("modal-backdrop",""),(r=i.classList).add.apply(r,this._options.backdropClasses.split(" ")),document.querySelector("body").append(i),this._backdropEl=i}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},t.prototype._setupModalCloseEventListeners=function(){var r=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(i){r._handleOutsideClick(i.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(i){i.key==="Escape"&&r.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeModalCloseEventListeners=function(){this._options.backdrop==="dynamic"&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._handleOutsideClick=function(r){(r===this._targetEl||r===this._backdropEl&&this.isVisible())&&this.hide()},t.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"];default:return["justify-center","items-center"]}},t.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},t.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this))},t.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},t.prototype.isVisible=function(){return!this._isHidden},t.prototype.isHidden=function(){return this._isHidden},t}(),D2=function(t,r){return r.some(function(i){return i.id===t})?r.find(function(i){return i.id===t}):null};function q3(){var t=[];document.querySelectorAll("[data-modal-target]").forEach(function(r){var i=r.getAttribute("data-modal-target"),o=document.getElementById(i);if(o){var n=o.getAttribute("data-modal-placement"),e=o.getAttribute("data-modal-backdrop");D2(i,t)||t.push({id:i,object:new L4(o,{placement:n||X0.placement,backdrop:e||X0.backdrop})})}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))}),document.querySelectorAll("[data-modal-toggle]").forEach(function(r){var i=r.getAttribute("data-modal-toggle"),o=document.getElementById(i);if(o){var n=o.getAttribute("data-modal-placement"),e=o.getAttribute("data-modal-backdrop"),f=D2(i,t);f||(f={id:i,object:new L4(o,{placement:n||X0.placement,backdrop:e||X0.backdrop})},t.push(f)),r.addEventListener("click",function(){f.object.toggle()})}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-show]").forEach(function(r){var i=r.getAttribute("data-modal-show"),o=document.getElementById(i);if(o){var n=D2(i,t);n?r.addEventListener("click",function(){n.object.isHidden&&n.object.show()}):console.error("Modal with id ".concat(i," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-hide]").forEach(function(r){var i=r.getAttribute("data-modal-hide"),o=document.getElementById(i);if(o){var n=D2(i,t);n?r.addEventListener("click",function(){n.object.isVisible&&n.object.hide()}):console.error("Modal with id ".concat(i," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}typeof window<"u"&&(window.Modal=L4,window.initModals=q3);var Fv=globalThis&&globalThis.__assign||function(){return Fv=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Fv.apply(this,arguments)},ff={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},UT=function(){function t(r,i){r===void 0&&(r=null),i===void 0&&(i=ff),this._targetEl=r,this._options=Fv(Fv({},ff),i),this._visible=!1,this._init()}return t.prototype._init=function(){var r=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(i){r._targetEl.classList.add(i)}),document.addEventListener("keydown",function(i){i.key==="Escape"&&r.isVisible()&&r.hide()})},t.prototype.hide=function(){var r=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(i){r._targetEl.classList.remove(i)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(i){r._targetEl.classList.add(i)})):(this._getPlacementClasses(this._options.placement).active.map(function(i){r._targetEl.classList.remove(i)}),this._getPlacementClasses(this._options.placement).inactive.map(function(i){r._targetEl.classList.add(i)})),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){var r=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(i){r._targetEl.classList.add(i)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(i){r._targetEl.classList.remove(i)})):(this._getPlacementClasses(this._options.placement).active.map(function(i){r._targetEl.classList.add(i)}),this._getPlacementClasses(this._options.placement).inactive.map(function(i){r._targetEl.classList.remove(i)})),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype._createBackdrop=function(){var r,i=this;if(!this._visible){var o=document.createElement("div");o.setAttribute("drawer-backdrop",""),(r=o.classList).add.apply(r,this._options.backdropClasses.split(" ")),document.querySelector("body").append(o),o.addEventListener("click",function(){i.hide()})}},t.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},t.prototype._getPlacementClasses=function(r){switch(r){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]};default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]}}},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t}(),w2=function(t,r){if(r.some(function(i){return i.id===t}))return r.find(function(i){return i.id===t})};function Q3(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach(function(r){var i=r.getAttribute("data-drawer-target"),o=document.getElementById(i);if(o){var n=r.getAttribute("data-drawer-placement"),e=r.getAttribute("data-drawer-body-scrolling"),f=r.getAttribute("data-drawer-backdrop"),v=r.getAttribute("data-drawer-edge"),_=r.getAttribute("data-drawer-edge-offset");w2(i,t)||t.push({id:i,object:new UT(o,{placement:n||ff.placement,bodyScrolling:e?e==="true":ff.bodyScrolling,backdrop:f?f==="true":ff.backdrop,edge:v?v==="true":ff.edge,edgeOffset:_||ff.edgeOffset})})}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(r){var i=r.getAttribute("data-drawer-toggle"),o=document.getElementById(i);if(o){var n=w2(i,t);n?r.addEventListener("click",function(){n.object.toggle()}):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach(function(r){var i=r.getAttribute("data-drawer-dismiss")?r.getAttribute("data-drawer-dismiss"):r.getAttribute("data-drawer-hide"),o=document.getElementById(i);if(o){var n=w2(i,t);n?r.addEventListener("click",function(){n.object.hide()}):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(r){var i=r.getAttribute("data-drawer-show"),o=document.getElementById(i);if(o){var n=w2(i,t);n?r.addEventListener("click",function(){n.object.show()}):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}typeof window<"u"&&(window.Drawer=UT,window.initDrawers=Q3);var Tv=globalThis&&globalThis.__assign||function(){return Tv=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Tv.apply(this,arguments)},vE={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},HT=function(){function t(r,i){r===void 0&&(r=[]),i===void 0&&(i=vE),this._items=r,this._activeTab=i?this.getTab(i.defaultTabId):null,this._options=Tv(Tv({},vE),i),this._init()}return t.prototype._init=function(){var r=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(i){i.triggerEl.addEventListener("click",function(){r.show(i.id)})}))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(r){this._activeTab=r},t.prototype.getTab=function(r){return this._items.filter(function(i){return i.id===r})[0]},t.prototype.show=function(r,i){var o,n,e=this;i===void 0&&(i=!1);var f=this.getTab(r);f===this._activeTab&&!i||(this._items.map(function(v){var _,w;v!==f&&((_=v.triggerEl.classList).remove.apply(_,e._options.activeClasses.split(" ")),(w=v.triggerEl.classList).add.apply(w,e._options.inactiveClasses.split(" ")),v.targetEl.classList.add("hidden"),v.triggerEl.setAttribute("aria-selected","false"))}),(o=f.triggerEl.classList).add.apply(o,this._options.activeClasses.split(" ")),(n=f.triggerEl.classList).remove.apply(n,this._options.inactiveClasses.split(" ")),f.triggerEl.setAttribute("aria-selected","true"),f.targetEl.classList.remove("hidden"),this._setActiveTab(f),this._options.onShow(this,f))},t}();function X3(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(t){var r=[],i=null;t.querySelectorAll('[role="tab"]').forEach(function(o){var n=o.getAttribute("aria-selected")==="true",e={id:o.getAttribute("data-tabs-target"),triggerEl:o,targetEl:document.querySelector(o.getAttribute("data-tabs-target"))};r.push(e),n&&(i=e.id)}),new HT(r,{defaultTabId:i})})}typeof window<"u"&&(window.Tabs=HT,window.initTabs=X3);var Nc=globalThis&&globalThis.__assign||function(){return Nc=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Nc.apply(this,arguments)},E2=globalThis&&globalThis.__spreadArray||function(t,r,i){if(i||arguments.length===2)for(var o=0,n=r.length,e;o<n;o++)(e||!(o in r))&&(e||(e=Array.prototype.slice.call(r,0,o)),e[o]=r[o]);return t.concat(e||Array.prototype.slice.call(r))},xv={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},J3=function(){function t(r,i,o){r===void 0&&(r=null),i===void 0&&(i=null),o===void 0&&(o=xv),this._targetEl=r,this._triggerEl=i,this._options=Nc(Nc({},xv),o),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var r=this,i=this._getTriggerEvents();i.showEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){r.show()})}),i.hideEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){r.hide()})})},t.prototype._createPopperInstance=function(){return Y3(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var r=this;this._keydownEventListener=function(i){i.key==="Escape"&&r.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var r=this;this._clickOutsideEventListener=function(i){r._handleClickOutside(i,r._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(r,i){var o=r.target;o!==i&&!i.contains(o)&&!this._triggerEl.contains(o)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(r){return Nc(Nc({},r),{modifiers:E2(E2([],r.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(r){return Nc(Nc({},r),{modifiers:E2(E2([],r.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function Z3(){document.querySelectorAll("[data-tooltip-target]").forEach(function(t){var r=t.getAttribute("data-tooltip-target"),i=document.getElementById(r);if(i){var o=t.getAttribute("data-tooltip-trigger"),n=t.getAttribute("data-tooltip-placement");new J3(i,t,{placement:n||xv.placement,triggerType:o||xv.triggerType})}else console.error('The tooltip element with id "'.concat(r,'" does not exist. Please check the data-tooltip-target attribute.'))})}typeof window<"u"&&(window.Tooltip=J3,window.initTooltips=Z3);var Lc=globalThis&&globalThis.__assign||function(){return Lc=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Lc.apply(this,arguments)},F2=globalThis&&globalThis.__spreadArray||function(t,r,i){if(i||arguments.length===2)for(var o=0,n=r.length,e;o<n;o++)(e||!(o in r))&&(e||(e=Array.prototype.slice.call(r,0,o)),e[o]=r[o]);return t.concat(e||Array.prototype.slice.call(r))},Q1={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},$T=function(){function t(r,i,o){r===void 0&&(r=null),i===void 0&&(i=null),o===void 0&&(o=Q1),this._targetEl=r,this._triggerEl=i,this._options=Lc(Lc({},Q1),o),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var r=this,i=this._getTriggerEvents();i.showEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){r.show()}),r._targetEl.addEventListener(o,function(){r.show()})}),i.hideEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){setTimeout(function(){r._targetEl.matches(":hover")||r.hide()},100)}),r._targetEl.addEventListener(o,function(){setTimeout(function(){r._triggerEl.matches(":hover")||r.hide()},100)})})},t.prototype._createPopperInstance=function(){return Y3(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var r=this;this._keydownEventListener=function(i){i.key==="Escape"&&r.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var r=this;this._clickOutsideEventListener=function(i){r._handleClickOutside(i,r._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(r,i){var o=r.target;o!==i&&!i.contains(o)&&!this._triggerEl.contains(o)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(r){return Lc(Lc({},r),{modifiers:F2(F2([],r.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(r){return Lc(Lc({},r),{modifiers:F2(F2([],r.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function eD(){document.querySelectorAll("[data-popover-target]").forEach(function(t){var r=t.getAttribute("data-popover-target"),i=document.getElementById(r);if(i){var o=t.getAttribute("data-popover-trigger"),n=t.getAttribute("data-popover-placement"),e=t.getAttribute("data-popover-offset");new $T(i,t,{placement:n||Q1.placement,offset:e?parseInt(e):Q1.offset,triggerType:o||Q1.triggerType})}else console.error('The popover element with id "'.concat(r,'" does not exist. Please check the data-popover-target attribute.'))})}typeof window<"u"&&(window.Popover=$T,window.initPopovers=eD);var Av=globalThis&&globalThis.__assign||function(){return Av=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Av.apply(this,arguments)},M4={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},WT=function(){function t(r,i,o,n){r===void 0&&(r=null),i===void 0&&(i=null),o===void 0&&(o=null),n===void 0&&(n=M4),this._parentEl=r,this._triggerEl=i,this._targetEl=o,this._options=Av(Av({},M4),n),this._visible=!1,this._init()}return t.prototype._init=function(){var r=this;if(this._triggerEl){var i=this._getTriggerEventTypes(this._options.triggerType);i.showEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){r.show()}),r._targetEl.addEventListener(o,function(){r.show()})}),i.hideEvents.forEach(function(o){r._parentEl.addEventListener(o,function(){r._parentEl.matches(":hover")||r.hide()})})}},t.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this._visible?this.hide():this.show()},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t.prototype._getTriggerEventTypes=function(r){switch(r){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t}();function tD(){document.querySelectorAll("[data-dial-init]").forEach(function(t){var r=t.querySelector("[data-dial-toggle]");if(r){var i=r.getAttribute("data-dial-toggle"),o=document.getElementById(i);if(o){var n=r.getAttribute("data-dial-trigger");new WT(t,r,o,{triggerType:n||M4.triggerType})}else console.error("Dial with id ".concat(i," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"))}else console.error("Dial with id ".concat(t.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}typeof window<"u"&&(window.Dial=WT,window.initDials=tD);function BI(){L3(),M3(),B3(),U3(),K3(),q3(),Q3(),X3(),Z3(),eD(),tD()}typeof window<"u"&&(window.initFlowbite=BI);var UI=new R9("load",[L3,M3,B3,U3,K3,q3,Q3,X3,Z3,eD,tD]);UI.init();const zT=ui({__name:"Tooltip",props:{placement:null},setup(t){const r=t,i=er(null),o=er(null),n=Sr(()=>r.placement??"auto");return da(()=>{if(i.value&&o.value){const e={placement:n.value,triggerType:"hover"};new J3(i.value,o.value,e)}}),(e,f)=>(Hr(),Fn("div",null,[It("div",{ref_key:"tooltipTriggerEl",ref:o},[Df(e.$slots,"default")],512),It("div",{ref_key:"tooltipTargetEl",ref:i,role:"tooltip",class:"tooltip inline-block absolute invisible px-3 py-2 transition-opacity duration-300 shadow-sm opacity-0","z-99999":"",rounded:"","text-base":"","text-white":"","font-medium":"","bg-gray-900":"","dark:bg-gray-700":""},[It("div",null,[Df(e.$slots,"popper")]),f[0]||(f[0]=It("div",{class:"tooltip-arrow","data-popper-arrow":""},null,-1))],512)]))}}),HI="Board - XCPCIO",wH="Rating - XCPCIO",EH="Balloon - XCPCIO",FH="Countdown - XCPCIO",$I=Sr(()=>window?window.CDN_HOST:""),VT=Sr(()=>window?window.DATA_HOST:""),TH=Sr(()=>VT.value.replace("/data/","/rating-data/")),WI=Sr(()=>window?window.DATA_REGION:""),zI="0.51.1",GT="https://github.com/xcpcio/xcpcio",VI="da7aa177fc",GI="https://xcpcio.com";var ia=(t=>(t.PENDING="PENDING",t.RUNNING="RUNNING",t.FROZEN="FROZEN",t.FINISHED="FINISHED",t.PAUSED="PAUSED",t))(ia||{}),Ot=(t=>(t.PENDING="PENDING",t.WAITING="WAITING",t.PREPARING="PREPARING",t.COMPILING="COMPILING",t.RUNNING="RUNNING",t.JUDGING="JUDGING",t.FROZEN="FROZEN",t.ACCEPTED="ACCEPTED",t.CORRECT="CORRECT",t.PARTIALLY_CORRECT="PARTIALLY_CORRECT",t.REJECTED="REJECTED",t.WRONG_ANSWER="WRONG_ANSWER",t.NO_OUTPUT="NO_OUTPUT",t.COMPILATION_ERROR="COMPILATION_ERROR",t.PRESENTATION_ERROR="PRESENTATION_ERROR",t.RUNTIME_ERROR="RUNTIME_ERROR",t.TIME_LIMIT_EXCEEDED="TIME_LIMIT_EXCEEDED",t.MEMORY_LIMIT_EXCEEDED="MEMORY_LIMIT_EXCEEDED",t.OUTPUT_LIMIT_EXCEEDED="OUTPUT_LIMIT_EXCEEDED",t.IDLENESS_LIMIT_EXCEEDED="IDLENESS_LIMIT_EXCEEDED",t.HACKED="HACKED",t.JUDGEMENT_FAILED="JUDGEMENT_FAILED",t.CONFIGURATION_ERROR="CONFIGURATION_ERROR",t.FILE_ERROR="FILE_ERROR",t.SYSTEM_ERROR="SYSTEM_ERROR",t.CANCELED="CANCELED",t.SKIPPED="SKIPPED",t.SECURITY_VIOLATED="SECURITY_VIOLATED",t.DENIAL_OF_JUDGEMENT="DENIAL_OF_JUDGEMENT",t.UNKNOWN="UNKNOWN",t.UNDEFINED="UNDEFINED",t))(Ot||{});const xH={PENDING:"Pending",WAITING:"Waiting",PREPARING:"Preparing",COMPILING:"Compiling",RUNNING:"Running",JUDGING:"Judging",FROZEN:"Frozen",ACCEPTED:"Accepted",CORRECT:"Correct",PARTIALLY_CORRECT:"Partially Correct",REJECTED:"Rejected",WRONG_ANSWER:"Wrong Answer",NO_OUTPUT:"No Output",COMPILATION_ERROR:"Compilation Error",PRESENTATION_ERROR:"Presentation Error",RUNTIME_ERROR:"Runtime Error",TIME_LIMIT_EXCEEDED:"Time Limit Exceeded",MEMORY_LIMIT_EXCEEDED:"Memory Limit Exceeded",OUTPUT_LIMIT_EXCEEDED:"Output Limit Exceeded",IDLENESS_LIMIT_EXCEEDED:"Idleness Limit Exceeded",HACKED:"Hacked",JUDGEMENT_FAILED:"Judgement Failed",CONFIGURATION_ERROR:"Configuration Error",FILE_ERROR:"File Error",SYSTEM_ERROR:"System Error",CANCELED:"Canceled",SKIPPED:"Skipped",SECURITY_VIOLATED:"Security Violated",DENIAL_OF_JUDGEMENT:"Denial Of Judgement",UNKNOWN:"Unknown",UNDEFINED:"Undefined"},AH={PENDING:"PD",WAITING:"PD",PREPARING:"PD",COMPILING:"PD",RUNNING:"PD",JUDGING:"PD",FROZEN:"?",ACCEPTED:"AC",CORRECT:"AC",PARTIALLY_CORRECT:"RJ",REJECTED:"RJ",WRONG_ANSWER:"WA",NO_OUTPUT:"NO",COMPILATION_ERROR:"CE",PRESENTATION_ERROR:"PE",RUNTIME_ERROR:"RTE",TIME_LIMIT_EXCEEDED:"TLE",MEMORY_LIMIT_EXCEEDED:"MLE",OUTPUT_LIMIT_EXCEEDED:"OLE",IDLENESS_LIMIT_EXCEEDED:"ILE",HACKED:"RJ",JUDGEMENT_FAILED:"RJ",CONFIGURATION_ERROR:"RJ",FILE_ERROR:"RJ",SYSTEM_ERROR:"RJ",CANCELED:"RJ",SKIPPED:"RJ",SECURITY_VIOLATED:"RJ",DENIAL_OF_JUDGEMENT:"RJ",UNKNOWN:"RJ",UNDEFINED:"RJ"},jI={"mt-8":"","py-4":"","md:py-8":"","lg:py-10":"","w-full":"",flex:"","justify-center":"","items-center":""},YI={"text-center":"","w-full":""},KI={"mb-6":"","w-full":"",flex:"","flex-wrap":"","items-center":"","justify-center":"","text-gray-900":"","dark:text-white":""},qI={"mr-4":"","md:mr-6":""},QI=["href"],XI={flex:"","justify-center":"","items-start":"","flex-col":""},JI={"mr-4":"","md:mr-6":""},ZI={flex:"","justify-center":"","items-start":"","flex-col":""},eP={"text-sm":"","text-gray-500":"","sm:text-center":"","dark:text-gray-400":"","w-full":""},tP=ui({__name:"Footer",setup(t){return(r,i)=>{const o=ca("RouterLink"),n=zT;return Hr(),Fn("footer",jI,[It("div",YI,[Cr(o,{flex:"","items-center":"","justify-center":"","text-2xl":"","font-semibold":"","text-gray-900":"","dark:text-white":"",to:"/"},{default:Gi(()=>i[0]||(i[0]=[It("div",{"i-ion-balloon-sharp":"","mr-4":"","h-8":""},null,-1),Wa(" Get more balloons ")])),_:1}),i[6]||(i[6]=It("p",{"my-6":"","text-gray-500":"","dark:text-gray-400":"","w-full":"",flex:"","justify-center":""}," Open-source project of ICPC/CCPC Standings. ",-1)),It("ul",KI,[It("li",null,[Cr(o,{to:"/","mr-4":"","md:mr-6":"","hover:underline":""},{default:Gi(()=>i[1]||(i[1]=[Wa(" Home ")])),_:1})]),It("li",null,[It("div",qI,[Cr(n,null,{popper:Gi(()=>[It("div",XI,[It("div",null,"Tag: "+vi(Zt(zI)),1),It("div",null,"Sha: "+vi(Zt(VI)),1)])]),default:Gi(()=>[It("a",{href:Zt(GT),"hover:underline":"",rel:"noreferrer",target:"_blank",title:"GitHub"}," GitHub ",8,QI)]),_:1})])]),It("li",null,[It("div",JI,[Cr(n,null,{popper:Gi(()=>[It("div",ZI,[It("div",null,"CDN Host: "+vi("CDN_HOST"in r?r.CDN_HOST:Zt($I)),1),It("div",null,"DATA Host: "+vi("DATA_HOST"in r?r.DATA_HOST:Zt(VT)),1),It("div",null,"Data Region: "+vi("DATA_REGION"in r?r.DATA_REGION:Zt(WI)),1)])]),default:Gi(()=>[i[2]||(i[2]=It("a",{href:"mailto:hi@dup4.com","hover:underline":""}," Contact ",-1))]),_:1})])])]),It("span",eP,[i[4]||(i[4]=Wa("© 2020-PRESENT ")),Cr(o,{to:"/","hover:underline":""},{default:Gi(()=>i[3]||(i[3]=[Wa("XCPCIO™")])),_:1}),i[5]||(i[5]=Wa(". All Rights Reserved."))])])])}}});function Za(t){return Vv()?(r3(t),!0):!1}function Sy(){const t=new Set,r=n=>{t.delete(n)};return{on:n=>{t.add(n);const e=()=>r(n);return Za(e),{off:e}},off:r,trigger:(...n)=>Promise.all(Array.from(t).map(e=>e(...n)))}}function Hn(t){return typeof t=="function"?t():Zt(t)}const Sh=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const rP=t=>typeof t<"u",jT=t=>t!=null,nP=Object.prototype.toString,iP=t=>nP.call(t)==="[object Object]",Vc=()=>{};function YT(t,r){function i(...o){return new Promise((n,e)=>{Promise.resolve(t(()=>r.apply(this,o),{fn:r,thisArg:this,args:o})).then(n).catch(e)})}return i}const KT=t=>t();function sP(...t){let r=0,i,o=!0,n=Vc,e,f,v,_,w;!un(t[0])&&typeof t[0]=="object"?{delay:f,trailing:v=!0,leading:_=!0,rejectOnCancel:w=!1}=t[0]:[f,v=!0,_=!0,w=!1]=t;const F=()=>{i&&(clearTimeout(i),i=void 0,n(),n=Vc)};return C=>{const O=Hn(f),N=Date.now()-r,B=()=>e=C();return F(),O<=0?(r=Date.now(),B()):(N>O&&(_||!o)?(r=Date.now(),B()):v&&(e=new Promise((V,G)=>{n=w?G:V,i=setTimeout(()=>{r=Date.now(),o=!0,V(B()),F()},Math.max(0,O-N))})),!_&&!i&&(i=setTimeout(()=>o=!0,O)),o=!1,e)}}function oP(t=KT){const r=er(!0);function i(){r.value=!1}function o(){r.value=!0}const n=(...e)=>{r.value&&t(...e)};return{isActive:zl(r),pause:i,resume:o,eventFilter:n}}function bE(t,r=!1,i="Timeout"){return new Promise((o,n)=>{setTimeout(r?()=>n(i):o,t)})}function aP(t){let r;function i(){return r||(r=t()),r}return i.reset=async()=>{const o=r;r=void 0,o&&await o},i}function lP(t,...r){return r.some(i=>i in t)}function qT(t){return t||xi()}function X1(...t){if(t.length!==1)return a6(...t);const r=t[0];return typeof r=="function"?zl(Jv(()=>({get:r,set:Vc}))):er(r)}function CH(t,r=200,i=!1,o=!0,n=!1){return YT(sP(r,i,o,n),t)}function cP(t,r,i={}){const{eventFilter:o=KT,...n}=i;return In(t,YT(o,r),n)}function uP(t,r,i={}){const{eventFilter:o,...n}=i,{eventFilter:e,pause:f,resume:v,isActive:_}=oP(o);return{stop:cP(t,r,{...n,eventFilter:e}),pause:f,resume:v,isActive:_}}function fP(t,r){qT(r)&&Ih(t,r)}function QT(t,r=!0,i){qT()?da(t,i):r?t():bo(t)}function B4(t,r=!1){function i(T,{flush:C="sync",deep:O=!1,timeout:N,throwOnTimeout:B}={}){let V=null;const X=[new Promise(H=>{V=In(t,z=>{T(z)!==r&&(V==null||V(),H(z))},{flush:C,deep:O,immediate:!0})})];return N!=null&&X.push(bE(N,B).then(()=>Hn(t)).finally(()=>V==null?void 0:V())),Promise.race(X)}function o(T,C){if(!un(T))return i(z=>z===T,C);const{flush:O="sync",deep:N=!1,timeout:B,throwOnTimeout:V}=C??{};let G=null;const H=[new Promise(z=>{G=In([t,T],([Y,ee])=>{r!==(Y===ee)&&(G==null||G(),z(Y))},{flush:O,deep:N,immediate:!0})})];return B!=null&&H.push(bE(B,V).then(()=>Hn(t)).finally(()=>(G==null||G(),Hn(t)))),Promise.race(H)}function n(T){return i(C=>!!C,T)}function e(T){return o(null,T)}function f(T){return o(void 0,T)}function v(T){return i(Number.isNaN,T)}function _(T,C){return i(O=>{const N=Array.from(O);return N.includes(T)||N.includes(Hn(T))},C)}function w(T){return F(1,T)}function F(T=1,C){let O=-1;return i(()=>(O+=1,O>=T),C)}return Array.isArray(Hn(t))?{toMatch:i,toContains:_,changed:w,changedTimes:F,get not(){return B4(t,!r)}}:{toMatch:i,toBe:o,toBeTruthy:n,toBeNull:e,toBeNaN:v,toBeUndefined:f,changed:w,changedTimes:F,get not(){return B4(t,!r)}}}function hP(t){return B4(t)}function dP(t,r=1e3,i={}){const{immediate:o=!0,immediateCallback:n=!1}=i;let e=null;const f=er(!1);function v(){e&&(clearInterval(e),e=null)}function _(){f.value=!1,v()}function w(){const F=Hn(r);F<=0||(f.value=!0,n&&t(),v(),e=setInterval(t,F))}if(o&&Sh&&w(),un(r)||typeof r=="function"){const F=In(r,()=>{f.value&&Sh&&w()});Za(F)}return Za(_),{isActive:f,pause:_,resume:w}}function XT(t,r,i={}){const{immediate:o=!0}=i,n=er(!1);let e=null;function f(){e&&(clearTimeout(e),e=null)}function v(){n.value=!1,f()}function _(...w){f(),n.value=!0,e=setTimeout(()=>{n.value=!1,e=null,t(...w)},Hn(r))}return o&&(n.value=!0,Sh&&_()),Za(v),{isPending:zl(n),start:_,stop:v}}function pP(t=!1,r={}){const{truthyValue:i=!0,falsyValue:o=!1}=r,n=un(t),e=er(t);function f(v){if(arguments.length)return e.value=v,e.value;{const _=Hn(i);return e.value=e.value===_?Hn(o):_,e.value}}return n?f:[e,f]}function sh(t){var r;const i=Hn(t);return(r=i==null?void 0:i.$el)!=null?r:i}const Zs=Sh?window:void 0,JT=Sh?window.document:void 0,ZT=Sh?window.navigator:void 0;function sa(...t){let r,i,o,n;if(typeof t[0]=="string"||Array.isArray(t[0])?([i,o,n]=t,r=Zs):[r,i,o,n]=t,!r)return Vc;Array.isArray(i)||(i=[i]),Array.isArray(o)||(o=[o]);const e=[],f=()=>{e.forEach(F=>F()),e.length=0},v=(F,T,C,O)=>(F.addEventListener(T,C,O),()=>F.removeEventListener(T,C,O)),_=In(()=>[sh(r),Hn(n)],([F,T])=>{if(f(),!F)return;const C=iP(T)?{...T}:T;e.push(...i.flatMap(O=>o.map(N=>v(F,O,N,C))))},{immediate:!0,flush:"post"}),w=()=>{_(),f()};return Za(w),w}function mP(t){return typeof t=="function"?t:typeof t=="string"?r=>r.key===t:Array.isArray(t)?r=>t.includes(r.key):()=>!0}function SH(...t){let r,i,o={};t.length===3?(r=t[0],i=t[1],o=t[2]):t.length===2?typeof t[1]=="object"?(r=!0,i=t[0],o=t[1]):(r=t[0],i=t[1]):(r=!0,i=t[0]);const{target:n=Zs,eventName:e="keydown",passive:f=!1,dedupe:v=!1}=o,_=mP(r);return sa(n,e,F=>{F.repeat&&Hn(v)||_(F)&&i(F)},f)}function gP(){const t=er(!1),r=xi();return r&&da(()=>{t.value=!0},r),t}function Bp(t){const r=gP();return Sr(()=>(r.value,!!t()))}function vP(t,r,i={}){const{window:o=Zs,...n}=i;let e;const f=Bp(()=>o&&"MutationObserver"in o),v=()=>{e&&(e.disconnect(),e=void 0)},_=Sr(()=>{const C=Hn(t),O=(Array.isArray(C)?C:[C]).map(sh).filter(jT);return new Set(O)}),w=In(()=>_.value,C=>{v(),f.value&&C.size&&(e=new MutationObserver(r),C.forEach(O=>e.observe(O,n)))},{immediate:!0,flush:"post"}),F=()=>e==null?void 0:e.takeRecords(),T=()=>{v(),w()};return Za(T),{isSupported:f,stop:T,takeRecords:F}}function bP(t,r={}){const{immediate:i=!0,fpsLimit:o=void 0,window:n=Zs}=r,e=er(!1),f=o?1e3/o:null;let v=0,_=null;function w(C){if(!e.value||!n)return;v||(v=C);const O=C-v;if(f&&O<f){_=n.requestAnimationFrame(w);return}v=C,t({delta:O,timestamp:C}),_=n.requestAnimationFrame(w)}function F(){!e.value&&n&&(e.value=!0,v=0,_=n.requestAnimationFrame(w))}function T(){e.value=!1,_!=null&&n&&(n.cancelAnimationFrame(_),_=null)}return i&&F(),Za(T),{isActive:zl(e),pause:T,resume:F}}function _P(t,r={}){const{window:i=Zs}=r,o=Bp(()=>i&&"matchMedia"in i&&typeof i.matchMedia=="function");let n;const e=er(!1),f=w=>{e.value=w.matches},v=()=>{n&&("removeEventListener"in n?n.removeEventListener("change",f):n.removeListener(f))},_=F3(()=>{o.value&&(v(),n=i.matchMedia(Hn(t)),"addEventListener"in n?n.addEventListener("change",f):n.addListener(f),e.value=n.matches)});return Za(()=>{_(),v(),n=void 0}),e}function _E(t,r={}){const{controls:i=!1,navigator:o=ZT}=r,n=Bp(()=>o&&"permissions"in o);let e;const f=typeof t=="string"?{name:t}:t,v=er(),_=()=>{e&&(v.value=e.state)},w=aP(async()=>{if(n.value){if(!e)try{e=await o.permissions.query(f),sa(e,"change",_),_()}catch{v.value="prompt"}return e}});return w(),i?{state:v,isSupported:n,query:w}:v}function kH(t={}){const{navigator:r=ZT,read:i=!1,source:o,copiedDuring:n=1500,legacy:e=!1}=t,f=Bp(()=>r&&"clipboard"in r),v=_E("clipboard-read"),_=_E("clipboard-write"),w=Sr(()=>f.value||e),F=er(""),T=er(!1),C=XT(()=>T.value=!1,n);function O(){f.value&&G(v.value)?r.clipboard.readText().then(X=>{F.value=X}):F.value=V()}w.value&&i&&sa(["copy","cut"],O);async function N(X=Hn(o)){w.value&&X!=null&&(f.value&&G(_.value)?await r.clipboard.writeText(X):B(X),F.value=X,T.value=!0,C.start())}function B(X){const H=document.createElement("textarea");H.value=X??"",H.style.position="absolute",H.style.opacity="0",document.body.appendChild(H),H.select(),document.execCommand("copy"),H.remove()}function V(){var X,H,z;return(z=(H=(X=document==null?void 0:document.getSelection)==null?void 0:X.call(document))==null?void 0:H.toString())!=null?z:""}function G(X){return X==="granted"||X==="prompt"}return{isSupported:w,text:F,copied:T,copy:N}}function yP(t){return JSON.parse(JSON.stringify(t))}const T2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},x2="__vueuse_ssr_handlers__",DP=wP();function wP(){return x2 in T2||(T2[x2]=T2[x2]||{}),T2[x2]}function ex(t,r){return DP[t]||r}function EP(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const FP={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},yE="vueuse-storage";function TP(t,r,i,o={}){var n;const{flush:e="pre",deep:f=!0,listenToStorageChanges:v=!0,writeDefaults:_=!0,mergeDefaults:w=!1,shallow:F,window:T=Zs,eventFilter:C,onError:O=W=>{console.error(W)},initOnMounted:N}=o,B=(F?Wc:er)(typeof r=="function"?r():r);if(!i)try{i=ex("getDefaultStorage",()=>{var W;return(W=Zs)==null?void 0:W.localStorage})()}catch(W){O(W)}if(!i)return B;const V=Hn(r),G=EP(V),X=(n=o.serializer)!=null?n:FP[G],{pause:H,resume:z}=uP(B,()=>ee(B.value),{flush:e,deep:f,eventFilter:C});T&&v&&QT(()=>{sa(T,"storage",P),sa(T,yE,I),N&&P()}),N||P();function Y(W,oe){T&&T.dispatchEvent(new CustomEvent(yE,{detail:{key:t,oldValue:W,newValue:oe,storageArea:i}}))}function ee(W){try{const oe=i.getItem(t);if(W==null)Y(oe,null),i.removeItem(t);else{const ae=X.write(W);oe!==ae&&(i.setItem(t,ae),Y(oe,ae))}}catch(oe){O(oe)}}function K(W){const oe=W?W.newValue:i.getItem(t);if(oe==null)return _&&V!=null&&i.setItem(t,X.write(V)),V;if(!W&&w){const ae=X.read(oe);return typeof w=="function"?w(ae,V):G==="object"&&!Array.isArray(ae)?{...V,...ae}:ae}else return typeof oe!="string"?oe:X.read(oe)}function P(W){if(!(W&&W.storageArea!==i)){if(W&&W.key==null){B.value=V;return}if(!(W&&W.key!==t)){H();try{(W==null?void 0:W.newValue)!==X.write(B.value)&&(B.value=K(W))}catch(oe){O(oe)}finally{W?bo(z):z()}}}}function I(W){P(W.detail)}return B}function rD(t){return _P("(prefers-color-scheme: dark)",t)}function xP(t={}){const{selector:r="html",attribute:i="class",initialValue:o="auto",window:n=Zs,storage:e,storageKey:f="vueuse-color-scheme",listenToStorageChanges:v=!0,storageRef:_,emitAuto:w,disableTransition:F=!0}=t,T={auto:"",light:"light",dark:"dark",...t.modes||{}},C=rD({window:n}),O=Sr(()=>C.value?"dark":"light"),N=_||(f==null?X1(o):TP(f,o,e,{window:n,listenToStorageChanges:v})),B=Sr(()=>N.value==="auto"?O.value:N.value),V=ex("updateHTMLAttrs",(z,Y,ee)=>{const K=typeof z=="string"?n==null?void 0:n.document.querySelector(z):sh(z);if(!K)return;let P;if(F){P=n.document.createElement("style");const I="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";P.appendChild(document.createTextNode(I)),n.document.head.appendChild(P)}if(Y==="class"){const I=ee.split(/\s/g);Object.values(T).flatMap(W=>(W||"").split(/\s/g)).filter(Boolean).forEach(W=>{I.includes(W)?K.classList.add(W):K.classList.remove(W)})}else K.setAttribute(Y,ee);F&&(n.getComputedStyle(P).opacity,document.head.removeChild(P))});function G(z){var Y;V(r,i,(Y=T[z])!=null?Y:z)}function X(z){t.onChanged?t.onChanged(z,G):G(z)}In(B,X,{flush:"post",immediate:!0}),QT(()=>X(B.value));const H=Sr({get(){return w?N.value:B.value},set(z){N.value=z}});try{return Object.assign(H,{store:N,system:O,state:B})}catch{return H}}function AP(t={}){const{valueDark:r="dark",valueLight:i="",window:o=Zs}=t,n=xP({...t,onChanged:(v,_)=>{var w;t.onChanged?(w=t.onChanged)==null||w.call(t,v==="dark",_,v):_(v)},modes:{dark:r,light:i}}),e=Sr(()=>n.system?n.system.value:rD({window:o}).value?"dark":"light");return Sr({get(){return n.value==="dark"},set(v){const _=v?"dark":"light";e.value===_?n.value="auto":n.value=_}})}function OH(t={}){const{document:r=JT}=t;if(!r)return er("visible");const i=er(r.visibilityState);return sa(r,"visibilitychange",()=>{i.value=r.visibilityState}),i}function CP(t,r,i={}){const{root:o,rootMargin:n="0px",threshold:e=.1,window:f=Zs,immediate:v=!0}=i,_=Bp(()=>f&&"IntersectionObserver"in f),w=Sr(()=>{const N=Hn(t);return(Array.isArray(N)?N:[N]).map(sh).filter(jT)});let F=Vc;const T=er(v),C=_.value?In(()=>[w.value,sh(o),T.value],([N,B])=>{if(F(),!T.value||!N.length)return;const V=new IntersectionObserver(r,{root:sh(B),rootMargin:n,threshold:e});N.forEach(G=>G&&V.observe(G)),F=()=>{V.disconnect(),F=Vc}},{immediate:v,flush:"post"}):Vc,O=()=>{F(),C(),T.value=!1};return Za(O),{isSupported:_,isActive:T,pause(){F(),T.value=!1},resume(){T.value=!0},stop:O}}function SP(t,r={}){const{window:i=Zs,scrollTarget:o,threshold:n=0}=r,e=er(!1);return CP(t,f=>{let v=e.value,_=0;for(const w of f)w.time>=_&&(_=w.time,v=w.isIntersecting);e.value=v},{root:o,window:i,threshold:n}),e}const kP={json:"application/json",text:"text/plain"};function DE(t){return t&&lP(t,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function ky(t){return typeof Headers<"u"&&t instanceof Headers?Object.fromEntries(t.entries()):t}function OP(t,...r){var i;const o=typeof AbortController=="function";let n={},e={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const f={method:"GET",type:"text",payload:void 0};r.length>0&&(DE(r[0])?e={...e,...r[0]}:n=r[0]),r.length>1&&DE(r[1])&&(e={...e,...r[1]});const{fetch:v=(i=Zs)==null?void 0:i.fetch,initialData:_,timeout:w}=e,F=Sy(),T=Sy(),C=Sy(),O=er(!1),N=er(!1),B=er(!1),V=er(null),G=Wc(null),X=Wc(null),H=Wc(_||null),z=Sr(()=>o&&N.value);let Y,ee;const K=()=>{o&&(Y==null||Y.abort(),Y=new AbortController,Y.signal.onabort=()=>B.value=!0,n={...n,signal:Y.signal})},P=ve=>{N.value=ve,O.value=!ve};w&&(ee=XT(K,w,{immediate:!1}));let I=0;const W=async(ve=!1)=>{var fe,Fe;K(),P(!0),X.value=null,V.value=null,B.value=!1,I+=1;const Oe=I,Re={method:f.method,headers:{}};if(f.payload){const ke=ky(Re.headers),ge=Hn(f.payload);!f.payloadType&&ge&&Object.getPrototypeOf(ge)===Object.prototype&&!(ge instanceof FormData)&&(f.payloadType="json"),f.payloadType&&(ke["Content-Type"]=(fe=kP[f.payloadType])!=null?fe:f.payloadType),Re.body=f.payloadType==="json"?JSON.stringify(ge):ge}let ce=!1;const De={url:Hn(t),options:{...Re,...n},cancel:()=>{ce=!0}};if(e.beforeFetch&&Object.assign(De,await e.beforeFetch(De)),ce||!v)return P(!1),Promise.resolve(null);let We=null;return ee&&ee.start(),v(De.url,{...Re,...De.options,headers:{...ky(Re.headers),...ky((Fe=De.options)==null?void 0:Fe.headers)}}).then(async ke=>{if(G.value=ke,V.value=ke.status,We=await ke.clone()[f.type](),!ke.ok)throw H.value=_||null,new Error(ke.statusText);return e.afterFetch&&({data:We}=await e.afterFetch({data:We,response:ke})),H.value=We,F.trigger(ke),ke}).catch(async ke=>{let ge=ke.message||ke.name;if(e.onFetchError&&({error:ge,data:We}=await e.onFetchError({data:We,error:ke,response:G.value})),X.value=ge,e.updateDataOnError&&(H.value=We),T.trigger(ke),ve)throw ke;return null}).finally(()=>{Oe===I&&P(!1),ee&&ee.stop(),C.trigger(null)})},oe=X1(e.refetch);In([oe,X1(t)],([ve])=>ve&&W(),{deep:!0});const ae={isFinished:zl(O),isFetching:zl(N),statusCode:V,response:G,error:X,data:H,canAbort:z,aborted:B,abort:K,execute:W,onFetchResponse:F.on,onFetchError:T.on,onFetchFinally:C.on,get:be("GET"),put:be("PUT"),post:be("POST"),delete:be("DELETE"),patch:be("PATCH"),head:be("HEAD"),options:be("OPTIONS"),json:Ue("json"),text:Ue("text"),blob:Ue("blob"),arrayBuffer:Ue("arrayBuffer"),formData:Ue("formData")};function be(ve){return(fe,Fe)=>{if(!N.value)return f.method=ve,f.payload=fe,f.payloadType=Fe,un(f.payload)&&In([oe,X1(f.payload)],([Oe])=>Oe&&W(),{deep:!0}),{...ae,then(Oe,Re){return Ee().then(Oe,Re)}}}}function Ee(){return new Promise((ve,fe)=>{hP(O).toBe(!0).then(()=>ve(ae)).catch(Fe=>fe(Fe))})}function Ue(ve){return()=>{if(!N.value)return f.type=ve,{...ae,then(fe,Fe){return Ee().then(fe,Fe)}}}}return e.immediate&&Promise.resolve().then(()=>W()),{...ae,then(ve,fe){return Ee().then(ve,fe)}}}const RP={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function RH(t={}){const{reactive:r=!1,target:i=Zs,aliasMap:o=RP,passive:n=!0,onEventFired:e=Vc}=t,f=Kc(new Set),v={toJSON(){return{}},current:f},_=r?Kc(v):v,w=new Set,F=new Set;function T(B,V){B in _&&(r?_[B]=V:_[B].value=V)}function C(){f.clear();for(const B of F)T(B,!1)}function O(B,V){var G,X;const H=(G=B.key)==null?void 0:G.toLowerCase(),Y=[(X=B.code)==null?void 0:X.toLowerCase(),H].filter(Boolean);H&&(V?f.add(H):f.delete(H));for(const ee of Y)F.add(ee),T(ee,V);H==="meta"&&!V?(w.forEach(ee=>{f.delete(ee),T(ee,!1)}),w.clear()):typeof B.getModifierState=="function"&&B.getModifierState("Meta")&&V&&[...f,...Y].forEach(ee=>w.add(ee))}sa(i,"keydown",B=>(O(B,!0),e(B)),{passive:n}),sa(i,"keyup",B=>(O(B,!1),e(B)),{passive:n}),sa("blur",C,{passive:!0}),sa("focus",C,{passive:!0});const N=new Proxy(_,{get(B,V,G){if(typeof V!="string")return Reflect.get(B,V,G);if(V=V.toLowerCase(),V in o&&(V=o[V]),!(V in _))if(/[+_-]/.test(V)){const H=V.split(/[+_-]/g).map(z=>z.trim());_[V]=Sr(()=>H.every(z=>Hn(N[z])))}else _[V]=er(!1);const X=Reflect.get(B,V,G);return r?Hn(X):X}});return N}function tx(t={}){const{controls:r=!1,interval:i="requestAnimationFrame"}=t,o=er(new Date),n=()=>o.value=new Date,e=i==="requestAnimationFrame"?bP(n,{immediate:!0}):dP(n,i,{immediate:!0});return r?{now:o,...e}:o}function IP(t=null,r={}){var i,o,n;const{document:e=JT,restoreOnUnmount:f=T=>T}=r,v=(i=e==null?void 0:e.title)!=null?i:"",_=X1((o=t??(e==null?void 0:e.title))!=null?o:null),w=t&&typeof t=="function";function F(T){if(!("titleTemplate"in r))return T;const C=r.titleTemplate||"%s";return typeof C=="function"?C(T):Hn(C).replace(/%s/g,T)}return In(_,(T,C)=>{T!==C&&e&&(e.title=F(typeof T=="string"?T:""))},{immediate:!0}),r.observe&&!r.titleTemplate&&e&&!w&&vP((n=e.head)==null?void 0:n.querySelector("title"),()=>{e&&e.title!==_.value&&(_.value=F(e.title))},{childList:!0}),fP(()=>{if(f){const T=f(v,_.value||"");T!=null&&e&&(e.title=T)}}),_}function wE(t,r,i,o={}){var n,e,f;const{clone:v=!1,passive:_=!1,eventName:w,deep:F=!1,defaultValue:T,shouldEmit:C}=o,O=xi(),N=i||(O==null?void 0:O.emit)||((n=O==null?void 0:O.$emit)==null?void 0:n.bind(O))||((f=(e=O==null?void 0:O.proxy)==null?void 0:e.$emit)==null?void 0:f.bind(O==null?void 0:O.proxy));let B=w;r||(r="modelValue"),B=B||`update:${r.toString()}`;const V=H=>v?typeof v=="function"?v(H):yP(H):H,G=()=>rP(t[r])?V(t[r]):T,X=H=>{C?C(H)&&N(B,H):N(B,H)};if(_){const H=G(),z=er(H);let Y=!1;return In(()=>t[r],ee=>{Y||(Y=!0,z.value=V(ee),bo(()=>Y=!1))}),In(z,ee=>{!Y&&(ee!==t[r]||F)&&X(ee)},{deep:F}),z}else return Sr({get(){return G()},set(H){X(H)}})}function PP(t={}){const{window:r=Zs,behavior:i="auto"}=t;if(!r)return{x:er(0),y:er(0)};const o=er(r.scrollX),n=er(r.scrollY),e=Sr({get(){return o.value},set(v){scrollTo({left:v,behavior:i})}}),f=Sr({get(){return n.value},set(v){scrollTo({top:v,behavior:i})}});return sa(r,"scroll",()=>{o.value=r.scrollX,n.value=r.scrollY},{capture:!1,passive:!0}),{x:e,y:f}}const rx=AP(),NP=pP(rx),LP=rD(),MP={class:"right","print:op0":""},BP=["title"],UP=["title"],HP=["href"],$P=["href"],WP=ui({__name:"NavBar",props:{width:null},setup(t){const r=t,{t:i,locale:o}=Ph(),{y:n}=PP(),e=gT();function f(){window.scrollTo({top:0,behavior:"smooth"})}async function v(){const w=K5,F=w[(w.indexOf(o.value)+1)%w.length];await I3(F),o.value=F}const _=Sr(()=>e.fullPath.startsWith("/rating")?"/rating":"/");return(w,F)=>{const T=ca("RouterLink");return Hr(),Fn("header",{class:Is(["header z-40",[(r==null?void 0:r.width)??""]])},[It("button",{title:"Scroll to top",fixed:"","bottom-6":"","right-6":"","z-100":"","h-10":"","w-10":"","rounded-full":"",transition:"","duration-300":"","print:hidden":"","hover-bg-hex-8883":"","hover:op100":"",class:Is(Zt(n)>300?"op30":"op0! pointer-events-none"),onClick:F[0]||(F[0]=C=>f())},F[3]||(F[3]=[It("div",{"i-ri-arrow-up-line":""},null,-1)]),2),It("nav",{class:Is(["nav",[r!=null&&r.width?"":"fixed"]]),"text-xl":""},[F[9]||(F[9]=It("div",{class:"spacer"},null,-1)),It("div",MP,[Cr(T,{"icon-btn":"",title:Zt(i)("button.home"),to:Zt(_),focusable:"false"},{default:Gi(()=>F[4]||(F[4]=[It("div",{"i-ion-balloon-sharp":""},null,-1)])),_:1},8,["title","to"]),It("a",{"icon-btn":"",title:Zt(i)("button.toggle_langs"),onClick:F[1]||(F[1]=C=>v())},F[5]||(F[5]=[It("div",{"i-carbon-language":""},null,-1)]),8,BP),It("a",{"icon-btn":"",title:Zt(i)("button.toggle_dark"),onClick:F[2]||(F[2]=C=>("toggleDark"in w?w.toggleDark:Zt(NP))())},F[6]||(F[6]=[It("div",{i:"carbon-sun dark:carbon-moon"},null,-1)]),8,UP),It("a",{"icon-btn":"",rel:"noreferrer",href:Zt(GT),target:"_blank",title:"GitHub"},F[7]||(F[7]=[It("div",{"i-carbon-logo-github":""},null,-1)]),8,HP),It("a",{"icon-btn":"",rel:"noreferrer",href:Zt(GI),target:"_blank",title:"GitHub"},F[8]||(F[8]=[It("div",{"i-simple-icons-githubsponsors":""},null,-1)]),8,$P)])],2)],2)}}});const Nh=(t,r)=>{const i=t.__vccOpts||t;for(const[o,n]of r)i[o]=n;return i},zP=Nh(WP,[["__scopeId","data-v-e157f5ef"]]),VP={},GP={"py-10":"","text-gray-700":"","dark:text-gray-200":""};function jP(t,r){const i=zP,o=ca("RouterView"),n=tP;return Hr(),Fn(Yn,null,[Cr(i),It("main",GP,[Cr(o),Cr(n)])],64)}const YP=Nh(VP,[["render",jP]]),KP={"board-layout":()=>fs(()=>import("./board-layout-636d6236.js"),[],import.meta.url),default:YP,headless:()=>fs(()=>import("./headless-aefb4c04.js"),[],import.meta.url),home:()=>fs(()=>import("./home-64be240a.js"),[],import.meta.url),"index-layout":()=>fs(()=>import("./index-layout-899fd379.js"),[],import.meta.url)};function qP(t){return t.map(r=>{var i;return{path:r.path,meta:r.meta,component:KP[((i=r.meta)==null?void 0:i.layout)||"default"],children:r.path==="/"?[r]:[{...r,path:""}]}})}const QP=["top","right","bottom","left"],EE=["start","end"],FE=QP.reduce((t,r)=>t.concat(r,r+"-"+EE[0],r+"-"+EE[1]),[]),_p=Math.min,cf=Math.max,XP={left:"right",right:"left",bottom:"top",top:"bottom"},JP={start:"end",end:"start"};function U4(t,r,i){return cf(t,_p(r,i))}function Of(t,r){return typeof t=="function"?t(r):t}function el(t){return t.split("-")[0]}function la(t){return t.split("-")[1]}function nx(t){return t==="x"?"y":"x"}function nD(t){return t==="y"?"height":"width"}function Tf(t){return["top","bottom"].includes(el(t))?"y":"x"}function iD(t){return nx(Tf(t))}function ix(t,r,i){i===void 0&&(i=!1);const o=la(t),n=iD(t),e=nD(n);let f=n==="x"?o===(i?"end":"start")?"right":"left":o==="start"?"bottom":"top";return r.reference[e]>r.floating[e]&&(f=Sv(f)),[f,Sv(f)]}function ZP(t){const r=Sv(t);return[Cv(t),r,Cv(r)]}function Cv(t){return t.replace(/start|end/g,r=>JP[r])}function eN(t,r,i){const o=["left","right"],n=["right","left"],e=["top","bottom"],f=["bottom","top"];switch(t){case"top":case"bottom":return i?r?n:o:r?o:n;case"left":case"right":return r?e:f;default:return[]}}function tN(t,r,i,o){const n=la(t);let e=eN(el(t),i==="start",o);return n&&(e=e.map(f=>f+"-"+n),r&&(e=e.concat(e.map(Cv)))),e}function Sv(t){return t.replace(/left|right|bottom|top/g,r=>XP[r])}function rN(t){return{top:0,right:0,bottom:0,left:0,...t}}function sx(t){return typeof t!="number"?rN(t):{top:t,right:t,bottom:t,left:t}}function J1(t){const{x:r,y:i,width:o,height:n}=t;return{width:o,height:n,top:i,left:r,right:r+o,bottom:i+n,x:r,y:i}}function TE(t,r,i){let{reference:o,floating:n}=t;const e=Tf(r),f=iD(r),v=nD(f),_=el(r),w=e==="y",F=o.x+o.width/2-n.width/2,T=o.y+o.height/2-n.height/2,C=o[v]/2-n[v]/2;let O;switch(_){case"top":O={x:F,y:o.y-n.height};break;case"bottom":O={x:F,y:o.y+o.height};break;case"right":O={x:o.x+o.width,y:T};break;case"left":O={x:o.x-n.width,y:T};break;default:O={x:o.x,y:o.y}}switch(la(r)){case"start":O[f]-=C*(i&&w?-1:1);break;case"end":O[f]+=C*(i&&w?-1:1);break}return O}const nN=async(t,r,i)=>{const{placement:o="bottom",strategy:n="absolute",middleware:e=[],platform:f}=i,v=e.filter(Boolean),_=await(f.isRTL==null?void 0:f.isRTL(r));let w=await f.getElementRects({reference:t,floating:r,strategy:n}),{x:F,y:T}=TE(w,o,_),C=o,O={},N=0;for(let B=0;B<v.length;B++){const{name:V,fn:G}=v[B],{x:X,y:H,data:z,reset:Y}=await G({x:F,y:T,initialPlacement:o,placement:C,strategy:n,middlewareData:O,rects:w,platform:f,elements:{reference:t,floating:r}});F=X??F,T=H??T,O={...O,[V]:{...O[V],...z}},Y&&N<=50&&(N++,typeof Y=="object"&&(Y.placement&&(C=Y.placement),Y.rects&&(w=Y.rects===!0?await f.getElementRects({reference:t,floating:r,strategy:n}):Y.rects),{x:F,y:T}=TE(w,C,_)),B=-1)}return{x:F,y:T,placement:C,strategy:n,middlewareData:O}};async function ub(t,r){var i;r===void 0&&(r={});const{x:o,y:n,platform:e,rects:f,elements:v,strategy:_}=t,{boundary:w="clippingAncestors",rootBoundary:F="viewport",elementContext:T="floating",altBoundary:C=!1,padding:O=0}=Of(r,t),N=sx(O),V=v[C?T==="floating"?"reference":"floating":T],G=J1(await e.getClippingRect({element:(i=await(e.isElement==null?void 0:e.isElement(V)))==null||i?V:V.contextElement||await(e.getDocumentElement==null?void 0:e.getDocumentElement(v.floating)),boundary:w,rootBoundary:F,strategy:_})),X=T==="floating"?{x:o,y:n,width:f.floating.width,height:f.floating.height}:f.reference,H=await(e.getOffsetParent==null?void 0:e.getOffsetParent(v.floating)),z=await(e.isElement==null?void 0:e.isElement(H))?await(e.getScale==null?void 0:e.getScale(H))||{x:1,y:1}:{x:1,y:1},Y=J1(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({elements:v,rect:X,offsetParent:H,strategy:_}):X);return{top:(G.top-Y.top+N.top)/z.y,bottom:(Y.bottom-G.bottom+N.bottom)/z.y,left:(G.left-Y.left+N.left)/z.x,right:(Y.right-G.right+N.right)/z.x}}const iN=t=>({name:"arrow",options:t,async fn(r){const{x:i,y:o,placement:n,rects:e,platform:f,elements:v,middlewareData:_}=r,{element:w,padding:F=0}=Of(t,r)||{};if(w==null)return{};const T=sx(F),C={x:i,y:o},O=iD(n),N=nD(O),B=await f.getDimensions(w),V=O==="y",G=V?"top":"left",X=V?"bottom":"right",H=V?"clientHeight":"clientWidth",z=e.reference[N]+e.reference[O]-C[O]-e.floating[N],Y=C[O]-e.reference[O],ee=await(f.getOffsetParent==null?void 0:f.getOffsetParent(w));let K=ee?ee[H]:0;(!K||!await(f.isElement==null?void 0:f.isElement(ee)))&&(K=v.floating[H]||e.floating[N]);const P=z/2-Y/2,I=K/2-B[N]/2-1,W=_p(T[G],I),oe=_p(T[X],I),ae=W,be=K-B[N]-oe,Ee=K/2-B[N]/2+P,Ue=U4(ae,Ee,be),ve=!_.arrow&&la(n)!=null&&Ee!==Ue&&e.reference[N]/2-(Ee<ae?W:oe)-B[N]/2<0,fe=ve?Ee<ae?Ee-ae:Ee-be:0;return{[O]:C[O]+fe,data:{[O]:Ue,centerOffset:Ee-Ue-fe,...ve&&{alignmentOffset:fe}},reset:ve}}});function sN(t,r,i){return(t?[...i.filter(n=>la(n)===t),...i.filter(n=>la(n)!==t)]:i.filter(n=>el(n)===n)).filter(n=>t?la(n)===t||(r?Cv(n)!==n:!1):!0)}const oN=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(r){var i,o,n;const{rects:e,middlewareData:f,placement:v,platform:_,elements:w}=r,{crossAxis:F=!1,alignment:T,allowedPlacements:C=FE,autoAlignment:O=!0,...N}=Of(t,r),B=T!==void 0||C===FE?sN(T||null,O,C):C,V=await ub(r,N),G=((i=f.autoPlacement)==null?void 0:i.index)||0,X=B[G];if(X==null)return{};const H=ix(X,e,await(_.isRTL==null?void 0:_.isRTL(w.floating)));if(v!==X)return{reset:{placement:B[0]}};const z=[V[el(X)],V[H[0]],V[H[1]]],Y=[...((o=f.autoPlacement)==null?void 0:o.overflows)||[],{placement:X,overflows:z}],ee=B[G+1];if(ee)return{data:{index:G+1,overflows:Y},reset:{placement:ee}};const K=Y.map(W=>{const oe=la(W.placement);return[W.placement,oe&&F?W.overflows.slice(0,2).reduce((ae,be)=>ae+be,0):W.overflows[0],W.overflows]}).sort((W,oe)=>W[1]-oe[1]),I=((n=K.filter(W=>W[2].slice(0,la(W[0])?2:3).every(oe=>oe<=0))[0])==null?void 0:n[0])||K[0][0];return I!==v?{data:{index:G+1,overflows:Y},reset:{placement:I}}:{}}}},aN=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(r){var i,o;const{placement:n,middlewareData:e,rects:f,initialPlacement:v,platform:_,elements:w}=r,{mainAxis:F=!0,crossAxis:T=!0,fallbackPlacements:C,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:N="none",flipAlignment:B=!0,...V}=Of(t,r);if((i=e.arrow)!=null&&i.alignmentOffset)return{};const G=el(n),X=Tf(v),H=el(v)===v,z=await(_.isRTL==null?void 0:_.isRTL(w.floating)),Y=C||(H||!B?[Sv(v)]:ZP(v)),ee=N!=="none";!C&&ee&&Y.push(...tN(v,B,N,z));const K=[v,...Y],P=await ub(r,V),I=[];let W=((o=e.flip)==null?void 0:o.overflows)||[];if(F&&I.push(P[G]),T){const Ee=ix(n,f,z);I.push(P[Ee[0]],P[Ee[1]])}if(W=[...W,{placement:n,overflows:I}],!I.every(Ee=>Ee<=0)){var oe,ae;const Ee=(((oe=e.flip)==null?void 0:oe.index)||0)+1,Ue=K[Ee];if(Ue)return{data:{index:Ee,overflows:W},reset:{placement:Ue}};let ve=(ae=W.filter(fe=>fe.overflows[0]<=0).sort((fe,Fe)=>fe.overflows[1]-Fe.overflows[1])[0])==null?void 0:ae.placement;if(!ve)switch(O){case"bestFit":{var be;const fe=(be=W.filter(Fe=>{if(ee){const Oe=Tf(Fe.placement);return Oe===X||Oe==="y"}return!0}).map(Fe=>[Fe.placement,Fe.overflows.filter(Oe=>Oe>0).reduce((Oe,Re)=>Oe+Re,0)]).sort((Fe,Oe)=>Fe[1]-Oe[1])[0])==null?void 0:be[0];fe&&(ve=fe);break}case"initialPlacement":ve=v;break}if(n!==ve)return{reset:{placement:ve}}}return{}}}};async function lN(t,r){const{placement:i,platform:o,elements:n}=t,e=await(o.isRTL==null?void 0:o.isRTL(n.floating)),f=el(i),v=la(i),_=Tf(i)==="y",w=["left","top"].includes(f)?-1:1,F=e&&_?-1:1,T=Of(r,t);let{mainAxis:C,crossAxis:O,alignmentAxis:N}=typeof T=="number"?{mainAxis:T,crossAxis:0,alignmentAxis:null}:{mainAxis:T.mainAxis||0,crossAxis:T.crossAxis||0,alignmentAxis:T.alignmentAxis};return v&&typeof N=="number"&&(O=v==="end"?N*-1:N),_?{x:O*F,y:C*w}:{x:C*w,y:O*F}}const cN=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){var i,o;const{x:n,y:e,placement:f,middlewareData:v}=r,_=await lN(r,t);return f===((i=v.offset)==null?void 0:i.placement)&&(o=v.arrow)!=null&&o.alignmentOffset?{}:{x:n+_.x,y:e+_.y,data:{..._,placement:f}}}}},uN=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(r){const{x:i,y:o,placement:n}=r,{mainAxis:e=!0,crossAxis:f=!1,limiter:v={fn:V=>{let{x:G,y:X}=V;return{x:G,y:X}}},..._}=Of(t,r),w={x:i,y:o},F=await ub(r,_),T=Tf(el(n)),C=nx(T);let O=w[C],N=w[T];if(e){const V=C==="y"?"top":"left",G=C==="y"?"bottom":"right",X=O+F[V],H=O-F[G];O=U4(X,O,H)}if(f){const V=T==="y"?"top":"left",G=T==="y"?"bottom":"right",X=N+F[V],H=N-F[G];N=U4(X,N,H)}const B=v.fn({...r,[C]:O,[T]:N});return{...B,data:{x:B.x-i,y:B.y-o,enabled:{[C]:e,[T]:f}}}}}},fN=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(r){var i,o;const{placement:n,rects:e,platform:f,elements:v}=r,{apply:_=()=>{},...w}=Of(t,r),F=await ub(r,w),T=el(n),C=la(n),O=Tf(n)==="y",{width:N,height:B}=e.floating;let V,G;T==="top"||T==="bottom"?(V=T,G=C===(await(f.isRTL==null?void 0:f.isRTL(v.floating))?"start":"end")?"left":"right"):(G=T,V=C==="end"?"top":"bottom");const X=B-F.top-F.bottom,H=N-F.left-F.right,z=_p(B-F[V],X),Y=_p(N-F[G],H),ee=!r.middlewareData.shift;let K=z,P=Y;if((i=r.middlewareData.shift)!=null&&i.enabled.x&&(P=H),(o=r.middlewareData.shift)!=null&&o.enabled.y&&(K=X),ee&&!C){const W=cf(F.left,0),oe=cf(F.right,0),ae=cf(F.top,0),be=cf(F.bottom,0);O?P=N-2*(W!==0||oe!==0?W+oe:cf(F.left,F.right)):K=B-2*(ae!==0||be!==0?ae+be:cf(F.top,F.bottom))}await _({...r,availableWidth:P,availableHeight:K});const I=await f.getDimensions(v.floating);return N!==I.width||B!==I.height?{reset:{rects:!0}}:{}}}};function No(t){var r;return((r=t.ownerDocument)==null?void 0:r.defaultView)||window}function ja(t){return No(t).getComputedStyle(t)}const xE=Math.min,Z1=Math.max,kv=Math.round;function ox(t){const r=ja(t);let i=parseFloat(r.width),o=parseFloat(r.height);const n=t.offsetWidth,e=t.offsetHeight,f=kv(i)!==n||kv(o)!==e;return f&&(i=n,o=e),{width:i,height:o,fallback:f}}function Xc(t){return lx(t)?(t.nodeName||"").toLowerCase():""}let A2;function ax(){if(A2)return A2;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(A2=t.brands.map(r=>r.brand+"/"+r.version).join(" "),A2):navigator.userAgent}function Ya(t){return t instanceof No(t).HTMLElement}function Gc(t){return t instanceof No(t).Element}function lx(t){return t instanceof No(t).Node}function AE(t){return typeof ShadowRoot>"u"?!1:t instanceof No(t).ShadowRoot||t instanceof ShadowRoot}function fb(t){const{overflow:r,overflowX:i,overflowY:o,display:n}=ja(t);return/auto|scroll|overlay|hidden|clip/.test(r+o+i)&&!["inline","contents"].includes(n)}function hN(t){return["table","td","th"].includes(Xc(t))}function H4(t){const r=/firefox/i.test(ax()),i=ja(t),o=i.backdropFilter||i.WebkitBackdropFilter;return i.transform!=="none"||i.perspective!=="none"||!!o&&o!=="none"||r&&i.willChange==="filter"||r&&!!i.filter&&i.filter!=="none"||["transform","perspective"].some(n=>i.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const e=i.contain;return e!=null&&e.includes(n)})}function cx(){return!/^((?!chrome|android).)*safari/i.test(ax())}function sD(t){return["html","body","#document"].includes(Xc(t))}function ux(t){return Gc(t)?t:t.contextElement}const fx={x:1,y:1};function oh(t){const r=ux(t);if(!Ya(r))return fx;const i=r.getBoundingClientRect(),{width:o,height:n,fallback:e}=ox(r);let f=(e?kv(i.width):i.width)/o,v=(e?kv(i.height):i.height)/n;return f&&Number.isFinite(f)||(f=1),v&&Number.isFinite(v)||(v=1),{x:f,y:v}}function yp(t,r,i,o){var n,e;r===void 0&&(r=!1),i===void 0&&(i=!1);const f=t.getBoundingClientRect(),v=ux(t);let _=fx;r&&(o?Gc(o)&&(_=oh(o)):_=oh(t));const w=v?No(v):window,F=!cx()&&i;let T=(f.left+(F&&((n=w.visualViewport)==null?void 0:n.offsetLeft)||0))/_.x,C=(f.top+(F&&((e=w.visualViewport)==null?void 0:e.offsetTop)||0))/_.y,O=f.width/_.x,N=f.height/_.y;if(v){const B=No(v),V=o&&Gc(o)?No(o):o;let G=B.frameElement;for(;G&&o&&V!==B;){const X=oh(G),H=G.getBoundingClientRect(),z=getComputedStyle(G);H.x+=(G.clientLeft+parseFloat(z.paddingLeft))*X.x,H.y+=(G.clientTop+parseFloat(z.paddingTop))*X.y,T*=X.x,C*=X.y,O*=X.x,N*=X.y,T+=H.x,C+=H.y,G=No(G).frameElement}}return{width:O,height:N,top:C,right:T+O,bottom:C+N,left:T,x:T,y:C}}function jc(t){return((lx(t)?t.ownerDocument:t.document)||window.document).documentElement}function hb(t){return Gc(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function hx(t){return yp(jc(t)).left+hb(t).scrollLeft}function Dp(t){if(Xc(t)==="html")return t;const r=t.assignedSlot||t.parentNode||AE(t)&&t.host||jc(t);return AE(r)?r.host:r}function dx(t){const r=Dp(t);return sD(r)?r.ownerDocument.body:Ya(r)&&fb(r)?r:dx(r)}function Ov(t,r){var i;r===void 0&&(r=[]);const o=dx(t),n=o===((i=t.ownerDocument)==null?void 0:i.body),e=No(o);return n?r.concat(e,e.visualViewport||[],fb(o)?o:[]):r.concat(o,Ov(o))}function CE(t,r,i){return r==="viewport"?J1(function(o,n){const e=No(o),f=jc(o),v=e.visualViewport;let _=f.clientWidth,w=f.clientHeight,F=0,T=0;if(v){_=v.width,w=v.height;const C=cx();(C||!C&&n==="fixed")&&(F=v.offsetLeft,T=v.offsetTop)}return{width:_,height:w,x:F,y:T}}(t,i)):Gc(r)?J1(function(o,n){const e=yp(o,!0,n==="fixed"),f=e.top+o.clientTop,v=e.left+o.clientLeft,_=Ya(o)?oh(o):{x:1,y:1};return{width:o.clientWidth*_.x,height:o.clientHeight*_.y,x:v*_.x,y:f*_.y}}(r,i)):J1(function(o){const n=jc(o),e=hb(o),f=o.ownerDocument.body,v=Z1(n.scrollWidth,n.clientWidth,f.scrollWidth,f.clientWidth),_=Z1(n.scrollHeight,n.clientHeight,f.scrollHeight,f.clientHeight);let w=-e.scrollLeft+hx(o);const F=-e.scrollTop;return ja(f).direction==="rtl"&&(w+=Z1(n.clientWidth,f.clientWidth)-v),{width:v,height:_,x:w,y:F}}(jc(t)))}function SE(t){return Ya(t)&&ja(t).position!=="fixed"?t.offsetParent:null}function kE(t){const r=No(t);let i=SE(t);for(;i&&hN(i)&&ja(i).position==="static";)i=SE(i);return i&&(Xc(i)==="html"||Xc(i)==="body"&&ja(i).position==="static"&&!H4(i))?r:i||function(o){let n=Dp(o);for(;Ya(n)&&!sD(n);){if(H4(n))return n;n=Dp(n)}return null}(t)||r}function dN(t,r,i){const o=Ya(r),n=jc(r),e=yp(t,!0,i==="fixed",r);let f={scrollLeft:0,scrollTop:0};const v={x:0,y:0};if(o||!o&&i!=="fixed")if((Xc(r)!=="body"||fb(n))&&(f=hb(r)),Ya(r)){const _=yp(r,!0);v.x=_.x+r.clientLeft,v.y=_.y+r.clientTop}else n&&(v.x=hx(n));return{x:e.left+f.scrollLeft-v.x,y:e.top+f.scrollTop-v.y,width:e.width,height:e.height}}const pN={getClippingRect:function(t){let{element:r,boundary:i,rootBoundary:o,strategy:n}=t;const e=i==="clippingAncestors"?function(w,F){const T=F.get(w);if(T)return T;let C=Ov(w).filter(V=>Gc(V)&&Xc(V)!=="body"),O=null;const N=ja(w).position==="fixed";let B=N?Dp(w):w;for(;Gc(B)&&!sD(B);){const V=ja(B),G=H4(B);(N?G||O:G||V.position!=="static"||!O||!["absolute","fixed"].includes(O.position))?O=V:C=C.filter(X=>X!==B),B=Dp(B)}return F.set(w,C),C}(r,this._c):[].concat(i),f=[...e,o],v=f[0],_=f.reduce((w,F)=>{const T=CE(r,F,n);return w.top=Z1(T.top,w.top),w.right=xE(T.right,w.right),w.bottom=xE(T.bottom,w.bottom),w.left=Z1(T.left,w.left),w},CE(r,v,n));return{width:_.right-_.left,height:_.bottom-_.top,x:_.left,y:_.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:r,offsetParent:i,strategy:o}=t;const n=Ya(i),e=jc(i);if(i===e)return r;let f={scrollLeft:0,scrollTop:0},v={x:1,y:1};const _={x:0,y:0};if((n||!n&&o!=="fixed")&&((Xc(i)!=="body"||fb(e))&&(f=hb(i)),Ya(i))){const w=yp(i);v=oh(i),_.x=w.x+i.clientLeft,_.y=w.y+i.clientTop}return{width:r.width*v.x,height:r.height*v.y,x:r.x*v.x-f.scrollLeft*v.x+_.x,y:r.y*v.y-f.scrollTop*v.y+_.y}},isElement:Gc,getDimensions:function(t){return Ya(t)?ox(t):t.getBoundingClientRect()},getOffsetParent:kE,getDocumentElement:jc,getScale:oh,async getElementRects(t){let{reference:r,floating:i,strategy:o}=t;const n=this.getOffsetParent||kE,e=this.getDimensions;return{reference:dN(r,await n(i),o),floating:{x:0,y:0,...await e(i)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>ja(t).direction==="rtl"},mN=(t,r,i)=>{const o=new Map,n={platform:pN,...i},e={...n.platform,_c:o};return nN(t,r,{...n,platform:e})};function px(t,r){for(const i in r)Object.prototype.hasOwnProperty.call(r,i)&&(typeof r[i]=="object"&&t[i]?px(t[i],r[i]):t[i]=r[i])}const $l={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"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","focus"],delay:{show:0,hide:400}}}};function wp(t,r){let i=$l.themes[t]||{},o;do o=i[r],typeof o>"u"?i.$extend?i=$l.themes[i.$extend]||{}:(i=null,o=$l[r]):i=null;while(i);return o}function gN(t){const r=[t];let i=$l.themes[t]||{};do i.$extend&&!i.$resetCss?(r.push(i.$extend),i=$l.themes[i.$extend]||{}):i=null;while(i);return r.map(o=>`v-popper--theme-${o}`)}function OE(t){const r=[t];let i=$l.themes[t]||{};do i.$extend?(r.push(i.$extend),i=$l.themes[i.$extend]||{}):i=null;while(i);return r}let xf=!1;if(typeof window<"u"){xf=!1;try{const t=Object.defineProperty({},"passive",{get(){xf=!0}});window.addEventListener("test",null,t)}catch{}}let mx=!1;typeof window<"u"&&typeof navigator<"u"&&(mx=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const gx=["auto","top","bottom","left","right"].reduce((t,r)=>t.concat([r,`${r}-start`,`${r}-end`]),[]),RE={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},IE={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function PE(t,r){const i=t.indexOf(r);i!==-1&&t.splice(i,1)}function Oy(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const na=[];let lf=null;const NE={};function LE(t){let r=NE[t];return r||(r=NE[t]=[]),r}let $4=function(){};typeof window<"u"&&($4=window.Element);function on(t){return function(r){return wp(r.theme,t)}}const Ry="__floating-vue__popper",vx=()=>ui({name:"VPopper",provide(){return{[Ry]:{parentPopper:this}}},inject:{[Ry]:{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:on("disabled")},positioningDisabled:{type:Boolean,default:on("positioningDisabled")},placement:{type:String,default:on("placement"),validator:t=>gx.includes(t)},delay:{type:[String,Number,Object],default:on("delay")},distance:{type:[Number,String],default:on("distance")},skidding:{type:[Number,String],default:on("skidding")},triggers:{type:Array,default:on("triggers")},showTriggers:{type:[Array,Function],default:on("showTriggers")},hideTriggers:{type:[Array,Function],default:on("hideTriggers")},popperTriggers:{type:Array,default:on("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:on("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:on("popperHideTriggers")},container:{type:[String,Object,$4,Boolean],default:on("container")},boundary:{type:[String,$4],default:on("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:on("strategy")},autoHide:{type:[Boolean,Function],default:on("autoHide")},handleResize:{type:Boolean,default:on("handleResize")},instantMove:{type:Boolean,default:on("instantMove")},eagerMount:{type:Boolean,default:on("eagerMount")},popperClass:{type:[String,Array,Object],default:on("popperClass")},computeTransformOrigin:{type:Boolean,default:on("computeTransformOrigin")},autoMinSize:{type:Boolean,default:on("autoMinSize")},autoSize:{type:[Boolean,String],default:on("autoSize")},autoMaxSize:{type:Boolean,default:on("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:on("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:on("preventOverflow")},overflowPadding:{type:[Number,String],default:on("overflowPadding")},arrowPadding:{type:[Number,String],default:on("arrowPadding")},arrowOverflow:{type:Boolean,default:on("arrowOverflow")},flip:{type:Boolean,default:on("flip")},shift:{type:Boolean,default:on("shift")},shiftCrossAxis:{type:Boolean,default:on("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:on("noAutoFocus")},disposeTimeout:{type:Number,default:on("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],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},shownChildren:new Set,lastAutoHide:!0}},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 t;return(t=this[Ry])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,r;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((r=this.popperShowTriggers)==null?void 0:r.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((t,r)=>(t[r]="$_refreshListeners",t),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,r)=>(t[r]="$_computePosition",t),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,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:t=null,skipDelay:r=!1,force:i=!1}={}){var o,n;(o=this.parentPopper)!=null&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(i||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,r),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:r=!1}={}){var i;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:r}),this.parentPopper.lockedChild=null)},1e3));return}((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,r),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((t=this.referenceNode)==null?void 0:t.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(r=>r.nodeType===r.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"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(cN({mainAxis:this.distance,crossAxis:this.skidding}));const r=this.placement.startsWith("auto");if(r?t.middleware.push(oN({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(uN({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!r&&this.flip&&t.middleware.push(aN({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(iN({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:o,rects:n,middlewareData:e})=>{let f;const{centerOffset:v}=e.arrow;return o.startsWith("top")||o.startsWith("bottom")?f=Math.abs(v)>n.reference.width/2:f=Math.abs(v)>n.reference.height/2,{data:{overflow:f}}}}),this.autoMinSize||this.autoSize){const o=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:n,placement:e,middlewareData:f})=>{var v;if((v=f.autoSize)!=null&&v.skip)return{};let _,w;return e.startsWith("top")||e.startsWith("bottom")?_=n.reference.width:w=n.reference.height,this.$_innerNode.style[o==="min"?"minWidth":o==="max"?"maxWidth":"width"]=_!=null?`${_}px`:null,this.$_innerNode.style[o==="min"?"minHeight":o==="max"?"maxHeight":"height"]=w!=null?`${w}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(fN({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:o,availableHeight:n})=>{this.$_innerNode.style.maxWidth=o!=null?`${o}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const i=await mN(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:i.x,y:i.y,placement:i.placement,strategy:i.strategy,arrow:{...i.middlewareData.arrow,...i.middlewareData.arrowOverflow}})},$_scheduleShow(t=null,r=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),lf&&this.instantMove&&lf.instantMove&&lf!==this.parentPopper){lf.$_applyHide(!0),this.$_applyShow(!0);return}r?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,r=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(lf=this),r?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const r=this.delay;return parseInt(r&&r[t]||r||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Oy(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Ov(this.$_referenceNode),...Ov(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const r=this.$_referenceNode.getBoundingClientRect(),i=this.$_popperNode.querySelector(".v-popper__wrapper"),o=i.parentNode.getBoundingClientRect(),n=r.x+r.width/2-(o.left+i.offsetLeft),e=r.y+r.height/2-(o.top+i.offsetTop);this.result.transformOrigin=`${n}px ${e}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let r;for(let i=0;i<na.length;i++)r=na[i],r.showGroup!==t&&(r.hide(),r.$emit("close-group"))}na.push(this),document.body.classList.add("v-popper--some-open");for(const r of OE(this.theme))LE(r).push(this),document.body.classList.add(`v-popper--some-open--${r}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Oy(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,PE(na,this),na.length===0&&document.body.classList.remove("v-popper--some-open");for(const i of OE(this.theme)){const o=LE(i);PE(o,this),o.length===0&&document.body.classList.remove(`v-popper--some-open--${i}`)}lf===this&&(lf=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const r=this.disposeTimeout;r!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},r)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Oy(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=i=>{this.isShown&&!this.$_hideInProgress||(i.usedByTooltip=!0,!this.$_preventShow&&this.show({event:i}))};this.$_registerTriggerListeners(this.$_targetNodes,RE,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],RE,this.popperTriggers,this.popperShowTriggers,t);const r=i=>{i.usedByTooltip||this.hide({event:i})};this.$_registerTriggerListeners(this.$_targetNodes,IE,this.triggers,this.hideTriggers,r),this.$_registerTriggerListeners([this.$_popperNode],IE,this.popperTriggers,this.popperHideTriggers,r)},$_registerEventListeners(t,r,i){this.$_events.push({targetNodes:t,eventType:r,handler:i}),t.forEach(o=>o.addEventListener(r,i,xf?{passive:!0}:void 0))},$_registerTriggerListeners(t,r,i,o,n){let e=i;o!=null&&(e=typeof o=="function"?o(e):o),e.forEach(f=>{const v=r[f];v&&this.$_registerEventListeners(t,v,n)})},$_removeEventListeners(t){const r=[];this.$_events.forEach(i=>{const{targetNodes:o,eventType:n,handler:e}=i;!t||t===n?o.forEach(f=>f.removeEventListener(n,e)):r.push(i)}),this.$_events=r},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,r=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),r&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,r){for(const i of this.$_targetNodes){const o=i.getAttribute(t);o&&(i.removeAttribute(t),i.setAttribute(r,o))}},$_applyAttrsToTarget(t){for(const r of this.$_targetNodes)for(const i in t){const o=t[i];o==null?r.removeAttribute(i):r.setAttribute(i,o)}},$_updateParentShownChildren(t){let r=this.parentPopper;for(;r;)t?r.shownChildren.add(this.randomId):(r.shownChildren.delete(this.randomId),r.$_pendingHide&&r.hide()),r=r.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(ep>=t.left&&ep<=t.right&&tp>=t.top&&tp<=t.bottom){const r=this.$_popperNode.getBoundingClientRect(),i=ep-Fc,o=tp-Tc,n=r.left+r.width/2-Fc+(r.top+r.height/2)-Tc+r.width+r.height,e=Fc+i*n,f=Tc+o*n;return C2(Fc,Tc,e,f,r.left,r.top,r.left,r.bottom)||C2(Fc,Tc,e,f,r.left,r.top,r.right,r.top)||C2(Fc,Tc,e,f,r.right,r.top,r.right,r.bottom)||C2(Fc,Tc,e,f,r.left,r.bottom,r.right,r.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(mx?(document.addEventListener("touchstart",ME,xf?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",bN,xf?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",ME,!0),window.addEventListener("click",vN,!0)),window.addEventListener("resize",DN));function ME(t){for(let r=0;r<na.length;r++){const i=na[r];try{const o=i.popperNode();i.$_mouseDownContains=o.contains(t.target)}catch{}}}function vN(t){bx(t)}function bN(t){bx(t,!0)}function bx(t,r=!1){const i={};for(let o=na.length-1;o>=0;o--){const n=na[o];try{const e=n.$_containsGlobalTarget=_N(n,t);n.$_pendingHide=!1,requestAnimationFrame(()=>{if(n.$_pendingHide=!1,!i[n.randomId]&&BE(n,e,t)){if(n.$_handleGlobalClose(t,r),!t.closeAllPopover&&t.closePopover&&e){let v=n.parentPopper;for(;v;)i[v.randomId]=!0,v=v.parentPopper;return}let f=n.parentPopper;for(;f&&BE(f,f.$_containsGlobalTarget,t);)f.$_handleGlobalClose(t,r),f=f.parentPopper}})}catch{}}}function _N(t,r){const i=t.popperNode();return t.$_mouseDownContains||i.contains(r.target)}function BE(t,r,i){return i.closeAllPopover||i.closePopover&&r||yN(t,i)&&!r}function yN(t,r){if(typeof t.autoHide=="function"){const i=t.autoHide(r);return t.lastAutoHide=i,i}return t.autoHide}function DN(t){for(let r=0;r<na.length;r++)na[r].$_computePosition(t)}let Fc=0,Tc=0,ep=0,tp=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{Fc=ep,Tc=tp,ep=t.clientX,tp=t.clientY},xf?{passive:!0}:void 0);function C2(t,r,i,o,n,e,f,v){const _=((f-n)*(r-e)-(v-e)*(t-n))/((v-e)*(i-t)-(f-n)*(o-r)),w=((i-t)*(r-e)-(o-r)*(t-n))/((v-e)*(i-t)-(f-n)*(o-r));return _>=0&&_<=1&&w>=0&&w<=1}const wN={extends:vx()},db=(t,r)=>{const i=t.__vccOpts||t;for(const[o,n]of r)i[o]=n;return i};function EN(t,r,i,o,n,e){return Hr(),Fn("div",{ref:"reference",class:Is(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Df(t.$slots,"default",HF(x3(t.slotData)))],2)}const FN=db(wN,[["render",EN]]);function TN(){var t=window.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return parseInt(t.substring(r+5,t.indexOf(".",r)),10);var i=t.indexOf("Trident/");if(i>0){var o=t.indexOf("rv:");return parseInt(t.substring(o+3,t.indexOf(".",o)),10)}var n=t.indexOf("Edge/");return n>0?parseInt(t.substring(n+5,t.indexOf(".",n)),10):-1}let z2;function W4(){W4.init||(W4.init=!0,z2=TN()!==-1)}var pb={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){W4(),bo(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",z2&&this.$el.appendChild(t),t.data="about:blank",z2||this.$el.appendChild(t)},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&&(!z2&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const xN=v6();m6("data-v-b329ee4c");const AN={class:"resize-observer",tabindex:"-1"};g6();const CN=xN((t,r,i,o,n,e)=>(Hr(),Qa("div",AN)));pb.render=CN;pb.__scopeId="data-v-b329ee4c";pb.__file="src/components/ResizeObserver.vue";const _x=(t="theme")=>({computed:{themeClass(){return gN(this[t])}}}),SN=ui({name:"VPopperContent",components:{ResizeObserver:pb},mixins:[_x()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}}),kN=["id","aria-hidden","tabindex","data-popper-placement"],ON={ref:"inner",class:"v-popper__inner"},RN=It("div",{class:"v-popper__arrow-outer"},null,-1),IN=It("div",{class:"v-popper__arrow-inner"},null,-1),PN=[RN,IN];function NN(t,r,i,o,n,e){const f=ca("ResizeObserver");return Hr(),Fn("div",{id:t.popperId,ref:"popover",class:Is(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:oa(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:r[2]||(r[2]=I5(v=>t.autoHide&&t.$emit("hide"),["esc"]))},[It("div",{class:"v-popper__backdrop",onClick:r[0]||(r[0]=v=>t.autoHide&&t.$emit("hide"))}),It("div",{class:"v-popper__wrapper",style:oa(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[It("div",ON,[t.mounted?(Hr(),Fn(Yn,{key:0},[It("div",null,[Df(t.$slots,"default")]),t.handleResize?(Hr(),Qa(f,{key:0,onNotify:r[1]||(r[1]=v=>t.$emit("resize",v))})):mo("",!0)],64)):mo("",!0)],512),It("div",{ref:"arrow",class:"v-popper__arrow-container",style:oa(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},PN,4)],4)],46,kN)}const yx=db(SN,[["render",NN]]),Dx={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}},LN=ui({name:"VPopperWrapper",components:{Popper:FN,PopperContent:yx},mixins:[Dx,_x("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(t=>t!==this.$refs.popperContent.$el)}}});function MN(t,r,i,o,n,e){const f=ca("PopperContent"),v=ca("Popper");return Hr(),Qa(v,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:Is([t.themeClass])},{default:Gi(({popperId:_,isShown:w,shouldMountContent:F,skipTransition:T,autoHide:C,show:O,hide:N,handleResize:B,onResize:V,classes:G,result:X})=>[Df(t.$slots,"default",{shown:w,show:O,hide:N}),Cr(f,{ref:"popperContent","popper-id":_,theme:t.finalTheme,shown:w,mounted:F,"skip-transition":T,"auto-hide":C,"handle-resize":B,classes:G,result:X,onHide:N,onResize:V},{default:Gi(()=>[Df(t.$slots,"popper",{shown:w,hide:N})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const oD=db(LN,[["render",MN]]),BN={...oD,name:"VDropdown",vPopperTheme:"dropdown"},UN={...oD,name:"VMenu",vPopperTheme:"menu"},HN={...oD,name:"VTooltip",vPopperTheme:"tooltip"},$N=ui({name:"VTooltipDirective",components:{Popper:vx(),PopperContent:yx},mixins:[Dx],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>wp(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>wp(t.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(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const r=++this.$_fetchId,i=this.content(this);i.then?i.then(o=>this.onResult(r,o)):this.onResult(r,i)}},onResult(t,r){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=r)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),WN=["innerHTML"],zN=["textContent"];function VN(t,r,i,o,n,e){const f=ca("PopperContent"),v=ca("Popper");return Hr(),Qa(v,ib({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:Gi(({popperId:_,isShown:w,shouldMountContent:F,skipTransition:T,autoHide:C,hide:O,handleResize:N,onResize:B,classes:V,result:G})=>[Cr(f,{ref:"popperContent",class:Is({"v-popper--tooltip-loading":t.loading}),"popper-id":_,theme:t.theme,shown:w,mounted:F,"skip-transition":T,"auto-hide":C,"handle-resize":N,classes:V,result:G,onHide:O,onResize:B},{default:Gi(()=>[t.html?(Hr(),Fn("div",{key:0,innerHTML:t.finalContent},null,8,WN)):(Hr(),Fn("div",{key:1,textContent:vi(t.finalContent)},null,8,zN))]),_: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 GN=db($N,[["render",VN]]),wx="v-popper--has-tooltip";function jN(t,r){let i=t.placement;if(!i&&r)for(const o of gx)r[o]&&(i=o);return i||(i=wp(t.theme||"tooltip","placement")),i}function Ex(t,r,i){let o;const n=typeof r;return n==="string"?o={content:r}:r&&n==="object"?o=r:o={content:!1},o.placement=jN(o,i),o.targetNodes=()=>[t],o.referenceNode=()=>t,o}let Iy,Ep,YN=0;function KN(){if(Iy)return;Ep=er([]),Iy=pp({name:"VTooltipDirectiveApp",setup(){return{directives:Ep}},render(){return this.directives.map(r=>kf(GN,{...r.options,shown:r.shown||r.options.shown,key:r.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),Iy.mount(t)}function qN(t,r,i){KN();const o=er(Ex(t,r,i)),n=er(!1),e={id:YN++,options:o,shown:n};return Ep.value.push(e),t.classList&&t.classList.add(wx),t.$_popper={options:o,item:e,show(){n.value=!0},hide(){n.value=!1}}}function Fx(t){if(t.$_popper){const r=Ep.value.indexOf(t.$_popper.item);r!==-1&&Ep.value.splice(r,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(wx)}function UE(t,{value:r,modifiers:i}){const o=Ex(t,r,i);if(!o.content||wp(o.theme||"tooltip","disabled"))Fx(t);else{let n;t.$_popper?(n=t.$_popper,n.options.value=o):n=qN(t,r,i),typeof r.shown<"u"&&r.shown!==t.$_popperOldShown&&(t.$_popperOldShown=r.shown,r.shown?n.show():n.hide())}}const QN={beforeMount:UE,updated:UE,beforeUnmount(t){Fx(t)}};function HE(t){t.addEventListener("click",Tx),t.addEventListener("touchstart",xx,xf?{passive:!0}:!1)}function $E(t){t.removeEventListener("click",Tx),t.removeEventListener("touchstart",xx),t.removeEventListener("touchend",Ax),t.removeEventListener("touchcancel",Cx)}function Tx(t){const r=t.currentTarget;t.closePopover=!r.$_vclosepopover_touch,t.closeAllPopover=r.$_closePopoverModifiers&&!!r.$_closePopoverModifiers.all}function xx(t){if(t.changedTouches.length===1){const r=t.currentTarget;r.$_vclosepopover_touch=!0;const i=t.changedTouches[0];r.$_vclosepopover_touchPoint=i,r.addEventListener("touchend",Ax),r.addEventListener("touchcancel",Cx)}}function Ax(t){const r=t.currentTarget;if(r.$_vclosepopover_touch=!1,t.changedTouches.length===1){const i=t.changedTouches[0],o=r.$_vclosepopover_touchPoint;t.closePopover=Math.abs(i.screenY-o.screenY)<20&&Math.abs(i.screenX-o.screenX)<20,t.closeAllPopover=r.$_closePopoverModifiers&&!!r.$_closePopoverModifiers.all}}function Cx(t){const r=t.currentTarget;r.$_vclosepopover_touch=!1}const XN={beforeMount(t,{value:r,modifiers:i}){t.$_closePopoverModifiers=i,(typeof r>"u"||r)&&HE(t)},updated(t,{value:r,oldValue:i,modifiers:o}){t.$_closePopoverModifiers=o,r!==i&&(typeof r>"u"||r?HE(t):$E(t))},beforeUnmount(t){$E(t)}};function JN(t,r={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,px($l,r),t.directive("tooltip",QN),t.directive("close-popper",XN),t.component("VTooltip",HN),t.component("VDropdown",BN),t.component("VMenu",UN))}const ZN={version:"2.0.0-beta.24",install:JN,options:$l};var mb=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Up=typeof window>"u"||"Deno"in globalThis;function ea(){}function eL(t,r){return typeof t=="function"?t(r):t}function tL(t){return typeof t=="number"&&t>=0&&t!==1/0}function rL(t,r){return Math.max(t+(r||0)-Date.now(),0)}function WE(t,r){return typeof t=="function"?t(r):t}function nL(t,r){return typeof t=="function"?t(r):t}function zE(t,r){const{type:i="all",exact:o,fetchStatus:n,predicate:e,queryKey:f,stale:v}=t;if(f){if(o){if(r.queryHash!==aD(f,r.options))return!1}else if(!Tp(r.queryKey,f))return!1}if(i!=="all"){const _=r.isActive();if(i==="active"&&!_||i==="inactive"&&_)return!1}return!(typeof v=="boolean"&&r.isStale()!==v||n&&n!==r.state.fetchStatus||e&&!e(r))}function VE(t,r){const{exact:i,status:o,predicate:n,mutationKey:e}=t;if(e){if(!r.options.mutationKey)return!1;if(i){if(Fp(r.options.mutationKey)!==Fp(e))return!1}else if(!Tp(r.options.mutationKey,e))return!1}return!(o&&r.state.status!==o||n&&!n(r))}function aD(t,r){return((r==null?void 0:r.queryKeyHashFn)||Fp)(t)}function Fp(t){return JSON.stringify(t,(r,i)=>z4(i)?Object.keys(i).sort().reduce((o,n)=>(o[n]=i[n],o),{}):i)}function Tp(t,r){return t===r?!0:typeof t!=typeof r?!1:t&&r&&typeof t=="object"&&typeof r=="object"?!Object.keys(r).some(i=>!Tp(t[i],r[i])):!1}function Sx(t,r){if(t===r)return t;const i=GE(t)&&GE(r);if(i||z4(t)&&z4(r)){const o=i?t:Object.keys(t),n=o.length,e=i?r:Object.keys(r),f=e.length,v=i?[]:{};let _=0;for(let w=0;w<f;w++){const F=i?w:e[w];(!i&&o.includes(F)||i)&&t[F]===void 0&&r[F]===void 0?(v[F]=void 0,_++):(v[F]=Sx(t[F],r[F]),v[F]===t[F]&&t[F]!==void 0&&_++)}return n===f&&_===n?t:v}return r}function IH(t,r){if(!r||Object.keys(t).length!==Object.keys(r).length)return!1;for(const i in t)if(t[i]!==r[i])return!1;return!0}function GE(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function z4(t){if(!jE(t))return!1;const r=t.constructor;if(r===void 0)return!0;const i=r.prototype;return!(!jE(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function jE(t){return Object.prototype.toString.call(t)==="[object Object]"}function iL(t){return new Promise(r=>{setTimeout(r,t)})}function sL(t,r,i){return typeof i.structuralSharing=="function"?i.structuralSharing(t,r):i.structuralSharing!==!1?Sx(t,r):r}function oL(t,r,i=0){const o=[...t,r];return i&&o.length>i?o.slice(1):o}function aL(t,r,i=0){const o=[r,...t];return i&&o.length>i?o.slice(0,-1):o}var kx=Symbol();function Ox(t,r){return!t.queryFn&&(r!=null&&r.initialPromise)?()=>r.initialPromise:!t.queryFn||t.queryFn===kx?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}var hf,Mc,ch,mF,lL=(mF=class extends mb{constructor(){super();Dn(this,hf,void 0);Dn(this,Mc,void 0);Dn(this,ch,void 0);Lr(this,ch,r=>{if(!Up&&window.addEventListener){const i=()=>r();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}})}onSubscribe(){ut(this,Mc)||this.setEventListener(ut(this,ch))}onUnsubscribe(){var r;this.hasListeners()||((r=ut(this,Mc))==null||r.call(this),Lr(this,Mc,void 0))}setEventListener(r){var i;Lr(this,ch,r),(i=ut(this,Mc))==null||i.call(this),Lr(this,Mc,r(o=>{typeof o=="boolean"?this.setFocused(o):this.onFocus()}))}setFocused(r){ut(this,hf)!==r&&(Lr(this,hf,r),this.onFocus())}onFocus(){const r=this.isFocused();this.listeners.forEach(i=>{i(r)})}isFocused(){var r;return typeof ut(this,hf)=="boolean"?ut(this,hf):((r=globalThis.document)==null?void 0:r.visibilityState)!=="hidden"}},hf=new WeakMap,Mc=new WeakMap,ch=new WeakMap,mF),Rx=new lL,uh,Bc,fh,gF,cL=(gF=class extends mb{constructor(){super();Dn(this,uh,!0);Dn(this,Bc,void 0);Dn(this,fh,void 0);Lr(this,fh,r=>{if(!Up&&window.addEventListener){const i=()=>r(!0),o=()=>r(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",o,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",o)}}})}onSubscribe(){ut(this,Bc)||this.setEventListener(ut(this,fh))}onUnsubscribe(){var r;this.hasListeners()||((r=ut(this,Bc))==null||r.call(this),Lr(this,Bc,void 0))}setEventListener(r){var i;Lr(this,fh,r),(i=ut(this,Bc))==null||i.call(this),Lr(this,Bc,r(this.setOnline.bind(this)))}setOnline(r){ut(this,uh)!==r&&(Lr(this,uh,r),this.listeners.forEach(o=>{o(r)}))}isOnline(){return ut(this,uh)}},uh=new WeakMap,Bc=new WeakMap,fh=new WeakMap,gF),Rv=new cL;function uL(t){return Math.min(1e3*2**t,3e4)}function Ix(t){return(t??"online")==="online"?Rv.isOnline():!0}var Px=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function Py(t){return t instanceof Px}function Nx(t){let r=!1,i=0,o=!1,n,e,f;const v=new Promise((G,X)=>{e=G,f=X}),_=G=>{var X;o||(N(new Px(G)),(X=t.abort)==null||X.call(t))},w=()=>{r=!0},F=()=>{r=!1},T=()=>Rx.isFocused()&&(t.networkMode==="always"||Rv.isOnline())&&t.canRun(),C=()=>Ix(t.networkMode)&&t.canRun(),O=G=>{var X;o||(o=!0,(X=t.onSuccess)==null||X.call(t,G),n==null||n(),e(G))},N=G=>{var X;o||(o=!0,(X=t.onError)==null||X.call(t,G),n==null||n(),f(G))},B=()=>new Promise(G=>{var X;n=H=>{(o||T())&&G(H)},(X=t.onPause)==null||X.call(t)}).then(()=>{var G;n=void 0,o||(G=t.onContinue)==null||G.call(t)}),V=()=>{if(o)return;let G;const X=i===0?t.initialPromise:void 0;try{G=X??t.fn()}catch(H){G=Promise.reject(H)}Promise.resolve(G).then(O).catch(H=>{var P;if(o)return;const z=t.retry??(Up?0:3),Y=t.retryDelay??uL,ee=typeof Y=="function"?Y(i,H):Y,K=z===!0||typeof z=="number"&&i<z||typeof z=="function"&&z(i,H);if(r||!K){N(H);return}i++,(P=t.onFail)==null||P.call(t,i,H),iL(ee).then(()=>T()?void 0:B()).then(()=>{r?N(H):V()})})};return{promise:v,cancel:_,continue:()=>(n==null||n(),v),cancelRetry:w,continueRetry:F,canStart:C,start:()=>(C()?V():B().then(V),v)}}function fL(){let t=[],r=0,i=v=>{v()},o=v=>{v()},n=v=>setTimeout(v,0);const e=v=>{r?t.push(v):n(()=>{i(v)})},f=()=>{const v=t;t=[],v.length&&n(()=>{o(()=>{v.forEach(_=>{i(_)})})})};return{batch:v=>{let _;r++;try{_=v()}finally{r--,r||f()}return _},batchCalls:v=>(..._)=>{e(()=>{v(..._)})},schedule:e,setNotifyFunction:v=>{i=v},setBatchNotifyFunction:v=>{o=v},setScheduler:v=>{n=v}}}var Rs=fL(),df,vF,Lx=(vF=class{constructor(){Dn(this,df,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),tL(this.gcTime)&&Lr(this,df,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Up?1/0:5*60*1e3))}clearGcTimeout(){ut(this,df)&&(clearTimeout(ut(this,df)),Lr(this,df,void 0))}},df=new WeakMap,vF),hh,dh,Io,cs,Cp,pf,ta,Rl,bF,hL=(bF=class extends Lx{constructor(r){super();Dn(this,ta);Dn(this,hh,void 0);Dn(this,dh,void 0);Dn(this,Io,void 0);Dn(this,cs,void 0);Dn(this,Cp,void 0);Dn(this,pf,void 0);Lr(this,pf,!1),Lr(this,Cp,r.defaultOptions),this.setOptions(r.options),this.observers=[],Lr(this,Io,r.cache),this.queryKey=r.queryKey,this.queryHash=r.queryHash,Lr(this,hh,pL(this.options)),this.state=r.state??ut(this,hh),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var r;return(r=ut(this,cs))==null?void 0:r.promise}setOptions(r){this.options={...ut(this,Cp),...r},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&ut(this,Io).remove(this)}setData(r,i){const o=sL(this.state.data,r,this.options);return ls(this,ta,Rl).call(this,{data:o,type:"success",dataUpdatedAt:i==null?void 0:i.updatedAt,manual:i==null?void 0:i.manual}),o}setState(r,i){ls(this,ta,Rl).call(this,{type:"setState",state:r,setStateOptions:i})}cancel(r){var o,n;const i=(o=ut(this,cs))==null?void 0:o.promise;return(n=ut(this,cs))==null||n.cancel(r),i?i.then(ea).catch(ea):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(ut(this,hh))}isActive(){return this.observers.some(r=>nL(r.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(r=>r.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(r=0){return this.state.isInvalidated||this.state.data===void 0||!rL(this.state.dataUpdatedAt,r)}onFocus(){var i;const r=this.observers.find(o=>o.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(i=ut(this,cs))==null||i.continue()}onOnline(){var i;const r=this.observers.find(o=>o.shouldFetchOnReconnect());r==null||r.refetch({cancelRefetch:!1}),(i=ut(this,cs))==null||i.continue()}addObserver(r){this.observers.includes(r)||(this.observers.push(r),this.clearGcTimeout(),ut(this,Io).notify({type:"observerAdded",query:this,observer:r}))}removeObserver(r){this.observers.includes(r)&&(this.observers=this.observers.filter(i=>i!==r),this.observers.length||(ut(this,cs)&&(ut(this,pf)?ut(this,cs).cancel({revert:!0}):ut(this,cs).cancelRetry()),this.scheduleGc()),ut(this,Io).notify({type:"observerRemoved",query:this,observer:r}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ls(this,ta,Rl).call(this,{type:"invalidate"})}fetch(r,i){var _,w,F;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(i!=null&&i.cancelRefetch))this.cancel({silent:!0});else if(ut(this,cs))return ut(this,cs).continueRetry(),ut(this,cs).promise}if(r&&this.setOptions(r),!this.options.queryFn){const T=this.observers.find(C=>C.options.queryFn);T&&this.setOptions(T.options)}const o=new AbortController,n=T=>{Object.defineProperty(T,"signal",{enumerable:!0,get:()=>(Lr(this,pf,!0),o.signal)})},e=()=>{const T=Ox(this.options,i),C={queryKey:this.queryKey,meta:this.meta};return n(C),Lr(this,pf,!1),this.options.persister?this.options.persister(T,C,this):T(C)},f={fetchOptions:i,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:e};n(f),(_=this.options.behavior)==null||_.onFetch(f,this),Lr(this,dh,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((w=f.fetchOptions)==null?void 0:w.meta))&&ls(this,ta,Rl).call(this,{type:"fetch",meta:(F=f.fetchOptions)==null?void 0:F.meta});const v=T=>{var C,O,N,B;Py(T)&&T.silent||ls(this,ta,Rl).call(this,{type:"error",error:T}),Py(T)||((O=(C=ut(this,Io).config).onError)==null||O.call(C,T,this),(B=(N=ut(this,Io).config).onSettled)==null||B.call(N,this.state.data,T,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return Lr(this,cs,Nx({initialPromise:i==null?void 0:i.initialPromise,fn:f.fetchFn,abort:o.abort.bind(o),onSuccess:T=>{var C,O,N,B;if(T===void 0){v(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(T)}catch(V){v(V);return}(O=(C=ut(this,Io).config).onSuccess)==null||O.call(C,T,this),(B=(N=ut(this,Io).config).onSettled)==null||B.call(N,T,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:v,onFail:(T,C)=>{ls(this,ta,Rl).call(this,{type:"failed",failureCount:T,error:C})},onPause:()=>{ls(this,ta,Rl).call(this,{type:"pause"})},onContinue:()=>{ls(this,ta,Rl).call(this,{type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0})),ut(this,cs).start()}},hh=new WeakMap,dh=new WeakMap,Io=new WeakMap,cs=new WeakMap,Cp=new WeakMap,pf=new WeakMap,ta=new WeakSet,Rl=function(r){const i=o=>{switch(r.type){case"failed":return{...o,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...o,fetchStatus:"paused"};case"continue":return{...o,fetchStatus:"fetching"};case"fetch":return{...o,...dL(o.data,this.options),fetchMeta:r.meta??null};case"success":return{...o,data:r.data,dataUpdateCount:o.dataUpdateCount+1,dataUpdatedAt:r.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=r.error;return Py(n)&&n.revert&&ut(this,dh)?{...ut(this,dh),fetchStatus:"idle"}:{...o,error:n,errorUpdateCount:o.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:o.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...o,isInvalidated:!0};case"setState":return{...o,...r.state}}};this.state=i(this.state),Rs.batch(()=>{this.observers.forEach(o=>{o.onQueryUpdate()}),ut(this,Io).notify({query:this,type:"updated",action:r})})},bF);function dL(t,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ix(r.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function pL(t){const r=typeof t.initialData=="function"?t.initialData():t.initialData,i=r!==void 0,o=i?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:i?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var Ua,_F,Mx=(_F=class extends mb{constructor(i={}){super();Dn(this,Ua,void 0);this.config=i,Lr(this,Ua,new Map)}build(i,o,n){const e=o.queryKey,f=o.queryHash??aD(e,o);let v=this.get(f);return v||(v=new hL({cache:this,queryKey:e,queryHash:f,options:i.defaultQueryOptions(o),state:n,defaultOptions:i.getQueryDefaults(e)}),this.add(v)),v}add(i){ut(this,Ua).has(i.queryHash)||(ut(this,Ua).set(i.queryHash,i),this.notify({type:"added",query:i}))}remove(i){const o=ut(this,Ua).get(i.queryHash);o&&(i.destroy(),o===i&&ut(this,Ua).delete(i.queryHash),this.notify({type:"removed",query:i}))}clear(){Rs.batch(()=>{this.getAll().forEach(i=>{this.remove(i)})})}get(i){return ut(this,Ua).get(i)}getAll(){return[...ut(this,Ua).values()]}find(i){const o={exact:!0,...i};return this.getAll().find(n=>zE(o,n))}findAll(i={}){const o=this.getAll();return Object.keys(i).length>0?o.filter(n=>zE(i,n)):o}notify(i){Rs.batch(()=>{this.listeners.forEach(o=>{o(i)})})}onFocus(){Rs.batch(()=>{this.getAll().forEach(i=>{i.onFocus()})})}onOnline(){Rs.batch(()=>{this.getAll().forEach(i=>{i.onOnline()})})}},Ua=new WeakMap,_F),Ha,Cs,mf,$a,xc,yF,mL=(yF=class extends Lx{constructor(r){super();Dn(this,$a);Dn(this,Ha,void 0);Dn(this,Cs,void 0);Dn(this,mf,void 0);this.mutationId=r.mutationId,Lr(this,Cs,r.mutationCache),Lr(this,Ha,[]),this.state=r.state||gL(),this.setOptions(r.options),this.scheduleGc()}setOptions(r){this.options=r,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(r){ut(this,Ha).includes(r)||(ut(this,Ha).push(r),this.clearGcTimeout(),ut(this,Cs).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){Lr(this,Ha,ut(this,Ha).filter(i=>i!==r)),this.scheduleGc(),ut(this,Cs).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){ut(this,Ha).length||(this.state.status==="pending"?this.scheduleGc():ut(this,Cs).remove(this))}continue(){var r;return((r=ut(this,mf))==null?void 0:r.continue())??this.execute(this.state.variables)}async execute(r){var n,e,f,v,_,w,F,T,C,O,N,B,V,G,X,H,z,Y,ee,K;Lr(this,mf,Nx({fn:()=>this.options.mutationFn?this.options.mutationFn(r):Promise.reject(new Error("No mutationFn found")),onFail:(P,I)=>{ls(this,$a,xc).call(this,{type:"failed",failureCount:P,error:I})},onPause:()=>{ls(this,$a,xc).call(this,{type:"pause"})},onContinue:()=>{ls(this,$a,xc).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>ut(this,Cs).canRun(this)}));const i=this.state.status==="pending",o=!ut(this,mf).canStart();try{if(!i){ls(this,$a,xc).call(this,{type:"pending",variables:r,isPaused:o}),await((e=(n=ut(this,Cs).config).onMutate)==null?void 0:e.call(n,r,this));const I=await((v=(f=this.options).onMutate)==null?void 0:v.call(f,r));I!==this.state.context&&ls(this,$a,xc).call(this,{type:"pending",context:I,variables:r,isPaused:o})}const P=await ut(this,mf).start();return await((w=(_=ut(this,Cs).config).onSuccess)==null?void 0:w.call(_,P,r,this.state.context,this)),await((T=(F=this.options).onSuccess)==null?void 0:T.call(F,P,r,this.state.context)),await((O=(C=ut(this,Cs).config).onSettled)==null?void 0:O.call(C,P,null,this.state.variables,this.state.context,this)),await((B=(N=this.options).onSettled)==null?void 0:B.call(N,P,null,r,this.state.context)),ls(this,$a,xc).call(this,{type:"success",data:P}),P}catch(P){try{throw await((G=(V=ut(this,Cs).config).onError)==null?void 0:G.call(V,P,r,this.state.context,this)),await((H=(X=this.options).onError)==null?void 0:H.call(X,P,r,this.state.context)),await((Y=(z=ut(this,Cs).config).onSettled)==null?void 0:Y.call(z,void 0,P,this.state.variables,this.state.context,this)),await((K=(ee=this.options).onSettled)==null?void 0:K.call(ee,void 0,P,r,this.state.context)),P}finally{ls(this,$a,xc).call(this,{type:"error",error:P})}}finally{ut(this,Cs).runNext(this)}}},Ha=new WeakMap,Cs=new WeakMap,mf=new WeakMap,$a=new WeakSet,xc=function(r){const i=o=>{switch(r.type){case"failed":return{...o,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...o,isPaused:!0};case"continue":return{...o,isPaused:!1};case"pending":return{...o,context:r.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:r.isPaused,status:"pending",variables:r.variables,submittedAt:Date.now()};case"success":return{...o,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...o,data:void 0,error:r.error,failureCount:o.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=i(this.state),Rs.batch(()=>{ut(this,Ha).forEach(o=>{o.onMutationUpdate(r)}),ut(this,Cs).notify({mutation:this,type:"updated",action:r})})},yF);function gL(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var po,Sp,DF,Bx=(DF=class extends mb{constructor(i={}){super();Dn(this,po,void 0);Dn(this,Sp,void 0);this.config=i,Lr(this,po,new Map),Lr(this,Sp,Date.now())}build(i,o,n){const e=new mL({mutationCache:this,mutationId:++n2(this,Sp)._,options:i.defaultMutationOptions(o),state:n});return this.add(e),e}add(i){const o=S2(i),n=ut(this,po).get(o)??[];n.push(i),ut(this,po).set(o,n),this.notify({type:"added",mutation:i})}remove(i){var n;const o=S2(i);if(ut(this,po).has(o)){const e=(n=ut(this,po).get(o))==null?void 0:n.filter(f=>f!==i);e&&(e.length===0?ut(this,po).delete(o):ut(this,po).set(o,e))}this.notify({type:"removed",mutation:i})}canRun(i){var n;const o=(n=ut(this,po).get(S2(i)))==null?void 0:n.find(e=>e.state.status==="pending");return!o||o===i}runNext(i){var n;const o=(n=ut(this,po).get(S2(i)))==null?void 0:n.find(e=>e!==i&&e.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}clear(){Rs.batch(()=>{this.getAll().forEach(i=>{this.remove(i)})})}getAll(){return[...ut(this,po).values()].flat()}find(i){const o={exact:!0,...i};return this.getAll().find(n=>VE(o,n))}findAll(i={}){return this.getAll().filter(o=>VE(i,o))}notify(i){Rs.batch(()=>{this.listeners.forEach(o=>{o(i)})})}resumePausedMutations(){const i=this.getAll().filter(o=>o.state.isPaused);return Rs.batch(()=>Promise.all(i.map(o=>o.continue().catch(ea))))}},po=new WeakMap,Sp=new WeakMap,DF);function S2(t){var r;return((r=t.options.scope)==null?void 0:r.id)??String(t.mutationId)}function YE(t){return{onFetch:(r,i)=>{var F,T,C,O,N;const o=r.options,n=(C=(T=(F=r.fetchOptions)==null?void 0:F.meta)==null?void 0:T.fetchMore)==null?void 0:C.direction,e=((O=r.state.data)==null?void 0:O.pages)||[],f=((N=r.state.data)==null?void 0:N.pageParams)||[];let v={pages:[],pageParams:[]},_=0;const w=async()=>{let B=!1;const V=H=>{Object.defineProperty(H,"signal",{enumerable:!0,get:()=>(r.signal.aborted?B=!0:r.signal.addEventListener("abort",()=>{B=!0}),r.signal)})},G=Ox(r.options,r.fetchOptions),X=async(H,z,Y)=>{if(B)return Promise.reject();if(z==null&&H.pages.length)return Promise.resolve(H);const ee={queryKey:r.queryKey,pageParam:z,direction:Y?"backward":"forward",meta:r.options.meta};V(ee);const K=await G(ee),{maxPages:P}=r.options,I=Y?aL:oL;return{pages:I(H.pages,K,P),pageParams:I(H.pageParams,z,P)}};if(n&&e.length){const H=n==="backward",z=H?vL:KE,Y={pages:e,pageParams:f},ee=z(o,Y);v=await X(Y,ee,H)}else{const H=t??e.length;do{const z=_===0?f[0]??o.initialPageParam:KE(o,v);if(_>0&&z==null)break;v=await X(v,z),_++}while(_<H)}return v};r.options.persister?r.fetchFn=()=>{var B,V;return(V=(B=r.options).persister)==null?void 0:V.call(B,w,{queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},i)}:r.fetchFn=w}}}function KE(t,{pages:r,pageParams:i}){const o=r.length-1;return r.length>0?t.getNextPageParam(r[o],r,i[o],i):void 0}function vL(t,{pages:r,pageParams:i}){var o;return r.length>0?(o=t.getPreviousPageParam)==null?void 0:o.call(t,r[0],r,i[0],i):void 0}var ai,Uc,Hc,ph,mh,$c,gh,vh,wF,bL=(wF=class{constructor(r={}){Dn(this,ai,void 0);Dn(this,Uc,void 0);Dn(this,Hc,void 0);Dn(this,ph,void 0);Dn(this,mh,void 0);Dn(this,$c,void 0);Dn(this,gh,void 0);Dn(this,vh,void 0);Lr(this,ai,r.queryCache||new Mx),Lr(this,Uc,r.mutationCache||new Bx),Lr(this,Hc,r.defaultOptions||{}),Lr(this,ph,new Map),Lr(this,mh,new Map),Lr(this,$c,0)}mount(){n2(this,$c)._++,ut(this,$c)===1&&(Lr(this,gh,Rx.subscribe(async r=>{r&&(await this.resumePausedMutations(),ut(this,ai).onFocus())})),Lr(this,vh,Rv.subscribe(async r=>{r&&(await this.resumePausedMutations(),ut(this,ai).onOnline())})))}unmount(){var r,i;n2(this,$c)._--,ut(this,$c)===0&&((r=ut(this,gh))==null||r.call(this),Lr(this,gh,void 0),(i=ut(this,vh))==null||i.call(this),Lr(this,vh,void 0))}isFetching(r){return ut(this,ai).findAll({...r,fetchStatus:"fetching"}).length}isMutating(r){return ut(this,Uc).findAll({...r,status:"pending"}).length}getQueryData(r){var o;const i=this.defaultQueryOptions({queryKey:r});return(o=ut(this,ai).get(i.queryHash))==null?void 0:o.state.data}ensureQueryData(r){const i=this.getQueryData(r.queryKey);if(i===void 0)return this.fetchQuery(r);{const o=this.defaultQueryOptions(r),n=ut(this,ai).build(this,o);return r.revalidateIfStale&&n.isStaleByTime(WE(o.staleTime,n))&&this.prefetchQuery(o),Promise.resolve(i)}}getQueriesData(r){return ut(this,ai).findAll(r).map(({queryKey:i,state:o})=>{const n=o.data;return[i,n]})}setQueryData(r,i,o){const n=this.defaultQueryOptions({queryKey:r}),e=ut(this,ai).get(n.queryHash),f=e==null?void 0:e.state.data,v=eL(i,f);if(v!==void 0)return ut(this,ai).build(this,n).setData(v,{...o,manual:!0})}setQueriesData(r,i,o){return Rs.batch(()=>ut(this,ai).findAll(r).map(({queryKey:n})=>[n,this.setQueryData(n,i,o)]))}getQueryState(r){var o;const i=this.defaultQueryOptions({queryKey:r});return(o=ut(this,ai).get(i.queryHash))==null?void 0:o.state}removeQueries(r){const i=ut(this,ai);Rs.batch(()=>{i.findAll(r).forEach(o=>{i.remove(o)})})}resetQueries(r,i){const o=ut(this,ai),n={type:"active",...r};return Rs.batch(()=>(o.findAll(r).forEach(e=>{e.reset()}),this.refetchQueries(n,i)))}cancelQueries(r={},i={}){const o={revert:!0,...i},n=Rs.batch(()=>ut(this,ai).findAll(r).map(e=>e.cancel(o)));return Promise.all(n).then(ea).catch(ea)}invalidateQueries(r={},i={}){return Rs.batch(()=>{if(ut(this,ai).findAll(r).forEach(n=>{n.invalidate()}),r.refetchType==="none")return Promise.resolve();const o={...r,type:r.refetchType??r.type??"active"};return this.refetchQueries(o,i)})}refetchQueries(r={},i){const o={...i,cancelRefetch:(i==null?void 0:i.cancelRefetch)??!0},n=Rs.batch(()=>ut(this,ai).findAll(r).filter(e=>!e.isDisabled()).map(e=>{let f=e.fetch(void 0,o);return o.throwOnError||(f=f.catch(ea)),e.state.fetchStatus==="paused"?Promise.resolve():f}));return Promise.all(n).then(ea)}fetchQuery(r){const i=this.defaultQueryOptions(r);i.retry===void 0&&(i.retry=!1);const o=ut(this,ai).build(this,i);return o.isStaleByTime(WE(i.staleTime,o))?o.fetch(i):Promise.resolve(o.state.data)}prefetchQuery(r){return this.fetchQuery(r).then(ea).catch(ea)}fetchInfiniteQuery(r){return r.behavior=YE(r.pages),this.fetchQuery(r)}prefetchInfiniteQuery(r){return this.fetchInfiniteQuery(r).then(ea).catch(ea)}ensureInfiniteQueryData(r){return r.behavior=YE(r.pages),this.ensureQueryData(r)}resumePausedMutations(){return Rv.isOnline()?ut(this,Uc).resumePausedMutations():Promise.resolve()}getQueryCache(){return ut(this,ai)}getMutationCache(){return ut(this,Uc)}getDefaultOptions(){return ut(this,Hc)}setDefaultOptions(r){Lr(this,Hc,r)}setQueryDefaults(r,i){ut(this,ph).set(Fp(r),{queryKey:r,defaultOptions:i})}getQueryDefaults(r){const i=[...ut(this,ph).values()];let o={};return i.forEach(n=>{Tp(r,n.queryKey)&&(o={...o,...n.defaultOptions})}),o}setMutationDefaults(r,i){ut(this,mh).set(Fp(r),{mutationKey:r,defaultOptions:i})}getMutationDefaults(r){const i=[...ut(this,mh).values()];let o={};return i.forEach(n=>{Tp(r,n.mutationKey)&&(o={...o,...n.defaultOptions})}),o}defaultQueryOptions(r){if(r._defaulted)return r;const i={...ut(this,Hc).queries,...this.getQueryDefaults(r.queryKey),...r,_defaulted:!0};return i.queryHash||(i.queryHash=aD(i.queryKey,i)),i.refetchOnReconnect===void 0&&(i.refetchOnReconnect=i.networkMode!=="always"),i.throwOnError===void 0&&(i.throwOnError=!!i.suspense),!i.networkMode&&i.persister&&(i.networkMode="offlineFirst"),i.enabled!==!0&&i.queryFn===kx&&(i.enabled=!1),i}defaultMutationOptions(r){return r!=null&&r._defaulted?r:{...ut(this,Hc).mutations,...(r==null?void 0:r.mutationKey)&&this.getMutationDefaults(r.mutationKey),...r,_defaulted:!0}}clear(){ut(this,ai).clear(),ut(this,Uc).clear()}},ai=new WeakMap,Uc=new WeakMap,Hc=new WeakMap,ph=new WeakMap,mh=new WeakMap,$c=new WeakMap,gh=new WeakMap,vh=new WeakMap,wF),_L="VUE_QUERY_CLIENT";function yL(t){const r=t?`:${t}`:"";return`${_L}${r}`}function MH(t,r){Object.keys(t).forEach(i=>{t[i]=r[i]})}function V4(t,r,i="",o=0){if(r){const n=r(t,i,o);if(n===void 0&&un(t)||n!==void 0)return n}if(Array.isArray(t))return t.map((n,e)=>V4(n,r,String(e),o+1));if(typeof t=="object"&&wL(t)){const n=Object.entries(t).map(([e,f])=>[e,V4(f,r,e,o+1)]);return Object.fromEntries(n)}return t}function DL(t,r){return V4(t,r)}function qr(t,r=!1){return DL(t,(i,o,n)=>{if(n===1&&o==="queryKey")return qr(i,!0);if(r&&EL(i))return qr(i(),r);if(un(i))return qr(Zt(i),r)})}function wL(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;const r=Object.getPrototypeOf(t);return r===null||r===Object.prototype}function EL(t){return typeof t=="function"}function BH(t,r){return typeof t=="function"?t(...r):!!t}var FL=class extends Mx{find(t){return super.find(qr(t))}findAll(t={}){return super.findAll(qr(t))}},TL=class extends Bx{find(t){return super.find(qr(t))}findAll(t={}){return super.findAll(qr(t))}},xL=class extends bL{constructor(t={}){const r={defaultOptions:t.defaultOptions,queryCache:t.queryCache||new FL,mutationCache:t.mutationCache||new TL};super(r),this.isRestoring=er(!1)}isFetching(t={}){return super.isFetching(qr(t))}isMutating(t={}){return super.isMutating(qr(t))}getQueryData(t){return super.getQueryData(qr(t))}ensureQueryData(t){return super.ensureQueryData(qr(t))}getQueriesData(t){return super.getQueriesData(qr(t))}setQueryData(t,r,i={}){return super.setQueryData(qr(t),r,qr(i))}setQueriesData(t,r,i={}){return super.setQueriesData(qr(t),r,qr(i))}getQueryState(t){return super.getQueryState(qr(t))}removeQueries(t={}){return super.removeQueries(qr(t))}resetQueries(t={},r={}){return super.resetQueries(qr(t),qr(r))}cancelQueries(t={},r={}){return super.cancelQueries(qr(t),qr(r))}invalidateQueries(t={},r={}){const i=qr(t),o=qr(r);if(super.invalidateQueries({...i,refetchType:"none"},o),i.refetchType==="none")return Promise.resolve();const n={...i,type:i.refetchType??i.type??"active"};return bo().then(()=>super.refetchQueries(n,o))}refetchQueries(t={},r={}){return super.refetchQueries(qr(t),qr(r))}fetchQuery(t){return super.fetchQuery(qr(t))}prefetchQuery(t){return super.prefetchQuery(qr(t))}fetchInfiniteQuery(t){return super.fetchInfiniteQuery(qr(t))}prefetchInfiniteQuery(t){return super.prefetchInfiniteQuery(qr(t))}setDefaultOptions(t){super.setDefaultOptions(qr(t))}setQueryDefaults(t,r){super.setQueryDefaults(qr(t),qr(r))}getQueryDefaults(t){return super.getQueryDefaults(qr(t))}setMutationDefaults(t,r){super.setMutationDefaults(qr(t),qr(r))}getMutationDefaults(t){return super.getMutationDefaults(qr(t))}},AL={install:(t,r={})=>{const i=yL(r.queryClientKey);let o;if("queryClient"in r&&r.queryClient)o=r.queryClient;else{const f="queryClientConfig"in r?r.queryClientConfig:void 0;o=new xL(f)}Up||o.mount();let n=()=>{};if(r.clientPersister){o.isRestoring.value=!0;const[f,v]=r.clientPersister(o);n=f,v.then(()=>{var _;o.isRestoring.value=!1,(_=r.clientPersisterOnSuccess)==null||_.call(r,o)})}const e=()=>{o.unmount(),n()};if(t.onUnmount)t.onUnmount(e);else{const f=t.unmount;t.unmount=function(){e(),f()}}t.provide(i,o)}};const CL=ui({__name:"App",setup(t){return x9({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>rx.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>LP.value?"/favicon-dark.svg":"/favicon.svg"}]}),(r,i)=>{const o=ca("RouterView");return Hr(),Qa(o)}}}),Ny=new WeakMap;function Ux(t,r,i={}){const{mode:o="replace",route:n=gT(),router:e=LR(),transform:f=T=>T}=i;Ny.has(e)||Ny.set(e,new Map);const v=Ny.get(e);let _=n.query[t];Za(()=>{_=void 0});let w;const F=Jv((T,C)=>(w=C,{get(){return T(),f(_!==void 0?_:Hn(r))},set(O){_!==O&&(_=O===r||O===null?void 0:O,v.set(t,O===r||O===null?void 0:O),C(),bo(()=>{if(v.size===0)return;const N=Object.fromEntries(v.entries());v.clear();const{params:B,query:V,hash:G}=n;e[Hn(o)]({params:B,query:{...V,...N},hash:G})}))}}));return In(()=>n.query[t],T=>{_=T,w()},{flush:"sync"}),F}var Hx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){var i=1e3,o=6e4,n=36e5,e="millisecond",f="second",v="minute",_="hour",w="day",F="week",T="month",C="quarter",O="year",N="date",B="Invalid Date",V=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,G=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,X={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Ee){var Ue=["th","st","nd","rd"],ve=Ee%100;return"["+Ee+(Ue[(ve-20)%10]||Ue[ve]||Ue[0])+"]"}},H=function(Ee,Ue,ve){var fe=String(Ee);return!fe||fe.length>=Ue?Ee:""+Array(Ue+1-fe.length).join(ve)+Ee},z={s:H,z:function(Ee){var Ue=-Ee.utcOffset(),ve=Math.abs(Ue),fe=Math.floor(ve/60),Fe=ve%60;return(Ue<=0?"+":"-")+H(fe,2,"0")+":"+H(Fe,2,"0")},m:function Ee(Ue,ve){if(Ue.date()<ve.date())return-Ee(ve,Ue);var fe=12*(ve.year()-Ue.year())+(ve.month()-Ue.month()),Fe=Ue.clone().add(fe,T),Oe=ve-Fe<0,Re=Ue.clone().add(fe+(Oe?-1:1),T);return+(-(fe+(ve-Fe)/(Oe?Fe-Re:Re-Fe))||0)},a:function(Ee){return Ee<0?Math.ceil(Ee)||0:Math.floor(Ee)},p:function(Ee){return{M:T,y:O,w:F,d:w,D:N,h:_,m:v,s:f,ms:e,Q:C}[Ee]||String(Ee||"").toLowerCase().replace(/s$/,"")},u:function(Ee){return Ee===void 0}},Y="en",ee={};ee[Y]=X;var K="$isDayjsObject",P=function(Ee){return Ee instanceof ae||!(!Ee||!Ee[K])},I=function Ee(Ue,ve,fe){var Fe;if(!Ue)return Y;if(typeof Ue=="string"){var Oe=Ue.toLowerCase();ee[Oe]&&(Fe=Oe),ve&&(ee[Oe]=ve,Fe=Oe);var Re=Ue.split("-");if(!Fe&&Re.length>1)return Ee(Re[0])}else{var ce=Ue.name;ee[ce]=Ue,Fe=ce}return!fe&&Fe&&(Y=Fe),Fe||!fe&&Y},W=function(Ee,Ue){if(P(Ee))return Ee.clone();var ve=typeof Ue=="object"?Ue:{};return ve.date=Ee,ve.args=arguments,new ae(ve)},oe=z;oe.l=I,oe.i=P,oe.w=function(Ee,Ue){return W(Ee,{locale:Ue.$L,utc:Ue.$u,x:Ue.$x,$offset:Ue.$offset})};var ae=function(){function Ee(ve){this.$L=I(ve.locale,null,!0),this.parse(ve),this.$x=this.$x||ve.x||{},this[K]=!0}var Ue=Ee.prototype;return Ue.parse=function(ve){this.$d=function(fe){var Fe=fe.date,Oe=fe.utc;if(Fe===null)return new Date(NaN);if(oe.u(Fe))return new Date;if(Fe instanceof Date)return new Date(Fe);if(typeof Fe=="string"&&!/Z$/i.test(Fe)){var Re=Fe.match(V);if(Re){var ce=Re[2]-1||0,De=(Re[7]||"0").substring(0,3);return Oe?new Date(Date.UTC(Re[1],ce,Re[3]||1,Re[4]||0,Re[5]||0,Re[6]||0,De)):new Date(Re[1],ce,Re[3]||1,Re[4]||0,Re[5]||0,Re[6]||0,De)}}return new Date(Fe)}(ve),this.init()},Ue.init=function(){var ve=this.$d;this.$y=ve.getFullYear(),this.$M=ve.getMonth(),this.$D=ve.getDate(),this.$W=ve.getDay(),this.$H=ve.getHours(),this.$m=ve.getMinutes(),this.$s=ve.getSeconds(),this.$ms=ve.getMilliseconds()},Ue.$utils=function(){return oe},Ue.isValid=function(){return this.$d.toString()!==B},Ue.isSame=function(ve,fe){var Fe=W(ve);return this.startOf(fe)<=Fe&&Fe<=this.endOf(fe)},Ue.isAfter=function(ve,fe){return W(ve)<this.startOf(fe)},Ue.isBefore=function(ve,fe){return this.endOf(fe)<W(ve)},Ue.$g=function(ve,fe,Fe){return oe.u(ve)?this[fe]:this.set(Fe,ve)},Ue.unix=function(){return Math.floor(this.valueOf()/1e3)},Ue.valueOf=function(){return this.$d.getTime()},Ue.startOf=function(ve,fe){var Fe=this,Oe=!!oe.u(fe)||fe,Re=oe.p(ve),ce=function(de,Ye){var gt=oe.w(Fe.$u?Date.UTC(Fe.$y,Ye,de):new Date(Fe.$y,Ye,de),Fe);return Oe?gt:gt.endOf(w)},De=function(de,Ye){return oe.w(Fe.toDate()[de].apply(Fe.toDate("s"),(Oe?[0,0,0,0]:[23,59,59,999]).slice(Ye)),Fe)},We=this.$W,ke=this.$M,ge=this.$D,Ie="set"+(this.$u?"UTC":"");switch(Re){case O:return Oe?ce(1,0):ce(31,11);case T:return Oe?ce(1,ke):ce(0,ke+1);case F:var ie=this.$locale().weekStart||0,Pe=(We<ie?We+7:We)-ie;return ce(Oe?ge-Pe:ge+(6-Pe),ke);case w:case N:return De(Ie+"Hours",0);case _:return De(Ie+"Minutes",1);case v:return De(Ie+"Seconds",2);case f:return De(Ie+"Milliseconds",3);default:return this.clone()}},Ue.endOf=function(ve){return this.startOf(ve,!1)},Ue.$set=function(ve,fe){var Fe,Oe=oe.p(ve),Re="set"+(this.$u?"UTC":""),ce=(Fe={},Fe[w]=Re+"Date",Fe[N]=Re+"Date",Fe[T]=Re+"Month",Fe[O]=Re+"FullYear",Fe[_]=Re+"Hours",Fe[v]=Re+"Minutes",Fe[f]=Re+"Seconds",Fe[e]=Re+"Milliseconds",Fe)[Oe],De=Oe===w?this.$D+(fe-this.$W):fe;if(Oe===T||Oe===O){var We=this.clone().set(N,1);We.$d[ce](De),We.init(),this.$d=We.set(N,Math.min(this.$D,We.daysInMonth())).$d}else ce&&this.$d[ce](De);return this.init(),this},Ue.set=function(ve,fe){return this.clone().$set(ve,fe)},Ue.get=function(ve){return this[oe.p(ve)]()},Ue.add=function(ve,fe){var Fe,Oe=this;ve=Number(ve);var Re=oe.p(fe),ce=function(ke){var ge=W(Oe);return oe.w(ge.date(ge.date()+Math.round(ke*ve)),Oe)};if(Re===T)return this.set(T,this.$M+ve);if(Re===O)return this.set(O,this.$y+ve);if(Re===w)return ce(1);if(Re===F)return ce(7);var De=(Fe={},Fe[v]=o,Fe[_]=n,Fe[f]=i,Fe)[Re]||1,We=this.$d.getTime()+ve*De;return oe.w(We,this)},Ue.subtract=function(ve,fe){return this.add(-1*ve,fe)},Ue.format=function(ve){var fe=this,Fe=this.$locale();if(!this.isValid())return Fe.invalidDate||B;var Oe=ve||"YYYY-MM-DDTHH:mm:ssZ",Re=oe.z(this),ce=this.$H,De=this.$m,We=this.$M,ke=Fe.weekdays,ge=Fe.months,Ie=Fe.meridiem,ie=function(Ye,gt,nt,J){return Ye&&(Ye[gt]||Ye(fe,Oe))||nt[gt].slice(0,J)},Pe=function(Ye){return oe.s(ce%12||12,Ye,"0")},de=Ie||function(Ye,gt,nt){var J=Ye<12?"AM":"PM";return nt?J.toLowerCase():J};return Oe.replace(G,function(Ye,gt){return gt||function(nt){switch(nt){case"YY":return String(fe.$y).slice(-2);case"YYYY":return oe.s(fe.$y,4,"0");case"M":return We+1;case"MM":return oe.s(We+1,2,"0");case"MMM":return ie(Fe.monthsShort,We,ge,3);case"MMMM":return ie(ge,We);case"D":return fe.$D;case"DD":return oe.s(fe.$D,2,"0");case"d":return String(fe.$W);case"dd":return ie(Fe.weekdaysMin,fe.$W,ke,2);case"ddd":return ie(Fe.weekdaysShort,fe.$W,ke,3);case"dddd":return ke[fe.$W];case"H":return String(ce);case"HH":return oe.s(ce,2,"0");case"h":return Pe(1);case"hh":return Pe(2);case"a":return de(ce,De,!0);case"A":return de(ce,De,!1);case"m":return String(De);case"mm":return oe.s(De,2,"0");case"s":return String(fe.$s);case"ss":return oe.s(fe.$s,2,"0");case"SSS":return oe.s(fe.$ms,3,"0");case"Z":return Re}return null}(Ye)||Re.replace(":","")})},Ue.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Ue.diff=function(ve,fe,Fe){var Oe,Re=this,ce=oe.p(fe),De=W(ve),We=(De.utcOffset()-this.utcOffset())*o,ke=this-De,ge=function(){return oe.m(Re,De)};switch(ce){case O:Oe=ge()/12;break;case T:Oe=ge();break;case C:Oe=ge()/3;break;case F:Oe=(ke-We)/6048e5;break;case w:Oe=(ke-We)/864e5;break;case _:Oe=ke/n;break;case v:Oe=ke/o;break;case f:Oe=ke/i;break;default:Oe=ke}return Fe?Oe:oe.a(Oe)},Ue.daysInMonth=function(){return this.endOf(T).$D},Ue.$locale=function(){return ee[this.$L]},Ue.locale=function(ve,fe){if(!ve)return this.$L;var Fe=this.clone(),Oe=I(ve,fe,!0);return Oe&&(Fe.$L=Oe),Fe},Ue.clone=function(){return oe.w(this.$d,this)},Ue.toDate=function(){return new Date(this.valueOf())},Ue.toJSON=function(){return this.isValid()?this.toISOString():null},Ue.toISOString=function(){return this.$d.toISOString()},Ue.toString=function(){return this.$d.toUTCString()},Ee}(),be=ae.prototype;return W.prototype=be,[["$ms",e],["$s",f],["$m",v],["$H",_],["$W",w],["$M",T],["$y",O],["$D",N]].forEach(function(Ee){be[Ee[1]]=function(Ue){return this.$g(Ue,Ee[0],Ee[1])}}),W.extend=function(Ee,Ue){return Ee.$i||(Ee(Ue,ae,W),Ee.$i=!0),W},W.locale=I,W.isDayjs=P,W.unix=function(Ee){return W(1e3*Ee)},W.en=ee[Y],W.Ls=ee,W.p={},W})})(Hx);var SL=Hx.exports;const ds=Ns(SL);var $x={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){var i,o,n=1e3,e=6e4,f=36e5,v=864e5,_=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w=31536e6,F=2628e6,T=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,C={years:w,months:F,days:v,hours:f,minutes:e,seconds:n,milliseconds:1,weeks:6048e5},O=function(ee){return ee instanceof z},N=function(ee,K,P){return new z(ee,P,K.$l)},B=function(ee){return o.p(ee)+"s"},V=function(ee){return ee<0},G=function(ee){return V(ee)?Math.ceil(ee):Math.floor(ee)},X=function(ee){return Math.abs(ee)},H=function(ee,K){return ee?V(ee)?{negative:!0,format:""+X(ee)+K}:{negative:!1,format:""+ee+K}:{negative:!1,format:""}},z=function(){function ee(P,I,W){var oe=this;if(this.$d={},this.$l=W,P===void 0&&(this.$ms=0,this.parseFromMilliseconds()),I)return N(P*C[B(I)],this);if(typeof P=="number")return this.$ms=P,this.parseFromMilliseconds(),this;if(typeof P=="object")return Object.keys(P).forEach(function(Ee){oe.$d[B(Ee)]=P[Ee]}),this.calMilliseconds(),this;if(typeof P=="string"){var ae=P.match(T);if(ae){var be=ae.slice(2).map(function(Ee){return Ee!=null?Number(Ee):0});return this.$d.years=be[0],this.$d.months=be[1],this.$d.weeks=be[2],this.$d.days=be[3],this.$d.hours=be[4],this.$d.minutes=be[5],this.$d.seconds=be[6],this.calMilliseconds(),this}}return this}var K=ee.prototype;return K.calMilliseconds=function(){var P=this;this.$ms=Object.keys(this.$d).reduce(function(I,W){return I+(P.$d[W]||0)*C[W]},0)},K.parseFromMilliseconds=function(){var P=this.$ms;this.$d.years=G(P/w),P%=w,this.$d.months=G(P/F),P%=F,this.$d.days=G(P/v),P%=v,this.$d.hours=G(P/f),P%=f,this.$d.minutes=G(P/e),P%=e,this.$d.seconds=G(P/n),P%=n,this.$d.milliseconds=P},K.toISOString=function(){var P=H(this.$d.years,"Y"),I=H(this.$d.months,"M"),W=+this.$d.days||0;this.$d.weeks&&(W+=7*this.$d.weeks);var oe=H(W,"D"),ae=H(this.$d.hours,"H"),be=H(this.$d.minutes,"M"),Ee=this.$d.seconds||0;this.$d.milliseconds&&(Ee+=this.$d.milliseconds/1e3,Ee=Math.round(1e3*Ee)/1e3);var Ue=H(Ee,"S"),ve=P.negative||I.negative||oe.negative||ae.negative||be.negative||Ue.negative,fe=ae.format||be.format||Ue.format?"T":"",Fe=(ve?"-":"")+"P"+P.format+I.format+oe.format+fe+ae.format+be.format+Ue.format;return Fe==="P"||Fe==="-P"?"P0D":Fe},K.toJSON=function(){return this.toISOString()},K.format=function(P){var I=P||"YYYY-MM-DDTHH:mm:ss",W={Y:this.$d.years,YY:o.s(this.$d.years,2,"0"),YYYY:o.s(this.$d.years,4,"0"),M:this.$d.months,MM:o.s(this.$d.months,2,"0"),D:this.$d.days,DD:o.s(this.$d.days,2,"0"),H:this.$d.hours,HH:o.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:o.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:o.s(this.$d.seconds,2,"0"),SSS:o.s(this.$d.milliseconds,3,"0")};return I.replace(_,function(oe,ae){return ae||String(W[oe])})},K.as=function(P){return this.$ms/C[B(P)]},K.get=function(P){var I=this.$ms,W=B(P);return W==="milliseconds"?I%=1e3:I=W==="weeks"?G(I/C[W]):this.$d[W],I||0},K.add=function(P,I,W){var oe;return oe=I?P*C[B(I)]:O(P)?P.$ms:N(P,this).$ms,N(this.$ms+oe*(W?-1:1),this)},K.subtract=function(P,I){return this.add(P,I,!0)},K.locale=function(P){var I=this.clone();return I.$l=P,I},K.clone=function(){return N(this.$ms,this)},K.humanize=function(P){return i().add(this.$ms,"ms").locale(this.$l).fromNow(!P)},K.valueOf=function(){return this.asMilliseconds()},K.milliseconds=function(){return this.get("milliseconds")},K.asMilliseconds=function(){return this.as("milliseconds")},K.seconds=function(){return this.get("seconds")},K.asSeconds=function(){return this.as("seconds")},K.minutes=function(){return this.get("minutes")},K.asMinutes=function(){return this.as("minutes")},K.hours=function(){return this.get("hours")},K.asHours=function(){return this.as("hours")},K.days=function(){return this.get("days")},K.asDays=function(){return this.as("days")},K.weeks=function(){return this.get("weeks")},K.asWeeks=function(){return this.as("weeks")},K.months=function(){return this.get("months")},K.asMonths=function(){return this.as("months")},K.years=function(){return this.get("years")},K.asYears=function(){return this.as("years")},ee}(),Y=function(ee,K,P){return ee.add(K.years()*P,"y").add(K.months()*P,"M").add(K.days()*P,"d").add(K.hours()*P,"h").add(K.minutes()*P,"m").add(K.seconds()*P,"s").add(K.milliseconds()*P,"ms")};return function(ee,K,P){i=P,o=P().$utils(),P.duration=function(oe,ae){var be=P.locale();return N(oe,{$l:be},ae)},P.isDuration=O;var I=K.prototype.add,W=K.prototype.subtract;K.prototype.add=function(oe,ae){return O(oe)?Y(this,oe,1):I.bind(this)(oe,ae)},K.prototype.subtract=function(oe,ae){return O(oe)?Y(this,oe,-1):W.bind(this)(oe,ae)}}})})($x);var kL=$x.exports;const OL=Ns(kL);var Wx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){var i="minute",o=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(e,f,v){var _=f.prototype;v.utc=function(B){var V={date:B,utc:!0,args:arguments};return new f(V)},_.utc=function(B){var V=v(this.toDate(),{locale:this.$L,utc:!0});return B?V.add(this.utcOffset(),i):V},_.local=function(){return v(this.toDate(),{locale:this.$L,utc:!1})};var w=_.parse;_.parse=function(B){B.utc&&(this.$u=!0),this.$utils().u(B.$offset)||(this.$offset=B.$offset),w.call(this,B)};var F=_.init;_.init=function(){if(this.$u){var B=this.$d;this.$y=B.getUTCFullYear(),this.$M=B.getUTCMonth(),this.$D=B.getUTCDate(),this.$W=B.getUTCDay(),this.$H=B.getUTCHours(),this.$m=B.getUTCMinutes(),this.$s=B.getUTCSeconds(),this.$ms=B.getUTCMilliseconds()}else F.call(this)};var T=_.utcOffset;_.utcOffset=function(B,V){var G=this.$utils().u;if(G(B))return this.$u?0:G(this.$offset)?T.call(this):this.$offset;if(typeof B=="string"&&(B=function(Y){Y===void 0&&(Y="");var ee=Y.match(o);if(!ee)return null;var K=(""+ee[0]).match(n)||["-",0,0],P=K[0],I=60*+K[1]+ +K[2];return I===0?0:P==="+"?I:-I}(B),B===null))return this;var X=Math.abs(B)<=16?60*B:B,H=this;if(V)return H.$offset=X,H.$u=B===0,H;if(B!==0){var z=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(H=this.local().add(X+z,i)).$offset=X,H.$x.$localOffset=z}else H=this.utc();return H};var C=_.format;_.format=function(B){var V=B||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return C.call(this,V)},_.valueOf=function(){var B=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*B},_.isUTC=function(){return!!this.$u},_.toISOString=function(){return this.toDate().toISOString()},_.toString=function(){return this.toDate().toUTCString()};var O=_.toDate;_.toDate=function(B){return B==="s"&&this.$offset?v(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():O.call(this)};var N=_.diff;_.diff=function(B,V,G){if(B&&this.$u===B.$u)return N.call(this,B,V,G);var X=this.local(),H=v(B).local();return N.call(X,H,V,G)}}})})(Wx);var RL=Wx.exports;const IL=Ns(RL);var zx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){var i={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(n,e,f){var v,_=function(C,O,N){N===void 0&&(N={});var B=new Date(C),V=function(G,X){X===void 0&&(X={});var H=X.timeZoneName||"short",z=G+"|"+H,Y=o[z];return Y||(Y=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:G,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:H}),o[z]=Y),Y}(O,N);return V.formatToParts(B)},w=function(C,O){for(var N=_(C,O),B=[],V=0;V<N.length;V+=1){var G=N[V],X=G.type,H=G.value,z=i[X];z>=0&&(B[z]=parseInt(H,10))}var Y=B[3],ee=Y===24?0:Y,K=B[0]+"-"+B[1]+"-"+B[2]+" "+ee+":"+B[4]+":"+B[5]+":000",P=+C;return(f.utc(K).valueOf()-(P-=P%1e3))/6e4},F=e.prototype;F.tz=function(C,O){C===void 0&&(C=v);var N,B=this.utcOffset(),V=this.toDate(),G=V.toLocaleString("en-US",{timeZone:C}),X=Math.round((V-new Date(G))/1e3/60),H=15*-Math.round(V.getTimezoneOffset()/15)-X;if(!Number(H))N=this.utcOffset(0,O);else if(N=f(G,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(H,!0),O){var z=N.utcOffset();N=N.add(B-z,"minute")}return N.$x.$timezone=C,N},F.offsetName=function(C){var O=this.$x.$timezone||f.tz.guess(),N=_(this.valueOf(),O,{timeZoneName:C}).find(function(B){return B.type.toLowerCase()==="timezonename"});return N&&N.value};var T=F.startOf;F.startOf=function(C,O){if(!this.$x||!this.$x.$timezone)return T.call(this,C,O);var N=f(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return T.call(N,C,O).tz(this.$x.$timezone,!0)},f.tz=function(C,O,N){var B=N&&O,V=N||O||v,G=w(+f(),V);if(typeof C!="string")return f(C).tz(V);var X=function(ee,K,P){var I=ee-60*K*1e3,W=w(I,P);if(K===W)return[I,K];var oe=w(I-=60*(W-K)*1e3,P);return W===oe?[I,W]:[ee-60*Math.min(W,oe)*1e3,Math.max(W,oe)]}(f.utc(C,B).valueOf(),G,V),H=X[0],z=X[1],Y=f(H).utcOffset(z);return Y.$x.$timezone=V,Y},f.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},f.tz.setDefault=function(C){v=C}}})})(zx);var PL=zx.exports;const NL=Ns(PL);var Vx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){return function(i,o){var n=o.prototype,e=n.format;n.format=function(f){var v=this,_=this.$locale();if(!this.isValid())return e.bind(this)(f);var w=this.$utils(),F=(f||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(T){switch(T){case"Q":return Math.ceil((v.$M+1)/3);case"Do":return _.ordinal(v.$D);case"gggg":return v.weekYear();case"GGGG":return v.isoWeekYear();case"wo":return _.ordinal(v.week(),"W");case"w":case"ww":return w.s(v.week(),T==="w"?1:2,"0");case"W":case"WW":return w.s(v.isoWeek(),T==="W"?1:2,"0");case"k":case"kk":return w.s(String(v.$H===0?24:v.$H),T==="k"?1:2,"0");case"X":return Math.floor(v.$d.getTime()/1e3);case"x":return v.$d.getTime();case"z":return"["+v.offsetName()+"]";case"zzz":return"["+v.offsetName("long")+"]";default:return T}});return e.bind(this)(F)}}})})(Vx);var LL=Vx.exports;const ML=Ns(LL);var Gx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){return function(i,o){o.prototype.isSameOrBefore=function(n,e){return this.isSame(n,e)||this.isBefore(n,e)}}})})(Gx);var BL=Gx.exports;const UL=Ns(BL);var jx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){return function(i,o){o.prototype.isSameOrAfter=function(n,e){return this.isSame(n,e)||this.isAfter(n,e)}}})})(jx);var HL=jx.exports;const $L=Ns(HL);var Yx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){return function(i,o,n){var e=function(f,v){if(!v||!v.length||v.length===1&&!v[0]||v.length===1&&Array.isArray(v[0])&&!v[0].length)return null;var _;v.length===1&&v[0].length>0&&(v=v[0]),_=(v=v.filter(function(F){return F}))[0];for(var w=1;w<v.length;w+=1)v[w].isValid()&&!v[w][f](_)||(_=v[w]);return _};n.max=function(){var f=[].slice.call(arguments,0);return e("isAfter",f)},n.min=function(){var f=[].slice.call(arguments,0);return e("isBefore",f)}}})})(Yx);var WL=Yx.exports;const zL=Ns(WL);var Kx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){return function(i,o,n){i=i||{};var e=o.prototype,f={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function v(w,F,T,C){return e.fromToBase(w,F,T,C)}n.en.relativeTime=f,e.fromToBase=function(w,F,T,C,O){for(var N,B,V,G=T.$locale().relativeTime||f,X=i.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],H=X.length,z=0;z<H;z+=1){var Y=X[z];Y.d&&(N=C?n(w).diff(T,Y.d,!0):T.diff(w,Y.d,!0));var ee=(i.rounding||Math.round)(Math.abs(N));if(V=N>0,ee<=Y.r||!Y.r){ee<=1&&z>0&&(Y=X[z-1]);var K=G[Y.l];O&&(ee=O(""+ee)),B=typeof K=="string"?K.replace("%d",ee):K(ee,F,Y.l,V);break}}if(F)return B;var P=V?G.future:G.past;return typeof P=="function"?P(B):P.replace("%s",B)},e.to=function(w,F){return v(w,F,this,!0)},e.from=function(w,F){return v(w,F,this)};var _=function(w){return w.$u?n.utc():n()};e.toNow=function(w){return this.to(_(this),w)},e.fromNow=function(w){return this.from(_(this),w)}}})})(Kx);var VL=Kx.exports;const GL=Ns(VL);var Iv={exports:{}};/**
|
|
47
|
+
*/const K0=typeof document<"u";function rT(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function N7(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&rT(t.default)}const En=Object.assign;function Fy(t,r){const i={};for(const o in r){const n=r[o];i[o]=fa(n)?n.map(t):t(n)}return i}const Y1=()=>{},fa=Array.isArray,nT=/#/g,L7=/&/g,M7=/\//g,B7=/=/g,U7=/\?/g,iT=/\+/g,H7=/%5B/g,$7=/%5D/g,sT=/%5E/g,W7=/%60/g,oT=/%7B/g,z7=/%7C/g,aT=/%7D/g,V7=/%20/g;function P3(t){return encodeURI(""+t).replace(z7,"|").replace(H7,"[").replace($7,"]")}function G7(t){return P3(t).replace(oT,"{").replace(aT,"}").replace(sT,"^")}function C4(t){return P3(t).replace(iT,"%2B").replace(V7,"+").replace(nT,"%23").replace(L7,"%26").replace(W7,"`").replace(oT,"{").replace(aT,"}").replace(sT,"^")}function j7(t){return C4(t).replace(B7,"%3D")}function Y7(t){return P3(t).replace(nT,"%23").replace(U7,"%3F")}function K7(t){return t==null?"":Y7(t).replace(M7,"%2F")}function gp(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const q7=/\/$/,Q7=t=>t.replace(q7,"");function Ty(t,r,i="/"){let o,n={},e="",f="";const v=r.indexOf("#");let _=r.indexOf("?");return v<_&&v>=0&&(_=-1),_>-1&&(o=r.slice(0,_),e=r.slice(_+1,v>-1?v:r.length),n=t(e)),v>-1&&(o=o||r.slice(0,v),f=r.slice(v,r.length)),o=eR(o??r,i),{fullPath:o+(e&&"?")+e+f,path:o,query:n,hash:gp(f)}}function X7(t,r){const i=r.query?t(r.query):"";return r.path+(i&&"?")+i+(r.hash||"")}function Lw(t,r){return!r||!t.toLowerCase().startsWith(r.toLowerCase())?t:t.slice(r.length)||"/"}function J7(t,r,i){const o=r.matched.length-1,n=i.matched.length-1;return o>-1&&o===n&&wh(r.matched[o],i.matched[n])&&lT(r.params,i.params)&&t(r.query)===t(i.query)&&r.hash===i.hash}function wh(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function lT(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const i in t)if(!Z7(t[i],r[i]))return!1;return!0}function Z7(t,r){return fa(t)?Mw(t,r):fa(r)?Mw(r,t):t===r}function Mw(t,r){return fa(r)?t.length===r.length&&t.every((i,o)=>i===r[o]):t.length===1&&t[0]===r}function eR(t,r){if(t.startsWith("/"))return t;if(!t)return r;const i=r.split("/"),o=t.split("/"),n=o[o.length-1];(n===".."||n===".")&&o.push("");let e=i.length-1,f,v;for(f=0;f<o.length;f++)if(v=o[f],v!==".")if(v==="..")e>1&&e--;else break;return i.slice(0,e).join("/")+"/"+o.slice(f).join("/")}const Dc={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Eh;(function(t){t.pop="pop",t.push="push"})(Eh||(Eh={}));var _f;(function(t){t.back="back",t.forward="forward",t.unknown=""})(_f||(_f={}));const xy="";function cT(t){if(!t)if(K0){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Q7(t)}const tR=/^[^#]+#/;function uT(t,r){return t.replace(tR,"#")+r}function rR(t,r){const i=document.documentElement.getBoundingClientRect(),o=t.getBoundingClientRect();return{behavior:r.behavior,left:o.left-i.left-(r.left||0),top:o.top-i.top-(r.top||0)}}const ab=()=>({left:window.scrollX,top:window.scrollY});function nR(t){let r;if("el"in t){const i=t.el,o=typeof i=="string"&&i.startsWith("#"),n=typeof i=="string"?o?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!n)return;r=rR(n,t)}else r=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.scrollX,r.top!=null?r.top:window.scrollY)}function Bw(t,r){return(history.state?history.state.position-r:-1)+t}const S4=new Map;function iR(t,r){S4.set(t,r)}function sR(t){const r=S4.get(t);return S4.delete(t),r}let oR=()=>location.protocol+"//"+location.host;function fT(t,r){const{pathname:i,search:o,hash:n}=r,e=t.indexOf("#");if(e>-1){let v=n.includes(t.slice(e))?t.slice(e).length:1,_=n.slice(v);return _[0]!=="/"&&(_="/"+_),Lw(_,"")}return Lw(i,t)+o+n}function aR(t,r,i,o){let n=[],e=[],f=null;const v=({state:C})=>{const O=fT(t,location),N=i.value,B=r.value;let V=0;if(C){if(i.value=O,r.value=C,f&&f===N){f=null;return}V=B?C.position-B.position:0}else o(O);n.forEach(G=>{G(i.value,N,{delta:V,type:Eh.pop,direction:V?V>0?_f.forward:_f.back:_f.unknown})})};function _(){f=i.value}function w(C){n.push(C);const O=()=>{const N=n.indexOf(C);N>-1&&n.splice(N,1)};return e.push(O),O}function F(){const{history:C}=window;C.state&&C.replaceState(En({},C.state,{scroll:ab()}),"")}function T(){for(const C of e)C();e=[],window.removeEventListener("popstate",v),window.removeEventListener("beforeunload",F)}return window.addEventListener("popstate",v),window.addEventListener("beforeunload",F,{passive:!0}),{pauseListeners:_,listen:w,destroy:T}}function Uw(t,r,i,o=!1,n=!1){return{back:t,current:r,forward:i,replaced:o,position:window.history.length,scroll:n?ab():null}}function lR(t){const{history:r,location:i}=window,o={value:fT(t,i)},n={value:r.state};n.value||e(o.value,{back:null,current:o.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function e(_,w,F){const T=t.indexOf("#"),C=T>-1?(i.host&&document.querySelector("base")?t:t.slice(T))+_:oR()+t+_;try{r[F?"replaceState":"pushState"](w,"",C),n.value=w}catch(O){console.error(O),i[F?"replace":"assign"](C)}}function f(_,w){const F=En({},r.state,Uw(n.value.back,_,n.value.forward,!0),w,{position:n.value.position});e(_,F,!0),o.value=_}function v(_,w){const F=En({},n.value,r.state,{forward:_,scroll:ab()});e(F.current,F,!0);const T=En({},Uw(o.value,_,null),{position:F.position+1},w);e(_,T,!1),o.value=_}return{location:o,state:n,push:v,replace:f}}function cR(t){t=cT(t);const r=lR(t),i=aR(t,r.state,r.location,r.replace);function o(e,f=!0){f||i.pauseListeners(),history.go(e)}const n=En({location:"",base:t,go:o,createHref:uT.bind(null,t)},r,i);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>r.state.value}),n}function uR(t=""){let r=[],i=[xy],o=0;t=cT(t);function n(v){o++,o!==i.length&&i.splice(o),i.push(v)}function e(v,_,{direction:w,delta:F}){const T={direction:w,delta:F,type:Eh.pop};for(const C of r)C(v,_,T)}const f={location:xy,state:{},base:t,createHref:uT.bind(null,t),replace(v){i.splice(o--,1),n(v)},push(v,_){n(v)},listen(v){return r.push(v),()=>{const _=r.indexOf(v);_>-1&&r.splice(_,1)}},destroy(){r=[],i=[xy],o=0},go(v,_=!0){const w=this.location,F=v<0?_f.back:_f.forward;o=Math.max(0,Math.min(o+v,i.length-1)),_&&e(this.location,w,{direction:F,delta:v})}};return Object.defineProperty(f,"location",{enumerable:!0,get:()=>i[o]}),f}function fR(t){return typeof t=="string"||t&&typeof t=="object"}function hT(t){return typeof t=="string"||typeof t=="symbol"}const dT=Symbol("");var Hw;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Hw||(Hw={}));function Fh(t,r){return En(new Error,{type:t,[dT]:!0},r)}function Sl(t,r){return t instanceof Error&&dT in t&&(r==null||!!(t.type&r))}const $w="[^/]+?",hR={sensitive:!1,strict:!1,start:!0,end:!0},dR=/[.+*?^${}()[\]/\\]/g;function pR(t,r){const i=En({},hR,r),o=[];let n=i.start?"^":"";const e=[];for(const w of t){const F=w.length?[]:[90];i.strict&&!w.length&&(n+="/");for(let T=0;T<w.length;T++){const C=w[T];let O=40+(i.sensitive?.25:0);if(C.type===0)T||(n+="/"),n+=C.value.replace(dR,"\\$&"),O+=40;else if(C.type===1){const{value:N,repeatable:B,optional:V,regexp:G}=C;e.push({name:N,repeatable:B,optional:V});const X=G||$w;if(X!==$w){O+=10;try{new RegExp(`(${X})`)}catch(z){throw new Error(`Invalid custom RegExp for param "${N}" (${X}): `+z.message)}}let H=B?`((?:${X})(?:/(?:${X}))*)`:`(${X})`;T||(H=V&&w.length<2?`(?:/${H})`:"/"+H),V&&(H+="?"),n+=H,O+=20,V&&(O+=-8),B&&(O+=-20),X===".*"&&(O+=-50)}F.push(O)}o.push(F)}if(i.strict&&i.end){const w=o.length-1;o[w][o[w].length-1]+=.7000000000000001}i.strict||(n+="/?"),i.end?n+="$":i.strict&&(n+="(?:/|$)");const f=new RegExp(n,i.sensitive?"":"i");function v(w){const F=w.match(f),T={};if(!F)return null;for(let C=1;C<F.length;C++){const O=F[C]||"",N=e[C-1];T[N.name]=O&&N.repeatable?O.split("/"):O}return T}function _(w){let F="",T=!1;for(const C of t){(!T||!F.endsWith("/"))&&(F+="/"),T=!1;for(const O of C)if(O.type===0)F+=O.value;else if(O.type===1){const{value:N,repeatable:B,optional:V}=O,G=N in w?w[N]:"";if(fa(G)&&!B)throw new Error(`Provided param "${N}" is an array but it is not repeatable (* or + modifiers)`);const X=fa(G)?G.join("/"):G;if(!X)if(V)C.length<2&&(F.endsWith("/")?F=F.slice(0,-1):T=!0);else throw new Error(`Missing required param "${N}"`);F+=X}}return F||"/"}return{re:f,score:o,keys:e,parse:v,stringify:_}}function mR(t,r){let i=0;for(;i<t.length&&i<r.length;){const o=r[i]-t[i];if(o)return o;i++}return t.length<r.length?t.length===1&&t[0]===40+40?-1:1:t.length>r.length?r.length===1&&r[0]===40+40?1:-1:0}function pT(t,r){let i=0;const o=t.score,n=r.score;for(;i<o.length&&i<n.length;){const e=mR(o[i],n[i]);if(e)return e;i++}if(Math.abs(n.length-o.length)===1){if(Ww(o))return 1;if(Ww(n))return-1}return n.length-o.length}function Ww(t){const r=t[t.length-1];return t.length>0&&r[r.length-1]<0}const gR={type:0,value:""},vR=/[a-zA-Z0-9_]/;function bR(t){if(!t)return[[]];if(t==="/")return[[gR]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function r(O){throw new Error(`ERR (${i})/"${w}": ${O}`)}let i=0,o=i;const n=[];let e;function f(){e&&n.push(e),e=[]}let v=0,_,w="",F="";function T(){w&&(i===0?e.push({type:0,value:w}):i===1||i===2||i===3?(e.length>1&&(_==="*"||_==="+")&&r(`A repeatable param (${w}) must be alone in its segment. eg: '/:ids+.`),e.push({type:1,value:w,regexp:F,repeatable:_==="*"||_==="+",optional:_==="*"||_==="?"})):r("Invalid state to consume buffer"),w="")}function C(){w+=_}for(;v<t.length;){if(_=t[v++],_==="\\"&&i!==2){o=i,i=4;continue}switch(i){case 0:_==="/"?(w&&T(),f()):_===":"?(T(),i=1):C();break;case 4:C(),i=o;break;case 1:_==="("?i=2:vR.test(_)?C():(T(),i=0,_!=="*"&&_!=="?"&&_!=="+"&&v--);break;case 2:_===")"?F[F.length-1]=="\\"?F=F.slice(0,-1)+_:i=3:F+=_;break;case 3:T(),i=0,_!=="*"&&_!=="?"&&_!=="+"&&v--,F="";break;default:r("Unknown state");break}}return i===2&&r(`Unfinished custom RegExp for param "${w}"`),T(),f(),n}function _R(t,r,i){const o=pR(bR(t.path),i),n=En(o,{record:t,parent:r,children:[],alias:[]});return r&&!n.record.aliasOf==!r.record.aliasOf&&r.children.push(n),n}function yR(t,r){const i=[],o=new Map;r=jw({strict:!1,end:!0,sensitive:!1},r);function n(T){return o.get(T)}function e(T,C,O){const N=!O,B=Vw(T);B.aliasOf=O&&O.record;const V=jw(r,T),G=[B];if("alias"in T){const z=typeof T.alias=="string"?[T.alias]:T.alias;for(const Y of z)G.push(Vw(En({},B,{components:O?O.record.components:B.components,path:Y,aliasOf:O?O.record:B})))}let X,H;for(const z of G){const{path:Y}=z;if(C&&Y[0]!=="/"){const ee=C.record.path,K=ee[ee.length-1]==="/"?"":"/";z.path=C.record.path+(Y&&K+Y)}if(X=_R(z,C,V),O?O.alias.push(X):(H=H||X,H!==X&&H.alias.push(X),N&&T.name&&!Gw(X)&&f(T.name)),mT(X)&&_(X),B.children){const ee=B.children;for(let K=0;K<ee.length;K++)e(ee[K],X,O&&O.children[K])}O=O||X}return H?()=>{f(H)}:Y1}function f(T){if(hT(T)){const C=o.get(T);C&&(o.delete(T),i.splice(i.indexOf(C),1),C.children.forEach(f),C.alias.forEach(f))}else{const C=i.indexOf(T);C>-1&&(i.splice(C,1),T.record.name&&o.delete(T.record.name),T.children.forEach(f),T.alias.forEach(f))}}function v(){return i}function _(T){const C=ER(T,i);i.splice(C,0,T),T.record.name&&!Gw(T)&&o.set(T.record.name,T)}function w(T,C){let O,N={},B,V;if("name"in T&&T.name){if(O=o.get(T.name),!O)throw Fh(1,{location:T});V=O.record.name,N=En(zw(C.params,O.keys.filter(H=>!H.optional).concat(O.parent?O.parent.keys.filter(H=>H.optional):[]).map(H=>H.name)),T.params&&zw(T.params,O.keys.map(H=>H.name))),B=O.stringify(N)}else if(T.path!=null)B=T.path,O=i.find(H=>H.re.test(B)),O&&(N=O.parse(B),V=O.record.name);else{if(O=C.name?o.get(C.name):i.find(H=>H.re.test(C.path)),!O)throw Fh(1,{location:T,currentLocation:C});V=O.record.name,N=En({},C.params,T.params),B=O.stringify(N)}const G=[];let X=O;for(;X;)G.unshift(X.record),X=X.parent;return{name:V,path:B,params:N,matched:G,meta:wR(G)}}t.forEach(T=>e(T));function F(){i.length=0,o.clear()}return{addRoute:e,resolve:w,removeRoute:f,clearRoutes:F,getRoutes:v,getRecordMatcher:n}}function zw(t,r){const i={};for(const o of r)o in t&&(i[o]=t[o]);return i}function Vw(t){const r={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:DR(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(r,"mods",{value:{}}),r}function DR(t){const r={},i=t.props||!1;if("component"in t)r.default=i;else for(const o in t.components)r[o]=typeof i=="object"?i[o]:i;return r}function Gw(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function wR(t){return t.reduce((r,i)=>En(r,i.meta),{})}function jw(t,r){const i={};for(const o in t)i[o]=o in r?r[o]:t[o];return i}function ER(t,r){let i=0,o=r.length;for(;i!==o;){const e=i+o>>1;pT(t,r[e])<0?o=e:i=e+1}const n=FR(t);return n&&(o=r.lastIndexOf(n,o-1)),o}function FR(t){let r=t;for(;r=r.parent;)if(mT(r)&&pT(t,r)===0)return r}function mT({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function TR(t){const r={};if(t===""||t==="?")return r;const o=(t[0]==="?"?t.slice(1):t).split("&");for(let n=0;n<o.length;++n){const e=o[n].replace(iT," "),f=e.indexOf("="),v=gp(f<0?e:e.slice(0,f)),_=f<0?null:gp(e.slice(f+1));if(v in r){let w=r[v];fa(w)||(w=r[v]=[w]),w.push(_)}else r[v]=_}return r}function Yw(t){let r="";for(let i in t){const o=t[i];if(i=j7(i),o==null){o!==void 0&&(r+=(r.length?"&":"")+i);continue}(fa(o)?o.map(e=>e&&C4(e)):[o&&C4(o)]).forEach(e=>{e!==void 0&&(r+=(r.length?"&":"")+i,e!=null&&(r+="="+e))})}return r}function xR(t){const r={};for(const i in t){const o=t[i];o!==void 0&&(r[i]=fa(o)?o.map(n=>n==null?null:""+n):o==null?o:""+o)}return r}const AR=Symbol(""),Kw=Symbol(""),lb=Symbol(""),N3=Symbol(""),k4=Symbol("");function P1(){let t=[];function r(o){return t.push(o),()=>{const n=t.indexOf(o);n>-1&&t.splice(n,1)}}function i(){t=[]}return{add:r,list:()=>t.slice(),reset:i}}function Oc(t,r,i,o,n,e=f=>f()){const f=o&&(o.enterCallbacks[n]=o.enterCallbacks[n]||[]);return()=>new Promise((v,_)=>{const w=C=>{C===!1?_(Fh(4,{from:i,to:r})):C instanceof Error?_(C):fR(C)?_(Fh(2,{from:r,to:C})):(f&&o.enterCallbacks[n]===f&&typeof C=="function"&&f.push(C),v())},F=e(()=>t.call(o&&o.instances[n],r,i,w));let T=Promise.resolve(F);t.length<3&&(T=T.then(w)),T.catch(C=>_(C))})}function Ay(t,r,i,o,n=e=>e()){const e=[];for(const f of t)for(const v in f.components){let _=f.components[v];if(!(r!=="beforeRouteEnter"&&!f.instances[v]))if(rT(_)){const F=(_.__vccOpts||_)[r];F&&e.push(Oc(F,i,o,f,v,n))}else{let w=_();e.push(()=>w.then(F=>{if(!F)throw new Error(`Couldn't resolve component "${v}" at "${f.path}"`);const T=N7(F)?F.default:F;f.mods[v]=F,f.components[v]=T;const O=(T.__vccOpts||T)[r];return O&&Oc(O,i,o,f,v,n)()}))}}return e}function qw(t){const r=Ps(lb),i=Ps(N3),o=Sr(()=>{const _=Zt(t.to);return r.resolve(_)}),n=Sr(()=>{const{matched:_}=o.value,{length:w}=_,F=_[w-1],T=i.matched;if(!F||!T.length)return-1;const C=T.findIndex(wh.bind(null,F));if(C>-1)return C;const O=Qw(_[w-2]);return w>1&&Qw(F)===O&&T[T.length-1].path!==O?T.findIndex(wh.bind(null,_[w-2])):C}),e=Sr(()=>n.value>-1&&OR(i.params,o.value.params)),f=Sr(()=>n.value>-1&&n.value===i.matched.length-1&&lT(i.params,o.value.params));function v(_={}){return kR(_)?r[Zt(t.replace)?"replace":"push"](Zt(t.to)).catch(Y1):Promise.resolve()}return{route:o,href:Sr(()=>o.value.href),isActive:e,isExactActive:f,navigate:v}}const CR=ui({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:qw,setup(t,{slots:r}){const i=Kc(qw(t)),{options:o}=Ps(lb),n=Sr(()=>({[Xw(t.activeClass,o.linkActiveClass,"router-link-active")]:i.isActive,[Xw(t.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const e=r.default&&r.default(i);return t.custom?e:kf("a",{"aria-current":i.isExactActive?t.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:n.value},e)}}}),SR=CR;function kR(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const r=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return t.preventDefault&&t.preventDefault(),!0}}function OR(t,r){for(const i in r){const o=r[i],n=t[i];if(typeof o=="string"){if(o!==n)return!1}else if(!fa(n)||n.length!==o.length||o.some((e,f)=>e!==n[f]))return!1}return!0}function Qw(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Xw=(t,r,i)=>t??r??i,RR=ui({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:r,slots:i}){const o=Ps(k4),n=Sr(()=>t.route||o.value),e=Ps(Kw,0),f=Sr(()=>{let w=Zt(e);const{matched:F}=n.value;let T;for(;(T=F[w])&&!T.components;)w++;return w}),v=Sr(()=>n.value.matched[f.value]);z1(Kw,Sr(()=>f.value+1)),z1(AR,v),z1(k4,n);const _=er();return In(()=>[_.value,v.value,t.name],([w,F,T],[C,O,N])=>{F&&(F.instances[T]=w,O&&O!==F&&w&&w===C&&(F.leaveGuards.size||(F.leaveGuards=O.leaveGuards),F.updateGuards.size||(F.updateGuards=O.updateGuards))),w&&F&&(!O||!wh(F,O)||!C)&&(F.enterCallbacks[T]||[]).forEach(B=>B(w))},{flush:"post"}),()=>{const w=n.value,F=t.name,T=v.value,C=T&&T.components[F];if(!C)return Jw(i.default,{Component:C,route:w});const O=T.props[F],N=O?O===!0?w.params:typeof O=="function"?O(w):O:null,V=kf(C,En({},N,r,{onVnodeUnmounted:G=>{G.component.isUnmounted&&(T.instances[F]=null)},ref:_}));return Jw(i.default,{Component:V,route:w})||V}}});function Jw(t,r){if(!t)return null;const i=t(r);return i.length===1?i[0]:i}const IR=RR;function PR(t){const r=yR(t.routes,t),i=t.parseQuery||TR,o=t.stringifyQuery||Yw,n=t.history,e=P1(),f=P1(),v=P1(),_=Wc(Dc);let w=Dc;K0&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const F=Fy.bind(null,ie=>""+ie),T=Fy.bind(null,K7),C=Fy.bind(null,gp);function O(ie,Pe){let de,Ye;return hT(ie)?(de=r.getRecordMatcher(ie),Ye=Pe):Ye=ie,r.addRoute(Ye,de)}function N(ie){const Pe=r.getRecordMatcher(ie);Pe&&r.removeRoute(Pe)}function B(){return r.getRoutes().map(ie=>ie.record)}function V(ie){return!!r.getRecordMatcher(ie)}function G(ie,Pe){if(Pe=En({},Pe||_.value),typeof ie=="string"){const se=Ty(i,ie,Pe.path),Te=r.resolve({path:se.path},Pe),Me=n.createHref(se.fullPath);return En(se,Te,{params:C(Te.params),hash:gp(se.hash),redirectedFrom:void 0,href:Me})}let de;if(ie.path!=null)de=En({},ie,{path:Ty(i,ie.path,Pe.path).path});else{const se=En({},ie.params);for(const Te in se)se[Te]==null&&delete se[Te];de=En({},ie,{params:T(se)}),Pe.params=T(Pe.params)}const Ye=r.resolve(de,Pe),gt=ie.hash||"";Ye.params=F(C(Ye.params));const nt=X7(o,En({},ie,{hash:G7(gt),path:Ye.path})),J=n.createHref(nt);return En({fullPath:nt,hash:gt,query:o===Yw?xR(ie.query):ie.query||{}},Ye,{redirectedFrom:void 0,href:J})}function X(ie){return typeof ie=="string"?Ty(i,ie,_.value.path):En({},ie)}function H(ie,Pe){if(w!==ie)return Fh(8,{from:Pe,to:ie})}function z(ie){return K(ie)}function Y(ie){return z(En(X(ie),{replace:!0}))}function ee(ie){const Pe=ie.matched[ie.matched.length-1];if(Pe&&Pe.redirect){const{redirect:de}=Pe;let Ye=typeof de=="function"?de(ie):de;return typeof Ye=="string"&&(Ye=Ye.includes("?")||Ye.includes("#")?Ye=X(Ye):{path:Ye},Ye.params={}),En({query:ie.query,hash:ie.hash,params:Ye.path!=null?{}:ie.params},Ye)}}function K(ie,Pe){const de=w=G(ie),Ye=_.value,gt=ie.state,nt=ie.force,J=ie.replace===!0,se=ee(de);if(se)return K(En(X(se),{state:typeof se=="object"?En({},gt,se.state):gt,force:nt,replace:J}),Pe||de);const Te=de;Te.redirectedFrom=Pe;let Me;return!nt&&J7(o,Ye,de)&&(Me=Fh(16,{to:Te,from:Ye}),ce(Ye,Ye,!0,!1)),(Me?Promise.resolve(Me):W(Te,Ye)).catch(Ne=>Sl(Ne)?Sl(Ne,2)?Ne:Re(Ne):Fe(Ne,Te,Ye)).then(Ne=>{if(Ne){if(Sl(Ne,2))return K(En({replace:J},X(Ne.to),{state:typeof Ne.to=="object"?En({},gt,Ne.to.state):gt,force:nt}),Pe||Te)}else Ne=ae(Te,Ye,!0,J,gt);return oe(Te,Ye,Ne),Ne})}function P(ie,Pe){const de=H(ie,Pe);return de?Promise.reject(de):Promise.resolve()}function I(ie){const Pe=ke.values().next().value;return Pe&&typeof Pe.runWithContext=="function"?Pe.runWithContext(ie):ie()}function W(ie,Pe){let de;const[Ye,gt,nt]=NR(ie,Pe);de=Ay(Ye.reverse(),"beforeRouteLeave",ie,Pe);for(const se of Ye)se.leaveGuards.forEach(Te=>{de.push(Oc(Te,ie,Pe))});const J=P.bind(null,ie,Pe);return de.push(J),Ie(de).then(()=>{de=[];for(const se of e.list())de.push(Oc(se,ie,Pe));return de.push(J),Ie(de)}).then(()=>{de=Ay(gt,"beforeRouteUpdate",ie,Pe);for(const se of gt)se.updateGuards.forEach(Te=>{de.push(Oc(Te,ie,Pe))});return de.push(J),Ie(de)}).then(()=>{de=[];for(const se of nt)if(se.beforeEnter)if(fa(se.beforeEnter))for(const Te of se.beforeEnter)de.push(Oc(Te,ie,Pe));else de.push(Oc(se.beforeEnter,ie,Pe));return de.push(J),Ie(de)}).then(()=>(ie.matched.forEach(se=>se.enterCallbacks={}),de=Ay(nt,"beforeRouteEnter",ie,Pe,I),de.push(J),Ie(de))).then(()=>{de=[];for(const se of f.list())de.push(Oc(se,ie,Pe));return de.push(J),Ie(de)}).catch(se=>Sl(se,8)?se:Promise.reject(se))}function oe(ie,Pe,de){v.list().forEach(Ye=>I(()=>Ye(ie,Pe,de)))}function ae(ie,Pe,de,Ye,gt){const nt=H(ie,Pe);if(nt)return nt;const J=Pe===Dc,se=K0?history.state:{};de&&(Ye||J?n.replace(ie.fullPath,En({scroll:J&&se&&se.scroll},gt)):n.push(ie.fullPath,gt)),_.value=ie,ce(ie,Pe,de,J),Re()}let be;function Ee(){be||(be=n.listen((ie,Pe,de)=>{if(!ge.listening)return;const Ye=G(ie),gt=ee(Ye);if(gt){K(En(gt,{replace:!0}),Ye).catch(Y1);return}w=Ye;const nt=_.value;K0&&iR(Bw(nt.fullPath,de.delta),ab()),W(Ye,nt).catch(J=>Sl(J,12)?J:Sl(J,2)?(K(J.to,Ye).then(se=>{Sl(se,20)&&!de.delta&&de.type===Eh.pop&&n.go(-1,!1)}).catch(Y1),Promise.reject()):(de.delta&&n.go(-de.delta,!1),Fe(J,Ye,nt))).then(J=>{J=J||ae(Ye,nt,!1),J&&(de.delta&&!Sl(J,8)?n.go(-de.delta,!1):de.type===Eh.pop&&Sl(J,20)&&n.go(-1,!1)),oe(Ye,nt,J)}).catch(Y1)}))}let Ue=P1(),ve=P1(),fe;function Fe(ie,Pe,de){Re(ie);const Ye=ve.list();return Ye.length?Ye.forEach(gt=>gt(ie,Pe,de)):console.error(ie),Promise.reject(ie)}function Oe(){return fe&&_.value!==Dc?Promise.resolve():new Promise((ie,Pe)=>{Ue.add([ie,Pe])})}function Re(ie){return fe||(fe=!ie,Ee(),Ue.list().forEach(([Pe,de])=>ie?de(ie):Pe()),Ue.reset()),ie}function ce(ie,Pe,de,Ye){const{scrollBehavior:gt}=t;if(!K0||!gt)return Promise.resolve();const nt=!de&&sR(Bw(ie.fullPath,0))||(Ye||!de)&&history.state&&history.state.scroll||null;return bo().then(()=>gt(ie,Pe,nt)).then(J=>J&&nR(J)).catch(J=>Fe(J,ie,Pe))}const De=ie=>n.go(ie);let We;const ke=new Set,ge={currentRoute:_,listening:!0,addRoute:O,removeRoute:N,clearRoutes:r.clearRoutes,hasRoute:V,getRoutes:B,resolve:G,options:t,push:z,replace:Y,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:e.add,beforeResolve:f.add,afterEach:v.add,onError:ve.add,isReady:Oe,install(ie){const Pe=this;ie.component("RouterLink",SR),ie.component("RouterView",IR),ie.config.globalProperties.$router=Pe,Object.defineProperty(ie.config.globalProperties,"$route",{enumerable:!0,get:()=>Zt(_)}),K0&&!We&&_.value===Dc&&(We=!0,z(n.location).catch(gt=>{}));const de={};for(const gt in Dc)Object.defineProperty(de,gt,{get:()=>_.value[gt],enumerable:!0});ie.provide(lb,Pe),ie.provide(N3,a3(de)),ie.provide(k4,_);const Ye=ie.unmount;ke.add(ie),ie.unmount=function(){ke.delete(ie),ke.size<1&&(w=Dc,be&&be(),be=null,_.value=Dc,We=!1,fe=!1),Ye()}}};function Ie(ie){return ie.reduce((Pe,de)=>Pe.then(()=>I(de)),Promise.resolve())}return ge}function NR(t,r){const i=[],o=[],n=[],e=Math.max(r.matched.length,t.matched.length);for(let f=0;f<e;f++){const v=r.matched[f];v&&(t.matched.find(w=>wh(w,v))?o.push(v):i.push(v));const _=t.matched[f];_&&(r.matched.find(w=>wh(w,_))||n.push(_))}return[i,o,n]}function LR(){return Ps(lb)}function gT(t){return Ps(N3)}const MR=new Set(["title","titleTemplate","script","style","noscript"]),H2=new Set(["base","meta","link","style","script","noscript"]),BR=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),UR=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),vT=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),HR=typeof window<"u";function mv(t){let r=9;for(let i=0;i<t.length;)r=Math.imul(r^t.charCodeAt(i++),9**9);return((r^r>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function O4(t){if(t._h)return t._h;if(t._d)return mv(t._d);let r=`${t.tag}:${t.textContent||t.innerHTML||""}:`;for(const i in t.props)r+=`${i}:${String(t.props[i])},`;return mv(r)}function $R(t,r){return t instanceof Promise?t.then(r):r(t)}function R4(t,r,i,o){const n=o||_T(typeof r=="object"&&typeof r!="function"&&!(r instanceof Promise)?{...r}:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:r},t==="templateParams"||t==="titleTemplate");if(n instanceof Promise)return n.then(f=>R4(t,r,i,f));const e={tag:t,props:n};for(const f of vT){const v=e.props[f]!==void 0?e.props[f]:i[f];v!==void 0&&((!(f==="innerHTML"||f==="textContent"||f==="children")||MR.has(e.tag))&&(e[f==="children"?"innerHTML":f]=v),delete e.props[f])}return e.props.body&&(e.tagPosition="bodyClose",delete e.props.body),e.tag==="script"&&typeof e.innerHTML=="object"&&(e.innerHTML=JSON.stringify(e.innerHTML),e.props.type=e.props.type||"application/json"),Array.isArray(e.props.content)?e.props.content.map(f=>({...e,props:{...e.props,content:f}})):e}function WR(t,r){var o;const i=t==="class"?" ":";";return r&&typeof r=="object"&&!Array.isArray(r)&&(r=Object.entries(r).filter(([,n])=>n).map(([n,e])=>t==="style"?`${n}:${e}`:n)),(o=String(Array.isArray(r)?r.join(i):r))==null?void 0:o.split(i).filter(n=>!!n.trim()).join(i)}function bT(t,r,i,o){for(let n=o;n<i.length;n+=1){const e=i[n];if(e==="class"||e==="style"){t[e]=WR(e,t[e]);continue}if(t[e]instanceof Promise)return t[e].then(f=>(t[e]=f,bT(t,r,i,n)));if(!r&&!vT.has(e)){const f=String(t[e]),v=e.startsWith("data-");f==="true"||f===""?t[e]=v?"true":!0:t[e]||(v&&f==="false"?t[e]="false":delete t[e])}}}function _T(t,r=!1){const i=bT(t,r,Object.keys(t),0);return i instanceof Promise?i.then(()=>t):t}const zR=10;function yT(t,r,i){for(let o=i;o<r.length;o+=1){const n=r[o];if(n instanceof Promise)return n.then(e=>(r[o]=e,yT(t,r,o)));Array.isArray(n)?t.push(...n):t.push(n)}}function VR(t){const r=[],i=t.resolvedInput;for(const n in i){if(!Object.prototype.hasOwnProperty.call(i,n))continue;const e=i[n];if(!(e===void 0||!BR.has(n))){if(Array.isArray(e)){for(const f of e)r.push(R4(n,f,t));continue}r.push(R4(n,e,t))}}if(r.length===0)return[];const o=[];return $R(yT(o,r,0),()=>o.map((n,e)=>(n._e=t._i,t.mode&&(n._m=t.mode),n._p=(t._i<<zR)+e,n)))}const Zw=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),eE={base:-10,title:10},tE={critical:-80,high:-10,low:20};function gv(t){const r=t.tagPriority;if(typeof r=="number")return r;let i=100;return t.tag==="meta"?t.props["http-equiv"]==="content-security-policy"?i=-30:t.props.charset?i=-20:t.props.name==="viewport"&&(i=-15):t.tag==="link"&&t.props.rel==="preconnect"?i=20:t.tag in eE&&(i=eE[t.tag]),r&&r in tE?i+tE[r]:i}const GR=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],jR=["name","property","http-equiv"];function DT(t){const{props:r,tag:i}=t;if(UR.has(i))return i;if(i==="link"&&r.rel==="canonical")return"canonical";if(r.charset)return"charset";if(r.id)return`${i}:id:${r.id}`;for(const o of jR)if(r[o]!==void 0)return`${i}:${o}:${r[o]}`;return!1}const Rc="%separator";function YR(t,r){var o;let i;if(r==="s"||r==="pageTitle")i=t.pageTitle;else if(r.includes(".")){const n=r.indexOf(".");i=(o=t[r.substring(0,n)])==null?void 0:o[r.substring(n+1)]}else i=t[r];return i!==void 0?(i||"").replace(/"/g,'\\"'):void 0}const KR=new RegExp(`${Rc}(?:\\s*${Rc})*`,"g");function b2(t,r,i){if(typeof t!="string"||!t.includes("%"))return t;let o=t;try{o=decodeURI(t)}catch{}const n=o.match(/%\w+(?:\.\w+)?/g);if(!n)return t;const e=t.includes(Rc);return t=t.replace(/%\w+(?:\.\w+)?/g,f=>{if(f===Rc||!n.includes(f))return f;const v=YR(r,f.slice(1));return v!==void 0?v:f}).trim(),e&&(t.endsWith(Rc)&&(t=t.slice(0,-Rc.length)),t.startsWith(Rc)&&(t=t.slice(Rc.length)),t=t.replace(KR,i).trim()),t}function rE(t,r){return t==null?r||null:typeof t=="function"?t(r):t}async function qR(t,r={}){const i=r.document||t.resolvedOptions.document;if(!i||!t.dirty)return;const o={shouldRender:!0,tags:[]};if(await t.hooks.callHook("dom:beforeRender",o),!!o.shouldRender)return t._domUpdatePromise||(t._domUpdatePromise=new Promise(async n=>{var T;const e=(await t.resolveTags()).map(C=>({tag:C,id:H2.has(C.tag)?O4(C):C.tag,shouldRender:!0}));let f=t._dom;if(!f){f={elMap:{htmlAttrs:i.documentElement,bodyAttrs:i.body}};const C=new Set;for(const O of["body","head"]){const N=(T=i[O])==null?void 0:T.children;for(const B of N){const V=B.tagName.toLowerCase();if(!H2.has(V))continue;const G={tag:V,props:await _T(B.getAttributeNames().reduce((Y,ee)=>({...Y,[ee]:B.getAttribute(ee)}),{})),innerHTML:B.innerHTML},X=DT(G);let H=X,z=1;for(;H&&C.has(H);)H=`${X}:${z++}`;H&&(G._d=H,C.add(H)),f.elMap[B.getAttribute("data-hid")||O4(G)]=B}}}f.pendingSideEffects={...f.sideEffects},f.sideEffects={};function v(C,O,N){const B=`${C}:${O}`;f.sideEffects[B]=N,delete f.pendingSideEffects[B]}function _({id:C,$el:O,tag:N}){const B=N.tag.endsWith("Attrs");if(f.elMap[C]=O,B||(N.textContent&&N.textContent!==O.textContent&&(O.textContent=N.textContent),N.innerHTML&&N.innerHTML!==O.innerHTML&&(O.innerHTML=N.innerHTML),v(C,"el",()=>{var V;(V=f.elMap[C])==null||V.remove(),delete f.elMap[C]})),N._eventHandlers)for(const V in N._eventHandlers)Object.prototype.hasOwnProperty.call(N._eventHandlers,V)&&O.getAttribute(`data-${V}`)!==""&&((N.tag==="bodyAttrs"?i.defaultView:O).addEventListener(V.substring(2),N._eventHandlers[V].bind(O)),O.setAttribute(`data-${V}`,""));for(const V in N.props){if(!Object.prototype.hasOwnProperty.call(N.props,V))continue;const G=N.props[V],X=`attr:${V}`;if(V==="class"){if(!G)continue;for(const H of G.split(" "))B&&v(C,`${X}:${H}`,()=>O.classList.remove(H)),!O.classList.contains(H)&&O.classList.add(H)}else if(V==="style"){if(!G)continue;for(const H of G.split(";")){const z=H.indexOf(":"),Y=H.substring(0,z).trim(),ee=H.substring(z+1).trim();v(C,`${X}:${Y}`,()=>{O.style.removeProperty(Y)}),O.style.setProperty(Y,ee)}}else O.getAttribute(V)!==G&&O.setAttribute(V,G===!0?"":String(G)),B&&v(C,X,()=>O.removeAttribute(V))}}const w=[],F={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const C of e){const{tag:O,shouldRender:N,id:B}=C;if(N){if(O.tag==="title"){i.title=O.textContent;continue}C.$el=C.$el||f.elMap[B],C.$el?_(C):H2.has(O.tag)&&w.push(C)}}for(const C of w){const O=C.tag.tagPosition||"head";C.$el=i.createElement(C.tag.tag),_(C),F[O]=F[O]||i.createDocumentFragment(),F[O].appendChild(C.$el)}for(const C of e)await t.hooks.callHook("dom:renderTag",C,i,v);F.head&&i.head.appendChild(F.head),F.bodyOpen&&i.body.insertBefore(F.bodyOpen,i.body.firstChild),F.bodyClose&&i.body.appendChild(F.bodyClose);for(const C in f.pendingSideEffects)f.pendingSideEffects[C]();t._dom=f,await t.hooks.callHook("dom:rendered",{renders:e}),n()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise}function QR(t,r={}){const i=r.delayFn||(o=>setTimeout(o,10));return t._domDebouncedUpdatePromise=t._domDebouncedUpdatePromise||new Promise(o=>i(()=>qR(t,r).then(()=>{delete t._domDebouncedUpdatePromise,o()})))}function XR(t){return r=>{var o,n;const i=((n=(o=r.resolvedOptions.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:n.innerHTML)||!1;return i&&r.push(JSON.parse(i)),{mode:"client",hooks:{"entries:updated":e=>{QR(e,t)}}}}}function I4(t,r={},i){for(const o in t){const n=t[o],e=i?`${i}:${o}`:o;typeof n=="object"&&n!==null?I4(n,r,e):typeof n=="function"&&(r[e]=n)}return r}const JR={run:t=>t()},ZR=()=>JR,wT=typeof console.createTask<"u"?console.createTask:ZR;function e9(t,r){const i=r.shift(),o=wT(i);return t.reduce((n,e)=>n.then(()=>o.run(()=>e(...r))),Promise.resolve())}function t9(t,r){const i=r.shift(),o=wT(i);return Promise.all(t.map(n=>o.run(()=>n(...r))))}function Cy(t,r){for(const i of[...t])i(r)}class r9{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(r,i,o={}){if(!r||typeof i!="function")return()=>{};const n=r;let e;for(;this._deprecatedHooks[r];)e=this._deprecatedHooks[r],r=e.to;if(e&&!o.allowDeprecated){let f=e.message;f||(f=`${n} hook has been deprecated`+(e.to?`, please use ${e.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(f)||(console.warn(f),this._deprecatedMessages.add(f))}if(!i.name)try{Object.defineProperty(i,"name",{get:()=>"_"+r.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[r]=this._hooks[r]||[],this._hooks[r].push(i),()=>{i&&(this.removeHook(r,i),i=void 0)}}hookOnce(r,i){let o,n=(...e)=>(typeof o=="function"&&o(),o=void 0,n=void 0,i(...e));return o=this.hook(r,n),o}removeHook(r,i){if(this._hooks[r]){const o=this._hooks[r].indexOf(i);o!==-1&&this._hooks[r].splice(o,1),this._hooks[r].length===0&&delete this._hooks[r]}}deprecateHook(r,i){this._deprecatedHooks[r]=typeof i=="string"?{to:i}:i;const o=this._hooks[r]||[];delete this._hooks[r];for(const n of o)this.hook(r,n)}deprecateHooks(r){Object.assign(this._deprecatedHooks,r);for(const i in r)this.deprecateHook(i,r[i])}addHooks(r){const i=I4(r),o=Object.keys(i).map(n=>this.hook(n,i[n]));return()=>{for(const n of o.splice(0,o.length))n()}}removeHooks(r){const i=I4(r);for(const o in i)this.removeHook(o,i[o])}removeAllHooks(){for(const r in this._hooks)delete this._hooks[r]}callHook(r,...i){return i.unshift(r),this.callHookWith(e9,r,...i)}callHookParallel(r,...i){return i.unshift(r),this.callHookWith(t9,r,...i)}callHookWith(r,i,...o){const n=this._before||this._after?{name:i,args:o,context:{}}:void 0;this._before&&Cy(this._before,n);const e=r(i in this._hooks?[...this._hooks[i]]:[],o);return e instanceof Promise?e.finally(()=>{this._after&&n&&Cy(this._after,n)}):(this._after&&n&&Cy(this._after,n),e)}beforeEach(r){return this._before=this._before||[],this._before.push(r),()=>{if(this._before!==void 0){const i=this._before.indexOf(r);i!==-1&&this._before.splice(i,1)}}}afterEach(r){return this._after=this._after||[],this._after.push(r),()=>{if(this._after!==void 0){const i=this._after.indexOf(r);i!==-1&&this._after.splice(i,1)}}}}function n9(){return new r9}const i9=new Set(["templateParams","htmlAttrs","bodyAttrs"]),s9={hooks:{"tag:normalise":({tag:t})=>{t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.key&&(t.key=t.props.key,delete t.props.key);const r=DT(t);r&&!r.startsWith("meta:og:")&&!r.startsWith("meta:twitter:")&&delete t.key;const i=r||(t.key?`${t.tag}:${t.key}`:!1);i&&(t._d=i)},"tags:resolve":t=>{const r=Object.create(null);for(const o of t.tags){const n=(o.key?`${o.tag}:${o.key}`:o._d)||O4(o),e=r[n];if(e){let v=o==null?void 0:o.tagDuplicateStrategy;if(!v&&i9.has(o.tag)&&(v="merge"),v==="merge"){const _=e.props;_.style&&o.props.style&&(_.style[_.style.length-1]!==";"&&(_.style+=";"),o.props.style=`${_.style} ${o.props.style}`),_.class&&o.props.class?o.props.class=`${_.class} ${o.props.class}`:_.class&&(o.props.class=_.class),r[n].props={..._,...o.props};continue}else if(o._e===e._e){e._duped=e._duped||[],o._d=`${e._d}:${e._duped.length+1}`,e._duped.push(o);continue}else if(gv(o)>gv(e))continue}if(!(o.innerHTML||o.textContent||Object.keys(o.props).length!==0)&&H2.has(o.tag)){delete r[n];continue}r[n]=o}const i=[];for(const o in r){const n=r[o],e=n._duped;i.push(n),e&&(delete n._duped,i.push(...e))}t.tags=i,t.tags=t.tags.filter(o=>!(o.tag==="meta"&&(o.props.name||o.props.property)&&!o.props.content))}}},o9=new Set(["script","link","bodyAttrs"]),a9=t=>({hooks:{"tags:resolve":r=>{for(const i of r.tags){if(!o9.has(i.tag))continue;const o=i.props;for(const n in o){if(n[0]!=="o"||n[1]!=="n"||!Object.prototype.hasOwnProperty.call(o,n))continue;const e=o[n];typeof e=="function"&&(t.ssr&&Zw.has(n)?o[n]=`this.dataset.${n}fired = true`:delete o[n],i._eventHandlers=i._eventHandlers||{},i._eventHandlers[n]=e)}t.ssr&&i._eventHandlers&&(i.props.src||i.props.href)&&(i.key=i.key||mv(i.props.src||i.props.href))}},"dom:renderTag":({$el:r,tag:i})=>{var n,e;const o=r==null?void 0:r.dataset;if(o)for(const f in o){if(!f.endsWith("fired"))continue;const v=f.slice(0,-5);Zw.has(v)&&((e=(n=i._eventHandlers)==null?void 0:n[v])==null||e.call(r,new Event(v.substring(2))))}}}}),l9=new Set(["link","style","script","noscript"]),c9={hooks:{"tag:normalise":({tag:t})=>{t.key&&l9.has(t.tag)&&(t.props["data-hid"]=t._h=mv(t.key))}}},u9={mode:"server",hooks:{"tags:beforeResolve":t=>{const r={};let i=!1;for(const o of t.tags)o._m!=="server"||o.tag!=="titleTemplate"&&o.tag!=="templateParams"&&o.tag!=="title"||(r[o.tag]=o.tag==="title"||o.tag==="titleTemplate"?o.textContent:o.props,i=!0);i&&t.tags.push({tag:"script",innerHTML:JSON.stringify(r),props:{id:"unhead:payload",type:"application/json"}})}}},f9={hooks:{"tags:resolve":t=>{var r;for(const i of t.tags)if(typeof i.tagPriority=="string")for(const{prefix:o,offset:n}of GR){if(!i.tagPriority.startsWith(o))continue;const e=i.tagPriority.substring(o.length),f=(r=t.tags.find(v=>v._d===e))==null?void 0:r._p;if(f!==void 0){i._p=f+n;break}}t.tags.sort((i,o)=>{const n=gv(i),e=gv(o);return n<e?-1:n>e?1:i._p-o._p})}}},h9={meta:"content",link:"href",htmlAttrs:"lang"},d9=["innerHTML","textContent"],p9=t=>({hooks:{"tags:resolve":r=>{var f;const{tags:i}=r;let o;for(let v=0;v<i.length;v+=1)i[v].tag==="templateParams"&&(o=r.tags.splice(v,1)[0].props,v-=1);const n=o||{},e=n.separator||"|";delete n.separator,n.pageTitle=b2(n.pageTitle||((f=i.find(v=>v.tag==="title"))==null?void 0:f.textContent)||"",n,e);for(const v of i){if(v.processTemplateParams===!1)continue;const _=h9[v.tag];if(_&&typeof v.props[_]=="string")v.props[_]=b2(v.props[_],n,e);else if(v.processTemplateParams||v.tag==="titleTemplate"||v.tag==="title")for(const w of d9)typeof v[w]=="string"&&(v[w]=b2(v[w],n,e))}t._templateParams=n,t._separator=e},"tags:afterResolve":({tags:r})=>{let i;for(let o=0;o<r.length;o+=1){const n=r[o];n.tag==="title"&&n.processTemplateParams!==!1&&(i=n)}i!=null&&i.textContent&&(i.textContent=b2(i.textContent,t._templateParams,t._separator))}}}),m9={hooks:{"tags:resolve":t=>{const{tags:r}=t;let i,o;for(let n=0;n<r.length;n+=1){const e=r[n];e.tag==="title"?i=e:e.tag==="titleTemplate"&&(o=e)}if(o&&i){const n=rE(o.textContent,i.textContent);n!==null?i.textContent=n||i.textContent:t.tags.splice(t.tags.indexOf(i),1)}else if(o){const n=rE(o.textContent);n!==null&&(o.textContent=n,o.tag="title",o=void 0)}o&&t.tags.splice(t.tags.indexOf(o),1)}}},g9={hooks:{"tags:afterResolve":t=>{for(const r of t.tags)typeof r.innerHTML=="string"&&(r.innerHTML&&(r.props.type==="application/ld+json"||r.props.type==="application/json")?r.innerHTML=r.innerHTML.replace(/</g,"\\u003C"):r.innerHTML=r.innerHTML.replace(new RegExp(`</${r.tag}`,"g"),`<\\/${r.tag}`))}}};let ET;function v9(t={}){const r=b9(t);return r.use(XR()),ET=r}function nE(t,r){return!t||t==="server"&&r||t==="client"&&!r}function b9(t={}){const r=n9();r.addHooks(t.hooks||{}),t.document=t.document||(HR?document:void 0);const i=!t.document,o=()=>{v.dirty=!0,r.callHook("entries:updated",v)};let n=0,e=[];const f=[],v={plugins:f,dirty:!1,resolvedOptions:t,hooks:r,headEntries(){return e},use(_){const w=typeof _=="function"?_(v):_;(!w.key||!f.some(F=>F.key===w.key))&&(f.push(w),nE(w.mode,i)&&r.addHooks(w.hooks||{}))},push(_,w){w==null||delete w.head;const F={_i:n++,input:_,...w};return nE(F.mode,i)&&(e.push(F),o()),{dispose(){e=e.filter(T=>T._i!==F._i),o()},patch(T){for(const C of e)C._i===F._i&&(C.input=F.input=T);o()}}},async resolveTags(){const _={tags:[],entries:[...e]};await r.callHook("entries:resolve",_);for(const w of _.entries){const F=w.resolvedInput||w.input;if(w.resolvedInput=await(w.transform?w.transform(F):F),w.resolvedInput)for(const T of await VR(w)){const C={tag:T,entry:w,resolvedOptions:v.resolvedOptions};await r.callHook("tag:normalise",C),_.tags.push(C.tag)}}return await r.callHook("tags:beforeResolve",_),await r.callHook("tags:resolve",_),await r.callHook("tags:afterResolve",_),_.tags},ssr:i};return[s9,u9,a9,c9,f9,p9,m9,g9,...(t==null?void 0:t.plugins)||[]].forEach(_=>v.use(_)),v.hooks.callHook("init",v),v}function _9(){return ET}const y9=C3[0]==="3";function D9(t){return typeof t=="function"?t():Zt(t)}function vv(t){if(t instanceof Promise||t instanceof Date||t instanceof RegExp)return t;const r=D9(t);if(!t||!r)return r;if(Array.isArray(r))return r.map(i=>vv(i));if(typeof r=="object"){const i={};for(const o in r)if(Object.prototype.hasOwnProperty.call(r,o)){if(o==="titleTemplate"||o[0]==="o"&&o[1]==="n"){i[o]=Zt(r[o]);continue}i[o]=vv(r[o])}return i}return r}const w9={hooks:{"entries:resolve":t=>{for(const r of t.entries)r.resolvedInput=vv(r.input)}}},FT="usehead";function E9(t){return{install(i){y9&&(i.config.globalProperties.$unhead=t,i.config.globalProperties.$head=t,i.provide(FT,t))}}.install}function F9(t={}){t.domDelayFn=t.domDelayFn||(i=>bo(()=>setTimeout(()=>i(),0)));const r=v9(t);return r.use(w9),r.install=E9(r),r}const iE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},sE="__unhead_injection_handler__";function T9(){if(sE in iE)return iE[sE]();const t=Ps(FT);return t||_9()}function x9(t,r={}){const i=r.head||T9();if(i)return i.ssr?i.push(t,r):A9(i,t,r)}function A9(t,r,i={}){const o=er(!1),n=er({});F3(()=>{n.value=o.value?{}:vv(r)});const e=t.push(n.value,i);return In(n,v=>{e.patch(v)}),xi()&&(Ih(()=>{e.dispose()}),g3(()=>{o.value=!0}),m3(()=>{o.value=!1})),e}function C9(t){try{return JSON.parse(t||"{}")}catch(r){return console.error("[SSG] On state deserialization -",r,t),{}}}function S9(t){return document.readyState==="loading"?new Promise(r=>{document.addEventListener("DOMContentLoaded",()=>r(t))}):Promise.resolve(t)}const k9=ui({setup(t,{slots:r}){const i=er(!1);return da(()=>i.value=!0),()=>i.value?r.default&&r.default({}):r.placeholder&&r.placeholder({})}});function O9(t,r,i,o={}){const{transformState:n,registerComponents:e=!0,useHead:f=!0,rootContainer:v="#app"}=o,_=typeof window<"u";async function w(F=!1,T){const C=F?pp(t):O3(t);let O;f&&(O=F9(),C.use(O));const N=PR({history:F?cR(r.base):uR(r.base),...r}),{routes:B}=r;e&&C.component("ClientOnly",k9);const V=[],H={app:C,head:O,isClient:_,router:N,routes:B,onSSRAppRendered:F?()=>{}:K=>V.push(K),triggerOnSSRAppRendered:()=>Promise.all(V.map(K=>K())),initialState:{},transformState:n,routePath:T};F&&(await S9(),H.initialState=(n==null?void 0:n(window.__INITIAL_STATE__||{}))||C9(window.__INITIAL_STATE__)),await(i==null?void 0:i(H)),C.use(N);let z,Y=!0;if(N.beforeEach((K,P,I)=>{(Y||z&&z===K.path)&&(Y=!1,z=K.path,K.meta.state=H.initialState),I()}),!F){const K=H.routePath??"/";N.push(K),await N.isReady(),H.initialState=N.currentRoute.value.meta.state||{}}const ee=H.initialState;return{...H,initialState:ee}}return _&&(async()=>{const{app:F,router:T}=await w(!0);await T.isReady(),F.mount(v,!0)})(),w}var R9=function(){function t(r,i){i===void 0&&(i=[]),this._eventType=r,this._eventFunctions=i}return t.prototype.init=function(){var r=this;this._eventFunctions.forEach(function(i){typeof window<"u"&&window.addEventListener(r._eventType,i)})},t}(),bv=globalThis&&globalThis.__assign||function(){return bv=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},bv.apply(this,arguments)},_v={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},TT=function(){function t(r,i){r===void 0&&(r=[]),i===void 0&&(i=_v),this._items=r,this._options=bv(bv({},_v),i),this._init()}return t.prototype._init=function(){var r=this;this._items.length&&this._items.map(function(i){i.active&&r.open(i.id),i.triggerEl.addEventListener("click",function(){r.toggle(i.id)})})},t.prototype.getItem=function(r){return this._items.filter(function(i){return i.id===r})[0]},t.prototype.open=function(r){var i,o,n=this,e=this.getItem(r);this._options.alwaysOpen||this._items.map(function(f){var v,_;f!==e&&((v=f.triggerEl.classList).remove.apply(v,n._options.activeClasses.split(" ")),(_=f.triggerEl.classList).add.apply(_,n._options.inactiveClasses.split(" ")),f.targetEl.classList.add("hidden"),f.triggerEl.setAttribute("aria-expanded","false"),f.active=!1,f.iconEl&&f.iconEl.classList.remove("rotate-180"))}),(i=e.triggerEl.classList).add.apply(i,this._options.activeClasses.split(" ")),(o=e.triggerEl.classList).remove.apply(o,this._options.inactiveClasses.split(" ")),e.triggerEl.setAttribute("aria-expanded","true"),e.targetEl.classList.remove("hidden"),e.active=!0,e.iconEl&&e.iconEl.classList.add("rotate-180"),this._options.onOpen(this,e)},t.prototype.toggle=function(r){var i=this.getItem(r);i.active?this.close(r):this.open(r),this._options.onToggle(this,i)},t.prototype.close=function(r){var i,o,n=this.getItem(r);(i=n.triggerEl.classList).remove.apply(i,this._options.activeClasses.split(" ")),(o=n.triggerEl.classList).add.apply(o,this._options.inactiveClasses.split(" ")),n.targetEl.classList.add("hidden"),n.triggerEl.setAttribute("aria-expanded","false"),n.active=!1,n.iconEl&&n.iconEl.classList.remove("rotate-180"),this._options.onClose(this,n)},t}();function L3(){document.querySelectorAll("[data-accordion]").forEach(function(t){var r=t.getAttribute("data-accordion"),i=t.getAttribute("data-active-classes"),o=t.getAttribute("data-inactive-classes"),n=[];t.querySelectorAll("[data-accordion-target]").forEach(function(e){if(e.closest("[data-accordion]")===t){var f={id:e.getAttribute("data-accordion-target"),triggerEl:e,targetEl:document.querySelector(e.getAttribute("data-accordion-target")),iconEl:e.querySelector("[data-accordion-icon]"),active:e.getAttribute("aria-expanded")==="true"};n.push(f)}}),new TT(n,{alwaysOpen:r==="open",activeClasses:i||_v.activeClasses,inactiveClasses:o||_v.inactiveClasses})})}typeof window<"u"&&(window.Accordion=TT,window.initAccordions=L3);var yv=globalThis&&globalThis.__assign||function(){return yv=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},yv.apply(this,arguments)},oE={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},xT=function(){function t(r,i,o){r===void 0&&(r=null),i===void 0&&(i=null),o===void 0&&(o=oE),this._targetEl=r,this._triggerEl=i,this._options=yv(yv({},oE),o),this._visible=!1,this._init()}return t.prototype._init=function(){var r=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible=this._triggerEl.getAttribute("aria-expanded")==="true":this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",function(){r.toggle()}))},t.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},t.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},t.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},t}();function M3(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(t){var r=t.getAttribute("data-collapse-toggle"),i=document.getElementById(r);i?new xT(i,t):console.error('The target element with id "'.concat(r,'" does not exist. Please check the data-collapse-toggle attribute.'))})}typeof window<"u"&&(window.Collapse=xT,window.initCollapses=M3);var uf=globalThis&&globalThis.__assign||function(){return uf=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},uf.apply(this,arguments)},$2={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3e3,onNext:function(){},onPrev:function(){},onChange:function(){}},AT=function(){function t(r,i){r===void 0&&(r=[]),i===void 0&&(i=$2),this._items=r,this._options=uf(uf(uf({},$2),i),{indicators:uf(uf({},$2.indicators),i.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._init()}return t.prototype._init=function(){var r=this;this._items.map(function(i){i.el.classList.add("absolute","inset-0","transition-transform","transform")}),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map(function(i,o){i.el.addEventListener("click",function(){r.slideTo(o)})})},t.prototype.getItem=function(r){return this._items[r]},t.prototype.slideTo=function(r){var i=this._items[r],o={left:i.position===0?this._items[this._items.length-1]:this._items[i.position-1],middle:i,right:i.position===this._items.length-1?this._items[0]:this._items[i.position+1]};this._rotate(o),this._setActiveItem(i),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},t.prototype.next=function(){var r=this._getActiveItem(),i=null;r.position===this._items.length-1?i=this._items[0]:i=this._items[r.position+1],this.slideTo(i.position),this._options.onNext(this)},t.prototype.prev=function(){var r=this._getActiveItem(),i=null;r.position===0?i=this._items[this._items.length-1]:i=this._items[r.position-1],this.slideTo(i.position),this._options.onPrev(this)},t.prototype._rotate=function(r){this._items.map(function(i){i.el.classList.add("hidden")}),r.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),r.left.el.classList.add("-translate-x-full","z-10"),r.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),r.middle.el.classList.add("translate-x-0","z-20"),r.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),r.right.el.classList.add("translate-x-full","z-10")},t.prototype.cycle=function(){var r=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){r.next()},this._intervalDuration))},t.prototype.pause=function(){clearInterval(this._intervalInstance)},t.prototype._getActiveItem=function(){return this._activeItem},t.prototype._setActiveItem=function(r){var i,o,n=this;this._activeItem=r;var e=r.position;this._indicators.length&&(this._indicators.map(function(f){var v,_;f.el.setAttribute("aria-current","false"),(v=f.el.classList).remove.apply(v,n._options.indicators.activeClasses.split(" ")),(_=f.el.classList).add.apply(_,n._options.indicators.inactiveClasses.split(" "))}),(i=this._indicators[e].el.classList).add.apply(i,this._options.indicators.activeClasses.split(" ")),(o=this._indicators[e].el.classList).remove.apply(o,this._options.indicators.inactiveClasses.split(" ")),this._indicators[e].el.setAttribute("aria-current","true"))},t}();function B3(){document.querySelectorAll("[data-carousel]").forEach(function(t){var r=t.getAttribute("data-carousel-interval"),i=t.getAttribute("data-carousel")==="slide",o=[],n=0;t.querySelectorAll("[data-carousel-item]").length&&Array.from(t.querySelectorAll("[data-carousel-item]")).map(function(w,F){o.push({position:F,el:w}),w.getAttribute("data-carousel-item")==="active"&&(n=F)});var e=[];t.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(t.querySelectorAll("[data-carousel-slide-to]")).map(function(w){e.push({position:parseInt(w.getAttribute("data-carousel-slide-to")),el:w})});var f=new AT(o,{defaultPosition:n,indicators:{items:e},interval:r||$2.interval});i&&f.cycle();var v=t.querySelector("[data-carousel-next]"),_=t.querySelector("[data-carousel-prev]");v&&v.addEventListener("click",function(){f.next()}),_&&_.addEventListener("click",function(){f.prev()})})}typeof window<"u"&&(window.Carousel=AT,window.initCarousels=B3);var Dv=globalThis&&globalThis.__assign||function(){return Dv=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Dv.apply(this,arguments)},aE={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},CT=function(){function t(r,i,o){r===void 0&&(r=null),i===void 0&&(i=null),o===void 0&&(o=aE),this._targetEl=r,this._triggerEl=i,this._options=Dv(Dv({},aE),o),this._init()}return t.prototype._init=function(){var r=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){r.hide()})},t.prototype.hide=function(){var r=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){r._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},t}();function U3(){document.querySelectorAll("[data-dismiss-target]").forEach(function(t){var r=t.getAttribute("data-dismiss-target"),i=document.querySelector(r);i?new CT(i,t):console.error('The dismiss element with id "'.concat(r,'" does not exist. Please check the data-dismiss-target attribute.'))})}typeof window<"u"&&(window.Dismiss=CT,window.initDismisses=U3);var Qs="top",$o="bottom",Wo="right",Xs="left",H3="auto",Lp=[Qs,$o,Wo,Xs],Th="start",vp="end",I9="clippingParents",ST="viewport",N1="popper",P9="reference",lE=Lp.reduce(function(t,r){return t.concat([r+"-"+Th,r+"-"+vp])},[]),kT=[].concat(Lp,[H3]).reduce(function(t,r){return t.concat([r,r+"-"+Th,r+"-"+vp])},[]),N9="beforeRead",L9="read",M9="afterRead",B9="beforeMain",U9="main",H9="afterMain",$9="beforeWrite",W9="write",z9="afterWrite",V9=[N9,L9,M9,B9,U9,H9,$9,W9,z9];function Ja(t){return t?(t.nodeName||"").toLowerCase():null}function vo(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var r=t.ownerDocument;return r&&r.defaultView||window}return t}function Ff(t){var r=vo(t).Element;return t instanceof r||t instanceof Element}function Bo(t){var r=vo(t).HTMLElement;return t instanceof r||t instanceof HTMLElement}function $3(t){if(typeof ShadowRoot>"u")return!1;var r=vo(t).ShadowRoot;return t instanceof r||t instanceof ShadowRoot}function G9(t){var r=t.state;Object.keys(r.elements).forEach(function(i){var o=r.styles[i]||{},n=r.attributes[i]||{},e=r.elements[i];!Bo(e)||!Ja(e)||(Object.assign(e.style,o),Object.keys(n).forEach(function(f){var v=n[f];v===!1?e.removeAttribute(f):e.setAttribute(f,v===!0?"":v)}))})}function j9(t){var r=t.state,i={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,i.popper),r.styles=i,r.elements.arrow&&Object.assign(r.elements.arrow.style,i.arrow),function(){Object.keys(r.elements).forEach(function(o){var n=r.elements[o],e=r.attributes[o]||{},f=Object.keys(r.styles.hasOwnProperty(o)?r.styles[o]:i[o]),v=f.reduce(function(_,w){return _[w]="",_},{});!Bo(n)||!Ja(n)||(Object.assign(n.style,v),Object.keys(e).forEach(function(_){n.removeAttribute(_)}))})}}const Y9={name:"applyStyles",enabled:!0,phase:"write",fn:G9,effect:j9,requires:["computeStyles"]};function Ga(t){return t.split("-")[0]}var yf=Math.max,wv=Math.min,xh=Math.round;function P4(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function OT(){return!/^((?!chrome|android).)*safari/i.test(P4())}function Ah(t,r,i){r===void 0&&(r=!1),i===void 0&&(i=!1);var o=t.getBoundingClientRect(),n=1,e=1;r&&Bo(t)&&(n=t.offsetWidth>0&&xh(o.width)/t.offsetWidth||1,e=t.offsetHeight>0&&xh(o.height)/t.offsetHeight||1);var f=Ff(t)?vo(t):window,v=f.visualViewport,_=!OT()&&i,w=(o.left+(_&&v?v.offsetLeft:0))/n,F=(o.top+(_&&v?v.offsetTop:0))/e,T=o.width/n,C=o.height/e;return{width:T,height:C,top:F,right:w+T,bottom:F+C,left:w,x:w,y:F}}function W3(t){var r=Ah(t),i=t.offsetWidth,o=t.offsetHeight;return Math.abs(r.width-i)<=1&&(i=r.width),Math.abs(r.height-o)<=1&&(o=r.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:o}}function RT(t,r){var i=r.getRootNode&&r.getRootNode();if(t.contains(r))return!0;if(i&&$3(i)){var o=r;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function jl(t){return vo(t).getComputedStyle(t)}function K9(t){return["table","td","th"].indexOf(Ja(t))>=0}function ru(t){return((Ff(t)?t.ownerDocument:t.document)||window.document).documentElement}function cb(t){return Ja(t)==="html"?t:t.assignedSlot||t.parentNode||($3(t)?t.host:null)||ru(t)}function cE(t){return!Bo(t)||jl(t).position==="fixed"?null:t.offsetParent}function q9(t){var r=/firefox/i.test(P4()),i=/Trident/i.test(P4());if(i&&Bo(t)){var o=jl(t);if(o.position==="fixed")return null}var n=cb(t);for($3(n)&&(n=n.host);Bo(n)&&["html","body"].indexOf(Ja(n))<0;){var e=jl(n);if(e.transform!=="none"||e.perspective!=="none"||e.contain==="paint"||["transform","perspective"].indexOf(e.willChange)!==-1||r&&e.willChange==="filter"||r&&e.filter&&e.filter!=="none")return n;n=n.parentNode}return null}function Mp(t){for(var r=vo(t),i=cE(t);i&&K9(i)&&jl(i).position==="static";)i=cE(i);return i&&(Ja(i)==="html"||Ja(i)==="body"&&jl(i).position==="static")?r:i||q9(t)||r}function z3(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function K1(t,r,i){return yf(t,wv(r,i))}function Q9(t,r,i){var o=K1(t,r,i);return o>i?i:o}function IT(){return{top:0,right:0,bottom:0,left:0}}function PT(t){return Object.assign({},IT(),t)}function NT(t,r){return r.reduce(function(i,o){return i[o]=t,i},{})}var X9=function(r,i){return r=typeof r=="function"?r(Object.assign({},i.rects,{placement:i.placement})):r,PT(typeof r!="number"?r:NT(r,Lp))};function J9(t){var r,i=t.state,o=t.name,n=t.options,e=i.elements.arrow,f=i.modifiersData.popperOffsets,v=Ga(i.placement),_=z3(v),w=[Xs,Wo].indexOf(v)>=0,F=w?"height":"width";if(!(!e||!f)){var T=X9(n.padding,i),C=W3(e),O=_==="y"?Qs:Xs,N=_==="y"?$o:Wo,B=i.rects.reference[F]+i.rects.reference[_]-f[_]-i.rects.popper[F],V=f[_]-i.rects.reference[_],G=Mp(e),X=G?_==="y"?G.clientHeight||0:G.clientWidth||0:0,H=B/2-V/2,z=T[O],Y=X-C[F]-T[N],ee=X/2-C[F]/2+H,K=K1(z,ee,Y),P=_;i.modifiersData[o]=(r={},r[P]=K,r.centerOffset=K-ee,r)}}function Z9(t){var r=t.state,i=t.options,o=i.element,n=o===void 0?"[data-popper-arrow]":o;n!=null&&(typeof n=="string"&&(n=r.elements.popper.querySelector(n),!n)||RT(r.elements.popper,n)&&(r.elements.arrow=n))}const eI={name:"arrow",enabled:!0,phase:"main",fn:J9,effect:Z9,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ch(t){return t.split("-")[1]}var tI={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rI(t,r){var i=t.x,o=t.y,n=r.devicePixelRatio||1;return{x:xh(i*n)/n||0,y:xh(o*n)/n||0}}function uE(t){var r,i=t.popper,o=t.popperRect,n=t.placement,e=t.variation,f=t.offsets,v=t.position,_=t.gpuAcceleration,w=t.adaptive,F=t.roundOffsets,T=t.isFixed,C=f.x,O=C===void 0?0:C,N=f.y,B=N===void 0?0:N,V=typeof F=="function"?F({x:O,y:B}):{x:O,y:B};O=V.x,B=V.y;var G=f.hasOwnProperty("x"),X=f.hasOwnProperty("y"),H=Xs,z=Qs,Y=window;if(w){var ee=Mp(i),K="clientHeight",P="clientWidth";if(ee===vo(i)&&(ee=ru(i),jl(ee).position!=="static"&&v==="absolute"&&(K="scrollHeight",P="scrollWidth")),ee=ee,n===Qs||(n===Xs||n===Wo)&&e===vp){z=$o;var I=T&&ee===Y&&Y.visualViewport?Y.visualViewport.height:ee[K];B-=I-o.height,B*=_?1:-1}if(n===Xs||(n===Qs||n===$o)&&e===vp){H=Wo;var W=T&&ee===Y&&Y.visualViewport?Y.visualViewport.width:ee[P];O-=W-o.width,O*=_?1:-1}}var oe=Object.assign({position:v},w&&tI),ae=F===!0?rI({x:O,y:B},vo(i)):{x:O,y:B};if(O=ae.x,B=ae.y,_){var be;return Object.assign({},oe,(be={},be[z]=X?"0":"",be[H]=G?"0":"",be.transform=(Y.devicePixelRatio||1)<=1?"translate("+O+"px, "+B+"px)":"translate3d("+O+"px, "+B+"px, 0)",be))}return Object.assign({},oe,(r={},r[z]=X?B+"px":"",r[H]=G?O+"px":"",r.transform="",r))}function nI(t){var r=t.state,i=t.options,o=i.gpuAcceleration,n=o===void 0?!0:o,e=i.adaptive,f=e===void 0?!0:e,v=i.roundOffsets,_=v===void 0?!0:v,w={placement:Ga(r.placement),variation:Ch(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:n,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,uE(Object.assign({},w,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:f,roundOffsets:_})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,uE(Object.assign({},w,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:_})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}const iI={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:nI,data:{}};var _2={passive:!0};function sI(t){var r=t.state,i=t.instance,o=t.options,n=o.scroll,e=n===void 0?!0:n,f=o.resize,v=f===void 0?!0:f,_=vo(r.elements.popper),w=[].concat(r.scrollParents.reference,r.scrollParents.popper);return e&&w.forEach(function(F){F.addEventListener("scroll",i.update,_2)}),v&&_.addEventListener("resize",i.update,_2),function(){e&&w.forEach(function(F){F.removeEventListener("scroll",i.update,_2)}),v&&_.removeEventListener("resize",i.update,_2)}}const oI={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:sI,data:{}};var aI={left:"right",right:"left",bottom:"top",top:"bottom"};function W2(t){return t.replace(/left|right|bottom|top/g,function(r){return aI[r]})}var lI={start:"end",end:"start"};function fE(t){return t.replace(/start|end/g,function(r){return lI[r]})}function V3(t){var r=vo(t),i=r.pageXOffset,o=r.pageYOffset;return{scrollLeft:i,scrollTop:o}}function G3(t){return Ah(ru(t)).left+V3(t).scrollLeft}function cI(t,r){var i=vo(t),o=ru(t),n=i.visualViewport,e=o.clientWidth,f=o.clientHeight,v=0,_=0;if(n){e=n.width,f=n.height;var w=OT();(w||!w&&r==="fixed")&&(v=n.offsetLeft,_=n.offsetTop)}return{width:e,height:f,x:v+G3(t),y:_}}function uI(t){var r,i=ru(t),o=V3(t),n=(r=t.ownerDocument)==null?void 0:r.body,e=yf(i.scrollWidth,i.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),f=yf(i.scrollHeight,i.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),v=-o.scrollLeft+G3(t),_=-o.scrollTop;return jl(n||i).direction==="rtl"&&(v+=yf(i.clientWidth,n?n.clientWidth:0)-e),{width:e,height:f,x:v,y:_}}function j3(t){var r=jl(t),i=r.overflow,o=r.overflowX,n=r.overflowY;return/auto|scroll|overlay|hidden/.test(i+n+o)}function LT(t){return["html","body","#document"].indexOf(Ja(t))>=0?t.ownerDocument.body:Bo(t)&&j3(t)?t:LT(cb(t))}function q1(t,r){var i;r===void 0&&(r=[]);var o=LT(t),n=o===((i=t.ownerDocument)==null?void 0:i.body),e=vo(o),f=n?[e].concat(e.visualViewport||[],j3(o)?o:[]):o,v=r.concat(f);return n?v:v.concat(q1(cb(f)))}function N4(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function fI(t,r){var i=Ah(t,!1,r==="fixed");return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}function hE(t,r,i){return r===ST?N4(cI(t,i)):Ff(r)?fI(r,i):N4(uI(ru(t)))}function hI(t){var r=q1(cb(t)),i=["absolute","fixed"].indexOf(jl(t).position)>=0,o=i&&Bo(t)?Mp(t):t;return Ff(o)?r.filter(function(n){return Ff(n)&&RT(n,o)&&Ja(n)!=="body"}):[]}function dI(t,r,i,o){var n=r==="clippingParents"?hI(t):[].concat(r),e=[].concat(n,[i]),f=e[0],v=e.reduce(function(_,w){var F=hE(t,w,o);return _.top=yf(F.top,_.top),_.right=wv(F.right,_.right),_.bottom=wv(F.bottom,_.bottom),_.left=yf(F.left,_.left),_},hE(t,f,o));return v.width=v.right-v.left,v.height=v.bottom-v.top,v.x=v.left,v.y=v.top,v}function MT(t){var r=t.reference,i=t.element,o=t.placement,n=o?Ga(o):null,e=o?Ch(o):null,f=r.x+r.width/2-i.width/2,v=r.y+r.height/2-i.height/2,_;switch(n){case Qs:_={x:f,y:r.y-i.height};break;case $o:_={x:f,y:r.y+r.height};break;case Wo:_={x:r.x+r.width,y:v};break;case Xs:_={x:r.x-i.width,y:v};break;default:_={x:r.x,y:r.y}}var w=n?z3(n):null;if(w!=null){var F=w==="y"?"height":"width";switch(e){case Th:_[w]=_[w]-(r[F]/2-i[F]/2);break;case vp:_[w]=_[w]+(r[F]/2-i[F]/2);break}}return _}function bp(t,r){r===void 0&&(r={});var i=r,o=i.placement,n=o===void 0?t.placement:o,e=i.strategy,f=e===void 0?t.strategy:e,v=i.boundary,_=v===void 0?I9:v,w=i.rootBoundary,F=w===void 0?ST:w,T=i.elementContext,C=T===void 0?N1:T,O=i.altBoundary,N=O===void 0?!1:O,B=i.padding,V=B===void 0?0:B,G=PT(typeof V!="number"?V:NT(V,Lp)),X=C===N1?P9:N1,H=t.rects.popper,z=t.elements[N?X:C],Y=dI(Ff(z)?z:z.contextElement||ru(t.elements.popper),_,F,f),ee=Ah(t.elements.reference),K=MT({reference:ee,element:H,strategy:"absolute",placement:n}),P=N4(Object.assign({},H,K)),I=C===N1?P:ee,W={top:Y.top-I.top+G.top,bottom:I.bottom-Y.bottom+G.bottom,left:Y.left-I.left+G.left,right:I.right-Y.right+G.right},oe=t.modifiersData.offset;if(C===N1&&oe){var ae=oe[n];Object.keys(W).forEach(function(be){var Ee=[Wo,$o].indexOf(be)>=0?1:-1,Ue=[Qs,$o].indexOf(be)>=0?"y":"x";W[be]+=ae[Ue]*Ee})}return W}function pI(t,r){r===void 0&&(r={});var i=r,o=i.placement,n=i.boundary,e=i.rootBoundary,f=i.padding,v=i.flipVariations,_=i.allowedAutoPlacements,w=_===void 0?kT:_,F=Ch(o),T=F?v?lE:lE.filter(function(N){return Ch(N)===F}):Lp,C=T.filter(function(N){return w.indexOf(N)>=0});C.length===0&&(C=T);var O=C.reduce(function(N,B){return N[B]=bp(t,{placement:B,boundary:n,rootBoundary:e,padding:f})[Ga(B)],N},{});return Object.keys(O).sort(function(N,B){return O[N]-O[B]})}function mI(t){if(Ga(t)===H3)return[];var r=W2(t);return[fE(t),r,fE(r)]}function gI(t){var r=t.state,i=t.options,o=t.name;if(!r.modifiersData[o]._skip){for(var n=i.mainAxis,e=n===void 0?!0:n,f=i.altAxis,v=f===void 0?!0:f,_=i.fallbackPlacements,w=i.padding,F=i.boundary,T=i.rootBoundary,C=i.altBoundary,O=i.flipVariations,N=O===void 0?!0:O,B=i.allowedAutoPlacements,V=r.options.placement,G=Ga(V),X=G===V,H=_||(X||!N?[W2(V)]:mI(V)),z=[V].concat(H).reduce(function(ke,ge){return ke.concat(Ga(ge)===H3?pI(r,{placement:ge,boundary:F,rootBoundary:T,padding:w,flipVariations:N,allowedAutoPlacements:B}):ge)},[]),Y=r.rects.reference,ee=r.rects.popper,K=new Map,P=!0,I=z[0],W=0;W<z.length;W++){var oe=z[W],ae=Ga(oe),be=Ch(oe)===Th,Ee=[Qs,$o].indexOf(ae)>=0,Ue=Ee?"width":"height",ve=bp(r,{placement:oe,boundary:F,rootBoundary:T,altBoundary:C,padding:w}),fe=Ee?be?Wo:Xs:be?$o:Qs;Y[Ue]>ee[Ue]&&(fe=W2(fe));var Fe=W2(fe),Oe=[];if(e&&Oe.push(ve[ae]<=0),v&&Oe.push(ve[fe]<=0,ve[Fe]<=0),Oe.every(function(ke){return ke})){I=oe,P=!1;break}K.set(oe,Oe)}if(P)for(var Re=N?3:1,ce=function(ge){var Ie=z.find(function(ie){var Pe=K.get(ie);if(Pe)return Pe.slice(0,ge).every(function(de){return de})});if(Ie)return I=Ie,"break"},De=Re;De>0;De--){var We=ce(De);if(We==="break")break}r.placement!==I&&(r.modifiersData[o]._skip=!0,r.placement=I,r.reset=!0)}}const vI={name:"flip",enabled:!0,phase:"main",fn:gI,requiresIfExists:["offset"],data:{_skip:!1}};function dE(t,r,i){return i===void 0&&(i={x:0,y:0}),{top:t.top-r.height-i.y,right:t.right-r.width+i.x,bottom:t.bottom-r.height+i.y,left:t.left-r.width-i.x}}function pE(t){return[Qs,Wo,$o,Xs].some(function(r){return t[r]>=0})}function bI(t){var r=t.state,i=t.name,o=r.rects.reference,n=r.rects.popper,e=r.modifiersData.preventOverflow,f=bp(r,{elementContext:"reference"}),v=bp(r,{altBoundary:!0}),_=dE(f,o),w=dE(v,n,e),F=pE(_),T=pE(w);r.modifiersData[i]={referenceClippingOffsets:_,popperEscapeOffsets:w,isReferenceHidden:F,hasPopperEscaped:T},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":F,"data-popper-escaped":T})}const _I={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:bI};function yI(t,r,i){var o=Ga(t),n=[Xs,Qs].indexOf(o)>=0?-1:1,e=typeof i=="function"?i(Object.assign({},r,{placement:t})):i,f=e[0],v=e[1];return f=f||0,v=(v||0)*n,[Xs,Wo].indexOf(o)>=0?{x:v,y:f}:{x:f,y:v}}function DI(t){var r=t.state,i=t.options,o=t.name,n=i.offset,e=n===void 0?[0,0]:n,f=kT.reduce(function(F,T){return F[T]=yI(T,r.rects,e),F},{}),v=f[r.placement],_=v.x,w=v.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=_,r.modifiersData.popperOffsets.y+=w),r.modifiersData[o]=f}const wI={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:DI};function EI(t){var r=t.state,i=t.name;r.modifiersData[i]=MT({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}const FI={name:"popperOffsets",enabled:!0,phase:"read",fn:EI,data:{}};function TI(t){return t==="x"?"y":"x"}function xI(t){var r=t.state,i=t.options,o=t.name,n=i.mainAxis,e=n===void 0?!0:n,f=i.altAxis,v=f===void 0?!1:f,_=i.boundary,w=i.rootBoundary,F=i.altBoundary,T=i.padding,C=i.tether,O=C===void 0?!0:C,N=i.tetherOffset,B=N===void 0?0:N,V=bp(r,{boundary:_,rootBoundary:w,padding:T,altBoundary:F}),G=Ga(r.placement),X=Ch(r.placement),H=!X,z=z3(G),Y=TI(z),ee=r.modifiersData.popperOffsets,K=r.rects.reference,P=r.rects.popper,I=typeof B=="function"?B(Object.assign({},r.rects,{placement:r.placement})):B,W=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),oe=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,ae={x:0,y:0};if(ee){if(e){var be,Ee=z==="y"?Qs:Xs,Ue=z==="y"?$o:Wo,ve=z==="y"?"height":"width",fe=ee[z],Fe=fe+V[Ee],Oe=fe-V[Ue],Re=O?-P[ve]/2:0,ce=X===Th?K[ve]:P[ve],De=X===Th?-P[ve]:-K[ve],We=r.elements.arrow,ke=O&&We?W3(We):{width:0,height:0},ge=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:IT(),Ie=ge[Ee],ie=ge[Ue],Pe=K1(0,K[ve],ke[ve]),de=H?K[ve]/2-Re-Pe-Ie-W.mainAxis:ce-Pe-Ie-W.mainAxis,Ye=H?-K[ve]/2+Re+Pe+ie+W.mainAxis:De+Pe+ie+W.mainAxis,gt=r.elements.arrow&&Mp(r.elements.arrow),nt=gt?z==="y"?gt.clientTop||0:gt.clientLeft||0:0,J=(be=oe==null?void 0:oe[z])!=null?be:0,se=fe+de-J-nt,Te=fe+Ye-J,Me=K1(O?wv(Fe,se):Fe,fe,O?yf(Oe,Te):Oe);ee[z]=Me,ae[z]=Me-fe}if(v){var Ne,tt=z==="x"?Qs:Xs,yt=z==="x"?$o:Wo,lt=ee[Y],rt=Y==="y"?"height":"width",qe=lt+V[tt],pt=lt-V[yt],vt=[Qs,Xs].indexOf(G)!==-1,st=(Ne=oe==null?void 0:oe[Y])!=null?Ne:0,Ae=vt?qe:lt-K[rt]-P[rt]-st+W.altAxis,ze=vt?lt+K[rt]+P[rt]-st-W.altAxis:pt,Rt=O&&vt?Q9(Ae,lt,ze):K1(O?Ae:qe,lt,O?ze:pt);ee[Y]=Rt,ae[Y]=Rt-lt}r.modifiersData[o]=ae}}const AI={name:"preventOverflow",enabled:!0,phase:"main",fn:xI,requiresIfExists:["offset"]};function CI(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function SI(t){return t===vo(t)||!Bo(t)?V3(t):CI(t)}function kI(t){var r=t.getBoundingClientRect(),i=xh(r.width)/t.offsetWidth||1,o=xh(r.height)/t.offsetHeight||1;return i!==1||o!==1}function OI(t,r,i){i===void 0&&(i=!1);var o=Bo(r),n=Bo(r)&&kI(r),e=ru(r),f=Ah(t,n,i),v={scrollLeft:0,scrollTop:0},_={x:0,y:0};return(o||!o&&!i)&&((Ja(r)!=="body"||j3(e))&&(v=SI(r)),Bo(r)?(_=Ah(r,!0),_.x+=r.clientLeft,_.y+=r.clientTop):e&&(_.x=G3(e))),{x:f.left+v.scrollLeft-_.x,y:f.top+v.scrollTop-_.y,width:f.width,height:f.height}}function RI(t){var r=new Map,i=new Set,o=[];t.forEach(function(e){r.set(e.name,e)});function n(e){i.add(e.name);var f=[].concat(e.requires||[],e.requiresIfExists||[]);f.forEach(function(v){if(!i.has(v)){var _=r.get(v);_&&n(_)}}),o.push(e)}return t.forEach(function(e){i.has(e.name)||n(e)}),o}function II(t){var r=RI(t);return V9.reduce(function(i,o){return i.concat(r.filter(function(n){return n.phase===o}))},[])}function PI(t){var r;return function(){return r||(r=new Promise(function(i){Promise.resolve().then(function(){r=void 0,i(t())})})),r}}function NI(t){var r=t.reduce(function(i,o){var n=i[o.name];return i[o.name]=n?Object.assign({},n,o,{options:Object.assign({},n.options,o.options),data:Object.assign({},n.data,o.data)}):o,i},{});return Object.keys(r).map(function(i){return r[i]})}var mE={placement:"bottom",modifiers:[],strategy:"absolute"};function gE(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return!r.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function LI(t){t===void 0&&(t={});var r=t,i=r.defaultModifiers,o=i===void 0?[]:i,n=r.defaultOptions,e=n===void 0?mE:n;return function(v,_,w){w===void 0&&(w=e);var F={placement:"bottom",orderedModifiers:[],options:Object.assign({},mE,e),modifiersData:{},elements:{reference:v,popper:_},attributes:{},styles:{}},T=[],C=!1,O={state:F,setOptions:function(G){var X=typeof G=="function"?G(F.options):G;B(),F.options=Object.assign({},e,F.options,X),F.scrollParents={reference:Ff(v)?q1(v):v.contextElement?q1(v.contextElement):[],popper:q1(_)};var H=II(NI([].concat(o,F.options.modifiers)));return F.orderedModifiers=H.filter(function(z){return z.enabled}),N(),O.update()},forceUpdate:function(){if(!C){var G=F.elements,X=G.reference,H=G.popper;if(gE(X,H)){F.rects={reference:OI(X,Mp(H),F.options.strategy==="fixed"),popper:W3(H)},F.reset=!1,F.placement=F.options.placement,F.orderedModifiers.forEach(function(W){return F.modifiersData[W.name]=Object.assign({},W.data)});for(var z=0;z<F.orderedModifiers.length;z++){if(F.reset===!0){F.reset=!1,z=-1;continue}var Y=F.orderedModifiers[z],ee=Y.fn,K=Y.options,P=K===void 0?{}:K,I=Y.name;typeof ee=="function"&&(F=ee({state:F,options:P,name:I,instance:O})||F)}}}},update:PI(function(){return new Promise(function(V){O.forceUpdate(),V(F)})}),destroy:function(){B(),C=!0}};if(!gE(v,_))return O;O.setOptions(w).then(function(V){!C&&w.onFirstUpdate&&w.onFirstUpdate(V)});function N(){F.orderedModifiers.forEach(function(V){var G=V.name,X=V.options,H=X===void 0?{}:X,z=V.effect;if(typeof z=="function"){var Y=z({state:F,name:G,instance:O,options:H}),ee=function(){};T.push(Y||ee)}})}function B(){T.forEach(function(V){return V()}),T=[]}return O}}var MI=[oI,FI,iI,Y9,wI,vI,AI,eI,_I],Y3=LI({defaultModifiers:MI}),Ic=globalThis&&globalThis.__assign||function(){return Ic=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ic.apply(this,arguments)},y2=globalThis&&globalThis.__spreadArray||function(t,r,i){if(i||arguments.length===2)for(var o=0,n=r.length,e;o<n;o++)(e||!(o in r))&&(e||(e=Array.prototype.slice.call(r,0,o)),e[o]=r[o]);return t.concat(e||Array.prototype.slice.call(r))},Pc={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,ignoreClickOutsideClass:!1,onShow:function(){},onHide:function(){},onToggle:function(){}},BT=function(){function t(r,i,o){r===void 0&&(r=null),i===void 0&&(i=null),o===void 0&&(o=Pc),this._targetEl=r,this._triggerEl=i,this._options=Ic(Ic({},Pc),o),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var r=this,i=this._getTriggerEvents();this._options.triggerType==="click"&&i.showEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){r.toggle()})}),this._options.triggerType==="hover"&&(i.showEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){o==="click"?r.toggle():setTimeout(function(){r.show()},r._options.delay)}),r._targetEl.addEventListener(o,function(){r.show()})}),i.hideEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){setTimeout(function(){r._targetEl.matches(":hover")||r.hide()},r._options.delay)}),r._targetEl.addEventListener(o,function(){setTimeout(function(){r._triggerEl.matches(":hover")||r.hide()},r._options.delay)})}))},t.prototype._createPopperInstance=function(){return Y3(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var r=this;this._clickOutsideEventListener=function(i){r._handleClickOutside(i,r._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(r,i){var o=r.target,n=this._options.ignoreClickOutsideClass,e=!1;if(n){var f=document.querySelectorAll(".".concat(n));f.forEach(function(v){if(v.contains(o)){e=!0;return}})}o!==i&&!i.contains(o)&&!this._triggerEl.contains(o)&&!e&&this.isVisible()&&this.hide()},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["click"],hideEvents:[]}}},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.isVisible=function(){return this._visible},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(r){return Ic(Ic({},r),{modifiers:y2(y2([],r.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(r){return Ic(Ic({},r),{modifiers:y2(y2([],r.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();function K3(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(t){var r=t.getAttribute("data-dropdown-toggle"),i=document.getElementById(r);if(i){var o=t.getAttribute("data-dropdown-placement"),n=t.getAttribute("data-dropdown-offset-skidding"),e=t.getAttribute("data-dropdown-offset-distance"),f=t.getAttribute("data-dropdown-trigger"),v=t.getAttribute("data-dropdown-delay"),_=t.getAttribute("data-dropdown-ignore-click-outside-class");new BT(i,t,{placement:o||Pc.placement,triggerType:f||Pc.triggerType,offsetSkidding:n?parseInt(n):Pc.offsetSkidding,offsetDistance:e?parseInt(e):Pc.offsetDistance,delay:v?parseInt(v):Pc.delay,ignoreClickOutsideClass:_||Pc.ignoreClickOutsideClass})}else console.error('The dropdown element with id "'.concat(r,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}typeof window<"u"&&(window.Dropdown=BT,window.initDropdowns=K3);var Ev=globalThis&&globalThis.__assign||function(){return Ev=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ev.apply(this,arguments)},X0={placement:"center",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-40",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},L4=function(){function t(r,i){r===void 0&&(r=null),i===void 0&&(i=X0),this._targetEl=r,this._options=Ev(Ev({},X0),i),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var r=this;this._targetEl&&this._getPlacementClasses().map(function(i){r._targetEl.classList.add(i)})},t.prototype._createBackdrop=function(){var r;if(this._isHidden){var i=document.createElement("div");i.setAttribute("modal-backdrop",""),(r=i.classList).add.apply(r,this._options.backdropClasses.split(" ")),document.querySelector("body").append(i),this._backdropEl=i}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},t.prototype._setupModalCloseEventListeners=function(){var r=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(i){r._handleOutsideClick(i.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(i){i.key==="Escape"&&r.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeModalCloseEventListeners=function(){this._options.backdrop==="dynamic"&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._handleOutsideClick=function(r){(r===this._targetEl||r===this._backdropEl&&this.isVisible())&&this.hide()},t.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"];default:return["justify-center","items-center"]}},t.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},t.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this))},t.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},t.prototype.isVisible=function(){return!this._isHidden},t.prototype.isHidden=function(){return this._isHidden},t}(),D2=function(t,r){return r.some(function(i){return i.id===t})?r.find(function(i){return i.id===t}):null};function q3(){var t=[];document.querySelectorAll("[data-modal-target]").forEach(function(r){var i=r.getAttribute("data-modal-target"),o=document.getElementById(i);if(o){var n=o.getAttribute("data-modal-placement"),e=o.getAttribute("data-modal-backdrop");D2(i,t)||t.push({id:i,object:new L4(o,{placement:n||X0.placement,backdrop:e||X0.backdrop})})}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))}),document.querySelectorAll("[data-modal-toggle]").forEach(function(r){var i=r.getAttribute("data-modal-toggle"),o=document.getElementById(i);if(o){var n=o.getAttribute("data-modal-placement"),e=o.getAttribute("data-modal-backdrop"),f=D2(i,t);f||(f={id:i,object:new L4(o,{placement:n||X0.placement,backdrop:e||X0.backdrop})},t.push(f)),r.addEventListener("click",function(){f.object.toggle()})}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-show]").forEach(function(r){var i=r.getAttribute("data-modal-show"),o=document.getElementById(i);if(o){var n=D2(i,t);n?r.addEventListener("click",function(){n.object.isHidden&&n.object.show()}):console.error("Modal with id ".concat(i," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-hide]").forEach(function(r){var i=r.getAttribute("data-modal-hide"),o=document.getElementById(i);if(o){var n=D2(i,t);n?r.addEventListener("click",function(){n.object.isVisible&&n.object.hide()}):console.error("Modal with id ".concat(i," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}typeof window<"u"&&(window.Modal=L4,window.initModals=q3);var Fv=globalThis&&globalThis.__assign||function(){return Fv=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Fv.apply(this,arguments)},ff={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},UT=function(){function t(r,i){r===void 0&&(r=null),i===void 0&&(i=ff),this._targetEl=r,this._options=Fv(Fv({},ff),i),this._visible=!1,this._init()}return t.prototype._init=function(){var r=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(i){r._targetEl.classList.add(i)}),document.addEventListener("keydown",function(i){i.key==="Escape"&&r.isVisible()&&r.hide()})},t.prototype.hide=function(){var r=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(i){r._targetEl.classList.remove(i)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(i){r._targetEl.classList.add(i)})):(this._getPlacementClasses(this._options.placement).active.map(function(i){r._targetEl.classList.remove(i)}),this._getPlacementClasses(this._options.placement).inactive.map(function(i){r._targetEl.classList.add(i)})),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){var r=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(i){r._targetEl.classList.add(i)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(i){r._targetEl.classList.remove(i)})):(this._getPlacementClasses(this._options.placement).active.map(function(i){r._targetEl.classList.add(i)}),this._getPlacementClasses(this._options.placement).inactive.map(function(i){r._targetEl.classList.remove(i)})),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype._createBackdrop=function(){var r,i=this;if(!this._visible){var o=document.createElement("div");o.setAttribute("drawer-backdrop",""),(r=o.classList).add.apply(r,this._options.backdropClasses.split(" ")),document.querySelector("body").append(o),o.addEventListener("click",function(){i.hide()})}},t.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},t.prototype._getPlacementClasses=function(r){switch(r){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]};default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]}}},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t}(),w2=function(t,r){if(r.some(function(i){return i.id===t}))return r.find(function(i){return i.id===t})};function Q3(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach(function(r){var i=r.getAttribute("data-drawer-target"),o=document.getElementById(i);if(o){var n=r.getAttribute("data-drawer-placement"),e=r.getAttribute("data-drawer-body-scrolling"),f=r.getAttribute("data-drawer-backdrop"),v=r.getAttribute("data-drawer-edge"),_=r.getAttribute("data-drawer-edge-offset");w2(i,t)||t.push({id:i,object:new UT(o,{placement:n||ff.placement,bodyScrolling:e?e==="true":ff.bodyScrolling,backdrop:f?f==="true":ff.backdrop,edge:v?v==="true":ff.edge,edgeOffset:_||ff.edgeOffset})})}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(r){var i=r.getAttribute("data-drawer-toggle"),o=document.getElementById(i);if(o){var n=w2(i,t);n?r.addEventListener("click",function(){n.object.toggle()}):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach(function(r){var i=r.getAttribute("data-drawer-dismiss")?r.getAttribute("data-drawer-dismiss"):r.getAttribute("data-drawer-hide"),o=document.getElementById(i);if(o){var n=w2(i,t);n?r.addEventListener("click",function(){n.object.hide()}):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(r){var i=r.getAttribute("data-drawer-show"),o=document.getElementById(i);if(o){var n=w2(i,t);n?r.addEventListener("click",function(){n.object.show()}):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}typeof window<"u"&&(window.Drawer=UT,window.initDrawers=Q3);var Tv=globalThis&&globalThis.__assign||function(){return Tv=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Tv.apply(this,arguments)},vE={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},HT=function(){function t(r,i){r===void 0&&(r=[]),i===void 0&&(i=vE),this._items=r,this._activeTab=i?this.getTab(i.defaultTabId):null,this._options=Tv(Tv({},vE),i),this._init()}return t.prototype._init=function(){var r=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(i){i.triggerEl.addEventListener("click",function(){r.show(i.id)})}))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(r){this._activeTab=r},t.prototype.getTab=function(r){return this._items.filter(function(i){return i.id===r})[0]},t.prototype.show=function(r,i){var o,n,e=this;i===void 0&&(i=!1);var f=this.getTab(r);f===this._activeTab&&!i||(this._items.map(function(v){var _,w;v!==f&&((_=v.triggerEl.classList).remove.apply(_,e._options.activeClasses.split(" ")),(w=v.triggerEl.classList).add.apply(w,e._options.inactiveClasses.split(" ")),v.targetEl.classList.add("hidden"),v.triggerEl.setAttribute("aria-selected","false"))}),(o=f.triggerEl.classList).add.apply(o,this._options.activeClasses.split(" ")),(n=f.triggerEl.classList).remove.apply(n,this._options.inactiveClasses.split(" ")),f.triggerEl.setAttribute("aria-selected","true"),f.targetEl.classList.remove("hidden"),this._setActiveTab(f),this._options.onShow(this,f))},t}();function X3(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(t){var r=[],i=null;t.querySelectorAll('[role="tab"]').forEach(function(o){var n=o.getAttribute("aria-selected")==="true",e={id:o.getAttribute("data-tabs-target"),triggerEl:o,targetEl:document.querySelector(o.getAttribute("data-tabs-target"))};r.push(e),n&&(i=e.id)}),new HT(r,{defaultTabId:i})})}typeof window<"u"&&(window.Tabs=HT,window.initTabs=X3);var Nc=globalThis&&globalThis.__assign||function(){return Nc=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Nc.apply(this,arguments)},E2=globalThis&&globalThis.__spreadArray||function(t,r,i){if(i||arguments.length===2)for(var o=0,n=r.length,e;o<n;o++)(e||!(o in r))&&(e||(e=Array.prototype.slice.call(r,0,o)),e[o]=r[o]);return t.concat(e||Array.prototype.slice.call(r))},xv={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},J3=function(){function t(r,i,o){r===void 0&&(r=null),i===void 0&&(i=null),o===void 0&&(o=xv),this._targetEl=r,this._triggerEl=i,this._options=Nc(Nc({},xv),o),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var r=this,i=this._getTriggerEvents();i.showEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){r.show()})}),i.hideEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){r.hide()})})},t.prototype._createPopperInstance=function(){return Y3(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var r=this;this._keydownEventListener=function(i){i.key==="Escape"&&r.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var r=this;this._clickOutsideEventListener=function(i){r._handleClickOutside(i,r._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(r,i){var o=r.target;o!==i&&!i.contains(o)&&!this._triggerEl.contains(o)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(r){return Nc(Nc({},r),{modifiers:E2(E2([],r.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(r){return Nc(Nc({},r),{modifiers:E2(E2([],r.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function Z3(){document.querySelectorAll("[data-tooltip-target]").forEach(function(t){var r=t.getAttribute("data-tooltip-target"),i=document.getElementById(r);if(i){var o=t.getAttribute("data-tooltip-trigger"),n=t.getAttribute("data-tooltip-placement");new J3(i,t,{placement:n||xv.placement,triggerType:o||xv.triggerType})}else console.error('The tooltip element with id "'.concat(r,'" does not exist. Please check the data-tooltip-target attribute.'))})}typeof window<"u"&&(window.Tooltip=J3,window.initTooltips=Z3);var Lc=globalThis&&globalThis.__assign||function(){return Lc=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Lc.apply(this,arguments)},F2=globalThis&&globalThis.__spreadArray||function(t,r,i){if(i||arguments.length===2)for(var o=0,n=r.length,e;o<n;o++)(e||!(o in r))&&(e||(e=Array.prototype.slice.call(r,0,o)),e[o]=r[o]);return t.concat(e||Array.prototype.slice.call(r))},Q1={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},$T=function(){function t(r,i,o){r===void 0&&(r=null),i===void 0&&(i=null),o===void 0&&(o=Q1),this._targetEl=r,this._triggerEl=i,this._options=Lc(Lc({},Q1),o),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var r=this,i=this._getTriggerEvents();i.showEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){r.show()}),r._targetEl.addEventListener(o,function(){r.show()})}),i.hideEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){setTimeout(function(){r._targetEl.matches(":hover")||r.hide()},100)}),r._targetEl.addEventListener(o,function(){setTimeout(function(){r._triggerEl.matches(":hover")||r.hide()},100)})})},t.prototype._createPopperInstance=function(){return Y3(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var r=this;this._keydownEventListener=function(i){i.key==="Escape"&&r.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var r=this;this._clickOutsideEventListener=function(i){r._handleClickOutside(i,r._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(r,i){var o=r.target;o!==i&&!i.contains(o)&&!this._triggerEl.contains(o)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(r){return Lc(Lc({},r),{modifiers:F2(F2([],r.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(r){return Lc(Lc({},r),{modifiers:F2(F2([],r.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function eD(){document.querySelectorAll("[data-popover-target]").forEach(function(t){var r=t.getAttribute("data-popover-target"),i=document.getElementById(r);if(i){var o=t.getAttribute("data-popover-trigger"),n=t.getAttribute("data-popover-placement"),e=t.getAttribute("data-popover-offset");new $T(i,t,{placement:n||Q1.placement,offset:e?parseInt(e):Q1.offset,triggerType:o||Q1.triggerType})}else console.error('The popover element with id "'.concat(r,'" does not exist. Please check the data-popover-target attribute.'))})}typeof window<"u"&&(window.Popover=$T,window.initPopovers=eD);var Av=globalThis&&globalThis.__assign||function(){return Av=Object.assign||function(t){for(var r,i=1,o=arguments.length;i<o;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Av.apply(this,arguments)},M4={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},WT=function(){function t(r,i,o,n){r===void 0&&(r=null),i===void 0&&(i=null),o===void 0&&(o=null),n===void 0&&(n=M4),this._parentEl=r,this._triggerEl=i,this._targetEl=o,this._options=Av(Av({},M4),n),this._visible=!1,this._init()}return t.prototype._init=function(){var r=this;if(this._triggerEl){var i=this._getTriggerEventTypes(this._options.triggerType);i.showEvents.forEach(function(o){r._triggerEl.addEventListener(o,function(){r.show()}),r._targetEl.addEventListener(o,function(){r.show()})}),i.hideEvents.forEach(function(o){r._parentEl.addEventListener(o,function(){r._parentEl.matches(":hover")||r.hide()})})}},t.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this._visible?this.hide():this.show()},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t.prototype._getTriggerEventTypes=function(r){switch(r){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t}();function tD(){document.querySelectorAll("[data-dial-init]").forEach(function(t){var r=t.querySelector("[data-dial-toggle]");if(r){var i=r.getAttribute("data-dial-toggle"),o=document.getElementById(i);if(o){var n=r.getAttribute("data-dial-trigger");new WT(t,r,o,{triggerType:n||M4.triggerType})}else console.error("Dial with id ".concat(i," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"))}else console.error("Dial with id ".concat(t.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}typeof window<"u"&&(window.Dial=WT,window.initDials=tD);function BI(){L3(),M3(),B3(),U3(),K3(),q3(),Q3(),X3(),Z3(),eD(),tD()}typeof window<"u"&&(window.initFlowbite=BI);var UI=new R9("load",[L3,M3,B3,U3,K3,q3,Q3,X3,Z3,eD,tD]);UI.init();const zT=ui({__name:"Tooltip",props:{placement:null},setup(t){const r=t,i=er(null),o=er(null),n=Sr(()=>r.placement??"auto");return da(()=>{if(i.value&&o.value){const e={placement:n.value,triggerType:"hover"};new J3(i.value,o.value,e)}}),(e,f)=>(Hr(),Fn("div",null,[It("div",{ref_key:"tooltipTriggerEl",ref:o},[Df(e.$slots,"default")],512),It("div",{ref_key:"tooltipTargetEl",ref:i,role:"tooltip",class:"tooltip inline-block absolute invisible px-3 py-2 transition-opacity duration-300 shadow-sm opacity-0","z-99999":"",rounded:"","text-base":"","text-white":"","font-medium":"","bg-gray-900":"","dark:bg-gray-700":""},[It("div",null,[Df(e.$slots,"popper")]),f[0]||(f[0]=It("div",{class:"tooltip-arrow","data-popper-arrow":""},null,-1))],512)]))}}),HI="Board - XCPCIO",wH="Rating - XCPCIO",EH="Balloon - XCPCIO",FH="Countdown - XCPCIO",$I=Sr(()=>window?window.CDN_HOST:""),VT=Sr(()=>window?window.DATA_HOST:""),TH=Sr(()=>VT.value.replace("/data/","/rating-data/")),WI=Sr(()=>window?window.DATA_REGION:""),zI="0.51.2",GT="https://github.com/xcpcio/xcpcio",VI="06448830b8",GI="https://xcpcio.com";var ia=(t=>(t.PENDING="PENDING",t.RUNNING="RUNNING",t.FROZEN="FROZEN",t.FINISHED="FINISHED",t.PAUSED="PAUSED",t))(ia||{}),Ot=(t=>(t.PENDING="PENDING",t.WAITING="WAITING",t.PREPARING="PREPARING",t.COMPILING="COMPILING",t.RUNNING="RUNNING",t.JUDGING="JUDGING",t.FROZEN="FROZEN",t.ACCEPTED="ACCEPTED",t.CORRECT="CORRECT",t.PARTIALLY_CORRECT="PARTIALLY_CORRECT",t.REJECTED="REJECTED",t.WRONG_ANSWER="WRONG_ANSWER",t.NO_OUTPUT="NO_OUTPUT",t.COMPILATION_ERROR="COMPILATION_ERROR",t.PRESENTATION_ERROR="PRESENTATION_ERROR",t.RUNTIME_ERROR="RUNTIME_ERROR",t.TIME_LIMIT_EXCEEDED="TIME_LIMIT_EXCEEDED",t.MEMORY_LIMIT_EXCEEDED="MEMORY_LIMIT_EXCEEDED",t.OUTPUT_LIMIT_EXCEEDED="OUTPUT_LIMIT_EXCEEDED",t.IDLENESS_LIMIT_EXCEEDED="IDLENESS_LIMIT_EXCEEDED",t.HACKED="HACKED",t.JUDGEMENT_FAILED="JUDGEMENT_FAILED",t.CONFIGURATION_ERROR="CONFIGURATION_ERROR",t.FILE_ERROR="FILE_ERROR",t.SYSTEM_ERROR="SYSTEM_ERROR",t.CANCELED="CANCELED",t.SKIPPED="SKIPPED",t.SECURITY_VIOLATED="SECURITY_VIOLATED",t.DENIAL_OF_JUDGEMENT="DENIAL_OF_JUDGEMENT",t.UNKNOWN="UNKNOWN",t.UNDEFINED="UNDEFINED",t))(Ot||{});const xH={PENDING:"Pending",WAITING:"Waiting",PREPARING:"Preparing",COMPILING:"Compiling",RUNNING:"Running",JUDGING:"Judging",FROZEN:"Frozen",ACCEPTED:"Accepted",CORRECT:"Correct",PARTIALLY_CORRECT:"Partially Correct",REJECTED:"Rejected",WRONG_ANSWER:"Wrong Answer",NO_OUTPUT:"No Output",COMPILATION_ERROR:"Compilation Error",PRESENTATION_ERROR:"Presentation Error",RUNTIME_ERROR:"Runtime Error",TIME_LIMIT_EXCEEDED:"Time Limit Exceeded",MEMORY_LIMIT_EXCEEDED:"Memory Limit Exceeded",OUTPUT_LIMIT_EXCEEDED:"Output Limit Exceeded",IDLENESS_LIMIT_EXCEEDED:"Idleness Limit Exceeded",HACKED:"Hacked",JUDGEMENT_FAILED:"Judgement Failed",CONFIGURATION_ERROR:"Configuration Error",FILE_ERROR:"File Error",SYSTEM_ERROR:"System Error",CANCELED:"Canceled",SKIPPED:"Skipped",SECURITY_VIOLATED:"Security Violated",DENIAL_OF_JUDGEMENT:"Denial Of Judgement",UNKNOWN:"Unknown",UNDEFINED:"Undefined"},AH={PENDING:"PD",WAITING:"PD",PREPARING:"PD",COMPILING:"PD",RUNNING:"PD",JUDGING:"PD",FROZEN:"?",ACCEPTED:"AC",CORRECT:"AC",PARTIALLY_CORRECT:"RJ",REJECTED:"RJ",WRONG_ANSWER:"WA",NO_OUTPUT:"NO",COMPILATION_ERROR:"CE",PRESENTATION_ERROR:"PE",RUNTIME_ERROR:"RTE",TIME_LIMIT_EXCEEDED:"TLE",MEMORY_LIMIT_EXCEEDED:"MLE",OUTPUT_LIMIT_EXCEEDED:"OLE",IDLENESS_LIMIT_EXCEEDED:"ILE",HACKED:"RJ",JUDGEMENT_FAILED:"RJ",CONFIGURATION_ERROR:"RJ",FILE_ERROR:"RJ",SYSTEM_ERROR:"RJ",CANCELED:"RJ",SKIPPED:"RJ",SECURITY_VIOLATED:"RJ",DENIAL_OF_JUDGEMENT:"RJ",UNKNOWN:"RJ",UNDEFINED:"RJ"},jI={"mt-8":"","py-4":"","md:py-8":"","lg:py-10":"","w-full":"",flex:"","justify-center":"","items-center":""},YI={"text-center":"","w-full":""},KI={"mb-6":"","w-full":"",flex:"","flex-wrap":"","items-center":"","justify-center":"","text-gray-900":"","dark:text-white":""},qI={"mr-4":"","md:mr-6":""},QI=["href"],XI={flex:"","justify-center":"","items-start":"","flex-col":""},JI={"mr-4":"","md:mr-6":""},ZI={flex:"","justify-center":"","items-start":"","flex-col":""},eP={"text-sm":"","text-gray-500":"","sm:text-center":"","dark:text-gray-400":"","w-full":""},tP=ui({__name:"Footer",setup(t){return(r,i)=>{const o=ca("RouterLink"),n=zT;return Hr(),Fn("footer",jI,[It("div",YI,[Cr(o,{flex:"","items-center":"","justify-center":"","text-2xl":"","font-semibold":"","text-gray-900":"","dark:text-white":"",to:"/"},{default:Gi(()=>i[0]||(i[0]=[It("div",{"i-ion-balloon-sharp":"","mr-4":"","h-8":""},null,-1),Wa(" Get more balloons ")])),_:1}),i[6]||(i[6]=It("p",{"my-6":"","text-gray-500":"","dark:text-gray-400":"","w-full":"",flex:"","justify-center":""}," Open-source project of ICPC/CCPC Standings. ",-1)),It("ul",KI,[It("li",null,[Cr(o,{to:"/","mr-4":"","md:mr-6":"","hover:underline":""},{default:Gi(()=>i[1]||(i[1]=[Wa(" Home ")])),_:1})]),It("li",null,[It("div",qI,[Cr(n,null,{popper:Gi(()=>[It("div",XI,[It("div",null,"Tag: "+vi(Zt(zI)),1),It("div",null,"Sha: "+vi(Zt(VI)),1)])]),default:Gi(()=>[It("a",{href:Zt(GT),"hover:underline":"",rel:"noreferrer",target:"_blank",title:"GitHub"}," GitHub ",8,QI)]),_:1})])]),It("li",null,[It("div",JI,[Cr(n,null,{popper:Gi(()=>[It("div",ZI,[It("div",null,"CDN Host: "+vi("CDN_HOST"in r?r.CDN_HOST:Zt($I)),1),It("div",null,"DATA Host: "+vi("DATA_HOST"in r?r.DATA_HOST:Zt(VT)),1),It("div",null,"Data Region: "+vi("DATA_REGION"in r?r.DATA_REGION:Zt(WI)),1)])]),default:Gi(()=>[i[2]||(i[2]=It("a",{href:"mailto:hi@dup4.com","hover:underline":""}," Contact ",-1))]),_:1})])])]),It("span",eP,[i[4]||(i[4]=Wa("© 2020-PRESENT ")),Cr(o,{to:"/","hover:underline":""},{default:Gi(()=>i[3]||(i[3]=[Wa("XCPCIO™")])),_:1}),i[5]||(i[5]=Wa(". All Rights Reserved."))])])])}}});function Za(t){return Vv()?(r3(t),!0):!1}function Sy(){const t=new Set,r=n=>{t.delete(n)};return{on:n=>{t.add(n);const e=()=>r(n);return Za(e),{off:e}},off:r,trigger:(...n)=>Promise.all(Array.from(t).map(e=>e(...n)))}}function Hn(t){return typeof t=="function"?t():Zt(t)}const Sh=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const rP=t=>typeof t<"u",jT=t=>t!=null,nP=Object.prototype.toString,iP=t=>nP.call(t)==="[object Object]",Vc=()=>{};function YT(t,r){function i(...o){return new Promise((n,e)=>{Promise.resolve(t(()=>r.apply(this,o),{fn:r,thisArg:this,args:o})).then(n).catch(e)})}return i}const KT=t=>t();function sP(...t){let r=0,i,o=!0,n=Vc,e,f,v,_,w;!un(t[0])&&typeof t[0]=="object"?{delay:f,trailing:v=!0,leading:_=!0,rejectOnCancel:w=!1}=t[0]:[f,v=!0,_=!0,w=!1]=t;const F=()=>{i&&(clearTimeout(i),i=void 0,n(),n=Vc)};return C=>{const O=Hn(f),N=Date.now()-r,B=()=>e=C();return F(),O<=0?(r=Date.now(),B()):(N>O&&(_||!o)?(r=Date.now(),B()):v&&(e=new Promise((V,G)=>{n=w?G:V,i=setTimeout(()=>{r=Date.now(),o=!0,V(B()),F()},Math.max(0,O-N))})),!_&&!i&&(i=setTimeout(()=>o=!0,O)),o=!1,e)}}function oP(t=KT){const r=er(!0);function i(){r.value=!1}function o(){r.value=!0}const n=(...e)=>{r.value&&t(...e)};return{isActive:zl(r),pause:i,resume:o,eventFilter:n}}function bE(t,r=!1,i="Timeout"){return new Promise((o,n)=>{setTimeout(r?()=>n(i):o,t)})}function aP(t){let r;function i(){return r||(r=t()),r}return i.reset=async()=>{const o=r;r=void 0,o&&await o},i}function lP(t,...r){return r.some(i=>i in t)}function qT(t){return t||xi()}function X1(...t){if(t.length!==1)return a6(...t);const r=t[0];return typeof r=="function"?zl(Jv(()=>({get:r,set:Vc}))):er(r)}function CH(t,r=200,i=!1,o=!0,n=!1){return YT(sP(r,i,o,n),t)}function cP(t,r,i={}){const{eventFilter:o=KT,...n}=i;return In(t,YT(o,r),n)}function uP(t,r,i={}){const{eventFilter:o,...n}=i,{eventFilter:e,pause:f,resume:v,isActive:_}=oP(o);return{stop:cP(t,r,{...n,eventFilter:e}),pause:f,resume:v,isActive:_}}function fP(t,r){qT(r)&&Ih(t,r)}function QT(t,r=!0,i){qT()?da(t,i):r?t():bo(t)}function B4(t,r=!1){function i(T,{flush:C="sync",deep:O=!1,timeout:N,throwOnTimeout:B}={}){let V=null;const X=[new Promise(H=>{V=In(t,z=>{T(z)!==r&&(V==null||V(),H(z))},{flush:C,deep:O,immediate:!0})})];return N!=null&&X.push(bE(N,B).then(()=>Hn(t)).finally(()=>V==null?void 0:V())),Promise.race(X)}function o(T,C){if(!un(T))return i(z=>z===T,C);const{flush:O="sync",deep:N=!1,timeout:B,throwOnTimeout:V}=C??{};let G=null;const H=[new Promise(z=>{G=In([t,T],([Y,ee])=>{r!==(Y===ee)&&(G==null||G(),z(Y))},{flush:O,deep:N,immediate:!0})})];return B!=null&&H.push(bE(B,V).then(()=>Hn(t)).finally(()=>(G==null||G(),Hn(t)))),Promise.race(H)}function n(T){return i(C=>!!C,T)}function e(T){return o(null,T)}function f(T){return o(void 0,T)}function v(T){return i(Number.isNaN,T)}function _(T,C){return i(O=>{const N=Array.from(O);return N.includes(T)||N.includes(Hn(T))},C)}function w(T){return F(1,T)}function F(T=1,C){let O=-1;return i(()=>(O+=1,O>=T),C)}return Array.isArray(Hn(t))?{toMatch:i,toContains:_,changed:w,changedTimes:F,get not(){return B4(t,!r)}}:{toMatch:i,toBe:o,toBeTruthy:n,toBeNull:e,toBeNaN:v,toBeUndefined:f,changed:w,changedTimes:F,get not(){return B4(t,!r)}}}function hP(t){return B4(t)}function dP(t,r=1e3,i={}){const{immediate:o=!0,immediateCallback:n=!1}=i;let e=null;const f=er(!1);function v(){e&&(clearInterval(e),e=null)}function _(){f.value=!1,v()}function w(){const F=Hn(r);F<=0||(f.value=!0,n&&t(),v(),e=setInterval(t,F))}if(o&&Sh&&w(),un(r)||typeof r=="function"){const F=In(r,()=>{f.value&&Sh&&w()});Za(F)}return Za(_),{isActive:f,pause:_,resume:w}}function XT(t,r,i={}){const{immediate:o=!0}=i,n=er(!1);let e=null;function f(){e&&(clearTimeout(e),e=null)}function v(){n.value=!1,f()}function _(...w){f(),n.value=!0,e=setTimeout(()=>{n.value=!1,e=null,t(...w)},Hn(r))}return o&&(n.value=!0,Sh&&_()),Za(v),{isPending:zl(n),start:_,stop:v}}function pP(t=!1,r={}){const{truthyValue:i=!0,falsyValue:o=!1}=r,n=un(t),e=er(t);function f(v){if(arguments.length)return e.value=v,e.value;{const _=Hn(i);return e.value=e.value===_?Hn(o):_,e.value}}return n?f:[e,f]}function sh(t){var r;const i=Hn(t);return(r=i==null?void 0:i.$el)!=null?r:i}const Zs=Sh?window:void 0,JT=Sh?window.document:void 0,ZT=Sh?window.navigator:void 0;function sa(...t){let r,i,o,n;if(typeof t[0]=="string"||Array.isArray(t[0])?([i,o,n]=t,r=Zs):[r,i,o,n]=t,!r)return Vc;Array.isArray(i)||(i=[i]),Array.isArray(o)||(o=[o]);const e=[],f=()=>{e.forEach(F=>F()),e.length=0},v=(F,T,C,O)=>(F.addEventListener(T,C,O),()=>F.removeEventListener(T,C,O)),_=In(()=>[sh(r),Hn(n)],([F,T])=>{if(f(),!F)return;const C=iP(T)?{...T}:T;e.push(...i.flatMap(O=>o.map(N=>v(F,O,N,C))))},{immediate:!0,flush:"post"}),w=()=>{_(),f()};return Za(w),w}function mP(t){return typeof t=="function"?t:typeof t=="string"?r=>r.key===t:Array.isArray(t)?r=>t.includes(r.key):()=>!0}function SH(...t){let r,i,o={};t.length===3?(r=t[0],i=t[1],o=t[2]):t.length===2?typeof t[1]=="object"?(r=!0,i=t[0],o=t[1]):(r=t[0],i=t[1]):(r=!0,i=t[0]);const{target:n=Zs,eventName:e="keydown",passive:f=!1,dedupe:v=!1}=o,_=mP(r);return sa(n,e,F=>{F.repeat&&Hn(v)||_(F)&&i(F)},f)}function gP(){const t=er(!1),r=xi();return r&&da(()=>{t.value=!0},r),t}function Bp(t){const r=gP();return Sr(()=>(r.value,!!t()))}function vP(t,r,i={}){const{window:o=Zs,...n}=i;let e;const f=Bp(()=>o&&"MutationObserver"in o),v=()=>{e&&(e.disconnect(),e=void 0)},_=Sr(()=>{const C=Hn(t),O=(Array.isArray(C)?C:[C]).map(sh).filter(jT);return new Set(O)}),w=In(()=>_.value,C=>{v(),f.value&&C.size&&(e=new MutationObserver(r),C.forEach(O=>e.observe(O,n)))},{immediate:!0,flush:"post"}),F=()=>e==null?void 0:e.takeRecords(),T=()=>{v(),w()};return Za(T),{isSupported:f,stop:T,takeRecords:F}}function bP(t,r={}){const{immediate:i=!0,fpsLimit:o=void 0,window:n=Zs}=r,e=er(!1),f=o?1e3/o:null;let v=0,_=null;function w(C){if(!e.value||!n)return;v||(v=C);const O=C-v;if(f&&O<f){_=n.requestAnimationFrame(w);return}v=C,t({delta:O,timestamp:C}),_=n.requestAnimationFrame(w)}function F(){!e.value&&n&&(e.value=!0,v=0,_=n.requestAnimationFrame(w))}function T(){e.value=!1,_!=null&&n&&(n.cancelAnimationFrame(_),_=null)}return i&&F(),Za(T),{isActive:zl(e),pause:T,resume:F}}function _P(t,r={}){const{window:i=Zs}=r,o=Bp(()=>i&&"matchMedia"in i&&typeof i.matchMedia=="function");let n;const e=er(!1),f=w=>{e.value=w.matches},v=()=>{n&&("removeEventListener"in n?n.removeEventListener("change",f):n.removeListener(f))},_=F3(()=>{o.value&&(v(),n=i.matchMedia(Hn(t)),"addEventListener"in n?n.addEventListener("change",f):n.addListener(f),e.value=n.matches)});return Za(()=>{_(),v(),n=void 0}),e}function _E(t,r={}){const{controls:i=!1,navigator:o=ZT}=r,n=Bp(()=>o&&"permissions"in o);let e;const f=typeof t=="string"?{name:t}:t,v=er(),_=()=>{e&&(v.value=e.state)},w=aP(async()=>{if(n.value){if(!e)try{e=await o.permissions.query(f),sa(e,"change",_),_()}catch{v.value="prompt"}return e}});return w(),i?{state:v,isSupported:n,query:w}:v}function kH(t={}){const{navigator:r=ZT,read:i=!1,source:o,copiedDuring:n=1500,legacy:e=!1}=t,f=Bp(()=>r&&"clipboard"in r),v=_E("clipboard-read"),_=_E("clipboard-write"),w=Sr(()=>f.value||e),F=er(""),T=er(!1),C=XT(()=>T.value=!1,n);function O(){f.value&&G(v.value)?r.clipboard.readText().then(X=>{F.value=X}):F.value=V()}w.value&&i&&sa(["copy","cut"],O);async function N(X=Hn(o)){w.value&&X!=null&&(f.value&&G(_.value)?await r.clipboard.writeText(X):B(X),F.value=X,T.value=!0,C.start())}function B(X){const H=document.createElement("textarea");H.value=X??"",H.style.position="absolute",H.style.opacity="0",document.body.appendChild(H),H.select(),document.execCommand("copy"),H.remove()}function V(){var X,H,z;return(z=(H=(X=document==null?void 0:document.getSelection)==null?void 0:X.call(document))==null?void 0:H.toString())!=null?z:""}function G(X){return X==="granted"||X==="prompt"}return{isSupported:w,text:F,copied:T,copy:N}}function yP(t){return JSON.parse(JSON.stringify(t))}const T2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},x2="__vueuse_ssr_handlers__",DP=wP();function wP(){return x2 in T2||(T2[x2]=T2[x2]||{}),T2[x2]}function ex(t,r){return DP[t]||r}function EP(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const FP={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},yE="vueuse-storage";function TP(t,r,i,o={}){var n;const{flush:e="pre",deep:f=!0,listenToStorageChanges:v=!0,writeDefaults:_=!0,mergeDefaults:w=!1,shallow:F,window:T=Zs,eventFilter:C,onError:O=W=>{console.error(W)},initOnMounted:N}=o,B=(F?Wc:er)(typeof r=="function"?r():r);if(!i)try{i=ex("getDefaultStorage",()=>{var W;return(W=Zs)==null?void 0:W.localStorage})()}catch(W){O(W)}if(!i)return B;const V=Hn(r),G=EP(V),X=(n=o.serializer)!=null?n:FP[G],{pause:H,resume:z}=uP(B,()=>ee(B.value),{flush:e,deep:f,eventFilter:C});T&&v&&QT(()=>{sa(T,"storage",P),sa(T,yE,I),N&&P()}),N||P();function Y(W,oe){T&&T.dispatchEvent(new CustomEvent(yE,{detail:{key:t,oldValue:W,newValue:oe,storageArea:i}}))}function ee(W){try{const oe=i.getItem(t);if(W==null)Y(oe,null),i.removeItem(t);else{const ae=X.write(W);oe!==ae&&(i.setItem(t,ae),Y(oe,ae))}}catch(oe){O(oe)}}function K(W){const oe=W?W.newValue:i.getItem(t);if(oe==null)return _&&V!=null&&i.setItem(t,X.write(V)),V;if(!W&&w){const ae=X.read(oe);return typeof w=="function"?w(ae,V):G==="object"&&!Array.isArray(ae)?{...V,...ae}:ae}else return typeof oe!="string"?oe:X.read(oe)}function P(W){if(!(W&&W.storageArea!==i)){if(W&&W.key==null){B.value=V;return}if(!(W&&W.key!==t)){H();try{(W==null?void 0:W.newValue)!==X.write(B.value)&&(B.value=K(W))}catch(oe){O(oe)}finally{W?bo(z):z()}}}}function I(W){P(W.detail)}return B}function rD(t){return _P("(prefers-color-scheme: dark)",t)}function xP(t={}){const{selector:r="html",attribute:i="class",initialValue:o="auto",window:n=Zs,storage:e,storageKey:f="vueuse-color-scheme",listenToStorageChanges:v=!0,storageRef:_,emitAuto:w,disableTransition:F=!0}=t,T={auto:"",light:"light",dark:"dark",...t.modes||{}},C=rD({window:n}),O=Sr(()=>C.value?"dark":"light"),N=_||(f==null?X1(o):TP(f,o,e,{window:n,listenToStorageChanges:v})),B=Sr(()=>N.value==="auto"?O.value:N.value),V=ex("updateHTMLAttrs",(z,Y,ee)=>{const K=typeof z=="string"?n==null?void 0:n.document.querySelector(z):sh(z);if(!K)return;let P;if(F){P=n.document.createElement("style");const I="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";P.appendChild(document.createTextNode(I)),n.document.head.appendChild(P)}if(Y==="class"){const I=ee.split(/\s/g);Object.values(T).flatMap(W=>(W||"").split(/\s/g)).filter(Boolean).forEach(W=>{I.includes(W)?K.classList.add(W):K.classList.remove(W)})}else K.setAttribute(Y,ee);F&&(n.getComputedStyle(P).opacity,document.head.removeChild(P))});function G(z){var Y;V(r,i,(Y=T[z])!=null?Y:z)}function X(z){t.onChanged?t.onChanged(z,G):G(z)}In(B,X,{flush:"post",immediate:!0}),QT(()=>X(B.value));const H=Sr({get(){return w?N.value:B.value},set(z){N.value=z}});try{return Object.assign(H,{store:N,system:O,state:B})}catch{return H}}function AP(t={}){const{valueDark:r="dark",valueLight:i="",window:o=Zs}=t,n=xP({...t,onChanged:(v,_)=>{var w;t.onChanged?(w=t.onChanged)==null||w.call(t,v==="dark",_,v):_(v)},modes:{dark:r,light:i}}),e=Sr(()=>n.system?n.system.value:rD({window:o}).value?"dark":"light");return Sr({get(){return n.value==="dark"},set(v){const _=v?"dark":"light";e.value===_?n.value="auto":n.value=_}})}function OH(t={}){const{document:r=JT}=t;if(!r)return er("visible");const i=er(r.visibilityState);return sa(r,"visibilitychange",()=>{i.value=r.visibilityState}),i}function CP(t,r,i={}){const{root:o,rootMargin:n="0px",threshold:e=.1,window:f=Zs,immediate:v=!0}=i,_=Bp(()=>f&&"IntersectionObserver"in f),w=Sr(()=>{const N=Hn(t);return(Array.isArray(N)?N:[N]).map(sh).filter(jT)});let F=Vc;const T=er(v),C=_.value?In(()=>[w.value,sh(o),T.value],([N,B])=>{if(F(),!T.value||!N.length)return;const V=new IntersectionObserver(r,{root:sh(B),rootMargin:n,threshold:e});N.forEach(G=>G&&V.observe(G)),F=()=>{V.disconnect(),F=Vc}},{immediate:v,flush:"post"}):Vc,O=()=>{F(),C(),T.value=!1};return Za(O),{isSupported:_,isActive:T,pause(){F(),T.value=!1},resume(){T.value=!0},stop:O}}function SP(t,r={}){const{window:i=Zs,scrollTarget:o,threshold:n=0}=r,e=er(!1);return CP(t,f=>{let v=e.value,_=0;for(const w of f)w.time>=_&&(_=w.time,v=w.isIntersecting);e.value=v},{root:o,window:i,threshold:n}),e}const kP={json:"application/json",text:"text/plain"};function DE(t){return t&&lP(t,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function ky(t){return typeof Headers<"u"&&t instanceof Headers?Object.fromEntries(t.entries()):t}function OP(t,...r){var i;const o=typeof AbortController=="function";let n={},e={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const f={method:"GET",type:"text",payload:void 0};r.length>0&&(DE(r[0])?e={...e,...r[0]}:n=r[0]),r.length>1&&DE(r[1])&&(e={...e,...r[1]});const{fetch:v=(i=Zs)==null?void 0:i.fetch,initialData:_,timeout:w}=e,F=Sy(),T=Sy(),C=Sy(),O=er(!1),N=er(!1),B=er(!1),V=er(null),G=Wc(null),X=Wc(null),H=Wc(_||null),z=Sr(()=>o&&N.value);let Y,ee;const K=()=>{o&&(Y==null||Y.abort(),Y=new AbortController,Y.signal.onabort=()=>B.value=!0,n={...n,signal:Y.signal})},P=ve=>{N.value=ve,O.value=!ve};w&&(ee=XT(K,w,{immediate:!1}));let I=0;const W=async(ve=!1)=>{var fe,Fe;K(),P(!0),X.value=null,V.value=null,B.value=!1,I+=1;const Oe=I,Re={method:f.method,headers:{}};if(f.payload){const ke=ky(Re.headers),ge=Hn(f.payload);!f.payloadType&&ge&&Object.getPrototypeOf(ge)===Object.prototype&&!(ge instanceof FormData)&&(f.payloadType="json"),f.payloadType&&(ke["Content-Type"]=(fe=kP[f.payloadType])!=null?fe:f.payloadType),Re.body=f.payloadType==="json"?JSON.stringify(ge):ge}let ce=!1;const De={url:Hn(t),options:{...Re,...n},cancel:()=>{ce=!0}};if(e.beforeFetch&&Object.assign(De,await e.beforeFetch(De)),ce||!v)return P(!1),Promise.resolve(null);let We=null;return ee&&ee.start(),v(De.url,{...Re,...De.options,headers:{...ky(Re.headers),...ky((Fe=De.options)==null?void 0:Fe.headers)}}).then(async ke=>{if(G.value=ke,V.value=ke.status,We=await ke.clone()[f.type](),!ke.ok)throw H.value=_||null,new Error(ke.statusText);return e.afterFetch&&({data:We}=await e.afterFetch({data:We,response:ke})),H.value=We,F.trigger(ke),ke}).catch(async ke=>{let ge=ke.message||ke.name;if(e.onFetchError&&({error:ge,data:We}=await e.onFetchError({data:We,error:ke,response:G.value})),X.value=ge,e.updateDataOnError&&(H.value=We),T.trigger(ke),ve)throw ke;return null}).finally(()=>{Oe===I&&P(!1),ee&&ee.stop(),C.trigger(null)})},oe=X1(e.refetch);In([oe,X1(t)],([ve])=>ve&&W(),{deep:!0});const ae={isFinished:zl(O),isFetching:zl(N),statusCode:V,response:G,error:X,data:H,canAbort:z,aborted:B,abort:K,execute:W,onFetchResponse:F.on,onFetchError:T.on,onFetchFinally:C.on,get:be("GET"),put:be("PUT"),post:be("POST"),delete:be("DELETE"),patch:be("PATCH"),head:be("HEAD"),options:be("OPTIONS"),json:Ue("json"),text:Ue("text"),blob:Ue("blob"),arrayBuffer:Ue("arrayBuffer"),formData:Ue("formData")};function be(ve){return(fe,Fe)=>{if(!N.value)return f.method=ve,f.payload=fe,f.payloadType=Fe,un(f.payload)&&In([oe,X1(f.payload)],([Oe])=>Oe&&W(),{deep:!0}),{...ae,then(Oe,Re){return Ee().then(Oe,Re)}}}}function Ee(){return new Promise((ve,fe)=>{hP(O).toBe(!0).then(()=>ve(ae)).catch(Fe=>fe(Fe))})}function Ue(ve){return()=>{if(!N.value)return f.type=ve,{...ae,then(fe,Fe){return Ee().then(fe,Fe)}}}}return e.immediate&&Promise.resolve().then(()=>W()),{...ae,then(ve,fe){return Ee().then(ve,fe)}}}const RP={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function RH(t={}){const{reactive:r=!1,target:i=Zs,aliasMap:o=RP,passive:n=!0,onEventFired:e=Vc}=t,f=Kc(new Set),v={toJSON(){return{}},current:f},_=r?Kc(v):v,w=new Set,F=new Set;function T(B,V){B in _&&(r?_[B]=V:_[B].value=V)}function C(){f.clear();for(const B of F)T(B,!1)}function O(B,V){var G,X;const H=(G=B.key)==null?void 0:G.toLowerCase(),Y=[(X=B.code)==null?void 0:X.toLowerCase(),H].filter(Boolean);H&&(V?f.add(H):f.delete(H));for(const ee of Y)F.add(ee),T(ee,V);H==="meta"&&!V?(w.forEach(ee=>{f.delete(ee),T(ee,!1)}),w.clear()):typeof B.getModifierState=="function"&&B.getModifierState("Meta")&&V&&[...f,...Y].forEach(ee=>w.add(ee))}sa(i,"keydown",B=>(O(B,!0),e(B)),{passive:n}),sa(i,"keyup",B=>(O(B,!1),e(B)),{passive:n}),sa("blur",C,{passive:!0}),sa("focus",C,{passive:!0});const N=new Proxy(_,{get(B,V,G){if(typeof V!="string")return Reflect.get(B,V,G);if(V=V.toLowerCase(),V in o&&(V=o[V]),!(V in _))if(/[+_-]/.test(V)){const H=V.split(/[+_-]/g).map(z=>z.trim());_[V]=Sr(()=>H.every(z=>Hn(N[z])))}else _[V]=er(!1);const X=Reflect.get(B,V,G);return r?Hn(X):X}});return N}function tx(t={}){const{controls:r=!1,interval:i="requestAnimationFrame"}=t,o=er(new Date),n=()=>o.value=new Date,e=i==="requestAnimationFrame"?bP(n,{immediate:!0}):dP(n,i,{immediate:!0});return r?{now:o,...e}:o}function IP(t=null,r={}){var i,o,n;const{document:e=JT,restoreOnUnmount:f=T=>T}=r,v=(i=e==null?void 0:e.title)!=null?i:"",_=X1((o=t??(e==null?void 0:e.title))!=null?o:null),w=t&&typeof t=="function";function F(T){if(!("titleTemplate"in r))return T;const C=r.titleTemplate||"%s";return typeof C=="function"?C(T):Hn(C).replace(/%s/g,T)}return In(_,(T,C)=>{T!==C&&e&&(e.title=F(typeof T=="string"?T:""))},{immediate:!0}),r.observe&&!r.titleTemplate&&e&&!w&&vP((n=e.head)==null?void 0:n.querySelector("title"),()=>{e&&e.title!==_.value&&(_.value=F(e.title))},{childList:!0}),fP(()=>{if(f){const T=f(v,_.value||"");T!=null&&e&&(e.title=T)}}),_}function wE(t,r,i,o={}){var n,e,f;const{clone:v=!1,passive:_=!1,eventName:w,deep:F=!1,defaultValue:T,shouldEmit:C}=o,O=xi(),N=i||(O==null?void 0:O.emit)||((n=O==null?void 0:O.$emit)==null?void 0:n.bind(O))||((f=(e=O==null?void 0:O.proxy)==null?void 0:e.$emit)==null?void 0:f.bind(O==null?void 0:O.proxy));let B=w;r||(r="modelValue"),B=B||`update:${r.toString()}`;const V=H=>v?typeof v=="function"?v(H):yP(H):H,G=()=>rP(t[r])?V(t[r]):T,X=H=>{C?C(H)&&N(B,H):N(B,H)};if(_){const H=G(),z=er(H);let Y=!1;return In(()=>t[r],ee=>{Y||(Y=!0,z.value=V(ee),bo(()=>Y=!1))}),In(z,ee=>{!Y&&(ee!==t[r]||F)&&X(ee)},{deep:F}),z}else return Sr({get(){return G()},set(H){X(H)}})}function PP(t={}){const{window:r=Zs,behavior:i="auto"}=t;if(!r)return{x:er(0),y:er(0)};const o=er(r.scrollX),n=er(r.scrollY),e=Sr({get(){return o.value},set(v){scrollTo({left:v,behavior:i})}}),f=Sr({get(){return n.value},set(v){scrollTo({top:v,behavior:i})}});return sa(r,"scroll",()=>{o.value=r.scrollX,n.value=r.scrollY},{capture:!1,passive:!0}),{x:e,y:f}}const rx=AP(),NP=pP(rx),LP=rD(),MP={class:"right","print:op0":""},BP=["title"],UP=["title"],HP=["href"],$P=["href"],WP=ui({__name:"NavBar",props:{width:null},setup(t){const r=t,{t:i,locale:o}=Ph(),{y:n}=PP(),e=gT();function f(){window.scrollTo({top:0,behavior:"smooth"})}async function v(){const w=K5,F=w[(w.indexOf(o.value)+1)%w.length];await I3(F),o.value=F}const _=Sr(()=>e.fullPath.startsWith("/rating")?"/rating":"/");return(w,F)=>{const T=ca("RouterLink");return Hr(),Fn("header",{class:Is(["header z-40",[(r==null?void 0:r.width)??""]])},[It("button",{title:"Scroll to top",fixed:"","bottom-6":"","right-6":"","z-100":"","h-10":"","w-10":"","rounded-full":"",transition:"","duration-300":"","print:hidden":"","hover-bg-hex-8883":"","hover:op100":"",class:Is(Zt(n)>300?"op30":"op0! pointer-events-none"),onClick:F[0]||(F[0]=C=>f())},F[3]||(F[3]=[It("div",{"i-ri-arrow-up-line":""},null,-1)]),2),It("nav",{class:Is(["nav",[r!=null&&r.width?"":"fixed"]]),"text-xl":""},[F[9]||(F[9]=It("div",{class:"spacer"},null,-1)),It("div",MP,[Cr(T,{"icon-btn":"",title:Zt(i)("button.home"),to:Zt(_),focusable:"false"},{default:Gi(()=>F[4]||(F[4]=[It("div",{"i-ion-balloon-sharp":""},null,-1)])),_:1},8,["title","to"]),It("a",{"icon-btn":"",title:Zt(i)("button.toggle_langs"),onClick:F[1]||(F[1]=C=>v())},F[5]||(F[5]=[It("div",{"i-carbon-language":""},null,-1)]),8,BP),It("a",{"icon-btn":"",title:Zt(i)("button.toggle_dark"),onClick:F[2]||(F[2]=C=>("toggleDark"in w?w.toggleDark:Zt(NP))())},F[6]||(F[6]=[It("div",{i:"carbon-sun dark:carbon-moon"},null,-1)]),8,UP),It("a",{"icon-btn":"",rel:"noreferrer",href:Zt(GT),target:"_blank",title:"GitHub"},F[7]||(F[7]=[It("div",{"i-carbon-logo-github":""},null,-1)]),8,HP),It("a",{"icon-btn":"",rel:"noreferrer",href:Zt(GI),target:"_blank",title:"GitHub"},F[8]||(F[8]=[It("div",{"i-simple-icons-githubsponsors":""},null,-1)]),8,$P)])],2)],2)}}});const Nh=(t,r)=>{const i=t.__vccOpts||t;for(const[o,n]of r)i[o]=n;return i},zP=Nh(WP,[["__scopeId","data-v-e157f5ef"]]),VP={},GP={"py-10":"","text-gray-700":"","dark:text-gray-200":""};function jP(t,r){const i=zP,o=ca("RouterView"),n=tP;return Hr(),Fn(Yn,null,[Cr(i),It("main",GP,[Cr(o),Cr(n)])],64)}const YP=Nh(VP,[["render",jP]]),KP={"board-layout":()=>fs(()=>import("./board-layout-598f9ee4.js"),[],import.meta.url),default:YP,headless:()=>fs(()=>import("./headless-e015e9d1.js"),[],import.meta.url),home:()=>fs(()=>import("./home-89f287c8.js"),[],import.meta.url),"index-layout":()=>fs(()=>import("./index-layout-60ef1a96.js"),[],import.meta.url)};function qP(t){return t.map(r=>{var i;return{path:r.path,meta:r.meta,component:KP[((i=r.meta)==null?void 0:i.layout)||"default"],children:r.path==="/"?[r]:[{...r,path:""}]}})}const QP=["top","right","bottom","left"],EE=["start","end"],FE=QP.reduce((t,r)=>t.concat(r,r+"-"+EE[0],r+"-"+EE[1]),[]),_p=Math.min,cf=Math.max,XP={left:"right",right:"left",bottom:"top",top:"bottom"},JP={start:"end",end:"start"};function U4(t,r,i){return cf(t,_p(r,i))}function Of(t,r){return typeof t=="function"?t(r):t}function el(t){return t.split("-")[0]}function la(t){return t.split("-")[1]}function nx(t){return t==="x"?"y":"x"}function nD(t){return t==="y"?"height":"width"}function Tf(t){return["top","bottom"].includes(el(t))?"y":"x"}function iD(t){return nx(Tf(t))}function ix(t,r,i){i===void 0&&(i=!1);const o=la(t),n=iD(t),e=nD(n);let f=n==="x"?o===(i?"end":"start")?"right":"left":o==="start"?"bottom":"top";return r.reference[e]>r.floating[e]&&(f=Sv(f)),[f,Sv(f)]}function ZP(t){const r=Sv(t);return[Cv(t),r,Cv(r)]}function Cv(t){return t.replace(/start|end/g,r=>JP[r])}function eN(t,r,i){const o=["left","right"],n=["right","left"],e=["top","bottom"],f=["bottom","top"];switch(t){case"top":case"bottom":return i?r?n:o:r?o:n;case"left":case"right":return r?e:f;default:return[]}}function tN(t,r,i,o){const n=la(t);let e=eN(el(t),i==="start",o);return n&&(e=e.map(f=>f+"-"+n),r&&(e=e.concat(e.map(Cv)))),e}function Sv(t){return t.replace(/left|right|bottom|top/g,r=>XP[r])}function rN(t){return{top:0,right:0,bottom:0,left:0,...t}}function sx(t){return typeof t!="number"?rN(t):{top:t,right:t,bottom:t,left:t}}function J1(t){const{x:r,y:i,width:o,height:n}=t;return{width:o,height:n,top:i,left:r,right:r+o,bottom:i+n,x:r,y:i}}function TE(t,r,i){let{reference:o,floating:n}=t;const e=Tf(r),f=iD(r),v=nD(f),_=el(r),w=e==="y",F=o.x+o.width/2-n.width/2,T=o.y+o.height/2-n.height/2,C=o[v]/2-n[v]/2;let O;switch(_){case"top":O={x:F,y:o.y-n.height};break;case"bottom":O={x:F,y:o.y+o.height};break;case"right":O={x:o.x+o.width,y:T};break;case"left":O={x:o.x-n.width,y:T};break;default:O={x:o.x,y:o.y}}switch(la(r)){case"start":O[f]-=C*(i&&w?-1:1);break;case"end":O[f]+=C*(i&&w?-1:1);break}return O}const nN=async(t,r,i)=>{const{placement:o="bottom",strategy:n="absolute",middleware:e=[],platform:f}=i,v=e.filter(Boolean),_=await(f.isRTL==null?void 0:f.isRTL(r));let w=await f.getElementRects({reference:t,floating:r,strategy:n}),{x:F,y:T}=TE(w,o,_),C=o,O={},N=0;for(let B=0;B<v.length;B++){const{name:V,fn:G}=v[B],{x:X,y:H,data:z,reset:Y}=await G({x:F,y:T,initialPlacement:o,placement:C,strategy:n,middlewareData:O,rects:w,platform:f,elements:{reference:t,floating:r}});F=X??F,T=H??T,O={...O,[V]:{...O[V],...z}},Y&&N<=50&&(N++,typeof Y=="object"&&(Y.placement&&(C=Y.placement),Y.rects&&(w=Y.rects===!0?await f.getElementRects({reference:t,floating:r,strategy:n}):Y.rects),{x:F,y:T}=TE(w,C,_)),B=-1)}return{x:F,y:T,placement:C,strategy:n,middlewareData:O}};async function ub(t,r){var i;r===void 0&&(r={});const{x:o,y:n,platform:e,rects:f,elements:v,strategy:_}=t,{boundary:w="clippingAncestors",rootBoundary:F="viewport",elementContext:T="floating",altBoundary:C=!1,padding:O=0}=Of(r,t),N=sx(O),V=v[C?T==="floating"?"reference":"floating":T],G=J1(await e.getClippingRect({element:(i=await(e.isElement==null?void 0:e.isElement(V)))==null||i?V:V.contextElement||await(e.getDocumentElement==null?void 0:e.getDocumentElement(v.floating)),boundary:w,rootBoundary:F,strategy:_})),X=T==="floating"?{x:o,y:n,width:f.floating.width,height:f.floating.height}:f.reference,H=await(e.getOffsetParent==null?void 0:e.getOffsetParent(v.floating)),z=await(e.isElement==null?void 0:e.isElement(H))?await(e.getScale==null?void 0:e.getScale(H))||{x:1,y:1}:{x:1,y:1},Y=J1(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({elements:v,rect:X,offsetParent:H,strategy:_}):X);return{top:(G.top-Y.top+N.top)/z.y,bottom:(Y.bottom-G.bottom+N.bottom)/z.y,left:(G.left-Y.left+N.left)/z.x,right:(Y.right-G.right+N.right)/z.x}}const iN=t=>({name:"arrow",options:t,async fn(r){const{x:i,y:o,placement:n,rects:e,platform:f,elements:v,middlewareData:_}=r,{element:w,padding:F=0}=Of(t,r)||{};if(w==null)return{};const T=sx(F),C={x:i,y:o},O=iD(n),N=nD(O),B=await f.getDimensions(w),V=O==="y",G=V?"top":"left",X=V?"bottom":"right",H=V?"clientHeight":"clientWidth",z=e.reference[N]+e.reference[O]-C[O]-e.floating[N],Y=C[O]-e.reference[O],ee=await(f.getOffsetParent==null?void 0:f.getOffsetParent(w));let K=ee?ee[H]:0;(!K||!await(f.isElement==null?void 0:f.isElement(ee)))&&(K=v.floating[H]||e.floating[N]);const P=z/2-Y/2,I=K/2-B[N]/2-1,W=_p(T[G],I),oe=_p(T[X],I),ae=W,be=K-B[N]-oe,Ee=K/2-B[N]/2+P,Ue=U4(ae,Ee,be),ve=!_.arrow&&la(n)!=null&&Ee!==Ue&&e.reference[N]/2-(Ee<ae?W:oe)-B[N]/2<0,fe=ve?Ee<ae?Ee-ae:Ee-be:0;return{[O]:C[O]+fe,data:{[O]:Ue,centerOffset:Ee-Ue-fe,...ve&&{alignmentOffset:fe}},reset:ve}}});function sN(t,r,i){return(t?[...i.filter(n=>la(n)===t),...i.filter(n=>la(n)!==t)]:i.filter(n=>el(n)===n)).filter(n=>t?la(n)===t||(r?Cv(n)!==n:!1):!0)}const oN=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(r){var i,o,n;const{rects:e,middlewareData:f,placement:v,platform:_,elements:w}=r,{crossAxis:F=!1,alignment:T,allowedPlacements:C=FE,autoAlignment:O=!0,...N}=Of(t,r),B=T!==void 0||C===FE?sN(T||null,O,C):C,V=await ub(r,N),G=((i=f.autoPlacement)==null?void 0:i.index)||0,X=B[G];if(X==null)return{};const H=ix(X,e,await(_.isRTL==null?void 0:_.isRTL(w.floating)));if(v!==X)return{reset:{placement:B[0]}};const z=[V[el(X)],V[H[0]],V[H[1]]],Y=[...((o=f.autoPlacement)==null?void 0:o.overflows)||[],{placement:X,overflows:z}],ee=B[G+1];if(ee)return{data:{index:G+1,overflows:Y},reset:{placement:ee}};const K=Y.map(W=>{const oe=la(W.placement);return[W.placement,oe&&F?W.overflows.slice(0,2).reduce((ae,be)=>ae+be,0):W.overflows[0],W.overflows]}).sort((W,oe)=>W[1]-oe[1]),I=((n=K.filter(W=>W[2].slice(0,la(W[0])?2:3).every(oe=>oe<=0))[0])==null?void 0:n[0])||K[0][0];return I!==v?{data:{index:G+1,overflows:Y},reset:{placement:I}}:{}}}},aN=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(r){var i,o;const{placement:n,middlewareData:e,rects:f,initialPlacement:v,platform:_,elements:w}=r,{mainAxis:F=!0,crossAxis:T=!0,fallbackPlacements:C,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:N="none",flipAlignment:B=!0,...V}=Of(t,r);if((i=e.arrow)!=null&&i.alignmentOffset)return{};const G=el(n),X=Tf(v),H=el(v)===v,z=await(_.isRTL==null?void 0:_.isRTL(w.floating)),Y=C||(H||!B?[Sv(v)]:ZP(v)),ee=N!=="none";!C&&ee&&Y.push(...tN(v,B,N,z));const K=[v,...Y],P=await ub(r,V),I=[];let W=((o=e.flip)==null?void 0:o.overflows)||[];if(F&&I.push(P[G]),T){const Ee=ix(n,f,z);I.push(P[Ee[0]],P[Ee[1]])}if(W=[...W,{placement:n,overflows:I}],!I.every(Ee=>Ee<=0)){var oe,ae;const Ee=(((oe=e.flip)==null?void 0:oe.index)||0)+1,Ue=K[Ee];if(Ue)return{data:{index:Ee,overflows:W},reset:{placement:Ue}};let ve=(ae=W.filter(fe=>fe.overflows[0]<=0).sort((fe,Fe)=>fe.overflows[1]-Fe.overflows[1])[0])==null?void 0:ae.placement;if(!ve)switch(O){case"bestFit":{var be;const fe=(be=W.filter(Fe=>{if(ee){const Oe=Tf(Fe.placement);return Oe===X||Oe==="y"}return!0}).map(Fe=>[Fe.placement,Fe.overflows.filter(Oe=>Oe>0).reduce((Oe,Re)=>Oe+Re,0)]).sort((Fe,Oe)=>Fe[1]-Oe[1])[0])==null?void 0:be[0];fe&&(ve=fe);break}case"initialPlacement":ve=v;break}if(n!==ve)return{reset:{placement:ve}}}return{}}}};async function lN(t,r){const{placement:i,platform:o,elements:n}=t,e=await(o.isRTL==null?void 0:o.isRTL(n.floating)),f=el(i),v=la(i),_=Tf(i)==="y",w=["left","top"].includes(f)?-1:1,F=e&&_?-1:1,T=Of(r,t);let{mainAxis:C,crossAxis:O,alignmentAxis:N}=typeof T=="number"?{mainAxis:T,crossAxis:0,alignmentAxis:null}:{mainAxis:T.mainAxis||0,crossAxis:T.crossAxis||0,alignmentAxis:T.alignmentAxis};return v&&typeof N=="number"&&(O=v==="end"?N*-1:N),_?{x:O*F,y:C*w}:{x:C*w,y:O*F}}const cN=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){var i,o;const{x:n,y:e,placement:f,middlewareData:v}=r,_=await lN(r,t);return f===((i=v.offset)==null?void 0:i.placement)&&(o=v.arrow)!=null&&o.alignmentOffset?{}:{x:n+_.x,y:e+_.y,data:{..._,placement:f}}}}},uN=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(r){const{x:i,y:o,placement:n}=r,{mainAxis:e=!0,crossAxis:f=!1,limiter:v={fn:V=>{let{x:G,y:X}=V;return{x:G,y:X}}},..._}=Of(t,r),w={x:i,y:o},F=await ub(r,_),T=Tf(el(n)),C=nx(T);let O=w[C],N=w[T];if(e){const V=C==="y"?"top":"left",G=C==="y"?"bottom":"right",X=O+F[V],H=O-F[G];O=U4(X,O,H)}if(f){const V=T==="y"?"top":"left",G=T==="y"?"bottom":"right",X=N+F[V],H=N-F[G];N=U4(X,N,H)}const B=v.fn({...r,[C]:O,[T]:N});return{...B,data:{x:B.x-i,y:B.y-o,enabled:{[C]:e,[T]:f}}}}}},fN=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(r){var i,o;const{placement:n,rects:e,platform:f,elements:v}=r,{apply:_=()=>{},...w}=Of(t,r),F=await ub(r,w),T=el(n),C=la(n),O=Tf(n)==="y",{width:N,height:B}=e.floating;let V,G;T==="top"||T==="bottom"?(V=T,G=C===(await(f.isRTL==null?void 0:f.isRTL(v.floating))?"start":"end")?"left":"right"):(G=T,V=C==="end"?"top":"bottom");const X=B-F.top-F.bottom,H=N-F.left-F.right,z=_p(B-F[V],X),Y=_p(N-F[G],H),ee=!r.middlewareData.shift;let K=z,P=Y;if((i=r.middlewareData.shift)!=null&&i.enabled.x&&(P=H),(o=r.middlewareData.shift)!=null&&o.enabled.y&&(K=X),ee&&!C){const W=cf(F.left,0),oe=cf(F.right,0),ae=cf(F.top,0),be=cf(F.bottom,0);O?P=N-2*(W!==0||oe!==0?W+oe:cf(F.left,F.right)):K=B-2*(ae!==0||be!==0?ae+be:cf(F.top,F.bottom))}await _({...r,availableWidth:P,availableHeight:K});const I=await f.getDimensions(v.floating);return N!==I.width||B!==I.height?{reset:{rects:!0}}:{}}}};function No(t){var r;return((r=t.ownerDocument)==null?void 0:r.defaultView)||window}function ja(t){return No(t).getComputedStyle(t)}const xE=Math.min,Z1=Math.max,kv=Math.round;function ox(t){const r=ja(t);let i=parseFloat(r.width),o=parseFloat(r.height);const n=t.offsetWidth,e=t.offsetHeight,f=kv(i)!==n||kv(o)!==e;return f&&(i=n,o=e),{width:i,height:o,fallback:f}}function Xc(t){return lx(t)?(t.nodeName||"").toLowerCase():""}let A2;function ax(){if(A2)return A2;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(A2=t.brands.map(r=>r.brand+"/"+r.version).join(" "),A2):navigator.userAgent}function Ya(t){return t instanceof No(t).HTMLElement}function Gc(t){return t instanceof No(t).Element}function lx(t){return t instanceof No(t).Node}function AE(t){return typeof ShadowRoot>"u"?!1:t instanceof No(t).ShadowRoot||t instanceof ShadowRoot}function fb(t){const{overflow:r,overflowX:i,overflowY:o,display:n}=ja(t);return/auto|scroll|overlay|hidden|clip/.test(r+o+i)&&!["inline","contents"].includes(n)}function hN(t){return["table","td","th"].includes(Xc(t))}function H4(t){const r=/firefox/i.test(ax()),i=ja(t),o=i.backdropFilter||i.WebkitBackdropFilter;return i.transform!=="none"||i.perspective!=="none"||!!o&&o!=="none"||r&&i.willChange==="filter"||r&&!!i.filter&&i.filter!=="none"||["transform","perspective"].some(n=>i.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const e=i.contain;return e!=null&&e.includes(n)})}function cx(){return!/^((?!chrome|android).)*safari/i.test(ax())}function sD(t){return["html","body","#document"].includes(Xc(t))}function ux(t){return Gc(t)?t:t.contextElement}const fx={x:1,y:1};function oh(t){const r=ux(t);if(!Ya(r))return fx;const i=r.getBoundingClientRect(),{width:o,height:n,fallback:e}=ox(r);let f=(e?kv(i.width):i.width)/o,v=(e?kv(i.height):i.height)/n;return f&&Number.isFinite(f)||(f=1),v&&Number.isFinite(v)||(v=1),{x:f,y:v}}function yp(t,r,i,o){var n,e;r===void 0&&(r=!1),i===void 0&&(i=!1);const f=t.getBoundingClientRect(),v=ux(t);let _=fx;r&&(o?Gc(o)&&(_=oh(o)):_=oh(t));const w=v?No(v):window,F=!cx()&&i;let T=(f.left+(F&&((n=w.visualViewport)==null?void 0:n.offsetLeft)||0))/_.x,C=(f.top+(F&&((e=w.visualViewport)==null?void 0:e.offsetTop)||0))/_.y,O=f.width/_.x,N=f.height/_.y;if(v){const B=No(v),V=o&&Gc(o)?No(o):o;let G=B.frameElement;for(;G&&o&&V!==B;){const X=oh(G),H=G.getBoundingClientRect(),z=getComputedStyle(G);H.x+=(G.clientLeft+parseFloat(z.paddingLeft))*X.x,H.y+=(G.clientTop+parseFloat(z.paddingTop))*X.y,T*=X.x,C*=X.y,O*=X.x,N*=X.y,T+=H.x,C+=H.y,G=No(G).frameElement}}return{width:O,height:N,top:C,right:T+O,bottom:C+N,left:T,x:T,y:C}}function jc(t){return((lx(t)?t.ownerDocument:t.document)||window.document).documentElement}function hb(t){return Gc(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function hx(t){return yp(jc(t)).left+hb(t).scrollLeft}function Dp(t){if(Xc(t)==="html")return t;const r=t.assignedSlot||t.parentNode||AE(t)&&t.host||jc(t);return AE(r)?r.host:r}function dx(t){const r=Dp(t);return sD(r)?r.ownerDocument.body:Ya(r)&&fb(r)?r:dx(r)}function Ov(t,r){var i;r===void 0&&(r=[]);const o=dx(t),n=o===((i=t.ownerDocument)==null?void 0:i.body),e=No(o);return n?r.concat(e,e.visualViewport||[],fb(o)?o:[]):r.concat(o,Ov(o))}function CE(t,r,i){return r==="viewport"?J1(function(o,n){const e=No(o),f=jc(o),v=e.visualViewport;let _=f.clientWidth,w=f.clientHeight,F=0,T=0;if(v){_=v.width,w=v.height;const C=cx();(C||!C&&n==="fixed")&&(F=v.offsetLeft,T=v.offsetTop)}return{width:_,height:w,x:F,y:T}}(t,i)):Gc(r)?J1(function(o,n){const e=yp(o,!0,n==="fixed"),f=e.top+o.clientTop,v=e.left+o.clientLeft,_=Ya(o)?oh(o):{x:1,y:1};return{width:o.clientWidth*_.x,height:o.clientHeight*_.y,x:v*_.x,y:f*_.y}}(r,i)):J1(function(o){const n=jc(o),e=hb(o),f=o.ownerDocument.body,v=Z1(n.scrollWidth,n.clientWidth,f.scrollWidth,f.clientWidth),_=Z1(n.scrollHeight,n.clientHeight,f.scrollHeight,f.clientHeight);let w=-e.scrollLeft+hx(o);const F=-e.scrollTop;return ja(f).direction==="rtl"&&(w+=Z1(n.clientWidth,f.clientWidth)-v),{width:v,height:_,x:w,y:F}}(jc(t)))}function SE(t){return Ya(t)&&ja(t).position!=="fixed"?t.offsetParent:null}function kE(t){const r=No(t);let i=SE(t);for(;i&&hN(i)&&ja(i).position==="static";)i=SE(i);return i&&(Xc(i)==="html"||Xc(i)==="body"&&ja(i).position==="static"&&!H4(i))?r:i||function(o){let n=Dp(o);for(;Ya(n)&&!sD(n);){if(H4(n))return n;n=Dp(n)}return null}(t)||r}function dN(t,r,i){const o=Ya(r),n=jc(r),e=yp(t,!0,i==="fixed",r);let f={scrollLeft:0,scrollTop:0};const v={x:0,y:0};if(o||!o&&i!=="fixed")if((Xc(r)!=="body"||fb(n))&&(f=hb(r)),Ya(r)){const _=yp(r,!0);v.x=_.x+r.clientLeft,v.y=_.y+r.clientTop}else n&&(v.x=hx(n));return{x:e.left+f.scrollLeft-v.x,y:e.top+f.scrollTop-v.y,width:e.width,height:e.height}}const pN={getClippingRect:function(t){let{element:r,boundary:i,rootBoundary:o,strategy:n}=t;const e=i==="clippingAncestors"?function(w,F){const T=F.get(w);if(T)return T;let C=Ov(w).filter(V=>Gc(V)&&Xc(V)!=="body"),O=null;const N=ja(w).position==="fixed";let B=N?Dp(w):w;for(;Gc(B)&&!sD(B);){const V=ja(B),G=H4(B);(N?G||O:G||V.position!=="static"||!O||!["absolute","fixed"].includes(O.position))?O=V:C=C.filter(X=>X!==B),B=Dp(B)}return F.set(w,C),C}(r,this._c):[].concat(i),f=[...e,o],v=f[0],_=f.reduce((w,F)=>{const T=CE(r,F,n);return w.top=Z1(T.top,w.top),w.right=xE(T.right,w.right),w.bottom=xE(T.bottom,w.bottom),w.left=Z1(T.left,w.left),w},CE(r,v,n));return{width:_.right-_.left,height:_.bottom-_.top,x:_.left,y:_.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:r,offsetParent:i,strategy:o}=t;const n=Ya(i),e=jc(i);if(i===e)return r;let f={scrollLeft:0,scrollTop:0},v={x:1,y:1};const _={x:0,y:0};if((n||!n&&o!=="fixed")&&((Xc(i)!=="body"||fb(e))&&(f=hb(i)),Ya(i))){const w=yp(i);v=oh(i),_.x=w.x+i.clientLeft,_.y=w.y+i.clientTop}return{width:r.width*v.x,height:r.height*v.y,x:r.x*v.x-f.scrollLeft*v.x+_.x,y:r.y*v.y-f.scrollTop*v.y+_.y}},isElement:Gc,getDimensions:function(t){return Ya(t)?ox(t):t.getBoundingClientRect()},getOffsetParent:kE,getDocumentElement:jc,getScale:oh,async getElementRects(t){let{reference:r,floating:i,strategy:o}=t;const n=this.getOffsetParent||kE,e=this.getDimensions;return{reference:dN(r,await n(i),o),floating:{x:0,y:0,...await e(i)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>ja(t).direction==="rtl"},mN=(t,r,i)=>{const o=new Map,n={platform:pN,...i},e={...n.platform,_c:o};return nN(t,r,{...n,platform:e})};function px(t,r){for(const i in r)Object.prototype.hasOwnProperty.call(r,i)&&(typeof r[i]=="object"&&t[i]?px(t[i],r[i]):t[i]=r[i])}const $l={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"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","focus"],delay:{show:0,hide:400}}}};function wp(t,r){let i=$l.themes[t]||{},o;do o=i[r],typeof o>"u"?i.$extend?i=$l.themes[i.$extend]||{}:(i=null,o=$l[r]):i=null;while(i);return o}function gN(t){const r=[t];let i=$l.themes[t]||{};do i.$extend&&!i.$resetCss?(r.push(i.$extend),i=$l.themes[i.$extend]||{}):i=null;while(i);return r.map(o=>`v-popper--theme-${o}`)}function OE(t){const r=[t];let i=$l.themes[t]||{};do i.$extend?(r.push(i.$extend),i=$l.themes[i.$extend]||{}):i=null;while(i);return r}let xf=!1;if(typeof window<"u"){xf=!1;try{const t=Object.defineProperty({},"passive",{get(){xf=!0}});window.addEventListener("test",null,t)}catch{}}let mx=!1;typeof window<"u"&&typeof navigator<"u"&&(mx=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const gx=["auto","top","bottom","left","right"].reduce((t,r)=>t.concat([r,`${r}-start`,`${r}-end`]),[]),RE={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},IE={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function PE(t,r){const i=t.indexOf(r);i!==-1&&t.splice(i,1)}function Oy(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const na=[];let lf=null;const NE={};function LE(t){let r=NE[t];return r||(r=NE[t]=[]),r}let $4=function(){};typeof window<"u"&&($4=window.Element);function on(t){return function(r){return wp(r.theme,t)}}const Ry="__floating-vue__popper",vx=()=>ui({name:"VPopper",provide(){return{[Ry]:{parentPopper:this}}},inject:{[Ry]:{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:on("disabled")},positioningDisabled:{type:Boolean,default:on("positioningDisabled")},placement:{type:String,default:on("placement"),validator:t=>gx.includes(t)},delay:{type:[String,Number,Object],default:on("delay")},distance:{type:[Number,String],default:on("distance")},skidding:{type:[Number,String],default:on("skidding")},triggers:{type:Array,default:on("triggers")},showTriggers:{type:[Array,Function],default:on("showTriggers")},hideTriggers:{type:[Array,Function],default:on("hideTriggers")},popperTriggers:{type:Array,default:on("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:on("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:on("popperHideTriggers")},container:{type:[String,Object,$4,Boolean],default:on("container")},boundary:{type:[String,$4],default:on("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:on("strategy")},autoHide:{type:[Boolean,Function],default:on("autoHide")},handleResize:{type:Boolean,default:on("handleResize")},instantMove:{type:Boolean,default:on("instantMove")},eagerMount:{type:Boolean,default:on("eagerMount")},popperClass:{type:[String,Array,Object],default:on("popperClass")},computeTransformOrigin:{type:Boolean,default:on("computeTransformOrigin")},autoMinSize:{type:Boolean,default:on("autoMinSize")},autoSize:{type:[Boolean,String],default:on("autoSize")},autoMaxSize:{type:Boolean,default:on("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:on("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:on("preventOverflow")},overflowPadding:{type:[Number,String],default:on("overflowPadding")},arrowPadding:{type:[Number,String],default:on("arrowPadding")},arrowOverflow:{type:Boolean,default:on("arrowOverflow")},flip:{type:Boolean,default:on("flip")},shift:{type:Boolean,default:on("shift")},shiftCrossAxis:{type:Boolean,default:on("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:on("noAutoFocus")},disposeTimeout:{type:Number,default:on("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],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},shownChildren:new Set,lastAutoHide:!0}},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 t;return(t=this[Ry])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,r;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((r=this.popperShowTriggers)==null?void 0:r.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((t,r)=>(t[r]="$_refreshListeners",t),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,r)=>(t[r]="$_computePosition",t),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,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:t=null,skipDelay:r=!1,force:i=!1}={}){var o,n;(o=this.parentPopper)!=null&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(i||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,r),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:r=!1}={}){var i;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:r}),this.parentPopper.lockedChild=null)},1e3));return}((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,r),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((t=this.referenceNode)==null?void 0:t.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(r=>r.nodeType===r.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"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(cN({mainAxis:this.distance,crossAxis:this.skidding}));const r=this.placement.startsWith("auto");if(r?t.middleware.push(oN({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(uN({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!r&&this.flip&&t.middleware.push(aN({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(iN({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:o,rects:n,middlewareData:e})=>{let f;const{centerOffset:v}=e.arrow;return o.startsWith("top")||o.startsWith("bottom")?f=Math.abs(v)>n.reference.width/2:f=Math.abs(v)>n.reference.height/2,{data:{overflow:f}}}}),this.autoMinSize||this.autoSize){const o=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:n,placement:e,middlewareData:f})=>{var v;if((v=f.autoSize)!=null&&v.skip)return{};let _,w;return e.startsWith("top")||e.startsWith("bottom")?_=n.reference.width:w=n.reference.height,this.$_innerNode.style[o==="min"?"minWidth":o==="max"?"maxWidth":"width"]=_!=null?`${_}px`:null,this.$_innerNode.style[o==="min"?"minHeight":o==="max"?"maxHeight":"height"]=w!=null?`${w}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(fN({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:o,availableHeight:n})=>{this.$_innerNode.style.maxWidth=o!=null?`${o}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const i=await mN(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:i.x,y:i.y,placement:i.placement,strategy:i.strategy,arrow:{...i.middlewareData.arrow,...i.middlewareData.arrowOverflow}})},$_scheduleShow(t=null,r=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),lf&&this.instantMove&&lf.instantMove&&lf!==this.parentPopper){lf.$_applyHide(!0),this.$_applyShow(!0);return}r?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,r=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(lf=this),r?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const r=this.delay;return parseInt(r&&r[t]||r||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Oy(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Ov(this.$_referenceNode),...Ov(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const r=this.$_referenceNode.getBoundingClientRect(),i=this.$_popperNode.querySelector(".v-popper__wrapper"),o=i.parentNode.getBoundingClientRect(),n=r.x+r.width/2-(o.left+i.offsetLeft),e=r.y+r.height/2-(o.top+i.offsetTop);this.result.transformOrigin=`${n}px ${e}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let r;for(let i=0;i<na.length;i++)r=na[i],r.showGroup!==t&&(r.hide(),r.$emit("close-group"))}na.push(this),document.body.classList.add("v-popper--some-open");for(const r of OE(this.theme))LE(r).push(this),document.body.classList.add(`v-popper--some-open--${r}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Oy(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,PE(na,this),na.length===0&&document.body.classList.remove("v-popper--some-open");for(const i of OE(this.theme)){const o=LE(i);PE(o,this),o.length===0&&document.body.classList.remove(`v-popper--some-open--${i}`)}lf===this&&(lf=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const r=this.disposeTimeout;r!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},r)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Oy(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=i=>{this.isShown&&!this.$_hideInProgress||(i.usedByTooltip=!0,!this.$_preventShow&&this.show({event:i}))};this.$_registerTriggerListeners(this.$_targetNodes,RE,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],RE,this.popperTriggers,this.popperShowTriggers,t);const r=i=>{i.usedByTooltip||this.hide({event:i})};this.$_registerTriggerListeners(this.$_targetNodes,IE,this.triggers,this.hideTriggers,r),this.$_registerTriggerListeners([this.$_popperNode],IE,this.popperTriggers,this.popperHideTriggers,r)},$_registerEventListeners(t,r,i){this.$_events.push({targetNodes:t,eventType:r,handler:i}),t.forEach(o=>o.addEventListener(r,i,xf?{passive:!0}:void 0))},$_registerTriggerListeners(t,r,i,o,n){let e=i;o!=null&&(e=typeof o=="function"?o(e):o),e.forEach(f=>{const v=r[f];v&&this.$_registerEventListeners(t,v,n)})},$_removeEventListeners(t){const r=[];this.$_events.forEach(i=>{const{targetNodes:o,eventType:n,handler:e}=i;!t||t===n?o.forEach(f=>f.removeEventListener(n,e)):r.push(i)}),this.$_events=r},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,r=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),r&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,r){for(const i of this.$_targetNodes){const o=i.getAttribute(t);o&&(i.removeAttribute(t),i.setAttribute(r,o))}},$_applyAttrsToTarget(t){for(const r of this.$_targetNodes)for(const i in t){const o=t[i];o==null?r.removeAttribute(i):r.setAttribute(i,o)}},$_updateParentShownChildren(t){let r=this.parentPopper;for(;r;)t?r.shownChildren.add(this.randomId):(r.shownChildren.delete(this.randomId),r.$_pendingHide&&r.hide()),r=r.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(ep>=t.left&&ep<=t.right&&tp>=t.top&&tp<=t.bottom){const r=this.$_popperNode.getBoundingClientRect(),i=ep-Fc,o=tp-Tc,n=r.left+r.width/2-Fc+(r.top+r.height/2)-Tc+r.width+r.height,e=Fc+i*n,f=Tc+o*n;return C2(Fc,Tc,e,f,r.left,r.top,r.left,r.bottom)||C2(Fc,Tc,e,f,r.left,r.top,r.right,r.top)||C2(Fc,Tc,e,f,r.right,r.top,r.right,r.bottom)||C2(Fc,Tc,e,f,r.left,r.bottom,r.right,r.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(mx?(document.addEventListener("touchstart",ME,xf?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",bN,xf?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",ME,!0),window.addEventListener("click",vN,!0)),window.addEventListener("resize",DN));function ME(t){for(let r=0;r<na.length;r++){const i=na[r];try{const o=i.popperNode();i.$_mouseDownContains=o.contains(t.target)}catch{}}}function vN(t){bx(t)}function bN(t){bx(t,!0)}function bx(t,r=!1){const i={};for(let o=na.length-1;o>=0;o--){const n=na[o];try{const e=n.$_containsGlobalTarget=_N(n,t);n.$_pendingHide=!1,requestAnimationFrame(()=>{if(n.$_pendingHide=!1,!i[n.randomId]&&BE(n,e,t)){if(n.$_handleGlobalClose(t,r),!t.closeAllPopover&&t.closePopover&&e){let v=n.parentPopper;for(;v;)i[v.randomId]=!0,v=v.parentPopper;return}let f=n.parentPopper;for(;f&&BE(f,f.$_containsGlobalTarget,t);)f.$_handleGlobalClose(t,r),f=f.parentPopper}})}catch{}}}function _N(t,r){const i=t.popperNode();return t.$_mouseDownContains||i.contains(r.target)}function BE(t,r,i){return i.closeAllPopover||i.closePopover&&r||yN(t,i)&&!r}function yN(t,r){if(typeof t.autoHide=="function"){const i=t.autoHide(r);return t.lastAutoHide=i,i}return t.autoHide}function DN(t){for(let r=0;r<na.length;r++)na[r].$_computePosition(t)}let Fc=0,Tc=0,ep=0,tp=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{Fc=ep,Tc=tp,ep=t.clientX,tp=t.clientY},xf?{passive:!0}:void 0);function C2(t,r,i,o,n,e,f,v){const _=((f-n)*(r-e)-(v-e)*(t-n))/((v-e)*(i-t)-(f-n)*(o-r)),w=((i-t)*(r-e)-(o-r)*(t-n))/((v-e)*(i-t)-(f-n)*(o-r));return _>=0&&_<=1&&w>=0&&w<=1}const wN={extends:vx()},db=(t,r)=>{const i=t.__vccOpts||t;for(const[o,n]of r)i[o]=n;return i};function EN(t,r,i,o,n,e){return Hr(),Fn("div",{ref:"reference",class:Is(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Df(t.$slots,"default",HF(x3(t.slotData)))],2)}const FN=db(wN,[["render",EN]]);function TN(){var t=window.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return parseInt(t.substring(r+5,t.indexOf(".",r)),10);var i=t.indexOf("Trident/");if(i>0){var o=t.indexOf("rv:");return parseInt(t.substring(o+3,t.indexOf(".",o)),10)}var n=t.indexOf("Edge/");return n>0?parseInt(t.substring(n+5,t.indexOf(".",n)),10):-1}let z2;function W4(){W4.init||(W4.init=!0,z2=TN()!==-1)}var pb={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){W4(),bo(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",z2&&this.$el.appendChild(t),t.data="about:blank",z2||this.$el.appendChild(t)},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&&(!z2&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const xN=v6();m6("data-v-b329ee4c");const AN={class:"resize-observer",tabindex:"-1"};g6();const CN=xN((t,r,i,o,n,e)=>(Hr(),Qa("div",AN)));pb.render=CN;pb.__scopeId="data-v-b329ee4c";pb.__file="src/components/ResizeObserver.vue";const _x=(t="theme")=>({computed:{themeClass(){return gN(this[t])}}}),SN=ui({name:"VPopperContent",components:{ResizeObserver:pb},mixins:[_x()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}}),kN=["id","aria-hidden","tabindex","data-popper-placement"],ON={ref:"inner",class:"v-popper__inner"},RN=It("div",{class:"v-popper__arrow-outer"},null,-1),IN=It("div",{class:"v-popper__arrow-inner"},null,-1),PN=[RN,IN];function NN(t,r,i,o,n,e){const f=ca("ResizeObserver");return Hr(),Fn("div",{id:t.popperId,ref:"popover",class:Is(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:oa(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:r[2]||(r[2]=I5(v=>t.autoHide&&t.$emit("hide"),["esc"]))},[It("div",{class:"v-popper__backdrop",onClick:r[0]||(r[0]=v=>t.autoHide&&t.$emit("hide"))}),It("div",{class:"v-popper__wrapper",style:oa(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[It("div",ON,[t.mounted?(Hr(),Fn(Yn,{key:0},[It("div",null,[Df(t.$slots,"default")]),t.handleResize?(Hr(),Qa(f,{key:0,onNotify:r[1]||(r[1]=v=>t.$emit("resize",v))})):mo("",!0)],64)):mo("",!0)],512),It("div",{ref:"arrow",class:"v-popper__arrow-container",style:oa(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},PN,4)],4)],46,kN)}const yx=db(SN,[["render",NN]]),Dx={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}},LN=ui({name:"VPopperWrapper",components:{Popper:FN,PopperContent:yx},mixins:[Dx,_x("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(t=>t!==this.$refs.popperContent.$el)}}});function MN(t,r,i,o,n,e){const f=ca("PopperContent"),v=ca("Popper");return Hr(),Qa(v,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:Is([t.themeClass])},{default:Gi(({popperId:_,isShown:w,shouldMountContent:F,skipTransition:T,autoHide:C,show:O,hide:N,handleResize:B,onResize:V,classes:G,result:X})=>[Df(t.$slots,"default",{shown:w,show:O,hide:N}),Cr(f,{ref:"popperContent","popper-id":_,theme:t.finalTheme,shown:w,mounted:F,"skip-transition":T,"auto-hide":C,"handle-resize":B,classes:G,result:X,onHide:N,onResize:V},{default:Gi(()=>[Df(t.$slots,"popper",{shown:w,hide:N})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const oD=db(LN,[["render",MN]]),BN={...oD,name:"VDropdown",vPopperTheme:"dropdown"},UN={...oD,name:"VMenu",vPopperTheme:"menu"},HN={...oD,name:"VTooltip",vPopperTheme:"tooltip"},$N=ui({name:"VTooltipDirective",components:{Popper:vx(),PopperContent:yx},mixins:[Dx],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>wp(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>wp(t.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(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const r=++this.$_fetchId,i=this.content(this);i.then?i.then(o=>this.onResult(r,o)):this.onResult(r,i)}},onResult(t,r){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=r)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),WN=["innerHTML"],zN=["textContent"];function VN(t,r,i,o,n,e){const f=ca("PopperContent"),v=ca("Popper");return Hr(),Qa(v,ib({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:Gi(({popperId:_,isShown:w,shouldMountContent:F,skipTransition:T,autoHide:C,hide:O,handleResize:N,onResize:B,classes:V,result:G})=>[Cr(f,{ref:"popperContent",class:Is({"v-popper--tooltip-loading":t.loading}),"popper-id":_,theme:t.theme,shown:w,mounted:F,"skip-transition":T,"auto-hide":C,"handle-resize":N,classes:V,result:G,onHide:O,onResize:B},{default:Gi(()=>[t.html?(Hr(),Fn("div",{key:0,innerHTML:t.finalContent},null,8,WN)):(Hr(),Fn("div",{key:1,textContent:vi(t.finalContent)},null,8,zN))]),_: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 GN=db($N,[["render",VN]]),wx="v-popper--has-tooltip";function jN(t,r){let i=t.placement;if(!i&&r)for(const o of gx)r[o]&&(i=o);return i||(i=wp(t.theme||"tooltip","placement")),i}function Ex(t,r,i){let o;const n=typeof r;return n==="string"?o={content:r}:r&&n==="object"?o=r:o={content:!1},o.placement=jN(o,i),o.targetNodes=()=>[t],o.referenceNode=()=>t,o}let Iy,Ep,YN=0;function KN(){if(Iy)return;Ep=er([]),Iy=pp({name:"VTooltipDirectiveApp",setup(){return{directives:Ep}},render(){return this.directives.map(r=>kf(GN,{...r.options,shown:r.shown||r.options.shown,key:r.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),Iy.mount(t)}function qN(t,r,i){KN();const o=er(Ex(t,r,i)),n=er(!1),e={id:YN++,options:o,shown:n};return Ep.value.push(e),t.classList&&t.classList.add(wx),t.$_popper={options:o,item:e,show(){n.value=!0},hide(){n.value=!1}}}function Fx(t){if(t.$_popper){const r=Ep.value.indexOf(t.$_popper.item);r!==-1&&Ep.value.splice(r,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(wx)}function UE(t,{value:r,modifiers:i}){const o=Ex(t,r,i);if(!o.content||wp(o.theme||"tooltip","disabled"))Fx(t);else{let n;t.$_popper?(n=t.$_popper,n.options.value=o):n=qN(t,r,i),typeof r.shown<"u"&&r.shown!==t.$_popperOldShown&&(t.$_popperOldShown=r.shown,r.shown?n.show():n.hide())}}const QN={beforeMount:UE,updated:UE,beforeUnmount(t){Fx(t)}};function HE(t){t.addEventListener("click",Tx),t.addEventListener("touchstart",xx,xf?{passive:!0}:!1)}function $E(t){t.removeEventListener("click",Tx),t.removeEventListener("touchstart",xx),t.removeEventListener("touchend",Ax),t.removeEventListener("touchcancel",Cx)}function Tx(t){const r=t.currentTarget;t.closePopover=!r.$_vclosepopover_touch,t.closeAllPopover=r.$_closePopoverModifiers&&!!r.$_closePopoverModifiers.all}function xx(t){if(t.changedTouches.length===1){const r=t.currentTarget;r.$_vclosepopover_touch=!0;const i=t.changedTouches[0];r.$_vclosepopover_touchPoint=i,r.addEventListener("touchend",Ax),r.addEventListener("touchcancel",Cx)}}function Ax(t){const r=t.currentTarget;if(r.$_vclosepopover_touch=!1,t.changedTouches.length===1){const i=t.changedTouches[0],o=r.$_vclosepopover_touchPoint;t.closePopover=Math.abs(i.screenY-o.screenY)<20&&Math.abs(i.screenX-o.screenX)<20,t.closeAllPopover=r.$_closePopoverModifiers&&!!r.$_closePopoverModifiers.all}}function Cx(t){const r=t.currentTarget;r.$_vclosepopover_touch=!1}const XN={beforeMount(t,{value:r,modifiers:i}){t.$_closePopoverModifiers=i,(typeof r>"u"||r)&&HE(t)},updated(t,{value:r,oldValue:i,modifiers:o}){t.$_closePopoverModifiers=o,r!==i&&(typeof r>"u"||r?HE(t):$E(t))},beforeUnmount(t){$E(t)}};function JN(t,r={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,px($l,r),t.directive("tooltip",QN),t.directive("close-popper",XN),t.component("VTooltip",HN),t.component("VDropdown",BN),t.component("VMenu",UN))}const ZN={version:"2.0.0-beta.24",install:JN,options:$l};var mb=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Up=typeof window>"u"||"Deno"in globalThis;function ea(){}function eL(t,r){return typeof t=="function"?t(r):t}function tL(t){return typeof t=="number"&&t>=0&&t!==1/0}function rL(t,r){return Math.max(t+(r||0)-Date.now(),0)}function WE(t,r){return typeof t=="function"?t(r):t}function nL(t,r){return typeof t=="function"?t(r):t}function zE(t,r){const{type:i="all",exact:o,fetchStatus:n,predicate:e,queryKey:f,stale:v}=t;if(f){if(o){if(r.queryHash!==aD(f,r.options))return!1}else if(!Tp(r.queryKey,f))return!1}if(i!=="all"){const _=r.isActive();if(i==="active"&&!_||i==="inactive"&&_)return!1}return!(typeof v=="boolean"&&r.isStale()!==v||n&&n!==r.state.fetchStatus||e&&!e(r))}function VE(t,r){const{exact:i,status:o,predicate:n,mutationKey:e}=t;if(e){if(!r.options.mutationKey)return!1;if(i){if(Fp(r.options.mutationKey)!==Fp(e))return!1}else if(!Tp(r.options.mutationKey,e))return!1}return!(o&&r.state.status!==o||n&&!n(r))}function aD(t,r){return((r==null?void 0:r.queryKeyHashFn)||Fp)(t)}function Fp(t){return JSON.stringify(t,(r,i)=>z4(i)?Object.keys(i).sort().reduce((o,n)=>(o[n]=i[n],o),{}):i)}function Tp(t,r){return t===r?!0:typeof t!=typeof r?!1:t&&r&&typeof t=="object"&&typeof r=="object"?!Object.keys(r).some(i=>!Tp(t[i],r[i])):!1}function Sx(t,r){if(t===r)return t;const i=GE(t)&&GE(r);if(i||z4(t)&&z4(r)){const o=i?t:Object.keys(t),n=o.length,e=i?r:Object.keys(r),f=e.length,v=i?[]:{};let _=0;for(let w=0;w<f;w++){const F=i?w:e[w];(!i&&o.includes(F)||i)&&t[F]===void 0&&r[F]===void 0?(v[F]=void 0,_++):(v[F]=Sx(t[F],r[F]),v[F]===t[F]&&t[F]!==void 0&&_++)}return n===f&&_===n?t:v}return r}function IH(t,r){if(!r||Object.keys(t).length!==Object.keys(r).length)return!1;for(const i in t)if(t[i]!==r[i])return!1;return!0}function GE(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function z4(t){if(!jE(t))return!1;const r=t.constructor;if(r===void 0)return!0;const i=r.prototype;return!(!jE(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function jE(t){return Object.prototype.toString.call(t)==="[object Object]"}function iL(t){return new Promise(r=>{setTimeout(r,t)})}function sL(t,r,i){return typeof i.structuralSharing=="function"?i.structuralSharing(t,r):i.structuralSharing!==!1?Sx(t,r):r}function oL(t,r,i=0){const o=[...t,r];return i&&o.length>i?o.slice(1):o}function aL(t,r,i=0){const o=[r,...t];return i&&o.length>i?o.slice(0,-1):o}var kx=Symbol();function Ox(t,r){return!t.queryFn&&(r!=null&&r.initialPromise)?()=>r.initialPromise:!t.queryFn||t.queryFn===kx?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}var hf,Mc,ch,mF,lL=(mF=class extends mb{constructor(){super();Dn(this,hf,void 0);Dn(this,Mc,void 0);Dn(this,ch,void 0);Lr(this,ch,r=>{if(!Up&&window.addEventListener){const i=()=>r();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}})}onSubscribe(){ut(this,Mc)||this.setEventListener(ut(this,ch))}onUnsubscribe(){var r;this.hasListeners()||((r=ut(this,Mc))==null||r.call(this),Lr(this,Mc,void 0))}setEventListener(r){var i;Lr(this,ch,r),(i=ut(this,Mc))==null||i.call(this),Lr(this,Mc,r(o=>{typeof o=="boolean"?this.setFocused(o):this.onFocus()}))}setFocused(r){ut(this,hf)!==r&&(Lr(this,hf,r),this.onFocus())}onFocus(){const r=this.isFocused();this.listeners.forEach(i=>{i(r)})}isFocused(){var r;return typeof ut(this,hf)=="boolean"?ut(this,hf):((r=globalThis.document)==null?void 0:r.visibilityState)!=="hidden"}},hf=new WeakMap,Mc=new WeakMap,ch=new WeakMap,mF),Rx=new lL,uh,Bc,fh,gF,cL=(gF=class extends mb{constructor(){super();Dn(this,uh,!0);Dn(this,Bc,void 0);Dn(this,fh,void 0);Lr(this,fh,r=>{if(!Up&&window.addEventListener){const i=()=>r(!0),o=()=>r(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",o,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",o)}}})}onSubscribe(){ut(this,Bc)||this.setEventListener(ut(this,fh))}onUnsubscribe(){var r;this.hasListeners()||((r=ut(this,Bc))==null||r.call(this),Lr(this,Bc,void 0))}setEventListener(r){var i;Lr(this,fh,r),(i=ut(this,Bc))==null||i.call(this),Lr(this,Bc,r(this.setOnline.bind(this)))}setOnline(r){ut(this,uh)!==r&&(Lr(this,uh,r),this.listeners.forEach(o=>{o(r)}))}isOnline(){return ut(this,uh)}},uh=new WeakMap,Bc=new WeakMap,fh=new WeakMap,gF),Rv=new cL;function uL(t){return Math.min(1e3*2**t,3e4)}function Ix(t){return(t??"online")==="online"?Rv.isOnline():!0}var Px=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function Py(t){return t instanceof Px}function Nx(t){let r=!1,i=0,o=!1,n,e,f;const v=new Promise((G,X)=>{e=G,f=X}),_=G=>{var X;o||(N(new Px(G)),(X=t.abort)==null||X.call(t))},w=()=>{r=!0},F=()=>{r=!1},T=()=>Rx.isFocused()&&(t.networkMode==="always"||Rv.isOnline())&&t.canRun(),C=()=>Ix(t.networkMode)&&t.canRun(),O=G=>{var X;o||(o=!0,(X=t.onSuccess)==null||X.call(t,G),n==null||n(),e(G))},N=G=>{var X;o||(o=!0,(X=t.onError)==null||X.call(t,G),n==null||n(),f(G))},B=()=>new Promise(G=>{var X;n=H=>{(o||T())&&G(H)},(X=t.onPause)==null||X.call(t)}).then(()=>{var G;n=void 0,o||(G=t.onContinue)==null||G.call(t)}),V=()=>{if(o)return;let G;const X=i===0?t.initialPromise:void 0;try{G=X??t.fn()}catch(H){G=Promise.reject(H)}Promise.resolve(G).then(O).catch(H=>{var P;if(o)return;const z=t.retry??(Up?0:3),Y=t.retryDelay??uL,ee=typeof Y=="function"?Y(i,H):Y,K=z===!0||typeof z=="number"&&i<z||typeof z=="function"&&z(i,H);if(r||!K){N(H);return}i++,(P=t.onFail)==null||P.call(t,i,H),iL(ee).then(()=>T()?void 0:B()).then(()=>{r?N(H):V()})})};return{promise:v,cancel:_,continue:()=>(n==null||n(),v),cancelRetry:w,continueRetry:F,canStart:C,start:()=>(C()?V():B().then(V),v)}}function fL(){let t=[],r=0,i=v=>{v()},o=v=>{v()},n=v=>setTimeout(v,0);const e=v=>{r?t.push(v):n(()=>{i(v)})},f=()=>{const v=t;t=[],v.length&&n(()=>{o(()=>{v.forEach(_=>{i(_)})})})};return{batch:v=>{let _;r++;try{_=v()}finally{r--,r||f()}return _},batchCalls:v=>(..._)=>{e(()=>{v(..._)})},schedule:e,setNotifyFunction:v=>{i=v},setBatchNotifyFunction:v=>{o=v},setScheduler:v=>{n=v}}}var Rs=fL(),df,vF,Lx=(vF=class{constructor(){Dn(this,df,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),tL(this.gcTime)&&Lr(this,df,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Up?1/0:5*60*1e3))}clearGcTimeout(){ut(this,df)&&(clearTimeout(ut(this,df)),Lr(this,df,void 0))}},df=new WeakMap,vF),hh,dh,Io,cs,Cp,pf,ta,Rl,bF,hL=(bF=class extends Lx{constructor(r){super();Dn(this,ta);Dn(this,hh,void 0);Dn(this,dh,void 0);Dn(this,Io,void 0);Dn(this,cs,void 0);Dn(this,Cp,void 0);Dn(this,pf,void 0);Lr(this,pf,!1),Lr(this,Cp,r.defaultOptions),this.setOptions(r.options),this.observers=[],Lr(this,Io,r.cache),this.queryKey=r.queryKey,this.queryHash=r.queryHash,Lr(this,hh,pL(this.options)),this.state=r.state??ut(this,hh),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var r;return(r=ut(this,cs))==null?void 0:r.promise}setOptions(r){this.options={...ut(this,Cp),...r},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&ut(this,Io).remove(this)}setData(r,i){const o=sL(this.state.data,r,this.options);return ls(this,ta,Rl).call(this,{data:o,type:"success",dataUpdatedAt:i==null?void 0:i.updatedAt,manual:i==null?void 0:i.manual}),o}setState(r,i){ls(this,ta,Rl).call(this,{type:"setState",state:r,setStateOptions:i})}cancel(r){var o,n;const i=(o=ut(this,cs))==null?void 0:o.promise;return(n=ut(this,cs))==null||n.cancel(r),i?i.then(ea).catch(ea):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(ut(this,hh))}isActive(){return this.observers.some(r=>nL(r.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(r=>r.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(r=0){return this.state.isInvalidated||this.state.data===void 0||!rL(this.state.dataUpdatedAt,r)}onFocus(){var i;const r=this.observers.find(o=>o.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(i=ut(this,cs))==null||i.continue()}onOnline(){var i;const r=this.observers.find(o=>o.shouldFetchOnReconnect());r==null||r.refetch({cancelRefetch:!1}),(i=ut(this,cs))==null||i.continue()}addObserver(r){this.observers.includes(r)||(this.observers.push(r),this.clearGcTimeout(),ut(this,Io).notify({type:"observerAdded",query:this,observer:r}))}removeObserver(r){this.observers.includes(r)&&(this.observers=this.observers.filter(i=>i!==r),this.observers.length||(ut(this,cs)&&(ut(this,pf)?ut(this,cs).cancel({revert:!0}):ut(this,cs).cancelRetry()),this.scheduleGc()),ut(this,Io).notify({type:"observerRemoved",query:this,observer:r}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ls(this,ta,Rl).call(this,{type:"invalidate"})}fetch(r,i){var _,w,F;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(i!=null&&i.cancelRefetch))this.cancel({silent:!0});else if(ut(this,cs))return ut(this,cs).continueRetry(),ut(this,cs).promise}if(r&&this.setOptions(r),!this.options.queryFn){const T=this.observers.find(C=>C.options.queryFn);T&&this.setOptions(T.options)}const o=new AbortController,n=T=>{Object.defineProperty(T,"signal",{enumerable:!0,get:()=>(Lr(this,pf,!0),o.signal)})},e=()=>{const T=Ox(this.options,i),C={queryKey:this.queryKey,meta:this.meta};return n(C),Lr(this,pf,!1),this.options.persister?this.options.persister(T,C,this):T(C)},f={fetchOptions:i,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:e};n(f),(_=this.options.behavior)==null||_.onFetch(f,this),Lr(this,dh,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((w=f.fetchOptions)==null?void 0:w.meta))&&ls(this,ta,Rl).call(this,{type:"fetch",meta:(F=f.fetchOptions)==null?void 0:F.meta});const v=T=>{var C,O,N,B;Py(T)&&T.silent||ls(this,ta,Rl).call(this,{type:"error",error:T}),Py(T)||((O=(C=ut(this,Io).config).onError)==null||O.call(C,T,this),(B=(N=ut(this,Io).config).onSettled)==null||B.call(N,this.state.data,T,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return Lr(this,cs,Nx({initialPromise:i==null?void 0:i.initialPromise,fn:f.fetchFn,abort:o.abort.bind(o),onSuccess:T=>{var C,O,N,B;if(T===void 0){v(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(T)}catch(V){v(V);return}(O=(C=ut(this,Io).config).onSuccess)==null||O.call(C,T,this),(B=(N=ut(this,Io).config).onSettled)==null||B.call(N,T,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:v,onFail:(T,C)=>{ls(this,ta,Rl).call(this,{type:"failed",failureCount:T,error:C})},onPause:()=>{ls(this,ta,Rl).call(this,{type:"pause"})},onContinue:()=>{ls(this,ta,Rl).call(this,{type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0})),ut(this,cs).start()}},hh=new WeakMap,dh=new WeakMap,Io=new WeakMap,cs=new WeakMap,Cp=new WeakMap,pf=new WeakMap,ta=new WeakSet,Rl=function(r){const i=o=>{switch(r.type){case"failed":return{...o,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...o,fetchStatus:"paused"};case"continue":return{...o,fetchStatus:"fetching"};case"fetch":return{...o,...dL(o.data,this.options),fetchMeta:r.meta??null};case"success":return{...o,data:r.data,dataUpdateCount:o.dataUpdateCount+1,dataUpdatedAt:r.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=r.error;return Py(n)&&n.revert&&ut(this,dh)?{...ut(this,dh),fetchStatus:"idle"}:{...o,error:n,errorUpdateCount:o.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:o.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...o,isInvalidated:!0};case"setState":return{...o,...r.state}}};this.state=i(this.state),Rs.batch(()=>{this.observers.forEach(o=>{o.onQueryUpdate()}),ut(this,Io).notify({query:this,type:"updated",action:r})})},bF);function dL(t,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ix(r.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function pL(t){const r=typeof t.initialData=="function"?t.initialData():t.initialData,i=r!==void 0,o=i?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:i?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var Ua,_F,Mx=(_F=class extends mb{constructor(i={}){super();Dn(this,Ua,void 0);this.config=i,Lr(this,Ua,new Map)}build(i,o,n){const e=o.queryKey,f=o.queryHash??aD(e,o);let v=this.get(f);return v||(v=new hL({cache:this,queryKey:e,queryHash:f,options:i.defaultQueryOptions(o),state:n,defaultOptions:i.getQueryDefaults(e)}),this.add(v)),v}add(i){ut(this,Ua).has(i.queryHash)||(ut(this,Ua).set(i.queryHash,i),this.notify({type:"added",query:i}))}remove(i){const o=ut(this,Ua).get(i.queryHash);o&&(i.destroy(),o===i&&ut(this,Ua).delete(i.queryHash),this.notify({type:"removed",query:i}))}clear(){Rs.batch(()=>{this.getAll().forEach(i=>{this.remove(i)})})}get(i){return ut(this,Ua).get(i)}getAll(){return[...ut(this,Ua).values()]}find(i){const o={exact:!0,...i};return this.getAll().find(n=>zE(o,n))}findAll(i={}){const o=this.getAll();return Object.keys(i).length>0?o.filter(n=>zE(i,n)):o}notify(i){Rs.batch(()=>{this.listeners.forEach(o=>{o(i)})})}onFocus(){Rs.batch(()=>{this.getAll().forEach(i=>{i.onFocus()})})}onOnline(){Rs.batch(()=>{this.getAll().forEach(i=>{i.onOnline()})})}},Ua=new WeakMap,_F),Ha,Cs,mf,$a,xc,yF,mL=(yF=class extends Lx{constructor(r){super();Dn(this,$a);Dn(this,Ha,void 0);Dn(this,Cs,void 0);Dn(this,mf,void 0);this.mutationId=r.mutationId,Lr(this,Cs,r.mutationCache),Lr(this,Ha,[]),this.state=r.state||gL(),this.setOptions(r.options),this.scheduleGc()}setOptions(r){this.options=r,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(r){ut(this,Ha).includes(r)||(ut(this,Ha).push(r),this.clearGcTimeout(),ut(this,Cs).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){Lr(this,Ha,ut(this,Ha).filter(i=>i!==r)),this.scheduleGc(),ut(this,Cs).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){ut(this,Ha).length||(this.state.status==="pending"?this.scheduleGc():ut(this,Cs).remove(this))}continue(){var r;return((r=ut(this,mf))==null?void 0:r.continue())??this.execute(this.state.variables)}async execute(r){var n,e,f,v,_,w,F,T,C,O,N,B,V,G,X,H,z,Y,ee,K;Lr(this,mf,Nx({fn:()=>this.options.mutationFn?this.options.mutationFn(r):Promise.reject(new Error("No mutationFn found")),onFail:(P,I)=>{ls(this,$a,xc).call(this,{type:"failed",failureCount:P,error:I})},onPause:()=>{ls(this,$a,xc).call(this,{type:"pause"})},onContinue:()=>{ls(this,$a,xc).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>ut(this,Cs).canRun(this)}));const i=this.state.status==="pending",o=!ut(this,mf).canStart();try{if(!i){ls(this,$a,xc).call(this,{type:"pending",variables:r,isPaused:o}),await((e=(n=ut(this,Cs).config).onMutate)==null?void 0:e.call(n,r,this));const I=await((v=(f=this.options).onMutate)==null?void 0:v.call(f,r));I!==this.state.context&&ls(this,$a,xc).call(this,{type:"pending",context:I,variables:r,isPaused:o})}const P=await ut(this,mf).start();return await((w=(_=ut(this,Cs).config).onSuccess)==null?void 0:w.call(_,P,r,this.state.context,this)),await((T=(F=this.options).onSuccess)==null?void 0:T.call(F,P,r,this.state.context)),await((O=(C=ut(this,Cs).config).onSettled)==null?void 0:O.call(C,P,null,this.state.variables,this.state.context,this)),await((B=(N=this.options).onSettled)==null?void 0:B.call(N,P,null,r,this.state.context)),ls(this,$a,xc).call(this,{type:"success",data:P}),P}catch(P){try{throw await((G=(V=ut(this,Cs).config).onError)==null?void 0:G.call(V,P,r,this.state.context,this)),await((H=(X=this.options).onError)==null?void 0:H.call(X,P,r,this.state.context)),await((Y=(z=ut(this,Cs).config).onSettled)==null?void 0:Y.call(z,void 0,P,this.state.variables,this.state.context,this)),await((K=(ee=this.options).onSettled)==null?void 0:K.call(ee,void 0,P,r,this.state.context)),P}finally{ls(this,$a,xc).call(this,{type:"error",error:P})}}finally{ut(this,Cs).runNext(this)}}},Ha=new WeakMap,Cs=new WeakMap,mf=new WeakMap,$a=new WeakSet,xc=function(r){const i=o=>{switch(r.type){case"failed":return{...o,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...o,isPaused:!0};case"continue":return{...o,isPaused:!1};case"pending":return{...o,context:r.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:r.isPaused,status:"pending",variables:r.variables,submittedAt:Date.now()};case"success":return{...o,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...o,data:void 0,error:r.error,failureCount:o.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=i(this.state),Rs.batch(()=>{ut(this,Ha).forEach(o=>{o.onMutationUpdate(r)}),ut(this,Cs).notify({mutation:this,type:"updated",action:r})})},yF);function gL(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var po,Sp,DF,Bx=(DF=class extends mb{constructor(i={}){super();Dn(this,po,void 0);Dn(this,Sp,void 0);this.config=i,Lr(this,po,new Map),Lr(this,Sp,Date.now())}build(i,o,n){const e=new mL({mutationCache:this,mutationId:++n2(this,Sp)._,options:i.defaultMutationOptions(o),state:n});return this.add(e),e}add(i){const o=S2(i),n=ut(this,po).get(o)??[];n.push(i),ut(this,po).set(o,n),this.notify({type:"added",mutation:i})}remove(i){var n;const o=S2(i);if(ut(this,po).has(o)){const e=(n=ut(this,po).get(o))==null?void 0:n.filter(f=>f!==i);e&&(e.length===0?ut(this,po).delete(o):ut(this,po).set(o,e))}this.notify({type:"removed",mutation:i})}canRun(i){var n;const o=(n=ut(this,po).get(S2(i)))==null?void 0:n.find(e=>e.state.status==="pending");return!o||o===i}runNext(i){var n;const o=(n=ut(this,po).get(S2(i)))==null?void 0:n.find(e=>e!==i&&e.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}clear(){Rs.batch(()=>{this.getAll().forEach(i=>{this.remove(i)})})}getAll(){return[...ut(this,po).values()].flat()}find(i){const o={exact:!0,...i};return this.getAll().find(n=>VE(o,n))}findAll(i={}){return this.getAll().filter(o=>VE(i,o))}notify(i){Rs.batch(()=>{this.listeners.forEach(o=>{o(i)})})}resumePausedMutations(){const i=this.getAll().filter(o=>o.state.isPaused);return Rs.batch(()=>Promise.all(i.map(o=>o.continue().catch(ea))))}},po=new WeakMap,Sp=new WeakMap,DF);function S2(t){var r;return((r=t.options.scope)==null?void 0:r.id)??String(t.mutationId)}function YE(t){return{onFetch:(r,i)=>{var F,T,C,O,N;const o=r.options,n=(C=(T=(F=r.fetchOptions)==null?void 0:F.meta)==null?void 0:T.fetchMore)==null?void 0:C.direction,e=((O=r.state.data)==null?void 0:O.pages)||[],f=((N=r.state.data)==null?void 0:N.pageParams)||[];let v={pages:[],pageParams:[]},_=0;const w=async()=>{let B=!1;const V=H=>{Object.defineProperty(H,"signal",{enumerable:!0,get:()=>(r.signal.aborted?B=!0:r.signal.addEventListener("abort",()=>{B=!0}),r.signal)})},G=Ox(r.options,r.fetchOptions),X=async(H,z,Y)=>{if(B)return Promise.reject();if(z==null&&H.pages.length)return Promise.resolve(H);const ee={queryKey:r.queryKey,pageParam:z,direction:Y?"backward":"forward",meta:r.options.meta};V(ee);const K=await G(ee),{maxPages:P}=r.options,I=Y?aL:oL;return{pages:I(H.pages,K,P),pageParams:I(H.pageParams,z,P)}};if(n&&e.length){const H=n==="backward",z=H?vL:KE,Y={pages:e,pageParams:f},ee=z(o,Y);v=await X(Y,ee,H)}else{const H=t??e.length;do{const z=_===0?f[0]??o.initialPageParam:KE(o,v);if(_>0&&z==null)break;v=await X(v,z),_++}while(_<H)}return v};r.options.persister?r.fetchFn=()=>{var B,V;return(V=(B=r.options).persister)==null?void 0:V.call(B,w,{queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},i)}:r.fetchFn=w}}}function KE(t,{pages:r,pageParams:i}){const o=r.length-1;return r.length>0?t.getNextPageParam(r[o],r,i[o],i):void 0}function vL(t,{pages:r,pageParams:i}){var o;return r.length>0?(o=t.getPreviousPageParam)==null?void 0:o.call(t,r[0],r,i[0],i):void 0}var ai,Uc,Hc,ph,mh,$c,gh,vh,wF,bL=(wF=class{constructor(r={}){Dn(this,ai,void 0);Dn(this,Uc,void 0);Dn(this,Hc,void 0);Dn(this,ph,void 0);Dn(this,mh,void 0);Dn(this,$c,void 0);Dn(this,gh,void 0);Dn(this,vh,void 0);Lr(this,ai,r.queryCache||new Mx),Lr(this,Uc,r.mutationCache||new Bx),Lr(this,Hc,r.defaultOptions||{}),Lr(this,ph,new Map),Lr(this,mh,new Map),Lr(this,$c,0)}mount(){n2(this,$c)._++,ut(this,$c)===1&&(Lr(this,gh,Rx.subscribe(async r=>{r&&(await this.resumePausedMutations(),ut(this,ai).onFocus())})),Lr(this,vh,Rv.subscribe(async r=>{r&&(await this.resumePausedMutations(),ut(this,ai).onOnline())})))}unmount(){var r,i;n2(this,$c)._--,ut(this,$c)===0&&((r=ut(this,gh))==null||r.call(this),Lr(this,gh,void 0),(i=ut(this,vh))==null||i.call(this),Lr(this,vh,void 0))}isFetching(r){return ut(this,ai).findAll({...r,fetchStatus:"fetching"}).length}isMutating(r){return ut(this,Uc).findAll({...r,status:"pending"}).length}getQueryData(r){var o;const i=this.defaultQueryOptions({queryKey:r});return(o=ut(this,ai).get(i.queryHash))==null?void 0:o.state.data}ensureQueryData(r){const i=this.getQueryData(r.queryKey);if(i===void 0)return this.fetchQuery(r);{const o=this.defaultQueryOptions(r),n=ut(this,ai).build(this,o);return r.revalidateIfStale&&n.isStaleByTime(WE(o.staleTime,n))&&this.prefetchQuery(o),Promise.resolve(i)}}getQueriesData(r){return ut(this,ai).findAll(r).map(({queryKey:i,state:o})=>{const n=o.data;return[i,n]})}setQueryData(r,i,o){const n=this.defaultQueryOptions({queryKey:r}),e=ut(this,ai).get(n.queryHash),f=e==null?void 0:e.state.data,v=eL(i,f);if(v!==void 0)return ut(this,ai).build(this,n).setData(v,{...o,manual:!0})}setQueriesData(r,i,o){return Rs.batch(()=>ut(this,ai).findAll(r).map(({queryKey:n})=>[n,this.setQueryData(n,i,o)]))}getQueryState(r){var o;const i=this.defaultQueryOptions({queryKey:r});return(o=ut(this,ai).get(i.queryHash))==null?void 0:o.state}removeQueries(r){const i=ut(this,ai);Rs.batch(()=>{i.findAll(r).forEach(o=>{i.remove(o)})})}resetQueries(r,i){const o=ut(this,ai),n={type:"active",...r};return Rs.batch(()=>(o.findAll(r).forEach(e=>{e.reset()}),this.refetchQueries(n,i)))}cancelQueries(r={},i={}){const o={revert:!0,...i},n=Rs.batch(()=>ut(this,ai).findAll(r).map(e=>e.cancel(o)));return Promise.all(n).then(ea).catch(ea)}invalidateQueries(r={},i={}){return Rs.batch(()=>{if(ut(this,ai).findAll(r).forEach(n=>{n.invalidate()}),r.refetchType==="none")return Promise.resolve();const o={...r,type:r.refetchType??r.type??"active"};return this.refetchQueries(o,i)})}refetchQueries(r={},i){const o={...i,cancelRefetch:(i==null?void 0:i.cancelRefetch)??!0},n=Rs.batch(()=>ut(this,ai).findAll(r).filter(e=>!e.isDisabled()).map(e=>{let f=e.fetch(void 0,o);return o.throwOnError||(f=f.catch(ea)),e.state.fetchStatus==="paused"?Promise.resolve():f}));return Promise.all(n).then(ea)}fetchQuery(r){const i=this.defaultQueryOptions(r);i.retry===void 0&&(i.retry=!1);const o=ut(this,ai).build(this,i);return o.isStaleByTime(WE(i.staleTime,o))?o.fetch(i):Promise.resolve(o.state.data)}prefetchQuery(r){return this.fetchQuery(r).then(ea).catch(ea)}fetchInfiniteQuery(r){return r.behavior=YE(r.pages),this.fetchQuery(r)}prefetchInfiniteQuery(r){return this.fetchInfiniteQuery(r).then(ea).catch(ea)}ensureInfiniteQueryData(r){return r.behavior=YE(r.pages),this.ensureQueryData(r)}resumePausedMutations(){return Rv.isOnline()?ut(this,Uc).resumePausedMutations():Promise.resolve()}getQueryCache(){return ut(this,ai)}getMutationCache(){return ut(this,Uc)}getDefaultOptions(){return ut(this,Hc)}setDefaultOptions(r){Lr(this,Hc,r)}setQueryDefaults(r,i){ut(this,ph).set(Fp(r),{queryKey:r,defaultOptions:i})}getQueryDefaults(r){const i=[...ut(this,ph).values()];let o={};return i.forEach(n=>{Tp(r,n.queryKey)&&(o={...o,...n.defaultOptions})}),o}setMutationDefaults(r,i){ut(this,mh).set(Fp(r),{mutationKey:r,defaultOptions:i})}getMutationDefaults(r){const i=[...ut(this,mh).values()];let o={};return i.forEach(n=>{Tp(r,n.mutationKey)&&(o={...o,...n.defaultOptions})}),o}defaultQueryOptions(r){if(r._defaulted)return r;const i={...ut(this,Hc).queries,...this.getQueryDefaults(r.queryKey),...r,_defaulted:!0};return i.queryHash||(i.queryHash=aD(i.queryKey,i)),i.refetchOnReconnect===void 0&&(i.refetchOnReconnect=i.networkMode!=="always"),i.throwOnError===void 0&&(i.throwOnError=!!i.suspense),!i.networkMode&&i.persister&&(i.networkMode="offlineFirst"),i.enabled!==!0&&i.queryFn===kx&&(i.enabled=!1),i}defaultMutationOptions(r){return r!=null&&r._defaulted?r:{...ut(this,Hc).mutations,...(r==null?void 0:r.mutationKey)&&this.getMutationDefaults(r.mutationKey),...r,_defaulted:!0}}clear(){ut(this,ai).clear(),ut(this,Uc).clear()}},ai=new WeakMap,Uc=new WeakMap,Hc=new WeakMap,ph=new WeakMap,mh=new WeakMap,$c=new WeakMap,gh=new WeakMap,vh=new WeakMap,wF),_L="VUE_QUERY_CLIENT";function yL(t){const r=t?`:${t}`:"";return`${_L}${r}`}function MH(t,r){Object.keys(t).forEach(i=>{t[i]=r[i]})}function V4(t,r,i="",o=0){if(r){const n=r(t,i,o);if(n===void 0&&un(t)||n!==void 0)return n}if(Array.isArray(t))return t.map((n,e)=>V4(n,r,String(e),o+1));if(typeof t=="object"&&wL(t)){const n=Object.entries(t).map(([e,f])=>[e,V4(f,r,e,o+1)]);return Object.fromEntries(n)}return t}function DL(t,r){return V4(t,r)}function qr(t,r=!1){return DL(t,(i,o,n)=>{if(n===1&&o==="queryKey")return qr(i,!0);if(r&&EL(i))return qr(i(),r);if(un(i))return qr(Zt(i),r)})}function wL(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;const r=Object.getPrototypeOf(t);return r===null||r===Object.prototype}function EL(t){return typeof t=="function"}function BH(t,r){return typeof t=="function"?t(...r):!!t}var FL=class extends Mx{find(t){return super.find(qr(t))}findAll(t={}){return super.findAll(qr(t))}},TL=class extends Bx{find(t){return super.find(qr(t))}findAll(t={}){return super.findAll(qr(t))}},xL=class extends bL{constructor(t={}){const r={defaultOptions:t.defaultOptions,queryCache:t.queryCache||new FL,mutationCache:t.mutationCache||new TL};super(r),this.isRestoring=er(!1)}isFetching(t={}){return super.isFetching(qr(t))}isMutating(t={}){return super.isMutating(qr(t))}getQueryData(t){return super.getQueryData(qr(t))}ensureQueryData(t){return super.ensureQueryData(qr(t))}getQueriesData(t){return super.getQueriesData(qr(t))}setQueryData(t,r,i={}){return super.setQueryData(qr(t),r,qr(i))}setQueriesData(t,r,i={}){return super.setQueriesData(qr(t),r,qr(i))}getQueryState(t){return super.getQueryState(qr(t))}removeQueries(t={}){return super.removeQueries(qr(t))}resetQueries(t={},r={}){return super.resetQueries(qr(t),qr(r))}cancelQueries(t={},r={}){return super.cancelQueries(qr(t),qr(r))}invalidateQueries(t={},r={}){const i=qr(t),o=qr(r);if(super.invalidateQueries({...i,refetchType:"none"},o),i.refetchType==="none")return Promise.resolve();const n={...i,type:i.refetchType??i.type??"active"};return bo().then(()=>super.refetchQueries(n,o))}refetchQueries(t={},r={}){return super.refetchQueries(qr(t),qr(r))}fetchQuery(t){return super.fetchQuery(qr(t))}prefetchQuery(t){return super.prefetchQuery(qr(t))}fetchInfiniteQuery(t){return super.fetchInfiniteQuery(qr(t))}prefetchInfiniteQuery(t){return super.prefetchInfiniteQuery(qr(t))}setDefaultOptions(t){super.setDefaultOptions(qr(t))}setQueryDefaults(t,r){super.setQueryDefaults(qr(t),qr(r))}getQueryDefaults(t){return super.getQueryDefaults(qr(t))}setMutationDefaults(t,r){super.setMutationDefaults(qr(t),qr(r))}getMutationDefaults(t){return super.getMutationDefaults(qr(t))}},AL={install:(t,r={})=>{const i=yL(r.queryClientKey);let o;if("queryClient"in r&&r.queryClient)o=r.queryClient;else{const f="queryClientConfig"in r?r.queryClientConfig:void 0;o=new xL(f)}Up||o.mount();let n=()=>{};if(r.clientPersister){o.isRestoring.value=!0;const[f,v]=r.clientPersister(o);n=f,v.then(()=>{var _;o.isRestoring.value=!1,(_=r.clientPersisterOnSuccess)==null||_.call(r,o)})}const e=()=>{o.unmount(),n()};if(t.onUnmount)t.onUnmount(e);else{const f=t.unmount;t.unmount=function(){e(),f()}}t.provide(i,o)}};const CL=ui({__name:"App",setup(t){return x9({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>rx.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>LP.value?"/favicon-dark.svg":"/favicon.svg"}]}),(r,i)=>{const o=ca("RouterView");return Hr(),Qa(o)}}}),Ny=new WeakMap;function Ux(t,r,i={}){const{mode:o="replace",route:n=gT(),router:e=LR(),transform:f=T=>T}=i;Ny.has(e)||Ny.set(e,new Map);const v=Ny.get(e);let _=n.query[t];Za(()=>{_=void 0});let w;const F=Jv((T,C)=>(w=C,{get(){return T(),f(_!==void 0?_:Hn(r))},set(O){_!==O&&(_=O===r||O===null?void 0:O,v.set(t,O===r||O===null?void 0:O),C(),bo(()=>{if(v.size===0)return;const N=Object.fromEntries(v.entries());v.clear();const{params:B,query:V,hash:G}=n;e[Hn(o)]({params:B,query:{...V,...N},hash:G})}))}}));return In(()=>n.query[t],T=>{_=T,w()},{flush:"sync"}),F}var Hx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){var i=1e3,o=6e4,n=36e5,e="millisecond",f="second",v="minute",_="hour",w="day",F="week",T="month",C="quarter",O="year",N="date",B="Invalid Date",V=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,G=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,X={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Ee){var Ue=["th","st","nd","rd"],ve=Ee%100;return"["+Ee+(Ue[(ve-20)%10]||Ue[ve]||Ue[0])+"]"}},H=function(Ee,Ue,ve){var fe=String(Ee);return!fe||fe.length>=Ue?Ee:""+Array(Ue+1-fe.length).join(ve)+Ee},z={s:H,z:function(Ee){var Ue=-Ee.utcOffset(),ve=Math.abs(Ue),fe=Math.floor(ve/60),Fe=ve%60;return(Ue<=0?"+":"-")+H(fe,2,"0")+":"+H(Fe,2,"0")},m:function Ee(Ue,ve){if(Ue.date()<ve.date())return-Ee(ve,Ue);var fe=12*(ve.year()-Ue.year())+(ve.month()-Ue.month()),Fe=Ue.clone().add(fe,T),Oe=ve-Fe<0,Re=Ue.clone().add(fe+(Oe?-1:1),T);return+(-(fe+(ve-Fe)/(Oe?Fe-Re:Re-Fe))||0)},a:function(Ee){return Ee<0?Math.ceil(Ee)||0:Math.floor(Ee)},p:function(Ee){return{M:T,y:O,w:F,d:w,D:N,h:_,m:v,s:f,ms:e,Q:C}[Ee]||String(Ee||"").toLowerCase().replace(/s$/,"")},u:function(Ee){return Ee===void 0}},Y="en",ee={};ee[Y]=X;var K="$isDayjsObject",P=function(Ee){return Ee instanceof ae||!(!Ee||!Ee[K])},I=function Ee(Ue,ve,fe){var Fe;if(!Ue)return Y;if(typeof Ue=="string"){var Oe=Ue.toLowerCase();ee[Oe]&&(Fe=Oe),ve&&(ee[Oe]=ve,Fe=Oe);var Re=Ue.split("-");if(!Fe&&Re.length>1)return Ee(Re[0])}else{var ce=Ue.name;ee[ce]=Ue,Fe=ce}return!fe&&Fe&&(Y=Fe),Fe||!fe&&Y},W=function(Ee,Ue){if(P(Ee))return Ee.clone();var ve=typeof Ue=="object"?Ue:{};return ve.date=Ee,ve.args=arguments,new ae(ve)},oe=z;oe.l=I,oe.i=P,oe.w=function(Ee,Ue){return W(Ee,{locale:Ue.$L,utc:Ue.$u,x:Ue.$x,$offset:Ue.$offset})};var ae=function(){function Ee(ve){this.$L=I(ve.locale,null,!0),this.parse(ve),this.$x=this.$x||ve.x||{},this[K]=!0}var Ue=Ee.prototype;return Ue.parse=function(ve){this.$d=function(fe){var Fe=fe.date,Oe=fe.utc;if(Fe===null)return new Date(NaN);if(oe.u(Fe))return new Date;if(Fe instanceof Date)return new Date(Fe);if(typeof Fe=="string"&&!/Z$/i.test(Fe)){var Re=Fe.match(V);if(Re){var ce=Re[2]-1||0,De=(Re[7]||"0").substring(0,3);return Oe?new Date(Date.UTC(Re[1],ce,Re[3]||1,Re[4]||0,Re[5]||0,Re[6]||0,De)):new Date(Re[1],ce,Re[3]||1,Re[4]||0,Re[5]||0,Re[6]||0,De)}}return new Date(Fe)}(ve),this.init()},Ue.init=function(){var ve=this.$d;this.$y=ve.getFullYear(),this.$M=ve.getMonth(),this.$D=ve.getDate(),this.$W=ve.getDay(),this.$H=ve.getHours(),this.$m=ve.getMinutes(),this.$s=ve.getSeconds(),this.$ms=ve.getMilliseconds()},Ue.$utils=function(){return oe},Ue.isValid=function(){return this.$d.toString()!==B},Ue.isSame=function(ve,fe){var Fe=W(ve);return this.startOf(fe)<=Fe&&Fe<=this.endOf(fe)},Ue.isAfter=function(ve,fe){return W(ve)<this.startOf(fe)},Ue.isBefore=function(ve,fe){return this.endOf(fe)<W(ve)},Ue.$g=function(ve,fe,Fe){return oe.u(ve)?this[fe]:this.set(Fe,ve)},Ue.unix=function(){return Math.floor(this.valueOf()/1e3)},Ue.valueOf=function(){return this.$d.getTime()},Ue.startOf=function(ve,fe){var Fe=this,Oe=!!oe.u(fe)||fe,Re=oe.p(ve),ce=function(de,Ye){var gt=oe.w(Fe.$u?Date.UTC(Fe.$y,Ye,de):new Date(Fe.$y,Ye,de),Fe);return Oe?gt:gt.endOf(w)},De=function(de,Ye){return oe.w(Fe.toDate()[de].apply(Fe.toDate("s"),(Oe?[0,0,0,0]:[23,59,59,999]).slice(Ye)),Fe)},We=this.$W,ke=this.$M,ge=this.$D,Ie="set"+(this.$u?"UTC":"");switch(Re){case O:return Oe?ce(1,0):ce(31,11);case T:return Oe?ce(1,ke):ce(0,ke+1);case F:var ie=this.$locale().weekStart||0,Pe=(We<ie?We+7:We)-ie;return ce(Oe?ge-Pe:ge+(6-Pe),ke);case w:case N:return De(Ie+"Hours",0);case _:return De(Ie+"Minutes",1);case v:return De(Ie+"Seconds",2);case f:return De(Ie+"Milliseconds",3);default:return this.clone()}},Ue.endOf=function(ve){return this.startOf(ve,!1)},Ue.$set=function(ve,fe){var Fe,Oe=oe.p(ve),Re="set"+(this.$u?"UTC":""),ce=(Fe={},Fe[w]=Re+"Date",Fe[N]=Re+"Date",Fe[T]=Re+"Month",Fe[O]=Re+"FullYear",Fe[_]=Re+"Hours",Fe[v]=Re+"Minutes",Fe[f]=Re+"Seconds",Fe[e]=Re+"Milliseconds",Fe)[Oe],De=Oe===w?this.$D+(fe-this.$W):fe;if(Oe===T||Oe===O){var We=this.clone().set(N,1);We.$d[ce](De),We.init(),this.$d=We.set(N,Math.min(this.$D,We.daysInMonth())).$d}else ce&&this.$d[ce](De);return this.init(),this},Ue.set=function(ve,fe){return this.clone().$set(ve,fe)},Ue.get=function(ve){return this[oe.p(ve)]()},Ue.add=function(ve,fe){var Fe,Oe=this;ve=Number(ve);var Re=oe.p(fe),ce=function(ke){var ge=W(Oe);return oe.w(ge.date(ge.date()+Math.round(ke*ve)),Oe)};if(Re===T)return this.set(T,this.$M+ve);if(Re===O)return this.set(O,this.$y+ve);if(Re===w)return ce(1);if(Re===F)return ce(7);var De=(Fe={},Fe[v]=o,Fe[_]=n,Fe[f]=i,Fe)[Re]||1,We=this.$d.getTime()+ve*De;return oe.w(We,this)},Ue.subtract=function(ve,fe){return this.add(-1*ve,fe)},Ue.format=function(ve){var fe=this,Fe=this.$locale();if(!this.isValid())return Fe.invalidDate||B;var Oe=ve||"YYYY-MM-DDTHH:mm:ssZ",Re=oe.z(this),ce=this.$H,De=this.$m,We=this.$M,ke=Fe.weekdays,ge=Fe.months,Ie=Fe.meridiem,ie=function(Ye,gt,nt,J){return Ye&&(Ye[gt]||Ye(fe,Oe))||nt[gt].slice(0,J)},Pe=function(Ye){return oe.s(ce%12||12,Ye,"0")},de=Ie||function(Ye,gt,nt){var J=Ye<12?"AM":"PM";return nt?J.toLowerCase():J};return Oe.replace(G,function(Ye,gt){return gt||function(nt){switch(nt){case"YY":return String(fe.$y).slice(-2);case"YYYY":return oe.s(fe.$y,4,"0");case"M":return We+1;case"MM":return oe.s(We+1,2,"0");case"MMM":return ie(Fe.monthsShort,We,ge,3);case"MMMM":return ie(ge,We);case"D":return fe.$D;case"DD":return oe.s(fe.$D,2,"0");case"d":return String(fe.$W);case"dd":return ie(Fe.weekdaysMin,fe.$W,ke,2);case"ddd":return ie(Fe.weekdaysShort,fe.$W,ke,3);case"dddd":return ke[fe.$W];case"H":return String(ce);case"HH":return oe.s(ce,2,"0");case"h":return Pe(1);case"hh":return Pe(2);case"a":return de(ce,De,!0);case"A":return de(ce,De,!1);case"m":return String(De);case"mm":return oe.s(De,2,"0");case"s":return String(fe.$s);case"ss":return oe.s(fe.$s,2,"0");case"SSS":return oe.s(fe.$ms,3,"0");case"Z":return Re}return null}(Ye)||Re.replace(":","")})},Ue.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Ue.diff=function(ve,fe,Fe){var Oe,Re=this,ce=oe.p(fe),De=W(ve),We=(De.utcOffset()-this.utcOffset())*o,ke=this-De,ge=function(){return oe.m(Re,De)};switch(ce){case O:Oe=ge()/12;break;case T:Oe=ge();break;case C:Oe=ge()/3;break;case F:Oe=(ke-We)/6048e5;break;case w:Oe=(ke-We)/864e5;break;case _:Oe=ke/n;break;case v:Oe=ke/o;break;case f:Oe=ke/i;break;default:Oe=ke}return Fe?Oe:oe.a(Oe)},Ue.daysInMonth=function(){return this.endOf(T).$D},Ue.$locale=function(){return ee[this.$L]},Ue.locale=function(ve,fe){if(!ve)return this.$L;var Fe=this.clone(),Oe=I(ve,fe,!0);return Oe&&(Fe.$L=Oe),Fe},Ue.clone=function(){return oe.w(this.$d,this)},Ue.toDate=function(){return new Date(this.valueOf())},Ue.toJSON=function(){return this.isValid()?this.toISOString():null},Ue.toISOString=function(){return this.$d.toISOString()},Ue.toString=function(){return this.$d.toUTCString()},Ee}(),be=ae.prototype;return W.prototype=be,[["$ms",e],["$s",f],["$m",v],["$H",_],["$W",w],["$M",T],["$y",O],["$D",N]].forEach(function(Ee){be[Ee[1]]=function(Ue){return this.$g(Ue,Ee[0],Ee[1])}}),W.extend=function(Ee,Ue){return Ee.$i||(Ee(Ue,ae,W),Ee.$i=!0),W},W.locale=I,W.isDayjs=P,W.unix=function(Ee){return W(1e3*Ee)},W.en=ee[Y],W.Ls=ee,W.p={},W})})(Hx);var SL=Hx.exports;const ds=Ns(SL);var $x={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){var i,o,n=1e3,e=6e4,f=36e5,v=864e5,_=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w=31536e6,F=2628e6,T=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,C={years:w,months:F,days:v,hours:f,minutes:e,seconds:n,milliseconds:1,weeks:6048e5},O=function(ee){return ee instanceof z},N=function(ee,K,P){return new z(ee,P,K.$l)},B=function(ee){return o.p(ee)+"s"},V=function(ee){return ee<0},G=function(ee){return V(ee)?Math.ceil(ee):Math.floor(ee)},X=function(ee){return Math.abs(ee)},H=function(ee,K){return ee?V(ee)?{negative:!0,format:""+X(ee)+K}:{negative:!1,format:""+ee+K}:{negative:!1,format:""}},z=function(){function ee(P,I,W){var oe=this;if(this.$d={},this.$l=W,P===void 0&&(this.$ms=0,this.parseFromMilliseconds()),I)return N(P*C[B(I)],this);if(typeof P=="number")return this.$ms=P,this.parseFromMilliseconds(),this;if(typeof P=="object")return Object.keys(P).forEach(function(Ee){oe.$d[B(Ee)]=P[Ee]}),this.calMilliseconds(),this;if(typeof P=="string"){var ae=P.match(T);if(ae){var be=ae.slice(2).map(function(Ee){return Ee!=null?Number(Ee):0});return this.$d.years=be[0],this.$d.months=be[1],this.$d.weeks=be[2],this.$d.days=be[3],this.$d.hours=be[4],this.$d.minutes=be[5],this.$d.seconds=be[6],this.calMilliseconds(),this}}return this}var K=ee.prototype;return K.calMilliseconds=function(){var P=this;this.$ms=Object.keys(this.$d).reduce(function(I,W){return I+(P.$d[W]||0)*C[W]},0)},K.parseFromMilliseconds=function(){var P=this.$ms;this.$d.years=G(P/w),P%=w,this.$d.months=G(P/F),P%=F,this.$d.days=G(P/v),P%=v,this.$d.hours=G(P/f),P%=f,this.$d.minutes=G(P/e),P%=e,this.$d.seconds=G(P/n),P%=n,this.$d.milliseconds=P},K.toISOString=function(){var P=H(this.$d.years,"Y"),I=H(this.$d.months,"M"),W=+this.$d.days||0;this.$d.weeks&&(W+=7*this.$d.weeks);var oe=H(W,"D"),ae=H(this.$d.hours,"H"),be=H(this.$d.minutes,"M"),Ee=this.$d.seconds||0;this.$d.milliseconds&&(Ee+=this.$d.milliseconds/1e3,Ee=Math.round(1e3*Ee)/1e3);var Ue=H(Ee,"S"),ve=P.negative||I.negative||oe.negative||ae.negative||be.negative||Ue.negative,fe=ae.format||be.format||Ue.format?"T":"",Fe=(ve?"-":"")+"P"+P.format+I.format+oe.format+fe+ae.format+be.format+Ue.format;return Fe==="P"||Fe==="-P"?"P0D":Fe},K.toJSON=function(){return this.toISOString()},K.format=function(P){var I=P||"YYYY-MM-DDTHH:mm:ss",W={Y:this.$d.years,YY:o.s(this.$d.years,2,"0"),YYYY:o.s(this.$d.years,4,"0"),M:this.$d.months,MM:o.s(this.$d.months,2,"0"),D:this.$d.days,DD:o.s(this.$d.days,2,"0"),H:this.$d.hours,HH:o.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:o.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:o.s(this.$d.seconds,2,"0"),SSS:o.s(this.$d.milliseconds,3,"0")};return I.replace(_,function(oe,ae){return ae||String(W[oe])})},K.as=function(P){return this.$ms/C[B(P)]},K.get=function(P){var I=this.$ms,W=B(P);return W==="milliseconds"?I%=1e3:I=W==="weeks"?G(I/C[W]):this.$d[W],I||0},K.add=function(P,I,W){var oe;return oe=I?P*C[B(I)]:O(P)?P.$ms:N(P,this).$ms,N(this.$ms+oe*(W?-1:1),this)},K.subtract=function(P,I){return this.add(P,I,!0)},K.locale=function(P){var I=this.clone();return I.$l=P,I},K.clone=function(){return N(this.$ms,this)},K.humanize=function(P){return i().add(this.$ms,"ms").locale(this.$l).fromNow(!P)},K.valueOf=function(){return this.asMilliseconds()},K.milliseconds=function(){return this.get("milliseconds")},K.asMilliseconds=function(){return this.as("milliseconds")},K.seconds=function(){return this.get("seconds")},K.asSeconds=function(){return this.as("seconds")},K.minutes=function(){return this.get("minutes")},K.asMinutes=function(){return this.as("minutes")},K.hours=function(){return this.get("hours")},K.asHours=function(){return this.as("hours")},K.days=function(){return this.get("days")},K.asDays=function(){return this.as("days")},K.weeks=function(){return this.get("weeks")},K.asWeeks=function(){return this.as("weeks")},K.months=function(){return this.get("months")},K.asMonths=function(){return this.as("months")},K.years=function(){return this.get("years")},K.asYears=function(){return this.as("years")},ee}(),Y=function(ee,K,P){return ee.add(K.years()*P,"y").add(K.months()*P,"M").add(K.days()*P,"d").add(K.hours()*P,"h").add(K.minutes()*P,"m").add(K.seconds()*P,"s").add(K.milliseconds()*P,"ms")};return function(ee,K,P){i=P,o=P().$utils(),P.duration=function(oe,ae){var be=P.locale();return N(oe,{$l:be},ae)},P.isDuration=O;var I=K.prototype.add,W=K.prototype.subtract;K.prototype.add=function(oe,ae){return O(oe)?Y(this,oe,1):I.bind(this)(oe,ae)},K.prototype.subtract=function(oe,ae){return O(oe)?Y(this,oe,-1):W.bind(this)(oe,ae)}}})})($x);var kL=$x.exports;const OL=Ns(kL);var Wx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){var i="minute",o=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(e,f,v){var _=f.prototype;v.utc=function(B){var V={date:B,utc:!0,args:arguments};return new f(V)},_.utc=function(B){var V=v(this.toDate(),{locale:this.$L,utc:!0});return B?V.add(this.utcOffset(),i):V},_.local=function(){return v(this.toDate(),{locale:this.$L,utc:!1})};var w=_.parse;_.parse=function(B){B.utc&&(this.$u=!0),this.$utils().u(B.$offset)||(this.$offset=B.$offset),w.call(this,B)};var F=_.init;_.init=function(){if(this.$u){var B=this.$d;this.$y=B.getUTCFullYear(),this.$M=B.getUTCMonth(),this.$D=B.getUTCDate(),this.$W=B.getUTCDay(),this.$H=B.getUTCHours(),this.$m=B.getUTCMinutes(),this.$s=B.getUTCSeconds(),this.$ms=B.getUTCMilliseconds()}else F.call(this)};var T=_.utcOffset;_.utcOffset=function(B,V){var G=this.$utils().u;if(G(B))return this.$u?0:G(this.$offset)?T.call(this):this.$offset;if(typeof B=="string"&&(B=function(Y){Y===void 0&&(Y="");var ee=Y.match(o);if(!ee)return null;var K=(""+ee[0]).match(n)||["-",0,0],P=K[0],I=60*+K[1]+ +K[2];return I===0?0:P==="+"?I:-I}(B),B===null))return this;var X=Math.abs(B)<=16?60*B:B,H=this;if(V)return H.$offset=X,H.$u=B===0,H;if(B!==0){var z=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(H=this.local().add(X+z,i)).$offset=X,H.$x.$localOffset=z}else H=this.utc();return H};var C=_.format;_.format=function(B){var V=B||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return C.call(this,V)},_.valueOf=function(){var B=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*B},_.isUTC=function(){return!!this.$u},_.toISOString=function(){return this.toDate().toISOString()},_.toString=function(){return this.toDate().toUTCString()};var O=_.toDate;_.toDate=function(B){return B==="s"&&this.$offset?v(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():O.call(this)};var N=_.diff;_.diff=function(B,V,G){if(B&&this.$u===B.$u)return N.call(this,B,V,G);var X=this.local(),H=v(B).local();return N.call(X,H,V,G)}}})})(Wx);var RL=Wx.exports;const IL=Ns(RL);var zx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){var i={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(n,e,f){var v,_=function(C,O,N){N===void 0&&(N={});var B=new Date(C),V=function(G,X){X===void 0&&(X={});var H=X.timeZoneName||"short",z=G+"|"+H,Y=o[z];return Y||(Y=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:G,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:H}),o[z]=Y),Y}(O,N);return V.formatToParts(B)},w=function(C,O){for(var N=_(C,O),B=[],V=0;V<N.length;V+=1){var G=N[V],X=G.type,H=G.value,z=i[X];z>=0&&(B[z]=parseInt(H,10))}var Y=B[3],ee=Y===24?0:Y,K=B[0]+"-"+B[1]+"-"+B[2]+" "+ee+":"+B[4]+":"+B[5]+":000",P=+C;return(f.utc(K).valueOf()-(P-=P%1e3))/6e4},F=e.prototype;F.tz=function(C,O){C===void 0&&(C=v);var N,B=this.utcOffset(),V=this.toDate(),G=V.toLocaleString("en-US",{timeZone:C}),X=Math.round((V-new Date(G))/1e3/60),H=15*-Math.round(V.getTimezoneOffset()/15)-X;if(!Number(H))N=this.utcOffset(0,O);else if(N=f(G,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(H,!0),O){var z=N.utcOffset();N=N.add(B-z,"minute")}return N.$x.$timezone=C,N},F.offsetName=function(C){var O=this.$x.$timezone||f.tz.guess(),N=_(this.valueOf(),O,{timeZoneName:C}).find(function(B){return B.type.toLowerCase()==="timezonename"});return N&&N.value};var T=F.startOf;F.startOf=function(C,O){if(!this.$x||!this.$x.$timezone)return T.call(this,C,O);var N=f(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return T.call(N,C,O).tz(this.$x.$timezone,!0)},f.tz=function(C,O,N){var B=N&&O,V=N||O||v,G=w(+f(),V);if(typeof C!="string")return f(C).tz(V);var X=function(ee,K,P){var I=ee-60*K*1e3,W=w(I,P);if(K===W)return[I,K];var oe=w(I-=60*(W-K)*1e3,P);return W===oe?[I,W]:[ee-60*Math.min(W,oe)*1e3,Math.max(W,oe)]}(f.utc(C,B).valueOf(),G,V),H=X[0],z=X[1],Y=f(H).utcOffset(z);return Y.$x.$timezone=V,Y},f.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},f.tz.setDefault=function(C){v=C}}})})(zx);var PL=zx.exports;const NL=Ns(PL);var Vx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){return function(i,o){var n=o.prototype,e=n.format;n.format=function(f){var v=this,_=this.$locale();if(!this.isValid())return e.bind(this)(f);var w=this.$utils(),F=(f||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(T){switch(T){case"Q":return Math.ceil((v.$M+1)/3);case"Do":return _.ordinal(v.$D);case"gggg":return v.weekYear();case"GGGG":return v.isoWeekYear();case"wo":return _.ordinal(v.week(),"W");case"w":case"ww":return w.s(v.week(),T==="w"?1:2,"0");case"W":case"WW":return w.s(v.isoWeek(),T==="W"?1:2,"0");case"k":case"kk":return w.s(String(v.$H===0?24:v.$H),T==="k"?1:2,"0");case"X":return Math.floor(v.$d.getTime()/1e3);case"x":return v.$d.getTime();case"z":return"["+v.offsetName()+"]";case"zzz":return"["+v.offsetName("long")+"]";default:return T}});return e.bind(this)(F)}}})})(Vx);var LL=Vx.exports;const ML=Ns(LL);var Gx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){return function(i,o){o.prototype.isSameOrBefore=function(n,e){return this.isSame(n,e)||this.isBefore(n,e)}}})})(Gx);var BL=Gx.exports;const UL=Ns(BL);var jx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){return function(i,o){o.prototype.isSameOrAfter=function(n,e){return this.isSame(n,e)||this.isAfter(n,e)}}})})(jx);var HL=jx.exports;const $L=Ns(HL);var Yx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){return function(i,o,n){var e=function(f,v){if(!v||!v.length||v.length===1&&!v[0]||v.length===1&&Array.isArray(v[0])&&!v[0].length)return null;var _;v.length===1&&v[0].length>0&&(v=v[0]),_=(v=v.filter(function(F){return F}))[0];for(var w=1;w<v.length;w+=1)v[w].isValid()&&!v[w][f](_)||(_=v[w]);return _};n.max=function(){var f=[].slice.call(arguments,0);return e("isAfter",f)},n.min=function(){var f=[].slice.call(arguments,0);return e("isBefore",f)}}})})(Yx);var WL=Yx.exports;const zL=Ns(WL);var Kx={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(Yi,function(){return function(i,o,n){i=i||{};var e=o.prototype,f={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function v(w,F,T,C){return e.fromToBase(w,F,T,C)}n.en.relativeTime=f,e.fromToBase=function(w,F,T,C,O){for(var N,B,V,G=T.$locale().relativeTime||f,X=i.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],H=X.length,z=0;z<H;z+=1){var Y=X[z];Y.d&&(N=C?n(w).diff(T,Y.d,!0):T.diff(w,Y.d,!0));var ee=(i.rounding||Math.round)(Math.abs(N));if(V=N>0,ee<=Y.r||!Y.r){ee<=1&&z>0&&(Y=X[z-1]);var K=G[Y.l];O&&(ee=O(""+ee)),B=typeof K=="string"?K.replace("%d",ee):K(ee,F,Y.l,V);break}}if(F)return B;var P=V?G.future:G.past;return typeof P=="function"?P(B):P.replace("%s",B)},e.to=function(w,F){return v(w,F,this,!0)},e.from=function(w,F){return v(w,F,this)};var _=function(w){return w.$u?n.utc():n()};e.toNow=function(w){return this.to(_(this),w)},e.fromNow=function(w){return this.from(_(this),w)}}})})(Kx);var VL=Kx.exports;const GL=Ns(VL);var Iv={exports:{}};/**
|
|
48
48
|
* @license
|
|
49
49
|
* Lodash <https://lodash.com/>
|
|
50
50
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
@@ -233,4 +233,4 @@ License: MIT
|
|
|
233
233
|
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
|
|
234
234
|
`,t}function RU(){const t={};return t.base64=String.raw`
|
|
235
235
|
iVBORw0KGgoAAAANSUhEUgAAAL0AAAC9CAMAAADRCYwCAAAB41BMVEVHcEwau034r2WEe974tmmF5WgnwlPgv5Bz5WT7vHPxe1GRheFscds1Tc8sxlMlxU0/0FZQ3lf9tzxJ3VnyXTXzXjdT3138tTvyWDT5uHErxVQ/UdHxTyo8z1hGzlr9tjxhZ9nwQyHyeFFna9r5rWMauE9Y1mD0e1NPXtMXt0tQ22Atz079uUT9sS1+ed3zXDlL1FgtyFL9tznzcUrza0X9sy5MXdROX9TvOhtLVtbzYT38u184yFo1Tc5UYNb9vlNcZdY1z1Ni1GP9sCn9tzspSMpGWNJh22Ks6X31jGT0b0v5wolV0Gaiwidycdv9tzn0dU79vlE5T9AYt01q32X8v1BeZ9fzdFB6326M5XBDVdJaZNb8v1MPrEyBfNzwSSX8vFmz54R23W/2lG79tDSYi+D3yGXzfVj0e1SfUZxtctn52a2hleH7q0OT3on727bwy22r1DFSuKboztr7y3UwmKSroNv+sSYoR8rvMxYRsksoRcsTtEkRskn+sSQPsEsMrUzvNRclR8kPsU7xMRT/tCfxNhgVtUYJqU30NRcZuVIoSs71PyD/ty4yTtD2TSv/uTw9VdLvuR9wvi6hOXPKN0lfO6VBQrtMuzflMyvMvyLP3agpgLEgsHaZylH/0IGVjSRsRSpHAAAAd3RSTlMA2icvHg7+BxsTNhAf59q3szWEQZQjJFXiZOoz7ZfarYv4U0dF8K6X8LBRScBkbPl8yuhpqPrf/uVox3n59XY1zWLS19n3xGwqjvM2/v1Z9H6Y1D9Z/aHkjEibt9L2p8btV67cl5Czyrj26EjI5ub45K/0t49u/SxprvcAABVaSURBVHja7FtrT9taFiWEJBASEtSAAgTEo7xaiYCCeN2CKBJQYFQhWkFbRDvDVQW9d3Tnw3xJHFs2tuXEDyVCglbVSKP5qbP38bET3okdJSB1owKF5GR5n7XXXvvENDX9il/xK2oYbS0tXVa0tLQ9JeiB4PDJQTy+YEYifvB7KtgWeBLQW7pSSwnDUFRFVWX4UBRFNYzE0niw+dFjDwJ0RZUzEGdm4HeZDFxM4iD1/FFvQDAWN2RZMVGflX+BkGUjGXv+eLHPAnYbbQm2HRnZiJ8+Tvxtu4ky7HcE4E9uPT4FCvQsDakPYSf4leJs12NL/GzxOnYsXFnOlBcw5b/yJdXyuBhvyNcYIqtG0QzDUOUrlMqoxdNHxJ5g3MiUyhSQK8XkQSw2voUxHovNbhdBikroz+Ti7mPRzkAqXsaajHyW2B4f7tkp51XP8O5B4kwtiag89EjIH9hNlsCjJo53Nd9MbKC5a7dcT2Xj9FFwfzgp27QBPZxtvpMTzacJxeaPXBwPPAbOy6VqXFgavg9SW3CpKNtXOtR47gfjagl8MvXQw5vHF2yaKcXhRuv8kg0mYyxVYgKCXxQbfjzY4CZl63zGiFVWhi1fbO0xlhpaubtFC7w6FKuUxcO2wMpGIys3mKA1qMiVgyfwrUppIHcCMcXK/EKqmiSCyNInGrGGoU8NURDyUJXqsWs9U1kYbhhvLAIosSrpG5g1MpQ7S41hvo3gTN2umr3NJvXRr6UaV7KEN4nqdz+wVbSSP9sQs2xvvrHr5NzkgNJOTjaC+c1f6MurzlpOykq+0Qj0u1bqi1vOrv7AIl4DqBNwmfqS3sqJ+s8pw9QjZIa2nFZ90lphuGE1q8adGq22WYpePam35P+5TV9acc7aFB0U69+weuxtd26zUkWK/ku90acsxUk+d52BBqCnA1LmYMfxGi1LKnVqdZ5RLLF21metiJkbmDG26os+uF0LtbPRj9cZfbIWnaZh6Km/lOPNTxi96gr9OBWuuqO3PMp2LXJf3Hqy6DMZeeH5E8593buVhV5xV7X4XnQmU3/0tdGcxMLCwplad5dWG71vw1swtk5O6n0cWJteaw5pEHU2aTsW+npLdU2i7VQx34SVt3eeIHzL358la6LVvlZf5/HxWBRj7PhDt6+mxwzAzVAfDcJTe7YyanCQ53u/NuDx+DVNYzUMv6djbdNXG+TtoVDf4cZGeJ3GxsbhVKhn23z3OKMeuBstfN3d/R2aJDGSwPECBCcIPCtJR57ou263V9A+MrI/EQ6ndT2b1dMYuq4X1sMT3y7PVOUMPhKuqNM53Tt6JPA8x3A8w7IcD5/hO/giCUe9/S8/utGjt/vzBVFMp7Np/AcfWfO7tCj++H7xU1WBOqfOl9/s72XyvMQCbIbjGDaXY3Msy3A5lmPhu3xe+9u0U/jtU4dhHaBDzgloK8z/iHoW8MuK7PjNm9Z+vyZwDMPnWMaEz3HkE8vgXsBVAItGI5uO8IcOz3XMu5n4LPlnXwRugyjqiN/hmzeB7ogm8AzSBdPOwQ4AZuA8/EQi/OFwA3jJH+2seu3Q4J5uQaef6AZYP8Gvevr7ZSbhpN92jnkEnmNzABw/oGJ5IBDDMJLEcwIvIXQGNoZjBanjWWt1eV+ZWNfTNtisxfh02QWY/NfTFz8dnMN2zmg8wIU8Y/qFvMBommdyMhKZnJwc1VhQH7gSuDb4PVzX6NrH6khj5dsGK9qRzdq5J/i/X1YLP/DSg3nNcTxSnBc0f+/M2gcrwaD+HX6NFxjEz2MNCNrAs4oXH9nQTZ2hOAG5Xiicz2OcnxegGiinyIYg/Orul2jt1/ICpJVFenN5tjd6/A9fmbYHfG8+jPXCY5A4LOoPL0UqJE9gao4wvhTr86uLi4tTZiwurqxOLKfFsvyLP779Vg34iMazKCkCn8vlpVf9t9Li4/SAlodGQKoB+BN5WZFODs6nRUsaIbfre6sj3tCVh3i9fStzsAVZa4MAfuWV2z0pAeNB2lEdGf90510d9c3mANEgxsx+byXwp85NXhDGZAsTg+3tN7enKdA+NQeCaimpmP5W6U26m708ch61nZdGo8/ueVrA99ojMahKTI6pCP5IOGvro1iYGwzd+Ujv572Cbsm/mP32WyXwA5t+CXNOWqngef3gRiHLiDSBd5jpfqi9hs1ORBxNeN/7cE+gXUD8cVFB6QY++EELcwy2IkGLdlfAs6gmMKicwB8hem/pBr7OW50UEr8x8uDafdjSCP2z4o/LB2/zQ/DYXdGOSZ7NNxWVyfSoAI/PoURp/ffq/JxNhfT6PaQpo89cQcyatat//xl/4BbjZ68IeAbIIL16X2lzeOERSN+VAP59VPtk6UhaX16pbG3vasHuWxdq8SR4D/7WGWIAQEI4oaPy9tMEO8aiaWYloeNOsgVWlm0bFl6pdGkC32xrPy5lNXEyvHPHBbROgoDkOLRgVYFvenOs5dE04wRwZ/LfnltNSt/rq3xt7wZtbtB0fyqKOrQ9m+ppuxW8hG0fWo9UFXh46pjGg2aiIxp9fxeFiT+ANOrhvmrW9lrVIqYvVLwdVikml2Kx2DhGbJzWQncEbBmHE5QgvHpR7fzYLxFnwXFS9FZla98viJQ46yvVrT2yTJ0/6I5KbwBXDXoLuHHQTDnPY9thkfPVgscGDc/OoZMevfXJ3gnqyUR9pdq1BwvUtukXsmLe6kpuvicR7yLeBqcn0jeFKmljxmspj24HWDdzi7MIHFpSqW+0VzvKtH8Sqd+Ewr1yGz4e1HYheInJIXMk3hn4Jl8EpxgcVkY7b3MI1iQSHql+7VCYWiNI/rW/1FATXdAwsV6BtZwg9ToCD/5IwyYN3NGiN3+5X6CVd77iYOn2Q536HZCda+gXuroHJCLYMI044TzVnQ4BdQeKd+ZGj/aGral11etk7RFQW6JY6Uv56p+ZKAtBsCrAenhhsAcOMw/0nAZjDVMvK/g3b6be7LLi+Vdnpyf7lmp+SxpnMvlTGfOP3OShNXhZ6FLYYZ2DB+bPSAweoAja9HXe7tEX11dDztZeOTdTL57/51+/byeGhgwaxf8RVwm2UnLMeTOiEp6cwEr91yR/kLZZp6lHwTVnRbHwzz93doLBnt/N+Pt/BQEPmSBvUu97N+CbXhzhoQmXE159vCHYZAxMz4Wcrv1JN4+r9FVTcNtIvFkDzrM4i7CSx1XmoW495JiEzfufXbMqItX6FcdrvyWVgx6prF20RiU05zAI8oJb8Kg65PiH066OiG/nqT8Lh5yjnzepU47eF9WwwYM5Z11ynqAfyONYxrLCu1vzlp5rd7x2aIMeMeyFSt5KE3LkPEMS/H+9afL5fG4OtFvX8uBzYCfz/VfMwqJl6w+do0fiE/otfy3ztdjeuRyMRTm/Z2ZmZmDaTfJfI3qQfGGgfL4N/UFN1vqIi7U/FahsfbbBm4dhPOh8L7hzXhDyk27QvztizGPPK+i9f5gnA+Jyn4u1Bwtmvyt8LmUez8FA6Ds6wehAsxVYd+hxuoI6yne0XtNqAr+G6AP9GlgDCd9cEHpfNEVAezgYrF2jx7K9hj5MO82E1xV6sYQeaQOdUeIl0x5EMPdg712ih9TDKlfR94Vpp3WPHgLRtx5r6CoZFHqi8xHyfohb5hxJ+IYQcwt69Ciu0ROj87nJN+bn8OwDPDHV+YhEJjt3uZ/OYz54Jj9wS+6zNcl99vwrcp5ULBCd+vmIRFymK963rOUZJCN79USwdszB4jn/N6ENx+XQz9MxLoKZd1m10Gt5Dscr4YpTqA1zPuGBiiiK83/9v72r/0kjW8OoFCQoFZpo6I3FxGK6ikZJ0DSo+MFtTRQNXdmsvbpxN64/bJvtdu/HmIFhTphMZjJkyKi/mLa7/Vfv+55zBvEbGC/uJPckKv3I8MyZ933e5/044iO07Yp63s5BwWtpS7BrxwH6EBFRrEqlCc8lzqGF1xdOGHNx9s1CrVY9+oKqEoU46PnwuTYnVKH4vneiMWVIjTE9eXJJm1Nx6yxa+YPB0dGf//O7ImHBDJQs8rz9b2O0N3tNXtRKXr4HngO6Sb+o7yHWsmqSI/QM5q8+dFis99VtnhZSFYm2qkoO0ENuhbQlys/WLialts5ZdIr+W3i6CiTPsEWN4D2DXbSECW7btsp81KVAyIPs/vLze8lr2EdLQafgJQmLToA0FL5cz8Ai8DUFgabZHlwHxCr4zvSVvIildW/6HIEfxyaZRDsjT8cvsR3BNiEY/li7W/+shHxZ0qTQJd4a5TKtWBtxAv5JHPYX+5Pi1TTwNRYzsEf7bK1Nn43TJm+JXKml+TGzwGZbdbbPidkgPhH1WNeVWuMTHwGqxpS6PdPpHRBlFPcaMb6/IU4CZ045AU+xS0QJXS2UDoLpoE2JykBb81qvsftTQtH97ErjcGqOc2Ztyd+2zdPugoR6/roEfBpyXKyBy75wG1cfnEG+0cB0rm69J/iqSkvYxaP+NpPDibiCdUb5gs0HoukIXel0+nBDx2RF0shw6xsEuo8oOMyjkevK94vHtI5ZrNTetrP53p+6aC8TqFKnNh/wPj+MxRJblsmWZVk5DWux8H+M1tXCNtqNiAotfl27Hzef6cyFl2241E8+BKZhGjj/xBNYf57IJk1TVct8CfB1cqYj6aBltWo7409xWAfb1OTxtV4z9XdeAq/Otiw0IRmh24rdhfnP/4weFlKqjVwQBPt7TkPbBeV558DBFY9XMKGFO9d915f/g0tVXtSptlrUYXUbSYEwq89//vDVMgWKFr6Ec/CCoJ7qSNiiIhsDvS2RJU6aYhwhysr10cI/tVDh0za171qCj3MQbIaS6Bufv1p8x9mqmw6+/qQRjDhAHcZY8/DXxrB5gaH6svy4wPlsBhA89/iHYCvgFUzYMIfVN34rCDb0+t7z1/CHco4Q2rxBwdAs6/+4YtBWKRgOid/cNhp9UWXjrkeVuear+GGwSWRKEcCfFUzbSuh2c3e1HRf+4lSnKZZMZGO4OfhrK4Yu0qqWfPuICJvNocTTvxlsNooYBKc+wG700xOKUKhvehl8lzMm9WJBQN5RsH+lNDknN0iLESgSgBZu9xba9WRrrinjCYx/Q4dXsVTDwQsCvwFBNa1E7HxlLVNF09epYABMyuPxu7Z/bfsxgeit4XQRufN239bskbTKcROuGx7wyQrNNaVG8GzXsxBgGw8EZdKTB1sMPs6rYx7gG76dOcMrPkKweAaeLt39rHBegg/oHNX+0XcXUYYMnY0+K4QAeNxztu2CmZ3MXKU1fyadVHOajnOkOClKjNDwzZD8yyGR4IAyzlfAzt8dI6Ze1IdfK7U3L2/Zfv/4jAGPn45VinTn60tNFfI3Dcd2H27lwGclmWYCsmLM3GA+j6YfG9gpxQKIpjXpJaNUrrE2QnVhabPvetXT+3omrhAFSF6jNp9TbV4E7Nn0+s0GHcjkcxKRZUJHYSEJjs8sD65dhNa7Nrg8swcPFAcBcfJRNpochcVZIT7Di/hnFzd7rvrSMjINCmLs6ki6TMHzgJqMeG/Xef7ujz5d1tAVMZuRyV58Y2V5e/tHtrbHl1fm43sE58NlVHXI88PNBreepVqlPuV9VK3NLY2MjDbgCU+vzJd0GZkAK6LAlCKC5/HUzGaaUKQfz3TYeyJqOOmqgMuLhm9+g655nw+eJahhUdEkepqAKHePbTak6L/wciobWq9Ua8cv3r60179nfKLOSqwaBilZ9/1p1t3VTGSaeYtHH091XaJkKFPfgVCn45EZHX9QSSMpEBOwhCIroZYkac9if/28ADvjUMGjMnRVv2BdAuvBVLGKEugyi4dXQbASTR6a9B4i9dA5rxK7DgKmE74oCUo4/yor+BZ6fLhVPT06W600HntgAbgC91H8ouFmARWg4UjE2Phc4BYvlM1E0yc+vYefTgnVR4z6JaoG6Mirxu4Fh3dlIj4Ot54G9ywdV4v2AQ17Up3WTL4Y9GQLvgshytNfP3ytBykz38IJtUDezJ0R9B8ZmRMfAzusUcJSOT05QxQjtNxWCh8ceVWjM8bFYrHxwE+xZgB2BQhbl42nw4PvPlhlzpVmoqUTEIGEepI7Q3vHG0BWL9ERX3isogLupJfiM2ODnjZXcPFVDU9pnENnY39/4GQcXNz4ZngbMOyqnCtbMBtuPAnIFnNnGlxLEfm8oIhDvrAzOoGtmXbUWe/bfLtQrJ9Z4icFAH1J1kWIMUjB/nSKU72abfmU81AKiOrkU+70TEOu0RnnwKu9+PzA8o7jU7fBv/0wd0yH7KtFel4GnOEPIvpC02EWPqIFroZVK9ry1QMxk0bok5NPfyLP+wwDvs1vjH0bDvd67mMFR0dHfpnt7+9fOD4+rsHP2d/HJibq5pg2baPPt3HxtMVzGXN3Z2eCr52dezrdySN7H67N9+/f/9wDL3obD+ccqJwuD9o5EOtPmIyv1MT/+nfQXHf++3mKJVPqanvv3p3lPm+lPZ1feSYty+pum2eRIyZDb0Y6D96bZIZTTkXbvcKqytRdovOfSwCUxwhnv92j8QE0HdR41lDHt35X5cqy7efuj/GsQOg4+swWqziVC9H2rwHRjj6/jqOPphjXqzG/gx3giU2kw7/QIvCbyQKtOeRxhJ56/n6H3Tawa7LCU8rBqf71ff78kp1Gz0ONE8PxdO8yqdF59KuM7VVHkWZSZWnlg6CHfbsP9GXhAdCXnbE9Q89o92Esp+xQo0zy5OYh0GNbwTn6B7J7+tDvZe87z/fMchzbPYMfCzwE5zj2WlNFpVPutM5hdi84ZExv5OBgv1CwHgQ90sWB0yutR6PRTn8ABCoFWhNI/nU/L+wOlYac2fm86J4UMsut3Ije/68U7YULaiLgQvg0M0TWsaIuRN+9r/LUIu93IfxoihfytjIuRO9N8p6POulGv83b3fGs151+y3Y/FXHj5h+onPK3hlzpt3a/MOFC26H9A9bij7kQfnSLZxeCdejCiBupj+W4MeKC7di06Ual/DyrnsN/5D74q7yeKQjJQ/e57qRpz2Cqlvv0mj9m8pALrnvgut33Us+1G8fpgCvhs5Kemkqk3fXJ9h4vNR4+/q2mkrtDATc5QCBvqQ1zvGYqm89kMutucQJvfrUBPqTqQmorub87yVb3Xx5/JmueH3gAF1BVe1TQYbGwQ1l6JKXWx8DtF3gPqhvQe/zRZEpthG97srrrht/x7++OZBsMhp/fgB+Fd+6Iu95ILMUbafZsMrwsuEZ+BoZiFjs9c25FlovEsz+d3y808D/IH3dJ/3fRoQvLjXXa/6+b138BVEE6mOU/ueYAAAAASUVORK5CYII=
|
|
236
|
-
`,t}function IU(){const t={};return t.url="/logos/hunan_cpc.png",t}function PU(t){if(!t.preset)return t;const r=t.preset.toUpperCase();return r==="ICPC"?OU():r==="CCPC"?RU():r==="HUNAN_CPC"?IU():t}const NU={"h-32":""},LU={key:0},MU={"w-240":"",flex:"","flex-col":"","justify-center":"","font-serif":"","pb-2":"",border:"b-2 gray-200 dark:gray-700"},BU={"w-full":"",flex:""},UU={key:0,class:"logo"},HU=["src"],$U={class:"title","w-inherit":""},WU={"overflow-hidden":"","text-2xl":"",truncate:""},zU={"text-lg":""},VU={flex:"","items-end":""},GU={"float-left":"","font-mono":"","text-base":""},jU={class:"pl-0.5"},YU={"flex-1":""},KU={flex:"","items-center":"","justify-center":""},qU={"font-bold":"","font-mono":"",class:"w-[68%]"},QU={"float-right":""},XU={class:"MuiIconButton-label"},JU=ui({__name:"ContestIndexUI",props:{data:null},setup(t){const r=t,{t:i}=Ph(),o=Sr(()=>r.data.contest),n=tx(),e=er(null),f=SP(e),v=Sr(()=>{if(o.value.logo)return PU(o.value.logo)});return(_,w)=>{const F=zT,T=kU,C=TU,O=EU,N=ca("RouterLink");return Hr(),Fn("div",{ref_key:"el",ref:e},[It("div",NU,[Zt(f)?(Hr(),Fn("div",LU,[It("div",MU,[It("div",BU,[Zt(v)!==void 0?(Hr(),Fn("div",UU,[It("img",{class:"h-10 w-10",src:Zt(pU)(Zt(v)),alt:"logo"},null,8,HU)])):mo("",!0),It("div",$U,[Cr(F,null,{popper:Gi(()=>[It("div",zU,vi(Zt(o).name),1)]),default:Gi(()=>[It("div",WU,vi(Zt(o).name),1)]),_:1})])]),It("div",VU,[It("div",GU,[Wa(vi(Zt(i)("index.start"))+": "+vi(Zt(o).startTime.format("YYYY-MM-DD HH:mm:ss")),1),It("sup",jU,vi(Zt(o).startTime.format("z")),1),w[0]||(w[0]=It("br",null,null,-1)),Wa(" "+vi(Zt(i)("index.duration"))+": "+vi(Zt(o).getContestDuration()),1)]),It("div",YU,[It("div",KU,[It("div",qU,[It("div",null,[Cr(T,{state:Zt(o).getContestState(Zt(n)),"pending-time":Zt(o).getContestPendingTime(Zt(n))},null,8,["state","pending-time"])]),Cr(C,{width:Zt(o).getContestProgressRatio(Zt(n)),state:Zt(o).getContestState(Zt(n))},null,8,["width","state"])])])]),It("div",QU,[Cr(N,{class:"go MuiIconButton-root",to:r.data.boardLink},{default:Gi(()=>[It("span",XU,[Cr(O)])]),_:1},8,["to"])])])])])):mo("",!0)])],512)}}});const ZU=Nh(JU,[["__scopeId","data-v-32fa4e5c"]]),eH={class:"sm:w-[1024px] lg:w-screen","lg:of-x-hidden":"",flex:"","flex-col":"","justify-center":"","items-center":""},tH={key:0,"mt-4":"","mb-4":"",class:"sm:w-[1000px] lg:w-screen",flex:"","justify-center":"","items-center":""},rH={key:0},nH={key:1},iH={key:1,class:"sm:w-[1000px] lg:w-screen min-h-120",flex:"","flex-col":"","items-center":""},sH={"w-240":""},oH={key:0,"mt-4":""},aH={key:1,p10:""},lH={row:"","justify-center":""},dF=1e3*60*5,GA=ui({__name:"index",setup(t){const{t:r}=Ph();IP(HI);const i=tx(),o=Sr(()=>Math.floor(i.value.getTime()/dF));function n(){return`${window.DATA_HOST}index/contest_list.json?t=${o.value}`}const e=er(n()),f=Ux("s","",{transform:String}),v=er(f.value),_=er(null),w=er([]),F=er([]);function T(){F.value=w.value.filter(G=>{var X;return((X=v.value)==null?void 0:X.length)===0&&(v.value=null),v.value===null?(f.value=void 0,!0):(f.value=v.value,!!(G.contest.name.includes(v.value)||G.contest.name.toLowerCase().includes(v.value.toLowerCase())||G.boardLink.toLocaleLowerCase().includes(v.value.toLowerCase())))})}function C(){var G;v.value=null,(G=_.value)==null||G.focus()}const{error:O,isFetching:N,isFinished:B}=OP(e,{refetch:!0,afterFetch:G=>(w.value=dU(JSON.parse(G.data)),F.value=w.value.map(X=>X),T(),G)}).get();In(v,()=>{T()});const V=setInterval(()=>{e.value=n()},dF);return Sf(()=>{clearInterval(V)}),(G,X)=>(Hr(),Fn("div",eH,[It("div",null,[Zt(N)||Zt(O)?(Hr(),Fn("div",tH,[Zt(N)?(Hr(),Fn("div",rH,vi(Zt(r)("common.loading"))+"... ",1)):mo("",!0),Zt(O)?(Hr(),Fn("div",nH,vi(Zt(O)),1)):mo("",!0)])):mo("",!0),Zt(B)?(Hr(),Fn("div",iH,[It("div",sH,[Cr(_U,{ref_key:"searchInputRef",ref:_,modelValue:Zt(v),"onUpdate:modelValue":X[0]||(X[0]=H=>un(v)?v.value=H:null)},null,8,["modelValue"])]),Zt(F).length?(Hr(),Fn("div",oH,[(Hr(!0),Fn(Yn,null,I6(Zt(F),H=>(Hr(),Qa(ZU,{key:H.boardLink,data:H},null,8,["data"]))),128))])):(Hr(),Fn("div",aH,[X[2]||(X[2]=It("div",{op40:"",italic:"",mb5:""}," No result found ",-1)),It("div",lH,[It("button",{btn:"",onClick:X[1]||(X[1]=H=>C())}," Clear search ")])]))])):mo("",!0)])]))}}),pF={};typeof pF=="function"&&pF(GA);const cH=()=>fs(()=>import("./index-
|
|
236
|
+
`,t}function IU(){const t={};return t.url="/logos/hunan_cpc.png",t}function PU(t){if(!t.preset)return t;const r=t.preset.toUpperCase();return r==="ICPC"?OU():r==="CCPC"?RU():r==="HUNAN_CPC"?IU():t}const NU={"h-32":""},LU={key:0},MU={"w-240":"",flex:"","flex-col":"","justify-center":"","font-serif":"","pb-2":"",border:"b-2 gray-200 dark:gray-700"},BU={"w-full":"",flex:""},UU={key:0,class:"logo"},HU=["src"],$U={class:"title","w-inherit":""},WU={"overflow-hidden":"","text-2xl":"",truncate:""},zU={"text-lg":""},VU={flex:"","items-end":""},GU={"float-left":"","font-mono":"","text-base":""},jU={class:"pl-0.5"},YU={"flex-1":""},KU={flex:"","items-center":"","justify-center":""},qU={"font-bold":"","font-mono":"",class:"w-[68%]"},QU={"float-right":""},XU={class:"MuiIconButton-label"},JU=ui({__name:"ContestIndexUI",props:{data:null},setup(t){const r=t,{t:i}=Ph(),o=Sr(()=>r.data.contest),n=tx(),e=er(null),f=SP(e),v=Sr(()=>{if(o.value.logo)return PU(o.value.logo)});return(_,w)=>{const F=zT,T=kU,C=TU,O=EU,N=ca("RouterLink");return Hr(),Fn("div",{ref_key:"el",ref:e},[It("div",NU,[Zt(f)?(Hr(),Fn("div",LU,[It("div",MU,[It("div",BU,[Zt(v)!==void 0?(Hr(),Fn("div",UU,[It("img",{class:"h-10 w-10",src:Zt(pU)(Zt(v)),alt:"logo"},null,8,HU)])):mo("",!0),It("div",$U,[Cr(F,null,{popper:Gi(()=>[It("div",zU,vi(Zt(o).name),1)]),default:Gi(()=>[It("div",WU,vi(Zt(o).name),1)]),_:1})])]),It("div",VU,[It("div",GU,[Wa(vi(Zt(i)("index.start"))+": "+vi(Zt(o).startTime.format("YYYY-MM-DD HH:mm:ss")),1),It("sup",jU,vi(Zt(o).startTime.format("z")),1),w[0]||(w[0]=It("br",null,null,-1)),Wa(" "+vi(Zt(i)("index.duration"))+": "+vi(Zt(o).getContestDuration()),1)]),It("div",YU,[It("div",KU,[It("div",qU,[It("div",null,[Cr(T,{state:Zt(o).getContestState(Zt(n)),"pending-time":Zt(o).getContestPendingTime(Zt(n))},null,8,["state","pending-time"])]),Cr(C,{width:Zt(o).getContestProgressRatio(Zt(n)),state:Zt(o).getContestState(Zt(n))},null,8,["width","state"])])])]),It("div",QU,[Cr(N,{class:"go MuiIconButton-root",to:r.data.boardLink},{default:Gi(()=>[It("span",XU,[Cr(O)])]),_:1},8,["to"])])])])])):mo("",!0)])],512)}}});const ZU=Nh(JU,[["__scopeId","data-v-32fa4e5c"]]),eH={class:"sm:w-[1024px] lg:w-screen","lg:of-x-hidden":"",flex:"","flex-col":"","justify-center":"","items-center":""},tH={key:0,"mt-4":"","mb-4":"",class:"sm:w-[1000px] lg:w-screen",flex:"","justify-center":"","items-center":""},rH={key:0},nH={key:1},iH={key:1,class:"sm:w-[1000px] lg:w-screen min-h-120",flex:"","flex-col":"","items-center":""},sH={"w-240":""},oH={key:0,"mt-4":""},aH={key:1,p10:""},lH={row:"","justify-center":""},dF=1e3*60*5,GA=ui({__name:"index",setup(t){const{t:r}=Ph();IP(HI);const i=tx(),o=Sr(()=>Math.floor(i.value.getTime()/dF));function n(){return`${window.DATA_HOST}index/contest_list.json?t=${o.value}`}const e=er(n()),f=Ux("s","",{transform:String}),v=er(f.value),_=er(null),w=er([]),F=er([]);function T(){F.value=w.value.filter(G=>{var X;return((X=v.value)==null?void 0:X.length)===0&&(v.value=null),v.value===null?(f.value=void 0,!0):(f.value=v.value,!!(G.contest.name.includes(v.value)||G.contest.name.toLowerCase().includes(v.value.toLowerCase())||G.boardLink.toLocaleLowerCase().includes(v.value.toLowerCase())))})}function C(){var G;v.value=null,(G=_.value)==null||G.focus()}const{error:O,isFetching:N,isFinished:B}=OP(e,{refetch:!0,afterFetch:G=>(w.value=dU(JSON.parse(G.data)),F.value=w.value.map(X=>X),T(),G)}).get();In(v,()=>{T()});const V=setInterval(()=>{e.value=n()},dF);return Sf(()=>{clearInterval(V)}),(G,X)=>(Hr(),Fn("div",eH,[It("div",null,[Zt(N)||Zt(O)?(Hr(),Fn("div",tH,[Zt(N)?(Hr(),Fn("div",rH,vi(Zt(r)("common.loading"))+"... ",1)):mo("",!0),Zt(O)?(Hr(),Fn("div",nH,vi(Zt(O)),1)):mo("",!0)])):mo("",!0),Zt(B)?(Hr(),Fn("div",iH,[It("div",sH,[Cr(_U,{ref_key:"searchInputRef",ref:_,modelValue:Zt(v),"onUpdate:modelValue":X[0]||(X[0]=H=>un(v)?v.value=H:null)},null,8,["modelValue"])]),Zt(F).length?(Hr(),Fn("div",oH,[(Hr(!0),Fn(Yn,null,I6(Zt(F),H=>(Hr(),Qa(ZU,{key:H.boardLink,data:H},null,8,["data"]))),128))])):(Hr(),Fn("div",aH,[X[2]||(X[2]=It("div",{op40:"",italic:"",mb5:""}," No result found ",-1)),It("div",lH,[It("button",{btn:"",onClick:X[1]||(X[1]=H=>C())}," Clear search ")])]))])):mo("",!0)])]))}}),pF={};typeof pF=="function"&&pF(GA);const cH=()=>fs(()=>import("./index-8e5373fd.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/index-8e5373fd.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/index-241beb5a.css"],import.meta.url),uH=()=>fs(()=>import("./index-ea20d191.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/index-ea20d191.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/query-67fd6c27.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-d2ea1ac6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-1ce252e6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/index-67b2a8c5.css"],import.meta.url),fH=()=>fs(()=>import("./index-7af0a9ca.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/index-7af0a9ca.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/query-67fd6c27.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-d2ea1ac6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-1ce252e6.js"],import.meta.url),hH=()=>fs(()=>import("./test-5c739ae1.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/test-5c739ae1.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-1ce252e6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/user-03dfbe5d.js"],import.meta.url),dH=()=>fs(()=>import("./board-65f3126c.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/board-65f3126c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/Board-a6a37adf.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/pagination-95a79aa6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-1ce252e6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/query-67fd6c27.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/Board-3491f2da.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-d2ea1ac6.js"],import.meta.url),pH=()=>fs(()=>import("./about-9fdb1313.js"),[],import.meta.url),mH=()=>fs(()=>import("./_...all_-198e3528.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/_...all_-198e3528.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/Board-a6a37adf.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/pagination-95a79aa6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-1ce252e6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/query-67fd6c27.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/Board-3491f2da.css"],import.meta.url),gH=()=>fs(()=>import("./_name_-f901a5ed.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/_name_-f901a5ed.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/user-03dfbe5d.js"],import.meta.url),vH=()=>fs(()=>import("./_...all_-61cb8860.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/_...all_-61cb8860.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/pagination-95a79aa6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.51.2/dist/assets/_...all_-c60acc8c.css"],import.meta.url),bH=[{name:"rating",path:"/rating",component:cH,props:!0,meta:{layout:"index-layout"}},{name:"countdown",path:"/countdown",component:uH,props:!0,meta:{layout:"headless"}},{name:"balloon",path:"/balloon",component:fH,props:!0,meta:{layout:"headless"}},{name:"test",path:"/test",component:hH,props:!0,meta:{layout:"home"}},{name:"index",path:"/",component:GA,props:!0,meta:{layout:"index-layout"}},{name:"board",path:"/board",component:dH,props:!0,meta:{layout:"board-layout"}},{name:"about",path:"/about",component:pH,props:!0},{name:"all",path:"/:all(.*)*",component:mH,props:!0,meta:{layout:"board-layout"}},{name:"hi-name",path:"/hi/:name",component:gH,props:!0},{name:"rating-all",path:"/rating/:all(.*)",component:vH,props:!0}];const _H=qP(bH);O9(CL,{routes:_H,base:"/"},t=>{Object.values(Object.assign({"./modules/i18n.ts":m7,"./modules/nprogress.ts":b7,"./modules/pinia.ts":A7,"./modules/pwa.ts":S7,"./modules/toast.ts":P7})).forEach(r=>{var i;return(i=r.install)==null?void 0:i.call(r,t)}),t.app.use(ZN),t.app.use(AL)});export{Ka as $,In as A,uU as B,FH as C,Is as D,ia as E,Yn as F,oa as G,EH as H,VH as I,GH as J,oU as K,jH as L,LR as M,un as N,I5 as O,gT as P,x9 as Q,wH as R,Pk as S,Wa as T,aU as U,vU as V,b6 as W,S3 as X,Df as Y,TP as Z,fs as _,Nh as a,bo as a0,Bl as a1,AH as a2,Nv as a3,AO as a4,Yi as a5,Ns as a6,O7 as a7,kH as a8,UH as a9,tL as aA,rL as aB,Rx as aC,dL as aD,sL as aE,Rs as aF,M6 as aG,Ps as aH,yL as aI,qr as aJ,a3 as aK,MH as aL,r3 as aM,BH as aN,o6 as aO,WI as aP,O5 as aQ,ib as aR,F3 as aS,DH as aT,WH as aU,zH as aV,WA as aW,RH as aX,dp as aY,k7 as aZ,HH as aa,$H as ab,K2 as ac,LO as ad,xH as ae,pU as af,rp as ag,Ux as ah,da as ai,BT as aj,HI as ak,gU as al,dP as am,SH as an,CH as ao,OH as ap,Sf as aq,VT as ar,kU as as,TU as at,mb as au,nL as av,IH as aw,WE as ax,ea as ay,Up as az,Cr as b,Fn as c,It as d,zP as e,tP as f,ui as g,Sr as h,er as i,Zt as j,mo as k,zT as l,EU as m,Ph as n,Hr as o,IP as p,OP as q,ca as r,I6 as s,vi as t,SP as u,Qa as v,Gi as w,TH as x,pF as y,tx as z};
|